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-09-04 21:45 VZ, revision 77540

Add default values for wxRichMessageDialog ctor arguments. Both "caption" and "style" arguments were documented as having default values, but didn't really have them. Fix this by actually adding them. Closes #16524.

2014-09-04 21:45 VZ, revision 77539

Don't say that 15+ year old wxDateTime is relatively new. Update the description of wxUSE_DATETIME in various setup.h files for the 21st century. Closes #16523.

2014-09-04 21:44 VZ, revision 77538

Deprecate wxBitmap assignment operator from wxCursor in wxMSW. This assignment operator is not portable and a better alternative is available now with the addition of the wxBitmap ctor from wxCursor in the previous commit. See #15699.

2014-09-04 21:44 VZ, revision 77537

Add wxBitmap ctor from wxCursor to wxGTK and wxMSW. Allow converting wxCursor to wxBitmap in order to draw it, for example. Closes #15699.

2014-09-04 21:44 VZ, revision 77536

Test for __MINGW64_TOOLCHAIN__ and not __MINGW64__ in wx/filefn.h. MinGW-w64 headers are the same in 32 and 64 bit cases, so test for these headers presence with __MINGW64_TOOLCHAIN__ and not for 64 bit build with __MINGW64__, which should probably not be used anywhere at all. This fixes problems with wx{Rm,Mk}dir() definitions with MinGW-w64 in non-Unicode build. Closes #16362.

2014-09-04 21:44 VZ, revision 77535

Add default values for wxRichMessageDialog ctor arguments. Both "caption" and "style" arguments were documented as having default values, but didn't really have them. Fix this by actually adding them. Closes #16524.

2014-09-04 21:22 VZ, revision 77534

Test for __MINGW64_TOOLCHAIN__ and not __MINGW64__ in wx/filefn.h. MinGW-w64 headers are the same in 32 and 64 bit cases, so test for these headers presence with __MINGW64_TOOLCHAIN__ and not for 64 bit build with __MINGW64__, which should probably not be used anywhere at all. This fixes problems with wx{Rm,Mk}dir() definitions with MinGW-w64 in non-Unicode build. Closes #16362.

2014-09-04 21:22 VZ, revision 77533

Move __MINGW64_TOOLCHAIN__ definition to wx/msw/gccpriv.h. __MINGW64_VERSION_MAJOR is defined only in _mingw.h, so it was never defined in wx/compiler.h, included before any other headers and we can't include _mingw.h for the same reason we must define wxCHECK_MINGW32_VERSION() in wx/msw/gccpriv.h: this has to be done after defining UNICODE/_UNICODE, but wx/compiler.h is included before this.

2014-09-04 18:02 VZ, revision 77532

Move __MINGW64_TOOLCHAIN__ definition to wx/msw/gccpriv.h. __MINGW64_VERSION_MAJOR is defined only in _mingw.h, so it was never defined in wx/compiler.h, included before any other headers and we can't include _mingw.h for the same reason we must define wxCHECK_MINGW32_VERSION() in wx/msw/gccpriv.h: this has to be done after defining UNICODE/_UNICODE, but wx/compiler.h is included before this.

2014-09-04 14:36 VZ, revision 77531

Fix harmless unused parameter warnings. Wrap parameter in WXUNUSED() in the power resource stub functions.

2014-09-04 14:36 VZ, revision 77530

Add wxDIRCTRL_DEFAULT_STYLE for consistency with other classes. This is, by definition, the style used as default value for the style argument of wxDirCtrl::Create(). Closes #16525.

2014-09-03 16:23 VZ, revision 77529

Compilation fix for wxUSE_STD_STRING==0 build. Add missing check for wxUSE_STD_STRING to fix the build with it set to 0 after the changes of r77518.

2014-09-03 13:21 VZ, revision 77528

Mention that wxDialog::SetEscapeId() can't be used for native dialogs. Native dialogs handling of Esc can't be customized (definitely not easily, and possibly not at all). See #16521.

2014-09-03 13:21 VZ, revision 77527

