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-01-25 18:39 VZ, revision 75711

Don't leave dandling pointers in wxDataViewCtrl in wxOSX. The previous m_ModelNotifier became invalid but wasn't always replaced with a valid one, resulting in a crash due to the use of an invalid pointer. Closes #15910.

2014-01-25 18:39 VZ, revision 75710

Delete the button object in wxRibbonButtonBar::DeleteButton(). Unlike ClearButtons(), DeleteButton() didn't actually delete the button. Fix this and document this behaviour. Closes #15909.

2014-01-25 18:38 VS, revision 75709

Fix improper NSGraphicsContext handling in wxOSXCreateBitmapContextFromNSImage. Don't leave currentContext set to the temporary context indefinitely, but restore the previous one when done. It's apparent from the code that this is how it was meant to be done. Not doing this can result in strange, insanely hard to debug errors in completely unrelated places, because OS X (at least < 10.9) reuses a pool of contexts. For example, this change fixes Quicklook crashes in file open panel on 10.8. For detailed explanation, see the lengthy discussion at https://code.google.com/p/chromium/issues/detail?id=90140

2014-01-25 18:38 VS, revision 75708

Fix improper NSGraphicsContext handling in wxOSXCreateBitmapContextFromNSImage. Don't leave currentContext set to the temporary context indefinitely, but restore the previous one when done. It's apparent from the code that this is how it was meant to be done. Not doing this can result in strange, insanely hard to debug errors in completely unrelated places, because OS X (at least < 10.9) reuses a pool of contexts. For example, this change fixes Quicklook crashes in file open panel on 10.8. For detailed explanation, see the lengthy discussion at https://code.google.com/p/chromium/issues/detail?id=90140

2014-01-25 18:28 VZ, revision 75707

Don't leave dandling pointers in wxDataViewCtrl in wxOSX. The previous m_ModelNotifier became invalid but wasn't always replaced with a valid one, resulting in a crash due to the use of an invalid pointer. Closes #15910.

2014-01-24 22:08 SC, revision 75700

backport, fixes memory leak

2014-01-24 22:07 SC, revision 75699

backport, fixes normalization

2014-01-24 21:27 SC, revision 75698

make things work as advertised

2014-01-24 20:55 SC, revision 75697

fixing memory leak

2014-01-24 19:29 PC, revision 75696

fix GetBordersForSizer(), closes #15872

2014-01-23 22:02 JS, revision 75693

Added an optimisation when the control is frozen

2014-01-23 22:01 JS, revision 75692

Added an optimisation when the control is frozen

2014-01-23 19:37 PC, revision 75691

remove some debugging code inadvertently checked in as part of r75690

2014-01-23 19:27 PC, revision 75690

Fix cursor inheritance and busy cursor/global cursor, closes #15801

2014-01-23 06:54 PC, revision 75689

use the more appropriate letter 'h' for height

2014-01-23 06:47 PC, revision 75688

fix a couple GTK assertions about setting negative sizes, closes #15891

2014-01-23 05:46 PC, revision 75687

fix wxPopupTransientWindow mouse events with GTK3, also fixes wxOwnerDrawnComboBox, wxDatePickerCtrl. closes #15874

2014-01-23 01:18 RD, revision 75676

Add missing joystick methods

2014-01-23 01:17 RD, revision 75675

add SetRGB overload

2014-01-23 01:17 RD, revision 75674

Add missing joystick methods

2014-01-23 01:16 RD, revision 75673

add SetRGB overload

2014-01-22 14:10 VZ, revision 75672

Russian translations update from Dmitry Levichev.

2014-01-22 14:10 VZ, revision 75671

Russian translations update from Dmitry Levichev.

2014-01-22 05:14 PC, revision 75670

restrict fix from r75668 to GTK3 only, as it might cause flickering

2014-01-21 22:46 VZ, revision 75669

