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
Ken Gregson
7becf808c7
Issue #2105
...
Make REPL continuation work better. Check for trailing "\" fails when
run function is called with buffer terminated by newline. Chomp'ing
buffer to remove newline fixes this issue.
2012-02-05 19:12:33 -05:00
Michael Ficarra
c0dac45fe1
OptionParser and related tests needed a cleanup
...
The object returned from OptionParser::parse no longer has a `literals`
property. It was pretty arbitrary, anyway.
2012-01-25 19:47:03 -05:00
Gerald Lewis
a080bd40fb
Issue #2060 cleanup
2012-01-21 11:21:03 -05:00
Gerald Lewis
34e517de09
Issue #2060 Disallow uppercase radix prefixes and exponential notation
2012-01-20 17:23:50 -05:00
Gerald Lewis
c3a8a4f81f
Issue #2054 "{arguments}"
...
Fixes error message: SyntaxError: variable name may not be "true"
Permits assigning to "arguments" and "eval" properties in
object literals.
2012-01-19 11:33:43 -05:00
Michael Ficarra
7c56da26f6
fixes #2055 : destructuring assignment with new
2012-01-18 23:12:50 -05:00
Michael Ficarra
97cd2dbc41
committing compiled command.js
2012-01-18 23:12:08 -05:00
Michael Ficarra
233cd27d70
rebuilding REPL with newest CS compiler
2012-01-16 19:22:31 -05:00
Michael Ficarra
0bf488ea49
fixes #2001 : spoof a REPL readline interface to handle piped REPL input
2012-01-16 19:20:24 -05:00
Gerald Lewis
bf8e0aa1ea
Issue #1547 'use strict' style tweaks, cleanup, and compiled output
2012-01-16 17:35:21 -05:00
Gerald Lewis
4372138fdd
Issue #1547 'use strict' Python-style octal literal notation 0o777
...
Allows octals in the form '0o777' and '0O777'
Case insensitive
Disallows decimals prefixed with '0'
2012-01-16 17:22:19 -05:00
Michael Ficarra
df7ab264ab
fixes #2037 : line terminators are incorrectly added after herecomments
...
thanks @geraldalewis for finding the relevant line and making this fix
way too easy for me
2012-01-16 15:38:00 -05:00
Michael Ficarra
9e1d418d7a
CoffeeScript.run should be able to safely omit options
2012-01-16 15:38:00 -05:00
Gerald Lewis
2ec4c38433
#1534 class then "use strict": multiple directives support
2012-01-14 15:07:32 -05:00
Gerald Lewis
fd1fa7d551
#1534 class then "use strict": herecomments fix
2012-01-13 13:59:24 -05:00
Gerald Lewis
5816de39ba
#1534 class then "use strict" compiled output
2012-01-12 18:35:04 -05:00
Michael Ficarra
6d33a2e1a0
allowing capital B in binary literals; see #2021 ; thanks @BrendanEich
2012-01-12 13:21:29 -05:00
Michael Ficarra
ff05575b78
fixes #1973 : redefining Array/Object constructors shouldn't break helpers
2012-01-10 17:01:27 -05:00
Trevor Burnham
86e4d79ffb
Early return from CoffeeScript.compile when header not enabled
2012-01-10 14:00:29 -05:00
Trevor Burnham
11342ef97b
Rebuilding -> our JS files now include the generated header
2012-01-10 12:55:41 -05:00
Rolf Timmermans
64b0e50609
Fix error that prevented object literals from being properly returned from comprehensions.
2012-01-09 09:08:58 +01:00
Michael Ficarra
642fcbbbfe
Last commit accidentally broke autocompletion. Fixed.
2012-01-03 18:21:26 -05:00
Michael Ficarra
58bb6725e4
fixes #1979 : add multiline support to the REPL; press Ctrl-v to activate
2012-01-03 14:56:17 -05:00
Jeremy Banks
3484ca5e64
Merge remote-tracking branch 'jashkenas/master' into fix-conditional-assignment
...
Conflicts:
test/assignment.coffee
2012-01-03 03:09:46 -05:00
Jeremy Ashkenas
8dfec65034
Fixes #1980
2011-12-27 16:54:14 -08:00
Jeremy Ashkenas
4a0e8139ea
Merge pull request #1970 from michaelficarra/issue1966
...
fixes #1966 : external constructors should produce their return value
2011-12-27 09:33:56 -08:00
Michael Ficarra
c8059a752f
fixes #1976 : minor REPL tab completion bug fixes
2011-12-27 00:45:29 -05:00
Jeremy Ashkenas
62a331a3dc
Fixes #1961 , Fixes #1974 , compound assignments to an implicit object.
2011-12-26 09:45:48 -08:00
Michael Ficarra
90e0ce97e4
unnecessary
2011-12-24 15:44:51 -05:00
Trevor Burnham
3b3c069c3b
Moving rewatch to end of function for scoping (thanks, satyr)
2011-12-24 11:00:09 -08:00
Michael Ficarra
080ed2e8dd
fixes #1966 : external constructors should produce their return value
2011-12-24 06:51:14 -05:00
Michael Ficarra
0c4cb309b0
getting rid of excessive spaces after Class.name = "Class" assignment
2011-12-24 06:49:21 -05:00
Michael Ficarra
8d5f800e2f
literals need newlines after them
2011-12-24 06:46:09 -05:00
Michael Ficarra
e2a205ab22
making use of slicing syntax
2011-12-24 06:04:05 -05:00
Trevor Burnham
e5f3750de2
Removing rewatchTimer (see discussion at #1964 )
2011-12-22 12:02:25 -08:00
Trevor Burnham
65d21766b7
Rewatching files more liberally and consistently
2011-12-22 11:30:12 -08:00
Trevor Burnham
2a0521fba6
Freeing compilation from 250ms delay
2011-12-22 11:03:39 -08:00
Trevor Burnham
97cd7cc1c9
Rewatching on every file event, be it change or rename
2011-12-22 10:58:30 -08:00
Trevor Burnham
d3f60599e8
Removing duplicate watchErr declaration (my bad)
2011-12-22 10:50:10 -08:00