Commit Graph

5165 Commits

Author SHA1 Message Date
Arthur Ozga
90e19551bc merge compatiblity now performed in checker.ts 2015-06-02 15:03:01 -07:00
Daniel Rosenwasser
4d8d1cc956 Merge pull request #3347 from Microsoft/irregularExpressionCompletion
Block completion when in the flags of a regular expression
2015-06-02 14:15:47 -07:00
Cyrus Najmabadi
513183e7b1 PR feedback. 2015-06-02 13:58:49 -07:00
Daniel Rosenwasser
80e055740f Merge pull request #3348 from Microsoft/fixResolutionForFuncExprsClassExprsAndArgumentsForMaster
Fix resolution of named function & class expressions as well as 'arguments' (for master branch)
2015-06-02 13:56:51 -07:00
Cyrus Najmabadi
be97bd250c Merge branch 'master' into jsDocClassification 2015-06-02 13:48:56 -07:00
Daniel Rosenwasser
589a01c51f Block completion when in trailing flags of a regex. 2015-06-02 13:01:44 -07:00
Daniel Rosenwasser
eb95532bfa Don't use 'Value' or 'Type' as they have overlap. Instead test for the precise meaning. 2015-06-02 13:01:24 -07:00
Daniel Rosenwasser
baf46a94a6 Only resolve 'arguments' and function/class expression names if the meaning permits it. 2015-06-02 13:01:21 -07:00
Daniel Rosenwasser
d1b3ac7c12 Merge pull request #3288 from Microsoft/fixResolutionForFuncExprsClassExprsAndArguments
Fix resolution of named function & class expressions as well as 'arguments'
2015-06-02 12:57:05 -07:00
Arthur Ozga
a50ab3ebb0 Remove checking in declareSymbol 2015-06-02 12:20:36 -07:00
Arthur Ozga
edc4611341 removed comma 2015-06-02 11:27:40 -07:00
Arthur Ozga
2d77cbdc06 cleaner hasNonAmbientClass 2015-06-02 10:49:22 -07:00
Anders Hejlsberg
8b7caedbec Remove EmitResolver.getExpressionNameSubstitution
Add EmitResolver.getReferencedExportContainer
Add EmitResolver.getReferencedImportDeclaration
Clean up getGeneratedNameForNode in emitter.ts
Switch isNotExpressionIdentifier to isExpressionIdentifier in emitter.ts
Revise emitExpressionIdentifier in emitter.ts
2015-06-02 10:45:50 -07:00
Arthur Ozga
1f74b134f1 fixed style, added comment 2015-06-02 09:30:28 -07:00
SaschaNaz
910079a60e exclude closeparen/propertyaccess tokens 2015-06-02 15:28:29 +09:00
Zhengbo Li
70675162dc Add tests for projectinfo command 2015-06-01 17:45:28 -07:00
Ron Buckton
2cb0dfd99d Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-06-01 17:41:04 -07:00
Ron Buckton
f96cf338d9 Merge branch 'release-1.5' into master 2015-06-01 17:40:35 -07:00
Arthur Ozga
d25b91032f fixed indentation 2015-06-01 16:45:11 -07:00
Arthur Ozga
ed46bc3b58 Fixed intendation typo 2015-06-01 16:43:43 -07:00
Zhengbo Li
040dbd9def Merge branch 'master' of https://github.com/Microsoft/TypeScript into ms_master 2015-06-01 16:34:06 -07:00
Vladimir Matveev
f79f5bb765 Merge pull request #3331 from Microsoft/clean_hostCache
perf: clean hostCache to avoid extending lifetime of script snapshots
2015-06-01 16:32:06 -07:00
Vladimir Matveev
22e493d0d3 clean hostCache to avoid extending lifetime of script snapshots 2015-06-01 16:08:58 -07:00
Ron Buckton
62ba36908b Added experimentalDecorators flag 2015-06-01 15:01:24 -07:00
Arthur Ozga
6b8d0333af Merge branch 'master' into mergedDeclarationClassInterface 2015-06-01 14:53:21 -07:00
Arthur Ozga
05500f4577 Added merged declarations for ambient class/interfaces 2015-06-01 14:49:11 -07:00
Daniel Rosenwasser
9d736bc4b3 Merge pull request #3302 from OleksandrChekhovskyi/master
Follow symlinks when enumerating files in a directory
2015-06-01 13:53:23 -07:00
Arthur Ozga
18abf470c2 Revert "classInterface: changed excludes flags"
This reverts commit 813d227e37.
2015-06-01 09:17:09 -07:00
Oleksandr Chekhovskyi
f516ebd0e0 Follow symlinks when enumerating files in a directory 2015-06-01 09:12:26 +02:00
Anders Hejlsberg
46e0ba82ce Remove old (and insufficient) instantiation caching 2015-05-30 17:25:44 -07:00
Anders Hejlsberg
6f734d6ede Addressing CR feedback 2015-05-30 17:11:38 -07:00
Anders Hejlsberg
413176b2a1 Use symbols instead of types in infinite instantiation detection 2015-05-30 16:37:03 -07:00
Anders Hejlsberg
a2783edbeb Merge branch 'master' into localTypes 2015-05-30 11:32:59 -07:00
Anders Hejlsberg
db30e5745b Removing unnecessary logic 2015-05-30 09:27:06 -07:00
Anders Hejlsberg
3f99b74935 Display nested generic types as f<A>.g<B>.C<X, Y> 2015-05-30 09:17:53 -07:00
Zhengbo Li
321cfab2d7 CR feedback 2015-05-29 18:03:41 -07:00
Jason Freeman
77b46a2c3d Fix JSDoc error code for to avoid duplicate error code 2015-05-29 17:58:43 -07:00
Zhengbo Li
c597bd63fc Add APIs to provide project info for a given file
Return the path of the config file and the file name list of the project
(optionally). This is helpful in differentiate the build command
behavior for loose files and configured projects in sublime.
2015-05-29 17:20:41 -07:00
Jason Freeman
059bb18bac Merge branch 'master' of https://github.com/Microsoft/TypeScript into generators
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments14_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments15_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments17_ES6.symbols
	tests/baselines/reference/emitArrowFunctionWhenUsingArguments18_ES6.symbols
	tests/baselines/reference/for-of37.symbols
	tests/baselines/reference/for-of38.symbols
	tests/baselines/reference/for-of40.symbols
	tests/baselines/reference/for-of45.symbols
	tests/baselines/reference/for-of50.symbols
	tests/baselines/reference/iterableArrayPattern30.symbols
	tests/baselines/reference/promiseVoidErrorCallback.symbols
	tests/baselines/reference/typedArrays.symbols
