summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
Commit message (Collapse)AuthorAgeFilesLines
* Merge webkit.org at r51976 : Initial merge by git.Steve Block2009-12-17285-4216/+9862
| | | | Change-Id: Ib0e7e2f0fb4bee5a186610272edf3186f0986b43
* Provide localized strings for <input> labels.Leon Scroggins2009-12-153-18/+32
| | | | | | | | | Fix for http://b/issue?id=2178786 Call up to Java to get strings for <input> labels, and use them on inputs. Requires a change in frameworks/base.
* Do not mergeAndrei Popescu2009-12-151-1/+1
| | | | | Replicate https://android-git.corp.google.com/g/#change,35704 to mr2 to leave this branch in a sane state. Otherwise, the browser crashes on startup.
* Replace the C-cast used to determine whether the resource handle represent ↵Andrei Popescu2009-12-146-103/+82
| | | | | | the main resource. Fix style to match webkit style.
* Break the WebCore -> WebKit dependency in ResourceHandleAndroid.cpp.Andrei Popescu2009-12-113-19/+64
|
* Merge change I85087ab0 into eclair-mr2Android (Google) Code Review2009-12-091-26/+0
|\ | | | | | | | | * changes: Enable orientation events.
| * Enable orientation events.Patrick Scott2009-12-091-26/+0
| | | | | | | | | | | | | | Remove our old orientation hacks as webkit now supports the orientation event. Call down into webkit when the orientation changes to send the js event. The change to Frame.cpp has been submited to bugs.webkit.org as issue 32321.
* | Enable longpress and doubletap to WebKit as touchGrace Kloba2009-12-091-1/+1
|/ | | | event if it is requested.
* use twopoint gradientsMike Reed2009-12-081-3/+5
|
* Moves JSC-specific functions from jni_utility and moves them to a new ↵Steve Block2009-12-071-2/+2
| | | | | | | | jsc/jni_utility_private.h. See https://bugs.webkit.org/show_bug.cgi?id=32157 Change-Id: I1f7f0bb6fa9e72ee3eeb31160e0a828b3d076fee
* Merge change I2b870c71 into eclair-mr2Android (Google) Code Review2009-12-041-4/+0
|\ | | | | | | | | * changes: Enables x-mac-cyrillic on Android, now that this is in our version of ICU.
| * Enables x-mac-cyrillic on Android, now that this is in our version of ICU.Steve Block2009-12-041-4/+0
| | | | | | | | | | | | | | | | | | See https://android-git.corp.google.com/g/#change,34457, which adds the encoding to ICU 3.8 in eclair-mr2, and https://android-git.corp.google.com/g/#change,34758, which adds the encoding to ICU 4.2 in master. Change-Id: I2b870c714a3ee397964e6bfe14c95bdcca9ea24a
* | Pass up flags for the main resource and user gesture.Patrick Scott2009-12-041-2/+6
|/ | | | This requires a change to the framework.
* Enable WebKit page cache through WebSettings.Grace Kloba2009-12-021-2/+3
| | | | | | | | Add setXX() for the meta data in Settings. Add CachedFramePlatformDataAndroid to preserve the state for the cachedFrame. http://b/issue?id=2284168
* Merge change Ie9bc2064 into eclair-mr2Android (Google) Code Review2009-11-302-21/+0
|\ | | | | | | | | * changes: Remove the Android-specific setCMYKXXXColor methods, which are not used.
| * Remove the Android-specific setCMYKXXXColor methods, which are not used.Steve Block2009-11-262-21/+0
| | | | | | | | Change-Id: Ie9bc2064b10c01579d60e31f62ea6996974f8f4a
* | Merge change I49a4a258 into eclair-mr2Android (Google) Code Review2009-11-271-15/+0
|\ \ | | | | | | | | | | | | * changes: Removes superfluous code from Android implementation of AuthenticationChallenge.
| * | Removes superfluous code from Android implementation of AuthenticationChallenge.Steve Block2009-11-271-15/+0
| |/ | | | | | | | | | | | | | | | | | | | | - On Android, we use only the default constructor. See WebCore/platform/network/ResourceHandleInternal.h. - AuthenticationChallenge::sourceHandle is only required for CF. See WebCore/platform/network/cf/AuthenticationCF.cpp. The method was originally added only for CF in http://trac.webkit.org/changeset/18880 but has since been copied to other platforms, despite not being required. Change-Id: I49a4a2587a9551107a105573bd9da2e56ee0f52e
* | Merge change Ie4e91d61 into eclair-mr2Android (Google) Code Review2009-11-252-7/+67
|\ \ | | | | | | | | | | | | * changes: Bring Android files in line with what landed at webkit.org.
| * | Bring Android files in line with what landed at webkit.org.Andrei Popescu2009-11-252-7/+67
| |/ | | | | | | | | | | Picks up changes made by Apple in http://trac.webkit.org/changeset/51191/trunk/WebCore/platform/android/LocalizedStringsAndroid.cpp
* | Merge change I1890130f into eclair-mr2Android (Google) Code Review2009-11-253-82/+80
|\ \ | |/ |/| | | | | * changes: Update files in platform/android to match what was upstreamed in
| * Update files in platform/android to match what was upstreamed inAndrei Popescu2009-11-253-82/+80
| | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=31825 https://bugs.webkit.org/show_bug.cgi?id=31831
* | Merge change If7c73ee1 into eclair-mr2Android (Google) Code Review2009-11-232-8/+39
|\ \ | | | | | | | | | | | | * changes: Moves initializeMaximumHTTPConnectionCountPerHost to a new ResourceRequestAndroid.cpp file.
| * | Moves initializeMaximumHTTPConnectionCountPerHost to a new ↵Steve Block2009-11-232-8/+39
| |/ | | | | | | | | | | | | | | ResourceRequestAndroid.cpp file. This is in line with other WebKit ports, ready for upstreaming to webkit.org. Change-Id: If7c73ee1c65ee69bba54b7acbc462ff3444e781e
* | Removes some Symbian platform files which are not not used by Android are no ↵Steve Block2009-11-237-380/+0
|/ | | | | | | | | longer in webkit.org. These files were removed from WebKit in http://trac.webkit.org/changeset/44603 and should have been removed from Android in a previous WebKit merge. Change-Id: Icb84e9fe3d433c752415875cc170ff6af9be3c31
* Merge change Ic9c0f729 into eclair-mr2Android (Google) Code Review2009-11-231-1/+8
|\ | | | | | | | | * changes: Update the Android-specific fix in StringHash::equal to match the fix recently made in webkit.org.
| * Update the Android-specific fix in StringHash::equal to match the fix ↵Steve Block2009-11-231-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recently made in webkit.org. StringHash::equal includes an Android-specific fix for platforms which don't provide 4-byte alignment ... https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=05d23612a67d710479fb2359e98d7ac49a982025 This was recently fixed in webkit.org ... http://trac.webkit.org/changeset/51006 This patch updates Android to use the fix from webkit.org to avoid future merge conflicts. Background ... The fix in webkit.org uses a loop, whereas the Android fix uses memcmp. Tests by WebKit have apparently shown a loop to be faster than memcmp for small strings. This is consistent with an equivalent fix in AtomicString ... http://trac.webkit.org/changeset/19930 Change-Id: Ic9c0f729117e31bfdcb1bc1c28e85c048a464173
* | Draw ListBoxes to look like MenuLists.Leon Scroggins2009-11-202-3/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-pick of an earlier change, listed below, which was somehow lost. Fixes http://b/issue?id=2273867 https://android-git.corp.google.com/g/#change,5072 Fix <select with multiple and/or size > 1. With the latest WebKit drop we lost a hack we had to make ListBoxes behave like MenuLists. Rather than reviving it, now in WebViewCore check for isListBox(). This makes a click once again open the list so the user can choose the selection. Also disable WebKit's drawing of the text shown, and simply draw it ourselves, so we can draw nothing or the first item selected.
* | Bring TextBreakIteratorInternalICU.cpp in to line with WebKit version.Steve Block2009-11-201-1/+2
|/ | | | | | | | Note that this is a comment change only. See http://trac.webkit.org/changeset/45762#file3 Change-Id: Id484e955a5aeb948dc8068626e8013dbad757e22
* Update style afterAndrei Popescu2009-11-171-6/+3
| | | | | | https://bugs.webkit.org/show_bug.cgi?id=31423 landed.
* Split the GeolocationService implementation. This is a result ofAndrei Popescu2009-11-164-229/+305
| | | | https://bugs.webkit.org/show_bug.cgi?id=31554
* Update Android tree with what was upstreamed inAndrei Popescu2009-11-163-7/+12
| | | | https://bugs.webkit.org/show_bug.cgi?id=31423
* Fixes license headers for all Android-specific JavaScriptCore and WebCore ↵Steve Block2009-11-1340-207/+235
| | | | | | | | | | | | | | | | | | | | | | files not yet upstreamed to webkit.org. WebKit requires either a BSD-style or LGPL 2.1 license for all code. We use a BSD-style 2-clause license for Android-specific files that will be upstreamed to webkit.org. - For most files, I've fixed the names of copyright holders in the license text to 'THE COPYRIGHT HOLDERS' and cleaned up formatting in the existing BSD-style license. - For Makefiles and the following files in WebCore/platform/graphics/android/, I've changed from an Apache 2.0 license to the BSD-style license. - WebCore/platform/graphics/android/BitmapAllocatorAndroid.cpp - WebCore/platform/graphics/android/BitmapAllocatorAndroid.h - WebCore/platform/graphics/android/SharedBufferStream.cpp - WebCore/platform/graphics/android/SharedBufferStream.h - For the following files, I've changed from an LGPL licese to the BSD-style license. - WebCore/platform/graphics/android/FontPlatformData.h - WebCore/platform/graphics/android/FontPlatformDataAndroid.cpp - WebCore/plugins/android/PluginDataAndroid.cpp Change-Id: Ic4c3e5610afc58637b7a9b81b1d0d1f17f4f4cb1
* Merge change I8eba4d0a into eclair-mr2Android (Google) Code Review2009-11-121-1/+5
|\ | | | | | | | | * changes: Removes WebCorePrefixAndroid.h to aid WebKit upstreaming.
| * Removes WebCorePrefixAndroid.h to aid WebKit upstreaming.Steve Block2009-11-121-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Content from WebCorePrefixAndroid.h has been moved to WebCorePrefix.h and the Android Makefiles modified to use that file. - Enabler flags have been moved to WebCore/config.h. - flex_XXX_T types are defined in WebCore/css/maketokenizer - Most system includes are alreay present in WebCorePrefix.h - Some includes have been moved directly to the source files that require them. - The following includes seem not to be required so have been dropped. - #include <limits.h> - #include <math.h> - #include <stdint.h> - #include <unistd.h> Change-Id: I8eba4d0a606463503554955e113d57bdf76a7136
* | Fix style in platform/android to match WebKit styleAndrei Popescu2009-11-124-41/+41
|/
* Fix a diff between our tree and the upstream WX port.Ben Murdoch2009-11-111-0/+1
| | | | Change-Id: I7b6fdc2d1b00768f10f18520a11d20f267c42de3
* Merge webkit.org at r50258 : Implements new GraphicsContext::canvasClip ↵Steve Block2009-11-101-1/+5
| | | | | | | | method for Android. See http://trac.webkit.org/changeset/49641 Change-Id: I8b1a274623a62f73563988eb1ed120f43e0e4c70
* Merge webkit.org at r50258 : Fix header include order for Log.h.Steve Block2009-11-101-2/+5
| | | | | | See http://trac.webkit.org/changeset/50006 Change-Id: I3a347d8d027edeebb9732b2736506a1bd2d24b56
* Merge webkit.org at r50258 : Fix conflicts.Steve Block2009-11-103-31/+3
| | | | | | | Note that FrameLoader::gotoAnchor has been moved to FramveView::gotoAnchor. See http://trac.webkit.org/changeset/49608 Change-Id: Ic2a87bb0c0f91d371508578ddccf200967524a77
* Merge webkit.org at r50258 : Initial merge by git.Steve Block2009-11-1097-1074/+1747
| | | | Change-Id: I1a9e1dc4ed654b69174ad52a4f031a07240f37b0
* Merge change I3a493eb3 into eclair-mr2Android (Google) Code Review2009-11-103-4/+24
|\ | | | | | | | | * changes: capture offscreen invalidates in webkit
| * capture offscreen invalidates in webkitCary Clark2009-11-103-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The latest update of webkit changed the way drawing invalidates are captured. ScrollView::repaintContentRectangle now includes an intersect test that short-circuits if rect to repaint is outside the visible content. FrameView::repaintContentRectangle had logic to capture offscreen drawing, but only if the repaint rect was entirely clipped out. This changes both FrameView and ScrollView to send partial repaints to the offscreen code, up to four rects per draw. fixes http://b/issue?id=2207086
* | Merge change I888150fd into eclair-mr2Android (Google) Code Review2009-11-101-4/+18
|\ \ | | | | | | | | | | | | * changes: up our max ram value before subsampling in the decoder
| * | up our max ram value before subsampling in the decoderMike Reed2009-11-061-4/+18
| |/ | | | | | | | | http://b/issue?id=2236822 todo: find a system-wide compile-flag to trigger off of
* | Add/expose postdata identifier so that when we cacheGrace Kloba2009-11-081-1/+2
|/ | | | | | | | | | the post data, we can distinguish them. add identifier to postUrl(). add identifier when we check whether the post data can be loaded from cache. Fix http://b/issue?id=1980031
* Stop Geolocation service when browser tab is in the background.Steve Block2009-11-052-2/+24
| | | | | | This is a fix for bug http://b/issue?id=2211437 Change-Id: Id44b5b5679a302ecb16d5f493ea900d252faf2dc
* Fix Geolocation service to use correct signature for Location.getAltitude().Steve Block2009-10-281-1/+1
| | | | | | This is a fix for bug http://b/issue?id=2221243 Change-Id: Ia667b47b33c0b30eaec04b4881b61027034d0850
* Change the assert to check for JNI_OKPatrick Scott2009-10-261-1/+1
| | | | | jniRegisterNativeMethods returns -1 (JNI_ERR) or 0 (JNI_OK), not the number of methods registered.
* Makes a number of changes to ease future merging with and upstreaming to ↵Steve Block2009-10-221-1/+0
| | | | | | | | | | | | | webkit.org. - Fixes whitespace discrepancies between webkit.org and Android versions - Re-orders Android-specific changes to minimise the diff with webkit.org - Makes sure all Android-specific changes are appropriately guarded. - Fixes some Android-specific style problems None of these should introduce any functional changes for PLATFORM(ANDROID). Change-Id: Id27cf0b0e8682a7f29590c3fccae2d287b3630f1