Commit Graph

7274 Commits

Author SHA1 Message Date
Daniel Rosenwasser
68f2054c84 Bump to npm version 1.8.10. 2016-04-08 14:40:08 -07:00
Daniel Rosenwasser
50d570b12c Changed emit to use 'Object.prototype.hasOwnProperty'. 2016-04-08 13:32:22 -07:00
Daniel Rosenwasser
6aa9adab72 Remove unnecessary 'null'/'undefined' check, removed temp for args length. 2016-04-08 13:32:20 -07:00
Daniel Rosenwasser
e9f984d3ce Use an emit helper for JSX Spread Attributes. 2016-04-08 13:32:13 -07:00
zhengbli
b0fc9e0468 Address PR 2016-03-15 15:49:42 -07:00
zhengbli
7547f2f80e Add exceedProgramSizeLimit function 2016-03-15 10:10:56 -07:00
zhengbli
f13a9c7f88 Merge branch 'release-1.8' of https://github.com/Microsoft/TypeScript into projectSizeLimitFor18-2 2016-03-15 02:28:06 -07:00
zhengbli
4d0f488615 Avoid false "not found" errors after stopping loading non-Ts files 2016-03-14 23:34:27 -07:00
Bill Ticehurst
de7d429ddc Update LKG 2016-03-14 23:21:27 -07:00
zhengbli
5e74ebdc69 CR feedback and Update LKG 2016-03-14 22:20:35 -07:00
zhengbli
6ed14c2701 Don't count current opened client file if it's TS file 2016-03-14 21:15:14 -07:00
zhengbli
4aba58c3ea online and offline CR feedback 2016-03-14 21:14:55 -07:00
zhengbli
35b972e1d8 CR feedback / Change upper limit / Add disableSizeLimit compiler option
# Conflicts:
#	src/compiler/commandLineParser.ts
#	src/compiler/diagnosticMessages.json
2016-03-14 21:14:30 -07:00
zhengbli
708fb972f2 Add comments 2016-03-14 21:13:24 -07:00
zhengbli
3b5555862c Add upper limit for the program size, fix readDirectory for the symlink files 2016-03-14 21:13:04 -07:00
Bill Ticehurst
6a8fb3ed3d Code review feedback 2016-03-14 16:54:20 -07:00
Bill Ticehurst
fe4efe8cdf Safety guard and couple of comments 2016-03-14 12:56:48 -07:00
Bill Ticehurst
f85911dbc6 Refactoring and class expressions 2016-03-14 12:46:11 -07:00
Bill Ticehurst
5c10301be5 Hardened code and added export specifiers 2016-03-14 09:50:53 -07:00
Bill Ticehurst
71f604a8b2 Added accessors, imports, and default export 2016-03-13 17:51:34 -07:00
Bill Ticehurst
9a5cb29a0a Fixed whitespace 2016-03-13 13:04:01 -07:00
Bill Ticehurst
f119cdece5 Merge remote-tracking branch 'origin/release-1.8' into jsNavBar 2016-03-13 13:02:20 -07:00
Bill Ticehurst
080f639ff8 Support for AMD modules 2016-03-13 13:00:59 -07:00
Mohamed Hegazy
e473d53ecd Update version 2016-03-10 14:52:10 -08:00
Zhengbo Li
585900351e Merge pull request #7463 from zhengbli/release-1.8
Port #7307 to release-1.8
2016-03-10 11:22:28 -08:00
Bill Ticehurst
16d7656160 AllowJS files in tsserver when no project is given 2016-03-10 10:26:53 -08:00
zhengbli
3eb2bb5f74 Port #7307 to release-1.8 2016-03-10 09:22:48 -08:00
Bill Ticehurst
50059b6917 Merge pull request #7249 from Microsoft/FixCommonJSModules
Fix CommonJs modules
2016-03-09 19:09:13 -08:00
Jason Ramsay
fe9da694b2 Fixing a whitespace issue and revving the servicesVerion 2016-03-09 15:50:24 -08:00
Bill Ticehurst
bc8ac66fb3 Merge remote-tracking branch 'origin/release-1.8' into FixCommonJSModules 2016-03-09 14:58:01 -08:00
Bill Ticehurst
fa6db1b8c9 Addressed feedback 2016-03-09 14:57:55 -08:00
Jason Ramsay
11102dc771 - Adding missing diagnostic message
- removing extra semi-colon
2016-03-08 18:38:39 -08:00
Jason Ramsay
77f317e27f Removing cachePath from discoverTypings and DiscoverTypingsInfo.
With the move to using the packageNameToLocation map it is no longer required.
2016-03-08 17:43:35 -08:00
Basarat Ali Syed
e5dee7eb4b fix(build) TypingResolutionHost interface is used by exported function discoverTypings 2016-03-08 17:43:18 -08:00
Jason Ramsay
900b0a7b18 - Adding new lines after { for single-line if statements
- Renaming DiscoverTypingsSettings to DiscoverTypingsInfo to match host
2016-03-08 17:41:42 -08:00
Jason Ramsay
51e86d3762 - Removing filesToWatch from getTypingNamesFromNodeModuleFolder.
These modules are already installed and are not expected to change
2016-03-08 17:41:29 -08:00
Jason Ramsay
1fde409572 - Adding DiscoverTypingsSettings
- Remove all references to Tsd.
Instead pass a map of package names to cached typing locations
2016-03-08 17:41:15 -08:00
Jason Ramsay
085002b060 - replacing TryParseJson with existing readConfig
- push error for invalid enableAutoDiscovery option
- adding interfaces for jsons
- removing updateNotFoundTypings
- node_modules normalize file names before using
- adding safeListPath to discoverTypings
2016-03-08 17:40:58 -08:00
Jason Ramsay
1dc57f23c7 - Removing ts. from jsTyping.js
- Adding ".json" file extension filter when retrieving json files from host and removoing filter
- simplify isTypingEnabled check
2016-03-08 17:40:40 -08:00
Jason Ramsay
ec7302e6d8 Adding optionalDependencies and peerDependencies to the list typings to merge in if present. 2016-03-08 17:40:22 -08:00
Jason Ramsay
a7a13296e6 CR feedback 2016-03-08 17:40:03 -08:00
zhengbli
830a10fc92 Unify the use of "filter", "map" and "Object.keys" functions 2016-03-08 15:23:21 -08:00
Jason Ramsay
8b9e351525 - renaming resolveTypeDefinitions to discoverTypings for consistency with jsTypings
- simplifying typingOptions parsing after associated managed host changes
2016-03-08 15:21:05 -08:00
Jason Ramsay
0de8f9eeb2 Using removeComments from commandLineParser. This is more robust as it removes both single and multiline comments 2016-03-08 15:20:51 -08:00
Jason Ramsay
5cdb97cbfd Adding devDependencies to the list of typings to merge 2016-03-08 15:20:37 -08:00
Jason Ramsay
9f2e36e59d Switch let -> const from lint validation 2016-03-08 15:20:20 -08:00
Jason Ramsay
cc3d4d3291 Addressing CR comments
- Adding check to ensure TypingOptions 'include' and 'exclude' arrays are composed of strings
- Allow leading whitespace when removing comments from json
2016-03-08 15:17:09 -08:00
Jason Ramsay
2f90271ca6 Fixing lint issues caught by Travis CI build
(Rules appear to be more strict - this was not caught on a local lint run)
2016-03-08 15:12:29 -08:00
Jason Ramsay
8a29926d5c Salsa: JS support for discovering and acquiring d.ts files
(Mostly isolating VS host changes from PR#6448)
2016-03-08 14:42:42 -08:00
Jason Ramsay
bdc9788ec8 Change to getScriptKindFromFileName to avoid unnecessary array allocation in split 2016-03-08 14:36:08 -08:00