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
Alexander Udalov
056bb3f833
Deprecate and don't write KotlinSyntheticClass$Kind, to be removed later
2015-10-03 00:59:28 +03:00
Alexander Udalov
e4090d3f30
Cleanup descriptors.proto, regenerate
...
- move enums and messages nested in Callable to top level, since they're likely
to be reused in other messages soon
- delete obsolete comments: some did not any value, some became obsolete with
custom options ("id in StringTable" -> name_id_in_table)
2015-10-02 20:30:55 +03:00
Pavel V. Talanov
0ae842a05d
'descriptors' module exports 'deserialization', not the other way around
...
Also remove some of redundantly specified dependencies
2015-10-01 17:53:13 +03:00
Michael Nedzelsky
0de9e8295a
add tests for incremental compilation: package members
2015-10-01 15:16:30 +03:00
Michael Nedzelsky
8557e540fc
incremental compilation: do not recompile on changes in private static final values.
2015-10-01 15:16:26 +03:00
Michael Nedzelsky
bc6746b9e6
add tests for comparison of package members
2015-10-01 15:16:22 +03:00
Michael Nedzelsky
c7b52bfdc1
fix KT-8977 Ignore non-public API changes for packages in incremental compilation
...
#KT-8977 Fixed
2015-10-01 15:16:18 +03:00
Zalim Bashorov
a36e4abf4d
Move visibility check for toplevel private declarations to Visibilities.PRIVATE and fix it.
2015-10-01 14:57:26 +03:00
Dmitry Petrov
9a41ee41d7
Migrate to new storage API.
...
Remove IncrementalPackageFragment::getMultifileFacade.
2015-09-30 09:56:05 +03:00
Dmitry Petrov
3dfe9951ef
Incremental compilation support for multifile classes.
2015-09-30 09:56:05 +03:00
Denis Zharkov
a101fffd9a
Change INTERFACE_IMPL_CLASS_NAME: $TImpl -> DefaultImpls
2015-09-30 08:19:51 +03:00
Zalim Bashorov
0eac238f9b
KotlinBuilder: improve logging
2015-09-29 19:42:29 +03:00
Alexander Udalov
1036506b25
Introduce new string table optimized for JVM class files
...
This format of the string table allows to reduce the size of the Kotlin
metadata in JVM class files by reusing constants already present in the
constant pool. Currently the string table produced by JvmStringTable is not
fully optimized in serialization (in particular, the 'substring' operation
which will be used to extract type names out of generic signature, is not used
at all), but the format and its complete support in the deserialization
(JvmNameResolver) allows future improvement without changing the binary version
2015-09-29 16:26:28 +03:00
Alexander Udalov
6a8d0fbd75
Introduce infrastructure to separate string table from metadata on JVM
...
Nothing especially helpful happens here, this is only a big refactoring
introducing a separate string array for the string table, which is currently
always empty, but will contain actual strings soon
2015-09-29 16:26:27 +03:00
Alexander Udalov
89fe54c951
Remove NameResolver#getFqName, replace with getClassId
2015-09-29 16:26:26 +03:00
Alexander Udalov
7d5bd3cf50
Simplify storage of JVM signatures in binary metadata
...
Store the whole method & field descriptor strings. Moving these strings to
separate annotation arguments later will allow to reuse them with the ones in
the constant pool, presumably allowing to save lots of space (up to 10%)
2015-09-29 16:26:25 +03:00
Alexander Udalov
e749bc262d
Delete deprecated Type.Constructor message, advance ABI version
2015-09-29 16:26:24 +03:00
Stanislav Erokhin
5a61871d4b
Minor. Fix testdata.
2015-09-29 13:33:57 +03:00
Michael Nedzelsky
0035bbba7c
fix check for internal from another module in imports and file level annotations
2015-09-27 20:37:41 +03:00
Michael Nedzelsky
2f9151ec18
remove incremental test: accessPrivateMembers
2015-09-25 21:16:03 +03:00
Alexey Tsvetkov
743c59331d
Remove tests on turning incremental on/off temporary
2015-09-25 20:11:58 +03:00
Alexey Tsvetkov
1002d233cb
Update cache version
2015-09-25 20:11:58 +03:00
Alexey Tsvetkov
ba33020140
Clean only kotlin caches when incremental compilation is off
2015-09-25 20:11:58 +03:00
Alexey Tsvetkov
1298d115bd
Minor: rename test cases
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov
c7f66a1585
Fix recompilation of dependent modules on cache/abi version change
...
New cache version was written to dependent targets,
when they have not been compiled yet
#KT-9190 Fixed
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov
7ef23da289
Clean all storages if incremental compilation is off
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov
2bed8d0557
Test caches creation with turning incremental on/off
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov
68437175f6
Enable disabling incremental compilation for tests
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov
b6bbc4015b
Write cache version only if incremental compilation is enabled
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov
a3f2ccf72d
Test that Kotlin incremental caches are created lazily
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov
4b880f324a
Access cache version file in tests using CacheVersionFormat
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov
92d5b93cc7
Move incremental compilation enabled check from CacheFormatVersion to KotlinBuilder
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov
0904b4bae8
Move CacheFormatVersion to separate file
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov
5c9b962567
Create map so it will always be added to maps
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov
a611dd9d25
Minor: remove unused function
2015-09-25 20:11:56 +03:00