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

487643 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher a58f8b89a0 Merge m-c to inbound, a=merge 2016-08-18 16:32:58 -07:00
Wes Kocher f433f0dd71 Merge fx-team to central, a=merge 2016-08-18 16:16:47 -07:00
Mason Chang b9665be6df Bug 1296360 - Add a dwrite enabled check to the reftest sandbox. r=lsalzman 2016-08-18 16:06:51 -07:00
Seth Fowler 90008b4d20 Bug 1293472 (Part 4) - Test that single-frame and animated decodes can coexist for the same image. r=edwin 2016-08-18 15:42:49 -07:00
Seth Fowler 1f92f3a7b9 Bug 1293472 (Part 3) - Store animated images in the surface cache as a sequence of frames, rather than each frame getting its own cache entry. r=dholbert,edwin,njn 2016-08-18 15:42:48 -07:00
Seth Fowler 367e148297 Bug 1293472 (Part 2) - Add AnimationSurfaceProvider. r=dholbert,edwin 2016-08-18 15:39:43 -07:00
Seth Fowler aef6675e11 Bug 1293472 (Part 1) - Make it possible to seek DecodedSurfaces. r=dholbert 2016-08-18 15:39:40 -07:00
Andrew McCreight e5e0b12c27 Bug 1288870, part 3 - Remove the now-vestigial Mark code for XPCNativeInterface. r=billm
XPCNativeInterface::Mark(), Unmark() and IsMarked() don't do anything
any more, so anything that calls them can be deleted. This removes the
only use of XPCCallContext::CanGetInterface(), so delete that, too.

MozReview-Commit-ID: 4w3aPTVXNDI
2016-08-18 15:20:48 -07:00
Andrew McCreight f8d14c904a Bug 1288870, part 2 - Make XPCNativeInterface refcounted. r=billm
There are four classes that call Root() on XPCNativeInterface, and
thus keep interfaces alive. Each of these gets converted to use a
RefPtr:

1. XPCCallContext. This could be on some kind of hot path, but the
FindMemberCall involves various string operations and hashtable
lookups, so adding a single AddRef shouldn't matter. One weirdness
here is that the context only roots the interface when |mState >=
HAVE_NAME|. With a RefPtr<>, this requires nulling out
mInterface. Fortunately, in most cases where it moves from rooting to
non-rooting, it already does this. The one case it does not is in
SystemIsBeingShutDown(), so my patch adds that.

2. XPCNativeSet. This holds an array of interfaces in a weird
placement new array at the end of the object. I wasn't sure how a
non-POD class would interact with the way the array is handled with
casting, so I manually AddRef and Release things put into or removed
from the array.

3. AutoMarkingNativeInterfacePtr simply becomes RefPtr<>. This is the
bulk of the patch, in terms of number of lines changed.

4. Similarly, the one AutoMarkingNativeInterfacePtrArrayPtr becomes
nsTArray<RefPtr<>>. This is the last use of the auto marking array
class, so I deleted it.

Here are some other notes on what the patch does:

- XPCNativeInterfaces are created with placement new. This requires a
special version of refcounting that calls DestroyInstance, defined in
the previous patch. The GetNewOrUsed methods used to explicitly call
DestroyInstance(), but with refcounting this is no longer needed.

- The Mark() etc. methods are gutted so they don't do anything and
mMarked is removed because it is no longer used. The methods will be
cleaned up in later patches in this bug.

- Interfaces are removed from mIID2NativeInterfaceMap in the dtor
instead of during sweeping, requiring an extra hash table lookup.

- All of the methods that can create a new interface (NewInstance,
GetISupports, GetNewOrUsed) now return an already_AddRefed<>, which
gives some static checking that we don't accidentally fail to hold
onto a newly created interface.

MozReview-Commit-ID: CrlH1ENAzvr
2016-08-18 15:20:48 -07:00
Andrew McCreight f68a2b0443 Bug 1288870, part 1 - Add NS_INLINE_DECL_REFCOUNTING_WITH_DESTROY. r=froydnj
This is the same basic idea as NS_IMPL_RELEASE_WITH_DESTROY. I need
this because I am making XPCNativeInterface refcounted, and it uses
some weird placement new stuff requiring a special function to
deallocate the object. (It does this to store an array of arbitrary
length inline, presumably for some sort of time or space reason.)

