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-09-21 11:28 VS, revision 74853

Add virtual ~wxAnyScrollHelperBase() to fix compiler warning.

2013-09-21 11:28 VS, revision 74852

Fix wxOSX warnings about int-to-void* casts.

2013-09-21 11:28 VS, revision 74851

Set missing Language: headers in PO files.

2013-09-21 11:28 VS, revision 74850

Standardize Project-Id-Version in PO files. Set it to "wxWidgets 3.0". Add where missing.

2013-09-20 19:27 VS, revision 74849

Try loading even English translations if provided. Doing so has negligible cost and can be useful in some situations (e.g. when using symbolic msgids despite gettext best practices). Patch by tmsorensen. Fixes #15522.

2013-09-20 17:21 PC, revision 74848

fix vertical mouse wheel event rotation value, sign was reversed in r74805 fixes #15524

2013-09-20 13:34 JS, revision 74847

Added setters for table row and column count

2013-09-20 08:07 JJ, revision 74846

Update OpenVMS makefile

2013-09-19 20:23 JS, revision 74845

The alignment controls are now left-aligned if the floating controls are not shown.

2013-09-19 15:14 JS, revision 74844

Corrections to border placement

2013-09-19 13:09 JS, revision 74843

Second part of #15224 fix: AddRows, AddColumns (dghart)

2013-09-19 10:38 JS, revision 74842

Fix for #15224: wxRichTextTable: Setting a cell's text colour affects subsequent cells (dghart)

2013-09-19 09:48 JS, revision 74841

Fix for #15520: wxRichTextCtrl: Drawing the selection doesn't respect its container (dghart)

2013-09-19 08:16 PC, revision 74840

fix building with WXWIN_COMPATIBILITY_2_8 == 0 wxPG_EX_DISABLE_TLP_TRACKING does nothing since r61779

2013-09-19 07:33 PC, revision 74839

fix wxSystemSettings::GetColour() for wxGTK3 closes #15519

2013-09-18 20:02 VZ, revision 74838

Add missing c_str() call to fix wxGTK ANSI+STL build. Closes #15518.

2013-09-18 19:30 VZ, revision 74837

Use std::isfinite() for wxFinite() for C++11 compilers. This should fix compilation with MinGW 4.8.1 cross-compiler in C++11 mode as it doesn't seem to provide finite() any more then. Also, only defined wxFinite() and wxIsNaN() for C++, not C. This makes the checks for __cplusplus >= 201103 simpler and is consistent with how wxIsSameDouble() and wxRound() were already only defined for C++ (this is also the source of most of the changes in this diff, viewing it ignoring whitespace will show the only real changes).

2013-09-18 18:03 VS, revision 74836

Add wxTranslations::GetTranslatedString(). Replace GetString(), which always returns something (possibly the original string) with GetTranslatedString() that returns either a pointer to translated string or NULL. This simplifies the code a bit, all handling of missing translations is now done in wxGetTranslation().

2013-09-18 18:03 VS, revision 74835

Remove unused wxLocale::GetUntranslatedString().

2013-09-18 18:03 VS, revision 74834

Deallocate wxThreadSpecificInfo when wxThread ends. Cleanup wxThreadSpecificInfo after wxThread::Entry returns to be more memory efficient.

2013-09-18 18:03 VS, revision 74833

Make _() and friends safe to call from any thread. The GetUntranslatedString() hack keeps a global copy of all strings, so that it can return a const reference as wxGetTranslation() return value. A global wxHashSet instance shared by all threads won't do, even guarded with a critical section, because it may internally copy values on any insert and thus invalidate pointers that may still be used on another thread.

2013-09-18 18:03 VS, revision 74832

Make storing non-trivial data in wxThreadSpecificInfo possible.

2013-09-18 17:12 SJL, revision 74831

Update vc10 build file versions to 3.0.0. See r74781.

2013-09-18 10:18 JS, revision 74830

Ensure that the overall table border doesn't get overdrawn by cell borders with a different colour

2013-09-17 19:35 VZ, revision 74829

Fix badly translated wildcard string in German message catalog. "*.*" should be "*.*" even in German.

2013-09-17 19:35 VZ, revision 74828

More German translations updates from Sebastian Walderich.

2013-09-17 17:25 VZ, revision 74827

Fix assorted typos in comments and other non-code. Closes #15509.

2013-09-17 17:25 VZ, revision 74826

Use mask when drawing bitmaps in generic wxDataViewCtrl. This allows to have bitmaps with transparent areas in them. Closes #15510.

2013-09-17 17:25 VZ, revision 74825

