Ilya Gorbunov
473773723b
Drop deprecations in kotlin.test
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
85a02d40c6
Drop hidden declarations provided for binary compatibility
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
264c9a0fc9
Drop deprecated toGenerator and toLinkedList (again).
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
91f4cf0ebc
Drop Progression<T> and its deprecated properties: start, end, increment.
...
Drop deprecated range extensions.
Make progression constructors private.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
6dd8470835
Drop deprecated primitive ranges and progressions: for Byte and Short
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
e8621cb738
Drop Range<T> interface and its extensions.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
face6d449b
Make values in Typography constant, add dollar sign.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
6eabd1d692
Move stdlib classes between packages.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
db9e458cf9
Fix imports in maven kotlin from java usage example.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
300a4be060
Deprecate Map.minus and minusAssign operators.
...
Disable tests failing in JS.
2016-01-22 01:13:33 +03:00
Ilya Gorbunov
7896e58afc
Rename sequence function to generateSequence
2016-01-22 01:13:31 +03:00
Ilya Gorbunov
63e8865123
Make Lazy an interface open to implementation.
...
#KT-9287 Fixed
2016-01-22 01:03:18 +03:00
Ilya Gorbunov
dbcad08a35
Regex: MatchResult.groupValues do not exclude zeroth group, use the same indices as in groups collection.
...
Provide destructured property for destructured assignment.
2016-01-22 00:59:13 +03:00
Ilya Gorbunov
3459a24b0a
Regex: Introduce MatchResult.groupValues to get list of numbered group values exlcuding zeroth group with the entire match.
2016-01-22 00:56:08 +03:00
Denis Zharkov
ad24092fd1
Move InlineOnly to kotlin.internal package
2016-01-21 11:26:01 +03:00
Dmitry Jemerov
ccef1ad49e
report presence of multiple different versions of kotlin-runtime on the classpath as compilation error if other compilation errors have occurred
2016-01-20 21:02:44 +01:00
Dmitry Jemerov
52acd34a61
fix Maven build
2016-01-19 10:54:04 +01:00
Dmitry Jemerov
f3faa10fcc
forbid compiling code in packages with names starting with 'kotlin' unless the -Xallow-kotlin-package command line option is specified
2016-01-19 10:53:47 +01:00
Ilya Gorbunov
14f17e76e1
Deprecate dropWhileTo and takeWhileTo on CharSequences.
2016-01-18 21:46:33 +03:00
Ilya Gorbunov
5bbce7a1de
Deprecate 'comparator { ... }' in favor of Comparator SAM-constructor. Provide SAM-like constructor for JS.
2016-01-18 21:46:32 +03:00
Ilya Gorbunov
67ef790abc
Move comparison related functions to kotlin.comparisons, update imports in stdlib.
2016-01-18 21:46:31 +03:00
Ilya Gorbunov
c250921643
Deprecate getOrImplicitDefault to make it private later.
2016-01-18 21:46:30 +03:00
Ilya Gorbunov
aafd79078f
Provide mutableSetOf and mutableMapOf
...
#KT-9663 Fixed
2016-01-18 21:46:29 +03:00
Ilya Gorbunov
fe8ba4d356
Provide mutableListOf.
...
Deprecate linkedListOf.
#KT-9663
2016-01-18 21:46:28 +03:00
Ilya Gorbunov
57dcbe0aea
Cleanup in libraries and tools: use property access syntax.
2016-01-17 15:52:14 +03:00
Ilya Gorbunov
19a4f65fd1
Cleanup in libraries
2016-01-17 15:52:12 +03:00
Ilya Gorbunov
3d5e415c87
Annotate Iterable.forEach and Map.forEach with HidesMembers.
...
#KT-10538 Fixed
#KT-10479 Fixed
2016-01-16 15:33:12 +03:00
Ilya Gorbunov
56ddd496c5
Hide listFiles as it's no more preferred by overload resolution over synthetic SAM invocations.
...
#KT-10652 Fixed
2016-01-15 23:53:44 +03:00
Stanislav Erokhin
b185316a6e
Create new HidesMembers annotation
2016-01-15 23:32:34 +03:00
NataliaUkhorskaya
d4fcb59965
Gradle plugin: fix compatibility with android-gradle plugin 2.0.0-alpha5
...
#KT-10676 Fixed
2016-01-15 15:56:47 +03:00
Denis Zharkov
be2f857670
Introduce inline-only functions
...
They have private visibility in bytecode
2016-01-15 09:46:30 +03:00
Ilya Gorbunov
7ddac1945e
Unify functional parameter name for 'let', 'run', 'with', 'apply' scope function with 'use' and 'synchronize'.
2016-01-14 18:31:57 +03:00
Ilya Gorbunov
4eb3cff129
Unify functional parameter name for 'forEachLine', 'forEachBlock', 'repeat' methods with 'forEach'
2016-01-14 18:31:56 +03:00
Ilya Gorbunov
c9ddea6d03
Breaking: File.(buffered)reader/writer now returns less specific InputStreamReader/OutputStreamReader and use UTF-8 encoding by default, allowing to specify different encoding with optional parameter.
...
File.printWriter supports specifying Charset and uses UTF-8 by default.
#KT-10454 Fixed
2016-01-14 18:31:55 +03:00
Ilya Gorbunov
a64c1ff0f4
Rename defaultBufferSize to DEFAULT_BUFFER_SIZE.
2016-01-14 18:31:43 +03:00
Ilya Gorbunov
d64882e19b
File.useLines and Reader.readLines.
2016-01-14 18:30:45 +03:00
Ilya Gorbunov
ac15807ba4
Deprecate functions taking charset name as string.
2016-01-14 18:30:42 +03:00
Ilya Gorbunov
68971e2162
Remove redundant JvmName annotations for Array.copyOf, copyOfRange
2016-01-14 18:30:41 +03:00
Ilya Gorbunov
b99e1111f6
Do not use out projection for Array where appropriate.
2016-01-14 18:30:40 +03:00
Ilya Gorbunov
eb5b5331fb
Minor: reorder invariant arrays of objects in generated code
2016-01-14 18:30:39 +03:00
Ilya Gorbunov
362e463b26
Preserve type projection for Array.requireNoNulls.
...
#KT-10039 Fixed
2016-01-14 18:30:37 +03:00
Ilya Gorbunov
90a33fb19c
Make return type more specific for File.inputStream and File.outputStream, for String.byteInputStream
2016-01-14 18:30:20 +03:00
Ilya Gorbunov
ea3a2eefe7
File.deleteRecursively returns true even if path specified by File does not exist.
...
False is returned only in case of incomplete deletion.
Distinguish situations when file was not deleted because it's vanished after listing and because of some other error.
2016-01-14 18:14:12 +03:00
Ilya Gorbunov
5e6489f1a2
Minor: refactor file utils test not to use 'assert' to make test assertions. Use assertTrue, assertFalse, assertEquals, assertFailsWith instead.
2016-01-14 18:14:11 +03:00
Ilya Gorbunov
3ee9c2b9d8
Introduce exitProcess(status) returning Nothing.
...
#KT-10441 Fixed
2016-01-14 18:14:10 +03:00
Ilya Gorbunov
f91c01919b
kotlin.test: 'fail' returns Nothing, 'assertFails' returns Throwable (not nullable).
...
Js tests now fail at the first failed assertion.
#KT-10289 Fixed
#KT-10369 Fixed
2016-01-14 06:03:40 +03:00
Dmitry Petrov
c97294a066
stdlib fixes:
...
- 'sequence(initialValue: T?, ...)' should have LowPriorityInOverloadResolution
(otherwise 'sequence({...}, {...})' is ambiguous).
- 'copyOf' and 'copyOfRange' should be defined for 'Array<T>' only
('Array<out T>' version always loses to 'Array<T>', since the second one
is always more specific).
2015-12-30 10:44:00 +03:00
Ilya Gorbunov
b71b336a69
Fix fq names of moved facade classes in imports and other code occurrences
2015-12-29 18:04:13 +03:00
Michael Bogdanov
e671d05105
Companion public val annotated with @JvmFIeld or const
2015-12-29 16:45:23 +03:00
Alexander Udalov
75f046fa81
Drop Throwable#printStackTrace, make it a JVM-specific extension
2015-12-25 20:16:18 +03:00