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-04-23 13:17 VZ, revision 675832011-04-23 13:17 VZ, revision 67582Set event object correctly for the generated wxSizeEvents. wxSizeEvent event object was not set correctly in at least a couple of places. Do set it now. Closes #13156.
2011-04-23 13:17 VZ, revision 67581Remove duplicate negated option indicator in wxCmdLineParser help. The indicator of a negatable option (one with wxCMD_LINE_SWITCH_NEGATABLE flag) appeared twice in the usage message, don't add it the second time. Closes #13157.
2011-04-23 12:49 VZ, revision 67580Fix file paths in wxFileSystemWatcherEvent under OS X. The separator between the watched directory and the name of the file in the generated event was missing, add it now. Closes #13161.
2011-04-23 12:41 VZ, revision 67579Set page range in the print preview correctly. The valid pages range was set too early before, we need to postpone it until after the OnPreparePrinting() call of the user-defined wxPrintout object as only it can determine the number of pages (after running the pagination algorithm) in general. Set the pages range during the first call to RenderPageIntoDC() to fix this. Also add wxPrintPageMaxCtrl class for symmetry with the existing wxPrintPageTextCtrl and use a shared constant MAX_PAGE_NUMBER instead of hard coded 99999. Slightly improve the layout of wxPrintPageMaxCtrl too. Closes #12965.
2011-04-22 21:20 RD, revision 67578Make the source files non-executable again. Revert the (probably accidental) mode change of r67576.
2011-04-22 21:18 RD, revision 67577Use a relative link for wx-config so it will also work even when not located at the install prefix. Ported from the wxPy-2.9.1.1 tag/branch.
2011-04-22 20:25 VS, revision 67576Explicitly specify the Mac SDK for wxPython builds
- M /wxWidgets/trunk/include/wx/dvrenderers.h
- M /wxWidgets/trunk/include/wx/generic/dvrenderers.h
- M /wxWidgets/trunk/interface/wx/dataview.h
- M /wxWidgets/trunk/src/common/datavcmn.cpp
- M /wxWidgets/trunk/src/generic/datavgen.cpp
2011-04-22 17:48 SC, revision 67575Return wxWindow* from wxDataViewCustomRenderer::CreateEditorCtrl(). There's no reason to limit custom editor controls to wxControl, which would rule out e.g. composite controls or any custom widgets. Make appropriate changes to related functions and code too.
2011-04-22 17:20 SC, revision 67574osx 64 bit multilib build needs an explicit export as in this architecture our visibility flags get respected for obj-c classes as well
- M /wxWidgets/trunk/include/wx/osx/core/private.h
- M /wxWidgets/trunk/include/wx/osx/window.h
- M /wxWidgets/trunk/src/osx/carbon/app.cpp
- M /wxWidgets/trunk/src/osx/uiaction_osx.cpp
- M /wxWidgets/trunk/src/osx/window_osx.cpp
2011-04-22 16:50 VS, revision 67573implementation of HotKey, see #12354
2011-04-22 12:43 DS, revision 67572Compilation fix for DEFINE_GUID uses. DEFINE_GUID doesn't define the value, only declares an external variable, unless initguid.h was included. This leads to linker errors.
2011-04-22 01:43 VZ, revision 67570Fixed wxUSE_STD_STRING==0 compilation. With at least MSVC9 numformatter.cpp wouldn't compile because of unknown identifiers related to locales. Include <locale.h> in case wxUSE_STD_STRING is set to 0.
2011-04-22 01:43 VZ, revision 67569Define ACO_AUTOAPPEND for MinGW/Cygwin. Apparently this symbol is not defined in MinGW headers neither, so do it ourselves as well.
2011-04-21 17:47 VZ, revision 67567Use "wx" prefix for the GUIDs we (re)define in wxMSW code. CLSID_AutoComplete became ambiguous with MinGW because it does define it in its shlguid.h header (although MSVC/Platform SDK does not define this one) so use a "wx" prefix for it to avoid ambiguity. Also use the same prefix for the IID_IAutoCompleteDropDown value we define for consistency.
2011-04-21 14:44 JS, revision 67566Redefine IAutoCompleteDropDown in our code as it's not always available. MinGW doesn't have shobjidl.h header file which is normally part of the Platform SDK and doesn't have IAutoCompleteDropDown interface definition in any of its headers at all, so define this interface and its IID ourselves to make the code compile with it. Notice that MinGW-64 does have the interface declaration but still doesn't define IID_IAutoCompleteDropDown. So to be on the safe side just always define everything ourselves, as long as we need to do it for one of the compilers, it's not more difficult to do it for all of them.
- M /wxWidgets/trunk/include/wx/richtext/richtextctrl.h
- M /wxWidgets/trunk/src/richtext/richtextctrl.cpp
2011-04-21 14:44 JS, revision 67565Added ForceDelayedLayout
- M /wxWidgets/branches/WX_2_8_BRANCH/docs/changes.txt
- M /wxWidgets/branches/WX_2_8_BRANCH/docs/latex/wx/richtextctrl.tex
- M /wxWidgets/branches/WX_2_8_BRANCH/include/wx/richtext/richtextctrl.h
- M /wxWidgets/branches/WX_2_8_BRANCH/src/richtext/richtextctrl.cpp
2011-04-20 16:54 DS, revision 67551Added ForceDelayedLayout
2011-04-20 09:53 DS, revision 67550Make use of SetFilterIndex in wxOSX-Cocoa's file dialog. Previously the file type would solely be based on the extension of the passed filename. This is still done, but any valid filter index as set by the user will now take precedence. See also #12429.
2011-04-19 07:17 PC, revision 67546Fixed saving dialog's filter index always being -1 with wxOSX-Cocoa. This problem was reproducable using the Save file dialog in the dialogs sample. The member m_filterIndex was only initialised to -1 and never set at another point. Set it to the filter's selection during ModalFinishedCallback. Closes #13158.
2011-04-19 01:50 VZ, revision 67541fix conversion of gdk_input_add() to g_io_add_watch() from r67326
2011-04-19 01:36 VZ, revision 67540Do send wxEVT_UPDATE_UI events to hidden windows. Failing to send wxEVT_UPDATE_UI to hidden windows made it impossible to show them from their update UI handler which was totally unexpected as the documented wxUpdateUIEvent::Show() method could never be used. Do send these events to the hidden windows themselves but avoid sending the update UI events to the children of hidden windows as this is really useless because any change of their state wouldn't be seen by the user anyhow (even if the child is shown, it would still remain hidden until its parent is) and would just waste time processing a lot of needless events.
2011-04-19 01:36 VZ, revision 67539Don't send wxWindowDestroyEvent if we hadn't sent wxWindowCreateEvent. Don't generate wxWindowDestroyEvent when destroying the windows that had been never created for symmetry with wxWindowCreateEvent which wasn't sent for this window neither.
2011-04-18 15:47 VZ, revision 67532Don't assert when destroying a never created window in wxGTK. The other ports don't assert if a default-constructed wxWindow object for which Create() had never been called is Destroy()d and wxGTK shouldn't do this neither. The new behaviour is more logical but also fixes a problem with an assert in wxOwnerDrawnComboBox that can currently be seen in wxGTK unit tests.
2011-04-18 12:06 JMS, revision 67531Correct a typo in DoAutoCompleteCustom() stub in wxMSW. Fix a compilation error introduced by r67518.
2011-04-18 12:03 JMS, revision 67530Use Connect() to bind embedded wxTextCtrl events instead of event table. This seems to be more reliable approach here, and fixes a bug with wxPropertyGrid's wxEditEnumProperty.
2011-04-18 11:58 JMS, revision 67529In wxComboCtrlBase::OnTextCtrlEvent(), make sure to call event.StopPropagation() only after it has been copied
2011-04-18 01:15 VZ, revision 67527Also show EVT_TEXT_ENTER in the combo sample
2011-04-18 01:14 VZ, revision 67526Correct wrong port-specific note in AutoCompleteFileNames() documentation. This function is only implemented in wxMSW, not wxGTK2.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/osx/textentry.h
- M /wxWidgets/trunk/interface/wx/textentry.h
- M /wxWidgets/trunk/src/osx/cocoa/textctrl.mm
- M /wxWidgets/trunk/src/osx/textentry_osx.cpp
2011-04-18 01:14 VZ, revision 67525Implement auto-completion support for wxTextEntry in wxOSX/Cocoa. Both completing a set of fixed strings and dynamic completion using a custom completer are supported, although completing the file names remains MSW-only for now. Note that, unlike under MSW, auto-completion under Mac is not automatic and has to be triggered manually by calling complete: method. This is done by pressing F5 key by default. In the future we should call it automatically on a timer event to make it more obviously discoverable.
2011-04-17 23:47 DS, revision 67524Refactor: extract wxTextCompleterFixed from wxMSW to a header. This class will be used in other ports too so don't make it private to wxMSW (although it still remains private to wxWidgets for now as it doesn't make much sense to use it in user code).
2011-04-17 23:46 DS, revision 67523Removed wxOSX conditional code from generic calendar control. Tested the calendar sample with Cocoa and Carbon to determine the behaviour and looks are still the same.
2011-04-17 23:45 DS, revision 67522Improved year control of generic calendar being too narrow when using a locale with long month names. See #11444.
2011-04-17 02:09 VZ, revision 67520Removed invalid use of sizeFlags parameter for SetSize call in generic calendar control. In r39715 the height parameter of a call to SetSize was changed to -1, however the previous coordinate value remained and became the fifth parameter which represents bit flags. Simply removed the fifth parameter.
- M /wxWidgets/trunk/build/bakefiles/files.bkl
- M /wxWidgets/trunk/build/msw/makefile.bcc
- M /wxWidgets/trunk/build/msw/makefile.gcc
- M /wxWidgets/trunk/build/msw/makefile.vc
- M /wxWidgets/trunk/build/msw/makefile.wat
- M /wxWidgets/trunk/build/msw/wx_core.dsp
- M /wxWidgets/trunk/build/msw/wx_vc7_core.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc8_core.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc9_core.vcproj
- M /wxWidgets/trunk/docs/changes.txt
- A /wxWidgets/trunk/include/wx/affinematrix2d.h
- A /wxWidgets/trunk/include/wx/affinematrix2dbase.h
- A /wxWidgets/trunk/interface/wx/affinematrix2d.h
- A /wxWidgets/trunk/interface/wx/affinematrix2dbase.h
- M /wxWidgets/trunk/Makefile.in
- A /wxWidgets/trunk/src/common/affinematrix2d.cpp
2011-04-17 02:09 VZ, revision 67519Add wxAffineMatrix2D and related classes. This class represents an affine 2D transformation and will be used in wxDC for now and maybe in wxGC later. Closes #13143.
2011-04-17 01:17 VZ, revision 67518Fix wxXmlDocument::SetRoot() broken by recent changes. Support for wxXML_PI_NODE introduced in r67346 broke SetRoot() and, because of this, saving XML documents. Correct this and add a unit test for this method. Closes #13135.
2011-04-16 19:27 VZ, revision 67515Define wxTextEntry::DoAutoCompleteStrings() stub in wxMSW code too. Forgot to define this function in !HAS_AUTOCOMPLETE case. This fixes linking problems with old compilers/headers such as VC6 with its original SDK.
- M /wxWidgets/trunk/include/wx/textcompleter.h
- M /wxWidgets/trunk/interface/wx/textcompleter.h
- M /wxWidgets/trunk/samples/widgets/widgets.cpp
- M /wxWidgets/trunk/src/common/textentrycmn.cpp
- M /wxWidgets/trunk/src/msw/textentry.cpp
2011-04-16 19:27 VZ, revision 67514Split wxTextCompleter into a base class and wxTextCompleterSimple. Allow overriding either the iterator-like methods of the base class or the single and possibly more convenient, albeit slightly less efficient, method of the derived wxTextCompleterSimple class. This makes it possible to completely delegate to wxTextCompleter from wxMSW IEnumString implementation and actually makes the code there easier, even if it it still not quite trivial because of multi-threading concerns. It also would make it possible to show the completions progressively, as they are retrieved, in a future generic implementation of auto-completion (MSW native implementation doesn't do this unfortunately and waits until all of the completions become available before showing them).
2011-04-16 19:27 VZ, revision 67513Don't block the main UI thread while generating completions in wxMSW. The native IAutoComplete implementation takes care to retrieve the completions from a background thread to prevent the UI from freezing while they're being generated, but we worked against it by always generating all the completions from the main thread and just enumerating them from the background one. Change this now and call wxTextCompleter::GetCompletions() method from the background thread itself to never block the main one.
2011-04-16 19:27 VZ, revision 67512Use ACO_AUTOAPPEND option for text completion in wxMSW. This option appends the first candidate completion value to the text control itself making it more user-friendly as it reduces the amount of typing needed to enter it. See #11465.
- M /wxWidgets/trunk/include/wx/event.h
- M /wxWidgets/trunk/include/wx/msw/window.h
- M /wxWidgets/trunk/src/common/event.cpp
- M /wxWidgets/trunk/src/msw/window.cpp
2011-04-16 19:27 VZ, revision 67511Added private wxEVT_AFTER_CHAR event for wxMSW implementation needs. This event is sent by wxMSW after the default handling of WM_CHAR has taken place. It can be used to define an event handler triggered by key presses and having access to the new value of the control, updated to take the last key press into account. This event will be used by auto-completion implementation for wxMSW only for now.
- M /wxWidgets/trunk/build/bakefiles/files.bkl
- M /wxWidgets/trunk/build/msw/wx_core.dsp
- M /wxWidgets/trunk/build/msw/wx_vc7_core.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc8_core.vcproj
- M /wxWidgets/trunk/build/msw/wx_vc9_core.vcproj
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/msw/textentry.h
- A /wxWidgets/trunk/include/wx/textcompleter.h
- M /wxWidgets/trunk/include/wx/textentry.h
- A /wxWidgets/trunk/interface/wx/textcompleter.h
- M /wxWidgets/trunk/interface/wx/textentry.h
- M /wxWidgets/trunk/Makefile.in
- M /wxWidgets/trunk/samples/widgets/widgets.cpp
- M /wxWidgets/trunk/src/common/textentrycmn.cpp
- M /wxWidgets/trunk/src/msw/textentry.cpp
2011-04-16 19:27 VZ, revision 67510Add support for dynamic auto-completion in wxTextEntry. Add wxTextCompleter class which allows to return the possible completions dynamically and wxTextCompleter::AutoComplete() overload using it. So far this is only implemented for wxMSW. Also fix calling wxTextEntry::AutoComplete(wxArrayString) multiple times under MSW, this didn't correctly update the list of shown completions before.
2011-04-16 19:27 VZ, revision 67509No changes, just simplify preprocessor checks in wxMSW wxTextEntry. Separate !HAS_AUTOCOMPLETE stub versions from the real one as the code was too difficult to read otherwise and would become even more so after the addition of the upcoming custom auto-completer support.
- M /wxWidgets/trunk/include/wx/gtk/textentry.h
- M /wxWidgets/trunk/include/wx/msw/textentry.h
- M /wxWidgets/trunk/include/wx/textentry.h
- M /wxWidgets/trunk/interface/wx/textentry.h
- M /wxWidgets/trunk/src/gtk/textentry.cpp
- M /wxWidgets/trunk/src/msw/textentry.cpp
2011-04-16 18:59 SC, revision 67508Refactor wxTextEntry::AutoComplete() to simply call DoAutoCompleteXXX(). No real changes, just make the public AutoComplete() non-virtual and add virtual DoAutoCompleteXXX() methods to make it easier to add new public AutoComplete() overloads in the upcoming commits.
2011-04-16 15:07 SC, revision 67505adding missing part when using the native paint CGContextRef on osx, see #11853
2011-04-16 15:05 SC, revision 67504supprting flag for pixel offsetting for msw, see #11853
2011-04-16 14:47 SC, revision 67503supprting flag for pixel offsetting for osx, see #11853
2011-04-16 14:21 SC, revision 67502supprting flag for pixel offsetting for cairo, see #11853
2011-04-15 21:18 DS, revision 67497support generic flag for pixel offsetting, see #11853
- M /wxWidgets/trunk/include/wx/cocoa/chkconf.h
- M /wxWidgets/trunk/include/wx/defs.h
- M /wxWidgets/trunk/include/wx/math.h
- M /wxWidgets/trunk/include/wx/msw/chkconf.h
- M /wxWidgets/trunk/include/wx/osx/chkconf.h
- M /wxWidgets/trunk/include/wx/palmos/chkconf.h
- M /wxWidgets/trunk/include/wx/platform.h
- M /wxWidgets/trunk/include/wx/wxcrtbase.h
2011-04-15 20:31 PC, revision 67496Replaced C++ comments with C ones in C files. Replaced C++ comments (occurring outside of __cplusplus blocks) in files that contain the warning "THIS IS A C FILE" with C comments.
workaround for broken window managers which claim to support _NET_REQUEST_FRAME_EXTENTS, but don't respond to it see #13146