Commit Graph

2527 Commits

Author SHA1 Message Date
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
Ilya Matveev 0063d162bf gradle-plugin: Use @OutputFile in konanCompileTask 2017-06-20 10:48:14 +07:00
Ilya Matveev 4daebe47a9 regex: Add licenses 2017-06-20 02:53:54 +07:00
Ilya Matveev c994573a77 regex: Fix warnings and TODOs 2017-06-20 02:53:54 +07:00
Ilya Matveev 22aead3d18 regex: Perform char decomposition on C++ side 2017-06-20 02:53:54 +07:00
Ilya Matveev 1e7d132a88 regex: Clean TODOs 2017-06-20 02:53:54 +07:00
Ilya Matveev bfcc0fc0d0 regex: Refactor predefined character classes. 2017-06-20 02:53:54 +07:00
Ilya Matveev 9c81f9b402 regex: Move decomposition tables to C++ code 2017-06-20 02:53:54 +07:00
Ilya Matveev 1bf9b23108 regex: Initial regex implementation
regex: All tests are passed.
2017-06-20 02:53:54 +07:00
Ilya Matveev 4f251003ef tests: Add Harmony regex tests 2017-06-20 02:53:54 +07:00
Vasily Levchenko 17ed2545ce [Kotlin compiler][update] 1.1-20170616.193339-600 2017-06-19 10:44:37 -07:00
Igor Chevdar fa93f5b7e1 Revert "Implemented *Array.toString() for all arrays"
This reverts commit 7997b4f362.
Synchorinization with Kotlin/JVM - default implementation will do.
2017-06-19 17:17:30 +03:00
Igor Chevdar dbc885b811 Implemented intrinsics dataClassArrayToString & dataClassArrayHashCode 2017-06-19 17:17:30 +03:00
Nikolay Igotti 0c66db0720 Add exec bit on external library download script 2017-06-19 12:47:06 +03:00
alexander-gorshenev d3c24bb387 Different extensions (and KonanTarget communalization). (#665) 2017-06-19 12:45:57 +03:00
Federico Tomassetti c57ad51fc7 remove typo (#672) 2017-06-19 01:04:01 +03:00
Alexander Gorshenev f04827cd57 Deserialization of IrSetField/IrGetField was missing. 2017-06-17 21:23:08 +03:00
Alexander Gorshenev a1ee247a7b Allow deserialization of IrVariable without initializer. 2017-06-17 21:23:08 +03:00
Alexander Gorshenev cdf4147c4d Modify PATH to properly load libclang.dll on windows. 2017-06-17 19:01:09 +03:00
Alexander Gorshenev 6801187ad9 Switch off android native activity subproject for now, as it breaks the build. 2017-06-17 19:01:09 +03:00
Alexander Gorshenev 18a612430e A gradlew.bat for samples. 2017-06-17 19:01:09 +03:00
Alexander Podkhalyuzin c26e6933ed Cleanup (removed clean task).
Fixed 'getTask' naming (no side effects now).
2017-06-17 13:21:28 +07:00
Vasily Levchenko 7ef5cbb52a [stage][link][debug] always produce code with debug info. 2017-06-15 10:53:22 -07:00
Igor Chevdar b1db2fa182 Pulled out io.* from KString.cpp to Console.cpp 2017-06-15 19:04:58 +03:00
Igor Chevdar 3a55c123d7 Sample: textured dodecahedron rotated by fingers 2017-06-15 19:04:58 +03:00
Igor Chevdar 2151e55576 Added separate launcher for android 2017-06-15 19:04:58 +03:00
Igor Chevdar 489027ed59 Bumped gradle version 2017-06-15 19:04:58 +03:00
Alexander Podkhalyuzin 8c6e179566 Added base plugin to konan plugin as dependency. (#663) 2017-06-15 17:46:44 +03:00
Alexander Gorshenev f629d230d1 Moved win32 sample sources to the gradle imposed locations. 2017-06-15 17:34:31 +03:00
Alexander Gorshenev 42b4748de3 Updated build.bat samples script for the new source locations. 2017-06-15 17:34:31 +03:00
Alexander Gorshenev 93a589b9ba Enable windows specific driver tests. 2017-06-15 17:34:31 +03:00
Alexander Gorshenev ba2ae4c76b Check in klib.bat 2017-06-15 17:34:31 +03:00
Alexander Gorshenev 83d96f7d97 Windows scripts commoned. 2017-06-15 17:34:31 +03:00
Alexander Gorshenev bd0a1a9ce1 A simple time prepend. 2017-06-15 17:34:31 +03:00
Konstantin Anisimov 736d3fd876 Code style improvement 2017-06-15 19:10:10 +07:00
Konstantin Anisimov 7165f2edb5 Minor fixes to achieve coincidence with sours code 2017-06-15 19:10:10 +07:00
Konstantin Anisimov 9b56af8f4b Pretty printer 2017-06-15 19:10:10 +07:00
Vasily Levchenko 86717def3e [doc][debug] small article about using lldb/gdb with kotlin native 2017-06-15 02:49:21 -07:00
Ilya Matveev 4202e6d818 stdlib: Remove redundant checks from String.lastIndexOf
Kotlin/JVM allows a user to specify a start index greater than
a string length in String.lastIndexOf method. This patch
modifies the Kotlin/Native implementation according to this
behaviour. It also removes other redundant checks.
2017-06-15 14:37:31 +07:00
Nikolay Igotti 0e8a1292a7 v0.3 preparations (#648) 2017-06-14 16:14:47 +03:00
Ilya Matveev 07c8404a5e backend: Fix enum constructor default parameters
The problem was observed in the follwing code:

enum class A(one: Int, val two: Int = one) ...

The problem is in the `two` default value. Here the enum constructor
lowering used an old (not lowered) symbol for `one`. Also the lowering
didn't copy the default expression for DEFAULT class.
The patch fixes both problems.
2017-06-14 19:42:29 +07:00
Ilya Matveev e64a5f42f0 stdlib: Improve character API.
The patch adds methods for surrogate characters processing and Unicode
category support needed for regular expression library.
2017-06-14 10:33:45 +07:00
Ilya Matveev 96e807697a [Kotlin compiler][update] 1.1-20170611.100554-585 2017-06-13 16:16:09 +07:00