Chuck Lee
2b502773cf
Bug 835719 - 0003. Rename JSAutoByteString.encode() to encodeLatin1(). r=terrence
2013-02-21 17:48:17 +08:00
Jonathan Kew
9fd7591a1c
backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn
2013-02-22 09:36:41 +00:00
Bill McCloskey
c6b4bbc1ee
Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley)
2013-02-21 18:23:47 -08:00
Jeff Walden
f91f785300
Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff
2013-02-07 18:04:11 -08:00
Mike Hommey
e96f6b5fb9
Bug 793767 - Use the executable file location to derive the update root. r=rstrong
2013-02-08 15:58:52 +01:00
Nicholas Nethercote
03e9f7ae1b
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
6c1eebfede
Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
...
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
2d2d004475
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
2013-01-24 21:24:57 -08:00
Jeff Walden
09bfe67944
Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
2012-12-19 19:32:34 -05:00
Josh Matthews
56c62467db
Backed out changeset 40c1df07b407 (bug 824217)
2012-12-28 19:13:36 -05:00
Jeff Walden
c1b5b14be5
Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
2012-12-19 19:32:34 -05:00
Jim Mathies
1eed680d31
Bug 817881 - Move test plugin to dist/plugins, and touch up tests and test logic to support the change. r=glandium, dtownsend
2012-12-17 12:08:00 -06:00
Jim Mathies
30ee32f0d3
Bug 817076 - Update xpcshell's NS_APP_PREFS_DEFAULTS_DIR_LIST so that it returns the app dir if specified. r=glandium
2012-12-05 16:35:34 -06:00
Geoff Brown
0b4524cf77
Bug 815699 - Check for null mGREDir in xpcshell dir provider; r=jimm
2012-11-27 11:44:24 -07:00
Nicolas B. Pierron
9cb7ce0b6f
Bug 810062 - Toggle JSOPTIONs before the compartment creation. r=bhackett
2012-11-19 18:07:20 -08:00
Jim Mathies
49b2a53b96
Bug 810810 - Add support for 'APluginsDL' to the xpcshell directory service provider and return the GRE folder when queried. r=bsmedberg, glandium
2012-11-17 14:35:16 -06:00
Terrence Cole
4763e36951
Bug 805080 - Move more API users to CompileOptions; r=luke
...
There is no reason to have special methods for specific sets of CompileOptions
when the JS::Compile interface is so easy to use. Other API methods can be
moved internal or removed entirely with this change.
2012-11-06 17:36:47 -08:00
Fernando Jiménez
e37d7d2304
Bug 809218 - Expose atob and btoa functions in xpcshell; r=mrbkap
2012-11-08 13:45:41 -08:00
Jonas Sicking
2eb19bcb4e
Bug 806587: Restore getCodebasePrincipal since extensions use it. r=mounir
2012-10-30 22:24:41 +01:00
Terrence Cole
c11996d4c0
Bug 805080 - Remove unused CESU8 support from SpiderMonkey; r=luke
...
We have many CESU8 paths in SpiderMonkey which are completely unused and
untested. We have many more "UTF-8" paths which are really mislabled CESU8 paths
and visa-versa. This patch attempts to disentable all of the various encoding
options in SpiderMonkey.
2012-10-29 13:55:17 -07:00
Bobby Holley
ecc593b478
Bug 797206 - Remove GetPrincipalFromContext. r=bz
2012-10-29 15:55:36 +01:00
Bobby Holley
2f2a64b5a0
Bug 789224 - Separate certificate principals out from CAPS. r=dveditz
...
There's no longer any reason why "certificate principals" need to be principals at all.
I tried to rip them out entirely, but it looks like they're still used vestigially at XPI
install time to display author information. But there's no reason that they have to be
porkbarreled into the security-critical objects that we pass around all over the place.
So let's make them their own deal.
I was tempted to call them "certificate holders", but that would involve renaming methods and
cause more compat fuss than necessary.
2012-10-22 08:29:56 +02:00
Bobby Holley
0881fa53e9
Bug 789224 - Remove capability manager stuff in nsScriptSecurityManager. r=mrbkap
2012-10-22 08:29:55 +02:00
Benjamin Peterson
13c4231de5
Bug 803358 - Remove JSOPTION_RELIMIT. r=luke
2012-10-18 21:06:42 -04:00
David Zbarsky
9b486d30ad
Bug 801803: More nsresult as enum class creates warnings r=me
2012-10-16 00:26:51 -04:00
David Zbarsky
cbf04d7cc1
Backout 368cd30cccda for bustage
2012-10-15 23:52:17 -04:00
David Zbarsky
d97f601fed
Bug 801803: More nsresult as enum class creates warnings r=me
2012-10-15 23:37:34 -04:00
Bobby Holley
090c7f6166
Bug 797204 - Remove API. r=mrbkap
...
\o/
2012-10-10 11:01:26 +02:00
Ms2ger
a417ce1de8
Bug 780151 - Part b: Don't hand out ThisTranslators; r=bz
2012-10-02 10:24:08 +02:00
Ms2ger
2065941318
Bug 780151 - Part a: Remove unused arguments to TranslateThis; r=bz
2012-10-02 10:22:32 +02:00
Kyle Huey
7c122ee19f
Bug 792625: Fix xpcshell to accept non-ASCII command line arguments on Windows. r=bsmedberg
2012-09-30 09:45:05 -07:00
Bobby Holley
ac1db9cd7f
Bug 774607 - Remove use of JS_{Is,Make}SystemObject from Gecko. r=bz
...
We currently set this for system globals and anything whose parent
chain leads to a system global. Maybe this was relevant before, but
with CPG this is just equivalent to asking whether the object is in
a system compartment. And the only place where we _check_ this bit
is immediately after checking for a system compartment, in
WrapperFactory. So AFAICT this can go away entirely.
2012-09-05 11:32:07 -07:00
Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Luke Wagner
7d0ac26f61
Bug 749371 - Break JS_ClearScope into two not-as-bad functions (r=mrbkap)
2012-08-23 11:23:28 -07:00
Matt Brubeck
2ee6f37afd
Back out 670c8a2695b3 (bug 771354), 134557d57e6e 4ad52e488977 (bug 774607), and...
...
036eb8c2a08a d4d36e3b948f 35334e820632 6bd07fd5147d d49e7c0d762c 407f19deb14c d84551808abb (bug 774633)
on a CLOSED TREE
2012-08-23 21:34:27 -07:00
Luke Wagner
55107a5229
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
2012-08-21 18:42:53 -07:00
Bobby Holley
03e0709785
Bug 774607 - Remove use of JS_{Is,Make}SystemObject from Gecko. r=bz
...
We currently set this for system globals and anything whose parent
chain leads to a system global. Maybe this was relevant before, but
with CPG this is just equivalent to asking whether the object is in
a system compartment. And the only place where we _check_ this bit
is immediately after checking for a system compartment, in
WrapperFactory. So AFAICT this can go away entirely.
2012-08-23 16:44:53 -07:00
Luke Wagner
bf165e064f
Bug 784551 - remove JSSecurityCallbacks::findObjectPrincipals (r=mrbkap)
2012-08-23 09:51:09 -07:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Eric Faust
afcea81d2c
Bug 775788 - Modify JSFunctionSpec to accept JSJitInfos. (r=luke)
2012-08-07 22:26:19 -07:00
Ehsan Akhgari
7917f7709f
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Brian Hackett
6c4ed4bfd1
Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin
2012-07-30 05:19:09 -06:00
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