]> git.saurik.com Git - wxWidgets.git/blame - docs/changes.txt
compilation fix + comment about bogus memory leak (patch 1849988)
[wxWidgets.git] / docs / changes.txt
CommitLineData
70cf18ef
VZ
1-------------------------------------------------------------------------------
2 wxWidgets Change Log
3-------------------------------------------------------------------------------
d643b80e 4
5ec9d741 5INCOMPATIBLE CHANGES SINCE 2.8.x
aae53500
VZ
6================================
7
e6d4038a
VZ
8Unicode-related changes
9-----------------------
10
11The biggest changes in wxWidgets 3.0 are the changes due to the merge of the
12old ANSI and Unicode build modes in a single build. See the Unicode overview
13in the manual for more details but here are the most important incompatible
14changes:
15
16- Many wxWidgets functions taking "const wxChar *" have been changed to take
4baf7800 17 either "const wxString&" so that they accept both Unicode and ANSI strings.
e6d4038a 18 and the argument can't be NULL or "const char *" if the strings are always
4baf7800
VZ
19 ANSI but may be NULL. This change is normally backwards compatible except:
20
21 a) Virtual functions: derived classes versions must be modified to take
22 "const wxString&" as well to make sure that they continue to override the
23 base class version.
24
25 b) Passing NULL as argument: as NULL can't be unambiguously converted to
26 wxString, in many cases code using it won't compile any more and NULL
0d5ab92f
VZ
27 should be replaced with an empty string.
28
29
30- Some structure fields which used to be of type "const wxChar *" (such as
31 wxCmdLineEntryDesc::shortName, longName and description fields) are now of
32 type "const char *", you need to remove wxT() or _T() around the values used
33 to initialize them (which should normally always be ASCII).
e6d4038a 34
50c549b9
VZ
35- wxIPC classes didn't work correctly in Unicode build before, this was fixed
36 but at a price of breaking backwards compatibility: many methods which used
37 to work with "wxChar *" before use "void *" now (some int parameters were
38 also changed to size_t). While wxIPC_TEXT can still be used to transfer 7
39 bit text, the new wxIPC_UTF8TEXT format is used for transferring wxStrings.
e6d4038a
VZ
40
41
1e6b2edf
VZ
42wxODBC library removal
43----------------------
44
45wxODBC library was unmaintained since several years and we couldn't continue
46supporting it any longer so it was removed. Please use any of the other open
47source ODBC libraries in the future projects.
48
49
b1f3b29c
VZ
50Changes in behaviour not resulting in compilation errors, please read this!
51---------------------------------------------------------------------------
52
466e87bd
VZ
53- Default location of wxFileConfig files has changed under Windows, you will
54 need to update your code if you access these files directly.
55
47a8a4d5
VZ
56- wxWindow::IsEnabled() now returns false if a window parent (and not
57 necessarily the window itself) is disabled, new function IsThisEnabled()
58 with the same behaviour as old IsEnabled() was added.
59
5644933f
VZ
60- Generating wxNavigationKeyEvent events doesn't work any more under wxGTK (and
61 other platforms in the future), use wxWindow::Navigate() or NavigateIn()
62 instead.
63
89064717
VZ
64- Sizers distribute only the extra space between the stretchable items
65 according to their proportions and not all available space. We believe the
66 new behaviour corresponds better to user expectations but if you did rely
67 on the old behaviour you will have to update your code to set the minimal
68 sizes of the sizer items to be in the same proportion as the items
69 proportions to return to the old behaviour.
70
b1f3b29c
VZ
71Changes in behaviour which may result in compilation errors
72-----------------------------------------------------------
73
c1dc9f83
VZ
74- WXWIN_COMPATIBILITY_2_4 doesn't exist any more, please update your code if
75 you still relied on features deprecated since version 2.4
76
ddc0ac4a
VZ
77- wxDC classes hierarchy has changed, if you derived any classes from wxDC you
78 need to review them as wxDC doesn't have any virtual methods any longer and
79 uses delegation instead of inheritance to present different behaviours.
80
c9f78968
VS
81- Return type of wxString::operator[] and wxString::iterator::operator* is no
82 longer wxChar (i.e. char or wchar_t), but wxUniChar. This is not a problem
83 in vast majority of cases because of conversion operators, but it can break
84 code that depends on the result being wxChar.
85
ef0f1387
VS
86- The value returned by wxString::c_str() cannot be casted to non-const char*
87 or wchar_t* anymore. The solution is to use newly added wxString methods
88 char_str() (which returns a buffer convertible to char*) or wchar_str()
89 (which returns a buffer convertible to wchar_t*). These methods are
90 available in wxWidgets 2.8 series beginning with 2.8.4 as well.
91
c9f78968
VS
92- The value returned by wxString::operator[] or wxString::iterator cannot be
93 used in switch statements anymore, because it's a class instance. Code like
94 this won't compile:
95 switch (str[i]) { ... }
96 and has to be replaced with this:
97 switch (str[i].GetValue()) { ... }
98
99- Return type of wxString::c_str() is now wxCStrData struct and not
100 const wxChar*. wxCStrData is implicitly convertible to const char* and
101 const wchar_t*, so this only presents a problem if the compiler cannot
102 convert the type. In particular, Borland C++ and DigitalMars compilers
103 don't correctly convert operator?: operands to the same type and fail with
104 compilation error instead. This can be worked around by explicitly casting
105 to const wxChar*:
106 wxLogError(_("error: %s"), !err.empty() ? (const wxChar*)err.c_str() : "")
107
52de37c7 108- wxCtime() and wxAsctime() return char*; this is incompatible with Unicode
5bce3e6f 109 build in wxWidgets 2.8 that returned wchar_t*.
52de37c7 110
c9f78968
VS
111- DigitalMars compiler has a bug that prevents it from using
112 wxUniChar::operator bool in conditions and it erroneously reports type
113 conversion ambiguity in expressions such as this:
114 for ( wxString::const_iterator p = s.begin(); *p; ++p )
115 This can be worked around by explicitly casting to bool:
116 for ( wxString::const_iterator p = s.begin(); (bool)*p; ++p )
117
d03dab2a 118- Virtual wxHtmlParser::AddText() takes wxString, not wxChar*, argument now.
5bce3e6f 119
de34bb08 120- Functions that took wxChar* arguments that could by NULL in wxWidgets 2.8.
d38f70b2 121 are deprecated and passing NULL to them won't compile anymore, wxEmptyString
ab29bb87 122 must be used instead.
d38f70b2 123
de34bb08
VZ
124- wxTmemxxx() functions take either wxChar* or char*, not void*: use memxxx()
125 with void pointers.
126
d03dab2a
VS
127- Removed insecure wxGets() and wxTmpnam() functions.
128
6a4cbac1
VS
129- Removed global GetLine() function from wx/protocol/protocol.h, use
130 wxProtocol::ReadLine() instead.
c8058a09
JS
131
132- wxVariant no longer derives from wxObject. wxVariantData also no longer
133 derives from wxObject; instead of using wxDynamicCast with wxVariantData you
134 can use the macro wxDynamicCastVariantData with the same arguments.
6a4cbac1 135
08f1c27c
VZ
136- wxWindow::Next/PrevControlId() don't exist any more as they can't be
137 implemented correctly any longer because automatically generated ids are not
138 necessarily allocated consecutively any more. Use GetChildren() to find the
139 next/previous control sibling instead.
140
d03dab2a 141
5ec9d741
VZ
142Deprecated methods and their replacements
143-----------------------------------------
144
13dd765c 145- wxCreateGreyedImage() deprecated, use wxImage::ConvertToGreyscale() instead.
7890307b
VS
146- wxString::GetWriteBuf() and UngetWriteBuf() deprecated, using wxStringBuffer
147 or wxStringBufferLength instead.
d0bc78e2
VZ
148- wxDIRCTRL_SHOW_FILTERS style is deprecated, filters are alwsys shown if
149 specified so this style should simply be removed
724b119a
VZ
150- wxDocManager::MakeDefaultName() replaced by MakeNewDocumentName() and
151 wxDocument::GetPrintableName() with GetUserReadableName() which are simpler
152 to use
288b6107
VS
153- wxXmlProperty class was renamed to wxXmlAttribute in order to use standard
154 terminology. Corresponding wxXmlNode methods were renamed to use
155 "Attribute" instead of "Property" or "Prop" in their names.
d0bc78e2 156
9ac43913 157
5ec9d741
VZ
158Major new features in this release
159----------------------------------
160
9135f74e
VZ
161- wxWidgets is now always built with Unicode support but provides the same
162 simple (i.e. "char *"-tolerant) API as was available in ANSI build in the
163 past.
164
165- wxWidgets may now use either wchar_t (UTF-16/32) or UTF-8 internally,
166 depending on what is optimal for the target platform.
167
168- Events loops and timers can now be used in wxBase, without GUI.
169
12dc0a01 170
ccee328e
VZ
1712.9.0
172-----
173
ac6e0eb1
VZ
174All:
175
8575ff50 176- Added (experimental) IPv6 support to wxSocket (Arcen)
c0030ca7 177- Allow loading message catalogs from wxFileSystem (Axel Gembe)
6aaee6af 178- Added wxMessageQueue class for inter-thread communications
50c549b9 179- Use UTF-8 for Unicode data in wxIPC classes (Anders Larsen)
3cc305b2
JS
180- Added support for user-defined types to wxConfig (Marcin Wojdyr).
181- Added wxJoin() and wxSplit() functions (Francesco Montorsi).
182- Added wxMutex::LockTimeout() (Aleksandr Napylov).
183- Added wxMemoryInputStream(wxInputStream&) ctor (Stas Sergeev).
184- Implemented wxMemoryInputStream::CanRead().
185- Added wxEXEC_BLOCK flag (Hank Schultz).
186- Add support for wxStream-derived classes to wxRTTI (Stas Sergeev).
187- Added wxStreamBuffer::Truncate() (Stas Sergeev).
985acf87 188- Allow using wxEventLoop in console applications (Lukasz Michalski).
3cc305b2
JS
189- Added functions for Base64 en/decoding (Charles Reimers).
190- Added support for binary data to wxConfig (Charles Reimers).
191- Added functions for atomically inc/decrementing integers (Armel Asselin).
30519b02 192- wxLogInterposer has been added to replace wxLogPassThrough and new
3cc305b2
JS
193 wxLogInterposerTemp was added.
194- Added support for broadcasting to UDP sockets (Andrew Vincent).
195- Documentation now includes the wx library in which each class is defined.
21b2dde5
VS
196- wxrc --gettext now generates references to source .xrc files (Heikki
197 Linnakangas).
c8058a09
JS
198- wxVariant::Unshare allows exclusive allocation of data that must be shared,
199 if the wxVariantData::Clone function is implemented.
abbb59e8 200
bd630206
VZ
201All (Unix):
202
3cc305b2 203- Added wx-config --optional-libs command line option (John Labenski).
bd630206 204
abbb59e8
VZ
205All (GUI):
206
59396417 207- Added {wxTextCtrl,wxComboBox}::AutoComplete() and AutoCompleteFileNames()
3cc305b2 208- Added wxH[V]ScrolledWindow (Brad Anderson, Bryan Petty).
e36a1739 209- Added wxNotificationMessage class for non-intrusive notifications
376d7d97 210- Added wxWindow::Show/HideWithEffect()
3cc305b2
JS
211- Added wxDC::StretchBlit() for wxMac and wxMSW (Vince Harron).
212- Added support for drop down toolbar buttons (Tim Kosse).
213- Added support for labels for toolbar controls (Vince Harron).
214- Added wxMessageDialog::SetMessage() and SetExtendedMessage().
67d3fc49 215- Added wxListCtrl::Set/GetColumnsOrder() (Yury Voronov)
c1142003 216- Added wxWindow::AlwaysShowScrollbars() (Julian Scheid)
8866abbb 217- Added wxMouseEvent::GetClickCount() (Julian Scheid)
4488a1d3 218- Added wxBG_STYLE_TRANSPARENT background style (Julian Scheid)
86909f4c 219- Added XRCSIZERITEM() macro for obtaining sizers from XRC (Brian Vanderburg II)
0cf3e587
VZ
220- New and improved wxFileCtrl (Diaa Sami and Marcin Wojdyr)
221- Added wxEventBlocker class (Francesco Montorsi).
222- Added wxFile/DirPickerCtrl::Get/SetFile/DirName() (Francesco Montorsi).
13dd765c
JS
223- Added wxSizerFlags::Top() and Bottom().
224- Slovak translation added.
225- Fixed tab-related drawing and hit-testing bugs in wxRichTextCtrl.
226- Implemented background colour in wxRichTextCtrl.
227- Fixed crashes in helpview when opening a file.
3cc305b2
JS
228- Set locale to the default in all ports, not just wxGTK.
229- Added wxJoystick::GetButtonState/Position() (Frank C Szczerba).
230- Added wxGridUpdateLocker helper class (Evgeniy Tarassov).
231- Support wxGRID_AUTOSIZE in wxGrid::SetRow/ColLabelSize() (Evgeniy Tarassov).
232- Added wxWindow::NavigateIn() in addition to existing Navigate().
233- Add support for <data> tags to wxrc.
234- Support wxAPPLY and wxCLOSE in CreateStdDialogButtonSizer() (Marcin Wojdyr).
235- Show standard options in wxCmdLineParser usage message (Francesco Montorsi).
236- Added wxRect::operator+ (union) and * (intersection) (bdonner).
237- Added support for two auxiliary mouse buttons to wxMouseEvent (Chris Weiland).
44cc96a8
JS
238- Added wxToolTip::SetAutoPop() and SetReshow() (Jan Knepper).
239- Added wxTaskBarIcon::Destroy().
240- Added XRC handler for wxSearchCtrl (Sander Berents).
241- Read image resolution from TIFF, JPEG and BMP images (Maycon Aparecido Gasoto).
242- Add support for reading alpha data from TIFF images.
243- Added wxSYS_DCLICK_TIME system metric constant (Arne Steinarson).
244- Added wxApp::Get/SetAppDisplayName() (Brian A. Vanderburg II).
245- Added wxWindow::GetPopupMenuSelectionFromUser() (Arne Steinarson).
f73eddd2 246- Implemented wxTreeCtrl::GetPrevVisible() in the generic version and made the
44cc96a8
JS
247 behaviour of GetNextSibling() consistent between wxMSW and generic versions.
248- Merged wxRichTextAttr and wxTextAttrEx into wxTextAttr, and added a font table
249 to wxRichTextBuffer to reduce wxFont consumption and increase performance.
b86c4f96
VS
250- Optimize wxGenericTreeCtrl::Collapse/ExpandAllChildren(). (Szczepan Holyszewski)
251- Added <scrollrate> parameter to wxScrolledWindow XRC handler.
ccee328e 252
ac6e0eb1
VZ
253wxGTK:
254
3cc305b2
JS
255- Support for markup and ellipsization in wxStaticText (Francesco Montorsi).
256- Native implementation for wxHyperlinkCtrl (Francesco Montorsi).
257- Native keyboard navigation implementation.
258- Added wxCB_SORT support to wxComboBox (Evgeniy Tarassov).
259- Don't overwrite primary selection with clipboard and vice versa.
13dd765c
JS
260- Implemented support for underlined fonts in wxStaticText.
261- wxTopLevelWindow::SetSizeHints size increments now work.
262- wxTopLevelWindow::GetSize() returns the size including the WM decorations.
263- wxTopLevelWindow::GetClientSize() returns 0x0 when the window is minimized.
264- Added support for colour cursors (Pascal Monasse).
3cc305b2
JS
265- Pass current control text to EVT_TEXT handler for wxSpinCtrl (John Ratliff).
266- Added gtk.tlw.can-set-transparency system option.
ac6e0eb1 267
4dd25308
VZ
268wxMac:
269
3cc305b2
JS
270- Better IconRef support (Alan Shouls).
271- Added support for changing button labels in wxMessageDialog (Gareth Simpson).
272- Fix duplicate (empty) help menu in non-English programs (Andreas Jacobs).
273- Allow accelerators to be used with buttons too (Ryan Wilcox).
274- Support resource forks in wxCopyFile() (Hank Schultz).
dff6cf57 275- Implement wxLocale::GetInfo() using CFLocale
4dd25308 276
e570a44b
VZ
277wxMSW:
278
13dd765c
JS
279- Fixed infinite loop in wxThread::Wait() in console applications.
280- Return the restored window size from GetSize() when window is minimized.
3cc305b2 281- wxCheckListBox now looks more native, especially under XP (Marcin Malich).
1032aee2 282- Allow tooltips longer than 64 (up to 128) characters in wxTaskBarIcon
0a7b0229 283- Fix centering wxFileDialog
ac6e0eb1 284
2cdb6fdb
VZ
285wxX11:
286
3cc305b2
JS
287- Added mouse wheel support (David Hart).
288- Make Enter key activate the default button (David Hart).
2cdb6fdb 289
12dc0a01 290
c944775f
VZ
2912.8.8
292-----
293
294All (GUI):
295
296- Added wxWindow::GetNextSibling() and GetPrevSibling()
297
298
7921a093
VZ
2992.8.7
300-----
301
ba1a5962
VZ
302All:
303
58b33f50 304- Fixed bug with default proxy destruction in wxURL (Axel Gembe).
ba1a5962 305
7921a093
VZ
306wxMSW:
307
308- Correct (harmless) warnings given for forward-declared DLL-exported classes
58b33f50 309 by mingw32 4.2 (Tim Stahlhut).
7921a093
VZ
310
311wxGTK:
312
313- Added gtk.window.force-background-colour wxSystemOptions option to work around
314 a background colour bug in the gtk-qt theme under KDE.
58b33f50 315- Implemented wxGetClientDisplayRect() correctly for wxGTK and X11-based ports.
7921a093
VZ
316
317
e86882e3
VZ
3182.8.6
319-----
320
321All:
322
323- Fixed another bug in wxFileConfig when deleting entries (Axel Gembe)
3ee6201f
VZ
324- Added Portuguese translation (Antonio Cardoso Martins)
325
e86882e3 326
66160760
VZ
3272.8.5
328-----
329
57beadd2
VZ
330All (GUI):
331
c253e005 332- Added colour normalization to PNM image handler (Ray Johnston)
ba0f12ef
VZ
333- Fixed selecting part of word from right to left in wxHTML (Michael Hieke)
334- Selecting text in wxHTML with character precision was made easier, it's
335 enough to select half of a character (Michael Hieke)
336- Significantly improved startup times of XRC-based applications using
337 embedded resources on Unix (requires resources recompilation)
eb86e775 338- Fixed freeing of "static" alpha data in wxImage (Axel Gembe)
ab29bb87
VZ
339- Don't invalidate the font in SetNativeFontInfo[Desc]() if the string is
340 invalid, to conform to the documented behaviour (Langhammer)
0200fb27 341- Fixed wxXPMHandler::SaveFile for images with more than 92 colors.
57beadd2 342
66160760
VZ
343wxMSW:
344
94dd2287 345- Correct problem with page setup dialog when using landscape mode
66160760 346- Added msw.font.no-proof-quality system option, see manual for description
b013c971 347- Fix appearance of notebook with non-top tabs under Windows Vista
d4762753 348- Fixed bug with symbol resolving in wxStackWalker (Axel Gembe)
46753a7c 349- Fixed showing busy cursor for disabled windows and during wxExecute()
c70557da 350- Set the string of wxEVT_COMMAND_CHECKLISTBOX_TOGGLED events (Luca Cappa)
48271822 351- Fix problems with timers on SMP machines in wxAnimationCtrl (Gennady)
66160760 352
94dd2287
VZ
353wxGTK:
354
d6a41cc7 355- Setting foreground colour of single line wxTextCtrl now works
94dd2287
VZ
356- More work on setting defaults in GNOME print dialogs.
357- Also made landscape printing work as per wxMSW.
358- Add support for clipping in GNOME print backend.
359- Speed up wxBitmap::Rescale()
360- Add right button event for wxToolbar's tools (Tim Kosse)
1c871fe2 361- Don't unconditionally add wxCAPTION style to wxMiniFrame
0a904ed2 362- Generate wxEVT_COMMAND_LIST_END_LABEL_EDIT event even if label didn't change
85866f52 363- Fix WX_GL_STEREO attribute handling (Tristan Mehamli)
a07bf2d0 364- Fix wxThread::SetPriority() when the thread is running (Christos Gourdoupis)
5f77ee3b 365- Fixed off by 1 bug in wxDC::GradientFillLinear() (Tim Kosse)
94dd2287
VZ
366
367
b40bf35c
VZ
3682.8.4
369-----
370
defde6bc
VZ
371All:
372
373- Fix bug in wxFileConfig when recreating a group (Steven Van Ingelgem)
2c17722e
VZ
374- Fix wxStringOutputStream::Write() in Unicode build when the argument
375 overlaps UTF-8 characters boundary
8bdc8a9c 376- Account for lines without newline at the end in wxExecute()
defde6bc 377
f4854380
VZ
378All (Unix):
379
380- Handle socket shutdown by the peer correctly in wxSocket (Tim Kosse)
defde6bc
VZ
381
382All (GUI):
383
384- Allow status bar children in XRC (Edmunt Pienkowski)
781130bf 385- Fix memory leak in wxWizard when not using sizers for the page layout
9fcd0bf7 386- Added wxListCtrl::SetItemPtrData()
884898a7 387- wxHTML: Apply table background colour between the cells too (Michael Hieke)
f4854380 388
b40bf35c
VZ
389wxMSW:
390
391- Corrected wxStaticBox label appearance when its foreground colour was set:
392 it didn't respect font size nor background colour then (Juan Antonio Ortega)
8145496b
VZ
393- Don't lose combobox text when it's opened and closed (Kolya Kosenko)
394- Corrected GetChecked() for events from checkable menu items (smanders)
b40bf35c 395- Fixed popup menus under Windows NT 4
61053de4 396- Fixed bug in wxThread::Wait() in console applications introduced in 2.8.3
223b7504 397- Support right-aligned/centered owner drawn items in wxListCtrl (troelsk)
61053de4 398- Compilation fixed with WXWIN_COMPATIBILITY_2_6==0
721d1838 399- Fix wxComboCtrl colours under Windows Vista (Kolya Kosenko)
b40bf35c 400
378b042b
VZ
401wxGTK:
402
61053de4 403- Fix infinite loop when adding a wxStaticText control to a toolbar
378b042b 404- Fix wxNO_BORDER style for wxRadioBox (David Hart)
5440a04f 405- Fix wxTextCtrl::GetLineText() for empty lines (Marcin Wojdyr)
378b042b 406
4ff9366d
VZ
407wxMac:
408
409- Fix wxComboBox::SetSelection(wxNOT_FOUND) (Adrian Secord)
410
b5a3a81b
VZ
411wxUniv:
412
413- Fix wxTextCtrl::SetSelection(-1, -1) to behave as documented (Anders Larsen)
75a788ee 414- Fix wxComboBox::SetSelection(wxNOT_FOUND)
3b6c95eb 415- Fix setting background colour for controls with transparent background
b5a3a81b 416
b40bf35c 417
6fa2dd0e
VZ
4182.8.3
419-----
420
cd632a86
VZ
421All:
422
423- Shut down the sockets gracefully (Sergio Aguayo)
9076e56d 424- Fix extra indentation in wxHTML_ALIGN_JUSTIFY display (Chacal)
cd632a86
VZ
425
426wxMac:
6fa2dd0e
VZ
427
428- Corrected top border size for wxStaticBox with empty label (nusi)
429
5ab9534b
VZ
430wxMSW:
431
432- Fixed wxFileName::GetSize() for large files
433
f005ea42
VZ
434wxGTK:
435
436- Fixed handling of accelerators using PageUp/Down keys
437
5ab9534b 438
e816f5c7
VZ
4392.8.2
440-----
441
d95527de
VZ
442All:
443
13dd765c
JS
444- Added wxSizerFlags::Shaped() and FixedMinSize() methods.
445- Added wxCSConv::IsOk() (Manuel Martin).
446- Added wxDateTime::GetDateOnly().
447- Made wxTextFile work with unseekable files again (David Hart).
448- Added wxCONFIG_USE_SUBDIR flag to wxFileConfig (Giuseppe Bilotta).
449- Added wxSearchCtrl::[Get|Set]DescriptiveText.
85bf679a 450- Fixed detection of number of processors under Linux 2.6
886f61ca 451- Fixed Base64 computation in wxHTTP (p_michalczyk)
28bf2f3c 452- Fix handling of wxSOCKET_REUSEADDR in wxDatagramSocket (troelsk)
d95527de 453
69c928ef
VZ
454Unix Ports:
455
456- Fixed crash in wxGetUserName() in Unicode build
457
e816f5c7
VZ
458wxMSW
459
13dd765c
JS
460- Fix lack of spin control update event when control lost focus.
461- Corrected drawing of bitmaps for disabled menu items.
0d3997fd 462
c8db4e15
VZ
463wxGTK
464
465- Fix hang on startup when using GTK+ options in Unicode build
466
a0232aa5
RD
467wxMac
468
0d045709 469- Fix position of the centered windows (didn't take menu bar size into account)
13dd765c 470- Added support for the wxFRAME_FLOAT_ON_PARENT style.
a0232aa5 471
3aba082d
VZ
472wxX11:
473
13dd765c 474- Don't crash in wxWindow dtor if the window hadn't been really Create()d.
3aba082d 475
750040fa
WS
476wxUniv:
477
13dd765c 478- Fixed wxComboBox always sorted.
750040fa 479
e816f5c7 480
265db88d
VZ
4812.8.1
482-----
483
5fe6c02b
VZ
484All:
485
13dd765c
JS
486- Fix compilation with wxUSE_STL=1.
487- wxGrid::GetBestSize() returns same size the grid would have after AutoSize().
488- Added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() (Francesco Montorsi).
489- Several RTL-related positioning fixes (Diaa Sami).
490- Fix wxConfig::DeleteGroup() for arguments with trailing slash (David Hart).
491- Fix memory leak in wxGrid::ShowCellEditControl() (Christian Sturmlechner).
5fe6c02b 492
0ec8d8f7
VZ
493wxMSW:
494
13dd765c
JS
495- Fixed compilation with Borland C++ in Unicode mode but without MSLU.
496- Show taskbar icon menu on right button release, not press.
0ec8d8f7 497
265db88d
VZ
498wxGTK:
499
13dd765c 500- Don't crash if command line is not valid UTF-8 (Unicode build only).
265db88d 501
9c5fd8a3
VZ
502wxUniv:
503
13dd765c 504- It is now possible to set background colour of wxStaticText.
9c5fd8a3 505
265db88d 506
9129836e
VZ
5072.8.0
508-----
509
510All:
511
13dd765c
JS
512- Added wxSearchCtrl (Vince Harron).
513- wxCSConv("UTF-16/32") now behaves correctly, i.e. same as wxMBConvUTF16/32.
514- wxArrayString::Alloc() now works as reserve() and doesn't clear array contents.
bc2ce7a5 515- Fixed long standing bug in wxFileConfig groups renaming (Antti Koivisto).
c20267d8
MW
516- New option wxFS_READ | wxFS_SEEKABLE for wxFileSystem::OpenFile() to return
517 a stream that is seekable.
13dd765c
JS
518- Fixed bug in wxCalendarCtrl::HitTest() when clicking on month change arrows.
519- Added wxWindow::GetWindowBorderSize() and corrected wxTreeCtrl::GetBestSize().
520 for a control with borders (Tim Kosse).
9129836e 521
077c7880
VZ
522wxMSW:
523
bc2ce7a5 524- Fixed version script problems when using configure with cygwin/mingw32.
a7734bdf 525- Use system default paper size for printing instead of A4.
13dd765c 526- Fix (harmless) assert in virtual list control under Vista.
a7734bdf 527- Fix colours when converting wxBitmap with alpha to wxImage (nusi).
a7734bdf 528
927637fd
VZ
529wxGTK:
530
13dd765c
JS
531- Allow dynamically changing most of text control styles.
532- Enable use of libgnomeprintui by default in configure.
927637fd 533
077c7880 534
432efcb0
RD
5352.7.2
536-----
537
f8f6c91a
MW
538All:
539
540- Added wxFFile overload to wxFileName::CreateTemporaryFileName().
049e9de7 541- Added GetTempDir() to wxFileName and wxStandardPaths.
f068697b
MW
542- Added wxTar streams.
543- Added wxFilterFSHandler and wxArchiveFSHandler.
bc2ce7a5 544- Added wxString::ToLongLong() and ToULongLong().
f8f6c91a 545
0ec8d8f7 546All (GUI):
432efcb0
RD
547
548- wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
549 calling SelectObject itself if a valid bitmap is passed.
19c9f36f
RD
550- Reverted wxBuffered[Paint]DC to pre 2.7.1 state, added
551 wxAutoBufferedPaintDC and wxAutoBufferedPaintDCFactory.
049e9de7
JS
552- Renamed wxProgressDialog::UpdatePulse() to just Pulse().
553- Added wxCollapsiblePane (Francesco Montorsi).
554- Added wxSimpleHtmlListBox (Francesco Montorsi).
96202eaa
JS
555- Printing framework fixes by Robert J. Lang. Bugs fixed,
556 wxPrinterDC::GetPaperRect() and other functions added to allow
557 easier printing implementation, and the documentation updated.
558- Many enhancements to wxRichTextCtrl including URL support,
559 formatting and symbol dialogs, print/preview, and better list
560 formatting.
bc2ce7a5
JS
561- Support for loading TGA files added (Seth Jackson).
562- Added wxTB_RIGHT style for right-aligned toolbars (Igor Korot).
0f11c233 563- wxHtmlWindow now generates events on link clicks (Francesco Montorsi).
bc2ce7a5 564- wxHtmlWindow now also generates wxEVT_COMMAND_TEXT_COPY event.
432efcb0 565
2baa2b0e
VZ
566Unix Ports:
567
568- Added autopackage for wxGTK and an example of using autopackage for a wx
049e9de7
JS
569 program (Francesco Montorsi).
570
571wxGTK:
2baa2b0e 572
4ff4d045 573- More RTL work.
049e9de7
JS
574- Support wxALWAYS_SHOW_SB.
575- Speed up MIME types loading. Only the GNOME database should be loaded under
576 GNOME etc. For this, the code queries the X11 session protocol.
96202eaa 577- wxCaret redraw problem during scrolling fixed.
432efcb0
RD
578
579
e63f19ba
VZ
5802.7.1
581-----
582
d1af8e2d
VZ
583All:
584
3306aec1
JS
585- Added wxDir::FindFirst() (Francesco Montorsi).
586- Added wxPlatformInfo class (Francesco Montorsi).
587- Added wxLocale::IsAvailable() (Creighton).
bc2ce7a5
JS
588- Added Malay translations (Mahrazi Mohd Kamal).
589- Added reference counting for wxVariant.
b7cacb43 590- For consistency, all classes having Ok() method now also have IsOk() one, use
049e9de7
JS
591 of the latter form is preferred although the former hasn't been deprecated yet.
592- Added wxFileName::Is(Dir|File)(Writ|Read|Execut)able() (Francesco Montorsi).
593- Added wxFileName::GetSize() and GetHumanReadableSize() (Francesco Montorsi).
594- Added wxSizer::Replace (Francesco Montorsi).
595- wxXmlDocument can now optionally preserve whitespace (Francesco Montorsi).
78041f2e
VZ
596- Added wxBookCtrl::ChangeSelection() and wxTextCtrl::ChangeValue() to provide
597 event-free alternatives to SetSelection() and SetValue() functions; see the
598 "Events generated by the user vs programmatically generated events" paragraph
049e9de7 599 in the "Event handling overview" topic for more info.
d1af8e2d 600
e63f19ba
VZ
601All (GUI):
602
3306aec1
JS
603- Support for right-to-left text layout (started by Diaa Sami during Google Summer of
604 Code, with a lot of help from Tim Kosse and others).
049e9de7
JS
605- wxAnimationCtrl added (Francesco Montorsi).
606- Added wxAboutBox() function for displaying the standard about dialog.
3306aec1
JS
607- Added wxID_PAGE_SETUP standard id.
608- Added wxSize::IncBy() and DecBy() methods.
049e9de7 609- Added wxTextCtrl::IsEmpty().
3306aec1
JS
610- Added file type parameter to wxTextCtrl::LoadFile, wxTextCtrl::SaveFile for
611 consistency with wxRichTextCtrl.
612- wxRichTextCtrl: fixed range out-by-one bug to be consistent with wxTextCtrl API,
613 fixed some attribute bugs and added wxRichTextStyleComboCtrl.
049e9de7
JS
614- Added wxWindow::IsDoubleBuffered().
615- Added wxHL_ALIGN_* flags to wxHyperlinkCtrl (Francesco Montorsi).
616- Added wxGauge::Pulse() and wxProgressDialog::UpdatePulse() (Francesco Montorsi).
e63f19ba 617
916eecaa
VZ
618wxMSW:
619
3306aec1 620- Implemented wxComboBox::SetEditable().
a0020fcd 621- wxSemaphore::Post() returns wxSEMA_OVERFLOW as documented (Christian Walther)
3306aec1
JS
622- Fixed a bug whereby static controls didn't use the correct text colour if the
623 parent's background colour had been set (most noticeable when switching to a
624 high-contrast theme).
049e9de7 625- Respect wxBU_EXACTFIT style in wxToggleButton (Alexander Borovsky).
916eecaa 626
95768535
MW
627wxMac:
628
629- Add parameter to the --enable-universal_binary configure option for the path
630 to the SDK.
631
ab73fe8d
VZ
632wxGTK:
633
3306aec1
JS
634- Automatically use stock items for menu items with standard ids.
635- Setting cursor now works for all controls.
049e9de7 636- Implemented right-to-left support.
ae6a64b6 637- Implemented left indentation and tab stops support in wxTextCtrl (Tim Kosse).
049e9de7 638- Fixed wxHTML rendering of underlined text of multiple words (Mart Raudsepp).
ab73fe8d 639
b48f51ca
VZ
640wxUniv:
641
049e9de7 642- Added wxTLW::UseNativeDecorations() and UseNativeDecorationsByDefault().
b48f51ca 643
e63f19ba 644
254e8e29
VZ
6452.7.0
646-----
647
42d0df00
VZ
648All:
649
7f0d9d71
JS
650- Added positional parameters support to wxVsnprintf() (Francesco Montorsi).
651- wx(F)File, wxTextFile and wxInputStreams recognize Unicode BOM now.
652- Many fixes for UTF-16/32 handling in Unicode builds.
b83d533a 653- wxLaunchDefaultBrowser() now supports wxBROWSER_NEW_WINDOW flag.
3af9f2de 654- Added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
7f0d9d71 655- Added wxStandardPaths::GetDocumentsDir() (Ken Thomases).
b83d533a 656- Added wxStringTokenizer::GetLastDelimiter(); improved documentation.
7f0d9d71
JS
657- Fixed wxTextFile in Unicode build.
658- Added possibility to specify dependencies for a wxModule.
c6bb9255
MW
659- Speed improvements to wxRegEx when matching is done in a loop such as
660 during a search and replace.
661- Fix regerror and regfree name conficts when built-in regex and system regex
662 are both used in the same program.
a5fa20cb
JS
663- Basic authentication supported added to wxHTTP.
664- wxCondition::WaitTimeout() now returns correct value when timeout occurs.
665- Fixed occasional wxThread cleanup crash.
666- Bug in wxLogStream::DoLogString in Unicode builds fixed.
667- Added support for memo fields to wxODBC.
668- Fixed Unicode builds using SunPro compiler by defining__WCHAR_TYPE__.
669- wxFileName now also looks for TMPDIR on Unix.
670- Fixed build error in list.h with VC++ 2005.
671- Fixed wxODBC buffer overflow problem in Unicode builds.
2decc3bd 672- Fixed wxSocketBase::InterruptWait on wxBase.
b83d533a
JS
673- Important code cleanup (Paul Cornett).
674- Added support for wxLongLong in wx stream classes (Mark Junker).
24f4fc23 675- wxSOCKET_REUSEADDR can be used with wxSocketClient.
480abc8f 676- Overloaded Connect() and SetLocal() methods for binding to local address/port.
7f0d9d71
JS
677- Albanian translation added (Besnik Bleta).
678- Assert messages now show the function in which assert failed.
679- wxApp::OnAssertFailure() should now be used instead the old wxApp::OnAssert().
680- Fixed several bugs in wxDateTime::ParseDate().
968f291b 681- The WXK*PRIOR and WXK*NEXT constants are now aliases for WXK*PAGEUP
6fa9383b 682 and WXK*PAGEDOWN. If you have switch statements that use both
968f291b 683 constants from a set then you need to remove the PRIOR/NEXT
6fa9383b 684 versions in order to eliminate compiler errors.
44c930eb
JG
685- Fixed bug where wxDateTime::Now() would sometimes return an incorrect value
686 the first time it was called.
7f0d9d71
JS
687- Added wxString::rbegin() and rend().
688- Added wxString::EndsWith().
635f2bad
KH
689- wxSocket::_Read continues reading from socket after exhausting pushback buffer.
690 Previously, only the buffer would be returned, even if more data was requested.
7f0d9d71
JS
691- Added wxPowerEvent (currently MSW-only).
692- Make wx-config compatible with Bourne shells.
3306aec1
JS
693- Fixed wxDb::Open(wxDbConnectInf) when using connection string (Hellwolf Misty).
694- Fixed crash in wxDb::Open() in Unicode build (Massimiliano Marretta).
695- Fixed wxTimeSpan::Format() for negative time spans.
696- Optionally count repeating wxLog messages instead of logging all (Lauri Nurmi).
42d0df00 697
c6ece595
VZ
698All (GUI):
699
3306aec1 700- New AUI (Advanced User Interface) library for docking windows and much more.
7f0d9d71 701- Added wxComboCtrl and wxOwnerDrawnComboBox (Jaakko Salli).
03a37db9 702- Added wxTreebook (uses a wxTreeCtrl to control pages).
7f0d9d71
JS
703- Added wxColour/Dir/File/Font/PickerCtrls (Francesco Montorsi).
704- Added wxDC::GradientFillLinear/Concentric().
705- Added wxHyperlinkCtrl (Francesco Montorsi).
706- Added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE).
707- Allow to reorder wxGrid columns by drag-and-drop (Santiago Palacios).
708- Added wxRadioBox::SetItemToolTip().
709- Added support for CMYK JPEG images loading (Robert Wruck).
710- Added wxListCtrl::GetSubItemRect() and subitem hit testing (Agron Selimaj).
711- Added wxKeyEvent::GetModifiers().
5d7836c4 712- Added wxDialog::SetEscapeId().
f7c40316 713- wxItemContainerImmutable::FindString unified (affects wxRadioBox, wxListBox,
5d7836c4
JS
714 wxComboBox and wxChoice).
715- wxWindow::Fit() now works correctly for frames and dialogs too.
716- Added access to the border size between pages and controller in book
717 based controls (wxBookCtrlBase::Get/SetInternalBorder).
718- Added initial wxRichTextCtrl implementation.
d8fd7acb
WS
719- All book based controls (notebook, treebook etc.) share now the same
720 options for orientation (wxBK_TOP, wxBK_DEFAULT, ...) instead of duplicated
721 wxLB_TOP, wxNB_TOP, wxCHB_TOP, wxTBK_TOP.
3db52265
JS
722- Added parent window parameter to wxHelpController constructor
723 and added SetParentWindow/GetParentWindow.
60104cba 724- wxMultiChoiceDialog uses now wxCheckListBox if possible, wxListBox if not.
b83d533a 725- Added wxBitmapButton::SetHoverBitmap().
60fef964
WS
726- Access to titles through Get/SetTitle is available now only for top level
727 windows (wxDialog, wxFrame).
b83d533a 728- Fixed memory leak of pending events in wxEvtHandler.
7f0d9d71 729- Added wxRadioBox::IsItemEnabled/Shown().
3d941982 730- Added space after list item number in wxHTML.
3c115835 731- Implemented <sub> and <sup> handling in wxHTML (based on patch
b83d533a 732 by Sandro Sigala).
f14d6dd1 733- Added caption parameter to wxGetFontFromUser and wxGetColourFromUser.
7dd40b6f 734- Added wxGetMouseState function.
c3e5d4e2
JS
735- Added wxHtmlHelpWindow, wxHtmlHelpDialog and wxHtmlModalHelp classes,
736 allowing HTML help to be embedded in an application.
a5fa20cb
JS
737- wxCalendarCtrl positioning and hit-testing fixes for dimensions other than
738 best size.
d9170b47 739- wxCalendarCtrl colour schema changed and adjusted to system settings.
7f0d9d71 740- wxImage::Mirror() and GetSubBitmap() now support alpha (Mickey Rose).
a5fa20cb
JS
741- More checking of image validity before loading into wxImage.
742- Added wxImage::ConvertToGreyscale.
743- Added ability to use templates with static event tables
b83d533a
JS
744 with BEGIN_EVENT_TABLE_TEMPLATEn() macros.
745- Added play, pause, and state change events to wxMediaCtrl.
a5fa20cb 746- Added double-buffering to wxVListBox and fixed a scrolling issue.
fd0d619f 747- Added wxToolbook (uses a wxToolBar to control pages).
cc8bc5aa
JS
748- Added SetSheetStyle to wxPropertySheetDialog and allowed it to
749 behave like a Mac OS X settings dialog.
7cc1ad29
JS
750- Added <disabled> XRC tag for wxToolBar elements and <bg> for wxToolBar itself.
751- Fixed centering of top level windows on secondary displays.
752- Implemented wxDisplay::GetFromWindow() for platforms other than MSW.
b83d533a 753- UpdateUI handler can now show/hide the window too (Ronald Weiss).
0f30d8e3 754- More than one filter allowed in in wxDocTemplate filter.
b83d533a
JS
755- Added wxListBox::HitTest().
756- Added wxDisplay::GetClientArea().
894b93d3 757- Indices and counts in wxControlWithItems derived API are unsigned.
bc55e31b
VS
758- Added support for links to wxHtmlListBox; use code has to override
759 wxHtmlListBox::OnLinkClicked() to take advantage of it.
7f0d9d71 760- Added an easier to use wxMenu::AppendSubMenu().
40989e46 761- wxString <-> wxColour conversions in wxColour class (Francesco Montorsi).
7f0d9d71
JS
762- Fixed bug with ignoring blank lines in multiline wxGrid cell labels.
763- Added wxTextAttr::Merge() (Marcin Simonides).
764- Added wxTB_NO_TOOLTIPS style (Igor Korot).
765- Added wxGenericDirCtrl::CollapsePath() (Christian Buhtz).
70934138 766- Added wxTreeCtrl::ExpandAllChildren() (Christian Buhtz)
6b8f5d30 767- Fixed 64-bit issue in wxNotebook causing segfaults on Tru64 Unix.
7f0d9d71
JS
768- Made it possible to associate context help to a region of a window.
769- Added support for tabs in wxRichTextCtrl (Ashish More).
d8766675 770- Fixed problem with zoom setting in print preview.
3b2cb431 771- Moved wxRichTextCtrl from the advanced library to its own.
9804d540 772- wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls.
07880314 773- Added wxTopLevelWindow::SetTransparent and CanSetTransparent, with
50f3c41d 774 implementations (so far) for wxMSW and wxMac.
3306aec1
JS
775