Chris Peterson
f1ba5c2ff6
Bug 905221 - sizeof(nsEventQueue::Page) should be a power of two to avoid heap allocation slop. r=bsmedberg
2013-09-02 19:30:19 -07:00
Nicholas Nethercote
3f0ae06e5a
Bug 912165 - Remove the Linux-only smaps memory reporters. r=mccr8.
...
--HG--
extra : rebase_source : 4847c299f87a1a85944b169a808ee2c573ebf8b5
2013-09-03 21:09:15 -07:00
Robert O'Callahan
8ca63f18ef
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
3914af6be4
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
86b7ae4c3a
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Bobby Holley
65e35b188d
Bug 899367 - Remove check for non-WindowProxy objects on an scx. r=mccr8
2013-09-04 14:06:56 -07:00
Bobby Holley
4f7b2fec7f
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-09-04 14:06:56 -07:00
Bobby Holley
1c4ff6cccf
Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8
2013-09-04 14:06:55 -07:00
Bobby Holley
b9a315924b
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-09-04 14:06:54 -07:00
Bobby Holley
be1dd5ebee
Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8
2013-09-04 14:06:54 -07:00
Bobby Holley
59b924c116
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-09-04 14:06:54 -07:00
Boris Zbarsky
8e1d25505b
Bug 910795 part 1. Add a way to Rebind() an nsString to be a dependent string. r=bsmedberg
2013-09-04 16:43:12 -04:00
Ed Morley
f509dcbf07
Merge mozilla-central and inbound
2013-09-04 16:53:03 +01:00
Ed Morley
18a47a0e8e
Merge latest green inbound changeset and mozilla-central
2013-09-04 12:54:46 +01:00
Phil Ringnalda
c1c484bd50
Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
...
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
fab628e981
Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium
2013-09-03 20:28:05 -07:00
Phil Ringnalda
eb3f8a45e2
Back out cc6f66e761d8 (bug 896797) for Windows build bustage
...
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
295f553e4e
Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium
2013-09-03 20:28:05 -07:00
Felipe Gomes
e380b5477e
Bug 899348 - Dispatch an event when an out-of-process browser crashes and display an error page when that occurs. r=bz
2013-09-03 19:11:22 -03:00
Gregory Szorc
4672bbb630
Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium
2013-09-03 20:28:05 -07:00
Andrew McCreight
3228f67147
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Chris Peterson
fff1c3cb92
Bug 911425 - Fix -Wsign-compare warning in xpcom/glue/FileUtils.cpp. r=glandium
2013-08-07 22:52:41 -07:00
Nicholas Nethercote
d74157039d
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Nicholas Cameron
a937f9cc25
BUg 910160. IWYU for gfx/src. r=roc
2013-09-02 10:21:01 +12:00
Kyle Huey
60f633a49e
Bug 907914: Turn on refcounting threadsafety assertions in opt trunk builds. r=bent
2013-08-30 10:06:37 -07:00
Olli Pettay
83abfe1558
Bug 910797, make Event.isTrusted to work in workers, r=khuey
2013-08-30 12:47:19 +03:00
Justin Lebar
c7f8e10a8a
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
5dc544505a
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Brian O'Keefe
0ee041b9fd
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
cd26b1778b
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
48e65dbbec
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
1a1328929c
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
a7cb958343
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
b6d6b342af
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
252154d12a
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
d168e85a9e
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz
2013-08-27 15:39:02 -07:00
Bobby Holley
2c53365eee
Bug 899367 - Remove check for non-WindowProxy objects on an scx. r=mccr8
2013-08-27 15:21:40 -07:00
Bobby Holley
360beeeaef
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
d592d5f81c
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
afb9cf290d
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
b9441e23f7
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
dbe5cdd3b0
Backed out changeset 365053e73efa for build bustage on this CLOSED TREE.
2013-08-27 09:54:01 -07:00
Andrew McCreight
a93fe393a9
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug
2013-08-20 14:19:33 -07:00
J. Ryan Stinnett
a890015632
Bug 905428 - Use hex addresses when symbolicating Obj-C exceptions. r=dougt, r=bsmedberg
2013-08-14 17:50:43 -05:00
Nicholas Nethercote
4b89de8370
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
0a31758810
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
f2c3d6fdd8
Bug 903290 - Add a memory reporter for the observer service. r=njn
2013-08-26 11:56:23 -07:00
Geoff Brown
5a46efbe2b
Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher
2013-08-25 10:58:31 -06:00
Gabriele Svelto
619cc7ccf1
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
b5df99e7e3
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
b6e8140bfc
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
6952a18b4f
Bug 662669 - nsCharSeparatedTokenizer/nsWhiteSpaceSeparatedTokenizer should use RangedPtr; r=Waldo
2013-08-23 14:07:55 -07:00
Nathan Froyd
dccf049cdc
Bug 884281 - use mozilla::Atomic in xpcom/; r=bsmedberg,jlebar
2013-08-22 11:14:42 -04:00
Ted Mielczarek
b4b181eaf0
Bug 906734 - Put TestHarness.h profile directories under runcppunittest's temp directory. r=Waldo
2013-08-20 11:59:51 -04:00
Ben Turner
65e5c5c60d
Bug 900711, fix bustage on CLOSED TREE
2013-08-22 09:48:43 -07:00
Ben Turner
497aafa628
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
702e288137
Bug 901820 - Part 2. Remove nsCRT::strdup/nsCRT::strndup impl. r=bsmedberg
2013-08-22 19:32:11 +09:00
Makoto Kato
9d06ff2f05
Bug 901820 - Part 1. replace nsCRT::strdup with strdup. r=bsmedberg
2013-08-22 19:31:48 +09:00
Ms2ger
4af9d89266
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
dd3ed79f0d
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
3084ab9eb8
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
f8f8a40a0a
Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal
2013-08-22 08:56:02 +02:00
Ms2ger
19f3e043e3
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
4d0ead0110
Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium
2013-08-22 08:56:01 +02:00
Ms2ger
5c981f7ca9
Bug 906412 - Cleanup some random parts of the build system; r=mshal
2013-08-22 08:55:59 +02:00
Ms2ger
584215995c
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
30c0fa1d8a
Backed out changeset d389df23ffc9 (bug 884281) for OSX crashes.
...
CLOSED TREE
2013-08-21 13:27:00 -04:00
Andrew McCreight
7d570ca8f9
Bug 614238 - Dynamically check that classes QI to their own participant. r=smaug
2013-08-19 13:49:58 -07:00
Nicholas Nethercote
b89a8ac1c0
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
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