]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/changes.txt
document wxNewId() as being deprecated
[wxWidgets.git] / docs / changes.txt
... / ...
CommitLineData
1-------------------------------------------------------------------------------
2 wxWidgets Change Log
3-------------------------------------------------------------------------------
4
5INCOMPATIBLE CHANGES SINCE 2.8.x
6================================
7
8Changes in behaviour not resulting in compilation errors, please read this!
9---------------------------------------------------------------------------
10
11Changes in behaviour which may result in compilation errors
12-----------------------------------------------------------
13
14Deprecated methods and their replacements
15-----------------------------------------
16
17Major new features in this release
18----------------------------------
19
20
212.9.0
22-----
23
24- Added wxSizerFlags::Top() and Bottom()
25
26
272.8.2
28-----
29
30All:
31
32- Added wxSizerFlags::Shaped() and FixedMinSize() methods
33- Added wxCSConv::IsOk() (Manuel Martin)
34- Added wxDateTime::GetDateOnly()
35- Made wxTextFile work with unseekable files again (David Hart)
36- Added wxCONFIG_USE_SUBDIR flag to wxFileConfig (Giuseppe Bilotta)
37- Added wxSearchCtrl::[Get|Set]DescriptiveText
38
39wxMSW
40
41- Fix lack of spin control update event when control lost focus
42- Corrected drawing of bitmaps for disabled menu items
43
44wxMac
45
46- Added support for the wxFRAME_FLOAT_ON_PARENT style
47
48wxX11:
49
50- Don't crash in wxWindow dtor if the window hadn't been really Create()d
51
52
532.8.1
54-----
55
56All:
57
58- Fix compilation with wxUSE_STL=1
59- wxGrid::GetBestSize() returns same size the grid would have after AutoSize()
60- Added wxTreeCtrl::CollapseAll[Children]() and IsEmpty() (Francesco Montorsi)
61- Several RTL-related positioning fixes (Diaa Sami)
62- Fix wxConfig::DeleteGroup() for arguments with trailing slash (David Hart)
63- Fix memory leak in wxGrid::ShowCellEditControl() (Christian Sturmlechner)
64
65wxMSW:
66
67- Fixed compilation with Borland C++ in Unicode mode but without MSLU
68- Show taskbar icon menu on right button release, not press
69
70wxGTK:
71
72- Don't crash if command line is not valid UTF-8 (Unicode build only)
73
74wxUniv:
75
76- It is now possible to set background colour of wxStaticText
77
78
792.8.0
80-----
81
82All:
83
84- Added wxSearchCtrl (Vince Harron)
85- wxCSConv("UTF-16/32") now behaves correctly, i.e. same as wxMBConvUTF16/32
86- wxArrayString::Alloc() now works as reserve() and doesn't clear array contents
87- Fixed long standing bug in wxFileConfig groups renaming (Antti Koivisto).
88- New option wxFS_READ | wxFS_SEEKABLE for wxFileSystem::OpenFile() to return
89 a stream that is seekable.
90- Fixed bug in wxCalendarCtrl::HitTest() when clicking on month change arrows
91- Added wxWindow::GetWindowBorderSize() and corrected wxTreeCtrl::GetBestSize()
92 for a control with borders (Tim Kosse)
93
94wxMSW:
95
96- Fixed version script problems when using configure with cygwin/mingw32.
97- Use system default paper size for printing instead of A4.
98- Fix (harmless) assert in virtual list control under Vista
99- Fix colours when converting wxBitmap with alpha to wxImage (nusi).
100
101wxGTK:
102
103- Allow dynamically changing most of text control styles
104- Enable use of libgnomeprintui by default in configure
105
106
1072.7.2
108-----
109
110All:
111
112- Added wxFFile overload to wxFileName::CreateTemporaryFileName().
113- Added GetTempDir() to wxFileName and wxStandardPaths.
114- Added wxTar streams.
115- Added wxFilterFSHandler and wxArchiveFSHandler.
116- Added wxString::ToLongLong() and ToULongLong().
117
118All (GUI):
119
120- wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
121 calling SelectObject itself if a valid bitmap is passed.
122- Reverted wxBuffered[Paint]DC to pre 2.7.1 state, added
123 wxAutoBufferedPaintDC and wxAutoBufferedPaintDCFactory.
124- Renamed wxProgressDialog::UpdatePulse() to just Pulse().
125- Added wxCollapsiblePane (Francesco Montorsi).
126- Added wxSimpleHtmlListBox (Francesco Montorsi).
127- Printing framework fixes by Robert J. Lang. Bugs fixed,
128 wxPrinterDC::GetPaperRect() and other functions added to allow
129 easier printing implementation, and the documentation updated.
130- Many enhancements to wxRichTextCtrl including URL support,
131 formatting and symbol dialogs, print/preview, and better list
132 formatting.
133- Support for loading TGA files added (Seth Jackson).
134- Added wxTB_RIGHT style for right-aligned toolbars (Igor Korot).
135- wxHtmlWindow now generates events on link clicks (Francesco Montorsi).
136- wxHtmlWindow now also generates wxEVT_COMMAND_TEXT_COPY event.
137
138Unix Ports:
139
140- Added autopackage for wxGTK and an example of using autopackage for a wx
141 program (Francesco Montorsi).
142
143wxGTK:
144
145- More RTL work.
146- Support wxALWAYS_SHOW_SB.
147- Speed up MIME types loading. Only the GNOME database should be loaded under
148 GNOME etc. For this, the code queries the X11 session protocol.
149- wxCaret redraw problem during scrolling fixed.
150
151
1522.7.1
153-----
154
155All:
156
157- Added wxDir::FindFirst() (Francesco Montorsi).
158- Added wxPlatformInfo class (Francesco Montorsi).
159- Added wxLocale::IsAvailable() (Creighton).
160- Added Malay translations (Mahrazi Mohd Kamal).
161- Added reference counting for wxVariant.
162- For consistency, all classes having Ok() method now also have IsOk() one, use
163 of the latter form is preferred although the former hasn't been deprecated yet.
164- Added wxFileName::Is(Dir|File)(Writ|Read|Execut)able() (Francesco Montorsi).
165- Added wxFileName::GetSize() and GetHumanReadableSize() (Francesco Montorsi).
166- Added wxSizer::Replace (Francesco Montorsi).
167- wxXmlDocument can now optionally preserve whitespace (Francesco Montorsi).
168- Added wxBookCtrl::ChangeSelection() and wxTextCtrl::ChangeValue() to provide
169 event-free alternatives to SetSelection() and SetValue() functions; see the
170 "Events generated by the user vs programmatically generated events" paragraph
171 in the "Event handling overview" topic for more info.
172
173All (GUI):
174
175- Support for right-to-left text layout (started by Diaa Sami during Google Summer of
176 Code, with a lot of help from Tim Kosse and others).
177- wxAnimationCtrl added (Francesco Montorsi).
178- Added wxAboutBox() function for displaying the standard about dialog.
179- Added wxID_PAGE_SETUP standard id.
180- Added wxSize::IncBy() and DecBy() methods.
181- Added wxTextCtrl::IsEmpty().
182- Added file type parameter to wxTextCtrl::LoadFile, wxTextCtrl::SaveFile for
183 consistency with wxRichTextCtrl.
184- wxRichTextCtrl: fixed range out-by-one bug to be consistent with wxTextCtrl API,
185 fixed some attribute bugs and added wxRichTextStyleComboCtrl.
186- Added wxWindow::IsDoubleBuffered().
187- Added wxHL_ALIGN_* flags to wxHyperlinkCtrl (Francesco Montorsi).
188- Added wxGauge::Pulse() and wxProgressDialog::UpdatePulse() (Francesco Montorsi).
189
190wxMSW:
191
192- Implemented wxComboBox::SetEditable().
193- wxSemaphore::Post() returns wxSEMA_OVERFLOW as documented (Christian Walther)
194- Fixed a bug whereby static controls didn't use the correct text colour if the
195 parent's background colour had been set (most noticeable when switching to a
196 high-contrast theme).
197- Respect wxBU_EXACTFIT style in wxToggleButton (Alexander Borovsky).
198
199wxMac:
200
201- Add parameter to the --enable-universal_binary configure option for the path
202 to the SDK.
203
204wxGTK:
205
206- Automatically use stock items for menu items with standard ids.
207- Setting cursor now works for all controls.
208- Implemented right-to-left support.
209- Implemented left indentation and tab stops support in wxTextCtrl (Tim Kosse).
210- Fixed wxHTML rendering of underlined text of multiple words (Mart Raudsepp).
211
212wxUniv:
213
214- Added wxTLW::UseNativeDecorations() and UseNativeDecorationsByDefault().
215
216
2172.7.0
218-----
219
220All:
221
222- Added positional parameters support to wxVsnprintf() (Francesco Montorsi).
223- wx(F)File, wxTextFile and wxInputStreams recognize Unicode BOM now.
224- Many fixes for UTF-16/32 handling in Unicode builds.
225- wxLaunchDefaultBrowser() now supports wxBROWSER_NEW_WINDOW flag.
226- Added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
227- Added wxStandardPaths::GetDocumentsDir() (Ken Thomases).
228- Added wxStringTokenizer::GetLastDelimiter(); improved documentation.
229- Fixed wxTextFile in Unicode build.
230- Added possibility to specify dependencies for a wxModule.
231- Speed improvements to wxRegEx when matching is done in a loop such as
232 during a search and replace.
233- Fix regerror and regfree name conficts when built-in regex and system regex
234 are both used in the same program.
235- Basic authentication supported added to wxHTTP.
236- wxCondition::WaitTimeout() now returns correct value when timeout occurs.
237- Fixed occasional wxThread cleanup crash.
238- Bug in wxLogStream::DoLogString in Unicode builds fixed.
239- Added support for memo fields to wxODBC.
240- Fixed Unicode builds using SunPro compiler by defining__WCHAR_TYPE__.
241- wxFileName now also looks for TMPDIR on Unix.
242- Fixed build error in list.h with VC++ 2005.
243- Fixed wxODBC buffer overflow problem in Unicode builds.
244- Fixed wxSocketBase::InterruptWait on wxBase.
245- Important code cleanup (Paul Cornett).
246- Added support for wxLongLong in wx stream classes (Mark Junker).
247- wxSOCKET_REUSEADDR can be used with wxSocketClient.
248- Overloaded Connect() and SetLocal() methods for binding to local address/port.
249- Albanian translation added (Besnik Bleta).
250- Assert messages now show the function in which assert failed.
251- wxApp::OnAssertFailure() should now be used instead the old wxApp::OnAssert().
252- Fixed several bugs in wxDateTime::ParseDate().
253- The WXK*PRIOR and WXK*NEXT constants are now aliases for WXK*PAGEUP
254 and WXK*PAGEDOWN. If you have switch statements that use both
255 constants from a set then you need to remove the PRIOR/NEXT
256 versions in order to eliminate compiler errors.
257- Fixed bug where wxDateTime::Now() would sometimes return an incorrect value
258 the first time it was called.
259- Added wxString::rbegin() and rend().
260- Added wxString::EndsWith().
261- wxSocket::_Read continues reading from socket after exhausting pushback buffer.
262 Previously, only the buffer would be returned, even if more data was requested.
263- Added wxPowerEvent (currently MSW-only).
264- Make wx-config compatible with Bourne shells.
265- Fixed wxDb::Open(wxDbConnectInf) when using connection string (Hellwolf Misty).
266- Fixed crash in wxDb::Open() in Unicode build (Massimiliano Marretta).
267- Fixed wxTimeSpan::Format() for negative time spans.
268- Optionally count repeating wxLog messages instead of logging all (Lauri Nurmi).
269
270All (GUI):
271
272- New AUI (Advanced User Interface) library for docking windows and much more.
273- Added wxComboCtrl and wxOwnerDrawnComboBox (Jaakko Salli).
274- Added wxTreebook (uses a wxTreeCtrl to control pages).
275- Added wxColour/Dir/File/Font/PickerCtrls (Francesco Montorsi).
276- Added wxDC::GradientFillLinear/Concentric().
277- Added wxHyperlinkCtrl (Francesco Montorsi).
278- Added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE).
279- Allow to reorder wxGrid columns by drag-and-drop (Santiago Palacios).
280- Added wxRadioBox::SetItemToolTip().
281- Added support for CMYK JPEG images loading (Robert Wruck).
282- Added wxListCtrl::GetSubItemRect() and subitem hit testing (Agron Selimaj).
283- Added wxKeyEvent::GetModifiers().
284- Added wxDialog::SetEscapeId().
285- wxItemContainerImmutable::FindString unified (affects wxRadioBox, wxListBox,
286 wxComboBox and wxChoice).
287- wxWindow::Fit() now works correctly for frames and dialogs too.
288- Added access to the border size between pages and controller in book
289 based controls (wxBookCtrlBase::Get/SetInternalBorder).
290- Added initial wxRichTextCtrl implementation.
291- All book based controls (notebook, treebook etc.) share now the same
292 options for orientation (wxBK_TOP, wxBK_DEFAULT, ...) instead of duplicated
293 wxLB_TOP, wxNB_TOP, wxCHB_TOP, wxTBK_TOP.
294- Added parent window parameter to wxHelpController constructor
295 and added SetParentWindow/GetParentWindow.
296- wxMultiChoiceDialog uses now wxCheckListBox if possible, wxListBox if not.
297- Added wxBitmapButton::SetHoverBitmap().
298- Access to titles through Get/SetTitle is available now only for top level
299 windows (wxDialog, wxFrame).
300- Fixed memory leak of pending events in wxEvtHandler.
301- Added wxRadioBox::IsItemEnabled/Shown().
302- Added space after list item number in wxHTML.
303- Implemented <sub> and <sup> handling in wxHTML (based on patch
304 by Sandro Sigala).
305- Added caption parameter to wxGetFontFromUser and wxGetColourFromUser.
306- Added wxGetMouseState function.
307- Added wxHtmlHelpWindow, wxHtmlHelpDialog and wxHtmlModalHelp classes,
308 allowing HTML help to be embedded in an application.
309- wxCalendarCtrl positioning and hit-testing fixes for dimensions other than
310 best size.
311- wxCalendarCtrl colour schema changed and adjusted to system settings.
312- wxImage::Mirror() and GetSubBitmap() now support alpha (Mickey Rose).
313- More checking of image validity before loading into wxImage.
314- Added wxImage::ConvertToGreyscale.
315- Added ability to use templates with static event tables
316 with BEGIN_EVENT_TABLE_TEMPLATEn() macros.
317- Added play, pause, and state change events to wxMediaCtrl.
318- Added double-buffering to wxVListBox and fixed a scrolling issue.
319- Added wxToolbook (uses a wxToolBar to control pages).
320- Added SetSheetStyle to wxPropertySheetDialog and allowed it to
321 behave like a Mac OS X settings dialog.
322- Added <disabled> XRC tag for wxToolBar elements and <bg> for wxToolBar itself.
323- Fixed centering of top level windows on secondary displays.
324- Implemented wxDisplay::GetFromWindow() for platforms other than MSW.
325- UpdateUI handler can now show/hide the window too (Ronald Weiss).
326- More than one filter allowed in in wxDocTemplate filter.
327- Added wxListBox::HitTest().
328- Added wxDisplay::GetClientArea().
329- Indices and counts in wxControlWithItems derived API are unsigned.
330- Added support for links to wxHtmlListBox; use code has to override
331 wxHtmlListBox::OnLinkClicked() to take advantage of it.
332- Added an easier to use wxMenu::AppendSubMenu().
333- wxString <-> wxColour conversions in wxColour class (Francesco Montorsi).
334- Fixed bug with ignoring blank lines in multiline wxGrid cell labels.
335- Added wxTextAttr::Merge() (Marcin Simonides).
336- Added wxTB_NO_TOOLTIPS style (Igor Korot).
337- Added wxGenericDirCtrl::CollapsePath() (Christian Buhtz).
338- Added wxTreeCtrl::ExpandAllChildren() (Christian Buhtz)
339- Fixed 64-bit issue in wxNotebook causing segfaults on Tru64 Unix.
340- Made it possible to associate context help to a region of a window.
341- Added support for tabs in wxRichTextCtrl (Ashish More).
342- Fixed problem with zoom setting in print preview.
343- Moved wxRichTextCtrl from the advanced library to its own.
344- wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls.
345- Added wxTopLevelWindow::SetTransparent and CanSetTransparent, with
346 implementations (so far) for wxMSW and wxMac.
347