Commit Graph
100 Commits
Author SHA1 Message Date
Evgeny Gerashchenko c242ad94fd Minor. Syntax error cosmetics. 2016-01-29 01:00:47 +03:00
Evgeny Gerashchenko 0d79c65d73 KT-8275 Unterminated multi-line comment should be compilation error
#KT-8275 fixed
2016-01-29 01:00:47 +03:00
Evgeny Gerashchenko 9aa38d99fb KT-8365 Bogus "Receiver never used" warning when receiver is used in invoke() convention call
#KT-8365 fixed
2015-12-17 13:31:43 +03:00
Evgeny Gerashchenko 2e6d82a72b Minor. Green code. 2015-12-17 13:06:27 +03:00
Evgeny Gerashchenko 4b6991603f Minor. Split test file into two. 2015-08-15 12:29:46 +02:00
Evgeny Gerashchenko 799368386b KT-6877 Wrong unused function inspection on anonymous object member
#KT-6877 fixed
2015-08-15 12:29:46 +02:00
Evgeny Gerashchenko da4be8a0f5 KT-7484 Companion object is marked unused if it's only usages are statically imported from Java
#KT-7484 fixed
2015-08-15 12:29:44 +02:00
Evgeny Gerashchenko 3a4010503e Minor. Renamed test data dir. 2015-08-15 12:29:43 +02:00
Evgeny Gerashchenko fe1d4e38b3 KT-8273 Don't mark serialVersionUID as unused
#KT-8273 fixed
2015-08-15 12:29:42 +02:00
Evgeny Gerashchenko 50dbf080f7 Test for KT-2082 Missing 'Unused expression' warning
#KT-2082 obsolete
2015-08-15 12:29:41 +02:00
Evgeny Gerashchenko 1cf433909b Test for KT-7134 Command line entry point (main function is highlighted as unused)
#KT-7134 obsolete
2015-08-15 12:29:12 +02:00
Evgeny Gerashchenko 1346d98bf3 Merge pull request #721 from JetBrains/rr/yole/unwhatever
don't use "whatever" as implementation of getFamilyName(), provide co…
2015-07-13 19:18:35 +03:00
Evgeny Gerashchenko 60a3ab548c Moved filtering of excluded symbols to KotlinIndicesHelper 2015-07-08 15:30:29 +03:00
Evgeny Gerashchenko 0d5dbdfa0c Added completion action to exclude classes/packages.
#KT-2413 fixed
2015-07-08 14:28:39 +03:00
Evgeny Gerashchenko b98aa76325 Added completion action to exclude classes/packages.
#KT-2413 fixed
2015-07-08 14:28:39 +03:00
Evgeny Gerashchenko 0451debda4 Supported excluded packages/classes in completion.
#KT-2413 in progress
2015-07-08 14:28:38 +03:00
Evgeny Gerashchenko 5c56bc455e Supported excluded packages/classes in auto-import quick fix.
#KT-2413 in progress
2015-07-08 14:28:37 +03:00
Evgeny Gerashchenko 2a0817a4d1 Minor. Added word to dictionary. 2015-07-08 14:27:39 +03:00
Evgeny Gerashchenko 01b83b3e3e Minor. Fixed test data. 2015-07-03 19:48:01 +04:00
Evgeny Gerashchenko aa65eb1055 More proper fix for KT-8137/EA-69470: avoiding failed assertion when searching usages of parameter of local class constructor
KT-8137 AE at JetSourceNavigationHelper.convertNamedClassOrObject() on function local class with several constructor parameters

 #KT-8137 fixed
 #EA-69470 fixed
2015-07-03 16:00:06 +03:00
Evgeny Gerashchenko 8e3dd54477 Minor. Converted class with class object to object. 2015-07-01 21:21:35 +03:00
Evgeny Gerashchenko 8fcbd44ad4 KT-8137 AE at JetSourceNavigationHelper.convertNamedClassOrObject() on function local class with several constructor parameters
#KT-8137
 #EA-69470 fixed
