Commit Graph

1770 Commits

Author SHA1 Message Date
Kartikaya Gupta
7968d9bc1e Bug 731603 - Save the display port and resolution in the VirtualLayer's mPosition and mResolution fields. r=Cwiiis 2012-03-20 00:07:42 -04:00
Kartikaya Gupta
f83cb46c1d Bug 731603 - Propagate a layersUpdated flag to Java for robocop use. r=ajuma 2012-03-20 00:06:56 -04:00
Kartikaya Gupta
3e34d0c2b0 Bug 731603 - Propagate the resolution of the painted content into syncViewportInfo as well. r=Cwiiis 2012-03-20 00:05:45 -04:00
Wes Johnston
6c63fa5ffd Bug 735676 - Fix Sanitizer.passwords.canClear. r=mleibovic 2012-03-19 16:51:29 -07:00
Sriram Ramasubramanian
5a0ed39885 Bug 735741: Factor out UI in about:home [r=mfinkle]
--HG--
rename : mobile/android/base/resources/layout/abouthome_content.xml => mobile/android/base/resources/layout/abouthome_content.xml.in
2012-03-19 16:15:05 -07:00
Sriram Ramasubramanian
079dc05cf5 Bug 715928: Screenshots for about:home. [r=mfinkle] 2012-03-19 12:36:18 -07:00
Kartikaya Gupta
f84a537689 Bug 727236 - Fix CSS viewport height calculation so it is based on the layout at the viewport width. r=Cwiiis 2012-03-19 14:46:49 -04:00
Margaret Leibovic
d3b1c79a28 Bug 727449 - Update testBookmark to expect no folders when there are no desktop bookmarks. r=gbrown 2012-03-19 11:22:36 -07:00
Margaret Leibovic
4a937cae81 Bug 727449 - Only show mobile bookmarks folder contents if there are no desktop bookmarks. r=lucasr 2012-03-19 11:22:33 -07:00
Brian Nicholson
dbe55b3f5c Bug 718240 - Use 30 second timeout for crash restore. r=mfinkle 2012-03-19 11:20:42 -07:00
Sriram Ramasubramanian
9e2d157493 Bug 736455: Remote tabs with empty tile on about:home [r=mfinkle] 2012-03-19 10:56:38 -07:00
Sriram Ramasubramanian
4806059fd2 Bug 734893: Faster DB accessing with priority for GeckoAsyncTask. [r=mfinkle, r=blassey] 2012-03-19 10:53:14 -07:00
Brad Lassey
61f989b15c bug 734624 - java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask.done(AsyncTask.java) caused by: android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed, synchronize inserts to avoid race condition r=lucasr 2012-03-16 12:21:06 -04:00
Ali Juma
b47f9ac031 Bug 737031 - Add EGL error code to error messages in GLController. r=bgirard 2012-03-19 13:35:13 -04:00
Mounir Lamouri
cf3d9177fa Bug 734382 - Don't show the list of activities if there is only one. r=blassey 2012-03-14 19:35:47 +01:00
Mounir Lamouri
3a65042252 Bug 730289 - Filepicker on Android should allow picking or capturing media instead of having a specific button for capture. r=dougt,wesj ui-r=madhava 2012-03-18 17:15:56 +01:00
Lucas Rocha
b586e4fbe3 Bug 730105 - Add Talos test for AwesomeBar frecency filter (r=gbrown) 2012-03-19 16:22:20 +00:00
Lucas Rocha
5ff77dd932 Bug 730105 - Ensure test query arg on all ContentProvider operations (r=gbrown) 2012-03-19 16:22:19 +00:00
Lucas Rocha
70b8089a1d Bug 730105 - Fix content provider registration in ContentProviderTest (r=gbrown) 2012-03-19 16:22:19 +00:00
Wes Johnston
1c9ffc88fc Bug 735912 - Backout some unnecessary changes. r=mfinkle 2012-03-19 09:09:04 -07:00
Wes Johnston
f46d3f6cfd Bug 735912 - Force creation/upgrade of passwords and formhistory databases on first run or upgrade. r=mfinkle 2012-03-19 08:57:43 -07:00
Geoff Brown
29e36329ad Bug 735856 - fix intermittent test failure; r=jmaher 2012-03-19 11:09:42 -04:00
William Lachance
7a7f1529a8 Bug 736610 - Code to set checkerboard to flat color broken with Maple merge. r=pwalton 2012-03-18 13:26:54 -04:00
William Lachance
4c1c7c0bae Bug 734003 - Using white as the base checkerboard color doesn't work. r=pwalton 2012-03-18 13:25:13 -04:00
Mark Finkle
c5c1e891ea Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android 2012-03-17 21:51:39 -04:00
Phil Ringnalda
61c99701de Back out bf4b1d3c624e (bug 732069) on suspicion of causing increased failure to start the browser during tests 2012-03-17 12:32:44 -07:00
Mounir Lamouri
4e1b2e2f0f Bug 734382 - Don't show the list of activities if there is only one. r=blassey 2012-03-14 19:35:47 +01:00
Mounir Lamouri
ff9a8627fc Bug 730289 - Filepicker on Android should allow picking or capturing media instead of having a specific button for capture. r=dougt,wesj ui-r=madhava 2012-03-16 22:44:00 +01:00
Mounir Lamouri
3be7d6c979 Bug 720795 - Screen Orientation API reading and event implementation in Android. r=dougt 2012-03-16 19:43:10 +01:00
Chris Lord
c456a36f39 Bug 732756 - Fix overdrawing of checkerboard. r=kats
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-17 15:08:22 +00:00
Nick Alexander
8571ab26b0 Bug 736007 - avoid Server11RepositorySession NullPointerException. r=rnewman 2012-03-16 17:06:58 -07:00
Ryan VanderMeulen
2f1650c3ae Backout d5b66e64cf44 (bug 732756) to see if it fixes Android crashtests. 2012-03-16 17:17:22 -04:00
Margaret Leibovic
e4065a808b Bug 704977 - (Part 3) Update awesomeness calculation in profile migrator. r=gcp 2012-03-16 11:36:37 -07:00
Margaret Leibovic
940be10d17 Bug 704977 - (Part 2) Awesomeness calculation should use nicer recency decay. r=lucasr 2012-03-16 11:36:34 -07:00
Margaret Leibovic
9adf99c463 Bug 704977 - (Part 1) Clean up filterAllSites to make it more readable. r=lucasr 2012-03-16 11:36:31 -07:00
Richard Newman
9ed75db9e3 Bug 736391 - Don't store places record. r=nalexander 2012-03-16 09:44:30 -07:00
Chris Lord
7907635f98 Bug 732756 - Fix overdrawing of checkerboard. r=kats
Fix overdrawing of the checkerboard layer by letting layers have a concept of
a display-port, and keeping the root layer's display port in track with
Gecko's.
2012-03-16 16:30:23 +00:00
Mark Finkle
4a797c2fa5 Bug 735838 - About Home content displays briefly when opening an external link r=blassey 2012-03-16 12:29:37 -04:00
Marco Bonardo
ff249f47c5 Merge inbound and central 2012-03-16 13:42:16 +01:00
Ed Morley
efdc9a5382 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-15 12:42:01 +00:00
Ryan VanderMeulen
cfe95cfffb Backout 11a5cc8bb70a (bug 723251) due to bustage. 2012-03-14 18:48:22 -04:00
Matt Brubeck
631f4d1cbb Bug 735874 - (2/2) Show/hide the options when an add-on is enabled/disabled [r=mfinkle] 2012-03-14 15:31:21 -07:00
Matt Brubeck
ba6d4259a4 Bug 735874 - (1/2) Refactor add-on manager enable/disable functions [r=mfinkle] 2012-03-14 15:31:21 -07:00
Benoit Girard
cc14d46fb2 Bug 735763 - Turn off FPS by default. r=kats 2012-03-14 14:02:07 -04:00
Kartikaya Gupta
314843ddd5 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Matt Brubeck
38717ac626 Bug 696533 - (2/2) Theme changes for add-on preferences on Android [r=mfinkle] 2012-03-13 22:19:02 -07:00
Matt Brubeck
1c5b6580bf Bug 696533 - (1/2) XBL bindings for add-on settings on Android [r=mfinkle] 2012-03-13 22:18:29 -07:00
Chris Peterson
64834f1fc7 Bug 733196 - Do not use the fullscreen keyboard on Native Fennec (in portrait or landscape orientations). r=blassey 2012-03-13 14:22:54 -07:00
Chris Peterson
913c2b3120 Bug 726393 - Fetch Android's cached TextKeyListener on key down/up events to avoid nulls. r=blassey, f=gbrown 2012-03-12 16:02:06 -07:00
Josh Dhaliwal
2f48fe2135 Bug 723251 - onSaveInstanceState() never saves screenshots to instance state bundle. r=bnicholson 2012-03-14 18:00:29 -04:00
James Willcox
fb9607dbb7 Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
--HG--
extra : rebase_source : 4b845e7dc4224bfd807fb757e7199c91655c0d69
2012-03-12 13:03:54 -04:00
Kartikaya Gupta
17908435d6 Back out 89833e1b3016 (bug 707571) as it is broken with the new maple rewrite. r=backout 2012-03-13 17:11:28 -04:00
Kartikaya Gupta
f8a8d4a442 Bug 725095 - Various fixes to get maple ready to land on m-c. r=Cwiiis
- Disable fps layer.
- Add some comments to FlexibleGLSurfaceView.
- Get rid of getBufferSize and some other related cleanup.
- Add some comments to compositor-invoked functions in GeckoLayerClient.
- Take out unnecessary parameters to Rect constructor.
- Move class variable initialization to constructor.
- Take out kUsingGLLayers.
- Add a comment about changes in background color.
- Fix up convertViewPointToLayerPoint to be more correct.
- Add note in setPositionAndResolution about how it might be wrong.
- Modify provideEGLSurface to not store the surface in mEGLSurface.
- Remove some unneeded, commented out code in GLThread.
2012-03-12 16:20:19 -04:00
Kartikaya Gupta
031a31e69a Fix merge in 60ebef177e6d 2012-03-13 12:28:03 -04:00
Kartikaya Gupta
86677b4af0 Bug 735248 - Add a BOUNCE state to track bounce animations, and disable redraws while we are in a bounce. r=Cwiiis 2012-03-13 12:14:28 -04:00
Kartikaya Gupta
27d3658b62 Bug 735180 - Remove max(0,..) clamps when calculating display port margins; negative margins are needed during overscroll. r=Cwiiis 2012-03-13 12:14:25 -04:00
Benoit Girard
188ca471f6 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Mike Hommey
7bf6b46bc7 Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey
7b24f928ab Bug 716544 - Enable warnings as errors on mobile. r=khuey 2012-03-13 09:47:03 +01:00
Nick Alexander
aec47e5cf2 Bug 734521 - ensure response entities are always consumed. r=rnewman 2012-03-12 19:17:56 -07:00
Nick Alexander
6d68f5e2b7 Bug 709329 - 401 node reassignment. r=rnewman 2012-03-12 19:17:56 -07:00
Brian Nicholson
05b53ecf01 Bug 725213 - Add search engines from text input fields. r=mfinkle 2012-03-12 19:16:27 -07:00
Brian Nicholson
a20a1c5a30 Bug 725213 - Refactor search engines in BrowserApp. r=mfinkle 2012-03-12 19:16:27 -07:00
Ehsan Akhgari
39bfe969ec Backout changeset d2340d74fc19 because of bug 735076 2012-03-12 18:51:44 -04:00
Chris Lord
812a652c60 Bug 732756 - Fix layers with a mask appearing squashed. r=pcwalton
If a mask was set on a layer, each sub-rectangle would end up drawing with the
full texture extents.
2012-03-12 18:49:01 +00:00
Kartikaya Gupta
e936e2d7ac Bug 733896 - Together with 580381e2805c, this completely backs out b520f34d78f1 and 4f5bd60be09e. r=ehsan 2012-03-12 14:42:37 -04:00
James Willcox
2edc6422b3 Bug 728371 - Make Flash work with GLES 2.0 and GL layers r=pcwalton
--HG--
extra : rebase_source : f7a9eb9dab84cb35ba17fb1551051dae2e744d00
2012-03-12 13:03:54 -04:00
Kartikaya Gupta
b8343ac351 Bug 732564 - Ensure that for all possible combinations of CSS viewport and screen size changing, we do the "right thing". r=Cwiiis 2012-03-12 12:03:39 -04:00
Kartikaya Gupta
1afd125683 Backed out changeset 8dad746ee562 for incorrect bug number. 2012-03-12 12:10:15 -04:00
Kartikaya Gupta
efdc47df4a Bug 729646 - Ensure that for all possible combinations of CSS viewport and screen size changing, we do the "right thing". r=Cwiiis 2012-03-12 12:03:39 -04:00
Kartikaya Gupta
047607631d Bug 732564 - Move call to setDisplayPort to just before the first paint. r=Cwiiis 2012-03-12 12:03:39 -04:00
Kartikaya Gupta
75d5d024ed Bug 732564 - Align the rotation/resize codepath with The Grand Viewport Plan of 2012. r=Cwiiis 2012-03-12 12:03:38 -04:00
Kartikaya Gupta
64b509355a Bug 732564 - Make sure to update the display port when we get a viewport update. r=Cwiiis 2012-03-12 12:03:38 -04:00
Kartikaya Gupta
aae04c16b7 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
f247ed9193 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
e0e1489efa 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
4e701194d7 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
7c647e4eb6 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
49a8b558b5 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
56c4bfc1fb 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
5d2b7794ad 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
c7bcd527d5 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
5c8a3ccb5c 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
88c95aac77 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
eb04ec05c2 Bug 732564 - Kill the paint suppression in browser.js. r=Cwiiis 2012-03-12 12:03:37 -04:00
Kartikaya Gupta
53ad75e612 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
43952711c3 Merge m-c -> maple to pick up b159cd73c215 2012-03-10 11:21:26 -05:00
Benoit Girard
5950b72a1a Merge mc->maple 2012-03-09 18:16:26 -05:00
Kartikaya Gupta
6aca404a56 Bug 734479 - Remove deadcode that was introduce via bad merge 3dcb40ebd487. r=BenWa 2012-03-09 17:14:30 -05:00
Benoit Girard
83961041e7 Merge mc->Maple 2012-03-09 11:13:30 -05:00
Benoit Girard
6d13bb7ab3 Merge mc->Maple 2012-03-08 10:22:42 -05:00
Rob Campbell
b13d39e0b9 merge fx-team to m-c 2012-03-08 10:30:11 -04:00
Marina Samuel
1b31d3b02c Bug 733965 - Cursor not closed in ClientsDatabaseAccessor. r=rnewman 2012-03-07 18:01:33 -08:00
Brian Nicholson
7424dbbff3 Bug 732268 - Don't perform intent actions when launching from recent apps. r=blassey 2012-03-07 17:59:27 -08:00
Brian Nicholson
d4b7ee6388 Backout 7a86dc056fe5 for test failures 2012-03-07 16:53:55 -08:00
Benoit Girard
0fda9f736a Merge heads 2012-03-07 11:11:20 -05:00
Benoit Girard
479f0b2fb1 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Margaret Leibovic
95cb0a296f Bug 734332 - Remove unused 'Tab:Selected:Done' message. r=mfinkle 2012-03-14 10:20:47 -07:00
James Willcox
396215f428 Bug 728369 - Fix non-OpenGL plugin positioning on Android r=blassey 2012-03-14 15:43:49 -04:00
Brian Nicholson
f8e4becdd9 Bug 702319 - Fix telemetry message l10n entry. r=mfinkle,Pike 2012-03-14 11:56:57 -07:00
Margaret Leibovic
7aa18f5e6f Bug 734053 - Add-ons are not listed in Add-ons Manager. r=mbrubeck 2012-03-08 17:17:53 -08:00
Brian Nicholson
a9a723ab47 Bug 708161 - POST data for search engine submissions. r=mfinkle 2012-03-08 17:07:47 -08:00
Matt Brubeck
34ff5037e1 Back out 5026c5ad25e7 because of XUL Fennec bustage 2012-03-08 16:42:31 -08:00
Chris Peterson
1ab956c5fd 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
88e96f5baf 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
921124c30e Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Benoit Girard
a39be473cc Bug 733184 - Maple: Remove some Java logging. r=pcwalton 2012-03-05 18:50:00 -05:00
Benoit Girard
d3dd25a616 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
6345ad9c43 Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Matt Brubeck
465b97cf40 Merge mozilla-central to mozilla-inbound 2012-03-08 16:27:40 -08:00
Chris Peterson
57b0ca8ec4 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
0babef1c34 Bug 733434 - Part 1: Register a global UncaughtExceptionHandler that calls Breakpad. r=blassey 2012-03-07 11:19:05 -08:00
Chris Peterson
d90af6eccc 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
9c4c1d64a0 Bug 728263 - Avoid AccountManager leak error on exit. r=mfinkle 2012-03-08 18:48:44 -05:00
Margaret Leibovic
56c8720ee7 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
371d056a17 Bug 732611 - Add channel (Aurora, Beta, etc.) to Android Sync user agent. r=rnewman 2012-03-02 17:36:16 -08:00
Richard Newman
4489af6dbc Bug 709403 - Part 2: add TabsRecord. r=nalexander 2012-03-02 17:36:16 -08:00
Richard Newman
55c493208f Bug 709403 - Part 1: refactor envelope/payload logic in Record. r=nalexander 2012-03-02 17:36:16 -08:00
Richard Newman
ffbc3f3f7d Bug 709403 - Part 0: Add getString to ExtendedJSONObject. r=nalexander 2012-03-02 17:36:16 -08:00
Nick Alexander
bf51e03d3b Bug 722553 - uniformize JPakeClientStage error handling. r=rnewman 2012-03-02 17:36:15 -08:00
Nick Alexander
29daa64e39 Bug 722570 - make BaseResource.{getConnectionManager,enableTLSConnectionManager} thread-safe. r=rnewman 2012-03-02 17:36:15 -08:00
Nick Alexander
bf9b3963dd Bug 722575 - make SerialRecordConsumer.consumerIsDone() thread-safe. r=rnewman 2012-03-02 17:36:15 -08:00
Marina Samuel
ad2aca16d1 Bug 715796 - Part 1: client name. r=rnewman 2012-03-02 17:36:15 -08:00
Marina Samuel
3d8e721d81 Bug 715796 - Part 0: extract SQLiteOpenHelper cache from AndroidBrowserHistoryDataExtender. r=rnewman 2012-03-02 17:36:15 -08:00
Richard Newman
eaf63ec593 Bug 731125 - Use correct X-If-Unmodified-Since header. r=rnewman 2012-03-02 17:36:15 -08:00
Benoit Girard
02e577f6ff Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Jeff Muizelaar
3e461e7948 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
72da51e037 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Chris Lord
ac32c9beee 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
f8ecc16e00 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
841f63a6aa Bug 729373 - Move focus to chrome when overscrolling up with keyboard. r=cpeterson 2012-03-07 19:24:38 -05:00
Eitan Isaacson
bf66087d4c 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
9299a0663c 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
062fa9dbd6 Bug 726018 - Thumbnails test case. r=gbrown 2012-03-07 13:58:31 -08:00
Brian Nicholson
0d46f37125 Bug 726018 - Save thumbnails only for successful page loads. r=mfinkle 2012-03-07 13:58:31 -08:00
Brian Nicholson
27ea1a8047 Bug 726018 - Add tab load states. r=mfinkle 2012-03-07 13:58:31 -08:00
Margaret Leibovic
58ddd1aa14 Bug 733515 - Use localized strings for special folder names. r=rnewman,lucasr 2012-03-07 11:13:03 -08:00
Margaret Leibovic
8cdbb32745 Bug 711177 - Form autocomplete popup doesn't appear on tap of input. r=lucasr 2012-03-07 11:12:57 -08:00
Sriram Ramasubramanian
fc867bc319 Bug 732117: Fennec debug intent on startup path. [r=blassey] 2012-03-07 10:36:38 -08:00
Chris Lord
e7376feda5 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
3daa99ec38 Merge mc->maple 2012-03-01 10:44:44 -05:00
Kartikaya Gupta
c250ca21b7 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
3a1dd894f2 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
0ec8a1cc78 Bug 730967 - Handle Cherckerboard color being null. r=kats
--HG--
extra : rebase_source : f2d33d78ba3b140e6df0fdc239539088f910bc95
2012-02-29 15:45:06 -05:00
Kartikaya Gupta
1c6703fc1a Bug 731619 - Make drawing after rotation work again. r=ehsan 2012-02-29 15:36:59 -05:00
Kartikaya Gupta
e3d5756b24 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
475d958691 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
6d0f6c8ac5 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
7fca225f10 Bug 730687 - Hook up the aboutToCheckerboard code again. r=Cwiiis 2012-02-28 16:14:14 -05:00
Kartikaya Gupta
7026e92ffb Bug 730687 - Fold updateViewport into endDrawing. r=Cwiiis 2012-02-28 16:13:26 -05:00
Kartikaya Gupta
8c39c8a618 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
8fd5e0c78c Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Kartikaya Gupta
248ea3fff3 Bug 729169 - Ensure the display port is clipped to the page bounds. r=Cwiiis 2012-02-28 14:33:13 -05:00
Kartikaya Gupta
a5f2652097 Bug 730681 - Guard against a zero width/height corrupting our viewport. r=Cwiiis 2012-02-28 14:33:05 -05:00
Matt Brubeck
3016e8fe68 Bug 662891 - Require Android 2.2 "Froyo" (API level 8) or higher [r=dougt] 2012-02-28 10:05:05 -08:00
Kartikaya Gupta
bb76282045 Merge m-c 2012-02-27 15:06:35 -05:00
Kartikaya Gupta
288e5c3de2 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
4046012964 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
81fb296b48 Bug 730528 - Extract LooperThread from GeckoAppShell. r=blassey 2012-02-26 22:34:23 -08:00
Kartikaya Gupta
c3ea07fa03 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
b0bc59501b Take out a line I inadvertently left in in cset ce31a3b140a2 2012-02-26 17:27:58 -05:00
Kartikaya Gupta
b54adee8aa 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
4cae639063 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
b389f9539b 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
50b9ec5096 Bug 730349 - Remove some unused variables from browser.js. r= 2012-02-24 10:05:32 -08:00
Doug Turner
63f2081ca1 Merge with mozilla-central 2012-02-24 11:57:27 -08:00
Kartikaya Gupta
8a476c9e1c Remove unused parameters passed to endDrawing 2012-02-24 12:11:29 -05:00
Kartikaya Gupta
e955733a8b Pull out tile dimensions being passed around uselessly 2012-02-24 10:51:41 -05:00
Wes Johnston
76e283c6bd Bug 731341 - LoadLibs should take a context. r=blassey 2012-03-08 10:25:44 -08:00
Matt Brubeck
a5c60ab132 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
eddf07cdb6 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Brad Lassey
132fb3275c 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
Brad Lassey
74f1cbc5b2 bug 702907 - Zooming should be disabled while a video is in fullscreen mode r=mbrubeck
--HG--
extra : rebase_source : 0ca9a36735abf2fcc7ad0b276e56c1f50b209488
2012-03-08 10:53:01 -05:00
Wes Johnston
027518718c Bug 725052 - Check if a password is in the deleted database before inserting it. r=rnewman 2012-03-08 10:25:44 -08:00
Wes Johnston
ac77a0167d Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston
9a38d7ae94 Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey 2012-03-08 10:25:44 -08:00
Wes Johnston
e2aba562a7 Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Wes Johnston
7648bbecb7 Bug 731341 - LoadLibs should take a context. r=blassey 2012-03-08 10:25:44 -08:00
Kartikaya Gupta
60013ccab6 Extract a setOriginAndResolution method to VirtualLayer and drop the locking as it is not needed. 2012-02-23 16:29:22 -05:00
Kartikaya Gupta
1ee0b61340 Rename mTileLayer to mRootLayer since it's not a tile layer anymore. Also change the type to VirtualLayer 2012-02-23 16:21:45 -05:00
Kartikaya Gupta
400acd3392 Move transaction lock and synchronization from callers of updateViewport in to updateViewport itself 2012-02-23 15:31:40 -05:00
Kartikaya Gupta
5ec4799956 Move the beginTransaction from beginDrawing to endDrawing since we don't need to hold the lock during paint 2012-02-23 15:26:20 -05:00
Kartikaya Gupta
82bff0f17d Remove redundant getDisplayportOrigin method from ViewportMetrics; use getOrigin instead 2012-02-23 15:08:05 -05:00
Kartikaya Gupta
60d8dbfa9d Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp 2012-02-23 14:55:15 -05:00
Kartikaya Gupta
bdb76f0f9c Add a bunch of comments to trace which threads transaction-related things are happening on 2012-02-23 13:25:19 -05:00
Kartikaya Gupta
289a985c67 Move the call to moveFrameRateLayer off the UI thread since it calls beginTransaction 2012-02-23 12:54:54 -05:00
Kartikaya Gupta
2d25c1db47 Convert tabs to spaces 2012-02-23 11:31:01 -05:00
Kartikaya Gupta
775d2610b1 Re-land a fixed c8451607557b (Take out the empty GeckoLayerClient.dimensionsChanged method and the unneeded support architecture for it) 2012-02-23 10:09:38 -05:00
Benoit Girard
5db11a7118 Merge backout 2012-02-23 11:09:14 -05:00
Benoit Girard
dbfc4d8191 Backed out changeset c8451607557b 2012-02-23 11:04:11 -05:00
Kartikaya Gupta
cd3149cdd8 Take out unused MultiTileLayer 2012-02-23 10:11:16 -05:00
Kartikaya Gupta
59c802112d Take out the empty GeckoLayerClient.dimensionsChanged method and the unneeded support architecture for it 2012-02-23 10:09:38 -05:00
Chris Lord
66a3000247 Bug 729537 - Make sure the displayport is always set correctly. r=mfinkle
We were seeing unexpectedly large buffers and oddness until the first
pinch-zoom. This was caused by not setting the displayport correctly.

