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

2011-10-31 12:30 DS, revision 69612

Fixed dropdown height of wxChoice and wxComboBox controls. When using comctl32.dll versions prior to 6.0 (e.g. with Win2k or no manifest file) the dropdown height of a wxChoice and wxComboBox would show all but one item and a vertical scrollbar was always visible. Fixed by reintroducing code that adds 1 to the total number of items. The code got dropped in r60553, added a comment to it in the hope that it will not be lost again.

2011-10-31 11:49 VZ, revision 69611

Mention setting up file as default download on SF in release docs. The newly uploaded files must be configured to be default downloads as otherwise SF continues to propose the old files by default. See #13347.

2011-10-31 11:42 VZ, revision 69610

Compilation fix for wxUSE_GRAPHICS_CONTEXT && !WX_PRECOMP. Include wx/dcclient.h to get wxPaintDC declaration necessary in this case.

2011-10-31 11:40 VZ, revision 69609

Correct FSF postal address in the licence text. Closes #13411.

2011-10-31 11:40 VZ, revision 69608
  • D /wxWidgets/trunk/docs/wine/licence.txt

Remove duplicated and apparently unnecessary licence file. This file was exactly the same as docs/licence.txt so keep just one of them.

2011-10-31 06:42 PC, revision 69607

add gdk_window_get_height/width

2011-10-31 06:36 PC, revision 69606

simplify Refresh(), ancestors of a mapped window have to be mapped also, no point in checking

2011-10-31 06:22 PC, revision 69605

in DoSetSize, only call GetPosition if necessary

2011-10-31 06:15 PC, revision 69604

correct callback function signature

2011-10-31 06:14 PC, revision 69603

move class function out of extern "C" block

2011-10-31 05:35 PC, revision 69602

simplify code calling gtk_window_set_urgency_hint

2011-10-30 20:48 VZ, revision 69601

Avoid too many sash position changed events when splitter is resized. We could call SetSashPositionAndNotify() twice in a row which was probably unexpected and possibly wasteful, if the user code did anything non trivial in response to this event. Just call it once after we're certain which sash position do we want to set.

2011-10-30 20:48 VZ, revision 69600

Fix the check for second window becoming too small in wxSplitterWindow. There was a strange check for the second pane size in OnSize() which hardcoded 5 pixels as minimal pane size in the check and 40 pixels as the minimal size to set. This resulted in strange behaviour when the second pane size would decrease to 6 pixels smoothly and then jump back to 40 pixels when the splitter window was resized and also was ugly at the code level. Get rid of this code and simply call AdjustSashPosition() to ensure that the sash position remains valid as the splitter is resized.

2011-10-30 20:48 VZ, revision 69599

Make the initial sash position work in splitter sample. The initial splitter size must be set correctly when using gravity with wxSplitterWindow as otherwise the sash would jump on first resize -- which was exactly what happened in the splitter sample. Add a SetSize() call to the sample with the comment explaining why is it needed and also actually make it stick as the cached last size was not updated before the splitter was split before. Closes #9821.

2011-10-30 20:48 VZ, revision 69598

Don't apply gravity before requested sash position was set in wxSplitterWindow. Gravity should take effect only after the originally requested sash position is set as otherwise it's not really taken into account. Closes #13508.

2011-10-30 20:48 VZ, revision 69597

Remove wxSplitterWindow::m_checkRequestedSashPosition. This variable seemed to be redundant with m_requestedSashPosition being set to INT_MAX so harmonise the code to always check for the latter and get rid of the former. There should be no observable changes in behaviour.

2011-10-30 20:48 VZ, revision 69596

No changes, just remove wxSplitterWindow::{Set,Get}NeedUpdating(). GetNeedUpdating() was never used at all while SetNeedUpdating() was used only once while m_needUpdating variable was being changed directly in other places making the code difficult to follow. Just use the member variable directly and remove the accessors.

2011-10-30 18:28 JS, revision 69595

Fixed problem with the size of paragraphs not needing layout not being taken into account when calculating overall box size. Should fix the problem with lines becoming insensitive to mouse clicks after adding a couple of shorter lines.

2011-10-30 17:51 VZ, revision 69594

