FredyC
e644f7244d
Using original existence check with mkdirp call on failure
2013-08-01 17:03:32 +02:00
FredyC
457cdfde26
Fixed deep directory creation for command line utility
2013-08-01 11:17:27 +02:00
Demian Ferreiro
51c625205b
Update compiled JS
2013-07-30 01:06:41 -03:00
Demian Ferreiro
8e90aaefc1
Merge branch 'master' into issue2849
...
Conflicts:
lib/coffee-script/coffee-script.js
src/coffee-script.coffee
2013-06-09 02:40:53 -03:00
Jeremy Ashkenas
84b8b5ccee
CoffeeScript 1.6.3
2013-06-02 09:37:45 +04:00
Michael Ficarra
174cd7eaa0
rebuild for some unneccessary parentheses changes
...
rebuild of 3921e3db34
2013-04-28 22:09:46 -05:00
Nami-Doc
7be996c010
code cleanup
2013-04-28 00:56:44 +02:00
Nami-Doc
e8fae286be
remove --lint. #2894 : rebuild and fix docs
2013-04-27 19:35:32 +02:00
Marc Häfner
1b2fe69a18
Fix Windows path separator issue in baseFileName.
...
Windows accepts forward and backward slashes as path separator.
2013-03-20 22:38:29 +01:00
Jeremy Ashkenas
566a7dabb2
Fixing erroneous whitespace fix in generated JS
2013-03-18 17:47:55 +08:00
Jeremy Ashkenas
a3e8de338a
CoffeeScript 1.6.2
2013-03-18 13:06:33 +08:00
Matt Kunze
f217a10721
fix path handling on Windows
2013-03-15 16:13:04 -06: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
b44435ab8a
#2490 -- implementing a conditional in terms of the guard style.
2013-03-10 06:44:45 +08:00
Jason Walton
f85d19b459
Rework API for sourcemap filenames and paths.
2013-03-07 21:26:09 -05: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
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
Jeremy Ashkenas
f8c6b494aa
Fixes #2422 -- Catch clause scoping plus old IE
2013-03-05 16:13:22 +13:00
Jeremy Ashkenas
1b573412d3
cleaning up the previous merge -- moving it out to helpers.invertLiterate
2013-03-05 15:45:57 +13: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
Michael Smith
fca68717ff
Fix #2768 : rewrite literate code before the join
2013-03-04 18:30:24 -08:00
Jason Walton
add84bfddc
Add multiline horrible kludge for IE
2013-03-04 19:08:33 -05:00
Jason Walton
2684737b66
Move sourceMappingURL line to bottom of file
2013-03-04 18:43:49 -05:00
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
Demian Ferreiro
55c99dfaec
Show colorized error messages
2013-03-01 22:42:26 -03: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
Demian Ferreiro
25091fb2a0
Improved lexer error messages
2013-02-25 14:41:34 -03: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