138 Commits

Author SHA1 Message Date
Nathan Shively-Sanders
a138e6307f Avoid using this in object literals where possible 2016-07-11 11:30:22 -07:00
Nathan Shively-Sanders
b543074861 Compile with --noImplicitThis
1. Add to various tsconfig.json
2. Add to Jakefile
3. Add annotations where needed.
4. Add workaround to shims.ts, which uses toplevel `this`.
2016-07-08 15:13:32 -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
Richard Knoll
08ca1c0dff Merge branch 'master' into glob2_merged 2016-06-17 15:34:06 -07:00
zhengbli
e41b10bbc7 add test and spit commandLineParser changes to another PR 2016-06-10 02:06:31 -07:00
zhengbli
d387050aaa Fix merging issues and multiple project scenario 2016-06-09 15:30:55 -07:00
zhengbli
94d44ad81d Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/commandLineParser.ts
#	src/compiler/program.ts
#	src/compiler/sys.ts
#	src/compiler/types.ts
#	src/server/editorServices.ts
#	src/server/session.ts
2016-06-09 14:58:28 -07:00
zhengbli
3052913b92 add tests for tsserver project system 2016-06-07 02:14:56 -07:00
Richard Knoll
0415b95fd2 Passing regular expressions to native hosts 2016-05-31 10:11:04 -07:00
Richard Knoll
aa5c51c516 Fixing lint errors 2016-05-26 10:17:43 -07:00
Richard Knoll
50f0033e61 Merge branch 'master' into glob2_merged
Conflicts:
	src/compiler/sys.ts
	src/harness/harnessLanguageService.ts
	tests/cases/unittests/cachingInServerLSHost.ts
	tests/cases/unittests/tsconfigParsing.ts
2016-05-26 10:04:54 -07:00
Richard Knoll
db856431e8 Fixing linter and test errors 2016-05-25 17:07:36 -07:00
Richard Knoll
084b94c4c1 Merge branch 'master' into glob2
Conflicts:
	Jakefile.js
	src/compiler/commandLineParser.ts
	src/compiler/core.ts
	src/compiler/sys.ts
	src/harness/harness.ts
	src/server/editorServices.ts
	src/services/shims.ts
	tests/cases/unittests/cachingInServerLSHost.ts
2016-05-25 17:06:50 -07:00
Ryan Cavanaugh
2d5f38c2bc Only return dirs from getdirectories 2016-05-23 16:20:13 -07:00
Ryan Cavanaugh
f4e10eb738 Automatically consume /types 2016-05-17 15:41:31 -07:00
Vladimir Matveev
2b5bbfee60 use CompilerHost.realpath to resolve actual location for symlinks 2016-05-05 13:38:09 -07:00
zhengbli
a09b001c61 Add env to allow switch to non-polling if really wants to 2016-04-22 11:54:09 -07:00
zhengbli
576e5f8055 So we are back to polling. 2016-04-19 14:25:57 -07:00
mihailik
aa2708f510 Prefer ChakraHost when available to node and WScript 2016-04-10 12:07:47 +01:00
Mohamed Hegazy
4b5618bd60 Merge branch 'master' of https://github.com/vilic/TypeScript into vilic-master 2016-04-04 11:23:30 -07:00
Zhengbo Li
5c9ce9e8ec Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixLargeProjectTry2
# Conflicts:
#	src/compiler/sys.ts
2016-03-28 13:22:07 -07:00
zhengbli
ddbfb7b961 refactor 2016-03-24 15:56:13 -07:00
zhengbli
d0545ffee8 Explicitly exclude . and .. for fs.readdirSync 2016-03-24 14:16:38 -07:00
zhengbli
e9b514cf8a Use fileName instead of Path when dealing with file systems directly 2016-03-23 12:49:34 -07:00
zhengbli
cb46f16406 Fix failed tests 2016-03-17 19:57:40 -07:00
zhengbli
c8e0b00007 Make language service optional for a project 2016-03-17 15:55:53 -07:00
zhengbli
225e3b4f45 Speed up file searching 2016-03-16 23:01:24 -07:00
zhengbli
a3aa0002a3 CR feedback / Change upper limit / Add disableSizeLimit compiler option 2016-03-14 14:54:18 -07:00
zhengbli
b155fa847a Add comments 2016-03-11 16:18:40 -08:00
zhengbli
4d3cff1e5a Add upper limit for the program size, fix readDirectory for the symlink files 2016-03-11 15:56:36 -08:00
Bill Ticehurst
cc76f0f7f0 Fixed watcher for rename operations, and for allowJs in config file
(cherry picked from commit 745f32bbee791cfef0862fe95a18aa66274d095a)
2016-02-12 08:59:16 -08:00
Vladimir Matveev
b18cbc6300 address PR feedback 2016-02-11 17:29:01 -08:00
Vladimir Matveev
354e650341 fix 'fileExists' check by using stat directly 2016-02-11 16:59:54 -08:00
Josh Soref
284b26f49f spelling fixes for src/compiler
* after
* aggressive
* appear
* asterisks
* candidate
* conflict
* directory
* dollar
* ellipsis
* exports
* failures
* folder
* followed
* highlight
* inferred
* location
* occurred
* output
* propagated
* push
* rather
* remaining
* search
* stabilized
* substitution
* successful
* even though
* will
* with
2016-02-11 16:56:45 +00:00
vilicvane
0282c0463d Revert hash object caching 2016-02-10 08:50:22 +08:00
vilicvane
acf965a20e Refine implementation 2016-02-10 08:47:52 +08:00
vilicvane
63c690813f Create createHash and getModifiedTime under sys, and refactor implementation into compiler host 2016-02-09 22:23:43 +08:00
vilicvane
c7e80e19f0 Avoid writing files that are not changed while compiling incrementally. 2016-02-06 16:51:25 +08:00
Tim Viiding-Spader
8e472db66f Delete mention of nonexistent watcherPath param
It doesn't exist now.

It didn't exist in the commit that first mentioned it.
2016-02-02 15:44:47 -06:00
zhengbli
c244306514 address CR feedback: use typeof check instead of checking undefined and null value 2016-01-15 16:55:25 -08:00
zhengbli
c2f453b8fb Fix the getCanonicalFileName in sys.ts and also check null value in file watcher call back 2016-01-15 14:58:04 -08:00
Zhengbo Li
dbfe862dbd not casting relative filenames in 'tsc watch' to Path 2016-01-14 00:34:43 -08:00
Zhengbo Li
067573b0c3 cr feedback: simplify the removeFile function 2016-01-13 14:03:18 -08:00
Zhengbo Li
02531af991 Update the watchedFileSet to use Path instead of string for file names 2016-01-13 13:18:28 -08:00
Zhengbo Li
d22626f32d Fix lint issue 2016-01-12 00:17:38 -08:00
zhengbli
114d2bd66d Separate directory watching and file watching again to reduce logic complexity, because reference counting is a lot easier in this case 2016-01-11 11:35:46 -08:00
Zhengbo Li
697644c583 spell our dir to directory 2016-01-07 22:48:17 -08:00
Ron Buckton
c1205ebdfb Fixed new linter warnings 2016-01-05 10:11:44 -08:00
Ron Buckton
cde12efec5 Merge branch 'master' into glob2 2016-01-04 12:24:44 -08:00