Commit Graph

14883 Commits

Author SHA1 Message Date
Shu-yu Guo
d1f542f8c9 Bug 1268805 - Implement PrivateGCThingValue. (r=terrence) 2016-04-29 18:10:07 -07:00
Sebastian Hengst
670924b38b Backed out 2 changesets (bug 1268805) for build bustage. r=backout on a CLOSED TREE
Backed out changeset b8a517eb7c6b (bug 1268805)
Backed out changeset 31075a760b2e (bug 1268805)
2016-04-30 00:52:59 +02:00
Shu-yu Guo
e841ff15ad Bug 1268805 - Implement PrivateGCThingValue. (r=terrence) 2016-04-29 15:12:13 -07:00
Carsten "Tomcat" Book
5d43a44ec6 Backed out changeset 3f2f3fcac66b (bug 1268313)
--HG--
extra : rebase_source : 438e7d7077b900ef252bd628f4559424eebd211f
2016-04-29 14:21:23 +02:00
Carsten "Tomcat" Book
4bb6f48de3 Backed out changeset 6a8d57e8fa8e (bug 1268313)
--HG--
extra : rebase_source : 8690897fd41073f22c8b25db5e8ce88df76a2bb7
2016-04-29 14:21:22 +02:00
Carsten "Tomcat" Book
894326b653 Backed out changeset 726f7361e0b8 (bug 1268313)
--HG--
extra : rebase_source : 3e04a6751a1cce2be7692763b4520dcca053f210
2016-04-29 14:21:20 +02:00
Carsten "Tomcat" Book
de92769e7e Backed out changeset 4bcb784492bb (bug 1268313)
--HG--
extra : rebase_source : f2f752ab73f5bbf31a909892a0fac0f42c894430
2016-04-29 14:21:18 +02:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Nicholas Nethercote
2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey
12d497cb39 Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
732a15e600 Bug 1268313: Part 5 - Make NS_NewRunnableMethod able to call const functions. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
c724d0c867 Bug 1268313: Part 4 - Replace NewCancelableRunnableMethod with NS_NewCancelableRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Kyle Huey
a13954d079 Bug 1268313: Part 3 - Replace some NewCancelableRunnableMethod with NS_NewNonOwningCancelableRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Mike Shal
8689f72e8b Bug 1266875 - Remove custom install rules; r=chmanchester
MozReview-Commit-ID: CoWdHidlDrV
2016-04-18 10:36:07 -04:00
Jim Chen
93b208fc7e Bug 1265621 - Expose outer zip readers in Omnijar::GetReader; r=froydnj
Previously, Omnijar::GetReader(nsIFile*) returned nullptr when using
nested jars. This patch makes it return the outer jar reader in that
case, so we don't end up opening the outer jar file again.
2016-04-28 16:07:02 -04:00
Jim Chen
a32009c9cc Bug 1265621 - Use StaticRefPtr in Omnijar.cpp; r=froydnj
Use StaticRefPtr instead of raw pointers in Omnijar.cpp for convenience
and safety.
2016-04-28 16:07:02 -04:00
Boris Chiou
ea72ffdf23 Bug 1067769 - Part 2: Support nullable target in KeyframeEffect(ReadOnly) constructor. r=birtles
We set a null target only from Web Animations API, so make sure
KeyframeEffectReadOnly::ConstructKeyframeEffect() can handle null target
properly.

MozReview-Commit-ID: D6PoV7PGFj3

--HG--
extra : rebase_source : 4ba2d616d6b2cdfe7985ced29e4454e818d076b8
2016-04-28 23:22:42 +08:00
Nicholas Nethercote
2f1707f8ea Bug 1267227 - Don't run the PLDHashTableTest.GrowToMaxCapacity gtest on 32-bit machines, because it sometimes OOMs. r=erahm.
--HG--
extra : rebase_source : 79ecc129edfca2a63a52f8dea4b12c8ae1b94fcc
2016-04-27 16:30:14 +10:00
Kyle Huey
7579799b01 Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -07:00
Gregory Szorc
886671f70c Bug 1267369 - Only generate typelib data for scriptable interfaces; r=khuey
We are currently generating typelib data for all interfaces. Apparently
typelib data is only needed for scriptable interfaces. So let's stop
generating typelib data for interfaces that aren't scriptable.

The impact of this is that some typelibs are dropped from
interfaces.xpt, resulting in ~10kb smaller interfaces.xpt:

