]> git.saurik.com Git - wxWidgets.git/blame - docs/changes.txt
Added dialup to filelist.txt and wxUniv.dsp
[wxWidgets.git] / docs / changes.txt
CommitLineData
d643b80e
VZ
1----------------------------
2wxWindows 2.5/2.6 Change Log
3----------------------------
4
5INCOMPATIBLE CHANGES SINCE 2.4.x
6================================
7
8OTHER CHANGES
9=============
10
112.5.0
12-----
13
93401be9
VZ
14All:
15
16- Implemented GetEditControl for wxGenericTreeCtrl (Peter Stieber)
17- Improved contrib/utils/convertrc parsing (David J. Cooke)
18- Fixed handling of URLs and filenames in wxFileSystem
19- Implemented alignment for wxGrid bool editor and renderer
20- Support wxListCtrl columns alignment for all platforms and not just MSW
21- Added wxDateSpan::operator==() and !=() (Lukasz Michalski)
22
d643b80e
VZ
23Unix:
24
25- fixed compilation on systems with zlib installed but < 1.1.3 version
26
75c116ab
JS
27wxGTK:
28
29- fixed wxMenu::Remove (John Skiff and Benjamin Williams)
cd916794 30- made wxTextCtrl::EmulateKeyPress() work for Delete and Backspace
75c116ab 31
46a5e01e
VZ
32wxMSW:
33
0becd470 34- possibility to use DIBs for wxBitmap implementation (Derry Bryson)
46a5e01e 35- wxStaticBitmap doesn't stretch its bitmap any longer (like other ports)
b74cce40 36- support for accelerator keys in the owner drawn menus (Derry Bryson)
fa06b433 37- wxCaret::SetSize() doesn't hide the caret any longer as it used to
e2ca995f 38- wxCheckListBox::Check() doesn't send CHECKLISTBOX_TOGGLE event any more
df4ac4c7 39- fixed bug with wxTR_EDIT_LABELS not workign with wxTR_MULTIPLE
46a5e01e 40
d643b80e
VZ
41OLD CHANGES
42===========
e3a43801 43
bbed9595
VZ
44INCOMPATIBLE CHANGES SINCE 2.2.x
45================================
46
0b74b736
VZ
47 Please take a few minutes to read the following list, especially
48 paying attention to the most important changes which are marked
49 with '!' in the first column.
50
b6421719
VZ
51 Also please note that you should ensure that WXWIN_COMPATIBILITY_2_2
52 is defined to 1 if you wish to retain maximal compatibility with 2.2
53 series -- however you are also strongly encouraged to try to compile
54 your code without this define as it won't be default any longer in
55 2.6 release.
56
f33f16ec
VZ
57 NB: if you want to build your program with different major versions
58 of wxWindows you will probably find the wxCHECK_VERSION() macro
59 (see the documentation) useful.
60
b6421719 61
461f203c
VZ
62wxBase:
63
0b74b736 64! wxArray<T>::Remove(size_t) has been removed to fix compilation problems
461f203c
VZ
65 under 64 bit architectures, please replace it with RemoveAt() in your
66 code.
67
0b74b736 68! wxArray<T> macros have been changed to fix runtime problems under 64 bit
0eeeb25f
VZ
69 architectures and as a side effect of this WX_DEFINE_ARRAY() can only be
70 used now for the pointer types, WX_DEFINE_ARRAY_INT should be used for the
71 arrays containing non-pointers.
72
19924e90
VZ
73- wxObject::CopyObject() and Clone() methods were removed because they
74 simply don't make sense for all objects
75
76- wxEvent now has a pure virtual Clone() method which must be implemented
77 by all derived classes, if you have user-defined event classes please
78 add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
79
677eff07
VZ
80- small change to wxStopWatch::Pause() semantics, please see the documentation
81
a2d541ca
VZ
82- unlikely but possible incompatibility: the definition of TRUE has changed
83 from "1" to "(bool)1" (and the same thing for FALSE), so the code which
84 could be erroneously compiled previously such as doing "return FALSE" from
85 a function returning a pointer would stop compiling now (but this change
86 is not supposed to have any effects on valid code)
6a9c3625 87
aad65f13
VZ
88- another minor change: wxApp::OnAssert() has a new "cond" argument, you
89 must modify YourApp::OnAssert() signature if you were using it to override
90 the default assert handling.
91
d73e6791
VZ
92All (GUI):
93
0b74b736 94! the event type constants are not constants any more but are dynamically
eead3ccb
VZ
95 allocated during run-time which means that they can't be used as case labels
96 in the switch()es, you must rewrite them to use if()s instead
97
98 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
2edb0bde 99 but this is strongly discouraged, please consider changing your code
eead3ccb
VZ
100 instead!
101
0b74b736 102! wxDialog does not derive from wxPanel any longer - if you were using it in
01a63363 103 your code, please update it. The quick fix for the most cases is to replace
2edb0bde 104 the occurrences of wxPanel with wxWindow.
01a63363 105
0b74b736
VZ
106! if you handle (and don't skip) EVT_KEY_DOWN, the EVT_CHAR event is not
107 generated at all, so you must call event.Skip() in your OnKeyDown() if
108 you want to get OnChar() as well
109
cdb10551
VZ
110- in general, the key events sent for the various non ASCII key combinations
111 have been changed to make them consistent over all supported platforms,
112 please see the wxKeyEvent documentation for details
113
a8141d3f
VZ
114- wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
115 have changed (to fix some unfortunate clashes), please check your code to
116 ensure that no tests for wxYES or wxNO are broken: for example, the following
117 will *NOT* work any longer:
118
119 if ( flags & wxYES_NO )
120 ... do something ...
121 if ( flags & wxYES )
122 ... do something else ...
123
750cefbc
VZ
124- static wxWizard::Create() doesn't exist any more, the wizards are created
125 in the same way as all the other wxWindow objects, i.e. by directly using
126 the ctor
127
a8141d3f
VZ
128- wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
129
130- wxGridCellAttrProvider class API changed, you will need to update your code
131 if you derived any classes from it
132
a69be60b 133- wxImage::ComputeHistogram()'s signature changed to
d7af2fea
VS
134 unsigned long ComputeHistogram(wxImageHistogram&) const
135
cf72f75f
VZ
136- wxEvtHandler cannot be copied/assigned any longer - this never worked but
137 now it results in compile-time error instead of run-time crashes
138
1a65fc65
VZ
139- WXK_NUMLOCK and WXK_SCROLL keys no longer result in EVT_CHAR() events,
140 they only generate EVT_KEY_DOWN/UP() ones
141
6a9c3625
VZ
142- the dialogs use wxApp::GetTopWindow() as the parent implicitly if the
143 parent specified is NULL, use wxDIALOG_NO_PARENT style to prevent this
144 from happening
145
b6421719
VZ
146- several obsolete synonyms are only retained in WXWIN_COMPATIBILITY_2_2 mode:
147 for example, use wxScrolledWindow::GetViewStart() now instead of ViewStart()
148 and GetCount() instead of Number() in many classes
149
ef357cda
MB
150- wxCmdLineParser does not use wxLog to output messages anymore.
151 to obtain the previous behaviour, add
152 wxMessageOutput::Set(new wxMessageOutputLog); to your program
153 (you will need to #include <wx/msgout.h>)
6a9c3625 154
461f203c
VZ
155wxMSW:
156
0b74b736 157! build system changed: setup.h is not a static file in include/wx any more
461f203c
VZ
158 but is created as part of the build process under lib/<toolkit>/wx/include
159 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
b239ffb9
VS
160 the include path in your make/project files appropriately. Furthermore,
161 xpm.lib is no longer used by wxMSW, it was superseded by the wxXPMDecoder
a69be60b
VZ
162 class. You'll need to remove all references to xpm.lib from your
163 make/project files. Finally, the library names have changed as well and now
164 use the following consistent naming convention: wxmsw[u][d][ver].(lib|dll)
165 where 'u' appears for Unicode version, 'd' -- for the debug one and version
166 is only present for the DLLs builds.
461f203c 167
bbed9595 168- child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
9dfef5ac 169 style to avoid it
bbed9595 170
5230934a
VZ
171- all overloads of wxDC::SetClippingRegion() combine the given region with the
172 previously selected one instead of replacing it
173
05a6a882
VZ
174- wxGetHomeDir() uses HOME environment variable and if it is set will not
175 return the programs directory any longer but its value (this function has
176 never been meant to return the programs directory anyhow)
0b74b736 177
763f5546
VS
178- wxHTML apps don't need to include wx/html/msw/wxhtml.rc in resources file
179 anymore. The file was removed from wxMSW
05a6a882 180
6a9c3625 181
f6656ccb
VZ
182Unix ports:
183
0b74b736 184! You should use `wx-config --cxxflags` in your makefiles instead of
f6656ccb
VZ
185 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
186 and the compiler flags for C++ files only, CFLAGS should still be used
187 to compile pure C files.
188
188b6ff7 189
0b74b736
VZ
190wxThread and related classes:
191
192- The thread-related classes have been heavily changed since 2.2.x versions
193 as the old code had many serious problems. This could have resulted in
194 semantical changes other than those mentioned here, please review use of
195 wxThread, wxMutex and wxCondition classes in your code.
196
197! wxCondition now *must* be used with a mutex, please read the (updated) class
198 documentation for details and revise your code accordingly: this change was
199 unfortunately needed as it was impossible to ensure the correct behaviour
200 (i.e. absense of race conditions) using the old API.
201
202- wxMutex is not recursive any more in POSIX implementation (it hasn't been
203 recursive in 2.2.x but was in 2.3.1 and 2.3.2), please refer to the class
204 documentation for the discussion of the recursive mutexes.
205
206- wxMutex::IsLocked() doesn't exist any more and should have never existed:
207 this is was unique example of a thread-unsafe-by-design method.
208
209
188b6ff7
VZ
210OTHER CHANGES
211=============
212
2b5f62a0
VZ
2132.4.0
214-----
215
216wxMSW:
217
218- fixed loss of client data in wxChoice::SetString()
219
2202.3.4
221-----
222
223All:
224
225- added (partial) Indonesian translations (Bambang Purnomosidi D. P.)
226- added wxSizer::Show()/Hide() (Carl Godkin)
227- fixed bugs in wxDateTime::SetToWeekDay()/GetWeek()
228
229Unix (Base/GUI):
230
231- minor OpenBSD compilation/linking fixes, now builds OOB under OpenBSD 3.1
232- don't include -I/usr/include nor -I/usr/local/include in wx-config output
233- shared library symbols are now versioned on platforms that support it (Linux)
234
235wxGTK:
236- Further work for GTK 2.0 and Unicode support.
237- Addition of native frame site grip.
238
239wxX11:
240- Unicode support through Pango library.
241
242wxMSW:
243
244- fixed crashes in wxListCtrl under XP
245- added context menu for rich edit wxTextCtrl
246
247wxHTML:
248
249- fixed wxHTML to work in Unicode build
250
d00407b2
VZ
2512.3.3
252-----
253
3cf883a2 254wxBase:
1e3a888e 255
8705ab68 256- building wxBase with Borland C++ is now supported (Michael Fieldings)
68fbbb7f 257- wxSemaphore class added, many fixed to wxCondition and wxThread (K.S. Sreeram)
1e3a888e
VZ
258- fixes to the command line parsing error and usage messages
259- modified wxFileName::CreateTempFileName() to open the file atomically
260 (if possible) and, especially, not to leak the file descriptors under Unix
2fb203e6 261- memory leak in wxHTTP fixed (Dimitri)
8e1aefe0 262- fixes to AM_PATH_WXCONFIG autoconf macro
d7af2fea 263- added wxHashMap class that replaces type-unsafe wxHashTable and is modelled
68fbbb7f 264 after (non standard) STL hash_map
f35992b0
VS
265- wxLocale now works in Unicode mode
266- wxLocale can now load message catalogs in arbitrary encoding
f6ba47d9 267- added wxShutdown() function (Marco Cavallini)
986ecc86 268- added wxEXPLICIT macro
1d760919
JS
269- IPC classes improved and memory leaks fixed (Michael Fielding).
270 Global buffer removed, duplication in docs removed
6b978929 271- debug new/free implementations made thread-safe
1e3a888e 272
188b6ff7
VZ
273Unix (Base/GUI):
274
275- wxWindows may be built using BSD and Solaris (and possibly other) make
276 programs and not only GNU make
0dbfd66d 277- wxTCP-based IPC classes now support communicating over Unix domain sockets
c4dbf151
GD
278- wxWindows may be built as a dynamic shared library under Darwin / Mac OS X
279 lazy linking issues have been solved by linking a single module (.o) into
280 the shared library (two step link using distrib/mac/shared-ld-sh)
3bc65ea9 281- fixed thread priority setting under Linux
188b6ff7 282
3cf883a2
VZ
283All (GUI):
284
68fbbb7f
VZ
285- it is now possible to set the icons of different sizes for frames (e.g. a
286 small and big ones) using the new wxIconBundle class
c631abda
VZ
287- implemented radio menu items and radio toolbar buttons
288- added possibility to show text in the toolbar buttons
a460c732
VS
289- added wxArtProvider class that can be used to customize the look of standard
290 wxWindows dialogs
ccef86c7 291- significantly improved native font support
d7af2fea
VS
292- wxImage::ComputeHistogram() now uses wxImageHistogram instead of type-unsafe
293 wxHashTable
7a82af5f 294- added IFF image handler
3cf883a2 295- fixed using custom renderers in wxGrid which was broken in 2.3.2
418b74a0
VZ
296- support for multiple images in one file added to wxImage
297 (TIFF, GIF and ICO formats)
7a82af5f 298- support for CUR and ANI files in wxImage added (Chris Elliott)
a5aa8086 299- wxTextCtrl::GetRange() added
bf31fa26 300- added wxGetFontFromUser() convenience function
ccef86c7 301- added EVT_MENU_OPEN and EVT_MENU_CLOSE events
42a6fe0e 302- added Hungarian translations (Janos Vegh)
45647dcf 303- added wxImage::SaveFile(filename) method (Chris Elliott)
a8a72106
JS
304- added wxImage::FloodFill and implemented wxWindowDC::DoFloodFill method
305 for GTK+, Mac, MGL, X11, Motif ports (Chris Elliott)
9c7df356 306- added (platform-dependent) scan code to wxKeyEvent (Bryce Denney)
94af7d45 307- added wxTextCtrl::EmulateKeyPress()
a5e84126 308- Added wxMouseCaptureChangedEvent
aaae8296 309- Added custom character filtering to wxTextValidator
cb59313c 310- wxTreeCtrl now supports incremental keyboard search
a69be60b 311- wxMessageOutput class added
fc0d5b6b
JS
312- wxHelpProvider::RemoveHelp added and called from ~wxWindowBase
313 so that erroneous help strings are no longer found as the hash
314 table fills up
ba51567d 315- updated libpng from 1.0.3 to 1.2.4
a69be60b 316- Added wxView::OnClosingDocument so the application can do cleanup.
3cd94a0d
JS
317- generic wxListCtrl renamed to wxGenericListCtrl, wxImageList
318 renamed to wxGenericImageList, so they can be used on wxMSW
319 (Rene Rivera).
dd23c25c
JS
320- Added wxTreeEvent::IsEditCancelled so the application can tell
321 whether a label edit was cancelled.
418b74a0
VZ
322- added static wxFontMapper::Get() accessor (use of wxTheFontMapper is now
323 deprecated)
3cf883a2 324
d00407b2
VZ
325wxMSW:
326
7d6d3bf3 327- small appearance fixes for native look under Windows XP
418b74a0 328- fixed the bug related to the redrawing on resize introduced in 2.3.2
79066131 329- fixed multiple bugs in wxExecute() with IO redirection
5b2f31eb 330- refresh the buttons properly when the window is resized (Hans Van Leemputten)
b2d5a7ee
VZ
331- huge (40*) speed up in wxMask::Create()
332- changing wxWindows styles also changes the underlying Windows window style
45647dcf 333- wxTreeCtrl supports wxTR_HIDE_ROOT style (George Policello)
d00407b2 334- fixed flicker in wxTreeCtrl::SetItemXXX()
1e3a888e 335- fixed redraw problems in dynamically resized wxStaticText
90c1530a
VZ
336- improvements to wxWindows applications behaviour when the system colours
337 are changed
a543e3ce 338- choose implicit parent for the dialog boxes better
7c349adb 339- fixed wxProgressDialog for ranges > 65535
3d9fe7b2
VZ
340- wxSpinButton and wxSpinCtrl now support full 32 bit range (if the version
341 of comctl32.dll installed on the system supports it)
98e6fc81 342- wxFontEnumerator now returns all fonts, not only TrueType ones
e33e0b44
VZ
343- bugs in handling wxFrame styles (border/caption related) fixed
344- showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
345 recursion any more
2fb203e6 346- wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
7509fa8c 347- the separators are not seen behind the controls added to the toolbar any more
fd7ab28c 348- wxLB_SORT style can be used with wxCheckListBox
994a3786 349- wxWindowDC and wxClientDC::GetSize() works correctly now
8292017c
VZ
350- Added wxTB_NODIVIDER and wxTB_NOALIGN so native toolbar can be used in FL
351- Multiline labels in buttons are now supoprted (simply use "\n" in the label)
a5e84126
JS
352- Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it
353 has the capture before release it.
d90879fa 354- fixed bugs in multiple selection wxCheckListBox
036da5e3 355- default button handling is now closer to expected
bd9cd534 356- setting tooltips for wxSlider now works
d7cbabe0 357- disabling a parent window also disables all of its children (as in wxGTK)
3bc65ea9
JS
358- multiple events avoided in wxComboBox
359- tooltip asserts avoided for read-only wxComboBox
360- fixed a race condition during a thread exit and a join
79066131 361- fixed a condition where a thread can hang during message/event processing
aeea799b 362- increased space between wxRadioBox label and first radio button
90a1a975 363- don't fail to register remaining window classes if one fails to register
1d760919
JS
364- wxFontDialog effects only turned on if a valid colour was
365 provided in wxFontData
418b74a0 366- Added wxTE_LEFT, wxTE_CENTRE and wxTE_RIGHT flags for text control alignment.
e11f2e16 367- Bitmap printing uses 24 bits now, not 8.
d00407b2 368
b42f739a
VS
369wxGTK:
370
371- wxDirDialog now presents the file system in standard Unix way
7a82af5f
VS
372- wxButton now honours wxBU_EXACTFIT
373- wxStaticBox now honours wxALIGN_XXX styles
a070d8ce 374- added support for non alphanumeric simple character accelerators ('-', '=')
a69be60b 375- new behaviour for wxWindow::Refresh() as it now produces a delayed refresh.
c3016fd6
VS
376 Call the new wxWindow::Update() to force an immediate update
377- support for more SGI hardware (12-bit mode among others)
378- fixed wxDC::Blit() to honour source DC's logical coordinates
379- implemented wxIdleEvent::RequestMore() for simple background tasks
645420d8 380- implemented wxChoice::Delete()
7a82dabc 381- fixed bad memory leak in wxFileDialog (Chris Elliott)
3bc65ea9 382- made internal GC pool dynamically growable
6b978929 383- added GTK+ 2 and Unicode support
b42f739a 384
2c519e86
JS
385wxMotif:
386
387- improved colour settings return values (Ian Brown)
388- improved border style handling for wxStaticText (Ian Brown)
389- improved toolbar control alignment
09c1ea85
MB
390- implemented wxSpinButton
391- implemented wxCheckListBox
392- fixed wxSpinCtrl and wxStaticLine when used with sizers
393- wxStaticBitmap now shows transparent icons correctly
2c519e86 394
6b978929
JS
395wxX11:
396
397- added generic MDI implementation (Hans Van Leemputten)
398- first cut at wxSocket support (not yet working)
399
400wxMac:
401
402- Many improvements
403
404wxOS2:
405
406- First alpha-quality release
407
4fd5055c
VS
408wxHTML:
409
31f34052
VS
410- fixed wxHtmlHelpController's cache files handling on big endian machines
411- added blocking and redirecting capabilities to wxHtmlWindow via
412 wxHtmlWindow::OnOpeningURL()
2755d437 413- fixed alignment handling in tables
955c525d 414- fixed <font face="..."> handling to be case insensitive
4fd5055c 415
614391dc 4162.3.2
a553cb8b
VZ
417-----
418
461f203c
VZ
419New port: wxUniv for Win32/GTK+ is now included in the distribution.
420
a553cb8b
VZ
421wxBase:
422
423- wxRegEx class added
eadd7bd2 424- wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
a3a584a7 425- wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
eadd7bd2 426- more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
30341997
VS
427 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
428 capabilities at runtime instead of in the configure script.
a553cb8b 429
614391dc
VZ
430All (GUI):
431
432- support for virtual list control added
0a816d95 433- column images in report mode of the list control
8db37e06 434- wxFindReplaceDialog added (based on work of Markus Greither)
d7eee191 435- wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
5549e9f7 436- polygon support in wxRegion (Klaas Holwerda)
d73e6791 437- wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
0e300ddd 438- fixed bug with using wxExecute() to capture huge amounts of output
37df1f33 439