Commit graph

34 commits

Author SHA1 Message Date
Sheetal Nandi b6d520a7a5 Handle recursive symlinks when matching file names
Fixes #28842
2019-03-13 12:30:47 -07:00
Sheetal Nandi 68e28da141 Build project if existing project was built with different compiler version 2019-03-08 15:14:34 -08:00
Sheetal Nandi 409d6c911e Add compiler version to buildInfo 2019-03-08 13:32:43 -08:00
Sheetal Nandi d4cfa41931 To test platform independent buildInfo baselines, move the logic to writeFile of SolutionBuilderHost 2019-03-08 13:00:29 -08:00
Sheetal Nandi bc4186cee5 Update the programBuildInfo to be platform and change independent so we can baseline it safely 2019-02-21 13:52:21 -08:00
Sheetal Nandi e3f8c34bc9 Add mechanism to dump and read program to build info 2019-02-07 12:10:15 -08:00
Sheetal Nandi 604af5c621 Handle get from readFileCache correctly.
Fixes #29623
2019-01-28 12:30:05 -08:00
Sheetal Nandi 7b290fdbd4 Update the timestamps of outputs that dont need to be written because of incremental build
This ensures that after `tsbuild` after incremental build of `tsbuild -w` doesnt result in unnecessary rebuilds
2018-12-21 12:56:03 -08:00
Sheetal Nandi 48baa42d65 Make SolutionBuilder handle BuilderProgram in preparation to handle incremental builds 2018-12-21 12:53:25 -08:00
Andy 12f3d0d54c
Enable --strictPropertyInitialization (#27558)
* Enable --strictPropertyInitialization

* Code review
2018-11-16 16:02:23 -08:00
Sheetal Nandi dedb2aefc0 Combine buildHost methods into SolutionBuilderHost's reportDiagnostic and reportStatus 2018-08-21 13:41:32 -07:00
Sheetal Nandi 0c4003e735 Use SolutionBuilderHost instead of using compilerhost for solution builder 2018-08-21 13:41:31 -07:00
Ryan Cavanaugh cb8aa9b1a3 Don't use invalid cached SourceFiles 2018-05-24 16:21:06 -07:00
Ryan Cavanaugh 8936b030cd Merge branch 'master' into tsbuild 2018-05-24 13:01:58 -07:00
Ryan Cavanaugh fc22b5b146 WIP 2018-05-24 10:59:07 -07:00
Andy e53e56cf82
Enable '--strictNullChecks' (#22088)
* Enable '--strictNullChecks'

* Fix API baselines

* Make sys.getEnvironmentVariable non-nullable

* make properties optional instead of using `| undefined` in thier type

* reportDiagnostics should be required

* Declare firstAccessor as non-nullable

* Make `some` a type guard

* Fix `getEnvironmentVariable` definition in tests

* Pretend transformFlags are always defined

* Fix one more use of sys.getEnvironmentVariable

* `requiredResponse` accepts undefined, remove assertions

* Mark optional properties as optional instead of using `| undefined`

* Mark optional properties as optional instead of using ` | undefined`

* Remove unnecessary null assertions

* Put the bang on the declaration instead of every use

* Make `createMapFromTemplate` require a parameter

* Mark `EmitResult.emittedFiles` and `EmitResult.sourceMaps` as optional

* Plumb through undefined in emitLsit and EmitExpressionList

* `ElementAccessExpression.argumentExpression` can not be `undefined`

* Add overloads for `writeTokenText`

* Make `shouldWriteSeparatingLineTerminator` argument non-nullable

* Make `synthesizedNodeStartsOnNewLine` argument required

* `PropertyAssignment.initializer` cannot be undefined

* Use one `!` at declaration site instead of on every use site

* Capture host in a constant and avoid null assertions

* Remove few more unused assertions

* Update baselines

* Use parameter defaults

* Update baselines

* Fix lint

* Make Symbol#valueDeclaration and Symbol#declarations non-optional to reduce assertions

* Make Node#symbol and Type#symbol non-optional to reduce assertions

* Make `flags` non-nullable to reduce assertions

* Convert some asserts to type guards

* Make `isNonLocalAlias` a type guard

* Add overload for `getSymbolOfNode` for `Declaration`

* Some more `getSymbolOfNode` changes

* Push undefined suppression into `typeToTypeNodeHelper`

* `NodeBuilderContext.tracker` is never `undefined`

* use `Debug.assertDefined`

* Remove unnecessary tag

* Mark `LiteralType.freshType` and `LiteralTupe.regularType` as required
2018-05-22 14:46:57 -07:00
Ryan Cavanaugh 6d04378e90 Testing WIP 2018-05-21 19:40:09 -07:00
Ron Buckton 70b6bd95c3 Cut back on more 'caught exceptions' from vfs 2018-05-11 20:44:21 -07:00
Wesley Wigham 556c316fed
Make new harness fake host more performant in large complications (#23951)
* Make new harness fake host more performant in large complications

* Use sortedmap
2018-05-08 12:46:33 -07:00
Ryan Cavanaugh ffa0ccba2a Project References Core support 2018-05-07 15:12:50 -07:00
Ron Buckton f67afa098f Unpatch vfs resolver and default lib rename 2018-05-03 14:18:50 -07:00
Ron Buckton c9c562afac Reorganize and remove duplication 2018-04-24 10:48:55 -07:00
Ron Buckton 6b79161f65 More cleanup and reorganization 2018-04-19 16:48:50 -07:00
Ron Buckton 0322d71515 Cleanup and reorganize fakes 2018-04-19 11:30:03 -07:00
Ron Buckton 154f09bee9 Reorganize project structure. 2018-04-17 18:42:59 -07:00
Ron Buckton f153b04f35 Revert changes to unit tests 2018-02-05 23:29:20 -08:00
Ron Buckton 4d8d51452c Migrate core.ts 2018-01-30 11:57:47 -08:00
Ron Buckton d0988b8078 PR Feedback 2018-01-29 15:35:44 -08:00
Ron Buckton 87de5ffb5c Merge branch 'master' into vfs 2018-01-22 02:25:22 -08:00
Ron Buckton ee415576b6 More consistent POSIX-like virtual file system. 2018-01-19 21:58:46 -08:00
Ron Buckton 7944f5082b Merge branch 'master' into vfs 2017-12-18 12:12:51 -08:00
Ron Buckton c3701dfe09 Deprecate virtualFileSystemWithWatch 2017-11-27 17:12:29 -08:00
Ron Buckton c5e502009f Migrate tsserverProjectSystem to vfs 2017-11-27 15:00:05 -08:00
Ron Buckton fa428356d5 Switch to function spies 2017-11-22 19:07:29 -08:00
Renamed from src/harness/mocks.ts (Browse further)