Commit Graph

3238 Commits

Author SHA1 Message Date
Svyatoslav Scherbina d7d0bcb92b Fix -produce framework broken by 9d14a29f 2017-12-15 17:58:38 +03:00
Sergey Bogolepov 9d14a29f49 Added a little hack that allows to enable runtime optimizations (#1147) 2017-12-15 16:46:31 +03:00
Svyatoslav Scherbina 83b595377b Enable iOS simulator support for 'calculator' and 'uikit' samples 2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina 07fce11780 Use Xcode-bundled SDKs for macOS, iOS and iOS simulator targets
Also
* Update macOS SDK to 10.13
* Update iOS SDK to 11.2
* Enable iOS simulator support
* Disable tetris on iOS as we don't provide SDL2 in sysroot anymore
2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina 905390cd45 Improve support for Objective-C forward declarations 2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina 91ab69b835 Support bool-typed bitfields in interop 2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina 228ec9d286 Rework compiler dependency management
And support for searching them locally and
downloading from internal server if KONAN_USE_INTERNAL_SERVER is set

Also:
Allow sysroot to change version minorly.
2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina 257f156e97 Fix #1139
Generate declarations adopting multiple protocols correctly
2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina a2c6325f23 Fix #1138
Import the entire Foundation framework when producing a framework
2017-12-15 14:38:22 +03:00
Svyatoslav Scherbina ed55fd1a44 Fix deprecation warnings during interop indexer compilation 2017-12-15 14:38:22 +03:00
Nikolay Igotti 5ad0643154 v0.5 preparations. (#1135) 2017-12-15 13:25:25 +03:00
alexander-gorshenev e2040f9b5d Disabled cross targets for the produce dynamic test.
MIPS and WASM32 need more attention.
2017-12-15 13:25:10 +03:00
Alexander Gorshenev bf612fdbdc A -produce dynamic test. 2017-12-15 13:25:10 +03:00
Vasily Levchenko ff4a0a03b2 [kotlin compiler][update] 1.2.20-dev-773 2017-12-15 11:06:42 +03:00
Vasily Levchenko 807fae110f [stage][link][mac] returns dsymutil execution under debug umbrella 2017-12-14 16:47:54 +03:00
Vasily Levchenko deaf52c77e [kotlin compiler][update] 1.2.20-dev-719 2017-12-14 14:11:41 +03:00
Vasily Levchenko 9d211e74c5 [stage][link] commmand reprisentation 2017-12-14 09:00:53 +03:00
Alexander Gorshenev dd42c63bd2 Moved production of windws dll .def file to CAdapterGenerator.kt. 2017-12-13 03:13:25 +03:00
Alexander Gorshenev 3984c4ff64 Produce windows .def files together with .dlls. 2017-12-13 03:13:25 +03:00
Nikolay Igotti 82755af754 Windows Python extension docs. 2017-12-12 19:29:30 +03:00
Vasily Levchenko 0e89083a8d [wasm32] remove unstable hack of executing hosts OS tool for file copying intead of wasm linker 2017-12-12 19:00:56 +03:00
Alexander Gorshenev bb47a28c15 Properly handle TLS for -produce dynamic.
In additon, changed konan.properties linkerDebugFlags to linkerNoDebugFlags to reflect reality.
2017-12-12 16:48:26 +03:00
Vasily Levchenko 33fb54e7a9 [config] use single llvmVersion for project 2017-12-12 14:21:43 +03:00
Vasily Levchenko dd39219ee4 [properties] naive prioritize suffixed keys against unsuffixed 2017-12-12 14:21:43 +03:00
Vasily Levchenko b6ca104bd0 [test][runner] use file lists as parameter to compiler. 2017-12-12 14:21:05 +03:00
Vasily Levchenko 846e091a5b [compiler] accepts options from file prefixed with '@' 2017-12-12 14:21:05 +03:00
ilmat192 cba7319e98 Fix utf8 conversion (#1121) 2017-12-12 13:30:50 +03:00
Alexander Sparkowsky 8fa8e2ebc8 fix minor typo in interop documentation
The configuration property to specify the library path in a definition file is `libraryPaths` instead of `libraryPath`.
2017-12-12 13:30:13 +03:00
Nikolay Igotti d0f1296c7e Rework deinit sequence to avoid bogus leak detector warnings. 2017-12-12 12:54:45 +03:00
Alexander Gorshenev 899ad0740c Reflect the recent runtime initialization changes in the browser context. 2017-12-12 12:29:34 +03:00
Nikolay Igotti 2cc390376f Fix Android build. 2017-12-11 20:54:04 +03:00
Mike Sinkovsky 1c764b8d76 samples/html5Canvas: build.bat (#1126) 2017-12-11 19:15:05 +03:00
Igor Chevdar 8f3aa9a07c Turned on passing “-X” arguments to compiler 2017-12-11 17:00:02 +03:00
Nikolay Igotti 91bc9fa587 Pythod extension Linux tweaks (#1125) 2017-12-11 15:37:36 +03:00
Nikolay Igotti e80f7421c7 Rework runtime init (#1127) 2017-12-11 15:09:03 +03:00
Vasily Levchenko ccc630d528 [gradle][dependencies] don't try to deal with unstable dependencies in tools just in :dependencies:update task 2017-12-11 12:00:35 +03:00
Vasily Levchenko 4baeb5cb45 [wasm32] linux & mingw support 2017-12-11 12:00:35 +03:00
Nikolay Igotti 93a3444a70 Python extension sample. (#1123) 2017-12-08 12:38:19 +03:00
Svyatoslav Scherbina 0d082d6730 Improve kotlin.Unit support in produced framework
Make the Objective-C wrapper unique, and provide the method to get it
2017-12-07 18:56:26 +03:00
Svyatoslav Scherbina 7696f41f6c Fix Objective-C protocol adopting Kotlin one when producing framework 2017-12-07 18:56:26 +03:00
Svyatoslav Scherbina cf076ffff0 Don't expose special classes when producing frameworks
* Kotlin annotation classes;
* Enum entry classes;
* Interop types.
2017-12-07 18:56:26 +03:00
Svyatoslav Scherbina 8b6d3c0a69 Add dynamic and framework to -produce CLI description 2017-12-07 18:56:26 +03:00
Svyatoslav Scherbina b705fa9656 Guard Kotlin code from foreign exceptions when producing framework 2017-12-07 18:56:26 +03:00
Igor Chevdar 03ef9e4855 Added test on special bridges 2017-12-07 17:06:13 +03:00
Igor Chevdar c3a6ea4946 Special bridge building fix 2017-12-07 17:06:13 +03:00
Alexander Gorshenev c30d30c96c Don't #include C Adapter header into its cpp.
Just textually concatenate.
2017-12-07 05:10:24 +03:00
Alexander Gorshenev 63aff3eded Compile the C Adaptor with clang and link it to the final binary. 2017-12-07 05:10:24 +03:00
Alexander Gorshenev 5116d43f4f Some renaming to reflect reality. 2017-12-07 05:10:24 +03:00
Igor Chevdar 86e221ed58 Added tests on workers's bridges 2017-12-06 18:32:22 +03:00
Igor Chevdar 8df6ff5215 Added bridges building for workers 2017-12-06 18:32:22 +03:00