summaryrefslogtreecommitdiffstats
path: root/dist/changes-4.5.2
blob: 39082f69a781983f58a033a2fd09b2f862d989d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
Qt 4.5.2 is a bug-fix release. It maintains both forward and backward
compatibility (source and binary) with Qt 4.5.0.  For more details,
refer to the online documentation included in this distribution. The
documentation is also available online:

  http://doc.trolltech.com/4.5

The Qt version 4.5 series is binary compatible with the 4.4.x series.
Applications compiled for 4.4 will continue to run with 4.5.

Some of the changes listed in this file include issue tracking numbers
corresponding to tasks in the Task Tracker:

  http://www.qtsoftware.com/developer/task-tracker

Each of these identifiers can be entered in the task tracker to obtain more
information about a particular change.

****************************************************************************
*                           General                                        *
****************************************************************************

General Improvements
--------------------

- Documentation and Examples
   * Added a new example (fancy browser) which shows how to use jQuery
     in QtWebKit.

Third party components
----------------------


****************************************************************************
*                          Library                                         *
****************************************************************************

- QtWebKit
   * Backported fixes for critical bugs, memory leaks, and crashes from
     WebKit trunk (with revision numbers) related to:
       Canvas (r40546, r41221 r41355, r42996, r43645)
       Memory (r41527, r43764, r43828, r43830)
       JavaScript (r39882, r40086, r40131, r40133)
       Rendering (r41285, r41296, r41659, r42887)
       Network (r41664, r42516, r42747)
       Plugins (r41346, r43550, r43915, r43917, r43923)
       Clipboard (r41360)

- QtDBus
   * [236955] Fixed an issue that would cause QtDBus to crash when
     relaying a signal emitted from a class under certain conditions

- QAbstractItemView
    * [250754] Changing the font of the view would not update the size of the
      items if there is an application stylesheet.
    * [252532] Pressing enter in a QPlainTextEdit embedded on a itemview now
      insert a newline

- QAbstractNetworkCache
   * Only cache responses to HTTP GET by default, not HTTP PUT or POST

- QApplication
   * [249589] Fixed bug that prevented any part of the application to receive
     focus when Graphics View was disabled using QT_NO_GRAPHICSVIEW.

- QComboBox
   * [253944] Changing the style doesn't reset custom item delegate anymore.
   * [254589] Fixed the frame appearing if setting a stylesheet with a border
     on the embedded itemview while there is a stylesheet on the application

- QDir
   * Fix reentrency (listing directories in different threads)

- QFileSystemModel
   * [254701] QFileSystemModel doesn't sort subfolders when using it in a QTreeView
   * [251295] Windows path names incorrectly constructed in calls to updateIcon()

- QFileDialog
   * [251341] It is not possible to remove a directory of the sidebar if the directory does not exist
   * [251321] Hidden path in QFileDialog's sidebar cannot be opened
   * [226483] setSidebarUrls() handles the urls case sensitive so that adding the same directory twice is possible - Windows
   * [252068] QFileDialog with QSortFilterProxyModel crashes
   * [254490] QFileDialog selectFile doesn't clear the selection if we call it several times.

- QMacStyle
    * [253339] Don't draw arrows on toolbuttons that have a menu and text only.
    * [252301] Ensure that small and mini spin boxes are drawn correctly.

- QMotifStyle
    * Fix crash when changing style and destroying progressbar.

- QFontDialog
    * [252000] Ensure that QFontDialog::getFont() works on Mac OS X.

- QGraphicsWidget
    * Fixed a bug with Qt::WidgetWithChildren shortcut context.

- QLocalSocket
   * [247144] correctly handle remote disconnects

- QNetworkCookie
   * [251959] fix parsing of multiple cookies separated by a newline

- QNetworkCookieJar
   * [251467] do not allow cookies for domains like ".com"
   * [228974] allow cookies whose domain attribute is missing a leading dot

- QNetworkAccessManager
   * [248838] Make QNetworkAccessManager reject invalid HTTP input
     earlier

- QWidget
    * [250668] Don't send extra wheel events when using the scroll wheel in Cocoa.
    * [253448] Prevent a crash when using the Qt::WA_MacBrushedMetal attribute
      in conjunction with style sheets.

