Ilya Gorbunov
59cd1cd14a
Restore referential equality for AnnotatedClassDescriptor and AnnotatedConstructorDescriptor.
2015-10-19 23:03:59 +03:00
Andrey Breslav
18524ea8ec
Proper semantics for former data classes
2015-10-19 22:42:33 +03:00
Mikhail Glukhikh
ff60a13228
libraries/tools fix (data classes migration)
2015-10-19 18:17:22 +03:00
Ilya Gorbunov
078d904d41
Deprecated ranges: relax errors to warnings.
2015-10-19 15:37:42 +03:00
Ilya Gorbunov
69dc6701cc
Deprecate Double, Float and Comparable range implementations.
2015-10-19 15:37:41 +03:00
Ilya Gorbunov
d1d0807229
Add a note about *Raw functions behavior.
2015-10-16 23:55:37 +03:00
Ilya Gorbunov
683bc4bd01
Generate *Raw methods.
2015-10-16 23:38:29 +03:00
Ilya Gorbunov
d1a007e902
Do not generate deprecated contains for ranges.
2015-10-16 23:38:25 +03:00
Ilya Gorbunov
c5cd599e30
Delegate indexOf and lastIndexOf to List if the Iterable is List.
2015-10-16 23:38:23 +03:00
Ilya Gorbunov
45d13fafc8
StdLib generator: Allow receiver star-projections to be specified per-family.
2015-10-16 23:38:22 +03:00
Ilya Gorbunov
654a85368d
Allow to evaluate FamilyProperty based on family value specified.
2015-10-16 23:38:18 +03:00
Ilya Gorbunov
e24af934dc
Use the same implementation in Array.toArrayList as in arrayListOf.
2015-10-16 19:20:26 +03:00
Ilya Gorbunov
d8ba854036
Fixes and cleanup in stdlib generator after builtin renames.
2015-10-15 18:35:11 +03:00
Ilya Gorbunov
a5ccecfc3d
StdLib generator: refactor deprecation DSL to be able to set deprecation level.
2015-10-15 18:30:19 +03:00
Ilya Gorbunov
2fba80168d
Remove usages of Delegates.lazy
2015-10-15 18:20:41 +03:00
Dmitry Petrov
57869d85e8
Spread should always copy arrays.
...
Introduce a special (package private) utility class ArraysUtilJVM
to fix Array<T>.asList() issues.
2015-10-15 09:16:21 +03:00
Ilya Gorbunov
d1d865aa0f
Rename methods in Regex. Add matchEntire method to match entire string against regex.
2015-10-14 22:49:48 +03:00
Mikhail Glukhikh
78cfeb0d7d
Stdlib rename: List.indexOf(T), List.lastIndexOf(T), MutableCollection.removeAll(Collection<T>), MutableCollection.retainAll(Collection<T>)
2015-10-14 20:40:09 +03:00
Denis Zharkov
6322198a11
Revert 'isEmpty' transformation
2015-10-14 20:40:01 +03:00
Michael Nedzelsky
01cd277d63
fix maven build
2015-10-14 18:34:10 +03:00
Ilya Gorbunov
96b33a8bfd
Minor reindent optimizations
2015-10-14 18:19:57 +03:00
Ilya Gorbunov
2cdd413590
StdLib generators: Add some infix extensions for DSL, remove unneeded import, simplify declarations.
2015-10-13 22:23:13 +03:00
Dmitry Jemerov
1523d5bcbf
removing static type assertions work in progress
2015-10-12 11:11:23 +02:00
Denis Zharkov
61459961fc
Adjust stdlib to isEmpty transformation
2015-10-10 12:29:14 +03:00
Ilya Chernikov
c3d3160345
Cleaning jar cache after build in gradle plugin, fixes KT-9440. Some refactorings on the way to fix.
2015-10-09 22:38:15 +02:00
Denis Zharkov
888f8cc548
Adjust stdlib to contains* transformation
2015-10-09 14:40:34 +03:00
Dmitry Jemerov
07332106a5
Gradle plugin build fixed
2015-10-09 12:57:02 +02:00
Dmitry Jemerov
a54e49aedd
Maven build fixed
2015-10-09 12:43:00 +02:00
Dmitry Jemerov
7e2c2ef678
restore compilation after rebase of dropping external annotations; fix affected tests
2015-10-09 11:52:02 +02:00
Alexander Udalov
13c54a2678
Drop external annotations support in build tools
...
External annotations will only be considered in the IDE for additional
inspections based on more precise types in Java libraries
2015-10-09 11:51:58 +02:00
Ilya Gorbunov
e09c0ae2ff
Rename toMap { selector } to toMapBy.
...
#KT-6657
2015-10-08 17:48:47 +03:00
Ilya Gorbunov
fd7b670414
Replace deprecated package facade ref.
2015-10-08 17:48:37 +03:00
Ilya Gorbunov
db93532e7c
Deprecate merge and introduce instead zip with transform.
...
Add zip with transform for Strings.
2015-10-08 17:48:35 +03:00
Ilya Gorbunov
12d9beb3a4
Deprecate join (use joinToString instead)
...
#KT-6909
2015-10-08 17:48:33 +03:00
Sergey Mashkov
f37e022b8e
IDL2K: review changes
2015-10-08 14:16:48 +03:00
Sergey Mashkov
2a0c1a997e
IDL2K: support for operator modifier
2015-10-08 14:16:48 +03:00
Sergey Mashkov
4d8bd683eb
IDL2K code cleanup, add to build
2015-10-08 14:16:48 +03:00
Ilya Gorbunov
0b88801c66
Drop deprecated sorting and reversing methods.
2015-10-07 22:36:36 +03:00
Ilya Gorbunov
e54db8cd2a
Drop deprecated sequence() and withIndices()
2015-10-07 22:36:34 +03:00
Ilya Gorbunov
1c79cf2b51
Replace KotlinPackage legacy facade with corresponding package parts.
2015-10-07 22:36:32 +03:00
Ilya Gorbunov
ff69b97030
StdLib cleanup: deprecated usages
2015-10-07 22:36:09 +03:00
Yan Zhulanow
d28ecc2316
Mark builtins and stdlib functions with 'infix'
2015-10-07 15:49:29 +03:00
Denis Zharkov
61416b3d14
Adjust stdlib to size transformation
2015-10-07 08:46:27 +03:00
Ilya Gorbunov
0851728454
Deprecate mapNotNull to change its behavior later.
...
#KT-4410
2015-10-06 18:32:06 +03:00
Sergey Mashkov
c9843f6387
Downgrade maven-bundle-plugin to build against Java 6
2015-10-01 18:22:28 +03:00
Sergey Mashkov
a8e3ee9190
KT-6264 Introduce kotlin-osgi-bundle
...
The bundle is a mix of kotlin-runtime, kotlin-stdlib and kotlin-reflect. The main reason to do so intead of adding corresponding modules is that there is so called "split package" issue that couldn't be easily resolved
2015-10-01 15:37:35 +03:00
Ilya Gorbunov
0a24ba77b5
Add extension operators plus and minus for FileCollection to make them resolve into gradle api, rather than collection api.
2015-09-26 00:12:31 +03:00
Zalim Bashorov
8cb87b3e49
private -> internal where it's necessary
2015-09-25 21:16:00 +03:00
Ilya Gorbunov
d40bbf6acb
Allow to annotate generated code as jvm-only.
2015-09-25 21:09:40 +03:00
Ilya Gorbunov
1deb8b9dda
Rename conflicting parts: add "Kt"
2015-09-25 21:09:38 +03:00