Commit Graph

8828 Commits

Author SHA1 Message Date
Nikolay Krasko 63248ed5b6 Download idea-12 for verifying in publish 2012-12-07 15:23:03 +04:00
Nikolay Krasko c224b6441d KT-3133 Editor suggest to specify the package when it already has specified
Do not suggest imports in imports and in qualified names
 #KT-3133 Fixed
2012-12-07 14:50:22 +04:00
Evgeny Gerashchenko 1092164684 Generating Java to Kotlin method map along with injectors. 2012-12-07 14:41:59 +04:00
Evgeny Gerashchenko d349bca42c All methods of Printer return this (for chaining). 2012-12-07 14:41:58 +04:00
Evgeny Gerashchenko 6c6abab033 Supported propagation for Java subclass of Kotlin class. 2012-12-07 14:41:58 +04:00
Evgeny Gerashchenko 0bbc33755b Migrated CompileJavaAgainstKotlinTest to generated test framework. 2012-12-07 14:41:57 +04:00
Evgeny Gerashchenko 95c9c4c0c4 Fixed direction of substitution when checking bounds of type parameters. 2012-12-07 14:41:57 +04:00
Evgeny Gerashchenko d7624aa7b6 Enabled assert. 2012-12-07 14:41:56 +04:00
Evgeny Gerashchenko 5e86cbe004 Checking for return type in kotlin signature if have super methods. 2012-12-07 14:41:56 +04:00
Evgeny Gerashchenko 6975691e7a Supported cases with two superclasses when they have different variances. 2012-12-07 14:41:55 +04:00
Evgeny Gerashchenko 482d7813ee Updated testData after updating mockJdk. 2012-12-07 14:07:00 +04:00
Evgeny Gerashchenko db57ca2bf7 Minor. Useful toString in PsiMemberWrapper. 2012-12-07 14:07:00 +04:00
Andrey Breslav 74212bd2a4 Generate mockJDK from real JDK 2012-12-07 14:06:59 +04:00
Evgeny Gerashchenko 83d5b1e6a0 Supported propagation for subclass of j.u.Collection and similar classes. 2012-12-07 14:06:59 +04:00
Evgeny Gerashchenko 42fb53f488 Made some methods of JavaToKotlinClassMapBuilder protected. 2012-12-07 14:02:54 +04:00
Evgeny Gerashchenko 01b3d75374 Removing redundant projections when loading from Java. 2012-12-07 14:02:54 +04:00
Evgeny Gerashchenko 46a485da01 Supported star projection in alternative signatures. 2012-12-07 14:02:54 +04:00
Evgeny Gerashchenko 91825a404c Added test for loading Foo<?> type from Java. 2012-12-07 14:02:54 +04:00
Evgeny Gerashchenko 3d8b86040d Better output in failed test. 2012-12-07 14:02:54 +04:00
Evgeny Gerashchenko a4a7e5818c Merged similar methods into getVarargParameterType. 2012-12-07 14:02:54 +04:00
Natalia.Ukhorskaya a739964c74 Back-end: write correct visibility flags for private inner classes 2012-12-06 17:25:13 +04:00
Natalia.Ukhorskaya 17fa105116 Generate INVOKESPECIAL instruction for private method with default argument 2012-12-06 15:20:43 +04:00
Leonid Shalupov f9331407a5 reverting wrong pull request 148; to be discussed 2012-12-05 21:53:34 +04:00
Andrey Breslav 2948875cad QuickFix: adding <*> for 'raw' type inside javaClass() call 2012-12-05 21:15:30 +04:00
Andrey Breslav f0ce7ac33a Migrate to IDEA 123.67, Leda release 2012-12-05 20:21:31 +04:00
Leonid Shalupov c5c5c7f8bb Merge pull request #148 from marschall/dont-run-on-poms
Skip Plugin Exceution for POM Projects
2012-12-05 07:21:06 -08:00
Philippe Marschall 3a9ed81915 Skip Plugin Exceution for POM Projects
It's quite common to have a multi module project with a parent project
that has POM packaging. It would be quite convenient if the
kotlin-maven-plugin could be configured there instead of in each module.
Currently this is not possible because the plugin tries to execute on
POM projects with fails.

 - skip execution on POM projects
