Nicholas Cameron
c0366ce176
BUg 910160. IWYU for gfx/src. r=roc
2013-09-02 10:21:01 +12:00
Kyle Huey
197c9dc222
Bug 907914: Turn on refcounting threadsafety assertions in opt trunk builds. r=bent
2013-08-30 10:06:37 -07:00
Olli Pettay
fec6e6d8e3
Bug 910797, make Event.isTrusted to work in workers, r=khuey
2013-08-30 12:47:19 +03:00
Justin Lebar
66f7416cab
Bug 909977 - Rename mozilla::Move to mozilla::OldMove, and make mozilla::Move a synonym for std::move(). r=waldo
...
--HG--
extra : rebase_source : 7b3bb02cc8cbc0ad6721c6c3895564d9567b8ddb
2013-08-29 11:54:14 -07:00
Doug Turner
3de9e6a0cf
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Brian O'Keefe
d118b95a0d
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
c16268054c
Bug 831193 (part 19) - Remove NS_MEMORY_REPORTER_IMPLEMENT. r=jlebar.
...
--HG--
extra : rebase_source : d51e38b3d701becff8a7dbad22ac3cd94acbc9aa
2013-01-17 21:43:21 -08:00
Nicholas Nethercote
613f39643a
Bug 831193 (part 18) - Don't use NS_MEMORY_REPORTER_IMPLEMENT for the ICU reporter. r=jlebar.
...
--HG--
extra : rebase_source : 5e5b3d8f677e6bb6cfeba17d937d5837e4aafd91
2013-08-22 22:24:16 -07:00
Nicholas Nethercote
62e9c83a62
Bug 831193 (part 17) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in xpcom/. r=jlebar.
...
--HG--
extra : rebase_source : 7e2984a99fb7e00aa0ea6bebc23e23e4c99e0b1e
2013-01-17 21:43:21 -08:00
Nicholas Nethercote
28f7298c15
Bug 831193 (part 11) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in gfxAndroidPlatform.cpp. r=jlebar.
...
--HG--
extra : rebase_source : b683f7c4f991deefa99f460de89d37dbee56c1e4
2013-01-17 16:45:11 -08:00
Nicholas Nethercote
3c5b0c6b29
Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
...
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Ryan VanderMeulen
6f0d3838c9
Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
...
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Andrew McCreight
f8bde121bd
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz
2013-08-27 15:39:02 -07:00
Bobby Holley
5a94b003f3
Bug 899367 - Remove check for non-WindowProxy objects on an scx. r=mccr8
2013-08-27 15:21:40 -07:00
Bobby Holley
0a90738ba7
Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
...
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-08-27 15:21:39 -07:00
Bobby Holley
d8ec53aa09
Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
...
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-08-27 15:21:38 -07:00
Bobby Holley
a9a3af4e97
Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8
2013-08-27 15:21:37 -07:00
Bobby Holley
ba0f5bdd30
Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
...
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-08-27 15:21:37 -07:00
Andrew McCreight
fb10bae2e6
Backed out changeset 365053e73efa for build bustage on this CLOSED TREE.
2013-08-27 09:54:01 -07:00
Andrew McCreight
ab43ff245b
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug
2013-08-20 14:19:33 -07:00
J. Ryan Stinnett
5444112ff2
Bug 905428 - Use hex addresses when symbolicating Obj-C exceptions. r=dougt, r=bsmedberg
2013-08-14 17:50:43 -05:00
Nicholas Nethercote
0df65930a1
Bug 909178 (part 2) - Make jsclass.h not depend on jsapi.h, and rename it js/Class.h. r=jwalden.
...
--HG--
rename : js/src/jsclass.h => js/public/Class.h
extra : rebase_source : 31ecd4074181c234f7f71eef04a10ae371c35eaa
2013-08-21 22:26:57 -07:00
Karl Tomlinson
a9d139bd75
b=903270 set thread name for initial event of NS_NewNamedThread() r=dougt
...
--HG--
extra : transplant_source : %E7%24%5Be%ED.%F3HH%9A%9E%02r%EB%29%CD%EDf%09%F1
2013-08-27 12:36:45 +12:00
William Chen
990ec8e20c
Bug 903290 - Add a memory reporter for the observer service. r=njn
2013-08-26 11:56:23 -07:00
Geoff Brown
fd9a8160b1
Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher
2013-08-25 10:58:31 -06:00
Gabriele Svelto
91c1a25d52
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
47f9af7214
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
795d28ed67
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Sahil Chelaramani
3e833bf053
Bug 662669 - nsCharSeparatedTokenizer/nsWhiteSpaceSeparatedTokenizer should use RangedPtr; r=Waldo
2013-08-23 14:07:55 -07:00
Nathan Froyd
122242a163
Bug 884281 - use mozilla::Atomic in xpcom/; r=bsmedberg,jlebar
2013-08-22 11:14:42 -04:00
Ted Mielczarek
d0e6cfab67
Bug 906734 - Put TestHarness.h profile directories under runcppunittest's temp directory. r=Waldo
2013-08-20 11:59:51 -04:00
Ben Turner
16a03ef81d
Bug 900711, fix bustage on CLOSED TREE
2013-08-22 09:48:43 -07:00
Ben Turner
80783d8a94
Bug 900711 - '~nsIThreadPool can run the event loop if shutdown has not been called'. r=ehsan.
2013-08-02 13:19:36 -07:00
Makoto Kato
584c783c77
Bug 901820 - Part 2. Remove nsCRT::strdup/nsCRT::strndup impl. r=bsmedberg
2013-08-22 19:32:11 +09:00
Makoto Kato
033e608a90
Bug 901820 - Part 1. replace nsCRT::strdup with strdup. r=bsmedberg
2013-08-22 19:31:48 +09:00
Ms2ger
f805d8d6eb
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
913bab58b0
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
05f294ce31
Bug 906503 - Remove nsIExceptionProvider; r=bholley
...
It is replaced by a direct special case in the caller.
2013-08-22 08:56:02 +02:00
Ms2ger
04a948975a
Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal
2013-08-22 08:56:02 +02:00
Ms2ger
bdfaa84f5b
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
3a103a7e9f
Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium
2013-08-22 08:56:01 +02:00
Ms2ger
af2c13c793
Bug 906412 - Cleanup some random parts of the build system; r=mshal
2013-08-22 08:55:59 +02:00
Ms2ger
18cd92e9b4
Bug 903844 - Add/update include-what-you-use annotations for various files; r=ehsan+khuey
2013-08-22 08:31:21 +02:00
Ryan VanderMeulen
cc2065da2b
Backed out changeset d389df23ffc9 (bug 884281) for OSX crashes.
...
CLOSED TREE
2013-08-21 13:27:00 -04:00
Andrew McCreight
59208f6acc
Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug
2013-08-19 13:49:58 -07:00
Nicholas Nethercote
2585de9a07
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Nathan Froyd
3800160bd1
Bug 907728 - use function overloading instead of defaulted arguments for nsTSubstring::Assign; r=jlebar
2013-08-20 16:32:54 -04:00
Nathan Froyd
0604998c6e
Bug 907355 - fix warning about set-but-not-used variable in nsTimerImpl.cpp; r=ehsan
2013-08-20 15:22:27 -04:00
Nathan Froyd
edd84bd0e5
Bug 884281 - use mozilla::Atomic in xpcom/; r=bsmedberg
2013-08-20 11:21:31 -04:00
Nathan Froyd
ee1f578073
Bug 906149 - make no-arg TimeDuration constructor constexpr to avoid a static constructor; r=ehsan
2013-08-16 15:23:28 -04:00
Nicholas Cameron
0514eb1ecd
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Wes Kocher
90c9ce278d
Backed out changeset cfecdf10dcba (bug 614238) for b2g debug bustage on a CLOSED TREE
2013-08-20 15:47:28 -07:00
Andrew McCreight
41efd2023b
Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug
2013-08-19 13:49:58 -07:00
Ted Mielczarek
ca9a717499
bug 842728 - init Breakpad from C++ in xpcshell, remove ability to init from script. r=bholley,gps
2013-08-15 14:48:12 -04:00
Justin Lebar
b0df52ae5e
Bug 906918 - Use MoveRef's in nsTHashtable. r=bsmedberg
...
This patch adds a move constructor for nsTHashtable and also lets
nsTHashtable use its EntryType's move constructor, if one is available.
This patch also adds move constructors for nsCharPtrHashKey and
nsUnicharPtrHashKey. Using these new constructors, nsTHashtable will be
able to avoid strdup()'ing all of its keys whenever it resizes the
table.
2013-08-20 09:08:00 -07:00
Landry Breuil
6029fbc82e
Bug 905920 - Fix build on platforms without SPS profiler r=khuey
2013-08-20 13:48:22 +02:00
Michael Harrison
50b6d60cb1
Bug 486080 - Remove nsIByteBuffer and nsIUnicharBuffer. r=bsmedberg
2013-08-20 11:03:50 +00:00
David Keeler
4aa9c2a48c
bug 906209 - remove some spurious idl forward-declarations r=jlebar
2013-08-16 14:58:45 -07:00
Jon Coppeard
d54dda2c97
Bug 903548 - GC: What do we do for UnmarkGray on a Nursery GCThing? r=billm
2013-08-19 14:48:35 +01:00
Geoff Brown
a22da2d975
Bug 902081 - Skip xpcshell test_systemInfo.js on android; r=ctalbert
2013-08-18 11:58:34 -06:00
Andrew McCreight
d45893bf60
Bug 903524 - Rename TestJSHolder to IsJSHolder. r=smaug
2013-08-15 10:29:02 -07:00
Ed Morley
64d0852d31
Backed out changeset 35afcb18f192 (bug 662669) for build failures
2013-08-16 14:55:15 +01:00
Sahil Chelaramani
8ebdfe826d
Bug 662669 - nsCharSeparatedTokenizer/nsWhiteSpaceSeparatedTokenizer should use RangedPtr. r=Waldo
2013-08-16 09:18:13 -04:00
Justin Lebar
9e4a6cea73
No bug - Fix comment in nsTHashtable.h so it no longer mentions PR_TRUE/PR_FALSE. r=me DONTBUILD
2013-08-15 16:33:54 -07:00
Trevor Saunders
c64e5ea4a3
bug 905418 - get rid of more static constructors in dom/bindings/ r=smaug
2013-08-14 18:04:24 -04:00
Nicholas Nethercote
c67a4683bf
Bug 905465 - Minor memory reporter manager code style clean-ups. r=jlebar.
...
--HG--
extra : rebase_source : ff7e494a8a999ccc134460f096f4b5ff08faa282
2013-08-14 18:19:24 -07:00
Gregory Szorc
df453f8483
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Nathan Froyd
4713a5db38
Bug 905149 - make mozilla::CallStack constexpr to avoid static constructors; r=ehsan
2013-08-14 09:43:36 -04:00
Ryan VanderMeulen
fab2c2a3c8
Backed out changesets 1fa1f28c6edf and e74f694f31c4 (bug 850380) for PGO bustage on a CLOSED TREE.
2013-08-14 15:12:20 -04:00
Brian O'Keefe
263f163332
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Brian O'Keefe
61565e4086
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Gregory Szorc
d87c91cf0c
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Ms2ger
30f4e6e119
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
9d023a67df
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
e9ac4435fb
Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
...
* * *
FOLD
2013-08-14 09:00:13 +02:00
Ehsan Akhgari
0bef5b7609
Bug 904121 - Do not include nsIMemory in nsMemory.h; r=vlad
...
--HG--
extra : rebase_source : b525ab299eeefdd39f6e919c8a0c6407f9bac209
2013-08-12 17:44:56 -04:00
Kyle Huey
691d1dcdbd
Bug 904143: Remove nsISupports inheritance from PromiseResolver. r=smaug
2013-08-13 10:46:18 -07:00
Kyle Huey
7ea5a68da2
Bug 901630: Remove support for the cc thread. r=mccr8
2013-08-13 10:45:32 -07:00
Phil Ringnalda
d2099e030b
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
de3e98e1de
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Mike Hommey
97fcbfb1d2
Bug 901200 - Change SharedStub definition in tier-3 xptcstubs to better fit reality and make the compiler happy now that nsresult is an enum. r=bsmedberg
2013-08-10 15:53:22 +09:00
Nicholas Nethercote
292e8e2156
Bug 898263 (part 1) - Slim down jsprvtd.h. r=jorendorff.
...
--HG--
extra : rebase_source : 7a926428c59e388fc08148bf60f6dbc7bfe71271
2013-07-25 21:23:14 -07:00
Gregory Szorc
9cc4c77ef2
Bug 900714 - Remove legacy -fno-strict-aliasing compiler flag adjustment; r=mshal
2013-08-09 12:40:37 -07:00
Trevor Saunders
e62a12b52f
bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium
2013-08-08 20:12:37 -04:00
Nathan Froyd
73f84114cc
Bug 901976 followup - fix Windows build bustage; r=bustage
2013-08-09 11:11:31 -04:00
Nathan Froyd
5f9e07125e
Bug 901976 - don't null-check |new X| in xpcom/; r=bsmedberg
2013-08-05 11:16:53 -04:00
Nicholas Nethercote
d8f824e34e
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Andrew McCreight
07705e9ef3
Bug 874679 - Clear JS holders when they are unrooted. r=smaug
2013-08-07 17:22:57 -07:00
Nicholas Nethercote
7c94740517
Bug 902062 - Convert PL_DHASH_ENTRY_IS_* macros to inline functions. r=ehsan.
...
--HG--
extra : rebase_source : 7be2f1bb51852c3ed0c07b777ff21a92e133412d
2013-08-07 15:28:33 -07:00
Trevor Saunders
92695a6cd3
bug 900330 - generate the xpidl parser during precompile instead of export r=ted
2013-08-02 23:38:13 -04:00
Trevor Saunders
728a38e20a
bug 900330 - part 1 rm xpcom/typelib/xpidl/ r=ted
2013-08-02 23:30:09 -04:00
Trevor Saunders
87b8f483b6
bug 900330 - part 0 clean up xpcom/typelib/xpt/src/Makefile.in r=ted
...
we don't need to build the C xpt code before idl parsing anymore so change to
compile it during libs
2013-08-02 14:06:02 -04:00
Kartikaya Gupta
8be01cf754
Bug 901187 - Send printf_stderr output to Visual Studio console if it is attached. r=bsmedberg
2013-08-02 17:32:48 -07:00
Andrew McCreight
eb5f8005c8
Bug 901756 - Fix a few nits in nsCycleCollector.cpp r=khuey
...
Remove an unused forward declaration, and an unused field
2013-08-05 17:04:47 -07:00
Ryan VanderMeulen
2ac14b6276
Merge m-c to inbound.
2013-08-05 20:00:43 -04:00
Po-Chun Chang
8720931304
Bug 898691 - Avoid wasted work in TestTextFormatter.cpp. r=jlebar
2013-08-05 19:43:26 -04:00
Bhavana Bajaj
26604ce559
Merging in version bump NO BUG
2013-08-05 11:06:54 -07:00
Karl Tomlinson
09f4106792
b=900337 Document that nsIThreadPool::Shutdown() will run the event loop r=ehsan
...
--HG--
extra : transplant_source : %93%D8%96%C2%3A%60%7E%B9%96U%CC%C0%21e%A6%D2%BD%DD%E3-
2013-08-05 14:58:41 +12:00
Kyle Huey
d8a5e42d26
Bug 845545: Part 5 - Port ImageData to workers. r=mccr8,peterv,bent
2013-08-03 16:55:40 -07:00
Kyle Huey
b0e1508e38
Bug 845545: Part 4 - Create a worker implementation of CycleCollectedJSRuntime. r=mccr8,bent
2013-08-03 16:55:40 -07:00
Kyle Huey
9908c2bd93
Bug 845545: Part 3 - Give the CycleCollectedJSRuntime more control over
...
SnowWhite. r=smaug
2013-08-03 16:55:39 -07:00
Kyle Huey
6687175a2c
Bug 845545: Part 2 - Refactor context creation callbacks. r=bholley,mccr8
2013-08-03 16:55:39 -07:00
Kyle Huey
92d60a1477
Bug 845545: Part 1 - Fix heap dumping to work off the main thread. r=mccr8
2013-08-03 16:55:39 -07:00
Ms2ger
50634577d5
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
a4e67abf5e
Bug 897921 - Remove some dead assignments in makefiles; r=mshal
2013-08-02 09:03:55 +02:00
Mike Hommey
2e729aa83d
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Nathan Froyd
21f1c1c878
Bug 900050 - remove dead prclist.h #include from nsSegmentedBuffer.h; r=ehsan
2013-07-31 12:12:43 -04:00
Joey Armstrong
56ab717da3
Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3 ); r=mshal
2013-06-11 16:38:22 -04:00
Andrew McCreight
d885cfcb46
Bug 887903 - Non-fatally assert when nsDeque fails due to OOM during scanning in CC. r=smaug
2013-05-28 17:42:13 -07:00
Gabriele Svelto
f886fc6f10
Bug 852250 - When restarting recompute the process startup timestamp instead of using the timestamp stored it in MOZ_APP_RESTART during the shutdown procedure. r=nfroyd
2013-07-31 12:51:58 +02:00
Ehsan Akhgari
2824b29025
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Mike Hommey
378ab5094e
Bug 898916 - Properly align statically allocated classinfo objects. r=bsmedberg
2013-07-30 08:57:28 +09:00
Mike Hommey
3ab1c9fa0c
Bug 893976 - Don't create xpidl_debug and avoid LALR tables generation message. r=ted
2013-07-30 08:57:27 +09:00
Bobby Holley
acaaa3b1a2
Bug 899245 - Rename js::GetDefaultGlobalForContext to js::DefaultObjectForContextOrNull. r=luke
...
This is more correct, since the object very often is not a global.
2013-07-29 16:45:25 -07:00
Justin Lebar
81025e5ec7
Bug 898558 - Rework the jemalloc heap memory reporters. r=njn
...
Now we have the following hierarchy
explicit/
heap-overhead/
bookkeeping
waste
page-cache (previosuly known as dirty)
In addition, heap-committed-unused-ratio is now known as heap-overhead-ratio.
--HG--
extra : rebase_source : 8d2ca75904dfb3c0dfd1ba9a132f828436b734c6
2013-07-29 09:10:53 -07:00
Trevor Saunders
108b7dd046
backout bug 886526 because it probably made us use a lot more memory to link on windows
2013-07-29 11:03:21 -04:00
Jeff Walden
2b0de653cc
Bug 896124 - Implement a JS_Init() JSAPI function, to be called before any other JSAPI operations (except JS_SetICUMemoryFunctions) are performed, to centralize whole-engine initialization tasks. r=bsmedberg for the XPCOM bits, r=luke for the JS bits
...
--HG--
extra : rebase_source : fd308ab3bd76c67a0b128eaefae3edf177893fe1
2013-07-19 20:14:34 -07:00
Ryan VanderMeulen
15d0439042
Merge m-c to inbound.
2013-07-27 13:31:57 -04:00
Olli Pettay
ae46376c2e
Bug 897433 - Telemetry for SnowWhite and more async SnowWhite freeing (patch v4), r=mccr8
2013-07-27 13:48:45 +03:00
Christian Holler
8cf183b552
Bug 895845 - Temporary ASan workaround in NS_IsMainThread. r=mccr8
...
--HG--
extra : rebase_source : 25d692141c3e609c59a3f1eaf81f317f08cb6e43
2013-07-27 01:37:19 +02:00
Paul Adenot
53a2f501c5
Bug 882543 - Retain storage for media streams accross iterations instead of reallocating. r=jlebar,roc
2013-07-19 16:40:56 +02:00
Paul Adenot
85bccc71ae
Bug 894941 - Move SSE.{h,cpp} and arm.{h,cpp} to mozglue/build/. r=glandium
...
--HG--
rename : xpcom/glue/SSE.cpp => mozglue/build/SSE.cpp
rename : xpcom/glue/SSE.h => mozglue/build/SSE.h
rename : xpcom/glue/arm.cpp => mozglue/build/arm.cpp
rename : xpcom/glue/arm.h => mozglue/build/arm.h
rename : xpcom/tests/ShowSSEConfig.cpp => mozglue/tests/ShowSSEConfig.cpp
2013-07-26 18:46:31 +02:00
Ivan Alagenchev
c130661158
Bug 846918: Adds internal httpchannel idl for communication between documents and channels. r=jlebar
2013-07-26 08:37:02 -07:00
Andrew McCreight
371753028b
Bug 692226 - Record weak map entries in the cycle collector log. r=smaug
2013-07-26 08:12:51 -07:00
Ryan VanderMeulen
c5cf7535b6
Backed out 3 changesets (bug 896124, bug 784739, bug 894026) for Windows checktest orange on a CLOSED TREE.
...
Backed out changeset 631b3d5d54f4 (bug 896124)
Backed out changeset 5e1dd28ede5d (bug 894026)
Backed out changeset c10c0a6270ec (bug 784739)
2013-07-26 00:08:51 -04:00
Ryan VanderMeulen
496513c7cd
Backed out changeset 300f5b7d72e1 (bug 897433) for intermittent Linux dromaeo crashes.
2013-07-25 21:18:20 -04:00
Jeff Walden
6cad720747
Bug 896124 - Implement a JS_Init() JSAPI function, to be called before any other JSAPI operations are performed, to centralize whole-engine initialization tasks. r=bsmedberg for the XPCOM bits, r=luke for the JS bits
2013-07-19 20:14:34 -07:00
Olli Pettay
e05c81b4a4
Bug 897433, Telemetry for SnowWhite and more async SnowWhite freeing, r=mccr8
...
--HG--
extra : rebase_source : 487139a95f50e69d6273c2870ed6623f175544e7
2013-07-25 22:56:20 +03:00
Nathan Froyd
7960cc996d
Bug 898016 - delete unused evlen variable in EventFilter::Build; r=mayhemer
...
DONTBUILD because NPOTB
2013-07-25 12:30:07 -04:00
Nathan Froyd
9cdf7cb227
Bug 898015 - delete unused gStopFlushingThread variable in VisualEventTracer.cpp; r=mayhemer
2013-07-25 12:27:33 -04:00
Nathan Froyd
69f260db94
Bug 891398 - don't use volatile in VisualEventTracer.cpp; r=mayhemer
...
DONTBUILD because NPOTB
2013-07-09 10:43:42 -04:00
Ms2ger
e77fd90ace
Bug 896414 - Make nsDirectoryService::mHashtable an nsInterfaceHashtable; r=bsmedberg
2013-07-24 09:40:40 +02:00
Ms2ger
45a72b59e3
Bug 896385 - Use nsInterfaceHashtable for nsXBLPrototypeBinding::mInterfaceTable; r=mrbkap
2013-07-24 09:39:56 +02:00
Ms2ger
10d5739f7a
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
2013-07-24 09:23:06 +02:00
Ryan VanderMeulen
9a1a3a0658
Merge m-c to inbound on a CLOSED TREE.
2013-07-23 16:14:26 -04:00
Viral Wang
3ef8873243
Bug 890144 - Add copedCloseFile to reduce memory leak. r=jlebar
2013-07-23 08:30:55 -04:00
Mike Hommey
3af66c5a46
Bug 895083 - Set NS_STDCALL to nothing on WIN64. r=ehsan
2013-07-21 13:59:05 +09:00
Andrew McCreight
1c657bf12f
Bug 895933 - Record if a CC log is AllTraces or not. r=khuey
2013-07-19 10:00:53 -07:00
Arnaud Sourioux
38d6c0d455
Bug 883360 - Remove bool operator and nsMainThreadPtrHolder conversion. r=bsmedberg
2013-07-19 12:53:12 -04:00
Ryan VanderMeulen
d2482ea688
Backed out 5 changesets (bug 882543) for crashtest orange on a CLOSED TREE.
...
Backed out changeset b36516aab389 (bug 882543)
Backed out changeset 07550003a24a (bug 882543)
Backed out changeset f4045c40afb4 (bug 882543)
Backed out changeset 1b87e0bd2858 (bug 882543)
Backed out changeset 8d76a3440800 (bug 882543)
2013-07-19 12:00:48 -04:00
Paul Adenot
63bc0bcbc6
Bug 882543 - Retain storage for media streams accross iterations instead of reallocating. r=jlebar,roc
2013-07-19 16:40:56 +02:00
Olli Pettay
a0d710b2dd
Bug 895578 - Make SnowWhiteKiller to use fallible TArray, r=mccr8
2013-07-19 15:53:16 +03:00
Andrew McCreight
8072ebea00
Bug 888461 - Remove unused field nsCycleCollector::mFollowupCollection. r=smaug
2013-07-14 05:10:30 -07:00
Gregory Szorc
5cf35af589
No Bug - Removing empty Makefile.in files; r=me
2013-07-18 09:09:28 -07:00
Andrew McCreight
bc21d6169e
Bug 888999 - Remove mObject null checks in the cycle collector. r=smaug
2013-07-18 09:07:28 -07:00
Andrew McCreight
b2b308ac21
Bug 889053 - Remove nsCycleCollectorParams::mDoNothing which does nothing. r=khuey
2013-07-18 09:07:28 -07:00
Ehsan Akhgari
192bc42d5e
Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer
2013-07-18 12:06:38 -04:00
Ehsan Akhgari
67b7df59f8
Bug 895083 - Don't #define NS_HAVE_STDCALL on Win64 because __stdcall will just get ignored there by the compiler. r=vlad
2013-07-18 10:17:13 -04:00
Mike Shal
1c7eb2843f
Bug 889787 - Define XP_LINUX globally; r=ted
2013-07-16 17:10:10 -04:00
Joshua Cranmer
b82a7849fb
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
1a6dffc73f
Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
...
--HG--
extra : rebase_source : d54f6973e3ff859207115013e8361781769ffc76
2013-07-18 21:31:26 -05:00
Joshua Cranmer
c0c97c389f
Bug 884061 - Part 2: Add NS_DECL_THREADSAFE_ISUPPORTS, r=jlebar.
...
--HG--
extra : rebase_source : 70514a7fc7760cadf8608e038d686ad5b2542571
2013-07-13 20:28:54 -05:00
Joshua Cranmer
96bb0c3a50
Bug 884061 - Part 1: Use mozilla::Atomic in NS_DECL_INLINE_THREADSAFE_REFCOUNTING, r=jlebar
...
--HG--
extra : rebase_source : a3a987a2a4a52603e0461f40396cca06b6cbe989
2013-07-13 20:18:03 -05:00
Jon Coppeard
e526358777
Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz
2013-07-23 10:58:26 +01:00
Benoit Girard
41b1df67ba
Bug 838803 - Remove HAVE_STDCALL to work around clang bug. r=glandium
...
--HG--
extra : rebase_source : e1cdb524a4f7f0742f2051e5915e5e21db4c0423
2013-07-16 22:01:50 -04:00
Brian O'Keefe
f4815f2203
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Jacek Caban
8c768cb0c4
Bug 893444 - wine-gecko fails to compile when using mingw-w64+winpthreads r=glandium
2013-07-16 14:08:44 +02:00
Nicolas B. Pierron
d8e088b8bd
Bug 876029 - Add Missing MPL header. r=jlebar DONTBUILD
2013-07-15 15:25:07 -07:00
Benoit Girard
be559fe75a
Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium
2013-07-12 08:56:54 -04:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Mike Hommey
d01870f66f
Bug 892401 - Remove NEW_H. r=ted
2013-07-12 09:16:41 +09:00
Roberta De Viti
22cd4a9676
Bug 865188 - Remove Storage support for profile special database. r=mak
2013-07-11 10:00:48 +02:00
Gregory Szorc
19850b9b8e
Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
...
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.
--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Cykesiopka
1df45de0a2
Bug 334558 - Document throwing behaviour of nsIServiceManager::isServiceInstantiated* methods. r=bsmedberg
2013-07-10 14:57:34 -04:00
Ryan VanderMeulen
03e73d9988
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
Trevor Saunders
63ed0e9589
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Ryan VanderMeulen
d806e1e244
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Anthony Jones
0d86c0c984
Bug 864447 - Move timing tracking out of APZC; r=BenWa
2013-07-10 11:26:08 +12:00
Olli Pettay
b002b30b2a
bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
...
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Nicolas B. Pierron
5cb1226f59
Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar
2013-07-09 13:47:15 -07:00
Ms2ger
1a40020bdd
Bug 213324 - Remove getter_AddRefs(T*); r=ehsan
2013-07-10 11:56:21 +02:00
Ms2ger
1547db9d30
Bug 888644 - Install TestHarness.h the usual way; r=ted
2013-07-10 11:55:34 +02:00
Steve Workman
881c09835a
Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz
2013-07-08 18:45:26 -07:00
Emanuel Hoogeveen
e32590ca0d
Bug 890714 - Fix mixed line endings. r=joe, r=jesup
2013-07-08 16:33:15 -04:00
Justin Lebar
b1b83ab016
Bug 890135 - Switch B2G's "gc log" dumping to produce all-traces logs by default. r=mccr8
...
This patch also adds "abbreviated gc log", which produces a not-all-traces CC log.
--HG--
extra : rebase_source : 84eed72c34b7cc8116fbe05258f5de22bf3275bc
2013-07-08 13:20:39 -04:00
Trevor Saunders
4fda35a773
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Joey Armstrong
38ca368790
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Ryan VanderMeulen
4e41e3d6e7
Backed out changeset 1c6223f7c74f (bug 876029) for Android armv6 mochitest-1/3 crahes.
2013-07-07 21:18:36 -04:00
Nicolas B. Pierron
912277b213
Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar
2013-07-07 16:02:58 -07:00
Arnaud Sourioux
e9eb4eff0a
Bug 744115 - Disallow dispatching events after threads shut down. r=bsmedberg
2013-07-07 16:23:43 -04:00
Masatoshi Kimura
1a9e38cc24
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-04 00:56:26 +09:00
Kyle Huey
ab927a2cc9
Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff
2013-07-09 07:28:15 -07:00
David Anderson
71e7bc4fc9
Rewrite CPOWs to use one actor per process (bug 853209, r=billm,bholley,smaug).
2013-07-03 00:24:32 -07:00
Trevor Saunders
72f6c66bf4
bug 886526 - remove nsStaticComponents.{h,cpp} r=bsmedberg
2013-06-15 05:50:25 -04:00
Trevor Saunders
6316f31808
bug 886526 - remove XPCOM_TRANSLATE_NSGM_ENTRY_POINT r=bsmedberg
2013-06-15 02:33:35 -04:00
Ryan VanderMeulen
1d99822149
Backed out changeset d155557b651c (bug 888323) for bustage.
...
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
c9b73ddb89
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-03 02:08:01 +09:00
Joey Armstrong
250777fa49
bug 883350: move SDK_HEADERS to mozbuild (file batch #1 ) r=mshal
2013-07-01 17:24:53 -04:00
Justin Lebar
629e024939
No bug - Fix a comment from the Department of Redundancy Department. r=me DONTBUILD
2013-07-01 13:35:17 -07:00
Ryan VanderMeulen
dad317ec03
Merge inbound and m-c.
2013-07-01 08:12:24 -04:00
Ms2ger
6f877caab6
Bug 887012 - Remove some emptyish makefiles; r=gps
2013-07-01 09:02:32 +02:00
Catalin Iacob
8f3a2a0c69
Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn.
2013-06-30 18:26:39 +02:00
Justin Lebar
3e059c7221
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
051c5b560a
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Justin Lebar
f8146ab71e
Bug 887867 - Add AssertCurrentThreadOwns to StaticMutex. r=khuey
2013-06-27 10:14:11 -07:00
David Zbarsky
14195d6497
Remove some null-checks due to infallible new, no bug, r=me
2013-06-26 14:04:13 -07:00
Justin Lebar
04c0d3c0b0
No bug: Fix typo in name of unused parameter. DONTBUILD
...
--HG--
extra : rebase_source : d067ab4920157e8bd388eecc6df5130b0c3b61c4
2013-06-25 18:28:25 -07:00
Michal Novotny
0f41803005
Bug 886791 - Deadlock can occur if nsThreadPool::Dispatch() is called under lock, r=bsmedberg
2013-06-26 01:18:39 +02:00
Andrew McCreight
9492393f92
Bug 883657, part 1 - Run mozJSComponentLoader::UnloadModules() before the shutdown CC. r=bsmedberg
2013-06-25 08:42:39 -07:00