Commit Graph

1171 Commits

Author SHA1 Message Date
Alexey Tsvetkov 62c25c0370 Replace is Array<T> with .isArrayOf<T>() 2015-10-14 18:36:53 +03:00
Ilya Gorbunov cac7bfc80b Clarify some type in tests. 2015-10-14 18:26:46 +03:00
Ilya Gorbunov 93c73500d7 Do not allow to delegate readonly property to a map with incompatible value type.
Infer type of delegated readonly property from the map value type.
2015-10-14 18:22:30 +03:00
Ilya Gorbunov 96b33a8bfd Minor reindent optimizations 2015-10-14 18:19:57 +03:00
Ilya Gorbunov af0a59dd02 Deprecate StringBuilder { } function, and introduce buildString { } instead.
#KT-7295 Fixed
2015-10-14 18:19:57 +03:00
Ilya Gorbunov 6d7cc0671e Allow equals with ignoreCase parameter to take nullable Strings both as a receiver and a parameter.
#KT-9188
2015-10-14 18:19:56 +03:00
Mikhail Glukhikh 001b1269b9 IO deprecations: String.separatorsToSystem() --> File.separatorsToSystem() KT-9534, FileTreeWalk.filter --> FileTreeWalk.treeFilter KT-8517 2015-10-14 16:10:11 +03:00
Yan Zhulanow bc3d1ddda0 Remove old 'get' delegate convention in interfaces 2015-10-14 01:29:09 +03:00
Ilya Gorbunov 6d2f9cc669 Remove obsolete iterator tests 2015-10-13 22:31:15 +03:00
Ilya Gorbunov c58d21a1e7 Remove obsolete test for KT-1131 2015-10-13 22:31:14 +03:00
Svetlana Isakova 075a8eaf39 Moved 'Exact' and 'NoInfer' annotations to stdlib 2015-10-13 21:42:54 +03:00
Andrey Breslav 8e7f6f3c8c Migrated from @HiddenDeclaration to @Deprecated(..., level = DeprecationLevel.HIDDEN) 2015-10-13 13:50:16 +03:00
Michael Bogdanov 81f478c6fd JvmField retention changed to BINARY 2015-10-13 10:50:09 +03:00
Pavel V. Talanov 6cf9bfdb70 publicField -> JvmField
Effectively drop publicField and introduce JvmField (which has the same effect for now)
Implement frontend checks for @JvmField
Replace publicField -> JvmField in test data
2015-10-13 10:50:08 +03:00
Dmitry Petrov ff1bf673ba Java 8 override restrictions: interface can't implement a method of 'Any'
- update Range and related classes
2015-10-12 14:12:31 +03:00
Dmitry Jemerov 1523d5bcbf removing static type assertions work in progress 2015-10-12 11:11:23 +02:00
Denis Zharkov 3bb8cf1bff Temporary restore CharSequence.get extension 2015-10-11 19:59:31 +03:00
Denis Zharkov 3733d0e84f Adjust stdlib to remove/charAt transformation 2015-10-11 19:59:25 +03:00
Denis Zharkov 61459961fc Adjust stdlib to isEmpty transformation 2015-10-10 12:29:14 +03:00
Yan Zhulanow 1f2b4e20fe Replace get() and set() to getValue() and setValue() (property delegates) 2015-10-09 22:49:16 +03:00
Mikhail Glukhikh cf7146aaf7 Target is given for Throws annotation 2015-10-09 20:04:26 +03:00
Denis Zharkov 888f8cc548 Adjust stdlib to contains* transformation 2015-10-09 14:40:34 +03:00
Yan Zhulanow 2c848b8bb0 Add JvmSynthetic annotation 2015-10-08 18:31:06 +03:00
Ilya Gorbunov b6caedbc82 Add operator to Comparable.rangeTo 2015-10-08 17:48:49 +03:00
Ilya Gorbunov e09c0ae2ff Rename toMap { selector } to toMapBy.
#KT-6657
2015-10-08 17:48:47 +03:00
Ilya Gorbunov db93532e7c Deprecate merge and introduce instead zip with transform.
Add zip with transform for Strings.
2015-10-08 17:48:35 +03:00
Ilya Gorbunov 12d9beb3a4 Deprecate join (use joinToString instead)
#KT-6909
2015-10-08 17:48:33 +03:00
Ilya Gorbunov c54ffe39b1 Drop deprecated API: String operations. 2015-10-07 22:36:41 +03:00
Ilya Gorbunov 6565989a61 Drop deprecated API: Comparators 2015-10-07 22:36:40 +03:00
Ilya Gorbunov 0df3d37f88 Drop deprecated API. 2015-10-07 22:36:38 +03:00
Ilya Gorbunov 0b88801c66 Drop deprecated sorting and reversing methods. 2015-10-07 22:36:36 +03:00
Ilya Gorbunov e54db8cd2a Drop deprecated sequence() and withIndices() 2015-10-07 22:36:34 +03:00
Ilya Gorbunov 73e41fb216 StdLib cleanup: remove unused imports 2015-10-07 22:36:13 +03:00
Ilya Gorbunov c6caa67cfb StdLib cleanup: replace KeyMissingException with NoSuchElementException.
Remove KeyMissingException from testData
2015-10-07 22:36:11 +03:00
Ilya Gorbunov ff69b97030 StdLib cleanup: deprecated usages 2015-10-07 22:36:09 +03:00
Ilya Gorbunov 70d064052b StdLib cleanup: get rid of platformName and platformStatic usages 2015-10-07 22:36:07 +03:00
Ilya Gorbunov 404b228954 StdLib cleanup: replace fails with assertFails 2015-10-07 22:36:06 +03:00
Yan Zhulanow d28ecc2316 Mark builtins and stdlib functions with 'infix' 2015-10-07 15:49:29 +03:00
Denis Zharkov a0e9754edc Adjust js collections to size transformation 2015-10-07 08:46:33 +03:00
Denis Zharkov 61416b3d14 Adjust stdlib to size transformation 2015-10-07 08:46:27 +03:00
Denis Zharkov 7b432e4830 Introduce size() extensions for migrational purposes 2015-10-06 23:56:17 +03:00
Ilya Gorbunov 0851728454 Deprecate mapNotNull to change its behavior later.
#KT-4410
2015-10-06 18:32:06 +03:00
Ilya Gorbunov 36f854e421 Correct replacement for platformName annotation. 2015-10-05 01:54:16 +03:00
Alexander Udalov 1fbfff97fa Delete NoInternalVisibilityInStdLibTest
'internal' is not a default visibility anymore and thus makes sense in stdlib
2015-09-29 21:42:58 +03:00
Valentin Kipyatkov 420c6856be Changed naming algorithm of accessor name generation: "isXXX" and "kClass" cases affected 2015-09-29 18:32:24 +03:00
Ilya Gorbunov a55f9feacb Mark CharSequence.iterator() with operator. 2015-09-28 21:50:54 +03:00
Yan Zhulanow 3be050640c Fix Method.invoke() signature 2015-09-26 03:29:03 +03:00
Ilya Gorbunov 3f34bdf483 Make JvmVersion annotation internal for now. 2015-09-26 00:46:21 +03:00
Ilya Gorbunov 3915cfcea6 Merge Lazy's declarations in one file. 2015-09-25 23:50:55 +03:00
Ilya Gorbunov 1145cc0d1b Lazy: changes and clarifications after code-review.
LazyThreadSafety.NONE is actually *NONE* now.
2015-09-25 21:49:49 +03:00