Bill Ticehurst
24141f05db
Merge pull request #2245 from billti/ExportVersion
...
Made the 'version' string an exported property
2015-03-07 21:40:32 -08:00
Cyrus Najmabadi
a18934d6da
Address omitted return keyword.
2015-03-07 12:27:20 -08:00
Bill Ticehurst
da5caf5f72
Made the 'version' string an exported property
2015-03-06 17:09:55 -08:00
Bill Ticehurst
02eb7466a7
Fix watch to honor tsconfig.json setting
2015-03-05 23:32:54 -08:00
Daniel Rosenwasser
212aeb5e53
Revert "Run jake in interactive mode so output isn't lost."
2015-03-03 22:12:06 -08:00
Daniel Rosenwasser
35bfe4e394
Merge pull request #2063 from jbondc/contrib
...
Run jake in interactive mode so output isn't lost.
2015-03-03 12:30:34 -08:00
Cyrus Najmabadi
0be645943a
Print times in a manner more consistent with the 1.3 compiler.
...
This allows us to more accurately compare and constrast times between that
compiler and the current one.
2015-02-26 14:51:04 -08:00
Cyrus Najmabadi
990bbb2dce
CR feedback to use template strings.
2015-02-19 15:52:37 -08:00
jbondc
9ee494a1c9
Perfsys no longer used
2015-02-19 15:20:34 -05:00
jbondc
97ffcc3520
Run jake in interactive mode so output isn't lost.
...
Fix jake perftsc.
2015-02-19 09:43:44 -05:00
Cyrus Najmabadi
124a77cc3a
Remove 'ZeroBased' from all APIs, now that all APIs are zero based.
2015-02-16 19:35:45 -08:00
Cyrus Najmabadi
1098e80f4b
Remove one-based helper function.
2015-02-16 17:41:07 -08:00
Cyrus Najmabadi
35b489d7d1
Rename our one-based methods to more clearly indicate that that's what base they use.
2015-02-16 15:20:05 -08:00
Yui T
91a39dd000
Fix time measurement
2015-02-13 13:42:17 -08:00
Cyrus Najmabadi
66a363f449
Simplify the API for emitting and reporting exit statuses to callers.
2015-02-05 15:50:18 -08:00
Cyrus Najmabadi
337a99f62a
Change the API for getting diagnostics so that all calls go through a Program instance.
2015-02-05 01:47:29 -08:00
Cyrus Najmabadi
b12be3db19
Remove dependency from the typechecker to the compiler host.
...
This also lets us not expose the compiler host from the Program instance.
The compiler host was only needed by the type checker to get the host newline.
The host newline was used for concatenating diagnostic message chains. Now
we don't concatenate them up front. Instead, we just store the message chain
in the diagnostic itself. Then when we pass it to the host, it can then decide
what newline to use.
2015-02-04 23:20:26 -08:00
Cyrus Najmabadi
de30866460
Simplify the code for actually compiling within tsc.
2015-02-04 22:26:03 -08:00
Cyrus Najmabadi
28c1a23e7c
Track performance statistics in the ts module.
...
This allows us to greatly simplify the compile function in tsc.
2015-02-04 18:42:44 -08:00
Cyrus Najmabadi
476c8249ac
Remove 'isEmitBlocked' from the program API.
...
If emitting is blocked, then calling .emit on the program will simply return
immediately with an appropriate reason given in the EmitResult.
2015-02-04 17:48:29 -08:00
Cyrus Najmabadi
bb307f8163
Simplify the API for emitting code from the Program instance.
2015-02-04 16:53:14 -08:00
Cyrus Najmabadi
b6d083fa40
Do not publicly expose a way on a Program instance to get typecheckers with differing behavior.
...
Now, you can only get the non-diagnostics, pull-type-checker from the Program instance.
If you want diagnostics, you simply ask the Program instance for the diagnostics you want.
2015-02-04 16:11:38 -08:00
Cyrus Najmabadi
95702a89a7
Fix spelling of 'Filename' to be 'FileName'.
2015-02-03 16:08:46 -08:00
CyrusNajmabadi
fab351e0b6
Merge pull request #1913 from Microsoft/internalDTS
...
Provide an experimental flag that allows us to emit declarations except for nodes marked with '@internal'.
2015-02-03 16:29:04 -05:00
Cyrus Najmabadi
838b9b6998
Provide an experimental flag that allows us to emit declarations except for nodes marked with '@internal'.
2015-02-03 13:15:28 -08:00
Vladimir Matveev
288e38fa36
merge with master
2015-02-03 11:26:39 -08:00
Daniel Rosenwasser
394d6f4f0e
Bump version to 1.5.
2015-01-30 12:17:18 -08:00
Vladimir Matveev
ad42afc4af
resolve merge conflicts
2015-01-22 11:23:27 -08:00
Anders Hejlsberg
fbfec8a07d
Simplified cache logic + better error message when JSON not supported
2015-01-20 14:53:22 -08:00
Anders Hejlsberg
25e52a3975
Ignore symbolic links when enumerating directories
2015-01-20 09:58:25 -08:00
Anders Hejlsberg
1aa67b7fc4
Adding comments and a missing undefined check
2015-01-19 16:41:33 -08:00
Anders Hejlsberg
9c802e7bd3
Modifying logic to watch files at all times in -watch mode
2015-01-19 14:45:23 -08:00
Anders Hejlsberg
af61e6424a
Watch for changes to tsconfig.json in -watch mode
2015-01-18 17:40:05 -08:00
Vladimir Matveev
45ac06a0f2
move line map related function out of SourceFile
2015-01-16 12:02:12 -08:00
Anders Hejlsberg
960d92f9b6
Default to all files only when none are specified in tsconfig.json
2015-01-15 17:12:45 -08:00
Anders Hejlsberg
f9f95ba614
Support for tsconfig.json files in command-line compiler
2015-01-15 13:22:23 -08:00
Cyrus Najmabadi
67b2f13cce
Merge branch 'master' into layering
...
Conflicts:
src/compiler/parser.ts
2014-12-18 00:39:56 -08:00
Arnavion
cd6eb180c6
Don't emit outputs when -noEmit is specified.
2014-12-16 20:25:19 -08:00
Cyrus Najmabadi
f5ad79fe7a
Remove the dependency that TypeChecker and Emitter have on Program.
...
Instead, these layers explicitly specify the functionality they need, and don't take in anything extra.
2014-12-16 14:12:17 -08:00
Cyrus Najmabadi
4aa361d4bf
Layer the compiler so that every layer only depends on hte layers below it.
...
The layering is now:
types
core
scanner
parser
binder
checker
emitter
program
2014-12-16 13:14:14 -08:00
Mohamed Hegazy
774c061779
Merge branch 'release-1.4' into suppressNoImplicitAnyErrors
...
Conflicts:
src/compiler/parser.ts
src/harness/harness.ts
2014-12-10 18:45:28 -08:00
Daniel Rosenwasser
905d978883
Moved createCompilerHost into parser.ts
2014-12-10 17:13:39 -08:00
Daniel Rosenwasser
4deea66c1c
Put 'sys' into the 'ts' module.
2014-12-10 14:40:09 -08:00
Mohamed Hegazy
06e73d33be
Commandline definitions use a property "paramType" to specify the name of thier type e.g. File, Version, etc.., that was changed in the defintion to paramName, without changing the use site, changing it back to paramType.
2014-12-09 14:13:44 -08:00
Paul van Brenk
40e5c73504
Update version to 1.4
2014-12-08 16:51:40 -08:00
Mohamed Hegazy
d3e70ecfbf
Merge branch 'master' into es6typings
...
Conflicts:
src/compiler/parser.ts
src/compiler/tsc.ts
src/harness/harness.ts
src/harness/projectsRunner.ts
tests/baselines/reference/templateStringsArrayTypeDefinedInES5Mode.errors.txt
2014-11-27 09:59:46 -08:00
Yui T
92f8d0ba28
Change the name invokeEmitter back to emitFiles
2014-11-25 10:30:13 -08:00
Yui T
970aac6458
Address code review
2014-11-18 16:32:18 -08:00
Yui T
dcf51d85f4
Refactoring main-compiler (tsc) to use short-hand
2014-11-18 12:06:05 -08:00
Mohamed Hegazy
bdee183887
minor fixes
2014-11-17 12:47:58 -08:00