Jonas Sicking
63e0465fc6
Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir
2012-07-21 00:29:40 -07:00
Jonas Sicking
9282cc3fe0
Bug 774585 - Add GetDocShellCodebasePrincipal to nsIScriptSecurityManager. r=mounir
2012-07-20 00:06:24 -07:00
Mounir Lamouri
fdd58dc358
Bug 758258 - part 5 - Add GetAppCodebasePrincipal and GetNoAppCodebasePrincipal to nsIScriptSecurityManager. r=mrbkap sr=sicking
2012-07-19 20:28:08 -07:00
Mounir Lamouri
2119d3942a
Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking
2012-07-18 21:25:19 -07:00
Steve Fink
baaee11593
Backed out changeset afc1cf222996
2012-07-19 15:22:32 -07:00
Mounir Lamouri
17a4afcc57
Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking
2012-07-18 21:25:19 -07:00
Mounir Lamouri
f8ea60c390
Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar
2012-07-18 15:27:02 -07:00
Mounir Lamouri
3973bb035e
Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking
2012-07-19 10:49:17 -07:00
Ed Morley
ef538d7e2b
Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange
2012-07-19 08:29:48 +01:00
Mounir Lamouri
0ec84b3d0f
Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking
2012-07-18 21:25:19 -07:00
Mounir Lamouri
889b49f2a0
Bug 327244 (2/2) - Remove nsIScriptSecurityManager::CheckLoadURI(). r=sicking,jlebar
2012-07-18 15:27:02 -07:00
Mounir Lamouri
c6b2969ceb
Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking
2012-07-18 13:35:15 -07:00
Bobby Holley
3890e89e91
Bug 754202 - Remove context pushing/popping API. r=mrbkap Each one of these uses grabs the principal off of an object for pushing, but also enters the compartment of that object. So we shouldn't need this anymore.
...
Can I get a 'hell yeah'?
2012-06-28 23:47:55 +02:00
Geoff Lankow
7a64448b03
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Johnny Stenback
775bd54e22
First part of bug 749392. Stop exposing 'clear' in our shells in preparation of removing the underlying JS_ClearScope() API. r=jwalden
2012-05-03 15:52:45 -07:00
Bobby Holley
90f81beea0
Bug 750859 - Remove {Disable,Revert}Capability. r=bz, PGO helper on CLOSED TREE
2012-05-02 23:57:43 +02:00
Bobby Holley
745beebaa4
Bug 750859 - Remove (most of) SetCanEnableCapability. r=bz
2012-05-02 23:57:34 +02:00
David Anderson
dc94dc513f
Remove simple JS_FrameIterator use from content, DOM, and caps (bug 744617, r=mrbkap).
2012-04-16 12:30:00 -07:00
Igor Bukanov
401a036771
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
38062ea556
Bug 742570 - Remove the compartment option for gczeal (r=igor)
2012-04-03 11:41:56 -07:00
Igor Bukanov
4797d46af3
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
9462576942
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
3ce325ec9b
Bug 720580 - Remove unnecessary aIID parameter from nsIXPConnect::InitClassesWithNewWrappedGlobal. r=mrbkap
2012-03-05 15:22:44 -08:00
Igor Bukanov
c0611e12fb
bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm
2012-02-29 21:23:38 +01:00
Matt Brubeck
d34102c071
Back out 2778f515ed5a (bug 723286) on suspicion of causing OSX64 crashes
2012-02-29 16:18:22 -08:00
Igor Bukanov
7607cdb290
bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm
2012-02-29 21:23:38 +01:00
David Mandelin
f0690b22d1
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00
Igor Bukanov
1b90308e6d
bug 722348 - eliminate JSRuntime::requestCount. r=luke
2012-01-30 11:15:13 +01:00
John Schoenick
a1cdb05405
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Ms2ger
ec54627bab
Backed out changeset ba447ace2594 (bug 687679) for bustage.
2011-12-16 21:17:16 +01:00
John Schoenick
02925f4636
Bug 687679 - Rename JS_CompileFile to JS_CompileUTF8File, fix users. r=jorendorff,jst
2011-12-16 11:08:59 -08:00
Jeff Walden
12e010ddeb
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
478ad1a412
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
0ec9245d43
Remove jsobj.h from installed headers, bug 690943. r=luke
2011-10-04 07:06:54 -07:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Daniel Holbert
bc084f524a
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
64e66f1ec1
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
a663d9fa7f
bug 678830 - Use JSScript, not script objects, in compile/evaluate API. r=jorendorff
2011-09-02 08:46:00 +02:00
Igor Bukanov
8967d42c52
bug 683862 - Using JSGCTraceKind in the public API. r=luke
2011-09-01 20:43:46 +02:00
Steve Fink
657c83e57a
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.
2011-07-26 15:56:09 -07:00
Daniel Holbert
bf7a34bc23
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
fcfe24bd53
Merge mozilla-central to tracemonkey.
2011-06-06 09:41:22 -07:00
Josh Matthews
28be0eb36f
Bug 645532 - Make content process xpcshell print newlines. r=mrbkap
2011-06-02 13:11:54 +02:00
Bill McCloskey
b5ae159ad1
Bug 650978 - Add gczeal setting to GC on every allocation (r=gwagner)
2011-06-01 17:48:52 -07:00
Luke Wagner
2ce61d2047
Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack*
2011-04-13 09:27:37 -07:00
Wes Garland
3b261ede02
Bug 650526 - Follow up to Bug 648102, changes to JS_BufferIsCompilableUnit. r=gal
2011-04-16 15:13:10 -04:00
Chris Leary
2390946de1
Merge mozilla-central to tracemonkey.
2011-03-29 09:05:25 -07:00
Josh Matthews
1d07343d2a
Bug 586362 - Add gczeal to content process xpcshell. r=bent
2010-08-11 13:45:00 -04:00
Chris Leary
301ea266fa
Merge tracemonkey to mozilla-central. (a=blockers)
2011-01-18 11:19:21 -08:00