Commit graph

3367 commits

Author SHA1 Message Date
Anders Hejlsberg bce15cb368 Fixing negated language version checks 2015-01-16 07:15:31 -08:00
Anders Hejlsberg c342b58b23 Adding reference to core.ts in sys.ts 2015-01-15 18:18:19 -08:00
Anders Hejlsberg ee6f2faabb Accepting baselines for corrected error messages 2015-01-15 17:19:22 -08:00
Anders Hejlsberg 960d92f9b6 Default to all files only when none are specified in tsconfig.json 2015-01-15 17:12:45 -08:00
Anders Hejlsberg 50b0cb98cc Adding missing @module to several fourslash tests 2015-01-15 15:57:48 -08:00
Anders Hejlsberg 65452aa011 Hardening compiler to accept empty CompilerOptions object 2015-01-15 15:57:08 -08:00
Anders Hejlsberg f9f95ba614 Support for tsconfig.json files in command-line compiler 2015-01-15 13:22:23 -08:00
Anders Hejlsberg cbecae3cf3 Merge pull request #1657 from Microsoft/unionTypeGuards
Improved union type guards
2015-01-13 11:59:54 -08:00
Vladimir Matveev 8256ddf756 Merge pull request #1647 from Microsoft/badPropNamesInConstEnums
disallow incorrect literal property names in indexed access for const en...
2015-01-13 11:33:30 -08:00
Mohamed Hegazy 39355985b1 Update LKG 2015-01-13 09:39:10 -08:00
Mohamed Hegazy a99b958484 Manual port of fixe for #1593 from release-1.4 2015-01-13 09:30:54 -08:00
Mohamed Hegazy 32d4b4d045 Merge pull request #1650 from DickvdBrink/unused-stuff
Remove unused timer.ts file
2015-01-12 15:18:13 -08:00
Anders Hejlsberg 59e266de02 Improved handing of union types in type guards 2015-01-12 14:51:20 -08:00
Dick van den Brink e4701a6600 Remove unused timer.ts file 2015-01-12 23:34:21 +01:00
Vladimir Matveev c25f3eb9a3 addressed CR feedback 2015-01-12 11:31:54 -08:00
Vladimir Matveev ecac4a519d disallow incorrect literal property names in indexed access for const enums 2015-01-12 10:58:21 -08:00
Steve Lucco 799f907548 Merge pull request #1642 from Microsoft/addCmdLineParser
Added commandLineParser.ts to the generated node module
2015-01-12 08:20:03 -08:00
Mohamed Hegazy 57a7d8f378 Merge pull request #1638 from lptr/noimplicitany-description-fix
Show --noImplicitAny as an option to throw errors, not warnings
2015-01-12 06:22:45 -08:00
Anders Hejlsberg bf46e50f89 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-01-11 18:31:06 -08:00
steveluc 12e55fb5f7 Added commandLineParser.ts to the generated node module, and added the
type information for commandLineParser.ts to typescript_internal.d.ts.
2015-01-11 16:20:19 -08:00
Lorant Pinter 47b8deb382 Show --noImplicitAny as an option to throw errors, not warnings
Fixes #1632
2015-01-11 11:14:06 +01:00
Daniel Rosenwasser 9c101479b9 Merge pull request #1637 from Microsoft/recoverFromForcePush2
Recover from force push (again)
2015-01-10 23:11:02 -08:00
Anders Hejlsberg 8ffe8ded58 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-01-10 14:55:59 -08:00
Daniel Rosenwasser c399274bfb Merge pull request #1635 from Microsoft/recoverFromForcePush
Recover from force push
2015-01-10 13:03:47 -08:00
Anders Hejlsberg 415b5ff418 Merge pull request #1625 from Microsoft/forEachPerf
Optimizing AST node visitor
2015-01-09 10:12:08 -08:00
Anders Hejlsberg a8cf58939b Adding comment 2015-01-09 06:52:24 -08:00
Anders Hejlsberg bdfb655d66 Renaming helpers and cleaning up logic 2015-01-08 18:46:48 -08:00
Anders Hejlsberg 78bb71f837 Optimizing forEachChild function to not create closures 2015-01-08 16:43:37 -08:00
Anders Hejlsberg 40dc1341ab Merge pull request #1621 from Microsoft/narrowingOfAny
Type guard narrows type any in a primitive type check
2015-01-08 15:57:15 -08:00
Anders Hejlsberg 968a56924f Type guard narrows type any in a primitive type check 2015-01-08 14:27:39 -08:00
Vladimir Matveev 55628109c8 Merge pull request #1586 from Microsoft/copymap
extract map copying logic to a separate function
2015-01-08 14:22:02 -08:00
Daniel Rosenwasser 7b11621750 Merge pull request #1571 from Arnavion/1570-template-strings
Don't emit an empty template head literal if there's a template span with a non-empty literal.
2015-01-08 12:17:17 -08:00
Daniel Rosenwasser df4b3d2d37 Merge pull request #1547 from Microsoft/moveEmitHost
Moved EmitHost to utilities.ts so that it can be edited alone, and to fix resulting declaration file
2015-01-07 13:13:49 -08:00
Vladimir Matveev 4daa107cb4 Merge pull request #1614 from Microsoft/type_parameters_visibility
consider type parameters always visible
2015-01-07 12:41:47 -08:00
Daniel Rosenwasser f32683d231 Merge pull request #1529 from Microsoft/uninstantiatedModulesBeforeClasses
Allow uninstantiated modules before clodules
2015-01-07 12:40:50 -08:00
Daniel Rosenwasser 06d65c797d Moved EmitHost to utilities.ts 2015-01-07 12:37:46 -08:00
Vladimir Matveev 01218f86ff consider type parameters always visible 2015-01-06 17:55:54 -08:00
Arnavion d07151f87c Update tests and baselines. 2015-01-06 15:28:06 -08:00
Arnavion b442d14e44 Don't emit an empty template head literal if there's a template span with a non-empty literal.
Fixes #1570
2015-01-06 15:28:06 -08:00
Daniel Rosenwasser 7a8e3ec833 Merge pull request #1581 from Arnavion/1577-templatestring-subtraction
Fixes #1577
2015-01-06 15:26:43 -08:00
Arnavion 4dfb0cc3d8 Update tests and baselines. 2015-01-06 02:42:22 -08:00
Arnavion 33534be268 Give MinusToken the same precedence as PlusToken for template expressions.
Fixes #1577
2015-01-06 02:42:02 -08:00
Jason Freeman 8e2365b4cc Merge pull request #1606 from Microsoft/harnessDtsEmit
Fix harness issues with recompiling emitted .d.ts
2015-01-05 18:57:39 -08:00
Jason Freeman 7518d15620 Remove unnecessary it block in generated .d.ts compilation in harness 2015-01-05 18:26:09 -08:00
Jason Freeman 6f6c46a99f Use getSourceFile instead of getSourceFiles in compileDeclarationFiles 2015-01-05 18:25:28 -08:00
Jason Freeman 7459c87265 Merge branch 'release-1.4'
Conflicts:
	bin/lib.core.es6.d.ts
	bin/lib.es6.d.ts
	bin/tsc.js
	bin/typescript.d.ts
	bin/typescriptServices.d.ts
	bin/typescriptServices.js
	bin/typescriptServices_internal.d.ts
	bin/typescript_internal.d.ts
2015-01-05 15:08:17 -08:00
Vladimir Matveev 06258b8c10 added parameter names to 'copymap' call site 2015-01-05 11:48:46 -08:00
Vladimir Matveev 363587163b extract map copying logic to a separate function 2015-01-02 12:14:02 -08:00
Daniel Rosenwasser 4e5a3ae695 Merge pull request #1583 from DickvdBrink/npmignore
Add scripts to .npmignore
2014-12-31 12:02:35 -05:00
unknown 4cb70d0f9a Also add travis.yml to npmignore file 2014-12-31 15:40:43 +01:00