Commit Graph

5352 Commits

Author SHA1 Message Date
Kartikaya Gupta
b7e427003c Bug 732564 - Move the display port trimming to Java so that we always have a copy of the display port being used. r=Cwiiis 2012-03-12 12:03:38 -04:00
Kartikaya Gupta
c86ed3f64b Bug 732564 - Back out part of e48d0ef50574 (bug 728614) as we need to clamp the viewport when animations are aborted. r=Cwiiis 2012-03-12 12:03:38 -04:00
Kartikaya Gupta
f74209d8e4 Bug 732564 - Add a before-first-paint event that fires before the first paint of the new document. r=Cwiiis, bz 2012-03-12 12:03:38 -04:00
Kartikaya Gupta
292f6d4827 Bug 732564 - When the browser content document is not the browser displayed document, bail on some things. r=Cwiiis 2012-03-12 12:03:38 -04:00
Kartikaya Gupta
afb3444228 Bug 732564 - Take out java-side draw suppression on rotation as it often prevents redrawing completely; we can put this back later if needed. r=Cwiiis 2012-03-12 12:03:38 -04:00
Kartikaya Gupta
51962130f6 Bug 732564 - Modify the Viewport:Update event to take a viewport and synchronously update Java with it. r=Cwiiis 2012-03-12 12:03:38 -04:00
Kartikaya Gupta
f589e3a614 Bug 732564 - Distinguish between changes where we should sync-update the Java viewport and where the compositor has to update Java. r=Cwiiis 2012-03-12 12:03:38 -04:00
Kartikaya Gupta
269b2bd943 Bug 732564 - Get rid of the updateViewport function by inlining it into call sites. r=Cwiiis 2012-03-12 12:03:38 -04:00
Kartikaya Gupta
12d14e4060 Bug 732564 - Turn viewport getter and setter into functions for easier grepping; some function rearranging as well. r=Cwiiis 2012-03-12 12:03:37 -04:00
Kartikaya Gupta
e7a3a7af3e Bug 732564 - Merge the UpdateAndDraw and UpdateLater events into a single Update event since they do the same thing now. r=Cwiiis 2012-03-12 12:03:37 -04:00
Kartikaya Gupta
041332fc6d Bug 732564 - Remove JS-driven redraw; gecko should be invalidating whenever we need it to, and we're not suppressing anything now. r=Cwiiis 2012-03-12 12:03:37 -04:00
Kartikaya Gupta
e43df6e2ff Bug 732564 - Kill the paint suppression in browser.js. r=Cwiiis 2012-03-12 12:03:37 -04:00
Kartikaya Gupta
7015851d36 Bug 732091 - Part 4: Add JNI-exposed functions on GeckoLayerClient to allow the compositor to update various properties. r=Cwiiis 2012-03-12 11:50:21 -04:00
Kartikaya Gupta
38e9efe1fc Merge m-c -> maple to pick up b159cd73c215 2012-03-10 11:21:26 -05:00
Benoit Girard
c8515d0999 Merge mc->maple 2012-03-09 18:16:26 -05:00
Kartikaya Gupta
07ba81232a Bug 734479 - Remove deadcode that was introduce via bad merge 3dcb40ebd487. r=BenWa 2012-03-09 17:14:30 -05:00
Benoit Girard
fb79343e79 Merge mc->Maple 2012-03-09 11:13:30 -05:00
Benoit Girard
1b3be902c1 Merge mc->Maple 2012-03-08 10:22:42 -05:00
Rob Campbell
44c93895a1 merge fx-team to m-c 2012-03-08 10:30:11 -04:00
Marina Samuel
8a833d0163 Bug 733965 - Cursor not closed in ClientsDatabaseAccessor. r=rnewman 2012-03-07 18:01:33 -08:00
Brian Nicholson
e060639a26 Bug 732268 - Don't perform intent actions when launching from recent apps. r=blassey 2012-03-07 17:59:27 -08:00
Brian Nicholson
c307fddcfb Backout 7a86dc056fe5 for test failures 2012-03-07 16:53:55 -08:00
Benoit Girard
6f2d963b78 Merge heads 2012-03-07 11:11:20 -05:00
Benoit Girard
0f0612ce47 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Margaret Leibovic
858582780c Bug 734332 - Remove unused 'Tab:Selected:Done' message. r=mfinkle 2012-03-14 10:20:47 -07:00
James Willcox
32043e7f81 Bug 728369 - Fix non-OpenGL plugin positioning on Android r=blassey 2012-03-14 15:43:49 -04:00
Brian Nicholson
eac688468d Bug 702319 - Fix telemetry message l10n entry. r=mfinkle,Pike 2012-03-14 11:56:57 -07:00
Margaret Leibovic
89ac32f012 Bug 734053 - Add-ons are not listed in Add-ons Manager. r=mbrubeck 2012-03-08 17:17:53 -08:00
Brian Nicholson
f3c84d62f7 Bug 708161 - POST data for search engine submissions. r=mfinkle 2012-03-08 17:07:47 -08:00
Matt Brubeck
001b042a9a Back out 5026c5ad25e7 because of XUL Fennec bustage 2012-03-08 16:42:31 -08:00
Chris Peterson
e1a183884b Bug 731034 - Clamp current selection before processing key down events to avoid IndexOutOfBoundsException. r=blassey 2012-03-12 17:08:04 -07:00
Kartikaya Gupta
28d3b2678d Bug 732206 - Fix Ts failures by preventing some errors from appearing in logcat. r=Cwiiis 2012-03-06 10:02:34 -05:00
Benoit Girard
8461970bfc Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Benoit Girard
91127e368d Bug 733184 - Maple: Remove some Java logging. r=pcwalton 2012-03-05 18:50:00 -05:00
Benoit Girard
392ef78337 Merge latest green changeset from mozilla-central to maple
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard
18b1521f00 Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Matt Brubeck
788b29276e Merge mozilla-central to mozilla-inbound 2012-03-08 16:27:40 -08:00
Chris Peterson
4429416130 Bug 733434 - Part 2: Remove old exception handlers made redundant by global UncaughtExceptionHandler. r=blassey 2012-03-07 11:20:04 -08:00
Chris Peterson
0de10cedd2 Bug 733434 - Part 1: Register a global UncaughtExceptionHandler that calls Breakpad. r=blassey 2012-03-07 11:19:05 -08:00
Chris Peterson
7f1c94e140 Bug 733153 - Remove obsolete widget.ime.android.landscape_fullscreen and fullscreen_threshold prefs. r=dougt 2012-03-07 17:17:00 -08:00
Geoff Brown
bff0e17716 Bug 728263 - Avoid AccountManager leak error on exit. r=mfinkle 2012-03-08 18:48:44 -05:00
Margaret Leibovic
21e2c426e1 Bug 725502 - (Part 2) Disable window open dialog feature for XUL fennec. r=mbrubeck 2012-03-08 15:29:33 -08:00
Margaret Leibovic
7210927ab7 Bug 725502 - window.open with dialog=yes argument in it causes weird issue. r=jst 2012-03-08 15:29:30 -08:00
Richard Newman
bb89d62434 Bug 732611 - Add channel (Aurora, Beta, etc.) to Android Sync user agent. r=rnewman 2012-03-02 17:36:16 -08:00
Richard Newman
4c7381602e Bug 709403 - Part 2: add TabsRecord. r=nalexander 2012-03-02 17:36:16 -08:00
Richard Newman
86e7f5967c Bug 709403 - Part 1: refactor envelope/payload logic in Record. r=nalexander 2012-03-02 17:36:16 -08:00
Richard Newman
82c8deae66 Bug 709403 - Part 0: Add getString to ExtendedJSONObject. r=nalexander 2012-03-02 17:36:16 -08:00
Nick Alexander
9797526ddb Bug 722553 - uniformize JPakeClientStage error handling. r=rnewman 2012-03-02 17:36:15 -08:00
Nick Alexander
83f368c28e Bug 722570 - make BaseResource.{getConnectionManager,enableTLSConnectionManager} thread-safe. r=rnewman 2012-03-02 17:36:15 -08:00
Nick Alexander
b81d67db7c Bug 722575 - make SerialRecordConsumer.consumerIsDone() thread-safe. r=rnewman 2012-03-02 17:36:15 -08:00
Marina Samuel
7ca96b8ebd Bug 715796 - Part 1: client name. r=rnewman 2012-03-02 17:36:15 -08:00
Marina Samuel
d36abee0da Bug 715796 - Part 0: extract SQLiteOpenHelper cache from AndroidBrowserHistoryDataExtender. r=rnewman 2012-03-02 17:36:15 -08:00
Richard Newman
256a80185a Bug 731125 - Use correct X-If-Unmodified-Since header. r=rnewman 2012-03-02 17:36:15 -08:00
Benoit Girard
b24e1949c2 Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Jeff Muizelaar
69adeff0bf Bug 732576. make getViewTransform fast. r=kats
This removes the logging, locking and allocations from getViewTransform.

