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-02-08 15:04 VZ, revision 75844

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.

2014-02-08 12:55 JS, revision 75843

Return true from GetRangeSize or partial extents will be incorrectly filled in

2014-02-08 12:55 JS, revision 75842

Return true from GetRangeSize or partial extents will be incorrectly filled in

2014-02-08 01:46 VZ, revision 75839

Don't show "deleted stale lock file" message by default. The user typically can't do anything about this error anyhow, so don't show it by default. Still do show it when running in the verbose mode as this might add diagnosing the problem when something goes unexpectedly wrong. Closes #15944.

2014-02-08 01:46 VZ, revision 75838

Don't show "deleted stale lock file" message by default. The user typically can't do anything about this error anyhow, so don't show it by default. Still do show it when running in the verbose mode as this might add diagnosing the problem when something goes unexpectedly wrong. Closes #15944.

2014-02-08 01:43 VZ, revision 75837

Don't use try/catch if exceptions support is disabled. Closes #15954.

2014-02-08 01:41 VZ, revision 75836

Don't use try/catch if exceptions support is disabled. Closes #15954.

2014-02-07 16:02 VZ, revision 75835

Don't log error from wxMSW wxWakeUpIdle(). This is not necessary as there is nothing that can be done about this error anyhow and the function still "works" even if it occurs (it doesn't wake up anything but it is not necessary to do it if the message queue is already full) and, worse, results in a crash due to stack overflow. Closes #15951.

2014-02-07 16:02 VZ, revision 75834

Don't log error from wxMSW wxWakeUpIdle(). This is not necessary as there is nothing that can be done about this error anyhow and the function still "works" even if it occurs (it doesn't wake up anything but it is not necessary to do it if the message queue is already full) and, worse, results in a crash due to stack overflow. Closes #15951.

2014-02-07 15:35 VZ, revision 75833

Avoid crashes when deleting owned top level windows. Don't delay the TLW destruction if it has a parent and its parent is already being deleted: we can't delay the inevitable in this case and only succeed in making the program crash if we try. Closes #15743.

2014-02-07 15:35 VZ, revision 75832

Fix exit on last TLW logic after the change of r75630. 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-02-06 18:27 PC, revision 75826

Don't update position variables from window dragging code. Let "configure-event" handler do it so it can also generate proper move events. closes #15904

2014-02-06 16:10 VZ, revision 75825

Revert "Add XRC handler file to MSVC 10 project." This reverts r75789 which shouldn't have been applied to 3.0 branch as the files added to the project don't exist in it. Closes #15942.

2014-02-06 11:15 VS, revision 75824

Fix failing TextFileTestCase::ReadMixedWithFuzzing(). The test failed with 33% probability because it didn't account for trailing non-newline character. Fixed and also changed the test to repeat itself a hundred times, to increase the probability of catching problems like this.

2014-02-06 11:15 VS, revision 75823

Fix failing TextFileTestCase::ReadMixedWithFuzzing(). The test failed with 33% probability because it didn't account for trailing non-newline character. Fixed and also changed the test to repeat itself a hundred times, to increase the probability of catching problems like this.

2014-02-06 09:54 PC, revision 75821

Fix wxSetCursorEvent handling For compatibility with wxMSW, send event up the parent chain. Properly handle setting the cursor for a wxSetCursorEvent, and don't overwrite the window cursor. see #15801

2014-02-06 05:43 PC, revision 75807

Different fix for cursor inheritance and busy cursor/global cursor. Previous work was not compatible with GTK < 2.18 and did not properly handle some cases see #15801

2014-02-05 23:12 VZ, revision 75806

Add support for sorting by more than one column to generic wxDataViewCtrl. Maintain a list of columns used for sorting instead of a single sort column index and allow to add/remove columns to/from it interactively by right clicking them if AllowMultiColumnSort() was used. See https://github.com/wxWidgets/wxWidgets/pull/3

2014-02-05 19:29 VS, revision 75804

Add line-endings fuzzing test to TextFileTestCase. Stress-test wxTextFile's handling of unusual CR,LF characters.

2014-02-05 19:29 VS, revision 75803

Rewrite wxTextFile's newlines parsing to fix multiple bugs. Remove the complicated parsing state machine that contained bugs with unexpected inputs and was very hard to modify correctly. Replace it with much simpler code that looks ahead, instead of deducing line endings from past characters. The new code never looses lines with data and calls AddLine() on the first newline character it encounters, peeking ahead to determine the line ending type.

2014-02-05 19:29 VS, revision 75802

TextFileTestCase: test for \r\r\r\n parsing. While r75387 fixed parsing of \r\r\n, it still didn't handle triple-\r correctly.

2014-02-05 19:29 VS, revision 75801

TextFileTestCase: test for correct parsing of empty Mac lines. (This is failing both with and without r75387.)

2014-02-05 19:29 VS, revision 75800

Add line-endings fuzzing test to TextFileTestCase. Stress-test wxTextFile's handling of unusual CR,LF characters.

2014-02-05 19:28 VS, revision 75799

Rewrite wxTextFile's newlines parsing to fix multiple bugs. Remove the complicated parsing state machine that contained bugs with unexpected inputs and was very hard to modify correctly. Replace it with much simpler code that looks ahead, instead of deducing line endings from past characters. The new code never looses lines with data and calls AddLine() on the first newline character it encounters, peeking ahead to determine the line ending type.

2014-02-05 19:28 VS, revision 75798

TextFileTestCase: test for \r\r\r\n parsing. While r75387 fixed parsing of \r\r\n, it still didn't handle triple-\r correctly.

2014-02-05 19:28 VS, revision 75797

TextFileTestCase: test for correct parsing of empty Mac lines. (This is failing both with and without r75387.)

2014-02-05 12:29 JS, revision 75796

Return true from OnCellClicked if the event was processed, otherwise further processing will use default behaviour which may negate the effect of the event handler.

2014-02-05 02:04 VZ, revision 75794

Compilation fix for PCH-less build. This should fix compilation without PCH after r75785. See #2609.

2014-02-04 20:10 JS, revision 75793

Return true from OnCellClicked if the event was processed, otherwise further processing will use default behaviour which may negate the effect of the event handler.

2014-02-04 20:10 JS, revision 75792

Return true from OnCellClicked if the event was processed, otherwise further processing will use default behaviour which may negate the effect of the event handler.

2014-02-04 19:57 JS, revision 75791

Added the ability to restore the last selected page in a wxRTC formatting dialog.

2014-02-04 17:59 DS, revision 75790

Added support for wxEVT_COMBOBOX_DROPDOWN and wxEVT_COMBOBOX_CLOSEUP events to wxOSX/Cocoa. Backport of r75783. Closes #15762.

2014-02-04 17:42 VZ, revision 75789

Add XRC handler file to MSVC 10 project. Closes #15942.

2014-02-04 17:40 VZ, revision 75788

Add XRC handler file to MSVC 10 project. Closes #15942.

2014-02-04 16:59 VZ, revision 75787

Add new XRC headers to the core project too. Closes #15942.

2014-02-04 16:59 VZ, revision 75786

Allow using wxRearrangeList::Check() to change state programmatically. Previous this resulted in an assert and broken behaviour as it didn't update the internally stored state. Do update it now and remove the assert as it isn't possible to distinguish between user code calling Check() and wxGTK doing it itself from wxCheckListBox implementation. Closes #15940.

2014-02-04 16:59 VZ, revision 75785

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. Closes #2609.

2014-02-04 16:46 VZ, revision 75784

Add new XRC headers to the core project too. Closes #15942.

2014-02-04 10:32 DS, revision 75783

Added support for wxEVT_COMBOBOX_DROPDOWN and wxEVT_COMBOBOX_CLOSEUP events to wxOSX/Cocoa. See #15762.

2014-02-04 08:37 JJ, revision 75782

correction on commit 75776

2014-02-03 21:32 SC, revision 75780

backport merging in Václav's fix for getting CPU usage down in ShowModal

2014-02-03 21:31 SC, revision 75779

merging in Václav's fix for getting CPU usage down in ShowModal

2014-02-03 18:44 SC, revision 75778

backport from trunk

2014-02-03 18:40 SC, revision 75777

passing correct timeout values, patch from Václav

2014-02-03 15:06 JJ, revision 75776

synchronizing the definition of wxLoadQueryNearestFont

2014-02-02 22:47 VZ, revision 75775

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. This is the backport of r75669 from trunk.

2014-02-02 02:46 VZ, revision 75772

Compilation fix after r75765. Forgot to backport ResetAlpha() addition which is used by the code of r75765.

2014-02-02 02:16 VZ, revision 75771

Restore wxBusyCursor::Get{Story,Busy}Cursor() in wxGTK. Even if these methods are completely useless, we still need to keep them in wxGTK 3.0 for ABI compatibility.

2014-02-02 02:15 VZ, revision 75770

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-02-02 02:15 VZ, revision 75769

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-02-02 02:15 VZ, revision 75768

Make wxFILTER_INCLUDE_LIST in wxTextValidator actually usable. Only check for its violation once the full text is entered as otherwise nothing could ever be entered when it was used. Closes #15778.

2014-02-02 02:15 VZ, revision 75767

Fix handling of menu items checked before being attached in wxMSW. Calling wxMenuItem::Check() before appending the item to a menu didn't have any effect, fix this by checking the item state when actually attaching it. Closes #15748.

2014-02-02 02:15 VZ, revision 75766

Prevent wxGrid rows/columns from becoming too small on double click. The minimal size wasn't respected when auto-sizing rows/columns in Set{Row,Col}Size() which was called in response to double clicking the separator line, which resulted in clearly wrong behaviour as the user was prevented from resizing the row/column to a smaller size by dragging them but not by double clicking, so fix this to respect the minimal size as well. Closes #15627.

2014-02-02 02:15 VZ, revision 75765

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-02-02 02:15 VZ, revision 75764

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-02-02 02:15 VZ, revision 75763

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

2014-02-01 22:01 PC, revision 75761

don't avoid no-window widgets in GTKUpdateCursor() it doesn't work for things like multi-line text control where m_widget is a no-window GtkScrolledWindow

2014-02-01 21:05 PC, revision 75760

