Commit Graph

612 Commits

Author SHA1 Message Date
Zalim Bashorov 171bfa8d67 Minor: fix testdata
Original commit: 3484c43c8c
2015-11-02 18:18:31 +03:00
Zalim Bashorov 22a2f03219 Added "touch" command to incremental tests and implemented; Implemented more accurate checking lookups after modifications
Original commit: 24037c8bf4
2015-11-02 18:18:31 +03:00
Zalim Bashorov 6a7fcd61fe Refactoring: introduced val location: LocationInfo? in LookupLocation and use it in LookupTracker::record
Original commit: a5d8b47083
2015-11-02 18:18:29 +03:00
Michael Nedzelsky 731268085f fix KT-9299 In a project with circular dependencies between modules, IDE reports error on use of internal class from another module, but the corresponding code still compiles and runs.
#KT-9299 Fixed

Original commit: 6ebe0c30ec
2015-10-30 14:40:46 +03:00
Mikhail Glukhikh ef395369bf Cleanup: get rid of effective visibility warnings
Original commit: f8a70302ac
2015-10-28 14:31:51 +03:00
Zalim Bashorov d7a4c9a54d Track lookups in JavaSyntheticPropertiesScope
Original commit: a5708c9c0d
2015-10-27 19:38:32 +03:00
Zalim Bashorov ef1d6efe1e Allow to fail on initial build in incremental tests if testdata contains "init-build.log" file
Original commit: 412e078a6b
2015-10-27 19:37:10 +03:00
Zalim Bashorov a8e6d8fdfb Add the support checking lookups after modifications
Original commit: cc3c76ae67
2015-10-27 19:37:09 +03:00
Zalim Bashorov ae8748d593 Minor: print "<root>" for root package instead empty string in Lookup tests.
Additionally fixed warnings.

Original commit: 2d859d6191
2015-10-27 19:37:09 +03:00
Yan Zhulanow 4899abe828 Fix incremental test (DefaultImpls are not generated for an empty interface)
Original commit: 10eed8f7cd
2015-10-27 02:46:57 +03:00
Dmitry Petrov abac00df69 KT-6165, KT-9547: fix testData for JPS plugin.
Test contains effectively single module (with circular dependencies),
and should not have conflicting declarations.
Rename the package in a library used in this test.

 #KT-9547 Fixed

Original commit: 1a58636ea9
2015-10-22 11:37:01 +03:00
Dmitry Petrov 3b8d50f06e OverloadResolver:
fix redeclaration diagnostics issue in incremental compilation (KT-6165)
J2K: OverloadUtil.kt

Original commit: 5170341624
2015-10-22 10:45:49 +03:00
Max Kammerer 13aedbd161 Incremental compilation test data update after making package property backing field private
Original commit: 715893446c
2015-10-19 21:21:02 +03:00
Alexey Tsvetkov 406783b53d Code cleanup
Original commit: e9e42b0251
2015-10-19 20:45:03 +03:00
Alexey Tsvetkov b4033f2bcd Fix tests
Original commit: 6f96484e1f
2015-10-19 20:45:03 +03:00
Alexey Tsvetkov 7dd7ec447d Drop @inline from tests and incremental compilation
Original commit: d87ce33458
2015-10-19 20:45:01 +03:00
Ilya Chernikov 79a82d9466 Setting property that controls application environment lifetime for daemon builds
Original commit: 376c188cf7
2015-10-19 18:01:45 +02:00
Dmitry Petrov 1bd1fbeee4 Drop package facades:
- update tests
- cleanup JetTyMapper after rebase

Original commit: dda508234f
2015-10-19 16:03:22 +03:00
Dmitry Petrov 099d588802 Drop package facades: fix testData for IncrementalProjectPathCaseChangedTest
Original commit: 639300a89d
2015-10-19 16:03:21 +03:00
Dmitry Petrov 70ff0d9676 Drop package facades: fix testData for IncrementalLazyCachesTestGenerated
Original commit: ac1f0efe7c
2015-10-19 16:03:21 +03:00
Dmitry Petrov f0cd2702cb Drop package facades: fix incremental compilation tests & proto comparison tests
(package facades are no longer generated)

Original commit: 621d26aeeb
2015-10-19 16:03:21 +03:00
Dmitry Petrov 848216756d Drop package facades:
- update incremental compilation tests

Original commit: f227908151
2015-10-19 16:03:21 +03:00
Dmitry Petrov 49831484ef Drop package facades:
- getting rid of package facades in InlineCodegen & related stuff.
Provide binary source element to top-level package members.

Original commit: 70c91b2e75
2015-10-19 16:03:20 +03:00
Dmitry Petrov 428d7236d5 Drop package facades:
- fix KotlinJpsBuildTest

Original commit: 989f761166
2015-10-19 16:03:20 +03:00
Dmitry Petrov c26a7dfd29 Drop package facades:
- incremental cache impl should not depend on package facades
- fix trivial incremental compilation tests
TODO: inlines DO NOT WORK with incremental compilation

