OSDN Git Service

android-x86/external-webkit.git
14 years agoMerge webkit.org at r51976 : V8Proxy::sourceName now returns bool.
Steve Block [Thu, 26 Nov 2009 21:00:59 +0000 (21:00 +0000)]
Merge webkit.org at r51976 : V8Proxy::sourceName now returns bool.

See http://trac.webkit.org/changeset/50327

Change-Id: If8461f4f433a8addac9cd593f5f66571399a31bb

14 years agoMerge webkit.org at r51976 : externalRepresentation now takes a Frame argument.
Steve Block [Wed, 9 Dec 2009 15:19:26 +0000 (15:19 +0000)]
Merge webkit.org at r51976 : externalRepresentation now takes a Frame argument.

See http://trac.webkit.org/changeset/50923

Change-Id: I8c7bb8af6e40fd449e27f28ff0d2e58fbb4d9eb3

14 years agoMerge webkit.org at r51976 : A ColorSpace argument is now passed to GraphicsContext...
Steve Block [Thu, 26 Nov 2009 14:21:22 +0000 (14:21 +0000)]
Merge webkit.org at r51976 : A ColorSpace argument is now passed to GraphicsContext methods.

See http://trac.webkit.org/changeset/50760

Change-Id: I50c0864b1347e81839b8276a832311d7d1281148

14 years agoMerge webkit.org at r51976 : Icon::createIconForFile has been removed.
Steve Block [Thu, 26 Nov 2009 13:10:36 +0000 (13:10 +0000)]
Merge webkit.org at r51976 : Icon::createIconForFile has been removed.

See http://trac.webkit.org/changeset/50632

Change-Id: I3b10aff021d89b66d4d3d5f52773e4922654fbfa

14 years agoMerge webkit.org at r51976 : Geolocation error code UNKNOWN_ERROR is deprecated.
Steve Block [Wed, 9 Dec 2009 15:16:27 +0000 (15:16 +0000)]
Merge webkit.org at r51976 : Geolocation error code UNKNOWN_ERROR is deprecated.

See http://trac.webkit.org/changeset/50605

Change-Id: Iaad2055f169f56b7d43e2e3195041f0796506092

14 years agoMerge webkit.org at r51976 : Implement new FrameLoaderClient page state methods.
Steve Block [Wed, 9 Dec 2009 15:01:27 +0000 (15:01 +0000)]
Merge webkit.org at r51976 : Implement new FrameLoaderClient page state methods.

See http://trac.webkit.org/changeset/51644

Change-Id: I539af311723c20648d4958c46ee3ebe502e680b8

14 years agoMerge webkit.org at r51976 : FrameLoaderClient::windowObjectCleared has been replaced...
Steve Block [Wed, 9 Dec 2009 14:47:50 +0000 (14:47 +0000)]
Merge webkit.org at r51976 : FrameLoaderClient::windowObjectCleared has been replaced with dispatchDidClearWindowObjectInWorld.

See http://trac.webkit.org/changeset/50973

Change-Id: I54093cd917f15a51412b07b5495f32502cfd23b5

14 years agoMerge webkit.org at r51976 : Implement new ChromeClient::focusedNodeChanged method.
Steve Block [Wed, 9 Dec 2009 14:40:12 +0000 (14:40 +0000)]
Merge webkit.org at r51976 : Implement new ChromeClient::focusedNodeChanged method.

See http://trac.webkit.org/changeset/50351

Change-Id: Ia3fa68ebb7f54b3a88635c9e8ebade0180a62e21

14 years agoMerge webkit.org at r51976 : Changes to InspectorController.
Steve Block [Wed, 9 Dec 2009 14:36:06 +0000 (14:36 +0000)]
Merge webkit.org at r51976 : Changes to InspectorController.

See http://trac.webkit.org/changeset/51631

Change-Id: Ic0973105e04df1023d4df6f6e1d20052e869ac4a

14 years agoMerge webkit.org at r51976 : Fix Makefiles.
Steve Block [Thu, 26 Nov 2009 12:12:20 +0000 (12:12 +0000)]
Merge webkit.org at r51976 : Fix Makefiles.

Change-Id: I7d9d5788efda1d0e985242ab03c8016069798acd

14 years agoMerge webkit.org at r51976 : Fix general conflicts.
Steve Block [Tue, 15 Dec 2009 11:15:20 +0000 (11:15 +0000)]
Merge webkit.org at r51976 : Fix general conflicts.

