Jeremy Ashkenas
7792a3a6e3
CoffeeScript 1.3.2
2012-05-14 14:45:20 -04:00
Michael Ficarra
ed705403ad
Merge pull request #2299 from geraldalewis/2213-no-method-is-array
...
Wraps up #2211 -- addresses invocations within destructured params
2012-05-12 17:30:48 -07:00
Michael Ficarra
d5ddd0f783
removing redundant cases in lexer; thanks @satyr
2012-05-08 16:42:09 -04:00
Michael Ficarra
848d10594b
reverting premature start of solution to #2306
2012-05-08 16:22:26 -04:00
Michael Ficarra
caf3da2f66
lexer/parser: split out null and undefined from BOOL token
...
also made explicit AST nodes `Bool`, `Null`, and `Undefined`
2012-05-08 16:14:28 -04:00
Gerald Lewis
f1b286469a
Wraps up #2211 -- addresses invocations within destructured params
2012-05-02 18:03:32 -04:00
Jeremy Ashkenas
46065199cd
Fixes #2287 -- tweak extends to make jshint easier
2012-04-25 17:33:21 -04:00
Jeremy Ashkenas
879fe3976d
Fixes #2197 -- uncached double existential
2012-04-25 15:04:15 -04:00
Jeremy Ashkenas
6bcc798a76
Fixes #2207 -- unambiguous immediate implicit closes don't close implicit objects
2012-04-25 14:14:00 -04:00
Maxwell Krohn
3e95d7f2d0
Reapply the removed patch from bugfix_1183 in PR 2252. Include a test
...
case to show it's required.
What's going on: inside of Coffee-generated closures, calling `super()`
is implicitly making use of `this` (or explicitly doing so if you look
at the output code), so we have to pass `this` through closures as if
`@` is being accessed within the closure. So, just add one more
condition to the list in `Closure::literalThis`
2012-04-24 21:48:18 -04:00
Jeremy Ashkenas
34be878257
Fixes #1183 , Refactors #2252 , super calls in inner functions
2012-04-24 17:23:37 -04:00
Jeremy Ashkenas
87257ea6b3
Fixes #2258 -- allow parameter lists in the vertical style.
2012-04-24 16:56:39 -04:00
Jeremy Ashkenas
8bc6001d27
Fixes #2280 -- add enumerable prototypal properties to autocompletion.
2012-04-24 16:26:07 -04:00
Jeremy Ashkenas
afdcdcfd54
Fixes #2273 , reverts #643 -- no special variable treatment for loop variables.
2012-04-24 15:37:26 -04:00
Jeremy Ashkenas
4fc9a345bb
Fixes #2274 -- allow @variables as loop variables
2012-04-24 12:21:47 -04:00
Gerald Lewis
99394e1011
Fixes issue where destructured assignment params were incorrectly identified as duplicates.
2012-04-23 20:41:56 -04:00
Trevor Burnham
3b1a566117
Hidden files no longer queued for --join ( fixes #2263 )
2012-04-23 13:59:42 -04:00
Trevor Burnham
d58da49cee
Intermediate version bump to 1.3.2-pre
2012-04-23 13:34:04 -04:00
Jeremy Ashkenas
0fada5109a
Merge pull request #2213 from geraldalewis/2211-destructed-splats
...
Issue #2211 -- splats in destructured parameters
2012-04-23 09:00:22 -07:00
Michael Ficarra
46ff7705ee
corrections for octal escape sequences; allows "\0" alone; see #1547
...
Relevant sections of the spec:
* http://es5.github.com/#C
* http://es5.github.com/#B.1.2
* http://es5.github.com/#x7.8.4
2012-04-20 18:29:40 -04:00
Michael Ficarra
53a82da3f3
fixes #2255 : global leak with splatted @-params
2012-04-12 23:46:28 -04:00
Maxwell Krohn
2f13fae6f0
restore proper error messages
2012-04-11 19:32:40 -04:00
Maxwell Krohn
7b66e22bc6
now it works for all of #1183 . This should do it.
2012-04-11 18:22:52 -04:00
Maxwell Krohn
5542e00b80
sart work on a bugfix, but we're not covering the exact case in issue #1183
2012-04-11 18:05:33 -04:00
Michael Ficarra
f3a1f46679
fixes #2052 : don't manually assign constructors' name property
...
I'm not sure how we would test this, so... no tests.
2012-04-11 12:14:44 -04:00
Michael Ficarra
08673261b1
comments in the REPL should have no output, not undefined
2012-04-11 11:43:31 -04:00
Jeremy Ashkenas
60c9b94656
CoffeeScript 1.3.1 (quick bugfix for compound assignment to a global variable
2012-04-10 17:26:23 -04:00
Jeremy Ashkenas
f0e17fc20f
fixing compound assignments to global variables. oof.
2012-04-10 17:07:38 -04:00
Jeremy Ashkenas
ed8d94f69c
CoffeeScript 1.3.0
2012-04-10 14:57:45 -04:00
Michael Ficarra
53fe10e4ad
REPL once again permits indented expressions
2012-04-05 21:33:15 -04:00
Michael Ficarra
b4e1e54cf7
fixes #2239 : REPL didn't accept expressions that were just comments
2012-04-05 18:10:05 -04:00
Michael Ficarra
22db7ae85a
Octal and binary literals are more appropriately converted to hex
2012-03-27 21:31:48 -04:00
Michael Ficarra
6a88ce7d1e
fixes #2224 : various issues related to number lexing
...
This was... embarrassing. I'm just really glad we didn't cut a release
before this got fixed.
2012-03-27 21:31:20 -04:00
Gerald Lewis
c5737764b5
Issue #2211 -- splats in destructured parameters
2012-03-23 13:20:15 -04:00
Michael Ficarra
ddd6e9a48b
abb11c80d1 didn't consider objects with [[Call]]
2012-03-10 11:54:31 -05:00
Michael Ficarra
d6fbfa55b6
number literal error messages: more consistent, removed pluralisation
2012-03-08 14:44:47 -05:00
Michael Ficarra
abb11c80d1
splatted constructors returning null should produce the new instance
2012-03-07 18:19:53 -05:00
Trevor Burnham
ef0cb46b9b
Following symlinks when setting module.paths ( fixes #2175 )
2012-03-05 15:00:20 -05:00
Michael Ficarra
44e1ccec7e
eval's options argument should default to {}, even in the browser
2012-03-02 22:51:38 -05:00
Jeremy Ashkenas
7c1f4b38f4
start with 1, then 2 for reused vars.
2012-02-29 23:46:03 -05:00
Jeremy Ashkenas
b9cfb5a7d8
Fixes #2155 -- existential assignment to a closure
2012-02-29 23:41:57 -05:00
Jeremy Ashkenas
1c8411f628
merging in early error for compound assignment to undeclared variables.
2012-02-28 10:42:11 -05:00
Trevor Burnham
de9970412a
Making bare the default for eval in the browser ( fixes #2148 )
2012-02-27 12:13:46 -05:00
Jeremy Ashkenas
bc2ca1ef73
building missed commit change.
2012-02-26 11:48:33 -05:00
Michael Ficarra
127653b7d4
fixes #1537 : ignore hidden files/directories in watched directories
2012-02-22 12:19:30 -05:00
Michael Ficarra
12d6461bbe
added help indicator for passing arguments to scripts run with coffee
2012-02-14 12:25:14 -05:00
Michael Ficarra
28a1101b91
merging/improving @rolftimmermans fix/tests for #2007
2012-02-13 19:47:21 -05:00
Michael Ficarra
8248601b72
Merge branch 'object_literals_in_compr' of https://github.com/rolftimmermans/coffee-script into rolftimmermans-object_literals_in_compr
...
Conflicts:
test/objects.coffee
2012-02-13 19:41:47 -05:00
Jakub Wieczorek
eb8e20c3ef
Fix a confusing error message for '(arguments) ->'
2012-02-12 15:38:42 +01:00
Ken Gregson
cb0003d894
Issue #2105 refined
...
Fix updated as suggested by michaelficarra
2012-02-05 19:40:29 -05:00