fix running with GTK < 2.18 when built with later GTK

2014-02-01 19:26 PC, revision 75759

restore non-default cursors in native widgets when unsetting wxCursor

2014-02-01 19:22 VZ, revision 75758

Recompute the tooltip width when changing its text in wxMSW. This avoids unnecessarily wrapping the tooltips if they are set to a longer string than their initial value later. Closes #4685.

2014-02-01 19:18 VZ, revision 75757

Don't show windows with "hidden" XRC attribute at all. This is better than showing them initially and then hiding them if only because it avoids the unexpected wxEVT_SHOW events being generated. Closes #15919.

2014-02-01 19:18 VZ, revision 75756

Recompute the tooltip width when changing its text in wxMSW. This avoids unnecessarily wrapping the tooltips if they are set to a longer string than their initial value later. Closes #4685.

2014-02-01 18:08 PC, revision 75755

don't override non-default cursors in native controls when no wxCursor is set, a regression introduced by r75690

2014-02-01 11:39 TIK, revision 75754

Add Kabyle language, as rare language it uses a three-letter code as per ISO 639-2.

2014-02-01 11:39 TIK, revision 75753

Add Kabyle language, as rare language it uses a three-letter code as per ISO 639-2.

2014-02-01 11:39 TIK, revision 75752

Add Kabyle language, as rare language it uses a three-letter code as per ISO 639-2.

2014-01-31 20:33 VZ, revision 75751

Use automatic resource management in wxMSW wxDC::DrawRotatedText(). No real changes, just simplify the code by using RAII classes. Also avoid unnecessary indentation by returning after checking for the special cases.

2014-01-31 20:33 VZ, revision 75750

Support multiline strings in wxDC::DrawRotatedText() in wxMSW. The native API doesn't support this, so do it by splitting the string into lines manually. Closes #9686.

2014-01-31 19:26 PC, revision 75749

build fix for GTK3, see #15930

2014-01-31 17:06 VZ, revision 75748

Try to detect invalid wxHtmlWindow title format earlier. Assert directly in wxHtmlWindow::SetRelatedFrame() instead of doing it much later, hopefully people will read the comment at the assert point.

2014-01-30 20:40 VZ, revision 75747

Add xh_ribbon.cpp to MSVC 10 ribbon library project. Fix linking errors when using wxRibbonXmlHandler. Closes #15927.

2014-01-30 20:40 VZ, revision 75746

Reduce the number of realloc() calls in wxHtmlTableCell. Don't call realloc() after adding each row, this is horribly inefficient, so preallocate more memory to avoid this. Closes #15931.

2014-01-30 20:40 VZ, revision 75745

Correctly detect cancelled drag-and-drop operations in wxGTK. The status of the drop operation wasn't propagated back to the initiator of drag and drop, so failing to drop data over a possibly accepting recipient could result in wrong behaviour and even data loss. Closes #15930.

2014-01-30 20:40 VZ, revision 75744

Deprecate wxTipProvider::PreprocessTip(). It is completely useless, and there is no reason to keep it. Closes #15916.

2014-01-30 20:14 VZ, revision 75743

Add xh_ribbon.cpp to MSVC 10 ribbon library project. Fix linking errors when using wxRibbonXmlHandler. Closes #15927.

2014-01-30 19:58 VZ, revision 75742

Reduce the number of realloc() calls in wxHtmlTableCell. Don't call realloc() after adding each row, this is horribly inefficient, so preallocate more memory to avoid this. Closes #15931.

2014-01-30 04:32 VZ, revision 75741

Update copyright year in the library versions. Update the version info dialog and the version info included in MSW DLLs.

2014-01-29 23:29 VZ, revision 75740

Don't mark wxMSW applications as being DPI aware. Because they are not, fully. While our standard controls do appear correctly in any DPI, anything using bitmaps/icons (e.g. toolbars, AUI title bars, ...) isn't usable at all without scaling at high DPI, so it's better to avoid pretending that we're DPI aware at all rather than doing it without being it for 100%. This reverts the changes of r63990.

2014-01-29 23:26 VZ, revision 75739

Fix a bug which could result in two default buttons in wxMSW dialogs. Exchange the order of setting/resetting the new/old button as the default one when focus is lost/gained to avoid the possibility of having two simultaneously default buttons at once. Closes #9528.

2014-01-29 23:25 VZ, revision 75738

Fix handling of wxSET, wxCLEAR and wxINVERT ROPs in wxMSW. Avoid passing source HDC to MaskBlt() for these ROPs which only use the destination HDC as they produce garbage instead of just ignoring the source in if it's non-NULL. Closes #2047.

2014-01-29 23:25 VZ, revision 75737

Fix wxClientDC::Clear() for scrolled windows in wxMSW. Take the DC origin into account when clearing a window DC and not only a memory one. Closes #2048.

2014-01-29 23:25 VZ, revision 75736

Fix wxPrinterDC::DrawIcon() in wxMSW. Make DrawIcon() work when printing: it previously didn't, as we used ::DrawIconEx() Windows function which wasn't supported when printing. Work around this by using DrawBitmap() if necessary. Closes #379.

2014-01-29 23:25 VZ, revision 75735

Fix display of bitmaps with alpha in wxStaticBitmap under MSW. Avoid double alpha pre-multiplication by converting the bitmap into a non pre-multiplied format before passing it to STM_SETIMAGE. Closes #2395.

2014-01-29 23:25 VZ, revision 75734

Virtualize wxXmlNode methods used by wxAuiToolBarXmlHandler. This fixes the DLL build of aui library as it can now be linked without leaving any unresolved dependencies to the code in xml library (where wxXmlNode is implemented). Closes #15686.

2014-01-29 23:25 VZ, revision 75733

Fix bug with non-NUL-terminaed inputs in wxMBConvUTF8. We read beyond the provided maximal length as we didn't update the remaining length while parsing the remaining bytes of an UTF-8-encoded code point. Fix this and add a test for it. Closes #15901.

2014-01-29 23:24 VZ, revision 75732

Fix a bug which could result in two default buttons in wxMSW dialogs. Exchange the order of setting/resetting the new/old button as the default one when focus is lost/gained to avoid the possibility of having two simultaneously default buttons at once. Closes #9528.

2014-01-29 23:24 VZ, revision 75731

Fix handling of wxSET, wxCLEAR and wxINVERT ROPs in wxMSW. Avoid passing source HDC to MaskBlt() for these ROPs which only use the destination HDC as they produce garbage instead of just ignoring the source in if it's non-NULL. Closes #2047.

2014-01-29 23:24 VZ, revision 75730

Fix wxClientDC::Clear() for scrolled windows in wxMSW. Take the DC origin into account when clearing a window DC and not only a memory one. Closes #2048.

2014-01-29 23:24 VZ, revision 75729

Fix wxPrinterDC::DrawIcon() in wxMSW. Make DrawIcon() work when printing: it previously didn't, as we used ::DrawIconEx() Windows function which wasn't supported when printing. Work around this by using DrawBitmap() if necessary. Closes #379.

2014-01-29 23:24 VZ, revision 75728

Fix bug with non-NUL-terminaed inputs in wxMBConvUTF8. We read beyond the provided maximal length as we didn't update the remaining length while parsing the remaining bytes of an UTF-8-encoded code point. Fix this and add a test for it. Closes #15901.

2014-01-29 23:24 VZ, revision 75727

Fix display of bitmaps with alpha in wxStaticBitmap under MSW. Avoid double alpha pre-multiplication by converting the bitmap into a non pre-multiplied format before passing it to STM_SETIMAGE. Closes #2395.

2014-01-28 17:52 VZ, revision 75725

Fix embarrassing typo in the last commit.

2014-01-28 14:45 VZ, revision 75724

Add forward declaration of wxCmdLineParser to fix compilation. This should fix the build after the previous commit.

2014-01-28 14:04 VZ, revision 75723

Allow iterating over wxCmdLineParser arguments in order. This allows the meaning of the options to depend on their order relatively to the other options which wasn't possible before. See http://review.bakefile.org/r/557/

2014-01-27 08:53 RD, revision 75718

Add some of the Draw* methods that have been available in wxPython.

2014-01-27 08:50 RD, revision 75716

Add some of the Draw* methods that have been available in wxPython.

2014-01-26 17:24 VZ, revision 75715

Try rounding the values when resizing wxImage instead of truncating. This would seem to make more sense and might also fix the test failures resulting from tiny differences in arithmetic operations when compiled with different compilers/under different architectures. Regenerate the test files and commit (disabled) change to the unit test allowing to do it again in the future.

2014-01-26 15:08 VZ, revision 75714

Don't keep dangling pointers in other wxRibbonButtonBar members neither. This should have been part of r75710: after deleting the button, also reset any stored pointers to it. Closes #15909.

2014-01-26 15:08 VZ, revision 75713

Fix `wx-config --libs` in monolithic build. Don't include non-existent libraries (which are built as part of the main monolithic one) in this case. Closes #15567.

2014-01-26 14:52 VZ, revision 75712

Fix `wx-config --libs` in monolithic build. Don't include non-existent libraries (which are built as part of the main monolithic one) in this case. Closes #15567.

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.

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

Simplify and fix column determination code in wxGridStringTable. The number of columns in the table is now (since r60717) stored in m_numCols, so there is no need to get it from wxGrid any more. This is not only simpler and faster but also more correct as the first row might not have the full number of values yet. Closes #15809.

2014-01-05 13:56 VZ, revision 75551

Simplify and fix column determination code in wxGridStringTable. The number of columns in the table is now (since r60717) stored in m_numCols, so there is no need to get it from wxGrid any more. This is not only simpler and faster but also more correct as the first row might not have the full number of values yet. Closes #15809.

2014-01-04 23:50 VZ, revision 75550

Add Aragonese translations by Jorge Pérez.

2014-01-04 23:50 VZ, revision 75549

Fix another wxDOT deprecation warning, this time in wxGTK build. Use wxPENSTYLE_DOT instead.

2014-01-04 23:50 VZ, revision 75548

Add Aragonese translations by Jorge Pérez.

2014-01-04 23:20 VZ, revision 75547

