Commit Graph

11166 Commits

Author SHA1 Message Date
Phil Ringnalda
999ba780f2 Merge m-c to m-i 2015-11-19 21:08:34 -08:00
Phil Ringnalda
05685d140b 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
c42a6f6b24 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
dc42acdb6f 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
c916dfed4a Bug 1209659 - Disable client-side decorations on broken Gtk3 versions (<3.20). r=karlt 2015-11-18 01:03:00 +01:00
Karl Tomlinson
0ad09a4d56 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
fc8b58a762 Bug 1198613 - Use GTK style padding for dropdown boxes in HTML. r=karlt 2015-11-18 14:11:58 +13:00
Karl Tomlinson
e9e119631d bug 1225970 dispatch an event to release the widget after draw r=roc 2015-11-19 16:41:12 +13:00
Botond Ballo
df04eceb31 Bug 1221371 - Remove unnecessary explicit copies of nsTArray. r=billm 2015-11-18 13:48:12 -05:00
Tooru Fujisawa
7e18b44563 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
be906fcb07 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
4d790c8930 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
509226984e Bug 1225950 - Remove unnecessary parameter from SetNeedsComposite. r=mchang 2015-11-18 18:49:58 -05:00
Nicholas Nethercote
2014f827a0 Bug 1186795 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in widget/ with iterators. r=roc. 2015-11-17 18:18:32 -08:00
Nicholas Nethercote
659f2d2515 Bug 1186795 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in widget/ with iterators. r=roc. 2015-11-17 18:18:10 -08:00
Nicholas Nethercote
4b07f9d58a Bug 1186795 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in widget/ with iterators. r=roc. 2015-11-17 18:18:09 -08:00
Nicholas Nethercote
81aa29c752 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
ba6f134620 Bug 1225188. Implement window.onstorage. r=smaug 2015-11-17 18:09:53 -05:00
Nicholas Nethercote
c4ca8db337 Bug 1225007 (part 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-16 19:40:53 -08:00
Nicholas Nethercote
fe831e4a28 Bug 1225007 (part 1) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-15 21:37:52 -08:00
Wes Kocher
1d336048a8 Merge inbound to central, a=merge 2015-11-17 13:10:03 -08:00
Carsten "Tomcat" Book
e7f13607e8 Merge mozilla-central to fx-team 2015-11-17 12:35:11 +01:00
Matt Brubeck
9bd90550ae Bug 431620 - Remove unused function GetToggledKeyState [r=roc] 2015-11-16 16:06:41 -08:00
Gijs Kruitbosch
2128e4b37b 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
61949d32a5 Bug 1224738 - Fix alternate action index getter name on OS X. r=MattN 2015-11-16 13:09:38 -08:00
Nicholas Nethercote
dd3b0ed624 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
989819b3ac Bug 1224482 (part 6) - Change nsScreenGonk::m{Virtual,Natural}Bounds to LayoutDevcieIntRect. r=kats. 2015-11-13 01:37:02 -08:00
Nicholas Nethercote
49db2e3321 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
2828d6ed1d Bug 1224482 (part 4) - Make GetClientSize() return a LayoutDeviceIntSize. r=kats. 2015-11-13 01:37:02 -08:00
Nicholas Nethercote
dd42850a5b 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
f665d5a170 Bug 1224482 (part 2) - Replace GetNaturalBoundsUntyped() with GetNaturalBounds(). r=kats. 2015-11-13 01:37:02 -08:00
Nicholas Nethercote
7cd70b33b4 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
a8cbc64f94 Bug 1222092. Don't let sFocusedIMEWidget keep an nsIWidget alive during shutdown. r=masayuki 2015-11-13 17:05:54 +13:00
Neil Deakin
f281bc5024 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
36520c133b Bug 1144103 - Support screen recording r=mwu 2015-11-17 02:04:40 -08:00
Masayuki Nakano
04c58e0d96 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
50d068b7e3 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
edf01dff2d Bug 1223366 - Update event.buttons on GDK_BUTTON_RELEASE [r=karlt] 2015-11-16 22:01:32 -08:00
Kartikaya Gupta
ca2e424b79 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
aef2303711 Bug 1223966: Don't claim we support NSTextInput interface. r=masayuki 2015-11-13 15:38:03 -06:00
Kartikaya Gupta
272cd4b619 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
8bbbaa5889 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
455540c386 Bug 1223296 - Extract the function that dispatches a MozMouseHittest into a helper. r=rbarker 2015-11-13 15:10:51 -05:00
Sotaro Ikeda
d440c0af1e Bug 1224445 - Add NS_NATIVE_OPENGL_CONTEXT handling to nsWindow::GetNativeData() r=mwu 2015-11-13 02:18:14 -08:00
Nicholas Nethercote
e757101f7d 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
548d26e429 Bug 1224403 (part 11) - Remove a GetBoundsUntyped() call. r=kats. 2015-11-12 15:37:18 -08:00
Nicholas Nethercote
f384f42d29 Bug 1224403 (part 10) - Make nsScreenGonk::GetNaturalBoundsUntyped() typed. r=kats. 2015-11-12 05:44:43 -08:00
Nicholas Nethercote
b1180947eb 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
6a7413b7e2 Bug 1224403 (part 7) - Use LayoutDeviceIntMargin more in IMMHandler. r=kats. 2015-11-12 05:22:44 -08:00
Nicholas Nethercote
16431fcc25 Bug 1224403 (part 6) - Remove one WidgetToScreenOffsetUntyped() call. r=kats. 2015-11-12 05:08:31 -08:00