Commit Graph

2569 Commits

Author SHA1 Message Date
Alexander Gorshenev 5effdcb1d2 Pass linkerOpts from .def to klib manifest. 2017-07-04 17:58:30 +03:00
Alexander Gorshenev e2516f42e6 Moved KonanLibrary to use KonanTarget. 2017-07-04 17:58:30 +03:00
Alexander Gorshenev edde21827c A little bit more of utils abstracting us from java api. 2017-07-04 17:58:30 +03:00
Konstantin Anisimov 0582d8f1bd Build function -> file map
Serialize/deserialize file name
Define FileEntryImpl
Provide IrReturnableBlock with information about source file
Move file iteration in NoJavaUtil
Insert future description comments
Move debug info (source file name) from IrFunction to IrDeclaration
2017-07-03 19:54:14 +07:00
Vasily Levchenko db4388a343 [kotlin compiler][update] 1.1-20170701.191134-644 2017-07-03 04:09:14 -07:00
Ilya Matveev 90331bfad5 gradle-plugin: Use konanVersion as a default compiler version 2017-06-28 17:49:22 +07:00
Ilya Matveev 6f35106337 dependencies: Add "airplane mode"
The patch adds airplaneMode parameter in konan.properties.
If airplaneMode = true the dependency downloader will throw
an exception instead of downloading a missing dependency.
2017-06-28 10:37:49 +07:00
Vasily Levchenko 974426d70d [codegen][debug] opt build fix 2017-06-27 05:20:40 -07:00
Nikolay Igotti 399f4bd0ff Fix memleak with exceptions (#713) 2017-06-27 15:08:42 +03:00
Nikolay Igotti 96d9f734c0 Switch Kotlin version to 1.1.3, remove obsolete Gradle syntax (#707) 2017-06-27 11:18:13 +03:00
Alexander Gorshenev e257445a3b Konan Library reshuffle.
Distributed classes into several files.
Eliminated Base64 encoding of protobufs, it was a kt.bc library leftover.
2017-06-26 19:46:51 +03:00
Ilya Matveev 07ba122d96 tests: Fix dependency downloading tests 2017-06-26 16:44:42 +07:00
Ilya Matveev a52f80c4e8 dependencies: Release file lock if an exception is thrown 2017-06-26 16:44:42 +07:00
Ilya Matveev b8ead53487 build: Don't run cross_dist in gradle-plugin build 2017-06-26 16:44:12 +07:00
Ilya Matveev a1e87d93ca samples: Add build step for tensorflow downloading 2017-06-26 16:44:12 +07:00
Ilya Matveev 29ee96cc19 samples: Correct GTK sample for Linux build 2017-06-26 16:44:12 +07:00
Vasily Levchenko 1891e9dc5b [kotlin compiler][update] 1.1-20170623.231409-619 2017-06-26 02:12:28 -07:00
AJ Alt 258be08a40 Fix typo in LIBRARIES.md (#702) 2017-06-24 21:19:43 +03:00
Roman Shevchenko 73ce4348f2 corrects samples/tetris/sdl.def link (#696) 2017-06-23 14:40:52 +03:00
Aleksey Kladov f40e4898f0 Fix plugin version in Gradle guide (#695) 2017-06-23 14:40:12 +03:00
Igor Chevdar 44620c1428 Some fixes in android sample 2017-06-22 14:58:33 +03:00
Igor Chevdar 5df86d9f17 Added outputName for plugin 2017-06-22 14:58:33 +03:00
Nikolay Igotti c1d65ffede Fix warnings (#690) 2017-06-22 13:53:03 +03:00
Nikolay Igotti 8aaad6413b Minor build script tweaks 2017-06-22 11:03:50 +03:00
Vasily Levchenko 9fc16260c6 [link stage][macos] forcebly mute dsymutil warning about absence of _main symbol. 2017-06-22 00:33:17 -07:00
Alexander Gorshenev 9d7e249559 Added an examplar workflow to LIBRARIES.md. 2017-06-21 17:09:04 +03:00
Alexander Gorshenev 7615c36f2e Slightly tweaked klib utility to work with suffix-less klib names. 2017-06-21 17:09:04 +03:00
Nikolay Igotti 1ad50bc33f Workers draft (#655) 2017-06-21 11:26:09 +03:00
Igor Chevdar 919ea4e8f7 Fixed android build 2017-06-20 20:01:43 +03:00
Alexander Gorshenev fb20eb9a37 Produce a message and a non-zero exit code if no source argumens have been provided. 2017-06-20 20:00:08 +03:00
Nikolay Igotti aa9592e2a5 Doc tweaks (#686) 2017-06-20 19:52:42 +03:00
Igor Chevdar ed0c78167b Uncommented hex floating point parser 2017-06-20 17:55:03 +03:00
Ilya Matveev 501a40501e build: Use .zip for windows bundle 2017-06-20 21:44:12 +07:00
Ilya Matveev ed70a3f2c6 build: Workaround for NPE in raspberry-pi build 2017-06-20 20:55:29 +07:00
Igor Chevdar 282ac885c5 Added nullifying all globals on deinitialization of runtime 2017-06-20 16:45:13 +03:00
Federico Tomassetti 9210b99c44 readme: correct link to LIBRARIES.md (#679) 2017-06-20 15:46:13 +03:00
Konstantin Anisimov 651ac934b8 Minor style improvement 2017-06-20 18:53:21 +07:00
Konstantin Anisimov 0a1f925b27 Process all class kinds 2017-06-20 18:53:21 +07:00
Konstantin Anisimov 99348353c6 Minor code style improvements 2017-06-20 18:53:21 +07:00
Konstantin Anisimov f1542f7007 Use TypeTableStack 2017-06-20 18:53:21 +07:00
Konstantin Anisimov f70835fc29 Print callable reference as value parameter 2017-06-20 18:53:21 +07:00
Konstantin Anisimov 531540c8d3 Print annotations with arguments 2017-06-20 18:53:21 +07:00
Vasily Levchenko ecdba8e00e [doc][release notes] kotlinc and kotlin/native gradle plugin options for producing debug information 2017-06-20 04:45:50 -07:00
Vasily Levchenko a3568bc41c [gradle][plugin] debug build option is introduced.
there're two optons:
1. add enableDebug option in the build.gradle:

konanArtifacts {
    CsvParser {
        enableDebug true
        ...
    }
}

2. specify in command line with project properties -PenableDebug=true
2017-06-20 04:45:50 -07:00
Ilya Matveev 91e34017c3 gradle-plugin: Fix compiler downloading 2017-06-20 18:13:35 +07:00
Ilya Matveev b0a531fcd1 gradle-plugin: Update default compiler version to 0.3 2017-06-20 18:13:35 +07:00
Ilya Matveev 6b0992fbe4 gradle-plugin: Imporve GRADLE_PLUGIN.md 2017-06-20 18:13:35 +07:00
Ilya Matveev 9747704c8b samples: Minor fixes for bundle
1. Rearrange tasks for C++ and Kotlin compilation in concurrent
sample. It allows the build to download all dependencies before
the compilation.

2. Don't copy *.kt.bc-build directories in the distribution archive.
2017-06-20 18:13:35 +07:00
Vasily Levchenko 24489e8a36 [build][updater] use artifactId and version for generated pom files, instead of given from repository. 2017-06-19 21:00:28 -07:00
Ilya Matveev 48c0a4a232 gradle-plugin: Add root konanCompile task to compile all artifacts 2017-06-20 10:48:14 +07:00