Commit Graph

19242 Commits

Author SHA1 Message Date
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
Nathan Froyd
dd84912fd6 Bug 1225923 - part 4 - fix AppendElement(nsDependentCString(...)) call in nsClipboardProxy.cpp; r=roc
I think the intent of this call is not to copy the flavor data passed
in, but to simply convert it to a friendlier nsCString container for
serializing to an IPC message.  Since we won't be retaining references
to the passed-in strings after this function returns, we can make the
elements of our temporary array actually dependent strings, rather than
creating temporary dependent strings that would need to be copied into
the array.
2015-11-18 10:55:41 -05:00
Nathan Froyd
8a2948e596 Bug 1225923 - part 1 - convert all needs-to-copy instances of AppendElement(nsDependentString(...)); r=erahm
When people write:

  array.AppendElement(nsDependentString(...));

(resp. nsDependentCString), it's not clear whether they expect the newly
constructed dependent string to live in the array, or whether they're
just making a nsString-like holder whose contents can be freely copied
into the array's newly-created nsString.  Sometimes the latter is what
you prefer, and sometimes the former.  In all cases, however, the latter
behavior is what you get.

Let's try to make that behavior more explicit by pre-constructing
nsString elements and then using Assign to show that copying is taking
place.  This patch involves no functional change in behavior (it ought
to be epsilon faster due to using AppendElements, rather than repeatedly
calling AppendElement).
2015-11-18 10:25:19 -05:00
Martin Stransky
3c958b324c Bug 1228281 - [GTK3] add padding to buttons. r=karlt
--HG--
extra : rebase_source : 4972b69d30730c10fbe450568cd2b1a7f3404c96
2015-11-30 05:26:00 +01:00
Nicholas Nethercote
af08555b74 Bug 1228125 (part 3) - Remove nsIWidget::GetClientBoundsUntyped(). r=botond.
--HG--
extra : rebase_source : 5e8cb05213c33983d7deebe0a36f2a4f6ac66375
2015-11-25 20:55:36 -08:00
Nicholas Nethercote
d6e3e8a5a8 Bug 1228125 (part 2) - Remove nsIWidget::GetScreenBoundsUntyped(). r=botond.
--HG--
extra : rebase_source : 46118bfc0152322cfdf8a82913c8b056a3f53bdc
2015-11-25 20:55:34 -08: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
Carsten "Tomcat" Book
2310bd59e6 Merge mozilla-central to mozilla-inbound 2015-11-30 13:45:10 +01:00
Carsten "Tomcat" Book
5a9f09086a merge mozilla-inbound to mozilla-central a=merge 2015-11-30 13:19:02 +01:00
Nicolas Silva
ce2636044e Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01: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
Sunny Sidhu
cfa8942015 Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond
--HG--
extra : source : dc46048f7a9e9cc008c97e2d9e0a100944743055
extra : amend_source : 63783bc076e5969ebacdc8c74f9b5194a1891d9e
2015-11-29 02:07:55 -05:00
Sebastian Kaspari
33f113a021 Bug 1189336 - (Part 1) Rename RestrictedProfiles to Restrictions. r=ally
RestrictedProfiles: The name of the class can be confusing because it handles
guest profiles and restricted profiles. We might even query it from a normal
profile.

