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

2012-12-08 01:37 VZ, revision 73139

Catch attempts to create a window with itself as parent. This doesn't happen often but when it does, the results are catastrophic and not always easy to debug, so try catch this as soon as possible.

2012-12-08 01:37 VZ, revision 73138

Remove check of eof() return value validity. It's useless and resulted in a warning from Coverity as it correctly determined that this code could never be executed under Unix.

2012-12-06 06:33 PC, revision 73136

disable Ubuntu "overlay scrollbar", see #14871

2012-12-05 18:38 PC, revision 73134

fix tests for valid pen and brush, broken in r73099

2012-12-05 17:23 JS, revision 73133

wxRTC text box layout fixes

2012-12-04 13:28 VZ, revision 73127

Compilation fir for VC6 after r73124. VC6 doesn't have __debugbreak().

2012-12-04 01:39 VZ, revision 73126

Explicitly set margins for single line text controls in wxMSW. The margin used by them was inconsistent and depended on the initial size the control was created with for some reason. Call EM_SETMARGINS explicitly to ensure consistent appearance in all cases. Closes #2438.

2012-12-04 01:39 VZ, revision 73125

Add missing critical section locking before accessing shared variable. WinThreadStart() in wxMSW wxThread implementation accessed the variable containing the thread state without locking which was wrong, do it only inside the critical section. Notice that there is still an unavoidable race condition between exiting the thread and starting it, so it's not clear at all if we should try to avoid calling DoThreadStart() here. Closes #14865.

2012-12-04 01:39 VZ, revision 73124

Open debugger at the location of failing assert, if possible. Break into the debugger in the function containing the assert that failed instead of inside wxWidgets assert handler which is several (~8) levels below the last line of the user code. This is much more useful in practice and also less confusing. Currently this only works for MSVC as the other compilers don't have any __debugbreak intrinsice equivalent. Also update the except sample to test wxTrap() directly too. Closes #11184.

2012-12-04 00:56 VZ, revision 73123

Tag complete libtiff 4.0.3 on vendor branch.

2012-12-04 00:55 VZ, revision 73122

Add directory somehow omitted from libtiff 4.0.3 import. We don't really need this one but add it to avoid unnecessary differences with the upstream sources.

2012-12-03 20:09 VZ, revision 73113

Tag libtiff 4.0.3 on vendor branch.

2012-12-03 19:22 VZ, revision 73112

Update vendor libtiff sources to version 4.0.3. See #12301.

2012-12-03 19:14 PC, revision 73111

Remove SashHitTest() "tolerance" parameter Mouse events (LeftDown in particular) will only occur if the mouse is over the sash, so it does not make sense to have a fudge factor

2012-12-03 19:04 PC, revision 73110

Avoid setting sash resize cursor when mouse is still over border of second pane with wxGTK This made it possible to have the resize cursor, but not be able to drag the sash, and happened because wxGTK sends a leave event when mouse leaves client area instead of outer border of window. Setting the useless SashHitTest() "tolerance" parameter to zero avoids the problem. Fixes #1397

2012-12-03 18:37 PC, revision 73109

Fix SashHitTest() returning true one pixel past the sash If the sash is n pixels wide, the last position over the sash is start + n - 1, not start + n

2012-12-03 18:05 VZ, revision 73108

Exclude files in vendor branches from svn hook checks. These files correspond to upstream sources and shouldn't be subject to our checks.

2012-12-03 01:34 VZ, revision 73107

wxGTK linking fix after r73102. Remove SendSelectionChangedEvent() declaration, it's now in the base class.

2012-12-03 00:50 VZ, revision 73106

Correct lookup of Explorer-specific file association information. The code added in r52154 never worked because it was looking for the Progid value in a wrong place, look for it under UserChoice subkey where it really is. Also add a way to look up the command to open files with the given extension to the exec sample. Closes #12302.

2012-12-03 00:50 VZ, revision 73105

