Commit Graph

1424 Commits

Author SHA1 Message Date
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
Jorg K
88642f71dc Bug 938991 - text/rtf support for clipboard data. r=enndeakin 2015-11-23 11:04:26 -08:00
Phil Ringnalda
87802cdbad Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
Nicholas Nethercote
03fdbf3423 Bug 1225007 (part 2, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : 02a735d1dfb07cd1bfb559dcc1049fc2966c6db6
2015-11-19 17:34:20 +11:00
Nicholas Nethercote
ce671f3678 Bug 1225007 (part 1, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : ea132cb4a6eda3553682114f3a1a280acfaf0aa3
2015-11-19 14:10:38 +11:00
Tooru Fujisawa
6350ec15bd Bug 1224790 - Use SetFakeModal instead of SetModal for non-modal window opened by modal window. r=smaug, mstange
--HG--
extra : rebase_source : e7f6009ecadf0347f916b95c51e7223855cc6294
2015-11-18 20:12:26 +09:00
Randall Barker
47968a20fd Bug 1223946 - Part 1: Clean up and support needed for converting WidgetWheelEvent to ScrollWheelInput. r=kats
--HG--
extra : commitid : Cihc6iEBezl
2015-11-18 19:32:37 -05:00
Nicholas Nethercote
f659df0ca3 Bug 1186795 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in widget/ with iterators. r=roc. 2015-11-17 18:18:32 -08:00
Nicholas Nethercote
26b0d282a5 Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE 2015-11-17 17:02:39 -08:00
Nicholas Nethercote
78829dd6ba Bug 1225007 (part 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : 0dcf2d580a836faf76cb392eb5561bfa3481d5c2
2015-11-16 19:40:53 -08:00
Nicholas Nethercote
eb12a384c0 Bug 1225007 (part 1) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : ad3466d05e476ebf65affdde3fca52494e1327cb
2015-11-15 21:37:52 -08:00
Carsten "Tomcat" Book
d74447ffaa Merge mozilla-central to fx-team 2015-11-17 12:35:11 +01:00
Matt Brubeck
0954e27b0a Bug 431620 - Remove unused function GetToggledKeyState [r=roc] 2015-11-16 16:06:41 -08:00
Kit Cambridge
5234c9abc6 Bug 1224738 - Fix alternate action index getter name on OS X. r=MattN
--HG--
extra : commitid : 6lINgooYlWF
extra : rebase_source : 24cff4ee907994c3fa282ca412ca4ecd995d3afc
extra : amend_source : 8857cfca298c8223b459b825503d3b094a9f5eca
2015-11-16 13:09:38 -08:00
Nicholas Nethercote
1615245145 Bug 1224482 (part 5) - Avoid excessive mozilla:: prefixes in nsIWidget and its subclasses. r=kats.
A couple of typedefs make things a lot nicer.

--HG--
extra : rebase_source : ca9f02e31301601af1b0f975c5c111945af4d5e7
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
f38ebf7649 Bug 1224482 (part 3) - Replace GetClientOffsetUntyped() with GetClientOffset(). r=kats.
The patch also changes nsMenuPopupFrame::mLastClientOffset to
LayoutDeviceIntPoint.

--HG--
extra : rebase_source : d7c0784efd332e382db3f2857c8f43eabc1c807c
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
369f54f3a3 Bug 1224482 (part 1) - Tweak typed/untyped versions of Get{,Client,Screen}Bounds(). r=kats.
In nsIWidget, GetBoundsUntyped(), GetClientBoundsUntyped() and
GetScreenBoundsUntyped() are currently the primary implementations, and the
untyped versions are defined on top of them. This patch flips that around.

--HG--
extra : rebase_source : 15b2f08f90bf4d1e209c6cb885f6a6e3b8db6708
2015-11-12 16:04:52 -08:00
Josh Aas
04c4cdae58 Bug 1223966: Don't claim we support NSTextInput interface. r=masayuki 2015-11-13 15:38:03 -06:00
Nicholas Nethercote
f1b954f437 Bug 1224403 (part 12) - Remove WidgetToScreenOffsetUntyped(). r=kats.
There are few enough calls now that using WidgetToScreenOffset() +
ToUnknownPoint() is a better approach.

--HG--
extra : rebase_source : 18ec6677f6416b02069a646b6f45dcfaa4045671
2015-11-12 15:37:18 -08:00
Nicholas Nethercote
e2fe66176b Bug 1224403 (part 4) - Make {Get,Set}NonClientMargins() return/take a LayoutDeviceIntMargin. r=kats.
This required adding {To,From}UnknownMargin().

--HG--
extra : rebase_source : de7e8f56604825bcc1babe5e05a8f8623a402cad
2015-11-11 23:05:04 -08:00
Nicholas Nethercote
7922110bde Bug 1224403 (part 2) - Split GetClientOffset() into typed and untyped versions. r=kats.
--HG--
extra : rebase_source : 5197f42325d36313ad8c6178baaabcf6f7df532c
2015-11-11 19:56:06 -08:00
Botond Ballo
6a70e1aa18 Bug 1222661 - Replace FromUntyped(obj) calls with FromUnknown*(obj). r=nical
--HG--
extra : rebase_source : c1afe8560b838e1a3be0ce50847861b1815d3dc9
extra : source : d649f163c825736efaf3ac3ad73040beeb48a6ef
2015-11-09 18:22:25 -05:00
Botond Ballo
a592a77364 Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
--HG--
extra : rebase_source : 1cab46638599d8c4e6183c42a6fa9d41702392cb
extra : source : cabc28a2200b9b4e5e137d331ee5b86b3c09f065
2015-11-06 22:13:40 -05:00
Carsten "Tomcat" Book
0610c350a3 merge mozilla-inbound to mozilla-central a=merge 2015-11-11 12:42:52 +01:00
Kit Cambridge
40e05dad0d Bug 1220337 - Don't show alternate notification actions on OS X 10.8. r=MattN
--HG--
extra : commitid : ExO8EXXhJ0z
2015-11-10 11:23:13 -08:00
Nicholas Nethercote
ad0dd8414a Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.

--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Josh Aas
169d28d270 Bug 1180564: insertNewline should use TextInputHandler::InsertText() instead of using insertText of NSTextInput protocol r=masayuki 2015-11-10 11:59:18 +09:00
Tooru Fujisawa
a2bc836f30 Bug 966986 - Part 2: Return true from nsDragService::IsDataFlavorSupported for text/x-moz-url-desc and text/x-moz-url-data on Mac. r=smichaud, vlad
--HG--
extra : commitid : 4VAZYfNKjCW
extra : rebase_source : d038c929d2e00ecdfa4e38436d979699471b57ee
2015-08-15 06:34:13 +09:00
Tooru Fujisawa
73a2956b37 Bug 966986 - Part 1: Fix format of DataTransfer.getData(text/x-moz-url) and return each text and URL as a separated item on Mac. r=smichaud, vlad
--HG--
extra : commitid : A6bX3dCKWY7
extra : rebase_source : 035d7e5989c358655238ac1d2c731932bf75670c
2015-08-15 06:33:59 +09:00
Josh Aas
14354d55b1 Bug 1221449: Add null ptr check and fix variable shadowing in OSXNotificationCenter.mm. r=spohl 2015-11-07 18:23:00 +09:00
Josh Aas
bbb0292ad2 Bug 1180564: Don't implement NSTextInput any more, just NSTextInputClient. r=masayuki 2015-11-07 18:19:49 +09:00
Botond Ballo
5bf85e9f9d Bug 1220923 - Make nsIntRegion a typedef for IntRegionTyped<UnknownUnits>. r=nical
--HG--
extra : source : 1f371f014048ed4c3c25095233fea927311a7e23
2015-11-04 11:49:49 -05:00
Josh Aas
cecc434e52 Bug 1221451: Don't pass nil when an argument is required. r=spohl 2015-11-06 10:24:19 +09:00
Chris Peterson
cf68e9b753 Bug 1220358 - Fix -Wunreachable-code warnings in widget/cocoa. r=spohl
widget/cocoa/nsNativeThemeCocoa.mm:3774:7 [-Wunreachable-code-break] 'break' will never be executed
widget/cocoa/nsNativeThemeCocoa.mm:3790:7 [-Wunreachable-code-break] 'break' will never be executed
widget/cocoa/nsNativeThemeCocoa.mm:3818:5 [-Wunreachable-code-break] 'break' will never be executed
2015-10-30 18:22:55 -07:00
Christoph Kerschbaumer
1ee2473768 Bug 1206964 - Use channel->AsyncOpen2() in netwerk/base/nsNetUtil.cpp (r=sicking) 2015-11-02 17:31:08 -08:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Benoit Girard
698006ddf9 Bug 1211612 - Add DragInputBlock for async scrollbars. r=kats
--HG--
extra : commitid : Grx9aF2UvH2
extra : rebase_source : ea2601a2a3ac2870383fa86d8e7bd90342424ce1
2015-10-26 16:06:49 -04:00
Makoto Kato
99903f5ab5 Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on widget. r=nfroyd 2015-10-28 14:28:06 +09:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Xidorn Quan
c62bff4099 Bug 1206468 - Remove unused internal appearance value -moz-mac-unified-toolbar. r=mstange
--HG--
extra : source : adbf31ddaea4d289f6a6a226a112f73cd3d8391f
2015-10-23 19:51:34 +11:00
Karl Tomlinson
92cf9adfb9 bug 1216916 clean up when InvokeDragSession() fails r=roc
--HG--
extra : rebase_source : 3e29c8454779b50d9eef9f4ea24aec537b8f865c
2015-10-21 22:16:40 +13:00