Igor Bukanov
d3018bc6d8
Bug 737364 - part 2 - replace JSContext with JSRuntime in the GC-related API
...
This part replaces the JSContext *cx argument in most GC-related API
with JSRuntime *rt. When possible, the patch removes the code to obtain
a temporary cx just to run the GC.
The patch also removes JS_DestroyContextMaybeGC. That function is not
used in FF code base and its implementation is broken. It requires that
the context has an entered compartment when it is destroyed, which in
turns implies a missing leave compartment call.
2012-03-28 12:13:30 +02:00
Bill McCloskey
210b823250
Bug 742570 - Remove the compartment option for gczeal (r=igor)
2012-04-03 11:41:56 -07:00
Igor Bukanov
f0bddf0e88
bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
...
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Bobby Holley
d3868262e8
Bug 720580 - Stop passing aExtraPtr to InitClassesWithNewWrapedGlobal. r=mrbkap
...
We only ever pass null here anyway, and this whole infrastructure is going away real soon now.
2012-03-05 15:22:44 -08:00
Bobby Holley
1a5208e617
Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap
2012-03-05 15:22:44 -08:00
Igor Bukanov
212769b040
bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm
2012-02-29 21:23:38 +01:00
Matt Brubeck
b2985cd260
Back out 2778f515ed5a (bug 723286) on suspicion of causing OSX64 crashes
2012-02-29 16:18:22 -08:00
Igor Bukanov
2e914758d0
bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm
2012-02-29 21:23:38 +01:00
David Mandelin
60e80d55b6
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Igor Bukanov
cbdb18c744
bug 722348 - eliminate JSRuntime::requestCount. r=luke
2012-01-30 11:15:13 +01:00
John Schoenick
34b5116fdd
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Ms2ger
b6f42e130c
Backed out changeset ba447ace2594 (bug 687679) for bustage.
2011-12-16 21:17:16 +01:00
John Schoenick
d2b02fa02e
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Jeff Walden
476c7d19c5
Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin
2011-12-08 22:54:10 -05:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Brian Hackett
e89780c40d
Remove jsobj.h from installed headers, bug 690943. r=luke
2011-10-04 07:06:54 -07:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Daniel Holbert
6a214353ba
Bug 669412 followup to followup: move now-unused-in-default-build-config variable inside #ifdef, to fix new unused variable build warning. rs=bent
2011-09-27 13:58:14 -07:00
Daniel Holbert
50c6862dae
Bug 669412 followup: remove variables preBytes & postBytes that are now unused after earlier patch on this bug. r=bent
2011-09-27 13:22:49 -07:00
Igor Bukanov
9dc4e22f8a
bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff
2011-09-02 08:46:00 +02:00
Igor Bukanov
c89518270e
bug 683862 - Using JSGCTraceKind in the public API. r=luke
2011-09-01 20:43:46 +02:00
Steve Fink
93cd3119ac
Bug 673631 - Clean up probes and register (almost) all profiler control entry points in JS_DefineProfilingFunctions (r=luke,waldo,jst)
...
Previously, JS_DefineProfilingFunctions only defined a very basic set of
functions (startProfiling and stopProfiling), and various scattered places
added more specific ones (start/stop vtune, dumpProfile, etc.) This patch makes
jsdbgapi do all of it, so that all users get the same set.
Also rename JS_DumpProfile -> JS_DumpBytecode to avoid name conflict. The
bytecode dumps are how the counters ("profiles") are displayed, so the
DumpProfile name was bogus anyway.
--HG--
extra : rebase_source : 2d3e626ef43ac41c6da401a779775a63fc96a427
2011-07-26 15:56:09 -07:00
Daniel Holbert
f46d24edb5
Bug 669412: Remove spammy 'before 438272, after 438272, break 057ff000' printf that clutters up fennec test logs. rs=bent
2011-07-28 14:00:05 -07:00
Chris Leary
f8e0e912ab
Merge mozilla-central to tracemonkey.
2011-06-06 09:41:22 -07:00
Josh Matthews
9922293ca0
Bug 645532 - Make content process xpcshell print newlines. r=mrbkap
2011-06-02 13:11:54 +02:00
Bill McCloskey
b902b98248
Bug 650978 - Add gczeal setting to GC on every allocation (r=gwagner)
2011-06-01 17:48:52 -07:00
Luke Wagner
05d2002b66
Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack*
2011-04-13 09:27:37 -07:00
Wes Garland
ed8e6d5fcf
Bug 650526 - Follow up to Bug 648102, changes to JS_BufferIsCompilableUnit. r=gal
2011-04-16 15:13:10 -04:00
Chris Leary
78ceed9ab7
Merge mozilla-central to tracemonkey.
2011-03-29 09:05:25 -07:00
Josh Matthews
a75f05eb43
Bug 586362 - Add gczeal to content process xpcshell. r=bent
2010-08-11 13:45:00 -04:00
Chris Leary
6805a382ac
Merge tracemonkey to mozilla-central. (a=blockers)
2011-01-18 11:19:21 -08:00
Andreas Gal
6278051362
Make Shark work with 64-bit MacOSX builds and rename to start/stopProfiling() (bug 625962, r=sayrer).
2011-01-14 17:58:40 -08:00
Chris Jones
efc286ce3f
Bug 616841, part 4: "Localize" the IPC testshell JSContext. r=bent a=b
2011-01-14 16:03:21 -06:00
Luke Wagner
2fc61cf52e
Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh)
2010-12-03 00:24:17 -08:00
Igor Bukanov
52ea348c4c
bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal
2010-11-11 21:40:29 +01:00
David Anderson
7487c14d37
Backed out changeset 8e119f847f97 (build busted)
2010-11-11 11:19:42 -08:00
Igor Bukanov
e32ba97023
bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal
2010-11-02 15:36:25 +01:00
Igor Bukanov
92b67c9caf
bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal
2010-10-28 17:15:53 +02:00
Blake Kaplan
0947251bf8
Bug 606585 - Make the compartment map use principals properly. r=peterv/bz, a=beta7+
2010-10-26 23:57:31 -07:00
Gregor Wagner
2bc52a61a6
compilation fix
2010-09-30 00:47:44 -07:00
Andreas Gal
ed798dc813
Set right compartment in ipc test shell (600022, r=jst).
2010-09-30 00:14:37 -07:00
Luke Wagner
5e9978f911
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
Josh Matthews
82e0af39d5
Bug 564351 - e10s: fix XMLHttpRequests in xpcshell. r=bent
2010-07-31 12:07:13 -04:00
Blake Kaplan
de74d9d8f4
Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst
2010-07-19 13:36:49 -07:00
Luke Wagner
99411cc93d
Bug 549143 - fatvals
2010-07-14 23:19:36 -07:00
Chris Jones
733adfeaaf
Fix some merge bustage.
2010-03-08 14:16:41 -06:00
Benjamin Smedberg
a6bdf5bc53
Electrolysis bustage, fix up testshell from bug 543696, Remove unused nsIScriptSecurityManager::CheckConnect
2010-02-03 13:45:54 -05:00
Ben Turner
fe26eff4e3
More bustage fix
2009-10-05 18:43:46 -07:00
Ben Turner
dccb0805dd
Rename remaining protocols
...
--HG--
rename : dom/ipc/ContentProcess.ipdl => dom/ipc/PContentProcess.ipdl
rename : dom/ipc/IFrameEmbedding.ipdl => dom/ipc/PIFrameEmbedding.ipdl
rename : ipc/test-harness/Test.ipdl => ipc/test-harness/PTest.ipdl
rename : ipc/testshell/TestShell.ipdl => ipc/testshell/PTestShell.ipdl
rename : ipc/testshell/TestShellCommand.ipdl => ipc/testshell/PTestShellCommand.ipdl
2009-09-09 15:00:14 -07:00
Ben Turner
99f1c34f15
Rework ipcshell to become xpcshell
2009-08-28 16:16:19 -07:00