Commit Graph

363 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 1e0eff74ea Enabled rebuilding when enabling/disabling incremental compilation in IDEA.
Original commit: e6bb501c1a
2015-06-11 16:48:27 +03:00
Evgeny Gerashchenko 92f07e6281 Path hash code is case-agnostic. This is to avoid changing it if e.g. path to project is reconfigured from C:\Work to c:\work
Original commit: c48378260e
2015-06-09 20:03:21 +03:00
Evgeny Gerashchenko e352af9bb8 Fixed sticking of incremental cache data when case of file path is changed.
Original commit: 959364aa77
2015-06-09 20:03:20 +03:00
Evgeny Gerashchenko d422bb9827 Do not recompile module when anonymous object or local class is changed.
Original commit: 0bf249d6ae
2015-06-04 17:50:14 +03:00
Evgeny Gerashchenko f8faa92e0f Minor. Renamed test.
Original commit: cab8f583a8
2015-06-01 19:02:13 +03:00
Evgeny Gerashchenko fa97fd2b64 Updated Kannotator JPS build test for new incremental compilation.
Now it only invokes make for each changed file (much faster). And for each source target, it also checks that out directories are the same as after full rebuild.

Original commit: b94665e948
2015-06-01 19:02:13 +03:00
Evgeny Gerashchenko bb9d74813b Minor. Moved file to separate package to avoid clashing between tests and sources
Original commit: bd8e907809
2015-06-01 19:02:12 +03:00
Evgeny Gerashchenko 122b533076 Enabled incremental compilation by default.
Original commit: 36915bf846
2015-06-01 19:02:12 +03:00
Evgeny Gerashchenko 0994979f05 Fixed iml files in test data. Order entry for own sources is obligatory.
Original commit: fe3437e8a1
2015-06-01 19:02:12 +03:00
Evgeny Gerashchenko daa16c768b Fixed package proto for circular dependencies. Case when package is present in different modules which depend on each other. We should generate separate package facades for this case.
Original commit: 7de531fe09
2015-06-01 19:02:11 +03:00
Evgeny Gerashchenko 4b08b13289 Minor. Fixed typo in test data.
Original commit: 37d6c9bf25
2015-06-01 19:02:11 +03:00
Dmitry Jemerov a1cf175bb8 rename @overloads annotation to @jvmOverloads
Original commit: 1188e57597
2015-05-27 12:23:08 +02:00
Michael Nedzelsky bc4f80bc36 JS: JpsJsModuleUtils: do not include urls with kotlin-js-meta protocol
Original commit: 0a6c6e35b5
2015-05-26 05:03:31 +03:00
Ilya Gorbunov 3bb8a1fd53 Fix deprecated replaceAll and replaceFirst usages.
Original commit: 79a5e0607d
2015-05-22 16:13:53 +03:00
Michael Nedzelsky f198ac4b31 JS: make -meta-info cli option boolean
Original commit: d629271510
2015-05-21 02:30:54 +03:00
Mikhail Glukhikh 4c436ce7a2 Enum warnings fixed: deprecated delimiters, short super constructors, both in project and in libraries
Original commit: fdf0ea5546
2015-05-18 16:08:16 +03:00
Evgeny Gerashchenko c445089f21 KT-7587 Overloads are not generated during partial compilation of package
#KT-7587 fixed

Original commit: 0498bd7739
2015-05-14 21:51:08 +03:00
Nikolay Krasko 395e5446fb Place light classes finder before standard PsiElementFinderImpl
Source elements should have priority over libraries.

Original commit: 3c7e7ffda6
2015-05-13 21:32:09 +03:00
Nikolay Krasko 1937ee3986 Compile modules with circular dependency as one module
Original commit: 2d8dcaddd0
2015-05-06 14:19:20 +03:00
Nikolay Krasko a5d0547c1e Allow to use Kotlin reflection in all modules with Kotlin
Original commit: 3b18a44340
2015-05-06 14:18:27 +03:00
Pavel V. Talanov 8f8b938060 Drop module "ktm" scripts and support java source roots in "xml" modules
Drop kotlin.modules package from runtime
Move adapted classes into compiler
Unsupport files with "ktm" extension
Delete code for loading module scripts
Drop tests for module scripts
Separate section for java source roots in xml script generator/parser

Original commit: 94cc847c48
2015-04-16 16:40:19 +03:00
Alexander Udalov e116bcc346 Make 'sure' an inline function with a lazy parameter
Also replace some other non-lazy stdlib function usages with the new lazy
'sure'