Remove recursive "see also" link from GetAppDocumentsDir() docs. This was probably supposed to be "@see GetDocumentsDir()", but as this function is already mentioned, and auto-linked by Doxygen, just above, another link to it is unnecessary, so remove it. Closes #16520.

2014-09-03 13:21 VZ, revision 77526

Include wx/variant.h from wx/msw/ole/oleutils.h. This ensures that this header is self-contained and can be included without including wx/variant.h first. Closes #16522.

2014-09-03 13:21 VZ, revision 77525

Mention that wxDialog::SetEscapeId() can't be used for native dialogs. Native dialogs handling of Esc can't be customized (definitely not easily, and possibly not at all). See #16521.

2014-09-03 13:21 VZ, revision 77524

Remove recursive "see also" link from GetAppDocumentsDir() docs. This was probably supposed to be "@see GetDocumentsDir()", but as this function is already mentioned, and auto-linked by Doxygen, just above, another link to it is unnecessary, so remove it. Closes #16520.

2014-09-03 13:20 VZ, revision 77523

Include wx/variant.h from wx/msw/ole/oleutils.h. This ensures that this header is self-contained and can be included without including wx/variant.h first. Closes #16522.

2014-09-03 12:45 VZ, revision 77522

Work around buggy printer drivers not returning correct DEVMODE size. Apparently at least one printer driver doesn't report the memory needed by its own DEVMODE struct correctly, resulting in a crash due to a buffer overflow when printing using it. Work around this by allocating slightly more memory than what we really need. Closes #16274.

2014-09-03 08:56 VS, revision 77521

Don't prevent app exit when only preferences window exists. Don't prevent termination of the app if all windows are closed, except for the preferences one (which may very well be hidden at the moment). This only affects platforms where the preferences are modeless (GTK+, OS X) and where the preferences window, once created, continues to exist, but is hidden.

2014-09-03 08:55 VS, revision 77520

Don't prevent app exit when only preferences window exists. Don't prevent termination of the app if all windows are closed, except for the preferences one (which may very well be hidden at the moment). This only affects platforms where the preferences are modeless (GTK+, OS X) and where the preferences window, once created, continues to exist, but is hidden.

2014-09-03 08:54 VS, revision 77519

Tweak sizing for general SetWindowVariant() implementation. Previously, the generic implementation closely mirrored OS X's scaling factors, with the small size being 3/4 of the normal one and mini 2/3. This works well with OS X's UI font and font rendering, but less so on other platforms: wxWINDOW_VARIANT_SMALL is barely readable on Windows and wxWINDOW_VARIANT_MINI is illegible. In wxGTK, both sizes are readable, but don't match small text used in native GNOME interfaces. Change the sizing to use the same scaling factor of 1.2 between all variant steps. This is the same factor that CSS 1.2 defines for relative sizes and is also used by Pango's (and so GTK+) size scaling in markup. This makes wxWINDOW_VARIANT_SMALL identical in size to <small> markup used in GTK+. On Windows, this changes default UI font scaling to be less steep and while wxWINDOW_VARIANT_MINI is still tiny and hard to read (as it is on OS X), wxWINDOW_VARIANT_SMALL is now readable, thanks to being only 1pt smaller than the full size (for default GUI font).

2014-09-02 17:35 VZ, revision 77518

Specialize std::hash<> for wxString when using C++11. This allows to use wxString as key type of std::unordered_{map,hash} out of the box.

2014-08-30 17:14 VZ, revision 77517

Fix creation of wxBitmap from monochrome wxIcon or wxCursor in wxMSW. Don't suppose that we always have hbmColor because this is not true for monochrome icons/cursors. Create our own bitmap in this case. Closes #16512.

2014-08-30 17:13 VZ, revision 77516

Fix creation of wxBitmap from monochrome wxIcon or wxCursor in wxMSW. Don't suppose that we always have hbmColor because this is not true for monochrome icons/cursors. Create our own bitmap in this case. Closes #16512.

2014-08-30 01:22 VZ, revision 77515