Fix tons of warnings in wxMSW after deprecating wxPen/wxBrush int styles &c. Replacement of FUTURE_WXWIN_COMPATIBILITY_3_0 with WXWIN_COMPATIBILITY_3_0 in r75532 resulted in tons of warnings as all code using wxSOLID and similar constants now uses the deprecated methods taking int instead of the preferred ones taking wx{Pen,Brush}Style (and similarly for wxFont{Style,Weight,Family}). Fix all of them but this also would seem to mean that this change might not be such a good idea at all.

2014-01-04 22:58 VZ, revision 75538

Revert "Hack wxMSW wxNotebook to show the text controls correctly initially." This hack resulted in showing a black rectangle corresponding to the initial size of the first notebook page when creating the notebook, as could be seen in the notebook sample by pressing Alt+2,Alt+1 to recreate the notebook after the startup. If the bug that this hack was supposed to fix hasn't been fixed yet (and it might have been by r73126, but it's hard to be sure as we don't have any test case for that bug), we could reintroduce this call to Update() but only if we're not inside a deferred resize (i.e. m_hDWP != 0) as it just can't work correctly in this case. This reverts r69793.

2014-01-04 22:58 VZ, revision 75537

Remove unnecessary ::SetWindowLong() call in wxMSW wxNotebook code. There is no point in manually resetting WS_VISIBLE style before calling wxWindow::Show(false) which does it too.

2014-01-04 22:58 VZ, revision 75536

Define wxUSE_UNICODE on compiler command line in Unix builds too. Under Windows we already define _UNICODE which gets picked up and translated to wxUSE_UNICODE by wx/platform.h, but under Unix we didn't do it until now. Do it both for consistency and to fix the build breakage since r75520 which moved the tests for wxUSE_UNICODE being defined before wx/setup.h. This seems like the simplest solution because otherwise there doesn't seem to be any single header order which would work under both Windows and Unix: under Windows we need to include wx/compiler.h, and hence _mingw.h included from it, before wx/setup.h, which implies that wxUSE_UNICODE must be set before doing it, but under Unix wxUSE_UNICODE was only defined in wx/setup.h and so couldn't be tested before including wx/compiler.h. And just the explanation above should convincingly show that defining wxUSE_UNICODE in CPPFLAGS makes things simpler. Closes #15805.

2014-01-04 22:58 VZ, revision 75535

Fix wrong comment in the scroll sample. Fix coordinates in the comment to match those used by the code. Closes #15804.

2014-01-04 22:58 VZ, revision 75534

Reset sorting column index in generic wxDataViewCtrl when clearing columns. Otherwise we could continue to use the now invalid index for sorting. Closes #15803.

2014-01-04 21:48 VZ, revision 75533

Reset sorting column index in generic wxDataViewCtrl when clearing columns. Otherwise we could continue to use the now invalid index for sorting. Closes #15803.

2014-01-04 21:07 PC, revision 75532

remove WXWIN_COMPATIBILITY_2_6, add WXWIN_COMPATIBILITY_3_0 closes #15792

2014-01-03 15:40 VZ, revision 75523

Avoid asserts in wxGTK when wxMDIChildFrame::SetSize() is called. SetSize() doesn't do anything for MDI children in wxGTK and other ports using TDI version of MDI, but it shouldn't result in an assert from wxTLW::DoMoveWindow() neither, so override DoMoveWindow() in wxTDIChildFrame to avoid it.

2014-01-03 15:40 VZ, revision 75522

Avoid asserts in wxGTK when wxMDIChildFrame::SetSize() is called. SetSize() doesn't do anything for MDI children in wxGTK and other ports using TDI version of MDI, but it shouldn't result in an assert from wxTLW::DoMoveWindow() neither, so override DoMoveWindow() in wxTDIChildFrame to avoid it.

2014-01-03 02:34 VZ, revision 75521

Revert "Don't intercept accelerators in wxTextValidator in wxGTK." Testing for absence of Alt modifier is wrong as it could be specified for the events generated by AltGr-letter key combinations (AltGr is Alt+Ctrl), so this commit broke the validation of any such symbols entered from non-US keyboard. This is worse than the problem it was trying to fix, so revert this for now. The real fix will need to ensure that the mnemonics are checked first, i.e. before generating EVT_CHAR, in wxGTK, just as it already happens in wxMSW. This reverts r75453. See #15777.

2014-01-03 02:18 VZ, revision 75520

Move UNICODE section of wx/platform.h before wx/compiler.h inclusion. This fixes the build with some versions of MinGW which depend on UNICODE being defined correctly in _mingw.h which is included from wx/compiler.h, so that before this change the build was broken as inconsistent definitions of UNICODE were used there and in windows.h included later.

2014-01-03 02:12 VZ, revision 75519

Define HAVE_VARIADIC_MACROS as 1, not nothing, in wx/cpp.h. This avoids g++ warning about HAVE_VARIADIC_MACROS redefinition in setup.h if wx/cpp.h happens to be included before it.

2014-01-03 02:08 VZ, revision 75518

Don't keep using the old wxBitmap data after modifying it directly in wxGTK. Drawing on a wxBitmap via wxMemoryDC modified its pixmap representation in wxGTK and even if its pixbuf representation was later changed using direct access to the bitmap pixels, the out of date pixmap continued to be used, creating the illusion of direct access being completely ignored. Fix this by purging the old pixmap representation when locking the bitmap for raw access.

2014-01-03 02:06 VZ, revision 75517

Don't keep using the old wxBitmap data after modifying it directly in wxGTK. Drawing on a wxBitmap via wxMemoryDC modified its pixmap representation in wxGTK and even if its pixbuf representation was later changed using direct access to the bitmap pixels, the out of date pixmap continued to be used, creating the illusion of direct access being completely ignored. Fix this by purging the old pixmap representation when locking the bitmap for raw access.

2014-01-02 01:24 RD, revision 75515

Turn off wxUSE_COMPILER_TLS for wxPython builds to avoid crashes on XP.

2014-01-02 01:21 RD, revision 75514

Turn off wxUSE_COMPILER_TLS for wxPython builds to avoid crashes on XP.

2013-12-31 15:03 VZ, revision 75507

Mention horizontal scrolling in wxScrollBar documentation too. Up/down can also mean left/right. Closes #15791.

2013-12-31 15:03 VZ, revision 75506

No real changes, just fix some typos in the comments. Fix spelling in a couple of comments. Closes #15790.

2013-12-31 15:03 VZ, revision 75505

Use wxScopedArray instead of raw new[]/delete[] and fix memory leak. Don't leak memory in case of error when reading from the stream in BMP loading code. Closes #15789.

2013-12-31 15:03 VZ, revision 75504

Allow initializing wxScopedArray more conveniently. Typical wxScopedArray initialization uses "new T[n]" expression, allow to omit most of it and specify just n, the number of elements to allocate. Use the new shorter form in the places where wxScopedArray(new ...) was used (which is in almost all of them)

2013-12-31 14:58 VZ, revision 75503

Fix possible memory leak in BMP reading code. Don't forget to free the arrays even in case of an error while reading from the stream. Closes #15789.

2013-12-29 20:14 PC, revision 75490

fix memory leak, closes #15785

2013-12-29 12:49 SC, revision 75489

moving special characters handling for EVT_CHAR into SetupKeyEvent, fixes #15784

2013-12-29 11:39 SC, revision 75488

routing to common code, see #15784

2013-12-29 10:04 SC, revision 75487

copy over all modifiers for single char events, fixes shift-tabs for single line controls, see #15784

2013-12-29 04:37 RD, revision 75466

Add missing wxMenuItem methods

2013-12-29 04:37 RD, revision 75465

Slight tweaks for the wxWebKitCtrl doc. Remove inline function bodies.

2013-12-29 04:36 RD, revision 75464

Add wxWebKitCtrl header.

2013-12-29 04:36 RD, revision 75463

Workaround for OSX crash in STC’s CallTip popup. Revert this when the fix in #15765 is backported.

2013-12-29 04:36 RD, revision 75462

Document ctors and dtor for wxListView

2013-12-29 04:36 RD, revision 75461

Add the ability to show a CallTip in the stc sample.

2013-12-29 04:36 RD, revision 75460

Guard against trying to use extend() with None

2013-12-29 04:23 RD, revision 75459

Add missing wxMenuItem methods

2013-12-29 04:22 RD, revision 75458

Slight tweaks for the wxWebKitCtrl doc. Remove inline function bodies.

2013-12-29 04:22 RD, revision 75457

Add wxWebKitCtrl header.

2013-12-29 04:22 RD, revision 75456

Document ctors and dtor for wxListView

2013-12-29 04:22 RD, revision 75455

Add the ability to show a CallTip in the stc sample.

2013-12-29 04:22 RD, revision 75454

Guard against trying to use extend() with None

2013-12-29 01:19 VZ, revision 75453

Don't intercept accelerators in wxTextValidator in wxGTK. Key events with modifiers shouldn't be filtered by the validator as they are used as accelerators and not for the text entry at all. Closes #15777.

2013-12-29 01:19 VZ, revision 75452

Simplify wxTextValidator EVT_CHAR handler. Ignore the event by default to reduce the number of event.Skip() calls. No changes in the code behaviour.

2013-12-29 01:19 VZ, revision 75451

Handle Unicode keys correctly in wxTextValidator. Don't allow entering arbitrary Unicode keys in wxTextValidator limited to digits only, for example.

2013-12-29 01:01 VZ, revision 75450

Make wxTextValidator validation error messages more informative. Saying that "something is invalid" really doesn't help much at all, so try to be at least a bit more informative.

2013-12-29 01:01 VZ, revision 75449

Make wxFILTER_INCLUDE_LIST in wxTextValidator actually usable. Only check for its violation once the full text is entered as otherwise nothing could ever be entered when it was used. Closes #15778.

2013-12-29 01:01 VZ, revision 75448

Fix handling of menu items checked before being attached in wxMSW. Calling wxMenuItem::Check() before appending the item to a menu didn't have any effect, fix this by checking the item state when actually attaching it. Closes #15748.

2013-12-29 01:01 VZ, revision 75447

Avoid crashes when deleting owned top level windows. Don't delay the TLW destruction if it has a parent and its parent is already being deleted: we can't delay the inevitable in this case and only succeed in making the program crash if we try. Closes #15743.