* nsIDOMCSSValue
* nsIDOMDOMImplementation
* nsIDOMDOMCursor
* nsIProfilerStartParams
* nsIStreamingProtocolMetaData
* nsIDOMCharacterData
* nsIPrintSession
* nsIDOMDocumentFragment
* nsIDOMProcessingInstruction
* nsIDOMElement
* nsIDOMText
* nsIDOMXULElement
* nsIDOMAttr
* nsIDOMGeoPositionError
* nsIXMLHttpRequestEventTarget
* nsIDOMCSSStyleDeclaration
* nsIDOMCSSStyleSheet
* nsIDOMDocument
* nsIDOMClientRect
* nsIDOMMozNamedAttrMap
* nsIDOMNode
* nsIThreadObserver
* nsIDOMDocumentType
* nsIXMLHttpRequestUpload
* nsISelection
* nsIDOMCDATASection
* nsIDOMDOMRequest
* nsIDOMComment
* nsIDOMEvent

MozReview-Commit-ID: 3LYdNYs7Tum

--HG--
extra : rebase_source : 4ed0e6ef761b165108b8581077f2bf7eddd02274
2016-04-25 12:32:10 -07:00
Sebastian Hengst
b4020b78c0 Backed out changeset e786ecce31b2 (bug 1266875) for pgo build bustage in xpcshell/xpcom/tests/unit/nsIFileEnumerator. r=backout on a CLOSED TREE 2016-04-27 18:35:41 +02:00
Mike Shal
a204083dd1 Bug 1266875 - Remove custom install rules; r=chmanchester
MozReview-Commit-ID: CoWdHidlDrV
2016-04-18 10:36:07 -04:00
Randell Jesup
58f2a121ce Bug 1267691: Assert on failed attempts to shutdown a thread from itself r=froyd
MozReview-Commit-ID: ByEEd83SVsf
2016-04-27 01:49:48 -04:00
Jean-Yves Avenard
b9ddae6e51 Bug 1264199: P0. Fix nsDequeue/MediaQueue methods constness. r=jwwang
MozReview-Commit-ID: BiOedq3IHt

--HG--
extra : rebase_source : 87175a92efdcfea864256482ced7eeee61301690
2016-04-25 12:13:55 +10:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Wes Kocher
bd05429ff2 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AJmtizHPrE3
2016-04-25 17:18:44 -07:00
ffxbld
50a14b0c3c Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-04-25 10:10:40 -07:00
Kit Cambridge
b3e4980239 Bug 1266569 - Avoid including the ChromeUtils binding in Base64.h. r=froydnj
MozReview-Commit-ID: 8ZLdMhJMaUe

--HG--
extra : rebase_source : d5cb2b5bcc587bad95e6223d18ef38c6937f9270
extra : histedit_source : 208b28d87e223333c2995fd615e0602b11d5bb68
2016-04-22 07:41:58 -07:00
Jacek Caban
15144101ad Bug 1252650 - char16_t*/char16ptr_t mismatch fixup. 2016-04-23 13:04:45 +02:00
Masayuki Nakano
b332dc9ff4 Bug 1257759 part.5 PluginInstanceChild should post received native key event to chrome process if the key combination may be a shortcut key r=jimm
When PluginInstanceChild receives native key events, it should post the events to the chrome process first for checking if the key combination is reserved.  However, posting all key events to the chrome process may make damage to the performance of text input.  Therefore, this patch starts to post a key event whose key combination may be a shortcut key.  However, for avoiding to shuffle the event order, it posts following key events until all posted key events are handled by the chrome process.

For receiving response from widget, this patch defines nsIKeyEventInPluginCallback.  It's specified by nsIWidget::OnWindowedPluginKeyEvent() for ensuring the caller will receive the reply.  Basically, the caller of nsIWidget::OnWindowedPluginKeyEvent() should reply to the child process.  However, if the widget is a PuppetWidget, it cannot return the result synchronously.  Therefore, PuppetWidget::OnWindowedPluginKeyEvent() returns NS_SUCCESS_EVENT_HANDLED_ASYNCHRONOUSLY and stores the callback to mKeyEventInPluginCallbacks.  Then, TabParent::HandledWindowedPluginKeyEvent() will call PuppetWidget::HandledWindowedPluginKeyEvent().

MozReview-Commit-ID: G6brOU26NwQ

--HG--
extra : rebase_source : 8140456de278956d2d594e85c7b397ae366b4962
2016-04-19 20:09:37 +09:00
Nicholas Hurley
65e701bed3 Bug 1122642 - Have an error page for H2 INADEQUATE_SECURITY r=mcmanus,bz 2016-04-22 09:56:42 -07:00
Chris Peterson
c2fe3cc9ea Bug 1266295 - Remove unnecessary compiler version checks for gcc <= 4.8.0 in xpcom. r=froydnj 2016-04-17 17:10:00 -07:00
Brian Birtles
14ae45c97e Bug 1245000 part 4 - Enable the Animation constructor when Element.animate is enabled; r=bz
This also makes the constructor slightly more presentable with regards to its
current limitations.
2016-04-22 13:41:59 +09:00
Kit Cambridge
3dc35814a4 Bug 1247685 - WebIDL and DOM implementation changes for app server keys. r=mt,baku
MozReview-Commit-ID: 1xYjSuLMnV4

