X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/abf99aad2d70e680cdfe0ad72842c9b10e50045a..615f9ff096c8c6553361975ab0504255c0f1f584:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index 84a8530d22..20015c11a3 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -10,6 +10,14 @@ INCOMPATIBLE CHANGES SINCE 2.8.x the "Changes Since wxWidgets 2.8" section of the manual, please read it if the explanation here is too cryptic. +Table of contents of this section: + + - Unicode-related changes + - wxODBC and contrib libraries removal + - Changes in behaviour not resulting in compilation errors + - Build system changes + - Major new features in this release + Unicode-related changes ----------------------- @@ -79,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. @@ -470,6 +491,30 @@ Changes in behaviour visible to end users now the control scrolls if too much text is added. +Build system changes +-------------------- + +- 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" + should be used now. + +- Official wxMSW binaries, i.e. those built with OFFICIAL_BUILD=1, built with + MSVC now include the version of the compiler used and the architecture if + it's not the default "x86". E.g. a library built with MSVC 10 for amd64 is + called "wxbase294ud_vc110_amd64.dll" now. + +- MSVC projects don't include neither wxUniversal nor ANSI (non-Unicode) + configurations any more. The simplest way to build wxWidgets in these + configurations if you need them is to use nmake from the command line with + WXUNIV=1 or UNICODE=0 command line parameter respectively. + +- The manifest is not included by wx/msw/wx.rc any longer for MSVC compiler. + If you're using MSVC 6 or 7 which require it, you must explicitly define + wxUSE_RC_MANIFEST=1 and also predefine WX_CPU_X86 in the resource compiler + options in your project file. + + Major new features in this release ---------------------------------- @@ -502,9 +547,166 @@ Major new features in this release was added. -2.9.4: +2.9.5: (released ????-??-??) +---------------------------- + +INCOMPATIBLE CHANGES SINCE 2.9.4: + +- The locale is not set automatically on startup any more, unlike in the + previous 2.9 versions (but like in 2.8). Use wxLocale (preferred) or call + wxApp::SetCLocale() from your overridden wxApp::Initialize() to restore the + old behaviour. +- wxWebView::New now takes a string identifier for the backend to be used + 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). +- 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 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 wxProcess::SetPriority() (Marian Meravy). +- Add wxDir::Close() method (Silverstorm82). +- Fix wxDateTime::GetWeekOfYear() for the last week of year (aimo). +- Fix compilation of wxHash{Map,Set} with g++ 4.7 (Nathan Ridge). +- Fix posting large amounts of data in wxHTTP (Platonides). +- Add wxFile::ReadAll() for consistency with wxFFile. +- Add wxDateTime::DiffAsDateSpan() and wxDateSpan::GetTotalMonths() (jonasr). +- Add wxVector::assign() (Jonas Rydberg). +- Add wx[F]File{Input,Output}Stream::GetFile() (troelsk). +- Add wxSocketBase::GetSocket() (Laurent Poujoulat). +- Add IEEE 754 single/double precision support to wxDataStream classes (net147). +- Add wxVector<>::const_reverse_iterator (troelsk). +- Add Nepali translation (Him Prasad Gautam). + +All (GUI): + +- Add support for wxAuiNotebook to XRC (Steven Lamerton). +- 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. +- Support hexadecimal numbers in wxSpinCtrl. +- Respect window max size in wxBoxSizer (Nathan Ridge). +- Add support for searching in wxWebView for MSW and GTK (Allonii). +- Add generic wxFileSystem support to wxWebView with + wxWebViewFSHandler (Nick Matthews). +- Add possibility to disable context menu in wxWebView. +- Add ability to register custom wxWebView backends using + wxWebView::RegisterFactory and a wxWebViewFactory derived class. +- Add possibility to hide and show again wxRibbonBar pages (wxBen). +- Add wxRibbonBar pages highlighting (wxBen). +- Add expand/collapse button to wxRibbonBar (rakeshthp). +- Fix item data access in wxDataViewListCtrl (Kry). +- Fix problem with floating maximized AUI panes (Laurent Poujoulat). +- Add owned client data support to wxRibbonButtonBar. Notice that the client + data now must be set using the SetItemClient{Data,Object}() methods and not + when inserting the button (Laurent Poujoulat). +- Add wxBitmapButton::NewCloseButton(). +- Add wxTextEntry::SelectNone() (troelsk). +- Restore the original wxGrid col/row size when unhiding it (Michael Richards). +- Don't show hidden wxGrid columns/rows when resizing them (Michael Richards). +- Fix text origin and extent computations in wxSVGFileDC (Neil Chittenden). +- Show tooltips for the too long items in generic wxTreeCtrl (Steven Houchins). +- Add wxStyledTextCtrl::AnnotationClearLine() (sentieshar). +- Add support for background-color style to span element in wxHTML (gevorg). +- Add limited support for CSS styles for tags too in wxHTML (gevorg). +- Add "inherit" to XRC tag (Steffen Olszewski, Gero Meßsysteme GmbH). +- Add support for wxALWAYS_SHOW_SB style to wxScrolled<> (Catalin Raceanu). +- Add wxTreeCtrl::EnableBellOnNoMatch() (Jonathan Dagresta). +- Implement incremental search in wxGenericListCtrl (Jonathan Dagresta). +- Make TAB behaviour in wxGrid more flexible (Fulvio Senore). +- Add missing styles support to wxWindow XRC hanlder (Steffen Olszewski). +- 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). +- 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). +- Add wxTL_NO_HEADER style to wxTreeListCtrl (robboto). +- Add possibility to delay showing wxRichToolTip (John Roberts). +- Add "rect" paramerer to wxRichToolTip::ShowFor() (John Roberts). +- Add wxListCtrl::EnableAlternateRowColours() (troelsk). +- Fix wrong tab order in wxAuiNotebook after dragging (Mark Barber). +- Fix bug in generic wxDataViewCtrl column dragging (jobuz). +- Add wxMask::GetBitmap() for wxMSW, wxGTK and wxOSX +- Add wxCheckListBox::GetCheckedItems() (hartwigw). +- Add wxAUI_TB_PLAIN_BACKGROUND wxAuiToolBar style (Allann Jones). +- Make wxGenericDataViewCtrl::SetFont() really work (Laurent Poujoulat). +- Remove wxLogWindow::OnFrameCreate(), it was never called anyhow. +- 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. + +wxGTK: + +- Allow building wxGTK3 with Broadway backend (Kolya Kosenko). +- Provide native implementation of wxNotificationMessage using libnotify. +- Generate clipboard events for wxComboBox and not only wxTextCtrl. +- Improve drag-and-drop of URLs. +- Make key event handling consistent with wxMSW (John Rails). +- Fix printing in landscape mode (Marcin Wojdyr). +- Fix path selection in wx{File,Dir}Dialog with GTK+ > 2.24.10 (obfuscated). +- Make "More windows..." menu item in MDI "Window" menu actually work. + +wxMSW: + +- Fix pulsing of bitmaps in focused buttons under Windows 7 (Catalin Raceanu). +- Fix setting colours for the text part of wxComboBox (Igor Korot). +- Add support for CURRENCY and SCODE types to OLE Automation helpers (PB). +- Allow setting LCID used by wxAutomationObject (PB). +- Better support for SAFEARRAY in OLE Automation code (PB). +- Fix calling Iconize(false) on hidden top level windows (Christian Walther). +- Don't send any events from wxSpinCtrl::SetRange() even if the value changed. +- Display system drag images during drag and drop if available (PeterO). +- Fix setting initial wxSpinCtrl value outside 0..100 range (joim). +- Fix changing labels of menu items with bitmaps (Daniel Hyams). +- Fix appearance of multiline coloured wxCheckBox (Catalin Raceanu). +- Allow creating wxCursor from ANI files (Catalin Raceanu). +- Add wxIcon::CreateFromHICON() (troelsk). +- 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). + +wxOSX/Cocoa: + +- Implement image support in wxNotebook (Malcolm MacLeod). +- Add support for button mnemonics (joostn). +- Implemented wxTextCtrl::SetDefaultStyle(). + + +2.9.4: (released 2012-07-09) ------ +INCOMPATIBLE CHANGES SINCE 2.9.3 + +- wxDataViewListCtrl doesn't delete its client data any more for compatibility + with wxListCtrl, use full wxDataViewCtrl if you don't need compatibility. + All: - Added wxLogFormatter to allow customizing wxLog output (Sébastien Gallou). @@ -517,9 +719,13 @@ All: - Implement wxThread::SetConcurrency() for POSIX systems (Igor Korot). - Fix deadlock due to too many events in Unix console apps (Lukasz Michalski). - Added wxDir::GetNameWithSep(). +- Allow unloading wxPluginLibrary objects in any order (manyleaves). +- Fix passing strings with embedded NULs in wxThreadEvents (Steffen Olszewski). +- Add wxList::AsVector<>() helper (troelsk). All (GUI): +- Add wxGrid::Render() for printing wxGrid (John Roberts). - Added strike-through support to wxFont (Igor Korot). - Add support for horizontal mouse wheel events to MSW and GTK (Lauri Nurmi). - Fix infinite loop in wxHtmlEasyPrinting when trying to page break images @@ -534,6 +740,8 @@ All (GUI): - Send wxEVT_UPDATE_UI for wxRibbonButtonBar and wxRibbonToolBar (Emilien Kia). - Add InsertXXXButton() to wxRibbonButtonBar and wxRibbonToolBar (Emilien Kia). - Allow enabling/disabling and toggling tools in wxRibbonToolBar (Emilien Kia). +- Add wxRibbonBar::DeletePage() and ClearPages() methods (Emilien Kia). +- Implement support for extension button to wxRibbonPanel (Emilien Kia). - Fix multiple item selection in generic wxTreeCtrl (Igor Korot). - Implement wxMenuBar::IsEnabledTop() for all major ports (Igor Korot). - Implement best size calculation for report mode wxListCtrl. @@ -550,15 +758,26 @@ All (GUI): - Added support for fields and virtual attributes to wxRichTextCtrl. - Added custom text and dimension scaling to wxRichTextCtrl. - Added pixel font size capability to wxTextAttr and wxRichTextCtrl. +- Fully implement wxStyledTextCtrl::PositionToXY() (troelsk). +- Added wxDataViewListCtrl::{Set,Get}ItemData(). +- Added wxDataViewListCtrl::GetItemCount() (Kry). +- Added support for Korean Johab and Vietnamese encodings (jank9201). +- Fix off by 1 bug with setting font size in points in wxHTML (gevorg). +- Fix return value of wxGenericListCtrl::InsertColumn() (Sebastian Walderich). +- Add wxDocManager::Get{Views,Documents,Templates}Vector() (troelsk). GTK: +- Added support for GTK+ 3 (John Chain and Paul Cornett) - Implement support for wxBG_STYLE_TRANSPARENT (Armel Asselin). +- Implement stippled/hatched pens/brushes in wxGraphicsContext (Kit Bishop). - Fix wxNotebook best size calculation. - Implement wxDirDialog::Create() and wxFileDialog::Create() (vinayakgarg). - Fix const methods display in assert dialog (vinayakgarg). - Implement native tab art for wxAUI (Jens Lody and Teodor Petrov). - Fix pasting large amounts of text (Bradley Hawkins). +- Show gstreamer errors if wxMediaCtrl fails to play file. +- Fix wxGridCellEnumEditor mouse handling (Fulvio Senore). MSW: @@ -576,6 +795,10 @@ MSW: - Fix handling of composite windows in wxToolTip (Armel Asselin). - Add VT_I8 support to wxAutomationObject (PB). - Fix wxListbook size calculations to avoid spurious scrollbars. +- Fix code compilation with wxUSE_UNICODE_UTF8 (Kolya Kosenko). +- Fix crash in wxTreeCtrl when calling GetSelection() from selection changed + event handler under Vista and later (sbrowne). +- Fix text extent computation in wxGraphicsContext (juria90). OSX: