Commit Graph

263751 Commits

Author SHA1 Message Date
Patrick McManus
78a392e53d bug 366559 - patch 3, fix nsHTTPCompressConv bracing style r=bagder 2015-09-18 13:54:01 -04:00
Patrick McManus
4daf14c90d bug 366559 - patch 2, fix nsHTTPCompressConv indentation r=bagder 2015-09-18 13:48:50 -04:00
Patrick McManus
9af769d52f bug 366559 - patch 1, update brotli snapshot r=jfkthame 2015-09-18 18:40:05 -04:00
Michael Layzell
c8bf9c4a1d Bug 1205733 - Add move overloads to dom::Nullable's constructor and SetValue method, r=bz 2015-09-22 12:11:30 -04:00
Olivier Brunel
ed3287c777 Bug 1194631 - Make firefox build with --disable-logging. r=jrmuizel 2015-09-22 17:39:12 +02:00
Benjamin Bouvier
a2f56f6425 Bug 1205708: Check if validation failed before reporting helper thread failure in Odin; r=luke 2015-09-21 14:13:18 +02:00
Nathan Froyd
fa54535e01 Bug 1202497 - follow-up - fix static analysis bustage; r=me 2015-09-22 19:25:37 -04:00
Brian Hackett
63f9457ee5 Bug 1199898 - Tolerate constants appearing before interrupt checks during instruction reordering, r=sunfish. 2015-09-22 09:20:26 -06:00
Brian Hackett
2a75e7bcea Bug 1203790 - Trigger a pre barrier when shrinking the initialized length of unboxed arrays, r=jandem. 2015-09-22 09:15:46 -06:00
Brian Hackett
9b49cea822 Bug 1204165 - Fix typo when concatenating arrays with different unboxed layouts, r=jandem. 2015-09-22 09:11:50 -06:00
Brian Hackett
d5ff5565dc Bug 1204722 - Make sure that unboxed arrays created from literals are compatible with the type of the literal's elements, r=jandem. 2015-09-22 09:07:35 -06:00
Ted Mielczarek
d80dbe0b30 bug 1206312 - add IndexedDatabaseManager include to IDBKeyRange. r=bz 2015-09-18 20:29:45 -04:00
Ted Mielczarek
92bf28b3f6 bug 1205278 - Use direct_nspr_config for iOS builds. r=glandium 2015-09-16 09:01:03 -04:00
Ted Mielczarek
96d8da1f1f bug 1205273 - Define XP_IOS in js/src. r=glandium 2015-09-22 10:51:53 -04:00
Brian Hackett
7c4e061dd0 Bug 1205870 - Make sure all possible unboxed array inline capacities are accounted for, r=jandem. 2015-09-22 08:59:07 -06:00
Brian Hackett
89456142e7 Bug 1168091 - Initialize startLine and startColumn members in FunctionBox constructor, r=jorendorff. 2015-09-22 08:54:11 -06:00
Nathan Froyd
6f8bd8b8e5 Bug 1202497 - part 7 - make nsEventQueue use external locking; r=gerald
We want to ensure that nsThread's use of nsEventQueue uses locking done
in nsThread instead of nsEventQueue, for efficiency's sake: we only need
to lock once in nsThread, rather than the current situation of locking
in nsThread and additionally in nsEventQueue.  With the current
structure of nsEventQueue, that would mean that nsThread should be using
a Monitor internally, rather than a Mutex.

Which would be well and good, except that DOM workers use nsThread's
mutex to protect their own, internal CondVar.  Switching nsThread to use
a Monitor would mean that either:

- DOM workers drop their internal CondVar in favor of nsThread's
  Monitor-owned CondVar.  This change seems unlikely to work out well,
  because now the Monitor-owned CondVar is performing double duty:
  tracking availability of events in nsThread's event queue and
  additionally whatever DOM workers were using a CondVar for.  Having a
  single CondVar track two things in such a fashion is for Experts Only.

- DOM workers grow their own Mutex to protect their own CondVar.  Adding
  a mutex like this would change locking in subtle ways and seems
  unlikely to lead to success.

