Commit Graph

41 Commits

Author SHA1 Message Date
Shu-yu Guo
a0461a486b Refactor structured property names to pseudo-namespaces using bind 2010-08-24 19:45:21 -07:00
Tom Austin
f52b80ff3b Bug 580882. Update to allow Narcissus to work within a browser. r=gal. 2010-08-12 17:00:12 -07:00
Shu-yu Guo
f3322eb6a8 Bug 586817 - eliminate the one use of == that got away. r=pwalton 2010-08-12 16:32:05 -07:00
Dave Herman
ecd49d465e bug 584075, r=taustin: use ExecutionContext.prototype.run instead of push/pop 2010-08-10 15:45:04 -07:00
Dave Herman
c5d0735e45 bug584124, r=shu: njs terminal annoyances 2010-08-09 14:39:01 -07:00
Dave Herman
5da271b2a7 bug 584082, r=pwalton: eliminate uses of == 2010-08-09 14:35:02 -07:00
Shu-yu Guo
cefdea759e Bug 584436 - Better comments for hoisting/block numbering logic. r=dherman 2010-08-09 12:47:41 -07:00
Tom Austin
5075855584 Bug 584625. Renamed Narcissus modules and removed JSON style labels. r=dherman 2010-08-09 12:37:38 -07:00
Dave Herman
9f5d2e6532 bug 584786, r=shu: s/CompilerContext/StaticContext/g 2010-08-06 19:37:24 -07:00
Dave Herman
667d82cfcc bug 585208, r=taustin: reference to undefined Object.getOwnProperties 2010-08-06 17:23:17 -07:00
Dave Herman
b097f3a7a8 bug 584103, r=taustin: Narcissus Harmony mode 2010-08-06 16:26:59 -07:00
Dave Herman
a9b8553184 bug 583001, r=pwalton: narcissus REPL 2010-08-06 16:16:39 -07:00
Chris Leary
83f59dce41 Unbreak narcissus. (r=red) 2010-08-06 10:40:31 -07:00
Chris Leary
d254245df1 Submillisecond now() shell function for benchmark stability. (r=jorendorff) 2010-08-06 10:18:44 -07:00
Shu-yu Guo
d7c1565c57 Bug 584264 - Whitespace cleanup for narcissus and small fix for parser. r=pwalton 2010-08-04 12:07:41 -07:00
Tom Austin
7aea5118ff Bug 584265 - Fix Narcissus error message format. r=gal. 2010-08-03 21:14:49 -07:00
Tom Austin
e4536e1112 Refactored Narcissus to use the module pattern (bug 583913, r=pwalton) 2010-08-03 17:15:02 -07:00
Shu-yu Guo
9dbc7ce7d4 Bug 583806 - Fix calling unbound mkIdentifier in narcissus jsparse.js. r=dherman 2010-08-02 12:17:04 -07:00
Shu-yu Guo
7a91d0dec5 Bug 579230 - Rewrite narcissus expr parser, refactor into builder pattern. r=gal 2010-08-01 12:20:18 -07:00
Dimitrios Vardoulakis
0a1b9ea452 Incorporating patch recommendations for changeset 669386771b5e (bug 579564, r=gal) 2010-07-19 18:41:36 -07:00
Dimitrios Vardoulakis
b5325aea84 Allow more LHS values in for/in loops and fixed yield to take 0 or 1 args. (bug 579564, r=gal) 2010-07-19 17:07:29 -07:00
Dimitris Vardoulakis
e246dfb71d Extension to the narcissus parser to handle Mozilla-specific extensions to JS (572014, r=pwalton). 2010-07-02 10:29:24 -07:00
Tom Austin
977f814b83 Enable __call__ to work without special extensions (bug=578518, r=gal) 2010-07-14 19:06:09 -07:00
Tom Austin
79dbdce42d Eliminate use of __applyConstructor__ (bug=573792, r=gal) 2010-07-14 18:24:42 -07:00
Andreas Gal<gal@uci.edu>
2da4da2ed6 Make narcissus use ES5 defineProperty (bug 546532, r=dherman) 2010-07-14 16:23:21 -07:00
Tom Austin
1dda2b0b6a Create shell for Narcissus JS (bug 572879, r=gal) 2010-07-14 15:02:51 -07:00
Andreas Gal
7e4c61ce49 Backed out changeset 864b37b4c91c. Missing bug# and review. 2010-07-12 23:18:18 -07:00
taustin@host-6-61.mv.mozilla.com
2f0222e5ec Remove Narcissus's dependencies on features available only in special builds 2010-07-12 16:58:38 -07:00
Patrick Walton
7a314129ce Bug 546097 - Narcissus: replace the regex-based lexer with a handwritten one; remove GLOBAL. r=brendan
--HG--
extra : rebase_source : a0cfac8bbbd86302530b3cbe9e82b161a5db2ac4
2010-05-24 13:43:21 -07:00
Brendan Eich
df360e309a Rename ecmaStrictMode to ecma3OnlyMode, use fresh prototype object initialiser for better style. 2010-03-14 15:46:39 -05:00
Brendan Eich
41e896bfce Fuss over comment in last changeset (518765). 2009-09-25 20:20:27 -07:00
Matthias Miller
5c2faf58c9 Bug 518765 - Fix break/continue <label> handling in Narcissus. r=mrbkap
--HG--
extra : rebase_source : 9b55f88d4747cd2751877cfd45a3340a4fc401af
2009-09-25 19:19:12 -07:00
brendan@mozilla.org
834ed0d2cf Patch from nanto@moon.email.ne.jp for misordered alternates in string-lexing regexp, and lack of IE /[/]/ compat in regexp-lexing regexp (433831, r=me, NPOTB). 2008-05-21 15:38:18 -07:00
mrbkap@gmail.com
4dc08713fb Make peek-on-same-line actually work correctly. bug 401246, r=brendan (NPOTB) 2007-12-18 17:15:41 -08:00
brendan@mozilla.org
58958cae30 Fix post-increment/decrement automatic semicolon insertion bug (401466, r=mrbkap). 2007-11-04 14:21:19 -08:00
brendan@mozilla.org
cf0905a942 Fix conditional expressions (401405, r=mrbkap). 2007-10-29 19:35:02 -07:00
brendan@mozilla.org
436344ab70 Include $ and _ in identifier chars (still to do: Unicode alnums and escapes); based on patch from Frankie Robertson <frankierobertson5@googlemail.com> (399625, r=mrbkap). 2007-10-16 16:43:28 -07:00
brendan@mozilla.org
64d2067d93 Fix from Frankie Robertson <frankierobertson5@googlemail.com> to Node toString (399659, r/a=me). 2007-10-16 15:56:16 -07:00
mrbkap@gmail.com
ba5270e7a6 Correctly parse regular expressions with the 'm' and 'y' flags. bug 378486, r=brendan 2007-05-18 18:57:30 -07:00
brendan@mozilla.org
fdc7388265 Fix blunder in reworking of how SpiderMonkey detects a label statement (reported by Steve Yegge). 2007-05-05 21:34:24 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00