OSDN Git Service

android-x86/external-webkit.git
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 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

14 years agofix bugs in nav cache dump
Cary Clark [Mon, 30 Nov 2009 20:15:04 +0000 (15:15 -0500)]
fix bugs in nav cache dump

Fix errors in empty frames, escape character sequences,
and characters outside the ascii range. These fixes are
specific to dumping the nav cache and are commented out
in all builds.

14 years agoMerge change I11fe1a14 into eclair-mr2
Android (Google) Code Review [Mon, 30 Nov 2009 19:29:39 +0000 (11:29 -0800)]
Merge change I11fe1a14 into eclair-mr2

* changes:
  add ANDROID to the list of platforms that support font-face

14 years agoadd ANDROID to the list of platforms that support font-face
Mike Reed [Mon, 30 Nov 2009 18:18:08 +0000 (13:18 -0500)]
add ANDROID to the list of platforms that support font-face

14 years agoCleaning up android_npapi by removing implemented functions and unused parameters.
Derek Sollenberger [Mon, 30 Nov 2009 16:53:41 +0000 (11:53 -0500)]
Cleaning up android_npapi by removing implemented functions and unused parameters.

14 years agoFix a crash when closing the native history.
Patrick Scott [Mon, 30 Nov 2009 15:42:28 +0000 (10:42 -0500)]
Fix a crash when closing the native history.

The item for a given frame can be null when closing the history while reusing
the same WebView. If the item is null, no need to visit the children since they
will also not have a history item.

14 years agoMerge change Ie9bc2064 into eclair-mr2
Android (Google) Code Review [Mon, 30 Nov 2009 16:06:41 +0000 (08:06 -0800)]
Merge change Ie9bc2064 into eclair-mr2

* changes:
  Remove the Android-specific setCMYKXXXColor methods, which are not used.

14 years agoRefactoring plugins to use new java interfaces.
Derek Sollenberger [Tue, 24 Nov 2009 20:05:24 +0000 (15:05 -0500)]
Refactoring plugins to use new java interfaces.

This change contains extensive cleanup as we now keep track of a pointer
to the plugin's java entry point (WebkitPlugin.class). Also given that we
track this object and changes to plugin packaging we nolonger need to pass
additional parameters in quite a few methods.

14 years agoMerge change I49a4a258 into eclair-mr2
Android (Google) Code Review [Fri, 27 Nov 2009 12:11:33 +0000 (04:11 -0800)]
Merge change I49a4a258 into eclair-mr2

* changes:
  Removes superfluous code from Android implementation of AuthenticationChallenge.

14 years agoRemoves superfluous code from Android implementation of AuthenticationChallenge.
Steve Block [Thu, 26 Nov 2009 12:54:29 +0000 (12:54 +0000)]
Removes superfluous code from Android implementation of AuthenticationChallenge.

- 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

14 years agoRemove the Android-specific setCMYKXXXColor methods, which are not used.
Steve Block [Thu, 26 Nov 2009 15:50:24 +0000 (15:50 +0000)]
Remove the Android-specific setCMYKXXXColor methods, which are not used.

Change-Id: Ie9bc2064b10c01579d60e31f62ea6996974f8f4a

14 years agoMerge change Ice535a82 into eclair-mr2
Android (Google) Code Review [Thu, 26 Nov 2009 10:21:19 +0000 (02:21 -0800)]
Merge change Ice535a82 into eclair-mr2

* changes:
  Restores the default value for ENABLE(ARCHIVE) in wtf/Platform.h.

14 years agoMerge change Ie4e91d61 into eclair-mr2
Android (Google) Code Review [Wed, 25 Nov 2009 16:43:40 +0000 (08:43 -0800)]
Merge change Ie4e91d61 into eclair-mr2

* changes:
  Bring Android files in line with what landed at webkit.org.

14 years agoMerge change I4b0151ad into eclair-mr2
Android (Google) Code Review [Wed, 25 Nov 2009 16:34:23 +0000 (08:34 -0800)]
Merge change I4b0151ad into eclair-mr2

* changes:
  Fixes a PLATFORM(ANDROID) guard in RenderBlock.h which causes problems when building on Mac.

14 years agoBring Android files in line with what landed at webkit.org.
Andrei Popescu [Wed, 25 Nov 2009 16:20:53 +0000 (16:20 +0000)]
Bring Android files in line with what landed at webkit.org.

Picks up changes made by Apple in

