Commit Graph

85 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 570e2c0a7e Added tests for removing files from package.
Original commit: f62842343d
2014-06-18 22:56:40 +04:00
Evgeny Gerashchenko cbffb4062a Supported multiple make iterations in incremental tests.
Original commit: 2a9721daf3
2014-06-18 22:56:40 +04:00
Evgeny Gerashchenko 48c842b931 Don't report package facade classes as output of sources without top-level members.
Original commit: b9f01a6397
2014-06-18 22:56:37 +04:00
Evgeny Gerashchenko a36e100d01 Checking for constants values in incremental compiler.
Original commit: e89b59a745
2014-06-18 22:56:37 +04:00
Evgeny Gerashchenko 375354e5ee Checking for changes in class proto.
Original commit: c4e167d7bc
2014-06-18 22:56:36 +04:00
Evgeny Gerashchenko 0188b02946 Rebuild only if proto changed.
Original commit: 018b58b51f
2014-06-18 22:56:35 +04:00
Evgeny Gerashchenko 2eb051dbc2 Loading descriptors from incremental cache instead of package classes.
Original commit: ca1ee69e4c
2014-06-18 22:56:33 +04:00
Evgeny Gerashchenko 6a0e54896d Extracted PackagePartClassUtils.
Original commit: 381e8bb205
2014-06-16 23:30:24 +04:00
Evgeny Gerashchenko 9676e8327d Don't report Kotlin JPS versions for modules without Kotlin.
Original commit: 2568bf6091
2014-06-05 20:59:07 +04:00
Evgeny Gerashchenko 7e115bd440 Saving module XMLs in temp directory instead of output.
Original commit: 3a2a3e7cd5
2014-06-05 20:59:06 +04:00
Evgeny Gerashchenko 292a3ca205 Corrected and simplified compilation of module chunk.
Original commit: 601a691e18
2014-06-04 15:34:17 +04:00
Evgeny Gerashchenko 178d7793e9 Renamed and refactored test.
Original commit: ad8affe07c
2014-06-04 11:36:42 +04:00
Andrey Breslav db8def641d Guard loading top-level classes with a check that they are not Kotlin binaries
Original commit: 291741754b
2014-05-14 17:15:01 +04:00
Nikolay Krasko 133413be57 Update to idea 135.666 EAP with asm5 library
Original commit: 95fd870988
2014-04-01 02:55:00 +04:00
Andrey Breslav dfc72a8784 Render file name and position in errors from JS library stubs
Original commit: bcc6843835
2014-03-28 13:18:46 +04:00
Evgeny Gerashchenko d1a14f1d78 Added incremental compilation flag. For publishing intermediate implementation.
Original commit: a502374a62
2014-03-25 14:34:53 +04:00
Evgeny Gerashchenko 06cb6eb030 Supported properties in partial compilation of package.
Original commit: 733de56178
2014-03-25 14:31:44 +04:00
Evgeny Gerashchenko e676bd841d Partial compilation of package (only functions supported).
Original commit: d62bc07437
2014-03-25 14:31:38 +04:00
Evgeny Gerashchenko cf1cf25cb4 Rendering class or package proto when JPS test fails.
Original commit: 5c8253c099
2014-03-25 14:26:48 +04:00
Evgeny Gerashchenko 02c0baf065 Checking class files contents after make and rebuild.
Original commit: e1a47deeae
2014-03-25 14:26:47 +04:00
Evgeny Gerashchenko 259d03198d Baby steps for incremental compilation.
Original commit: 5acd054c72
2014-03-25 14:26:47 +04:00
Evgeny Gerashchenko 7586056fed Moved general JPS test data to common directory.
Original commit: 9e22c29825
2014-03-25 14:26:47 +04:00
Alexander Udalov d17092b6e4 Move DebugProtoBuf to module "compiler-tests"
To help debug serialization-related code in compiler tests

Original commit: 64ac223895
2014-03-07 03:08:16 +04:00
Evgeny Gerashchenko a19d7c7542 Introduced protobuf generating script.
It generates two variants: lite (for runtime usage) and debug (for
tests).

Original commit: 846ee2c8ac
2014-02-13 20:46:28 +04:00
Andrey Breslav b1634905d4 Use Project SDK for jps-plugin
Original commit: 2c61ff9085
2014-01-20 20:12:17 +04:00
Andrey Breslav 1576c63073 Always use Project SDK
Original commit: 77c340d872
2014-01-20 20:08:28 +04:00
Andrey Breslav 27829c15e5 Fix for KT-4413 Do not add error types to supertype lists
The list is not filtered upon creation because it would force lazy types to compute

