Commit Graph

45292 Commits

Author SHA1 Message Date
Vadim Zeitlin
8b73c5318c chanegd wxTlsValue to be pointer-like instead of value-like which doesn't work for UDTs; use __thread keyword with mingw32 >= 4.3 too; use library-based thread-specific variables support in wxString cache now that it is fixed to work there; finally added a unit test for TLS stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 23:28:42 +00:00
Vadim Zeitlin
b18f47d002 document wxCP_NO_TLW_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 17:35:30 +00:00
Paul Cornett
48200154f4 replace m_insertCallback with a virtual function, contrary to the old comments a virtual works just fine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 15:46:48 +00:00
Robert Roebling
52ddeedbde Typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 14:00:43 +00:00
Robert Roebling
2038034368 Fix #9917: File save dialog does not honor file extension on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 13:57:03 +00:00
Vadim Zeitlin
33ccf3d1ec make the length of string proportional to the parameter to study test time dependency on it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 13:56:03 +00:00
Robert Roebling
a6919a6aca Mention wxString caching in UTF-8 ode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 12:46:41 +00:00
Robert Roebling
3f5506cfd3 Another doc patch from Tim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 12:15:59 +00:00
Vadim Zeitlin
e85eaef3fa override DoOpen/SaveDocument() instead of OnOpen/SaveDocument(), just as in docmdi sample after r55141/r55142/r55143 changes (#9892)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 11:38:12 +00:00
Vadim Zeitlin
b053bf9ef4 don't use new string caching code without compiler TLS support (temporary fix to compilation problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 21:50:10 +00:00
Vadim Zeitlin
af912213b3 compilation fix for non-UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 19:39:23 +00:00
Vadim Zeitlin
68482dc584 add cache for last used position and string length to UTF-8 wxString, dramatically improving performance of the code using indices to iterate over strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 19:19:11 +00:00
Vadim Zeitlin
8fad8b2e52 add the possibility to pass numeric parameters to benchmark functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 17:14:39 +00:00
Paul Cornett
3bbc1d95a1 use 8 bits for alpha, nothing needs 16 bit alpha here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 15:46:32 +00:00
Paul Cornett
173d02a872 add wxPseudoTransparentFrame to parent, so it doesn't get leaked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 15:45:50 +00:00
Robert Roebling
b784691e07 More corrections to make dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 13:28:56 +00:00
Robert Roebling
2a00b84736 Minor correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 13:21:56 +00:00
Robert Roebling
4f2511d706 Minor corrections to make dist after reports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 12:56:21 +00:00
Vadim Zeitlin
0d79a67919 no changes, just match the number of opening/closing braces to avoid upsetting Vim (and probably other editors) syntax highlighting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 23:03:55 +00:00
Vadim Zeitlin
2976d6cbc0 unbuffer cout to work around bug in Debian version of cppunit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 20:37:44 +00:00
Vadim Zeitlin
eaf6da0746 use std::sort() instead of qsort() to implement wxArrayString::Sort(), this makes it thread-safe without any extra hacks and also makes the code simpler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 19:40:20 +00:00
Paul Cornett
0d0b57acec get system colors directly from GTK styles, eliminating need for cached wxColor objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 17:10:36 +00:00
Robert Roebling
fd1ce7f0bb Update <make win-dist>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 11:48:24 +00:00
Robert Roebling
68a9f95249 Updated readme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 11:06:49 +00:00
Robert Roebling
3522813ad8 Add XCode project files to wxMac's <make dist>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 10:39:04 +00:00
Vadim Zeitlin
f65e33a31d get rid of duplicate enum (#9895)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 09:59:11 +00:00
Stefan Csomor
0b134cd00d fixing #9910
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 08:18:30 +00:00
Bryan Petty
4050e98de9 Fix misc documentation warnings (patch by Tim Stahlhut).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 04:20:07 +00:00
Vadim Zeitlin
f3d7473941 add a scoped_ptr-like wxGtkObject class which calls g_object_unref() automatically and use it in some GC-related code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 01:06:58 +00:00
Vadim Zeitlin
98d8a7ece5 honour user scale and source offset in wxDC::Blit() (#2605)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 00:52:13 +00:00
Vadim Zeitlin
3c06bd88f4 no changes, just a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 16:43:45 +00:00
Paul Cornett
d2cb636a1f put wxIconArray back in header, it's used by wxFSVolume
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 16:34:22 +00:00
Paul Cornett
9ff9d30c0a Hold a reference on m_widget for the life of the associated wxWindow object.
This allows removing some ugly hacks, and leaking of GtkWidgets by wxNotebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 16:19:23 +00:00
Robert Roebling
4a693a9b8c Also make make dist for wxMac work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 14:06:42 +00:00
Václav Slavík
22188d7396 pch-less compilation fix for r55285
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 13:29:38 +00:00
Václav Slavík
6bd4f2812d fixed writing to wxUniCharRef after its 'parent' iterator was destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 13:02:38 +00:00
Robert Roebling
3d593f49a4 Update <make dist> for wxGTK (and probably other ports, too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 11:13:12 +00:00
Robert Roebling
a612b91afe Update <make dist> for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 11:03:49 +00:00
Paul Cornett
24af522c43 move wxIconArray declaration out of header, remove unneccessary copy ctor and assignment operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 06:34:34 +00:00
Paul Cornett
05e0b047d8 don't use deprecated toolbar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 06:34:14 +00:00
Paul Cornett
f087f1d84a uncomment line accidentally left commented out in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 05:28:53 +00:00
Paul Cornett
0617ba3e34 fix for GTK assertion `info->icon_pixmap == NULL' failed, #9905
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 05:10:45 +00:00
Vadim Zeitlin
2f663107ff escape '@' symbols in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 23:25:51 +00:00
Vadim Zeitlin
8b385bf892 use UnsetToolTip() instead of SetToolTip(NULL) to fix wxX11 build broken on Buildbot since this file addition; fix some weird "else" indentation; use empty() instead of Length() > 0 tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 23:20:09 +00:00
Vadim Zeitlin
410201d988 added UnsetToolTip() which is also provided (as empty function) in wxUSE_TOOLTIPS==0 case unlike SetToolTip(NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 23:19:04 +00:00
Vadim Zeitlin
82db3c3d9d compilation fixes for minimal build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 19:28:26 +00:00
Vadim Zeitlin
1a7cfc94a3 compilation fixes for wxUSE_CONSOLE_EVENTLOOP==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 19:23:26 +00:00
Vadim Zeitlin
c74fc1e130 add parentheses for && inside || to fix g++ 4.3 warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 14:39:48 +00:00
Robert Roebling
4d60a2d5d4 Docs corrections from Tim Stahlhut
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 09:12:15 +00:00
Kevin Ollivier
8f3864f737 Compilation fix, didn't realize initialization order of events is different on trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 05:32:03 +00:00