2015-07-01 19:43:54 +03:00
Evgeny Gerashchenko 560654744c Checking exceptions in other threads. E.g. inspections pass thread. 2015-07-01 19:43:54 +03:00
Evgeny Gerashchenko 55dad40650 Added reflect.jar as dependency for proguard. Fixed build. 2015-06-24 20:51:17 +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 041df7fd15 Made it possible to easily enable debug logging in incremental compilation tests. 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 23eab73507 Added extra logging in incremental cache and Kotlin Builder. 2015-06-24 18:01:51 +03:00
Evgeny Gerashchenko 2820dbf181 Removed workaround for exception in IDEA. 2015-06-23 15:59:36 +03:00
Evgeny Gerashchenko b068a1dd5f Added test for implicit receiver in class. 2015-06-17 13:14:07 +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
Evgeny Gerashchenko 154b0d8351 KT-7899 "Do not check if annotated by" setting for "Unused symbol" doesn't affect properties
#KT-7899 fixed
2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko cc70ea2586 KT-7883 Receiver parameter falsely marked as unused
#KT-7883 fixed
2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko 7511b5bafe If KotlinBuilder throws exception, user can see its stacktrace and report by one-click. 2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko 88f2a4be52 KT-7651 IllegalArgumentException on attempt to rename class when it has anonymous subclasses
#KT-7651 fixed
 #EA-69049 fixed
2015-06-17 13:14:06 +03:00
Evgeny Gerashchenko 985b8c0ba6 KT-8042 ISE at KotlinHighlightExitPointsHandlerFactory.createHighlightUsagesHandler() on typing a function name starting with throw
#KT-8042 fixed
 #EA-68157 fixed
2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko 0dd151142d KT-3639 Can't find sources of AbstractIterator when navigating from stack strace
#KT-3639 fixed
2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko 811fed547b Convert to Kotlin, cleanup. 2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko cea0ffa3b7 Convert to Kotlin, auto-convert. 2015-06-17 13:14:05 +03:00
Evgeny Gerashchenko 254c58f9e4 Convert to Kotlin, rename. 2015-06-17 13:14:05 +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 0ddfedba49 Allowed accessing private members from same package, but different package fragment instance. 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 4461687ae3 Incremented cache format version: package part hashes changed. 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 e6bb501c1a Enabled rebuilding when enabling/disabling incremental compilation in IDEA. 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 4c6fcef221 Disable access to incremental caches when incremental compilation mode is disabled. 2015-06-09 20:03:21 +03:00
Evgeny Gerashchenko c48378260e 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 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 959364aa77 Fixed sticking of incremental cache data when case of file path is changed. 2015-06-09 20:03:20 +03:00
Evgeny Gerashchenko c194ced87e Performance report is emitted only when corresponding command-line argument is provided. 2015-06-04 19:45:01 +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 0bf249d6ae Do not recompile module when anonymous object or local class is changed. 2015-06-04 17:50:14 +03:00
Evgeny Gerashchenko 6403ef39eb KT-7521 Compilation problem of dependent modules with different jdks
#KT-7521 fixed
2015-06-04 17:50:13 +03:00
Evgeny Gerashchenko f8faa92e0f Minor. Renamed test.
Original commit: cab8f583a8
2015-06-01 19:02:13 +03:00
Evgeny Gerashchenko cab8f583a8 Minor. Renamed test. 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 88e8988b18 Stabilized order of bytecode for when mappings initialization. 2015-06-01 19:02:13 +03:00
Evgeny Gerashchenko b94665e948 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.
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 bd8e907809 Minor. Moved file to separate package to avoid clashing between tests and sources 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 beb099fc12 Made incremental compilation enabled by default in IDEA settings. 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 36915bf846 Enabled incremental compilation by default. 2015-06-01 19:02:12 +03:00
Evgeny Gerashchenko fe3437e8a1 Fixed iml files in test data. Order entry for own sources is obligatory. 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 7de531fe09 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. 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
Evgeny Gerashchenko 37d6c9bf25 Minor. Fixed typo in test data. 2015-06-01 19:02:11 +03:00
Evgeny Gerashchenko 88021ffc73 KT-7381 Receiver parameter is never used for native extension function
#KT-7381 fixed
2015-05-27 16:07:09 +03:00
Evgeny Gerashchenko 2a23bc79f3 KT-7256 False "Receiver parameter not used" for property with delegation
#KT-7256 fixed
2015-05-27 16:07:09 +03:00
Evgeny Gerashchenko 0488229a61 KT-7693 Unused constructor parameter is not detected if class is constructed with named argument
#KT-7693 fixed
2015-05-25 18:33:08 +03:00
Evgeny Gerashchenko a5da64bd4f Don't ask user to choose method for renaming parameter when it is changed in overridden function. 2015-05-22 17:18:09 +03:00
Evgeny Gerashchenko 24c533df32 KT-6285 Rename refactoring doesn't rename named arguments when rename function parameters or private val/var constructor parameters
Just added test. Works automatically since rename parameter now delegates to change signature.

 #KT-6285 fixed
