Commit Graph

65517 Commits

Author SHA1 Message Date
Sergey Rostov 4e8b1634e6 UnusedSymbolInspection: load script configurations from cache 2020-05-26 19:22:02 +03:00
Sergey Rostov d937b66f30 gradle.kts, scheduleLastModifiedFilesSave: fix race condition 2020-05-26 19:22:02 +03:00
Sergey Rostov e168cb739c gradle.kts, minor: areRelatedFilesUpToDate -> areRelatedFilesChangedBefore 2020-05-26 19:22:02 +03:00
Sergey Rostov d84acb8ca2 GradleScriptListener: update lastModifiedFiles on document change 2020-05-26 19:22:01 +03:00
Sergey Rostov 62bd16ddf9 GradleBuildRoot: fix loading lastModifiedFiles 2020-05-26 19:22:01 +03:00
Sergey Rostov 70a3877546 LastModifiedFiles: fix in case of sequential changes in same file 2020-05-26 19:22:01 +03:00
Sergey Rostov f161276949 .gradle.kts, listener: support multiple gradle projects linked to one IntelliJ project
GradleScriptInputsWatcher moved to GradleScriptListener.kt and GradleBuildRootsManager.kt
2020-05-26 19:22:01 +03:00
Sergey Rostov e376a04b5a gradle.kts: docs 2020-05-26 19:22:00 +03:00
Sergey Rostov d6adab785a ScriptConfigurationManager: take OutsidersPsiFileSupport into account 2020-05-26 19:22:00 +03:00
Sergey Rostov bfa88267ec Scripts, minor: get rid of ScriptingSupportHelper 2020-05-26 19:22:00 +03:00
Sergey Rostov bae550665e gradle.kts: merge data on failed gradle sync, fix updates scheduling in corner cases 2020-05-26 19:22:00 +03:00
Sergey Rostov 381374d339 gradle.kts: solve the linked gradle builds hell 2020-05-26 19:22:00 +03:00
Sergey Rostov d8abf60b3d gradle.kts, imported gradle build root: fix equality 2020-05-26 19:21:59 +03:00
Sergey Rostov 560c2b62ef ScriptConfigurationManager, outsider files: search in roots cache too 2020-05-26 19:21:59 +03:00
Sergey Rostov 347f69b1fd ScriptConfigurationManager: rebuild cache synchronously from default loader 2020-05-26 19:21:59 +03:00
Sergey Rostov feac19f46e gradle.kts: cache definitions 2020-05-26 19:21:59 +03:00
Sergey Rostov 1fdd1bcbf6 gradle.kts: remove useless gradle build root kinds 2020-05-26 19:21:58 +03:00
Sergey Rostov 4e61758188 CompositeScriptConfigurationManager: unified caching 2020-05-26 19:21:58 +03:00
Sergey Rostov d21a7f54e4 GradleScriptConfigurationLoader: KDocs 2020-05-26 19:21:58 +03:00
Sergey Rostov 8f75f72835 Revert "Fix order of ExternalSystemListeners"
This reverts commit 879fe9b4
2020-05-26 19:21:58 +03:00
Sergey Rostov 7ec82ba279 Revert "KotlinDslModels: project can be null in ExternalSystemTaskNotificationListener.onStart"
This reverts commit 98d3855f
2020-05-26 19:21:57 +03:00
Natalia Selezneva ba5fe6cda9 Testing: Avoid creating duplicated SDKs 2020-05-26 19:21:57 +03:00
nataliya.valtman 22243c756b Revert "KT-38250 The minimal supported Gradle version is 5.3 now"
This reverts commit 61f213c8
2020-05-26 19:06:47 +03:00
Ilya Goncharov f7ee9b42d7 [Gradle, JS] Update package json only if version of dependency changed 2020-05-26 18:21:42 +03:00
Ilya Goncharov f064634eb0 [Gradle, JS] Backport possibility to disable granular workspaces 2020-05-26 18:21:42 +03:00
Ilya Goncharov 60515aad77 [Gradle, JS] Move umbrella task to nodejs extension 2020-05-26 18:21:42 +03:00
Ilya Goncharov 549797c719 [Gradle, JS] Add nodeArgs 2020-05-26 18:21:42 +03:00
Ilya Goncharov b201ff0168 [Gradle, JS] Args for webpack 2020-05-26 18:21:42 +03:00
Ilya Goncharov 0a704cf52c [Gradle, JS] Add generate config only to webpack 2020-05-26 18:21:42 +03:00
Sergey Rostov 61f213c80c KT-38250 The minimal supported Gradle version is 5.3 now
Gradle integration tests: use at least OLDEST_SUPPORTED version.