2013-12-29 01:01 VZ, revision 75446

Prevent wxGrid rows/columns from becoming too small on double click. The minimal size wasn't respected when auto-sizing rows/columns in Set{Row,Col}Size() which was called in response to double clicking the separator line, which resulted in clearly wrong behaviour as the user was prevented from resizing the row/column to a smaller size by dragging them but not by double clicking, so fix this to respect the minimal size as well. Closes #15627.

2013-12-29 01:01 VZ, revision 75445

Fix harmless MSVC warning. Avoid "converting value to bool" warning introduced by r75310.

2013-12-28 23:20 VZ, revision 75444

Update the generated file after gen_iface.py change. Regenerate the file to use the symbolic constants instead of the raw values. See #15783.

2013-12-28 23:20 VZ, revision 75443

Use symbolic constants names in the generated wxSTC files. Update the script generating stc.cpp to put the symbolic constants names and not their raw numeric values into the generated code. This makes it much easier to read and understand. Closes #15783.

2013-12-28 16:11 VZ, revision 75439

Mention that raw pixel access is efficient only with DIBs under MSW. While accessing DDBs (now) works too, it's inefficient and should be avoided.

2013-12-28 16:11 VZ, revision 75438

Make raw pixel access work even with DDBs under MSW. This is inefficient, because we need to copy pixels to and from them, but better than silently doing nothing.

2013-12-24 23:17 RD, revision 75428

Fix blank wxComboBox appearance broken by the changes of r75134.

2013-12-23 23:05 RD, revision 75417

Add comment about use of wxFRAME_TOOL_WINDOW

2013-12-23 23:04 RD, revision 75416

Document ctors and dtor for wxListView

2013-12-23 23:04 RD, revision 75415

Add the ability to show a CallTip in the stc sample.

2013-12-23 23:04 RD, revision 75414

Guard against trying to use extend() with None

2013-12-23 23:04 RD, revision 75413

Include frame.h at the beginning of the file instead of in the middle. It will be needed earlier in some cases.

2013-12-23 23:04 RD, revision 75412

Use wxFRAME_TOOL_WINDOW style for the STC’s calltip window to avoid crashing on OSX.

2013-12-23 21:02 RD, revision 75411

A new branch for minor tweaks needed for wxPython 3.0.0.

2013-12-23 17:43 VZ, revision 75409

Use wxPENSTYLE_{SOLID,TRANSPARENT} instead of deprecated versions in the docs. Don't push people to use the deprecated wxSOLID and wxTRANSPARENT. Closes #15775.

2013-12-21 23:26 VZ, revision 75408

Add wxNumberEntryDialog default ctor and Create(). Allow creating wxNumberEntryDialog in 2 steps, as most of the other classes. Closes #15769.

2013-12-21 15:59 SC, revision 75405

- one single method for sending char events from a NSString - adding insertText override for multiline fields as char events went missing after r74945

2013-12-21 13:23 VZ, revision 75404

Add wxPasswordEntryDialog default ctor and Create(). Allow creating wxPasswordEntryDialog in 2 steps, as most of the other classes. Closes #15770.

2013-12-20 18:55 VZ, revision 75403

Don't link with -lm if the check using it failed. It is useless and can, apparently, result in problems, see #15746.

2013-12-20 18:50 VZ, revision 75402

Document wxEVT_MEDIA_XXX event types. Closes #15768.

2013-12-20 17:03 SC, revision 75401

reverting r74098, applying John's version, see #15008, #15765, #13841 will be backported if no regressions are discovered

2013-12-18 17:18 VZ, revision 75400

Don't crash in wxAuiToolBar::GetToolBarFits(). The code could crash if m_overflowVisible was true but m_overflowSizerItem was NULL. Ideally this shouldn't happen in the first place, but it did, so at least fix the crash for now -- and hopefully this code will be refactored to make it more clear later. Closes #15747.

2013-12-18 17:18 VZ, revision 75399

Don't crash in wxAuiToolBar::GetToolBarFits(). The code could crash if m_overflowVisible was true but m_overflowSizerItem was NULL. Ideally this shouldn't happen in the first place, but it did, so at least fix the crash for now -- and hopefully this code will be refactored to make it more clear later. Backport from trunk, see #15747.

2013-12-18 17:00 VZ, revision 75398

Add wxHtmlWindow::SetDefaultHTMLCursor(). This allows to change the cursors used by any HTML windows, before creating them. Closes #15324.

2013-12-18 17:00 VZ, revision 75397

Document wxMediaState enum. Closes #15760.

2013-12-18 17:00 VZ, revision 75396

Treat empty variants as null ones in wxMSW OLE code. Simply ignoring VT_EMPTY variants doesn't make any sense and can result in completely unexpected results, so don't do it. Closes #15757.

2013-12-18 17:00 VZ, revision 75395

Remove wx/generic/colrdlgg.h from common GUI headers. This header is not used in all ports, notably not in wxMSW nor wxGTK. See #15753.

2013-12-18 17:00 VZ, revision 75394

Add default ctor and Create() to wxContextHelpButton. Allow two step creation of wxContextHelpButton. Closes #14848.

2013-12-18 17:00 VZ, revision 75393

Document wxMediaState enum. Closes #15760.

2013-12-16 19:55 VS, revision 75388

wxTextFile: don't loose data with CRCRLF line endings. Previously, when reading files with completely nonstandard - but occurring in the wild thanks to broken Notepad - files with CRCRLF, all content would be replaced with empty lines. Fix the code to do what many editors do with such files: treat this as data line followed by an empty one. This is not ideal, but it is better than discarding data - and arguably, silently cleaning up the endings wouldn't be great either (and would add extra complications for what is an obscure and broken case). See http://stackoverflow.com/questions/6998506/text-file-with-0d-0d-0a-line-breaks

2013-12-16 19:54 VS, revision 75387

wxTextFile: don't loose data with CRCRLF line endings. Previously, when reading files with completely nonstandard - but occurring in the wild thanks to broken Notepad - files with CRCRLF, all content would be replaced with empty lines. Fix the code to do what many editors do with such files: treat this as data line followed by an empty one. This is not ideal, but it is better than discarding data - and arguably, silently cleaning up the endings wouldn't be great either (and would add extra complications for what is an obscure and broken case). See http://stackoverflow.com/questions/6998506/text-file-with-0d-0d-0a-line-breaks

2013-12-16 17:36 VS, revision 75386

Support keyboard navigation with Tab in generic wxDataViewCtrl. Move keyboard focus between columns with Tab and Shift-Tab. Works similarly to left and right arrows, but wraps around to go to the next or previous line and doesn't collapse tree nodes. If focus reaches the last or first cell, the key event is skipped, allowing normal Tab handling for moving to another control.

2013-12-16 12:12 JJ, revision 75385

Update OpenVMS compile support

2013-12-16 11:51 JJ, revision 75384

Add OpenVMS to the systems that support the Bind-Event

2013-12-15 03:07 PC, revision 75383

fix inconsistent line endings

2013-12-15 03:04 PC, revision 75382

just put GtkBorder variable on the stack fixes missing runtime version check

2013-12-15 02:29 PC, revision 75381

fix missing/incorrect GTK runtime version checks

2013-12-14 16:33 JS, revision 75380

Ensure a small spanned column doesn't shrink its columns too much by checking for min column sizes

2013-12-14 16:32 JS, revision 75379

Ensure a small spanned column doesn't shrink its columns too much by checking for min column sizes

2013-12-12 17:08 SC, revision 75378

backport, fixes #15688

2013-12-11 18:27 VZ, revision 75377

Afrikaans translations update from Friedel Wolff.

2013-12-11 18:26 VZ, revision 75376

Afrikaans translations update from Friedel Wolff.

2013-12-11 13:06 JS, revision 75375

Fix for occasionally missing cells in tables

2013-12-11 13:05 JS, revision 75374

Fix for occasionally missing cells in tables

2013-12-10 16:24 JS, revision 75373

Added scrollbar hysteresis detection to stop infinite looping when vertical scrollbar presence or absence affects the content height.

2013-12-09 22:09 SC, revision 75364

trying 10.5 / 10.6 fix for #15688

2013-12-08 11:30 JS, revision 75363

Fixed overlapping text and floating objects by simplifying the available rectangle calculation

2013-12-08 11:30 JS, revision 75362

Fixed overlapping text and floating objects by simplifying the available rectangle calculation

2013-12-07 16:51 JS, revision 75361

Clicking on a floating (non-container) object no longer sets the caret position. Double-clicking on a floating (non-container) object selects it instead of selecting a word. Selection refresh now takes floating objects into account. The last line of a paragraph now takes floating objects into account.

2013-12-07 16:50 JS, revision 75360

Clicking on a floating (non-container) object no longer sets the caret position. Double-clicking on a floating (non-container) object selects it instead of selecting a word. Selection refresh now takes floating objects into account. The last line of a paragraph now takes floating objects into account.

2013-12-07 16:12 JS, revision 75359

Backported r75354: Fix layout of content within a floating object by using Move and not SetPosition; prevent creeping of floating objects on layout.

2013-12-07 13:30 VZ, revision 75358

Don't build wxOSX/Cocoa twice in wxOSX buildbot. Both trunk builds were using Cocoa, change the one supposed to be Carbon to use Carbon instead. Also add Carbon stable branch build as this is probably even more important than testing Carbon in the trunk.

2013-12-07 12:59 VZ, revision 75357

Clarify wxGetTopLevelParent() behaviour for TLWs. It doesn't return the parent of a TLW but TLW itself. Whether this is a good idea or bad one, this is how it works since a very long time and we don't want to change it any more.

2013-12-07 12:55 VZ, revision 75356

Big Galician translation update from Nuria Andión.

2013-12-07 12:55 VZ, revision 75355

Big Galician translation update from Nuria Andión.

2013-12-05 20:56 JS, revision 75354

Fix layout of content within a floating object by using Move and not SetPosition; prevent creeping of floating objects on layout.

2013-12-05 20:16 SC, revision 75353

backporting SDK 10.5

2013-12-05 10:13 SC, revision 75352

support 10.5 SDK build

2013-12-04 15:33 VS, revision 75351

