Nikolay Krasko
2af541cd4f
Refactor: splict logic to different methods
2015-09-01 12:45:11 +03:00
Nikolay Krasko
f2145fb9a5
Minor: drop usage of deprecated method
2015-09-01 12:45:11 +03:00
Alexander Udalov
f7a178f978
Report warning on 'Singleton.javaClass'
...
As a temporary measure before 'javaClass' property is deprecated and removed.
Getting the Java class of a singleton this way is confusing and most of the
time is a failed attempt to get the Java class of a class with a companion
object (e.g. 'Int.javaClass')
2015-09-01 11:36:57 +03:00
Alexander Udalov
3f1bf46756
Minor, add toString() for debug
2015-09-01 11:36:57 +03:00
Ilya Chernikov
427b27b367
Merge pull request #743 from JetBrains/rr/compile-service
...
Kotlin compile daemon
2015-09-01 09:15:13 +02:00
Nikolay Krasko
142ab96a5a
Run/Debug editor gutter drop down does not work in Kotlin files (KT-8720)
...
#KT-8720 Fixed
2015-08-31 21:38:46 +03:00
Nikolay Krasko
55456fdaf4
Minor: fix class-only local run
2015-08-31 21:38:45 +03:00
Nikolay Krasko
d6b7214a65
More psi-only checks for Kotlin main function
2015-08-31 21:38:44 +03:00
Ilya Chernikov
7c1c628823
Next round of refactoring after review
2015-08-31 19:10:28 +02:00
Ilya Chernikov
9bee97e810
Refactoring after review
2015-08-31 18:39:55 +02:00
Ilya Chernikov
2d45a37884
Passing JPS process JVM memory options to daemon, refactoring options processing
2015-08-31 18:39:54 +02:00
Ilya Chernikov
61de1c3212
Fixes after review
2015-08-31 18:39:54 +02:00
ligee
434c30c1bc
Simple test with daemon compilation, minor fixes mostly for easier testing
2015-08-31 18:39:53 +02:00
ligee
6e3ce69faa
Shutting down daemon from kotlin plugin on idea exit, passing jvm params to daemon launch
2015-08-31 18:39:53 +02:00
ligee
5fee180d09
Daemon log, controlling it from launching, proper stdout/err redirection technique, params to control jvm options of the daemon
2015-08-31 18:39:52 +02:00
ligee
39d6592e1f
Adding compiler id digest calculation and check to detect replaced compiler jar, minor fixes and refactorings
2015-08-31 18:39:51 +02:00
ligee
f08476cba9
Adding daemon stop command to kotlinr, minor fixes
2015-08-31 18:39:51 +02:00
ligee
d8be831339
Switching to stream for logging to simplify interaction with use sites
2015-08-31 18:39:50 +02:00
ligee
7ab2208fc5
implementing daemon startup, basic check and restart machanisms, switching to kotlin everythere, additional logging and checks, in JPS plugin daemon compilation is off by default, turned on by "kotlin.daemon.enabled" property
2015-08-31 18:39:50 +02:00
ligee
33cead12e0
working version of jps-plugin integration with daemon
2015-08-31 18:39:49 +02:00
ligee
b55894499f
incremental compilation via daemon
2015-08-31 18:39:49 +02:00
ligee
06b3ca8343
Initial version of rmi-interface, compile server and kotlinr - commandline compile server client app
2015-08-31 18:39:48 +02:00
Valentin Kipyatkov
937f243046
DeprecatedSymbolUsageInWholeProjectFix removes imports too
2015-08-31 15:48:25 +03:00
Valentin Kipyatkov
e98edbcbac
Code cleanup to remove deprecated symbol imports that have ReplaceWith
2015-08-31 15:48:25 +03:00
Valentin Kipyatkov
c020189ad0
Added UsePropertyAccessSyntaxIntention as cleanup tool
2015-08-31 15:48:25 +03:00
Yan Zhulanow
d734e2e665
Increase stub version
2015-08-31 15:33:18 +03:00
Yan Zhulanow
0b24e56f5a
Use lazy to store split annotations, code simplification
2015-08-31 15:33:17 +03:00
Yan Zhulanow
b6adaab94b
Move AnnotationSplitter to descriptors/annotations
2015-08-31 15:33:16 +03:00
Yan Zhulanow
47a05e8bd6
Fix targets on stdlib annotations
2015-08-31 15:33:15 +03:00
Yan Zhulanow
e7703df0b6
Use a single AnnotatedCallableKind enum item for property
2015-08-31 15:33:14 +03:00
Yan Zhulanow
97e4c097ba
Split annotations lazily
2015-08-31 15:33:14 +03:00
Yan Zhulanow
2ce9903356
Fix tests
2015-08-31 15:33:13 +03:00
Yan Zhulanow
552211b2f4
Add bytecode listing test for use site targets and default targets (with priorities)
2015-08-31 15:33:12 +03:00
Yan Zhulanow
9dbd355e92
Render targeted annotations without escaping brackets
2015-08-31 15:33:11 +03:00
Yan Zhulanow
298093c4bd
Forbid deprecated on field
2015-08-31 15:33:10 +03:00
Yan Zhulanow
e0c85cba23
Fix platformStatic in reflection-jvm
2015-08-31 15:33:09 +03:00
Yan Zhulanow
4b3999bf6c
Serialize annotation target psi element
2015-08-31 15:33:08 +03:00
Yan Zhulanow
c488ce4cb3
Check annotation site targets using psi elements
2015-08-31 15:33:08 +03:00
Yan Zhulanow
499d5e1103
Support property and field annotations in CallableClsStubBuilder
2015-08-31 15:33:07 +03:00
Yan Zhulanow
b8d2ba23e3
Support generation of new annotations
2015-08-31 15:33:06 +03:00
Yan Zhulanow
3624c4e5dc
Use target priorities to split annotations to different descriptors
2015-08-31 15:33:05 +03:00
Yan Zhulanow
9838f9c942
Check deprecated annotations with use site targets
2015-08-31 15:33:04 +03:00
Yan Zhulanow
1a477bd540
Add field and property deserialization tests
2015-08-31 15:33:04 +03:00
Yan Zhulanow
1b9dab47ec
Deserialize property and field annotations
2015-08-31 15:33:03 +03:00
Yan Zhulanow
f86fe6a8d5
Allow multiple non-repeatable annotations with different targets
2015-08-31 15:33:02 +03:00
Yan Zhulanow
4ead50352d
Put @receiver-targeted annotations on receiver type
2015-08-31 15:33:01 +03:00
Yan Zhulanow
91626cf02e
Check receiver type annotations in JetCallableDeclaration
2015-08-31 15:33:00 +03:00
Yan Zhulanow
54f0da300c
Force resolve type annotations
2015-08-31 15:32:59 +03:00
Yan Zhulanow
a3ba1af421
Generate receiver annotations using extension receiver type parameter
2015-08-31 15:32:59 +03:00
Yan Zhulanow
866552f6ab
Redundant annotation target warning
2015-08-31 15:32:58 +03:00