OSDN Git Service

android-x86/external-webkit.git
14 years agoam b361e583: Allow <select> boxes to draw larger.
Leon Scroggins [Tue, 13 Oct 2009 23:54:47 +0000 (16:54 -0700)]
am b361e583: Allow <select> boxes to draw larger.

Merge commit 'b361e5832299c8a9443a4752f3d0a0c445f85f5c'

* commit 'b361e5832299c8a9443a4752f3d0a0c445f85f5c':
  Allow <select> boxes to draw larger.

14 years agoam c312eb90: Fix the V8 build.
Leon Scroggins [Tue, 13 Oct 2009 23:52:06 +0000 (16:52 -0700)]
am c312eb90: Fix the V8 build.

Merge commit 'c312eb9024855284dd6ff7f99f0462d345f089bb'

* commit 'c312eb9024855284dd6ff7f99f0462d345f089bb':
  Fix the V8 build.

14 years agoam bf280393: File upload.
Leon Scroggins [Tue, 13 Oct 2009 23:51:06 +0000 (16:51 -0700)]
am bf280393: File upload.

Merge commit 'bf280393189a33efa29a33c0d96c84710484f2f7'

* commit 'bf280393189a33efa29a33c0d96c84710484f2f7':
  File upload.

14 years agoam b7460af0: Fix sim build
Leon Clarke [Tue, 13 Oct 2009 21:28:50 +0000 (14:28 -0700)]
am b7460af0: Fix sim build

Merge commit 'b7460af0ad232b4bea4893febafe08895a3ef35b'

* commit 'b7460af0ad232b4bea4893febafe08895a3ef35b':
  Fix sim build

14 years agoam 71680282: Draw a background color under the combo box
Leon Clarke [Tue, 13 Oct 2009 21:28:13 +0000 (14:28 -0700)]
am 71680282: Draw a background color under the combo box

Merge commit '71680282c782ad9c007fed7b54ce6f2e51b764de'

* commit '71680282c782ad9c007fed7b54ce6f2e51b764de':
  Draw a background color under the combo box

14 years agoam cb964215: Merge change I6b640373 into eclair-mr2
Patrick Scott [Tue, 13 Oct 2009 21:28:09 +0000 (14:28 -0700)]
am cb964215: Merge change I6b640373 into eclair-mr2

Merge commit 'cb964215003240df4826e49f411f9a84ac582725'

* commit 'cb964215003240df4826e49f411f9a84ac582725':
  Fix bug 2132969

14 years agoam c58bba37: Set the navigator.vendor property to be "Google Inc." rather than defaul...
Ben Murdoch [Tue, 13 Oct 2009 18:58:05 +0000 (11:58 -0700)]
am c58bba37: Set the navigator.vendor property to be "Google Inc." rather than defaulting to "Apple Computer, Inc."

Merge commit 'c58bba378aa071d21ea37958f715cdd23f956924'

* commit 'c58bba378aa071d21ea37958f715cdd23f956924':
  Set the navigator.vendor property to be "Google Inc." rather than defaulting to "Apple Computer, Inc."

14 years agoRemoves superfluous unload event getter and setter methods from Node.
Steve Block [Tue, 13 Oct 2009 09:44:54 +0000 (10:44 +0100)]
Removes superfluous unload event getter and setter methods from Node.

These were removed from webkit.org in http://trac.webkit.org/changeset/44944.
This should have been picked up in https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=d227fc870c7a697500a3c900c31baf05fb9a8524, which syncs to webkit.org R47420.

14 years agoam 1d57ff1d: am e7430864: Makes sure that Geolocation permissions are saved before...
Steve Block [Mon, 12 Oct 2009 19:31:14 +0000 (12:31 -0700)]
am 1d57ff1d: am e7430864: Makes sure that Geolocation permissions are saved before the browser is killed.

Merge commit '1d57ff1d97b50eacef179662ea798ac776552f34'

* commit '1d57ff1d97b50eacef179662ea798ac776552f34':
  Makes sure that Geolocation permissions are saved before the browser is killed.

14 years agoam 5bbc5371: reset webTextView size if focus bounds changes
Cary Clark [Mon, 12 Oct 2009 19:29:41 +0000 (12:29 -0700)]
am 5bbc5371: reset webTextView size if focus bounds changes

Merge commit '5bbc5371dd0c031e354bc4d93218e5a1f45d8278'

* commit '5bbc5371dd0c031e354bc4d93218e5a1f45d8278':
  reset webTextView size if focus bounds changes

14 years agoam 085ec3f4: Merge change Ibbab1c84 into eclair-mr2
Cary Clark [Mon, 12 Oct 2009 18:41:51 +0000 (11:41 -0700)]
am 085ec3f4: Merge change Ibbab1c84 into eclair-mr2

Merge commit '085ec3f40ccef7296f29b6b30f2e798e25624285'

