Commit Graph

406 Commits

Author SHA1 Message Date
Zalim Bashorov 23fa0ba6ab Refactoring kotlin-maven-plugin:
* cleanup KotlinCompileMojoBase moved JVM specific things to KotlinCompileMojo;
* add support noInline in JS.
2014-10-07 16:32:07 +04:00
Natalia Ukhorskaya ffe8ae3840 kotlin-gradle-plugin: change output format 2014-10-07 12:15:51 +04:00
Zalim Bashorov 8f6b12d296 Fixed maven build 2014-10-06 23:18:53 +04:00
Svetlana Isakova 20f3403c80 Rename: this object, receiver argument -> dispatch receiver, extension receiver 2014-10-01 18:52:51 +04:00
Michael Nedzelsky d1d722546e JS backend: prepare long.js for use in translator 2014-09-28 19:51:43 +04:00
Ilya Ryzhenkov c5c1ecf6c0 Improve Streams implementation for performance and validity (based on JMH research) 2014-09-26 01:33:51 +04:00
Zalim Bashorov 838c384672 "js" -> "kotlin.js" 2014-09-16 19:32:37 +04:00
Evgeny Gerashchenko 24b8a3abda Fixed compilation. 2014-08-21 13:28:50 +04:00
Evgeny Gerashchenko 487f381287 Minor. Renamed and cleaned CompilerServices -> Services. 2014-08-20 13:46:31 +04:00
Evgeny Gerashchenko 69c31c00db Fixed gradle and maven plugins after changing compiler API. 2014-08-20 13:46:30 +04:00
Pavel V. Talanov 5652b7f521 Fix usages of javaClass property 2014-08-14 19:59:23 +04:00
Alexander Udalov 6258e08011 KDoc: drop "-docOutput" CLI argument
It was never supported in kdoc-cli. It is still supported as an argument in
kdoc-maven-plugin
2014-08-13 11:10:40 +04:00
Alexander Udalov cf431ffab0 CLI: change argument naming convention
As in all other Unix/POSIX tools and JVM language compilers, multiple words
comprising the argument name should be lowercase, separated by dashes
2014-08-13 11:10:40 +04:00
Alexander Udalov 6da95e2cea Maven plugin: support additional arguments, drop inline/optimize 2014-08-13 11:10:39 +04:00
Alexander Udalov fbc8361211 Minor, fix style issues in kotlin-maven-plugin 2014-08-13 11:10:39 +04:00
Alexander Udalov 160cde09d6 CLI: Support "-X" advanced options, simplify some boolean options 2014-08-13 11:10:37 +04:00
Alexander Udalov 991c33d236 Gradle plugin: fix wrong external NotNull annotation 2014-08-13 11:10:37 +04:00
Alexander Udalov 423a48c7c3 Gradle tests: output compiler process stdout and stderr 2014-08-13 11:10:37 +04:00
Michael Nedzelsky c42a9840de JS backend: add support for reflection types 2014-07-30 17:50:11 +04:00
Alexander Udalov fd27518070 Fix build tool plugins after recent changes to CLI 2014-07-26 02:28:51 +04:00
Alexander Udalov 8ed2413395 Minor, use javaClass instead of getClass()
Fix Maven build
2014-07-26 01:34:42 +04:00
Alexander Udalov bea740b478 Use javaClass instead of getClass() 2014-07-25 21:19:37 +04:00
Zalim Bashorov 4a8519615a Unit.VALUE -> Unit in code. 2014-07-25 17:16:40 +04:00
Alexander Udalov 485cc906a4 Fix Maven build due to recent changes to CLI arguments 2014-07-24 20:04:47 +04:00
Alexander Udalov 19b80f57cf Support "-d" option in kotlinc-jvm
The intent is to unify "-output" and "-jar" options into the one "-d"
(destination)
2014-07-23 21:24:40 +04:00
Alexander Udalov de0fd3818c Drop "-src" in kotlinc-jvm
Free arguments should be used instead
2014-07-23 21:24:39 +04:00
Ilya Ryzhenkov a9da7cfeea Use LinkedHashMap everywhere to preserve order. 2014-07-16 21:35:09 +04:00
Ilya Ryzhenkov 0e656ce3ce collection.toMap(selector) 2014-07-16 21:35:08 +04:00
Ilya Ryzhenkov ce5f7e9d61 Breaking change. Map operations revisited. 2014-07-16 21:35:07 +04:00
Ilya Ryzhenkov 4167359c08 Map.filter() returns Map instead of List of Entries 2014-07-16 21:35:06 +04:00
Ilya Ryzhenkov 6849fb8358 Map.toList() returns List of Pairs instead of List of Entries. 2014-07-16 21:35:06 +04:00
Ilya Ryzhenkov 7273f223f4 Remove Map.groupBy 2014-07-16 21:35:06 +04:00
Ilya Ryzhenkov 2b6fcc0b7c singleOrNull methods should never throw exception #KT-5424 Fixed 2014-07-16 21:10:32 +04:00
Denis Zharkov 0e683b0b99 Added "optimize" flag to settings everywhere 2014-07-15 21:34:32 +04:00
Pavel V. Talanov 3c48d0dec2 Fix usage of utility in KDoc 2014-07-09 19:08:32 +04:00
Michael Bogdanov a1a205a3db Stdlib update due ONLY_LOCAL_RETURN diagnostic 2014-07-07 10:51:46 +04:00
Natalia Ukhorskaya 09e8d0dd66 Gradle plugin: unable to build project in multi flavor environment with gradle 0.11+
#KT-5348 Fixed
2014-07-02 14:17:50 +04:00
Alexander Udalov 059538ce1b Extract kotlin-maven-plugin tests into a separate subproject
Because they need kotlin-runtime to run, which is built by kotlin-maven-plugin
2014-06-26 20:57:39 +04:00
Ilya Ryzhenkov ca7c3d7999 Set operations (distinct, union, intersect, subtract) 2014-06-24 23:49:16 +04:00
Ilya Ryzhenkov 65da4cb2fb Generalize zip(..) to merge(..) { t1, t2 -> ... }, add merge for maps. 2014-06-24 23:49:16 +04:00
Ilya Ryzhenkov 516bae17d7 StringBuilder builder and appendln 2014-06-24 23:49:15 +04:00
Andrey Breslav 14a6cdf458 Compilation fixed 2014-06-19 22:11:54 +04:00
Michael Bogdanov cc58ee6b6f KT-5219 Kotlin build fails when using Android Gradle plugin 0.11
#KT-5219 Fixed
2014-06-11 14:12:58 +04:00
Michael Bogdanov de530be45d KT-5219 Kotlin build fails when using Android Gradle plugin 0.11
#KT-5219 Fixed
2014-06-11 12:42:45 +04:00
Ilya Ryzhenkov ab45439256 Convert iterable of pairs to map, improve generic toMap(mutableMap) function #KT-4166 Fixed 2014-06-10 11:11:03 +04:00
Ilya Ryzhenkov 19858b9f74 Created join, joinTo and joinToString functions, deprecated makeString & appendString #KT-3841 Fixed 2014-06-10 11:11:02 +04:00
Ilya Ryzhenkov f5a0701076 Support generating "deprecated" functions. 2014-06-10 11:11:02 +04:00
Ilya Ryzhenkov e6f5c7012c Stream.filterIsInstance has wrong return type #KT-5097 Fixed 2014-06-10 11:11:01 +04:00
Ilya Ryzhenkov a2a93a3830 Fix String.dropWhile & String.takeWhile 2014-06-10 11:11:01 +04:00
Ilya Ryzhenkov 178ae83e8d sort and binarySearch methods now have correct default toIndex parameter #KT-4963 Fixed 2014-06-10 11:11:00 +04:00