Notes ...
For FrameLoader.cpp/h, see http://trac.webkit.org/changeset/51644
For FrameView.cpp and ScrolView.cpp, see http://trac.webkit.org/changeset/51636
For PluginInfoStore.cpp, see http://trac.webkit.org/changeset/51257
For Geolocation.cpp, see http://trac.webkit.org/changeset/50605
For V8DOMWrapper.cpp, see http://trac.webkit.org/changeset/51004
For V8Proxy.cpp, see http://trac.webkit.org/changeset/50441, http://trac.webkit.org/changeset/50327, http://trac.webkit.org/changeset/50406 and http://trac.webkit.org/changeset/50523
For HTMLInputElement.cpp, see http://trac.webkit.org/changeset/50996
For RenderBlock.cpp/RenderInline.cpp, see https://android-git.corp.google.com/g/#change,33465
Android-specific change to now-deleted JSCanvasArrayCustom.cpp was trivial.

Change-Id: Iddc8d43bdcb6208d6a991a7a1d591e8a4f918bf7

14 years agoMerge webkit.org at r51976 : Fix conflicts in Makefiles.
Steve Block [Tue, 15 Dec 2009 11:09:43 +0000 (11:09 +0000)]
Merge webkit.org at r51976 : Fix conflicts in Makefiles.

Android Makefiles were upstreamed in http://trac.webkit.org/changeset/51858
and http://trac.webkit.org/changeset/51926

Change-Id: I00f30d4894c1c5064fb7bd9be27317c039dbb0ad

14 years agoMerge webkit.org at r51976 : Initial merge by git.
Steve Block [Tue, 15 Dec 2009 10:12:09 +0000 (10:12 +0000)]
Merge webkit.org at r51976 : Initial merge by git.

Change-Id: Ib0e7e2f0fb4bee5a186610272edf3186f0986b43

14 years agoregister the eventinterface with our dispatcher list
Mike Reed [Thu, 17 Dec 2009 16:10:47 +0000 (11:10 -0500)]
register the eventinterface with our dispatcher list

14 years agoMerge change Ifcce71fa into eclair-mr2
Android (Google) Code Review [Wed, 16 Dec 2009 22:11:38 +0000 (14:11 -0800)]
Merge change Ifcce71fa into eclair-mr2

* changes:
  Implement the full screen WebView plugin.

14 years agoImplement the full screen WebView plugin.
Grace Kloba [Wed, 16 Dec 2009 19:39:26 +0000 (11:39 -0800)]
Implement the full screen WebView plugin.

Use a NoTitleBar_Fullscreen dialog to implement the
full screen plugin. This runs in the same thread as
WebView (UI in the Browser case). One catch is that
the SurfaceView provided by the plugin needs to be
opaque if it doesn't want to see through the WebView.

The PluginFullScreenHolder translates the events to
the underline WebView. Special treatment in the touch
case as it needs to translate the coordinates.

WebView can't be panned, or double tap to zoom, or
long press to trigger the context menu while having
a full screen plugin.

Inside webkit, we also give the plugin element focus
when it goes to the full screen so that it takes key
events. While handling key events, we don't let it
loose focus or scroll out.

Todo:
When a plugin goes to full screen, we should make
sure the embedded plugin is fully visible. Otherwise
when we translate the touch events back, they will be
outside of the visible rect and will be ignored.

This is part 2 of 2-project check in.

14 years agoFix the benchmark app yet again to work in mr2 (and master).
Patrick Scott [Tue, 15 Dec 2009 20:34:48 +0000 (15:34 -0500)]
Fix the benchmark app yet again to work in mr2 (and master).

The signature of startLoadingResource changed. The PageCache can change the
FrameView so don't use the local one. Add a few more function intercepts in the
fake vm.

14 years agocheck to see if nav cache is up to date on tap
Cary Clark [Fri, 11 Dec 2009 17:50:10 +0000 (12:50 -0500)]
check to see if nav cache is up to date on tap

- WebKit/android/jni/WebViewCore.cpp
- WebKit/android/jni/WebViewCore.h
Add validNodeAndBounds() to determine if the clicked cached
node is good. First check to see if the pointer
to the frame and node still exist in the DOM. If
they do, see if the hit test bounds they point
to is the same as when the cache was recorded.

-  WebKit/android/nav/CacheBuilder.cpp
-  WebKit/android/nav/CachedNode.h
Record the original absolute bounds for later
comparison.

-  WebKit/android/nav/CacheBuilder.h
Make getAreaRect() public so it can be called by
validation.