http://trac.webkit.org/changeset/51191/trunk/WebCore/platform/android/LocalizedStringsAndroid.cpp

14 years agoMerge change I1890130f into eclair-mr2
Android (Google) Code Review [Wed, 25 Nov 2009 16:27:02 +0000 (08:27 -0800)]
Merge change I1890130f into eclair-mr2

* changes:
  Update files in platform/android to match what was upstreamed in

14 years agoUpdate files in platform/android to match what was upstreamed in
Andrei Popescu [Tue, 24 Nov 2009 12:04:22 +0000 (12:04 +0000)]
Update files in platform/android to match what was upstreamed in

https://bugs.webkit.org/show_bug.cgi?id=31825
https://bugs.webkit.org/show_bug.cgi?id=31831

14 years agoRestores the default value for ENABLE(ARCHIVE) in wtf/Platform.h.
Steve Block [Wed, 25 Nov 2009 15:13:50 +0000 (15:13 +0000)]
Restores the default value for ENABLE(ARCHIVE) in wtf/Platform.h.

This default was recently removed but is required to build on Mac.

See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=2cc706295f906df0bb49f51c9efe92a97c427464#patch1

Change-Id: Ice535a8205d14a0f3c3bfc4f32bc7d71132fbc2a

14 years agoRemove nativeTextInputMotionUp.
Leon Scroggins [Tue, 24 Nov 2009 19:55:38 +0000 (14:55 -0500)]
Remove nativeTextInputMotionUp.

Function is not needed.  Requires a change to frameworks/base

14 years agoFixes a PLATFORM(ANDROID) guard in RenderBlock.h which causes problems when building...
Steve Block [Wed, 25 Nov 2009 15:02:57 +0000 (15:02 +0000)]
Fixes a PLATFORM(ANDROID) guard in RenderBlock.h which causes problems when building on Mac.

This code was modified recently to aid upstreaming by wrapping all Android changes in PLATFORM(ANDROID).
To allow the build to succeed on other paltforms, we need to be more careful with our use of the guards.

See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=bc7b84de3fd863c500a8169fd00dca3811cadbb3#patch28

Change-Id: I4b0151ad62023821171742c5dfbba1dd7b39d8ed

14 years agoFixes use of statics of non-built-in types in Geolocation.
Steve Block [Wed, 25 Nov 2009 11:14:04 +0000 (11:14 +0000)]
Fixes use of statics of non-built-in types in Geolocation.

The Mac build requires that only built-in types are used as statics.

Change-Id: I69a3f063c5728d76a13f73b8b056187d5678e0ab

14 years agoMerge change I6d6312e9 into eclair-mr2
Android (Google) Code Review [Wed, 25 Nov 2009 13:49:08 +0000 (05:49 -0800)]
Merge change I6d6312e9 into eclair-mr2

* changes:
  Fixes WTF include in WebCore/page/Geolocation.cpp to fix Mac build.

14 years agoMerge change I973e6b03 into eclair-mr2
Android (Google) Code Review [Wed, 25 Nov 2009 11:26:54 +0000 (03:26 -0800)]
Merge change I973e6b03 into eclair-mr2

* changes:
  Unfork WebCore/bridge/jni.

14 years agoMerge change I685fd143 into eclair-mr2
Android (Google) Code Review [Wed, 25 Nov 2009 10:38:22 +0000 (02:38 -0800)]
Merge change I685fd143 into eclair-mr2

* changes:
  Removes superfluous use of LOCAL_SRC_FILES in derived Makefiles.

14 years agoFixes WTF include in WebCore/page/Geolocation.cpp to fix Mac build.
Steve Block [Tue, 24 Nov 2009 23:25:53 +0000 (23:25 +0000)]
Fixes WTF include in WebCore/page/Geolocation.cpp to fix Mac build.

Also fixes include problems in files in WebKit/android.

Change-Id: I6d6312e9753eb2bbf0b61f20a6ef0eb56f990991

14 years agoRemoves superfluous use of LOCAL_SRC_FILES in derived Makefiles.
Steve Block [Tue, 24 Nov 2009 23:25:05 +0000 (23:25 +0000)]
Removes superfluous use of LOCAL_SRC_FILES in derived Makefiles.

Change-Id: I685fd143279f92570a1844c847478e0cbe038e1e