Remove unnecessary CommandStateChangeConstants enum redeclaration. This declaration conflicted with the one in the latest MinGW-W64 headers and wasn't needed anyhow as we don't use neither the enum itself nor its members in our code, so just remove it to fix the build in 64 bits with MinGW-W64 4.8.

2014-01-21 20:37 PC, revision 75668

Fix best size calculation with GTK3 GTK3 reports preferred size of hidden widgets as zero. see #15896

2014-01-21 20:32 VZ, revision 75667

Move deprecated wxFont ctor implementation out of line. Blind fix to avoid strange warnings given by OS X build slave about the ctor being deprecated when it's defined, not used.

2014-01-21 20:32 VZ, revision 75666

Add a virtual dtor to wxEventLoopSourcesManagerBase to avoid g++ warnings. This virtual dtor is not really needed as manager objects are static singletons and are not destroyed via their pointer, but add a virtual dtor just to avoid g++ warnings about its absence.

2014-01-21 19:39 VZ, revision 75665

Send events when toggling wxPropertyGrid nodes from keyboard. Closes #15899.

2014-01-21 19:39 VZ, revision 75664

Draw the selected bitmap correctly in wxMSW buttons. Clear the previously drawn bitmap before drawing the new one. Closes #12550.

2014-01-21 19:39 VZ, revision 75663

Avoid selecting invalid tab when removing last page from wxOSX wxNotebook. Closes #15897.

2014-01-20 15:45 VZ, revision 75662

Remove unnecessary redundant assignments. Don't assign values consecutively to the same variable without using it in between the assignments, this is useless. See #15893.

2014-01-20 15:45 VZ, revision 75661

Remove redundant checks from conditional statements. It is not necessary to test for the condition which is already known to be true or false because the code is inside the if statement checking it. See #15893.

2014-01-20 15:45 VZ, revision 75660

Correct wrong error handler in wxDialUpManagerMSW code. Forgot to set the success flag to false if thread creation failed. See #15893.

2014-01-20 15:45 VZ, revision 75659

Don't pass input parameter by non-const reference unnecessarily. This is confusing. See #15893.

2014-01-20 15:45 VZ, revision 75658

Don't pass ID to wxWindow::LoadNativeDialog() by reference. This is completely unnecessary and confusing. See #15893.

2014-01-20 15:45 VZ, revision 75657

Pass non-primitive types by const reference instead of value. No real changes, just avoid the unnecessary copying and also make the signatures more consistent by adding the apparently forgotten "&" in a couple of places. See #15893.

2014-01-20 15:44 VZ, revision 75656

Fix exit on last TLW logic after the change of r75633. The changes in this revision meant to prevent the closure of transient dialogs from quitting the application (see #15880) prevented any application using AUI, including the aui sample, from exiting as the AUI utility frames deleted during the main frame destruction were returning false from their IsLastBeforeExit() now. Fix this by relaxing the check and ignoring the parent if it is already being deleted anyhow -- in this case there is no danger of closing it accidentally. Closes #15894.

2014-01-20 15:44 VZ, revision 75655

Deal correctly with non-ASCII hostnames in wxGetFullHostName() in wxMSW. Somewhat surprisingly, Windows can return a non-ASCII string from gethostname(). It's not really clear what happens if the host name is not representable in the current locale encoding at all, but at least make the function work in case it is. Closes #15875.

2014-01-20 15:44 VZ, revision 75654

Ensure wxChoice reported width never becomes negative in wxMSW. Don't set the pending size to (-1, valid-height) as it is always supposed to be either fully valid or fully invalid (meaning there is no pending size change). Closes #15723.

2014-01-19 20:03 VZ, revision 75653

Work around g++ warning about comparing compatibility_iterator with NULL. Use double negation to placate both it and MSVC, see r75445.

2014-01-19 15:14 VZ, revision 75652

Use wxUSE_WXDIB in preprocessor tests. NEVER_USE_DIB is meant to be used only in conjunction with {SOMETIMES,ALWAYS}_USE_DIB constants, use wxUSE_WXDIB elsewhere. This is more logical and also fixes inadvertent use of NEVER_USE_DIB before it is defined added by the changes of r75648. See #13328.

2014-01-19 15:14 VZ, revision 75651

Exclude wxMSW-specific code from compilation under other platforms. Compilation fix after r75648, see #13328.

2014-01-19 14:16 VZ, revision 75650

Improve appearance of tools using bitmaps with alpha in wxMSW wxToolBar. Use alpha in the combined toolbar bitmap if any of its tools has a bitmap using alpha. This greatly improves the appearance of the automatically generated disabled images for the tools with bitmaps using alpha. See #15876.

2014-01-19 14:15 VZ, revision 75649

Fix appearance of tools with alpha bitmaps in wxMSW wxToolBar. Recent changes broke the handling of tools with alpha bitmaps as drawing them on the global toolbar bitmap changes its underlying HBITMAP now, but the code in wxToolBar didn't expect this. Fix it by updating the HBITMAP used after every DrawBitmap() call, just in case it changed (it doesn't cost anything to reset it if it did not). Closes #15876.

