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
Ilya Gorbunov
a3056bea1a
Accept in-projection of Comparator as a parameter.
2015-09-02 20:21:18 +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
b3073dbd2d
Provide lazy implementation with an external object to synchronize on.
2015-09-02 15:49:53 +03:00
Ilya Gorbunov
4fbf787f7d
Change proposed replacements for Delegates.lazy and blockingLazy to preserve behavior.
2015-09-02 15:49:50 +03:00
Ilya Gorbunov
184978e3cb
Remove usages from tests
2015-09-02 15:49:47 +03:00
Ilya Gorbunov
ceb3b7da9d
Thread extension properties deprecated in favor of synthetic extension properties.
...
Executor.invoke and ExecutorService.invoke deprecated.
2015-09-02 15:49:44 +03:00
Yan Zhulanow
47a05e8bd6
Fix targets on stdlib annotations
2015-08-31 15:33:15 +03:00
Denis Zharkov
e8f91e596c
Adjust test data after fixes about generic nullability
2015-08-28 18:50:26 +03:00
Denis Zharkov
4a3fbcc16e
Make project compilable after fixes about generic nullability
2015-08-28 18:50:26 +03:00
Ilya Gorbunov
83f9ee2737
Concurrent getOrPut for concurrent maps.
...
#KT-5800 Fixed
2015-08-28 17:51:48 +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
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
Dmitry Jemerov
4743a69d76
rename platformName annotation to jvmName
2015-08-25 15:40:46 +02:00
Dmitry Jemerov
341f09afd3
rename platformStatic to jvmStatic
2015-08-21 16:59:05 +02:00
Michael Nedzelsky
f42a589ddc
enable testKotlinOnlyDaemonMemory
2015-08-19 09:02:07 +03:00
Sergey Mashkov
77a8eddb2a
Selenium tests module pom.xml: module shouldn't depend to kotlin-js-library as it makes IDEA
...
detect it as a JavaScript module
2015-08-14 18:51:52 +03:00
Sergey Mashkov
3a323d562d
Selenium longer per-test timeout
2015-08-14 18:51:50 +03:00
Sergey Mashkov
84ef068f5d
#KT-8708 refactor trimIndent, trimMargin, replaceIndent, replaceIndentByMargin, prependIndent
2015-08-12 18:45:10 +03:00
Sergey Mashkov
b146b0eda9
Remove deprecated function usage
2015-08-12 18:45:10 +03:00
Sergey Mashkov
7afa40590d
KT-8708 Function to strip leading whitespace (stripMargin, trimMargin, stripIndent?)
2015-08-12 18:45:10 +03:00
ligee
d75bece6d0
Minor: moving a pom autogenerated by maven shade plugin to ignored targets dir
2015-08-12 17:03:09 +02:00
ligee
0c84648b6a
Minor: style fixes after review
2015-08-11 17:22:50 +02:00
ligee
961905a8da
Disabling gradle daemon test as unsafe, adding gradle wrapper 2.4, fixing maven build test
...
(cherry picked after edit from commit 703d71d)
2015-08-11 13:19:03 +02:00
ligee
43aaacaa06
Fixing source build script search, attempt to fix KT-8705
...
(cherry picked from commit 89c5885)
2015-08-11 13:18:19 +02:00
ligee
05e8a080a9
Refactoring test base class to support gradle options and daemon stopping, implementing daemon build test with memory check
...
(cherry picked from commit a28ce9e)
2015-08-11 13:17:28 +02:00
ligee
97bc3005f4
Some more minor fixes after review
...
(cherry picked from commit 1ffdeff)
2015-08-11 13:16:08 +02:00
ligee
c2c1fb2d0a
moving embeddable compiler jar creation to libraries/maven, using maven-shade-plugin instead of jarjar; configuring more relocations of 3-party libs
...
(cherry picked from commit c905770)
2015-08-11 13:16:07 +02:00
ligee
5b9094301c
Fixing minor issues after review
...
(cherry picked from commit 928769e)
2015-08-11 13:16:07 +02:00
ligee
0a9f98545b
Dropping custom classloading again, now without creating a transparent one, restoring cleanup for gradle <2.4 to minimize leaks under daemon, adding diagnostics
...
(cherry picked from commit a3b7be4)
2015-08-11 13:16:00 +02:00
ligee
3b322520bd
Using isolated classloader again, but as a singleton; regular compiler jar instead of embeddable; more logging
...
(cherry picked from commit 6801d8a)
2015-08-11 13:15:24 +02:00
ligee
ee73373441
Implementing simple classloading for plugin core, since embeddable compiler allows it
2015-08-11 13:15:23 +02:00
ligee
d08570b8a8
Adding new target - embeddable compiler (after jarjar), using it in the gradle plugin
...
(cherry picked from commit bf4b26f)
2015-08-11 13:15:23 +02:00