2012-12-05 15:17:46 +01:00
Andrey Breslav 932d29e2ef A case for extending a raw Comparator 2012-12-04 22:58:20 +04:00
Evgeny Gerashchenko aef96e93cf Using signature propagation only if function is owned by class. 2012-12-04 17:09:29 +04:00
Andrey Breslav f220024308 Attach asm sources to idea-full 2012-12-04 14:36:12 +04:00
Andrey Breslav 3549d50225 Migrate to IDEA 123.63 2012-12-04 14:20:49 +04:00
Andrey Breslav d9ddaf298b Download asm jars from Maven Central 2012-12-04 13:26:14 +04:00
Andrey Breslav b3265024ab list(), set() and map() -> listOf(), setOf() and mapOf() 2012-12-03 21:39:56 +04:00
Alexander Udalov 09161d41c9 Regenerate tests 2012-12-03 18:22:15 +04:00
Andrey Breslav 5f766aa33a list(), set() and map() introduced 2012-12-03 17:23:21 +04:00
Andrey Breslav 4084416d56 Remove 'inline' 2012-12-03 17:23:21 +04:00
Andrey Breslav 6ed2d1560c Move arrayList() to the top 2012-12-03 17:23:21 +04:00
Andrey Breslav 6df5e8b73a Deprecate confusing arrayList(), hashSet() and such. Introduce arrayListOf(...) ans such 2012-12-03 17:23:20 +04:00
Nikolay Krasko f28a4c5464 Proof test for recursion in lazy resolve when classes and properties are trying to be imported into file scope 2012-12-03 15:17:25 +04:00
Nikolay Krasko 5368e8cef3 Process imports for functioncs and properties in creating scope for file
during lazy resolve

Fix for "KT-3096 No completion in function literal" and "KT-3102 No
completion/auto-import for an extension method"

 #KT-3102 Fixed
 #KT-3096 Fixed
2012-12-03 15:17:24 +04:00
Andrey Breslav c9921a3699 Update for IDEA 123.45 2012-12-03 14:06:46 +04:00
Andrey Breslav 08a150b09e Don't run the builder if there's no dirty files 2012-12-03 14:06:46 +04:00
Natalia.Ukhorskaya ef52ce6b9b J2KTranslator: remove findRtJar method. Use PathUtil instead 2012-11-29 18:21:14 +04:00
Evgeny Gerashchenko 00873b6e8c Reverted loading arrays from java with 'out' projection kind as return value.
#KT-3065
2012-11-29 17:02:43 +04:00
Alexander Udalov fd0251729b Optimize primitive comparison operators codegen
They're no longer generated via intrinsics
2012-11-28 20:58:59 +04:00
Alexander Udalov fad9169005 Remove suspicious code from intrinsics 2012-11-28 20:17:01 +04:00
Nikolay Krasko 2dafbdc45a Ask for external annotation only while looking for nullability or kotlin signature annotation 2012-11-28 19:21:33 +04:00
Alexander Udalov c9bdfd2f07 Generate compareTo() properly
Take into account:
1) resolved call to compareTo (instead of always calling Comparable's method)
2) types of both caller and callee, when primitive, to avoid wrong casting
(instead of always using caller's type)

 #KT-3078 Fixed
2012-11-28 17:45:38 +04:00
Alexander Udalov 0c5960922a Refactor StackValue.coerce() 2012-11-28 17:41:38 +04:00
Alexander Udalov 9eecf22e15 Booleans are no longer Comparable 2012-11-28 17:41:36 +04:00