Dan Gohman
586b9aee99
Bug 910823 - Constify static js::Class/JSClass instances. r=waldo
2013-09-11 05:49:05 -07:00
Jason Orendorff
5b00ce7204
Bug 893186, part 4 - Replace a use of JS_GetUCPropertyAttributes in JSD with a call to JS_GetOwnPropertyDescriptorById. r=luke.
...
--HG--
extra : rebase_source : 4b035be0aec9206c3849c45ade6b88718a15031b
2013-09-06 12:05:30 -05:00
Nicholas Nethercote
95ce2b706f
Bug 912411 (part 1) - Removed some jsapi.h includes in Gecko. r=bz.
...
--HG--
extra : rebase_source : c0b73945bcd6978a616fd846e33e69fae9162d78
2013-09-05 16:08:06 -07:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09: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
Masatoshi Kimura
216f76200c
Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley
2013-09-05 01:02:34 +09: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
Ms2ger
4af9d89266
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
8085d723ed
Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg
2013-08-22 08:56:00 +02: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
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02: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
28c61d3569
Bug 898263 (part 15) - Remove jsutil.h from EXPORTS. r=jorendorff.
...
--HG--
extra : rebase_source : 5a835a5229838dfa03d3536cd2a3569344ccadb1
2013-07-26 00:57:03 -07:00
Trevor Saunders
b2dc01f1a7
bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium
2013-08-08 20:12:37 -04: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
Tom Schuster
8ac55e5939
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04: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
Trevor Saunders
64dbc43c4d
backout bug 886526 because it probably made us use a lot more memory to link on windows
2013-07-29 11:03:21 -04:00
Jon Coppeard
fd4d274d46
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
ac22f0d0ad
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01: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
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