Commit Graph

1426 Commits

Author SHA1 Message Date
Masayuki Nakano
0e46431f4f 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
dc1bebbf22 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
f329a3868e Bug 1231051 - Moz2Dify nsNativeThemeCocoa::DrawWidgetBackground. r=mstange. 2015-12-09 15:34:18 +11:00
Nicholas Nethercote
ecc2b60c48 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.
2015-12-02 21:45:41 -08:00
Nicholas Nethercote
030fd36dff Bug 1229237 (part 5) - Make Update{Opaque,WindowDragging}Region() take a LayoutDeviceIntRegion. r=botond. 2015-11-25 21:42:59 -08:00
Nicholas Nethercote
31406e70ae Bug 1229237 (part 4) - Make ThemeGeometry::mRect a LayoutDeviceIntRect. r=botond. 2015-11-22 20:32:29 -08:00
Nicholas Nethercote
3b77d966c8 Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond. 2015-11-16 21:18:31 -08:00
Nicholas Nethercote
5b298e5d07 Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond. 2015-11-16 00:35:18 -08:00
Markus Stange
63bd9e5d79 Bug 1221913 - Make swiping work correctly in e10s mode even if APZ is off. r=kats 2015-11-27 17:33:50 +01:00
Nicholas Nethercote
4d4e5f4387 Bug 1228125 (part 1) - Remove nsIWidget::GetBoundsUntyped(). r=botond.
This requires adding a new overloading of LayoutDevicePixel::ToAppUnits and a
new PixelCastJustification: LayoutDeviceIsParentLayerForRCDRSF.
2015-11-25 20:32:47 -08:00
Nicholas Nethercote
16965dfefb 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
929ee0f0bf Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-19 14:10:38 +11:00
Jorg K
a853234c9d Bug 938991 - text/rtf support for clipboard data. r=enndeakin 2015-11-23 11:04:26 -08:00
Phil Ringnalda
a8f7f7dcab 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
2d1e9b597b Bug 1225007 (part 2, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-19 17:34:20 +11:00
Nicholas Nethercote
b9abd35877 Bug 1225007 (part 1, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-19 14:10:38 +11:00
Tooru Fujisawa
e5ae9d6de3 Bug 1224790 - Use SetFakeModal instead of SetModal for non-modal window opened by modal window. r=smaug, mstange 2015-11-18 20:12:26 +09:00
Randall Barker
3fef84f2dc Bug 1223946 - Part 1: Clean up and support needed for converting WidgetWheelEvent to ScrollWheelInput. r=kats 2015-11-18 19:32:37 -05:00
Nicholas Nethercote
d691306b00 Bug 1186795 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in widget/ with iterators. r=roc. 2015-11-17 18:18:32 -08:00
Nicholas Nethercote
38a8c624ec 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
d9626aa742 Bug 1225007 (part 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-16 19:40:53 -08:00
Nicholas Nethercote
7488dd3e22 Bug 1225007 (part 1) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-15 21:37:52 -08:00
Carsten "Tomcat" Book
7f1285ea6f Merge mozilla-central to fx-team 2015-11-17 12:35:11 +01:00
Matt Brubeck
99950703f2 Bug 431620 - Remove unused function GetToggledKeyState [r=roc] 2015-11-16 16:06:41 -08:00
Kit Cambridge
5f3b830d15 Bug 1224738 - Fix alternate action index getter name on OS X. r=MattN 2015-11-16 13:09:38 -08:00
Nicholas Nethercote
f507c4752d Bug 1224482 (part 5) - Avoid excessive mozilla:: prefixes in nsIWidget and its subclasses. r=kats.
A couple of typedefs make things a lot nicer.
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
1804b2dda3 Bug 1224482 (part 3) - Replace GetClientOffsetUntyped() with GetClientOffset(). r=kats.
The patch also changes nsMenuPopupFrame::mLastClientOffset to
LayoutDeviceIntPoint.
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
fec16238b0 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.
2015-11-12 16:04:52 -08:00
Josh Aas
9e85fb88e3 Bug 1223966: Don't claim we support NSTextInput interface. r=masayuki 2015-11-13 15:38:03 -06:00
Nicholas Nethercote
e25f809f62 Bug 1224403 (part 12) - Remove WidgetToScreenOffsetUntyped(). r=kats.
There are few enough calls now that using WidgetToScreenOffset() +
ToUnknownPoint() is a better approach.
2015-11-12 15:37:18 -08:00
Nicholas Nethercote
66047527f1 Bug 1224403 (part 4) - Make {Get,Set}NonClientMargins() return/take a LayoutDeviceIntMargin. r=kats.
This required adding {To,From}UnknownMargin().
2015-11-11 23:05:04 -08:00
Nicholas Nethercote
b900f1cf11 Bug 1224403 (part 2) - Split GetClientOffset() into typed and untyped versions. r=kats. 2015-11-11 19:56:06 -08:00
Botond Ballo
75a83b58d9 Bug 1222661 - Replace FromUntyped(obj) calls with FromUnknown*(obj). r=nical 2015-11-09 18:22:25 -05:00
Botond Ballo
6aaae8a2bc Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical 2015-11-06 22:13:40 -05:00
Carsten "Tomcat" Book
eb4942092b merge mozilla-inbound to mozilla-central a=merge 2015-11-11 12:42:52 +01:00
Kit Cambridge
1334e5ad60 Bug 1220337 - Don't show alternate notification actions on OS X 10.8. r=MattN 2015-11-10 11:23:13 -08:00
Nicholas Nethercote
ffaa7a3203 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.
2015-11-09 21:37:32 -08:00
Josh Aas
a4ea75acf4 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
724fc66457 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 2015-08-15 06:34:13 +09:00
Tooru Fujisawa
58c4b08b98 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 2015-08-15 06:33:59 +09:00
Josh Aas
78340eece2 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
d5a4a11d5c Bug 1180564: Don't implement NSTextInput any more, just NSTextInputClient. r=masayuki 2015-11-07 18:19:49 +09:00
Botond Ballo
b4f149d49f Bug 1220923 - Make nsIntRegion a typedef for IntRegionTyped<UnknownUnits>. r=nical 2015-11-04 11:49:49 -05:00
Josh Aas
32118ab86d Bug 1221451: Don't pass nil when an argument is required. r=spohl 2015-11-06 10:24:19 +09:00
Chris Peterson
8545237c76 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
4665bd60cb Bug 1206964 - Use channel->AsyncOpen2() in netwerk/base/nsNetUtil.cpp (r=sicking) 2015-11-02 17:31:08 -08:00
Birunthan Mohanathas
f6aa64ea3b Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Benoit Girard
8f90a15611 Bug 1211612 - Add DragInputBlock for async scrollbars. r=kats 2015-10-26 16:06:49 -04:00
Makoto Kato
9d46de6041 Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on widget. r=nfroyd 2015-10-28 14:28:06 +09:00
Kyle Huey
3c530551ba Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00