No changes, just reorganize the menu slightly in the exec sample. Move all file association related commands under "File" menu from the "Exec" one, having them there makes more sense and "Exec" menu is already quite big.

2012-12-03 00:49 VZ, revision 73104

Allow specifying -1 as font size to mean "default" in wxMSW. This has never been officially documented but used to work in 2.8 and still works in wxGTK, so make it works in wxMSW too for consistency. Closes #12541.

2012-12-03 00:49 VZ, revision 73103

Make wxChoice and wxComboBox behaviour same as in native controls in wxMSW. Keep the item selected from the drop down using keyboard when switching away from the control by pressing TAB: although this generates CBN_SELENDCANCEL notification, the selection is actually kept by the native controls in this case, so don't reset it ourselves -- even though it makes sense, it makes wx applications behave differently from the native ones.

2012-12-03 00:48 VZ, revision 73102

Add wxControlWithItems::SendSelectionChangedEvent() helper. Reuse the same event generation code for wxChoice in wxMSW, wxGTK and wxOSX and also wxComboBox in wxMSW and wxGTK instead of duplicating it (incompletely and so partially incorrectly in wxOSX case). This is just a refactoring so no changes in behaviour.

2012-12-03 00:48 VZ, revision 73101

Avoid using "do { ... } while ( wxFalse )" pseudo-loop. This loop can't be optimized away by the compiler because wxFalse is an extern variable which can't be known to be always false. Additionally, this creates many false positives from Coverity as it assumes that the loop can be executed more than once. Define wxSTATEMENT_MACRO_BEGIN/END macros abstracting the exact solution used and replace wxFalse with "(void)0, 0" for now as this seems to placate MSVC (which warns about using a bare "0" as a condition) while still allowing the loop to be completely optimized away.

2012-12-02 21:24 VZ, revision 73100

Warn, don't assert, about unexpected inotify events. In practice we seem to be getting some unexpected inotify() events during heavy IO activity. This shouldn't happen but it does, so at least don't prevent the program from running by popping up the assertion dialog when it happens. Closes #14854.

2012-12-02 06:48 PC, revision 73099

simplify code so it always returns the same object

2012-12-02 06:11 PC, revision 73098

clean up wxCairoRenderer initialization mess Remove unused Unload(), wxCairoCleanUp(), m_loaded and gCairoRenderer, and redundant Load() and EnsureIsLoaded(). Just call wxCairoInit() directly, and for GTK do nothing at all.

2012-12-02 04:35 PC, revision 73097

remove unnecessary include of wx/cairo.h

2012-12-02 03:28 PC, revision 73096

Remove nearly empty wx/cairo.h header It does so little now it's not worth having. And it should not have been a public header.

2012-12-02 00:06 PC, revision 73095

use stock colour/pen/brush objects in samples

2012-12-01 23:34 PC, revision 73092

use new pen/brush style names in samples

2012-12-01 23:14 PC, revision 73091

remove colour/pen/brush arguments which are the default in the samples

2012-12-01 19:30 PC, revision 73089

Fix path returned from wxFileDialog, closes #14786

2012-12-01 01:14 VZ, revision 73086

Use disabled colour for the dropdown arrow of disabled ribbon. Previously the normal colour was used for the arrow in MSW art provider even if the ribbon was disabled. Closes #14864.

2012-12-01 01:14 VZ, revision 73085

Miscellaneous spelling and typo fixes in the documentation. Closes #14866.

2012-12-01 01:14 VZ, revision 73084

Fix premature truncation of brief descriptions in Doxygen comments. Don't end the brief description at the first period if it's a period which is part of "i.e." or "e.g.": escape the space following it to prevent Doxygen from recognizing it as an end of sentence. See #14866.

2012-12-01 01:13 VZ, revision 73083

Fix documentation of wxGridBagSizer::Add() spacer overload. Describe the width and height parameters. See #14866.

2012-11-30 23:28 RD, revision 73070

Interface fixes for Phoenix

