4146 Commits

Author SHA1 Message Date
Mohamed Hegazy
cc41daab61 Fix typo 2015-05-04 23:30:01 -07:00
Mohamed Hegazy
b7f4480656 unify file extension resolution logic 2015-05-04 22:46:31 -07:00
Vladimir Matveev
3c9a3c558f Merge pull request #3029 from Microsoft/outputJsFiles
emit input non .ts files as separate files when 'allowNonTsExtensions' a...
2015-05-04 18:02:19 -07:00
Vladimir Matveev
82796673ca use only 'separateCompilation' flag when checking of file should be emitted 2015-05-04 17:49:13 -07:00
Mohamed Hegazy
15f4b58d6c Merge pull request #2966 from Microsoft/getTypeDefinitionAtPosition
Get type definition at position
2015-05-04 14:51:10 -07:00
Mohamed Hegazy
11166d2f08 Merge branch 'kmashint-master' 2015-05-04 13:23:24 -07:00
Mohamed Hegazy
91fedf4df1 Update description message and variable names 2015-05-04 13:21:39 -07:00
Vladimir Matveev
bd47ae4886 Merge pull request #3001 from Microsoft/formattingOnChainedCallbacks
fix formatting for chained callbacks
2015-05-04 12:46:08 -07:00
Mohamed Hegazy
07719e32f7 Merge branch 'master' of https://github.com/kmashint/TypeScript into kmashint-master 2015-05-04 12:42:54 -07:00
Vladimir Matveev
60f3fe3de2 emit input non .ts files as separate files when 'allowNonTsExtensions' and 'separateCompilation' flags are specified (used in 'transpile' related scenarios) 2015-05-04 11:21:35 -07:00
Mohamed Hegazy
7fc6142def Merge branch 'master' into getTypeDefinitionAtPosition
Conflicts:
	src/services/services.ts
