Commit Graph

4136 Commits

Author SHA1 Message Date
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
Svyatoslav Scherbina 81b7109856 Add basic checks for illegal object sharing in Objective-C interop 2018-09-11 18:17:30 +03:00
Alexander Prendota 754ea1d2d5 KT-26712: styles INTEROP.md for Kotlin web site (#2039) 2018-09-11 17:30:59 +03:00
Simon Ogorodnik 1b6c36c860 Support parallel execution for Interop Gen task via Worker's API (#2035) 2018-09-11 15:45:27 +03:00
Nikolay Igotti 7d1713a4c9 Mark few JVM-compatibility declarations deprecated. (#2029) 2018-09-11 14:18:14 +03:00
Vasily Levchenko 669e38f566 [compiler][command line] normalization of kotlin native compiler arguments. 2018-09-11 06:26:05 +03:00
Pavel Punegov db8555b561 Documentation fixes to stdlib (#2026) 2018-09-10 18:51:21 +03:00
Watson David 78aac03c10 proofread Watson (#2019) 2018-09-10 18:19:18 +03:00
Watson David d99e81de5e watson proofread (#2020) 2018-09-10 18:18:49 +03:00
SvyatoslavScherbina 55f4c224e9 Improve Objective-C designated initializers detection (#2028)
If Objective-C class doesn't declare a designated initializer, then all
of its initializers are considered designated now.
See also https://github.com/JetBrains/kotlin-native/issues/1995#issuecomment-418335764
2018-09-10 14:29:00 +03:00
Ilya Matveev 7f00e581b5 [gradle-plugin] Depend on Kotlin 0.9.0-native (#1993)
* [gradle-plugin] Depend on Kotlin 0.9.0-native

* [gradle-plugin] Use test artifacts from eap repo
2018-09-10 16:42:19 +07:00
Max Medvedev 0d8e176050 kotlin-objective-c cross resolve: introduce createNamer() function 2018-09-08 15:47:54 +03:00
Max Medvedev e6b66bb6c5 kotlin-objective-c cross resolve: introduce public ObjCExportNamer interface 2018-09-08 15:47:54 +03:00
Max Medvedev d08947ce59 kotlin-objective-c cross resolve: rename ObjCExportNamer#getName -> getPropertyName 2018-09-08 15:47:54 +03:00
Pavel Punegov bc322396ce Remove dependency on clean for external tests 2018-09-07 19:27:25 +03:00
Nikolay Igotti d42b717320 Improve Windows interop (#2022) 2018-09-07 18:55:20 +03:00
Watson David f5da2ae345 proofreading 2018-09-07 18:52:37 +03:00
Watson David 1d661aa90f proofread watson (#2021) 2018-09-07 18:42:01 +03:00
Nikolay Igotti 101e7f0048 Fix memory bug induced by frozen lazy. (#2018) 2018-09-07 16:30:01 +03:00
Eugene Petrenko 8f768fd1df more fixed for documentation files (#2016) 2018-09-07 15:30:06 +03:00
luca992 f79146c6ee GRADLE_PLUGIN readme typo fixes (#2017) 2018-09-07 14:07:00 +07:00
Eugene Petrenko 7ee04b3108 update documentation to include it to kotlinlang.org (#2015) 2018-09-06 19:22:29 +03:00
Ilya Matveev 710c691aa8 [gradle-plugin] Support Konan tooling model in the exp plugin (#2008) 2018-09-06 19:15:39 +07:00
Alexander Gorshenev 6d539e5e40 Make sure zip filesystems are closed on exit. 2018-09-06 14:10:12 +03:00
Svyatoslav Scherbina 49eee47d7e Fix #2004
Fix delegation to constructor of the same class in Objective-C subclasses
2018-09-05 12:47:03 +03:00
Sergey Bogolepov 918d131285 Fixed samples for 0.9 (#2002) 2018-09-04 18:51:47 +07:00
Svyatoslav Scherbina 00f0ea97ed Fix generating singleton value after Nothing-typed expression 2018-09-04 13:50:42 +03:00
Svyatoslav Scherbina e4757c2033 Fix #1987 2018-09-04 11:30:36 +03:00
Ilya Matveev a800a5661a [changelog] Mention that common module should be 1.3 2018-09-04 12:08:40 +07:00
Ilya Matveev e2e2eb6d06 [tests] Fix framework tests after switching to 1.3-M2 2018-09-04 12:08:40 +07:00
Ilya Matveev 98785874e0 [gradle-plugin] Fix KNPE in mpp plugin 2018-09-04 12:08:40 +07:00