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

2014-02-21 22:47 VZ, revision 75968

Basque translations update for 3.0.1 from Xabier Aramendi.

2014-02-21 22:47 VZ, revision 75967

Basque translations update for 3.0.1 from Xabier Aramendi.

2014-02-21 20:05 SC, revision 75966

make sure a frozen control calls a native 'thaw' on the tlw during destruction, otherwise tlws might end up unresponsive, see #16011

2014-02-21 18:15 VZ, revision 75965

Ukrainian translations update for 3.0.1 from Yuri Chornoivan.

2014-02-21 18:15 VZ, revision 75964

Ukrainian translations update for 3.0.1 from Yuri Chornoivan.

2014-02-21 17:28 VZ, revision 75963

French translations update for 3.0.1 from Xavier Perrissoud. Apply to the trunk as well. See #16013.

2014-02-21 17:27 VZ, revision 75962

Regenerate all .po files in the trunk too. Bring them (more) in sync with 3.0 branch.

2014-02-21 17:22 VZ, revision 75961

French translations update for 3.0.1 from Xavier Perrissoud. Closes #16013.

2014-02-21 14:55 VZ, revision 75960

Regenerate message catalogs for 3.0.1 release. Add a couple of new strings which have been added since 3.0.0.

2014-02-21 01:51 VZ, revision 75959

Fix memory leak in wxRibbonToolBar in case of error. Use wxScopedPtr to ensure the tool is not leaked, even if we fail to insert it.

2014-02-21 01:51 VZ, revision 75958

Fix uninitialized variable use in wxPropertyGrid code. wxPGProperty::GetItemAtY() uses its input/output "nextItem" parameter, so it must be initialized before calling it.

2014-02-21 01:51 VZ, revision 75957

Ensure we don't read invalid memory in wxOSX wxDisplay code. Replace wxASSERT() with wxCHECK_MSG() to ensure that we don't read beyond the end of the array even if we are given an invalid index.

2014-02-21 01:51 VZ, revision 75956

Fix memory leak on error return in wxOSX wxDisplay code. Use wxScopedArray to ensure that memory is freed, even if wxCHECK_MSG() condition fails.

2014-02-21 01:51 VZ, revision 75955

Fix memory leak in case of error in wxOSX graphics code. Delete the pointer before returning from the function if we don't pass its ownership to CGDataProviderCreateWithData().

2014-02-21 01:51 VZ, revision 75954

Fix memory leak on error return from wxMsgCatalogFile::FillHash(). Use wxScopedPtr to make memory management simpler and to ensure that all pointers allocated in this function are deleted: this wasn't the case when we returned false earlier due to the MO file being invalid.

2014-02-21 01:51 VZ, revision 75953

No real changes, just use smart pointers in GIF decoding code. Use wxScopedArray to make the code much shorter and guarantee that it doesn't leak memory.

2014-02-21 01:51 VZ, revision 75952

Fix socket leak in Accept() in case of error.o We leaked a socket descriptor if creating the accepted socket object failed.

2014-02-21 01:51 VZ, revision 75951

Fix fall back to default resolution in wxOSX printing code. The code was written to use the default resolution if getting it from the printer failed but only handled failure of PMPrinterGetOutputResolution() and not of PMSessionGetCurrentPrinter() itself. Use default resolution if obtaining it failed for any reason (alternative could be to return error if obtaining it failed for any return...).

2014-02-21 01:51 VZ, revision 75950

Correct wxDataViewColumn::AppendXXXColumn() return value in case of failure. Don't return invalid column pointer if it was freed because actually appending it to the control failed. Fixes corresponding Coverity warnings.

2014-02-20 16:13 VZ, revision 75949

Fix crash when using wxThreadSpecificInfo from global object ctor. When not using compiler TLS support (which is the default now), TLS variable itself needs to be initialized and user-defined code in the global objects ctor could be called before this happened, resulting in using uninitialized CRITICAL_SECTION under Windows and a crash. Fix this by wrapping global wxThreadSpecificInfo itself in an accessor function ensuring that it is always initialized before use. Notice that this required adding wxTLS_TYPE_REF() as wxTLS_TYPE() itself can't be used for the function return value (__thread or similar can only be used on the variables). Closes #16009.

2014-02-20 16:12 VZ, revision 75948

Fix crash when using wxThreadSpecificInfo from global object ctor. When not using compiler TLS support (which is the default now), TLS variable itself needs to be initialized and user-defined code in the global objects ctor could be called before this happened, resulting in using uninitialized CRITICAL_SECTION under Windows and a crash. Fix this by wrapping global wxThreadSpecificInfo itself in an accessor function ensuring that it is always initialized before use. Notice that this required adding wxTLS_TYPE_REF() as wxTLS_TYPE() itself can't be used for the function return value (__thread or similar can only be used on the variables). Closes #16009.

