summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Ensure QtWebProcess is built in release modev5.5.15.5.1Andy Shaw2015-09-011-1/+1
| | | | | | | | | | If debug_and_release is set then QtWebProcess should be built in release mode as it is a separate process and when it is deployed later it will be in the right mode already. Task-number: QTBUG-40507 Change-Id: I89d11493d519b363bdc671ea2f0c215d15d0ea3a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Fix QNetworkReply::abort and QNetworkReply::closeMikhail Korobov2015-08-262-0/+8
| | | | | | | | | | | | Don't read from closed QNetworkReply instances. This fixes QWebView hangs on some of the web sites when reply->abort() or reply->close() is called. [ChangeLog][QtWebKit] fixed reply->abort() and reply->close() handling. Change-Id: I8d46ad115954369b9de0b5a74b118fc3bf2f1092 Task-number: QTBUG-47654 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* WebCore: Make compile with MSVC2015Kevin Funk2015-08-141-1/+1
| | | | | | | | | Without this patch, i.e. without removing -GL from linker flags, WebCore fails to link. Checked with MSVC 2015 RTM (latest version right now). Change-Id: If36ea0e7d8f6e2e6026033240e547e90be70d335 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Add the GPLv3 license textThiago Macieira2015-08-132-0/+688
| | | | | | | LGPLv3 refers to it but does not include it in its body. Change-Id: Ib056b47dde3341ef9a52ffff13eed18cf3504738 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* call flex by its standard nameAndrew Knight2015-08-131-3/+0
| | | | | | | qt5.git now contains the win_flex as simply flex. Change-Id: I3c3f8c204908f81bd88ee58323cf982f08d2d525 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Add missing docs for QWebSettings attributes.Florian Bruhin2015-08-101-0/+6
| | | | | | | | | WebAudioEnabled is left undocumented because it doesn't work, but WebGLEnabled/HyperlinkAuditingEnabled/CSSRegionsEnabled seem to work fine. Change-Id: I12c88424ae77cdb6f1e0279b39a538ee932b8b60 Reviewed-by: Julien Brianceau <jbriance@cisco.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Check m_p in WebCore::SocketStreamHandle::platformClose().Florian Bruhin2015-08-101-1/+2
| | | | | | | | | Also see a related Chromium fix: http://trac.webkit.org/changeset/111656/trunk/Source/WebKit/chromium/src/SocketStreamHandle.cpp Change-Id: I14d4279dad5db56a2a4a273e89e76456d8eb1702 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Remove QTWEBKIT_VERSION left-oversAllan Sandfeld Jensen2015-07-292-46/+1
| | | | | | | | We removed QTWEBKIT_VERSION in Qt 5.0, but still document it and still define the QTWEBKIT_VERSION_CHECK helper. Change-Id: Iadbe0004224f3cef20a5d55a5ec8b46f04b387d8 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* [mips] Fix potential crash in OSAllocatorPosixJulien Brianceau2015-07-261-0/+1
| | | | | | | | As it is rightly said in https://bugs.webkit.org/show_bug.cgi?id=125920#c2, result should be updated if we want to return the 2nd half of the mmaped area. Change-Id: I83dc6548d80138934565e53a4646d472dfd30210 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Bump versionOswald Buddenhagen2015-06-291-1/+1
| | | | Change-Id: I59ac13eed1654cf72ee891636d9b1e68c363da69
* Merge remote-tracking branch 'origin/5.5.0' into 5.5Liang Qi2015-06-261-0/+53
|\ | | | | | | Change-Id: Ic37eced3ae4078bae477193c16b224816b93a6cb
| * Changes for 5.5.0v5.5.0-rc1v5.5.05.5.0Allan Sandfeld Jensen2015-06-031-0/+53
| | | | | | | | | | | | | | Listing the few changes in 5.5.0 Change-Id: Ifc40fa6b6ba81c82af44cd7bf97d23c15c02ff44 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* | Crashes and asserts in subframesAllan Sandfeld Jensen2015-06-222-6/+33
|/ | | | | | | | | | | | | When a subframe is not composited it may be painted immediately when its parent is painted. This means that if it is not laid out, it may cause asserts during painting, if we only check the parent is laid out. The patch is based on http://svn.webkit.org/repository/webkit/trunk@180063 by Simon Fraser. Task-number: QTBUG-45428 Change-Id: Ib7e283485bef68375c7b023264f79acd7490e2c5 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.4' into 5.5Allan Sandfeld Jensen2015-06-011-1/+2
|\ | | | | | | Change-Id: Icc1f3caf891dd114064f0fd37931d9bf6c7ccfc1
| * Blacklist vlc plugin5.4Allan Sandfeld Jensen2015-06-011-1/+2
| | | | | | | | | | | | | | | | The VLC plugin may load a plugins of its own that uses Qt4. Change-Id: I5229a360f7d08d024fb93df1a2993fd7c0176848 Task-number: QTBUG-45431 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* | Merge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5Liang Qi2015-05-296-5/+9
|\ \
| * \ Merge remote-tracking branch 'origin/5.4' into 5.5Allan Sandfeld Jensen2015-05-296-5/+9
| |\ \ | | |/ | | | | | | Change-Id: Iceb5c402acfd83632007cb5f7673b4d6cda08e6b
| | * Support MSVC 2015Allan Sandfeld Jensen2015-05-296-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes building qtwebkit with MSVC 2015 Change-Id: I94b085ab822b3cdfa911814467e051c11c93d79e Task-number: QTBUG-46344 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* | | Fix another potential OpenGL crash on exitAllan Sandfeld Jensen2015-05-291-0/+3
|/ / | | | | | | | | | | | | | | | | | | | | Now that the QOpenGLContext is watched and set to 0 if deleted, we might have a private class, but no context on deletion, we must therefore test the pointer before trying to make it active to do the final cleanups. Change-Id: Ie970265adfba5d0405a02a157bee344665d2092f Reviewed-by: Yohan Chuzeville <ychuzevi@cisco.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.4' into 5.5Liang Qi2015-05-265-4/+102
|\ \ | |/ | | | | Change-Id: Icfe7bccfeba4697fc1fa7b3ddd082ffa30909900
| * Merge remote-tracking branch 'origin/5.4.2' into 5.4Liang Qi2015-05-252-2/+39
| |\ | | | | | | | | | Change-Id: Iafbf406788fa3b89d01bc11c45c56727f058b189
| | * Fix drawing of oversized accelerated layersv5.4.25.4.2Allan Sandfeld Jensen2015-05-212-2/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a special content layer that can used when we drop the backing store due to size, but still need to draw the content that would have been in the backing store. This fixes a regression introduced with the recent patch to prevent large backing stores. Change-Id: I9a61b3cc978bccdaa423c0d076e3aeaa7d9ebc99 Task-number: QTBUG-46178 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
| * | Merge remote-tracking branch 'origin/5.4.2' into 5.4Liang Qi2015-05-183-2/+63
| |\ \ | | |/ | | | | | | Change-Id: I5bacbd4ac254149e45003fea759855df598a2f36
| | * Changes fileAllan Sandfeld Jensen2015-04-241-0/+54
| | | | | | | | | | | | | | | | | | Change-Id: Ic049b5a411c151b316f20e5528a8b46f82ba83e2 Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
| | * Fix assertion on qt.ioAllan Sandfeld Jensen2015-04-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Our webkit examples all assert on resize due to qt.io trying to do an animation from an undefined value. Change-Id: I95aaee7834b2caba37e55f2cc09160af638a8d39 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
| | * Fix crash when loading new doc after a single image docEirik Aavitsland2015-04-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Added a couple of nullpointer checks in image document cleanup. Task-number: QTBUG-42890 Change-Id: I533a517ed7402428afc3ae470398a64ed0b6a2a8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | | Merge "Merge remote-tracking branch 'origin/5.4' into 5.5" into refs/staging/5.5Allan Sandfeld Jensen2015-05-1810-10/+57
|\ \ \
| * \ \ Merge remote-tracking branch 'origin/5.4' into 5.5Allan Sandfeld Jensen2015-05-1810-10/+57
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ib823c8eeb271b380811827aae1ac0bd50ea5a59b
| | * | Enforce no remote access from local URLs for XHRAllan Sandfeld Jensen2015-04-289-10/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a specific setting to disable remote access for local URLs and also enforce that on data-URLs loaded owned by local URLs. Change-Id: Ied8ec141eb1c28775644fce184a4759a79e1d177 Task-number: QTBUG-45556 Reviewed-by: Dmitry Shachnev <mitya57@gmail.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
| | * | SVG loaded through html <img> can't request to load any external resources.Said Abou-Hallawa2015-04-271-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=137762. Patch by Said Abou-Hallawa <sabouhallawa@apple.com> on 2014-10-22 Reviewed by Daniel Bates. Source/WebCore: SVG images have unique security rules that prevent them from loading any external resources. This patch enforces these rules in CachedResourceLoader::canRequest for all non-data-uri resources. The fix and the tests are ported but modified a little from the chromium fix: http://src.chromium.org/viewvc/blink?view=rev&rev=176084 Test: http/tests/security/svg-image-with-cached-remote-image.html http/tests/security/svg-image-with-css-cross-domain.html For the SVG image, prevent loading any external sub-resource except for data urls. * loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::canRequest): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175074 268f45cc-cd09-0410-ab3c-d52691b4dbfc Change-Id: Iec5014e81e25c37cc6754d7cc73645b17994974f Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
| | * | Bump versionOswald Buddenhagen2015-04-201-1/+1
| | |/ | | | | | | | | | Change-Id: I1145f955b341ab5f64d72630a51d49bbf1b542aa
* | | Fix potential crash on exitAllan Sandfeld Jensen2015-05-181-1/+2
|/ / | | | | | | | | | | | | | | | | If we close a browser with a combobox open it may crash on exit due to double deferred deletion. This patch avoids that by using a smarter pointer. Change-Id: I3f1c561b0eb70cf1a51054de51b1027b52cd41b6 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.4' into 5.5v5.5.0-beta1Liang Qi2015-04-156-27/+55
|\ \ | |/ | | | | Change-Id: I0d9dd63455dc12402afd56cc1bd97d0cc97c24e8
| * Fix crash when exiting browser with WebGL or accelerated canvas.Yohan Chuzeville2015-04-131-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue is that the TextureMapperGL creates a GraphicsContext3D using the current OpenGL context. This is done by storing a reference on QOpenGLContext::currentContext() inside GraphicsContext3DPrivate::GraphicsContext3DPrivate(). When exiting the browser, Qt releases QOpenGLContext before the release of the GraphicsContext3D in webkit which leads to a crash when destoying GraphicsContext3DPrivate. Task-number: QTBUG-45481 Change-Id: I2b9d7b1a96fbbe8517ea323d45ef3922ada208a3 Reviewed-by: Julien Brianceau <jbriance@cisco.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| * DFG optimizes out strict mode arguments tear offFilip Pizlo2015-04-101-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=119504 Source/JavaScriptCore: Reviewed by Mark Hahnenberg and Oliver Hunt. Don't do the optimization for strict mode. * dfg/DFGArgumentsSimplificationPhase.cpp: (JSC::DFG::ArgumentsSimplificationPhase::run): (JSC::DFG::ArgumentsSimplificationPhase::pruneObviousArgumentCreations): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154217 268f45cc-cd09-0410-ab3c-d52691b4dbfc Change-Id: I68037df21deaa964ff18c4f168f465c2600627f7 Reviewed-by: Julien Brianceau <jbriance@cisco.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
| * Fix crash in JIT::DFG::prepareOSREntryJulien Brianceau2015-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | While verifying predictions in prepareOSREntry, locals could lay outside the stack in some cases. So we shouldn't retrieve jsValue from locals when we don't have to. Task-number: QTBUG-45299 Change-Id: I70003170348887128e11360fb501b69647194172 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| * Avoid backing store for texturemapper layers over 8192x8192Allan Sandfeld Jensen2015-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We already block too large elements from getting a composited layer with backing store, but in the case where an already composited layer is resized above the size limit, it may have bad size until relayed out. This patch blocks the backing store of such a graphics layer from being instantiated. Change-Id: I03c1688c00c1f96fdaf7ef251ee285c05c072730 Task-number: QTBUG-44523 Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
| * Fix URLs visited during private browsing showing up in WebpageIcons.db.Florian Bruhin2015-03-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ported from http://trac.webkit.org/changeset/181565 by beidson@apple.com. Upstream patch by Sam Weinig, reviewed by Brady Eidson. * loader/icon/IconController.cpp: (WebCore::IconController::startLoader): Bail early here if the page is using an ephemeral session. (WebCore::IconController::continueLoadWithDecision): Instead of here. Change-Id: I263bb6122606caa3488d641b127dd377012ee424 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
| * Set minimum DOMTimer interval to 4msAllan Sandfeld Jensen2015-03-181-0/+2
| | | | | | | | | | | | | | | | | | | | This changes the QtWebKitWidgets minimum DOMTimer precision to match that of QtWebKitQML (WebKit2) and other WebKit1 APIs. See also https://bugs.webkit.org/show_bug.cgi?id=61214 Change-Id: Id8ce7d217ed27396c8b14584f8c0c22a5df888cd Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
| * Fix crash on exit in OpenGL accelerated modeAllan Sandfeld Jensen2015-03-171-15/+16
| | | | | | | | | | | | | | Do not try to cleanup on an already destroyed OpenGL context. Change-Id: I56d2a07700b1f69100be7fc9537dd0bc69449a0c Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.4' into 5.5Frederik Gladhorn2015-03-171-4/+2
|\ \ | |/ | | | | Change-Id: I5add7bbeab559b3f14207c37c6e010f953f6a286
| * Incorrect type speculation reported by ToPrimitiveOliver Hunt2015-03-111-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=119458 Reviewed by Mark Hahnenberg. Make sure that we report the correct type possibilities for the output from ToPrimitive * dfg/DFGAbstractInterpreterInlines.h: (JSC::DFG::::executeEffects): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153674 268f45cc-cd09-0410-ab3c-d52691b4dbfc Change-Id: I85d91598088ead350c89c4a9cc28a2bd866a2d22 Task-number: QTBUG-44912 Reviewed-by: Julien Brianceau <jbriance@cisco.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.4' into 5.5v5.5.0-alpha1Allan Sandfeld Jensen2015-03-1019-73/+144
|\ \ | |/ | | | | Change-Id: I824a984e8552340c2f9f631ac951f2c9eaa90b74
| * Fix g++ 5.0 buildAllan Sandfeld Jensen2015-03-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | A non-inline template needs to be explicitly instantiated if used outside the object where it is declared. Patch suggested by Khem Raj. Task-number: QTBUG-44829 Change-Id: Ib0adbd9273bd1cef01e5863bc8aaa9c373022792 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| * Doc: Link issues Qt WebKitNico Vertriest2015-03-052-2/+2
| | | | | | | | | | | | | | | | Removed obsolete references QInputContext and QtDeclarative Task-number: QTBUG-43775 Change-Id: I308931beaec5ef2067350649135c26df1fe3817b Reviewed-by: Martin Smith <martin.smith@digia.com>
| * Fix unsafe memory load/store from the argument encoder/decoder affecting ARMBenjamin Poulain2015-03-032-39/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=125674 Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-12-12 Reviewed by Darin Adler. Depending on the CPU and CPU config, load and store may have to be aligned. The argument buffer has no particular alignment which can cause problems. In this case, on ARMv7, strd and ldrd can have alignment restriction on 16 bytes. The code encoding double and 64 bits integers was causing bugs. To avoid problems, the encoders/decoders are modified to just use memcpy. The compiler optimizes it away for the right instructions (clang uses two ldr/str in the case of 64bits values on ARMv7). * Platform/CoreIPC/ArgumentDecoder.cpp: (CoreIPC::decodeValueFromBuffer): (CoreIPC::ArgumentDecoder::decode): * Platform/CoreIPC/ArgumentEncoder.cpp: (CoreIPC::copyValueToBuffer): (CoreIPC::ArgumentEncoder::encode): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160529 268f45cc-cd09-0410-ab3c-d52691b4dbfc Task-number: QTBUG-44740 Change-Id: I9bd448cbfc524c62bdf4bfaad52fa194d8159726 Reviewed-by: Julien Brianceau <jbriance@cisco.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| * Fix build on x32 systemsDmitry Shachnev2015-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | On Linux x32 ABI, pointer size is different than on classic x86_64 systems, so the current assembly is wrong. To fix this, drop the quad qualifier and let the compiler infer the argument size. This way it will work on both x86_64 and x32. Done-with: Adam Borowski <kilobyte@angband.pl> Change-Id: I7a5f9edbba08705397ce7e771b1567f2a140fb1b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
| * Fix building with glib 2.43+Allan Sandfeld Jensen2015-03-021-24/+24
| | | | | | | | | | | | | | | | | | The newest version of glib have introduced their own GMutexLocker conflicting with the one defined in WebCore. Task-number: QTBUG-44714 Change-Id: Ibdd1646e129eaed84c65dc0d96bebe80f2a61f4b Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| * Fix JavaScript on ARMv7 in ARM-modeAllan Sandfeld Jensen2015-03-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | The gold linker does something wrong with the symbol looks that is used to generate assembler trampolines. Using the classic linker instead solves the issue. Task-number: QTBUG-44700 Change-Id: Ie3c1a903fb7facb31eeb9e0f75b70089dce27081 Reviewed-by: Julien Brianceau <jbriance@cisco.com> Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| * Forward show and hide events to PluginViewsMichael Bruning2015-02-2611-6/+71
| | | | | | | | | | | | | | | | | | | | | | | | This was causing issues with windows plugins on windows, which were always visible on top of all other widgets and not hidden correctly when the owning web view was hidden. Task-number: QTBUG-44401 Task-number: QTBUG-42588 Task-number: QTBUG-43024 Change-Id: Ie0307fa2f7b2bf59f51a76db5feef2e8446c359d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>