summaryrefslogtreecommitdiffstats
path: root/dist/changes-5.6.0
blob: c56fb4355b1e4dfde65d867c9bf260ff2bba9186 (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
Qt 5.6 introduces many new features and improvements as well as bugfixes
over the 5.5.x series. For more details, refer to the online documentation
included in this distribution. The documentation is also available online:

  http://qt-project.org/doc/qt-5

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

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

  http://bugreports.qt-project.org/

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

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


QtQml
-----

 - Enabled Just-In-Time compilation for JavaScript on MIPS

 - ObjectModel:
   * Added get(), append(), insert(), move() and remove() methods.

 - Profiling:
   * QtQml can now write additional information so that perf is able to give
     function names of JavaScript methods when profiling. To enable this, set
     the environment variable QV4_PROFILE_WRITE_PERF_MAP=1 when running the
     process in question.

 - XMLHttpRequest:
   * Added support for the PROPFIND method in HTTP requests.
   * Added support for the "json" binary response type.
   * Fixed a memory leak in the use of the responseXML property.

 - qml tool:
   * The qml tool now quits immediately if Qt.quit() is called before all scenes
     complete creation.
   * Make it possible to make script without .qml suffix

 - QJSEngine:
   * Introduced an extension API that allows installing various function and
     object extensions (qsTr(), console.log(), etc.) to QJSEngine.
     installTranslatorFunctions() was deprecated in favor of the new extension
     API (see installExtensions()).

 - QQmlComponent:
   * Synchronously complete the loading of an asynchronous QQmlComponent, if a
     PreferSynchronous QQmlComponent is created for the same url (provided that
     this url does support synchronous loading).

 - URLs from Qt.include() are now passed through the URL interceptor (if
   present).

QtQuick
-------

 - Added padding, leftPadding, topPadding, rightPadding and bottomPadding
   properties to Text, TextInput, TextEdit in addition to all positioning items,
   such as Column, Row, Grid, and Flow.

 - Items may now listen for the ItemDevicePixelRatioHasChanged event in
   QQuickItem::itemChange() in order to become aware of when DPI scaling has
   changed (for instance, when the window has moved to a different screen).
   Text elements take advantage of this in order to rerender when the DPI has
   changed.

 - Images now support looking for higher pixel ratios, not just @2x.

 - Added the possibility to mirror the generated OpenGL texture via the newly
   added Item::layer.textureMirroring and ShaderEffectSource::textureMirroring
   properties.

 - QQuickFramebufferObject:
   * Added a mirrorVertically property to QQuickFramebufferObject.

 - Shortcut:
   * Added Shortcut.nativeText and portableText properties to read back the key
     sequence as a string
   * Added Shortcut.sequenceString property to read back the key sequence as a
     displayable string

 - Flickable:
   * The movement related signals and properties are now updated for flicks
     started via the flick function.
   * Mouse wheel movement will no longer cause Flickable to overshoot past its
     boundaries.

 - Flipable:
   * Flipable now toggles the 'enabled' property on whichever side is active.
     This restores broken behavior compatibility with QtQuick1, and blocks
     input to whichever side is not active.

 - Item:
   * Added EnterKey attached property that allows to change the appearance of
     the Enter key on an on-screen keyboard.

 - MultiPointTouchArea:
   * Fixed released() signal duplication on mouseReleaseEvent.

 - QQuickPaintedItem:
   * Implement high-dpi support and add function textureSize. This obsoletes
     the existing contentsSize, contentsScale and contentsBoundingRect
     functions.
   * A QQuickPaintedItem with Item.layer set will now include child items in the
     layer.

 - QQuickWindow:
   * Add TextureIsOpaque option to createTextureFromImage()
   * Added a render job stage: NoStage. This allows scheduling jobs for
     execution on the render thread.

 - Repeater:
   * Positioners will now always ignore Repeaters. Previously, Repeaters were
     ignored by positioners when their width or height were 0.

 - Text:
   * Fixed baseline of Text elements where the vertical alignment was something
     other than top.

 - TextEdit:
   * Add an editingFinished signal, emitted when the text edit loses focus. This
     mirrors the same signal already available on TextInput since Qt 5.2.

 - Item Views:
   * positionViewAtIndex() will now reliably work on a view with a sticky
     header/footer set.
   * ListView no longer ends up with "holes" between delegates (or missing
     delegates) under some circumstances.

QuickTest
---------

 - TestCase:
   * Added equals() function to image object returned from TestCase's
     grabImage() function.
   * Key events in TestCase are now sent to the window with active focus,
     meaning that tests that create custom windows can receive key events.

QtQuick.Particles
-----------------

 - Turbulence:
   * Noise source image is now correctly read from QRC files as well as local
     files.

Qt.labs.folderlistmodel
-----------------------

 - FolderListModel:
   * Add an indexOf(file) function to determine the index of a given file.