Commit Graph

822 Commits

Author SHA1 Message Date
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 1c79cf2b51 Replace KotlinPackage legacy facade with corresponding package parts. 2015-10-07 22:36:32 +03:00
Ilya Gorbunov ff69b97030 StdLib cleanup: deprecated usages 2015-10-07 22:36:09 +03:00
Yan Zhulanow d28ecc2316 Mark builtins and stdlib functions with 'infix' 2015-10-07 15:49:29 +03:00
Denis Zharkov 61416b3d14 Adjust stdlib to size transformation 2015-10-07 08:46:27 +03:00
Ilya Gorbunov 0851728454 Deprecate mapNotNull to change its behavior later.
#KT-4410
2015-10-06 18:32:06 +03:00
Sergey Mashkov c9843f6387 Downgrade maven-bundle-plugin to build against Java 6 2015-10-01 18:22:28 +03:00
Sergey Mashkov a8e3ee9190 KT-6264 Introduce kotlin-osgi-bundle
The bundle is a mix of kotlin-runtime, kotlin-stdlib and kotlin-reflect. The main reason to do so intead of adding corresponding modules is that there is so called "split package" issue that couldn't be easily resolved
2015-10-01 15:37:35 +03:00
Ilya Gorbunov 0a24ba77b5 Add extension operators plus and minus for FileCollection to make them resolve into gradle api, rather than collection api. 2015-09-26 00:12:31 +03:00
Zalim Bashorov 8cb87b3e49 private -> internal where it's necessary 2015-09-25 21:16:00 +03:00
Ilya Gorbunov d40bbf6acb Allow to annotate generated code as jvm-only. 2015-09-25 21:09:40 +03:00
Ilya Gorbunov 1deb8b9dda Rename conflicting parts: add "Kt" 2015-09-25 21:09:38 +03:00
Ilya Gorbunov 473698a7e8 Generate JvmMultifileClass annotation on parts. 2015-09-25 21:09:36 +03:00
Ilya Gorbunov 2bc1fbab3f Allow stdlib generator to distribute concrete functions between different target files. 2015-09-25 21:09:33 +03:00
Yan Zhulanow 1139a8dd0e Mark builtins and stblib functions with 'operator' 2015-09-25 19:20:18 +03:00
Ilya Chernikov 9c7d6c1649 Fixing KT-9196 (broken kotlin-compiler-embeddable.jar in M13) by excluding org.fusesource.jansi.internal.CLibrary from relocation, adding smoke test for embeddable jar 2015-09-25 16:13:03 +02:00
Stanislav Erokhin 88815c40cc Minor. Fix testdata. 2015-09-24 14:07:51 +03:00
Mikhail Glukhikh 789f351f6f data modifier is now inapplicable to enum classes, annotations, objects and interfaces #KT-8302 Fixed 2015-09-23 16:33:11 +03:00
Denis Zharkov 4a993f517e Drop tailRecursive and it's usage 2015-09-23 12:18:12 +03:00
Stanislav Erokhin 2af5b24db2 Fix maven build compilation 2015-09-18 21:00:17 +03:00
Denis Zharkov 05eaf37123 Get rid of deprecated annotations and modifiers in js-stdlib 2015-09-18 10:14:30 +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
Dmitry Jemerov 81d0b6c109 verify.groovy: ignore PERF output 2015-09-15 16:24:18 +02:00
Rodrigo Quesada 69038ba6c0 KT-9003 FileNotFoundException when Kapt is unable to find corresponding annotations.txt
#KT-9003 Fixed
2015-09-11 22:41:58 +03:00
Yan Zhulanow a2096ab0be Check supportv4 library presence on the spot 2015-09-11 04:30:04 +03:00
Natalia Ukhorskaya bb17724f96 Gradle: workaround the problem that getVariantDataManager is internal 2015-09-10 15:23:46 +03:00
Natalia Ukhorskaya b1dbc89a2a Gradle: add bintray to repository list 2015-09-10 15:23:45 +03:00
Michael Bogdanov 0f6bf80c0a Fix kotlin module name for gradle plugin 2015-09-09 13:32:40 +03:00
Michael Bogdanov 4d871ef2c6 Added tests for moduleName to maven plugin 2015-09-09 13:32:40 +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 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
Ilya Gorbunov 3c5de56e83 Improve diagnostics when test cleanup fails. 2015-09-07 16:45:06 +03:00
Michael Bogdanov 225cbb417c Gradle support 2015-09-07 16:29:15 +03:00
Michael Bogdanov 2ca9b3ae0e Code clean 2015-09-07 16:29:10 +03:00
Michael Bogdanov 25234f672a Maven plugin fixes 2015-09-07 16:29:05 +03:00
Ilya Gorbunov c4b18d8fb8 Special case of slice for int ranges, sliceArray returning array.
#KT-8711
2015-09-02 20:22:38 +03:00
Ilya Gorbunov faa26cdb25 Introduce operations on Arrays returning Arrays: reversedArray, sortedArray.
#KT-8711
2015-09-02 20:22:27 +03:00
Ilya Gorbunov 89df3925fa Unify operations on Array<T> and Array<out T> (copyOf, copyOfRange) which return the same type as the receiver. 2015-09-02 20:21:20 +03:00
Yan Zhulanow acbc39bf9f Minor: move kapt-related stuff to AnnotationProcessingManager 2015-09-02 15:53:15 +03:00
Yan Zhulanow b044e4be07 Minor: remove code duplication 2015-09-02 15:53:15 +03:00
Yan Zhulanow 39d7e98775 kapt: Support Kotlin code generation 2015-09-02 15:53:14 +03:00
Yan Zhulanow edb35ae6ce kapt: Fix sequential builds (KT-8733) 2015-09-02 15:53:14 +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
Ilya Gorbunov 5a474adf59 Unify selector parameter names. 2015-08-27 00:09:57 +03:00
Ilya Gorbunov 521e0b679d Rename sortedDescendingBy to sortedByDescending 2015-08-27 00:08:50 +03:00
Ilya Gorbunov 6f71e54268 In-place array sorting in JS. 2015-08-27 00:07:56 +03:00