Commit Graph

3567 Commits

Author SHA1 Message Date
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
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
Alexander Gorshenev 7d2b794401 Vararg elements in serialization. 2018-02-26 14:15:48 +03:00
Igor Chevdar 2be9953d4f Merged InlinedConstructorTransformer into ordinary inliner.
The benefits are - removed big amount of copy/paste;
fixed bug with recursive inline touching inline constructors.
2018-02-26 13:28:19 +03:00
Ilya Matveev d15f55d807 [gradle-plugin] Annotate commonSourceSet with @Deprecated 2018-02-26 12:48:39 +03:00
Ilya Matveev 9c812e0c90 [gradle-plugin] Allow setting several common source sets 2018-02-26 12:48:39 +03:00
Nikolay Igotti 346e1aefcf Rework globals init. (#1336) 2018-02-23 01:32:01 +03:00
Pavel Punegov 46f75c2226 More review fixes 2018-02-22 19:03:03 +03:00
Pavel Punegov 45985d9a7f Review fixes 2018-02-22 19:03:03 +03:00
Pavel Punegov 8352e5f7d9 Small indent fix 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
Pavel Punegov ad8160ae83 Support IEEE754 floating point comparisons
Add an intrinsic that performs check according to the standard
Add floating point compare methods from LLVM
Support new IR builtins, symbols and descriptors
Rewrite compareTo floating point checks to Kotlin
Rewrite equals to be the same as in JVM
2018-02-22 19:03:03 +03:00
Pavel Punegov e3fd5d5306 Update kotlin compiler to 1.2-20180212.074217-235 2018-02-22 19:03:03 +03:00
Pavel Punegov 758a1effd1 Update to latest changes in frontend 2018-02-22 19:03:03 +03:00
Pavel Punegov 0761108399 Make intrinsics be external functions 2018-02-22 19:03:03 +03:00
Nikolay Igotti 6e3d751a17 Resolve variadic vs. normal arguments conflicts in LLVM signatures. (#1357) 2018-02-22 19:02:31 +03:00
Ilya Matveev 08a5fdaaf7 [klib] Add copyright into test data 2018-02-22 15:00:29 +03:00
Ilya Matveev 2e958f0219 [klib] Print accessors 2018-02-22 15:00:29 +03:00
Ilya Matveev ba56d17cec [klib] Don't print 'final' modality 2018-02-22 15:00:29 +03:00
Ilya Matveev 5f100c620e [readme] Fix URL rendering in RELEASE_PROCESS.md 2018-02-22 15:00:29 +03:00
Ilya Matveev 4a64dd08bd [gradle-plugin] Add TODO to replace HostManager with PlatformManager 2018-02-22 15:00:29 +03:00
Ilya Matveev ad9babfec6 [klib] Use DescriptorRenderer instead of PrettyPrinter 2018-02-22 15:00:29 +03:00
Nikolay Igotti 132c873927 Disable devirtualization. 2018-02-22 12:47:30 +03:00
Svyatoslav Scherbina e035ac1022 Support importing string literal macros with cinterop 2018-02-22 10:08:54 +03:00
Svyatoslav Scherbina 4335f891b7 Add minor improvement to kotlin String literals in generated sources 2018-02-22 10:08:54 +03:00
Svyatoslav Scherbina 29d77d3867 Update libclang interop stubs 2018-02-22 10:08:54 +03:00
Svyatoslav Scherbina 433737f66a Fix minor issue with :Interop:Indexer:updatePrebuilt Gradle task 2018-02-22 10:08:54 +03:00
Svyatoslav Scherbina f3dbf8f5d4 Don't use backing fields for properties generated from macros
Thus don't require running initializer for these.
2018-02-22 10:08:54 +03:00
Svyatoslav Scherbina 05da6481d9 Add comment to auto-generated interop stubs 2018-02-22 10:08:54 +03:00
Vasily Levchenko b8c36098b3 [gradle][plugin][warns] bit of idea inspection warnings fixed 2018-02-21 17:00:15 +03:00