Commit Graph

716 Commits

Author SHA1 Message Date
Stanislav Erokhin d9ea7bbd37 Do not discriminate synthesized candidates.
#KT-9965 Fixed

Original commit: 8b5a194dd6
2015-12-18 15:08:19 +03:00
Zalim Bashorov 5d8730f912 Minor: uncomment code fragments in ic tests which already should work
Original commit: ba180f915a
2015-12-17 19:41:25 +03:00
Zalim Bashorov 43b6a9dbbc Minor: use ".touch" extension instead of ".new" in incremental compilation tests when it possible
Original commit: d9b67ae0ef
2015-12-17 19:41:24 +03:00
Mikhail Glukhikh 09a2a5ecd3 Code fix: TestOnly on a property without backing field
Original commit: f55574df36
2015-12-17 15:06:51 +03:00
Mikhail Glukhikh 66b8a68df7 Code cleanup: get rid of unnecessary !! / as, fake warning comments and issues
Original commit: 233e8e58e8
2015-12-15 12:00:58 +03:00
Ilya Gorbunov 55020c886a Fix testData for LookupTracker
Original commit: bf9d50ccc4
2015-12-14 04:29:27 +03:00
Alexander Udalov 5b8c9c0d1f Serialize/deserialize annotations on enum entries
#KT-10338 Fixed

Original commit: 3e2eb8c1a0
2015-12-13 03:52:41 +03:00
Stanislav Erokhin 54e89b72d4 Update lookupTracker test data for tower resolution algorithm
Original commit: 79b30dddf9
2015-12-11 17:01:02 +03:00
Mikhail Glukhikh 3e8231bedb Enum.values: deprecation (warning) --> deprecation (error)
Original commit: c8b50eec1e
2015-12-11 11:11:42 +03:00
Dmitry Petrov f5bfec68db COMMA_IN_WHEN_CONDITION_WITHOUT_ARGUMENT is an ERROR now.
Migrated code.
Updated test data in IDE tests.
Dropped whenWithRangeTestsAndMultiConditions.kt:
"Introduce subject" is not applicable to 'when' with ||-ed conditions.

Original commit: 0fe74a8b43
2015-12-11 10:43:16 +03:00
Alexey Tsvetkov 0bb5882cca Minor: remove default values for markChunk parameters
Original commit: ef4b3c99f4
2015-12-10 18:03:20 +03:00
Alexey Tsvetkov 9f5046b3e7 Rebuild only kotlin when cache version is changed
Original commit: 6a74b1c8bf
2015-12-10 18:03:17 +03:00
Alexey Tsvetkov 93dd3dfe25 Minor: move buildFinished closer to buildStarted
Original commit: 49778d2fb6
2015-12-10 18:03:13 +03:00
Alexey Tsvetkov cc4bdb814d Increment cache version
Wildcard generation could cause source level incompatibility, so we should rebuild

Original commit: e6bba01798
2015-12-09 16:23:35 +03:00
Alexey Tsvetkov 6e08ea4524 Save class hierarchy to incremental caches
Author:    Alexey Tsvetkov <Alexey.Tsvetkov@jetbrains.com>

Original commit: c567376e35
2015-12-09 16:23:35 +03:00
Alexey Tsvetkov 7d8d421155 Simplify collection externalizers
Original commit: 6ba5dcaa06
2015-12-09 16:23:35 +03:00
Alexander Udalov bbd5932a23 Report error when type parameter has a type parameter bound and any other bound
To prevent issues with erasure on JVM: it's unclear what such type parameter
should be erased to

