Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
Commits on Apr 24, 2012
@jashkenas adding a link to the high-rez logo 9d4dc09
Commits on May 10, 2012
@jashkenas adding a rel=canonical 3fc0e6b
Commits on May 14, 2012
@jashkenas Merge branch 'master' into gh-pages b4af24b
Commits on May 15, 2012
@jashkenas Merge branch 'master' into gh-pages 1cba2e2
Commits on Oct 08, 2012
@jashkenas Fixes #2577 -- better instructions for installing master caed958
Commits on Oct 23, 2012
@jashkenas Merge branch 'master' into gh-pages be65807
Commits on Jan 28, 2013
@jashkenas Adding new coffeescript book per request e7f72c9
@jashkenas Merge branch 'master' into gh-pages 39a05b7
Commits on Feb 25, 2013
@jashkenas merged f1b5f81
@jashkenas Retina-ifying the CoffeeScript logo e159289
@jashkenas Merge branch 'master' into gh-pages 673125e
@jashkenas Adding a negative array loop example to the docs d2f4009
@jashkenas expanding literate explanation c39723c
@epidemian epidemian Remove unnecessary returns and use default parameters f609036
@epidemian epidemian Fix indentation on test dcdfe9b
@michaelficarra michaelficarra Merge pull request #2719 from epidemian/minor-embellishments
Minor embellishments
8b0dd9d
Commits on Feb 26, 2013
@spinda spinda Prevent repl from crashing on error [Fixes #2716]
Move execution of the compiled code inside the try/catch block:

    try
      js = CoffeeScript.compile "_=(#{input}\n)", {filename, bare: yes}
    catch err
      cb err
>   cb null, vm.runInContext(js, context, filename)

    try
      js = CoffeeScript.compile "_=(#{input}\n)", {filename, bare: yes}
>     cb null, vm.runInContext(js, context, filename)
    catch err
      cb err
deaa31d
@spinda spinda Fix repl handling of blank line
Since the move to the nodeREPL package, input lines to be evaluated are
now wrapped in parentheses; that is:

    'foo'

would become:

    ('foo'
    )

The old way of detecting empty lines was to see if the input string was
either totally empty, or whitespace-only. The addition of these
parentheses breaks that.

In order to fix this, we simply tweak the regex a little to ignore these
added parentheses if they're present. As an added bonus, the regex
should match empty inputs even if they aren't.

This also makes the "empty command evaluates to undefined" test pass,
for the right reasons (i.e. not because of the broken error behavior
from before).
ff1ddd0
Michael Smith Use blank line regex from Redux 5698e42
@michaelficarra michaelficarra Merge pull request #2725 from mintplant/repl-fix
Fix REPL crashing on execution error
965237e
@jwalton jwalton Compile to an array of CodeFragments instead of to a giant string. 541ab83
Commits on Feb 27, 2013
@troels troels Improve the handling of implicit object and implicit call combinations
by handling them together.
1666716
Commits on Feb 28, 2013
@jashkenas Merge pull request #2712 from troels/implicit-object-implicit-call-stuff
Implicit object/implicit call interaction handling
ac2c5f0
@spinda spinda Hoist build function to top level of Cakefile b2e17c3
@jashkenas Merge pull request #2740 from mintplant/hoist-build
Hoist build function to top level of Cakefile
32eb1bf
@spinda spinda 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`.
1a83544
Sean B. Palmer Add support for text/literate-coffeescript in the browser 881ae55
@jashkenas Merge pull request #2718 from sbp/sbp-literate
Add support for text/literate-coffeescript in the browser
3f23be2
@troels troels Fix implicit calls with try/catch/finally as arguments cb187fd
@jashkenas (Aside: For historical reasons we do make the filename extension opti…
…onal, which is a deeply regrettable accident of history that I would not repeat, given the chance.)
c6f3093
@jashkenas Merge pull request #2741 from troels/implicit-call-try-catch-finally
Fix implicit calls with try/catch/finally as arguments
c0e0701
@epidemian epidemian Revert #2599 bf70b46
@epidemian epidemian Add a couple of tests to document the behaviour of other typed constr…
…uctors
4469d06
@jashkenas Fixing heredocs in literate coffeescript e70dd15
@jashkenas Merge branch 'master' of https://github.com/jashkenas/coffee-script 23d8cd6
@jwalton jwalton Add source map support 7073d18
@jashkenas Merge pull request #2743 from epidemian/revert-2599
Revert #2599
2970d59
@troels troels Disallow implicit calls in cases like:
f
  a

and only allow cases like:

f
  a: 1
71e04d9
@jashkenas Merge pull request #2746 from troels/implicit-calls-with-overhang-on-…
…first-argument-only-on-implicit-object

Disallow implicit calls in cases like:
a48ca26
@jashkenas Removing duplicate 'CATCH' f335173
@jashkenas Merging in .coffee.md support alongside .litcoffee ... I think we'll …
…keep .litcoffee as the canonical, however.
d70d71f
@jashkenas Moving path dependency back into 'command' 68718b6
Commits on Mar 01, 2013
@jashkenas Fixes #2721, super outside of classes with extends for instance methods. 6b79af2
@jashkenas Fixes #2721 -- show error message for naked super 5dea70b
@surjikal surjikal 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.
88e0232
@jwalton jwalton Merge branch 'master' into sourcemaps
Conflicts:
	lib/coffee-script/coffee-script.js
	lib/coffee-script/nodes.js
	src/nodes.coffee
0d6d479
@jwalton jwalton Merge branch 'sourcemaps' of https://github.com/surjikal/coffee-script
…into sourcemaps
0e718f0
@jwalton jwalton Fix generated file name in v3 source map 51fe417
@jwalton jwalton Minor API clean up, and make it so sourcemaps are pretty-printed to t…
…he .map file.
8445499
@jwalton jwalton Optionally allow replacement of existing mappings in SourceMap#addMap…
…ping().
ea86e3e
@jwalton jwalton Fix from code inspect: Use "not" instead of "!". d626e70
@jwalton jwalton Change compileWithSourceMap() so it returns an object instead of an A…
…rray, and return the SourceMap object.
ad0306b
@jwalton jwalton Change some more "!"s to "not"s. Make spacing consistent after period…
…s in commnets.
ad7dcbc
@marchaefner marchaefner Fix line numbers when first line is indented.
* Offset @chunkLine for inserted line break.
* Avoid line break insertion for blank lines.
3c38a34
Commits on Mar 04, 2013
@michaelficarra michaelficarra Merge pull request #2752 from marchaefner/master
Fix line number mismatch when first line is indented.
8435df2
@jashkenas When printing out --tokens, hide the location data. 3b25aea
@jashkenas Fixes #2750 -- clarify error message 667b96b
@jashkenas Fixes #2749. Restricting to instance methods in class bodies, where i…
…t actually has a chance in hell of calling the correct thing.
47f0ea6
@jashkenas Fixes #2508 -- existential access of the prototype. b3452c1
@jashkenas Fixes #2502 -- improper compilation with parenthesized inner value of…
… instance properties in a class body.
9fe0e71
@jashkenas Fixes #2489, fixes #1819, fixes #1821 -- remove the __bind helper. cf11a57
@jashkenas Fixes #2455 -- condition should know what variables the body has decl…
…ared.
56fe211
@troels troels #2757, Allow non-significant commas at end of nested implicit objects 37a6ea6
@jwalton jwalton Remove PARANOID flag. ee71b91
@jwalton jwalton 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
9678587
@jwalton jwalton Minor API changes. 979e110
@jashkenas Renaming --maps option to --map for consistency. 7576950
@jashkenas Reverts 56fe211 e417a0c
@jashkenas CoffeeScript 1.6.0 9f614fe
@matthewwithanm matthewwithanm Fix source map generation
Small typo fix (:
4a94a9f
@matthewwithanm matthewwithanm Update compiled version 3c42a8e
@jashkenas Merge pull request #2763 from matthewwithanm/source-map-fix
Fix Source Map Generation for 1.6.0
a4cc15c
@jashkenas Fixing lingering brain fart. Inexcusable. b4c12f6
@jashkenas Fixes #2766 -- incompatible line number API b2b801a
@jashkenas refactoring to a baseFileName that can work in the browser, for later b2ef77d
@jashkenas Fixes #2765 -- incorrect line number in mappings b62a90d
@jashkenas CoffeeScript 1.6.1 eef83a9