Jim Blandy
b789a57871
Bug 800200: Print a deprecation warning to the console when JSD is first used. r=bholley
2014-03-04 20:09:15 -08:00
Ed Morley
554b2aaf5b
Backed out changeset 508848ad378a (bug 939562) for causing bug 978450
2014-03-03 16:54:26 +00:00
Jan de Mooij
25a5a4b3eb
Bug 939562 part 3 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
...
--HG--
extra : rebase_source : e25c6f5f381a972c472fb8a845c737fb31617682
2014-02-26 10:25:36 +01:00
Carsten "Tomcat" Book
33fc0403e7
Backed out changeset 802aa43ae8cc (bug 939562) for PGO mochitest regression on a CLOSED TREE
2014-02-26 16:02:15 +01:00
Jan de Mooij
b36f3f389e
Bug 939562 part 2 - Move JIT flags from ContextOptions to RuntimeOptions. r=bent,bholley,luke
2014-02-26 10:25:36 +01: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
Tom Schuster
5e3191afd2
Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence
2014-01-09 18:39:36 +01: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
Bobby Holley
c2e3e33a71
Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
...
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-11 17:51:58 -08:00
Phil Ringnalda
d1ba8751f2
Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test
2013-12-07 11:08:56 -08:00
Bobby Holley
9fc70d3f91
Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
...
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-06 12:01:42 -08:00
Carsten "Tomcat" Book
abe0ad0b33
Backed out changeset 374e44c835a8 (bug 937317) WinXP Build Bustage on a CLOSED TREE
2013-12-06 08:41:42 +01:00
Bobby Holley
f6b033e681
Bug 937317 - Replace all instance of null cx pushing with AutoSystemCaller. r=bz
...
This is an easy bonus chunk of the work to phase out cx pushing in the browser.
2013-12-05 21:34:17 -08:00
Eddy Bruel
cf91a893bd
Bug 938907 - Get rid of the compile and go flag on ContextOptions; r=bholley
2013-11-19 12:41:42 +01:00
Bobby Holley
9f845bdef1
Bug 840488 - Move jsd over to the new API. r=bz
...
This setup is kind of hacky. JSD exposed a per-context script toggle, which,
while nonsensical, exhibits visibly different semantics than a per-global
toggle (since the former follows the WindowProxy across navigations, whereas
the latter does not). Honza says that Firebug ensures that any instances of
|jsdcx.scriptsEnabled = false| are guaranteed to be followed by
|jsdcx.scriptsEnabled = true| before a navigation occurs, so this should be
good enough.
2013-11-12 16:43:34 -08:00
Eddy Bruel
36e6f94dd2
Bug 934419 - Split CompartmentOptions off from ContextOptions; r=bholley
2013-11-11 21:44:33 +01:00
Eddy Bruel
51db6a1db2
Bug 880330 - Refactor jsd to use the new options API; r=sphink
2013-10-28 12:52:27 +01:00
Tom Schuster
ce701cf26f
Bug 930782 - Handlify JS_WrapValue. r=terrence
2013-10-26 18:19:05 +02:00
Dan Gohman
a08337eb0c
Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn
2013-09-24 08:21:22 -07:00
Ryan VanderMeulen
9fa464d752
Backed out changeset 2c3d1c9241d7 (bug 918023) for Windows debug TestEndian failures.
...
CLOSED TREE
2013-09-24 14:09:15 -04:00
Dan Gohman
f4b8189f4a
Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn
2013-09-24 08:21:22 -07:00
Birunthan Mohanathas
7173956e37
Bug 784739 - Switch from NULL to nullptr in js/jsd/; r=ehsan
2013-09-19 15:26:36 -04:00
Jon Coppeard
dffe7f475b
Bug 917798 - Handlify JS exception APIs r=terrence r=bz
2013-09-19 08:54:01 +01:00
Dan Gohman
586b9aee99
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Bobby Holley
df08f737c1
Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8
2013-09-04 14:06:55 -07:00
Nicholas Nethercote
b6d6b342af
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
Ryan VanderMeulen
252154d12a
Backed out 12 changesets (bug 899367) for Windows and OSX mochitest failures on a CLOSED TREE.
...
Backed out changeset 46cf4c3eb447 (bug 899367)
Backed out changeset d8a876219fc7 (bug 899367)
Backed out changeset d930333f95a7 (bug 899367)
Backed out changeset efae8cc0fff8 (bug 899367)
Backed out changeset 1dd262d146a6 (bug 899367)
Backed out changeset 4c396b8a51d0 (bug 899367)
Backed out changeset c8c30176639a (bug 899367)
Backed out changeset aaa8fbcf9aaf (bug 899367)
Backed out changeset d1a782044a4b (bug 899367)
Backed out changeset b2672ab55046 (bug 899367)
Backed out changeset fc4deb0b06fa (bug 899367)
Backed out changeset b9f1018a609c (bug 899367)
2013-08-27 21:14:54 -04:00
Bobby Holley
f4dd8b2c3e
Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8
2013-08-27 15:21:38 -07:00
Terrence Cole
251605fcda
Bug 908483 - Fix some exact rooting hazards in jsd; r=jonco
2013-08-22 15:43:47 -07:00
Nicholas Nethercote
b89a8ac1c0
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Nicholas Nethercote
d035582fdb
Bug 898263 (part 16) - Remove jslock.h from EXPORTS. r=jorendorff.
...
--HG--
extra : rebase_source : cf5f687300d78cac39a5d7b0bea6aba21dc422c4
2013-07-26 01:05:24 -07:00
Nicholas Nethercote
849635b8f1
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
aa5919539d
Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
...
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Bobby Holley
595cbc9fd5
Bug 897322 - Allow callers to manually fire OnNewGlobalObject when bootstrapping is complete. r=luke
2013-08-01 18:38:47 -07:00
Bobby Holley
9f3d1e24f0
Bug 899245 - Rename js::GetDefaultGlobalForContext to js::DefaultObjectForContextOrNull. r=luke
...
This is more correct, since the object very often is not a global.
2013-07-29 16:45:25 -07:00
Joshua Cranmer
41b9daad54
Bug 884061 - Part 3n: Use NS_DECL_THREADSAFE_ISUPPORTS in js/, r=bholley
...
--HG--
extra : rebase_source : 4f888058e3f842affd496e35bdd3c2037d1abf43
2013-07-18 21:23:32 -05:00
Ms2ger
1475a22d49
Bug 213324 - Remove getter_AddRefs(T*); r=ehsan
2013-07-10 11:56:21 +02:00
Bobby Holley
6838b751e1
Bug 880917 - Remove support for munging JS versions from JSD. r=luke
...
A quick grep of Firebug indicates that it doesn't use this. And even if I
missed it, doing so from a debugger with the current semantics is a feature
we can't support going forward.
2013-06-29 09:11:16 -06:00
Bobby Holley
5d8b9c031d
Bug 880697 - Push in a few other suspicious places. r=gabor
2013-06-12 14:17:56 -07:00
Bobby Holley
ebb40605e8
Bug 880697 - Remove JSD_GetDefaultJSContext and fix callers. r=gabor
2013-06-12 14:17:55 -07:00
Bobby Holley
6c71d90238
Bug 879341 - Use an AutoPushJSContext in JSD. r=gabor
...
We can do this now, since it won't cause infinite recursion.
2013-06-04 15:37:59 -07:00
Bobby Holley
a77fe13461
Bug 877235 - Use the default global for just a little bit longer in JSD. r=gabor
2013-05-29 17:49:25 -07:00
Bobby Holley
48e5c84941
Bug 871306 - Use the current global rather than the default global in jsdContext::GetGlobalObject. r=gabor
...
As far as I can tell from the IDL docs and digging through the Firebug source,
this is what we want here.
2013-05-22 15:42:44 -06:00
Bobby Holley
a024c7d683
Bug 871306 - Remove globalObject from jsdIFilter. r=gabor
...
It looks like firebug only ever passes null, which is equivalent to not using
it at all.
2013-05-22 15:42:43 -06:00
Bobby Holley
bf47cc7efa
Bug 871306 - Add an API for directly accessing the default JSD global and use it in ActivateDebugger. r=gabor
2013-05-22 15:42:43 -06:00
Bobby Holley
1b2f22fe61
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
ba05c93769
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Ehsan Akhgari
4b325c9d64
Bug 871192 - Fix more rooting hazards in the JS debugger; r=till
2013-05-12 09:13:22 -04:00
Ehsan Akhgari
0cd35f4252
Bug 868790 - Fix some rooting hazards in the JS Debugger; r=till
2013-05-05 17:13:03 -04:00
Aryeh Gregor
e78504c9a9
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00