Commit Graph

31 Commits

Author SHA1 Message Date
Francesco Montorsi
9d9c1c24d7 other ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 23:48:04 +00:00
Francesco Montorsi
0d2f4076e0 ignore preprocessor lines which #define a symbol to 'nothing'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 21:11:31 +00:00
Francesco Montorsi
cbea3ec6ae introduced wxICON_DEFAULT_TYPE and wxBITMAP_DEFAULT_TYPE; documented these default argument values; matched the wxBitmap and wxIcon interfaces to their real implementations; revised icon.h interface header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 20:03:14 +00:00
Kevin Ollivier
7664a67f57 Rebake after bakefile changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:59:10 +00:00
Francesco Montorsi
585a11d609 improved support for typedefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:28:47 +00:00
Francesco Montorsi
8e1903816a fix for gccxml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-18 18:47:57 +00:00
Kevin Ollivier
509f339a81 rebake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-04 07:57:32 +00:00
Vadim Zeitlin
9aa7bedbb5 another compilation fix, now for Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 14:13:33 +00:00
Vadim Zeitlin
96202d070a compilation fix for ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:04:26 +00:00
Francesco Montorsi
21864ff2a1 added version check against gcc-generated xml; added readme and few other notes about ifacecheck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:37:41 +00:00
Francesco Montorsi
658d98040d optimization for faster execution: don't use wxString::Replace() all the times a wxType comparison is required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-30 15:50:40 +00:00
Francesco Montorsi
d2367a0f78 build fix for non-PCH builds (thanks to buildbot emails ;))
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:27:34 +00:00
Francesco Montorsi
24f5cd42b7 avoid even more false warnings better handling numeric default values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:15:04 +00:00
Francesco Montorsi
03d4f7b992 add 'availability' infos to both wxMethod and wxClass: in this way ifacecheck does not warn about methods documented to be available only for port X, which are missing from the gcc XML, if the gcc XML was produced for a port different than X; this requires @onlyfor ALIAS to output <onlyfor> tags in the XML output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 20:57:05 +00:00
Francesco Montorsi
5570107a9d add the ability to parse the gccxml preprocessor output in order to reduce the number of false positives; fix wrong wxASSERT in wxMethod::IsOk; provide more help when called with --help
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 19:15:00 +00:00
Francesco Montorsi
2f46438b36 added the rungccxml.sh script and the setup_gccxml.h file to make it easier to generate the gccxml output for ifacecheck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 16:40:54 +00:00
Francesco Montorsi
95dfcbad97 mention that both gccxml and doxygen are smart enough to mark as virtual functions declared so in base classes but not explicitely declared virtuals in derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 17:41:11 +00:00
Francesco Montorsi
7fbadf873c further improve the automatic modify mode: wrap correctly inserted prototypes at comma boundaries, add @deprecated only if needed, update the locations of the methods below the fixed one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 16:07:46 +00:00
Francesco Montorsi
203ba76a12 for each prototype make sure that if the n-th argument has a default value, then all the following arguments have a default value, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 12:26:23 +00:00
Francesco Montorsi
d5978709f3 added the process-only option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-24 23:22:39 +00:00
Francesco Montorsi
f270e1ddda added wxArgumentType; added parsing of argument names, so that the modify mode retains them when writing correct prototypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-24 22:08:45 +00:00
Francesco Montorsi
a7be99c803 add pure virtual function parsing; give more informative warnings; fix the initial line to delete when in modify mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-24 18:44:46 +00:00
Francesco Montorsi
4168bc452a make the log file more readable; fix the count of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-24 13:02:01 +00:00
Francesco Montorsi
919ccb4c44 fix the automatic modify mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-24 00:51:22 +00:00
Francesco Montorsi
1f81aa3692 fix bug in buliding newtype string; fix GetAsString() to put proper spaces around args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-24 00:51:00 +00:00
Francesco Montorsi
0403e5dcc6 add deprecation tags/attributes parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 23:20:14 +00:00
Francesco Montorsi
3cc7596e6c remove unused #defines; fix include header for MinGW32 wxMSW Trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 19:16:17 +00:00
Francesco Montorsi
74bda2038c further speedup the gccxml parser using dedicated ID-parsing char*-based functions instead of splitting wxStrings and searching inside them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 11:36:19 +00:00
Francesco Montorsi
fdd4a8974a speedup a little the parser by converting gccXML ID attributes to numbers, instead of storing them as strings; remove 2nd argument to GetAttribute() calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 00:08:44 +00:00
Francesco Montorsi
5ceba28d35 add Id keyword; remove old code (was commented out) which tried to implement alternative parsing strategies; basically those involved doing 4-5 passes on the gcc XML before actually passing it storing the list of the type IDs related in some way to wxWidgets, and then do the true parsing pass, skipping anything non-wx related. This approach (and its variations) showed however to be slower than building the full type table.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 19:18:25 +00:00
Francesco Montorsi
5934cda171 added the interface checker to the utils folder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 18:02:13 +00:00