Commit Graph

543316 Commits

Author SHA1 Message Date
Jeff Muizelaar
75d68e196f Bug 1374900. Add MemWriter r=lsalzman
Add a dummy RecordToStream() implementation that supports something other than
istream. This makes a couple of places more generic to support this.
2017-06-22 23:55:47 -04:00
Jeff Muizelaar
4f96690374 Bug 1374900. Make our low level serialization functions generic over the type of stream. r=lsalzman 2017-06-22 23:55:47 -04:00
Jeff Muizelaar
23c4a6e056 Bug 1374900. Remove useless RecordToStream calls. r=lsalzman
The base class implementation does nothing.
2017-06-22 23:55:47 -04:00
Phil Ringnalda
65a3755989 Merge m-c to m-i
MozReview-Commit-ID: 417ZeUULO6h
2017-06-22 20:48:07 -07:00
Phil Ringnalda
23cd003651 Backed out changeset b7a44b036e41 (bug 1374348) for failing test_lcov_rewrite.py on Windows
CLOSED TREE

MozReview-Commit-ID: CKXrotmq8Ot
2017-06-22 20:47:13 -07:00
Jeff Gilbert
ad01c14ec9 Bug 1375721 - Use SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS on Intel+OGL. - r=daoshengmu
MozReview-Commit-ID: AuXtjsY4IjQ
2017-06-22 20:03:11 -07:00
Tim Taubert
237ab99f6b Bug 1375512 - Don't require a U2F*TokenManager to expose IsRegistered() r=qDot 2017-06-23 04:50:31 +02:00
Tim Taubert
d22430064c Bug 1375450 - Remove unused U2FTokenManager::PrefPromise r=qDot 2017-06-23 04:49:44 +02:00
Nicholas Nethercote
915a56fb41 Bug 1375299 (part 2) - Remove PROFILER_MARKER. r=mstange.
PROFILER_MARKER is now just a trivial wrapper for profiler_add_marker(). This
patch removes it.

--HG--
extra : rebase_source : 9858f34763bb343757896a91ab7ad8bd8e56b076
2017-06-22 13:40:21 +10:00
Nicholas Nethercote
4b364cf3f3 Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange.
This patch reduces the differences between builds where the profiler is enabled
and those where the profiler is disabled. It does this by removing numerous
MOZ_GECKO_PROFILER checks.

These changes have the following consequences.

- Various functions and classes are now defined in all builds, and so can be
  used unconditionally: profiler_add_marker(), profiler_set_js_context(),
  profiler_clear_js_context(), profiler_get_pseudo_stack(), AutoProfilerLabel.
  (They are effectively no-ops in non-profiler builds, of course.)

- The no-op versions of PROFILER_* are now gone. The remaining versions are
  almost no-ops when the profiler isn't built.

--HG--
extra : rebase_source : 8fb5e8757600210c2f77865694d25162f0b7698a
2017-06-22 06:26:16 +10:00
Marco Castelluccio
98273422c7 Bug 1374348 - Rewrite paths from JAR files. r=chmanchester
--HG--
extra : rebase_source : cf94efafe34b2d72b21c839bd7422225de758173
2017-06-22 21:54:12 +01:00
Mats Palmgren
4773d84ed5 Bug 1375097 - Remove nsRange::SetEnableGravitationOnElementRemoval() since it's now dead code. r=smaug
MozReview-Commit-ID: Er67fFQP5lF
2017-06-23 02:03:09 +02:00
Mats Palmgren
3ae8e80f81 Bug 1375075 - Remove a FlushPendingNotifications that we don't need anymore. r=cpearce
The code that needed it was removed in bug 1325053.

MozReview-Commit-ID: 8P60SOpqyPq
2017-06-23 02:03:09 +02:00
Mats Palmgren
c3f48d9dd2 Bug 1374875 - Use simpler mutation observer than nsRange for media elements. r=cpearce
MozReview-Commit-ID: FVPdHC6tBXg
2017-06-23 02:03:08 +02:00
Kris Maglione
7565237b48 Bug 1374129: Avoid loading content scripts into uninitialized about:blank documents. r=aswan
MozReview-Commit-ID: LN1E4Q5xAbO

--HG--
extra : rebase_source : 463b99f1d41ebd0af65b9f23fe71dac7f520dbb7
extra : amend_source : c8b0ec754d67584f33c7ee7364d032f531d16a51
2017-06-21 17:31:43 -07:00
Ryan VanderMeulen
291fb8fbf0 Bug 1375695 - Update pdf.js to version 1.8.480. r=bdahl 2017-06-22 18:53:14 -04:00
Andreas Farre
059d5cc125 Bug 1374514 - Don't use alias for SetDeadline signature. r=nfroyd 2017-06-19 23:59:00 +02:00
Nicholas Nethercote
033f83145c Bug 1375387 - Reorder and section-ify GeckoProfiler.h. r=mstange.
This patch gives some structure and order to the profiler's API.

