summaryrefslogtreecommitdiffstats
path: root/dist/changes-4.5.2
blob: 84460e396f8a3f2879be4c039c27ccec8cdff704 (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
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

- 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.

- 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.

- 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.

- 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()

- 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.

- 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

****************************************************************************
*                          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.

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

[251259] Switching to another app left text cursor in line edits with
	 QtMfc framework.

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.


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                             *
****************************************************************************