Commit Graph

4166 Commits

Author SHA1 Message Date
Nikolay Igotti 0165e96b8e Update to Xcode 10.0 (#2078)
* Update to Xcode 10.0

* Promote iOS version to 9.0
2018-09-18 13:51:48 +03:00
Nikolay Igotti 866f137317 Remove obsolete text. 2018-09-18 12:40:05 +03:00
Alexander Prendota 014c12106f add kotlin-playground styles to PLATFORM.md (#2081) 2018-09-18 12:37:41 +03:00
Svyatoslav Scherbina 803620f423 Improve interop with headers generated by Swift
Support `objc_runtime_name` attribute on Objective-C classes
thus enabling interop with `@objc` Swift classes without
explicitly specified name.

See https://github.com/JetBrains/kotlin-native/issues/1841#issuecomment-411346727
2018-09-18 10:12:24 +03:00
Svyatoslav Scherbina 4ec1ec05cf Properly support interop with headers generated by Swift
These headers contain `external_source_symbol(..., generated_declaration)`
attributes, making clang indexer to ignore the declarations.
Add an additional AST pass to ensure that all Objective-C classes and
protocols get found.

See https://github.com/JetBrains/kotlin-native/issues/1841#issuecomment-411346727
2018-09-18 10:12:24 +03:00
SvyatoslavScherbina 446bacbe7a Update OBJC_INTEROP.md (#2075) 2018-09-18 10:11:46 +03:00
Alexander Prendota c058d2b502 add kotlin-playground styles to MULTYPLATFORM.md (#2080) 2018-09-18 09:50:00 +03:00
Alexander Prendota e019477cc3 add kotlin-playground styles to FAQ.md (#2079) 2018-09-18 09:49:18 +03:00
Nikolay Igotti 8af17ab546 Docs tweak 2018-09-17 23:32:26 +03:00
Vasily Levchenko f86a749a58 [kotlin compiler][update] 1.3.0-rc-27 (#2074) 2018-09-17 17:50:45 +03:00
SvyatoslavScherbina 0faee23b1d Fix #2069 (#2073) 2018-09-17 17:44:42 +03:00
Alexander Prendota 9d6e6a1392 add kotlin-playground styles to DEBUGGING.md (#2077) 2018-09-17 17:39:27 +03:00
Alexander Prendota 8d49d7756e add kotlin-playground styles to GRADLE_PLUGIN.md (#2076) 2018-09-17 16:26:31 +03:00
Alexander Prendota 4f750a26c5 add kotlin-playground styles to CONCURRENCY.md (#2071) 2018-09-17 11:30:35 +03:00
Ilya Matveev 84bdf3e046 [gradle-plugin] Use new format of linkerOpts compiler argument 2018-09-17 11:19:06 +03:00
Vasily Levchenko 84d3d1e399 [cmd] launcher for lldb with loading python bindings. 2018-09-16 21:26:58 +03:00
Dmitriy Dolovov 1c91020c6c Safe determining Kotlin/Native meta version (with error reporting on unknown version) 2018-09-14 17:09:39 +03:00
Watson David a426738213 proofread (#2066) 2018-09-14 17:06:11 +03:00
Alexander Prendota 5b63cdb4b2 add kotlin-playground styles to OBJC_INTEROP.md (#2064) 2018-09-14 17:03:25 +03:00
Nikolay Igotti 1794f08638 Fix @Retain annotation behavior. (#2068) 2018-09-14 17:00:45 +03:00
Dmitriy Dolovov 0853f2cec9 Safe determining Kotlin/Native meta version 2018-09-14 16:56:30 +03:00
Dmitriy Dolovov 3dc74c6a2b Update changelog (0.9.1) 2018-09-14 14:37:30 +03:00
Dmitriy Dolovov 3338014bce increase Kotlin/Native version 2018-09-14 14:36:30 +03:00
Nikolay Igotti 8d2dd01c8f Explicitly report an error if entry point is marked 'suspend'. (#2067) 2018-09-14 14:01:08 +03:00
Ilya Matveev 0134868857 Depend on Kotlin stdlib 0.9.1-native 2018-09-14 11:40:17 +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
Watson David 7c21913990 proofread (#2062) 2018-09-13 17:41:03 +03:00
Watson David ab1cf56ecd proofread (#2060) 2018-09-13 17:40:16 +03:00
Svyatoslav Scherbina 1791ed5643 Improve inner/nested class names in framework
Use 'Outer.Inner' instead of 'OuterInner' for Swift

Also do some refactoring and add other minor improvements.
2018-09-13 17:39:29 +03:00
Svyatoslav Scherbina e4ca831f06 Don't add overriding and refining interface methods to framework protocols
As this appears to be inconvenient when adopting in Swift: #1884
2018-09-13 17:39:29 +03:00
Svyatoslav Scherbina 40847df19f Improve framework name clash detection for property setters
Setters for equally named properties don't clash.

Fix #1843
2018-09-13 17:39:29 +03:00
Svyatoslav Scherbina 86e9908aff Improve framework name clash detection for top-level declarations 2018-09-13 17:39:29 +03:00
Svyatoslav Scherbina 29748e59df Don't add swift_name attribute to categories in framework 2018-09-13 17:39:29 +03:00
Watson David 51faa779f6 proofread (#2058) 2018-09-13 16:15:05 +03:00
Ilya Matveev 3e4f5fd4a2 Support OptionalExpectation in serializer (#2048)
* [serializer] Support OptionalExpectation

* Fix OptionalExectation test for Windows

* [tests] Don't print compiler args by default
2018-09-13 14:39:29 +03:00
Vasily Levchenko 87ce2dc0b5 [doc][debugger] sync doc with current state 2018-09-13 12:57:02 +03:00
Watson David 985385e2fa Proofread Watson (#2055) 2018-09-13 11:48:42 +03:00
alexander-gorshenev 30f5eb0bfa Allow entry points without args: Array<String> (#2049) 2018-09-13 10:23:02 +03:00
Nikolay Igotti b6a01a86f1 Update to 1.3.0-rc-6. (#2050) 2018-09-13 10:20:52 +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
Ilya Matveev d406b1b16d Support OptionalExpectation (#2040) 2018-09-12 17:23:59 +03:00
Ilya Matveev 88e86cbdd4 [gradle-plugin] Support custom entry points (#1996) 2018-09-12 17:23:00 +03:00
Vasily Levchenko 66732675e5 build/gradle/cli compiler flags usage fix (#2045) 2018-09-12 17:02:31 +03:00
Sergey Bogolepov 20d3520717 Lazy stacktrace (#2036)
* stringify stacktrace lazily

* Introduce NativePtrArray

* Added Throwable::getStackTrace
2018-09-12 20:27:01 +07:00
Svyatoslav Scherbina da2736337e Improve naming in produced framework
*   Group top-level declarations by file name instead of package name
*   Remove main prefix from Swift class names
*   Use 'Kotlin' prefix
    * Instead of 'Stdlib'
    * In Swift names for KotlinMutableSet/Dictionary, KotlinNumber and subclasses
2018-09-12 12:28:41 +03:00
Nikolay Igotti 2f61cf9fa3 Fix tests build. 2018-09-12 10:22:09 +03:00
Ilya Matveev 25972fa066 Limit number of Gradle workers (#2041) 2018-09-11 19:26:47 +03:00
Nikolay Igotti e2a546ca0b Fix merge conflict. 2018-09-11 18:32:27 +03:00
SvyatoslavScherbina 996ec4a6fd Update Kotlin with tests to 1.3.0-dev-391 (#2037) 2018-09-11 18:24:59 +03:00