--HG--
extra : rebase_source : 6bcb2e662cfa9a0d942731e8914a9df2e3dee197
2016-03-22 13:38:03 -07:00
Kit Cambridge
d21d6da5e8 Bug 1256488 - Add a Base64 URL-decoder for C++ and chrome JS callers. r=mt,baku
MozReview-Commit-ID: IrDwImYfHRu

--HG--
extra : rebase_source : ed7da7447e5d70c596234961625fcd4b8139814f
2016-03-22 12:09:04 -07:00
Jim Chen
1a15cf64ef Bug 1252650 - Add data parameter to NS_CreateServicesFromCategory; r=froydnj
Add a data parameter to be passed into any observers implemented by
created services.
2016-04-20 15:06:13 -04:00
Nicholas Nethercote
d84e6264da Bug 1265035 - Make ~WorkerJSRuntime() handle Initialize() failure better. r=khuey.
--HG--
extra : rebase_source : 4b2cb2ef8192f314a28556826044f010a52b90b4
2016-04-19 14:04:32 +10:00
Stone Shih
fa3b1e6240 Bug 1240436 - Part3: Remove NS_NewStringInputStream to prevent misuse. r=froydnj 2016-04-14 18:55:50 +08:00
Ngoc Thi Huynh
bb8780b89d Bug 1242456 - Create RAIIs to manage HGLOBAL and printer HANDLE in ShowNativePrintDialog and CreateGlobalDevModeAndInit. r=jimm, r=bobowen 2016-04-05 13:24:28 +07:00
Andreas Pehrson
7386c22521 Bug 1262970 - Allow nsMainThreadPtrHandle to be constructed by and compared to nullptr. r=froydnj
MozReview-Commit-ID: HQgRhJc9AwG

--HG--
extra : rebase_source : e97c55229e0043d838d5dcb3e343bba2281c1e36
2016-04-14 11:38:04 +02:00
Nathan Froyd
b0e24f4d55 Bug 1262400 - remove outer pointers from nsCreateInstance* classes; r=erahm
Outer pointers for object aggregation never get used.  Having these
always-null pointers around means extra space to store them and extra
instructions to deal with them.  Let's just remove them.
2016-04-14 11:30:59 -04:00
Nicholas Nethercote
60dcde7875 Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2

--HG--
extra : rebase_source : bd751bf247e9491c1966a123dbeffa573657dfb1
2016-04-01 11:00:01 +11:00
Kyle Huey
2709afd167 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Kyle Huey
1cc02aa8c6 Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj 2016-04-11 11:40:06 -07:00
Jonathan Watt
2dbf3449f8 Bug 1263764 - Make the external string API's Truncate compatible with the internal API's Truncate. r=froydnj 2016-04-01 16:17:35 +01:00
Chris Pearce
4eaf999528 Bug 1245789 - Make XPCOMThreadWrapper::GetCurrent() work. r=bholley
XPCOMThreadWrapper::GetCurrent() is failing because it's not keeping
AbstractThread::sCurrentThreadTLS up to date. This causes assertion failures
during startup of the GMP stack when dispatching via InvokeAsync to the GMP
thread, which is an XPCOM thread wrapped by the XPCOMThreadWrapper.

We can trivially initialize AbstractThread::sCurrentThreadTLS to be the
XPCOMThreadWrapper on the target thread, since it's thread-local-storage, and
the target thread won't change.

MozReview-Commit-ID: EIEFZppR2PS
2016-04-12 16:12:22 +12:00
Wes Kocher
7d2cebe912 Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)

MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey
d200ed89d0 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Kyle Huey
f13a6fc866 Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj 2016-04-11 11:40:06 -07:00
Botond Ballo
5a57a5b196 Bug 1163320 - Variadic implementation of nsRunnableMethodArguments. r=froydnj
MozReview-Commit-ID: 13YyOyiionD

--HG--
extra : rebase_source : 89a0ad0877ed3290a41288523fe9b13d9c5bac7d
extra : source : ed761807105b30069d5a7412f8dacf75429eeeb6
2015-05-11 17:24:21 -04:00
Brian Birtles
1bf99cf79f Bug 1260983 - Allow creating animations with a target element not bound to a document; r=heycam
MozReview-Commit-ID: HHqHWikZ3zp
2016-04-01 09:32:26 +09:00
Nicholas Nethercote
d8cfadc76d Bug 1261744 - Add two missing null checks for nsStringBuffer::Alloc(). r=erahm.
--HG--
extra : rebase_source : 7465db70cf5a3e19416a742481b3321e8b6eef16
2016-04-07 09:35:50 +10:00
Bob Owen
0fddf43d89 Backed out changeset e91dafc1450e (bug 1242456) due to incorrect HGLOBAL handling. 2016-04-08 16:37:04 +01:00
Valentin Gosu
a44929e1eb Bug 1261382 - Add ReadUntil method to Tokenizer r=mayhemer 2016-04-08 16:27:32 +02:00
Nicholas Nethercote
dbc9af380e Bug 1262731 - Add JS_InitWithFailureDiagnostic(). r=sfink.
This will help identify the cause of some Firefox start-up crashes when JS
initialization fails.

