Commit Graph

1443 Commits

Author SHA1 Message Date
Vadim Zeitlin
81d3348a9b replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 02:43:11 +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
Robert Roebling
015fba490f Better size for screenshot of wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-20 12:04:56 +00:00
Bryan Petty
f978831f37 Removed traces of wxFormBuilder from the screenshotgen utility, cleaned up some dependencies in headers, and replaced a few sparse tabs with spaces.
Also applied patch #10083 (VC6 build fixes for screenshotgen).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 18:49:22 +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
Francesco Montorsi
88300af4db remove ugly AD-HOC FIX for wxHyperlinkCtrl; use the generic facilities of RegisterControl() instead (patch by Utensil Candel)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:39:10 +00:00
Francesco Montorsi
101adcd54c patch by Utensil Candel to improve wxMac autocapture code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:32:32 +00:00
Francesco Montorsi
010df3801c modified text for wxRichTextCtrl to show more features in less space (modified patch by Utensil)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:31:05 +00:00
Francesco Montorsi
60d7250b74 build fix (SetBitmaps is only for wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:22:12 +00:00
Francesco Montorsi
416fddd315 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 08:11: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
b85e7dcfac init the file and dir pickers with dummy files/folders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 16:03:59 +00:00
Francesco Montorsi
1bda839923 fix the menu item bitmaps for wxMSW;
fix the name of the screenshot generated for wxHyperlinkCtrl on platforms != wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-11 15:55:23 +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
Francesco Montorsi
57ea89975e fixed the status of the second radio button; now (on wxGTK at least) it appears correctly as unchecked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 20:56:45 +00:00
Francesco Montorsi
d0aff30277 better use of <wx-data>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 18:46:13 +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
cf490c4df9 removed duplicated row of bitmap buttons added for error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 17:22:26 +00:00
Francesco Montorsi
fe6b1b853a inside <wx-data> we need to use instead of /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 20:04:21 +00:00
Francesco Montorsi
6cd1aa9d38 make Capture() functions static members of AutoCaptureMechanism; adjusted slightly question boxes to fit the default wxGTK width of wxMessageBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 14:48:48 +00:00
Francesco Montorsi
60a2264d5d other cleanup; adjusted english in the UI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 14:08:08 +00:00
Francesco Montorsi
4bae10bdff many fixes; now the application correctly starts up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 11:53:16 +00:00
Francesco Montorsi
63052a509d add to utils.bkl the hhp2cached (why wasn't already there?) and screenshotgen utilities
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 10:00:30 +00:00
Francesco Montorsi
0d5eda9ccd added the automatic screenshot generator utility by Utensil Candel (with some revisions and reorganizations)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-06 09:37:27 +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
97c0c88bce fix usage of MacRegisterDefaultTypeAndCreator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-04 18:41:29 +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
Stefan Csomor
0efafeb2f3 fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-13 04:20:10 +00:00
Václav Slavík
e835292782 regenerated all trunk makefiles with bakefile-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 14:48:50 +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
eeb67742cd removed old utils (helpgen, tex2rtf, helphtml, nplugin, wxprop, wxole)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 14:03:33 +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
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
Chris Elliott
7d73178688 put html docs in own dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 13:28:41 +00:00
Chris Elliott
c1bf673475 add tex2rtf docs to routine build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 11:03:51 +00:00
Chris Elliott
81769ae053 zip32 should be zip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-29 10:52:58 +00:00
Václav Slavík
5d36cf23a7 fixed wrong include path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 16:38:20 +00:00
Vadim Zeitlin
f252b6587c fixed signed/unsigned comparison warnings; reformatted the code a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 22:55:05 +00:00
Vadim Zeitlin
1693108cfe compilation fixes after c_str() changes (due to casting of its return value to non-const wxChar *)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 22:52:29 +00:00
Vadim Zeitlin
f705f97d31 removed tests for WXWIN_COMPATIBILITY_2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 17:00:47 +00:00
Vadim Zeitlin
0727e0a7f8 produce better HTML output by using Unicode equivalents of LaTeX quotes and dashes (patch 1610494)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:57:31 +00:00
Vadim Zeitlin
216d173fba renamed meaningless IsRealClass() function in CanBeUsedWithXRCCTRL() because this is what it really does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:48:11 +00:00
Vadim Zeitlin
76ff8ed673 don't try to use XRCCTRL() with wxMenuBar or wxStaticBoxSizer, this fails (at run- or compile-time) (1st part of patch 1596624)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:46:23 +00:00
Julian Smart
20c81bed84 Fixed premature exit of helpview sample and utility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 19:48:43 +00:00
Robin Dunn
ae4ccf12b6 rebaked after changing the version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 02:14:45 +00:00
Vadim Zeitlin
a3c8c017cf check parameters after options check sothat usign -version doesn't result in an error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 14:35:06 +00:00
Vadim Zeitlin
fb66c150a4 show -version in the list of options; exit after showing the version as all the other programs do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-09 14:29:38 +00:00
Włodzimierz Skiba
ccf6c43b3d '-version' parameter for tex2rtf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-05 17:30:42 +00:00
Vadim Zeitlin
3fafce674b compilation fixes for --disable-compat26 (patch 1619037)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 12:08:37 +00:00
Robin Dunn
25bb1412af Move version number to 2.8.0.0 and rebake the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 02:32:01 +00:00
Vadim Zeitlin
69199aad02 rebaked with baefile rev 928
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:39:49 +00:00
Robin Dunn
2add9e3c2f Moved version number to 2.7.2.0 and rebaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 21:54:52 +00:00
Robin Dunn
e912d1d45e remove targets before cp, mv and ln, otherwise ambiguous links and
make errors can result.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 19:17:54 +00:00
Robin Dunn
3abcf424a3 Bumping the version number also requires that version.h be modified,
and also rebaking the makeifles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 01:20:56 +00:00
Vadim Zeitlin
89fad939ec added empty virtual dtors to silence gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:34:37 +00:00
Włodzimierz Skiba
c744d3f862 'configtool' removal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 15:37:21 +00:00
Robin Dunn
e2b79cc98f revert last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 19:15:12 +00:00
Kevin Ollivier
c2c04edc2c Commiting re-baked files after wxListCtrl OS X additions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 08:06:09 +00:00
Vadim Zeitlin
d3c7fc996a mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Vadim Zeitlin
d49be4203e return false from OnInit() in console build if we failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 10:29:23 +00:00
Václav Slavík
27cc91429d removed wxUSE_TOOLBAR_SIMPLE leftovers from the main sources, it's not used anywhere anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 09:54:29 +00:00
Robin Dunn
a5a6edb40b remove any previously existing targets before installing them. This fixes
an error (and a failed install) on my Mac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-03 18:30:10 +00:00
Włodzimierz Skiba
8e62b5ee36 Removed all outdated makefile.dos and their *.msc include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 07:09:58 +00:00
Michael Wetherell
2aac402246 Remove malloc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-18 16:23:52 +00:00
Michael Wetherell
044d5accee Remove malloc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-18 09:47:16 +00:00
Michael Wetherell
8399f4c6a7 Drop non-ANSI malloc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 13:17:57 +00:00
Michael Wetherell
5aca3ef449 Rename log2 to avoid conflict standard log2 which is a macro on Cygwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 13:06:37 +00:00
Angel Vidal Veiga
b5348bbb19 Reverting my first test commit, as per ABX request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 16:08:16 +00:00