Commit Graph

2020 Commits

Author SHA1 Message Date
Alexander Gorshenev 9132a192c1 Better wording for the banner. 2017-04-01 20:30:57 +03:00
SvyatoslavScherbina 6350ad5c7b Extend docs about interop 2017-04-01 11:07:53 +03:00
igotti-google 2d92cc8bda Allow building Tetris sample with Gradle 2017-04-01 10:10:06 +03:00
Ilya Matveev 20bdefabdc samples: Add -framework SDL2 in linkerOpts in tetris sample 2017-03-31 21:50:42 +07:00
Svyatoslav Scherbina 7f0b8a6778 Fix number of interop issues 2017-03-31 17:24:41 +03:00
Ilya Matveev 89552fa2c8 build: Add gradle-plugin readme into bundle 2017-03-31 21:05:55 +07:00
Ilya Matveev 1063d134cd samples: Fix iphone gradle project 2017-03-31 20:57:00 +07:00
Ilya Matveev c5dd4d38fc gradle-plugin: generate build task only for supported platforms 2017-03-31 20:57:00 +07:00
Ilya Matveev 951598cca9 gradle-plugin: Add prefix -copt or -lopt for each option in a list 2017-03-31 19:55:49 +07:00
Ilya Matveev 9c6a0d9853 gradle-plugin: Fix LD_LIBRARY_PATH and DYLD_LIBRARY_PATH 2017-03-31 19:27:13 +07:00
Ilya Matveev e4203ec86c gradle-plugin: Add gradle plugin description 2017-03-31 18:46:25 +07:00
Ilya Matveev 43068b6e59 samples: Mention Gradle build in READMEs 2017-03-31 18:46:25 +07:00
Ilya Matveev 0d24a49f8c gradle-plugin Don't use ':' in interop command line 2017-03-31 18:46:25 +07:00
Ilya Matveev 4dfda6da16 samples: Add args dump for gradle plugin tasks 2017-03-31 18:46:25 +07:00
Ilya Matveev 6110e4c27c gradle-plugin: Log compilation and interop args 2017-03-31 18:46:25 +07:00
Ilya Matveev ffe022d4c8 samples: Remove symlinks to gradlew 2017-03-31 18:46:25 +07:00
Ilya Matveev 98c440f2d6 gradle-plugin: Rename kotlin.native.home property in konan.home 2017-03-31 18:46:25 +07:00
Ilya Matveev 870a0a01c1 samples: Add gradle wrapper in samples root 2017-03-31 18:46:25 +07:00
Ilya Matveev f51b61a178 gradle-plugin: Upload to bintray maven repository 2017-03-31 18:46:25 +07:00
Ilya Matveev 0b3d3cb138 Create gradle projects for samples 2017-03-31 18:46:25 +07:00
Ilya Matveev c6680f0735 Add gradle plugin with simple DSL for Compilator and Stub generator 2017-03-31 18:46:25 +07:00
Vasily Levchenko 5a001faaaa IR:STRING_CONCATINATION: don't stop on first cancatination, please check children 2017-03-31 12:05:06 +03:00
Svyatoslav Scherbina 50c3be3fc2 Simplify working with values in interop
* Access primitive interop array elements and struct fields without `.value`
* Simplify C*Var* interop types names
2017-03-31 11:44:07 +03:00
Svyatoslav Scherbina f94a47518a Do not keep interop C stubs file by default 2017-03-31 11:44:07 +03:00
Alexander Gorshenev 9fd555471a A couple of konanc driver tests. 2017-03-31 11:07:01 +03:00
Alexander Gorshenev 742934a1d8 Load metadata lazily per package fragment. 2017-03-31 11:06:38 +03:00
alexander-gorshenev c9c9aee7bb No colon cinterop flags (#428)
* Taught cinterop a 'host' target.

* Last minute switch from -foo:bar flags to -foo bar flags in cinterop tool.
2017-03-31 10:20:29 +03:00
Alexander Gorshenev b2a57e7cb3 Added README.nd, INTEROP.md and RELEASE_NOTES.md into the tarball. 2017-03-31 00:29:23 +03:00
Alexander Gorshenev 8c30ae38b6 Serializer warning cleanup. 2017-03-30 20:54:18 +03:00
Alexander Gorshenev f63862e98d Added correspondingClass support in enum serialization. 2017-03-30 20:49:43 +03:00
Alexander Gorshenev b763e003ae IrContinue support in IR serializer. 2017-03-30 20:49:43 +03:00
Alexander Gorshenev 5b66a62da5 Default function argument support in IR serializer. 2017-03-30 20:49:43 +03:00
Alexander Gorshenev aa7e3f40fd Initial support of enums in IR serialization. 2017-03-30 20:49:43 +03:00
Nikolay Igotti a368818863 Fix names, samples (#426) 2017-03-30 19:41:15 +03:00
Konstantin Anisimov d34e5205ae Typo fixed 2017-03-30 22:50:16 +07:00
Konstantin Anisimov 34733d12e6 Typo fixed 2017-03-30 22:50:16 +07:00
Konstantin Anisimov 14fb3b87b6 Support for ClassDescriptor and FunctionDescriptor copy 2017-03-30 22:50:16 +07:00
Nikolay Igotti 4572b27592 Raspberry Pi sample doesn't need -nomain 2017-03-30 16:36:25 +03:00
Nikolay Igotti 61728ab3fd CURL sample, copyright update 2017-03-30 16:25:05 +03:00
Svyatoslav Scherbina 10a3e3d0e1 Improve argument handling in interop stub generator
Use `atMostOne` instead of `singleOrNull`.
2017-03-30 15:55:39 +03:00
Svyatoslav Scherbina ebced0aa2d Make interop tool generate one self-contained .kt.bc 2017-03-30 15:55:39 +03:00
Svyatoslav Scherbina f564bd7707 Always link bitcode files specified with -nativelibrary 2017-03-30 15:55:39 +03:00
Igor Chevdar fb08c25633 Fixed some warnings in stdlib (#420) 2017-03-30 15:18:37 +03:00
Svyatoslav Scherbina bdd5ec83e1 Reduce interop stub generation verbosity 2017-03-30 14:54:55 +03:00
Svyatoslav Scherbina 4a1b2721d8 Eliminate some warnings from Kotlin code 2017-03-30 14:54:55 +03:00
Igor Chevdar 760de3cdad Run inlining phase against whole module
It is wrong to run inlining phase file by file, because other lowerings
could modify inline function before it had been inlined.
2017-03-30 11:05:30 +03:00
Igor Chevdar dbea244b0e Fixed bug with type substitution for reified type parameter 2017-03-30 11:05:30 +03:00
Igor Chevdar 662abba4a7 Changed type of exception from CastClassException to TypeCastException
When converting from null to non-nullable type kotlin JVM throws TypeCastException
2017-03-30 11:05:30 +03:00
Ilya Matveev 9d64aa7153 build: Rename bunlde archive
This patch renames the bundle to .tar.gz to work with it in
dependecny downloader.
Also it adds a version number in the bundle name.
2017-03-30 14:46:24 +07:00
Nikolay Igotti 0cbd34086e Added JB copyright (#417) 2017-03-30 09:51:58 +03:00