Commit Graph

4833 Commits

Author SHA1 Message Date
SvyatoslavScherbina cd4e0af034 Improve support for Objective-C methods clashing with methods of Any (#2914) 2019-04-25 11:29:35 +03:00
Ilya Matveev 270a53ac8b Fix composite build against shared
Gradle executes buildSrc logic in a separate classloader.
Thus we need to build sources of the composite shared
in buildSrc and include them in runtime dependencies of
the buildSrc:plugin project.
2019-04-25 13:23:14 +07:00
SvyatoslavScherbina 14fb86d487 Refactor and improve Objective-C override checks (#2907) 2019-04-24 15:01:47 +03:00
Mark Punzalan 73d5ac8120 Fix typo in ring benchmark list (incorrect benchmarks are called). (#2911) 2019-04-24 12:38:41 +03:00
Mark Punzalan 6d544cd667 Add option to use regexes for filtering and add property for passing compiler args when running benchmarks. (#2894) 2019-04-24 10:18:22 +03:00
Nikolay Igotti a764723e4f Fix object sharing and early instance allocations. (#2908) 2019-04-23 16:43:39 +03:00
SvyatoslavScherbina a6f1048e8a Fix #2872 (#2898) 2019-04-23 11:40:15 +03:00
SvyatoslavScherbina 44dbf684e5 Fix casts to type parameters with multiple bounds (#2891)
Fix #2888
2019-04-23 11:40:15 +03:00
Vasily Levchenko 85485522cf [kotlin compiler][update] 1.3.40-dev-2068 (#2905) 2019-04-23 08:06:25 +03:00
Nikolay Igotti 248414a1c2 Add platform zlib for Linux arm32. (#2903) 2019-04-22 15:49:32 +03:00
Ilya Matveev 9f5e4c3634 Exclude the testing_stacktrace test for wasm32 2019-04-22 11:10:35 +07:00
Svyatoslav Scherbina d90d6cd47a Add trivial test for @OverrideInit 2019-04-19 13:52:19 +03:00
Svyatoslav Scherbina 99e1ec6c9f Fix location for @OverrideInit-derived synthetic method parameters 2019-04-19 13:52:19 +03:00
Svyatoslav Scherbina 39e31d7086 Support *arrayOf(...) for variadic C/Objective-C functions
To be used with named arguments, which may be required to resolve ambiguity.
2019-04-19 13:52:19 +03:00
Svyatoslav Scherbina e437339d9a Support variadic Objective-C methods 2019-04-19 13:52:19 +03:00
Svyatoslav Scherbina 79e36a31cf Add improved compiler error reporting util 2019-04-19 13:52:19 +03:00
Svyatoslav Scherbina ba212bddba Make arrayOf(...) intrinsic 2019-04-19 13:52:19 +03:00
Elena Lepilkina f8f44533a4 Removed people notification from report 2019-04-19 13:36:13 +03:00
Elena Lepilkina 528820db61 Disable sending performance report to users 2019-04-19 10:22:23 +03:00
SvyatoslavScherbina e87680825e Fix C names mangling in CBridgeGen (#2895) 2019-04-18 15:51:00 +03:00
Mark Punzalan aae53cfda9 Generate unsigned ICmp instructions for builtin comparison operators for Char. (#2875) 2019-04-18 09:12:34 +03:00
Dmitriy Dolovov a9a8559410 Support building tetris sample for MinGW32 (#2890)
* Samples: Make API inside of MPPTools less verbose

* Samples: Ability to build tetris for MinGW X86

* Samples: Instructions for installing SDL2 to MinGW32

* Fix location of MinGW32

* Simplify MinGW32 check
2019-04-18 10:19:28 +07:00
Pavel Punegov 8272ca7442 Update compiler to 1.3.40-dev-1842 (#2876) 2019-04-17 17:44:14 +03:00
Alexander Gorshenev 10ade4cd35 Don't use private interfaces in stdlib.
This is a murky area which exists just because jvm allows that.
2019-04-17 16:18:49 +03:00
Ilya Matveev b586be2a50 Test runner: Add tests for Gradle test filter 2019-04-17 16:34:51 +07:00
Ilya Matveev 25b2ec8366 Test runner: Report stacktraces for failed tests in TC messages 2019-04-17 16:34:51 +07:00
Ilya Matveev 43c6452575 Test runner: Add a flag to ignore failures in the exit code
Kotlin/Native test runner sets the exit code to a non-zero value
if there are failing tests. This patch adds a flag allowing a user
to disable this feature and make the runner to always return 0.
Note the exit code is still returned using the `exitProcess` call.
2019-04-17 16:34:51 +07:00
Ilya Matveev 6c39516380 Test runner: Report ignored test suites 2019-04-17 16:34:51 +07:00
Ilya Matveev beaf832413 Test runner: Support Gradle test patterns (KT-30533) 2019-04-17 16:34:51 +07:00
Pavel Punegov 0dab2df25c Escape file names that contain whitespaces 2019-04-17 12:12:54 +03:00
Svyatoslav Scherbina d029e3b730 Add trivial tests for compositions of ObjCExport and overriding 2019-04-17 11:41:05 +03:00
Ilya Matveev ad58a55e03 Update Kotlin version in samples and Dockerfile
1.3.40-dev-1480 for samples.
1.3.30 for the Dockerfile (it reflects the latest K/N release).
2019-04-17 13:30:56 +07:00
Vasily Levchenko 3bf3b6a5a3 [codegen][debug info] improvement of generation debug info for 'finally' block 2019-04-17 05:11:20 +03:00
Nikolay Igotti 3b1783a48d Fix couple problems in Tetris sample. 2019-04-16 19:27:30 +03:00
LepilkinaElena bebad1c069 Change version of MPP plugin to new one (#2879) 2019-04-16 17:28:43 +03:00
Svyatoslav Scherbina 2678cd7d3c Remove unused IR-related code 2019-04-16 14:18:54 +03:00
Svyatoslav Scherbina 0757bfb927 Make ObjCExportCodeGenerator more explicit and decoupled
Also stop using SymbolTable
2019-04-16 14:18:54 +03:00
Svyatoslav Scherbina 702322bd78 Refactor InteropLowering to avoid using SymbolTable 2019-04-16 14:18:54 +03:00
Svyatoslav Scherbina a576fe8cc2 Refactor ExpectToActualDefaultValueCopier to avoid using SymbolTable 2019-04-16 14:18:54 +03:00
Svyatoslav Scherbina 50c4fcb3db Refactor CAdapterGenerator to avoid using SymbolTable during codegen 2019-04-16 14:18:54 +03:00
Svyatoslav Scherbina 1ec5a188f7 Introduce SymbolTable lifecycle
To be enforced later
2019-04-16 14:18:54 +03:00
Svyatoslav Scherbina fefcb8082f Fix @Throws for exported from libraries 2019-04-16 14:18:54 +03:00
Nikolay Igotti fd4adaaeaf Pass CPU information to codegenerator, to fix mingw_x86 opt. (#2870) 2019-04-16 08:29:51 +03:00
Igor Chevdar bfd30c626d [DFG] Added node type <Null> + test 2019-04-15 17:04:42 +03:00
Martin Petrov 6ba2a94cff Support escaped arguments in argfiles. (#2866) 2019-04-15 11:08:13 +03:00
Sergey Bogolepov 41cae8bb0b Fix RetainForTarget annotation usage (#2868) 2019-04-15 08:32:39 +03:00
Nikolay Igotti d5096cbb1e Use libuuid on Windows as well. 2019-04-13 10:58:22 +03:00
Ilya Matveev 20ca9d5d67 Update changelog for 1.2.0 2019-04-11 15:29:31 +07:00
Vasily Levchenko 2aa2bb45ba [codegen][debug info] generating inline function information aka C 'inline' keyword (KT-30312) 2019-04-11 06:14:44 +03:00
Vasily Levchenko 7dead9657b [codegenerator][review] todo on [contextUtils::isExternal] 2019-04-10 18:12:51 +03:00