Commit Graph

23471 Commits

Author SHA1 Message Date
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
Vladimir Matveev e8c5a591a4 getSemanticDiagnostics 2016-06-15 13:05:55 -07:00
Zhengbo Li 7bb739fa40 Merge pull request #9083 from zhengbli/i6853
Check use before declaration if both the use and decalration are not in module file
2016-06-15 12:43:30 -07:00
Zhengbo Li 8c38cbfb4b Merge pull request #9073 from zhengbli/i8523
Increase project reference count even when the opened file is referenced by it but not its root
2016-06-15 12:42:14 -07:00
Daniel Rosenwasser 9a2cf115c0 Merge pull request #9170 from Microsoft/emptyTupleAssertions
Correctly check types in type assertions
2016-06-15 12:35:04 -07:00
Mohamed Hegazy ce45ee797c Fix comment 2016-06-15 12:23:00 -07:00
Andy a1e0504ed4 Merge pull request #9189 from Microsoft/js_property_declaration
Allow property declarations in .js files
2016-06-15 12:20:41 -07:00
Mohamed Hegazy 97be083d99 Merge pull request #9100 from Microsoft/Fix9098
Fix #9098: report missing function implementation errors for merged …
2016-06-15 11:53:31 -07:00
Ron Buckton 4eb2a82dca Merge branch 'transforms' into transforms-generators 2016-06-15 11:41:21 -07:00
Ron Buckton a766005d65 Merge pull request #9097 from Microsoft/transforms-importHelpers
[Transforms] Import external helpers module
2016-06-15 11:39:22 -07:00
Mohamed Hegazy 95ddfc7efc Do not use Object.assing in test 2016-06-15 11:38:28 -07:00
Ron Buckton f3d0b86e81 Short-circut when reporting errors for helpers. 2016-06-15 11:26:58 -07:00
Anders Hejlsberg a3a0c9877b Merge pull request #9188 from Microsoft/relaxLogicalAnd
Relax && operator typing
2016-06-15 11:07:54 -07:00
Andy e2376a74cc Merge pull request #9185 from Microsoft/simplify_range_tests
Use helper functions to simplify range tests
2016-06-15 11:04:58 -07:00
Ron Buckton 5e31b25af4 Merge branch 'transforms' into transforms-generators 2016-06-15 11:04:21 -07:00
Ron Buckton b65c648072 Merge branch 'transforms' into transforms-importHelpers 2016-06-15 11:02:52 -07:00
Yui 03d273ea5c Update baselines and fix failure when merged with master (#9172) 2016-06-15 11:02:29 -07:00
Andy Hanson 9b6472aec0 Remove old test 2016-06-15 11:00:27 -07:00
Andy Hanson dd0411a2f3 Allow property declarations in .js files 2016-06-15 09:42:52 -07:00
Anders Hejlsberg c9e5bcb276 Accept new baselines 2016-06-15 09:35:45 -07:00
Anders Hejlsberg 28b241e615 Add regression test 2016-06-15 09:28:45 -07:00
Anders Hejlsberg 6366a6d6a3 Remove String, Number, and Boolean from TypeFlags.Falsy 2016-06-15 09:28:28 -07:00
Andy Hanson 8a025fcff4 Use helper functions to simplify range tests 2016-06-15 09:05:15 -07:00
Herrington Darkholme 85434c59fc accept baselines 2016-06-15 20:55:50 +08:00
Herrington Darkholme 386fa3e1f6 improve error message for extending interface 2016-06-15 20:54:56 +08:00
Daniel Rosenwasser 74a784c8be Accepted baselines. 2016-06-14 22:38:35 -07:00
Mohamed Hegazy da3333e967 Clear out unused compiler options when transpiling 2016-06-14 19:24:38 -07:00
Daniel Rosenwasser 52a96ac819 Always check type assertion types. 2016-06-14 19:13:32 -07:00
Daniel Rosenwasser f786c5c187 Accepted baselines. 2016-06-14 19:03:00 -07:00
Daniel Rosenwasser 14c2bcf73a Added tests. 2016-06-14 19:02:47 -07:00
Ron Buckton d5f5d927af Merge branch 'transforms' into transforms-importHelpers 2016-06-14 18:23:51 -07:00
Ron Buckton a096b87c34 Updated baselines. 2016-06-14 18:23:31 -07:00
Mohamed Hegazy 38c89af6b2 Merge pull request #9174 from Microsoft/Fix9173
Fix #9173: clear out lib and types before creating a program in transpileModule
2016-06-14 18:05:06 -07:00
Ron Buckton 9073572843 Merge branch 'transforms' into transforms-generators 2016-06-14 18:04:48 -07:00
Vladimir Matveev 9775ce03ef merge with origin/master 2016-06-14 18:02:54 -07:00
Wesley Wigham 81d6c0718d Make builtLocalCompiler depend on the local servicesFile 2016-06-14 18:00:25 -07:00
Ron Buckton ea61f2b32b Added tests and fixed related emit issues. 2016-06-14 17:59:44 -07:00
Vladimir Matveev c3b1645868 fix tests issues 2016-06-14 17:51:19 -07:00
Wesley Wigham c98166ccc7 Accept new LKG (LKGd via gulp) 2016-06-14 17:46:40 -07:00
Mohamed Hegazy 784a76530c Fix #9173: clear out lib and types before creating a program in transpileModule 2016-06-14 17:44:57 -07:00
Wesley Wigham e0ffe05f02 Alter LKG task to let more be done in parallel 2016-06-14 17:40:33 -07:00
Wesley Wigham c7c2abbb8b Add needsUpdate check to lib tasks 2016-06-14 17:35:32 -07:00
Wesley Wigham 09ff5325ee Fix lssl task 2016-06-14 17:31:25 -07:00
Vladimir Matveev adb726643a add cancellation support 2016-06-14 17:30:55 -07:00
Wesley Wigham 121bead8d1 Fix run.js depending on the wrong local build target 2016-06-14 16:56:47 -07:00