Commit Graph

14913 Commits

Author SHA1 Message Date
Vladimir Matveev 24ace87f22 syntactic/compiler options diagnostics 2016-06-19 15:38:16 -07:00
Vladimir Matveev cd1efd5109 docCommentTemplate 2016-06-19 15:16:21 -07:00
Vladimir Matveev 061bb0f9e5 navbar 2016-06-18 22:52:31 -07:00
Vladimir Matveev 0ab52bcb82 linter 2016-06-18 22:35:29 -07:00
Vladimir Matveev 12e593825f brace matching 2016-06-18 22:34:00 -07:00
Zhengbo Li ba78d1e35c Merge pull request #9250 from zhengbli/fix9244
Add missing worker types
2016-06-18 21:00:05 -07:00
Vladimir Matveev f2d55874d9 added indentation 2016-06-18 20:43:53 -07:00
zhengbli 634818cbac Add missing worker types 2016-06-18 20:35:52 -07:00
Mohamed Hegazy dfed7625af Add libcheck tests 2016-06-18 12:40:22 -07:00
Mohamed Hegazy f568ad0ce4 Add conditional index signature for Canvas2DContextAttributes (https://github.com/Microsoft/TypeScript/issues/9244) 2016-06-18 12:01:29 -07:00
Anders Hejlsberg 89596cb73b Numeric and boolean literal types 2016-06-18 07:21:23 -07:00
Vladimir Matveev 4d9213a337 added todo comments 2016-06-17 23:54:59 -07:00
Vladimir Matveev bd28b9a46d added outlining spans 2016-06-17 23:31:15 -07:00
Daniel Rosenwasser 3fe546b9ea Merge pull request #9240 from Microsoft/mapBeDamned
Array#map -> ts.map.
2016-06-17 18:24:04 -07:00
Richard Knoll f817ffaf47 Merge branch 'master' into glob2_merged 2016-06-17 17:55:15 -07:00
Richard Knoll 95072aab82 Responding to PR feedback 2016-06-17 17:32:10 -07:00
Daniel Rosenwasser e9226af3f6 Array#map -> ts.map. 2016-06-17 17:18:16 -07:00
Richard Knoll 86cde9e222 Updating readDirectory for tsserverProjectSystem unit tests 2016-06-17 16:56:23 -07:00
Yui 5f91b3cf40 [Transforms] merging "master" on 06/15/2016 (#9218)
* Add upper limit for the program size, fix readDirectory for the symlink files

* Add comments

* CR feedback / Change upper limit / Add disableSizeLimit compiler option

* online and offline CR feedback

* Don't count current opened client file if it's TS file

* Speed up file searching

* Make language service optional for a project

* Fix failed tests

* Fix project updateing issue after editing config file

* Fix merging issues and multiple project scenario

* Refactoring

* add test and spit commandLineParser changes to another PR

* Fix #8523

* check the declaration and use order if both are not in module file

* Fix #9098: report missing function impelementation errors for merged classes and namespaces

* Added tests.

* Accepted baselines.

* Check tuple types when getting the type node's type.

* Accepted baselines.

* Fix #9173: clear out lib and types before creating a program in transpileModule

* Added tests.

* Accepted baselines.

* Always check type assertion types.

* Accepted baselines.

* Use helper functions to simplify range tests

* Remove String, Number, and Boolean from TypeFlags.Falsy

* Add regression test

* Accept new baselines

* Allow property declarations in .js files

* Remove old test

* Refactor code to make if statements cheaper

* Fix test failure from mergining with master
2016-06-17 16:40:26 -07:00
Vladimir Matveev f34ba2df0b added cleanup message 2016-06-17 16:22:03 -07:00
Richard Knoll 08ca1c0dff Merge branch 'master' into glob2_merged 2016-06-17 15:34:06 -07:00
Mohamed Hegazy 2b4378daa3 Merge pull request #9180 from HerringtonDarkholme/interface
[Fix #9004] Improve error message for extending interface
2016-06-17 15:29:26 -07:00
Mohamed Hegazy 11bb6c08b9 Merge branch 'master' into Fix9173-2 2016-06-17 15:21:43 -07:00
Zhengbo Li abe7c19e34 Merge pull request #9237 from zhengbli/updateDomJune17
Routine dom lib update
2016-06-17 14:52:54 -07:00
Anders Hejlsberg c7dec0ea68 Merge pull request #9163 from Microsoft/typeGuardDiscriminants
Discriminated union types
2016-06-17 14:37:35 -07:00
Vladimir Matveev 6ebc8abea2 introduce EditorSettings/FormatCodeSettings interfaces 2016-06-17 14:06:33 -07:00
zhengbli 48a340f43c routine dom update 2016-06-17 13:02:26 -07:00
Jason Ramsay 218a5ba0bb Adding base indentation for script block formatting and smart indent 2016-06-17 13:02:15 -07:00
Andy Hanson 166bc49f0c Refactor navigation bar 2016-06-17 07:42:26 -07:00
Herrington Darkholme 2a9636b1be address code style 2016-06-17 11:31:56 +08:00
Herrington Darkholme 877977a450 add new tests for extends interface 2016-06-17 11:07:18 +08:00
Herrington Darkholme 38962eea82 use resolveEntityName to find interface 2016-06-17 10:22:56 +08:00
Vladimir Matveev 04d617de8d fix linter 2016-06-16 15:47:01 -07:00
Vladimir Matveev 7c0927d752 formatting 2016-06-16 15:23:52 -07:00
Yui 0e6f8eb2bc Using baselines for transpile unittests (#9195)
* Conver to Transpile unittest to use baselines instead

* Add baselines

* Fix linting error
2016-06-16 10:50:01 -07:00
Herrington Darkholme c721b5f981 add tests & add branches for module interface 2016-06-17 01:19:34 +08:00
Sheetal Nandi f96a7f03e4 Merge pull request #9166 from Microsoft/removeDotToken
Remove the stored dotToken from PropertyAccessExpression
2016-06-16 09:59:00 -07:00
zhengbli 478d76347b ignore casing when converting a source file path to relative path 2016-06-16 02:16:47 -07:00
Vladimir Matveev a8dc65de19 added missing check 2016-06-15 21:52:39 -07:00
Vladimir Matveev c1d6a14a6b set default project on script info when it is queried from project 2016-06-15 21:41:54 -07:00
Vladimir Matveev a063fa5cdb Merge branch 'tsserverVS-WIP' of https://github.com/Microsoft/TypeScript into tsserverVS-WIP 2016-06-15 21:23:38 -07:00
Vladimir Matveev 7b93e732d5 enable semantic classification 2016-06-15 18:30:08 -07:00
Ron Buckton 90e344e457 Fix linter warning 2016-06-15 17:59:02 -07:00
Ron Buckton fb9806b5f9 Updates type definitions for Promise and PromiseLike, fixes issues in async functions due to introduction of never type.
Fixes #9193.
2016-06-15 17:36:27 -07:00
Zhengbo Li 95ae809faa Merge pull request #7486 from zhengbli/fixLargeProjectTry2
Add upper limit for the program size to prevent tsserver from crashing
2016-06-15 17:31:15 -07:00
zhengbli 550d91249b Refactor code to make if statements cheaper 2016-06-15 16:52:07 -07:00
Vladimir Matveev 64423257ca normalize file name before lookup 2016-06-15 16:45:04 -07:00
zhengbli 335443693f Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/program.ts
#	tests/cases/unittests/tsserverProjectSystem.ts
2016-06-15 14:36:45 -07:00
Vladimir Matveev f103f20b69 do getDirectoryPath after normalization 2016-06-15 13:52:09 -07:00
Ron Buckton 278a350add Add support for external helpers module, cleanup, and accept new baselines. 2016-06-15 13:49:32 -07:00