Commit Graph

255281 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
88ad80b638 Bug 1059572 - Part 1: Move PostTimerEvent to TimerThread to allow TimerThread's monitor to protect it. r=nfroyd 2015-07-22 12:39:34 -05:00
Byron Campen [:bwc]
5024c05759 Bug 1059572 - Part 0.5: Fixes for pre-existing problems in TestTimers. r=nfroyd 2015-07-29 11:43:40 -05:00
Byron Campen [:bwc]
6e85d7f435 Bug 1059572 - Part 0: Fuzz test for timers. r=nfroyd 2015-07-29 11:16:14 -05:00
Matt Woodrow
cf1fb0f8fd Bug 1150944 - Don't force the discrete GPU for skia gl. r=jrmuizel 2015-07-29 16:35:55 -04:00
Matt Woodrow
a355c051e4 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Matt Woodrow
8c5f0fa1e1 Bug 1150944 - Fix gfxPrefs unit test to not rely on skia-gl pref. r=mstange 2015-07-29 16:35:55 -04:00
Matt Woodrow
31bd832d97 Bug 1150944 - Remove objects that have been unlinked by the cycle collector from the demotable context list. r=ehsan 2015-07-29 16:35:55 -04:00
Matt Woodrow
780354aac4 Bug 1150944 - Mark some reftests fuzzy with skia-gl. r=mstange 2015-07-29 16:35:55 -04:00
Matt Woodrow
e70ae6405a Bug 1034370 - Make sure we release the SkImageFilter in DrawTargetSkia::DrawSurfaceWithShadow. r=gw280 2015-07-29 16:35:55 -04:00
Jared Wein
993e29625e Bug 1185775 - Shorten the transition for entering and exiting DOM fullscreen. r=rittme, ui-r=phlsa 2015-07-20 16:24:00 -04:00
Andrea Marchesini
93eee3e644 Bug 1185820 - XMLHttpRequest::Open() in worker should count the recursion using a uint32_t and not a boolean. r=khuey 2015-07-29 16:10:15 -04:00
Neil Rashbrook
ea0391b36d Bug 1185568 More of UITour.jsm depends on health reporter r=gfritzsche 2015-07-29 21:02:59 +01:00
David Burns
35b3c99c75 Bug 1189027: Bump marionette driver to 0.11; r=ato 2015-07-29 20:48:07 +01:00
Timothy Nikkel
f0b6688f5d Bug 1189010. In ScrollFrameHelper::BuildDisplayList decide if we are building a scrollable layer before we call AppendScrollPartsTo because it needs this information. r=mstange
AppendScrollPartsTo finds or creates a scroll id for the current scroll frame if IsMaybeScrollingActive() is true (otherwise it uses the null scrollid). IsMaybeScrollingActive() looks at mShouldBuildScrollableLayer, which we compute after the first call to AppendScrollPartsTo in ScrollFrameHelper::BuildDisplayList.

This means that on the first paint with a displayport set (or even if we create a displayport is ScrollFrameHelper::BuildDisplayList) we wouldn't layerize the scroll thumb in nsSliderFrame::BuildDisplayListForChildren because it looks for the current scroll id set on the display list builder. On subsequent paints this would be corrected so it caused reftest failures.
2015-07-29 14:45:57 -05:00
Jim Blandy
66a6dd189c Bug 1180047: Debugger.prototype.findObjects should not return objects that must not be exposed to JS. r=fitzgen 2015-07-06 11:43:22 -07:00
Sean Stangl
0868ed3a22 Bug 1187094 - Part 2/2 - Fix non-unified build. r=efaust 2015-07-27 15:18:31 -07:00
Sean Stangl
418bfab056 Bug 1187094 - Part 1/2 - Move Lowering's visitConstant() to shared code. r=nbp 2015-07-23 15:26:52 -07:00
Jim Chen
254ad9bb7a Bug 1186517 - Generate JNI bindings for Bundle; r=snorp
Add Bundle to the list of SDK classes to generate JNI bindings for. The
generated bindings, like other SDK classes, use XPCOM-style nsresult
to indicate success/failure, and return values through out-parameters.
2015-07-29 15:11:15 -04:00
Jim Chen
ddde91bbc6 Bug 1186517 - Fix SDKProcessor API version detection; r=snorp
The API version detection functionality was broken in SDKProcessor
because we were passing in "Lpackage/Class;" as the class name rather
than just "package/Class". Also, some classes have a weird situation
where some methods were moved around in later API versions. For example,
some put* and get* methods in Bundle were moved to BaseBundle in API 21.
If we only checked BaseBundle.put*, we would think they are API 21+
only. The workaround is to check both the top-level class and the
declaring class for a member, and choose the lower API level as the
minimal API level for that member.

