Commit Graph

271 Commits

Author SHA1 Message Date
Ehsan Akhgari
d3f07aa706 Backed out changeset cfcc11281ca2 2012-02-20 16:36:56 -05:00
Ehsan Akhgari
4d2731992b Bug 728614 - Part 1: Remove updateTransform(); r=dougt 2012-02-20 16:36:15 -05:00
Chris Lord
e0542ea7ad 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
Chris Lord
2194ad0aa3 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
3c965d3f24 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
9e55996669 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Doug Turner
b376c8db03 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
1c3a4da33d 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
d3e2a70ed1 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
f5bd1688ff 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
9bd972b678 Bug 728379 - [maple] Use setCSSViewport to set the layout viewport [r=ehsan] 2012-02-17 13:15:12 -08:00
Ehsan Akhgari
58f6991fe8 Don't call updateViewport two times in a row 2012-02-17 11:58:36 -05:00
Doug Turner
b66a0f8126 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Brad Lassey
585ae3af5b bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Brian Nicholson
4b8edcecc8 Bug 725609 - Add Fennec bookmarklet support. r=mfinkle 2012-02-22 18:26:04 -08:00
Patrick Walton
56de51a1ef Scale the displayport by the zoom factor 2012-02-13 22:32:31 -08:00
Margaret Leibovic
f2d5ea5612 Bug 725660 - "about:blank" briefly appears in the urlbar when openings links from external apps. r=mfinkle 2012-02-13 17:39:17 -08:00
Ali Juma
68ad1b725b Enable zooming. 2012-02-12 15:06:34 -05:00
Patrick Walton
0c0424a446 Fix browser.js ReferenceError 2012-02-10 16:17:15 -08:00
Ali Juma
77cc2a2579 Fix race conditions when updating view transform, by switching to an absolute transform. 2012-02-10 16:08:24 -05:00
Mark Finkle
07856bcf9a Bug 727730 - Add support for Share Link context menu r=mbrubeck 2012-02-16 14:07:12 -05:00
Benoit Girard
b18a77e427 Merge viewport with tip 2012-02-08 20:42:17 -05:00
Benoit Girard
7dc71cdb8d Merge m-c into maple 2012-02-08 16:43:22 -05:00
Patrick Walton
0003ee017b Remove CSS transforms as they're basically incompatible with displayports 2012-02-08 13:12:12 -08:00
Patrick Walton
aed278fef4 Use a display port in browser.js. Disable zooming and CSS viewport adjustment for now. 2012-02-07 22:45:41 -08:00
Wes Johnston
8abaa21e10 Bug 725881 - Content provider for form history. r=lucasr 2012-02-27 10:10:14 -08:00
Brian Nicholson
11527c9e91 Bug 726080 - Only update tab URLs if valid. r=mfinkle 2012-03-05 13:20:04 -08:00
Wes Johnston
ac74e609f7 Backout 4253a5a838a8 and 7f5e40eb37c1 2012-03-05 12:01:48 -08:00
Wes Johnston
b124c1f94e Bug 719276 - Remove tap highlight when viewport changes. r=mbrubeck 2012-03-05 09:11:46 -08:00
Wes Johnston
f5e4ab77ba Bug 719276 - Use touchstart to determine when to start showing tap highlight. r=mbrubeck 2012-03-05 09:11:17 -08:00
Wes Johnston
e14f4abcdd Bug 723658 - Use elements size on screen to determine whether or not to double tap zoom. r=mbrubeck 2012-03-05 09:06:50 -08:00
Patrick Walton
8f577231bf Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Matt Brubeck
74ecbd9572 Bug 732063 - Move the SelectHelper code into a separate file [r=margaret] 2012-03-01 10:58:19 -08:00
Patrick Walton
f15ef916a3 Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Margaret Leibovic
aeb6b8d861 Bug 719868 - Progress throbber still shows when we load about:home on startup. r=mfinkle 2012-01-26 15:07:38 -08:00
Brian Nicholson
d9e9735f31 Bug 710845 - Don't show disabled search engines in AwesomeBar. r=mfinkle 2012-01-30 18:14:53 -08:00
Matt Brubeck
02fed7f5e6 Bug 726863 - Use mobile-specific strings for add-on download error messages [r=mfinkle] 2012-02-14 15:32:45 -08:00
Brian Nicholson
b4d0d5faf4 Bug 701092 - Limit session restore attempts. r=mfinkle 2012-01-27 22:04:54 -08:00
Margaret Leibovic
5f93132381 backout 7b3a4af0e68a for twinopen failures 2012-01-27 11:43:22 -08:00
Mark Finkle
fd0d455e66 Bug 721639 - Add some canvas optimizations for thumbnail generation [r=mbrubeck] 2012-01-27 14:27:26 -05:00
Margaret Leibovic
12231e0ec5 Bug 719868 - Progress throbber still shows when we load about:home on startup. r=mfinkle 2012-01-26 15:07:38 -08:00
Chris Lord
da87f886f0 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
Chris Lord
6d06b90bbe Bug 724230 - Backout ondemand tiling. r=blassey, kats
This backs out changes d8fc13006aa4, ddde7a49f6f7, 34b1cc9454d2 and
8919c54229e1, leaving in some initialisation fixes that were introduced when
rebasing.

