Commit Graph

46198 Commits

Author SHA1 Message Date
Vadim Zeitlin
6b583d40a8 fix linking problems due to MSVC implicitly considering template classes specializations used as base classes DLL-exported even though it doesn't actually export them when building the DLL (with or without explicit declspec(dllexport)); also replace wxCharTypeBuffer::NullData with a static function to allow not DLL-exporting this class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 23:04:29 +00:00
Vadim Zeitlin
10d256d6c8 attempting to fix VC6 compilation error from buildbot logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 16:54:41 +00:00
Vadim Zeitlin
638205e547 don't use WXDLLIMPEXP_BASE with wx[Sorted]Array_SortFunction, this results in link errors with VC[89] when building a DLL and shouldn't be necessary with any other compilers neither as these classes have only inline methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 15:57:18 +00:00
Václav Slavík
b6e2aaace5 must close output file before reading back from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 11:22:31 +00:00
Francesco Montorsi
90a47090c6 set WARN_IF_UNDOCUMENTED to YES; it doesn't introduce new warnings for now but could in future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 11:16:22 +00:00
Francesco Montorsi
335da90299 fix typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 11:15:08 +00:00
Francesco Montorsi
b4da9d62df modernized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 11:14:46 +00:00
Francesco Montorsi
78e37b46a4 fixed missing semicolons, as reported by check_syntax.sh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 11:11:00 +00:00
Francesco Montorsi
d6d0011db9 added a simple script to detect interface headers with missing semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 11:06:06 +00:00
Francesco Montorsi
37220641e0 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 10:53:56 +00:00
Francesco Montorsi
bf505dfce5 fixed the error '& may not appear in macro parameter list' reported by running gcc preprocessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 10:39:54 +00:00
Francesco Montorsi
d7b99b162f fixed the error 'macro parameters must be comma-separated' reported by running gcc preprocessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 10:32:10 +00:00
Václav Slavík
55ad60c94c wxHTML: don't include extra whitespace in table cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 07:24:36 +00:00
Vadim Zeitlin
22a9029e23 VC6 compilation fix after last change (thanks buildbot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 00:32:24 +00:00
Francesco Montorsi
b56d1061bb enable all compat symbols when using gccxml
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 18:58:43 +00:00
Francesco Montorsi
18e9c453ef s/FALSE/false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 18:58:21 +00:00
Francesco Montorsi
5e6e278dc1 moved to appropriate 'protected' sections all functions wrongly placed in 'public' sections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 18:55:57 +00:00
Vadim Zeitlin
8aea37a9df use buffered streams to reduce the number of TCP packets used per IPC command from up to 7 to 1 for reasonably sized payloads, this dramatically (by 150 times for the IPC benchmark on a LAN) increases performance; also centralize all the streams used in a single wxIPCSocketStreams class and allocate only it on the heap instead of doing it for all of the streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:45:55 +00:00
Vadim Zeitlin
f42c1512dd provide ctors allowing to specify the non-default buffer size for buffered streams and wxStreamBuffer itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:42:45 +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
Vadim Zeitlin
de56f24082 added wxDocument::AlreadySaved() and use it in OnUpdateFileSave() to ensure that the "Save" menu item is enabled for new documents, even although they're not modified yet (otherwise the standard Ctrl-S key doesn't work in this case which is pretty annoying)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:23:25 +00:00
Vadim Zeitlin
d7b3a73d07 document wxDocument::GetDocumentSaved()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:15:03 +00:00
Vadim Zeitlin
838dd956a4 fix assert when adding an entry to an already full file history (closes #10118)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:04:06 +00:00
Francesco Montorsi
5e27edecac fix typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:00:56 +00:00
Francesco Montorsi
5267aefd85 automated ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 15:34:31 +00:00
Vadim Zeitlin
0c61ab6f66 add WX_CLEAR_ARRAY test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 12:33:34 +00:00
Vadim Zeitlin
7ee34f2be1 no changes, just use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 12:25:32 +00:00
Jouk Jansen
958b430ac7 Update OpenVMS compile support (problem cairo logical)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 07:53:45 +00:00
Francesco Montorsi
91fa0da424 added some 'wxString::' portions to make referenced functions auto-linked by Doxygen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 15:58:51 +00:00
Francesco Montorsi
43c48e1e53 automated ifacecheck fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 15:36:26 +00:00
Francesco Montorsi
56454c1513 fixed a missing ampersand
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 15:34:46 +00:00
Francesco Montorsi
a805142d93 move wxVListBoxNameStr into vlbox.cpp source file (as for all other wxWidgets *NameStr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 15:03:37 +00:00
Francesco Montorsi
303c6f20d2 make IsKindOf() taking a const wxClassInfo* instead of a wxClassInfo*, just like the homonym method in wxClassInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 14:54:40 +00:00
Francesco Montorsi
cfbe561401 ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 14:29:36 +00:00
Václav Slavík
9e570f836b fixed interpretation of line breaks in <pre> to conform to the spec (#10120)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 10:04:36 +00:00
Vadim Zeitlin
7e73fb9c99 no real changes, just reformat before starting really modifying
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-28 00:02:38 +00:00
Vadim Zeitlin
438febca6e don't sleep too long to avoid missing the timers; added a simple test for timer events processing in console apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 22:04:42 +00:00
Francesco Montorsi
fadc2df682 automated ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 21:26:54 +00:00
Francesco Montorsi
50ec54b656 other ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 21:18:55 +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
ae3b14872b don't save the initial selection if it's invalid in CBN_DROPDOWN (refixes #8474 without breaking #9995)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:47:07 +00:00
Vadim Zeitlin
9eb2347dc3 disable workaround for lack of alpha support in native static bitmap control for WinCE, apparently it breaks the display (#10093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 18:15:19 +00:00
Francesco Montorsi
7323ff1aee other ifacecheck fixes, resulting in removal of the non-existing functions wxDatagramSocket::ReceiveFrom() and wxCloseEvent::SetForce()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 17:12:27 +00:00
Francesco Montorsi
04e7bc9f90 no real change; moved wxDataObject and wxDataFormat class declarations after all their derived classes, at the end of the file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 17:08:44 +00:00
Jaakko Salli
c724444f7e Added similar assignment operator as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:50:45 +00:00
Jaakko Salli
1d882226f5 Added wxPropertyGridConstIterator(const wxPropertyGridIterator&) copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:47:35 +00:00
Vadim Zeitlin
e7d3d27dce fix handling of errors in wxConditionInternal::Wait() and WaitTimeout() (#10111)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:46:43 +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
Jaakko Salli
cfcc02a8a4 Removed dummy wxFont == operator implementation (IIRC was needed to compile with some old version of wx)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:26:46 +00:00
Robert Roebling
e3cb990e68 Set cursor to <from> in wxTextCtrk::SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 14:29:16 +00:00