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
Valentin Kipyatkov
b256329287
Added "ReplaceWith" to deprecated library functions
2015-05-27 16:15:50 +03:00
Valentin Kipyatkov
5c445ca003
DeprecatedSymbolUsageFix: dealing with dropping arguments with potential side effects + stdlib's "let" has no receiver type bound
2015-05-27 16:15:47 +03:00
Yan Zhulanow
2a7b5501f4
Do not generate annotations.txt file if kapt is not used in project
2015-05-27 16:11:08 +03:00
Yan Zhulanow
42ba2860a6
Gradle: Do not save javaTask extract property
2015-05-27 16:11:07 +03:00
Yan Zhulanow
b254825427
kapt: fix several annotation processors in AP wrapper
2015-05-27 16:11:06 +03:00
Yan Zhulanow
c2dd7d197e
APT: Use task qualifiers in annotation file names
2015-05-27 16:11:05 +03:00
Yan Zhulanow
cbe435ccef
APT: Remove stub Java file after Java compile step
2015-05-27 16:11:04 +03:00
Yan Zhulanow
0a450c1739
Fix compatibility issues with Android Gradle plugin 1.2
2015-05-27 16:11:03 +03:00
Dmitry Jemerov
1188e57597
rename @overloads annotation to @jvmOverloads
2015-05-27 12:23:08 +02:00
Natalia Ukhorskaya
0fbcfddf4a
Gradle: debug message prefix added
2015-05-27 10:20:09 +03:00
Ilya Gorbunov
5f319e69d8
Restore String.split(String, Int) overload and make it deprecated.
2015-05-27 00:36:30 +03:00
Ilya Gorbunov
310666a617
Deprecate times method taking integer and function. Provide top-level repeat method instead.
...
#KT-7074 Fixed.
2015-05-26 23:23:37 +03:00
Ilya Gorbunov
45c82f2844
map(): Take into account size of collection being transformed when allocating ArrayList.
...
#KT-7832 Fixed.
2015-05-26 23:23:36 +03:00
Ilya Gorbunov
c9afb407f1
Provide isNotEmpty() extension function for Maps.
2015-05-26 23:23:34 +03:00
Ilya Gorbunov
01a0348685
Remove deprecated size property usage from generated code.
2015-05-26 23:23:32 +03:00
Alexander Udalov
48b18f18d3
Restore explicit imports of Kotlin function types in Java
...
This is a follow-up to 738a84e259 and
d4965a4f3e . Optimize imports in all files
affected in those commits, drop temporary _.kt
2015-05-26 18:46:27 +03:00
Alexander Udalov
49004a8b8e
Conform functions to extension functions and vice versa
...
#KT-5989 Fixed
2015-05-26 15:04:56 +03:00
Alexander Udalov
738a84e259
Temporary hack to migrate functions to package kotlin.jvm.functions
...
Add a file in package 'kotlin.jvm.functions' to the project and replace
explicit imports of functions 'kotlin.Function{n}' to two imports 'kotlin.*'
and 'kotlin.jvm.functions.*', so that the codebase can be compiled both by the
old and by the new compiler
2015-05-26 15:04:34 +03:00
Alexander Udalov
45c28abfee
Keep built-in metadata for reflection interfaces
...
Reflection interfaces (interfaces in kotlin.reflect.* in core/builtins/) are
now fully considered as built-ins and can be accessed via KotlinBuiltIns. This
increases runtime size by ~20kb, but only because KotlinBuiltIns is static and
is therefore constructed only via resource loading from the compiler classpath
at the moment. As soon as it's possible to inject KotlinBuiltIns to the
particular resolution process, the metadata on JVM will be loaded via standard
annotation mechanism (kotlin.jvm.internal.KotlinClass/KotlinPackage) and wasted
runtime space will be reclaimed
2015-05-26 14:27:38 +03:00
Ilya Gorbunov
1cf4a407d1
JS: Provide MIN_VALUE and MAX_VALUE member constants for Double and Float companion objects.
...
JVM: Make MIN_VALUE and MAX_VALUE not an extension but member constant properties of Double and Float companion objects.
2015-05-26 00:26:19 +03:00
Sergey Mashkov
fe26bd22f0
JS stubs: add URL specification
2015-05-25 14:55:47 +03:00
Sergey Mashkov
07a3233569
JS stubs: add CSSOM view specification and GEOMETRY spec
2015-05-25 12:36:42 +03:00
Ilya Gorbunov
4fd1b46e91
Refactor JS tests: unified package name, test JS specific map implementations only in JS.
...
Add required files to build StdLibTestToJSTest.
Remove tests StdLibMapJsTest and StdLibSetJsTest because they are tested elsewhere.
2015-05-24 05:07:01 +03:00
Ilya Gorbunov
c95ba4da8e
Tests for specialized primitive implementations of sets and maps in JS.
2015-05-24 05:06:51 +03:00