wxOSX Retina fixes: wxImageList::GetSize(). wxImageList returns size of its bitmap as pixel size, i.e. twice the displayed screen on HiDPI screens. Unfortunately, wxImageList::GetSize() is used heavily in (generic) GUI drawing code, e.g. to properly size wxListCtrl's icon columns. As wxImageList is used primarily by controls, it seems reasonable to adjust for scaling here, rather than requiring all users of the class to do it.

2013-12-04 15:33 VS, revision 75350

wxOSX Retina fixes: size wxStaticBitmap and wxBitmapButton properly. The size is expressed in logical coordinates and needs to use bitmap's scaled size, otherwise it would appear twice as large in both dimensions.

2013-12-04 15:32 VS, revision 75349

wxOSX Retina fixes: wxImageList::GetSize(). wxImageList returns size of its bitmap as pixel size, i.e. twice the displayed screen on HiDPI screens. Unfortunately, wxImageList::GetSize() is used heavily in (generic) GUI drawing code, e.g. to properly size wxListCtrl's icon columns. As wxImageList is used primarily by controls, it seems reasonable to adjust for scaling here, rather than requiring all users of the class to do it.

2013-12-04 15:32 VS, revision 75348

wxOSX Retina fixes: size wxStaticBitmap and wxBitmapButton properly. The size is expressed in logical coordinates and needs to use bitmap's scaled size, otherwise it would appear twice as large in both dimensions.

2013-12-04 14:23 VS, revision 75347

Auto grow the last wxDataViewCtrl column on all platforms. The GTK+ implementation always did this and it doesn't make much sense to let the space be wasted, so do as GTK+ does: expand the last column to cover the remaining unused space in the OS X and generic implementations too. Don't do anything if the space is insufficient. Respect the last column's minimal width. See #13904.

2013-12-04 13:38 VS, revision 75346

Fix fixed-width progress columns in generic wxDataViewCtrl. Both native wxDVC implementations grow the progress column, the generic one didn't. This change fixes it and _seems_ not to break other things. As a consequence, progress columns no longer have a 40px minimal width, but that should be OK. Fixes #15745.

2013-12-04 13:36 VS, revision 75345

Fix fixed-width progress columns in generic wxDataViewCtrl. Both native wxDVC implementations grow the progress column, the generic one didn't. This change fixes it and _seems_ not to break other things. As a consequence, progress columns no longer have a 40px minimal width, but that should be OK. Fixes #15745.

2013-12-03 19:41 JS, revision 75344

Applied patch #15744: wxRichTextCtrl: HitTest can't find top-level floats (dghart)

2013-12-03 19:41 JS, revision 75343

Applied patch #15744: wxRichTextCtrl: HitTest can't find top-level floats (dghart)

2013-12-03 15:53 VZ, revision 75342

Fix crash when Destroy()-ing a TLW with a non-TLW parent. Generalize the code in wxTopLevelWindowBase dtor checking for the children of the TLW being destroyed pending for deletion themselves to work when the child TLW is an indirect child, i.e. was created with a child window of this TLW as parent and not this TLW itself. Closes #15743.

2013-12-03 15:53 VZ, revision 75341

Fix crash when Destroy()-ing a TLW with a non-TLW parent. Generalize the code in wxTopLevelWindowBase dtor checking for the children of the TLW being destroyed pending for deletion themselves to work when the child TLW is an indirect child, i.e. was created with a child window of this TLW as parent and not this TLW itself. Closes #15743.

2013-12-03 14:38 VZ, revision 75340

Work around wrong vsscanf() declaration under HP-UX. Under this system vsscanf() is declared as taking a non-const char* as first argument which prevented our code using it from compiling. Wrap it in wxCRT_VsscanfA() adding the necessary const_cast<> to fix this. Closes #15638.

2013-12-03 14:36 VZ, revision 75339

Work around wrong vsscanf() declaration under HP-UX. Under this system vsscanf() is declared as taking a non-const char* as first argument which prevented our code using it from compiling. Wrap it in wxCRT_VsscanfA() adding the necessary const_cast<> to fix this. Closes #15638.

2013-12-02 18:46 VS, revision 75336

Minor clarifications to wxTextEntry::SetHint() docs. Update platforms support docs. Mention event handlers interaction in the generic implementation.

2013-12-02 18:46 VS, revision 75335

Implement wxTextEntry::SetHint() natively for GTK+3.

2013-12-02 18:46 VS, revision 75334

Don't use native cue banners in wxTextEntry::SetHint() on XP. The code apparently expected EM_SETCUEBANNER to return false on pre-Vista systems (where the cue banners don't work). This isn't the case in practice, so check for Vista explicitly and use the generic implementation on XP.

2013-12-02 18:45 VS, revision 75333

Don't use native cue banners in wxTextEntry::SetHint() on XP. The code apparently expected EM_SETCUEBANNER to return false on pre-Vista systems (where the cue banners don't work). This isn't the case in practice, so check for Vista explicitly and use the generic implementation on XP.

2013-12-02 18:45 VS, revision 75332

Backport r75319: support for localized help menus

2013-12-02 17:50 VZ, revision 75331

Try to use /proc/self instead of /dev/core in the unit test. /dev/core doesn't seem to exist on the machines running Travis CI builds, check if /proc/self can work there.

2013-12-02 17:34 VZ, revision 75330

Fix clicking on checkboxes in generic wxDataViewCtrl. Back port the fix of r75329 from the trunk but without changing GetEffectiveAlignment() visibility to avoid changing the ABI. See #15731.

2013-12-02 17:30 VZ, revision 75329

Use correct cell alignment in generic wxDataViewCtrl mouse handling code. Don't fall back to wxALIGN_CENTRE, even if the renderer doesn't specify its own alignment we still have to take the column alignment in consideration, so use GetEffectiveAlignment() (which had to be made public for this). This notably fixes (again) hit testing for wxDataViewToggleRenderer in the generic version. Closes #15731.

2013-12-02 13:58 VZ, revision 75328

Check if colour really changed in wxGenericListCtrl::SetBackgroundColour(). Call the base class version to update the colour stored in the base class and also to avoid changing the colour of the main window unnecessarily if the colour didn't really change. This is also consistent with the code in SetForegroundColour() just below.

2013-12-02 13:58 VZ, revision 75327

Don't change header window foreground colour in wxGenericListCtrl. As calling wxGenericListCtrl::SetBackgroundColour() doesn't change the header window background, don't change its foreground in SetForegroundColour() neither. Closes #15741.

2013-12-02 13:58 VZ, revision 75326

Add a missing string in Slovakian translations. Closes #15740.

2013-12-02 13:56 VZ, revision 75325

Don't change header window foreground colour in wxGenericListCtrl. As calling wxGenericListCtrl::SetBackgroundColour() doesn't change the header window background, don't change its foreground in SetForegroundColour() neither. Closes #15741.

2013-12-02 13:52 VZ, revision 75324

Add a missing string in Slovakian translations. Closes #15740.

2013-12-02 11:38 JS, revision 75323

Fixed #15717: wxRichTextStyleOrganiserDialog returns wxID_OK when closed with Escape key (ikamakj)

2013-12-02 11:38 JS, revision 75322

Fixed #15717: wxRichTextStyleOrganiserDialog returns wxID_OK when closed with Escape key (ikamakj)

2013-12-02 10:06 JS, revision 75321

Apply fix for #15734: wxRichTextCtrl: A floating wxRichTextTable's cells aren't drawn (dghart)

2013-12-02 10:06 JS, revision 75320

Apply fix for #15734: wxRichTextCtrl: A floating wxRichTextTable's cells aren't drawn (dghart)

2013-12-01 21:10 SC, revision 75319

support for localized help menus

2013-11-28 17:50 JS, revision 75318

Partial fix for #15714: Caret jumping problem in wxRichTextCtrl text selection

2013-11-28 17:50 JS, revision 75317

Partial fix for #15714: Caret jumping problem in wxRichTextCtrl text selection

2013-11-28 17:29 JS, revision 75316

Fix for #15716: wxRichTextCompositeObject::Dump() should also dump the object itself?

2013-11-28 17:29 JS, revision 75315

Fix for #15716: wxRichTextCompositeObject::Dump() should also dump the object itself?

2013-11-28 17:24 JS, revision 75314

Fix for #15718: wxSymbolPickerDialog crashes on ampersand character

2013-11-28 17:24 JS, revision 75313

Fix for #15718: wxSymbolPickerDialog crashes on ampersand character

2013-11-28 17:23 JS, revision 75312

Fix for #15715: NULL check required in wxRichTextBuffer::SetStyleSheetAndNotify()

2013-11-28 17:23 JS, revision 75311

Fix for #15715: NULL check required in wxRichTextBuffer::SetStyleSheetAndNotify()

2013-11-28 14:47 VZ, revision 75310

Fix wxCommandProcessor::IsDirty() for unsaved unmodified case. IsDirty() still returned true even after undoing all the commands which was wrong, as there was nothing to save in this case. Closes #15722.

2013-11-28 14:46 VZ, revision 75309

Fix wxCommandProcessor::IsDirty() for unsaved unmodified case. IsDirty() still returned true even after undoing all the commands which was wrong, as there was nothing to save in this case. Closes #15722.

2013-11-28 13:43 VZ, revision 75308

Fix unwanted focus events when deleting a wxTreeCtrl item in wxMSW. Disable setting focus in response to TVN_SELCHANGING when deleting an item in a single selection control too -- this was already done in multi selection case but not in this one, for some reason. Also refactor the code to avoid duplicating TreeView_DeleteItem() calls. Closes #15721.

2013-11-28 13:43 VZ, revision 75307

Round values in wxBitmap::CreateScaled() and GetScaledSize(). Do it for consistency with wxMSW and because rounding probably makes more sense than truncation here. Closes #15720.

2013-11-28 13:39 VZ, revision 75306

Fix unwanted focus events when deleting a wxTreeCtrl item in wxMSW. Disable setting focus in response to TVN_SELCHANGING when deleting an item in a single selection control too -- this was already done in multi selection case but not in this one, for some reason. See #15721.

2013-11-27 17:12 VZ, revision 75305

