OSDN Git Service
Android (Google) Code Review [Tue, 8 Sep 2009 19:02:30 +0000 (12:02 -0700)]
Merge change 24042 into eclair
* changes:
Handle another old style meta tag, MobileOptimized. Also if the sites set the width for the viewport to be less than 320, just use device-width.
Andrei Popescu [Tue, 8 Sep 2009 18:38:33 +0000 (19:38 +0100)]
Switch back to JSC
Steve Block [Tue, 8 Sep 2009 11:04:42 +0000 (12:04 +0100)]
Updates mock Geolocation service to match final version submitted to WebKit.
See https://bugs.webkit.org/show_bug.cgi?id=28264.
Change-Id: I30900239108ea699f194fceb30626f41c928c08e
Android (Google) Code Review [Tue, 8 Sep 2009 10:49:05 +0000 (03:49 -0700)]
Merge change 24108 into eclair
* changes:
Store Geolocation cached position between browser sessions.
Ben Murdoch [Tue, 8 Sep 2009 10:14:35 +0000 (11:14 +0100)]
Update V8 to bleeding_edge r2842.
Steve Block [Fri, 4 Sep 2009 13:26:00 +0000 (14:26 +0100)]
Store Geolocation cached position between browser sessions.
This fixes bug http://b/issue?id=
2054431.
Change-Id: I44b752b0c7fb4529027018c99dd945279b594b89
Steve Block [Thu, 3 Sep 2009 11:44:53 +0000 (12:44 +0100)]
Fixes Coordinates::toString to not print optional parameters that are not specified.
This fixes http://b/issue?id=
2103855.
Change-Id: Ie540c7adc056ea0f285b7558b2f33acfcc1ecab2
Steve Block [Tue, 25 Aug 2009 11:47:09 +0000 (12:47 +0100)]
Implements Geolocation PositionOptions.maximumAge property.
This fixes bug http://b/issue?id=
2054431.
Change-Id: Ic5fcd763e448b3bdc02de5d2a40d418ef25d39f9
Android (Google) Code Review [Mon, 7 Sep 2009 11:40:06 +0000 (04:40 -0700)]
Merge change 23972 into eclair
* changes:
Fixes Geolocation to correctly handle infinite values for PositionOptions properties.
Grace Kloba [Fri, 4 Sep 2009 23:30:32 +0000 (16:30 -0700)]
Handle another old style meta tag, MobileOptimized. Also if the sites set
the width for the viewport to be less than 320, just use device-width.
Fix http://b/issue?id=
2098078
Steve Block [Wed, 2 Sep 2009 17:13:59 +0000 (18:13 +0100)]
Fixes Geolocation to correctly handle infinite values for PositionOptions properties.
This fixes http://b/issue?id=
2094429.
Change-Id: I01cc5107d4a96840e35cc403161d50dbdf6a1ca2
Android (Google) Code Review [Fri, 4 Sep 2009 16:57:00 +0000 (09:57 -0700)]
Merge change 23971 into eclair
* changes:
Adds V8 bindings for optional properties of Geolocation Coordinates object.
Android (Google) Code Review [Fri, 4 Sep 2009 16:54:34 +0000 (09:54 -0700)]
Merge change 23969 into eclair
* changes:
Updates MockGeolocationService to call back to the Geolocation object only when active.
Steve Block [Thu, 3 Sep 2009 12:15:33 +0000 (13:15 +0100)]
Adds V8 bindings for optional properties of Geolocation Coordinates object.
This fixes http://b/issue?id=
2049677.
Steve Block [Wed, 2 Sep 2009 15:41:24 +0000 (16:41 +0100)]
Updates MockGeolocationService to call back to the Geolocation object only when active.
Android (Google) Code Review [Fri, 4 Sep 2009 16:26:48 +0000 (09:26 -0700)]
Merge change 23957 into eclair
* changes:
Fix Geolocation to correctly handle reentrant calls from callbacks.
Steve Block [Wed, 2 Sep 2009 15:17:41 +0000 (16:17 +0100)]
Fix Geolocation to correctly handle reentrant calls from callbacks.
This fixes http://b/issue?id=
2094823.
Android (Google) Code Review [Fri, 4 Sep 2009 13:56:46 +0000 (06:56 -0700)]
Merge change 23954 into eclair
* changes:
Makes Geolocation error callback asynchronous when service fails to start.
Steve Block [Tue, 25 Aug 2009 11:13:41 +0000 (12:13 +0100)]
Makes Geolocation error callback asynchronous when service fails to start.
This fixes http://b/issue?id=
2054361.
Change-Id: I83ff2618fb49bb126c7cd4c318914c6a0c68d69d
Android (Google) Code Review [Fri, 4 Sep 2009 13:23:50 +0000 (06:23 -0700)]
Merge change 23829 into eclair
* changes:
Refactors Geolocation to avoid duplication in getCurrentPosition and watchPosition.
Android (Google) Code Review [Fri, 4 Sep 2009 11:13:00 +0000 (04:13 -0700)]
Merge change 23625 into eclair
* changes:
Fix the DOM storage layout tests when running with V8. Change the custom bindings to ignore requests for the length attribute and update the event handling code to create Storage Events properly.
Andrei Popescu [Thu, 3 Sep 2009 19:37:48 +0000 (20:37 +0100)]
Allow 0 to be passed for the nativePointerParameter to nativeAddJavaScriptInterface. When 0, we add the iface to the top level frame.
Cary Clark [Thu, 3 Sep 2009 20:05:35 +0000 (16:05 -0400)]
start in the proper subframe when finding the next text field
fixes http://b/issue?id=
2048180
Steve Block [Tue, 25 Aug 2009 11:10:30 +0000 (12:10 +0100)]
Refactors Geolocation to avoid duplication in getCurrentPosition and watchPosition.
This change is being submitted to WebKit as part of https://bugs.webkit.org/show_bug.cgi?id=27944.
Android (Google) Code Review [Thu, 3 Sep 2009 17:19:37 +0000 (10:19 -0700)]
Merge change 23630 into eclair
* changes:
Brings Mock Geolocation service up to date with latest submission to WebKit.
Grace Kloba [Wed, 2 Sep 2009 23:20:34 +0000 (16:20 -0700)]
Get the drawable directory from Java for the platform buttons.
Fix http://b/issue?id=
2086818
Steve Block [Wed, 2 Sep 2009 15:50:51 +0000 (16:50 +0100)]
Brings Mock Geolocation service up to date with latest submission to WebKit.
See https://bugs.webkit.org/show_bug.cgi?id=28264.
Ben Murdoch [Wed, 2 Sep 2009 15:31:46 +0000 (16:31 +0100)]
Fix the DOM storage layout tests when running with V8. Change the custom bindings to ignore requests for the length attribute and update the event handling code to create Storage Events properly.
Android (Google) Code Review [Wed, 2 Sep 2009 11:59:24 +0000 (04:59 -0700)]
Merge change 22906 into eclair
* changes:
Add functionality to V8 bindings for SQLTransaction to allow array-like objects to be passed as the second parameter to executeSql(), and ensure exceptions are thrown in the right places.
Ben Murdoch [Wed, 26 Aug 2009 11:42:59 +0000 (12:42 +0100)]
Add functionality to V8 bindings for SQLTransaction to allow array-like objects to be passed as the second parameter to executeSql(), and ensure exceptions are thrown in the right places.
Android (Google) Code Review [Wed, 2 Sep 2009 09:52:12 +0000 (02:52 -0700)]
Merge change 23614 into eclair
* changes:
Enables Geolocation for V8.
Grace Kloba [Tue, 1 Sep 2009 21:03:38 +0000 (14:03 -0700)]
Add .gitignore for WebKit build directories.
Android (Google) Code Review [Tue, 1 Sep 2009 17:55:34 +0000 (10:55 -0700)]
Merge change 22913 into eclair
* changes:
Adds V8 bindings for Geolocation.
Steve Block [Tue, 1 Sep 2009 15:17:34 +0000 (16:17 +0100)]
Enables Geolocation for V8.
Steve Block [Wed, 26 Aug 2009 13:17:52 +0000 (14:17 +0100)]
Adds V8 bindings for Geolocation.
Android (Google) Code Review [Tue, 1 Sep 2009 13:58:36 +0000 (06:58 -0700)]
Merge change 23350 into eclair
* changes:
Update the browser's references to the latest images.
Leon Scroggins [Mon, 31 Aug 2009 22:49:41 +0000 (18:49 -0400)]
Update the browser's references to the latest images.
The browser directly references the names of the asset
files it uses to draw buttons, checkboxes, and radio
buttons. Update the names to correspond to the latest
assets. Fixes issue http://b/issue?id=
2086818
Change-Id: Iac8d8762252707e21a88e65ba44de24a5fa2f869
Ben Murdoch [Tue, 1 Sep 2009 12:22:31 +0000 (13:22 +0100)]
Fix a bug where the V8 bindings for SQLStatement error callbacks would not return the correct result to WebCore.
BUG:
2053072
Android (Google) Code Review [Tue, 1 Sep 2009 09:23:20 +0000 (02:23 -0700)]
Merge change 23087 into eclair
* changes:
Update V8 bindings to report exceptions thrown from callbacks.
Android (Google) Code Review [Mon, 31 Aug 2009 18:37:31 +0000 (11:37 -0700)]
Merge change 23308 into eclair
* changes:
change our hasCurrentPoint() to call skia's getPoints() instead of isEmpty(), as the latter returns true even if moveTo() has already been called on it, and webkit wants to treat that as non-empty.
Mike Reed [Mon, 31 Aug 2009 18:25:39 +0000 (14:25 -0400)]
change our hasCurrentPoint() to call skia's getPoints() instead of isEmpty(), as the latter
returns true even if moveTo() has already been called on it, and webkit wants to treat that
as non-empty.
Android (Google) Code Review [Mon, 31 Aug 2009 16:51:37 +0000 (09:51 -0700)]
Merge change 23292 into eclair
* changes:
save and restore the transparent fill when drawing replaced images
Cary Clark [Mon, 31 Aug 2009 15:54:03 +0000 (11:54 -0400)]
save and restore the transparent fill when drawing replaced images
If an image node is incomplete, RenderImage::paintReplaced is triggered.
A thin frame with a transparent center sets but does not restore the
fill to transparent. Our graphics state draws transparent bitmaps until
the state gets set back to opaque.
I haven't figured out why Safari doesn't demonstrate this same bug, but
in some webkit code, the state is saved and restored around making the
fill transparent. Adding that save()/restore() pair fixes our bug as
well. But, it may be that our platform should be setting the fill
state before drawing the bitmap and is failing to do so.
This fixes http://b/issue?id=
2052757
Grace Kloba [Fri, 28 Aug 2009 23:29:07 +0000 (16:29 -0700)]
Fix the crash with sites having youtube video. It doesn't crash while loading.
It crashes when you leave the site.
frame->view() returns m_view.get(). So we don't want to call adoptRef which
will cause a deref.
I verified that when you leave the page, the new widget is removed.
Cary Clark [Thu, 27 Aug 2009 19:38:27 +0000 (15:38 -0400)]
don't layout when setting size from zoom if only height changed
(companion change in framework/base)
Add a boolean parameter to WebViewCore.java nativeSizeSize().
If set, only layout if the width has also changed.
If clear, layout if the height alone has changed.
Android (Google) Code Review [Fri, 28 Aug 2009 16:15:07 +0000 (09:15 -0700)]
Merge change 23094 into eclair
* changes:
Update V8 to 2780 to fix a crash and pick up some ARM optimizations
Android (Google) Code Review [Fri, 28 Aug 2009 16:12:53 +0000 (09:12 -0700)]
Merge change 23075 into eclair
* changes:
We lost ontouchxxx with the new WK. Bring them back.
Cary Clark [Fri, 28 Aug 2009 15:38:44 +0000 (11:38 -0400)]
fix webkit build by rearranging assert.
Android (Google) Code Review [Fri, 28 Aug 2009 15:11:54 +0000 (08:11 -0700)]
Merge change 23100 into eclair
* changes:
Fix OSX build by changing the PositionError.h role to private
Andrei Popescu [Fri, 28 Aug 2009 15:03:01 +0000 (16:03 +0100)]
Fix OSX build by changing the PositionError.h role to private
Android (Google) Code Review [Fri, 28 Aug 2009 13:48:37 +0000 (06:48 -0700)]
Merge change 23092 into eclair
* changes:
Fix crash in fast/canvas/canvas-empty-image-pattern.html
Andrei Popescu [Fri, 28 Aug 2009 12:52:10 +0000 (13:52 +0100)]
Fix crash in fast/canvas/canvas-empty-image-pattern.html
Mike Reed [Fri, 28 Aug 2009 12:24:37 +0000 (08:24 -0400)]
update dox. no code change
Ben Murdoch [Fri, 28 Aug 2009 12:10:33 +0000 (13:10 +0100)]
Update V8 bindings to report exceptions thrown from callbacks.
Andrei Popescu [Fri, 28 Aug 2009 11:56:47 +0000 (12:56 +0100)]
Update V8 to 2780 to fix a crash and pick up some ARM optimizations
Grace Kloba [Fri, 28 Aug 2009 06:42:26 +0000 (23:42 -0700)]
We lost ontouchxxx with the new WK. Bring them back.
Android (Google) Code Review [Thu, 27 Aug 2009 16:59:39 +0000 (09:59 -0700)]
Merge changes 22903,22905 into eclair
* changes:
Use v8::V8::LowMemoryNotification() instead of the non-really-existibg v8::V8::CollectAllGarbage()
Update V8 to 2725 to pick up Thread Termination and Low Memory Notification APIs
Andrei Popescu [Thu, 27 Aug 2009 15:38:57 +0000 (16:38 +0100)]
Use v8::V8::LowMemoryNotification() instead of the non-really-existibg v8::V8::CollectAllGarbage()
Andrei Popescu [Thu, 27 Aug 2009 15:16:05 +0000 (16:16 +0100)]
Update V8 to 2725 to pick up Thread Termination and Low Memory Notification APIs
Android (Google) Code Review [Thu, 27 Aug 2009 15:08:25 +0000 (08:08 -0700)]
Merge change 22454 into eclair
* changes:
Adds a method to allow Geolocation permissions for an origin.
Cary Clark [Wed, 26 Aug 2009 17:59:18 +0000 (13:59 -0400)]
when finding left edge of text block, don't merge in tall bitmap
Zooming in to yahoo.com fails sometimes if the block of text has
a large bitmap on the left. This change prevents the bitmap from
being seen as a part of the text paragraph.
Also, cleaned up the debugging statements.
Fixes http://b/issue?id=
2066236
Ben Murdoch [Tue, 25 Aug 2009 18:31:29 +0000 (19:31 +0100)]
Pass the estimated size of new databases to the Java implementation so that that figure can be used to establish an initial quota for origins.
Change-Id:Ife96fb4fecee1974a36ceb1432a75f3ef164084b
Steve Block [Fri, 21 Aug 2009 09:56:56 +0000 (10:56 +0100)]
Adds a method to allow Geolocation permissions for an origin.
Android (Google) Code Review [Tue, 25 Aug 2009 16:05:23 +0000 (09:05 -0700)]
Merge change 22590 into eclair
* changes:
fix address detection when the city and state are both valid states
Cary Clark [Tue, 25 Aug 2009 15:38:47 +0000 (11:38 -0400)]
fix address detection when the city and state are both valid states
This fixes detecting "4 E. 86th St New York, NY"
The old logic found 'New York' and assumed that St was the city
name. Since 86th is not a valid street suffix, the test failed.
The new logic looks for a valid street suffix instead of skipping
'city'. If it finds one, and the subsequent street suffix test
fails, it resets to search again for a valid state name while
retaining the starting point for the address (the street number).
Fixing this exposed a bug in the zip code detection code
where it dropped the first character of the actual state name.
Cary Clark [Tue, 25 Aug 2009 14:46:28 +0000 (10:46 -0400)]
fix a couple of debug print errors
Derek Sollenberger [Tue, 25 Aug 2009 13:47:47 +0000 (09:47 -0400)]
modifying how onLoad events are sent to plugins to properly handle IFrames.
Change-Id: I634ae9c2e18e03c95dff435679f547d37c6f430e
Android (Google) Code Review [Mon, 24 Aug 2009 18:35:30 +0000 (11:35 -0700)]
Merge change 22459 into eclair
* changes:
Fixes build due in GeolocationPermissions.
Steve Block [Mon, 24 Aug 2009 18:29:28 +0000 (19:29 +0100)]
Fixes build due in GeolocationPermissions.
Android (Google) Code Review [Mon, 24 Aug 2009 17:56:23 +0000 (10:56 -0700)]
Merge change 22442 into eclair
* changes:
WebKit changes to persist Geolocation permissions between browser sessions.
Steve Block [Fri, 21 Aug 2009 12:15:04 +0000 (13:15 +0100)]
WebKit changes to persist Geolocation permissions between browser sessions.
This fixes bug http://b/issue?id=
2054365.
Android (Google) Code Review [Mon, 24 Aug 2009 15:44:43 +0000 (08:44 -0700)]
Merge change 22374 into eclair
* changes:
Fix the paragraph is not wrapping with the new WK problem.
Steve Block [Mon, 24 Aug 2009 10:51:12 +0000 (11:51 +0100)]
Fixes build breakage due to missing GeolocationPermissions header.
Grace Kloba [Sat, 22 Aug 2009 01:18:26 +0000 (18:18 -0700)]
Fix the paragraph is not wrapping with the new WK problem.
Copy the change from bidi.cpp to RenerBlockLineLayout.cpp as the file is renamed.
Steve Block [Fri, 21 Aug 2009 09:49:02 +0000 (10:49 +0100)]
Adds WebKit-side of logic to make Geolocation obey Browser 'Enagle Location' setting.
This fixes bug http://b/issue?id=
2067559.
Feng Qian [Thu, 20 Aug 2009 21:04:00 +0000 (14:04 -0700)]
Add TouchEvent check.
It is left out by the last webkit merge.
Andrei Popescu [Thu, 20 Aug 2009 17:17:16 +0000 (18:17 +0100)]
Fix Layout test crash in V8 bindings to AppCache
Android (Google) Code Review [Thu, 20 Aug 2009 16:01:57 +0000 (09:01 -0700)]
Merge change 22074 into eclair
* changes:
Fix some typos when WEBCORE_INSTRUMENTATION is on.
Feng Qian [Thu, 20 Aug 2009 15:51:55 +0000 (08:51 -0700)]
Fix some typos when WEBCORE_INSTRUMENTATION is on.
Andrei Popescu [Thu, 20 Aug 2009 14:56:06 +0000 (15:56 +0100)]
Fix a bunch of layout test crashes
Andrei Popescu [Thu, 20 Aug 2009 11:01:05 +0000 (12:01 +0100)]
Merge commit 'goog/master-webkit-merge' into eclair-merge
Andrei Popescu [Thu, 20 Aug 2009 10:50:41 +0000 (11:50 +0100)]
Update WK revision file
Andrei Popescu [Thu, 20 Aug 2009 10:17:03 +0000 (11:17 +0100)]
Merge commit 'goog/master' into merge
Steve Block [Wed, 19 Aug 2009 23:52:05 +0000 (16:52 -0700)]
am
47977026: am
666ce907: Update MockGeolocationService to avoid the use of static initializers with constructors, as required by WebKit.
Merge commit '
479770261d0fb027520bd4a72cf23201fd56d293'
* commit '
479770261d0fb027520bd4a72cf23201fd56d293':
Update MockGeolocationService to avoid the use of static initializers with constructors, as required by WebKit.
Steve Block [Wed, 19 Aug 2009 23:46:32 +0000 (16:46 -0700)]
am
666ce907: Update MockGeolocationService to avoid the use of static initializers with constructors, as required by WebKit.
Merge commit '
666ce90734aced48a6dbbce4b87ae20b6f32d065' into eclair-plus-aosp
* commit '
666ce90734aced48a6dbbce4b87ae20b6f32d065':
Update MockGeolocationService to avoid the use of static initializers with constructors, as required by WebKit.
Steve Block [Tue, 18 Aug 2009 14:56:54 +0000 (15:56 +0100)]
Update MockGeolocationService to avoid the use of static initializers with constructors, as required by WebKit.
Andrei Popescu [Wed, 19 Aug 2009 17:23:07 +0000 (18:23 +0100)]
Merge commit 'goog/master' into merge
Andrei Popescu [Wed, 19 Aug 2009 17:07:37 +0000 (18:07 +0100)]
fix JSC support.
Andrei Popescu [Wed, 19 Aug 2009 13:09:30 +0000 (14:09 +0100)]
Revert "Merge WebKit r47420"
This reverts commit
d227fc870c7a697500a3c900c31baf05fb9a8524.
Andrei Popescu [Wed, 19 Aug 2009 13:09:08 +0000 (14:09 +0100)]
Revert "Compilation and link error fixes for new webkit r47420."
This reverts commit
632f4508222c2a617e6820e9388867c0f4821db8.
Andrei Popescu [Wed, 19 Aug 2009 13:08:46 +0000 (14:08 +0100)]
Revert "Start fixing JSC compile errors for new webkit."
This reverts commit
62983d46fda85f4d912c221e5cbc91a05d4edebf.
Andrei Popescu [Wed, 19 Aug 2009 13:08:17 +0000 (14:08 +0100)]
Revert "Continue with JSC errors."
This reverts commit
76de9f7763de0e4568056a5a26c93030f21e0b90.
Ben Murdoch [Wed, 19 Aug 2009 11:15:58 +0000 (12:15 +0100)]
Continue with JSC errors.
Ben Murdoch [Wed, 19 Aug 2009 10:43:56 +0000 (11:43 +0100)]
Start fixing JSC compile errors for new webkit.
Ben Murdoch [Tue, 18 Aug 2009 18:15:12 +0000 (19:15 +0100)]
Compilation and link error fixes for new webkit r47420.
Jack Palevich [Tue, 18 Aug 2009 19:10:08 +0000 (12:10 -0700)]
am
f4c57502: am
d2b4b46e: Merge change 21746 into eclair
Merge commit '
f4c575025539df7a22801394dac8ef1af891a8ff'
* commit '
f4c575025539df7a22801394dac8ef1af891a8ff':
Fix errors when compiled under g++ 4.4.1 on Ubuntu 9.10a4
Jack Palevich [Tue, 18 Aug 2009 18:32:39 +0000 (11:32 -0700)]
am
d2b4b46e: Merge change 21746 into eclair
Merge commit '
d2b4b46e864b9002fee625c0a6c65955e4f4d92c' into eclair-plus-aosp
* commit '
d2b4b46e864b9002fee625c0a6c65955e4f4d92c':
Fix errors when compiled under g++ 4.4.1 on Ubuntu 9.10a4
Android (Google) Code Review [Tue, 18 Aug 2009 18:30:00 +0000 (11:30 -0700)]
Merge change 21746 into eclair
* changes:
Fix errors when compiled under g++ 4.4.1 on Ubuntu 9.10a4
Ben Murdoch [Tue, 18 Aug 2009 14:36:45 +0000 (15:36 +0100)]
Merge WebKit r47420
Jack Palevich [Tue, 18 Aug 2009 18:17:20 +0000 (11:17 -0700)]
Fix errors when compiled under g++ 4.4.1 on Ubuntu 9.10a4
This environment ends up using the C++ version of strrchr rather than the
C version. Apparently older environments use the C version of strrchr.
I'm guessing the change is due to one of the standard C++ header files
changing so that includes the new C++ version of strrchr.
The difference is that the C version of strrchr is:
char* strrchr(const char*, char);
while the C++ version of strrchr is overloaded:
const char* strrchr(const char*, char);
char* strrchr(char*, char);
This code depended on the C version to convert a const char* pointer into
a non-const char* pointer.
The fix is to change the code to work with a const char* result, and if
that is not possible, manually insert a hard cast of the return value.