Andrew Paprocki
a8d6820bef
Bug 736792 - Add JSOPTION_STRICT_MODE for embedders to force ES5 strict mode for all code without requiring "use strict" annotations. r=njn
2012-05-05 15:26:16 -04: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
216b1b1c3e
Remove simple JS_FrameIterator uses in xpconnect (bug 744617, r=bholley).
2012-04-16 12:25:28 -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
David Anderson
eb3f356a23
Remove JS_GetScriptedCaller (bug 732652, r=luke,mrbkap,bholley,smaug,bent).
2012-03-06 15:33:12 -08: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
Kyle Huey
b905d1b182
Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan
2012-02-22 15:05:28 -08:00
Phil Ringnalda
695ef380d2
Back out b27980f1de54 and 39ea8d8f9768 (bug 728429) for potential Windows PGO build bustage on a CLOSED TREE
2012-02-21 20:01:01 -08:00
Kyle Huey
99fecfee2b
Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan
2012-02-21 16:09:39 -08:00
Igor Bukanov
6fefb1df81
bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
2012-02-05 21:07:23 +01:00
Igor Bukanov
ae7ab9b03a
backout merge for bug 724310. r=irc
2012-02-09 21:28:22 +01:00
Igor Bukanov
12633fbfdd
bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
2012-02-05 21:07:23 +01:00
Igor Bukanov
889c9d4073
bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke
2012-02-04 01:54:57 +01:00
Igor Bukanov
1b90308e6d
bug 722348 - eliminate JSRuntime::requestCount. r=luke
2012-01-30 11:15:13 +01:00
Ms2ger
cc1b920929
Bug 677079 - Part b: Use existing JSAPI functions where those are available; r=bholley
2012-01-15 09:13:07 +01:00
Ms2ger
d8a8e3ccf9
Bug 714057 - Remove uintn users from XPConnect; r=bholley+khuey
2012-01-02 19:05:19 +01:00
Ms2ger
6c35a44d1b
Bug 713340 - Fix jsShell_ErrorFormatString array lengths; r=luke
2011-12-28 09:13:37 +01:00
Jeff Walden
937f1b2b48
Bug 711672 - Break mfbt's dependency on jstypes.h by moving various API macros out of JS and into mfbt. r=luke, r=cjones
2011-12-13 14:26:58 -05: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
Ryan VanderMeulen
340b13b1c1
Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander
2011-11-28 14:57:31 -08:00
Ms2ger
294f8e171a
Bug 701467 - Remove JS_TRUE/JS_FALSE from xpconnect; r=bholley
2011-11-26 11:05:59 +01:00
Steve Fink
4049f0f761
Bug 692722 - implement xpcshell -d for running in debug mode (r=mrbkap)
2011-10-06 23:34:21 -07:00
Nicholas Nethercote
f4a4641875
Bug 700992 - Fix GCC compile warnings in XPConnect. r=bholley,gal.
2011-11-20 20:10:58 -08:00
Justin Lebar
f3070c142a
Bug 586010 - Send dump() output to Android device log. r=bz
2011-11-09 19:27:08 -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
Jeff Walden
cb28ecfc4b
Bug 693469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones
2011-10-10 23:00:28 -07:00
Bobby Holley
6d4a5a196d
Bug 688012 - Hoist 'else' clauses to the line of the previous close-curly-brace. r=mrbkap
...
xpcfix -epc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`
This is a conservative pass, which doesn't catch absolutely all cases. But it should be good enough.
2011-10-14 10:52:48 -07:00
Bobby Holley
012453f04e
Bug 688012 - Add space between keyword and paren for: if, for, while, and switch. r=mrbkap
...
xpcfix -spuc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`
git diff -w is empty here as well.
2011-10-14 10:52:48 -07:00
Bobby Holley
374c22c159
Bug 688012 - Fix alignment of arguments and tests relative to parens. r=mrbkap
...
xpcfix -puc `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`
Some of these changes aren't quite ideal, but it's the best my tooling can do and I think it's very much a step in the right direction. This is necessary to do first, because doing if(foo) -> if (foo) changes the location of parentheses, which affects how other things should be aligned. So this has to be built into the tooling, and we might as well take care of the pre-existing issues first.
2011-10-14 10:52:48 -07:00
Bobby Holley
15bfa97022
Bug 688012 - Remove trailing whitespace within XPConnect. r=mrbkap
...
xpcfix -w `find | grep -P "cpp$|h$" | perl -pe 's/\n/ /'`
git diff -w verifies that this patch contains no non-whitespace changes.
2011-10-14 10:52:47 -07:00
Bobby Holley
ec90124839
Bug 691411 - Move js/src/xpconnect to js/xpconnect and rename source files while we're at it. r=khuey, sr=mrbkap
2011-10-14 10:52:47 -07:00