Changelogs
Overview
These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2016-05-09 08:38:04
Changelog for wxWidgets (70435 changes):
2013-08-18 15:28 VZ, revision 746782013-08-18 15:28 VZ, revision 74677Return NULL from wxWindow::GetCapture() when the capture is being lost. Make GetCapture() return NULL during wxEVT_MOUSE_CAPTURE_{LOST,CHANGED} events processing in wxMSW to help their handlers to avoid calling ReleaseCapture(): this shouldn't be done as the mouse capture is being lost anyhow and results in reentrancy problems between NotifyCaptureLost() and ReleaseCapture() if it's called.
2013-08-18 15:28 VZ, revision 74676Make mouse capture checking asserts stronger and more detailed. Verify not only that we don't destroy the window having the capture now but also that this window is not in the mouse capture stack at all, not necessarily on top. This is important as keeping a dangling pointer in the capture stack would result in difficult to diagnose bugs later. Also check that we don't recapture the mouse in the same window as this should never be necessary. Finally, give more details in the assert checking that the window does have capture in ReleaseMouse().
2013-08-18 15:28 VZ, revision 74675Don't set even try to set focus to wxPopupWindow itself in wxMSW. This doesn't work anyhow with our popup window implementation (it's a child of the desktop and we can't set focus to it) and provokes error messages due to ::SetFocus() failures, so simply don't do this at all.
2013-08-18 15:28 VZ, revision 74674No changes, just change data structures used by mouse capture code. Use a simple stack of windows instead of a separate singly linked list and a separate current capture pointer.
2013-08-18 15:28 VZ, revision 74673No changes, just use wxRecursionGuard instead of manual boolean flag. Use wxRecursionGuard with the flag indicating whether the mouse capture is changing to ensure that we always reset it correctly and make the code slightly shorter.
2013-08-18 06:28 PC, revision 74672No changes, just move mouse capturing bookkeeping data out of wxWindow. All mouse capture-related data doesn't have to be declared in wxWindow itself and can just be global in wincmn.cpp, so move it there, this will facilitate further changes as they won't require recompiling everything any more.
2013-08-17 18:38 PC, revision 74665should have been part of r74664: Avoid calling gtk_window_get_position() from "configure-event" handler
2013-08-17 18:25 PC, revision 74664avoid duplicate move events
2013-08-16 20:17 BP, revision 74663Avoid calling gtk_window_get_position() from "configure-event" handler, if possible. This avoids a round trip to the X server, which is expensive over a remote connection. Closes #15116
2013-08-16 20:12 BP, revision 74662Fix typo in wxSingleInstanceChecker docs, props Lauri Nurmi.
2013-08-16 17:43 PC, revision 74661Duplicate argument name fix, props Lauri Nurmi.
2013-08-16 13:04 VZ, revision 74660use names for gs_requestFrameExtentsStatus values
2013-08-14 22:34 SC, revision 74659Replace wxFONTFAMILY_DEFAULT with wxFONTFAMILY_SWISS when comparing fonts. Otherwise comparison always failed as no existing fonts had wxFONTFAMILY_DEFAULT as their family in all ports except wxOSX, which does keep wxFONTFAMILY_DEFAULT. Closes #15410.
2013-08-14 17:47 VS, revision 74658forgotten commit :-( remove #if 0 if things work again
2013-08-14 11:43 SC, revision 74657Fix wxComboCtrlBase::DoGetSizeFromTextSize() performance regression. r72935 introduced code that created a temporary wxComboBox control to take measurements. This is very expensive in MSW and adds noticeable delay when creating more than a few controls. Replace with equivalent wxMSW code that computes the height in the same way other wxMSW controls do. The wxGTK version cannot be eliminated in the same way, so at least add some basic caching there. It's much less of a problem, because GTK+ controls creation is much cheaper than MSW one.
2013-08-14 11:15 SC, revision 74656using terminate: terminates prematurely, OnExit is not called anymore
- M /wxWidgets/trunk/include/wx/osx/app.h
- M /wxWidgets/trunk/src/osx/carbon/app.cpp
- M /wxWidgets/trunk/src/osx/cocoa/utils.mm
2013-08-13 19:36 VZ, revision 74655using #ifdef wxABORT_ON_CONFIG_ERROR not just #if as elsewhere
2013-08-12 18:24 PC, revision 74654Don't hide the window in its dtor in wxGTK. This results in sending an unexpected wxShowEvent to an already half-destroyed (because the derived class dtor had been already executed) by now object which could provoke crashes. And it also seems to be completely unnecessary as the window is going to be destroyed anyhow -- and the other ports don't hide it before this happens (unless it's a TLW in which case it is already hidden in wxTopLevelWindowBase::Destroy()).
2013-08-11 08:39 SC, revision 74653avoid setting pango matrix when not needed
2013-08-09 22:55 VZ, revision 74649using #ifdef wxABORT_ON_CONFIG_ERROR not just #if as elsewhere
2013-08-09 22:55 VZ, revision 74648Tamil translations update from Dinakar T.D.
2013-08-09 13:56 JS, revision 74647Remove never implemented wxDateTime::IsGregorianDate(). This method was declared and even documented but never actually implemented, and GregorianAdoption enum used by it had many incorrectly defined elements. Just remove both the method and the enum instead of fixing/implementing them as they are not that important (as witnessed by the fact that nobody has complained about the method being missing since almost 15 years). Closes #15400.
2013-08-08 07:59 PC, revision 74646Applied #15393 (dghart) fixing wxRichTextTable for percentage widths
2013-08-08 07:43 PC, revision 74645add other known types for gdk_pixbuf_save()
2013-08-07 19:33 VS, revision 74644Try native method first in LoadFile() and SaveFile() closes #15394
2013-08-07 17:44 VZ, revision 74643Make wxOwnerDrawnComboBox::DoGetBestSize() twice as fast. Don't call the very expensive wxComboCtrlBase::DoGetBestSize() method when not needed - it calls wxComboCtrlBase::DoGetSizeFromTextSize(), which is very expensive. Also fix the code so that it doesn't apply GetSizeFromTextSize() twice (once in the base class' DoGetBestSize(), once here).
2013-08-07 14:08 VZ, revision 74642Compilation fix for wxMSW with wxUSE_MSGBOX_HOOK==0. Include wx/fontutil.h unconditionally, it's needed outside message box hook code. Closes #15395.
2013-08-07 13:08 VZ, revision 74641Compilation fix to propgrid sample after r74628. Use wxMax() and wxMin() instead of std::max() and min(). Also work around wrong for loop scoping for VC6. See #15368.
2013-08-07 13:08 VZ, revision 74640Document light grey colour handling in wxMSW wxBitmap::LoadFile(). For historical/compatibility reasons we handle this colour as transparent in wxMSW when loading the bitmaps from resources, but this is rather not obvious for the new users, so document it and provide a way of compensating for this in the documentation as well. Closes #15371.
2013-08-07 13:08 VZ, revision 74639Define __VISUALC__ for ICC under Windows again. During the refactoring of r74496, the logic of the check for Intel compiler was slightly altered resulting in not defining __VISUALC__ for it any longer which broke compilation with it. Restore this definition now to fix it, even though it could admittedly be better to explicitly check for __INTELC__ in the places where we currently only check for __VISUALC__ and reserve the latter only for the case when we are really using MSVC. Closes #15359.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/filefn.h
- M /wxWidgets/trunk/include/wx/filename.h
- M /wxWidgets/trunk/interface/wx/filename.h
- M /wxWidgets/trunk/src/common/filename.cpp
- M /wxWidgets/trunk/src/msw/mslu.cpp
- M /wxWidgets/trunk/src/msw/wince/filefnwce.cpp
2013-08-07 13:08 VZ, revision 74638Add wxFileName::SetPermissions(). This is a simple wrapper for the POSIX chmod(). Closes #12951.
2013-08-07 13:08 VZ, revision 74637Update Travis configuration to run tests and build more configurations. Install libcppunit-dev in order to be able to run the unit tests (at least the non-GUI ones for now). Also build in several configurations: shared/static, multilib/monolithic and also STL. This should help to find problems appearing only in some specific build variants. Closes #15369.
2013-08-07 13:08 VZ, revision 74636Don't document wxSortedArrayString as deriving from wxArrayString. This is no longer the case since quite some time. Closes #15374.
2013-08-06 19:36 VZ, revision 74635Don't use DDEExec registry key in wxMSW wxExecute() if it's empty. Some file types have DDEExec subkey in the registry but no value for it, don't use DDE for launching the files of these types in this case as this only results in errors. Closes #15388.
2013-08-06 19:36 VZ, revision 74634Fix column sorting UI in wxDataViewCtrl under wxOSX. Use -outlineView:didClickTableColumn: delegate method instead of mouseDownInHeaderOfTableColumn: one to ensure that: (a) We don't sort the column if it's being dragged/resized (closes #15340). (b) We sort the column on mouse up, not down (closes #15386).
- M /wxWidgets/trunk/docs/doxygen/overviews/xrc_format.h
- M /wxWidgets/trunk/utils/screenshotgen/README.txt
2013-08-06 19:00 VZ, revision 74633Fix a couple of spelling mistakes in the documentation. Closes #15382.
2013-08-06 19:00 VZ, revision 74632Use RIAA wrapper for wxSpinCtrl event disabling in wxGTK. The use of wxSpinCtrlEventDisabler class ensures that we never forget to reenable the events after disabling them.
2013-08-06 19:00 VZ, revision 74631Reflect changes in stc.cpp in stc.cpp.in from which it's generated. This should have been part of r74596, see #15353.
- M /wxWidgets/trunk/include/wx/generic/spinctlg.h
- M /wxWidgets/trunk/interface/wx/spinctrl.h
- M /wxWidgets/trunk/src/generic/spinctlg.cpp
- M /wxWidgets/trunk/src/gtk/spinctrl.cpp
- M /wxWidgets/trunk/tests/controls/spinctrldbltest.cpp
- M /wxWidgets/trunk/tests/controls/spinctrltest.cpp
2013-08-06 18:59 VZ, revision 74630Don't generate any events from wxSpinCtrl and wxSpinCtrlDouble methods. After the changes of r53758 wxMSW didn't generate any wxEVT_TEXT events but this was still the case for the generic version (and hence for wxSpinCtrlDouble under MSW too) and wasn't documented. Fix all versions to avoid sending events for programmatic actions, add unit tests checking this behaviour and document it.
2013-08-06 18:59 VZ, revision 74629Add test for absence of events from wxSpinCtrlDouble ctor. Run the same NoEventsInCtor() test as we already had for wxSpinCtrl for wxSpinCtrlDouble as well. Unfortunately currently there is no way to reuse the tests between these two classes, we should refactor these test cases to use a common SpinCtrlTestCaseBase<T> base class. See #15375 which fixed the underlying bug.
2013-08-06 15:05 VZ, revision 74628Document wxTreeCtrl::GetItemFont() behaviour for items without font. Explain that this method returns wxNullFont if no font was set for the item. Closes #15390.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/propgrid/propgridpagestate.h
- M /wxWidgets/trunk/samples/propgrid/propgrid.cpp
- M /wxWidgets/trunk/samples/propgrid/propgrid.h
- M /wxWidgets/trunk/src/propgrid/propgridpagestate.cpp
2013-08-06 15:05 VZ, revision 74627Add wxPropertyGridPageState::GetColumnFullWidth(). This method allows to get the full width needed by wxPropertyGrid and is useful for determining the space to allocate for it, e.g. when creating a popup showing the property grid, as shown by the changes to the sample. Closes #15368.
2013-08-06 14:31 VZ, revision 74626Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed. Return the real height instead of -1. Closes #15367.
2013-08-06 08:05 PC, revision 74625Dutch translations update from Gideon van Melle.
2013-08-05 19:10 PC, revision 74624Rewrite ConvertToGreyscale() and ConvertToDisabled() They do almost the same thing, so use almost the same code. Fixes ConvertToDisabled() modifying its own data. Closes #15389
2013-08-05 10:59 SC, revision 74623prevent infinite loop if gtk_menu_popup() fails, fixes #15387
2013-08-04 09:58 JS, revision 74622follow up parent chain to properly support modal dialog parents, see #15383
2013-08-03 06:48 PC, revision 74621Comment-only update
2013-08-03 06:39 PC, revision 74620remove ancient defines left over from GTK1 and some minor cleanup
remove obsolete check for GTK 2.6