Jason Freeman
28c9ff1d84
Merge pull request #3175 from Microsoft/release-1.5
...
Merge release-1.5 into master
2015-05-15 00:07:24 -07:00
Yui T
afc0847e8b
Address code review
2015-05-14 15:06:30 -07:00
Jason Freeman
8922a09039
Only call getTypeOfSymbol recursively if it's a value
2015-05-13 17:45:09 -07:00
Yui T
3bd96e328a
use CRLF by default
2015-05-13 13:47:56 -07:00
Jason Freeman
80f33dd3ea
Make boolean compiler options in harness true only if they say 'true'
2015-05-08 15:03:44 -07:00
Jason Freeman
b6979d80dc
Make boolean compiler options in harness true only if they say 'true'
2015-05-08 13:43:13 -07:00
Tingan Ho
0c2ae8fc53
Fixes iojs environment check issue
2015-05-06 10:12:37 +08:00
Jason Freeman
a25534bd8d
Remove unnecessary LineEndingSensitive option from BaselineOptions
2015-05-05 11:36:21 -07:00
Jason Freeman
d3a2c2a042
Make the harness report a failure if the line endings differ from the baselines
2015-05-04 17:29:57 -07:00
Mohamed Hegazy
15f4b58d6c
Merge pull request #2966 from Microsoft/getTypeDefinitionAtPosition
...
Get type definition at position
2015-05-04 14:51:10 -07:00
Mohamed Hegazy
91fedf4df1
Update description message and variable names
2015-05-04 13:21:39 -07:00
Mohamed Hegazy
7fc6142def
Merge branch 'master' into getTypeDefinitionAtPosition
...
Conflicts:
src/services/services.ts
2015-05-04 10:02:37 -07:00
kmashint
be3e3e7646
Compiler flag to specify line ending #1693 unit test adjustments
2015-05-03 02:18:20 -04:00
kmashint
47c4c125fe
Compiler flag to specify line ending #1693 unit test adjustments
2015-05-03 02:07:45 -04:00
kmashint
2e0a55c4d3
Compiler flag to specify line ending #1693 unit tests
2015-05-03 02:07:39 -04:00
Mohamed Hegazy
3c99527e6e
Add tests for __metadata and __param
2015-05-01 16:30:30 -07:00
Mohamed Hegazy
93bf569432
Merge branch 'feature/noEmitExtends' of https://github.com/whitneyit/TypeScript into whitneyit-feature/noEmitExtends
2015-05-01 16:04:04 -07:00
Mohamed Hegazy
1de5ea802b
Respond to code review comments
2015-05-01 14:58:23 -07:00
Cyrus Najmabadi
7769b4cd19
Update names.
2015-04-30 17:48:01 -07:00
Cyrus Najmabadi
5ad7a593d4
Add a common, dense, format for classification operations to lower cost of processing on the host side.
...
We now just return an array of triples to represent classified results. The triple contains:
1) the start of the classification.
2) the length of the classification.
3) the type of the clasification.
We also encode this into a comma separated string when passing over to the managed side
(as opposed to an JSON array). That way we don't pay such a high JSON parsing cost.
Instead, we can just do a string.split(",") on the encoded triples and process each
element ourselves.
2015-04-30 14:26:46 -07:00
Cyrus Najmabadi
d1607cfc65
Merge branch 'master' into getClassifications2
2015-04-30 13:16:47 -07:00
Mohamed Hegazy
e9f76d0002
Add implementation for getTypeDefinitionAtPosition
2015-04-29 22:54:49 -07:00
James Whitney
76fa4b838f
Add support for --noEmitHelpers flag
...
This PR is a Work In Progress that addresses multiple `__extends`
being output as described in #1350 : Multiple `__extends` being output
when `--module amd` is set.
The issue still exists as of `v1.5.0 - f53e6a8`.
Apparently a fix was created for this in #1356 but according to #2009 , a
[comment](https://github.com/Microsoft/TypeScript/issues/2009#issuecomment-74136291 )
later indicated that this was never merged in.
Further conversation continued in #2487 but did not yield any result. I
refer to my earlier recommendation in #1350 .
> My question is this, would the TypeScript team be open to a flag that
> can be passed to tsc that will generate something like the following
> ```ts
> define(["require", "exports", "__extends", './mammal'], function (require, exports, __extends, Mammal) {
> var Human = (function (_super) {
> __extends(Human, _super);
> function Human() {
> _super.apply(this, arguments);
> }
> return Human;
> })(Mammal);
> return Human;
> });
> ```
To continue with the naming convention I have chosen the flag
`--noEmitHelpers`.
2015-04-30 13:23:30 +10:00
Mohamed Hegazy
0d2e50b167
Merge pull request #2955 from Microsoft/projectRunner
...
Run all checks in it blocks
2015-04-29 10:25:07 -07:00
Mohamed Hegazy
e76439b2ff
Run all checks in it blocks
2015-04-28 17:48:01 -07:00
Daniel Rosenwasser
97cd07d1d4
Cache the emit of 'fourslash.ts'.
...
Yields a >25% decrease in running time for fourslash tests on my machine.
2015-04-28 17:20:38 -07:00
Daniel Rosenwasser
f3b28c4a2a
Remove 'reverse' option.
2015-04-27 16:55:53 -07:00
Daniel Rosenwasser
ebe17b107f
Remove global.runners.
2015-04-27 16:54:13 -07:00
Mohamed Hegazy
32409f9b9b
Merge branch 'master' into inlineSourceMaps
2015-04-27 10:11:43 -07:00
Vladimir Matveev
2fc90d070a
Merge pull request #2925 from Microsoft/properMochaUseInProjectRunner
...
wrap project runner tests in 'it' instead of executing them in 'describe'
2015-04-27 09:39:55 -07:00
Vladimir Matveev
b562973f39
wrap project runner tests in 'it'
2015-04-26 21:09:43 -07:00
Vladimir Matveev
b1cc06e44c
merge with master
2015-04-23 20:50:35 -07:00
Cyrus Najmabadi
25c52bb406
Faster getClassifications
2015-04-23 13:40:34 -07:00
Paul van Brenk
f5b75439ea
Merge branch 'master' of https://github.com/Microsoft/TypeScript
2015-04-23 12:58:27 -07:00
Mohamed Hegazy
ae4474aa40
Merge branch 'fix-2036' of https://github.com/csnover/TypeScript into csnover-fix-2036
2015-04-23 10:21:11 -07:00
Paul van Brenk
c6a9c8fa89
Merge branch 'master' of https://github.com/Microsoft/TypeScript
2015-04-22 13:05:07 -07:00
Colin Snover
378b5ffd1a
Add support for UMD-like module export format
...
The new module format enables global-less universal modules,
compatible with both AMD and CJS module loaders.
Fixes #2036 .
2015-04-22 14:21:33 -05:00
Cyrus Najmabadi
81ebac5d77
Produce type and symbol baseslines when running tests.
2015-04-21 17:07:57 -07:00
Paul van Brenk
80ae52b7e9
expose the config file processing throught the LS and
...
add a callback to enumerate files in a directory
2015-04-21 13:24:02 -07:00
Mohamed Hegazy
658bba9eaf
Add --inlineSources option
2015-04-20 20:33:31 -07:00
Vladimir Matveev
dcb4c24b43
merge with master
2015-04-20 13:40:13 -07:00
Mohamed Hegazy
c940b1651a
Merge branch 'master' into inlineSourceMaps
2015-04-19 13:33:50 -07:00
Mohamed Hegazy
8964b8e5b6
Merge branch 'master' into rootDir
...
Conflicts:
tests/baselines/reference/APISample_compile.types
tests/baselines/reference/APISample_linter.types
tests/baselines/reference/APISample_transform.types
tests/baselines/reference/APISample_watcher.types
2015-04-16 16:52:51 -07:00
Cyrus Najmabadi
9ab6be3314
Don't run typewriter tests on the APISamples. It's too noisy.
2015-04-15 17:41:32 -07:00
Cyrus Najmabadi
a2efe474cf
Split symbol baselines from type baselines.
2015-04-15 16:44:20 -07:00
Mohamed Hegazy
261adffe50
Add rootDir option
2015-04-14 22:11:25 -07:00
Cyrus Najmabadi
29f3f6fcae
Merge branch 'master' into typeWriter
2015-04-13 14:29:37 -07:00
Cyrus Najmabadi
b5b9f517ce
Include symbol information in the typewriter baselines.
2015-04-13 13:54:22 -07:00
Cyrus Najmabadi
592e2314d4
Simplify typewriter code.
2015-04-13 12:36:11 -07:00
Vladimir Matveev
50496ccd97
added system module kind to harness
2015-04-10 12:12:25 -07:00