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

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

Compilation fix for wxUniv/MSW in wxTLW code dealing with menus. The code used by WM_INITMENUPOPUP and WM_EXITMENULOOP handlers shouldn't be used in wxUniv build as it's not used there anyhow and doesn't even compile. Closes #16039.

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

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.

2014-03-03 16:27 VZ, revision 76074

Romanian translations update from Catalin for 3.0.1.

2014-03-03 15:21 VZ, revision 76073

Romanian translations update from Catalin.

2014-03-03 08:04 SC, revision 76072

cleanup, see #15600

2014-03-03 00:46 VZ, revision 76071

Update wxForum URL in documentation overview.

2014-03-03 00:40 VZ, revision 76070

Add a one liner script to show symbols exported from a DLL. This is useful to check if ABI wasn't accidentally broken between two micro wxMSW releases.

2014-03-03 00:40 VZ, revision 76069

Remove non-existent wx/cairo.h from MSVC{11,12} projects. This file resulted in never ending rebuilds of the core project as MSVS tried to recreate the missing dependency (and failed). See http://blogs.msdn.com/b/andrewarnottms/archive/2012/06/07/enable-c-and-javascript-project-system-tracing.aspx for help with debugging such problems in the future.

2014-03-03 00:40 VZ, revision 76068

Enable debug information in release configuration of MSVC{11,12} projects. We want to generate debug information even in the release builds of the libraries in order to allow debugging of the programs using them. This is especially important for the DLLs but do it for the static release build too for consistency. This also almost fixes the constant rebuilding of the entire solution which happened because the PDBs, supposed to be generated by linker, were not found because they were not actually created as the debug information wasn't there. See #15780.

2014-03-03 00:40 VZ, revision 76067

Add missing XRC handlers to the manual VC{11,12} projects. XRC handler in aui, ribbon and richtext libraries were omitted in the initial versions of the projects for some reason. See #15780.

2014-03-03 00:37 VZ, revision 76066

Remove non-existent wx/cairo.h from MSVC{11,12} projects. This file resulted in never ending rebuilds of the core project as MSVS tried to recreate the missing dependency (and failed). See http://blogs.msdn.com/b/andrewarnottms/archive/2012/06/07/enable-c-and-javascript-project-system-tracing.aspx for help with debugging such problems in the future.

2014-03-03 00:37 VZ, revision 76065

Enable debug information in release configuration of MSVC{11,12} projects. We want to generate debug information even in the release builds of the libraries in order to allow debugging of the programs using them. This is especially important for the DLLs but do it for the static release build too for consistency. This also almost fixes the constant rebuilding of the entire solution which happened because the PDBs, supposed to be generated by linker, were not found because they were not actually created as the debug information wasn't there. See #15780.

2014-03-03 00:37 VZ, revision 76064

Add missing XRC handlers to the manual VC{11,12} projects. XRC handler in aui, ribbon and richtext libraries were omitted in the initial versions of the projects for some reason. See #15780.

2014-03-02 22:55 PC, revision 76063

fix for wxMiniFrame titlebar appearing blank

2014-03-02 19:58 PC, revision 76062

for GTK3, draw odd-width lines as a sharp, n-pixel wide line, rather than a fuzzy n+1-pixel wide line

2014-03-02 19:58 VZ, revision 76061

Refactor YieldFor() to avoid code duplication among the ports. Don't repeat the same code in all the ports, move it to the common base class and add a new virtual DoYieldFor() for the really port-specific code.

2014-03-02 19:27 VZ, revision 76060

Don't dispatch pending events from selective YieldFor(). Pending events list can contain events from all kinds and dispatching them from YieldFor() called to dispatch the events of some particular kind only (e.g. to redraw the window) is unexpected and wrong, e.g. it breaks some uses of wxProgressDialog, see #15799.

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

Fix harmless signed/unsigned comparison warning in a test. Don't compare int with unsigned to avoid warnings that were introduced by the changes of r75936. See #15980.

2014-03-02 19:06 VZ, revision 76058

Fix harmless signed/unsigned comparison warning in a test. Don't compare int with unsigned to avoid warnings that were introduced by the changes of r75940. See #15980.

2014-03-02 17:07 VZ, revision 76057

Correct wrong version number in MSVC12 properties file. Use "30" in 3.0 branch.

2014-03-02 16:51 VZ, revision 76056

Fix off by 1 error in buffer size in wxOSX wxDropTarget code. The size of the buffer used for the data currently needs to include an extra byte for the trailing NUL. This is wrong, as it means that GetDataSize() and GetDataHere() behaviour is not consistent, but at least avoid overrunning the buffer for now. Also use wxCharBuffer instead of raw char array to make the code safer (both because it releases the memory automatically and because it also adds an extra byte for the trailing NUL automatically as well, making such bugs impossible). See #15914.

