forked from qt/qtbase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
changes-4.1.1
693 lines (535 loc) · 19.5 KB
/
changes-4.1.1
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
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
Qt 4.1.1 is a bug-fix release. It maintains both forward and backward
compatibility (source and binary) with Qt 4.1.0.
The Qt version 4.1 series is binary compatible with the 4.0.x series.
Applications compiled for 4.0 will continue to run with 4.1.
****************************************************************************
* General *
****************************************************************************
Meta Object Compiler (moc)
Better handling of preprocessor statements in combination with
multi line comments.
Fixed problem where moc would generate meta information for
invalid signals/slots.
Configure / Compilation
Fix build of dumpcpp-dependent projects in Visual Studio 6.
Fixed compilation for solaris-cc-64.
Respect the -no-sql-mysql flag.
Fixed compilation with -no-qt3support on Mac OS 10.3
qmake now places PkgInfo in the "Contents" directory of the
.app bundle.
Porting (qt3to4)
Fixed the issue where 'int red' would be translated to
'Qt::red'.
Improved handling of macros created by moc.
Qt Designer
uic3: Prevent generation of invalid font tags
uic: Fixed bug that caused retranslateUI() to add existing
items in combo box once again
Fixed dependency problem where qtDesigner modules would depend
on a private class.
Added missing generation of setColumnCount() and setRowCount()
for QTableWidget.
Fixed a platform incompatibility when saving icon properties on
Windows.
Fixed a crash when breaking the layout in a dock widget.
Fixed a crash when opening a new .ui file while in "Edit Tab
Order" mode.
Fixed a crash when adding a widget to a QDockWidget.
Improved preview of signal/slot connections.
Fixed an issue where moving widgets in a form resulted in lost
signal/slot connections and tab order to get.
Fixed corruption of shortcut properties in .ui files when
saving under some locales.
Fixed preview of QComboBox with item icons.
Fixed an issue preventing cancellation of 'New resource file'
if previous resource file was deleted.
Fixed use of F1 as help shortcut.
Qt Assistant
Fixed problem with restoring window geometry on multi screen
configurations.
Qt Linguist / Internationalization
Fixed tr() idioms, so that translation actually works.
Fixed encoding of translated text.
Qt Translation
Added translation files for Simplified Chinese.
Fixed a problem with lupdate parsing output from uic.
****************************************************************************
* Library *
****************************************************************************
General improvements
--------------------
- QAbstractItemView
Fix selections when mouse-tracking is turned on.
Fixed selection issues after row resizing.
Fixed focus after pressing enter.
- QAbstractItemModel
More consistent behavior in drag-and-drop code.
- QAbstractSlider
Ensure changed-signals are only emitted when the value
actually changed.
- QAbstractSocket
Fixed a crash if disconnected during waitForReadyRead().
- QAccessibleWidget
Fix an off-by-one navigation error in the accessibility
support for menu bar and menus.
- QByteArray
Fixed leftJustified() and rightJustified() when array contains
\0's.
- QComboBox
Fixed a crash when setting and deleting the model.
Fixed a crash when using a QListWidget as the view.
- QCoreApplication
Fixes race condition during plugin loading.
- QCommonStyle
Fixed wrong size hint of PM_MenuButtonIndicator.
- QDateTime
Fixed a regression in fromString().
Avoid potential hang when paring invalid date formats.
- QDialog
Fixed an issue where setExtension()/showExtension() didn't
work in a constrained size mode.
- QDir
cd() now fails when attempting to cd to a non-directory.
- QDirModel
Improved stability when appending network drives.
Improved stability when handling symlinks with relative paths.
- QDockWidget
Update toggleViewAction() when widget gets hidden with close
button.
- QFile
Changed behavior of rename() to fail if a file of the same
name already exists.
- QFileDialog
Make sure filter combo box gets enabled when changing from
Directory to ExistingFile mode.
Improve filename completion for files with the same name but
different extension.
Make sure the selection is updated when modifying the filename
by removing characters.
Allow typing in several file names in the file name line edit.
Improve handling of non-existent windows shares.
Improve handling of hidden directories.
Make it possible to create new folder when a folder called
"New Folder" already exists.
Improve usability by not changing the filename text when
directories are selected.
Improve usability by not autoselecting the first item when
changing directories.
Ensure that calling setDirectory() with a path shows the
directory when the path contains a file name.
Avoid unnecessary resolving of mount points, leading to
lockups on Unix.
Fixed potential crash when selecting an extension filter with
no matches in current directory.
Fixed a problem where using selectFilter() didn't update the
view.
- QFileInfo
Fixed issue where copying a QFileInfo and calling refresh()
could result in file info data being cleared.
Fixed issue where calling readLink() would resolve link
targets incorrectly.
- QGLWidget
Switching from full screen mode to normal mode no longer
results in incorrect window decorations.
Fixed overline, underline and strikethrough for text drawn
with renderText().
- QGridLayout
Respect specified alignment over default alignment.
- QHeaderView
Respects dragDistance.
Respects TextColorRole.
Fixed painting problems caused by clicking both mouse buttons
at the same time.
Fixed painting flaws when using sort indicators.
Fixed issue where QStyleOptionHeader::End would not be set by
paintSection.
Only the left mouse button can now be used to move and resize
header sections.
Fixed incorrect header size after swapping header sections.
Fixed resize mode of header sections after section moves.
Fixed an assert when changing the selection model.
- QHash / QSet
Make the operator==() not take the internal order of elements
into account when comparing.
- QIcon
Fixed issue where creating QIcons with an invalid path could
result in a crash.
- Improved handling of focus events when using input methods.
- QInputDialog
Fixed handling of ampersands in labels.
- QImage
Fixed drawing of QBitmap's onto a QImage.
- QImageIOHandler
Made all supported image formats support the Size option.
- QItemSelectionModel
Fixed an infinite loop in isRowSelected().
- QItemDelegate
Better handling of QStyleOptionViewItem::Bottom.
Increased the delegate horizontal margin.
- QLayout
Warn instead of crash when adding two layouts to a widget.
- QLocale
Add missing entry for "nb".
- QList
Fixed a memory leak when repeatedly removing items from the
end and inserting items in the middle.
- QListView
Fixed an assert when using QProxyModel as the model.
- QMainWindow
Handle RTL layout for dockwidgets properly.
Make dockwidgets remember their sizes after being hidden.
Improved reliability when saving and restoring state.
- QMenu
Fixed shortcut handling of already selected submenus.
Fix setting the window title on torn off menus.
Fix bug where exec() returned the wrong QAction on some cases.
- QMenuBar
Improved widget placement in setCornerWidget().
- QMenuItem
Ensure space for both check mark and icon when using
QPlastiqueStyle.
- QMYSQLDriver
Fix crash when formatValue() is called without connection.
- QMessageBox
information() now works correctly when calling it after
returning from QApplication::exec()
- QPaintEngine
Fixed an out of memory issue when drawing very long lines.
OpenGL : Make sure the image and pixmap cache is used.
OpenGL : Faster rect outlining for the most common case.
- QPrintEngine
Better font underlining/overlining.
Support PDF font embedding, resulting in smaller PDF files and
selectable text.
Made our generated PDFs readable by Ghostscript.
Support pens that have patterns/pixmaps for PDFs.
Support landscape mode for PDFs.
- QPixmap
Fixed issue where save() in some cases would return true on
failure.
- QProgressBar
Fix incorrect progress in some cases.
- QPushButton
Buttons reparented into a dialog parent through the layout are
now auto-default.
- QRadioButton
Fixed a potential crash in QRadioButton Qt 3 support
constructors.
- QSortFilterProxyModel
Improve stability when adding rows to source model.
Fixed issue where some nodes would show up as expandable even
if all it's children had been filtered.
Fixed a crash when deleting rows.
- QSizeGrip
Fixed size grip painting when maximizing a QMainWindow in a
QWorkspace.
- QSvgRenderer
Better handling of invalid files.
- QSvg
Improve stroking with pen width 0.
Fix rectangle filling bug.
- QSyntaxHighlighter
Fixed missing handling of blocks of text under certain
conditions.
Improved interaction with input methods.
- QScrollArea
Fixed an issue where the scroll area sometimes would not
resize to compensate for content change.
- QString
Fixed regression in fromLocal8Bit().
- QTextDocument
Support span style background-color.
Fix nested tables in html documents regression.
- QTextLayout
Added support for soft-hyphens.
- QToolButton
Make popup menus appear on the correct screen.
Fixed ToolButtonPopupMode when QToolButton has a
QAction.
- QToolBar
Combo boxes now appears as submenus in a toolbar extension.
setIconSize() now works correctly.
Relative position within toolbars are now kept when saving and
restoring state.
- QTextBrowser
Fix missing line break after paragraph.
- QTextEdit
Improve handling of the TITLE tag.
Fixed navigating links via tab.
Improved handling of malformed html.
Fixed rendering for tables with thead/tbody/tfoot elements.
Improved copy and paste of content with whitespace
Make undo/redo update the cursor position.
Fixed lost cursorPositionChanged() signal in read-only mode.
Fixed memory leak when calling setHtml() repeatedly.
Significantly improved performance when appending and editing
text.
Improved performance when selecting all text.
Emit copyAvailable() on mouse selection.
- QTableView
Fixed drawing of selections after moving columns.
Do not wrap to the top if Page Down is pressed.
Improve scrolling behavior.
QTableView now takes ownership of QHeaders set using
setHorizontalHeader()
Fixed issue where calling setModel(0) could result in a
crash.
- QTreeView
Fixed scrolling-related item expand bug.
Improve scrolling behavior.
QTreeView now takes ownership of QHeaders set using
setHorizontalHeader()
Avoid crash when calling setRowHidden with no model.
Avoid crash when calling sizeHintForColumn() in some cases.
Improved performance when adding rows.
Fixed update of view when changing row heights.
Fixed a bug where calling setCurrentIndex() did not update the
view correctly.
Removed extra emit of the expanded() signal on already
expanded branches.
- QTreeWidget
Fixed tristate check item behavior.
- QTabWidget
Fixed bug that caused missing resize when dynamically adding
widgets.
Fixed text positioning in a tab with an icon.
- QTemporaryFile
Fixed issue where calling open() could potentially change the
file name.
- QTextDocument
Improved stability when importing incorrectly formed html
tables.
Improved stability when importing closing tags without
corresponding opening tags.
- QTextStream
Ensure valid codec converter state after calling seek(0).
Fixed issue where readAll() would not work with sequential
devices.
- QTabBar
Improve handling of tab removal.
- QUrl
Improve handling of hostnames containing digits.
Fix crash when calling hasQueryItem() on QUrl without any
query items.
Added support for parsing file names with '[' and ']'
characters.
- QVariant
Improve operator==() behavior when comparing different types.
The QVariant(const char *) constructor is now unavailable when
QT_NO_CAST_TO_ASCII is set. Otherwise, it uses
QString::fromAscii to convert the const char * to a Unicode
QString to prevent loss of information.
- QWidget
Fix regression in setMask().
Fixed issue where incorrect minimum size was reported after
reparenting from a top level widget.
Fixed return value of normalGeometry() after the widget has
been maximized.
Fixed crash on application exit if the widget was created
before the widget mapper is initialized.
- QXpmHandler
Fixed handling of non-transparent XPM images.
- XMLInputReader
Fixed issue where entities in XML files were not
resolved.
- QXmlSimpleReader
A significant (approx. 50x) speedup in QXmlSimpleReader when
parsing documents which contain internal or external entities.
- Q3DataTable
Drivers not supporting the QuerySize feature would display one
row of data too little.
- Q3IconView
Fixed selection appearance.
- Q3TextEdit
Fixed focus indicator tabbing through tables.
Fixed coloring when inserting text after use of setColor().
- Q3TabDialog
Added missing selected() signal
- Q3ListView
Fixed occasional crashes when deleting items.
Fixed wrong label after addLabel(QString()).
- Q3ScrollView
Fixed default focus policy for deriving classes.
- Q3ToolBar
Q3Action::setOn() now works correctly.
Adding an action now sets all action properties correctly.
- Q3ActionGroup
Fix drop down drawing error.
- Q3MainWindow
Fixed a regression in setUsesIconText().
Platform-Specific changes
-------------------------
Windows:
- QApplication
Timers now continue to fire when windows enters a modal event
loop.
- QAxServer
Fixed issue where updateRegistry() would report success, even
though the operation failed.
Fixed comparison of class attributes.
- QAxWidget
Support parameters of type short* and char* in signal/slots.
- QClipboard
Make sure the dataChanged() signal is emitted correctly.
- QColordialog
Fixed various selection issues in WindowsXP style.
- QDockWidget
Improve the look of title bar buttons.
Improved appearance of dock widget title and frame.
- QFileDialog
Improve handling of path names with special characters.
Maintain modality chain when showing a native modal inside a
qt modal.
Speedup when browsing dirs containing broken shortcuts.
- QHeaderView
Improved header highlighting in WindowsXP style.
- QInputDialog
Calling setText() also selects all text to be consistent with
other platforms.
- QLabel
Improved appearance when disabled.
- QLineEdit
Make QLineEdit respect the XP color scheme.
- QOpenGL
Added workaround for missing OpenGL sample buffers on the
Mobile Intel 915GM Express Chipset.
Fixed rendering into a QPixmap.
- QPainter
Improve Type 1 font rendering.
Improved performance of font rendering.
Use the standard fallback fonts for Asian languages.
- QPrinter
Fixed issue where the orientation for a QPrinter would be
ignored.
Fix PCL printer line drawing bug.
- QPrintDialog
Fix unhandled exception when a print dialog is launched from
within Visual Studio.
- QPrintEngine
Ensure correct pageRect() and paperRect() when printer
resolution is set manually.
- QTableView
Improved checkbox coloring within selections.
- QUdpSocket
Better handling when sending to an unbound port.
- QWidget
Fix setWindowOpacity() flicker.
- QWindowsXPStyle
Fixed QApplication::setStyle() if called before construction
of the application object.
- QWorkSpace
Improve window resizing.
Improve title bar and button appearance in XP style.
Improved focus handling.
Fixed update of child masks on style change.
Fixed restore action not being enabled on maximize and
minimize.
Fixed a potential crash in maximizeWindow().
X11:
Reintroduced qt_x11_set_global_double_buffer() for binary
compatibility.
Improved tablet event handling.
- QApplication
The KeypadModifier is now set when NumLock is enabled.
- QBitmap
Fixed text drawing errors under some fontconfig
settings.
- QLibrary
isLibrary() now returns true for .a and .so on AIX.
- qmake
Improved stability when modifying environment variables
Allow '/' as a path separator on all platforms.
- QPaintEngine
Fixed issue where filling and stroking ellipses could leave
pixel gaps.
- QPainter
Implemented Porter-Duff composition support.
Fix artifacts when drawing aliased primitives with an alpha
pen.
Fixed issue where rotating pixmaps could add a pixel row in
some cases.
Fixed drawing of arcs of less than 1 degree.
Made drawText() honor the Qt::TextWrapAnywhere flag.
- QPrinter
Fixed cleanup of child processes.
- QPrintDialog
Fixed problems when using "From page" and "To page" spin
boxes.
Made it impossible to choose "OK" when no printers are
configured.
- QProcess
Fixed possible deadlock when calling startDetatched().
- QScrollArea
Catch double click also when size exceeds window system size
limits.
- QTextEdit
Fixed an issue where the horizontal scrollbar did not show up.
- QWorkspace
Fixed missing mouse event propagation to child widgets.
Mac OS X:
General fixes to the drag and drop support.
Improved performance when resizing widgets.
Fixed font issues for input methods with Japanese.
Fixed issue with pasting Japanese text.
Correctly set architecture and SDKROOT when creating a Xcode
project.
- QCursor
Fix alpha pixmap cursors.
- QDesktopWidget
Improve stability when changing users.
- QDockWidget
Improve dock widget appearance.
- QGroupBox
More conformant styling.
- QHeaderView
Fix text truncating issue on headers.
- QLabel
Fix labels painted incorrectly when using MacMetalStyle.
- QMenu
Improved menu styling.
Improved popup appearance.
- QPainter
Add support for SmoothPixmap transform.
- QPushButton
Make Mac style obey the icon size set by setIconSize().
Make sure buttons are not shown as default on inactive
windows.
- QPrintEngine
Fixed truncated PDF generation of large documents.
- QSplashScreen
Fix painting errors when using showMessage().
- QTextEdit
Fixed focus issues with Japanese input.
Fixed issue with pasting Unicode text between
applications.
- QToolBar
Improve tool bar appearance.
- QTextFormat
Fixed a crash when setting a font's pixel size to -1.
- QWorkSpace
Improve workspace children appearance.
- Q3TextEdit
Fixed a crash in paragraphRect() when all content had been
deleted.
- Q3ListViewItem
Fixed a infinite loop when editing an item.
Qtopia Core:
Removed flickering when mouse cursor is above an animation.
Optimized use of shared memory.
Optionally use iwmmxt intrinsics to optimize painting.
Added a simple example on how to calibrate touch screen mouse
handlers.
- Fonts
Handle BDF fonts without the PIXEL_SIZE property.
Added Chinese and Japanese fonts.
- PDF
Support PDF font embedding.
- qvfb
Fixed a crash when increasing the display size in the
configuration dialog.
- QPixmap
Implement QPixmap::grabWindow().
3rd-party libraries
-------------------
- FreeType
Fix memory leak.