Nathan Froyd
7e4027ab57
Bug 907728 - use function overloading instead of defaulted arguments for nsTSubstring::Assign; r=jlebar
2013-08-20 16:32:54 -04:00
Nathan Froyd
7e84fb44e4
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
9f2201c294
Bug 884281 - use mozilla::Atomic in xpcom/; r=bsmedberg
2013-08-20 11:21:31 -04:00
Nathan Froyd
1d8d55cbc7
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
9b7d0b4cf3
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Wes Kocher
92ceb858c6
Backed out changeset cfecdf10dcba (bug 614238) for b2g debug bustage on a CLOSED TREE
2013-08-20 15:47:28 -07:00
Andrew McCreight
9185144b2e
Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug
2013-08-19 13:49:58 -07:00
Ted Mielczarek
3b54ae4d64
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
1249eec25e
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
33dc057d00
Bug 905920 - Fix build on platforms without SPS profiler r=khuey
2013-08-20 13:48:22 +02:00
Michael Harrison
120cabdde3
Bug 486080 - Remove nsIByteBuffer and nsIUnicharBuffer. r=bsmedberg
2013-08-20 11:03:50 +00:00
David Keeler
bb2aa0ea51
bug 906209 - remove some spurious idl forward-declarations r=jlebar
2013-08-16 14:58:45 -07:00
Jon Coppeard
233babc4c5
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
5ebb8ce9b6
Bug 902081 - Skip xpcshell test_systemInfo.js on android; r=ctalbert
2013-08-18 11:58:34 -06:00
Andrew McCreight
20aa3460cc
Bug 903524 - Rename TestJSHolder to IsJSHolder. r=smaug
2013-08-15 10:29:02 -07:00
Ed Morley
d0b74c1e42
Backed out changeset 35afcb18f192 (bug 662669) for build failures
2013-08-16 14:55:15 +01:00
Sahil Chelaramani
80705c8d6f
Bug 662669 - nsCharSeparatedTokenizer/nsWhiteSpaceSeparatedTokenizer should use RangedPtr. r=Waldo
2013-08-16 09:18:13 -04:00
Justin Lebar
3fbe9126f8
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
42abbb9e41
bug 905418 - get rid of more static constructors in dom/bindings/ r=smaug
2013-08-14 18:04:24 -04:00
Nicholas Nethercote
22ee38819a
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
918eef7c37
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Nathan Froyd
ad70f8a33e
Bug 905149 - make mozilla::CallStack constexpr to avoid static constructors; r=ehsan
2013-08-14 09:43:36 -04:00
Ryan VanderMeulen
a7872e972f
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
08e5de443f
Bug 896177 - Remove more config.mk includes; r=gps
2013-07-17 16:07:14 -04:00
Brian O'Keefe
3dadb0e396
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Gregory Szorc
260d3a8e7c
Bug 850380 - Derecursify and optimize XPIDL processing and move into precompile tier; r=glandium
2013-08-14 08:40:25 -07:00
Ms2ger
3d504dcb66
Merge latest PGO-green inbounc changeset to m-c.
2013-08-14 14:45:47 +02:00
Ms2ger
c2315a28ab
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ms2ger
4579943f93
Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
...
* * *
FOLD
2013-08-14 09:00:13 +02:00
Ehsan Akhgari
dcc5877fbb
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
4a3a71e3f0
Bug 904143: Remove nsISupports inheritance from PromiseResolver. r=smaug
2013-08-13 10:46:18 -07:00
Kyle Huey
8ef412bec4
Bug 901630: Remove support for the cc thread. r=mccr8
2013-08-13 10:45:32 -07:00
Phil Ringnalda
26893fc5ad
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
f639add88a
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Mike Hommey
893956e170
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
fa931e84a6
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
e015a2e7d6
Bug 900714 - Remove legacy -fno-strict-aliasing compiler flag adjustment; r=mshal
2013-08-09 12:40:37 -07:00
Trevor Saunders
b2dc01f1a7
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
9bc2b21b05
Bug 901976 followup - fix Windows build bustage; r=bustage
2013-08-09 11:11:31 -04:00
Nathan Froyd
ef69dc07e8
Bug 901976 - don't null-check |new X| in xpcom/; r=bsmedberg
2013-08-05 11:16:53 -04:00
Nicholas Nethercote
849635b8f1
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Andrew McCreight
6217068fc7
Bug 874679 - Clear JS holders when they are unrooted. r=smaug
2013-08-07 17:22:57 -07:00
Nicholas Nethercote
85a4285e04
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
f0d1977456
bug 900330 - generate the xpidl parser during precompile instead of export r=ted
2013-08-02 23:38:13 -04:00
Trevor Saunders
a58582703c
bug 900330 - part 1 rm xpcom/typelib/xpidl/ r=ted
2013-08-02 23:30:09 -04:00
Trevor Saunders
556b81e32a
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
fe73fcef97
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
6964c7f625
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
03f1e9ee4f
Merge m-c to inbound.
2013-08-05 20:00:43 -04:00
Po-Chun Chang
a65b61e71e
Bug 898691 - Avoid wasted work in TestTextFormatter.cpp. r=jlebar
2013-08-05 19:43:26 -04:00
Bhavana Bajaj
80a67bd18b
Merging in version bump NO BUG
2013-08-05 11:06:54 -07:00
Karl Tomlinson
d86fae77a1
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
6a4d059236
Bug 845545: Part 5 - Port ImageData to workers. r=mccr8,peterv,bent
2013-08-03 16:55:40 -07:00
Kyle Huey
c9d1557bdb
Bug 845545: Part 4 - Create a worker implementation of CycleCollectedJSRuntime. r=mccr8,bent
2013-08-03 16:55:40 -07:00
Kyle Huey
46d249128b
Bug 845545: Part 3 - Give the CycleCollectedJSRuntime more control over
...
SnowWhite. r=smaug
2013-08-03 16:55:39 -07:00
Kyle Huey
147c3dee65
Bug 845545: Part 2 - Refactor context creation callbacks. r=bholley,mccr8
2013-08-03 16:55:39 -07:00
Kyle Huey
b09945aa3b
Bug 845545: Part 1 - Fix heap dumping to work off the main thread. r=mccr8
2013-08-03 16:55:39 -07:00
Ms2ger
21409e5d2c
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
fe9c33f5f4
Bug 897921 - Remove some dead assignments in makefiles; r=mshal
2013-08-02 09:03:55 +02:00
Mike Hommey
ca80cd82ad
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
34ce002a8b
Bug 900050 - remove dead prclist.h #include from nsSegmentedBuffer.h; r=ehsan
2013-07-31 12:12:43 -04:00
Joey Armstrong
4246f49c03
Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3 ); r=mshal
2013-06-11 16:38:22 -04:00
Andrew McCreight
5e1d19701e
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
42adf2eede
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
085494b95d
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
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Mike Hommey
cf5d25c568
Bug 898916 - Properly align statically allocated classinfo objects. r=bsmedberg
2013-07-30 08:57:28 +09:00
Mike Hommey
d90ff16dd2
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
9f3d1e24f0
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
89e6da4064
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
64dbc43c4d
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
70e6b51fcb
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
ae20d0e59b
Merge m-c to inbound.
2013-07-27 13:31:57 -04:00
Olli Pettay
26e794eac5
Bug 897433 - Telemetry for SnowWhite and more async SnowWhite freeing (patch v4), r=mccr8
2013-07-27 13:48:45 +03:00
Christian Holler
e7b0f0fac3
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
e20eef1de9
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
d99657eb53
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
c4a3abe109
Bug 846918: Adds internal httpchannel idl for communication between documents and channels. r=jlebar
2013-07-26 08:37:02 -07:00
Andrew McCreight
57bd584860
Bug 692226 - Record weak map entries in the cycle collector log. r=smaug
2013-07-26 08:12:51 -07:00
Ryan VanderMeulen
d6be8d390f
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
1b688e197e
Backed out changeset 300f5b7d72e1 (bug 897433) for intermittent Linux dromaeo crashes.
2013-07-25 21:18:20 -04:00
Jeff Walden
b023ffcb98
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
d135cf763c
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
2e36744a60
Bug 898016 - delete unused evlen variable in EventFilter::Build; r=mayhemer
...
DONTBUILD because NPOTB
2013-07-25 12:30:07 -04:00
Nathan Froyd
cc5737be0b
Bug 898015 - delete unused gStopFlushingThread variable in VisualEventTracer.cpp; r=mayhemer
2013-07-25 12:27:33 -04:00
Nathan Froyd
1d880c4b7a
Bug 891398 - don't use volatile in VisualEventTracer.cpp; r=mayhemer
...
DONTBUILD because NPOTB
2013-07-09 10:43:42 -04:00
Ms2ger
63b37f4f79
Bug 896414 - Make nsDirectoryService::mHashtable an nsInterfaceHashtable; r=bsmedberg
2013-07-24 09:40:40 +02:00
Ms2ger
d7e09279b4
Bug 896385 - Use nsInterfaceHashtable for nsXBLPrototypeBinding::mInterfaceTable; r=mrbkap
2013-07-24 09:39:56 +02:00
Ms2ger
7d7359c752
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
a95c9e4ba5
Merge m-c to inbound on a CLOSED TREE.
2013-07-23 16:14:26 -04:00
Viral Wang
a3076d238e
Bug 890144 - Add copedCloseFile to reduce memory leak. r=jlebar
2013-07-23 08:30:55 -04:00
Mike Hommey
b8179e1af6
Bug 895083 - Set NS_STDCALL to nothing on WIN64. r=ehsan
2013-07-21 13:59:05 +09:00
Andrew McCreight
e23c1a0a63
Bug 895933 - Record if a CC log is AllTraces or not. r=khuey
2013-07-19 10:00:53 -07:00
Arnaud Sourioux
60ed453c00
Bug 883360 - Remove bool operator and nsMainThreadPtrHolder conversion. r=bsmedberg
2013-07-19 12:53:12 -04:00
Ryan VanderMeulen
e759c0e570
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
59bd9d9649
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
7376acc709
Bug 895578 - Make SnowWhiteKiller to use fallible TArray, r=mccr8
2013-07-19 15:53:16 +03:00
Andrew McCreight
c154e56c45
Bug 888461 - Remove unused field nsCycleCollector::mFollowupCollection. r=smaug
2013-07-14 05:10:30 -07:00
Gregory Szorc
4ca67f021a
No Bug - Removing empty Makefile.in files; r=me
2013-07-18 09:09:28 -07:00
Andrew McCreight
86a55fce6e
Bug 888999 - Remove mObject null checks in the cycle collector. r=smaug
2013-07-18 09:07:28 -07:00