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):

2012-11-20 13:49 VZ, revision 72994

Make wxSpinCtrlGenericBase a wxCompositeWindow. This takes care of propagating methods setting fonts and colours to the subwindows automatically, so that setting font for the generic wxSpinCtrl now works, unlike before. Closes #14839.

2012-11-20 13:49 VZ, revision 72993

Revert all wxNOEXCEPT-related changes. This reverts r72978, 72984, 72989 and 72992. Do not use wxNOEXCEPT for wxTextCtrl dtor as this breaks compilation of any user-defined classes inheriting from it unless they use wxNOEXCEPT as well and the benefits (fixing a harmless warning for the niche ICC compiler) are just not worth the compatibility breakage. See #14826.

2012-11-20 01:57 VZ, revision 72992

Fix another compilation problem after wxNOEXCEPT introduction. Also add wxNOEXCEPT to wxTextCtrl dtor definition in wxMSW. See #14826.

2012-11-19 19:07 VZ, revision 72990

Add wxTL_NO_HEADER style to wxTreeListCtrl. Closes #14838.

2012-11-19 19:01 VZ, revision 72989

More compilation fixes after wxNOEXCEPT introduction. This is a temporary change, r72984 and the following changes (see #14826) will probably be reverted soon anyhow, but for now at least fix wxGTK compilation. Closes #14837.

2012-11-19 14:06 SC, revision 72988

implementing delayed freezing, fixes #12865

2012-11-19 13:52 VZ, revision 72987

Add wxFSW_EVENT_UNMOUNT wxFileSystemWatcher flag and implement it for Linux. This flag generates the corresponding event when the file system containing the watched directory is unmounted. Currently it is only implemented for Linux where unmounting now generates this event instead of an error. Closes #14834.

2012-11-19 13:51 VZ, revision 72986

Convert wxFSW_EVENT_{WARNING,ERROR} to string correctly. Previously these types were not handled at all, resulting in asserts. See #14834.

2012-11-19 12:54 VZ, revision 72985

Implement wxLocale::GetSystemEncodingName() for wxOSX. Use CFStringGetNameOfEncoding() to get the canonical name of the encoding from OS X itself. Closes #2571.

2012-11-19 12:53 VZ, revision 72984

Add wxNOEXCEPT to all wxTextCtrl dtors. Fix compilation with some compilers after r72978 which added wxNOEXCEPT to wxTextCtrlBase dtor and wxTextCtrl dtor in wxMSW but not in all the other ports. See #14826.

2012-11-19 05:17 PC, revision 72983

put both versions of wxGetMousePosition in one place so they can use one implementation

2012-11-19 03:29 PC, revision 72982

fix object referencing with wxSL_MIN_MAX_LABELS

2012-11-18 01:17 VZ, revision 72981

Define SPI_GETCARETWIDTH ourselves if it's not defined. This fixes another compilation error for VC6.

2012-11-18 01:14 VZ, revision 72980

Compilation fixes for VC6 after MSWGetComboBoxInfo() introduction. Don't use COMBOBOXINFO outside of WINVER checks, we can only use tagCOMBOBOXINFO that we forward declared ourselves.

2012-11-18 00:56 VZ, revision 72979

Fix path returned from wxGTK wxFileDialog too. This is similar to the fixes to wxDirDialog in r72779. Closes #14786.

2012-11-18 00:56 VZ, revision 72978

Add wxNOEXCEPT and use it for std::streambuf-derived classes. This fixes warnings from Intel compiler about overriding function using a different exception specification than the base one and also incidentally provides a handy macro that can be useful in other situations. Closes #14826.

2012-11-18 00:56 VZ, revision 72977

Add wxFSW_EVENT_ATTRIB wxFileSystemWatcher flag. This flag allows to monitor changes to the file attributes, such as file modification time. This patch adds the flag, support for it under Linux and the corresponding modifications to the sample and the test suite. Closes #14833.

2012-11-18 00:55 VZ, revision 72976

Fix typo in include/wx/generic/private/richtooltip.h header guard. A wrong symbol was being defined.

2012-11-17 23:17 RD, revision 72966

Fix broken and missing DataView interface items for Phoenix

2012-11-17 14:34 SJL, revision 72965

Fixed unused parameter warnings for webview on OSX.

2012-11-16 08:35 PC, revision 72964

avoid deprecated functions with GTK3

2012-11-16 08:30 PC, revision 72963

silence warnings about unhandled enum value in switch

2012-11-16 08:24 PC, revision 72962

Remove code that has no effect Adjusting the wxEVT_ENTER_WINDOW mouse position is pointless, execution won't reach that far if gdk_event->window != gtk_widget_get_window(widget), and GetClientAreaOrigin() always returns (0,0).

2012-11-15 23:24 VZ, revision 72961

Support monitoring only some events in wxGTK wxFileSystemWatcher. Call inotify() with the appropriate flags instead of always using IN_ALL_EVENTS. Closes #14832.

2012-11-15 19:48 VZ, revision 72960

Restore setting focus to generic wxDataViewCtrl on any mouse click. The changes of r72632 resulted in focus not being given to wxDataViewMainWindow on right or middle click, restore this behaviour.

2012-11-15 19:45 VZ, revision 72959

Document how to build wxOSX/Carbon under recent OS X. Mention that Xcode 3 is needed for this. Closes #14524.

2012-11-15 13:22 VZ, revision 72958

Add back WINVER check to fix VC6 compilation of wxMSW. The changes of r72953 removed the check for WINVER around the code using COMBOBOXINFO but it's still needed with VC^, so restore it.

2012-11-14 19:19 PC, revision 72957

Fix GetClientSize() when scrollbars are present The value of GtkScrolledWindowClass.scrollbar_spacing seems to be invalid (-1). Use the style property "scrollbar-spacing" instead.

2012-11-14 17:55 PC, revision 72956

re-enable using our own resize grip with GTK3, themes can (and do) disable the native grip

2012-11-14 14:48 VZ, revision 72955

Implement wxComboCtrl::GetSizeFromTextSize(). Improve calculation of wxComboCtrl best size which doesn't work correctly for non-default fonts as shown by r72935. It is still not perfect but better now. Closes #14825.

2012-11-14 14:47 VZ, revision 72954

Implement DoGetSizeFromTextSize() for wxMSW wx{Choice,Combobox,TextCtrl}. Refactor and improve the existing DoGetBestSize() implementations to use DoGetBestSize(). Closes #14816.

2012-11-14 14:47 VZ, revision 72953

No changes, just refactor wxMSW wxComboBox code calling GetComboBoxInfo(). Move the code dynamically loading this function to the base wxChoice class to make it possible to use it from there in the upcoming commit.

2012-11-14 14:47 VZ, revision 72952

Handle wxBORDER_NONE in wxGTK wxTextCtrl::DoGetSizeFromTextSize(). Don't add margins for the controls without borders, they are not used in this case. See #14816.

2012-11-14 14:46 VZ, revision 72951

Don't call setlocale("") on startup by default any longer. This undoes the changes of r44773 because calling setlocale() resulted in C locale being set differently from C++ locale which was confusing and led to huge slowdowns in any code using std::stream with at least MinGW. And setting the C++ locale to be the same, as r72719 tried to do, doesn't seem to be practical as it results in immediate crashes under OS X and MinGW when used under XP. Do provide wxApp::SetCLocale() helper to explicitly do what was previously done implicitly, even though currently it is a trivial wrapper for setlocale() and we don't even need to call gtk_set_locale() as it has never done anything else and is deprecated since GTK+ 2.24. Closes #14780.

2012-11-14 01:16 VZ, revision 72950

Optionally allow showing tooltips for disabled ribbon buttons. Add wxRibbonButtonBar::SetShowToolTipsForDisabled() to allow enabling the tooltips even for the disabled buttons. Closes #14820.

2012-11-13 18:38 PC, revision 72949

re-enable drawing our own resize grip with GTK3, themes can (and do) disable the native grip

2012-11-13 13:36 VS, revision 72948

Fix wxGTK's wxFileDialog:Get/SetFilename() to be in sync. The m_fileName and m_dir variables, managed by the base class, were out of sync when the dialog wasn't shown yet, because the wxGTK implementation didn't always set them. GetFilename() following SetFilename(x) could return something other than x. Fixed by calling the base class version.

2012-11-12 16:50 VZ, revision 72947

Replace a template function with template class to fix VC6 build. VC6 doesn't like template methods, so use a helper template class instead, hopefully this will finally allow it to compile the test suite again.

2012-11-12 14:36 SC, revision 72946

making sure we have an initial frame buffer, even though the first initial rootview controller lead to an empty framebuffer

2012-11-11 14:10 VZ, revision 72945

Use wxID_EXIT for the "Quit" item in the exec sample. This fixes the behaviour of the standard "Quit" menu item under OS X. See #3204.

2012-11-10 13:40 VZ, revision 72944

Disallow drop downs on AUI check buttons. This doesn't make much sense and disallowing it makes check items consistent with radio ones as previously you could set up a dropdown for the former but not for the latter. Also update the documentation of the relevant methods. Closes #14795.

2012-11-10 13:22 VZ, revision 72943

Fix crashes after using "wildcard" wxEvtHandler::Disconnect(). When not specifying the function to disconnect, the associated event sink was destroyed too early resulting in crashes later. Fix this and add unit tests verifying that things work as expected and at least don't crash. Closes #14563.

2012-11-10 13:22 VZ, revision 72942

No changes, just fix a harmless warning in FileSystemWatcherTestCase. Fix an unused parameter warning under non-Unix platforms.

2012-11-10 13:21 VZ, revision 72941

Fix filename test compilation with VC6. Just disable tests resulting in an internal compiler error.

2012-11-10 01:53 VZ, revision 72940

Fix link errors with VC 11 in DLL STL build. Don't declare wxWindowList as DLL-exported. It's unnecessary and appears to create problems for VC 11. Closes #14741.

2012-11-10 01:53 VZ, revision 72939

Simplify wxEVT_PAINT handling in wxScrollHelperBase. Just always call the virtual OnDraw() if wxEVT_PAINT wasn't handled. This is much simpler than connecting our own special handler just to set a flag saying whether the event was processed which was very complicated and didn't work anyhow for the statically connected wxEVT_PAINT handlers. See #14757.

2012-11-10 01:52 VZ, revision 72938

Cache HDC used for painting for the entire duration of WM_PAINT processing. This fixes a long standing problem with 2 wxPaintDC created one after another (and not with nested lifetimes, which was handled by the caching mechanism previously used) not working correctly. And as this was exactly what happened when handling wxEVT_PAINT for wxScrolled, it also fixes drawing artefacts when using scrolled windows. Closes #14757.

2012-11-10 01:52 VZ, revision 72937

Fix incorrect wxSizerFlags::Border() call in the scroll sample. Using 20 instead of a wxDirection resulted in an assert, fix the syntax.

2012-11-10 01:52 VZ, revision 72936

Set ID correctly for wxScrollWinEvents generated by wxScrollHelper. Add forgotten wxEvent::SetId() calls. See #14757.

2012-11-09 22:11 VZ, revision 72935

Add wxControl::GetSizeFromTextSize() to size the control to its text. This function can be used to size a, say, wxTextCtrl to be exactly of the size needed to enter the given amount of text in it. This patch adds wxGTK implementation for wxTextCtrl, wxChoice and wxCombobox; changes to the samples and the documentation. Closes #14812.

2012-11-09 07:17 PC, revision 72934

avoid deprecated functions with GTK3

2012-11-09 06:02 RD, revision 72933

wxBrushList and wxFontList do not derive from wxList.

2012-11-08 18:47 PC, revision 72927

don't assign NULL to wxUIntPtr, wxUIntPtr is not a pointer, closes #14811

2012-11-08 18:34 PC, revision 72926

avoid using deprecated gdk_cursor_unref() with GTK3

2012-11-08 18:18 PC, revision 72925

Disable GTK2-specific code to change theme when building wxGTK3. It doesn't work with GTK3, it causes deprecation warnings, and allowing an app to change its theme is a dumb idea

2012-11-08 16:46 SC, revision 72924

support for freeze and thaw under cocoa

2012-11-08 15:20 VZ, revision 72923

No changes, just remove unnecessary forward declarations. wxToggleBitmapButton doesn't exist any more, don't forward declare it. wxToggleButton does exist but is (fully) declared just below, so don't forward declare it neither.

2012-11-07 19:10 VZ, revision 72922

Another Nepalese translations update from Him Prasad Gautam.

2012-11-07 18:58 PC, revision 72921

update fullscreen state when it is changed by the WM

2012-11-07 11:02 JJ, revision 72920

Update OpenVMS make-files

2012-11-07 10:00 JJ, revision 72919

Fix for specific filename syntax of OpenVMS

2012-11-07 07:32 PC, revision 72918

add GTK3 implementations for remaining renderer functions

2012-11-07 00:57 VZ, revision 72917

Don't leave orphan taskbar icon window alive if setting it up fails. This fixes a rare bug which happens when we fail to install the task bar icon under MSW for whatever reason (the only known way to reproduce it is to try to do it very quickly after resume from suspend but there might be other situations in which this happens). In this case we must delete the icon as we are not going to get any timeout expiration notifications for it and so if we don't delete it immediately, it would remain alive forever, preventing the application from exiting as it counts as a top level window.

2012-11-07 00:56 VZ, revision 72916

Keep item data in sync with their position in wxEditableListBox. When swapping the items, we also need to swap their client data and not just their labels. Closes #14800.

2012-11-07 00:56 VZ, revision 72915

Restore propagation of EVT_SEARCHCTRL_CANCEL_BTN events to the parent. This was broken by r72581, add event.Skip() call to the handler for this event added there. Also add a handler for this event to the corresponding page of the widgets sample to be able to test this. Closes #14799.

2012-11-07 00:54 VZ, revision 72914

Fix regression with wxAuiToolBar gripper and overflow members initialization. The changes of r72785 moved m_gripperVisible and m_overflowVisible initialization to Init() but this was too early as these fields depend on the window style only set when it's really created, so re-initialize them to their proper values in Create(). Closes #14794.

2012-11-07 00:54 VZ, revision 72913

Use wxAUI_TB_DEFAULT_STYLE instead of 0 as default style value. No real changes. See #14794.

2012-11-07 00:54 VZ, revision 72912

Minor improvements to wxEVT_COMMAND_DIRCTRL_CHANGED generation. Set the event object for this event. Also don't skip the original tree event if the wxEVT_COMMAND_DIRCTRL_CHANGED event was handled and disallowed. Closes #14792.

2012-11-07 00:53 VZ, revision 72911

Add wxUSE_BASE checks for wxLog classes in the interface header. Also rearrange them so that the derived classes always appear after the base ones, otherwise SWIG can't compile this file. Closes #14784.

2012-11-07 00:53 VZ, revision 72910

Add wxUSE_{BASE,GUI} checks to interface headers. This allows to define just one of them to run some tool, e.g. SWIG, on only the classes defined in the base or in the core library (both are defined by default for Doxygen itself). Closes #14785.

2012-11-06 18:43 PC, revision 72908

add GTK3-specific code for DrawItemSelectionRect(), fixes drawing selected tree control item

2012-11-06 17:51 VZ, revision 72907

No changes, just fix indentation in wxDataViewMainWindow::Expand(). The code was indented two extra levels for some reason.

2012-11-06 17:51 VZ, revision 72906

Update the current row after item deletion in generic wxDataViewCtrl. Also change the code changing the current item to collect the range checks inside OnVerticalNavigation() itself instead of doing them in the caller. Closes #14802.

2012-11-06 17:50 VZ, revision 72905

Never collapse invisible root item in generic wxDataViewCtrl. Since the changes of r72325, the root item could be collapsed and marked as not having any children but this was wrong because no items could be added to it after this. Just ignore any attempts to collapse it. Closes #14801.

2012-11-06 17:25 VZ, revision 72904

Remove __WXMSW__ check around background erasing in generic wxDataViewCtrl. The background was erased only under MSW for some reason, do it everywhere now.

2012-11-06 07:35 SC, revision 72903

fixing compile for ios

2012-11-06 07:31 SC, revision 72902

supporting iOS 6 autorotate

2012-11-05 00:55 VZ, revision 72898

Slightly improve the date/time dialogs in the calendar sample. Use CreateStdDialogButtonSizer() instead of constructing wxStdDialogButtonSizer directly, not only this is shorter but it also makes the "OK" button default correctly. Also initialize the labels instead of leaving them initially empty.

2012-11-05 00:55 VZ, revision 72897

Don't move the insertion point if text didn't change in wxTextEntry. This avoids accidentally resetting the selection if SetValue() is called again with the same value. Closes #13728.

2012-11-05 00:54 VZ, revision 72896

Make hack for button creation in wxOSX more robust. Don't crash when creating a plain wxButton with wxBU_NOTEXT style. This happened because we skipped creating the peer (real implementation) in this case entirely on the assumption that we were creating a wxBitmapButton, but this is not necessarily the case. So now test that the creation of the peer is really disabled before skipping it (this required adding ShouldCreatePeer() accessor). Merging wxWidgetImpl::CreateButton() and CreateBitmapButton() (and the same thing for toggle buttons) would still be a better solution but while it's trivial to do for Cocoa, it isn't for Carbon. And we can't use a single function for Cocoa but different functions for Carbon, so for now just continue to use this hack. Closes #13622.

2012-11-05 00:54 VZ, revision 72895

Ensure that paths used inside wxOSX are always in NFC form. OSX uses NFKD but this is unexpected for wx applications, so normalize the string to use the composed form whenever we receive a file system path from OS X. Closes #13504.

2012-11-05 00:53 VZ, revision 72894

Add wxCFStringRef::AsStringWithNormalizationFormC() Cocoa overload. Provide an overload taking NSString and casting it to CFStringRef, just as for AsStringWithNormalizationFormC(). See #13504.

2012-11-05 00:53 VZ, revision 72893

Use kCGBlendModeExclusion for wxCOMPOSITION_XOR operation. The previously used kCGBlendModeXOR doesn't seem to be the right mode to use. Closes #13095.

2012-11-05 00:53 VZ, revision 72892

Implement setting default wxTextCtrl style in wxOSX. Use NSTextView setTypingAttributes to change the attributes used for the new text by default as setting them for the selected region didn't do anything useful under OS X (and did nothing at all when there was no selection). Closes #12839.

2012-11-05 00:52 VZ, revision 72891

No changes, just remove unnecessary wxTextAttr tests. If wxTextAttr::HasFoo() returns true, there is no need to test for GetFoo().IsOk().

2012-11-05 00:52 VZ, revision 72890

Suppress warnings about NSText not responding to setAllowsUndo. Cast NSText to NSTextView when sending this message to it. Hopefully it doesn't change the run-time behaviour but just fixes several lines of warnings that were given without this cast.

2012-11-05 00:51 VZ, revision 72889

No changes, just make it easier to tweak splitter sample. The sample contains disabled code for using other type of windows than MyCanvas for the splitter children but it didn't compile any more because the variables were declared as wxScrolledWindow. Fix this by using just wxWindow for them.

2012-11-05 00:51 VZ, revision 72888

Create tags for Cocoa, not Carbon, by default under wxOSX. Just change the default value of the "port" parameter.

2012-11-05 00:51 VZ, revision 72887

Fix annoying warning when running the script to generate tags under OS X. It complained about no matches for src/osx/cocoa/*.cpp.

2012-11-05 00:50 VZ, revision 72886

Update the button bezel to account for multi-line labels in wxOSX. If a button was created using a normal single-line label (including empty one) and then its label was changed to something multi-line later, its size stayed wrong in wxOSX as it still used the fixed size bezel used by normal buttons. Adjust the bezel after each bezel change now to update the size of the button if necessary. Closes #12491.

2012-11-05 00:50 VZ, revision 72885

No changes, just rename OSXSetAcceleratorFromLabel(). Make the name of the function more general and call it OSXUpdateAfterLabelChange() as it's supposed to be called whenever the label changes.

2012-11-05 00:50 VZ, revision 72884

No real change, just make bezel setting code in wxOSX more clear. Avoid code duplication between SetAcceleratorFromLabel() and wxWidgetImpl::CreateButton(), generalize the former to handle the special cases taken into account only in the latter previously. Also use a switch on border flags instead of series of nested ifs as this seems to be more clear. No changes in behaviour.

2012-11-05 00:49 VZ, revision 72883

Revert "Fix the pages range in the print dialog in wxOSX." This reverts r72805 (leaving only the changes to printdlg.cpp which seem harmless and potentially useful) as it resulted in crashes when using wxHtmlEasyPrinting because we called wxPrintout::OnPreparePrinting() before setting the DC to be used, which was wrong. In fact it's not clear how can we get the correct range of pages at all because we need a DC to paginate properly (i.e. taking into account its size) but we need to show a dialog, in which we already want to show the pages range, before choosing the DC. Perhaps we could create a dummy DC for pagination purposes but how could this work with printers using different page sizes? The best would probably be to avoid setting any limits on the page range as showing 9999 looks ugly but anything else would be wrong. See #8349, #11779.

2012-11-05 00:49 VZ, revision 72882

Update tree control layout in EditLabel() for wxOSX too. A special preprocessor check for OS X prevented the control from being relaid out correctly in EditLabel() there, which resulted in problems when trying to edit a just added item. Simply remove this check for OS X (and also MSW but this is less important as this version of the control is almost never used there anyhow) to fix it. Closes #11179.

2012-11-04 18:39 PC, revision 72881

fix setting background color in wxGTK3 with themes which use background images or gradients, fixes #14759

2012-11-04 13:44 VZ, revision 72880

Check that doxygen version is 1.8.2 in docs generation script. Doxygen often has backwards incompatible changes, so verify that we really use the version the docs are supposed to be generated with.

2012-11-04 13:44 VZ, revision 72879

Don't use "readlink -e" in docs generation script, it's not portable. "readlink" command also exists under OS X but with a completely different syntax than under Linux, so just use "pwd -P" to get the physical path name instead, this should hopefully work everywhere as it's POSIX. Closes #14796.

2012-11-04 13:44 VZ, revision 72878

Allow using _T() in docs/doxygen/overviews/changes_since28.h. This file describes changes to this macro so don't block commits changing it just because it contains "_T".

2012-11-03 19:34 BP, revision 72877

Finished adding @tableofcontents to all overviews in the manual.

2012-11-03 19:33 BP, revision 72876

Bumped the reference manual date.