#KT-4413 Fixed

Original commit: 0155bf0189
2014-01-16 20:05:12 +04:00
Evgeny Gerashchenko b972ebe05b Got rid of "namespace" word in backend.
Original commit: 4239f5bb18
2014-01-14 18:06:47 +04:00
Zalim Bashorov f1af824e5d KotlinJpsBuildTestCase -> KotlinJpsBuildTest
Original commit: 8917bd0331
2013-11-12 20:34:23 +04:00
Zalim Bashorov c35258d34c JPS: add tests for: exclude in compiler settings, project with more then one file.
Original commit: 4fb995c50b
2013-11-12 20:33:05 +04:00
Zalim Bashorov 0ae7b9a6b0 JPS: ignore excluded directories and files in compilation.
#KT-4188 fixed

Original commit: b31e2d7421
2013-11-12 18:44:30 +04:00
Zalim Bashorov fcce7f25a7 JPS: revert KotlinBuilder changes for using dirty files, because it's wrong.
Original commit: 923fd74c0a
2013-11-12 18:44:30 +04:00
Zalim Bashorov a85a00f422 JPS: switched to use dirty files without incremental compilation (temporary hack for recompiling all).
Fixed compiling files from excluded directories.

Original commit: e5a58e0c70
2013-11-08 18:14:22 +04:00
Zalim Bashorov a5fbb9e61b Refresh FS after compilation for js and sourcemap files.
Original commit: 1409dd7812
2013-11-08 18:14:21 +04:00
Andrey Breslav 372c0e944b Do not use a method that is not present in some versions fo JPS
Original commit: b726b5070a
2013-10-31 18:31:00 +04:00
Zalim Bashorov 8489012277 Minor refactoring -- rename some classes and variables.
Original commit: da718af8b7
2013-10-24 19:06:07 +04:00
Zalim Bashorov 39172ceed6 Make private all fields in JpsKotlinCompilerSettings.
Original commit: 3f4cd455e2
2013-10-24 19:06:07 +04:00
Zalim Bashorov 107d804945 Added "Additional command line parameters" to the Kotlin Compiler Settings tab.
Original commit: faa82317b6
2013-10-24 18:37:00 +04:00
Zalim Bashorov bd486b1ac5 CLI & JPS: use List instead Set for libraries and decencies.
Original commit: 4d68262b7f
2013-10-24 18:36:59 +04:00
Andrey Breslav e77b4443b4 Ignore all output directories in a chunk
Otherwise the class files generated by previous builds for one of the targets in the chunk would interfere with source definitions, and we get overload resolution ambiguities and such

Original commit: aacf133ef6
2013-10-21 19:21:23 +04:00
Andrey Breslav 88c7255e2c Report correct build targets for outputs + tests on output removal
Original commit: 2a43d2adee
2013-10-21 19:21:23 +04:00
Andrey Breslav 5112c43501 Correctly report locations of output files
Original commit: c84e582397
2013-10-21 19:21:23 +04:00
Andrey Breslav 75f677e705 Check removed files as well as dirty ones
Original commit: 251c659e91
2013-10-21 19:21:22 +04:00
Andrey Breslav dd1dc67cfb Do not fail on bad Kotlin configuration if there are no Kotlin files
Original commit: 61270e8ee5
2013-10-18 12:23:07 +04:00
Zalim Bashorov 4e5b04ce1f CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes
Original commit: 31a4d91122
2013-10-16 17:39:49 +04:00
Zalim Bashorov 06549c6413 JPS: switch to using *CompilerArgument classes(from IDEA Project Settings) in build.
Original commit: 5e0ef68d64
2013-10-16 17:39:49 +04:00
Zalim Bashorov 5a0c58b72b JPS: removed unnecessary code for running compiler out of process.
Original commit: 41d0a8be24
2013-10-16 17:39:48 +04:00
Zalim Bashorov 2485f201d4 JPS: transferring compiler settings to the JPS
Original commit: 1176d58f40
2013-10-16 17:39:48 +04:00
Andrey Breslav e4f4619080 Support circular dependencies
We generate a module script with information on all modules in the chunk, then build the whole chunk as "one big module"

Original commit: 60425b15e6
2013-10-14 14:42:24 +04:00
Andrey Breslav e3cba725c8 Each module carries its output directory
Original commit: d4a89d04d7
2013-10-10 17:49:17 +04:00