14 years agoMerge change Ib6355d33 into eclair-mr2
Android (Google) Code Review [Tue, 24 Nov 2009 19:33:26 +0000 (11:33 -0800)]
Merge change Ib6355d33 into eclair-mr2

* changes:
  remove obsolete code block

14 years agoremove obsolete code block
Cary Clark [Tue, 24 Nov 2009 18:26:16 +0000 (13:26 -0500)]
remove obsolete code block

This block was commented out in Android to improve performance.
It has now been removed from webkit altogether.

It needs to be removed to allow webkit to build for Safari,
since the interfaces it references are now obsolete.

14 years agoFix the occassional build break.
Patrick Scott [Tue, 24 Nov 2009 13:44:18 +0000 (08:44 -0500)]
Fix the occassional build break.

WebCoreJniOnLoad.cpp now depends on some generated headers so it can occassional
fail to build if make has many jobs. Add LOCAL_ADDITIONAL_DEPENDENCIES to
prevent build breakage.

This was pulled from the old perf/Android.mk file.

14 years agoUnfork WebCore/bridge/jni.
Ben Murdoch [Mon, 23 Nov 2009 14:25:39 +0000 (14:25 +0000)]
Unfork WebCore/bridge/jni.

Change-Id: I973e6b03286b1d8f6e6325a2b31d0cf9e99d19b3

14 years agoMerge change I46e116c9 into eclair-mr2
Android (Google) Code Review [Tue, 24 Nov 2009 10:59:58 +0000 (02:59 -0800)]
Merge change I46e116c9 into eclair-mr2

* changes:
  Updates MainThreadAndroid.cpp to reflect version upstreamed to webkit.org.

14 years agoMerge change Ia6cf2f30 into eclair-mr2
Android (Google) Code Review [Mon, 23 Nov 2009 21:16:38 +0000 (13:16 -0800)]
Merge change Ia6cf2f30 into eclair-mr2

* changes:
  Updates an Android-specific work-around in V8GCController.cpp now that std::sort is available on Android.

14 years agoMerge change If7c73ee1 into eclair-mr2
Android (Google) Code Review [Mon, 23 Nov 2009 18:40:30 +0000 (10:40 -0800)]
Merge change If7c73ee1 into eclair-mr2

* changes:
  Moves initializeMaximumHTTPConnectionCountPerHost to a new ResourceRequestAndroid.cpp file.

14 years agoUpdates an Android-specific work-around in V8GCController.cpp now that std::sort...
Steve Block [Mon, 23 Nov 2009 17:44:27 +0000 (17:44 +0000)]
Updates an Android-specific work-around in V8GCController.cpp now that std::sort is available on Android.

Change-Id: Ia6cf2f309894c877e23ad8f07439d0892810cbb2

14 years agoMoves initializeMaximumHTTPConnectionCountPerHost to a new ResourceRequestAndroid...
Steve Block [Mon, 23 Nov 2009 17:59:53 +0000 (17:59 +0000)]
Moves initializeMaximumHTTPConnectionCountPerHost to a new ResourceRequestAndroid.cpp file.

This is in line with other WebKit ports, ready for upstreaming to webkit.org.

Change-Id: If7c73ee1c65ee69bba54b7acbc462ff3444e781e

14 years agoMerge change I30add3d6 into eclair-mr2
Android (Google) Code Review [Mon, 23 Nov 2009 17:37:01 +0000 (09:37 -0800)]
Merge change I30add3d6 into eclair-mr2

* changes:
  Removes Android-specific wrapper for std::sort in Profile class.

14 years agoRemoves some Symbian platform files which are not not used by Android are no longer...
Steve Block [Mon, 23 Nov 2009 17:27:34 +0000 (17:27 +0000)]
Removes some Symbian platform files which are not not used by Android are no 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

14 years agoUpdates MainThreadAndroid.cpp to reflect version upstreamed to webkit.org.
Steve Block [Mon, 23 Nov 2009 16:44:44 +0000 (16:44 +0000)]
Updates MainThreadAndroid.cpp to reflect version upstreamed to webkit.org.

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

Change-Id: I46e116c933475699cba499e3c27921e00ebab666

14 years agoRemoves Android-specific wrapper for std::sort in Profile class.
Steve Block [Fri, 20 Nov 2009 15:27:15 +0000 (15:27 +0000)]
Removes Android-specific wrapper for std::sort in Profile class.

It appears that previosuly, a wrapper function was required to perform
the required type casting when passing a custom comparison function to
Android's std::sort. This is no longer required, so the wrapper can be
removed.

