Vadim Zeitlin
3f66f6a5b3
Remove all lines containing cvs/svn "$Id$" keyword.
...
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.
If nothing else, this will make an eventual transition to Git simpler.
Closes #14487 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Vadim Zeitlin
43b2d5e7c3
Put braces around all calls to wxLogFunctions() inside an if statement.
...
This suppresses all the remaining g++ -Wparentheses warnings and uses consistent style everywhere.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-20 16:47:54 +00:00
Vadim Zeitlin
74e67db795
update IfaceCheckLog definition after wxLog::DoLogXXX() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-08 16:06:46 +00:00
Francesco Montorsi
d196416cad
fix bug when warning string contains percent signs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 17:53:07 +00:00
Francesco Montorsi
5fa507c8ca
fix an important bug: ifacecheck was parsing only <sectiondef> with kind==public-func or kind==protected-func; it was ignoring kind==user-defined and in any case the access specifier must be taken from the 'prot' attribute of <memberdef> nodes instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 22:07:05 +00:00
Vadim Zeitlin
b0e87e57c3
use wxSUPPRESS_DOLOG_HIDE_WARNING to suppress warnings about hiding base class DoLog() overloads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-25 16:47:33 +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
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
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
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
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
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
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
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
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
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
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
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