Ilya Gorbunov
744a7a83f7
Cleanup RC deprecations in compiler and plugin.
2016-01-27 18:34:30 +03:00
Alexey Tsvetkov
0a48d83176
Make LookupStorage thread safe
...
#KT-10792: Fixed
2016-01-27 12:31:14 +03:00
Alexey Tsvetkov
44b3159867
Move InlineFunctionsMap to IncrementalCacheImpl
2016-01-27 12:28:44 +03:00
Alexey Tsvetkov
2abc422577
Fix updating java mappings for multifile facade
2016-01-27 12:28:44 +03:00
Alexey Tsvetkov
a474165a8f
Recompile subtypes when class member is changed
2016-01-27 12:28:44 +03:00
Zalim Bashorov
fb21ef2e1d
Use interner in LookupTracker implementations to reduce memory consuming
2016-01-26 23:14:20 +03:00
Yan Zhulanow
3fa506fd45
"Inapplicable operator modifier" and "Inapplicable infix modifier" are now errors
2016-01-26 17:21:44 +03:00
Zalim Bashorov
aebf681809
Rename module "build" -> "build-common"
2016-01-26 14:32:21 +03:00
Stanislav Erokhin
aca19ed27a
KT-10772 Problem with daemon on Idea 15.0.3 & 1-dev-25
...
# KT-10772 Fixed
2016-01-24 12:29:23 +03:00
Alexey Tsvetkov
cfc410261b
Minor: fix test data
2016-01-22 21:04:46 +03:00
Alexey Tsvetkov
f63a9ee556
Optimize adding lookups to lookup storage
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov
f32ff42ba3
Recompile implicit type usages when class signature is changed
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov
310a995bb1
Add lookup for every expression's type
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov
1ef615e020
Add incremental compilation test with change of annotation class
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov
5ce692a75c
Improve proto comparison test with changes of annotation list
2016-01-22 16:01:35 +03:00
Alexey Tsvetkov
58a91b3d20
Add proto comparison tests with changes of class/member flags
2016-01-22 16:01:35 +03:00
Alexey Tsvetkov
a7c432ebe8
Add incremental compilation tests with changes of companion object
2016-01-22 16:01:35 +03:00
Ilya Gorbunov
f4822cd757
Fix testData in compiler: add collections and ranges package to fq-names.
2016-01-22 05:54:38 +03:00
Ilya Chernikov
6198d0abbc
Move compiler running utils to common module
2016-01-21 19:47:06 +03:00
Ilya Chernikov
a36e6a2e07
J2K KotlinModuleXmlBuilder: convert
2016-01-21 19:47:05 +03:00
Ilya Chernikov
60892f2b9c
J2K KotlinModuleXmlBuilder: rename file
2016-01-21 19:47:04 +03:00
Zalim Bashorov
cc1c5b7e10
Move back classes which used only in JPS
2016-01-21 19:47:04 +03:00
Ilya Chernikov
5ead2edaa0
Creating shared module "build", copying lookup storage, tracker and incremental cache related files into it from jps plugin
2016-01-21 19:47:02 +03:00
Alexey Tsvetkov
9bb876e6da
Test incremental facade to class conversion and vice versa
2016-01-21 18:16:01 +03:00
Alexey Tsvetkov
94d4dae1fe
Recompile all class usages when constructor is changed
2016-01-21 18:14:56 +03:00
Alexander Udalov
aef6d49b48
Drop isLocalClass, do not write KotlinLocalClass
2016-01-19 18:39:59 +03:00
Alexander Udalov
625c46d568
Delete obsolete and unused class_annotation JVM proto extension
2016-01-19 18:39:59 +03:00
Alexander Udalov
693a9c9453
Write new flags to proto messages for callables
...
This is needed to get rid of two unused bits: Flags.RESERVED_1 and
Flags.RESERVED_2. The old flags are still there temporarily because of the
bootstrap dependency on built-ins. Soon the old flags will be dropped and the
current flags will be transformed to the new format
2016-01-19 18:39:59 +03:00
Alexander Udalov
a4daa08e5c
Write module name as proto extension instead of another annotation argument
2016-01-19 18:39:59 +03:00
Alexander Udalov
661af854fa
Drop KotlinClassHeader#filePartClassNames, use 'data' instead
2016-01-19 18:39:59 +03:00
Alexander Udalov
b587d3a78d
Use JvmMetadataVersion where appropriate instead of bytecode version
2016-01-19 18:39:59 +03:00
Alexander Udalov
bd47e9d47b
Split JVM binary version into two: metadata and bytecode interface
...
Currently all code only uses the first one (JvmMetadataVersion), later the
bytecode interface version (JvmBytecodeBinaryVersion) will be used only in
codegen and reflection to avoid compiling against or calling methods with
unsupported conventions like default method naming and signature,
getters/setters naming etc.
2016-01-19 18:39:59 +03:00
Alexander Udalov
04d335db15
Move version constants to corresponding BinaryVersion subclasses
2016-01-19 18:39:59 +03:00
Zalim Bashorov
bd9b2f9f06
Restore logging changes when process them using lookups and add assert to avoid getting parent from root FqName
2016-01-19 16:33:44 +03:00
Dmitry Jemerov
b60621c428
tests fixed
2016-01-19 10:53:53 +01:00
Dmitry Jemerov
39c6e3712b
add test to check that "Only the Kotlin standard library is allowed to use the 'kotlin' package" is reported in JPS builds
2016-01-19 10:53:49 +01:00
Zalim Bashorov
5889ba4293
Minor: extract most of JPS (old IC) specific part from IncrementalCacheImpl
2016-01-18 22:13:29 +03:00
Alexander Udalov
d1f2255d38
Extract JS-related LibraryUtils utilities to JsLibraryUtils
2016-01-17 16:28:22 +03:00
Stanislav Erokhin
3a9ecf0bce
Change resolution priority about implicit receivers and synthesized member-like descriptors.
...
Change resolution to consider extensions to implicit receiver before members of another implicit receiver.
Make synthesized member-like extensions resolve right after the members.
#KT-10510 Fixed
#KT-10219 Fixed
2016-01-15 13:11:38 +03:00
Zalim Bashorov
c1dbfee2a9
Don't fail when create IncrementalCacheImpl for target without output directory, and fail when try to use this info instead.
...
#KT-10505 Fixed
2016-01-13 21:37:36 +03:00
Zalim Bashorov
d9af9472f0
Don't fail when output directory not specified for "friend" build target
...
#KT-10505 Fixed
2016-01-13 21:09:06 +03:00
Zalim Bashorov
3df091e7cf
Report error when output directory not specified for build target
...
#KT-10505 Fixed
2016-01-13 21:09:05 +03:00
Alexey Tsvetkov
328169cd2e
Minor: fix test data as exhaustive when error message was changed
2016-01-13 18:47:05 +03:00
Alexey Tsvetkov
94cea25e2e
Recompile all sealed class usages when new derived class is added
2016-01-13 15:46:54 +03:00
Alexey Tsvetkov
0cf2928761
Recompile all enum usages when new entry is added
2016-01-13 15:46:54 +03:00
Alexey Tsvetkov
e7f8d7103f
Recompile all class and member usages when flag and member are changed
2016-01-13 15:46:53 +03:00
Alexey Tsvetkov
d928ac744e
Make withSubtypesOf more efficent
2016-01-12 15:32:48 +03:00
Alexey Tsvetkov
756c78bfcc
Append in a more safe way
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov
f137910e63
Make doProcessChangesUsingLookups extension again
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov
f20b39d02e
Use one loop for changes processing
2016-01-12 15:32:47 +03:00