Change-Id: I30add3d6b41eca2558867755a34dda21a180166f

14 years agoFix the sim build.
Patrick Scott [Mon, 23 Nov 2009 15:05:03 +0000 (10:05 -0500)]
Fix the sim build.

14 years agoMerge change Ia4f91efd into eclair-mr2
Android (Google) Code Review [Mon, 23 Nov 2009 14:58:11 +0000 (06:58 -0800)]
Merge change Ia4f91efd into eclair-mr2

* changes:
  Moves get_thread_msec from JavaScriptCore/wtf/CurrentTime to WebKit/android/Timecounter.

14 years agoMerge change I7f9c0552 into eclair-mr2
Android (Google) Code Review [Mon, 23 Nov 2009 14:50:51 +0000 (06:50 -0800)]
Merge change I7f9c0552 into eclair-mr2

* changes:
  Updates Threading.h to reflect final version of Android atomicIncrement/Decrement submitted to webkit.org.

14 years agoMove the benchmark code inside libwebcore.so
Patrick Scott [Mon, 23 Nov 2009 13:19:13 +0000 (08:19 -0500)]
Move the benchmark code inside libwebcore.so

This adds about 8k of code to the library but it allows the benchmark to run
without modifying the library. This makes it ideal when testing libwebcore.so
since it is the exact same as our running library. It also makes it possible to
always build the benchmark app.

14 years agoMerge change Ic9c0f729 into eclair-mr2
Android (Google) Code Review [Mon, 23 Nov 2009 11:51:08 +0000 (03:51 -0800)]
Merge change Ic9c0f729 into eclair-mr2

* changes:
  Update the Android-specific fix in StringHash::equal to match the fix recently made in webkit.org.

14 years agoUpdate the Android-specific fix in StringHash::equal to match the fix recently made...
Steve Block [Fri, 20 Nov 2009 17:32:13 +0000 (17:32 +0000)]
Update the Android-specific fix in StringHash::equal to match the fix 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

14 years agoUpdates Threading.h to reflect final version of Android atomicIncrement/Decrement...
Steve Block [Mon, 23 Nov 2009 10:49:08 +0000 (10:49 +0000)]
Updates Threading.h to reflect final version of Android atomicIncrement/Decrement submitted to webkit.org.

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

Change-Id: I7f9c0552bd9f3c51e7b869bd1c782ef72d28f1a4

14 years agoDraw ListBoxes to look like MenuLists.
Leon Scroggins [Fri, 20 Nov 2009 19:47:54 +0000 (14:47 -0500)]
Draw ListBoxes to look like MenuLists.

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.

14 years agoMerge change Id484e955 into eclair-mr2
Android (Google) Code Review [Fri, 20 Nov 2009 16:33:49 +0000 (08:33 -0800)]
Merge change Id484e955 into eclair-mr2

* changes:
  Bring TextBreakIteratorInternalICU.cpp in to line with WebKit version.

14 years agoBring TextBreakIteratorInternalICU.cpp in to line with WebKit version.
Steve Block [Fri, 20 Nov 2009 15:57:33 +0000 (15:57 +0000)]
Bring TextBreakIteratorInternalICU.cpp in to line with WebKit version.

Note that this is a comment change only.

See http://trac.webkit.org/changeset/45762#file3

Change-Id: Id484e955a5aeb948dc8068626e8013dbad757e22

14 years agoMoves get_thread_msec from JavaScriptCore/wtf/CurrentTime to WebKit/android/Timecounter.
Steve Block [Fri, 20 Nov 2009 13:26:23 +0000 (13:26 +0000)]
Moves get_thread_msec from JavaScriptCore/wtf/CurrentTime to WebKit/android/Timecounter.

This function is an Android addition to JavaScriptCore::WTF, but is not used anywhere in WebCore or JavaScriptCore.
Futhermore, JavaScriptCore/wtf/CurrentTime does not contain any other platform additions.
It's used primarily in WebKit/android/TimeCounter, so I've moved it there.
I've also updated the name to getThreadMsec to match WebKit style.

Change-Id: Ia4f91efd3caaafd1fb079afe6c493aefea402582

14 years agoRemoves a superfluous Android include from TypeTraits.cpp.
Steve Block [Fri, 20 Nov 2009 12:33:44 +0000 (12:33 +0000)]
Removes a superfluous Android include from TypeTraits.cpp.

