Commit Graph

1278 Commits

Author SHA1 Message Date
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
Václav Slavík
fe828a03f4 reverted Julian's r44600, it broke help window behavior so that it prevented apps from closing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 23:58:32 +00:00
Václav Slavík
c3c11581dc added VC7/8 project files for samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 11:38:07 +00:00
Václav Slavík
6e0fbb3dbf regenerated makefiles with bkl-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 12:13:07 +00:00
Václav Slavík
563a24f061 silence compiler warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 13:53:37 +00:00
Vadim Zeitlin
747d7d7c15 made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 01:39:44 +00:00
Vadim Zeitlin
6490a288bb rebaked and regenerated everything after the latest changes (wxWeakRef &c)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 02:48:17 +00:00
Vadim Zeitlin
7379e47609 rebaked everything, fixes problems with OpenGL samples makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 00:25:59 +00:00
Václav Slavík
24dfe91709 removed ANSI configs from VisualC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-25 11:14:40 +00:00
Vadim Zeitlin
5bcc2e5483 use WXDLLIMPEXP_FWD_XXX instead of WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 15:13:27 +00:00
Vadim Zeitlin
004de91b94 compilation fix after argv changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 16:54:41 +00:00
Vadim Zeitlin
e74f12021d don't leak wxFileType returned from GetFileTypeFromExtension(); fix compilation with wxUSE_MIMETYPE==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:25:29 +00:00
Václav Slavík
21b2dde583 generate #line references to source .xrc files in wxrc --gettext (patch #1803492 by Heikki Linnakangas)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 11:11:51 +00:00
Vadim Zeitlin
7262371cd7 fix compilation in Unicode build (not sure if this fixes run-time behaviour though...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 00:58:14 +00:00
Vadim Zeitlin
32b171bc0e another compilation fix after wxCmdLineEntryDesc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-28 22:17:37 +00:00
Vadim Zeitlin
db51a209d7 fix compilation due to wxCmdLineEntryDesc changes once again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 14:37:12 +00:00
Vadim Zeitlin
c4fd5ede54 include wx/beforestd.h before iostream headers to avoid problems with visibility in Unix build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-16 18:53:37 +00:00
Vadim Zeitlin
0d5ab92f84 reverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile with VC6; make them const char * instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:05:12 +00:00
Vadim Zeitlin
4ffb0f30f7 compilation fix after wxCmdLineEntryDesc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 00:51:47 +00:00
Vadim Zeitlin
106e875e59 recognize hover bitmaps (patch 1758843)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:21:11 +00:00
Vadim Zeitlin
02b28440a3 check whether the string is non-empty before accessing its first element
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:46:02 +00:00
Václav Slavík
288b6107e1 renamed wxXmlProperty to wxXmlAttribute, plus implied method names changes (bug #1751761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 10:07:41 +00:00
Vadim Zeitlin
a989a329db changed ds[pw] files to use CRLF eol style and not native one (this helps if you have them on a partition exported via Samba from Unix to Windows)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 12:13:58 +00:00
Václav Slavík
bd0b594dff compilation fixes after string changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 20:49:19 +00:00
Vadim Zeitlin
7f2bcd064c use DisableTimestamp() instead of SetTimestamp(NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 19:25:58 +00:00
Vadim Zeitlin
db23ced867 remove .cvsignore files, they're useless with svn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 22:41:53 +00:00
Václav Slavík
9ec6078f41 fixed 'url' field extraction to be done for wxHtmlWindow only (bug #1741900)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 12:16:20 +00:00
Václav Slavík
09f0108224 made the code a bit more readable by not using _T() around to-be-generated code snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 20:30:20 +00:00
Václav Slavík
5881d27bcf made the code a bit more readable by not using _T() around to-be-generated code snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 20:22:08 +00:00
Václav Slavík
c5d7b81ecf improve XRC loading performance on Unix by avoiding MIME database loading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:43:34 +00:00
Václav Slavík
372bed0a2b compilation fix: can't use wxUniCharRef in switch statement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-25 20:29:14 +00:00
Václav Slavík
98cf46c8d2 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 14:28:47 +00:00
Vadim Zeitlin
cef590ee27 added src to the HelpGen directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 00:28:14 +00:00
Václav Slavík
6b24b421ce PCH-less compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 21:03:46 +00:00
Vadim Zeitlin
b4a980f4f5 don't use obsolete functions (mostly copystring() and Count()), remove their documentation (patch 1697956)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:23:19 +00:00
Vadim Zeitlin
325cf48f5a add support for a data tag which can be used to embed arbitrary data into the generated code (part of some forgotten patch...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:19:20 +00:00
Vadim Zeitlin
14eacdd46a compilation fixes: remove unneeded c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 15:46:34 +00:00
Vadim Zeitlin
9f6986b3e2 reverted part of patch 1610494 (rev 1.35) which broke handling of ends of lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:54:46 +00:00