Commit Graph

11166 Commits

Author SHA1 Message Date
Phil Ringnalda
c341483576 Merge m-c to m-i 2015-11-19 21:08:34 -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
Martin Stransky
b9c29fd580 Bug 1209659 - Disable client-side decorations on broken Gtk3 versions (<3.20). r=karlt 2015-11-18 01:03:00 +01:00
Karl Tomlinson
75eb6f4525 back out 938041e183e5 from bug 1198613 for assertion failure in 423107-1.xhtml
"Placeholder relationship should have been torn down already; this might mean we have a stray placeholder in the tree."
2015-11-20 11:44:29 +13:00
Andrew Comminos
dbb88bb8df Bug 1198613 - Use GTK style padding for dropdown boxes in HTML. r=karlt 2015-11-18 14:11:58 +13:00
Karl Tomlinson
b2a077a033 bug 1225970 dispatch an event to release the widget after draw r=roc 2015-11-19 16:41:12 +13:00
Botond Ballo
6eb4da6024 Bug 1221371 - Remove unnecessary explicit copies of nsTArray. r=billm 2015-11-18 13:48:12 -05: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
87ed63b77f Bug 1223946 - Part 2: Ensure wheel event from nsDOMWindowUtil is dispatched on correct thread. r=kats 2015-11-18 19:33:00 -05: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
Kartikaya Gupta
562dd7fe4b Bug 1225950 - Remove unnecessary parameter from SetNeedsComposite. r=mchang 2015-11-18 18:49:58 -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
0dd66a5c2f Bug 1186795 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in widget/ with iterators. r=roc. 2015-11-17 18:18:10 -08:00
Nicholas Nethercote
4fcfcc507a Bug 1186795 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in widget/ with iterators. r=roc. 2015-11-17 18:18:09 -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
Boris Zbarsky
5ebefa259c Bug 1225188. Implement window.onstorage. r=smaug 2015-11-17 18:09:53 -05: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
Wes Kocher
d4df41c66e Merge inbound to central, a=merge 2015-11-17 13:10:03 -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
Gijs Kruitbosch
eb67dde6dd Bug 1221947 - part 2: add TOUCH cause to IME Handling and use it to avoid checking for a keyboard, r=masayuki 2015-11-12 16:36:19 +00: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
6cae69eb90 Bug 1224482 (part 7) - Make GetScaledScreenBounds() return a CSSIntRect. r=kats.
Also changes mOriginalBounds to a CSSIntRect*.
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
2d5c20aa3f Bug 1224482 (part 6) - Change nsScreenGonk::m{Virtual,Natural}Bounds to LayoutDevcieIntRect. r=kats. 2015-11-13 01:37:02 -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
195c3319dd Bug 1224482 (part 4) - Make GetClientSize() return a LayoutDeviceIntSize. r=kats. 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
2cacd3de07 Bug 1224482 (part 2) - Replace GetNaturalBoundsUntyped() with GetNaturalBounds(). r=kats. 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
Robert O'Callahan
9b47b8b38b Bug 1222092. Don't let sFocusedIMEWidget keep an nsIWidget alive during shutdown. r=masayuki 2015-11-13 17:05:54 +13:00
Neil Deakin
3798692f49 Bug 1212733, cache dnd window state instead of using gtk_window_get_type_hint, r=karlt 2015-11-17 07:13:22 -05:00
Sotaro Ikeda
77f7235da5 Bug 1144103 - Support screen recording r=mwu 2015-11-17 02:04:40 -08:00
Masayuki Nakano
5365d53005 Bug 1224454 part.2 IMMHandler::OnFocusChange() should cancel remaining composition when given nsWindow is being destroyed r=m_kato 2015-11-17 16:47:06 +09:00
Masayuki Nakano
65c680ed1b Bug 1224454 part.1 IMEHandler should generate NOTIFY_IME_OF_BLUR in e10s mode if the focused widget is being destroyed before receiving NOTIFY_IME_OF_BLUR r=m_kato 2015-11-17 16:47:06 +09:00
Matt Brubeck
78b3f9342d Bug 1223366 - Update event.buttons on GDK_BUTTON_RELEASE [r=karlt] 2015-11-16 22:01:32 -08:00
Kartikaya Gupta
cd1a648fcc Bug 1224325 - Ensure the coordinates passed to Gesture:SingleTap have the resolution unapplied so that they are in the RCD's CSS space. r=rbarker 2015-11-13 17:14:45 -05:00
Josh Aas
9e85fb88e3 Bug 1223966: Don't claim we support NSTextInput interface. r=masayuki 2015-11-13 15:38:03 -06:00
Kartikaya Gupta
cdba8a59bc Bug 1223296 - Fire a Gesture:SingleTap message to browser.js even on the C++ APZ codepath. r=rbarker 2015-11-13 15:10:52 -05:00
Kartikaya Gupta
30cce30d85 Bug 1223296 - Fire the MozMouseHittest event even if the C++ APZ is enabled. r=rbarker,botond 2015-11-13 15:10:52 -05:00
Kartikaya Gupta
08d119591a Bug 1223296 - Extract the function that dispatches a MozMouseHittest into a helper. r=rbarker 2015-11-13 15:10:51 -05:00
Sotaro Ikeda
528a4b4101 Bug 1224445 - Add NS_NATIVE_OPENGL_CONTEXT handling to nsWindow::GetNativeData() r=mwu 2015-11-13 02:18:14 -08: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
17e3e71226 Bug 1224403 (part 11) - Remove a GetBoundsUntyped() call. r=kats. 2015-11-12 15:37:18 -08:00
Nicholas Nethercote
8e676dc404 Bug 1224403 (part 10) - Make nsScreenGonk::GetNaturalBoundsUntyped() typed. r=kats. 2015-11-12 05:44:43 -08:00
Nicholas Nethercote
c9d9c12f5f Bug 1224403 (part 9) - Remove GetRestoredBoundsUntyped(). r=kats.
The typed version can be used everywhere without difficulty.
2015-11-12 05:43:01 -08:00
Nicholas Nethercote
dc8f201a43 Bug 1224403 (part 7) - Use LayoutDeviceIntMargin more in IMMHandler. r=kats. 2015-11-12 05:22:44 -08:00
Nicholas Nethercote
7f3304c716 Bug 1224403 (part 6) - Remove one WidgetToScreenOffsetUntyped() call. r=kats. 2015-11-12 05:08:31 -08:00