Using a Monitor in nsThread is therefore untenable, and we would like to
retain the current Mutex that lives in nsThread.  Therefore, we need to
have nsEventQueue manage its own condition variable and push the
required (Mutex) locking to the client of nsEventQueue.  This scheme
also seems more fitting: external clients merely need synchronized
access to the event queue; the details of managing notifications about
events in the event queue should be left up to the event queue itself.

Doing so also forces us to merge nsEventQueueBase and nsEventQueue:
there's no way to have nsEventQueueBase require an externally-defined
Mutex and then have nsEventQueue subclass nsEventQueueBase and provide
its own Mutex to the superclass.  C++ initialization rules (and the way
things like CondVar are constructed) simply forbid it.  But that's OK,
because we want a world where nsEventQueue is externally locked anyway,
so there's no reason to have separate classes here.

One casualty of this work is removing ChaosMode support from
nsEventQueue.  nsEventQueue had support to delay placing events into the
queue, theoretically giving other threads the chance to put events there
first.  Unfortunately, since the thread would have been holding a lock
(as is evident from the MutexAutoLock& parameter required), sleeping in
PutEvent accomplishes nothing but delaying the thread from getting
useful work done.  We should support this, but it's complicated to
figure out how to reasonably support this right now.

A wrinkle in this overall pleasant refactoring is that nsThreadPool's
threads wait for limited amounts of time for new events to be placed in
the event queue, so that they can shut themselves down if no new events
are appearing.  Setting limits on the number of threads also needs to be
able to wake up all threads, so threads can shut themselves down if
necessary.

Unfortunately, with the transition to nsEventQueue managing its own
condition variable, there's no way for nsThreadPool to perform these
functions, since there's no Monitor to wait on.  Therefore, we add a
private API for accessing the condition variable and performing the
tasks nsThreadPool needs.