- WebKit/android/nav/WebView.cpp
Enhance motionUp() with additional validation:
use pointInNavCache() to see if there's a cached node;
wait for message from webkit to see if bounds is unchanged;
then use motionUp() to pass the original or altered click.

This is a two-part change with frameworks/base.

Fixes http://b/2249425

14 years agoProvide localized strings for <input> labels.
Leon Scroggins [Fri, 11 Dec 2009 20:12:12 +0000 (15:12 -0500)]
Provide localized strings for <input> labels.

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.

14 years agoDo not merge
Andrei Popescu [Tue, 15 Dec 2009 12:26:47 +0000 (12:26 +0000)]
Do not merge

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.

14 years agoMerge change Ic29b39b8 into eclair-mr2
Android (Google) Code Review [Mon, 14 Dec 2009 19:41:37 +0000 (11:41 -0800)]
Merge change Ic29b39b8 into eclair-mr2

* changes:
  Replace the C-cast used to determine whether the resource handle represent the main resource.

14 years agoReplace the C-cast used to determine whether the resource handle represent the main...
Andrei Popescu [Mon, 14 Dec 2009 12:45:34 +0000 (12:45 +0000)]
Replace the C-cast used to determine whether the resource handle represent the main resource.

Fix style to match webkit style.

14 years agoNotify native plugin code when the browser discards the customView.
Derek Sollenberger [Tue, 8 Dec 2009 20:44:57 +0000 (15:44 -0500)]
Notify native plugin code when the browser discards the customView.

14 years agoRollback to return density for scaleFactor.
Grace Kloba [Fri, 11 Dec 2009 21:53:22 +0000 (13:53 -0800)]
Rollback to return density for scaleFactor.

Move the comment to HTMLCanvasElement and always use 1.0 there.

14 years agoBreak the WebCore -> WebKit dependency in ResourceHandleAndroid.cpp.
Andrei Popescu [Tue, 8 Dec 2009 18:37:43 +0000 (18:37 +0000)]
Break the WebCore -> WebKit dependency in ResourceHandleAndroid.cpp.

14 years agoMerge change I6efdd453 into eclair-mr2
Android (Google) Code Review [Fri, 11 Dec 2009 16:41:57 +0000 (08:41 -0800)]
Merge change I6efdd453 into eclair-mr2

* changes:
  Fix the crash in RenderTableSection for Small Screen rendering. The code path was not exercised in the  Browser and the crash was triggered by the WebKit integration.

14 years agoFix the crash in RenderTableSection for Small Screen
Grace Kloba [Fri, 11 Dec 2009 00:18:32 +0000 (16:18 -0800)]
Fix the crash in RenderTableSection for Small Screen
rendering. The code path was not exercised in the
Browser and the crash was triggered by the WebKit
integration.

Fix http://b/issue?id=2285748

14 years agoMerge change I514e3218 into eclair-mr2
Android (Google) Code Review [Thu, 10 Dec 2009 21:20:25 +0000 (13:20 -0800)]
Merge change I514e3218 into eclair-mr2

* changes:
  add event interface for plugins, so they can post an event to themselves (from any thread)

