Skip to content

Class inference from prototypes in JavaScript #5578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
482 commits
Select commit Hold shift + click to select a range
527f465
Use string literal types in the command line parser.
DanielRosenwasser Nov 11, 2015
beb998b
Merge pull request #5615 from Microsoft/getContextualTypeServices
DanielRosenwasser Nov 11, 2015
b3f0a71
Merge pull request #5442 from weswigham/empty-set
weswigham Nov 11, 2015
593ba66
Test cases for --sourceMap --inlineSources option
sheetalkamat Nov 10, 2015
8020bf9
Test cases to verify --inlineSourceMap with --sourcemap --mapRoot and…
sheetalkamat Nov 10, 2015
1659300
Fix the --sourceRoot and --mapRoot option handling
sheetalkamat Nov 11, 2015
f8489af
Merge pull request #5618 from Microsoft/LKG-11-11-2015
DanielRosenwasser Nov 11, 2015
15f505e
use tslint@next
weswigham Nov 11, 2015
77f8d89
because it needs to work with npm 2 as well
weswigham Nov 11, 2015
ee10ea1
this should work better than dedupe
weswigham Nov 11, 2015
6c29ddf
loosen walk up containers, add extra test
weswigham Nov 11, 2015
472afc4
add condition to bail at containing level
weswigham Nov 11, 2015
dc466b2
Merge branch 'master' into compute-common-source-dir
weswigham Nov 11, 2015
d2445b6
PR feedback
sheetalkamat Nov 12, 2015
4720c35
added missing check if file is specified
vladima Nov 12, 2015
ef02bf0
Merge pull request #5628 from Microsoft/checkOnMissingFile
vladima Nov 12, 2015
40e0ffa
Update authors for release 1.7
mhegazy Nov 12, 2015
f4929e7
Encoding bug
mihailik Nov 12, 2015
f256da9
Merge pull request #5633 from mihailik/patch-4
mhegazy Nov 12, 2015
ebd1b87
always check statements in case clause
vladima Nov 12, 2015
ea29793
Quote only names that need to be quoted, not the reverse
RyanCavanaugh Nov 12, 2015
3d9978f
Use https for badges
bootstraponline Nov 12, 2015
278b35b
Adding test and comments. Override file content even if already opened.
zhengbli Nov 12, 2015
a0549fa
Fix lint compliant
zhengbli Nov 12, 2015
b3c4733
Merge pull request #5620 from Microsoft/inlineSourceMap
sheetalkamat Nov 12, 2015
fe9d73e
Remove debugger statement from test
zhengbli Nov 12, 2015
1ed67f4
Removed the TODO as created bug for it
sheetalkamat Nov 12, 2015
4dbae54
Merge pull request #5639 from Microsoft/typecheckStatementsInCaseClause
vladima Nov 12, 2015
0b21540
Simplified logic of getting files if files werent suppplied in tsccon…
sheetalkamat Nov 12, 2015
f90ef92
Simplify regex a bit
RyanCavanaugh Nov 12, 2015
63ff012
Merge pull request #5636 from bootstraponline/patch-1
mhegazy Nov 12, 2015
b24f8f3
go go go
weswigham Nov 12, 2015
986d884
Test case for multiline spanning without return statement
sheetalkamat Nov 12, 2015
127a30e
Fix the sourcemap emit of lambda expression without return on another…
sheetalkamat Nov 12, 2015
3bdad8a
When excluding same base name file from compilation, check for all su…
sheetalkamat Nov 12, 2015
e3a845a
Merge pull request #5641 from RyanCavanaugh/fix5634
RyanCavanaugh Nov 12, 2015
5bcf861
use relative path from current directory
weswigham Nov 12, 2015
52fbf9e
Merge branch 'master' into compute-common-source-dir
weswigham Nov 12, 2015
3d6312a
Merge pull request #5643 from Microsoft/lambdaSourceMap
sheetalkamat Nov 13, 2015
ecd4435
Go all the way back to the original solution
weswigham Nov 13, 2015
b31ac2e
Add a handful of tests
weswigham Nov 13, 2015
57162e9
handful more tests
weswigham Nov 13, 2015
b5ac1eb
add decorator flag to tests
weswigham Nov 13, 2015
e79253a
fix handling of decorated default exports on es6 with nones6 modules
weswigham Nov 13, 2015
521a0a1
Fix class exports with varrying module emits while targeting es6
weswigham Nov 13, 2015
36607b9
accept baselines for new tests
weswigham Nov 13, 2015
7743d20
Merge pull request #5193 from Microsoft/namespace-before-ambient-deri…
sandersn Nov 13, 2015
346253a
test, first pass at a fix
weswigham Nov 13, 2015
b93feb8
cleanup test harness code
vladima Nov 13, 2015
bd39847
Merge pull request #5593 from zhengbli/i5530
zhengbli Nov 13, 2015
581f52a
exhaustive tests
weswigham Nov 13, 2015
fc07763
Merge branch 'master' into jsFileCompilation
sheetalkamat Nov 13, 2015
16d80eb
ignore undefined type guards
weswigham Nov 13, 2015
d7ddcc4
accept baselines for new test
weswigham Nov 13, 2015
732fff2
use common source directory for module paths
weswigham Nov 13, 2015
07626cb
do not crash if overloads cannot be merged under one symbol
vladima Nov 13, 2015
0482afd
Load only typescript files if resolving from node modules
sheetalkamat Nov 13, 2015
7e69f01
Always compute a common source directory for a program
weswigham Nov 13, 2015
5b29a7e
accept corrected projects baselines
weswigham Nov 13, 2015
b144b5b
Merge pull request #5660 from weswigham/undefined-type-guards
weswigham Nov 13, 2015
531e096
Merge pull request #5662 from Microsoft/overloadsAndMergedDeclarations
vladima Nov 13, 2015
50aab7a
fix typo
vladima Nov 13, 2015
cb1724b
in declaration emit, handle = require (again)
weswigham Nov 13, 2015
d1d1eb1
Merge branch 'master' into use-common-directory-for-out
weswigham Nov 13, 2015
d2d2213
Merge pull request #5655 from Microsoft/harnessCleanup
vladima Nov 13, 2015
78e7804
handle things more rightly
weswigham Nov 13, 2015
13faf2c
get projects dts back
weswigham Nov 13, 2015
c3c758b
Merge branch 'master' into compute-common-source-dir
weswigham Nov 14, 2015
ff95731
:S
weswigham Nov 14, 2015
bfdb2d0
and somehow all that caused was a lint error
weswigham Nov 14, 2015
117da7f
Merge pull request #5622 from weswigham/tslint@next
weswigham Nov 14, 2015
e41bfd1
fix many lints
weswigham Nov 14, 2015
6b27ce4
Merge pull request #5665 from weswigham/so-many-lint-fixes
weswigham Nov 14, 2015
39ebe81
Merge branch 'master' into compute-common-source-dir
weswigham Nov 14, 2015
76d624d
Merge branch 'master' into dogfoodStringLiterals
DanielRosenwasser Nov 14, 2015
9857e7f
Merge pull request #5617 from Microsoft/dogfoodStringLiterals
DanielRosenwasser Nov 14, 2015
e49e552
do not crash when variable and function declarations collide
vladima Nov 14, 2015
abb7a13
Merge pull request #5670 from Microsoft/noCrashWithNonMergedOverloads
vladima Nov 14, 2015
762e1eb
cleanup harness code
vladima Nov 14, 2015
eda75fb
added default chrome path for Mac OS X
Nov 15, 2015
a0c6e1f
Merge branch 'master' into browser-test-fix
Nov 16, 2015
f168962
Merge pull request #5679 from wix/browser-test-fix
mhegazy Nov 16, 2015
a30d9c2
Merge remote-tracking branch 'origin/master' into harnessCleanup2_WIP
vladima Nov 16, 2015
078ed3f
use normalized absolute file names when doing consistency check
vladima Nov 16, 2015
8039909
remove Tao generation
vladima Nov 16, 2015
1ee5022
Change the api for node name resolver to take compiler options instea…
sheetalkamat Nov 16, 2015
31bce22
switch fourslash to use local test state
vladima Nov 16, 2015
073b69a
Merge branch 'master' into jsFileCompilation
sheetalkamat Nov 16, 2015
09a313a
Merge pull request #5692 from Microsoft/fileNamesConsistencyCheck
vladima Nov 16, 2015
7d65b5b
Merge pull request #5697 from Microsoft/harnessCleanup3_WIP
vladima Nov 16, 2015
076d65e
addressed PR feedback
vladima Nov 17, 2015
a275dab
When constructing signature, include parameter symbol instead of prop…
sheetalkamat Nov 17, 2015
259e204
Merge pull request #5690 from Microsoft/harnessCleanup2_WIP
vladima Nov 17, 2015
13bc120
Merge pull request #5698 from Microsoft/paramPropertyDocComment
sheetalkamat Nov 17, 2015
33fc598
clean residual state in binder and emitter, clean test data in versio…
vladima Nov 17, 2015
a26d89d
addressed PR feedback
vladima Nov 17, 2015
3fd9eb5
Merge branch 'master' into compute-common-source-dir
weswigham Nov 17, 2015
443abe6
Adds ThisType to SyntaxKind, to distinguish between a 'this' expressi…
rbuckton Nov 17, 2015
20347ad
Merge pull request #5597 from Microsoft/typesCleanup
rbuckton Nov 17, 2015
4be0095
Clean up unnecessary comment annotations
rbuckton Nov 17, 2015
a989595
use getCanonicalFileName on path fragments as in other utility methods
weswigham Nov 17, 2015
21250ed
Merge branch 'master' into default-commonjs-es6
weswigham Nov 17, 2015
683ecc9
Merge pull request #5701 from Microsoft/cleanupWork
vladima Nov 17, 2015
e41f1ae
only check against default flag
weswigham Nov 17, 2015
e0a8af0
do not resolve parameters/type parameters if it is requested from res…
vladima Nov 17, 2015
321bb9a
Merge branch 'master' into type-guard-narrowing
weswigham Nov 17, 2015
9531d92
update test with pr feedback
weswigham Nov 17, 2015
31039a3
disallow references to function locals from return type annotations
vladima Nov 17, 2015
1f61ecf
Merge pull request #5590 from weswigham/compute-common-source-dir
weswigham Nov 18, 2015
5e84ed3
Merge pull request #5706 from Microsoft/nameResolutionForParameters
vladima Nov 18, 2015
c29501f
Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsc…
saschanaz Nov 18, 2015
8ca6b31
const
saschanaz Nov 18, 2015
cf00746
Fixed invalid code for binding expressions.
DanielRosenwasser Nov 18, 2015
15d689c
Simplify simplify simplify.
DanielRosenwasser Nov 18, 2015
cbb6165
Small refactorings.
DanielRosenwasser Nov 18, 2015
7389922
Merge pull request #5709 from Microsoft/fixPreferConstRule
mhegazy Nov 18, 2015
0448eeb
Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsc…
saschanaz Nov 18, 2015
bd84b84
Remove unnecessary 'else' block.
DanielRosenwasser Nov 18, 2015
5ac6eb2
PR feedback
sheetalkamat Nov 18, 2015
a19307d
Merge branch 'master' into jsFileCompilation
sheetalkamat Nov 18, 2015
c7a3bee
Merge branch 'master' into use-common-directory-for-out
weswigham Nov 18, 2015
a44ebbb
only make common dir on call
weswigham Nov 18, 2015
294f846
Add a test which uses common src dir in a different way
weswigham Nov 18, 2015
c0f1859
remove comment
weswigham Nov 18, 2015
b73ce26
Dont emit names index mapping into the sourcemap
sheetalkamat Nov 18, 2015
9db441e
Update test baselines
sheetalkamat Nov 19, 2015
08045df
Refactor getCommonSourceDirectory into a closure function
weswigham Nov 19, 2015
ba3805d
add a new test
weswigham Nov 19, 2015
5915fbd
Adds minimal support for 'this' types in decorator metadata, emitting…
rbuckton Nov 19, 2015
b1c8245
Merge pull request #5626 from weswigham/type-guard-narrowing
weswigham Nov 19, 2015
5ecc271
Merge branch 'master' into use-common-directory-for-out
weswigham Nov 19, 2015
075bea0
I forgot to commit the baselines. T.T
weswigham Nov 19, 2015
adc6d11
Merge branch 'master' into useprintVersion
Nov 19, 2015
fc79104
Merge pull request #5605 from Microsoft/useprintVersion
yuit Nov 19, 2015
93af2b2
Comment cleanup.
rbuckton Nov 19, 2015
7d6100b
Merge pull request #5719 from Microsoft/typesCleanup2
rbuckton Nov 19, 2015
883b8d9
Merge pull request #5471 from Microsoft/jsFileCompilation
sheetalkamat Nov 20, 2015
a3bec92
When the node contains decorators the actual start of the node is aft…
sheetalkamat Nov 19, 2015
e23b0c6
Fix the source map emit for decorators
sheetalkamat Nov 19, 2015
c84a9f1
Test cases for breakpoints with decorators
sheetalkamat Nov 19, 2015
858a99b
Setting breakpoint inside decorator expression results in setting bre…
sheetalkamat Nov 20, 2015
83e569e
Breakpoints on the node with decorator should start at actual syntax …
sheetalkamat Nov 20, 2015
ba2238f
Decorators node array should have pos at token @ instead of actual de…
sheetalkamat Nov 20, 2015
f5b8619
Adds StringLiteralType to SyntaxKind to disambiguate string literals …
rbuckton Nov 20, 2015
68c292c
Adds a generic algorithm to create a shallow, memberwise clone of a n…
rbuckton Nov 20, 2015
9b0231d
Minor change to getStringLiteralType
rbuckton Nov 20, 2015
d87fc8b
Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsc…
saschanaz Nov 20, 2015
e5587fb
Merge remote-tracking branch 'refs/remotes/Microsoft/master' into tsc…
saschanaz Nov 20, 2015
c93f454
Implement #5173
delta-nry Nov 20, 2015
dc629d5
Reduce union and intersection types before inference
ahejlsberg Nov 20, 2015
a0842aa
Adding tests
ahejlsberg Nov 20, 2015
11f4e3c
Accepting new baselines
ahejlsberg Nov 20, 2015
0ee4e0b
Modified cloneNode to ignore own properties of clone.
rbuckton Nov 20, 2015
4edf330
Minor comment update
rbuckton Nov 20, 2015
c94dcbd
Merge pull request #5726 from Microsoft/cloneNode
rbuckton Nov 20, 2015
71b98e0
apply 'noImplicitReturns' check for functions that don't have type an…
vladima Nov 20, 2015
fb83ee0
WIP
RyanCavanaugh Nov 20, 2015
40a2a25
Fix object type literal regression
delta-nry Nov 20, 2015
b117868
Merge branch 'master' into use-common-directory-for-out
weswigham Nov 20, 2015
5b3d299
Clarify comment
delta-nry Nov 20, 2015
02a9b11
Accpet new baselines
weswigham Nov 20, 2015
f28958f
Merge branch 'master' into autohoist-default
weswigham Nov 20, 2015
add5146
Fix linting errors
ahejlsberg Nov 20, 2015
8d3fca9
apply tslint rule to scripts\tslint
Nov 21, 2015
97f0bfc
apply tslint rule to scripts\tslint
Nov 21, 2015
5aec74e
Merge branch 'applylinteronscripts' of https://github.com/Microsoft/T…
Nov 21, 2015
181c943
correctly capture 'this' when converting loops into functions
vladima Nov 22, 2015
988a512
address PR feedback - fixed typo in comment
vladima Nov 23, 2015
fbaba90
Merge pull request #5747 from Microsoft/thisWithLetConst
vladima Nov 23, 2015
5eb8f71
addressed PR feedback
vladima Nov 23, 2015
2836c17
do not treat modules with '!' in names any specially
vladima Nov 23, 2015
4beedcf
Update relation cache after we decide to elaborate an error
ahejlsberg Nov 23, 2015
6a14450
Adding regression test
ahejlsberg Nov 23, 2015
c5dd297
Accepting new baselines
ahejlsberg Nov 23, 2015
566c0db
fix lint errors
vladima Nov 23, 2015
262bdb5
Merge pull request #5761 from Microsoft/fixErrorElaboration
ahejlsberg Nov 23, 2015
fb76dc9
Merge pull request #5759 from Microsoft/bangInModuleNames
vladima Nov 23, 2015
a03f06f
add strict mdoe directive to all nones6 module emits
weswigham Nov 23, 2015
79c4dc6
Accept so many baselines
weswigham Nov 23, 2015
044ff46
fix transpile unit tests
weswigham Nov 23, 2015
f2a1bed
accept new projects baselines
weswigham Nov 23, 2015
83ec5a9
projects teeests
weswigham Nov 23, 2015
1c0bdaf
projects tests are maddening
weswigham Nov 23, 2015
4e52ab4
ending the pain and suffering of the projects tests
weswigham Nov 24, 2015
88d580f
Merge branch 'master' into emit-module-in-strict-mode
weswigham Nov 24, 2015
b4d6081
accpet new baseline
weswigham Nov 24, 2015
5c23a5f
Extract source map generation logic out of the emitter.
rbuckton Nov 24, 2015
880db38
removing filename requirement
saschanaz Nov 24, 2015
ea0cc79
Merge pull request #5738 from Microsoft/unionIntersectionTypeInference
ahejlsberg Nov 24, 2015
2a21558
Merge pull request #4883 from SaschaNaz/tsconfigpath
RyanCavanaugh Nov 24, 2015
27149f3
only emit use strict if a use strict prologue isnt found
weswigham Nov 24, 2015
d0de238
Merge pull request #5765 from weswigham/emit-module-in-strict-mode
weswigham Nov 24, 2015
a7cc863
Merge branch 'master' into sourceMapAndBreakpointDecorators
sheetalkamat Nov 24, 2015
8909c3a
Merge pull request #5725 from Microsoft/stringTypesCleanup
rbuckton Nov 24, 2015
aa5e576
minor tweak to null handling in stringify
rbuckton Nov 25, 2015
fd51ebf
Minor stringify cleanup, added cycle detection for AssertionLevel.Agg…
rbuckton Nov 25, 2015
0ad2efc
removed typeof check for isArray
rbuckton Nov 25, 2015
d88186b
Removed isArray branch in checkCycles as it was unnecessary
rbuckton Nov 25, 2015
7ff4238
Fix crushing of getting signatureDeclaration when we are not in funct…
Nov 25, 2015
81fdc43
Add fourslash tests
Nov 25, 2015
8702cc4
Renamed functions, fixed signature, removed TODO.
DanielRosenwasser Nov 25, 2015
995f0c4
Merge pull request #5782 from Microsoft/renameStringLiteralTypeFunctions
DanielRosenwasser Nov 25, 2015
c5a2969
check for null
Nov 25, 2015
937ce71
Merge pull request #5733 from Microsoft/unconditionalNoImplicitReturns
vladima Nov 25, 2015
b33eff1
PR feedback
rbuckton Nov 25, 2015
6bc2c06
Missed linter error.
rbuckton Nov 25, 2015
068d10c
Add tests for #5173
delta-nry Nov 25, 2015
04d53c1
Simpler inline cycle check for stringify
rbuckton Nov 25, 2015
b5c64ad
Test case for binder errors in .js file
sheetalkamat Nov 25, 2015
d1c467f
Merge branch 'master' into use-common-directory-for-out
weswigham Nov 26, 2015
3926684
accept projects tests baselines
weswigham Nov 26, 2015
ec775ba
Merge pull request #5648 from weswigham/default-commonjs-es6
weswigham Nov 26, 2015
c9b3b7e
Merge pull request #5661 from weswigham/use-common-directory-for-out
weswigham Nov 26, 2015
fecf99c
Merge pull request #5742 from Microsoft/applylinteronscripts
yuit Nov 26, 2015
adc3f2b
update description
weswigham Nov 26, 2015
62fb5e8
Include debug assert
Nov 26, 2015
2198988
accept baselines
weswigham Nov 26, 2015
ebbce6a
Merge pull request #5800 from weswigham/master
weswigham Nov 26, 2015
d74ab2e
Merge branch 'master' into autohoist-default
weswigham Nov 26, 2015
fd5f440
accept new baselines
weswigham Nov 26, 2015
38215c6
Merge pull request #5577 from weswigham/autohoist-default
weswigham Nov 26, 2015
6c755c9
Report property errors in the checker instead of the parser
delta-nry Nov 28, 2015
d9d67d9
Move initializer checks into checkGrammarProperty
delta-nry Nov 28, 2015
ed453dd
Add comment
jeffreymorlan Nov 28, 2015
2f282a7
Merge pull request #5566 from jeffreymorlan/fix5444
DanielRosenwasser Nov 28, 2015
e363c75
Revert baseline changes to the objectTypeLiteralSyntax2 test
delta-nry Nov 29, 2015
d0e4a4c
do not report 'noImplicitReturns' error if inferred return type of th…
vladima Nov 29, 2015
7f8bf73
fix lint errors
vladima Nov 29, 2015
9552d4d
ignore all trivia except singleline comments when processing triplesl…
vladima Nov 30, 2015
2d13345
Merge branch 'master' into fix4715
Nov 30, 2015
2cc7a79
use const
Nov 30, 2015
090eb20
Merge pull request #5827 from Microsoft/shebangBeforeReferences
vladima Nov 30, 2015
6ff5679
fix typo in comment
vladima Nov 30, 2015
78ba4b2
Merge pull request #5781 from Microsoft/fix4715
yuit Nov 30, 2015
180eba5
Sync the dom.generated.d.ts files from TSJS repo
zhengbli Nov 30, 2015
266600d
Merge pull request #5780 from Microsoft/extractSourceMaps
rbuckton Nov 30, 2015
6d15954
Fixes #5564.
rbuckton Nov 30, 2015
ccfa625
var rename as per PR feedback
sheetalkamat Nov 30, 2015
a871698
Merge branch 'master' into sourceMapAndBreakpointDecorators
sheetalkamat Nov 30, 2015
aae6749
Merge pull request #5840 from Microsoft/fixExtraAwaiter
rbuckton Nov 30, 2015
74d92f0
Merge pull request #5724 from Microsoft/sourceMapAndBreakpointDecorators
sheetalkamat Nov 30, 2015
b40079e
Merge pull request #5824 from Microsoft/implicitReturnInferredVoid
vladima Dec 1, 2015
322f084
Merge branch 'master' into noSourcemapNames
sheetalkamat Dec 1, 2015
f315fc1
Merge branch 'master' into noSourcemapNames
sheetalkamat Dec 1, 2015
dac1874
Merge pull request #5713 from Microsoft/noSourcemapNames
sheetalkamat Dec 1, 2015
144d24c
Change "object type literal" to "type literal"
delta-nry Dec 1, 2015
5e86ca1
Merge pull request #5836 from zhengbli/SyncTSJS
zhengbli Dec 1, 2015
4092de6
Merge pull request #5736 from UBC-CPEN/issue-5173
DanielRosenwasser Dec 1, 2015
c3b59d1
Merge branch 'master' into javaScriptPrototypes
RyanCavanaugh Dec 1, 2015
c4b0b62
Merge fixup
RyanCavanaugh Dec 1, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 0 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
node_modules/
built/*
tests/cases/*.js
tests/cases/*/*.js
tests/cases/*/*/*.js
tests/cases/*/*/*/*.js
tests/cases/*/*/*/*/*.js
tests/cases/*.js.map
tests/cases/*/*.js.map
tests/cases/*/*/*.js.map
tests/cases/*/*/*/*.js.map
tests/cases/*/*/*/*/*.js.map
tests/cases/rwc/*
tests/cases/test262/*
tests/cases/perf/*
Expand Down
23 changes: 19 additions & 4 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ TypeScript is authored by:
* Basarat Ali Syed
* Ben Duffield
* Bill Ticehurst
* Brett Mayen
* Bryan Forbes
* Caitlin Potter
* Chris Bubernak
Expand All @@ -17,11 +18,14 @@ TypeScript is authored by:
* Dan Quirk
* Daniel Rosenwasser
* David Li
* Dick van den Brink
* Dirk B�umer
* Denis Nedelyaev
* Dick van den Brink
* Dirk Bäumer
* Eyas Sharaiha
* Frank Wallis
* Gabriel Isenberg
* Gilad Peleg
* Graeme Wicksted
* Guillaume Salles
* Harald Niesche
* Ingvar Stepanyan
Expand All @@ -31,30 +35,39 @@ TypeScript is authored by:
* Jason Ramsay
* Jed Mao
* Johannes Rieken
* John Vilk
* Jonathan Bond-Caron
* Jonathan Park
* Jonathan Turner
* Josh Kalderimis
* Julian Williams
* Kagami Sascha Rosylight
* Keith Mashinter
* Ken Howard
* Kenji Imamula
* Lorant Pinter
* Martin Všetička
* Masahiro Wakame
* Max Deepfield
* Micah Zoltu
* Mohamed Hegazy
* Nathan Shively-Sanders
* Oleg Mihailik
* Oleksandr Chekhovskyi
* Paul van Brenk
* Pedro Maltez
* Philip Bulley
* piloopin
* @progre
* Punya Biswal
* Ron Buckton
* Ryan Cavanaugh
* Ryohei Ikegami
* Sébastien Arod
* Sheetal Nandi
* Shengping Zhong
* Shyyko Serhiy
* Simon H�rlimann
* Simon Hürlimann
* Solal Pirelli
* Stan Thomas
* Steve Lucco
Expand All @@ -63,8 +76,10 @@ TypeScript is authored by:
* togru
* Tomas Grubliauskas
* TruongSinh Tran-Nguyen
* Viliv Vane
* Vladimir Matveev
* Wesley Wigham
* York Yao
* Yui Tanglertsampan
* Zev Spitz
* Zhengbo Li
* Zhengbo Li
22 changes: 17 additions & 5 deletions Jakefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ var compilerSources = [
"utilities.ts",
"binder.ts",
"checker.ts",
"sourcemap.ts",
"declarationEmitter.ts",
"emitter.ts",
"program.ts",
Expand All @@ -59,6 +60,7 @@ var servicesSources = [
"utilities.ts",
"binder.ts",
"checker.ts",
"sourcemap.ts",
"declarationEmitter.ts",
"emitter.ts",
"program.ts",
Expand Down Expand Up @@ -106,6 +108,16 @@ var serverCoreSources = [
return path.join(serverDirectory, f);
});

var scriptSources = [
"tslint/booleanTriviaRule.ts",
"tslint/nextLineRule.ts",
"tslint/noNullRule.ts",
"tslint/preferConstRule.ts",
"tslint/typeOperatorSpacingRule.ts"
].map(function (f) {
return path.join(scriptsDirectory, f);
});

var serverSources = serverCoreSources.concat(servicesSources);

var languageServiceLibrarySources = [
Expand Down Expand Up @@ -365,7 +377,6 @@ file(builtGeneratedDiagnosticMessagesJSON,[generatedDiagnosticMessagesJSON], fun
desc("Generates a diagnostic file in TypeScript based on an input JSON file");
task("generate-diagnostics", [diagnosticInfoMapTs]);


// Publish nightly
var configureNightlyJs = path.join(scriptsDirectory, "configureNightly.js");
var configureNightlyTs = path.join(scriptsDirectory, "configureNightly.ts");
Expand Down Expand Up @@ -466,7 +477,7 @@ compileFile(servicesFile, servicesSources,[builtLocalDirectory, copyright].conca
var nodeDefinitionsFileContents = definitionFileContents + "\r\nexport = ts;";
fs.writeFileSync(nodeDefinitionsFile, nodeDefinitionsFileContents);

// Node package definition file to be distributed without the package. Created by replacing
// Node package definition file to be distributed without the package. Created by replacing
// 'ts' namespace with '"typescript"' as a module.
var nodeStandaloneDefinitionsFileContents = definitionFileContents.replace(/declare (namespace|module) ts/g, 'declare module "typescript"');
fs.writeFileSync(nodeStandaloneDefinitionsFile, nodeStandaloneDefinitionsFileContents);
Expand Down Expand Up @@ -875,7 +886,7 @@ var tslintRulesOutFiles = tslintRules.map(function(p) {
desc("Compiles tslint rules to js");
task("build-rules", tslintRulesOutFiles);
tslintRulesFiles.forEach(function(ruleFile, i) {
compileFile(tslintRulesOutFiles[i], [ruleFile], [ruleFile], [], /*useBuiltCompiler*/ false, /*noOutFile*/ true, /*generateDeclarations*/ false, path.join(builtLocalDirectory, "tslint"));
compileFile(tslintRulesOutFiles[i], [ruleFile], [ruleFile], [], /*useBuiltCompiler*/ false, /*noOutFile*/ true, /*generateDeclarations*/ false, path.join(builtLocalDirectory, "tslint"));
});