2012-11-30 19:21 PC, revision 73068

simplify code to return from the end of the function

2012-11-30 19:01 PC, revision 73067

indentation fixes

2012-11-30 07:56 PC, revision 73066

move wxGet{Colour,Font}FromUser() out of utilscmn.cpp so they don't have to be in every app that links statically

2012-11-29 23:03 VZ, revision 73065

Don't assert when stopping watching a just renamed file. (Almost) silently ignore renames of the files which we don't watch any longer instead of asserting if this happens. Closes #14863.

2012-11-29 23:02 VZ, revision 73064

Log invalid inotify() events without a valid watch descriptor. Apparently we can get events without any valid watch descriptor, even though this is not supposed to happen. At least warn about them. See #14854.

2012-11-29 23:02 VZ, revision 73063

Correct handling of IN_Q_OVERFLOW in wxFileSystemWatcher Linux code. Don't use wd field if it's -1 which can happen for IN_Q_OVERFLOW. See #14854.

2012-11-29 11:17 JS, revision 73060

Cope with the common case of utf-8 being specified in the .hhp file, and convert the book title.

2012-11-29 11:15 JS, revision 73059

Cope with the common case of utf-8 being specified in the .hhp file, and convert the book title.

2012-11-29 08:53 PC, revision 73058

declare wxQsort in vector.h as well as utils.h to work around circular header dependency mess

2012-11-29 08:00 JJ, revision 73057

Do not use GTKIsUsingGlobalMenu when compiled against gtk1.x

2012-11-29 00:56 VZ, revision 73056

Fix bezel used for bitmap buttons in wxOSX/Cocoa. Don't use NSRoundedBezelStyle for bitmap buttons as this bezel has fixed height. Instead, use NSRegularSquareBezelStyle which can used with buttons of any size and is the correct bezel to use for the buttons mostly identified by their icon according to Apple docs. Notice that we still use the standard bezel for the "small" (where "small" is arbitrarily defined by the hard coded 20 pixels height) icons as those are usually used in addition to the text and not replacing it and so it makes more sense to use the same bezel as for the normal buttons for them.

2012-11-29 00:56 VZ, revision 73055

Select the entire spin control contents when changing its value. Selecting the entire contents makes it more convenient for the user to enter the new value.

2012-11-29 00:55 VZ, revision 73054

Handle Shift-TAB correctly in wxOSX/Carbon wxComboBox. The navigation event direction should depend on Shift key state. See #3821.

2012-11-28 21:57 SC, revision 73053

adding some additional fixes for programmatic selection handling

2012-11-28 18:14 RD, revision 73052

Compilation fix.

2012-11-28 16:42 VZ, revision 73051

Compilation fixes after r73050. See #14862.

2012-11-28 15:18 VZ, revision 73050

Add "rect" paramerer to wxRichToolTip::ShowFor(). Allow to show the tooltip at the exact specified position instead of placing it automatically. Closes #14862.

2012-11-28 15:17 VZ, revision 73049

Add missing wxUSE_OLE checks to safearray.cpp. Fix compilation with wxUSE_OLE==0. Closes #14860.

2012-11-28 15:17 VZ, revision 73048

Compilation fix for wxDocManager after r73004. Define GetXXXVector() methods after all the classes are fully declared to ensure that static_cast<> inside wxList::AsVector() they use compiles with the OpenVMS compiler. See #14814.

2012-11-28 11:13 SC, revision 73047

support for inheriting non-standard attributes (explicit fonts instead of window variants), fixes #3583

2012-11-28 09:51 SC, revision 73046

supporting selection methods when not focused, closes #1480

2012-11-27 20:16 SC, revision 73045

simulating focus events, see #13495

2012-11-27 20:09 SC, revision 73044

support for simulating focus events since not all controls can be focused

2012-11-27 14:23 SC, revision 73043

emulating wx' focus-lost behavior

2012-11-27 14:22 SC, revision 73042

spell error fixed

