Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

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

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: jashkenas/coffeescript
...
head fork: jashkenas/coffeescript
Commits on May 03, 2011
@TrevorBurnham TrevorBurnham Simpler method of getting the root module ea4a723
@TrevorBurnham TrevorBurnham Renaming `root` to `mainModule` in `run` method fa2ed81
@TrevorBurnham TrevorBurnham `x = {} if x` -> `x and= {}`, per Michael's suggestion b9d3bc5
Commits on May 07, 2011
@sparecycles sparecycles variadic arguments breaking out of scope (test) 2dc2d16
Commits on May 08, 2011
@sparecycles sparecycles Fixed splat sibling variable scope leak. 6d27334
@sparecycles sparecycles Removed extra index variable left from code thrash d11d699
@sparecycles sparecycles fixed 2nd scoping problem
x = 10
([x]) -> # used to not declare var x

this is one fix, the other way to fix
it is to remove the entire if ... olen is 1 ....
block... not sure if that's a good idea or not.
1809c0e
@sparecycles sparecycles fixed name of simple destructuring test. dc49908
Commits on May 10, 2011
@geraldalewis geraldalewis Fix for #1216 ?= compilation 2212e95
Commits on May 11, 2011
@michaelficarra michaelficarra reverting tests from @geraldalewis's fix for #1216 a024ec5
@michaelficarra michaelficarra fixed behavioural change accidentally introduced by #1348, thanks @satyr
6c9ef76
@geraldalewis geraldalewis Fix for #1216 and pull #1348; preserves original semantics while pret…
…tying the compiled output
51b7142
@geraldalewis geraldalewis Updated tests for #1216 and pull #1348 bd8d828
Commits on May 15, 2011
@jashkenas Issue #1368, block comment formatting. dddc7c6
@jashkenas Merge branch 'master' of github.com:jashkenas/coffee-script 84ae563
@jashkenas fixing over whitespace-ing from the previous commit. b780d70
@jashkenas Issue #1364, implicit calls against control structures. cd5c41f
@jashkenas fixing implicit invocations against inline try/catch. 9e32a5b
@jashkenas Issue #1356 ... range comprehension optimization when a step is present. c056c93
@jashkenas simplifying some string interpolation in Range#compileNode 15ddb8e
@jashkenas Issue #1354, 'in' with splatted arrays. d91ccd4
@jashkenas merging #1353 2563324
@jashkenas Fixes #1328 f3758e4
Commits on May 16, 2011
@jashkenas Merge pull request #1324 from TrevorBurnham/node-modules
Use `require.main` instead of loop to get main module
01b0cfc
@sparecycles sparecycles removing unimportant changes for easy pull. 395a97e
@jashkenas Merge pull request #1346 from adam-f/fixedsplatscope
Fixed improper scoping of siblings to the splat argument.
004f13f
@michaelficarra michaelficarra cleaned up and optimized fix for #1354 (d91ccd4) 2ac7435
@fjakobs fjakobs fix line numbers after heregexps abb11a7
Commits on May 19, 2011
@michaelficarra michaelficarra merging in @fjakobs's heregex line number fix; closes #1374 19520d8
Commits on May 24, 2011
@johnyanarella johnyanarella Fixed silently failing command line --join functionality when directo…
…ries are specified for compilation.
371ff5e
@michaelficarra michaelficarra fixes #1385: property access on parenthesized number literals c884564
@michaelficarra michaelficarra fixes #1372: bound class methods with reserved names e64fa71
Commits on May 25, 2011
@michaelficarra michaelficarra test for #1380 8e5eff5
@michaelficarra michaelficarra fixes #1380: `super` with reserved names bbf1c6a
@michaelficarra michaelficarra fixes #1390: persistence of non-enumerable global properties in the REPL 454aa84
@michaelficarra michaelficarra Merge pull request #1388 from johnyanarella/master
'coffee' silently fails with no output when the --join option is specified and the source files specified include directories
bbf37e5
@michaelficarra michaelficarra merging @TrevorBurnham's pull request #1314, enhancing `CS.eval`; clo…
…ses #1314
e4f47a0
@michaelficarra michaelficarra enhancement for #1380 fix 042f7ec
@michaelficarra michaelficarra removing accidentally-committed `console.log` 94fb7e3
@michaelficarra michaelficarra hopefully the last enhancement for my #1380 fix 085874d
Commits on May 27, 2011
@michaelficarra michaelficarra fixed condext during construction of bound functions; now using native
Function::bind when it is available. related: #1363
8d6e33c
@michaelficarra michaelficarra switched to canonical two-space indentation in __bind helper 6a40807
@michaelficarra michaelficarra __bind helper: caching ctor 9cbf2a8
Commits on May 28, 2011
@jashkenas Revert "__bind helper: caching ctor"
This reverts commit 9cbf2a8.
79fff36
@jashkenas Revert "switched to canonical two-space indentation in __bind helper"
This reverts commit 6a40807.
7082000
@jashkenas Revert "fixed condext during construction of bound functions; now usi…
…ng native"