* commit '085ec3f40ccef7296f29b6b30f2e798e25624285':
  address detection may look at uninitialized memory

14 years agoam 618e6eda: am a7280594: Fixes build bustage due to missing include in Geolocation.
Steve Block [Mon, 12 Oct 2009 18:39:07 +0000 (11:39 -0700)]
am 618e6eda: am a7280594: Fixes build bustage due to missing include in Geolocation.

Merge commit '618e6eda024886e06ca03a2b4c4eb581284c3b13'

* commit '618e6eda024886e06ca03a2b4c4eb581284c3b13':
  Fixes build bustage due to missing include in Geolocation.

14 years agoam 9fffbb84: am 0c7394a4: Fixes a WebKit bug where ongoing Geolocation requests are...
Steve Block [Mon, 12 Oct 2009 18:38:58 +0000 (11:38 -0700)]
am 9fffbb84: am 0c7394a4: Fixes a WebKit bug where ongoing Geolocation requests are not stopped when the page is unloaded.

Merge commit '9fffbb84c4b1c3b4632e0b68fd26f1720643d008'

* commit '9fffbb84c4b1c3b4632e0b68fd26f1720643d008':
  Fixes a WebKit bug where ongoing Geolocation requests are not stopped when the page is unloaded.

14 years agoam 124602fa: Cherry pick of WebKit commit r49018, fix for b/2067397. Enable Database...
Ben Murdoch [Mon, 12 Oct 2009 18:38:22 +0000 (11:38 -0700)]
am 124602fa: Cherry pick of WebKit commit r49018, fix for b/2067397. Enable Database.changVersion().

Merge commit '124602fa9325bb5b26a8305777dcbdef15762f6d'

* commit '124602fa9325bb5b26a8305777dcbdef15762f6d':
  Cherry pick of WebKit commit r49018, fix for b/2067397. Enable Database.changVersion().

14 years agoam fe996bf0: fix select text if multiple lines are the same width
Cary Clark [Mon, 12 Oct 2009 18:29:45 +0000 (11:29 -0700)]
am fe996bf0: fix select text if multiple lines are the same width

Merge commit 'fe996bf0a6c5c16a852ae7484bd74421d2492e15'

* commit 'fe996bf0a6c5c16a852ae7484bd74421d2492e15':
  fix select text if multiple lines are the same width

14 years agoam 62575aed: Merge change Ib47ea2b1 into eclair-mr2
Grace Kloba [Mon, 12 Oct 2009 18:27:45 +0000 (11:27 -0700)]
am 62575aed: Merge change Ib47ea2b1 into eclair-mr2

Merge commit '62575aed26064570189ef0852283c3fc6bb4e960'

* commit '62575aed26064570189ef0852283c3fc6bb4e960':
  Add check null of getRealObject(). When a WebView is

14 years agoam 4687a001: Re-enable using the right foreground color now we use the right backgrou...
Leon Clarke [Mon, 12 Oct 2009 18:27:41 +0000 (11:27 -0700)]
am 4687a001: Re-enable using the right foreground color now we use the right background color.

Merge commit '4687a0014966efd7c5539ad54f47aa49ad828f16'

* commit '4687a0014966efd7c5539ad54f47aa49ad828f16':
  Re-enable using the right foreground color now we use the right background

14 years agoam 026fe6d5: am 2097884b: Revert "Don\'t extend the arrow asset of the combo box...
Leon Scroggins [Mon, 12 Oct 2009 18:21:40 +0000 (11:21 -0700)]
am 026fe6d5: am 2097884b: Revert "Don\'t extend the arrow asset of the combo box over the text, so that the real background"

Merge commit '026fe6d5a004207846034c539bfd5924629adefa'

* commit '026fe6d5a004207846034c539bfd5924629adefa':
  Revert "Don't extend the arrow asset of the combo box over the text, so that the real background"

