dist/changes-4.6.1
changeset 18 2f34d5167611
parent 3 41300fa6a67c
equal deleted inserted replaced
3:41300fa6a67c 18:2f34d5167611
    18 
    18 
    19 ****************************************************************************
    19 ****************************************************************************
    20 *                           General                                        *
    20 *                           General                                        *
    21 ****************************************************************************
    21 ****************************************************************************
    22 
    22 
    23 New features
       
    24 ------------
       
    25 
       
    26  - SomeClass, SomeOtherClass
       
    27     * New classes for foo, bar and baz
       
    28 
       
    29 Optimizations
    23 Optimizations
    30 -------------
    24 -------------
    31 
    25 
    32  - Optimized foo in QSomeClass
    26  - Optimized empty QUrl creation
    33     * See list of Important Behavior Changes below
    27     * [QTBUG-4030] Empty QUrls no longer allocate memory now
       
    28 
       
    29  * See list of Important Behavior Changes below
    34 
    30 
    35 
    31 
    36 ****************************************************************************
    32 ****************************************************************************
    37 *                          Library                                         *
    33 *                          Library                                         *
    38 ****************************************************************************
    34 ****************************************************************************
    39 
    35 
    40 QtCore
    36 QtCore
    41 ------
    37 ------
    42 
    38 
    43  - foo
    39  - QFile
    44     * bar
    40     * Improve performance of getting the canonical filename on Linux
       
    41       and Symbian by using realpath() system call.
       
    42     * Avoid stat() when opening a file.
       
    43 
       
    44  - QLibrary and QPluginLoader
       
    45     * Do not look at the Qt patch-level version embedded in plugins'
       
    46       buildkeys when trying to determine if the plugin is compatible
       
    47 
       
    48  - QProcessEnvironment
       
    49     * [QTBUG-6701] Ensure we don't crash in operator==
       
    50 
       
    51  - QTextEncoder
       
    52     * [merge request 399] QTextEncoder::fromUnicode as QT3 support
       
    53       member
       
    54 
       
    55  - QXmlStreamreader
       
    56     * [merge request 1926] Fix parsing of DTDs that contain empty markup
       
    57       declarations.
    45 
    58 
    46 QtGui
    59 QtGui
    47 -----
    60 -----
    48 
    61 
       
    62  - QApplication
       
    63     * [QTBUG-6654] Fix crashes when deleting QWidgets in touch event
       
    64       handlers.
       
    65  - QGraphicsEffect
       
    66     * [QTBUG-5918] Fixed redraw bugs when using graphics effects on
       
    67       items while animating them by transformations.
       
    68  - QGraphicsItem
       
    69     * [QTBUG-5917] Fixed memory leaks when removing a QGraphicsEffect from
       
    70       a QGraphicsItem or QWidget with setGraphicsEffect(0).
       
    71     * [QTBUG-5859] Fixes incorrect rounding of the exposed rectangle of the
       
    72       QGraphicsItem causing painting issues when scaling the QGraphicsView.
       
    73     * [QTBUG-5071] Fixes transformation problems when grouping/ungrouping
       
    74       the item with a QGraphicsItemGroup.
       
    75  - QGraphicsObject
       
    76     * 'id' property was removed. Use the 'objectName' property instead.
       
    77  - QGraphicsScene
       
    78     * [QTBUG-6654] Fix crashes when deleting QGraphicsItems in touch
       
    79       event handlers.
       
    80  - QGraphicsView
       
    81     * [QTBUG-6935] When using CacheBackground, the background is now
       
    82       correctly repainted after the QGraphicsView is shown after being
       
    83       hidden.
       
    84     * [QTBUG-6835] Mouse tracking is now automatically enabled when using
       
    85       AnchorUnderMouse for view transformation.
       
    86     * [QTBUG-6958] Fix speed regression in _q_polishItems()
       
    87     * [QTBUG-6544] Fix a crash on the focus chain when removing items from 
       
    88       the scene.
       
    89     * Fix a crash in KDE/Plasma with QGraphicsView with topLevels.
       
    90  - QGraphicsWidget
       
    91     * [QTBUG-6272] Only call updateFont if the font has changed.
       
    92  - QPainter
       
    93     * [QTBUG-5939] Fixed incorrect redirection matrix that was causing
       
    94       wrong transformation for QGraphicsProxyWidgets.
       
    95     * [QTBUG-6684] Added optimizations of 32-bit blend functions
       
    96       for ARM platforms with NEON support.
    49  - QPixmap
    97  - QPixmap
    50     * load() and loadFromData() can now support compressed GL textures
    98     * load() and loadFromData() can now support compressed GL textures
    51       in the DDS, ETC1, PVRTC2, and PVRTC4 formats if the OpenGL graphics
    99       in the DDS, ETC1, PVRTC2, and PVRTC4 formats if the OpenGL graphics
    52       system is active and the appropriate extensions are present in the
   100       system is active and the appropriate extensions are present in the
    53       GL implementation.
   101       GL implementation.
       
   102     * [QTBUG-6840] Fixed load() to not modify referenced copies.
       
   103     * [QTBUG-5840] Fixed a crash in fromImage() when passing in a null image.
       
   104     * [QTBUG-6116] Fixed memory leak where a global object was not destroyed
       
   105       at program exit.
       
   106  - QPixmapCache
       
   107     * Fixed a small leak when using the new QPixmapCache::Key based API.
       
   108  - QPrinter
       
   109     * [QTBUG-3412] QGraphicsProxyWidgets are now rendered correctly when
       
   110       printing a QGraphicsScene to PDF format.
       
   111  - QRasterPixmapData
       
   112     * [QTBUG-6985] Fixed metric() to return the correct height in mm.
       
   113  - QTextDocument
       
   114     * [QTBUG-5397] Fixed printing of QTextDocuments not including custom
       
   115       text objects.
       
   116     * [QTBUG-6051] Fixed an endless loop when printing a QTextDocument.
    54 
   117 
    55 QtDBus
   118 QtDBus
    56 ------
   119 ------
    57 
   120 
    58  - foo
   121  - QDBusConnection
    59     * bar
   122     * [QTBUG-5979] Fixed the signal-delivery mechanism to update
       
   123       correctly when the sender name changes/appears on the bus.
       
   124     * [QTBUG-7041] Fixed marshalling of booleans in release mode.
       
   125     * [QT-2307] Fixed calls with the QDBus::BlockWithGui mode.
       
   126  - QDBusInterface
       
   127     * Made it continue working even when the remote object
       
   128       introspection fails.
       
   129  - QDBusInterface and qdbuscpp2xml
       
   130     * [QTBUG-5563] Fixed an issue with generating annotations in
       
   131       signals.
       
   132  - QDBusPendingReply and QDBusReply
       
   133     * [QTBUG-6571] Fixed a crash that would happen if you tried to
       
   134       make a call with a disconnected QDBusConnection.
       
   135 
       
   136 QtMultimedia
       
   137 ------------
       
   138 
       
   139  - QAudioOutput
       
   140    * [Merge request 418] Fixed compilation the example provided for
       
   141      QAudioOutput::start.
    60 
   142 
    61 QtNetwork
   143 QtNetwork
    62 ---------
   144 ---------
    63 
   145 
    64  - foo
   146  - QNetworkAccessManager
    65     * bar
   147     * HTTP: Send our locale with the HTTP request.
       
   148     * HTTP: Start Accept-language and Authorization header with capital letter.
       
   149     * HTTP: Fix caching algorithm, matching RFC 2612 and the documentation.
       
   150     * HTTP [QTBUG-7060]: Fix an issue with headers like "private, max-age=300".
       
   151     * file: Introduce special subclass for higher performance with file:// URLs.
       
   152  - QTcpSocket
       
   153     * [QTBUG-5799] Fix waitForConnected() on Windows.
       
   154  - QNetworkProxyFactory
       
   155     * Fixed systemProxyForQuery(), it could sometimes return invalid empty list
       
   156       on Windows.
       
   157  - QNetworkCookieJar
       
   158     * [QTBUG-5815] Do not check paths when accepting cookies.
       
   159  - QHostInfo
       
   160     * Use five parallel threads for host lookup instead of one.
    66 
   161 
    67 QtOpenGL
   162 QtOpenGL
    68 --------
   163 --------
    69 
   164 
       
   165  - QGL2PaintEngineEx
       
   166     * Performance: Don't mark brush as dirty if it hasn't changed.
       
   167     * Performance: Use 3x3 PMV matrices rather than 4x4.
       
   168     * Performance: Move the 0.5 offset we add for aliased rendering to
       
   169       updateMatrix().
       
   170     * Performance: Remove superfluous enable/disable vertex attrib arrays.
       
   171     * Performance: Track the glVertexAttribPointer and only update it if it's
       
   172       changed.
       
   173     * [QTBUG-7094]  Introduce new "snapToPixelGrid" flag for drawText.
    70  - QGLContext
   174  - QGLContext
    71     * bindTexture(QString) now supports DDS, ETC1, PVRTC2, and PVRTC4
   175     * bindTexture(QString) now supports DDS, ETC1, PVRTC2, and PVRTC4
    72       compressed textures if the appropriate extensions are present
   176       compressed textures if the appropriate extensions are present
    73       in the GL implementation.
   177       in the GL implementation.
    74 
   178     * bindTexture(QImage): Reduce double-copying of textures when flipping.
    75 QtScript
   179     * [QTBUG-6454] Better EGL extension checking to avoid prefix problems
       
   180       with EGL_foo matching EGL_foo_bar.
       
   181     * [QTBUG-6217] Work around problems with glColor4ub() on Intel Q45/Q43
       
   182       Express by consistently using glColor4f() everywhere.
       
   183     * bindTexture(QImage): Fix GL_BGRA formats under OpenGL/ES by using
       
   184       the same value for both internal and external texture formats.
       
   185     * [QTBUG-5041] Disable depth testing while in renderText().
       
   186  - QGLEngineSelector
       
   187     * [QTBUG-5638] Detect GL2 based on fragment shaders, not programs.
       
   188       Fragment programs are a GL1 feature.
       
   189  - QGLFramebufferObject
       
   190     * [QTBUG-6712] Update docs to better explain how QPainter changes
       
   191       the GL state when used on an FBO.
       
   192  - QGLGlyphCache
       
   193     * [QTBUG-6936] Fix memory leak of QGLGlyphCoord objects.
       
   194  - QGLPaintDevice
       
   195     * [QTBUG-6204] Rebind window surface FBO after native GL rendering.
       
   196  - QGLPixmapData
       
   197     * [QTBUG-6902] Align GL_RGB data on a 4-byte line boundary.
       
   198  - QGLWidget
       
   199     * [QTBUG-5002, QTBUG-6931] Fixed QGLWidget::renderText().
       
   200     * Fixed WA_TranslucentBackground for QGLWidgets on X11/EGL.
       
   201     * Fix EGL surface leaks when re-parenting on X11/EGL.
       
   202  - QTriangulatingStroker
       
   203     * [QTBUG-6045] Crash in dashed line handling in the GL stroker.
       
   204 
       
   205 QtOpenVG
    76 --------
   206 --------
    77 
   207 
    78  - foo
   208  - [QT-2555] Automatically destroy VG pixmaps when the last window surface
    79     * bar
   209    goes away to reduce memory consumption of backgrounded applications.
       
   210  - [QTBUG-6639] Recover from out-of-memory when creating VGImage's.
       
   211  - [QT-2554] Add a VGImage allocation pool to support reclaiming older
       
   212    images when the GPU runs out of memory.
       
   213  - [QTBUG-7051] Reset the OpenVG scissor after a native painting call-out.
       
   214  - [QTBUG-7015] Avoid deep copies of QImage in QImage::bits() calls.
       
   215 
       
   216 QtWebKit
       
   217 --------
       
   218 
       
   219  - Fixed user agent string on Symbian (webkit.org/b/31961).
       
   220  - QWebInspector: Don't disable when hiding (webkit.org/b/31851).
       
   221  - Fix JavaScript prompt behaviour for empty/null strings (webkit.org/b/30914).
       
   222  - Fixed lastIndexOf() on Symbian (webkit.org/b/31773).
       
   223  - Fixed crash with Flash on Windows with MinGW.
       
   224  - Fixed wrapping of QObjects with recurring identity (webkit.org/b/31681).
       
   225  - Fixed compilation with ICC.
       
   226  - Fixed assertion when dragging SVG images (webkit.org/b/32511).
       
   227  - Added the framecapture example to the default build (merge request 2235)
       
   228  - Fixed crash with ACID3 test on Symbian
       
   229  - Fixed security issue XSL stylesheets and security origins.
    80 
   230 
    81 QtSql
   231 QtSql
    82 -----
   232 -----
    83 
   233 
    84  - foo
   234  - [QTBUG-5373] Fixed QSqlRelationalTableModel doesn't correctly work with
    85     * bar
   235    relation in other database schema.
    86 
   236  - [QTBUG-5298] (OCI) Fixed QSqlDatabase.tables() does not work with system
    87 QtXml
   237    tables.
       
   238  - [QTBUG-6421] Fixed setForwardOnly() for both OCI and SQLite.
       
   239  - [QTBUG-6618] (ODBC) Fixed segfault when error string is larger than 256
       
   240    chars.
       
   241  - [QTBUG-4461] (OCI) Fixed problem with clobs being handled as binary.
       
   242 
       
   243 QtSvg
    88 -----
   244 -----
    89 
   245 
    90  - foo
   246  - QSvgRenderer
    91     * bar
   247     * [QTBUG-6867] Fixed regression in the parsing of paths with relative
       
   248       offsets.
       
   249     * [QTBUG-6899] Fixed crash when parsing invalid coordinate list.
       
   250  - QtXmlPatterns
       
   251     * [QTBUG-6771] Fixed static builds.
    92 
   252 
    93 Qt Plugins
   253 Qt Plugins
    94 ----------
   254 ----------
    95 
   255 
    96  - foo
   256  - JPEG plugin
    97     * bar
   257     * Remove obsolete parameter string handling.
    98 
   258     * [QT-2023] Re-implement ScaledSize, ClipRect, ScaledClipRect with
    99 Third party components
   259       libjpeg features for greater performance.
   100 ----------------------
   260  - PBM plugin
   101 
   261     * [QTBUG-6937] Use Mono instead of MonoLSB when writing pbm files.
   102  - Updated foo to version 2.3.9.
   262  - TIFF plugin
   103 
   263     * [QTBUG-6870] BitsPerSample should default to 1 in TIFF files.
   104  - Updated bar to the latest version from baz.org.
   264  - PNG plugin
       
   265     * [QTBUG-7161] Avoid a deep copy of QImage::bits() in the png writer.
   105 
   266 
   106 
   267 
   107 ****************************************************************************
   268 ****************************************************************************
   108 *                      Platform Specific Changes                           *
   269 *                      Platform Specific Changes                           *
   109 ****************************************************************************
   270 ****************************************************************************
   110 
   271 
   111 Qt for Unix (X11 and Mac OS X)
   272 Qt for Unix (X11 and Mac OS X)
   112 ------------------------------
   273 ------------------------------
   113 
   274 
   114  - 
   275  - [QTBUG-6755] Ensure we don't call select(2) with a negative timeout
       
   276    if the timer expires during timeout recalculation.
       
   277  - Added mkspecs for Sun CC that enable -library=stlport by default,
       
   278    to restore STL capability with that compiler.
       
   279  - [QTBUG-6576] Fixed compilation on HP-UX 11.11.
       
   280  - [QTBUG-6961] Fixed compilation on HURD.
   115 
   281 
   116 Qt for Linux/X11
   282 Qt for Linux/X11
   117 ----------------
   283 ----------------
   118 
   284 
   119  -
   285  - [QTBUG-5732] Fixed querying of GLX extensions under X11.
       
   286  - [QTBUG-5547] Fixed handling of the "..." button.
       
   287  - Added new mkspec for Maemo targets (linux-g++-maemo).
       
   288  - Added new mkspec for Scratchbox host compiler (unsupported/linux-host-g++).
       
   289  - QGuiEventDispatcherGlib (internal class)
       
   290     * Fix regression introduced in 4.6.0 that could cause X11 event
       
   291       processing to starve timer events.
       
   292  - QFileSystemWatcher
       
   293     * [QTBUG-4840] Fix memory leak in the dnotify implementation.
       
   294  - QIcon
       
   295     * [QTBUG-6121] Fixed a problem causing svg-based icon themes to look fuzzy.
       
   296  - QGtkStyle
       
   297     * [QTBUG-6484] Ensure that gtk-enable-mnemonics is respected.
   120 
   298 
   121 Qt for Windows
   299 Qt for Windows
   122 --------------
   300 --------------
   123 
   301 
   124  -
   302  - [QTBUG-5145] Compile fixes for win32-icc.
       
   303  - QAtomicPointer
       
   304     * [QTBUG-6079] Fix compilation for 64-bit Windows targets.
       
   305  - QEventDispatchWin32 (internal class)
       
   306     * [QTBUG-6083] Fix a performance regression introduced in 4.6.0
       
   307       that would cause all Qt posted events to be sent at 15-16ms
       
   308       intervals (instead of as quickly as possible).
       
   309  - Vista/XP styles
       
   310     * [QTBUG-6271] Fixed a compatibility issue with MDI windows in 
       
   311       certain non-standard themes.
   125 
   312 
   126 Qt for Mac OS X
   313 Qt for Mac OS X
   127 ---------------
   314 ---------------
   128 
   315 
   129  -
   316  - QPixmap
   130 
   317    * [QTBUG-5070] Fixed a crash on Mac that could occur when loading
   131 Qt for Embedded Linux
   318      pixmaps of different sizes into the same QPixmap object.
   132 ---------------------
   319  - [QTBUG-6973] Fixed a memory leak when using QWidget::setWindowIcon() in
   133 
   320    Carbon.
   134  -
   321  - [QTBUG-5186] Fixed a bug which caused drag and drop icons to show 
   135 
   322    incorrectly.
   136 DirectFB
   323  - [QTBUG-6636] Fixed a crash due to stack overflow in QColorDialog on Cocoa.
   137 --------
   324  - [QTBUG-6378] Fix a text cursor rendering bug.
   138 
   325  - [QTBUG-6636] Fixed a crash when calling removeToolBar on Mac native toolbars
   139  -
   326    using Cocoa.
   140 
   327  - [QTBUG-5613] Fixed a bug where the application refused to quit when showing
   141 Qt for Windows CE
   328    a single modal dialog.
   142 -----------------
   329  - Gestures are now available for the Carbon port also when building Qt against
   143 
   330    SDK < 10.6
   144  -
   331 
       
   332 Qt for Symbian
       
   333 --------------
       
   334 
       
   335  - QApplication
       
   336    * [QTBUG-6098] Added a flag to avoid construction of application panes.
       
   337  - Other:
       
   338    * [QTBUG-4990] Rewrote most of the regular pointer handling.
       
   339 
   145 
   340 
   146 ****************************************************************************
   341 ****************************************************************************
   147 *                          Tools                                           *
   342 *                          Tools                                           *
   148 ****************************************************************************
   343 ****************************************************************************
   149 
   344 
   150  - Designer
   345  - Designer
   151    * foo
   346    * [QTBUG-6863] Fixed static linking on Mac.
   152 
   347    * [QTBUG-6760] Fixed display of action shortcut in action editor.
   153  - qdoc3
   348    * [QTBUG-6505] Fixed handling of QHeaderView properties.
   154    * bar
   349    * [QTBUG-5335] Fixed handling of layout margins of custom containers.
   155 
   350 
   156  - Linguist
   351  - uic
   157    * baz
   352    * [QTBUG-5824] Fixed code generation to generate a call to
       
   353      QMainWindow::setCentralWidget() for promoted widgets as well.
   158 
   354 
   159 ****************************************************************************
   355 ****************************************************************************
   160 * Important Behavior Changes *
   356 * Important Behavior Changes *
   161 ****************************************************************************
   357 ****************************************************************************
   162 
   358 
   163  -
   359  - Phonon
   164 
   360    * Include headers have been changed. The only official method for
       
   361      including Phonon headers is <phonon/ClassName> or
       
   362      <phonon/classname.h>. This change was necessary because of
       
   363      frameworks on Mac.
       
   364 
       
   365      Compatibility is provided for <Phonon/*> includes, but is not
       
   366      guaranteed to work. Including <phonon> and <Phonon> is not
       
   367      supported.
       
   368