Commit Graph

135 Commits

Author SHA1 Message Date
Dmitriy Dolovov 1c91020c6c Safe determining Kotlin/Native meta version (with error reporting on unknown version) 2018-09-14 17:09:39 +03:00
Dmitriy Dolovov 0853f2cec9 Safe determining Kotlin/Native meta version 2018-09-14 16:56:30 +03:00
alexander-gorshenev 15eb28a2a8 Allow absent abiVersion and compilerVersion in library manifest, just… (#2061)
* Allow absent abiVersion and compilerVersion in library manifest, just treat them as mismatching.

* Teach `klib info` to print more of library versioning.
2018-09-13 18:02:57 +03:00
Dmitriy Dolovov c40396bf19 Split serialized package fragments metadata (#2051) 2018-09-13 18:01:56 +03:00
alexander-gorshenev 27ce3b194d Provided library versioning in klib. (#2038)
* Provided library versioning in klib.
* A test for library mismatch messages.
2018-09-13 02:10:34 +03:00
Alexander Gorshenev 6d539e5e40 Make sure zip filesystems are closed on exit. 2018-09-06 14:10:12 +03:00
Ilya Matveev ec8e619178 [dependencies] Add timeout for dependency extraction (#1947) 2018-08-28 11:51:06 +07:00
Sergey Bogolepov 5fe0a9c77c Handle init-time exceptions on all targets. (#1931) 2018-08-27 19:03:08 +03:00
Dmitriy Dolovov 6d8ae1650f KLIB reader: comments added (#1937) 2018-08-25 18:33:04 +03:00
Dmitriy Dolovov 076f6a7c99 KLIB reader: separate library reading from dependency resolving (#1925) 2018-08-24 10:29:13 +03:00
Dmitriy Dolovov f0cfbb9918 move Kotlin/Native metadata deserialization and KLIB reader to a separate module (#1908)
1. move Kotlin/Native metadata deserialization and KLIB reader to a separate module
2. decouple KLIB reader from ModuleDescriptor creation
2018-08-22 14:01:20 +03:00
Vasily Levchenko c78d070455 [compiler][update] 1.3-M2-eap-33 / build: 1.3-M1-eap-77 2018-08-21 18:44:55 +03:00
Sergey Bogolepov 5a66f91da5 Update LLVM to 6.0.1 and WebAssembly target refactoring (#1788)
* wasm updates: removed binaryen, simplified morecore and launcher.js
* Updated LLVM toolchain to 6.0.1
2018-08-14 21:08:45 +03:00
Nikolay Igotti 73b6935da7 Fix .def file generation. (#1859) 2018-08-10 12:02:18 +03:00
Vasily Levchenko 856392a6e1 [util][no-java] added File.equals/.hashCode 2018-07-11 09:49:14 +03:00
Nikolay Igotti 0da110a786 32-bit iOS support (#1708) 2018-06-21 18:36:17 +03:00
Nikolay Igotti f5741c475b Update XCode version. (#1691) 2018-06-14 16:57:21 +03:00
Nikolay Igotti b8fa1bcdd3 Move to XCode 9.4, add CoreML and ClassKit. (#1637)
* Move to XCode 9.4, add CoreML and ClassKit.

* Add assertSame and assertNotSame to stdlib.

* Fix SDK properties.
2018-05-31 23:21:17 +03:00
Alexander Gorshenev 40a58a9a61 Eliminate stack protection from the runtime.
There is some positive performance effect:
before: Average Ring score: absolute = 177,5160 us +- 0,5352 us, ratio = 8,68 +- 0,10
after:  Average Ring score: absolute = 171,3093 us +- 2,3758 us, ratio = 8,72 +- 0,23
2018-05-23 13:50:00 +03:00
ilmat192 bc65c7175d Improve tooling model + add Gradle version checking (#1602)
* [gradle-plugin] Add tests for IDE model
* [gradle-plugin] Check Gradle version
* [gradle-plugin] Provide language, api and konan version in the model
* [gradle-plugin] Use String instead of KonanTarget in the IDE model
* [gradle-plugin] Rename Produce -> KonanOutput
* [version] Make KonanVersion an interface to allow passing it to IDE
* [gradle-plugin] Replace KonanOutput with CompilerOutputKind
* [gradle-plugin] Don't override usual jar with a fat one
* [gradle-plugin] Fix IDE model tests
* [gradle-plugin] Add library search paths in IDE model
* [gradle-plugin] Use 4.7 as a required version for the plugin
* [gradle-plugin] "Kotlinfy" the version check
2018-05-23 11:58:47 +07:00
Svyatoslav Scherbina b218a3a7a2 Add 'disableDesignatedInitializerChecks' .def file flag
When enabled for an Objective-C library, compiler would permit to call
a constructor of a class from this library as super-constructor even if
it is not marked as designated.

Fix #1539
2018-05-22 10:03:16 +03:00
Vasily Levchenko 361cde1ed1 [build][gradle] switch to gradle-4.7 2018-05-21 12:25:26 +03:00
ilmat192 b99836edff [gradle-plugin] Provide a simple tooling model for IDE (#1578) 2018-05-15 17:37:46 +03:00
Nikolay Igotti 0c0446b56d Support Xcode 9.3.1, allow version check override (#1588) 2018-05-14 07:15:10 -07:00
Ilya Matveev 301af84358 [libraries] Move SearchPathResolver into shared 2018-05-11 16:08:47 +07:00
Ilya Matveev d525fea65c Pass konanVersion to TeamCity 2018-05-08 13:31:54 +07:00
Ilya Matveev 7cfcb1e5dc [version] Don't specify build number and meta for release builds 2018-04-27 11:37:45 +07:00
Ilya Matveev bee7dcd704 Fix gradle plugin versioning and the plugin version used by samples 2018-04-26 11:34:45 +07:00
Ilya Matveev 36fe07e159 [gradle-plugin] Fix version according to the new versioning system 2018-04-24 19:46:52 +07:00
Ilya Matveev 89d0886043 [version] Annotate properties used by version generator as inputs 2018-04-24 19:46:52 +07:00
Alexander Gorshenev 6dc6ba5137 Allow arch and family susbtitutions in manifest files. 2018-04-24 12:20:41 +03:00
Vasily Levchenko a23ca71e5c [build][version] more accurate version string for local builds (drops -1 in build number) 2018-04-24 00:11:40 +03:00
Nikolay Igotti d4c0384bcc Fix WASM build. 2018-04-23 10:22:51 +03:00
Vasily Levchenko 6a47e7885a [build][version] use konan version for generating artifact name (#1523) 2018-04-22 20:07:42 +01:00
Nikolay Igotti 14efa811e3 Support static Android libs as well. 2018-04-20 17:10:13 +03:00
Nikolay Igotti 569bb71bca Support static library production. (#1515) 2018-04-20 12:25:59 +01:00
Vasily Levchenko 1d6a715ecd [build][shared] added clean up of generated sources 2018-04-20 12:52:25 +03:00
Nikolay Igotti 55c6090a08 Revert "Revert unified versioning."
This reverts commit fe28b13e4f.
2018-04-20 09:43:21 +03:00
Vasily Levchenko fe28b13e4f Revert unified versioning.
Revert "[build][version] generate KonanVersion using data from gradle.properties." 07ae3144de.
Revert "[gradle][test] disable version test" 86ec80a6a7.
Revert "[build][version][doc] update" 94ba9d61a9.
2018-04-20 06:49:06 +03:00
Nikolay Igotti 688b3f26f2 Be more tolerant to non-existing paths in library reader. (#1511) 2018-04-18 11:47:58 +01:00
Vasily Levchenko 07ae3144de [build][version] generate KonanVersion using data from gradle.properties.
- uses konanMetaVersion for meta version field
- uses dep.Kotlin_KotlinNative_Master_KotlinNativeCheckout.build.counter as build counter
- shared/compiler/gradle plugin uses the same version.
2018-04-18 08:01:28 +02:00
Sergey Mashkov 74da4eb09b Improve gradle tasks list 2018-04-05 19:58:18 +07:00
Sergey Mashkov 420ef4f221 Introduce environment variable to .konan parent dir 2018-04-05 19:58:18 +07:00
Nikolay Igotti e1e4a5ce82 Update toolchain. (#1456) 2018-03-30 19:00:48 +03:00
Svyatoslav Scherbina 2758aad1e9 Support 'exportForwardDeclarations' internal .def file option 2018-03-30 14:52:02 +03:00
Alexander Gorshenev 54bede3db3 Getting rid of detailedName 2018-03-30 13:51:46 +03:00
Alexander Gorshenev 0570e281a9 Moved KonanTargets to be mostly pairs.
Moved nice device and generic os names to be target aliases.
2018-03-07 14:41:33 +03:00
Mike Sinkovsky 8d7d0907fc zephyr: win32 host 2018-03-01 17:03:53 +03:00
Ilya Matveev 164d35c73f [stdlib] Implement kotlin.math for wasm 2018-03-01 17:02:37 +03:00
Alexander Gorshenev ac6c3443eb Gte rid of warnings about enum size for zephyr. 2018-02-27 15:16:37 +03:00