Sergey Mashkov
c0c0f6152a
IDL2K avoid unnecessary super() calls in secondary constructors
2015-06-17 15:26:05 +03:00
Sergey Mashkov
28f228ccc0
IDL2K better results stability
2015-06-17 15:26:04 +03:00
Sergey Mashkov
68183a74fa
IDL2K rework types
...
Fixes #KT-8015
2015-06-17 15:26:04 +03:00
Sergey Mashkov
387291cbf7
IDL2K support static members
2015-06-17 15:26:03 +03:00
Sergey Mashkov
5000fe8133
IDL2K Multiple constructors (via secondary constructors when needed)
2015-06-17 15:26:03 +03:00
Sergey Mashkov
4949624a2a
Revert IDL2K Multiple constructors (via secondary constructors when needed)
2015-06-15 20:17:23 +03:00
Sergey Mashkov
6d9413f02e
IDL2K Multiple constructors (via secondary constructors when needed)
2015-06-15 20:15:36 +03:00
Alexander Udalov
6083a18ce1
Convert CompilerMessageLocation to Kotlin
2015-06-15 15:42:40 +03:00
Denis Zharkov
eb7114bd53
Add 'constructor' keyword in whole project where needed
2015-06-12 09:55:15 +03:00
Denis Zharkov
200dee2761
Replace deprecated annotations in whole project
2015-06-12 09:23:32 +03:00
Michael Nedzelsky
3ac1bdcdc8
kotlin-maven-plugin, ant:withKotlin: skip compilation for empty sources
...
#KT-7618 Fixed
2015-06-11 22:21:16 +03:00
Yan Zhulanow
08fa9b639e
Gradle: update annotation syntax
2015-06-11 15:19:51 +03:00
Yan Zhulanow
e3c6f32b50
Gradle: Subplugin loading process is unrelated to kapt
2015-06-11 15:19:51 +03:00
Yan Zhulanow
853cfdb70b
kapt: Move class generation methods to core plugin
2015-06-11 15:19:50 +03:00
Yan Zhulanow
3cfdf21aa4
kapt: Create kotlinAfterJava task after project evaluation
2015-06-11 14:53:50 +03:00
Yan Zhulanow
7561b43336
kapt: Warn on using android-apt with kapt
2015-06-11 14:53:50 +03:00
Yan Zhulanow
39d7674886
kapt: Fix compatibility with android-apt
2015-06-11 14:53:49 +03:00
Yan Zhulanow
b9bfc659d5
Gradle: Remove logger argument in SubpluginEnvironment
2015-06-11 14:53:48 +03:00
Yan Zhulanow
c2073cb575
kapt: Add logging information
2015-06-11 14:53:48 +03:00
Yan Zhulanow
6ed5bbc2f8
kapt: Initial .class stub support in Gradle
2015-06-11 14:53:47 +03:00
Yan Zhulanow
78af866f5a
kapt: Do not fail if annotations.txt file does not exist
2015-06-11 14:53:46 +03:00
Yan Zhulanow
a900a424d0
Gradle: Do not inline getOrNull()
2015-06-11 14:53:45 +03:00
Alexander Udalov
64b60718e3
Finish off old deprecated function/extension function classes
...
This reverts commit d14e5b8a72 .
2015-06-10 14:41:57 +03:00
Alexander Udalov
4815a9e5a8
Fix kotlin-reflect Maven artifact, attach sources jar
2015-06-09 15:39:04 +03:00
Alexander Udalov
4c7bcc8e1a
Minor, specify version for maven-jar-plugin
2015-06-09 15:01:18 +03:00
Ilya Gorbunov
1036448fcd
Improve the documentation of MatchGroupCollection.
...
#KT-7938 Fixed
2015-06-04 20:51:08 +03:00
Ilya Gorbunov
009baa11fc
Specific wording in exception message for String methods.
2015-06-04 16:45:55 +03:00
Ilya Gorbunov
a1d8e9d633
Provide dropLast and takeLastWhile methods. Optimize special cases of drop/take/dropLast/takeLast (when n is equal to zero or size of collection).
2015-06-04 16:32:25 +03:00
Ilya Gorbunov
9f85fa9720
Make proposed split replacement equivalent in behavior with additional dropLastWhile call.
...
#KT-7887
2015-06-04 16:32:23 +03:00
Ilya Gorbunov
9b17220baa
Provide dropLastWhile for Arrays, Lists and Strings.
2015-06-04 16:32:21 +03:00
Ilya Gorbunov
705c9089f0
Provide replacement for methods deprecated in favor of SAM-constructors.
...
Provide replacement for isNotEmpty on nullable receiver.
JS: Provide SAM-like constructor for Runnable.
2015-06-04 16:32:19 +03:00
Ilya Gorbunov
13c89b7ae9
Provide lineSequence() extension method instead of BufferedReader.lines() in order not to conflict with JDK8 instance method with the same name.
2015-06-04 16:32:17 +03:00
Ilya Gorbunov
0302dd06f7
Do not call mkdirs when destination file of copyTo doesn't have any parent directory.
...
#KT-7888 Fixed
2015-06-02 15:50:47 +03:00
Alexander Udalov
23670292d6
Minor, drop unused properties in libraries/pom.xml
...
Also regroup for clarity
2015-06-02 11:12:09 +03:00
Alexander Udalov
9cc156c67f
Copy kotlin-reflect.jar from dist to publish to Maven
...
Also build sources jar in build.xml to publish as kotlin-reflect's sources, and
create an empty javadoc
2015-06-02 11:12:09 +03:00
Alexander Udalov
ee811136d2
Minor, update URL and fix typo in maven project description
2015-06-02 11:12:08 +03:00
Natalia Ukhorskaya
1334f0352b
Support com.android.tools.build.gradle 1.3.0-beta1
...
#KT-7884 Fixed
2015-06-01 14:00:57 +03:00
Ilya Gorbunov
64b2e37436
Deprecate meaningless or vague-defined operations with Char operands: downTo.
2015-06-01 00:55:45 +03:00
Dmitry Jemerov
443eabf88a
make Dokka happy by sorting imports of Java classes
2015-05-28 17:53:12 +02:00
Dmitry Jemerov
8f0f02fc59
correct some errors and omissions in stdlib doc comments
2015-05-28 14:38:36 +02:00
Dmitry Jemerov
fa5aa664b5
update build script for new distribution of dokka
2015-05-28 14:38:20 +02:00
Dmitry Jemerov
0e5b6c41dd
use new syntax for annotations
2015-05-28 14:14:05 +02:00
Alexander Udalov
d14e5b8a72
Restore and deprecate Function{n}/ExtensionFunction{n} classes for easier migration
...
Users' Java code will not break in common cases (when passing functions to
Kotlin), and deprecation warnings will be reported.
Provide an inspection with a quick fix which allows to replace deprecated
function class usages to the new classes. Include this fix to the "code
cleanup" action
2015-05-28 01:20:05 +03:00
Ilya Gorbunov
802ca5476d
Clarify requirements for limit parameter in split method. Provide replacement for deprecated split(regex: String).
2015-05-27 23:28:06 +03:00
Ilya Gorbunov
ea85290939
Annotate deprecated members with proposed replacement.
2015-05-27 22:29:37 +03:00
Ilya Gorbunov
953bbef08c
Allow to specify replacement for deprecated items in generated code.
2015-05-27 22:29:35 +03:00
Ilya Gorbunov
fa24db435d
Stdlib documentation: clarified toMap behavior when a duplicate key is encountered.
2015-05-27 22:29:33 +03:00
Ilya Gorbunov
1fb4183bbb
Prettify kdocs in stdlib, part 2.
2015-05-27 22:16:19 +03:00
Ilya Gorbunov
5c8c58f702
Prettify kdocs in stdlib, part 1.
2015-05-27 22:16:17 +03:00
Ilya Gorbunov
ae60f7a32f
Prettify kdocs and exception messages in the generated code.
2015-05-27 22:16:15 +03:00