Alexander Udalov
494ceae690
Use JvmMetadataVersion where appropriate instead of bytecode version
...
Original commit: b587d3a78d
2016-01-19 18:39:59 +03:00
Alexander Udalov
a230c85fe2
Split JVM binary version into two: metadata and bytecode interface
...
Currently all code only uses the first one (JvmMetadataVersion), later the
bytecode interface version (JvmBytecodeBinaryVersion) will be used only in
codegen and reflection to avoid compiling against or calling methods with
unsupported conventions like default method naming and signature,
getters/setters naming etc.
Original commit: bd47e9d47b
2016-01-19 18:39:59 +03:00
Alexander Udalov
00075fc837
Move version constants to corresponding BinaryVersion subclasses
...
Original commit: 04d335db15
2016-01-19 18:39:59 +03:00
Zalim Bashorov
f7934e8943
Restore logging changes when process them using lookups and add assert to avoid getting parent from root FqName
...
Original commit: bd9b2f9f06
2016-01-19 16:33:44 +03:00
Dmitry Jemerov
4e8365084f
tests fixed
...
Original commit: b60621c428
2016-01-19 10:53:53 +01:00
Dmitry Jemerov
7998e7884c
add test to check that "Only the Kotlin standard library is allowed to use the 'kotlin' package" is reported in JPS builds
...
Original commit: 39c6e3712b
2016-01-19 10:53:49 +01:00
Zalim Bashorov
e28f1888e8
Minor: extract most of JPS (old IC) specific part from IncrementalCacheImpl
...
Original commit: 5889ba4293
2016-01-18 22:13:29 +03:00
Alexander Udalov
91b1f50150
Extract JS-related LibraryUtils utilities to JsLibraryUtils
...
Original commit: d1f2255d38
2016-01-17 16:28:22 +03:00
Stanislav Erokhin
a907aeec4d
Change resolution priority about implicit receivers and synthesized member-like descriptors.
...
Change resolution to consider extensions to implicit receiver before members of another implicit receiver.
Make synthesized member-like extensions resolve right after the members.
#KT-10510 Fixed
#KT-10219 Fixed
Original commit: 3a9ecf0bce
2016-01-15 13:11:38 +03:00
Zalim Bashorov
da42c05672
Don't fail when create IncrementalCacheImpl for target without output directory, and fail when try to use this info instead.
...
#KT-10505 Fixed
Original commit: c1dbfee2a9
2016-01-13 21:37:36 +03:00
Zalim Bashorov
b7971cf9ae
Don't fail when output directory not specified for "friend" build target
...
#KT-10505 Fixed
Original commit: d9af9472f0
2016-01-13 21:09:06 +03:00
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