This reverts commit 8d6e33c.
1fb34e4
Commits on May 29, 2011
@michaelficarra michaelficarra fixes #1398: comments in the REPL 10ec1a6
Commits on Jun 02, 2011
@michaelficarra michaelficarra REPL blank line fix 35c2a72
@michaelficarra michaelficarra test for #1409 e240621
@michaelficarra michaelficarra fixes #1409: creating large ranges outside of a function body 22bc54f
@michaelficarra michaelficarra removed trailing whitespace in source files a0efdac
@michaelficarra michaelficarra enhancement for fix to #1409: when compiling as an array, ranges can't
have been given steps (would be a SyntaxError) ... yet
8ce1fdb
Commits on Jun 07, 2011
@michaelficarra michaelficarra fixes #1420: `(fn() ->)` by causing the `Lexer::tagParameters` method to
give up looking for a parameter list when it saw a `CALL_START` token.
522f2ee
@michaelficarra michaelficarra adding regression test for #1420; also cleaned up a little trailing
whitespace in the function invocation tests
dfcff3f
Commits on Jun 08, 2011
@michaelficarra michaelficarra subliminally promoting the use of interpolation in the documentation 47f12c4
Commits on Jun 15, 2011
@ngn ngn Fix for #1150: String interpolation regression 0f523de
Commits on Jun 17, 2011
@michaelficarra michaelficarra fixes #1442: javascript literals should increase line count when they
contain newlines
a1f1afe
@michaelficarra michaelficarra Merge https://github.com/ngn/coffee-script 277e82b
@michaelficarra michaelficarra Revert "Merge https://github.com/ngn/coffee-script"
This reverts commit 277e82b, reversing
changes made to 0f523de.
25e7eea
Commits on Jun 19, 2011
@thejh thejh added a test for #1436, `for` etc. should work as normal property names 9941c3f
@thejh thejh fixed #1436 9699059
@ngn ngn Another attempt to fix #1150
Here's how the algorithm in balancedString() was modified.  When we
encounter a slash in an interpolation, we:

    * try to find a heregex right after it; if found---skip it.  Three
      slashes always terminate a heregex, no matter if there is an open
      "#{" before them or not, so we don't have to bother about
      sub-interpolations inside the heregex.

    * try to find a regex right after it; if found---skip it.  Simple
      regexen can't contain interpolations.

    * otherwise, assume that the slash means division and carry on.
