Commit Graph

788 Commits

Author SHA1 Message Date
Alexey Tsvetkov 7ea3a50848 Make LookupStorage thread safe
#KT-10792: Fixed

Original commit: 0a48d83176
2016-01-27 12:31:14 +03:00
Alexey Tsvetkov 5ac514efaf Move InlineFunctionsMap to IncrementalCacheImpl
Original commit: 44b3159867
2016-01-27 12:28:44 +03:00
Alexey Tsvetkov 4453f6c378 Fix updating java mappings for multifile facade
Original commit: 2abc422577
2016-01-27 12:28:44 +03:00
Alexey Tsvetkov 08e62d3303 Recompile subtypes when class member is changed
Original commit: a474165a8f
2016-01-27 12:28:44 +03:00
Zalim Bashorov 26debc1dec Use interner in LookupTracker implementations to reduce memory consuming
Original commit: fb21ef2e1d
2016-01-26 23:14:20 +03:00
Yan Zhulanow 63282ffa9a "Inapplicable operator modifier" and "Inapplicable infix modifier" are now errors
Original commit: 3fa506fd45
2016-01-26 17:21:44 +03:00
Zalim Bashorov 8a1a5f2bb1 Rename module "build" -> "build-common"
Original commit: aebf681809
2016-01-26 14:32:21 +03:00
Stanislav Erokhin 627384fe11 KT-10772 Problem with daemon on Idea 15.0.3 & 1-dev-25
# KT-10772 Fixed

Original commit: aca19ed27a
2016-01-24 12:29:23 +03:00
Alexey Tsvetkov 2219901fe7 Minor: fix test data
Original commit: cfc410261b
2016-01-22 21:04:46 +03:00
Alexey Tsvetkov 5b78fe9160 Optimize adding lookups to lookup storage
Original commit: f63a9ee556
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov d77e5a2b59 Recompile implicit type usages when class signature is changed
Original commit: f32ff42ba3
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov ecd7b0c9d6 Add lookup for every expression's type
Original commit: 310a995bb1
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov cc979e34b1 Add incremental compilation test with change of annotation class
Original commit: 1ef615e020
2016-01-22 16:01:36 +03:00
Alexey Tsvetkov 9d71fd4b21 Improve proto comparison test with changes of annotation list
Original commit: 5ce692a75c
2016-01-22 16:01:35 +03:00
Alexey Tsvetkov 2a1bde9496 Add proto comparison tests with changes of class/member flags
Original commit: 58a91b3d20
2016-01-22 16:01:35 +03:00
Alexey Tsvetkov 5ded4dd4b0 Add incremental compilation tests with changes of companion object
Original commit: a7c432ebe8
2016-01-22 16:01:35 +03:00
Ilya Gorbunov 00020f6d74 Fix testData in compiler: add collections and ranges package to fq-names.
Original commit: f4822cd757
2016-01-22 05:54:38 +03:00
Ilya Chernikov 4c7dfda080 Move compiler running utils to common module
Original commit: 6198d0abbc
2016-01-21 19:47:06 +03:00
Ilya Chernikov 2878d8d56d J2K KotlinModuleXmlBuilder: convert
Original commit: a36e6a2e07
2016-01-21 19:47:05 +03:00
Ilya Chernikov 2537e44fc2 J2K KotlinModuleXmlBuilder: rename file
Original commit: 60892f2b9c
2016-01-21 19:47:04 +03:00
Zalim Bashorov c55ea2c4a0 Move back classes which used only in JPS
Original commit: cc1c5b7e10
2016-01-21 19:47:04 +03:00
Ilya Chernikov 693be92b92 Creating shared module "build", copying lookup storage, tracker and incremental cache related files into it from jps plugin
Original commit: 5ead2edaa0
2016-01-21 19:47:02 +03:00
Alexey Tsvetkov a2d58cca63 Test incremental facade to class conversion and vice versa
Original commit: 9bb876e6da
2016-01-21 18:16:01 +03:00
Alexey Tsvetkov cfec0481b4 Recompile all class usages when constructor is changed
Original commit: 94d4dae1fe
2016-01-21 18:14:56 +03:00
Alexander Udalov ad3e9ac65c Drop isLocalClass, do not write KotlinLocalClass
Original commit: aef6d49b48
2016-01-19 18:39:59 +03:00
Alexander Udalov 66855d876d Delete obsolete and unused class_annotation JVM proto extension
Original commit: 625c46d568
2016-01-19 18:39:59 +03:00
Alexander Udalov 77c646adfb 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

