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