Max Kammerer
715893446c
Incremental compilation test data update after making package property backing field private
2015-10-19 21:21:02 +03:00
Alexey Tsvetkov
e9e42b0251
Code cleanup
2015-10-19 20:45:03 +03:00
Alexey Tsvetkov
6f96484e1f
Fix tests
2015-10-19 20:45:03 +03:00
Alexey Tsvetkov
d87ce33458
Drop @inline from tests and incremental compilation
2015-10-19 20:45:01 +03:00
Ilya Chernikov
376c188cf7
Setting property that controls application environment lifetime for daemon builds
2015-10-19 18:01:45 +02:00
Dmitry Petrov
dda508234f
Drop package facades:
...
- update tests
- cleanup JetTyMapper after rebase
2015-10-19 16:03:22 +03:00
Dmitry Petrov
639300a89d
Drop package facades: fix testData for IncrementalProjectPathCaseChangedTest
2015-10-19 16:03:21 +03:00
Dmitry Petrov
ac1f0efe7c
Drop package facades: fix testData for IncrementalLazyCachesTestGenerated
2015-10-19 16:03:21 +03:00
Dmitry Petrov
621d26aeeb
Drop package facades: fix incremental compilation tests & proto comparison tests
...
(package facades are no longer generated)
2015-10-19 16:03:21 +03:00
Dmitry Petrov
f227908151
Drop package facades:
...
- update incremental compilation tests
2015-10-19 16:03:21 +03:00
Dmitry Petrov
70c91b2e75
Drop package facades:
...
- getting rid of package facades in InlineCodegen & related stuff.
Provide binary source element to top-level package members.
2015-10-19 16:03:20 +03:00
Dmitry Petrov
989f761166
Drop package facades:
...
- fix KotlinJpsBuildTest
2015-10-19 16:03:20 +03:00
Dmitry Petrov
c55106a325
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
2015-10-19 16:03:20 +03:00
Mikhail Glukhikh
cae0388a57
Code cleanup: data deprecations and some effective visibility stuff
2015-10-19 15:24:22 +03:00
Zalim Bashorov
5ab3dd1716
Minor: do simpler check first
2015-10-19 14:01:59 +03:00
Yan Zhulanow
e14c9645dc
Error on 'if' without an 'else' branch when used as an expression
2015-10-19 03:56:15 +03:00
Zalim Bashorov
de5dc61820
Make NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION error
2015-10-18 22:49:08 +03:00
Svetlana Isakova
25b40455ad
Serialize/deserialize annotations on type parameters
2015-10-16 21:58:47 +03:00
Stanislav Erokhin
d5dbc9638d
Added static methods, nested classes and companion object from superclasses.
2015-10-16 20:42:34 +03:00
Zalim Bashorov
e54e6a3f31
Minor: fix build
2015-10-16 16:14:34 +03:00
Alexander Udalov
4c21142648
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>")
2015-10-15 18:25:40 +03:00
Alexander Udalov
82d2e623d3
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
2015-10-15 18:25:39 +03:00
Dmitry Petrov
8cd624a58a
Drop package facades: code cleanup in Kotlin project.
2015-10-15 10:33:47 +03:00
Alexander Udalov
6a965c9a06
Update IDE tests to use KProperty instead of PropertyMetadata
2015-10-14 20:45:55 +03:00
Ilya Chernikov
5b5ec2cb04
Make getDaemonConnection synchronized to avoid racing conditions on connection
2015-10-14 12:19:59 +02:00
Michael Bogdanov
bee0fb6283
Fix test data
2015-10-13 16:17:05 +03:00
Alexey Tsvetkov
a564724fa8
Fix issues with incremental cache version change
...
#KT-9360 fixed
2015-10-13 16:12:15 +03:00
Alexey Tsvetkov
af3f7dfafc
Make test generated
2015-10-13 16:12:15 +03:00
Alexander Udalov
a4732b442d
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.
2015-10-11 17:10:35 +03:00
Alexander Udalov
934ffed944
Don't write field signatures when not necessary
2015-10-11 17:10:30 +03:00
Alexander Udalov
864926ee2e
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
2015-10-11 17:10:30 +03:00
Alexander Udalov
e4efa27b76
Drop Callable and primary/secondary constructor proto messages
2015-10-11 17:10:26 +03:00
Yan Zhulanow
1f2b4e20fe
Replace get() and set() to getValue() and setValue() (property delegates)
2015-10-09 22:49:16 +03:00
Mikhail Glukhikh
2fee9d362c
Local interfaces are forbidden now
2015-10-09 21:06:33 +03:00
Mikhail Glukhikh
6914d09297
Old backing field with dollar is now forbidden
2015-10-09 21:06:26 +03:00
Michael Bogdanov
12afbffb09
Copy to interface just companion object public const properties
2015-10-09 16:25:15 +03:00
Dmitry Jemerov
7e2c2ef678
restore compilation after rebase of dropping external annotations; fix affected tests
2015-10-09 11:52:02 +02:00
Alexander Udalov
13c54a2678
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
2015-10-09 11:51:58 +02:00
Ilya Gorbunov
17fc1d9562
Do not sort twice
2015-10-07 22:36:50 +03:00
Ilya Gorbunov
fa491c8f1f
Replace IoPackage legacy facade with corresponding package parts.
2015-10-07 22:36:31 +03:00
Ilya Gorbunov
90e5ee8a7e
Replace KotlinPackage legacy facade with corresponding package parts.
2015-10-07 22:36:29 +03:00
Ilya Gorbunov
3106458cc4
Replace assert with lazy assert, times with repeat.
2015-10-07 22:36:23 +03:00
Ilya Gorbunov
37a0347669
Replace sort with sorted.
2015-10-07 22:36:16 +03:00
Ilya Chernikov
e27abe2f03
Caching daemon connection in JPS, additional logging and minor perf measurements refactoring
...
# Conflicts:
# jps-plugin/src/org/jetbrains/kotlin/compilerRunner/KotlinCompilerRunner.kt
2015-10-07 19:55:05 +02:00
Ilya Chernikov
99b638a58b
Adding support for JS compilation on daemon
2015-10-07 19:55:03 +02:00
Ilya Chernikov
be66c24467
Extracting performance measuring utils into mini-framework, implement measurements of the rpc time, adding more measurements to performance logging, minor refactorings
2015-10-07 19:55:01 +02:00
Alexander Udalov
bdd69d9e46
Use internal names in multifile class metadata
...
To reuse the strings already existing in the constant pool of the class file
2015-10-03 00:59:34 +03:00
Alexander Udalov
8c0a86617a
Write JVM signatures to new protobuf messages
2015-10-03 00:59:33 +03:00
Alexander Udalov
ad735cd788
Split ProtoBuf.Callable to three messages: constructor, function, property
...
Serialize both at the moment, will drop the old one after bootstrap
2015-10-03 00:59:30 +03:00
Alexander Udalov
041af28166
Deprecate and don't write KotlinClass$Kind, to be removed later
2015-10-03 00:59:30 +03:00