It also renames AutoProfilerRegister as AutoProfilerRegisterThread, to match
profiler_register_thread().
2017-06-22 14:28:47 +10:00
Chris AtLee
c29d161654 Bug 1374422 - Enable OSX cross-compile builds as tier1 on mozilla-central. r=dustin
This patch enables OSX cross compiled jobs as tier 1, and additionally adds testing for OSX Nightlies via Taskcluster. Initially tested on the 'date' project branch primarily with Bug 1373384

MozReview-Commit-ID: 7nWfiSEDbJd

--HG--
extra : source : 68ff1aa745ff36119abde734ed313209b7730ea4
2017-06-19 16:47:11 -04:00
Justin Wood
6496099cec Bug 1373326 - unbreak decision task from beetmover addition, make sure repackage jobs have a 'build' dependency. r=dustin
MozReview-Commit-ID: Dlnb8gMqOEH

--HG--
extra : source : 9a062dfcb67090f14cb70f902e6fdf812f2a684d
2017-06-20 20:56:57 -04:00
domfarolino@gmail.com
af4e81298b Bug 1373088 - Don't use a timeout for compositor process startup when debugging child process. r=milan
--HG--
extra : rebase_source : 39e5c564fc7b0c2f7e94535a9c7b17bfd03914e3
2017-06-19 13:12:00 -04:00
Joanmarie Diggs
1115881728 Bug 1375460 - "haspopup" AtkObject attribute missing if multiprocess enabled. r=surkov
Move the object attribute exposure of states::HASPOPUP from the ATK wrapper
code to the shared accessibility code. Call UniversalStatesFor() rather than
State() for performance.

--HG--
extra : rebase_source : e31c2d00da302538a7f6962d8f4dfd148a7d877e
2017-06-22 07:25:00 -04:00
Nicholas Nethercote
784f6f2ee9 Bug 1374908 - Remove --enable-systrace. r=glandium.
This option causes MOZ_USE_SYSTRACE to be defined. The only use of that is in
GeckoProfiler.h where it causes the PROFILER_PLATFORM_TRACING macro to set
android::ScopedTrace. But android::ScopedTrace was defined in widget/gonk/
which was recently removed, so this won't work any more.

Furthermore, all that android::ScopedTrace did was to do a pair of
atrace_{begin,end}() calls, which doesn't seem that useful.
2017-06-21 14:06:22 +10:00
Kris Maglione
5a4378940a Bug 1375654: Package file_data.txt for chrome mochitests. r=mccr8
MozReview-Commit-ID: 9W8o69z5WUJ

--HG--
extra : rebase_source : a815c5c147f4a70905a87f27b436fc169daa4e1e
extra : amend_source : 3977a27ea9a68312e5d8a648aaeec4d843ff367f
2017-06-22 14:57:52 -07:00
Jeff Gilbert
676a7d42b3 Bug 1373007 - Update test markings.
MozReview-Commit-ID: GqfGNu1T048
2017-06-22 14:45:57 -07:00
Jeff Muizelaar
0de540ca2e Bug 1375534 - Add bindings for setting transform style to PushStackingContext. r=kats 2017-06-22 17:30:27 -04:00
Aaron Klotz
338586067c Bug 1375429: Ensure that a11y::LazyInstantiator::GetRootAccessible properly handles popup accessibles; r=eeejay
MozReview-Commit-ID: CFlNI1wXFG3
2017-06-22 13:35:52 -06:00
Wes Kocher
3bb3ab3c6b Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ot7Jjxzf5r
2017-06-22 14:18:12 -07:00
Nathan Froyd
2bc177cc76 Bug 1375168 - check for llvm-config where mach bootstrap would install it; r=rillian
For ease of use, we want to make checks for llvm-config automatically
examine the directory where `mach bootstrap` would install things, so
users don't necessarily have to have a mozconfig when building stylo.
Since the computation of this value is non-trivial, we pull out the
whole list of possible names for llvm-config into a @depends function,
and insert the computed value into that list when necessary.
2017-06-22 17:15:59 -04:00
Jeff Muizelaar
9781850638 Bug 1373863. Add basic invalidation to PaintedLayerBlobImage. r=kats
This allows us to reuse blob images if they haven't changed.
If they have changed we repaint the whole image.
2017-06-22 17:07:17 -04:00
Samuel Vargas
39d0d66ae6 Bug 1373007 - WebGL 1.04 extensions/webgl-draw-buffers-framebuffer-unsupported - r=jgilbert 2017-06-22 14:06:08 -07:00
Samuel Vargas
b2d3e3f7f6 Bug 1372385 - Fix premultiplication for LUMINANCE / LUMINANCE_ALPHA on WebGL2 conformance test - r=jgilbert 2017-06-22 14:03:45 -07:00
Jeff Muizelaar
e61bc0e9d7 Bug 1375179. Don't create a DrawTrargetDual from DrawTargetDual::CreateSimilarSurface() r=mstange
We mostly don't want a DrawTargetDual when calling CreateSimilarSurface
because we're going to doing something with that surface that doesn't
preserve the subpixel rendering.
2017-06-22 16:50:05 -04:00
Olli Pettay
8d489930b6 Bug 1374416 - don't dispatch the selectionchange event for pages that don't have such a listener registered, r=mystor
--HG--
extra : rebase_source : 7fb95e7f3c766b9de3a00175a0133093e2d194b1
2017-06-22 21:01:27 +03:00
Jason Laster
4a65f634da Bug 1375462 - Update Debugger frontend v0.6 (6/22/2017). r=jdescottes
MozReview-Commit-ID: 9tu0Jgz5SH3