--HG--
extra : rebase_source : 3ed3c5e60f487e0ca11dc13bab93aa820ca8273f
2016-04-08 09:08:49 +10:00
Ngoc Thi Huynh
0789257518 Bug 1242456 - Create RAII helpers to manage HGLOBAL and HPRINTER in ShowNativePrintDialog and CreateGlobalDevModeAndInit. r=jimm
MozReview-Commit-ID: 4IrEEgJMtKZ
2016-04-05 13:24:28 +07:00
William Chen
303bd1fd42 Bug 1259590 - Remove B2G ACL code. r=khuey 2016-04-07 09:50:01 -07:00
Andreas Pehrson
dfc6d94fe7 Bug 1208371 - Implement operator!= for nsMainThreadPtrHandle. r=bholley
MozReview-Commit-ID: EjlvLi9VsFA

--HG--
extra : rebase_source : 0e58b99b3c03a4abc4dfbcd57662f761f701615e
2016-02-04 00:24:52 +08:00
Nicholas Nethercote
02b5d3f103 Bug 1262359 (part 3) - Add a missing fallible nsTSubstring_CharT::Assign() variant. r=erahm.
--HG--
extra : rebase_source : 2f5ee5658cce8a193454bf4c182cd534b0e7e8a0
2016-04-06 17:23:19 +10:00
Nicholas Nethercote
9601d6a63f Bug 1261735 (part 4) - Change StaticAtomEntry::mAtom to |StaticAtom*|. r=erahm.
This required reordering a bunch of stuff, so I took the opportunity to do a
big reordering. The new order:

- class CheckStaticAtomSizes;
- class DynamicAtom, class StaticAtom, their methods;
- gAtomTable and related functions;
- ~DynamicAtom() (here because it depends on gAtomTable stuff);
- gStaticAtomTable and related functions;
- exported functions.

--HG--
extra : rebase_source : 5fd4bf9a3f0c628dc3f74c0d8a81aadf48fd6dd7
2016-04-06 12:01:24 +10:00
Nicholas Nethercote
cd63c6bfee Bug 1261735 (part 3) - De-virtualize nsIAtom::IsStaticAtom(). r=froydnj,erahm.
This avoids the need for some virtual function calls and also will help lead to
distinct representations for dynamic and static atoms.

--HG--
extra : rebase_source : 16bbe6f1e1309ee3e4fab7a0d222e638178a2a9c
2016-04-06 11:28:40 +10:00
Nicholas Nethercote
a1d85c6ab8 Bug 1261735 (part 2) - Inline some {Dynamic,Static}Atom methods. r=erahm.
--HG--
extra : rebase_source : 0e50d8542fdf5de18b22dd2aa4a5fea71f48d032
2016-04-06 11:28:39 +10:00
Mike Shal
a1f020d488 Bug 1261283 - allow GENERATED_FILES to write to multiple outputs; r=glandium
MozReview-Commit-ID: DbBoZZnasTo
2016-04-01 10:38:22 -04:00
Nicholas Nethercote
e4dec8d42f Bug 1261735 (part 1) - Overhaul the atom implementation. r=froydnj,erahm.
This patch changes things so that dynamic atoms and static atoms have distinct
implementations. This is a step towards allowing dynamic atoms and static atoms
to have different layouts in memory, which will allow static atoms to be
represented more compactly.

Specifically, the patch does the following.

- It renames AtomImpl as DynamicAtom and PermanentAtomImpl as StaticAtom, and
  the latter is no longer a subclass of the former. This required duplicating
  some methods from the former into the latter: ScriptableToString(),
  ToUTF8String(), ScriptableEquals(), IsStaticAtom(). (This duplication will
  disappear in the future if the representations of dynamic atoms and static
  atoms diverge. Indeed, SizeOfIncludingThis() is already different in the two
  classes.)

- It replaces all mentions of "permanent"/"non-permanent" atoms with
  "static"/"dynamic".

- In ~DynamicAtom() it removes the check that causes gAtomTable to be deleted
  when it becomes empty. This will only happen at shutdown and so doesn't seem
  useful.

- It documents better various things, especially the basics of the
  dynamic/static split, the transmutation of dynamic atoms to static atoms, and
  the details of the SizeOf functions.

--HG--
extra : rebase_source : dbf903012e70ebf1a43de1e1088db1bc1b8dd4f4
2016-04-01 11:18:06 +11:00
Ted Mielczarek
58e2e722d0 bug 1239083 - use moz.build files to build ICU. r=glandium,waldo
Also fixes bug 926980 - load ICU data from an archive file.

