Jan de Mooij
0989c0d0ea
Bug 918808 part 2 - Remove cruft from InflateStringToBuffer. r=luke
2013-09-21 11:36:33 +02:00
Brian Hackett
2e644832a0
Bug 906371 - Use off thread JS parsing when loading async scripts, r=bz,billm.
2013-09-11 17:42:09 -06:00
Yaron Tausky
32359c386d
Bug 676739 - Part 1: Suppress unnecessary temporary strings in js::ToAtom. r=luke
2013-08-27 11:17:41 +02:00
Nicholas Nethercote
9f1e2f02b8
Bug 912411 (part 3) - Remove lots of jsapi.h includes in SpiderMonkey. r=luke.
...
--HG--
extra : rebase_source : c2219e3a911b8242a6aa89f91997fbd7caa542dc
2013-09-05 16:08:57 -07:00
Jon Coppeard
59b1e87d30
Bug 726687 - GC: rewrite key marking in terms of HashMap::rekey r=terrence
2013-02-15 10:42:39 +00:00
Andy Wingo
77fa36aa00
Bug 666399 - New Harmony syntax for generators. r=Waldo
...
Add a GeneratorKind enumeration, and use it in the parser and runtime to
indicate whether a function is a non-generator, a legacy generator, or a
star generator.
Always parse "yield" as TOK_YIELD, regardless of the version. Add
TokenStream::currentName() to retrieve the current token's name, which
works for TOK_NAME or TOK_YIELD. The parser should check the validity
of "yield" as a name, if needed, using checkYieldNameValidity().
Parse "function*" as the StarGenerator GeneratorKind, and allow star
generators to be lazily parsed.
Separate parsing of return statements from yield expressions.
2013-08-20 11:03:24 +02:00
Brian Hackett
b7e615b76f
Bug 897655 - Use off thread parsing when loading scripts from XUL documents, r=billm,bz,luke.
2013-08-15 14:14:43 -07:00
Bill McCloskey
0e9f41a620
Bug 904282 - Don't mark atoms during last GC (r=jonco)
2013-08-14 14:48:40 -07:00
Ryan VanderMeulen
b8270688ec
Backed out changeset bfa3c469cb74 (bug 666399) for bustage on a CLOSED TREE.
2013-08-14 16:50:21 -04:00
Andy Wingo
d2a8b28589
Bug 666399 - New Harmony syntax for generators. r=Waldo
...
Add a GeneratorKind enumeration, and use it in the parser and runtime to
indicate whether a function is a non-generator, a legacy generator, or a
star generator.
Always parse "yield" as TOK_YIELD, regardless of the version. Add
TokenStream::currentName() to retrieve the current token's name, which
works for TOK_NAME or TOK_YIELD. The parser should check the validity
of "yield" as a name, if needed, using checkYieldNameValidity().
Parse "function*" as the StarGenerator GeneratorKind, and allow star
generators to be lazily parsed.
Separate parsing of return statements from yield expressions.
2013-08-14 16:04:36 +02:00
Brian Hackett
ac342eaa66
Bug 902095 - Allow accessing the compartment/zone for ExclusiveContext, r=billm.
2013-08-13 09:13:46 -06:00
Daniel Holbert
5147b2a802
Backed out changeset fde265c467b2 (Bug 902095) for SM(r) bustage
2013-08-12 13:40:15 -07:00
Brian Hackett
aafd4bd829
Bug 902095 - Allow accessing the compartment/zone for ExclusiveContext, r=billm.
2013-08-12 13:57:02 -06:00
Nicholas Nethercote
a1efea7412
Bug 902917 - Remove some unnecessary #includes in SpiderMonkey. r=till.
...
--HG--
extra : rebase_source : 2a767e04768a94eb943370bbe7945a8dc409bf1d
2013-08-08 16:07:22 -07:00
Nicholas Nethercote
b756f6b258
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Emanuel Hoogeveen
6f6abdbd4a
Bug 888088 (part 6) - Fix #include ordering in some of js/src/*.{h,cpp}. r=nnethercote.
...
--HG--
extra : rebase_source : bbf807155c1ed049a49cc2da73bbf55e0f334820
2013-07-23 17:34:18 -07:00
Brian Hackett
e37d00a29c
Bug 875125 - Allow scripts to be parsed/emitted off the main thread, r=billm.
2013-07-19 08:06:02 -06:00
Terrence Cole
17a6011de3
Bug 895220 - Do not OOM in AtomizeAndCopyChars if using NoGC; r=bhackett
...
--HG--
extra : rebase_source : 208b4cb5e652ed7f854586d676e0d055c065b330
2013-07-18 13:55:39 -07:00
Bobby Holley
ba7f2199ac
Bug 887334 - Use the new AutoCompartment overload for the atoms compartment and remove AutoEnterAtomsCompartment. r=bhackett
...
We have to do some temporary hackiness to deal with some of the new PJS work.
This patch stays as true to the old world as possible, so that we can more
easily backport it.
2013-07-17 11:53:52 -07:00
Brian Hackett
9030e6dd26
Bug 892187 - Fix spurious uses of ExclusiveContext->asJSContext(), r=billm.
2013-07-15 08:12:40 -06:00
Nicholas Nethercote
faef963035
Bug 888768 (part 3) - Remove unnecessary *-inl.h #includes, as found by include-what-you-use. r=till.
...
--HG--
extra : rebase_source : 74b89e7ed7d9279061d88b29fff8e9c50c3a0050
2013-07-11 18:31:01 -07:00
Brian Hackett
4f07a29526
Bug 885758 - Add ExclusiveContext for use by threads with exclusive access to their compartment, r=billm.
2013-07-10 09:29:52 -06:00
Andy Wingo
54cc94601c
Bug 648949 - Remove HAS_JS_GENERATORS #define. r=Waldo, r=jorendorff
2013-06-26 12:34:47 +02:00
Emanuel Hoogeveen
ea1eb05d97
Bug 886128 - Fix various clang warnings and some potential bugs in nonstandard configurations. r=nnethercote,terrence.
...
--HG--
extra : rebase_source : 0d833ecc9879f5d9fd0a28f9b4eca7793d01aa40
2013-06-24 21:32:05 -07:00
Till Schneidereit
5dd065bdd1
Bug 885300 - don't inline js::ToAtom. r=nnethercote
...
--HG--
extra : rebase_source : c37bc721e71402afb9a479bb2acc2c8b4b45e58b
2013-06-21 02:59:39 +02:00
Nicholas Nethercote
b3f46c1c3c
Bug 634839 (part 2b) - Remove more unnecessary headers (as found by include-what-you-use) from SpiderMonkey. r=jorendorff.
...
--HG--
extra : rebase_source : 5d6a4d653160a9c4a9645b14bebbcfab71b50ef4
2013-06-12 22:20:27 -07:00
Dan Gohman
d26e929f47
Bug 883574 - Add const qualifiers to variables and pointers in the JS tree. r=evilpies
2013-06-17 18:31:47 -07:00
Nicholas Nethercote
1e829260c6
Bug 880565 (part 1) - Move isFunction() et al from jsobjinlines.h to jsobj.h and minimize the number of files that #include jsobjinlines.h. r=benjamin.
...
--HG--
extra : rebase_source : f0d6b1b5825e115b33f2d14c0a6ed9c7ee4ef1ca
2013-06-05 19:07:43 -07:00
Brian Hackett
c05bafac01
Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke.
2013-06-10 15:22:18 -06:00
Ms2ger
afaa2a6431
Bug 868725 - Pass non-const jschar* to AtomizeAndTakeOwnership; r=evilpie
2013-05-05 09:03:18 +02:00
Terrence Cole
a5286c2569
Bug 867426 - Remove RawFlatString typedef; r=jonco
...
--HG--
extra : rebase_source : bdb9ef87e1b8a1b90b95863dddefe342d78dbc57
2013-04-30 15:39:03 -07:00
Terrence Cole
07d21c260d
Bug 867426 - Remove RawAtom typedef; r=jonco
...
--HG--
extra : rebase_source : 03175addf7920cc778a667ebb96615c749eeb757
2013-04-30 15:38:45 -07:00
Jon Coppeard
9a13fa3820
Bug 866789 - GC: Fix some more shell rooting hazards r=terrence
2013-04-30 11:18:18 +01:00
Nicholas Nethercote
a28003635b
Bug 634839 (part 1) - Remove unnecessary headers (as found by include-what-you-use) from js/src/jsfoo.cpp files. r=luke.
2013-04-23 23:44:36 -07: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
Phil Ringnalda
045ce0a190
Back out 5bf9771e1a28 (bug 860029) for bustage
...
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
fe2fb42954
Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn
2013-04-11 18:48:59 -07:00
Tom Schuster
c7c169d8e6
Bug 836949 - Remove InternNonIntElementId/FetchElementId. r=jwalden
2013-04-09 13:33:32 +02:00
Jon Coppeard
782040481a
Bug 848449 - GC: Remove AutoAssertNoGC and AssertCanGC - Remove use of AssertCanGC r=terrence
...
--HG--
extra : rebase_source : 571a1c515d382c94d7a4c4398a08ea48d5507294
2013-03-06 18:10:30 +00:00
Ed Morley
8b6f1835f1
Backed out changeset d01a2a30d626 (bug 848449)
2013-03-07 13:03:27 +00:00
Jon Coppeard
330353d2b1
Bug 848449 - GC: Remove AutoAssertNoGC and AssertCanGC - Remove use of AssertCanGC r=terrence
...
--HG--
extra : rebase_source : 234e493f9db6b85c054f5a5189a60d3ca632ab62
2013-03-06 18:10:30 +00:00
Jon Coppeard
27a00914cc
Bug 847934 - GC: Remove Unrooted - Remove use of DropUnrooted and rename UnrootedThings to RawThings r=terrence
...
--HG--
extra : rebase_source : 27612f3672c220fae2da8dad437a6db24f3ede2f
2013-03-05 18:32:12 +00:00
Landry Breuil
5fbb00b7b4
Bug 840611: Fix build on BE archs (ie ppc) after bug 834242. r=terrence
2013-02-12 22:29:29 +01:00
Terrence Cole
7cd779f640
Bug 837845 - Manually backout the largest memory users from bug 798624; r=Waldo
2013-02-05 14:22:27 -08:00
Nicholas Nethercote
4ede79f464
Bug 839376 (part 3) - Some low-hanging exact rooting fruit. sfink.
...
--HG--
extra : rebase_source : 1d236895915f9474fd8e50c399bf2cd8139a6b5f
2013-02-11 14:04:25 -08:00
Nicholas Nethercote
524f6ea9b5
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
2013-01-24 21:24:57 -08:00
Phil Ringnalda
b4eec14ca3
Back out 66882ea6f8c7 (bug 788293) and 32f09cb3c7b6 (bug 834090) for bustage
...
CLOSED TREE
2013-01-31 22:29:30 -08:00
Nicholas Nethercote
ae7837bdef
Bug 788293 - Remove e4x support. r=jorendorff,terrence,evilpie.
...
Ding dong! The witch is dead!
--HG--
extra : rebase_source : 7574f5620e303c25120fcfc8ceb2099ad75c8f1b
2013-01-24 21:24:57 -08:00