function getLinterOptions() {
Expand Down Expand Up @@ -909,7 +920,8 @@ function lintFileAsync(options, path, cb) {

var lintTargets = compilerSources
.concat(harnessCoreSources)
.concat(serverCoreSources);
.concat(serverCoreSources)
.concat(scriptSources);

desc("Runs tslint on the compiler sources");
task("lint", ["build-rules"], function() {
Expand Down Expand Up @@ -937,7 +949,7 @@ function lintWatchFile(filename) {
if (event !== "change") {
return;
}

if (!lintSemaphores[filename]) {
lintSemaphores[filename] = true;
lintFileAsync(getLinterOptions(), filename, function(err, result) {
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Build Status](https://travis-ci.org/Microsoft/TypeScript.svg?branch=master)](https://travis-ci.org/Microsoft/TypeScript)
[![npm version](https://badge.fury.io/js/typescript.svg)](http://badge.fury.io/js/typescript)
[![Downloads](http://img.shields.io/npm/dm/TypeScript.svg)](https://npmjs.org/package/typescript)
[![npm version](https://badge.fury.io/js/typescript.svg)](https://www.npmjs.com/package/typescript)
[![Downloads](https://img.shields.io/npm/dm/TypeScript.svg)](https://www.npmjs.com/package/typescript)

# TypeScript

Expand Down
Loading