Commit Graph

4337 Commits

Author SHA1 Message Date
Pavel Punegov b4da3e91c9 Fix regionMatch for CharSequence 2018-11-06 14:46:31 +03:00
Ilya Matveev 51f3123e9c Support pointer macros in cinterop (#2279) 2018-11-04 13:58:37 +07:00
Pavel Punegov a05ad78784 Fix exclude: refine exclude with test list 2018-11-02 20:47:26 +01:00
Nikolay Igotti 3d2453b795 Fix problem with ensureNeverFrozen(). (#2292) 2018-11-02 17:47:41 +03:00
Nikolay Igotti 9c8b85af5d Xcode 10.1 (#2286)
* Update to XCode 10.1.

* Bump ABI version.
2018-11-01 11:54:54 +03:00
Vanessa Pyne e287b25e18 Fix sdl.def link in README.md (#2290) 2018-11-01 10:52:56 +03:00
Vasily Levchenko 6e0cde1e30 [kotlin compiler][update] 1.3.20-dev-1253 2018-10-31 14:40:41 +03:00
Pavel Punegov f4e225df9e Exclude task that fails with KT-27665 (#2284) 2018-10-31 14:19:22 +03:00
Nikolay Igotti 6249f4bdfe Refactor annotation checks, fix regression. (#2285) 2018-10-31 13:49:25 +03:00
Nikolay Igotti 0a43fa21d3 Avoid hanging external functions. (#2265) 2018-10-30 18:47:38 +03:00
SvyatoslavScherbina d02a51ba98 Implement '-Xexport-library=<path>' compiler argument (#2262)
Produced framework includes the entire API of exported libraries
2018-10-30 11:09:56 +03:00
Dmitriy Dolovov 4f0633412d Samples: Don't call MPPTools from 'kotlin {}' block. #2277 (#2280) 2018-10-30 15:03:53 +07:00
Pavel Punegov f5280940ae Update testData to latest Kotlin master 2018-10-29 15:20:04 +03:00
Dmitriy Dolovov 117d3c08e5 FAQ: Examples in MPP DSL, not the first Native DSL. (#2270)
* Examples in MPP DSL, not the 1st Native DSL.
* Fix formatting for sourse code example.
2018-10-29 17:55:48 +07:00
Dmitriy Dolovov f9f745e0e1 Polishing samples: small fixes (#2275)
* Polishing samples: small fixes
* Switch samples to Kotlin plugin v. 1.3.0
* Fix JS-interop cmd path for Windows #2274
2018-10-29 17:55:06 +07:00
Dmitriy Dolovov 79e595bf0a Fix: UnknownHostException in cinterop command. (#2271) 2018-10-29 14:53:14 +07:00
Nikolay Igotti 0681c6ce5f Fix ability of building MIPS shared objects after migration to lld. (#2266) 2018-10-27 11:22:06 +03:00
Dmitriy Dolovov daf1a5fb8c Kotlin/Native samples ported to MPP Gradle DSL (#2261) 2018-10-26 12:16:13 +07:00
Nikolay Igotti 7d2aede90e Fix Windows UWP TLS problem. (#2264) 2018-10-26 08:08:56 +03:00
Ilya Gorbunov 17e92ebc9c Move kotlin.text API misplaced in kotlin/native/internal folder 2018-10-25 16:20:18 +03:00
Ilya Gorbunov 1cf472c327 Hide Regex.Mode enum from public API 2018-10-25 16:20:18 +03:00
Vasily Levchenko 66bfd0ac4f [kotlin compiler][update] 1.3.20-dev-1048 2018-10-25 15:16:55 +03:00
ilya-g 0015b608ac Unify stdlib docs with common stdlib, part 2 (#2260)
* Unify kotlin.test docs

* Duplicate MutableList.add docs in AbstractMutableList.add

Because the documentation inheritance doesn't work as desired here.

* Minor: delimit summary in KProperty docs
2018-10-24 15:12:44 +03:00
Nikolay Igotti 17cf1df4f4 Store source file info in klib. (#2243) 2018-10-24 11:40:54 +03:00
Ilya Matveev b32a73bbf1 Fix OptionalExpectation in Gradle plugin (#2259) 2018-10-24 11:58:29 +07:00
ilya-g ec9b057e5a Unify stdlib docs with common stdlib (#2245)
* Update collection interface declarations

* Unify math docs: remove excess 'actual' word

* Unify print/println/readLine docs

* Unify annotations docs

* Correct parameter reference in copyInto docs

* Unify array extension docs

* Unify AbstractMutableMap docs

* Unify docs of primitives and string extensions

* Unify coroutine intrinsic docs

* Unify Regex docs
2018-10-22 15:04:12 +03:00
Nikolay Igotti a628e3e56a Update FAQ and GRADLE_PLUGIN.md to decrease mess with Gradle plugins. (#2246) 2018-10-22 12:46:18 +03:00
Svyatoslav Scherbina 2c14de9684 Remove reflection info from lambdas 2018-10-22 10:33:08 +03:00
igotti-google 7038a47024 Workaround Mojave SDL bug in Tetris. 2018-10-21 16:21:11 +03:00
Alexander Gorshenev 1e3dc5d526 1.1.0 is abi version 3. 2018-10-19 19:36:48 +03:00
Alexander Gorshenev be56d8a4e2 A little refactoring on abi version match. 2018-10-19 19:36:48 +03:00
Alexander Gorshenev 4bc1130a95 Fine tune the abi version check for 1.0.x 2018-10-19 19:36:48 +03:00
Stefan M 284235cb44 Link INTEROP.md (#2233) 2018-10-19 15:13:51 +03:00
Vasily Levchenko c94b1b5db9 [codegen][debug info] Introduce -Xdebug-info-version flag
- emit DW_LANG_Kotlin in debug info
- change Dwarf version to 4.
2018-10-19 13:23:17 +03:00
Ilya Matveev e365fb8f40 [gradle-plugin] Rename konan.home -> org.jetbrains.kotlin.native.home 2018-10-19 13:43:55 +07:00
Ilya Matveev 474b401dd1 [gradle-plugin] Provide project property for compiler version overriding 2018-10-19 13:43:55 +07:00
Ilya Matveev 56f572f07f Use KOTLIN_API usage instead of JAVA_API (#2231)
* [gradle-plugin] Use KOTLIN_API usage instead of JAVA_API
* [gradle-plugin] Add a test for compatibility with the mpp plugin
2018-10-19 12:22:38 +07:00
Vasily Levchenko af06105617 [codegen][debug info] 'Dwarf Name' -> 'Dwarf Version' 2018-10-18 21:23:17 +03:00
Stefan M 0ddc2458e9 Link RELEASE_NOTES (#2234) 2018-10-18 20:01:19 +03:00
Pavel Punegov 250463e00c Update tests 2018-10-18 18:28:21 +03:00
Sergey Bogolepov 4c61454ea5 For loops lowering improvements (#2191)
* Reduce descriptors and KotlinType usage
* Add Array.indices lowering.
* Added IrCallMatcher and IrFunctionMatcher
* Added benchmarks
2018-10-18 18:01:09 +07:00
Nikolay Igotti 70e6b71134 Switch to lld on Linux. (#2223) 2018-10-17 18:56:16 +03:00
Nikolay Igotti 84515cee2d Support other location for curl. 2018-10-17 18:47:37 +03:00
Alexander Prendota 95ee655fbe docs: fix examples indents (#2222) 2018-10-17 15:37:08 +03:00
Ilya Matveev baf93a6ff0 Mention the serialization plugin in the GRADLE_PLUGIN.md (#2217) 2018-10-17 12:48:18 +07:00
Nikolay Igotti b2fa9df629 Disable asserts, avoid line numbers in runtime checks. (#2216)
* Disable asserts, avoid line numbers in runtime checks.

* Rework assertion enabling.

* Review feedback.
2018-10-17 08:42:45 +03:00
Vasily Levchenko 44d0f5b795 [build] settings globally lose GRADLE_METADATA
(cherry picked from commit a6a4a0a5438b4dc7e84d491b319a95229bc51fac)
2018-10-17 05:54:46 +03:00
Alexander Udalov c3e921d537 Do not depend on ReflectionTypes from upstream Kotlin
ReflectionTypes was incorrectly copied to common backend in
https://github.com/JetBrains/kotlin/commit/27365dc4bed8833880dc7bd0fc0189fed5ff6fed.
In fact, the copied class references `kProperty*Impl` types which are
only available in kotlin-native's runtime [1], thus using them in the
common Kotlin would lead to all kinds of confusion.

The next step is to remove ReflectionTypes in the main Kotlin project
(will be done later), remove the unneeded override
Context.reflectionTypes, and rename reflectionTypes0 -> reflectionTypes.

[1] Types with the same name are also declared in kotlin-reflect, but
the JVM backend still can't reference them because generated JVM
bytecode can only depend on kotlin-stdlib

(cherry picked from commit ab550196e9)
2018-10-16 16:10:18 +03:00
Nikolay Igotti 70a019b4af Restore GC-free runtime version. (#2215) 2018-10-16 08:04:28 +03:00
Vasily Levchenko 55cd88cde9 [kotlin compiler][update] 1.3.20-dev-863 2018-10-15 15:31:45 +03:00