- r65395: 2010-08-23 22:04:40 [JTN] Javier Torres
-
Click to show all 21 changes...
Clean up bakefile: Use platform specific evtloop, timer...
Also, create a QCoreApplication before a QEventLoop if the former doesn't already exists (required by Qt)
- r65393: 2010-08-23 18:54:59 [VZ] Vadim Zeitlin
-
/tests/controls/textentrytest.h [diff, log, file]
Compilation fix: forward declare wxTextEntry in unit tests code.
This should fix tests compilation on the build bot Mac OS X slaves.
- r65392: 2010-08-23 07:50:00 [JJ] Jacob Jansen
-
/src/generic/descrip.mms [diff, log, file]
Update openVMS compile support
- r65390: 2010-08-22 23:46:02 [VZ] Vadim Zeitlin
-
/tests/controls/textctrltest.cpp [diff, log, file]
Use "C" locale for locale-dependent part of TextCtrlTestCase.
As we expect to get decimal points in the text control when we stream floating
point numbers into it, we must do it in a locale which uses decimal point,
e.g. "C" one. Otherwise the test failed when ran in e.g. French locale.
- r65389: 2010-08-22 23:45:58 [VZ] Vadim Zeitlin
-
/interface/wx/filedlg.h [diff, log, file]
Document that wxFD_FILE_MUST_EXIST is implied under OS X.
Mention in the documentation that the standard file open dialog under OS X
can't be used to select a non-existing file.
- r65388: 2010-08-22 23:45:53 [VZ] Vadim Zeitlin
-
/build/bakefiles/files.bkl [diff, log, file]
/Makefile.in [diff, log, file]
/src/osx/cocoa/bmpbuttn.mm [old log]
Remove unused src/osx/cocoa/bmpbuttn.mm file.
This file was empty and unused any more so simply remove it and all references
to it in the makefiles.
This avoids warnings about empty object files in static builds of the library.
- r65387: 2010-08-22 22:58:25 [VZ] Vadim Zeitlin
-
/src/osx/uiaction_osx.cpp [diff, log, file]
Don't use uninitialized variable in wxCharCodeWXToOSX().
If an unsupported wxKeyCode was passed to this function, an undefined value
was returned. Return -1 instead to indicate failure.
- r65386: 2010-08-22 22:16:05 [VZ] Vadim Zeitlin
-
Click to show all 79 changes...
Merge the new GUI tests from SOC2010_GUI_TEST branch.
Add a lot of tests for many wx GUI classes.
Add tests using the new wxUIActionSimulator class but disable them under OS X
as too many of them currently fail there.
Refactor the test suite to make organizing the existing tests and adding the
new ones easier.
Improve documentation using the information gathered while testing the
classes. Also update the documentation of the testing system itself.
- r65385: 2010-08-22 22:15:42 [VZ] Vadim Zeitlin
-
Click to show all 22 changes...
Merge wxUIActionSimulator fixes from SOC2010_GUI_TEST branch.
Correct a lot of problems with the initial implementation, notably make the
API consistent across all platforms, e.g. all keyboard-related methods now
take just a wxKeyCode.
Add some useful higher-level helpers such as Text() and MouseDragDrop().
Improve documentation.
wxUIActionSimulator now works under MSW, GTK and OS X and is enabled by
default.
- r65384: 2010-08-22 22:15:32 [VZ] Vadim Zeitlin
-
/src/osx/cocoa/combobox.mm [diff, log, file]
/src/osx/combobox_osx.cpp [diff, log, file]
Fix selection corner cases in wxOSX wxComboBox.
Don't crash in wxComboBox::GetString() if it's passed an invalid index.
Don't call GetString() with invalid index from GetStringSelection() if there
is no selection.
Do accept wxNOT_FOUND in SetSelectedItem() as it means, according to the docs,
that the existing selection should be reset.
- r65383: 2010-08-22 22:15:27 [VZ] Vadim Zeitlin
-
/src/osx/carbon/clipbrd.cpp [diff, log, file]
Don't crash in wxOSX::wxClipboard::Clear() if initialization failed.
Creating the clipboard may fail (e.g. when running from a ssh session to an OS
X machine), don't crash by passing NULL pointer to PasteboardClear() if this
happens but assert and return instead.
- r65382: 2010-08-22 22:15:22 [VZ] Vadim Zeitlin
-
/src/osx/cocoa/window.mm [diff, log, file]
Work around a crash on starting editing in wxGrid under wxOSX/Cocoa.
wxOSX/Cocoa currently generates unexpected focus loss events with the window
gaining focus being the same one as losing it. This is wrong and shouldn't
happen but as long as it does, filter these events out to at least allow
editing the grid to work.
See #12267.
- r65381: 2010-08-22 22:15:17 [VZ] Vadim Zeitlin
-
/interface/wx/listctrl.h [diff, log, file]
/src/msw/listctrl.cpp [diff, log, file]
Don't send event from wxMSW::wxListCtrl::DeleteAllItems() if it did nothing.
wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS should only be sent if the control hadn't
been empty before. Document this behaviour and adjust wxMSW to match the
other platforms.
Also document the return value better.
Closes #12336.
- r65380: 2010-08-22 22:15:13 [VZ] Vadim Zeitlin
-
/include/wx/unix/utilsx11.h [diff, log, file]
/src/gtk/utilsgtk.cpp [diff, log, file]
Extract X11 Display wrapper class in a private header.
No real changes, just extract a private Dpy class used by wxGTK to a header
and rename it to wxX11Display.
This will allow reusing it from X11 wxUIActionSimulator implementation in the
upcoming commits.
- r65379: 2010-08-22 22:15:07 [VZ] Vadim Zeitlin
-
/include/wx/mousestate.h [diff, log, file]
Add missing header required if wx/mousestate.h is included first.
This header uses wxPoint so it must include wx/gdicmn.h (instead of relying on
it having been already included).
- r65378: 2010-08-21 23:33:40 [VZ] Vadim Zeitlin
-
/src/common/socket.cpp [diff, log, file]
/tests/image/image.cpp [diff, log, file]
Don't report spurious errors from wxSocket in "no wait" mode.
In wxSOCKET_NOWAIT mode wxSOCKET_WOULDBLOCK is not a real error as it's
expected and should be just discarded. Failing to do this could result in the
following scenario:
1. Try to read a big buffer with wxSOCKET_NOWAIT (setting wxSocket error to
wxSOCKET_WOULDBLOCK).
2. Process small part of it.
3. Read more data from wxSocket -- which now goes to the data containing
already cached data without going to the socket itself and this without
resetting the error.
4. Check wxSocket::Error() which turns out to be (still) true.
And this was exactly what happened in mysteriously failing unit test case
reading wxImage contents from a socket: the failure was difficult to reproduce
because it depended on how much data exactly did we read from the socket in
one go.
Fix this by resetting the error properly and reenable the unit test which was
previously disabled for the build bot, it should pass now.
- r65376: 2010-08-21 17:06:44 [VZ] Vadim Zeitlin
-
Click to show all 2,234 changes...
Merge with the trunk and some minor fixes.
This is the version of this branch which should be easier to merge into the
trunk in the future as it's based on a more recent r65375.
It also contains some minor changes by me to Julien's work and style fixes.
- r65375: 2010-08-21 10:17:13 [RR] Robert Roebling
-
/src/generic/dirctrlg.cpp [diff, log, file]
Allow calling wxGenericDirCtrl::GetPath() in multiple selection mode, fixes #12340 ([wxGenericDirCtrl] conflicts wxDirFilterListCtrl::OnSelFilter())
- r65374: 2010-08-21 09:54:30 [RR] Robert Roebling
-
/include/wx/gtk/window.h [diff, log, file]
make Set/GetLabel() set and return something (albeit unused) as per the docs, fixes #12350: wxWindow Get/SetLabel non-functional in GTK
- r65373: 2010-08-21 09:53:25 [RR] Robert Roebling
-
/include/wx/gtk/toplevel.h [diff, log, file]
make Set/GetLabel() set and return title in wxTLW, fixes #12371: Dialog::GetLabel() Inconsistent behaviour across operating systems
- r65372: 2010-08-21 09:39:09 [RR] Robert Roebling
-
/src/ribbon/art_aui.cpp [diff, log, file]
/src/ribbon/art_msw.cpp [diff, log, file]
Fix crash by checking if icon is valid before drawing it, fixes #12376: PATCH for Ribbon crash
- r65371: 2010-08-21 09:36:12 [RR] Robert Roebling
-
/src/common/fs_arc.cpp [diff, log, file]
Fix potential crash, fixes #12375: PATCH to fix help controller crash
- r65370: 2010-08-20 20:51:17 [RR] Robert Roebling
-
/src/gtk/dataview.cpp [diff, log, file]
Properly implement Cleared() by calling row_deleted on every child of root, fixes #12327: wxDataViewListCtrl Crash
- r65369: 2010-08-20 18:13:51 [VZ] Vadim Zeitlin
-
/interface/wx/defs.h [diff, log, file]
Mention that not all standard IDs are stock IDs.
Also add a link to the list of stock IDs from the standard IDs documentation.
- r65368: 2010-08-20 15:38:03 [JJ] Jacob Jansen
-
/src/common/combocmn.cpp [diff, log, file]
include correct private.h for wxgtk1