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