MozReview-Commit-ID: 5I7BgY6YlLl
2016-08-18 15:20:48 -07:00
Shu-yu Guo 94e75db5b5 Bug 1295775 - Suppress sampling during compaction. (r=djvj) 2016-08-18 15:24:48 -07:00
Aaron Klotz ce3943a9f7 Bug 1268544: Remove extra MOZ_COUNT_CTOR that should have been removed; r=bustage
MozReview-Commit-ID: 6oenmiLJE67
2016-08-18 16:13:00 -06:00
Aaron Klotz f615c493d3 Bug 1268544: Temporarily disable test_about_pages.py on Windows e10s due to bustage; r=bustage
MozReview-Commit-ID: IX47RXVjEyI

--HG--
extra : rebase_source : b8601ced1411bf7d1de4b34876d81a6850c23dfc
2016-08-18 16:04:43 -06:00
Jim Chen 767998ce0c Bug 1294077 - Move reportJavaCrash out of AndroidJNI.cpp; r=snorp
Move reportJavaCrash out of AndroidJNI.cpp and re-implement it as a
native method in GeckoAppShellSupport.
2016-08-18 18:04:11 -04:00
Jim Chen f78bb41597 Bug 1294482 - Move onFullScreenPluginHidden out of AndroidJNI.cpp; r=snorp
Move onFullScreenPluginHidden out of AndroidJNI.cpp and into a new-style
native method in nsAppShell.cpp.
2016-08-18 18:04:11 -04:00
Jim Chen 16c96d39f8 Bug 1294071 - Move dispatchMemoryPressure out of GeckoAppShell; r=snorp
Move dispatchMemoryPressure out of GeckoAppShell and AndroidJNI.cpp
2016-08-18 18:04:11 -04:00
Jim Chen ef76c29f7a Bug 1294069 - Move notifyBatteryChange out of GeckoAppShell; r=snorp
Move notifyBatteryChange out of GeckoAppShell and AndroidJNI.cpp.
2016-08-18 18:04:11 -04:00
Jim Chen f76d27da14 Bug 1294710 - Move UI thread methods out of GeckoAppShell; r=snorp
Move methods to run callbacks on UI thread out of GeckoAppShell and into
GeckoThread.
2016-08-18 18:04:11 -04:00
Jim Chen f13d6e6a90 Bug 1293709; r=snorp 2016-08-18 18:03:04 -04:00
Sebastian Hengst d89e98bdee Backed out changeset 666bd7d68521 (bug 1241898) for reftest and mochitest failures. r=backout 2016-08-18 23:57:44 +02:00
Jean-Yves Avenard 8ac9ba75d3 Bug 1296152: [ffmpeg] Don't use all CPUs available when decoding. r=mattwoodrow
MozReview-Commit-ID: C4CTiC9H79A

--HG--
extra : rebase_source : 05c37856dc72c0b08e23c523cfa41e011b3802ea
2016-08-18 15:34:19 +10:00
Andrew Comminos 6c78c89f37 Bug 1281241 followup - Use legacy taskcluster instances for XPCShell and ASAN devtools. r=philor 2016-08-18 01:09:47 -04:00
Johann Hofmann 7d5df7f192 Bug 1295488 - Don't use a directory for mozscreenshots localFile tests. r=MattN
MozReview-Commit-ID: 3QJZsB7BHqg

