Commit Graph

108 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 42ad41f4d5 Changing lastModified manually in case when it wasn't changed after file overwriting.
Original commit: ab442754d6
2014-06-24 22:18:15 +04:00
Evgeny Gerashchenko ab55592b5e Added test with all types of constants.
Original commit: 3ee92da6f0
2014-06-24 22:18:14 +04:00
Evgeny Gerashchenko 4c8ff1616e Added tests with removing files and changing packages.
Original commit: 111feb2574
2014-06-24 22:18:11 +04:00
Evgeny Gerashchenko 29920360c1 Minor. Correct map with expected size creation.
Original commit: 7742755de4
2014-06-24 22:18:11 +04:00
Evgeny Gerashchenko 523e4d0294 Extracted package part map implementation to inner class.
Original commit: 27273deeda
2014-06-19 20:12:24 +04:00
Evgeny Gerashchenko c73cf30ca7 Extracted constants map implementation to inner class.
Original commit: 214c0fe4be
2014-06-19 20:12:24 +04:00
Evgeny Gerashchenko b218e9cc3d Extracted proto map implementation to inner class and simplified.
Original commit: 4e00df1fb4
2014-06-19 20:12:23 +04:00
Evgeny Gerashchenko ca6e2cbf90 Writing/reading constants map fully to avoid hash collisions.
Original commit: e1f6fc55c5
2014-06-19 19:25:42 +04:00
Evgeny Gerashchenko e6f2f89255 Generalized method name.
Original commit: 9f86441f95
2014-06-19 15:47:22 +04:00
Evgeny Gerashchenko fe3a02e750 Minor cleanup
Original commit: 54f140e9e4
2014-06-19 14:53:13 +04:00
Evgeny Gerashchenko 1308dd234a Processing all targets with removed files in chunk at once.
Original commit: 219475be71
2014-06-19 14:49:16 +04:00
Evgeny Gerashchenko 93af794841 Minor. Replaced first invocation of make() with initialMake() (for clearer stack trace).
Original commit: 6809befa3a
2014-06-19 14:37:55 +04:00
Evgeny Gerashchenko 06a5282da8 Added test with class signature unchanged.
Original commit: 7f1e99ecfd
2014-06-19 14:37:08 +04:00
Evgeny Gerashchenko 7c4fb68bad Minor. Regenerated tests.
Original commit: 15d9549477
2014-06-19 14:22:43 +04:00
Evgeny Gerashchenko 79e85edd3c Merge remote-tracking branch 'origin/master' into incremental
Original commit: aa41ae09ed
2014-06-19 11:43:59 +04:00
Evgeny Gerashchenko 88d9c5e328 Writing incrementalCache attribute to <modules> element of xml module script
Original commit: f6129732a2
2014-06-19 01:03:59 +04:00
Evgeny Gerashchenko 4134b94c35 Passing custom class loader for loading incremental cache implementation.
Original commit: d3e5790674
2014-06-18 22:56:44 +04:00
Evgeny Gerashchenko 06a2d64247 Simplified interface of IncrementalCache (depending on JDK only).
Original commit: 04f7ad450f
2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko 18c00c7b5e Extracted interface and moved implementation of IncrementalCache to jps-plugin, accessing cache via Java service loader.
Original commit: 07365dca1d
2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko f6147fcbcd Supported cases of removing source files from package fragment.
Original commit: 820bd911fb
2014-06-18 22:56:43 +04:00
Evgeny Gerashchenko 21ac2b80f5 Removing caches and rebuilding again in tests.
It helps to find cases when stuck data spoils compilation output.

Original commit: fddc8edc03
2014-06-18 22:56:42 +04:00
Evgeny Gerashchenko 8a67920c25 Made incremental compilation test auto-generated.
Original commit: 205f99bf60
2014-06-18 22:56:42 +04:00
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 e6366e41e4 KT-5244 Crash from Kotlin JPS plugin when creating module script
#KT-5244 fixed

Original commit: 976d5df1eb
2014-06-18 19:52:15 +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