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
Changelog for wxWidgets (70435 changes):
2011-09-29 14:05 JS, revision 69218- M /wxWidgets/branches/WX_2_8_BRANCH/docs/changes.txt
- M /wxWidgets/branches/WX_2_8_BRANCH/src/richtext/richtextctrl.cpp
2011-09-29 09:28 RD, revision 69217Fixed caret sizing problem around large objects by clipping the caret to the margins
2011-09-28 21:44 SJL, revision 69214Don't always use the Cairo context for wxGCDC(wxMemoryDC). If a Cairo context is wanted then the wxGCDC(wxGraphicsContext*) ctor should be used instead. (I thought I had removed this code with my last commit of this file...)
2011-09-28 16:54 SJL, revision 69209Delete the menu on close in the wxWebView sample. Fixes most of the memory leaks. See #13500
- M /wxWidgets/trunk/include/wx/msw/missing.h
- M /wxWidgets/trunk/include/wx/msw/webview_ie.h
- M /wxWidgets/trunk/src/msw/webview_ie.cpp
2011-09-28 11:46 JJ, revision 69208Fix compilation of wxWebView under mingw by adding missing definitions and dynamically loading urlmon. Fixes #13509
2011-09-28 08:02 JJ, revision 69207correcting typo in previous commit
- M /wxWidgets/trunk/descrip.mms
- M /wxWidgets/trunk/src/common/descrip.mms
- M /wxWidgets/trunk/src/gtk/descrip.mms
- M /wxWidgets/trunk/src/gtk1/descrip.mms
- M /wxWidgets/trunk/src/gtk1/sockgtk.cpp
- M /wxWidgets/trunk/src/stc/scintilla/src/descrip.mms
2011-09-27 09:21 SC, revision 69205Include support for OpenVMS IA64
2011-09-27 09:14 JJ, revision 69204giving in on native undo integration, as we don't have a NSUndoManager, fixes #13431
2011-09-27 07:56 JJ, revision 69203Correcting typo in commit 69203
2011-09-27 05:34 RD, revision 69202Update openVMS compile support
- M /wxWidgets/trunk/interface/wx/dataview.h
- M /wxWidgets/trunk/interface/wx/defs.h
- M /wxWidgets/trunk/interface/wx/dialog.h
- M /wxWidgets/trunk/interface/wx/event.h
2011-09-26 17:03 PC, revision 69201More interface updates for Phoenix
2011-09-26 16:28 JJ, revision 69200backport r51506, "fix wxALIGN_RIGHT in RTL mode", closes #13469
2011-09-25 17:48 VS, revision 69199Disable webview on OpenVMS
2011-09-25 14:14 SC, revision 69198Don't use `install -d` to create directories. Always use `mkdir -p`, as install is problematic with regard to permissions. Fixes #13452.
2011-09-25 06:30 RD, revision 69196adding missing autorelease pool, since this can be called from anywhere, fixes #13449
- M /wxWidgets/trunk/interface/wx/app.h
- M /wxWidgets/trunk/interface/wx/dcgraph.h
- M /wxWidgets/trunk/interface/wx/dialog.h
- M /wxWidgets/trunk/interface/wx/graphics.h
- M /wxWidgets/trunk/interface/wx/timer.h
2011-09-24 00:33 VZ, revision 69186Fix missing or broken interface items for Phoenix
2011-09-23 14:15 VZ, revision 69185Add support for handling new multi-arch under Debian. The libraries are now in /usr/lib/arch-linux-gnu and not /usr/lib{32,64} so check for them there too.
2011-09-22 14:53 VZ, revision 69184Fix inconsistent DLL export declaration for wxBannerWindowNameStr too. This variable is defined in "adv" library, not "core". This is similar to the fix of r69184.
2011-09-22 12:36 VZ, revision 69183Fix inconsistent DLL export declaration for wxTreeListCtrlNameStr. This variable is defined in "adv" library, not "core". See #13502.
2011-09-22 12:35 VZ, revision 69182Improve appearance of wxTreeListCtrl during live resizing. When using the generic wxDataViewCtrl version, forcefully refresh it after changing its size to avoid artefacts during resizing of wxTreeListCtrl. Closes #13502.
2011-09-21 17:08 VZ, revision 69180Always give all the remaining space to the first wxTreeListCtrl column. Under GTK the columns of wxDataViewCtrl (and hence wxTreeListCtrl) are always resized to cover the entire control width. For consistency, also do it under the other platforms and give the remaining space to the first column and not to the last one as GTK does by default, as the first column is more important. Do this even if this results in reducing the size of the column: presumably, if the entire control itself can be resized, the user wouldn't bother resizing the columns and, on the contrary, if the user did resize the columns, the entire control size is unlikely to change, so in practice we don't risk overriding the user preferences and reducing as well as increasing the first column width works much better by default as it doesn't leave the other columns invisible after making the control wider and than reverting it back to its initial, more narrow, state again.
2011-09-21 17:08 VZ, revision 69179Fix scrolling in small wxVListBox with tall items. Scrolling in a small wxVListBox with tall items (i.e. taller than the height of wxVListBox itself) behaved wrongly: wrong item was being scrolled into view and Page Up/Down didn't scroll as much as they should. Fix both of these problems by checking for these corner cases explicitly. Closes #13454.
2011-09-21 17:08 VZ, revision 69178Replace erroneous comma with a semicolon in keyboard sample. Fix typo in the sample, comma was used instead of a semicolon. The code still worked correctly but make it look correctly too now. Closes #13453.
- M /wxWidgets/trunk/include/wx/cocoa/sound.h
- M /wxWidgets/trunk/include/wx/msw/sound.h
- M /wxWidgets/trunk/include/wx/os2/sound.h
- M /wxWidgets/trunk/include/wx/osx/sound.h
- M /wxWidgets/trunk/include/wx/palmos/sound.h
- M /wxWidgets/trunk/include/wx/unix/sound.h
- M /wxWidgets/trunk/interface/wx/sound.h
- M /wxWidgets/trunk/src/msw/sound.cpp
- M /wxWidgets/trunk/src/os2/sound.cpp
- M /wxWidgets/trunk/src/osx/carbon/sound.cpp
- M /wxWidgets/trunk/src/osx/core/sound.cpp
- M /wxWidgets/trunk/src/osx/sound_osx.cpp
- M /wxWidgets/trunk/src/palmos/sound.cpp
- M /wxWidgets/trunk/src/unix/sound.cpp
2011-09-21 17:07 VZ, revision 69177Change wxSound ctor from in-memory data to use size_t/void *. This constructor previously used int and, especially annoyingly, wxByte* for the data. Use standard void* for untyped binary data instead. Also document this ctor as it seems to be implemented in all ports. Closes #13451.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/interface/wx/dataview.h
- M /wxWidgets/trunk/src/generic/datavgen.cpp
- M /wxWidgets/trunk/src/gtk/dataview.cpp
2011-09-21 17:07 VZ, revision 69176Send EVT_DATAVIEW_ITEM_CONTEXT_MENU events even when not clicking on an item. Always send this event, even if the user right clicked outside of the client area. This is useful for showing item-independent commands in the context menu.
- M /wxWidgets/trunk/include/wx/treelist.h
- M /wxWidgets/trunk/interface/wx/treelist.h
- M /wxWidgets/trunk/samples/treelist/treelist.cpp
- M /wxWidgets/trunk/src/generic/treelist.cpp
2011-09-21 17:07 VZ, revision 69175Implement sorting in wxTreeListCtrl. Allow the user to sort the control contents by clicking on the columns with wxCOL_SORTABLE flag and also provide SetSortColumn() method to sort the control programmatically. Also add wxTreeListItemComparator class and SetItemComparator() method to allow customizing the way the items are compared. Update the sample to show how to define a custom comparator.
2011-09-21 17:07 VZ, revision 69174Reset previous sort column in generic wxDataViewColumn::SetSortOrder(). The sort indicator on the column previously used for sorting was only reset when the user clicked on the column header (by wxDataViewHeaderWindow code that explicitly called wxDataViewCtrl::SetSortingColumnIndex()) but not when wxDataViewCtrl::SetSortOrder() was called directly. Fix this and take care of updating everything in SetSortOrder() itself. This makes the code simpler and also means that calling SetSortOrder() from the program now works as expected (it resulted in having sort indicators in two columns at once before).
- M /wxWidgets/trunk/include/wx/generic/dataview.h
- M /wxWidgets/trunk/include/wx/gtk/dataview.h
- M /wxWidgets/trunk/include/wx/headercol.h
- M /wxWidgets/trunk/include/wx/osx/dataview.h
- M /wxWidgets/trunk/interface/wx/headercol.h
- M /wxWidgets/trunk/src/common/headerctrlcmn.cpp
- M /wxWidgets/trunk/src/generic/datavgen.cpp
- M /wxWidgets/trunk/src/gtk/dataview.cpp
- M /wxWidgets/trunk/src/osx/carbon/dataview.cpp
- M /wxWidgets/trunk/src/osx/cocoa/dataview.mm
2011-09-21 17:07 VZ, revision 69173Remove wxHeaderColumn::SetAsSortKey() and only use SetSortOrder(). The two member functions, SetAsSortKey() and SetSortOrder(), were doing almost the same thing but differently and the former was only used in the generic wxDataViewCtrl implementation and not implemented in the native GTK/OS X one. Remove SetAsSortKey() entirely and only keep UnsetAsSortKey() which is still needed by generic/MSW wxDataViewCtrl. But only SetSortOrder() should now be called to indicate that the column is used for sorting.
- M /wxWidgets/trunk/include/wx/treelist.h
- M /wxWidgets/trunk/interface/wx/treelist.h
- M /wxWidgets/trunk/src/generic/treelist.cpp
2011-09-21 17:07 VZ, revision 69172Add wxTreeListCtrl::GetView() and GetDataView(). It can be useful to have access to the window used to actually show the items by wxTreeListCtrl, provide two accessors for m_view: a wxDataViewCtrl-specific one and a generic one returning just a wxWindow that can be used to keep the code isolated from wxDataViewCtrl.
2011-09-21 17:07 VZ, revision 69171Don't limit window size to (0, 0) in wxSizer if getting display size failed. It's possible that wxDisplay::GetClientArea() returns (0, 0) size indicating that it failed. Don't set the maximal window size to (0, 0) in this case as this prevents the user from seeing the window at all and just don't do anything instead.
2011-09-21 17:07 VZ, revision 69170Refresh wxDisplay when a monitor is added to or removed from the system. If a monitor was attached or detached while a wx program was running, the monitor handles stored in wxDisplayFactoryMSW became invalid and all display operations (e.g. getting display size) failed from this moment onwards requiring a program restart to work again. Fix this by updating the monitor handles when we get WM_SETTINGCHANGE as it is sent when a monitor is added or removed (while it's also sent in quite a few other cases re-enumerating the monitors shouldn't take very long so just do it always).
- A /wxWidgets/trunk/include/wx/msw/private/hiddenwin.h
- M /wxWidgets/trunk/src/msw/dialup.cpp
- M /wxWidgets/trunk/src/msw/sockmsw.cpp
- M /wxWidgets/trunk/src/msw/timer.cpp
- M /wxWidgets/trunk/src/msw/utils.cpp
- M /wxWidgets/trunk/src/msw/utilsexc.cpp
2011-09-20 22:03 JS, revision 69168No changes, just extract wxCreateHiddenWindow() declaration in a header. Add wx/msw/private/hiddenwin.h with wxCreateHiddenWindow() declaration instead of declaring it manually in all the files using it.
2011-09-20 22:03 JS, revision 69167Remove pointless case insensitivity
2011-09-20 20:37 VZ, revision 69166Remove pointless case insensitivity
2011-09-20 20:37 VZ, revision 69165Add GetExpanderColumnOrFirstOne() to avoid code duplication in generic wxDVC. There were two strictly identical code snippets setting the expander column to be the first one if it hadn't been set before, replace both of them with a call to GetExpanderColumnOrFirstOne() function. Also use this function instead of just GetExpanderColumn() (which might return NULL) in a couple of places. Notice that there are still a lot of places in the code where the column 0 is hard coded as being the expander column, this would need to be fixed to really support non-first expander column.
2011-09-20 19:25 MW, revision 69162Reset the expander column when clearing columns in generic wxDVC. The expander column becomes invalid when all columns are cleared, don't keep a dangling pointer.
- M /wxWidgets/trunk/build/buildbot/config/brandt32.xml
- M /wxWidgets/trunk/build/buildbot/config/include/defs.xml
- M /wxWidgets/trunk/build/buildbot/config/ravnsgaard.xml
2011-09-18 22:28 VZ, revision 69149Move ravnsgaards build to brandt32 while its down.
2011-09-18 22:26 VZ, revision 69148Minor fixes to code examples in wxPropertyGrid documentation. Fix typo in wxPGProperty name and add missing parameter of GetVIterator() call. Closes #13486.
2011-09-18 06:38 RD, revision 69135Fix test for wxUSE_TREELISTCTRL in configure. wxUSE_TREECTRL was wrongly used instead. Closes #13470.
- M /wxWidgets/trunk/interface/wx/button.h
- M /wxWidgets/trunk/interface/wx/checkbox.h
- M /wxWidgets/trunk/interface/wx/control.h
- M /wxWidgets/trunk/interface/wx/dcbuffer.h
- M /wxWidgets/trunk/interface/wx/image.h
2011-09-17 13:06 VZ, revision 69113FIx broken or missing interface items for Phoenix
2011-09-17 13:06 VZ, revision 69112Fix format specifiers used for "unsigned long" in wxPG code. "unsigned long" quantities must be formatted using "%l[xou]" and not just "%[xou]" as the latter doesn't work correctly on 64 bit platforms. Closes #13447.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/dialog.h
- M /wxWidgets/trunk/include/wx/toplevel.h
2011-09-17 13:06 VZ, revision 69111Change wxDIALOG_NO_PARENT to avoid clash with wxICON_EXCLAMATION. Use 0x20 (wxAPPLY) instead of 0x100 (wxICON_EXCLAMATION) for wxDIALOG_NO_PARENT as otherwise using wxICON_EXCLAMATION with wxMessageBox in wxGTK (and possibly other ports, although not wxMSW which doesn't honour wxDIALOG_NO_PARENT for message boxes at all) resulted in not using the specified parent for the message box and, as a side effect, not centering it on its parent neither. Closes #13464.
2011-09-17 13:06 VZ, revision 69110Add wxUSE_TREELISTCTRL checks to treelist.cpp itself. The contents of this file was still compiled even when wxUSE_TREELISTCTRL was turned off. Fix this by adding the missing "#if wxUSE_TREELISTCTRL" check around it. Closes #13470.
2011-09-17 00:44 VZ, revision 69108Fix the library of wxGenericDirCtrl in the documentation. Closes #13482.
- M /wxWidgets/trunk/configure
- M /wxWidgets/trunk/configure.in
- M /wxWidgets/trunk/include/wx/chkconf.h
- M /wxWidgets/trunk/include/wx/webview.h
- M /wxWidgets/trunk/include/wx/webviewarchivehandler.h
- M /wxWidgets/trunk/src/common/webview.cpp
- M /wxWidgets/trunk/src/common/webviewarchivehandler.cpp
2011-09-17 00:44 VZ, revision 69107Only define wxUSE_WEBVIEW if wxWebView is really available. Don't define wxUSE_WEBVIEW in configure if WebKit is not available under Unix (we should also check for wxUSE_WEBVIEW_IE under Windows later) and add the check that either wxUSE_WEBVIEW_WEBKIT or wxUSE_WEBVIEW_IE is defined if wxUSE_WEBVIEW is to wx/chkconf.h. This makes it possible to just check for wxUSE_WEBVIEW instead of checking for wxUSE_WEBVIEW && (wxUSE_WEBVIEW_IE || wxUSE_WEBVIEW_WEBKIT) as the code did previously which was ugly and error-prone. Also, define wxUSE_WEBVIEW_IE in configure under MSW. Currently this supposes that the required IE headers/libraries are available which is probably wrong, we should add checks for them later.
2011-09-17 00:44 VZ, revision 69106Check for wxUSE_WEBVIEW being defined. All wxUSE_XXX options must be always defined as we test for them with #if and not #ifdef, so check for this one too for consistency.
2011-09-16 19:03 RD, revision 69102Fix wxFont::GetFaceName() for not realized yet fonts in wxMSW. GetFaceName() could be called for a font that hadn't been really used yet and hence its wxFontRefData::m_hFont could be 0 and couldn't be used in GetMSWFaceName(). Fix this by using GetHFONT() accessor instead of m_hFont directly to create the font if necessary.
- M /wxWidgets/trunk/interface/wx/checklst.h
- M /wxWidgets/trunk/interface/wx/combobox.h
- M /wxWidgets/trunk/interface/wx/dataview.h
- M /wxWidgets/trunk/interface/wx/defs.h
- M /wxWidgets/trunk/interface/wx/fileconf.h
- M /wxWidgets/trunk/interface/wx/filedlg.h
- M /wxWidgets/trunk/interface/wx/font.h
- M /wxWidgets/trunk/interface/wx/gauge.h
- M /wxWidgets/trunk/interface/wx/listbox.h
- M /wxWidgets/trunk/interface/wx/menu.h
- M /wxWidgets/trunk/interface/wx/textentry.h
2011-09-16 15:23 VZ, revision 69101fixes for missing or broken interface items for Phoenix
- M /wxWidgets/trunk/interface/wx/event.h
- M /wxWidgets/trunk/src/common/framecmn.cpp
- M /wxWidgets/trunk/src/msw/menu.cpp
2011-09-16 15:23 VZ, revision 69100Fix int field of wxCommandEvents generated by menu items in wxMSW. Set the int field of wxCommandEvent generated by clicking on the menu items correctly for not checkable items: it is supposed to be -1 and not 0 (which is the value for checkable but currently unchecked items). This was already the case for wxGTK and wxOSX and implied by the comments in the code. Make wxMSW behave like this too and clearly document this behaviour.
2011-09-16 15:23 VZ, revision 69099Fix int field of wxCommandEvent generated by popup menu items in wxMSW. The intention of the code generating the event for popup menu items was to pass false (0) or true (1) in the int field of wxCommandEvent to indicate whether the item was checked or not but, because wxMenu::SendEvent() takes int as second argument and not book, we passed either 0 or MF_CHECKED (== 8). Fix this by correctly passing a boolean for checkable items. See #11644.
Fix checked state for the popup menu items in the events generated by them. We incorrectly passed the sign-extended int id to ::GetMenuState() function that expects an unsigned WORD id, so it never found the item if the WORD id had the high bit set. Fix this by correctly passing the unsigned id to it. Closes #11644.