This reduces the time spent from an median of 6.3ms to 0.061ms

We use a new scheme where the view transform is immutable and the member
variable containing it is atomically overwritten. So we may get a slightly old
view transform but this won't be a problem.
2012-03-02 14:31:27 -05:00
Benoit Girard
77a9a7b782 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Chris Lord
1fdd807090 Bug 731570 - Don't re-upload scrollbar texture on opacity change. r=kats
Rather than re-render the scrollbar texture and re-upload it when the opacity
changes, just render/upload it once and use a shader to modify the opacity.
2012-03-02 12:12:08 +00:00
Chris Lord
1c2a06b747 Bug 731570 - Rename and make default shaders public. r=pcwalton
Rename and make public the default shaders used in LayerRenderer, and make
loadShader a public, static method. This should make it easier for layers to
implement their own shader programs.
2012-03-02 12:12:08 +00:00
Eitan Isaacson
ad5fb706d0 Bug 729373 - Move focus to chrome when overscrolling up with keyboard. r=cpeterson 2012-03-07 19:24:38 -05:00
Eitan Isaacson
2cc9d9dfa6 Bug 729237 - Fixed AndroidBridge emit a11y event function, added java string class as class member. r=blassey 2012-03-07 19:24:38 -05:00
Chris Peterson
81f6e8a1c2 Bug 699465 - AwesomeBar: enable selectAllOnFocus attribute to preempt Edit Text context menu. r=dougt, sriram 2012-03-07 19:24:37 -05:00
Brian Nicholson
3b454da8f4 Bug 726018 - Thumbnails test case. r=gbrown 2012-03-07 13:58:31 -08:00
Brian Nicholson
f8403c97d7 Bug 726018 - Save thumbnails only for successful page loads. r=mfinkle 2012-03-07 13:58:31 -08:00
Brian Nicholson
0404b2f86e Bug 726018 - Add tab load states. r=mfinkle 2012-03-07 13:58:31 -08:00
Margaret Leibovic
ec9411fa33 Bug 733515 - Use localized strings for special folder names. r=rnewman,lucasr 2012-03-07 11:13:03 -08:00
Margaret Leibovic
7160dbdeb4 Bug 711177 - Form autocomplete popup doesn't appear on tap of input. r=lucasr 2012-03-07 11:12:57 -08:00
Sriram Ramasubramanian
686ac32b1d Bug 732117: Fennec debug intent on startup path. [r=blassey] 2012-03-07 10:36:38 -08:00
Chris Lord
52546827ab Bug 732013 - Fix overdraw in LayerRenderer. r=kats
Add an optional rectangular mask to SingleTileLayer so that we can reduce the
amount of overdraw when drawing the background and checkerboard layers.
2012-03-01 19:43:14 +00:00
Benoit Girard
08f33710af Merge mc->maple 2012-03-01 10:44:44 -05:00
Kartikaya Gupta
594a05e06b Bug 730966 - Remove time-based throttling of viewport change events; the refresh driver does this in Gecko already. r=pcwalton 2012-02-29 16:42:53 -05:00
Kartikaya Gupta
fb19acba47 Bug 731619 - Fix race condition where flags are cleared before they are set. r=ehsan 2012-02-29 16:26:02 -05:00
Benoit Girard
5c8699dc40 Bug 730967 - Handle Cherckerboard color being null. r=kats
--HG--
extra : rebase_source : f2d33d78ba3b140e6df0fdc239539088f910bc95
2012-02-29 15:45:06 -05:00
Kartikaya Gupta
9b9639a1b4 Bug 731619 - Make drawing after rotation work again. r=ehsan 2012-02-29 15:36:59 -05:00
Kartikaya Gupta
067dac7bbe Bug 731417 - Fix missing call to checkMonitoringEnabled for the LayerRenderer we use in OMTC, and make it frame rate layer wider so it doesn't get truncated. r=pcwalton 2012-02-29 14:08:23 -05:00
Benoit Girard
c405868a59 Bug 730967 - Don't recompute checkerboard color every frame. r=pwalton
--HG--
extra : rebase_source : 1c8251bb2e84e0039185ffe9f80d43f52d7c2bcf
2012-02-28 19:17:58 -05:00
Kartikaya Gupta
ab3d01ba8a Bug 730949 - Take the frame rate layer initialization out of the startup path. r=sriram 2012-02-28 18:08:43 -05:00
Kartikaya Gupta
3dc008dce0 Bug 730687 - Hook up the aboutToCheckerboard code again. r=Cwiiis 2012-02-28 16:14:14 -05:00
Kartikaya Gupta
822a63318b Bug 730687 - Fold updateViewport into endDrawing. r=Cwiiis 2012-02-28 16:13:26 -05:00
Kartikaya Gupta
ac12da1374 Bug 730687 - Move the display port margin amounts out of browser.js and into Java. r=Cwiiis 2012-02-28 16:13:20 -05:00
Kartikaya Gupta
d5c3b7e98b Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Kartikaya Gupta
effdbe5f59 Bug 729169 - Ensure the display port is clipped to the page bounds. r=Cwiiis 2012-02-28 14:33:13 -05:00
Kartikaya Gupta
b37d6d14a6 Bug 730681 - Guard against a zero width/height corrupting our viewport. r=Cwiiis 2012-02-28 14:33:05 -05:00
Matt Brubeck
7f8eedeab7 Bug 662891 - Require Android 2.2 "Froyo" (API level 8) or higher [r=dougt] 2012-02-28 10:05:05 -08:00
Kartikaya Gupta
134e9fec76 Merge m-c 2012-02-27 15:06:35 -05:00
Kartikaya Gupta
ae3fe7b165 Bug 730681 - Combine the two resize event handlers into one so that the behaviour is more deterministic and efficient. r=Cwiiis 2012-02-27 10:23:20 -05:00
Kartikaya Gupta
ff5e7cf9ac Bug 730681 - Stop resizing the CSS viewport every time we scroll by a pixel. r=Cwiiis 2012-02-27 10:18:10 -05:00
Richard Newman
7eeb5614b1 Bug 730528 - Extract LooperThread from GeckoAppShell. r=blassey 2012-02-26 22:34:23 -08:00
Kartikaya Gupta
acdd08d8b5 Bug 726382 - Ensure the mDir and mMozDir variables are protected by synchronization. r=rnewman
It is possible that two threads will call getDir(), or getDir() and
moveProfilesToAppInstallLocation() simultaneously. Without this patch,
this would attempt to double-create the mozilla or profile directories,
which would then result in an IOException and failure when it shouldn't.
2012-02-26 18:08:03 -05:00
Kartikaya Gupta
0061b51e7e Take out a line I inadvertently left in in cset ce31a3b140a2 2012-02-26 17:27:58 -05:00
Kartikaya Gupta
fbe94f983a Merge the origin (Point) and size (IntSize) properties of Layers into a single position (Rect) property.
Not only does this reduce the amount of cruft needed while getting and setting these properties, it
makes the code more consistent because we don't have half of this stored in the Layer base class and
the other half provided by an abstract method implementation in subclasses. Furthermore, this
allows the VirtualLayer size to be updated based on the area painted by gecko rather than remaining
fixed at the view size when the virtual layer was created.
2012-02-26 10:47:47 -05:00
Kartikaya Gupta
e37885a6c7 Take out the code that allows Java to further clip the invalid rect based on visible area.
This code is never used because the invalid rect we pass to DrawTo is ignored;
the nsLayoutUtils::PaintFrame uses the display port as the visible region to
paint instead. (http://mxr.mozilla.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#1603)
2012-02-26 10:47:45 -05:00
Benoit Girard
fb8fcecde6 Work around white not working as Cherckerboard color. r=kats
--HG--
extra : rebase_source : 768fe9d869c1aff743fbc69b5f537668eedf3298
2012-02-24 15:13:39 -05:00
Chris Peterson
265dfd84f3 Bug 730349 - Remove some unused variables from browser.js. r= 2012-02-24 10:05:32 -08:00
Doug Turner
df4f53ea90 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Kartikaya Gupta
9969c98db4 Remove unused parameters passed to endDrawing 2012-02-24 12:11:29 -05:00
Kartikaya Gupta
fa940eb49b Pull out tile dimensions being passed around uselessly 2012-02-24 10:51:41 -05:00
Wes Johnston
5aa348a515 Bug 731341 - LoadLibs should take a context. r=blassey 2012-03-08 10:25:44 -08:00
Matt Brubeck
80b3984158 Bug 731610 - Back key in a popup window should return to the parent page
[r=mfinkle]
2012-03-08 12:34:11 -08:00
Wes Johnston
cf7e041e14 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Brad Lassey
a2ce1ffae0 bug 707571 - user-scalable property of viewport meta tag is ignored r=mbrubeck
--HG--
extra : rebase_source : a4a4d9fb6c61ff91ffb917c1e25b78a6266d7347
2012-03-08 11:55:19 -05:00