Commit Graph

29 Commits

Author SHA1 Message Date
Nicholas Nethercote
ff47af9d66 Bug 952650 (part 16) - Remove JSVAL_TO_PRIVATE. r=till.
--HG--
extra : rebase_source : 603bb66a90484b488bedf1dd4da6935324c148c6
2014-04-28 16:01:31 -07:00
Jon Coppeard
3e811f8ee0 Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug 2014-04-02 15:28:03 +01:00
Jon Coppeard
48ecc0a1b8 Bug 959787 - Handlify some more GCing APIs r=sfink 2014-03-20 09:32:37 +00:00
Luke Wagner
0b60875286 Bug 976763 - Change DescribeStack not to return JSScripts or JSFunctions (r=bz)
--HG--
extra : rebase_source : d9a784df61c00421c9a1e360f92ffc763bf49858
2014-02-25 09:43:14 -06:00
Chris Peterson
41e56b2e41 Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke 2014-02-17 22:24:15 -08:00
Daniel Holbert
84283bddce back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson
966ea39163 Bug 712873 - Part 2: Replace JS_ASSERT with MOZ_ASSERT outside js/src/ directory. r=luke 2014-02-17 22:24:15 -08:00
Till Schneidereit
ce6f052ad0 Bug 886193 - Part 2: Introduce JSScript::nonDelazifyingFunction and use it whereever possible. r=jandem
--HG--
extra : rebase_source : cd6926e6e1fead242263e50763ce89348b5e9cd5
2014-01-09 17:13:25 +01:00
Dan Gohman
df2b7be805 Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn 2013-09-24 08:21:22 -07:00
Ryan VanderMeulen
0e7da39b9e Backed out changeset 2c3d1c9241d7 (bug 918023) for Windows debug TestEndian failures.
CLOSED TREE
2013-09-24 14:09:15 -04:00
Dan Gohman
aa74f0120c Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn 2013-09-24 08:21:22 -07:00
Birunthan Mohanathas
21da9f6577 Bug 784739 - Switch from NULL to nullptr in js/jsd/; r=ehsan 2013-09-19 15:26:36 -04:00
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
25d70fdd97 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
David Keeler
32412de189 bug 891992 - remove LIVEWIRE from jsd r=timeless 2013-07-10 13:53:11 -07:00
Bobby Holley
667efac1a4 Bug 880697 - Replace usage of dumbContext with AutoSafeJSContext. r=gabor
dumbContext ends up with jsdc->glob as its default global, so we have to be
very careful to audit for any places where the code might be assuming that
its cx is in the compartment of jsdc->glob. Luckily, the code already seems
pretty explicit about its compartments.
2013-06-12 14:17:55 -07:00
Bobby Holley
fc2eabba5c Bug 880697 - Root directly with a runtime in jsd_DestroyScriptHookProc. r=gabor 2013-06-12 14:17:55 -07:00
Bobby Holley
899c3f66b7 Bug 880697 - Make JS_ClearScriptTraps take a runtime directly. r=gabor
This obviates the need for a context at the JSD callsite.
2013-06-12 14:17:55 -07:00
Bobby Holley
efa87b19f7 Bug 880697 - Stop using clunky C API in JSD and start using RAII classes. r=gabor 2013-06-12 14:17:54 -07:00
Ehsan Akhgari
05fd8d38f6 Bug 871192 - Fix more rooting hazards in the JS debugger; r=till 2013-05-12 09:13:22 -04:00
Till Schneidereit
e1d27fb43f Bug 868369 - remove guard in jsd_SetExecutionHook made superfluous by change in _newJSDScript to align with beta and aurora branches. r=me
--HG--
extra : rebase_source : 88045156e58f6d65f2ee1e821e24452be1a64a94
2013-05-06 21:43:57 +02:00
Till Schneidereit
ced9bd259d Bug 868369 - don't ever create JSDScripts for self-hosted scripts. r=sfink
--HG--
extra : rebase_source : 2104e9dca9c05c158e78a0ba740227e4a190e125
2013-05-06 19:17:38 +02:00
Till Schneidereit
580f4427f5 Bug 851788 - prevent jsd_SetExecutionHook from operating on self-hosted functions. r=jimb 2013-04-23 12:58:24 +01:00
Sean Stangl
3733f89aca Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-16 13:47:10 -07:00
Phil Ringnalda
2607292fa5 Back out a5a1dd3bd8ae (bug 860029) for stupidorange 2013-04-15 12:55:38 -07:00
Sean Stangl
ab9b6329c4 Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-15 11:33:03 -07:00
Jan de Mooij
a9f2829ff4 Bug 833817 part 3 - Replace JSStackFrame with JSAbstractFramePtr. r=luke 2013-01-25 09:49:29 +01:00
David Anderson
043ddae94a Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
Terrence Cole
09d4300426 Bug 501536 - Make jsd compile as C++; r=luke
This should be the last real C consumer of JS-API in mozilla-central.

--HG--
rename : js/jsd/jsd_atom.c => js/jsd/jsd_atom.cpp
rename : js/jsd/jsd_high.c => js/jsd/jsd_high.cpp
rename : js/jsd/jsd_hook.c => js/jsd/jsd_hook.cpp
rename : js/jsd/jsd_java.c => js/jsd/jsd_java.cpp
rename : js/jsd/jsd_lock.c => js/jsd/jsd_lock.cpp
rename : js/jsd/jsd_obj.c => js/jsd/jsd_obj.cpp
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_step.c => js/jsd/jsd_step.cpp
rename : js/jsd/jsd_text.c => js/jsd/jsd_text.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
rename : js/jsd/jsdebug.c => js/jsd/jsdebug.cpp
rename : js/jsd/jsdstubs.c => js/jsd/jsdstubs.cpp
2012-09-04 09:02:03 -07:00