14 years agoam 69b9ab68: only look at globalAlpha when we draw images (not the alpha in fill...
Mike Reed [Mon, 12 Oct 2009 18:21:35 +0000 (11:21 -0700)]
am 69b9ab68: only look at globalAlpha when we draw images (not the alpha in fill-color)

Merge commit '69b9ab686ccfadd429ac9d67474ae44da9df1113'

* commit '69b9ab686ccfadd429ac9d67474ae44da9df1113':
  only look at globalAlpha when we draw images (not the alpha in fill-color)

14 years agoam 123b7cb2: remove unneeded ANDROID_ALLOW_TRANSPARENT_BACKGROUNDS
Mike Reed [Mon, 12 Oct 2009 18:07:16 +0000 (11:07 -0700)]
am 123b7cb2: remove unneeded ANDROID_ALLOW_TRANSPARENT_BACKGROUNDS

Merge commit '123b7cb28d165aae5c8defbb22c5ad428fc6275c'

* commit '123b7cb28d165aae5c8defbb22c5ad428fc6275c':
  remove unneeded ANDROID_ALLOW_TRANSPARENT_BACKGROUNDS

14 years agoam a0d5dbfc: Merge commit \'goog/eclair\' into eclair-release
android-build SharedAccount [Mon, 12 Oct 2009 18:07:11 +0000 (11:07 -0700)]
am a0d5dbfc: Merge commit \'goog/eclair\' into eclair-release

Merge commit 'a0d5dbfcbb7c62ec014dd3033ef3efac4ecd3b79'

* commit 'a0d5dbfcbb7c62ec014dd3033ef3efac4ecd3b79':

14 years agoam 0fade321: Merge commit \'remotes/goog/eclair\' into eclair-release
The Android Open Source Project [Mon, 12 Oct 2009 18:07:06 +0000 (11:07 -0700)]
am 0fade321: Merge commit \'remotes/goog/eclair\' into eclair-release

Merge commit '0fade321435f38382c614ade7b64e6b68440d747'

* commit '0fade321435f38382c614ade7b64e6b68440d747':

14 years agoam 8ce618ea: Merge commit \'remotes/goog/eclair\' into eclair-release
The Android Open Source Project [Mon, 12 Oct 2009 18:07:02 +0000 (11:07 -0700)]
am 8ce618ea: Merge commit \'remotes/goog/eclair\' into eclair-release

Merge commit '8ce618ea67480ae663d52350339a95fff3d6f1f5'

* commit '8ce618ea67480ae663d52350339a95fff3d6f1f5':

14 years agoam 491386c1: Merge commit \'remotes/goog/eclair\' into eclair-release
The Android Open Source Project [Mon, 12 Oct 2009 18:06:57 +0000 (11:06 -0700)]
am 491386c1: Merge commit \'remotes/goog/eclair\' into eclair-release

Merge commit '491386c10ae5d1e11f6262909cdbfdc2ce8d1ebe'

* commit '491386c10ae5d1e11f6262909cdbfdc2ce8d1ebe':

14 years agoMerge commit '38173c0bcc86a90774a71224e2702ab923e2a99e'
android-build SharedAccount [Mon, 12 Oct 2009 17:57:45 +0000 (10:57 -0700)]
Merge commit '38173c0bcc86a90774a71224e2702ab923e2a99e'

14 years agoRemove CachedXBLDocument.cpp and CachedXSLDocument.cpp from the Android build, as...
Steve Block [Fri, 9 Oct 2009 14:22:25 +0000 (15:22 +0100)]
Remove CachedXBLDocument.cpp and CachedXSLDocument.cpp from the Android build, as they are not required.

These were added to the build in https://android-git.corp.google.com/g/#change,20732, as part of the last WebKit merge.

14 years agoAllow <select> boxes to draw larger.
Leon Scroggins [Fri, 9 Oct 2009 20:29:07 +0000 (16:29 -0400)]
Allow <select> boxes to draw larger.

Fix http://b/issue?id=2159794

14 years agoFix the V8 build.
Leon Scroggins [Fri, 9 Oct 2009 18:24:51 +0000 (14:24 -0400)]
Fix the V8 build.

14 years agoFile upload.
Leon Scroggins [Fri, 2 Oct 2009 19:55:01 +0000 (15:55 -0400)]
File upload.

Webkit implementation for passing in the data for file uploads.
Requires a change to frameworks/base to not break things; also
requires a change to packages/apps/Browser to work.

Fixes http://b/issue?id=675743

14 years agoFix sim build
Leon Clarke [Fri, 9 Oct 2009 16:03:36 +0000 (17:03 +0100)]
Fix sim build

14 years agoDraw a background color under the combo box
Leon Clarke [Wed, 7 Oct 2009 16:03:05 +0000 (17:03 +0100)]
Draw a background color under the combo box

14 years agoMerge change I6b640373 into eclair-mr2
Android (Google) Code Review [Thu, 8 Oct 2009 18:51:42 +0000 (14:51 -0400)]
Merge change I6b640373 into eclair-mr2

* changes:
  Fix bug 2132969

14 years agoFix bug 2132969
Patrick Scott [Thu, 8 Oct 2009 18:18:16 +0000 (14:18 -0400)]
Fix bug 2132969

Check for a user gesture before adding the history item during a fragment
scroll. The bug has been reported to webkit.org with the suggested fix. Although
upstream webkit does not have the user gesture additions defined by
ANDROID_USER_GESTURE.

Bug: 2132969

14 years agoSet the navigator.vendor property to be "Google Inc." rather than defaulting to ...
Ben Murdoch [Thu, 8 Oct 2009 15:51:44 +0000 (16:51 +0100)]
Set the navigator.vendor property to be "Google Inc." rather than defaulting to "Apple Computer, Inc."

14 years agoBring Geolocation V8 bindings in line with those for JSC.
Steve Block [Thu, 8 Oct 2009 14:29:34 +0000 (15:29 +0100)]
Bring Geolocation V8 bindings in line with those for JSC.

14 years agoBrings JSC Geolocation bindings up-to-date with latest submission to webkit.org.
Steve Block [Thu, 8 Oct 2009 14:18:46 +0000 (15:18 +0100)]
Brings JSC Geolocation bindings up-to-date with latest submission to webkit.org.

See https://bugs.webkit.org/show_bug.cgi?id=29099

14 years agoFixes an accidental change made to WebKit GTK code.
Steve Block [Thu, 8 Oct 2009 11:05:14 +0000 (12:05 +0100)]
Fixes an accidental change made to WebKit GTK code.

This was made in change 95e3d862bbab761f8caaf1d1b54065f67b9a5148.
See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=95e3d862bbab761f8caaf1d1b54065f67b9a5148#patch1

This will help avoid noise in the diffs when upstreaming Android-specific changes to webkit.org.

14 years agoFixes a bunch of WebKit whitespace discrepancies between Android and webkit.org.
Steve Block [Thu, 8 Oct 2009 10:13:05 +0000 (11:13 +0100)]
Fixes a bunch of WebKit whitespace discrepancies between Android and webkit.org.

This will avoid noise in the diffs when upstreaming Android-specific changes to webkit.org.

14 years agoam e7430864: Makes sure that Geolocation permissions are saved before the browser...
Steve Block [Wed, 7 Oct 2009 18:37:46 +0000 (11:37 -0700)]
am e7430864: Makes sure that Geolocation permissions are saved before the browser is killed.

Merge commit 'e7430864058b3c222b4b0468cf8812a9a733818b' into eclair-mr2

* commit 'e7430864058b3c222b4b0468cf8812a9a733818b':
  Makes sure that Geolocation permissions are saved before the browser is killed.

14 years agoMakes sure that Geolocation permissions are saved before the browser is killed.
Steve Block [Wed, 7 Oct 2009 12:22:07 +0000 (13:22 +0100)]
Makes sure that Geolocation permissions are saved before the browser is killed.

This is a fix for http://b/issue?id=2167364

Change-Id: I92a1a6831eb254b62593beaf7cb77c8e1f41945c

14 years agoreset webTextView size if focus bounds changes
Cary Clark [Tue, 6 Oct 2009 21:41:56 +0000 (17:41 -0400)]
reset webTextView size if focus bounds changes

Keep track of changes in the current focus bounds, and provide
a way for the java side to access the change.

companion change in frameworks/base
fixes http://b/issue?id=2118781

14 years agoMerge change Ibbab1c84 into eclair-mr2
Android (Google) Code Review [Tue, 6 Oct 2009 18:00:51 +0000 (14:00 -0400)]
Merge change Ibbab1c84 into eclair-mr2

* changes:
  address detection may look at uninitialized memory

14 years agoaddress detection may look at uninitialized memory
Cary Clark [Tue, 6 Oct 2009 17:34:21 +0000 (13:34 -0400)]
address detection may look at uninitialized memory

Address detection on web pages creates arrays of pointers to
words, and compares them against a set of permitted street types.
This change adds the array of end pointers so that the check
does not look past the end of the word.

Fixes http://b/issue?id=2166591

14 years agoam a7280594: Fixes build bustage due to missing include in Geolocation.
Steve Block [Tue, 6 Oct 2009 15:30:29 +0000 (08:30 -0700)]
am a7280594: Fixes build bustage due to missing include in Geolocation.

Merge commit 'a7280594a8eac3503fe491d2ea02ce684fdf8744' into eclair-mr2

* commit 'a7280594a8eac3503fe491d2ea02ce684fdf8744':
  Fixes build bustage due to missing include in Geolocation.

14 years agoFixes build bustage due to missing include in Geolocation.
Steve Block [Tue, 6 Oct 2009 15:21:49 +0000 (16:21 +0100)]
Fixes build bustage due to missing include in Geolocation.

Change-Id: Iea9209faba25a9b4ea4e351218c8c1eecf36d07f

14 years agoam 0c7394a4: Fixes a WebKit bug where ongoing Geolocation requests are not stopped...
Steve Block [Tue, 6 Oct 2009 15:04:56 +0000 (08:04 -0700)]
am 0c7394a4: Fixes a WebKit bug where ongoing Geolocation requests are not stopped when the page is unloaded.

Merge commit '0c7394a4459ba850766d303b4307add7189cf5f3' into eclair-mr2

* commit '0c7394a4459ba850766d303b4307add7189cf5f3':
  Fixes a WebKit bug where ongoing Geolocation requests are not stopped when the page is unloaded.

14 years agoRemove the Android guards added to the <video> implementation in WebCore.
Andrei Popescu [Tue, 6 Oct 2009 13:44:10 +0000 (14:44 +0100)]
Remove the Android guards added to the <video> implementation in WebCore.

The patch in https://bugs.webkit.org/show_bug.cgi?id=29133 landed.

14 years agoFixes a couple of style problems and a minor TODO in WebKit Geolocation.
Steve Block [Tue, 6 Oct 2009 11:52:52 +0000 (12:52 +0100)]
Fixes a couple of style problems and a minor TODO in WebKit Geolocation.

14 years agoCherry pick of WebKit commit r49018, fix for b/2067397. Enable Database.changVersion().
Ben Murdoch [Tue, 6 Oct 2009 11:05:22 +0000 (12:05 +0100)]
Cherry pick of WebKit commit r49018, fix for b/2067397. Enable Database.changVersion().

14 years agoFixes a WebKit bug where ongoing Geolocation requests are not stopped when the page...
Steve Block [Tue, 6 Oct 2009 09:57:53 +0000 (10:57 +0100)]
Fixes a WebKit bug where ongoing Geolocation requests are not stopped when the page is unloaded.

This fixes bug http://b/issue?id=2164673

Change-Id: I68a615c0b82bcee2a4a61dc0433a4f9321780ad1

14 years agofix select text if multiple lines are the same width
Cary Clark [Mon, 5 Oct 2009 18:22:59 +0000 (14:22 -0400)]
fix select text if multiple lines are the same width

Text selection works by building a region on the UI side, then
finding the text that matches the rectangles making up the
decomposed region on the webkit side.

If multiple consecutive lines of text are the same width, the
region will combine them into a single rectangle instead of
one rectangle per line.

If the rectangle chooses a single line, it's safe to pick the
center of the line in Y, and that's what the old code does. The
new code also tries the top and bottom of the rectangle, in
case the rectangle spans multiple lines of text, but falls
back to the old behavior so not to regress.

fixes http://b/issue?id=2166748

14 years agoMerge change Ib47ea2b1 into eclair-mr2
Android (Google) Code Review [Mon, 5 Oct 2009 16:28:14 +0000 (12:28 -0400)]
Merge change Ib47ea2b1 into eclair-mr2

* changes:
  Add check null of getRealObject(). When a WebView is removed, there is a slight chance that getRealObject() for WebView's JavaObject be null.

14 years agoRe-enable using the right foreground color now we use the right background
Leon Clarke [Mon, 5 Oct 2009 14:32:12 +0000 (15:32 +0100)]
Re-enable using the right foreground color now we use the right background
color.

14 years agoam 2097884b: Revert "Don\'t extend the arrow asset of the combo box over the text...
Leon Scroggins [Sun, 4 Oct 2009 22:12:49 +0000 (15:12 -0700)]
am 2097884b: Revert "Don\'t extend the arrow asset of the combo box over the text, so that the real background"

Merge commit '2097884b9e1630c3855a8580f84a308163e085e7' into eclair-mr2

* commit '2097884b9e1630c3855a8580f84a308163e085e7':
  Revert "Don't extend the arrow asset of the combo box over the text, so that the real background"

14 years agoAdd check null of getRealObject(). When a WebView is
Grace Kloba [Sat, 3 Oct 2009 00:38:57 +0000 (17:38 -0700)]
Add check null of getRealObject(). When a WebView is
removed, there is a slight chance that getRealObject()
for WebView's JavaObject be null.

Fix http://b/issue?id=2159815

14 years agoonly look at globalAlpha when we draw images (not the alpha in fill-color)
Mike Reed [Fri, 2 Oct 2009 19:04:50 +0000 (15:04 -0400)]
only look at globalAlpha when we draw images (not the alpha in fill-color)

http://b/issue?id=1817561

14 years agoremove unneeded ANDROID_ALLOW_TRANSPARENT_BACKGROUNDS
Mike Reed [Fri, 2 Oct 2009 14:42:56 +0000 (10:42 -0400)]
remove unneeded ANDROID_ALLOW_TRANSPARENT_BACKGROUNDS

http://b/issue?id=2146657

14 years agodo not merge
Cary Clark [Thu, 1 Oct 2009 20:56:22 +0000 (16:56 -0400)]
do not merge

https://android-git.corp.google.com/g/#change,22779 chose
poorly in its checkin comment and was inadvertantly left
out of the automerge process. Here it is, along with the
original comment:

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

14 years agoam 8b101d48: Merge change Ib6cfb9c2 into eclair
Leon Clarke [Thu, 1 Oct 2009 21:00:21 +0000 (14:00 -0700)]
am 8b101d48: Merge change Ib6cfb9c2 into eclair

Merge commit '8b101d480f638c14f332d4be73a74925bfed1d82'

* commit '8b101d480f638c14f332d4be73a74925bfed1d82':
  Don't extend the arrow asset of the combo box over the text, so that the real background

14 years agoRevert "Don't extend the arrow asset of the combo box over the text, so that the...
Leon Scroggins [Thu, 1 Oct 2009 19:20:13 +0000 (15:20 -0400)]
Revert "Don't extend the arrow asset of the combo box over the text, so that the real background"

This reverts commit 02b5ebb30fc88967b843818cbc61987f9dc9685d.

14 years agoam b704d4ab: Merge change Ic0bd5009 into eclair
Andrei Popescu [Thu, 1 Oct 2009 19:16:29 +0000 (12:16 -0700)]
am b704d4ab: Merge change Ic0bd5009 into eclair

Merge commit 'b704d4ab4f7270d5969955190c303ee9a3484830'

* commit 'b704d4ab4f7270d5969955190c303ee9a3484830':
  Update <video> implementation after new IRC discussion with Eric Carlsson.

14 years agoam 30027e43: Fix the random crash around iframes.
Patrick Scott [Thu, 1 Oct 2009 19:14:50 +0000 (12:14 -0700)]
am 30027e43: Fix the random crash around iframes.

Merge commit '30027e43592c7246954056a89ce410c01d4dd86f'

* commit '30027e43592c7246954056a89ce410c01d4dd86f':
  Fix the random crash around iframes.

14 years agoam 41816434: Merge change I99fa56b2 into eclair
Cary Clark [Thu, 1 Oct 2009 19:12:55 +0000 (12:12 -0700)]
am 41816434: Merge change I99fa56b2 into eclair

Merge commit '418164343aa2437668796a013c1326c43ef318ac'

* commit '418164343aa2437668796a013c1326c43ef318ac':
  always update the WebTextView from the input element

14 years agoam c8238ecc: Fix the user gesture change to be more like donut.
Patrick Scott [Thu, 1 Oct 2009 18:58:54 +0000 (11:58 -0700)]
am c8238ecc: Fix the user gesture change to be more like donut.

Merge commit 'c8238eccbdd8de109a5d7c28b514ee36033ed4ba'

* commit 'c8238eccbdd8de109a5d7c28b514ee36033ed4ba':
  Fix the user gesture change to be more like donut.

14 years agoam 14e3d9bd: Don\'t crash on java exception
Leon Clarke [Thu, 1 Oct 2009 18:55:34 +0000 (11:55 -0700)]
am 14e3d9bd: Don\'t crash on java exception

Merge commit '14e3d9bdf2270d399bae78946e3efe62a6c6c373'

* commit '14e3d9bdf2270d399bae78946e3efe62a6c6c373':
  Don't crash on java exception

14 years agoam 22526e69: scroll text field with touch
Cary Clark [Thu, 1 Oct 2009 18:33:13 +0000 (11:33 -0700)]
am 22526e69: scroll text field with touch

Merge commit '22526e698d410058e24987164a4e6a01bd4d80b0'

* commit '22526e698d410058e24987164a4e6a01bd4d80b0':
  scroll text field with touch

14 years agoam 79e85346: Build fix.
Patrick Scott [Thu, 1 Oct 2009 18:16:20 +0000 (11:16 -0700)]
am 79e85346: Build fix.

Merge commit '79e85346fd39c817cc4ef96d816f311d200f9c77'

* commit '79e85346fd39c817cc4ef96d816f311d200f9c77':
  Build fix.

14 years agoam 06f1ecff: Fix a few crashes with assertions enabled.
Patrick Scott [Thu, 1 Oct 2009 18:14:08 +0000 (11:14 -0700)]
am 06f1ecff: Fix a few crashes with assertions enabled.

Merge commit '06f1ecff0f609438be162b71b50a3be08983df23'

* commit '06f1ecff0f609438be162b71b50a3be08983df23':
  Fix a few crashes with assertions enabled.

14 years agoMerge commit 'goog/eclair' into eclair-release
android-build SharedAccount [Thu, 1 Oct 2009 15:43:40 +0000 (08:43 -0700)]
Merge commit 'goog/eclair' into eclair-release

14 years agoMerge change Ib6cfb9c2 into eclair
Android (Google) Code Review [Thu, 1 Oct 2009 09:36:34 +0000 (05:36 -0400)]
Merge change Ib6cfb9c2 into eclair

* changes:
  Don't extend the arrow asset of the combo box over the text, so that the real background color is used. Re-instate using the correct color for the text.

14 years agoDon't extend the arrow asset of the combo box over the text, so that the real background
Leon Clarke [Thu, 1 Oct 2009 09:30:38 +0000 (10:30 +0100)]
Don't extend the arrow asset of the combo box over the text, so that the real background
color is used.
Re-instate using the correct color for the text.

14 years agoMerge change Ic0bd5009 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 19:55:46 +0000 (15:55 -0400)]
Merge change Ic0bd5009 into eclair

