Kartikaya Gupta
8c39c8a618
Bug 730687 - Move the display port margin amounts out of browser.js and into Java. r=Cwiiis
2012-02-28 16:13:20 -05:00
Kartikaya Gupta
8fd5e0c78c
Merge m-c again to pick up 75deec1f1a7b
2012-02-28 14:37:26 -05:00
Kartikaya Gupta
248ea3fff3
Bug 729169 - Ensure the display port is clipped to the page bounds. r=Cwiiis
2012-02-28 14:33:13 -05:00
Kartikaya Gupta
a5f2652097
Bug 730681 - Guard against a zero width/height corrupting our viewport. r=Cwiiis
2012-02-28 14:33:05 -05:00
Matt Brubeck
3016e8fe68
Bug 662891 - Require Android 2.2 "Froyo" (API level 8) or higher [r=dougt]
2012-02-28 10:05:05 -08:00
Kartikaya Gupta
bb76282045
Merge m-c
2012-02-27 15:06:35 -05:00
Kartikaya Gupta
288e5c3de2
Bug 730681 - Combine the two resize event handlers into one so that the behaviour is more deterministic and efficient. r=Cwiiis
2012-02-27 10:23:20 -05:00
Kartikaya Gupta
4046012964
Bug 730681 - Stop resizing the CSS viewport every time we scroll by a pixel. r=Cwiiis
2012-02-27 10:18:10 -05:00
Richard Newman
81fb296b48
Bug 730528 - Extract LooperThread from GeckoAppShell. r=blassey
2012-02-26 22:34:23 -08:00
Kartikaya Gupta
c3ea07fa03
Bug 726382 - Ensure the mDir and mMozDir variables are protected by synchronization. r=rnewman
...
It is possible that two threads will call getDir(), or getDir() and
moveProfilesToAppInstallLocation() simultaneously. Without this patch,
this would attempt to double-create the mozilla or profile directories,
which would then result in an IOException and failure when it shouldn't.
2012-02-26 18:08:03 -05:00
Kartikaya Gupta
b0bc59501b
Take out a line I inadvertently left in in cset ce31a3b140a2
2012-02-26 17:27:58 -05:00
Kartikaya Gupta
b54adee8aa
Merge the origin (Point) and size (IntSize) properties of Layers into a single position (Rect) property.
...
Not only does this reduce the amount of cruft needed while getting and setting these properties, it
makes the code more consistent because we don't have half of this stored in the Layer base class and
the other half provided by an abstract method implementation in subclasses. Furthermore, this
allows the VirtualLayer size to be updated based on the area painted by gecko rather than remaining
fixed at the view size when the virtual layer was created.
2012-02-26 10:47:47 -05:00
Kartikaya Gupta
4cae639063
Take out the code that allows Java to further clip the invalid rect based on visible area.
...
This code is never used because the invalid rect we pass to DrawTo is ignored;
the nsLayoutUtils::PaintFrame uses the display port as the visible region to
paint instead. (http://mxr.mozilla.org/mozilla-central/source/layout/base/nsLayoutUtils.cpp#1603 )
2012-02-26 10:47:45 -05:00
Benoit Girard
b389f9539b
Work around white not working as Cherckerboard color. r=kats
...
--HG--
extra : rebase_source : 768fe9d869c1aff743fbc69b5f537668eedf3298
2012-02-24 15:13:39 -05:00
Chris Peterson
50b9ec5096
Bug 730349 - Remove some unused variables from browser.js. r=
2012-02-24 10:05:32 -08:00
Doug Turner
63f2081ca1
Merge with mozilla-central
2012-02-24 11:57:27 -08:00
Kartikaya Gupta
8a476c9e1c
Remove unused parameters passed to endDrawing
2012-02-24 12:11:29 -05:00
Kartikaya Gupta
e955733a8b
Pull out tile dimensions being passed around uselessly
2012-02-24 10:51:41 -05:00
Kartikaya Gupta
60013ccab6
Extract a setOriginAndResolution method to VirtualLayer and drop the locking as it is not needed.
2012-02-23 16:29:22 -05:00
Kartikaya Gupta
1ee0b61340
Rename mTileLayer to mRootLayer since it's not a tile layer anymore. Also change the type to VirtualLayer
2012-02-23 16:21:45 -05:00
Kartikaya Gupta
400acd3392
Move transaction lock and synchronization from callers of updateViewport in to updateViewport itself
2012-02-23 15:31:40 -05:00
Kartikaya Gupta
5ec4799956
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
82bff0f17d
Remove redundant getDisplayportOrigin method from ViewportMetrics; use getOrigin instead
2012-02-23 15:08:05 -05:00
Kartikaya Gupta
60d8dbfa9d
Bug 730033 - Rip out WidgetTileLayer and associated gunk. r=snorp
2012-02-23 14:55:15 -05:00
Kartikaya Gupta
bdb76f0f9c
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
289a985c67
Move the call to moveFrameRateLayer off the UI thread since it calls beginTransaction
2012-02-23 12:54:54 -05:00
Kartikaya Gupta
2d25c1db47
Convert tabs to spaces
2012-02-23 11:31:01 -05:00
Kartikaya Gupta
775d2610b1
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
5db11a7118
Merge backout
2012-02-23 11:09:14 -05:00
Benoit Girard
dbfc4d8191
Backed out changeset c8451607557b
2012-02-23 11:04:11 -05:00
Kartikaya Gupta
cd3149cdd8
Take out unused MultiTileLayer
2012-02-23 10:11:16 -05:00
Kartikaya Gupta
59c802112d
Take out the empty GeckoLayerClient.dimensionsChanged method and the unneeded support architecture for it
2012-02-23 10:09:38 -05:00
Chris Lord
66a3000247
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
a49ceaf19b
Bug 728614 - Part 8: Remove the unneeded assignment from getViewTransform; r=kats
2012-02-22 21:27:36 -05:00
Ehsan Akhgari
f5fdc6357f
Address the review comment, missed from the previous push
2012-02-22 17:15:53 -05:00
Ehsan Akhgari
0d41577b36
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
21df951827
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
6cd2dcb55d
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
04fe7046ae
Completely collapse GeckoGLLayerClient into GeckoLayerClient.
2012-02-22 14:45:44 -05:00
Doug Turner
2f4a76e385
Bad merge. Fixing missing curly brace
2012-02-22 09:58:33 -08:00
Doug Turner
476b362925
merge with mozilla-central:
2012-02-22 09:30:09 -08:00
Kartikaya Gupta
c37b0d4191
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
e6282dbce5
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
2320513555
Rip out the unused viewport bias and optimum offset code
2012-02-22 10:22:31 -05:00
Kartikaya Gupta
c2af89696d
Reduce some unnecessary logcat spew
2012-02-22 09:37:39 -05:00
Mark Finkle
552d8a015d
Bug 729324 - Always make sure 'Quit' is last menu r=sriram
2012-02-22 00:12:33 -05:00
Mark Finkle
81c8d9f52b
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
f54d2220c7
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
efe7e6b007
Bug 728782 - Add support for Bookmark Link context menu r=wesj r=gbrown
2012-02-22 00:11:50 -05:00
Chenxia Liu
de66729b71
Bug 730189 - Fix internet connection check. r=rnewman
2012-02-26 13:56:29 -08:00