Add wxDataViewRendererBase::GetEffectiveAlignment() and use it. This helper method falls back on the alignment of the column if the renderer alignment is not specified. This is almost always what should be used instead of GetAlignment() to determine the alignment that really should be used in the drawing code. In particular, using GetEffectiveAlignment() in wxDataViewCustomRenderer fixes the problem with bitmap columns ignoring column alignment for their bitmaps. Closes #15498.

2013-09-16 17:47 PC, revision 74824

remove executable property from non-executable files, closes #15504

2013-09-16 17:15 VS, revision 74823

Fix wrong type information for {v,h}gap in XRC format docs.

2013-09-15 13:57 VZ, revision 74820

Revert "Make wxMSW stack walking methods work with Unicode identifiers." This reverts r74817 because it broke compilation with VC8 and it doesn't seem obvious to fix this. See #15138, closes #15500.

2013-09-15 02:16 VZ, revision 74819

Add code showing stereo support to the OpenGL cube sample. Show how WX_GL_STEREO attribute can be used, if available. See #15434.

2013-09-15 02:16 VZ, revision 74818

Show full screen windows with WS_POPUP style in wxMSW. This doesn't make any difference for most windows but fixes a problem with wxGLCanvas windows using stereo support of Nvidia cards and generally it does make sense to use WS_POPUP with full screen windows as they are definitely not overlapped, so just use this style unconditionally. Closes #15434.

2013-09-15 02:16 VZ, revision 74817

Make wxMSW stack walking methods work with Unicode identifiers. This allows to show the stack properly for e.g. Japanese programs. Closes #15138.

2013-09-15 02:15 VZ, revision 74816

Disable handling of wxEVT_MOUSEWHEEL in wxVarScrollHelperEvtHandler in wxGTK. Just for consistency with wxScrollHelperBase, not really sure what problem exactly does this solve. See #15357.

2013-09-15 02:15 VZ, revision 74815

Make default keyboard handling available in wxVarScrollHelperEvtHandler too. Factor out the keyboard handling code in wxAnyScrollHelperBase allowing its reuse in wxVarScrollHelperEvtHandler. Now wxVarScrollHelperBase handles cursor keys in a sane way by default too and also allows disabling their handling, just as wxScrolledWindow. See #15357.

2013-09-15 02:15 VZ, revision 74814

Propagate the event handling fixes to wxVarScrollHelperBase. Merge the fixes to wxScrollHelperBase::ProcessEvent() of r64358, r64370, r64464, r72939 and possibly a few more in wxVarScrollHelperBase to fix its behaviour too, as it wasn't generating the correct events any longer. Unfortunately the fix right now is to physically copy the code from one class to the other. This should be avoided, of course, and a more in depth refactoring should be done to move the code common to both classes into wxAnyScrollHelperBase after 3.0 release. But for now continuing to duplicate code is better than not having a working wxVarScrollHelperBase. See #15357.

2013-09-15 02:15 VZ, revision 74813

Add wxAnyScrollHelperBase to reduce code duplication in wxVarScrollHelperBase. This is just a small refactoring to move some trivially common parts of wxScrollHelperBase and wxVarScrollHelperBase in a new common base class. This will make it possible to apply other corrections to wxVarScrollHelperBase without having to physically duplicate the code from wxScrollHelperBase in it. See #15357.

2013-09-15 02:15 VZ, revision 74812

Use wxGetTranslation() instead of _() in the public headers. This allows the code in them to compile even when WXINTL_NO_GETTEXT_MACRO is defined. Closes #15443.

2013-09-15 02:14 VZ, revision 74811

Fix flickering of wxStaticBox background in wxMSW. First of all, don't erase background in WM_ERASEBKGND at all if we erase it anyhow in WM_PAINT, this is totally useless and is what wxBG_STYLE_PAINT is for. Second, clip out not only the siblings of the static box but also its children when erasing the background to avoid painting over the controls created as the box children, which is the preferred way to create them now. Closes #15150.

2013-09-15 02:14 VZ, revision 74810

Don't crash when laying out wxGridBagSizer with only hidden elements. wxGridBagSizer lay out algorithm needs at least a single row and a single column to work, so simply don't run it at all if there is nothing to lay out. Closes #15475.

2013-09-15 02:14 VZ, revision 74809

Mention that wxSizer::Clear() always deletes child sizers. The existence of "delete_windows" argument could mislead people into thinking that sizers were not deleted neither when it had false value, see #15475.

2013-09-15 02:14 VZ, revision 74808

