3633 Commits

Author SHA1 Message Date
Anders Hejlsberg
2dfe32a4df Fix export.default assignment for export default class/function 2015-03-29 01:29:09 -07:00
Anders Hejlsberg
485b5a140b Merge pull request #2535 from Microsoft/disposeFileWatcher
Fix: File watchers not being disposed in -watch mode
2015-03-28 07:19:03 -07:00
Yui T
a8e4f27e50 Address code review 2015-03-27 16:12:19 -07:00
Anders Hejlsberg
d15278bb86 Fix: File watchers not being disposed in -watch mode 2015-03-27 15:53:01 -07:00
Yui T
66f0715a84 Allow RWC runner to use default library instead of the one in json file 2015-03-27 10:31:46 -07:00
Anders Hejlsberg
4894fee7d3 Merge pull request #2514 from Microsoft/simplifyTempLogic
Simplify temporary name generation logic
2015-03-27 10:24:25 -07:00
Anders Hejlsberg
4788581f53 Addressing CR feedback 2015-03-26 16:32:27 -07:00
Steve Lucco
0ec6edaaf6 Merge pull request #2504 from Microsoft/fixConfigLookup
Fix bug stemming from use of tsc findConfigFile by server.
2015-03-26 15:24:46 -07:00
Anders Hejlsberg
184ce98bf6 Simplify temporary name generation logic 2015-03-26 10:51:07 -07:00
Dirk Baeumer
631a9d80be Merge pull request #2489 from dbaeumer-feature/formatOptions 2015-03-26 11:23:14 +01:00
steveluc
237225b01a Fix bug stemming from use of tsc findConfigFile by server. Server needs
its own version of this because tsc always starts from the current
directory but the server must start from whatever directory contains the
newly opened file.
2015-03-26 00:21:27 -07:00
Jason Freeman
7a44b9ed57 Make elaborateErrors persist throughout type relation checks 2015-03-25 19:23:44 -07:00
Daniel Rosenwasser
8610a881c3 Merge pull request #2495 from Microsoft/useAppropriateCompletionEdge
Use adjusted completion position when at end of identifier
2015-03-25 16:59:11 -07:00
Daniel Rosenwasser
0437dfb594 Adjust the context token if the previous token is a word, not just if it's an identifier. 2015-03-25 16:37:41 -07:00
Ron Buckton
07ea4064a2 Merge pull request #2497 from Microsoft/decorators_emit
Emit decorators when --target ES3
2015-03-25 16:13:49 -07:00
Ron Buckton
f27caf5d87 Emit decorators when --target ES3 2015-03-25 16:12:07 -07:00
Daniel Rosenwasser
e33b24d3d0 Merge pull request #2480 from dbaeumer/feature/signatureHelp
Add signature help to Typescript server
2015-03-25 15:07:24 -07:00
Daniel Rosenwasser
93108ef612 Adjust 'position' to beginning of identifier when 'contextToken' has been readjusted. 2015-03-25 14:25:29 -07:00
Dirk Baeumer
c66571b273 Integrated pull request feedback 2015-03-25 12:31:59 +01: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
aa01dcd1a3 Move es6 alias name handeling to getAliasNameSubstitution to match getExportNameSubstitution 2015-03-24 22:20:42 -07:00
Mohamed Hegazy
bc51dd1e77 In ES6 use "export var x" for internal modules and enums instead of an after the fact "export {x};" 2015-03-24 21:54:36 -07:00
Mohamed Hegazy
ab5c09a9a6 Make isReferencedAliasDeclaration check children 2015-03-24 21:43:03 -07:00
Mohamed Hegazy
6c40c95313 Disallow export declarations in internal modules 2015-03-24 21:17:11 -07:00
Mohamed Hegazy
27c5d6fa50 use the correct check for import and export specifiers 2015-03-24 20:50:42 -07:00
Mohamed Hegazy
352633dfda Rename isES6ModuleMemberDeclaration to isES6ExportedDeclaration. 2015-03-24 20:36:02 -07:00
Mohamed Hegazy
4361e6ea56 Merge branch 'exportEquals' into exportEqualsMerged 2015-03-24 20:32:36 -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
CyrusNajmabadi
4f0dc28bdc Merge pull request #2475 from Microsoft/completionEntryDetails
Share code between getCompletionsAtPosition and getCompletionEntryDetails.
2015-03-24 17:05:39 -07:00
Ron Buckton
f531193557 Updates to emit and updated baselines 2015-03-24 17:00:29 -07:00
Cyrus Najmabadi
69ff9b3c13 PR feedback. 2015-03-24 16:50:11 -07:00
Cyrus Najmabadi
e26c260822 PR feedback. 2015-03-24 15:35:27 -07:00
Cyrus Najmabadi
63278ca037 Don't bother with a predicate. It doesn't provide enough of a perf savings. 2015-03-24 15:30:32 -07:00
Vladimir Matveev
20a0ac5f01 Merge pull request #2476 from Microsoft/immutableBindings
Disallow assignments to imported exports
2015-03-24 15:20:55 -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
Cyrus Najmabadi
614b1066dc Merge branch 'master' into completionEntryDetails 2015-03-24 14:55:34 -07:00
Mohamed Hegazy
515cdcdd78 return undefined if we are not renaming to ensure we get the correct text 2015-03-24 14:55:00 -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
Ron Buckton
e6ccaf0329 Updated typecheck for property, method, and parameter decorators 2015-03-24 14:27:36 -07:00
Ron Buckton
70bd582965 Changed emit for decorators 2015-03-24 14:16:52 -07:00
Cyrus Najmabadi
927e60d592 Merge branch 'master' into findReferences 2015-03-24 14:11:20 -07:00
steveluc
48482071f6 Moved findConfigFile to program.ts. Addressed pull request comments. 2015-03-24 14:03:21 -07:00
Ron Buckton
695c50bd78 Disallow decorators on multiple get/set accessors of the same name 2015-03-24 13:03:10 -07:00
Cyrus Najmabadi
8d55fe00dd PR feedback. 2015-03-24 12:28:41 -07:00
Vladimir Matveev
f0cbcd6782 addressed PR feedback 2015-03-24 12:28:05 -07:00
CyrusNajmabadi
9141bfca3f Merge pull request #2470 from Microsoft/noEmitOnDeclarationErrors
Revert "Emit, even in the presence of declaration errors and noEmitOnError
2015-03-24 12:25:00 -07:00
Vladimir Matveev
0fdb2071ce addressed PR feedback 2015-03-24 10:09:33 -07:00
Dirk Baeumer
7ed885450b Mark new interfaces with export 2015-03-24 15:48:41 +01:00