Граф коммитов

540164 Коммитов

Автор SHA1 Сообщение Дата
L. David Baron ee1674ecc5 Bug 1367576 - Refactor to allow for caching of some gtk widget padding/border results. r=karlt
This refactors the two nearly-identical callsites into a method so that
I can do caching in that method in the next patch.

Note that there was a slight difference between them in that the
aWidgetFlags parameter to GetGtkWidgetAndState was only passed from one
callsite.  However, given that the aState parameter is null, this
doesn't cause any behavior differences.  (Some controls in
GetGtkWidgetAndState null-check aWidgetFlags and some don't!)

Note also that this makes it always assign a result (often zero).  This
is fine for both callsites; GetWidgetPadding previously assigned zero
right before the call, and GetWidgetBorder did so at the start of the
function (and wasn't modified in between, since it was immediately
before the switch that the modified code is a case in).

MozReview-Commit-ID: IKurwry3UTi
2017-06-06 22:27:17 -07:00
L. David Baron 06ad92ffc6 Bug 1367576 - Remove unused ishtml parameter to moz_gtk_get_widget_border. r=karlt
This was needed for the (now-unused) GTK2 version of the code.

MozReview-Commit-ID: GocgC4OZ76p
2017-06-06 22:27:17 -07:00
L. David Baron 53383e2d5c Bug 1369260 - Remove use of MOZ_ASSERT_IF in layout. r=heycam
As I've said before, as module owner I prefer that MOZ_ASSERT_IF not be
used in the module because I consider it to be unreadable.  However, a
few uses have crept in, and this patch removes them.

I consider it to be unreadable because the name looks like a name that
uses smalltalk-ish naming conventions, i.e., with a part of the name
corresponding to each parameter, in order.  However, the parameters are
in the order opposite the name.

