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
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 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
Jeremy Ashkenas
8728706237
Merge pull request #1959 from jashkenas/issue1910
...
fixes #1910 : loop index should be mutable within a loop iteration and immutable between loop iterations
2011-12-21 11:42:04 -08:00
Michael Ficarra
c6c527e830
appeasing Jeremy: switching prefix increments out for postfix equivalent
2011-12-21 14:37:38 -05:00
Michael Ficarra
fc0a169a9a
fixes #1910 : loop index should be mutable within a loop iteration and immutable between loop iterations
2011-12-21 14:06:34 -05:00
clutchski
2e06316e31
Allowing both end-points of slices to be implicit.
2011-12-20 19:21:26 -05:00
Trevor Burnham
cfb9cb6fe9
Exiting when users try to use --watch and fs.watch is undefined
2011-12-19 11:23:27 -05:00
Jeremy Ashkenas
a477880edc
Fixes #960 -- 'do' is now more efficient and permissive about undefined values.
2011-12-18 20:53:30 -05:00
Jeremy Ashkenas
00f5f54b77
removing unused DO from grammar
2011-12-18 20:32:09 -05:00
Jeremy Ashkenas
1018c51359
Fixes #494 : Forcing named classes in CoffeeScript (named functions) ... even in IE.
2011-12-18 20:00:09 -05:00
Jeremy Ashkenas
8d8c345216
removing unused @name
2011-12-18 19:37:11 -05:00
Jeremy Ashkenas
dd25ac03e4
fixing the borked previous merge
2011-12-18 18:53:34 -05:00
Jeremy Ashkenas
215979c9e0
bumping to 1.2.1-pre
2011-12-18 15:31:17 -05:00
Jeremy Ashkenas
36c171d78e
style in command watch
2011-12-18 15:27:08 -05:00