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
Jeff Walden
f52f37cddc
Bug 891177 - Move leading/trailing-zero-bit counting functions, ceiling/floor log2 functions, and round-up-pow2 functions into MathAlgorithms.h. r=terrence
...
--HG--
extra : rebase_source : 8cfbd68b8cd4a0e21185dd864c7e827ccfa6b751
2013-07-03 15:46:51 -07:00
David Keeler
2fc8775cb1
bug 891992 - fix typo in js/jsd/jsdebug.h r=timeless
2013-07-10 13:53:27 -07:00
David Keeler
593fac08cf
bug 891992 - remove LIVEWIRE from jsd r=timeless
2013-07-10 13:53:11 -07:00
Ms2ger
1475a22d49
Bug 213324 - Remove getter_AddRefs(T*); r=ehsan
2013-07-10 11:56:21 +02:00
Trevor Saunders
ace23958ea
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04: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
Cykesiopka
506def29fd
Bug 831741 - Followup: Remove remaining __cplusplus bits from /js (with exceptions). r=jorendorff
2013-06-26 21:35:11 -04:00
Brian O'Keefe
ed17339221
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Dan Gohman
55d23f9696
Bug 883574 - Add const qualifiers to variables and pointers in the JS tree. r=evilpies
2013-06-17 18:31:47 -07:00
David Zbarsky
7a6db2c997
Fix a typo, no bug
2013-06-17 14:28:11 -07: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
dfe5a1b7ea
Bug 880697 - Remove dumbContext. r=gabor
...
Whew.
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
08897ecc69
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
4f75c3875f
Bug 880697 - Root directly with a runtime in jsd_DestroyScriptHookProc. r=gabor
2013-06-12 14:17:55 -07:00
Bobby Holley
7f1f2366e0
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
f814be5d18
Bug 880697 - Stop using clunky C API in JSD and start using RAII classes. r=gabor
2013-06-12 14:17:54 -07:00
Bobby Holley
ec5b064aee
Bug 880697 - Add an RAII class to JSD to save/restore exception state. r=gabor
2013-06-12 14:17:54 -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
Mike Shal
6f32ddf61c
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04: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
Joey Armstrong
0d49db0381
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Ed Morley
2710e5d6a9
Backed out changeset 496846474ed3 (bug 864774)
2013-05-13 10:05:49 +01:00
Mike Shal
d2b29f4e87
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey
...
From 140b9201e3b5d2d8efe7af286d279c2411dbc197 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ehsan Akhgari
4b325c9d64
Bug 871192 - Fix more rooting hazards in the JS debugger; r=till
2013-05-12 09:13:22 -04:00
Till Schneidereit
a16f645bce
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
b733362072
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
Ehsan Akhgari
0cd35f4252
Bug 868790 - Fix some rooting hazards in the JS Debugger; r=till
2013-05-05 17:13:03 -04:00
Andrew McCreight
4247aef614
Bug 867350 - remove JS_UnwrapObject and JS_UnwrapObjectAndInnerize from jsdbgapi.h r=sfink
2013-05-01 09:19:18 -07:00
Joey Armstrong
12356a4c50
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -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
Daniel Holbert
fb5bb1a70d
Bug 865396: Insert space between string literal and macro arg, to fix GCC 4.8 Wliteral-suffix build warning. r=sfink
2013-04-24 20:54:24 -07:00
Till Schneidereit
8125daee22
Bug 851788 - prevent jsd_SetExecutionHook from operating on self-hosted functions. r=jimb
2013-04-23 12:58:24 +01:00
Bobby Holley
1a9540312c
Bug 860438 - Use nsCxPusher in JSD. r=gabor
2013-04-18 11:36:05 -04:00
Sean Stangl
7c06a2ec68
Bug 860029 - Standardize Modelines in the JS Module. r=njn
2013-04-16 13:47:10 -07:00
Mike Shal
24b4056720
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Jeff Walden
6539207aee
Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm
2013-04-05 21:22:55 -07:00
Phil Ringnalda
c0b436c32d
Back out a5a1dd3bd8ae (bug 860029) for stupidorange
2013-04-15 12:55:38 -07:00
Sean Stangl
efc7d9a873
Bug 860029 - Standardize Modelines in the JS Module. r=njn
2013-04-15 11:33:03 -07:00
Phil Ringnalda
f9e5683baf
Back out 5bf9771e1a28 (bug 860029) for bustage
...
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
9c52e8cf81
Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn
2013-04-11 18:48:59 -07:00
Andrew McCreight
5600e1404e
Bug 856313 - Clean up some Traverse/Unlink declarations. r=smaug
2013-04-02 09:48:59 -07:00
Gabor Krizsanits
e65e82a5ba
Bug 820170 - SandboxPrivate for jsd global. r=bholley
2013-04-04 11:27:37 +02:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00