Fix case in documentation of qobjectbridge bindings

The method toDataURL does not work, but calling toDataUrl does. This
patch updates the documentation to match the exported method name.

Task-number: QTBUG-40268
Change-Id: Icf0ee233df141d43367da045834e6a42c9afb31a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Fix crash in DeviceOrientationController when !HAVE(QTSENSORS)

Regression introduced by QSensors leak fix (QTBUG-38857).

Change-Id: I22dd4f774012ef9b8af9ba8b59e1e4603a3ebbf4
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Fix regression in QQuickWebView's transparent backgound

We need to set both setDrawsTransparentBackground and setDrawsBackground
to get the full correct behavior of transparent backgrounds.

Task-number: QTBUG-40063
Change-Id: Iaa276a6a12e3cff40d8bc2892fb0667242afb88b
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Fix fallback conversion of recognized objects

All objects are added the list of visited objects, but only those
that were not recognized more specific than 'Object' are removed before
trying the fallback conversion. This prevents the fallback from working
as the algorithm will assume we are looping.

Task-number: QTBUG-39951
Change-Id: I1d538c452092485b371c335e53f16db162bd4fb1
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Fix key identifier for comma key ("Separator")

Change-Id: Ib450ba08d1bf53e2f7879560cb8ec764997570db
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
[mips] Take advantage of integer divide instruction for ArithDiv and ArithMod.

Added MIPS integer divide path for ArithDiv and ArithMod where operands and results are integer.

Change-Id: I00d5b58e6e0be39f083676fb0c435b3545d3aca1
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Update license headers and add new license files

- Added LICENSE.LGPLv3, LICENSE.GPLv2 & LICENSE.LGPLv21

Change-Id: Ic5dc1e41d623e73068faf3683dd8e8c3a0ae8864
Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
[mips] Use shorter j <address> jump in MacroAssembler::replaceWithJump

Patch taken from https://bugs.webkit.org/show_bug.cgi?id=125920

Change-Id: I6583ea37e00f4dff80971bd44906936229540171
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Use new QOpenGLFramebufferObject::toImage without flipping

An option to not flip the image was added to QOpenGLFramebufferObject's
toImage() method. This means we no longer need to implement our own.

Change-Id: Ic23b22dbd5bf3b59189651dd207fdc83018fe95e
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Do not use graphics surface when painting WebGL in WebKitWidgets

Copying the texture to a surface and then painting the surface to the
texture mapper is needlessly complicated when we can paint the texture
directly.

This reduces overhead and fixes issues on drivers where graphics
surfaces do not work.

Change-Id: I6d2c935f7f2f98c56b66748f70eb37cc9c720f8d
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Take advantage of 3 parameters or32() calls

https://bugs.webkit.org/show_bug.cgi?id=136287

Reviewed by Michael Saboff.

For specific architectures (arm and mips for instance), or32() calls
with 3 parameters are likely to produce a single instruction.

Change-Id: I1c56f5b8229dd2d82d96c56cb10b1ac8dc9ba0b0
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@173006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Merge remote-tracking branch 'origin/5.3' into 5.4

Change-Id: Ideed7a2c21b448633c32f690918eb1ae40355819
Correct GC length unit and prevent division by 0 in showObjectStatistics.

https://bugs.webkit.org/show_bug.cgi?id=136340

Reviewed by Mark Hahnenberg.

Change-Id: I20483be1225d674160bbdab183bc52121fe4411c
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@173062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Merge remote-tracking branch 'origin/5.4' into dev

Change-Id: Ieeb64b0538feac244e643f7309c8571add866f78
Merge "Merge remote-tracking branch 'origin/5.3' into 5.4" into refs/staging/5.4
Bump version

Change-Id: Icd62ad6ca89ac8039272d9b3caaacabc571e0c8d
Use Qt's qt_gl_read_framebuffer method instead of reimplementing it

The fallback for rending a 3D graphics context was using an inefficient
read_framebuffer implementation. This patch instead uses the internal
Qt version which is exported for exactly this purpose.

Change-Id: Icf38d072feea7b5dec6c6ff568d42136943674bc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Improve layout and rendering speed of complex font path

This patch enables the use of the TextLayout object previously only used
by the Mac port. This caches a line of laid out text making reflowing
text much faster when using the complex font path.

The patch also enables caching in the QTextLayout, this improves also
drawing and measuring of complex fonts, since previously we would throw
away details of the layout after calculating a line, but then
recalculate it for drawing or measuring.

Change-Id: I9db40cdb5a35d28072204f950a8aa50669ac643b
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
[mips] Handle properly halfword load in JavaScriptCore.

This patch improves YarrJIT efficiency on mips platforms.
SunSpider's regexp-dna test can be used to monitor performance impact.

Change-Id: I28d99fb01628bc72f29c120caf8bc53c5d06e3ff
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
[mips] Fix unaligned access in Low Level Interpreter (LLINT).

Address loads used with btbxx opcodes were wrongly converted to lw instruction
instead of lbu, leading to unaligned access on mips platforms.

Change-Id: I7b14aa40215affe582bcadade2f783769a97a7d3
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>