Dmitry Gridin
484dda478e
AbstractIntentionTest: should check startInWriteAction flag
2019-09-23 23:01:46 +07:00
Dmitry Gridin
667e9a33e8
AbstractIntentionTest: cleanup code
2019-09-23 23:01:46 +07:00
Dmitry Gridin
cbdda6f9a8
KotlinChangeSignatureData: cleanup code
2019-09-23 23:01:46 +07:00
Nikolay Krasko
7271e65851
Don't store hard references to psi elements in transferable data (KT-33802)
...
This leads to project leaked errors in tests.
2019-09-23 18:58:11 +03:00
Igor Yakovlev
f8bd3518dc
UL method and parameter Move&Rename refactoring
2019-09-23 17:30:15 +03:00
Igor Yakovlev
fc70fd05fc
Enable kotlin.collections support for UL classes
...
Removed restriction for classes derived from Kotlin collections
Added type erasure for java collection overrided methods
2019-09-23 17:30:15 +03:00
Igor Yakovlev
286702a99c
Format code for NoArgPlugin
2019-09-23 17:07:33 +03:00
Igor Yakovlev
1deba19e1c
Refactoring NoArg compiler plugin
...
Remove NoArgClassKey relation betwen AbstractNoArgDeclarationChecker and NoArgExpressionCodegenExtension
Separate NoArgExpressionCodegenExtension to Ide and Cli versions
2019-09-23 17:07:33 +03:00
Vladimir Dolzhenko
027c60080b
Added KotlinCodeInsightWorkspaceSettings in place of sharing kotlin settings with java CodeInsightSettings
2019-09-23 16:05:11 +02:00
Nikolay Krasko
6b5a73ffa9
Enable resolve in dispatch thread check for copy-paste tests
2019-09-23 16:54:35 +03:00
Nikolay Krasko
ee4ab967a4
Force resolve check for dispatch thread instead of isWriteAccessAllowed
...
isWriteAccessAllowed = dispatch thread + write lock
2019-09-23 16:54:35 +03:00
Nikolay Krasko
9f81de293f
Minor: add intention name to test failure
2019-09-23 16:54:35 +03:00
Ilya Matveev
fabd336856
Update K/N: 1.3.60-dev-12485
2019-09-23 18:45:17 +07:00
Vladimir Dolzhenko
17e2359a41
Added copy-paste performance tests
2019-09-23 12:48:59 +02:00
Natalia Selezneva
63e5d4fe95
Tests: rewrite some AbstractScriptConfigurationTest to the new script infrastructure
2019-09-23 12:06:25 +03:00
Natalia Selezneva
eca7bbdb8c
Scripts: Check if file is in all script dependencies class files scope instead of searching for module info
...
^KT-32799 Fixed
^KT-16760 Add test
2019-09-23 12:06:25 +03:00
Toshiaki Kameyama
245b2aecb3
"Replace guard clause with kotlin's function call" inspection : decrease severity to INFORMATION
...
#KT-33235 Fixed
2019-09-23 11:36:14 +03:00
Ivan Gavrilovic
573e7f2eee
Run JDK11 tests for KAPT only if JDK11 is available
...
Otherwise, just skip running them.
2019-09-23 17:32:37 +09:00
Ivan Gavrilovic
6e7f046471
Fix gradle integeration tests
...
Fix test failure on Windows, where backslash was not escaped
in a build file. Also, remove obsolete test for Gradle 4.2,
because 4.3 is the minimum supported version.
2019-09-23 17:32:36 +09:00
Toshiaki Kameyama
92dcb54207
"Redundant overriding method" inspection: do not report when overriding package private method
...
#KT-33153 Fixed
2019-09-23 12:35:56 +07:00
Alexander Udalov
25799447a6
Minor, use slightly less internal argument to enable inline classes
2019-09-21 02:03:31 +02:00
Steven Schäfer
e4609a9968
JVM IR: Cache inline class replacements at the module level
2019-09-20 23:41:39 +02:00
Steven Schäfer
f40f9611c3
JVM IR: Fix spread operator on unsigned array type
2019-09-20 18:17:31 +02:00
Mikhail Zarechenskiy
1a50a3cbb1
[NI] Avoid computing few things for simple calls without type variables
2019-09-20 17:56:07 +03:00
Mikhail Zarechenskiy
7bd65c0bcd
[NI] Avoid collecting possible types for call expressions
2019-09-20 17:56:07 +03:00
Mikhail Zarechenskiy
a83225218f
[NI] Fix checks for infix/operator conventions
2019-09-20 17:56:06 +03:00
Pavel Kirpichenkov
f45a49b122
Remove uncapturing in type mismatch diagnostics
...
#KT-32587 Fixed
2019-09-20 17:05:03 +03:00
Ilya Matveev
5c904250be
Gradle, native: Update a K/N version in tests
...
Earlier, K/N 1.1 was used when testing the kotlin.native.version
property. But this version doesn't support the -no-endorsed-libs
flag add recently. This patch updates K/N version in tests.
2019-09-20 16:54:30 +07:00
Ilya Goncharov
31aa4e4738
Rename kotlin-test-nodejs-runner to kotlin-test-js-runner
2019-09-20 10:56:18 +03:00
Ilya Goncharov
10c36ae5c5
Change naming from commin cli.ts to concrete platform nodejs.ts
2019-09-20 10:56:17 +03:00
Ilya Goncharov
c2b5df83f6
Add filtering feature to karma testing
...
- Now karma use generated adapter.js as input, in which right runner and
also all real input files are required
#KT-32216 fixed
2019-09-20 10:56:15 +03:00
Ilya Goncharov
09a602d8ad
Move common logic of js test running on upper level (js)
2019-09-20 10:49:57 +03:00
Ilya Goncharov
e750bd302d
Add karma input for kotlin-test-nodejs-runner
...
- To set custom adapter for kotlin-test, it is necessary to inject adapting
code to webpack's input, so then it is executed inside browser and set
custom adapter
This code will be injected to webpack's input
2019-09-20 10:49:56 +03:00
Ilya Goncharov
e242856124
Enable cli description to have free args title
2019-09-20 10:49:56 +03:00
Ilya Goncharov
80ea91f574
Extract Adapter getting to common place
2019-09-20 10:49:56 +03:00
Ilya Goncharov
b44249255c
Extract default cli parser to common place
2019-09-20 10:49:56 +03:00
Ilya Goncharov
f0af4756a9
Fix accuracy for regex filtering for nodejs testing
2019-09-20 10:49:56 +03:00
Ilya Goncharov
e2aecee925
Fix exact test filtering for nodejs
2019-09-20 10:49:56 +03:00
Natalia Selezneva
a62863128c
Fix exception from ProjectResolutionFacade when switching some definition off in settings
...
Fix AbstractScriptDefinitionsOrderTest
Remove updating script dependencies in test because in affects cache behavior: script will be already up to date when highlighting is called for the second time
2019-09-20 10:35:52 +03:00
Natalia Selezneva
3ad7f516be
Add caret to test to check exception in ProjectResolutionFacade that can happen during resolving of symbol from script dependencies
2019-09-20 10:35:52 +03:00
Natalia Selezneva
5872a47c0e
Scripts: rehighlighting should be called for opened scripts after changing script definitions
...
In case when script dependencies were absent for script, highlighting was called only when the script changed
2019-09-20 10:35:52 +03:00
Natalia Selezneva
3ac099fc9a
Fix freeze during script definitions update (KT-32513)
...
loadScriptDefinitions is a long running operation, so it shouldn't be called under write lock.
This may cause a freeze when someone else wants to get definitions from the same loader during loading process
^KT-32513 Fixed
2019-09-20 10:35:44 +03:00
Ilya Matveev
1b64583855
Gradle, native: Embed bitcode for watchOS and tvOS
2019-09-20 12:52:48 +07:00
Abduqodiri Qurbonzoda
2819ab4ae9
Avoid division in string-to-unsigned conversions (KT-26309)
2019-09-20 01:08:33 +03:00
Abduqodiri Qurbonzoda
d66f07a84e
CollectionsKt.windowed throws IllegalArgumentException
2019-09-20 00:50:54 +03:00
Alexander Udalov
a7b984bcbf
JVM IR: fix generation of generic multi-file delegates
2019-09-19 22:23:16 +02:00
Alexander Udalov
acbe5c4e21
JVM IR: fix IOOBE from remapTypeParameters for synthetic property annotations method
2019-09-19 22:23:16 +02:00
Igor Yakovlev
c972bf5882
Add [JPS] IDEA (No ProcessCanceledException) configuration
2019-09-19 19:56:35 +03:00
Ilmir Usmanov
f1d31c8221
JVM_IR: Minor. Unmute tests
...
Rename FAKE_CONTINUATION -> fakeContinuation
2019-09-19 19:28:11 +03:00
Ilmir Usmanov
06d0e8a521
JVM_IR: Support suspend functions with extension receivers
2019-09-19 19:28:10 +03:00