Commit Graph

278856 Commits

Author SHA1 Message Date
John Daggett
fdc20b64e0 Bug 1157064 - implementation of font-display. r=heycam,khuey 2016-01-07 14:03:05 +09:00
John Daggett
bb31e75a7b Bug 1157064 - font-display descriptor parsing. r=dbaron 2016-01-07 14:02:58 +09:00
Matthew Gregan
3c47961d0e Bug 1236977 - Default initialize IMMDevice temporary to avoid potential garbage CloseHandle on error. r=padenot 2016-01-07 17:53:55 +13:00
Hiroyuki Ikezoe
fa13c2351b Bug 1212720 - Part 4: Remove all cancelAllAnimationsOnEnd. It is not needed any more. r=bbirtles 2015-12-22 00:50:00 -05:00
Hiroyuki Ikezoe
f1fe349347 Bug 1212720 - Part 3: Remove AnimationTimeline.getAnimations. r=heycam, r=smaug 2015-12-21 20:39:00 -05:00
Hiroyuki Ikezoe
37a12aa90b Bug 1212720 - Part 2: Tests for document.getAnimations. r=heycam 2016-01-06 14:22:00 -05:00
Hiroyuki Ikezoe
3065e61451 Bug 1212720 - Part 1: Implement Document.getAnimations(). r=heycam, r=smaug 2016-01-06 14:21:00 -05:00
Chris H-C
77e012ce87 Bug 1235821 - Don't track mouseleave when capturing mouse. r=jimm
Since, in Windows, the tabbar overlays the "nonclient" area, TrackMouseEvent
will report a WM_MOUSELEAVE when you move your mouse when dragging a tab.

So, suspend mouseleave tracking when capturing and resume when we end capture.

A nice effect of TrackMouseEvent is that it'll immediately post a WM_MOUSELEAVE
if called when the mouse is outside the client area, so when capture ends, we
are either over the client area and tracking resumes or we aren't and we get
an immediate WM_MOUSELEAVE.
2016-01-06 10:48:00 -05:00
Alastor Wu
a8be7c94ed Bug 1223297 - Add multiple audio channel test. r=baku 2015-11-18 10:01:14 +08:00
Matt Howell
26baf77bea Bug 1120124 - Prevent 64-bit builds from installing over 32-bit ones (or vice-versa) by default. r=rstrong 2016-01-05 14:31:27 -08:00
Alastor Wu
077a740ce2 Bug 1225425 - [Testcase] Do not unregister the AudioChannelAgent during seeking. r=baku 2016-01-07 01:21:05 +08:00
Jeff Muizelaar
5fe8c4e544 Bug 1228641. Add a polyfill of std::initializer_list. r=froydnj 2016-01-06 22:06:35 -05:00
Timothy Nikkel
37b3227e36 Bug 1237086. When getting the displayport for a content node if there is no root scroll frame just use the primary frame of the content node. r=botond
XUL documents don't have a root scroll frame, so this would early return and prevent any of the tiling and max texture size code from running.

