]> git.saurik.com Git - wxWidgets.git/blob - docs/changes.txt
added shared libs targets
[wxWidgets.git] / docs / changes.txt
1 wxWindows 2 Change Log
2 ----------------------
3
4 INCOMPATIBLE CHANGES SINCE 2.2.x
5 ================================
6
7 wxBase:
8
9 - wxArray<T>::Remove(size_t) has been removed to fix compilation problems
10 under 64 bit architectures, please replace it with RemoveAt() in your
11 code.
12
13 - wxObject::CopyObject() and Clone() methods were removed because they
14 simply don't make sense for all objects
15
16 - wxEvent now has a pure virtual Clone() method which must be implemented
17 by all derived classes, if you have user-defined event classes please
18 add "wxEvent *Clone() const { return new MyEvent(*this); }" line to them
19
20 All (GUI):
21
22 - the event type constants are not constants any more but are dynamically
23 allocated during run-time which means that they can't be used as case labels
24 in the switch()es, you must rewrite them to use if()s instead
25
26 You may also define WXWIN_COMPATIBILITY_EVENT_TYPES to get the old behaviour
27 but this is strongly discouraged, please consider changing your codei
28 instead!
29
30 - wxDialog does not derive from wxPanel any longer - if you were using it in
31 your code, please update it. The quick fix for the most cases is to replace
32 the occurences of wxPanel with wxWindow.
33
34 - wxYES_NO is now wxYES | wxNO and the manifest values of both wxYES and wxNO
35 have changed (to fix some unfortunate clashes), please check your code to
36 ensure that no tests for wxYES or wxNO are broken: for example, the following
37 will *NOT* work any longer:
38
39 if ( flags & wxYES_NO )
40 ... do something ...
41 if ( flags & wxYES )
42 ... do something else ...
43
44 - wxGLCanvas now derives directly from wxWindow, not wxScrolledWindow
45
46 - wxGridCellAttrProvider class API changed, you will need to update your code
47 if you derived any classes from it
48
49 wxMSW:
50
51 - build system changed: setup.h is not a static file in include/wx any more
52 but is created as part of the build process under lib/<toolkit>/wx/include
53 where <toolkit> is of the form (msw|univ)[dll][u][d]. You'll need to update
54 the include path in your make/project files appropriately.
55
56 - child frames appear in the taskbar by default now, use wxFRAME_NO_TASKBAR
57 style to avoid it, wxFRAME_FLOAT_ON_PARENT style is now obsolete and has no
58 effect
59
60 Unix ports:
61
62 - You should use `wx-config --cxxflags` in your makefiles instead of
63 `wx-config --cflags` for compiling C++ files. CXXFLAGS contains CFLAGS
64 and the compiler flags for C++ files only, CFLAGS should still be used
65 to compile pure C files.
66
67 2.3.3
68 -----
69
70 wxBase:
71
72 - fixes to the command line parsing error and usage messages
73 - modified wxFileName::CreateTempFileName() to open the file atomically
74 (if possible) and, especially, not to leak the file descriptors under Unix
75 - memory leak in wxHTTP fixed (Dimitri)
76
77 All (GUI):
78
79 - significantly improved native font support
80 - added IFF image handler
81 - fixed using custom renderers in wxGrid which was broken in 2.3.2
82 - support for multiple images in one file added to wxImage (TIFF and ICO formats)
83 - support for CUR and ANI files in wxImage added (Chris Elliott)
84 - wxTextCtrl::GetRange() added
85
86 wxMSW:
87
88 - huge (40*) speed up in wxMask::Create() (=> much faster toolbar creation)
89 - fixed flicker in wxTreeCtrl::SetItemXXX()
90 - fixed redraw problems in dynamically resized wxStaticText
91 - improvements to wxWindows applications behaviour when the system colours
92 are changed
93 - fixed wxProgressDialog for ranges > 65535
94 - wxFontEnumerator now returns all fonts, not only TrueType ones
95 - bugs in handling wxFrame styles (border/caption related) fixed
96 - showing a dialog from EVT_RADIOBUTTON handler doesn't lead to an infinite
97 recursion any more
98 - wxTextCtrl with wxTE_RICH flag scrolls to the end when text is appended to it
99
100 wxGTK:
101
102 - wxDirDialog now presents the file system in standard Unix way
103 - wxButton now honours wxBU_EXACTFIT
104 - wxStaticBox now honours wxALIGN_XXX styles
105
106 2.3.2
107 -----
108
109 New port: wxUniv for Win32/GTK+ is now included in the distribution.
110
111 wxBase:
112
113 - wxRegEx class added
114 - wxGetDiskSpace() function added (Jonothan Farr, Markus Fieber)
115 - wxTextBuffer and wxTextFile(wxStream) added (Morten Hanssen)
116 - more fixes to wxMBConv classes. Conversion to and from wchar_t now works with
117 glibc 2.2 as well as with glibc 2.1. Unix version now checks for iconv()'s
118 capabilities at runtime instead of in the configure script.
119
120 All (GUI):
121
122 - support for virtual list control added
123 - column images in report mode of the list control
124 - wxFindReplaceDialog added (based on work of Markus Greither)
125 - wxTextCtrl::SetMaxLength() added (wxMSW/wxGTK)
126 - polygon support in wxRegion (Klaas Holwerda)
127 - wxStreamToTextRedirector to allow easily redirect cout to wxTextCtrl added
128 - fixed bug with using wxExecute() to capture huge amounts of output
129 - new wxCalendarCtrl styles added (Søren Erland Vestø)
130 - wxWizard changes: loading from WXR support, help button (Robert Cavanaugh)
131 - wxDirSelector() added (Paul A. Thiessen)
132 - wxGrid cell editing veto support (Roger Gammans)
133 - wxListCtrl ITEM_FOCUSED event added
134 - support for ICO files in wxImage added (Chris Elliott)
135
136 wxMSW:
137
138 - support for the DBCS fonts (CP 932, 936, 949, 950) (Nathan Cook)
139 - new library naming convention under VC++ -- please change your application
140 project files
141
142 wxGTK:
143
144 - fixed popup menu positioning bug
145
146 wxHTML:
147
148 - new HTML parser with correct parsing of character entities and fixes
149 to tags parsing
150 - added support for animated GIFs
151
152 2.3.1
153 -----
154
155 wxBase:
156
157 - Fixes for gcc 3.0
158 - Fixed new charset detection code
159 - ODBC Informix fixes (submitted by Roger Gammans)
160 - Added ODBC date support to wxVariant
161 - Added wxDir::Traverse
162 - Added wxSingleInstanceChecker class
163 - Removed redundant wxDebugContext functions using C++ streams,
164 so now standard stream usage should be unnecessary
165
166 All (GUI):
167
168 - Added wxDbGrid class for displaying ODBC tables
169 - Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the
170 user code can get access to the edit control when it is created, (to
171 push on a custom event handler for example)
172 - Added wxTextAttr class and SetStyle, SetDefaultStyle and
173 GetDefaultStyle methods to wxTextCtrl
174 - Added wxSingleInstanceChecker
175 - Improvements to Tex2RTF
176 - Added Paul and Roger Gammans' grid controls
177 - Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
178 first-time saved
179 - Fixed memory leak in textcmn.cpp
180 - Various wxXML enhancements
181 - Removed wxCLIP_CHILDREN style from wxSplitterWindow
182 - Fixed memory leak in DoPrint, htmprint.cpp
183 - Fixed calendar sample bug with using wxCommandEvent::GetInt()
184 instead of GetId()
185 - Added wxDbGrid combining wxODBC classes with wxGrid
186 - Added more makefiles and project files for contrib hierarchy
187
188 wxMSW:
189
190 - Fixed wxApp::ProcessMessage so controls don't lose their
191 accelerators when the accelerators are redefined elsewhere
192 - Accelerators consisting of simple keystrokes (without control,
193 alt or shift) now work
194 - Compile fixes for Watcom C++ added
195 - Compile fixes for Cygwin 1.0 added
196 - Use SetForegroundWindow() in wxWindow::Raise() instead of BringWindowToTop()
197 - Replaced wxYield() call in PopupMenu() by a much safer
198 wxYieldForCommandsOnly() - fixes tree ctrl popup menu bug and other ones
199 - Enter processing in wxSpinCtrl fixed
200 - Fixed bug in determining the best listbox size
201 - Fix for wxFrame's last focus bug
202 - We now send iconize events
203 - Fixed wxFrame::SetClientSize() with toolbar bug
204 - Added mousewheel processing
205 - Added wxSystemSettings::Get/SetOption so we can configure
206 wxWindows at run time; used this to implement no-maskblt option
207 in wxDC
208 - Fixed bug when using MDIS_ALLCHILDSTYLES style: so now MDI
209 child frame styles are honoured
210
211 wxGTK:
212
213 - Fixed slider rounding bug
214 - Added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
215 - We now send iconize events
216 - Fix for discrepancies between wxNotebookEvent and wxNotebook
217 GetSelection() results
218
219 2.3.0
220 -----
221
222 wxBase:
223
224 - fixed problem with wxURL when using static version of the library
225 - wxZipFSHandler::FindFirst() and FindNext() now correctly list directories
226 - wxMimeTypesManager now can create file associations too (Chris Elliott)
227 - wxCopyFile() respects the file permissions (Roland Scholz)
228 - wxFTP::GetFileSize() added (Søren Erland Vestø)
229 - wxDateTime::IsSameDate() bug fixed
230 - wxTimeSpan::Format() now behaves more as expected, see docs
231 - wxLocale now provides much more convenient API for setting language and
232 detecting current system language. New API is more abstracted and truly
233 cross-platform, independent of underlying C runtime library.
234
235 All (GUI):
236
237 - new wxToggleButton class (John Norris, Axel Schlueter)
238 - wxCalendarCtrl not highlighting the date with time part bug fixed
239 - wxADJUST_MINSIZE sizer flag added
240 - FindOrCreateBrush/Pen() bug fix for invalid colour values
241 - new wxXPMHandler for reading and writing XPM images
242 - added new (now recommended) API for conversion between wxImage and wxBitmap
243 (wxBitmap::ConvertToImage() and wxBitmap::wxBitmap(wxImage&) instead of
244 wxImage methods and ctor)
245 - ODBC classes now support DB2, Interbase, and Pervasive SQL
246 - ODBC documentation complete!!
247 - ODBC classes have much Unicode support added, but not complete
248 - ODBC experimental BLOB support added, but not completely tested
249 - ODBC NULL column support completed (Roger/Paul Gammans)
250 - ODBC All "char *" and char arrays removed and replaced with wxString use
251
252 wxMSW:
253
254 - threads: bug in wxCondition::Broadcast fixed (Pieter van der Meulen)
255 - fixed bug in MDI children flags (mis)handling
256 - it is possible to compile wxCHMHelpController with compilers
257 other than Visual C++ now and hhctrl.ocx is loaded at runtime
258
259 wxGTK:
260
261 - added support for wchar_t (wxUSE_WCHAR_T) under Unix
262
263 wxHTML:
264
265 - mew feature, wxHtmlProcessor for on-the-fly modification of HTML markup
266 - visual enhancements to contents panel of wxHtmlHelpController
267
268 2.2.0
269 -----
270
271 wxBase:
272
273 - Fixed bug with directories with trailing (back)slashes in wxPathExists
274 - wxString: added wxArrayString::operator==() and !=()
275 - Fixes for wxCmdLineParser
276 - Added wxGetLocalTimeMillis
277 - Completed Czech translations
278 - Some stream corrections
279 - added missing consts to wxPoint operators
280 - wxDateTime ParseFormat fixes
281 - wxFile::Open(write_append) will create file if it doesn't exist
282 - small fixes to MIME mailcap test command handling, more MIME tests in the sample
283
284 All (GUI):
285
286 - wxGenericDragImage now allows virtual image drawing, and
287 flicker-free dragging is now possible
288 - Added wxPrinter::GetLastError
289 - Fixed wxLogGui reentrancy problem
290 - Paper names now translated
291 - wxGrid fixes
292 - Generic validator now caters for more cases (integers in
293 wxTextCtrl, strings in wxChoice, wxComboBox)
294 - Fixed crash when docview On... functions return FALSE. Show
295 error message when an non-existent filename is typed into the Open
296 File dialog.
297 - Corrected Baltic font encoding handling
298 - wxImage: enhanced TIFF code, added new platform-independent BMP
299 writing code
300 - wxKeyEvent::GetKeyCode() and HasModifiers() added and documented
301 - Fixed wxPropertyForm crashes in sample
302 - wxWizard now calls TransferDataFromWindow() before calling
303 wxWizardPage::GetNext() fixing an obvious bug
304
305 wxMSW:
306
307 - wxWindow::GetCharWidth/Height now calculated accurately.
308 This will affect all .wxr dialog resources, so for
309 backward compatibility, please set
310 wxDIALOG_UNIT_COMPATIBILITY to 1 in setup.h
311 - wxListCtrl: set item text in LIST_ITEM_ACTIVATED events
312 - wxTextCtrl: implemented setting colours for rich edit controls
313 - wxColour now accepts both grey and gray
314 - BC++ DLL compilation fixed
315 - Watcom C++ makefiles improved for JPEG and TIFF compilation
316 - Fixed submenu accelerator bug
317 - Fixed dialog focus bug (crash if the previous window to have
318 the focus was destroyed before the dialog closed)
319 - Too-small default wxTextCtrl height fixed
320 - fixed "missing" initial resize of wxMDIChildFrame
321 - wxFrame restores focus better
322 - Now ignore wxTHICK_FRAME in wxWindow constructor: only relevant to
323 frames anddialogs, interferes with other window styles otherwise
324 (sometimes you'd get a thick frame in a subwindow)
325 - wxTextCtrl insertion point set to the beginning of the control by SetValue
326 - Fix so wxMDIParentFrame is actually shown when Show(TRUE) is called.
327 - wxFileDialog: adjusts struct size if there's an error (struct
328 sizes can be different on different versions of Windows)
329 - wxImageList::GetSize() documented and added to wxMSW
330 - fixed default dialog style to make them non resizeable again
331 - fixed wxFrame::IsShown() which always returned TRUE before
332
333 wxGTK:
334
335 - Please see docs/gtk/changes.txt.
336
337 wxMotif:
338
339 - Small compilation fixes
340
341 Documentation:
342
343 - wxCaret documented
344
345 2.1.16
346 ------
347
348 wxBase:
349
350 All (GUI):
351
352 wxMSW:
353
354 - Various bug fixes
355 - Added wxCHMHelpController, for invoking MS HTML Help
356 files. This works under VC++ only
357 - Modal dialog handling improved
358 - Printer dialog now modal
359
360 wxGTK:
361
362 - Various bug fixes
363
364 wxMotif:
365
366 - Various bug fixes
367
368 2.1.15
369 ------
370
371 Documentation:
372
373 - Added docs/tech for technical notes
374
375 File hierarchy:
376
377 - Started new contrib hierarchy that mirrors
378 the main lib structure; moved OGL and MMedia into it
379
380 wxBase:
381
382 - wxSocket support
383 - wxDateTime replaces and extends old wxDate and wxTime classes (still
384 available but strongly deprecated) with many new features
385 - wxLongLong class provides support for (signed) 64 bit integers
386 - wxCmdLineParser class for parsing the command line (supporting short and
387 long options, switches and parameters of different types)
388 - it is now possible to build wxBase under Win32 (using VC++ only so far)
389 and BeOS (without thread support yet)
390 - wxThread class modified to support both detached and joinable threads, also
391 added new GetCPUCount() and SetConcurrency() functions (useful under Solaris
392 only so far)
393 - wxDir class for enumerating files in a directory
394 - wxLog functions are now (more) MT-safe
395 - wxStopWatch class, timer functions have more chances to return correct
396 results for your platform (use ANSI functions where available)
397 - wxString::ToLong, ToULong, ToDouble methods and Format() static one added
398 - buffer overflows in wxString and wxLog classes fixed (if snprintf() function
399 is available)
400 - wxArray::RemoveAt() replaces deprecated wxArray::Remove(index)
401
402 all (GUI):
403
404 - Added wxImage::Rotate.
405 - new wxCalendarCtrl class for picking a date interactively
406 - wxMenu(Bar)::Insert() and Remove() functions for dynamic menu menagament
407 - wxToolBar supports arbitrary controls (not only buttons) and can be
408 dynamically changed (Delete/Insert functions)
409 - vertical toolbars supported by MSW and GTK native wxToolBar classes
410 - wxTreeCtrl and wxListCtrl allow setting colour/fonts for individual items
411 - "file open" dialog allows selecting multiple files at once (contributed by
412 John Norris)
413 - wxMimeTypesManager uses GNOME/KDE MIME database to get the icons for the
414 MIME types if available (Unix only)
415 - wxDC::DrawRotatedText() (based on contribution by Hans-Joachim Baader)
416 - TIFF support added (libtiff required and included in the distribution)
417 - PCX files can now be written (256 and 24 bits)
418 - validators may work recursively if wxWS_EX_VALIDATE_RECURSIVELY is set
419 - wxScrolledWindow now has keyboard interface
420 - wxTextEntryDialog may be used for entering passwords (supports wxTE_PASSWORD)
421 - added wxEncodingConverter and improved wxFontMapper
422 for dealing with convertions between different encodings,
423 charsets support in wxLocale and wxHTML
424 - wxDragImage class added
425 - samples/help improved to show standard and advanced HTML help
426 controllers, as well as native help
427 - moved wxTreeLayout class to main lib
428
429 wxMSW:
430
431 - wxFrame::MakeFullScreen added.
432 - support for enhanced metafiles added, support for copying/pasting metafiles
433 (WMF and enhanced ones) fixed/added.
434 - implemented setting colours for push buttons
435 - wxStatusBar95 may be now used in dialogs, panels (not only frames) and can be
436 positioned along the top of the screen and not only at the bottom
437 - wxTreeCtrl::IsVisible() bug fixed (thanks to Gary Chessun)
438 - loading/saving big (> 32K) files in wxTextCtrl works
439 - tooltips work with wxRadioBox
440 - wxBitmap/wxIcon may be constructed from XPM included into a program, as in
441 Unix ports
442 - returning FALSE from OnPrintPage() aborts printing
443 - VC++ makefiles and project files made (mostly) consistent
444 - wxSetCursorEvent added
445
446 wxGTK:
447
448 - wxFontMapper endless recursion bug (on some systems) fixed
449 - wxGTK synthesizes wxActivateEvents
450 - UpdateUI handlers may be used with wxTextCtrl
451
452 wxMotif:
453
454 - wxMenu::Enable works
455 - wxToolBar bugs fixed
456 - OGL samples made to work again
457
458 wxHTML:
459
460 - almost complete rewrite of wxHtmlHelpController,
461 including faster search, bookmarks, printing, setup dialog
462 and cross-platform binary compatible .cached files for faster
463 loading of large helpbooks, case insensitive search
464 splitted into 3 parts: wxHtmlHelpData, Frame and Controller
465 - added support for charsets and <meta> tag
466 - added support for font faces and justified paragraphs,
467 taken some steps to prepare wxHTML for frames
468 - added dynamic pushing/poping of wxHtmlParser tag handlers
469 - improved HTML printing
470 - added extensive table of HTML characters substitutions (&nbsp; etc.)
471 - fixed wxHtmlWindow flickering, several minor bugfixes
472 - added some tags: <address>, <code>, <kbd>, <samp>, <small>, <big>,
473 fixed handling of relative and absolute font sizes in <font size>
474
475
476 NOTE: for changes after wxWindows 2.1.0 b4, please see the CVS
477 change log.
478
479 2.1.0, b4, May 9th 1999
480 -----------------------
481
482 wxGTK:
483
484 - JPEG support added.
485 - Many fixes and changes not thought worth mentioning in this file :-)
486
487 wxMSW:
488
489 - wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
490 SetTabSize added.
491 - JPEG support added.
492 - Fixes for Cygwin compilation.
493 - Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
494 - Many fixes people didn't tell this file about.
495
496 wxMotif:
497
498
499 General:
500
501 - Some changes for Unicode support, including wxchar.h/cpp.
502
503
504 2.0.1 (release), March 1st 1999
505 -------------------------------
506
507 wxGTK:
508
509 - wxGLCanvas fixes.
510 - Slider/spinbutton fixes.
511
512 wxMSW:
513
514 - Fixed problems with <return> in dialogs/panels.
515 - Fixed window cursor setting.
516 - Fixed toolbar sizing and edge-clipping problems.
517 - Some makefile fixes.
518
519 wxMotif:
520
521 - None.
522
523 General:
524
525 - Added wxUSE_SOCKETS.
526 - More topic overviews.
527 - Put wxPrintPaperType, wxPrintPaperDatabase into
528 prntbase.h/cpp for use in non-PostScript situations
529 (e.g. Win16 wxPageSetupDialog).
530
531
532 Beta 5, February 18th 1999
533 --------------------------
534
535 wxGTK:
536
537 - wxExecute improved.
538
539 wxMSW:
540
541 - Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
542 expected).
543 - Changed VC++ makefiles (.vc) so that it's possible to have
544 debug/release/DLL versions of the library available simultaneously,
545 with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
546 - Added BC++ 5 IDE files and instructions.
547 - Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
548 - Fixed focus-related crash.
549
550 wxMotif:
551
552 - Cured asynchronous wxExecute crash.
553 - Added repaint event handlers to wxFrame, wxMDIChildFrame.
554
555 General:
556
557 - wxLocale documented.
558 - Added include filenames to class reference.
559 - wxHelpController API changed: SetBrowser becomes SetViewer,
560 DisplaySection works for WinHelp, help sample compiles under Windows
561 (though doesn't display help yet).
562
563 Beta 4, February 12th 1999
564 --------------------------
565
566 wxGTK:
567
568 - Miscellaneous fixes.
569
570 wxMSW:
571
572 - Makefiles for more compilers and samples; Cygwin makefiles
573 rationalised.
574 - Added VC++ project file for compiling wxWindows as DLL.
575
576 wxMotif:
577
578 - Added OnEraseBackground invocation.
579 - Added wxRETAINED implementation for wxScrolledWindow.
580 - Cured scrolling display problem by adding XmUpdateDisplay.
581 - Tried to make lex-ing in the makefile more generic (command line
582 syntax should apply to both lex and flex).
583 - Changed file selector colours for consistency (except for buttons:
584 crashes for some reason).
585 - Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
586 of malloc, which causes memory problems).
587
588 General:
589
590 - Further doc improvements.
591 - wxGenericValidator added.
592 - Added wxImageModule to image.cpp, so adds/cleans up standard handlers
593 automatically.
594
595 Beta 3, January 31st 1999
596 -------------------------
597
598 wxGTK:
599
600 - wxClipboard/DnD API changes (still in progress).
601 - wxToolTip class added.
602 - Miscellaneous fixes.
603
604 wxMSW:
605
606 - wxRegConfig DeleteAll bug fixed.
607 - Makefiles for more compilers.
608 - TWIN32 support added.
609 - Renamed VC++ makefiles from .nt to .vc, and
610 factored out program/library settings.
611 - Fixed wxIniConfig bug.
612
613 wxMotif:
614
615 - A few more colour fixes.
616 - wxGLCanvas and OpenGL samples working.
617 - Some compiler warnings fixed.
618 - wxChoice crash fix.
619 - Dialog Editor starting to work on Motif.
620
621 General:
622
623 - wxBusyCursor class added.
624 - Added samples/dde.
625 - More doc improvements, incl. expanding docs/html/index.htm.
626
627 Beta 2, January 1999
628 --------------------
629
630 wxGTK:
631
632 wxMSW:
633
634 - 16-bit BC++ compilation/linking works albeit without the resource system.
635
636 wxMotif:
637
638 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
639 the right place.
640 - Cured some widget table clashes.
641 - Added thread support (Robert).
642 - wxPoem sample now works.
643
644 General:
645
646 - Rearranged documentation a bit.
647 - Sash window uses area of first frame/dialog to paint over when drawing
648 the dragged sash, not just the sash window itself (it clipped to the right
649 or below).
650 - Made resource sample use the correct Cancel button id.
651 - Moved wxProp to main library (generic directory), created proplist
652 sample.
653 - Added bombs and fractal samples.
654
655 Beta 1, December 24th 1998
656 --------------------------
657
658 wxGTK:
659
660 - Various
661
662 wxMSW, wxMotif: not in sync with this release.
663
664
665 Alpha 18, December 29th 1998
666 ----------------------------
667
668 wxMSW:
669
670 - Win16 support working again (VC++ 1.5)
671 - Win16 now uses generic wxNotebook, wxListCtrl,
672 wxTreeCtrl -- more or less working now, although
673 a little work on wxNotebook is still needed.
674 Under 16-bit Windows, get assertion when you click
675 on a tab.
676 - Wrote 16-bit BC++ makefiles: samples don't yet link.
677 - Added CodeWarrior support to distribution courtesy
678 of Stefan Csomor.
679
680 wxMotif:
681
682 - Cured scrolling problem: scrollbars now show/hide themselves
683 without (permanently) resizing the window.
684 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
685 that disabled scrollbar paging.
686 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
687 colours correctly.
688 - Removed major bug whereby dialogs were unmanaged automatically
689 when any button was pressed.
690 - Fixed colours of wxWindow scrollbars, made list and text controls
691 have a white background.
692 - Fixed dialog colour setting.
693 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
694 they have sensible colours by default.
695 - Fixed a bug in wxStaticBox.
696 - Cured wxTreeCtrl bug: now works pretty well!
697 - Debugged DrawEllipticArc (a ! in the wrong place).
698 - Added SetClippingRegion( const wxRegion& region ).
699 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
700
701 Alpha 17, November 22nd 1998
702 ----------------------------
703
704 wxMSW:
705
706 - More documentation updates, especially for
707 wxLayoutWindow classes and debugging facilities.
708 - Changed wxDebugContext to use wxDebugLog instead
709 of wxTrace.
710 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
711 However, DLL support may be broken for BC++ since
712 VC++ 6 required changing of WXDLLEXPORT keyword
713 position.
714 - Numerous miscellaneous changes.
715
716 wxMotif:
717
718 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
719 were too buggy (probably not design for dynamic addition/removal of
720 child frames).
721 - Some improvements to the wxNotebook implementation.
722 - wxToolBar now uses a bulletin board instead of a form, in an attempt
723 to make it possible to add ordinary wxControls to a toolbar.
724 - Cured problem with not being able to use global memory operators,
725 by defining two more global operators, so that the delete will match
726 the debugging implementation.
727 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
728 global memory operators (usually OK) and #defining new to be
729 WXDEBUG_NEW (sometimes it might not be OK).
730 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
731 - Added a parent-existance check to popup menu code to make it not crash.
732 - Added some optimization in wxWindow::SetSize to produce less flicker.
733 It remains to be seen whether this produces any resize bugs.
734
735 It's a long time since I updated this file. Previously done:
736
737 - wxFrame, wxDialog done.
738 - wxScrolledWindow done (but backing pixmap not used at present).
739 - wxBitmap done though could be tidied it up at some point.
740 - Most basic controls are there, if not rigorously tested.
741 - Some MDI support (menus appear on child frames at present).
742 - wxNotebook almost done.
743 - wxToolBar done (horizontal only, which would be easy to extend
744 to vertical toolbars).
745
746 More recently:
747
748 - Colour and font changing done (question mark over what happens
749 to scrollbars).
750 - Accelerators done (for menu items and buttons). Also event loop
751 tidied up in wxApp so that events are filtered through ProcessXEvent.
752 - wxWindow::GetUpdateRegion should now work.
753
754 Alpha 16, September 8th 1998
755 ----------------------------
756
757 wxMSW:
758
759 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
760 sample.
761 - Guilhem's socket classes added, plus wxsocket sample.
762 - A few more makefiles added.
763 - GnuWin32/BC++ compatibility mods.
764 - Further doc updates.
765 - wxProp updates for correct working with wxGTK.
766
767 wxMotif:
768
769 - First start at Motif port.
770 - Made makefiles for wxMotif source directory and minimal sample.
771 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
772 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
773 wxMenu, wxMenuItem, wxMenuBar
774
775 Alpha 15, August 31st 1998
776 --------------------------
777
778 wxMSW:
779
780 - wxBitmap debugged.
781 - wxDC::GetDepth added.
782 - Contribution added whereby wxBitmap will be
783 converted to DC depth if they don't match.
784 - wxConfig API improved, documentation updated.
785 - Printing classes name conventions cleaned up.
786 - wxUpdateUIEvent now derives from wxCommandEvent
787 so event can travel up the window hierachy.
788
789 Alpha 14, July 31st 1998
790 ------------------------
791
792 wxMSW:
793
794 - Toolbar API has been simplified, and now
795 wxFrame::GetClientArea returns the available client
796 area when toolbar, status bar etc. have been accounted for.
797 wxFrame::CreateToolBar added in line with CreateStatusBar.
798 - Documentation updates, incl. for wxToolBar.
799 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
800 - Various additions from other folk, e.g. streams, wxConfig
801 changes, wxNotebook.
802 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
803
804 Alpha 13, July 8th 1998
805 -----------------------
806
807 wxMSW:
808
809 - Implemented wxPoint as identical to POINT on Windows, and
810 altered wxDC wxPoint functions to use wxPoint directly in
811 Windows functions, for efficiency.
812 - Cured wxASSERT bug in wxStatusBar95.
813 - #ifdefed out some bits in oleutils.cpp for compilers that
814 don't support it.
815 - Added some operators to wxPoint, wxSize.
816 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
817
818 Alpha 12, July 7th 1998
819 -----------------------
820
821 wxMSW:
822
823 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
824 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
825
826 Alpha 11, July 3rd 1998
827 -----------------------
828
829 wxMSW:
830
831 - Added thread.h, thread.cpp.
832 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
833 wxMenuBar.
834 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
835 SetTextColor to SetTextColour, and added or made public several
836 wxMenuItem accessors.
837 - Added two overloads to wxRegion::Contains. Added
838 wxRegion::IsEmpty for a more consistent naming convention.
839 - Added Vadim's wxDataObject and wxDropSource.
840 - ENTER/LEAVE events now work.
841 - Cured wxMemoryDC bug where the DC wasn't being deleted.
842 - Cured wxGauge SetSize major bugginess.
843 - Cured problem where if a GDI object was created on the stack,
844 then went out of scope, then another object was selected into
845 the DC, GDI objects would leak. This is because the assignment
846 to e.g. wxDC::m_pen would delete the GDI object without it first
847 being selected out of the DC. Cured by selecting the old DC object
848 first, then doing the assignment.
849 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
850 - Various other bug fixes and additions.
851
852 Generic:
853
854 - Major work on Dialog Editor (still plenty to go).
855 - Expanded documentation a bit more.
856
857 Alpha 10, May 7th 1998
858 ----------------------
859
860 wxMSW:
861
862 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
863 and wxIcon functions so that you can specify what size of
864 icon should be loaded. Probably will remain a Windows-specific thing.
865 - wxStatusBar95 now works for MDI frames.
866 - Toolbars in MDI frames now behave normally. They still
867 require application-supplied positioning code though.
868 - Changed installation instructions, makefiles and batch files
869 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
870 change to support Mingw32/EGCS. Bison now used by default.
871
872 Alpha 9, April 27th 1998
873 ------------------------
874
875 wxMSW:
876
877 - Cured bug in wxStatusBar95 that caused a crash if multiple
878 fields were used.
879 - Added Gnu-Win32 b19/Mingw32 support by changing resource
880 compilation and pragmas.
881 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
882 commands because VZ changed the id setting in wxMenu::MSWCommand.
883
884 Generic:
885
886 - Corrected some bugs, such as the wxModule compilation problem.
887 - Added Gnu-Win32 b19/Mingw32 support by changing resource
888 compilation and pragmas.
889 - Changed SIZEOF to WXSIZEOF.
890
891 Alpha 8, April 17th 1998
892 ------------------------
893
894 wxMSW:
895
896 - Added IsNull to wxGDIObject to check if the ref data is present or not.
897 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
898 some reason :-(
899 - Added wxJoystick class and event handling, and simple demo.
900 - Added simple wxWave class. Needs Stop() function.
901 - Added wxModule (module.h/module.cpp) to allow definition
902 of modules to be initialized and cleaned up on wxWindows
903 startup/exit.
904 - Start of Mingw32 compatibility (see minimal and dialogs samples
905 makefile.m95 files, and install.txt).
906 - Note: Windows printing has stopped working... will investigate.
907 VADIM'S CHANGES:
908 - Updated wxString: bug fixes, added wxArrayString, some
909 compatibility functions.
910 - Updated log.h/cpp, added wxApp::CreateLogTarget.
911 - file.h: new wxTempFile class.
912 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
913 - statbr95: wxStatusBar95 control.
914 - registry.h/cpp: wxRegKey class for Win95 registry.
915 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
916 - wxConfig and wxFileConfig classes.
917
918 Generic:
919
920 - Added src/other/png, src/other/zlib directories.
921 - Added samples/png.
922 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
923 Porters, please check particularly your wxTreeCtrl and wxListCtrl
924 header files.
925 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
926
927 Alpha 7, March 30th 1998
928 ------------------------
929
930 wxMSW:
931
932 - Added tab classes, tab sample.
933 - Now can return FALSE from OnInit and windows will be
934 cleaned up properly before exit.
935 - Improved border handling so panels don't get borders
936 automatically.
937 - Debugged MDI activation from Window menu.
938 - Changes to memory debug handling, including checking for
939 memory leaks on application exit - but see issues.txt for
940 unresolved issues.
941 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
942 to allow maintenance of an icon in the Windows 95 taskbar
943 tray area.
944 - Got MFC sample working (MFC and wxWindows in the same
945 application), partly by tweaking ntwxwin.mak settings.
946 - Got DLL compilation working again (VC++).
947 - Changed wxProp/Dialog Editor filenames.
948
949 Generic:
950
951 - Added tab classes, tab sample.
952 - Revised memory.cpp, memory.h slightly; memory.h now #defines
953 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
954 now checks for leaks on exit. Added memcheck sample.
955 See src/msw/issues.txt for more details.
956 - resource.h, resource.cpp changed to make wxDefaultResourceTable
957 a pointer. Now initialize resource system with
958 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
959 allow better control of memory.
960 - wxString now derives from wxObject, to enable memory leak
961 checking.
962 - Added some #include fixes in various files, plus changed
963 float to long in wxToolBar files.
964
965 Alpha 6, March 10th 1998
966 ------------------------
967
968 wxMSW:
969
970 - Found stack error bug - stopped unwanted OnIdle recursion.
971 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
972 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
973 check if the number of top-level windows is zero before
974 exiting. Also, wxApp::GetTopWindow will return either
975 m_topWindow or the first member of wxTopLevelWindows, so you
976 don't have to call wxApp::SetTopWindow.
977 - Added dynarray.h/dynarray.cpp (from Vadim).
978 - Added first cut at OLE drag and drop (from Vadim). dnd sample
979 added. Drop target only at this stage. See src/msw/ole/*.cpp,
980 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
981 Doesn't work with GnuWin32 - no appropriate headers e.g. for
982 IUnknown.
983 Doesn't work with BC++ either - crashes on program startup.
984 - Added Vadim's owner-draw modifications - will probably remain
985 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
986 - Added wxLB_OWNERDRAW for owner-draw listboxes.
987 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
988 Doesn't entirely work for WIN16.
989 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
990 can also be used as an argument to wxMenu::Append, not just for
991 internal implementation.
992 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
993 in makeg95.env, together with mingw32.bat). However, resource
994 binding is not working yet so most apps with dialogs crash.
995
996 Generic:
997
998 - Added Vadim's dynarray.h, dynarray.cpp.
999 - Added Vadim's menuitem.cpp.
1000 - Added Windows-specific wxCheckListBox,
1001 owner-draw wxListBox, and drag-and-drop
1002 (see docs/msw/changes.txt).
1003
1004 Alpha 5, 14th February 1998
1005 --------------------------
1006
1007 wxMSW:
1008
1009 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1010 DISTRIBUTIONS. This change log will therefore now refer to
1011 the Windows-specific code only. See docs/changes.txt for generic
1012 changes.
1013 - Removed Windows-specific reference counting system (GDI
1014 resources were cleaned up in idle time) - minimal
1015 advantages now we have a wxWin reference counting system.
1016 - Added missing WXDLLEXPORT keywords so DLL compilation works
1017 again.
1018 - Removed most warnings for GnuWin32 compilation.
1019 - Added wxRegion/wxRegionIterator, but haven't yet used it in
1020 e.g. wxDC.
1021
1022 Generic:
1023
1024 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
1025 DISTRIBUTIONS. This change log will therefore now refer to
1026 the generic code only. See docs/msw/changes.txt for Windows-specific
1027 changes.
1028 - Readmes, change logs and installation files now go in
1029 platform-specific directories under docs, e.g. docs/msw,
1030 docs/gtk.
1031 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
1032 created dynamically, not as a global object.
1033 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
1034 - Changed names of some include/wx/generic headers to be
1035 consistent and to conform to gcc pragma conventions. Also
1036 changed choicesg.cpp to choicdgg.cpp.
1037 - Added gcc pragmas.
1038 - Added gtk inclusion in include/wx headers.
1039 - Added consistent file headings to source and headers.
1040 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
1041 added a few references to wxTransString.
1042 - Added operator to wxTransString that converts automatically
1043 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
1044 - samples/internat now works (minimally).
1045 - Added wxMouseEvent::GetPosition and
1046 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
1047 - Made wxSize and wxRect contain longs not ints.
1048 - Cured some lemory leaks (thanks Vadim).
1049 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
1050 will only keep processing OnIdle if it returns TRUE from
1051 MoreRequested.
1052
1053 Alpha 4, 31st January 1998
1054 --------------------------
1055
1056 All:
1057
1058 - Changed wxDC functions to take longs instead of floats. GetSize now takes
1059 integer pointers, plus a version that returns a wxSize.
1060 - const keyword added to various wxDC functions.
1061 - Under Windows, wxDC no longer has any knowledge of whether
1062 an associated window is scrolled or not. Instead, the device
1063 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
1064 - wxScrolledWindow applications can optionally override the virtual OnDraw
1065 function instead of using the OnPaint event handler. The wxDC passed to
1066 OnDraw will be translated by PrepareDC to reflect scrolling.
1067 When drawing outside of OnDraw, must call PrepareDC explicitly.
1068 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
1069 scrolling toolbars.
1070 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
1071 to help printing with multiple pages.
1072 - IPC classes given base classes (wxConnectionBase etc.) which
1073 define the API used by different implementations. DDE
1074 implementation updated to use these base classes.
1075 - wxHelpInstance now separated into wxHelpControllerBase (base
1076 for all implementations), wxWinHelpController (uses standard
1077 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
1078 TCP/IP). There will be others eventually, such as
1079 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
1080 - Added Vadim Zeitlin's wxString class plus
1081 internationalization code (gettext simulation, wxLocale, etc.).
1082 New files from Vadim:
1083 include\wx\string.h
1084 include\wx\debug.h
1085 include\wx\file.h
1086 include\wx\log.h
1087 include\wx\intl.h
1088 src\common\string.cpp
1089 src\common\log.cpp
1090 src\common\intl.cpp
1091 src\common\file.cpp
1092 No longer use GNU wxString files.
1093 - Split off file-related functions into include\wx\filefn.h and
1094 src\common\filefn.cpp.
1095 - Borland C++ support (WIN32) for main library and
1096 samples, using makefile.b32 files.
1097 - Preparation done for allowing BC++ to compile wxWin as a DLL,
1098 including changes to defs.h.
1099 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
1100 introduced.
1101 - Added wxShowEvent (generated when window is being shown or
1102 hidden).
1103 - Got minimal, docview, mdi samples working for 16-bit VC++ and
1104 cured 16-bit problem with wxTextCtrl (removed global memory
1105 trick).
1106 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
1107
1108 Alpha 3, September 1997
1109 -----------------------
1110
1111 All:
1112
1113 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
1114 - Instigated new file hierarchy, split files and classes up more logically.
1115 - PrologIO and some other utils now put into core library.
1116 - Revamped print/preview classes, added wxPageSetupDialog.
1117 - Started documentation.
1118
1119 Alpha 2, 30th April 1997
1120 ------------------------
1121
1122 All:
1123
1124 - EVT_... macros now have at least one argument, for conformance
1125 with MetroWerks compiler.
1126 - Added ids to .wxr file format.
1127 - Got Dialog Editor compiled and running again but need
1128 to extend functionality to be in line with new controls.
1129 Added dialoged\test app to allow dynamic loading of .wxr files
1130 for testing purposes.
1131 - Rewrote wxBitmap to allow installable file type
1132 handlers.
1133 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
1134 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
1135 fully).
1136 - Added back wxRadioBox.
1137 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
1138 a separate file.
1139
1140 Alpha 1, 5th April 1997
1141 -----------------------
1142
1143 Generic:
1144
1145 At this point, the following has been achieved:
1146
1147 - A lot, but not all, of the code has been revamped for better
1148 naming conventions, protection of data members, and use of
1149 wxString instead of char *.
1150 - Obsolete functionality deleted (e.g. default wxPanel layout,
1151 old system event system) and code size reduced.
1152 - Class hierarchy changed (see design doc) - base classes such
1153 as wxbWindow now removed.
1154 - No longer includes windows.h in wxWin headers, by using stand-in
1155 Windows types where needed e.g. WXHWND.
1156 - PrologIO revised.
1157 - wxScrolledWindow, wxStatusBar and new MDI classes added.
1158 MDI is now achived using separate classes, not window styles.
1159 - wxSystemSettings added, and made use of to reflect standard
1160 Windows settings.
1161 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
1162 settings mucho rationalised.
1163 - All windows are now subclassed with the same window proc to make
1164 event handling far more consistent. Old internal wxWnd and derived
1165 classes removed.
1166 - API for controls revised, in particular addition of
1167 wxValidator parameters and removal of labels for some controls.
1168 - 1 validator written: see examples/validate.
1169 - Event table system introduced (see most samples and
1170 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
1171 made more flexible, with Push/PopEventHandler allowing a chain
1172 of event handlers.
1173 - wxRadioBox removed - will be added back soon.
1174 - Toolbar class hierarchy revised:
1175 wxToolBarBase
1176 wxToolBarSimple (= old wxToolBar)
1177 wxToolBar95 (= old wxButtonBar under Win95
1178 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
1179 - Constraint system debugged somewhat (sizers now work properly).
1180 - wxFileDialog, wxDirDialog added; other common dialogs now
1181 have class equivalents. Generic colour and font dialogs
1182 rewritten to not need obsolete panel layout.
1183 - .wxr resource system partially reinstated, though needs
1184 an integer ID for controls. Hopefully the resource system
1185 will be replaced by something better and more efficient
1186 in the future.
1187 - Device contexts no longer stored with window and accessed
1188 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
1189 variables instead.
1190 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
1191 determines whether labels are shown. Other Win95-specific flags
1192 introduced, e.g. for showing ticks.
1193 - Styles introduced for dealing with 3D effects per window, for
1194 any window: all Win95 3D effects supported, plus transparent windows.
1195 - Major change to allow 3D effect support without CTL3D, under
1196 Win95.
1197 - Bitmap versions of button and checkbox separated out into new
1198 classes, but unimplemented as yet because I intend to remove
1199 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
1200 - utils/wxprop classes working (except maybe wxPropertyFormView)
1201 in preparation for use in Dialog Editor.
1202 - GNU-WIN32 compilation verified (a month or so ago).
1203
1204