Nami-Doc
|
1917bb69ed
|
Fix #2944
|
2013-04-21 12:33:00 +02:00 |
|
Marc Häfner
|
69d66a1d4d
|
Fixes #1057: Allow catch/finally in single line functions.
* Don't end single-line functions at `catch` or `finally`.
* Remove unused `IMPLICIT_BLOCK` and superfluous test for `IF`.
|
2013-04-15 20:20:52 +02:00 |
|
Marc Häfner
|
cf07fcb4b1
|
#2900 -- parameter-less catch clause.
Plus some minor cleanup after f8c6b494aa
|
2013-04-12 17:50:45 +02:00 |
|
Jeremy Ashkenas
|
170f311101
|
Merge branch 'master' of https://github.com/jashkenas/coffee-script
|
2013-04-06 09:31:30 +08:00 |
|
Jeremy Ashkenas
|
0cadcdc097
|
Fix regression with executable class bodies and prototypal attachment.
|
2013-04-06 09:31:24 +08:00 |
|
Jeremy Ashkenas
|
8be65dee93
|
Merge pull request #2886 from danielgtaylor/repl-history
Add history to the coffee interactive interpreter that persists between ...
|
2013-03-27 15:55:15 -07:00 |
|
Nami-Doc
|
53a5f26430
|
fix #2846
|
2013-03-25 18:56:24 +01:00 |
|
Daniel G. Taylor
|
a1ff4ae7b8
|
Use separate variable for fd used to read history file; use string interpolation to print code lines; do not use unit test to remove temporary file and instead use a process exit event handler
|
2013-03-25 09:49:59 -07:00 |
|
Daniel G. Taylor
|
3251efa9c6
|
Add unit test to read and run a line from the interpreter history file and remove the dummy history file after tests have completed.
|
2013-03-25 08:47:34 -07:00 |
|
Demian Ferreiro
|
22e8856b4d
|
Add floor division // and modulo %% operators, and compound forms of the new operators
Also kill the empty regex :(
|
2013-03-25 03:19:05 -03:00 |
|
Demian Ferreiro
|
08b59aef8a
|
Make power operator have higher precedence than unary operators: +, -, ~, !
|
2013-03-25 00:05:04 -03:00 |
|
Demian Ferreiro
|
e237abff84
|
Merge branch 'power-operator' of git://github.com/charliesome/coffee-script into more-math-operators
Conflicts:
src/nodes.coffee
test/operators.coffee
|
2013-03-24 22:47:46 -03:00 |
|
Demian Ferreiro
|
c0d1f22487
|
Add test for compiler errors on require()d files
|
2013-03-21 03:11:31 -03:00 |
|
Hao-kang Den
|
b2d6997eff
|
encode unicode src, test added
|
2013-03-21 09:04:23 +08:00 |
|
Jeremy Ashkenas
|
78d10f30a0
|
removing sourceColumn reset
|
2013-03-18 21:50:40 +08:00 |
|
Jeremy Ashkenas
|
6786bab2ba
|
Big refactor of SourceMap class. Literate CoffeeScript. Purdy.
|
2013-03-18 19:23:05 +08:00 |
|
Jeremy Ashkenas
|
4f815ea978
|
Fixes #2737, fix fork() for both .js and .coffee, revised.
|
2013-03-18 11:46:54 +08:00 |
|
Jeremy Ashkenas
|
2f5b11b295
|
Fixes #2555
|
2013-03-17 19:27:16 +08:00 |
|
Marc Häfner
|
44c2b4aa7f
|
Test case for literal mode: Code blocks must be preceded by blank line.
|
2013-03-15 03:23:09 +01:00 |
|
Demian Ferreiro
|
45bcd9fa2f
|
Keep REPL running on runtime errors
|
2013-03-11 23:58:00 -03:00 |
|
Michael Ficarra
|
20d98c7106
|
@epidemian typo
|
2013-03-11 21:48:21 -05:00 |
|
Demian Ferreiro
|
119ec16e5e
|
Add REPL scoping tests
|
2013-03-11 20:16:48 -03:00 |
|
Demian Ferreiro
|
f0fcf4aee0
|
Merge branch 'master' of git://github.com/jashkenas/coffee-script into improved-error-messages
Conflicts:
lib/coffee-script/coffee-script.js
lib/coffee-script/command.js
lib/coffee-script/helpers.js
lib/coffee-script/lexer.js
lib/coffee-script/nodes.js
lib/coffee-script/repl.js
src/coffee-script.coffee
src/command.coffee
src/helpers.coffee
src/lexer.coffee
src/nodes.coffee
test/helpers.coffee
|
2013-03-10 20:29:36 -03:00 |
|
Jeremy Ashkenas
|
dbb99f31a7
|
Reverting #2490
|
2013-03-10 07:21:00 +08:00 |
|
Jeremy Ashkenas
|
13fae12f69
|
Fixes #2490 -- adding guard-style if blocks
|
2013-03-09 10:40:37 +08:00 |
|
Jason Walton
|
c4f50b52d7
|
Merge remote-tracking branch 'upstream/master'
Conflicts:
lib/coffee-script/helpers.js
test/helpers.coffee
|
2013-03-08 10:17:47 -05:00 |
|
Jason Walton
|
242f397bfa
|
Remove dead variables.
|
2013-03-07 21:30:04 -05:00 |
|
Jason Walton
|
f85d19b459
|
Rework API for sourcemap filenames and paths.
|
2013-03-07 21:26:09 -05:00 |
|
Jeremy Ashkenas
|
8f7f3627e0
|
Fixes #2796, by adding a test for it.
|
2013-03-07 23:13:22 +13:00 |
|
Jeremy Ashkenas
|
8b134cf348
|
Add an additonal test, courtesy @matehat
|
2013-03-07 23:10:39 +13:00 |
|
Jeremy Ashkenas
|
67de35ff29
|
Fixes #2781, fixes #2782. Reverting to old method of instance method binding.
|
2013-03-07 23:09:32 +13:00 |
|
Jeremy Ashkenas
|
774ee6a554
|
merge
|
2013-03-07 22:59:23 +13:00 |
|
Fahad Ibnay Heylaal
|
18fec7e202
|
tests for baseFileName helper for files with only coffee-script extensions as the file name.
|
2013-03-07 10:23:36 +06:00 |
|
Fahad Ibnay Heylaal
|
072df5ecc9
|
more test coverage for baseFileName helper.
|
2013-03-07 10:15:01 +06:00 |
|
Fahad Ibnay Heylaal
|
4d7151aa5d
|
fix: compiling coffee.coffee produces .js file.
|
2013-03-07 03:41:34 +06:00 |
|
Jason Walton
|
ce6772f2be
|
Better fix for sourceRoot and relative path for .coffee files in source maps.
|
2013-03-06 15:45:47 -05:00 |
|
Jason Walton
|
d6e1a979e4
|
Fix sourceRoot and relative path for .coffee files in generated source maps.
|
2013-03-06 11:05:57 -05:00 |
|
Jeremy Ashkenas
|
de8ec2beb0
|
Fixes #1066 -- interpolated strings are not implicit funcs
|
2013-03-05 21:28:29 +13:00 |
|
Jeremy Ashkenas
|
355754ed20
|
Fixes #1055 -- disallow invalid keys in object literals ... but allow them where the implicit object is being used as a class defn' or a destructuring
|
2013-03-05 21:10:56 +13:00 |
|
Demian Ferreiro
|
5da7f6a488
|
Get rid of CompilationError and instead have a couple of functions on helpers.coffee
|
2013-03-05 01:13:46 -03:00 |
|
Demian Ferreiro
|
b400047045
|
Merge branch 'master' of git://github.com/jashkenas/coffee-script into improved-error-messages
Conflicts:
Cakefile
lib/coffee-script/coffee-script.js
lib/coffee-script/command.js
lib/coffee-script/nodes.js
lib/coffee-script/repl.js
src/coffee-script.coffee
src/helpers.coffee
src/nodes.coffee
src/repl.coffee
|
2013-03-04 23:42:47 -03:00 |
|
Jeremy Ashkenas
|
903e9c994c
|
Fixes #2773 -- tricky dependency ordering when overriding bound functions.
|
2013-03-05 15:35:02 +13:00 |
|
Jeremy Ashkenas
|
9f614fedec
|
CoffeeScript 1.6.0
|
2013-03-05 08:19:08 +13:00 |
|
Jason Walton
|
96785872cd
|
Merge remote-tracking branch 'upstream/master' into sourcemaps
Conflicts:
lib/coffee-script/coffee-script.js
lib/coffee-script/command.js
lib/coffee-script/nodes.js
src/coffee-script.coffee
src/command.coffee
src/nodes.coffee
|
2013-03-04 09:25:55 -05:00 |
|
Troels Nielsen
|
37a6ea63b1
|
#2757, Allow non-significant commas at end of nested implicit objects
|
2013-03-04 12:55:15 +01:00 |
|
Jeremy Ashkenas
|
cf11a570e9
|
Fixes #2489, fixes #1819, fixes #1821 -- remove the __bind helper.
|
2013-03-04 23:11:38 +13:00 |
|
Jeremy Ashkenas
|
9fe0e711d6
|
Fixes #2502 -- improper compilation with parenthesized inner value of instance properties in a class body.
|
2013-03-04 22:26:55 +13:00 |
|
Jeremy Ashkenas
|
b3452c1276
|
Fixes #2508 -- existential access of the prototype.
|
2013-03-04 22:07:47 +13:00 |
|
Michael Smith
|
c98fae59fc
|
Patch child_process.fork to run .coffee files
|
2013-03-01 16:19:05 -08:00 |
|
Marc Häfner
|
3c38a34ab2
|
Fix line numbers when first line is indented.
* Offset @chunkLine for inserted line break.
* Avoid line break insertion for blank lines.
|
2013-03-01 21:30:07 +01:00 |
|