14 years agoadd event interface for plugins, so they can post an event to themselves (from any...
Mike Reed [Thu, 10 Dec 2009 16:36:37 +0000 (11:36 -0500)]
add event interface for plugins, so they can post an event to themselves (from any thread)

14 years agofix sim build: only issue -Wno-psabi if we building for arm
Mike Reed [Thu, 10 Dec 2009 19:31:40 +0000 (14:31 -0500)]
fix sim build: only issue -Wno-psabi if we building for arm

14 years agoremove 100s of warnings about va_list mangling in GCC 4.4
Mike Reed [Thu, 10 Dec 2009 16:35:25 +0000 (11:35 -0500)]
remove 100s of warnings about va_list mangling in GCC 4.4

 On branch warning
 Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

modified:   Android.mk

14 years agoMerge change Ice11d745 into eclair-mr2
Android (Google) Code Review [Thu, 10 Dec 2009 11:31:00 +0000 (03:31 -0800)]
Merge change Ice11d745 into eclair-mr2

* changes:
  Removes superfluous SocketStreamHandleBase.cpp from Android build.

14 years agoRemoves superfluous SocketStreamHandleBase.cpp from Android build.
Steve Block [Wed, 9 Dec 2009 16:09:31 +0000 (16:09 +0000)]
Removes superfluous SocketStreamHandleBase.cpp from Android build.

Change-Id: Ice11d7459e425b18f07b77527aa71696c880ae77

14 years agoMerge change I85087ab0 into eclair-mr2
Android (Google) Code Review [Wed, 9 Dec 2009 19:30:03 +0000 (11:30 -0800)]
Merge change I85087ab0 into eclair-mr2

* changes:
  Enable orientation events.

14 years agoEnable longpress and doubletap to WebKit as touch
Grace Kloba [Tue, 8 Dec 2009 17:50:32 +0000 (09:50 -0800)]
Enable longpress and doubletap to WebKit as touch
event if it is requested.

14 years agoEnable orientation events.
Patrick Scott [Wed, 2 Dec 2009 13:32:13 +0000 (08:32 -0500)]
Enable orientation events.

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.

14 years agoPass a message to move the focus when user hits "Next".
Leon Scroggins [Tue, 8 Dec 2009 21:59:46 +0000 (16:59 -0500)]
Pass a message to move the focus when user hits "Next".

Directly move the focus rather than passing a click.

Fixes http://b/issue?id=2292683

Requires a change to frameworks/base

14 years agoMerge change I85893753 into eclair-mr2
Android (Google) Code Review [Wed, 9 Dec 2009 14:11:13 +0000 (06:11 -0800)]
Merge change I85893753 into eclair-mr2

* changes:
  Pull down change 51321 from webkit.org.

14 years agoPull down change 51321 from webkit.org.
Patrick Scott [Wed, 9 Dec 2009 13:56:19 +0000 (08:56 -0500)]
Pull down change 51321 from webkit.org.

Calls to EventNames() was causing multiple copies of the event names to be
created. This could cause false negatives in hash map lookups.

14 years agouse twopoint gradients
Mike Reed [Tue, 8 Dec 2009 19:15:05 +0000 (14:15 -0500)]
use twopoint gradients

14 years agoMerge change I0b9d36d9 into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 17:45:22 +0000 (09:45 -0800)]
Merge change I0b9d36d9 into eclair-mr2

* changes:
  Modify AndroidWebHistoryBridge to prepare uploading detachHistoryItem() to WebKit.

14 years agoShow "Go" for the last textfield in a form.
Leon Scroggins [Mon, 7 Dec 2009 21:54:56 +0000 (16:54 -0500)]
Show "Go" for the last textfield in a form.

Fixes http://b/issue?id=2210152

14 years agoexclude from cache nodes that are entirely clipped out
Cary Clark [Tue, 8 Dec 2009 15:00:36 +0000 (10:00 -0500)]
exclude from cache nodes that are entirely clipped out

Google's real time search has many results outside of an overflow
div that should be ignored by the nav cache. Make it so.

fixes http://b/2298478

14 years agoMerge change Ia8a49e0d into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 14:59:01 +0000 (06:59 -0800)]
Merge change Ia8a49e0d into eclair-mr2

* changes:
  fix debugging output

14 years agoSwitching from activity based full screen plugins to a view system overlay.
Derek Sollenberger [Mon, 7 Dec 2009 21:18:43 +0000 (16:18 -0500)]
Switching from activity based full screen plugins to a view system overlay.

14 years agoMerge change I747854ee into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 12:37:02 +0000 (04:37 -0800)]
Merge change I747854ee into eclair-mr2

* changes:
  Remove an accidentally added include.

14 years agoMerge change I640d5ca9 into eclair-mr2
Android (Google) Code Review [Tue, 8 Dec 2009 11:48:26 +0000 (03:48 -0800)]
Merge change I640d5ca9 into eclair-mr2

* changes:
  Merges V8 version of jni_utility with JSC version at WebCore/bridge/jni.

14 years agoModify AndroidWebHistoryBridge to prepare uploading
Grace Kloba [Mon, 7 Dec 2009 22:27:17 +0000 (14:27 -0800)]
Modify AndroidWebHistoryBridge to prepare uploading
detachHistoryItem() to WebKit.

I think it is easy to read this way that the constructor
sets the m_historyItem and the new method will detach it.

14 years agofix debugging output
Cary Clark [Mon, 7 Dec 2009 22:09:30 +0000 (17:09 -0500)]
fix debugging output

14 years agoProvide <input> type information to Java side.
Leon Scroggins [Mon, 7 Dec 2009 18:42:46 +0000 (13:42 -0500)]
Provide <input> type information to Java side.

Help to fix http://b/issue?id=1890360 and http://b/issue?id=2150538

CacheBuilder.cpp:
Explicitly set isTextField to false for textareas.

