Michael Ficarra
818216374c
Merge branch 'restructuring' of github.com:jashkenas/coffee-script
2011-08-08 13:21:58 -04:00
Michael Ficarra
5a9cf5722f
conditional compilation update as per discussion in
...
a5ba0c27ae
2011-08-08 12:55:22 -04:00
Michael Ficarra
a5ba0c27ae
breaking long lines created by 803a7d06e3
2011-08-08 12:27:53 -04:00
Michael Ficarra
7cf5988099
allowing classes to extend expressions; fixes #1482
2011-08-07 05:02:01 -04:00
Michael Ficarra
35a30fbd6d
cleaned up block comment output; fixes #1186
2011-08-07 03:51:51 -04:00
Michael Ficarra
6608a7aa98
fixes #1100 : precedence in or-test compilation of in
2011-08-07 03:43:41 -04:00
Michael Ficarra
803a7d06e3
output formatting cleanup; fixes #1254 : improve when compilation; also
...
causes single-line, single-statement conditional bodies to sit next to
their conditions
2011-08-07 02:59:37 -04:00
Michael Ficarra
be4685589a
fixes #1009 : classes with reserved words as determined names
2011-08-07 01:48:27 -04:00
Michael Ficarra
bf7d62affb
avoiding require.paths poison pill from newer node releases in
...
`CoffeeScript.eval`
2011-08-06 18:12:55 -04:00
Michael Ficarra
718b73a0ba
removed some unnecessary assignment; related: #1491
2011-08-06 13:31:14 -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
55e366f29c
Merge pull request #1571 from MichaelBlume/fix-ternary
...
shorten one of the ternaries
2011-08-04 21:02:16 -07: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
48f3c70013
bumping version to 1.1.3-pre for Trevor's sake ;)
2011-08-04 23:52:27 -04:00
Jeremy Ashkenas
1a652a9736
CoffeeScript 1.1.2
2011-08-04 23:17:23 -04:00
Mike Blume
15fed8d17f
fix another long ternary in the lib
2011-08-04 19:58:27 -07:00
Mike Blume
396f9b3a12
eliminate unnecessary assignment
...
there's no need to assign this entire if statement to condpart
when condpart is assigned at every endpoint
2011-08-04 19:58:27 -07:00
Gerald Lewis
638dbbecbc
fixes issue #1464 ... bound class methods now keep context
2011-08-04 13:54:26 -04:00
Mike Blume
178af9de56
check existence of this.context. Avoid build error
...
https://github.com/jashkenas/coffee-script/issues/1541
with thanks to analyst74 whose bug report made the fix trivial =)
2011-07-31 18:45:30 +00:00
satyr
9b9612e09c
fixed #1322 ; block comments no longer get out of implicitly called implicit objects
2011-07-27 18:49:48 +09:00
Breckin Loggins
2d54fea90c
Fix for issue #1446 : Compiler crashes on permissions error instead of giving meaningful error message
2011-07-18 14:29:45 -05:00
Jeremy Ashkenas
37019dab1c
Merge pull request #1522 from breckinloggins/fix_1470
...
Issue #1470 : Command line compiler now assumes ".coffee" extension if left off of file names
2011-07-18 06:12:44 -07:00
Jeremy Ashkenas
813efbe1d3
Merge pull request #1517 from breckinloggins/master
...
Patch for issue #1492 (consecutive semicolons in compiled output)
2011-07-17 13:31:32 -07:00
Jeremy Ashkenas
7790df0df6
Merge pull request #1518 from taku0/fix_pluckDirectCall
...
Removed a garbage code in `pluckDirectCall`.
2011-07-17 09:21:29 -07:00
Jeremy Ashkenas
c2b32df22b
Merge pull request #1460 from yyyc514/fix_print_with_join
...
compileJoin should happen once after all files are read
2011-07-17 09:11:32 -07:00
Breckin Loggins
479a2e0383
Using string interpolation when adding extension
2011-07-16 14:44:26 -05:00
Breckin Loggins
471cf1d51a
Issue #1470 : Cleaning up logic on extension detection
2011-07-16 14:42:45 -05:00
taku0
ecdaad2fd6
Removed a garbage code in pluckDirectCall.
...
`args` are removed at 094b876a38 .
2011-07-17 02:31:50 +09:00
Breckin Loggins
3e20622bd5
Test implementation of issue #1470 . Assuming '.coffee' extension if file not found
2011-07-16 10:44:37 -05: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
cb8e147212
arranged and formatted nonContextGlobals list in REPL
2011-07-11 13:08:47 -04:00
Michael Ficarra
07baed89ed
Added globals to the REPL that are (for a reason currently unknown to
...
me) not provided by `vm.Script.createContext`
2011-07-11 12:55:29 -04:00
Michael Ficarra
af1cf3400e
fixes tab completion in the REPL
2011-07-10 14:26:31 -04:00
Michael Ficarra
6e9cfd8a33
allow Ctrl-C to escape an unwanted continuation prompt
2011-07-06 22:15:35 -04:00
Michael Ficarra
2a9fd34a03
Made line continuations in the REPL much, much nicer and moved all of
...
the REPL-specific code out of CoffeeScript.eval and into the REPL
function (thanks for the suggestion, @TrevorBurnham)
2011-07-06 22:15:35 -04:00
Michael Ficarra
55383155e5
More accurately emulating node's REPL behaviour with regard to _
...
assignment. Also addresses `i for i in [1..3]` regression introduced by
fff4c9c672 and noticed by @satyr
2011-07-06 22:15:35 -04:00
Michael Ficarra
bb1502a9d7
output a newline before exiting REPL
2011-07-06 22:15:35 -04:00
Michael Ficarra
40ee30ecde
Fixes #1035 , #1425 , and #1444 : (another) overhaul of REPL and
...
CoffeeScript.eval. Instead of writing about all the changes and why I
made those decisions, I'll just answer any questions in the commit
comments, so add a commit comment if you want to question anything.
Thanks to @TrevorBurnham and @satyr for their help/contributions. Also,
closes #1487 . And still no REPL tests...
2011-07-06 22:15:35 -04:00
Timothy Jones
5adf3b8865
Fixes #1461 . Existential assignment now correctly reports if it is a statement.
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
4af47f0c26
second part of fixing #1416
2011-07-06 22:15:35 -04:00
Jann Horn
18f6ad9583
fixes #1416 : don't omit one 'new' when compiling 'new new'
2011-07-06 22:15:35 -04:00
Jann Horn
d32c060e05
fixed #1436
2011-07-06 22:15:35 -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
f6fcfa831c
Merge branch 'bugfix-1436' of git://github.com/thejh/coffee-script into thejh_1448
2011-06-30 11:53:24 -04:00
Timothy Jones
22cee5d2d6
Fixes #1461 . Existential assignment now correctly reports if it is a statement.
2011-06-29 18:54:23 -04:00
Timothy Jones
0f18dff464
Fixes #1467 . Catch now introduces its parameter to scope.
2011-06-29 18:54:23 -04:00
Josh Goebel
cd65c66cf9
combine conditions
2011-06-23 06:54:06 -04:00
Josh Goebel
dc272a680b
compileJoin should happen once after all files are read
2011-06-23 04:42:12 -04:00
Jann Horn
73af3b17b1
second part of fixing #1416
2011-06-21 16:42:53 +02:00