Define QT_OPEN_LARGEFILE on Symbian + WinCE
[qt-netbsd.git] / dist / changes-4.4.2
blobc4403754c1b677bca542f97bbd99d8a65b7aedf8
1 Qt 4.4.2 is a bug-fix release. It maintains both forward and backward
2 compatibility (source and binary) with Qt 4.4.1 and 4.4.0.
4 The Qt version 4.4 series is binary compatible with the 4.3.x series.
5 The Qt for Embedded Linux version 4.4 series is binary compatible with
6 the Qtopia Core 4.3.x series. Applications compiled for 4.0, 4.1, 4.2,
7 and 4.3 will continue to run with 4.4.
9 Some of the changes listed in this file include issue tracking numbers
10 corresponding to tasks in the Task Tracker:
12   http://qt.nokia.com/developer/task-tracker
14 Each of these identifiers can be entered in the task tracker to obtain
15 more information about a particular change.
17 ****************************************************************************
18 *                           General                                        *
19 ****************************************************************************
21 General Improvements
22 --------------------
24 Third party components
25 ----------------------
29 ****************************************************************************
30 *                          Library                                         *
31 ****************************************************************************
33 QtCore
34 ------
36 - QVariant
37     * [220112] correct documentation with respect to conversions
38     involving QTime.
40 - QHash
41     * [215348] Document that uniqueKeys() doesn't sort its keys.
43 - QFlags
44     * [221702] Fix QFlags::testFlag gives a surprising result on enums with
45     many bits.
47 - QLibrary
48     * [219456] Fix QLibrary problems on Windows, loading the C runtime library
49     without a manifest.
51 - QDataStream
52     * Fixed storing a QPalette into a stream with a version older than Qt_2_1
54 - QtConcurrent
55     * [221671] Fixed filtered() compile error when using filter functions that
56       takes its argument by const reference.
57     * [220804] Fix several compile errors with STL containers.
58     
59 - QThreadPool
60     * [215365] The Q[Core]Application destructor now waits for all QThreadPool
61       threads to finish. This fixes ussues when unloading the Qt dlls on windows
62       as well as when using Qt features that need on a QApplication instance
63       in a worker thread.
64 QtGui
65 -------------
67    * [215794] setWindowFilePath() didn't update window title until the
68      window is resized.
69    * [212316] Window position changed when setWindowFlags was called.
70    * [223814] Fixed a crash in QDockWidget when the docking window was
71      closed during the dock animation.
72    * [223339] Fixed a crash when a pop-up widget had the
73      WA_DeleteOnClose attribute.
75    * [214742, 205222] QFormLayout - fix nested QFormLayouts expanding
76      unnecessarily.
77    * [217123] Fixed a regression in QWidgetItem::setGeometry() that made an item
78      with both an Alignment and QSizePolicy::Ignored set got squeezed down to
79      a size of 0.
81 - QCDEStyle
82    * [220803] Improved the contrast of CE_RubberBand when painted on top of a dark background.
84 - QPlastiqueStyle
85    * [312723] Fixed broken painting on QSpinBox when using NoButtons.
87 - QGraphicsEllipseItem
88    * [207826] setStartAngle() and setSpanAngle() now call
89      prepareGeometryChange(), removing rendering artifacts.
91 - QGraphicsLinearLayout
92    * [218400] Fix crash when assigning a layout with stretches to a widget.
94 - QGraphicsView
95    * [216741] Fix QGraphicsView::DontSavePainterState (regression to 4.3)
97 - QGraphicsWidget
98    * [215417] Fixed setting the correct layoutDirection on the painter before
99      we called QGraphicsWidget::paint.
101 - QMdiArea
102    * [221527] Fixed a bug where the [*] placeholder was not updated correctly in tabbed view mode.
104 - QMdiSubWindow
105    * [214964] Tooltips in children of the subwindow closed too fast
107 - QMessageBox
108    * [221721] Fix crash when trying to obtain the default value for QMessageBox::iconPixmap().
110 - QSplitter
111    * [214480] Improve docs on how the effective stretch facors are calculated.
113 - QTextEdit
114    * [214956] Fix painting problems with text in floating frames
115    * [215192] Fix HTML alignment in QLabels with RTL
116    * [213259] Fix to handle ShortcutOverride for Ctrl+Shift+Right
118 - QTextCursor
119    * [214457] Fix assert when deleting empty cells
120    * [210496] Fix the usecase that  QTextCursor::select( QTextCursor::LineUnderCursor )
121      doesn't work when the text has not been layed out yet
123 - QTextDocument
124    * [207779] Fix HTML import of page-breaks on empty lines to not get lost
125    * [212848] Fix  FullWidthSelection to work if LineWrapMode set to NoWrap
126    * Fixes the positioning of bullets to always honor the text direction
128 - QWidget
129    * [219446] Fixed a bug where calling repaint() before QApplication::exec() did not
130      invoke a paintEvent().
132 QtScript
133 --------
135     * [219126] Fixed bug that caused the decimal point to appear in
136     the wrong position when converting a number with a negative
137     exponent to a string.
139 QtGui
140 -----
142 - QDateTimeEdit
143     * [220926] QDateTimeEdit::textFromDateTime: valueFromText vs. date
144     TimeFromText -- clarify documentation
146 - QTimeEdit
147     * [215426] Fixed a typo in the declaration of a Q_PROPERTY
149 - QPainter
150     * [216948] Fix one-pixel shifting of integer lines in raster paint
151       engine when current matrix has negative dx or dy.
152     * [218682] Fixed bug in QBitmap::fromData that could cause the bitmaps
153       to turn completely black on Windows and Embedded Linux.
154     * [220544] Fix issue in Freetype font engine where painting text using
155       the same font and transform on both images and pixmaps would result in
156       text not being transformed or not shown at all.
157     * [222520] Fixed issue in raster paint engine where StretchToDevice
158       mode for gradients wasn't respected.
159     * [222848] Prevent potential crash on NaN in qt_curves_for_arc()
160       when drawing squiggly underlined text.
162 - QBrush
163    * [215090] Avoid "QPixmap created outside the GUI thread" warning when
164      creating a QImage based brush.
166 - QFileDialog
167     * [223813] Prevent an assert when "Shift + C" was pressed if the directory
168       set was "C:/".
169 - QImage
170     * [215985] Reduce memory usage in TIFF import/export to avoid failing
171       due to out-of-memory errors on large images.
172     * [217101] Make sure QImage::setPixel() doesn't call detach twice, to
173       improve the performance a bit.
175 - QPicture
176     * [215227] Fixed a problem that could occur when drawing a QPicture to a
177       QImage or QPixmap due to differing device DPIs.
179 - QPixmap
180     * [214340] Prevent QPixmap::scaled() from leaving white lines at right/lower
181       edges in some cases.
182     * [214344] Make QPixmap::transformed() work correctly with perspective
183       transforms.
184     * [214855] Make sure QPixmap::transformed with a 90-degree rotation transform
185       doesn't increase the size of the pixmap.
186     * [215190] Fixed crash on Windows and Embedded Linux due to QPixmap::detach()
187       not detaching the underlying QImage.
188     * [216648] QPixmap turned a QBitmap into a 32 bit QPixmap
189       when QPixmap::resize() was called on the QBitmap.
191 - QMatrix
192     * [198791] Fixed bug in QMatrix::map(const QPolygon &) causing a behavioral
193       difference from Qt 3's QWMatrix.
195 * Fixed bugs in QPolygon to QRegion conversion causing to many rectangles to be
196   generated.
198 * [206138] Fix unaligned double access in src/corelib/global/qnumeric_p.h
200 * [216189] Fix a crash when calling QObject::dumpObjectInfo() after
201   disconnecting a signal.
203 * [216910] Use the 'eieio' instruction instead of 'lwsync' in the
204   PowerPC implementation of QAtomicInt and QAtomicPointer since the
205   latter is not available in all hardware implementations. The 'eieio'
206   instruction was used successfully in Qt 4.3 and earlier.
208 - QDockWidget
209     * [222222] The sizeHint for dockwidget is now respected when it is redocked
210     * [222030] The minimum size and minimum size hint are now respected
212 - QToolBar
213     * [216929] Fixed the extension when the orientation is vertical
215 - QTabBar
216     * [214527] Fixed the geometry of QTabBarnot being correctly updated when
217                adding a tab.
219 - QMainWindow
220     * [218288] Fixed save/restore that would not work correctly if the window
221                was not yet shown on screen.
223 - QStyleSheetStyle
224     * [158984] Fixed crash while using stylesheet in combinaison with a proxy style
225     * [217470] Fixed setting a stylesheet on a QDockWidget remove its border
227 - QTreeView
228     * [220298] Fixed regression where clicking outside of the first column doesn't
229                always select the item.
230     * [224598] Fixed item not always appearing when QStandardItemModel::appendColumns
231                was used
232     * [212056,216390] Fixed bug where hidden items in the treeview got visible after
233       a sort.
234     * [209473] Fixed assert/crash when selectAll were called on a treeview with no
235       items.
237 - QTableView
238     * [314519] Fixed crash with very big models.
239     * [211039] Fixed assert when moving a header section in a vertical header.
241 QtGui
242 -----
243 * [214146, 215170] Fix a regression with multiple screens on
244   X11. Multiple screens are now reported with their correct size
245   regardless of how X11 is configured.
247 QtOpenGL
248 --------
250 * [217429] Fixed issue on certain Intel drivers causing a GL error to be
251   generated when computing the max texture size in qt_gl_maxTextureSize().
253 QtWebKit
254 --------
255 * Fixed potential crash when deleting QWebView instances.
256 * Fixed blurry widgets in the web page due to antialiased painting.
257 * [221518] Fixed using modifiers to type special symbols (e.g '@','$')
258            does not work on Mac OS X.
259 * [216179] Fixed potential crash on Windows, when performing JavaScript
260            date conversion.
261 * Fix rendering of scrollbars with some styles
262 * Fix state of web actions when showing the context menu
263 * Fix parsing of stylesheets and JavaScripts to not depend on the current locale
264 * Fix return value of QWebPage::isModified()
265 * Fix QWebFrame::setHtml() not setting the contents immediately
266 * [218789] Fix WebKit not displaying content on 403 HTTP responses
268 QtXml
269 -----
271 - QDomElement
272     * [220115] Document QDomElement::setAttribute(double)'s behavior with
273     respect to locale.
275 QtXmlPatterns
276 -------------
278 - QXmlQuery
279     * [219070] Fix after the QXmlQuery object is deleted it doesn't
280     seem to be cleaning up afterwards.
282 QtNetwork
283 ---------
285 - QNetworkReply & QNetworkAccessManager
286     * [223580] Fixed the handling of HTTP replies with code 400.
287     * [215010] Fixed a bug that made SOCKSv5 proxies not be used.
288     * [217091] Fixed a bug that made the HTTP backend issue CONNECT
289     commands for HTTP (not HTTPS) requests to proxy servers
291 - QHttp
292     * [197694] Fixed a bug that prevented QHttp from uploading data of
293     length 0 when reading from a QIODevice.
296 QtTest
297 ------
299 - QCOMPARE
300     * [219067] Document behavior of qFuzzyCompare/QCOMPARE when
301     comparing with 0.0.
303 QtDBus
304 ------
306 - QDBusConnection
307     * [220140] Fixed a bug that would make objects registered with
308     ExportSlots not have interfaces inherited from parent classes
309     callable.
310     * [218733] Fixed the delivery of errors resulting of an outgoing
311     method call timing out.
313 - QDBusReply
314     * [190546] Improved the error messages generated by QDBusReply in
315     case of mismatched signatures.
317 QtHelp
318 ------
320    * [219454] Index also .htm and .txt files for the full text search.
321    * [233415] Use the proper encoding when parsing the title of a html
322    document.
324 Qt3Support
325 ----------
327     * [216806] Fixed a crash in Q3ScrollView when setting a null corner widget
328     * [215041] Fixed a crash in Q3Table when using a Q3TextEdit as the editor
329     * [217218] Fix support for images in Q3TextBrowser
331 Phonon
332 ------
333     * [214080] Fixed a failure on path reconnections between VideoWidget and MediaObject
336 Accessibility
337 -------------
338     * [222660] Made it possible to navigate from the application through the menubar,
339       toolbars etc, and down to the textedit without ending up on a QRubberBand or QMenu.
340       This left the AT client in a confused state.
342 ****************************************************************************
343 *                          Database Drivers                                *
344 ****************************************************************************
347 ****************************************************************************
348 *                      Platform Specific Changes                           *
349 ****************************************************************************
353    * [211678] Fixed a problem where using widgets and pixmaps on two different
354      X11 screens resulted in X11 errors.
355    * [217250] Fixed a problem where QGLWidgets on some older X servers would
356      not get the correct colormaps set, resulting in distorted colors.
357    * [214713] Fixed a problem where text would get clipped incorrectly
358      when using QPainter::drawText() on a QGLWidget, or QGLWidget::renderText().
359    * [223085] Fixed a regression where creating a style before QApplications could
360     result in incorrect font metrics.
362 Windows
363 -------
364    * [207506] Fixed a bug that causes input widgets to switch the text alignment
365      when pressing 'Ctrl+Shift' on Vista platforms (regardless of supported
366      keyboard layouts).
367    * [223951] Fixed a crash while accessing 'QAxObject*' for methods returning a
368      VARIANT with IDispatch inside.
369    * [223145] Fixed a regression which prevented use of Qt::WindowSystemMenuHint
370      together with flags like Qt::FramelessWindowHint.
371    * [224063] Fixed a crash in QFile when QFile::handle() was called.
372    * [221924] Fixed the binary installer for Visual Studio 2005 Express.
373    * [218215] Fix custom paper sizes for printing under Windows.
374    * [210830] Fixed incorrect tooltip text color on Vista.
376 Mac OS X
377 --------
378    * [216650] Fix a regression from 4.4 in the handling of DeferredDelete
379      events. This solves the reported problem that using Cmd+W does not
380      close a form properly in the Designer.
381    * Fix an error in the qconfig.h header file that occurred on Mac OS X
382      during configure when not using Terminal.app.
383    * [222349] Fix a potential out-of-bounds read when getting data from the clipboard.
384    * [213116] Fix a regression where minimizing a window would cause a window
385      with widgets that had no click through enabled to never get enabled.
386    * [215985] Fixed QPixmap::fromImage() to not do an extra copy of the image data
387      which could cause a lot of memory to be used.
388    * [217197] Fix crash when dragging text with object replacement characters on the Mac.
389    * [212884] Fixed a crash that could occur when printing images on the Mac.
390    * [215909] Fixed a problem where text drawn into a QGLWidget on the Mac would appear
391      to be drawn with a bold type, when it shouldn't have.
392    * [215761] Fixed a problem that could make top part of text drawn
393      into a QGLWidget appear cropped.
394    * [214960] Fixed a problem where custom page margins were not taken
395      into account, unless QPrinter::fullPage() was set to true. Also,
396      margins from the QPageSetupDialog should now update the internal
397      QPrinter margins correctly.
398    * [216563] Fix "black widgets" regression from 4.4.
399    * [214681] Fixed bug that the menu bar and other parts of the application
400      responds to the same shortcuts.
401    * [312012] Fixed support for secondary shortcuts on menu bar.
402    * [315450] Fixed build issue for Phonon on OS 10.4/Macbooks regarding OpenGL headers.
404 Qt for Embedded Linux
405 ---------------------
407 - Raster paint engine
408    * Fixed pixel errors when drawing pixmaps into a semi-transparent window.
409    * Fixed an assert when drawing an 16-bit image onto an image of format
410      QImage::Format_ARGB8565_Premultiplied.
411    * [217400] Fixed painting errors with Qt::WA_NoSystemBackground used on
412      a 16bit screen.
413    * Fixed CompositionMode_Source with new QImage formats introduced in 4.4.0.
415 - QWSServer
416    * [210865] Fixed crash due to missing null-pointer check in
417      QWSServer::sendIMEvent().
419 - DirectFB screen driver
420    * Fixed a cache corruption which randomly resulting in painting errors
421      when using QPainter::drawImage().
422    * Fixed use of Qt::SmoothTransformation with QPixmap::scaled().
423    * Fixed painting errors when drawing transparent windows and compiled
424      width QT_NO_DIRECTFB_VM.
425    * Added QT_NO_DIRECTFB_PREALLOCATED to work around issues with drivers
426      not properly implementing blitting to/from preallocated surfaces.
428 - VNC screen driver
429    * Fixed a crash when used on top of a screen with a non-standard line step.
430    * Fixed remote cursor when used on top of a hardware accelerated cursor.
432 Qt for Windows CE
433 -----------------
434    * [219644] Maximized MDI windows had a double title bar on Windows Mobile.
435    * [223975] Qt version displayed wrong in Windows Explorer.
436    * [217576] QLocale always displayed "C" as language.
437    * [215020] Windows with parent were always embedded into the parent window
438      instead of being toplevel itself.
441 ****************************************************************************
442 *                      Compiler Specific Changes                           *
443 ****************************************************************************
447 ****************************************************************************
448 *                          Tools                                           *
449 ****************************************************************************
451 - Build System
453 - Assistant
454    * [221298] When triggering the sync contents action, activate the contents
455    widget.
456    * [171654] Use the title of the .html file as the about dialog window title.
457    * [219939] When specifying a .html file for the about dialog contents,
458    ensure that the referenced image files are displayed as well.
459    * [219936] When a collection file has been changed, make sure to syncronize
460    all relavant settings with the cached collection file.
461    * [206321] Display .svg files in Assistant.
462    * [219176] Escape '&' characters in the title of a document.
465 - Designer
466     * [219670] Fixed a bug related to layout handling of form classes generated
467       by the Visual Studio integration.
468     * [220299] Fixed a crash that occurred when breaking a layout containing
469       zero-sized spacers.
470     * [217464] Fixed a bug related to using resource-dependent properties
471       for QDialog-based forms.
472     * [215188] Stabilized reading of corrupted ui files.
473     * [215648] Don't show the rich text editor for iconText property of QAction
474     * [214854] Fix displaying of icons in the VS integration
475     * [217093] Make non-letter shortcuts with Shift modifier working
476     * [223114] Fixed a crash when removing a dynamic url property
477     * [220998] Default precision of float property in property editor changed to 6
479 - Linguist
481 - lupdate
483 - lrelease
486 - rcc
489 - moc
492 - uic
495 - uic3
498 - qmake
501 - configure
504 ****************************************************************************
505 *                          Plugins                                         *
506 ****************************************************************************
509 ****************************************************************************
510 *                   Important Behavior Changes                             *
511 ****************************************************************************