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

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2013-08-31 01:32 VZ, revision 74731

Fix wxMenu::GetTitle() before the menu is appended to the menu bar. The mnemonics conversion was not done correctly when the menu title contained them but the menu hadn't been appended to the menu bar yet. Closes #15461.

2013-08-30 15:14 VS, revision 74730

Loosen the assert in IsScrollIncrement(). wxWindowGTK::GTKGetScrollEventType() tries to map GtkAdjustment's delta to either step or page increment by comparing it with the respective GtkAdjustment steps. Both of them can be 0, but this code is not expected to be called in such case. Yet, in practice, it occasionally is, see e.g. http://devel.aegisub.org/ticket/979GTKGetScrollEventType (wxWebView is prone to it as well). Check for >= 0 instead, to be more robust when faced with unexpected input from GTK+.

2013-08-29 22:44 VZ, revision 74729

Initialize wxImageFileProperty correctly when file is given in the ctor. Previously the file had to be specified later and the value passed to the ctor was ignored. Closes #15456.

2013-08-29 14:33 VZ, revision 74728

Don't define __STRICT_ANSI__, we should build both with and without it. For some reason, wxDialUpManager code defined __STRICT_ANSI__ itself, don't do it as __STRICT_ANSI__ can be predefined by the compiler resulting in the redefinition warnings and, in any case, our code should build both with and without it.

2013-08-29 13:41 JS, revision 74727

Crash fix for inserting text into a buffer without an associated control

2013-08-29 13:15 VZ, revision 74726

Only patch bk-deps in configure if dependency tracking is used. Otherwise we get (harmless) errors when trying to patch a non-existent file. See #15454.

2013-08-29 08:39 JJ, revision 74725

wxGTK1 : another msiing include file in evtloop.cpp

2013-08-28 22:52 VZ, revision 74724

Czech translations update from Zbyněk Schwarz.

2013-08-28 08:01 JJ, revision 74723

wxGTK1 : wx/private/eventloopsourcesmanager.h was missing in evtloop.cpp

2013-08-28 00:49 VZ, revision 74722

Don't enable dialog navigation inside wxFrame by default. This was done, apparently accidentally, by r68366 and resulted in cursor arrow keys not being sent by default to the wxFrame children under MSW any more as they were used for dialog navigation instead. So don't derive wxTopLevelWindow from wxNavigationEnabled<> any more and only derive from it at wxDialog level. Closes #15445.

2013-08-28 00:49 VZ, revision 74721

Don't recurse into top level children in wxWindow::FindWindow(). Finding a button in a child dialog when looking for it in the current window is totally unexpected and can result in subtle bugs, see #15442.

2013-08-28 00:49 VZ, revision 74720

Handle custom configurations in MSVC-specific setup.h. Account for wxCFG when building the paths used for MSVC autolinking. This variable should be defined to the same value as CFG during (command line) build. Closes #15431.

2013-08-28 00:49 VZ, revision 74719

Explicitly specify target names for all configurations in VC10 projects. The target names were not specified for the "Release" configuration in some projects, resulting in (harmless, but annoying) warnings during the build. Closes #15439.

2013-08-28 00:49 VZ, revision 74718

Use $(OutDir) instead of explicit directories in VC10 project files. This makes it simpler to use a different output directory as it only needs to be changed in one place. See #15439.

2013-08-28 00:49 VZ, revision 74717

Correct making the newly inserted menu item owner drawn in some cases. The item being inserted is not inserted yet when we call SetOwnerDrawnMenuItem() so we must call it separately for it after inserting it. Closes #15437.

2013-08-28 00:49 VZ, revision 74716

Don't use any icon for items inserted without one in wxMSW wxListCtrl. Previously we erroneously used the first icon in the image list for them instead. This was inconsistent with wxGTK and didn't make much sense, even if it is the default behaviour of the native control, so don't do this any more and explicitly specify I_IMAGENONE for the icon if it wasn't given. Closes #15421.

2013-08-27 15:12 VZ, revision 74714

Make wxWindow::HasScrollbar() respect wxScrolled::ShowScrollbars(). Override CanScroll() in wxScrolled to return the real state of the scrollbar instead of just relying on the wx[HV]SCROLL styles. Closes #15440.

2013-08-27 15:12 VZ, revision 74713

No real changes, just make wxWindow::CanScroll() virtual. This will allow overriding it in wxScrolled<>, see #15440.

2013-08-27 14:02 JJ, revision 74712

Update OpenVMS compile support

2013-08-27 13:46 JJ, revision 74711

