Commit Graph

33916 Commits

Author SHA1 Message Date
Ilya Gorbunov 38f030dce4 Split AbstractMap into readonly and mutable. 2016-09-28 22:06:03 +03:00
Ilya Gorbunov a5c0f11d60 Split AbstractCollection, List, Set in JS to readonly Abstract[Collection] and mutable AbstractMutable[Collection].
Update compatibility type aliases.
2016-09-28 22:06:03 +03:00
Ilya Gorbunov 2bb1d6d5b4 Provide implementation of read-only AbstractCollection, AbstractList and AbstractSet,
Alias AbstactMutableCollection to java.util.AbstractCollection.
Change inheritance hierarchy of reversed list views.
2016-09-28 22:06:03 +03:00
Dmitry Jemerov 53cd079333 download each IDEA version into separate directory 2016-09-28 14:42:38 +02:00
Simon Ogorodnik 18feb8f622 Return Kotlin fields and methods through KotlinShortNameCache
#KT-12205 Fixed
2016-09-28 13:36:20 +02:00
Simon Ogorodnik b06bdcef75 Now possible to use // WITH_RUNTIME in multi file tests 2016-09-28 13:36:07 +02:00
Denis Zharkov da2ebb1394 Revert erroneously applied changes in ChangeLog.md 2016-09-28 14:26:31 +03:00
Denis Zharkov d5fd62fb40 Update 1.1-M02 section in ChangeLog.md 2016-09-28 14:20:29 +03:00
Dmitry Jemerov a1acd04365 access archive.apache.org via plain HTTP 2016-09-28 10:52:42 +02:00
Denis Zharkov bb1b8cca20 Fix AssertionError in CodegenUtil.getDelegates
Change getAllOverriddenDescriptors contracti, now it returns
original (not substituted) descriptors without any duplicates.

First of all it's necessary in CodegenUtil.getDelegates to avoid
duplicates (see assertion there), but also it's convenient for all
other usages of this method

 #KT-8154 Fixed
2016-09-28 11:40:35 +03:00
Denis Zharkov 49fee026fc Minor. Simplify CodegenUtil.getDelegates 2016-09-28 11:40:20 +03:00
Denis Zharkov 567b0cc8ea Add a couple of covariant necessary overrides
They become unavoidable after checking override conflicts
for delegation members
2016-09-28 11:40:20 +03:00
Denis Zharkov c884cffeea Prohibit return type mismatch for delegation members
#KT-13952 Fixed
 #KT-13005 Fixed
