Commit Graph

1075 Commits

Author SHA1 Message Date
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
Ilya Gorbunov 74f39c2375 Provide LazyThreadSafetyMode.PUBLICATION: concurrent non-blocking initializations, single publication. 2015-09-25 21:49:46 +03:00
Ilya Gorbunov 4a062698f2 Introduce final field in SynchronizedLazyImpl to enable safe publication. 2015-09-25 21:49:42 +03:00
Michael Nedzelsky 759c325e8b NoInternalVisibilityInStdLibTest: skip explicit internal modifiers 2015-09-25 21:16:02 +03:00
Michael Nedzelsky 2ad1459948 NoInternalVisibilityInStdLibTest: get rid of warnings 2015-09-25 21:16:01 +03:00
Zalim Bashorov 8cb87b3e49 private -> internal where it's necessary 2015-09-25 21:16:00 +03:00
Ilya Gorbunov 1598660870 Deprecate extension property String.reader in favor of existing extension method reader() in kotlin.io package. 2015-09-25 21:10:20 +03:00
Ilya Gorbunov 379c39a2ef Move ByteArray.inputStream() method from kotlin package to kotlin.io 2015-09-25 21:10:17 +03:00
Ilya Gorbunov 60c2f0fe0b Redistribute generated code between files. 2015-09-25 21:10:08 +03:00
Ilya Gorbunov 3e018f3a9f Annotate hand-written code with desired package part names. 2015-09-25 21:10:06 +03:00
Ilya Gorbunov 63f90eacdd Move flatten and unzip to parts corresponding to the receiver type of operation. 2015-09-25 21:10:03 +03:00
Ilya Gorbunov 3d7ff5c573 Move IO utility methods to corresponding parts. 2015-09-25 21:10:01 +03:00
Ilya Gorbunov bf8df0f764 Move toRegex extension in kotlin package 2015-09-25 21:09:59 +03:00
Ilya Gorbunov 9ba50bcdff Move map- and set-related methods to corresponding parts. 2015-09-25 21:09:56 +03:00
Ilya Gorbunov f6e0ef83e5 Move constants out of Console.kt 2015-09-25 21:09:54 +03:00
Ilya Gorbunov 058f2a8bd2 Move File-related extensions out of ReadWrite.kt 2015-09-25 21:09:52 +03:00
Ilya Gorbunov 13132e7483 Move synchronized method out of JLangJVM 2015-09-25 21:09:50 +03:00
Ilya Gorbunov 27ab643d3f Move to method to Tuples 2015-09-25 21:09:47 +03:00
Ilya Gorbunov 6bb88df693 Turn off Xmultifile-package-facades option for stdlib. 2015-09-25 21:09:45 +03:00
Ilya Gorbunov 7f5c3e15e4 Annotate stdlib jvm-only files without JVM suffix. 2015-09-25 21:09:24 +03:00
Ilya Gorbunov ae51f2eb2a Annotation for preprocessor to mark declaration as jvm-only 2015-09-25 21:09:11 +03:00
Yan Zhulanow 3a519ccc0a Add extension for Method.invoke() 2015-09-25 20:47:55 +03:00
Yan Zhulanow aada13c91f Deprecate @publicField 2015-09-25 19:51:07 +03:00
Yan Zhulanow 1139a8dd0e Mark builtins and stblib functions with 'operator' 2015-09-25 19:20:18 +03:00
Mikhail Glukhikh 86833c1a74 Migration to new backing field syntax 2015-09-22 10:15:52 +03:00
Dmitry Petrov 80cbee83ee JvmName should have @Retention(AnnotationRetention.BINARY)
(TODO: fix JVM BE)
2015-09-21 14:24:09 +03:00
Dmitry Petrov eba9f0f0ad Change JvmName retention to SOURCE 2015-09-21 12:10:46 +03:00
Ilya Gorbunov ab88d49567 Drop deprecated stuff 2015-09-19 05:04:53 +03:00
Ilya Gorbunov 4d8977ea32 Provide required imports for deprecation replacement of Delegates.mapVal and mapVar. 2015-09-18 22:00:03 +03:00
Stanislav Erokhin 8efbf4fc32 Fixed testdata -- removed package import 2015-09-18 21:00:20 +03:00
Denis Zharkov 53bccec50d Capitalize copies of JVM annotations for js stdlib 2015-09-18 10:14:35 +03:00
Denis Zharkov 5cecaa6f87 Get rid of deprecated annotations and modifiers in stdlib (besides JS) 2015-09-18 10:14:28 +03:00
Ilya Gorbunov e95be9096e Revert unification of operations on Array<T> and Array<out T> (copyOf, copyOfRange) which return the same type as the receiver.
Leave sortedArray, reversedArray and sliceArray only for covariant projection of array as the receiver.
2015-09-17 21:15:11 +03:00
Ilya Gorbunov 909cbc6817 Eliminate deprecated language constructions from the generated code. 2015-09-17 02:41:01 +03:00
Alexander Udalov 90cef6553c Delete all references to removed package 'kotlin.modules' 2015-09-15 15:55:19 +03:00
Mikhail Glukhikh b4399b8b8b AnnotationTarget.CLASSIFIER and KotlinTarget.CLASSIFIER both dropped (second step) 2015-09-14 12:51:11 +03:00
Dmitry Petrov 1586a2df8e Make stdlib work with -Xmultifile-package-facades.
Fixed wrong owner mapping in presence of -Xmultifile-package-facades.
Fixed backing field mapping issue.
Added more tests.
2015-09-14 11:26:29 +03:00
Dmitry Jemerov 8ca54f4dbb minor doc corrections 2015-09-11 11:43:55 +02:00
Ilya Gorbunov 017db3d36c Correct reference to withDefault method in documentation. 2015-09-10 21:32:41 +03:00
Denis Zharkov df97496a16 Deprecate 'kotlin.throws' in favor of 'kotlin.jvm.Throws' 2015-09-10 20:39:05 +03:00
Denis Zharkov 04483eb826 Report custom diagnostic instead of symbol deprecation
For annotations that should be replaced with modifiers
2015-09-10 10:04:59 +03:00
Dmitry Petrov a00346a141 MultifileClassCodegen
- initial implementation
- new Kotlin file kinds + stub builder
2015-09-09 19:08:17 +03:00
Ilya Gorbunov 5a0cd4f6fb Clarify documentation for asReversed. 2015-09-09 17:56:34 +03:00
Ilya Gorbunov 52f3e9ca06 Accept in-projection of Comparator as a parameter when possible. 2015-09-08 17:11:12 +03:00
Ilya Gorbunov a63341b901 Some tests for assertion messages. 2015-09-08 10:28:15 +03:00
Ilya Gorbunov f7c2f034b3 Remove usages of deprecated failsWith 2015-09-08 10:28:03 +03:00
Ilya Gorbunov c14f376d21 Deprecate precondition checks with non-lazy message.
Make precondition checks with lazy message inline.
Use require with lazy message in stdlib.
#KT-8253 Fixed
2015-09-08 10:27:46 +03:00