Commit Graph

527 Commits

Author SHA1 Message Date
Alexey Tsvetkov 8e27d32a7b Clean only kotlin caches when incremental compilation is off
Original commit: ba33020140
2015-09-25 20:11:58 +03:00
Alexey Tsvetkov 4e7cc0b637 Minor: rename test cases
Original commit: 1298d115bd
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov 5b4101ee0d 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

Original commit: c7f66a1585
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov aa029d2113 Clean all storages if incremental compilation is off
Original commit: 7ef23da289
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov 5fae296bea Test caches creation with turning incremental on/off
Original commit: 2bed8d0557
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov d591e31eee Enable disabling incremental compilation for tests
Original commit: 68437175f6
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov 20d6f01919 Write cache version only if incremental compilation is enabled
Original commit: b6bbc4015b
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov 86e80e4a58 Test that Kotlin incremental caches are created lazily
Original commit: a3f2ccf72d
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov 3823a0f986 Access cache version file in tests using CacheVersionFormat
Original commit: 4b880f324a
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov dace403875 Move incremental compilation enabled check from CacheFormatVersion to KotlinBuilder
Original commit: 92d5b93cc7
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 44293a581f Move CacheFormatVersion to separate file
Original commit: 0904b4bae8
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 37c861100d Create map so it will always be added to maps
Original commit: 5c9b962567
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 71e3aef808 Minor: remove unused function
Original commit: a611dd9d25
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 10ee4858d0 Minor: remove unused ClassToSources map
Original commit: b8388ae7ed
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov eabfd142f3 Create Kotlin incremental caches only on write
Original commit: fe390a04c5
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov e810c6f007 Revert removing testDoNotCreateUselessKotlinIncrementalCaches
Removed by mistake in 46233cb721

Original commit: c0b208275e
2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 6a1fc0c563 Flush dataManager in KotlinJpsBuildTest
Original commit: 8c7053552b
2015-09-25 20:11:55 +03:00
Stanislav Erokhin c5e44eca7b Minor. Fix testdata.
Original commit: 8ab4114291
2015-09-25 19:10:03 +03:00
Natalia Ukhorskaya e1266bb28f Minor. Fix file path for windows
Original commit: 40554996f8
2015-09-25 19:10:02 +03:00
Michael Nedzelsky 5852d10a1a add tests in KotlinJpsTest for check access to internal elements from another module
Original commit: 0b49195a03
2015-09-25 14:02:26 +03:00
Michael Nedzelsky 6b3ab6ec56 add tests for incremental compilation with changed internal class
Original commit: ad274c5137
2015-09-25 14:02:21 +03:00
Zalim Bashorov 08f5093adb Add tests for cases when add and remove custom accessors for val with smartcasted usage
Original commit: 79ac436b9f
2015-09-24 22:50:48 +03:00
Ilya Chernikov 1efdfbe6db Refactoring parts related to passing services to compiler in daemon, adding uniform support for cancellation check and lookup tracking
Original commit: 4b1601974f
2015-09-24 10:44:44 +02:00
Ilya Chernikov 23dc79b418 Converting KotlinCompilerRunner.java to kotlin - phase 3 - refactoring to more kotlin style
Original commit: 3c16b2de87
2015-09-24 10:42:54 +02:00
Ilya Chernikov 448551f3f3 Converting KotlinCompilerRunner.java to kotlin - phase 2 - converter + manual fixes
Original commit: 0047fb1272
2015-09-24 09:56:26 +02:00
Ilya Chernikov 1d3856b70e Converting KotlinCompilerRunner.java to kotlin - phase 1 - renaming to .kt to preserve history
Original commit: fffe6dd837
2015-09-24 09:56:26 +02:00
Ilya Chernikov 2da6169a4e Utils for checking presense of certain lines in a sequence, using this tool for checking log after daemon builds in tests, fixing explicit daemon shutdown used in the test, some minor fixes
Original commit: c294a682de
2015-09-24 09:56:24 +02:00
Michael Nedzelsky b23cbc0ade Revert "add test for check access to internal elements from another module"
This reverts commit b4e7a9c740.