Prior to all the previous patches, placing items in an nsThread's event
queue required three lock/unlock pairs: one for nsThread's Mutex, one to
enter nsEventQueue's ReentrantMonitor, and one to exit nsEventQueue's
ReentrantMonitor.  The upshot of all this work is that we now only
require one lock/unlock pair in nsThread itself, as things should be.
2015-09-20 05:13:09 -04:00
Nathan Froyd
4f4449fa7a Bug 1202497 - part 6 - make the locking requirements of nsEventQueue explicit; r=gerald
Like the previous patch, this patch is a no-op change in terms of
functionality.  It does, however, pave part of the way for forcing
clients of nsEventQueue to provide their own locking.
2015-09-21 04:34:51 -04:00
Nathan Froyd
0cd3cf3372 Bug 1202497 - part 5 - make the locking requirements of nsChainedEventQueue explicit; r=gerald
This patch is a no-op in terms of functionality.  It ensures that we're
always holding nsThread's mutex when we touch mEvents, as dictated by
the comments.  Putting this addition into its own patch will help make
the change to having nsEventQueue by guarded by a Mutex, rather than a
Monitor, somewhat clearer.
2015-09-20 04:59:56 -04:00
Nathan Froyd
9291612a7d Bug 1202497 - part 4 - lock around call to nsChainedEventQueue::HasPendingEvent; r=gerald
This is another case of an access to mEvents not being protected by
mLock.  Future patches will make this locking requirement explicit in
nsChainedEventQueue, so we won't have problems like this.  (Since
nsEventQueue has its own locking at this point, this omission didn't
matter much, but the omission will most certainly matter later.)
2015-09-20 04:47:10 -04:00
Nathan Froyd
844d0071cb Bug 1202497 - part 3 - remove nsThread::GetEvent; r=gerald
GetEvent was only called from one place, so it wasn't terribly useful as
an abstraction.  It also broke the invariant that we protect accesses to
mEvents with mLock, as documented in nsThread.h.  While upcoming patches
could have just updated GetEvent to do the necessary locking on its own,
it seemed just as easy to make the locking requirements at the callsite,
as will be done for other accesses to mEvents.
2015-09-20 04:44:51 -04:00
Nathan Froyd
e6d7c9cfe6 Bug 1202497 - part 2 - remove ReentrantMonitor specializations for nsEventQueueBase; r=gerald
Now that nsEventQueue no longer depends on ReentrantMonitors, we can get
rid of these unused specializations.
2015-09-20 04:17:05 -04:00
Nathan Froyd
e37dae4a02 Bug 1202497 - part 1 - switch nsEventQueue to use a non-reentrant Monitor; r=gerald
nsEventQueue's monitor does not require re-entrancy now that the monitor
is not externally visible.  Since ReentrantMonitors require two separate
mutex lock/unlock pairs (one on entry, and one on exit), this cuts the
amount of locking nsEventQueue's methods do by half.
2015-09-14 21:52:08 -04:00
Randell Jesup
61f2b07fab Bug 1206900: Add telemetry for device types captured with getUserMedia() r=jib,smaug 2015-09-21 22:20:45 -04:00
Jon Coppeard
2ef96311dc Bug 1204857 - Report an error if there's trailing garbage after parsing a module r=efaust 2015-09-22 14:03:20 +01:00
Jon Coppeard
c6bd51ade4 Bug 1191576 - Fix JIT invalidation spew to work when called while compacting r=terrence 2015-09-22 14:03:19 +01:00
Jon Coppeard
3949b02d30 Bug 1206677 - Fix the NoGC version of NewStringCopyNDontDeflate() to not report error on failure r=jandem 2015-09-22 14:03:19 +01:00
Kartikaya Gupta
b5b7007b39 Bug 1206858 - Ensure that multiple concurrent calls to waitForAllPaints are handled properly. r=mattwoodrow 2015-09-22 09:01:08 -04:00
Ehsan Akhgari
ecafcc38c8 Bug 1203390 follow-up: Move the mozilla-central/job_flags.yml entires to base_jobs.yml 2015-09-22 08:50:06 -04:00
Ehsan Akhgari
a7c5228f89 Bug 1203393 follow-up: Address one review comment
DONTBUILD
2015-09-22 08:44:25 -04:00
Ehsan Akhgari
c78f504e98 Bug 1206456 - Stop forcing mozilla-central Linux64 opt static analysis builds to be clobber; r=dustin 2015-09-22 08:39:33 -04:00
Ehsan Akhgari
8a53dce1f6 Bug 1203397 - Show Linux64 static analysis builds as "S" in TreeHerder; r=dustin 2015-09-22 08:38:31 -04:00
Ehsan Akhgari
a9ae4efdab Bug 1203390 - Add support for Linux64 Static Analysis opt builds using TaskCluster; r=dustin 2015-09-22 08:38:25 -04:00
Ehsan Akhgari
51ea04e591 Bug 1206991 - Use mozconfig.cache in Linux static analysis builds; r=glandium 2015-09-22 08:30:50 -04:00
Ehsan Akhgari
9201b1a4eb Bug 1203393 - Part 3: Add build configuration for Linux64 optimized Static Analysis builds; r=glandium
Also update the compiler for Linux64 debug static analysis builds to
match the one we use for optimized builds.
2015-09-22 08:30:21 -04:00
Ehsan Akhgari
398c9673fb Bug 1203393 - Part 2: Package clang as an xz archive; r=glandium 2015-09-22 08:30:19 -04:00
Ehsan Akhgari
f3520e565b Bug 1203393 - Part 1: Create a stand-alone clang for Linux; r=glandium
We build gcc after clang, and extract libgcc libraries and libstdc++
headers from gcc and place them in the clang installation directory in a
way that clang favors before it searches the system for libraries and
includes.
2015-09-22 08:30:07 -04:00
Andrea Marchesini
69640d7c3e Bug 1203561 - Use StructuredCloneHelper in StackScopedCloneData, r=smaug 2015-09-22 12:54:34 +01:00
Markus Stange
5f3c0c1a90 Back out changeset 17a4283a8b6f (bug 1195400) because of build bustage. 2015-09-22 12:51:48 +02:00
Carsten "Tomcat" Book
66b1d84fe2 Merge mozilla-central to mozilla-inbound 2015-09-22 12:49:44 +02:00
Carsten "Tomcat" Book
f8abba90f1 merge mozilla-inbound to mozilla-central a=merge 2015-09-22 12:35:13 +02:00
Carsten "Tomcat" Book
2b1cbc8117 merge fx-team to mozilla-central a=merge 2015-09-22 12:18:16 +02:00
Carsten "Tomcat" Book
ef341790be merge b2g-inbound to mozilla-central a=merge 2015-09-22 12:13:50 +02:00
Bobby Holley
04ff45fd8e Bug 1201747 - Don't inspect the subject principal in StorageAllowedForPrincipal. r=mystor 2015-09-21 22:23:40 -07:00
Nigel Babu
e1609ce62b Backed out changeset a59090148268 (bug 1204822) for B2G ICS build bustage 2015-09-22 09:58:11 +05:30
B2G Bumper Bot
f480c52ef5 Bumping manifests a=b2g-bump 2015-09-21 21:13:37 -07:00
B2G Bumper Bot
d5ef078e88 Bumping gaia.json for 8 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/0a2a22652bcf
Author: Justin D'Arcangelo <justindarc@gmail.com>
Desc: Merge pull request #31928 from justindarc/bug1206311