Change-Id: I344d69490b8050ff659e2b380c05fb9872d66cde

14 years agoCleans up Threading.cpp/h ready for upstreaming to webkit.org.
Steve Block [Fri, 20 Nov 2009 11:13:56 +0000 (11:13 +0000)]
Cleans up Threading.cpp/h ready for upstreaming to webkit.org.

$ diff ~/WebKitTipOfTree/JavaScriptCore/wtf/Threading.cpp JavaScriptCore/wtf/Threading.cpp
$ diff ~/WebKitTipOfTree/JavaScriptCore/wtf/Threading.h JavaScriptCore/wtf/Threading.h
75a76,77
> #elif PLATFORM(ANDROID)
> #include "cutils/atomic.h"
234a237,241
> #elif PLATFORM(ANDROID)
>
> inline int atomicIncrement(int volatile* addend) { return android_atomic_inc(addend); }
> inline int atomicDecrement(int volatile* addend) { return android_atomic_dec(addend); }
>

Change-Id: Ie4835ff88aae608b7a1844be1b422d105b327528

14 years agoUpdates WebCore/config.h to reflect changes made when upstreaming to webkit.org.
Steve Block [Thu, 19 Nov 2009 16:49:23 +0000 (16:49 +0000)]
Updates WebCore/config.h to reflect changes made when upstreaming to webkit.org.

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

Note that we only need to undef a feature enable flag when we are overwriting a default value previosuly set
in Platform.h. Also, we now rely on the default value for ENABLE_DATABASE.

Change-Id: I26ca5ef5402609ead880bdd1ce05cdb3646c1bbc

14 years agoMerge change Ifb1214a6 into eclair-mr2
Android (Google) Code Review [Thu, 19 Nov 2009 19:47:54 +0000 (11:47 -0800)]
Merge change Ifb1214a6 into eclair-mr2

* changes:
  Change window focus only if the user initiated the event.

14 years agoMerge change Iede51a8d into eclair-mr2
Android (Google) Code Review [Thu, 19 Nov 2009 17:04:33 +0000 (09:04 -0800)]
Merge change Iede51a8d into eclair-mr2

* changes:
  Fix the fact that enablement of VIDEO and WORKERS erroneously depends upon whether SVG is enabled!

14 years agoFix the fact that enablement of VIDEO and WORKERS erroneously depends upon whether...
Steve Block [Thu, 19 Nov 2009 16:36:46 +0000 (16:36 +0000)]
Fix the fact that enablement of VIDEO and WORKERS erroneously depends upon whether SVG is enabled!

This dependency was accidentally introduced in the following changes ...
https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=917149bb7d8c49bb401a6e3740a1046168397bc4#patch5
https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=fc3566dd8afb671f5f2629103dc98fc790e21a90#patch5

Change-Id: Iede51a8d98cbd97a2e3b164e325705c862d8f399

14 years agoMerge change I873491c4 into eclair-mr2
Android (Google) Code Review [Thu, 19 Nov 2009 16:16:34 +0000 (08:16 -0800)]
Merge change I873491c4 into eclair-mr2

* changes:
  Cleans up Android-specific changes to Platform.h, ready for upstreaming to webkit.org.

14 years agoMerge change Ia0156890 into eclair-mr2
Android (Google) Code Review [Thu, 19 Nov 2009 16:15:28 +0000 (08:15 -0800)]
Merge change Ia0156890 into eclair-mr2

* changes:
  Improves documentation for GeolocationPermissions class.

14 years agoMerge change I0248ac15 into eclair-mr2
Android (Google) Code Review [Thu, 19 Nov 2009 16:15:10 +0000 (08:15 -0800)]
Merge change I0248ac15 into eclair-mr2

* changes:
  Remove leading/trailing newlines and tabs as well as spaces from URLs.

14 years agoCleans up Android-specific changes to Platform.h, ready for upstreaming to webkit...
Steve Block [Thu, 19 Nov 2009 16:02:09 +0000 (16:02 +0000)]
Cleans up Android-specific changes to Platform.h, ready for upstreaming to webkit.org.

Change-Id: I873491c433058c5f3bc9d00f40e80813f831f736

14 years agoImproves documentation for GeolocationPermissions class.
Steve Block [Thu, 19 Nov 2009 12:29:21 +0000 (12:29 +0000)]
Improves documentation for GeolocationPermissions class.

