Jeremy Ashkenas
8c01df7828
Merge branch 'stable'
2011-04-09 16:02:10 -07:00
Jeremy Ashkenas
ff8faa4cd7
Merge branch 'stable' of github.com:jashkenas/coffee-script into stable
2011-04-09 16:01:20 -07:00
Jeremy Ashkenas
8dfd53620c
Merge branch 'module-loading' of https://github.com/josh/coffee-script into stable
2011-04-09 16:00:17 -07:00
Michael Ficarra
0090aee0e5
full revert of 4ce374be25
2011-04-09 10:48:14 -04:00
Michael Ficarra
230dea1243
fixes #1274 : {}=a() and []=a() compile to false instead of a()
2011-04-09 09:54:45 -04:00
Michael Ficarra
31ae260282
unnecessarily strict {in,}equality in existence checks
2011-03-29 17:25:09 -04:00
Michael Ficarra
b0d2bf4afe
Merge branch 'improvedRangeCompilation' of github.com:michaelficarra/coffee-script into michaelficarra-improvedRangeCompilation
2011-03-28 00:51:42 -04:00
Michael Ficarra
8f73bc3b4c
Merge branch 'bugfix-1108' of https://github.com/thejh/coffee-script into thejh-bugfix-1108
2011-03-27 23:54:46 -04:00
Jann Horn
e84e703211
fixes bug mentioned by @satyr in #1108
...
"[v] = a ? b" must compile to
v = (typeof a != "undefined" && a !== null ? a : b)[0];
and not to:
v = typeof a != "undefined" && a !== null ? a : b[0];
2011-03-27 21:22:09 +02:00
Jann Horn
0497c0742f
fixes #1099 : instead of nothing, compile to false
...
"if a in []"
2011-03-27 19:46:44 +02:00
Joshua Peek
573e2b0012
Assign module.paths for node_module loading
2011-03-25 15:36:48 -05:00
Michael Ficarra
c4b72fcc79
improved range compilation
2011-03-23 13:49:15 -04:00
Jeremy Ashkenas
3b2bade2f2
Use the newer Node.js binding for 'vm'.
2011-03-16 05:47:58 -05:00
Jeremy Ashkenas
cdeb28a793
missing space.
2011-03-16 05:45:17 -05:00
Jeremy Ashkenas
963adb5230
merging jcoglan's splat declaration patch.
2011-03-12 07:41:14 -06:00
James Coglan
b9343b458f
Fix scoping of splat parameters in argument lists.
2011-03-12 11:46:07 +00:00
Jeremy Ashkenas
b7855857b5
stop trimming all trailing whitespace.
2011-03-11 22:39:32 -05:00
Michael Ficarra
aa54b23713
fixes #1168 : leading floating point suppresses newline (thanks, satyr)
2011-02-27 02:11:35 -05:00
Timothy Jones
96b22a16eb
Closes #1001 . Throw cannot be directly used as an expression with parens, but can appear as a statement in an expression.
2011-02-23 15:50:28 +13:00
Timothy Jones
5fbbfbcbe3
Closes #1082 . Puts back use of function calls in parameter lists.
2011-02-23 13:20:01 +13:00
Jeremy Ashkenas
6f21f8a402
merging stable
2011-02-01 22:02:57 -05:00
Trevor Burnham
abfc99308d
Setting process.argv[1] to equal the filename of the script being run (issue 1087)
2011-02-01 21:41:20 -05:00
Jeremy Ashkenas
955c87ef30
Bumping version to 1.0.2-pre
2011-02-01 21:32:58 -05:00
Jeremy Ashkenas
005c5309c4
Merging in stable at 1.0.1
2011-01-31 23:34:34 -05:00
Jeremy Ashkenas
c44d9ae923
CoffeeScript 1.0.1
2011-01-31 22:39:12 -05:00
Jeremy Ashkenas
a487259e8e
Backporting the REPL fix for Node 0.3.7 and Coffee 1.0-stable
2011-01-31 22:27:56 -05:00
Jeremy Ashkenas
37308e6760
Issue #1071 , parenthesizing undefined literals when accessed.
2011-01-30 21:16:39 -05:00
Jeremy Ashkenas
4ce374be25
Issue #870 ... placeholders in destructuring assignment.
2011-01-30 20:49:02 -05:00
Jeremy Ashkenas
8b8e8a94ff
Issue #997 ... Maloptimized break suppression.
2011-01-30 20:28:11 -05:00
Jeremy Ashkenas
3c9fdde24b
resolved merge
2011-01-30 19:40:59 -05:00
Jeremy Ashkenas
578a46fbda
Issue #875 -- console.log in the REPL
2011-01-30 19:32:07 -05:00
Jeremy Ashkenas
654c933e30
fixing version number to 1.1.0-pre ... to make it installable with npm.
2011-01-30 17:00:07 -05:00
Timothy Jones
83a86aacb5
Closes #1068 . Don't know why CALL_START was in that file.
2011-01-24 19:57:31 +13:00
Timothy Jones
f231809e22
Swapping == with <, just in case.
2011-01-23 00:54:43 +13:00
Timothy Jones
2c8e0a6914
Merge branch 'readline0.3.6' of https://github.com/agnoster/coffee-script into agnoster
2011-01-23 00:43:18 +13:00
Isaac Wolkerstorfer
496816acff
Add backwards compatibility for older readline
...
Check the readline.createInterface for arity. If it is 3,
assume the newer interface requiring separate stdin and stdout.
Otherwise, use the older calling style.
2011-01-22 12:30:22 +01:00
Isaac Wolkerstorfer
78b52f5716
Replace stdio with stdin/stdout pair for readline
...
On Node.js v0.3.6, the readline interface expects (in, out, complete).
This change makes the coffee-script repl conform to that expectation.
2011-01-22 11:40:25 +01:00
Timothy Jones
2ca108820f
Closes #973 . New is more careful around the do construct.
2011-01-22 23:26:38 +13:00
Timothy Jones
dc6bd715b2
Closes #970 . Statements that use new are wrapped in parens to avoid the closure being used.
2011-01-22 23:12:39 +13:00
Timothy Jones
18a1e01d64
Closes #971 . Existensial slices now supported.
2011-01-22 19:56:14 +13:00
Timothy Jones
15e1078d01
I suppose there's no reason to ever call a prototype like a function.
2011-01-22 19:34:30 +13:00
Timothy Jones
06b0c7e928
Closes #1064 . Dot accesses force the next token to be an identifier.
2011-01-22 19:29:07 +13:00
Jeremy Ashkenas
3924c2f2bd
First draft of fixing shorthand objects mixed with regulars within arrays.
2011-01-19 22:36:30 -05:00
Jeremy Ashkenas
7625d900d3
toTimeString -> toLocaleTimeString
2011-01-19 22:17:53 -05:00
Jeremy Ashkenas
53dc1f2055
Merging in donjones' implicit object fix, hooray.
2011-01-18 23:46:55 -05:00
Jeremy Ashkenas
e706fa4a58
Merge branch 'master' of https://github.com/donjones/coffee-script
2011-01-18 23:38:22 -05:00
Jeremy Ashkenas
65e81e4034
Merge branch '1.0-stable'
2011-01-18 23:29:44 -05:00
Jeremy Ashkenas
1f2f55bea3
merging in chetan51's Node 0.2.5 compatibility patch. Homebrew timestamps.
2011-01-18 23:28:37 -05:00
Jeremy Ashkenas
4b78790096
Making #1050 a syntax error.
2011-01-18 23:10:09 -05:00
Jonas Dohse
d200619774
Check for invalid implicit values
2011-01-18 23:31:50 +01:00