Commit Graph

62 Commits

Author SHA1 Message Date
Francesco Montorsi
6e6b083df2 avoid false warnings for wxThread and wxIPAddress
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 11:29:21 +00:00
Vadim Zeitlin
eb7b690a4f fix yet another VC6 compilation error because of loop variable reuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 16:44:39 +00:00
Vadim Zeitlin
2985d7b76c fix another VC6 compilation error because of loop variable reuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 14:01:56 +00:00
Francesco Montorsi
0a1bce698f fix VC6 broken for variable scope handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 16:49:52 +00:00
Francesco Montorsi
e2d1c0e72b more intelligence to avoid false warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 16:30:50 +00:00
Francesco Montorsi
7f8fae980f fix VC6 builds by removing variadic macros; use standard wxLogXXX functions instead, together with a new wxLog-derived target to print everything on stdout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 15:36:36 +00:00
Francesco Montorsi
027c8a000a generate the output gcc XML file always in the same folder where 'rungccxml.sh' script is placed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-08 14:38:36 +00:00
Francesco Montorsi
187c2f81bc a few other means to avoid false positives
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:30:50 +00:00
Francesco Montorsi
83fdf79672 fixed some false positives; fixed method declaration-position detection also for operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 21:16:01 +00:00
Vadim Zeitlin
506e9b7ed2 rebaked using bakefile 0.2.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:40:51 +00:00
Francesco Montorsi
96c6575597 output the list of the undocumented wx classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 20:08:11 +00:00
Francesco Montorsi
f3998820a3 further additions to avoid false warnings (ActsAsDefaultCtor, better wxArgumentType::SetDefaultValue)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 19:49:48 +00:00
Vadim Zeitlin
11866e8e33 compilation fix for PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 22:32:41 +00:00
Vadim Zeitlin
71179c67de get rid of unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 22:30:04 +00:00
Francesco Montorsi
fce3374f35 fix two bugs: 1) the missing NOT in the if (real) test; 2) the missing +1 in getID() function; add many checks and log messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 22:51:26 +00:00
Vadim Zeitlin
7a0007346b STL build compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 21:20:46 +00:00
Vadim Zeitlin
e7bed112b8 fix errors due to missing wxPrintf() declaration in STL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 09:02:27 +00:00
Vadim Zeitlin
7da8bfe30d add VC9 project files (closes #9960)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:42:00 +00:00
Vadim Zeitlin
03c6117e8f rebaked makefiles with 0.2.4 (and now with forgotten files)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 15:47:51 +00:00
Francesco Montorsi
cbff0d0e3d list also headers in the bakefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 09:32:05 +00:00
Francesco Montorsi
42b9f2001e rename README to README.txt to be compat with win systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 09:31:44 +00:00
Francesco Montorsi
723de43b24 wxLogError=>LogError (in ifacecheck wxLog facilities are not used - actually I don't even remember why\!); fix wxScrolledT_Helper AD-HOC FIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 18:41:08 +00:00
Francesco Montorsi
673ae68a3c BIG CHANGE: added parsing of base classes; now CompareClasses() is much smarter since it looks recursively in the parents of the class being checked;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:11:23 +00:00
Francesco Montorsi
b74134f61d more logic to avoid false warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 10:53:48 +00:00
Vadim Zeitlin
29856611d2 set native eol-style on source and make files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 10:34:49 +00:00
Vadim Zeitlin
b23cdb3d89 fix (harmless) VC9 unreachable code warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 10:32:49 +00:00
Vadim Zeitlin
d2875249ca fix VC9 compilation: interface is #defined as struct in SDK headers, don't use it as variable name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 10:32:19 +00:00
Francesco Montorsi
8cd2247801 added wxMethodAccessSpecifier and the logic to extract both public and protected methods from gccXML and doxygenXML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 18:57:51 +00:00
Francesco Montorsi
2cb3a02f1a make m_strDefaultValueForCmp always non-empty; this simplifies the code; fix wxMethod::GetAsString() not to use wxType::GetAsCleanString for return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 21:58:56 +00:00
Francesco Montorsi
8afb81d20d fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 22:36:42 +00:00
Francesco Montorsi
97f0dbd6f8 BIG CHANGES:
- removed fix from the rungccxml.sh.in; not only it was unnecessary
  but it's also better to keep all references to specific wxWidgets
  classes in a single place: the ifacecheck sources;
- added g_bLogEnabled and LogNull class;
- added an HACK_TO_AUTO_CORRECT_ONLY_VIRTUAL_AND_CONST_ATTRIBUTES
  mode for fixing virtualness and constness of interface headers
  in an automated way
- added options to wxMethod::GetAsString to provide an easier way
  to debug ifacecheck comparisons between wxMethods
- fixed wxMethod::FixMethod for single-line prototypes and added
  a boolean return value from it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 21:55:38 +00:00
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