Change-Id: Ia0156890af339f32270db5fdf8e876d07f68b719

14 years agoChange window focus only if the user initiated the event.
Patrick Scott [Wed, 18 Nov 2009 18:55:30 +0000 (13:55 -0500)]
Change window focus only if the user initiated the event.

This does not work in the javascript case because the user gesture is stored in
the caller's script environment and that knowledge is not obtainable in the
receiving frame. However, this change allows targeted links to change the focus
to the correct window but prevents sites like slate.com from changing back to
the opening window.

This change will be followed by a simple revert of the previous change in the
Browser app.

Bug: 2161671

14 years agoAdd support for returning the anchor text back to Java land.
Ben Murdoch [Mon, 16 Nov 2009 18:14:02 +0000 (18:14 +0000)]
Add support for returning the anchor text back to Java land.

Change-Id: Ic092a6fbacd577dab363896be38c882166230c3a

14 years agoMerge change I7018b1ca into eclair-mr2
Android (Google) Code Review [Wed, 18 Nov 2009 12:36:19 +0000 (04:36 -0800)]
Merge change I7018b1ca into eclair-mr2

* changes:
  rename nativeFindIsDown to nativeFindIsUp

14 years agoRemove leading/trailing newlines and tabs as well as spaces from URLs.
Ben Murdoch [Tue, 17 Nov 2009 18:08:16 +0000 (18:08 +0000)]
Remove leading/trailing newlines and tabs as well as spaces from URLs.

Change-Id: I0248ac1597fb0289ff34c346e6f92b3bd507ee39

14 years agoam ffe27b58: Integrate WebKit security fix http://trac.webkit.org/changeset/50466
Grace Kloba [Wed, 18 Nov 2009 02:40:37 +0000 (18:40 -0800)]
am ffe27b58: Integrate WebKit security fix trac.webkit.org/changeset/50466

Merge commit 'ffe27b58c77e71641efd3bd4258323cd4c29c39a' into eclair-mr2

* commit 'ffe27b58c77e71641efd3bd4258323cd4c29c39a':
  Integrate WebKit security fix

14 years agoIntegrate WebKit security fix
Grace Kloba [Wed, 18 Nov 2009 02:07:26 +0000 (18:07 -0800)]
Integrate WebKit security fix
http://trac.webkit.org/changeset/50466

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

14 years agorename nativeFindIsDown to nativeFindIsUp
Cary Clark [Tue, 17 Nov 2009 21:00:54 +0000 (16:00 -0500)]
rename nativeFindIsDown to nativeFindIsUp

companion fix is in framework/base

fixes bug http://b/issue?id=2264941

14 years agoCleans up Android-specific changes to WebCore/bridge/jni ready for upstreaing to...
Steve Block [Tue, 17 Nov 2009 13:39:58 +0000 (13:39 +0000)]
Cleans up Android-specific changes to WebCore/bridge/jni ready for upstreaing to webkit.org.

Change-Id: I0778955bee95680a9924fdae2967158e4add81ba

14 years agoMove V8 Makefiles to from V8Binding directory to WebCore directory, to match JSC...
Steve Block [Tue, 17 Nov 2009 12:30:38 +0000 (12:30 +0000)]
Move V8 Makefiles to from V8Binding directory to WebCore directory, to match JSC Makefiles.

Also move binding include paths to Android.*bindings.mk and clean up some comments.

Change-Id: I6d1475cdfcc330ec3e271cab1c3aa25a414f0448

14 years agoMerge change I4465d348 into eclair-mr2
Android (Google) Code Review [Tue, 17 Nov 2009 13:28:48 +0000 (05:28 -0800)]
Merge change I4465d348 into eclair-mr2

* changes:
  Update style after

14 years agoUpdate style after
Andrei Popescu [Tue, 17 Nov 2009 12:31:18 +0000 (12:31 +0000)]
Update style after

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

landed.

14 years agoRemoves some more superfluous code from the Makefiles.
Steve Block [Mon, 16 Nov 2009 16:35:50 +0000 (16:35 +0000)]
Removes some more superfluous code from the Makefiles.

Change-Id: I9326a117296554c12ff43be0fff90b987a29561e

14 years agoFactors out common code from JSC and V8 Makefiles, ready for upstreaming to webkit...
Steve Block [Fri, 13 Nov 2009 20:36:38 +0000 (20:36 +0000)]
Factors out common code from JSC and V8 Makefiles, ready for upstreaming to webkit.org.

