OSDN Git Service

android-x86/external-webkit.git
15 years agoMerge change 3628
Android (Google) Code Review [Wed, 10 Jun 2009 00:20:57 +0000 (17:20 -0700)]
Merge change 3628

* changes:
  Cleanup for upstreaming to webkit.org

15 years agoCleanup for upstreaming to webkit.org
Feng Qian [Tue, 9 Jun 2009 21:38:45 +0000 (14:38 -0700)]
Cleanup for upstreaming to webkit.org

See
https://bugs.webkit.org/show_bug.cgi?id=26264
https://bugs.webkit.org/show_bug.cgi?id=26265
https://bugs.webkit.org/show_bug.cgi?id=26280

15 years agoadded missing function pointers in the plugin canvas interface
Derek Sollenberger [Tue, 9 Jun 2009 18:53:51 +0000 (14:53 -0400)]
added missing function pointers in the plugin canvas interface

15 years agoMerge change 3571
Android (Google) Code Review [Tue, 9 Jun 2009 15:14:30 +0000 (08:14 -0700)]
Merge change 3571

* changes:
  Reorganizing the drawContext for plugin events.

15 years agoReorganizing the drawContext for plugin events.
Derek Sollenberger [Tue, 9 Jun 2009 15:05:33 +0000 (11:05 -0400)]
Reorganizing the drawContext for plugin events.

15 years agoRemove obsolete notion of invalid node.
Leon Scroggins [Mon, 8 Jun 2009 15:27:15 +0000 (11:27 -0400)]
Remove obsolete notion of invalid node.

In the old navigation model, we set focus to a node, and checked to see
if that node was still valid (could have changed since we built the
navigation cache).  Then we sent a message back to the UI thread to
tell it to draw the ring differently.  In the new model, we are essentially
moving a mouse, so we do not concern ourselves with whether the node is
valid.  Here I have removed function and jni to call sendMarkNodeInvalid,
the notion of an invalid node in WebView.cpp, and the INVALID flavor
of CursorRing.  Needs a change in frameworks/base to work properly.

15 years agoAdded support for plugins receiving lifecycle events such as gain/lose focus.
Derek Sollenberger [Mon, 8 Jun 2009 14:50:38 +0000 (10:50 -0400)]
Added support for plugins receiving lifecycle events such as gain/lose focus.

15 years agoMerge change 3443
Android (Google) Code Review [Mon, 8 Jun 2009 16:52:48 +0000 (09:52 -0700)]
Merge change 3443

* changes:
   Make AppCache work with v8:  -- Most changes follow Chrome's changes in the same area  -- I needed to update the CodeGeneratorV8.pm to the latest version  -- I needed to deprecate v8_utility.h and replace it with V8Utilities.h/cpp

15 years agoMerge commit 'ecc88d' into manualmerge
Cary Clark [Mon, 8 Jun 2009 16:41:06 +0000 (12:41 -0400)]
Merge commit 'ecc88d' into manualmerge

15 years ago Make AppCache work with v8:
Andrei Popescu [Mon, 8 Jun 2009 16:39:30 +0000 (17:39 +0100)]
 Make AppCache work with v8:
 -- Most changes follow Chrome's changes in the same area
 -- I needed to update the CodeGeneratorV8.pm to the latest version
 -- I needed to deprecate v8_utility.h and replace it with V8Utilities.h/cpp

15 years agoMerge change 3067 into donut
Android (Google) Code Review [Mon, 8 Jun 2009 15:06:12 +0000 (08:06 -0700)]
Merge change 3067 into donut

* changes:
  browser security patches

15 years agofix cursor movement bugs in browser
Cary Clark [Thu, 4 Jun 2009 20:36:05 +0000 (16:36 -0400)]
fix cursor movement bugs in browser

Remove obsolete recomputeFocus, old moveCursor code

Make sure focus is !null before using it.

15 years agoMerge change 3311
Android (Google) Code Review [Mon, 8 Jun 2009 14:45:34 +0000 (07:45 -0700)]
Merge change 3311

* changes:
  Update the language from "focus".

15 years agoMerge change 3307
Android (Google) Code Review [Mon, 8 Jun 2009 14:19:59 +0000 (07:19 -0700)]
Merge change 3307

* changes:
  Check in patch for webkit bug 25710. History navigation by fragement breaks database transactions. https://bugs.webkit.org/show_bug.cgi?id=25710, landed to webkit in r44468