Improve composite flags handling in the property grid wxFlagsProperty. Don't consider that a flag is on just because one of its bits is enabled in the current flags, for the composite flags (e.g. something like "BOTH = ONE | TWO") all the bits composing the flag must be on for it to be enabled. Closes #15499.

2013-09-14 22:46 JS, revision 74807

Workaround for #15404: wxRichTextCtrl: caret does not disappear when focus is lost (Mac) (briceandre)

2013-09-14 20:15 PC, revision 74806

add support for GDK_SCROLL_SMOOTH mouse wheel event, introduced in GTK+ 3.4

2013-09-14 20:06 PC, revision 74805

use native lines/columns per action for mouse wheel event

2013-09-13 14:55 SJL, revision 74804

Handle WebKitWebView create-web-view. In some cases a new window is signalled using create-web-view rather than new-window-policy-decision-requested and so we need to handle it to emit the correct new window events. Fixes #15447.

2013-09-13 13:35 VZ, revision 74803

German translations update from Sebastian Walderich.

2013-09-12 22:49 VZ, revision 74802

Another Tamil translations update from Dinakar T.D.

2013-09-12 22:49 VZ, revision 74801

Polish translations update from Grzegorz Zlotowicz.

2013-09-12 22:49 VZ, revision 74800

Handle non-ASCII output from lsb_release in wxGetLinuxDistributionInfo(). Assume that lsb_release always output UTF-8 text as this seems to be the case right now for the only (common) Linux distribution which uses anything but ASCII for its code name (Fedora 19 "Schrödinger's Cat"). Closes #15492.

2013-09-12 22:49 VZ, revision 74799

Don't reset m_fp if wxFFile::Open() fails. This makes it behaviour consistent with wxFile::Open(). Also don't use Detach() in Close(), again for consistency with wxFile, even if this has no user-visible effects at all. See #15494.

2013-09-12 22:49 VZ, revision 74798

Return the old file descriptor/pointer from wx(F)File::Detach(). Make Detach() more convenient to use. Closes #15494.

2013-09-11 19:02 RD, revision 74792

Add missing Calc*Exposed methods

2013-09-11 17:20 VS, revision 74791

Don't lie about wxImageList in XRC format spec. The documentation for setting image lists on controls was a complete fabrication. It pretended that image lists were created as child <object>s, while in reality they are properties just as e.g. fonts are. Fix this and also better document the related 'image' property.

2013-09-11 17:20 VS, revision 74790

Minor corrections to XRC format description.

2013-09-11 17:20 VS, revision 74789

Fix incorrect XRC format docs for wxMenu(Bar)'s "style" property. It is not true that no standard properties are allowed, "style" is.

2013-09-11 17:20 VS, revision 74788