2014-02-20 14:06 VZ, revision 75947

Use correct column type when adding columns to wxDataViewListCtrl. Using base class methods such as AppendBitmapColumn() resulted in wxDataViewListCtrl::AppendColumn() being called but this function always assumed the column was of "string" variant type -- which was, of course, false for bitmap columns and so resulted in heap corruption (thanks to the wonderfully type unsafe code using wxVariant) and a crash. Get the correct type to use from the column itself now to fix this. Closes #16008.

2014-02-20 14:05 VZ, revision 75946

Use correct column type when adding columns to wxDataViewListCtrl. Using base class methods such as AppendBitmapColumn() resulted in wxDataViewListCtrl::AppendColumn() being called but this function always assumed the column was of "string" variant type -- which was, of course, false for bitmap columns and so resulted in heap corruption (thanks to the wonderfully type unsafe code using wxVariant) and a crash. Get the correct type to use from the column itself now to fix this. Closes #16008.

2014-02-20 01:32 VZ, revision 75945

Don't show hidden MDI frames when maximizing them in wxMSW. This is inconsistent with the other ports and rather unexpected. Closes #2508.

2014-02-20 01:32 VZ, revision 75944

Don't show the MDI children implicitly by default in wxMSW any more. We kept doing it for compatibility with pre-2.5.3 versions but this was a long time ago and we don't need this any longer. See #2508.

2014-02-20 01:32 VZ, revision 75943

Fix wxCmdLineParser::Found(name) for options with values. Calling Found() without providing the second "value" argument started generating an assert since introduction of the negated options as it reused FoundSwitch() which can only be used for switches, i.e. options without values. Fix this to revert a regression since 2.8 and also add unit tests for the different Found() overloads. Closes #15986, #16001.

2014-02-20 01:32 VZ, revision 75942

Reduce code duplication in wxCmdLineParser implementation. No real changes, just extract the code for finding options from their names into a separate function instead of repeating it 4 (and 5, after the next commit changes) times.

2014-02-20 01:32 VZ, revision 75941

Don't use invalid pointer in file dialog hook procedure in wxMSW. We can receive WM_NOTIFY for other than CDN_XXX messages if we have a native control as our immediate child (which can happen with "extra" controls) and the LPARAM is not a pointer to OFNOTIFY at all in this case, so don't try to use it as such. This fixes a crash when adding a "bare" extra control, see #16003.

2014-02-20 01:32 VZ, revision 75940

Fix wxTextCtrl contents corruption with long strings in wxMSW. wxMSW automatically extended wxTextCtrl length limit beyond the tiny standard 32KB when it was exceeded, but part of the text being appended into the control was lost when doing it. Fix this by retrying insertion after extending the limit. Closes #15980.

2014-02-20 01:31 VZ, revision 75939

Fix wxCmdLineParser::Found(name) for options with values. Calling Found() without providing the second "value" argument started generating an assert since introduction of the negated options as it reused FoundSwitch() which can only be used for switches, i.e. options without values. Fix this to revert a regression since 2.8 and also add unit tests for the different Found() overloads. Closes #15986, #16001.

2014-02-20 01:31 VZ, revision 75938

Reduce code duplication in wxCmdLineParser implementation. No real changes, just extract the code for finding options from their names into a separate function instead of repeating it 4 (and 5, after the next commit changes) times.

2014-02-20 01:31 VZ, revision 75937

Don't use invalid pointer in file dialog hook procedure in wxMSW. We can receive WM_NOTIFY for other than CDN_XXX messages if we have a native control as our immediate child (which can happen with "extra" controls) and the LPARAM is not a pointer to OFNOTIFY at all in this case, so don't try to use it as such. This fixes a crash when adding a "bare" extra control, see #16003.

2014-02-20 01:31 VZ, revision 75936

Fix wxTextCtrl contents corruption with long strings in wxMSW. wxMSW automatically extended wxTextCtrl length limit beyond the tiny standard 32KB when it was exceeded, but part of the text being appended into the control was lost when doing it. Fix this by retrying insertion after extending the limit. Closes #15980.

2014-02-19 21:38 SC, revision 75935

backport of r75934, misplaced the orderOut: , see #15998, #15902

2014-02-19 21:24 SC, revision 75934

misplaced the orderOut: , see #15998, #15902

2014-02-19 15:52 VZ, revision 75933

