qt:qt.git
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Wed, 6 Apr 2011 05:30:18 +0000 (15:30 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
  Improve Flickable dynamics and allow platform specific tweaking.

11 years agoImprove Flickable dynamics and allow platform specific tweaking.
Martin Jones [Wed, 6 Apr 2011 04:51:52 +0000 (14:51 +1000)]
Improve Flickable dynamics and allow platform specific tweaking.

Flickable's previous overshoot behavior was to continue past the
boundary without any additional friction (deceleration). It now
decelerates faster when overshooting.

On touch screens in particular, the last points when a touch point
is released are unreliable, resulting in sporadic flick velocities.
It also now allows the number of samples used for velocity calclations
to be tuned.

It is now easy to tune the Flickable behavior for different platforms.

Change-Id: I24142a50be1fde2f8877e359e30b8efcdd1f7d5c
Task-number: QTBUG-10894, QTBUG-16388, QTBUG-17830
Reviewed-by: Michael Brasser
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
Qt Continuous Integration System [Tue, 5 Apr 2011 22:13:11 +0000 (08:13 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
  Fixed license headers for examples in 4.7
  Removing extra comma in `enum' declaration.
  win32-g++: Correct the order of linked Windows libraries
  Remove SIGBUS emission from QNetworkSession destruction.

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Tue, 5 Apr 2011 18:04:43 +0000 (04:04 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Take phonon backend back in qt.iby

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging into 4.7-integration
Qt Continuous Integration System [Tue, 5 Apr 2011 13:33:40 +0000 (23:33 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging:
  Mac: p2 combobox regression fix

11 years agoFixed license headers for examples in 4.7
Timo Turunen [Tue, 5 Apr 2011 13:07:27 +0000 (16:07 +0300)]
Fixed license headers for examples in 4.7

All examples should carry the BSD header.

Reviewed-by: Trust Me
11 years agoRemoving extra comma in `enum' declaration.
Sergio Ahumada [Tue, 5 Apr 2011 11:06:20 +0000 (13:06 +0200)]
Removing extra comma in `enum' declaration.

11 years agoTake phonon backend back in qt.iby
Guoqing Zhang [Tue, 5 Apr 2011 10:27:23 +0000 (13:27 +0300)]
Take phonon backend back in qt.iby

Task-number:
Reviewed-by: Miikka Heikkinen
11 years agoMac: p2 combobox regression fix
Richard Moe Gustavsen [Tue, 5 Apr 2011 09:19:20 +0000 (11:19 +0200)]
Mac: p2 combobox regression fix

The combobox popup on mac fails to re-highlight the last item in the
list when then mouse leaves the popup, and re-enter. We tried to fix
this in 780b4d84, but is turned out to break the cleanlooks style.
For this second try, we allow the code to set the index under mouse
when the mouse hovers an item in the list, even if the index is
current. It seems to cause low overhead, and should be safe.

Task-number: QTBUG-17738
Reviewed-by: jbache
11 years agowin32-g++: Correct the order of linked Windows libraries
Mark Brand [Tue, 5 Apr 2011 08:35:58 +0000 (10:35 +0200)]
win32-g++: Correct the order of linked Windows libraries

Commit a6d48ca corrected the problem for win32-g++. Here we do the same
for win32-g++-cross.

Merge-request: 1173
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
11 years agoRemove SIGBUS emission from QNetworkSession destruction.
Cristiano di Flora [Tue, 5 Apr 2011 07:27:24 +0000 (10:27 +0300)]
Remove SIGBUS emission from QNetworkSession destruction.

Task-Number: QTBUG-17464

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Mon, 4 Apr 2011 20:06:31 +0000 (06:06 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Remove obsolete files from qt.iby

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
Qt Continuous Integration System [Mon, 4 Apr 2011 16:09:30 +0000 (02:09 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
  win32-g++: Correct the order of linked Windows libraries
  Fixing a traling space on if statement that fails in Solaris.

11 years agoRemove obsolete files from qt.iby
Miikka Heikkinen [Mon, 4 Apr 2011 11:21:00 +0000 (14:21 +0300)]
Remove obsolete files from qt.iby

- qaudio.dll is no longer built separately, it is static part of
QtMultimedia.dll

- s60main resources are no longer needed or generated

- Webkit files are installed via separate IBY

Task-number: QT-4839
Reviewed-by: Guoqing Zhang
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Mon, 4 Apr 2011 12:45:27 +0000 (22:45 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Fix QGradient stop with NaN position on Symbian.
  Do not add project path to SYMBIAN_MATCHED_TRANSLATIONS if not needed
  QApplication does not define flag for "single touch"
  Native dialog softkeys are covered by QApplication softkeys

11 years agoFix QGradient stop with NaN position on Symbian.
Laszlo Agocs [Mon, 4 Apr 2011 11:50:16 +0000 (14:50 +0300)]
Fix QGradient stop with NaN position on Symbian.

The qbrush autotest was failing on Symbian, because gradient stops
with NaN position cannot be inserted on Symbian. This is caused by
the pos > 1 || pos < 0 check in setColorAt() which is incorrect
on ARM as NaN > 1 will evaluate to true.

Task-number: QTBUG-17874
Reviewed-by: Samuel Rødal
11 years agowin32-g++: Correct the order of linked Windows libraries
Jonathan Liu [Mon, 4 Apr 2011 11:01:48 +0000 (13:01 +0200)]
win32-g++: Correct the order of linked Windows libraries

On Windows 7, kernel32.dll exports many of the same functions as
advapi32.dll. If executables link to these functions in kernel32.dll
instead of advapi32.dll, running these executables on older versions
of Windows will cause an entry point error. This would occur due to
kernel32 being specified before advapi32.

To resolve this issue, advapi32 is specified before kernel32 when
linking.

Task-number: QTBUG-18537
Merge-request: 1169
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
11 years agoFixing a traling space on if statement that fails in Solaris.
Sergio Ahumada [Mon, 4 Apr 2011 09:56:56 +0000 (11:56 +0200)]
Fixing a traling space on if statement that fails in Solaris.

64e640716204af69056c34ddac5ce26628a1edd2 broke configure in Solaris.

+ /export/home/qt/config.tests/unix/fvisibility.test g++ no
CFG_REDUCE_EXPORTS=no
+ [ no != no ]
+ [ no = auto ]
+ [ maybe = yes ]
+ [ no = yes]
configure: test: ] missing

Reviewed-by: Liang Qi
11 years agoDo not add project path to SYMBIAN_MATCHED_TRANSLATIONS if not needed
Miikka Heikkinen [Mon, 4 Apr 2011 08:58:24 +0000 (11:58 +0300)]
Do not add project path to SYMBIAN_MATCHED_TRANSLATIONS if not needed

If the path to translation file is already absolute, do not add
the $$_PRO_FILE_PWD_ to it in symbian.conf

Task-number: QT-4842
Reviewed-by: axis
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging into 4.7-integration
Qt Continuous Integration System [Mon, 4 Apr 2011 09:19:06 +0000 (19:19 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-water-staging:
  Cocoa: p1 bugfix, add widget flag MacNoCocoaChildWindow

11 years agoQApplication does not define flag for "single touch"
Sami Merila [Mon, 4 Apr 2011 08:42:29 +0000 (11:42 +0300)]
QApplication does not define flag for "single touch"

Qt application was previously not setting a native framework's flag to
indicate that is supports "single touch" (i.e. activating an item would
only need one tap, instead of one tap to highlight and another to
activate) for Sym^3.

This was causing the native dialogs launched from within the
application to behave as Sym^1 dialogs.

As a fix, set the native flag when running Qt in Sym^3.

Task-number: QT-4569
Reviewed-by: Jani Hautakangas
11 years agoNative dialog softkeys are covered by QApplication softkeys
Sami Merila [Mon, 4 Apr 2011 08:39:58 +0000 (11:39 +0300)]
Native dialog softkeys are covered by QApplication softkeys

Dialog softkeys are covered by Qt Application's Softkeys

Updating softkeys while showing a native dialog, pushes Qt application CBA
on top of dialog CBA. Therefore, native dialog can not be dismissed.

As a workaround, when gaining focus to a window, do not update application
softkeys, if there is a native dialog shown.

Task-number: QTBUG-18486
Reviewed-by: mread
11 years agoCocoa: p1 bugfix, add widget flag MacNoCocoaChildWindow
Richard Moe Gustavsen [Mon, 4 Apr 2011 08:29:40 +0000 (10:29 +0200)]
Cocoa: p1 bugfix, add widget flag MacNoCocoaChildWindow

This problem has been known for a long time, but a good solution has
never been found. The problem is that a child window should always
stay on top of it's parent, if not for anything else than secure that
a modal child does not block input while hiding behind the parent at
the same time. The only sensible solution found to ensure this in the
Cocoa port is to use Cocoa child windows. But this API has a sad side
effect; it will move the child along with the parent when the parent
is moved on screen. This is something it seems we have to live with.
But for those users that wants to handle this issue otherwise, we now
add a widget flag to switch this off.

Task-number: QTBUG-11481
Reviewed-by: msorvig
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Mon, 4 Apr 2011 05:40:43 +0000 (15:40 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
  Fix failing autotest
  XmlListModel should allow types other than application/xml
  Document using Behaviors with States.

11 years agoFix failing autotest
Bea Lam [Mon, 4 Apr 2011 05:21:59 +0000 (15:21 +1000)]
Fix failing autotest

Caused by 4391e2a1c35a53cc5f116926a1e5177e9ee4f51e

11 years agoXmlListModel should allow types other than application/xml
Bea Lam [Mon, 4 Apr 2011 00:17:51 +0000 (10:17 +1000)]
XmlListModel should allow types other than application/xml

application/xml is the most appropriate content type but some servers
may use other types, e.g. text/xml, so allow */* as a fallback.

Task-number: QTBUG-18005
Change-Id: I0442148233e06aacb2cbfaaf7ae624ba733d5f9a
Reviewed-by: Michael Brasser
11 years agoDocument using Behaviors with States.
Michael Brasser [Fri, 1 Apr 2011 02:53:05 +0000 (12:53 +1000)]
Document using Behaviors with States.

Change-Id: I74f163cef8caa16cccb158061ec30ffb4e471fd1
Task-number: QTBUG-16856
Reviewed-by: Bea Lam
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-staging into 4.7-integration
Qt Continuous Integration System [Fri, 1 Apr 2011 21:03:43 +0000 (07:03 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-staging into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-staging: (45 commits)
  Removed mobile demos from the Symbian build in demos.pro
  Fixed demo subdirs for mobile examples.
  qdoc: Updates to the qdoc manual.
  Moved a couple of links into one list.
  Doc: Work on GettingStartedQt tutorial
  Added a link to the Debugging Techniques article.
  qdoc: Updates to the qdoc manual.
  qdoc: Added a way to exclude directories from receiving default metadata
  Edited the Tutorials and Examples pages. Renamed links in index.qdoc.
  Doc: Update to QStyledItemDelegate::displayText()
  qdoc: Added default values to config file for DITA
  Doc: Work on QAudioInput::start() functions.
  Avoided the use of hard-coded file names.
  Copied the declarative parser into qdoc3 to avoid dependency issues.
  qdoc: Don't wrap <image> in <fig> if in an <xref>
  Doc: Work on a11y docs
  qdoc: Added <copyright>, <copyryear>, and <copyrholder>.
  qdoc: Completed metadata handling.
  Doc: Small update to QImageReader/Writer::supportedImageFomrmats()
  Edited QtWebKit Guide qdoc and added external links.
  ...

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Fri, 1 Apr 2011 17:23:33 +0000 (03:23 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Add the auto detection for OpenGL in configure for makefile build system on Symbian.
  Don't display softkeys/statusbar on FS childs of non-FS windows

11 years agoAdd the auto detection for OpenGL in configure for makefile build system on Symbian.
Liang Qi [Fri, 1 Apr 2011 14:26:56 +0000 (16:26 +0200)]
Add the auto detection for OpenGL in configure for makefile build system on Symbian.

Task-number: QTBUG-18485
Reviewed-by: Miikka Heikkinen
Reviewed-by: axis
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
Qt Continuous Integration System [Fri, 1 Apr 2011 13:14:41 +0000 (23:14 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
  Manually amend latin1 change
  QGraphicsItem::ItemStops[ClickFocusProgration|FocusHandling] must not interfer with touch event propagation
  suppress warnings about ASCII to QString conversion
  take the user defined temp dir into account
  Compilation break in MSVC2008 and MSVC2005
  Remove useless LFLAGS
  Add docs for QNetworkConfigurationManager's time-consuming constructor.
  rebuild configure
  fix configure.exe option -opengl desktop
  use mkdir -p for mingw+sh
  Ensure the right font is used for rendering text on Mac
  QDirIterator returns hidden directories when it should only return files
  Update Polish translations
  L10n: Update German translations.

11 years agoDon't display softkeys/statusbar on FS childs of non-FS windows
Miikka Heikkinen [Fri, 1 Apr 2011 12:58:56 +0000 (15:58 +0300)]
Don't display softkeys/statusbar on FS childs of non-FS windows

Fullscreen child windows of non-fullscreen main application window
displayed softkeys and status bar when they shouldn't. Fixed it so that
fullscreen windows never display these items (except for softkeys when
explicitly specified to do so.)

Task-number: QTTH-1207
Reviewed-by: Sami Merila
11 years agoMerge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team
Qt Continuous Integration System [Fri, 1 Apr 2011 10:18:27 +0000 (20:18 +1000)]
Merge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team

* '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team:
  Removed mobile demos from the Symbian build in demos.pro

11 years agoManually amend latin1 change
Harald Fernengel [Fri, 1 Apr 2011 10:11:19 +0000 (12:11 +0200)]
Manually amend latin1 change

The result of QLatin1String + QLatin1String is a QStringBuilder object,
not a QString. Fall back to QString.arg(). Patch by Ritt Konstantin.

11 years agoRemoved mobile demos from the Symbian build in demos.pro
Jerome Pasion [Fri, 1 Apr 2011 10:03:39 +0000 (12:03 +0200)]
Removed mobile demos from the Symbian build in demos.pro

The demos require QtMobility libraries. Added notices in the
demo pages about the requirement.

Reviewed-by: Casper van Donderen
11 years agoQGraphicsItem::ItemStops[ClickFocusProgration|FocusHandling] must not interfer with...
Michael Hasselmann [Fri, 1 Apr 2011 09:27:07 +0000 (11:27 +0200)]
QGraphicsItem::ItemStops[ClickFocusProgration|FocusHandling] must not interfer with touch event propagation

Both flags are only supposed to affect focus handling but not the regular touch
event propagation. In this case, touch begin events were not propagated to any
item beneath the one carrying those flags.

Merge-request: 2588
Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Fri, 1 Apr 2011 03:43:27 +0000 (13:43 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
  Add missing test file.
  Changing width of RTL positioner doesn't relayout
  Fix TextInput auto test failure on mac.
  PinchArea and Flickable don't work well enough together
  Fix auto test failure.
  Once Image sourceSize is set there is no way to clear it.
  Rotation transform with NaN angle can cause crash
  Canceling image download while reading causes crash
  Fix width of TextInput micro focus rectangle.

11 years agoAdd missing test file.
Martin Jones [Fri, 1 Apr 2011 03:07:31 +0000 (13:07 +1000)]
Add missing test file.

Missing from ea304fb207b681ee084c4ce9bc61d1dd847bd7b0

Change-Id: If69b16fe71c69c174968868afed5647d6ea414a8
Task-number: QTBUG-17829

11 years agoChanging width of RTL positioner doesn't relayout
Martin Jones [Fri, 1 Apr 2011 00:36:49 +0000 (10:36 +1000)]
Changing width of RTL positioner doesn't relayout

If the width of the layout changes then the items must be laid out
again.

Change-Id: I2b97bd45d07842fd3da2a0637391473ed6d78aa8
Task-number: QTBUG-18501
Reviewed-by: Michael Brasser
11 years agoFix TextInput auto test failure on mac.
Andrew den Exter [Thu, 31 Mar 2011 06:46:02 +0000 (16:46 +1000)]
Fix TextInput auto test failure on mac.

Allow for some error due to additional padding on mac.

Change-Id: Iee9ce8eb9c4cec2f96c22340162f628ffcbd44d1
Reviewed-by: Bea Lam
11 years agoPinchArea and Flickable don't work well enough together
Martin Jones [Thu, 31 Mar 2011 23:29:38 +0000 (09:29 +1000)]
PinchArea and Flickable don't work well enough together

Allow PinchArea to be more aggressive in grabbing the gesture and
keep the gesture until all touches are released.

Change-Id: Ic80b7c4c478e1ee3b1c3da0772553756d9d5473f
Task-number: QTBUG-17829
Reviewed-by: Bea Lam
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Thu, 31 Mar 2011 16:57:19 +0000 (02:57 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Do not set focus unnecessarily at window activation in Symbian
  QS60Style: Regression in drawing dialog background
  QS60Style: Support menu separator (pt.2)
  Support for new softkey in Symbian^3

11 years agoDo not set focus unnecessarily at window activation in Symbian
Miikka Heikkinen [Thu, 31 Mar 2011 12:49:46 +0000 (15:49 +0300)]
Do not set focus unnecessarily at window activation in Symbian

Calling QSymbianControl::setFocusSafely(true) on currently focused
window causes the next window in stack to get the focus momentarily,
leading to various softkey problems, such as leaving child window's
softkeys around when child is closed and flickering softkeys when child
is opened. Added a check to QWidget::activateWindow to avoid calling
setFocusSafely for already focused windows.

Task-number: QTBUG-18409
Reviewed-by: Sami Merila
Reviewed-by: axis
11 years agosuppress warnings about ASCII to QString conversion
Ritt Konstantin [Thu, 31 Mar 2011 11:39:21 +0000 (13:39 +0200)]
suppress warnings about ASCII to QString conversion

and optimize macroses to use string literal concatenation instead of .arg()

Merge-request: 1038
Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
11 years agotake the user defined temp dir into account
Ritt Konstantin [Thu, 31 Mar 2011 11:39:19 +0000 (13:39 +0200)]
take the user defined temp dir into account

use user's QT_QWS_TEMP_DIR rather than hardcoded "/tmp" one

Merge-request: 1038
Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
11 years agoQS60Style: Regression in drawing dialog background
Sami Merila [Thu, 31 Mar 2011 11:04:21 +0000 (14:04 +0300)]
QS60Style: Regression in drawing dialog background

Fix for QTBUG-16858 improved somewhat QComboBox menu drawing, but
unfortunately caused regression in QMenu and dialog background
drawing. These widgets shouldn't reserve space for PM_MenuVMargin.

Task-number: QTBUG-18482
Reviewed-by: Dmitry Trofimov
11 years agoCompilation break in MSVC2008 and MSVC2005
Carlos Manuel Duclos Vergara [Thu, 31 Mar 2011 09:58:11 +0000 (11:58 +0200)]
Compilation break in MSVC2008 and MSVC2005

QSKIP requires two arguments in those compilers.
Continuation of the fix to QTBUG-15421.

Task-number: QTBUG-15421
Reviewed-by: Prasanth
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Thu, 31 Mar 2011 09:55:44 +0000 (19:55 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
  Fixed not switching to MeeGo graphicssystem.
  Fixed rounding of coordinates pre-transformation in CG paintengine.
  Don't include qwindowsurface_gl_p.h on QT_OPENGL_ES_1.

11 years agoQS60Style: Support menu separator (pt.2)
Sami Merila [Thu, 31 Mar 2011 09:47:53 +0000 (12:47 +0300)]
QS60Style: Support menu separator (pt.2)

Additional fix for this task. Make the separator slightly less wide,
since on some themes the menu background border might be transparent
near the left and right borders.

Task-number: QTBUG-10054
Reviewed-by: Tomi Vihria
11 years agoRemove useless LFLAGS
Darryl L. Miles [Thu, 31 Mar 2011 09:16:50 +0000 (11:16 +0200)]
Remove useless LFLAGS

These options were found to be no longer required for MinGW releases at
this time (they are also never valid for MinGW64 when building 64bit).

They actually never worked anyway, as the GNU toolchain linker option
"-enable-stdcall-fixup" actually means "-e" "nable-stdcall-fixup".

Merge-request: 1158
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
11 years agoAdd docs for QNetworkConfigurationManager's time-consuming constructor.
Xizhi Zhu [Fri, 25 Mar 2011 12:05:55 +0000 (14:05 +0200)]
Add docs for QNetworkConfigurationManager's time-consuming constructor.

Review-by: Iiro Kause
Task-number: QT-4313

11 years agoMerge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team
Qt Continuous Integration System [Thu, 31 Mar 2011 08:13:07 +0000 (18:13 +1000)]
Merge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team

* '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team:
  Fixed demo subdirs for mobile examples.
  QSoftkeyManager auto test update
  Corrected case mismatch.
  Fixed pro file syntax in demos/spectrum
  Fix for failing autotest QToolBar/Symbian
  Removed useless Exit button in Symbian^3

11 years agorebuild configure
Oswald Buddenhagen [Thu, 31 Mar 2011 08:10:59 +0000 (10:10 +0200)]
rebuild configure

11 years agofix configure.exe option -opengl desktop
Mark Brand [Thu, 31 Mar 2011 08:03:44 +0000 (10:03 +0200)]
fix configure.exe option -opengl desktop

Task-number: QTBUG-17997
Merge-request: 1161
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
11 years agoMerge remote-tracking branch 'mainline/4.7' into 4.7
Oswald Buddenhagen [Thu, 31 Mar 2011 08:02:49 +0000 (10:02 +0200)]
Merge remote-tracking branch 'mainline/4.7' into 4.7

11 years agouse mkdir -p for mingw+sh
Oswald Buddenhagen [Wed, 30 Mar 2011 17:05:28 +0000 (19:05 +0200)]
use mkdir -p for mingw+sh

all other unix mkspecs do so

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7
Jerome Pasion [Thu, 31 Mar 2011 07:59:20 +0000 (09:59 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7

11 years agoFix auto test failure.
Andrew den Exter [Thu, 31 Mar 2011 06:22:04 +0000 (16:22 +1000)]
Fix auto test failure.

Add test file ommited from b94176e69efc3948696c6774d5a228fc753b5b29.

Change-Id: Ia5436974a4941f50c8f1636196372e5b8a90be5f

11 years agoSupport for new softkey in Symbian^3
Titta Heikkala [Wed, 30 Mar 2011 09:41:24 +0000 (12:41 +0300)]
Support for new softkey in Symbian^3

QSoftKeyManager maps the StandardSoftKey values to Symbian commands.
This way the softkeys are using Symbian defined icons.

Task-number: QT-4620
Reviewed-by: Sami Merila
11 years agoOnce Image sourceSize is set there is no way to clear it.
Martin Jones [Thu, 31 Mar 2011 00:32:26 +0000 (10:32 +1000)]
Once Image sourceSize is set there is no way to clear it.

Image sourceSize lacked a RESET method to allow reverting to the
natural size of the image.

Change-Id: I4e9089d8e16991375745db553f891bd377143eab
Task-number: QTBUG-18442
Reviewed-by: Yann Bodson
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Thu, 31 Mar 2011 00:47:30 +0000 (10:47 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  QSoftkeyManager auto test update

11 years agoRotation transform with NaN angle can cause crash
Martin Jones [Wed, 30 Mar 2011 23:08:03 +0000 (09:08 +1000)]
Rotation transform with NaN angle can cause crash

When used in conjunction with Text resulted in massive memory
consunmption.

Change-Id: I5e19cb54bcd57b1ea32d17641f976f8288611a9e
Task-number: QTBUG-18386
Reviewed-by: Charles Yin
11 years agoEnsure the right font is used for rendering text on Mac
Andy Shaw [Wed, 30 Mar 2011 13:33:12 +0000 (15:33 +0200)]
Ensure the right font is used for rendering text on Mac

When ATSFontGetName() did not set name to the font name then it would
cause Qt to fall back to a font that was not the right one.  Therefore
calling ATSFontFamilyGetName() in this case will help ensure it gets the
right font.

Reviewed-by: Jiang
11 years agoFixed demo subdirs for mobile examples.
Jerome Pasion [Wed, 30 Mar 2011 13:08:58 +0000 (15:08 +0200)]
Fixed demo subdirs for mobile examples.

11 years agoQDirIterator returns hidden directories when it should only return files
Carlos Manuel Duclos Vergara [Wed, 30 Mar 2011 12:05:03 +0000 (14:05 +0200)]
QDirIterator returns hidden directories when it should only return files

In Qt 4.5.3 and earlier, creating a QDirIterator with QDir::Files |
QDir::Hidden (i.e. search for all files, including hidden files)
returned a list of all hidden and non-hidden files in a directory tree.
In Qt 4.6.0 and later the same filter causes QDirIterator to return a
list of all hidden and non-hidden files and all hidden directories. As
the user is asking only for files, clearly returning hidden directories
too is incorrect behaviour.

Similarly, when asking for QDir::Dirs | QDir::Hidden (i.e. all
directories, including hidden directories), hidden files are also
(wrongly) returned.

Task-number: QTBUG-15421
Reviewed-by: joao
11 years agoQSoftkeyManager auto test update
Titta Heikkala [Mon, 28 Mar 2011 08:49:04 +0000 (11:49 +0300)]
QSoftkeyManager auto test update

Updated correct values to simulateSymbianCommand function calls. It is
defined in QSoftKeyManagerPrivateS60 that left and right softkeys are
0 and 2, now these values are used in test also.
The signal spy actions have been updated to track the correct
button in checkSoftkeyEnableStates-function.

Task-number: QTBUG-18375
Reviewed-by: Sami Merila
11 years agoMerge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team
Qt Continuous Integration System [Wed, 30 Mar 2011 11:09:36 +0000 (21:09 +1000)]
Merge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team

* '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team:
  qdoc: Updates to the qdoc manual.
  Return correct boundaries reasons from QTextBoundaryFinder.
  GridView jumps to beginning of list when resized
  Update changes for 4.7.3
  QMeeGoLivePixmapData: Verify dimensions of locked pixmap
  directfb: avoid version dependency by setting DSPD_DST blend functions manually
  fix -enable-stdcall-fixup usage
  Report that an update is needed if no update was done

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7
Jerome Pasion [Wed, 30 Mar 2011 10:16:37 +0000 (12:16 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7
Jerome Pasion [Wed, 30 Mar 2011 09:59:37 +0000 (11:59 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7

11 years agoMerge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7
Martin Smith [Wed, 30 Mar 2011 09:57:36 +0000 (11:57 +0200)]
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7

11 years agoqdoc: Updates to the qdoc manual.
Martin Smith [Wed, 30 Mar 2011 09:57:26 +0000 (11:57 +0200)]
qdoc: Updates to the qdoc manual.

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Wed, 30 Mar 2011 09:01:55 +0000 (19:01 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Corrected case mismatch.
  Fixed pro file syntax in demos/spectrum
  Fix for failing autotest QToolBar/Symbian
  Removed useless Exit button in Symbian^3

11 years agoFixed not switching to MeeGo graphicssystem.
Samuel Rødal [Wed, 30 Mar 2011 08:41:46 +0000 (10:41 +0200)]
Fixed not switching to MeeGo graphicssystem.

If two windows become maximized at once we might not switch, this is an
attempt at fixing that.

Reviewed-by: Armin Berres
11 years agoCanceling image download while reading causes crash
Martin Jones [Wed, 30 Mar 2011 04:09:56 +0000 (14:09 +1000)]
Canceling image download while reading causes crash

We were deleting a QObject owned by another thread, which is fine if
there are no pending events, but very bad if there are, e.g.
queued signals due to downloadProgress() updates.  Use deleteLater()
which is safe to call in any thread.
Also call QDeclarativePixmap::clear(QObject *obj) where appropriate
to remove connections and ensure we don't handle any unwanted signals
after the download is cancelled.

Change-Id: Ia8fb41a8cd004d9840e7cec35915f1afdb03ac4d
Task-number: QTBUG-18412
Reviewed-by: Aaron Kennedy
11 years agoMerge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team
Qt Continuous Integration System [Wed, 30 Mar 2011 03:33:41 +0000 (13:33 +1000)]
Merge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team

* '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team:
  Moved a couple of links into one list.
  Show softkeys when opening a dialog that has a fullscreen parent.
  Fixed infinite loop in QPainterPath::intersects() when qreal=float.
  Fix text selection with shift-click.
  QSslSocket: add test for blacklisted certificates
  Fixed autotests on Windows.
  QSslSocket internals: abort on encountering blacklisted certificates
  QS60Style: draw QComboBox menu correctly
  Remove two compilation warnings for ARM
  QTabWidget tabs are resized in wrong way when device rotates
  Symbian: QComboBox popup Listbox size is not adjusted
  QSslCertificate: fix test for blacklisted certs on Windows
  Switched back to using symlinks for all mkspecs on Linux.
  QS60Style: Support for Menu separators
  QSslCertificate: report fraudulent certificates as invalid
  Native image handle provider support in QGLPixmapData
  Fix an issue with VGImage readback in openvg.
  FTP: Only read as much as the buffer size the user provided
  QSysInfo support for next generation Symbian devices.
  Call FixNativeOrientation on Symbian for certain fullscreen qml views.

11 years agoFix width of TextInput micro focus rectangle.
Andrew den Exter [Fri, 25 Mar 2011 05:28:40 +0000 (15:28 +1000)]
Fix width of TextInput micro focus rectangle.

Remove the padding QLineControl::cursorRect() adds for region updates.
QGraphicsView also grew the rectangle by returning the bounding rect
of the transformed rectangle which is fixed by using the same transform
for QRect as is used for QRectF.

Change-Id: I8d8df9dbc6b4250e4e5392871191123a76b304a0
Task-number: QTBUG-18343
Reviewed-by: Martin Jones
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Wed, 30 Mar 2011 02:35:46 +0000 (12:35 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
  Return correct boundaries reasons from QTextBoundaryFinder.
  GridView jumps to beginning of list when resized

11 years agoReturn correct boundaries reasons from QTextBoundaryFinder.
Andrew den Exter [Thu, 3 Mar 2011 05:20:17 +0000 (15:20 +1000)]
Return correct boundaries reasons from QTextBoundaryFinder.

The next character after a boundary is at pos, not pos + 1.  Also
consider whether the previous and next character are whitespace in
combination when determing word boudaries otherwise positions between
whitespace characters will return both StartWord and EndWord.

And since there's no need to look ahead one character don't shortcut`
the regular logic for the boundary before the last character.

Change-Id: I2efbf3947066767945f96bf8456ef518d2149191
Task-number: QTBUG-11365
Reviewed-by: Denis Dzyubenko
Reviewed-by: Ritt Konstantin
11 years agoGridView jumps to beginning of list when resized
Martin Jones [Tue, 29 Mar 2011 22:57:32 +0000 (08:57 +1000)]
GridView jumps to beginning of list when resized

Introduced by RTL changes.  The list position should only be reset when
the view is completely regenerated, e.g. when the orientation changes.

Change-Id: I748333529c113d95eaebfb8ac9bb9cf543413d3b
Task-number: QTBUG-18441
Reviewed-by: Bea Lam
11 years agoFixed rounding of coordinates pre-transformation in CG paintengine.
Samuel Rødal [Tue, 29 Mar 2011 14:29:32 +0000 (16:29 +0200)]
Fixed rounding of coordinates pre-transformation in CG paintengine.

Rounding the coordinate pre-transformation leads to pretty big
positioning errors when the painter has a large scale, and small source
coordinates are used.

Task-number: QTBUG-18416
Reviewed-by: Eskil Abrahamsen Blomfeldt
11 years agoCorrected case mismatch.
axis [Tue, 29 Mar 2011 13:52:03 +0000 (15:52 +0200)]
Corrected case mismatch.

RevBy:    Trust me

11 years agoDon't include qwindowsurface_gl_p.h on QT_OPENGL_ES_1.
Samuel Rødal [Tue, 29 Mar 2011 14:15:03 +0000 (16:15 +0200)]
Don't include qwindowsurface_gl_p.h on QT_OPENGL_ES_1.

This causes linker errors since qwindowsurface.cpp isn't compiled.

Task-number: QTBUG-14217
Reviewed-by: Eskil Abrahamsen Blomfeldt
11 years agoFixed pro file syntax in demos/spectrum
Gareth Stockwell [Tue, 29 Mar 2011 12:51:26 +0000 (13:51 +0100)]
Fixed pro file syntax in demos/spectrum

Reviewed-by: Daniel Teske
11 years agoMoved a couple of links into one list.
Jerome Pasion [Tue, 29 Mar 2011 13:37:33 +0000 (15:37 +0200)]
Moved a couple of links into one list.

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Tue, 29 Mar 2011 13:26:50 +0000 (23:26 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
  QMeeGoLivePixmapData: Verify dimensions of locked pixmap

11 years agoUpdate Polish translations
Jarek Kobus [Tue, 29 Mar 2011 11:44:42 +0000 (13:44 +0200)]
Update Polish translations

Reviewed-by: Pawel Polanski <pawel.3.polanski@nokia.com>
11 years agoL10n: Update German translations.
Friedemann Kleint [Tue, 29 Mar 2011 11:30:38 +0000 (13:30 +0200)]
L10n: Update German translations.

11 years agoMerge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team
Qt Continuous Integration System [Tue, 29 Mar 2011 10:15:09 +0000 (20:15 +1000)]
Merge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team

* '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team:
  Doc: Work on GettingStartedQt tutorial

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7
Jerome Pasion [Tue, 29 Mar 2011 10:12:34 +0000 (12:12 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7
Geir Vattekar [Tue, 29 Mar 2011 10:05:19 +0000 (12:05 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7

11 years agoDoc: Work on GettingStartedQt tutorial
Geir Vattekar [Fri, 21 Jan 2011 07:45:25 +0000 (08:45 +0100)]
Doc: Work on GettingStartedQt tutorial

Task-number: QTBUG-16609

11 years agoMerge commit 'refs/merge-requests/2584' of gitorious.org:qt/qt into merge-requests...
Sami Merila [Tue, 29 Mar 2011 09:26:18 +0000 (12:26 +0300)]
Merge commit 'refs/merge-requests/2584' of gitorious.org:qt/qt into merge-requests/2584

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7
Jerome Pasion [Tue, 29 Mar 2011 08:23:26 +0000 (10:23 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7

11 years agoFix for failing autotest QToolBar/Symbian
Sami Merila [Tue, 29 Mar 2011 07:03:35 +0000 (10:03 +0300)]
Fix for failing autotest QToolBar/Symbian

QS60Style was calculating the minimum size of a toolbutton inside
a toolbar based on number of visible buttons. Of course, when the
non-visible buttons become visible and we are limiting the toolbar
width to screen width it fails (since the orginally visible button is
already claiming to take whole width of toolbar and now-visible button
is taking half the button width).

As a fix, calculate minimum size based on number buttons only,
irregardless of their visibility.

Task-number: QTBUG-17777
Reviewed-by: Miikka Heikkinen
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
Qt Continuous Integration System [Mon, 28 Mar 2011 23:31:29 +0000 (09:31 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
  Update changes for 4.7.3
  directfb: avoid version dependency by setting DSPD_DST blend functions manually
  fix -enable-stdcall-fixup usage
  Report that an update is needed if no update was done

11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Mon, 28 Mar 2011 19:48:40 +0000 (05:48 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Show softkeys when opening a dialog that has a fullscreen parent.
  Fixed autotests on Windows.
  QS60Style: draw QComboBox menu correctly
  Remove two compilation warnings for ARM
  QTabWidget tabs are resized in wrong way when device rotates
  Symbian: QComboBox popup Listbox size is not adjusted
  Switched back to using symlinks for all mkspecs on Linux.
  QS60Style: Support for Menu separators
  Native image handle provider support in QGLPixmapData
  Fix an issue with VGImage readback in openvg.
  QSysInfo support for next generation Symbian devices.
  Call FixNativeOrientation on Symbian for certain fullscreen qml views.

11 years agoMerge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team
Qt Continuous Integration System [Mon, 28 Mar 2011 18:53:28 +0000 (04:53 +1000)]
Merge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team

* '4.7' of git://scm.dev.nokia.troll.no/qt/qt-doc-team:
  Added a link to the Debugging Techniques article.
  Fix QUnifiedTimer bug
  Make sure num_glyphs pass to HarfBuzz is large enough
  Fix memory leak.
  Icon in QMessageBox::question is deformed on Symbian
  Prevent crash when connecting signal in splitview
  GraphicsViews: Focused widget is not visible after orientation change
  GraphicsViews: Focused widget is not visible after orientation change
  Add missing nullify for the s60 style's background pixmap pointer.
  Fixes QT-4753
  sort out stdout vs. stderr usage
  Changes for 4.7.3
  Implement tiled image and pixmap drawing in VG paint engine.
  Changed maximum heap size for qmlflickr on Symbian.
  Change Symbian to use destroyed swap behaviour in GL
  Remove useless profile reference.
  Text bounding rect calculated incorrectly if non-top aligned.

11 years agoUpdate changes for 4.7.3
Timo Turunen [Mon, 28 Mar 2011 18:18:40 +0000 (21:18 +0300)]
Update changes for 4.7.3

Reviewed-by: Trust Me
11 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Mon, 28 Mar 2011 16:37:37 +0000 (02:37 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
  Fix text selection with shift-click.

11 years agoQMeeGoLivePixmapData: Verify dimensions of locked pixmap
Sami Kyostila [Mon, 28 Mar 2011 16:08:29 +0000 (18:08 +0200)]
QMeeGoLivePixmapData: Verify dimensions of locked pixmap

When a switch from HW rendering to SW rendering is done, all EGL
surfaces backing a live pixmap become invalid because EGL is
terminated. Thanks to a recent patch, all live images are now
automatically invalidated when SW rendering is activated.

Even with this mechanism in place, it is possible for the underlying EGL
surface to be different than what the live pixmap is expecting. This can
happen, for instance, if the X pixmap gets destroyed and a different X
drawable is created using the same XID. Even though this is an unlikely
scenario, it can result in a complete system failure if the surface
dimensions do not match and the live pixmap user ends up writing over
internal graphics driver structures.

This patch adds a safeguard which disallows locking EGL surfaces with
non-matching dimensions.

Fixes Harmattan bug NB#237138.

Merge-request: 2583
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>