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
nikita.movshin
deb416484c
Update copyright. Fix 2 lines comments after rebase
...
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
2019-04-23 20:15:03 +03: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
a65dafc37d
Move scripting support classes to the scripting compiler impl module
2019-04-17 22:03:58 +02:00
Ilya Chernikov
199b32cad7
Merge scripting-impl to scripting-compiler-impl module...
...
to continue merging with the branch with further scripting refactorings
2019-04-17 22:03:57 +02:00
Ilya Chernikov
a82b386d81
Add a new module for scripting compilation infrastructure...
...
add embeddable variant as well
2019-04-17 22:03:57 +02:00
Ilya Chernikov
67ad3773de
Implement main method generation in scripts and runnable jar saving
...
refactor necessary parts on the way
2019-04-16 11:55:23 +02:00
Juan Chen
f489a47025
Fix SAM_WITH_RECEIVER_PLUGIN_NAME.
...
SAM_WITH_RECEIVER_PLUGIN_NAME in PathUtil was accidentally broken by
https://github.com/JetBrains/kotlin/commit/4c751cdd529ccc65118968b7f928a4b3e44ce81f#diff-819dacd07c45ba85ba5459d8a09418daR34
2019-04-09 15:19:00 +00:00
Ilya Chernikov
c56382a62b
Move common idea and compiler parts of the scripting plugin to the new jar
2019-03-21 12:02:29 +01:00
Vyacheslav Gerasimov
fc8be48fa8
Build: Improve intellij-sdk repo up-to-date check time & layout
...
Up-to-date check is very heavy for intellij repo due to artifact size.
If module directory in repo is written only by one task we can assume
that task if up-to-date if target directory exists.
2019-03-20 21:29:13 +03:00
Mikhail Zarechenskiy
c4b69b65bc
Gradually prohibit comparison of incompatible enums
...
#KT-22043 Fixed
2019-03-05 13:33:23 +03:00
Alexander Udalov
736ac12374
Prohibit type parameters in class literals in annotation arguments
...
#KT-27799 Fixed
2019-02-26 19:09:42 +01:00
Yan Zhulanow
f6b2e673f7
Debugger: Display async stack trace elements for suspend callers (KT-28728)
2019-02-25 14:43:53 +03:00
Dmitriy Novozhilov
677987c85f
Add diagnostics on annotations on super types. KT-23992 fixed
2019-02-22 10:28:21 +03:00
Dmitriy Novozhilov
92bd907983
Fix checking repeatablilty of use-site target annotations. KT-26638 fixed
2019-02-22 10:15:37 +03:00
Mikhael Bogdanov
a020170a92
Report missed INLINE_FROM_HIGHER_PLATFORM diagnostic for derived class
...
Inline function descriptor in derived class represented as FAKE_OVERRIDE.
So we should find it in base class declaration
(not interface cause inline function can't be virtual, but always final)
and then check class version.
#KT-29402 Fixed
2019-02-19 10:51:36 +01:00
Dmitriy Novozhilov
49a42f9434
Fix #KT-28999. Prohibit type parameters on anonymous objects
2019-02-17 13:02:22 +03:00
Dmitriy Novozhilov
4a298d1413
NI: introduce new data flow analysis for try/catch (#KT-28370)
2019-02-17 12:51:25 +03:00
Ilya Chernikov
d0e78b95c3
Introduce classpath for compiler with scripting in KotlinPaths, fix JSR-223 for Idea
2019-02-10 13:35:58 +01:00
Ilya Chernikov
4c751cdd52
Refactor KotlinPaths - make it easier to extend and keep track of supported entities
2019-02-10 13:34:28 +01:00
Ilya Chernikov
b0c86647ed
Convert KotlinPaths to kotlin
2019-02-10 13:33:22 +01:00
Ilya Chernikov
d1da1dd410
Rename .java to .kt
2019-02-10 13:33:22 +01:00
Dmitriy Novozhilov
9129210cfe
Move changes from dfb379d under new language feature (#KT-28672)
...
Changes from that commit are breaking, and should be pass throw LC
2019-02-07 12:12:34 +03:00
Mikhael Bogdanov
a122cba862
Switch Kotlin project to jvm-target 1.8
...
#KT-29405
2019-01-31 07:43:05 +01:00
Sergey Rostov
f35185b261
Build: remove explicit dependencies to org.jetbrains.annotations
2019-01-28 13:43:08 +03:00
Vyacheslav Gerasimov
f58acbeef5
Build: implement useBootstrapStdlib flag
...
Excludes stdlib projects from build and uses bootstrap stdlib artifacts
#KT-29205
2019-01-21 21:09:40 +03:00
Mikhail Zarechenskiy
d5ebe2e66a
Reorganize dependencies around kotlin-compiler.jar
...
#KT-26807 Fixed
2019-01-11 00:14:23 +03:00
denisgaebler
1ca2e4fdba
Update JavaSdkUtil.java
...
Added path for IBM JDK on platform z/OS
2019-01-10 12:46:05 +03:00
Sergey Rostov
883970fadb
Add explicit dependencies to nullable annotations
2018-12-26 09:07:06 +03:00
Mikhail Zarechenskiy
e4a4d1169e
Prohibit JvmOverloads on constructors of annotation classes
...
In LV >= 1.4 & -progressive
#KT-25702 Fixed
2018-12-24 12:48:00 +03:00
Mikhail Zarechenskiy
958aeff94b
Prohibit type parameters for local variables in LV >= 1.4 & -progressive
...
#KT-8341 Fixed
2018-12-24 12:47:58 +03:00
Denis Zharkov
a83f0e5fb7
Add diagnostic for calling ConcurrentHashMap::contains by convention
...
^KT-18053 Fixed
2018-12-12 15:37:50 +03:00
Yan Zhulanow
9feb834d97
Kapt: Support paranoid mode in memory leak searcher
2018-11-27 22:21:26 +09:00
Yan Zhulanow
abd1646d42
Kapt: Detect memory leaks in annotation processors (KT-28025)
2018-11-27 22:21:24 +09:00
Alexander Udalov
a796f11934
Support calling methods annotated with PolymorphicSignature
...
#KT-14416 Fixed
#KT-26165 Fixed
2018-11-23 18:41:33 +01:00
Mikhail Glukhikh
ad44118605
Delay UNUSED_PARAMETER on main parameter until 1.4 (part of KT-26999)
2018-10-31 19:00:29 +03:00
Alexander Udalov
1ee1d15b91
Support annotations on property accessors in JS/common metadata
...
#KT-14529 Fixed
2018-10-24 18:17:12 +02:00
Denis Zharkov
36c73eedbf
Minor. Move DslMarkerOnFunctionTypeReceiver entry closer to 1.4 features
2018-10-11 10:23:02 +03:00
Alexander Udalov
009f18f1f4
Split AnalysisFlag values to AnalysisFlags and JvmAnalysisFlags
...
Declare AnalysisFlags in module 'frontend', and JvmAnalysisFlags in
module 'frontend.java', to avoid leaking Java-related logic to common
compiler code
2018-10-01 13:31:00 +02:00
Dmitry Savvinov
6065095e24
Fix too aggressive data-flow clearing of loop-assigned vars
...
This is effectively a revert of
447c127036 , which was an (incorrect) fix
for KT-22379.
The bug was that we've cleared data-flow info for assigned variables
*after* knowledge that loop condition if 'false' was applied (we can
claim that if loop has no jump-outs). Therefore, we broke smartcasts in
the innocent code like that:
var x: Int? = null
while (x == null) {
x = readPotentiallyNullableInt()
}
// x should be non-null here
Commit reverts that "fix" for 1.3.0 and postpones deprecation until 1.4
KT-22379 Open
KT-27084 Fixed
2018-09-27 12:09:22 +03:00
Dmitry Petrov
0dd04c3424
Postpone companion object field visibility
...
Have to reconsider this issue because of interface companion objects.
2018-09-27 10:35:23 +03:00
Mikhail Zarechenskiy
a4f5cced47
Support coroutine inference under version <= 1.2
...
Follow-up #KT-26958
2018-09-20 17:42:24 +03:00
Denis Zharkov
1cc0c12f87
Add language feature for extended main convention
...
- suspend
- parameterless
#KT-17679 Fixed
#KT-26574 Fixed
2018-09-12 09:49:25 +03:00
Ilya Gorbunov
a18770fbbb
Remove projectDist dependency helper usages
...
Use default configuration dependencies instead of projectDist ones.
2018-09-12 06:05:05 +03:00
Yan Zhulanow
d16b55033e
Introduce new naming convention for captured receiver backing fields
...
'receiver$0' -> '$this_<label>'
2018-09-11 16:41:20 +03:00
Dmitry Petrov
58442899b8
Postpone NoConstantValueAttributeForNonConstVals till 1.4
...
Requires special inspection for migrating Java code.
2018-09-11 11:27:33 +03:00
Mikhail Zarechenskiy
169599abcc
Add flag to allow using kotlin.Result as a return type
...
#KT-26659 Fixed
2018-09-11 10:39:11 +03:00
Alexander Udalov
9311ea5d25
Support progressive mode via "-progressive"
...
#KT-25862 Fixed
2018-09-10 14:12:31 +03:00