Set model pointer in wxDataViewEvents generated under wxOSX. Add missing SetModel() calls. Closes #16004.

2014-02-19 15:51 VZ, revision 75932

Set model pointer in wxDataViewEvents generated under wxOSX. Add missing SetModel() calls. Closes #16004.

2014-02-19 00:36 VZ, revision 75930

Move DSS_HIDEPREFIX fallback definition to the central header. Do it only once now that it's used in 3 different places (it recently started to be used in src/msw/anybutton.cpp as well) instead of defining it thrice. This also fixes MinGW build.

2014-02-19 00:36 VZ, revision 75929

Move DSS_HIDEPREFIX fallback definition to the central header. Do it only once now that it's used in 3 different places (it recently started to be used in src/msw/anybutton.cpp as well) instead of defining it thrice. This also fixes MinGW build.

2014-02-18 18:47 SC, revision 75928

backport of r15902

2014-02-18 16:44 VZ, revision 75927

Mention the addition of VC{11,12} solution files in the change log. This is an important thing for a lot of people.

2014-02-18 16:43 VZ, revision 75926

Add projects for MSVC 11 and 12 (MSVS 2012 and 2013). Add manually created projects for now, as it looks that we are not going to have bakefile-generated ones any time soon. Closes #15780.

2014-02-18 16:40 VZ, revision 75925

Add projects for MSVC 11 and 12 (MSVS 2012 and 2013). Add manually created projects for now, as it looks that we are not going to have bakefile-generated ones any time soon. Closes #15780.

2014-02-18 16:14 VZ, revision 75924

Fix transparency in toolbar buttons when not using comctl32.dll v6. Old versions of comctl32.dll don't support alpha in the toolbar image list, so use the masks only for them. This is a backport of r75785, r75794 and r75923 from trunk. Closes #2609.

2014-02-18 16:13 VZ, revision 75923

Compilation fix for wxUSE_IMAGE==0 wxMSW build. Declare the variable used in any case outside of wxUSE_IMAGE-only block. See #2609.

2014-02-18 16:09 VZ, revision 75922

Don't delete child controls when deleting wxStaticBoxSizer. This is an incompatible change compared to 2.8 which can make the existing code crash and it also goes against the usual rule that the windows are never owned by sizers, only other windows. Closes #15698.

2014-02-18 16:08 VZ, revision 75921

Don't delete child controls when deleting wxStaticBoxSizer. This is an incompatible change compared to 2.8 which can make the existing code crash and it also goes against the usual rule that the windows are never owned by sizers, only other windows. Closes #15698.

2014-02-18 16:05 VZ, revision 75920

Add support for fixed spacers and labels to wxAuiToolBar XRC handler. Allow specifying "width" and "proportion" attributes for the "space" elements and add "label" element support. Closes #15964.

2014-02-18 14:13 SC, revision 75919

backport of r75899

2014-02-18 11:09 SC, revision 75918

fixing nested modal sessions, part 2, see #15902

2014-02-18 00:55 VZ, revision 75917

Add missing bounding box calculations in wxMSW wxDC code. Update the bounding box when drawing bitmaps (in one of several possible ways) and gradients. Closes #2132.

2014-02-18 00:55 VZ, revision 75916

Improve disabled buttons appearance in wxMSW when not using themes. Owner drawn buttons were not drawn in the same way as normal ones when they were disabled, use Win32 DrawState() to do it now to achieve the correct appearance. Closes #11746.

2014-02-18 00:55 VZ, revision 75915

Fix crash in wxMSW wxFileSystemWatcher when removing the same path twice. Starting to watch a path, stopping to watch it, starting to watch it again and stopping again resulted in a crash in wxMSW wxFileSystemWatcher implementation because the watcher object wasn't kept artificially kept alive when it was stopped for the second time. This happened because our way of keeping it alive was to store it in a hash map indexed by path, but if a watcher for the same path (added there when this path was first unwatched) was already present in the map, the watcher wasn't added to it and not kept alive. Fix this by using a vector instead of a map. We obviously sacrifice quick access to it by path but at least this doesn't crash any more. And we could actually still use a map, just indexed by the (unique) pointer to the object stored inside wxSharedPtr itself, and not its path. But a vector might be a more efficient data structure in practice, if we keep it from becoming too big as we should try to do by triggering artificial port completions when a watch is removed. At any rate, at least the crash is fixed for now. Closes #15995.

2014-02-18 00:55 VZ, revision 75914

Allow waiting for thread termination even without wxTheApp in wxMSW. Attempts to wait for thread termination after wxTheApp was destroyed resulted in an error in wxMSW since 2.9.something whereas it used to work in 2.8 and also generally makes sense to be allowed. So do make this work again by falling back to the simple non-interruptible wait for thread if we don't have the application object any more. Closes #13391.