Perform wxAuiToolBar idle updates from UpdateWindowUI(), not OnIdle(). No real changes, just optimize the idle updates by doing it from (less often called) UpdateWindowUI() instead of EVT_IDLE handler. Closes #10075.

2011-10-30 17:44 VZ, revision 69593

Generate right click events for all kinds of items in wxAuiToolBar. Don't generate wxEVT_COMMAND_AUITOOLBAR_RIGHT_CLICK for normal items only, they can be useful for other ones too. Note that this had been previously applied to 2.8 branch as r66926 but somehow wasn't applied to the trunk. Closes #10079.

2011-10-30 17:41 VZ, revision 69592

Fix splitting message into title in body in MSW wxProgressDialog. If the message doesn't contain any new lines, it should be used as the body, not the title as having title without body doesn't make sense and looks strange. Closes #13441.

2011-10-30 17:22 VZ, revision 69591

Don't replace non default wxMessageDialog labels with default translations. The code translating the button labels of wxMessageBox to the application language was overeager and replaced even the custom labels with the translations of the default ones. This shouldn't be done, of course, so simply check that no custom labels had been set before translating. See #10962.

2011-10-30 15:20 VZ, revision 69590

Change variables naming convention in wxAUI code. Use the standard wxWidgets camelCase convention instead of the old_one_using_underscores for all the private variables. Closes #13476.

2011-10-30 15:19 VZ, revision 69589

Link tests with webview library only if it is actually available. This allows the tests to build again even on the machines without the prerequisites for building wxWebView.

2011-10-30 15:19 VZ, revision 69588

Remove apparently unnecessary wxAuiMDIClientWindow dtor. This dtor doesn't seem to do anything useful as the base class dtor already destroys all window children anyhow and removing it is reported to fix some crashes in wxAUI (which is surprising and probably hides some other bug...). Closes #13547.

2011-10-30 15:19 VZ, revision 69587

Add wx/datetimectrl.h to the wxAdv files list. Ensure that this header is installed by "make install" as it ought to. Close #13529.

2011-10-30 15:19 VZ, revision 69586

Fix assert in generic wxListCtrl icon view when using images. Don't assume that the item image is a valid index in m_small_image_list as we may be in icon view which doesn't use small images at all. For now restrict this code to the report view mode as apparently the cached line height is not supposed to be used in other modes even though it's not clear whether this is really the case and so, perhaps, this code should also be used when in small icons view mode. Closes #13604.

2011-10-30 14:39 JS, revision 69585