CachedRoot:
Remove the code which checks to see if the textfield is a search,
since if it is, we can avoid this path altogether.

WebView:
Return a single integer which tells what type the current text
input field is.

Requires a change to frameworks/base.

14 years agoContinue https://android-git.corp.google.com/g/#change,34687,
Grace Kloba [Mon, 7 Dec 2009 17:54:17 +0000 (09:54 -0800)]
Continue https://android-git.corp.google.com/g/#change,34687,

We should use #if PLATFORM(ANDROID) now

14 years agoMerge change I38601c0e into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 17:39:36 +0000 (09:39 -0800)]
Merge change I38601c0e into eclair-mr2

* changes:
  Fix the wrong layout in the layout test.

14 years agofix crash reading readonly node state
Cary Clark [Mon, 7 Dec 2009 15:36:50 +0000 (10:36 -0500)]
fix crash reading readonly node state

Something about rebuildTextView() invalidates the current cached
frame -- reading the last obtained frame after calling it may
crash. Why, I don't know. Until I figure that out, read the
cached state first.

Also remove some tests for null frame and node since the null
case has already been handled earlierin motionUp().

fixes http://b/2307964

14 years agoRemove an accidentally added include.
Ben Murdoch [Mon, 7 Dec 2009 15:29:26 +0000 (15:29 +0000)]
Remove an accidentally added include.

Change-Id: I747854ee918df97d12d7d0ed1a5fecfb10d8d805

14 years agoStore InputType information for <input> fields, return SEARCH action for SEARCH ...
Leon Scroggins [Fri, 4 Dec 2009 19:54:57 +0000 (14:54 -0500)]
Store InputType information for <input> fields, return SEARCH action for SEARCH <input>

Fixes http://b/issue?id=2299660 and http://b/issue?id=2299650
Also remove isPassword, which is redundant.

14 years agoMerge change I9a5736f5 into eclair-mr2
Android (Google) Code Review [Mon, 7 Dec 2009 15:03:46 +0000 (07:03 -0800)]
Merge change I9a5736f5 into eclair-mr2

* changes:
  Fixes a Geolocation bug with cached positions.

14 years agoFixes a Geolocation bug with cached positions.
Steve Block [Thu, 3 Dec 2009 12:52:03 +0000 (12:52 +0000)]
Fixes a Geolocation bug with cached positions.

When a Geolocation watch calls back with a cached position, it could be cleared in the callback.
This change makes sure the watch still exists after the callback before starting the Geolocation service.

Change-Id: I9a5736f5ce78e1c4bb36659245ffb61b485c4018

14 years agoMerges V8 version of jni_utility with JSC version at WebCore/bridge/jni.
Steve Block [Mon, 7 Dec 2009 12:05:28 +0000 (12:05 +0000)]
Merges V8 version of jni_utility with JSC version at WebCore/bridge/jni.

Change-Id: I640d5ca9e38d78fd662550fa389cf8b463dc78b6

14 years agoMoves JSC-specific functions from jni_utility and moves them to a new jsc/jni_utility...
Steve Block [Fri, 4 Dec 2009 15:36:28 +0000 (15:36 +0000)]
Moves JSC-specific functions from jni_utility and moves them to a new jsc/jni_utility_private.h.

See https://bugs.webkit.org/show_bug.cgi?id=32157

Change-Id: I1f7f0bb6fa9e72ee3eeb31160e0a828b3d076fee

14 years agoFix the wrong layout in the layout test.
Grace Kloba [Thu, 3 Dec 2009 01:39:47 +0000 (17:39 -0800)]
Fix the wrong layout in the layout test.

When we create a new WebFrameView, the bounds needs
to be transferred from the old WebFrameView. Otherwise
the new View will have (0,0) as bounds.

Add transitionToCommitted() for transitionToCommittedFromCachedFrame().

14 years agoam daa8318d: (-s ours) DO NOT MERGE. This is cherry picked from https://android-git...
Grace Kloba [Sat, 5 Dec 2009 01:37:14 +0000 (17:37 -0800)]
am daa8318d: (-s ours) DO NOT MERGE. This is cherry picked from https://android-git.corp.google.com/g/#change,28737

Merge commit 'daa8318de3c63a28eccb52546c230e5c5caee962' into eclair-mr2

* commit 'daa8318de3c63a28eccb52546c230e5c5caee962':
  DO NOT MERGE.

14 years agoDO NOT MERGE.
Grace Kloba [Sat, 3 Oct 2009 00:38:57 +0000 (17:38 -0700)]
DO NOT MERGE.
This is cherry picked from
https://android-git.corp.google.com/g/#change,28737

