winapi_cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is a new tool in the winapi suite series called winapi_cleanup:

It is very similar to winapi_fixup (that doesn't currently work),
the main difference is that it is supposed to be more ad hoc
and not like the much more ambitions (perhaps to ambitious?)
winapi_fixup actually tries to parse and "understand" the C
source code.

Currently it only removes trailing white space from the .[ch] files.
but it will probably do more simple things in the future like auto
converting C++ comment to C comments and automatically adding include
protecting on headers.

Suggestions on what simple things that needs to be done is welcome.

PS. As a bonus you get a patch that removes trailing white space in
the current tree.

---8<---

*** winapi_cleanup

* tools/winapi/Makefile.in,
  tools/winapi/winapi_cleanup,
  tools/winapi/winapi_cleanup_options.pm:
New tool winapi_cleanup for doing simple automatic cleanups.
Currently it removes trailing white space from the .[ch] files.

*** trailing-white-space

* dlls/msacm/winemp3/decode_i386.c,
  dlls/msacm/winemp3/mpegl3.c,
  dlls/oleaut32/parsedt.c,
  dlls/richedit/reader.c,
  dlls/richedit/text-writer.c,
  dlls/winedos/int67.c,
  dlls/wineps/download.c,
  dlls/wininet/internet.h,
  include/wine/obj_dragdrophelper.h,
  programs/regsvr32/regsvr32.c,
  tools/winedump/output.c:
Removed trailing white space.

Attachment: winapi_cleanup.diff
Description: Binary data

Attachment: winapi_cleanup.tar
Description: Binary data

Attachment: trailing-white-space.diff
Description: Binary data


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux