Commit Graph

1219 Commits

Author SHA1 Message Date
Benoit Girard
921124c30e Bug 733184 - Remove more logging from widget. r=pcwalton 2012-03-05 19:58:18 -05:00
Benoit Girard
a39be473cc Bug 733184 - Maple: Remove some Java logging. r=pcwalton 2012-03-05 18:50:00 -05:00
Benoit Girard
d3dd25a616 Merge latest green changeset from mozilla-central to maple
--HG--
rename : dom/base/nsDOMMemoryReporter.cpp => dom/base/nsWindowMemoryReporter.cpp
rename : dom/base/nsDOMMemoryReporter.h => dom/base/nsWindowMemoryReporter.h
2012-03-05 13:41:15 -05:00
Benoit Girard
6345ad9c43 Restore merge changeset 39a3044823b0, regression fixed upstream in mc 2012-03-05 13:09:05 -05:00
Richard Newman
371d056a17 Bug 732611 - Add channel (Aurora, Beta, etc.) to Android Sync user agent. r=rnewman 2012-03-02 17:36:16 -08:00
Richard Newman
4489af6dbc Bug 709403 - Part 2: add TabsRecord. r=nalexander 2012-03-02 17:36:16 -08:00
Richard Newman
55c493208f Bug 709403 - Part 1: refactor envelope/payload logic in Record. r=nalexander 2012-03-02 17:36:16 -08:00
Richard Newman
ffbc3f3f7d Bug 709403 - Part 0: Add getString to ExtendedJSONObject. r=nalexander 2012-03-02 17:36:16 -08:00
Nick Alexander
bf51e03d3b Bug 722553 - uniformize JPakeClientStage error handling. r=rnewman 2012-03-02 17:36:15 -08:00
Nick Alexander
29daa64e39 Bug 722570 - make BaseResource.{getConnectionManager,enableTLSConnectionManager} thread-safe. r=rnewman 2012-03-02 17:36:15 -08:00
Nick Alexander
bf9b3963dd Bug 722575 - make SerialRecordConsumer.consumerIsDone() thread-safe. r=rnewman 2012-03-02 17:36:15 -08:00
Marina Samuel
ad2aca16d1 Bug 715796 - Part 1: client name. r=rnewman 2012-03-02 17:36:15 -08:00
Marina Samuel
3d8e721d81 Bug 715796 - Part 0: extract SQLiteOpenHelper cache from AndroidBrowserHistoryDataExtender. r=rnewman 2012-03-02 17:36:15 -08:00
Richard Newman
eaf63ec593 Bug 731125 - Use correct X-If-Unmodified-Since header. r=rnewman 2012-03-02 17:36:15 -08:00
Benoit Girard
02e577f6ff Backed out changeset 39a3044823b0 because of bad interaction with maple. 2012-03-02 18:32:46 -05:00
Benoit Girard
72da51e037 Merge mc->Maple, resolved conflicts 2012-03-02 14:27:05 -05:00
Chris Lord
ac32c9beee Bug 731570 - Don't re-upload scrollbar texture on opacity change. r=kats
Rather than re-render the scrollbar texture and re-upload it when the opacity
changes, just render/upload it once and use a shader to modify the opacity.
2012-03-02 12:12:08 +00:00
Chris Lord
f8ecc16e00 Bug 731570 - Rename and make default shaders public. r=pcwalton
Rename and make public the default shaders used in LayerRenderer, and make
loadShader a public, static method. This should make it easier for layers to
implement their own shader programs.
2012-03-02 12:12:08 +00:00
Chris Lord
e7376feda5 Bug 732013 - Fix overdraw in LayerRenderer. r=kats
Add an optional rectangular mask to SingleTileLayer so that we can reduce the
amount of overdraw when drawing the background and checkerboard layers.
2012-03-01 19:43:14 +00:00
Benoit Girard
3daa99ec38 Merge mc->maple 2012-03-01 10:44:44 -05:00
Kartikaya Gupta
c250ca21b7 Bug 730966 - Remove time-based throttling of viewport change events; the refresh driver does this in Gecko already. r=pcwalton 2012-02-29 16:42:53 -05:00
Kartikaya Gupta
3a1dd894f2 Bug 731619 - Fix race condition where flags are cleared before they are set. r=ehsan 2012-02-29 16:26:02 -05:00
Benoit Girard
0ec8a1cc78 Bug 730967 - Handle Cherckerboard color being null. r=kats
--HG--
extra : rebase_source : f2d33d78ba3b140e6df0fdc239539088f910bc95
2012-02-29 15:45:06 -05:00
Kartikaya Gupta
1c6703fc1a Bug 731619 - Make drawing after rotation work again. r=ehsan 2012-02-29 15:36:59 -05:00
Kartikaya Gupta
e3d5756b24 Bug 731417 - Fix missing call to checkMonitoringEnabled for the LayerRenderer we use in OMTC, and make it frame rate layer wider so it doesn't get truncated. r=pcwalton 2012-02-29 14:08:23 -05:00
Benoit Girard
475d958691 Bug 730967 - Don't recompute checkerboard color every frame. r=pwalton
--HG--
extra : rebase_source : 1c8251bb2e84e0039185ffe9f80d43f52d7c2bcf
2012-02-28 19:17:58 -05:00
Kartikaya Gupta
6d0f6c8ac5 Bug 730949 - Take the frame rate layer initialization out of the startup path. r=sriram 2012-02-28 18:08:43 -05:00
Kartikaya Gupta
7fca225f10 Bug 730687 - Hook up the aboutToCheckerboard code again. r=Cwiiis 2012-02-28 16:14:14 -05:00
Kartikaya Gupta
7026e92ffb Bug 730687 - Fold updateViewport into endDrawing. r=Cwiiis 2012-02-28 16:13:26 -05:00
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