Commit Graph

20961 Commits

Author SHA1 Message Date
Dick van den Brink 30fa715c2c Remove src\services\compiler\diagnostics.ts
It contains the Logger interface but src\services\services.ts is the one which is used (also has more methods)
2015-01-14 23:20:38 +01:00
Yui d391a8a148 Merge pull request #1670 from Microsoft/fixTypeGuardWithInstanceOf
Fix narrow type for instanceOf and add testcases
2015-01-14 11:50:43 -08:00
Yui T cf81938ec8 Merge branch 'master' into fixTypeGuardWithInstanceOf 2015-01-14 11:50:11 -08:00
Yui T fdadd3c18e Fix narrow type for instanceOf and add testcases 2015-01-14 11:30:58 -08:00
Vladimir Matveev 0518124566 Merge pull request #1666 from Microsoft/noFormattingOnFirstLine
do not apply format on enter for the first line
2015-01-14 10:13:14 -08:00
Mohamed Hegazy c3e47979f3 Merge pull request #1661 from DickvdBrink/fix-perftsc
Fix jake perftsc task
2015-01-13 21:32:47 -08:00
Vladimir Matveev 2ce6c5635d do not apply format on enter for the first line 2015-01-13 19:11:21 -08:00
Jason Freeman 4a1851c7b8 Merge pull request #1562 from csnover/fix-1133
Ensure specialized signatures are always at the top when performing call candidate resolution
2015-01-13 17:33:57 -08:00
Paul van Brenk 54bf7adddb Add test case for completionlist when adding properties to a class. 2015-01-13 16:55:50 -08:00
Daniel Rosenwasser e20b22c18b Minor changes. 2015-01-13 16:46:41 -08:00
Dick van den Brink e9f098bdfd Fix jake perftsc task
Added ts module prefix andd depend on types.ts (for ts.Map<string>)
2015-01-14 01:34:17 +01:00
Daniel Rosenwasser 372b0a4e15 Updated parser lookahead for modifiers to anticipate object literals. 2015-01-13 16:24:23 -08:00
Daniel Rosenwasser b434ee42a8 Added tests. 2015-01-13 16:06:34 -08:00
Vladimir Matveev 87bcdff9a8 Merge pull request #1660 from Microsoft/saveNumericTokensInScanner
save token when scanning binary\octal literals
2015-01-13 15:42:49 -08:00
Vladimir Matveev a9a994caf6 Merge pull request #1658 from Microsoft/emptyParamList
when formatting lists check if end list token still belongs to the paren...
2015-01-13 14:40:33 -08:00
Vladimir Matveev f2338016df save token when scanning binary\octal literals 2015-01-13 14:37:55 -08:00
Vladimir Matveev 150720bd70 when formatting lists check if end list token still belongs to the parent node 2015-01-13 14:22:53 -08:00
Anders Hejlsberg cbecae3cf3 Merge pull request #1657 from Microsoft/unionTypeGuards
Improved union type guards
2015-01-13 11:59:54 -08:00
Vladimir Matveev 8256ddf756 Merge pull request #1647 from Microsoft/badPropNamesInConstEnums
disallow incorrect literal property names in indexed access for const en...
2015-01-13 11:33:30 -08:00
Mohamed Hegazy 118b7a984a remove unnecessary call sourceFile.getSourceFile() 2015-01-13 09:51:47 -08:00
Mohamed Hegazy 39355985b1 Update LKG 2015-01-13 09:39:10 -08:00
Mohamed Hegazy a99b958484 Manual port of fixe for #1593 from release-1.4 2015-01-13 09:30:54 -08:00
Mohamed Hegazy 32d4b4d045 Merge pull request #1650 from DickvdBrink/unused-stuff
Remove unused timer.ts file
2015-01-12 15:18:13 -08:00
Anders Hejlsberg 59e266de02 Improved handing of union types in type guards 2015-01-12 14:51:20 -08:00
Dick van den Brink e4701a6600 Remove unused timer.ts file 2015-01-12 23:34:21 +01:00
Vladimir Matveev c25f3eb9a3 addressed CR feedback 2015-01-12 11:31:54 -08:00
Vladimir Matveev ecac4a519d disallow incorrect literal property names in indexed access for const enums 2015-01-12 10:58:21 -08:00
Steve Lucco 799f907548 Merge pull request #1642 from Microsoft/addCmdLineParser
Added commandLineParser.ts to the generated node module
2015-01-12 08:20:03 -08:00
ChrisBubernak ce794e8b09 more cr feedback: rename undefined flags param to None 2015-01-12 07:45:49 -08:00
Mohamed Hegazy 57a7d8f378 Merge pull request #1638 from lptr/noimplicitany-description-fix
Show --noImplicitAny as an option to throw errors, not warnings
2015-01-12 06:22:45 -08:00
Colin Snover 4aef3d6012 Address code review comments from @JsonFreeman 2015-01-12 05:37:58 +00:00
Anders Hejlsberg bf46e50f89 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-01-11 18:31:06 -08:00
steveluc 12e55fb5f7 Added commandLineParser.ts to the generated node module, and added the
type information for commandLineParser.ts to typescript_internal.d.ts.
2015-01-11 16:20:19 -08:00
Lorant Pinter 47b8deb382 Show --noImplicitAny as an option to throw errors, not warnings
Fixes #1632
2015-01-11 11:14:06 +01:00
Daniel Rosenwasser 6783e35f89 Removed probably-unnecessary statement from test. 2015-01-11 00:21:37 -08:00
Daniel Rosenwasser 9c101479b9 Merge pull request #1637 from Microsoft/recoverFromForcePush2
Recover from force push (again)
2015-01-10 23:11:02 -08:00
Anders Hejlsberg 8ffe8ded58 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-01-10 14:55:59 -08:00
Daniel Rosenwasser c399274bfb Merge pull request #1635 from Microsoft/recoverFromForcePush
Recover from force push
2015-01-10 13:03:47 -08:00
Yui T cb48a5e110 Add testcases 2015-01-09 16:16:39 -08:00
Daniel Rosenwasser 22174a17c6 Contextually type parenthesized expressions. 2015-01-09 15:10:32 -08:00
Paul van Brenk 85c5b3d30b This fixes #1505 by not showing completionlist when defining a property. 2015-01-09 14:55:06 -08:00
Daniel Rosenwasser cd246992ed Clarified comment in test. 2015-01-09 14:19:24 -08:00
Ivo Gabe de Wolff 349841e2e3 Emit var in front of statement with tagged template 2015-01-09 21:22:42 +01:00
unknown 308f13fb9b infrastructure for builder item in completion list 2015-01-09 12:21:30 -08:00
Anders Hejlsberg 415b5ff418 Merge pull request #1625 from Microsoft/forEachPerf
Optimizing AST node visitor
2015-01-09 10:12:08 -08:00
Anders Hejlsberg a8cf58939b Adding comment 2015-01-09 06:52:24 -08:00
Anders Hejlsberg bdfb655d66 Renaming helpers and cleaning up logic 2015-01-08 18:46:48 -08:00
Daniel Rosenwasser f5f4e28f4f Fixed portion of test. 2015-01-08 16:53:26 -08:00
Anders Hejlsberg 78bb71f837 Optimizing forEachChild function to not create closures 2015-01-08 16:43:37 -08:00
Daniel Rosenwasser d5f02813f0 Added tests for contextual typing on parenthesized expressions, added case for tagged templates. 2015-01-08 16:39:47 -08:00