Change things up so that we just use the window size and resize events instead
of the viewport size (which is sent asynchronously to resize events) and make
sure to set the displayport whenever necessary.
2012-02-23 13:45:32 +00:00
Ehsan Akhgari
a49ceaf19b Bug 728614 - Part 8: Remove the unneeded assignment from getViewTransform; r=kats 2012-02-22 21:27:36 -05:00
Ehsan Akhgari
f5fdc6357f Address the review comment, missed from the previous push 2012-02-22 17:15:53 -05:00
Ehsan Akhgari
0d41577b36 Bug 728614 - Part 7: Pause painting when the orientation changes in order to avoid getting intermediate frames painted; r=kats 2012-02-22 15:14:28 -05:00
Ehsan Akhgari
21df951827 Bug 728614 - Fix the zoom level when the device rotates on pages with <meta viewport> information; r=kats 2012-02-22 13:13:16 -05:00
Kartikaya Gupta
6cd2dcb55d Strip down GeckoLayerClient - scope down visibility of fields/methods, remove empty methods and dead code, and inline some one-liner methods. 2012-02-22 15:08:46 -05:00
Kartikaya Gupta
04fe7046ae Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Doug Turner
2f4a76e385 Bad merge. Fixing missing curly brace 2012-02-22 09:58:33 -08:00
Doug Turner
476b362925 merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Kartikaya Gupta
c37b0d4191 Bug 729528 - Add logging to figure out how much viewport prediction will help us. r=Cwiiis 2012-02-22 12:02:38 -05:00
Ehsan Akhgari
e6282dbce5 Backout changeset b520f34d78f1 but keep the callback parts because they may be useful for other things 2012-02-22 11:35:25 -05:00
Kartikaya Gupta
2320513555 Rip out the unused viewport bias and optimum offset code 2012-02-22 10:22:31 -05:00
Kartikaya Gupta
c2af89696d Reduce some unnecessary logcat spew 2012-02-22 09:37:39 -05:00
Mark Finkle
552d8a015d Bug 729324 - Always make sure 'Quit' is last menu r=sriram 2012-02-22 00:12:33 -05:00
Mark Finkle
81c8d9f52b Bug 729247 - crash [@ java.lang.NullPointerException: at org.mozilla.gecko.DoorHangerPopup.addDoorHanger(DoorHangerPopup.java)] r=blassey 2012-02-22 00:12:22 -05:00
Mark Finkle
f54d2220c7 Bug 729115 - java.lang.NullPointerException @ org.mozilla.gecko.GeckoApp.processThumbnail(GeckoApp.java:642) r=blassey 2012-02-22 00:12:14 -05:00
Mark Finkle
efe7e6b007 Bug 728782 - Add support for Bookmark Link context menu r=wesj r=gbrown 2012-02-22 00:11:50 -05:00
Chenxia Liu
de66729b71 Bug 730189 - Fix internet connection check. r=rnewman 2012-02-26 13:56:29 -08:00
Brian Nicholson
c3b44a2962 Bug 725990 - Add link support to doorhangers. r=margaret 2012-03-06 15:08:55 -08:00
Margaret Leibovic
0bc1bd559b Bug 717787 - Suggestions from <datalist> are not shown in Native Fennec. r=mbrubeck 2012-03-06 13:56:16 -08:00
Margaret Leibovic
1878e38186 backout 1d4397ee1e9a for wrong bug number 2012-03-06 14:01:02 -08:00
Margaret Leibovic
dfa5ba7f5f Bug 711624 - JS prompt dialog will appear in the foreground when loading the page with the code in the background. r=wesj 2012-03-06 13:56:16 -08:00
Margaret Leibovic
9684e90244 Bug 733233 - Create getTabForWindow helper function. r=wesj 2012-03-06 13:56:16 -08:00
Margaret Leibovic
f018b1d419 Bug 628616 - Make sure suggestions from <datalist> are shown in Firefox Mobile UI. r=mbrubeck 2012-03-06 13:56:16 -08:00
Joel Maher
aa656b2fde Bug 731637 - robocop on tegras hit OOM for PixelTest due to getPaintedSurface() array creation. r=kats 2012-03-06 15:08:45 -05:00
Margaret Leibovic
852f708ed4 Bug 704879 - (6/6) Show form validation message when invalid element is focused. r=lucasr 2012-03-06 11:56:44 -08:00
Margaret Leibovic
775ec3156f Bug 704879 - (5/6) Add form validation messages. r=lucasr 2012-03-06 11:56:44 -08:00
Margaret Leibovic
d15e231c7e Bug 704879 - (4.5/6) Refactor message handling code into separate private messages. r=lucasr 2012-03-06 11:56:43 -08:00
Margaret Leibovic
d586835f41 Bug 704879 - (4/6) Make FormAssistant in charge of hiding an empty popup. r=lucasr 2012-03-06 11:56:43 -08:00
Margaret Leibovic
59fb7e46c1 Bug 704879 - (3/6) Refactor FormAssistant autocomplete logic. r=lucasr 2012-03-06 11:56:42 -08:00
Margaret Leibovic
4132ae495c Bug 704879 - (2/6) Move FormAssist:AutoComplete message handling to FormAssistPopup. r=lucasr 2012-03-06 11:56:42 -08:00
Margaret Leibovic
781f4b9f0c Bug 704879 - (1/6) Refactor AutoCompletePopup to FormAssistPopup. r=lucasr
--HG--
rename : mobile/android/base/AutoCompletePopup.java => mobile/android/base/FormAssistPopup.java
2012-03-06 11:56:41 -08:00
Matt Brubeck
322486105a Bug 730418 - Don't open a new tab when the search key is pressed [r=sriram] 2012-03-06 09:48:33 -08:00
Geoff Lankow
05618d9475 Bug 731041 - Tidy up addon inline preferences code, mobile; r=mbrubeck, Unfocused 2012-03-07 00:41:57 +13:00
Ed Morley
be847bb9bd Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Brian Nicholson
fe922faff3 Bug 727973 - Remove notifyChange from LocalBrowserDB. r=mfinkle 2012-02-21 16:34:21 -08:00
Wes Johnston
a07b388465 Bug 727817 - Add hidden click to play button for mobile video controls. r=mfinkle,dolske 2012-02-21 15:53:21 -08:00
Mounir Lamouri
80e7747b87 Bug 727477 - Workaround Galaxy Nexus bug that prevented Battery API to work. r=dougt
This is also changing the default values sent if the device has no battery.
2012-02-22 00:30:51 +01:00
Gian-Carlo Pascutto
4742e3f7df Bug 726024 - Rename PlacesTask to Runnable. r=lucasr 2012-02-21 14:17:18 +01:00
Gian-Carlo Pascutto
e8927abe4d Bug 726024 - Use Content Provider directly in Profile Migration. r=lucasr 2012-02-21 14:17:18 +01:00
Gian-Carlo Pascutto
12a1e46b4f Bug 726024 - Allow modified and created dates to be set. r=lucasr 2012-02-21 14:17:18 +01:00
Brad Lassey
bf42edc9e8 bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt 2012-02-18 18:32:50 -05:00
Benoit Girard
a716a386a9 Don't do TexImage2D+TexSubImage2D 2012-02-21 16:44:59 -05:00
Benoit Girard
d55e42e1bd mCheckerboardShouldShowChecks should default to true. DONTBUILD 2012-02-21 16:19:23 -05:00
Ehsan Akhgari
f164e7a1bc Bug 728614 - Part 4: Remove the viewport structure from browser.js; r=Cwiiis 2012-02-21 13:17:56 -05:00
Jeff Muizelaar
d80cddc229 Bug 726467. Remove now incorrect transformations to screen space. r=mfinkle
The java front end is handling zoom now. We shouldn't need to and
so don't need these transformations at all. This fixes link
hilighting because we're now selecting the right element to hilight.

