Commit graph

224 commits

Author SHA1 Message Date
Daniel Rosenwasser 15d689cdcd Simplify simplify simplify. 2015-11-18 01:46:17 -08:00
Daniel Rosenwasser cf007461b9 Fixed invalid code for binding expressions. 2015-11-18 01:41:41 -08:00
Wesley Wigham 15f505e6aa use tslint@next 2015-11-11 13:30:26 -08:00
Wesley Wigham 84551d7cbd for..of loops 2015-11-04 17:39:04 -08:00
Wesley Wigham db2f5f2249 I love fixing lints on my linter code 2015-11-04 14:58:48 -08:00
Wesley Wigham 51fc4f2c23 Add prefer const rule 2015-11-04 14:51:31 -08:00
Paul van Brenk dababb10a6 Merge pull request #5273 from Microsoft/shortenLocMessages
Shorten loc messages
2015-10-26 14:34:57 -07:00
Ryan Cavanaugh d284a90cc2 Style changes 2015-10-22 15:43:18 -07:00
Ryan Cavanaugh 9da964f019 Remove extra semicolon (the irony) 2015-10-22 11:39:41 -07:00
Ryan Cavanaugh 69236c9be8 Add rule to check spaces around intersection/union type operators 2015-10-22 11:35:48 -07:00
Paul van Brenk 90cc848a15 Add linebreaks for readability 2015-10-15 11:46:50 -07:00
Paul van Brenk 4cd62de8d4 Shorten the key we use for the loc message. 2015-10-15 11:22:22 -07:00
Wesley Wigham e16a14b5b3 tslint had a new release and added this rule, theirs was a little stricter 2015-10-02 15:15:39 -07:00
Mohamed Hegazy bd5d0965bb Merge pull request #4847 from Microsoft/looser-next-line-rule
Next-line rule was too strict
2015-09-29 12:01:58 -07:00
Wesley Wigham 9984ae9000 We can go simpler 2015-09-24 17:04:57 -07:00
Wesley Wigham e747bf2b36 fix hook 2015-09-24 17:02:10 -07:00
Wesley Wigham 758e4402da Add git hooks 2015-09-24 17:00:27 -07:00
Daniel Rosenwasser 962ba8288b Conflicts should cause errors instead of warnings. 2015-09-20 12:41:28 -07:00
Daniel Rosenwasser 2e5b6fec7c Add funcitonality to warn on duplicate codes. 2015-09-20 12:14:56 -07:00
Daniel Rosenwasser c28efb7572 Merge pull request #4845 from Microsoft/updateDTRWC
Fix importDefinitelyTypedTests script
2015-09-18 14:39:53 -07:00
Daniel Rosenwasser 5a2a7021fa Fix jake task, style/const in script. 2015-09-18 13:13:36 -07:00
Wesley Wigham fe5bca8712 Next-line rule was too strict
We have a few places where we do this:
```ts
if {
  //...
}
// Look, a comment
else {
  //...
}
```
I don't think we want to forbid these cases, so I'm loosening the requirement from "must be on the line after the prior curly brace" to "can't be on the same line as the curly brace".
2015-09-17 19:11:44 -07:00
Daniel Rosenwasser 37ee17d40d es3 -> es5. 2015-09-17 17:56:39 -07:00
Daniel Rosenwasser bf989aa565 Final touches on the script. 2015-09-17 17:26:10 -07:00
Daniel Rosenwasser 23af2a7163 Improved command line interaction for 'importDefinitelyTypedTests' script. 2015-09-17 16:37:18 -07:00
Daniel Rosenwasser 22eef28cbd forEach -> for-of, and other changes. 2015-09-17 16:33:50 -07:00
Wesley Wigham 2793bc2acd Feedback from PR, remove unused identifiers 2015-09-17 14:29:52 -07:00
Daniel Rosenwasser 8bb6313b22 Use explicit types, var -> let/const, misspellings, style. 2015-09-16 17:42:42 -07:00
Daniel Rosenwasser a47b7b8f17 Added 'tsconfig.json' for 'importDefinitelyTypedTests' script. 2015-09-16 17:35:18 -07:00
Daniel Rosenwasser 9696e57772 Added tsd.json file with 'node.d.ts'. 2015-09-16 17:34:31 -07:00
Daniel Rosenwasser 1500f5cd02 Moved importDefinitelyTypedTests.ts to its own folder. 2015-09-16 17:28:30 -07:00
Wesley Wigham 0d88d8df68 Simplify it a bit 2015-08-26 14:48:52 -07:00
Wesley Wigham dc9dd3e667 Give up on real typechecking, just check literals 2015-08-26 14:47:25 -07:00
Wesley Wigham 1cd016b289 Boolean trivia rule 2015-08-26 11:59:53 -07:00
Wesley Wigham 7813121c4d compile vs tslints services dts, null check lint 2015-08-25 18:37:52 -07:00
Wesley Wigham c31ad6fb28 Add tslint rules for #3994 2015-08-25 18:09:32 -07:00
Anders Hejlsberg b3feae1b5f Merge pull request #4033 from Microsoft/updateLangSpec
Update Language Specification
2015-07-29 07:54:02 -07:00
Anders Hejlsberg dc816900f1 Update word2md tool to support hyperlinks 2015-07-26 16:26:58 -07:00
Daniel Rosenwasser d1fe21dda9 Publish to TypeScript itself, create a task to preview changes. 2015-07-23 12:32:17 -07:00
Daniel Rosenwasser 86b8405450 Add configureNightly script. 2015-07-14 18:09:42 -07:00
Dan Quirk 5dfa6104f9 Turn off a few rules and more cleanup post merge 2015-07-08 17:42:26 -07:00
Arthur Ozga 738415d65c Changed tabs to spaces and reformatted file 2015-07-02 15:17:26 -07:00
Ryan Cavanaugh d9ca99dfad Merge pull request #3637 from RyanCavanaugh/errorCheck
Remove unused errors
2015-06-26 14:23:45 -07:00
Ryan Cavanaugh aa59753fe4 CR feedback 2015-06-25 14:02:30 -07:00
Ryan Cavanaugh b4b2a41bc0 Error check script 2015-06-25 13:34:42 -07:00
Mohamed Hegazy 224e7630ea use namespaces instead of modules in the codebase 2015-06-12 09:01:48 -07:00
Mohamed Hegazy 218e1012a2 Add script to create a benchmark test using the compiler 2015-04-24 11:00:14 -07:00
Cyrus Najmabadi 20961cdbd7 Insert @internal when we generate diagnostic messages. 2015-04-13 15:55:56 -07:00
Mohamed Hegazy e902d8462e ES6 doesnt support import id = require("mod") syntax
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-03-11 21:40:10 -07:00
unknown 751054464f Fixed VSDevMode.ps1 parameter info 2015-02-27 21:24:28 +01:00
Mohamed Hegazy 21fb559b53 Make the vsDevMode script more explicit and support lib file override 2015-02-26 12:22:01 -08:00
Bill Ticehurst b1dc910b4a Added script to easily enable VS dev mode 2015-02-12 18:39:59 -08:00
Ryan Cavanaugh 13ba516a7a Address CR feedback; refactor out tsc invocation 2015-01-19 21:37:21 -08:00
Ryan Cavanaugh 7b2579964c Automatic bisecting script 2015-01-19 15:39:21 -08:00
Daniel Rosenwasser 644951b1e0 Fixed old sys dependency, as sys is now ts.sys. 2014-12-11 16:03:49 -08:00
Mohamed Hegazy dd7ca69866 Create a new flag for diagnostics 'isEarly' and disable emit if this flag is set. Set the flag by default on all let and const errors to ensure we are not emitting invalid JS code. 2014-10-20 17:38:50 -07:00
Mohamed Hegazy 2cef9ab852 Merge pull request #907 from Microsoft/rwcRunner
Update Rwc runner
2014-10-16 17:42:35 -07:00
Mohamed Hegazy d0e8350452 import ior utilites 2014-10-16 17:39:05 -07:00
Anders Hejlsberg f5052633a3 Addressing CR feedback and fixing issue with document title 2014-10-16 13:43:34 -07:00
Anders Hejlsberg 2e64a22178 Changing word2md tool to map Windows-1252 characters to Unicode 2014-10-16 13:27:48 -07:00
Ryan Cavanaugh 24eb35bb48 IOR is a simple script for dealing with IO Replay files 2014-10-16 13:00:14 -07:00
Anders Hejlsberg 391a477ba0 Merge branch 'master' into specJakeTask 2014-09-26 15:15:11 -07:00
Anders Hejlsberg deedaf9c1b Add jake task for generating Markdown language spec 2014-09-26 14:36:18 -07:00
Anders Hejlsberg 59248ea9ee Escaping of '<' characters in Word to Markdown conversions 2014-09-26 06:56:31 -07:00
Anders Hejlsberg a8514dac6c Addressing CR feedback 2014-09-25 13:26:43 -07:00
Anders Hejlsberg 7d18236b81 Language Specification in Markdown format 2014-09-25 11:17:14 -07:00
Mohamed Hegazy 1f2a2d2ae3 Simple fixes for the tests 2014-09-11 09:23:29 -07:00
Mohamed Hegazy 3e4c5d5b2f remove unused file 2014-09-09 12:28:25 -07:00
Mohamed Hegazy acf557dd3c Do not emit references in generated declaration files if the --noresolve flag was set. This fixes a crash in the compiler when generating declarations with /// reference and noResolve 2014-09-04 13:16:22 -07:00
Mohamed Hegazy c952750327 Fix typo in file name 2014-09-03 13:10:31 -07:00
Mohamed Hegazy 4e21f1e548 Import Definitlly typed unit tests into the RWC suite 2014-09-03 10:37:03 -07:00
Daniel Rosenwasser 348d0fca21 Addressed code review feedback. 2014-08-04 17:52:58 -07:00
Daniel Rosenwasser 616dae20f0 Fixed diagnostic generator; added messages. 2014-08-01 17:24:02 -07:00
Mohamed Hegazy 214df64e28 Add snapshot of compiler sources 2014-07-12 17:30:19 -07:00