dist/changes-4.7.0
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
child 37 758a864f9613
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    30 New features
    30 New features
    31 ------------
    31 ------------
    32 
    32 
    33  - QNetworkSession, QNetworkConfiguration, QNetworkConfigurationManager
    33  - QNetworkSession, QNetworkConfiguration, QNetworkConfigurationManager
    34     * New bearer management classes added.
    34     * New bearer management classes added.
    35 
    35 	
       
    36  - QStaticText class was added to support high-performance output of 
       
    37    seldomly altered text. 
       
    38 	
    36 Third party components
    39 Third party components
    37 ----------------------
    40 ----------------------
    38 
    41 
    39  - Updated libpng to version 1.4.0
    42  - Updated libpng to version 1.4.0
    40 
    43 
    48 ****************************************************************************
    51 ****************************************************************************
    49 
    52 
    50 QtCore
    53 QtCore
    51 ------
    54 ------
    52 
    55 
       
    56  - QString
       
    57     * Added QString(const QChar *) constructor.
       
    58       NOTE: This is source-incompatible for the bogus QString(0) case.
       
    59     * Removed internal but exported qt_winQString2MB() and qt_winMB2QString()
       
    60     * Added setRawData() function (also revived the one in QByteArray)
       
    61     * Various performance improvements
       
    62  - QList
       
    63     * Added reserve() function
       
    64     * Various performance improvements
    53  - QMetaType
    65  - QMetaType
    54     * Significantly improved performance of the type() function
    66     * Significantly improved performance of the type() function
       
    67     * [QTBUG-8235] Support QEasingCurve as a built in metatype.
       
    68     * Added possibility to register several name for the same type with
       
    69       qRegisterMetaType<>() (ie. for typedef)
    55  - QState
    70  - QState
    56     * [QTBUG-7741] Added a function to get the out-going transitions
    71     * [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
    72  - QXmlStreamReader
    60     * [QTBUG-9196] fixed crash when parsing
    73     * [QTBUG-9196] fixed crash when parsing
    61  - QTimer
    74  - QTimer
    62     * singleShot with 0 timeout will now avoid allocating objects
    75     * singleShot with 0 timeout will now avoid allocating objects
       
    76  - QAbstractAnimation
       
    77     * [QTBUG-10654] Avoids animation with loopCount == 0 to change state
       
    78       to running and stopped.
       
    79  - QVarLenghtArray
       
    80     * Added some API to be more consistant with other containers
    63 
    81 
    64 QtGui
    82 QtGui
    65 -----
    83 -----
    66 
    84  
    67  - QAbstractItemView
    85  - QAbstractItemView
    68     * Fixed a bug that would cause keyboard searches not to behave
    86     * Fixed a bug that would cause keyboard searches not to behave
    69       properly when used within 400 milliseconds of midnight.
    87       properly when used within 400 milliseconds of midnight.
    70 
    88 
    71  - QComboBox
    89  - QComboBox
    72     * [QTBUG-8796] Made ForegroundRole work for all styles.
    90     * [QTBUG-8796] Made ForegroundRole work for all styles.
    73 
    91 				
    74  - QPrinter
    92  - QPrinter
    75     * Obsoleted the slightly confusing setNumCopies() and numCopies()
    93     * Obsoleted the slightly confusing setNumCopies() and numCopies()
    76       functions, and replaced them with setCopyCount(), copyCount() and
    94       functions, and replaced them with setCopyCount(), copyCount() and
    77       supportsMultipleCopies().
    95       supportsMultipleCopies().
    78 
    96 
    88       shadows.
   106       shadows.
    89 
   107 
    90  - QGraphicsItem
   108  - QGraphicsItem
    91     * [QTBUG-8112] itemChange() is now called when transformation
   109     * [QTBUG-8112] itemChange() is now called when transformation
    92       properties change (setRotation, setScale, setTransformOriginPoint).
   110       properties change (setRotation, setScale, setTransformOriginPoint).
       
   111     * [QTBUG-9024] Improved performance when calling update() on items that
       
   112       are clipped by an ancestor (QGraphicsItem::ItemClipsChildrenToShape).
       
   113     * [QTBUG-7703], [QTBUG-8378] Fixed scrolling issues
       
   114     * [QTBUG-12112] Fixed focusItem() returning incorrect value.
    93 
   115 
    94  - QGraphicsTextItem
   116  - QGraphicsTextItem
    95     * [QTBUG-7333] Fixed keyboard shortcuts not being triggered when the
   117     * [QTBUG-7333] Fixed keyboard shortcuts not being triggered when the
    96       the item has focus and something else has the same shortcut sequence.
   118       the item has focus and something else has the same shortcut sequence.
       
   119     * [QTBUG-10574] Fixed crash when flag "QGraphicsItem::ItemIgnoresTransformations"
       
   120       is set.
    97 
   121 
    98  - QGraphicsView
   122  - QGraphicsView
    99     * [QTBUG-7438] Fixed viewport cursor getting reset when releasing
   123     * [QTBUG-7438] Fixed viewport cursor getting reset when releasing
   100       the mouse.
   124       the mouse.
       
   125     * [QTBUG-10338] Fixed drawing artifacts due to rounding errors.
       
   126 
       
   127  - QGraphicsWidget
       
   128     * [QTBUG-12056] Fixed a crash occuring when adding a QGraphicsWidget
       
   129       to a scene after removing and deleting another QGraphicsWidget.
   101 
   130 
   102  - QImage
   131  - QImage
   103     * [QTBUG-9640] Prevented unneccessary copy in QImage::setAlphaChannel().
   132     * [QTBUG-9640] Prevented unneccessary copy in QImage::setAlphaChannel().
   104     * [QTBUG-7982] Added QImage::bitPlaneCount().
   133     * [QTBUG-7982] Added QImage::bitPlaneCount().
       
   134     * [QTBUG-9072] Fixed alpha check for 1-bit-per-pixel images.
   105 
   135 
   106  - QPicture
   136  - QPicture
   107     * [QTBUG-4974] Printing QPictures containing text to a high resolution
   137     * [QTBUG-4974] Printing QPictures containing text to a high resolution
   108       QPrinter would in many cases cause incorrect character spacing.
   138       QPrinter would in many cases cause incorrect character spacing.
   109 
   139 
   115       1x1 source rects with rotating / shear / perspective transforms.
   145       1x1 source rects with rotating / shear / perspective transforms.
   116     * Optimized various blending and rendering operations for ARM
   146     * Optimized various blending and rendering operations for ARM
   117       processors with a NEON vector unit.
   147       processors with a NEON vector unit.
   118     * Fixed some performance issues when drawing sub-pixmaps of large
   148     * Fixed some performance issues when drawing sub-pixmaps of large
   119       pixmaps and falling back to raster in the X11 paint engine.
   149       pixmaps and falling back to raster in the X11 paint engine.
       
   150     * [QTBUG-7596] Safeguard ourselves against corrupt registry values for
       
   151       ClearType gamma on Windows.
       
   152     * [QTBUG-9218] Fixed flattening of largely scaled, thin, dashed beziers.
       
   153     * [QTBUG-9437] Fixed crash in the raster paint engine when drawing largely
       
   154       scaled images.
   120 
   155 
   121  - QPainterPath
   156  - QPainterPath
   122     * [QTBUG-3778] Fixed bug in painter path polygon intersection code.
   157     * [QTBUG-3778] Fixed bug in painter path polygon intersection code.
   123     * [QTBUG-7396] Optimized painter path intersections for when at
   158     * [QTBUG-7396] Optimized painter path intersections for when at
   124       least one of the paths is a rectangle by special casing.
   159       least one of the paths is a rectangle by special casing.
   125     * [QTBUG-8035] Got rid of bezier intersection code in the boolean
   160     * [QTBUG-8035] Got rid of bezier intersection code in the boolean
   126       operators (intersect, subtract, unite) to prevent numerical
   161       operators (intersect, subtract, unite) to prevent numerical
   127       stability issues.
   162       stability issues.
       
   163     * [QTBUG-11291] Fixed infinite recursion when drawing very large painter
       
   164       paths.
   128 
   165 
   129  - QPixmap
   166  - QPixmap
   130     * [QTBUG-4149] Fixed QPixmap::grabWidget() on widgets that have not yet
   167     * [QTBUG-4149] Fixed QPixmap::grabWidget() on widgets that have not yet
   131       been shown.
   168       been shown.
   132     
   169     
   137     * [QTBUG-7699] Fixed crash caused by large x-coordinates.
   174     * [QTBUG-7699] Fixed crash caused by large x-coordinates.
   138 
   175 
   139  - QSplitter
   176  - QSplitter
   140     * [QTBUG-9335] Improve support for 1-pixel splitters by using a 
   177     * [QTBUG-9335] Improve support for 1-pixel splitters by using a 
   141       larger drag area.
   178       larger drag area.
   142 
   179 	  	  
       
   180  - QTextDocumentWriter
       
   181     * Fixed tab-stops and table padding in ODF export.
       
   182 
       
   183  - QTextLayout
       
   184     * [QTBUG-11427] Fix possible crash in QTextLayout for glyphless 
       
   185       items.
       
   186     * [QTBUG-8864] Fix regression in right alignment of text with 
       
   187       negative right bearing.
       
   188 	  
   143  - QTransform
   189  - QTransform
   144     * [QTBUG-8557] Fixed bug in QTransform::type() potentially occuring
   190     * [QTBUG-8557] Fixed bug in QTransform::type() potentially occuring
   145       after using operator/ or operator* or their overloads.
   191       after using operator/ or operator* or their overloads.
       
   192 	  
       
   193 QtOpenGL
       
   194 --------
       
   195  - Improve performance of text by adding special cased fragment shader.
       
   196  
       
   197  - Made width and height of glyph cache power-of-two for performance 
       
   198    improvements on some hardware.
       
   199    
       
   200  - [QTBUG-9706] Improved appearance of text antialiasing.
       
   201 
       
   202  - QTreeView
       
   203     * Optimized
   146 
   204 
   147 QtNetwork
   205 QtNetwork
   148 ---------
   206 ---------
   149  - QHostInfo: Added a small 60 second DNS cache
   207  - QHostInfo: Added a small 60 second DNS cache
   150  - QNetworkAccessManager
   208  - QNetworkAccessManager
   164   * [QTBUG-7316, QTBUG-7317] Also handle unknown errors from socket engine
   222   * [QTBUG-7316, QTBUG-7317] Also handle unknown errors from socket engine
   165  - SSL
   223  - SSL
   166   * [QTBUG-2515] Do not make OpenSSL prompt for a password
   224   * [QTBUG-2515] Do not make OpenSSL prompt for a password
   167   * [QTBUG-6504, QTBUG-8924, QTBUG-5645] Fix memleak
   225   * [QTBUG-6504, QTBUG-8924, QTBUG-5645] Fix memleak
   168 
   226 
   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
   227 QtScript
   176 --------
   228 --------
   177  - Updated src/3rdparty/javascriptcore to a more recent version
   229  - Updated src/3rdparty/javascriptcore to a more recent version
   178  - Significantly improved performance of the Qt/C++<-->JavaScript bridge
   230  - Significantly improved performance of the Qt/C++<-->JavaScript bridge
   179  - QScriptValueIterator: Significantly improved performance
   231  - QScriptValueIterator: Significantly improved performance
   210     * Optimized to avoid data copy when reading from memory device (QTBUG-9095)
   262     * Optimized to avoid data copy when reading from memory device (QTBUG-9095)
   211 
   263 
   212 ****************************************************************************
   264 ****************************************************************************
   213 *                          Database Drivers                                *
   265 *                          Database Drivers                                *
   214 ****************************************************************************
   266 ****************************************************************************
   215 
   267  - Sqlite
       
   268    * [QTBUG-11904] Pointer aliasing problem in sqlite
       
   269  - OCI
       
   270    * [QTBUG-10919] Unable to insert unicode chars with codepoint > 255 
       
   271      in nvarchar2 column on oracle
       
   272    * [QTBUG-8210] Oracle - DATE in db with a year greater or equal to 2800 
       
   273      returns an invalid date
   216 
   274 
   217 ****************************************************************************
   275 ****************************************************************************
   218 *                      Platform Specific Changes                           *
   276 *                      Platform Specific Changes                           *
   219 ****************************************************************************
   277 ****************************************************************************
   220 
   278 
   221 Qt for Linux/X11
   279 Qt for Linux/X11
   222 ----------------
   280 ----------------
   223  - QGtkStyle
   281  - QGtkStyle
   224     * Fixed rtl issues with sliders (QTBUG-8986)
   282     * Fixed rtl issues with sliders (QTBUG-8986)
   225     * Fixed missing pressed appearance on scroll bar handles. (QTBUG-10396)  
   283     * Fixed missing pressed appearance on scroll bar handles. (QTBUG-10396)  
   226 
   284  
       
   285  - QFontDatabase
       
   286     * [QTBUG-4428] Fixed regression when using bitmap fonts on some 
       
   287       Linux systems.
       
   288  
       
   289  - QFontEngine
       
   290      * [QTBUG-9442] Avoid possible square root of negative number in 
       
   291       FreeType font engine.
       
   292 	  
       
   293  - QFontMetrics
       
   294     * [QTBUG-10448] Fix crash when using fonts in non-gui QApplication.
       
   295 	  
       
   296  	
   227 Qt for Windows
   297 Qt for Windows
   228 --------------
   298 --------------
   229  - Popup windows now implicitly activate when shown. (QTBUG-7386)
   299  - Popup windows now implicitly activate when shown. (QTBUG-7386)
   230 
   300 
   231  - QLocalSocket
   301  - QLocalSocket
   239 ---------------
   309 ---------------
   240  - QMacStyle
   310  - QMacStyle
   241     * Removed frame around statusbar items. (QTBUG-3574)
   311     * Removed frame around statusbar items. (QTBUG-3574)
   242     * More native appearance of item view headers and frames. (QTBUG-10047)    
   312     * More native appearance of item view headers and frames. (QTBUG-10047)    
   243 
   313 
       
   314  - QFontEngine	
       
   315     * Enable fractional metrics for the font engine on Mac in all 
       
   316       stages of text layout.
       
   317     * [QTBUG-5529] Enable design metrics for correct character spacing 
       
   318       in ATSUI font engine. (Mac/Carbon)
       
   319 
       
   320 - QTextDocument
       
   321     * [QTBUG-8791] Fix misalignment of fixed width fonts between 
       
   322       format changes on Cocoa.
       
   323 	  
       
   324  - QTextLayout
       
   325     * [QTBUG-9879] Fix off-by-one in vertical position for elided and 
       
   326 	  non-elided text.
       
   327  
   244 Qt for Embedded Linux
   328 Qt for Embedded Linux
   245 ---------------------
   329 ---------------------
   246 
   330 
   247   * Add support for WA_TranslucentBackground (QTBUG-5739)
   331   * Add support for WA_TranslucentBackground (QTBUG-5739)
   248   * Add support for QFont::NoAntialias (QTBUG-5936)
   332   * Add support for QFont::NoAntialias (QTBUG-5936)
   291  - [QTBUG-7764] Fixed the emission of the propertyChanged()-signal of
   375  - [QTBUG-7764] Fixed the emission of the propertyChanged()-signal of
   292    QDesignerPropertyEditorInterface.
   376    QDesignerPropertyEditorInterface.
   293  - [QTBUG-5492] Made widgetbox-filter match on class names, too.
   377  - [QTBUG-5492] Made widgetbox-filter match on class names, too.
   294 
   378 
   295 - Linguist
   379 - Linguist
   296   - Linguist GUI
   380   * The GNU gettext PO format support has been improved
   297 
       
   298   - lupdate
       
   299 
       
   300   - lrelease
       
   301 
       
   302 
   381 
   303 - rcc
   382 - rcc
   304 
   383 
   305 
   384 
   306 - moc
   385 - moc
   307 
   386   * Fixed several parsing bugs. Including changes in the normalized signature.
   308 
   387 
   309 - uic
   388 - uic
   310 
   389 
   311 - uic3
   390 - uic3
   312 
   391 
   313  - [QTBUG-9207] Fixed export of image files of type XPM, added
   392  - [QTBUG-9207] Fixed export of image files of type XPM, added
   314    compatibility option -limit-xpm-linelength.
   393    compatibility option -limit-xpm-linelength.
   315 
   394 
   316 - qmake
   395 - qmake
       
   396   * Removed remainder of tmake compatibility
       
   397   * Removed remainder of mac9 mode
       
   398   * Removed MSVC6 generator
       
   399   * Removed makespecs for MSVC.NET and MSVC2002
       
   400   * Deprecated -win32/-unix/-macx options, following various cleanups
       
   401     relating to platform support. Cross-building makespecs should now
       
   402     specify a TARGET_PLATFORM.
       
   403   * Started to warn about use of various constructs:
       
   404     - non-lowercased replace $$function() calls
       
   405     - deprecated variables
       
   406     - unescaped backslashes.
       
   407       NOTE: You should use UNIX path separators where possible. qmake
       
   408       will warn about unnecessary Windows path separators in the future.
       
   409   * Removed expansion of qmake- & environment variables in some unexpected
       
   410     cases (double expansions, command line options, etc.)
       
   411   * Removed splitting at semicolons of literal values which were assigned
       
   412     directly to INCLUDEPATH and DEPENDPATH
       
   413   * Removed UNIX-specific exporting of all qmake variables to the environment
       
   414     of subprocesses invoked via system(). You should put specific assignments
       
   415     into the invoked shell command instead.
       
   416   * Started to short-cut evaluation inside if() tests, consistently with
       
   417     evaluation outside if().
       
   418   * Added possibility to request project recursion from within a PRO file
   317 
   419 
   318 
   420 
   319 - configure
   421 - configure
   320 
   422 
   321 
   423 
   339    using QScriptValue::setProperty().
   441    using QScriptValue::setProperty().
   340  - The QScriptEngineAgent::positionChange() callback will always report
   442  - The QScriptEngineAgent::positionChange() callback will always report
   341    a column number of 1.
   443    a column number of 1.
   342  - QScriptValueIterator will include the "length" property when iterating
   444  - QScriptValueIterator will include the "length" property when iterating
   343    over Array objects.
   445    over Array objects.
       
   446 
       
   447 QtCore:
       
   448   - QChar no longer carries the Q_PACKED tag on ARM. This flag was
       
   449     used to allow proper alignment of QChar on 2 bytes on older ARM
       
   450     ABIs, but it also allowed for unaligned access. Qt never generates
       
   451     or uses unaligned access and the new EABI aligns as expected, so
       
   452     the flag was removed.
       
   453 
       
   454 QtNetwork:
       
   455   - Qt does no longer provide its own CA bundle, but uses system APIs for
       
   456     retrieving the default system certificates. On Symbian,
       
   457     QSslSocket::systemCaCertificates() provides an empty list of
       
   458     certificates.