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

2013-05-13 01:04 VZ, revision 73973

Whack-a-mole with wxOSX/PPC unit tests continued. The problem was not related to float-to-double conversions in wxAny code, try to narrow it even further.

2013-05-13 01:04 VZ, revision 73972

Fix harmless Clang warning about unreachable code. Unfortunately Clang intelligent flow analysis prevents us from using different asserts for invalid parameter value and unhandled one, which could happen if more elements are added to wxMouseButton enum in the future. Closes #15201.

2013-05-12 22:34 VZ, revision 73971

Disable double-to-float conversion tests in wxAny code. This seems to be the reason for the heap corruption in wxOSX PPC builds.

2013-05-12 22:34 VZ, revision 73970

Disable the rest of Editable() test for wxBitmapComboBox. See r73957, this test keeps failing when running on a build slave, even though it passes when ran locally.

2013-05-12 22:34 VZ, revision 73969

Use "-t" option when running buildbot tests under Windows. Use "-t" in runtests.bar used by Windows build slaves to get more information about the test failures, notably if they crash before completing.

2013-05-12 22:34 VZ, revision 73968

Fix spurious g++ warning about possibly uninitialized variable use. The variables are actually initialized in all cases if the enum has valid value but the compiler doesn't seem to take this into account, so just initialize them always to avoid the warnings.

2013-05-12 22:18 SC, revision 73967

deactivating r65382 see #12267 (which does not seem to happen anymore even without this change), fixes #14938,

2013-05-12 21:19 VZ, revision 73966

Enable another test in wxAnyTestCase under OS X.

2013-05-12 21:19 VZ, revision 73965

Recognize "sandbox" user as indicating automatic testing. The buildbot slaves actually use "sandbox" as the user name, not "buildbot", so test for the former instead for the latter, see r73963.

2013-05-10 21:21 VZ, revision 73964

Enable yet more tests in wxAnyTestCase::GetAs(). This is part of the continuing series of commits to find out what results in heap corruption in wxOSX PPC builds.

2013-05-10 21:21 VZ, revision 73963

Recognize "buildbot" user in IsAutomaticTest() too. Some build slaves apparently run under "buildbot" user and not "buildslave", recognize them as running automatic tests too. Also show the name of the current system and user on startup to avoid such guess work in the future.

2013-05-10 21:21 VZ, revision 73962

Revert "Show the name of the actually tested class in text entry unit tests." Revert r73959, the name of the control can be seen from the name of the failing test case actually, so there is no need to include it in the message.

2013-05-10 20:31 SC, revision 73961

applying editor part of patch, see #15003

2013-05-10 15:25 VZ, revision 73960

Use wxjpeg_boolean in libtiff sources. This fixes compilation problem when using libtiff with the built-in modified version of libjpeg that uses wxjpeg_boolean instead of boolean as it doesn't define boolean at all in its headers, but just wxjpeg_boolean. Closes #15179.

2013-05-10 15:22 VZ, revision 73959

Show the name of the actually tested class in text entry unit tests. This test is used for several different classes, show the name of the class being tested when the assert in Editable() test fails.

2013-05-10 15:22 VZ, revision 73958

Enable a few more tests in wxAnyTestCase::GetAs(). This is part of the continuing series of commits to find out what results in heap corruption in wxOSX PPC builds.

2013-05-10 01:22 VZ, revision 73957

Disable a sporadically failing check in wxBitmapComboBox unit test. This check keeps failing in buildbot builds even though it always passes in local ones (and sometimes in buildbot ones too). Disable it to allow the entire test suite to pass.

2013-05-10 01:22 VZ, revision 73956

Reduce the number of wxAny tests ran under wxOSX further. Something in GetAs() test definitely corrupts memory, but what?

2013-05-10 00:29 VZ, revision 73955

Start bisecting GetAs() wxAny test itself. This is the test that results in memory corruption in wxOSX PPC builds, try to find out where exactly does this happen.

2013-05-09 21:56 VZ, revision 73954

Leave only a single wxAny unit test disabled. It looks like the culprit is GetAs() test, verify it.

2013-05-09 01:18 VZ, revision 73953

Another attempt to isolate memory corrupting wxAny test. We now know it's either As() or GetAs() (or both).

2013-05-09 00:01 VZ, revision 73952

Continue bisecting tests crash in PPC OS X builds. Disable more wxAny tests.

2013-05-09 00:00 VZ, revision 73951

Fix wxRichTextCtrl test compilation. Work around broken pre-C++98 for loop scoping rules in VC6. See #15184.

2013-05-08 23:17 VZ, revision 73950

Really disable wxAny tests under wxOSX. Instead of disabling them everywhere but there. See r73944.

2013-05-08 13:21 VZ, revision 73949

Fix duplicate wxContextMenuEvent generation in wxMSW. Prevent WM_CONTEXTMENU from being propagated upwards the window parent chain by DefWindowProc(), we already do it ourselves and not marking the message as processed could result in multiple calls to the same wxEVT_CONTEXT_MENU handler if it skipped the event. See #13683.

2013-05-08 13:21 VZ, revision 73948

Fix wrong wxUSE_ACCEL around wxUSE_HOTKEY-related code in wxMSW. Closes #15193.

2013-05-08 13:21 VZ, revision 73947

Add wxVector<>::const_reverse_iterator. Provide this type too for compatibility with std::vector<>. Closes #15192.

2013-05-07 23:09 RD, revision 73946

Call InitializeModules instead of just module->Init(). This is needed so the module will have the proper state and not cause an assert when the modules are cleaned up. Since InitializeModules will skip any that are already initialized it doesn't hurt to call it for modules loaded later.

2013-05-07 17:56 VZ, revision 73945

Test for NULL associated frame in doc/view event handling code. A view might not have any associated frame at all (this is probably a bad idea but we don't seem to explicitly forbid this). This should have been part of r73943, see #14314.

2013-05-07 17:10 VZ, revision 73944

Disable more wxAny tests under OS X to try to find the buildbot crash. Disabling wxVariantConversions test was not enough to fix the crash happening in OS X PPC build slave, so disable a few more of them. Temporarily do it for any wxOSX build, the run-time check for buildbot will be restored later when I finally manage to find the problematic test(s?).

2013-05-07 17:07 VZ, revision 73943

Fix for event propagation in "single document" doc/view mode. Ensure that the events still get to wxDocManager even when we are using the single document mode in which a view can be directly associated with the parent frame. Closes #14314.

2013-05-06 23:46 VZ, revision 73942

Disable wxAny-to-wxVariant conversion test case under OS X. This is a blind attempt to fix the test crash under PPC OS X.

2013-05-06 15:39 JS, revision 73941

Applied patches for #15184 (wxRichTextAction fix for when the command identifier is wxRICHTEXT_CHANGE_OBJECT) and #15185 (Make adding/deleting wxRichTextTable rows and columns undoable)

2013-05-06 15:08 VZ, revision 73940

Fix a typo in wxNumberFormatter styles documentation. s/cab/can/

2013-05-06 10:54 JS, revision 73939

Applied patch #15183 (wxRichTextTable::DeleteColumns doesn't remove the deleted columns: dghart)

2013-05-06 02:31 VZ, revision 73938

Add IEEE 754 single/double precision support to wxDataStream classes. Allow to optionally raed/write float/double values in IEEE 754 single/double precision formats, respectively, instead of always using the extended precision format for both of them. This makes the code more flexible, allowing for better interoperability with the other programs, and also allows to implement floating point functions in these classes even when wxUSE_APPLE_IEEE is turned off (as can be the case because of the licencing concerns for the code in extended.c). Closes #10625.

2013-05-06 02:30 VZ, revision 73937

Minor wording fixes in wxDataStream classes documentation. Mostly just s/amount/number/

2013-05-06 02:30 VZ, revision 73936

Test wxDataStream floating point methods in big endian format too. Added a hack to test float/double reading/writing using wxDataInputStream/wxDataOutputStream to the test case using big endian extended float format too.

2013-05-06 02:30 VZ, revision 73935

No changes, just a small optimization in DataStreamTestCase. Don't create streams on the heap completely unnecessarily, just allocate them on the stack. This makes the code shorter, safer and slightly more efficient.

2013-05-06 02:30 VZ, revision 73934

No real changes, just rename double variables to "d". Don't use "i" or "f" for double variable names, this is confusing, especially when we do it inconsistently. See #10625.

2013-05-06 02:30 VZ, revision 73933

Extract common parts of wxData{In,Out}putStream in a common base class. No real changes, just put BigEndianOrdered() and SetConv() methods and the corresponding fields in a common wxDataStreamBase class instead of duplicating them in wxDataInputStream and wxDataOutputStream. This will make it simpler to add more features common to both classes in the future, see #10625.

2013-05-05 18:17 VZ, revision 73932

Don't use gtk_file_chooser_set_filename() for save file dialogs. This seems to be broken in old GTK+ versions, so use gtk_file_chooser_set_current_name() and gtk_file_chooser_set_current_folder() for save file dialogs which seem to work in all versions. Closes #15133.

2013-05-05 13:48 SJL, revision 73931

Speculative fix for wxWebView unit tests on OSX. Use stringByEvaluatingJavaScriptFromString as it is guaranteed to return an NSString.

2013-05-05 02:07 VZ, revision 73930

Correct misleading error message in locale mismatch assert. Don't advise people to use non-existent (or at least not publicly accessible) wxSetLocale(), they should just create wxLocale objects instead.

2013-05-05 02:00 VZ, revision 73929

Use wxWindow::Refresh() instead of artificial wxPaintEvent in the test. This fixes memory leaks under wxMSW: as the test code didn't (and couldn't) call wxPaintDCImpl::EndPaint(), there was a leak for each wxPaintEvent generated in it since the changes to wxDC caching in r72938. It's also preferable because it uses public API instead of feeding events to the window which is not documented to work. Unfortunately even using Refresh() still doesn't allow the test to work under wxOSX.

2013-05-05 01:59 VZ, revision 73928

Fix event handling order in doc/view framework. Ensure that the events are always (provided there is an open document) processed in the following order: 1. wxDocument 2. wxView 3. wxDocManager 4. wxDocChildFrame 5. wxDocParentFrame 6. wxApp Do this by forwarding the events from wxDocParentFrame to wxDocChildFrame first and forward them from there to wxDocManager which -- and this part remains unchanged -- in turn forwards them to the active wxView which finally forwards them to wxDocument. This requires another condition in the event handling code as we still must forward from wxDocParentFrame to wxDocManager itself if there are no active children at all, but this is the only way to have the same event order in all cases, whether the event is originally received by wxDocChildFrame or wxDocParentFrame. Document this and add a unit test verifying that things indeed work like this. See #14314.

2013-05-05 01:59 VZ, revision 73927

Forward events to active child at MSW, not wx, level in wxMDIParentFrame. We want to handle menu (and toolbar) events in the active MDI child before handling them in the parent frame itself and the existing code achieved this by forwarding wxEVT_MENU events at wx event processing level to the active child. However this was not enough as the underlying MSW WM_COMMAND message was still sent to the parent frame only and this could result in wx event not being generated at all if the parent frame had a disabled menu item with the same ID as (an enabled) item in the child frame, see #14314. So forward WM_COMMAND directly to ensure that the correct window gets the event in the first place. And this makes wxEVT_MENU forwarding in TryBefore() unnecessary.

2013-05-05 01:59 VZ, revision 73926

Factor out functions dealing with menus in the event propagation test. No real changes, just refactor the code to allow testing for menu events in other frames too.

2013-05-05 01:59 VZ, revision 73925

Add public wxDocManager::GetAnyUsableView(). This method tries to find the current view harder than GetCurrentView() and always returns a non-NULL view if there are any open documents at all. This is used by wxDocManager internally to find the view to apply the user commands to and will also be needed in the upcoming changes outside of wxDocManager, so just make this method public, as it seems that it could be useful in user code too, especially if we could use some better fallback than the first opened document (e.g. the last document the user interacted with would be better). This also clarifies the confusion between GetCurrentView() and GetActiveView(), see #13296.

2013-05-05 01:59 VZ, revision 73924

Use correct line numbers in assert failures in event propagation test. Replace the calls to CheckMenuEvent() helper with ASSERT_MENU_EVENT_RESULT() macro to allow passing the correct line number to cppunit assertion function, otherwise the line number of CheckMenuEvent() was always used in case of failure.

2013-05-05 01:59 VZ, revision 73923

Consistently set wxMenuBar parent in all ports. Previously, wxGTK used the associated frame as wxMenuBar parent, while the other ports did not. Do set the frame as menu bar parent in all ports now. Of course, considering that wxMenuBar is not a window at all, this doesn't necessarily make much sense, but at least it makes the behaviour consistent.

