Commit Graph

397 Commits

Author SHA1 Message Date
Zalim Bashorov b983e9c868 Store lookup info inside testData code instead of separate file
Original commit: b32040f610
2015-08-24 19:50:01 +03:00
Alexander Udalov 2ea65e1cbc Refactor command-line interface to kotlin-preloader.jar
Use reasonable defaults for the options: no time profiling, no instrumenters,
empty classpath, 4096 as the class number estimate. Replace 4096 in the
codebase with the constant field.

Keep the old interface intact until the build is bootstrapped and the new one
can be used in all compilation steps

Original commit: aba6ab1299
2015-08-24 01:29:58 +03:00
Nikolay Krasko 83f9db33ce Don't filter class files and jars from build script. Get a warning about their absence.
Original commit: 5b3c05d039
2015-08-20 18:48:38 +03:00
Michael Nedzelsky e2130c606e temporarily adjust timeout limit for testCancelLongKotlinCompilation
Original commit: 6a1eb91e18
2015-08-11 02:24:34 +03:00
Zalim Bashorov 27ac8066f6 Add test infrastructure to check the tracking lookups
Added simple test to verify infrastructure.

Original commit: 7e250ab2ca
2015-08-08 02:08:19 +03:00
Zalim Bashorov 65031eb2c9 Minor: move some properties of AbstractIncrementalJpsTest to constructor
Original commit: 36f69d9fd6
2015-08-08 02:08:19 +03:00
Zalim Bashorov 8aa77592e8 Add ability to provide custom LookupTracker from JPS
Original commit: 7cd678e03b
2015-08-08 02:08:17 +03:00
Zalim Bashorov 28469ae2d0 UsageCollector -> LookupTracker
Original commit: 96696c6846
2015-08-08 02:08:14 +03:00
Denis Zharkov ec73f8a84f Implement raw types (de)serialization via special TypeCapabilities
Original commit: 32c23728b3
2015-08-06 08:18:18 +03:00
Michael Nedzelsky 3a377fbde4 fix KT-8648 Exception from incremental compilation
#KT-8648 Fixed

Original commit: e9d7bbf493
2015-07-29 15:14:45 +03:00
Michael Nedzelsky 010d721b38 IncrementalCacheImpl: do not recompile other files if all changes are private
Original commit: b3659486d9
2015-07-28 19:48:56 +03:00
Michael Nedzelsky d41a3e205c add tests for incremental compilation when only private part changed
Original commit: 62f6cc7f0b
2015-07-28 19:48:51 +03:00
Michael Nedzelsky 07238e41a0 add GenerateProtoBufCompare
Original commit: 2f304c0d99
2015-07-28 19:48:48 +03:00
Zalim Bashorov 90206fc21f Introduce UsageCollector
Original commit: 679d5fe496
2015-07-21 22:27:27 +03:00
Zalim Bashorov 8313978c9f incremental.cache -> incremental.components; IncrementalCacheProvider -> IncrementalCompilationComponents
Original commit: 91b87f41bc
2015-07-21 22:27:26 +03:00
Denis Zharkov e4a96670f4 Make project compilable after types enhancement
Original commit: 0a19fb7df2
2015-07-09 16:36:46 +03:00
Michael Nedzelsky 22c07485dd add tests for KT-8158 make Kotlin compiler invoked from IDEA cancellable
Original commit: 8cd978bfd8
2015-07-03 16:14:08 +03:00
Michael Nedzelsky f57c51c26e KotlinJpsBuildTest.kt: minor refactoring after converting
Original commit: ea0c14d7ad
2015-07-03 16:14:04 +03:00
Michael Nedzelsky 83502506ba convert KotlinJpsBuildTest to Kotlin: step 1: rename
Original commit: 13bda2de44
2015-07-03 16:14:01 +03:00
Michael Nedzelsky af93b58c86 convert KotlinJpsBuildTest to Kotlin: step 1: convert body
Original commit: e09411f45f
2015-07-03 16:13:58 +03:00
Pavel V. Talanov dbe85daeac Move CompilationCanceledStatus and related utils to "util" module
It should not be in "frontend" since "jps bare plugin" artifact does not include "frontend" module

Original commit: 15a4782a0c
2015-07-01 21:21:35 +03:00
Ilya Gorbunov 89086cc771 Compiler&plugin deprecations cleanup: string operations.
Original commit: 6d4e48ab9a
2015-06-29 17:06:43 +03:00
Ilya Gorbunov b2222119e0 Compiler&plugin deprecations cleanup: length, size, indices, tail and other collection operations.
Original commit: 32144257ec
2015-06-29 17:06:28 +03:00
Ilya Gorbunov 85230d7071 Compiler&plugin deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray.
Original commit: 2c31a1a345
2015-06-29 17:06:12 +03:00
Michael Nedzelsky e29047d719 add support for cancel compilation from IDE
#KT-8158 Fixed

Original commit: c462d23a0e
2015-06-29 16:41:16 +03:00
Evgeny Gerashchenko 1bf9e7abcc Made it possible to easily enable debug logging in incremental compilation tests.
Original commit: 041df7fd15
2015-06-24 18:01:51 +03:00
Evgeny Gerashchenko f81eaac347 Added extra logging in incremental cache and Kotlin Builder.
Original commit: 23eab73507
2015-06-24 18:01:51 +03:00
Evgeny Gerashchenko d54b977c2c If KotlinBuilder throws exception, user can see its stacktrace and report by one-click.
Original commit: 7511b5bafe
2015-06-17 13:14:06 +03:00
Alexander Udalov 8c5e706092 CLI: improve diagnostic message format
- render the whole line where the error/warning points to, if any, and another
  line with '^', like other compilers do
- lowercase diagnostic severity
- decapitalize the message if it doesn't start with a proper name

Original commit: 54dfd626ab
2015-06-15 15:42:41 +03:00
Alexander Udalov b70bdc75cf Convert CompilerMessageLocation to Kotlin
Original commit: 6083a18ce1
2015-06-15 15:42:40 +03:00
Denis Zharkov 9a0e5c9185 Add 'constructor' keyword in whole project where needed
Original commit: eb7114bd53
2015-06-12 09:55:15 +03:00
Denis Zharkov 2293c9852a Adjust testData: get rid of obsolete annotations
Original commit: c9f79c2d05
2015-06-12 09:23:31 +03:00
Evgeny Gerashchenko 20622ebe51 Allowed accessing private members from same package, but different package fragment instance.
Original commit: 0ddfedba49
2015-06-11 18:58:32 +03:00
Evgeny Gerashchenko 2c8e8c36cb Incremented cache format version: package part hashes changed.
Original commit: 4461687ae3
2015-06-11 16:48:27 +03:00
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