--HG--
extra : rebase_source : 7c5194a98d20511d822e036a2427ab1e4a1fbcc1
extra : histedit_source : 11b60a4251922d6313c808da4b0c7e998579c779
2016-08-17 08:54:33 +02:00
Tim Nguyen 06e9a1a661 Bug 1293930 - Update storage inspector tree icons to new thin icon style. r=helenvholmes
MozReview-Commit-ID: 9fZTRaMSTDm
2016-08-17 14:06:51 -07:00
Wes Kocher 75891668b5 Merge m-c to fx-team, a=merge 2016-08-17 17:26:23 -07:00
Wes Kocher ae78ab94fa Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Wes Kocher 07f8858bf6 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07:00
Randell Jesup bb59c9e52f Backed out changeset 3fb31d11633e (bug 1295296) 2016-08-17 16:22:41 -04:00
Wes Kocher 37a02d441d Backed out 6 changesets (bug 1264642) for marionette failures a=backout CLOSED TREE
Backed out changeset f0067001c059 (bug 1264642)
Backed out changeset 078e5c447f21 (bug 1264642)
Backed out changeset 7c60fc4144fb (bug 1264642)
Backed out changeset 9f434697ef2e (bug 1264642)
Backed out changeset 06fc278fcedf (bug 1264642)
Backed out changeset 162098402acc (bug 1264642)
2016-08-17 10:49:25 -07:00
Wes Kocher b7ea1393f2 Backed out 3 changesets (bug 1286476) for frequent windows wpt failures in phases-and-states.html CLOSED TREE
Backed out changeset 53bbfa02d45d (bug 1286476)
Backed out changeset 3947ab570883 (bug 1286476)
Backed out changeset ffd8c37eb695 (bug 1286476)
2016-08-17 10:41:46 -07:00
Wes Kocher 6b3d348f17 Backed out 2 changesets (bug 1294358) for xp mda failures a=backout CLOSED TREE
Backed out changeset 886441076b5f (bug 1294358)
Backed out changeset 848141457f25 (bug 1294358)

--HG--
extra : amend_source : 393a51d18d37246cec3617fb3162478cd98b3bb2
2016-08-17 10:06:40 -07:00
Wes Kocher 6f430a404b Backed out changeset 942b01866756 (bug 1295844) for xp mda failures a=backout 2016-08-17 10:06:27 -07:00
Wes Kocher 8738cfff5d Backed out 7 changesets (bug 1289549) for functional UI failures a=backout
Backed out changeset 32ff5490a900 (bug 1289549)
Backed out changeset 0a62241f9774 (bug 1289549)
Backed out changeset b6e3d77671f7 (bug 1289549)
Backed out changeset 506846cb7c35 (bug 1289549)
Backed out changeset efdb25f69c2c (bug 1289549)
Backed out changeset 6f8b50b7a92a (bug 1289549)
Backed out changeset 1c61346368e5 (bug 1289549)

--HG--
rename : browser/modules/SocialService.jsm => toolkit/components/social/SocialService.jsm
rename : browser/modules/test/unit/social/test_SocialService.js => toolkit/components/social/test/xpcshell/test_SocialService.js
rename : browser/modules/test/unit/social/test_SocialServiceMigration21.js => toolkit/components/social/test/xpcshell/test_SocialServiceMigration21.js
rename : browser/modules/test/unit/social/test_SocialServiceMigration22.js => toolkit/components/social/test/xpcshell/test_SocialServiceMigration22.js
rename : browser/modules/test/unit/social/test_SocialServiceMigration29.js => toolkit/components/social/test/xpcshell/test_SocialServiceMigration29.js
2016-08-17 09:18:14 -07:00
Iris Hsiao f9b93d730f Bug 1294013 - [jsdbg2] Disentangle parsing and checking of resumption values Part 2. r=jimb
CLOSED TREE
2016-08-17 21:07:28 +08:00
Andreas Pehrson 0083eb9342 Bug 1295296 - Ignore video tracks in MediaStreamAudioSourceNode. r=jesup
MozReview-Commit-ID: 1NeFS5wIpxC

--HG--
extra : transplant_source : %CB%0A%A7c%5C%EF%9A%EA%E6D%AE%9C%8F%CC%16%3E%9E%9E2a
2016-08-17 14:26:47 +02:00
Andreas Pehrson 0dd38ea89e Bug 1295296 - Assert that we don't see video tracks in ExternalAudioInputStream. r=jesup
MozReview-Commit-ID: Cw7KMFhY5Ai

--HG--
extra : transplant_source : w_U%C6%0DVL%3F%22%03D%0F%8E%05%86%8A%97%D6%7C%8D
2016-08-17 14:26:15 +02:00
Andreas Pehrson 97c077fd3e Bug 1295296 - Add a mochitest. r=jesup
MozReview-Commit-ID: OolLgdIQy9