This patch also fixes bugs in including the right class members.
For SDKProcessor we want to include all public members of a class,
including inherited members, because the private/protected members are
not part of the public API. For AnnotationProcessor, we want to include
all the members declared in that class, including private and
protected members, because we may want to access private/protected
members of our own Java classes from C++.
2015-07-29 15:11:15 -04:00
Jim Chen
d4cfdd4ca4 Bug 1186517 - Adjust white spacing in generated files; r=me 2015-07-29 15:11:15 -04:00
Jim Chen
31900f731d Bug 1186530 - Fix compile error when using native methods with ref parameters; r=snorp
We use Ref::From() inside TypeAdapter<Ref>::ToNative to convert a raw JNI
ref argument to a Ref argument for the C++ function. However, that
generates a compile error, unless we make TypeAdapter<Ref> a friend of
Ref, because we intentionally made Ref's copy constructor private and
returning from TypeAdapter<Ref>::ToNative requires the copy constructor.
2015-07-29 15:11:15 -04:00
Jim Chen
fa23b86d99 Bug 1186530 - Add support for instance native pointers; r=snorp
Introduce a JNIObject class that serves as a base class for classes
that wish to use per-instance native methods. JNIObject includes a long
native pointer field that the C++ code accesses to associate the Java
object instance with a C++ object instance.
2015-07-29 15:11:15 -04:00
Jim Chen
e50c3c9536 Bug 1182641 - Implement new native methods for ANRReporter; r=snorp 2015-07-29 15:11:15 -04:00
Jim Chen
a01650d99f Bug 1182641 - Update autogenerated code; r=me 2015-07-29 15:11:15 -04:00
Jim Chen
c2b85595fb Bug 1182641 - Use new autogenerated native methods for ANRReporter; r=snorp 2015-07-29 15:11:14 -04:00
Vladimir Vukicevic
8b7baa4bb2 Bug 1188700, [webvr] Fix VR distortion compositing in d3d11/gl to take into account rendertarget size and transform; r=kip 2015-07-29 14:39:47 -04:00
Vladimir Vukicevic
1d7b498b27 Bug 1186608, [webvr] Add individual prefs to disable backends, set sane defaults; r=mstange 2015-04-12 23:05:36 -04:00
Vladimir Vukicevic
f7cfb01bc7 Bug 1167326, fix up VR distortion constant buffer; r=bas 2015-07-29 14:39:47 -04:00
Vladimir Vukicevic
edc0cc2ab3 Bug 1179935, introduce complex viewport projections to Compositor, remove PrepareViewport; r=mstange
---
 gfx/layers/Compositor.h                          |  10 ---
 gfx/layers/basic/BasicCompositor.h               |   2 -
 gfx/layers/composite/TextureHost.h               |  34 +++++++-
 gfx/layers/d3d11/CompositorD3D11.cpp             |  47 +++++++---
 gfx/layers/d3d11/CompositorD3D11.h               |   4 +-
 gfx/layers/d3d9/CompositorD3D9.h                 |   2 +-
 gfx/layers/opengl/CompositingRenderTargetOGL.cpp |  23 +++--
 gfx/layers/opengl/CompositingRenderTargetOGL.h   |   2 +
 gfx/layers/opengl/CompositorOGL.cpp              | 104 +++++++++++++----------
 gfx/layers/opengl/CompositorOGL.h                |   6 +-
 10 files changed, 145 insertions(+), 89 deletions(-)
2015-05-19 13:51:26 -04:00
Vladimir Vukicevic
ea27f7ace1 Bug 1179944, [webvr] put back support for Oculus 0.5.0 runtime, for OSX and Linux; r=mstange 2015-06-05 13:14:10 -04:00
Vladimir Vukicevic
ff08123863 Bug 1179944, [webvr] support Oculus 0.6.0 runtime and rendering; r=mstange
---
 gfx/2d/Quaternion.h                              |  10 +
 gfx/layers/Layers.h                              |   6 +-
 gfx/layers/composite/ContainerLayerComposite.cpp | 161 +++++++---
 gfx/layers/composite/ContainerLayerComposite.h   |   3 +
 gfx/thebes/gfxPrefs.h                            |   2 +
 gfx/vr/gfxVR.cpp                                 |  56 ++++
 gfx/vr/gfxVR.h                                   |  37 +++
 gfx/vr/gfxVRCardboard.cpp                        |  54 +---
 gfx/vr/gfxVROculus.cpp                           | 367 +++++++++++++++--------
 gfx/vr/gfxVROculus.h                             |  14 +-
 gfx/vr/moz.build                                 |  10 +
 gfx/vr/ovr_capi_dynamic.h                        | 261 +++++++++++-----
 modules/libpref/init/all.js                      |   3 +
 13 files changed, 694 insertions(+), 290 deletions(-)
