Commit Graph

701 Commits

Author SHA1 Message Date
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
Michael Nedzelsky e6af8e20a5 fix KT-10064 Regression: Error with multiple main functions within a single package
#KT-10064 Fixed

Original commit: aa8f3df9a8
2015-11-19 19:59:27 +03:00
Dmitry Petrov cdda7e87f7 Drop createQualifier: testData update
Original commit: 9856af48ca
2015-11-18 14:35:53 +03:00
Dmitry Petrov fdef6653e2 Properly resolve values in 1st qualifier part (see implicitReceiverProperty test).
Look into QUALIFIER for left-most "unrolled" qualified expression
    in CallExpressionResolver#getQualifiedExpressionTypeInfo.
Drop some unused functions.

Original commit: b532fa2bbf
2015-11-18 14:35:53 +03:00
Dmitry Petrov 33e89e9c16 Reuse package/class qualifier prefix resolution for qualified expression resolution.
Original commit: 3556f9751e
2015-11-18 14:35:52 +03:00
Zalim Bashorov b06a5fb5e2 Batch recording lookups in daemon
Original commit: 89791dc85c
2015-11-17 17:25:38 +03:00
Zalim Bashorov 60200f2a65 Fix tracking lookups when compile using daemon
Original commit: 6305bbda5d
2015-11-17 17:25:37 +03:00
Mikhail Glukhikh 97f2891ae9 Diagnostics corrected for smart cast impossible
Original commit: 03287d5d66
2015-11-17 10:26:26 +03:00
Michael Nedzelsky a3fd9b8209 Hack for checking access to internal declarations during incremental compilation
Original commit: e5e4f9e775
2015-11-17 00:26:43 +03:00
Denis Zharkov dfcb6ec84d Implement serialization of inner types
Original commit: 7500447e72
2015-11-13 14:59:03 +03:00
Ilya Chernikov 084df28a14 Additional fix to the previous one: Disabling parallel builds without daemon again and undoing apprpriate fix to broken tests problem, since it effectively cancelled fix for parallel building itself and was causing exceptions on heavy builds
(cherry picked from commit bb66776)

Original commit: 20ca8cd435
2015-11-12 19:15:14 +01:00
Nikolay Krasko 6f3c2c1493 Test that fails with package prefixes but works good without them
Original commit: 33fd247bde
2015-11-12 19:19:42 +03:00
Ilya Chernikov e5cb56662e Disabling parallel builds without daemon again and undoing apprpriate fix to broken tests problem, since it effectively cancelled fix for parallel building itself and was causing exceptions on heavy builds
(cherry picked from commit 0610452)

Original commit: 4643d7fc4d
2015-11-12 17:15:14 +01:00
Zalim Bashorov 2e3d3a5117 Minor: add more logging to KotlinBuilder
Original commit: b7772f32ce
2015-11-12 18:39:43 +03:00
Zalim Bashorov 8c43a177db Add new tests for incremental compilation and disable the one for current IC
Original commit: ca71f929f9
2015-11-12 13:43:25 +03:00
Zalim Bashorov e6493a0f39 Add separate build logs for tests which result is different in the new incremental compilation
Original commit: e1ad942804
2015-11-12 13:43:24 +03:00