Commit Graph

221 Commits

Author SHA1 Message Date
Ehsan Akhgari
05749ed4c9 Bug 728614 - Part 4: Remove the viewport structure from browser.js; r=Cwiiis 2012-02-21 13:17:56 -05:00
Jeff Muizelaar
e7b2c5940d 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
67c0bdc893 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
Ali Juma
91561d3486 Bug 728620 - Followup: Add a FIXME comment. DONTBUILD 2012-02-21 10:30:57 -05:00
Ali Juma
30a4795d1c Bug 728620 - Ensure we draw after moving back/forward in history. 2012-02-20 20:47:00 -05:00
Ehsan Akhgari
91657fc0f1 Remove viewportExcess 2012-02-20 19:40:50 -05:00
Ehsan Akhgari
a949be99af 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
Ehsan Akhgari
4e66f598b5 Bug 728614 - Part 2: Remove viewport offsets 2012-02-20 16:51:37 -05:00
Ehsan Akhgari
90c820c5ca Bug 728614 - Part 1: Remove updateTransform(); r=dougt 2012-02-20 16:39:42 -05:00
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
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
Patrick Walton
8f577231bf Stand up async panning and zooming 2012-02-03 23:31:05 -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
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