Don't change a shortcut file name when changing its path. wxFileName::MakeRelativeTo() is only supposed to change the path of the file, not its name, but it was doing the latter for the shortcuts as it implicitly resolved them to the name of their target. Fix this by ensuring we do not use wxPATH_NORM_SHORTCUT in MakeRelativeTo(). Closes #16239.

2014-08-30 01:22 VZ, revision 77514

Ensure OLE is initialized in wxFileName::GetShortcutTarget(). If it isn't, the function doesn't risk to work. This is especially pernicious because OLE is initialized on startup in GUI applications, but not in the console ones only using wxBase, so this function can, completely unexpectedly, give different results in them.

2014-08-30 01:22 VZ, revision 77513

Add small wxOleInitializer RAII helper. Wrap wxOleInitialize()/wxOleUninitialize() in a helper class ensuring that we never forget to call the latter.

2014-08-30 01:22 VZ, revision 77512

Fix typo in the last changelog entry. s/reated/created/

2014-08-30 01:22 VZ, revision 77511

Add wxPowerResourceBlocker for power management. Add functions to acquire/release power resources, preventing/allowing back the system to go to sleep or turn off the screen and a class wrapping them in a safe way. This patch implements the functions for MSW and OSX, adds documentation and updates the sample to demonstrate the new functionality. Closes #16413.

2014-08-30 01:22 VZ, revision 77510

Use wxCOMPtr<> in wxFileName instead of manual Release() calls. Make the code shorter and safer.

2014-08-30 01:22 VZ, revision 77509

Don't change a shortcut file name when changing its path. wxFileName::MakeRelativeTo() is only supposed to change the path of the file, not its name, but it was doing the latter for the shortcuts as it implicitly resolved them to the name of their target. Fix this by ensuring we do not use wxPATH_NORM_SHORTCUT in MakeRelativeTo(). Closes #16239.

2014-08-30 01:22 VZ, revision 77508

Ensure OLE is initialized in wxFileName::GetShortcutTarget(). If it isn't, the function doesn't risk to work. This is especially pernicious because OLE is initialized on startup in GUI applications, but not in the console ones only using wxBase, so this function can, completely unexpectedly, give different results in them.

2014-08-30 01:21 VZ, revision 77507

Add small wxOleInitializer RAII helper. Wrap wxOleInitialize()/wxOleUninitialize() in a helper class ensuring that we never forget to call the latter.

2014-08-29 23:53 AW, revision 77506

Optimize allocating default cells in wxPGProperty::EnsureCells Use embedded 'resize' function to alloc new slots at once instead of doing this in an iterative way.

2014-08-29 23:17 AW, revision 77505

Fix drawing custom colours for wxEnumProperty choice items in wxPG. In order to draw choice items with custom colours there is necessary to merge custom cell object (wxPGCell) associated with individual item with default cell object (in wxPGProperty::GetDisplayInfo). wxPGProperty::GetDisplayInfo function should return customized cell object instead of returning pointer to the default cell object only. Closes #16509

2014-08-29 13:56 VZ, revision 77504

Don't leave wxHtmlWinParser with a dangling wxDC pointer. Call SetDC(NULL) to prevent wxHtmlWinParser from using a pointer to the already destroyed wxDC object. See #16501.

2014-08-29 13:56 VZ, revision 77503

No changes, just avoid unnecessary heap allocation in wxHtmlWindow. Create the temporary wxClientDC on the stack, not the heap, there is no need for the latter. See #16501.

2014-08-29 13:56 VZ, revision 77502

Allow wxCmdLineParser::Parse() to be called more than once. Clear the previously collected parameters in the beginning to avoid accumulating the results from several command lines. Closes #16503.

2014-08-29 13:55 VZ, revision 77501

Don't leave wxHtmlWinParser with a dangling wxDC pointer. Call SetDC(NULL) to prevent wxHtmlWinParser from using a pointer to the already destroyed wxDC object. See #16501.

2014-08-29 13:55 VZ, revision 77500

No changes, just avoid unnecessary heap allocation in wxHtmlWindow. Create the temporary wxClientDC on the stack, not the heap, there is no need for the latter. See #16501.

2014-08-29 13:42 VZ, revision 77499

