Denis Zharkov
d259b91143
Add MutableMap.remove(K, V) as built-in declaration
...
Use PlatformDependent annotation to guarantee it's only be available for JDK8
Also adjust type-safe bridges and mutable collection stubs generation
2016-04-29 15:08:54 +03:00
Zalim Bashorov
658eac2d12
Add Unit to compiled part of Kotlin JS stdlib and don't show "Kotlin not configured" for Kotlin JS projects
...
#KT-11556 Fixed
2016-04-25 17:58:51 +03:00
Sergey Mashkov
149ce70ce2
Move testing from stdlib to js.stdlib
2015-12-18 22:16:04 +03:00
Ilya Gorbunov
1df4ab847d
Remove task for ant, include preprocessor into the compiler, call preprocessor in ant build.
2015-09-25 21:09:22 +03:00
Mikhail Glukhikh
5126f01452
kotlin.annotation package with annotations "target" and "annotation" and enums AnnotationTarget and AnnotationRetention introduced.
...
Targets for existing built-in annotations.
Access to annotation package from packageFragmentProvider.
Documentation for all classes in the package.
2015-07-14 16:24:45 +03:00
Alexander Udalov
6a0a703539
Delete numbered ExtensionFunction classes and generation logic
2015-05-26 15:04:57 +03:00
Alexander Udalov
b574c1d205
Move 23 function classes to package kotlin.jvm.functions, drop KFunction*
2015-05-26 14:27:41 +03:00
Alexander Udalov
f6178ad7dd
Introduce Function, KFunction interfaces and 'extension' annotation
2015-05-26 14:27:40 +03:00
Ilya Gorbunov
f18b9caa8d
JS: Provide MIN_VALUE and MAX_VALUE member constants for Int, Long, Short and Byte companion objects.
...
JVM: Make MIN_VALUE and MAX_VALUE not an extension but member constant properties of Int, Long, Short and Byte companion objects.
2015-05-17 17:26:25 +03:00
Alexander Udalov
9d6f4e99a1
Move reflection interfaces to module 'builtins'
...
They are considered to be built-ins everywhere anyway
2015-03-16 20:29:39 +03:00
Nikolay Krasko
1f79e0905f
Intrinsic default objects implementation
2015-03-05 01:30:37 +03:00
Pavel V. Talanov
007053489c
Fail on duplicate file when packing runtime sources for jvm
...
Fail on duplicate when packing kotlin-jslib.jar and kotlin-jslib-sources.jar
Move files from root of stdlib to avoid existing conflicts
Rename System to SystemJvm to avoid including to js lib
2014-12-24 14:55:21 +03:00
Zalim Bashorov
66519d9973
Added regression tests for KT-1906 Support invoke() convention is js-backend (including classes implementing Function trait)
...
#KT-1906 Fixed
2014-10-21 22:46:09 +04:00
Michael Nedzelsky
229c92e6b8
JS backend: add files to jslib_files.xml
2014-10-14 16:45:59 +04:00
Zalim Bashorov
ae39524a95
JS backend: compile primitive iterators from builtins as part of stdlib.
2014-10-13 21:25:55 +04:00
Zalim Bashorov
8f6b12d296
Fixed maven build
2014-10-06 23:18:53 +04:00