2015-05-29 17:14:29 -07:00
Jason Freeman
faac853b64 Address PR feedback for generators 2015-05-29 17:03:05 -07:00
Daniel Rosenwasser
3cf9eca0c0 Added the iterator symbol to 'IArguments'. 2015-05-29 15:06:43 -07:00
Ron Buckton
36ae85c52d Merged branch 'master' into resolveDecoratorAsCall 2015-05-29 12:25:25 -07:00
Ron Buckton
87d0af10d0 Moved call for getSpreadArgumentIndex in hasCorrectArity 2015-05-29 11:00:19 -07:00
Anders Hejlsberg
26b955a4ac Addressing more CR feedback 2015-05-29 08:59:38 -07:00
Cyrus Najmabadi
26103b8548 Remove unnecessary code. 2015-05-28 15:18:39 -07:00
Cyrus Najmabadi
0f3584e9cc Removing unnecessary code. 2015-05-28 15:04:08 -07:00
Cyrus Najmabadi
caddec902a Remove uneeded code. 2015-05-28 14:58:22 -07:00
Cyrus Najmabadi
64c7f3d38b Add syntactic classification for doc comments. 2015-05-28 14:45:43 -07:00
Cyrus Najmabadi
302a0da7e7 Add tests for jsdoccomments. 2015-05-28 11:49:11 -07:00
Cyrus Najmabadi
9aab98419b Parsing support for jsDocComments. 2015-05-28 10:14:18 -07:00