2013-05-05 01:59 VZ, revision 73922

Pass menu events to the handler in the associated menu bar. We handled the menu events in the menu itself and the associated window, but not in the menu bar that the menu belonged to. This was unexpected, so allow handling the events in the menu bar itself too. Closes #15095.

2013-05-05 01:59 VZ, revision 73921

Fix menu event handlers calling order. Pass the menu event to the window associated with the menu first, before falling back on wxApp. This required adding yet another flag to keep state in wxEvent but it seems to be unavoidable as wxMenuBase::SendEvent() calls ProcessEvent() twice and we must have some way to distinguish the first call from the second one. Added a test case verifying that the menu events are indeed processed in the expected order.

2013-05-03 00:08 VZ, revision 73906

Mention using wxString::c_str() with vararg functions in the change log. This is sufficiently important to be mentioned here in addition to the main documentation. Especially considering that this results in run-time crashes instead of (just) compile-time errors with MSVC.

2013-05-03 00:08 VZ, revision 73905

Expand wxString overview and document some problems due to its dual nature. Explain the possible problems with wxString due to its dual Unicode/ASCII nature. Also document the various conversions in the overview itself. Closes #14694.

2013-05-01 22:53 VZ, revision 73899

Copy max width of wxGridCellTextEditor when cloning it. Previously the max number of characters that could be entered into the editor was lost when it was cloned, making it impossible to really limit the user entry. Closes #15175.

2013-05-01 22:53 VZ, revision 73898

Remove the apparently unneeded wxPGPropArgCls default ctor. This ctor didn't initialize the flags correctly and could result in a crash when a default constructed object was destroyed. Closes #15174.

2013-04-30 22:23 RD, revision 73897

export wxRichTextObjectPtrArrayArray since it is used in the public API.

2013-04-30 22:23 RD, revision 73896

Richtext interface fixes and additions for Phoenix

2013-04-30 22:23 RD, revision 73895

Richtext interface fixes and additions for Phoenix

2013-04-30 22:07 RD, revision 73892

Documentation tweaks for wxFontInfo

2013-04-30 22:07 RD, revision 73891

Add wxICON_AUTH_NEEDED

2013-04-30 17:39 VZ, revision 73890

Compilation fix for wxFont in wxGTK1. wx/encinfo.h is not included from wx/wx.h so include it explicitly. This is the same change as was done in r73519 for wxX11/wxMotif.

2013-04-30 13:13 VZ, revision 73889

Fix wxFont test compilation after wxFont(int flags) ctor removal. Also mention this incompatible (since 2.9.4) change in the change log.

2013-04-30 12:36 VZ, revision 73888

Use WXUNUSED() to suppress unused parameter warnings. Just suppress a harmless warning in wxCarbon build.

2013-04-30 12:36 VZ, revision 73887

Work around harmless g++ warning about possible uninitialized variable. Return from the function before using the variables in the (impossible) case they are actually not initialized.

2013-04-30 12:35 VZ, revision 73886

Add a trivial virtual dtor to suppress g++ warnings. Add a useless but virtual dtor to ValidationTraverserBase private class to avoid g++ warnings.

2013-04-30 12:27 VZ, revision 73885

Add wxFontInfo class to allow using named parameters for wxFont creation. This helper class allows to create wxFonts using shorter and more readable code, e.g. wxFont font(12, wxFONTFLAG_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, true, "DejaVu Sans"); can now be written simply as wxFont font(wxFontInfo(12).FaceName("DejaVu Sans").Underlined()); Remove the ctor from font flags added in r70445 as it's not needed any longer now that we have this one and adding it resulted in compilation errors in the existing code which compiled with 2.8 because of ambiguities between that ctor and wxFont(int size, int family, int style, int weight. bool underlined, ...) one, e.g. wxFont(12, wxFONTFAMILY_SWISS, wxNORMAL, wxNORMAL) didn't compile any more but it does compile again now. See #9907.

2013-04-30 12:27 VZ, revision 73884

Allow using wxDEFAULT as font size in wxOSX. Using wxDEFAULT as the font size in wxOSX resulted in creating 70pt font, change this to use the normal font size instead for compatibility with the other platforms. Also allow using -1 as wxDEFAULT for compatibility with wxGTK, see #12541.

2013-04-30 01:53 VZ, revision 73881

Fix VC6 compilation after r73880. Work around the broken scoping for the variables declared inside for loops in this compiler by declaring the loop variable once for all loops.

2013-04-30 01:13 VZ, revision 73880

Fix assert when adding items with bitmaps wxBitmapComboBox. The change of r73567 resulted in an assert when adding items with bitmaps to wxBitmapComboBox without object client data. Fix the code added by this commit to work for all kinds of client data, including wxClientData_None. See #14892.

2013-04-30 01:00 VZ, revision 73879

Trying to blindly fix WebTestCase unit test failure. Navigate to about:blank initially, not "about:".

2013-04-29 14:54 VZ, revision 73878

Add empty paragraph in wxRichTextTable::AddColumns() and AddRows(). Do the same thing in Add{Columns,Rows}() as in CreateTable() to ensure the proper cell creation. Closes #15153,

2013-04-29 14:54 VZ, revision 73877

Add support for wxICON_AUTH_NEEDED to wxMessageDialog. Allow showing the standard "Authentication needed" dialog in the message boxes under MSW. Closes #15121.

2013-04-28 20:25 VZ, revision 73876

