Jeremy Ashkenas
eef83a9fcb
CoffeeScript 1.6.1
2013-03-05 11:07:16 +13:00
Jeremy Ashkenas
b2ef77d92e
refactoring to a baseFileName that can work in the browser, for later
2013-03-05 10:40:39 +13:00
Jeremy Ashkenas
b2b801a78b
Fixes #2766 -- incompatible line number API
2013-03-05 10:19:21 +13:00
Jeremy Ashkenas
b4c12f6746
Fixing lingering brain fart. Inexcusable.
2013-03-05 09:23:50 +13:00
Matthew Tretter
3c42a8e01c
Update compiled version
2013-03-04 15:07:20 -05:00
Jeremy Ashkenas
9f614fedec
CoffeeScript 1.6.0
2013-03-05 08:19:08 +13:00
Jeremy Ashkenas
75769503ff
Renaming --maps option to --map for consistency.
2013-03-05 07:29:46 +13:00
Jason Walton
979e110a84
Minor API changes.
2013-03-04 09:45:25 -05: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
Jeremy Ashkenas
3b25aea168
When printing out --tokens, hide the location data.
2013-03-04 20:54:45 +13:00
Jason Walton
ad0306b00c
Change compileWithSourceMap() so it returns an object instead of an Array, and return the SourceMap object.
2013-03-01 11:34:39 -05:00
Jason Walton
844549954a
Minor API clean up, and make it so sourcemaps are pretty-printed to the .map file.
2013-03-01 10:12:10 -05:00
Jason Walton
51fe417d58
Fix generated file name in v3 source map
2013-03-01 08:56:17 -05:00
Jason Walton
0e718f0968
Merge branch 'sourcemaps' of https://github.com/surjikal/coffee-script into sourcemaps
2013-03-01 08:47:42 -05:00
Jason Walton
0d6d479d77
Merge branch 'master' into sourcemaps
...
Conflicts:
lib/coffee-script/coffee-script.js
lib/coffee-script/nodes.js
src/nodes.coffee
2013-03-01 08:47:16 -05:00
Nicolas Porter
88e02322e5
Fixed key name in source map, added coffee file to map sources
...
These are the modifications I had to do in order to get source maps working
in 27.0.1425.2 (Official Build 185250) canary. I haven't tested other
browsers.
I first looked at the V3 spec and a few examples, and I saw that the
`source` key of the source map should be called `sources`.
After doing the `source` to `sources` change, the coffee source and for
some odd reason the javascript file would not show up in the browser
dev tools (it was being fetched but not evaluated).
To fix this, I had to add the coffee source to the `sources` list in the
source map file.
2013-03-01 05:58:26 -05:00
Jeremy Ashkenas
68718b6938
Moving path dependency back into 'command'
2013-03-01 12:50:42 +13:00
Jeremy Ashkenas
d70d71f574
Merging in .coffee.md support alongside .litcoffee ... I think we'll keep .litcoffee as the canonical, however.
2013-03-01 12:46:40 +13:00
Jason Walton
7073d18f23
Add source map support
2013-02-28 15:51:29 -05:00
Jeremy Ashkenas
c6f30935a8
(Aside: For historical reasons we do make the filename extension optional, which is a deeply regrettable accident of history that I would not repeat, given the chance.)
2013-02-28 23:54:19 +13:00
Michael Smith
1a8354482a
Modify extension handling to allow for .coffee.md
...
Move filename processing to a `parseFileName` function in
helpers.coffee.
Map `.coffee.md` as a Literate CoffeeScript extension.
Also, make .litcoffee and .coffee.md files executable without their file
extension - eg. `coffee test` would work for a file called
`test.litcoffee`.
2013-02-27 22:49:24 -08:00
Jeremy Ashkenas
af53c230a1
CoffeeScript 1.5.0
2013-02-25 21:12:22 +13:00
Jeremy Ashkenas
5e498ca395
merged
2013-02-25 17:41:27 +13:00
Jeremy Ashkenas
14c2a16833
Reverted b31cc70 -- putting Generated comment back up top. Why? Why not?
2013-02-25 17:17:01 +13:00
Jason Walton
fe45f1bf35
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
lib/coffee-script/grammar.js
lib/coffee-script/rewriter.js
src/grammar.coffee
src/rewriter.coffee
2013-02-06 10:29:19 -05:00
Jeremy Ashkenas
fc7f4ed904
Fixes #2523 -- remove resetting of process.execPath
2013-02-02 12:40:50 +11:00
Jeremy Ashkenas
de5e2c60ae
require a file name before checking for a fallback
2013-02-02 10:46:17 +11:00
Jeremy Ashkenas
b31cc70235
Moving the 'generated by coffeescript version X' comment to the bottom, to get it out of the way
2013-02-02 10:42:46 +11:00
Jeremy Ashkenas
33140259b8
Fixes #2681 -- removes old --require hook.
2013-02-01 21:25:57 +11:00
Michael Ficarra
2e191dc0e7
Merge branch 'node_repl_multiline' of https://github.com/asalant/coffee-script into repl-rewrite
2013-01-18 21:16:39 -06:00
Alon Salant
627b921bca
Initial commit of REPL based on node's REPLServer
2013-01-15 22:40:40 -08:00
Jeremy Ashkenas
316d5e5e77
fixing missing file finding logic for litcoffee
2013-01-16 17:33:54 +11:00
Jason Walton
bbbf612f29
Put location data in token[2] instead of in token.locationData
2013-01-14 15:20:35 -05:00
Jeremy Ashkenas
d11fa573e6
do not try to compile traces of coffee within node_modules
2013-01-14 11:45:02 -08:00
Michael Ficarra
f672e0cdb5
fix 'litcoffee' extension support
...
As pointed out by @satyr in 27551b23f3
2013-01-07 22:35:20 -06:00
Jeremy Ashkenas
27551b23f3
add litcoffee to supported file formats
2013-01-04 10:03:49 -10:00
Jeremy Ashkenas
ba08a21d21
bumping version to 1.5.0-pre
2013-01-04 09:35:20 -10:00
Jeremy Ashkenas
48d625816c
Merge branch 'master' into literate
2013-01-04 09:07:09 -10:00
Jeremy Ashkenas
158d37215a
CoffeeScript 1.4.0
2012-10-23 16:45:31 -04:00
Jeremy Ashkenas
82fadea1ed
first working version of literate coffeescript
2012-09-25 19:15:40 -05:00
Jeremy Ashkenas
bb194dc6c6
start with comments...
2012-09-25 18:10:43 -05:00
Michael Smith
ace4837365
Migrate from path.exists to fs.exists
...
Compatibility is kept for path.exists. Versions of node that have
made the change will use fs.exists, while older versions will fall
back to path.exists. The same goes for path.existsSync.
2012-07-02 00:20:13 -07:00
Jeremy Ashkenas
79492aab36
CoffeeScript 1.3.3
2012-05-15 12:35:40 -04:00
Jeremy Ashkenas
7792a3a6e3
CoffeeScript 1.3.2
2012-05-14 14:45:20 -04:00
Trevor Burnham
3b1a566117
Hidden files no longer queued for --join ( fixes #2263 )
2012-04-23 13:59:42 -04:00
Trevor Burnham
d58da49cee
Intermediate version bump to 1.3.2-pre
2012-04-23 13:34:04 -04:00
Jeremy Ashkenas
60c9b94656
CoffeeScript 1.3.1 (quick bugfix for compound assignment to a global variable
2012-04-10 17:26:23 -04:00
Jeremy Ashkenas
ed8d94f69c
CoffeeScript 1.3.0
2012-04-10 14:57:45 -04:00
Jeremy Ashkenas
7c1f4b38f4
start with 1, then 2 for reused vars.
2012-02-29 23:46:03 -05:00
Jeremy Ashkenas
bc2ca1ef73
building missed commit change.
2012-02-26 11:48:33 -05:00