* changes:
  Update <video> implementation after new IRC discussion with Eric Carlsson.

14 years agoUpdate <video> implementation after new IRC discussion with Eric Carlsson.
Andrei Popescu [Mon, 28 Sep 2009 15:20:09 +0000 (16:20 +0100)]
Update <video> implementation after new IRC discussion with Eric Carlsson.

    - move poster drawing on the WebKit side
    - get rid of the child views
    - add prepareToPlay method to the MediaPlayer iface.

Fixes http://b/issue?id=2156592

14 years agoFix the random crash around iframes.
Patrick Scott [Tue, 29 Sep 2009 18:11:16 +0000 (14:11 -0400)]
Fix the random crash around iframes.

The problem is that if updateWidgetPosition calls layout, the FrameView will
layout with 0x0 dimensions. Then, we resize the view and try to relayout. This
causes the body to be marked as needing a layout. But, the body does not get a
chance to relayout. If updateWidgetPosition does not layout, the view size will
match and the body will not be marked for layout. This makes everything sane
after layout of the iframe.

The root of the problem is that we are calling FrameView::layout() while in the
midst of a layout. This is causing a child RenderObject to need a layout
without the parent object needing a layout. We avoid this by not laying out
until we set the FrameView dimensions.

Bug: 20488552134215