2014-02-18 00:55 VZ, revision 75913

Fix handling of wxTEXT_ATTR_EFFECT_SMALL_CAPITALS in wxRichTextFontPage. Due to a typo when copy-and-pasting code wrong control was being updated. It would be better to have a function updating the given control from the given flag, of course, but for now just fix the bug. Closes #15990.

2014-02-18 00:55 VZ, revision 75912

Fix fallback format index in wxPropertyGetter wxUIntProperty code. Don't crash by accessing an out of bands array element if the format string index had been set to an invalid value, just use the default (decimal) format in this case. Closes #15984.

2014-02-18 00:55 VZ, revision 75911

Use symbolic constants in wxPropertyGrid wxUIntProperty code. No real changes, just use symbolic constants instead of hard coded magical constants. The code is still difficult to understand but slightly better than before.

2014-02-18 00:53 VZ, revision 75910

Add "const" to the recently added wxRTC XPM. This fixes half a page of warnings about converting string constants to non-const char* from g++.

2014-02-18 00:53 VZ, revision 75909

Add missing bounding box calculations in wxMSW wxDC code. Update the bounding box when drawing bitmaps (in one of several possible ways) and gradients. Closes #2132.

2014-02-18 00:53 VZ, revision 75908

Improve disabled buttons appearance in wxMSW when not using themes. Owner drawn buttons were not drawn in the same way as normal ones when they were disabled, use Win32 DrawState() to do it now to achieve the correct appearance. Closes #11746.

2014-02-18 00:53 VZ, revision 75907

Speed up wxHtmlHelpWindow startup time by freezing font choices. Appending the names of all fonts could take a significant amount of time if there were a lot of them, freeze the controls while doing it to speed it up. Closes #15978.

2014-02-18 00:53 VZ, revision 75906

Set wxHtmlHelpFrame title format before creating it. This ensures that it's always set before it can be used, fixing assert introduced in r75748. Closes #15977.

2014-02-18 00:53 VZ, revision 75905

Fix crash in wxMSW wxFileSystemWatcher when removing the same path twice. Starting to watch a path, stopping to watch it, starting to watch it again and stopping again resulted in a crash in wxMSW wxFileSystemWatcher implementation because the watcher object wasn't kept artificially kept alive when it was stopped for the second time. This happened because our way of keeping it alive was to store it in a hash map indexed by path, but if a watcher for the same path (added there when this path was first unwatched) was already present in the map, the watcher wasn't added to it and not kept alive. Fix this by using a vector instead of a map. We obviously sacrifice quick access to it by path but at least this doesn't crash any more. And we could actually still use a map, just indexed by the (unique) pointer to the object stored inside wxSharedPtr itself, and not its path. But a vector might be a more efficient data structure in practice, if we keep it from becoming too big as we should try to do by triggering artificial port completions when a watch is removed. At any rate, at least the crash is fixed for now. Closes #15995.

2014-02-18 00:53 VZ, revision 75904

Allow waiting for thread termination even without wxTheApp in wxMSW. Attempts to wait for thread termination after wxTheApp was destroyed resulted in an error in wxMSW since 2.9.something whereas it used to work in 2.8 and also generally makes sense to be allowed. So do make this work again by falling back to the simple non-interruptible wait for thread if we don't have the application object any more. Closes #13391.

2014-02-18 00:53 VZ, revision 75903

Fix handling of wxTEXT_ATTR_EFFECT_SMALL_CAPITALS in wxRichTextFontPage. Due to a typo when copy-and-pasting code wrong control was being updated. It would be better to have a function updating the given control from the given flag, of course, but for now just fix the bug. Closes #15990.

2014-02-18 00:52 VZ, revision 75902

Fix fallback format index in wxPropertyGetter wxUIntProperty code. Don't crash by accessing an out of bands array element if the format string index had been set to an invalid value, just use the default (decimal) format in this case. Closes #15984.

2014-02-18 00:52 VZ, revision 75901

Use symbolic constants in wxPropertyGrid wxUIntProperty code. No real changes, just use symbolic constants instead of hard coded magical constants. The code is still difficult to understand but slightly better than before.

2014-02-18 00:52 VZ, revision 75900

Document wxTopLevelWindow::Restore(). This was never documented, probably because it's not actually very clear to understand what exactly does it do.

2014-02-17 20:13 SC, revision 75899

fixing nested modal sessions

2014-02-17 17:25 PC, revision 75898