Both the JSC and V8 builds use Android.mk, WebCore/Android.mk and WebCore/Android.derived.mk.
The JSC build also uses WebCore/Android.jscbindings.mk and WebCore/Android.derived.jscbindings.mk.
The V8 build also uses V8Bindings/V8Binding.derived.mk.

Change details ...

Android.mk                 - Added content from both Android.jsc.mk and Android.v8.mk and removed these files.
                             Added ifdefs to switch between two builds.
WebCore/Android.mk         - Moved JSC bindings code to WebCore/Android.jscbindings.mk.
                             This file is now functionally identical to WebCore/Android.v8.mk, which was removed.
WebCore/Android.derived.mk - Moved JSC bindings code to WebCore/Android.derived.jscbindings.mk.
                             This file is now functionally identical to WebCore/Android.v8.derived.mk, which was removed.

Also updates copyright dates, as per WebKit requirements.

Change-Id: I92377b60f6f63c57283c316a2c7c2c64a13dc7de

14 years agoMerge change If5d1fa4f into eclair-mr2
Android (Google) Code Review [Tue, 17 Nov 2009 10:54:25 +0000 (02:54 -0800)]
Merge change If5d1fa4f into eclair-mr2

* changes:
  Split the GeolocationService implementation. This is a result of https://bugs.webkit.org/show_bug.cgi?id=31554

14 years agoRevert https://android-git.corp.google.com/g/#change,31178
Grace Kloba [Tue, 17 Nov 2009 00:10:23 +0000 (16:10 -0800)]
Revert https://android-git.corp.google.com/g/#change,31178
as http://b/issue?id=2183371 is finally fixed.

14 years agoSplit the GeolocationService implementation. This is a result of
Andrei Popescu [Mon, 16 Nov 2009 19:00:25 +0000 (19:00 +0000)]
Split the GeolocationService implementation. This is a result of
https://bugs.webkit.org/show_bug.cgi?id=31554

14 years agoMerge change Ibac5ab03 into eclair-mr2
Android (Google) Code Review [Mon, 16 Nov 2009 14:26:35 +0000 (06:26 -0800)]
Merge change Ibac5ab03 into eclair-mr2

* changes:
  Add a guard on InspectorTimelineAgent, and remove unnecessary guards...

14 years agoMerge change Iad124f6d into eclair-mr2
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

14 years agoUpdate Android tree with what was upstreamed in
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

14 years agoAdd a guard on InspectorTimelineAgent, and remove unnecessary guards...
Nicolas Roard [Sat, 14 Nov 2009 04:18:29 +0000 (20:18 -0800)]
Add a guard on InspectorTimelineAgent, and remove unnecessary guards...

14 years agoRemove unused #defines from config.h
Ben Murdoch [Fri, 13 Nov 2009 17:50:33 +0000 (09:50 -0800)]
Remove unused #defines from config.h

Change-Id: I9e12f9344db4e4e84399ef0c58db9a3acad0ff93

14 years agoMerge change I1878e4cc into eclair-mr2
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.

14 years agoRemoves 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

14 years agoBring webcore_test up-to-date.
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.

14 years agoMerge change Idfc1eb92 into eclair-mr2
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

14 years agoFix the sim build.
Patrick Scott [Fri, 13 Nov 2009 18:15:10 +0000 (13:15 -0500)]
Fix the sim build.

14 years agoMerge change I67ad4b89 into eclair-mr2
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/.

14 years agoMerge change I219a7aa4 into eclair-mr2
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.

14 years agoFixes license headers for all files in WebKit/android, other than those in stl/.
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

14 years agoFixes license headers for all Android-specific JavaScriptCore and WebCore files not...
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

14 years agoRemove android-specific plugin exception mechanism
Nicolas Roard [Thu, 12 Nov 2009 22:57:10 +0000 (14:57 -0800)]
Remove android-specific plugin exception mechanism

14 years agoMerge change I8eba4d0a into eclair-mr2
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.

14 years agoFix style in platform/android to match WebKit style
Andrei Popescu [Thu, 12 Nov 2009 18:39:45 +0000 (10:39 -0800)]
Fix style in platform/android to match WebKit style

14 years agoRemoves WebCorePrefixAndroid.h to aid WebKit upstreaming.
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

14 years agoBring page/android in line with the versions on WebKit.org.
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