2016-09-28 11:40:20 +03:00
Denis Zharkov ddb7a6aa13 Minor. Extract subinterface for specific strategy
It contains only methods related to explicitly declared overrides
2016-09-28 11:40:20 +03:00
Dmitry Jemerov 0daa2d872a go back to archive.apache.org for Ant downloads 2016-09-28 10:30:56 +02:00
Alexey Sedunov 956c6eeec7 Push Down: Support moving members from Java to Kotlin class
#KT-9485 Fixed
2016-09-27 21:26:31 +03:00
Alexey Sedunov 924bb44862 Pull Up/Push Down/Extract Super: Support references to Java-declared superinterfaces 2016-09-27 21:26:30 +03:00
Alexey Sedunov 22271f0af0 Pull Up/Push Down/Extract Super: Show member dependencies in the refactoring dialog 2016-09-27 21:26:29 +03:00
Alexey Sedunov 8a5628cde5 Pull Up/Extract Super: Support members declared in the companion object of the original class 2016-09-27 21:26:28 +03:00
Alexey Sedunov 982d4d4ead Pull Up/Extract Super: Support properties declared in the primary constructor 2016-09-27 21:26:27 +03:00
shiraji 3aedf0d79f Add intention to replace Math.max/min with coerceAtLeast/coerceAtMost #KT-13945 Fixed 2016-09-27 20:05:11 +03:00
Mikhail Glukhikh 4522d2c7da Remove unnecessary lateinit intention / inspection removed (supported in compiler CFA instead)
(cherry picked from commit e17f222)
2016-09-27 18:49:51 +03:00
Mikhail Glukhikh 67cc83af05 Quick-fix for UNNECESSARY_LATEINIT
(cherry picked from commit 77f7bb0)
2016-09-27 18:49:13 +03:00
Mikhail Glukhikh 025d063b27 UNNECESSARY_LATEINIT: do not report if property is not initialized at use-site #KT-13806 Fixed
(cherry picked from commit 09c0865)
2016-09-27 18:49:02 +03:00
Mikhail Glukhikh 4da9a101cf UNNECESSARY_LATEINIT warning introduced #KT-13295 Fixed
(cherry picked from commit 88f9938)
2016-09-27 18:48:50 +03:00
Valentin Kipyatkov b0ed6adce3 Fixed wrong test 2016-09-27 18:05:26 +03:00
Valentin Kipyatkov 6baf633a8d Fixed bug found because of incorrect test fixed 2016-09-27 18:05:26 +03:00
Valentin Kipyatkov 21c2268f70 Protection against "<caret>" missing in test data
Many incorrect tests fixed
2016-09-27 18:05:26 +03:00
Valentin Kipyatkov be8b31e82b Removed redundant and confusing .after files in negative tests 2016-09-27 18:05:26 +03:00
Valentin Kipyatkov 038068aa44 KT-13953 Import member popup should not suggest methods when only property or variable is valid
#KT-13953 Fixed
2016-09-27 18:05:25 +03:00
Dmitry Jemerov e30c211b3e use plain HTTP for downloading AntForKotlin 2016-09-27 16:17:21 +02:00
Alexey Sedunov d6b14ce480 Minor: Fix changelog 2016-09-27 13:27:57 +03:00
Alexey Sedunov ca482c32c6 Introduce Variable: Fix exception on trying to extract variable of functional type
#KT-14004 Fixed
2016-09-27 13:27:56 +03:00
Alexey Sedunov 06936328ab Remove Redundant Receiver Parameter: Do not run refactoring inside write action
#KT-13878 Fixed
2016-09-27 13:27:55 +03:00
Alexey Sedunov 698660b9c6 Find Usages: Add special type for usages inside of type aliases
#KT-13955 Fixed
2016-09-27 13:27:54 +03:00
Alexey Sedunov 3adbe5515e Minor: Get rid of deprecated (as of IDEA 2016.2) method calls 2016-09-27 13:27:53 +03:00
Pavel V. Talanov b275dacad8 Light classes: getOwnInnerClasses() filters out inner classes with null names
#KT-13927 Fixed
2016-09-26 19:51:57 +03:00
Pavel V. Talanov 827b56e277 Navigation to binaries: support navigation to type alias constructors
#KT-13479 Fixed
2016-09-26 18:34:19 +03:00
Pavel V. Talanov 24d805d2c1 Minor: remove code commited by mistake 2016-09-26 14:46:39 +03:00
Pavel V. Talanov 32daf048c2 PlatformConfigurator: create container for each platform (it contains static services, mostly checkers) ahead of time 2016-09-26 14:42:57 +03:00
Pavel V. Talanov be00a6ec49 StorageComponentContainer: allow to specify parent container which can be reused to provide components to several child containers 2016-09-26 14:35:37 +03:00
Simon Ogorodnik 47bfb8133d KT-13146 J2K recursion while converting self-referenced anonymous functions (#956) 2016-09-26 13:47:31 +03:00
Alexander Udalov 33d33ab144 Exclude additional tests from Android codegen test runner 2016-09-24 11:31:59 +03:00
Alexander Udalov 9bc6d6ae92 Remove recursion workaround from DeprecatedClassifierUsageChecker 2016-09-24 11:26:57 +03:00
Alexander Udalov dca99c3fd2 Move ClassifierUsageChecker invocation lower in LazyTopDownAnalyzer
Invoking checkers right after resolution of qualified expressions is too early:
DeprecatedClassifierUsageChecker tries to load the annotations of a referenced
classifier to report deprecation, and that may result in building light classes
for not yet analyzed declarations

 #KT-13954 Fixed
2016-09-24 11:26:56 +03:00
Ilya Gorbunov 35839695f7 Fix decompiled text consistency test to handle type aliases in JS.
by Alexey Andreev <Alexey.Andreev@jetbrains.com>
2016-09-24 07:08:21 +03:00
Ilya Gorbunov c508f75de4 Test data: change fully qualified type so that it's available as type (and not an alias) in both jvm and js runtimes to have the same output. 2016-09-24 07:08:21 +03:00
Ilya Gorbunov ed70d1dfa6 Provide type aliases for collections in java.util to ease migration. 2016-09-24 07:08:21 +03:00
Ilya Gorbunov b741c82a66 Fix completion tests after moving collection types in JS 2016-09-24 07:08:21 +03:00
Ilya Gorbunov bf56f04368 Simplify Kotlin.collectionsSort as it always being provided with MutableList. 2016-09-24 07:08:21 +03:00