Fix http://b/issue?id=2304741

Add check null of getRealObject(). When a WebView is
removed, there is a slight chance that getRealObject()
for WebView's JavaObject be null.

Fix http://b/issue?id=2159815

14 years agoMerge change I2b870c71 into eclair-mr2
Android (Google) Code Review [Fri, 4 Dec 2009 19:21:16 +0000 (11:21 -0800)]
Merge change I2b870c71 into eclair-mr2

* changes:
  Enables x-mac-cyrillic on Android, now that this is in our version of ICU.

14 years agoMerge change If686b999 into eclair-mr2
Android (Google) Code Review [Fri, 4 Dec 2009 19:08:35 +0000 (11:08 -0800)]
Merge change If686b999 into eclair-mr2

* changes:
  Pass up flags for the main resource and user gesture.

14 years agoMerge change I49b2fbe0 into eclair-mr2
Android (Google) Code Review [Fri, 4 Dec 2009 18:53:31 +0000 (10:53 -0800)]
Merge change I49b2fbe0 into eclair-mr2

* changes:
  Only re-center the page if it is zoom change or orientation change. Do not re-center the page if it is caused by show/hide soft keyboard.

14 years agofix nav cache debugging
Cary Clark [Fri, 4 Dec 2009 18:33:04 +0000 (13:33 -0500)]
fix nav cache debugging

last change broke debugging code outside of the build

14 years agoPass up flags for the main resource and user gesture.
Patrick Scott [Fri, 4 Dec 2009 18:18:31 +0000 (13:18 -0500)]
Pass up flags for the main resource and user gesture.

This requires a change to the framework.

14 years agomove input-related fields out of CachedNode to expand
Cary Clark [Thu, 3 Dec 2009 16:02:54 +0000 (11:02 -0500)]
move input-related fields out of CachedNode to expand

Some of the fields in CachedNode are relevant only to input
fields and text areas. Move these into their own vector
so that we can add more data without making all CacheNodes
bigger.

Remove CacheNode entries that are no longer used, or can
be consolidated into the node type. Alphabetize some interfaces
and implementations. Update the debugging output.

part of http://b/2299660

14 years agoEnables x-mac-cyrillic on Android, now that this is in our version of ICU.
Steve Block [Fri, 4 Dec 2009 13:42:01 +0000 (13:42 +0000)]
Enables x-mac-cyrillic on Android, now that this is in our version of ICU.

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

14 years agoOnly re-center the page if it is zoom change or
Grace Kloba [Fri, 4 Dec 2009 08:32:52 +0000 (00:32 -0800)]
Only re-center the page if it is zoom change or
orientation change. Do not re-center the page if
it is caused by show/hide soft keyboard.

Fix http://b/issue?id=2303918

14 years agoMerge change Iceb63592 into eclair-mr2
Android (Google) Code Review [Thu, 3 Dec 2009 23:47:48 +0000 (15:47 -0800)]
Merge change Iceb63592 into eclair-mr2

* changes:
  Experimental change. Cache pages with unload event for back/forward. This will improve the history navigation. But it may break some sites. See discussion in https://bugs.webkit.org/show_bug.cgi?id=29021.

14 years agoExperimental change. Cache pages with unload event
Grace Kloba [Thu, 3 Dec 2009 17:53:55 +0000 (09:53 -0800)]
Experimental change. Cache pages with unload event
for back/forward. This will improve the history
navigation. But it may break some sites. See discussion
in https://bugs.webkit.org/show_bug.cgi?id=29021.

14 years agoRework CL, https://android-git.corp.google.com/g/#change,34511
Grace Kloba [Thu, 3 Dec 2009 19:39:15 +0000 (11:39 -0800)]
Rework CL, https://android-git.corp.google.com/g/#change,34511
due to the history unfork change.

14 years agoanother file to fix the build
Grace Kloba [Thu, 3 Dec 2009 19:01:07 +0000 (11:01 -0800)]
another file to fix the build

14 years agoFix the build due to auto merge
Grace Kloba [Thu, 3 Dec 2009 18:56:34 +0000 (10:56 -0800)]
Fix the build due to auto merge

14 years agoAfter turning on page cache, the parent HistoryItem
Grace Kloba [Wed, 2 Dec 2009 20:37:26 +0000 (12:37 -0800)]
After turning on page cache, the parent HistoryItem
can be destroyed before the child HistoryItem, add
an extra checking to avoid crash.

