summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated changelog for 5.6.0.5.6.0Konstantin Tokarev2016-02-271-1/+10
| | | | | Change-Id: I21cd29080be8f1aeedad6f19f1f11d3df2d9ae1d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Fixed unfinished phrase in documentation of evaluateJavaScript.Konstantin Tokarev2016-02-041-4/+3
| | | | | | Change-Id: I5b5f43c68feedbace330494e7eb051cfe8a54128 Reviewed-by: Dmitry Shachnev <mitya57@gmail.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Skip building on androidAllan Sandfeld Jensen2016-02-031-1/+4
| | | | | | | | While it was building at some point, Android was never fully working or supported. Change-Id: I6ce77904e4db7830969664910eea143fa184f848 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Properly clear m_logicallyLastRun to remove use-after-free possibilityBem Jones-Bey2016-02-011-3/+1
| | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=129489 Reviewed by David Hyatt. A use-after-free issue was caught in Blink because m_logicallyLastRun is not cleared when the item it points to is deleted. Clearing it turns the use-after-free into a segfault, and prevents any future use-after-frees from happening. * platform/text/BidiRunList.h: (WebCore::BidiRunList<Run>::deleteRuns): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@164876 268f45cc-cd09-0410-ab3c-d52691b4dbfc Change-Id: Ia76a5723ea649e7a3609fc26025dd5bbd96f3302 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Handle WebKitErrorDomain error like other errorsJoni Poikelin2016-01-291-1/+1
| | | | | | Change-Id: Ie4dd08b18706e44947a00b4d61a185b5fc43f478 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* XMLHttpRequest should not send DNT headerYouenn Fablet2016-01-291-0/+1
| | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=128533 The DNT header should be set by web engines according user preferences. That includes all HTTP requests, including XHR requests. Unpriviledged web apps should not be allowed to override/interfere with user preferences. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163915 268f45cc-cd09-0410-ab3c-d52691b4dbfc Change-Id: I80bed1eb13826cdb3cfade3d51297f439b5016f4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Fixed another typo in QWebSecurityOrigin::addLocalScheme() documentation.Konstantin Tokarev2016-01-271-1/+1
| | | | | Change-Id: I7013829d4e30a85374a4f63ab6a45b97b44313d7 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Fixed typo in QWebSecurityOrigin::addLocalScheme documentation.Konstantin Tokarev2016-01-271-1/+1
| | | | | Change-Id: Ife7db164671b84f28b03b6d86a038d1370486cae Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Improved documentation of evaluateJavaScript().Konstantin Tokarev2016-01-212-2/+24
| | | | | Change-Id: I47d8f4c0e392ffb70655db9725b035d22a7cad91 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Fixed EventHandler::TextDragDelay setting for OS X.Konstantin Tokarev2016-01-211-1/+1
| | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=18167 explains that 0.0 value was added specifically to create Windows-like behavior. In Qt port OSX-like behavior was added in r59846, but this behavior was lost after transition to Qt 5. Change-Id: I2d618a356d494805c2d8f9d2fc7751744e040741 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* ASSERTION FAILED: stroke->opacity != other->stroke->opacity in ↵Rob Buis2016-01-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebCore::SVGRenderStyle::diff https://bugs.webkit.org/show_bug.cgi?id=119623 Reviewed by Dirk Schulze. Source/WebCore: Include all the stroke attributes in the style diff comparison, the visited links ones were missing. Test: svg/animations/animate-stroke-crasher.html * rendering/style/SVGRenderStyle.cpp: (WebCore::SVGRenderStyle::diff): LayoutTests: Add testcase from bug with small adjustments. * svg/animations/animate-stroke-crasher-expected.txt: Added. * svg/animations/animate-stroke-crasher.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153914 268f45cc-cd09-0410-ab3c-d52691b4dbfc Change-Id: I71ff999dab89127600b4a57b5cee58a6fa4687fd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Quality in toDataURL only applies to JPEGs nowVivin Paliath2015-12-141-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to the fix, quality would default to 100 irrespective of the image type, if an explicit quality-argument was not provided, or if the quality was outside the valid range. In the case where toDataURL is called without any arguments, the image type defaults to "image/png" and quality eventually defaults to 100. However, quality in the context of a PNG applies to the quality of compression and not the quality of the image. Since PNG is a lossless format, compression only affects the size of the image and not its quality. This resulted in PNG images of a large size, with no compression at all. The same behavior could be observed when toDataURL is called with the image type explicitly set to "image/png", without a quality argument. The expected behavior is only observed if toDataURL is called with the image type set to "image/png" and the quality set to 0, since this provides the highest level of compression. According to section 4.12.4.4 of the HTML5 spec, the quality argument should only apply to images of type "image/jpeg", and if quality is not provided, the user-agent should use a default value. This means that the spec was being violated, since the quality was set to 100 regardless of the image type. The fix was to consider the quality argument (along with the associated sanity-checks) only if the image type is "jpeg"; otherwise quality is set to -1. This change results in PNG images being encoded to properly-sized base64 strings. [ChangeLog][WebKit][Behavior Change] The quality parameter in canvas.toDataURL only applies to JPEG images now, in accordance with section 4.12.4.4 of the HTML5 spec. Change-Id: Ie87a32ec368e70e7736d4d2e684e2528ce37f745 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* % unit heights don't work if parent block height is set in vhKonstantin Tokarev2015-12-041-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=118516 Patch by Gurpreet Kaur <k.gurpreet@samsung.com> on 2013-12-04 Reviewed by Simon Fraser. From Blink r156449 by <srinivasa.ragavan.venkateswaran@intel.com> Source/WebCore: An element having height as percentage needs to have the containingblock's height or availableheight to calculate its own height. The containing block having a height set in vh unit was not being considered for calculating the child's height. * rendering/RenderBox.cpp: (WebCore::RenderBox::computePercentageLogicalHeight): Correct child's height(in pecentage) was not being calculated incase of parent having height set in vh unit. Added condition to calculate the containing block height in terms of viewport size. Change-Id: Id0158323c6d1b5a43b267133bfe0c7ce5fe4b472 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Changes for 5.6.0Konstantin Tokarev2015-11-301-0/+42
| | | | | Change-Id: I4cc8c77871530f6578c95cc53d794b61f5c05f5e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.5' into 5.6Liang Qi2015-11-173-7/+7
|\ | | | | | | Change-Id: If31212a273bc60692eb21169f24d136763409ead
| * Check QT_NO_SSL for QtWebKit user agent.5.5Florian Bruhin2015-11-051-1/+1
| | | | | | | | | | | | | | | | | | When QT_NO_OPENSSL is checked, the user agent says "no SSL support" even when there *is* SSL support via Secure Transport on OS X. Change-Id: Idb8bf3ee95689f60adab332b3cbac7b6bdf6a738 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
| * Check QT_NO_SSL in SocketStreamHandleQt.Florian Bruhin2015-11-052-5/+5
| | | | | | | | | | | | | | | | | | | | | | Since Qt 5.5, Secure Transport is used instead of OpenSSL on OS X. This means secure websockets (wss://) were disabled on OS X despite QSslSocket being available. Change-Id: Ic584a6ed81b625c84a85e54dba84c8fc920b861a Task-number: QTBUG-49027 Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
| * Check m_socket in SocketStreamHandlePrivate::close.Florian Bruhin2015-11-051-1/+1
| | | | | | | | | | | | | | | | | | m_socket can be set to 0 in the constructor, e.g. when Qt is compiled without SSL support. Change-Id: Ic3bb18f6c801d463e2277b4c19ef2c790216bf69 Task-number: QTBUG-49027 Reviewed-by: Richard J. Moore <rich@kde.org>
* | Fix link error in MSVCKai Koehne2015-11-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Since qtbase/e88334e0 we must not put MSVC linker flags into LIBS or LIBS_PRIVATE. QMAKE_LFLAGS is the right place. This fixes a build error with MSVC: LINK : fatal error LNK1181: cannot open input file '\OPT:REF.obj' A similar fix was already applied to qtwebengine (295a915b5ae66). Change-Id: I7972651cd6e61ef3ecd413be290e49baec29a770 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Fix build for QNXAllan Sandfeld Jensen2015-10-151-2/+4
| | | | | | | | | | | | | | | | The QNX target appears to be unable to accept ALWAYS_INLINE used as the sorting function in std::sort, so let it be normal inline there. Change-Id: I2d6df47764ed3dd87c8731c0d3c37eb79af40b3f Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.5' into 5.6Liang Qi2015-10-023-1/+9
|\ \ | |/ | | | | Change-Id: I33f49683dbb3f99f4149accfeddeea95b309657f
| * 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>
* | Added workaround for use_system_malloc to omit WTF_ prefix in macro name.Konstantin Tokarev2015-09-301-0/+4
| | | | | | | | | | | | | | | | | | Unlike other USE_* features, USE_SYSTEM_MALLOC is not checked with USE() macro (which expects WTF_ prefix), so passing WTF_USE_SYSTEM_MALLOC into DEFINES just does not work. Change-Id: I8e1ec29124ee77d2d5ea2e8ad44bc113091edcd9 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Fix out-of-source build with MSVCThiago Macieira2015-09-301-0/+7
| | | | | | | | | | | | | | | | | | MSVC does not search the same directory as the source file, so we need to give the correct -I flags so #include "xxx" will work. Change-Id: I42e7ef1a481840699a8dffff14084870461dbc47 Reviewed-by: Andrew Knight <andrew.knight@intopalo.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Return non-empty surroundingText for password fields.Konstantin Tokarev2015-09-301-1/+1
| | | | | | | | | | | | | | | | Input method should support Qt::ImhHiddenText hint which is set to true in this case. Change-Id: If45b25e7f1699e6eca58afa00f788253fd16517a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Added linksIncludedInFocusChain property to WebView.experimental.preferencesKonstantin Tokarev2015-09-293-1/+25
| | | | | | | | | | | | | | | | It is similar to QWebSettings::LinksIncludedInFocusChain attribute from widgets API. Change-Id: Ie5a38bc7372657fee5c50ab91bc1eb7e8e1d3524 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | offlineasm: "touch" output file if nothing has changed.Konstantin Tokarev2015-09-291-0/+2
| | | | | | | | | | | | | | | | If offlineasm exits with "Nothing changed" timestamp of generated file is unchanged so make utility still considers it as outdated. Change-Id: Id3443294bc034978679219177f32acb0afa0dc00 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Added userStyleSheets property to WebView.experimental.Konstantin Tokarev2015-09-243-11/+47
| | | | | | | | | | | | | | | | This is similar to QWebSettings::setUserStyleSheetUrl() from widgets API, and shares most of helper code with existing userScripts property. Change-Id: I9352e6b4338c5750ed2ea28efbb2aba045cf7847 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Don't let qt_module.prf create a linker version script for QtWebKitThiago Macieira2015-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We don't need it, since the API isn't changing and most likely won't be part of Qt 6 anyway. And most especially, this is hitting a bug in gold: /usr/bin/ld.gold: internal error in override_version, at ../../gold/resolve.cc:61 Reported-At: https://sourceware.org/bugzilla/show_bug.cgi?id=16504 Change-Id: Ib056b47dde3341ef9a52ffff13f043184aa93cec Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Moved SpatialNavigationEnabled preference definition to bool group.Konstantin Tokarev2015-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | Because of incorrect conflict resolution in patch a7592da preference SpatialNavigationEnabled was added to FOR_EACH_WEBKIT_UINT32_PREFERENCE instead of FOR_EACH_WEBKIT_BOOL_PREFERENCE. (It worked fine as uint32 though) Change-Id: Ifb805b8f47e6ccf3b7b5dc49825a0e36d44b2889 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Return correct surroundingText for HTMLTextFormControlElement.Konstantin Tokarev2015-09-171-1/+5
| | | | | | | | | | | | | | | | | | | | | | Element::innerText() is always empty for <input> and <textarea> elements, so HTMLTextFormControlElement::innerTextValue() is used. NB: HTMLTextFormControlElement::value() should not be used because it is updated asynchronously after text input. Change-Id: I10eca4137236cfbef4c422cc935dd1c38a875301 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Render anchors as clickable links in PDF documentsAntonin Stefanutti2015-08-311-1/+14
| | | | | | | | | | | | | | | | | | | | Implements the GraphicsContext::setURLForRect method using the new QPdfEngine::drawHyperlink method added in version 5.6.0 so that anchors are rendered as clickable links in PDF documents. Task-number: QTBUG-44563 Change-Id: Ic45399ba2d97be28816e54f6bd169e90de236e91 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Added SpatialNavigationEnabled setting.Konstantin Tokarev2015-08-277-1/+41
| | | | | | | | | | | | | | | | Includes partial cherry-pick of patch by Danilo Cesar Lemes de Paula https://bugs.webkit.org/show_bug.cgi?id=114298. Change-Id: Iff3ee6de9d318d41f20f949b31c20a15dd0cac17 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.5' into 5.6Liang Qi2015-08-196-5/+697
|\ \ | |/ | | | | Change-Id: If2a43ca5f31a426ef5413a3aacec4e75936d5f86
| * 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>
* | Merge remote-tracking branch 'origin/5.5' into devFrederik Gladhorn2015-08-093-46/+2
|\ \ | |/ | | | | Change-Id: I1df1e59d4a52a2667941105f3336f745a688bf94
| * 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>
* | Make sure #include'ing a Qt header doesn't make you link to itThiago Macieira2015-08-061-0/+1
| | | | | | | | | | Change-Id: Ib056b47dde3341ef9a52ffff13f042e941c0c612 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Fix build against installed QtBaseSimon Hausmann2015-07-241-0/+6
| | | | | | | | | | | | | | | | We need two little hacks to make it possible to build against a frameworks build of QtBase that is installed. Change-Id: I82e530a3c52ad90ad37044a367a8f8eb6ddfd887 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.5' into devLiang Qi2015-06-294-7/+88
|\ \ | |/ | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I99ef18468035cfb494db0c84f003daed8cbaa99d
| * 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>