--HG--
extra : rebase_source : 961b7bba2e7ae90eac7a8957867af7aea11b737b
2012-02-21 11:51:42 -05:00
Chris Lord
1cd5a15deb Bug 728978 - Fix scrollToFocusedInput in browser.js. r=mfinkle
This fixes scrollToFocusedInput by doing the extra scrolling that scrollIntoView
can't do (due to the way we zoom), and by making sure the events land in the
right order.
2012-02-21 16:46:48 +00:00
Benoit Girard
081dd8e657 Backout c1161ca4bf13 for test failures 2012-02-21 11:34:00 -05:00
Jeff Muizelaar
c38da242ab Bug 728622. Remove dead code for dealing with view in Layer.java. r=clord
Now that bug 727939 has landed we don't seem to have any need to keep
the view around.
2012-02-21 11:05:09 -05:00
Ali Juma
45c832eb71 Bug 728620 - Followup: Add a FIXME comment. DONTBUILD 2012-02-21 10:30:57 -05:00
Brad Lassey
f92e6ed0ba bug 726827 - MAPLE: Black thumbnails r=jmuizelaar 2012-02-21 01:22:56 -05:00
Ali Juma
5892a8ee82 Bug 728620 - Ensure we draw after moving back/forward in history. 2012-02-20 20:47:00 -05:00
Ehsan Akhgari
437f44d0c1 Remove viewportExcess 2012-02-20 19:40:50 -05:00
Ehsan Akhgari
fe88b00938 Bug 727140 - OOM due to zoom of background tabs going to zero. This prevents viewport resizing happening on background tabs which should be a bit faster. 2012-02-20 18:37:21 -05:00
Joe Drew
fd29de011a Bug 728631 - Don't disable blending inside our Java rendering code, because we rely on it remaining set from LayerManagerOGL. r=dougt
--HG--
extra : rebase_source : 9fe18ddb4582455fe428f14acb8a931e1b1e4661
2012-02-20 14:48:36 -08:00
Ehsan Akhgari
0699b06da9 Fix clicking 2012-02-20 17:47:32 -05:00
Ehsan Akhgari
71bd0669a9 Bug 728614 - Part 2: Remove viewport offsets 2012-02-20 16:51:37 -05:00
Ehsan Akhgari
7781198b39 Bug 728614 - Part 1: Remove updateTransform(); r=dougt 2012-02-20 16:39:42 -05:00
Brad Lassey
44e01a9f42 Bug 728614 - Part 0: Allow querying the viewport information from Java; r=dougt 2012-02-18 19:22:56 -05:00
Ehsan Akhgari
d61a5f9e94 Backout changeset c1161ca4bf13 2012-02-20 16:37:51 -05:00
Ehsan Akhgari
d48b97d6ab Backed out changeset cfcc11281ca2 2012-02-20 16:36:56 -05:00
Ehsan Akhgari
cb655d70e7 Bug 728614 - Part 1: Remove updateTransform(); r=dougt 2012-02-20 16:36:15 -05:00
Brad Lassey
115c977f43 [mq]: meta_viewport_query
--HG--
extra : rebase_source : 586dfca0cf7d9446e532ecfa38fd126225db36b9
2012-02-18 18:32:50 -05:00
Chris Lord
ae8d75ec5b Bug 709813 - Fix fullscreen mode.
While the bug was originally filed for the Java-compositor version of fennec,
the same symptoms also occur in Maple. This patch removes the vbox that browsers
were put in, as it's no longer necessary.
2012-02-20 18:13:29 +00:00
Blair McBride
86be879493 Bug 721287 - Change extensions.getAddons.search.browseURL default to include OS and version. r=dtownsend 2012-03-07 21:18:30 +13:00
Blair McBride
1129b6f8bd Bug 711679 - Send background version checks to new domain. r=darktrojan,dtownsend 2012-03-07 21:18:28 +13:00
Chris Lord
4454233700 Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.

Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).
2012-02-17 23:44:47 +00:00
Chris Lord
93986b5c67 Backout scroll-clamp stuff again
I hope this makes it easier to merge and I'm not just wasting time...
2012-02-19 09:26:52 +00:00
Brad Lassey
ed95e9364f merge again 2012-02-18 18:17:10 -05:00
Jeff Muizelaar
3a93b5a4c5 Bug 727939. Avoid double painting after invalidation. r=bgirard
This reduces the paint rate on things like runfield
so that we only paint at the rate that we're invalidating.

