Commit Graph

2498 Commits

Author SHA1 Message Date
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
Michael Blackman f99c44dfdf Fix typos in GRADLE_PLUGIN.md & INTEROP.md (#649)
* Fix typo in GRADLE_PLUGIN.md

* Fix typo in INTEROP.md
2017-06-13 10:15:52 +03:00
Mikhael Bogdanov f6d47aa93c Support handler parameter generation 2017-06-09 15:51:07 +03:00
Mikhael Bogdanov cd54f010e0 Move DefaultArgumentStubGenerator to common package 2017-06-09 15:51:07 +03:00
Mikhael Bogdanov 724710811d Rename DefaultArgumentMarker to DefaultConstructorMarker 2017-06-09 15:51:07 +03:00
Mikhael Bogdanov 890ccd96f0 Make TailrecLowering public 2017-06-09 15:51:07 +03:00
Mikhael Bogdanov 6b686735ee Move LateinitLowering to common package 2017-06-09 15:51:04 +03:00
Mikhael Bogdanov 5a1be2715f Add kFunctionImpl to ReflectionTypes 2017-06-09 15:49:03 +03:00
Mikhael Bogdanov f5c421d64b Move isFunctionOrKFunctionType to common package 2017-06-09 15:49:03 +03:00
Mikhael Bogdanov 03e9d7a701 Use KOTLIN_REFLECT_FQ_NAME from builtins 2017-06-09 15:49:03 +03:00
Mikhael Bogdanov 9ce0082ec0 Replace compilerConfiguration with messageCollector in CommonBackendContext 2017-06-09 15:49:02 +03:00
Mikhael Bogdanov a81b6731f8 Move DumpIrTreeWithDescriptorsVisitor to common package 2017-06-09 15:49:02 +03:00
Mikhael Bogdanov 10ca3dbeca Use isPrimitiveType instead of isValueType in LateinitLowering assertion 2017-06-09 15:48:58 +03:00
Ilya Matveev a18e9dbe0d backend: Don't process FAKE_OVERRIDE properties in lateinit lowering 2017-06-09 19:13:52 +07:00
Alexander Gorshenev a23c64012b A bit of infrastructure for the klib pretty printer. 2017-06-08 23:27:53 +03:00
Alexander Podkhalyuzin 9e8ca0fa8d Fixed tests. 2017-06-08 17:21:04 +03:00
Alexander Podkhalyuzin bc941269f0 Fixed samples for the latest changes in Gradle plugin.
- Smaller gradle scripts.
- More structure in sample projects.
- Simplified build/run.
- Added gradle to the rest two samples.
- Almost removed all sh scripts.
- Gradle now works only inside of build directory.
- Fixed READMEs according to the new changes.
2017-06-08 17:21:04 +03:00
Alexander Podkhalyuzin f1fa5327f3 Improved Gradle plugin.
- Added conventional project structure for sources and def files.
- Fixed bug with konan.home setting, now it has defualt value, which is
download directory.
- Fixed structure of Gradle plugin sources.
- Added debug printing for command line options.
- Added run task.
2017-06-08 17:21:04 +03:00
Alexander Gorshenev 114010bbcd Make klib info report targets available. 2017-06-08 03:28:18 +03:00
Alexander Gorshenev 646117a60b Initial klib tool check in. 2017-06-08 03:28:18 +03:00
Alexander Gorshenev 9dfdd91cc8 A short notice describing klib format. 2017-06-08 03:28:18 +03:00
Alexander Gorshenev fe5945aebe Using a single shell script for both 'cinterop' and 'konanc'. 2017-06-08 03:28:18 +03:00
Nikolay Igotti 1b56b8912b Fix size for wcstr 2017-06-07 14:27:56 +03:00
Nikolay Igotti 2d6d4b15e6 Support for wchar, minor opts in interop runtime (#641) 2017-06-07 14:23:35 +03:00
Igor Chevdar 242e1da191 Removed redundant main from tests 2017-06-07 12:29:22 +03:00
Ilya Matveev a70f170e80 [SQUASHME] bitset: fix logical operations. 2017-06-07 11:11:36 +07:00
Ilya Matveev dc0058371c [SQUASHME] Review fixes 1 2017-06-07 11:11:36 +07:00
Ilya Matveev 6ff43d690f stdlib: Add BitSet implementation. 2017-06-07 11:11:36 +07:00
vvlevchenko 00dc4524ca [Kotlin compiler][update] 1.1.4-dev-600 (#639) 2017-06-06 21:56:31 +03:00
Vasily Levchenko 98e2405f41 debug info demo: makes demo for complex type use new API 2017-06-06 06:49:04 -07:00