5ce7984
Commits on Jun 20, 2011
@thejh thejh test for #1416: don't omit one 'new' when compiling 'new new' 11f2cd4
@thejh thejh fixes #1416: don't omit one 'new' when compiling 'new new' f0c22f3
Commits on Jun 21, 2011
@thejh thejh added another test for #1416 8b2884e
@thejh thejh second part of fixing #1416 73af3b1
Commits on Jun 22, 2011
@ngn ngn added one more test for #1150 6f64fc2
Commits on Jun 23, 2011
@yyyc514 yyyc514 compileJoin should happen once after all files are read dc272a6
@yyyc514 yyyc514 combine conditions cd65c66
Commits on Jun 25, 2011
@zmthy zmthy Fixes #1467. Catch now introduces its parameter to scope. baa983a
@zmthy zmthy Fixes #1461. Existential assignment now correctly reports if it is a …
…statement.
e38aeef
Commits on Jun 29, 2011
@zmthy zmthy Fixes #1467. Catch now introduces its parameter to scope. 0f18dff
@zmthy zmthy Fixes #1461. Existential assignment now correctly reports if it is a …
…statement.
22cee5d
Commits on Jun 30, 2011
@michaelficarra michaelficarra improved tests for #1416, fixed accidental scope leak in test for #1420 7b5f012
@michaelficarra michaelficarra Merge branch 'master' of github.com:jashkenas/coffee-script c93fc3e
@michaelficarra michaelficarra Merge branch 'bugfix-1436' of git://github.com/thejh/coffee-script in…
…to thejh_1448
f6fcfa8
@michaelficarra michaelficarra improved test for #1436 0cc5379
Commits on Jul 01, 2011
@jashkenas fixes #1478, documentation. 2951d34
@jashkenas Merge branch 'master' of github.com:jashkenas/coffee-script 18ab569
Commits on Jul 06, 2011
@michaelficarra michaelficarra 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...
fff4c9c
@michaelficarra michaelficarra output a newline before exiting REPL 60e51a2
@michaelficarra michaelficarra More accurately emulating node's REPL behaviour with regard to `_`
assignment. Also addresses `i for i in [1..3]` regression introduced by
fff4c9c and noticed by @satyr
b9c3e0e
@jashkenas fixes issue #1490 ... jsl.conf is incorrectly npmignored. c4324f1
@jashkenas Merge branch 'master' of github.com:jashkenas/coffee-script 83806a4
@michaelficarra michaelficarra 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)
003f91d
@michaelficarra michaelficarra allow Ctrl-C to escape an unwanted continuation prompt 54dbc0f
Commits on Jul 07, 2011
@jashkenas Merge pull request #1426 from jashkenas/documentationInterpolations
promote the use of interpolation in the documentation
5ab892d
@michaelficarra michaelficarra subliminally promoting the use of interpolation in the documentation d3e809d
@thejh thejh added a test for #1436, `for` etc. should work as normal property names caa3d1a
@thejh thejh fixed #1436 d32c060
@thejh thejh test for #1416: don't omit one 'new' when compiling 'new new' 4c70ea5
@thejh thejh fixes #1416: don't omit one 'new' when compiling 'new new' 18f6ad9
@thejh thejh added another test for #1416 9d3510a
@thejh thejh second part of fixing #1416 4af47f0
@zmthy zmthy Fixes #1467. Catch now introduces its parameter to scope. 4fc52cd
@zmthy zmthy Fixes #1461. Existential assignment now correctly reports if it is a …
…statement.
5adf3b8
@michaelficarra michaelficarra improved tests for #1416, fixed accidental scope leak in test for #1420 594ead0
@michaelficarra michaelficarra improved test for #1436 f433fa4
@jashkenas fixes #1478, documentation. 4ff0035
@michaelficarra michaelficarra 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...
40ee30e
@michaelficarra michaelficarra output a newline before exiting REPL bb1502a
@michaelficarra michaelficarra More accurately emulating node's REPL behaviour with regard to `_`
assignment. Also addresses `i for i in [1..3]` regression introduced by
fff4c9c and noticed by @satyr
5538315
@jashkenas fixes issue #1490 ... jsl.conf is incorrectly npmignored. b1111c9
@michaelficarra michaelficarra 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)
2a9fd34
@michaelficarra michaelficarra allow Ctrl-C to escape an unwanted continuation prompt 6e9cfd8
@michaelficarra michaelficarra Merge branch 'master' of github.com:jashkenas/coffee-script 1d7d8cb
Commits on Jul 09, 2011
@breckinloggins breckinloggins Minor edits to the main documentation. Added a reference to @alisey's…
… CoffeeScript Compiler for Windows.
f2ba08f
@breckinloggins breckinloggins Small typo fixes in several files. Completed some missing documentati…
…on in nodes.coffee
0353b0d
@breckinloggins breckinloggins One more minor correction to main documentation 14e09d2
@breckinloggins breckinloggins Removing 'the' from the CoffeeScript Compiler for Windows link 709dc73
@breckinloggins breckinloggins Changing sentance structure in a grammar rule explanation eb53670
Commits on Jul 10, 2011
@michaelficarra michaelficarra fixes tab completion in the REPL af1cf34
Commits on Jul 11, 2011
@michaelficarra michaelficarra Added globals to the REPL that are (for a reason currently unknown to
me) not provided by `vm.Script.createContext`
07baed8
@michaelficarra michaelficarra arranged and formatted nonContextGlobals list in REPL cb8e147
Commits on Jul 12, 2011
@jashkenas Merge pull request #1498 from breckinloggins/master
Some typo corrections and minor documentation edits
1927213
@jashkenas Fixing funkiness introduced in #1498. 8fe59ed
Commits on Jul 16, 2011
@breckinloggins breckinloggins Fixing issue #1492: Consecutive semicolons in compiled output in some…
… situations
8a4a28b
@breckinloggins breckinloggins Test implementation of issue #1470. Assuming '.coffee' extension if f…
…ile not found
3e20622
@taku0 taku0 Removed a garbage code in `pluckDirectCall`.
`args` are removed at 094b876.
ecdaad2
@breckinloggins breckinloggins Issue #1470: Cleaning up logic on extension detection 471cf1d
@breckinloggins breckinloggins Using string interpolation when adding extension 479a2e0
Commits on Jul 17, 2011
@jashkenas Merge pull request #1460 from yyyc514/fix_print_with_join
compileJoin should happen once after all files are read
c2b32df
@jashkenas Merge pull request #1518 from taku0/fix_pluckDirectCall
Removed a garbage code in `pluckDirectCall`.
7790df0
@jashkenas Merge pull request #1517 from breckinloggins/master
Patch for issue #1492 (consecutive semicolons in compiled output)
813efbe
@michaelficarra michaelficarra improving test for #1492 8931e31
@breckinloggins breckinloggins Replacing heredoc in test with simple string 2b31f28
Commits on Jul 18, 2011
@jashkenas Merge pull request #1522 from breckinloggins/fix_1470
Issue #1470: Command line compiler now assumes ".coffee" extension if left off of file names
37019da
@breckinloggins breckinloggins Merge branch 'master' of git://github.com/jashkenas/coffee-script 5ee0254
@breckinloggins breckinloggins Fix for issue #1446: Compiler crashes on permissions error instead of…
… giving meaningful error message
2d54fea
@jashkenas Merge pull request #1527 from breckinloggins/fix_1446
Fix for issue #1446: Compiler fails with unrelated exception on file permissions problems
860c503
@michaelficarra michaelficarra Cakefile: build:full exits unsuccessfully when tests or builds fail;
test failures now print full stack trace
d2d02bf
Commits on Jul 27, 2011
@satyr satyr fixed #1322; block comments no longer get out of implicitly called im…
…plicit objects
9b9612e
Commits on Jul 31, 2011
@michaelficarra michaelficarra changed uses of the `slice` method to CS slices in `nodes.coffee` e7854be
Mike Blume check existence of this.context. Avoid build error
#1541

with thanks to analyst74 whose bug report made the fix trivial =)
178af9d
Commits on Aug 01, 2011
@michaelficarra michaelficarra formatting and rewording a test 9f89a83
Commits on Aug 04, 2011
@michaelficarra michaelficarra Merge pull request #1542 from MichaelBlume/master
Check for existence of this.context. Avoid build error.
1f69200
Commits on Aug 05, 2011
@jashkenas CoffeeScript 1.1.2 1a652a9