14 years agoMerge change I99fa56b2 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 18:17:36 +0000 (14:17 -0400)]
Merge change I99fa56b2 into eclair

* changes:
  always update the WebTextView from the input element

14 years agoalways update the WebTextView from the input element
Cary Clark [Wed, 30 Sep 2009 18:05:03 +0000 (14:05 -0400)]
always update the WebTextView from the input element

Even if the input element doesn't have focus, synchronize
the WebTextView if the pointers match.

fixes http://b/issue?id=2096746

14 years agoMerge commit 'remotes/goog/eclair' into eclair-release
The Android Open Source Project [Wed, 30 Sep 2009 15:37:10 +0000 (08:37 -0700)]
Merge commit 'remotes/goog/eclair' into eclair-release

14 years agoFix the user gesture change to be more like donut.
Patrick Scott [Wed, 30 Sep 2009 12:32:50 +0000 (08:32 -0400)]
Fix the user gesture change to be more like donut.

Bug: 2151004

14 years agoDon't crash on java exception
Leon Clarke [Mon, 28 Sep 2009 10:17:08 +0000 (11:17 +0100)]
Don't crash on java exception

Link coloring - doing the database lookup in a separate thread

Formatting

Whitespace changes

Re-ordered following review

14 years agoscroll text field with touch
Cary Clark [Mon, 28 Sep 2009 16:57:26 +0000 (12:57 -0400)]
scroll text field with touch

