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-03-23 01:51 VZ, revision 76183

Fix toolbar repainting after deleting a tool in wxMSW. The toolbar was in an inconsistent state when recalculating the sizes of the separators used as placeholders for the controls and stretch spacers as the tool was already deleted from the native toolbar but still present in wx internal toolbar data and this resulted in discrepancies between the indices in the native and wx toolbars. Fix this by specially marking the already deleted but not yet removed tool and ignoring it during the recalculations. This makes the old, and only partially successful, attempt to work around this bug in DoDeleteTool() unnecessary and so the code is actually simplified by this change. Closes #16095.

2014-03-23 01:10 VZ, revision 76182

Fix wxFileSystemWatcher::RemoveAll() to actually work. We need to call DoRemove() on all watcher objects to really remove them, just removing our record of them was not enough and e.g. resulted in errors if we tried to re-add a previously watched path again. Closes #15531.

2014-03-23 01:10 VZ, revision 76181

Fix handling deletion of watched directory in MSW wxFileSystemWatcher. Don't log an incomprehensible error when the watched directory itself is deleted, but generate wxFSW_EVENT_DELETE for it. This is consistent with the behaviour under Unix and generally more useful. Closes #13294.

2014-03-23 01:10 VZ, revision 76180

Small refactoring in wxFileSystemWatcher MSW implementation. Make wxIOCPService::GetStatus() smarter about its return value, it makes sense to encapsulate the convention used to indicate the thread exit condition inside wxIOCPService class itself instead of sharing it between it wxIOCPThread itself. It will also make it easier to detect more detailed error conditions in this code.

2014-03-22 23:03 VZ, revision 76179

Handle normalization of directory names correctly in wxFileHistory. Don't use relative path for the directories, which can also be managed by wxFileHistory, because they don't have any and the old code resulted in showing an empty string for them.

2014-03-20 20:52 VZ, revision 76177

Put a __cplusplus guard around C++-specific tests in wx/defs.h. This avoids the warning about __cplusplus being undefined in the recently added wxOVERRIDE logic and make the existing wx_xxx_cast<>s definitions simpler.

2014-03-20 20:45 VZ, revision 76176

Mark some deprecated wxGrid methods as deprecated in the documentation. Point people to the new names of the deprecated methods. Closes #16103.

2014-03-20 20:45 VZ, revision 76175

Use Doxygen @deprecated tags for deprecated methods. Instead of just mentioning that the methods are deprecated in the documentation text, use the @deprecated tag for them to make it possible to detect it in documentation-processing tools too. Closes #16102.

2014-03-20 16:49 VZ, revision 76174

Remove configure test for override keyword. Detect its support in the code by testing __cplusplus value and using specific checks for MSVC and Clang as configure detects it as being available when using recent g++ versions in non-C++11 mode, which do support this keyword but warn when it is used without -std={gnu,c}++11 option, which makes actually using it a bad idea in this case.

2014-03-20 14:26 VZ, revision 76173

Add wxOVERRIDE and use it in common and wxOSX code. Make overriding virtual methods more explicit and enable additional checks provided by C++11 compilers when "override" is used. Closes #16100.

2014-03-20 14:26 VZ, revision 76172

Compilation fix in wchar_t build after r76171. Don't concatenate narrow wxLongLongFmtSpec with wide strings, just don't use wxT() at all. Closes #14685.

2014-03-19 23:57 VZ, revision 76171

Add wxInt64 support to wxText{Input,Output}Stream. Add explicit Read64[S]() and Write64() methods. Closes #14685.

2014-03-19 19:06 VZ, revision 76170

Use "virtual" keyword with overridden methods. No real changes, just make the code more clear by explicitly using "virtual". Closes #16097.

2014-03-19 19:01 VZ, revision 76169

Remove more unnecessary headers from drawing test. Don't include GUI headers in non-GUI code.

2014-03-19 18:59 VZ, revision 76168