We do so by not requesting render in endTransaction

It looks like endTransaction is only called by endDrawing
on the gecko thread and only on VirtualLayers. We don't
need the extra requestRender call because we've already
done the rendering.
2012-02-18 18:06:30 -05:00
Brad Lassey
34aa551009 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey
e85e784817 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00
Patrick Walton
a93537390c Stub untested gralloc support, disabled for now 2012-02-17 23:53:21 -08:00
Doug Turner
6362021c1f Bug 727140 - OOM due to zoom of background tabs going to zero. This prevents viewport resizing happening on background tabs which should be a bit faster. r=pcwalton
--HG--
extra : rebase_source : b0922946f42996f1f0454c58cb6bbdb7a5243653
2012-02-17 23:08:47 -08:00
Chris Lord
edde16aee5 Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.

Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).
2012-02-17 23:44:47 +00:00
Chris Lord
b7a97d4f18 Backout 87134:1c1c22bd0291 and 87135:a4af71f1bc1f
Realised I made a mistake with the nsIFrameLoaderOwner.clampScrollPosition
patch and I want this to go in as a single commit and not break building of
Maple.
2012-02-18 00:46:23 +00:00
Chris Lord
13446bc9de Bug 726817 - Use nsIFrameLoaderOwner.clampScrollPosition to fix clip on zoom.
Zooming in caused the right and bottom edges of the page to be clipped. This
was because we would try to scroll to coordinates that, untransformed, would be
invalid. The document has no knowledge of the zoom, and so the scroll position
needs to be forced somehow.

