Alexander Gorshenev
33d895fcf7
Brought back the Standalone and Linker tests into backend.native:tests:run.
2018-02-07 18:25:22 +03:00
Nikolay Igotti
917930ba53
Make empty array handling more efficient, also fixes KT-21758 ( #1285 )
...
* Make empty array handling more efficient, also fixes KT-21758
* Fix WebAssembly.
2018-02-07 10:52:51 +03:00
Sergey Bogolepov
b5f6c2460d
Added used annotaions for functions that are used from JS
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
c4bb89969b
Added commentary about wasm mem* functions
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
0406b0ff0b
Prevent Konan_js_main from internalization
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
b8e31c2f6b
Fix wasm target
2018-02-06 14:39:14 +03:00
Nikolay Igotti
19cc8c6bee
API for object passing between platform threads. ( #1270 )
2018-01-30 13:19:56 +03:00
Nikolay Igotti
12d3346c36
Minor code cleanup. ( #1264 )
2018-01-26 20:48:21 +03:00
Pavel Punegov
c5276cf6da
Add limits.h for max and min defines
2018-01-26 11:56:56 +03:00
Pavel Punegov
20437eff59
Fix indents
...
(cherry picked from commit 2da5bf2)
2018-01-26 11:56:56 +03:00
Pavel Punegov
cc89dc2754
Fix floating point conversions to match Kotlin/JVM
...
(cherry picked from commit de078d6)
2018-01-26 11:56:56 +03:00
Nikolay Igotti
155618c7dd
Simple GC ergonomics.
2018-01-25 12:54:42 +03:00
Alexander Gorshenev
f703877160
Introduced support for javascript Math and Kotlin Double to WASM32.
...
Implemented jsinterop tool for interaction with js math.
2018-01-19 13:46:53 +03:00
Nikolay Igotti
77f220f335
Support @CName annotation for reverse C interop, similar to @JvmName. ( #1237 )
2018-01-17 19:34:00 +03:00
Svyatoslav Scherbina
45cd41ce81
Replace some libstdc++ functions by simpler implementations
...
This helps to avoid linking large libstdc++ parts,
thus reducing the binary size.
2018-01-16 14:43:10 +03:00
Pavel Punegov
902519a26b
Check all whitespace characters according to Unicode standard
2018-01-10 18:58:48 +03:00
Svyatoslav Scherbina
8d4bedfef6
Enable missing checkers for frontend:
...
* Forbid super-calls with default arguments as in JVM;
* Forbid passing incorrect types for reified parameters.
Also suppress revealed errors with passing non-reified type to
array constructor
2018-01-10 18:42:28 +03:00
Pavel Punegov
670d05a4f3
Update stdlib and tests ( #1194 )
2018-01-09 13:17:55 +03:00
Nikolay Igotti
4231441e81
Fix workers sample ( #1196 )
2017-12-27 21:31:21 +03:00
Ilya Matveev
92e666f023
stdlib: Enable assertFailsWith function
...
The function was disabled due to an issue with catch serialization.
Now the issue is fixed and the function can be re-enabled.
2017-12-18 18:48:53 +07:00
SvyatoslavScherbina
61dc49b4b7
Fix more -produce framework bugs ( #1152 )
...
* Support array constructors as factory methods when producing framework
#KT-21802 Fixed
* Improve name mangling for produced framework
* Improve multi-inheritance handling when producing framework
#KT-21817 Fixed
#KT-21836 Fixed
2017-12-18 12:29:09 +03:00
Svyatoslav Scherbina
d7d0bcb92b
Fix -produce framework broken by 9d14a29f
2017-12-15 17:58:38 +03:00
Sergey Bogolepov
9d14a29f49
Added a little hack that allows to enable runtime optimizations ( #1147 )
2017-12-15 16:46:31 +03:00
ilmat192
cba7319e98
Fix utf8 conversion ( #1121 )
2017-12-12 13:30:50 +03:00
Nikolay Igotti
d0f1296c7e
Rework deinit sequence to avoid bogus leak detector warnings.
2017-12-12 12:54:45 +03:00
Alexander Gorshenev
899ad0740c
Reflect the recent runtime initialization changes in the browser context.
2017-12-12 12:29:34 +03:00
Nikolay Igotti
2cc390376f
Fix Android build.
2017-12-11 20:54:04 +03:00
Nikolay Igotti
e80f7421c7
Rework runtime init ( #1127 )
2017-12-11 15:09:03 +03:00
Svyatoslav Scherbina
0d082d6730
Improve kotlin.Unit support in produced framework
...
Make the Objective-C wrapper unique, and provide the method to get it
2017-12-07 18:56:26 +03:00
Svyatoslav Scherbina
7696f41f6c
Fix Objective-C protocol adopting Kotlin one when producing framework
2017-12-07 18:56:26 +03:00
Svyatoslav Scherbina
0279cee371
Remove workarounds for LLVM bug 33220
2017-12-06 09:25:18 +03:00
Igor Chevdar
c384c68c77
Fixed warning
2017-12-04 18:17:30 +03:00
Nikolay Igotti
5663c176a5
Runtime ABI ( #1097 )
2017-12-01 17:04:51 +03:00
Vasily Levchenko
3a6cb76dc1
[llvm][update][5.0.0] llvm 5.0.0
2017-12-01 10:36:34 +03:00
Nikolay Igotti
8ae1a156b7
Generate reverse interop stubs ( #1065 )
2017-11-30 18:09:40 +03:00
Igor Chevdar
6492682b28
Supported recursive references in enums
...
Split enum entries initialization onto two steps:
1. Allocation of all instances and storing them in the array;
2. Calling constructors on each instance.
2017-11-30 16:27:06 +03:00
Svyatoslav Scherbina
d745e80135
Implement -produce framework option
...
It compiles Kotlin code to Objective-C framework
(also importable to Swift)
2017-11-29 12:12:02 +03:00
Ilya Matveev
7889d13974
stdlib: Support kotlin.math
2017-11-28 19:39:33 +07:00
Ilya Matveev
2227c6c522
stdlib: Implement float/double <-> bits conversion
2017-11-28 19:39:33 +07:00
Nikolay Igotti
579e4a0d4c
Small tweaks ( #1043 )
...
* Make Future.consume() inline.
* Small player tweaks.
2017-11-16 18:24:37 +03:00
Igor Chevdar
bec7d80a68
Fixed warnings
2017-11-16 12:22:02 +03:00
Nikolay Igotti
131c99d535
Videoplayer example ( #1031 )
2017-11-14 19:39:52 +03:00
Nikolay Igotti
afe0780d28
Improve workers API, fix lost sync. ( #1029 )
2017-11-13 16:42:00 +03:00
Nikolay Igotti
e2fc1ddb53
Fix incorrect size of resulting string in fromUtf8Array() ( #1011 )
2017-11-07 19:55:51 +01:00
Aleksey Kladov
a90cf10631
unit-tests: TeamCityLogger reports location hints
2017-11-07 12:26:30 +03:00
Nikolay Igotti
915d4bc826
Fix object init/deinit bug, refactoring ( #1000 )
2017-11-02 14:37:25 +03:00
Vasily Levchenko
a917d044bd
[comment] missed legal header ( #991 )
2017-10-30 17:06:00 +03:00
Vasily Levchenko
fea734ec83
[codegen][debug] generation debug info for vals.
2017-10-26 15:45:03 +03:00
Aleksey Kladov
b6713df52a
unit-tests: multiple positive patterns are ORed together
...
This matches behavior of Google Test:
https://github.com/google/googletest/blob/7684db32712ea4fdb56e8d6f784c51d6f39e5e2c/googletest/docs/AdvancedGuide.md#running-a-subset-of-the-tests
2017-10-26 13:45:04 +03:00
Svyatoslav Scherbina
73379a6d59
Fix calling function pointers with FP arguments on arm32
2017-10-25 18:21:02 +03:00