Pass the percentage of the current scroll from the UI
thread to webkit. The max scroll in X is computed as
renderer->scrollWidth() - renderer->clientWidth().

Companion fix is in framework/base

Fixes http://b/issue?id=2133049

14 years agoam 1e67e45d: Update the comment for checking null in needtouchevents.
Grace Kloba [Tue, 29 Sep 2009 18:06:51 +0000 (11:06 -0700)]
am 1e67e45d: Update the comment for checking null in needtouchevents.

Merge commit '1e67e45d20ead40b0407618abbc5e20840dc3c80'

* commit '1e67e45d20ead40b0407618abbc5e20840dc3c80':
  Update the comment for checking null in needtouchevents.

14 years agoBuild fix.
Patrick Scott [Tue, 29 Sep 2009 17:42:05 +0000 (13:42 -0400)]
Build fix.

Files that include FontPlatformData.h apparently depend on StringImpl.h already
being included.

14 years agoMerge commit 'remotes/goog/eclair' into eclair-release
The Android Open Source Project [Tue, 29 Sep 2009 15:37:02 +0000 (08:37 -0700)]
Merge commit 'remotes/goog/eclair' into eclair-release

14 years agoFix a few crashes with assertions enabled.
Patrick Scott [Tue, 29 Sep 2009 13:43:03 +0000 (09:43 -0400)]
Fix a few crashes with assertions enabled.

