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
Pavel Punegov
4d8fddef6e
Add more tests from the latest snapshot
2017-11-16 17:21:48 +03:00
Pavel Punegov
d71af3da10
Ignore unsupported tests
2017-11-16 17:21:48 +03:00
Pavel Punegov
ffa1ffa659
Update box tests to 1.2.0-rc-39
2017-11-16 17:21:48 +03:00
Pavel Punegov
0121b6a185
Remove not used txt test metadata
2017-11-16 17:21:48 +03:00
Alexander Gorshenev
5c1a414347
A do-while loop serialization test.
2017-11-15 12:49:42 +03:00
Alexander Gorshenev
3e0b50ef6b
A test for catch serialization.
2017-11-15 12:49:42 +03:00
Pavel Punegov
0b7ad6e205
Remove obsolete C test files and Makefiles
2017-11-09 12:52:28 +03:00
Pavel Punegov
9400ee6a8e
Ignore failing tests
2017-11-09 12:48:21 +03:00
Pavel Punegov
fed1a5d63f
Fix packages that have the same names as locals
2017-11-09 12:48:21 +03:00
Ilya Matveev
06c02e5e8d
backend: Allow fake nullables in FOR loops
2017-11-09 12:42:49 +03:00
Ilya Matveev
d7795bb207
tests: Support custom konan.home for platform lib tests
...
* Move testLibrary tasks from klib into backend.native/tests
* Support konan.home property in them
2017-11-02 17:40:27 +03:00
Alexander Gorshenev
31662cc445
Allow specifying top level target and flavor in nativeInteropPlugin.
2017-10-25 12:38:57 +03:00
Alexander Gorshenev
feb581601e
After combining all tests into a single binary,
...
we need to increase wasm32 stack size a little,
for the `parse0` test to pass.
2017-10-24 12:24:55 +03:00
alexander-gorshenev
5700fa8cea
Allow a couple of test pass on linux_mips32 target.
2017-10-23 19:34:34 +03:00
Alexander Gorshenev
dc8840e14c
No testLibrary for cross compilation targets.
2017-10-23 16:03:20 +03:00
Alexander Gorshenev
886ef5fe5a
Moved a newly created test to Standalone category.
2017-10-23 16:03:20 +03:00
Alexander Gorshenev
3c5602017f
Several typos in comments and messages.
2017-10-23 16:03:20 +03:00
Alexander Gorshenev
19fe0168ad
Tuned test golden value.
2017-10-23 16:03:20 +03:00