Commit graph

150 commits

Author SHA1 Message Date
Mohamed Hegazy 86f4040abb Remove typescript.d.ts from baslines of APISample tests 2015-04-02 16:39:10 -07:00
Mohamed Hegazy 8ceebaa985 Update APISample tests for 1.5-alpha release 2015-04-02 15:45:52 -07:00
Daniel Rosenwasser 17b790b479 Merge branch 'master' into transitiveExports 2015-04-01 12:00:50 -07:00
Mohamed Hegazy 0afa4597a7 Merge pull request #2563 from Microsoft/exposeConfigFileHelpers
Expose readConfigFile and parseConfigFile
2015-03-31 20:39:47 -07:00
Cyrus Najmabadi 478ac3d3ef Merge branch 'master' into classExpressions 2015-03-31 14:53:39 -07:00
Vladimir Matveev f239bbc3b1 Merge pull request #2550 from Microsoft/separateCompilation
Relax import/export elision rules for separate compilation
2015-03-31 14:51:39 -07:00
Cyrus Najmabadi b363a459ff Add support for semicolons in class bodies 2015-03-31 14:29:45 -07:00
Cyrus Najmabadi f7aaf09603 Add support for parsing and emitting class expressions. 2015-03-31 13:54:43 -07:00
Cyrus Najmabadi a1e18fc22b Introduce a new HeritageClauseElment type.
This type represents the expression+type arguments you can get in a class or interface
heritage clause section.  For class-implements clauses, or interface-extends clauses,
these expressions can only be identifiers or dotted names.  For class extends clauses,
these could be any expressions in the future.  However, for now, we only support identifiers
and dotted names.
2015-03-31 12:29:02 -07:00
Mohamed Hegazy 18d8fedbf5 Expose readConfigFile and parseConfigFile 2015-03-31 10:52:21 -07:00
Mohamed Hegazy cebe42b81f Remove unsed options 2015-03-30 23:32:11 -07:00
Vladimir Matveev 4b7e6cfc2e addressed CR feedback, accepted baselines 2015-03-30 20:16:50 -07:00
Cyrus Najmabadi ceeeb9cd11 Always preserve new lines for array and object literals and additional constructs like blocks. 2015-03-26 13:46:35 -07:00
Daniel Rosenwasser 77492382ea Updated API baselines. 2015-03-25 18:08:46 -07:00
Mohamed Hegazy fad889283e Merge branch 'master' into exportEqualsMerged
Conflicts:
	src/compiler/checker.ts
	src/compiler/emitter.ts
	src/compiler/types.ts
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/es5ExportDefaultClassDeclaration2.js
	tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.js
	tests/baselines/reference/es6ExportAllInEs5.js
	tests/baselines/reference/es6ExportClauseWithoutModuleSpecifierInEs5.js
2015-03-25 00:06:38 -07:00
Mohamed Hegazy 1c45b77d9e Merge branch 'master' into exportEqualsMerged 2015-03-24 22:28:35 -07:00
Mohamed Hegazy ab5c09a9a6 Make isReferencedAliasDeclaration check children 2015-03-24 21:43:03 -07:00
Ron Buckton a60d5912a9 Cleanup of duplicate code due to merge 2015-03-24 20:30:03 -07:00
Ron Buckton ea15225a9e Merge pull request #2399 from Microsoft/decorators_min 2015-03-24 19:57:21 -07:00
Ron Buckton f531193557 Updates to emit and updated baselines 2015-03-24 17:00:29 -07:00
Vladimir Matveev e5e5ad89fd Merge pull request #2471 from Microsoft/revisedNameGen2
Revised name generation #2, fixes #2449, #2447
2015-03-24 15:20:18 -07:00
Steve Lucco baac6d8a60 Merge pull request #2450 from Microsoft/tsconfigServer
Add support to TypeScript server for tsconfig.json files.
2015-03-24 14:38:26 -07:00
steveluc 48482071f6 Moved findConfigFile to program.ts. Addressed pull request comments. 2015-03-24 14:03:21 -07:00
Vladimir Matveev f0cbcd6782 addressed PR feedback 2015-03-24 12:28:05 -07:00
Vladimir Matveev 141c96b8f3 revised name generation 2015-03-23 16:16:29 -07:00
Ron Buckton 8dd9b9f2cb Updated check and emit, updated baselines 2015-03-23 14:47:07 -07:00
Mohamed Hegazy f90253f73e Merge branch 'master' into exportEquals
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/emitter.ts
	tests/baselines/reference/es6ImportDefaultBinding.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBinding.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.errors.txt
	tests/baselines/reference/es6ImportDefaultBindingInEs5.errors.txt
2015-03-23 11:06:44 -07:00
Anders Hejlsberg f3fb85fa46 Accepting new baselines 2015-03-21 13:18:11 -07:00
Cyrus Najmabadi cbeeb519b1 Add a new findReferences API that buckets results with the definition they matched against. 2015-03-20 14:31:36 -07:00
Ron Buckton 0fb624a58b PR feedback 2015-03-19 22:57:03 -07:00
Cyrus Najmabadi 85d71b2883 No emit should happen if there are declaration errors and noEmitOnErrors is specified. 2015-03-19 16:55:07 -07:00
Vladimir Matveev 371f2df90d Merge pull request #2139 from Microsoft/DtsExports_all
Exports + .d.ts emit
2015-03-18 14:45:05 -07:00
Vladimir Matveev 2ad40c25c9 addressed PR feedback 2015-03-18 14:29:02 -07:00
Mohamed Hegazy 7462915baf Expose setParentNodes on createCompilerHost 2015-03-18 14:11:50 -07:00
Vladimir Matveev e4f6f167f6 merge with master, accepted baselines 2015-03-17 17:05:30 -07:00
Ron Buckton 6c32a8bdb0 Updated baselines 2015-03-17 14:21:08 -07:00
Ron Buckton efd8a89f69 Diagnostics for decorators 2015-03-17 14:17:24 -07:00
Vladimir Matveev 218736b23f initial version of declaration emit for default export 2015-03-16 18:54:13 -07:00
Jason Freeman 6fc552339f Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-16 17:43:31 -07:00
Vladimir Matveev e9ea336771 Merge branch 'master' into DtsExports_all 2015-03-16 16:22:28 -07:00
Mohamed Hegazy 696b688987 Merge branch 'master' into exportDefaultType
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-03-16 14:42:47 -07:00
Jason Freeman bd811cea2a Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-16 11:04:40 -07:00
Jason Freeman 9933f6cd00 Address PR feedback 2015-03-16 11:04:11 -07:00
Mohamed Hegazy 7430f3c9c7 Merge branch 'master' into exportDefaultType
Conflicts:
	src/compiler/checker.ts
2015-03-15 14:23:40 -07:00
Caitlin Potter 5e107e6042 Address slew of review comments 2015-03-14 19:51:41 -04:00
Caitlin Potter aa3cefb63d Check that arrow is on same line as parameters 2015-03-14 19:51:41 -04:00
Caitlin Potter dd16fed21e Perform error reporting in checker 2015-03-14 19:50:55 -04:00
Jason Freeman df6f856ad5 Persist inference context object throughout the signature, and add isFixed property 2015-03-13 18:32:25 -07:00
Vladimir Matveev a7dac51e84 merge with master 2015-03-13 17:23:42 -07:00
Cyrus Najmabadi 9445b03110 Do not include experimental options in the public API. 2015-03-13 16:56:19 -07:00