Commit Graph

4501 Commits

Author SHA1 Message Date
Alexander Gorshenev ce0451e5c8 Made ObjCMethodImp internal and @PublishedApi. 2019-01-25 19:21:30 +03:00
Alexander Gorshenev 8067ab7034 Allow libraries to have empty ir/ component. 2019-01-25 19:21:30 +03:00
Alexander Gorshenev 2736876919 Cleaned up deserialization reachability loop a little. 2019-01-25 19:21:30 +03:00
Alexander Gorshenev cfe153c742 Whole module IR serialization/deserialization.
With public descriptors inserted and wrapped ones used instead of the locals.
2019-01-25 19:21:30 +03:00
Sergey Rubanov 21852ec2a3 Improve async instantiation (#2566) 2019-01-25 08:19:26 +03:00
SvyatoslavScherbina a90ca27264 Update callback restrictions in INTEROP.md 2019-01-23 14:55:16 +03:00
Alexander Gorshenev 53ae4b8ab1 Place testLibrary in the proper platform subdirectory.
Remove testLibrary on test completion.
2019-01-22 19:27:22 +03:00
SvyatoslavScherbina 6fa39bf27d Hide duplicates among members of Objective-C categories of same class (#2558) 2019-01-22 09:35:12 +03:00
Pavel Punegov ef820e1b78 Exclude test that fail with KT-29282 2019-01-21 19:47:40 +03:00
Pavel Punegov 117712ff40 Filter out tests for reflection and -DataClassInheritance 2019-01-21 19:47:40 +03:00
Vasily Levchenko 4a8faa6961 [kotlin compiler][update] 1.3.30-dev-964 2019-01-21 18:09:58 +03:00
Svyatoslav Scherbina cfcfecf19e Make binaries' rpath comply conventions on iOS and macOS
This simplifies linking embedded frameworks.
See #2555
2019-01-21 12:03:23 +03:00
Nikolay Igotti 50376a0975 Add compiler_rt to linking flags on Apple platforms. (#2557)
* Add compiler_rt to linking flags on Apple platforms.

* Review feedback.
2019-01-20 11:44:06 +03:00
Svyatoslav Scherbina 6ca196399a Implement C stubs generation in compiler
Use it in
* C varargs support (thus dropping libffi from runtime)
* C callbacks support (thus enabling callbacks with structs)
2019-01-18 11:06:23 +03:00
Svyatoslav Scherbina 7f2103a0ee Correct type of expression produced by inliner 2019-01-18 11:06:23 +03:00
Svyatoslav Scherbina 99abe36148 Correct type of expression produced by enum lowering 2019-01-18 11:06:23 +03:00
Ilya Matveev 8bc172b9c1 [gradle-plugin] Make dependency export non-transitive by default
Fix for KT-28936.
2019-01-18 13:20:34 +07:00
ilya-g 8e97c94005 Document that sorting is stable (#2552) 2019-01-17 20:37:58 +03:00
SvyatoslavScherbina 7e55575fbf Use dlopen/dlsym for CoreSymbolication (#2542)
Linking it directly seems to be inconvenient when producing static lib
2019-01-17 11:10:07 +03:00
Svyatoslav Scherbina a52359fcec Use copyInto instead of copyRangeTo in generated code 2019-01-17 10:36:55 +03:00
Sergey Rubanov 09d082c678 Use WebAssembly.instantiateStreaming when presented in browser (#2477) 2019-01-16 18:53:37 +02:00
Nikolay Igotti 5220478f15 Fix incorrect recursion conversion. (#2548) 2019-01-16 18:30:34 +02:00
Nikolay Igotti 6c970f4c9f Remove remaining recursive memory manager operations. (#2541) 2019-01-15 17:52:38 +02:00
Vasily Levchenko 1596155182 [IR][test generator] drop using synthetic offset in ir generation (#2539) 2019-01-15 17:45:29 +03:00
Nikolay Igotti 3aef422cdc Set soname on Android. (#2538) 2019-01-15 12:14:10 +02:00
Igor Chevdar 6220291ef8 IR: Fixed bug with dispatch receiver parameter
When building dispatch receiver for newly created functions
take ReceiverParameter from the parent class rather than create new
2019-01-15 12:11:50 +03:00
Ilya Gorbunov 22f77134b0 Avoid different wording from inherited and common docs
- AbstractMutableCollection.addAll
- kotlin.native.concurrent annotations
- kotlin.test annotations
2019-01-15 10:48:43 +03:00
Ilya Gorbunov af915726c3 Regenerate docs for contentEquals/DeepEquals (KT-22942) 2019-01-15 10:48:43 +03:00
Ilya Gorbunov d76b6ad63f Update docs of String(chars, offset, length) 2019-01-15 10:48:43 +03:00
Ilya Gorbunov 68489077d0 Update Any hashCode/equals docs 2019-01-15 10:48:43 +03:00
Svyatoslav Scherbina 757449ba9c Improve error message for non-overridable methods in framework 2019-01-15 10:25:03 +03:00
Svyatoslav Scherbina fe7685eb03 Don't rely on stdlib when generating framework header 2019-01-14 23:08:40 +03:00
Svyatoslav Scherbina 3632ed495d Refactor support for primitive types
Don't rely on special declarations in Kotlin/Native stdlib
2019-01-14 22:54:26 +03:00
Pavel Punegov 8c8194aa27 Rename Before and After EACH to TEST. Otherwise they were not processed. 2019-01-14 18:16:57 +03:00
Ilya Gorbunov ea943b715c Change implementations of contentEquals and minOf/maxOf for Native
To conform to the behavior in other platforms.
2019-01-14 18:16:57 +03:00
Pavel Punegov 53838e39c8 Auto code reformat 2019-01-14 18:16:56 +03:00
Pavel Punegov f5cc8a4d1e Common kotlin.test.
Remove duplicate code and add actuals.
Unify Before and AfterTest
Add kotlin-test-annotations-common and kotlin-test-common as dependencies.
2019-01-14 18:15:44 +03:00
Pavel Punegov 10b76eacf0 Make ThreadLocal and SharedImmutable be actual classes for OptionalExpectations
and move to kotlin.native.concurrent
2019-01-14 18:15:12 +03:00
Ilya Gorbunov c4abd93f53 Regenerate actual implementations with runtime:generator
The functions where implementations were significantly changed:
- toTypedArray
- contentToString
2019-01-14 18:14:20 +03:00
Ilya Gorbunov 96b7cd1235 Add project for running native stdlib source generator
This project only works with a substituted kotlin-stdlib-gen dependency
 from included kotlin build.
2019-01-14 18:14:20 +03:00
Vasily Levchenko 68234016a5 [kotlin compiler][update] 1.3.30-dev-761 2019-01-14 18:11:53 +03:00
0xflotus 75783b9318 fixed standardized (#2519) 2019-01-14 14:59:18 +02:00
Igor Chevdar 1805f31850 [kotlin compiler][update] 1.3.30-dev-678 2019-01-10 17:10:42 +03:00
Igor Chevdar 99d32e0b8d Compiler symbolization part 3 2019-01-10 17:10:42 +03:00
Igor Chevdar e144321083 Allowed inlining of suspend lambdas 2019-01-10 15:25:22 +03:00
Vasily Levchenko 8996436682 [kotlin compiler][update] 1.3.30-dev-610 2019-01-09 13:49:18 +03:00
LepilkinaElena 74b42b4370 Added usage of benchmarksAnalyzer for analysis of performance, so removed extra code from benchmark application and gradle. (#2501) 2019-01-09 13:30:17 +03:00
Dave Leeds c7c566ce0f Update FAQ to use module-name instead of module_name (#2509) 2019-01-05 11:51:21 +03:00
Nikolay Igotti 2c5aa431e7 Ignore expect properties when generating C reverse interop stubs. (#2506) 2019-01-01 16:09:10 +03:00
Pavel Punegov dd27da7514 Update compiler to 1.3.30-dev-532 2018-12-29 15:15:01 +03:00