Original commit: d3c17ec337
2015-12-07 15:47:47 +03:00
Alexey Tsvetkov 1309da6996 Save system properties in incremental jps tests
Original commit: d53cd3c70b
2015-12-02 20:56:38 +03:00
Alexey Tsvetkov a1c310812a Minor: refactor shouldRebuildBecauseVersionChanged
Original commit: 73444ce59b
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov a02c918251 Minor: rename CACHE_DIRECTORY_NAME->KOTLIN_CACHE_DIRECTORY_NAME
Original commit: 7fff17ba7c
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov 9782e83c7e Do not mark dirty same files
Original commit: 7063e1f56a
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov be7a061a70 Do not recompile files compiled in current round
Original commit: 4800cff87f
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov e8ced612d1 Prevent processing changes if all kotlin in chunk was rebuilt
Original commit: 19089f8b17
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov 43aab45ce0 Introduce FSOperationsHelper to mark files dirty
Original commit: 87f09ab5b0
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov 3b419def7d Minor: add java to test case
Original commit: 98e0905eb3
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov 6f68076f0e Minor: move check inside hasDirtyOrRemovedKotlin
Original commit: 3d3d670cd7
2015-12-02 20:56:37 +03:00
Alexey Tsvetkov 2f253f0c3a Do not use USER_DATA to preserve data between compilation rounds
Original commit: 60a8db1c6c
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov 1a401183b2 Kotlin incremental cache version change should not affect java only modules
Original commit: a447c39f69
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov d72b17fe7a Minor: add description to key
Original commit: b1b0da5228
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov 8839938183 Simplify lazy caches tests
Original commit: c9012b10c5
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov ccc54dfb51 Move CacheVersion properties to constructor
Original commit: aea6ad0f0c
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov 675671f4d5 Test turning incremental compilation on/off
Original commit: e90dc047bd
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov 0eb4f20d14 Test versioning of experimental incremental compilation
Original commit: a8b551e518
2015-12-02 20:56:36 +03:00
Alexey Tsvetkov 7ae30369a7 Enable separate versioning for experimental incremental compilation
Original commit: 69c906014f
2015-12-02 20:56:35 +03:00
Ilya Chernikov e3271684c7 fixes after review
Original commit: c1c6d0ee3a
2015-12-02 10:30:56 +01:00
Ilya Chernikov 94092388a1 another attempt to fix parallel compilation - enabling keepalive in compiler use sites, but in jps taking parallel compilation option into account, so it should be now not set in tests
Original commit: 6313ecac1c
2015-12-02 10:30:56 +01:00
Ilya Gorbunov 75e0da2461 Replace deprecated toMap usages with toMapBy
Original commit: ea60ab74a7
2015-12-01 01:18:44 +03:00
Alexander Udalov 4bc89f8f02 Remove obsolete code in KotlinBuilder, rename PackageClassUtils
Original commit: caa6cdb3f7
2015-11-27 21:41:26 +03:00
Alexander Udalov 77e78e15b9 Remove kotlin.jvm.internal.KotlinPackage and corresponding code
Original commit: 8594cfca46
2015-11-27 21:22:04 +03:00
Ilya Chernikov 45d6f2394c Moving daemon files, renaming namespaces, modules and jar
Original commit: c76bec51a0
2015-11-27 19:04:04 +01:00
Ilya Chernikov 2a0b1188a2 fixes after review
Original commit: 9869fc4305
2015-11-27 19:04:03 +01:00
Ilya Chernikov 7fbef0dcdd Passing a log file name in logger-compatible format on Windows in tests, fixes problems with daemon tests on Windows
Original commit: 336f6de2ee
2015-11-27 19:04:01 +01:00
Ilya Chernikov b58eb87771 Implementation of the new daemon management without inter-daemon elections and with few other simplifications
Original commit: 375679677c
2015-11-27 19:03:58 +01:00
Yan Zhulanow 84fea1a41d Fix tests: "infix modifier required" and "operator modifier required" errors
Original commit: 9d1af5a17e
2015-11-27 15:51:11 +03:00
Yan Zhulanow 57ad58363f Fix "operator modifier required" errors in project
Original commit: 87799e9b6b
2015-11-27 15:51:11 +03:00
Zalim Bashorov 7987943f3a Minor: add more logging in KotlinBuilder
Original commit: 7faa886d26
2015-11-27 15:07:57 +03:00
Zalim Bashorov 663d0f2e7e Return platform independent path in IncrementalCacheImpl::getClassFilePath
Fix ExperimentalIncrementalJpsTestGenerated.PureKotlin.testFunctionBecameInline on Windows.

Original commit: 93eb09a654
2015-11-24 16:05:46 +03:00
Ilya Gorbunov 039c310c55 Replace map { ... }.filterNotNull() with mapNotNull { ... }
Original commit: 32151c077e
2015-11-21 00:54:01 +03:00
Mikhail Glukhikh cc0adf19a9 Exposed visibility deprecation warnings made errors + relevant test fixes
Original commit: 4e44466cf9
2015-11-20 15:21:01 +03:00
Mikhail Glukhikh 0b594f08d5 Effective visibility source code fix: jps plugin
Original commit: 3d75ebb859
2015-11-20 09:56:19 +03:00