Commit Graph

3547 Commits

Author SHA1 Message Date
Svyatoslav Scherbina 610c9b5278 Reduce usage of descriptors in latest stages of compiler
Initialize properly new required IR data.

Also update kotlin compiler to 1.2.40-dev-837 (d3ab86db).
2018-03-14 01:35:14 +03:00
Carlos Ballesteros Velasco 011197c462 Add missing libraries for some exported functions (#1401) 2018-03-13 17:48:16 +01:00
Ilya Matveev 5ab7296ceb [build] Support composite build with Kotlin/JVM 2018-03-13 19:17:38 +03:00
Carlos Ballesteros Velasco 88fcae144e Add windows opengl32 platform library (#1400) 2018-03-13 15:43:51 +01:00
Ilya Matveev 60fff46930 [gradle-plugin] Mention artifact project, library DSL in readme 2018-03-13 17:05:36 +03:00
Ilya Matveev 157fb349ea [gradle-plugin] Allow user to add several expectedBy dependencies 2018-03-13 17:05:36 +03:00
Ilya Matveev 40f76419a2 [gradle-plugin] Support KONAN_ENABLE_OPTIMIZATIONS env variable 2018-03-13 17:05:36 +03:00
Ilya Matveev 489b1a5708 [gradle-plugin] Run tools with -Xmx3G by default 2018-03-13 17:05:36 +03:00
Ilya Matveev 669baf88a3 [gradle-plugin] Fix setting default compiler version 2018-03-13 17:05:36 +03:00
Ilya Matveev 0f1bcecd31 [gradle-plugin] Add copyrights in tests 2018-03-13 17:05:36 +03:00
Ilya Matveev 6aee9446c6 [gradle-plugin] Add a konan.useEnvironmentVariables property 2018-03-13 17:05:36 +03:00
Ilya Matveev 763592fe03 [gradle-plugin] Fix environment variable tests for Windows 2018-03-13 17:05:36 +03:00
Ilya Matveev b20fdb0a0d [gradle-plugin] Support environment variables
DEBUGGING_SYMBOLS - if 'YES' all artifacts will be built
    with -g flag.

CONFIGURATION_BUILD_DIR - if set all artifacts will be
    placed in the directory specified by this
    environment variable
2018-03-13 17:05:36 +03:00
Pavel Punegov b34bfabe46 Ignore JVM specific tests 2018-03-13 12:58:22 +03:00
Vasily Levchenko 1a0f9bfe2e [kotlin compiler][update] 1.2.40-dev-610
Switch to pinned teamcity builds.
2018-03-13 11:21:16 +03:00
Svyatoslav Scherbina 9e8d784dac Allow '+new' in produced framework for classes with empty constructor 2018-03-12 10:42:06 +03:00
Svyatoslav Scherbina 79b0dc5652 Add check to prevent loading more than one Kotlin framework 2018-03-12 10:41:34 +03:00
Alexander Gorshenev 0570e281a9 Moved KonanTargets to be mostly pairs.
Moved nice device and generic os names to be target aliases.
2018-03-07 14:41:33 +03:00
Pavel Punegov 0c8ca828eb Add AfterTest and BeforeTest aliases for tests 2018-03-06 14:16:24 +03:00
Ilya Matveev 588dd7efb7 [js-interop] Add Konan_js_getInt stub for targets without JS interop 2018-03-06 11:29:31 +03:00
Pavel Punegov f097756721 Remove ignore tag for tests that don't fail any more
Check for execution correctness inside the test
Fix run_external to include compileKotlinAgainstKotlin
2018-03-05 19:53:35 +03:00
Igor Chevdar be251c98fb Added throwing exception if receiver type is unexpected
This assert is not generated with -opt mode
2018-03-02 14:21:33 +03:00
Nikolay Igotti 2812480af9 Documentation fixes. (#1377) 2018-03-02 14:15:53 +03:00
Igor Chevdar e84db81f23 DFGSerializer: supported Java 9 compact strings 2018-03-02 14:06:22 +03:00
Mike Sinkovsky 8d7d0907fc zephyr: win32 host 2018-03-01 17:03:53 +03:00
Ilya Matveev 8e08bbf6bd [stdlib] Fix comments in kotlin.math 2018-03-01 17:02:37 +03:00
Ilya Matveev d5ddc5902d [tests] Fix jsinterop test 2018-03-01 17:02:37 +03:00
Ilya Matveev 968014868d [stdlib] Don't pass an arena to JS math functions 2018-03-01 17:02:37 +03:00
Ilya Matveev da5f4e4c2e [build] Add a task to re-generate math.js 2018-03-01 17:02:37 +03:00
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
Ilya Matveev ffae98f7e0 [js-interop] Include JS interop into stdlib 2018-03-01 17:02:37 +03:00
Ilya Matveev 2e54fb9144 [gradle-plugin] Fix a test with two main functions 2018-03-01 17:02:37 +03:00
Nikolay Igotti 9ea6642b49 v0.6.1 preparations. (#1373) 2018-03-01 17:00:46 +03:00
SvyatoslavScherbina 51a83a41ed Don't import CreateNSStringFromKString into LLVM module twice (#1374)
#KT-23037 Fixed
2018-03-01 16:54:08 +03:00
Nikolay Igotti 983aad79b9 Fix init function name clash. (#1363) 2018-03-01 14:59:48 +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
Alexander Gorshenev 07c5b2201c Don't skip absent args during function serialization.
So that we can recover an explicit null value correctly.
2018-02-28 13:24:07 +03:00
Vasily Levchenko f78bd00e80 [kotlin compiler][update] 1.2.40-dev-610 2018-02-28 11:09:16 +03:00
Igor Chevdar 195d441d02 Replaced explicit DFG version with auto computed hash 2018-02-27 18:18:49 +03:00
Alexander Gorshenev d285a45159 Got rid of empty.c and empty program.o manipulations. 2018-02-27 15:16:37 +03:00
Alexander Gorshenev ac6c3443eb Gte rid of warnings about enum size for zephyr. 2018-02-27 15:16:37 +03:00
Alexander Gorshenev feaf220f5b Adapted to cinterop now capable of #define foo "bar". 2018-02-27 15:16:37 +03:00
Alexander Gorshenev 0de9b3a9b6 We now have a Kotlin program to blink a LED on stm32f4_disco. 2018-02-27 15:16:37 +03:00
Igor Chevdar c4111a836e DFG: turned on serialization/deserialization of functions/types names 2018-02-27 14:06:05 +03:00
Igor Chevdar df97ef75c9 Fixed bug in devirtualization
All final return types of external functions are instantiated
2018-02-27 14:06:05 +03:00
Igor Chevdar b577c05eaa DFG: Added return type to function declaration 2018-02-27 14:06:05 +03:00
Igor Chevdar 9ee1aaf763 Bumped memory limit for distPlatformLibs 2018-02-27 14:06:05 +03:00
Sergey Bogolepov 1be56f1e51 Do not save temporary files by default 2018-02-27 12:13:32 +03:00