Allow wxCmdLineParser::Parse() to be called more than once. Clear the previously collected parameters in the beginning to avoid accumulating the results from several command lines. Closes #16503.

2014-08-29 06:45 MAR, revision 77498

Add architecture doc for wxQT (moved from wiki)

2014-08-29 05:37 MAR, revision 77497

Update author's credits comments for wxQT Commit history was lost in the git to svn merge for trunk, so this reflect work done in two GSOC projects and/or by several authors. Lines changed by each user was the main metric used to ack major contributions.

2014-08-28 23:36 BP, revision 77496
  • D /wxWidgets/branches/SOC2014_X11

Clearing incorrectly created branch on git mirror.

2014-08-28 14:55 VZ, revision 77495

Fix wxFont construction from default wxFontInfo in wxMSW. Don't use -1 as the real point size. Also update the font sample to allow testing such font. Closes #16468.

2014-08-28 14:54 VZ, revision 77494

Fix wxFont construction from default wxFontInfo in wxMSW. Don't use -1 as the real point size. Also update the font sample to allow testing such font. Closes #16468.

2014-08-28 14:37 VZ, revision 77493

Fix harmless warning about unreachable statement when wxUSE_EXCEPTIONS==0. This statement only needed when we do use exceptions.

2014-08-28 14:29 TIK, revision 77492

Revision 59305 broke click count adjustment with the result that a right-click after a left-click is reported as double-click.

2014-08-28 14:29 TIK, revision 77491

Revision 59305 broke click count adjustment with the result that a right-click after a left-click is reported as double-click.

2014-08-28 13:35 VZ, revision 77490

Fix build with wxUSE_STD_STRIN == 0. Remove a leftover occurrence of wxDEFINE_TEMPLATE_BOOL_VALUE(), this should have been done in r76532.

2014-08-28 10:31 JS, revision 77489

Compensate for lack of bitmap inversion on Mac when selecting content.

2014-08-28 10:28 JS, revision 77488

The wxRTC formatting dialog now retains custom colours set within the colour dialog, and they can be accessed by the application.

2014-08-27 23:21 BP, revision 77487

Create SVN branch for GSoC 2014 wxTaskBarButton project.

2014-08-27 00:58 AW, revision 77486

Fix deleting (from within wxPG event handler) properties not belonging to the current PG page. Currently, it is not possible to remove properties from the page other then currently selected. The scope of iterator used in wxPropertyGridPageState::DoClear() to enumerate properties must be limited to the required page and not always to the selected one. Closes #16459

2014-08-27 00:54 AW, revision 77485

Fix deleting aggregate properties from within wxPG event handler. Do not explicitly remove sub-properties of aggregate property because they will be removed automatically in their parent property dtor. See #16459

2014-08-26 10:29 JJ, revision 77484

Update of OpenVMS build support

2014-08-25 20:29 VZ, revision 77483

Disable the use of std::exception_ptr for MSVC 2010. While <exception> does define this type in this version of the compiler, it's non-conforming and doesn't define conversion to bool, so we can't test whether it is valid or not. We could work around it but for now just disable the use of exception_ptr with VC10 and only use it for VC11+.

2014-08-25 19:50 VZ, revision 77482

Fix order of radial gradient stops in wxMSW. Ensure that the order of stops is consistent with the documentation and other platforms behaviour, i.e. they are counted from inside to outside of the circle and not vice versa, which happens to be the GDI+ convention. Closes #16443.

2014-08-25 19:47 VZ, revision 77481

Fix order of radial gradient stops in wxMSW. Ensure that the order of stops is consistent with the documentation and other platforms behaviour, i.e. they are counted from inside to outside of the circle and not vice versa, which happens to be the GDI+ convention. Closes #16443.

2014-08-25 19:47 VZ, revision 77480

Add missing wxUSE_EXCEPTIONS checks. Build fixes after StoreCurrentException and RethrowStoredException() introduction: don't use the latter if exceptions support is turned off.

2014-08-25 19:47 VZ, revision 77479

Rebake MSW makefiles properly after wxQt merge. Somehow the makefiles contained references to a non-existing src/common/textdlg.cpp, fix this by rebaking them.

