Commit Graph

26118 Commits

Author SHA1 Message Date
Ilya Gorbunov 058f2a8bd2 Move File-related extensions out of ReadWrite.kt 2015-09-25 21:09:52 +03:00
Ilya Gorbunov 13132e7483 Move synchronized method out of JLangJVM 2015-09-25 21:09:50 +03:00
Ilya Gorbunov 27ab643d3f Move to method to Tuples 2015-09-25 21:09:47 +03:00
Ilya Gorbunov 6bb88df693 Turn off Xmultifile-package-facades option for stdlib. 2015-09-25 21:09:45 +03:00
Ilya Gorbunov 0c777b87ed Add JvmMultifileClass to js as internal annotation. 2015-09-25 21:09:43 +03:00
Ilya Gorbunov d40bbf6acb Allow to annotate generated code as jvm-only. 2015-09-25 21:09:40 +03:00
Ilya Gorbunov 1deb8b9dda Rename conflicting parts: add "Kt" 2015-09-25 21:09:38 +03:00
Ilya Gorbunov 473698a7e8 Generate JvmMultifileClass annotation on parts. 2015-09-25 21:09:36 +03:00
Ilya Gorbunov 2bc1fbab3f Allow stdlib generator to distribute concrete functions between different target files. 2015-09-25 21:09:33 +03:00
Ilya Gorbunov 947b8ac428 ant build: Do not preprocess stdlib source for JVM, only for JS. 2015-09-25 21:09:31 +03:00
Ilya Gorbunov 12d218632c logging: debug enabled for CLI 2015-09-25 21:09:29 +03:00
Ilya Gorbunov 9970c34961 Preprocessor: improved logging. 2015-09-25 21:09:27 +03:00
Ilya Gorbunov 7f5c3e15e4 Annotate stdlib jvm-only files without JVM suffix. 2015-09-25 21:09:24 +03:00
Ilya Gorbunov 1df4ab847d Remove task for ant, include preprocessor into the compiler, call preprocessor in ant build. 2015-09-25 21:09:22 +03:00
Ilya Gorbunov e8c93abdb5 Developing preprocessor task for ant 2015-09-25 21:09:20 +03:00
Ilya Gorbunov 7b206fdaf4 Refactor a bit 2015-09-25 21:09:18 +03:00
Ilya Gorbunov d76e177834 Each platform is processed separately but in parallel. 2015-09-25 21:09:15 +03:00
Ilya Gorbunov 706771829e Processing sources for multiple platforms in one pass. 2015-09-25 21:09:13 +03:00
Ilya Gorbunov ae51f2eb2a Annotation for preprocessor to mark declaration as jvm-only 2015-09-25 21:09:11 +03:00
Ilya Gorbunov de778d9865 Prototyping preprocessor: stripping declarations and replacing name. 2015-09-25 21:09:08 +03:00
Dmitry Jemerov 3d0e91065a quickfix for usages of operators that don't have the proper annotation 2015-09-25 20:00:29 +02:00
Dmitry Jemerov 8b0ccce4f1 code review; add 'operator' also to next() and hasNext(); check toplevel functions 2015-09-25 20:00:28 +02:00
Dmitry Jemerov e0f8d68a5f add 'operator' modifier when creating next() and hasNext() from usage 2015-09-25 20:00:28 +02:00
Dmitry Jemerov 1e2d4c0471 use setOf() instead of Guava sets 2015-09-25 20:00:27 +02:00
Dmitry Jemerov 41d1cf6083 check return type of contains() and compareTo() 2015-09-25 20:00:26 +02:00
Dmitry Jemerov 3dbb74bf0c teach 'create from usage' to add 'operator' modifier when necessary 2015-09-25 20:00:26 +02:00
Dmitry Jemerov bda0bd1de1 quickfix to add 'operator' keyword to operator-like functions 2015-09-25 20:00:19 +02:00
Yan Zhulanow 3a519ccc0a Add extension for Method.invoke() 2015-09-25 20:47:55 +03:00
Yan Zhulanow b73f91d16b Fix "unresolved widget fqname" bug in Gradle 2015-09-25 20:47:54 +03:00
Yan Zhulanow 07b77432de Fix NPE in AndroidPsiTreeChangePreprocessor 2015-09-25 20:47:54 +03:00
Dmitry Jemerov 61d78e0880 tests for "Add 'const' modifier" 2015-09-25 19:14:54 +02:00
Dmitry Jemerov 48bcc93ec2 revert incorrect testdata changes 2015-09-25 19:14:53 +02:00
Dmitry Jemerov 86a01a9a0d update Java usages when adding 'const' modifier; make the action available as intention 2015-09-25 19:14:53 +02:00
Dmitry Jemerov 250456ab4b add quickfix for NON_CONST_VAL_USED_IN_CONSTANT_EXPRESSION 2015-09-25 19:14:52 +02:00
Alexey Tsvetkov 743c59331d Remove tests on turning incremental on/off temporary 2015-09-25 20:11:58 +03:00
Alexey Tsvetkov 1002d233cb Update cache version 2015-09-25 20:11:58 +03:00
Alexey Tsvetkov ba33020140 Clean only kotlin caches when incremental compilation is off 2015-09-25 20:11:58 +03:00
Alexey Tsvetkov 1298d115bd Minor: rename test cases 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov c7f66a1585 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
2015-09-25 20:11:57 +03:00
Alexey Tsvetkov 7ef23da289 Clean all storages if incremental compilation is off 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov 2bed8d0557 Test caches creation with turning incremental on/off 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov 68437175f6 Enable disabling incremental compilation for tests 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov b6bbc4015b Write cache version only if incremental compilation is enabled 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov a3f2ccf72d Test that Kotlin incremental caches are created lazily 2015-09-25 20:11:57 +03:00
Alexey Tsvetkov 4b880f324a Access cache version file in tests using CacheVersionFormat 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 92d5b93cc7 Move incremental compilation enabled check from CacheFormatVersion to KotlinBuilder 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 0904b4bae8 Move CacheFormatVersion to separate file 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov 5c9b962567 Create map so it will always be added to maps 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov a611dd9d25 Minor: remove unused function 2015-09-25 20:11:56 +03:00
Alexey Tsvetkov b8388ae7ed Minor: remove unused ClassToSources map 2015-09-25 20:11:56 +03:00