999 Commits

Author SHA1 Message Date
Daniel Rosenwasser
d892a55aa9 Use 'propertyName' when available in a BindingPattern. 2015-06-24 12:35:11 -04:00
Daniel Rosenwasser
498d06f6c0 Got filtering working in object binding patterns. 2015-06-24 11:41:59 -04:00
Daniel Rosenwasser
c114de1a83 Basic completion in object destructuring working. 2015-06-24 11:31:36 -04:00
Daniel Rosenwasser
6accbdf029 Generalize logic for upcoming work on object binding completion. 2015-06-23 16:43:39 -07:00
Daniel Rosenwasser
0b78d03746 Clean up 'getContainingObjectLiteralApplicableForCompletion'. 2015-06-23 15:32:47 -07:00
Vladimir Matveev
8e2b204ace do not try to classify missing nodes 2015-06-23 11:25:33 -07:00
CyrusNajmabadi
dd671ed431 Merge pull request #3530 from Microsoft/lessScanningDuringClassification
Scan less during classification.
2015-06-18 11:19:22 -07:00
Cyrus Najmabadi
3f40e47fcc Don't access diagnostics directly. Use the supported Program API for them. 2015-06-18 09:45:32 -07:00
Cyrus Najmabadi
febe320b62 Merge branch 'master' into diagnosticCleanup2
Conflicts:
	src/services/services.ts
2015-06-18 09:36:37 -07:00
Cyrus Najmabadi
ef7d1136b8 Make it so all our diagnostics APIs return an independent set of diagnostics.
In order to get all diagnostics, you must call all the APIs.  And no APIs return
diagnostics produced by other APIs.  This is how things were before hte addition
of the getCompletionOptionsDiagnostics API, and i'm returning things to that state.
2015-06-18 09:32:52 -07:00
Cyrus Najmabadi
ede80c1de2 Don't use spread operator when pushing arrays onto other arrays.
Spreading emits as ".push.apply(reciver, values)".  This pushes every elements in
values onto the stack before calling the function.  This can easily stack overflow
if the amount of values is high (i hit this with ~10k values on my own system).
2015-06-18 09:12:08 -07:00
Cyrus Najmabadi
151306f423 PR feedback. 2015-06-18 08:30:26 -07:00
Anders Hejlsberg
26fd879843 Merge branch 'master' into extendsExpressions 2015-06-17 14:12:47 -07:00
Anders Hejlsberg
d71af8a3fb Addressing CR feedback 2015-06-17 13:28:39 -07:00
Cyrus Najmabadi
d206f62adb Squueze perf in syntactic classification. 2015-06-16 17:56:11 -07:00
Cyrus Najmabadi
3bb7be96fa Scan less during classification. 2015-06-16 16:07:24 -07:00
Arthur Ozga
aed48ecb99 changed to '==' to '===', '!=' to '!==' 2015-06-16 14:56:31 -07:00
Anders Hejlsberg
2c57776f91 Merge branch 'master' into extendsExpressions
Conflicts:
	src/compiler/checker.ts
	tests/baselines/reference/strictModeReservedWordInClassDeclaration.errors.txt
2015-06-16 12:04:04 -07:00
Anders Hejlsberg
cc81cc77f9 Check that base constructor return types are identical
Treat class extends clause as expression position in services.ts
2015-06-15 15:44:43 -07:00
Cyrus Najmabadi
804b976c73 PR feedback. 2015-06-12 13:13:45 -07:00
Cyrus Najmabadi
5b7ca78c92 PR feedback. 2015-06-12 12:53:24 -07:00
Cyrus Najmabadi
c27b3d37da Merge branch 'master' into classificationPerf2 2015-06-12 12:30:48 -07:00
Mohamed Hegazy
224e7630ea use namespaces instead of modules in the codebase 2015-06-12 09:01:48 -07:00
Cyrus Najmabadi
dbfdb96f39 Add explanatory comment 2015-06-10 18:24:34 -07:00
Cyrus Najmabadi
9560895ec2 Don't bother trying to semantically classify names that could never be typenames. 2015-06-10 18:18:37 -07:00
Cyrus Najmabadi
3a96923061 Use full spans in the classifier. Non-full spans are very expensive to compute. 2015-06-10 17:28:58 -07:00
Vladimir Matveev
6269598c52 Merge branch 'master' into named_modules 2015-06-04 21:38:25 -07:00
Cyrus Najmabadi
2de07f3563 Merge branch 'master' into lightMode
Conflicts:
	src/compiler/program.ts
2015-06-04 12:47:12 -07:00
Vladimir Matveev
495d726625 rename 'FileMap.delete' to 'FileMap.remove' 2015-06-04 11:18:05 -07:00
Vladimir Matveev
d51d616813 merge with master 2015-06-04 10:57:34 -07:00
Cyrus Najmabadi
2bf19e80c3 Speed up tests by not type-checking lib.d.ts unless the test asks for that. 2015-06-04 01:03:02 -07:00
Vladimir Matveev
113b7ed13d Merge pull request #3368 from Microsoft/fileMap
introduce FileMap to store mappings with filenames as keys
2015-06-03 23:13:06 -07:00
Jason Freeman
abf18c5a11 Merge branch 'release-1.5' 2015-06-03 17:56:53 -07:00
Vladimir Matveev
ef54047a65 address PR feedback 2015-06-03 15:22:17 -07:00
Vladimir Matveev
7e3a3f45e1 emit module name for system modules, add moduleName argument to 'transpile' function 2015-06-03 14:55:42 -07:00
Vladimir Matveev
269ae3ab99 introduce FileMap to store mappings with filenames as keys 2015-06-03 13:48:34 -07:00
Vladimir Matveev
86d9398a92 clean hostCache to avoid extending lifetime of script snapshots 2015-06-03 10:29:32 -07:00
CyrusNajmabadi
f624c0fd7e Merge pull request #3296 from Microsoft/jsDocClassification
Add syntactic classification for doc comments.
2015-06-02 15:17:39 -07:00
Cyrus Najmabadi
513183e7b1 PR feedback. 2015-06-02 13:58:49 -07:00
Cyrus Najmabadi
be97bd250c Merge branch 'master' into jsDocClassification 2015-06-02 13:48:56 -07:00
Daniel Rosenwasser
589a01c51f Block completion when in trailing flags of a regex. 2015-06-02 13:01:44 -07:00
Ron Buckton
2cb0dfd99d Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-06-01 17:41:04 -07:00
Ron Buckton
f96cf338d9 Merge branch 'release-1.5' into master 2015-06-01 17:40:35 -07:00
Vladimir Matveev
22e493d0d3 clean hostCache to avoid extending lifetime of script snapshots 2015-06-01 16:08:58 -07:00
Cyrus Najmabadi
0f3584e9cc Removing unnecessary code. 2015-05-28 15:04:08 -07:00
Cyrus Najmabadi
64c7f3d38b Add syntactic classification for doc comments. 2015-05-28 14:45:43 -07:00
Cyrus Najmabadi
9aab98419b Parsing support for jsDocComments. 2015-05-28 10:14:18 -07:00
Mohamed Hegazy
2cbe14e131 Respond to code review comments 2015-05-27 10:20:01 -07:00
Mohamed Hegazy
e7eef830e1 Fix #3245: ensure transpile diagnostics only include syntactic and compiler options diagnostics 2015-05-26 20:18:13 -07:00
Mohamed Hegazy
5ea2cea95d Merge pull request #3208 from Microsoft/updateSingleCompilationFlagName
Update singleCompilation flag name to isolatedModules
2015-05-19 13:54:49 -07:00