KURL::protocolIs no longer likes "javascript" and has a different method called
protocolIsJavaScript.

14 years agoUpdate the comment for checking null in needtouchevents.
Grace Kloba [Mon, 28 Sep 2009 16:39:05 +0000 (09:39 -0700)]
Update the comment for checking null in needtouchevents.

Add the header in WebCoreJni.cpp so that LOGE will be print out.

14 years agoam b3dd806a: Fix the multiple form submission bug. (Bug 2098417).
Ben Murdoch [Mon, 28 Sep 2009 17:06:41 +0000 (10:06 -0700)]
am b3dd806a: Fix the multiple form submission bug. (Bug 2098417).

Merge commit 'b3dd806a1bdd3101bd82696ed615e8ffe2091a2e'

* commit 'b3dd806a1bdd3101bd82696ed615e8ffe2091a2e':
  Fix the multiple form submission bug. (Bug 2098417).

14 years agoam 992afbeb: Check null for WebViewCore\'s nativeClass before calling back to Java...
Grace Kloba [Mon, 28 Sep 2009 17:02:02 +0000 (10:02 -0700)]
am 992afbeb: Check null for WebViewCore\'s nativeClass before calling back to Java. This may happen if WebKit holds some reference of the Document even when our Java side has been destroyed. So when Document finally is deleted, the call back to Java will have null nati