14 years agoMerge change I70c3076b into eclair-mr2
Android (Google) Code Review [Thu, 3 Dec 2009 12:56:02 +0000 (04:56 -0800)]
Merge change I70c3076b into eclair-mr2

* changes:
  Fixes a crashing Geolocation bug when a watch is cleared from certain callbacks.

14 years agoAndroid History unforking pt4: Android specific changes to makefiles and other code...
Ben Murdoch [Thu, 26 Nov 2009 14:58:02 +0000 (14:58 +0000)]
Android History unforking pt4: Android specific changes to makefiles and other code that has not been upstreamed yet (i.e. WebKit/android).

This does NOT need to be upstreamed to WebKit (yet).

Change-Id: I821fb90c3e463ef5fc4fa001ee5b8d967f9f7e48

14 years agoAndroid History unforking pt3: Changes to the notifyHIstoryItemChanged function and...
Ben Murdoch [Thu, 26 Nov 2009 14:53:09 +0000 (14:53 +0000)]
Android History unforking pt3: Changes to the notifyHIstoryItemChanged function and the places it is used.

This needs to be upstreamed to webkit.org.

Change-Id: I5dc4e40939448e0b1dfcd6393082036fc8174aa9

14 years agoAndroid History unforking pt2: BackForwardList changes. Fire a notification to the...
Ben Murdoch [Thu, 26 Nov 2009 14:49:53 +0000 (14:49 +0000)]
Android History unforking pt2: BackForwardList changes. Fire a notification to the FrameLoaderClient that the BackForwardList has been modified.

This needs to be upstreamed to webkit.org.

Change-Id: I14633c51276bd92ed56139b4c473cc8ac9bacb72

14 years agoAndroid history unforking pt 1: Add Android specific files and #if PLATFORM(ANDROID...
Ben Murdoch [Thu, 26 Nov 2009 14:11:05 +0000 (14:11 +0000)]
Android history unforking pt 1: Add Android specific files and #if PLATFORM(ANDROID) guarded code in WebCore/history/HistoryItem.cpp
This should be upstreamed to webkit.org

Change-Id: I3f822d5a6579080658242f846214e1c3fe31fa01

14 years agoFixes a crashing Geolocation bug when a watch is cleared from certain callbacks.
Steve Block [Thu, 3 Dec 2009 11:11:15 +0000 (11:11 +0000)]
Fixes a crashing Geolocation bug when a watch is cleared from certain callbacks.

BUG: http://b/2297475

This will be upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=32111

Change-Id: I70c3076b1a85c89bc4c587ea9fedaa84bd7b0575

14 years agoSave form data for elements other than type "text".
Leon Scroggins [Wed, 2 Dec 2009 19:47:32 +0000 (14:47 -0500)]
Save form data for elements other than type "text".

Partial fix for http://b/issue?id=2232001

When returning the form data for a page, check other types of textfields
besides "text" input elements.  Also consider "email", "number", etc.

14 years agoEnable WebKit page cache through WebSettings.
Grace Kloba [Tue, 24 Nov 2009 22:22:22 +0000 (14:22 -0800)]
Enable WebKit page cache through WebSettings.

Add setXX() for the meta data in Settings.

Add CachedFramePlatformDataAndroid to preserve the
state for the cachedFrame.

http://b/issue?id=2284168

14 years agoMerge change Ie0a2c0d4 into eclair-mr2
Android (Google) Code Review [Wed, 2 Dec 2009 17:51:27 +0000 (09:51 -0800)]
Merge change Ie0a2c0d4 into eclair-mr2

* changes:
  Move dump display tree to sdcard as dom and render tree.

14 years agoMerge change I3aa3fc5b into eclair-mr2
Android (Google) Code Review [Wed, 2 Dec 2009 17:41:07 +0000 (09:41 -0800)]
Merge change I3aa3fc5b into eclair-mr2

* changes:
  skip nodes when building nav cache if parents are clipped out

14 years agoskip nodes when building nav cache if parents are clipped out
Cary Clark [Wed, 2 Dec 2009 17:12:19 +0000 (12:12 -0500)]
skip nodes when building nav cache if parents are clipped out

This is a fairly conservative fix, since it actually checks to
see if a parent element is clipped out, rather than the bounds
of the element itself.

fixes http://b/2291936

14 years agonav to container if it wants key events
Cary Clark [Wed, 2 Dec 2009 13:59:01 +0000 (08:59 -0500)]
nav to container if it wants key events

