Alexander Udalov
425b192a5f
Fix warnings in build-common/daemon code
2020-08-20 14:58:11 +02:00
Alexander Udalov
9b94e073af
Fix warnings related to OptIn/UseExperimental
2020-08-17 21:18:19 +02:00
Vyacheslav Gerasimov
b5ee0e8222
Build: Remove jvmTarget 1.6 for several modules depending on 1.8 modules
...
Module targeting jvm 1.6 can't depend on jvm 8 one. In Gradle 6.5 this
behaviour is enforced by configuration error.
2020-07-09 19:31:20 +03:00
Ilya Muradyan
9db9e2ad57
Fix build error messages
2020-06-16 13:34:40 +02: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
d711086be2
Build: Publish Kotlin artifacts with maven-publish plugin
2020-06-14 20:31:25 +03:00
Alexander Udalov
6e67e1e78d
Replace appendln with appendLine in project
2020-06-11 13:01:30 +02: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
Ilya Chernikov
574b917061
Remove new kotlin daemon from dist
...
hopefully temporarily, also see #KTI-173
2020-05-24 19:03:43 +02:00
Anton Bannykh
c6f38ebfbf
JS IR: enable scope expansion strategy for JS IR KLIB incremental generation
2020-05-15 19:23:52 +03:00
Ilya Chernikov
ec64869d39
Extract daemon tests to separate module
2020-04-21 16:49:11 +02:00
Ilya Chernikov
c2eaa3d955
Fix ThreadDeath exception on stopping daemon thread
...
#KT-30086 fixed
2020-04-21 16:49:10 +02:00
Ilya Muradyan
d2fec96f38
Add new REPL API JVM implementation
2020-04-16 21:16:08 +02:00
Nikolay Krasko
46174a8c32
201: Apply workaround for IDEA execution in daemon main
2020-03-30 18:09:29 +03:00
Alexander Udalov
fe5104b865
Move package org.jetbrains.kotlin.incremental.js to 'js.config'
...
This allows to replace dependency on 'js.frontend' with 'js.config', in
'kotlin-build-common' and 'daemon-common'. Also simplify some other
dependencies.
2020-03-28 21:30:05 +01:00
Alexander Udalov
aad7354a3b
Minor, remove obsolete jvmTarget modifications in compiler modules
...
Default JVM target (as well as JDK home) is set to 1.8 for all Gradle
projects in build.gradle.kts:352.
2020-03-28 21:30:03 +01:00
Vyacheslav Gerasimov
35c4cc6d45
Build: Use Jar task instead ShadowJar task in :kotlin-daemon-client-new
2020-02-29 16:31:59 +03:00
Vyacheslav Gerasimov
07949aaf4f
Build: Use Jar task instead ShadowJar task in :kotlin-daemon
2020-02-29 16:31:59 +03:00
Roman Artemev
6a37955a36
[KLIB] Implement new linker based on IdSignature
...
- Remove klib dependency on metadata and uniqID
- Refactored proto format to make it more effective and compact
-- Use special encoding for some types of data (coordinates, flags, types)
-- Remove symbols table
-- Use packed proto list if it is possible
- Remove extension from metadata
- Remove special ids for function interfaces
- Fix klib IO
- Fix incremental cache
- General code clean up
2020-02-14 18:22:16 +03:00
Alexander Udalov
8e2b76698a
Remove -Xno-use-ir from modules where JVM IR problems are fixed
...
The problems in JVM IR backend in these modules are fixed by:
* kapt3-cli -- 1c527fc1
* frontend -- 174b3db7
* daemon-common-new -- 6fe214d8 & d17afdda
2020-01-21 15:09:29 +01:00
Alexander Udalov
c3d5a88e52
Add -Xno-use-ir to compiler modules where JVM IR currently fails
...
This option has no effect on the production code. But in a custom
scenario of a local bootstrap, where the compiler is replaced with the
one where JVM IR backend is enabled by default, this option allows to
switch back to the old backend.
All of these arguments (except the one for compiling experimental
coroutines) are supposed to go away as soon as we fix related problems
in the JVM IR backend.
2020-01-16 12:21:47 +01:00
Vyacheslav Gerasimov
24a8e1cd9c
Build: Fix maven dependencies for compiler daemon and util-klib-metadata artifacts
2019-10-07 15:18:38 +02:00
Roman Artemev
3753b75609
[JS KLIB IC] Implement incremental cache for IR
2019-09-03 14:21:32 +03:00
Ilya Chernikov
0f41dc814f
Switch many common tasks defined in buildSrc to lazy creation
...
also refactor some locally defined tasks to the creation avoidance API
2019-08-21 20:20:08 +02:00
Alexey Tsvetkov
317c39f27d
Enable assertions in Kotlin Compile Daemon process
...
#KT-32992 Fixed
2019-07-29 19:40:36 +03:00
Alexey Tsvetkov
560f1483e8
Drop MaxPermSize support from compiler daemon
...
#KT-17045 Fixed
2019-07-29 19:38:40 +03:00
Alexey Tsvetkov
a4c62d156f
Make lookup storage addAll order independent
...
Lookup storage output files could differ for projects
with different absolute paths.
This happened because, paths for lookups were
relativized only before writing to the underlying storage.
Storing absolute paths in a hash table could
result in different order of adding files to the lookup storage.
This commit fixes the issue by sorting lookups and files in
LookupStorage#addAll
#KT-32674 Fixed
2019-07-25 20:30:56 +03:00
Alexey Tsvetkov
f3112f752d
Inherit max metaspace size of client VM for Kotlin compile daemon
...
#KT-32521 In Progress
#KT-32950 Fixed
2019-07-25 16:13:47 +03:00
Vyacheslav Gerasimov
e7ba9e5e4e
Build: Fix kotlin-daemon-client-new compile classpath for jps build
2019-06-27 17:56:50 +03:00
Vyacheslav Gerasimov
db3b01d2d4
Build: Centralize compiler dist build logic in :kotlin-compiler project
2019-06-27 17:56:48 +03:00
Vyacheslav Gerasimov
4f090f2744
Build: Use default jar task in kotlin-daemon-client
2019-06-27 17:56:47 +03:00
Vyacheslav Gerasimov
5a39c637c2
Build: Fix intellij dependency leak from ir tree module
2019-06-13 21:03:55 +03:00
Anton Bannykh
c3170d1908
JS: cache metadata, grouped by package FQN
2019-05-28 23:33:17 +03:00
pyos
08ea982688
Remove imports of javafx from Gradle build files
2019-05-20 17:31:28 +02:00
Vadim Brilyantov
01a05a5495
Move daemon jar from compiler
2019-05-17 15:51:52 +03:00
Vadim Brilyantov
ced973b707
Introduce new Kotlin Daemon without RMI abstraction
2019-05-17 15:51:51 +03:00
Svyatoslav Kuzmich
91d16ee947
[CLI] Extract :compiler:cli-js from :compiler:cli
2019-05-14 15:49:50 +03:00
Dmitry Gridin
37c856290f
Fix minor compile warnings
2019-04-25 19:47:39 +07:00
nikita.movshin
65244b4bea
Update copyright.
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
2019-04-23 20:09:22 +03:00
Dmitry Gridin
3bed360c98
Fix "Should be replaced with Kotlin function" warnings
2019-04-18 15:28:52 +07:00
Ilya Chernikov
4f135a5fe5
Move REPL implementations to the scripting compiler impl module
2019-04-17 22:03:57 +02:00
Ivan Gavrilovic
c85e21d43b
Incremental KAPT - pass changed classpath entries
...
Pass computed list of changed classpath names to KAPT instead
of relying on the history files to be computed by stub generation.
Also, stop generating classpath history changes during the stub generation.
This commit does not compute the actual changed classpath entries,
and that will be done in the following commits.
#KT-23880
2019-04-12 15:01:47 +03:00
Vyacheslav Gerasimov
adb896d74c
Build: Introduce embedded configuration used for fatJars
2019-04-10 17:54:06 +03:00
Vyacheslav Gerasimov
92248d609f
Build: Centralize build logic for kotlin-plugin in :prepare:idea-plugin
2019-04-10 17:54:06 +03:00
Mikhail Zarechenskiy
5fa518fd55
Revert "Temporary fix for NI to compile against bootstrap compiler"
...
This reverts commit 791ab05e08 .
Problem was fixed in 4a1b9dcc & 1ac35420
2019-04-02 12:21:14 +03:00
Mikhail Zarechenskiy
791ab05e08
Temporary fix for NI to compile against bootstrap compiler
2019-03-26 22:51:20 +03:00
Alexey Tsvetkov
ada880fbad
Fix non-incremental compilation
2019-03-25 16:39:47 +03:00
Alexey Tsvetkov
5f54f67f70
Stop using -Xbuild-file in Gradle Plugin
...
#KT-27640 fixed
#KT-27778 fixed
#KT-27638 fixed
2019-03-25 16:39:47 +03:00
Alexey Tsvetkov
28873e61d4
Remove unused IncrementalCompilationServicesFacade
2019-03-22 16:13:45 +03:00
Ivan Gavrilovic
493a2006f1
Remove unused SimpleDirtyData from incremental compilation
...
This is not used any more and all information about
the changed symbols and fqNames is passed alongside artifacts.
2019-03-22 16:13:45 +03:00