revert nested event loop support for wxGTK1 because it causes applications hangs

2013-08-25 10:36 SC, revision 74710

correct base for carbon is 10.6 max

2013-08-25 10:28 SC, revision 74709

adding correct valid architectures

2013-08-24 21:20 SC, revision 74708

proper default for iphone

2013-08-24 21:05 SC, revision 74707

carbon sdk must be 10.7 max, 10.8 is not supported anymore

2013-08-24 21:00 SC, revision 74706

leave i386 compiler to default

2013-08-24 16:33 VZ, revision 74705

Add webviewarchivehandler.cpp to manually maintained VC10 project file. Closes #15427.

2013-08-24 16:33 VZ, revision 74704

Fix Doxygen warnings due to documenting overloaded functions together. Apparently we can't make @param statements apply just to some overloads, so document them separately now. See #15346.

2013-08-24 16:33 VZ, revision 74703

Move code removing "-psn_xxx" command line arguments to common code. We need to do this when using any port under OS X, not just wxOSX, e.g. the -psn_xxx arguments passed by the Finder when launching the application, must also be ignored when using wxGTK. Closes #15432.

2013-08-24 16:33 VZ, revision 74702

Fix DLL targets names in manually maintained VC10 project files. This takes care of annoying warning about "target name does not match linker output file name" when building the DLLs. Closes #15435.

2013-08-24 16:33 VZ, revision 74701

Fix recreating of wxBitmapComboBox using untyped client data. Use the correct array when restoring the client data, correcting a fatal typo in the changes of r73880. Closes #15436.

2013-08-24 07:11 PC, revision 74700

remove redundant initialization of base class member variables

2013-08-24 07:04 PC, revision 74699

wxDialogBase only has one ctor, so just do initialization in ctor instead of Init()

2013-08-24 03:03 VZ, revision 74698

Fix typo in wxConfig example in the documentation.

2013-08-24 03:02 VZ, revision 74697

Another Basque translations update from Xabier Aramendi.

2013-08-23 18:37 VZ, revision 74696

Fix wxHtmlHelpData::SetTempDir() to behave correctly without trailing slash. The path passed to this function is always a directory, so use wxFileName::AssignDir() instead of the default constructor of wxFileName which considers the name to be a name of a file unless it ends with a path separator.

2013-08-23 18:23 VZ, revision 74695

Update Basque translations after wxGetTranslation() strings addition.

2013-08-23 18:22 VZ, revision 74694

Basque translations update from Xabier Aramendi.

2013-08-23 18:22 VZ, revision 74693

Regenerated message catalogs with the strings inside wxGetTranslation(). We didn't extract the strings inside wxGetTranslation() in the message catalog when creating it using xgettext, do it now. This notably fixes the missing translations for the generic progress dialog elapsed/estimated/remaining time labels.

2013-08-21 17:50 RD, revision 74692

fix missing ;

2013-08-21 17:26 SJL, revision 74691

Fix various documentation warnings throughout core and base. See #15346.

2013-08-21 17:21 SJL, revision 74690

Fix ribbon documentation warnings. See #15346.

2013-08-21 17:20 SJL, revision 74689

Fix html documentation warnings. See #15346.

2013-08-21 15:24 SJL, revision 74688

Fix warnings in rich text documentation. See #15346.

2013-08-19 19:25 PC, revision 74685

Remove DoSetSizeHints() call from Create() The reason it was added does not seem to be reproducible anymore, and it interferes with wxRESIZE_BORDER on Ubuntu. Closes #14870

2013-08-19 18:58 PC, revision 74684

revert r74683, wxTLW has its own {Width,Height}Default() which are not the ones called by PreCreation()

2013-08-19 07:42 PC, revision 74683

Remove some old redundant code Default size stuff is done by PreCreation()

2013-08-18 18:00 PC, revision 74682

avoid setting initial position if it was not specified, broken in r70734

2013-08-18 17:01 PC, revision 74681

Move code that does not need realized GdkWinow out of realize handler These calls can be made much earlier, and it seems like a good idea to do so.

2013-08-18 15:28 VZ, revision 74680

Only give capture to wxPopupTransientWindow child if it's the only one. This removes the arbitrariness of using the first child which didn't make any sense when the popup had several controls inside it, e.g. in wxRichToolTip case this resulted in the mouse capture being given to wxStaticBitmap showing the tooltip icon even though it didn't need it at all. This probably doesn't really change the observable behaviour but seems more logical. See #15288.

2013-08-18 15:28 VZ, revision 74679

