X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8614c467553e7dd8a5b9984683d73c89730b8ead..92209a39661334baa1552f50cdbf9698053c34de:/docs/changes.txt diff --git a/docs/changes.txt b/docs/changes.txt index c955171a8a..609040bc9d 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -1,22 +1,347 @@ wxWindows 2 Change Log ---------------------- -next release (2.1.12 or 2.2?) ------------------------------ +INCOMPATIBLE CHANGES SINCE 2.2.x +================================ wxBase: +- wxArray::Remove(size_t) has been removed to fix compilation problems + under 64 bit architectures, please replace it with RemoveAt() in your + code. + +- 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 + +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 codei + instead! + +- 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 ... + +- 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 + +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/include + where is of the form (msw|univ)[dll][u][d]. You'll need to update + the include path in your make/project files appropriately. + +- child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR + style to avoid it, wxFRAME_FLOAT_ON_PARENT style is now obsolete and has no + effect + +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. + +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) + +wxMSW: + +- support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook) + +wxGTK: + +- fixed popup menu positioning bug + +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 anddialogs, 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,38 +352,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 - 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 convertions 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: @@ -68,13 +406,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 + splitted 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/poping 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 -----------------------