Stop invoking ICU's autoconf build system. Instead, have hand-authored
moz.build files under config/external/icu to build what we need. In addition,
we'll commit a pre-built copy of the ICU data file (currently icudt56l.dat)
under config/external/icu/data to avoid having to build ICU host tools to
generate it. config/external/icu/data also contains some assembly files
which can generate an object file containing the ICU data file contents
so that the JS shell (or standalone JS builds) can be linked directly to
the data without having to deal with the external data file. This requires
yasm or GNU as.

Various bits of packaging have been updated to account for the ICU data file.
XPCOM initialization now sets the ICU data directory so ICU can locate its
data file.

The update-icu.sh script has been modified to read the list of C/C++ source
files out of the ICU Makefiles and update `sources.mozbuild` files under
config/external/icu, as well as build a local copy of ICU using its
autoconf build system to generate the ICU data file to be committed in-tree.


MozReview-Commit-ID: 8Pfkzqt6S1W

--HG--
extra : rebase_source : 31426cddddb5543e0191059ba2f2eb069abe7727
2016-04-05 10:09:12 -04:00
Wes Kocher
46f04c50ca Backed out 5 changesets (bug 911216) for apparently tripling the runtime of SM(p) jobs along with introducing a failure in SM(p)
Backed out changeset d70235224525 (bug 911216)
Backed out changeset 2f503e373e6f (bug 911216)
Backed out changeset 2e98f8b36bc6 (bug 911216)
Backed out changeset bd5acdf4a2a1 (bug 911216)
Backed out changeset 58716e562690 (bug 911216)

MozReview-Commit-ID: 807ajHOZvQn
2016-04-04 15:41:17 -07:00
Till Schneidereit
0384df1a97 Bug 911216 - Part 13: Set Promise allocation stack as async stack for Promise callback jobs. r=efaust,bz 2016-03-22 16:22:23 +01:00
Nicholas Nethercote
d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Nicholas Nethercote
358a6071d9 Bug 1260653 - Shrink NativeProperties. r=bz.
This patch makes NativeProperties variable-length and reduces static data by
110,336 bytes on 64-bit, and half that on 32-bit.

MozReview-Commit-ID: 2etZ5AnEhgO

--HG--
extra : rebase_source : 6a167b64df7da3c6940114782fe08337f04a694d
2016-03-31 09:57:20 +11:00
Bill McCloskey
f29390f263 Bug 1222101 - Reorder some thread code (r=jld) a=kwierso
MozReview-Commit-ID: Alg40mu9aU3
2016-03-30 12:20:20 -07:00
Wes Kocher
dd58e668a4 Backed out changeset 00f8c8fde8ca (bug 1222101) for build bustage CLOSED TREE
MozReview-Commit-ID: F6PINhcfsF4
2016-03-30 10:19:29 -07:00
Bill McCloskey
5b8924bd94 Bug 1222101 - Reorder some thread code (r=jld) 2016-03-30 09:58:41 -07:00
Jean-Yves Avenard
da166b0f2c Bug 1259706: Add NS_INLINE_DECL_THREADSAFE_VIRTUAL_REFCOUNTING macro. r=froydnj
Allow to generate virtual AddRef/Release methods.

MozReview-Commit-ID: I7xPupDEtr4

--HG--
extra : rebase_source : b4d0e2b2a254e0402bbe6543c5263da359efb640
2016-03-25 23:01:58 +11:00
Jacek Caban
a426bc75b7 Bug 1257262 - Removed invalid nsAString:Assign variant. r=bsmedberg 2016-03-29 15:04:19 +02:00
Tobias Schneider
9dd3cff0b6 Bug 1237198 - Block SWFs on the content blocking list hosted on the Shavar service. r=francois 2016-03-29 00:37:44 -07:00
Vladimir Vukicevic
a54ea93315 Bug 1221160 - fix AutoTraceLogLock deadlock on Windows; r=froydnj
From e3a1e57c0c8be8214a12e31c6e4950a676efd9bc Mon Sep 17 00:00:00 2001

MozReview-Commit-ID: JrPiE7eixpy

--HG--
extra : rebase_source : 7f322a0c95c46c0bd1721f982fab8ab421866d70
extra : source : 883ed100b755b9a528104a62ed631beaff6c8cf2
2015-11-03 15:13:09 -05:00
Vladimir Vukicevic
6a82950698 Bug 1242963 - nsID stringification helper for logging; r=froydnj
From 6321c215bed173f89127558b2eec3cc1b475cf84 Mon Sep 17 00:00:00 2001

MozReview-Commit-ID: IPhQhW8v4iH

