]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Mon, 13 Jul 2009 13:21:52 +0000 (13:21 +0000)]
Make wxLog::EnableLogging() and wxLogNull thread-specific.
Disabling logging in a single thread (even the main one) shouldn't disable
logs from the background threads which should disable their logging themselves
as/if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61423
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 13 Jul 2009 11:09:26 +0000 (11:09 +0000)]
Add support for thread-specific log targets.
A worker thread can now have its own log target which will be used directly
by the log functions instead of buffering log output in the main thread; the
GUI thread in the thread sample shows how it works.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61422
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Mon, 13 Jul 2009 06:33:58 +0000 (06:33 +0000)]
OpenVMS compile support update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61421
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 12 Jul 2009 17:22:50 +0000 (17:22 +0000)]
Make critical sections initialization really thread-safe.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61419
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 12 Jul 2009 17:10:30 +0000 (17:10 +0000)]
Removed another occurrence of previous log critical section (should have been
part of r61417).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61418
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 12 Jul 2009 17:09:33 +0000 (17:09 +0000)]
Removed critical section protecting last repeat counter.
It is not needed any longer now that this is only used by
wxLog::OnLogInMainThreade() which is only called from the main thread.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61417
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 12 Jul 2009 17:02:30 +0000 (17:02 +0000)]
Made wxLogXXX() functions thread-safe.
They can now be called from any thread and will buffer the messages until the
current log target is flushed from the main thread. This makes earlier code to
do the same thing specifically for wxLogWindow unnecessary and also allows to
use wxLogMessage() in the thread sample instead of using manual logging there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61416
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 12 Jul 2009 17:00:29 +0000 (17:00 +0000)]
Added wxVector::swap().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61415
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 12 Jul 2009 14:56:23 +0000 (14:56 +0000)]
Add component-level filtering to wxLog.
Each log message is now associated with its component, "wx" by default for
messages generated by wxWidgets and wxLOG_COMPONENT in general (which is empty
by default). Each component may have its own log level and they are
hierarchical allowing fine configuration of what exactly is logged.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61414
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sun, 12 Jul 2009 09:59:26 +0000 (09:59 +0000)]
Yet another fix for the colour property 'Custom' entry (get drop-down list index directly from wxOwnerDrawnComboBox)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61412
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Sun, 12 Jul 2009 08:51:55 +0000 (08:51 +0000)]
Override email address for Jaakko Salli.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61411
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 12 Jul 2009 08:24:53 +0000 (08:24 +0000)]
better surviving 0 width / height bitmap sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61409
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 12 Jul 2009 00:21:06 +0000 (00:21 +0000)]
correct translation of "in." (Isaac Marino Bavaresco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61408
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 11 Jul 2009 21:15:58 +0000 (21:15 +0000)]
compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61407
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 11 Jul 2009 20:46:55 +0000 (20:46 +0000)]
Added wxThread::GetMainId().
This is useful for checking if a message was logged from the main thread or not and also allows us to implement IsMain() by comparing GetCurrentId() with GetMainId() in all ports and avoid repetition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61406
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sat, 11 Jul 2009 08:16:04 +0000 (08:16 +0000)]
Added named section 'Property development funcions'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61405
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sat, 11 Jul 2009 07:59:59 +0000 (07:59 +0000)]
Added wxPropertyGrid::WasValueChangedInEvent(), added code to avoid showing colour picker dialog twice when 'Custom' colour was picked from drop-down list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61404
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sat, 11 Jul 2009 07:29:42 +0000 (07:29 +0000)]
Fixed 'Custom' entry in the colour property combo boxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61403
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Sat, 11 Jul 2009 07:01:32 +0000 (07:01 +0000)]
Made sorting case-insensitive (to match wxComboBox) and fixed sorting in general for combo box classes inheriting from wxOwnerDrawnComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61401
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 10 Jul 2009 20:48:32 +0000 (20:48 +0000)]
fix harmless warnings about uninitialized (not really) variables in MSVC release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61384
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 10 Jul 2009 19:19:36 +0000 (19:19 +0000)]
adapting to widgetimpl extensions and iPhone OS 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61383
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 10 Jul 2009 17:56:19 +0000 (17:56 +0000)]
updating conditions for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61382
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 10 Jul 2009 17:53:56 +0000 (17:53 +0000)]
adding #ifs for reflecting existing controls, fixing #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61381
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 10 Jul 2009 17:46:05 +0000 (17:46 +0000)]
adapting init sequence for different osx platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61380
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 10 Jul 2009 17:41:13 +0000 (17:41 +0000)]
committing current iphone state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61379
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 10 Jul 2009 17:38:36 +0000 (17:38 +0000)]
guarding for scrollbar use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61378
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 10 Jul 2009 17:33:43 +0000 (17:33 +0000)]
iPhone bitmap support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61377
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 10 Jul 2009 17:31:57 +0000 (17:31 +0000)]
more iPhone types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61376
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 10 Jul 2009 17:29:21 +0000 (17:29 +0000)]
correcting to ifdef to if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61375
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 10 Jul 2009 17:28:20 +0000 (17:28 +0000)]
guarding scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61374
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 10 Jul 2009 14:50:00 +0000 (14:50 +0000)]
Do not disable some useful buttons when wxCB_SORT style is used in wxBitmapComboBox sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61372
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 10 Jul 2009 14:47:58 +0000 (14:47 +0000)]
Fixed wxCB_SORT for wxMSW and generic wxBitmapComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61371
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 10 Jul 2009 14:24:01 +0000 (14:24 +0000)]
supporting SetFont(wxNullFont), fixes #10980
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61369
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 9 Jul 2009 22:00:30 +0000 (22:00 +0000)]
don't mark GetTraceMask() deprecated as we use it in the same header which provokes warnings when including it from outside wx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61367
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 9 Jul 2009 21:41:46 +0000 (21:41 +0000)]
remove scope-resolution operator from wxLogError() call: this doesn't work any more as it's a macro and not a function now; mention this in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61366
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 9 Jul 2009 21:39:29 +0000 (21:39 +0000)]
fix MSVC compilation: as string literals are of non-const char* type with this compiler, they are implicitly convertible to void* resulting in overloading ambiguities with wxLogger::Log()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61365
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 9 Jul 2009 20:30:27 +0000 (20:30 +0000)]
implement wxLogTrace(wxTraceMask, format, ...) overload too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61364
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 9 Jul 2009 20:26:34 +0000 (20:26 +0000)]
Add information about the log message generation location to wxLog.
This means that wxLog::DoLogRecord() can now retrieve the file name, line
number and the function where the message was logged.
An unfortunate consequence of this change is that now
if ( condition )
wxLogError("Whatever");
results in a warning from g++ 4.x with -Wparentehses, so extra parentheses had
to be added in many places.
Finally, also allow storing arbitrary attributes in wxLogRecordInfo. This had
to be added to implement our own overloaded wxLogStatus() and wxLogSysError()
and will probably be useful for the others as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61363
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 9 Jul 2009 18:26:47 +0000 (18:26 +0000)]
Reduce size of virtual list before sending out delete notification, fixes #10966: wxDataViewVirtualListModel row deletion bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61361
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 9 Jul 2009 15:19:03 +0000 (15:19 +0000)]
disable VC6 warnings before warning(push), otherwise they're reenabled by warning(pop) in wx/afterstd.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61358
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 9 Jul 2009 15:13:52 +0000 (15:13 +0000)]
fix VC6 warnings about not enough parameters for wxDEPRECATED_BUT_USED_INTERNALLY_INLINE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61357
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 9 Jul 2009 14:47:51 +0000 (14:47 +0000)]
adding special case for Carbon DataBrowser Checkbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61356
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 9 Jul 2009 13:11:52 +0000 (13:11 +0000)]
make bitmap button background more visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61355
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 9 Jul 2009 12:50:14 +0000 (12:50 +0000)]
remove out of date bugs; mention VC8 and wxUSE_NO_MANIFEST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61354
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 9 Jul 2009 12:22:37 +0000 (12:22 +0000)]
disable MSVC deprecation warnings as we intentionally test deprecated methods in this test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61353
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 9 Jul 2009 12:00:55 +0000 (12:00 +0000)]
compilation fix for !WXWIN_COMPATIBILITY_2_8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61352
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 8 Jul 2009 16:06:46 +0000 (16:06 +0000)]
update IfaceCheckLog definition after wxLog::DoLogXXX() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61349
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 8 Jul 2009 14:16:55 +0000 (14:16 +0000)]
added wxLog::IsLevelEnabled() helper; document it and a few related functions which were not, or poorly, documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61348
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 8 Jul 2009 13:53:36 +0000 (13:53 +0000)]
update LboxLogger definition after the previous revision changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61347
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 8 Jul 2009 13:47:33 +0000 (13:47 +0000)]
Changed wxLog DoLogXXX() callbacks and introduced wxLogRecordInfo.
The main logging callback is now DoLogRecord() with DoLogTextAtLevel() and
DoLogText() provided for convenience. The old DoLog() and DoLogString() are
still called but deprecated and their overloads taking wxString which were
only added in 2.9.0 are removed.
wxLogRecordInfo allows associating more information than just the time stamp
with the log record; for now only the logging thread id was added but more
fields will make their appearance soon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61346
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Tue, 7 Jul 2009 15:23:26 +0000 (15:23 +0000)]
Further fixes to colour properties that use wxPG_COLOUR_ALLOW_CUSTOM attribute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61344
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 7 Jul 2009 12:19:34 +0000 (12:19 +0000)]
added a simple wxLog unit test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61343
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 7 Jul 2009 10:52:44 +0000 (10:52 +0000)]
update the intl.* files directly from genlang.py script instead of generating snippets which had then to be manually pasted in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61342
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 6 Jul 2009 21:19:58 +0000 (21:19 +0000)]
correct writing direction for Farsi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61340
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 6 Jul 2009 21:11:52 +0000 (21:11 +0000)]
regenerated after r60684
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61339
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 21:42:56 +0000 (21:42 +0000)]
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
Vadim Zeitlin [Sun, 5 Jul 2009 21:36:24 +0000 (21:36 +0000)]
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
Vadim Zeitlin [Sun, 5 Jul 2009 18:53:11 +0000 (18:53 +0000)]
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
Vadim Zeitlin [Sun, 5 Jul 2009 15:21:52 +0000 (15:21 +0000)]
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
Vadim Zeitlin [Sun, 5 Jul 2009 13:34:46 +0000 (13:34 +0000)]
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
Vadim Zeitlin [Sun, 5 Jul 2009 13:32:32 +0000 (13:32 +0000)]
compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61325
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 13:10:46 +0000 (13:10 +0000)]
really fix compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61323
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 11:51:53 +0000 (11:51 +0000)]
updated the version to 2.9.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61322
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 11:51:06 +0000 (11:51 +0000)]
updated list of files to change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61321
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 5 Jul 2009 11:49:21 +0000 (11:49 +0000)]
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
Vadim Zeitlin [Sun, 5 Jul 2009 11:48:01 +0000 (11:48 +0000)]
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
Vadim Zeitlin [Fri, 3 Jul 2009 22:07:22 +0000 (22:07 +0000)]
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
Vadim Zeitlin [Fri, 3 Jul 2009 17:52:37 +0000 (17:52 +0000)]
compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61317
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 17:51:56 +0000 (17:51 +0000)]
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
Jaakko Salli [Fri, 3 Jul 2009 14:49:19 +0000 (14:49 +0000)]
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
Jaakko Salli [Fri, 3 Jul 2009 14:39:26 +0000 (14:39 +0000)]
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
Vadim Zeitlin [Fri, 3 Jul 2009 14:29:56 +0000 (14:29 +0000)]
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
Vadim Zeitlin [Fri, 3 Jul 2009 14:28:02 +0000 (14:28 +0000)]
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
Vadim Zeitlin [Fri, 3 Jul 2009 12:48:44 +0000 (12:48 +0000)]
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
Vadim Zeitlin [Fri, 3 Jul 2009 12:46:19 +0000 (12:46 +0000)]
fix overriding OnPoke() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61309
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 12:43:06 +0000 (12:43 +0000)]
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
Vadim Zeitlin [Fri, 3 Jul 2009 12:39:23 +0000 (12:39 +0000)]
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
Vadim Zeitlin [Fri, 3 Jul 2009 12:22:40 +0000 (12:22 +0000)]
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
Vadim Zeitlin [Fri, 3 Jul 2009 12:16:20 +0000 (12:16 +0000)]
suppress harmless warning about unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61305
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 3 Jul 2009 12:14:51 +0000 (12:14 +0000)]
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
Vadim Zeitlin [Fri, 3 Jul 2009 12:13:41 +0000 (12:13 +0000)]
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
Vadim Zeitlin [Fri, 3 Jul 2009 12:03:39 +0000 (12:03 +0000)]
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
Stefan Csomor [Fri, 3 Jul 2009 11:51:46 +0000 (11:51 +0000)]
bracket 10.5 only code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61300
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Fri, 3 Jul 2009 07:13:53 +0000 (07:13 +0000)]
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
Stefan Csomor [Fri, 3 Jul 2009 06:49:27 +0000 (06:49 +0000)]
fixing warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61297
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 2 Jul 2009 22:43:31 +0000 (22:43 +0000)]
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
Vadim Zeitlin [Thu, 2 Jul 2009 22:38:42 +0000 (22:38 +0000)]
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
Vadim Zeitlin [Thu, 2 Jul 2009 22:29:43 +0000 (22:29 +0000)]
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
Vadim Zeitlin [Thu, 2 Jul 2009 22:26:49 +0000 (22:26 +0000)]
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
Vadim Zeitlin [Thu, 2 Jul 2009 16:11:12 +0000 (16:11 +0000)]
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
Vadim Zeitlin [Thu, 2 Jul 2009 16:10:12 +0000 (16:10 +0000)]
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
Stefan Csomor [Thu, 2 Jul 2009 14:52:12 +0000 (14:52 +0000)]
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
Stefan Csomor [Thu, 2 Jul 2009 13:23:51 +0000 (13:23 +0000)]
reverting incorrect conversion from r52690, refs #10856
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61282
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 2 Jul 2009 09:08:50 +0000 (09:08 +0000)]
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
Vadim Zeitlin [Thu, 2 Jul 2009 09:00:20 +0000 (09:00 +0000)]
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
Vadim Zeitlin [Wed, 1 Jul 2009 09:34:54 +0000 (09:34 +0000)]
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
Vadim Zeitlin [Wed, 1 Jul 2009 09:33:21 +0000 (09:33 +0000)]
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
Vadim Zeitlin [Wed, 1 Jul 2009 09:07:38 +0000 (09:07 +0000)]
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
Vadim Zeitlin [Wed, 1 Jul 2009 09:02:30 +0000 (09:02 +0000)]
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
Vadim Zeitlin [Wed, 1 Jul 2009 09:02:06 +0000 (09:02 +0000)]
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