OSDN Git Service
Android (Google) Code Review [Fri, 25 Sep 2009 20:39:27 +0000 (16:39 -0400)]
Merge change 27080 into eclair
* changes:
When detach the top Document, clean up the touch listeners and reset needTouchEvents.
Mike Reed [Fri, 25 Sep 2009 18:45:42 +0000 (14:45 -0400)]
fix cracks when we draw the page in portions (i.e. a picture set)
When we record/draw the DOM N times (for speed), webkit sees what we're doing in certain places,
and sends us different rectangle coordinates. These were all being antialiased (by default).
However, when we are also zoomed, the rects now fall on fractional coordinates, and with aa,
we will double-draw the edges where those rects should have seamed.
The fix is to disable antialiasing for a class of rects that we record from webkit. We are probably
disabling for more cases than is necessary for the current bug, but knowing which ones are
"required" is tricky, and there (as yet) seems to be no down-side, since we never draw the page
rotated at a funny angle (where the rect edge would look jaggie).
http://b/issue?id=
2132971&cookieId=
2009268114917835
http://b/issue?id=
2127763&cookieId=
2009268114931860
Grace Kloba [Fri, 25 Sep 2009 18:42:53 +0000 (11:42 -0700)]
When detach the top Document, clean up the touch listeners and reset
needTouchEvents.
Fix http://b/issue?id=
2145333
Android (Google) Code Review [Fri, 25 Sep 2009 17:00:04 +0000 (13:00 -0400)]
Merge change 27041 into eclair
* changes:
disable antialiasing for bitmaps
Mike Reed [Fri, 25 Sep 2009 16:02:27 +0000 (12:02 -0400)]
disable antialiasing for bitmaps
Since we are never rotated, and when we are zoomed, the
antialiasing can double-draw the shared border for images that are meant to seam (ala nine-patch)
http://b/issue?id=
2105990&cookieId=
2009268085657820
Cary Clark [Fri, 25 Sep 2009 13:47:59 +0000 (09:47 -0400)]
don't short-circuit if the text selection has changed
The webkit picture is rebuilt pretty often -- for performance,
the nav cache is built less often, only when the dom version changes.
Additionally, it's rebuilt when the focus changes or moves. Add
a condition so that it is also rebuilt if the focus selection changes.
fixes http://b/issue?id=
2096746
Leon Clarke [Thu, 24 Sep 2009 14:32:59 +0000 (15:32 +0100)]
Colorizing clicked-on links
Following review comments
Following review comments
Patrick Scott [Thu, 24 Sep 2009 14:54:01 +0000 (10:54 -0400)]
Add ANDROID_USER_GESTURE back to WebCore.
We only care about the user gesture during a location change. Add the
m_userGesture field to our ResourceRequest and check the value in
canHandleRequest. This could be cleaner if WebCore passed around the
ResourceRequest rather than constructing a new one.
Grace Kloba [Thu, 24 Sep 2009 00:31:16 +0000 (17:31 -0700)]
When mouse down or plugin handles touch down, set the plugin
to be the focus of the document so that it can receive key
events. This has the same logic as in PluginViewMac.cpp's
handleMouseEvent().
Leon Scroggins [Wed, 23 Sep 2009 21:18:03 +0000 (17:18 -0400)]
Whether or not a textfield is the last or only, make its action GO.
Fix for http://b/issue?id=
2136097
Change-Id: I8ca00498dd5a8d611bc0de5a941faaf596d9f76d
Cary Clark [Wed, 23 Sep 2009 18:04:57 +0000 (14:04 -0400)]
hardcode the correct ninepatch margins for the button skin
The button is drawn using hardcoded margins that look fine
on a g1. The highres resource has different margins. Changing
the margins alone isn't enough; this also moves the button down
by two pixels to center it better.
Neither the hardcoded margin change nor the offset are
good long-term changes, but they allow us to get by for now.
Marked both with FIXME so we can address this issue by
reading the data directly out of the png, and diagnose why
the button is drawn too high.
fixes http://b/issue?id=
2107422
Derek Sollenberger [Tue, 22 Sep 2009 18:59:46 +0000 (14:59 -0400)]
adding API to enable plugins to request full screen mode
Change-Id: Ib3373af6ff127399d1d0846ba30a4275da5b3133
Patrick Scott [Fri, 18 Sep 2009 20:28:07 +0000 (16:28 -0400)]
Add apple-touch-icon-precomposed processing.
Send up a boolean to indicate if the touch icon url is precomposed.
Grace Kloba [Sun, 20 Sep 2009 23:34:19 +0000 (16:34 -0700)]
Add dpi support for WebView.
In the "viewport" meta tag, you can specify "target-densityDpi".
If it is not specified, it uses the default, 160dpi as of today.
Then the 1.0 scale factor specified in the viewport tag means 100%
on G1 and 150% on Sholes. If you set "target-densityDpi" to
"device-dpi", then the 1.0 scale factor means 100% on both G1 and Sholes.
Implemented Safari's window.devicePixelRatio and css media query
device-pixel-ratio.
So if you use "device-dpi" and modify the css for font-size and image
src depending on window.devicePixelRatio, you can get a better page on
Sholes/Passion.
Here is a list of options for "target-densityDpi".
device-dpi: Use the device's native dpi as target dpi.
low-dpi: 120dpi
medium-dpi: 160dpi, which is also the default as of today
high-dpi: 240dpi
<number>: We take any number between 70 and 400 as a valid target dpi.
Fix http://b/issue?id=
2071943
Derek Sollenberger [Mon, 21 Sep 2009 13:13:10 +0000 (09:13 -0400)]
renaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent calls
Change-Id: I7881e711af7ec905e5c120e8e2fd4b0b7ba5e840
Derek Sollenberger [Mon, 21 Sep 2009 12:14:52 +0000 (08:14 -0400)]
cleaning up old surface view API's
Change-Id: I333c2eebff22df1a56099fad7d8ec366627f4e22
Android (Google) Code Review [Thu, 17 Sep 2009 20:04:21 +0000 (16:04 -0400)]
Merge change 25547 into eclair
* changes:
bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and therefore we should only trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory pressure is not so bad. This happens to also fix google reader site, which sends down large (but not giant) index images but doesn't trigger our drawBitmapRect() code.
Mike Reed [Thu, 17 Sep 2009 19:57:58 +0000 (15:57 -0400)]
bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and therefore we should only
trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory
pressure is not so bad. This happens to also fix google reader site, which sends down large (but not
giant) index images but doesn't trigger our drawBitmapRect() code.
Andrei Popescu [Thu, 17 Sep 2009 14:55:39 +0000 (15:55 +0100)]
Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate
Andrei Popescu [Tue, 15 Sep 2009 12:09:27 +0000 (13:09 +0100)]
Add poster support and other fixes
Android (Google) Code Review [Thu, 17 Sep 2009 09:47:21 +0000 (05:47 -0400)]
Merge change 25316 into eclair
* changes:
Enable Channgel Messaging for workers.
Ben Murdoch [Wed, 16 Sep 2009 18:57:24 +0000 (19:57 +0100)]
Enable Channgel Messaging for workers.
Change-Id: Iae69d02802dbe3d62e8d36753a8bed0ff9883db8
Android (Google) Code Review [Wed, 16 Sep 2009 17:22:39 +0000 (13:22 -0400)]
Merge change 25135 into eclair
* changes:
For TouchEventEnd, touches and targetTouches are empty list.
Derek Sollenberger [Tue, 8 Sep 2009 22:33:06 +0000 (18:33 -0400)]
First pass at replacing native plugin views with java.
Change-Id: I637275c9766202a4358ef25af01ee92c85c48e7f
Grace Kloba [Tue, 15 Sep 2009 21:16:02 +0000 (14:16 -0700)]
For TouchEventEnd, touches and targetTouches are empty list.
Fix http://b/issue?id=
1905451
Cary Clark [Tue, 15 Sep 2009 14:13:21 +0000 (10:13 -0400)]
fix parent index of focus when building nav cache
When a focused node is found while walking the DOM, the
CachedFrame tree doesn't have its parent pointer set.
Fix the focus index in the parent when fixing the parent pointer.
Also fix a debug statement so that it doesn't depend on
the focus parent.
Fixes http://b/issue?id=
2048186
Grace Kloba [Fri, 11 Sep 2009 18:32:27 +0000 (11:32 -0700)]
Add more null checking to avoid the crash.
Android (Google) Code Review [Fri, 11 Sep 2009 00:39:28 +0000 (20:39 -0400)]
Merge change 24624 into eclair
* changes:
Fix the include files from the last WebKit merge. If there is Android version, we should not include None version. This should fix plugin loading, bookmark icon problems.
Grace Kloba [Fri, 11 Sep 2009 00:38:20 +0000 (17:38 -0700)]
Fix the include files from the last WebKit merge. If there is Android version,
we should not include None version. This should fix plugin loading, bookmark
icon problems.
Cary Clark [Thu, 10 Sep 2009 17:30:19 +0000 (13:30 -0400)]
allow mixed-case schemes in resource URLs
Adjust the scheme to all lower case before looking up the
resource if the original was not already lower case.
This fixes http://b/
2056348
Steve Block [Thu, 10 Sep 2009 13:40:55 +0000 (14:40 +0100)]
Removes Geolocation Geoposition.toString and Coordinates.toString.
This fixes http://b/issue?id=
2103855.
Change-Id: I1811d97c59e0458a94347c8a63b4d1c0541dfaf7
Android (Google) Code Review [Wed, 9 Sep 2009 15:54:37 +0000 (11:54 -0400)]
Merge change 24297 into eclair
* changes:
Move mobile doctype check from HTMLDocument to Document so that it will cover xhtml case like http://us.m1.yahoo.com.
Android (Google) Code Review [Wed, 9 Sep 2009 12:37:31 +0000 (05:37 -0700)]
Merge change 24338 into eclair
* changes:
Fix for
2106269
Andrei Popescu [Wed, 9 Sep 2009 12:35:07 +0000 (13:35 +0100)]
Grace Kloba [Wed, 9 Sep 2009 01:51:19 +0000 (18:51 -0700)]
Move mobile doctype check from HTMLDocument to Document so that it will cover xhtml case like us.m1.yahoo.com.
Fix http://b/issue?id=
2102284
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.