2014-01-19 14:15 VZ, revision 75648

Fix alpha channel values when using wxGCDC with wxMemoryDC in wxMSW. Ensure that 32bpp bitmaps selected in wxMemoryDC use DIB for their internal representation as GDI+ functions don't seem to work correctly with DDBs with alpha channel. Closes #13328.

2014-01-19 14:15 VZ, revision 75647

Use AssocQueryString() instead of manual accessing registry in wxMSW. AssocQueryString() is more reliable and should work under all Windows versions, including Windows 8 for which our previous implementation, reading the values directly from the registry, had some problems.

2014-01-19 14:15 VZ, revision 75646

Restore correct handling of wxDocument::OnCreate() error return value. The changes of r74515 didn't quite restore the old behaviour, the document was still not being cleaned up if its OnCreate() simply returned false and not threw an exception. Do add cleanup in this code branch too, just duplicating what we in case of exception (this duplication can't be easily avoided unfortunately). Closes #15883.

2014-01-19 14:15 VZ, revision 75645

Focus generic spin control when its spin button is pressed. This is consistent with the behaviour of the native control under MSW and GTK and generally makes sense as otherwise focus could remain on a completely unrelated control. Closes #15885.

2014-01-19 13:58 VZ, revision 75644

Fix setting fonts and colours for wxToggleButton with bitmaps in wxGTK. Apply the fixes of r54138 to wxToggleButton too, the problem of #3939 was not specific to just plain wxButtons.

2014-01-19 13:57 VZ, revision 75643

Fix setting fonts and colours for wxToggleButton with bitmaps in wxGTK. Apply the fixes of r54138 to wxToggleButton too, the problem of #3939 was not specific to just plain wxButtons.

2014-01-19 12:44 VZ, revision 75642

Fix possible crash in TAR header parsing code. Check that the iterator is valid before using its value, otherwise the validity check was useless. Closes #15888.

2014-01-19 12:39 VZ, revision 75641

Fix possible crash in TAR header parsing code. Check that the iterator is valid before using its value, otherwise the validity check was useless. Closes #15888.

2014-01-17 19:56 VZ, revision 75640

Override Do{Freeze,Thaw}() instead of {Freeze,Thaw}() in wxPropGrid code. {Freeze,Thaw}() themselves are not virtual any more, so overriding them doesn't really work and it is unnecessary to reimplement the reference counting already done by the base class anyhow, so override the DoXXX() versions instead. Closes #15877.

2014-01-17 17:50 PC, revision 75639

avoid crash with GTK3 when deleting an item, closes #15786

2014-01-17 15:33 VZ, revision 75638

Fix wrong variable name in the example in wxVariantDataSafeArray documentation. Closes #15882.