2014-03-02 16:51 VZ, revision 76055

Implement support for wxGA_VERTICAL style in wxOSX. Rotate the native control to make it look correct in vertical orientation. Closes #15682.

2014-03-02 16:51 VZ, revision 76054

Fix harmless signed/unsigned comparison warning in wxOSX wxJoystick. A better fix would probably be to make wxJoystick::GetNumberAxes() return an unsigned value.

2014-03-02 16:51 VZ, revision 76053

Remove redundant comparison of unsigned value with 0. This is always true and so is unnecessary.

2014-03-02 16:51 VZ, revision 76052

Really fix using install_name_tool with wxrc under OS X. Don't test for USE_XRC before it is set, correcting the wrong change of r75845. See #15946.

2014-03-02 16:51 VZ, revision 76051

Don't crash in wxOSX wxDataViewChoiceRenderer if selection was cancelled. Check for the index validity and ignore the value of -1 as it is passed if the selection in the popup was cancelled. Closes #16017.

2014-03-02 16:50 VZ, revision 76050

Fix off by 1 error in buffer size in wxOSX wxDropTarget code. The size of the buffer used for the data currently needs to include an extra byte for the trailing NUL. This is wrong, as it means that GetDataSize() and GetDataHere() behaviour is not consistent, but at least avoid overrunning the buffer for now. Also use wxCharBuffer instead of raw char array to make the code safer (both because it releases the memory automatically and because it also adds an extra byte for the trailing NUL automatically as well, making such bugs impossible). See #15914.

2014-03-02 16:50 VZ, revision 76049

Implement support for wxGA_VERTICAL style in wxOSX. Rotate the native control to make it look correct in vertical orientation. Closes #15682.

2014-03-02 16:50 VZ, revision 76048

Fix harmless signed/unsigned comparison warning in wxOSX wxJoystick. A better fix would probably be to make wxJoystick::GetNumberAxes() return an unsigned value.

2014-03-02 16:50 VZ, revision 76047

Remove redundant comparison of unsigned value with 0. This is always true and so is unnecessary.

2014-03-02 16:49 VZ, revision 76046

Really fix using install_name_tool with wxrc under OS X. Don't test for USE_XRC before it is set, correcting the wrong change of r75845. See #15946.

2014-03-02 16:49 VZ, revision 76045

Don't crash in wxOSX wxDataViewChoiceRenderer if selection was cancelled. Check for the index validity and ignore the value of -1 as it is passed if the selection in the popup was cancelled. Closes #16017.

2014-03-02 14:34 VZ, revision 76044

Fix setting the label for already existing menu items with bitmaps in wxMSW. Do update the label at Windows level if we don't use MF_OWNERDRAW style, checking for IsOwnerDrawn() is wrong because the flag it tests may be set even if the item is not really owner drawn from Windows point of view. This is a mess and setting the bitmap for the existing items is still broken, but at least setting the label works now. See #9388.

2014-03-02 14:34 VZ, revision 76043

Fix loading of top to bottom BMP files in wxMSW wxBitmap. The native LoadImage() function used by wxBMPFileHandler only supports the standard bottom to top BMPs, fall back to our own implementation in wxImage wxBMPHandler if it fails to also support the top to bottom ones. Closes #13650.

2014-03-02 14:22 VZ, revision 76042

Fix setting the label for already existing menu items with bitmaps in wxMSW. Do update the label at Windows level if we don't use MF_OWNERDRAW style, checking for IsOwnerDrawn() is wrong because the flag it tests may be set even if the item is not really owner drawn from Windows point of view. This is a mess and setting the bitmap for the existing items is still broken, but at least setting the label works now. See #9388.

2014-03-02 14:06 VZ, revision 76041

Fix loading of top to bottom BMP files in wxMSW wxBitmap. The native LoadImage() function used by wxBMPFileHandler only supports the standard bottom to top BMPs, fall back to our own implementation in wxImage wxBMPHandler if it fails to also support the top to bottom ones. Closes #13650.

2014-03-01 17:48 SC, revision 76036

using a lazy translation hash map for conversion between user friendly names and postscript names, so that we get only one warning per font family. The only way to completely get rid of this would be to pre-populate the map during startup which would mean to completely iterate through all installed fonts, so it's a compromise. see #15999

2014-03-01 00:40 VZ, revision 76035

Fix calculating the size of vertical toolbar in wxMSW. Use the width of the largest toolbar item as the toolbar width, not the width of the first one. The implicit assumption that all items had the same width was wrong and resulted in items wider than the first one being truncated. Closes #3788.

