Commit Graph

1071 Commits

Author SHA1 Message Date
Ehsan Akhgari
4c777cfd64 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
43866aa4a5 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
c713ff7f22 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
0741d7041c Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Doug Turner
0ae451b288 Bad merge. Fixing missing curly brace 2012-02-22 09:58:33 -08:00
Doug Turner
754c5d2cbb merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Kartikaya Gupta
b8bb4b25a1 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
f91a97e24e 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
444b44fb2e Rip out the unused viewport bias and optimum offset code 2012-02-22 10:22:31 -05:00
Kartikaya Gupta
2696740297 Reduce some unnecessary logcat spew 2012-02-22 09:37:39 -05:00
Mark Finkle
c9f6f97900 Bug 729324 - Always make sure 'Quit' is last menu r=sriram 2012-02-22 00:12:33 -05:00
Mark Finkle
4762cbb5f7 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
63d258acb1 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
ce305c7eae Bug 728782 - Add support for Bookmark Link context menu r=wesj r=gbrown 2012-02-22 00:11:50 -05:00
Ed Morley
cc3a5fa7b8 Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Brian Nicholson
2ebce28a1e Bug 727973 - Remove notifyChange from LocalBrowserDB. r=mfinkle 2012-02-21 16:34:21 -08:00
Wes Johnston
1dd333d7cc 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
8a0a3831de 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
33bae9a090 Bug 726024 - Rename PlacesTask to Runnable. r=lucasr 2012-02-21 14:17:18 +01:00
Gian-Carlo Pascutto
baad786c3a Bug 726024 - Use Content Provider directly in Profile Migration. r=lucasr 2012-02-21 14:17:18 +01:00
Gian-Carlo Pascutto
045bdb74f5 Bug 726024 - Allow modified and created dates to be set. r=lucasr 2012-02-21 14:17:18 +01:00
Brad Lassey
5e1b54e662 bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt 2012-02-18 18:32:50 -05:00
Benoit Girard
8d197f4d70 Don't do TexImage2D+TexSubImage2D 2012-02-21 16:44:59 -05:00
Benoit Girard
12b4f10a5a mCheckerboardShouldShowChecks should default to true. DONTBUILD 2012-02-21 16:19:23 -05:00
Ehsan Akhgari
ca842cfe05 Bug 728614 - Part 4: Remove the viewport structure from browser.js; r=Cwiiis 2012-02-21 13:17:56 -05:00
Jeff Muizelaar
d32d66ed41 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
9cac08f45d 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
e226b505b4 Backout c1161ca4bf13 for test failures 2012-02-21 11:34:00 -05:00
Jeff Muizelaar
0334119dec 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
cd04253330 Bug 728620 - Followup: Add a FIXME comment. DONTBUILD 2012-02-21 10:30:57 -05:00
Brad Lassey
167af30836 bug 726827 - MAPLE: Black thumbnails r=jmuizelaar 2012-02-21 01:22:56 -05:00
Ali Juma
c75e6a419d Bug 728620 - Ensure we draw after moving back/forward in history. 2012-02-20 20:47:00 -05:00
Ehsan Akhgari
3aba01411c Remove viewportExcess 2012-02-20 19:40:50 -05:00
Ehsan Akhgari
3c68da0587 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
9d423073c5 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
1749a668fe Fix clicking 2012-02-20 17:47:32 -05:00
Ehsan Akhgari
d99c592450 Bug 728614 - Part 2: Remove viewport offsets 2012-02-20 16:51:37 -05:00
Ehsan Akhgari
1d80d38c46 Bug 728614 - Part 1: Remove updateTransform(); r=dougt 2012-02-20 16:39:42 -05:00
Brad Lassey
811a2ca0bd Bug 728614 - Part 0: Allow querying the viewport information from Java; r=dougt 2012-02-18 19:22:56 -05:00
Ehsan Akhgari
5669433518 Backout changeset c1161ca4bf13 2012-02-20 16:37:51 -05:00
Ehsan Akhgari
03a943058a Backed out changeset cfcc11281ca2 2012-02-20 16:36:56 -05:00
Ehsan Akhgari
583d600df7 Bug 728614 - Part 1: Remove updateTransform(); r=dougt 2012-02-20 16:36:15 -05:00
Brad Lassey
d2ce9f3890 [mq]: meta_viewport_query
--HG--
extra : rebase_source : 586dfca0cf7d9446e532ecfa38fd126225db36b9
2012-02-18 18:32:50 -05:00
Chris Lord
7a80ecbce0 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
b15f7347e3 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
6765c25533 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
26042ff86a merge again 2012-02-18 18:17:10 -05:00
Jeff Muizelaar
03bfd5ec7c 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
e5e9a2b04c merge from mozilla-central 2012-02-18 17:29:33 -05:00
Brad Lassey
0ad51deb55 backing out e45688c8531c because it broke the build 2012-02-18 14:21:48 -05:00