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
Kyle Machulis
d2b6e6e01a
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
94ec89296d
Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
...
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
ea1d9b8ba7
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Ms2ger
ecaff4e0d2
Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Mike Shal
2eb7c496cb
Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps
2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00