--HG--
extra : rebase_source : b78f75145aeff78901ffcea687c710d637f2c1e7
extra : source : defe17fe276a9a66f923f714d4f6c35e6373364e
2015-10-08 13:11:04 -04:00
Kyle Huey
d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Kyle Huey
8086517d41 Bug 1259294: Part 1 - Add MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:14 -07:00
Kyle Huey
29596ecfff Bug 1258908: Rename TYPE_MOZILLA_UI to TYPE_MOZILLA_PARENT. r=jld 2016-03-28 10:28:14 -07:00
Ted Mielczarek
815dd278b6 bug 1259753 - fix some C++ unittests to use ScopedXPCOM to init XPCOM. r=ms2ger
MozReview-Commit-ID: B6xdlB9Di0y

--HG--
extra : rebase_source : 182d29d677c77ae6780260f5fc9b0792bdd98f84
extra : amend_source : 1e4fa2453d6773bd1e63f52b7aa3bf61e61600ff
2016-03-25 10:04:37 -04:00
Eddy Bruel
3e2cb55980 Bug 1229769 - We should be able to use DOM promises in the worker debugger;r=khuey 2016-03-24 16:12:00 +01:00
Nicholas Nethercote
bbfe3dbc14 Bug 1257402 - Remove NS_NewPermanentAtom() and nsIAtomService.getPermanentAtom(). r=froydnj,kmag.
The former is only used inconsequentially in tests. The second is not used at
all.

--HG--
extra : rebase_source : 4cfe11f933f1fe8f788e823c5107941085cef92c
2016-03-17 13:11:31 +11:00
Nicholas Nethercote
ea7e61e63c Bug 1257128 (part 2) - Remove nsIAtomService.get{,Permanent}AtomUTF8. r=froydnj. 2016-03-16 21:09:18 +11:00
Nicholas Nethercote
41e924c6e0 Bug 1257128 (part 1) - Remove nsIAtom.equalsUTF8. r=froydnj.
It's only used in tests.
2016-03-16 21:05:30 +11:00
Nicholas Nethercote
ab34e9bd7a Bug 1257207 - Increase ATOM_HASHTABLE_INITIAL_LENGTH. r=froydnj.
This avoids one gAtomTable resizing.

--HG--
extra : rebase_source : 136e9db9653d4632986c2462f51c5c008475e1de
2016-03-24 09:17:55 +11:00
Jeff Walden
3b8b70a765 Bug 1256027 - Cast a few things in varargs to the expected types for MSVC 2015 warning-compatibility. r=froydnj
--HG--
extra : rebase_source : 5caa63bb236b4840fda4f2c6bf91e987c7905195
2016-03-23 13:21:02 -07:00
Boris Zbarsky
fb54936d49 Bug 1255817 part 4. Make XPCJSRuntime use MozCrashErrorReporter by default, now that there should be no stray JS_ReportPendingException calls. r=bholley 2016-03-23 11:44:54 -04:00
Eric Rahm
1424614c16 Bug 1258231 - Lock while iterating console messages. r=mccr8
--HG--
extra : rebase_source : 3e587ec2b0d7bc8f94a452a6a7ac0d5cff92a716
2016-03-21 12:15:42 -07:00
Till Schneidereit
db904728ee Bug 911216 - Part 7: Implement ES6 Promises in the JavaScript engine. r=efaust
--HG--
extra : rebase_source : 44ac4d767f6b2298acea444675c7177cb8f0d602
2015-11-10 12:34:00 +01:00
Boris Zbarsky
bc347a401b Bug 1257919 part 10. Make the caller and formattedStack getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:35 -04:00
Boris Zbarsky
dde5cae5bb Bug 1257919 part 9. Make the asyncCause/asyncCaller getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
42b3bbe27a Bug 1257919 part 8. Make the line/column number getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
54987c5cc1 Bug 1257919 part 7. Make the name getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
efa07c06d1 Bug 1257919 part 6. Make the filename getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
12ede800fa Bug 1257919 part 3. Make the various toString methods on exceptions take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
44088b97d0 Bug 1257919 part 2. Make nsIException and nsIStackFrame builtinclass, so we can start using [implicit_jscontext] on them. r=khuey 2016-03-22 13:50:31 -04:00
David Anderson
f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Sebastian Hengst
4e4e0bcb49 Backed out changeset 8bb1cce4804d (bug 1257919) 2016-03-22 21:11:05 +01:00
Sebastian Hengst
055a2f1834 Backed out changeset 6403c45366e0 (bug 1257919) 2016-03-22 21:10:55 +01:00
Sebastian Hengst
0e9bf1445a Backed out changeset 6e95ee3cd4c6 (bug 1257919) 2016-03-22 21:10:21 +01:00
Sebastian Hengst
e6e4d30446 Backed out changeset c4faeb0be959 (bug 1257919) 2016-03-22 21:10:12 +01:00
Sebastian Hengst
336c2cc4ae Backed out changeset 08f1c7239cdf (bug 1257919) 2016-03-22 21:10:01 +01:00
Sebastian Hengst
d5e963398d Backed out changeset cf816f733296 (bug 1257919) 2016-03-22 21:09:53 +01:00
Sebastian Hengst
8b2bf79a7a Backed out changeset ff81c52375ba (bug 1257919) 2016-03-22 21:09:32 +01:00
Boris Zbarsky
8062407932 Bug 1257919 part 10. Make the caller and formattedStack getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:35 -04:00
Boris Zbarsky
eea8812d6b Bug 1257919 part 9. Make the asyncCause/asyncCaller getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
5df498fbd2 Bug 1257919 part 8. Make the line/column number getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
cc563df19f Bug 1257919 part 7. Make the name getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
38af226a36 Bug 1257919 part 6. Make the filename getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
8ef4cc7c3d Bug 1257919 part 3. Make the various toString methods on exceptions take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
c978d9ded6 Bug 1257919 part 2. Make nsIException and nsIStackFrame builtinclass, so we can start using [implicit_jscontext] on them. r=khuey 2016-03-22 13:50:31 -04:00
Tooru Fujisawa
e2a8d2a6b4 Bug 1153978 - Part 1: Separate buildIdOp from AsmJSCacheOps. r=jandem,bz 2016-01-01 14:19:20 +09:00
Tooru Fujisawa
fc9cc29e33 Bug 1153978 - Part 0: Separate nsIPlatformInfo from nsIXULAppInfo. r=jst,gps 2016-02-04 06:12:45 +09:00
Gregory Szorc
b19cc22cce Bug 1257410 - Use %p and cast in printf to avoid C4477 on VS2015; r=khuey
MozReview-Commit-ID: 21XrhzPiJFQ

