Igor Chevdar
5a216953e2
Ported harmony implementation of Double/Float <-> String
...
Double.toString(), Float.toString(), String.toFloat(), String.toDouble()
2017-05-30 14:50:15 +03:00
Svyatoslav Scherbina
d6b8b4fb0f
Add basic support for Windows with mingw-w64
2017-05-29 19:13:55 +03:00
Svyatoslav Scherbina
ed60732058
Fix Windows-specific klib bugs
2017-05-29 19:13:55 +03:00
Svyatoslav Scherbina
9c35fbf91a
Use .zip files on Windows in DependencyDownloader
2017-05-29 19:13:55 +03:00
Svyatoslav Scherbina
d7adbfd221
Reconfigure interop with LLVM
...
Use more strict linking.
Also remove unused components.
2017-05-29 19:13:55 +03:00
Svyatoslav Scherbina
23f1df015d
Update libclang interop stubs
...
Apply filters to exclude platform-dependent declarations.
2017-05-29 19:13:55 +03:00
Nikolay Igotti
79588716d6
Fix build
2017-05-29 15:42:11 +03:00
Nikolay Igotti
ff8bce79d5
Uniform compiler/linker options treatment ( #614 )
2017-05-29 15:37:15 +03:00
Alexander Gorshenev
c9ce175224
A bit simple file name suffix management.
2017-05-29 15:01:42 +03:00
Ilya Matveev
62134a0573
gradle-plugin: Fix interop artifact path
2017-05-29 15:01:42 +03:00
Alexander Gorshenev
1970af042f
Introduce '-p' as a short name for '-produce'.
...
-p program // The default.
-p library
-p bitcode
2017-05-29 15:01:42 +03:00
Alexander Gorshenev
1d3a5e6585
Don't use explicit file namesuffixes in build.sh scripts.
2017-05-29 15:01:42 +03:00
Alexander Gorshenev
c93bddbba1
Get rid of -nolink flag uses.
2017-05-29 15:01:42 +03:00
Alexander Gorshenev
380010d1ee
-produce program|library|bitcode
...
'program' makes a kexe.
'library' makes a klib.
'bitcode' makes just a bare bitcode file.
The default is 'program'.
2017-05-29 15:01:42 +03:00
Alexander Gorshenev
34491cfb01
Lexically sort compiler option definitions.
2017-05-29 15:01:42 +03:00
Kevin Waldock
a56a53f408
Fixed spelling mistake in INTEROP.md ( #611 )
2017-05-28 11:20:06 +03:00
alexander-gorshenev
e44e58a4b8
Remove demo target. ( #609 )
2017-05-27 15:10:07 +03:00
igotti-google
fe3ae96079
Revert "Improved Gradle plugin. Fixed samples according to these changes. ( #594 )"
...
This reverts commit 8b18c7c8cb .
2017-05-27 11:27:00 +03:00
igotti-google
9760e0f21c
Revert "Fix build"
...
This reverts commit bd7c24745a .
2017-05-27 11:26:59 +03:00
igotti-google
7ba6b6d2cc
Revert "Interop test fix"
...
This reverts commit 09eee739f0 .
2017-05-27 11:26:56 +03:00
Nikolay Igotti
09eee739f0
Interop test fix
2017-05-26 16:49:58 +03:00
Nikolay Igotti
bd7c24745a
Fix build
2017-05-26 16:17:39 +03:00
Alexander Podkhalyuzin
8b18c7c8cb
Improved Gradle plugin. Fixed samples according to these changes. ( #594 )
2017-05-26 15:43:16 +03:00
Aleksey Kladov
7d901dc610
Gradle plugin: add artifacts to the IDE project model
2017-05-26 16:08:18 +07:00
Ilya Matveev
f1256edb02
build: Use konan.properties values for some building constants.
...
This patch uses values provided by konan.properties to specify
build dependencies (libffi and sysroots) and the "target" parameter
for LLVM.
2017-05-26 15:52:42 +07:00
Nikolay Igotti
070ea929f0
Small backtrace support cleanup.
2017-05-25 22:35:56 +03:00
Igor Chevdar
2dcfdebd5a
Optimized inliner: substitute leaking descriptors only once
2017-05-25 16:15:55 +03:00
Nikolay Igotti
a4ba0fbb32
Add Linux backtrace support. ( #605 )
2017-05-25 15:50:18 +03:00
Ilya Matveev
862c68b5c5
Gradle plugin: fix --include-build workflow
...
By convention, gradle uses project name as artifactId, `project.group`
property for groupId and `project.version` for version.
This commit switches to this convention instead of configuring
publication tasks directly. It allows to easily substitute published
plugin with a plugin build locally by issuing
`./gradlew build --include-build ../kotlin-native`
in the dependent project.
2017-05-25 15:11:50 +07:00
Igor Chevdar
7997b4f362
Implemented *Array.toString() for all arrays
2017-05-24 22:53:18 +03:00
Igor Chevdar
3f61425d71
Reordered lowerings
...
Callable reference lowering must be performed before
local functions lowering because otherwise
original names of local functions would be lost
2017-05-24 22:53:18 +03:00
Igor Chevdar
7eee76f0f5
Fixed bug: finally blocks are not always inside IrFunction
...
For instance: package level field initializers.
2017-05-24 22:53:18 +03:00
Igor Chevdar
48f5962645
Fixed test
2017-05-24 22:53:18 +03:00
Igor Chevdar
2a4ee21bc7
Added KotlinVersion.kt
2017-05-24 22:53:18 +03:00
Igor Chevdar
21ad85216f
Fixed bug with name clash for package level properties
2017-05-24 22:53:18 +03:00
Nikolay Igotti
772e8a33ae
Revert "Gradle plugin: fix --include-build workflow"
...
This reverts commit fce134ee56 .
2017-05-24 19:32:25 +03:00
Aleksey Kladov
fce134ee56
Gradle plugin: fix --include-build workflow
...
By convention, gradle uses project name as artifactId, `project.group`
property for groupId and `project.version` for version.
This commit switches to this convention instead of configuring
publication tasks directly. It allows to easily substitute published
plugin with a plugin build locally by issuing
`./gradlew build --include-build ../kotlin-native`
in the dependent project.
2017-05-24 19:35:41 +07:00
Igor Chevdar
6116f24abc
Added test on callable reference to property
2017-05-24 13:56:08 +03:00
Igor Chevdar
560822fca0
Fixed bug with duplicate IR nodes
2017-05-24 13:56:08 +03:00
SvyatoslavScherbina
d08438da5f
Continue updating compiler to IR with symbols:
...
The symbols produced by the lowering are now bound.
Also:
* Simplify interop lowering and bridges building.
* Refactor IR validation.
2017-05-24 11:30:28 +03:00
Alexander Gorshenev
9d6846947e
Don't expect local libraries to be in 'klib' directory.
2017-05-24 00:47:10 +03:00
Nikolay Igotti
42197a2bec
Android NDK support and build system refactoring ( #585 )
2017-05-24 00:20:19 +03:00
Alexander Gorshenev
48742b7f3f
Library search path resolution.
2017-05-23 16:40:48 +03:00
Alexander Gorshenev
1b30f0988b
Renamed SplitScheme to SplitLibraryScheme.
2017-05-23 16:40:48 +03:00
Alexander Gorshenev
ff86c16fc9
Don't skip empty packges of the current module when serializing.
2017-05-23 16:40:29 +03:00
Aleksey Kladov
57b1800354
Gradle plugin: groundwork for tooling API support
2017-05-23 19:16:32 +07:00
Igor Chevdar
63e5aaecba
Added type checks for special bridges (Collection, Map, List)
2017-05-23 12:25:10 +03:00
Igor Chevdar
d1e248b8c3
Added String.repeat()
2017-05-23 11:44:09 +03:00
Igor Chevdar
67f37bad8d
Fixed bug in strings comparison
2017-05-23 11:44:09 +03:00
Igor Chevdar
0d0e652709
Fixed toString() KFunction
2017-05-23 11:44:09 +03:00