Fix WX_ASSERT_SAME_AS_FILE() definition in the new drawing test. This macro should use AreFilesContentsEqual(), not AreImagesFilesContentsEqual(), used by WX_ASSERT_SAME_AS_IMAGE_FILE().

2014-03-18 21:12 VZ, revision 76166

Don't include apparently unnecessary headers in drawing test. wx/window.h shouldn't be needed in this non-GUI test.

2014-03-18 21:10 VZ, revision 76165

Remove redundant forward declaration of wxCursor from wx/window.h. We include wx/cursor.h from wx/window.h anyhow (and can't avoid it as we have a member of wxCursor type in wxWindowBase).

2014-03-18 20:31 VZ, revision 76164

Add a new test checking wxGraphicsContext implementation correctness. This test verifies that the output of wxGraphicsContext on the current system matches the pregenerated reference output.

2014-03-18 20:28 VZ, revision 76163

Include the individual headers that we really need instead.

2014-03-18 20:28 VZ, revision 76162

Don't include wx/dc.h from wx/graphics.h. This is not necessary and prevents compilation of this header in wxUSE_GUI=0 case.

2014-03-18 20:28 VZ, revision 76161

Don't include wx/cursor.h from wx/dc.h. This is simply not needed.

2014-03-18 18:23 VZ, revision 76160

Add font colour support to wxFontPickerCtrl. Currently this is only really implemented under Windows, just as the colour support in wxFontDialog, but make the API available under all platforms for consistency. Closes #11614.

2014-03-18 18:23 VZ, revision 76159

Use helper GetPickerWidget() function in wxFontPickerCtrl. No real changes, just use a helper function instead of an ugly M_PICKER macro. See #11614.

2014-03-18 18:08 VZ, revision 76158

Use "MultiProcessorCompilation" instead of explicit /MP in MSVS projects. Use the user-visible option instead of the command line option which is now hidden in the IDE. Closes #16093.

2014-03-18 18:07 VZ, revision 76157

Use "MultiProcessorCompilation" instead of explicit /MP in MSVS projects. Use the user-visible option instead of the command line option which is now hidden in the IDE. Closes #16093.

2014-03-18 15:21 VZ, revision 76156

Add margin to the right of the message in wxGenericProgressDialog. For some reason the border was used only on the left side but not on the right one, resulting in the ugly looking label flush to the right dialog border if it was long enough. Closes #16094.

2014-03-18 15:20 VZ, revision 76155

Add margin to the right of the message in wxGenericProgressDialog. For some reason the border was used only on the left side but not on the right one, resulting in the ugly looking label flush to the right dialog border if it was long enough. Closes #16094.

2014-03-18 10:14 JS, revision 76154

Improved calculation of spanning column widths.

2014-03-16 17:39 PC, revision 76153

update for GTK3

2014-03-16 14:05 VZ, revision 76152

Disable the use of new style wxDirDialog under Vista. IFileDialog-based dialog has a bug making it return a wrong path sometimes under Vista, disable its use there to avoid it. Closes #16005.

2014-03-16 14:05 VZ, revision 76151

Disable the use of new style wxDirDialog under Vista. IFileDialog-based dialog has a bug making it return a wrong path sometimes under Vista, disable its use there to avoid it. Closes #16005.

2014-03-15 20:34 PC, revision 76150

build fixes for wxUniversal

2014-03-15 19:44 PC, revision 76149

for GTK+ 3.6 and later, invalidate cached best size when GTK's style cache is updated, see #16088

2014-03-14 20:22 VZ, revision 76148

Fix showing of 32bpp bitmaps without alpha in wxMSW wxStaticBitmap. The native control doesn't make a secret copy of the image in this case (0RGB bitmap, i.e. 32bpp ARGB bitmap with all alpha values set to 0) and just shows the bitmap we assigned to it directly, so we must not delete it in this case, otherwise nothing is shown at all. Closes #16084.

2014-03-14 20:22 VZ, revision 76147

Also free internal handlers when wxMSW wxStaticBitmap is destroyed. r76142 fixed the resource leak when wxStaticBitmap image was replaced by another one but the leak still happened at the end, when the wxStaticBitmap was destroyed. Fix it there as well in the same way. Closes #16068.

2014-03-14 20:22 VZ, revision 76146

Fix recently introduced compilation error in wxUSE_PALETTE==0 build. Add missing "#if wxUSE_PALETTE" tests. Closes #16083.

2014-03-14 20:21 VZ, revision 76145

Also free internal handlers when wxMSW wxStaticBitmap is destroyed. r76141 fixed the resource leak when wxStaticBitmap image was replaced by another one but the leak still happened at the end, when the wxStaticBitmap was destroyed. Fix it there as well in the same way. Closes #16068.

2014-03-14 02:36 VZ, revision 76144

Add support for loading old V1 bitmap files to wxBMPHandler. Such files are apparently still seen in the wild, even though this format has been superseded since Windows 3.0 (!). Closes #3433.

2014-03-13 18:09 SC, revision 76143

adding 10.5 compatibility again

2014-03-13 17:20 VZ, revision 76142

Fix resource leak in wxMSW wxStaticBitmap when using RGBA icons. Release the old handle if it wasn't freed by STM_SETIMAGE itself. Closes #16068.

2014-03-13 17:19 VZ, revision 76141

Fix resource leak in wxMSW wxStaticBitmap when using RGBA icons. Release the old handle if it wasn't freed by STM_SETIMAGE itself. Closes #16068.

2014-03-13 17:17 VZ, revision 76140

Avoid unused variable warning in wxUSE_VALIDATORS==0 build. Closes #16076.

2014-03-13 17:15 VZ, revision 76139

Install wx/preferences.h and wx/testing.h in "make install". These headers were accidentally forgotten in files.bkl, add them there and rebake.

2014-03-13 17:12 VZ, revision 76138

Install wx/preferences.h and wx/testing.h in "make install". These headers were accidentally forgotten in files.bkl, add them there and rebake.

2014-03-13 14:03 VZ, revision 76137

Compilation fix to wxScopedArray use. The ctor taking the number of elements doesn't exist in 3.0, don't use it to fix compilation after the changes of r76124.

2014-03-13 00:04 VZ, revision 76136

Use wxScopedXXX<> instead of explicit memory management in wxBMPHandler. Make the code simpler and ensure there are no memory leaks in it.

2014-03-13 00:04 VZ, revision 76135

No changes, just use properly const variable in wxBMPHandler code. Initialize "data" pointer consistently with "alpha".

2014-03-13 00:04 VZ, revision 76134

Add support for saving 32bpp icons too. Save in 32bpp format if alpha channel is present in the image being saved in ICO format. See #15918.

2014-03-13 00:04 VZ, revision 76133

Allow saving 24 bpp ICO file in wxImage. Create ICO files with 24bpp if the image being saved contains more than 256 colours. Also use smaller values (4 bpp or monochrome) if the image uses fewer colours. See #15918.

2014-03-13 00:04 VZ, revision 76132

Add support for saving 256*256 ICOs in PNG format. Allow saving icons larger than 127*127 pixels (up to 256*256 which is the maximal size supported by the ICO format) and save large icons with the item data in PNG format, as it is normally done for these sizes. See #15918.

2014-03-13 00:04 VZ, revision 76131

Add support for loading icons in PNG format to wxImage. ICO files can contain data in PNG, as well as BMP, format in recent (i.e. from this millennium) versions of Windows, so check for this case in wxICOHandler and load such data using wxPNGHandler. See #15918.

2014-03-13 00:04 VZ, revision 76130

Handle verbosity correctly in wxICOHandler loading code. Pass on the "verbose" argument to LoadDib() function instead of always being verbose in it. Also remove the unused IsBmp variable. See #15918.

2014-03-13 00:04 VZ, revision 76129

Allow loading icons of width 256 from ICO files. Account for the tweak of ICO file format which uses 0 if the width is 256. See #15918.

2014-03-13 00:03 VZ, revision 76128

Fix possible memory leak in wxICOHandler loading code. Use wxScopedArray<> instead of a raw pointer to ensure that the memory is always freed, even in case of error return. See #15918.

2014-03-12 23:54 VZ, revision 76127

Add support for loading icons in PNG format to wxImage. ICO files can contain data in PNG, as well as BMP, format in recent (i.e. from this millennium) versions of Windows, so check for this case in wxICOHandler and load such data using wxPNGHandler. See #15918.

2014-03-12 23:54 VZ, revision 76126

Handle verbosity correctly in wxICOHandler loading code. Pass on the "verbose" argument to LoadDib() function instead of always being verbose in it. Also remove the unused IsBmp variable. See #15918.

2014-03-12 23:54 VZ, revision 76125

Allow loading icons of width 256 from ICO files. Account for the tweak of ICO file format which uses 0 if the width is 256. See #15918.

2014-03-12 23:54 VZ, revision 76124

Fix possible memory leak in wxICOHandler loading code. Use wxScopedArray<> instead of a raw pointer to ensure that the memory is always freed, even in case of error return. See #15918.

2014-03-12 23:20 VZ, revision 76123

Reset the system last error value before checking it in wxLog test. Explicitly set the last error indicator to 0 before checking that wxLogSysError() logs it correctly as it wasn't always set to 0 otherwise.

2014-03-12 17:02 VZ, revision 76122

Update the version string in manually managed VC11 project files. Use "31", not "30".

2014-03-12 14:23 VZ, revision 76121

Upgrade included Scintilla to version 3.3.9. Closes #15742.

2014-03-11 21:48 VZ, revision 76120

Add wxFont::GetBaseFont(). This can be used to "undo" the result of Bold() ,Underlined() or Italic() methods and returns an unadorned version of the font. Closes #11815.

2014-03-11 21:48 VZ, revision 76119

Remove unnecessarily overridden methods from wxToggleButtonBase. These methods already do exactly the same thing in the base wxAnyButton class, there is no need to override them again.

2014-03-11 21:48 VZ, revision 76118

No changes, just fix typos in my own name ("Zeitlin").

2014-03-11 17:04 VZ, revision 76117

Add wxEnhMetaFile::Detach(). Allow getting the handle from this class, this is useful if it needs to be passed to some other library, for example. Closes #15706.

2014-03-11 17:04 VZ, revision 76116

Correct wxThread::SetPriority() under Unix to hopefully work. The old implementation was completely broken, the new should hopefully work if pthread_setschedparam() behaviour really corresponds to its documentation. Mapping of our priorities in 0..100 range to pthread 1..99 range remains ugly but this seems to be unavoidable, unfortunately. Closes #14985.

2014-03-11 17:04 VZ, revision 76115

Fix accelerators in appended submenu items in wxGTK. They were not previously taken into account because we didn't call gtk_widget_add_accelerator() on the right GtkAccelGroup. Closes #16050.

2014-03-11 17:04 VZ, revision 76114

Add wxDynamicLibrary::GetModuleFromAddress(). Use dladdr() under Unix, if available, to provide the same functionality as we get from GetModuleHandleEx() under MSW and export it in a new public function. Closes #15248.

2014-03-11 16:20 VZ, revision 76113

Fix accelerators in appended submenu items in wxGTK. They were not previously taken into account because we didn't call gtk_widget_add_accelerator() on the right GtkAccelGroup. Closes #16050.

2014-03-10 20:05 VZ, revision 76111

Do run TextStreamTestCase::TestULongLong() test case. We ran TestLongLong test case twice because of an accidental typo.

2014-03-10 12:08 JS, revision 76110

Added on-demand image loading option to wxRTC.

2014-03-09 21:58 VZ, revision 76109

Fix size calculation for multi-column vertical toolbars in wxMSW. The width was calculated incorrectly in this case as we simply multiplied the width of the widest column by their number in this case, but actually each of them has its own width which needs to be calculated separately. See #13579.

2014-03-09 21:58 VZ, revision 76108

Fix background painting of multi-row toolbars in wxMSW. The item rectangle used wrong vertical coordinates which didn't matter (much?) for the single row toolbars but was completely wrong for toolbars with more than one row. Don't always anchor the rectangle at the window top to avoid this. See #13579.

2014-03-09 21:58 VZ, revision 76107

Disable stretchable spaces in multi-row toolbars in wxMSW. Stretchable separators simply don't work correctly when the space they are supposed to stretch onto is distributed across several different toolbar rows or columns, so just disable them for multi-row (or column, for vertical toolbars) case. See #13579.

2014-03-09 21:56 VZ, revision 76106

Fix size calculation for multi-column vertical toolbars in wxMSW. The width was calculated incorrectly in this case as we simply multiplied the width of the widest column by their number in this case, but actually each of them has its own width which needs to be calculated separately. See #13579.

2014-03-09 21:55 VZ, revision 76105

Fix background painting of multi-row toolbars in wxMSW. The item rectangle used wrong vertical coordinates which didn't matter (much?) for the single row toolbars but was completely wrong for toolbars with more than one row. Don't always anchor the rectangle at the window top to avoid this. See #13579.

2014-03-09 21:55 VZ, revision 76104

Disable stretchable spaces in multi-row toolbars in wxMSW. Stretchable separators simply don't work correctly when the space they are supposed to stretch onto is distributed across several different toolbar rows or columns, so just disable them for multi-row (or column, for vertical toolbars) case. See #13579.

2014-03-09 17:54 TIK, revision 76103

Don't assert if no keyboard has been found in wxGetKeyState(). Sometimes there really is no keyboard plugged in.

2014-03-09 17:51 TIK, revision 76102

wxBitmap::GetMask() asserts on invalid bitmap. Check for valid bitmap before calling GetMask().

2014-03-09 15:05 VZ, revision 76101

Make Move{Before,After}InTabOrder() work at any time in wxGTK. These functions only worked if called at the beginning, before showing the parent window containing the children whose TAB order was being adjusted, because it didn't refresh the GTK+ TAB order on the correct window: we need to do it for the parent of the window being moved, not this window itself. Closes #16032.

2014-03-09 15:03 VZ, revision 76100

Make Move{Before,After}InTabOrder() work at any time in wxGTK. These functions only worked if called at the beginning, before showing the parent window containing the children whose TAB order was being adjusted, because it didn't refresh the GTK+ TAB order on the correct window: we need to do it for the parent of the window being moved, not this window itself. Closes #16032.

2014-03-08 15:34 VZ, revision 76099

Fix handling of controls in vertical toolbars in wxMSW. Not adding the controls to vertical toolbar is not enough, we also need to hide them to prevent them from being shown as independent floating windows. And we also need to add separators instead of the controls themselves to keep the indices the same as in the horizontal case. Closes #11821.

2014-03-08 15:33 VZ, revision 76098

Fix handling of controls in vertical toolbars in wxMSW. Not adding the controls to vertical toolbar is not enough, we also need to hide them to prevent them from being shown as independent floating windows. And we also need to add separators instead of the controls themselves to keep the indices the same as in the horizontal case. Closes #11821.

2014-03-08 14:39 VZ, revision 76097

Fix handling of Esc while an auto-complete drop down is open in wxMSW. Just close the drop down instead of closing the dialog the text control using this auto-complete drop down is in, as this was completely unexpected and counter-intuitive. Closes #13945.

2014-03-08 14:39 VZ, revision 76096

Fix handling of Esc while an auto-complete drop down is open in wxMSW. Just close the drop down instead of closing the dialog the text control using this auto-complete drop down is in, as this was completely unexpected and counter-intuitive. Closes #13945.

2014-03-07 19:43 PC, revision 76095

fix memory leak in SetFont with GTK3

2014-03-07 14:17 VZ, revision 76094

Skip mouse button release events in wxGenericTreeCtrl. Not doing this prevented the default handling from taking place resulting in internal confusion in GtkNotebook when wxTreeCtrl was placed inside it: the code there set the button being held by user in its mouse press event handler and reset it in its mouse release event handler which was never called because we didn't skip the event, resulting in ignoring the next mouse press in the notebook. Closes #16055.

2014-03-07 14:16 VZ, revision 76093

Skip mouse button release events in wxGenericTreeCtrl. Not doing this prevented the default handling from taking place resulting in internal confusion in GtkNotebook when wxTreeCtrl was placed inside it: the code there set the button being held by user in its mouse press event handler and reset it in its mouse release event handler which was never called because we didn't skip the event, resulting in ignoring the next mouse press in the notebook. Closes #16055.

2014-03-07 02:19 VZ, revision 76092

Make stretchable spacers work in vertical toolbars too in wxMSW. Replace the old implementation of stretchable spacers based on changing the size of the separators used as spacers as the toolbar size itself changed with a new one, simply replacing the old separator with the new one of the correct size, as it also works for the vertical toolbars, unlike the old approach. Closes #13673.

2014-03-07 02:19 VZ, revision 76091

Document Insert() and Prepend() overloads taking wxMenu. Document these methods in addition to AppendSubMenu(). Closes #16052.

2014-03-07 01:58 VZ, revision 76090

Document Insert() and Prepend() overloads taking wxMenu. Document these methods in addition to AppendSubMenu(). Closes #16052.

2014-03-06 14:53 VZ, revision 76089

Update the URL of the web site images used in the test. The old images don't exist any more after web site redesign. Also, the new favicon can't be loaded from an unseekable stream because it contains multiple icons, so point to the old favicon instead. Closes #16049.

2014-03-06 14:49 VZ, revision 76088

Update the URL of the web site images used in the test. The old images don't exist any more after web site redesign. Also, the new favicon can't be loaded from an unseekable stream because it contains multiple icons, so point to the old favicon instead. Closes #16049.

2014-03-05 17:29 VZ, revision 76085

Add wxFD_NO_FOLLOW style for wxFileDialog. This style tells the dialog to return the paths of the link being selected without dereferencing it. Currently only implemented under wxMSW as the links are not dereferenced by default in wxGTK anyhow. But we may want to change this and implement it there too for consistency in the future. Closes #15429.

2014-03-05 17:29 VZ, revision 76084

Another compilation fix for wxUniv/MSW build. This should have been part of r76077, see #16039.

2014-03-05 00:57 VZ, revision 76082

Fix initializing bitmaps from DIB in wxMSW code. Don't call wxDIB::CreatePalette() on an invalid (because its handle had been detached from it) DIB object. Also add some comments to explain this code a bit better. Closes #16045.

2014-03-05 00:57 VZ, revision 76081

Fix initializing bitmaps from DIB in wxMSW code. Don't call wxDIB::CreatePalette() on an invalid (because its handle had been detached from it) DIB object. Also add some comments to explain this code a bit better. Closes #16045.

2014-03-04 15:20 VZ, revision 76080

Fix bug in vertical toolbar size calculation in wxMSW. Correct the changes of the r76035 to avoid using separators when calculating the fitting width of the vertical toolbars as this doesn't always work correctly. Closes #3788.

2014-03-04 15:17 VZ, revision 76079

Fix bug in vertical toolbar size calculation in wxMSW. Correct the changes of the r76034 to avoid using separators when calculating the fitting width of the vertical toolbars as this doesn't always work correctly. Closes #3788.

2014-03-04 15:07 VZ, revision 76078

Don't accept data in unsupported format in wxMSW dnd code. We wrongly pretended to accept the data in formats which we didn't actually accept and showed misleading cursors to the user. Fix this by partially reverting some of the changes of r72668 (see #14697). Closes #16042.