Original commit: db602df146
2015-09-23 17:45:38 +03:00
Michael Nedzelsky b4e7a9c740 add test for check access to internal elements from another module
#KT-9178 Fixed

Original commit: 4d9eaf19c3
2015-09-23 07:49:33 +03:00
Alexander Udalov 2060ccebdf Move Interner from deserialization to util
This class is not used in core and should not end up in kotlin-reflect.jar

Original commit: 4ca8a51234
2015-09-22 18:22:59 +03:00
Alexander Udalov 3fd7114d49 Minor, fix annoying nullability warning
Original commit: 1878f892c1
2015-09-22 18:22:58 +03:00
Michael Nedzelsky e92511a30a ProtoCompareGenerated: get rid ofusage of internal details of NameResolver
Original commit: 34d4d2e7d9
2015-09-22 18:22:53 +03:00
Dmitry Jemerov 14c45372ee remove support for 'trait' keyword
Original commit: 4ca434da54
2015-09-22 15:00:24 +02:00
Michael Nedzelsky ff54b362ea tests for comparison of changes in classes
Original commit: ae7cc8e430
2015-09-19 00:14:07 +03:00
Michael Nedzelsky f59a42abc8 add protoDifferenceUtils and implementation for calculation difference between proto data for classes.
Original commit: df283c8f02
2015-09-19 00:14:04 +03:00
Michael Nedzelsky 185547fbaf GenerateProtoBufCompare: optimization and generate difference and hashCode methods
Original commit: 4c9ec56bc8
2015-09-19 00:13:58 +03:00
Michael Nedzelsky 5bf0641930 descriptors.proto: add skip_in_comparison option for (prepared to retire) constructor field in Class message
Original commit: be875d797f
2015-09-19 00:13:51 +03:00
Michael Nedzelsky 2165a0f99c GenerateProtoBufCompare: do not generate unnecessary empty lines
Original commit: 20bae99166
2015-09-19 00:13:48 +03:00
Stanislav Erokhin 4130a88832 Optimized task creation for local functions and variables
Original commit: 68389d34e4
2015-09-18 21:01:22 +03:00
Stanislav Erokhin 1fdc2b5d56 Minor. remove import package usages from sources
Original commit: 5786e620e8
2015-09-18 21:00:16 +03:00
Stanislav Erokhin 2041a9a414 Minor. Moved deserialized util functions from top-level to object
Original commit: 377f752837
2015-09-18 21:00:15 +03:00
Zalim Bashorov 62dcbf8aab Track lookups for conventions
Original commit: 27a196b25b
2015-09-18 18:31:19 +03:00
Denis Zharkov e3aa1fa4cb Get rid of deprecated annotations in testData
Original commit: bae3320d52
2015-09-18 10:14:32 +03:00
Denis Zharkov d019bef728 Get rid of deprecated annotations and modifiers in project code
Original commit: 9c4564a5a6
2015-09-18 09:34:27 +03:00
Dmitry Jemerov 4aa3b9e334 don't initialize Kotlin caches if there is no Kotlin code to compile
Original commit: 35d9880266
2015-09-15 14:21:01 +02:00
Alexander Udalov f12cce0243 Report incomplete hierarchy error for deserialized types
#KT-5129 Fixed

Delete a JPS test that was specifically testing that we would not fail in this
situation; now there's a compilation error

Original commit: 949144e0c0
2015-09-15 13:11:17 +03:00
Alexander Udalov 987946f425 Improve ABI version from one number to "major.minor.patch"
Original commit: 6cecc66d10
2015-09-11 19:28:46 +03:00
Ilya Chernikov fd1f9f2d67 Fixing run filename compatibility with windows, improving diagnostics, some minor tweaks
Original commit: 8b970cd186
2015-09-11 15:30:17 +02:00
Ilya Chernikov 1705b9a9d3 Extending daemon diagnostics reporting in tests
Original commit: 990c2dc5d7
2015-09-10 22:31:00 +02:00
Ilya Chernikov bc9adf0b19 Adding jps building test with daemon, removing obsolete daemon shutdown code
Original commit: b1bdbaf06a
2015-09-10 22:30:58 +02:00