Commit Graph

583 Commits

Author SHA1 Message Date
Pavel Punegov 96b0d10746 Implement LC random generator and Collection.shuffle 2018-07-05 14:51:34 +03:00
Svyatoslav Scherbina 155b7b698e Fix minor bug in memory management
Properly handle the case when the program finishes with empty 'toFree' buffer
but non-empty deallocation queue.
2018-07-04 22:31:49 +03:00
Igor Chevdar f4fef09447 Fixed external tests
Marked all mutable objects with konan.ThreadLocal annotation
2018-07-04 17:11:02 +03:00
Igor Chevdar c9e7a4faed Fixed bug with objects access in global initialisers + test 2018-07-04 12:24:50 +03:00
Vsevolod Tolstopyatov a8d6113308 Dispatch Any methods called on interface via vtable instead of itable (#1753) 2018-07-04 10:10:58 +03:00
Nikolay Igotti dfc01847c5 Freeze objects by default, stdlib improvements. (#1743) 2018-07-03 16:45:34 +03:00
Igor Chevdar 11c4a2518d Fixed bug in finally blocks lowering + test
Return type must be taken from the function
2018-06-29 15:48:48 +03:00
Igor Chevdar 57e75915ff Fixed bug in SuspendFunctionsLowering + test
Supported callable references to non-local suspend functions.
2018-06-27 09:14:08 +03:00
Alexander Gorshenev b93188a056 Added a regression test for Char constant serialization. 2018-06-26 17:08:02 +03:00
Igor Chevdar 5e59045352 Fixed bug with default args copying in enums + test 2018-06-26 11:38:58 +03:00
Igor Chevdar 17608ecb98 Implemented intrinsic <coroutineContext> + tests 2018-06-25 13:24:07 +03:00
Svyatoslav Scherbina 9bbecf33d2 Migrate compiler to IR types 2018-06-22 11:29:46 +03:00
Nikolay Igotti 1df27a7884 Tweaks to atomics implementation. (#1703) 2018-06-20 14:36:16 +03:00
Nikolay Igotti 7074976f7f Rework test runner to avoid mutable objects. (#1702) 2018-06-19 14:31:31 +03:00
Nikolay Igotti 94fb9c004a Atomic values support. (#1695) 2018-06-18 10:46:20 +03:00
Pavel Punegov 5e6e23dd53 Throw NoSuchElementException instead of IOOBE in ArrayList's iterator (#1694) 2018-06-18 10:37:11 +03:00
Pavel Punegov 374397d03f Common stdlib
- adds actual matching expect declarations
- removes duplicates
- rewrite collections
- add MPP and experimental compiler options
2018-06-13 14:23:49 +03:00
Igor Chevdar b92fbe7f42 Fixed bug in inliner + test 2018-06-09 11:45:43 +03:00
Sergey Bogolepov 5ad749d56b Added switch (enum-only when) lowering
Added enum ordinal to serialization
2018-06-07 14:29:17 +07:00
Igor Chevdar 2faf7908ee Implemented equal in IR 2018-06-06 14:55:33 +03:00
Nikolay Igotti afc7d1dd9e Make String and box types frozen by default, more freeze checks (#1645) 2018-06-06 11:59:16 +03:00
Svyatoslav Scherbina 2934588bbe Fix garbage cycle collection for kotlin.Array 2018-06-05 12:32:15 +03:00
Pavel Punegov c0f3e5f9e8 Fix KT-24370. Make indexOf consistent with Kotlin/JVM 2018-06-01 17:13:22 +03:00
Sergey Bogolepov f3115a100a Fix for enum equals method (#1638)
* Fix for enum equals
2018-05-31 14:42:18 +07:00
Igor Chevdar 5e57f146de Fixed bug in DFG building with workers + test 2018-05-29 10:32:47 +03:00
Ilya Matveev 7aa92eaa25 [gradle-plugin] Re-add an aggregate task to run all executables 2018-05-25 18:38:41 +07:00
Ilya Matveev d2670b4921 [gradle-plugin] Create a separate run task for each executable 2018-05-25 18:38:41 +07:00
Igor Chevdar 74e1783e2b Fixed bug in <when> codegen + test 2018-05-22 12:07:36 +03:00
Igor Chevdar 7ded115ddd Fixed bug in Inliner + test 2018-05-16 16:57:53 +03:00
Pavel Punegov 633db41d70 Add target crossDist dependency for crosstarget testing.
Fix dependencies for framework tests
2018-04-28 16:50:34 +03:00
Pavel Punegov c10a437ef7 Fix target creation 2018-04-27 19:37:51 +03:00
Pavel Punegov b99cc25e70 Move out codesign to utils to be used not only for framework tests 2018-04-27 19:37:51 +03:00
Ilya Matveev bee7dcd704 Fix gradle plugin versioning and the plugin version used by samples 2018-04-26 11:34:45 +07:00
SvyatoslavScherbina 5f661b20aa Support weak references to Objective-C objects (#1531) 2018-04-24 12:32:43 +03:00
Ilya Matveev 772c48e61e Make some test tasks depending on dist 2018-04-24 11:38:58 +07:00
Igor Chevdar da3cc22ce8 Fixed bug in DefaultArgs lowering with vararg arguments + tests 2018-04-23 13:49:03 +03:00
Igor Chevdar 9e0c44a323 Fixed bug in vTable building + test 2018-04-19 16:55:30 +03:00
Pavel Punegov 88cb6ff376 Remove driver_cross test as not needed.
It doesn't have a correct crossdist dependency
2018-04-17 14:43:25 +03:00
Pavel Punegov afe9f04487 Produce framework tests 2018-04-16 19:22:49 +03:00
Nikolay Igotti c5c2a080d8 Fix missing dealloc hooks on object freed by cycle collector. (#1487) 2018-04-12 18:40:07 +03:00
Svyatoslav Scherbina 77139d58f8 Unify interop with Objective-C in both directions
Also support casts to Objective-C types
2018-04-12 09:56:29 +03:00
Svyatoslav Scherbina 841bb51e65 Add workaround to interop_objc_smoke for bug in MM 2018-04-12 09:56:29 +03:00
Alexander Gorshenev 0a911ed5bb Moved from typeMaps to typeArgument list in IrMemberAccessCommon serialization
to reflect changes in IR.
2018-04-09 12:13:05 +03:00
Nikolay Igotti 21079ae644 Weak references. (#1459) 2018-04-04 14:35:06 +03:00
Igor Chevdar 790fd11d90 Freezing: fixed test and added stress test 2018-03-30 17:59:33 +03:00
Sergey Bogolepov 4fcdcf925e Added tests 2018-03-30 16:30:51 +07:00
Pavel Punegov 8955d247b1 Ignore test that fail due to KT-23284 2018-03-29 15:12:16 +03:00
Igor Chevdar 8477f79d58 Froze enums on creation + tests 2018-03-28 17:33:09 +03:00
Igor Chevdar 4ae458abfd Fixed bug in DFGBuilder + test 2018-03-23 17:22:16 +03:00
Igor Chevdar 183bf917ee Fixed bug in InlineCopyIr with IrGetClass + test 2018-03-23 17:09:17 +03:00