15 years agoUpdate the language from "focus".
Leon Scroggins [Fri, 5 Jun 2009 17:54:17 +0000 (13:54 -0400)]
Update the language from "focus".

Previously, many methods, variables, etc referred to the focus.
Now, they have been changed to refer to the cursor when
appropriate.  Some references were changed to the focusCandidate,
since they may apply to either the focus or the cursor, which
is a candidate for focus.  Also removed unneeded method
unblockFocus.  Will not work without a corresponding
change in frameworks/base.

15 years agouse full pictureset when recording displaytree
Mike Reed [Fri, 5 Jun 2009 12:27:33 +0000 (08:27 -0400)]
use full pictureset when recording displaytree

15 years agoCheck in patch for webkit bug 25710. History navigation by fragement breaks database...
Ben Murdoch [Fri, 5 Jun 2009 13:49:32 +0000 (14:49 +0100)]
Check in patch for webkit bug 25710. History navigation by fragement breaks database transactions.
https://bugs.webkit.org/show_bug.cgi?id=25710, landed to webkit in r44468

15 years agoImplement adding console messages
Ben Murdoch [Tue, 12 May 2009 18:41:18 +0000 (19:41 +0100)]
Implement adding console messages

15 years agoMerge change 3212
Android (Google) Code Review [Thu, 4 Jun 2009 21:17:46 +0000 (14:17 -0700)]
Merge change 3212

* changes:
  resolved conflicts for merge of d88ddb to master

15 years agoresolved conflicts for merge of d88ddb to master
Patrick Scott [Thu, 4 Jun 2009 20:51:50 +0000 (16:51 -0400)]
resolved conflicts for merge of d88ddb to master

15 years agoMerge change 3201
Android (Google) Code Review [Thu, 4 Jun 2009 21:09:20 +0000 (14:09 -0700)]
Merge change 3201

* changes:
  Fix a crash on missing plugins.

15 years agoFix a crash on missing plugins.
Leon Scroggins [Thu, 4 Jun 2009 20:48:39 +0000 (16:48 -0400)]
Fix a crash on missing plugins.

Before accessing the plugin package, make sure it is not null, since
missing plugins will not have one.

15 years agouse absolute bounds, not node bounds, for all webkit nodes
Cary Clark [Thu, 4 Jun 2009 17:21:34 +0000 (13:21 -0400)]
use absolute bounds, not node bounds, for all webkit nodes

Several years ago, the absolute bounds reported by webkit
for nodes other than anchors were sometimes wildly different
than the node bounds. Nowadays, the absolute bounds are used
by iPhone to show hot spots and are more accurate.

When nodes are added on the fly, their node bounds may be
uncomputed, so the added nodes may not show up in the
nav cache. Using the absolute bounds instead makes these
nodes visible.

Also, removed a special case for Bank of America, tied to
the node bounds (not absolute bounds) since it is no longer
applicable.

Remove unused local min focusable width and height.

15 years agoIf the server redirected us, use the url instead of the urlForHistory.
Patrick Scott [Thu, 4 Jun 2009 15:08:53 +0000 (11:08 -0400)]
If the server redirected us, use the url instead of the urlForHistory.

This change will allow a new entry to be added to the visited history and will
correctly update that new item when the title arrives. Another change in
BrowserActivity fixes the title bar during the redirect.

15 years agoin browser, return webview node to receive key events
Cary Clark [Wed, 3 Jun 2009 21:20:53 +0000 (17:20 -0400)]
in browser, return webview node to receive key events

Instead of returning the node that currently has focus,
return the node that the cursor is on if it can handle
key events.

15 years agobrowser security patches
Cary Clark [Wed, 3 Jun 2009 20:01:34 +0000 (16:01 -0400)]
browser security patches

Bug 25420: REGRESSION: XMLHttpRequest allows loading from another
origin
- fix: http://trac.webkit.org/changeset/42983

Bug 24575: Cross-origin XMLHttpRequest is always allowed
- fix: http://trac.webkit.org/projects/webkit/changeset/41667

Bug 21456: UXSS after navigation via directly referencing document
- fix: http://trac.webkit.org/changeset/42223

Bug 22655: Stack overflow crash in WebCore::RenderBlock::layout()
with deeply nested <div>s
- fix: http://trac.webkit.org/projects/webkit/changeset/41938

