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 |
|
Michael Ficarra
|
4043124135
|
tests for fix to #2052, f3a1f46679
|
2012-04-11 18:35:51 -04:00 |
|
Jeremy Ashkenas
|
f0e17fc20f
|
fixing compound assignments to global variables. oof.
|
2012-04-10 17:07:38 -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 |
|
Michael Ficarra
|
ddd6e9a48b
|
abb11c80d1 didn't consider objects with [[Call]]
|
2012-03-10 11:54:31 -05:00 |
|
Michael Ficarra
|
abb11c80d1
|
splatted constructors returning null should produce the new instance
|
2012-03-07 18:19:53 -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 |
|
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 |
|
clutchski
|
40a9196c7f
|
Removing tab indentation.
|
2012-02-03 19:33:03 -05:00 |
|
clutchski
|
0ca255b7b8
|
Whitespace clean-up.
|
2012-02-03 19:31:26 -05:00 |
|
clutchski
|
8ade4f1077
|
Indentation fix.
|
2012-02-03 19:08:45 -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
|
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 |
|
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 |
|
Gerald Lewis
|
8b179fb391
|
Issue #1547 'use strict' eval and arguments use restricted
|
2012-01-16 17:20:55 -05:00 |
|
Gerald Lewis
|
7521068ba3
|
Issue #1547 'use strict' duplicate formal parameter are prohibited
updated error message (thanks @davidchambers)
code style fixes
|
2012-01-16 17:19:14 -05:00 |
|
Gerald Lewis
|
3a694d7dfa
|
Issue #1547 'use strict' octal escape sequences prohibited
RegExp updated (thanks @michaelficarra)
and hex escapes for colors in Cakefile
tests updated (thanks @satyr)
error message conforms to existing Lexer SyntaxErrors
|
2012-01-16 17:18:13 -05:00 |
|
Gerald Lewis
|
66eb186a74
|
Issue #1547 'use strict' tests
|
2012-01-16 17:17:48 -05:00 |
|
Michael Ficarra
|
e207c983c1
|
cleaned up trailing whitespace; merging @geraldalewis's #2033
|
2012-01-16 15:50:09 -05:00 |
|
Michael Ficarra
|
9a23511965
|
adding test for #2037; should've included it in the first place
|
2012-01-16 15:38:00 -05:00 |
|
Gerald Lewis
|
ee9311c025
|
#1534 class then "use strict": modified strict error condition
|
2012-01-16 14:09:06 -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
|
80677a9d2b
|
#1534 class then "use strict" tests
|
2012-01-12 18:34:50 -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
|
16e297ab61
|
Adding test to ensure that header is disabled by default
|
2012-01-10 14:03:48 -05:00 |
|
Trevor Burnham
|
36a69864e3
|
Adding support for a header with version number to CoffeeScript.compile (#1778)
|
2012-01-10 12:54:21 -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 |
|
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 |
|
Jeremy Ashkenas
|
62a331a3dc
|
Fixes #1961, Fixes #1974, compound assignments to an implicit object.
|
2011-12-26 09:45:48 -08:00 |
|
Michael Ficarra
|
46b34d4b43
|
whitespace cleanup
|
2011-12-24 07:04:34 -05:00 |
|
Michael Ficarra
|
080ed2e8dd
|
fixes #1966: external constructors should produce their return value
|
2011-12-24 06:51:14 -05: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
|
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
|
0f1dbffa40
|
Adding test case: do (x = y) -> overrides existing x value
|
2011-12-19 11:33:52 -05:00 |
|
Jeremy Ashkenas
|
5c24b80367
|
Amending new do test.
|
2011-12-18 21:24:29 -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
|
1018c51359
|
Fixes #494: Forcing named classes in CoffeeScript (named functions) ... even in IE.
|
2011-12-18 20:00:09 -05:00 |
|
Jeremy Ashkenas
|
0e40feb9af
|
prepping for 1.2.0
|
2011-12-18 13:21:00 -05:00 |
|
Jeremy Ashkenas
|
a0aa090f2c
|
Fixes #1859 -- postfix if preceding an unparenthesized single-line function body
|
2011-12-18 12:55:21 -05:00 |
|