Bug 1206311 - [Music][NGA] Flash of incorrect album art in player view

========

https://hg.mozilla.org/integration/gaia-central/rev/6e7ebd36c97e
Author: Justin D'Arcangelo <justindarc@gmail.com>
Desc: Bug 1206311 - [Music][NGA] Flash of incorrect album art in player view

========

https://hg.mozilla.org/integration/gaia-central/rev/d7554dde2202
Author: Fabrice Desré <fabrice@desre.org>
Desc: Merge pull request #31953 from fabricedesre/homescreen-b2gdroid

Bug 1206892 - null entries in init.json break the world r=Cwiiis

========

https://hg.mozilla.org/integration/gaia-central/rev/67bb9e53f139
Author: Fabrice Desré <fabrice@desre.org>
Desc: Bug 1206892 - null entries in init.json break the world r=Cwiiis

========

https://hg.mozilla.org/integration/gaia-central/rev/7fdcfc87fe66
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #31934 from KevinGrandon/bug_1206446_private_browsing_dialog

Bug 1206446 - Add a private browsing dialog

========

https://hg.mozilla.org/integration/gaia-central/rev/2c8f747407a3
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1206446 - Add a private browsing dialog

========

https://hg.mozilla.org/integration/gaia-central/rev/3a7e7b224267
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #31958 from KevinGrandon/bug_1205806_calendar_checkbox_position

Bug 1205806 - Position checkbox and label appropriately in drawer

========

https://hg.mozilla.org/integration/gaia-central/rev/9c35064580b9
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1205806 - Position checkbox and label appropriately in drawer r=kgrandon
2015-09-21 21:10:15 -07:00
B2G Bumper Bot
e4f36dfac0 Bumping manifests a=b2g-bump 2015-09-21 20:18:23 -07:00
B2G Bumper Bot
e2d6120f31 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/de2e95af240e
Author: Yi-Fan Liao <yliao@mozilla.com>
Desc: Merge pull request #31957 from begeeben/revert_1203817

Revert "Bug 1203817 - Split GijTV into chunks. r=me"

========

https://hg.mozilla.org/integration/gaia-central/rev/17953f73f60a
Author: yifan <yliao@mozilla.com>
Desc: Revert "Bug 1203817 - Split GijTV into chunks. r=me"

This reverts commit 054cb9320c7a70f00ceac57c82ca941da7b0a321.
2015-09-21 20:15:37 -07:00
Chris Pearce
9d0254644c Bug 1207000 - Create GMPVideoDecoderTrialCreator on all platforms. r=edwin 2015-09-22 15:12:09 +12:00