15 years agoremove unneeded text parameters from WebView
Cary Clark [Wed, 3 Jun 2009 12:15:49 +0000 (08:15 -0400)]
remove unneeded text parameters from WebView

Add convenience routines to consolidate cache builder
and current focus fetches into one place.

Remove unused functions.

Use wantsKeyEvents attribute where applicable.

15 years agoRename TextDialog to WebTextView.
Leon Scroggins [Tue, 2 Jun 2009 15:02:11 +0000 (11:02 -0400)]
Rename TextDialog to WebTextView.

This change corresponds to a change in frameworks/base which changes the
name of the TextDialog to WebTextView.  It also changed the method updateTextEntry
to rebuildWebTextView.  So, the native side needs to call the newly named
method.

15 years agoMerge change 2712
Android (Google) Code Review [Tue, 2 Jun 2009 13:23:48 +0000 (06:23 -0700)]
Merge change 2712

* changes:
  in the browser, make the trackball more like a mouse

15 years agoin the browser, make the trackball more like a mouse
Cary Clark [Fri, 29 May 2009 14:55:15 +0000 (10:55 -0400)]
in the browser, make the trackball more like a mouse

Older code treated the trackball as a four way dpad with
equivalents to moving up, down, left and right by generating
arrow key events. This change makes the trackball solely
generate mousemove events.

The old arrow keys in turn were mapped to be as close as
possible to tab-key events that moved the focus. The new
model leaves focus-changes to the DOM.

Clicking the dpad is distinguished from pressing the enter
key to be more compatible with desktop-authored web pages.

15 years agoRe-enable changes that were lost when we added V8 support.
Andrei Popescu [Mon, 1 Jun 2009 15:43:43 +0000 (16:43 +0100)]
Re-enable changes that were lost when we added V8 support.

15 years agoadd null check for renderer, and fix webkit coding style
Mike Reed [Thu, 28 May 2009 20:17:52 +0000 (16:17 -0400)]
add null check for renderer, and fix webkit coding style

15 years agohack to set focus for plugins
Mike Reed [Thu, 28 May 2009 19:09:41 +0000 (15:09 -0400)]
hack to set focus for plugins
expose pluginview from pluginwidget

15 years agoadd pause/resume events for plugins
Mike Reed [Tue, 26 May 2009 20:35:00 +0000 (16:35 -0400)]
add pause/resume events for plugins
add sendEvent() api to widget
add jni pause/resume functions to be called from java

15 years agoMerge change 2390
Android (Google) Code Review [Tue, 26 May 2009 17:33:39 +0000 (10:33 -0700)]
Merge change 2390

* changes:
  Added postUrl() to WebView so that we can pass lat/lon for the search.

15 years agoAdded postUrl() to WebView so that we can pass lat/lon for the search.
Grace Kloba [Tue, 26 May 2009 17:28:10 +0000 (10:28 -0700)]
Added postUrl() to WebView so that we can pass lat/lon for the search.

15 years agouse trackball 'mouse' position instead of current focus on click
Cary Clark [Fri, 22 May 2009 16:12:06 +0000 (12:12 -0400)]
use trackball 'mouse' position instead of current focus on click

Furthering investigation to separate browser focus movement from
trackball mouse position movement, use the simulated mouse
position when computing the node underneath used for mouse clicks.

The computed node is only used for area maps and lists -- usually
the (x,y) position is passed through to webkit. Since this is
re-finding the node by location and not using the node found by
navigation, it may introduce some regression.

An additional regression/investigation would be to pass the
(x,y) through regardless of whether a node is hit so that the click
is always generated.

http://b/issue?id=1866439

15 years agoFix the prelink variable.
Patrick Scott [Wed, 20 May 2009 22:49:18 +0000 (18:49 -0400)]
Fix the prelink variable.

15 years agoUse LOCAL_ADDITIONAL_DEPENDENCIES to get the correct build order.
Patrick Scott [Tue, 19 May 2009 22:17:17 +0000 (18:17 -0400)]
Use LOCAL_ADDITIONAL_DEPENDENCIES to get the correct build order.

This change depends on a build system change that corrects the use of
LOCAL_ADDITIONAL_DEPENDENCIES.

15 years agoMerge change 1772
Android (Google) Code Review [Mon, 18 May 2009 20:31:56 +0000 (13:31 -0700)]
Merge change 1772