Original commit: c55106a325
2015-10-19 16:03:20 +03:00
Mikhail Glukhikh e61c3d3307 Code cleanup: data deprecations and some effective visibility stuff
Original commit: cae0388a57
2015-10-19 15:24:22 +03:00
Zalim Bashorov a41d139afe Minor: do simpler check first
Original commit: 5ab3dd1716
2015-10-19 14:01:59 +03:00
Yan Zhulanow 44a607abe3 Error on 'if' without an 'else' branch when used as an expression
Original commit: e14c9645dc
2015-10-19 03:56:15 +03:00
Zalim Bashorov 86acb982e5 Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error
Original commit: de5dc61820
2015-10-18 22:49:08 +03:00
Svetlana Isakova 9f2f66b3b8 Serialize/deserialize annotations on type parameters
Original commit: 25b40455ad
2015-10-16 21:58:47 +03:00
Stanislav Erokhin 3f18729d01 Added static methods, nested classes and companion object from superclasses.
Original commit: d5dbc9638d
2015-10-16 20:42:34 +03:00
Zalim Bashorov 3cde869910 Minor: fix build
Original commit: e54e6a3f31
2015-10-16 16:14:34 +03:00
Alexander Udalov 646d7feb4c Store type parameter names sometimes instead of ids
This helps to reuse instances of types when TypeTable is enabled in cases when
a file or a class contains a lot of functions with type parameters with the
same name (like Maps.kt in the stdlib with "Map<K, V>")

Original commit: 4c21142648
2015-10-15 18:25:40 +03:00
Alexander Udalov 98d448ef96 Support a more optimized way of storing types in metadata
Together with almost every type now there's also an id which references a type
from a separate table. Storing such ids instead of Type messages will allow to
reduce the size of the metadata for files where types are used many times over
and over again. Currently only deserialization of such types is supported,
along with the former mechanism

Original commit: 82d2e623d3
2015-10-15 18:25:39 +03:00
Dmitry Petrov 2fbded1b79 Drop package facades: code cleanup in Kotlin project.
Original commit: 8cd624a58a
2015-10-15 10:33:47 +03:00
Alexander Udalov 4a10df80fb Update IDE tests to use KProperty instead of PropertyMetadata
Original commit: 6a965c9a06
2015-10-14 20:45:55 +03:00
Ilya Chernikov 7df44f01f6 Merge pull request #766 from JetBrains/rr/daemon-fixes
daemon fixes
Original commit: b5537e7d42
2015-10-14 12:21:51 +02:00
Ilya Chernikov a613d67074 Make getDaemonConnection synchronized to avoid racing conditions on connection
Original commit: 5b5ec2cb04
2015-10-14 12:19:59 +02:00
Michael Bogdanov ba98b64776 Fix test data
Original commit: bee0fb6283
2015-10-13 16:17:05 +03:00
Alexey Tsvetkov c8f50089a8 Fix issues with incremental cache version change
#KT-9360 fixed

Original commit: a564724fa8
2015-10-13 16:12:15 +03:00
Alexey Tsvetkov 9d7712fdf6 Make test generated
Original commit: af3f7dfafc
2015-10-13 16:12:15 +03:00
Alexander Udalov 00ca2c8bad Don't create KClass and KPackage instances in <clinit>
This proved to be a fragile technique, which probably doesn't even improve
performance in most cases but has lots of unexpected problems: unconditional
initialization of reflection classes, increasing the size of the bytecode, bugs
with <clinit> in annotations on JVM 6, inability to support conversion of a
class from Kotlin to Java without recompiling clients which use it
reflectively, etc.

Original commit: a4732b442d
2015-10-11 17:10:35 +03:00
Alexander Udalov cfad31bba1 Don't write field signatures when not necessary
Original commit: 934ffed944
2015-10-11 17:10:30 +03:00
Alexander Udalov 66961715dd Don't always write JVM method signatures to metadata
When the trivial type mapping (implemented in JvmProtoBufUtil) from
ProtoBuf.Type instances works fine, don't write the signature since it can be
loaded by exactly the same trivial type mapping

Original commit: 864926ee2e
2015-10-11 17:10:30 +03:00
Alexander Udalov 739cdb5c29 Drop Callable and primary/secondary constructor proto messages
Original commit: e4efa27b76
2015-10-11 17:10:26 +03:00
Yan Zhulanow 6e19e8c055 Replace get() and set() to getValue() and setValue() (property delegates)
Original commit: 1f2b4e20fe
2015-10-09 22:49:16 +03:00
Mikhail Glukhikh adda278298 Local interfaces are forbidden now
Original commit: 2fee9d362c
2015-10-09 21:06:33 +03:00
Mikhail Glukhikh 533a26ef9d Old backing field with dollar is now forbidden
Original commit: 6914d09297
2015-10-09 21:06:26 +03:00
Michael Bogdanov 1ebdbd18dc Copy to interface just companion object public const properties
Original commit: 12afbffb09
2015-10-09 16:25:15 +03:00
Dmitry Jemerov 6bbf3aaf66 restore compilation after rebase of dropping external annotations; fix affected tests
Original commit: 7e2c2ef678
2015-10-09 11:52:02 +02:00