Original commit: 44e35cad29
2015-04-16 13:55:06 +03:00
Alexander Udalov f600262671 Regenerate tests
Original commit: 94df191f86
2015-04-10 20:26:34 +03:00
Michael Nedzelsky ee825b9cf3 JS: add jps build test for Kotlin/Javascript two-module project
Original commit: 563ab47502
2015-04-03 05:36:13 +03:00
Michael Nedzelsky d6c1dc94b5 JS: use metadata in jps build process
Original commit: 06aef3164c
2015-04-03 05:36:10 +03:00
Michael Nedzelsky d36720992e JpsJsModuleUtils.java -> JpsJsModuleUtils.kt
Original commit: 9a02db3e8b
2015-04-03 05:36:07 +03:00
Michael Nedzelsky d2d01914f5 JpsJsModuleUtils: convert to kotlin
Original commit: e779c8a2ae
2015-04-03 05:36:05 +03:00
Michael Nedzelsky 174da79fce JS: move processing metaInfo to TranslationResult
Original commit: 5a73bd19c5
2015-04-03 05:36:02 +03:00
Ilya Gorbunov 4add263553 Fix split method usage: split temporary replaced with splitBy.
Original commit: 95c2a4fb29
2015-04-01 18:17:06 +03:00
Alexander Udalov 4d40114edc Extract module 'deserialization' out of 'serialization'
'deserialization' stays in core because it's needed both in compiler and
reflection, but 'serialization' is used only in the compiler

Original commit: 32c3bb8c7f
2015-03-30 19:44:17 +03:00
Alexander Udalov 911313b084 Merge module 'serialization.jvm' into 'descriptor.loader.java'
It was very small and there proved to be no point in separation of loading Java
classes and deserializing Kotlin classes

Original commit: 085bc2197b
2015-03-30 17:22:06 +03:00
Pavel V. Talanov 94900a8b84 Fix erroneous squash: isOnTeamcity check actually does something
Original commit: b2d0b2ebc9
2015-03-25 21:39:31 +03:00
Pavel V. Talanov 00cc146d0a Output compilation time as teamcity statistics in jps plugin
Original commit: 929d4644b5
2015-03-25 20:01:23 +03:00
Pavel V. Talanov 7b969d2c87 Get rid of 'class object' usages in code and builtins
Replace some comments and library usages as well

Original commit: ed218c473a
2015-03-25 18:28:00 +03:00
Dmitry Jemerov 3f59b7a6db remove abstraction which is no longer needed
Original commit: 20fbb814e4
2015-03-24 20:21:23 +03:00
Dmitry Jemerov 117ecaa011 remove obsolete module script generator from JPS
Original commit: d2634eb7eb
2015-03-24 20:21:22 +03:00
Denis Mekhanikov 770eea4875 Kotlin I/O new features: relativeTo, copyTo, copyRecursively, deleteRecursively, file tree walkers,
file component iterators, file roots, startsWith, endsWith, subPath, normalize, replaceBytes, replaceTest,
additional tests and comments

Original commit: f560677b15
2015-03-24 19:40:19 +03:00
Andrey Breslav b042ef11f6 JPS test data fixed for JS
Original commit: c7ab333fa8
2015-03-18 21:19:15 +03:00
Michael Nedzelsky 9e6afeda99 JS: always generate metadata while compiling from idea
Original commit: 977b743f3d
2015-03-18 19:43:02 +03:00
Evgeny Gerashchenko d56cbffbe0 Expanded incremental compilation tests with cache version change.
Original commit: 2aeccc7011
2015-03-18 15:20:45 +03:00
Michael Nedzelsky b7c1279336 fix KotlinJpsBuildTest
Original commit: 0050c9888d
2015-03-18 09:39:02 +03:00
Pavel V. Talanov 24f63e82e1 default -> companion: replace all mentions of default and default object
Original commit: 06916d98c6
2015-03-17 15:47:39 +03:00
Pavel V. Talanov db9abd0a2f default -> companion: default object -> class object in project code, builtins and libs code
Original commit: 2a6facaef6
2015-03-17 15:46:48 +03:00
Nikolay Krasko e5a2e731b7 Avoid getAccessors() call because of changes not available in build server
Original commit: 9c51ea6583
2015-03-16 14:26:35 +03:00
Andrey Breslav 6bb5d5c048 Do not create temp files in the project directory
Original commit: 76832df933
2015-03-11 20:14:56 +03:00
Andrey Breslav e68275f162 ErrorReporter is now Java-independent
Original commit: 36bbd2c0e3
2015-03-11 19:38:15 +03:00
Pavel V. Talanov 3f94123516 Replace 'class object' with default object in project code
Original commit: 9ecf95532e
2015-03-10 18:07:46 +03:00
Pavel V. Talanov ebb37aed1d Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now

Original commit: 59f192ef90
2015-03-06 19:36:54 +03:00
Nikolay Krasko fc8f852773 Temporary copy beans with reflection while there's no library method in TeamCity JPS
Original commit: e70098a2d4
2015-03-06 12:56:41 +03:00
Nikolay Krasko 1f02042a48 Update to Idea 141.2.2
Original commit: 7de794d381
2015-03-06 12:56:40 +03:00