Permalink
Commits on Oct 12, 2017
  1. Fix import/export list bug with aliased keywords (#4744)

    GabrielRatener committed with GeoffreyBooth Oct 12, 2017
Commits on Oct 7, 2017
  1. Fix #4724 (#4737)

    connec committed with GeoffreyBooth Oct 7, 2017
    The handling of hoisted nodes in class bodies was incorrect, as the node
    was being unwrapped *before* checking if it was hoisted, meaning nodes
    that should have been hoisted would be output normally.
    
    This affected `PassthroughLiteral`s as they were wrapped in a `Value`.
Commits on Oct 5, 2017
  1. Transpile REPL (#4729)

    GeoffreyBooth committed Oct 5, 2017
    * Fix #4725: apply transpile option to require’d .coffee files
    
    * Use the current module’s options if it has any, before going searching up the tree
    
    * Don’t mutate passed-in options object
    
    * If the REPL is run with `--transpile`, turn transpilation on for both the current REPL input and any files imported by that input
    
    * Use the command.coffee machinery for parsing arguments
    
    * Fix test for Windows
  2. Fix #4725: apply transpile option to require’d .coffee files (#4728)

    GeoffreyBooth committed Oct 5, 2017
    * Fix #4725: apply transpile option to require’d .coffee files
    
    * Use the current module’s options if it has any, before going searching up the tree
    
    * Don’t mutate passed-in options object
Commits on Oct 3, 2017
  1. Fix #4727: Tests failing in Windows (#4731)

    GeoffreyBooth committed Oct 3, 2017
    * ?
    
    * ??
    
    * Revert the coffee.EXE approach
    
    * Explicitly define the PATH to include only the folders we need
    
    * Get spawnSync working in Windows
    
    * Simplify test to be cross-platform
Commits on Oct 2, 2017
  1. Allow applying 'get'/'set' property to a bracketless object (#4730)

    mrmr1993 committed with GeoffreyBooth Oct 2, 2017
Commits on Sep 27, 2017
  1. Fix #3440: --stdio and --map don’t make sense to use together (#4721)

    GeoffreyBooth committed Sep 27, 2017
  2. 2.0.1 (#4719)

    GeoffreyBooth committed Sep 27, 2017
    * 2.0.1 changelog
    
    * Version bump to 2.0.1
Commits on Sep 26, 2017
  1. Fix #4703, 4713: Transpile fixes (#4717)

    GeoffreyBooth committed Sep 26, 2017
    * Show an appropriate error if the user tries to use --transpile via the CLI and babel-core isn’t installed
    
    * Update documentation around global/local
    
    * Fix #4713: Use Babel’s built-in `filename` option to let Babel search for its options, rather than us doing so
    
    * Improve transpilation docs
    
    * Colons are good
    
    * Docs cleanup
    
    * Rewrite transpilation docs
    
    * Better identifier for compiled scripts that didn’t come from files; better resolving of paths
  2. Add example of comment include type annotation (#4705)

    thejameskyle committed with GeoffreyBooth Sep 26, 2017
    * Add example of comment include type annotation
    
    * build website
Commits on Sep 25, 2017
  1. Update ASCII logo (#4718)

    easybills-admin committed with GeoffreyBooth Sep 25, 2017
    Attempt to reproduce the official logo in ASCII :)
Commits on Sep 21, 2017
  1. Fix #4464: backticked expressions in class body (#4712)

    connec committed with GeoffreyBooth Sep 21, 2017
    * Fix #4464: backticked expressions in class body should be left in the body, not hoisted
    
    * Fix #4464: backticked expressions in class body should be left in the body, not hoisted
    
    * Simplify fix for #4464
    
    This uses more of the existing machinery for moving class body
    expressions into the initializer.
    
    * Clarify the purpose of Class::addInitializerExpression
    
    * Further clarify the purpose of Class::addInitializerExpression
    
    * Add reference to class fields; format
     comment wrapping
    
    * Reapply 1d3af8c, that got lost because of rebase/force-push shenanigans
    
    * Updated output
Commits on Sep 20, 2017
  1. Docs fixes (#4707)

    GeoffreyBooth committed Sep 20, 2017
    * Mobile Safari needs the code to be >= 16px
    
    * Buttons that just run the code shouldn’t have a label, since in all the other examples the label signifies the command to be run
    
    * Use Bootstrap’s breakpoints
    
    * Use Bootstrap’s styling for the <code> element, to avoid misaligned baseline
    
    * Updated output
    
    * Fix #4704: use replaceState, so that back/forward only happen for user clicks on links; opening and closing Try CoffeeScript doesn’t count as a new history entry, and closing it retrieves the previous URL
    
    * Fix #4702: Some changelog entries are more equal than others
    
    * Updated output
    
    * Eliminate the 1px jitter when initializing code editors
    
    * On first time opening Try CoffeeScript, use just #try as the hash
    
    * Update output
    
    * Increase general body line spacing
    
    * Code styling per Jeremy
    
    * Don’t let the main text column grow unreasonably wide
    
    * Give list items some modest bottom margin (and use ems whenever possible)
    
    * Updated output
Commits on Sep 19, 2017
  1. Merge pull request #4708 from jz5/master

    jashkenas committed Sep 19, 2017
    Fix link to logo
  2. Fix link to logo

    jz5 committed Sep 19, 2017
Commits on Sep 18, 2017
  1. boom

    jashkenas committed Sep 18, 2017
  2. Fixes #4703 — Don't depend on Babel in package.json

    jashkenas committed Sep 18, 2017
  3. fix the code popping

    jashkenas committed Sep 18, 2017
  4. slightly less cramped code

    jashkenas committed Sep 18, 2017
  5. Tweaking font sizes.

    jashkenas committed Sep 18, 2017
  6. Removing slightly defensive and slightly incorrect 'why coffeescript'…

    jashkenas committed Sep 18, 2017
    … section
  7. Update docs output for 2.0.0

    GeoffreyBooth committed Sep 18, 2017
  8. 2.0.0 (#4701)

    GeoffreyBooth committed Sep 18, 2017
    * Bump version to 2.0.0; bump dependencies versions
    
    * Make v2 docs the primary docs; jettison the v1 docs’ source: whenever the v1 docs need to be rebuild in the future, that can be done on the `1` branch and copied over; simplify folder tree
    
    * Updated v1 docs that reflect that v2 is out and have updated paths to reflect that the v2 docs are now the primary docs, and the v1 docs only live under /v1/
    
    * Add Google Analytics; track navigation, editing code and running code
    
    * 2.0.0 changelog
    
    * Fix link to root docs
    
    * No more @next; installing local copy should be --save-dev
    
    * Analytics on the browser-based tests page should prove fascinating . . .
    
    * Update annotated source
    
    * Add note to changelog clarifying scope
Commits on Sep 16, 2017
  1. Fix #4686: if a CSX interpolation contains comments, not just inner C…

    GeoffreyBooth committed Sep 16, 2017
    …SX (JSX) tags, it needs to be wrapped in braces (#4689)
  2. CoffeeScript 2 announcement (#4695)

    GeoffreyBooth committed Sep 16, 2017
    * CoffeeScript 2 announcement, first draft
    
    * Lydell's notes
    
    * Jeremy’s notes; Rollup is not a transpiler
    
    * Revise “unsupported features” section
    
    * Fix links, invalid HTML
    
    * Announcing CoffeeScript 2 HTML page
    
    * Link to the announcement
    
    * Add some references
    
    * Fix anchors
    
    * Better example
  3. Update transpilation docs (#4700)

    GeoffreyBooth committed Sep 16, 2017
Commits on Sep 15, 2017
  1. Option to transpile with Babel (#4697)

    GeoffreyBooth committed Sep 15, 2017
    * Upgrade Babeli (now babel-minify) which fixes the bug that was forcing us to run Babel twice for transpilation
    
    * Add --transpile option (WIP)
    
    * Node API always compiles a string, so it doesn’t need the option to pass a path to an options file, it can always just pass an object to `transpile`; get `transpile` working with `eval`
    
    * Not allowing argument to `--transpile` so don’t need to cover so many cases
    
    * Don’t need to worry about `sourceMaps` option to pass to Babel, `inputSourceMap` overrides it
    
    * Rewrite Webpack test to use Node API
    
    * Make the compiler safe again for browsers and Webpack/Browserify
    
    * Node version of CoffeeScript.compile passes reference to Babel if transpile is requested
    
    * Test Node API for transpile option
    
    * Test for merged source maps
    
    * Test for Node API error message
    
    * Only stop searching for Babel options if a package.json has a truthy "babel" key
    
    * Update docs
Commits on Sep 12, 2017
  1. Fix #4342: Always output `sourcesContent` property as part of source …

    GeoffreyBooth committed Sep 12, 2017
    …map, whether inline map or written-to-disk map (#4698)
Commits on Sep 9, 2017
  1. First pass at using Travis CI (#4690)

    GeoffreyBooth committed Sep 9, 2017
Commits on Sep 8, 2017
  1. Merge branch '2'

    GeoffreyBooth committed Sep 8, 2017
    # Conflicts:
    #	lib/coffee-script/nodes.js
    #	src/nodes.coffee
    #	test/arrays.coffee
Commits on Sep 7, 2017
  1. [CS2] Fix destructuring bugs #4673 and #4657 (#4683)

    Julian Rosse committed with GeoffreyBooth Sep 7, 2017
    * destructuring Fixes [Fixes #4673] [Fixes #4657]
    
    * test for destructured @prop
    
    * Add another test to cover #4657 cases
    
    * don't declare actual params
  2. [CS2] Fix CS2 docs mobile issues, improve performance (#4688)

    GeoffreyBooth committed Sep 7, 2017
    * Get rid of offcanvas slide-in; fix sidebar
    
    * We need to transpile docs.coffee, since Safari 9 throws an error on it and that’s too new a browser not to support; but this should also speed things up
    
    * Fix some tabs
    
    * Fix scrollbar
    
    * Use Highlight.js to format placeholder code (during compilation, not rendering) before CodeMirror loads; match Highlight.js styles to CodeMirror styles as best we can
    
    * Improve hash management
    
    * Initialize CodeMirror on demand, on mouseover a particular code example, rather than all examples on startup
    
    * Replace highlight.js with Prism for placeholder syntax highlighting
    
    * Scratch Prism, use CodeMirror itself to do Node-based syntax highlighting, so that on CodeMirror initialization there’s no flash from mismatched highlighting
    
    * Update packages; there’s a new version of Jison! (doesn’t change much)
    
    * Fix mobile issues: use SVG play button icon, to avoid iOS blue square play button; make the code editor text 16px size explicit, to avoid unwanted mobile zoom; make the ‘code play’ buttons work even if the code examples are in placeholder (non-editable) mode, in case a user hasn’t moused over/tapped them
    
    * Update docs output
    
    * Whoops, CodeMirror is only a devDependency
Commits on Sep 2, 2017
  1. 2.0.0-beta5 docs

    GeoffreyBooth committed Sep 2, 2017
  2. [CS2] 2.0.0-beta5 (#4682)

    GeoffreyBooth committed Sep 2, 2017
    * Upgrade docs to Bootstrap 4 beta, including refactoring styles; upgrade docs jQuery and CodeMirror
    
    * Better style the docs for mobile, including Try CoffeeScript
    
    * Fix #4642, erroneous statement about named functions
    
    * Update packages
    
    * 2.0.0-beta5