Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Nikolay Krasko
1f79e0905f
Intrinsic default objects implementation
2015-03-05 01:30:37 +03:00
nbilyk
121ada0cab
JS lib: added missed arguments to Blob constructor.
...
#KT-6654 Fixed
2015-02-16 19:17:10 +03:00
nbilyk
6afe64dd14
JS lib: added canvas attributes parameter to HTMLCanvasElement::getContext
2015-02-16 19:17:10 +03:00
nbilyk
f4411773c3
JS lib: added missed fields naturalWidth and naturalHeight to HTMLImageElement.
2015-02-16 19:17:10 +03:00
Zalim Bashorov
7668f44655
JS lib: added hasNext to Kotlin.ListIterator and fixed next.
...
#KT-6506 Fixed
Additionally made abstract AbstractList::get and AbstractCollection::size.
2014-12-29 19:15:32 +03:00
Svetlana Isakova
7b09e85717
Added check for incompatible variance modifiers and repeated modifiers
2014-12-27 00:55:25 +03:00
Valentin Kipyatkov
0b701950ac
Removed js package usages
2014-12-26 15:45:01 +03:00
Zalim Bashorov
9ab045e598
JS declarations: added eval, typeof, undefined.
...
#KT-4136 Fixed
2014-12-26 14:20:20 +03:00
nbilyk
87ab271f58
Removed redundant native annotations from canvas.kt
2014-12-24 12:55:34 +03:00
nbilyk
1edd48daa2
#KT-6467 Fixes Removed invalid drawImage signatures, renamed parameters
...
#KT-6467 fixed
2014-12-24 12:55:19 +03:00
Michael Nedzelsky
8074ab27ea
JS backend: fix KT-6112 jsonFromTuples is broken
...
#KT-6112 Fixed
2014-12-18 18:10:26 +03:00
Zalim Bashorov
d666677958
JS backend: added dynamic.iterator to simplify the using "iterable" objects.
2014-12-16 17:48:25 +03:00
Ilya Ryzhenkov
be717f48f8
Stop using deprecated APIs
2014-12-16 17:33:24 +03:00
Ilya Ryzhenkov
cdaa984270
Remove js custom emptyList()/emptyMap() implementation.
2014-12-16 17:33:22 +03:00
Ilya Ryzhenkov
828ba385ea
Cleanup ordering, improve API
2014-12-16 17:33:20 +03:00
Alexey Tsvetkov
41af895caa
JS backend: added jsCode definition
2014-12-15 19:16:20 +03:00
Zalim Bashorov
b06096469a
JS backend: added the support nativeInvoke, nativeGetter, nativeSetter.
2014-12-01 15:27:34 +03:00
Alexander Udalov
4d95bcfc7e
Rename CharSequence.get to charAt
...
This is done for JVM interoperability. There's still a member function
String.get() and an extension function "get" on CharSequence
#KT-1730 Fixed
#KT-5389 Fixed
2014-11-27 20:38:18 +03:00
Alexander Udalov
a7b88e9485
Make CharSequence.length a function instead of property
...
And String.length as well.
This is done for JVM interoperability: java.lang.CharSequence is an open class
and has a function 'length()' which should be implemented in subclasses
somehow.
A minor unexpected effect of this is that String.length() is now a compile-time
constant (it wasn't such as a property because properties are not supported in
compile-time constant evaluation)
#KT-3571 Fixed
2014-11-27 20:38:17 +03:00
Zalim Bashorov
04f6d50423
Minor in JS stdlib: annotate volatile and synchronized as native.
...
Don't generate code for this classes to avoid warnings from some minifiers.
Note: volatile and synchronized was reserved word in ECMAScript 2, but is not since ECMAScript 5.
2014-11-25 21:11:17 +03:00
Ilya Ryzhenkov
ad1a2c4000
Update generated code to move "type" member into its place after it was demoted from keyword.
2014-11-06 16:45:58 +03:00
Ilya Ryzhenkov
c2fabf5736
Comparator<T> replaced with Comparator<in T> #KT-6030 Fixed
2014-11-06 16:45:57 +03:00
Andrey Breslav
b1e452b568
type unescaped in *.kt files
2014-10-14 13:02:13 +04:00
Zalim Bashorov
8bd6acec5d
JS stdlib: drop wrong annotations in javautilCollectionsCode.kt and fix Collections.reverse.
2014-10-13 21:25:56 +04:00
Zalim Bashorov
1b2aa205ec
Introduce assertNotEquals
2014-10-13 21:25:55 +04:00
Michael Nedzelsky
e5bbc2a0d8
JS backend: support for Throwable.getMessage
2014-10-09 19:32:00 +04:00
Michael Nedzelsky
2db1d128a0
JS backend: add ArrayList(Collection) into javautilCode.kt
2014-10-07 08:37:01 +04:00
Zalim Bashorov
c142253fb9
JS stdlib: droped unnecessary jutilCode.kt
2014-10-06 23:18:51 +04:00
Zalim Bashorov
9827a5a21d
Minor in JS stdlib: fix annotations.kt
2014-10-06 23:18:51 +04:00
Zalim Bashorov
23151936b6
JS stdlib: added volatile and synchronized.
2014-10-06 23:18:50 +04:00
Zalim Bashorov
80294f53ad
JS stdlib: drop TuplesCode.kt -- switch to use tuples from stdlib.
2014-10-06 23:18:50 +04:00
Michael Nedzelsky
bdca7e0e37
JS backend: fix KT-5772 wrong code generated when <,<=,>,>= are used with explicit Comparable type
...
#KT-5772 Fixed
2014-09-23 14:50:17 +04:00
Zalim Bashorov
507bfe49aa
Minor: "js.noImpl" -> "noImpl"
2014-09-16 19:34:57 +04:00
Zalim Bashorov
38401d04d5
Minor: made noImpl generic to avoid using in wrong context.
2014-09-16 19:32:38 +04:00
Zalim Bashorov
0f136d5adc
Minor in JS lib: dropped semicolon in package declarations.
2014-09-16 19:32:37 +04:00
Zalim Bashorov
b0aa3e9988
JS stdlib: fixed visibility in some declarations.
2014-09-16 19:32:37 +04:00
Zalim Bashorov
838c384672
"js" -> "kotlin.js"
2014-09-16 19:32:37 +04:00
Zalim Bashorov
59b83679b3
Minor in JS stdlib: made stdlib warning less -- suppressed some BASE_WITH_NULLABLE_UPPER_BOUND warnings and fix one extra out projection.
2014-09-16 18:07:37 +04:00
Alexander Udalov
f39c3041d2
Make MISSING_VAL_ON_ANNOTATION_PARAMETER error instead of warning
...
Annotation with a parameter that is not stored doesn't make any sense
2014-09-15 19:30:52 +04:00
Zalim Bashorov
223a14a855
Moved MutableMap.set from Maps.kt to MapsJVM.kt to avoid ambiguity when compile MapTest.kt by JS backend.
2014-07-16 21:35:10 +04:00
Zalim Bashorov
28228d23b1
JS stdlib: added missed constructors for HashSet, LinkedHashSet, HashMap and LinkedHashMap.
2014-06-26 16:33:14 +04:00
Ilya Ryzhenkov
516bae17d7
StringBuilder builder and appendln
2014-06-24 23:49:15 +04:00
Zalim Bashorov
6f5c88c21f
JS stdlib: added LinkedHashMap abd LinkedHashSet.
2014-06-20 16:42:43 +04:00
Ilya Ryzhenkov
9ec78a437d
Throw NoSuchElementException in appropriate cases #KT-4998 Fixed
2014-06-10 11:11:00 +04:00
Alexander Udalov
d78d4bc44c
Disallow extension properties with backing fields
...
#KT-1682 Fixed
2014-05-29 21:24:05 +04:00
Ilya Ryzhenkov
aee199b5b0
Add reverse() function to js version of StringBuilder
2014-04-24 12:59:40 +04:00
Ilya Ryzhenkov
e37d8174c3
New stdlib generators
2014-03-19 20:25:11 +04:00
Ilya Ryzhenkov
b60fd5acc1
Stable order in generated code for JS library
2014-03-19 20:25:10 +04:00
Alexander Udalov
3dcd85bdb4
Add toString() to Any, fix all tests
...
#KT-4517 Fixed
2014-03-02 19:54:49 +04:00