summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge WebKit at r82507: Stub out FontPlatformData::setOrientation()Steve Block2011-06-081-0/+1
| | | | | | | See http://trac.webkit.org/changeset/80582 and http://trac.webkit.org/changeset/80589 Change-Id: I77941a880d7bb8347efcf6969a378ed941fce0e6
* Merge WebKit at r82507: Path::strokeBoundingRect() is now constSteve Block2011-06-081-1/+1
| | | | | | See http://trac.webkit.org/changeset/80557 Change-Id: I89dae78bbc5aa95920db4d604fcbecabd90cc84e
* Merge WebKit at r82507: Add missing UnusedParam.h include in ↵Steve Block2011-06-081-0/+1
| | | | | | | | ApplicationCacheGroup.cpp This is a partial cherry-pick of http://trac.webkit.org/changeset/86949 Change-Id: I3516e5ca899ed44747b15bff019b146e0dea6b64
* Merge WebKit at r82507: Continue to use Android's version of FontPlatformData.hSteve Block2011-06-081-0/+2
| | | | | | | | Each platform's version of this file is being merged upstream. See http://trac.webkit.org/changeset/81977 (and its follow-up build fixes r81982, r81988, r81990, r82018). Change-Id: I1a4c17b5784de436ecd57e7e429837dd6c3dabb6
* Merge WebKit at r82507: Update signature of ↵Steve Block2011-06-082-3/+3
| | | | | | | | FontCustomPlatformData::fontPlatformData() See http://trac.webkit.org/changeset/80582 Change-Id: I2c4ecc1abd1b639aa10affc04b5549a8a2fb2ab7
* Merge WebKit at r82507: Fix conflicts due to JNI refactoringSteve Block2011-06-082-57/+30
| | | | | | | | | | | | | | | | | | | | | | | | | - JavaNPObjectV8.cpp Due to new JavaInstance::getField() http://trac.webkit.org/changeset/80653 - JNIUtilityPrivate.cpp - Android has a number of local modifications to convert numeric NPVariant values to a JNI jstring, using toString() via JNI. However, after the upstream refactoring, we no longer convert NPVariant directly to jvalue. Instead, we go via a new JavaValue type, which represents strings as JavaTypeString using WTF::String. This patch updates the Android modifications to set the JavaValue using WTF::String methods, without using JNI. Note that the spec for these conversions - http://jdk6.java.net/plugin2/liveconnect - does not require the use of toString(), so this is OK. - Android also adds handling for converting arrays from NPVariant to jvalue. However, the intermediate JavaValue type does not yet have support for arrays. We get around this with an ugly hack, where we continue to create a jarray and set this as the object field of the JavaValue. When converting from a JavaValue to a jvalue, we add handling for arrays. http://trac.webkit.org/changeset/82194
* Merge WebKit at r82507: Fix conflicts due to new StorageTrackerSteve Block2011-06-085-95/+52
| | | | | | | | | | | | | | | | - FileSystemAndroid.cpp, FileSystemPOSIX.cpp Use new common version of listDirectory(), which is identical to the existing Android version. - StorageNamespace.h, StorageNamespaceImpl.h Conflict due to Android's clearPage() - PageGroup.cpp Conflict due to Android's clearDomStorage() See http://trac.webkit.org/changeset/80892 Change-Id: Ifac131155f5019959de8761438cd0372547b0e6c
* Merge WebKit at r82507: Fix conflictsSteve Block2011-06-0817-165/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - RenderLayerBacking.cpp Due to ANDROID_OVERFLOW_SCROLL http://trac.webkit.org/changeset/81715 - Document.cpp Due to domTreeVersion and ANDROID_STYLE_VERSION http://trac.webkit.org/changeset/80797 - CachedResourceLoader.cpp Due to temporary debugging and ANDROID_BLOCK_NETWORK_IMAGE http://trac.webkit.org/changeset/80695 - Settings.cpp/h http://trac.webkit.org/changeset/81289 http://trac.webkit.org/changeset/81635 - MediaPlayer.cpp Whitespace only http://trac.webkit.org/changeset/80874 - RenderBox.cpp Due to isHorizontalWritingMode http://trac.webkit.org/changeset/81716 - RenderLayer.cpp/h Due to ANDROID_OVERFLOW_SCROLL http://trac.webkit.org/changeset/81981 - CSSStyleSelector.cpp Due to ANDROID_CSS_RING http://trac.webkit.org/changeset/80582 http://trac.webkit.org/changeset/80993 http://trac.webkit.org/changeset/80998 http://trac.webkit.org/changeset/81684 http://trac.webkit.org/changeset/82378 - CSSParser.cpp Due to ANDROID_CSS_RING http://trac.webkit.org/changeset/80582 http://trac.webkit.org/changeset/81684 - StyleElement.cpp Due to cherry pick of http://trac.webkit.org/changeset/80787 http://trac.webkit.org/changeset/82054 - EventHandler.cpp Due to ANDROID_PLUGINS http://trac.webkit.org/changeset/81618 http://trac.webkit.org/changeset/81835 - SliderThumbElement.cpp Due to touch events http://trac.webkit.org/changeset/81216 - MediaControls.cpp Due to touch events http://trac.webkit.org/changeset/80857 Note that the WebKit history for this file is confusing as it was renamed in http://trac.webkit.org/changeset/83545 and then re-added in http://trac.webkit.org/changeset/84222 but trac is not smart enough to track history backwards from http://trac.webkit.org/changeset/84222. Change-Id: Ie1f80e09ae7c3befa7a18773cf846ff130e4354e
* Merge WebKit at r82507: Fix makefilesSteve Block2011-06-086-29/+10
| | | | Change-Id: Ia541ed77797442b5894b6fb88b3b829cc59c3535
* Merge WebKit at r82507: Initial merge by gitSteve Block2011-06-082482-29009/+102620
| | | | Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e
* Remove a FIXME from JavaNPObjectV8 that was forking us from upstreamSteve Block2011-06-081-3/+0
| | | | | | | | | Filed https://bugs.webkit.org/show_bug.cgi?id=62275 to track this issue upstream. This will reduce future merge conflicts. Change-Id: I22c0826c218bb81f58fb60609849b41b456e6e4c
* Fix a whitespace diff with upstream to avoid a future merge conflictSteve Block2011-06-081-1/+0
| | | | Change-Id: Ia6d9bd8b0a8cd99a569599034b6138e29d89b24d
* Fix some include guards in Android filesSteve Block2011-06-0856-127/+129
| | | | | | | | | This will become relevant after we merge beyond http://trac.webkit.org/changeset/81977 (and its follow-up build fixes r81982, r81988, r81990, r82018) which relies on all platforms' instances of FontPlatformData.h using the correct include guard. Change-Id: I58ec4c8ee23698c41d86794333d603b95f303764
* Remove all contents of Source/ThirdParty other than ANGLESteve Block2011-06-083-189/+0
| | | | | | | | | | | | | | | When ANGLE was moved to Source/ThirdParty as part of the merge to WebKit r75315, it was the only item in that directory, so we took all of Source/ThirdParty. Since then, other items have been added upstream to Source/ThirdParty which we don't need or want in our tree, eg http://trac.webkit.org/changeset/81709/trunk/Source/ThirdParty/gyp With this change we remove all contents of Source/ThirdParty other than ANGLE. Future merges will merge only ANGLE from this directory. Change-Id: I1eac0e2824de7f78610d0439e30dc6ba51b1d32d
* Update PlatformTouchEvent for Android to reflect upstreamed versionSteve Block2011-06-072-3/+0
| | | | | | See http://trac.webkit.org/changeset/81685 Change-Id: Ibc6c1336b696e39f27fd88d9b4e90fe6918ceba8
* Move all Android modification to Settings to the end of the relevant blockSteve Block2011-06-072-41/+42
| | | | | | This will ease future merges Change-Id: I7203cfb0cdc52140802a11cd35c64a9cfd502d30
* Fix issues with setting viewstate before initializingJohn Reck2011-06-042-6/+11
| | | | | | | | | Allow drawing without a CachedRoot (just skip drawing extras in that case) Initialize PictureSet correctly when using the SkPicture ctor If delay-setting a layer on glWebViewState, set isAfterFirstLayout to true to force the baseLayer update. Change-Id: I9b24fd2e8450acf0138433edce8700c9ec227e52
* Merge "Fix the trailing pixels by inflate the invalidate screen rect"Teng-Hui Zhu2011-06-031-0/+2
|\
| * Fix the trailing pixels by inflate the invalidate screen rectTeng-Hui Zhu2011-06-031-0/+2
| | | | | | | | | | | | bug:4313230 Change-Id: I364f418c8e04219d985c4ff7a27328d4e0dbfbd2
* | Merge "Initial support for serializing the view state"John Reck2011-06-037-0/+129
|\ \
| * | Initial support for serializing the view stateJohn Reck2011-06-037-0/+129
| | | | | | | | | | | | | | | | | | Serializes only the base layer currently Change-Id: I5cff216a4fc1b08efe3a7955c616b91114f6bf0b
* | | Merge "Revert "Fix for antialiased text with shadows.""Derek Sollenberger2011-06-031-1/+0
|\ \ \
| * | | Revert "Fix for antialiased text with shadows."Derek Sollenberger2011-06-031-1/+0
| | | | | | | | | | | | | | | | | | | | This breaks master-gpl. We can resubmit this after updating the version of skia in master-gpl. This reverts commit a3d968a2da0ae3463991e973e38af6795ad36c2e
* | | | Merge "Add image/webp to the mimeType list."Shimeng (Simon) Wang2011-06-031-0/+1
|\ \ \ \
| * | | | Add image/webp to the mimeType list.Shimeng (Simon) Wang2011-06-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will let a webp image url be displayed directly inside browser. issue: 3291572 Change-Id: I6870c5461c5d746d11457b7afba26cb277b25bbb
* | | | | Merge "Add API to allow plugins to lock their orientation in full-screen mode."Derek Sollenberger2011-06-037-6/+91
|\ \ \ \ \
| * | | | | Add API to allow plugins to lock their orientation in full-screen mode.Derek Sollenberger2011-06-027-6/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL has companion changes in the framework and browser. bug: 3398386 Change-Id: I3427e61e47b66f4142581fb043eeebc613d71b51
* | | | | | Merge "Fix for antialiased text with shadows."Derek Sollenberger2011-06-031-0/+1
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Fix for antialiased text with shadows.Derek Sollenberger2011-06-031-0/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | bug: 4502715 Change-Id: I5301526da2ff4962e7d1fda2b0ad39c407013e05
* | | | | Update RenderLayer.cpp with upstreamed version of crash fixSteve Block2011-06-021-9/+3
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | See https://bugs.webkit.org/show_bug.cgi?id=56107 Bug: 4026385 Change-Id: I381b0d1ee115cd6eda92136d150b8cf7e33558ac
* | | | Fix a whitespace diff in SubresourceLoader.cppSteve Block2011-06-021-1/+1
| |_|/ |/| | | | | | | | | | | | | | This will avoid future merge conflicts Change-Id: I5d4cc4665ed096b86a7f6dc892bd44ff4c590e65
* | | Remove Android guard EMULATE_JSC_BINDINGSSteve Block2011-06-023-72/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | This flag is always set to true and will not be upstreamed, so should be removed, along with code for the 'else' case. Also clean up Android modifications to minimise diff and add guards. Change-Id: I7d3b7bab2fef772bffdf3a402cc318dbea5f5865
* | | Merge "Fix compiler warning in CachedResourceLoader"Steve Block2011-06-021-2/+1
|\ \ \ | |/ / |/| |
| * | Fix compiler warning in CachedResourceLoaderSteve Block2011-06-021-2/+1
| | | | | | | | | | | | | | | | | | Make sure initializer list is in same order as members in header. Change-Id: I93dfd1c6bba851b8fb8fb839d2b5b1c226a78dcd
* | | Always check weak global references before using themSteve Block2011-06-0211-238/+567
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We hold weak references to Java objects from native code in several places to avoid circular reference problems. These objects may become weakly reachable at any time, after which the GC could null our weak reference, so we have to null-check at every use. Note that weak references are nulled before the referent is finalized, so we can't rely on doing work in the finalizer to wait for the currently executing message to complete and to remove other messages from the queue. This effectively reverts https://android-git.corp.google.com/g/#change,30955 Bug: 4336862 Change-Id: I431fcac11220cb406c26e31aacb9bda7ea22776e
* | | Merge "JavaScriptCore/config.h should not include WebCore/config.h"Steve Block2011-06-021-6/+3
|\ \ \ | |/ / |/| |
| * | JavaScriptCore/config.h should not include WebCore/config.hSteve Block2011-06-021-6/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All WebKit ports other than Chromium use a separate set of include paths for building JSC vs WebCore, so source files pick up the appropriate version of config.h. Android uses a single set of include paths, so gets aroud this problem by adding WebCore/ to the include path first and including JavaScriptCore/config.h from WebCore/config.h. This is ugly and will cause problems in an upcoming merge due to new macros being defined in both files. The two files are very similar. JavaScriptCore/config.h adds only the following two defines ... - HAVE_STDINT_H - This is not used on Android - WTF_CHANGES This patch removes the include of JavaScriptCore/config.h from WebCore/config.h and adds WTF_CHANGES for Android. Note that Chromium uses only WebCore/config.h and adds WTF_CHANGES in a similar way. Change-Id: Ib9c93eda0023096aa40dde947b5a476c207542e0
* | Merge WebKit at r80534: Fix CSSComputedStyleDeclaration.cppBen Murdoch2011-06-022-48/+18
| | | | | | | | | | | | | | Update our uses of CSSPrimitiveValue following http://trac.webkit.org/changeset/80463 Change-Id: I216382423f496b90af61b044b2a4bda9a6c322de
* | Merge WebKit at r80534: Fix JSNavigatorCustom.cppBen Murdoch2011-06-021-1/+1
| | | | | | | | | | | | | | | | | | InternalFunction::info has been renamed InternalFunction::s_info so update our code to reflect this. See http://trac.webkit.org/changeset/79132 Change-Id: I8118b513fcee8b1e8e9e53241e1b0507cf3df68b
* | Merge WebKit at r80534: Fix GraphicsContextAndroid.cppBen Murdoch2011-06-021-0/+8
| | | | | | | | | | | | | | | | | | Need to provide an Android implementation of new setCTM() function. See http://trac.webkit.org/changeset/78704 Change-Id: Iefd0225495bec6f4945f02660a450018e4270593
* | Merge WebKit at r80534: Fix EditorClientAndroidBen Murdoch2011-06-022-1/+8
| | | | | | | | | | | | | | | | | | Make EditorClientAndroid inherit from TextCheckerClient. See http://trac.webkit.org/changeset/78533 Add EditorClient callbacks. See http://trac.webkit.org/changeset/78532 Change-Id: Ia0f68e2047306415502d5ff1d40cd384c5db91e3
* | Merge WebKit to r80534: Fix ChromeClientAndroidBen Murdoch2011-06-022-2/+5
| | | | | | | | | | | | | | tabsToLinks() has been removed and keyboardUIMode() has been added. See http://trac.webkit.org/changeset/80279 Change-Id: Idd92678728737fa313cfababff4d9aadee83be76
* | Merge WebKit at r80534: Fix MediaPlayerPrivateAndroid.cppBen Murdoch2011-06-021-1/+1
| | | | | | | | | | | | | | Update for MedaEngineRegistrar change. See http://trac.webkit.org/changeset/80473 Change-Id: I3931805339b8b66b371db01f3823daba2cedf56f
* | Merge WebKit at r80534: Fix FrameLoaderClientAndroid.Ben Murdoch2011-06-022-5/+10
| | | | | | | | | | | | | | | | | | | | Add new shouldStopLoadingForHistoryItem() stub. See http://trac.webkit.org/changeset/79107 Rename FrameLoaderClient::decidePolicyForMIMEType to decidePolicyForResponse. See http://trac.webkit.org/changeset/80475 Change-Id: If094cc923b5d3b56c25a79847961bb11790f50d1
* | Merge WebKit at r80534: Fix IconDatabase uses.Ben Murdoch2011-06-024-14/+14
| | | | | | | | | | | | | | | | | | WebCore::iconDatabase() now returns a reference rather than a pointer. Update our calls to reflect this. See http://trac.webkit.org/changeset/80299 Change-Id: Iebf2f199fd8913e227572753cee2cf3a2e380985
* | Merge WebKit at r80534: Fix JavaMethod.cppBen Murdoch2011-06-021-0/+4
| | | | | | | | | | | | | | | | | | Partial cherry pick of http://trac.webkit.org/changeset/81040 Need to add the JSC guard (it was added unguraded in http://trac.webkit.org/changeset/79904) Change-Id: I880e241e2369ee4ffc616286d195989655e18cc2
* | Merge WebKit at r80534: Fix Java Bridge.Ben Murdoch2011-06-023-20/+9
| | | | | | | | | | | | | | | | | | | | Fix conflicts and reflect the upstream changes made in http://trac.webkit.org/changeset/80467. Note that our JNIUtilityPrivate.cpp is significantly forked from upstream. Change-Id: I390f1089d861fa29b6c15118638d029dea4356d8
* | Merge WebKit at r80534: Fix ImageSourceAndroid.cppBen Murdoch2011-06-021-3/+7
| | | | | | | | | | | | | | | | | | | | | | SharedBuffer::buffer now private, we should use SharedBuffer::data() instead. See http://trac.webkit.org/changeset/78548 Add implementation of bytesDecodedToDetermineProperties. See http://trac.webkit.org/changeset/78652 Change-Id: Ic113f711f3b8d553e35ba98246fd6bd9093fdb06
* | Merge WebKit at r80534: Update uses of PLATFORM(SKIA).Ben Murdoch2011-06-027-42/+10
| | | | | | | | | | | | | | | | | | PLATFORM(SKIA) is replaced with USE(SKIA), see http://trac.webkit.org/changeset/79578 Fix conflicts and update our code to reflect this. Change-Id: Ia23956874418552eb8f107d389557a4cdcb225b6
* | Merge WebKit at r80534: Fix uses of rounding hacks.Ben Murdoch2011-06-026-104/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Font rounding hacks have been removed upstream, so there is no need for our local code anymore. Remove all uses of the ANDROID_DISABLE_ROUNDING_HACKS macro. Note that this brings our behavior in line with upstream - Android will see a change in behavior to before the merge as we did not disable rounding hacks in all cases. - SVGInlineTextBox::SVGInlineTextBox() - we don't pass a value for disableRoundingHacks, so we don't disable hacks, so this behaviour will change as rounding hacks are disabled now. - RenderText::createTextBox() - We pass a value for disableRoundingHacks, true if any parent is a text control. So we will change behavior in any case where the parent is not a text control. Note that although we may see a change in behavior, that change is consistent with the upstream codebase. See http://trac.webkit.org/changeset/78846 Change-Id: I5d4d7298083acc519199c4c38ab5acdef5bdc537