Rod Knowlton
d7f9054108
change phrasing of watch help text
2011-09-08 18:02:23 -05:00
Rod Knowlton
ed4f7046d3
clarify --watch option in "coffee -h" output
2011-09-07 20:19:14 -05:00
satyr
ad1bc1e0b8
closes #1669 ; loop results are now collected in the same way as auto-returns are generated
2011-09-07 12:13:23 +09:00
satyr
2ea51b02cc
fixed #1102 ; lexer: cleaned up unfinished
2011-09-07 02:56:14 +09:00
Trevor Burnham
067cd4b4fe
Allowing eval with a sandbox, but defaulting to global context
2011-09-04 13:53:44 -04:00
Trevor Burnham
e8b3e2f248
Restoring the ability to CoffeeScript.eval code in a sandbox
2011-09-04 12:38:59 -04:00
Trevor Burnham
cce9ac28c9
Taking an axe to the sandbox (see discussion at #1661 )
2011-09-04 12:26:39 -04:00
Gerald Lewis
76b6a1771b
fixes #1195 : lex out semicolons before newlines and at end of program
2011-09-04 12:18:22 -04:00
Trevor Burnham
efd503f84a
Reloading globals after every REPL command (actually fixes #1654 )
2011-09-04 10:05:26 -04:00
Trevor Burnham
7ba52ae729
Blacklisting certain globals from REPL rather than whitelisting ( fixes #1654 )
2011-09-04 09:54:13 -04:00
Gerald Lewis
43a8b46203
fixes #1643 : splatted accesses in destructuring assignments no longer create obj.key var declarations
2011-09-01 14:47:10 -04:00
Gerald Lewis
e17b67e6f2
fixes #1591 : splatted expressions in destructuring assignment must be assignable
2011-08-30 11:12:25 -04:00
Michael Ficarra
b4e2240ede
fixes #1633 : error output when using coffee -e
2011-08-27 13:21:03 -04:00
Michael Ficarra
2ff6c4c3fc
fixes #1630 : in should check indices of the right operand when it can
...
pass a `hasOwnProperty` check for them
2011-08-26 15:44:00 -04:00
John Yanarella
0bf0f6d721
Resolved an issue that could occur while compiling with the --join option which would cause the compiler to silently fail with no resulting output file.
...
While recursively traversing a source directory, if a directory was encountered containing either no .coffee files (ex. an .svn metadata directory) or where the last file processed in that directory was not a .coffee file, compileJoin() might never be called.
This issue was originally introduced by a (well-needed) optimization in commit dc272a680b .
In join mode, anytime the 'unprocessed' count is decremented, the remaining file count should be evaluated to determine if it is time to run compileJoin(). Previously, compileJoin() would only ever be called in one of the four possible terminating branches of this recursive asynchronous operation.
2011-08-22 13:32:54 -04:00
Michael Ficarra
3ef0c1c88a
reverting stylistic change from parent commit
2011-08-16 10:53:08 -03:00
Michael Ficarra
5b115ddb74
(probably) expressing Jeremy's intentions
...
edited via Github, so no changes to /lib/coffee-script.js
2011-08-16 08:53:15 -03:00
Gerald Lewis
2fb2ddb9b4
fixes #1513 -- top level bare obj literals now wrapped in parens for unary and exists operations
2011-08-15 11:06:36 -04:00
Jeremy Ashkenas
7e4d6198d4
#1568 , new super in a function body.
2011-08-14 17:24:19 -04:00
Jeremy Ashkenas
9a026e51bd
Issue #1595 , reusing a variable in a catch leads to missing declaration.
2011-08-14 17:04:54 -04:00
Jeremy Ashkenas
50982b668b
Issue #1598 -- enabling super() calls in static functions in class bodies.
2011-08-14 16:51:59 -04:00
Jeremy Ashkenas
42f2bd926b
Merge pull request #1590 from geraldalewis/proto_access
...
#1234 Protoype Access in :: Operator
2011-08-12 11:21:46 -07:00
Gerald Lewis
c9fd0659c2
revised patch for #1234 ; consolidated Value#push and Value#concat into Value#add; removed unnecessary INDEX_PROTO
2011-08-12 13:38:34 -04:00
Michael Ficarra
c3fe29455b
finishing up fix for #1009 : class @do; it's a little bit ugly, but it
...
makes sense to do it this way
2011-08-11 01:52:10 -04:00
Michael Ficarra
df5aca9348
fixes #1005 : invalid identifiers allowed on LHS of destructuring
...
assignment
2011-08-11 01:11:33 -04:00
Gerald Lewis
29a44b84d5
fixes #1234 ... :: now creates an intermediary "prototype" Access node before any additional property accesses
2011-08-10 22:01:47 -04:00
Michael Ficarra
13ac72239a
repl: allowing tab completion of an empty line and masking __X
...
reserved helpers from tab completion; fixes #1583
2011-08-08 18:26:50 -04:00
Michael Ficarra
5a9cf5722f
conditional compilation update as per discussion in
...
a5ba0c27ae
2011-08-08 12:55:22 -04:00
Michael Ficarra
a5ba0c27ae
breaking long lines created by 803a7d06e3
2011-08-08 12:27:53 -04:00
Michael Ficarra
7cf5988099
allowing classes to extend expressions; fixes #1482
2011-08-07 05:02:01 -04:00
Michael Ficarra
35a30fbd6d
cleaned up block comment output; fixes #1186
2011-08-07 03:51:51 -04:00
Michael Ficarra
6608a7aa98
fixes #1100 : precedence in or-test compilation of in
2011-08-07 03:43:41 -04:00
Michael Ficarra
803a7d06e3
output formatting cleanup; fixes #1254 : improve when compilation; also
...
causes single-line, single-statement conditional bodies to sit next to
their conditions
2011-08-07 02:59:37 -04:00
Michael Ficarra
be4685589a
fixes #1009 : classes with reserved words as determined names
2011-08-07 01:48:27 -04:00
Michael Ficarra
bf7d62affb
avoiding require.paths poison pill from newer node releases in
...
`CoffeeScript.eval`
2011-08-06 18:12:55 -04:00
Michael Ficarra
718b73a0ba
removed some unnecessary assignment; related: #1491
2011-08-06 13:31:14 -04:00
Jeremy Ashkenas
55e366f29c
Merge pull request #1571 from MichaelBlume/fix-ternary
...
shorten one of the ternaries
2011-08-04 21:02:16 -07:00
Jeremy Ashkenas
4e71aad124
Merge pull request #1573 from geraldalewis/1464_bound_static_methods
...
1464 bound static methods
2011-08-04 21:00:46 -07:00
Jeremy Ashkenas
48f3c70013
bumping version to 1.1.3-pre for Trevor's sake ;)
2011-08-04 23:52:27 -04:00
Jeremy Ashkenas
1a652a9736
CoffeeScript 1.1.2
2011-08-04 23:17:23 -04:00
Mike Blume
15fed8d17f
fix another long ternary in the lib
2011-08-04 19:58:27 -07:00
Mike Blume
396f9b3a12
eliminate unnecessary assignment
...
there's no need to assign this entire if statement to condpart
when condpart is assigned at every endpoint
2011-08-04 19:58:27 -07:00
Gerald Lewis
638dbbecbc
fixes issue #1464 ... bound class methods now keep context
2011-08-04 13:54:26 -04:00
Mike Blume
178af9de56
check existence of this.context. Avoid build error
...
https://github.com/jashkenas/coffee-script/issues/1541
with thanks to analyst74 whose bug report made the fix trivial =)
2011-07-31 18:45:30 +00:00
Michael Ficarra
e7854bec09
changed uses of the slice method to CS slices in nodes.coffee
2011-07-31 13:25:57 -04:00
satyr
9b9612e09c
fixed #1322 ; block comments no longer get out of implicitly called implicit objects
2011-07-27 18:49:48 +09:00
Breckin Loggins
2d54fea90c
Fix for issue #1446 : Compiler crashes on permissions error instead of giving meaningful error message
2011-07-18 14:29:45 -05:00
Jeremy Ashkenas
37019dab1c
Merge pull request #1522 from breckinloggins/fix_1470
...
Issue #1470 : Command line compiler now assumes ".coffee" extension if left off of file names
2011-07-18 06:12:44 -07:00
Jeremy Ashkenas
813efbe1d3
Merge pull request #1517 from breckinloggins/master
...
Patch for issue #1492 (consecutive semicolons in compiled output)
2011-07-17 13:31:32 -07:00
Jeremy Ashkenas
7790df0df6
Merge pull request #1518 from taku0/fix_pluckDirectCall
...
Removed a garbage code in `pluckDirectCall`.
2011-07-17 09:21:29 -07:00