2012-11-27 09:29 SC, revision 73041

workaround, see #14856

2012-11-27 08:42 JJ, revision 73040

Fix OpenVMS makefile

2012-11-27 02:19 RD, revision 73029

More interface fixes for Phoenix

2012-11-27 00:53 VZ, revision 73028

Compilation fix to docview sample after r73004. Don't use wxDocManager::GetDocumentsVector() with VC6 which doesn't have it.

2012-11-26 19:30 PC, revision 73027

disconnect "toggled" signal in dtor when style has wxALIGN_RIGHT

2012-11-26 18:53 PC, revision 73026

fix for GTK assert after r72696, a draw/expose_event signal may also be attached to parent

2012-11-26 16:51 VZ, revision 73025

Disable CallAfter() for MSVC 7 too, it can't compile this code. It was already disabled for VC6 but VC7 doesn't compile this code neither, so disable it for this compiler as well.

2012-11-26 16:50 VZ, revision 73024

Bracket vararg macro definition with wxHAS_VARIADIC_MACROS. This should fix tests compilation with VC6.

2012-11-26 14:50 VZ, revision 73023

Another Nepalese translations update.

2012-11-26 14:14 VZ, revision 73022

Fix wxALWAYS_SHOW_SB behaviour in wxGTK. Don't show the scrollbar always if it's not enabled at all, i.e. if the corresponding wxHSCROLL or wxVSCROLL style is not specified.

2012-11-26 14:14 VZ, revision 73021

Fix harmless warning about uninitialized variable in fswatcher sample. Just always initialize it.

2012-11-26 14:13 VZ, revision 73020

Fix warnings about using type attribute on forward declaration. This results in many, many warnings in OS X build.

2012-11-26 00:18 VZ, revision 73019

Fix wxGenericListCtrl scrolling by not processing the events twice. Scrolling wxGenericListCtrl was broken since r72939 because its OnScroll() event handler explicitly called wxScrollHelper::HandleOnScroll() which was also called by the base class ProcessEvent(). Arguably, wxScrollHelper::ProcessEvent() should be updated to allow handling events directly like this by not processing it again if the event wasn't skipped but for now just do skip the event and let the default handling take place which at least makes wxGenericListCtrl work correctly again. Closes #14852.

2012-11-26 00:17 VZ, revision 73018

Fix TAB navigation in wxGTK broken by r72663. Don't call SetCanFocus(true) for container windows with focusable children, this doesn't play well at all with wxGTK focus handling and in particular totally disabled TAB navigation.

2012-11-26 00:17 VZ, revision 73017

Restore generic GetPartialTextExtents() version use in wxGTK and wxMSW. Non-wxWindowDC-derived wxDC classes in wxGTK, such as wxGtkPrinterDCImpl, have to fall back on the generic implementation of GetPartialTextExtents() as Pango version can't be used with them. This fixes a crash due to using NULL Pango layout when printing wxRichTextCtrl in wxGTK. Closes #14847.

2012-11-26 00:17 VZ, revision 73016

Don't dereference NULL output pointer in wxTextMeasure. Check that pointers are non-NULL before assigning 0 to them.

2012-11-25 22:30 PC, revision 73015

backport r56474, "fix for assert failure when first paint event occurs before first idle event" closes #10085

2012-11-25 12:51 VZ, revision 73014

Handle UBUNTU_MENUPROXY=0 as "not using global menu". Although the correct way to disable the global menu bar under Ubuntu is to set UBUNTU_MENUPROXY to an empty string, many guides on the web advise setting it to "0", so handle this special case in wxApp::GTKIsUsingGlobalMenu() too.

2012-11-25 04:41 PC, revision 73013

avoid functions deprecated in GTK3

2012-11-25 03:49 PC, revision 73012