Better name for wxXmlResource::GetDirection() argument. 'dir' is not very descriptive (of course it's a direction!), it's better to include 'default' in the name to indicate this is the default value to use in absence of a specific one.

2013-09-11 17:20 VS, revision 74787

Fix needlessly convoluted test in wxXmlResourceHandlerImpl::GetImageList().

2013-09-11 17:06 VZ, revision 74786

Fix another crash when conversion fails in Unix PostScript code. Returning 0 length from GetTextExtent() is hardly ideal but it's better than crashing. Closes #15489.

2013-09-11 17:05 VZ, revision 74785

Tamil translations update from Dinakar T.D.

2013-09-11 17:05 VZ, revision 74784

Turkish translations update from ÇaÄŸrı DoÄŸan.

2013-09-11 14:03 SJL, revision 74783

Fix stc doxygen warnings and regen stc files. We need to manually escape a few parts of the autogenerated documentation. See #15346.

2013-09-11 12:10 SJL, revision 74782

Fix doxygen warnings. Using @since inside a style or event list causes doxygen warnings, replace with plain text. See #15346.

2013-09-11 03:46 VZ, revision 74781

Change version to 3.0.0. Keep "RC1" in the version string for now, but otherwise all version numbers should be updated.

2013-09-10 14:12 VZ, revision 74780

Fix wrong in wxListCtrl::SetItemColumnImage() in r74716. The check for "image == -1" was added to a wrong line. See #15421.

2013-09-10 14:12 VZ, revision 74779

Fix configure on GNU Hurd. Closes #15480.

2013-09-08 20:00 VZ, revision 74777

Consistently handle DST start time in wxDateTime::Set(). Always move the dates invalid due to DST (i.e. falling into the "missing" hour on the DST start date) forward, as GNU libc does, even when using a different CRT implementation, such as MSVC one which moves the invalid dates backwards. This seems more expected and also fixes an especially bad problem which happened due to moving the date backwards in Brazilian time zone where DST starts at midnight as doing this changed the day and totally broke ParseDate() assumption that setting wxDateTime to 00:00:00 at the given date really did set it to this date. Closes #15419.

2013-09-06 19:09 VS, revision 74776

wxMSW: return correct value from wxMessageDialog::GetReturnCode(). wxMessageDialog's native code didn't call SetReturnCode() as it should. As a result, it didn't work with ShowWindowModal().

2013-09-06 19:09 VS, revision 74775

Add lambda-friendly wxDialog::ShowWindowModalThenDo(). Add a convenience ShowWindowModalThenDo() variant of ShowWindowModal() that takes a functor argument and calls it when the dialog is closed. This is, of course, particularly useful when the argument is a C++11 lambda, especially when having more than one window-modal dialog invoked from the same window, which can get messy quickly with all the wxEVT_WINDOW_MODAL_DIALOG_CLOSED handlers.

2013-09-06 19:09 VS, revision 74774

Add wxWindowPtr smart pointer.

2013-09-06 19:09 VS, revision 74773

Add basic deleter support to wxSharedPtr<T>.

2013-09-06 19:09 VS, revision 74772

Document wxWindowModalDialogEvent.

2013-09-06 19:09 VS, revision 74771

Add wxCondition::Wait() overload that also tests the condition. Add Wait() overload that takes a functor argument and doesn't return until the condition is signaled _and_ the predicate returns true. This is useful for dealing with spurious wakeups and is modeled after C++11 std::condition_variable's corresponding method.

2013-09-06 19:09 VS, revision 74770

Fix outdated comment for wxCondition::Wait().

2013-09-06 14:27 VZ, revision 74769

Fix bug with not selecting wxAuiNotebook page when its child was focused. The code in OnChildFocusNotebook() handler only worked correctly if the page itself was focused but not if the focus was given to one of its children -- which should still make the page itself current. Closes #15471.

2013-09-06 11:50 SJL, revision 74768

Fix history storing in wxWebViewWebKit with custom schemes. When the history has just been cleared there is no existing item so we should add the new history item even in this case. Fixes #15446.

2013-09-06 02:20 VZ, revision 74764

Fix horizontal mouse wheel scrolling in wxGTK. Change the value of the appropriate adjustment instead of always using the vertical one. Closes #15469.

2013-09-05 16:10 VZ, revision 74763

Export recently added wxRichTextXMLHelper to fix link errors. This class is referenced from outside the library, see e.g. this build log: http://buildbot.tt-solutions.com/wx/builders/Linux x86 wxGTK trunk/builds/2961/steps/compile utils/logs/stdio and so must be exported, otherwise the build fails under Linux (and under Windows when using DLL). Perhaps it would be better to make it completely private to the library if it is not meant to be public, but this would require more changes.

2013-09-05 16:10 VZ, revision 74762

Revert wxDO_LOG_IF_ENABLED() change for MSVC6 in r74735. The old solution worked fine for that compiler and the new one fails when wxLogXXX() is used inside a switch statement to the wrong rules used by VC6 for the scope of the variables defined inside the for loop. Simply revert back to using the old version for it, this will be easy to re-revert after 3.0 by simply removing the check for it. See #11829.

2013-09-04 15:07 VZ, revision 74759

Just remove redundant wxDocument::SetDocumentTemplate() call. This is already done from InitDocument() called from wxDocTemplate::CreateDocument(). Closes #15467.

2013-09-04 02:14 VZ, revision 74758

Restore correct wx-config creation and work around MinGW lack of symlinks. This undoes the changes of r72205 and r72249 (see #14517) as using relative paths for wx-config symlink didn't work correctly if non-default values for $bindir and/or $libdir were used (i.e. if they were not siblings). Instead, fix the original problem of lack of symlinks when using MinGW directly: just use "cp -p" if "ln -s" fails. This should work everywhere and do the right thing. Closes #15463.

2013-09-04 02:14 VZ, revision 74757

Correct erasing of background behind controls in a toolbar in wxMSW. We need to handle WM_PRINTCLIENT in wxToolBar itself as the default handler for this message forwards to WM_ERASEBKGND of the parent window and our handler for that message only erases the client part of the window, in wx sense, i.e. including a relatively big vertical offset accounting for the toolbar. This means that when we get WM_PRINTCLIENT from the embedded control drawing code, we don't erase anything at all as the control rectangle height is smaller than the offset. This fix is not perfect as ideally the existing MSWGetBgBrushForChild() should be taken into account automatically by the default MSWPrintChild() implementation but at least it fixes the ugly visual artefacts. Closes #12307.

2013-09-04 02:14 VZ, revision 74756

Remove unnecessary wxHTML dependency from the notebook sample. r70321 added html library to the notebook sample, apparently accidentally as the commit message only mentioned aui one. Remove html and rebake.

2013-09-04 02:14 VZ, revision 74755

Add a test for a tooltip for a control inside a static box. Also create the controls as children of the static box, not its siblings, to make the tooltip work under wxGTK and because this is how we recommend doing things now. See #9859.

2013-09-04 02:14 VZ, revision 74754

Add wxDEPRECATED_MSG() and use it in a couple of places. This macro should be used instead of wxDEPRECATED() for the new deprecations as it allows to give a helpful explanatory message (if supported by the compiler) and also is simpler to use as it doesn't require wrapping the entire declaration in it but can be simply used before it. Also add wxDEPRECATED() support for clang as a side effect.

2013-09-04 02:14 VZ, revision 74753

Don't take hidden wxGrid row/columns into account when auto-sizing. The contents not shown to the user shouldn't affect the fitting width/height of the columns/rows that are shown. See #15464.

2013-09-04 02:14 VZ, revision 74752

Remove superfluous mouse capturing in wxGrid row/column labels windows. This code recaptured the mouse in the window which had already had it, thus triggering the (recently added, see r74677) asserts in CaptureMouse(). It also didn't preserve the invariant of m_winCapture always having the capture. And it was apparently completely unnecessary too. So simply remove it to fix the asserts while drag-resizing wxGrid rows/columns.

2013-09-04 02:14 VZ, revision 74751

Simplify wxGridCellAutoWrapStringRenderer::GetBestSize(). The code there was pretty wild, making clearly wrong assumptions (column size doesn't, and AFAICS never did, include 20 pixel margin) and also was clearly uncertain about what it was doing by trying to limit the number of iterations to some arbitrary cutoff when it is pretty clear that the loop increasing the width and decreasing the height on each iteration will reach the condition of "width >= height*1.68" sooner or later.

2013-09-04 02:14 VZ, revision 74750

Don't crash in wxGridCellAutoWrapStringRenderer when the column is hidden. Our methods should arguably not be called at all in this case, but if this does happen, at least don't crash. Closes #15464.

2013-09-03 18:47 JS, revision 74749

wxRTC: extracted XML utilities into a separate class for potential reuse.

2013-09-03 16:45 VS, revision 74748

Add missing XRC format docs for wxComboCtrl and wxEditableListBox.

2013-09-03 16:45 VS, revision 74747

Remove reduntant content from XRC format docs. Window styles are documented globally, no need for control-specific content for wxStatusBar. Also, it was outdated and incorrect.

2013-09-03 07:37 PC, revision 74746

Fix referencing of cairo_t returned from wxDCImpl::GetCairoContext(). It was assumed that all callers were going to unref the cairo_t, but that is not true, so callers that are going to unref it should ref it themselves. See #15455

2013-09-02 14:17 VS, revision 74742

Replace @since 2.9.6 with 3.0 in the docs.

2013-08-31 19:41 VZ, revision 74735

Rewrite wxLogXXX() macros to avoid "ambiguous else" warnings. Use a dummy for loop instead of an if statement to avoid all problems with the dangling else clauses: both the need for an artificially inversed "if" to make the code like if ( something ) wxLogError("..."); else something-else; to work as expected and to avoid warnings given by some versions of g++ and clang for the code above advising to add explicit braces. Closes #11829.

2013-08-31 19:41 VZ, revision 74734

Removed a method using wxColour from non-GUI benchmark code. No idea how could this work before but the presence of this code in the non-GUI benchmark project prevented it from building. As it's not used anyhow, just remove it.

2013-08-31 05:25 PC, revision 74733

Don't update position of widgets in a wxPizza from size_allocate handler. The values in m_{x,y} are not the same as client coordinates if the wxPizza is scrolled. Closes #15444

2013-08-31 01:32 VZ, revision 74732

Fix infinite loop in wxMSW with wxStaticBox inside non-wxTAB_TRAVERSAL parent. We didn't ensure that the parent of a (native) control with WS_EX_CONTROLPARENT had this style as well, unlike for our own windows. Fix this now to make certain that we never call ::IsDialogMessage() on a window whose parent doesn't have WS_EX_CONTROLPARENT as it simply hangs in this case, entering an infinite loop searching for the default button. Also try to reduce the possibility of such bugs in the future by checking for WS_EX_CONTROLPARENT and not wxTAB_TRAVERSAL before calling ::IsDialogMessage() even if this doesn't totally prevent them (it wasn't sufficient to fix even this particular bug). Closes #15458.