Alexey Andreev
|
4e2b1d68cf
|
KT-2752: deprecate parameter of @native annotation, prohibit simultaneous usage of parameterized @native and @JsName
|
2016-10-08 19:25:42 +03:00 |
|
Alexey Andreev
|
725d13b72e
|
KT-2752: fix JsName with explicit use target. Add some tests for JsName with use targets
|
2016-10-08 19:25:33 +03:00 |
|
Alexey Andreev
|
6e1a0901ac
|
KT-2752: add checkers for inconsistent usage of JsName
|
2016-10-08 19:25:31 +03:00 |
|
Alexey Andreev
|
5e3aa33b13
|
KT-2752: add draft implementation of JsName annotation. Fix some tests using the annotation
|
2016-10-08 19:25:27 +03:00 |
|
Ilya Gorbunov
|
282629f618
|
Remove overrides of equals and hashCode from AbstractCollection and AbstractMap.values, making the equality referential again.
|
2016-09-28 22:06:03 +03:00 |
|
Ilya Gorbunov
|
976260bda6
|
Fix state check in ListIterator.set, improve diagnostics.
|
2016-09-28 22:06:03 +03:00 |
|
Ilya Gorbunov
|
8627547a63
|
Provide java.util.AbstractCollection and AbstractList as deprecated classes with implemented abstract methods rather than as typealiases to smooth migration.
This comes at price that `ArrayList is java.util.AbstractColleciton` is false.
|
2016-09-28 22:06:03 +03:00 |
|
Ilya Gorbunov
|
ec6dbe7441
|
JS: use read-only AbstractList as a base class for read-only collection implementations.
|
2016-09-28 22:06:03 +03:00 |
|
Ilya Gorbunov
|
7dde8df9ae
|
Make mutation methods in AbstractMutable-collections abstract rather than implement them unsupported.
|
2016-09-28 22:06:03 +03:00 |
|
Ilya Gorbunov
|
74e964aabe
|
Rename files to match class names.
|
2016-09-28 22:06:03 +03:00 |
|
Ilya Gorbunov
|
f88a009653
|
Do not recreate entries, keys and values collections on each access to property.
|
2016-09-28 22:06:03 +03:00 |
|
Ilya Gorbunov
|
c6654fc9d8
|
Remove unused/redundant implementation details.
|
2016-09-28 22:06:03 +03:00 |
|
Ilya Gorbunov
|
38f030dce4
|
Split AbstractMap into readonly and mutable.
|
2016-09-28 22:06:03 +03:00 |
|
Ilya Gorbunov
|
a5c0f11d60
|
Split AbstractCollection, List, Set in JS to readonly Abstract[Collection] and mutable AbstractMutable[Collection].
Update compatibility type aliases.
|
2016-09-28 22:06:03 +03:00 |
|
Ilya Gorbunov
|
ed70d1dfa6
|
Provide type aliases for collections in java.util to ease migration.
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
889040218b
|
Rewrite ChainEntry not to be inner class. Cleanup unused code.
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
54a640d733
|
Cleanup: remove unused code from HashMap, remove commented out specialization intrinsics.
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
d0b7ddfceb
|
Minor cleanup, rename parameters to match supertype names.
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
26cbad8e7f
|
Provide message for UnsupportedOperationException thrown from AbstractCollection.add.
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
23d2654afd
|
Refactor Map-InternalMap to provide specialized linked string map and set
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
e342593d2e
|
Flatten HashMap hierarhy, provide string-keyed map and set specializations.
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
5833d32f25
|
Import StringMap from GWT
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
ea82c20692
|
Remove js implementations of java.util maps and sets, disable intrinsic to select specialized implementations.
#KT-12386
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
5cd3417d4c
|
Maps and sets: cleanup, simplify, refactor.
#KT-12386
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
b05c2c1f6a
|
Import AbstractHashMap, HashMap, HashSet, LinkedHashMap, LinkedHashSet from GWT
#KT-12386
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
f5e0c504d6
|
AbstractMap: cleanup and refactor
#KT-12386
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
c54bc2ea18
|
Import AbstractMap implementation from GWT.
#KT-12386
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
d900efb34e
|
AbstractSet implementation.
#KT-12386
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
89388f1f83
|
Fixes in ArrayList after review.
Provide better implementations for some methods of AbstractList.
#KT-12386
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
472ef89baf
|
AbstractList: cleanup and rename
#KT-12386
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
75069143c7
|
Rewrite ArrayList, AbstractList, AbstractCollection in kotlin.
AbstractList is imported from GWT.
#KT-12386
|
2016-09-24 07:08:21 +03:00 |
|
Ilya Gorbunov
|
3471b3311f
|
Fix js RegExp test not to rely on array equality. #KT-8283
|
2016-09-14 20:41:41 +03:00 |
|
Sergey Mashkov
|
8ae5ecf4ff
|
KT-12810 IDL: support special modifiers(e.g. getter and setter)
|
2016-08-29 17:56:17 +03:00 |
|
Ilya Gorbunov
|
0d7819e011
|
Move exceptions to kotlin package in JS library, introduce type aliases for exceptions in kotlin package in JVM runtime.
#KT-18 Fixed
|
2016-08-17 12:40:50 +03:00 |
|
Ilya Gorbunov
|
e35a214eaf
|
Review fixes: special case of toMap for singleton map.
#KT-9108
|
2016-08-09 21:49:57 +03:00 |
|
Zalim Bashorov
|
88ad00b0bc
|
JS backend: add the ability to get JS constructor function by class name and from instance. Support it for reified type parameters too. Add ability to get name of class.
#KT-5987 Fixed
#KT-4115 Fixed
|
2016-08-05 18:13:05 +03:00 |
|
Zalim Bashorov
|
3a87049359
|
JS/RTTI. Fix build and tests
|
2016-05-05 17:24:23 +03:00 |
|
Alexey Tsvetkov
|
390d71ac8d
|
JS/RTTI. Fix RegExpMatch
|
2016-05-05 17:24:21 +03:00 |
|
Alexey Tsvetkov
|
3fd387d4a6
|
JS/RTTI: support unsafe casts
#KT-2670 fixed
|
2016-05-05 17:24:13 +03:00 |
|
Ilya Gorbunov
|
ae2e3f1811
|
kotlin-test: add assertFails overload with message.
|
2016-04-27 18:22:20 +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
|
a5fd95c7d9
|
JS: Make AbstractList.size pure abstract.
#KT-7228 Fixed
|
2016-04-27 18:22:20 +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
|
ab68b49a70
|
Introduce RandomAccess to JS.
Make EmptyList support RandomAccess.
#KT-10794
|
2016-03-30 21:06:18 +03:00 |
|
Ilya Gorbunov
|
d6506d9770
|
Minor: reformat code in JS stdlib
|
2016-03-10 23:24:29 +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
|
06af22b2c1
|
JS: Remove LinkedList declaration since the implementation is missing.
#KT-7480 Fixed
|
2016-02-27 02:49:05 +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 |
|