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