When a text field or text area (or plugin) has another navable
element completely overlaying it, allow the trackball to move
from that inner element to the outer one.

Also, allow this to get a 'second chance' -- treat the case
when one element overlays another as a spacial nav and allow
it to retry in nav find algorithms.

fixes http://b/2266756

14 years agoUpdates Geolocation V8 bindings to match patch submitted to webkit.org.
Steve Block [Thu, 26 Nov 2009 11:24:22 +0000 (11:24 +0000)]
Updates Geolocation V8 bindings to match patch submitted to webkit.org.

See http://trac.webkit.org/changeset/51540

Change-Id: If60a5650750b1dc48353773947d451f4e8a3ec52

14 years agoMove dump display tree to sdcard as dom and render tree.
Grace Kloba [Mon, 23 Nov 2009 23:40:48 +0000 (15:40 -0800)]
Move dump display tree to sdcard as dom and render tree.

Fix dump render tree code.

14 years agocleaning up local JNI references for plugins and caching appropriate JNI ids.
Derek Sollenberger [Tue, 1 Dec 2009 15:53:06 +0000 (10:53 -0500)]
cleaning up local JNI references for plugins and caching appropriate JNI ids.

14 years agoAdding native portion of the PluginActivity class.
Derek Sollenberger [Tue, 1 Dec 2009 14:36:06 +0000 (09:36 -0500)]
Adding native portion of the PluginActivity class.

14 years agoMerge change I783ff698 into eclair-mr2
Android (Google) Code Review [Tue, 1 Dec 2009 14:15:31 +0000 (06:15 -0800)]
Merge change I783ff698 into eclair-mr2

* changes:
  Removes superfluous file V8 DerivedSourcesAllInOne.cpp from Android build.

14 years agoCleanup how a plugin requests to go full-screen.
Derek Sollenberger [Tue, 1 Dec 2009 13:43:57 +0000 (08:43 -0500)]
Cleanup how a plugin requests to go full-screen.

14 years agoMerge change I24ba66f9 into eclair-mr2
Android (Google) Code Review [Tue, 1 Dec 2009 13:17:57 +0000 (05:17 -0800)]
Merge change I24ba66f9 into eclair-mr2

* changes:
  Cleaning up android_npapi by removing implemented functions and unused parameters.

14 years agoMerge change Iae9809cb into eclair-mr2
Android (Google) Code Review [Tue, 1 Dec 2009 13:15:06 +0000 (05:15 -0800)]
Merge change Iae9809cb into eclair-mr2

* changes:
  Fixes Makefiles to have proper dependency on HTMLTagNames.in and HTMLAttributeNames.in.

14 years agoRemoves superfluous file V8 DerivedSourcesAllInOne.cpp from Android build.
Steve Block [Mon, 30 Nov 2009 14:56:15 +0000 (14:56 +0000)]
Removes superfluous file V8 DerivedSourcesAllInOne.cpp from Android build.

This was added in https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=6d62749f698529d29ec7cf61f6c8ec323ae52b83#patch1

Also revert Android-specific changes to DerivedSourcesAllInOne.cpp, to avoid future conflicts in WebKit merge.

Change-Id: I783ff698af8212c02c48012f97bd1bc3d90b7ea2

14 years agoFixes Makefiles to have proper dependency on HTMLTagNames.in and HTMLAttributeNames.in.
Steve Block [Tue, 1 Dec 2009 11:55:51 +0000 (11:55 +0000)]
Fixes Makefiles to have proper dependency on HTMLTagNames.in and HTMLAttributeNames.in.

Previously, the path to these files was expanded prior to execution of the rule,
thus breaking the dependency.

Change-Id: Iae9809cb925dfc26606f02a47a4dd930c99a3106

14 years agonavigate preferably between children of the same parent
Cary Clark [Mon, 30 Nov 2009 20:46:06 +0000 (15:46 -0500)]
navigate preferably between children of the same parent

The nav cache attempts to take advantage of the order that
the dom is walked to know when multiple nodes have the same
parent. The old implementation doesn't always work, and a
simpler non-cached version makes more sense.

The algorithm now walks nodes until the parent has more than
one child, and assigns that parent as the 'parent group'. On
the other end, nodes with no parent group are never allowed
to get preferential matching treatment.

14 years agoMerge change Ib72d8281 into eclair-mr2
Android (Google) Code Review [Mon, 30 Nov 2009 20:39:07 +0000 (12:39 -0800)]
Merge change Ib72d8281 into eclair-mr2

* changes:
  fix bugs in nav cache dump