Commit Graph

16258 Commits

Author SHA1 Message Date
Ilya Ryzhenkov 516bae17d7 StringBuilder builder and appendln 2014-06-24 23:49:15 +04:00
Ilya Ryzhenkov 0717511abe Substring and replace before/after first/last occurrence of delimiter. 2014-06-24 23:49:15 +04:00
Evgeny Gerashchenko 1ce0e6cd3e Added exceptions for proguard: constants are used in JPS plugin. 2014-06-24 22:19:12 +04:00
Evgeny Gerashchenko ca4ac43add Added tests with class referenced from proto. 2014-06-24 22:18:19 +04:00
Evgeny Gerashchenko 8479ca76b0 Added clearing proto data in incremental cache. 2014-06-24 22:18:18 +04:00
Evgeny Gerashchenko 471e3e80f2 Minor. Fixed mixed up error messages in test. 2014-06-24 22:18:18 +04:00
Evgeny Gerashchenko 5c49eb0a54 Writing class names in proto map (to avoid ambiguities) 2014-06-24 22:18:17 +04:00
Evgeny Gerashchenko fc7dceba5a Clearing constants data when removing file. 2014-06-24 22:18:16 +04:00
Evgeny Gerashchenko 9dd627a23d Removed ingoring files facility from incremental tests.
It is not necessary since script.xml are not generated in out directory anymore.
2014-06-24 22:18:16 +04:00
Evgeny Gerashchenko ab442754d6 Changing lastModified manually in case when it wasn't changed after file overwriting. 2014-06-24 22:18:15 +04:00
Evgeny Gerashchenko 3ee92da6f0 Added test with all types of constants. 2014-06-24 22:18:14 +04:00
Evgeny Gerashchenko bf442a9700 Fixed loading integral constants from compiled classes. 2014-06-24 22:18:13 +04:00
Evgeny Gerashchenko 111feb2574 Added tests with removing files and changing packages. 2014-06-24 22:18:11 +04:00
Evgeny Gerashchenko 7742755de4 Minor. Correct map with expected size creation. 2014-06-24 22:18:11 +04:00
zarechenskiy 0355b1bd53 Implement JavaTypeSubstitutor without PSI 2014-06-24 20:06:13 +04:00
Andrey Breslav 97b7768890 JetTypeChecker refactored: duplicate methods replaced by instance management 2014-06-24 19:13:01 +04:00
Andrey Breslav cd28b216c1 Rename. INSTANCE -> DEFAULT in JetTypeChecker 2014-06-24 19:13:01 +04:00
Andrey Breslav f26cad71d8 Useless final removed 2014-06-24 19:13:01 +04:00
Pavel V. Talanov 40a245a91f Hack to filter out irrelevant actions in quick fix tests output
Needed because of different behaviour locally and on build server
2014-06-24 16:37:45 +04:00
Pavel V. Talanov e3c170183e Fix invalid usage of descriptorToDeclaration in QuickFixUtil 2014-06-24 16:37:44 +04:00
Pavel V. Talanov 41dd12d46b Fix invalid usage of descriptorToDeclaration in QuickFixFactoryForTypeMismatchError 2014-06-24 16:37:44 +04:00
Svetlana Isakova 0673dc51d6 Test for KT-3162 More precise try-finally error marking
#KT-3162 Obsolete
2014-06-24 16:14:07 +04:00
Svetlana Isakova 6a4ccfd91d Store copies of instruction only once
removed reference to 'original' instruction
2014-06-24 16:14:07 +04:00
Svetlana Isakova ad83680666 Refactoring: changed methods order 2014-06-24 16:14:07 +04:00
Svetlana Isakova e4a0651224 Added 'markedAsDead' flag to InstructionImpl
to be used in tests
2014-06-24 16:14:07 +04:00
Svetlana Isakova 8680ff4e88 Do not mark comment next to reachable child as unreachable 2014-06-24 16:14:06 +04:00
Pavel V. Talanov eec6fbb205 Stubs: simplify JetStubElementType#shouldCreateStub() 2014-06-24 16:02:55 +04:00
Andrey Breslav 38d4ca5469 Do not generate @NotNull annotations on void- or primitive-returning methods
#KT-4834 Fixed
  #KT-5255 Fixed
2014-06-24 15:54:11 +04:00
Valentin Kipyatkov b6aff9e9ee Java to Kotlin converter: added test data file back 2014-06-24 00:48:14 +04:00
Valentin Kipyatkov 9f100df85f Java to Kotlin converter: deleted wrong test data file 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov e38b1b4fd8 Java to Kotlin converter: more cases when field can be declared as val 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov 5a8ab41948 Java to Kotlin converter: declare private field with no writes as val 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov 07bbab3ea0 Java to Kotlin converter: fixed bug 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov 04e2d3da58 Java to Kotlin converter: no explicit type for private and internal fields when possible 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov 9365741918 Renamed test data file 2014-06-24 00:48:13 +04:00
Valentin Kipyatkov 4e7c7fc625 Fixed KT-5299 J2K: When generating named this@type, do not insert FQN
#KT-5299 Fixed
2014-06-24 00:48:13 +04:00
Valentin Kipyatkov c458993fed Java to Kotlin converter: fixed bug with unnecessary "run { }" construct generated in loop body 2014-06-24 00:48:12 +04:00
Valentin Kipyatkov 0e9edb7487 Java to Kotlin converter: fixed a bug with incorrect assignment generation 2014-06-24 00:48:12 +04:00
Valentin Kipyatkov a28e7b0872 Java to Kotlin converter: minor code refactorings after code review 2014-06-24 00:48:12 +04:00
Valentin Kipyatkov 6135ea5603 Java to Kotlin converter: minor code refactoring 2014-06-24 00:48:12 +04:00
Valentin Kipyatkov 5ac762034a Java to Kotlin converter: correct nullability in signatures of overrides
#KT-5269 Fixed
2014-06-24 00:48:12 +04:00
Valentin Kipyatkov 2188af2bf9 Java to Kotlin converter: do not produce incorrect "code blocks" which are actually parsed as lambda's in Kotlin
#KT-4670 Fixed
2014-06-24 00:48:12 +04:00
Valentin Kipyatkov 116c27117f Java to Kotlin converter: better comments preserving, never lose any comment
#KT-4489 Fixed
2014-06-24 00:48:12 +04:00
Valentin Kipyatkov ef62600d5e Java to Kotlin converter: big refactoring of code generation to never allow end of line comments to stick together with further code
#KT-4421 Fixed
2014-06-24 00:48:11 +04:00
Valentin Kipyatkov 8b5f169dd8 Java to Kotlin converter: new way of preserving comments and blank lines implemented (not completely though) 2014-06-24 00:48:11 +04:00
Valentin Kipyatkov d01a2237b5 Java to Kotlin converter: working on not loosing comments - CommentConverter is passed when converting to Kotlin 2014-06-24 00:48:11 +04:00
Valentin Kipyatkov c4bac83cc9 Java to Kotlin converter: working on not loosing comments - Element made Class instead of Trait 2014-06-24 00:48:11 +04:00
Valentin Kipyatkov 600446bbd2 Java to Kotlin converter: working on not loosing comments - refactored redundant .toKotlin() calls 2014-06-24 00:48:11 +04:00
Valentin Kipyatkov 7463da8fe0 Java to Kotlin: dropped Node interface 2014-06-24 00:48:11 +04:00
Valentin Kipyatkov 0912001560 Fixed KT-5223 Converter from Java should convert "throws" in method declaration
#KT-5223 Fixed
2014-06-24 00:48:11 +04:00