Fix wxCHECK_MINGW32_VERSION() definition. Include _mingw.h before testing for __MINGW32_MAJOR_VERSION as it's only defined in that header. Closes #15696.

2013-11-27 17:12 VZ, revision 75304

Fix wxCHECK_MINGW32_VERSION() definition. Include _mingw.h before testing for __MINGW32_MAJOR_VERSION as it's only defined in that header. Closes #15696.

2013-11-27 16:34 VS, revision 75303

Fix OS X startup to not hang if the application doesn't get focus. If the application launches while the parent process doesn't have an active window, [NSApp run] won't terminate immediately, as was assumed here. Instead, it blocks until some input arrives, e.g. clicking the Dock icon. Work around this by adding a dummy event to the queue.

2013-11-27 16:34 VS, revision 75302

Fix OS X startup to not hang if the application doesn't get focus. If the application launches while the parent process doesn't have an active window, [NSApp run] won't terminate immediately, as was assumed here. Instead, it blocks until some input arrives, e.g. clicking the Dock icon. Work around this by adding a dummy event to the queue.

2013-11-27 00:31 VZ, revision 75299

Fix wxWindow::SetSizeHints() documentation. Add the missing @overload. Closes #15707.

2013-11-27 00:30 VZ, revision 75298

Fix wxWindow::SetSizeHints() documentation. Add the missing @overload. Closes #15707.

2013-11-26 15:50 VZ, revision 75297

Yet another fix after wxMenu::Remove() refactoring. wxMenu::Remove() was still broken in wxMSW after r75250, even with the fix in r75290, as wxMSW code relied on the item still being present in wxMenu::m_items. Delay removing it from there until after DoRemove() call to fix this. See #3424.

2013-11-26 15:28 SC, revision 75296

correct behavior in case it is still used with ShowModal

2013-11-26 15:18 SC, revision 75295

fixing shadowed var

2013-11-26 15:16 SC, revision 75294

fixing shadowed var

2013-11-26 13:53 SC, revision 75293

correct behavior in case it is still used with ShowModal

2013-11-25 17:50 PC, revision 75292

always initialize m_statText

2013-11-25 15:21 SC, revision 75291

backporting r75289

2013-11-25 14:57 VZ, revision 75290

Fix menu item destruction broken by r75250. The menu items were not removed from the menu any longer when they were deleted or destroyed after the changes in this revision. Fix this by calling the public Remove(), which does the right thing, instead of the private DoRemove(), which only does part of the job of removing the item, in DoDelete() and DoDestroy(). See #3424.

2013-11-25 14:51 SC, revision 75289

making sure no pending deletes get executed while a modal loop is running, avoiding double deletes because the dialogs are mostly allocated on the stack.

2013-11-25 14:41 VZ, revision 75288

Fix multiple calls to wxSocket::Initialize() in wxMSW. Subsequent calls didn't initialize the hidden window correctly because wxSocket::Shutdown() unregistered the window class used for it, but wxSocket::Initialize() still kept a pointer to the previously registered class name. Don't remember it any longer, unlike in the other cases where we use wxCreateHiddenWindow(), this function is only ever going to be called once until the class is unregistered anyhow, so it doesn't have to be static. Closes #15701.

2013-11-25 14:40 VZ, revision 75287

Fix multiple calls to wxSocket::Initialize() in wxMSW. Subsequent calls didn't initialize the hidden window correctly because wxSocket::Shutdown() unregistered the window class used for it, but wxSocket::Initialize() still kept a pointer to the previously registered class name. Don't remember it any longer, unlike in the other cases where we use wxCreateHiddenWindow(), this function is only ever going to be called once until the class is unregistered anyhow, so it doesn't have to be static. Closes #15701.

2013-11-25 13:31 VZ, revision 75286

Correct the author of wxAuiToolBarXmlHandler. See #15686.

2013-11-25 13:12 VZ, revision 75285

Document the order in which event tables are examined. Static event tables are search top to bottom while dynamic event tables are searched in the most-recently-bound to the most-early-bound order.

2013-11-24 19:07 PC, revision 75284

avoid deprecated gtk_style_context_get_font(), closes #15697

2013-11-24 18:20 VS, revision 75283

fix GCC warning "logical ‘or’ applied to non-boolean constant"

2013-11-23 17:23 VZ, revision 75282

Remove never used ALL_WX_LIBS variable from configure. It wasn't up to date (e.g. aui, ribbon, propgrid, richtext were not included in it) and wasn't used anywhere anyhow.

2013-11-23 16:10 VS, revision 75281

Recognize Windows 8 and 8.1 in wxGetOsDescription().

2013-11-23 16:10 VS, revision 75280

Differentiate between WXK_UP etc. and WXK_NUMPAD_ variants in NSMenuItem code.

2013-11-23 16:10 VS, revision 75279

Don't add NSFunctionKeyMask to NSMenuItem modifiers. This code probably misunderstood NSEvent documentation, where this mask is mentioned, but setKeyEquivalentModifierMask: documentation doesn't list it as allowed. More importantly, it causes "fn" to appear in the menu item and the accelerator doesn't work.

2013-11-23 16:10 VS, revision 75278

Recognize Windows 8 and 8.1 in wxGetOsDescription().

2013-11-23 16:09 VS, revision 75277

Differentiate between WXK_UP etc. and WXK_NUMPAD_ variants in NSMenuItem code.

2013-11-23 16:09 VS, revision 75276

Don't add NSFunctionKeyMask to NSMenuItem modifiers. This code probably misunderstood NSEvent documentation, where this mask is mentioned, but setKeyEquivalentModifierMask: documentation doesn't list it as allowed. More importantly, it causes "fn" to appear in the menu item and the accelerator doesn't work.

2013-11-23 11:56 VS, revision 75275

Fix selection behavior on right-click in wxGTK wxDataViewCtrl. Select the item under the cursor even when right-clicking it, because it's expected behavior (Nautilus does it too). Fixes #13531.

2013-11-23 11:56 VS, revision 75274

Allow NULL model in wxGTK's wxDataViewCtrl. This is consistent with other ports. Fixes #14616.

2013-11-23 11:56 VS, revision 75273

Fix selection behavior on right-click in wxGTK wxDataViewCtrl. Select the item under the cursor even when right-clicking it, because it's expected behavior (Nautilus does it too). Fixes #13531.

2013-11-23 11:56 VS, revision 75272

Allow NULL model in wxGTK's wxDataViewCtrl. This is consistent with other ports. Fixes #14616.

2013-11-23 01:34 VZ, revision 75271

Add XRC handler for wxAuiToolBar. Also add the demonstration of AUI handlers (this one and the existing one for wxAuiNotebook) to the xrc sample. See #15686.

2013-11-23 01:34 VZ, revision 75270

More version change related changes to the generated files. Somehow not all files seem to have been regenerated after version.bkl change.

2013-11-23 01:33 VZ, revision 75269

Initialize wxAuiNotebookXmlHandler::m_isInside in ctor. Closes #15694.

2013-11-21 21:54 JS, revision 75268

Improved equality test to ignore invalid attributes

2013-11-21 21:54 JS, revision 75267

Improved equality test to ignore invalid attributes

2013-11-21 16:25 JS, revision 75266

Corrected bugs with text effects comparison and style removal

2013-11-21 16:25 JS, revision 75265

Corrected bugs with text effects comparison and style removal

2013-11-21 14:51 VS, revision 75264

Add symbols added in r75258 to version-script.in.

2013-11-21 14:49 VZ, revision 75263

Update version to 3.0.1. And regenerate everything.

2013-11-21 14:49 VZ, revision 75262

Correct the name of Doxyfile containing the version. Use the correct file name in the version update script and version update instructions, it is called just Doxyfile and not Doxyfile_inc now.

2013-11-21 14:47 VZ, revision 75261

Update version to 3.1.0. And regenerate everything.

2013-11-21 14:45 VZ, revision 75260

Correct the name of Doxyfile containing the version. Use the correct file name in the version update script and version update instructions, it is called just Doxyfile and not Doxyfile_inc now.

2013-11-21 14:13 VS, revision 75259

Override ClearColumns() in wxDataViewListCtrl. Without this, the associated store's columns would be out of sync, causing asserts next time a column is appended. Fixes #14952.

2013-11-21 14:11 VS, revision 75258

Override ClearColumns() in wxDataViewListCtrl. Without this, the associated store's columns would be out of sync, causing asserts next time a column is appended. Fixes #14952.

2013-11-21 01:08 VZ, revision 75257

Fix joystick detection in configure under OS X. Don't compare toolkit with OSX which is never used for it, compare it with OSX_COCOA instead. Closes #15692.

2013-11-21 01:08 VZ, revision 75256

Fix wrong printf() format specifiers in the joystick sample. Use "%ld" for the long values, not "%d", they are not the same under LP64 platforms. Closes #15691.

2013-11-21 01:07 VZ, revision 75255

Don't perform any tests for joystick in configure under OS X. The test for setEventCallout() was added in r34541 to work around some problem with OS X 10.1 SDK. As we don't support this version of OS X since a very long time, it shouldn't be needed any longer. See #15692.

2013-11-21 01:07 VZ, revision 75254

Fix joystick detection in configure under OS X. Don't compare toolkit with OSX which is never used for it, compare it with OSX_COCOA instead. Closes #15692.

2013-11-21 01:07 VZ, revision 75253

Fix wrong printf() format specifiers in the joystick sample. Use "%ld" for the long values, not "%d", they are not the same under LP64 platforms. Closes #15691.

2013-11-20 17:04 VZ, revision 75252

Don't process events handled in user code in generic scrolling code. Undo the change introduced, probably accidentally, by r11369 (12 years ago) and skip the default handling of all events except wxEVT_SIZE and wxEVT_PAINT, which are special for the reasons explained in the comments in the code, if the user code has already handled the event. This allows to customize scrolling by selectively handling some scrolling events only and generally makes sense. Closes #15684.

2013-11-20 13:01 VZ, revision 75251

Fix wxRegion::Offset() copy on write behaviour in wxMSW. Offset the correct, new and unshared, region handle instead of the old and possibly shared one. Closes #15690.

2013-11-20 13:01 VZ, revision 75250

