X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1127eb3a6af16665bdfb32f147f2988fc49a11e0..e733c4ce1e24cf7e4b0b0d8362fc59aaa7a7641c:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index 27117857da..134f901bca 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -87,6 +87,19 @@ The "stc" and "svg" contribs instead have been moved respectively into a new Changes in behaviour not resulting in compilation errors, please read this! --------------------------------------------------------------------------- +- Don't pass wxString::c_str() to vararg functions any more! Due to Unicode + changes, c_str() now returns an object and not a simple char pointer, so + using it with vararg functions does not work any more. The preferred + solution is to use wx-provided equivalents, e.g. wxPrintf() instead of + printf() which has the added benefit that you don't need to call c_str() + any more and can pass wxString objects directly. If this is impossible, + add explicit casts to "const char*" or "const wchar_t*". See wxString + documentation for more details. + + Notice that using wxString::c_str() with vararg functions does result in + compilation errors with g++ and most other compilers but not MSVC. Try to + build your code with g++ to detect all such problems at compile-time. + - Default location of wxFileConfig files has changed under Windows, you will need to update your code if you access these files directly. @@ -223,6 +236,9 @@ Changes in behaviour not resulting in compilation errors, please read this! GetEventObject() in all ports but the frame the menu was attached to in wxMSW. Now all ports return the menu that was opened or closed as the event object. +- wxAny now uses C locale format for the floating point numbers and not the + current locale one, i.e. decimal point is always used. + Changes in behaviour which may result in compilation errors ----------------------------------------------------------- @@ -392,6 +408,10 @@ Changes in behaviour which may result in compilation errors any more. Use wxBookCtrlEvent in your code if you need to forward-declare it or just include the appropriate header instead of forward declaration. +- wxStandardPaths class can't be created now. This was never the right thing + to do, wxStandardPaths::Get() always had to be used to access the global + object of the correct type but now doing it results in a compilation error. + Deprecated methods and their replacements ----------------------------------------- @@ -481,6 +501,9 @@ Changes in behaviour visible to end users Build system changes -------------------- +- Cocoa is now used by default under OS X instead of Carbon. Pass --with-carbon + option to configure to use wxCarbon. + - In wxMSW makefile builds, "_x64" is used instead of "_amd64" when compiling for this architecture in the architecture-specific paths and library names. TARGET_CPU can still be specified as "amd64" for compatibility but "x64" @@ -534,7 +557,50 @@ Major new features in this release was added. -2.9.5: (released ????-??-??) +3.0: (released 2013-09-??) +-------------------------- + +All: + +- Adjust dates invalid due to DST consistently under all platforms in wxDateTime. +- Allow using custom HTTP methods with wxHTTP (Kolya Kosenko). +- Add wxFileName::SetPermissions() (Catalin Raceanu). +- Fix build with wxUSE_FFILE==0 (jroemmler). +- Add wxDEPRECATED_MSG() and use it in a few places. +- Return the old file descriptor/pointer from wx(F)File::Detach() (troelsk). +- _() and wxGetTranslation() are now thread-safe. + +All (GUI): + +- Fix crash in wxHTML on mal-formed elements (LukasK). +- Set correct cursor when the mouse is over image map links in wxHTML (LukasK). +- Add wxPropertyGridPageState::GetColumnFullWidth() (Teodor Petrov). +- wxRTC: extracted XML utilities into a separate class for potential reuse. +- wxPropertyGrid: improve composite flags handling (Jens Lody). +- Don't crash laying out wxGridBagSizer with only hidden elements (briceandre). +- Fix alignment and transparency of bitmaps in wxDataViewCtrl (Eric Jensen). +- Fix crash when auto-sizing a wxDataViewCtrl column (Spencer T. Parkin). +- Add wxHtmlTag::GetParamAsString() convenience method. +- Add wxActivateEvent::GetActivationReason() (Trigve). + +wxGTK: + +- Fix horizontal mouse wheel scrolling (minoki). +- Fix wxMenu::GetTitle() before the menu is appended to the bar (David Hart). + +wxMSW: + +- It is now possible to tab into radio boxes again. +- Fix launching some types of files under Windows 7 and later (Steven Houchins). +- Don't use an icon for items inserted without one into wxListCtrl (Chuddah). +- Handle custom configurations when using MSVC autolinking (tinman). + +wxOSX: + +- Fix column sorting UI in wxDataViewCtrl (Myrsloik). + + +2.9.5: (released 2013-07-15) ---------------------------- INCOMPATIBLE CHANGES SINCE 2.9.4: @@ -547,17 +613,30 @@ INCOMPATIBLE CHANGES SINCE 2.9.4: rather than a wxWebViewBackend enum value. - wxWebView identifiers of the form WEB_VIEW_* have been renamed to WEBVIEW_* for consistency with the rest of wxWidgets. +- wxFont(int size, wxFontFamily family, int flags) ctor added in 2.9.4 was + removed to avoid ambiguities with the other existing ctors and replaced with + the new wxFont(wxFontInfo) ctor. + All: +- Provide short synonyms using the same name as event table macros for the + event type constants to make using Bind() less verbose. E.g. + wxEVT_COMMAND_MENU_SELECTED is now wxEVT_MENU (but the old name remains + available for compatibility) (Catalin Raceanu). +- Fix wxExecute() implementation under Unix (Rob Bresalier). +- Also fix reading output from children exiting with -1 () (Jonathan Dagresta). - Add wxEvtHandler::CallAfter() method for asynchronous method calls. - Add support for symlinks to wxFileName (David Hart). - Add wxDIR_NO_FOLLOW flag for wxDir traversal (David Hart). - Allow testing for symlink/FIFO/socket existence in wxFileName (David Hart). - Many important bug fixes in wxFileSystemWatcher (David Hart). +- Add wxInputStream::ReadAll() and wxOutputStream::WriteAll() (Catalin Raceanu). +- Fix wxCountingOutputStream::LastWrite() return value (Catalin Raceanu). - Add new wxFSW_EVENT_ATTRIB and wxFSW_EVENT_UNMOUNT flags (David Hart). - Add separate read/written bytes counters and per-direction NOWAIT and WAITALL flags to wxSocket (Rob Bresalier). +- Add wxEventLoop::ScheduleExit() (Rob Bresalier). - Add wxProcess::SetPriority() (Marian Meravy). - Add wxDir::Close() method (Silverstorm82). - Fix wxDateTime::GetWeekOfYear() for the last week of year (aimo). @@ -567,7 +646,12 @@ All: - Add wxDateTime::DiffAsDateSpan() and wxDateSpan::GetTotalMonths() (jonasr). - Add wxVector::assign() (Jonas Rydberg). - Add wx[F]File{Input,Output}Stream::GetFile() (troelsk). -- Added Nepali translation (Him Prasad Gautam). +- Add wxSocketBase::GetSocket() (Laurent Poujoulat). +- Add IEEE 754 single/double precision support to wxDataStream classes (net147). +- Add wxVector<>::const_reverse_iterator (troelsk). +- Fix thread-safety issue in wxSharedPtr<> (plorkyeran). +- Add wxTimer::StartOnce(). +- Add Nepali translation (Him Prasad Gautam). All (GUI): @@ -575,6 +659,7 @@ All (GUI): - Add support for wxRibbonBar and related controls to XRC (Armel Asselin). - Add wxBITMAP_PNG() macro similar to wxBITMAP() but for PNG files. - Add new wxSimplebook class. +- Implement possibility to hook all modal dialog calls. - Support hexadecimal numbers in wxSpinCtrl. - Respect window max size in wxBoxSizer (Nathan Ridge). - Add support for searching in wxWebView for MSW and GTK (Allonii). @@ -609,10 +694,12 @@ All (GUI): - Allow specifying all wxFlexGridSizer parameters in XRC (Steffen Olszewski). - Close wxLogWindow automatically if it's the last remaining top level window. - Implement clipping for wxSVGFileDC (Steve Benbow). -- Added wxDirCtrl::GetPath() (troelsk). -- Added wxEVT_COMMAND_DIRCTRL_CHANGED event (troelsk). -- Added wxControl::GetSizeFromTextSize() (Manuel Martin). +- Add wxDirCtrl::GetPath() (troelsk). +- Add wxEVT_DIRCTRL_SELECTIONCHANGED event (troelsk). +- Add wxEVT_DIRCTRL_FILEACTIVATED event (troelsk). +- Add wxControl::GetSizeFromTextSize() (Manuel Martin). - Optionally allow showing tooltips for disabled ribbon buttons (wxBen). +- Improve horizontal scrolling in wxRibbonControl (wxBen). - Add wxTL_NO_HEADER style to wxTreeListCtrl (robboto). - Add possibility to delay showing wxRichToolTip (John Roberts). - Add "rect" paramerer to wxRichToolTip::ShowFor() (John Roberts). @@ -624,12 +711,28 @@ All (GUI): - Add wxAUI_TB_PLAIN_BACKGROUND wxAuiToolBar style (Allann Jones). - Make wxGenericDataViewCtrl::SetFont() really work (Laurent Poujoulat). - Remove wxLogWindow::OnFrameCreate(), it was never called anyhow. -- Added wxDocument::Activate() (troelsk). -- Added wxDocManager::FindDocumentByPath() (troelsk). +- Add wxBookCtrlBase::FindPage() (troelsk). +- Add wxDocument::Activate() (troelsk). +- Add wxDocManager::FindDocumentByPath() (troelsk). +- Add wxEVT_GRID_COL_AUTO_SIZE event (Igor Korot). +- Add chainable wxWizardPageSimple::Chain() overload. +- Add wxTextEntryDialog::SetMaxLength() (derEine). +- Fix maximum width support in wxGridCellTextEditor (derEine). +- Allow associating a validator with wxGridCellTextEditor (derEine). +- Add more convenient wxFont(wxFontInfo) ctor. +- Pass menu events to the handler in the associated wxMenuBar. +- Add wxWindow::BeginRepositioningChildren() and EndRepositioningChildren(). +- Fix wxStyledTextCtrl::SetInsertionPointEnd() (troelsk). +- Add wxFileDialog::GetCurrentlySelectedFilename() (Carl Godkin). +- Add wxMouseEvent::GetColumnsPerAction() (toiffel). +- Add support for horizontal mouse wheel scrolling in wxSTC (toiffel). +- Improve wrapping of cell contents in wxGrid (nmset). +- Big speed up in wxImage::Scale(wxIMAGE_QUALITY_HIGH) (Hsilgos). wxGTK: -- Allow building wxGTK3 with Broadway backend (Kolya Kosenko). +- Allow building wxGTK3 with Broadway and Wayland backends (Kolya Kosenko). +- Further improvements to wxGTK/Win32 port (Kolya Kosenko). - Provide native implementation of wxNotificationMessage using libnotify. - Generate clipboard events for wxComboBox and not only wxTextCtrl. - Improve drag-and-drop of URLs. @@ -656,12 +759,17 @@ wxMSW: - Improve wxCURSOR_RIGHT_ARROW appearance (DoltAlya). - Generate menu highlight events for popup menus in wxDialog (Sam Partington). - Return more native shell icons from wxArtProvider (Markus Juergens). +- Fix filter checks in wxDir::FindFirst/Next() (Catalin Raceanu). +- Add support for wxICON_AUTH_NEEDED to wxMessageDialog (Chris Spencer). +- Fix printing too many copies of the document in some cases (John Roberts). +- Fix DST confusion in wxFileName::{Set,Get}Times(). wxOSX/Cocoa: - Implement image support in wxNotebook (Malcolm MacLeod). - Add support for button mnemonics (joostn). - Implemented wxTextCtrl::SetDefaultStyle(). +- Fix insertion and removal of radio items in wxMenu. 2.9.4: (released 2012-07-09)