Yan Zhulanow
c1b57e8681
Pill: Remove "Refresh Pill model" run configuration
...
Just invoke ./gradlew pill task, there is no need in the extra
run configuration.
2020-05-27 02:38:39 +09:00
Dmitry Petrov
f81be526bc
Support deserialized IR in IfNullExpressionsFusionLowering
...
Deserializer generates simple branches instead of IrElseBranches.
2020-05-26 20:29:12 +03:00
Svyatoslav Scherbina
c9f721848a
Fix Throws declaration in Native diagnostics tests
...
Align annotation target with real declaration in Native stdlib
2020-05-26 20:24:35 +03:00
Svyatoslav Scherbina
fa152593ef
Fix false-positive @Throws error diagnostics in Native
...
Don't report
THROWS_LIST_EMPTY and MISSING_EXCEPTION_IN_THROWS_ON_SUSPEND
caused by unresolved arguments.
2020-05-26 20:24:34 +03:00
Svyatoslav Scherbina
242d0aa26e
Add Native diagnostics for @Throws suspend fun
...
`@Throws suspend fun` must have CancellationException accepted.
Also add more tests.
2020-05-26 20:24:32 +03:00
Svyatoslav Scherbina
3e8b0055ab
Decouple Call.hasUnresolvedArguments from ResolutionContext
2020-05-26 20:24:30 +03:00
Sergey Rostov
eb338e2e91
Scripting IDE cache: unblocking concurrent update
...
#KT-38875 Fixed
(cherry picked from commit 63e355d979 )
2020-05-26 19:22:15 +03:00
Sergey Rostov
e3ed8870dd
scripting, sdk cache: same key for locating sdk
2020-05-26 19:22:09 +03:00
Sergey Rostov
8d00ec1933
scripting: fixes after rebase
2020-05-26 19:22:08 +03:00
Sergey Rostov
74b189fa54
idea.core.script.ucache: remove cyrilic "c" in package name
2020-05-26 19:22:08 +03:00
Natalia Selezneva
5212054af6
Fix sdk duplication in ProjectSdkTable in tests
2020-05-26 19:22:08 +03:00
Sergey Rostov
72aba2fce2
IDE scripting: add default sdk only when used
2020-05-26 19:22:07 +03:00
Sergey Rostov
53983a99e5
Fix order of ExternalSystemListeners
2020-05-26 19:22:07 +03:00
Sergey Rostov
06dbbe2452
KotlinDslModels: project can be null in ExternalSystemTaskNotificationListener.onStart
2020-05-26 19:22:07 +03:00
Sergey Rostov
44f6d490b6
scripting ucache: update synchronously in unit test mode
2020-05-26 19:22:06 +03:00
Sergey Rostov
e613bc406e
201: proper implementation for AsyncFileChangeListenerHelper.kt
...
updateFile is called before changes in vfs, so the timestamp is old there.
The proper implementation is to collect changed files in list and get timestamp in apply.
2020-05-26 19:22:06 +03:00
Sergey Rostov
8f8ee1ea83
Scripting unified cache: update sdks synchronously on changes
2020-05-26 19:22:06 +03:00
Sergey Rostov
037ea224a4
GradleBuildRoot: don't store references to virtual files
2020-05-26 19:22:06 +03:00
Sergey Rostov
a97e9f641a
remove stale GradleScriptInputsWatcher references
2020-05-26 19:22:06 +03:00
Sergey Rostov
494a4460c1
minor: ScriptingSupport.Provider -> ScriptingSupport, KDoc
2020-05-26 19:22:05 +03:00
Sergey Rostov
40c852e818
GradleScriptOutOfProjectTest: roots are already registered as legacy
2020-05-26 19:22:05 +03:00
Sergey Rostov
cf4ad1908b
Fix lastIndexOfOrNull
2020-05-26 19:22:05 +03:00
Sergey Rostov
c604ef1255
Scripting, minor: updateScriptDefinitions -> updateScriptDefinitionReferences
2020-05-26 19:22:05 +03:00
Sergey Rostov
cfe6fee1ca
ScriptClassRootsCache, sdk: use toSystemIndependentName
2020-05-26 19:22:05 +03:00
Sergey Rostov
eda95af999
gradle.kts, minor: remove unused code
2020-05-26 19:22:04 +03:00
Sergey Rostov
cb3e08b345
GradleScriptListenerTest: add gradle-wrapper.properties to specify gradle version explicitly
2020-05-26 19:22:04 +03:00
Sergey Rostov
ec9608b00d
ScriptClassRootsUpdater, updateSynchronously: cancel before waiting for lock
2020-05-26 19:22:04 +03:00
Sergey Rostov
59c35fe35c
ScriptClassRootsUpdater: fix clearing scheduledUpdate and check cancelled in sync
2020-05-26 19:22:04 +03:00
Sergey Rostov
2932c67db7
gradle.kts: remove LastModifiedFiles fs data when removing gradle root
2020-05-26 19:22:04 +03:00
Sergey Rostov
6b53a98399
gradle.kts, minor: move isInAffectedGradleProjectFiles inside GradleBuildRootsManager
2020-05-26 19:22:03 +03:00
Sergey Rostov
b233a2a83a
GradleScriptListenerTest: link gradle project
2020-05-26 19:22:03 +03:00
Sergey Rostov
13abfda00b
GradleBuildRootsManager: fix onProjectsLinked
2020-05-26 19:22:03 +03:00
Sergey Rostov
5cd9e99caa
GradleLegacyScriptListener: call from GradleScriptListener
...
GradleScriptListener is called from VFS listener
2020-05-26 19:22:03 +03:00
Sergey Rostov
bac68816d2
gradle.kts: use toSystemIndependentName for paths coming from Gradle
2020-05-26 19:22:02 +03:00
Sergey Rostov
381d505430
ScriptClassRootsUpdater: run synchronously in unit test mode
2020-05-26 19:22:02 +03:00
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