--HG--
extra : transplant_source : %87%0E%B2K%BFr%D4%2B%F4%B99r%F7%F3%92%BA%D3%90%A7%FD
2016-08-17 14:25:33 +02:00
Eddy Bruel 6d0ac1efa2 Bug 1294013 - Replace parseResumptionValueHelper with processResumptionValue in handleUncaughtException. r=jimb 2016-08-17 20:18:57 +08:00
Eddy Bruel aa37c5c999 Bug 1294013 - Factor out processResumptionValue. r=jimb 2016-08-17 20:18:54 +08:00
Eddy Bruel 19be1a2432 Bug 1294013 - Factor out CheckResumptionValue. r=jimb 2016-08-17 20:18:52 +08:00
Jan Odvarko e19ed1dbbc Bug 1291972 - Decrease inspector sidebar min-width to 300px. r=jdescottes
--HG--
extra : rebase_source : bab598242b930dfe2edaba25bac6771d16725b3f
2016-08-17 12:02:19 +02:00
JW Wang ecaa7b7a0d Bug 1295901 - Change the semantics/naming of MediaDecoderReader::ReleaseMediaResources(). r=jya
MozReview-Commit-ID: DyOwNcC2JK5

--HG--
extra : rebase_source : 5b14dfe1df7ed9eab1783fba64ff4a481e520339
2016-08-17 15:03:30 +08:00
Wes Kocher f90f3d11fd Merge m-c to fx-team, a=merge
a=release for the webidl hook due to comment-only changes

--HG--
extra : amend_source : d988a8a774085539988d1d964c4beb2d07eecb50
2016-08-16 22:09:34 -07:00
Jaideep Bhoosreddy 8bcb67462f Bug 1291877 - Source map optimization in console due to Unique Locations. r=jsantell
--HG--
extra : rebase_source : 890ed6da1a3ea2406334ed7565e9b1a79a14ebee
2016-08-16 23:21:00 -04:00
Jonathan Chan b35975ec17 Bug 1293739 - Part 2: Rename nsCSSPropertySet to nsCSSPropertyIDSet. r=dholbert
The previous patch in this series renamed nsCSSProperty to nsCSSPropertyID.
This patch renames nsCSSPropertySet to nsCSSPropertyIDSet accordingly.

This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSPropertySet\b/nsCSSPropertyIDSet/g' -i''

Then:

  hg mv layout/style/nsCSSPropertySet.h layout/style/nsCSSPropertyIDSet.h

... and finally, manually renaming nsCSSPropertySet in the include guard in
nsCSSPropertyIDSet.h.

(NOTE: Re-landing this patch on a CLOSED TREE to correctly-address the merge bustage that closed the tree.)

MozReview-Commit-ID: ASUNs7FWbKP

--HG--
rename : layout/style/nsCSSPropertySet.h => layout/style/nsCSSPropertyIDSet.h
2016-08-16 18:46:58 -07:00
Jonathan Chan 4b87f11bd9 Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''

Then:

  hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h

... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.

MozReview-Commit-ID: ZV6jyvmLfA

--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-16 18:37:48 -07:00
Gregory Szorc 1794619188 Backed out changesets dcdb85fc5517, 702bca0deee2, 9cKX8gC1ATA (bug 1293739) for build bustage; a=bustage
The merge from inbound to central conflicted with the merge from
autoland to central, it appears. Per tree rules, the commit from the
autoland repo wins and the inbound commit gets backed out.

CLOSED TREE

--HG--
extra : amend_source : 927e1cdfa8e55ccbd873d404d905caf6871c8c4f
extra : histedit_source : 07095868c3f767258e1d7d2645193bf4811b13bb%2Ca49ae5a28bf6e67298b6208ee9254c25a2539712
2016-08-16 17:50:40 -07:00
Wes Kocher 1df863dbfc Merge bustage fix between bug 1293739 and bug 1277433 a=me CLOSED TREE
--HG--
extra : amend_source : fb7a11b75b874aec7658aca0a6978363279bce80
2016-08-16 17:31:12 -07:00
Wes Kocher 48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Kris Maglione fd4b3a748c Bug 1294811: Fix external tests that import head_addons.js. r=rhelmer
MozReview-Commit-ID: EWo7Gv9oSsz

--HG--
extra : rebase_source : e83863f0ef55f04be32a5062d0f672c8a3d88cb5
2016-08-16 17:02:44 -07:00