Original commit: 693a9c9453
2016-01-19 18:39:59 +03:00
Alexander Udalov f06a9c7d20 Write module name as proto extension instead of another annotation argument
Original commit: a4daa08e5c
2016-01-19 18:39:59 +03:00
Alexander Udalov acc9c80ea9 Drop KotlinClassHeader#filePartClassNames, use 'data' instead
Original commit: 661af854fa
2016-01-19 18:39:59 +03:00
Alexander Udalov 494ceae690 Use JvmMetadataVersion where appropriate instead of bytecode version
Original commit: b587d3a78d
2016-01-19 18:39:59 +03:00
Alexander Udalov a230c85fe2 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.

Original commit: bd47e9d47b
2016-01-19 18:39:59 +03:00
Alexander Udalov 00075fc837 Move version constants to corresponding BinaryVersion subclasses
Original commit: 04d335db15
2016-01-19 18:39:59 +03:00
Zalim Bashorov f7934e8943 Restore logging changes when process them using lookups and add assert to avoid getting parent from root FqName
Original commit: bd9b2f9f06
2016-01-19 16:33:44 +03:00
Dmitry Jemerov 4e8365084f tests fixed
Original commit: b60621c428
2016-01-19 10:53:53 +01:00
Dmitry Jemerov 7998e7884c add test to check that "Only the Kotlin standard library is allowed to use the 'kotlin' package" is reported in JPS builds
Original commit: 39c6e3712b
2016-01-19 10:53:49 +01:00
Zalim Bashorov e28f1888e8 Minor: extract most of JPS (old IC) specific part from IncrementalCacheImpl
Original commit: 5889ba4293
2016-01-18 22:13:29 +03:00
Alexander Udalov 91b1f50150 Extract JS-related LibraryUtils utilities to JsLibraryUtils
Original commit: d1f2255d38
2016-01-17 16:28:22 +03:00
Stanislav Erokhin a907aeec4d 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

Original commit: 3a9ecf0bce
2016-01-15 13:11:38 +03:00
Zalim Bashorov da42c05672 Don't fail when create IncrementalCacheImpl for target without output directory, and fail when try to use this info instead.
#KT-10505 Fixed

Original commit: c1dbfee2a9
2016-01-13 21:37:36 +03:00
Zalim Bashorov b7971cf9ae Don't fail when output directory not specified for "friend" build target
#KT-10505 Fixed

Original commit: d9af9472f0
2016-01-13 21:09:06 +03:00
Zalim Bashorov b87baebf1f Report error when output directory not specified for build target
#KT-10505 Fixed

Original commit: 3df091e7cf
2016-01-13 21:09:05 +03:00
Alexey Tsvetkov 81c4a434e3 Minor: fix test data as exhaustive when error message was changed
Original commit: 328169cd2e
2016-01-13 18:47:05 +03:00
Alexey Tsvetkov 9fb496af8c Recompile all sealed class usages when new derived class is added
Original commit: 94cea25e2e
2016-01-13 15:46:54 +03:00
Alexey Tsvetkov d6b568005f Recompile all enum usages when new entry is added
Original commit: 0cf2928761
2016-01-13 15:46:54 +03:00
Alexey Tsvetkov 7eb8c94ca8 Recompile all class and member usages when flag and member are changed
Original commit: e7f8d7103f
2016-01-13 15:46:53 +03:00
Alexey Tsvetkov 07a18f2758 Make withSubtypesOf more efficent
Original commit: d928ac744e
2016-01-12 15:32:48 +03:00
Alexey Tsvetkov a2444395ab Append in a more safe way
Original commit: 756c78bfcc
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov c64424af6b Make doProcessChangesUsingLookups extension again
Original commit: f137910e63
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov 58eca3b423 Use one loop for changes processing
Original commit: f20b39d02e
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov 30b161d28a Minor: rename getSubtypeOf->withSubtypes
Original commit: d36810ab42
2016-01-12 15:32:47 +03:00