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

441287 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 3def9c33a7 Bug 1207210 - Fix MTypeBarrier::alwaysBails to handle ObjectOrNull inputs correctly. r=h4writer 2015-09-22 20:11:31 +02:00
Boris Zbarsky 9fe6d747e1 Bug 1176313. Reland the changes to make Attr handling follow the spec again. This is a relanding of bug 1075702, effectively. r=smaug 2015-09-22 13:13:26 -04:00
Jan de Mooij c985f025b2 Bug 1199952 - Mark formal arguments when we have a LazyLink frame. r=nbp 2015-09-22 19:08:21 +02:00
Jacek Caban da1f9eab72 Bug 1207100 - Fixed nsEdgeReadingListExtractor.cpp compilation on GCC. r=Gijs 2015-09-22 19:07:10 +02:00
Patrick McManus 94bbb268e4 bug 366559 - backout due to android build bustage patch 7 on CLOSED TREE r=backout
--HG--
extra : amend_source : c5d7b9ed27860c9aff9598814762fea9b1c00089
2015-09-22 12:47:25 -04:00
Michael Layzell 3c93c54b80 Bug 918742 - Correct handling of author-supplied charsets in XMLHttpRequest, r=bz 2015-09-22 12:26:15 -04:00
Patrick McManus 24ea44733e bug 366559 - patch 7, content-encoding brotli for https r=bagder 2015-09-18 18:04:28 -04:00
Patrick McManus 5fd5ee712e bug 366559 - patch 6, support different content encodings for http vs https r=bagder 2015-09-19 18:51:32 -04:00
Patrick McManus d57114716b bug 366559 - patch 5, fix nsHTTPCompressConv manual addref r=bagder 2015-09-18 13:58:14 -04:00
Patrick McManus 41fd8ca785 bug 366559 - patch 4, fix nsHTTPCompressConv namespace r=bagder 2015-09-18 21:24:28 -04:00
Patrick McManus a2e1d4e4d9 bug 366559 - patch 3, fix nsHTTPCompressConv bracing style r=bagder 2015-09-18 13:54:01 -04:00
Patrick McManus 429958d286 bug 366559 - patch 2, fix nsHTTPCompressConv indentation r=bagder 2015-09-18 13:48:50 -04:00
Patrick McManus 23e04c581e bug 366559 - patch 1, update brotli snapshot r=jfkthame 2015-09-18 18:40:05 -04:00
Michael Layzell 30627b3c9a 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 11e774d18d Bug 1194631 - Make firefox build with --disable-logging. r=jrmuizel 2015-09-22 17:39:12 +02:00
Benjamin Bouvier 86e7530420 Bug 1205708: Check if validation failed before reporting helper thread failure in Odin; r=luke
--HG--
extra : commitid : wOOPXy1fXN
extra : rebase_source : f03aa9184a4cb390c50ffa49fe34852824e7c6ae
2015-09-21 14:13:18 +02:00
Nathan Froyd 8bb05ee37e Bug 1202497 - follow-up - fix static analysis bustage; r=me 2015-09-22 19:25:37 -04:00
Brian Hackett 338e221561 Bug 1199898 - Tolerate constants appearing before interrupt checks during instruction reordering, r=sunfish. 2015-09-22 09:20:26 -06:00
Brian Hackett 3426511eb3 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 65b10d348f Bug 1204165 - Fix typo when concatenating arrays with different unboxed layouts, r=jandem. 2015-09-22 09:11:50 -06:00
Brian Hackett e49a6e8fcc 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 56db76a2f3 bug 1206312 - add IndexedDatabaseManager include to IDBKeyRange. r=bz
--HG--
extra : commitid : 8lD7bllThUV
extra : rebase_source : f3811569a5812ec737c41d8d38bb49bf21f69984
2015-09-18 20:29:45 -04:00
Ted Mielczarek e796606d24 bug 1205278 - Use direct_nspr_config for iOS builds. r=glandium
--HG--
extra : commitid : KdToKl1r6GE
extra : rebase_source : 177152b54f467201b5117d4866ba715b472dfc91
2015-09-16 09:01:03 -04:00
Ted Mielczarek c9723e04e7 bug 1205273 - Define XP_IOS in js/src. r=glandium
--HG--
extra : commitid : C8piP4s4lHb
extra : rebase_source : 0b85f1b20b898ffb061e928941ef34236753d502
2015-09-22 10:51:53 -04:00
Brian Hackett 529898fbf5 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 b684bd7d54 Bug 1168091 - Initialize startLine and startColumn members in FunctionBox constructor, r=jorendorff. 2015-09-22 08:54:11 -06:00
Nathan Froyd 3eae8069d0 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 c6238d0d96 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 2c79a08dbd 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 2851bffa03 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 90bdddcda8 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 556c7604e5 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 5593d06e9c 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 6a27768207 Bug 1206900: Add telemetry for device types captured with getUserMedia() r=jib,smaug 2015-09-21 22:20:45 -04:00
Jon Coppeard 0325857e5a 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 528dc79f84 Bug 1191576 - Fix JIT invalidation spew to work when called while compacting r=terrence 2015-09-22 14:03:19 +01:00
Jon Coppeard 1fb4684bf5 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 905fe40dd6 Bug 1206858 - Ensure that multiple concurrent calls to waitForAllPaints are handled properly. r=mattwoodrow
--HG--
extra : commitid : 1em2BrTkdxf
2015-09-22 09:01:08 -04:00
Ehsan Akhgari c810a2f09a 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 7e6947b21f Bug 1203393 follow-up: Address one review comment
DONTBUILD
2015-09-22 08:44:25 -04:00
Ehsan Akhgari 987e02c361 Bug 1206456 - Stop forcing mozilla-central Linux64 opt static analysis builds to be clobber; r=dustin
--HG--
rename : testing/taskcluster/tasks/builds/opt_linux64_st-an.yml => testing/taskcluster/tasks/builds/opt_linux64_st-an_clobber.yml
2015-09-22 08:39:33 -04:00
Ehsan Akhgari e4e5a2d371 Bug 1203397 - Show Linux64 static analysis builds as "S" in TreeHerder; r=dustin 2015-09-22 08:38:31 -04:00
Ehsan Akhgari c99d450aee Bug 1203390 - Add support for Linux64 Static Analysis opt builds using TaskCluster; r=dustin 2015-09-22 08:38:25 -04:00
Ehsan Akhgari b892ad92e4 Bug 1206991 - Use mozconfig.cache in Linux static analysis builds; r=glandium 2015-09-22 08:30:50 -04:00
Ehsan Akhgari 80a05def7b 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 9b79c5cccc Bug 1203393 - Part 2: Package clang as an xz archive; r=glandium 2015-09-22 08:30:19 -04:00
Ehsan Akhgari 59a5270f5c 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 c36e94b0c9 Bug 1203561 - Use StructuredCloneHelper in StackScopedCloneData, r=smaug 2015-09-22 12:54:34 +01:00
Markus Stange db5e3a34d4 Back out changeset 17a4283a8b6f (bug 1195400) because of build bustage.
--HG--
extra : commitid : BhzRGfWfYrb
extra : rebase_source : 97c401dd963301cdcdf9551c7c96fcd7b56636c8
2015-09-22 12:51:48 +02:00
Carsten "Tomcat" Book 6d064687ac Merge mozilla-central to mozilla-inbound 2015-09-22 12:49:44 +02:00