* changes:
  Apply fixes for webkit bugs 24776 and 25616 to add ENABLE(DATABASE) guards. This makes the macro work, so ENABLE_DATABASE can be toggled in config.h and the JavaScriptCore.derived.mk or V8Bindings.derived.mk.

15 years agoMerge change 1884
Android (Google) Code Review [Mon, 18 May 2009 18:29:30 +0000 (11:29 -0700)]
Merge change 1884

* changes:
  skip rectangular focus ring check in browser if no picture

15 years agoskip rectangular focus ring check in browser if no picture
Cary Clark [Mon, 18 May 2009 18:22:48 +0000 (14:22 -0400)]
skip rectangular focus ring check in browser if no picture

15 years agofix browser monkey crash; add null check
Cary Clark [Mon, 18 May 2009 17:51:42 +0000 (13:51 -0400)]
fix browser monkey crash; add null check

http://b/issue?id=1742161

15 years agoMerge change 1872
Android (Google) Code Review [Mon, 18 May 2009 16:40:55 +0000 (09:40 -0700)]
Merge change 1872

* changes:
  Fix a valgrind complaint.

15 years agoFix a valgrind complaint.
Patrick Scott [Mon, 18 May 2009 16:34:53 +0000 (12:34 -0400)]
Fix a valgrind complaint.

15 years agoTrackball moves UI focus, but leaves DOM focus unchanged
Cary Clark [Fri, 15 May 2009 12:31:15 +0000 (08:31 -0400)]
Trackball moves UI focus, but leaves DOM focus unchanged

remove unused commonKitFocus function in WebView

leave recompute focus position for now, but don't
look at node index as a condition to abort fixOutOfDateFocus()

15 years agoMerge change 1684
Android (Google) Code Review [Mon, 18 May 2009 14:07:57 +0000 (07:07 -0700)]
Merge change 1684

* changes:
  remove printf error in private browser nav cache debug

15 years agoApply fixes for webkit bugs 24776 and 25616 to add ENABLE(DATABASE) guards. This...
Ben Murdoch [Wed, 13 May 2009 16:58:43 +0000 (17:58 +0100)]
Apply fixes for webkit bugs 24776 and 25616 to add ENABLE(DATABASE) guards. This makes the macro work, so ENABLE_DATABASE can be toggled in config.h and the JavaScriptCore.derived.mk or V8Bindings.derived.mk.

15 years agoremove printf error in private browser nav cache debug
Cary Clark [Thu, 14 May 2009 21:03:03 +0000 (17:03 -0400)]
remove printf error in private browser nav cache debug

15 years agoMove Browser test plugin from webkit project to development project.
Grace Kloba [Thu, 14 May 2009 19:48:20 +0000 (12:48 -0700)]
Move Browser test plugin from webkit project to development project.

Change how we set plugin path as we can support more than one path now.

15 years agoremove isClick parameter in browser touch event handler
Cary Clark [Thu, 14 May 2009 14:07:26 +0000 (10:07 -0400)]
remove isClick parameter in browser touch event handler