- QWizard
    * [252662] Fixed crash that could happen when compiling on Windows XP and
      running on older Windows versions like 98 and 2000.

- QObject
    * Fixed possible race condition if two QObject connected together with
      signals and slot are destroyed in different threads

- QPainter
    * [253783] Fixed text shaping bugs when using ligatures and different
      scripts in a single text item.
    * Fixed various inconsistencies for image drawing on non-integer
      coordinates.
    * Fixed bug with 0-opacity causing images to be drawn fully opaque.
    * Fixed crash when drawing on a null pixmap.
    * [251534] Fixed issue where text with non-opaque color from widget
      palette would be blitted instead of blended.
    * [253663] Fixed an issue with implicitly closed poly lines when using
      perspective transforms.

- QProgressBar
    * [252283] Fixed busy indicator for a QProgressBar with a style sheet applied to it.

- QSelectionModel
   * [252069] fix QSelectionModel::rowIntersectsSelection or QSelectionModel::columnsIntersectsSelection not reporting right result if some items are disabled.

- QSortFilterProxyModel
    * [250023]  Fixes QSortFilterProxyModel not reporting child if the model
      need to fetchMore
    * [251296] In dynamic filter model, childs of temporarly filtered items
      where not correctly updated.
    * [252507] Show a warning instead of crashing if invalid indexes are passed.
    * [254234] Fixed setDynamicSortFilter not working when setting the model initially

- QString
    * Fixed reentrency of QString::squeeze()

- QTabBar
    * [252472] Fixed problem with the current tab not being visible after calling
      setTabButton() on a scrolled tab bar.

- QTransform
    * Fixed issue in QTransform::type() causing a projective transform to be
    treated as a scaling transform.

- QVector
    * Fixed reentrency of QVector::reserve()

- QtOpenGL
    * [247083] Re-enabled antialiasing for large font sizes in OpenGL paint
      engine.
    * [251485] Fixed crash that could occur with projective transforms and
      high quality antialiasing.
    * [253468] Fixed a crash in the GL 2 paint engine that could occur
      when drawing text.

- QCssParser
    * [252311] "font-family:" now handle fallback font specified with a comas
      separated list.

- QFile and QTemporaryFile
    * Fixed a leak of file descriptors in QTemporaryFile::rename, introduced in 4.5.1
    * [165920] QFile::copy leaves the source file open after the file has been copied
    * [191467] & [252293] QFile::copy of resource files to the filesystem fails on Windows
    * [197857] QFile::copy of resource files leaves temporary files on filesystem
    * [248223] QTemporaryFile: Access denied error when (re-)opening through QFile interface
    * [252659] QTemporaryFile::rename may leave source file behind

- QByteArrayMatcher
    * [251958] Assignment operator and copy constructor miss data

- QCompleter
    * [253125] QCompleter doesn't expand entries with UnfilteredPopupCompletion

- QPrintDialog
    * [253135] Crash in QPrintDialog when editing output filename
    * [252873] Fixed an issue that could cause QPrintDialog to invalidate
      a valid QPrinter object.
    * [224728] Fixed an issue under X11 where QPrintDialog didn't update
      the print-to-file state, if it was passed a QPrinter set up to
      print PDF or PostScript.

- QPrinter
    * [252873] Fixed an issue with QPrinter::NativeFormat printers not
      being valid.
    * [248881] Fixed an issue under Windows where QPrinter::pageRect() returned
      the wrong rect when QPrinter::fullPage() was set.
    * [199271] Fixed an issue with QPrinter::setPrinterName()/printerName()
      on Mac.

- QSvg
    * [253614] Fixed an issue with parsing the 'stroke-dasharray' SVG attribute.

- QSvgIconEngine
    * [251106] Fixed an issue that would cause QIcon::actualSize() to reparse
      the SVG file for each acutalSize() call, until QIcon::pixmap() was called.
    * [248848] Fixed an issue that would cause QIcon::pixmap() to reparse the
      SVG file, even though there was a cached pixmap for that size available.

****************************************************************************
*                          Database Drivers                                *
****************************************************************************


****************************************************************************
*                      Platform Specific Changes                           *
****************************************************************************

Qt for Linux/X11
----------------
[253186] Fixed compile error in qfontengine_ft.cpp on 64-bit platforms with
legacy freetype headers.
[241361] Prevented asynchronous access to non-thread safe libfontconfig API.
[244362] Worked around X server crash when calling XFillPolygon with more than
	 200000 points by falling back to raster paint engine.
