X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1d6e01c88876f9ff57056e2847eaaa91b074abb..b594d7f7d83785262c4a104a3e1bca6400923562:/docs/changes.txt?ds=sidebyside diff --git a/docs/changes.txt b/docs/changes.txt index 16be1cb0a8..ccc8f9a745 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -1,35 +1,197 @@ -------------------------------------------------------------------- -wxWidgets 2.5 Change Log - For more verbose changes, see the manual -------------------------------------------------------------------- +--------------------------------------------------------------- +wxWidgets Change Log - For more verbose changes, see the manual +--------------------------------------------------------------- + +2.6.0 +----- + +All: + +- wxPathExists deprecated, use wxDirExists instead. +- Configure: --enable-std_iostreams, --enable-std_string are now the default. + +All (GUI): + +- Fixed ~wxStatusBar and ~wxToolBar which tried to check + non-existent wxFrameBase RTTI, causing a crash if not in a frame. + +wxMSW: + +- Fixed static box border when the label is empty. +- Fixed SetBackgroundColour() to change only label background, not entire box. +- wxHelpController is now aliased to wxCHMHelpController. + +wxWinCE: + +- Fixed device origin setting and clipping region setting. + +wxGTK: +- New configure syntax for specifying the GTK+ version. + --with-gtk Use GTK 2.x, no fallback + --with-gtk=1 Use GTK 1.2, no fallback + --with-gtk=2 Use GTK 2.x, no fallback + --with-gtk=any Use any available GTK +- wxMenuItem::SetText() takes care of hotkeys, too. +- Reworked text wrapping for wxStaticText. + +wxMac: +- Implemented most of the wxFileType and wxMimeTypesManager functions + +2.5.5 +----- + +All: + +- wxURI::GetUser() only returns the user name now, use GetUserInfo() to get + user and password as in 2.5.4; wxURI::GetPassword() added. +- Added wxDebugReport class. +- Added wxTempFileOutputStream by Stas Sergeev. +- Fixed wxDateTime::SetToWeekDayInSameWeek(Sun, Monday_First). +- Added WXK_SPECIAL keycodes for special hardware buttons. +- Fixed bug with wxFile::Seek(-1, wxFromCurrent). +- Added wxString/C array constructors to wxArrayString. +- Added wxMemoryInputStream(wxMemoryOutputStream&) constructor (Stas Sergeev) + +All (GUI): + +- Added GetIcon, GetBitmap to wxImageList. wxGenericImageList's original + GetBitmap is renamed GetBitmapPtr. +- Added XPM data constructor to wxImage. +- Added style parameter to wxBufferedDC to allow buffering just the client, or + the whole virtual area. +- Restored ability to set a custom splitter sash size with SetSashSize. +- Fixed wxScrolledWindow sizer behaviour so that the virtual size + isn't used to set the window size. +- Added wxTE_BESTWRAP (based on patch by Mart Raudsepp). +- wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED is now only sent once at the end of + splitter dragging and not after each CHANGING event (Jacobo Vilella Vilahur). +- Added wxImage::IsTransparent(). + +Unix: + +- Fixed build on Linux/AMD64. + +wxMSW: + +- Added "orient" parameter to wxMDIParentFrame::Tile(). +- wxTextCtrl with wxTE_RICH2 style now uses RichEdit 4.1 if available. +- fix handling Alt-key events in wxComboBox (reported by Joakim Roubert). +- wxWindow::Refresh() refreshes the window children as well. +- Improved static box and radio box refresh and background colour + handling (Jamie Gadd). + +wxGTK: + +- Improved wxSystemSettings::GetMetric() to work better with X11 (Mart Raudsepp). +- Corrected wxListBox selection handling. +- Corrected default button size handling for different themes. +- Corrected splitter sash size and look for different themes. +- Fixed keyboard input for dead-keys. +- Added support for more wrapping styles (Mart Raudsepp). +- GTK2.4+ wxFileDialog reimplemented to support non-modal usage better, + and fix all known bugs (Mart Raudsepp). + +wxMac: + +- Added wxFRAME_EX_METAL, wxDIALOG_EX_METAL for metallic-look windows. + +wxPalmOS: + +- Native wxRadioBox implementation. + +wxWinCE: + +- Added wxNB_FLAT for flat-look notebooks on Windows CE. +- Titlebar OK button on PocketPC now sends command set by SetAffirmativeId. + You can also override wxDialog::DoOK if you need more flexibility. +- Dialog size now takes into account SIP or menubar. +- Panels more naturally white on PocketPC. +- wxDIALOG_EX_CONTEXTHELP ignored on WinCE since it interferes + with correct titlebar style. +- Frames have Ctrl+Q accelerator set automatically, as per the + PocketPC guidelines +- Documented issues in manual under wxWinCE topic. +- Made (Un)RegisterHotKey WinCE-aware. +- Sends wxEVT_HIBERNATE event. +- Now fakes wxEVT_ACTIVATE_APP to be symmetrical with wxEVT_HIBERNATE. +- Added wxTE_CAPITALIZE for CAPEDIT controls. +- wxDialog::GetToolBar can be used if you need to add buttons + to the dialog's toolbar. 2.5.4 ----- All: +- wxEvent and derived classes don't have public members any more, you must + use accessors methods now (Mart Raudsepp) - new classes for reading and writing ZIP files (M.J.Wetherell) +- large files support for wxFFile (M.J.Wetherell) +- classes in the manual are now cross-referenced (Zbigniew Zagórski) - Norwegian (Bokmål) translation added (Hans F. Nordhaug) - wxDynamicLibrary::HasSymbol() added +- added wxEXEC_NODISABLE flag to be used with wxExecute(wxEXEC_SYNC) - added wxTextInputStream::operator>>(wchar_t) for compilers which support this - added wxURI, a class for dealing with Uniform Resource Identifiers - changed wxURL to inherit from wxURI and provide assignment and comparison - implemented wxConvUTF7 (modified patch from Fredrik Roubert) -- added versions of MB2WC and WC2MB for wxMBConv that for embedded null chars +- added versions of MB2WC and WC2MB for wxMBConv that works for embedded null chars - Unicode support in wxODBC is now fully implemented - A new data type specific to wxWidgets called SQL_C_WXCHAR has been introduced. - SQL_C_WXCHAR should be used rather than SQL_C_CHAR to ensure transparent + SQL_C_WXCHAR should be used rather than SQL_C_CHAR to ensure transparent behavior between Unicode and non-unicode builds -- BLOB example added to samples/db (thanks to Casey ODonnell) +- BLOB example added to samples/db (thanks to Casey O'Donnell) - use wxStream::GetLength() instead of deprecated GetSize() - wxGetOsDescription() is now more precise (Olly Betts) - XRC supports system fonts and colours (Ray Gilbert) +- Added flags argument to wxKill/wxProcess::Kill to kill child processes. +- Added wxPrintFactory classes so that it is possible to add a new + print system backend at run-time. This was required by the new GNOME + printing stuff in the GTK port. +- Deprecated print setup dialog. +- Added support to the wxODBC classes for Firebird 1.5 database +- The samples/db sample program now includes an optional example of using a BLOB + datatype (if BLOB support is enabled and supported by the database) +- added wxDynamicLibrary::ListLoaded() +- wxGetPowerType() and wxGetBatteryState() addition +- wxSystemSettings::GetSystem*() members deprecated and replaced with + wxSystemSettings::Get*() +- wxWindowBase::DoGetBestSize now includes the difference (if any) between + the client size and total size of the window. Code that sets the + client size using the best size, or that added extra space to sizers + to compensate for this bug may need to be changed. +- Changed calculation of scrolling area to not clip away some bits + due to a rounding error. +- Changed GetVirtualSize() to return client size by default until + SetVirtualSize() gets called. From then on it will only return that. +- Various changes to how wxListCtrl and wxTreeCtrl react to right + mouse clicks and left mouse click for starting a drag operation. +- "Alt" key (VK_MENU) now results in WXK_ALT keyboard event, not WXK_MENU +- wxFFile::ReadAll() now takes an optional wxMBConv parameter +- wxCommandProcessor::MarkAsSaved() and IsDirty() added (Angela Wrobel) +- added wxStackWalker and related classes (Win32 and some Unix versions only) + All (GUI): +- added wxMediaCtrl +- added wxDatePickerCtrl +- wxHtmlWindow now supports background images given in tag +- wxSplitterWindow now supports gravity parameter (Zbigniew Zagórski) - recursive wxSizer::GetItem returns item of given window, sizer or nth index - wxLayoutConstraints now use best size, not current size, for AsIs() condition - wxSizer::Add/Insert etc. now returns pointer to wxSizerItem just added and this item remembers its wxRect area (Brian A. Vanderburg II) +- wxBookCtrl renamed to wxBookCtrlBase, wxBookCtrl is reserved for most native + book control (for now wxChoicebook for MSSmartphone, wxNotebook for others). + Necessary event macros, types and styles mapped accordingly. +- new wxBrush::IsHatch() checking for brush type replaces IS_HATCH macro +- wxProgressDialog accepts smooth gauge again (wxPD_SMOOTH style) +- wxProgressDialog new style: wxPD_CAN_SKIP which provides skipping some parts + of the progress (with new "Skip" button in dialog) +- wxGenericListCtrl::SetItemState(-1) now changes the state of all items as + in wxMSW version (Gunnar Roth) +- added wxImage::InitAlpha() Unix: @@ -37,18 +199,45 @@ Unix: wxGTK: +- Added printing support by way of using libgnomeprint. The library + now checks at runtime, if the library is installed and will use it + if it is. Otherwise, it will fall back to the old PostScript printing + code, from which the Pango drawing code was removed. +- Implemented/improved wxDC::DrawRotatedText() - fixed wxFileDialog::SetWildcard() - native file dialog is now used if available (Zbigniew Zagorski) +- implemented wxTextCtrl::Freeze() and Thaw(). The GtkTextBuffer + is not a valid one during frozen state. Get a pointer to it right + after wxTextCtrl creation if you really need to. (Mart Raudsepp) +- Changed calls to GTK+ 2.4.x functions so that the code checks at + runtime, which library version is installed so that these functions + are only called with GTK+ 2.4.x installed and should yield linker + errors otherwise. +- wxTextCtrl text insertion efficiency fixed. (Mart Raudsepp) +- Added wxRawBitmap support +- Corrected Input method handler code (for Chinese etc.) and its + interaction with wxWidgets' events. +- wxTE_AUTO_URL implemention for wxGTK2 multiline wxTextCtrls (Mart Raudsepp) wxMac: +- Vertical sliders oriented consistent with MSW/GTK (0 at top) (Kevin Hock) - wxDynamicLibrary::GetDllExt() now returns ".bundle", not ".dylib" - wxDynamicLibrary::GetSymbol() now prepends underscore to the symbol name +- wxJoystick now works on OSX wxMSW: - fixed enhanced metafiles loading from files (Andreas Goebel) - wxRadioButtons no longer have to be consecutive in a group +- fixed spurious selection of combobox text during resize +- pass correct tool id (and not always -1) to EVT_TOOL_RCLICKED() handler +- added wxRegKey::Export(file) + +wxWinCE: +- Added support for MS Handheld PC 2000. This was done before 2.5.4, + but not mentioned anywhere. +- Added (preliminary) support for sockets wxUniv: @@ -57,13 +246,32 @@ wxUniv: - 3rd state support for checkboxes - wxLB_SORT and wxCB_SORT now cause case-insensitive sorting +wxPalmOS: + +- William Osborne has won and new port was born + (see: "wxPalmOS porting challenge") +- polishing of the port (unnecessary 2.4 API compatibility, removed + all wxMSW specific code which was base for the new port) +- enumeration of available volumes +- native wxPrefConfig around Preferences database +- native wxProgressDialog implementation +- native wxColourDialog implementation +- native wxSystemSettings colours +- native wxButton implementation +- native wxCheckBox implementation +- native wxSlider implementation +- native wxToggleButton implementation +- native wxRadioButton implementation +- native wxStaticText implementation +- native wxDatePickerCtrl implementation + 2.5.3 ----- All: -- support for huge (>2 Gb) files (Tim Kosse) +- support for large (>2 Gb) files in wxFile (Tim Kosse) - number of fixes to wxPluginManager (Rick Brice, Hans Van Leemputten) - fixed memory leak in wxURL when using a proxy (Steven Van Ingelgem) - fixed bug in wxDateTime::Set(jdn) when DST was in effect @@ -108,6 +316,7 @@ All (GUI): - added wxTopLevelWindow::IsActive() - wxSystemSettings::GetMetric now returns -1 for metrics that are not supported, instead of zero. +- IMPLEMENT_DYNAMIC_CLASS2 macro compilation fixed (Serge Bakkal) Unix: @@ -120,16 +329,16 @@ Unix: wxCocoa: - added Unicode compatibility layer for OSX 10.2 -- fixed so that wxCocoa runs in OSX 10.2 +- fixed so that wxCocoa runs in OSX 10.2 - Tooltips now supported - wxSound now supported -- wxDisplay now supported -- Some stock cursors now supported +- wxDisplay now supported +- Some stock cursors now supported wxMac: -- fixed MLTE text control GetLineText and GetLineLength on OSX -- added OSX wxTaskBarIcon implementation for the OSX Dock +- fixed MLTE text control GetLineText and GetLineLength on OSX +- added OSX wxTaskBarIcon implementation for the OSX Dock - added Unicode compatibility layer for OSX 10.2 - wxGetKeyState now works with nearly all wx key codes