Eddy Bruel
0addd54c6d
Bug 930411 - Implement export declarations; r=bholley
2013-11-11 20:05:40 +01:00
Eddy Bruel
f9421e5961
Bug 927116 - Implement reflect support for import declarations; r=jorendorff
...
CLOSED TREE
2013-11-06 20:04:45 +01:00
Wes Kocher
bf93b8ef19
Backed out 3 changesets (bug 927116) for Win debug XPCShell test bustage
...
Backed out changeset dfeee13c85fb (bug 927116)
Backed out changeset 17b2babbe34e (bug 927116)
Backed out changeset 13f60271f4f6 (bug 927116)
2013-11-06 12:53:11 -08:00
Eddy Bruel
f38b56c834
Bug 927116 - Implement reflect support for import declarations; r=jorendorff
2013-11-06 20:04:45 +01:00
Eddy Bruel
51682afe46
Bug 568953 - Back out obsolete module code; r=jorendorff
2013-11-05 16:10:34 +01:00
Andy Wingo
6ff317627b
Bug 923160 - Disallow initializers in for-of statements. r=jorendorff
2013-10-15 16:43:55 +02:00
Birunthan Mohanathas
0010ee6e0a
Bug 784739 - Switch from NULL to nullptr in js/src/ (6/9); r=ehsan
...
--HG--
extra : rebase_source : ecee31cff18206c7f74e9c71f954c0e75e80af53
2013-10-07 12:44:00 -04:00
Andy Wingo
82fddc2498
Bug 666396 - Implemement yield*. r=jorendorff, r=Waldo
2013-09-19 15:26:26 +02:00
Jason Orendorff
2dfd8fbbfc
Bug 905774 - Make Reflect.parse play better with proxies. Remove GetPropertyDefault. r=bhackett.
2013-09-06 21:40:49 -05:00
Daniel Holbert
c96ef00b1c
Bug 913124: Put ASTSerializer into anonymous namespace, since one of its member-vars is in anonymous namespace (& to silence GCC warning). r=Waldo
2013-09-05 17:03:41 -07:00
Dan Gohman
db861120ea
Bug 910829 - SpiderMonkey: Put cpp-private classes in anonymous namespaces. r=waldo
2013-08-31 06:19:15 -07: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
Nicholas Nethercote
25d70fdd97
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
Nicholas Nethercote
ba723f1034
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Terrence Cole
7bde45b12a
Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
...
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Emanuel Hoogeveen
ed9985b034
Bug 888088 (part 7) - Fix #include ordering in the rest of js/src/*.{cpp,h}. r=nnethercote.
...
--HG--
extra : rebase_source : 253fa50c332274315386b4c166bcb60acb9389ad
2013-07-23 17:34:50 -07:00
Nicholas Nethercote
0d3b60738e
Bug 887558 (part 3) - Use JSObject::{is,as} for JSObject itself. r=sfink.
...
--HG--
extra : rebase_source : 510677697603e6502c738f5460b7bea4bffd7f27
2013-07-04 00:50:50 -07:00
Nicholas Nethercote
202710e7aa
Bug 888768 (part 1) - Remove unnecessary js*inlines.h #includes, as found by include-what-you-use. r=bhackett.
...
--HG--
extra : rebase_source : 255befadc7d1bd1ed0ef1720cb8043db74ce48a8
2013-07-11 15:15:17 -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
Ms2ger
09a439737c
Bug 887009 - Pass MutableHandleValue to Invoke(); r=terrence
2013-07-01 09:03:13 +02:00
Justin Lebar
6c46d0633d
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
de08e1432c
Bug 820686 - Rename MOZ_NOT_REACHED() and JS_NOT_REACHED() to MOZ_ASSUME_NOT_REACHED(). r=waldo
...
This includes a mechanical renaming of MOZ_NOT_REACHED to MOZ_ASSUME_NOT_REACHED in JS. Later patches in this queue clean up whitespace errors and so on.
2013-06-28 18:38:31 -07:00
Andy Wingo
54cc94601c
Bug 648949 - Remove HAS_JS_GENERATORS #define. r=Waldo, r=jorendorff
2013-06-26 12:34:47 +02:00
Jason Orendorff
569146d06a
Bug 883434 - Give TokenPos a real constructor. r=ejpbruel.
...
--HG--
extra : rebase_source : 4820e91d38810d03dff3c0bddaea104f53e7c12c
2013-06-21 08:18:01 -05:00
Nicholas Nethercote
26a3b8af49
Bug 880041 (part 22) - Use JSObject::{is,as} for JSFunction. r=sfink.
...
--HG--
extra : rebase_source : 43c8c65c7d00edffde12c5b1ec8a1aff42acc7fe
2013-06-17 23:53:49 -07:00
Jason Orendorff
fedc7fc5aa
Bug 883226, part 1 - Clean up RegExp parsing. Remove NullaryNode::create in favor of constructors. r=Waldo.
2013-06-19 14:43:38 -05: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
459e100d0f
Bug 880041 (part 9) - Use JSObject::{is,as} for RegExpObject. r=sfink.
...
--HG--
extra : rebase_source : 083c58e8a82bf7edb2a46e24cae47236af51a2ac
2013-06-16 17:39:43 -07:00
Jason Orendorff
5efef28172
Bug 872735, part 5 - Remove newNullary from the ParseHandler protocol. It is only used for array holes; replace it with a newElision method. Add PNK_ELISION to distinguish elisions from sequence expressions (which use PNK_COMMA). r=Waldo.
2013-06-14 16:30:40 -05:00
Jason Orendorff
a41b625c13
Bug 872735, part 3 - Add PNK_LABEL for labeled statement nodes. Remove ForgetUse. r=Waldo.
2013-06-14 16:30:40 -05:00
Jason Orendorff
b61970a5f4
Bug 872717 - Remove PNX_FORINVAR. Its only user, jsreflect.cpp, does not really need the hint. r=luke.
2013-06-06 22:47:23 -05:00
Terrence Cole
a69c96beb2
Bug 879079 - Fix some exact rooting static analysis failures under js/src; r=bhackett
...
--HG--
extra : rebase_source : 3d5181531aef48516f1ec257b674e033a2da2aa6
2013-06-03 16:30:00 -07:00
Brian Hackett
dd12c2726c
Bug 878293 - Remove Parser::init, cleanup parse maps pool, r=waldo.
2013-06-04 15:53:29 -06:00
Jan de Mooij
135b1ff6f7
Bug 876670 - Refactor object literal getter/setter bytecode and implement it in the baseline compiler. r=bhackett
2013-05-30 18:51:03 +02:00
Brian Hackett
ddbb9d9519
Bug 678037 - Add (disabled) ability to parse script bytecode lazily, r=luke.
2013-05-30 06:29:56 -06:00
Terrence Cole
6fd7532d07
Bug 867426 - Remove RawValue typedef; r=jonco
...
--HG--
extra : rebase_source : f349413647882730b91ec0bd196772359ec63073
2013-04-30 15:40:56 -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
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
Xin Zhang
5d0104d77b
Bug 857385 - Make various JSFunctionSpec arrays const. r=waldo
...
--HG--
extra : rebase_source : 24141998ffad3b0e6bad98b6fc0ce3754e448d5b
2013-04-22 14:15:49 -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
Eddy Bruel
5d6c788743
Bug 568953 - Added reflection support for module declarations; r=jorendorff
2013-04-02 18:00:49 +02:00
Nicholas Nethercote
a500e79db2
Bug 747831 - Record buffer offset in ParseNodes instead of line number and column index (2nd attempt). r=jorendorff.
...
--HG--
extra : rebase_source : 91591dfc8b7a9e0e73c0133915be1fff261e88a2
2013-03-11 15:56:58 -07:00
Ryan VanderMeulen
155fdbd5f9
Backed out changeset d1b71de5bbc1 (bug 747831) for Windows bustage.
2013-03-19 15:50:18 -04:00
Nicholas Nethercote
f07ae1230a
Bug 747831 - Record buffer offset in ParseNodes instead of line number and column index. r=jorendorff.
2013-03-11 15:56:58 -07:00
Jason Orendorff
a0dce0b367
Bug 846406 - Implement arrow functions. r=bhackett. Changes to Y.js r=brendan.
2013-03-17 20:42:36 -07:00
Brian Hackett
e2d5ca1724
Bug 835587 - Add syntax only mode to parser, r=jorendorff.
2013-02-26 08:41:57 -07:00