2014-08-24 17:32 VZ, revision 77478

Get rid of unnecessary wxUsecClockAsString() helper function. We always build with wxUSE_LONGLONG now, so just use wxLongLong::ToString() directly. This avois a warning about unused local function in wxDEBUG_LEVEL==0 builds.

2014-08-24 17:32 VZ, revision 77477

Disable deprecation warnings for NS{Open,Save}Panel methods. They will need to be replaced with the newer equivalents, but for now getting dozens of warnings for each wxOSX build is just annoying, so get rid of them.

2014-08-24 17:32 VZ, revision 77476

Use #pragma diagnostic for clang too, not just g++ 4.6+. Clang seems to support this #pragma just fine and it's useful for disabling deprecation warnings in wxOSX code.

2014-08-24 17:32 VZ, revision 77475

Avoid unused variable warnings in !wxDEBUG_LEVEL builds. Don't define a constant which is only used inside wxASSERT() at all if debug checks are disabled.

2014-08-24 17:32 VZ, revision 77474

Suppress unused variable warning in wxRichTextObject code. Put the variable used only inside #if 0'd code inside #if 0 itself (it would be better to get rid of this entirely, of course...).

2014-08-24 17:32 VZ, revision 77473

Add tests of gradients with stops to the drawing sample. This shows inconsistency in handling of radial gradients with and without stops in current wxMSW GDI+-based wxGraphicsContext implementation. See #16443.

2014-08-24 17:31 VZ, revision 77472

Remove checks for QueryPerformanceCounter() success. According to http://msdn.microsoft.com/en-us/library/windows/desktop/dn553408.aspx this function will never fail under Windows XP or later, so simplify code by not checking whether it did.

2014-08-24 17:31 VZ, revision 77471

Update wxFileDialog filter index when setting its path. This ensures that GetFilename() and GetFilterIndex() always return consistent results, even if the path was set programmatically, e.g. during unattended tests using wxExpectModal<wxFileDialog>.

2014-08-24 17:31 VZ, revision 77470

Provide wxApp::StoreCurrentException() implementation for C++11. When using C++11 we can provide implementations of wxApp::StoreCurrentException() and RethrowStoredException() ourselves and thus make catching exceptions outside of the event loop work by default. Do this and update the documentation and the sample to reflect it.

2014-08-24 17:31 VZ, revision 77469

Remove the apparently unnecessary <locale> inclusion. This header doesn't seem to be needed anywhere.

2014-08-24 17:31 VZ, revision 77468

Add wxApp::StoreCurrentException() and RethrowStoredException(). These methods can be used to ensure that the exceptions thrown from event handlers are safely rethrown from the code dispatching the events once the control flow gets back there. This allows to work around the problem with not being able to propagate exceptions through non-C++ code and can be used, for example, to catch exceptions thrown by the handlers invoked from inside wxYield() by a try/catch block around wxYield() -- something that didn't work before, update the except sample to show that it does work now.

2014-08-24 17:31 VZ, revision 77467

No changes, just document exception-related methods in their own group. Extract wxApp::OnExceptionInMainLoop() and OnUnhandledException() in a separate Doxygen group as there will be more functions defined in it soon.

2014-08-24 17:31 VZ, revision 77466

No real changes, just simplify SafelyProcessEvent() slightly. Remove a long comment about initializing "loop" in 2 steps and just do it in 1 step instead.

2014-08-24 17:31 VZ, revision 77465

Add a test of throwing an exception from wxYield() to except sample. This demonstrates that under 64 bit Windows exceptions may not propagate through the kernel code and throwing from inside wxYield() results in either an immediate abort, even if the code calling wxYield() tries to handle the exception, or, even more surprisingly, is just completely ignored. See http://blog.paulbetts.org/index.php/2010/07/20/the-case-of-the-disappearing-onload-exception-user-mode-callback-exceptions-in-x64/ for more information. Moreover, independently of Windows weirdness, throwing from wxYield() also results in a difficult to debug crash when using wxGTK because C++ exceptions can't propagate through C GTK+ code in this case.

