X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/283587a491a718c8f568f70a143c9b1b2992306b..1fb1f1d833eb11cab4f4cfeace3044f0255f6df2:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index 1cc442e053..039b789784 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -2,12 +2,326 @@ wxWidgets Change Log - For more verbose changes, see the manual --------------------------------------------------------------- +INCOMPATIBLE CHANGES SINCE 2.6.x +================================ + +- wxFontData::GetColour() now returns a const colour +- wxDC objects can't be created directly now (this never worked, now it doesn't + even compile) +- For all wxInputStreams, Eof() becomes true after an attempt has been made + to read _past_ the end of file. + + +2.7.0 +----- + +All: + +- wxLaunchDefaultBrowser() now supports wxBROWSER_NEW_WINDOW flag +- Added wxStringTokenizer::GetLastDelimiter(); improved documentation +- wxGetWorkingDirectory() deprecated. Use wxGetCwd() instead. +- Speed improvements to wxRegEx when matching is done in a loop such as + during a search and replace. +- Fix regerror and regfree name conficts when built-in regex and system regex + are both used in the same program. +- Basic authentication supported added to wxHTTP. +- wxCondition::WaitTimeout() now returns correct value when timeout occurs. +- Fixed occasional wxThread cleanup crash. +- Bug in wxLogStream::DoLogString in Unicode builds fixed. +- Added support for memo fields to wxODBC. +- Fixed Unicode builds using SunPro compiler by defining__WCHAR_TYPE__. +- wxFileName now also looks for TMPDIR on Unix. +- Fixed build error in list.h with VC++ 2005. +- Fixed wxODBC buffer overflow problem in Unicode builds. +- Fixed wxSocketBase::InterruptWait on wxBase. + +All (GUI): + +- Added wxTreebook (uses a wxTreeCtrl to control pages). +- Added wxKeyEvent::GetModifiers() +- Added wxDialog::SetEscapeId(). +- wxItemContainerImmutable::FindString unified (affects wxRadioBox, wxListBox, + wxComboBox and wxChoice). +- wxWindow::Fit() now works correctly for frames and dialogs too. +- Added access to the border size between pages and controller in book + based controls (wxBookCtrlBase::Get/SetInternalBorder). +- Added initial wxRichTextCtrl implementation. +- All book based controls (notebook, treebook etc.) share now the same + options for orientation (wxBK_TOP, wxBK_DEFAULT, ...) instead of duplicated + wxLB_TOP, wxNB_TOP, wxCHB_TOP, wxTBK_TOP. +- Added parent window parameter to wxHelpController constructor + and added SetParentWindow/GetParentWindow. +- wxMultiChoiceDialog uses now wxCheckListBox if possible, wxListBox if not. +- Added wxBitmapButton::SetHoverBitmap() +- Access to titles through Get/SetTitle is available now only for top level + windows (wxDialog, wxFrame). +- Fixed memory leak of pending events in wxEvtHandler +- Added wxRadioBox::IsItemEnabled/Shown() +- Added space after list item number in wxHTML. +- Implemented and handling in wxHTML (based on patch + by Sandro Sigala) +- Added caption parameter to wxGetFontFromUser and wxGetColourFromUser. +- Added wxGetMouseState function. +- Added wxHtmlHelpWindow, wxHtmlHelpDialog and wxHtmlModalHelp classes, + allowing HTML help to be embedded in an application. +- wxCalendarCtrl positioning and hit-testing fixes for dimensions other than + best size. +- wxCalendarCtrl colour schema changed and adjusted to system settings. +- More checking of image validity before loading into wxImage. +- Added wxImage::ConvertToGreyscale. +- Added ability to use templates with static event tables + with BEGIN_EVENT_TABLE_TEMPLATEn() macros +- Added double-buffering to wxVListBox and fixed a scrolling issue. +- Added wxToolbook (uses a wxToolBar to control pages). +- Added SetSheetStyle to wxPropertySheetDialog and allowed it to + behave like a Mac OS X settings dialog. +- wxDC::BeginDrawing() and wxDC::EndDrawing() deprecated. + +wxMSW: + +- Fixed crash with ownerdrawn menu items accelerators (Perry Miller) +- wxFileDialog respects absence of wxCHANGE_DIR flag under NT (Brad Anderson). +- Switching page of a hidden notebook doesn't lose focus (Jamie Gadd). +- Removed wxImageList *GetImageList(int) const. +- Fixed MDI context menu problem. +- Removed __WIN95__ define +- Create msw/rcdefs.h in setup.h's directory, which can be included by + resource files. It containts platform/compiler specific defines (such as + target cpu) which can be used in #ifs in .rc files. +- Add support for Win64 manifests and VC++ 8 automatic manifests (see the + wxMSW faq for details). +- New TARGET_CPU=amd64 (or 'ia64') option for the makefile.vc files which + puts 64-bit builds in their own directory and adds /machine:amd64 or ia64 + to the link command. +- wxStatusBar::GetFieldRect now returns correct values under XP. +- wxStatusBar no longer corrupts surrounding windows on resize. +- Enable wxListCtrl in report mode to be able to use images in other + columns, if ComCtl32 >= 470. +- Fixed problem where using SetValue and wxTE_RICH2 would cause control to + show. +- Numpad special keys are now distinguished from normal keys. +- Fixed GDI leak in wxStaticBitmap when setting images after + initial construction. +- Menu codes now stripped before measuring control labels. +- MFC sample now compiles in Unicode mode. +- Fixed SetScrollbar thumb size setting bug (set orientation before triggering + events). +- Fixed icon to cursor conversion problem for bitmaps with masks. +- Fixed wxToolBar background colour problem for some video cards. +- wxGenericDirCtrl now shows volume name. +- Added XP theme support for DrawHeaderButton, DrawTreeItemButton. +- Multiline notebook tab label change now resizes the control + correctly if an extra row is removed or added. +- Fixed a crash when dismissing wxPrintDialog under VC++ 7.1. +- Fixed out by one error in wxTextCtrl::GetStyle. +- Fixed problem with getting input in universal/unicode build of wxMSW. +- Link oleacc.lib conditionally. + +wxGTK: + +- wxEVT_MENU_CLOSE and wxEVT_MENU_OPENED for popup menus are now generated +- Implemented wxCURSOR_BLANK support +- wxSlider generates all scroll events now and not only wxEVT_SCROLL_THUMBTRACK +- Fixed problem with choice editor in wxGrid whereby the editor + lost focus when the combobox menu was shown. +- Fixed problem trying to print from a preview, whereby wrong printer + class was used. +- Worked around pango crashes in strncmp on Solaris 10. +- Polygon and line drawing speeded up if there is no scaling. +- Fixed problems with CJK input method. + +wxMac: + +- Fixed problem with clipboard support for custom data flavors. +- Fixed focus handling for generic controls in carbon-cfm. +- Fixed a printing crash bug, for example using File->Print and changing + Popup from 'Copies & Pages' to e.g. 'Layout'. +- Improved support for help and application menu items. +- Added default implementations for wxTextCtrl::Replace and wxTextCtrl::Remove. +- Added support for 10.4 context menu. +- Added support for wxFRAME_EX_METAL and wxDIALOG_EX_METAL styles. +- Added wxNotebook::HitTest support. +- Corrected idle wake-up. +- Corrected wxExecute. +- Now makes use of full printer resolution. +- Corrected CGImage handling in wxBitmap. +- Now uses simple hide/show transition for top-level windows. +- Uses reasonable temporary path for wxFileName::CreateTempFileName. +- Added support for default key handling (escape, enter, command-period) even + if there is no control on the frame or dialog that has the focus. +- Fixed joystick bugs including a link error and a crash if no joysticks + were found. +- Removed an errorneous assertion from wxDir. +- Uses CoreFoundation based and thread-safe implementation for message boxes + under Mach-O. +- wxBitmapButton is created as a content icon if wxBORDER_NONE is + specified, otherwise as a bevel button. +- Mouse event ids set correctly (fixing problems with Connect in particular). +- Fixed wxZipInputStream read error on wxSocketInputStream which signals the + end of file with an error. +- Xcode wxWidgets and minimal sample project files updated to create Universal + binaries. +- Fix for setting wxMenuBar more than once. +- wxListBox minimum size bug fixed. +- Fixed wxNotebook off-by-one bug in HitTest. +- Fixed joystick GetXMin/Max bug. +- Fixed Unix domain socket problem in wxIPC. + +wxWinCE: + +- Pressing build-in joystick on WinCE phones fires wxEVT_JOY_BUTTON_DOWN event. +- Native wxCheckListBox implementation. +- All wxTopLevelWindows resizes accordingly to SIP visibility. +- ::wxGetUserName() implemented. +- wxDisplay enumeration support. +- Fixed wxFileDialog breakage on WinCE due to incorrect structure size. +- New wxSystemOption "wince.dialog.real-ok-cancel" to switch between WinCE + guidelines with Ok-only dialogs and dialogs using wxButtons. +- Checkable items in wxToolMenuBarTool supported. +- Fixed date formatting and mktime. +- Fixed getting standard folder paths on WinCE. +- Support for backspace key on smartphone. + +wxX11: + +- Invisible text problem fixed. +- Bitmap clipping with masks and scaling improved. + +Unix: + +- NO_GCC_PRAGMA is not used any more, remove checks for it if you used it. + + +2.6.2 +----- + +All: + +- Fixed wxScopeGuard to work with VC++, documented it. +- Fixed proxy handling in wxURL. +- Added wxEVT_MEDIA_LOADED event for wxMediaCtrl. +- Added new methods to wxMediaCtrl (wxURI version of Load, ShowPlayerControls). +- Added wxZipFSHandler::Cleanup() (Stas Sergeev). +- Added wxImage::RotateHue() and RGB <-> HSV conversions (John Anderson). +- Fixed compilation with IBM xlC compiler. +- wxABI_VERSION, see 'Backward Compatibility' topic overview in the manual. +- Added wxLongLong::ToDouble(). +- Added wxDateTime::[Make]FromTimezone(), fixed several TZ-related bugs. +- Fixed bug in wxStreamBuffer::Read(wxStreamBuffer *) (Paul Cornett). +- Fixed wxListbook and wxChoicebook internal layout. + +All (GUI): + +- Added wxStaticText::Wrap() +- wxChoice and wxComboBox::GetSelection() now returns completed selection, + added a new GetCurrentSelection() function having the old behaviour. +- Added wxXmlResource::Unload(). +- Possibility of modeless wxWizard dialog (with presentation in sample). +- Fixed a rare crash due to malformed HTML in wxHTML (Xavier Nodet). +- Ctrl+mouse wheel changes zoom factor in print preview (Zbigniew Zagórski). +- Cross-compile now supported for wxGTK, wxX11 and wxMotif. +- Cygwin compilation of wxX11, wxGTK and wxMotif now supported. +- Now reads "help" parameter for all windows (context help text). +- wxWizard adapts to PDA-sized screens. +- Unicode fixes for IPC and a new IPC sample (Jurgen Doornik). + +wxMSW: + +- wxMSW now builds with (beta of) MSVC 8 (a.k.a. 2005). +- Separators are now correctly shown in the toolbars under Windows XP. +- Fixed multiline tooltips handling. +- Fixed wxSlider::GetSelEnd() (Atilim Cetin). +- Fixed accelerators of menu items added to already attached submenus. +- Position of wxEVT_MOUSEWHEEL events is now in client, not screen, coordinates. +- Handle absence of wxListCtrl column image better (Zbigniew Zagórski). +- Fixed asynchronous playback of large sound files in wxSound. +- Added wxDynamicLibrary::GetSymbolAorW(). +- Fixed default size of wxStaticText controls with border being too small. +- Fixed bugs with wxStatusBar positioning (with or withour sizers) (Jamie Gadd). +- Mouse move events are now generated for all static controls (Jamie Gadd). +- Fixed nested static box display and splitter sash on some themes (Jamie Gadd). +- Made wxJoystick::GetProductName() more useful (John Ratliff). +- Native spline drawing implementation (Wlodzimierz ABX Skiba). + +wxGTK: + +- ShowFullScreen() shows the window if it was still hidden (rpedroso). +- Implemented wxTopLevelWindow::RequestUserAttention() (Mart Raudsepp). +- Base library is now binary compatible when built with wxGTK and wxMotif. +- wxTextCtrl::XYToPosition, PositionToXY and GetLineLength calls are now + instantaneous in case of GTK 2.x multi-line controls (Mart Raudsepp). +- Added support for left, centre and right text alignment attributes under + GTK+2 multi-line text controls (Mart Raudsepp). +- Various wxFont improvements for GTK 2.x builds (Mart Raudsepp). +- Changed order of child deletion in window destructor and + removed focus handlers to avoid spurious events (David Surovell). +- Fixed domain socket handling. + +wxMac: + +- First implementation of native HIToolbar support. +- Added text control context menu (ported from wxMSW). +- More CoreGraphics implementation improvements. +- Various text control bug fixes. +- Automatic menu management improved. +- Fixed crash when wxRadioButton is deleted from a group of radio buttons, + due to dangling cycle pointers. +- Native spline drawing implementation for CoreGraphics (Robert J. Lang). +- Made wxDialog::IsModal meaning the same as other ports (true only when + showing modally). + +wxOS2 + +- Adjustments for building with Open Watcom C++. + +wxUniv: + +- Window creation now honours wxVSCROLL. +- Standalone scrollbars generate events of correct type (Jochen Roemmler). + +wxMotif: + +- Base library is now binary compatible when built with wxGTK and wxMotif. +- wxMotif can now display Japanese text under Japanese locale. +- Fixed button size in common dialogs. +- Made wxFileDialog translatable. +- All top level windows should now have a border unless the wxNO_BORDER + flag has been specified. +- Improved wxNotebook support for sizers. It requires the wxNotebook to + be created with a "sensible" initial width. +- Made wxDialog::IsModal meaning the same as other ports (true only when + showing modally). + +wxMGL: + +- Fixed crash on exit. +- Fixed drawing problems when windows are resized. + +wxX11: + +- Various wxFont improvements for unicode builds (Mart Raudsepp). + + 2.6.1 ----- All: - Added wxLaunchDefaultBrowser. +- Added wxPLURAL() macro in addition to _() (Jonas Rydberg) + +All (GUI): + +- Fixed potential infinite loop when adjusting wxScrolledWindow scrollbars. +- Radio in menus do not send menu event for selections of already selected item. +- Fixed wrong positioning of marks and enumerations in lists of wxHTML. +- wxImage::Rotate90 respects alpha channel. +- Added wxEVT_SCROLL_CHANGED as synonym for wxEVT_SCROLL_ENDSCROLL. +- Replaced artwork for some cursors, icons and toolbar buttons. +- Fixed sizing problem in generic wxCalendarCtrl for short day abbreviations. +- Fixed wxWindow::DoGetBestSize to keep original best size. +- PNM now supports ASCII and raw grey formats. +- wxGrid focus and edit key improvements. wxMSW: @@ -19,6 +333,42 @@ wxMSW: by refreshing parent when the radio box moves. - Added ability set the system option "msw.staticbox.optimized-paint" to 0 to allow a panel to paint graphics around controls within a static box. +- Refresh exposed areas when resizing, using WM_WINDOWPOSCHANGED. +- Worked around an apparent bug in deferred window positioning (moving a + window from (x, y) to (a, b) and back to (x, y) misses the last step) by + checking window positions against corresponding sizer state, if any. +- A control's text colour now reflects the system colour setting. +- Fixed wxFileName::GetLongPath() to behave correctly during the first call too. +- Fixed alpha blitting to take into account source position. +- Setting foreground colour for wxCheckBox now works when using XP themes too. +- wxStaticBox label can use custom foreground colour. +- Now uses newer font MS Shell Dlg 2 if possible. +- Compiles again with WIN64. +- Winelib compilation now works. +- When converting a wxIcon to a bitmap check if the icon has an alpha + channel and set the bitmap to use it. +- wxSlider now also sends wxEVT_SCROLL_CHANGED when using mouse wheel +- Miscellaneous wxMediaCtrl improvements. +- wxTopLevelWindow::ShowFullScreen logic error fixed. +- Fixed wxScrollBar background colour bug. +- Fixed problems with paper sizes being ignored. +- wxNotebook refresh problem fixed. +- DDE fixed for Unicode. +- Fixed ownerdrawn multiline buttons. +- wxCheckListBox item background fixed. +- Fixed error when trying to read a value from key not accessible for writing. +- Fixed keyboard cue visibility issues under Windows 2000/XP + +wxWinCE: + +- Fixed wxFileName::CreateTempFileName. + +wxGTK: + +- Added support for wxSTAY_ON_TOP (GTK 2.4+). +- Fixed wxTextCtrl::SetStyle for overlapping calls. +- Fixed scrollbar border colour. +- Added bitmap support in menus. wxMac: @@ -26,6 +376,20 @@ wxMac: .app extension and are the ones that reside in the Applications folder). - Fixed a bug in wxGetKeyState where shift and some other keys were returning an incorrect state. +- Fixed toolbar colour bug on Tiger. +- Fixed visual problems caused by removal of About menu item. +- Window menu now added automatically. +- Configure fixed for wxBase compilation. +- Modified function key support fixed. +- wxTopLevelWindow::Maximize improvements. + +wxX11: + +- Menu problems fixed. +- wxScrolledWindow scrolls any child windows. +- Fixed a font memory leak. +- Multiple wxTimers now work correctly. + 2.6.0 ----- @@ -2318,5 +2682,3 @@ At this point, the following has been achieved: - utils/wxprop classes working (except maybe wxPropertyFormView) in preparation for use in Dialog Editor. - GNU-WIN32 compilation verified (a month or so ago). - -