Fixed potential use of uninitialized variable in qgl.cpp
[profile/ivi/qtbase.git] / dist / changes-3.0.0-beta6
1 Qt 3.0 Beta6 is not binary compatible with Beta5; any programs linked
2 against Beta5 must be recompiled.
3
4 Below you will find a description of general changes in the Qt
5 Library, Qt Designer and Qt Assistant.  Followed by a detailed list of
6 changes in the API.
7
8
9 The Qt Library
10 ========================================
11
12 QCom postponed
13 --------------
14
15 Previous Qt 3.0 betas introduced a module called QCom that provides a
16 COM-like component system. The feedback we received on this module
17 during the 3.0 beta phase has been mixed. Many users think this module
18 lacks the intuitiveness and compactness that they have learned to
19 expect from a Qt API. Therefore, we have made the difficult decision
20 to withdraw the QCom API from the Qt 3.0 release. We will continue to
21 develop this API until it is evolved enough for our customers, and
22 will include the improved version in a later release.
23
24 We apologize for any inconvenience the QCom API change has
25 caused. This decision was made as part of our ongoing efforts to
26 maintain the soundness and quality of Qt.
27
28 Please note that the new plugin functionality in 3.0 will still be
29 provided. This includes using custom widgets in Qt Designer, as well
30 as runtime addition of styles, codecs, SQL drivers, and image format
31 handlers. This functionality is now available through a substantially
32 simplified API.
33
34 Also also note that it will still be convenient to add custom plugin
35 capabilities to Qt 3.0 applications, since the new QLibrary class will
36 still be available. This class takes care of the low-level,
37 platform-dependent issues regarding loading of DLLs and obtaining
38 pointers to the functions exported by the DLLs.
39
40
41 Qt Designer
42 ========================================
43
44  - Improvements to the Designer reference manual.
45
46  - Improved the C++ code indenter in the editor for numbers and
47    handling of parenthesis.
48
49
50 Qt Assistant
51 ========================================
52
53  - Added a context menu with common commands.
54
55  - Allow multiple windows to be opened and added the common shortcut
56     that Shift+Click on a link opens the link in a new window.
57
58
59 Qt Functions
60 ========================================
61
62 QAccel
63 ------
64
65  - Try harder to ensure that accelerators continue to work when a top
66    level widget is reparented into another window.
67
68 QColor
69 -----
70
71  - X11 only: better heuristic to decide if you use black or white when a
72    color could not be allocated.
73  - win32 only: improve color allocation on 8bit displays, e.g. when
74    using a terminal server.
75
76 QComboBox
77 ---------
78
79  - Added a new function to be able to set a custom line edit.
80
81 New function:
82         virtual void setLineEdit( QLineEdit *edit );
83
84 QCString
85 --------
86
87  - Implemented a dummy out-of-line destructor for QCString to help the
88    compiler to optimize the number of conflicts as the location of a vtable
89    is now known.
90
91 QCursor
92 -------
93
94  - win32 only: Added a constructor that takes a platform specific handle.
95
96 New function:
97         QCursor( HCURSOR ); (win32 only)
98
99 QDateTime and QDateTimeEdit
100 ---------------------------
101
102  - win32 only: better handling of localization settings.
103
104 QDockWindow
105 -----------
106
107  - Remeber last size of an undocked window, so when it is docked and
108    undocked again, use this size again.
109
110 QDom
111 ----
112
113  - Fixed an infinite loop in QDomDocument::toString().
114
115 QFileDialog
116 -----------
117
118  - Improved handling of "~" to make it work as a directory.
119
120 QFileInfo
121 ---------
122
123  - win32 only: permissions respects the read-only attribute now.
124
125 QIconView
126 ---------
127
128  - Added a function to find out whether an item in a view is currently
129    being renamed.
130  - Fixed a crash.
131
132 New function:
133         bool isRenaming() const;
134
135 QInputDialog
136 ------------
137
138  - Improved the handling of double input formats.
139
140 QListView
141 ---------
142
143  - Added a function to find out whether an item in a view is currently
144    being renamed.
145  - Fixed a possible infinite loop.
146  - Improved spacing handling for columns that can show a sort indicator.
147
148 New function:
149         bool isRenaming() const;
150
151 QMainWindow
152 -----------
153
154  - Make menuAboutToShow() protected to allow customized dock menus.
155  - Fixed spacing problem for menu bars.
156
157 QMap
158 ----
159
160  - Fixed infinite looping in count( const Key& k ).
161
162 QObject
163 -------
164
165  - The slot deferredDelete() was renamed to deleteLater() to be more
166    intuitive. Code that used deferredDelete() has to be adjusted for the
167    new name.
168
169 New function:
170         void deleteLater();
171
172 QPainter
173 --------
174
175  - Fixed bounding rectangle when printing richtext.
176  - Restore brush origin in QPainter::restore().
177
178 QPixmap
179 -------
180
181  - X11 with render extension only: better support for alpha blending:
182     - QPixmap::xForm() keeps now the alpha channel information
183     - alpha channel information is kept when copying QPixamps
184     - alpha blending works with QMovie
185     - tiling pixmaps with alpha channel works now
186
187 QPrinter
188 --------
189
190  - Unix only: fixed dashed line drawing when using high resolution
191    printing.
192  - Better printing detection on Irix.
193
194 QRadioButton
195 ------------
196
197  - Fixed focus problem for radio buttons in a button group.
198
199 QSqlCursor
200 ----------
201
202  - Fixed primeInsert() to work if the primary key of the edit buffer has
203    changed.
204  - Changing primary index keys now also works if the cursor's position
205    moved in the meantime.
206
207 QStyle
208 ------
209
210  - Added a base value (CC_CustomBase) for custom defined primitives,
211    controls, etc. -- this allows custom widgets to use the new style
212    engine.
213  - Fixed spacing problem for custom menu items.
214  - Improved the look of the Motif plus and the SGI style.
215
216 QTable
217 ------
218
219  - Fixed a crash when drag source is the current table editor widget.
220  - Fixed a bug that prevented having different colors in different cells.
221
222 QTabletEvent
223 ------------
224
225  - Improved Watcom tablet support to allow multiple devices to be used.
226
227 QTextEdit
228 ---------
229
230  - Better handling for font sizes in the font tag.
231  - Parse the qt tag again.
232  - Fixed text() for read-only documents.
233  - Improved right mouse button menu handling.
234  - New function to pass the position to the createPopupMenu() function for
235    improved flexibility.
236
237 New function:
238         virtual QPopupMenu *createPopupMenu( const QPoint& pos );
239
240 QThread
241 -------
242
243  - Unix only: Make sure that the seconds and nano-seconds in the sleep
244    functions are within the limits.
245
246 QUrlInfo
247 --------
248
249  - Added the concept of invalid QUrlInfo objects. This is useful in
250    conjunction with QUrlOperator::info().
251
252 New function:
253         bool isValid() const;
254
255 QWizard
256 -------
257
258  - Set the previous pages nextEnabled to TRUE if we add a page to the end
259    of a wizard.
260
261 QWMatrix
262 --------
263
264  - mapRect() returns always a valid QRect now.
265
266 QWorkspace
267 ----------
268
269  - Update the titlebar when toggling shaded/non-shaded.
270  - Update the titlebar to be deactivated when the application's activation
271    status changes.
272  - Improve placement of document windows.