2014-01-17 15:32 VZ, revision 75637

Compilation fix for the example in wxThread documentation. Make MyThread a friend to allow it accessing the private fields of MyFrame. Notice that this example still remains badly written and should be ideally entirely redone using conditions and mutexes. See #15881.

2014-01-17 15:32 VZ, revision 75636

Fix syntax error in the QueueEvent() documentation example. Use ".", not "->", on the object. Closes #15881.

2014-01-16 22:45 VZ, revision 75635

wxWindow::SetWindowVariant() does do something under ports other than wxOSX. Document that this function adjusts the window font size under non-OS X systems and explain why it should still be used instead of changing the font size directly.

2014-01-16 22:44 VZ, revision 75634

Ensure that the help viewer keeps running as long as its main frame is opened. Do prevent the app from exiting when the help frame is shown in the special case of the help viewer application where the default behaviour of exiting the application when only the help window remains open is inappropriate and results in unexpected program exit if we open and then close any dialog, e.g. from the help frame toolbar. Even though the previous commit actually already fixed the problem in the current code, still apply this fix as well, just in case we can (or could, in the future) should any dialogs with NULL parent in this program. Closes #15880.

2014-01-16 22:44 VZ, revision 75633

Avoid automatically closing parent frame if a child dialog was closed. This counterintuitive behaviour could happen when a dialog of a frame returning false from its ShouldPreventAppExit() was closed: if there were no other TLWs in the application, then the parent frame could be closed as well, even if this clearly shouldn't happen. See #15880.

2014-01-16 22:41 VZ, revision 75632

wxWindow::SetWindowVariant() does do something under ports other than wxOSX. Document that this function adjusts the window font size under non-OS X systems and explain why it should still be used instead of changing the font size directly.

2014-01-16 22:33 VZ, revision 75631

Ensure that the help viewer keeps running as long as its main frame is opened. Do prevent the app from exiting when the help frame is shown in the special case of the help viewer application where the default behaviour of exiting the application when only the help window remains open is inappropriate and results in unexpected program exit if we open and then close any dialog, e.g. from the help frame toolbar. Even though the previous commit actually already fixed the problem in the current code, still apply this fix as well, just in case we can (or could, in the future) should any dialogs with NULL parent in this program. Closes #15880.

2014-01-16 22:33 VZ, revision 75630

Avoid automatically closing parent frame if a child dialog was closed. This counterintuitive behaviour could happen when a dialog of a frame returning false from its ShouldPreventAppExit() was closed: if there were no other TLWs in the application, then the parent frame could be closed as well, even if this clearly shouldn't happen. See #15880.

2014-01-14 06:36 RD, revision 75625

Add missing GetControl and SetControl methods

2014-01-14 06:36 RD, revision 75624

add missing GetVeto method

2014-01-14 06:35 RD, revision 75623

Add missing GetControl and SetControl methods

2014-01-14 06:35 RD, revision 75622

add missing GetVeto method

2014-01-13 14:38 VZ, revision 75608

Document wxWindow::FindWindow() TLW skipping behaviour. Explicitly mention that TLW "children" are not searched by this function (which is the case since r74721).

2014-01-13 14:38 VZ, revision 75607

Document incompatible change to wxWindow::FindWindow() in 3.0. We now skip the TLW children in this method, see r74721. Also explicitly mention that TLW "children" are not searched by this function in the documentation.

2014-01-12 15:13 VZ, revision 75606

Support file associations using "show" verb under MSW too. If we failed to find the "open" command, try the "show" one as some programs (notable Microsoft viewers for Office file formats) only define the latter but not the former. Closes #15821.

2014-01-12 15:13 VZ, revision 75605

Support file associations using "show" verb under MSW too. If we failed to find the "open" command, try the "show" one as some programs (notable Microsoft viewers for Office file formats) only define the latter but not the former. Closes #15821.

2014-01-11 15:25 VZ, revision 75590