Merge commit '992afbebfb735ec2dd52b4166c22ab55827d88ed'

* commit '992afbebfb735ec2dd52b4166c22ab55827d88ed':
  Check null for WebViewCore's nativeClass before calling

14 years agoMerge commit 'remotes/goog/eclair' into eclair-release
The Android Open Source Project [Mon, 28 Sep 2009 15:33:23 +0000 (08:33 -0700)]
Merge commit 'remotes/goog/eclair' into eclair-release

14 years agoFix the multiple form submission bug. (Bug 2098417).
Ben Murdoch [Mon, 28 Sep 2009 12:49:05 +0000 (13:49 +0100)]
Fix the multiple form submission bug. (Bug 2098417).

Change-Id: I4eb188f6b4826f394a08c72c71f920cc212b2653

14 years agoCheck null for WebViewCore's nativeClass before calling
Grace Kloba [Sun, 27 Sep 2009 23:03:59 +0000 (16:03 -0700)]
Check null for WebViewCore's nativeClass before calling
back to Java. This may happen if WebKit holds some reference
of the Document even when our Java side has been destroyed.
So when Document finally is deleted, the call back to Java
will have null nativeClass.

In the long run, we may need to add the check for all the
callback to Java.

Fix http://b/issue?id=2148023

14 years agoCheck null for WebViewCore's nativeClass before calling
Grace Kloba [Sun, 27 Sep 2009 23:03:59 +0000 (16:03 -0700)]
Check null for WebViewCore's nativeClass before calling
back to Java. This may happen if WebKit holds some reference
of the Document even when our Java side has been destroyed.
So when Document finally is deleted, the call back to Java
will have null nativeClass.

In the long run, we may need to add the check for all the
callback to Java.

Fix http://b/issue?id=2148023

14 years agoam 5ca6cb36: Merge change 27080 into eclair
Grace Kloba [Sun, 27 Sep 2009 22:37:44 +0000 (15:37 -0700)]
am 5ca6cb36: Merge change 27080 into eclair

Merge commit '5ca6cb36d22a6a75bc18215b53ebc58d39ae4dd8'

* commit '5ca6cb36d22a6a75bc18215b53ebc58d39ae4dd8':
  When detach the top Document, clean up the touch listeners and reset

14 years agoam 01eae562: fix cracks when we draw the page in portions (i.e. a picture set)
Mike Reed [Sun, 27 Sep 2009 22:36:51 +0000 (15:36 -0700)]
am 01eae562: fix cracks when we draw the page in portions (i.e. a picture set)

Merge commit '01eae5621621a976f228f5f41c49967a356209cd'

* commit '01eae5621621a976f228f5f41c49967a356209cd':
  fix cracks when we draw the page in portions (i.e. a picture set)

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

14 years agofix cracks when we draw the page in portions (i.e. a picture set)
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

14 years agoWhen detach the top Document, clean up the touch listeners and reset
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

14 years agoam 6f855d88: Merge change 27041 into eclair
Mike Reed [Fri, 25 Sep 2009 18:25:57 +0000 (11:25 -0700)]
am 6f855d88: Merge change 27041 into eclair

Merge commit '6f855d88ef8d1b401944d290772a26222b61a505'

* commit '6f855d88ef8d1b401944d290772a26222b61a505':
  disable antialiasing for bitmaps

14 years agoam 22a6ea4b: don\'t short-circuit if the text selection has changed
Cary Clark [Fri, 25 Sep 2009 18:24:15 +0000 (11:24 -0700)]
am 22a6ea4b: don\'t short-circuit if the text selection has changed

Merge commit '22a6ea4bb37dc6e22fb998cf887d9fa6de07bdc6'

* commit '22a6ea4bb37dc6e22fb998cf887d9fa6de07bdc6':
  don't short-circuit if the text selection has changed

14 years agoam 7e7a0fd9: Colorizing clicked-on links
Leon Clarke [Fri, 25 Sep 2009 18:06:51 +0000 (11:06 -0700)]
am 7e7a0fd9: Colorizing clicked-on links

Merge commit '7e7a0fd96b7d18fa3562af3b2bb4c7516fe9babe'

* commit '7e7a0fd96b7d18fa3562af3b2bb4c7516fe9babe':
  Colorizing clicked-on links

14 years agoam 28e09963: Add ANDROID_USER_GESTURE back to WebCore.
Patrick Scott [Fri, 25 Sep 2009 18:04:21 +0000 (11:04 -0700)]
am 28e09963: Add ANDROID_USER_GESTURE back to WebCore.

Merge commit '28e09963cd0ab02a20ddd0b687e55f97921445cc'

* commit '28e09963cd0ab02a20ddd0b687e55f97921445cc':
  Add ANDROID_USER_GESTURE back to WebCore.