Botond Ballo
ca9ef01c41
Bug 1069417 - Modify TransformTo() and related functions to use typed matrices. r=kats
...
Call sites (all in APZ and related code) were modified accordingly. Some of
these modifications involved changing some matrices stored in APZ to be typed.
2015-11-30 20:14:31 -05:00
Botond Ballo
34ea66cb43
Bug 1069417 - Generalize Matrix4x4 into Matrix4x4Typed<SourceUnits, TargetUnits>. r=Bas
...
Matrix4x4 remains a typedef for Matrix4x4Typed<UnknownUnits, UnknownUnits>.
No client code needed changing, except for forward-declarations of Matrix4x4
as a class (since it's now a typedef).
2015-12-02 18:52:00 -05:00
Nicholas Nethercote
2d25720ee9
Bug 1229237 (part 5) - Make Update{Opaque,WindowDragging}Region() take a LayoutDeviceIntRegion. r=botond.
2015-11-25 21:42:59 -08:00
Nicholas Nethercote
7bb1055535
Bug 1229237 (part 4) - Make ThemeGeometry::mRect a LayoutDeviceIntRect. r=botond.
2015-11-22 20:32:29 -08:00
Nicholas Nethercote
086ae9a5bb
Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond.
2015-11-16 21:18:31 -08:00
Nicholas Nethercote
cbec00a8de
Bug 1229237 (part 2) - Make nsIWidget::DrawWindowUnderlay() take a LayoutDeviceIntRect. r=botond.
2015-11-16 20:34:00 -08:00
Nicholas Nethercote
aa1114c018
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
2015-11-16 00:35:18 -08:00
Sotaro Ikeda
ded4524b9d
Bug 1229262 - Fix nsScreenGonk's thread safety r=mwu
2015-12-02 22:27:55 -08:00
David Anderson
952f898e0a
Add page scroll support for APZ wheel events. (bug 1228028, r=kats)
2015-12-02 17:05:11 -08:00
Nathan Froyd
999dd36c0c
Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
...
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Adam Farden
d28f6ef9c8
Bug 1227544 - Scaling on 720p devices is broken. r=timdream
...
Fix the scaling logic for 280-300dpi devices
Some xhdpi devices have real densities as low as 287dpi
but these devices are far too small to have an hdpi UI.
Signed-off-by: Adam Farden <adam@farden.cz>
2015-11-24 14:45:00 +01:00
Carsten "Tomcat" Book
0f9a85616c
merge mozilla-inbound to mozilla-central a=merge
2015-12-02 15:20:57 +01:00
Masayuki Nakano
6abb4e6b44
Bug 1213589 part.9 ContentEventHandler::ShouldBreakLineBefore() should return false if the content is unknown HTML element r=smaug
2015-12-02 13:20:01 +09:00
Masayuki Nakano
b1d47a5bac
Bug 1213589 part.8 When there are no nodes causing text, ContentEventHandler should set start of the editor root to start of the range r=smaug
2015-12-02 13:20:01 +09:00
Masayuki Nakano
98c788bfea
Bug 1213589 part.7 Add new testcases to runSetSelectionEventTest() and runQueryTextContentEventTest() for checking the behavior with open tag r=smaug
2015-12-02 13:20:01 +09:00
Masayuki Nakano
32e964a3fc
Bug 1213589 part.6 ContentEventHandler should insert line breaks at open tag of elements except non-replaced inline elements r=smaug
2015-12-02 13:20:00 +09:00
Masayuki Nakano
e894cacf0c
Bug 1213589 part.5 Redesign the rules to create range in ContentEventHandler::SetRangeFromFlatTextOffset() r=smaug
2015-12-02 13:20:00 +09:00
Mike Hommey
2662fa94e2
Bug 1225682 - Don't use nsAuto{,C}String as class member variables in widget/. r=roc
2015-12-02 11:04:37 +09:00
David Anderson
b05b8ccf46
Add APZ support for mousewheel delta multiplier prefs. (bug 1214170 part 2, r=kats)
2015-12-01 13:46:07 -08:00
David Anderson
5a4ffc917f
Add APZ support for mousewheel.acceleration prefs. (bug 1214170 part 1, r=kats)
2015-12-01 13:45:49 -08:00
Jim Chen
a6b8eae5c3
Bug 1227604 - Fix compositor event order; r=snorp
...
When the queue only contains compositor events, a compositor event
should go to the back of the queue to maintain order.
2015-12-01 13:48:18 -08:00
Kartikaya Gupta
157ee03c46
Bug 1229393 - Ensure that all the touch points from the original touch go to APZCCallbackHelper::SendSetTargetAPZCNotification. r=botond
2015-12-01 15:54:17 -05:00
Markus Stange
99251d4098
Bug 1221913 - Make swiping work correctly in e10s mode even if APZ is off. r=kats
2015-11-27 17:33:50 +01:00
Nathan Froyd
9c5e792164
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
1d9140f7f6
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
8bcec4ebaf
Bug 1228281 - [GTK3] add padding to buttons. r=karlt
2015-11-30 05:26:00 +01:00
Nicholas Nethercote
fef09fc527
Bug 1228125 (part 3) - Remove nsIWidget::GetClientBoundsUntyped(). r=botond.
2015-11-25 20:55:36 -08:00
Nicholas Nethercote
f64ae33631
Bug 1228125 (part 2) - Remove nsIWidget::GetScreenBoundsUntyped(). r=botond.
2015-11-25 20:55:34 -08:00
Nicholas Nethercote
bae167ebf7
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
Carsten "Tomcat" Book
5adea4ffad
Merge mozilla-central to mozilla-inbound
2015-11-30 13:45:10 +01:00
Carsten "Tomcat" Book
d572383d8b
merge mozilla-inbound to mozilla-central a=merge
2015-11-30 13:19:02 +01:00
Nicolas Silva
8828befa44
Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow
2015-11-20 14:25:00 +01:00
Nicholas Nethercote
409736b8f8
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
ae5c61f89f
Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond
2015-11-29 02:07:55 -05:00
Sebastian Kaspari
d8cfe26d6c
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.
2015-11-11 12:29:07 +01:00
Carsten "Tomcat" Book
2be210d5f5
Merge mozilla-central to b2g-inbound
2015-11-26 16:56:39 +01:00
sgiles
b641f1b5c5
Bug 1224604 - Handle Hover events when TalkBack is enabled. r=kats
2015-11-25 15:25:11 +00:00
Chris Peterson
f3bf739cba
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
ebd28b7690
Bug 1157109 - Call eglSwapBuffers() when hwc does not exit r=mwu
2015-11-26 01:21:15 -08:00
Nicolas Silva
40a0e6b07c
Bug 1200595 - Gralloc TextureData implementation. r=sotaro
2015-10-15 17:53:37 +02:00
Nigel Babu
9872df465c
Backed out changeset ebb6fb453cca (bug 1214170) for build bustage on a CLOSED TREE
2015-11-25 16:22:16 +05:30
David Anderson
60be2774fd
Add APZ support for mousewheel.acceleration prefs. (bug 1214170, r=kats)
2015-11-25 01:12:33 -08:00
Chris H-C
2ae966e281
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.
2015-11-20 07:42:00 +01:00
Nicholas Nethercote
c21ba3367b
Bug 1227020 - Replace nsBaseHashtable::Enumerate() calls in widget/ with iterators. r=roc.
2015-11-22 18:52:40 -08:00
Andrew Comminos
b85d12ee54
Bug 1198613 - Use GTK style padding for dropdown boxes in HTML. r=karlt
2015-11-18 14:11:58 +13:00
Karl Tomlinson
21cb188113
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
2015-11-25 11:07:21 +13:00
Wes Kocher
2bccabaf74
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)
2015-11-24 10:07:02 -08:00
Nicolas Silva
c12c0c1984
Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow
2015-11-20 14:25:00 +01:00
Nicolas Silva
b15e815c4f
Bug 1200595 - Gralloc TextureData implementation. r=sotaro
2015-10-15 17:53:37 +02:00
Nicholas Nethercote
ca061c58ed
Bug 1225007 (part 1, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
2015-11-19 14:10:38 +11:00