Commit Graph

24975 Commits

Author SHA1 Message Date
Valentin Kipyatkov 9497856d8e KT-8868 "Implement members" generates unqualified reference for member class/interface
#KT-8868 Fixed
2015-08-27 23:21:21 +03:00
Valentin Kipyatkov 14763a7ffa Renames 2015-08-27 23:21:21 +03:00
Valentin Kipyatkov ba33c834c1 Add name to argument intention to work not only on the last argument 2015-08-27 23:21:20 +03:00
Dmitry Jemerov 5e1d8bc503 test for safe delete of data class parameter used as componentN() function in Kotlin code 2015-08-27 21:15:48 +02:00
Dmitry Jemerov 63d477e355 fix broken merge; support for renaming primary constructor parameter which declares an overridden property 2015-08-27 21:15:47 +02:00
Dmitry Jemerov 3e5c687e9d additional tests to verify that cases from KT-4793 are fixed
#KT-4793 Fixed
2015-08-27 21:15:47 +02:00
Dmitry Jemerov ef4b32db0d fix find usages and rename for primary constructor properties
#KT-8807 Fixed
2015-08-27 21:15:46 +02:00
Yan Zhulanow 0c87639514 Fix annotation list parsing: @identifier:[a b c] 2015-08-27 18:16:06 +03:00
Nikolay Krasko 440379dfad Add univeral targets for idea_continuous that can work not only in JB local network 2015-08-27 15:51:57 +03:00
Nikolay Krasko 53db747a55 Use local mirror for getting idea artifacts 2015-08-27 15:51:56 +03:00
Nikolay Krasko 75396ff7bb Remove deprecated targets 2015-08-27 15:51:55 +03:00
Nikolay Krasko a2f30f9619 Add simple pattern pre-check in hasMetadata() 2015-08-27 15:49:18 +03:00
Dmitry Jemerov 18223dfaaa update backing field references when renaming Kotlin property
#KT-7905 Fixed
2015-08-27 14:31:17 +02:00
Dmitry Jemerov 96f2257b23 disable rename refactoring for function literals (KT-8917) 2015-08-27 14:18:55 +02:00
Valentin Kipyatkov 9d7e6600d4 Got rid of allKotlinClasses() method 2015-08-27 13:34:33 +03:00
Valentin Kipyatkov 542fa34c2d KT-8680 Change priority of imported descriptors (user imports vs default imports)
#KT-8680 Fixed
2015-08-27 13:34:33 +03:00
Stanislav Erokhin d92e71861e Changed JetScope to LexicalScope in ClassDescriptorWithResolutionScopes and DeclarationScopeProvider 2015-08-27 12:01:13 +03:00
Stanislav Erokhin 47f88eb1c1 Created LexicalChainedScope and LexicalScopeImpl 2015-08-27 12:01:12 +03:00
Stanislav Erokhin 2a0159f23b Created JetScope.memberScopeAsFileScope() 2015-08-27 12:01:11 +03:00
Stanislav Erokhin aa3be395a4 Extract WritableScopeStorage from WritableScopeImpl 2015-08-27 12:01:10 +03:00
Stanislav Erokhin 40c3b03a54 Minor. Change return type for method WritableScope.changeLockLevel 2015-08-27 12:01:09 +03:00
Stanislav Erokhin 3152d722cd Fix bug in ScopeUtils. 2015-08-27 12:01:09 +03:00
Stanislav Erokhin aaebe70342 Improved logic of finding conflicts for refactoring actions 2015-08-27 12:01:08 +03:00
Stanislav Erokhin 9a435e332f Fix InnerClassesScopeWrapper - remove properties and functions from this scope. 2015-08-27 12:01:07 +03:00
Stanislav Erokhin 49b294b8b4 Move MutableClassDescriptor to backend module 2015-08-27 12:01:06 +03:00
Stanislav Erokhin a4599ef5e2 Clean up MutableClassDescriptor 2015-08-27 12:01:06 +03:00
Ilya Gorbunov 84d3d42e05 Replace deprecated reverse method usages. 2015-08-27 11:45:44 +03:00
Ilya Gorbunov ca798d8d71 Rename reverse to reversed.
#KT-8171
2015-08-27 11:45:30 +03:00
Alexander Udalov 56e12787a8 Fix exception on overridding var-property with a val constructor parameter
#KT-3810 Fixed
2015-08-27 10:23:49 +03:00
Alexander Udalov 59a15092da Drop old preloader command-line interface, use new one instead 2015-08-27 08:19:51 +03:00
Alexander Udalov 2a93629305 Render original descriptor in the deprecation warning
Otherwise it gets confusing when multiple instantiations of the same deprecated
symbol (e.g. javaClass<T>()) are diagnosed with different type arguments
2015-08-27 08:19:51 +03:00
Alexander Udalov 8d9618348d Move .java and .kotlin extension properties to kotlin.jvm
Delete the old ones in package kotlin.reflect.jvm because otherwise the code
using those functions will become red in a lot less meaningful way (overload
resolution ambiguity) than if they're deleted (unresolved import)