Use wxFindWindowAtPoint() for hit testing in wxPopupTransientWindow. This works even with irregularly shaped windows such as wxRichToolTip unlike the old naive test using wxRect::Contains() which didn't and resulted in us believing that the mouse was outside the window when it was still in it and (somehow, the details are not totally clear) recapturing the mouse again and again in the same window which resulted in assert failures with the new checks in wxWindowBase::CaptureMouse() or the capture stack corruption before this. Closes #15288.

2013-08-18 15:28 VZ, revision 74678

Return 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 74677

Make 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 74676

Don'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 74675

No 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 74674

No 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 15:28 VZ, revision 74673

No 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-18 06:28 PC, revision 74672

should have been part of r74664: Avoid calling gtk_window_get_position() from "configure-event" handler

2013-08-17 18:38 PC, revision 74665

avoid duplicate move events

2013-08-17 18:25 PC, revision 74664

Avoid 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:17 BP, revision 74663

Fix typo in wxSingleInstanceChecker docs, props Lauri Nurmi.

2013-08-16 20:12 BP, revision 74662

Duplicate argument name fix, props Lauri Nurmi.

2013-08-16 17:43 PC, revision 74661

use names for gs_requestFrameExtentsStatus values

2013-08-16 13:04 VZ, revision 74660

Replace 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 22:34 SC, revision 74659

forgotten commit :-( remove #if 0 if things work again

2013-08-14 17:47 VS, revision 74658

Fix 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:43 SC, revision 74657

using terminate: terminates prematurely, OnExit is not called anymore

2013-08-14 11:15 SC, revision 74656

using #ifdef wxABORT_ON_CONFIG_ERROR not just #if as elsewhere

2013-08-13 19:36 VZ, revision 74655

Don'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-12 18:24 PC, revision 74654

avoid setting pango matrix when not needed

2013-08-11 08:39 SC, revision 74653

using #ifdef wxABORT_ON_CONFIG_ERROR not just #if as elsewhere

2013-08-09 22:55 VZ, revision 74649

Tamil translations update from Dinakar T.D.

2013-08-09 22:55 VZ, revision 74648

Remove 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-09 13:56 JS, revision 74647

Applied #15393 (dghart) fixing wxRichTextTable for percentage widths

2013-08-08 07:59 PC, revision 74646

add other known types for gdk_pixbuf_save()

2013-08-08 07:43 PC, revision 74645

Try native method first in LoadFile() and SaveFile() closes #15394

2013-08-07 19:33 VS, revision 74644

Make 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 17:44 VZ, revision 74643

Compilation 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 14:08 VZ, revision 74642

Compilation 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 74641

Document 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 74640

Define __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.

2013-08-07 13:08 VZ, revision 74639

Add wxFileName::SetPermissions(). This is a simple wrapper for the POSIX chmod(). Closes #12951.

2013-08-07 13:08 VZ, revision 74638

Update 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 74637

Don't document wxSortedArrayString as deriving from wxArrayString. This is no longer the case since quite some time. Closes #15374.

2013-08-07 13:08 VZ, revision 74636

Don'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 74635

Fix 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).

2013-08-06 19:36 VZ, revision 74634

Fix a couple of spelling mistakes in the documentation. Closes #15382.

2013-08-06 19:00 VZ, revision 74633

Use 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 74632

Reflect changes in stc.cpp in stc.cpp.in from which it's generated. This should have been part of r74596, see #15353.

2013-08-06 19:00 VZ, revision 74631

Don'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 74630

Add 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 18:59 VZ, revision 74629

Document wxTreeCtrl::GetItemFont() behaviour for items without font. Explain that this method returns wxNullFont if no font was set for the item. Closes #15390.

2013-08-06 15:05 VZ, revision 74628

Add 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 15:05 VZ, revision 74627

Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed. Return the real height instead of -1. Closes #15367.

2013-08-06 14:31 VZ, revision 74626

Dutch translations update from Gideon van Melle.

2013-08-06 08:05 PC, revision 74625

Rewrite 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 19:10 PC, revision 74624

prevent infinite loop if gtk_menu_popup() fails, fixes #15387

2013-08-05 10:59 SC, revision 74623

follow up parent chain to properly support modal dialog parents, see #15383

2013-08-04 09:58 JS, revision 74622

Comment-only update

2013-08-03 06:48 PC, revision 74621

remove ancient defines left over from GTK1 and some minor cleanup

2013-08-03 06:39 PC, revision 74620

remove obsolete check for GTK 2.6