OSDN Git Service

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

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

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

14 years agoRemove duplicate include of config.h
Steve Block [Thu, 12 Nov 2009 01:31:14 +0000 (01:31 +0000)]
Remove duplicate include of config.h

Change-Id: I43c48f7641c8ad844193a48f2cd452ac4ad553ef

14 years agoam a5605499: Changing fit column to screen to exclude the padding.
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.

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

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

14 years agoUse the ENABLE(INSPECTOR) guard instead of ENABLE(JAVASCRIPT_DEBUGGER). Also guard...
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

14 years agoFix a diff between our tree and the upstream WX port.
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

14 years agoChanging fit column to screen to exclude the padding.
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

14 years agoRemoves extra define of HAVE_PTHREAD_RW_LOCK.
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

14 years agoRemoves LOCK_V8 calls, which are incomplete having been abandonned prior to previous...
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

14 years agoUpdate Android build to remove websockets include and to keep in line with latest...
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

14 years agoRemove DerivedSources.make.
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

14 years agoMerge webkit.org at r50258 : Update WebKit revision number.
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

14 years agoMerge webkit.org at r50258 : toJSDOMWindow now takes a DOMWrapperWorld parameter.
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

14 years agoMerge webkit.org at r50258 : PluginPackage::compareFileVersion is now provided in...
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

14 years agoMerge webkit.org at r50258 : Implements new GraphicsContext::canvasClip method for...
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

14 years agoMerge webkit.org at r50258 : FrameLoader::loadFrameRequest now takes a ReferrerPolicy...
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

14 years agoMerge webkit.org at r50258 : FrameLoader::executeScript has moved to ScriptController.
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

14 years agoMerge webkit.org at r50258 : HistoryController has been factored out of FrameLoader.
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

14 years agoMerge webkit.org at r50258 : Fix header include order for Log.h.
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

14 years agoMerge webkit.org at r50258 : Add guards for Document::inspectorTimelineAgent().
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

14 years agoMerge webkit.org at r50258 : Fix Makefiles.
Steve Block [Thu, 29 Oct 2009 00:55:04 +0000 (00:55 +0000)]
Merge webkit.org at r50258 : Fix Makefiles.

Change-Id: I5b458ac956718d2dd25d4faff503b376cd9e3214

14 years agoMerge webkit.org at r50258 : Fix conflicts.
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

14 years agoMerge webkit.org at r50258 : Initial merge by git.
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

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

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

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

14 years agoam f3df4438: (-s ours) Merge change I43c19e84 into eclair
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.