Commit Graph

28209 Commits

Author SHA1 Message Date
Valentin Kipyatkov 7dc6aff2e6 Moved ExpectedInfos and related classes into idea.core 2015-11-23 20:31:32 +03:00
Valentin Kipyatkov 0e740dc0a6 IterableVariableMacro to honor smart casts 2015-11-23 20:31:32 +03:00
Valentin Kipyatkov 51647853f3 Refactored BaseKotlinVariableMacro to not create IterableTypesDetector in all cases 2015-11-23 20:31:32 +03:00
Valentin Kipyatkov 566805fe93 Rewritten BaseKotlinVariableMacro 2015-11-23 20:31:32 +03:00
Valentin Kipyatkov 2fdd1ade26 Refactored utlity for checking isVisible 2015-11-23 20:31:31 +03:00
Valentin Kipyatkov 3d2f878885 Minor code simplifications + no i18n 2015-11-23 20:31:31 +03:00
Valentin Kipyatkov bfddba7789 Converted to Kotlin 2015-11-23 20:31:31 +03:00
Mikhail Glukhikh dc60c62781 Enum.values is now deprecated but Enum.values() is no more deprecated 2015-11-23 17:29:36 +03:00
Mikhail Glukhikh 6e733f708e DeclarationsChecker: converted to Kt + EffectiveVisibility related refactoring 2015-11-23 17:29:29 +03:00
Mikhail Glukhikh fe2fb7e5a5 DeclarationsChecker: rename to Kt 2015-11-23 17:29:26 +03:00
Mikhail Glukhikh 1c609663a4 Private setters are now deprecated for open properties 2015-11-23 17:29:23 +03:00
Mikhail Glukhikh 74976911a2 Diagnostic for "private setter in abstract property" renamed 2015-11-23 17:29:20 +03:00
Mikhail Glukhikh 284c1b2ec5 Local sealed classes are deprecated 2015-11-23 17:29:16 +03:00
Alexander Udalov f98703dcdb Minor, fix URL in JvmName kdoc 2015-11-23 14:56:50 +03:00
Dmitry Petrov 048e96ef6a Fix safe call code generation for ranges. 2015-11-23 10:34:08 +03:00
Ilya Gorbunov 5aa415c609 MutableMap.iterator() returns MutableIterator. 2015-11-21 07:09:07 +03:00
Ilya Gorbunov 21f509511c Fix CharSequence parameter names in testData 2015-11-21 07:09:05 +03:00
Ilya Gorbunov f2ce849f18 Fix parameter names in testData 2015-11-21 07:09:03 +03:00
Ilya Gorbunov ab3e6258ac Update testdata for LoadBuiltinsTest 2015-11-21 07:09:02 +03:00
Ilya Gorbunov 0dbbb6c19c Rename operand parameter of plus and minus for collections 2015-11-21 00:54:37 +03:00
Ilya Gorbunov 7c726bcaf9 Rename parameters: ClosedRange.contains 2015-11-21 00:54:36 +03:00
Ilya Gorbunov 9c59045f48 Rename parameters: CharSequence 2015-11-21 00:54:35 +03:00
Ilya Gorbunov 2ed277a863 Add upperbound constraint Comparable<T> to toSortedSet() and sortedMapOf()
Provide an overload of toSortedSet() with Comparator<in T> parameter
#KT-10115 Fixed
2015-11-21 00:54:33 +03:00
Ilya Gorbunov f8f257fa44 Minor: fix infix extension after parameter renamed 2015-11-21 00:54:32 +03:00
Ilya Gorbunov b61bef324d Make Char.category and directionality properties instead of functions.
Provide contains(Char) operator for CharCategory.
2015-11-21 00:54:30 +03:00
Ilya Gorbunov 775755dfac Introduce String.toCharArray() instead of String.getChars()
Make special method conversion for java.lang.String.getChars() in J2K
2015-11-21 00:54:29 +03:00
Ilya Gorbunov bf3a77b736 Deprecate Regex.matcher() with ERROR and provide the replacement. 2015-11-21 00:54:28 +03:00
Ilya Gorbunov eb2a976f32 Minor: use EnumSet to hold options of regex. 2015-11-21 00:54:26 +03:00
Ilya Gorbunov 7035c300d0 Rename parameters of a thread function. 2015-11-21 00:54:25 +03:00
Ilya Gorbunov 47b3859641 Deprecate monitorEnter and monitorExit not to be used from user code. 2015-11-21 00:54:23 +03:00
Ilya Gorbunov 9d24f1d1cf Delegates.mapVal and mapVar preserve type of the receiver to when calling default value lambda. 2015-11-21 00:54:22 +03:00
Ilya Gorbunov 0f70def3db StdLib: Rename method parameters (generated code) 2015-11-21 00:54:20 +03:00
Ilya Gorbunov 7e7a55bbe4 StdLib: Rename method parameters (Strings) 2015-11-21 00:54:19 +03:00
Ilya Gorbunov bbe6a3c7ca StdLib: Rename method parameters (Maps) 2015-11-21 00:54:18 +03:00
Ilya Gorbunov a3cd86d2cd StdLib: Rename method parameters (Collections) 2015-11-21 00:54:16 +03:00
Ilya Gorbunov c3190bbae3 Migrate type parameter list syntax. 2015-11-21 00:54:15 +03:00
Ilya Gorbunov 16c5289e6c Stdlib generators DSL: allow to use documentation family extensions inside doc { } without importing them first. 2015-11-21 00:54:13 +03:00
Ilya Gorbunov a426c7879f Apply infix modifier on functions from stdlib where appropriate. 2015-11-21 00:54:12 +03:00
Ilya Gorbunov 794819cea2 StdLib cleanup: make calls non-infix 2015-11-21 00:54:10 +03:00
Ilya Gorbunov 88e48380af StdLib cleanup, deprecated symbol usage: Throwable.getMessage 2015-11-21 00:54:09 +03:00
Ilya Gorbunov dadcdb5771 StdLib cleanup, deprecated symbol usage: List and Map members 2015-11-21 00:54:08 +03:00
Ilya Gorbunov 838109c302 StdLib cleanup, deprecated symbol usage: replace end with endInclusive 2015-11-21 00:54:06 +03:00
Ilya Gorbunov 07654eb82b StdLib cleanup, deprecated symbol usage: size() and length() 2015-11-21 00:54:05 +03:00
Ilya Gorbunov 21e2e68ed4 Replace reversed() with apply { reverse() } or asReversed() 2015-11-21 00:54:03 +03:00
Ilya Gorbunov 32151c077e Replace map { ... }.filterNotNull() with mapNotNull { ... } 2015-11-21 00:54:01 +03:00
Ilya Gorbunov 5b02a59cb7 Fix JvmStatic applicability diagnostics test after COMPANION_OBJECT became distinct KotlinTarget 2015-11-21 00:43:35 +03:00
Dmitry Jemerov f20f15ec46 resolve KDoc references to members of companion object 2015-11-20 18:22:08 +01:00
Dmitry Jemerov 6adfb96154 AbstractJetReference -> AbstractKtReference 2015-11-20 18:22:07 +01:00
Dmitry Jemerov bfca85db52 don't highlight multi-resolved references in KDoc as unresolved
#KT-9413 Fixed
2015-11-20 18:22:07 +01:00
Dmitry Jemerov 742830f815 resolve KDoc references in static scope of classes as well
#KT-9946 Fixed
2015-11-20 18:22:06 +01:00