]> git.saurik.com Git - wxWidgets.git/blob - docs/changes.txt
bug hunting in the repository
[wxWidgets.git] / docs / changes.txt
1
2
3 Generic wxWindows 2.0 Change Log
4 --------------------------------
5
6 Note: for platform-specific changes, see wx/docs/XXX/changes.txt
7 where XXX is one of msw, motif, xt, gtk, mac.
8
9 Alpha 9, April 27th 1998
10 ------------------------
11
12 - Corrected some bugs, such as the wxModule compilation problem.
13 - Added Gnu-Win32 b19/Mingw32 support by changing resource
14 compilation and pragmas.
15 - Changed SIZEOF to WXSIZEOF.
16
17 Alpha 8, April 17th 1998
18 ------------------------
19
20 - Added src/other/png, src/other/zlib directories.
21 - Added samples/png.
22 - IMPORTANT: Changed 'no id' number from 0 to -1, in wxEVT_ macros.
23 Porters, please check particularly your wxTreeCtrl and wxListCtrl
24 header files.
25 - Added modules.h/cpp, config.cpp, fileconf.cpp, textfile.cpp/h.
26
27 Alpha 7, March 30th 1998
28 ------------------------
29
30 - Added tab classes, tab sample.
31 - Revised memory.cpp, memory.h slightly; memory.h now #defines
32 new to WXDEBUG_NEW in DEBUG mode. Windows implementation app.cpp
33 now checks for leaks on exit. Added memcheck sample.
34 See src/msw/issues.txt for more details.
35 - resource.h, resource.cpp changed to make wxDefaultResourceTable
36 a pointer. Now initialize resource system with
37 wxInitializeResourceSystem and wxCleanUpResourceSystem, to
38 allow better control of memory.
39 - wxString now derives from wxObject, to enable memory leak
40 checking.
41 - Added some #include fixes in various files, plus changed
42 float to long in wxToolBar files.
43
44 Alpha 6, March 10th 1998
45 ------------------------
46
47 - Added Vadim's dynarray.h, dynarray.cpp.
48 - Added Vadim's menuitem.cpp.
49 - Added Windows-specific wxCheckListBox,
50 owner-draw wxListBox, and drag-and-drop
51 (see docs/msw/changes.txt).
52
53 Alpha 5, 14th February 1998
54 --------------------------
55
56 - GENERIC AND MSW-SPECIFIC CODE NOW TREATED AS TWO SEPARATE
57 DISTRIBUTIONS. This change log will therefore now refer to
58 the generic code only. See docs/msw/changes.txt for Windows-specific
59 changes.
60 - Readmes, change logs and installation files now go in
61 platform-specific directories under docs, e.g. docs/msw,
62 docs/gtk.
63 - Added DECLARE_APP and IMPLEMENT_APP macros so wxApp object gets
64 created dynamically, not as a global object.
65 - Put wxColour into wx/msw/colour.h, src/msw/colour.cpp.
66 - Changed names of some include/wx/generic headers to be
67 consistent and to conform to gcc pragma conventions. Also
68 changed choicesg.cpp to choicdgg.cpp.
69 - Added gcc pragmas.
70 - Added gtk inclusion in include/wx headers.
71 - Added consistent file headings to source and headers.
72 - Removed lang.cpp, lang.h and references to wxSTR_... variables;
73 added a few references to wxTransString.
74 - Added operator to wxTransString that converts automatically
75 to wxString, so we can say e.g. wxMessageBox(wxTransString("Hello"), ...).
76 - samples/internat now works (minimally).
77 - Added wxMouseEvent::GetPosition and
78 wxMouseEvent::GetLogicalPosition, both returning wxPoints.
79 - Made wxSize and wxRect contain longs not ints.
80 - Cured some lemory leaks (thanks Vadim).
81 - Tidied up OnIdle and introduced RequestMore/MoreRequested so
82 will only keep processing OnIdle if it returns TRUE from
83 MoreRequested.
84
85 Alpha 4, 31st January 1998
86 --------------------------
87
88 - Changed wxDC functions to take longs instead of floats. GetSize now takes
89 integer pointers, plus a version that returns a wxSize.
90 - const keyword added to various wxDC functions.
91 - Under Windows, wxDC no longer has any knowledge of whether
92 an associated window is scrolled or not. Instead, the device
93 origin is set by wxScrolledWindow in wxScrolledWindow::PrepareDC.
94 - wxScrolledWindow applications can optionally override the virtual OnDraw
95 function instead of using the OnPaint event handler. The wxDC passed to
96 OnDraw will be translated by PrepareDC to reflect scrolling.
97 When drawing outside of OnDraw, must call PrepareDC explicitly.
98 - wxToolBarBase/wxToolBarSimple similarly changed to allow for
99 scrolling toolbars.
100 - Integrated wxPostScriptDC patches for 1.xx by Chris Breeze,
101 to help printing with multiple pages.
102 - IPC classes given base classes (wxConnectionBase etc.) which
103 define the API used by different implementations. DDE
104 implementation updated to use these base classes.
105 - wxHelpInstance now separated into wxHelpControllerBase (base
106 for all implementations), wxWinHelpController (uses standard
107 WinHelp), wxXLPHelPController (talks to wxHelp by DDE or
108 TCP/IP). There will be others eventually, such as
109 wxHTMLHelpController for Microsoft (and Netscape?) HTML Help.
110 - Added Vadim Zeitlin's wxString class plus
111 internationalization code (gettext simulation, wxLocale, etc.).
112 New files from Vadim:
113 include\wx\string.h
114 include\wx\debug.h
115 include\wx\file.h
116 include\wx\log.h
117 include\wx\intl.h
118 src\common\string.cpp
119 src\common\log.cpp
120 src\common\intl.cpp
121 src\common\file.cpp
122 No longer use GNU wxString files.
123 - Split off file-related functions into include\wx\filefn.h and
124 src\common\filefn.cpp.
125 - Borland C++ support (WIN32) for main library and
126 samples, using makefile.b32 files.
127 - Preparation done for allowing BC++ to compile wxWin as a DLL,
128 including changes to defs.h.
129 - wxIntPoint removed, wxPoint is now int, and wxRealPoint
130 introduced.
131 - Added wxShowEvent (generated when window is being shown or
132 hidden).
133 - Got minimal, docview, mdi samples working for 16-bit VC++ and
134 cured 16-bit problem with wxTextCtrl (removed global memory
135 trick).
136 - Updated GnuWin32 makefiles, checked minimal, mdi, docview samples.
137
138 Alpha 3, September 1997
139 -----------------------
140
141 - wxListCtrl, wxTreeCtrl, wxImageList classes done.
142 - Instigated new file hierarchy, split files and classes up more logically.
143 - PrologIO and some other utils now put into core library.
144 - Revamped print/preview classes, added wxPageSetupDialog.
145 - Started documentation.
146
147 Alpha 2, 30th April 1997
148 ------------------------
149
150 - EVT_... macros now have at least one argument, for conformance
151 with MetroWerks compiler.
152 - Added ids to .wxr file format.
153 - Got Dialog Editor compiled and running again but need
154 to extend functionality to be in line with new controls.
155 Added dialoged\test app to allow dynamic loading of .wxr files
156 for testing purposes.
157 - Rewrote wxBitmap to allow installable file type
158 handlers.
159 - Rewrote wxBitmapButton, wxStaticBitmap to not use Fafa.
160 - Wrote most of wxTreeCtrl and sample (need wxImageList to implement it
161 fully).
162 - Added back wxRadioBox.
163 - Tidied up wx_main.cpp, wxApp class, putting PenWin code in
164 a separate file.
165
166 Alpha 1, 5th April 1997
167 -----------------------
168
169 At this point, the following has been achieved:
170
171 - A lot, but not all, of the code has been revamped for better
172 naming conventions, protection of data members, and use of
173 wxString instead of char *.
174 - Obsolete functionality deleted (e.g. default wxPanel layout,
175 old system event system) and code size reduced.
176 - Class hierarchy changed (see design doc) - base classes such
177 as wxbWindow now removed.
178 - No longer includes windows.h in wxWin headers, by using stand-in
179 Windows types where needed e.g. WXHWND.
180 - PrologIO revised.
181 - wxScrolledWindow, wxStatusBar and new MDI classes added.
182 MDI is now achived using separate classes, not window styles.
183 - wxSystemSettings added, and made use of to reflect standard
184 Windows settings.
185 - SetButtonFont/SetLabelFont replaced by SetFont; font and colour
186 settings mucho rationalised.
187 - All windows are now subclassed with the same window proc to make
188 event handling far more consistent. Old internal wxWnd and derived
189 classes removed.
190 - API for controls revised, in particular addition of
191 wxValidator parameters and removal of labels for some controls.
192 - 1 validator written: see examples/validate.
193 - Event table system introduced (see most samples and
194 wx_event.cpp/ProcessEvent, wx_event.h). wxEvtHandler
195 made more flexible, with Push/PopEventHandler allowing a chain
196 of event handlers.
197 - wxRadioBox removed - will be added back soon.
198 - Toolbar class hierarchy revised:
199 wxToolBarBase
200 wxToolBarSimple (= old wxToolBar)
201 wxToolBar95 (= old wxButtonBar under Win95
202 wxToolBarMSW (= old wxButtonBar under WIN16/WIN32)
203 - Constraint system debugged somewhat (sizers now work properly).
204 - wxFileDialog, wxDirDialog added; other common dialogs now
205 have class equivalents. Generic colour and font dialogs
206 rewritten to not need obsolete panel layout.
207 - .wxr resource system partially reinstated, though needs
208 an integer ID for controls. Hopefully the resource system
209 will be replaced by something better and more efficient
210 in the future.
211 - Device contexts no longer stored with window and accessed
212 with GetDC - use wxClientDC, wxPaintDC, wxWindowDC stack
213 variables instead.
214 - wxSlider uses trackbar class under Win95, and wxSL_LABELS flag
215 determines whether labels are shown. Other Win95-specific flags
216 introduced, e.g. for showing ticks.
217 - Styles introduced for dealing with 3D effects per window, for
218 any window: all Win95 3D effects supported, plus transparent windows.
219 - Major change to allow 3D effect support without CTL3D, under
220 Win95.
221 - Bitmap versions of button and checkbox separated out into new
222 classes, but unimplemented as yet because I intend to remove
223 the need for Fafa - it apparently causes GPFs in Win95 OSR 2.
224 - utils/wxprop classes working (except maybe wxPropertyFormView)
225 in preparation for use in Dialog Editor.
226 - GNU-WIN32 compilation verified (a month or so ago).
227
228