Vasily Levchenko
b03f0bfc83
[gradle][publish] main variant is per KonanBuildingConfig
2018-04-24 00:12:11 +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
ce663c198a
v0.7 changelog entry ( #1530 )
2018-04-23 22:07:10 +03:00
Igor Chevdar
da3cc22ce8
Fixed bug in DefaultArgs lowering with vararg arguments + tests
2018-04-23 13:49:03 +03:00
Nikolay Igotti
4d9a8d85d1
Use 1.2.40 as a system compiler. ( #1522 )
2018-04-23 08:41:41 +01:00
Nikolay Igotti
d4c0384bcc
Fix WASM build.
2018-04-23 10:22:51 +03:00
Nikolay Igotti
86349baef7
Hack for 'cleanAll' target
2018-04-22 23:10:44 +03:00
Vasily Levchenko
6a47e7885a
[build][version] use konan version for generating artifact name ( #1523 )
2018-04-22 20:07:42 +01:00
Vasily Levchenko
465fcdf947
[build][performance] fix of performance build
2018-04-20 16:38:25 +02:00
Nikolay Igotti
14efa811e3
Support static Android libs as well.
2018-04-20 17:10:13 +03:00
Svyatoslav Scherbina
515457fea0
Improve detection of Objective-C designated initializers
2018-04-20 17:09:34 +03:00
Svyatoslav Scherbina
5184343058
Fix type checking against Objective-C protocols on iOS
2018-04-20 14:56:11 +03:00
Nikolay Igotti
569bb71bca
Support static library production. ( #1515 )
2018-04-20 12:25:59 +01:00
Ilya Matveev
6abf95d86d
Update MPP readme according to switch from env vars to properties
2018-04-20 17:36:43 +07:00
Ilya Matveev
5784046928
[samples] Use gradle properties instead of env vars in Xcode projects
2018-04-20 17:36:43 +07: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
Igor Chevdar
9e0c44a323
Fixed bug in vTable building + test
2018-04-19 16:55:30 +03:00
Igor Chevdar
388ee82e9d
Added debug output to vTable builder
2018-04-19 16:55:30 +03:00
Igor Chevdar
211d219b04
Refactoring + synced vtable for DFG and for bitcode
2018-04-19 16:55:30 +03:00
ilmat192
3572c98a8b
Allow running compiler only for libraries ( #1508 )
2018-04-19 12:12:01 +07:00
SvyatoslavScherbina
f27d4452f4
Add very basic documentation for interop with Swift/Objective-C ( #1482 )
2018-04-18 20:46:50 +03:00
Svyatoslav Scherbina
8371ac137f
Improve support for Objective-C initializers
...
* Import category initializers as factories
* Support overriding Objective-C initializers by constructors
* Forbid calling non-designated initializer as super constructor
* Use part of selector for name of first constructor/factory parameter
* Throw NPE when failable initializer imported as constructor fails
Also do some refactoring.
2018-04-18 20:45:51 +03:00
Nikolay Igotti
688b3f26f2
Be more tolerant to non-existing paths in library reader. ( #1511 )
2018-04-18 11:47:58 +01:00
Nikolay Igotti
0c909fea6a
Cleanup compilation warnings. ( #1510 )
2018-04-18 07:32:01 +01:00
Vasily Levchenko
94ba9d61a9
[build][version][doc] update
2018-04-18 08:01:28 +02:00
Vasily Levchenko
86ec80a6a7
[gradle][test] disable version test
2018-04-18 08:01:28 +02: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
Pavel Punegov
2ff9a52eeb
Add crossDist dependency for crosstarget testing
2018-04-17 14:43:25 +03:00
Pavel Punegov
88cb6ff376
Remove driver_cross test as not needed.
...
It doesn't have a correct crossdist dependency
2018-04-17 14:43:25 +03:00
Ilya Matveev
9e1e7559a2
Fix setting custom path to .konan for Windows
2018-04-17 16:35:19 +07:00
Ilya Matveev
1b22d34852
[gradle-plugin-readme] Mention workaround for #1473
2018-04-17 16:35:19 +07:00
Ilya Matveev
6c84a86a0f
[torch] Use hardcoded revision for pytorch
2018-04-17 16:35:19 +07:00
Ilya Matveev
dd44f36842
[calculator] Add a :clean task
2018-04-17 16:35:19 +07:00
Ilya Matveev
a0fc9ae0eb
[samples] Allow using KONAN_DATA_DIR in samples
2018-04-17 16:35:19 +07:00
Ilya Matveev
89e8d43055
[gradle-plugin] Allow relative paths in CONFIGURATION_BUILD_DIR
2018-04-17 16:35:19 +07:00
Ilya Matveev
2bf307f823
[gradle-plugin] Use project properties instead of env variables
2018-04-17 16:35:19 +07:00
Ilya Matveev
1d2558cd94
[mpp-readme] Concretize some points about an Xcode project
2018-04-17 11:28:29 +07:00
SvyatoslavScherbina
130be5e399
Fix NSDecimalNumber class support ( #1501 )
...
Reported at
https://github.com/JetBrains/kotlin-native/issues/1444#issuecomment-381441837
2018-04-16 20:45:52 +03:00
Igor Chevdar
c633e879a7
Call graph building using devirtualization analysis results
2018-04-16 21:26:22 +05:00
Pavel Punegov
afe9f04487
Produce framework tests
2018-04-16 19:22:49 +03:00
Kevin Galligan
09c9a60b30
Objective-C names with '$' in them where blowing up ( #1497 )
...
Now they do not. May be other problematic characters.
2018-04-13 18:29:07 +03:00
Nikolay Igotti
c97124ea60
Make weak reference work only on non-nullable types. ( #1496 )
2018-04-13 15:26:44 +03:00
Svyatoslav Scherbina
52d0e47999
Improve types mapping for imported Objective-C APIs
...
* id -> Any
* NSArray -> List
* NSMutableArray -> MutableList
* NSSet -> Set
* NSDictionary -> Map
2018-04-13 14:07:02 +03:00
Igor Chevdar
be4a811bb7
Devirtualization: bug fix
2018-04-12 22:14:11 +05:00
Nikolay Igotti
c5c2a080d8
Fix missing dealloc hooks on object freed by cycle collector. ( #1487 )
2018-04-12 18:40:07 +03:00
Pavel Punegov
1aabf3697d
Fix matching of the lldb response
2018-04-12 14:12:08 +03:00
Pavel Punegov
a2f3e633c2
Fix debugger tests
2018-04-12 14:12:08 +03:00
Svyatoslav Scherbina
77139d58f8
Unify interop with Objective-C in both directions
...
Also support casts to Objective-C types
2018-04-12 09:56:29 +03:00