extract minSupportedGradleVersion for using both in check and tests

avoid using Usage.JAVA_API_JARS and JAVA_RUNTIME_JARS
2020-05-26 18:08:26 +03:00
Nicolay Mitropolsky 0bb3a4ccb7 201: Uast: KotlinUastCodeGenerationPlugin on the level needed for ReactorSupport (KT-38062) 2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky 8434806f56 Ide-common: resolveToKotlinType moved to TypeUtils.kt in the *ide-common* 2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky 70237ecf31 Uast: explicitly expose implicit Lambda parameters 2020-05-26 17:39:43 +03:00
Nicolay Mitropolsky 5f64c6b9f1 Uast: a proper sourcePsi for lambda parameters 2020-05-26 17:39:43 +03:00
anastasiia.spaseeva 9d862aaa1d [Spec tests] Remove spec info from fir tests 2020-05-26 17:27:06 +03:00
anastasiia.spaseeva 5ba9d09278 [Spec tests] Fix fir test runner for spec tests 2020-05-26 17:27:06 +03:00
Ilya Chernikov 2509dfb287 Rename scripting libs and plugin - invert embeddable suffix
now regular, unshaded libs, are named with suffix `-unshaded`, while
former `-embeddable` ones named without any suffix. This will encoursge
use of the shaded libs by default, avoiding conflicts with 3-party
libs packed into the `kotlin-compiler`.
Note, that only the "frontline" libs are renamed to avoid switching
problems, the ones that not normally used directly are left as is,
including the `kotlin-compiler` itself.
2020-05-26 15:58:25 +02:00
Zalim Bashorov f39165bb58 Revert accidentally pushed changes
Revert "~~~"

This reverts commit 03fcbfad

Revert "Add an ability to provide own handler for errors inside KotlinJavascriptMetadataUtils.loadMetadata"

This reverts commit 69827fc5

Revert "Add more detailed message for EA-227305 and EA-226744"

This reverts commit b79b3507
2020-05-26 16:15:59 +03:00
Roman Golyshev eb838b0fa0 KT-39179 Replace ApplicationBundle with KotlinBundle
- Used bundle messages are moved to JavaBundle in platform >= 201
- ^KT-39179 Fixed
2020-05-26 13:00:12 +00:00
Zalim Bashorov 03fcbfad1a ~~~ 2020-05-26 15:43:05 +03:00
Zalim Bashorov 69827fc5af Add an ability to provide own handler for errors inside KotlinJavascriptMetadataUtils.loadMetadata
Use a logger to handle errors inside loadMetadata when it's used from IDE (JsResolverForModuleFactory).

#EA-218905
2020-05-26 15:41:47 +03:00
Zalim Bashorov b79b3507f2 Add more detailed message for EA-227305 and EA-226744 2020-05-26 15:41:47 +03:00
Krasnoriadtseva Anastasiia a55dec28b9 [FIR] Fix infinite CFG traverse 2020-05-26 15:30:45 +03:00
Roman Artemev 7644b4baec [KLIB] Improve performance a bit 2020-05-26 14:41:49 +03:00
Roman Artemev 44dfae53f0 [IR BE] Add runtime compilation benchmarks for IR JS compiler 2020-05-26 14:41:49 +03:00
Roman Artemev e6c855111e [KLIB] Add flag to select between per-file and monolithic layout 2020-05-26 14:41:49 +03:00
Roman Artemev 444ecc0981 [PLUGIN API] Fix misprint 2020-05-26 14:38:18 +03:00
Roman Artemev bc32688497 [PLUGIN API] Drop PureIrGenerationExtension 2020-05-26 14:38:18 +03:00
Roman Artemev 6f2972ee8b [ANDROID] Move Parcelize plugin to general IrGenerationExtension API 2020-05-26 14:38:18 +03:00
Juan Chen adba0a03a6 [FIR] Create builtin primitive array types for properties
If the primary constructor has a vararg parameter, the corresponding
property has an array type. This commit creates the builtin array
types for such properties if the vararg element type is primitive,
e.g., CharArray instead of Array.
2020-05-26 14:08:47 +03:00