]> git.saurik.com Git - wxWidgets.git/blob - docs/changes.txt
Added dnd classes, data object classes, changed clipboard class doc,
[wxWidgets.git] / docs / changes.txt
1 wxWindows 2.0 Change Log
2 ------------------------
3
4 Beta 2, ??? 1998
5 --------------------------
6
7 wxGTK:
8
9 wxMSW:
10
11 - 16-bit BC++ compilation/linking works albeit without the resource system.
12
13 wxMotif:
14
15 - Cured wxScreenDC origin problem so e.g. sash window sash is drawn at
16 the right place.
17 - Cured some widget table clashes.
18 - Added thread support (Robert).
19 - wxPoem sample now works.
20
21 General:
22
23 - Rearranged documentation a bit.
24 - Sash window uses area of first frame/dialog to paint over when drawing
25 the dragged sash, not just the sash window itself (it clipped to the right
26 or below).
27 - Made resource sample use the correct Cancel button id.
28 - Moved wxProp to main library (generic directory), created proplist
29 sample.
30 - Added bombs and fractal samples.
31
32 Beta 1, December 24th 1998
33 --------------------------
34
35 wxGTK:
36
37 - Various
38
39 wxMSW, wxMotif: not in sync with this release.
40
41
42 Alpha 18, December 29th 1998
43 ----------------------------
44
45 wxMSW:
46
47 - Win16 support working again (VC++ 1.5)
48 - Win16 now uses generic wxNotebook, wxListCtrl,
49 wxTreeCtrl -- more or less working now, although
50 a little work on wxNotebook is still needed.
51 Under 16-bit Windows, get assertion when you click
52 on a tab.
53 - Wrote 16-bit BC++ makefiles: samples don't yet link.
54 - Added CodeWarrior support to distribution courtesy
55 of Stefan Csomor.
56
57 wxMotif:
58
59 - Cured scrolling problem: scrollbars now show/hide themselves
60 without (permanently) resizing the window.
61 - Removed some commented-out lines in wxScrolledWindow::AdjustScrollbars
62 that disabled scrollbar paging.
63 - Set background colour of drawing area in wxWindow, so e.g. wxListCtrl
64 colours correctly.
65 - Removed major bug whereby dialogs were unmanaged automatically
66 when any button was pressed.
67 - Fixed colours of wxWindow scrollbars, made list and text controls
68 have a white background.
69 - Fixed dialog colour setting.
70 - Added settable fonts and colours for wxMenu/wxMenuBar. Now
71 they have sensible colours by default.
72 - Fixed a bug in wxStaticBox.
73 - Cured wxTreeCtrl bug: now works pretty well!
74 - Debugged DrawEllipticArc (a ! in the wrong place).
75 - Added SetClippingRegion( const wxRegion& region ).
76 - Added wxPoint, wxSize, wxRect versions of SetSize etc.
77
78 Alpha 17, November 22nd 1998
79 ----------------------------
80
81 wxMSW:
82
83 - More documentation updates, especially for
84 wxLayoutWindow classes and debugging facilities.
85 - Changed wxDebugContext to use wxDebugLog instead
86 of wxTrace.
87 - Now supports VC++ 6.0, and hopefully BC++ 5.0.
88 However, DLL support may be broken for BC++ since
89 VC++ 6 required changing of WXDLLEXPORT keyword
90 position.
91 - Numerous miscellaneous changes.
92
93 wxMotif:
94
95 - Reimplemented MDI using wxNotebook instead of the MDI widgets, which
96 were too buggy (probably not design for dynamic addition/removal of
97 child frames).
98 - Some improvements to the wxNotebook implementation.
99 - wxToolBar now uses a bulletin board instead of a form, in an attempt
100 to make it possible to add ordinary wxControls to a toolbar.
101 - Cured problem with not being able to use global memory operators,
102 by defining two more global operators, so that the delete will match
103 the debugging implementation.
104 - Added wxUSE_DEBUG_NEW_ALWAYS so we can distinguish between using
105 global memory operators (usually OK) and #defining new to be
106 WXDEBUG_NEW (sometimes it might not be OK).
107 - Added time.cpp to makefile; set wxUSE_DATETIME to 1.
108 - Added a parent-existance check to popup menu code to make it not crash.
109 - Added some optimization in wxWindow::SetSize to produce less flicker.
110 It remains to be seen whether this produces any resize bugs.
111
112 It's a long time since I updated this file. Previously done:
113
114 - wxFrame, wxDialog done.
115 - wxScrolledWindow done (but backing pixmap not used at present).
116 - wxBitmap done though could be tidied it up at some point.
117 - Most basic controls are there, if not rigorously tested.
118 - Some MDI support (menus appear on child frames at present).
119 - wxNotebook almost done.
120 - wxToolBar done (horizontal only, which would be easy to extend
121 to vertical toolbars).
122
123 More recently:
124
125 - Colour and font changing done (question mark over what happens
126 to scrollbars).
127 - Accelerators done (for menu items and buttons). Also event loop
128 tidied up in wxApp so that events are filtered through ProcessXEvent.
129 - wxWindow::GetUpdateRegion should now work.
130
131 Alpha 16, September 8th 1998
132 ----------------------------
133
134 wxMSW:
135
136 - Added wxSashWindow, wxSashLayoutWindow classes, and sashtest
137 sample.
138 - Guilhem's socket classes added, plus wxsocket sample.
139 - A few more makefiles added.
140 - GnuWin32/BC++ compatibility mods.
141 - Further doc updates.
142 - wxProp updates for correct working with wxGTK.
143
144 wxMotif:
145
146 - First start at Motif port.
147 - Made makefiles for wxMotif source directory and minimal sample.
148 - First go at wxApp, wxWindow, wxDialog, wxPen, wxBrush, wxFont,
149 wxColour, wxButton, wxCheckBox, wxTextCtrl, wxStaticText,
150 wxMenu, wxMenuItem, wxMenuBar
151
152 Alpha 15, August 31st 1998
153 --------------------------
154
155 wxMSW:
156
157 - wxBitmap debugged.
158 - wxDC::GetDepth added.
159 - Contribution added whereby wxBitmap will be
160 converted to DC depth if they don't match.
161 - wxConfig API improved, documentation updated.
162 - Printing classes name conventions cleaned up.
163 - wxUpdateUIEvent now derives from wxCommandEvent
164 so event can travel up the window hierachy.
165
166 Alpha 14, July 31st 1998
167 ------------------------
168
169 wxMSW:
170
171 - Toolbar API has been simplified, and now
172 wxFrame::GetClientArea returns the available client
173 area when toolbar, status bar etc. have been accounted for.
174 wxFrame::CreateToolBar added in line with CreateStatusBar.
175 - Documentation updates, incl. for wxToolBar.
176 - New wxAcceleratorTable class plus wxFrame::SetAcceleratorTable.
177 - Various additions from other folk, e.g. streams, wxConfig
178 changes, wxNotebook.
179 - Added wxDocMDIParentFrame, wxDocMDIChildFrame for doc/view.
180
181 Alpha 13, July 8th 1998
182 -----------------------
183
184 wxMSW:
185
186 - Implemented wxPoint as identical to POINT on Windows, and
187 altered wxDC wxPoint functions to use wxPoint directly in
188 Windows functions, for efficiency.
189 - Cured wxASSERT bug in wxStatusBar95.
190 - #ifdefed out some bits in oleutils.cpp for compilers that
191 don't support it.
192 - Added some operators to wxPoint, wxSize.
193 - Added inline wxDC functions using wxPoint, wxSize, wxRect.
194
195 Alpha 12, July 7th 1998
196 -----------------------
197
198 wxMSW:
199
200 - Added wxApp::GetComCtl32Version, and wxTB_FLAT style, so can
201 have flat toolbars on Win98 or Win95 with IE >= 3 installed.
202
203 Alpha 11, July 3rd 1998
204 -----------------------
205
206 wxMSW:
207
208 - Added thread.h, thread.cpp.
209 - Changed Enabled, Checked to IsEnabled, IsChecked in wxMenu,
210 wxMenuBar.
211 - Changed wxMenuItem::SetBackColor to SetBackgroundColour,
212 SetTextColor to SetTextColour, and added or made public several
213 wxMenuItem accessors.
214 - Added two overloads to wxRegion::Contains. Added
215 wxRegion::IsEmpty for a more consistent naming convention.
216 - Added Vadim's wxDataObject and wxDropSource.
217 - ENTER/LEAVE events now work.
218 - Cured wxMemoryDC bug where the DC wasn't being deleted.
219 - Cured wxGauge SetSize major bugginess.
220 - Cured problem where if a GDI object was created on the stack,
221 then went out of scope, then another object was selected into
222 the DC, GDI objects would leak. This is because the assignment
223 to e.g. wxDC::m_pen would delete the GDI object without it first
224 being selected out of the DC. Cured by selecting the old DC object
225 first, then doing the assignment.
226 - Split up wxGaugeMSW, wxGauge95, wxSliderMSW, wxSlider95
227 - Various other bug fixes and additions.
228
229 Generic:
230
231 - Major work on Dialog Editor (still plenty to go).
232 - Expanded documentation a bit more.
233
234 Alpha 10, May 7th 1998
235 ----------------------
236
237 wxMSW:
238
239 - Added desiredWidth, desiredHeight parameters to wxBitmapHandler
240 and wxIcon functions so that you can specify what size of
241 icon should be loaded. Probably will remain a Windows-specific thing.
242 - wxStatusBar95 now works for MDI frames.
243 - Toolbars in MDI frames now behave normally. They still
244 require application-supplied positioning code though.
245 - Changed installation instructions, makefiles and batch files
246 for compiling with Gnu-Win32/Mingw32/EGCS. Also timercmn.cpp
247 change to support Mingw32/EGCS. Bison now used by default.
248
249 Alpha 9, April 27th 1998
250 ------------------------
251
252 wxMSW:
253
254 - Cured bug in wxStatusBar95 that caused a crash if multiple
255 fields were used.
256 - Added Gnu-Win32 b19/Mingw32 support by changing resource
257 compilation and pragmas.
258 - Cured wxMenu bug introduced in alpha 8 - didn't respond to
259 commands because VZ changed the id setting in wxMenu::MSWCommand.
260
261 Generic:
262
263 - Corrected some bugs, such as the wxModule compilation problem.
264 - Added Gnu-Win32 b19/Mingw32 support by changing resource
265 compilation and pragmas.
266 - Changed SIZEOF to WXSIZEOF.
267
268 Alpha 8, April 17th 1998
269 ------------------------
270
271 wxMSW:
272
273 - Added IsNull to wxGDIObject to check if the ref data is present or not.
274 - Added PNG handler and sample - doesn't work for 16-bit PNGs for
275 some reason :-(
276 - Added wxJoystick class and event handling, and simple demo.
277 - Added simple wxWave class. Needs Stop() function.
278 - Added wxModule (module.h/module.cpp) to allow definition
279 of modules to be initialized and cleaned up on wxWindows
280 startup/exit.
281 - Start of Mingw32 compatibility (see minimal and dialogs samples
282 makefile.m95 files, and install.txt).
283 - Note: Windows printing has stopped working... will investigate.
284 VADIM'S CHANGES:
285 - Updated wxString: bug fixes, added wxArrayString, some
286 compatibility functions.
287 - Updated log.h/cpp, added wxApp::CreateLogTarget.
288 - file.h: new wxTempFile class.
289 - defs.h: added wxSB_SIZE_GRIP for wxStatusBar95
290 - statbr95: wxStatusBar95 control.
291 - registry.h/cpp: wxRegKey class for Win95 registry.
292 - listbox.cpp: corrected some bugs with owner-drawn listboxes.
293 - wxConfig and wxFileConfig classes.
294
295 Generic:
296
297 - Added src/other/png, src/other/zlib directories.
298 - Added samples/png.
299 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
300 Porters, please check particularly your wxTreeCtrl and wxListCtrl
301 header files.
302 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
303
304 Alpha 7, March 30th 1998
305 ------------------------
306
307 wxMSW:
308
309 - Added tab classes, tab sample.
310 - Now can return FALSE from OnInit and windows will be
311 cleaned up properly before exit.
312 - Improved border handling so panels don't get borders
313 automatically.
314 - Debugged MDI activation from Window menu.
315 - Changes to memory debug handling, including checking for
316 memory leaks on application exit - but see issues.txt for
317 unresolved issues.
318 - Added wxTaskBarIcon (taskbar.cpp/h, plus samples/taskbar)
319 to allow maintenance of an icon in the Windows 95 taskbar
320 tray area.
321 - Got MFC sample working (MFC and wxWindows in the same
322 application), partly by tweaking ntwxwin.mak settings.
323 - Got DLL compilation working again (VC++).
324 - Changed wxProp/Dialog Editor filenames.
325
326 Generic:
327
328 - Added tab classes, tab sample.
329 - Revised memory.cpp, memory.h slightly; memory.h now #defines
330 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
331 now checks for leaks on exit. Added memcheck sample.
332 See src/msw/issues.txt for more details.
333 - resource.h, resource.cpp changed to make wxDefaultResourceTable
334 a pointer. Now initialize resource system with
335 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
336 allow better control of memory.
337 - wxString now derives from wxObject, to enable memory leak
338 checking.
339 - Added some #include fixes in various files, plus changed
340 float to long in wxToolBar files.
341
342 Alpha 6, March 10th 1998
343 ------------------------
344
345 wxMSW:
346
347 - Found stack error bug - stopped unwanted OnIdle recursion.
348 - Removed bug in wxTreeCtrl::InsertItem I added in alpha 5.
349 - Changed exit behaviour in wxApp/wxFrame/wxDialog. Now will
350 check if the number of top-level windows is zero before
351 exiting. Also, wxApp::GetTopWindow will return either
352 m_topWindow or the first member of wxTopLevelWindows, so you
353 don't have to call wxApp::SetTopWindow.
354 - Added dynarray.h/dynarray.cpp (from Vadim).
355 - Added first cut at OLE drag and drop (from Vadim). dnd sample
356 added. Drop target only at this stage. See src/msw/ole/*.cpp,
357 wx/include/msw/ole/*.h. WIN32 only because of UUID usage.
358 Doesn't work with GnuWin32 - no appropriate headers e.g. for
359 IUnknown.
360 Doesn't work with BC++ either - crashes on program startup.
361 - Added Vadim's owner-draw modifications - will probably remain
362 Windows-only. This enhances wxMenu, wxListBox. See ownerdrw sample.
363 - Added wxLB_OWNERDRAW for owner-draw listboxes.
364 - Vadim's wxCheckListBox derives from wxListBox. See checklst sample.
365 Doesn't entirely work for WIN16.
366 - Vadim has added wxMenuItem as a separate file menuitem.cpp. It
367 can also be used as an argument to wxMenu::Append, not just for
368 internal implementation.
369 - Some #ifdefs done for MINGW32 compilation (just alter OPTIONS
370 in makeg95.env, together with mingw32.bat). However, resource
371 binding is not working yet so most apps with dialogs crash.
372
373 Generic:
374
375 - Added Vadim's dynarray.h, dynarray.cpp.
376 - Added Vadim's menuitem.cpp.
377 - Added Windows-specific wxCheckListBox,
378 owner-draw wxListBox, and drag-and-drop
379 (see docs/msw/changes.txt).
380
381 Alpha 5, 14th February 1998
382 --------------------------
383
384 wxMSW:
385
386 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
387 DISTRIBUTIONS. This change log will therefore now refer to
388 the Windows-specific code only. See docs/changes.txt for generic
389 changes.
390 - Removed Windows-specific reference counting system (GDI
391 resources were cleaned up in idle time) - minimal
392 advantages now we have a wxWin reference counting system.
393 - Added missing WXDLLEXPORT keywords so DLL compilation works
394 again.
395 - Removed most warnings for GnuWin32 compilation.
396 - Added wxRegion/wxRegionIterator, but haven't yet used it in
397 e.g. wxDC.
398
399 Generic:
400
401 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
402 DISTRIBUTIONS. This change log will therefore now refer to
403 the generic code only. See docs/msw/changes.txt for Windows-specific
404 changes.
405 - Readmes, change logs and installation files now go in
406 platform-specific directories under docs, e.g. docs/msw,
407 docs/gtk.
408 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
409 created dynamically, not as a global object.
410 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
411 - Changed names of some include/wx/generic headers to be
412 consistent and to conform to gcc pragma conventions. Also
413 changed choicesg.cpp to choicdgg.cpp.
414 - Added gcc pragmas.
415 - Added gtk inclusion in include/wx headers.
416 - Added consistent file headings to source and headers.
417 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
418 added a few references to wxTransString.
419 - Added operator to wxTransString that converts automatically
420 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
421 - samples/internat now works (minimally).
422 - Added wxMouseEvent::GetPosition and
423 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
424 - Made wxSize and wxRect contain longs not ints.
425 - Cured some lemory leaks (thanks Vadim).
426 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
427 will only keep processing OnIdle if it returns TRUE from
428 MoreRequested.
429
430 Alpha 4, 31st January 1998
431 --------------------------
432
433 All:
434
435 - Changed wxDC functions to take longs instead of floats. GetSize now takes
436 integer pointers, plus a version that returns a wxSize.
437 - const keyword added to various wxDC functions.
438 - Under Windows, wxDC no longer has any knowledge of whether
439 an associated window is scrolled or not. Instead, the device
440 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
441 - wxScrolledWindow applications can optionally override the virtual OnDraw
442 function instead of using the OnPaint event handler. The wxDC passed to
443 OnDraw will be translated by PrepareDC to reflect scrolling.
444 When drawing outside of OnDraw, must call PrepareDC explicitly.
445 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
446 scrolling toolbars.
447 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
448 to help printing with multiple pages.
449 - IPC classes given base classes (wxConnectionBase etc.) which
450 define the API used by different implementations. DDE
451 implementation updated to use these base classes.
452 - wxHelpInstance now separated into wxHelpControllerBase (base
453 for all implementations), wxWinHelpController (uses standard
454 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
455 TCP/IP). There will be others eventually, such as
456 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
457 - Added Vadim Zeitlin's wxString class plus
458 internationalization code (gettext simulation, wxLocale, etc.).
459 New files from Vadim:
460 include\wx\string.h
461 include\wx\debug.h
462 include\wx\file.h
463 include\wx\log.h
464 include\wx\intl.h
465 src\common\string.cpp
466 src\common\log.cpp
467 src\common\intl.cpp
468 src\common\file.cpp
469 No longer use GNU wxString files.
470 - Split off file-related functions into include\wx\filefn.h and
471 src\common\filefn.cpp.
472 - Borland C++ support (WIN32) for main library and
473 samples, using makefile.b32 files.
474 - Preparation done for allowing BC++ to compile wxWin as a DLL,
475 including changes to defs.h.
476 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
477 introduced.
478 - Added wxShowEvent (generated when window is being shown or
479 hidden).
480 - Got minimal, docview, mdi samples working for 16-bit VC++ and
481 cured 16-bit problem with wxTextCtrl (removed global memory
482 trick).
483 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
484
485 Alpha 3, September 1997
486 -----------------------
487
488 All:
489
490 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
491 - Instigated new file hierarchy, split files and classes up more logically.
492 - PrologIO and some other utils now put into core library.
493 - Revamped print/preview classes, added wxPageSetupDialog.
494 - Started documentation.
495
496 Alpha 2, 30th April 1997
497 ------------------------
498
499 All:
500
501 - EVT_... macros now have at least one argument, for conformance
502 with MetroWerks compiler.
503 - Added ids to .wxr file format.
504 - Got Dialog Editor compiled and running again but need
505 to extend functionality to be in line with new controls.
506 Added dialoged\test app to allow dynamic loading of .wxr files
507 for testing purposes.
508 - Rewrote wxBitmap to allow installable file type
509 handlers.
510 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
511 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
512 fully).
513 - Added back wxRadioBox.
514 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
515 a separate file.
516
517 Alpha 1, 5th April 1997
518 -----------------------
519
520 Generic:
521
522 At this point, the following has been achieved:
523
524 - A lot, but not all, of the code has been revamped for better
525 naming conventions, protection of data members, and use of
526 wxString instead of char *.
527 - Obsolete functionality deleted (e.g. default wxPanel layout,
528 old system event system) and code size reduced.
529 - Class hierarchy changed (see design doc) - base classes such
530 as wxbWindow now removed.
531 - No longer includes windows.h in wxWin headers, by using stand-in
532 Windows types where needed e.g. WXHWND.
533 - PrologIO revised.
534 - wxScrolledWindow, wxStatusBar and new MDI classes added.
535 MDI is now achived using separate classes, not window styles.
536 - wxSystemSettings added, and made use of to reflect standard
537 Windows settings.
538 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
539 settings mucho rationalised.
540 - All windows are now subclassed with the same window proc to make
541 event handling far more consistent. Old internal wxWnd and derived
542 classes removed.
543 - API for controls revised, in particular addition of
544 wxValidator parameters and removal of labels for some controls.
545 - 1 validator written: see examples/validate.
546 - Event table system introduced (see most samples and
547 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
548 made more flexible, with Push/PopEventHandler allowing a chain
549 of event handlers.
550 - wxRadioBox removed - will be added back soon.
551 - Toolbar class hierarchy revised:
552 wxToolBarBase
553 wxToolBarSimple (= old wxToolBar)
554 wxToolBar95 (= old wxButtonBar under Win95
555 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
556 - Constraint system debugged somewhat (sizers now work properly).
557 - wxFileDialog, wxDirDialog added; other common dialogs now
558 have class equivalents. Generic colour and font dialogs
559 rewritten to not need obsolete panel layout.
560 - .wxr resource system partially reinstated, though needs
561 an integer ID for controls. Hopefully the resource system
562 will be replaced by something better and more efficient
563 in the future.
564 - Device contexts no longer stored with window and accessed
565 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
566 variables instead.
567 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
568 determines whether labels are shown. Other Win95-specific flags
569 introduced, e.g. for showing ticks.
570 - Styles introduced for dealing with 3D effects per window, for
571 any window: all Win95 3D effects supported, plus transparent windows.
572 - Major change to allow 3D effect support without CTL3D, under
573 Win95.
574 - Bitmap versions of button and checkbox separated out into new
575 classes, but unimplemented as yet because I intend to remove
576 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
577 - utils/wxprop classes working (except maybe wxPropertyFormView)
578 in preparation for use in Dialog Editor.
579 - GNU-WIN32 compilation verified (a month or so ago).
580
581