James Willcox
03c12b87a9
Bug 1243418 - Fix up incorrect 'aOverwrite' usage and impl in GLUploadHelpers r=jgilbert
2016-02-08 09:18:52 -06:00
James Willcox
7528f84391
Bug 1243072 - Make GfxTexturesReporter work again r=nical,jgilbert
2016-02-08 09:18:52 -06:00
Jonathan Kew
08f9b29485
Bug 1240085
- Revert to CSS-pixel units for screenX, screenY, moveTo() APIs, and adjust the origin for secondary displays with differing resolution to avoid overlapping coordinate spaces. r=emk
2016-02-05 16:29:33 +00:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Kartikaya Gupta
6f5c11bbbf
Back out 3 csets from bug 1242690 for causing bug 1244549. r=backout
...
--HG--
extra : commitid : G7hFhHC4YDt
2016-01-31 14:44:58 -05:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Kartikaya Gupta
a5ffd45fae
Bug 1242690 - Squash together DispatchAPZAwareEvent and DispatchInputEvent. r=dvander
...
--HG--
extra : commitid : D6XEv20670v
2016-01-29 16:31:15 -05:00
Ting-Yu Lin
2d02ad0652
Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
...
--HG--
extra : commitid : CcdpGdlMNIk
extra : rebase_source : 9c184cb8107bf6276c237d03d240f8755fd61553
2016-01-29 22:42:15 +08:00
Ting-Yu Lin
1889f6bc41
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
...
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Nicholas Nethercote
7d6edf2c51
Bug 1239864 (part 10) - Use the new rect iterators in view/ and widget/. r=roc.
...
--HG--
extra : rebase_source : 3d1c6ff6a1a146bd74ce57e09146bba7ea075232
2016-01-18 17:20:59 -08:00
Masayuki Nakano
02e13bc9fe
Bug 1153156 part.4 Make APZC system scroll speed overriding aware r=mstange
2016-01-27 15:09:13 +09:00
Nicholas Nethercote
6a194c8cf8
Bug 1239864 (part 1) - Add new, nicer rect-iterators for nsRegion and nsIntRegion. r=roc.
...
This requires renaming the existing nsIntRegion::RectIterator as
nsIntRegion::OldRectIterator to make way for the new nsIntRegion::RectIterator.
This doesn't require many knock-on changes because most existing uses of
that type use the nsIntRegionRectIterator typedef.
--HG--
extra : rebase_source : 16c79610ae20820ead6aa63cbe214e4e4b3a9fab
2016-01-14 18:36:11 -08:00
Xidorn Quan
6c3888d288
Bug 844948 - Allow changing padding of themed button on OS X. r=mstange,heycam
2016-01-19 16:48:04 +11:00
Xidorn Quan
5917f00a73
Backed out changeset e8ad04f3a65f (bug 844948) for reftest failure on OS X
2016-01-18 17:21:12 +11:00
Xidorn Quan
f120c8eeda
Bug 844948 - Allow changing padding of themed button on OS X. r=mstange,heycam
2016-01-18 14:20:11 +11:00
Nicholas Nethercote
76dfc05b83
Bug 1239589 - Change nsBaseWidget::mBounds to a LayoutDeviceIntRect. r=kats.
...
This patch removes dozens of ToUnknown/FromUnknown conversions and doesn't add
any new ones, which is nice. It also removes UntypedDevPixelsToCocoaPoints(),
which is no longer needed.
--HG--
extra : rebase_source : 81288126b582402408518aecfc304bc128e05d15
2015-11-22 20:32:29 -08:00
Nicholas Nethercote
7892cfcede
Bug 1239530 (part 2) - Use LayoutDevice coordinates in {Start,End}RemoteDrawingInRegion() and related functions. r=kats.
...
--HG--
extra : rebase_source : b5bd2d6822904a188242efa6e46aaed9f96a15b9
2015-12-02 22:29:54 -08:00
Kit Cambridge
b88c662ff9
Bug 1219855, Part 3 - Fix variable shadowing in OSXNotificationCenter::ShowAlert
. r=me
...
--HG--
extra : commitid : prNOLvJwOX
2016-01-13 23:26:41 -07:00
Carsten "Tomcat" Book
8bb4e16a15
Merge mozilla-central to mozilla-inbound
2016-01-13 11:58:27 +01:00
Carsten "Tomcat" Book
d833f9ba1a
merge mozilla-inbound to mozilla-central a=merge
2016-01-13 11:57:15 +01:00
Jonathan Kew
2ff25b1f53
Bug 1239007 - Replace nsIntRect by strongly-typed rects in a couple of nsCocoaUtils functions. r=mstange
2016-01-13 07:32:55 +00:00
Kit Cambridge
7bf3de48ab
Bug 1219855, Part 1 - Make nsXULAlerts
implement nsIAlertsService
. r=MattN,wchen
...
--HG--
extra : commitid : IXcGploxKLn
extra : rebase_source : b289323b92409c857a370e3a2fe44d772b0ebadb
2015-12-31 13:27:09 -07:00
Jonathan Kew
e404911268
Bug 890156 - patch 1 - Add nsIWidget::GetDesktopToDeviceScale() method. r=emk
2015-12-04 16:58:05 +00:00
Jonathan Kew
84b8c3a0a4
Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange
2016-01-13 07:32:55 +00:00
Jonathan Kew
3d48351585
Bug 890156 - patch 0.2 - Remove the (unused) aRect parameter from nsBaseWidget::BaseCreate. r=kats
2016-01-13 07:32:55 +00:00
Jonathan Kew
df4ffa594d
Bug 890156 - patch 0.1 - Switch from 'display pixels' to 'desktop pixels' terminology in widget code. r=kats
2015-11-25 19:11:58 +00:00
Nicholas Nethercote
88696a303a
Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
...
This patch:
- Makes the following substitutions (plus necessary namespace qualifiers:
gfxImageFormat::ARGB32 --> SurfaceFormat::A8R8G8B8_UINT32
gfxImageFormat::RGB24 --> SurfaceFormat::X8R8G8B8_UINT32
gfxImageFormat::A8 --> SurfaceFormat::A8
gfxImageFormat::RGB16_565 --> SurfaceFormat::R5G6B5_UINT16
gfxImageFormat::Unknown --> SurfaceFormat::UNKNOWN
- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
removed soon.
- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
replace calls to them with CairoFormatToGfxFormat() and
GfxFormatToCairoFormat().
- Removes ParamTraits<gfxImageFormat>.
- Add namespace qualifiers to SurfaceFormat instances where necessary.
--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Wes Kocher
5c5db39163
Merge fx-team to m-c a=merge CLOSED TREE
...
--HG--
extra : commitid : 8cnDWzxc5CW
2016-01-05 16:34:06 -08:00
Bob Owen
fdd98bfb6b
Bug 1156742 Part 9: Add a new nsIDeviceContextSpec for proxied printing. r=roc
...
This also changes aPrintToFileName parameter for BeginDocument to an nsAString& from char16_t*.
Having a char16_t* caused a pain with VS2105 where wchar_t != char16_t (as on VS2103), after it had been sent over IPDL.
This could have been worked around with casting, but this seemed like the tidier solution.
2016-01-05 10:08:57 +00:00
Kit Cambridge
e17e098be0
Bug 1227300, Part 3 - Implement showAlert
for the OS X alerts backend. r=mstange
...
--HG--
extra : commitid : t8LugdlKXX
extra : rebase_source : 936e72ffc69476f86b7c02cce9de59ec9eb6bcde
2015-12-31 12:08:22 -07:00
Markus Stange
258bcc1298
Bug 1187322 - Don't require accelerated OpenGL contexts for BasicCompositor on OS X. r=jrmuizel
...
--HG--
extra : commitid : D8wNlw49VVb
extra : rebase_source : f0c93866f09de396e835a2920d5db54efe53ffda
extra : amend_source : 7ed5dda1bd555ecc353137bfc9b00b10992a86a1
2015-12-23 16:22:55 +01:00
Markus Stange
808bbc8624
Bug 1238755 - Use Skia for BasicCompositor composition on Mac. r=mattwoodrow
...
--HG--
extra : commitid : FWQX2HXwWzG
extra : rebase_source : 6fbe3f57a937e755a711ffa57a09070262de7a57
2016-01-11 20:22:33 +01:00
Markus Stange
f61c03e766
Bug 1238755 - Avoid a copy when uploading the BasicCompositor result to a texture. r=mattwoodrow
...
--HG--
extra : commitid : 5qEEfOpgYfb
extra : rebase_source : 5a9425952fc358a3c5cc7bba392809fcf65137f4
2016-01-12 14:20:08 +01:00
Markus Stange
4739df03c1
Bug 1238753 - Use StartRemoteDrawingInRegion on Mac. r=mattwoodrow
...
This improves upload performance and lets us override the invalid region if we need more than what BasicCompositor thinks we need.
--HG--
extra : commitid : Kk418GAOqzR
extra : rebase_source : daded4e660d2fe20f8ffc654c4ef38ac53cda16e
2016-01-11 20:12:25 +01:00
Wes Kocher
a5249b6201
Backed out 25 changesets (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
...
Backed out changeset 31c0aadae8e7 (bug 1156742)
Backed out changeset f08df57ff700 (bug 1156742)
Backed out changeset 90c026d5dcb1 (bug 1156742)
Backed out changeset 8c6d14d80238 (bug 1156742)
Backed out changeset 72d86b0471c9 (bug 1156742)
Backed out changeset 363829accc09 (bug 1156742)
Backed out changeset 16360fe94d54 (bug 1156742)
Backed out changeset 5355c636a81a (bug 1156742)
Backed out changeset 18844d26b873 (bug 1156742)
Backed out changeset 99df86591613 (bug 1156742)
Backed out changeset 7ac1c7e15a11 (bug 1156742)
Backed out changeset de352000aae1 (bug 1156742)
Backed out changeset 4dd34ea230c6 (bug 1156742)
Backed out changeset 48c6ce65a5c2 (bug 1156742)
Backed out changeset dd52947f73c6 (bug 1156742)
Backed out changeset 5fe429ee880c (bug 1156742)
Backed out changeset dedca8fb19b0 (bug 1156742)
Backed out changeset d748b1354f92 (bug 1156742)
Backed out changeset 7f8e59588518 (bug 1156742)
Backed out changeset b90d302c57f6 (bug 1156742)
Backed out changeset 7a4da453572c (bug 1156742)
Backed out changeset a40eea914519 (bug 1156742)
Backed out changeset 99a8859afcdb (bug 1156742)
Backed out changeset 4934e88b2d7a (bug 1156742)
Backed out changeset 79733166f05e (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
--HG--
extra : amend_source : beeb6abbcc724b79ac166e828efa78dc4c5301da
2015-12-21 13:47:33 -08:00
Bob Owen
529a96f97d
Bug 1156742 Part 9: Add a new nsIDeviceContextSpec for proxied printing. r=roc
...
This also changes aPrintToFileName parameter for BeginDocument to an nsAString& from char16_t*.
Having a char16_t* caused a pain with VS2105 where wchar_t != char16_t (as on VS2103), after it had been sent over IPDL.
This could have been worked around with casting, but this seemed like the tidier solution.
2015-12-21 20:33:13 +00:00
Masayuki Nakano
da7a2f4f8d
Bug 1179632 part.2 WidgetCompositionEvent should store NativeIMEContext which caused the event and PuppetWidget should store it for GetNativeIMEContext() r=smaug, sr=smaug
2015-12-11 15:15:57 +09:00
Masayuki Nakano
6cad726628
Bug 1179632 part.1 native IME context should not be stored in InputContext but should be able to retrieve with nsIWidget::GetNativeData() r=smaug
2015-12-11 15:15:57 +09:00
Nicholas Nethercote
0f28b059fe
Bug 1231051 - Moz2Dify nsNativeThemeCocoa::DrawWidgetBackground. r=mstange.
...
--HG--
extra : rebase_source : ee2a317a93f8071f7845f76763676fb8be73e8d3
2015-12-09 15:34:18 +11:00
Nicholas Nethercote
82700fe5f9
Bug 1230047 (part 2) - Make several PaintWindow() functions use LayoutDevice coordinates. r=kats.
...
Specifically, the PaintWindow() functions in the following classes:
- nsIWidgetListener, and its subclasses nsView and nsWebBrowser;
- nsChildView;
- nsWindow (the one in widget/uikit/);
- nsViewManager.
--HG--
extra : rebase_source : e5e0af18c57f1c44995832b403edc7eee939dc31
2015-12-02 21:45:41 -08:00
Nicholas Nethercote
81c4b5301c
Bug 1229237 (part 5) - Make Update{Opaque,WindowDragging}Region() take a LayoutDeviceIntRegion. r=botond.
...
--HG--
extra : rebase_source : 08d12c48bd6fb086a1d27a8169b1a423534e03f7
2015-11-25 21:42:59 -08:00
Nicholas Nethercote
400204beea
Bug 1229237 (part 4) - Make ThemeGeometry::mRect a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 3483ed8e2ff2e61ce8a74dcb59a7b43b46bf502d
2015-11-22 20:32:29 -08:00
Nicholas Nethercote
90bbac13cc
Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 1afe44a5ab2a3d5478010fc23ba1891ab297bde6
2015-11-16 21:18:31 -08:00
Nicholas Nethercote
1fb25d8609
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 08407e76083534ad39dd34d2535ec09c95e506db
2015-11-16 00:35:18 -08:00
Markus Stange
10286b74bb
Bug 1221913 - Make swiping work correctly in e10s mode even if APZ is off. r=kats
...
--HG--
extra : commitid : 6jMrb8f9Atw
extra : amend_source : 6cffb6ab209c3f55739ddb409b1a4d04d31a159a
2015-11-27 17:33:50 +01:00
Nicholas Nethercote
e60696c015
Bug 1228125 (part 1) - Remove nsIWidget::GetBoundsUntyped(). r=botond.
...
This requires adding a new overloading of LayoutDevicePixel::ToAppUnits and a
new PixelCastJustification: LayoutDeviceIsParentLayerForRCDRSF.
--HG--
extra : rebase_source : b6d044619918818815b40c1173aa4e0551db28a1
2015-11-25 20:32:47 -08:00
Nicholas Nethercote
d9c0c03bfe
Bug 1225007 (part 2, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
2015-11-19 17:34:20 +11:00
Nicholas Nethercote
52b3d826da
Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
...
--HG--
extra : rebase_source : e4b3bb36c18822557f7724a58979eddd9d8cac62
2015-11-19 14:10:38 +11:00