fix wxBitmapComboBox Gtk-CRITICAL assertion `GTK_IS_ENTRY (entry)' failed

2012-11-25 03:30 PC, revision 73011

non-pch build fix

2012-11-25 03:23 PC, revision 73010

Simplify GetDefaultAttributesFromGTKWidget() by passing the widget to use, rather than a pointer to a function to create the widget

2012-11-25 01:15 VZ, revision 73009

Use idle time menu updating when using global menu bar in wxGTK. We don't get wxEVT_MENU_OPEN events when using the global menu bar so don't rely on them for updating the menu items status and fall back to idle time menu updating if the global menu bar is used. This required changing wxUSE_IDLEMENUUPDATES tests from compile- to run-time ones. Closes #14302.

2012-11-25 01:15 VZ, revision 73008

Add wxApp::GTKIsUsingGlobalMenu() helper to wxGTK. This allows to check whether the global menu is being used and will be mostly useful for working around various bugs/problems uncovered by it. See #14302.

2012-11-25 01:15 VZ, revision 73007

Ignore menu events while modal dialogs are shown in wxGTK. Normally menus are disabled in this case but not when running under Ubuntu Unity, so add an explicit test for this to avoid breaking the program expected flow of control by allowing the user to show the same modal dialog twice, for example. This is not ideal, it would be better to visually disable the menu while the modal dialogs are shown but is better than nothing. Closes #14823.

2012-11-25 00:01 VZ, revision 73006

Blind compilation fix for VC6 after r73004. Define wxDocTemplateVector for VC6 too, it's used in docview.cpp. Also wrap too long lines.

2012-11-24 22:49 PC, revision 73005

silence GCC warning "enumeral and non-enumeral type in conditional expression"

2012-11-24 18:37 VZ, revision 73004

Add wxDocManager::Get{Views,Documents,Templates}Vector(). Add accessors returning more convenient wxVectors to supplement the existing ones giving access to internally used wxLists. Closes #14814.

2012-11-24 18:36 VZ, revision 73003

Add wxList::AsVector<>() helper. This can be useful in legacy code using wxList to progressively replace it with wxVector. See #14814.

2012-11-24 18:36 VZ, revision 73002

Don't include wx/utils.h from wx/vector.h. This will allow to include wx/vector.h from wx/list.h which is itself included from wx/utils.h by breaking this circular dependency. Don't use wxMin(), defined in wx/utils.h, in order to do this. See #14814.

2012-11-24 01:33 VZ, revision 73001

Use wxBufferedPaintDC for wxStyledTextCtrl drawing in wxGTK. GTK+ doesn't seem to use double buffering for Scintilla window for some reason, resulting in bad flicker when it's updated, e.g. when the user types into it. Force the use of double buffering at wxWidgets level by using wxBufferedPaintDC for painting it. This may be inefficient if GTK+ does double buffer it in some cases but at least it gets rid of the flicker. Closes #12704, #14828.

2012-11-24 01:33 VZ, revision 73000

Add check for destroying window with mouse capture in wxGTK. We already have an assert checking for this at wxWindowBase level but it seems that it wasn't always triggered somehow (maybe because we crashed before getting there?), so do it sooner. Closes #14602.

2012-11-23 20:02 SC, revision 72999

support for custom app controllers, override OSXCreateAppController in wxApp subclass

2012-11-23 15:34 VZ, revision 72998

Fix ribbon bar scroll buttons visibility bug. Fix scroll buttons update code in wxRibbonPage. Closes #14844.

2012-11-23 15:32 VZ, revision 72997

Add possibility to delay showing wxRichToolTip. Optionally show the tooltip after a delay instead of doing it immediately when Show() is called. Closes #14846.

2012-11-23 08:55 SC, revision 72996

fixing overrelease and out-of-bounds write, fixes #13725

2012-11-20 13:49 VZ, revision 72995

Implement GetSizeFromTextSize() for wxSpinCtrl. Implement it for the native MSW and GTK versions and the generic one used in the other ports and also for wxSpinCtrlDouble under MSW. Also test this function in the spin page of the widgets sample. Closes #14840.