2015-05-22 17:18:08 +03:00
Evgeny Gerashchenko 2568fc92cb Supported Kotlin in Java's automatic parameter renamer. 2015-05-22 17:18:07 +03:00
Evgeny Gerashchenko 1e46469bb1 Automatic renaming parameter in hierarchy. 2015-05-22 17:18:06 +03:00
Evgeny Gerashchenko 9b28609d57 Optimized matchesTarget for "(" references 2015-05-22 14:33:11 +03:00
Evgeny Gerashchenko e50de5d94d KT-7730 Find Usages causes 100% CPU usage, UI blocked, never returned
KT-7623 Renaming val constructor parameter of a data class is very slow

 #KT-7730 fixed
 #KT-7730 fixed
2015-05-22 14:33:11 +03:00
Evgeny Gerashchenko 7dbc08f048 Moved util function to util package. Also to avoid top-level functions in same package of different targets. 2015-05-20 15:48:07 +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
Evgeny Gerashchenko a93cc083d6 Don't try to find local descriptors in decompiled classes. 2015-05-14 21:51:08 +03:00
Evgeny Gerashchenko 0498bd7739 KT-7587 Overloads are not generated during partial compilation of package
#KT-7587 fixed
2015-05-14 21:51:08 +03:00
Evgeny Gerashchenko ca883d8117 Green code. 2015-05-14 21:51:08 +03:00
Evgeny Gerashchenko 533935f2c0 KT-7472 function of anonymous class is never used
#KT-7472 fixed
2015-05-14 21:51:07 +03:00
Evgeny Gerashchenko f00d96d67a Merge pull request #669 from JetBrains/rr/nik
use API class instead of impl to create Java SDK
2015-05-14 21:50:10 +04:00
Evgeny Gerashchenko f5677d8424 Converted JetPsiUtil.getElementTextWithContext() to Kotlin extension function. 2015-04-22 14:10:00 +03:00
Evgeny Gerashchenko 9a4fbd35bd Supported Kotlin usages of Java class in automatic variable renamer. 2015-04-22 11:33:28 +03:00
Evgeny Gerashchenko a9f9ca4ccb Supported Java usages in automatic variable renamer. 2015-04-22 11:33:27 +03:00
Evgeny Gerashchenko 3897548204 Minor. More post-conversion code cleanup. 2015-04-22 11:33:27 +03:00
Evgeny Gerashchenko f7f90c8592 Minor. Renamed misleading function. 2015-04-22 11:33:27 +03:00
Evgeny Gerashchenko 5eadf4db17 Minor. Moved stuff from companion object to top-level. 2015-04-22 11:33:26 +03:00
Evgeny Gerashchenko 11020cacfd Renamed JetLineMarkerProvider to KotlinLineMarkerProvider. 2015-04-22 11:33:26 +03:00
Evgeny Gerashchenko 04e438f4f8 Post-conversion code cleanup. 2015-04-22 11:33:26 +03:00
Evgeny Gerashchenko 94311f262b Moved JetLineMarkerProvider. 2015-04-22 11:33:26 +03:00
Evgeny Gerashchenko de9b26ac77 Convert JetLineMakerProvider to Kotlin. Auto-convert. 2015-04-22 11:33:25 +03:00
Evgeny Gerashchenko 09cff44207 Automatic renaming overloads in class or object.
#KT-4642 fixed
2015-04-22 11:33:25 +03:00
Evgeny Gerashchenko d383e03a81 Automatic renaming top-level overloads.
#KT-4642 in progress
2015-04-22 11:33:25 +03:00
Evgeny Gerashchenko 8fe3a1d366 Added test for inheritor renamer (Kotlin subclasses of Java class). 2015-04-22 11:33:25 +03:00