Cyrus Najmabadi
25aed1129c
Unify more classification code.
2015-04-30 17:50:39 -07:00
Cyrus Najmabadi
089fd4dd8f
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 17:50:27 -07:00
Daniel Rosenwasser
73e91aa10d
Merge pull request #2880 from Microsoft/sourceMapWithComments-attempt2
...
Take comments into account when tracking sourcemap spans
2015-04-23 18:05:11 -07:00
Daniel Rosenwasser
f82c593fac
Added test.
2015-04-23 17:22:04 -07:00
Daniel Rosenwasser
c68e7e9ad2
Accepted baselines.
2015-04-23 17:22:02 -07:00
Daniel Rosenwasser
ddeb8bcafc
Added test.
2015-04-23 17:21:57 -07:00
Daniel Rosenwasser
cc32e2397f
Merge branch 'release-1.5' into sourceMapWithComments-attempt2
2015-04-23 17:07:18 -07:00
Ron Buckton
2bd4d7744b
Fixes his in decorator helpers
2015-04-23 16:18:30 -07:00
Ron Buckton
e08e1f145b
Added tests for 1.0 lib and missing decorator type
2015-04-23 16:18:20 -07:00
Ron Buckton
a5eb68bcbb
Lazy resolution of global decorator types
2015-04-23 16:18:05 -07:00
Daniel Rosenwasser
7d2901b4ae
Accepted baselines.
2015-04-22 16:05:15 -07:00
Ron Buckton
706b5a100b
Updated emit for __decorator and __metadata helpers
2015-04-21 16:34:14 -07:00
Daniel Rosenwasser
3ec9e3b198
Accepted baselines.
2015-04-21 16:31:24 -07:00
Daniel Rosenwasser
989968013e
Added tests from original issue.
2015-04-21 16:15:04 -07:00
Mohamed Hegazy
ed2e105f17
Merge branch 'master' into rootDir
2015-04-20 14:23:40 -07:00
Mohamed Hegazy
021f309151
Merge branch 'master' into rootDir
2015-04-19 13:25:03 -07:00
Jason Freeman
31b5e72ed4
Accept symbol baseline
2015-04-17 18:36:44 -07:00
Jason Freeman
ccf4104779
Change TypeMapper to only take a type parameter, and fix combineTypeMappers to comply with that rule
2015-04-17 18:28:38 -07:00
Daniel Rosenwasser
62036758a8
Merge pull request #2809 from Microsoft/noReservedWordsInBindingPatterns
...
Disallow reserved words for object binding pattern names
2015-04-17 17:06:50 -07:00
Mohamed Hegazy
bf51a3410f
Merge branch 'Smarp-amd-es3'
2015-04-17 15:59:08 -07:00
Mohamed Hegazy
7ad98770e1
Accept baselines
2015-04-17 15:53:36 -07:00
Mohamed Hegazy
c68f837052
Merge branch 'amd-es3' of https://github.com/Smarp/TypeScript into Smarp-amd-es3
2015-04-17 15:39:23 -07:00
Jason Freeman
28a0f941c8
Accept symbol baselines
2015-04-17 12:57:29 -07:00
Jason Freeman
8ca7805adb
Merge branch 'master' of https://github.com/Microsoft/TypeScript into lazyBaseTypes
2015-04-17 12:52:17 -07:00
TruongSinh Tran-Nguyen
d55dcc61cc
exports.default in ES5 vs exports["default"] in ES3
2015-04-17 20:29:05 +03:00
Jason Freeman
8bf012b566
Add tests for not depending on base types
2015-04-16 18:15:03 -07:00
Mohamed Hegazy
9cda1df18c
Merge branch 'master' into moduleFixes
2015-04-16 17:37:11 -07:00
Mohamed Hegazy
a84e64698a
Move amd-dependency erlier in the list
2015-04-16 17:32:40 -07:00
Mohamed Hegazy
8964b8e5b6
Merge branch 'master' into rootDir
...
Conflicts:
tests/baselines/reference/APISample_compile.types
tests/baselines/reference/APISample_linter.types
tests/baselines/reference/APISample_transform.types
tests/baselines/reference/APISample_watcher.types
2015-04-16 16:52:51 -07:00
Daniel Rosenwasser
7ce1604c53
Accepted baselines.
2015-04-16 16:41:11 -07:00
Daniel Rosenwasser
b0846d1a6b
Accepted baselines.
2015-04-16 16:25:54 -07:00
Daniel Rosenwasser
c7db1c3781
Added baselines.
2015-04-16 15:54:14 -07:00
Daniel Rosenwasser
a634e6770a
Added tests.
2015-04-16 15:26:59 -07:00
Daniel Rosenwasser
c1c608eb1d
Added tests.
2015-04-16 15:23:11 -07:00
Mohamed Hegazy
55af7b36c7
Fix #2801 : Sort module names for AMD preamble
2015-04-16 14:56:22 -07:00
Mohamed Hegazy
39d9720dd1
wire module lookcups for default import in ambient module declarations
2015-04-16 14:54:47 -07:00
Daniel Rosenwasser
ce00997693
Added symbols files.
2015-04-16 13:29:20 -07:00
Daniel Rosenwasser
13c3129665
Only error in <ES6.
2015-04-16 13:08:57 -07:00
Daniel Rosenwasser
42c66a1597
Add/rename baselines.
2015-04-16 12:42:25 -07:00
Daniel Rosenwasser
fc7be363f1
Added tests from 'captureArguments' branch.
2015-04-16 12:29:49 -07:00
Ron Buckton
3b74503898
Merge pull request #2750 from Microsoft/fixES6Clodule
...
Elide var when emitting a module merged with an ES6 class
2015-04-16 11:53:24 -07:00
CyrusNajmabadi
a93971a40a
Merge pull request #2787 from Microsoft/APISamplesBaselines
...
Don't run typewriter tests on the APISamples. It's too noisy.
2015-04-15 18:18:12 -07:00
Jason Freeman
2c45e7252c
Update baseline after merge again
2015-04-15 18:17:16 -07:00
Jason Freeman
0dd660960d
Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes
...
Conflicts:
tests/baselines/reference/iterableArrayPattern14.types
tests/baselines/reference/iterableArrayPattern15.types
tests/baselines/reference/iterableArrayPattern20.types
tests/baselines/reference/iterableArrayPattern27.types
2015-04-15 18:12:49 -07:00
Cyrus Najmabadi
9ab6be3314
Don't run typewriter tests on the APISamples. It's too noisy.
2015-04-15 17:41:32 -07:00
Jason Freeman
ce0dfc11b2
Update baseline after merge
2015-04-15 17:32:45 -07:00
Jason Freeman
edf1ae6d36
Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes
...
Conflicts:
src/compiler/utilities.ts
2015-04-15 17:23:12 -07:00
Jason Freeman
1cda3dc45d
Fix parenthesizeForAccess to always parenthesize NewExpressions and NumberLiterals
2015-04-15 17:22:19 -07:00
Cyrus Najmabadi
87b06f4c3f
Merge branch 'master' into symbolWriter2
...
Conflicts:
tests/baselines/reference/APISample_compile.types
tests/baselines/reference/APISample_linter.types
tests/baselines/reference/APISample_transform.types
tests/baselines/reference/APISample_watcher.types
2015-04-15 17:01:36 -07:00
CyrusNajmabadi
0b13ca4751
Merge pull request #2734 from Microsoft/singletonScanner
...
Use a single scanner for all parsing tasks.
2015-04-15 16:46:49 -07:00