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

84 Коммитов

Автор SHA1 Сообщение Дата
Shu-yu Guo 2a50bb7e2a Bug 590750 - Parse regexps inside array initializers. (r=taustin) 2010-08-25 17:08:30 -07:00
Shu-yu Guo ae564d6e66 Refactor structured property names to pseudo-namespaces using bind 2010-08-24 19:45:21 -07:00
Tom Austin 15c65933e8 Bug 580882. Update to allow Narcissus to work within a browser. r=gal. 2010-08-12 17:00:12 -07:00
Shu-yu Guo e85bb5d024 Bug 586817 - eliminate the one use of == that got away. r=pwalton 2010-08-12 16:32:05 -07:00
Dave Herman c42bca5b25 bug 584075, r=taustin: use ExecutionContext.prototype.run instead of push/pop 2010-08-10 15:45:04 -07:00
Dave Herman df3eed20c6 bug584124, r=shu: njs terminal annoyances 2010-08-09 14:39:01 -07:00
Dave Herman 1bf0b3e5b6 bug 584082, r=pwalton: eliminate uses of == 2010-08-09 14:35:02 -07:00
Shu-yu Guo 0bb85030ba Bug 584436 - Better comments for hoisting/block numbering logic. r=dherman 2010-08-09 12:47:41 -07:00
Tom Austin 71c9de831c Bug 584625. Renamed Narcissus modules and removed JSON style labels. r=dherman 2010-08-09 12:37:38 -07:00
Dave Herman 9bdc2490f7 bug 584786, r=shu: s/CompilerContext/StaticContext/g 2010-08-06 19:37:24 -07:00
Dave Herman 5c5c9f8201 bug 585208, r=taustin: reference to undefined Object.getOwnProperties 2010-08-06 17:23:17 -07:00
Dave Herman 1614e2213e bug 584103, r=taustin: Narcissus Harmony mode 2010-08-06 16:26:59 -07:00
Dave Herman ef7d2e0f35 bug 583001, r=pwalton: narcissus REPL 2010-08-06 16:16:39 -07:00
Chris Leary d736a3fc02 Unbreak narcissus. (r=red) 2010-08-06 10:40:31 -07:00
Chris Leary 08cd583707 Submillisecond now() shell function for benchmark stability. (r=jorendorff) 2010-08-06 10:18:44 -07:00
Shu-yu Guo 9db674cd91 Bug 584264 - Whitespace cleanup for narcissus and small fix for parser. r=pwalton 2010-08-04 12:07:41 -07:00
Tom Austin 8db0de03a1 Bug 584265 - Fix Narcissus error message format. r=gal. 2010-08-03 21:14:49 -07:00
Tom Austin 718da39323 Refactored Narcissus to use the module pattern (bug 583913, r=pwalton) 2010-08-03 17:15:02 -07:00
Shu-yu Guo 15bf6158a3 Bug 583806 - Fix calling unbound mkIdentifier in narcissus jsparse.js. r=dherman 2010-08-02 12:17:04 -07:00
Shu-yu Guo 58c2ef3eb9 Bug 579230 - Rewrite narcissus expr parser, refactor into builder pattern. r=gal 2010-08-01 12:20:18 -07:00
Dimitrios Vardoulakis 602a8fad95 Incorporating patch recommendations for changeset 669386771b5e (bug 579564, r=gal) 2010-07-19 18:41:36 -07:00
Dimitrios Vardoulakis 7595053185 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 0e8b4646ae 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 29d5a7430a Enable __call__ to work without special extensions (bug=578518, r=gal) 2010-07-14 19:06:09 -07:00
Tom Austin 811054a54f Eliminate use of __applyConstructor__ (bug=573792, r=gal) 2010-07-14 18:24:42 -07:00
Andreas Gal ecb673add9 Make narcissus use ES5 defineProperty (bug 546532, r=dherman) 2010-07-14 16:23:21 -07:00
Tom Austin a4f0509795 Create shell for Narcissus JS (bug 572879, r=gal) 2010-07-14 15:02:51 -07:00
Andreas Gal 1e48c2449a Backed out changeset 864b37b4c91c. Missing bug# and review. 2010-07-12 23:18:18 -07:00
taustin@host-6-61.mv.mozilla.com 6e0a4af7e2 Remove Narcissus's dependencies on features available only in special builds 2010-07-12 16:58:38 -07:00
Patrick Walton 6af5c970fa 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 a46b42234f Rename ecmaStrictMode to ecma3OnlyMode, use fresh prototype object initialiser for better style. 2010-03-14 15:46:39 -05:00
Brendan Eich e8a6dd8b70 Fuss over comment in last changeset (518765). 2009-09-25 20:20:27 -07:00
Matthias Miller 25ece53e4e 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 0b62c0a1e4 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 3e0670e952 Make peek-on-same-line actually work correctly. bug 401246, r=brendan (NPOTB) 2007-12-18 17:15:41 -08:00
brendan@mozilla.org c14ddb9adf Fix post-increment/decrement automatic semicolon insertion bug (401466, r=mrbkap). 2007-11-04 14:21:19 -08:00
brendan@mozilla.org db5d699473 Fix conditional expressions (401405, r=mrbkap). 2007-10-29 19:35:02 -07:00
brendan@mozilla.org df567b52fb 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 5f7baa7b6c 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 8fe65a69cb 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 eca0bc73e1 Fix blunder in reworking of how SpiderMonkey detects a label statement (reported by Steve Yegge). 2007-05-05 21:34:24 -07:00
mrbkap%gmail.com f50ceb399b Use __applyConstructor__ to allow for an arbitrary number of parameters to be passed to native constructors. bug 331429, r=brendan 2006-05-09 19:23:39 +00:00
mrbkap%gmail.com a9e8f95b55 Use the right object constructors. bug 334024, r=brendan 2006-04-18 18:12:53 +00:00
brendan%mozilla.org 33af4e7a97 Add exec-time ecmaStrictMode flag and use it to allow 'for (i in null)' and the like. 2006-04-15 05:02:08 +00:00
mrbkap%gmail.com ee5ae83517 Only avoid calling toObject when v is null. bug 333911, r=brendan 2006-04-14 18:14:43 +00:00
mrbkap%gmail.com cde0d2439f Don't throw when given |for (i in null)| to match SpiderMonkey and to match users' expectations. bug 333911, r=brendan 2006-04-13 22:49:56 +00:00
mrbkap%gmail.com dc0e278951 Fixing some silliness from my last checkin, tokenstr takes a tokentype, not the token itself. r=brendan 2006-03-22 06:23:59 +00:00
mrbkap%gmail.com 1d4b9a7b0a Handle assignment inside the then part of ternary expressions correctly according to the ECMAScript grammar. bug 330975, r=brendan 2006-03-22 03:00:03 +00:00
mrbkap%gmail.com 5c696de243 Don't forget to throw syntax errors for missing parentheses or brackets. bug 331127, r=brendan 2006-03-20 20:57:51 +00:00
mrbkap%gmail.com f60971fc05 Don't pollute String.prototype. bug 330976, r=brendan 2006-03-20 20:15:15 +00:00