Fixed warning when compiling richttextctrl.cpp in VS2010 (fixes #13606)

2011-10-30 14:34 JS, revision 69584

Add indents to maximum size to prevent problems with paragraph layout (fixes #13458).

2011-10-30 11:08 VZ, revision 69583

Allow customization of the locations where persistent settings are stored. Make it possible to set a non-default wxPersistenceManager to use and allow overriding of GetConfig() and GetKey() methods by making them virtual and documenting them. This can be notably used to allow porting of the existing code to use wxPersistenceManager while keeping compatibility with the old settings.

2011-10-30 11:08 VZ, revision 69582

Fix return value of wxPersistentSplitter::RestoreValue(). It used to always return false which didn't allow the code using to decide whether the default splitter position should be used or not.

2011-10-29 23:34 RD, revision 69581

Add missing interface items for Phoenix

2011-10-29 06:50 RD, revision 69573

resolve multiple inheritance ambiguity

2011-10-29 06:49 PC, revision 69572

parenthesize bitwise operator in logical expression

2011-10-28 00:48 VZ, revision 69571

Make BOM-detection code in wxConvAuto public. Export GetBOM() and DetectBOM() functions. Also rename BOMType enum elements to use "wx" prefix now that they're public. Closes #13599.

2011-10-28 00:48 VZ, revision 69570

No changes, just simplifications to configure code. Implicitly use SEARCH_LIB in WX_PATH_FIND_LIBRARIES() and WX_FIND_LIB() macros to avoid having to pass it to them explicitly every time. Closes #13601.

2011-10-28 00:48 VZ, revision 69569

No changes, just remove redundant code. Don't call FindToolByPosition() again in wxAuiToolBar::OnLeftUp() when we just called it above. Closes #13600.

2011-10-28 00:26 VZ, revision 69568

Add _PTR WX_DECLARE_HASH_SET variants to fix warnings about operator->(). Macros from WX_DECLARE_HASH_SET family could declare an operator->() which could never be called because it returned a pointer to a non-object (e.g. a pointer or a primitive type). Fix this in the same way as for WX_DECLARE_ARRAY macros by adding (badly but consistently) named _PTR variants of the macros to allow defining the versions without operator->(). This fixes tons of warnings when building wx with Sun CC.

2011-10-27 23:10 VZ, revision 69567

Use WX_XXX_ARRAY_PTR macro variants for arrays of pointers. Arrays of pointers must not overload operator->() as it is not used with them and is, in fact, unusable, provoking a warning from Sun CC every time such array is declared. Use the special _PTR-suffixed versions to avoid this.

2011-10-27 23:10 VZ, revision 69566

Don't make wxQsort() extern "C" nor use any special convention for it. It doesn't make sense to require passing C functions to wxQsort() that we define in a C++ library. We also don't need any special calling convention here. Notice that the only existing uses of wxQsort() inside wxWidgets itself were not actually extern "C" and one of them didn't even use the correct calling convention. Also avoid using non-wx-prefixed CMPFUNCDATA identifier in a public header, rename it to wxSortCallback instead. Finally make wxQsort() documentation slightly more useful.

2011-10-27 23:10 VZ, revision 69565

Make GTK callbacks passed to GTKConnectWidget() extern "C". This fixes (harmless but annoying) warnings about mixing C++ and C linkage function pointers from Sun compiler.

2011-10-27 23:10 VZ, revision 69564

Explicitly declare environ variable. While POSIX and SUS both mandate this variable existence, they don't say that it needs to be declared anywhere and it actually doesn't seem to be declared under Solaris when using Sun CC and so using it resulted in compilation errors. Just declare it ourselves to avoid them.

2011-10-27 23:10 VZ, revision 69563

Always include locale.h to get LC_ALL declaration. For some reason locale.h was only included in !wxUSE_STD_STRING case but we actually always need it as we use LC_ALL in this file and at least in Sun CC build it wasn't included from anywhere else so include it from here to fix the build.

2011-10-27 23:10 VZ, revision 69562

Remove unused wxIFFDecoder::picptr member variable. This variable was apparently unused and a local variable with the same name was used instead, resulting in Sun CC warnings about variable shadowing. Just remove the unused member variable to fix this.

2011-10-27 23:10 VZ, revision 69561

No real changes, just remove an extra semicolon. DECLARE_DYNAMIC_CLASS() shouldn't be followed by a semicolon and Sun CC warns about it, so fix this by removing it.

2011-10-27 23:10 VZ, revision 69560

Replace remaining occurrences of _T() with wxT(). Use wxT() everywhere for consistency and to fix compilation with Sun CC for which _T() is not defined as it clashes with a symbol with the same name in standard headers.

2011-10-27 23:10 VZ, revision 69559

No real changes, just remove trailing commas from enums. These commas are not allowed by standard C++ and Sun CC warns about them (and some other compilers, e.g. HP aCC, even give errors for them).

2011-10-27 01:20 VZ, revision 69556

Add WX_FIND_LIB() function to simplify testing for libraries in configure. No real changes in behaviour but the new WX_FIND_LIB() function can now be used to test for any library. Closes #13375.

2011-10-27 01:20 VZ, revision 69555

No changes, just fix some typos in acinclude.m4 comments. See #13375.

2011-10-27 01:20 VZ, revision 69554

Use AC_LANG_SOURCE and add missing quoting to configure. This fixes some of the warnings from autoconf 2.68 while still remaining compatible with 2.61. Closes #13591.

2011-10-26 19:10 VS, revision 69547

Fix incorrect handling of ItemsAdded() in wxDataViewCtrl. When adding items to the model in bulk and then calling ItemsAdded(), internal representation in both the generic and GTK+ versions wasn't updated correctly if the order of the notifications was such that an item would be inserted after other new, but not yet inserted, items. Fixes bug #13587.

2011-10-26 10:36 JS, revision 69546

Typo correction

2011-10-26 07:52 RD, revision 69545

Interface tweaks and fixes for Phoenix

2011-10-26 07:39 RD, revision 69544

Work around a multiple inheritance ambiguity

2011-10-26 07:38 SC, revision 69543

move declaration into cocoa part

2011-10-26 00:44 JS, revision 69534

Now uses wxRTC-specific font table instead of slower general-purpose wxFontList to cache fonts.

2011-10-25 21:29 SC, revision 69532

deactivate wxUSE_TIMEPICKCTRL for iphone

2011-10-25 20:44 SC, revision 69531

files added

2011-10-25 20:31 SC, revision 69530

files added

2011-10-25 20:04 SC, revision 69529

files added

2011-10-25 18:56 PC, revision 69528

fix wxMDIChildFrame after r69390 and r69468, TLW realization code should not be called, fixes #13593

2011-10-25 18:55 SC, revision 69527

panelg removal

2011-10-25 13:52 SC, revision 69526

fixing reentrancy problem under iOS 5

2011-10-25 13:51 SC, revision 69525

fixing iPhone build

2011-10-25 13:51 SC, revision 69524

fixing iPhone build

2011-10-25 08:00 PC, revision 69523

avoid GDK warning "drawable is not a pixmap or window"

2011-10-25 07:12 PC, revision 69522

avoid GTK3 warning "GtkNotebook %p is mapped but visible child wxPizza %p is not mapped" whatever problem this hack was supposed to solve, this was not the way to fix it

2011-10-23 20:03 PC, revision 69516

revert (presumably unintentional) change from r59562, which caused auto-scroll sample selection to be broken for last 2.5 years

2011-10-22 19:42 JS, revision 69515

On Windows, searches for fonts instead of creating many fonts. This will help reduce resource proliferation and in extremis, crashes.

2011-10-22 15:49 JS, revision 69514

Fix for indeterminate attribute specification

2011-10-22 15:48 JS, revision 69513

Fix for indeterminate attribute specification

2011-10-22 15:19 JS, revision 69512

Applied patch #13534: wxRichTextCtrl: Make it easier to use TextEffects flags

2011-10-22 15:08 JS, revision 69511

Allow user to select indeterminate state for font attributes

2011-10-22 15:05 JS, revision 69510

Allow user to select indeterminate state for font attributes

2011-10-22 04:31 RD, revision 69509

Add missing styles and flags, and specify pure virtuals that are implemented

2011-10-21 20:34 RD, revision 69503

Add the getters

2011-10-21 20:33 RD, revision 69502

It's not an array of pointers to dashes, but rather an array of dash values

2011-10-21 18:51 VS, revision 69500

Document wxDataViewModelNotifier callbacks return values. It doesn't make sense to return anything other than true here, as failure from one of several notifiers cannot be handled sanely, so just document that.

2011-10-21 18:34 VS, revision 69499

Use the new wxDataViewRenderer activation API in wxTreeListCtrl.

2011-10-21 18:34 VS, revision 69498

Move wxDataViewCustomRendererBase::ActivateCell() to datavcmn.cpp. It triggered deprecation warnings in user code when it was inline.

2011-10-21 09:56 RD, revision 69491

Interface fixes for Phoenix

2011-10-20 18:45 VZ, revision 69489

Dirty hack to allow generic wxDatePickerCtrl to compile under MSW. Don't make wxDateTimePickerCtrl methods pure virtual in its MSW-specific version as the generic wx{Date,Time}PickerCtrl implementations not using these methods also inherit from it currently. This is wrong and would need to be fixed properly later but for now this hack at least allows the generic classes to compile and, apparently, work under MSW again. Remove the equally dirty hack used in the generic wxTimePickerCtrl to allow it to compile which is not needed any more because this one replaces it.

2011-10-20 18:20 VZ, revision 69488

Fix wxRichToolTip compilation under MSW without PCH and recent SDK headers. Include the headers normally included from wx/wxprec.h. Also define the stuff missing from the headers of some compilers (notably MinGW but probably also VC6) ourselves.

2011-10-20 18:10 VZ, revision 69487

Add "checked" property for toolbar tool elements in XRC. Allow toolbar tools to be created in checked (or toggled) state in XRC, just as the menu items can already be created checked.

2011-10-20 06:58 RD, revision 69486

The new wxImage related gaphics context code uses some new Cairo APIs, add the code needed when loading them dynamically.

2011-10-20 06:49 RD, revision 69485

Delegate wxGraphicsBitmap::ConvertToImage to the renderer so we do not end up with more than one definition of the method when building with both the GDI+ GC and the Cairo GC enabled at the same time.

2011-10-19 23:53 VZ, revision 69480

Fix PCH-less compilation of wx/richtooltip.h too. We need to include the full wxColour declaration instead of just forward declaring it as we use its ctor for a default value of a parameter. Also include wx/defs.h to ensure that wxUSE_RICHTOOLTIP is defined before testing it.

2011-10-19 18:20 VS, revision 69473

Cleanup of wxDataViewCtrl cell activation code. Fix confusion of what cell activation is and inconsistence with native handling in GTK+. Document the distinction between activating (~ editing) a cell and activating (double-clicking) the whole item. Deprecate wxDataViewCustomRenderer::LeftClick() and Activate() methods, replace them with single ActivateCell() that is called for both kinds of activation. Fix implementations so that ActivateCell() is not called on double-click, when it shouldn't, and vice versa: don't send wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED for cell activation. Partially reverts r67099 -- restores old 2.9 signatures of compatibility LeftClick() and Activate() methods.

2011-10-19 18:20 VS, revision 69472

Move InitMouseEvent<T>() to wx/gtk/private/event.h. It is needed in wxDataViewCtrl now too, in addition to wxWindow.

2011-10-19 18:20 VS, revision 69471

Use wxDatePickerCtrl in wxDataViewDateRenderer. Inline editor is more in line with the behavior of other editors, requiring double click to edit values was unexpected. Also merge the two almost-but-not-quite identical implementations in generic and GTK+ versions.

2011-10-19 18:20 VS, revision 69470

Allow using wxCompositeWindow<T> as wxDataViewCtrl inline editor. wxDVC inline editing code attaches some event handlers to the editor control; most importantly, it watches for Enter key and for focus changes. If the editor control is a composite window, these events occur in a sub control and never reach wxDVC code. Fix this by forwarding events to the main window of the composite control. Only events required by wxDVC are implemented for now.

2011-10-19 18:19 VS, revision 69469

Fix NULL window argument to wxEVT_KILL_FOCUS when creating a TLW. wxTopLevelWindowMSW::CreateDialog first moved and resized the newly created window and only then called SubclassWin(). Because native focus change occurred when moving the window, HWND->wxWindow association wasn't yet filled in and wxFindWinFromHandle() would return NULL.

2011-10-19 18:19 VS, revision 69468

Send wxEVT_CREATE and do other post-realization initialization even if the widget was realized early.

2011-10-19 18:19 VS, revision 69467

Set wxFocusEvent's window value for wxEVT_KILL_FOCUS in wxGTK. Note that it is still not set for wxEVT_SET_FOCUS, because it's not immediately obvious how to obtain the previously focused window from there. It's still better than always having the window NULL.

2011-10-19 12:58 VZ, revision 69466

More fixes for PCH-less compilation. Include declarations for or forward declare more classes.

2011-10-19 00:59 VZ, revision 69465

Fix for PCH-less compilation after wxNonOwnedWindow changes. Need to include declarations of wx{Memory,Paint}DC classes.

2011-10-19 00:32 JC, revision 69464

Merge to the trunk head

2011-10-18 23:57 VZ, revision 69463

Added wxRichToolTip class. It can be used to show more customizable tooltips than the native wxToolTip but at the price of using generic implementation in some cases (actually almost always now, with the exceptions of text control tooltips under MSW). Extra features include: - The balloon-like tooltip form. - Possibility to show an icon. - Title display in a different form. More customization could be added later. It should be also possible to fully implement this class natively under MSW. Update the dialogs sample to show the rich tooltips in action.

2011-10-18 23:56 VZ, revision 69462

Added wxNonOwnedWindow::SetShape(wxGraphicsPath). TODO: Document.

2011-10-18 23:56 VZ, revision 69461

Document and test behaviour of wxRegion methods when it is invalid. Document which wxRegion methods can and can't be used when the region itself is invalid. Apply the minor changes to wxGTK (Xor() didn't do the right thing, Offset() didn't assert) and wxOSX (Offset() crashed) to make their behaviour consistent with wxMSW. Add a (trivial, so far, but to be extended later) wxRegion unit test checking that the methods do indeed behave as documented.