Граф коммитов

497 Коммитов

Автор SHA1 Сообщение Дата
Bobby Holley 71db19a14d 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 fee3475339 Bug 831741 - Followup: Remove remaining __cplusplus bits from /js (with exceptions). r=jorendorff 2013-06-26 21:35:11 -04:00
Brian O'Keefe 11bcc1cd9e 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 edcdfc8b7d 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 815faf1b41 Fix a typo, no bug 2013-06-17 14:28:11 -07:00
Bobby Holley e6c8230633 Bug 880697 - Push in a few other suspicious places. r=gabor 2013-06-12 14:17:56 -07:00
Bobby Holley b7f1411be5 Bug 880697 - Remove dumbContext. r=gabor
Whew.
2013-06-12 14:17:56 -07:00
Bobby Holley 67591874f4 Bug 880697 - Remove JSD_GetDefaultJSContext and fix callers. r=gabor 2013-06-12 14:17:55 -07:00
Bobby Holley 5e59b212ae 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 945271d0f0 Bug 880697 - Root directly with a runtime in jsd_DestroyScriptHookProc. r=gabor 2013-06-12 14:17:55 -07:00
Bobby Holley 73a4b6ea32 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 f66756e79c 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 c0601a55a3 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 4c7eef9edd 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 73e00f246e 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 5169c0a913 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 cbf0dfe2c7 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 9bb3f2f03c 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 d42489c5a1 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 f2943090bd 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 cdde50556c 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 26736a0ee2 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Ed Morley 5256152aa1 Backed out changeset 496846474ed3 (bug 864774) 2013-05-13 10:05:49 +01:00
Mike Shal 954221d9c9 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 0189e5beba Bug 871192 - Fix more rooting hazards in the JS debugger; r=till 2013-05-12 09:13:22 -04:00
Till Schneidereit 8cf3a4f344 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 f3944d4316 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 aa4cf3899d Bug 868790 - Fix some rooting hazards in the JS Debugger; r=till 2013-05-05 17:13:03 -04:00
Andrew McCreight 116ae0555d Bug 867350 - remove JS_UnwrapObject and JS_UnwrapObjectAndInnerize from jsdbgapi.h r=sfink 2013-05-01 09:19:18 -07:00
Joey Armstrong 321d063783 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Aryeh Gregor f0404a303a Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Daniel Holbert ebaa597877 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 3a4b58252d Bug 851788 - prevent jsd_SetExecutionHook from operating on self-hosted functions. r=jimb 2013-04-23 12:58:24 +01:00
Bobby Holley e27963c8e7 Bug 860438 - Use nsCxPusher in JSD. r=gabor 2013-04-18 11:36:05 -04:00
Sean Stangl dc8230838c Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-16 13:47:10 -07:00
Mike Shal df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Jeff Walden 763718651b 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 23acd61026 Back out a5a1dd3bd8ae (bug 860029) for stupidorange 2013-04-15 12:55:38 -07:00
Sean Stangl d3d0513618 Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-15 11:33:03 -07:00
Phil Ringnalda fe48637b66 Back out 5bf9771e1a28 (bug 860029) for bustage
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl 900638a687 Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn 2013-04-11 18:48:59 -07:00
Andrew McCreight 5afce95861 Bug 856313 - Clean up some Traverse/Unlink declarations. r=smaug 2013-04-02 09:48:59 -07:00
Gabor Krizsanits 716156d923 Bug 820170 - SandboxPrivate for jsd global. r=bholley 2013-04-04 11:27:37 +02:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 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 334c0800cf 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 89e86f9b21 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 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ms2ger 669cc4360c Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Mike Shal cd4191e248 Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00