Fixing warnings in QScopedPointer test case
[qt-netbsd.git] / dist / changes-4.6.0
blobb8035b602b3c0ea86a3dd8dce9357d50d2a460f9
1 Qt 4.6 introduces many new features and improvements as well as bugfixes
2 over the 4.5.x series. For more details, refer to the online documentation
3 included in this distribution. The documentation is also available online:
5   http://qt.nokia.com/doc/4.6
7 The Qt version 4.6 series is binary compatible with the 4.5.x series.
8 Applications compiled for 4.5 will continue to run with 4.6.
10 Some of the changes listed in this file include issue tracking numbers
11 corresponding to tasks in the Qt Bug Tracker, the (now obsolete) Task
12 Tracker, or the Merge Request queue of the public source repository.
14 Qt Bug Tracker: http://bugreports.qt.nokia.com
15 Task Tracker: http://qt.nokia.com/developer/task-tracker
16 Merge Request: http://qt.gitorious.org
18 Each of these identifiers can be entered in the task tracker to obtain more
19 information about a particular change.
21 ****************************************************************************
22 *                           General                                        *
23 ****************************************************************************
25  - QtDBus
26    * The minimum required version of the D-Bus reference library is
27      now 0.93.
28    * Support for reading and writing of custom property types added.
29    * Support for getting return arguments in remote method invocation
30      via QMetaMethod::invokeMethod.
32  - [MR#1742] Added new multimedia keys to the Qt::Key enum.
34  - QMatrix4x4, QGenericMatrix, QVector2D, QVector3D, QVector4D, QQuaternion
35     * New classes to support 3D applications.
37  - QGLShaderProgram, QGLShader
38     * New classes for using shader programs written in the GL Shading Language.
40  - QGraphicsEffect
41     * New classes for applying graphics effects to graphics items and widgets.
43  - Boxes demo ported to use new 3D math and shader program classes.
45  - OpenVG graphics system added.
47  - Added 800x480 screen mode to qvfb configuration dialog.
49  - Improved support for input methods in graphics view.
51  - QAudioInput, QAudioOutput
52     * New audio input and output classes.
54  - QAbstractVideoSurface, QVideoFrame
55     * New abstract video output classes.
57  - New state machine framework added to QtCore.
60 Third party components
61 ----------------------
63  - Updated FreeType to version 2.3.9.
65  - Updated harfbuzz to the latest version from fd.org.
67  - Updated sqlite to version 3.6.19.
70 ****************************************************************************
71 *                          Library                                         *
72 ****************************************************************************
74 QtCore
76  - QByteArray
77     * New overloads for QByteArray::insert() and QByteArray::prepend().
79  - QEventDispatcherGlib (internal class)
80     * Fix a regression introduced in 4.5.3 that would cause timers to not
81       be delivered.
83  - QEventDispatcherUNIX (internal class)
84     * Improve detection of monotonic clock support to include
85       non-POSIX.1-2001 compliant systems.
86     * [250681] Fix time change detection on UNIX systems without monotonic
87       timers.
89  - QEventDispatcherWin32 (internal class)
90     * Changed the threshold for using multimedia timers to 20ms (was 10ms).
91     * Changed the way Qt's posted events are sent by the event
92       dispatcher. They are now driven on top of a Windows message
93       instead of an explicit call in processEvents(). This means that
94       posted events are sent even when a Windows modal message loop is
95       running (for example, when the user is moving a window or when a
96       native modal dialog is visible).
97     * Fixed a bug that would allow the same timer id to be used by multiple
98       QTimer instances.
100  - QFile
101     * Make QFile::resize() more robust when operating on buffered files.
103  - QObject
104     * [259514] fixed a possible dead-lock in the destructor.
105     * Added the possibility to pass the flag Qt::UniqueConnection to
106       QObject::connect.
107     * Fixed race conditions that occured when moving object to threads
108       while connecting.
110  - QPluginLoader
111     * Improved performance of plugin loading by reusing the plugin cache
112       instead of loading it every time.
114  - QProcessEnvironment
115     * New class; support for easy access to key/value pairs in the process
116       environment.
118  - QRegExp
119     * New pattern syntax "QRegExp::WildcardUnix" with wildcard character
120       escaping.
122  - QScopedPointer
123     * New pointer class for cleaning up objects when leaving the current
124       scope.
126  - QSharedPointer
127     * Added support for creating the object along with the internal private
128       data in one single memory allocation. (QSharedPointer::create)
129     * Fixed a bug where, in a race condition, QSharedPointer could track a
130       pointer that was being deleted.
132  - QTextCodec
133     * Instantiate the CP949 codec when building with -no-iconv.
135  - QTextStream
136     * [221316] Fixed crash on large input.
137     * Improved reading utf8/utf16/utf32 data by correctly skipping the
138       ByteOrderMark when reading data by one character at a time.
140  - QThread
141     * [249997] Document that QThread priority has no effect on Linux.
143  - QUrl
144     * Made QUrl hostname parser a lot stricter, requiring compliance
145       to STD3 to validate, thus preventing invalid hostnames from
146       being accepted. See below in "Important Behavior Changes".
148  - QUuid
149     * [QTBUG-3543] Fixed a bug in createUuid() which caused multiple
150       threads to generate the identical UUID sequences.
152  - QVariant
153     * Many optimisations.
154     * Added QVariant::toFloat() and QVariant::toReal().
155     * Added QVariant(float) constructor.
156     * qvariant_cast<QVariant> and qVariantFromValue<QVariant> are now
157       identity functions.
158     * Added support for math3d types.
160  - QWeakPointer
161     * Added support for tracking QObject-derived classes that aren't
162       attached to a QSharedPointer.
163     * Added QWeakPointer::data which allows you to obtain the pointer
164       being tracked (without protection).
165     * Added operator-> like the above data(), but requires a #define.
167  - QXmlStreamWriter
168     * [256468] Fixed comment indentation.
170 QtGui
172  - Qt::escape
173     * Now escape the double quote (&quot;).
175  - QAbstractItemView
176     * [256502] Fixes selectionModel::hasSelection return value after
177       model::reset.
179  - QApplication
180     * [QTBUG-739] Removed internal widgets from QApplication::topLevelWidgets().
182  - QCalendarWidget
183     * [252943] QCalendarWidget::setDateTextFormat() reset the format if the
184       date is invalid.
186  - QColumnView
187     * [246999] Fixed view not updating when the model changed dynamically.
189  - QComboBox
190     * [220195] Fixed keyboard search when current index is -1.
192  - QCompleter
193     * [246056] Fixed a possible assertion when setting the completer prefix.
195  - QEvent
196     * Introduced RequestSoftwareInputPanel and CloseSoftwareInputPanel events.
198  - QFontDialog
199     * [256466] Fixed the dialog not always returning the selected style.
201  - QFontEngine
202     * [QTBUG-2354] Support certain 'Microsoft' platform symbol fonts which
203       also contain a regular unicode table for exactly the symbol range of
204       code points.
206  - QFontEngineQPF
207     * Make alphaMapForGlyph() generate the correct color table for
208       Indexed8 and Mono glyph images.  Fixed the "all glyphs are white
209       boxes" problem in OpenGL1 paint engine.
211  - QFontMetrics
212     * [176401] Account for right bearing in bounding rect.
214  - QGraphicsAnchorLayout
215     * Support for expanding size policy has been removed. (The Qt 4.6 Beta
216       had support for it).
218  - QGraphicsBlurEffect
219     * Since the 4.6 Beta, Qt::RenderHint has been moved to
220       QGraphicsBlurEffect::BlurHint.
221     * Input contexts are not activated for disabled widgets anymore.
222     * [250555] Data copied from Mozilla Firefox can now be pasted correctly to
223       a Qt application.
225  - QGraphicsItem
226     * Many optimizations.
227     * Fixed bug and improved accuracy of QGraphicsItem::childrenBoundingRect().
228     * Introduced QGraphicsItem::ItemHasNoContents.
229     * Introduced QGraphicsItem::ItemSendsGeometryChanges (see Behavioral
230       Changes).
231     * Introduced QGraphicsItem::focusProxy(), focus proxy support.
232     * Introduced QGraphicsItem::ItemNegativeZStacksBehindParent.
233     * Introduced QGraphicsItem::ItemIsPanel, light-weight window support.
234     * Introduced modality support for QGraphicsItem panels.
235     * Introduced activation support.
236     * Introduced QGraphicsItem::stackBefore().
237     * Cached items are now always invalidated when update() is called.
238     * Added input hints.
239     * Added a new set of properties to set a transformation on an item.
241  - QGraphicsLayout
242     * Introduced QGraphicsLayout::addChildLayoutItem().
244  - QGraphicsObject
245     * New class; inherits QGraphicsItem and adds notification signals and
246       property declarations.
248  - QGraphicsProxyWidget
249     * [251407] Fixed window flag handling. Now QGraphicsProxyWidget's flags
250       win.
251     * Fix Qt::ClickFocus policy.
253  - QGraphicsScene
254     * Many optimizations.
255     * [245317] Fixes to mouse grabbing behavior.
256     * Fixed delivery of double-click events after explicit grab and then ungrab.
257     * Rewrote the internal rendering to use a recursive instead of an iterative
258       approach.
259     * Ensure hover enter events are delivered when an item is pressed.
260     * Introduced activation support.
261     * Fixed bugs in initial focus support.
263  - QGraphicsTextItem
264     * Now inherits from QGraphicsObject instead.
266  - QGraphicsTransform
267     * New class; eases animation of transformations for QGraphicsItem.
269  - QGraphicsView
270     * Many optimizations.
271     * Fix mapToScene(QRect) to avoid extra unnecessary adjustments.
272     * Introduced QGraphicsView::isTransformed().
273     * [QTBUG-4151] Items with parent that sets ItemClipsChildrenToShape were
274       sometimes invisible.
276  - QGraphicsWidget
277     * Now inherits from QGraphicsObject instead.
278     * Interactive resizing of top level windows now respects height-for-width
279       constraints.
280     * Reduced memory footprint.
282  - QHeaderView
283     * [208320] Make sure the sort indicator is taken into account for the size
284       hint.
285     * [255574] Make sure the size hint for the section depends on visible
286       sections.
288  - QImageReader
289     * [255627] Fix floating point exception in
290       QImageReader::setScaledSize(QSize(0, 0)).
292  - QLineEdit
293     * [248948] Clear selection when redoing a delete operation.
294     * [QTBUG-5261] Fixed bug where erasing characters from a textedit did not
295       update the text.
297  - QListView
298     * [243335] Fixed the visualRect to return correct values when the widget is
299       not yet shown.
301  - QMainWindow
302     * [226060] Adding actions to a toolbar would always make the next toolbar
303       move.
305  - QMenu
306     * [252610] Fixed position of the shortcut text while setting a stylesheet
307       on menu items
309  - QMenuBar
310     * [260873] Fix mouse interaction while undocking a widget from the main
311       window
312     * Dock areas didn't get a splitter if their dock widgets were not
313       resizable.
315  - QPaintDevice
316     * New qt_paint_device_metric() function to replace the friend declarations
317       for window surface classes that need to access metric().
319  - QPainter
320     * [QTBUG-1666] Made QPainter::drawText() respect Qt::TextDontClip flag
321       also in vertical direction.
322     * [254658] Improved clipping performance in OpenGL paint engine.
324  - QPainterPath
325     * [QTBUG-1537] Fixed bug where the points of a rounded rectangle were added
326       in counter-clockwise order instead of clockwise order like other shapes.
328  - QPen
329     * [QTBUG-2738] Made QPen::setDashOffset() work with non-custom dashed lines.
331  - QPixmap
332     * Optimized width(), height(), isNull() and depth().
333     * [QTBUG-2832] Fixed bug where calling fill on pixmap with active painter
334       could crash.
336  - QPlainTextEdit
337     * Fixed crash when clicking on a text edit which was smaller than the
338       height of the font used.
340  - QPlastiqueStyle
341     * [QTBUG-3555] Fixed a bug in the Plastique style that would cause an
342       ASSERT failure in QFont when the application font has a pixel size set.
344  - QPrinter
345     * [QTBUG-4497] Removed redundant SetPen command in the postscript code when
346       reusing a QPrinter object.
348  - QPrintPreviewDialog now uses a QMainWindow with a proper QToolBar, instead
349    of a plain layout.
351  - QPushButton
352     * [255581] Fixed sizeHint recalculation bug.
354  - QRasterPaintEngine
355     * [QTBUG-4210] Fixed bug where bitmaps were painted black instead of in pen
356       colour.
358  - QRegion
359     * Minor optimizations.
361  - QSortFilterProxyModel
362     * [251296] Fixed bugs in which filtered items could not be filtered.
364  - QSplitter
365     * [206494] Added ability to style pressed slider with stylesheet.
367  - QSpinBox
368     * [259226] Fixed setting a stylesheet on a QSpinBox to change the arrow
369       position.
370     * [255051] Fixed sizeHint update bug.
372  - QStandardItemModel
373     * [255652] Fixed crash while using takeRow with a QSortFilterProxyModel.
375  - QStroker
376     * [QTBUG-5212] Fixed bug where thick strokes around small shapes could
377       cause holes in the stroke.
379  - QTabBar
380     * [196326] Fixed having a stylesheet on a QTabBar resulted in some tab
381       names being slightly clipped.
382     * [241383] Added ability to style the close tab button with style sheet
384  - QTableView
385     * [191545] Selections work more similarly to well-known spreadsheets.
386     * [234926] Fixed sorting after changing QTableView header.
387     * [244651] [245327] [250193] [QTBUG-5062] Spans get plenty of love with
388       performance improvements, support for row/column insertioa and removal,
389       and better keyboard navigation.
391  - QTableWidget
392     * [234641] Fixed takeItem to cause the view to be updated.
394  - QTextDocument
395     * [207189] Support setting font size using short hand syntax in the
396       CSS "font" property.
397     * [201228] Remove implicit margin on bullet lists when exporting to HTML.
398     * [240086] Fixed bug which caused floating objects which span several
399       pages to float into the second page of the document even when it's
400       the only existing object, causing the document to contain a blank
401       first page.
402     * [240325] Even with wrap mode set to Qt::TextWordWrap, the layout
403       would sometimes break outside word boundaries when floating objects
404       affected the width available to the text.
406  - QTextLayout
407     * [QTBUG-4468] Count tabs as multiple characters when applying a fixed
408       column width.
409     * [176401] Take into account the negative right bearing of the last
410       character in an item of text if the glyph extends beyond its ascent.
412  - QToolTip
413     * Fixed a bug where tooltips were not shown in popups (Windows only).
415  - QTreeView
416     * [234930] Be able to use :has-children and :has-sibillings in a stylesheet.
417     * [252616] Set QStyleOptionViewItemV4::OnlyOne flag when painting spanning
418       columns.
419     * [245654] Fixed expandAll when deleting and recreating a mode for the tree.
420     * [239271] Fixed missing update when adding a row when the first column is
421       hidden.
422     * [258225] Fixed scrollTo with center and bottom.
424  - QTreeWidget
425     * [253109] Shows the widget when calling setItemWidget.
427  - QWidget
428     * Added inputMethodHints property.
429     * [201649] Added QWidget::previousInFocusChain.
430     * [254563] Fixed a crash when setting focus in a widget tree that
431       contains invisible widgets.
432     * [QTBUG-5012] Fixed uninitialized background when using QWidget::render
433       with Qt::WA_NoSystemBackground and window opacity set.
435 QtDBus
437  - QDBusConnection
438     * Made sending of invalid/incomplete messages consistently fail with error
439       (no more assertions).
440     * [249528/QTBUG-3833] Added an overload of connect() that allows one to
441       specify strings for matching arguments.
443  - QDBusServiceWatcher
444     * New class; supports efficiently watching for a service to be created,
445       deleted or to change owners.
447 QtNetwork
449  - QAbstractSocket
450     * Only disconnect from host when all bytes have been written.
451     * New setSocketOption method.
453  - QHttp
454     * Do not buffer the complete POST data anymore when HTTPS is used.
455     * QHttp is now obsolete and replaced by QNetworkAccessManager.
457  - QLocalServer
458     * Fix timeout when waiting for a connection on Unix.
460  - QNativeSocketEngine
461     * Do not set the OS socket send and receive buffer size. The OS
462       should auto tune these values for us.
464  - QNetworkAcessManager
465     * [242916] Add possibility to send HTTP DELETE requests.
466     * Connection count per HTTP server increased to 6 on Desktop, 3 on Symbian.
467     * Optional HTTP pipelining support.
468     * General HTTP performance improvements.
470  - QNetworkReply
471     * [257322] Add possibility to ignore specific SSL errors.
472     * New isFinished() method.
474  - QSslCertificate
475     * [251830] Fix version() and serialNumber() methods.
477  - QSslSocket
478     * [257322] Add possibility to ignore specific SSL errors.
479     * Fix build with openssl 1.0.0 betas.
480     * Trigger a SSL transmission when reading from the socket. In certain
481       cases the connection stalled when a buffer limit was used.
483 QtOpenGL
485  - QGLColormap
486     * setEntry() was inserting entries instead of replacing them.
487     * Clarified documentation for isEmpty().
489  - QGLContext
490     * Fix RGB565 mode in bindTexture().
491     * Map mipmaps work on OpenGL/ES 2.0 systems in bindTexture().
492     * Improve performance of QGLContext::currentContext().
494  - QGLFormat
495     * Increase unit test coverage and fix some long-standing issues.
496     * Improve performance of code that tests QGLFormat options.
497     * operator==() now tests for equality on all fields.
499  - QGLFramebufferObject
500     * Add support for the ARB_framebuffer_object, OES_framebuffer_object,
501       and OES_packed_depth_stencil extensions.
502     * Unbind the texture after it is initialized.
503     * Don't destroy the texture target on cleanup if one wasn't created.
505  - QGLFramebufferObjectFormat
506     * New class for controlling fbo options.
508  - Improvements to context sharing and object cleanup logic.
510  - QGLGradientCache
511    * [249919] Clean up the gradient cache in the right context.
513  - OpenGL (ES) 2.0 Paint Engine
514     * Re-written the OpenGL (ES) 2.0 Paint Engine's shader manager to use new
515       shader API and to allow custom code from E.g. Pixmap Filters to be
516       instered into the fragment "pipeline".
517     * Fixed conical gradients.
519  - Added a static function, QGL::setPreferredPaintEngine(), to allow users
520    to set the preferred GL paint engine.
522  - Cleaned up usage of OpenGL extensions. QtOpenGL now uses the OpenGL 2.0
523    names of methods rather than using the EXT postfix. However, when resolving
524    extensions, QtOpenGL will also try postfixing EXT if the OpenGL 2.0 name is
525    not found.
527  - Fix QGLWidget::showFullscreen() on EGL platforms.
529  - Added lots of OpenGL autotests.
531 QtScript
533  - Many optimizations.
534  - Improved ECMA script compliance.
535  - New method, QScriptString::toArrayIndex(), for converting QScriptString
536    to a QtScript array index.
538 QtSql
540  - [QTBUG-3162] Views for Sql table models should not reset state on failed
541    queries.
542  - [QTBUG-5251] Fix retrieval of SQL 'TIME' information for PostgreSQL.
543  - Better error checking in case of failed query.
544  - [QTBUG-5179] Fixed floating point number truncation in qsqlpsql plugin.
545  - [QTBUG-551] Fixed Oracle batchExec using strings as out params.
546  - Updated sqlite to 3.6.19 + readded our patches.
547  - [QTBUG-3736] ODBC: Retrieved in ascii, should be stored in ascii.
548  - Fixed issue with multiple lookups to same table/field in
549    QSqlRelationalTableModel.
550  - Updated documentation of setForwardOnly.
551  - [QT-754] TDS: Fixed improper formatting of date values.
552  - TDS: Fixed missing field/table name escaping.
553  - ODBC: Fixed setForwardOnly not being reset on when the query is reset.
554  - [QTBUG-4510] Add reconnection option to the mysql driver.
555  - [222678] Fixed QSqlTableModel: trying to delete the wrong row.
556  - Interbase: Fixed crash when calling numRows on unknown query type.
557  - DB2: Don't return an error when the table is just empty.
558  - [17327] Added OCI support for synonyms to tables created by another user.
559  - [176267] Fixed mysql driver not knowing the difference between tables and
560    views.
561  - Fixed determination of end of ODBC string on deficient drivers.
562  - Added ability to open sqlite databases readonly.
563  - Fixed race condition on reopening an ODBC connection.
564  - Fixed invalid use of statics in the defaultCasing code.
565  - Fixed proper quoting under odbc.
566  - [252450 & 246125] Fixed failed queries due to MySql driver auto-preparing.
567  - QSqlDatabase now has a database level precisionPolicy. Queries now default
568    to this.
569  - Add proper iODBC linking support.
571 QtSvg
573  - QSvgHandler
574    * [245602] [204686] Fixed gradient and solid-color referencing.
575    * [202426] Made attribute inheritance work with 'use' tags.
576    * [250618] Fixed gradient on strokes.
577    * [254040] Added support for 'vector-effect'.
579  - QSvgPaintEngine
580    * [257052] Changed drawImage() to ignore aspect ratio.
582 QtWebKit
584  - Many bug fixes.
586  - QWebElement
587    * New class; introduced to implement DOM like operations on a web page.
589  - QWebFrame
590    * New properties for an URL and a focus management.
591    * New signals delivering current loading status.
593  - QWebInspector
594    * New class for embedding the WebInspector as a QWidget
596  - QWebHistory
597    * Streaming operators for saving and restoring QWebHistory's state.
599  - QWebPage
600    * New property; preferredContentsSize for setting layout of the page in the
601      viewport.
602    * New slot; shouldInterruptJavaScript, called when JavaScript program is
603      running too long.
605  - QWebSecurityOrigin:
606    * New functions for defining local URL schemes.
608  - QWebSettings
609    * New options for text encoding, printing shrink factor and off-line web
610      application cache (HTML5).
612  - QWebView
613    * Support for render hints.
615 QtXml
617  - QDomDocument
618     * Set the codec to UTF-8 if codec not present or unknown.
620 QtXmlPatterns
622  - QXmlQuery
623     * [245219] Added QXmlQuery::setFocus(const QString &focus).
625 Qt Plugins
627  - Tiff plugin
628     * [258526] Rotate the image if the tiff file contains an orientation tag.
629     * [254317] Add support for mono and indexed format
632 ****************************************************************************
633 *                      Platform Specific Changes                           *
634 ****************************************************************************
636  - Added community supported Qt ports for QNX and VxWorks. See platform
637    notes in the Qt documentation for details.
639  - Improved support for AIX using IBM's Visual Age C/C++ compiler
640    version 7 (xlC).
642  - Improved support for Solaris using Sun Studio 12 (CC 5.9).
644 Qt for Unix (X11 and Mac OS X)
645 ------------------------------
647  - Added support for thread-safe FD_CLOEXEC file-descriptor creation
648    where supported by the operating system (currently only Linux).
650  - Ensured that system calls where EINTR is a possible result are
651    properly restarted.
653 Qt for Linux/X11
654 ----------------
656  - KDE Integration: Improved the integration into KDE desktop (loading of KDE
657    palette, usage of KColorDialog and KFileDialog) using the GuiPlatformPlugin
659  - Fixed pasting the clipboard content to non-Qt application on X11 when the
660    requested format is image/ppm.
662  - On X11, Qt now supports the _NET_WM_SYNC protocol.
664  - On X11, Qt now supports the SAVE_TARGET protocol that allows to keep
665    clipboard contents if the application that owns the clipboards exits
667  - [QTBUG-4652] On X11, clipboard content can be properly retrieved even when
668    an application asks for the unsupported target. This fixes copying and
669    pasting data when using Synergy.
671  - [MR#797] Fixed a crash when using QX11EmbedContainer/Widget on x86_64.
673  - [MR#1111] Emit workAreaResized when _NET_WORKAREA is changed on X11.
675  - [QTBUG-3620] Fixed bug on X11 that caused bitmap fonts to become so small
676    it was unreadable when printed or presented in a print preview widget.
678  - Improved EGL integration on X11 (including better visual selection).
680  - Made Qt::WA_TranslucentBackground work in combination with native
681    child widgets.
683  - Support Qt::WA_TranslucentBackground on top-level QGLWidgets on X11, both
684    (EGL & glX). This allows OpenGL (& ES) rendering to semi-transparent widgets
685    if a compositing window manager is running.
687  - Support OpenGL texture_from_pixmap extension on X11 (EGL & glX) when
688    calling QPainter::drawPixmap() with the OpenGL paint engine, or calling
689    QGLContext::bindTexture() on an X11 QPixmap. If the
690    GLX_EXT_texture_from_pixmap or EGL_NOKIA_texture_from_pixmap extensions are
691    present, Qt will attempt to use glXBindTexImageEXT or eglBindTexImage to
692    bind the pixmap to a texture, rather than copying the pixel data.
694  - Add new experimental QX11GLPixmapData backend for QPixmap. This pixmap
695    backend uses regular X11 pixmaps to store the image data, however it uses
696    OpenGL to render into them.
698  - Tablet: Disable event compression of events of type QTabletEvent when the
699    current event is accepted by the receiver.
701  - [QTBUG-4242] Fixed a bug that allowed the user to close a window
702    event though the program is using the QEventLoop::ExcludeUserInputEvents
703    flag.
705  - [255559] Fixed generation of XdndLeave events to include the correct
706    source id.
708  - [258319] Avoid division by zero on some Xlib/Xserver implementations.
710  - Fixed the default QWidget size on X servers with Xinerama to give widgets
711    a default size that should fit on a single screen.
713  - Support _NET_WORKAREA on X servers with Xinerama (previously this property
714    was ignored).
716 Qt for Windows
717 --------------
719  - Significant external contribution from Milan Burda for planned removal
720    of (non-unicode) Windows 9x/ME support.
722  - QRegion is no longer a GDI object by default. This means it is no
723    longer subject to gui-thread only nor does it potentially impact
724    the 10.000 GDI object limit per process. By explicitly calling
725    .handle() a GDI object will be created and memory managed by
726    QRegion. The native handle is for reading out only. Any GDI calls
727    made on the HRGN handle will not affect the QRegion.
729  - The reading code of QLocalSocket on Windows has been rewritten to improve
730    reading performance.
732  - On Windows when a file cannot be accessed (stat()ed), we are now restoring
733    the error mode to the original value.
735  - [259221] QFileInfo::symLinkTarget() now supports NTFS symbolic links
736    thanks to Konstantin Ritt (merge request 1217).
737  - [251554] Fixed openUrl("mailto:") with Thunderbird on Windows.
738  - [254501] QDestopServices now supports cyrillic file names.
739  - Fixed an issue which prevents moving fixed size windows using titlebar.
740  - [258087] Fixed an issue on Vista which returns incorrect file paths when
741    using QFileDialog::getOpenFileNames()
742  - [253763] Fixed a focus issue when using out-of-process ActiveQt controls.
743  - [255912] Mouse move events will not be delivered to a blocked widget.
744  - [225588] Enabled IME reconversion support.
746  - Phonon on Windows
747    * Now much more reliable when reading a file through a QIODevice.
748    * If Video Mixing Renderer 9 is not available, falls back to software
749      rendering.
750    * Fixed a flicker issue when switching source with a transition time of 0.
752  - [QTBUG-4445] Fixed bug on Windows that caused problems when printing
753    text where several characters were represented by a single glyph, e.g.
754    a double 't' with the Calibri font.
756  - Added QSysInfo::WV_WINDOWS7 and QSysInfo::WV_6_1.
758  - Changed QPrintDialog under Windows to use PrintDlgEx, instead of the old
759    deprecated PrintDlg call.
761 Qt for Mac OS X
762 ---------------
764  - General changes on Mac OS X:
765    * Mac OS X version support: Support for 10.3(Panther) has been dropped and
766      support for 10.6(Snow Leopard) has been added.
767    * The Cocoa port now supports static linking.
768    * The Cocoa port now supports the Qt3Support library (with the exception of
769      Q3FileDialog) to ease the transition from Carbon to Cocoa.
770    * The Cocoa binary packages are now Intel only (universal i386 and x86_64).
771    * Snow Leopard notes:
772      - Gcc 4.2 is used by default. Configure with -platform macx-g++40 to
773        select 4.0.
774      - Using the 10.4u SDK requires gcc 4.0.
775      - Configuring for the Cocoa port (-cocoa) produces 64-bit binaries by
776        default. Use the -arch flags to override.
777      - Building for ppc64 is no longer supported by the gcc tool chain.
778      - Building for ppc is still supported.
779    * Added support for GetURL events on Mac OS X.
781  - General bug fixes:
782    * [123740] Fixed an issue with dead keys on Mac (cocoa) on French keyboard
783      layout.
784    * [258438] Enabled Emacs style keyboard shortcuts.
785    * [QTBUG-4418] Fixed maximizing and restoring a window.
787  - Cocoa bug fixes:
788    * [252088] Drag Leave events will be delivered correctly on Cocoa.
789    * [257661] Cocoa now uses the correct line ending for clipboard plain text.
790    * [258173] Fixed an issue which caused "whatsthis" pointer to flicker.
791    * Fixed some warnings that might get printed when reparenting QGLWidget.
792    * Fixed stacking order of modal dialogs so that they never rearrange level,
793      or hide in the background.
794    * Fixed problem with plugins written with Qt that closes down the native
795      application when hiding a modal dialog.
796    * Fixed problem that native applications cannot quit when using plugins
797      written with Qt from a native application.
798    * Fixed problem that the menubar is not restored correctly when using
799      plugins written with Qt from a native application.
800    * The event dispatcher now integrates better with native applications that
801      spin the event loop themselves.
802    * Using Qt::AA_MacPluginApplication will now disable the use of native
803      menubars on Mac.
804    * Sliders and scroll views in Qt now use pixel scrolling for mouse devices
805      that support this.
806    * Wheel events can now contain a delta with a value as low as 1 for mouse
807      devices that use pixel scrolling.
809 Qt for Embedded Linux
810 ---------------------
812  - Added QMAKE_LIBS_OPENGL_ES1, QMAKE_LIBS_OPENGL_ES1CL and
813    QMAKE_LIBS_OPENGL_ES2 qmake variables for specifying OpenGL ES
814    specific libraries.
816  - Compilation fixes for OpenGL/ES 1.0 and OpenGL/ES 1.1 Common Lite.
818  - EGL and OpenGL/ES
819    * Protect the use of version-specific EGL symbols with #ifdef's.
820    * Make sure an EGL context is current when resolving GL extensions.
821    * Introduce "lazyDoneCurrent" for optimizing context switching in
822      paint engines.
823    * Separate EGLSurface from QEglContext so that the same context can
824      be used with multiple surfaces.
825    * Move common functions from system-specific files to qgl_egl.cpp.
826    * Fix a memory leak of EGLSurface's in QGLContext.
827    * Fix detection of pbuffers on OpenGL/ES systems.
828    * EGL_SAMPLES was being set to the wrong value for multisampled surfaces.
830  - PowerVR
831    * Make the code better at detecting MBX vs SGX header files.
832    * Fix 32-bit screen support - some code was still assuming 16-bit.
833    * Stop GL window surfaces double-flushing their contents.
834    * Remove surface holder, which never worked all that well.
835    * Implement screen rotations.
837  - Mouse and keyboard drivers
838    * Removed obsolete drivers (vr41xx, yopy, sl5000, bus mouse).
839    * Added a new LinuxInput driver for both mouse and keyboard.
840    * Added keymap support for QWS via standard Linux .kmap files.
841      (complete with dead-keys, compose-key and LED handling).
843  - Remove obsolete OpenGL/ES screen drivers: hybrid, ahigl.
845  - Send enter/leave events also to child widgets.
847  - Fix crash when instantiating multiple QApplications.
849  - Optimize software cursor by using native image format instead of 8-bit.
851  - [255828] Avoid window decoration flicker on show.
853  - [255495] Fix blend function crash on AVR32.
855  - Fix qconfig configurations.
857  - Add powerpc mkspec and remove "empty" ppc mkspec .
859 Qt for Windows CE
860 -----------------
862  - On Windows CE the link time code generation has been disabled by default to
863    be consistent with win32-msvc200x.
864  - The default button size has been reduced in the Windows mobile style.
865  - [QTBUG-3613] QWizard issues have been fixed on Windows mobile.
866  - [254673] Restoring minimized widgets fixed for Windows mobile and
867    Windows CE.
868  - [255242] Seeking within large files (bigger than 0x80000000 bytes) fixed
869    on Windows CE.
870  - [257352] When configuring Qt for Windows CE, configure points the user to
871    setcepaths, when its done.
872  - [259850] Added a makespec template for Windows CE 6.
873  - Fixed the hardcoded GL library names for Windows CE.
875 ****************************************************************************
876 *                          Tools                                           *
877 ****************************************************************************
879  - Designer
880    * [233683] Promoted Widgets are now stored correctly in scratchpad.
881    * [249823] Added search functionality to the resource browser.
882    * [254282] Enabled the use of promoted widgets in form templates.
883    * [254824] Made it possible to override the createAction()/createWidget()
884      functions of QUiLoader.
885    * [256332] Enabled deleting all pages of a QTabWidget or QStackedWidget.
886    * [259238] Fixed menubar/menu editing in right-to-left mode.
887    * [259918] Fixed setting of object names for container pages not to use
888      localized strings.
889    * [260658] Fixed saving of alpha values set in the palette editor.
890    * It is now possible to further specify the kind of custom widget string
891      properties using XML tags.
893  - uic
894    * [260784] Generated code for retranslateUi doesn't cause compiler warnings
895      anymore.
897  - uic3
898    * [128859] Fixed code generation of QLabel's wordWrap property.
900  - qdoc3
901    * Changed qdoc3 binary to be in bin/ instead of a platform specific location.
903  - Linguist
904    * Linguist GUI: Experimental support for editing multi-length strings.
905    * lupdate is now again the only tool which can parse program code.
906    * lupdate
907      - Actually guess the target language from the file name.
908      - Make -{source,target}-language actually override values from files.
909      - C++ parser
910        * Properly support "using namespace", etc.
911        * Remove the obsolete TRANSLATOR hack relating to "using namespace".
912        * Support attaching meta data to translatable message.
913        * Actually use the argument of Q_DECLARE_TR_FUNCTION.
914        * Optimization.
915        * Bug fixes and robustness improvements.
916    * lrelease
917      - Add -markuntranslated <prefix> option.
918    * Both lupdate & lrelease
919      - Accuracy improvements of the qmake .pro file parser.
920      - Support for ID-based translations. Somewhat experimental.
921    * lconvert
922      - Add --sort-contexts option.
923      - Add --locations option (complementing lupdate).
924      - Add --no-ui-lines option (complementing lupdate).
927 ****************************************************************************
928 *                               DirectFB                                   *
929 ****************************************************************************
931  - When running Qt/DirectFB the DirectFB window id of a top level QWidget can
932    be queried using property("_q_DirectFBWindowID")
934  - Allow setting the background color of the primary layer in DirectFB with
935    connect options. QWS_DISPLAY=directfb:bgcolor=red or
936    QWS_DISPLAY=directfb:bgcolor=\#aabbccdd
938  - Add support for rendering mouse cursor using a top level window when cursor
939    support is not working in IDirectFBDisplayLayer. Define
940    QT_DIRECTFB_WINDOW_AS_CURSOR to enable.
942  - Add experimental support for optimized locking/unlocking of surfaces. Enable
943    by defining QT_DIRECTFB_SUBSURFACE.
945  - Fix a bug to conceptually allow using QDirectFBScreen as a subscreen of a
946    proxy screen. Don't make QDirectFBScreen::instance() assume that
947    QScreen::instance() is a QDirectFBScreen.
949  - Optimize move/resize operations with DirectFB. With a properly configured
950    DirectFB these operations are handled for us and we don't need to force a
951    repaint of the window.
953  - Support top level window opacity in DirectFB
955  - Fix a bug when loading RGB32 images that would lead to rendering issues.
957  - Fix a bug when painting with invalid pens/brushes.
959  - Fix a bug that would show up when QWidget::scroll is called.
961  - Implement support for loading pixmaps using IDirectFBImageProvider.
963  - Disable color table support by default. This seems to work incorrectly on
964    most boards and loading these images will generally require an image
965    conversion anyway.
967  - Fix a crash when resizing windows.
969  - Compile with versions < 1.0. We still recommend using newer versions.
971  - Considerable code cleanup
973  - Various optimizations regarding painting, loading of images and creation of
974    surfaces.
976  - Allow forcibly falling back to raster engine for painting operations by
977    exporting QT_DIRECTFB_FORCE_RASTER=1
979  - Reenable support for RGB32 primary surface.
982 ****************************************************************************
983 * Important Behavior Changes *
984 ****************************************************************************
986  - The experimental Direct3D paint engine has been removed. The reason for
987    this is that Nokia focuses on OpenGL for desktop hardware accelerated
988    rendering.
990  - The default engine used to draw onto OpenGL buffers has changed in
991    Qt 4.6. The QPaintEngine::OpenGL2 engine is now used as the default
992    engine. This *may* cause compatibility problems for applications
993    that use a mix of QPainter and native OpenGL calls to draw into a GL
994    buffer. Use the QGL::setPreferredPaintEngine() function to enforce
995    usage of the old GL paint engine.
997  - When mixing OpenGL and QPainter calls you need to surround your
998    custom OpenGL calls with QPainter::beginNativePainting() and
999    QPainter::endNativePainting().
1000    This is to ensure that the paint engine flushes any pending drawing and sets
1001    up the GL modelview/projection matrices properly before you can issue custom
1002    OpenGL calls, and to let the paint engine synchronize to the painter state
1003    before resuming regular QPainter based drawing.
1005  - Graphics View has undergone heavy optimization work, and as a result of
1006    this work, the following behavior changes were introduced.
1008    a) QStyleOptionGraphicsItem::exposedRect now contains the item's bounding
1009       rectangle, and QStyleOptionGraphicsItem::matrix is uninitialized by
1010       default. You can enable an exact exposed rectangle and a correct matrix
1011       by enabling the flag QGraphicsItem::ItemUsesExtendedStyleOptions.
1013    b) QStyleOptionGraphicsItem::levelOfDetails is obsoleted and its value is
1014       always initialized to 1. Instead you can call
1015       QStyleOptionGraphicsItem::levelOfDetailFromTransform(const QTransform &)
1016       to determine the level of detail.
1018    c) QGraphicsView no longer calls QGraphicsView::drawItems(), and in turn
1019       QGraphicsScene::drawItems(), by default. You can get the old behavior
1020       back by enabling QGraphicsView::IndirectPainting.
1022    d) QGraphicsItem no longer calls itemChange() for position and
1023       transformation changes. If you want to receive notifications for changes
1024       to the item's position and transformation, you can set the flag
1025       QGraphicsItem::ItemSendsGeometryChanges (which is enabled by default by
1026       QGraphicsWidget and QGraphicsProxyWidget).
1028  - QDesktopWidget on X11 no longer emits the resized(int) signal when screens
1029    are added or removed. This was not done on other platforms. Use the
1030    screenCountChanged signal instead.
1032  - QUrl's parser is more strict when for hostnames in URLs. QUrl now
1033    enforces STD 3 rules:
1035     * each individual hostname section (between dots) must be at most
1036       63 ASCII characters in length;
1038     * only letters, digits, and the hyphen character are allowed in the
1039       ASCII range; letters outside the ASCII range follow the normal
1040       IDN rules
1042    That means QUrl no longer accepts some URLs that were invalid
1043    before, but weren't interpreted as such.
1045  - The Unix configure-time check for STL is stricter now in Qt
1046    4.6. This means some legacy STL implementations may fail to pass
1047    the test and, therefore, Qt will automatically disable STL support.
1049    This is a binary-compatible change: existing code will continue to
1050    work without being recompiled. However, it affects the source code,
1051    since some STL-compatibility API will not be enabled.
1053    Platforms affected by this change:
1054      * solaris-cc-* with the default (Cstd) C++ STL library
1055        recommendation: use -library=stlport4
1056        See Sun Studio's documentation for the effects of this option
1058  - QVariant has now a new implicit constructor that takes a float. This
1059    means that code that assigned a float to a variant would create a
1060    variant with userType QMetaType::Float, instead of QVariant::Double.
1062  - QDataStream will now read and write all floating point numbers with the
1063    same precision, regardless of whether it's streamed into or out from a
1064    float or double. This is to maintain compatibility across platforms with
1065    a different default precision for qreal. The default is 64-bit precision
1066    for all floating point numbers, and this can be changed using the new
1067    function setFloatingPointPrecision(). Set Qt_4_5 as the version of the
1068    QDataStream to get the behavior of previous versions.
1070  - On Mac OS X, QDesktopServices::storageLocation(DataLocation) now includes
1071    QCoreApplication::organizationName() and QCoreApplication::applicationName()
1072    if those are set. This matches the behavior on the other platforms.
1074  - The Animation Framework
1075    * currentTime() now returns the complete current time including previous
1076      loops.
1077    * currentLoopTime() returns the time inside the current loop.
1078    * stateChanged signal sends the new state as first parameter and old state
1079      as the second.
1080    * QAnimationGroup::clearAnimations() has been renamed to clear().
1081    * QAnimationGroup::insertAnimationAt() has been renamed to
1082      insertAnimation().
1083    * QAnimationGroup::takeAnimationAt() has been renamed to takeAnimation().
1084    * QSequentialAnimationGroup::insertPauseAt() has been renamed to
1085      insertPause().
1086    * [QT-941] Avoids timer ticks when there are only pause animations running.
1088 - Refactoring in OpenGL examples to improve portability and utilize the
1089   Animation framework for animation.  The hellogl and overpainting examples
1090   now compile on OpenGL/ES 1.1.  Also common code is factored.
1092 - Changed QWebFrame::setHtml() and setContent() to not affect the back/forward
1093   and the session history.
1095 - qmake no longer adds Qt internal dependencies to the linker when Qt
1096   is built in shared mode (not static). This means that applications
1097   that made use of platform-specific API may need to adjust the LIBS
1098   variable in their .pro files to match:
1100     X11: LIBS += -lX11
1101     Mac: LIBS += -framework AppKit -framework Carbon