Benoit Jacob
083f0e0cc1
Bug 1028588 - Fix dangerous public destructors in js/xpconnect - r=bholley
2014-06-23 14:49:08 -04:00
Bill McCloskey
78c2618e3d
Bug 990729 - Add compartmentPerAddon option for XUL overlays (r=bholley)
2014-06-21 11:55:15 -07:00
Bobby Holley
6e05608e3e
Bug 1026860 - Remove mThisObjects and use the function parent instead. r=luke,khuey
2014-06-18 22:36:42 -07:00
Jim Chen
3b5c74e922
Bug 1013326 - Move script principals APIs to jsfriendapi; r=luke
2014-06-06 18:39:40 -04:00
Carsten "Tomcat" Book
c3b1f0e8ad
merge fx-team to mozilla-central
2014-05-22 15:17:20 +02:00
Gijs Kruitbosch
ec807623dd
Bug 1012750 - nitfix, DONTBUILD because immaterial, rs=mak/firebot
2014-05-22 00:48:19 +01:00
Gijs Kruitbosch
b21f1e7aae
Bug 1012750 - defineLazyModuleGetter should log failing URL if there was an error loading, r=mak
2014-05-19 18:12:49 +01:00
Birunthan Mohanathas
411a8639b4
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Girish Sharma
50fa2456f1
Bug 1004487 - Add Cu.isModuleLoaded method to know if a resource has been loaded via Cu.import, r=bholley
2014-05-15 23:52:45 +05:30
Bobby Holley
9086fb6ef0
Bug 1008006 - Use a helper to avoid repeated computations of various dependencies. r=gabor
2014-05-12 14:37:46 -07:00
Bobby Holley
e6386cc6a0
Bug 1006629 - Remove GetCalleeWrapper. r=gabor
2014-05-06 23:17:44 -07:00
Alexandre Poirot
d7778dca33
Bug 961777 - Disable reuseGlobal on Mulet. r=bholley
2014-05-05 06:53:00 -04:00
Bobby Holley
30f4f66d5d
Bug 1004295 - Hard abort if we try to unload modules when loader global reuse is enabled. r=mccr8
2014-05-01 11:02:59 -07:00
Nathan Froyd
097f6cd142
Bug 1003309 - remove JS component loader construction from mozJSSubScriptLoader; r=bholley
2014-04-29 13:28:23 -04:00
Rodrigo Rodriguez Jr.
ce08f289ef
Bug 952650 (part 2) - Remove JSVAL_IS_VOID. r=evilpies.
...
--HG--
extra : rebase_source : 0ae81cd69dc13d944927de906abc656536b4d425
2014-04-27 19:32:05 -07:00
Birunthan Mohanathas
ff8ce9bd42
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
eaba6c5a37
Bug 866289 - Make mode lines consistent in js/xpconnect/ for 4 space indented files. r=Ms2ger
2014-04-03 07:58:00 -04:00
Ben Kelly
8d277b1250
Bug 987556 Part 10 Use JS::SourceBufferHolder in mozJSSubScriptLoader. r=bz
2014-04-25 10:11:57 -04:00
Jeremy Morton
efed059bea
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
415f46fd09
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
91dd463b40
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
61d6055556
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é
140000dc46
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
c97877c686
Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
...
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Jon Coppeard
2a5c843ea4
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
8daf887f60
Bug 980537 - Only store FakeBackstagePass instances in mThisObjects. r=khuey
2014-04-06 12:32:39 -07:00
Jon Coppeard
bb2e7cbea1
Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz
2014-04-01 11:34:39 +01:00
Dave Townsend
fdf690adfd
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
5aa819df66
Bug 984985 - avoid a useless stat call when loading JS components; r=bholley
2014-03-18 12:49:00 -04:00
Luke Wagner
731533e709
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
74a5406c5a
Bug 977340 - Use an AutoJSContext when clearing modules. r=gabor
2014-03-04 10:05:08 -08:00
Jeff Walden
5a7db86560
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
4c59cb92eb
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
8136579d75
Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz
2014-02-13 15:33:04 +00:00
Masatoshi Kimura
9306836991
Backed out changeset d7d447cac91b (bug 969762) for tp5 regression.
2014-02-12 06:01:29 +09:00
Jon Coppeard
60baf94ae8
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
b870bb3fe9
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
84b0ee5c63
Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm
2014-02-11 05:50:16 +09:00
Jon Coppeard
50e1f34d5a
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Carsten "Tomcat" Book
2a6caad1f0
Backed out changeset e2c75ec7f3d4 (bug 959787) for breaking b2g builds on a CLOSED TREE
2014-01-31 12:11:23 +01:00
Jon Coppeard
858370c616
Bug 959787 - Handlify JS_GetProperty and related APIs r=terrence r=bz
2014-01-31 09:55:20 +00:00
Jon Coppeard
e5c29b7f9d
Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug
2014-01-29 10:00:40 +00:00
Zack Weinberg
77460d628b
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
57f15ea1e2
Bug 958119 - Some cleanup for XPConnect. r=gabor
2014-01-22 18:50:32 +01:00
Terrence Cole
10295353cd
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
f017da90d9
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
f0ad35822f
Bug 959484 - de-THREADSAFE XPConnect. r=bholley
2014-01-16 08:49:26 -08:00
Tom Schuster
e64b35e141
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01:00
Boris Zbarsky
b1275afbcb
Bug 959705. Fix unsafe reference hazards in xpconnect code. r=bholley
2014-01-14 21:46:44 -05:00
Ryan VanderMeulen
f427c884c8
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
2e0669fb59
Bug 939294 - Handlify XPConnect. r=gabor
2014-01-09 18:39:36 +01:00
Gabor Krizsanits
2d18c11e26
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 15:28:46 +01:00
Carsten "Tomcat" Book
fc7c23e4aa
Backed out changeset 18eeafedd180 (bug 952192) XPC Shell Bustage on a CLOSED TREE
2014-01-09 12:53:22 +01:00
Gabor Krizsanits
db12b3ec81
Bug 952192 - getObjectPrincipal should be script callable. r=bholley
2014-01-09 11:31:33 +01:00
Andrew McCreight
f78e86e676
Bug 956455, part 3 - Remove the holder argument to nsXPConnect::WrapNativeToJSVal. r=gabor
2014-01-06 11:54:43 -08:00
Ehsan Akhgari
ebd358dfd7
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
fe059e78f7
Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal
2013-12-31 10:06:11 +01:00
Bill McCloskey
957d8fc800
Bug 952183 - reuseGlobal doesn't account for scripts being recycled (r=mrbkap,khuey)
2013-12-19 12:49:52 -08:00
Nathan Froyd
a6090ebf41
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
34a4671409
Bug 944444 - Fix js/ compilation on mingw. r=Waldo
2013-12-05 10:56:22 +01:00
Mike Hommey
9245936f8b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2
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
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Ehsan Akhgari
db0d9c656a
Bug 939608 - Part 2: Build xpconnect in unified mode; r=bholley
2013-11-20 11:35:34 -05:00
Ehsan Akhgari
8c866b73f5
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
58cadc31b2
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
deb33a30a9
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
Carsten "Tomcat" Book
db4be58213
Backed out changeset 161bfee3f57a (bug 939608) PGO build issue
2013-11-19 14:13:15 +01:00
Gijs Kruitbosch
771cc158cd
Bug 890545 - provide a way to enumerate registered manifests, r=froydnj,f=glandium
...
--HG--
extra : rebase_source : 7534f0d3c0257ff34f1477c0bfdd23b540e7a7c7
2013-07-05 21:20:04 +02:00
Mike Hommey
a65383e1e9
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Ehsan Akhgari
e71e84c404
Bug 939608 - Build xpconnect in unified mode; r=bholley
2013-11-18 00:47:30 -05:00
Andrew McCreight
373d6bd175
Bug 937157, part 13 - Remove DEBUG_shaver. r=bholley
2013-11-17 14:47:01 -08:00
Tom Schuster
f311064c6e
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Ms2ger
6b38d3ca3d
Backout changesets ded0d64f6786:03f041d03f24 and 30cbd1abde1a (bug 935696, bug 933834 and bug 939194) for build bustage.
2013-11-17 16:39:25 +01:00
Tom Schuster
dd485f9336
Bug 933834 - Rename and handlify JS_ValueToString. r=terrence,bz
2013-11-16 13:31:36 +01:00
Gijs Kruitbosch
b9bab00f22
Bug 821726 - allow bypassing script cache when using loadSubscript, r=bholley
2013-11-05 16:35:41 +01:00
Tom Schuster
306cb13efc
Bug 930782 - Handlify JS_WrapValue. r=terrence
2013-10-26 18:19:05 +02:00
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Birunthan Mohanathas
babfc6b761
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
...
--HG--
extra : rebase_source : 9335e9b4b0ac02e8066fbb79797bbc0d3fd73874
2013-10-23 16:36:09 -04:00
Tom Schuster
a513788fdb
Bug 8844105 - Handlify JS_WrapObject. r=terrence
2013-10-15 20:02:23 -04:00
Eddy Bruel
7c83936579
Bug 880330 - Refactor xpconnect to use the new options API; r=bholley
2013-10-14 13:42:16 +02:00
Birunthan Mohanathas
d6b2c5fa56
Bug 784739 - Switch from NULL to nullptr in js/xpconnect/; r=ehsan
2013-10-10 16:35:53 -04:00
Nicholas Nethercote
efdb914ccf
Bug 920818 (part 1) - Remove dead JSFILE -D constant. r=glandium.
...
--HG--
extra : rebase_source : 6979db199a850f38e07349fad08c9c00a6a83fde
2013-09-25 19:47:58 -07:00
Phil Ringnalda
0e2b15772a
Merge m-c to fx-team
2013-09-22 09:16:05 -07:00
Gabor Krizsanits
1abd57715b
Bug 892214 - Moving atob to xpcprivate. r=bholley
2013-09-21 15:25:47 +02:00
Jon Coppeard
38b602931b
Bug 917798 - Handlify JS exception APIs r=terrence r=bz
2013-09-19 08:54:01 +01:00
Jon Coppeard
8c99b0611f
Bug 918373 - GC: Handlify various public APIs r=sfink r=bholley r=smaug
2013-09-20 10:22:59 +01:00
Dan Gohman
8b7074b6dc
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Ehsan Akhgari
63120f149f
Bug 913851 - Minimize the #includes in js/xpconnect; r=bholley
...
X-Git-Commit-ID: 78e6843063b303780a7dd2695dd2824a0a9c9a3c
--HG--
extra : rebase_source : 1dfcc228f43c68efbbc74f639570c227c26ef025
2013-09-09 23:14:10 +02:00
Robert O'Callahan
33cdb42706
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Nicholas Nethercote
3f5d413d90
Bug 909597 (part 2) - Rename jsdbgapi.{h,cpp} as {js,vm}OldDebugAPI.{h,cpp}. r=luke.
...
--HG--
rename : js/src/jsdbgapi.h => js/public/OldDebugAPI.h
rename : js/src/jsdbgapi.cpp => js/src/vm/OldDebugAPI.cpp
extra : rebase_source : 9cd65a698e726c43d88d650f40823367bf98feae
2013-08-26 19:05:20 -07:00
Boris Zbarsky
7da23c2946
Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey
2013-08-23 22:42:40 -04:00
Ms2ger
8bfa279bb1
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
4922ccbc0a
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
dba42e4001
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00