avoid potential NULL pointer dereference, closes #15993

2014-02-17 17:25 PC, revision 75897

fix ordering of function parameters, closes #15985

2014-02-17 15:54 JS, revision 75896

Fixed floating object layout when there is only a short text string in the paragraph

2014-02-17 15:54 JS, revision 75895

Fixed floating object layout when there is only a short text string in the paragraph

2014-02-16 21:05 JS, revision 75894

Removed rounding that didn't work for negative numbers

2014-02-16 21:05 JS, revision 75893

Removed rounding that didn't work for negative numbers; added ability to hide "move object" controls

2014-02-16 12:41 JS, revision 75892

Compile fix

2014-02-15 19:14 PC, revision 75888

mimic wxMSW wxSetCursorEvent propagation behavior, closes #15801

2014-02-15 19:11 JS, revision 75887

Sizing fix in wxRichTextImage::LoadImageCache

2014-02-15 17:59 VS, revision 75886

OS X: fix startup sequence when restoring session on >=10.7. Make sure that OnInit() is called before MacReopenApp(). This is normally the case, but it is possible for it to be called as the first thing. This can happen when OS X restores running apps when starting a new user session. Apps that were hidden (dock only) when the previous session terminated are only restored in a limited, resources-saving way - the event loop is running, but didn't call anything in the app delegate yet. When the user clicks the icon, applicationShouldHandleReopen: is called, but we didn't call OnInit() yet. In this case, we shouldn't call MacReopenApp(), but should proceed with normal initialization.

2014-02-15 17:59 VS, revision 75885

OS X: fix startup sequence when restoring session on >=10.7. Make sure that OnInit() is called before MacReopenApp(). This is normally the case, but it is possible for it to be called as the first thing. This can happen when OS X restores running apps when starting a new user session. Apps that were hidden (dock only) when the previous session terminated are only restored in a limited, resources-saving way - the event loop is running, but didn't call anything in the app delegate yet. When the user clicks the icon, applicationShouldHandleReopen: is called, but we didn't call OnInit() yet. In this case, we shouldn't call MacReopenApp(), but should proceed with normal initialization.

2014-02-15 17:19 JS, revision 75884

Optimized wxRTC insertion and deletion when floating objects are present.

2014-02-13 17:47 PC, revision 75883

avoid setting negative window size, see #15976

2014-02-13 17:46 PC, revision 75882

avoid forcing a paint on a window with zero size, see #15976

2014-02-13 13:32 JS, revision 75881

Added ability to disable images in wxRTC for performance or image corruption reasons

2014-02-13 13:01 JS, revision 75880

Corrected wxTextBoxAttr::IsDefault() implementation

2014-02-13 13:00 JS, revision 75879

Corrected wxTextBoxAttr::IsDefault() implementation

2014-02-13 12:57 JS, revision 75878

Border drawing corrections

2014-02-13 12:47 JS, revision 75877

Fixed a bug that prevented floating objects from being updated correctly

2014-02-13 12:46 JS, revision 75876

Fixed a bug that prevented floating objects from being updated correctly

2014-02-12 14:15 VZ, revision 75875

Provide more detailed deprecation message for wxFont ctor. Be more clear about how should the code be changed. Closes #15972.

2014-02-10 18:32 PC, revision 75867

finish setting size before sending wxMoveEvent

2014-02-10 18:25 PC, revision 75866

remove stuff that is already done by gtk_window_set_transient_for()

2014-02-10 18:11 PC, revision 75865

generate wxMoveEvent from wxPopupWindow::DoSetSize()

2014-02-09 20:53 PC, revision 75864

add missing GTK3 implementations of GTKGetWindow()

2014-02-09 19:36 PC, revision 75863

emit signal by id instead of name

2014-02-09 19:15 PC, revision 75862

get non-default wxTextCtrl cursors working with GTK3

2014-02-09 17:49 PC, revision 75861

Use "state-flags-changed" signal with GTK3, deprecated "state-changed" is ignored.

2014-02-09 14:40 VZ, revision 75858

Extract private methods when generating documentation too. The only private methods appearing in interface/wx/*.h files are meant to be documented, so do extract them. This should fix wxThread::OnExit() not appearing in the generated documentation, for example.

2014-02-08 15:12 VZ, revision 75846

Fix wxToolBar size in wxMSW when not using icons. There were several problems when the toolbar style was toggled to not show icons, fix them by adding missing checks for wxTB_NOICONS style. Closes #13578.

2014-02-08 15:12 VZ, revision 75845

Fix build under OS X with --disable-xrc. Don't try to change the install names in non-existent (in this case) wxrc. Closes #15946.