Yan Zhulanow
c471a7735e
Keep all variants of ExtensionPointImpl.registerExtension() in the pro-guarded compiler (KT-42103)
2020-10-02 17:50:23 +09:00
Dmitriy Novozhilov
0d954f1190
Change module :core:compiler.backend.common.jvm to :compiler:backend.common.jvm
2020-09-24 16:51:06 +03:00
Dmitriy Novozhilov
54a5a066e8
Introduce new module for common parts of backend utils
...
Mainly it needed for abstract jvm type mapper for different type systems:
IrTypes and ConeKotlinTypes
2020-09-24 16:51:05 +03:00
Yan Zhulanow
419c88d1f2
Parcelize: Publish Parcelize compiler plugin to IDE dependencies repository
2020-09-24 15:50:58 +09:00
Yan Zhulanow
15b2850ee0
Parcelize: Add IDE support for the Parcelize compiler plugin with sources extracted from Android Extensions plugin (KT-40030)
2020-09-24 15:50:57 +09:00
Yan Zhulanow
b7796d63d8
Parcelize: Add the Parcelize compiler plugin with sources extracted from Android Extensions plugin (KT-40030)
2020-09-24 15:50:57 +09:00
Dmitry Savvinov
769c741d87
Revert "Pack jvm builtins into kotlin-stdlib shipped with idea plugin"
...
This reverts commit 0b5aedb0a2 .
2020-09-18 17:30:44 +03:00
Ilya Gorbunov
0b5aedb0a2
Pack jvm builtins into kotlin-stdlib shipped with idea plugin
...
This lessens the possibility that kotlin plugin will get different
variants of builtins in the classpath, thus making builtins resources
loading less order-dependent.
2020-09-18 15:11:45 +03:00
Dmitriy Novozhilov
07a3009d43
Introduce new modules for common parts of deserialization
2020-09-11 10:08:37 +03:00
Yaroslav Chernyshev
81339d54eb
Added :core:compiler.common.jvm and :compiler:resolution.common.jvm
...
dependencies to pill importer
2020-09-05 10:56:55 +03:00
Dmitriy Novozhilov
f14efedc3d
[FIR] Fix broken gradle compilation
2020-09-01 12:00:13 +03:00
Dmitriy Novozhilov
a8d23c36f5
[FIR] Introduce module :fir:entrypoint and FirSessionFactory for creating sessions
2020-09-01 12:00:12 +03:00
Dmitriy Novozhilov
94d58c714a
[FIR] Cleanup dependencies for fir modules
2020-09-01 12:00:12 +03:00
Dmitriy Novozhilov
ed4c6a38b6
[FIR] Move deserialization files to module :compiler:fir:fir-deserialization
2020-09-01 12:00:10 +03:00
Dmitriy Novozhilov
64766e125c
Move common inference classes to :compiler:resolution.common
2020-08-28 10:59:53 +03:00
Dmitriy Novozhilov
bc1b6d3588
Rename :core:descriptors.common to :core:compiler.common
2020-08-25 10:41:34 +03:00
Dmitriy Novozhilov
864cf21f03
Merge :core:type-system into :core:descriptors.common
2020-08-25 10:41:34 +03:00
Dmitriy Novozhilov
71a517c686
[FIR] Rename :compiler:fir:raw-fir:fir-common to :compiler:fir:raw-fir:raw-fir.common
2020-08-25 10:41:32 +03:00
Dmitriy Novozhilov
9d9f9c52c0
Extract some classes from descriptors module to :core:common
...
This is needed to remove dependencies from fir modules to
`:core:descriptors` module
What was extracted:
- Modality
- ClassKind
- org.jetbrains.kotlin.name package
2020-08-25 10:31:35 +03:00
Florian Kistner
c792092410
Bump fastutil version to match 203
2020-08-05 19:36:42 +02:00
Alexander Udalov
cce55f1609
IR: add module ir.tree.impl, move main IR implementation there
2020-07-28 19:04:44 +02:00
Alexander Udalov
77247deb23
IR: add module ir.tree.persistent, copy PIR implementation there
...
Use PersistentIrFactory in JS IR compiler entry points.
2020-07-28 19:04:43 +02:00
Ilya Gorbunov
95cc35f22e
Package builtins with jvm reflect into IDEA plugin only
...
Leave builtins with common reflect for stand-alone compiler.
2020-07-22 11:08:14 +03:00
Leonid Startsev
a0154b9851
Add JarUtil.getJarAttribute to proguard rules
...
This method is used by serialization plugin to read runtime JAR
manifest.
Maven serialization plugin seems to use proguarded compiler
distribution,
so to use this method, it should be kept.
Size increased for about 2kb.
2020-07-21 15:10:08 +03:00
Jim Sproch
814bd48148
Keep members of com.google.common dependencies intact
...
It is a workaround for KTI-298
#KT-40354 In progress
2020-07-20 15:05:16 +03:00
Ilya Gorbunov
dd47962ad0
Extract current Kotlin version value into a separate class
...
In order to selectively ignore it during classpath normalization,
and do not recompile all the dependencies when just the version value
changes.
2020-07-10 19:12:07 +03:00
Florian Kistner
202a55cb39
Bump intellijSdk version for 203
2020-07-09 15:27:45 +02:00
Vyacheslav Gerasimov
77a8cf4e66
Build: Use attributes to resolve test dependencies in jps build mode
2020-06-29 18:17:08 +03:00
Dmitry Gridin
3a6b9c8d08
init line-indent-provider module
...
Part of #KT-22211
2020-06-15 16:25:16 +07:00
Vyacheslav Gerasimov
38416e7e30
Build: Fix kotlin-compiler-embeddable test runtime
2020-06-14 20:31:29 +03:00
Vyacheslav Gerasimov
ef48c38eb4
Build: Fix kotlin.kotlin-scripting-jsr223-tes test runtime
2020-06-14 20:31:29 +03:00
Vyacheslav Gerasimov
b4df4e5525
Build: Fix variant resolution ambiguity
2020-06-14 20:31:27 +03:00
Vyacheslav Gerasimov
4aa3040550
Build: Use runtimeOnly instead of deprecated runtime
...
maven-publish plugin uses `runtimeOnly` for runtime scope instead of
`runtime`
2020-06-14 20:31:26 +03:00
Vyacheslav Gerasimov
b85b733e42
Build: Remove explicit legacy maven plugin application
2020-06-14 20:31:25 +03:00
Nikolay Krasko
143cad78bf
202: Add fastutil dependency to compiler for to make proguard work
2020-06-10 12:39:27 +03:00
Ilya Kirillov
c3f547ec77
FIR IDE: add missing runtime dependencies
2020-06-09 16:20:13 +03:00
Ilya Kirillov
a62c0e8163
FIR IDE: introduce fir lower level module
2020-06-09 16:19:58 +03:00
Ilya Kirillov
f37e313705
FIR IDE: Begin implementing semantic highlighting via FIR
...
* Introduce frontend api module & implement api for FIR
* Implement some basic declaration highlighting for FIR
2020-06-09 16:19:27 +03:00
Ilya Kirillov
003827a4f2
FIR IDE: Start IDEA FIR plugin
2020-06-09 16:19:13 +03:00
Ilya Kirillov
418903e9ef
FIR IDE: Make KtReference class descriptors frontend independent
...
* The new idea-frontend-independent module created
* Moved KtReference and it inheritors to that module & implement them in idea-analysis module by using descriptors frontend
2020-06-09 16:19:12 +03:00
Ilya Chernikov
5e33612238
Extract interface from CompilerMessageLocation to ease extension
...
The CompilerMessageLocation is an implicit part of the binary daemon
protocol so changing it breaks compatibility with older daemons.
This change allows to extend location for non-daemon uses without
breaking the binary protocol.
2020-06-05 21:58:27 +02:00
Yunir Salimzyanov
3b9000cc0c
Cleanup 191 extension files (KTI-240)
2020-06-01 18:43:10 +03:00
Ilya Chernikov
dec8eb7899
Revert renaming scripting plugin jar:
...
it conflicts with the compilation on daemon, so transistion should
be planned accordingly, and now it is not a good time for it.
The most important part of the renaming remains intact.
Partially reverts commit "Rename scripting libs and plugin - invert embeddable suffix"
2020-05-27 13:15:50 +02:00
Yan Zhulanow
5a53c6ebf1
Remove ide-plugin-dependencies/tests-common-for-ide project
...
tests-common are now copied to the kotlin-ide project, so the artifact
dependency is not needed any more
2020-05-27 02:38:44 +09:00
Yan Zhulanow
ed82465c3c
Fix eager inter-project dependency
2020-05-27 02:38:44 +09:00
Yan Zhulanow
fb8640b3b6
Move compilerComponents project list to the root project
2020-05-27 02:38:44 +09:00
Yan Zhulanow
9d1c405b3c
Rename ide-artifacts project to ide-plugin-dependencies
2020-05-27 02:38:44 +09:00
Yan Zhulanow
066b6d830f
Put IDE plugin dependency artifact building/publishing under a flag
2020-05-27 02:38:44 +09:00
Yan Zhulanow
dea902551d
Publish artifacts needed for the kotlin-ide repository
2020-05-27 02:38:44 +09: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