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
Svyatoslav Scherbina
38f896649c
Use meta object for storing associated Objective-C object
2018-04-12 09:56:29 +03:00
Svyatoslav Scherbina
841bb51e65
Add workaround to interop_objc_smoke for bug in MM
2018-04-12 09:56:29 +03:00
Pavel Punegov
5e01a09b9a
Run interop and driver tests in run task
2018-04-11 18:58:55 +03:00
Igor Chevdar
1d0e9e7a67
Some fixes in <perf> to make it stable
2018-04-11 11:07:23 +03:00
Ilya Matveev
e8384f92fb
Fix Xcode spelling in the MPP readme
2018-04-11 12:24:33 +07:00
ilmat192
051dbaba71
WIP: Add MPP readme ( #1474 )
2018-04-10 17:24:50 +03:00
Vasily Levchenko
e9f2deb4d8
[kotlin compiler] 1.2.50-dev-515
2018-04-10 06:16:30 +03:00
Nikolay Igotti
7be3d120d2
Add FAQ.md entry for framework prefix.
2018-04-09 16:25:20 +03:00
Igor Chevdar
8e6ed44db3
Turned on devirtualization + fix in ObjCExport
2018-04-09 15:42:13 +03:00
Alexander Gorshenev
0a911ed5bb
Moved from typeMaps to typeArgument list in IrMemberAccessCommon serialization
...
to reflect changes in IR.
2018-04-09 12:13:05 +03:00
Nikolay Igotti
6415734881
Respect JAVA_OPTS env variable in CLI tools. ( #1478 )
2018-04-09 10:08:00 +03:00
Igor Chevdar
c046372025
Turned off devirtualization for now
2018-04-08 13:16:30 +03:00
Igor Chevdar
7b4d60d489
Marked WeakReferenceCounter with @ExportForCompiler
2018-04-07 08:56:37 +03:00
Igor Chevdar
ff2a81b5cf
Devirtualization: more readable debug output
2018-04-07 08:56:37 +03:00
Igor Chevdar
b54392c9de
Turned on devirtualization
2018-04-07 08:56:37 +03:00
Igor Chevdar
cefe043751
Devirtualization: fixed two bugs with ObjC classes
2018-04-07 08:56:37 +03:00
Vasily Levchenko
79945383c6
[samples][curl] split libcurl application on libcurl interop library and curl application
2018-04-06 11:45:57 +03:00
Vasily Levchenko
5185a17c24
[gradle][plugin][konan] deployment of kotlin-native artifacts via maven machinery
2018-04-06 11:45:57 +03:00
Nikolay Igotti
ddcbe68a5b
Implement scope-local C pointer. ( #1471 )
2018-04-05 19:30:10 +03:00