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):
2012-10-08 00:39 VZ, revision 72631- M /wxWidgets/trunk/src/html/htmlcell.cpp
- M /wxWidgets/trunk/src/html/htmlwin.cpp
- M /wxWidgets/trunk/src/html/htmprint.cpp
- M /wxWidgets/trunk/src/html/winpars.cpp
2012-10-08 00:38 VZ, revision 72630No real changes, just don't use brush styles for background mode in wxHTML. Use just wxTRANSPARENT and wxSOLID instead of wxBRUSHSTYLE_TRANSPARENT and wxBRUSHSTYLE_SOLID when changing the background mode. See #14599.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/html/winpars.h
- M /wxWidgets/trunk/src/html/m_links.cpp
- M /wxWidgets/trunk/src/html/m_span.cpp
- M /wxWidgets/trunk/src/html/winpars.cpp
2012-10-08 00:38 VZ, revision 72629Support some CSS styles for the links in wxHTML too. Refactor limited CSS styles support for <span> tag to reuse it for <a> tag as well. Closes #14599.
2012-10-08 00:38 VZ, revision 72628Flush log messages from other threads on shutdown too. Add a call to wxLog::FlushActive() to the shutdown code as calling just wxLog::SetActiveTarget(NULL) is not enough, it flushes the current log target only but not the ones used by other threads. Closes #14595.
2012-10-08 00:37 VZ, revision 72627Update the year in the copyright for wxMSW DLLs. Just s/2010/2012/
2012-10-08 00:37 VZ, revision 72626Fix drawing of wxAuiNotebook with GTK theme when active tab is invisible. Draw a box using gtk_paint_box() for the tabs, without border for the active one to avoid an extra line across the gap, and with the border for the others. Closes #14728.
2012-10-07 18:49 VS, revision 72625Fix test for __WXGTK__ in wxCairoContext. It must be tested with #ifdef, not #if.
2012-10-05 01:24 VZ, revision 72621Fix wxGenericCollapsiblePane to expand frame's size. wxGenericCollapsiblePane::DoGetBestSize() is dynamic, returning different values for collapsed and open states. Therefore the control must invalidate best sizes cache every time its state changes.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/scrolwin.h
- M /wxWidgets/trunk/interface/wx/scrolwin.h
2012-10-05 01:24 VZ, revision 72620Add support for wxALWAYS_SHOW_SB style to wxScrolled<>. Simply call ShowScrollbars(wxSHOW_SB_ALWAYS) if this style is specified. Closes #13616.
2012-10-05 01:23 VZ, revision 72619Document wxHSCROLL and wxVSCROLL styles for wxScrolled<>. Explain that by default both styles are assumed but that using just one of them disables the scrolling in the other direction.
- M /wxWidgets/trunk/include/wx/ribbon/art.h
- M /wxWidgets/trunk/interface/wx/ribbon/art.h
- M /wxWidgets/trunk/samples/ribbon/ribbondemo.cpp
- M /wxWidgets/trunk/src/ribbon/art_aui.cpp
- M /wxWidgets/trunk/src/ribbon/art_msw.cpp
2012-10-05 01:23 VZ, revision 72618Add a setting for the disabled text colour to wxRibbon art. Allow specifying the text for the labels of the disabled items separately. Closes #14721.
- M /wxWidgets/trunk/include/wx/colour.h
- M /wxWidgets/trunk/interface/wx/colour.h
- M /wxWidgets/trunk/src/common/colourcmn.cpp
2012-10-05 00:49 VZ, revision 72617Add a more convenient wxColour::MakeDisabled() overload. Allow creating a disabled version of the colour without having to manually break it into RGB components and then recreating it from them.
- M /wxWidgets/trunk/src/os2/fontutil.cpp
- M /wxWidgets/trunk/src/os2/frame.cpp
- M /wxWidgets/trunk/src/os2/listbox.cpp
2012-10-05 00:48 VZ, revision 72616Remove unneeded variable initializations in wxPM code. Closes #14724.
2012-10-05 00:48 VZ, revision 72615Fix bugs in the recently added wxDateTime::DiffAsDateSpan(). Correct the test for negative spans less than a month and use the correct month for computing the number of days in it. Also add unit tests for problematic cases. Closes #14704.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/datetime.h
- M /wxWidgets/trunk/interface/wx/datetime.h
2012-10-05 00:47 VZ, revision 72614Add wxDateSpan::GetTotalMonths() method. This is similar to the existing GetTotalDays() and counts both months and years. See #14704.
2012-10-04 18:08 PC, revision 72613Fix fatal bug in the recently added wxFile::ReadAll(). Make sure we exit the loop when reading the file in chunks in wxFile::ReadAll() and add a unit test for it to ensure that it's really correct. Closes #14725.
2012-10-04 17:58 PC, revision 72612non-pch build fix
2012-10-04 17:55 PC, revision 72611remove always-true comparison of unsigned value >= 0
- M /wxWidgets/trunk/include/wx/arrimpl.cpp
- M /wxWidgets/trunk/src/aui/auibar.cpp
- M /wxWidgets/trunk/src/aui/auibook.cpp
- M /wxWidgets/trunk/src/aui/framemanager.cpp
- M /wxWidgets/trunk/src/common/dynarray.cpp
- M /wxWidgets/trunk/src/common/file.cpp
- M /wxWidgets/trunk/src/common/markupparser.cpp
- M /wxWidgets/trunk/src/common/translation.cpp
- M /wxWidgets/trunk/src/generic/grid.cpp
- M /wxWidgets/trunk/src/generic/treectlg.cpp
- M /wxWidgets/trunk/src/gtk/bmpcbox.cpp
- M /wxWidgets/trunk/src/gtk/colordlg.cpp
- M /wxWidgets/trunk/src/gtk/print.cpp
- M /wxWidgets/trunk/src/gtk/toplevel.cpp
- M /wxWidgets/trunk/src/propgrid/editors.cpp
- M /wxWidgets/trunk/src/propgrid/property.cpp
- M /wxWidgets/trunk/src/ribbon/art_msw.cpp
- M /wxWidgets/trunk/src/unix/fswatcher_inotify.cpp
2012-10-03 10:32 VZ, revision 72610silence warnings about shadowed variables with GCC -Wshadow
2012-10-03 09:58 VZ, revision 72609Do use IsEscapeKey() in wxDialog escape key handling. This method was added back in r40686 but was never actually used anywhere. Do use it in wxDialogBase::OnCharHook() now instead of hard-coding the check for WXK_ESCAPE, this should allow using Cmd+. to work like Escape under Mac which was apparently the intention of the code in src/osx/dialog_osx.cpp. Also fix IsEscapeKey() itself to ignore any modifiers as at least under MSW Esc always closes the dialog, even if Shift or Alt is pressed.
2012-10-03 02:16 VZ, revision 72608Add missing header to fix MiscGUIFuncsTestCase compilation. Need full wxPanel declaration here now.
2012-10-03 02:16 VZ, revision 72607Fix wxFindWindowAtPoint() unit test to pass under GTK. We need to ensure that all windows are realized before querying their positions on screen, so add an extra wxYield(). Also adjust the tests slightly as the windows are now all created in the beginning of the function. Finally, use Destroy() instead of wxDELETE() for windows.
2012-10-03 02:16 VZ, revision 72606Added a simple unit test for wxWindow::ClientToScreen(). Check that this function works consistently for the TLW and its children and grand-children.
2012-10-02 18:19 PC, revision 72605Avoid creating children of wxButton in MiscGUIFuncsTestCase. This doesn't work in wxGTK, use a normal wxWindow instead of wxButton in this case.
- M /wxWidgets/trunk/src/gtk/assertdlg_gtk.cpp
- M /wxWidgets/trunk/src/gtk/dataview.cpp
- M /wxWidgets/trunk/src/gtk/dirdlg.cpp
- M /wxWidgets/trunk/src/gtk/spinctrl.cpp
2012-10-02 17:57 PC, revision 72604remove some unnecessary casts
- M /wxWidgets/trunk/include/wx/gtk/animate.h
- M /wxWidgets/trunk/include/wx/gtk/collpane.h
- M /wxWidgets/trunk/include/wx/gtk/dataobj2.h
- M /wxWidgets/trunk/include/wx/gtk/dcscreen.h
- M /wxWidgets/trunk/include/wx/gtk/dvrenderers.h
- M /wxWidgets/trunk/include/wx/gtk/filectrl.h
- M /wxWidgets/trunk/include/wx/gtk/filepicker.h
- M /wxWidgets/trunk/include/wx/gtk/font.h
- M /wxWidgets/trunk/include/wx/gtk/frame.h
- M /wxWidgets/trunk/include/wx/gtk/gauge.h
- M /wxWidgets/trunk/include/wx/gtk/mdi.h
- M /wxWidgets/trunk/include/wx/gtk/notebook.h
- M /wxWidgets/trunk/include/wx/gtk/textctrl.h
- M /wxWidgets/trunk/include/wx/gtk/toplevel.h
2012-10-01 12:47 VZ, revision 72603make more Init() functions private
2012-10-01 11:55 VZ, revision 72602Fix assert about passing long as "%d" in wxXRC code. Closes #14718.
2012-10-01 11:55 VZ, revision 72601No changes, just remove some unneeded variables initializations. Closes #14716, #14717.
2012-10-01 11:55 VZ, revision 72600Test for wxAuiMDIClientWindow being non-NULL before using it. wxAuiMDIParentFrame::GetActiveChild() may be called before the client window is created, don't crash in this case but just return NULL. Closes #14684.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/datetime.h
- M /wxWidgets/trunk/interface/wx/datetime.h
- M /wxWidgets/trunk/src/common/datetime.cpp
- M /wxWidgets/trunk/tests/datetime/datetimetest.cpp
- M /wxWidgets/trunk/tests/testdate.h
2012-10-01 11:40 VZ, revision 72599Add wxDateTime::DiffAsDateSpan(). This method returns the difference between the dates as wxDateSpan, unlike the existing Subtract() and overloaded operator-() that return wxTimeSpan. Closes #14704.
2012-10-01 00:28 VZ, revision 72598Fix PCH-less build after the changes of r72589. Use wx{SOLID,TRANSPARENT} instead of wxBRUSHSTYLE_{SOLID,TRANSPARENT}. This makes more sense as we're setting background mode, not brush style, here and also fixed compilation when not using PCH.
2012-10-01 00:28 VZ, revision 72597Read and write files using binary mode in wxStyledTextCtrl. Use binary mode to preserve the original file EOLs when loading it and also to save it with the same EOLs later. Add very primitive EOL auto-detection to LoadFile(). Also add SaveFile()/LoadFile() which were missing in !wxUSE_TEXTCTRL case.
2012-10-01 00:28 VZ, revision 72596Small optimization of wxFFile::ReadAll(): avoid extra string copy. Use swap() to move the newly created string into its destination instead of copying it there. This can be relatively important as the string represents an entire file contents here and so could be quite long.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/file.h
- M /wxWidgets/trunk/interface/wx/file.h
- M /wxWidgets/trunk/src/common/file.cpp
2012-10-01 00:27 VZ, revision 72595Added wxFile::ReadAll() for consistency with wxFFile::ReadAll(). Make it possible to use wxFFile and wxFile interchangeably for simply reading the entire contents of the file as a string.
- M /wxWidgets/trunk/include/wx/stc/stc.h
- M /wxWidgets/trunk/src/stc/stc.cpp
- M /wxWidgets/trunk/src/stc/stc.cpp.in
- M /wxWidgets/trunk/src/stc/stc.h.in
2012-10-01 00:27 VZ, revision 72594Reimplement wxTextEntry::DoSetValue() in wxStyledTextCtrl. The version inherited from the base class does work already but calling Scintilla SetText() directly should be more efficient than selecting everything and then calling ReplaceSelection() as the base class version does, less code is executed.
2012-10-01 00:26 VZ, revision 72593Fix wxStyledTextCtrl::WriteText() to replace the selection. WriteText() must replace the selection, not just insert the new text, otherwise SetValue() implementation inherited from the base class doesn't work as it doesn't clear the old contents of the control before adding new text to it.
2012-10-01 00:26 VZ, revision 72592Don't call ClearAll() before LoadFile() in the stc sample. There is no need to clear the control contents before loading a file into it because LoadFile() is supposed to do this on its own (although currently it doesn't, which will be fixed soon).
2012-10-01 00:21 VZ, revision 72591Make stc sample startup faster. Don't show "About" dialog on startup, this has nothing to do with the purpose of this sample and is just annoying. Also, don't select the entire file after opening it.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/socket.h
- M /wxWidgets/trunk/interface/wx/socket.h
- M /wxWidgets/trunk/src/common/socket.cpp
- M /wxWidgets/trunk/tests/net/socket.cpp
2012-10-01 00:21 VZ, revision 72590Add per-direction wxSocket wait flags and byte counters. Allow to specify whether the socket should block until all the data is read or written or, on the contrary, avoid blocking only when reading or writing instead of always using the same behaviour in both directions. Also add separate counters for the bytes read/written instead of using the same one for both. These changes make it possible to use the same socket for reading/writing in different threads. Closes #14506.
2012-10-01 00:20 VZ, revision 72589Don't crash in generic wxDataViewCtrl if it doesn't have any model. A model may be dissociated from a still existing control, don't crash if it happens (notice that we still would crash in the native GTK version right now, so this still remains to be fixed there). See #14616.
- M /wxWidgets/trunk/docs/changes.txt
- M /wxWidgets/trunk/include/wx/html/htmlcell.h
- M /wxWidgets/trunk/include/wx/html/htmldefs.h
- M /wxWidgets/trunk/include/wx/html/winpars.h
- M /wxWidgets/trunk/samples/html/test/test.htm
- M /wxWidgets/trunk/src/html/htmlcell.cpp
- M /wxWidgets/trunk/src/html/m_span.cpp
- M /wxWidgets/trunk/src/html/winpars.cpp
2012-10-01 00:20 VZ, revision 72588Add support for background-color style to span element in wxHTML. Add code for setting/restoring background mode and use it to implement support for changing the text background colour. Closes #14443.
2012-10-01 00:20 VZ, revision 72587Fix handling of spaces after <img> tag in wxHTML. Don't collapse the spaces following this tag with the ones preceding it. See #14557. Closes #2980.
2012-10-01 00:19 VZ, revision 72586Convert image tags to text using their alt attribute in wxHTML. This is useful when copying wxHtmlWindow contents to clipboard, for example. Closes #14557.
2012-10-01 00:19 VZ, revision 72585Fix handling of not fully specified min/max size in wxBoxSizer. wxSizerItem::AddBorderToSize() added in r72344 (see #11497) didn't work correctly as it replaced unspecified (i.e. set to -1) components of wxSize with the small positive values that did take effect, contrary to the intention. Fix it to only adjust the actually set component(s) of wxSize. Closes #14696.
2012-10-01 00:19 VZ, revision 72584No changes, just fix some typos in comments in wxXRC code. Closes #14714.
2012-09-30 22:35 VZ, revision 72583No changes, just remove unneeded variable initialization. Closes #14712, #14713.
2012-09-30 22:35 VZ, revision 72582Revert "Don't use StringFormat::GenericTypographic() in MSW wxGraphicsContext." This reverts r72442 and restores the use of GenericTypographic string format for GDI+ text rendering. While it's true that using this flag with small font sizes results in pretty bad output, especially under Windows XP, not using it results in wrong text extent calculations for all sizes which is even worse. See #14537.
2012-09-30 22:35 VZ, revision 72581Fix computation of menu button best size in generic wxSearchCtrl. Invalidate the cached best size when the bitmap changes. Closes #14708.
2012-09-30 22:34 VZ, revision 72580Clear the search control automatically when it's "Cancel" button is pressed. This should be the desired behaviour in the vast majority of cases, so do it by default. Replace the useless OnSearchButton() doing nothing with search button events with OnCancelButton() handling cancel button events and clearing the control.
2012-09-30 18:55 PC, revision 72579Don't use text control foreground colour for generic wxSearchCtrl itself. Logically, it should be done in the other direction and also doing it like this means that the search and cancel icons, rendered using the current foreground colour, are barely visible when using generic wxTextCtrl::SetHint() implementation, as in wxGTK, because the text control foreground is set to light grey in this case.
- M /wxWidgets/trunk/include/wx/gtk/radiobox.h
- M /wxWidgets/trunk/include/wx/gtk/webview_webkit.h
- M /wxWidgets/trunk/include/wx/gtk/window.h
make wxWindowGTK::Init() private, it is not meant to be called from derived classes