The root element of XUL documents likely only ever has zero-margin displayports, and they are not scrollable, so it may not be important.
2016-01-06 20:51:01 -06:00
Jim Chen
b2d786a063 Bug 1236654 - Properly shut down GLController on nsWindow closing; r=snorp
When nsWindow closes, notify GLController to shut down. To ensure any
pending calls on the UI thread are processed first, post a Runnable to
the UI thread that disposes the GLController on the UI thread.
2016-01-06 21:33:18 -05:00
Jim Chen
2891776543 Bug 1236643 - Reorder GeckoEditable destruction sequence; r=esawin
To guarantee that GeckoInputConnection and GeckoEditable are not used by
GeckoView after GeckoEditable has been destroyed, we need to make sure a
certain sequence is followed. We should first unset the
InputConnectionListener in GeckoView on the UI thread; then unset the
GeckoEditableListener on the IC thread; and finally finish destroying
the GeckoEditable instance through disposeNative. This patch merges this
logic with the initialization logic in GeckoEditable.onViewChange, so
that onViewChange can be used for both initialization and destruction.
2016-01-06 21:33:18 -05:00
Jim Chen
b66d467ae2 Bug 1236643 - Let GeckoInputConnection keep its view; r=esawin
Right now GeckoInputConnection uses GeckoAppShell to get its view, but
it should be keeping its own View reference to support multiple
GeckoViews.
2016-01-06 21:33:18 -05:00
Jim Chen
93a75c7aab Bug 1236640 - Make selection change part of the IME change transaction; r=esawin
We notify IME text changes in transactions. We should make selection
change notification part of that transaction.
2016-01-06 21:33:18 -05:00
Jim Chen
b47c9ec581 Bug 1236705 - Correctly handle all text change scenarios; r=esawin
Handle all text change scenarios efficiently but correctly. In
particular, when we have a pending "replace text" action, make sure we
preserve old and new spans as much as we can, and make sure we merge the
text from the pending action with the actual changed text.
2016-01-06 21:33:18 -05:00
Jim Chen
6dea4d05a3 Bug 1236049 - Be smarter about which Context to use for opening Intent; r=sebastian
Use an Activity as the Context when we have one. This avoids the crash
and also avoids an ugly black flash when you cancel the intent chooser.
When we don't have an activity, use an application context and add the
new task flag.
2016-01-06 21:33:18 -05:00
Jim Chen
fd42c0160e Bug 1235246 - Configure GeckoLayerClient after GLController is initialized; r=snorp
LayerView used to call GeckoLayerClient.onGeckoReady directly if Gecko
is sufficiently loaded. However, onGeckoReady indirectly calls
GLController.createCompositor, and it's possible for the
createCompositor event to be prioritized so that it happens before we
initialize GLController, causing a crash. This patch moves the
onGeckoReady call to the Gecko thread, after GLController is
initialized, to avoid this race condition.
2016-01-06 21:33:18 -05:00
Jim Chen
3499223f24 Bug 1235246 - Only prioritize compositor events in GLController; r=snorp
Only three GLController events -- CreateCompositor, PauseCompositor, and
OnResumedCompositor should be prioritized through GLControllerEvent. The
other GLController events should follow the normal event queue ordering
to prevent race conditions.
2016-01-06 21:33:17 -05:00
Jim Chen
3058d39468 Bug 1235246 - Always execute a queued call if it's overdue; r=me
GeckoThread.queueNativeCallLocked tries to execute a queued native call
if it's already overdue, but it incorrectly checked that the queue is
not empty. That check is not necessary, and an overdue native call
should always be executed. One-line patch, r=me.
2016-01-06 21:33:17 -05:00
Kartikaya Gupta
426034af5d Bug 1219352 - Pack the FrameMetrics booleans. r=botond 2016-01-06 20:50:01 -05:00
Kartikaya Gupta
1d9ca2051e Bug 1219352 - Rearrange fields in FrameMetrics. r=botond
This patch:
- Maintains a consistent ordering between the lists of fields in the
  FrameMetrics constructor, operator==, IPC read/write functions, and the
  actual order of fields in FrameMetrics. As part of this, missing default
  initializers are added to the FrameMetrics constructor, and fields omitted
  from the operator== are explicitly noted.
- Moves all the boolean values to the end of the set of field (for better
  packing).
- Moves the scroll id and parent scroll id to the front of the list, so that
  the operator== can fail faster in the common case.
