Commit Graph

748 Commits

Author SHA1 Message Date
Zalim Bashorov b87baebf1f Report error when output directory not specified for build target
#KT-10505 Fixed

Original commit: 3df091e7cf
2016-01-13 21:09:05 +03:00
Alexey Tsvetkov 81c4a434e3 Minor: fix test data as exhaustive when error message was changed
Original commit: 328169cd2e
2016-01-13 18:47:05 +03:00
Alexey Tsvetkov 9fb496af8c Recompile all sealed class usages when new derived class is added
Original commit: 94cea25e2e
2016-01-13 15:46:54 +03:00
Alexey Tsvetkov d6b568005f Recompile all enum usages when new entry is added
Original commit: 0cf2928761
2016-01-13 15:46:54 +03:00
Alexey Tsvetkov 7eb8c94ca8 Recompile all class and member usages when flag and member are changed
Original commit: e7f8d7103f
2016-01-13 15:46:53 +03:00
Alexey Tsvetkov 07a18f2758 Make withSubtypesOf more efficent
Original commit: d928ac744e
2016-01-12 15:32:48 +03:00
Alexey Tsvetkov a2444395ab Append in a more safe way
Original commit: 756c78bfcc
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov c64424af6b Make doProcessChangesUsingLookups extension again
Original commit: f137910e63
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov 58eca3b423 Use one loop for changes processing
Original commit: f20b39d02e
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov 30b161d28a Minor: rename getSubtypeOf->withSubtypes
Original commit: d36810ab42
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov ff40b098f9 Add tests for class hierarchy incremental recompilation
Original commit: 9190029fcc
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov ec8f7b70b8 Do not write inline calls to cache when experimental incremental compilation is enabled
Original commit: e2794cfa3f
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov 4c7d283b80 Append to class map should use IOUtil.writeUTF
Original commit: 2286268929
2016-01-12 15:32:47 +03:00
Alexey Tsvetkov fb8513cc64 Get caches for targets transitively for exported dependencies
Original commit: a9fb5647b8
2016-01-12 15:32:46 +03:00
Alexey Tsvetkov 04e2c6c342 Process changed signatures of classes
Original commit: dfc08b8f38
2016-01-12 15:32:46 +03:00
Alexey Tsvetkov aaf2c5573d Minor: move processChanges
Original commit: ab13b2ddfc
2016-01-12 15:32:46 +03:00
Dmitry Jemerov 92ee7361b5 jps-plugin: cleanup 'public', property access syntax
Original commit: 33ef7ad024
2016-01-07 18:14:31 +01:00
Dmitry Jemerov e990dc2092 idea: cleanup 'public', property access syntax
Original commit: 43a6e13f4b
2016-01-07 18:12:36 +01:00
Ilya Gorbunov 7fb6a965f2 Cleanup in modules: j2k, jps, ant and generators.
Original commit: fcfb063eca
2015-12-29 18:04:18 +03:00
Michael Bogdanov 49230ffd46 Companion public val annotated with @JvmFIeld or const
Original commit: e671d05105
2015-12-29 16:45:23 +03:00
Michael Bogdanov 0218b84990 Private visibility for non-const, non-jvmField class companion property backing field
Original commit: e116cc3206
2015-12-29 16:45:22 +03:00
Alexander Udalov eafea73638 Mark enum entry names as name ids for incremental compilation purposes
Original commit: 697228eae0
2015-12-25 20:16:18 +03:00
Alexander Udalov 1227f8ad55 Drop 'index' JVM binary format extension
Compute the JVM parameer index manually instead

Original commit: 39c10867a0
2015-12-25 20:16:18 +03:00
Alexander Udalov 3c7c92dcb3 Drop compatibility flag, suppressing optimized generation of delegated property metadata
Original commit: 64b48f4458
2015-12-25 20:16:18 +03:00
Alexander Udalov da67ebb1e2 Drop old JVM binary format extensions: static in outer, impl class name
Original commit: dc6a176282
2015-12-25 20:16:18 +03:00
Alexander Udalov 8d1a6b8c9f Drop old enum entries from binary format
Original commit: fc74759231
2015-12-25 20:16:18 +03:00
Alexander Udalov dece44df86 Fix terminology: internal name instead of FQ name
Original commit: 6048ebf871
2015-12-21 20:27:41 +03:00
Alexander Udalov bd94993156 Add kotlin-reflect as a separate library
Exclude in core modules, since they do not have kotlin-reflect.jar in
dependencies when are built in build.xml

Original commit: 2ccd6d54b7
2015-12-21 18:46:08 +03:00
Stanislav Erokhin b5ce541bbf Fix compilation.
- rename isFinal extension property to avoid ambiguity with synthetic property in DeserializedClassTypeConstructor
- add explicit parameter to lambda File.listFiles
- return true from lambda Query.forEach

Original commit: bcaa755c4e
2015-12-18 22:49:26 +03:00
Stanislav Erokhin 2d6de9f95d Synthetic extensions wins against top-level extension.
Original commit: 1574dc78df
2015-12-18 22:49:25 +03:00
Sergey Mashkov 271f6ffdcb Add library kotlin-test to IDEA project
Original commit: 790524e391
2015-12-18 22:17:47 +03:00
Sergey Mashkov 48d45b54db Add kotlin.test library to build distribution and provide for tests
Original commit: b57d2ff702
2015-12-18 22:16:04 +03:00
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