Java compositor accomplished this using a CSS translation transformation, this
accomplishes it by turning off scroll position clamping (a technique that the
Java compositor should also employ, if the patch this relies on passes review).

--HG--
extra : rebase_source : a13403d53fed39e1f042da3611147da1c0420cf0
2012-02-17 23:44:47 +00:00
Matt Brubeck
ad6c5d8abc Bug 728379 - [maple] Use setCSSViewport to set the layout viewport [r=ehsan] 2012-02-17 13:15:12 -08:00
Chris Lord
78e424b0f7 Fix screen/window size change events.
Window size was being treated as equivalent to screen size, which it isn't.
Make sure to send the size-changed event when either the window size or the
screen size change, and to properly differentiate between the two.
2012-02-17 17:25:52 +00:00
Ehsan Akhgari
39892b92bf Don't call updateViewport two times in a row 2012-02-17 11:58:36 -05:00
Kartikaya Gupta
c4e060665c (Part 5) Move overrides and abstract/interface implementations up from GeckoGLLayerClient into GeckoLayerClient 2012-02-17 10:33:23 -05:00
Kartikaya Gupta
e51de4eecb (Part 4) Mark all gfx functions invoked by JNI so I don't shoot myself in the foot shortly 2012-02-17 10:13:56 -05:00
Kartikaya Gupta
a9d7bc61fb (Part 3) Collapse LayerClient into GeckoLayerClient, the only subclass 2012-02-17 10:03:28 -05:00
Kartikaya Gupta
ebc21570a5 (Part 2) Stop PlaceholderLayerClient from extending LayerClient since it has nothing in common with GeckoLayerClient and makes a mockery of OOP 2012-02-17 09:56:47 -05:00
Kartikaya Gupta
a5b438d771 (Part 1) Get rid of LayerController.getLayerClient() 2012-02-17 09:32:24 -05:00
Kartikaya Gupta
43b2051ae9 Also remove dangling entrails of the layer client type 2012-02-17 09:16:14 -05:00
Kartikaya Gupta
417e4428c0 Rip out unused GeckoSoftwareLayerClient since we've committed to GL layers. 2012-02-17 09:04:50 -05:00
Kartikaya Gupta
31c5b5c646 Put back some things left out of dougt's merge 2012-02-17 01:36:49 -05:00
Doug Turner
222fba130c Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Kartikaya Gupta
64f4f0f8e3 Cache the checkberboard color so that we don't redo a bunch of work uselessly 2012-02-16 12:04:37 -05:00
Kartikaya Gupta
3ad69b3dbd Bug 727565 - Fix new compiler warnings for javac 1.7. r=bnicholson 2012-02-15 22:55:47 -05:00
Sriram Ramasubramanian
cb1c69f23d Bug 727610: Supporting fullscreen on ICS. [r=mfinkle] 2012-02-15 16:14:02 -08:00
Aki Sasaki
fdb46a10e1 bug 725294 - updated mobile mozconfigs. r=catlee 2012-03-02 11:55:21 -08:00
Brad Lassey
ab48da35f9 bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Patrick Walton
fa07e9b633 Don't render while pinching. Reduces jank and makes zooming easier to debug. 2012-02-13 22:48:00 -08:00
Patrick Walton
062af3911c Scale the displayport by the zoom factor 2012-02-13 22:32:31 -08:00
Patrick Walton
dd0a3bbc18 Fix scissor rect and use the Java compositor's cached viewport metrics when drawing decorations 2012-02-13 20:20:38 -08:00
Kartikaya Gupta
daf42909cc Guard against OOMing in GeckoGLLayerClient.getBitmap like we were doing in GeckoSoftwareLayerClient 2012-02-13 18:15:27 -05:00
Patrick Walton
b4211fd4ba Expose ActivateProgram() and DeactivateProgram() to widget 2012-02-13 13:55:10 -08:00
Kartikaya Gupta
3eaca9fb0c Reduce diff against m-c; remove unrelated change in AboutHomeContent 2012-02-13 17:43:08 -05:00
Patrick Walton
09501a39aa Split out Java compositor shader program activation and deactivation into separate functions 2012-02-13 12:27:09 -08:00
Ali Juma
a74c63a281 Enable zooming. 2012-02-12 15:06:34 -05:00
Patrick Walton
8a076808c5 Deactivate vertex attribute arrays and the program. Seems to fix the crashes on PowerVR. 2012-02-10 23:50:13 -08:00
Patrick Walton
78cb81814f Uncomment the Java compositor integration, except for the part that causes PowerVR crashes 2012-02-10 23:03:02 -08:00
Patrick Walton
3b99552765 Fix browser.js ReferenceError 2012-02-10 16:17:15 -08:00
Ali Juma
64839a1fdf Fix race conditions when updating view transform, by switching to an absolute transform. 2012-02-10 16:08:24 -05:00
Ali Juma
96f267b56a Merge heads. 2012-02-10 10:31:31 -05:00
Patrick Walton
fdcd9a93f7 Expose the necessary Java routines to render decorations through JNI 2012-02-09 22:58:18 -08:00
Richard Newman
098eea8f40 Bug 727725 - Incorrect assertion in GlobalSession. 2012-02-16 14:58:31 -08:00
Richard Newman
85abf16249 Bug 726194 - Sync pairing succeeds, but is OFF. 2012-02-16 14:28:04 -08:00
Matt Brubeck
fe86b1e34e Bug 728005 - Crash when entering full screen mode on Android 2.3 [r=sriram] 2012-02-16 14:22:27 -08:00
Mark Finkle
de6c422c44 Bug 726399 - Robotium: Add simple test for 'Open Link' context menu r=gbrown 2012-02-16 14:32:33 -05:00
Mark Finkle
3e353a996a Backout eb9c17efd1e4, wrong patch 2012-02-16 14:21:52 -05:00
Mark Finkle
0051759203 Bug 727730 - Add support for Share Link context menu r=mbrubeck 2012-02-16 14:07:12 -05:00
Mark Finkle
a70ef92093 Bug 726399 - Robotium: Add simple test for 'Open Link' context menu r=gbrown 2012-02-16 14:06:58 -05:00
Justin Lebar
cc201aa57f Bug 727381 - On Android Fennec, send haptic feedback while a vibration is playing, so as not to clobber it. r=blassey 2012-02-15 13:56:00 -05:00
Wes Johnston
3620e4bf29 Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey
* * *
Bug 718760 - Fix bustage by removing extra apk_mtime variable. r=glandium
2012-03-08 10:25:44 -08:00
Gian-Carlo Pascutto
7e2fd8ea0d Bug 721352 - Make Profile Migration use batch operations. r=lucasr 2012-03-12 22:48:15 +01:00
Gian-Carlo Pascutto
ddd1e4d44e Bug 721352 - Add support for batch operations in LocalDB. r=lucasr 2012-03-12 22:48:15 +01:00
Wes Johnston
be5f913adf Backout 1d78e84e678c 2012-03-12 13:35:51 -07:00
Ali Juma
54af353fd7 Code cleanup. 2012-02-09 17:39:04 -05:00
Mike Hommey
afba0fac42 Bug 728872 - NULL-check mSoftwareLayerClient in GeckoApp$SessionSnapshotRunnable.run. r=mfinkle 2012-02-21 08:11:37 +01:00
Lucas Rocha
4c9b55784a Bug 723841 - Add a foreign key to bookmarks table and sanitize special folders (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
bbd029f43e Bug 723841 - Define a constant for the predefined root id for bookmarks (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
b12f77ee39 Bug 723841 - Generalize code to create or update special folders (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
4b17e0fc01 Bug 723841 - Factor out methods to create each part of the database (r=rnewman) 2012-02-20 19:28:27 +00:00
Chris Lord
fdf006bca5 Bug 709813 - Fix full-screen mode in native android fennec. r=mbrubeck
The style rule that gets set for full-screen mode was conflicting with how we
size the browser element for viewport/displayport support. Size the browser
using min-width/height to work around this.
2012-02-20 17:21:56 +00:00
Patrick Walton
efc1f6ee1d Split up the LayerRenderer's drawing logic in preparation for exposing it to JNI 2012-02-08 22:27:01 -08:00
Patrick Walton
83f031eba7 Bug 723036 - Port the Java compositor to OpenGL ES 2.0 2012-02-08 21:13:08 -08:00
Benoit Girard
beb2ae7df8 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Benoit Girard
b262f4ad9d Merge working on Nexus S 2012-02-08 20:23:27 -05:00
Ali Juma
a2d1806910 Merge. 2012-02-08 19:55:13 -05:00
Benoit Girard
ea6c7d744f Merge fixes 2012-02-08 19:01:21 -05:00
Benoit Girard
2f35d690b6 Merge m-c into maple 2012-02-08 16:43:22 -05:00
Patrick Walton
0910dba276 Remove CSS transforms as they're basically incompatible with displayports 2012-02-08 13:12:12 -08:00
Ali Juma
b0394626a2 Fix incorrect rendering after orientation change. 2012-02-08 16:09:10 -05:00
Benoit Girard
ad35e17cb4 Merge working head with display port head 2012-02-08 12:18:27 -05:00
Benoit Girard
9b2cd37240 Remove RemoveAbstractView, pushing new head 2012-02-08 10:46:26 -05:00
Patrick Walton
67c4b7f7be Allow redraw while a finger is down. Make this logic work properly later. 2012-02-07 23:37:29 -08:00
Patrick Walton
008db0822a Lower the minimum viewport change delay to 25 for now 2012-02-07 23:10:58 -08:00
Patrick Walton
aa35ff3cd3 Use a display port in browser.js. Disable zooming and CSS viewport adjustment for now. 2012-02-07 22:45:41 -08:00
Richard Newman
73bab25005 Bug 730526 - Cleanup and idiom in BrowserProvider.java.in. r=lucasr 2012-02-27 10:51:28 -08:00
Richard Newman
36361ff9c0 Bug 727146: Part 1: deleteHistory should clear private data from the database. r=lucasr 2012-02-27 10:46:36 -08:00
Richard Newman
078d7d6765 Bug 727146: Part 0: code tidying in BrowserProvider. r=lucasr 2012-02-27 10:46:35 -08:00
Richard Newman
1484ed347e Bug 730557 - Part 3: bend Sync's Authorities.java into GlobalConstants. r=rnewman 2012-02-27 10:23:33 -08:00
Richard Newman
a8a3cf0481 Bug 730557 - Part 2: Stub out parts of BrowserContractHelpers that reflect unlanded parts of Fennec. r=nalexander 2012-02-27 10:23:33 -08:00
Richard Newman
eeab16ce33 Bug 730557 - Part 1: Use Fennec BrowserContract directly. r=nalexander 2012-02-27 10:23:33 -08:00
Richard Newman
1af00ae805 Bug 730637 - Base64 support for HttpClient in Android 2.1. r=nalexander 2012-02-27 10:23:33 -08:00
Wes Johnston
459a282d8d Bug 725881 - Content provider for form history. r=lucasr 2012-02-27 10:10:14 -08:00
Margaret Leibovic
5090ad1dec Bug 730358 - Don't use LinkedList's push/pop methods. r=lucasr 2012-02-24 12:12:43 -08:00
Kartikaya Gupta
e56395dfae Bug 730710 - Add a GeckoEventResponder interface to allow event listeners to respond to events as well. r=blassey 2012-02-27 10:13:36 -05:00
Henri Sivonen
56068efeb2 Bug 650784 part 0.5 - Let the build system know that parser/html/ can have .idl files. rs=smaug. 2012-02-27 13:57:48 +02:00
Gian-Carlo Pascutto
17e01b33af Bug 726821 - Push Cursor usage down into native bridge code. r=blassey 2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
32ebb16de0 Bug 727264 - Update Profile Migration to use Cursors. r=blassey 2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
50142bc5c6 Bug 727264 - Add an extra argument to pass more SQLite query results. Cleanup & simplify bridge. r=blassey 2012-02-27 12:28:21 +01:00
Marina Samuel
74bb876536 Bug 715796 - Clients engine. r=rnewman 2012-03-05 20:53:14 -08:00
Nick Alexander
9a97620d9d Bug 732114 - Untangle Bookmark specific code in AndroidBrowserRepositoryTest. r=rnewman 2012-03-05 20:53:14 -08:00
Richard Newman
bb48da370c Bug 732768 - Eliminate shared state and concurrency problems in tests. r=nalexander 2012-03-05 20:53:14 -08:00