2015-05-04 10:02:37 -07:00
Mohamed Hegazy
7327044410 Fix #3012: expose scanner 2015-05-04 09:51:29 -07:00
Zhengbo Li
282c1d2139 Merge pull request #3016 from zhengbli/fixFormatConfigurationIssue
Fix host formatting configuration issues
2015-05-03 23:03:06 -07:00
Vladimir Matveev
5f3e7dec9a fix formatting 2015-05-03 22:37:11 -07:00
Daniel Rosenwasser
4cc1848a17 Merge pull request #2996 from Microsoft/lastOrUndefinedReplacement
Replace awkward last-element selection pattern with 'lastOrUndefined'
2015-05-03 22:28:51 -07:00
Zhengbo Li
d580063083 Fix host formatting configuration issues 2015-05-03 15:31:07 -07:00
Frank Wallis
76dceb89e4 Rename parameter static -> isStatic, fixes 'static is a reserved identifier' error when running in strict mode (#3006) 2015-05-03 19:14:09 +01:00
kmashint
be3e3e7646 Compiler flag to specify line ending #1693 unit test adjustments 2015-05-03 02:18:20 -04:00
kmashint
47c4c125fe Compiler flag to specify line ending #1693 unit test adjustments 2015-05-03 02:07:45 -04:00
kmashint
2e0a55c4d3 Compiler flag to specify line ending #1693 unit tests 2015-05-03 02:07:39 -04:00
kmashint
bcdf5bba64 Compiler flag to specify line ending #1693 code review adjustments 2015-05-03 02:07:33 -04:00
kmashint
c783e3781a Compiler flag to specify line ending #1693 code review adjustments 2015-05-03 02:07:28 -04:00
kmashint
c1d2aeab84 Compiler flag to specify line ending #1693 code review adjustments 2015-05-03 02:07:18 -04:00
Keith Mashinter
16d7e5cad7 Compiler flag to specify line ending #1693 fix whitespace 2015-05-03 02:07:13 -04:00
Keith Mashinter
532f92b88f Compiler flag to specify line ending #1693 2015-05-03 02:07:03 -04:00
Vladimir Matveev
432ac30d3c addressed PR feedback, split conditional expression into multiple lines 2015-05-02 13:36:50 -07:00
Vladimir Matveev
f5b13bdb6d fix formatting for chained callbacks 2015-05-01 23:13:23 -07:00
Daniel Rosenwasser
d5c9857e60 Whoops. 2015-05-01 18:40:58 -07:00
Daniel Rosenwasser
9460fb580d Use 'lastOrUndefined' where appropriate in the services layer. 2015-05-01 18:34:37 -07:00
Daniel Rosenwasser
4ebfee2051 Use 'lastOrUndefined' where appropriate in the compiler. 2015-05-01 18:34:26 -07:00
Ron Buckton
b6f76fd05b Updated type name 2015-05-01 17:02:43 -07:00
Ron Buckton
22515d452d Updated ES6 declarations for Promise, updated baselines 2015-05-01 17:02:39 -07:00
Mohamed Hegazy
689c09cb10 Merge branch 'whitneyit-feature/noEmitExtends' 2015-05-01 16:41:32 -07:00
Mohamed Hegazy
3c99527e6e Add tests for __metadata and __param 2015-05-01 16:30:30 -07:00
Mohamed Hegazy
101aedbf4e Do not emit __extends if --noEmitHelpers is set 2015-05-01 16:29:41 -07:00
Mohamed Hegazy
93bf569432 Merge branch 'feature/noEmitExtends' of https://github.com/whitneyit/TypeScript into whitneyit-feature/noEmitExtends 2015-05-01 16:04:04 -07:00
Mohamed Hegazy
f073981474 Update command name 2015-05-01 15:57:11 -07:00
Ron Buckton
9438355f94 Merge pull request #2989 from Microsoft/fixHelpersForStrict
Fixes helpers in strict mode
2015-05-01 15:41:41 -07:00
Mohamed Hegazy
70c2d58f58 Remove erronious change to shims.ts in previous commit 2015-05-01 15:14:16 -07:00
Mohamed Hegazy
1de5ea802b Respond to code review comments 2015-05-01 14:58:23 -07:00
Zhengbo Li
69a76a3b66 cf feedback 2015-05-01 12:25:30 -07:00
Zhengbo Li
79da6a5ee8 Fix issue #2984 2015-05-01 11:33:53 -07:00
Ron Buckton
60ae9bd14d Fixes helpers in strict mode 2015-05-01 10:49:54 -07:00
CyrusNajmabadi
3bd4dd4095 Merge pull request #2977 from Microsoft/getClassifications2
Add a common, dense, format for classification operations to lower cost of processing on the host side.
2015-04-30 18:02:45 -07:00
Cyrus Najmabadi
7769b4cd19 Update names. 2015-04-30 17:48:01 -07:00
Cyrus Najmabadi
b49e07c2fa Fix name. 2015-04-30 17:20:04 -07:00
Cyrus Najmabadi
248f9b78fb Log when the lexical classifier fails. not the perf of each line. 2015-04-30 16:14:43 -07:00
Cyrus Najmabadi
c0c2c4f9a3 Unify more classification code. 2015-04-30 14:57:38 -07:00
Cyrus Najmabadi
5ad7a593d4 Add a common, dense, format for classification operations to lower cost of processing on the host side.
We now just return an array of triples to represent classified results.  The triple contains:
1) the start of the classification.
2) the length of the classification.
3) the type of the clasification.

We also encode this into a comma separated string when passing over to the managed side
(as opposed to an JSON array).  That way we don't pay such a high JSON parsing cost.
Instead, we can just do a string.split(",") on the encoded triples and process each
element ourselves.
2015-04-30 14:26:46 -07:00
Zhengbo Li
125a7b9982 Added missing createEvent overloads 2015-04-30 14:24:17 -07:00