OSDN Git Service
Mike Reed [Fri, 31 Jul 2009 14:57:55 +0000 (10:57 -0400)]
expose getFontPath to plugins
Grace Kloba [Thu, 30 Jul 2009 01:37:07 +0000 (18:37 -0700)]
Remove snapToAnchor as it is not used any more.
Steve Block [Wed, 29 Jul 2009 15:21:14 +0000 (16:21 +0100)]
Adds a mock GeolocationService.
This is being submitted to WebKit in bug 27716.
Android (Google) Code Review [Thu, 30 Jul 2009 15:35:35 +0000 (08:35 -0700)]
Merge change 9149
* changes:
Fix a bug in the ChromeClientAndroid where the m_newQuota was set to -1 after the call to the browser thread was made.
Android (Google) Code Review [Thu, 30 Jul 2009 15:27:32 +0000 (08:27 -0700)]
Merge change 9143
* changes:
Adds the C++ side of the system to show the Geolocation permissions prompt.
Andrei Popescu [Thu, 30 Jul 2009 13:15:29 +0000 (14:15 +0100)]
Fix a bug in the ChromeClientAndroid where the m_newQuota was set to -1 after the call to the browser thread was made.
Patrick Scott [Thu, 30 Jul 2009 12:25:20 +0000 (08:25 -0400)]
Implement our own parallel connection count initialization.
Use 20 since we have 4 connection threads that can pipeline up to 5 requests per
thread.
Steve Block [Thu, 30 Jul 2009 12:14:46 +0000 (13:14 +0100)]
Adds the C++ side of the system to show the Geolocation permissions prompt.
Steve Block [Tue, 28 Jul 2009 17:14:26 +0000 (18:14 +0100)]
Adds GeolocationPermissionsBridge.
Patrick Scott [Tue, 28 Jul 2009 19:24:16 +0000 (15:24 -0400)]
Remove the WebIconDatabase thread attachment since ThreadingPthreads does it.
Also, delete threadData if pthread_create fails. This is a rare occurance but we
don't want to leak memory just in case.
Steve Block [Wed, 29 Jul 2009 12:19:14 +0000 (13:19 +0100)]
Fixes build bustage due to GeolocationPermissions.
Steve Block [Mon, 27 Jul 2009 16:37:18 +0000 (17:37 +0100)]
Adds a GeolocationPermissions class.
Andrei Popescu [Tue, 28 Jul 2009 12:39:20 +0000 (13:39 +0100)]
wire in the AppCache out-of-space callback
Patrick Scott [Tue, 28 Jul 2009 21:24:14 +0000 (14:24 -0700)]
Grace Kloba [Tue, 28 Jul 2009 20:12:34 +0000 (13:12 -0700)]
Support double tap in the Browser.
Add api to get the left edge of the block from the current (x,y). The code
was copied from Cary's change.
Todo:
1.need some tuning as we can see from nytimes.com that some times the left
edge is not correct.
2.currently nav cache is not up to date while loading. This means the left
edge may not be correct during loading.
3.if (x,y) is over an edit text box, or image, it should return the left
edge of it. Currently it is not working as expected.
Added the code to store the extra scale factor, so that back/forward history
works correctly.
Android (Google) Code Review [Tue, 28 Jul 2009 20:08:05 +0000 (13:08 -0700)]
Merge change 7883
* changes:
Find left edge of column using nav cache data.
Cary Clark [Mon, 20 Jul 2009 15:48:58 +0000 (11:48 -0400)]
Find left edge of column using nav cache data.
The function is currently unused, but will be used by
Grace's double-tap experiment.
Patrick Scott [Tue, 28 Jul 2009 18:44:16 +0000 (14:44 -0400)]
Do not merge.
This will attach and detach the native thread to and from the java vm. I believe
this was the cause of a crash in donut. Sometimes, the IconDatabase needs to
notify the WebCore thread of a new Icon. These callbacks post messages through
the vm which causes AttachCurrentThread to be called but no matching
DetachCurrentThread when the thread exits.
Bug:
1977972
Android (Google) Code Review [Tue, 28 Jul 2009 18:48:48 +0000 (11:48 -0700)]
Merge change 8820
* changes:
fixing plugin event handling for touch to return the correct value.
Derek Sollenberger [Tue, 28 Jul 2009 18:08:20 +0000 (14:08 -0400)]
fixing plugin event handling for touch to return the correct value.
Steve Block [Mon, 27 Jul 2009 18:01:59 +0000 (19:01 +0100)]
Exposes Geolocation at navigator.geolocation for JSC only.
Android (Google) Code Review [Mon, 27 Jul 2009 17:18:08 +0000 (10:18 -0700)]
Merge change 8658
* changes:
Fixes missing comment change from change 8490.
Android (Google) Code Review [Mon, 27 Jul 2009 16:57:48 +0000 (09:57 -0700)]
Merge change 8638
* changes:
explictly specify hinting (new api)
Steve Block [Fri, 24 Jul 2009 15:07:26 +0000 (16:07 +0100)]
Fixes missing comment change from change 8490.
Steve Block [Fri, 24 Jul 2009 12:53:49 +0000 (13:53 +0100)]
Enables Geolocation on Android.
Android (Google) Code Review [Mon, 27 Jul 2009 10:58:38 +0000 (03:58 -0700)]
Merge change 8498
* changes:
Fixes WebKit Geolocation bug 27255.
Jean-Baptiste Queru [Sun, 26 Jul 2009 18:43:55 +0000 (11:43 -0700)]
reconcile korg/master into goog/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:02 +0000 (17:48 -0700)]
Merge korg/donut into korg/master
Mike Reed [Fri, 24 Jul 2009 19:57:12 +0000 (15:57 -0400)]
explictly specify hinting (new api)
Steve Block [Fri, 24 Jul 2009 12:59:28 +0000 (13:59 +0100)]
Fixes WebKit Geolocation bug 27255.
We should not call the error callback if the success callback raises an exception.
This is currently being submitted to WebKit as bug 27255.
Android (Google) Code Review [Fri, 24 Jul 2009 14:38:15 +0000 (07:38 -0700)]
Merge changes 8489,8490
* changes:
Android specifics for 'Removes uneccessary IDL files for Geolocation permissions'.
Removes uneccessary IDL files for Geolocation callbacks.
Steve Block [Thu, 23 Jul 2009 14:36:21 +0000 (15:36 +0100)]
Android specifics for 'Removes uneccessary IDL files for Geolocation permissions'.
Steve Block [Thu, 23 Jul 2009 14:21:17 +0000 (15:21 +0100)]
Removes uneccessary IDL files for Geolocation callbacks.
This change is currently being submitted to WebKit as bug 27250.
Android (Google) Code Review [Thu, 23 Jul 2009 21:15:33 +0000 (14:15 -0700)]
Merge change 8389
* changes:
Clear the WebTextView when clicking on another node.
Leon Scroggins [Thu, 23 Jul 2009 20:42:07 +0000 (16:42 -0400)]
Clear the WebTextView when clicking on another node.
We already cleared it in the above case, when the
user clicks on empty space. If the user clicks
on a node, and it is not a text input, clear it.
This fixes a bug on the Google home page, where
the user has typed into the textfield, but then
clicks on "more" and is then unable to click on
Gmail, which is covered by the (invisible)
WebTextView.
Leon Scroggins [Thu, 23 Jul 2009 20:03:42 +0000 (16:03 -0400)]
Improve dragging on WebTextView.
When the WebTextView scrolls, scroll the corresponding RenderTextControl
in webkit. Requires a change in frameworks/base.
Andrei Popescu [Thu, 23 Jul 2009 18:18:55 +0000 (19:18 +0100)]
Update V8 to bleeding_edge@2524
Android (Google) Code Review [Thu, 23 Jul 2009 16:51:00 +0000 (09:51 -0700)]
Merge change 7734
* changes:
Fix issue
1795088 Improve audio routing code
Android (Google) Code Review [Thu, 23 Jul 2009 16:44:37 +0000 (09:44 -0700)]
Merge change 8191
* changes:
Enforce app cache maximum size
Cary Clark [Wed, 22 Jul 2009 18:27:28 +0000 (11:27 -0700)]
am
70522f5f: adjust right edge of copy bounds if edge is not found
Merge commit '
70522f5f5fb44f2f4df7a08aa64263c619e299cb'
* commit '
70522f5f5fb44f2f4df7a08aa64263c619e299cb':
adjust right edge of copy bounds if edge is not found
Andrei Popescu [Wed, 22 Jul 2009 15:52:03 +0000 (16:52 +0100)]
Enforce app cache maximum size
Eric Laurent [Fri, 17 Jul 2009 18:26:37 +0000 (11:26 -0700)]
Fix issue
1795088 Improve audio routing code
Integrated comments after patch set 1 review.
Android (Google) Code Review [Wed, 22 Jul 2009 07:44:49 +0000 (00:44 -0700)]
Merge change 8031
* changes:
wire the appcache to the HTML5 UI
Android (Google) Code Review [Wed, 22 Jul 2009 07:44:09 +0000 (00:44 -0700)]
Merge change 8010
* changes:
Implements a mechanism that limit the growth of the application cache
Android (Google) Code Review [Wed, 22 Jul 2009 07:43:44 +0000 (00:43 -0700)]
Merge change 8009
* changes:
Add TODO(andreip) to those v8 binding files that have Android-specific modifications that may need fixing/upstreaming/etc
Feng Qian [Wed, 22 Jul 2009 04:46:21 +0000 (21:46 -0700)]
Turn on V8 by default.
This change requires clean libwebcore, but I saw there are three clean libwebcore_intermediates steps in build/cleanspec.mk already. Do I need to add another one?
Cary Clark [Tue, 21 Jul 2009 20:42:59 +0000 (16:42 -0400)]
adjust right edge of copy bounds if edge is not found
Sometimes the right edge of the copy rectangle misses the
right-most character to be copied. An earlier change over-
compensated by moving the edge boundary by 2. Now, move
the edge boundary by 1, and if that fails, try 2.
Android (Google) Code Review [Tue, 21 Jul 2009 20:29:00 +0000 (13:29 -0700)]
Merge change 8047
* changes:
Check for xml and text mime types through DOMImplementation.
Patrick Scott [Tue, 21 Jul 2009 19:44:25 +0000 (15:44 -0400)]
Fix a crash in plugins.
Patrick Scott [Tue, 21 Jul 2009 18:35:24 +0000 (14:35 -0400)]
Check for xml and text mime types through DOMImplementation.
This change in conjunction with a change in MimeTypeMap allows text extensions
to map to text/* mime types. Previously, a text mime type would be downloaded
instead of displayed if MimeTypeMap mapped a text extension to an unknown text
mime type. Use DOMImplementation to check for xml and text mime types since it
will compare the mime type to "text/"
Andrei Popescu [Tue, 21 Jul 2009 11:48:46 +0000 (12:48 +0100)]
Add TODO(andreip) to those v8 binding files that have Android-specific modifications that may need fixing/upstreaming/etc
Andrei Popescu [Tue, 21 Jul 2009 15:49:08 +0000 (16:49 +0100)]
wire the appcache to the HTML5 UI
Andrei Popescu [Tue, 21 Jul 2009 12:10:06 +0000 (13:10 +0100)]
Implements a mechanism that limit the growth of the application cache
Feng Qian [Mon, 20 Jul 2009 22:05:22 +0000 (15:05 -0700)]
Experiment a different GC policy.
Smaller promotion limit makes mark-compact GC more often, but may use less memory.
Android (Google) Code Review [Mon, 20 Jul 2009 20:13:27 +0000 (13:13 -0700)]
Merge change 7878
* changes:
removing visibleRect event and tracking rectangles instead.
Derek Sollenberger [Mon, 20 Jul 2009 13:45:56 +0000 (09:45 -0400)]
removing visibleRect event and tracking rectangles instead.
Feng Qian [Mon, 20 Jul 2009 17:22:00 +0000 (10:22 -0700)]
Experiment no GC before loading new page.
I want to check this change in to see the page load time on page cyclers.
Patrick Scott [Mon, 20 Jul 2009 15:35:23 +0000 (11:35 -0400)]
Remove format until plugins either need to know or ask to change it.
Patrick Scott [Fri, 17 Jul 2009 20:40:38 +0000 (16:40 -0400)]
Add Plugin APIs for creating and manipulating a Surface.
SurfaceCallback: An interface used to receive the surface change events. The
PluginSurface then sends those events to the actual plugin.
PluginSurface: A wrapper around the native Surface object obtained from the Java
SurfaceView. This object can lock and unlock the surface and takes care of
creating, positioning and destroying the Java SurfaceView.
Changed PluginWidgetAndroid to not use SkFlipPixelRef when the drawing model is
Surface.
Feng Qian [Sat, 18 Jul 2009 05:43:49 +0000 (22:43 -0700)]
Add indexed getter for TouchList.
http://maps.google.com/maps/m uses TouchEvent.touches[i], which requires a customized index getter.
Android (Google) Code Review [Sat, 18 Jul 2009 00:21:58 +0000 (17:21 -0700)]
Merge change 7772
* changes:
Initialize context if a frame had an empty global object.
Feng Qian [Fri, 17 Jul 2009 22:49:21 +0000 (15:49 -0700)]
Initialize context if a frame had an empty global object.
When a frame navigates to a new page, the global object is detached from its
old context. However, if the new page has no JavaScript, its new context is not initialized. If another page kept a reference to the global object of the old page and tries to access the new page, it will fail because the context of new page is not initialized so the global object is connected to a real context.
Mike Reed [Fri, 17 Jul 2009 19:53:27 +0000 (15:53 -0400)]
add fontdir api for plugins
remove unneeded fonttable apis
Derek Sollenberger [Thu, 16 Jul 2009 15:32:55 +0000 (11:32 -0400)]
Adding plugin support for an RGBA surface view.
Android (Google) Code Review [Thu, 16 Jul 2009 15:53:22 +0000 (08:53 -0700)]
Merge change 7500
* changes:
Convert Java string to JavaScript string.
Feng Qian [Thu, 16 Jul 2009 02:16:35 +0000 (19:16 -0700)]
Convert Java string to JavaScript string.
This allows JavaScript call a Java function and returns a string back to JavaScript. This patch is needed by the current Gmail app.
Patrick Scott [Tue, 14 Jul 2009 19:53:55 +0000 (15:53 -0400)]
Turn on webcore's request management and remove our hacks.
With only turning on request management (no fine tuning of parameters), loading
cnn.com was 3-4 seconds faster and the main content displayed about 1-2 seconds
sooner.
Feng Qian [Wed, 15 Jul 2009 18:12:34 +0000 (11:12 -0700)]
Fix build error of mksnapshot
After hooking up Android log facility, mksnapshot depends on liblog now.
Feng Qian [Wed, 15 Jul 2009 17:53:48 +0000 (10:53 -0700)]
Quick fix of makefile
Command line start with # instead of //
Feng Qian [Wed, 15 Jul 2009 16:40:17 +0000 (09:40 -0700)]
Use JS_ENGINE environment to control which JS engine to use.
Jean-Baptiste Queru [Wed, 15 Jul 2009 00:12:14 +0000 (17:12 -0700)]
Merge commit 'goog/readonly-korg-master' into merge_korg_master
Android (Google) Code Review [Tue, 14 Jul 2009 22:42:46 +0000 (15:42 -0700)]
Merge change 7155
* changes:
Make some adjustment on heap parameters on Android platform.
Feng Qian [Tue, 14 Jul 2009 22:28:52 +0000 (15:28 -0700)]
Make some adjustment on heap parameters on Android platform.
1. reduced pages per chunk to 16, so a chunk is 128K, instead of 512K
2. free all clean chunks when shrink spaces.
3. renamed some macros to if defined(ANDROID).
All changes are being upstreamed to V8.
Android (Google) Code Review [Tue, 14 Jul 2009 20:53:27 +0000 (13:53 -0700)]
Merge change 7130
* changes:
Pick up a bug fix from Chromium.
Feng Qian [Tue, 14 Jul 2009 20:20:05 +0000 (13:20 -0700)]
Pick up a bug fix from Chromium.
The same fix is upstreamed to WebKit.
Feng Qian [Tue, 14 Jul 2009 17:35:23 +0000 (10:35 -0700)]
Pick up a fix in V8 binding.
Feng Qian [Tue, 14 Jul 2009 00:19:46 +0000 (17:19 -0700)]
Rename ENABLE_V8 to USE_ALT_JS_ENGINE.
Prepare for the buildbot for both JS engines.
Feng Qian [Mon, 13 Jul 2009 23:30:18 +0000 (16:30 -0700)]
Update V8 to bleeding_edge@2450 to pick up a few important fixes.
API stays the same, and the same revision is pushed to Chromium.
Feng Qian [Mon, 13 Jul 2009 21:44:34 +0000 (14:44 -0700)]
Simplify Ben's previous commit.
I am going to submit the same patch to WebKit.
Ben Murdoch [Mon, 13 Jul 2009 19:50:37 +0000 (20:50 +0100)]
Add a virtual destructor to V8DOMMap when NDEBUG is defined.
(cherry picked from commit
7f4f9d6e0f3d335bfa57be22dfe7eb421f51a4da)
Feng Qian [Fri, 10 Jul 2009 23:13:29 +0000 (16:13 -0700)]
Fix a memory leak caused by the binding code.
Old code reinitialize a context when a frame loading a new page, even when the page does not have JavaScript. It also initializes an empty context when before an iframe is destroyed.
A fix is made to Chromium project (not it is in WebKit), our next merge should pick up this fix.
Mike Reed [Fri, 10 Jul 2009 19:32:24 +0000 (15:32 -0400)]
rename libsgl/libcorecg to libskia
Android (Google) Code Review [Fri, 10 Jul 2009 13:42:10 +0000 (06:42 -0700)]
Merge change 6306
* changes:
hide the cursor when the link is followed
Patrick Scott [Fri, 10 Jul 2009 13:22:27 +0000 (06:22 -0700)]
Patrick Scott [Fri, 10 Jul 2009 11:59:59 +0000 (07:59 -0400)]
Do not merge.
2nd attempt to fix the icon database crash. This time, make sure there is only 1
line in the change.
Mike LeBeau [Thu, 9 Jul 2009 22:46:24 +0000 (15:46 -0700)]
Merge commit '
c0957e2d' into manualmerge
Mike LeBeau [Thu, 9 Jul 2009 22:20:51 +0000 (15:20 -0700)]
Revert phanna's change which broke the build.
This reverts commit
91f07d3317527703031378a388bc92853479d6a8.
Android (Google) Code Review [Thu, 9 Jul 2009 20:39:49 +0000 (13:39 -0700)]
Android (Google) Code Review [Thu, 9 Jul 2009 20:38:12 +0000 (13:38 -0700)]
Merge change 6642 into donut
* changes:
Do not merge
Grace Kloba [Thu, 9 Jul 2009 19:50:10 +0000 (12:50 -0700)]
am
cb86952d: Fix #
1896846. Move reset the meta data from canHandleRequest to transitionToCommittedForNewPage as canHandleRequest may not trigger to go to a new page. For example, if a link is to open in a new window, even canHandleRequest returns true, the current pag
Merge commit '
cb86952d254446a800421b5804f886f8d87cd875'
* commit '
cb86952d254446a800421b5804f886f8d87cd875':
Fix #
1896846. Move reset the meta data from canHandleRequest to transitionToCommittedForNewPage as canHandleRequest may not trigger to go to a new page. For example, if a link is to open in a new window, even canHandleRequest returns true, the current page doesn't switch to a new page. So we should not reset the meta data.
Patrick Scott [Thu, 9 Jul 2009 18:55:03 +0000 (14:55 -0400)]
Do not merge
Pull down http://trac.webkit.org/changeset/42163 to fix the icon database crash.
I believe the issue was that m_syncThreadRunning could have been initialized to
false if the moons aligned. When the Browser quits, it closes the icon db. If
m_syncThreadRunning happened to be false, the close method would not wait for
the sync thread to complete before cleaning up (and closing) the sqlite
database. I think that caused the underlying db to be null within sqlite.
Android (Google) Code Review [Thu, 9 Jul 2009 16:02:31 +0000 (09:02 -0700)]
Merge change 6627
* changes:
Pickup two ARM fixes.
Feng Qian [Thu, 9 Jul 2009 15:57:09 +0000 (08:57 -0700)]
Pickup two ARM fixes.
http://codereview.chromium.org/155272
http://codereview.chromium.org/149266
Next drop of V8 will get both.
Android (Google) Code Review [Thu, 9 Jul 2009 13:39:44 +0000 (06:39 -0700)]
Merge change 6357
* changes:
Add fullscreen support back in.
Grace Kloba [Thu, 9 Jul 2009 00:32:41 +0000 (17:32 -0700)]
Fix #
1896846. Move reset the meta data from canHandleRequest to transitionToCommittedForNewPage as canHandleRequest may not trigger to go to a new page. For example, if a link is to open in a new window, even canHandleRequest returns true, the current page doesn't switch to a new page. So we should not reset the meta data.
Feng Qian [Wed, 8 Jul 2009 23:01:46 +0000 (16:01 -0700)]
Pickup two crash fixes from V8 tree:
http://code.google.com/p/v8/source/detail?r=2400
http://code.google.com/p/v8/source/detail?r=2399
Our next dropin will get both fixes.
Grace Kloba [Wed, 8 Jul 2009 18:06:09 +0000 (11:06 -0700)]
Add instrumentation for V8.
Derek Sollenberger [Wed, 8 Jul 2009 15:12:17 +0000 (11:12 -0400)]
Ensuring the plugin maintains control of the nav keys until it explicity releases them.
Android (Google) Code Review [Wed, 8 Jul 2009 09:38:46 +0000 (02:38 -0700)]
Merge change 6349
* changes:
Cherry pick fix for webkit bug 25711 (https://bugs.webkit.org/show_bug.cgi?id=25711) landed in r45594. Fixes a bug in the Database API that caused the underlying SQLite DB to become locked until browser restart.
Feng Qian [Tue, 7 Jul 2009 22:22:06 +0000 (15:22 -0700)]
Update V8 to r2361, which is a trunk revision pushed to Chrome.
Also changed compilation generation to 1 on ARM, the same change is made into V8 trunk.