Really fix the problem with caret in wxGrid text editor under MSW. The problem (see #11681) was due to not allowing the native control handle the focus loss event. This, in turn, was due to the changes of r58969 which tried to work around a crash which happened if the grid was destroyed from the code of one of the user-defined event handlers called during the editor dismissal. Fix both problems at once by calling event.Skip() in OnKillFocus() to let the native handler have the event too and postponing the editor dismissal a little by calling DisableCellEditControl() indirectly from a posted event handler instead of immediately. As this reverts the now unnecessary changes of r64646, it closes #15162.

2013-04-28 20:25 VZ, revision 73875

No real changes, just make wxGridCellEditor accessors const. IsCreated(), GetControl() and GetCellAttr() should both be const, so make them so.

2013-04-26 22:00 VZ, revision 73870

wxOSX: store the menu title when inserting it in the menu bar. We "lost" the menu title if the menu was inserted, and not appended, to the menu bar, resulting wxMenuBar::GetMenuLabel[Text]() returning empty strings for it in this case.

2013-04-26 21:41 VZ, revision 73869

Remove "Windows only" mention from wxTE_PROCESS_ENTER documentation. This style works for wxComboBox under GTK and OS X as well.

2013-04-26 21:41 VZ, revision 73868

Test wxTE_PROCESS_ENTER in the combobox page of the widgets sample. Remove the unused "File name" checkbox in this page and put "Process Enter" one in its place to allow toggling wxTE_PROCESS_ENTER interactively to test whether it works as expected.

2013-04-26 21:41 VZ, revision 73867

Minor visual enhancement in the combobox page of the widgets sample. Expand the lower static box to align it with the upper one, otherwise they look really ugly, especially under Mac.

2013-04-26 18:48 RD, revision 73866

revert part of last change, run configure from the builddir or cwd, not from configure's location.

2013-04-26 08:37 RD, revision 73856

Add wxEVT_DIRCTRL_CHANGED

2013-04-26 08:37 RD, revision 73855

Changes needed to help builder.py be more generic and working well with other modules

2013-04-25 15:16 VZ, revision 73854

Fix generic wxDataViewToggleRenderer hit testing with any alignment. This change reverts the changes of r73835 and r73838 to wxDataViewToggleRenderer::WXActivateCell() and instead fix the bug with mouse hit testing in this function in the wxDataViewMainWindow::OnMouse() itself. The problem there was that it offset the coordinates of the event differently depending on whether the column alignment was set or left as default. Now always make the coordinates relative to the item (not cell) rectangle for compatibility with GTK+ native version, which is enough to make the original, i.e. before the changes of r73835, code work. See #15144.

2013-04-25 14:54 VZ, revision 73853

Fix compilation-breaking typo in the previous commit. s/LoadUrl/LoadURL/

2013-04-25 14:53 VZ, revision 73852

Fix wxWebView test setup failure under OS X. Call LoadUrl() after associating our custom event handler with the browser object as otherwise the wxEVT_WEBVIEW_LOADED event could be generated before we were set up to catch it, resulting in the assertion failure inside ENSURE_LOADED.

2013-04-25 13:56 VZ, revision 73851

Fix wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK event type name. Fix incorrect conflict resolution between the changes of r73823 and r73850: the first renamed wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICKED to wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK while the latter renamed it to wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICKED. The proper new name is wxEVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICK, use it instead.

2013-04-25 12:11 VZ, revision 73850

Provide shorter synonyms for wxEVT_XXX constants. Use the same short names as are used by the event table macros for the event type constants themselves. This makes them much more comfortable to use, e.g. Bind(wxEVT_BUTTON) compared to Bind(wxEVT_COMMAND_BUTTON_CLICKED). The old long names are still kept for backwards compatibility and shouldn't be removed as it doesn't really cost anything to continue providing them, but all new event types should only use the short versions. Closes #10661.

2013-04-25 11:35 VZ, revision 73849

Small fixes after wxHtmlTagHandler::GetParser() addition. Amend the changes of r73839: - Don't use covariant return type for wxHtmlWinTagHandler::GetParser() as VC6, which we still support, doesn't like it. Besides, this seems unnecessary. - Don't make GetParser() virtual at all as this doesn't appear to be necessary neither. - Add "@since 2.9.5" to the documentation of the new method.

2013-04-24 11:01 VZ, revision 73848

Fix showing back hidden columns and rows in wxGrid. While we don't support auto-sizing of the hidden columns and rows, we need to still show them back when SetColSize() or SetRowSize() is called with -1 (a.k.a. wxGRID_AUTOSIZE) argument.

2013-04-24 04:40 RD, revision 73841

Add documentation for some additional cell types so they can be seen in Phoenix

2013-04-24 04:40 RD, revision 73840

Add ctor for wxHtmlWinTagHandler

2013-04-24 04:40 RD, revision 73839

Add GetParser methods for the tag handlers

2013-04-23 13:56 VZ, revision 73838

Really fix hit testing in the generic wxDataViewToggleRenderer. The changes of r73835 fixed hit testing in horizontal direction but broke it in the vertical one as the computed checkbox rectangle was not relative to the cell rectangle as it should have been. Do fix this now. See #15144.

2013-04-22 12:45 VZ, revision 73837

Add wxSocketBase::GetSocket(). Provide direct access to the underlying socket descriptor. Closes #8829.

2013-04-22 02:32 VZ, revision 73836

Add test for correct short/long file names in wxDir. Verify that enumerating the files using the pattern *.foo doesn't match *.foo.bar files, as it used to do under MSW. See #3432.

2013-04-21 19:39 VZ, revision 73835

Fix hit testing in generic wxDataViewToggleRenderer. Handle clicks on the checkboxes in generic wxDataViewCtrl correctly by taking into account that the checkbox rectangle is centred inside the total cell rectangle. Closes #15144.

2013-04-21 19:18 VZ, revision 73834

Reset sorting column in generic wxDataViewCtrl properly. We could keep using the column previously used for sorting even after UnsetAsSortKey() was called on it. Ensure that this doesn't happen by resetting the owner wxDataViewCtrl sort column index too. Closes #15160.

2013-04-21 00:13 VZ, revision 73832

Add wxTextEntryDialog::SetMaxLength(). Allow restricting the maximal number of characters that can be entered in wxTextEntryDialog. Closes #15158.

2013-04-21 00:13 VZ, revision 73831

Standardize on using "Added" instead of "Add" in the change log. As all the other verbs were used in the infinitive and not past tense, do the same thing for this one too, especially as we already had a mix of both forms.

2013-04-19 12:47 VZ, revision 73824

EVT_TREE_STATE_IMAGE_CLICK is not Windows-only any more. State images in wxTreeCtrl are now supported under all platforms. See #9591.

2013-04-17 13:45 VZ, revision 73823

Remove "ED" suffix from EVT_DATAVIEW_COLUMN_HEADER_RIGHT_CLICKED. The naming of this macro was inconsistent with other similar macros in wxListCtrl and wxTreeCtrl and even EVT_DATAVIEW_COLUMN_HEADER_CLICK in wxDataViewCtrl itself. Moreover, it was even documented under the wrong name without "ED". Clear this mess by removing the "ED" suffix while still keeping the old macro name for compatibility.

2013-04-17 13:36 VZ, revision 73822

Document lack of wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK under OS X. The native versions don't contain any code to send it currently.

2013-04-17 13:31 VZ, revision 73821

Fix wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK name in the documentation. Unlike the corresponding event table macro, it doesn't have "ED" suffix.

2013-04-17 04:50 RD, revision 73817

Add missing interface items for Phoenix

2013-04-16 21:44 VZ, revision 73816

Document that wxPoint(wxRealPoint) ctor truncates, not rounds. Also give an example showing how to do rounding instead.

2013-04-13 01:45 RD, revision 73812

Ensure there is valid context for DrawRectangle

2013-04-11 18:54 VZ, revision 73809

Check that focused window is non-NULL before using it in wxComboCtrl. wxWindow::FindFocus() may return NULL, don't crash by attempting to dereference the pointer returned by it. Closes #15146.

2013-04-11 18:54 VZ, revision 73808

Add missing t_str() call to fix wxUSE_STL build after r73792. Don't rely on implicit conversion from wxString to wxChar* which is not available in all builds. Closes #15145.

2013-04-11 01:06 RD, revision 73807

also check for the SDK in subtrees used by newer XCodes

2013-04-10 14:12 VZ, revision 73806

Added chainable wxWizardPageSimple::Chain() overload. Add the simplest and most fool proof of chaining the pages in static wizards: just chain several calls to the new, non-static, wxWizardPageSimple::Chain() overload.

2013-04-10 02:51 RD, revision 73803

Cut is documented in wxTextEntry now

2013-04-10 02:01 RD, revision 73795

Add missing doc for Cut()

2013-04-09 08:52 SC, revision 73794
  • D /wxWidgets/trunk/src/stc/stc_cw.h
  • D /wxWidgets/trunk/src/stc/stc_cwc.h
  • D /wxWidgets/trunk/src/stc/stc_cwc_d.h
  • D /wxWidgets/trunk/src/stc/stc_cw_d.h

removing codewarrior support

2013-04-08 16:15 VZ, revision 73793

Use API_VERSION_NUMBER for debug help API version check. This symbol is not documented but seems to be defined in all the existing versions of imagehlp.h, so use it instead of relying on a hack with checkng whether DBHLPAPI symbol is defined.

2013-04-08 16:15 VZ, revision 73792

Support Unicode module names in wxDynamicLibrary::MSWGetModuleHandle(). The module names are not necessarily ASCII strings, so use wxString instead of "char*" and W-version of GetModuleHandle() if appropriate. See #15138.

2013-04-08 12:03 VZ, revision 73791

Remove rightarr.cur which doesn't exist any more from files list. This should have been part of r73491, see #14991.

2013-04-08 12:03 VZ, revision 73790

Check that files returned from wxDir::FindXXX() match the filter. Native Windows functions used by wxDir check the filter against both the short and the long name resulting in unexpected results, e.g. searching for "foo.baz" would find "foo.bazaar". Fix this by explicitly rechecking that we have a valid match ourselves. Closes #3432.

2013-04-05 23:11 VZ, revision 73789

Allow to customize wxGrid column auto-sizing. By default the columns are auto-sized to fit just their label, which is fast but not very user-friendly. Allow customizing this behaviour by handling the (new) wxEVT_GRID_COL_AUTO_SIZE event. Closes #15077.

2013-04-05 22:11 VZ, revision 73788

Use LF eol-style svn property for all Unix-only files. At least with some of them (e.g. tiffconf.h) using native EOLs under Windows confuses MinGW/MSYS and results in build failures. As all these files are only used under Unix or in Unix-like environments, use Unix EOLs for them everywhere.

2013-04-05 22:02 VZ, revision 73787

Basque translations update from Xabier Aramendi.

2013-04-05 17:55 JS, revision 73786

Don't reset URL if applying character style

2013-04-05 17:54 JS, revision 73785

Don't reset URL if applying character style

2013-04-05 06:01 RD, revision 73779

/dev/null may not exist, be smarter about it

2013-04-04 18:15 VS, revision 73778

Fix spurious errors about removing nonexistent files in wxrc.

2013-04-04 02:11 VZ, revision 73775

Document wxTextEntryDialog::SetTextValidator(). These methods exist since r15925 but were never documented. See #5420.

2013-04-04 02:11 VZ, revision 73774

Fix wxTextEntryDialog::GetValue() when using SetTextValidator(). Associating a validator with the text control in wxTextEntryDialog resulted in GetValue() always returning an empty string which was completely unexpected. Fix this by setting the value string manually to avoid interfering with any possibly used validators.

2013-04-03 20:13 VS, revision 73773

Use the same wxDEBUG_LEVEL settings for Xcode projects as elsewhere. Use the same debug flag default settings in the build/osx Xcode projects as are used by all other makefiles and projects - that is, wxDEBUG_LEVEL=1. This is done automatically by the headers, no need to define any extra symbols when building.

2013-04-03 04:08 RD, revision 73768

Add wxRect::SetPosition

2013-04-02 01:59 VZ, revision 73764

Don't use GetStandardCmdLineOptions() under non-Unix platforms. The GTK+ standard options are only available under Unix. Closes #15131.

2013-04-01 21:39 JS, revision 73763

Corrected code that re-encodes the book title.

2013-04-01 21:38 JS, revision 73762

Corrected code that re-encodes the book title.

2013-03-31 03:12 VZ, revision 73757

Make wxToolBar styles consistent and add wxTB_DEFAULT_STYLE. Don't include wxBORDER_NONE in neither wxToolBar ctor and Create() nor wxFrame::CreateToolBar() flags parameter, override GetDefaultBorder() in wxToolBar itself instead to use the border style appropriate for the current platform by default. This has the same effect -- the default border style is used unless another one is explicitly specified -- but is more clear and consistent. Also add wxTB_DEFAULT_STYLE for consistency with the other classes. Closes #15037.

2013-03-31 03:12 VZ, revision 73756

Remove wxTextCtrl::OnEnabled() hack from wxGTK. Don't change the background colour when the control is being enabled or disabled, it doesn't seem necessary and it's unclear why was this added by r10179 in the first place. It does result in problems however as it could somehow make the selection of wxTextCtrl invisible when it lost focus and so fixes a serious usability problem which happened to all wxTextCtrls for which a wxEVT_UPDATE_UI handler using wxUpdateUIEvent::Enable() was defined. Closes #14898.

2013-03-31 03:12 VZ, revision 73755

Explicitly trigger wxNotebook layout in wxMSW to ensure it is correct. Due to an apparent bug in the native control implementation, space could be reserved for the second row of tabs even when the notebook was big enough to need it. Sending it an extra WM_SIZE seems to be enough to fix this. Closes #1792.

2013-03-31 03:12 VZ, revision 73754

Added wxSearchCtrl to list of currently non-native wxGTK controls. It could be implemented using the native GtkSearchEntry in GTK+ 3.

2013-03-31 03:12 VZ, revision 73753

Fix the style value in wxWizard::Create() documentation. Somehow the raw value was used instead of the symbolic constant. Closes #15130.

2013-03-31 03:12 VZ, revision 73752

Fix the header to be included in wxStringTokenizer documentation. See #15130.

2013-03-31 03:12 VZ, revision 73751

Document wxDateTime arithmetic operators. wxDateTime::operator+() and operator-() were not documented, do it now. Also fix the return value of wxDateTime::Add(). See #15130.

2013-03-31 03:11 VZ, revision 73750

Document wxDataView{List,Tree}Ctrl as only available since 2.9.0. See #15130.

2013-03-31 03:11 VZ, revision 73749

Remove wx{File,Dir}PickerCtrl::CheckPath() declaration. This function wasn't defined, so don't declare it neither. This should have been part of r72475.

2013-03-31 03:11 VZ, revision 73748

Remove remaining occurrences of wxUSE_XPM_IN_MSW. This symbol is not used since a very long time as XPM support is now always available in wxMSW and most of its occurrences were removed almost 10 years ago, just remove the remaining ones too.

2013-03-31 03:11 VZ, revision 73747

Add a comment with links to proper command line parsing rules. No real changes, just added a comment with links to the descriptions of the correct rules that we should use in ConvertStringToArgs().

2013-03-29 20:53 VZ, revision 73737

Fix program not shutting down when using Ubuntu app menu. Ensure that an idle event is generated after a menu event even when the latter comes, via DBUS, from the out of process app menu and not from a real GTK menu. Closes #15122.

2013-03-29 20:53 VZ, revision 73736

Mention the relationship of wxDocument::Activate() with Raise(). Also provide an example of a custom overridden Raise(). See #15120.

2013-03-29 20:53 VZ, revision 73735

Minor documentation corrections in wxBookCtrlBase. Use the correct preposition in "set selection to the given page". See #15125.

2013-03-29 20:53 VZ, revision 73734

Added wxBookCtrlBase::FindPage(). Add helper function to find the index of the given page. Closes #15125.

2013-03-28 00:10 VZ, revision 73731

Fix assert when constructing invalid wxGBSpan inside wxWidgets itself. Various wxGridBagSizer methods returning wxGBSpan asserted when trying to construct an invalid wxGBSpan as its components must now (since r66964) be positive. Fix this by adding a special new method to wxGBSpan for constructing such invalid spans and use it now. Closes #15124.

2013-03-28 00:10 VZ, revision 73730

Add wxDocManager::FindDocumentByPath() helper. Simply refactor the code which already existed inside wxDocManager in a new public method. Closes #15126.

2013-03-28 00:10 VZ, revision 73729

Fix display of empty wxStaticBoxSizers. wxStaticBoxSizer should be considered shown if its static box is shown, even if it has no elements (or all of them are hidden). Closes #14698.

2013-03-26 12:00 VZ, revision 73720

Add wxDocument::Activate() method. Make activating the first (and, in the vast majority of cases, the only) view of the document easier. Closes #15120.

2013-03-26 12:00 VZ, revision 73719

Initialize Unicode code when generating wxEVT_CHAR_HOOK in wxMSW. Use the fixed value of 0 for the keys without Unicode equivalent instead of whatever junk was there in the uninitialized variable.

2013-03-26 12:00 VZ, revision 73718

Use WXK_DELETE as Unicode key code for VK_DELETE in wxMSW. U+007F is a Unicode character so we should set Unicode key code to this value for VK_DELETE presses. This also makes wxMSW consistent with wxGTK. Closes #3458.

2013-03-26 01:59 VZ, revision 73717

Use wxCONTROL_PRESSED instead of wxCONTROL_SELECTED in wxOSX renderer code. wxCONTROL_SELECTED is supposed to only apply to the selected items in a listbox and similar cases whereas the buttons use wxCONTROL_PRESSED flag to indicate whether they are toggled. Correct the code in wxRendererMac to use the latter, for consistency with the other platforms.

2013-03-26 01:59 VZ, revision 73716

No changes, just remove wxGtkIMData forward declarations. This class doesn't exist any more, so clean up references to it. See #3158.

2013-03-22 18:03 PC, revision 73708

fix GTK3 build

2013-03-22 15:13 VZ, revision 73707

Add GdkEventKey declaration fix PCH-less build. Declare it in wx/gtk/textentry.h too, not only wx/gtk/window.h.

2013-03-21 23:37 VZ, revision 73695

Add IM and full wxEVT_CHAR support to wxTextCtrl and wxComboBox in wxGTK. Generate wxEVT_CHAR events for non-ASCII characters entered in these controls by intercepting their insert-text signal. Also try to use GtkEntry/GtkTextView internal IM objects but unsuccessfully so far. Closes #3158.

2013-03-21 23:37 VZ, revision 73694

Allow using either single or multi line wxTextCtrl in keyboard sample. These controls are implemented quite differently in wxGTK, so it's convenient to be able to test both of them in the sample to check that they both behave correctly.

2013-03-21 23:37 VZ, revision 73693

Refactor wxGTK IM-related code to allow future modifications. No real changes, just make it possible to use a different IM than the one allocated in wxWindow for input handling. This will be used in the upcoming changes to wxTextEntry and the related classes. See #3158.

2013-03-21 23:36 VZ, revision 73692

Tweak wxGTK keyboard handling to allow accelerators to work again. Accelerators were broken by the changes of r72640 which were done to ensure that the focused window gets the keyboard event first, before its top level parent. Fix them now by still passing the events to the focused window first but also passing them to the parent top level if it hasn't been handled by the focused child. Unfortunately this is still not fully compatible with wxMSW because in wxGTK wxEVT_CHAR handler must skip the event in order to allow the accelerator using the same key to work, while in wxMSW the accelerator can only be suppressed by overriding wxWindow::MSWShouldPreProcessMessage(). We will need to make the two ports behave in the same way when the event is not skipped in the future. But for now, at least make them both behave correctly when the handler does skip the event. Closes #14553.

2013-03-21 23:36 VZ, revision 73691

Use flat generic status bar by default and add wxSB_SUNKEN. GTK+ applications don't use sunken status bars since many years, do don't do it in wxWidgets neither by default any more. Add wxSB_SUNKEN style that can be explicitly used if the old appearance is desired. Closes #15009.

2013-03-21 23:36 VZ, revision 73690

Disable Unity global menu while native modal dialogs are shown in wxGTK. We need to use wxOpenModalDialogLocker even with native GTK+ dialogs to prevent the menu commands from being available while they're shown, so do it in wxMessageDialog and wxColourDialog which call gtk_dialog_run(). Closes #14823.

2013-03-21 23:36 VZ, revision 73689

Create a small helper class for Unity global menu bug workaround. Encapsulate the code temporarily incrementing wxOpenModalDialogsCount in a small helper class to make it easier to reuse it elsewhere. See #14823.

2013-03-21 23:36 VZ, revision 73688

No changes, just remove an unused line of code. Fix g++ warning about initialized but unused variable in wxRTC code.

2013-03-19 16:43 VZ, revision 73687

Add missing space to fix r73681 changes. We need a space between the command and stderr redirection to avoid the "2" from being taken as part of the last option on the command line.

2013-03-19 03:58 VZ, revision 73682

Fix WM_UNINITMENUPOPUP missing definition for VC6. The previous workaround of defining it explicitly if it's not defined was left in src/msw/frame.cpp while the code using WM_UNINITMENUPOPUP was moved to src/msw/toplevel.cpp in r73562. Move the fallback definition there too.

2013-03-19 03:55 VZ, revision 73681

Suppress error output from Unix system information functions. Redirect stderr to /dev/null in wxGetCommandOutput() to avoid errors from the shell if the command we're trying to run doesn't exist.

2013-03-19 00:32 JS, revision 73680

Make sure include doesn't get overwritten when code regenerated

2013-03-18 21:41 RD, revision 73679

fix compilation problem

2013-03-18 21:21 JS, revision 73678

Fixed help for symbol picker and style manager dialogs

2013-03-18 13:07 JS, revision 73677

Added control over whether size and position units can be changed, and also size and position checkboxes.

2013-03-17 13:10 VZ, revision 73676

Fix minor typo in wxDV_VERT_RULES documentation. Don't say "is supported" when meaning "if supported" and, in fact, remove this part entirely as these styles are supported by all implementations.

2013-03-17 09:14 JS, revision 73675

Corrected clipboard data id

2013-03-17 09:13 JS, revision 73674

Corrected clipboard data id

2013-03-16 20:36 JS, revision 73673

Fixed centering/right alignment of last line

2013-03-16 18:27 VZ, revision 73672

Don't create temporary file in wxDebugReport ctor. Just use wxFileName::GetTempDir() instead of creating a file in the temporary directory and then using its path. Closes #15103.

2013-03-15 11:21 JS, revision 73665

Fixed a wxRichTextCaret refresh bug

2013-03-14 23:32 JS, revision 73664

Corrected wxRichTextCaret refresh

2013-03-14 22:04 JS, revision 73663

We need to switch off UI elements before they are laid out. Do this via static functions.

2013-03-13 14:47 VZ, revision 73648

Remove obsolete parts of autoconf_inc.m4. This file has accumulated a lot of condition checks which were not relevant any more, remove and recreate it (by running bakefile_gen) to get rid of them. Closes #15101.

2013-03-13 10:05 JS, revision 73647

Fixed some warnings

2013-03-12 21:54 JS, revision 73646

Added ability to switch off more components of the size page UI

2013-03-12 14:33 JS, revision 73645

Fixed UI customization helper

2013-03-11 19:03 JS, revision 73644

Search for font instead of creating it each time

2013-03-11 19:02 JS, revision 73643

Added missing RTTI

2013-03-11 11:08 SC, revision 73642

more specific solution to tooltips appearing on neighboring views, refs #15072

2013-03-10 23:13 SC, revision 73641

supporting also mouse entered / exited events which are not sent to the deepest child window, refs #15072

2013-03-10 22:14 SC, revision 73640

support alpha in color dialog, see #14127

2013-03-10 22:12 SC, revision 73639

make sure dialogs can support alpha transparency sliders

2013-03-10 21:36 SC, revision 73638

add support for alpha in color dialog on OSX, see #14127

2013-03-10 20:02 SC, revision 73637

avoid multiple mouse moved events, refs #15072

2013-03-10 15:20 SC, revision 73636

trying to solve cursor update problems with AUI, refs #15072

2013-03-10 02:09 VZ, revision 73635

Disable sorting of generic wxDataViewCtrl while it is frozen. Don't sort the contents of wxDataViewCtrl while it is frozen and resort it only when it is thawed. This dramatically speeds up adding items to the control when sorting is used as we only sort it once now instead of doing it after adding every item. Closes #14073.

2013-03-10 02:09 VZ, revision 73634

Use symbolic constants instead of magic numbers in wxDataViewCtrl code. No real changes, just add SortColumn_XXX symbolic constants which are somewhat more clear than -1 and -2 used before. Although the code based on the global variables remains as bad as before.

2013-03-09 16:08 VZ, revision 73633

Add GetFile() accessor to wxFileStream classes. Allow to retrieve the underlying file used by the stream. Closes #15093.

2013-03-09 16:08 VZ, revision 73632

No real changes, just use wxString::clear() instead of assignment. Consistently use clear() everywhere instead of assigning wxEmptyString in some places and wxT("") in some others to a string in order to clear it. See #15091.

2013-03-09 16:08 VZ, revision 73631

Return false from wxFileName::AppendDir() and InsertDir() on failure. Give the caller a way to know whether the directory was valid or not. Closes #15091.

2013-03-09 16:08 VZ, revision 73630

Use generic spin control itself as parent for its children. This fixes a problem with using wxSpinCtrlGeneric in toolbars under wxOSX, using the toolbar itself (i.e. the parent of the spin control) as parent for the children didn't work there and no windows were visible at all. Also use wxNavigationEnabled as base class of wxSpinCtrlGeneric to fix keyboard navigation. And override SetBackgroundColour() to set it for the text control part of the spin control only. Closes #15016.

2013-03-09 16:08 VZ, revision 73629

Implement support for pen cap and join in wxPostScriptDC. Use PostScript "setlinecap" and "setlinejoin" commands to do it. Closes #1244.

2013-03-09 16:08 VZ, revision 73628

Test PostScript printing in the print sample if it is compiled in. Just use wxUSE_POSTSCRIPT instead of wxTEST_POSTSCRIPT_IN_MSW and also do it under all platforms, not just MSW. See #1244.

2013-03-09 16:08 VZ, revision 73627

Fix compilation with MinGW -std=c++11 option. With this option _strdup() is not available, so update the code defining wxCRT_StrdupA() to check for __WX_STRICT_ANSI_GCC__. Also try to simplify it a bit and make it more clear. Closes #15011.

2013-03-09 16:08 VZ, revision 73626

Fix compilation for MinGW with wxUSE_IPV6==1. MinGW doesn't provide wspiapi.h header, so only include it when using MSVC and include ws2tcpip.h which directly declares the functions used for the other compilers. This doesn't have quite the same semantics but it's better than failing to compile at all. See #15005.

2013-03-09 16:08 VZ, revision 73625

Don't cache HDC used by wxPaintDCEx in wxMSW. This avoids the problem with mistakenly using wrong HDC in wxBitmapComboBox code which was due to assuming that we can only ever have one paint HDC for the given window -- while in wxBitmapComboBox case we are passed different HDCs for the same window via WM_DRAWITEM. Instead of fixing the cache, just don't use it at all for wxPaintDCEx as we don't gain anything from doing it anyhow. Closes #14842.

2013-03-09 16:08 VZ, revision 73624

Fit the generic preferences editor dialog to its pages size initially. Ensure that the dialog has the appropriate size before showing it. In addition to making it big enough to fit the pages contents, this also fixes a problem with initial appearance under MSW. Closes #15092.

2013-03-09 16:08 VZ, revision 73623

Don't set cell value in wxDataViewEvent in one place only. We should either set the cell value in the event object everywhere or not do it anywhere and as currently the native GTK and OS X versions don't do it at all and the generic version only does it for ITEM_CONTEXT_MENU events, it's easier to not do it at all. See #14163.

2013-03-09 16:07 VZ, revision 73622

Remove wxLogWindow::OnFrameCreate() virtual method. This method couldn't be overridden by the classes deriving from wxLogWindow because it was called (indirectly) from wxLogWindow ctor itself and so was completely useless. Just remove it to avoid confusion. Closes #12763.

2013-03-09 16:07 VZ, revision 73621

Restore wxDIRCTRL_SHOW_FILTERS flag of wxDirCtrl. Closes #8572.

2013-03-07 22:41 SC, revision 73614

avoid infinite recursion for richtooltops, (hopefully) fixes #15070

2013-03-06 22:00 SC, revision 73610

implementing canBecomeKeyView for user panes, native focus support, fixes #15070

2013-03-05 07:50 RD, revision 73604

Minor tweaks to the preferences docs for Phoenix.

2013-03-05 07:50 RD, revision 73603

don't use string module

2013-03-04 19:19 VZ, revision 73602

Unselect all wxDataViewCtrl items when clicking outside of the item area. This is consistent with Windows behaviour and as the generic wxDataViewCtrl is mostly used under Windows, it makes sense to follow Windows convention in it. Closes #15082.

2013-03-04 12:48 VZ, revision 73601

Fix crash on wxDataViewCtrl creation after r73565. Initialize m_clientArea to NULL to avoid crash in SetFont() which is called during the control creation. This might still be not 100% correct as the initial font is not set at all for the client area but at least it fixes the crash. See #15056.

2013-03-04 11:47 JS, revision 73600

Corrected layout when scaling the control

2013-03-03 23:44 VZ, revision 73599

Fix handling of wxST_NO_AUTORESIZE in wxOSX. We do need to set the size of wxStaticText initially even when this style is specified, it only tells us to not update it later. Otherwise even the initial label was never shown in full.

2013-03-03 23:44 VZ, revision 73598

Fix hundreds of unused parameter warnings in wxOSX build. Comment out the name of the parameter in the recently added SetupTabs().

2013-03-03 18:23 SC, revision 73597

issue NUMPAD constants only for Key but not for Char events, fixes #15073

2013-03-03 13:19 VZ, revision 73596

Revert "Fix off by 1 error in wxGenericListCtrl::HitTest()." Revert r73563, this breaks the selection in the control apparently. See #15063.

2013-03-02 14:01 SC, revision 73595

enabling cursor events, fixes #15044

2013-03-02 13:11 VZ, revision 73594

Reset accelerator table after removing last accelerator in wxMSW wxMenuBar. We didn't update the accelerator table if no more accelerators were left in it but we still need to do it to stop handling the previously active accelerators. Closes #15078.

2013-03-02 13:11 VZ, revision 73593

Use more native icons in wxMSW wxArtProvider. Use SHGetStockIconInfo() and SHGetFileInfo() to look up some icons. Closes #15068.

2013-03-02 13:11 VZ, revision 73592

Enable wxUSE_FSVOLUME in configure builds. This was never set to 1 when using configure, add a configure option for it and set it to 1 by default now.

2013-03-02 13:11 VZ, revision 73591

Don't give error message for non-existent paths in wxFileSystemWatcher. The file we're trying to watch might have been just deleted, this is an unavoidable (and not only in theory but also in practice when watching busy directories) race condition so don't give an error message if this does happen but simply return false from Add(). Closes #15051.

2013-03-02 13:11 VZ, revision 73590

Interpret wxRect passed to wxRichToolTip::ShowFor() as client coords. It makes more sense to use the window coordinates here instead of the screen ones. Closes #15060.

2013-03-02 13:11 VZ, revision 73589

Make wxRect parameter of wxRichToolTip::ShowFor() const. This parameter is read-only, so accept a const pointer here. See #15060.

2013-03-01 14:00 VZ, revision 73588

Traditional Chinese translations update from Wei-Lun Chao.

2013-03-01 13:21 VZ, revision 73587

Don't use GetThreadId() in wxMSW code. Revert r73585, GetThreadId() is only available in Vista or later so don't use it. Just cast the handle to an integer explicitly to be able to print it with "%x".

2013-02-28 21:41 VZ, revision 73585

Use thread ID and not thread handle in the error messages in wxMSW. The ID is in general more useful than the handle and this also fixes an assert failure due to mismatch between the HANLDE type and "%x" format specifier.

2013-02-28 19:11 SC, revision 73580

enabling menu close event, fixes #15069

2013-02-28 18:23 JS, revision 73579

Corrected loading of images: we need the parent size to compute initial object size

2013-02-28 17:53 VS, revision 73578

Compilation fix for wxPreferencesPage.

2013-02-28 17:29 VS, revision 73577

Add preferences sample.

2013-02-28 17:29 VS, revision 73576

Add wxPreferencesEditor class. Implements native UI for preferences editing. In particular, the API handles the differences between modal (Windows) and non-modal (OS X) preferences windows and provides platform's native look. Currently implemented natively for wxOSX/Cocoa, wxGTK and Windows (the latter is used as a fallback generic implementation as well).

2013-02-28 17:28 VS, revision 73575

Add support for Cocoa's selectable toolbar items. The support is currently limited to making all toolbar items selectable and is only available in wxOSX with Cocoa and native toolbars.

2013-02-28 17:28 VS, revision 73574

Add wxBitmap(NSImage*) ctor to wxOSX.

2013-02-28 15:29 VS, revision 73573

Line endings fixes in bakefile-generated files.

2013-02-28 14:31 VS, revision 73572

Don't include Common-Controls manifest in wxBase apps. If only the non-GUI portions of wxWidgets are used, the dependency on Microsoft.Windows.Common-Controls assembly shouldn't be automatically added to Visual C++. Only do it when compiling GUI code.

2013-02-27 13:05 SN, revision 73571

No real changes, just spelling fixes to comments. Closes #15030.

2013-02-27 09:12 SJL, revision 73570

Minor change. Fix LoadURL case typo in wxWebView docs. Closes #15067

2013-02-24 14:48 VZ, revision 73568

Fix, or at least make less common, deadlock in the thread sample. Don't always deadlock when "Stop the last spawned thread" menu command is selected. There is still a problem with a race condition which could result in a crash when dereferencing an invalid pointer, but at least this doesn't happen all the time, unlike the current bug. Of course, the real solution would be to properly rewrite the sample to show how thread deletion should be handled correctly... See #14891.

2013-02-24 14:48 VZ, revision 73567

Preserve client data pointers when setting bitmaps in wxBitmapComboBox. Changing the bitmap could recreate the control if the height of the bitmap changed but recreating wxBitmapComboBox lost all the client data pointers. Do preserve them now when recreating. Closes #14892.

2013-02-24 14:48 VZ, revision 73566

Fix typo in definitions of BEGIN_EVENT_TABLE_TEMPLATEn() macros with n>=2. They were all defined as wxBEGIN_EVENT_TABLE_TEMPLATE1() instead of the correct wxBEGIN_EVENT_TABLE_TEMPLATEn(). Closes #15050.

2013-02-24 14:48 VZ, revision 73565

Make wxGenericDataViewCtrl::SetFont() really work. Do use the new font for the items display. Closes #15056.

2013-02-24 14:48 VZ, revision 73564

Fix compilation in !wxUSE_MENUS case. wxFrameBase::ShouldUpdateMenuFromIdle() should be defined inside "#if wxUSE_MENUS" as it's only declared when wxUSE_MENUS==1. Closes #15062.

2013-02-24 14:48 VZ, revision 73563

Fix off by 1 error in wxGenericListCtrl::HitTest(). Account for the header height if the header is present. Closes #15063.

2013-02-24 14:48 VZ, revision 73562

Move menu messages handling from wxFrame to wxTLW in wxMSW. This allows to generate the menu open/close/highlight events correctly for the popup menus used in the dialogs. Extend the menu sample with a test using such menus.

2013-02-22 06:59 RD, revision 73554

Fix MSVCBuilder so it can pass an alternate make command to the Builder

2013-02-22 06:59 RD, revision 73553

Enable using jom in place of nmake in the wxMSW build

2013-02-22 06:59 RD, revision 73552

Add version check for MSVC 10

2013-02-21 15:32 VZ, revision 73549

Fix crash when drawing bitmaps with mask in wxGTK with GTK+ < 2.20. r73386 introduced a crash in wxGTK drawing code when using old GTK+ versions by releasing the mask pixmap prematurely. Apparently GTK+ itself was fixed at some time in 2.19.x time frame but work around the bug for the sake of older GTK+ versions in wxGTK itself by simply releasing the pixmap at the end of DoDrawBitmap(), as pre-r73386 code did.

2013-02-21 14:22 VZ, revision 73548

No real changes, just suppress a harmless warning. g++ warned about possibly uninitialized variable, so initialize it in its declaration even if it was actually already always initialized in the branches where it could be used.

2013-02-20 00:13 VZ, revision 73543

Fix background corruption in scrolled wxHtmlWindow. Draw the background on the entire virtual size, not just the currently shown client size. Closes #15047.

2013-02-17 17:17 SC, revision 73533

applying patch, closes #13045

2013-02-17 15:54 SC, revision 73532

switching notebook implementation to common

2013-02-15 13:40 VZ, revision 73521

Remove wxRTTI macro for wxComboBox from Motif port. This is now done in src/common/combocmn.cpp.

2013-02-15 13:40 VZ, revision 73520

Don't use ternary operator ?: with wxString and literal strings. This results in warnings about converting string literal to (non const) C string. Also remove the now unneeded calls to c_str() inside wxString::Printf().

2013-02-15 13:40 VZ, revision 73519

sAlways iInclude wx/encinfo.h from src/unix/fontutil.cpp. We use wxNativeEncodingInfo in this file, so we always need this header, not just when not using PCH.

2013-02-15 13:40 VZ, revision 73518

Don't connect to the same signal multiple times in wxGTK wxClipboard. We called g_signal_connect("selection_get") in wxClipboard code each time its AddData() method was called. This resulted in progressive but noticeable slowdown as the handler was called more and more times. Only connect to the handler once now. Closes #15038.

2013-02-14 09:07 SC, revision 73517

closes #13841

2013-02-13 20:31 SC, revision 73516

adding CoreText

2013-02-13 20:29 SC, revision 73515

updating dates, fixing product name

2013-02-13 20:28 SC, revision 73514

using default compiler

2013-02-12 20:14 SC, revision 73512

making sure cfbundle identifier has correct characters

2013-02-12 12:49 SC, revision 73510

added new files

2013-02-12 12:18 SC, revision 73509

added new files

2013-02-12 11:51 SC, revision 73508

added new files

2013-02-12 11:49 SC, revision 73507

adding lexlib header include, turning off utf8 default

2013-02-12 11:34 SC, revision 73506

missed the ppc switch

2013-02-12 11:33 SC, revision 73505

increasing deployment to 10.5 min

2013-02-12 08:30 RD, revision 73504

Fix missing or incorrect wxGrid interface items for Phoenix

2013-02-10 17:14 VZ, revision 73495

Account for scrolling when setting the background brush origin in wxMSW. We must use physical coordinates for the brush origin to account for the coordinates offset in scrolled windows, so add MSWAdjustBrushOrg() and call it from MSWGetBgBrushForChild(). Closes #14917.

2013-02-10 17:13 VZ, revision 73494

No changes, just factor out PrepareDC() call in the erase sample. Call this only once in DoPaint() itself instead of calling it twice before calling it. See #14917.

2013-02-10 17:13 VZ, revision 73493

Erase the entire virtual area of the window in the erase sample. Just clearing the DC is not enough when the window is scrolled, so clear the entire virtual area. We should be able to optimize it by clearing just the rectangle currently scrolled into view but this is at least correct, i.e. doesn't result in corrupted display, even if it's suboptimal. See #14917.

2013-02-10 17:13 VZ, revision 73492

Compilation fix for !wxHAS_MSW_BACKGROUND_ERASE_HOOK case. This doesn't actually change anything as wxHAS_MSW_BACKGROUND_ERASE_HOOK is always defined, except under WinCE where this file is not used anyhow, but do test it here for completeness.

2013-02-10 17:13 VZ, revision 73491

Create wxCURSOR_RIGHT_ARROW on the fly from normal arrow cursor under MSW. This allows to avoid having another cursor resource and also makes this cursor nicer as rightarr.cur looks rather out of place under modern Windows systems. Closes #14991.

2013-02-10 17:13 VZ, revision 73490

Create new tab at the correct location in wxAuiNotebook. Create the new tab in wxAuiTabCtrl that was double clicked and not near the last selected tab which could have been in another wxAuiTabCtrl. Closes #14995.

2013-02-10 17:13 VZ, revision 73489

Add wxIcon::CreateFromHICON() to wxMSW. Provide a public method properly assigning an HICON to wxIcon, instead of asking people to call SetHICON() and SetSize(). Closes #15023.

2013-02-09 12:11 VZ, revision 73488

Don't call ::GetLayout() in wxMSW code directly. Use wxMSW::GetLayout() wrapper to avoid directly binding to a function not present in old Windows versions and also to fix linking errors with MinGW after the changes of r73484. See #3995.

2013-02-09 01:36 VZ, revision 73487

Fix infinite loop in wxGrid::PosToEdgeOfLine(). Return -1 from wxGridRowOperations::GetLineBefore(0) to ensure that we exit the loop in wxGrid::PosToEdgeOfLine(). Doing this is the logical thing to do as wxGridColumnOperations::GetLineBefore() already behaved like this and this was is more expected than returning 0, as the function previously did for some reason. Closes #15035.

2013-02-09 01:35 VZ, revision 73486

Fix pulsing of bitmaps in focused buttons under Windows 7. It turns out that the actual bitmap shown in this case varies between the bitmaps at PBS_DEFAULTED and PBS_STYLUSHOT, so that it's invisible half of the time if we don't specify the value for the latter. Do it now to fix unwanted pulsing of the bitmap in the focused button. Closes #15034.

2013-02-09 01:35 VZ, revision 73485

Refresh wxMSW wxStaticBitmap when its size changes. As MSW native control centers the image, it must be entirely redrawn when the area in which the image is centered changes, but it doesn't happen by default, so do it ourselves explicitly. Also explain that this centering behaviour is platform-specific and shouldn't be relied upon. Closes #4564.

2013-02-09 01:35 VZ, revision 73484

Fix drawing of bitmaps with masks in mirrored wxDC. The mask must be mirrored in the same way as the main bitmap itself (currently it's not mirrored at all but this could change in the future), so create the temporary memory HDC with the same layout as is used by the main HDC. Closes #3995.

2013-02-09 01:35 VZ, revision 73483

Don't include the manifest in wx/msw/wx.rc by default for MSVC compiler. The later versions of this compiler don't need it any more, so make it easier to set up the projects for them at the expense of MSVC 6 and 7 users who will now need to explicitly define wxUSE_RC_MANIFEST=1 and predefine the architecture macro (or setup their resource compiler include path to get wx/msw/rcdefs.h under the lib directory but predefining the architecture is clearly simpler). Do generate manifest when using gcc as it predefines the architecture macros allowing us to avoid requiring using the generated rcdefs.h. The other compilers will be dealt with as needed if anybody is still using them.

2013-02-06 13:48 VZ, revision 73482

Don't recurse into top level children when validating recursively. Even with wxWS_EX_VALIDATE_RECURSIVELY flag, we should never validate the top level children (e.g. dialogs) when validating the parent window. This is never useful and can be completely unexpected.

2013-02-06 13:48 VZ, revision 73481

Refactor children traversal in wxWindow::TransferData{To,From}Window(). No real changes, just factor out the logic for children traversal into a helper template class and reuse it in Validate() and both TransferData() methods to avoid triplicating it.

2013-02-06 13:46 VZ, revision 73480

Allow creating wxCursor from ANI files under MSW. Simply pass them to the standard LoadCursorFromFile() function which supports this format. Closes #3472.

2013-02-06 13:43 VZ, revision 73479

Don't show log menu tiems in the tree control sample when !wxUSE_LOG. No real changes, just correct the "#if wxUSE_LOG" placement. See #4024.

2013-02-06 01:42 VZ, revision 73478

Fix harmless warning about NULL in wxStyledTextCtrl code. Cast NULL to the type of third argument of SendMsg() explicitly to avoid a warning about it from Ubuntu g++ 4.6.

2013-02-06 01:42 VZ, revision 73477

Fix harmless g++ warning about operator precedence. Add parentheses to suppress "&& inside ||" warning.

2013-02-06 01:42 VZ, revision 73476

Check for _MSC_VER definedness in libtiff code. This avoids warnings about _MSC_VER being undefined when it's compared with 1500 when building with gcc.

2013-02-05 21:47 VZ, revision 73475

Fix printf format specifier in graphics benchmark. Use "%ld" for long arguments to fix asserts under 64 bit architectures.

2013-02-05 21:47 VZ, revision 73474

Added possibility to use OpenGL for bitmap drawing to graphics benchmark. Draw the bitmap using OpenGL textures. Even without using PBO this results in much greater performance than using wxImage or raw bitmap access.

2013-02-05 21:47 VZ, revision 73473

Use a non-uniform bitmap for image tests in the graphics benchmark. This makes it easier to estimate the speed of the display update visually.

2013-02-05 21:47 VZ, revision 73472

No changes, just rename command line option in graphics benchmark test. It's not used for lines only, so call it "number of iterations" and not "number of lines" and use "N" instead of "L" option for it.

2013-02-05 21:47 VZ, revision 73471

Add benchmarks for wxImage and raw bitmap access to the graphics test. Compare the speed of drawing the bitmaps by synthesizing wxImage and converting it to wxBitmap and directly modifying wxBitmap bits using raw bitmap access.

2013-02-05 21:47 VZ, revision 73470

Allow selecting the kinds of DC to test in the graphics benchmark too. Still run all the tests by default but allow specifying --dc or --gc as well as --paint, --client or --memory to test just the specified kinds of DCs.

2013-02-05 21:46 VZ, revision 73469

No real changes, just flush output in the graphics benchmark. Show the output messages sooner instead of showing them all only when the test ends.

2013-02-05 21:46 VZ, revision 73468

Run wxClientDC and wxMemoryDC tests too in the graphics benchmark. These tests were not run because OnPaint() handler was called before OnCreate() and exited the main loop before the create event could be dispatched. Fix this by just running everything from OnPaint(), like this we're sure to do it. Also refactor the code a little to avoid duplicating the tests.

2013-02-05 21:46 VZ, revision 73467

Allow running only some graphics benchmarks to save time. Running all the benchmarks is relatively long, so allow running individual ones only.

2013-02-05 21:46 VZ, revision 73466

Ignore empty LC_XXX variables in locale detection code. If LC_ALL or LC_MESSAGES is set but empty, ignore it and use the next environment variable. This is consistent with the standard setlocale() behaviour which only uses LC_ALL if it is set and not empty. Closes #15006.

2013-02-05 21:46 VZ, revision 73465

Fix spelling in utils/screenshotgen sources. No real changes. Closes #15024.

2013-02-05 21:46 VZ, revision 73464

No changes, just remove unused part of expression. We don't do anything with the result of inserting the watch in fswatchercmn.cpp. Closes #15027.

2013-02-05 21:46 VZ, revision 73463

Add simple tests for Scintilla annotations to the stc sample. Show how add, remove and clear annotations and also how to update the text width when long annotations are added.

2013-02-05 21:46 VZ, revision 73462

Use a single EVT_MENU_RANGE in stc sample instead of tons of EVT_MENU. Make it easier to add new menu items forwarded to the editor in the sample. No real changes.

2013-02-05 21:46 VZ, revision 73461

Only impose minimal height for buttons with non-empty label in wxMSW. wxBU_EXACTFIT in wxMSW only affected the width of the button but not its height, which was still made as big as the standard button size as otherwise the button text was rendered badly. However there is no reason to do this for the buttons without any text, so let wxBU_EXACTFIT be really exact, in both directions, in this case. Also document this rather non obvious wxBU_EXACTFIT behaviour.

2013-02-05 21:46 VZ, revision 73460

Really fix resizing of wxGird column/rows after a hidden one. The previous fix (r73399) broke resizing from the side of the preceding grid line, restore the old code and just add a loop finding the first visible line before the one being clicked. See #14947.

2013-02-05 21:46 VZ, revision 73459

Fix wxGridColumnOperations::GetLineBefore() for the first column. We should return -1 from here as there is no column before the first one and wxGridRowOperations::GetLineBefore() already does this.

2013-02-04 17:16 VZ, revision 73456

Avoid harmless warning about comparing unsigned with 0. Fix warning in assert in wxProcess::SetPriority(): don't compare unsigned priority with wxPRIORITY_MIN which is just 0, the condition is always true. Closes #14931.

2013-02-04 14:54 JS, revision 73455

Invalid conversion compile error fix (GTK+ 2.12.9)

2013-02-04 13:52 JS, revision 73454

Added support for sub-object virtual attributes (temporary attributes for characters within objects) and also virtual text that can replace the actual text.

2013-02-01 10:38 SJL, revision 73453

Rename all WEB_VIEW* style identifiers to WEBVIEW*. This makes wxWebView consistent with the rest of the toolkit. Closes #15013

2013-01-27 15:49 SN, revision 73445

No changes, just remove unneeded variable initialization in carbon listctrl. Closes #14997.

2013-01-27 15:42 SN, revision 73444

No real changes, just spelling fixes. Closes #14998.

2013-01-27 15:41 SN, revision 73443

No real changes, cleaned up whitespace, fixed spelling. See #14998.

2013-01-27 15:30 SN, revision 73442

Just some spelling fixes, no real changes. Closes #15001.

2013-01-27 09:41 JS, revision 73441

Prevent assertions because of zero image size

2013-01-24 10:24 JS, revision 73438

Updated the Latvian translation (Janis Eisaks)

2013-01-24 10:23 JS, revision 73437

Updated the Latvian translation (Janis Eisaks)

2013-01-23 12:44 VZ, revision 73436

Initialize all wxHTTPStream members in ctor. Don't leave m_httpsize and m_read_bytes uninitialized. Closes #14993.

2013-01-23 12:44 VZ, revision 73435

No real changes, just fix some typos in comments in wxMSW code. Closes #14994.

2013-01-23 11:15 JJ, revision 73434

let wxCheckListBox get the properties of wxCheckListBoxBase (was wxListBox) for wxGTK1, just like the other versions of wx

2013-01-22 08:18 JJ, revision 73429

Update openVMS compile support

2013-01-21 17:37 VZ, revision 73428

Fix background drawing in EVT_ERASE_BACKGROUND handler in erase sample. Clear the DC before moving its offset to ensure that it's cleared entirely and also draw the background using the virtual, not client, size. See #14917.

2013-01-21 17:37 VZ, revision 73427

Don't include wxUniversal configurations in MSVC project files. wxUniversal is practically not used under MSW and just confuses people.

2013-01-21 12:28 VZ, revision 73426

Fix a crash in wxExecute() in wxMSW too. Don't dereference potentially NULL wxProcess pointer unconditionally. This should have been together with the changes of r73425, see #14931.

2013-01-21 12:26 VZ, revision 73425

Fix crash in wxExecute() introduced by r73406. Don't dereference potentially NULL wxProcess pointer. See #14931.

2013-01-21 12:19 VZ, revision 73424

No changes, just remove unused variable in wxCarbon code. Closes #14989.

2013-01-21 12:19 VZ, revision 73423

Add wxAUI_TB_PLAIN_BACKGROUND wxAuiToolBar style. This style allows to use a plain, solid colour, background instead of the default gradient one. Closes #10585.

2013-01-21 12:18 VZ, revision 73422

Add wxCheckListBox::GetCheckedItems() helper. This method is similar to wxListBox::GetSelections() and allows to retrieve all checked items at once. Closes #14969.

2013-01-21 12:18 VZ, revision 73421

Derive wxCheckListBox from wxCheckListBoxBase in wxGTK. This ensures that any methods defined in wxCheckListBoxBase will be available in wxGTK wxCheckListBox too. See #14969.

2013-01-21 12:11 JJ, revision 73420

OpenVMS configuration update

2013-01-21 12:04 JJ, revision 73419

OpenVMS compile support for wxSPLASH and sample

2013-01-21 09:26 SC, revision 73418

updated for 10.5 minimum

2013-01-20 23:39 VZ, revision 73415

A fix for VC6 compilation: define missing priority constants. {ABOVE,BELOW}_NORMAL_PRIORITY_CLASS aren ot defined in VC6 headers, see http://buildbot.tt-solutions.com/wx/builders/XPSP2%20VC6%20wxMSW%20trunk%20release/builds/2943/steps/compile/logs/stdio so define them ourselves.

2013-01-20 22:07 SC, revision 73414

workaround for crash, see #14906

2013-01-20 20:28 SJL, revision 73413

Pass wxWANTS_CHARS to the wxRichTextCtrl constructor in the unit tests. Fixes test failures caused by the return key being used for dialog navigation.

2013-01-20 13:53 VZ, revision 73412

Improve appearance of text with background colour in wxHTML. Use wxHTML_CLR_TRANSPARENT_BACKGROUND instead of wxHTML_CLR_BACKGROUND for the bgcolor attribute of the body tag to prevent clipping of the text cells by the next cell with opaque background. Closes #14986.

2013-01-20 13:45 VZ, revision 73411

Fix wxKeyEvent::GetPosition() after the changes of r72207. Now that the position of wxKeyEvent is initialized on demand, don't use m_x and m_y fields directly but always use GetX() and GetY(). Also improve GetPosition() documentation slightly and mention only the new version, taking wxCoord, in it as the old one, taking long, is provided for compatiblity only. Closes #14987.

2013-01-20 07:38 PC, revision 73410

no real changes, just move wxMask::GetBitmap() to wxMask section

2013-01-20 07:28 PC, revision 73409

add wxMask::GetBitmap(), closes #9381

2013-01-20 04:24 PC, revision 73408

silence GCC warning "base class ‘class wxEvtHandler’ should be explicitly initialized in the copy constructor"

2013-01-20 04:08 PC, revision 73407

sizeof(char) is 1. By definition.

2013-01-20 03:10 VZ, revision 73406

Add wxProcess::SetPriority() to allow setting the priority of child processes. This uses the same conventions as wxThread::SetPriority() but works on the entire process. Closes #14931.

2013-01-20 03:10 VZ, revision 73405

Rename WXTHREAD_XXX_PRIORITY yo wxPRIORITY_XXX. This will allow to reuse the same constants for the process priorities in an upcoming commit. See #14931.

2013-01-20 03:09 VZ, revision 73404

Fix appearance of multiline wxCheckBox with non-standard colours in wxMSW. Owner-drawn checkbox (which is used when wxCheckBox colour is changed) didn't center its label correctly and didn't right align it when using wxALIGN_RIGHT style in focused state. Closes #9628.

2013-01-20 03:09 VZ, revision 73403

Add copy constructor to wxValidator. It can be useful for implementing Clone() in the derived classes. Closes #2146.

2013-01-20 03:09 VZ, revision 73402

Fix wxDateTime::GetWeekOfYear() for the days in the last week of the year. The code took into account the possibility that the days in the beginning of the year might belong to the last week of the previous year but not that the days at the end of the year could belong to the first week of the next year. Closes #14973.

2013-01-20 03:09 VZ, revision 73401

Fix wxSearchCtrl::HasFocus() in the generic version. Override GetMainWindowOfCompositeControl() in the windows composing the generic wxSearchCtrl to ensure that HasFocus() correctly returns true for the entire control when any of them has focus. Add a trivial unit test to check that this really works and facilitate adding more tests for this class later. Closes #14970.

2013-01-20 03:09 VZ, revision 73400

Fix changing labels of menu items with bitmaps in wxMSW. We need to call SetMenuItemInfo() from wxMenuItem::SetItemLabel() even for the owner-drawn items, otherwise their width is not recomputed. Closes #3897.

2013-01-20 03:09 VZ, revision 73399

Fix bug with showing hidden wxGrid lines when resizing an adjacent one. Don't blindly assume that the previous line is big enough if the current one isn't in wxGrid::PosToEdgeOfLine() (this assumption is wrong even without taking hiding into account...). Closes #14947.

2013-01-20 03:09 VZ, revision 73398

Make "More windows..." menu item in MDI "Window" menu work in wxMSW. Don't interpret the commands from this menu item as child window selection. Closes #3295.

2013-01-20 03:09 VZ, revision 73397

Put "#if wxUSE_TOOLBAR" around a variable only used in this case. No real changes. Closes #14957.

2013-01-20 03:09 VZ, revision 73396

Fix the list markers in wxGridCellEditor::EndEdit() documentation. Doxygen allows to use "-", "+" or "*" for the list items but not "#". Closes #14955.

2013-01-20 03:09 VZ, revision 73395

64 bit compilation fix for wxTextCtrl in wxMSW. Use DWORD_PTR instead of DWORD for a pointer. This was already done for another occurrence of the same cast in r58564 but somehow this one fell through the cracks. Close #14949.

2013-01-20 03:09 VZ, revision 73394

Fix setting initial wxSpinCtrl value outside 0..100 range in wxMSW. Set the range before setting the initial value when creating wxSpinCtrl, as otherwise the value was wrongly limited to the default 0..100 range instead of the one really specified. Closes #14894.

2013-01-20 03:09 VZ, revision 73393

Really fix the background colour used for the cells in wxHTML tables. Respect "bgcolor" attributes of <td> tags, they were ignored since the changes of r72589 (see #14443). Closes #14909.

2013-01-20 03:09 VZ, revision 73392

Don't use margins for wxGrid in place text editor controls. The default non-zero (at least under MSW) margins don't look well inside wxGrid, don't waste space on them. See #14958.

2013-01-20 03:08 VZ, revision 73391

Set margins on creation correctly for wxTE_RICH[2] wxTextCtrl in wxMSW. In spite of the MSDN documentation, EC_USEFONTINFO can't be used in lParam with rich edit controls, so pass it in wParam for them. Closes #14598.

2013-01-20 03:08 VZ, revision 73390

Set both left and right wxTextEntry margins in wxMSW. Use the horizontal margin argument of SetMargins() to set both left and right margins in wxMSW and not just the left one. See #14958.

2013-01-20 03:08 VZ, revision 73389

Fix bug with dragging non-draggable columns in wxMSW wxHeaderCtrl. Properly ignore HDN_BEGINDRAG events for the columns without wxCOL_REORDERABLE flag. This fixes dragging non-draggable columns in wxDataViewCtrl under MSW. Closes #14940.

2013-01-20 03:08 VZ, revision 73388

Fix some harmless but annoying warnings about casts in libtiff code. Avoid MSVC C4244 warnings due to implicit casts between 64 and 32 bit integers. This patch was also submitted to libtiff via http://bugzilla.maptools.org/show_bug.cgi?id=2427

2013-01-20 03:04 PC, revision 73387

draw monochrome source directly onto destination when it is also monochrome

2013-01-20 02:46 PC, revision 73386

make some reference handling a little more direct and less obscure

2013-01-19 19:26 JS, revision 73385

When selecting the bitmap bullet style, the name can now be edited since it could be used for providing the bullet image.

2013-01-19 19:25 JS, revision 73384

When selecting the bitmap bullet style, the name can now be edited since it could be used for providing the bullet image.

2013-01-18 18:27 PC, revision 73382

use const arrays for wxDC array parameters, closes #10712

2013-01-17 10:57 SJL, revision 73381

When handling accelerators in wxWebView make sure that we do not block right-alt which can be mapped to alt + ctrl. Fixes #14974.

2013-01-16 16:39 JS, revision 73378

Fix wrong value

2013-01-16 10:35 JS, revision 73377

Better compatibility with old files when creating an image cache

2013-01-15 06:55 PC, revision 73373

add support for GtkFontChooserDialog, new in GTK 3.2

2013-01-14 17:19 JS, revision 73372

Added Set/GetFloatingLayoutMode to switch off time-consuming floating object layout if required

2013-01-14 17:08 RD, revision 73371

enum wxWebViewBackend has been removed.

2013-01-13 20:22 SJL, revision 73369

Allow registering of custom wxWebView backends. Add wxWebViewFactory as an abstract factory to provide backend creation. Remove old factory methods using wxWebViewBackend enum in favour of the new wxString based method.

2013-01-13 16:28 VZ, revision 73368

Fix wrong return value in the changes of r73365. Really fix menus under Unity. Closes #14961.

2013-01-12 13:03 VZ, revision 73367

Fix compilation without PCH after r73365. Need to explicitly include wx/dialog.h to use wxDynamicCast to wxDialog. See #14961.

2013-01-12 04:09 VZ, revision 73366

Allow hiding/showing already hidden/shown wxGrid rows/columns. Don't assert if an already hidden/shown row/column is being hidden/shown again but simply don't do anything. This is more convenient because the code outside wxGrid has no efficient way to only hide a row/column if it's currently shown. Closes #14960.

2013-01-12 04:09 VZ, revision 73365

Relax Unity menu interdiction hack to allow popup menus in modal dialogs. The changes of r73007 fixed the problem with menus remaining active while a modal dialog was shown (see #14823) but also disabled processing of the events from any popup menus shown by the dialog itself. Reallow the latter while still forbidding the former now by checking whether the window associated with the menu is the dialog itself. Closes #14961.

2013-01-11 05:28 PC, revision 73364

Always run the frame sizing code when a menubar is set This is needed to properly set the size of a new menubar which is replacing one with the same height, while also allowing the fixes from r67149 and r66344 to work.

2013-01-11 04:36 PC, revision 73363

re-apply r67149 to fix high CPU usage on Ubuntu r67149 was removed as part of r67929, but is still needed on Ubuntu when using their "appmenu" (global menubar), because the menubar height is always zero in that case. The problem can be seen with Audacity.

2013-01-10 18:59 VZ, revision 73362

Fix a typo in wxKeyEvent::GetKeyCode() code example. Add missing object to the method call.

2013-01-10 08:17 PC, revision 73361

call GTKApplyWidgetStyle() from PostCreation() instead of GTKHandleRealized() it's a better place to catch font or color changes made before creation

2013-01-10 07:53 PC, revision 73360

allow setting window font and bg/fg color before creation wxMSW and wxOSX don't have a problem with it, so neither should wxGTK

2013-01-10 07:28 PC, revision 73359

simplify code setting backing pixmap

2013-01-09 21:27 SJL, revision 73358

Add HTTP status code definitions to attempt to fix VC6 compilation following #73325.

2013-01-09 18:40 PC, revision 73357

backport of r73276, fix for libdbusmenu warnings, see #14292

2013-01-09 04:27 PC, revision 73356

don't use deprecated wxMouseState functions

2013-01-08 11:25 JS, revision 73355

Detect when the window is still captured when dragging was aborted for some reason

2013-01-08 11:24 JS, revision 73354

Detect when the window is still captured when dragging was aborted for some reason

2013-01-08 11:23 JS, revision 73353

Style collection fixes

2013-01-08 11:20 JS, revision 73352

Fill in mouse button and key state when generating mouse event for auto scrolling

2013-01-08 11:20 JS, revision 73351

Fill in mouse button and key state when generating mouse event for auto scrolling

2013-01-05 06:08 PC, revision 73346

define wxComboBox rtti stuff even when wxUSE_COMBOCTRL==0

2013-01-04 23:14 VZ, revision 73345

Attempt to fix MSVC6 compilation after the previous commit. Include <shlobj.h> before our wx/msw/missing.h, otherwise many things were redefined.

2013-01-04 21:13 VZ, revision 73344

Including wx/msw/missing.h to define INVALID_FILE_ATTRIBUTES for MSVC6. This header is also needed in filename.cpp (see r73317 for a previous commit fixing the same problem in filefn.cpp).

2013-01-03 21:47 VZ, revision 73343

Re-lay out the grid sample window after auto-sizing the grid. Changing the size of the grid without updating the sizer resulted in overlapping windows and a mess on the display. Closes #14948.

2013-01-03 17:43 PC, revision 73339

gtk_assert_dialog_set_message() was unintentionally excluded in r73163

2013-01-03 16:19 JJ, revision 73338

gtk_assert_dialog_set_message is only defined if wxUSE_STACKWALKER is set

2013-01-03 07:09 PC, revision 73337

use gtk_file_chooser_set_show_hidden() now that GTK 2.6 is required

2013-01-03 06:09 PC, revision 73334

remove ancient SetModal(), it was deprecated long ago and is not present in wxMSW or wxOSX

2013-01-02 19:11 PC, revision 73333

look for backtrace() in -lexecinfo, fixes #14942

2013-01-02 17:41 VZ, revision 73332

Chinese translations update from William Jiang.

2012-12-31 14:40 VZ, revision 73327

Slight improvements to wxWebView::EnableContextMenu() documentation. Explain that the menu is enabled by default so the main use of this method is to disable it. Also add "@since" tags for the new methods. And mention this in the changelog. See #14789.

2012-12-31 14:21 SJL, revision 73326

Add context menu enabling and disabling to wxWebView, all backends supported. Closes #14789.

2012-12-30 21:19 SJL, revision 73325

Add handling of http errors to wxWebViewIE. Tidy up existing large case statement. Closes #14877.

2012-12-30 00:47 VZ, revision 73324

Slovenian translations update from Martin Srebotnjak.

2012-12-29 22:53 VZ, revision 73320

Fix wxLocale::GetInfo() in C locale under Windows. Don't use LOCALE_USER_DEFAULT when the locale hadn't been changed because the user default locale often (and maybe even always) is different from "C" locale used by the CRT resulting in mismatch between the conventions used by wxDateTime::Format(), which uses the CRT locale, and wxDateTime::Parse(), which uses Windows format. Instead use the hard-coded values corresponding to the "C" locale to ensure we use the same values as the CRT in this case. This also reverts r73244 which was applies to make the unit tests pass before this fix as it's not necessary any longer. Closes #14918.

2012-12-29 22:53 VZ, revision 73319

Ensure that scrollbars are shown in scrolled popup in the popup sample. Don't call SetScrollbars(), this is overridden by sizer logic later. Instead, add a sufficiently big window to the popup and make fix the size of the popup itself to be smaller to ensure that the scrollbars do show. Closes #14900.

2012-12-29 22:53 VZ, revision 73318

No changes, just fix unused variable in wxUSE_STATBMP==0 build. Move the condition used only for wxStaticBitmap positioning inside "#if wxUSE_STATBMP" section. Closes #14929.

2012-12-29 22:53 VZ, revision 73317

Including wx/msw/missing.h to define INVALID_FILE_ATTRIBUTES for MSVC6. This should fix the remaining problem in VC6 build.

2012-12-29 21:15 VZ, revision 73315

No changes, just remove unneeded variable initialization. Don't initialize htmlWindowBorder in wxHtmlHelpWindow::Create() just to overwrite it with another value on the next line. Closes #14933.

2012-12-29 21:15 VZ, revision 73314

Spelling fixes in comments in wxOSX. No real changes. Closes #14932.

2012-12-29 08:07 PC, revision 73311

reference count the GtkMenuItem in wxMenuItem as well

2012-12-29 07:29 PC, revision 73310

make GTKNeedsParent() private

2012-12-29 07:21 PC, revision 73309

m_menubar does not need to be public for hildon, it's the same as m_widget in that case

2012-12-29 03:32 RD, revision 73300

Fix missing or broken interface items for Phoenix

2012-12-28 19:38 PC, revision 73298

use wxDEPRECATED_CONSTRUCTOR() instead of inline

2012-12-28 18:04 PC, revision 73297

remove unused variable assignment, closes #14928

2012-12-28 17:56 PC, revision 73296

Use gtk_menu_item_remove_submenu() with GTK2 because gtk_menu_item_set_submenu() with NULL menu argument does not work before GTK 2.12 and there is no need to avoid calling it on later GTK2 versions

2012-12-28 17:03 VZ, revision 73295

Suppress warning about _set_se_translator() for VC++ 10 and 11 too. Previously we disabled this warning for VC versions up to 9 but the warning still seems to be as harmless as before for the newer versions too. Closes #13607.

2012-12-28 17:03 VZ, revision 73294

Don't assume that wxTE_RICH(2) implies wxTE_MULTILINE for wxTextCtrl in wxOSX. Under MSW single line text controls can still use these styles, so don't assume that the control should be made multi-line just because one of them is specified. This fixes the appearance of the in-place text control in wxGridCellTextEditor which is created with wxTE_RICH2 style to work around some wxMSW problem. Closes #11681.

2012-12-28 17:03 VZ, revision 73293

Process HDN_TRACK in wxMSW wxHeaderCtrl just in case. This message is not supposed to be sent but apparently some buggy comctl32.dll versions do send it instead of HDN_ITEMCHANGING, so handle it too. Closes #13506.

2012-12-28 17:03 VZ, revision 73292

Don't call wxTextMeasure::BeginMeasuring() when using non-native wxDC. This is useless as we don't use wxTextMeasure in this case but just forward to the wxDC itself, and also results in an assert in wxMSW wxTextMeasure implementation. Closes #14916.

2012-12-28 17:03 VZ, revision 73291

Parse files from include/wx/*.h when making wxMSW tags. Fix missing wxTextMeasure &c in wxMSW tags.

2012-12-28 17:03 VZ, revision 73290

Allow building wxGTK under Windows with MSVC. Replace a few more __WXMSW__ tests with __WINDOWS__ ones and modify bakefiles to allow specifying the toolkit to be built in wxMSW makefiles. Closes #13902.

2012-12-28 17:02 VZ, revision 73289

Remove connection of MyDllApp::OnIdle() handler in the dll sample. This method didn't really exist, the code only worked because it connected to wxApp::OnIdle() which exists in wxMSW but not the other ports. Simply remove the apparently unnecessary call. See #13902.

2012-12-28 17:02 VZ, revision 73288

No changes, just avoid unused variable in wxUSE_TOOLTIPS==0 build. Move the declaration of a variable only used for tooltip setting inside "#if wxUSE_TOOLTIPS" test. Closes #14927.

2012-12-28 17:02 VZ, revision 73287

Use a single taskbar icon for all notifications in wxMSW. Allocating a new icon for every notification could result in showing many identical icons in the taskbar notification area if several notification messages were generated which looked like a bug to the user. It was also inconsistent with the behaviour in the case when UseTaskBarIcon() was called. Always behave as in the latter case now, i.e. any subsequent notification replaces the previous one instead of being shown in addition to it.

2012-12-28 17:01 VZ, revision 73286

Remove extra "#" operator in wxFAIL_COND_MSG macro. The argument of this macro is already a string, so we don't need to stringify it again. This fixes VC6 build, unlike all the other compilers this one didn't apply "#" to an argument which was already a quoted string correctly.

2012-12-28 14:15 SC, revision 73285

silence unused var warning

2012-12-28 02:50 PC, revision 73284

non-pch build fix

2012-12-28 01:44 VZ, revision 73283

Fix regression with wxHTML table elements background handling. Wrong background was used for the text inside HTML tables since r72589, fix this by setting the correct background before processing the table elements and restoring it after doing it. Closes #14909.

2012-12-28 01:44 VZ, revision 73282

Ensure that client display rectangle is always less than its total area. Under Unix we could return client display rectangle that was bigger than the entire display size as it corresponded to the total screen size when _NET_WORKAREA was not supported or was not correctly implemented by the WM. Fix this by explicitly intersecting the client rect with the total one. Closes #14419.

2012-12-28 01:44 VZ, revision 73281

Document wxListBox and wxChoice as inheriting from wxItemContainer. Due to an apparent Doxygen bug, methods inherited from wxItemContainer via wxControlWithItems didn't appear in the documentation, so work around this by using wxItemContainer as a direct base class. Closes #14882.

2012-12-28 01:44 VZ, revision 73280

Add wxGCC_WARNING_{SUPPRESS,RESTORE} macros and use them for -Wfloat-equal. Suppress the warnings about comparing floating point values for equality in wxWidgets headers when the user code is compiled with -Wfloat-equal (at least when using g++ 4.6 or later). Closes #14895.

2012-12-28 01:43 VZ, revision 73279

No changes, just don't initialize the variable twice. Remove the inactive code probably copy-and-pasted from somewhere else. Closes #14924.

2012-12-28 01:43 VZ, revision 73278

No changes, just remove an unused variable. Closes #14923.

2012-12-27 06:59 PC, revision 73277

Use proper reference counting on GtkMenuItem that we keep a pointer to Fixes crash that occurs with Ubuntu libdbusmenu See #14292

2012-12-27 06:28 PC, revision 73276

Better fix for avoiding warnings from Ubuntu libdbusmenu Previous workaround from r71648, modified in r72560, broke MDI child menu handling See #14292

2012-12-26 18:47 PC, revision 73271

remove unused private member m_ordered from wxDataViewVirtualListModel

2012-12-26 18:32 PC, revision 73270

fix consruction of string thanks to clang for finding this one

2012-12-23 20:28 SC, revision 73269

removing 10.5 version checks

2012-12-23 20:04 SJL, revision 73268

Fix webview compilation for the mingw-w64 compiler.

2012-12-23 19:44 SC, revision 73267

removing outdated code

2012-12-23 19:42 SC, revision 73266

making sure we are using correct implementation for shades

2012-12-23 16:46 SC, revision 73265

adding isFlipped to userpane

2012-12-23 12:50 SC, revision 73264

try support for native isFlipped usage and coalesce update rects into bounding box by default

2012-12-23 12:33 VZ, revision 73263

Fix wrong tab order in wxAuiNotebook after dragging. Update the tab index correctly to keep tabs list and windows list in sync. Closes #10848.

2012-12-22 22:31 JS, revision 73258

Fix for bug #14915 - wxRichTextCtrl: Not able to move up to empty first line

2012-12-22 13:51 VZ, revision 73257

Sort wxPAPER_XXX constants alphabetically in the documentation. This makes it much simpler to find the one you want. See #14919.

2012-12-22 09:00 RD, revision 73246

Various interface fixes for Phoenix

2012-12-22 08:59 RD, revision 73245

Interface fixes for wxGrid classes

2012-12-22 03:35 VZ, revision 73244

Add a temporary workaround to make the tests pass. Call SetCLocale() on tests startup to avoid problems with wxDateTime parsing that happen when the user locale is different from "C" one under Windows. See #14918.

2012-12-22 03:34 VZ, revision 73243

Invalidate wxGrid best size when its associated table changes. The number of grid cells changes too, so the old best size can't be used any more. Closes #14761.

2012-12-22 03:34 VZ, revision 73242

Fix libtiff compilation with VC6 after upgrade to 4.0.3. VC6 headers don't define INVALID_SET_FILE_POINTER constant so do it ourselves if necessary.

2012-12-22 03:34 VZ, revision 73241

No changes, just improve wxScrolled::EnableScrolling() documentation. Explain that, in spite of its name, this function doesn't disable scrolling when called with false argument but just changes the mechanism used to implement it.

2012-12-22 03:33 VZ, revision 73240

Remove unnecessary variable assignment from wxBoxSizer::RecalcSizes(). The "delta" variable was assigned a value that was never used afterwards. Closes #14908.

2012-12-22 03:33 VZ, revision 73239

Add wxListCtrl::EnableAlternateRowColours() and SetAlternateRowColour(). Add methods to simply enable alternative row background colours in wxListCtrl. Closes #14618.

2012-12-22 03:33 VZ, revision 73238

Don't use "Cancel" button in the about dialog of the listctrl sample. No real changes, just remove the unnecessary button. See #14618.

2012-12-21 06:45 PC, revision 73232

revert r73185, it should no longer be needed after r73231

2012-12-20 19:46 PC, revision 73231

Use client size determined by size-allocate when possible Our client size calculation can be wrong for reasons beyond our control, notably on Ubuntu 12.04 with overlay scrollbars where the GtkScrolledWindow "scrollbar-spacing" is wrong. By using the true size from size-allocate when it becomes available, we can recover from an earlier incorrect client size calculation. See #14871

2012-12-20 14:00 SC, revision 73230

benefit from 10.5+ call HIShapeUnionWithRect

2012-12-19 20:27 RD, revision 73217

Add accessors for some of the data members in wxXmlResourceHandler

2012-12-19 16:41 SC, revision 73210

activating DrawRectangle optimization

2012-12-19 16:31 SC, revision 73209

fixing typo

2012-12-19 16:30 SC, revision 73208

HIThemeBrushCreateCGColor seems to have become very CPU-expensive, cache the results for better performance

2012-12-19 10:58 SC, revision 73207

making Xcode builds work against against libtiff, copied over from a console build

2012-12-18 18:59 SC, revision 73199

setting offsets for window and client dcs when not in a paint event, see #14904

2012-12-16 08:14 PC, revision 73196

Fix for toolbars and menus not being disabled on Ubuntu Ubuntu overlay scrollbar changes the GtkWindowGroup for its toplevel, which is disastrous for modal windows. Put in a hack to detect and undo this. Fixes #14855

2012-12-14 21:04 SC, revision 73192

support SDK < 10.6, fixes #14902

2012-12-14 17:21 SC, revision 73191

supporting private types in DnD on osx_cocoa, fixes #14884

2012-12-14 13:29 VZ, revision 73190

Fix libtiff compilation with MinGW. At least some versions of MinGW don't define 64 bit integer types resulting in errors when they're used in libtiff code, so explicitly include basetyps.h to make sure these types are defined. Closes #14897.

2012-12-14 11:42 SC, revision 73189

avoid double up events for static text, fixes #14902

2012-12-14 07:29 PC, revision 73186

compute scrollbar spacing the same way GtkScrolledWindow does it

2012-12-14 07:25 PC, revision 73185

Get DC size from GDK window if possible, client size can unfortunately be wrong This should fix wxDC::Clear() not clearing the whole window on Ubuntu 12.04 with overlay scrollbars see #14871

2012-12-14 03:10 RD, revision 73184

Patch from niki@vintech.bg allowing builds for Python 2.5 (using MSVC 7.1) to work again.

2012-12-13 05:41 PC, revision 73178

decrease number of skipped frames in assert dialog backtrace, 7 is not the minimum, closes #14690

2012-12-12 14:52 VZ, revision 73167

Brazilian Portuguese translations update from Felipe.

2012-12-11 07:43 PC, revision 73165

use correct signature for callback

2012-12-11 07:37 PC, revision 73164

make local functions static

2012-12-11 07:31 PC, revision 73163

add wrappers to avoid compiling code which will never be used

2012-12-11 02:32 VZ, revision 73162

Handle IN_MOVE inotify events better. Set the new path correctly for moved or renamed files. Closes #14889.

2012-12-11 02:32 VZ, revision 73161

Initialize wxRibbonBar::m_help_button_hovered. This variable was never initialized, do it now. See #14868.

2012-12-10 15:41 VZ, revision 73160

Use wxSetWorkingDirectory() instead of chdir(). This fixes compilation of wxGTK under Windows after the changes of r72779 and r72780, where _wchdir() would need to be used but we don't currently have a wxChdir() CRT function wrapper so use wxSetWorkingDirectory() instead. Closes #14886.

2012-12-10 15:30 VZ, revision 73159

Readded tiffconf.h removed by libtiff 4.0.3 merge. This file is needed by Windows builds. Should have been part of r73157, see #12301.

2012-12-10 15:27 VZ, revision 73158

Bakefile updates for libtiff 4.0.3 merge. This should have been part of r73157,

2012-12-10 15:01 VZ, revision 73157

Merged libtiff 4.0.3 changes into the trunk. This should help with making libtiff work better in 64 bit builds as libtiff 4 is supposed to support them much better. Closes #12301.

2012-12-08 22:04 RD, revision 73155

typo fix

2012-12-08 14:47 VZ, revision 73151

Document wxXmlResourceHandler::GetFloat(). Closes #14879.

2012-12-08 14:27 VZ, revision 73150

Also account for EOL chars correctly in wxStyledTextCtrl::GetLineLength(). Make GetLineLength() consistent with GetLineText() after the changes of r73140. Closes #13646.

2012-12-08 14:22 VZ, revision 73149

Document wxWindow::Get{Min,Max}{Width,Height}(). These methods were not documented and somehow inherited the description of the first method of the group they were in, which didn't make any sense for them.

2012-12-08 01:37 VZ, revision 73148

Don't test for key code being valid unnecessarily. The key code was already found to be valid just above, so suppress Coverity warning about an always true test by not checking it again. This also makes the code more clear.

2012-12-08 01:37 VZ, revision 73147

Remove unnecessary default from a switch statement. Don't check for impossible enum element value, it's better to not have the default clause at all to get a warning from g++ if this enum ever changes later. And for now the presence of default results in a warning from Coverity about unreachable code.

2012-12-08 01:37 VZ, revision 73146

Fix copy/paste error in UnsetConstraints(). "top" was mistakenly used in the code dealing with "left" constraint. Thanks to Coverity for finding this one.

2012-12-08 01:37 VZ, revision 73145

Check gtk_tree_model_iter_nth_child() return value in wxChoice code. This is probably harmless but check the return value just to suppress Coverity warning about not doing it.

2012-12-08 01:37 VZ, revision 73144

Don't use values returned by lstat() if it failed in wxFileCtrl code. The buffer may be uninitialized or at least not contain the correct data if lstat() failed, don't use it in this case.

2012-12-08 01:37 VZ, revision 73143

Check wxDir::GetNext() return value in wxFindNextFile(). This doesn't really change anything as the returned value would be empty anyhow in case of an error, but suppresses Coverity warning about not checking the return value of a function whose return value is checked in other places.

2012-12-08 01:37 VZ, revision 73142

Add a wxHtmlTag helper parsing both absolute values and percents. This allows to avoid some code duplication in different handlers. Closes #14868.

2012-12-08 01:37 VZ, revision 73141

Don't unnecessarily NUL-terminate wxCharBuffer contents. wxCharBuffer already initializes the last byte of the buffer it allocates to 0 so there is no need to do it explicitly. Also don't allocate an extra byte, wxCharBuffer already adds one to the length passed to it for the trailing NUL. See #13885.

2012-12-08 01:37 VZ, revision 73140

Strip EOL characters from wxStyledTextCtrl::GetLineText() return value. For consistency with all the other wxTextCtrl-like classes, the value returned by this method must not include line terminator characters (like '\n'). Notice that Scintilla-specific GetLine() does still include them, for consistency with the Scintilla API itself. Closes #13646.