Dmitriy Novozhilov
3d30ba9c19
[FIR] Add ability to register user defined annotations for plugins
2020-05-08 15:09:58 +03:00
Dmitriy Novozhilov
8ecd3d8efe
[FIR-PLUGIN] Fix allopen plugin due to previous commits
2020-05-08 15:09:58 +03:00
Dmitriy Novozhilov
ab831179e2
[FIR] Add different modes for extensions and annotations
2020-05-08 15:09:58 +03:00
Dmitriy Novozhilov
8f293acb2e
[FIR] Add prototype of declaring plugin annotations
2020-05-08 15:09:57 +03:00
Dmitriy Novozhilov
d1b709e632
[FIR] Extract FirExtensionPointService to separate file
2020-05-08 15:09:57 +03:00
Dmitriy Novozhilov
35cce7eedd
[FIR] Initialize extension service in all FIR tests
2020-05-08 15:09:57 +03:00
Dmitriy Novozhilov
cb0a7a5bf7
[FIR] Rename FirExtensionRegistrarExtension to FirExtensionRegistrar
2020-05-08 15:09:57 +03:00
Dmitriy Novozhilov
dd2b7f87f7
[FIR-PLUGIN] Add prototype of allopen plugin for FIR compiler
2020-05-08 15:09:56 +03:00
Dmitriy Novozhilov
9b43c66f80
[FIR] Add status transformer extension
2020-05-08 15:09:56 +03:00
Dmitriy Novozhilov
7f8a8ca099
[FIR] Add ability to register extension points in diagnostic tests
2020-05-08 15:09:56 +03:00
Dmitriy Novozhilov
a37975ab21
[FIR] Add compiler extension for plugin registration
2020-05-08 15:09:56 +03:00
Dmitriy Novozhilov
ff4a71386e
[FIR] Register extension point component in fir sessions
2020-05-08 15:09:56 +03:00
Dmitriy Novozhilov
262d1472f2
[FIR] Add service for fir extension points
2020-05-08 15:09:56 +03:00
Mads Ager
1f4a3b0d1c
[JVM_IR] Avoid safe-call conversions from Byte? and Short? to Int? for
...
comparisons.
Having those conversions leads to unnecesary boxing and null checks.
This change does it only for JVM in the optimization lowering. It
is unclear to me if the other backends can get away with something
similar.
2020-05-08 11:39:30 +03:00
Svyatoslav Kuzmich
3d5003d476
[JS_IR] Use new plugin to build Kotlin/JS stdlib with IR compiler
...
- Switch to building stdlib with bootstrap compiler since IR is stable
enough
- Build stdlib with coreLibs by default
- Include JS IR stdlib to kotlin distribution
2020-05-08 10:37:48 +03:00
Sergey Rostov
14edc26cf1
Revert due to test failing in 201
2020-05-08 10:13:07 +03:00
Ilmir Usmanov
05797afaf8
Replace last SourceInterpreter with specific one in inliner
...
#KT-38489: Fixed
2020-05-07 23:04:03 +02:00
Ilmir Usmanov
2c88844409
Replace SourceInterpreter with interpreter, which track only
...
functional arguments.
2020-05-07 23:04:01 +02:00
Ilmir Usmanov
3173113cb3
Use BasicInterpreter instead of SourceInterpreter in LocalReturnsTransformer
2020-05-07 23:03:59 +02:00
Sergey Rostov
841e588c87
AsyncFileChangeListenerHelper: 191 and 201
2020-05-07 22:11:13 +03:00
Sergey Rostov
fbaf639784
AsyncFileChangeListenerHelper: 191 and 201
2020-05-07 21:54:33 +03:00
Sergey Rostov
c76c983614
minor: ScriptingSupport.Provider -> ScriptingSupport, KDoc
2020-05-07 21:48:50 +03:00
Sergey Rostov
541e6dc119
GradleScriptOutOfProjectTest: roots are already registered as legacy
2020-05-07 21:48:50 +03:00
Sergey Rostov
e099ee3af8
Fix lastIndexOfOrNull
2020-05-07 21:48:50 +03:00
Sergey Rostov
5474d55795
Scripting, minor: updateScriptDefinitions -> updateScriptDefinitionReferences
2020-05-07 21:48:49 +03:00
Sergey Rostov
0d6c7f2b41
ScriptClassRootsCache, sdk: use toSystemIndependentName
2020-05-07 21:48:49 +03:00
Sergey Rostov
f1789e910b
gradle.kts, minor: remove unused code
2020-05-07 21:48:49 +03:00
Sergey Rostov
3e6f827885
GradleScriptListenerTest: add gradle-wrapper.properties to specify gradle version explicitly
2020-05-07 21:48:49 +03:00
Sergey Rostov
7de0bc9cdc
ScriptClassRootsUpdater, updateSynchronously: cancel before waiting for lock
2020-05-07 21:48:49 +03:00
Sergey Rostov
bc0255890d
ScriptClassRootsUpdater: fix clearing scheduledUpdate and check cancelled in sync
2020-05-07 21:48:49 +03:00
Sergey Rostov
6c3a6f8bc2
gradle.kts: remove LastModifiedFiles fs data when removing gradle root
2020-05-07 21:48:49 +03:00
Sergey Rostov
f196085e41
gradle.kts, minor: move isInAffectedGradleProjectFiles inside GradleBuildRootsManager
2020-05-07 21:48:49 +03:00
Sergey Rostov
c764ebfbac
GradleScriptListenerTest: link gradle project
2020-05-07 21:48:48 +03:00
Sergey Rostov
9e18df87dc
GradleBuildRootsManager: fix onProjectsLinked
2020-05-07 21:48:48 +03:00
Sergey Rostov
15c6c9f530
GradleLegacyScriptListener: call from GradleScriptListener
...
GradleScriptListener is called from VFS listener
2020-05-07 21:48:48 +03:00
Sergey Rostov
3a98ed96a2
gradle.kts: use toSystemIndependentName for paths coming from Gradle
2020-05-07 21:48:48 +03:00
Sergey Rostov
c79858e965
ScriptClassRootsUpdater: run synchronously in unit test mode
2020-05-07 21:48:48 +03:00
Sergey Rostov
d8692a78ba
UnusedSymbolInspection: load script configurations from cache
2020-05-07 21:48:48 +03:00
Sergey Rostov
b8866078d2
gradle.kts, scheduleLastModifiedFilesSave: fix race condition
2020-05-07 21:48:48 +03:00
Sergey Rostov
b089f4dd2e
gradle.kts, minor: areRelatedFilesUpToDate -> areRelatedFilesChangedBefore
2020-05-07 21:48:48 +03:00
Sergey Rostov
f5ac45ea08
GradleScriptListener: update lastModifiedFiles on document change
2020-05-07 21:48:48 +03:00
Sergey Rostov
d626184cee
GradleBuildRoot: fix loading lastModifiedFiles
2020-05-07 21:48:47 +03:00
Sergey Rostov
3ba7c52fe8
LastModifiedFiles: fix in case of sequential changes in same file
2020-05-07 21:48:47 +03:00
Sergey Rostov
39c6efd40f
.gradle.kts, listener: support multiple gradle projects linked to one IntelliJ project
...
GradleScriptInputsWatcher moved to GradleScriptListener.kt and GradleBuildRootsManager.kt
2020-05-07 21:48:47 +03:00
Sergey Rostov
02940f9f17
gradle.kts: docs
2020-05-07 21:48:47 +03:00
Sergey Rostov
0e7cf60b04
ScriptConfigurationManager: take OutsidersPsiFileSupport into account
2020-05-07 21:48:47 +03:00
Sergey Rostov
316c7ce60f
Scripts, minor: get rid of ScriptingSupportHelper
2020-05-07 21:48:47 +03:00
Sergey Rostov
0cadcec27c
gradle.kts: merge data on failed gradle sync, fix updates scheduling in corner cases
2020-05-07 21:48:47 +03:00
Sergey Rostov
b7e1cd7489
gradle.kts: solve the linked gradle builds hell
2020-05-07 21:48:47 +03:00
Sergey Rostov
6213c6187d
gradle.kts, imported gradle build root: fix equality
2020-05-07 21:48:46 +03:00