Commit Graph

  • 9005682cf1 helpers: refactored and fixed comments satyr 2010-09-25 09:18:47 +09:00
  • 3df82a757d helpers: added test satyr 2010-09-25 09:15:47 +09:00
  • 3fd7f9efdd added a test for JS literal satyr 2010-09-24 23:06:49 +09:00
  • d457423c24 made simple strings shortcut satyr 2010-09-24 22:38:28 +09:00
  • f051d0880e lexer: improved logics satyr 2010-09-23 14:14:18 +09:00
  • ed501ea37e lexer: improved consistency, preferring charAt, slice and single quotes satyr 2010-09-23 14:11:31 +09:00
  • 20dae3758a lexer: optimized regexes satyr 2010-09-23 13:41:53 +09:00
  • a04e17c4ea Merge branch 'master' of http://github.com/sstephenson/coffee-script Jeremy Ashkenas 2010-09-22 23:32:56 -04:00
  • fc149fdada merging in satyr/for-of-diet Jeremy Ashkenas 2010-09-22 23:26:11 -04:00
  • 19dfe4b01d merging Tim's filename branch. Jeremy Ashkenas 2010-09-22 22:44:42 -04:00
  • c4a3e170e2 Support for older revisions of Node.js for CoffeeScript.run() Tim-Smart 2010-09-23 14:41:38 +12:00
  • dfd6025d04 Remove (compiled) from filenames, to keep __filename accurate Tim-Smart 2010-09-23 11:55:05 +12:00
  • 01c14bc640 Heredoc indentation detector ignores blank lines without trailing whitespace. Sam Stephenson 2010-09-22 08:47:43 -05:00
  • c435647589 removing the ability to force an if/else chain to be compiled as a statement. Ternaries will now be used as much as possible. Jeremy Ashkenas 2010-09-22 00:41:17 -04:00
  • c50cf23b7b CoffeeScript 0.9.4 0.9.4 Jeremy Ashkenas 2010-09-21 23:58:05 -04:00
  • 540783a6dd removed useless property accesses from for-of satyr 2010-09-22 12:55:19 +09:00
  • 25c8b4b34f Using the Array spaces trick to generate padding and indentation. Jeremy Ashkenas 2010-09-21 23:17:43 -04:00
  • c0a89a7988 Fixing issue #700, block comment after first line of class definition. Jeremy Ashkenas 2010-09-21 23:13:46 -04:00
  • 07d9e9b71e fixing up block comment indentation boondoggle. Jeremy Ashkenas 2010-09-21 22:59:28 -04:00
  • 269f4e8da8 Tweaks to browser.coffee Jeremy Ashkenas 2010-09-21 22:31:59 -04:00
  • 481c3d536b made browser.coffee override Node dependent exported methods satyr 2010-09-22 01:05:00 +09:00
  • 7e5db250d3 Merge branch 'master' of git://github.com/StanAngeloff/coffee-script Jeremy Ashkenas 2010-09-21 08:06:12 -04:00
  • 970bfbe151 Merge branch 'repl' of git://github.com/Tim-Smart/coffee-script Jeremy Ashkenas 2010-09-21 08:05:03 -04:00
  • 7d98bb216a merged in satyr's leakless branch. Jeremy Ashkenas 2010-09-21 08:02:22 -04:00
  • e4b7d06f35 removed browser specific hacks from src/* by making "rake browser" provide fake require and exports satyr 2010-09-21 18:19:49 +09:00
  • b19c004680 made wrapper function keep current this satyr 2010-09-21 16:53:58 +09:00
  • 7bc91bf6c6 removed global dependency from grammer satyr 2010-09-21 16:50:32 +09:00
  • c49cd02365 Fix REPL. Add CoffeeScript.eval method as run doesn't return result. Tim-Smart 2010-09-21 17:36:23 +12:00
  • 992f4192bf Re-compiling core with new temporary variable names, all tests pass. Stan Angeloff 2010-09-21 07:55:08 +03:00
  • 921ab3ce68 Using old temporary variable name generation for single-letter types (e.g., i, j, k, and so on). Stan Angeloff 2010-09-21 07:53:52 +03:00
  • 69942c9a81 commenting out the failing test for the time being, to be fixed later. Jeremy Ashkenas 2010-09-21 00:14:22 -04:00
  • fb5158630a fixing herecomment newlines. Jeremy Ashkenas 2010-09-21 00:06:03 -04:00
  • 34c29b3406 Cleaner stack traces. Tim-Smart 2010-09-21 15:32:37 +12:00
  • c0796da7b9 hacking around Jison patch to remove module dependency. Jeremy Ashkenas 2010-09-20 23:13:02 -04:00
  • 83651a7d6a merging in Tim's registerExtension fix for the latest Node master. Jeremy Ashkenas 2010-09-20 22:27:04 -04:00
  • 10d57705a0 Merge branch 'registerExtension' of git://github.com/Tim-Smart/coffee-script Jeremy Ashkenas 2010-09-20 22:24:19 -04:00
  • 71998e06cf Merge branch 'master' of http://github.com/leobm/coffee-script Jeremy Ashkenas 2010-09-20 22:14:41 -04:00
  • a16594ed7b Merging in Stan's temporary_junk improvements. Jeremy Ashkenas 2010-09-20 22:13:08 -04:00
  • f7fce3cd68 tweaking compiled tempvar names to satisfaction. Jeremy Ashkenas 2010-09-20 21:56:18 -04:00
  • ba850790ed Add require.extensions support. Tim-Smart 2010-09-21 13:23:45 +12:00
  • abc1e83319 fix invalid testcase Jan-Felix Wittmann 2010-09-20 12:02:16 +02:00
  • 99a06ce4ea Updating name for cached length temporary variables to '_length', 'length2', and so on. Stan Angeloff 2010-09-20 08:42:31 +03:00
  • 31441868e0 Allowing temporary variables to be reused. Stan Angeloff 2010-09-19 19:34:27 +03:00
  • 5d82dddfb1 merging in Stan's temporary variables. Jeremy Ashkenas 2010-09-19 12:00:16 -04:00
  • d568b56c5e First attempt at allowing temporary variables to be reused. Stan Angeloff 2010-09-19 17:47:26 +03:00
  • 3ab0c12bf1 Don't store tempVars as we can get the next available one from scope. Stan Angeloff 2010-09-19 17:03:45 +03:00
  • ed74f42323 Refactoring temporary name generation in a separate method, no functional changes. Stan Angeloff 2010-09-19 16:18:01 +03:00
  • 15d84dbb4e Fixing issue #694. Destructuring assignment as first line of implicitly called block -- regression. Jeremy Ashkenas 2010-09-19 09:04:38 -04:00
  • 65fa0411b4 Part of previous commit: updating how temporary variables are generated. We no longer need to store the name of the last generated variable, instead we store the index. Stan Angeloff 2010-09-19 15:50:17 +03:00
  • 408833daef Removing code added during the migration. freeVariable(..) is called with a type at all times. Stan Angeloff 2010-09-19 15:37:26 +03:00
  • bb35b3e3b2 Re-compiling core with new changes. All tests pass. Stan Angeloff 2010-09-19 15:29:15 +03:00
  • 4a3e1fb0cb Updating nodes.coffee to make use of new temporary variables code generators. Stan Angeloff 2010-09-19 15:28:22 +03:00
  • fe68261bc2 Added generator for custom free variable types, e.g., '_cache', '_cache2', and so on. Stan Angeloff 2010-09-19 14:55:19 +03:00
  • 1f2c6c77fd s/tempVars/tempVars.general/ This should allow us to store more than one category of temporary variables. Stan Angeloff 2010-09-19 14:36:37 +03:00
  • 08e1101c1f fixing static class properties that are implicit objects. Jeremy Ashkenas 2010-09-18 22:25:45 -04:00
  • 72847b9b26 tweak to block indentation test. Jeremy Ashkenas 2010-09-18 13:20:32 -04:00
  • 4b2d40d3b5 Merging in Stephank's fix for #692. Jeremy Ashkenas 2010-09-18 10:36:48 -04:00
  • 72d7fe2f7a Function soaks should preserve this. Fixes issue #692. Stéphan Kochen 2010-09-18 12:27:14 +02:00
  • 43f7f6c355 documenting 'invoke' in Cakefiles a little bit. Jeremy Ashkenas 2010-09-17 20:24:10 -04:00
  • a53c104db1 simpler default Try CoffeeScript scriptlet. Jeremy Ashkenas 2010-09-16 00:41:13 -04:00
  • 2a0bd1adc7 silencing another JavaScriptLint extraneous warning. Jeremy Ashkenas 2010-09-16 00:36:46 -04:00
  • a2631759c0 CoffeeScript 0.9.3 0.9.3 Jeremy Ashkenas 2010-09-16 00:32:57 -04:00
  • 2b87cabbb4 removing now-unused logic from the IfNode, that used to handle switch statements. Jeremy Ashkenas 2010-09-15 23:48:20 -04:00
  • d8465ce767 First draft of real switch statements for CoffeeScript switch statements. Jeremy Ashkenas 2010-09-15 23:46:01 -04:00
  • 60f80e2698 Fixing the double-implicit-call-into-implicit-object problem. Jeremy Ashkenas 2010-09-15 22:29:03 -04:00
  • c782c2ec1c Fix for issue #685. Over-aggressize heredoc cleanup when there is no leading indentation. Jeremy Ashkenas 2010-09-15 22:08:13 -04:00
  • f0d778ce49 moving addImplicitBraces and addImplicitParentheses next to each other ... perhaps they should interleave. Jeremy Ashkenas 2010-09-14 22:57:01 -04:00
  • a3c224e57a Fixing issue #676, chained accesses against the super() keyword. Jeremy Ashkenas 2010-09-12 16:33:38 -04:00
  • b727245834 better error for external super() call. Jeremy Ashkenas 2010-09-12 16:25:00 -04:00
  • 6b19e61bd0 simplifying previous commit Jeremy Ashkenas 2010-09-12 16:20:01 -04:00
  • 38ce0cfd9a running cacheindexes on soaks that need them. Jeremy Ashkenas 2010-09-12 16:18:05 -04:00
  • 61a39e04fc Issue #680. @::prop versus this::prop, fixed lexing regex. Jeremy Ashkenas 2010-09-12 15:48:31 -04:00
  • ea3aa6803a using @containsType. Jeremy Ashkenas 2010-09-12 14:44:03 -04:00
  • 3a20d7dacb Partial fix for 653. Jeremy Ashkenas 2010-09-12 11:08:05 -04:00
  • e5837b4ee9 Actually caching the splatted constructor this time. Timothy Jones 2010-09-12 01:49:25 +12:00
  • d1f31c5143 Ensuring constructors invoked with splats behave correctly, along with caching. Timothy Jones 2010-09-12 01:28:22 +12:00
  • 4af41e9bfb Fixing issue #678 -- missing parentheses in a mixed operation(call(soak)) Jeremy Ashkenas 2010-09-11 08:39:14 -04:00
  • 121110a485 Adding Roast to the Resources. Jeremy Ashkenas 2010-09-10 15:41:35 -04:00
  • d41a414b5c Complexifying the indebt test, one more level. Jeremy Ashkenas 2010-09-08 22:48:28 -04:00
  • 9bd3cca7c4 Introducing the notion of 'indebt' to mirror 'outdebt', but for suppressed indentation with trailing operators etc. Issue #639. Jeremy Ashkenas 2010-09-08 22:46:13 -04:00
  • 18cbddff6a Fix for Issue #655. Leading empty commas in ArgLists are now disallowed. Jeremy Ashkenas 2010-09-08 21:39:51 -04:00
  • df414dab02 Issue #665. Recompile on --watch when file changes size, or mtime changes. Jeremy Ashkenas 2010-09-08 21:08:17 -04:00
  • 904207ba8f throwing errs from fs.readFile in watch mode. Jeremy Ashkenas 2010-09-08 20:55:34 -04:00
  • 44618d5765 Adding a test for Issue #669 Jeremy Ashkenas 2010-09-08 20:25:17 -04:00
  • 70cfd54ad4 Issue #670. 'THIS' tokens should trigger an implicit call. Jeremy Ashkenas 2010-09-08 20:15:16 -04:00
  • 62bf0a2bc9 Merge branch 'master' of git://github.com/StanAngeloff/coffee-script Jeremy Ashkenas 2010-09-08 09:03:42 -04:00
  • c9289155b4 Merge branch 'master' of git://github.com/chrislloyd/coffee-script Jeremy Ashkenas 2010-09-08 09:03:03 -04:00
  • cd67ec6e69 Bad variable name clobbers correct path in compile event. Chris Lloyd 2010-09-08 14:48:40 +02:00
  • cd6261d477 Fixed #669: Wrapper arguments Stan Angeloff 2010-09-08 15:18:08 +03:00
  • 3b60aad487 simplifying RangeNode grammar a bit. Jeremy Ashkenas 2010-09-04 06:48:20 -04:00
  • 493780efab separate out browser.coffee from the core coffee-script module. Jeremy Ashkenas 2010-09-04 06:39:01 -04:00
  • 9290e508c6 fix broken simplenum regex for rangenodes... Jeremy Ashkenas 2010-09-01 21:20:23 -04:00
  • a1ebb14495 fixing broken doc link (satyr) Jeremy Ashkenas 2010-08-31 21:52:15 -04:00
  • eb9a524ea1 Adding unmatched 'then' to the list of things that closes a single-line implicit call early. Issue #611. Jeremy Ashkenas 2010-08-30 22:04:13 -04:00
  • 0caa731291 re-enabling the mis-dented call case. Issue #657 Jeremy Ashkenas 2010-08-30 20:59:16 -04:00
  • 704fbf499b Merging in Tesco and rofrankel's soaks for function calls. A soaked check that fails will return undefined. Jeremy Ashkenas 2010-08-28 09:00:04 -04:00
  • 04fd24e068 Treat 'debugger' as a pure-statement keyword, not and identifier. Jeremy Ashkenas 2010-08-28 08:26:47 -04:00
  • dc6a83c030 built Tesco's fix for function soaks Richard Frankel 2010-08-25 18:59:21 -04:00
  • bcecbd051b added some tests for function soak Richard Frankel 2010-08-25 18:54:42 -04:00
  • 6607224493 Wrapping existence tests on functions. Timothy Jones 2010-08-26 09:03:10 +12:00