Based on the work originally done by @dnpetrov

 #KT-8380 Fixed
2015-08-27 08:19:50 +03:00
Ilya Gorbunov b8badd59ba Introduce reversed extension for Comparator. 2015-08-27 00:10:11 +03:00
Ilya Gorbunov 5a474adf59 Unify selector parameter names. 2015-08-27 00:09:57 +03:00
Ilya Gorbunov 7d33599fc2 Parameterless nullsFirst and nullsLast and misc comparator combining functions. 2015-08-27 00:09:44 +03:00
Ilya Gorbunov 5a4e598ba7 Another approach for sorting nulls. 2015-08-27 00:09:31 +03:00
Ilya Gorbunov d49a1973e5 Change null handling in compareValuesBy(a, b, functions). Provide nullsFirst() and nullsLast() to extend Comparator<T> to Comparator<T?>. 2015-08-27 00:09:17 +03:00
Ilya Gorbunov 63110dcdf8 Remove StdLibArraysTest and include collections/ArraysTest.kt into StdLibTestToJSTest smoke tests instead.
Move helper methods, so they are available in JS semantics tests.
2015-08-27 00:09:04 +03:00
Ilya Gorbunov 521e0b679d Rename sortedDescendingBy to sortedByDescending 2015-08-27 00:08:50 +03:00
Ilya Gorbunov 002c3e850f Tests for sorting methods. 2015-08-27 00:08:37 +03:00
Ilya Gorbunov 5eb69334b4 compareBy and related Comparator constructors have the same null-comparison semantics as compareValuesBy. 2015-08-27 00:08:23 +03:00
Ilya Gorbunov 0f5c3678f8 Provide asIterable for sequences. 2015-08-27 00:08:10 +03:00
Ilya Gorbunov 6f71e54268 In-place array sorting in JS. 2015-08-27 00:07:56 +03:00
Ilya Gorbunov 8d481fc611 Deprecate all sort methods and provide sorted ones.
#KT-4903
2015-08-27 00:07:43 +03:00
Michael Nedzelsky c061a3dbd8 disable parallel compilation for Kotlin modules 2015-08-26 23:02:55 +03:00
Dmitry Jemerov ca20d9c1b3 use custom exception class to represent the "no descriptor for declaration" case 2015-08-26 17:33:57 +02:00
Nikolay Krasko a2a259552b Log isPhysical() for file 2015-08-26 13:17:02 +03:00
Nikolay Krasko 9dcd73418e Stop crashing in building report - diagnostic for EA-70372 2015-08-26 13:17:00 +03:00
Nikolay Krasko b5b5305456 Diagnostics for Rewrite at slice RESOLUTION_SCOPE key: REFERENCE_EXPRESSION (EA-64051) 2015-08-26 13:16:58 +03:00
Natalia Ukhorskaya 576b4f445c Debugger: add tests for smart casted property 2015-08-26 12:16:08 +03:00