Commit Graph

23016 Commits

Author SHA1 Message Date
Denis Zharkov 8c6264bf2c Pull constructor-related methods from JetClass to JetClassOrObject 2015-06-02 13:18:53 +03:00
Denis Zharkov 51534f4592 Make JetClassOrObject an abstract class implementing common methods 2015-06-02 13:18:52 +03:00
Denis Zharkov 5b1a5deae4 Convert JetClassOrObject and inheritors: J2K 2015-06-02 13:18:52 +03:00
Denis Zharkov bfa667f569 Convert JetClassOrObject and inheritors: .java -> .kt 2015-06-02 13:18:52 +03:00
Dmitry Jemerov cb6ddc5db3 correctly check if we need to process deferred types in body resolver 2015-06-02 11:58:33 +02:00
Dmitry Jemerov 22168aa026 optimize DescriptorUtils.getContainingModuleOrNull() by removing duplicate parent traversal and Class.isInstance() checks 2015-06-02 11:55:16 +02:00
Dmitry Jemerov 252ddf4e2e delete unused interface KeyNormalizer 2015-06-02 11:52:42 +02:00
Alexander Udalov d2508c8710 Do not report irrelevant diagnostics on unresolved supertypes
Previously the confusing "trait with superclass" was reported when an
unresolved classifier appeared in interface supertypes
2015-06-02 12:30:14 +03:00
Alexander Udalov 23670292d6 Minor, drop unused properties in libraries/pom.xml
Also regroup for clarity
2015-06-02 11:12:09 +03:00
Alexander Udalov 9cc156c67f Copy kotlin-reflect.jar from dist to publish to Maven
Also build sources jar in build.xml to publish as kotlin-reflect's sources, and
create an empty javadoc
2015-06-02 11:12:09 +03:00
Alexander Udalov ee811136d2 Minor, update URL and fix typo in maven project description 2015-06-02 11:12:08 +03:00
Alexander Udalov c830eee453 Add kotlin-reflect.jar to targets in build.xml 2015-06-02 11:12:08 +03:00
Mikhail Glukhikh 9295624378 Unused imports removed 2015-06-02 11:11:19 +03:00
Mikhail Glukhikh dea2ec9da6 When now tries to smart cast subject to not-null if contains no null case #KT-7857 Fixed
Some new tests + some fixed tests
2015-06-02 10:56:21 +03:00
Mikhail Glukhikh de12771c0f Warning generation on non-exhaustive whens over enums + a set of tests + fixed test #KT-6227 Fixed 2015-06-02 10:56:17 +03:00
Mikhail Glukhikh 969993bd09 Fix for EA-68871 #EA-68871 Fixed 2015-06-02 10:56:13 +03:00
Alexander Udalov bd17db6f3e Delete TeamCityPluginPublisher.xml and run configuration on TC
The run configuration is not used anymore because we have branches which run
tests against different IDEA versions, and also IDEA master runs the plugin
verifier with the Kotlin plugin
2015-06-01 19:23:12 +03:00
Alexander Udalov 06dafef4cc Add test on no 'kotlin.reflect.jvm.internal.impl' package in project code 2015-06-01 19:23:11 +03:00
Alexander Udalov 9cd835a5f8 Refactor and optimize JetCodeConformanceTest
Combine all tests that iterate over all files in the project. This should speed
up the test substantially, especially on slow file systems
2015-06-01 19:23:11 +03:00
Alexander Udalov 41d2e378f8 Convert JetCodeConformanceTest to Kotlin: prettify 2015-06-01 19:23:11 +03:00
Alexander Udalov fca662af91 Convert JetCodeConformanceTest to Kotlin: invoke J2K 2015-06-01 19:23:10 +03:00
Alexander Udalov 8cf04ce966 Convert JetCodeConformanceTest to Kotlin: move .java -> .kt 2015-06-01 19:23:10 +03:00
Alexander Udalov 12a6461006 Report 'free function called as extension' on Function subclasses
You can't make a value of some type invokable as an extension by adding
'extension' annotation to the type
2015-06-01 19:23:10 +03:00
Alexander Udalov 596d378962 Fix abstract method error: implement arity in function references 2015-06-01 19:23:09 +03:00
Alexander Udalov 803fb82b8b Minor, move compiler.pro out of project root 2015-06-01 19:23:09 +03:00
Alexander Udalov 28addcf8e7 Do not generate annotations of method parameters on its $default synthetic method
#KT-7892 Fixed
2015-06-01 19:23:08 +03:00
Alexander Udalov 4f77b44ac3 Minor, move constant to the proper place 2015-06-01 19:23:08 +03:00
Alexander Udalov df4d5a3ae2 Fix initialization order of enum entries and companion
#KT-5761 Fixed
2015-06-01 19:23:08 +03:00
Alexander Udalov 7ba0dda29c Check compileJavaAgainstKotlin tests with .txt files 2015-06-01 19:23:07 +03:00
Evgeny Gerashchenko cab8f583a8 Minor. Renamed test. 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 bd8e907809 Minor. Moved file to separate package to avoid clashing between tests and sources 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 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 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 37d6c9bf25 Minor. Fixed typo in test data. 2015-06-01 19:02:11 +03:00
Valentin Kipyatkov ad624d60ec ConvertFunctionToPropertyIntention and ConvertPropertyToFunctionIntention made low priority 2015-06-01 18:23:35 +03:00
Valentin Kipyatkov 8fd6a64be9 Refactored methods for val/var in PSI 2015-06-01 18:23:34 +03:00
Valentin Kipyatkov 034b74d3e5 Rewritten ChangeVariableMutabilityFix
#KT-7877 Fixed
2015-06-01 18:23:34 +03:00
Valentin Kipyatkov d74ac4d08a Override/implement members dialog: no qualified type names in signatures but qualified owner class names (+ moved a method) 2015-06-01 18:23:34 +03:00
Yan Zhulanow 54b3fc9e37 Do not bundle annotation collector plugin into IDE plugin 2015-06-01 17:28:03 +03:00
Pavel V. Talanov d531641459 Fix ReplaceWithOperatorAssignmentIntention in some cases
#KT-7831 Fixed
2015-06-01 15:52:52 +03:00
Natalia Ukhorskaya 1334f0352b Support com.android.tools.build.gradle 1.3.0-beta1
#KT-7884 Fixed
2015-06-01 14:00:57 +03:00
Natalia Ukhorskaya 31db945110 Fix navigation to file from "breakpoint reached at" info 2015-06-01 14:00:56 +03:00
Zalim Bashorov 746b16fce3 Don't include test data in the language statistic for a repository 2015-06-01 12:47:29 +03:00
Ilya Gorbunov 64b2e37436 Deprecate meaningless or vague-defined operations with Char operands: downTo. 2015-06-01 00:55:45 +03:00
Alexey Sedunov 8a751ad74a Call Hierachy: Fix NPE
#EA-67995 Fixed
2015-05-30 18:16:26 +03:00
Alexey Sedunov 26c4efb587 Light Elements: Filter out nulls when converting Kotlin declarations to corresponding light elements
#EA-64403 Fixed
2015-05-30 18:16:25 +03:00