Nikolay Igotti
fc4fc438c3
Bump version to 0.2
2017-05-04 18:03:04 +03:00
Nikolay Igotti
d95f419a53
v0.2 preparations ( #547 )
...
* v0.2 preparations
* Fix Tensorflow sample.
2017-05-04 17:28:59 +03:00
Konstantin Anisimov
6e7cb64b37
Typos fixed
2017-05-04 15:14:54 +07:00
Konstantin Anisimov
1e134f7062
Use fqName
...
Add BooleanArray
Use set
2017-05-04 15:14:54 +07:00
Konstantin Anisimov
666f052b10
Enforce inlining for *Array constructors
2017-05-04 15:14:54 +07:00
Ilya Matveev
156a8d79c9
Update compiler (1.1.3-dev-1810)
2017-05-03 22:06:26 +07:00
Ilya Matveev
adb6e17b60
backend: Implement executableScriptFileName method in K2Native
2017-05-03 22:06:26 +07:00
Julius Kunze
7afa5e395a
Added TensorFlow sample ( #541 )
...
* Added TensorFlow sample
* Added graph to TensorFlow sample
* Added session to TensorFlow sample
* added description to readme, cleaned up tensorflow.def, used lambda for deallocator, call Status.delete on error
2017-05-03 13:03:18 +03:00
Ilya Matveev
717f9ebc74
tests: Don't assume that NaN > any double in coercion test
2017-05-03 16:59:59 +07:00
Ilya Matveev
74bd3256f0
runtime: Correct Float.MIN_VALUE
2017-05-03 16:59:59 +07:00
Ilya Matveev
4179b5ddd6
tests: Disable tests that assume that NaN is greater than any value
2017-05-03 16:59:59 +07:00
Ilya Matveev
0a06f6b4ca
stdlib: Add more minOf/maxOf extensions
2017-05-03 16:59:59 +07:00
Svyatoslav Scherbina
c222eb8f04
Fix conversion between P1.(...)->R and (P1, ...)->R when inlining
2017-05-02 22:18:18 +03:00
Svyatoslav Scherbina
a8ab837035
Add failing test 'inline24'
2017-05-02 22:18:18 +03:00
Ilya Matveev
ce29c5fbb7
stdlib: Throw NoSuchElementException in range iterators
2017-05-02 22:09:36 +07:00
Ilya Matveev
fe5badee34
build: Store kotlin-compiler repo URL in a project property
2017-05-02 18:17:27 +07:00
Ilya Matveev
3f0a273a11
build: Switch Kotlin compiler downloading to kotlin-dev bintray repo
...
This patch uses kotlin-dev bintray repo (dl.bintray.com/kotlin/kotlin
-dev/org/jetbrains/kotlin/kotlin-compiler/) for Kotlin compiler
downloading instead of the sonatype repo and our bintray mirror of it.
So there is not need to run ./gradlew update_kotlin_compiler on each
compiler update.
It also updates kotlin-compiler to 1.1.3-dev-1619
2017-05-02 18:17:27 +07:00
Ilya Matveev
94c1716899
build: Fix dependency uploading to bintray repo
2017-05-02 18:17:27 +07:00
Ilya Matveev
654ece0311
build: Add bintray repo in dependencies project
2017-05-02 18:17:27 +07:00
Vasily Levchenko
7c1c07a0d9
handline: license and LICENSE on mac with case-insensitive file system.
...
- license->licenses
- reintroduce 4383b5de
2017-04-30 08:56:32 +03:00
Dmitry Jemerov
4383b5de5d
Add missing LICENSE file
2017-04-28 17:05:20 +02:00
Igor Chevdar
57c889de41
SuspendFunctionLowering: optimizations of ExpressionSlicer
2017-04-28 13:46:44 +03:00
Igor Chevdar
adc1faa6c5
Moved NativePtr from interop to konan.internal
2017-04-28 13:45:46 +03:00
Igor Chevdar
0750626c29
Inherited coroutines from SuspendFunction
2017-04-28 13:45:46 +03:00
Igor Chevdar
66aef3bf5a
Handling of 'WITH_COROUTINES' in tests
2017-04-28 13:45:46 +03:00
Igor Chevdar
4f22b4803a
Coroutines: support of Unit functions
2017-04-28 13:45:46 +03:00
Igor Chevdar
6aa3493de2
Added some tests on coroutines
2017-04-28 13:45:46 +03:00
Igor Chevdar
86449c6d04
Codegen: init all slots at the beginning
...
This is needed for coroutines: when resuming suspend functions
all visible locals must be initialized.
2017-04-28 13:45:46 +03:00
Igor Chevdar
01b6ab74a5
Codegen: coroutines support
2017-04-28 13:45:46 +03:00
Igor Chevdar
bd6a091088
Coroutines lowering
2017-04-28 13:45:46 +03:00
Igor Chevdar
7f9c5e5c8b
Inlining bug fix
2017-04-28 13:45:46 +03:00
Igor Chevdar
366e28775f
Added @FixmeInline and commented some inline functions
2017-04-28 13:45:46 +03:00
Igor Chevdar
2b92b1d880
Added coroutines stdlib classes
2017-04-28 13:45:46 +03:00
Igor Chevdar
6c97044452
Extracted common function for creating fake overrides
2017-04-28 13:45:46 +03:00
Igor Chevdar
8a5659456c
Fixes bug in local declarations lowering + test
2017-04-28 13:45:46 +03:00
Ilya Matveev
028cf6c947
build: Allow kotlin-compiler downloading from sonatype
...
This patch allows one to download the kotlin-compiler dependency
not only from the bintray mirror but also from the sonatype original
repo.
2017-04-28 17:15:01 +07:00
Ilya Matveev
c9a344f8c7
build: Upload used kotlin-compiler builds to bintray
2017-04-28 17:15:01 +07:00
Alexander Gorshenev
f77a4b9090
Represent the presence of a backing field with just a protobuf
...
extension bit, instead of a more complex annotation scheme. The
scheme was initially introduced when Konan still used JS serializer
extension, and we only could apply an additional annotation.
2017-04-27 22:55:52 +03:00
Alexander Gorshenev
cbce4cf994
Properly process the absence of protobuf field.
2017-04-27 22:55:52 +03:00
Alexander Gorshenev
67867dd6fb
Removed some leftovers.
2017-04-27 22:55:52 +03:00
Alexander Gorshenev
53d01129ce
Disallow serialization of private and other non-exported functions.
2017-04-27 22:55:52 +03:00
Alexander Gorshenev
ee6d70fb0f
When searching a descriptor by name,
...
only search in exported symbols.
2017-04-27 17:06:21 +03:00
Ilya Matveev
55c3b79786
tests: Update box tests (1053418:id)
2017-04-27 17:27:39 +07:00
Alexander Gorshenev
0859abbb9d
Somewhat simplified descriptor management for IR serialization.
...
The public descriptors don't need to keep their containing declaration index.
KonanIr.KotlinDescriptor already has this index, so use it instead.
That allows to remove some more clutter from KonanLinkData.
2017-04-27 12:33:35 +03:00
Alexander Gorshenev
503399ade3
Moved local declaration descriptor serialization
...
from KonanLinkData where it serves no purpose,
to KonanIr where it belongs.
2017-04-27 12:33:35 +03:00
Alexander Gorshenev
2c1fa5e965
Removed indices from the descriptor serializations.
...
The reason they have been introduced initially was
because those indices were calcuated irrelative to the descriptros themselves.
The current scheme with hashing the mangled name allows to calcuate
the indices for the descriptors, rather than storing them.
The measurements didn't reveal any slowdowns because of hash
recalculations, rather there may be even a minor improvement
because of a 2% smaller volume of module protobuf.
2017-04-27 12:33:35 +03:00
Alexander Gorshenev
31c490e14e
Reflect the absence of parent fqname index in the absence of protobuf extension.
2017-04-27 12:33:35 +03:00
Alexander Gorshenev
0cc3fa56ab
Properly process root package symbol table index.
2017-04-27 12:33:35 +03:00
Nikolay Igotti
2d2ae56435
Update compiler ( #531 )
2017-04-27 12:15:56 +03:00
Alexander Gorshenev
28c03a36cc
Collected pieces of library management in KonanLibrary interface.
...
In anticipation of klib implementation.
2017-04-27 12:13:27 +03:00