OSDN Git Service
Android (Google) Code Review [Mon, 16 Nov 2009 12:25:12 +0000 (04:25 -0800)]
Merge change Iad124f6d into eclair-mr2
* changes:
Update Android tree with what was upstreamed in https://bugs.webkit.org/show_bug.cgi?id=31423
Andrei Popescu [Sat, 14 Nov 2009 01:38:01 +0000 (01:38 +0000)]
Update Android tree with what was upstreamed in
https://bugs.webkit.org/show_bug.cgi?id=31423
Ben Murdoch [Fri, 13 Nov 2009 17:50:33 +0000 (09:50 -0800)]
Remove unused #defines from config.h
Change-Id: I9e12f9344db4e4e84399ef0c58db9a3acad0ff93
Android (Google) Code Review [Fri, 13 Nov 2009 22:23:11 +0000 (14:23 -0800)]
Merge change I1878e4cc into eclair-mr2
* changes:
Removes some superfluous files from the JSC build.
Steve Block [Fri, 13 Nov 2009 20:08:20 +0000 (20:08 +0000)]
Removes some superfluous files from the JSC build.
Note that these files are not built for V8.
Change-Id: I1878e4cc178cf89c103a7e88367eb84f08429f69
Patrick Scott [Fri, 13 Nov 2009 19:37:59 +0000 (14:37 -0500)]
Bring webcore_test up-to-date.
startLoadingResource changed its signature. Some reference stuff changed and
SecurityOrigin got the local load policy stuff. Change the makefile to link
against the shared lib instead of the static lib.
Android (Google) Code Review [Fri, 13 Nov 2009 18:27:07 +0000 (10:27 -0800)]
Merge change Idfc1eb92 into eclair-mr2
* changes:
Remove android-specific plugin exception mechanism
Patrick Scott [Fri, 13 Nov 2009 18:15:10 +0000 (13:15 -0500)]
Fix the sim build.
Android (Google) Code Review [Fri, 13 Nov 2009 18:18:19 +0000 (10:18 -0800)]
Merge change I67ad4b89 into eclair-mr2
* changes:
Fixes license headers for all files in WebKit/android, other than those in stl/.
Android (Google) Code Review [Fri, 13 Nov 2009 17:55:40 +0000 (09:55 -0800)]
Merge change I219a7aa4 into eclair-mr2
* changes:
Bring page/android in line with the versions on WebKit.org.
Steve Block [Fri, 13 Nov 2009 00:33:34 +0000 (00:33 +0000)]
Fixes license headers for all files in WebKit/android, other than those in stl/.
These files have not yet been 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.
This change adds licenses where absent or simply fixes the names of copyright holders in the license
text to 'THE COPYRIGHT OWNER' and cleans up formatting.
Files in stl/ currently use licenses other than BSD-style and will require more careful treatment.
Change-Id: I67ad4b8932e432d3eaaeecdfeb0d09418496228d
Steve Block [Thu, 12 Nov 2009 23:26:11 +0000 (23:26 +0000)]
Fixes license headers for all Android-specific JavaScriptCore and WebCore 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
Nicolas Roard [Thu, 12 Nov 2009 22:57:10 +0000 (14:57 -0800)]
Remove android-specific plugin exception mechanism
Android (Google) Code Review [Thu, 12 Nov 2009 19:21:47 +0000 (11:21 -0800)]
Merge change I8eba4d0a into eclair-mr2
* changes:
Removes WebCorePrefixAndroid.h to aid WebKit upstreaming.
Andrei Popescu [Thu, 12 Nov 2009 18:39:45 +0000 (10:39 -0800)]
Fix style in platform/android to match WebKit style
Steve Block [Wed, 11 Nov 2009 23:16:52 +0000 (23:16 +0000)]
Removes WebCorePrefixAndroid.h to aid WebKit upstreaming.
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
Ben Murdoch [Thu, 12 Nov 2009 02:22:33 +0000 (18:22 -0800)]
Bring page/android in line with the versions on WebKit.org.
Changes in this CL that require upstreaming:
The deletion of InspectorControllerAndroid
DragController::cleanupAfterSystemDrag
Change-Id: I219a7aa49e3fc3d4193157593b90b11705d98fde
Android (Google) Code Review [Thu, 12 Nov 2009 02:06:27 +0000 (18:06 -0800)]
Merge change I43c48f76 into eclair-mr2
* changes:
Remove duplicate include of config.h
Android (Google) Code Review [Thu, 12 Nov 2009 01:52:58 +0000 (17:52 -0800)]
Merge change I1e5d3868 into eclair-mr2
* changes:
Remove DerivedSources.make.
Steve Block [Thu, 12 Nov 2009 01:31:14 +0000 (01:31 +0000)]
Remove duplicate include of config.h
Change-Id: I43c48f7641c8ad844193a48f2cd452ac4ad553ef
Grace Kloba [Thu, 12 Nov 2009 01:09:10 +0000 (17:09 -0800)]
am
a5605499: Changing fit column to screen to exclude the padding.
Merge commit '
a56054997e46fcd04621cc67d650b6daf85f7b59' into eclair-mr2
* commit '
a56054997e46fcd04621cc67d650b6daf85f7b59':
Changing fit column to screen to exclude the padding.
Android (Google) Code Review [Thu, 12 Nov 2009 01:00:40 +0000 (17:00 -0800)]
Merge change I42d5994d into eclair-mr2
* changes:
Use the ENABLE(INSPECTOR) guard instead of ENABLE(JAVASCRIPT_DEBUGGER). Also guard the inspector header.
Android (Google) Code Review [Wed, 11 Nov 2009 23:24:06 +0000 (15:24 -0800)]
Merge change I7b6fdc2d into eclair-mr2
* changes:
Fix a diff between our tree and the upstream WX port.
Ben Murdoch [Wed, 11 Nov 2009 23:09:18 +0000 (15:09 -0800)]
Use the ENABLE(INSPECTOR) guard instead of ENABLE(JAVASCRIPT_DEBUGGER). Also guard the inspector header.
This change needs to be upstreamed.
Change-Id: I42d5994dc975206cbb376189613dc23426a4a9a8
Ben Murdoch [Wed, 11 Nov 2009 23:06:47 +0000 (15:06 -0800)]
Fix a diff between our tree and the upstream WX port.
Change-Id: I7b6fdc2d1b00768f10f18520a11d20f267c42de3
Grace Kloba [Wed, 11 Nov 2009 04:51:23 +0000 (20:51 -0800)]
Changing fit column to screen to exclude the padding.
Fix http://b/issue?id=
2253222
Steve Block [Wed, 11 Nov 2009 00:05:54 +0000 (00:05 +0000)]
Removes extra define of HAVE_PTHREAD_RW_LOCK.
This define was added to Android and later upstreamed to webkit.org at a slightly different location.
The latest WebKit merge caused both defines to be used.
See https://bugs.webkit.org/show_bug.cgi?id=30713
Change-Id: Ib68ceddb57868903661a1d2e3fedf9e092222091
Steve Block [Fri, 6 Nov 2009 21:08:07 +0000 (21:08 +0000)]
Removes LOCK_V8 calls, which are incomplete having been abandonned prior to previous WebKit merges.
Change-Id: Iee5a3a8d4eb1087ef196f193efb93d1e0dbcf77b
Steve Block [Fri, 6 Nov 2009 08:36:18 +0000 (08:36 +0000)]
Update Android build to remove websockets include and to keep in line with latest WebKit.
See https://bugs.webkit.org/show_bug.cgi?id=31209
Change-Id: Ie79b5599ee9d6a87f02eea7148f2660b0aaafd9d
Steve Block [Fri, 6 Nov 2009 23:17:50 +0000 (23:17 +0000)]
Remove DerivedSources.make.
This is not used by Android. It has been here since the initial import from Chromium.
See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=history;f=V8Binding/DerivedSources.make;h=
227aa5ec8907cb1657c495771821ce2edc05f0d4;hb=eclair-mr2.
Change-Id: I1e5d38682e519045fe67bb7b78fe13cc3c709a9a
Steve Block [Thu, 5 Nov 2009 18:44:14 +0000 (18:44 +0000)]
Merge webkit.org at r50258 : Update WebKit revision number.
Change-Id: If63324be97f04e715aa12b278a1c46d8845690f4
Steve Block [Thu, 29 Oct 2009 16:35:41 +0000 (16:35 +0000)]
Merge webkit.org at r50258 : toJSDOMWindow now takes a DOMWrapperWorld parameter.
See http://trac.webkit.org/changeset/49963 and http://trac.webkit.org/changeset/49978
Change-Id: Ic788827d54ccf48a3eb54863d2708ebad1d67ae1
Steve Block [Thu, 29 Oct 2009 12:12:32 +0000 (12:12 +0000)]
Merge webkit.org at r50258 : PluginPackage::compareFileVersion is now provided in PluginPackage.cpp.
See http://trac.webkit.org/changeset/50138
Change-Id: Ifbb9bbf4fab660148e4e9afe1bedcda0e1b40058
Steve Block [Tue, 20 Oct 2009 15:28:30 +0000 (16:28 +0100)]
Merge webkit.org at r50258 : Implements new GraphicsContext::canvasClip method for Android.
See http://trac.webkit.org/changeset/49641
Change-Id: I8b1a274623a62f73563988eb1ed120f43e0e4c70
Steve Block [Tue, 20 Oct 2009 14:51:43 +0000 (15:51 +0100)]
Merge webkit.org at r50258 : FrameLoader::loadFrameRequest now takes a ReferrerPolicy parameter.
See http://trac.webkit.org/changeset/49809
Change-Id: I5db6d1d821cc6e7b57dfa665ea9018b4833864d5
Steve Block [Tue, 20 Oct 2009 14:57:41 +0000 (15:57 +0100)]
Merge webkit.org at r50258 : FrameLoader::executeScript has moved to ScriptController.
See http://trac.webkit.org/changeset/49372
Change-Id: Iecc49a2185681eb2f37b5ecc9364fa8946493f69
Steve Block [Tue, 20 Oct 2009 14:07:10 +0000 (15:07 +0100)]
Merge webkit.org at r50258 : HistoryController has been factored out of FrameLoader.
See http://trac.webkit.org/changeset/49413
Change-Id: I1e584a6a50e1a20e40c76471651c0561df496c47
Steve Block [Thu, 29 Oct 2009 11:22:43 +0000 (11:22 +0000)]
Merge webkit.org at r50258 : Fix header include order for Log.h.
See http://trac.webkit.org/changeset/50006
Change-Id: I3a347d8d027edeebb9732b2736506a1bd2d24b56
Steve Block [Thu, 29 Oct 2009 10:58:27 +0000 (10:58 +0000)]
Merge webkit.org at r50258 : Add guards for Document::inspectorTimelineAgent().
See http://trac.webkit.org/changeset/50068
Change-Id: Ib330cd0a5bb53f262236b38cd0fb771fd7b7d4dc
Steve Block [Thu, 29 Oct 2009 00:55:04 +0000 (00:55 +0000)]
Merge webkit.org at r50258 : Fix Makefiles.
Change-Id: I5b458ac956718d2dd25d4faff503b376cd9e3214
Steve Block [Thu, 5 Nov 2009 18:34:51 +0000 (18:34 +0000)]
Merge webkit.org at r50258 : Fix conflicts.
Note that FrameLoader::gotoAnchor has been moved to FramveView::gotoAnchor.
See http://trac.webkit.org/changeset/49608
Change-Id: Ic2a87bb0c0f91d371508578ddccf200967524a77
Steve Block [Thu, 5 Nov 2009 09:23:40 +0000 (09:23 +0000)]
Merge webkit.org at r50258 : Initial merge by git.
Change-Id: I1a9e1dc4ed654b69174ad52a4f031a07240f37b0
Android (Google) Code Review [Tue, 10 Nov 2009 20:31:44 +0000 (12:31 -0800)]
Merge change I3a493eb3 into eclair-mr2
* changes:
capture offscreen invalidates in webkit
Cary Clark [Mon, 9 Nov 2009 17:12:40 +0000 (12:12 -0500)]
capture offscreen invalidates in webkit
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
Android (Google) Code Review [Tue, 10 Nov 2009 16:28:39 +0000 (08:28 -0800)]
Merge change I888150fd into eclair-mr2
* changes:
up our max ram value before subsampling in the decoder
Steve Block [Tue, 10 Nov 2009 01:59:24 +0000 (17:59 -0800)]
am
f3df4438: (-s ours) Merge change I43c19e84 into eclair
Merge commit '
f3df443854d9a26a47c5f48c60b552d9d3c7efdd' into eclair-mr2
* commit '
f3df443854d9a26a47c5f48c60b552d9d3c7efdd':
Stop Geolocation service when browser tab is in the background. Do not merge.
Android (Google) Code Review [Tue, 10 Nov 2009 01:56:54 +0000 (17:56 -0800)]
Merge change I43c19e84 into eclair
* changes:
Stop Geolocation service when browser tab is in the background. Do not merge.
Leon Scroggins [Tue, 10 Nov 2009 00:17:16 +0000 (16:17 -0800)]
am
6f9b8a17: (-s ours) do not merge -- Fix a clicking bug.
Merge commit '
6f9b8a1745fc174f1c436237dde772fca8e47f06' into eclair-mr2
* commit '
6f9b8a1745fc174f1c436237dde772fca8e47f06':
do not merge -- Fix a clicking bug.
Steve Block [Sun, 8 Nov 2009 07:56:39 +0000 (07:56 +0000)]
Stop Geolocation service when browser tab is in the background. Do not merge.
This is a fix for bug http://b/issue?id=
2211437
This has already been submitted to Eclair MR2 branch.
Change-Id: I43c19e84fda6291590ff2f07bbadb18a4f86df5f
Android (Google) Code Review [Mon, 9 Nov 2009 20:42:50 +0000 (12:42 -0800)]
Merge change I5bad623b into eclair-mr2
* changes:
Allow plugins to load java classes from their apk.
Derek Sollenberger [Mon, 9 Nov 2009 19:41:06 +0000 (14:41 -0500)]
Allow plugins to load java classes from their apk.
Relocate ANPSystemInterface into its own file and provide the
ability to call into java and load a plugin's java class from
their apk.
see http://b/
2215696
Leon Scroggins [Wed, 28 Oct 2009 18:25:19 +0000 (14:25 -0400)]
do not merge -- Fix a clicking bug.
original at https://android-git.corp.google.com/g/#change,31300
Remove some code that simulates a mouse click at the beginning of
a textarea and the end of a textfield. The original goal was to
make the click change the selection to be at the beginning or end
of the field, respectively. However, we actually make another call
which prevents this click from the selection. Further, the
selection actually gets changed elsewhere.
Fixes http://b/issue?id=
2219233
Grace Kloba [Mon, 9 Nov 2009 02:45:44 +0000 (18:45 -0800)]
Add/expose postdata identifier so that when we cache
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
Mike Reed [Fri, 6 Nov 2009 19:14:26 +0000 (14:14 -0500)]
up our max ram value before subsampling in the decoder
http://b/issue?id=
2236822
todo: find a system-wide compile-flag to trigger off of
Leon Scroggins [Fri, 6 Nov 2009 18:27:13 +0000 (13:27 -0500)]
Store the Node's text rather than the renderer's text.
The renderer may be displaying a placeholder (attribute on HTMLInputElement
and HTMLTextAreaElement), which will be deleted when the field gains
focus, so take the text directly from the node instead.
Fixes http://b/issue?id=
2163427
Steve Block [Thu, 5 Nov 2009 07:45:26 +0000 (07:45 +0000)]
Fixes V8 build due to missing include.
Change-Id: I2a2b04cb7e9e8b109d065478540db351064f2c09
Android (Google) Code Review [Thu, 5 Nov 2009 07:23:06 +0000 (02:23 -0500)]
Merge change I9ef85bb1 into eclair-mr2
* changes:
Move V8 to external/v8
Steve Block [Wed, 28 Oct 2009 11:29:58 +0000 (11:29 +0000)]
Stop Geolocation service when browser tab is in the background.
This is a fix for bug http://b/issue?id=
2211437
Change-Id: Id44b5b5679a302ecb16d5f493ea900d252faf2dc
Steve Block [Fri, 30 Oct 2009 11:49:59 +0000 (11:49 +0000)]
Move V8 to external/v8
Change-Id: I9ef85bb1a4fd0e808ca37ac532803542b6dfb04d
Steve Block [Fri, 30 Oct 2009 15:03:21 +0000 (08:03 -0700)]
am
b9fca1a7: (-s ours) Fix Geolocation service to use correct signature for Location.getAltitude(). Do not merge.
Merge commit '
b9fca1a768e8d5f3948b492fb962210af28d8d23' into eclair-mr2
* commit '
b9fca1a768e8d5f3948b492fb962210af28d8d23':
Fix Geolocation service to use correct signature for Location.getAltitude(). Do not merge.
Grace Kloba [Fri, 30 Oct 2009 15:03:12 +0000 (08:03 -0700)]
am
5469794f: Avoid constructing the MutexLocker class to avoid two mystery crashes.
Merge commit '
5469794fd9ad86cd03ba4cf7ef0bc82329362f39' into eclair-mr2
* commit '
5469794fd9ad86cd03ba4cf7ef0bc82329362f39':
Avoid constructing the MutexLocker class to avoid
Steve Block [Thu, 29 Oct 2009 22:08:59 +0000 (22:08 +0000)]
Fix Geolocation service to use correct signature for Location.getAltitude(). Do not merge.
This is a fix for bug http://b/issue?id=
2221243
This has already been submitted to Eclair MR2 branch.
Change-Id: I964e004583cebe4c93fe3e9c1c7d5ef44a41d1f8
Android (Google) Code Review [Thu, 29 Oct 2009 17:21:47 +0000 (13:21 -0400)]
Merge change Id5b57453 into eclair-mr2
* changes:
Remove unused Inspector files from Android build.
Leon Scroggins [Thu, 29 Oct 2009 13:47:34 +0000 (09:47 -0400)]
DO NOT MERGE. Send a message when the page changes and find is up to search again.
Fixes http://b/issue?id=
2222706
Requires a change in frameworks/base.
Not merging because we changed the way we call JNI functions.
Steve Block [Thu, 29 Oct 2009 00:46:04 +0000 (00:46 +0000)]
Remove unused Inspector files from Android build.
Change-Id: Id5b57453ee3cae7c8d765be847a4ccca0e19ce68
Android (Google) Code Review [Thu, 29 Oct 2009 16:05:15 +0000 (12:05 -0400)]
Merge change Ia667b47b into eclair-mr2
* changes:
Fix Geolocation service to use correct signature for Location.getAltitude().
Android (Google) Code Review [Thu, 29 Oct 2009 12:40:49 +0000 (08:40 -0400)]
Merge change I5d9ec169 into eclair-mr2
* changes:
Pass PlatformKeyboardEvents for deletions.
Leon Scroggins [Wed, 28 Oct 2009 21:52:13 +0000 (17:52 -0400)]
Pass PlatformKeyboardEvents for deletions.
Instead of using TypingCommand::deleteSelection, use events so
the javascript events happen, allowing autocomplete fields to work
properly.
Fixes http://b/issue?id=
2059795
Android (Google) Code Review [Wed, 28 Oct 2009 20:43:08 +0000 (16:43 -0400)]
Merge change I47300b36 into eclair-mr2
* changes:
fix instrumentation. The new WebKit has CachedResourceClient derived from FastAllocBase which has overload operator new. So we need to override it again to avoid ambiguous.
Leon Scroggins [Wed, 28 Oct 2009 18:25:19 +0000 (14:25 -0400)]
Fix a clicking bug.
Remove some code that simulates a mouse click at the beginning of
a textarea and the end of a textfield. The original goal was to
make the click change the selection to be at the beginning or end
of the field, respectively. However, we actually make another call
which prevents this click from the selection. Further, the
selection actually gets changed elsewhere.
Fixes http://b/issue?id=
2219233
Grace Kloba [Wed, 28 Oct 2009 06:38:13 +0000 (23:38 -0700)]
fix instrumentation. The new WebKit has CachedResourceClient
derived from FastAllocBase which has overload operator new.
So we need to override it again to avoid ambiguous.
Android (Google) Code Review [Wed, 28 Oct 2009 17:47:37 +0000 (13:47 -0400)]
Merge change I998a5863 into eclair-mr2
* changes:
Use NPAPI headers from WebCore/bridge/ rather than those from V8Bindings/npapi/.
Steve Block [Mon, 26 Oct 2009 18:08:41 +0000 (18:08 +0000)]
Use NPAPI headers from WebCore/bridge/ rather than those from V8Bindings/npapi/.
The files in question are npapi.h and npruntime.h. The Android versions at
V8Bindings/npapi/ are identical to the WebKit versions, other than a couple of
trivial changes, which are accounted for in this patch.
Change-Id: I998a5863181283aa6153c84a745b1923d9b5721b
Steve Block [Wed, 28 Oct 2009 17:07:23 +0000 (17:07 +0000)]
Fix Geolocation service to use correct signature for Location.getAltitude().
This is a fix for bug http://b/issue?id=
2221243
Change-Id: Ia667b47b33c0b30eaec04b4881b61027034d0850
Android (Google) Code Review [Wed, 28 Oct 2009 16:51:53 +0000 (12:51 -0400)]
Merge change I8e7024d6 into eclair-mr2
* changes:
We were excluding device-width to fix http://b/issue?id=
1331654. But some mobile sites will have minimum pref width wider than the screen width, like in http://www.boygeniusreport.com/2009/10/23/motorola-droid-preview/.
Cary Clark [Wed, 28 Oct 2009 14:39:06 +0000 (10:39 -0400)]
pass the current cursor when computing the mouse position
Most of the time, the simulated mouse position can be
computed from the current cursor. But when the cursor
is changed, the current cursor info could be out of
date and generate a bus error.
fixes http://b/issue?id=
2061211
Steve Block [Wed, 28 Oct 2009 14:40:26 +0000 (14:40 +0000)]
Updates Geolocation to use a pair of maps to store watchers.
This reflects a recent change submitted to webkit.org (see
http://trac.webkit.org/changeset/50159). This came about in the
course of upstreaming the logic to make sure the error callback
is called when permissions have already been denied (see
http://trac.webkit.org/changeset/50190).
Also make some minor style and comment changes to reflect other
recent submissions to webkit.org.
This will avoid future merge conflicts.
Change-Id: Iafca02403b781bc2119e6e762cb04df396ca8c11
Android (Google) Code Review [Wed, 28 Oct 2009 14:17:28 +0000 (10:17 -0400)]
Merge change Ia17a9f02 into eclair-mr2
* changes:
Adds ScriptController::initializeThreading(), to allow initializeThreading() to be used with both JSC and V8 without the use of ifdefs.
Android (Google) Code Review [Wed, 28 Oct 2009 12:01:12 +0000 (08:01 -0400)]
Merge change I9f515e09 into eclair-mr2
* changes:
Brings V8 binding ifdef changes in to line with version submitted to webkit.org
Grace Kloba [Tue, 27 Oct 2009 22:15:48 +0000 (15:15 -0700)]
We were excluding device-width to fix b/issue?id=
1331654.
But some mobile sites will have minimum pref width
wider than the screen width, like in
http://www.boygeniusreport.com/2009/10/23/motorola-droid-preview/.
Now we are checking width() > screenWidth before wrapping at line 958,
there is no need to exclude the device-width case. Remove the
checking and both bugs should be fixed.
Leon Scroggins [Fri, 23 Oct 2009 20:14:33 +0000 (16:14 -0400)]
Allow touches to change the selection.
Fixes http://b/issue?id=
1650395 Lets touches change the selection
while ignoring changes from trackball events. When a touch puts
a textfield in focus, tell the WebTextView to set mOkayForFocusNotToMatch.
Requires a change in frameworks/base.
Android (Google) Code Review [Tue, 27 Oct 2009 18:06:09 +0000 (14:06 -0400)]
Merge change Ib24a54e5 into eclair-mr2
* changes:
Remove bad assert.
Grace Kloba [Tue, 27 Oct 2009 17:24:07 +0000 (10:24 -0700)]
Avoid constructing the MutexLocker class to avoid
two mystery crashes.
Derek Sollenberger [Tue, 27 Oct 2009 13:50:23 +0000 (09:50 -0400)]
changing how plugins gain/lose focus.
Previously we were keeping our own state in the UI thread to
determine when to send events to the plugin. This change removes
that logic and uses the document focus to determine when events
are to be sent. This also fixes problems with the plugins
occasionally not receiving lose focus events.
see bug http://b/
2033843
Cary Clark [Mon, 26 Oct 2009 19:47:34 +0000 (15:47 -0400)]
tweak select text
webkit changed the behavior of hitTestResultAtPoint; it used
to return the innermost node hit, but does so no longer.
Work around this by searching the returned node for a text
node.
Start the text detection one pixel lower. This fixes picking up
the first line of a link on m.msn.com.
Simplify the selection drawing. Share code between the arrow and
the i-beam. Center the i-beam on the arrow. Use relative path
construction to simplify the i-beam.
Add debugging.
Requires a companion change in frameworks/base
partially fixes http://b/issue?id=
1667690
Patrick Scott [Tue, 27 Oct 2009 14:39:57 +0000 (10:39 -0400)]
Remove bad assert.
The original assert was meant to assert that the body renderer layout state is
not modified during the expansion of the iframe. This can falsely fire if the
body renderer already needed a layout before the iframe expansion.
Android (Google) Code Review [Tue, 27 Oct 2009 12:04:50 +0000 (08:04 -0400)]
Merge change I676eb2d5 into eclair-mr2
* changes:
Avoid calling setDatabaseDirectoryPath() when the path is already set.
Andrei Popescu [Tue, 27 Oct 2009 11:58:04 +0000 (11:58 +0000)]
Avoid calling setDatabaseDirectoryPath() when the path is already set.
http://b/issue?id=
2215217
Steve Block [Fri, 23 Oct 2009 11:43:55 +0000 (12:43 +0100)]
Adds ScriptController::initializeThreading(), to allow initializeThreading() to be used with both JSC and V8 without the use of ifdefs.
See https://bugs.webkit.org/show_bug.cgi?id=30678
This has now been upstreamed to webkit.org, so submitting to Android to avoid future merge conflicts.
Change-Id: Ia17a9f02060f04b11a8bffa367164162775516ba
Steve Block [Fri, 23 Oct 2009 09:28:40 +0000 (10:28 +0100)]
Brings V8 binding ifdef changes in to line with version submitted to webkit.org
See https://bugs.webkit.org/show_bug.cgi?id=30697
$ diff ~/WebKitToT/WebKit/WebCore/bindings/v8/DOMObjectsInclude.h WebCore/bindings/v8/DOMObjectsInclude.h
36d35
< #include "CanvasActiveInfo.h"
186a186,193
> #if ENABLE(GEOLOCATION)
> #include "Coordinates.h"
> #include "Geolocation.h"
> #include "Geoposition.h"
> #include "PositionError.h"
> #include "PositionErrorCallback.h"
> #endif
>
222a230,238
> #if PLATFORM(ANDROID)
> // TODO: Upstream TOUCH_EVENTS guard.
> #if ENABLE(TOUCH_EVENTS)
> #include "Touch.h"
> #include "TouchList.h"
> #include "TouchEvent.h"
> #endif
> #endif
>
$ diff ~/WebKitToT/WebKit/WebCore/bindings/v8/DerivedSourcesAllInOne.cpp WebCore/bindings/v8/DerivedSourcesAllInOne.cpp
37d36
< #include "bindings/V8CanvasActiveInfo.cpp"
100a100
> #include "bindings/V8Geolocation.cpp"
190,
191d189
< #include "bindings/V8Notification.cpp"
< #include "bindings/V8NotificationCenter.cpp"
258d255
< #include "bindings/V8SharedWorkerContext.cpp"
366a364
> #include "bindings/V8SVGURIReference.cpp"
386a385,392
>
> #if PLATFORM(ANDROID)
> // TODO: Upstream NOTIFICATIONS guard.
> #if ENABLE(NOTIFICATIONS)
> #include "bindings/V8Notification.cpp"
> #include "bindings/V8NotificationCenter.cpp"
> #endif
> #endif
$ diff ~/WebKitToT/WebKit/WebCore/bindings/v8/V8Index.cpp WebCore/bindings/v8/V8Index.cpp
37d36
< #include "V8CanvasActiveInfo.h"
358a358
> #include "V8SVGURIReference.h"
392d391
< #include "V8SharedWorkerContext.h"
437a437,454
> #if PLATFORM(ANDROID)
> // TODO: Upstream these guards to webkit.org
> #if ENABLE(GEOLOCATION)
> #include "V8Coordinates.h"
> #include "V8Geolocation.h"
> #include "V8Geoposition.h"
> #include "V8PositionError.h"
> #endif
>
> #if ENABLE(TOUCH_EVENTS)
> #include "V8Touch.h"
> #include "V8TouchList.h"
> #include "V8TouchEvent.h"
> #endif
>
> #include "V8VoidCallback.h"
> #endif // PLATFORM(ANDROID)
>
$ diff ~/WebKitToT/WebKit/WebCore/bindings/v8/V8Index.h WebCore/bindings/v8/V8Index.h
448d447
< V(CANVASACTIVEINFO, CanvasActiveInfo) \
493a493,523
> #if ENABLE(GEOLOCATION)
> #define DOM_OBJECT_GEOLOCATION_TYPES(V) \
> V(COORDINATES, Coordinates) \
> V(GEOLOCATION, Geolocation) \
> V(GEOPOSITION, Geoposition) \
> V(POSITIONERROR, PositionError)
> #else
> #define DOM_OBJECT_GEOLOCATION_TYPES(V)
> #endif
>
> #if PLATFORM(ANDROID)
> // TODO: Upstream this guard.
> #if ENABLE(TOUCH_EVENTS)
> #define DOM_OBJECT_TOUCH_EVENT_TYPES(V) \
> V(TOUCHLIST, TouchList) \
> V(TOUCHEVENT, TouchEvent) \
> V(TOUCH, Touch)
> #else
> #define DOM_OBJECT_TOUCH_EVENT_TYPES(V)
> #endif
> #endif
>
> #if PLATFORM(ANDROID)
> #define DOM_OBJECT_VOIDCALLBACK_TYPES(V) \
> V(VOIDCALLBACK, VoidCallback)
> #else
> #define DOM_OBJECT_VOIDCALLBACK_TYPES(V)
> #endif
>
> #if PLATFORM(ANDROID)
> // This block is modified, but is not Android-specific.
502a533,535
> DOM_OBJECT_GEOLOCATION_TYPES(V) \
> DOM_OBJECT_TOUCH_EVENT_TYPES(V) \
> DOM_OBJECT_VOIDCALLBACK_TYPES(V) \
503a537
> #endif
Change-Id: I9f515e0918417879813f2ff8d67df16db9bae754
Android (Google) Code Review [Mon, 26 Oct 2009 15:53:51 +0000 (11:53 -0400)]
Merge change I3788a1e3 into eclair-mr2
* changes:
Remove XPathNSResolver from the Android build.
Android (Google) Code Review [Mon, 26 Oct 2009 15:26:53 +0000 (11:26 -0400)]
Merge change I3a8abed5 into eclair-mr2
* changes:
Enable the dispatching of the 'ended' media event.
Andrei Popescu [Mon, 26 Oct 2009 15:21:19 +0000 (15:21 +0000)]
Enable the dispatching of the 'ended' media event.
Partial fix for http://b/issue?id=
2210105
Patrick Scott [Mon, 26 Oct 2009 14:11:29 +0000 (10:11 -0400)]
Change the assert to check for JNI_OK
jniRegisterNativeMethods returns -1 (JNI_ERR) or 0 (JNI_OK), not the number of
methods registered.
Patrick Scott [Mon, 26 Oct 2009 13:32:52 +0000 (09:32 -0400)]
Change eventTypes to eventNames to fix the assert.
Steve Block [Mon, 26 Oct 2009 11:23:47 +0000 (11:23 +0000)]
Remove XPathNSResolver from the Android build.
Also remove a few other unnnecessary files from the JSC Makefile.
Change-Id: I3788a1e3f60941e9712b4c4345ba09fa0a5ad390
Android (Google) Code Review [Fri, 23 Oct 2009 16:21:56 +0000 (12:21 -0400)]
Merge change I28a61bf7 into eclair-mr2
* changes:
Allow java WebView to check the readonly status of a node.
Leon Scroggins [Fri, 23 Oct 2009 15:51:20 +0000 (11:51 -0400)]
Allow java WebView to check the readonly status of a node.
Required for a change to frameworks/base
(https://android-git.corp.google.com/g/30939 )
Android (Google) Code Review [Fri, 23 Oct 2009 15:47:48 +0000 (11:47 -0400)]
Merge change If6634f88 into eclair-mr2
* changes:
Updates V8 bindings to use INSPECTOR guard.
Leon Scroggins [Fri, 23 Oct 2009 13:41:05 +0000 (09:41 -0400)]
Remove some unused variables.