Michael Ficarra
818216374c
Merge branch 'restructuring' of github.com:jashkenas/coffee-script
2011-08-08 13:21:58 -04:00
Michael Ficarra
7cf5988099
allowing classes to extend expressions; fixes #1482
2011-08-07 05:02:01 -04:00
Michael Ficarra
6608a7aa98
fixes #1100 : precedence in or-test compilation of in
2011-08-07 03:43:41 -04:00
Michael Ficarra
be4685589a
fixes #1009 : classes with reserved words as determined names
2011-08-07 01:48:27 -04:00
Michael Ficarra
c222da9dd6
Merge branch 'restructure' of https://github.com/gfxmonk/coffee-script into restructuring
...
Conflicts:
Cakefile
2011-08-05 17:47:54 -04:00
Jeremy Ashkenas
4e71aad124
Merge pull request #1573 from geraldalewis/1464_bound_static_methods
...
1464 bound static methods
2011-08-04 21:00:46 -07:00
Jeremy Ashkenas
1a652a9736
CoffeeScript 1.1.2
2011-08-04 23:17:23 -04:00
Gerald Lewis
0e0d625adb
test for #1464 ... bound class methods now keep context
2011-08-04 13:54:26 -04:00
Michael Ficarra
9f89a83c27
formatting and rewording a test
2011-08-01 17:28:52 -04:00
satyr
9b9612e09c
fixed #1322 ; block comments no longer get out of implicitly called implicit objects
2011-07-27 18:49:48 +09:00
Michael Ficarra
8931e31991
improving test for #1492
2011-07-17 16:43:50 -04:00
Breckin Loggins
8a4a28bd33
Fixing issue #1492 : Consecutive semicolons in compiled output in some situations
2011-07-16 09:34:46 -05:00
Michael Ficarra
f433fa4187
improved test for #1436
2011-07-06 22:15:35 -04:00
Michael Ficarra
594ead00e8
improved tests for #1416 , fixed accidental scope leak in test for #1420
2011-07-06 22:15:35 -04:00
Timothy Jones
4fc52cd08e
Fixes #1467 . Catch now introduces its parameter to scope.
2011-07-06 22:15:35 -04:00
Jann Horn
9d3510a1e4
added another test for #1416
2011-07-06 22:15:35 -04:00
Jann Horn
4c70ea5e09
test for #1416 : don't omit one 'new' when compiling 'new new'
2011-07-06 22:15:35 -04:00
Jann Horn
caa3d1ab5d
added a test for #1436 , for etc. should work as normal property names
2011-07-06 22:15:34 -04:00
gfxmonk
ab17f41652
Moved src/*.coffee under src/coffee-script/ so that lib can be added to $NODE_PATH and only expose the top-level coffee-script namespace. Fixes #1246
2011-07-05 21:58:04 +10:00
Michael Ficarra
0cc5379caa
improved test for #1436
2011-06-30 12:15:00 -04:00
Michael Ficarra
f6fcfa831c
Merge branch 'bugfix-1436' of git://github.com/thejh/coffee-script into thejh_1448
2011-06-30 11:53:24 -04:00
Michael Ficarra
7b5f012f79
improved tests for #1416 , fixed accidental scope leak in test for #1420
2011-06-30 11:35:29 -04:00
Timothy Jones
0f18dff464
Fixes #1467 . Catch now introduces its parameter to scope.
2011-06-29 18:54:23 -04:00
ngn
6f64fc266d
added one more test for #1150
2011-06-22 19:42:07 +03:00
Jann Horn
8b2884e40f
added another test for #1416
2011-06-21 16:42:20 +02:00
Jann Horn
11f2cd4515
test for #1416 : don't omit one 'new' when compiling 'new new'
2011-06-20 18:38:07 +02:00
ngn
5ce7984a2b
Another attempt to fix #1150
...
Here's how the algorithm in balancedString() was modified. When we
encounter a slash in an interpolation, we:
* try to find a heregex right after it; if found---skip it. Three
slashes always terminate a heregex, no matter if there is an open
"#{" before them or not, so we don't have to bother about
sub-interpolations inside the heregex.
* try to find a regex right after it; if found---skip it. Simple
regexen can't contain interpolations.
* otherwise, assume that the slash means division and carry on.
2011-06-19 20:05:38 +03:00
Jann Horn
9941c3f045
added a test for #1436 , for etc. should work as normal property names
2011-06-19 10:49:19 +02:00
Michael Ficarra
25e7eeac8f
Revert "Merge https://github.com/ngn/coffee-script "
...
This reverts commit 277e82bd03 , reversing
changes made to 0f523de212 .
2011-06-17 11:53:48 -04:00
ngn
0f523de212
Fix for #1150 : String interpolation regression
2011-06-15 20:34:12 +03:00
Michael Ficarra
dfcff3f0fc
adding regression test for #1420 ; also cleaned up a little trailing
...
whitespace in the function invocation tests
2011-06-07 04:10:40 -04:00
Michael Ficarra
e240621a72
test for #1409
2011-06-02 01:49:28 -04:00
Jeremy Ashkenas
1fb34e42a6
Revert "fixed condext during construction of bound functions; now using native"
...
This reverts commit 8d6e33c2cf .
2011-05-28 18:58:48 -04:00
Michael Ficarra
8d6e33c2cf
fixed condext during construction of bound functions; now using native
...
Function::bind when it is available. related: #1363
2011-05-27 18:03:57 -04:00
Michael Ficarra
085874d5f3
hopefully the last enhancement for my #1380 fix
2011-05-25 12:57:45 -04:00
Michael Ficarra
e4f47a05f6
merging @TrevorBurnham's pull request #1314 , enhancing CS.eval; closes #1314
2011-05-25 03:53:51 -04:00
Michael Ficarra
8e5eff5e1e
test for #1380
2011-05-25 03:22:06 -04:00
Michael Ficarra
e64fa71185
fixes #1372 : bound class methods with reserved names
2011-05-24 16:49:45 -04:00
Michael Ficarra
c8845643e5
fixes #1385 : property access on parenthesized number literals
2011-05-24 16:27:07 -04:00
Jeremy Ashkenas
004f13f0fc
Merge pull request #1346 from adam-f/fixedsplatscope
...
Fixed improper scoping of siblings to the splat argument.
2011-05-15 17:13:50 -07:00
Jeremy Ashkenas
2563324ed8
merging #1353
2011-05-15 18:56:11 -04:00
Jeremy Ashkenas
d91ccd4003
Issue #1354 , 'in' with splatted arrays.
2011-05-15 18:50:04 -04:00
Jeremy Ashkenas
9e32a5bfa1
fixing implicit invocations against inline try/catch.
2011-05-15 15:04:29 -04:00
Jeremy Ashkenas
cd5c41f351
Issue #1364 , implicit calls against control structures.
2011-05-15 10:41:41 -04:00
Gerald Lewis
bd8d82809b
Updated tests for #1216 and pull #1348
2011-05-11 09:11:41 -04:00
Michael Ficarra
6c9ef76b95
fixed behavioural change accidentally introduced by #1348 , thanks @satyr
2011-05-11 00:08:24 -04:00
Michael Ficarra
a024ec5b27
reverting tests from @geraldalewis's fix for #1216
2011-05-10 23:23:31 -04:00
Gerald Lewis
2212e959ac
Fix for #1216 ?= compilation
2011-05-10 19:33:30 -04:00
Jeremy Ashkenas
a8a581acae
Never return from a constructor.
2011-05-10 10:03:22 -04:00
Jeremy Ashkenas
6d6e07604e
Fixing external constructors / order of execution for once and for all ... knock on wood.
2011-05-10 09:24:20 -04:00