Fix assert message when removing non-existent items from wxMenu. The assert complained about a bug in wxMenu code itself, but actually could be triggered by simply trying to remove a non-existent item from the menu. Fix this by checking for the item existence, and also removing it from the internal menu data structure, in wxMenuBase::Remove() and only dealing with the item itself in DoRemove(). Closes #3424.

2013-11-20 13:01 VZ, revision 75249

Fix wxRegion::Offset() copy on write behaviour in wxMSW. Offset the correct, new and unshared, region handle instead of the old and possibly shared one. Closes #15690.

2013-11-19 15:15 VZ, revision 75248

Fix swapping items client data in wxEditableListBox. Use wxUIntPtr, not long, and SetItemPtrData() instead of SetItemData(), to ensure that we preserve the values of client data pointers in 64 bit build, otherwise they were truncated to 32 bits. Closes #15687.

2013-11-19 15:15 VZ, revision 75247

Fix swapping items client data in wxEditableListBox. Use wxUIntPtr, not long, and SetItemPtrData() instead of SetItemData(), to ensure that we preserve the values of client data pointers in 64 bit build, otherwise they were truncated to 32 bits. Closes #15687.

2013-11-19 14:13 VZ, revision 75246

Don't allocate way too much memory in wxVector::reserve(). We multiplied the number of items by the size of each element twice, once in wxVector::reserve() itself and once in Ops::Realloc() it called, so we allocated much more memory than actually needed. Fix this by passing the number of elements to Ops::Realloc().

2013-11-19 14:12 VZ, revision 75245

Don't allocate way too much memory in wxVector::reserve(). We multiplied the number of items by the size of each element twice, once in wxVector::reserve() itself and once in Ops::Realloc() it called, so we allocated much more memory than actually needed. Fix this by passing the number of elements to Ops::Realloc().

2013-11-18 15:21 VZ, revision 75244

Fix replacing "Window" menu in wxMDIParentFrame in wxMSW. When setting a new "Window" menu (as opposed to just modifying the existing one which did work correctly), we shouldn't show it immediately in the menu bar if there are no MDI children, this results in wrong UI and assert failures. Closes #15663.

2013-11-18 15:20 VZ, revision 75243

Fix problem with inserting menus in wxMDIParentFrame menu bar. Account for the "Window" menu (and any other foreign windows lurking in our menu bar) correctly in wxMenuBar::Insert() instead of the old code which apparently tried to do something similar but didn't make much sense and didn't work when trying to insert the menu at the position actually occupied by the "Window" menu in the menu bar. Closes #15662, #1732.

2013-11-18 15:19 VZ, revision 75242

Fix replacing "Window" menu in wxMDIParentFrame in wxMSW. When setting a new "Window" menu (as opposed to just modifying the existing one which did work correctly), we shouldn't show it immediately in the menu bar if there are no MDI children, this results in wrong UI and assert failures. Closes #15663.

2013-11-18 15:19 VZ, revision 75241

Fix problem with inserting menus in wxMDIParentFrame menu bar. Account for the "Window" menu (and any other foreign windows lurking in our menu bar) correctly in wxMenuBar::Insert() instead of the old code which apparently tried to do something similar but didn't make much sense and didn't work when trying to insert the menu at the position actually occupied by the "Window" menu in the menu bar. Closes #15662, #1732.

2013-11-18 12:14 JS, revision 75240

Use % instead of percent in Size dialog; controls more legible on wxGTK

2013-11-18 12:14 JS, revision 75239

Use % instead of percent in Size dialog; controls more legible on wxGTK

2013-11-18 08:49 JS, revision 75238

Fixed refresh bug in border preview control when resizing

2013-11-18 08:49 JS, revision 75237

Fixed refresh bug in border preview control when resizing

2013-11-17 22:55 JS, revision 75236

Backported colour/color consistency

2013-11-17 22:50 JS, revision 75235

Applied #15681: wxRichTextCtrl: Crash when deleting a wxRichTextTable row or column (dghart)

2013-11-17 22:50 JS, revision 75234

Applied #15681: wxRichTextCtrl: Crash when deleting a wxRichTextTable row or column (dghart)

2013-11-17 19:03 VS, revision 75233

Fix Czech translation of "About %s". It is used for the app name, translate it in the commonly used way ("About application %s").

2013-11-17 19:03 VS, revision 75232

Put Services submenu into the Apple menu on OS X. Native applications have a Services submenu in the apple menu. wx applications didn't until now.

2013-11-17 19:03 VS, revision 75231

Add wxMenuBar::OSXGetAppleMenu(). Native OS X apps sometimes have certain app-wide comments in the Apple/app menu ("Check for Updates" is a typical example). Make it possible to write well-behaved OS X apps by exposing this menu to user code.

2013-11-17 19:02 VS, revision 75230

Fix i18n-unfriendly About menu code in wxOSX. The code didn't follow the golden rule of localization and broke user-visible string into separately translated substrings. Replace with the same _("About %s") string already used in wxAboutDialog.

2013-11-17 19:02 VS, revision 75229

Don't duplicate code for Apple menu creation. Have just one copy of the code, instead of two. Eliminate differences between the two versions. As a result, applications now properly have preferences and about items even if window-less.

2013-11-17 19:02 VS, revision 75228

Fix Czech translation of "About %s". It is used for the app name, translate it in the commonly used way ("About application %s").

2013-11-17 19:02 VS, revision 75227

Put Services submenu into the Apple menu on OS X. Native applications have a Services submenu in the apple menu. wx applications didn't until now.

2013-11-17 19:02 VS, revision 75226

Add wxMenuBar::OSXGetAppleMenu(). Native OS X apps sometimes have certain app-wide comments in the Apple/app menu ("Check for Updates" is a typical example). Make it possible to write well-behaved OS X apps by exposing this menu to user code.

2013-11-17 19:02 VS, revision 75225

Fix i18n-unfriendly About menu code in wxOSX. The code didn't follow the golden rule of localization and broke user-visible string into separately translated substrings. Replace with the same _("About %s") string already used in wxAboutDialog.

2013-11-17 19:02 VS, revision 75224

Don't duplicate code for Apple menu creation. Have just one copy of the code, instead of two. Eliminate differences between the two versions. As a result, applications now properly have preferences and about items even if window-less.

2013-11-17 13:43 JS, revision 75223

Removed GetId/GetId and changed span storage to be compatible with 3.0. Fixed border control style.

2013-11-17 11:37 JS, revision 75222

Backported part of r75124: Generalised wxRICHTEXT_CHANGE_OBJECT command so it can now apply to a paragraph as well as an object within a paragraph.

2013-11-17 11:32 JS, revision 75221

Backported r75109: Corrected multiple cell property editing

2013-11-17 11:28 JS, revision 75220

Backported r75108: Fixed print preview glitch and vertical cell alignment.

2013-11-17 11:23 JS, revision 75219

Backported r75107: Fixed selection bug.

2013-11-17 11:20 JS, revision 75218

Backported layout fixes portion of r75105

2013-11-17 10:43 JS, revision 75217

Don't delete composite objects when defragmenting (backport of r75099 from trunk)

2013-11-17 00:41 VZ, revision 75216

Don't eat TAB presses for wxComboBox with wxTE_PROCESS_ENTER in wxMSW. Still allow to use TAB for navigation even when a wxComboBox has wxTE_PROCESS_ENTER style. Use the same hack for wxTextCtrl, i.e. implement the navigation ourselves as we can't let IsDialogMessage() handle it but still get VK_ENTER key presses. Closes #12808.

2013-11-17 00:41 VZ, revision 75215

Add xh_auinotbk.{h,cpp} to the manually maintained VC10 project files. This file existed in automatically generated projects but not this one. Closes #15673.

2013-11-17 00:41 VZ, revision 75214

Allow changing the colour of wxInfoBarGeneric text. Override SetForegroundColour() to forward it to the text control. See #15671.

2013-11-17 00:41 VZ, revision 75213

Set wxInfoBarGeneric text colour correctly. For some reason SetOwnForegroundColour() was used, but we really need to set the colour of the child text control and not our own colour here (which is not used for anything). This makes the text visible even when using non default tooltip colours, which could previously result in black-on-black text. See #15671.

2013-11-17 00:40 VZ, revision 75212

Define SIZEOF_LONG_LONG for Windows. This is important not only for consistency with the other platforms but also because without SIZEOF_LONG_LONG being defined, "%lu" format specifier can't be used with size_t values under Win64, as Arg_Size_t is not defined correctly there if SIZEOF_LONG_LONG is unknown. Closes #15670.

2013-11-17 00:40 VZ, revision 75211

Fix wxSocket::WaitForAccept() in worker thread. This was broken because Select() never returned wxSOCKET_CONNECTION_FLAG which is supposed to be set when a connection is accepted. Closes #15669.

2013-11-17 00:37 VZ, revision 75210

Don't eat TAB presses for wxComboBox with wxTE_PROCESS_ENTER in wxMSW. Still allow to use TAB for navigation even when a wxComboBox has wxTE_PROCESS_ENTER style. Use the same hack for wxTextCtrl, i.e. implement the navigation ourselves as we can't let IsDialogMessage() handle it but still get VK_ENTER key presses. Closes #12808.

2013-11-17 00:37 VZ, revision 75209

Add xh_auinotbk.{h,cpp} to the manually maintained VC10 project files. This file existed in automatically generated projects but not this one. Closes #15673.

2013-11-17 00:37 VZ, revision 75208

Allow changing the colour of wxInfoBarGeneric text. Override SetForegroundColour() to forward it to the text control. See #15671.

2013-11-17 00:37 VZ, revision 75207

Set wxInfoBarGeneric text colour correctly. For some reason SetOwnForegroundColour() was used, but we really need to set the colour of the child text control and not our own colour here (which is not used for anything). This makes the text visible even when using non default tooltip colours, which could previously result in black-on-black text. See #15671.

2013-11-17 00:37 VZ, revision 75206

Define SIZEOF_LONG_LONG for Windows. This is important not only for consistency with the other platforms but also because without SIZEOF_LONG_LONG being defined, "%lu" format specifier can't be used with size_t values under Win64, as Arg_Size_t is not defined correctly there if SIZEOF_LONG_LONG is unknown. Closes #15670.

2013-11-17 00:37 VZ, revision 75205

