Ilya Gorbunov
899a01e8c2
Rename sequence() extension to asSequence()
2015-04-22 17:57:20 +03:00
Ilya Gorbunov
9ed2cb3858
Provide zip() and merge() overloads for primitive arrays with themselves.
...
Better predicting size of resulting list of plus() operation.
#KT-4968 Fixed
2015-04-22 03:19:30 +03:00
Ilya Gorbunov
be11394adf
Rename copyToArray() to toTypedArray().
2015-04-21 21:27:28 +03:00
Ilya Gorbunov
58310d172f
Deprecate sequence implementations in favor of sequence operations.
2015-04-21 21:27:24 +03:00
Pavel V. Talanov
a21abeba33
Fix kotlin-gradle-plugin to correctly process java source files
...
Do not remove outdirectory from cp in maven: this is needed for gradle-plugin build to see files compiled by gmaven
this may cause problems with running mvn install without clean for kotlin
Remove special magic with groovy-output in gradle-plugin pom.xml
2015-04-16 16:40:55 +03:00
Nikolay Krasko
1c4335ec25
Test background threads are stopped
2015-04-16 00:25:03 +03:00
Nikolay Krasko
e304ee0a29
Print project name and command line for debug
2015-04-16 00:25:03 +03:00
Nikolay Krasko
8ed54a6dba
Additional stop for JobScheduler
...
Background threads prevents class loader collect
#KT-7172 In Progress
2015-04-16 00:25:02 +03:00
Nikolay Krasko
ea47e29757
Update ZipFileCache and LowMemoryWatcher from new Idea
2015-04-16 00:25:01 +03:00
Ilya Gorbunov
043b27bfe5
Make more generic signature for reduce and reduceRight methods.
...
Fixes #KT-2287
2015-04-15 17:34:08 +03:00
Natalia Ukhorskaya
8bd7fe1464
Gradle: add kotlin outputDir to java classPath if kotlin files are up-to-date
2015-04-14 10:41:42 +03:00
Natalia Ukhorskaya
5e6250511b
Gradle: support for 1.2.0-beta2 com.android.application plugin
2015-04-14 10:41:41 +03:00
Stanislav Erokhin
b703f59e04
Migrate kotlin sources, maven projects and stdlib to new lambda syntax
2015-04-07 13:08:53 +03:00
Stanislav Erokhin
e0988de707
Minor: increase timeout
2015-04-07 13:08:52 +03:00
Stanislav Erokhin
6ab83c9b8c
Added init keyword to builtins, maven projects and stdlib
2015-04-07 13:08:50 +03:00
Dmitry Kalita
7c911e1f0a
When you build the project for the first time after cleaning, you lose paths to internal_impl jars of support libraries such as
...
build/intermediates/exploded-aar/com.android.support/support-v4/21.0.2/libs/internal_impl-21.0.2.jar
They are absent in javaCompile.getClasspath() when javaCompile task starts.
This patch fixes it.
#KT-7277 Fixed
2015-04-05 13:11:41 +03:00
Ilya Gorbunov
12bf8ca94f
Replace deprecated split usage in kdoc.
2015-04-03 12:13:23 +03:00
Pavel V. Talanov
cb7617b3ca
Refactor CompilerConfiguration: keys -> Content roots
...
Represent classpath roots and java source roots as separate entities
2015-04-02 16:13:06 +03:00
Ilya Gorbunov
6aad2b2d65
Add dependency of kotlin-js-tests to kotlin-js-tests-junit.
2015-04-01 23:10:15 +03:00
Ilya Gorbunov
f87dcff723
Fixed #KT-6476. last(predicate) and lastOrNull(predicate) use reverse iteration when possible.
2015-04-01 15:51:08 +03:00
Denis Zharkov
a4018d9eae
Run "Add 'init' keyword in whole project" quickfix
2015-03-31 20:20:23 +03:00
Ilya Gorbunov
d724ce3f7e
Add code generation for asList methods in js.libraries.
2015-03-31 02:24:20 +03:00
Alexander Udalov
32c3bb8c7f
Extract module 'deserialization' out of 'serialization'
...
'deserialization' stays in core because it's needed both in compiler and
reflection, but 'serialization' is used only in the compiler
2015-03-30 19:44:17 +03:00
Alexander Udalov
085bc2197b
Merge module 'serialization.jvm' into 'descriptor.loader.java'
...
It was very small and there proved to be no point in separation of loading Java
classes and deserializing Kotlin classes
2015-03-30 17:22:06 +03:00
Pavel V. Talanov
d109facc6f
Convert JetCoreEnvironment: migrate code in libraries
2015-03-30 15:13:05 +03:00
Pavel V. Talanov
ed218c473a
Get rid of 'class object' usages in code and builtins
...
Replace some comments and library usages as well
2015-03-25 18:28:00 +03:00
Ilya Gorbunov
25cfd36e7c
drop, take: combine implementations for Collections, Lists and Iterables.
...
slice: predict length of resulting list.
2015-03-25 03:26:18 +03:00
Ilya Gorbunov
4a7918b0a1
Add takeLast method for String, lists and arrays.
...
Check the parameter n in drop, take and takeLast methods.
2015-03-25 03:26:06 +03:00
Ilya Gorbunov
0eabb6c8d4
Fix js test results interpretation.
2015-03-20 23:13:07 +03:00
Natalia Ukhorskaya
77139f20b9
Inline ${protobuf.version} into kotlin-reflect pom.xml (it couldn't be resolved from gradle)
2015-03-18 15:36:19 +03:00
Alexander Udalov
2f001ca696
Pack built-ins metadata to kotlin-runtime Maven artifact
...
This fixes reflection usage against Maven's kotlin-reflect
2015-03-18 14:38:26 +03:00
Michael Nedzelsky
3bf14518e8
JS backend: add -meta-info command line option for cli compiler
2015-03-18 09:38:53 +03:00
Pavel V. Talanov
2a6facaef6
default -> companion: default object -> class object in project code, builtins and libs code
2015-03-17 15:46:48 +03:00
Alexander Udalov
9d6f4e99a1
Move reflection interfaces to module 'builtins'
...
They are considered to be built-ins everywhere anyway
2015-03-16 20:29:39 +03:00
Yan Zhulanow
6fb5dacde4
Fix a "property not found" exception in Gradle 2.x
2015-03-16 18:56:42 +03:00
Yan Zhulanow
6d9d3f00a2
Fix kotlin-android-extensions artifact name in subplugin
2015-03-16 18:56:41 +03:00
Yan Zhulanow
8e5b960e3d
Remove assert with broken separators on Windows in Gradle subplugin test
2015-03-13 20:31:22 +03:00
Ilya Ryzhenkov
4fa5d9cb48
Fix double "deprecated" annotation in generated sources which confuses DX compiler.
2015-03-13 19:30:46 +03:00
Yan Zhulanow
33a1aa342f
Rename kotlin-android-compiler-plugin to kotlin-android-extensions
2015-03-13 15:46:41 +03:00
Yan Zhulanow
8760beeed1
Gradle subplugin test
2015-03-13 15:46:38 +03:00
Yan Zhulanow
9be33338ef
Log Kotlin Gradle subplugin loading
2015-03-13 15:46:38 +03:00
Yan Zhulanow
2f83e600f5
Use Gradle properties to pass plugin-related arguments
2015-03-13 15:46:37 +03:00
Yan Zhulanow
eebed9a8b1
Add all layout directories to sources in Android Gradle subplugin
2015-03-13 15:46:37 +03:00
Ilya Ryzhenkov
e448f40756
Rename Stream<T> to Sequence<T> and provide migration path via deprecated types and functions.
2015-03-12 22:56:43 +03:00
Dmitry Jemerov
32072d0a4f
More standard library documentation.
2015-03-12 16:52:20 +01:00
Alexander Udalov
2b090e02a1
Build kotlin-reflect.jar in build.xml and for Maven
...
Reflection will be distributed in a separate jar and not in kotlin-runtime.jar
for two primary reasons:
- Reflection implementation at the moment takes almost 2Mb
- Separate libraries for separate features is a technique encouraged by Maven,
and it's inconvenient to make it different in the compiler distribution
2015-03-11 16:42:28 +03:00
Alexander Udalov
611700c998
Fix "mvn clean" in libraries/ project
...
JS examples were failing on "clean" because no phases were set for compilation
and thus they required kotlin-maven-plugin on every phase which is obviously
not built yet when we're running "clean"
2015-03-10 16:13:45 +03:00
Ilya Ryzhenkov
bfeb21afb0
stdlib: stream() for Map #KT-6547 Fixed
2015-03-10 11:21:41 +03:00
Valery Kharitonov
8873be22d5
Implemented asList() method for arrays. #KT-1313 Fixed
2015-03-10 11:21:40 +03:00
Valery Kharitonov
c8094e7587
Implemented indexOfFirst/Last(predicate). #KT-6577 Fixed
2015-03-10 11:21:40 +03:00