X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76a4f50db50c618402b6a0b37d1a56af2c00a95f..dc483f61b0c3d75337ebd80bde05345ea66016ac:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index f5d72a1ffa..d8c86d74e3 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -1,22 +1,854 @@ -wxWindows 2 Change Log ----------------------- +---------------------------- +wxWindows 2.5/2.6 Change Log +---------------------------- + +INCOMPATIBLE CHANGES SINCE 2.4.x +================================ + +- wxFileType::GetIcon() returns wxIconLocation, not wxIcon + + +DEPRECATED METHOD SINCE 2.4.x +============================= + +Deprecated methods may still be used but will disappear in future wxWindows +versions, please update your code to not use them. + +- wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount() +- wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear] +- wxSizer::Set/GetOption(): use Set/GetProportion() instead +- wxKeyEvent::KeyCode(): use GetKeyCode instead +- wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead +- wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead +- wxListBase::operator wxList&(): use typesafe lists instead +- wxTheFontMapper: use wxFontMapper::Get() instead +- wxStringHashTable: use wxHashMap instead +- wxHashTableLong: use wxHashMap instead +- wxArrayString::GetStringArray: no replacement +- wxArrayString::Remove(index, count): use RemoveAt instead + + +OTHER CHANGES +============= + +2.5.0 +----- + +All: + +- added wxDateSpan::operator==() and !=() (Lukasz Michalski) +- use true/false throughout the library instead of TRUE/FALSE +- wxStopWatch::Start() resumes the stop watch if paused, as per the docs +- added wxDirTraverser::OnOpenError() to customize the error handling +- added wxArray::SetCount() +- wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding + by default in Unicode mode +- bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed +- added wx/math.h (John Labenski) +- added Catalan translations (Pau Bosch i Crespo) +- added Ukrainian translations (Eugene Manko) +- fixed bug with deleting entries at root level in wxFileConfig +- chkconf.h now includes platform-specific versions (for MSW + and Mac) which contain some tests that were in setup.h +- Added event sink argument to wxEvtHandler::Connect() + +wxBase: + +- added Watcom makefiles +- fixed bug with searching in sorted arrays (Jürgen Palm) + +All GUI ports: + +- added wxVScrolledWindow, wxVListBox and wxHtmlLbox classes +- added alpha channel support to wxImage +- added wxCLOSE_BOX style for dialogs and frames +- added wxSplitterWindow and wxWizard handlers to XRC +- added proportion to wxFlexGridSizer::AddGrowableRow/Col (Maxim Babitski) +- added wxFlexGridSizer::SetFlexibleDirection() (Szczepan Holyszewski) +- implemented GetEditControl for wxGenericTreeCtrl (Peter Stieber) +- improved contrib/utils/convertrc parsing (David J. Cooke) +- fixed handling of URLs and filenames in wxFileSystem +- implemented alignment for wxGrid bool editor and renderer +- support wxListCtrl columns alignment for all platforms and not just MSW +- added wxToolBar Add/InsertTool(tool) (Janusz Piwowarski) +- fixed user dash handling for MSW and GTK (Ken Edwards) +- WXR resources can now be used in Unicode builds +- it is now possible to use several wxFileHistory objects in the same menu + by giving them different base IDs (Dimitri Schoolwerth) +- Added wxTLW::SetShape with implementations for wxMSW and wxGTK (so far) +- FL: rmoved const from EnableTool parameters +- FL: signal child window when toolbar is closed +- In various places, changed tests for pathsep on last char of string to call + wxEndsWithPathSeparator(s) +- Added to defs.h a couple of macros (wxPtrToULong & wxULongToPtr) +- Minor improvements to document/view framework, including + delayed deletion of a document (until after the user has chosen + a new document), and more intelligent addition of filenames to + the file history, including not adding filenames if not using the + default extension for the template +- Speeded up wxImage::Scale using fixed point arithmetic (Wade Brainerd) +- Added BLOB support to wxDB (John Skiff) +- Wizard now validates when pressing Back or Next +- Implemented wxNotebook::DoGetBestSize so Fit now works +- Added FindItemByPosition to wxMenu +- wxTimer now derives from wxEvtHandler and is its own owner object by default +- Extended wxTextAttr and added wxTextCtrl::GetStyle stub + to allow better rich text support. +- implemented wxFlexGridSizer::Show() (Wade Brainerd) +- Added m_ prefix to wxColourData and wxFontData members + +Unix: + +- fixed compilation on systems with zlib installed but < 1.1.3 version +- fixed compilation on Solaris 7 with large files support enabled +- added wxTaskBarIcon implementation for X11 +- added support for GNU/Hurd in configure + +wxGTK: + +- added support for label mnemonics to GTK+2 build (Michael Moss) +- added native wxMessageDialog implementation for GTK+2 build +- fixed wxMenu::Remove (John Skiff and Benjamin Williams) +- made wxTextCtrl::EmulateKeyPress() work for Delete and Backspace +- fixed wxTopLevelWindow::ShowFullScreen to work with kwin, IceWM and + window managers that support _NET_WM_STATE_FULLSCREEN +- added wxEVT_MENU_OPEN event generation +- fixed bug in generic file selector causing incomplete file extensions to + be appended to filenames with no extension +- added SetSelection implementation for GTK+ 2 + +wxMac: + +- generate wxEVT_SCROLL_THUMBRELEASE and wxEVT_SCROLLWIN_THUMBRELEASE events + +wxMSW: + +- possibility to use DIBs for wxBitmap implementation (Derry Bryson) +- wxStaticBitmap doesn't stretch its bitmap any longer (like other ports) +- support for accelerator keys in the owner drawn menus (Derry Bryson) +- wxCaret::SetSize() doesn't hide the caret any longer as it used to +- wxCheckListBox::Check() doesn't send CHECKLISTBOX_TOGGLE event any more +- fixed bug with wxTR_EDIT_LABELS not working with wxTR_MULTIPLE +- fixes for compilation with OpenWatcom compiler +- fixed wxStaticText best size calculation (was wrong by '&' width) +- fixed calling wxFrame::Maximize(FALSE) before the window is shown +- all libraries built with makefile.g95 have a _min or _cyg suffix + (for MinGW and Cygwin) +- When using DLL, wxLocalFSHandler was not being exported - added + WXEXPORTDLL +- A wxEvtHandler object was not removed from wxPendingEvents on deletion. + wxPendingEventsLocker was being deleted in App before all wxEvtHandler + objects have been destroyed resulting in stale handler/lock + ptrs; fixed +- Windows XP manifest is now included in wx.rc; it is no longer neccessary + to ship .exe.manifest file with applications to support XP themes +- wxLocale::Init no longer reports error if trying to set Unicode-only locale + or if user's default locale is Unicode-only +- Improved border handling so it no longer shows a thin and + sunken border under XP +- partial fix for wxNotebook pages looking bad under XP: wxUSE_UXTHEME + enables XP theme engine code, and wxUSE_UXTHEME_AUTO tells + wxWindows to use the theme tab colour for control backgrounds. + Proper XP theme support is planned for 2.6 +- disable wxNB_RIGHT, wxNB_LEFT, wxNB_BOTTOM notebook styles + if the version of CommCtl doesn't support it (XP) +- fixed release mode build with VC 7.x (Martin Ecker) + +wxMotif: + +- made wxFileDialog behaviour with complex wildcards more sensible (it still + does not support all the features other ports do); refer to wxFileDialog + documentation for a detailed explanation +- implemented wxWakeUpIdle +- for Motif 2.0, used the native combobox widget instead of the GPL'd + xmcombo; xmcombo is still used for Motif 1.x and Lesstif when compiled + with Motif 1.x compatibility +- implemented wxToggleButton +- wxRadioBox and wxStaticBox now use the default shadow (border) style + instead of a sunken border +- implemented wxBitmapDataObject +- finished wxClipboard implementation + +wxUniv: + +- controls in toolbars now supported + +wxHTML: + +- added text selection to wxHtmlWindow +- added SetFonts to HTML printing classes (Adrian Philip Look) +- it is now possible to force page break when printing by inserting +
into the markup (Greg Chicares) +- wxHtmlWindow now uses double buffering to prevent flicker + + +OLD CHANGES +=========== + +INCOMPATIBLE CHANGES SINCE 2.2.x +================================ + + Please take a few minutes to read the following list, especially + paying attention to the most important changes which are marked + with '!' in the first column. + + Also please note that you should ensure that WXWIN_COMPATIBILITY_2_2 + is defined to 1 if you wish to retain maximal compatibility with 2.2 + series -- however you are also strongly encouraged to try to compile + your code without this define as it won't be default any longer in + 2.6 release. + + NB: if you want to build your program with different major versions + of wxWindows you will probably find the wxCHECK_VERSION() macro + (see the documentation) useful. + + +wxBase: + +! wxArray::Remove(size_t) has been removed to fix compilation problems + under 64 bit architectures, please replace it with RemoveAt() in your + code. + +! wxArray macros have been changed to fix runtime problems under 64 bit + architectures and as a side effect of this WX_DEFINE_ARRAY() can only be + used now for the pointer types, WX_DEFINE_ARRAY_INT should be used for the + arrays containing non-pointers. + +- wxObject::CopyObject() and Clone() methods were removed because they + simply don't make sense for all objects + +- wxEvent now has a pure virtual Clone() method which must be implemented + by all derived classes, if you have user-defined event classes please + add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them + +- small change to wxStopWatch::Pause() semantics, please see the documentation + +- unlikely but possible incompatibility: the definition of TRUE has changed + from "1" to "(bool)1" (and the same thing for FALSE), so the code which + could be erroneously compiled previously such as doing "return FALSE" from + a function returning a pointer would stop compiling now (but this change + is not supposed to have any effects on valid code) + +- another minor change: wxApp::OnAssert() has a new "cond" argument, you + must modify YourApp::OnAssert() signature if you were using it to override + the default assert handling. + +All (GUI): + +! the event type constants are not constants any more but are dynamically + allocated during run-time which means that they can't be used as case labels + in the switch()es, you must rewrite them to use if()s instead + + You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour + but this is strongly discouraged, please consider changing your code + instead! + +! wxDialog does not derive from wxPanel any longer - if you were using it in + your code, please update it. The quick fix for the most cases is to replace + the occurrences of wxPanel with wxWindow. + +! if you handle (and don't skip) EVT_KEY_DOWN, the EVT_CHAR event is not + generated at all, so you must call event.Skip() in your OnKeyDown() if + you want to get OnChar() as well + +- in general, the key events sent for the various non ASCII key combinations + have been changed to make them consistent over all supported platforms, + please see the wxKeyEvent documentation for details + +- wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO + have changed (to fix some unfortunate clashes), please check your code to + ensure that no tests for wxYES or wxNO are broken: for example, the following + will *NOT* work any longer: + + if ( flags & wxYES_NO ) + ... do something ... + if ( flags & wxYES ) + ... do something else ... + +- static wxWizard::Create() doesn't exist any more, the wizards are created + in the same way as all the other wxWindow objects, i.e. by directly using + the ctor + +- wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow + +- wxGridCellAttrProvider class API changed, you will need to update your code + if you derived any classes from it + +- wxImage::ComputeHistogram()'s signature changed to + unsigned long ComputeHistogram(wxImageHistogram&) const + +- wxEvtHandler cannot be copied/assigned any longer - this never worked but + now it results in compile-time error instead of run-time crashes + +- WXK_NUMLOCK and WXK_SCROLL keys no longer result in EVT_CHAR() events, + they only generate EVT_KEY_DOWN/UP() ones + +- the dialogs use wxApp::GetTopWindow() as the parent implicitly if the + parent specified is NULL, use wxDIALOG_NO_PARENT style to prevent this + from happening + +- several obsolete synonyms are only retained in WXWIN_COMPATIBILITY_2_2 mode: + for example, use wxScrolledWindow::GetViewStart() now instead of ViewStart() + and GetCount() instead of Number() in many classes + +- wxCmdLineParser does not use wxLog to output messages anymore. + to obtain the previous behaviour, add + wxMessageOutput::Set(new wxMessageOutputLog); to your program + (you will need to #include ) + +wxMSW: + +! build system changed: setup.h is not a static file in include/wx any more + but is created as part of the build process under lib//wx + where is of the form (msw|univ)[dll][u][d]. You'll need to update + the include path in your make/project files appropriately. Furthermore, + xpm.lib is no longer used by wxMSW, it was superseded by the wxXPMDecoder + class. You'll need to remove all references to xpm.lib from your + make/project files. Finally, the library names have changed as well and now + use the following consistent naming convention: wxmsw[ver][u][d].(lib|dll) + where 'u' appears for Unicode version, 'd' -- for the debug one and version + is only present for the DLLs builds. + +- child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR + style to avoid it + +- all overloads of wxDC::SetClippingRegion() combine the given region with the + previously selected one instead of replacing it + +- wxGetHomeDir() uses HOME environment variable and if it is set will not + return the programs directory any longer but its value (this function has + never been meant to return the programs directory anyhow) + +- wxHTML apps don't need to include wx/html/msw/wxhtml.rc in resources file + anymore. The file was removed from wxMSW + + +Unix ports: + +! You should use `wx-config --cxxflags` in your makefiles instead of + `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS + and the compiler flags for C++ files only, CFLAGS should still be used + to compile pure C files. + + +wxThread and related classes: + +- The thread-related classes have been heavily changed since 2.2.x versions + as the old code had many serious problems. This could have resulted in + semantical changes other than those mentioned here, please review use of + wxThread, wxMutex and wxCondition classes in your code. + +! wxCondition now *must* be used with a mutex, please read the (updated) class + documentation for details and revise your code accordingly: this change was + unfortunately needed as it was impossible to ensure the correct behaviour + (i.e. absense of race conditions) using the old API. + +- wxMutex is not recursive any more in POSIX implementation (it hasn't been + recursive in 2.2.x but was in 2.3.1 and 2.3.2), please refer to the class + documentation for the discussion of the recursive mutexes. + +- wxMutex::IsLocked() doesn't exist any more and should have never existed: + this is was unique example of a thread-unsafe-by-design method. + + +OTHER CHANGES +============= + +2.4.0 +----- + +wxMSW: + +- fixed loss of client data in wxChoice::SetString() + +2.3.4 +----- + +All: + +- added (partial) Indonesian translations (Bambang Purnomosidi D. P.) +- added wxSizer::Show()/Hide() (Carl Godkin) +- fixed bugs in wxDateTime::SetToWeekDay()/GetWeek() + +Unix (Base/GUI): + +- minor OpenBSD compilation/linking fixes, now builds OOB under OpenBSD 3.1 +- don't include -I/usr/include nor -I/usr/local/include in wx-config output +- shared library symbols are now versioned on platforms that support it (Linux) + +wxGTK: +- Further work for GTK 2.0 and Unicode support. +- Addition of native frame site grip. + +wxX11: +- Unicode support through Pango library. + +wxMSW: + +- fixed crashes in wxListCtrl under XP +- added context menu for rich edit wxTextCtrl + +wxHTML: + +- fixed wxHTML to work in Unicode build -next release (2.1.12 or 2.2?) ------------------------------ +2.3.3 +----- wxBase: +- building wxBase with Borland C++ is now supported (Michael Fieldings) +- wxSemaphore class added, many fixed to wxCondition and wxThread (K.S. Sreeram) +- fixes to the command line parsing error and usage messages +- modified wxFileName::CreateTempFileName() to open the file atomically + (if possible) and, especially, not to leak the file descriptors under Unix +- memory leak in wxHTTP fixed (Dimitri) +- fixes to AM_PATH_WXCONFIG autoconf macro +- added wxHashMap class that replaces type-unsafe wxHashTable and is modelled + after (non standard) STL hash_map +- wxLocale now works in Unicode mode +- wxLocale can now load message catalogs in arbitrary encoding +- added wxShutdown() function (Marco Cavallini) +- added wxEXPLICIT macro +- IPC classes improved and memory leaks fixed (Michael Fielding). + Global buffer removed, duplication in docs removed +- debug new/free implementations made thread-safe + +Unix (Base/GUI): + +- wxWindows may be built using BSD and Solaris (and possibly other) make + programs and not only GNU make +- wxTCP-based IPC classes now support communicating over Unix domain sockets +- wxWindows may be built as a dynamic shared library under Darwin / Mac OS X + lazy linking issues have been solved by linking a single module (.o) into + the shared library (two step link using distrib/mac/shared-ld-sh) +- fixed thread priority setting under Linux + +All (GUI): + +- it is now possible to set the icons of different sizes for frames (e.g. a + small and big ones) using the new wxIconBundle class +- implemented radio menu items and radio toolbar buttons +- added possibility to show text in the toolbar buttons +- added wxArtProvider class that can be used to customize the look of standard + wxWindows dialogs +- significantly improved native font support +- wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe + wxHashTable +- added IFF image handler +- fixed using custom renderers in wxGrid which was broken in 2.3.2 +- support for multiple images in one file added to wxImage + (TIFF, GIF and ICO formats) +- support for CUR and ANI files in wxImage added (Chris Elliott) +- wxTextCtrl::GetRange() added +- added wxGetFontFromUser() convenience function +- added EVT_MENU_OPEN and EVT_MENU_CLOSE events +- added Hungarian translations (Janos Vegh) +- added wxImage::SaveFile(filename) method (Chris Elliott) +- added wxImage::FloodFill and implemented wxWindowDC::DoFloodFill method + for GTK+, Mac, MGL, X11, Motif ports (Chris Elliott) +- added (platform-dependent) scan code to wxKeyEvent (Bryce Denney) +- added wxTextCtrl::EmulateKeyPress() +- Added wxMouseCaptureChangedEvent +- Added custom character filtering to wxTextValidator +- wxTreeCtrl now supports incremental keyboard search +- wxMessageOutput class added +- wxHelpProvider::RemoveHelp added and called from ~wxWindowBase + so that erroneous help strings are no longer found as the hash + table fills up +- updated libpng from 1.0.3 to 1.2.4 +- Added wxView::OnClosingDocument so the application can do cleanup. +- generic wxListCtrl renamed to wxGenericListCtrl, wxImageList + renamed to wxGenericImageList, so they can be used on wxMSW + (Rene Rivera). +- Added wxTreeEvent::IsEditCancelled so the application can tell + whether a label edit was cancelled. +- added static wxFontMapper::Get() accessor + +wxMSW: + +- small appearance fixes for native look under Windows XP +- fixed the bug related to the redrawing on resize introduced in 2.3.2 +- fixed multiple bugs in wxExecute() with IO redirection +- refresh the buttons properly when the window is resized (Hans Van Leemputten) +- huge (40*) speed up in wxMask::Create() +- changing wxWindows styles also changes the underlying Windows window style +- wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello) +- fixed flicker in wxTreeCtrl::SetItemXXX() +- fixed redraw problems in dynamically resized wxStaticText +- improvements to wxWindows applications behaviour when the system colours + are changed +- choose implicit parent for the dialog boxes better +- fixed wxProgressDialog for ranges > 65535 +- wxSpinButton and wxSpinCtrl now support full 32 bit range (if the version + of comctl32.dll installed on the system supports it) +- wxFontEnumerator now returns all fonts, not only TrueType ones +- bugs in handling wxFrame styles (border/caption related) fixed +- showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite + recursion any more +- wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it +- the separators are not seen behind the controls added to the toolbar any more +- wxLB_SORT style can be used with wxCheckListBox +- wxWindowDC and wxClientDC::GetSize() works correctly now +- Added wxTB_NODIVIDER and wxTB_NOALIGN so native toolbar can be used in FL +- Multiline labels in buttons are now supoprted (simply use "\n" in the label) +- Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it + has the capture before release it. +- fixed bugs in multiple selection wxCheckListBox +- default button handling is now closer to expected +- setting tooltips for wxSlider now works +- disabling a parent window also disables all of its children (as in wxGTK) +- multiple events avoided in wxComboBox +- tooltip asserts avoided for read-only wxComboBox +- fixed a race condition during a thread exit and a join +- fixed a condition where a thread can hang during message/event processing +- increased space between wxRadioBox label and first radio button +- don't fail to register remaining window classes if one fails to register +- wxFontDialog effects only turned on if a valid colour was + provided in wxFontData +- Added wxTE_LEFT, wxTE_CENTRE and wxTE_RIGHT flags for text control alignment. +- Bitmap printing uses 24 bits now, not 8. + +wxGTK: + +- wxDirDialog now presents the file system in standard Unix way +- wxButton now honours wxBU_EXACTFIT +- wxStaticBox now honours wxALIGN_XXX styles +- added support for non alphanumeric simple character accelerators ('-', '=') +- new behaviour for wxWindow::Refresh() as it now produces a delayed refresh. + Call the new wxWindow::Update() to force an immediate update +- support for more SGI hardware (12-bit mode among others) +- fixed wxDC::Blit() to honour source DC's logical coordinates +- implemented wxIdleEvent::RequestMore() for simple background tasks +- implemented wxChoice::Delete() +- fixed bad memory leak in wxFileDialog (Chris Elliott) +- made internal GC pool dynamically growable +- added GTK+ 2 and Unicode support + +wxMotif: + +- improved colour settings return values (Ian Brown) +- improved border style handling for wxStaticText (Ian Brown) +- improved toolbar control alignment +- implemented wxSpinButton +- implemented wxCheckListBox +- fixed wxSpinCtrl and wxStaticLine when used with sizers +- wxStaticBitmap now shows transparent icons correctly + +wxX11: + +- added generic MDI implementation (Hans Van Leemputten) +- first cut at wxSocket support (not yet working) + +wxMac: + +- Many improvements + +wxOS2: + +- First alpha-quality release + +wxHTML: + +- fixed wxHtmlHelpController's cache files handling on big endian machines +- added blocking and redirecting capabilities to wxHtmlWindow via + wxHtmlWindow::OnOpeningURL() +- fixed alignment handling in tables +- fixed handling to be case insensitive + +2.3.2 +----- + +New port: wxUniv for Win32/GTK+ is now included in the distribution. + +wxBase: + +- wxRegEx class added +- wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber) +- wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen) +- more fixes to wxMBConv classes. Conversion to and from wchar_t now works with + glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s + capabilities at runtime instead of in the configure script. + +All (GUI): + +- support for virtual list control added +- column images in report mode of the list control +- wxFindReplaceDialog added (based on work of Markus Greither) +- wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK) +- polygon support in wxRegion (Klaas Holwerda) +- wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added +- fixed bug with using wxExecute() to capture huge amounts of output +- new wxCalendarCtrl styles added (Søren Erland Vestø) +- wxWizard changes: loading from WXR support, help button (Robert Cavanaugh) +- wxDirSelector() added (Paul A. Thiessen) +- wxGrid cell editing veto support (Roger Gammans) +- wxListCtrl ITEM_FOCUSED event added +- support for ICO files in wxImage added (Chris Elliott) +- improvements to wxDragImage (Chuck Messenger) + +wxMSW: + +- support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook) +- new library naming convention under VC++ -- please change your application + project files + +wxGTK: + +- fixed popup menu positioning bug +- fixed the edit function for wxListCtrl (Chuck Messenger) +- fixed the key-hitting events for wxListCtrl and wxTreeCtrl, so they + correctly return the key which was pressed (Chuck Messenger) + +wxMac: + +- support for configuration and build under Mac OS X using the Apple Developer + Tools + +wxHTML: + +- new HTML parser with correct parsing of character entities and fixes + to tags parsing +- added support for animated GIFs + +2.3.1 +----- + +wxBase: + +- Fixes for gcc 3.0 +- Fixed new charset detection code +- ODBC Informix fixes (submitted by Roger Gammans) +- Added ODBC date support to wxVariant +- Added wxDir::Traverse +- Added wxSingleInstanceChecker class +- Removed redundant wxDebugContext functions using C++ streams, + so now standard stream usage should be unnecessary + +All (GUI): + +- Added wxDbGrid class for displaying ODBC tables +- Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the + user code can get access to the edit control when it is created, (to + push on a custom event handler for example) +- Added wxTextAttr class and SetStyle, SetDefaultStyle and + GetDefaultStyle methods to wxTextCtrl +- Added wxSingleInstanceChecker +- Improvements to Tex2RTF +- Added Paul and Roger Gammans' grid controls +- Bug in wxDocument::Save logic corrected, whereby Save didn't save when not + first-time saved +- Fixed memory leak in textcmn.cpp +- Various wxXML enhancements +- Removed wxCLIP_CHILDREN style from wxSplitterWindow +- Fixed memory leak in DoPrint, htmprint.cpp +- Fixed calendar sample bug with using wxCommandEvent::GetInt() + instead of GetId() +- Added wxDbGrid combining wxODBC classes with wxGrid +- Added more makefiles and project files for contrib hierarchy + +wxMSW: + +- Fixed wxApp::ProcessMessage so controls don't lose their + accelerators when the accelerators are redefined elsewhere +- Accelerators consisting of simple keystrokes (without control, + alt or shift) now work +- Compile fixes for Watcom C++ added +- Compile fixes for Cygwin 1.0 added +- Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop() +- Replaced wxYield() call in PopupMenu() by a much safer + wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones +- Enter processing in wxSpinCtrl fixed +- Fixed bug in determining the best listbox size +- Fix for wxFrame's last focus bug +- We now send iconize events +- Fixed wxFrame::SetClientSize() with toolbar bug +- Added mousewheel processing +- Added wxSystemSettings::Get/SetOption so we can configure + wxWindows at run time; used this to implement no-maskblt option + in wxDC +- Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI + child frame styles are honoured + +wxGTK: + +- Fixed slider rounding bug +- Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding() +- We now send iconize events +- Fix for discrepancies between wxNotebookEvent and wxNotebook + GetSelection() results + +2.3.0 +----- + +wxBase: + +- fixed problem with wxURL when using static version of the library +- wxZipFSHandler::FindFirst() and FindNext() now correctly list directories +- wxMimeTypesManager now can create file associations too (Chris Elliott) +- wxCopyFile() respects the file permissions (Roland Scholz) +- wxFTP::GetFileSize() added (Søren Erland Vestø) +- wxDateTime::IsSameDate() bug fixed +- wxTimeSpan::Format() now behaves more as expected, see docs +- wxLocale now provides much more convenient API for setting language and + detecting current system language. New API is more abstracted and truly + cross-platform, independent of underlying C runtime library. + +All (GUI): + +- new wxToggleButton class (John Norris, Axel Schlueter) +- wxCalendarCtrl not highlighting the date with time part bug fixed +- wxADJUST_MINSIZE sizer flag added +- FindOrCreateBrush/Pen() bug fix for invalid colour values +- new wxXPMHandler for reading and writing XPM images +- added new (now recommended) API for conversion between wxImage and wxBitmap + (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of + wxImage methods and ctor) +- ODBC classes now support DB2, Interbase, and Pervasive SQL +- ODBC documentation complete!! +- ODBC classes have much Unicode support added, but not complete +- ODBC experimental BLOB support added, but not completely tested +- ODBC NULL column support completed (Roger/Paul Gammans) +- ODBC All "char *" and char arrays removed and replaced with wxString use + +wxMSW: + +- threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen) +- fixed bug in MDI children flags (mis)handling +- it is possible to compile wxCHMHelpController with compilers + other than Visual C++ now and hhctrl.ocx is loaded at runtime + +wxGTK: + +- added support for wchar_t (wxUSE_WCHAR_T) under Unix + +wxHTML: + +- mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup +- visual enhancements to contents panel of wxHtmlHelpController + +2.2.0 +----- + +wxBase: + +- Fixed bug with directories with trailing (back)slashes in wxPathExists +- wxString: added wxArrayString::operator==() and !=() +- Fixes for wxCmdLineParser +- Added wxGetLocalTimeMillis +- Completed Czech translations +- Some stream corrections +- added missing consts to wxPoint operators +- wxDateTime ParseFormat fixes +- wxFile::Open(write_append) will create file if it doesn't exist +- small fixes to MIME mailcap test command handling, more MIME tests in the sample + +All (GUI): + +- wxGenericDragImage now allows virtual image drawing, and + flicker-free dragging is now possible +- Added wxPrinter::GetLastError +- Fixed wxLogGui reentrancy problem +- Paper names now translated +- wxGrid fixes +- Generic validator now caters for more cases (integers in + wxTextCtrl, strings in wxChoice, wxComboBox) +- Fixed crash when docview On... functions return FALSE. Show + error message when an non-existent filename is typed into the Open + File dialog. +- Corrected Baltic font encoding handling +- wxImage: enhanced TIFF code, added new platform-independent BMP + writing code +- wxKeyEvent::GetKeyCode() and HasModifiers() added and documented +- Fixed wxPropertyForm crashes in sample +- wxWizard now calls TransferDataFromWindow() before calling + wxWizardPage::GetNext() fixing an obvious bug + +wxMSW: + +- wxWindow::GetCharWidth/Height now calculated accurately. + This will affect all .wxr dialog resources, so for + backward compatibility, please set + wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h +- wxListCtrl: set item text in LIST_ITEM_ACTIVATED events +- wxTextCtrl: implemented setting colours for rich edit controls +- wxColour now accepts both grey and gray +- BC++ DLL compilation fixed +- Watcom C++ makefiles improved for JPEG and TIFF compilation +- Fixed submenu accelerator bug +- Fixed dialog focus bug (crash if the previous window to have + the focus was destroyed before the dialog closed) +- Too-small default wxTextCtrl height fixed +- fixed "missing" initial resize of wxMDIChildFrame +- wxFrame restores focus better +- Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to + frames and dialogs, interferes with other window styles otherwise + (sometimes you'd get a thick frame in a subwindow) +- wxTextCtrl insertion point set to the beginning of the control by SetValue +- Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called. +- wxFileDialog: adjusts struct size if there's an error (struct + sizes can be different on different versions of Windows) +- wxImageList::GetSize() documented and added to wxMSW +- fixed default dialog style to make them non resizeable again +- fixed wxFrame::IsShown() which always returned TRUE before + +wxGTK: + +- Please see docs/gtk/changes.txt. + +wxMotif: + +- Small compilation fixes + +Documentation: + +- wxCaret documented + +2.1.16 +------ + +wxBase: + +All (GUI): + +wxMSW: + +- Various bug fixes +- Added wxCHMHelpController, for invoking MS HTML Help + files. This works under VC++ only +- Modal dialog handling improved +- Printer dialog now modal + +wxGTK: + +- Various bug fixes + +wxMotif: + +- Various bug fixes + +2.1.15 +------ + +Documentation: + +- Added docs/tech for technical notes + +File hierarchy: + +- Started new contrib hierarchy that mirrors + the main lib structure; moved OGL and MMedia into it + +wxBase: + +- wxSocket support - wxDateTime replaces and extends old wxDate and wxTime classes (still available but strongly deprecated) with many new features - - wxLongLong class provides support for (signed) 64 bit integers - - wxCmdLineParser class for parsing the command line (supporting short and long options, switches and parameters of different types) - - it is now possible to build wxBase under Win32 (using VC++ only so far) and BeOS (without thread support yet) - - wxThread class modified to support both detached and joinable threads, also added new GetCPUCount() and SetConcurrency() functions (useful under Solaris only so far) @@ -27,36 +859,51 @@ wxBase: - wxString::ToLong, ToULong, ToDouble methods and Format() static one added - buffer overflows in wxString and wxLog classes fixed (if snprintf() function is available) -- wxArray::RemoveAt() replaces deprectaed wxArray::Remove(index) +- wxArray::RemoveAt() replaces deprecated wxArray::Remove(index) all (GUI): +- Added wxImage::Rotate. - new wxCalendarCtrl class for picking a date interactively - -- wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament +- wxMenu(Bar)::Insert() and Remove() functions for dynamic menu management - wxToolBar supports arbitrary controls (not only buttons) and can be dynamically changed (Delete/Insert functions) - vertical toolbars supported by MSW and GTK native wxToolBar classes - - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items - "file open" dialog allows selecting multiple files at once (contributed by John Norris) - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the MIME types if available (Unix only) - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader) - - TIFF support added (libtiff required and included in the distribution) -- PCX files can now be written (24 bit only so far) +- PCX files can now be written (256 and 24 bits) +- validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set +- wxScrolledWindow now has keyboard interface +- wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD) +- added wxEncodingConverter and improved wxFontMapper + for dealing with conversions between different encodings, + charsets support in wxLocale and wxHTML +- wxDragImage class added +- samples/help improved to show standard and advanced HTML help + controllers, as well as native help +- moved wxTreeLayout class to main lib wxMSW: +- wxFrame::MakeFullScreen added. - support for enhanced metafiles added, support for copying/pasting metafiles (WMF and enhanced ones) fixed/added. - implemented setting colours for push buttons +- wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be + positioned along the top of the screen and not only at the bottom - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun) - loading/saving big (> 32K) files in wxTextCtrl works - tooltips work with wxRadioBox +- wxBitmap/wxIcon may be constructed from XPM included into a program, as in + Unix ports - returning FALSE from OnPrintPage() aborts printing +- VC++ makefiles and project files made (mostly) consistent +- wxSetCursorEvent added wxGTK: @@ -66,13 +913,31 @@ wxGTK: wxMotif: -- wxMenu::Enable) works +- wxMenu::Enable works +- wxToolBar bugs fixed +- OGL samples made to work again + +wxHTML: + +- almost complete rewrite of wxHtmlHelpController, + including faster search, bookmarks, printing, setup dialog + and cross-platform binary compatible .cached files for faster + loading of large helpbooks, case insensitive search + split into 3 parts: wxHtmlHelpData, Frame and Controller +- added support for charsets and tag +- added support for font faces and justified paragraphs, + taken some steps to prepare wxHTML for frames +- added dynamic pushing/popping of wxHtmlParser tag handlers +- improved HTML printing +- added extensive table of HTML characters substitutions (  etc.) +- fixed wxHtmlWindow flickering, several minor bugfixes +- added some tags:
, , , , , , + fixed handling of relative and absolute font sizes in + NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS change log. -Major improvements are listed in readme.txt. - 2.1.0, b4, May 9th 1999 ----------------------- @@ -325,7 +1190,7 @@ wxMotif: global memory operators (usually OK) and #defining new to be WXDEBUG_NEW (sometimes it might not be OK). - Added time.cpp to makefile; set wxUSE_DATETIME to 1. -- Added a parent-existance check to popup menu code to make it not crash. +- Added a parent-existence check to popup menu code to make it not crash. - Added some optimization in wxWindow::SetSize to produce less flicker. It remains to be seen whether this produces any resize bugs. @@ -381,7 +1246,7 @@ wxMSW: - wxConfig API improved, documentation updated. - Printing classes name conventions cleaned up. - wxUpdateUIEvent now derives from wxCommandEvent - so event can travel up the window hierachy. + so event can travel up the window hierarchy. Alpha 14, July 31st 1998 ------------------------ @@ -642,7 +1507,7 @@ Generic: - Added wxMouseEvent::GetPosition and wxMouseEvent::GetLogicalPosition, both returning wxPoints. - Made wxSize and wxRect contain longs not ints. -- Cured some lemory leaks (thanks Vadim). +- Cured some memory leaks (thanks Vadim). - Tidied up OnIdle and introduced RequestMore/MoreRequested so will only keep processing OnIdle if it returns TRUE from MoreRequested. @@ -671,7 +1536,7 @@ All: implementation updated to use these base classes. - wxHelpInstance now separated into wxHelpControllerBase (base for all implementations), wxWinHelpController (uses standard - WinHelp), wxXLPHelPController (talks to wxHelp by DDE or + WinHelp), wxXLPHelpController (talks to wxHelp by DDE or TCP/IP). There will be others eventually, such as wxHTMLHelpController for Microsoft (and Netscape?) HTML Help. - Added Vadim Zeitlin's wxString class plus @@ -752,7 +1617,7 @@ At this point, the following has been achieved: Windows types where needed e.g. WXHWND. - PrologIO revised. - wxScrolledWindow, wxStatusBar and new MDI classes added. - MDI is now achived using separate classes, not window styles. + MDI is now achieved using separate classes, not window styles. - wxSystemSettings added, and made use of to reflect standard Windows settings. - SetButtonFont/SetLabelFont replaced by SetFont; font and colour