2520 Commits

Author SHA1 Message Date
Yui T
593a0992f9 Update emitter due to merge with master 2015-01-23 17:28:12 -08:00
Yui T
de9547cc9e Update type checking for lexical binding due to merge with master 2015-01-23 17:08:08 -08:00
Yui T
581beb58dc Merge branch 'master' into emitArrowFunctionES6 2015-01-21 10:36:32 -08:00
Sheetal Nandi
8f3609048d Update the assert for valid line number when getting character position 2015-01-20 21:16:31 -08:00
Sheetal Nandi
e8e2356afa Fixes the emit of comment when comment ends on last line
This fixes regression from 5a7500ca5e62d7e6c7863cf42d156e8bcdc3017c with addition of eof token
Handles #1714
2015-01-20 21:16:14 -08:00
Vladimir Matveev
7f749909da Merge pull request #1746 from Microsoft/formattingTemplateLiterals
fixed smart indentation\formatting in template literals
2015-01-20 17:54:47 -08:00
Anders Hejlsberg
bb33167f7e Merge pull request #1692 from Microsoft/tsconfig
Support for tsconfig.json files
2015-01-20 17:08:26 -08:00
Anders Hejlsberg
45e700e515 Adding src/compiler/tsconfig.json and src/services/tsconfig.json 2015-01-20 16:28:57 -08:00
Anders Hejlsberg
fbfec8a07d Simplified cache logic + better error message when JSON not supported 2015-01-20 14:53:22 -08:00
Vladimir Matveev
8497667f33 drop trailing trivia prior to rescanning it 2015-01-20 14:44:24 -08:00
Vladimir Matveev
a6d374ee21 fixed smart indentation\formatting in template literals 2015-01-20 14:07:01 -08:00
Yui T
aa5e65a4e2 Remove old commit 2015-01-20 13:57:19 -08:00
Yui T
fbbc30f1df Address code review 2015-01-20 12:44:28 -08:00
Anders Hejlsberg
25e52a3975 Ignore symbolic links when enumerating directories 2015-01-20 09:58:25 -08:00
Yui T
15800b7d78 Merge branch 'master' into fixUnicodeComparisonTest262 2015-01-19 17:00:53 -08:00
Anders Hejlsberg
1aa67b7fc4 Adding comments and a missing undefined check 2015-01-19 16:41:33 -08:00
Mohamed Hegazy
8d5b65a533 Merge pull request #1654 from csnover/fix-1653
Use system line ending in services compiler host
2015-01-19 15:54:27 -08:00
Yui T
c727efd323 Fix unicode comparision and counting error for test262 2015-01-19 15:48:40 -08:00
Anders Hejlsberg
a2ecaf60f0 Merge branch 'master' into tsconfig 2015-01-19 14:50:18 -08:00
Anders Hejlsberg
9c802e7bd3 Modifying logic to watch files at all times in -watch mode 2015-01-19 14:45:23 -08:00
Colin Snover
d736014f35 Expose optional getNewLine for language service hosts
Fixes #1653.
2015-01-19 05:02:36 +00:00
Anders Hejlsberg
af61e6424a Watch for changes to tsconfig.json in -watch mode 2015-01-18 17:40:05 -08:00
Jason Freeman
ca9cd9af2b Change sys to ts.sys in instrumenter 2015-01-16 15:25:39 -08:00
Anders Hejlsberg
bce15cb368 Fixing negated language version checks 2015-01-16 07:15:31 -08:00
Anders Hejlsberg
c342b58b23 Adding reference to core.ts in sys.ts 2015-01-15 18:18:19 -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
Yui T
ba239c5812 Address code review 2015-01-15 17:12:44 -08:00
Daniel Rosenwasser
5bcb52f9b0 Merge pull request #1676 from Microsoft/disallowOptionalBindingParameters
Disallow optional destructured parameters in implementation signatures.
2015-01-15 16:55:14 -08:00
Daniel Rosenwasser
2a11222050 'may not' -> 'cannot' 2015-01-15 16:29:50 -08:00
Anders Hejlsberg
65452aa011 Hardening compiler to accept empty CompilerOptions object 2015-01-15 15:57:08 -08:00
Daniel Rosenwasser
8dd81ea4fc Merge pull request #1673 from Microsoft/unDestructuringParameterProperties
Disallow destructured parameter properties
2015-01-15 13:39:47 -08:00
Anders Hejlsberg
f9f95ba614 Support for tsconfig.json files in command-line compiler 2015-01-15 13:22:23 -08:00
Yui T
02b78da64b Merge branch 'master' into fixCurrentDirectoryForRwc 2015-01-15 10:36:45 -08:00
Yui T
ffbdf46f25 Address code review 2015-01-15 09:56:43 -08:00
Daniel Rosenwasser
75a1a8a493 Disallow optional destructured parameters in implementation signatures. 2015-01-14 17:25:46 -08:00
Yui T
6e8957da34 Pass information of rwc's currentDirectory to the compiler host in the Harness 2015-01-14 16:28:10 -08:00
Daniel Rosenwasser
e19ebc6d3e Disallow binding patterns in parameter properties. 2015-01-14 16:15:00 -08:00
Daniel Rosenwasser
bfe63cc4cb Merge pull request #1648 from Microsoft/contextualTypeParenthesizedExpressions
Contextually type parenthesized expressions
2015-01-14 14:52:07 -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
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
Daniel Rosenwasser
e20b22c18b Minor changes. 2015-01-13 16:46:41 -08:00
Daniel Rosenwasser
372b0a4e15 Updated parser lookahead for modifiers to anticipate object literals. 2015-01-13 16:24:23 -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
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
a99b958484 Manual port of fixe for #1593 from release-1.4 2015-01-13 09:30:54 -08:00