Commit Graph

4522 Commits

Author SHA1 Message Date
Nikolay Igotti cc26a4c4f3 Profiling documentation. (#2599) 2019-01-30 18:43:53 +03:00
Igor Chevdar 59bfe9b146 Turned on defaults lowering for inline functions 2019-01-30 12:35:42 +03:00
Vasily Levchenko 34efd9a493 [build][precommit] fix :backend.native:sanity
it's missed download test-data step.
2019-01-30 06:45:36 +03:00
Alexander Gorshenev 814d38f874 Introduce string table in for Serialized IR. 2019-01-30 01:32:40 +03:00
Alexander Gorshenev a9176c736b Bump Abi version for IR based libraries. 2019-01-30 01:32:40 +03:00
Alexander Gorshenev a929dc9c6d Make sure parent field is set for forward declarations. 2019-01-30 01:32:40 +03:00
Alexander Gorshenev 6b2161b5ec Several performance tunings. 2019-01-30 01:32:40 +03:00
LepilkinaElena e2ad488f28 Slack performance reporter (#2527) 2019-01-29 14:16:59 +03:00
Vasily Levchenko 72caf706fd [build][precommit] tc-dist added 2019-01-29 13:30:00 +03:00
Dmitriy Dolovov 0bc3c9a6ad Dockerfile updates: (#2556)
- New Dockerfile for running samples
- New Dockerfile for K/N distribution
- Samples: buildSh should finilize buildAllSamples task to avoid concurrency issues
- Samples: Build avoidance for html5Canvas
2019-01-28 23:46:24 +07:00
Igor Chevdar 5927ae8412 Replaced code on descriptors to code on IR 2019-01-28 19:15:29 +03:00
Igor Chevdar ef55ebacdc Supported inlining of suspend lambdas 2019-01-28 19:15:29 +03:00
Igor Chevdar fbd49a94e1 Inliner: removed old copier + refactor 2019-01-28 19:15:29 +03:00
Nikolay Igotti d9263e0fc2 Async continuation API. (#2580) 2019-01-28 15:38:53 +03:00
Vasily Levchenko 3a96c6b979 [kotlin compiler][update] 1.3.30-dev-1157 2019-01-28 14:26:53 +03:00
Nikolay Igotti 59ae74200f Support Linux x64 and RaspberryPi cross-compilation on Windows and macOS hosts. (#2575) 2019-01-25 19:22:22 +03:00
Alexander Gorshenev 5894a37e4a For interop libraries provide declarations, bot not function bodies. 2019-01-25 19:21:30 +03:00
Alexander Gorshenev 478d32ef06 And more. 2019-01-25 19:21:30 +03:00
Alexander Gorshenev 1544c1da2f More effort to find annotations. 2019-01-25 19:21:30 +03:00
Alexander Gorshenev df2711168d Search annotations in IR, than, if not found check its descriptor.
Could help with external stubs.
2019-01-25 19:21:30 +03:00
Alexander Gorshenev 5fa37aa800 Eliminated a little more descriptor usage. 2019-01-25 19:21:30 +03:00
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