2014-03-01 00:39 VZ, revision 76034

Fix calculating the size of vertical toolbar in wxMSW. Use the width of the largest toolbar item as the toolbar width, not the width of the first one. The implicit assumption that all items had the same width was wrong and resulted in items wider than the first one being truncated. Closes #3788.

2014-02-28 23:35 VZ, revision 76033

Document possible problem with unbinding functors. Unbind() may currently disconnect the wrong functor as it compares them by address. See http://thread.gmane.org/gmane.comp.lib.wxwidgets.general/81445

2014-02-28 17:16 VS, revision 76032

Fix VarArgTestCase::ArgsValidation() after r76026.

2014-02-28 17:15 VS, revision 76031

Fix VarArgTestCase::ArgsValidation() after r76027.

2014-02-27 16:46 VZ, revision 76030

Allow passing NULL buffer to wx{,F}File::{Read,Write} when count==0. If the count of bytes to read or write is 0, the buffer pointer value shouldn't matter as it's not used at all anyhow, so relax the assert and allow it to be NULL in this case. Closes #16018.

2014-02-27 16:46 VZ, revision 76029

Fix Intel compiler warnings about hiding member variables. Rename method parameters to avoid conflicts with member variables names. Closes #15971.

2014-02-27 16:46 VZ, revision 76028

Don't build wxFileSystemWatcher test if wxUSE_FSWATCHER==0. Closes #16031.

2014-02-27 16:24 VS, revision 76027

Be more permissive when validating format string arguments. Previously, the code would assert if the caller passed too many arguments to wxPrintf() or other printf-like functions. But that can happen legitimately in translations: in some languages such as Hebrew, using "1" (i.e. "%d") in the singular feels unnatural and it's better to use the word "one" and left the variadic argument unused. Relax the check not to assert in this case. This is consistent with the standard library and other implementations. Notice that gettext's msgfmt doesn't complain about this case either in the specific case of singular forms.

2014-02-27 16:23 VS, revision 76026

Be more permissive when validating format string arguments. Previously, the code would assert if the caller passed too many arguments to wxPrintf() or other printf-like functions. But that can happen legitimately in translations: in some languages such as Hebrew, using "1" (i.e. "%d") in the singular feels unnatural and it's better to use the word "one" and left the variadic argument unused. Relax the check not to assert in this case. This is consistent with the standard library and other implementations. Notice that gettext's msgfmt doesn't complain about this case either in the specific case of singular forms.

2014-02-27 16:15 JS, revision 76025

Paragraph and image layout fixes

2014-02-27 16:14 JS, revision 76024

Paragraph layout fix

2014-02-27 11:07 JS, revision 76023

Correction for wxTextAttrCollectCommonAttributes

2014-02-27 11:03 JS, revision 76022

Corrections to attribute manipulation

2014-02-25 18:55 VS, revision 76017

Fix compilation with Xcode projects (type_traits). The changes to type_traits headers detection with Clang broke Clang use with the Xcode projects. Fix this by not setting HAVE_* macros in config_xcode.h for Clang and letting defs.h detect the features. See #15915.

2014-02-25 18:54 VS, revision 76016

Fix compilation with Xcode projects (type_traits). The changes to type_traits headers detection with Clang broke Clang use with the Xcode projects. Fix this by not setting HAVE_* macros in config_xcode.h for Clang and letting defs.h detect the features. See #15915.

2014-02-25 18:38 PC, revision 76015