This work may be re-applied at a later date.
2012-02-04 18:49:59 -05:00
William Lachance
fb3af1b9dd Bug 719570 Provide option to change checkerboard to flat color on fennec for eideticker automation r=pcwalton 2012-02-03 12:35:01 -08:00
Margaret Leibovic
31b8aad0d6 Bug 719875 - "Tap to activate plugin" placeholder can't be tapped after going back/forward in history. r=mfinkle 2012-01-31 12:49:25 -08:00
Doug Turner
ffca4e270f Bug 721006 - Crash when setting a very large document.title. r=mfinkle 2012-02-01 22:44:18 -05:00
Brian Nicholson
178ff2f66c Bug 723349 - Fix params in addTab on session restore failure. r=mfinkle 2012-02-01 17:51:41 -08:00
Brian Nicholson
8f0ec0b59e Bug 719479 - Don't animate tab counter during session restore. r=mfinkle 2012-02-01 14:25:50 -08:00
Matt Brubeck
6d71a31f2f Bug 720932 - Clean up default search engine code [r=wesj] 2012-02-01 16:25:08 -08:00
Matt Brubeck
00487aa992 Bug 723084 - Remove observers when tabs are destroyed [r=bnicholson] 2012-02-01 16:20:13 -08:00
Kartikaya Gupta
fb5f47f235 Bug 718684 - Fix rect calculation so that the form assist works within iframes too. r=sriram 2012-02-01 13:54:42 -05:00
Kartikaya Gupta
839edba320 Bug 718684 - Cleanup: remove trailing whitespace and unnecessary variables. r=sriram 2012-02-01 13:54:18 -05:00
Kartikaya Gupta
9fd13cc033 Bug 720442 - Scroll input fields to bottom of viewport rather than top. r=blassey 2012-01-26 13:16:45 -05:00
Matt Brubeck
cf533f2b23 Bug 719557 - "Full Screen" add-on (window.fullScreen) has problems in native Fennec [r=blassey] 2012-01-26 09:17:33 -08:00
Kartikaya Gupta
422cf8f490 Bug 712065 - Special treatment is needed to get the size of SVG documents. r=mfinkle 2012-01-26 09:55:29 -05:00
Brad Lassey
2dd45683b7 bug 721209 - tab screenshots unnecessarily big for background tabs r=mfinkle 2012-01-26 01:35:32 -05:00
Brad Lassey
27309e0568 bug 721208 - Tab screenshots can hose the gecko event loop r=mfinkle 2012-01-26 02:46:16 -05:00
Brad Lassey
ec525a125a backout out 1b0c8e6f01e2 to fix its commit message 2012-01-26 02:57:41 -05:00
Brad Lassey
5832a3ad0a bug 721032 - Make thumbnails in about:home and tab menu identical r=mfinkle 2012-01-26 02:46:16 -05:00
Margaret Leibovic
fa3a7708d0 Bug 721220 - Send message back to java after tab selection is complete. r=mbrubeck 2012-01-25 20:06:08 -08:00
Mark Finkle
82d29ac312 Bug 722627 - NativeWindow.contextmenus.remove creates a JS exception r=wesj 2012-02-01 00:25:01 -05:00
Margaret Leibovic
cafa24a697 Bug 722586 - Correctly update active/inactive browsers. r=mfinkle 2012-01-31 09:35:23 -08:00
Brian Nicholson
a8531542b4 Bug 721341 - Get zombie tab thumbnails from database. r=blassey 2012-01-31 14:13:33 -08:00
Matt Brubeck
5077ebeaea Bug 718296 - Use third-party fixup on location bar searches [r=wesj] 2012-01-24 18:39:22 -08:00
Wes Johnston
8e90572458 Bug 720058 - Follow up for review comments. r=bnicholson 2012-01-25 02:34:09 +01:00
Wes Johnston
89eb7a6804 Bug 716595 - Don't alter selection if we cancel a select dialog. r=mleibovic 2012-01-25 01:31:33 +01:00
Wes Johnston
0e1b165b9b Bug 720058 - Only allow showing one select ui at a time. r=bnicholson 2012-01-25 01:31:33 +01:00
Wes Johnston
b15cefee9e Bug 603008 - Only delay panning on pages with touch listeners. r=mfinkle 2012-01-25 01:31:33 +01:00
Patrick Walton
a91400a930 Bug 710533 - Tint the checkerboard with the background color of the page. r=Cwiiis 2012-01-23 20:10:24 -08:00
Margaret Leibovic
c8368ae674 Bug 720427 - Save as PDF is using an invalid URI method. r=wesj 2012-01-24 09:16:56 -08:00
Margaret Leibovic
76b9be44e0 Bug 719493 - Don't block on gecko to select a tab. r=mbrubeck 2012-01-24 09:15:52 -08:00
Margaret Leibovic
5c8d74438f Bug 719494 - Closing tabs is too slow sometimes. r=mbrubeck
* * *
Bug 719494 - (Part 2) Add back closeTab in JS so that add-ons can use it
2012-01-24 09:15:41 -08:00
Chris Lord
9a81bc09ee Bug 717283 - Use tiles on-demand. r=pcwalton, snorp
Instead of tying the tile-buffer in MultiTileLayer directly to the back-buffer
of the page, make sure rendering is always aligned to the tile grid and use
tiles on-demand. This makes better use of tiles when panning/zooming, and opens
up the route for further optimisations.
2012-01-24 15:39:53 +00:00
Phil Ringnalda
f9599dfc5a Backed out changeset b77c0c621163 (bug 710533) for native ts bustage 2012-01-23 23:33:05 -08:00
Phil Ringnalda
96279919ee Back out 420d7b8ed59d for being a bad backout 2012-01-23 23:32:11 -08:00
Phil Ringnalda
36ccde4b4b Backed out changeset b77c0c621163 (bug 710533) for native ts bustage 2012-01-23 22:53:07 -08:00
Patrick Walton
06b9c3c2f9 Bug 710533 - Tint the checkerboard with the background color of the page. r=Cwiiis 2012-01-23 20:10:24 -08:00
Brian Nicholson
a716263099 Bug 701824 - "Show character encoding" (Text encoding) preference should be hooked up. r=mfinkle 2012-01-23 13:47:48 -08:00
Brian Nicholson
46c2d6d19c Bug 719662 - Use nsIPrefLocalizedString for getComplexValue. r=mfinkle 2012-01-23 13:40:07 -08:00
Ed Morley
c1585c7af3 Backout 91eebc6bdb59 & 7d776b291014 (bug 717283) for Android native reftest crashes 2012-01-22 11:55:18 +00:00
Chris Lord
d994084581 Bug 717283 - Use tiles on-demand. r=pcwalton, snorp
Instead of tying the tile-buffer in MultiTileLayer directly to the back-buffer
of the page, make sure rendering is always aligned to the tile grid and use
tiles on-demand. This makes better use of tiles when panning/zooming, and opens
up the route for further optimisations.
2012-01-22 09:40:37 +00:00
Kartikaya Gupta
5a06a2ef87 Bug 716863 - Abort uselessly continuing to fling subdocuments once they can't go any farther. r=Cwiiis 2012-01-21 12:44:44 -05:00
Patrick Walton
9a084ad8a6 Bug 707956 - Restore original zoom scale on double rotation. r=kats 2012-01-20 21:14:03 -08:00
Ed Morley
988d99bd9a Backout 56ad9ccfcd15 (bug 719494) for native Android M1 crashes 2012-01-21 03:19:53 +00:00
Margaret Leibovic
d28397a961 Bug 719494 - Closing tabs is too slow sometimes. r=mbrubeck 2012-01-20 12:56:23 -08:00
Matt Brubeck
3017d8c4c6 Back out 47584f117727 and e05a8743389a (bug 717283) because of native Android startup crashes 2012-01-20 11:42:34 -08:00
Chris Lord
94b277a126 Bug 717283 - Use tiles on-demand. r=pcwalton, snorp
Instead of tying the tile-buffer in MultiTileLayer directly to the back-buffer
of the page, make sure rendering is always aligned to the tile grid and use
tiles on-demand. This makes better use of tiles when panning/zooming, and opens
up the route for further optimisations.
2012-01-20 17:36:56 +00:00
Kartikaya Gupta
348a92ae97 Bug 717085 - Ensure that when Gecko does a session-restore, it knows how big the screen is. r=pcwalton 2012-01-20 09:36:08 -05:00
Margaret Leibovic
f61b7a7d84 Bug 718846 - Don't show progress throbber on about:home. r=mfinkle 2012-01-19 11:44:16 -08:00
Marco Bonardo
6136ce1761 Merge last green PGO from inbound to central 2012-01-19 11:34:17 +01:00
Wes Johnston
b04763a035 Bug 716161 - Don't allow clicking disabled selects. r=mfinkle 2012-01-18 08:49:48 -08:00
Margaret Leibovic
ff4e46f4f1 Bug 718499 - Save as PDF saves content from the wrong tab. r=mfinkle 2012-01-18 12:53:12 -08:00
Mark Finkle
7197ddb1ce Bug 718257 - Syntax error breaks add-on install restart doorhanger [r=mbrubeck] 2012-01-15 11:50:03 -05:00
Brad Lassey
fb5cf486c0 bug 713874 - Black thumbnails are produced by GeckoSoftwareLayerClient.getBitmap() r=mfinkle 2012-01-13 13:10:13 -05:00
Jonathan Kew
1fed2b4bed Backed out changeset ba3335f34100 (bug 713874) for Android build failures. 2012-01-14 22:19:31 +00:00
Brad Lassey
232084ed7f bug 713874 - Black thumbnails are produced by GeckoSoftwareLayerClient.getBitmap() r=mfinkle
--HG--
extra : rebase_source : 18d463ca4c44610a07ba7de582c6f114404eab8f
2012-01-13 13:10:13 -05:00
Margaret Leibovic
f41eacef75 Bug 710704 - Make click events work properly in frames. r=wesj 2012-01-12 17:01:32 -08:00
Margaret Leibovic
e4a1a0f85c Bug 711993 - Catch exception thrown by uri.host in PermissionsHelper observer. r=mfinkle 2012-01-12 13:29:14 -08:00
Kartikaya Gupta
52ece93e89 Bug 715326 - Don't round the page size in browser.js. r=pcwalton
Rounding the page size before sending it to Java serves no real
purpose, and introduces rounding errors that I have observed to
be up to a couple of pixels, depending on the screen size and page
dimensions.
2012-01-12 22:47:33 -05:00
Brian Nicholson
2eeefbbb43 Bug 709888 - Remove UA switcher. r=mfinkle 2012-01-12 12:26:26 -08:00