Paul Young
c29597b3bc
Fixes #2441 : Remove (deprecated) registerExtension support.
2012-08-08 20:01:07 -04:00
Michael Ficarra
7c29ea4d38
removing code that restricts duplicate key names and associated tests
2012-05-21 13:49:00 -04:00
Michael Ficarra
6c6c8bd454
typo in test case for #2333
2012-05-21 13:28:18 -04:00
Michael Ficarra
81f780f1fb
finally put #2333 to rest by resorting to using indirect eval
...
related: #1772 , #1776 ; we're relying on the underlying engine having the
string escaping behaviour we want instead of implementing it manually.
2012-05-21 13:26:29 -04:00
Michael Ficarra
972a5299d5
correct spacing around operators in slice output
2012-05-20 16:32:10 -04:00
Michael Ficarra
b8149812cd
fixes #2349 : inclusive slicing to numeric strings
2012-05-20 16:22:25 -04:00
Michael Ficarra
df54c63b1b
yet another small cleanup and obscure bugfix related to #2333
2012-05-16 15:29:00 -04:00
Michael Ficarra
1810d9f318
object key dupe checking again: support newlines and \a in strings
2012-05-16 12:53:28 -04:00
Michael Ficarra
29b9c3bb29
correcting broken fix for #2333 regarding string escape sequences
...
Sorry for all the commits! It should really be done this time.
2012-05-16 10:36:00 -04:00
Michael Ficarra
f31ff7774a
fix escaping in test for #2333
2012-05-16 08:19:06 -04:00
Michael Ficarra
fa82859814
another refactoring for #2333
2012-05-16 07:02:16 -04:00
Michael Ficarra
dc9565f54a
fix to #2333 greatly improved, but still depends on eval :(
2012-05-16 02:03:02 -04:00
Michael Ficarra
c264bf04cc
fixes #2333 : fix prohibition of duplicate object properties
2012-05-16 01:07:10 -04:00
Jeremy Ashkenas
e3454ed7fb
Fixes #2331 -- bound 'super' regression
2012-05-15 12:30:51 -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
Colin Ross
fa899ab810
Fix typo in test name
2012-05-12 06:34:12 +01:00
Gerald Lewis
f1b286469a
Wraps up #2211 -- addresses invocations within destructured params
2012-05-02 18:03:32 -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
e433098eb2
Adding a test for #2273
2012-04-24 15:39:22 -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
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
Michael Ficarra
4043124135
tests for fix to #2052 , f3a1f46679
2012-04-11 18:35:51 -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
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
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
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