Dmitry Gridin
b2a60795da
ReplaceJavaStaticMethodWithKotlinAnalogInspection: add more cases for Arrays
...
#KT-32512 Fixed
#KT-30124 Fixed
2019-07-10 14:09:35 +03:00
Dmitry Gridin
24caca1882
ReplaceJavaStaticMethodWithKotlinAnalogInspection: fix false positive for 'Arrays.copyOf'
...
#KT-32477
2019-07-10 14:09:35 +03:00
Sergey Rostov
4a8dbeda1b
Gradle, webpack: add conventional archive properties
...
#KT-31890 Fixed
#KT-32209 Fixed
2019-07-10 13:26:56 +03:00
Sergey Rostov
b6ca323a5e
Gradle, karma, webpack: add required dependencies
2019-07-10 13:26:55 +03:00
Sergey Rostov
8b622955fe
Gradle, js, minor: fix typos, formatting and imports
2019-07-10 13:26:55 +03:00
Sergey Rostov
b68582656e
Gradle, DtsResolver: use canonical path to avoid files duplication
2019-07-10 13:26:55 +03:00
Sergey Rostov
80068c0a40
Gradle, js: fix task annotations
2019-07-10 13:26:55 +03:00
Sergey Rostov
3c606c27a1
Gradle, js: support generating kotlin external declarations from .d.ts
...
#KT-31703 Fixed
2019-07-10 13:26:55 +03:00
Sergey Rostov
2fb4d23f1e
Gradle, js, KotlinProjectNpmResolution: index by compilation
2019-07-10 13:26:54 +03:00
Sergey Rostov
7332290ece
Gradle, js, NpmDependency: getDependenciesRecursively
2019-07-10 13:26:54 +03:00
Sergey Rostov
50e07330f4
Gradle, js, resolver, requireInstalled: close resolving if kotlinNpmResolve is up-to-date
2019-07-10 13:26:54 +03:00
Sergey Rostov
1860097c08
Gradle, js, npm resolver: support custom package json entries, index files and extensions
2019-07-10 13:26:54 +03:00
Sergey Rostov
88fa396d26
Gradle, js, resolver: don't skip reading lock file while skipping package manager execution
2019-07-10 13:26:54 +03:00
Sergey Rostov
d1789b07ad
Gradle, js, yarn: store resolved version and integrity hash to NpmDependency
2019-07-10 13:26:54 +03:00
Sergey Rostov
d051748e2b
Gradle, js, npm: support scopes
2019-07-10 13:26:54 +03:00
Sergey Rostov
5e6c76a6e7
Gradle, execWithProgress: report description as first progress
2019-07-10 13:26:53 +03:00
Sergey Rostov
638554ba1c
Gradle, JS, resolver: don't add files that are not existed, add kjsm files
2019-07-10 13:26:53 +03:00
Sergey Rostov
bcf894aba3
Gradle, JS, resolver: return null if npm dependency being resolved before kotlinNpmInstall
2019-07-10 13:26:53 +03:00
Sergey Rostov
8b0dffe182
Gradle, JS, compilation resolver: close dependent compilation resolver when it's packageJson task is up-to-date
2019-07-10 13:26:53 +03:00
Sergey Rostov
3658ad785f
Gradle, JS, NpmResolutionManager: cleanup and document states
2019-07-10 13:26:53 +03:00
Sergey Rostov
327d75dc5d
Gradle, JS: Extract NpmResolutionManager
2019-07-10 13:26:53 +03:00
Sergey Rostov
982f08ce7a
Gradle, JS: replace NodeJs plugin and extension with NpmResolver plugin
2019-07-10 13:26:52 +03:00
Sergey Rostov
2f90742809
Gradle, JS: rework nodejs extensions and plugins
...
Get rid of Project.nodeJs
2019-07-10 13:26:52 +03:00
Sergey Rostov
24f08a614e
Gradle, GradleNodeModulesCache: use new ProcessedFilesCache API
2019-07-10 13:26:52 +03:00
Sergey Rostov
fd2d99e205
Gradle, ProcessedFilesCache: use file as target type (not string)
...
recompute removed target directories
2019-07-10 13:26:52 +03:00
Sergey Rostov
9679403831
Gradle, ProcessedFilesCache: optimize serialization
...
JSON kept for debugability
2019-07-10 13:26:52 +03:00
Sergey Rostov
dff48b251d
Gradle, JS: rework extension registering and resolver phasing
...
This allows to resolve projects lazily.
#KT-32393 Fixed
#KT-31565
#KT-32015
#KT-31917
2019-07-10 13:26:52 +03:00
Sergey Rostov
f4dcc18baf
Gradle, JS: rework NpmResolver
...
Now resolving works per compilation, so transitive dependency between
compilations in same project can be resolved (KT-31917).
Resolving gradle configurations now occurs in separate
per-project `KotlinPackageJsonTask`s. Global install called in
`KotlinNpmInstallTask`. Tasks inputs configured, so tasks now
reported as UP-TO-DATE if nothing was changed.
#KT-31565 Fixed
#KT-32015 Fixed
#KT-31917 Fixed
2019-07-10 13:26:51 +03:00
Ilya Kirillov
196e3f968e
New J2K: fix generating nj2k tests bunch files
2019-07-10 13:21:53 +03:00
Ilya Kirillov
cabc26184b
New J2K: convert single Java static import statements
2019-07-10 13:19:23 +03:00
Ilya Kirillov
b18350e9c8
New J2K: fix ExceptionInInitializerError in JKJavaPrimitiveTypeImpl
2019-07-10 13:19:23 +03:00
Ilya Kirillov
f0dd21790a
New J2K: add plain text copy-paste conversion test for new J2K
2019-07-10 13:18:36 +03:00
Ilya Kirillov
041677ab1b
New J2K: force use old j2k for all not file/copy-paste conversions
2019-07-10 13:16:54 +03:00
Ilya Kirillov
8f69cca2b3
New J2K: enable new J2K by default
2019-07-10 13:16:53 +03:00
Ilya Kirillov
ba3927b580
New J2K: add default null value to property with type parameter type when it is implicit in Java
...
#KT-32436 fixed
2019-07-10 13:16:53 +03:00
Ilya Kirillov
9d6338afb2
New J2K: do not fail conversion if some of post-processings throws exception
2019-07-10 13:16:53 +03:00
Ilya Kirillov
a9865e5d7b
New J2K: check for element validity before applying fix in diagnostic-based post processings
2019-07-10 13:16:53 +03:00
Ilya Kirillov
236f62be2a
New J2K, minor: refactor code builder
2019-07-10 13:16:52 +03:00
Ilya Kirillov
934425e86a
New J2K: rearrange and optimize some post-processings
2019-07-10 13:16:52 +03:00
Ilya Kirillov
370f113b78
New J2K: run add/remove modifiers post-processings only single time && do not call resolve in them for some corner cases
2019-07-10 13:16:52 +03:00
Ilya Kirillov
3e04bfb156
New J2K: do not print modifiers which are going to be removed in postprocessing
2019-07-10 13:16:52 +03:00
Natalia Selezneva
0b7b16162d
182: scripts, pass File finding script definition instead of File.name
2019-07-10 12:05:17 +03:00
Roman Artemev
6ab46204cb
[JS IR BE] Properly handle primary constructors
...
- force primary constructor to be created by codegen
- make sure initializer is invoked once in primary constructor
- make one of coroutine constructor primary
- remove hack from codegen
2019-07-10 10:39:11 +03:00
Roman Artemev
a112345418
[JS IR BE] Fix builtin constructor lowering
...
- Do not touch delegation construction call
2019-07-10 10:39:11 +03:00
Roman Artemev
131158df65
[JS IR BE] Refact MultipleCatchLowering
...
- catch dynamic type instead of common super type over all catch blocks
2019-07-10 10:39:11 +03:00
Roman Artemev
1605dc3251
[JS IR BE] Remove unused classifier symbol from IrTypeOperatorCall builder
2019-07-10 10:39:10 +03:00
Nicolay Mitropolsky
69c4db82d4
Uast: IdeaKotlinUastResolveProviderService analyze as BodyResolveMode.PARTIAL_WITH_CFA
...
it is required for `isUsedAsResultOfLambda` in `KotlinULambdaExpression`
2019-07-10 10:33:10 +03:00
Dmitry Gridin
fda5692fc6
RemoveCurlyBracesFromTemplateInspection: add heuristic to change severity
...
Change severity to INFORMATION if a variable hasn't whitespace around & add an option to return the old behavior
#KT-31717 Fixed
2019-07-10 10:28:45 +03:00
Natalia Selezneva
e4d0c2cb0e
Scripts: switch ScriptReportSink to new scripting API
...
Use ScriptDiagnostic instead of ScripReport
2019-07-10 10:10:21 +03:00
Natalia Selezneva
bd0f947222
Refactor script reports: introduce getter, check that report are changed inside attach method
2019-07-10 10:10:21 +03:00