Ben Kelly
7397ab419d
Bug 987556 Part 10 Use JS::SourceBufferHolder in mozJSSubScriptLoader. r=bz
2014-04-25 10:11:57 -04:00
Jeremy Morton
69d567dd6b
Bug 998291 - Allow for relatively-loaded modules to be loaded into a given scope. r=bsmedberg
2014-04-22 23:37:26 +01:00
Bobby Holley
66541eae24
Bug 990353 - Make discardSource a Sandbox option and use it (even in Desktop) for the precompilation scope. r=luke
2014-04-22 14:08:29 -07:00
Bobby Holley
aaa815d86d
Bug 990353 - Make the decision to discard source entirely per-global, rather than per-script. r=luke
...
This is effectively a policy decision based on the kind of code we expect to be
running somewhere. This is in contrast to lazy source, which is often a practical
per-script consideration of whether or not we can retrieve the source if requested.
More importantly, tracking this information on the global is much easier to
get right than tracking it on the script.
2014-04-22 14:08:27 -07:00
Bobby Holley
8cb91cd665
Bug 993772 - Stop serializing principals along with scripts. r=mrbkap
...
The principal of a script is determined by the compartment these days, so this
field is useless.
2014-04-20 11:48:13 -07:00
Fabrice Desré
c4f785449c
Bug 965970 - Add support to compile asm.js code at install/update time r=luke,bholley,marco
2014-04-17 22:03:03 -07:00
Terrence Cole
21e586caba
Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
...
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Jon Coppeard
2c591777e1
Bug 993413 - Remove use of JS_Add/Remove*Root in favour of JS::PersistentRooted where possible r=terrence r=bz r=bholley
2014-04-16 09:47:53 +01:00
Bobby Holley
0200ccab40
Bug 980537 - Only store FakeBackstagePass instances in mThisObjects. r=khuey
2014-04-06 12:32:39 -07:00
Jon Coppeard
bd123acdd3
Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz
2014-04-01 11:34:39 +01:00
Dave Townsend
97c13cdb97
Bug 986757: Defer firing OnNewGlobalObject until after the __URI__ property is set for JS Modules. r=bholley
2014-03-25 16:33:06 -07:00
Nathan Froyd
7e41b29b78
Bug 984985 - avoid a useless stat call when loading JS components; r=bholley
2014-03-18 12:49:00 -04:00
Luke Wagner
d4eada70bf
Bug 980180 - remove principals as an argument to compilation, part 1 (r=terrence)
...
--HG--
extra : rebase_source : 8bf0ff6974870d6772021aafa88dd8fd5132fc70
2014-03-06 16:28:05 -06:00
Bobby Holley
3a748a29f3
Bug 977340 - Use an AutoJSContext when clearing modules. r=gabor
2014-03-04 10:05:08 -08:00
Jeff Walden
7741787e99
Bug 972132 - Convert JS::EmptyValueArray to JS::HandleValueArray::empty(). r=terrence
...
--HG--
extra : rebase_source : 58b87df07373a7811136682b128aea67f04446cd
2014-02-12 23:38:36 -08:00
Luke Wagner
13dba8c69f
Bug 976348 - Change DescribeScriptedCaller to not return a JSScript (r=bholley)
...
--HG--
extra : rebase_source : 58387ce3e4c49d3140b92b84bf3577fc6584820e
2014-02-25 09:43:14 -06:00
Jon Coppeard
0eac977006
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Masatoshi Kimura
0a3d8da618
Backed out changeset d7d447cac91b (bug 969762) for tp5 regression.
2014-02-12 06:01:29 +09:00
Jon Coppeard
2cf0941496
Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug
2014-02-11 10:59:16 +00:00
Ehsan Akhgari
82ebdc883f
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Masatoshi Kimura
590e1730d2
Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm
2014-02-11 05:50:16 +09:00
Jon Coppeard
cd6056507e
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Carsten "Tomcat" Book
3ff2c54041
Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE
2014-01-31 12:11:23 +01:00
Jon Coppeard
b65a90b42b
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Jon Coppeard
b5a2f0569c
Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug
2014-01-29 10:00:40 +00:00
Zack Weinberg
098b7dc5c7
Bug 933885 part 1: make xpcshell dump() and print() handle non-ASCII characters correctly. r=bz
2014-01-25 23:27:11 -05:00
Tom Schuster
4fe0ac9e85
Bug 958119 - Some cleanup for XPConnect. r=gabor
2014-01-22 18:50:32 +01:00
Terrence Cole
20431f8abe
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 4; r=sfink,r=bz
...
--HG--
extra : rebase_source : 8e1ff566f47795cd82e3f4c0a6fa37b88e7847b4
2014-01-17 10:08:51 -08:00
Terrence Cole
3e141bbf5e
Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
...
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Andrew McCreight
5ba4048bd4
Bug 959484 - de-THREADSAFE XPConnect. r=bholley
2014-01-16 08:49:26 -08:00
Tom Schuster
5e3191afd2
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Boris Zbarsky
f1a348da85
Bug 959705. Fix unsafe reference hazards in xpconnect code. r=bholley
2014-01-14 21:46:44 -05:00
Ryan VanderMeulen
f4de297d84
Backed out 6 changesets (bug 939294) for B2G bustage on a CLOSED TREE.
...
Backed out changeset 8c3aa9973da0 (bug 939294)
Backed out changeset 37098c13e59e (bug 939294)
Backed out changeset 7c9ade6c871c (bug 939294)
Backed out changeset fed59539afc1 (bug 939294)
Backed out changeset 89e9d3fa16fc (bug 939294)
Backed out changeset c97e58ebc5f4 (bug 939294)
2014-01-09 14:17:39 -05:00
Tom Schuster
f2eab1cc4d
Bug 939294 - Handlify XPConnect. r=gabor
2014-01-09 18:39:36 +01:00
Gabor Krizsanits
e43c830de6
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 15:28:46 +01:00
Carsten "Tomcat" Book
c87090db07
Backed out changeset 18eeafedd180 (bug 952192) XPC Shell Bustage on a CLOSED TREE
2014-01-09 12:53:22 +01:00
Gabor Krizsanits
e49d78a446
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 11:31:33 +01:00
Andrew McCreight
63edb97f7a
Bug 956455, part 3 - Remove the holder argument to nsXPConnect::WrapNativeToJSVal. r=gabor
2014-01-06 11:54:43 -08:00
Ehsan Akhgari
eaa7491d77
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ms2ger
6c7c16c6b2
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00
Bill McCloskey
de3f6efa40
Bug 952183 - reuseGlobal doesn't account for scripts being recycled (r=mrbkap,khuey)
2013-12-19 12:49:52 -08:00
Nathan Froyd
782884a55d
Bug 946781 - part 2 - add memory used by mozJSComponentLoader to about:memory; r=bholley,njn
2013-12-05 16:54:30 -05:00
Jacek Caban
99e38f985f
Bug 944444 - Fix js/ compilation on mingw. r=Waldo
2013-12-05 10:56:22 +01:00
Mike Hommey
fdd3247a81
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2f727b6d62
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
b038245b8d
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Ehsan Akhgari
8f96c714b8
Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley
2013-11-20 11:35:34 -05:00
Ehsan Akhgari
7bd9dda07f
Backed out changeset 5993d8ad664c (bug 939608) because bug 941450 was backed out
...
Landed on a CLOSED TREE
2013-11-22 11:22:49 -05:00
Ehsan Akhgari
23174d221c
Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley
...
--HG--
extra : rebase_source : d4baf7ddb95bb0217357b9eb9fabd2e08d37548a
2013-11-20 11:35:34 -05:00
Ehsan Akhgari
1c796694bb
Bug 939608 - Part 1: Code changes required to build xpconnect in unified mode; r=bholley
...
--HG--
extra : rebase_source : e691b361737fbb233a0b33ed7fc6aa97ae172223
2013-11-19 15:03:40 -05:00