2014-08-24 17:31 VZ, revision 77464

Show new style Windows directory selector even for non-existent paths. Passing an invalid initial directory to wxDirDialog resulted in using the old style Windows directory selector dialog instead of the new style (file dialog like) one, which was unintentional, as incorrect initial directory shouldn't prevent the dialog from being shown. Fix this by handling ERROR_FILE_NOT_FOUND error specifically and still showing the new dialog, just without the (non existent) initial directory value, in this case. Closes #16430.

2014-08-24 17:31 VZ, revision 77463

Also ignore arch-specific build directories in wxMSW wxStandardPaths. In addition to ignoring debug/release subdirectories, also ignore their (possible) parent Win32/x64 directories, and for the same reason: this allows the code using wxStandardPaths to work even when the program is ran from the build directory.

2014-08-24 15:35 VZ, revision 77462

Avoid unnecessary assignment in wxOSX build. Don't assign to the variable only to overwrite it with a new value. Closes #16436.

2014-08-24 15:35 VZ, revision 77461

Avoid warning about unused variable in wxiOS build. Define variable only used if wxOSX_USE_COCOA_OR_CARBON inside the check for it. Closes #16435.

2014-08-24 15:35 VZ, revision 77460

Avoid unused variable warning in wxUSE_DATAOBJ==0 build. Declare variable only used when wxUSE_DATAOBJ==1 inside the check for it. Closes #16434.

2014-08-24 15:35 VZ, revision 77459

Remove unused variable in wxDCImpl::CalculateEllipticPoints(). Closes #16433.

2014-08-24 15:30 VZ, revision 77458

Avoid unnecessary assignment in wxOSX build. Don't assign to the variable only to overwrite it with a new value. Closes #16436.

2014-08-24 15:30 VZ, revision 77457

Avoid warning about unused variable in wxiOS build. Define variable only used if wxOSX_USE_COCOA_OR_CARBON inside the check for it. Closes #16435.

2014-08-24 15:29 VZ, revision 77456

Remove unused variable in wxDCImpl::CalculateEllipticPoints(). Closes #16433.

2014-08-24 03:50 VZ, revision 77455

Merge wxQT branch into the trunk. This merges in the latest sources from GSoC 2014 wxQt project with just a few minor corrections, mostly undoing wrong changes to common files in that branch (results of a previous bad merge?) and getting rid of whitespace-only changes. Also remove debug logging from wxGrid.

2014-08-23 14:32 VZ, revision 77454

Create svn branch for GSoC 2014 wxX11 project.

2014-08-23 14:32 VZ, revision 77453
  • D /wxWidgets/branches/SOC2014_X11

Remove the branch created once again at a wrong place.

2014-08-23 14:28 VZ, revision 77452

Create svn branch for GSoC 2014 wxX11 project.

2014-08-23 03:09 VZ, revision 77451

disable qt auto buffer swapping

2014-08-23 03:09 VZ, revision 77450

Fix special (unreal) window handling in wxQT See wxTabFrame (AUI book), that is a special case as it doesn't have a related QWidget counterpart

2014-08-23 03:09 VZ, revision 77449

Add MiniFrame TLW for wxQT Also enables support for frameless and no task bar styles. Note that tool window style seems to have no effect on Ubuntu (tested with the Qt official examples)

2014-08-23 03:09 VZ, revision 77448

Merge master trunk into GSoC2014 QT branch

2014-08-23 03:08 VZ, revision 77447

Complete build docs for Ubuntu/Android wxQT

2014-08-23 03:08 VZ, revision 77446

Initial documentation for wxQT

2014-08-23 03:08 VZ, revision 77445

Fix SIGSEGV if app was not initialized in wxQT

2014-08-23 03:08 VZ, revision 77444

Fix status bar initial field count in wxQT

2014-08-23 03:08 VZ, revision 77443

Fix status bar removal SIGSEGV in wxQT

2014-08-23 03:08 VZ, revision 77442

Fix text extent metrics with spaces in wxQT

2014-08-23 03:08 VZ, revision 77441

Implement missing default button size for wxQT (wxPython)