Fix wxSocket::WaitForAccept() in worker thread. This was broken because Select() never returned wxSOCKET_CONNECTION_FLAG which is supposed to be set when a connection is accepted. Closes #15669.

2013-11-16 14:29 VZ, revision 75204

Make OSXIsGUIApplication() documentation more clear for non Mac people. Provide a more detailed explanation of what this function does and does not.

2013-11-16 14:28 VZ, revision 75203

Port OSXIsGUIApplication() documentation from trunk too. Now that it is implemented (see r75201), it should be documented as well.

2013-11-16 08:19 SC, revision 75202

non-unicode fixes

2013-11-16 08:19 SC, revision 75201

porting fix for non-bundled apps to 3.0.1

2013-11-16 08:11 SC, revision 75200

fixing non-unicode compile

2013-11-15 19:25 VS, revision 75199

Don't crash in wxWindowMac::OSXSimulateFocusEvents(). The code didn't properly account for the possibility of wxEVT_KILL_FOCUS handler deleting the focused window (as happens e.g. in wxListCtrl inline edit controls). E.g. rapidly clicking wxEditableListBox buttons could trigger a crash here when sending wxEVT_SET_FOCUS to an already-deleted window. Use wxWeakRef<> to check if the window is still alive.

2013-11-15 19:25 VS, revision 75198

Don't crash in wxWindowMac::OSXSimulateFocusEvents(). The code didn't properly account for the possibility of wxEVT_KILL_FOCUS handler deleting the focused window (as happens e.g. in wxListCtrl inline edit controls). E.g. rapidly clicking wxEditableListBox buttons could trigger a crash here when sending wxEVT_SET_FOCUS to an already-deleted window. Use wxWeakRef<> to check if the window is still alive.

2013-11-15 18:28 PC, revision 75197

Simplify mode matching test, and add actual mode (not function parameter) to modes list, in GetModes()

2013-11-15 16:26 VZ, revision 75196

Fix blank wxComboBox appearance broken by the changes of r75134. We didn't repaint the owner drawn combobox items any more because they were not found by MSWFindItem(). Fix this by restricting the check to the real windows with the same ID as the combobox, not the dropdown items which are not windows at all. See #15674.

2013-11-15 16:24 VZ, revision 75195

Fix blank wxComboBox appearance broken by the changes of r75134. We didn't repaint the owner drawn combobox items any more because they were not found by MSWFindItem(). Fix this by restricting the check to the real windows with the same ID as the combobox, not the dropdown items which are not windows at all. Closes #15674.

2013-11-15 14:40 VZ, revision 75194

Update the branches to use in the buildbot builds. Stable branch is 3.0 now and not 2.8 any more.

2013-11-15 14:35 VZ, revision 75193

Don't eat mouse wheel events if we can't handle them in wxGTK. The recent changes to mouse wheel scrolling broke it for the generic wxListCtrl and probably any other situation in which scrollbars don't scroll the window itself but some subwindow of it. In this case, the scroll wheel event handler doesn't have any scrollbar to adjust, so it simply does nothing and shouldn't return true, as it did since r74911. Just return false in case we are not doing anything to let the mouse wheel work as before.

2013-11-15 14:34 VZ, revision 75192

Fix assert due to incorrect format being used in listctrl sample. "%d" can't be used with long wxListEvent::GetIndex() value in 64 bit builds.

2013-11-15 14:33 VZ, revision 75191

Don't eat mouse wheel events if we can't handle them in wxGTK. The recent changes to mouse wheel scrolling broke it for the generic wxListCtrl and probably any other situation in which scrollbars don't scroll the window itself but some subwindow of it. In this case, the scroll wheel event handler doesn't have any scrollbar to adjust, so it simply does nothing and shouldn't return true, as it did since r74911. Just return false in case we are not doing anything to let the mouse wheel work as before.

2013-11-15 14:33 VZ, revision 75190

Start a new change log for the changes in wxWidgets 3.1 and later. Keep the old change log as docs/changes_30.txt, it will need to be updated with docs/changes.txt from the 3.0 branch in the future.

2013-11-15 14:33 VZ, revision 75189

Fix assert due to incorrect format being used in listctrl sample. "%d" can't be used with long wxListEvent::GetIndex() value in 64 bit builds.

2013-11-15 14:33 VZ, revision 75188

Add a few more post-release TODO items to the instructions. Announce the release at isocpp.org.

2013-11-15 07:16 PC, revision 75187

Introduce variables for the display and screen in the video mode functions. This cleans up the code somewhat, and prepares for some upcoming changes.

2013-11-14 13:15 VS, revision 75186

Grow text editor control to contain all text in generic wxDataViewCtrl. Implement the behavior that Explorer uses: if the column is too narrow to fit the current text of a cell into it, don't create a too-small text control for it, because it is annoying and confusing (typically, the beginning of the text would be hidden, which is disastrous if it happens to contain numbers). Instead, grow the text control to be larger than the column for more comfortable editing.

2013-11-14 13:14 VS, revision 75185

Cancel editing in generic wxDVC when clicking outside of the editor control. wxDataViewCtrl should behave as Explorer does on Windows: when an inline editor control is open, clicking outside of it should close the editor (preserving changes) in most cases - as a rule of thumb, when the subsequent action could interfere with the editor somehow. This was implemented by watching for focus change and so ignored clicks made on non-focusable controls outside of wxDVC's main window area. In particular, clicks on the list's header were ignored, even though they could result in modifications of the editor's position or size. Don't finish editing when the user right-clicks on the header, consistently with Explorer. Opening the menu likewise still doesn't finish editing, it is needed for access to editing operations. Fixes #15152.

2013-11-14 13:13 VS, revision 75184

Cancel editing in generic wxDVC when clicking outside of the editor control. wxDataViewCtrl should behave as Explorer does on Windows: when an inline editor control is open, clicking outside of it should close the editor (preserving changes) in most cases - as a rule of thumb, when the subsequent action could interfere with the editor somehow. This was implemented by watching for focus change and so ignored clicks made on non-focusable controls outside of wxDVC's main window area. In particular, clicks on the list's header were ignored, even though they could result in modifications of the editor's position or size. Don't finish editing when the user right-clicks on the header, consistently with Explorer. Opening the menu likewise still doesn't finish editing, it is needed for access to editing operations. Fixes #15152.

2013-11-14 13:13 VS, revision 75183

Grow text editor control to contain all text in generic wxDataViewCtrl. Implement the behavior that Explorer uses: if the column is too narrow to fit the current text of a cell into it, don't create a too-small text control for it, because it is annoying and confusing (typically, the beginning of the text would be hidden, which is disastrous if it happens to contain numbers). Instead, grow the text control to be larger than the column for more comfortable editing.

2013-11-13 19:03 PC, revision 75182

build fix for GTK+ 3.10, closes #15667

2013-11-13 18:43 JS, revision 75181

Fixed clashing attribute values

2013-11-13 13:53 VZ, revision 75180

Fix crash when setting invalid label with "&" at the end. We detected that the label was invalid and gave a debug warning message about it but then still proceeded to crash by accessing the data beyond the end of the string. Don't do this. Closes #15665.

2013-11-13 13:52 VZ, revision 75179

Fix crash when setting invalid label with "&" at the end. We detected that the label was invalid and gave a debug warning message about it but then still proceeded to crash by accessing the data beyond the end of the string. Don't do this. Closes #15665.

2013-11-12 19:06 VZ, revision 75178

Merge the changes from 3.0 branch.

2013-11-11 21:59 VZ, revision 75177

Update the checksums for the 3.0 release notes files. Also mention the binaries existence in the top level file.

2013-11-11 14:22 VZ, revision 75176

Tag 3.0.0 release.

2013-11-11 14:10 VZ, revision 75175

Remove "rc2" from the release notes. The hashes are still the old ones and will be updated later as the binaries are not ready yet.

2013-11-11 14:10 VZ, revision 75174

Update the version in wx/version.h and add an item for it to the docs. Mention the need to udpate this file in the release checklist.

2013-11-11 14:10 VZ, revision 75173

Fix the 3.0.0 release date and update the release announcement slightly.

2013-11-11 14:10 VZ, revision 75172

Update the README file to follow the manual introduction closer. It makes sense for the introduction to be a longer version of the README, not a completely different topic.

2013-11-11 13:37 VZ, revision 75171

Add the scripts used to build MSVS wxMSW binaries. Closes #14495.

2013-11-10 19:35 PC, revision 75170

don't need Pango workaround code with GTK+3

2013-11-10 19:26 PC, revision 75169

use gtk_combo_box_get_wrap_width(), we require GTK+ 2.6 now

2013-11-10 19:26 PC, revision 75168

fully initialize GTypeInfo structure

2013-11-10 19:25 VZ, revision 75167

Fix wxFileName compilation in Cygwin builds. Do define StatAny() helper calling either stat() or lstat() under Cygwin, it is available and should be used there even if __WIN32__ is defined.

2013-11-10 19:25 VZ, revision 75166

Add a comment explaining the need for a temporary NULL variable. Explain the changes of r75162 as they risk not being preserved otherwise. Also make this variable static and const because it's really a constant.

2013-11-10 19:25 VZ, revision 75165

Use Cocoa by default for --with-osx and --with-mac configure options. Even though Cocoa is now officially the default port, these options still selected Carbon.

2013-11-10 19:25 VZ, revision 75164

Update minimal required GTK+ version to 2.6 in another place. It really should only appear in a single place only, ideally, but currently we have it in several different documents inside and outside the manual.

2013-11-10 19:13 PC, revision 75163

use G_VALUE_INIT

2013-11-10 18:26 PC, revision 75162

avoid NULL casts, clang says casting nullptr_t is not allowed closes #15660

2013-11-10 16:56 JS, revision 75161

Corrected and tidied XML import/export of standard data members

2013-11-10 14:45 DS, revision 75160

spelling and styling fixes

2013-11-10 14:28 DS, revision 75159

Doc changes. Updated some wxOSX related information.

2013-11-10 10:09 DS, revision 75158

Spelling fixes. Changed "MacOS X" occurrences to "OS X" (in docs only).

2013-11-10 02:48 PC, revision 75157

spelling fixes