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 |
|
mrbkap%gmail.com
|
a92ebcfd67
|
Part of bug 300736: Reflect Narcissus' evaluate in the global object since we expose it natively in the shell now. r=brendan
|
2005-07-14 07:22:58 +00:00 |
|
mrbkap%gmail.com
|
6d682be208
|
bug 299898: Get Narcissus running the js tests. This adds a way for it to load scripts (using snarf) relative to the calling script (such as js.js). r=brendan a=shaver
|
2005-07-13 16:49:02 +00:00 |
|
mrbkap%gmail.com
|
f47551589c
|
bug 300534: Internal Narcissus functions show up in objects' prototypes. This fixes a failure on the js testsuite and also fixes Narcissus' failure on SpiderMonkey's bug 299641. r=brendan
|
2005-07-13 02:46:10 +00:00 |
|
brendan%mozilla.org
|
e4a82727bb
|
Add dummy or first params to constructors so they have the right arity (length property).
|
2005-07-07 21:47:59 +00:00 |
|
brendan%mozilla.org
|
71eab9c0ac
|
Keep Activation objects from being polluted by native Object.prototype props (using bug 299898, r=mrbkap).
|
2005-07-07 07:29:21 +00:00 |
|
mrbkap%gmail.com
|
b6459f7951
|
Narcissus can now run the Javascript tests, to some extent. Fix a couple of bugs found by the js tests (we were unable to parse the generated function resulting from new Function() and String.fromCharCode was not defined). evaluate() now returns its argument if it isn't a string (to catch things like evaluate(load(...))).
|
2005-07-07 00:53:44 +00:00 |
|
brendan%mozilla.org
|
67eeb2edef
|
Rename FunctionDeclaration to FunctionDefinition, since it handles declarations, statements, and expressions (mimicing ECMA).
|
2005-07-07 00:21:09 +00:00 |
|
brendan%mozilla.org
|
31cabefc0f
|
Fix expression statement (SEMICOLON) nodes to start and end at the same source index as their expression child.
|
2005-07-02 17:26:00 +00:00 |
|
mrbkap%gmail.com
|
423cdcda66
|
Provide snarf and load functions.
|
2005-07-02 04:55:29 +00:00 |
|
brendan%mozilla.org
|
c77919f477
|
Use non-greedy closure to match C-style comments.
|
2005-07-01 23:00:35 +00:00 |
|
brendan%mozilla.org
|
1056b77193
|
Never mind\!
|
2005-07-01 20:48:23 +00:00 |
|
brendan%mozilla.org
|
a48f461e71
|
Add function statements, an ECMA Ed. 3 extension supported by SpiderMonkey.
|
2005-06-30 18:16:19 +00:00 |
|
brendan%mozilla.org
|
0efbaf9c4b
|
One more followup fix: __defineProperty__ should probably be global.
|
2005-06-12 18:45:53 +00:00 |
|
brendan%mozilla.org
|
241e1ec5d6
|
Followup to last checkin to delete constructor from Activation.prototype.
|
2005-06-12 18:28:33 +00:00 |
|