Commit Graph

49084 Commits

Author SHA1 Message Date
Vadim Zeitlin
ee0995b09b don't call OnWriteWaiting() if we lost connection in OnReadWaiting() called just before it (closes #10963)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 21:42:56 +00:00
Vadim Zeitlin
37465b7281 change wxSocketInputBasedManager::AddInput() to take a pointer to wxSocketImpl, not base class wxFDIOHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 21:36:24 +00:00
Vadim Zeitlin
f9cff6e173 don't call release() on non-owned buffer in wchar_t build (closes #10964); copy utf8_str() return value in ASCII one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 18:53:11 +00:00
Vadim Zeitlin
47a8b1e1ff added EVT_DATAVIEW_CACHE_HINT event (closes #9891)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 15:21:52 +00:00
Vadim Zeitlin
c2e5ea68a1 made code more const-correct to fix g++ warnings about converting literal strings to non-const char*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 13:34:46 +00:00
Vadim Zeitlin
8eceaeb621 compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 13:32:32 +00:00
Vadim Zeitlin
f106c625bd really fix compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 13:10:46 +00:00
Vadim Zeitlin
f3239c2118 updated the version to 2.9.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 11:51:53 +00:00
Vadim Zeitlin
e9c72ade97 updated list of files to change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 11:51:06 +00:00
Vadim Zeitlin
ddb92955a2 update the script to update more files; removed old LaTeX file which doesn't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 11:49:21 +00:00
Vadim Zeitlin
42c097b83e translate wxMessageDialog labels to the language of the current locale (closes #10962)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-05 11:48:01 +00:00
Vadim Zeitlin
60c4147a07 add more tests for wxFileName::Normalize(DOTS) (see #10960)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 22:07:22 +00:00
Vadim Zeitlin
0d50ce70b1 compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 17:52:37 +00:00
Vadim Zeitlin
058506f3e9 another attempt to fix signed/unsigned comparison warning in OS X build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 17:51:56 +00:00
Jaakko Salli
62c4453a41 A better fix for one unused variable warning (one that actually compiles in debug mode)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 14:49:19 +00:00
Jaakko Salli
a4c605ce97 Colour property with attribute wxPG_COLOUR_ALLOW_CUSTOM = false did not render correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 14:39:26 +00:00
Vadim Zeitlin
9038fc94a7 we need to reset m_connected flag as well as setting m_closed when the connection is lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 14:29:56 +00:00
Vadim Zeitlin
f46a01651a don't call wxSocketImpl::ReenableEvents() if the socket was closed while reading/writing to avoid an assert in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 14:28:02 +00:00
Vadim Zeitlin
8a28bf768c fix harmless warnings (mostly about unused parameters/variables)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:48:44 +00:00
Vadim Zeitlin
bcb6619fbe fix overriding OnPoke() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:46:19 +00:00
Vadim Zeitlin
587b4c84fb blind fix to make IPC work again by overriding OnExec() correctly in IPC connection class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:43:06 +00:00
Vadim Zeitlin
3b4af85307 make the sample work again by correcting DrawHeaderButton() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:39:23 +00:00
Vadim Zeitlin
b6ccc13c2f compilation fix for wxOSX/Cocoa: don't use Carbon functions in common to all OS X ports OpenGL code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:22:40 +00:00
Vadim Zeitlin
83c23edb02 suppress harmless warning about unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:16:20 +00:00
Vadim Zeitlin
5ec58699d0 suppress harmless warning about possibly uninitialized variable in ParseRfc822Date() in OSX build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:14:51 +00:00
Vadim Zeitlin
c2f7cc71ef suppress harmless warning about possibly uninitialized variable in OpenLogFile() in OSX build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:13:41 +00:00
Vadim Zeitlin
e37870dd38 document SetStandardFonts() and SetFonts() methods of various wxHTML classes (closes #10913)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 12:03:39 +00:00
Stefan Csomor
1034a6bbff bracket 10.5 only code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 11:51:46 +00:00
Stefan Csomor
3bb0d96f10 better font round-trip fidelity (native->wx->native), fixing fontdialog for osx_cocoa, closes #10856
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 07:13:53 +00:00
Stefan Csomor
5b304314d9 fixing warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-03 06:49:27 +00:00
Vadim Zeitlin
9611b7975f use WXSIZEOF(x) instead of sizeof(x)/sizeof(x[0]) (closes #10701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 22:43:31 +00:00
Vadim Zeitlin
609aa390f4 reset m_establishing flag and last error when asynchronous connection is established (closes #10838)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 22:38:42 +00:00
Vadim Zeitlin
3814f667a0 fix typo in wxClient::MakeConnection() docs (closes #10841)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 22:29:43 +00:00
Vadim Zeitlin
3bb3875e13 show combobox drop down/close up events (closes #10954)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 22:26:49 +00:00
Vadim Zeitlin
b2f747d8f9 don't use WaitOnConnect(), it doesn't make sense to use asynchronous Connect() only to block waiting for it immediately (see #10952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 16:11:12 +00:00
Vadim Zeitlin
40a983ad63 set socket state to connected when it receives a connection notification, otherwise WaitOnConnect() had to be called for asynchrnously Connect()ed sockets to work (closes #10952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 16:10:12 +00:00
Stefan Csomor
b3ba104329 fixing memory leak and unnecessary cocoa init, refs #10856
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 14:52:12 +00:00
Stefan Csomor
8dcf5bc1a6 reverting incorrect conversion from r52690, refs #10856
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 13:23:51 +00:00
Vadim Zeitlin
dc9934d489 ignore bCase parameter of wxSortedArrayString::Index() in STL build just as we do in non-STL one (it didn't work correctly anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 09:08:50 +00:00
Vadim Zeitlin
256cddd7e9 added X11R7 directories to X libraries search path (needed for NetBSD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-02 09:00:20 +00:00
Vadim Zeitlin
880a2b69fb set the context we create in IsExtensionSupported() (see #10545)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:34:54 +00:00
Vadim Zeitlin
3dd63e0241 fixed handling of --with-opengl=auto (default value) for Mac/MSW (it behaved as --without-opengl before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:33:21 +00:00
Vadim Zeitlin
be5be16a23 interpret ~ specially only when it is the first character of the path (closes #10948, see #10941)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:07:38 +00:00
Vadim Zeitlin
9630954d5d remove _T()s and wxChars from the test making it much more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:02:30 +00:00
Vadim Zeitlin
a219792590 ensure that we have event loop before showing a modal dialog; this allows to do it even before the main application loop starts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:02:06 +00:00
Vadim Zeitlin
795ac80edb make wxSortedArrayString::Sort() and Insert() private in STL build (closes #10947)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 08:56:31 +00:00
Vadim Zeitlin
e5c48ccdf6 correct wxSortedArrayString(wxArrayString) ctor documentation (closes #10944)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-30 13:31:53 +00:00
Vadim Zeitlin
68623b5937 don't use wxFilePicker style when creating wxButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-29 22:07:34 +00:00
Kevin Ollivier
f5008769d6 Fix typo in class name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 23:16:25 +00:00
Vadim Zeitlin
842adaf697 simplify ScrollTo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 21:50:55 +00:00