Commit Graph

246 Commits

Author SHA1 Message Date
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
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
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
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
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
34aa551009 merge from mozilla-central 2012-02-18 17:29:33 -05: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
Ehsan Akhgari
39892b92bf Don't call updateViewport two times in a row 2012-02-17 11:58:36 -05:00
Doug Turner
222fba130c Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Brad Lassey
ab48da35f9 bug 726930 - speed up tab thumbnails r=mfinkle 2012-02-17 10:52:26 -08:00
Patrick Walton
062af3911c Scale the displayport by the zoom factor 2012-02-13 22:32:31 -08:00
Margaret Leibovic
f0e6ebc000 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
a74c63a281 Enable zooming. 2012-02-12 15:06:34 -05: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
Mark Finkle
0051759203 Bug 727730 - Add support for Share Link context menu r=mbrubeck 2012-02-16 14:07:12 -05:00
Benoit Girard
beb2ae7df8 Merge viewport with tip 2012-02-08 20:42:17 -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
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
Patrick Walton
402747340d Stand up async panning and zooming 2012-02-03 23:31:05 -08:00
Patrick Walton
2b6bcfedfa Partial removal of tiling, stub callouts 2012-02-02 19:28:22 -08:00
Margaret Leibovic
d6a470ec91 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
fdef04bc7d Bug 710845 - Don't show disabled search engines in AwesomeBar. r=mfinkle 2012-01-30 18:14:53 -08:00
Matt Brubeck
2045400f33 Bug 726863 - Use mobile-specific strings for add-on download error messages [r=mfinkle] 2012-02-14 15:32:45 -08:00
Brian Nicholson
4072dc4a70 Bug 701092 - Limit session restore attempts. r=mfinkle 2012-01-27 22:04:54 -08:00
Margaret Leibovic
261a066f34 backout 7b3a4af0e68a for twinopen failures 2012-01-27 11:43:22 -08:00
Mark Finkle
2e64659d2f Bug 721639 - Add some canvas optimizations for thumbnail generation [r=mbrubeck] 2012-01-27 14:27:26 -05:00
Margaret Leibovic
abb2f85e49 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
583585821b 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
Panagiotis Koutsourakis
791aa57b19 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
William Lachance
8dba831088 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
cfdb32598d 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
edc6051251 Bug 721006 - Crash when setting a very large document.title. r=mfinkle 2012-02-01 22:44:18 -05:00
Brian Nicholson
2fb6f017fe Bug 723349 - Fix params in addTab on session restore failure. r=mfinkle 2012-02-01 17:51:41 -08:00
Brian Nicholson
a2f48f5d4a Bug 719479 - Don't animate tab counter during session restore. r=mfinkle 2012-02-01 14:25:50 -08:00
Matt Brubeck
b206de36b1 Bug 720932 - Clean up default search engine code [r=wesj] 2012-02-01 16:25:08 -08:00
Matt Brubeck
57e6536fa4 Bug 723084 - Remove observers when tabs are destroyed [r=bnicholson] 2012-02-01 16:20:13 -08:00
Kartikaya Gupta
7e8e2ad8ac 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
c0e5493716 Bug 718684 - Cleanup: remove trailing whitespace and unnecessary variables. r=sriram 2012-02-01 13:54:18 -05:00
Kartikaya Gupta
0d4267a645 Bug 720442 - Scroll input fields to bottom of viewport rather than top. r=blassey 2012-01-26 13:16:45 -05:00