Masatoshi Kimura
8b05ff3704
Bug 1427023 - Remove nsCRT::strncmp. r=erahm
2018-01-09 23:49:37 +09:00
Masatoshi Kimura
efc13822e0
Bug 1426989 - Fix NS_strncmp. r=erahm
...
--HG--
extra : rebase_source : 0dc3bc4f32a7564dadbdb5e5930679f83b9cdc1d
extra : intermediate-source : 454bde0083c54e8a01c50dc2e7a03b74349a537e
extra : source : 6fa2311f5909e1577d8d515c62d2106b76d1f469
2017-12-24 16:39:24 +09:00
Florian Quèze
0f55cd45be
Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs.
2017-12-21 11:10:23 +01:00
Florian Quèze
032c961e0a
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Andrea Marchesini
ef2a2db56a
Bug 1424183 - nsMultiplexInputStream must not call AsyncOpen on more than the current stream, r=smaug
2017-12-13 05:11:11 -06:00
Cosmin Sabou
b0098afaea
Merge mozilla-inbound to mozilla-central. r=merge a=merge
2017-12-13 12:14:29 +02:00
Andrea Marchesini
da0a8f053e
Bug 1421094 - Make nsBufferedStream cloneable, r=smaug
2017-12-12 18:38:19 -06:00
Mark Banner
2b0445fe18
Bug 1424879 - Enable mozilla/use-services for xpcom/. r=froydnj
...
MozReview-Commit-ID: FnQDHG3w6RQ
--HG--
extra : rebase_source : 7b7b16775eaad6022f544f7a65e8d950a3d6fdd0
2017-12-11 20:19:38 +00:00
Mark Banner
2002a0afd0
Bug 1424879 - Move handling of Cc/Ci/etc to head_xpcom.js for XPCOM's unit tests. r=froydnj
...
MozReview-Commit-ID: EISpkkyIaa1
--HG--
extra : rebase_source : 38c521769d42bf40d4fc97696e4cb9db4c23e83a
2017-12-11 20:10:30 +00:00
Sylvestre Ledru
4591d82b23
Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: HbF5oT5HW6f
--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Eric Rahm
07c97a5afe
Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
...
This removes an unnecessary level of indirection by replacing all
nsStringGlue.h instances with just nsString.h.
--HG--
extra : rebase_source : 340989240af4018f3ebfd92826ae11b0cb46d019
2017-12-06 16:52:51 -08:00
Andrea Marchesini
10c57af6af
Bug 1421176 - nsMultiplexInputStream::Available() sanitize - gtests - r=smaug
2017-11-30 20:00:23 +01:00
Cosmin Sabou
4fdf797aca
Backed out 3 changesets (bug 1421176) for build bustages on xpcom/tests/gtest/TestMultiplexInputStream.cpp:266:3 r=backout on a CLOSED TREE
...
Backed out changeset e5dd080198e6 (bug 1421176)
Backed out changeset 83964057e1b2 (bug 1421176)
Backed out changeset 3ef41e230c5e (bug 1421176)
2017-11-30 21:31:55 +02:00
Andrea Marchesini
8fd5768278
Bug 1421176 - nsMultiplexInputStream::Available() sanitize - gtests - r=smaug
2017-11-30 20:00:23 +01:00
Gabriele Svelto
3e3a359edc
Bug 1402519 - Remove MOZ_CRASHREPORTER directives from xpcom; r=froydnj
...
MozReview-Commit-ID: HS3M0DJQ3qc
--HG--
extra : rebase_source : c535b0760480deea1c9889c629c52857bf52ea64
2017-10-10 11:59:39 +02:00
shindli
fb855aa7ba
Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
...
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Gabriele Svelto
13364cc36b
Bug 1402519 - Remove MOZ_CRASHREPORTER directives from xpcom; r=froydnj
...
MozReview-Commit-ID: HS3M0DJQ3qc
--HG--
extra : rebase_source : bb09e9e3b01d39e91a1377117fa127a09c29cccd
2017-10-10 11:59:39 +02:00
Dan Banner
b2e847755c
Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
...
MozReview-Commit-ID: GrlcOI9K2hJ
--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Jan de Mooij
7f30bf48a7
Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie
2017-11-17 12:12:39 +01:00
Matt Woodrow
aab0cbe92c
Bug 1406727. r=froydnj
2017-11-16 16:09:28 +13:00
Andrea Marchesini
eedd5e2174
Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang
2017-11-15 07:58:02 +01:00
shindli
385fb3428c
Backed out 4 changesets (bug 1416724) for failing /builds/worker/workspace/build/src/dom/media/hls/HLSDemuxer.cpp:89:5 r=backout on a CLOSED TREE
...
Backed out changeset 45352aa4319d (bug 1416724)
Backed out changeset 01d1e5263bcd (bug 1416724)
Backed out changeset bc854c315ec8 (bug 1416724)
Backed out changeset 35a50167485d (bug 1416724)
2017-11-15 09:49:04 +02:00
Andrea Marchesini
e521e16895
Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang
2017-11-15 07:58:02 +01:00
James Cheng
3f519daa88
Bug 1415083 - Rearrange the declaration of objects to avoid stack-use-after-scope. r=froydnj
...
MozReview-Commit-ID: 7nMw1i10b7e
--HG--
extra : rebase_source : ab23ef60ff800f522357037cacd02bf87d2960ee
2017-11-07 17:02:54 +08:00
Henri Sivonen
9a34044063
Bug 1396208 - For benchmarking, add a black box function that is opaque to the optimizer. r=froydnj
...
MozReview-Commit-ID: 82jn6u6WRf0
--HG--
extra : rebase_source : 76e173841ed555b7e3741bf3d004de5aa071f3b0
2017-10-10 09:48:26 +03:00
Andrea Marchesini
a4d8f81bac
Bug 1414767 - Moving SlicedInputStream under mozilla namespace, r=froydnj
2017-11-07 01:04:06 +01:00
Sebastian Hengst
e50208ab81
Backed out changeset 66d49b9e8217 (bug 1414767) for build bustage on OS X: CoreServices.framework/Frameworks/AE.framework/Headers/AERegistry.h:693: reference to 'TextRange' is ambiguous. r=backout on a CLOSED TREE
2017-11-06 17:51:56 +01:00
Andrea Marchesini
096614f974
Bug 1414767 - Moving SlicedInputStream under mozilla namespace, r=froydnj
2017-11-06 16:21:01 +01:00
Andrea Marchesini
cc7b359311
Bug 1413920 - nsMultiplexInputStream should call OnInputStreamReady on close, r=smaug
2017-11-06 14:20:15 +01:00
Chris Peterson
1df202b177
Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj
...
And remove unreachable code after MOZ_CRASH().
MozReview-Commit-ID: 6ShBtPRKYlF
--HG--
extra : rebase_source : 0fe45a59411bda663828336e2686707b550144ae
extra : source : 8473fd7333d2abe1ea1cc176510c292a5b34df45
2017-10-24 23:30:31 -07:00
Eric Rahm
b8c8c56e46
Bug 1412416 - Part 2: Simplify ArenaStrdup for xpcom strings. r=froydnj
...
Now that xpcom strings use templates we can combine their `ArenaStrdup`
implementations. `nsTStringRepr` is used so as to allow handling of both
`nsTLiteralString` and `nsTSubstring` types.
--HG--
extra : rebase_source : e77891da589f320507b45f524a3203b3dc9f38e6
extra : histedit_source : 79d3b9a1add191563e0985f0c0e416bd29f24351
2017-10-27 13:26:47 -07:00
Eric Rahm
1a39968857
Bug 1412416 - Part 1: Support arena duplication of wide strings. r=froydnj
...
This adds support for duplicating both raw `char*` strings and raw `char16_t*`
strings by making the character type generic.
--HG--
extra : rebase_source : bb5245ed71161c8c785684e5a56ac894f03874ea
extra : histedit_source : e94eb738a3982f0cb63a894a0cdfbdf0be2b9cad
2017-10-27 13:23:48 -07:00
Masatoshi Kimura
dbd92543c6
Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj
...
MozReview-Commit-ID: 7JoD4VYzZp3
--HG--
extra : rebase_source : 5db437f1c34608aa223916874d62b48c59baeae8
2017-10-21 23:53:02 +09:00
Eric Rahm
4df63b1809
Bug 1403083 - Part 2: Test conditionaly enabling string functions. r=froydnj
...
--HG--
extra : rebase_source : 01e852a2cf86a71fd1842fc852f1c2cdecb67b7b
2017-10-09 13:33:16 -07:00
Andrea Marchesini
6626e900f9
Bug 1409327 - NS_NewBufferedInputStream should take the ownership of the inputStream, r=smaug
2017-10-19 11:39:30 +02:00
Ryan VanderMeulen
cb612851ed
Merge inbound to m-c. a=merge
2017-10-18 21:01:34 -04:00
Andrew McCreight
70333838d1
Bug 1403959, part 3 - Manually fix some xpcom/ eslint failures and enable it. r=froydnj
...
Renames are because another location also defined that
variable. Unused definitions are eliminated.
The .eslintrc.js file makes eslint expect XPCShell global variables.
MozReview-Commit-ID: Fafm5o45bme
--HG--
extra : rebase_source : ab71132a60e90bd30f34766bd828b18dd608f8b3
2017-09-28 16:12:52 -07:00
Andrew McCreight
4ae455cdc5
Bug 1403959, part 2 - Automatically generated eslint fixes. r=froydnj
...
These were generated with |./mach eslint --fix xpcom| with the
.eslintignore and xpcom/tests/unit/.eslintrc.js changes from the next
patch.
MozReview-Commit-ID: 8pKkICSK3JQ
--HG--
extra : rebase_source : bbc98050928f27160d8ca63d38aa0c383be95878
2017-09-28 15:49:04 -07:00
Andrew McCreight
ae916ca971
Bug 1403959, part 1 - Remove non-standard conditional catch clause. r=froydnj
...
This is non-standard, and eslint can't parse it correctly, so remove
it.
MozReview-Commit-ID: EsfZSyoECB0
--HG--
extra : rebase_source : 561d194e0c466d98d054b2303916be196f983b1b
2017-09-28 15:39:06 -07:00
Nika Layzell
c234875cd6
Bug 1377351 - Part 4: Add tests for nsA[C]String::Assign move overload, r=froydnj
...
MozReview-Commit-ID: KJ41seMmUXt
2017-10-18 13:00:18 -04:00
Sebastian Hengst
66e04dcde6
Backed out changeset 4666cde20909 (bug 1409327)
2017-10-17 22:03:33 +02:00
Andrea Marchesini
d526801916
Bug 1409327 - NS_NewBufferedInputStream should take the ownership of the inputStream, r=smaug
2017-10-17 20:38:05 +02:00
Kris Maglione
f6ba082a01
Bug 1404198: Part 2b - Switch to NS_NewTimer* in xpcom. r=njn
...
MozReview-Commit-ID: BEtHEpOmT1E
--HG--
extra : rebase_source : dac8a182f1ad76df6715146e1da1279c02c0406f
2017-10-15 23:11:22 -07:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Sebastian Hengst
93494fca0a
Backed out changeset b88b3fbd7deb (bug 1371699)
2017-10-05 13:10:49 +02:00
Sebastian Hengst
449b6fdffb
Backed out changeset 950c069a0192 (bug 1371699)
2017-10-05 13:10:44 +02:00
Andrea Marchesini
cccac16f60
Bug 1403771 - SlicedInputStream takes ownership of the underlying stream and it propagates the Close() call, r=smaug
2017-10-05 07:38:48 +02:00
Andrea Marchesini
00a01b8402
Bug 1371699 - NonBlockingAsyncInputStream::ReadSegments passes the correct stream to the writer callback, r=froydnj
2017-10-04 11:46:34 +02:00
Andrea Marchesini
3d4ceae380
Bug 1371699 - Tests for NonBlockingAsyncInputStream, r=froydnj
2017-10-03 07:20:18 +02:00
Nicholas Nethercote
9e0714dd26
Bug 1403506 - Remove nsTFixedString<T>. r=erahm.
...
(patch is actually r=erahm,mystor)
nsTFixedString<T> is only used as a base class for nsTAutoStringN<T, N>, so
this patch merges the former into the latter, cutting some code and simplifying
the string class hierarchy.
Because the "Fixed" name is now gone, the patch also renames
StringDataFlags::FIXED as INLINE and ClassDataFlags::FIXED as INLINE.
The patch also removes nsFixed[C]String and ns_auto_[c]string! from Rust code
because nsAutoString can't be implemented directly in Rust due to its move
semantics. There were only two uses of ns_auto_string! outside of tests so this
seems like a minor loss.
MozReview-Commit-ID: 8ntximghiut
--HG--
extra : rebase_source : f36edbae0553adcfee356fb8b311097ff7424786
2017-09-27 20:19:33 +10:00