Ilya Matveev
60560f6bca
[tests] Remove separate math test for wasm
2018-03-01 17:02:37 +03:00
Ilya Matveev
164d35c73f
[stdlib] Implement kotlin.math for wasm
2018-03-01 17:02:37 +03:00
Pavel Punegov
0b84718fa2
Support nullable floating point equality comparisons
2018-02-28 22:46:44 +03:00
Alexander Gorshenev
095cad4145
A test for a default arg skip bug during the serialization.
2018-02-28 13:24:07 +03:00
Sergey Bogolepov
049d29af75
Fixed trailing newline in consoleReadUtf8
2018-02-26 14:28:13 +03:00
Alexander Gorshenev
baaee2b816
A test for IrVarargElement and IrSpreadElement serializations.
2018-02-26 14:15:48 +03:00
Pavel Punegov
45985d9a7f
Review fixes
2018-02-22 19:03:03 +03:00
Pavel Punegov
6b44b69ec7
Remove ignore for several floating point tests
2018-02-22 19:03:03 +03:00
Svyatoslav Scherbina
e035ac1022
Support importing string literal macros with cinterop
2018-02-22 10:08:54 +03:00
Igor Chevdar
91bd565972
Implemented isInitialized for lateinit properties + tests
2018-02-21 11:57:13 +03:00
Igor Chevdar
bb311c7ac4
Supported lateinit locals + tests
2018-02-19 18:51:15 +03:00
alexander-gorshenev
43cbea8a67
Fixed a little issue in how we call ExecClang plugin. ( #1317 )
...
Moved ExecClang plugin to Kotlin.
2018-02-12 18:59:54 +03:00
Igor Chevdar
ae95da2416
Fixed bug with nested enums lowering + test
2018-02-12 15:41:47 +03:00
SvyatoslavScherbina
0dc0831405
Don't serialize expect declaration descriptors ( #1307 )
...
Thus fix producing .klib from multi-platform sources
2018-02-12 14:15:21 +03:00
Pavel Punegov
066bff2004
Fix override conflicts with different return types
2018-02-09 14:25:23 +03:00
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
19cc8c6bee
API for object passing between platform threads. ( #1270 )
2018-01-30 13:19:56 +03:00
Igor Chevdar
15ef5bd6c0
Fixed bug in default args lowering + test
...
Made proper overridden descriptor selection.
2018-01-29 16:24:01 +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
SvyatoslavScherbina
7567c96bc9
Add basic support for multi-platform projects to the compiler ( #1254 )
...
Add compiler pass removing `expect` declarations
Thus support multi-platform projects in the compiler.
Also
* Add some trivial checks to ensure that `expect` declarations
are not generated to bitcode.
* Add minor improvement to exported symbol name clash detection.
* Don't create LLVM declarations for Obj-C-interop fake functions.
2018-01-25 12:55:06 +03:00
Igor Chevdar
e75a39fdd1
Fixed evaluation of lambda arguments of inline call + test
...
A lambda argument should be inlined only if it is declared as a functional type.
2018-01-22 19:07:36 +03:00
Igor Chevdar
295f71a29c
Fixed inline call arguments evaluation + test
2018-01-22 19:07:36 +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
1599eddfe1
Allow passing interop types to C API, refactoring.
2018-01-18 18:27:58 +03:00
Igor Chevdar
f218e2676e
Fixed bug in LocalDeclarationsLowering + test
...
Bug was in determining whether a function was locally defined
2018-01-18 15:33:47 +03:00
Igor Chevdar
b2098088ec
Fixed bug with type projection building + test
...
Bug could be seen on fake overridden functions calls
2018-01-18 12:50:32 +03:00
Nikolay Igotti
77f220f335
Support @CName annotation for reverse C interop, similar to @JvmName. ( #1237 )
2018-01-17 19:34:00 +03:00
Ilya Matveev
9eb00ddb94
[build] Use gradle plugin in backend.native tests
2018-01-17 16:58:44 +07:00
Ilya Matveev
aed28a3e2d
[tests] Make tests using platform libs depending on distPlatformLibs
2018-01-17 16:58:44 +07:00
Nikolay Igotti
1aa2e26344
Fix enum entries processing in C reverse interop. ( #1232 )
2018-01-15 20:16:30 +03:00
Svyatoslav Scherbina
e1b507f998
Fix fixed NSString* parameters in variadic functions
2018-01-11 12:28:40 +03:00
Pavel Punegov
a6367f759b
Expect test to fail on wasm32 due to exceptions
2018-01-10 18:58:48 +03:00
Pavel Punegov
902519a26b
Check all whitespace characters according to Unicode standard
2018-01-10 18:58:48 +03:00
Svyatoslav Scherbina
b700f96e0c
Rework stubs for interop globals passed by value
...
#KT-21855 Fixed
2018-01-09 17:51:50 +03:00
Pavel Punegov
670d05a4f3
Update stdlib and tests ( #1194 )
2018-01-09 13:17:55 +03:00
Nikolay Igotti
c2d067924d
Rework C bindings generator to pure descriptor-based system. ( #1193 )
2017-12-27 13:30:12 +03:00
Nikolay Igotti
a05688351a
Fix C API generation. ( #1182 )
2017-12-25 16:24:16 +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
Pavel Punegov
65ceba0a35
Exclude failing tests
2017-12-18 14:37:34 +03:00
Konstantin Anisimov
53b243c9f8
1) Do not inline in function declared as "inline"
...
2) Evaluate all arguments except lambdas
2017-12-16 08:08:40 +03:00
Svyatoslav Scherbina
905390cd45
Improve support for Objective-C forward declarations
2017-12-15 14:38:22 +03:00
alexander-gorshenev
e2040f9b5d
Disabled cross targets for the produce dynamic test.
...
MIPS and WASM32 need more attention.
2017-12-15 13:25:10 +03:00
Alexander Gorshenev
bf612fdbdc
A -produce dynamic test.
2017-12-15 13:25:10 +03:00
ilmat192
cba7319e98
Fix utf8 conversion ( #1121 )
2017-12-12 13:30:50 +03:00
Igor Chevdar
03ef9e4855
Added test on special bridges
2017-12-07 17:06:13 +03:00
Igor Chevdar
86e221ed58
Added tests on workers's bridges
2017-12-06 18:32:22 +03:00
Igor Chevdar
05179971c1
Added test
2017-12-04 16:09:05 +03:00
Alexander Gorshenev
cdd3185920
Instead of execClang we now have execKonanClang which properly invokes
...
the distribution clang able to utilize distributed sysroots etc.
And execBareClang which just invokes the distribution clang with system sysroot.
2017-12-01 12:11:34 +03:00
Pavel Punegov
1c371bc937
Review fix
2017-11-24 15:02:43 +03:00
Pavel Punegov
8ac1fed0f3
Build results file even if some tasks failed with exception
2017-11-24 15:02:43 +03:00