2016-01-06 20:50:01 -05:00
Kartikaya Gupta
7430f33698 Bug 1219352 - Update a couple of bool-setters to take a bool argument. r=botond 2016-01-06 20:50:01 -05:00
JW Wang
5181946c6d Bug 1237174 - Remove the unnecessary code since mState won't change in the case of DECODER_STATE_COMPLETED. r=bechen. 2016-01-06 18:18:13 +08:00
JW Wang
a0c7f57823 Bug 1234424. Part 2 - remove unused code. r=roc. 2016-01-05 21:15:43 +08:00
JW Wang
4ddde56313 Bug 1234424. Part 1 - share the underlying value of MDSM::mSameOriginMedia with DecodedStream. r=roc. 2016-01-05 21:15:37 +08:00
Daniel Holbert
6ebeaf810f Bug 1236506: Add support for "-webkit-filter" as an alias for CSS property "filter". r=heycam 2016-01-06 16:35:33 -08:00
Blake Kaplan
5a7df56023 Bug 1237146 - Enable this now-passing test. r=billm 2016-01-06 16:19:07 -08:00
Shu-yu Guo
cfb7759eb5 Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Shu-yu Guo
ae410b2600 Bug 1220564 - Update and remove obsolete JS reftests. (r=Waldo) 2016-01-06 16:02:15 -08:00
Shu-yu Guo
eff8e4db48 Bug 1220564 - Update and remove obsolete jit-tests. (r=Waldo) 2016-01-06 16:02:15 -08:00
Shu-yu Guo
f78cda4f50 Bug 1220564 - Remove legacy array comprehensions. (r=Waldo) 2016-01-06 16:02:15 -08:00
Shu-yu Guo
573d343e70 Bug 1220564 - Remove legacy generator comprehensions. (r=Waldo) 2016-01-06 16:02:15 -08:00
kearwood
69567444e9 Bug 1230352 - Update to Oculus SDK 0.8.0,r=vlad 2015-09-22 09:38:28 -04:00
Wes Kocher
b3f948db32 Backed out changeset 1687f6972fe2 (bug 1233716) for apparently breaking mn-e10s 2016-01-06 15:35:29 -08:00
Nicholas Nethercote
b9901873fb Bug 1237169 (follow-up) - Fix static analysis bustage. r=me. 2016-01-06 15:31:46 -08:00
Nicholas Nethercote
7f2a29515d Bug 1237169 - Remove some unused parameters in and around xpcom/base/. r=mccr8. 2016-01-05 19:32:28 -08:00
Henrik Skupin
d2e0cf7d90 Bug 1237322 - Mirror latest changes of firefox-ui-tests packages. r=maja_zf 2016-01-07 00:09:05 +01:00
Nicholas Nethercote
efe71ca38d Bug 1231881 - Remove NativeSurfaceType::CAIRO_SURFACE. r=bas.
We have both NativeSurfaceType::CAIRO_CONTEXT and
NativeSurfaceType::CAIRO_SURFACE. They both refer to DrawTargets with Cairo
backends. The only reason for having both is so you can call GetNativeSurface()
and get either the |cairo_t*| or the underlying |cairo_surface_t*|.

I argue that this convenience confuses things more than it helps. This patch
removes CAIRO_SURFACE, and adds explicit cairo_get_target() calls where
necessary.
2016-01-05 14:24:08 -08:00
Jean-Yves Avenard
91209d30e3 Bug 1236167: P1. Do not attempt to destroy a non allocated surface. r=nical 2016-01-07 09:30:32 +11:00
Eric Faust
b9834bc732 Bug 1234702 - Part 4: Self-host default base class constructor. (r=till) 2016-01-06 14:26:14 -08:00
Eric Faust
8d268b5780 Bug 1234702 - Part 3: Self-host default derived class constructor. (r=till) 2016-01-06 14:26:14 -08:00
Eric Faust
25ac2fbc49 Bug 1234702 - Part 2: Fix up class constructor scripts to allow cloning. (r=Waldo) 2016-01-06 14:26:14 -08:00
Eric Faust
6f61ae17c2 Bug 1234702 - Part 1: Allow opt-in calls to content invoking spread opts in self-hosted code. (r=till) 2016-01-06 14:26:14 -08:00
Eric Faust
f0aed3b4d8 Bug 1235656 - Followup: Allow extended functions with guessed atoms in self-hosted code. (rs=arai) 2016-01-06 14:26:14 -08:00
Nicholas Nethercote
1642efb19c Bug 1230415 - Use DrawTarget instead of gfxContext in PaintBorderWithStyleBorder(). r=roc. 2015-12-03 19:16:25 -08:00
Armen Zambrano Gasparnian
48d80d763b Bug 1233716 - Set self.minidump_stackwalk_path if specified in the configs. r=jlund 2015-12-18 09:57:20 -05:00
Francois Marier
27795dd105 Bug 1237103 - Fix Application Reputation remote lookups. r=gcp 2016-01-06 13:37:06 -08:00