Commit Graph

3567 Commits

Author SHA1 Message Date
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
SvyatoslavScherbina 9893951d9f Add README.md to 'calculator' sample (#1115) 2017-12-06 16:49:11 +03:00
SvyatoslavScherbina 8a66b30278 Add 'calculator' iOS sample (#1106)
It shows how to use Kotlin library from iOS project
2017-12-06 12:48:53 +03:00
Svyatoslav Scherbina d51e0e0a30 Improve produced framework layout on mac 2017-12-06 12:10:02 +03:00
Svyatoslav Scherbina b5e81a8008 Improve package class naming for -produce framework
Don't include common package to the name
2017-12-06 12:10:02 +03:00
Svyatoslav Scherbina 5ade7505b3 Implement Info.plist generation for produced frameworks 2017-12-06 12:10:02 +03:00
Svyatoslav Scherbina 954caf836a Add -install_name to produced frameworks 2017-12-06 12:10:02 +03:00
Svyatoslav Scherbina 85103a455b Add dynamic linker flags for ios and ios_sim targets 2017-12-06 12:10:02 +03:00
Svyatoslav Scherbina 0279cee371 Remove workarounds for LLVM bug 33220 2017-12-06 09:25:18 +03:00
SvyatoslavScherbina b51d029a33 Add support for producing dynamic/framework from Gradle (#1105) 2017-12-05 09:37:07 +03:00
Vasily Levchenko 391d15df2e [kotlin compiler][update] 1.2-20171130.125257-68
kotlinScriptRuntimeVersion=1.2-20171130.125320-68
kotlinStdLibVersion=1.2-20171130.125324-68
kotlinReflectVersion=1.2-20171130.125314-68
kotlinStdLibJdk8Version=1.2-20171130.125330-68
kotlinGradlePluginVersion=1.2-20171130.125310-68
2017-12-05 05:28:11 +03:00
Nikolay Igotti 0b8d65ed12 Move to 1.2 2017-12-04 23:18:19 +03:00
Igor Chevdar c384c68c77 Fixed warning 2017-12-04 18:17:30 +03:00
Dom Williams a3c4e57434 Fix minor typo (#1109) 2017-12-04 16:24:47 +03:00
Igor Chevdar 05179971c1 Added test 2017-12-04 16:09:05 +03:00
Igor Chevdar 4c07c70829 Removed double evaluation of enum's args 2017-12-04 16:09:05 +03:00
Mike Sinkovsky 4a02ab2939 llvm 5.0 migration remainings 2017-12-01 17:09:02 +03:00
Nikolay Igotti 5663c176a5 Runtime ABI (#1097) 2017-12-01 17:04:51 +03:00
Aleksey Kladov a271f676d5 debug: a test was fixed by llvm upgrade
Closes KT-20323
2017-12-01 15:37:03 +03:00
Alexander Gorshenev cdd3185920 Instead of execClang we now have execKonanClang which properly invokes
the distribution clang able to utilize distributed sysroots etc.
And execBareClang which just invokes the distribution clang with system sysroot.
2017-12-01 12:11:34 +03:00
Vasily Levchenko 3a6cb76dc1 [llvm][update][5.0.0] llvm 5.0.0 2017-12-01 10:36:34 +03:00
Vasily Levchenko e2d2ed5237 [codegen][debug info] wrong usage of DW_OP_plus with const fixed 2017-12-01 10:36:34 +03:00