Alexey Tsvetkov
a564724fa8
Fix issues with incremental cache version change
...
#KT-9360 fixed
2015-10-13 16:12:15 +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
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
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 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
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
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
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
Zalim Bashorov
0eac238f9b
KotlinBuilder: improve logging
2015-09-29 19:42:29 +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
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
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
Alexey Tsvetkov
b8388ae7ed
Minor: remove unused ClassToSources map
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov
fe390a04c5
Create Kotlin incremental caches only on write
2015-09-25 20:11:56 +03:00
Ilya Chernikov
4b1601974f
Refactoring parts related to passing services to compiler in daemon, adding uniform support for cancellation check and lookup tracking
2015-09-24 10:44:44 +02:00
Ilya Chernikov
3c16b2de87
Converting KotlinCompilerRunner.java to kotlin - phase 3 - refactoring to more kotlin style
2015-09-24 10:42:54 +02:00
Ilya Chernikov
0047fb1272
Converting KotlinCompilerRunner.java to kotlin - phase 2 - converter + manual fixes
2015-09-24 09:56:26 +02:00
Ilya Chernikov
fffe6dd837
Converting KotlinCompilerRunner.java to kotlin - phase 1 - renaming to .kt to preserve history
2015-09-24 09:56:26 +02:00
Alexander Udalov
4ca8a51234
Move Interner from deserialization to util
...
This class is not used in core and should not end up in kotlin-reflect.jar
2015-09-22 18:22:59 +03:00
Alexander Udalov
1878f892c1
Minor, fix annoying nullability warning
2015-09-22 18:22:58 +03:00
Michael Nedzelsky
34d4d2e7d9
ProtoCompareGenerated: get rid ofusage of internal details of NameResolver
2015-09-22 18:22:53 +03:00
Dmitry Jemerov
4ca434da54
remove support for 'trait' keyword
2015-09-22 15:00:24 +02:00