dist/changes-4.7.0
changeset 30 5dc02b23752f
child 33 3e2da88830cd
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     1 Qt 4.7 introduces many new features and improvements as well as bugfixes
       
     2 over the 4.6.x series. For more details, refer to the online documentation
       
     3 included in this distribution. The documentation is also available online:
       
     4 
       
     5   http://qt.nokia.com/doc/4.7
       
     6 
       
     7 The Qt version 4.7 series is binary compatible with the 4.6.x series.
       
     8 Applications compiled for 4.6 will continue to run with 4.7.
       
     9 
       
    10 Some of the changes listed in this file include issue tracking numbers
       
    11 corresponding to tasks in the Qt Bug Tracker:
       
    12 
       
    13   http://bugreports.qt.nokia.com/
       
    14 
       
    15 Each of these identifiers can be entered in the bug tracker to obtain more
       
    16 information about a particular change.
       
    17 
       
    18 ****************************************************************************
       
    19 *                           General                                        *
       
    20 ****************************************************************************
       
    21 
       
    22 General Improvements
       
    23 --------------------
       
    24 
       
    25 - Documentation and Examples
       
    26 
       
    27 - Support for the GL_EXT_geometry_shader4, aka Geometry Shaders, was added
       
    28   to QGLShaderProgram.
       
    29 
       
    30 New features
       
    31 ------------
       
    32 
       
    33  - QNetworkSession, QNetworkConfiguration, QNetworkConfigurationManager
       
    34     * New bearer management classes added.
       
    35 
       
    36 Third party components
       
    37 ----------------------
       
    38 
       
    39  - Updated libpng to version 1.4.0
       
    40 
       
    41  - Updated libjpeg to version 8
       
    42 
       
    43  - Updated libtiff to version 3.9.2
       
    44 
       
    45 
       
    46 ****************************************************************************
       
    47 *                          Library                                         *
       
    48 ****************************************************************************
       
    49 
       
    50 QtCore
       
    51 ------
       
    52 
       
    53  - QMetaType
       
    54     * Significantly improved performance of the type() function
       
    55  - QState
       
    56     * [QTBUG-7741] Added a function to get the out-going transitions
       
    57  - QStateMachine
       
    58     * [QTBUG-8842] Reset history states when (re)starting machine
       
    59  - QXmlStreamReader
       
    60     * [QTBUG-9196] fixed crash when parsing
       
    61  - QTimer
       
    62     * singleShot with 0 timeout will now avoid allocating objects
       
    63 
       
    64 QtGui
       
    65 -----
       
    66 
       
    67  - QAbstractItemView
       
    68     * Fixed a bug that would cause keyboard searches not to behave
       
    69       properly when used within 400 milliseconds of midnight.
       
    70 
       
    71  - QComboBox
       
    72     * [QTBUG-8796] Made ForegroundRole work for all styles.
       
    73 
       
    74  - QPrinter
       
    75     * Obsoleted the slightly confusing setNumCopies() and numCopies()
       
    76       functions, and replaced them with setCopyCount(), copyCount() and
       
    77       supportsMultipleCopies().
       
    78 
       
    79  - QPrintDialog/QPrinter
       
    80     * Added support for printing the current page.
       
    81 
       
    82  - QCommonStyle
       
    83     * Fixed a bug that led to missing text pixels in QTabBar when using
       
    84       small font sizes. (QTBUG-7137)
       
    85 
       
    86  - QGraphicsEffect
       
    87     * Fixed rendering bugs when scrolling graphics items with drop
       
    88       shadows.
       
    89 
       
    90  - QGraphicsItem
       
    91     * [QTBUG-8112] itemChange() is now called when transformation
       
    92       properties change (setRotation, setScale, setTransformOriginPoint).
       
    93 
       
    94  - QGraphicsTextItem
       
    95     * [QTBUG-7333] Fixed keyboard shortcuts not being triggered when the
       
    96       the item has focus and something else has the same shortcut sequence.
       
    97 
       
    98  - QGraphicsView
       
    99     * [QTBUG-7438] Fixed viewport cursor getting reset when releasing
       
   100       the mouse.
       
   101 
       
   102  - QImage
       
   103     * [QTBUG-9640] Prevented unneccessary copy in QImage::setAlphaChannel().
       
   104     * [QTBUG-7982] Added QImage::bitPlaneCount().
       
   105 
       
   106  - QPicture
       
   107     * [QTBUG-4974] Printing QPictures containing text to a high resolution
       
   108       QPrinter would in many cases cause incorrect character spacing.
       
   109 
       
   110  - QPainter
       
   111     * Added QPainter::drawPixmapFragments(), which makes it possible to draw
       
   112       pixmaps, or sub-rectangles of pixmaps, at various positions with
       
   113       different scale, opacity and rotation.
       
   114     * [QTBUG-10018] Fixed image drawing inconsistencies when drawing
       
   115       1x1 source rects with rotating / shear / perspective transforms.
       
   116     * Optimized various blending and rendering operations for ARM
       
   117       processors with a NEON vector unit.
       
   118     * Fixed some performance issues when drawing sub-pixmaps of large
       
   119       pixmaps and falling back to raster in the X11 paint engine.
       
   120 
       
   121  - QPainterPath
       
   122     * [QTBUG-3778] Fixed bug in painter path polygon intersection code.
       
   123     * [QTBUG-7396] Optimized painter path intersections for when at
       
   124       least one of the paths is a rectangle by special casing.
       
   125     * [QTBUG-8035] Got rid of bezier intersection code in the boolean
       
   126       operators (intersect, subtract, unite) to prevent numerical
       
   127       stability issues.
       
   128 
       
   129  - QPixmap
       
   130     * [QTBUG-4149] Fixed QPixmap::grabWidget() on widgets that have not yet
       
   131       been shown.
       
   132     
       
   133  - QPlastiqueStyle
       
   134     * [QTBUG-6516] Respect AlternateBase role for list views.
       
   135 
       
   136  - QRegion
       
   137     * [QTBUG-7699] Fixed crash caused by large x-coordinates.
       
   138 
       
   139  - QSplitter
       
   140     * [QTBUG-9335] Improve support for 1-pixel splitters by using a 
       
   141       larger drag area.
       
   142 
       
   143  - QTransform
       
   144     * [QTBUG-8557] Fixed bug in QTransform::type() potentially occuring
       
   145       after using operator/ or operator* or their overloads.
       
   146 
       
   147 QtNetwork
       
   148 ---------
       
   149  - QHostInfo: Added a small 60 second DNS cache
       
   150  - QNetworkAccessManager
       
   151   * Performance improvements for file:// and http://
       
   152   * Crash fixes
       
   153   * Improvements on HTTP pipelining
       
   154   * Fix problem with canReadLine()
       
   155   * Fix problem with HTTP 100 reply
       
   156   * Some new attributes for QNetworkRequest
       
   157   * [QTBUG-8206] add method to send custom requests
       
   158   * [QTBUG-9618] [MR 2372] send secure cookies only over secure connections
       
   159   * [QTBUG-7713] Fix bug related to re-sending request
       
   160   * [QTBUG-7673] Fix issue with some webservers
       
   161  - Sockets
       
   162   * Better support for derived QTcpServer
       
   163   * [QTBUG-7054] Fix error handling with waitFor*() for socket engine
       
   164   * [QTBUG-7316, QTBUG-7317] Also handle unknown errors from socket engine
       
   165  - SSL
       
   166   * [QTBUG-2515] Do not make OpenSSL prompt for a password
       
   167   * [QTBUG-6504, QTBUG-8924, QTBUG-5645] Fix memleak
       
   168 
       
   169 QtOpenGL
       
   170 --------
       
   171  - QGLWidget
       
   172   * [QTBUG-7865] Fixed bug where GL widgets were not fully updated on
       
   173     Windows Vista/7 with Aero disabled.
       
   174 
       
   175 QtScript
       
   176 --------
       
   177  - Updated src/3rdparty/javascriptcore to a more recent version
       
   178  - Significantly improved performance of the Qt/C++<-->JavaScript bridge
       
   179  - QScriptValueIterator: Significantly improved performance
       
   180  - [QTBUG-3637] Added a wrap option for excluding slots from a QObject binding
       
   181  - [QTBUG-6238] Added a function for reporting additional memory cost
       
   182  - [QTBUG-6908] Significantly improved performance of qsTr()
       
   183 
       
   184 QtSvg
       
   185 -----
       
   186  - QSvgRenderer
       
   187   * [QTBUG-8264] Fixed rounded rectangles when 'rx' or 'ry' is zero.
       
   188   * [QTBUG-10022] Fixed assert failure when loading an invalid SVG.
       
   189 
       
   190 QtXmlPatterns
       
   191 -------------
       
   192 
       
   193  - [QTBUG-8920] fixed crash with anonymous types in XsdSchemaChecker
       
   194  - [QTBUG-8394] include/import/redefine schemas only once
       
   195  - QXmlSchema: fix crash with referencing elements
       
   196 
       
   197 Qt Plugins
       
   198 ----------
       
   199 
       
   200  - Jpeg image IO plugin
       
   201     * Fixed failure to store certain QImage formats as jpeg (QTBUG-7780)
       
   202     * Optimized smoothscaling
       
   203     * Optimized to avoid data copy when reading from memory device (QTBUG-9095)
       
   204 
       
   205  - SVG image IO plugin
       
   206     * Added support for svgz format (QTBUG-8227)
       
   207     * Fixed canRead() so that it can be used also for non-sequential
       
   208       devices. (QTBUG-9053)
       
   209     * Added support for clipping and scaling and backgroundcolor
       
   210     * Optimized to avoid data copy when reading from memory device (QTBUG-9095)
       
   211 
       
   212 ****************************************************************************
       
   213 *                          Database Drivers                                *
       
   214 ****************************************************************************
       
   215 
       
   216 
       
   217 ****************************************************************************
       
   218 *                      Platform Specific Changes                           *
       
   219 ****************************************************************************
       
   220 
       
   221 Qt for Linux/X11
       
   222 ----------------
       
   223  - QGtkStyle
       
   224     * Fixed rtl issues with sliders (QTBUG-8986)
       
   225     * Fixed missing pressed appearance on scroll bar handles. (QTBUG-10396)  
       
   226 
       
   227 Qt for Windows
       
   228 --------------
       
   229  - Popup windows now implicitly activate when shown. (QTBUG-7386)
       
   230 
       
   231  - QLocalSocket
       
   232     * Pipe handle leak fixed, when closing a QLocalSocket that still has
       
   233       unwritten data. (QTBUG-7815)
       
   234     * Fixed closing state for local sockets with unwritten data. (QTBUG-9681)
       
   235     * Improved performance of writing to QLocalSocket.
       
   236 
       
   237 
       
   238 Qt for Mac OS X
       
   239 ---------------
       
   240  - QMacStyle
       
   241     * Removed frame around statusbar items. (QTBUG-3574)
       
   242     * More native appearance of item view headers and frames. (QTBUG-10047)    
       
   243 
       
   244 Qt for Embedded Linux
       
   245 ---------------------
       
   246 
       
   247   * Add support for WA_TranslucentBackground (QTBUG-5739)
       
   248   * Add support for QFont::NoAntialias (QTBUG-5936)
       
   249 
       
   250 Qt for Windows CE
       
   251 -----------------
       
   252 
       
   253  - Core changes
       
   254     * Fixed menu handling on Windows mobile. (QTBUG-8754)
       
   255     * Fixed a crash when receiving a certain type of WM_SETTINGSCHANGE
       
   256       message. (QTBUG-7943)
       
   257 
       
   258  - QWindowsMobileStyle
       
   259     * Huge performance penalty for QTabWidget fixed for
       
   260       Windows mobile 6.5. (QTBUG-8419)
       
   261     * QTabBar scroll button size has been fixed. (QTBUG-8757)
       
   262     * Detection of Windows mobile 6.5 fixed. (QTBUG-8418)
       
   263 
       
   264 
       
   265 
       
   266 ****************************************************************************
       
   267 *                      Compiler Specific Changes                           *
       
   268 ****************************************************************************
       
   269 
       
   270 
       
   271 ****************************************************************************
       
   272 *                          Tools                                           *
       
   273 ****************************************************************************
       
   274 
       
   275 - Build System
       
   276 
       
   277   - "configure -fast" on Windows now also works for other make tools than
       
   278     nmake. (QTBUG-8562)
       
   279 
       
   280 - Assistant
       
   281 
       
   282 
       
   283 - Designer
       
   284  - [QTBUG-9351] Fixed a bug that caused modified headerview-properties
       
   285    of item views to be duplicated in the UI-file.
       
   286  - [QTBUG-8347] Fixed a layout problem caused by embedded images in the rich
       
   287    text of a QLabel.
       
   288  - [QTBUG-8041], [QTBUG-8213] Fixed a crash related to undo while moving
       
   289    widgets by arrow keys.
       
   290  - [QTBUG-7822] Added support for the 'windowOpacity'-property.
       
   291  - [QTBUG-7764] Fixed the emission of the propertyChanged()-signal of
       
   292    QDesignerPropertyEditorInterface.
       
   293  - [QTBUG-5492] Made widgetbox-filter match on class names, too.
       
   294 
       
   295 - Linguist
       
   296   - Linguist GUI
       
   297 
       
   298   - lupdate
       
   299 
       
   300   - lrelease
       
   301 
       
   302 
       
   303 - rcc
       
   304 
       
   305 
       
   306 - moc
       
   307 
       
   308 
       
   309 - uic
       
   310 
       
   311 - uic3
       
   312 
       
   313  - [QTBUG-9207] Fixed export of image files of type XPM, added
       
   314    compatibility option -limit-xpm-linelength.
       
   315 
       
   316 - qmake
       
   317 
       
   318 
       
   319 - configure
       
   320 
       
   321 
       
   322 - qtconfig
       
   323 
       
   324 
       
   325 - qt3to4
       
   326 
       
   327 
       
   328 ****************************************************************************
       
   329 *                          Plugins                                         *
       
   330 ****************************************************************************
       
   331 
       
   332 
       
   333 ****************************************************************************
       
   334 *                   Important Behavior Changes                             *
       
   335 ****************************************************************************
       
   336 
       
   337 QtScript: Changes due to updating src/3rdparty/javascriptcore:
       
   338  - It is no longer possible to delete an undeletable property from C++
       
   339    using QScriptValue::setProperty().
       
   340  - The QScriptEngineAgent::positionChange() callback will always report
       
   341    a column number of 1.
       
   342  - QScriptValueIterator will include the "length" property when iterating
       
   343    over Array objects.