Commit Graph

21900 Commits

Author SHA1 Message Date
Vladimir Dolzhenko 29b25e3901 Reworked resolve references in background thread in PlainTextPasteImportResolver
Relates to #KT-16774
2019-11-29 15:27:20 +01:00
Dmitry Gridin 37371edb8c Auto-import: add quickfix for overloaded generic function
#KT-34667 Fixed
2019-11-29 21:09:24 +07:00
Dmitry Gridin 4b98430058 Formatter: fix line break after package & file annotation
#KT-23957 Fixed
2019-11-29 21:09:04 +07:00
Ilya Chernikov 7dd9ed7e38 [NI] Fix loosing type annotations on extension functions
#KT-32138 fixed
2019-11-29 13:44:41 +01:00
Ilya Goncharov 8d123d209a [Gradle, JS] Add description of hack on our side to avoid IDEA run only JVM tests by gutters 2019-11-29 15:09:36 +03:00
Ilya Goncharov 38bd738724 [Gradle, JS] Add comments 2019-11-29 15:09:36 +03:00
Ilya Goncharov 1cc980e21b [Gradle, Idea] Create dummy tasks with type Test to WA platform problem
Platform set filters only for Test task
Create dummy Test task
Non JVM test task depends on Test task
After evaluate copy filters from Test task to non JVM test task
2019-11-29 15:09:35 +03:00
Ilya Goncharov 86e665e2b3 [Gradle, Idea] Add Gutter Configurator for non-jvm tests 2019-11-29 15:09:35 +03:00
Roman Golyshev 3112d70420 KT-35042 Fix InsertHandlerProvider.kt to work with suspend functional parameters
- ^KT-35042 Fixed
- Also, fix review suggestions for KOTLIN-CR-3495
2019-11-29 14:55:22 +03:00
Roman Golyshev 6f234beb9c KT-34414 Make sure completion for suspend functional parameters works too
- Replace `isFunctionType` with `isBuiltinFunctionalType` where it is relevant
- ^KT-34414 Fixed
2019-11-29 14:55:21 +03:00
Igor Yakovlev 541ca31584 Fix for exception on HelpAction in KotlinInlineValDialog 2019-11-29 14:42:34 +03:00
Igor Yakovlev a672427e72 Add invokeLater for inlining extra refactoring in branchedTransformations intension
Fixed #EA214432
2019-11-29 14:42:26 +03:00
Nikolay Krasko ec03c3b85d Minor: remove url to avoid difference in test data in 183 and 191 2019-11-29 12:56:50 +03:00
Nikolay Krasko 9c0c9ea849 Use Kotlin wrapper for LightIdeaTestCase 2019-11-29 12:56:50 +03:00
Nikolay Krasko 32f4ab96c4 Use Kotlin wrapper for LightCodeInsightTestCase tests
This will help in resolving compatibility issues and will allow to add
common functionality to all tests.
2019-11-29 12:56:49 +03:00
Nikolay Krasko 6f3e7acfa2 Remove adhock flaky highlighting performance tests
We now have dedicated tests for it.
2019-11-29 12:35:44 +03:00
Dmitry Gridin 2fabf86f29 Formatter: cleanup code 2019-11-29 16:28:59 +07:00
Dmitry Gridin 70185ba2a6 Formatter, NJ2K: fix indent for comments inside function literals
#KT-4194 Fixed
#KT-31881 Fixed
#KT-34673 Fixed
#KT-35152 Fixed
2019-11-29 16:28:59 +07:00
Kirill Shmakov 79bfada65b Read xcodeproj file location from gradle.properties 2019-11-29 12:22:43 +03:00
Toshiaki Kameyama f7ff397a31 Move statement: enable single lambda expression function
#KT-10478 Fixed
2019-11-29 11:33:27 +03:00
victor.petukhov e246c23a46 Fix prematurely analyzing a lambda while fixing a type variable for another argument
^KT-35168 Fixed
2019-11-28 19:03:30 +03:00
Toshiaki Kameyama 3a576ce14f KT-21811 Convert string concatenation into multiline string (#2772)
New J2K: Convert string concatenation into multiline string

#KT-21811 Fixed
2019-11-28 13:14:48 +03:00
Nikolay Krasko c14affd6cd Minor: forgotten change after review 2019-11-28 12:02:00 +03:00
Nikolay Krasko 35fec9e9db Fix withJava test after resorting annotation targets
Was broken after eb71e68.
2019-11-28 12:02:00 +03:00
Toshiaki Kameyama bfa6c7d399 Move statement: don't move declarations above package and import directives 2019-11-28 11:20:09 +03:00
Natalia Selezneva 6a18ef1417 Minor: compare system independent paths 2019-11-28 09:40:04 +03:00
Nikolay Krasko c341a3e709 Avoid collecting events from other projects in PerModulePackageCacheService (KT-33802)
It looks like VFS_CHANGES subscription ignores project boundaries so all events are processed by every listener. If event has a hard reference to project in the requestor field, it might leak through the collection of pending events.

An attempt to fix holding test projects through pending events.

 #KT-33802 Fixed
2019-11-27 22:34:48 +03:00
Nikolay Krasko 7245bbd822 Explicitly disconnect in KotlinPackageContentModificationListener (KT-33802) 2019-11-27 22:34:48 +03:00
Anton Yalyshev 1bbd17c4d6 Turn off FUS data sending in 1.3.61+ as we as we sent enough in 1.3.60 2019-11-27 18:42:42 +03:00
Anton Yalyshev ffa0896592 Minor correction of attributes naming 2019-11-27 16:59:27 +03:00
Anton Yalyshev c57c9b2e63 Prepare data for successful FUS Whitelist parsing 2019-11-27 16:59:27 +03:00
Toshiaki Kameyama c72622c6d7 KT-32551 New J2K: Non-canonical modifiers order inspection is not applied during convertion of inner super class (#2806)
New J2K: add SortModifiers inspection to post-processing

#KT-32551 Fixed
2019-11-27 16:08:54 +03:00
Vladimir Dolzhenko 1c4c5520a2 Fix incremental analysis in case of property does not have initializer but could be initialized on a class level
#KT-35028 Fixed
2019-11-27 13:43:30 +01:00
Vladimir Dolzhenko c67222c176 Add ERRORs check to AbstractOutOfBlockModificationTest 2019-11-27 13:43:10 +01:00
Vladimir Dolzhenko 144f721a44 Kotlinify AbstractOutOfBlockModificationTest, p2 2019-11-27 13:42:49 +01:00
Vladimir Dolzhenko 8f8ed4dbcf Kotlinify AbstractOutOfBlockModificationTest, p1 2019-11-27 13:42:32 +01:00
Nikolay Krasko 54338686d4 Add test for lambda parameter type 2019-11-27 12:26:54 +03:00
Nikolay Krasko eb71e686da Stable order of generated annotation targets
A random order of usages is enabled in 193 platform that makes tests flaky without the commit.
2019-11-27 12:26:54 +03:00
Nikolay Krasko 592df477e9 Mute MultiModuleHighlightingTest tests 2019-11-27 12:26:54 +03:00
Natalia Selezneva c9cb4dff52 Scripting: introduce ide-specific comparision of script compilation configurations (KT-34626)
Do not take into account fields that doesn't affect IDE
Also it will threat configurations from old and new scripting API as similar
FIt will make sense for script dependencies loaded using Gradle TAPI (new Scripting API) and Old Scripting API
^KT-34626
2019-11-27 11:08:45 +03:00
Natalia Selezneva 72e99b5863 Scripting: avoid just in case configuration requests to Gradle (KT-34442)
Listen to changes in files that may affect gradle configuration
Remove configuration request if none of such file was changed since last request
^KT-34442 Fixed
2019-11-27 11:08:44 +03:00
Natalia Selezneva f27e13035a Minor: introduce helper method to check registry option 2019-11-27 11:08:44 +03:00
Natalia Selezneva 7ade2ec576 Scripting: configurations from gradle import should be always taken into account (KT-34442)
Do not rely on registry option
^KT-34442
2019-11-27 11:08:44 +03:00
Natalia Selezneva 2f1915d85e Scripting: check that kotlin dsl models are provided during import as soon as possible 2019-11-27 11:08:44 +03:00
Dmitry Gridin 249789d6eb Formatter: add test for enum entry with comment
Relates to #KT-15980
2019-11-27 15:01:44 +07:00
Igor Yakovlev 12f29bacab Exclude checking for unimplemented method for binary origin classes
Fixed #KT-34971
2019-11-26 21:13:10 +03:00
Natalia Selezneva 8bb9c572ac Move inProgress lock at the onFinish of background task (KT-34688)
Setting inProgress to false inside run method can lead to multiple notifications because of delay between run method end and progress hide
^KT-34688 Fixed
2019-11-26 16:35:59 +03:00
Ilya Goncharov f73fc5199b [Gradle, JS] Mute testWeb false positive test 2019-11-26 16:03:26 +03:00
Dmitry Gridin b40a888f1d Formatter: fix line break between declarations with annotations
#KT-35093 Fixed
#KT-35106 Fixed
2019-11-26 19:40:51 +07:00
Dmitry Gridin bfd539d5d1 Formatter: fix line break between declarations with comment
#KT-12490 Fixed
#KT-35088 Fixed
2019-11-26 19:40:51 +07:00