--HG--
rename : mobile/android/base/RestrictedProfiles.java => mobile/android/base/Restrictions.java
extra : commitid : BtjvH8aWSlk
extra : rebase_source : 262c9537d7e93658ceea6f94c8481a393ddd3072
2015-11-11 12:29:07 +01:00
Carsten "Tomcat" Book
0a41d103c4 Merge mozilla-central to b2g-inbound 2015-11-26 16:56:39 +01:00
sgiles
55af4f89c3 Bug 1224604 - Handle Hover events when TalkBack is enabled. r=kats 2015-11-25 15:25:11 +00:00
Chris Peterson
44d581458a Bug 1223258 - Fix -Wunreachable-code warnings in widget. r=masayuki
widget/tests/TestAppShellSteadyState.cpp:397:5: warning: code will never be executed [-Wunreachable-code]
widget\widgetutils.cpp(95) : warning C4702: unreachable code
widget\mouseevents.h(97) : warning C4702: unreachable code
widget\textevents.h(492) : warning C4702: unreachable code
2015-11-08 22:46:00 -08:00
Sotaro Ikeda
5a4a957d58 Bug 1157109 - Call eglSwapBuffers() when hwc does not exit r=mwu 2015-11-26 01:21:15 -08:00
Nicolas Silva
48c889335e Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Nigel Babu
29e98fdbc3 Backed out changeset ebb6fb453cca (bug 1214170) for build bustage on a CLOSED TREE 2015-11-25 16:22:16 +05:30
David Anderson
859092e6a5 Add APZ support for mousewheel.acceleration prefs. (bug 1214170, r=kats) 2015-11-25 01:12:33 -08:00
Chris H-C
53663750f7 Bug 506815 - Replace MouseTrailer with TrackMouseEvent. r=jimm
MouseTrailer, using a 200ms timer, was used to track whether a pointer was
still present over a window.

Windows has, since Windows 2000, offered to do this for us via an API called
TrackMouseEvent. (It'll also give us hover timings and non-client area versions
if we want)

I'm all for having Windows do the work for us, and it'll save us from waking up
the main thread five times a second.

--HG--
extra : rebase_source : 9e56fd40929257d847c5cddb8a998c3ca2381655
2015-11-20 07:42:00 +01:00
Nicholas Nethercote
68a4454074 Bug 1227020 - Replace nsBaseHashtable::Enumerate() calls in widget/ with iterators. r=roc.
--HG--
extra : rebase_source : d6f3ad4cc9dbe64a13b989ed91a6f73ec7fe19a1
2015-11-22 18:52:40 -08:00
Andrew Comminos
1bc0d5d5c3 Bug 1198613 - Use GTK style padding for dropdown boxes in HTML. r=karlt
--HG--
extra : rebase_source : 2d36fcd0925ff497ad717317cc656db1552a55dd
2015-11-18 14:11:58 +13:00
Karl Tomlinson
42c19dece3 bug 1227008 use GtkPaperSize in GtkPageSetup directly, instead of maintaining a separate copy r=acomminos
Fixes a leak in nsPrintSettingsGTK::SetGtkPrintSettings() and
missed paper size copy in operator= (bug 965991).

GtkPageSetup always has a GtkPaperSize [1], which is returned from
gtk_page_setup_get_paper_size() as indicated in the docs [2]:
"Return value: the paper size" without "or NULL".

[1] https://git.gnome.org/browse/gtk+/tree/gtk/gtkpagesetup.c?h=2.18.0#n68
[2] https://git.gnome.org/browse/gtk+/tree/gtk/gtkpagesetup.c?h=2.18.0#n164

--HG--
extra : rebase_source : c554c9cb2c30380301fb4286efb9b52497c10d9d
2015-11-25 11:07:21 +13:00
Wes Kocher
72261b4523 Backed out 12 changesets (bug 1200595) for b2g mochitest crashes in SharedBufferManagerParent CLOSED TREE
Backed out changeset cf8cf1a039dd (bug 1200595)
Backed out changeset 65da564f952c (bug 1200595)
Backed out changeset 7663208f1582 (bug 1200595)
Backed out changeset fc1fbb97c8eb (bug 1200595)
Backed out changeset 3ad5a4c457fe (bug 1200595)
Backed out changeset add3fe9afc0c (bug 1200595)
Backed out changeset 68aba6b39588 (bug 1200595)
Backed out changeset ab326c34f1cf (bug 1200595)
Backed out changeset ed34bc528a1b (bug 1200595)
Backed out changeset 0dc93424546c (bug 1200595)
Backed out changeset 8cc12f12f3d1 (bug 1200595)
Backed out changeset bb84403701b7 (bug 1200595)