isClick is always set to true by the callers, so remove
it and simplify the code
(http://b/issue?id=1666780; see also change in framework/base)

15 years agoMerge change 1562
Android (Google) Code Review [Wed, 13 May 2009 19:53:31 +0000 (12:53 -0700)]
Merge change 1562

* changes:
  Remove uncommented makefile conditional. Fix an assert condition.

15 years agoRemove uncommented makefile conditional. Fix an assert condition.
Patrick Scott [Wed, 13 May 2009 19:27:26 +0000 (15:27 -0400)]
Remove uncommented makefile conditional. Fix an assert condition.

15 years agoMerge change 1541
Android (Google) Code Review [Wed, 13 May 2009 18:04:54 +0000 (11:04 -0700)]
Merge change 1541

* changes:
  add test for plugin api for paths (and some fixes)

15 years agoMerge change 1550
Android (Google) Code Review [Wed, 13 May 2009 18:02:23 +0000 (11:02 -0700)]
Merge change 1550

* changes:
  use one rectangle for browser focus ring

15 years agouse one rectangle for browser focus ring
Cary Clark [Wed, 13 May 2009 16:50:01 +0000 (12:50 -0400)]
use one rectangle for browser focus ring

Check to see if the potentially larger hit-test bounds
can be used in place of the normal bounds, or if the
normal bounds can be used in place of the individual
text bounds.

Construct a region out of the individual focus ring
rectangles, then see if any text is drawn inside the
bounds but outside of the focus ring. If not, use one
rectangle instead of the rings.

15 years agoadd test for plugin api for paths (and some fixes)
Mike Reed [Wed, 13 May 2009 15:24:27 +0000 (11:24 -0400)]
add test for plugin api for paths (and some fixes)

15 years agoMerge change 1412
Android (Google) Code Review [Tue, 12 May 2009 20:32:16 +0000 (13:32 -0700)]
Merge change 1412

* changes:
  Fix #1833296. Initialize m_blockNotifyFocus as releaseFrameCache can be called before sendFinalFocus which leads it to uninitialized.

15 years agoFix #1833296. Initialize m_blockNotifyFocus as releaseFrameCache can be called before...
Grace Kloba [Tue, 12 May 2009 17:41:43 +0000 (10:41 -0700)]
Fix #1833296. Initialize m_blockNotifyFocus as releaseFrameCache can be called before sendFinalFocus which leads it to uninitialized.

15 years agoFix a warning with an Android edit.
Patrick Scott [Tue, 12 May 2009 17:27:25 +0000 (13:27 -0400)]
Fix a warning with an Android edit.

15 years agoFix #1835655. Hold a GlobalRef for WeakReferenceClass as it is used as a global variable.
Grace Kloba [Tue, 12 May 2009 18:03:36 +0000 (11:03 -0700)]
Fix #1835655. Hold a GlobalRef for WeakReferenceClass as it is used as a global variable.

15 years agoShave ~60k off of libwebcore.so and make webcore_test always build.
Patrick Scott [Tue, 12 May 2009 15:43:16 +0000 (11:43 -0400)]
Shave ~60k off of libwebcore.so and make webcore_test always build.

Build libwebcore as a static library first. Then build it as a shared library
using the jni entry point as the single source file. This strips uneeded code
out of the final library.

Have webcore_test link against the static library so that the symbols are all
visible. Update webcore_test to link against the new webkit drop as well.

Rearrange the main makefile to create WEBKIT_* variables that a sub-makefile
like webcore_test can use to define includes, cflags, and libraries. Manually
add a dependency on the generated webkit source files.

Verified that svg and v8 work as well as the simulator.

15 years agomerged d15fb80, resolved conflicts
Guang Zhu [Tue, 12 May 2009 01:10:15 +0000 (18:10 -0700)]
merged d15fb80, resolved conflicts

15 years agoAdd WebStorage C++ implementation needed for the Browser UI
Nicolas Roard [Thu, 7 May 2009 22:23:56 +0000 (23:23 +0100)]
Add WebStorage C++ implementation needed for the Browser UI

15 years agoMerge change 1323
Android (Google) Code Review [Mon, 11 May 2009 17:11:34 +0000 (10:11 -0700)]
Merge change 1323

* changes:
  Revert the POST content-length change as the fix in Java side is a better fix.

15 years agoRevert the POST content-length change as the fix in Java side is a better fix.
Grace Kloba [Sat, 9 May 2009 01:39:03 +0000 (18:39 -0700)]
Revert the POST content-length change as the fix in Java side is a better fix.

15 years agoAdded JNI binding for new onJsTimeout callback
Guang Zhu [Fri, 8 May 2009 22:54:24 +0000 (15:54 -0700)]
Added JNI binding for new onJsTimeout callback

15 years agoMerge change 1252
Android (Google) Code Review [Fri, 8 May 2009 16:56:25 +0000 (09:56 -0700)]
Merge change 1252

* changes:
  Temp turn off POST content-length as it breaks the Google log in page.

15 years agoTemp turn off POST content-length as it breaks the Google log in page.
Grace Kloba [Fri, 8 May 2009 16:55:10 +0000 (09:55 -0700)]
Temp turn off POST content-length as it breaks the Google log in page.

15 years agoDo not store invalid URLs in the database.
Leon Scroggins [Fri, 8 May 2009 15:41:09 +0000 (11:41 -0400)]
Do not store invalid URLs in the database.

Partial fix for issue 1364749: awesome bar is storing 404s.  When webkit
tells us to update the global history, do not do it if the we did not
reach a web page.

15 years agoMerge change 940
Android (Google) Code Review [Fri, 8 May 2009 13:52:16 +0000 (06:52 -0700)]
Merge change 940

* changes:
  add path apis for plugins. also add drawLine to canvas

15 years agoMerge change 1119
Android (Google) Code Review [Thu, 7 May 2009 16:00:38 +0000 (09:00 -0700)]
Merge change 1119

* changes:
  Fix SVG build with V8.

15 years agoFix SVG build with V8.
Feng Qian [Thu, 7 May 2009 02:13:31 +0000 (19:13 -0700)]
Fix SVG build with V8.

Because some SVG anomation source files depend on generic sort functions,
we cannot compile them. Add as ENABLE_SVG_ANIMATION build flag to disable
SVG Animation.

15 years agoFix 1807059. For POST, even there is no formdata, we need to add "content-length...
Grace Kloba [Thu, 7 May 2009 01:26:45 +0000 (18:26 -0700)]
Fix 1807059. For POST, even there is no formdata, we need to add "content-length" in the http header. This is confirmed with Mac and qt port.

15 years agoMerge change 1080
Android (Google) Code Review [Wed, 6 May 2009 19:10:04 +0000 (12:10 -0700)]
Merge change 1080

* changes:
  Make <select> elements' text always visible.

15 years agoMerge change 999
Android (Google) Code Review [Wed, 6 May 2009 18:44:56 +0000 (11:44 -0700)]
Merge change 999

* changes:
  Fix memory leaks in Java binding and some code cleanup.

15 years agoFix memory leaks in Java binding and some code cleanup.
Feng Qian [Tue, 5 May 2009 18:52:10 +0000 (11:52 -0700)]
Fix memory leaks in Java binding and some code cleanup.

WebCoreFrameBridge.cpp needs to release NPObject to get proper ref count
because the way V8 binding works.

JObjectWraper holds a weak reference to the Java object to break cycles.

Also fix ScriptController::haveWindowShell to match KJS build, this should be
upstreamed to Chrome project (I am going to do it).

The binding does not use weak reference to hold Java objects, currently
it does not create cycles between Java and JavaScript objects. I didn't see
it is an issue here. A future work is to add logging/debugging code to
make sure global Java references are dropped.

15 years agoMake <select> elements' text always visible.
Leon Scroggins [Wed, 6 May 2009 17:52:08 +0000 (13:52 -0400)]
Make <select> elements' text always visible.

Fix for buganizer issue 1377239.  The <select> element's text was not visible on this page because it was the same color as our treatment.  With this change, we now mimic the Mac's behavior and make the text black for enabled elements and dark gray for disabled elements.

15 years agoMerge change 983
Android (Google) Code Review [Wed, 6 May 2009 15:40:05 +0000 (08:40 -0700)]
Merge change 983

* changes:
  Fix an issue with the null plugin drawing even when there is fallback content.

15 years agoMerge change 1043
Android (Google) Code Review [Wed, 6 May 2009 05:48:41 +0000 (22:48 -0700)]
Merge change 1043

* changes:
  Workaround GCC 4.3.1 issue.

15 years agoWorkaround GCC 4.3.1 issue.
Feng Qian [Wed, 6 May 2009 03:21:33 +0000 (20:21 -0700)]
Workaround GCC 4.3.1 issue.

-fno-tree-sink disable the buggy optimization and with this option, V8 works fine. I suggested Doug Kwan to add the flag to the default build system.

15 years agoMerge change 982
Android (Google) Code Review [Tue, 5 May 2009 19:14:08 +0000 (12:14 -0700)]
Merge change 982

* changes:
  Enable Database API V8 bindings.

15 years agoMerge change 987
Android (Google) Code Review [Tue, 5 May 2009 19:01:30 +0000 (12:01 -0700)]
Merge change 987

* changes:
  Remove unused LOW_BANDWIDTH defines. The Cache.cpp change is from webkit.org.

15 years agoMerge change 894
Android (Google) Code Review [Tue, 5 May 2009 17:25:51 +0000 (10:25 -0700)]
Merge change 894

* changes:
  Pick up npruntime.cpp fix from Chrome tree.

15 years agoRemove unused LOW_BANDWIDTH defines. The Cache.cpp change is from webkit.org.
Patrick Scott [Tue, 5 May 2009 15:21:38 +0000 (11:21 -0400)]
Remove unused LOW_BANDWIDTH defines. The Cache.cpp change is from webkit.org.

15 years agoMerge change 984
Android (Google) Code Review [Tue, 5 May 2009 14:44:13 +0000 (07:44 -0700)]
Merge change 984

* changes:
  Fix an assert around solid colors.

15 years agoEnable Database API V8 bindings.
Ben Murdoch [Tue, 5 May 2009 12:09:04 +0000 (13:09 +0100)]
Enable Database API V8 bindings.

15 years agoFix an assert around solid colors.
Patrick Scott [Tue, 5 May 2009 13:27:35 +0000 (09:27 -0400)]
Fix an assert around solid colors.

15 years agoFix an issue with the null plugin drawing even when there is fallback content.
Patrick Scott [Tue, 5 May 2009 12:44:22 +0000 (08:44 -0400)]
Fix an issue with the null plugin drawing even when there is fallback content.

Use similar logic in ObjectContentType as in the Window's port. Still use
ObjectContentOtherPlugin so that <object> tags work properly (Mike's test
plugin).

Fix a build warning in PlatformGraphicsContext.h as well.

15 years agoFix double-definition of jsc_pcre_default_tables.
Jack Palevich [Tue, 5 May 2009 01:13:16 +0000 (18:13 -0700)]
Fix double-definition of jsc_pcre_default_tables.

The generated file chartables.c was being both explicitly #included inside
of pcre_tables.cpp and also added to LOCAL_GENERATED_SOURCES. This lead to
a duplicate symbol definition.

The reason this ever worked was that the Android build system
accidentally ignored ".c" files in  LOCAL_GENERATED_SOURCES. Now that the
.c files are being compiled the problem is exposed.

Fixed by simply not adding chartables.c to LOCAL_GENERATED_SOURCES.

15 years agoadd path apis for plugins. also add drawLine to canvas
Mike Reed [Mon, 4 May 2009 19:34:23 +0000 (15:34 -0400)]
add path apis for plugins. also add drawLine to canvas

15 years agoMerge change 871
Android (Google) Code Review [Mon, 4 May 2009 14:05:39 +0000 (07:05 -0700)]
Merge change 871

* changes:
  Remove unneeded SKIA_SGL platform flag

15 years agoMerge change 928
Android (Google) Code Review [Mon, 4 May 2009 13:22:07 +0000 (06:22 -0700)]
Merge change 928

* changes:
  webcore pointer may be null in svg

15 years agowebcore pointer may be null in svg
Cary Clark [Mon, 4 May 2009 12:55:10 +0000 (08:55 -0400)]
webcore pointer may be null in svg

Fix crash during frame deconstruction; the scrollview used
by svg may have a null pointer to webcore.

15 years agoPick up npruntime.cpp fix from Chrome tree.
Feng Qian [Fri, 1 May 2009 20:11:53 +0000 (13:11 -0700)]
Pick up npruntime.cpp fix from Chrome tree.

Chrome fix is here. http://codereview.chromium.org/100242
and the description:

http://code.google.com/p/chromium/issues/detail?id=11264

Integer 0 and -1 have special meaning in HashMap<int, ...>, both cannot be used
as key.
Specially filter out these two keys.

15 years agoMerge change 885
Android (Google) Code Review [Fri, 1 May 2009 19:35:06 +0000 (12:35 -0700)]
Merge change 885

* changes:
  add svg support to v8 experiment

15 years agoadd svg support to v8 experiment
Cary Clark [Fri, 1 May 2009 15:43:15 +0000 (11:43 -0400)]
add svg support to v8 experiment

15 years agoMerge change 866
Android (Google) Code Review [Fri, 1 May 2009 16:24:10 +0000 (09:24 -0700)]
Merge change 866

* changes:
  Add plugin plumbing with V8 binding.

15 years agoadd additional svg support and compliance
Cary Clark [Thu, 30 Apr 2009 13:31:31 +0000 (09:31 -0400)]
add additional svg support and compliance

turn on SVG_FONTS, SVG_AS_IMAGE, SVG_FILTERS, SVG_FOREIGN_OBJECT, SVG_USE

getWebCore may return null for SVG ScrollView
add FontPlatformData.size()
add more stl sort interfaces

15 years agoRemove unneeded SKIA_SGL platform flag
Mike Reed [Fri, 1 May 2009 12:09:04 +0000 (08:09 -0400)]
Remove unneeded SKIA_SGL platform flag