Commit Graph

535 Commits

Author SHA1 Message Date
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
Valery Kharitonov 38a4f86db2 Implemented asIterable method for arrays. #KT-1313 Fixed 2015-03-10 11:21:39 +03:00
Alexander Udalov eced3003ad Introduce kotlin-reflect Maven artifact 2015-03-07 02:31:00 +03:00
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Natalia Ukhorskaya 09435ad0e3 Gradle: fix warning about annotations path entry points to a non-existent location
#KT-6865 Fixed
2015-02-27 10:30:28 +03:00
Yan Zhulanow 8ebd63ee96 Update Gradle plugin 2015-02-26 15:26:00 +03:00
Yan Zhulanow fbed5426e2 Kotlin Gradle subplugin support 2015-02-26 15:25:55 +03:00
Yan Zhulanow e5b16afff5 Support android-compiler-plugin in Gradle 2015-02-26 15:25:50 +03:00
dedoz bada0ec7f8 add kotlin gradle plugin integration 2015-02-26 15:25:29 +03:00
Alexander Udalov 15a3496dbd Gradle plugin tests: change kotlin-stdlib dependency scope to compile
This way is advertised in the docs anyway. Otherwise J+K projects do not
compile, see 640adec for the explanation
2015-02-18 11:43:50 +03:00
Pavel V. Talanov 1e772e3d1a KDoc: remove visitClassObject override 2015-02-16 15:38:48 +03:00
Dmitry Jemerov ff49310b7e remove redundant filter() 2015-02-11 12:28:23 +01:00
Dmitry Jemerov 4352023d60 generate more methods and properties in the standard library 2015-02-10 14:31:20 +01:00
Dmitry Jemerov 7827bbf64b Standard library documentation updates. 2015-02-09 19:19:29 +01:00
Natalia Ukhorskaya 360a496724 Gradle plugin: update to 1.1.0-rc1
#KT-6729 Fixed
2015-02-05 16:42:22 +03:00
Alexander Udalov 93f02aeead Add source directories to classpath in CLI compiler
Move this logic from Ant and Maven plugins
2015-01-28 19:58:33 +03:00
Natalia Ukhorskaya 11f7b45ce3 Gradle: collect kotlin files from java source root 2015-01-26 16:48:35 +03:00
Natalia Ukhorskaya 8b5279897f Gradle: fix kotlinOptions for kotlin-android plugin 2015-01-21 13:58:16 +03:00
Natalia Ukhorskaya bcbfb1bd77 Gradle: include groovy output to kotlin-gradle-plugin.jar
#KT-6635 Fixed
2015-01-21 13:58:16 +03:00