--HG--
extra : rebase_source : beec87515159b7b4eb28a407b83ed8c463015db5
2017-06-22 21:36:25 +02:00
Eitan Isaacson
39a6c4774c Bug 1330765 - Only attempt to shutdown a11y if last XPC doc was just removed. r=surkov 2017-06-22 12:37:42 -07:00
Randall Barker
71df028548 Bug 1321574 - Remove ASSERT checking if nsWindow::NPZCSupport::SetIsLongpressEnabled is called on Java UI thread. The APZCTreeManager ensures the call is dispatched to correct thread r=esawin
MozReview-Commit-ID: 9lOQY2N5ISc
2017-06-22 12:13:09 -07:00
Michael Layzell
4e0049276e Bug 1373980 - Null-check infoArray correctly in GetInfoForSelf on macOS, r=mstange
MozReview-Commit-ID: 9hZ9VL9MWl9
2017-06-22 14:50:48 -04:00
Michael Layzell
b213d28b54 Bug 1374665 - Stop parsing principals during GetPermissionsForKey, r=ehsan
MozReview-Commit-ID: 28BCIqA2Kf2
2017-06-22 14:46:18 -04:00
Brian Birtles (:birtles)
3ea6292651 Bug 1363655 - Unwrap (lib)clang_path before passing it to os.path.* methods; r=froydnj
It seems like when we get (lib)clang_path from a --with-(lib)clang-path option
it has type PositiveOptionValue. If we pass that directly to os.path.exists or
os.path.isdir we will get:

  TypeError: coercing to Unicode: need string or buffer, PositiveOptionValue found

This patch makes us unwrap those values before passing them.
2017-06-22 14:29:50 -04:00
Andreas Farre
57d28e218a Bug 1373536 - Add missing includes due to added file. r=smaug
--HG--
extra : rebase_source : 1f71fd6d4101a78b3337f674f4ea4d4501c41093
2017-06-21 12:14:01 +02:00
Dan Minor
76c049c746 Bug 1373988 - Make webrtc-gtest build work with system jpeg and libvpx; r=glandium
MozReview-Commit-ID: 1x8v7G2fvlK

--HG--
extra : rebase_source : cf5475a104b95901cc66045e7f8a61d82f397980
2017-06-19 08:56:19 -04:00
Michael Layzell
5d8224bf06 Bug 1374665 - Stop parsing principals during GetPermissionsForKey, r=ehsan
MozReview-Commit-ID: 28BCIqA2Kf2
2017-06-21 14:23:18 -04:00
Michael Layzell
f02a75cf86 Bug 1350633 - Remove the Msg_GetWidgetNativeData sync IPC, r=billm, r=jimm
MozReview-Commit-ID: Bql29wgVDZ5
2017-06-21 14:23:16 -04:00
Michael Layzell
746a415780 Bug 1343728 - Part 4: Remove the window creation sync IPC calls, r=billm, r=smaug
MozReview-Commit-ID: IWayDUWuRrf
2017-06-21 14:23:15 -04:00
Michael Layzell
f6a1ba145d Bug 1343728 - Part 3: Add StableStateEventTarget, an event target which runs dispatched runnables at the next stable state, r=smaug
MozReview-Commit-ID: 8dlo5Z60qsG
2017-06-21 14:23:13 -04:00
Michael Layzell
aafcf19442 Bug 1343728 - Part 2: Add const operator== to TextureFactoryIdentifier and CompositorOptions, r=jrmuizel
MozReview-Commit-ID: 6BayMmqNlyx
2017-06-21 14:23:11 -04:00
Michael Layzell
e1e38ff7fb Bug 1343728 - Part 1: Add the ability to temporarially delay remote docshells from becoming active, r=smaug
MozReview-Commit-ID: KAaeu5ETc0x
2017-06-21 14:23:10 -04:00
Tobias Schneider
73616729d7 Bug 1363650 - (intersection-observer) Use content area as the intersection rectangle for custom root with overflow clip. r=mattwoodrow
--HG--
extra : rebase_source : f5f559903d704159a062d99fa43360a6222a3ee7
2017-06-21 10:40:44 -07:00
Nathan Froyd
622cba0919 Bug 1363655 - part 8 - check for the existence of a libclang bindgen will use; r=rillian
Ideally this check will alert people that something is wrong with their
configuration.  This check shouldn't normally be firing with our `mach
boostrap` setup, but if somebody chooses to install distribution
packages for some reason, this will at least prevent some problems.
2017-06-21 13:28:37 -04:00