Commit Graph

4987 Commits

Author SHA1 Message Date
Kartikaya Gupta
bb376197c2 Move transaction lock and synchronization from callers of updateViewport in to updateViewport itself 2012-02-23 15:31:40 -05:00
Kartikaya Gupta
9072b3ae2e 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
abd4d3c2b4 Remove redundant getDisplayportOrigin method from ViewportMetrics; use getOrigin instead 2012-02-23 15:08:05 -05:00
Kartikaya Gupta
5857681738 Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp 2012-02-23 14:55:15 -05:00
Kartikaya Gupta
af5d11aaee 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
7ab9804cda Move the call to moveFrameRateLayer off the UI thread since it calls beginTransaction 2012-02-23 12:54:54 -05:00
Kartikaya Gupta
024374bb46 Convert tabs to spaces 2012-02-23 11:31:01 -05:00
Kartikaya Gupta
01cac3410f 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
4f1487504a Merge backout 2012-02-23 11:09:14 -05:00
Benoit Girard
afdf4e93b3 Backed out changeset c8451607557b 2012-02-23 11:04:11 -05:00
Kartikaya Gupta
32f2175b41 Take out unused MultiTileLayer 2012-02-23 10:11:16 -05:00
Kartikaya Gupta
82652145a9 Take out the empty GeckoLayerClient.dimensionsChanged method and the unneeded support architecture for it 2012-02-23 10:09:38 -05:00
Chris Lord
3cc0571247 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
e7a0b58044 Bug 728614 - Part 8: Remove the unneeded assignment from getViewTransform; r=kats 2012-02-22 21:27:36 -05:00
Ehsan Akhgari
aaf74b5c86 Address the review comment, missed from the previous push 2012-02-22 17:15:53 -05:00
Ehsan Akhgari
9c18c93381 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
6cfc3f9a14 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
c0b7a3b747 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
53a439cccc Completely collapse GeckoGLLayerClient into GeckoLayerClient. 2012-02-22 14:45:44 -05:00
Doug Turner
7f047239f9 Bad merge. Fixing missing curly brace 2012-02-22 09:58:33 -08:00
Doug Turner
0aea58f84d merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Kartikaya Gupta
dd4b0855ae 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
324ca6b6b4 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
3c391ae195 Rip out the unused viewport bias and optimum offset code 2012-02-22 10:22:31 -05:00
Kartikaya Gupta
1578d03ea6 Reduce some unnecessary logcat spew 2012-02-22 09:37:39 -05:00
Mike Hommey
246ddeca9b Bug 728071 part 1 - Move nsXREAppData definition in a separate header, and use it from application.ini.h. r=bsmedberg 2012-02-22 08:12:15 +01:00
Mark Finkle
e8c9774baa Bug 729324 - Always make sure 'Quit' is last menu r=sriram 2012-02-22 00:12:33 -05:00
Mark Finkle
71a5fc3bd9 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
c8539b339f 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
5ba8dcb9b3 Bug 728782 - Add support for Bookmark Link context menu r=wesj r=gbrown 2012-02-22 00:11:50 -05:00
Ed Morley
90bfe67efa Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Brian Nicholson
fbad8b0ecc Bug 727973 - Remove notifyChange from LocalBrowserDB. r=mfinkle 2012-02-21 16:34:21 -08:00
Wes Johnston
8082b479e4 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
32c4b57ff6 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
905c088b14 Bug 726024 - Rename PlacesTask to Runnable. r=lucasr 2012-02-21 14:17:18 +01:00
Gian-Carlo Pascutto
99d6836a08 Bug 726024 - Use Content Provider directly in Profile Migration. r=lucasr 2012-02-21 14:17:18 +01:00
Gian-Carlo Pascutto
f9409c998d Bug 726024 - Allow modified and created dates to be set. r=lucasr 2012-02-21 14:17:18 +01:00
Brad Lassey
3961277f20 bug 728614 - Refactor viewport implementation to remove js parts of the implementation r=dougt 2012-02-18 18:32:50 -05:00
Benoit Girard
e61477fb94 Don't do TexImage2D+TexSubImage2D 2012-02-21 16:44:59 -05:00
Benoit Girard
6a237f25c7 mCheckerboardShouldShowChecks should default to true. DONTBUILD 2012-02-21 16:19:23 -05:00
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
Benoit Girard
7cf93f9f2a Backout c1161ca4bf13 for test failures 2012-02-21 11:34:00 -05:00
Jeff Muizelaar
bc85051deb 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
91561d3486 Bug 728620 - Followup: Add a FIXME comment. DONTBUILD 2012-02-21 10:30:57 -05:00
Brad Lassey
d91772d0d4 bug 726827 - MAPLE: Black thumbnails r=jmuizelaar 2012-02-21 01:22:56 -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