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
Alexander Udalov
1dcc772f45
Drop external annotations support in build tools
...
External annotations will only be considered in the IDE for additional
inspections based on more precise types in Java libraries
Original commit: 13c54a2678
2015-10-09 11:51:58 +02:00
Ilya Gorbunov
eec9d11a86
Do not sort twice
...
Original commit: 17fc1d9562
2015-10-07 22:36:50 +03:00
Ilya Gorbunov
f63d5e372c
Replace IoPackage legacy facade with corresponding package parts.
...
Original commit: fa491c8f1f
2015-10-07 22:36:31 +03:00
Ilya Gorbunov
fea6e227fb
Replace KotlinPackage legacy facade with corresponding package parts.
...
Original commit: 90e5ee8a7e
2015-10-07 22:36:29 +03:00
Ilya Gorbunov
3f0f62fccd
Replace assert with lazy assert, times with repeat.
...
Original commit: 3106458cc4
2015-10-07 22:36:23 +03:00
Ilya Gorbunov
c651a58e69
Replace sort with sorted.
...
Original commit: 37a0347669
2015-10-07 22:36:16 +03:00
Ilya Chernikov
fff380ee81
Caching daemon connection in JPS, additional logging and minor perf measurements refactoring
...
# Conflicts:
# jps-plugin/src/org/jetbrains/kotlin/compilerRunner/KotlinCompilerRunner.kt
Original commit: e27abe2f03
2015-10-07 19:55:05 +02:00
Ilya Chernikov
3756988fd4
Adding support for JS compilation on daemon
...
Original commit: 99b638a58b
2015-10-07 19:55:03 +02:00
Ilya Chernikov
3721b5fbe9
Extracting performance measuring utils into mini-framework, implement measurements of the rpc time, adding more measurements to performance logging, minor refactorings
...
Original commit: be66c24467
2015-10-07 19:55:01 +02:00
Alexander Udalov
97b4d89f0b
Use internal names in multifile class metadata
...
To reuse the strings already existing in the constant pool of the class file
Original commit: bdd69d9e46
2015-10-03 00:59:34 +03:00
Alexander Udalov
bdd8b3825b
Write JVM signatures to new protobuf messages
...
Original commit: 8c0a86617a
2015-10-03 00:59:33 +03:00
Alexander Udalov
ba87e98243
Split ProtoBuf.Callable to three messages: constructor, function, property
...
Serialize both at the moment, will drop the old one after bootstrap
Original commit: ad735cd788
2015-10-03 00:59:30 +03:00