Ilya Gorbunov
0a320a13e5
Stdlib generators: change constants for Long: ZERO, ONE, -ONE.
2015-07-15 17:21:52 +03:00
Ilya Gorbunov
10c376975a
Stdlib generators: refactor and eliminate warnings, add families of Sets and InvariantArrays, allow to specify custom signature for particular families.
2015-07-15 17:21:43 +03:00
Ilya Gorbunov
96b79eebe7
asSequence returns empty sequence singleton for empty arrays and strings.
...
#KT-8450 Fixed
2015-07-15 17:08:27 +03:00
Denis Zharkov
4479c215d4
Change return type for iterator method of asList impls for *Array
...
These objects implement AbstractList that extending MutableCollection.
After type propagation `iterator` of AbstractList become MutableIterator, so it cannot be overriden with immutable Iterator
2015-07-09 16:36:46 +03:00
Yan Zhulanow
441e72abed
kapt: Add class declarations test in AP wrapper
2015-07-07 16:35:22 +03:00
Yan Zhulanow
c6ac878cf0
kapt: Add inherited annotations test
2015-07-07 16:35:21 +03:00
Yan Zhulanow
700d495d7f
kapt: Support inherited annotations in Gradle
2015-07-07 16:35:21 +03:00
Yan Zhulanow
a90f175fc2
kapt: Support inherited annotations in AP wrapper
2015-07-07 16:35:20 +03:00
Alexander Udalov
feb4dd7b8f
Drop 'OBJECT$' field deprecated in M11
2015-07-06 16:19:54 +03:00
Ilya Gorbunov
f7436064d0
Unify componentN templates and add NOTHING_TO_INLINE suppression.
2015-07-03 16:38:10 +03:00
Ilya Gorbunov
9618a3542f
Provide getOrElse and getOrNull methods for indexed collections.
...
Breaking: elementAtOrElse is no longer inlined for Iterables and Sequences.
#KT-6952
2015-07-03 16:38:08 +03:00
Ilya Gorbunov
4660b07687
StdLib cleanup: drop deprecated iterators and streams.
2015-06-29 17:06:45 +03:00
Ilya Gorbunov
6d4e48ab9a
Compiler&plugin deprecations cleanup: string operations.
2015-06-29 17:06:43 +03:00
Ilya Gorbunov
35166f44ae
StdLib deprecations cleanup: string operations.
2015-06-29 17:06:41 +03:00
Ilya Gorbunov
f3a19ebe11
StdLib deprecations cleanup: length, size, indices and other collection operations.
2015-06-29 17:06:20 +03:00
Ilya Gorbunov
00a44f6d4f
StdLib deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray.
2015-06-29 17:05:57 +03:00
Sergey Mashkov
ab5d8d12ea
IDL2K declarations order stability
2015-06-23 17:21:13 +03:00
Sergey Mashkov
0e518e46bb
JS and IDL2K: make dictionary builder functions public
2015-06-22 12:57:23 +03:00
Ilya Gorbunov
a80f65cfd9
Do not create empty list when reversing empty collection or array — use singleton empty list instead.
...
#KT-8099 Fixed
2015-06-19 19:41:10 +03:00
Yan Zhulanow
d0897193e8
kapt: Use actual classpath in the second Kotlin task as well
2015-06-19 02:29:13 +03:00
Yan Zhulanow
5f85a028ae
kapt: Fix ConcurrentModificationException in Gradle
2015-06-19 02:29:13 +03:00
Yan Zhulanow
d9ac8c9d22
kapt: Pass annotation declarations options via Java APT options
2015-06-19 02:29:12 +03:00
Yan Zhulanow
205585c63e
kapt: Support lazy evaluation of additional kapt arguments in test
2015-06-19 02:26:21 +03:00
Yan Zhulanow
8a10de3a26
Add Gradle test for additional kapt arguments
2015-06-19 02:26:20 +03:00
Yan Zhulanow
7f2bd5b9d4
Add basic kapt tests
2015-06-19 02:26:19 +03:00
Yan Zhulanow
17e6b8f014
kapt: Lazy evaluation of additional arguments
2015-06-19 02:25:40 +03:00
Yan Zhulanow
f158b5b0c4
Support additional compiler arguments
2015-06-19 02:25:40 +03:00
Yan Zhulanow
3ea4306eb9
kapt: Generate stub source file just after Kotlin compile
2015-06-19 02:25:40 +03:00
Alex Roussos
00c2b684fd
Fix documentation for Sets intersect() and subtract()
...
Adds correct documentation for the Sets intersect() and subtract() methods, which had been copied from union().
2015-06-18 15:10:44 +03:00
Sergey Mashkov
bff88b9fe1
Fix gradle test
2015-06-17 20:41:00 +03:00
Sergey Mashkov
342f35fb65
IDL2K better dictionary support: generate interfaces with builder function
...
suppress inline warning, replace Long with Int
2015-06-17 15:26:06 +03:00
Sergey Mashkov
8238883ac4
IDL2K better dictionary support: generate interfaces with builder function
2015-06-17 15:26:06 +03:00
Sergey Mashkov
c4d53e1e16
IDL2K introduce required parameters list to avoid possible ambiguous calls
2015-06-17 15:26:06 +03:00
Sergey Mashkov
20a67c41ee
IDL2K introduce commented declarations list
2015-06-17 15:26:05 +03:00
Sergey Mashkov
2cc708c5a9
IDL2K restrict readonly attributes to vals
2015-06-17 15:26:05 +03:00
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
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