[250326] Titlebar wasn't shown on X11 with Qt::CustomizeWindowHint for
	 fixed-size windows.
[251925] Improved showing QMessageBox on small screens.
[252042] Fixed the loading of the OpenSSL libraries on OpenBSD.
[255311] Fixed an issue with '-graphicssystem raster' on 8 and 16 bit X servers.
[252328] Fixed an issue when rendering old XLFD fonts on X11 with Xrender and
	 fontconfig enabled.
[248720] Fixed an issue with using '-graphicssystem raster' on X servers with
         BGR color layout.
[196152] Fixed a problem with QPixmap::toImage() on big endian systems that
         would cause the R and B channels to be swapped for 32 bit pixmaps.

Qt for Windows
--------------

Fixed an issue with text rendering in 16 bit mode.

[246196] Fixed an issue with clipped glyphs when rendering text with
         certain fonts.
[251259] Switching to another app left text cursor in line edits with
	 QtMfc framework.
[253367] Fixed a memory leak when loading system icons on Windows.


Qt for Mac OS X
---------------
[252795] Ensure that we send Apple Events in the Cocoa port even when Cocoa isn't ready.
[252176] Fix regression in drawing parts of pixmaps on Panther.
[253402] Fix a crash when a Cocoa window that used to be a QWidget would get events
         after the QWidget was destroyed.
[249178] Fixed an issue with drawing text to QImages on Mac/Cocoa.
[250066] Fixed an issue that caused reparenting of QGLWidgets to output warnings
         on Mac/Cocoa.


Qt for Embedded Linux
---------------------


Qt for Windows CE
-----------------
[248846] Handle the back soft key on Windows mobile.
[252319] Fix regression in native menu integration.
[242484] Fixed crash if Qt::WindowCancelButtonHint is used for a QDialog


****************************************************************************
*                      Compiler Specific Changes                           *
****************************************************************************


****************************************************************************
*                          Tools                                           *
****************************************************************************

- Build System
    * [253053] Linker in macx-g++42 spec is gcc instead of gcc-4.2

- Assistant


- Designer
   * [248769] Fixed a bug affecting the display of keyboard shortcuts in
     the detailed view of the action editor.
   * [251092] Fixed a bug preventing entering local file names for QUrl-type
     properties on Windows.
   * [251691] Fixed dynamic re-translation of table headers.
   * [252251] Improved readability of the property editor when using the
     KDE Obsidian Coast theme.
   * [253236] Fixed a regression bug triggered by forms with a size policy
     of 'Fixed' on the main cointainer.
   * [253278] Made it possible to set QString-type properties using
     QDesignerFormWindowCursor::setProperty().
   * [253539] Prevent crash in Designer with the Cocoa port when when using a scroll
     wheel to change a property.

- Linguist
  - Linguist GUI

  - lupdate

  - lrelease


- rcc


- moc


- uic
  * [252333] Fixed a regression crash triggered by using icons with
    different pixmaps for QIcon states.

- uic3


- qmake


- configure


- qtconfig


- qt3to4


****************************************************************************
*                          Plugins                                         *
****************************************************************************

- directfb
  * Make sure we pick an approriate format for pixmaps. E.g. use the same as
    the primary surface for opaque pixmaps and pick an appropriate one for
    transparent pixmaps if the primary surface format is not transparent.
  * Properly fall back to the raster engine for pens that aren't solidcolor
  * Properly fall back to raster engine with "mirrored" scales
  * Make sure window surfaces are the approriate pixel format and created in
    video memory if supported
  * Fix clipping bug that would cause painting errors
  * Fix various crash bugs
  * Fix bugs when transforming/copying pixmaps with alpha channel
  * Fix various bugs with regards to painting with alpha channel/porter duff
  * Optimize a coupld of internal functions to slightly speed up drawing
  * Optimize raster fall backs
  * Allow more customization for Flipping options
  * Fix drawing with opacity != 1.0
  * Support for better logging when trying to debug performance problems.
  * Fix bug in keyboard handling that caused modifiers not to work
  * Get rid of some compiler warnings


****************************************************************************
*                   Important Behavior Changes                             *
****************************************************************************