--HG--
extra : rebase_source : a9375998fcf663bf2b285cc2105778836eedffa8
2016-03-21 14:19:18 -07:00
Kyle Huey
850c2af206 Bug 1258498: Use fallible allocation in nsScriptableInputStream::ReadBytes. r= froydnj 2016-03-21 13:49:18 -07:00
Gregory Szorc
640bfbec0b Bug 1257331 - Use LPWSTR instead of LPVOID to prevent C4477 warning; r=froydnj
MozReview-Commit-ID: 2rJdKhlLtXr

--HG--
extra : rebase_source : e31284758a80054831fd6ecda0e7733ab4e9312a
2016-03-17 20:36:06 -07:00
Honza Bambas
32c3d179be Bug 1248565 - Introduce MOZ_LOG_* variables for mozilla logging. r=erahm 2016-03-10 08:22:00 -05:00
Carsten "Tomcat" Book
0e533b219a merge mozilla-inbound to mozilla-central a=merge 2016-03-18 15:51:43 +01:00
Ms2ger
3a6fa6704c Bug 1255343 - Stop returning nsresult from NS_RegisterStaticAtoms; r=ehsan
It only ever returns NS_OK, and none of the callers check the result.
2016-03-18 09:03:43 +01:00
JW Wang
4436a4705f Bug 1250829 - add customized assertions for completion promises to facilitate promise chaining. r=bobbyholley.
MozReview-Commit-ID: 5IbbAz0KIBY
2016-03-18 11:27:19 +08:00
JW Wang
7070827866 Bug 1257063 - Don't destruct the runnable inside the lock when TaskQueue::Dispatch fails. r=bobbyholley.
MozReview-Commit-ID: I5KvfHnLUIS
2016-03-18 11:27:15 +08:00
Mike Hommey
0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Felipe Gomes
7ff0e41628 Bug 1257242 - Split the ::BrowserTabsRemoteAutostart() function into two parts, to allow for the blocking policies to be checked independently from the prefs checks. r=jimm
The behavior of ::BrowserTabsRemoteAutostart() shouldn't change, meaning that every result remains the same. The new getter can be accessed by JS through Services.appinfo.multiprocessBlockPolicy

MozReview-Commit-ID: 62PpbeJcMCI
2016-03-16 17:31:14 -03:00
Benjamin Smedberg
702c087507 Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H

--HG--
extra : rebase_source : 0ae9efbce919efcd0f20314bd89848da017b7e57
2016-03-14 09:31:19 -04:00
Nicholas Nethercote
a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Daniel Holbert
58e5e16c44 backout d85b18faba72 (bug 1187270) for build bustage. 2016-03-15 15:51:56 -07:00
Nicholas Nethercote
f584cb3bd0 Bug 1255655 - Const-ify named CIDs. r=froydnj.
There are about 600 of these, at 16 bytes each, and this change makes all of
them shareable between processes

--HG--
extra : rebase_source : b1824f0a022389aeb02d925c4d788e5a671bf782
2016-03-11 14:32:39 +11:00
Benjamin Smedberg
42e1362b4d Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H

--HG--
extra : rebase_source : fae01778b3afbe6ca9dfcf774cead01eeac50445
extra : histedit_source : 98c0c070effca99711e35b4b4c3124a9fbdba089
2016-03-14 09:31:19 -04:00
Gregory Szorc
2923feff68 Bug 1256028 - Disable C4477 to unblock compilation on VS2015; r=mcmanus
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: 9AkkAUDMln6

