Jeremy Ashkenas
b68fd9d76e
Merge pull request #3042 from marchaefner/issue2844
...
Avoid excessive AST traversal in `updateLocationDataIfMissing`.
2013-06-20 22:33:50 -07:00
Marc Häfner
25c6001a6c
Speed up updateLocationDataIfMissing.
...
* Avoid excessive search for missing `locationData`
* Fix `locationData` for `ELSE IF`.
2013-06-21 02:47:29 +02:00
Jeremy Ashkenas
7250fdd576
Merge pull request #3031 from alexgorbatchev/stack-trace-patch-optimizations-2
...
Stack trace patch optimizations
2013-06-16 02:37:33 -07:00
Jeremy Ashkenas
b7f8443052
Merge pull request #3034 from marchaefner/baseIndent
...
Better handling of initial indent at file start.
2013-06-16 02:35:06 -07:00
Marc Häfner
4fd5e9a3ab
Better handling of initial indent at file start.
...
* Detect initial indentation before the first token and enforce it.
* Don't add `INDENT` token (or the matching `OUTDENT, TERMINATOR`).
2013-06-14 00:28:45 +02:00
Alex Gorbatchev
3785996c44
Made stack patch test less brittle.
2013-06-13 13:50:05 -07:00
Alex Gorbatchev
eb0a222eea
Using more standard convention for patched stack line numbers.
2013-06-13 12:58:04 -07:00
Alex Gorbatchev
3d761e73e3
Removed unnecessary source map generation during require() and made stack line number patching on by default.
2013-06-13 12:54:20 -07:00
Alex Gorbatchev
cc3b4e8080
Removed not used variable.
2013-06-13 12:23:06 -07:00
Michael Ficarra
ba7cb3ab69
fix #3029
2013-06-13 13:38:13 -05:00
Michael Ficarra
054443c46e
rebuild #3029
2013-06-13 13:35:40 -05:00
Jeremy Ashkenas
c8dae22cb0
Merge pull request #3029 from wangxian/master
...
fix block comment format "\n"
2013-06-13 10:55:52 -07:00
木頭
183ec48308
fix block comment
2013-06-13 07:44:17 +08:00
Jeremy Ashkenas
13187b0199
Merge pull request #2856 from epidemian/issue2849
...
Fixes #2849 : use correct filename and code in require()d sources
2013-06-09 00:40:18 -07:00
Demian Ferreiro
3c880bf601
Move a try/catch from compile to loadFile
...
This try/catch should only be necessary for dynamically loaded files. Also added a lengthier explanation of why this try/catch is needed.
2013-06-09 02:54:34 -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
Michael Ficarra
426ae97e49
Merge pull request #3014 from mset/master
...
base path for compilation can be './' as well as '.'
2013-06-03 06:27:38 -07:00
Marek Setnicka
f277a43645
Bug fix. When coffee is invoked with the -c parameter and './' value, first two characters of the directory into which the compiled files are stored get chopped off.
...
Example: if compilation invoked like this: 'coffee -o ../lib/ -cw ./', then
Source file: ./OutputFolder/file.coffee, compiled output: ./../lib/tputFolder/
The code only expected '.' to mark the local folder. However, './' is equally valid.
2013-06-03 13:51:26 +01:00
Jeremy Ashkenas
2e408648aa
renaming import test files to avoid risking the disfavor of .gitignore
2013-06-02 10:57:18 +04:00
Jeremy Ashkenas
f2f10e85a8
Revert "remove cake build:ultraviolet"
...
This reverts commit 2e6a781014 .
2013-06-02 09:45:11 +04:00
Jeremy Ashkenas
84b8b5ccee
CoffeeScript 1.6.3
1.6.3
2013-06-02 09:37:45 +04:00
Jeremy Ashkenas
7b14a6aad2
Fixing browser build boilerplate.
2013-06-02 09:21:36 +04:00
Jeremy Ashkenas
342306587c
Removing out of date testing cruft
2013-06-02 09:13:16 +04:00
Jeremy Ashkenas
3298c9caad
merge
2013-06-02 09:10:16 +04:00
Jeremy Ashkenas
7089b02a74
Merging in a monkey-patching of Module::load, unfortunately.
2013-06-02 09:03:54 +04:00
Jeremy Ashkenas
bd451800bf
Merge pull request #3000 from sgentle/require-extensions
...
Patch module.prototype.load to enable multiple extensions like .coffee.md
2013-06-01 21:44:02 -07:00
Jeremy Ashkenas
5e06f7e859
Removing Ultraviolet workaround
2013-06-02 07:50:03 +04:00
Michael Ficarra
0f5ae54014
Merge pull request #2930 from marchaefner/Issue1057
...
Fixes #1057 : Allow catch/finally in single line functions.
2013-05-31 14:56:04 -07:00
Michael Ficarra
5496a189bc
fixes #2934
2013-05-31 16:51:30 -05:00
Michael Ficarra
2e6a781014
remove cake build:ultraviolet
2013-05-31 15:49:48 -05:00
Michael Ficarra
b85cf5355f
Merge pull request #2085 from stepheneb/ruby-1-9-generate-coffeescript-syntax
...
rake task creates/installs coffeescript.syntax
2013-05-31 13:48:22 -07:00
Jeremy Ashkenas
f038d0514a
Merge pull request #2984 from xixixao/literatetest
...
Fixes tabbed code test in literate
2013-05-26 04:08:01 -07:00
Jeremy Ashkenas
7c4128ee3b
Merge pull request #3002 from Nami-Doc/issue3001
...
Disallowed `for own in`
2013-05-26 03:43:22 -07:00
Sam Gentle
012e3c019c
fix style problems part 3
2013-05-26 15:59:49 +10:00
Nami-Doc
b3ffd25339
Disallowed for own in
2013-05-26 00:29:26 +02:00
Sam Gentle
46a0dc6dce
Didn't mean to commit testsymlink
2013-05-26 02:33:11 +10:00
Sam Gentle
30b2af820a
Early exit + refactor findExtension
2013-05-26 02:17:34 +10:00
Sam Gentle
e7d01b903f
New tests for module importing
2013-05-26 02:09:52 +10:00
Sam Gentle
e4407dd73c
fix style problems part 2
2013-05-26 00:50:18 +10:00
Sam Gentle
2fd956d8d4
fix style problems
2013-05-26 00:10:07 +10:00
Sam Gentle
c0aac8e598
use helpers.isCoffee in test runner
2013-05-26 00:04:18 +10:00
Sam Gentle
d46a44ac48
Patch node module loader to handle multiple extensions - fixes #2928 & #2855
2013-05-25 23:22:27 +10:00
Sam Gentle
9b1bdd4b36
Add test for .coffee.md loading
2013-05-25 23:06:44 +10:00
Michal Srb
fd47920c63
Fixes tabbed code test in literate
2013-05-15 10:30:20 +01:00
Michael Ficarra
088b8b3ec5
Merge pull request #2978 from pushrax/master
...
Fix 'propeties' typo in docs
2013-05-08 17:44:53 -07:00
Justin Li
afd9b44dea
Fix 'propeties' typo in docs
2013-05-08 15:57:46 -04:00
In-Ho Yi
b54db2ea07
keep track of source map information for require()d coffee files
2013-04-29 17:06:22 +10:00
Michael Ficarra
3650d6eb4e
Merge pull request #2933 from marchaefner/master
...
Fix implicit calls with preceding herecomment
2013-04-28 21:07:52 -07:00
Marc Häfner
05b74f3743
Merge remote-tracking branch 'refs/remotes/upstream/master'
2013-04-29 05:27:13 +02:00
Michael Ficarra
174cd7eaa0
rebuild for some unneccessary parentheses changes
...
rebuild of 3921e3db34
2013-04-28 22:09:46 -05:00