Don't use deprecated wxBOLD, wxNORMAL and similar constants. Replace them with wxFONTWEIGHT_BOLD, wxFONTSTYLE_NORMAL or wxFONTWEIGHT_NORMAL and equivalents in the code of the library itself and in the samples. Also simplify font construction using wxFontInfo where possible to avoid specifying these constants at all if they are not needed.

2014-01-11 15:25 VZ, revision 75589

Remove commented out line from the dnd sample. No real changes, just remove the unnecessary line and its outdated comment (wxPaintDC::Clear() can be called in wxGTK, it's just not useful).

2014-01-11 15:24 VZ, revision 75588

wxBitmap with cleared alpha channel doesn't keep its alpha flag any more. Explicitly reset wxBitmap alpha flag after clearing its alpha channel to ensure that we don't treat it as having alpha after going to all the trouble of ensuring that it doesn't/ See #14403.

2014-01-11 03:52 VZ, revision 75587

Rename wxLANGUAGE_CAMBODIAN to wxLANGUAGE_KHMER. Keep the old name for compatibility. See https://github.com/wxWidgets/wxWidgets/pull/2

2014-01-11 03:52 VZ, revision 75586

No real changes, just fix a typo in a comment. z/preffered/preferred/

2014-01-10 15:18 VZ, revision 75585

Allow building wxGTK using GTK+3 under Windows too. No real changes, just use the right libraries for GTK+3 port. Closes #15871.

2014-01-10 06:15 RD, revision 75579

Add doc for wxFlexGridSizer::GetRowHeights and GetColWidths

2014-01-10 06:14 RD, revision 75578

Add doc for wxFlexGridSizer::GetRowHeights and GetColWidths

2014-01-08 16:56 JJ, revision 75572

Fix compilation on OpenVMS id the logical CONFIG is defined

2014-01-08 01:38 VZ, revision 75571

Disable wxUSE_PREFERENCES_EDITOR in correct place in wxiOS. wx/osx/setup0.h is auto-generated, so r74708 shouldn't have changed it as the change was overwritten by r75568 which regenerated that file. Instead, disable wxUSE_PREFERENCES_EDITOR in iPhone-specific file.

2014-01-07 22:54 VZ, revision 75570

Fix check for the item being checked when appending it under wxMSW. The changes of r75448 were wrong, we can't ask Windows for the item state before attaching it to the menu, so just check the internal flag here. See ##15748.

2014-01-07 22:54 VZ, revision 75569

Fix benchmarks compilation with WXWIN_COMPATIBILITY_2_8 set to 0. Include wx/crt.h explicitly to be able to use wxPrintf() and friends.

2014-01-07 22:54 VZ, revision 75568

Disable the use of compiler TLS by default under Windows. While compiler TLS support is simpler to use and much faster than using our own Win32 API-based TLS implementation, it results in difficult to debug crashes when used inside a dynamically loaded DLL under Windows XP, so disable it by default to be safe. Closes #13116.

2014-01-07 22:13 VZ, revision 75567

Fix handling of bitmaps with alpha channel in wxMSW wxImageList. Don't use mask and alpha together, this results in visual artefacts and masks are unnecessary with RGBA bitmaps anyhow. The only potentially problematic remaining case is mixing bitmaps with alpha and mask inside the same image list (as we need to indicate whether we use the mask or not when creating it), but this should probably be rare and in the meanwhile we can at least RGBA bitmaps with image lists, which includes doing this implicitly when they are used as button bitmaps. Also refactor wxBitmap code to extract part of CopyFromIconOrCursor() to allow reusing it in the newly added MSWUpdateAlpha(). See #11476.

2014-01-07 22:13 VZ, revision 75566

Fix alpha after drawing a bitmap with alpha on a purely RGB bitmap in wxMSW. Previously, the area of the bitmap outside of the rectangle covered by the bitmap being drawn became completely transparent, "losing" the original bitmap contents. This was due to some pixels of the bitmap having non-0 alpha value after AlphaBlend() call, as it updates both the colours and alpha of the destination. As there doesn't seem to be any way to prevent it from doing this, just reset alpha back to 0 after calling it to avoid the problem. Closes #14403.

2014-01-06 13:42 VZ, revision 75565

Just deprecate but don't schedule for removal wxNORMAL and friends. Deprecate the use of the old untyped constants but don't schedule them from removal in a future wx version by removing "#if WXWIN_COMPATIBILITY_3_0" tests around their definition and use. Provoking deprecation warnings in the code using these constants is worth it as they are unclear and it's easy to make mistakes when using them, but breaking this code compilation outright can't be justified -- even in the future. Also use more informational wxDEPRECATED_MSG() instead of a simple wxDEPRECATED() as it might not be obvious at all how should the code be updated exactly. Finally, avoid the use of deprecated constants inside the library itself. As a side effect, this closes #15814.

2014-01-06 13:42 VZ, revision 75564

Actually implement default wxPasswordEntryDialog ctor. This was added in r75404 but not implemented, do provide the trivial definition of this function too. Closes #15770.

2014-01-05 22:11 VZ, revision 75563

Fix mouse wheel event coordinates in wxFrame in wxMSW. The screen to client conversion for this event coordinates took the toolbar height into account twice, resulting in a wrong value if the event was handled in a frame that did have a toolbar. Closes #15812.

2014-01-05 22:11 VZ, revision 75562

Update the versions of the libraries built by wx_vc10.sln. Use "31" or "310" in the library names instead of "30". Closes #15810.

2014-01-05 22:10 VZ, revision 75561

Deprecate wxPropertyGrid::DoubleToString(). Simply use wxNumberFormatter instead, this reduces code duplication and avoids bugs due to formatting inconsistencies in DoubleToString(). Closes #15625.

2014-01-05 22:10 VZ, revision 75560

Fix several problems with number formatting in wxNumberFormatter. We shouldn't add thousands separators nor remove trailing zeros for the numbers in scientific format. Also avoid "-0" as output. See #15625.

2014-01-05 22:10 VZ, revision 75559

Fix mouse wheel event coordinates in wxFrame in wxMSW. The screen to client conversion for this event coordinates took the toolbar height into account twice, resulting in a wrong value if the event was handled in a frame that did have a toolbar. Closes #15812.

2014-01-05 20:20 VZ, revision 75558

Portuguese translations update from Manuela Silva.

2014-01-05 20:20 VZ, revision 75557

Portuguese translations update from Manuela Silva.

2014-01-05 14:56 VZ, revision 75556

Remove unnecessary _mingw.h inclusion from wx/msw/missing.h. This header is already included from wx/platform.h which is always included before wx/msw/missing.h.

2014-01-05 14:56 VZ, revision 75555

Move wxCHECK_MINGW32_VERSION() declaration to wx/msw/gccpriv.h. Unfortunately we can't keep it in wx/compiler.h which is included too early, before UNICODE macro is defined, and we can't define it before including wx/setup.h which itself must be included after wx/compiler.h. So move it to wx/msw/gccpriv.h which is not a great solution, as the best would be to get rid of this gcc-specific file completely, but at least should make everything build again and ensure that _mingw.h is included after UNICODE definition. Closes #15805.

2014-01-05 14:55 VZ, revision 75554

Revert "Move UNICODE section of wx/platform.h before wx/compiler.h inclusion." Unfortunately this fix for MinGW broke compilation under Unix, see #15805. This reverts r75520.

2014-01-05 14:55 VZ, revision 75553

Revert "Define wxUSE_UNICODE on compiler command line in Unix builds too." This fix only helps with building wxWidgets itself but doesn't help when building user code using it, so revert it as we need another solution to this problem anyhow. This reverts r75536, see #15805.