Ilya Gorbunov
e9ccc480b0
Docs: improve docs for Closeable.use and AutoCloseable.use
2016-07-13 20:39:54 +03:00
Alexander Udalov
8f33830f29
Suppress UNCHECKED_CAST instead of CAST_NEVER_SUCCEEDS in several places
...
This is related to KT-6611 being fixed recently. Note that not all cases of
incorrect "cast never succeeds" were fixed
2016-07-13 13:42:42 +03:00
Dmitry Jemerov
c80e094967
specify FQ names for collection types as well
2016-07-12 17:34:09 +02:00
Dmitry Jemerov
ccbc19f7e9
fix qualified links in Module.md
...
#KT-11373 Fixed
2016-07-12 16:23:58 +02:00
Ilya Gorbunov
919c099a95
Minor: make test output less verbose
2016-07-01 18:50:53 +03:00
Ilya Gorbunov
157ed3f8c1
Claim a stream produced from a Sequence having ORDERED property.
...
Add a test verifying that property is respected.
2016-07-01 18:06:54 +03:00
Ilya Gorbunov
22ee3a8dc1
Relax type parameter constraint for Closeable.use and AutoCloseable.use to allow nullable receiver.
...
#KT-12894 Fixed
2016-07-01 18:05:25 +03:00
Ilya Gorbunov
dd0ecb5ece
Adjust exposed visibility of platform specific implementations.
2016-07-01 18:05:23 +03:00
Ilya Gorbunov
a45da393b9
Provide access to named groups of regex match result on JDK8.
...
#KT-12753 Fixed
2016-07-01 18:05:22 +03:00
Ilya Gorbunov
25974be3f8
Provide specialized stdlib function implementations depending on current JRE version #KT-8254
2016-07-01 18:05:21 +03:00
Ilya Gorbunov
b16f46d932
Add extensions from kotlinx.support libraries:
...
use for AutoCloseables: #KT-5899,
extensions for java.util.Stream.
2016-07-01 18:04:42 +03:00
Ilya Gorbunov
d6261521ff
Create new artifacts for standard library extensions for JRE7 and JRE8.
...
Set default JDK for kotlin compiler plugin.
Set default JRE path for maven surefire plugin.
Run tests for extension modules on the corresponding JRE.
#KT-8254
2016-07-01 16:49:13 +03:00
Ilya Gorbunov
c5a208f3eb
Rearrange stdlib unit tests across packages.
...
Rearrange JS stdlib unit tests.
2016-06-18 16:50:32 +03:00
Ilya Gorbunov
d266f546f4
Remove obsolete and not relevant to stdlib tests
2016-06-18 16:50:32 +03:00
gandrianakis
83e97d272e
Small grammar fixes for documentation of default value handling related methods for Map
2016-06-08 21:45:24 +03:00
Ilya Gorbunov
9bfb226948
Drop inline-only extensions and hide non-inline-only ones that are available now as mapped methods of mapped builtins.
...
#KT-10887 Fixed
2016-05-13 18:14:52 +03:00
Ilya Gorbunov
15dcd3d9f9
Add tests for deserialization of collections persisted with kotlin 1.0
2016-05-12 21:20:54 +03:00
Ilya Gorbunov
6a07d5f89c
Fix serialVersionUID for EmptyList after introducing RandomAccess interface. #KT-10794
2016-05-12 21:20:54 +03:00
Dmitry Jemerov
be8c953be6
workaround for KT-9407: don't use qualified name in Pattern class link
...
#KT-12129 Fixed
2016-05-12 17:53:30 +02:00
Ilya Gorbunov
8425304866
Advance snapshot version to 1.1-SNAPSHOT
2016-05-11 17:28:38 +03:00
Ilya Gorbunov
d646afabb2
Document functions which return set or map preserving the order of elements/entries.
...
#KT-11632 Fixed
2016-05-08 03:24:03 +03:00
Ilya Gorbunov
249d08a66e
Handle special cases of drop, take, takeLast when it is known in advance that the result is a single-item list. #KT-9990
2016-04-29 22:21:19 +03:00
Ilya Gorbunov
a665b2183c
Optimize operations to return special collection implementations when result is empty or has single element.
...
#KT-9990
2016-04-29 22:21:19 +03:00
Ilya Gorbunov
2d12ed68c8
Remove runtime specialization in inline last and lastOrNull to prevent double inlining of predicate body.
2016-04-29 22:21:19 +03:00
Ilya Gorbunov
09c1ff1233
Do not use indexed access for lists not supporting RandomAccess
...
Add RandomAccess specialization.
2016-04-29 22:21:19 +03:00
Ilya Gorbunov
f4f82656f7
Use list iterators instead of indexed access in operations on lists taking a lambda.
...
Related to #KT-9607
2016-04-29 22:21:19 +03:00
Valentin Kipyatkov
b551886889
Code cleanup: removed redundant semicolons
2016-04-29 11:26:25 +03:00
Ilya Gorbunov
4b533b297e
reified assertFailsWith available in kotlin-test for JS
...
#KT-11346
2016-04-27 18:22:20 +03:00
Ilya Gorbunov
409094f0f7
Make stdlib functions dependent on reified is checks available in JS.
...
#KT-11346 Fixed
2016-04-27 18:22:20 +03:00
Ilya Gorbunov
a2db8f9090
Performance: move the state out of multifile class parts to avoid synchronization.
2016-04-14 19:03:39 +03:00
Ilya Gorbunov
f3f1aa8a15
Change String.subSequence parameter names to match those of CharSequence.subSequence.
2016-04-01 21:39:09 +03:00
Dmitry Petrov
d30ab50532
KT-11410: Build stdlib with new part/facade inheritance scheme.
2016-04-01 10:13:22 +03:00
Ilya Gorbunov
f35dc47b4e
Optimize snapshot operations to return special collection implementations when result is empty or has single element.
...
#KT-9990 Fixed
2016-03-31 21:30:59 +03:00
Ilya Gorbunov
d5d19f5595
Make Map.plus accept Map out-projected by key type as either operand (receiver or parameter).
...
#KT-11301 Fixed
2016-03-31 17:20:58 +03:00
Ilya Gorbunov
9caa17dc74
Minor: Make internal monitorEnter/monitorExit functions private to remove them from the public API
...
#KT-11485
2016-03-31 17:15:10 +03:00
Ilya Gorbunov
ab68b49a70
Introduce RandomAccess to JS.
...
Make EmptyList support RandomAccess.
#KT-10794
2016-03-30 21:06:18 +03:00
Ilya Gorbunov
cbf8dca28d
Add deprecated extension MutableList.remove.
...
#KT-11648 Fixed
2016-03-29 19:56:03 +03:00
Ilya Gorbunov
e7d75fccd6
Introduce compiler option to dump declaration mapping.
2016-03-29 13:49:34 +03:00
Ilya Gorbunov
9233d5a825
Minor: do not throw error immediately, return error message to 'require' who shall throw an IllegalArgumentException by itself.
2016-03-04 20:28:07 +03:00
Ilya Gorbunov
0cd0554078
JS: Remove unsupported Enumeration declaration.
...
Relates to #KT-7480
2016-03-01 14:01:39 +03:00
Ilya Gorbunov
e5dbb65ff7
JS: Remove declarations of unsupported SortedSet and TreeSet, make toSortedSet() jvm-only.
...
Fix completion test.
Relates to #KT-7480
2016-03-01 14:01:38 +03:00
Ilya Gorbunov
f9e97882fc
Minor: remove obsolete TODO.
2016-02-27 00:52:31 +03:00
Ilya Gorbunov
19fa2f51ea
Review and correct exception messages.
2016-02-27 00:52:30 +03:00
Ilya Gorbunov
00e30e417f
Cleanup: suppress warnings where appropriate.
2016-02-26 21:54:57 +03:00
Ilya Gorbunov
f025a3b8c4
Cleanup: rename parameters to match overriden method (in private implementations).
...
Remove some redundancy.
2016-02-26 21:54:55 +03:00
Ilya Gorbunov
b19c0363fd
Clarify parameter order of lambda function parameter of *Indexed functions.
...
#KT-10953 Fixed
2016-02-26 20:47:26 +03:00
Ilya Gorbunov
0e0455daeb
Improve the documentation of binarySearch functions.
...
#KT-10198 Fixed
2016-02-26 20:31:05 +03:00
Ilya Gorbunov
f564adfdd4
Optimize trivial cases of CharSequence.repeat. Provide CharSequence.repeat for JS.
...
#KT-3064 Fixed
2016-02-26 01:23:30 +03:00
Ilya Gorbunov
7d32fad063
Improve docs for trimIndent/trimMargin.
...
#KT-9786
2016-02-25 22:09:15 +03:00
Ilya Gorbunov
77f148bec6
Improve docs for substring/subsequence.
2016-02-25 22:09:14 +03:00