source: branches/vendor/trolltech/qt/current/changes-4.5.1 @ 2

Last change on this file since 2 was 2, checked in by Dmitry A. Kuminov, 12 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 21.2 KB
Line 
1Qt 4.5.1 is a bug-fix release. It maintains both forward and backward
2compatibility (source and binary) with Qt 4.5.0.  For more details,
3refer to the online documentation included in this distribution. The
4documentation is also available online:
5
6  http://doc.trolltech.com/4.5
7
8The Qt version 4.5 series is binary compatible with the 4.4.x series.
9Applications compiled for 4.4 will continue to run with 4.5.
10
11Some of the changes listed in this file include issue tracking numbers
12corresponding to tasks in the Task Tracker:
13
14  http://www.qtsoftware.com/developer/task-tracker
15
16Each of these identifiers can be entered in the task tracker to obtain more
17information about a particular change.
18
19****************************************************************************
20*                           General                                        *
21****************************************************************************
22
23General Improvements
24--------------------
25
26- Documentation and Examples
27   * Added printing feature for the Spreadsheet demo.
28   * [245675] Clarified the differences between QItemDelegate and
29     QStyledItemDelegate.
30   * [248752] Marked QPrintDialog::printer(), setPrinter() and addButton()
31     as Unix only functions, part of Qt3Support.
32
33- Embedded Dialogs demo
34   * [246517] Fixed warnings and bugs in hover handling on Mac OS X
35
36
37Optimizations
38-------------
39
40- Graphics View Framework has been optimized in several areas
41   * Improved the performance of QGraphicsItem::clipPath().
42   * Improved the performance of QGraphicsItem::setPos().
43   * Improved the performance of QGraphicsItem::effectiveOpacity().
44   * Improved the performance of QGrahicsScene::items(*).
45   * Improved handling of updates.
46   * Reduced the number of floating point operations.
47   * Reduced QVariant overhead.
48
49Third party components
50----------------------
51
52
53****************************************************************************
54*                          Library                                         *
55****************************************************************************
56
57- QAbstractItemModel
58   * Clarified some warning messages printed if the model is invalid.
59
60- QAbstractEventDispatcher
61   * [248805] Duplicate timerids could occur if a timer is running while the
62     QObject is moved to another thread, stopping timers from working.
63
64- QAbstractSocket
65   * [192037] Emit the disconnected signal only if we were connected before.
66
67- QAccessible
68   * [221731] Fixed a bug where the accessibility plugin could crash if
69     there was an "&" at the end or spin forever if a label had a sequence of
70     "&&".
71   * [241161] Fixed a bug in browsing menus with the keyboard.
72
73- QAtomicInt
74   * [216492] Fixed compilation on 64-bit PowerPC machines with gcc 4.3.
75
76- QAuthenticator
77   * [237979] Fixed implementation of md5-sess.
78
79- QByteArray
80   * [246233] QByteArray::fromHex() fails with input of size 1.
81
82- QColorDialog
83   * [247349] Fixed a bug causing the wrong alpha value to be returned.
84
85- QCombobox
86   * [248094] Fixed scrollbar from appearing when not required.
87
88- QCompleter
89   * [246056] Fixed an assertion failure in setCompletionPrefix().
90   * [250064] Fixed a regression in focus policy propagation.
91
92- QtConcurrent
93   * [244718] Reduced the number of calls to QThread::idealThreadCount().
94
95- QDirIterator
96   * [247645] Fixed a bug that may loose all cached data inside QFileInfo.
97
98- QFile
99   * [244485] Renaming a file does not change QFile::fileName().
100   * [244500] QFile::rename() does not always return false when the method
101     fails
102
103- QFileInfo
104   * [205244] Return valid file info also for relative UNC paths.
105
106- QFileDialog
107   * [221323] Fixed a bug in QFileDialog's programmatical file selection.
108   * [248332] QFileDialog is slow after visiting a large directory.
109   * [250194] Fixed an issue with QFileDialog and QSortFilterProxyModel
110     index mapping.
111
112- QGLFramebufferObject
113   * Framebuffer object extension resolution now works with OpenGL/ES 2.0.
114
115- QGraphicsItem
116   * Fixed a slow down regression in QGraphicsItem::ItemCoordinateCache.
117   * [247890] Cached QGraphicsItems are not updated if update() is called
118     when they are hidden.
119   * [250272] Fixed a crash that could occur when an item is deleted but
120     it does not get removed from the sceneeventfilters.
121
122- QGraphicsGridLayout
123   * [242472] Fixed a bug where the calculation of the maximum width of a
124     column was incorrect.
125
126- QGraphicsScene
127   * [243707] Fixed a crash when adding a child before a parent to the
128     scene.
129
130- QGraphicsView
131   * [245766] Rubber Band drag mode does not update correctly when
132     scrolling.
133
134- QGraphicsWidget
135   * [246215] Fixed a regression where we could cache the wrong size hint
136     because we called the virtual sizeHint() from the constructor.
137
138- QHttp
139   * Compile fixes for QT_BEGIN_NAMESPACE being in the wrong place in some
140     private headers.
141   * [208445] Cancel request upon receiving unknown authentication method.
142
143- QHostAddress
144   * [247330] Fixed compilation on MinGW by adding a missing QPair include.
145
146- QLocalSocket
147   * Fixed a bug that would cause QLocalSocket to disconnect 30 seconds
148     after a succesful delayed connection on UNIX.
149
150- QMacStyle
151   * Adjusted the opacity value for popups.
152   * [248769] Fixed a regression where QMacStyle would only draw tabs when
153     passed a QStyleOptionTabV3.
154
155- QMainWindow
156   * [248048] Fixed a regression that would cause tooltips to disappear when
157     using the unified toolbar.
158
159- QMetaType
160   * [248890] The detailed description of QMetaType no longer contradicts
161     the documentation of QMetaType::type()
162
163- QMutex
164   * Fixed a performance regression for contended mutexes as reported on the
165     qt4-preview-feedback list.
166
167- QPainter
168   * Compile fixes for OpenGL paint engine on OpenGL/ES 1.1 CommonLite and
169     OpenGL/ES 1.0.
170   * [246573] Fixed a very slow stroking of paths in the X11 paint engine.
171   * [247083] Fixed the scale applied to antialiased cosmetic pens in X11
172     paint engine.
173   * [247492] Fixed a rendering bug in the raster paint engine causing
174   * [247505] Fixed missing fills of rectangles with negative width/height
175     in raster paint engine.
176     one-pixel offset when drawing premultiplied ARGB32 images on RGB16
177     images.
178   * [249490] Fixed one-pixel offset between stroke and fills of ellipses in
179     the X11 paint engine.
180   * [249628] Fixed a crash in OpenGL paint engine when filling using
181     Qt::NoBrush.
182
183
184- QPixmap
185   * [249175] Fixed QPixmap::fromImage() of monochrome images to result in
186     black/white pixels and not transparent/white pixels.
187
188- QProcess
189   * [247865] Fixed a crash when calling QProcess::start() and
190     startDetached() with an empty program string.
191
192- QScrollBar
193   * [247985] Stylesheet: added the feature to style scrollbar menus.
194
195- QSharedPointer
196   * [246843] Fixed a crash caused by using QSharedPointer in global statics.
197
198- QSortFilterProxyModel
199   * [247867] Properly sort when calling appendRows().
200   * [248868] Re-sort when the model is reset if dynamicSort is enabled.
201   * [248868] Fixed QSortFilterProxyModel::sort() if dynamicSort was disabled.
202
203- QSSlSocket
204   * [245668] Set also protocol, verifyMode and verifyDepth in
205     setSslConfiguration().
206
207- QString
208   * [249517] Fixed a regression in replace(int, int, QChar) when the string
209     is empty.
210
211- QStyleSheetStyle
212   * Improved support for setting background and foreground roles in styles
213     such as the text color in a combo box popup on Mac and Cleanlooks, or
214     the background of QScrollBar.
215   * Fixed a crash that occured while styling the title bar of a QMdiArea.
216   * [188195] Fixed the background of QAbstractScrollArea losing its color
217     if styled with pseudo-class.
218   * [246542] Fixed a bug in QToolButton::hover{ color:.... }.
219
220- QThread
221   * [249997] Added documentation indicating that the priority set by the
222     programmer may be ignored, for example on Linux.
223
224- QTreeView
225   * Fixed a crash that may occur when events are processed immediately
226     after a QSortFilterProxyModel is invalidated.
227   * [246025] Fixed auto-expand that occured when quickly collapsing an item
228     after clicking on a child.
229   * [248163] Fixed a possible crash in the paintEvent() when spans are used.
230   * [248805] Calling QTreeView::sortByColumn() programmatically was not
231     working if manual sorting was disabled.
232
233- QWidget
234   * [250388] Fixed a potential crash in QWidget::scroll() when using the
235     raster graphics system.
236
237- QWidget
238   * [246852] Improved handling of WindowMaximizeButtonHint for widgets with
239     layouts.
240
241-QLocale
242   * String-to-number conversion functions will now ignore trailing and
243     leading whitespaces in all locales as documented.
244
245- QWizard
246   * [248107] Fixed a bug on Windows Vista causing the Back button to
247     connect to the back() signal twice.
248
249- Q3ListView
250   * [248689] Fixed a bug in Q3ListView that would not update under certain
251     conditions.
252
253- QtWebKit
254   * Fixed a bug in cookie handling (WebKit Bugzilla 24062, Benjamin Meyer).
255   * Fixed a bug in calling from JavaScript into NPAPI plugins on Windows.
256   * Fixed the updating state of WebActions (Erik Bunce)
257   * Fixed a bug in HTML 5 Canvas clearRect() (Dirk Schulze)
258   * Fixed the theming of text fields with KDE 4 Oxygen style (Zack Rusin)
259   * Fixed path fill styles (Zack Rusin)
260   * Fixed pre-edit text handling with input methods.
261   * [248643] Fixed compiling with the "-pedantic" compile option.
262
263- QSqlTableModel
264   * Made setTable() try and use the database's letter case (uppercase/
265     lowercase)  of the given tablename.
266   * [189093] QSqlTableModel did not handle updates when one of the fields
267     had a NULL value.
268
269****************************************************************************
270*                          Database Drivers                                *
271****************************************************************************
272
273   * Fixed the DB2 driver returning a double field as empty.
274   * Fixed a memory leak in the DB2 driver.
275   * Fixed the DB2 driver not quoting table/field names properly.
276   * Fixed an issue with ODBC & FreeTDS not accepting quotes in statements.
277   * Fixed a bug in the sqlite2 driver not returning false on failing to
278     execute a statement.
279   * PrecisionPolicy now works in the oracle driver.
280   * Fixed a bug in the ODBC driver returning a list of tables when
281     requested.
282   * Fixed Interbase retrieving scale/precision information on numeric/
283     decimal fields.
284   * Stopped drivers from quoting again when escapeIdentifier is called
285     twice.
286   * Fixed a bug in the sqlite2 driver not quoting fields correctly.
287   * [232769] Fixed a memory overflow issue on bound out strings in ODBC
288     Driver
289   * [249059] Fixed a bug that handled QPSQL datetime/time fields with
290     negative timezone offsets incorrectly.
291
292****************************************************************************
293*                      Platform Specific Changes                           *
294****************************************************************************
295
296Qt for Linux/X11
297----------------
298
299   * Ensured proper resetting for input contexts when switching between
300     multiple input context plugins.
301   * Input methods preedit strings are now reset properly when user switches
302     focus without commiting a string.
303   * Unicode conversion functions will handle Latin-1 character set only if
304     they are used before a QCoreApplication/QApplication is constructed.
305   * Improved handling of failed unicode conversion.
306   * Fixed clipboard handling when the user manually creates an instance of
307     the QDesktopWidget.
308   * [226048] Ensured that the QDesktopWidget::resized() signal is emitted
309     properly when a new screen appears or the screen geometry is changed
310     without affecting the whole desktop's geometry.
311   * [232632] Fixed a bug in reparenting widgets to a difference X11 screen.
312   * [241888] The background of the drag-n-drop cursor is now respected,
313     according to the stylesheet.
314   * [244337] Improved input method handling when a widget's native window
315     id is recreated.
316   * [244607] Current focus widget is properly set and input method is
317     properly initialized when showing a toplevel widget that accepts
318     keyboard input.
319
320- Phonon/GStreamer
321   * [233188] Fixed a problem where the seek slider reset to 0 while being
322     dragged.
323   * [244259] Fixed a problem where the backend failed to indicate an error
324     when the streaming failed.
325   * [246097] Added support for the MediaController interface to allow audio
326     CD playback.
327   * [246189] Fixed a problem where the backend failed to correctly escape
328     certain file names casuing playback to not start.
329
330
331- QGtkStyle
332   * The system palette is no longer strictly forced. Also improved behavior
333     related to system theme changes.
334   * Fixed palette and styling issues with the background color of combo box
335     popups.
336   * [238196] Allowed middle click to set scrollbar position, following GTK+
337     behavior.
338   * [239829] Disabled alt-key navigation for QGtkStyle following GTK+
339     behavior.
340   * [247653] Fixed a compilation issue on Solaris.
341   * [249363] QFrame is now styled as a GtkScrolledWindow.
342
343- Font rendering
344   * Improved performance of subpixel antialiased text rendering by using a
345     mask in the calls to XRender's text compositing function.
346   * [248387] Properly respect the font config LCD filter settings for
347     subpixel antialiased text rendering when Freetype's native subpixel
348     rendering is disabled.
349   * [248498] Fix garbled rendering of subpixel antialiased text when using
350     Freetype's native subpixel rendering for vertical subpixel layouts.
351   * [248644] Fall back to Qt's subpixel rendering if Freetype's subpixel
352     rendering was available at compile-time but not at run-time.
353
354- QEventDispatcherGlib
355   * Event posted to a thread before it is started are not processed until
356     others events are posted.
357
358- QWidget
359   * [213512] Fixed a bug that caused wrong clipping when using the
360     Qt::WA_PaintOutsidePaintEvent attribute.
361
362
363Qt for Windows
364--------------
365
366   * [240891] Corrected the focus behavior of native file dialogs, when an
367     application has multiple toplevel widgets.
368   * [243583] Improved drag-and-drop handling when switching mouse buttons
369     quickly.
370   * [244875] The system menu will now be shown for a fullscreen  window.
371   * [245330] Fixed a bug that caused mouse inputs to be ignored on modal
372     dialogs, when shown from an ActiveQt control.
373   * [249576] Fixed a crash when using a combobox with Qt::NoFocus.
374
375
376- QCoreApplication
377   * [247401] Fixed a bug that caused a restarted timer to fire too early,
378     resulting in QtWebKit's Javascript consuming 100% CPU on Windows.
379- QWindowsXPStyle
380   * [248036] Fixed an issue where tool buttons were hovering incorrectly
381     when disabled.
382
383- QWidget
384   * [248391] Fixed a bug that made it impossible to dynamically switch from
385     QPainter-based graphics to native graphics API and back.
386
387
388Qt for Mac OS X
389---------------
390
391   * Fixed a crash when showing a widget that is a modal window but has no
392     parent.
393   * Added QSysInfo::MV_10_6 as an enum to test against.
394   * Various compile fixes for the preliminary supported Snow Leopard.
395   * The uninstall-qt.py script included in the binary package no longer
396     complains about removing itself multiple times.
397-  * Improved the documentation for how qt_mac_set_dock_menu() works.
398   * Fixed an issue with the focus frame's transparency as it was difficult
399     to use the QWidget with stylesheets.
400   * [223525] Fixed a crash in the MacMainWindow Demo.
401   * [248803] Ensured that two dialogs shown at the same time will both not
402     have visible default buttons.
403
404- QDesktopWidget
405   * [244004] Properly support multiple screens with different sizes.
406
407- QDialog
408   * [195904] Parent dialog is displayed on top of its modal child.
409   * [218980] Modeless dialogs should be stacked above normal windows.
410   * [239155] QDialog(foo, Qt::Sheet) with QComboBox has non-native
411     behavior.
412
413- QFileDialog
414   * [219844] Fixed a crash caused by QFileDialog::getOpenFileName()'s
415     search buttons (native version).
416   * [225705] QFileDialog::getSaveFileName()'s filter does not display
417     correctly.
418
419- QMenu
420   * [228017] Ensured that QMenu closes when expanding a system menu.
421
422- QTestLib
423   * Activate the test application when launched from the command line.
424
425- Event system
426   * [210912] Fixed a bug where ShowEvent not sent when reshowing a window
427     after it was minimized.
428
429- macdeployqt
430   * The binary packages now include this tool.
431   * macdeployqt now runs 'strip' on the deployed binaries.
432   * Fixed an issue that prevented the QtSvg module from being deployed.
433
434- configure script
435   * Now supports "-arch i386" as an alias for "-arch x86".
436   * Detects invalid arch arguemnts and exits.
437
438- Cocoa port
439   * Fixed a bug where actions in the native menubar were not disabled
440     properly.
441   * Made shortcuts work properly when using the Dvorak-QWERTY+CMD keyboard
442     layout.
443   * Fixed a bug where dialogs were positioned in the wrong place on the
444     screen.
445   * The build-key for Cocoa was changed in the unlikely case that a plugin
446     may make assumptions on how Qt was built. All Cocoa plugins built
447     against Qt 4.5.0 will NOT work with Qt 4.5.1; we do not foresee
448     changing this again.
449   * Fixed a bug where some windows did not get activation when they
450     normally should.
451   * Fixed a bug where key events sent to popups were not propagated
452     onwards.
453   * QFileOpenEvents will no longer be sent for items passed via command
454     line.
455   * Various fixes for determining the metrics of text and the ability to
456     disable kerning.
457   * Modified the Colliding Mice Example to work better with coalesced
458     updates.
459   * Fixed a bug where the drag cursor was not updated when modifier keys
460     were used.
461   * [239043] Fixed a bug that caused QGraphicsProxyWidget to shrink when
462     moved.
463   * [244369] Window flags on Cocoa windows should look similar to the
464     Carbon ones.
465   * [247947] Fixed a crash in drag and drop.
466   * [248918] Fixed color matching for themed text items.
467   * The command + h shortcut is now enabled. (Hides the current window.)
468   * [249296] Fixed a bug where line edits on a second page of a stack
469     widget were not getting key events.
470
471Qt for Embedded Linux
472---------------------
473
474-  * Various improvements to the Qt DirectFB plugin.
475   * Fixed recreation of temporary EGL surfaces in the PowerVR QScreen
476     driver.
477-  * Document some necessary #define's for building the PowerVR QScreen
478     driver.
479
480Qt for Windows CE
481-----------------
482
483   * [246619] Fixed a tap and hold bug for QCheckbox.
484
485****************************************************************************
486*                      Compiler Specific Changes                           *
487****************************************************************************
488
489
490****************************************************************************
491*                          Tools                                           *
492****************************************************************************
493
494- Build System
495
496- Assistant
497
498
499- Designer
500   * [245503] Fixed redundant backslashes in string property in the property
501     browser.
502   * [245961] Restricted objectname-validation to known object name
503     properties only.
504   * [247995] Fixed a crash occurring after layout operations that caused
505     an instance of QGridLayout or QFormLayout to shrink.
506   * [248000] Fixed a crash ocurring when re-layouting empty grid layouts.
507   * [249097] Fixed a crash related to undoing a QGridLayout re-layout
508     operation.
509
510- Linguist
511
512  - Linguist GUI
513
514     * [248076] Fixed a crash caused by opening files for which we have no
515       plural rules.
516     * [249519] Fixed a crash upon dropping text into a non-focused line
517       edit.
518
519  - Entire Linguist toolchain
520
521     * [244035] Fixed an infinite loop in PO writer.
522     * [247738] Improved handling of duplicated messages.
523     * [248849] Fixed the encoding in XLIFF writer.
524     * [249022] Fixed TS' and QM's handling of messages which appear in
525       multiple encodings.
526
527  - lupdate
528
529     * [248724] Fixed the encoding of messages from .ui files if CODECFORTR
530       is not utf8.
531     * [249633] Fixed the processing of C++ backslash line continuations.
532
533- rcc
534
535
536- moc
537   * [240368] moc parsing issue with "unsigned" subphrase
538
539- uic
540   * [244998] Fixed include file generation for phonon widgets.
541   * [248070] Fixed code generation for QStringList-type properties to use
542     encoding properly.
543   * [242447] Made uic generate class-specific code correctly in the case of
544     multiple levels of inheritance.
545
546- uic3
547
548
549- qmake
550   * On Mac OS, properly escape file names in QMAKE_BUNDLE_DATA.
551   * Fixed moc and uic features to make shadow builds work even if a
552     non-shadow build is present
553   * [201495] Comment processing in qmake prevented file from being moc'ed
554   * [248806] Ensured that the Xcode generator includes the right path to
555     frameworks.
556
557- configure
558
559
560- qtconfig
561
562
563- qt3to4
564
565
566****************************************************************************
567*                          Plugins                                         *
568****************************************************************************
569
570
571****************************************************************************
572*                   Important Behavior Changes                             *
573****************************************************************************
574
Note: See TracBrowser for help on using the repository browser.