Ehsan Akhgari
b4cc06df88
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Ehsan Akhgari
3190f3e1a4
Bug 918923 - Part 1: Fix the include-what-you-use pragmas in the string headers; r=bsmedberg
2013-09-23 13:23:56 -04:00
Viral Wang
36fa41dc55
Bug 906538 - Update user agent to tablet if ro.build.characteristics is "tablet". r=fabrice
2013-09-23 09:03:16 -04:00
Joey Armstrong
fc33df8719
bug 882907: move SDK_LIBRARY to mozbuild. r=mshal
2013-09-20 18:00:48 -04:00
Daniel Holbert
962ba944f2
Bug 918882: Remove no-longer-used 'rv' variable. r=njn
2013-09-20 14:20:27 -07:00
Cykesiopka
b947cdc80e
Bug 914272 - Move IS_COMPONENT to mozbuild. r=joey
2013-09-19 17:29:32 -04:00
Ehsan Akhgari
7ee5f54d35
Bug 918105 - Minimize the #includes in xpcom/ds; r=bsmedberg
2013-09-19 15:31:21 -04:00
Ehsan Akhgari
5ab015ba00
Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg
2013-09-19 14:29:31 -04:00
Ehsan Akhgari
64c0466192
Backed out changeset a8d6973e5743 (bug 917885) because I pushed the wrong patch
2013-09-19 14:27:35 -04:00
Ehsan Akhgari
bd006a7585
Bug 917885 - Minimize the #includes in xpcom/base; r=bsmedberg
2013-09-19 14:12:56 -04:00
Benoit Jacob
eeccdc3ba1
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-19 09:54:42 -04:00
Benoit Jacob
c5ae5da96d
Bug 913847 - split NS_IsMainThread and NS_GetMainThread into a new MainThreadUtils.h header - r=ehsan
2013-09-19 09:54:41 -04:00
Wes Kocher
43477aac08
Backed out changeset 4eb44a3149ed (bug 913847)
2013-09-18 17:19:23 -07:00
Wes Kocher
0ef93db36c
Backed out changeset 040522aacba4 (bug 913847)
2013-09-18 17:18:56 -07:00
Benoit Jacob
6560634fb1
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-18 18:50:32 -04:00
Benoit Jacob
4bba172d1d
Bug 913847 - split NS_IsMainThread and NS_GetMainThread into a new MainThreadUtils.h header - r=ehsan
2013-09-18 18:50:32 -04:00
Mike Hommey
16d06af70c
Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
...
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
Trevor Saunders
946e5b4a08
bug 915566 - rm makefiles in xpcom/ r=glandium
2013-09-12 08:15:51 -04:00
Joshua Cranmer
b511ee58c5
Bug 904985 - Use Char16.h in favor of NS_LL, Part 3: kill NS_LL. r=dbaron
...
--HG--
extra : rebase_source : bc105a8cbb87cc9b6b2db0734d9841fe599e794b
2013-09-17 22:43:21 -05:00
Joshua Cranmer
821f9d62df
Bug 904985, part 2: Use char16_t for NS_LITERAL_STRING, r=glandium, dbaron.
...
--HG--
extra : rebase_source : b4c9def93d907724fb4a1bc3f6279db87a11fb1f
2013-09-17 22:43:12 -05:00
Ryan VanderMeulen
674f67066f
Merge m-c to inbound on a CLOSED TREE.
2013-09-17 16:55:23 -04:00
Gregory Szorc
cdffdcbee4
Merge mozilla-central into build-system
2013-09-17 09:16:10 -07:00
Alex Keybl
9312d29ec1
Merging in version bump NO BUG
2013-09-17 09:38:37 -04:00
Gregory Szorc
b31c10426d
Bug 907902 - Create system isolated virtualenv, remove --system-ply support; r=glandium
2013-09-16 17:21:59 -07:00
Bill McCloskey
405434ea57
Bug 905926 - Move rambo GC to runtime destruction. r=jonco
2013-09-17 09:46:32 -07:00
Bobby Holley
c681efb5f2
Bug 905926 - Invoke JS_DestroyRuntime before we totally tear down the XPCJSRuntime. r=billm
2013-09-17 09:46:31 -07:00
Ehsan Akhgari
f2b19490e5
Bug 917348 - Part 1: Make NS_IMPL_CYCLE_COLLECTING_AGGREGATED build on non-debug configurations; r=bsmedberg
...
--HG--
extra : rebase_source : 4984cf31e6855b721dabb27315b4255179aa586d
2013-09-17 12:05:13 -04:00
Aryeh Gregor
29f6c717cd
Bug 916568 - Remove xpcom/base/nsErrorAsserts.cpp; r=ehsan
2013-09-17 14:05:12 +03:00
Ed Morley
cdd4002812
Merge mozilla-central and inbound
2013-09-17 15:30:21 +01:00
Robert Longson
5fcefee60d
Bug 785140 - Correct SVG whitespace handling in various spots. r=smaug,dholbert
2013-09-17 13:52:39 +01:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
d6da7b763f
Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
...
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Brian O'Keefe
535c7c2ade
Bug 865673 - Convert objs.mk to objs.mozbuild. r=gps
2013-08-30 09:09:06 -04:00
Brian O'Keefe
4c98f61956
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
David Rajchenbach-Teller
87f3ec791b
Bug 927407 - Optimizing NS_{Input, Output}StreamIsBuffered to avoid unnecessary main thread I/O in trivial cases
2013-10-16 07:42:00 +01:00
Ryan VanderMeulen
350982d4bc
Merge inbound to m-c.
2013-09-12 20:37:35 -04:00
Gijs Kruitbosch
d6a38907f0
Backing out 2a19516ee700 (bug 912908) for causing bug 915536, rs=ttaubert over IRC
2013-09-12 17:42:07 +02:00
Ryan VanderMeulen
1f1fb8a044
Merge m-c to inbound.
2013-09-11 22:20:33 -04:00
Ryan VanderMeulen
30168b484b
Merge fx-team to m-c.
2013-09-11 21:48:20 -04:00
William Chen
1f66b1e145
Bug 903285 - Add referent count reporting to pref service memory reporter. r=njn
2013-09-11 11:20:22 -07:00
Tim Taubert
e25193c0d2
Bug 911146 - Add nsIAppStartup attribute to tell whether the app was restarted; r=bsmedberg
2013-09-11 03:40:45 +02:00
Andrew McCreight
d03696b83c
Bug 913666, part 5 - Rename aListener to aManualListener. r=smaug
...
The name "aListener" is not very descriptive, and with the previous patch, it is only
used to pass in a manually-specified listener that was passed in to CycleCollectNow,
so rename things.
2013-09-10 16:33:41 -07:00
Andrew McCreight
567cf603ca
Bug 913666, part 4 - Sink free floating code from nsCycleCollector::Collect into BeginCollection. r=smaug
...
The hg diff for this commit is terrible, but all it is doing is taking the code
in nsCycleCollector::Collect from after PrepareForCollection through BeginCollection
and moving it into BeginCollection.
2013-09-10 16:33:41 -07:00
Andrew McCreight
a1c11fcfd7
Bug 913666, part 3 - Sink cycle collector listener selection into Collect. r=smaug
...
Move the two places we check global flags to decide if we want to use a listener, even if we
aren't passed in one. A later patch renames aListener to aForcedListener to make it less
confusing.
2013-09-10 16:33:40 -07:00
Andrew McCreight
ee064e630a
Bug 913666, part 2 - Log cycle collector garbage at the same time we log roots. r=smaug
...
There's no reason to wait until CollectWhite to record what is garbage, and with incremental CC
we'll get more accurate logging by logging right away, rather than waiting until later when an
object may have gone away for some other reason.
2013-09-10 16:33:40 -07:00
Andrew McCreight
7fc4e6d8a5
Bug 913666, part 1 - Move cycle collector root logging into ScanRoots. r=smaug
2013-09-10 16:33:39 -07:00
Andrew McCreight
24e684dfff
Bug 913881, part 6 - Measure weak map representations in the cycle collector graph. r=njn
...
Contrary to the comment here, I'm pretty sure this needs to be measured. mWeakMaps
is an array of little structs. Of course, in practice I doubt this amounts to anything.
2013-09-10 08:56:36 -07:00
Andrew McCreight
f607cd627a
Bug 913881, part 5 - Assert for freeing snow white during cycle collector scanning. r=smaug
...
If you call FreeSnowWhite when scanning is true, then objects that get released won't be added to the purple buffer, and you can get leaks.
2013-09-10 08:56:36 -07:00
Andrew McCreight
eb839e4fd0
Bug 913881, part 4 - Change nsCycleCollector::ClearGraph to GCGraph::Clear. r=smaug
...
There's no reason I can see to have this in nsCC instead of GCGraph.
2013-09-10 08:56:36 -07:00
Andrew McCreight
02cd488ac2
Bug 913881, part 3 - Fix argument name for GCGraphBuilder::AddNode. r=smaug
2013-09-10 08:56:35 -07:00
Andrew McCreight
c5a9714e4a
Bug 913881, part 2 - Make a bunch of nsCycleCollector methods private. r=smaug
2013-09-10 08:56:35 -07:00
Andrew McCreight
ed8e6ab266
Bug 913881, part 1 - Remove unused method nsCycleCollector::Runtime. r=smaug
2013-09-10 08:56:35 -07:00
Andrew McCreight
5d1a629d03
Bug 913527, part 3 - Check for collection in progress in Collect. r=smaug
...
Moving this to the top level simplifies dealing with PrepareForCollection a bit.
2013-09-10 08:56:34 -07:00
Andrew McCreight
05c62f720a
Bug 913527, part 2 - Remove empty CC graph optimization. r=smaug
...
This looks like a dubious optimization to skip most of a CC when the graph
is empty, dating from the dawn of the CC, but I doubt it is ever triggered
nowadays.
2013-09-10 08:56:34 -07:00
Andrew McCreight
56c493f4ee
Bug 913527, part 1 - Get rid of FinishCollection. r=smaug
...
This can just be inlined now, with the cleanup parts moved into CleanupAfterCollection.
2013-09-10 08:56:34 -07:00
Andrew McCreight
bda98e0037
Bug 911829 - Separate main thread and worker cycle collector telemetry. r=smaug
2013-09-10 08:29:45 -07:00
Andrew McCreight
2c81958722
Bug 909436 - Inline CycleCollectedJSRuntime::OnContext. r=bholley
2013-09-10 08:29:44 -07:00
Andrew McCreight
244c96a5bf
Bug 912747 - Change nsCycleCollectionHoldDrop.h to mozilla/HoldDropJSObjects.h. r=khuey
...
--HG--
rename : xpcom/glue/nsCycleCollectionHoldDrop.h => xpcom/glue/HoldDropJSObjects.h
2013-09-10 08:29:43 -07:00
Ed Morley
5eb2bdb5c4
Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Chris Kitching
b1a7881e9c
Bug 794981 - Part 4: Consistently pass nsAString into the JNI methods, instead of the veritable smorgasbord of string types previously used. r=kats
2013-09-09 08:57:36 -04:00
Kaizhen Li
63fd9c1e88
Bug 912908 - Build xpcom/sample as shared library. r=joey
2013-09-11 09:46:06 +08:00
Dan Gohman
8b7074b6dc
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Nicholas Nethercote
52b5d8f76c
Bug 911641 (part 2) - Prefix some reporters with "redundant/", and make about:memory ignore them. r=johns.
...
--HG--
extra : rebase_source : 9ed48217ecb8af66256ddbdb70ad9f6b5d049582
2013-09-03 20:06:36 -07:00
Nicholas Nethercote
494f00f266
Bug 911641 (part 1) - Remove about:compartments, and show the compartment and ghost window lists into about:memory. r=johns.
...
--HG--
extra : rebase_source : c1ef005e272048e2eb84b20bafff15bcb5aae511
2013-09-03 20:05:17 -07:00
Nicholas Nethercote
9d1d4e73b0
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Nicholas Nethercote
85d3324d5e
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 : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Kyle Huey
27e346e22d
Bug 911258: Part 5 - Use the unified exception handling mechanism on workers. r=bz
2013-09-08 20:29:21 -07:00
Kyle Huey
d423a6350e
Bug 911258: Part 4 - Refactor exception implementations. r=bz
2013-09-08 20:28:50 -07:00
Kyle Huey
458f55392d
Bug 911258: Part 2 - Kill the exception service. r=bsmedberg
2013-09-08 20:28:49 -07:00
Mats Palmgren
bf7df8d447
Bug 911283 - Introduce nsTArray::SetLengthAndRetainStorage which unlike SetLength does not deallocate/reallocate the internal storage. Use it in NS_FillArray. r=bsmedberg
2013-09-08 02:05:02 +00:00
Valentin Gosu
14afabb9f3
Bug 622728 - Add NS_NewRunnableMethodWithArg. r=bsmedberg
2013-09-06 21:29:24 -04:00
Andrew McCreight
1f03eb2bfa
Bug 913130, part 4 - Replace body of ShutdownCollect loop with Collect. r=smaug
2013-09-06 16:17:53 -07:00
Andrew McCreight
76de7e39ff
Bug 913130, part 3 - Run {PrepareFor,CleanupAfter} every iteration of ShutdownCollect. r=smaug
2013-09-06 16:17:03 -07:00
Andrew McCreight
fe8bff9077
Bug 913130, part 2 - Give Collect and ShutdownCollect more consistent ordering. r=smaug
2013-09-06 16:16:45 -07:00
Andrew McCreight
874be315cd
Bug 913130, part 1 - Modify nsCycleCollector::Collect to allow it to be used at shutdown. r=smaug
2013-09-06 16:15:10 -07:00
Andrew McCreight
73e59c7849
Bug 913080 - Make GCGraphBuilder's hash table initialization infallible. r=smaug
2013-09-06 13:42:27 -07:00
Andrew McCreight
3bc68fecea
Bug 911233, part 3 - Add more CheckThreadSafety calls to the cycle collector. r=khuey
2013-09-06 13:41:42 -07:00
Andrew McCreight
57b03de1f0
Bug 911233, part 2 - Inline SelectPurple. r=smaug
2013-09-06 13:41:11 -07:00
Andrew McCreight
3b16db1fc8
Bug 911233, part 1 - Minor cycle collector cleanups. r=smaug
2013-09-06 13:40:34 -07:00
Jim Blandy
d5b6b24fc6
Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer
2013-09-06 08:06:23 -07:00
Jim Blandy
6581e4276a
Bug 892114: Whitespace and spelling fixes encountered while working on Unix domain socket support. r=mayhemer
2013-09-06 08:06:23 -07:00
Jim Blandy
28ebe45d1b
Bug 899757: Make nsServerSocket::InitWithAddress provide more detailed error results. r=mayhemer, r=ted
...
I looked through the NSPR socket creation functions that InitWithAddress
uses to see which errors they could return, and placed appropriate comments
in ErrorAccordingToNSPR.
The test coverage is not great; in particular, I wasn't able to find a way
to elicit "address in use" errors from Windows (although I could from
Linux); the web says that Windows is much more relaxed about binding
listening sockets than Unix derivatives. I'm interested in suggestions.
2013-09-06 08:06:22 -07:00
Jim Blandy
742666beae
Bug 899757: Distinguish PR_ADDRESS_NOT_SUPPORTED_ERROR from other network failures. r=mayhemer
...
I broke out this this change on its own, because it seemed to require some care:
PR_ADDRESS_NOT_SUPPORTED_ERROR used to be lumped in with several other NSPR
error codes and reported as NS_ERROR_CONNECTION_REFUSED; and a dumb grep shows
that the NS_ERROR_ is widely checked for. Introducing the distinction might
require the new NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED value to be checked for
everywhere that currently checks for NS_ERROR_CONNECTION_REFUSED.
But that seems unlikely to be necessary: first of all, it shouldn't really
be possible, via the XPCOM interface, to force this error path to occur at
present: the components' implementations are in complete control over which
socket address types get used. I also did a Try push with a call to
NS_ABORT if a PR_ADDRESS_NOT_SUPPORTED_ERROR ever flows through
ErrorAccordingToNSPR; there were no crashes.
But if that's so, then why introduce the new error code at all? A later
patch adds support for Unix-domain sockets, a type of socket address which
is *not* supported on non-Unix systems. In that case, a distinct error code
will help people diagnose problems quickly.
2013-09-06 08:06:22 -07:00
Ms2ger
4abf38566a
Merge m-c to inbound.
2013-09-06 12:31:58 +02:00
Ms2ger
84672db888
Bug 909953 - Introduce a HTMLAllCollection class; r=smaug
2013-09-06 08:41:42 +02:00
Chris Peterson
30c11b883c
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
4bbef5fc23
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
33cdb42706
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
ad36ee41a9
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
43ad5b4dcf
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
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Bobby Holley
d5a3220b2a
Bug 899367 - Remove check for non-WindowProxy objects on an scx. r=mccr8
2013-09-04 14:06:56 -07:00
Bobby Holley
6d001e824e
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
7932b397fb
Bug 899367 - Have nsGlobalWindow go through nsJSContext to access the outer. r=mccr8
2013-09-04 14:06:55 -07:00
Bobby Holley
9ed5f11e8d
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
8abcb2d562
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
5cfc3855a5
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
3ed8ed52d8
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
17f2f82cdb
Merge mozilla-central and inbound
2013-09-04 16:53:03 +01:00
Ed Morley
2a2f5c9d13
Merge latest green inbound changeset and mozilla-central
2013-09-04 12:54:46 +01:00
Phil Ringnalda
271703650a
Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
...
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
f10d205e39
Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium
2013-09-03 20:28:05 -07:00
Phil Ringnalda
88db37da09
Back out cc6f66e761d8 (bug 896797) for Windows build bustage
...
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
bceea37cd9
Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium
2013-09-03 20:28:05 -07:00
Felipe Gomes
5de1caaed5
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
7693c5688d
Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium
2013-09-03 20:28:05 -07:00
Andrew McCreight
4723c7c5e3
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Chris Peterson
f33b5875f6
Bug 911425 - Fix -Wsign-compare warning in xpcom/glue/FileUtils.cpp. r=glandium
2013-08-07 22:52:41 -07:00
Nicholas Nethercote
191ed08f6a
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
e4770365e0
BUg 910160. IWYU for gfx/src. r=roc
2013-09-02 10:21:01 +12:00
Kyle Huey
abd285f77e
Bug 907914: Turn on refcounting threadsafety assertions in opt trunk builds. r=bent
2013-08-30 10:06:37 -07:00
Olli Pettay
414342daf2
Bug 910797, make Event.isTrusted to work in workers, r=khuey
2013-08-30 12:47:19 +03:00
Justin Lebar
2e2403726d
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
805876c713
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Brian O'Keefe
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
dc8cde3442
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
f211cf11ab
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
d9ca4d212c
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
33a048d633
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
3f5d413d90
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
2f3de4dea0
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
69fc8f5296
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz
2013-08-27 15:39:02 -07:00
Bobby Holley
af76f8df60
Bug 899367 - Remove check for non-WindowProxy objects on an scx. r=mccr8
2013-08-27 15:21:40 -07:00
Bobby Holley
05b0b5e0f2
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
c93dc7b4a1
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
add3235319
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
b7966edcf1
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
ccacde7823
Backed out changeset 365053e73efa for build bustage on this CLOSED TREE.
2013-08-27 09:54:01 -07:00
Andrew McCreight
f74cd40dfd
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug
2013-08-20 14:19:33 -07:00
J. Ryan Stinnett
b9cebed4b4
Bug 905428 - Use hex addresses when symbolicating Obj-C exceptions. r=dougt, r=bsmedberg
2013-08-14 17:50:43 -05:00
Nicholas Nethercote
8036ad5d1b
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
000abe3ff7
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
6ce6299431
Bug 903290 - Add a memory reporter for the observer service. r=njn
2013-08-26 11:56:23 -07:00
Geoff Brown
220e4a5f85
Bug 865006 - (4) Add more xpcshell tests for android; r=jmaher
2013-08-25 10:58:31 -06:00
Gabriele Svelto
c8251ce6f3
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
944d17423c
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d
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
8728295355
Bug 662669 - nsCharSeparatedTokenizer/nsWhiteSpaceSeparatedTokenizer should use RangedPtr; r=Waldo
2013-08-23 14:07:55 -07:00
Nathan Froyd
3be905a68a
Bug 884281 - use mozilla::Atomic in xpcom/; r=bsmedberg,jlebar
2013-08-22 11:14:42 -04:00
Ted Mielczarek
55aac01bc2
Bug 906734 - Put TestHarness.h profile directories under runcppunittest's temp directory. r=Waldo
2013-08-20 11:59:51 -04:00
Ben Turner
daf48f83c0
Bug 900711, fix bustage on CLOSED TREE
2013-08-22 09:48:43 -07:00
Ben Turner
7babe734dc
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
9645c57fa1
Bug 901820 - Part 2. Remove nsCRT::strdup/nsCRT::strndup impl. r=bsmedberg
2013-08-22 19:32:11 +09:00
Makoto Kato
63341bc0ca
Bug 901820 - Part 1. replace nsCRT::strdup with strdup. r=bsmedberg
2013-08-22 19:31:48 +09:00
Ms2ger
8bfa279bb1
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
87ae95251c
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
98ef73b248
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
d62e2c8439
Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal
2013-08-22 08:56:02 +02:00
Ms2ger
4922ccbc0a
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
c3e345584c
Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium
2013-08-22 08:56:01 +02:00
Ms2ger
8ccdba4aa0
Bug 906412 - Cleanup some random parts of the build system; r=mshal
2013-08-22 08:55:59 +02:00