This was written primarily with the vim commands:
:%s/MOZ_ASSERT_IF(\([^,]*\),/MOZ_ASSERT(!\1 ||/
:wn
followed by manual cleanup for indentation and removal of !!.

MozReview-Commit-ID: G6rLbOn7k8d
2017-06-06 22:27:17 -07:00
Nicholas Nethercote 4c0ca14a86 Bug 1368915 (part 5) - Introduce MAX_JS_FRAMES. r=mstange.
--HG--
extra : rebase_source : 478043cf6e347f2eeb368cf0bcd90f7aa0c73c4e
2017-06-02 09:41:58 +10:00
Nicholas Nethercote 26d1e36a3d Bug 1368915 (part 4) - Clean up NativeStack. r=mstange.
This patch puts the arrays inside NativeStack, gives NativeStack a constructor,
and renames its fields using "mFoo" form.

The patch also moves MAX_NATIVE_FRAMES from the LUL-only code and applies it
globally. This increases the max native frame count from 256 to 1024 on the
LUL platforms, which makes things consistent with other platforms.

--HG--
extra : rebase_source : 0854ab37d101e090ea05cba7cb6d296450f8dfdc
2017-06-02 09:41:55 +10:00
Nicholas Nethercote 90133cc8f9 Bug 1368915 (part 3) - Rename aStartTime parameters as aProcessStartTime where appropriate. r=mstange.
This increases naming consistency. The remaining aStartTime parameters within
the profiler refer to a different start time than the process start time.

--HG--
extra : rebase_source : 0a07c54288f31af5a15518180b00fe59b587f784
2017-06-02 09:41:51 +10:00
Nicholas Nethercote d74c3bc157 Bug 1368915 (part 2) - Remove unnecessary mozilla:: qualifiers in plaform.cpp. r=mstange.
--HG--
extra : rebase_source : 9d88c5f5d8ee7d8bb825a92d5e22fb2c06d60d51
2017-06-02 09:41:48 +10:00
Nicholas Nethercote 53299e2c4a Bug 1368915 (part 1) - Rename a parameter of locked_register_thread(). r=mstange.
--HG--
extra : rebase_source : 6bd4cb02d0758a13b2938055052770a206893651
2017-05-31 15:14:50 +10:00
Kris Maglione bae21228e0 Bug 1320186: Don't sanitize storage values more than once. r=aswan
MozReview-Commit-ID: y6S5LqS7fL

--HG--
extra : rebase_source : 45cadc8b865782f3633d01785e6084cd676ccc72
extra : amend_source : a9d9e68e5b66efd0b4859ba8bee9e72cb7f12ced
2017-06-06 18:59:06 -07:00
Robert Strong b8bce5af15 Bug 1370634 - Make the time to wait the callback application (e.g. firefox.exe) to exit in the updater to be greater than the application's watchdog timer. r=mhowell 2017-06-06 20:27:21 -07:00
Robert Strong 25f82c418c Bug 1365845 - Reset app.update.cancelations after a successful update. r=mhowell 2017-06-06 20:26:14 -07:00
Phil Ringnalda 772debd9ae Backed out changeset 4524bfde8583 (bug 1361970) for failures in transform-3d/backface-visibility-3.html and transform-3d/opacity-preserve3d-1.html
CLOSED TREE

MozReview-Commit-ID: GmEmiedJYeX
2017-06-06 19:54:40 -07:00
Kyle Machulis 165e079628 Bug 1370237 - Always increment plugin epoch when creating nsPluginHost in parent; r=bsmedberg
If we don't increment the plugin epoch in the parent process before
the first call to LoadPlugins, and all plugin info is already cached,
the epochs will match and we'll never get a complete plugin list in
the child. This patch makes sure our first parent/child epoch check
never matches, so we always update correctly.

MozReview-Commit-ID: Jj1F8m3aeGx
2017-06-06 18:29:32 -07:00
Kyle Machulis 13959a88ce Bug 1337058 - Remove FindPlugins IPC message; r=bsmedberg 2017-06-06 18:29:32 -07:00
Boris Zbarsky 237aa3d58c Bug 1370072. Don't hold on to a frame pointer across a frame flush. r=ehsan 2017-06-06 21:21:45 -04:00
Boris Zbarsky febf0f30d6 Bug 1364816 part 5. Make getting window names a bit faster by avoiding various intermediate strings. r=qdot,jandem 2017-06-06 21:21:45 -04:00
Boris Zbarsky d6c61dbb66 Bug 1364816 part 4. Add a JS friend API for getting an jsid from a known-atom JSString*. r=jandem 2017-06-06 21:21:44 -04:00
Boris Zbarsky 60d80c3c4e Bug 1364816 part 3. Switch NeedResolve bindings to using a newResolve hook instead of a resolve hook. r=qdot,jandem 2017-06-06 21:21:44 -04:00
Boris Zbarsky 2a310b9f3b Bug 1364816 part 2. Add a way to ask the WebIDLGlobalNameHash for only the names that have not yet been resolved on the given window. r=qdot 2017-06-06 21:21:44 -04:00
Boris Zbarsky 1002ea42f3 Bug 1364816 part 1. Store the relevant constructor id in the entries in the WebIDLGlobalNameHash. r=qdot 2017-06-06 21:21:43 -04:00
Nathan Froyd cee39716e5 Bug 1370606 - fix fallible nsRefPtrHashtable::Put to really be fallible; r=erahm
Calling the infallible PutEntry effectively makes this function
infallible, despite Put taking a fallible_t argument.
2017-06-06 21:06:17 -04:00
Nathan Froyd cb5ef308b6 Bug 1370593 - avoid redundant lookups in nsRefPtrHashtable::Remove; r=mats
We already have a handle to the entry in the hashtable, we can remove
that directly, rather than implicitly looking up the entry to remove in
Remove().
2017-06-06 21:06:17 -04:00
Paul Bignier 500ecab8d6 Bug 1354920 - Typo fixes around 'algorithm'. r=MattN
MozReview-Commit-ID: IwFb43y8Dxm
2017-06-06 17:50:25 -07:00
Kim Moir 3fd9c162b0 Bug 1370663 - linux64 pgo doesn't have talos since May 15th! r=jmaher DONTBUILD 2017-06-06 20:43:16 -04:00
Matt Woodrow 80c51057d4 Bug 1361970 - Make PostProcessLayers occlusion culling work against the surface we will draw to rather than the parent layer. r=mstange 2017-06-07 11:07:15 +12:00
Aaron Klotz e4ffc15186 Bug 1367715: Check for IClientSecurity in a11y QueryInterface implementations; r=surkov
MozReview-Commit-ID: FwGEq5GLom1

--HG--
extra : rebase_source : 73e2e1e494e75cb1126583ca947208025a533690
2017-05-31 16:07:30 -06:00
Aaron Klotz 5e1f870e91 Bug 1367715: Back out 67e4f5e8a105 as it was not the correct fix; r=backout
--HG--
extra : rebase_source : be1fa414385c38d5a0f90b26dafa864771e9107f
2017-06-06 18:17:42 -06:00
Aaron Klotz 4a8e3690de Bug 1369111: Modify mscom interceptor to maintain a set of weak references to all interceptors that are currently live; r=jimm
MozReview-Commit-ID: 2pyAiw53rj7

Currently we wrap every outpointer interface with its own interceptor. Even two
identical interface outparams will get their own unique interceptors. Not only
does this violate COM object identity, but it is also inefficient; if an
interceptor already exists for a given interface, we should reuse it.

This patch adds a live set: when we create a new interceptor, we first check
the live set and reuse an existing interceptor if it is present. Otherwise we
create a new one and then insert it into the set.

The set uses thread-safe weak references to guard against races during
interceptor teardown.

--HG--
extra : rebase_source : fb3f11600fb368d169bd1164433e2d8780592146
2017-05-18 13:04:26 -06:00
Aaron Klotz e3fdd6169e Bug 1367885: Add a fast path to mscom Interceptor construction; r=jimm
MozReview-Commit-ID: AmS5oBNV7Po

When creating a new interceptor, we already have the correct target interface.
The interceptor ignores this and does a redundant inter-thread QI to resolve
an interface that we already have!

This patch adds a fast path to interceptor initialization that skips all of that
stuff and directly initializes itself using the given target interceptor.

--HG--
extra : rebase_source : dcfff7270efd5bda990e240bb06a9206656d5852
2017-06-06 18:30:19 -06:00
Aaron Klotz 2bf8b9acc9 Bug 1368150: Add IsWindows10BuildOrNewer to MFBT; r=froydnj
MozReview-Commit-ID: 6lxZWDPc6ZQ

I need to be able to distinguish between builds of Windows 10. Unfortunately the
stuff that I am working with cannot be sorted out via feature detection.

--HG--
extra : rebase_source : 6da46f31815b2938d9a7a984473ed01c35b8a59d
2017-06-06 11:14:58 -06:00
Wes Kocher bb1d061819 Merge inbound to central, a=merge CLOSED TREE
UPGRADE_NSS_RELEASE UPGRADE_NSPR_RELEASE

MozReview-Commit-ID: 2CXltQtu4Y1

--HG--
extra : amend_source : 16333c0fa5342dfbbb2a4ded71f94119a022e27b
2017-06-06 17:15:21 -07:00
Wes Kocher b7e2a83ab4 Merge autoland to central, a=merge CLOSED TREE
MozReview-Commit-ID: HLPLchv8Lt7
2017-06-06 16:18:16 -07:00
Ryan VanderMeulen 6cb217315a Backed out 12 changesets (bug 1366502) for causing intermittent QuantumRender debug crashtest crashes on a CLOSED TREE.
Backed out changeset 42350bacb0bc (bug 1366502)
Backed out changeset 7f98b7f60e58 (bug 1366502)
Backed out changeset 265e39153027 (bug 1366502)
Backed out changeset cf598918bb1b (bug 1366502)
Backed out changeset e2f21ee861e5 (bug 1366502)
Backed out changeset f7fcc15d8f90 (bug 1366502)
Backed out changeset 22408b6a1ad1 (bug 1366502)
Backed out changeset 8846dac9ee35 (bug 1366502)
Backed out changeset d5225d81b832 (bug 1366502)
Backed out changeset 82f5a21b53a6 (bug 1366502)
Backed out changeset 2b20aebef47d (bug 1366502)
Backed out changeset 95f4d82e3d79 (bug 1366502)
2017-06-06 18:06:42 -04:00
Wes Kocher 6ccfb3e58f Backed out 2 changesets (bug 1360581) for failures in test_workerupdatefoundevent.html a=backout CLOSED TREE
Backed out changeset d1c5998858a3 (bug 1360581)
Backed out changeset 4d81e7dfd020 (bug 1360581)

MozReview-Commit-ID: L0a89WRiv2R
2017-06-06 13:04:39 -07:00
Gregory Szorc 37582b662f Bug 1370539 - Fix logic error around skipping package metrics; r=nalexander, a=RyanVM
b227363d66bb added a config item and code for disabling package
metrics, which don't work everywhere.

The previous logic was faulty.

MozReview-Commit-ID: BGxWgmWxXyH

Pushing on a CLOSED TREE

--HG--
extra : amend_source : 99ca472e4c0fca306deec4038e9c7cbfe5412b0a
2017-06-06 11:09:58 -07:00
Brendan Dahl 3491e1213b Bug 1294075 - Disable marionette accessibility test on headless. 2017-06-06 09:45:38 -07:00
Sebastian Hengst ff1767bcb6 Backed out changeset f09499d7310c (bug 1359527) for Android bustage while processing gfx/2d/moz.build. r=backout 2017-06-06 18:40:32 +02:00
Sebastian Hengst 1545d39a00 Backed out changeset eb0fe335fbe5 (bug 1359527) 2017-06-06 18:39:50 +02:00
Ehsan Akhgari 19d6dc61bb Bug 1368286 - Take the idle queue into account in nsThread::HasPendingEvents(); r=smaug 2017-06-06 12:37:27 -04:00
Ehsan Akhgari 394af562be Bug 1370448 - Start poll watchdog timer off of a runnable from the main thread in order to avoid a false positive detected deadlock; r=dragana 2017-06-06 12:37:26 -04:00
Mark Banner e82e58aff9 Bug 1370507 - browser_all_files_referenced.js should be able to handle template strings. r=florian
MozReview-Commit-ID: FQZjG1i0ddk
2017-06-06 17:07:47 +01:00
Mason Chang 2e836194b0 Bug 1359527 Part 2 Add D2D fuzzing for GPU Luminance. r=jrmuizel 2017-06-06 09:05:31 -07:00
ffxbld cd09b99007 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-06-06 08:39:25 -07:00
ffxbld 12a027af8e No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-06-06 08:39:22 -07:00
L10n Bumper Bot 20963d7269 no bug - Bumping Fennec l10n changesets r=release a=l10n-bump
tsz -> removed
2017-06-06 03:00:37 -07:00
Michael Ratcliffe 786b52b5e9 Bug 1364437 - Make storage inspector layout match inspector's layout r=pbro
MozReview-Commit-ID: 3W9BpRMec4C

--HG--
extra : rebase_source : b8283e2eb3da96601adced69fb4629abc018f712
2017-06-06 10:55:41 +01:00
Simon Sapin 962178dc77 servo: Merge #17185 - Fix some "unused" warnings (from servo:unused); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 87005a0df33531995635728989c929572de429e7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 132d1a167ffd5a75ed978da5c82b71b8530bc8b1
2017-06-06 08:13:39 -07:00
Sebastian Hengst a0bd7b9c0d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BDyuSdNALvH
2017-06-06 11:20:56 +02:00
Ethan Lin ff2bdf007d Bug 1370155 - Remove fullscreen mode in basic compositor video test to prevent intermittent problem. r=jmaher 2017-06-06 09:55:49 +08:00
Delphine Lebédel a69dd29ced Bug 1370287 - (tsz) Drop 'tsz' locale from single-locale builds, r=flod
MozReview-Commit-ID: IO5vS3uzj6g

--HG--
extra : rebase_source : 8ca77acd02c6cdb9f5cce9e43dcd5428a3ca2b07
2017-06-05 17:17:16 -07:00