Zalim Bashorov
d55fafae93
Log final exit code instead of intermediate; change log level for build result to INFO
...
Original commit: 4ec3865830
2016-02-09 23:27:24 +03:00
Zalim Bashorov
ba8c35ce23
FIx possible NPEs when try to use TestModuleProperties in IDEA 144.x
...
#EA-78931 Fixed
Original commit: eacd50c4dc
2016-02-09 15:55:16 +03:00
Zalim Bashorov
964db84042
Allow to use internal declarations from special modules in compiler (JPS)
...
(e.g. IDEA 16 gradle tests loaded in separate module)
#KT-10595 Fixed
Original commit: 3c4cb54573
2016-02-08 15:42:49 +03:00
Zalim Bashorov
5044e2599b
J2K KotlinBuilderModuleScriptGenerator: cleanup
...
Original commit: e328c24857
2016-02-08 15:42:48 +03:00
Zalim Bashorov
9bf58b823e
J2K KotlinBuilderModuleScriptGenerator: convert
...
Original commit: 21e69a0a4c
2016-02-08 15:42:48 +03:00
Zalim Bashorov
0e147d14e3
J2K KotlinBuilderModuleScriptGenerator: .java -> .kt
...
Original commit: d5030335b6
2016-02-08 15:42:48 +03:00
Dmitry Petrov
2217761694
Better diagnostics for conflicting overloads.
...
Skip declarations without sources in reporting, not when determining redeclaration groups:
this allows emitting informative diagnostics for incremental compilation.
Provide containing declaration with "kind", e.g., "package '<root>'", "class A", and so on.
Original commit: 4afe98a0f6
2016-02-03 15:53:07 +03:00
Dmitry Petrov
4ff15aa21f
Fix KT-10764 IDEA doesn't show overload conflict between constructor and function...
...
When checking for overloads in package, consider functions and top-level class constructors as possibly conflicting between each other. NB OverloadUtil uses containing package scope from module descriptor.
Change diagnostic message for CONFLICTING_OVERLOAD: it's misleading in case of fun vs constructor conflict.
Add custom multifile test for diagnostics in IDE (probably not the best; should preprocess file content if it's required to check highlighting in multiple files, not only in the first file).
Add test for KT-10765 Incremental compilation misses overload conflict between constructor and function ...
Original commit: 65f754ffca
2016-02-02 16:21:26 +03:00
Ilya Gorbunov
97d529d786
Cleanup RC deprecations in compiler and plugin.
...
Original commit: 744a7a83f7
2016-01-27 18:34:30 +03:00
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