2015-07-02 11:58:24 -04:00
Vladimir Vukicevic
4661807fc2 Bug 1179933, add Layer::ReplaceEffectiveTransform for temporary transform changes; r=mstange
---
 gfx/layers/Layers.h | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
2015-05-19 13:56:31 -04:00
David Keeler
77182daa23 bug 1181823 - convert test_ev_certs.js, test_keysize_ev.js, and test_validity.js to generate certificates at build time r=Cykesiopka r=mgoodwin 2015-06-17 16:02:08 -07:00
Botond Ballo
46912805fb Bug 1131359 - Fix an include-what-you-use error in AsyncCompositionManager.cpp. r=kats 2015-07-27 18:48:54 -04:00
Botond Ballo
b70da53918 Bug 1131359 - Port the double-tap-to-zoom functionality of BrowserElementPanning.js to C++. r=kats 2015-07-27 14:07:58 -04:00
Botond Ballo
3445769acb Bug 1131359 - Expose a basic FrameMetrics calculations in nsLayoutUtils. r=kats 2015-07-27 14:06:05 -04:00
Aidin Gharibnavaz
4685f4a3ce Bug 108603 - Remove NS_IMPL_QUERY_INTERFACE_INHERITED0. r=mccr8, r=froydnj 2015-07-24 12:13:00 -04:00
Trevor Rowbotham
8ada8f23d2 Bug 1161564 - Re-enable browser_CTP_iframe test now that it has been rewritten. r=jimm 2015-07-27 11:15:00 -04:00
Jordan Lund
7dc9bddc15 Bug 1180063 - update mozharness docs, DONTBUILD r=me a=testing 2015-07-29 11:24:36 -07:00
Botond Ballo
cdd1ddf2d4 Bug 1186164 - When clearing the overscroll animation state, make sure GetOverscroll() continues to reflect the correct direction of overscroll. r=Cwiiis 2015-07-22 18:55:55 -04:00
Benoit Girard
8f9aebe5fd Bug 1188543 - Part 1: Add TabSwitchComplete event. r=billm 2015-07-29 13:28:05 -04:00
Byron Campen [:bwc]
5f772f1635 Bug 1188590: Don't sync dispatch if we're already on main. r=snorp, a=abillings 2015-07-28 16:56:34 -05:00
Ryan VanderMeulen
dee2846e93 Merge m-c to inbound. a=merge 2015-07-29 13:51:27 -04:00
Ryan VanderMeulen
ae1c820a43 Merge fx-team to m-c. a=merge 2015-07-29 13:49:24 -04:00
Ryan VanderMeulen
72a0c8b7a4 Merge b2g-inbound to m-c. a=merge 2015-07-29 13:48:48 -04:00
Bobby Holley
106e778c81 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Bobby Holley
a567cf64a6 Bug 1188696 - Remove the XPCOM dependencies in nsRefPtr.h. r=froydnj 2015-07-29 10:44:58 -07:00
Ryan VanderMeulen
7e14fbd090 Bug 1180017 - Fix up the badly-horked backout and re-land.
CLOSED TREE
2015-07-29 12:31:47 -04:00
B2G Bumper Bot
70d1187736 Bumping manifests a=b2g-bump 2015-07-29 09:22:30 -07:00
B2G Bumper Bot
123780e42c Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/97666dae0fe5
Author: Martijn <martijn.martijn@gmail.com>
Desc: Merge pull request #31135 from mwargers/1188467

Bug 1188467 - Remove the last FrameSendFailureError stuff

========

https://hg.mozilla.org/integration/gaia-central/rev/4786137e3834
Author: Martijn Wargers <mwargers@mozilla.com>
Desc: Bug 1188467 - Remove the last FrameSendFailureError stuff
2015-07-29 09:20:33 -07:00