--HG--
extra : rebase_source : 76126361de678729344b0e9eaeac1d523f88ebb4
2016-03-14 18:44:26 -07:00
JW Wang
2c1e594fe7 Bug 1236789. Part 2 - fix assertions when |aFlags == NS_DISPATCH_TAIL|. r=bholley
MozReview-Commit-ID: E5a8zP9cMI6
2016-03-15 13:12:27 +08:00
Robert O'Callahan
d6063164cd Bug 1236789. Avoid creating an unnecessary thread pool thread for tail-dispatch in TaskQueue. r=bholley
MozReview-Commit-ID: H1rhQPBU00L
2016-01-05 16:35:17 +13:00
Franziskus Kiefer
bd54ab19d3 Bug 1226928 - signature verification for content-signing, r=keeler,mayhemer 2016-03-14 11:56:35 +01:00
Tooru Fujisawa
e8c2a0e6f5 Backed out changeset 905e3a9f7557 (bug 1153978) for xpcshell test failure. CLOSED TREE
--HG--
extra : amend_source : b8e2e8de5140313da0e2f52c4d9d46e4b609b6cd
2016-03-13 04:27:02 +09:00
Tooru Fujisawa
20ae44e9a0 Backed out changeset 08ee8e76c703 (bug 1153978) 2016-03-13 04:26:57 +09:00
Tooru Fujisawa
a66bde4a5f Bug 1153978 - Part 1: Separate buildIdOp from AsmJSCacheOps. r=jandem,bz 2016-01-01 14:19:20 +09:00
Tooru Fujisawa
d2fd3db0e7 Bug 1153978 - Part 0: Separate nsIPlatformInfo from nsIXULAppInfo. r=jst 2016-02-04 06:12:45 +09:00
Benoit Girard
52f227c58b Bug 1253678 - Rename mozilla::Function to mozilla::function. r=froydnj
MozReview-Commit-ID: 60RPmEsYDN2

--HG--
extra : rebase_source : 9d0bebc7362af2778d123425c56ac20553d9303b
2016-03-11 16:49:13 -05:00
Peter Van der Beken
77f7208a3f Bug 1255223 - Null crash when logging weak maps. r=mccr8.
--HG--
extra : rebase_source : f8c8d9bf095d80b0de0c7af9377c923b7fbb3708
2016-03-04 23:11:37 +01:00
Kyle Huey
9eea75a6f5 Bug 1252268: If the slow script dialog aborts an interval timer callback, don't schedule it again. r=bz 2016-03-10 01:50:56 -08:00
Boris Zbarsky
36d4079be7 Bug 1254847 part 3. Make AutoEntryScript always take ownership of error reporting. r=bholley 2016-03-09 19:02:03 -05:00
Wilmer Paulino
37e46b9248 Bug 1238545 - Remove nsISimpleUnicharStreamFactory; r=froydnj 2016-01-13 17:04:25 -05:00
Mike Shal
691d1784ff Bug 1253431 part 4 - Convert header.py to a GENERATED_FILES script; r=gps
We only ever execute this in one place, so we can just have the main
action do the --regen --cachedir=. mode of operation.

MozReview-Commit-ID: Fis4YBPFjMl

--HG--
extra : rebase_source : f19ac1ad688115c0aee4bf307b72d6207512f702
2016-03-03 14:15:58 -05:00
Mike Shal
7b58ab8671 Bug 1253431 part 3 - Move SDK_BINARY files in xpcom/idl-parser/xpidl to moz.build; r=gps
We can just generate xpidllex.py/xpidlyacc.py in the current directory
rather than one directory higher, and specify this directory as an
include path to xpidl-process.py

MozReview-Commit-ID: KLoGjudc4Y8

--HG--
extra : rebase_source : 8dda268c6490cdfb8b896de9da5b789208584193
2016-03-03 13:49:42 -05:00
Mike Shal
99a6e03fb1 Bug 1253431 part 2 - Use SDK_FILES instead of INSTALL_TARGETS; r=gps
MozReview-Commit-ID: K2Va7og0xw9

--HG--
extra : rebase_source : f8ae661e14c350aed7b8f66453cd6affe7498e78
2016-01-21 16:31:02 -05:00
Till Schneidereit
227c5295de Bug 1254943 - Set JS execution reason when invoking Promise callbacks. r=bz 2016-03-09 14:24:33 +01:00
Wes Kocher
2048d9f4a0 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 4SEUTTY9jRn
2016-03-08 16:08:08 -08:00
Wes Kocher
0fbf6c1476 merge inbound to m-c a=merge
MozReview-Commit-ID: BHxDQF6gIe3
2016-03-08 16:00:45 -08:00
ffxbld
727d7d0948 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-03-07 09:23:22 -05:00