Index: src/generic/graphicc.cpp =================================================================== --- src/generic/graphicc.cpp (revision 76007) +++ src/generic/graphicc.cpp (working copy) @@ -1569,12 +1569,13 @@ { const wxUint32 argb = *src++; - *alpha++ = (argb & 0xff000000) >> 24; + const unsigned char a = argb >> 24; + *alpha++ = a; // Copy the RGB data undoing the pre-multiplication. - *dst++ = Unpremultiply(*alpha, (argb & 0x00ff0000) >> 16); - *dst++ = Unpremultiply(*alpha, (argb & 0x0000ff00) >> 8); - *dst++ = Unpremultiply(*alpha, (argb & 0x000000ff)); + *dst++ = Unpremultiply(a, argb >> 16); + *dst++ = Unpremultiply(a, argb >> 8); + *dst++ = Unpremultiply(a, argb); } src = rowStart + stride;

2014-02-25 18:26 VZ, revision 76014

Fix wxGenericTreeCtrl::ScrollTo() for all ports, not just wxOSX. When scrolling down, make the item being scrolled into view completely visible instead of just showing its top part. The fix was already used for wxOSX but not for the other ports for some reason, do use it everywhere as this code is generic and behaves in the same way in all ports. Also fix the wrong comments about scrolling direction.

2014-02-25 18:26 VZ, revision 76013

Add a helper function to get the last tree item to the sample. This makes the behaviour of different menu commands working with the "last item" consistent as some of them used the last root child while others used the really last item (i.e. the last child of the last child). This should have been part of r75987.

2014-02-25 18:26 VZ, revision 76012

Fix font size when using wxGraphicsContext with wxPrinterDC in wxMSW. Use pixel size which is scaled correctly by GDI+ itself instead of the size in points which is currently not scaled correctly by wx. Closes #3566.

2014-02-25 18:26 VZ, revision 76011

Define wxUSE_BOOKCTRL as 1 if wxUSE_AUI==1. wxAuiNotebook needs wxBookCtrlBase. Closes #16025.

2014-02-25 18:26 VZ, revision 76010

Add missing semicolons to the example in wxThread documentation. wxDEFINE_EVENT() needs a semicolon after it. Closes #16026.

2014-02-25 18:26 VZ, revision 76009

Fix wxGenericTreeCtrl::ScrollTo() for all ports, not just wxOSX. When scrolling down, make the item being scrolled into view completely visible instead of just showing its top part. The fix was already used for wxOSX but not for the other ports for some reason, do use it everywhere as this code is generic and behaves in the same way in all ports. Also fix the wrong comments about scrolling direction.

2014-02-25 18:12 VZ, revision 76008

Fix font size when using wxGraphicsContext with wxPrinterDC in wxMSW. Use pixel size which is scaled correctly by GDI+ itself instead of the size in points which is currently not scaled correctly by wx. Closes #3566.

2014-02-24 21:55 VZ, revision 76007

Fix loading of bitmap with non-pre-multiplied alpha in wxMSW. Detect when the bitmap file doesn't have pre-multiplied alpha and pre-multiply it ourselves when loading it in this case. Closes #12762.

2014-02-24 21:54 VZ, revision 76006

Add helper Set32bppHDIB() method to wxMSW wxBitmapRefData. No real changes, just add a helper to allow replacing the HBITMAP stored in wxBitmapRefData without changing anything else, this is going to be used in another place soon. See #12762.

2014-02-24 21:54 VZ, revision 76005

Mention that wxAuiNotebook uses native theme under wxGTK. Closes #16021.

2014-02-24 21:54 VZ, revision 76004

Clarify that there is only a single TAB traversal implementation. Don't imply that wxPanel can use either native or generic TAB traversal implementation because this is not true. Closes #16020.

2014-02-24 21:54 VZ, revision 76003

Include wxEVT_AUINOTEBOOK_PAGE_XXX in the documented interface. This facilitates automatic language bindings generation. Closes #16019.

2014-02-24 20:31 VZ, revision 76002

Tamil translations update for 3.0.1 from DINAKAR T.D.

2014-02-24 20:31 VZ, revision 76001

Tamil translations update for 3.0.1 from DINAKAR T.D.

2014-02-24 15:47 VZ, revision 76000

Mention wxDD_DIR_MUST_EXIST support in wxGTK in the change log. Document the change of r75997, see #16002.

2014-02-24 09:17 SC, revision 75999

using old code for carbon only, new code for cocoa, fixing doubly apply flip of y axis

2014-02-24 09:10 SC, revision 75998

add fix for 32 bit builds, also when wx is drawing CGContextRef is always flipped

2014-02-24 07:44 PC, revision 75997

add support for wxDD_DIR_MUST_EXIST, closes #16002

2014-02-24 02:00 PC, revision 75996

native GTK3 implementation for DrawSash()

2014-02-23 20:14 SC, revision 75995

new DrawIcon implementation, turned off by default

2014-02-23 20:11 SC, revision 75994

adding NSImage support to wxIcon on OSX, as IconRefs are on their way out, and performance under 10.9 is suffering

2014-02-23 20:02 SC, revision 75993

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

2014-02-23 16:09 VZ, revision 75992

Swedish translations update for 3.0.1 from Jonas Rydberg.

2014-02-23 16:08 VZ, revision 75991

Swedish translations update for 3.0.1 from Jonas Rydberg.

2014-02-22 23:40 VZ, revision 75990

Always initialize values returned from wxGDDC::GetChar{Width,Height}(). Don't return garbage in case of error.

2014-02-22 23:40 VZ, revision 75989

Improve parameter validation in wxStream code. Replace wxASSERT_MSG()s with wxCHECK_MSG()s to ensure that we don't crash even if we are passed a NULL pointer, saying "Warning: Null pointer is about to be used" and crashing just isn't very useful in the grand scheme of things.

2014-02-22 23:39 VZ, revision 75988

Remove confusing delete from wxIdRangeManager dtor. The singleton dtor shouldn't delete the global singleton object, if this were ever really possible, it would result in an infinite recursion. And even though it was not (because ms_instance was reset to NULL before destroying the object pointed by it), this delete was still confusing and unnecessary, so remove it.

2014-02-22 23:39 VZ, revision 75987

Remove code maintaining last item from the treectrl sample. The code was buggy (e.g. it didn't update the last item correctly after executing "Append many items" menu command) and seems to be unnecessary.

2014-02-22 23:39 VZ, revision 75986

Fix harmless warnings about unused global variables. Don't define variables that we never use to fix clang warnings about them. See #15915.

2014-02-22 23:39 VZ, revision 75985

Fix Unix build using clang with g++ 4.8 headers. Don't override HAVE_TR1_TYPE_TRAITS detected by configure with HAVE_TYPE_TRAITS detected by clang __has_include() as the latter is less reliable and can return true even when the header is not actually usable, as it happens with g++ 4.8 <type_traits> in non C++11 mode. Closes #15915.

2014-02-22 23:39 VZ, revision 75984

Fix harmless warnings about unused global variables. Don't define variables that we never use to fix clang warnings about them. See #15915.

2014-02-22 23:38 VZ, revision 75983

Fix Unix build using clang with g++ 4.8 headers. Don't override HAVE_TR1_TYPE_TRAITS detected by configure with HAVE_TYPE_TRAITS detected by clang __has_include() as the latter is less reliable and can return true even when the header is not actually usable, as it happens with g++ 4.8 <type_traits> in non C++11 mode. Closes #15915.

2014-02-22 20:45 VZ, revision 75982

Use settings in wx_vcN_local.props files if they exist. Allow overriding the default build settings in local properties files for VC11 and VC12 builds. See #15780.

2014-02-22 18:26 VZ, revision 75981

Allow customizing bitmap handling in wxSVGFileDC. Provide a built-in alternative for using external files for the bitmaps in SVG: allow embedding them inside the SVG itself using "data:" URI. And also allow to define custom handlers to make the behaviour even more flexible. Closes #15968.

2014-02-22 15:54 VZ, revision 75980

Fix several rounding problems with float values in wxPropertyGrid. Loss of precision when converting floating point numbers to text and back could result in several problems, notably comparing a valid value with the minimum could fail after a round trip through wxSpinCtrl. Fix this by using a specialization of NumericValidation() handling floating point values specially and correctly. Closes #15625.

2014-02-22 15:54 VZ, revision 75979

Use symbolic attributes names in wxPropertyGrid code. No real changes, just use constants instead of hardcoding their values. See #15625.

2014-02-22 15:54 VZ, revision 75978

Allow retrieving wxPG_FLOAT_PRECISION and not just setting it. It was possible to call SetAttribute() to change this attribute value but not to get it back. Override DoGetAttribute() to also allow the latter. See #15625.

2014-02-22 15:54 VZ, revision 75977

Expose ScintillaWX DoDragEnter() and DoDragLeave() methods. These methods are needed to allow implementing alternative wxDropTargets, in addition to the already public DoDragOver(). Closes #16010.

2014-02-22 15:54 VZ, revision 75976

Document interaction of wxSplitterWindow gravity with initial size. Document the somewhat counter intuitive (but difficult to change) behaviour of the splitter when both sash position and gravity are set. See #15996.

2014-02-22 15:54 VZ, revision 75975

Fix memory leak when not finishing iteration started by wxFindFirstFile(). Memory allocated by wxFindFirstFile() was only freed when no more files could be found by wxFindNextFile(), resulting in a memory leak if the iteration was never finished. Closes #4631.

2014-02-22 15:14 VZ, revision 75974

Fix wxOSX compilation error after r75956. wxScopedArray::get() needs to be explicitly called to access the array contents as a pointer. Closes #16015.

2014-02-22 15:09 VZ, revision 75973

Chinese translations update for 3.0.1 from Jiawei Huang.

2014-02-22 15:09 VZ, revision 75972

Chinese translations update for 3.0.1 from Jiawei Huang.

2014-02-22 15:06 VZ, revision 75971

German translations update for 3.0.1 from Sebastian Walderich.

2014-02-22 15:06 VZ, revision 75970

German translations update for 3.0.1 from Sebastian Walderich.

2014-02-22 10:08 SC, revision 75969

backport of r75966, 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 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.