--HG--
extra : commitid : AMC6i05xyTh
2015-11-24 10:07:02 -08:00
Nicolas Silva
c1b94d01e8 Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva
318de9bd3b Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02: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
Andrew Herron
ffb1c5dd5b Bug 586587 - support kHTMLMime in the Windows clipboard as CF_HTML. r=jimm 2015-07-22 16:56:57 +10:00
Lee Salzman
6fea42974e Bug 1224974 - fix GTK shaped window drawing. r=bas 2015-11-19 17:23:43 -05:00
Wes Kocher
023e779c11 Backed out changeset 7b113a6167e9 (bug 1215265) for mass bustage CLOSED TREE
--HG--
extra : commitid : 4fRgovywnch
extra : histedit_source : 18da44a556f563d9aabadd24ed7780e9b29771bf
2015-11-22 23:02:18 -08:00
Robert O'Callahan
c5bea366b2 Bug 1215265. Don't leak CompositorChild in content processes. r=nical
This makes the shutdown sequence of CrossProcessCompositorParent
work very much like the shutdown sequence of CompositorParent:
the child does SendStop(); the parent's RecvStop does some cleanup
and then queues a DeferredDestroy task; DeferredDestroy releases
the parent, destroying it; IPDL sends a message to destroy the child.

--HG--
extra : commitid : BSzF9OvSEK9
extra : rebase_source : 2c4ebbadb7064289b032da06cfbd17a3fd2f6ed2
2015-11-18 13:39:47 +13:00
Dmitry Rozhkov
8df43f8eae Bug 962243 - Implement PINCH to TOUCHING transition in APZC. r=botond
--HG--
extra : commitid : FoHvf2KH9rd
2015-11-22 08:57:45 -05:00
Jan Varga
736e2d562c Bug 961049 - Part 8: Move getFileReferences() from PContent under new protocol PBackgroundIndexedDBUtils; r=baku 2015-11-22 10:44:33 +01:00
Carsten "Tomcat" Book
1a584aca79 Backed out 13 changesets (bug 1200595) for possibly breaking Reftest [TC] Crashtest tc-R on a CLOSED TREE
Backed out changeset e7278af0a484 (bug 1200595)
Backed out changeset c13228f84d85 (bug 1200595)
Backed out changeset 4b88e8a3d8af (bug 1200595)
Backed out changeset e55376bd2cf8 (bug 1200595)
Backed out changeset 9c27c8e2c021 (bug 1200595)
Backed out changeset a369a2983ceb (bug 1200595)
Backed out changeset 09e71ba15ea8 (bug 1200595)
Backed out changeset b555b130d439 (bug 1200595)
Backed out changeset 6819f6d82287 (bug 1200595)
Backed out changeset a8cdfbf443d8 (bug 1200595)
Backed out changeset 0092c9d7a86b (bug 1200595)
Backed out changeset 6dc38a1e6073 (bug 1200595)
Backed out changeset fe2164aa1468 (bug 1200595)
2015-11-20 16:55:26 +01:00
Nicolas Silva
25167273f1 Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva
94c7acf9ef Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Phil Ringnalda
538ef0460d Merge m-c to m-i 2015-11-19 21:08:34 -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
Martin Stransky
b0130333d6 Bug 1209659 - Disable client-side decorations on broken Gtk3 versions (<3.20). r=karlt 2015-11-18 01:03:00 +01:00
Karl Tomlinson
0fd339415f 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
22dfcf8089 Bug 1198613 - Use GTK style padding for dropdown boxes in HTML. r=karlt
--HG--
extra : rebase_source : b67e5c9e54429c755471bb2bceb618ed30feac60
2015-11-18 14:11:58 +13:00
Karl Tomlinson
d492b7f418 bug 1225970 dispatch an event to release the widget after draw r=roc
--HG--
extra : rebase_source : 11fb4b79b3a245d178e935e41a140ead22c33d31
2015-11-19 16:41:12 +13:00
Botond Ballo
65d984ff6f Bug 1221371 - Remove unnecessary explicit copies of nsTArray. r=billm
--HG--
extra : source : e3ade121fe3a26db1e65cd6b91de29dfe8cc5a61
extra : intermediate-source : a09da6e0b017448d6e2b85eb4a6c08dba51999c7
2015-11-18 13:48:12 -05: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
4fafcaab6f Bug 1223946 - Part 2: Ensure wheel event from nsDOMWindowUtil is dispatched on correct thread. r=kats
--HG--
extra : commitid : ELvlq969M1f
2015-11-18 19:33:00 -05: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