Alexander Gorshenev
9789420ed3
A configurable zephyr board support.
2018-02-12 16:00:58 +03:00
Mike Sinkovsky
d968fafec0
zephyr: first attempt
2018-02-12 16:00:58 +03:00
Alexander Gorshenev
a5bc23d706
Moved KonanTarget to be a sealed class rather than enum.
2018-02-12 16:00:58 +03:00
Nikolay Igotti
8324bb67f5
Omit expect classes/functions form -produce dynamic. ( #1310 )
2018-02-12 15:59:59 +03:00
Igor Chevdar
ae95da2416
Fixed bug with nested enums lowering + test
2018-02-12 15:41:47 +03:00
SvyatoslavScherbina
0dc0831405
Don't serialize expect declaration descriptors ( #1307 )
...
Thus fix producing .klib from multi-platform sources
2018-02-12 14:15:21 +03:00
igotti-google
d408b50305
Revert "[warnings] g/c some warnings and idea inspections"
...
This reverts commit 4b12f1c54c .
2018-02-11 11:14:28 +03:00
Svyatoslav Scherbina
b15c94855e
Improve Kotlin collections support when producing framework
...
* Represent MutableList, Set, Map as standard Objective-C collections
* Represent MutableSet and MutableMap as Obj-C collection subclasses
* Use Objective-C generics to represent collection element type
* Make type mapping more correct
2018-02-09 20:40:33 +03:00
Svyatoslav Scherbina
d228e77c0c
Add AbstractSet from main Kotlin repo
2018-02-09 20:40:33 +03:00
Nikolay Igotti
f74bc6fee3
Fix plugin upload docs.
2018-02-09 18:53:14 +03:00
Vasily Levchenko
907ca0a528
[warnings] needless comment
2018-02-09 16:25:13 +03:00
Vasily Levchenko
9e738215dd
[warnings] warning in import
2018-02-09 16:25:13 +03:00
Vasily Levchenko
4b12f1c54c
[warnings] g/c some warnings and idea inspections
2018-02-09 16:25:13 +03:00
Pavel Punegov
066bff2004
Fix override conflicts with different return types
2018-02-09 14:25:23 +03:00
Igor Chevdar
f2e3c91f79
Fixed bug with arguments cloning in inliner
...
There is no need to clone call arguments
2018-02-09 12:49:17 +03:00
Nikolay Igotti
68694417d9
v0.6 preparations. ( #1297 )
2018-02-09 12:44:35 +03:00
Nikolay Igotti
7ccc73aadd
Simplify regexp engine init. ( #1302 )
2018-02-09 11:27:01 +03:00
ilmat192
f31dfa94a9
[samples] Build globalState sample in pre-commit test runs ( #1291 )
2018-02-08 21:00:15 +03:00
Nikolay Igotti
433acc8e4d
Fix -compilerOpts and -linkerOpts for cinterop tools. ( #1296 )
2018-02-08 18:51:59 +03:00
Nikolay Igotti
98a7f9cdec
Fix generic overrides conflicts. ( #1293 )
2018-02-08 16:15:28 +03:00
Ilya Matveev
c455064ca2
[readme] Add multiplatform support description into readme.
2018-02-08 11:34:49 +07:00
Ilya Matveev
4693563195
[gradle-plugin] Use 'expectedBy' configuration for multi-platform support
2018-02-08 11:34:49 +07:00
Ilya Matveev
335ca7d989
[gradle-plugin] Add smoke tests for multiplatform support
2018-02-08 11:34:49 +07:00
Ilya Matveev
3eaf46ae60
[gradle-plugin] Support multiplatform projects in current DSL.
2018-02-08 11:34:49 +07:00
Ilya Matveev
5df150dc14
Re-enable DynamicKonanTest in backend.native:tests:run
2018-02-07 18:25:22 +03:00
Alexander Gorshenev
33d895fcf7
Brought back the Standalone and Linker tests into backend.native:tests:run.
2018-02-07 18:25:22 +03:00
Nikolay Igotti
8c72f0a629
Support globalState example on Windows. ( #1289 )
2018-02-07 17:36:04 +03:00
Vasily Levchenko
f7af762dad
[codegen] g/c indentation and warns
2018-02-07 16:10:35 +03:00
Nikolay Igotti
a90ba16aed
Debugging output removed.
2018-02-07 12:16:38 +03:00
Nikolay Igotti
fca3057118
Fix -p dynamic
2018-02-07 12:08:58 +03:00
Nikolay Igotti
f9a4e23522
Fix Python sample.
2018-02-07 11:32:49 +03:00
Nikolay Igotti
917930ba53
Make empty array handling more efficient, also fixes KT-21758 ( #1285 )
...
* Make empty array handling more efficient, also fixes KT-21758
* Fix WebAssembly.
2018-02-07 10:52:51 +03:00
Sergey Bogolepov
954dcc6583
Removed unnecessary flag
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
b5f6c2460d
Added used annotaions for functions that are used from JS
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
c57a12967b
Enabled global DCE for no-opt and debug modes
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
b2fe9ffab0
Rolled back changes to IrToBitcode
...
Rolled back changes to BinaryInterface
Rolled back changes to Context
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
c4bb89969b
Added commentary about wasm mem* functions
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
0406b0ff0b
Prevent Konan_js_main from internalization
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
e397c1d73e
Added opt and llc configs for wasm32
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
bb5dcc9111
Removed hacks
...
Just moving `-internalized` to the `opt` resolves the issue
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
8b351078e6
Added explanation
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
96afe7a274
Fixed opt output naming:
...
opted -> optimized
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
cff142a617
Review fixes
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
a3c7dc8919
Minor refactoring
2018-02-06 14:39:14 +03:00
Sergey Bogolepov
b8e31c2f6b
Fix wasm target
2018-02-06 14:39:14 +03:00
Vasily Levchenko
ba2d427a12
[kotlin compiler][update] 1.2-20180202.233511-207
...
kotlinScriptRuntimeVersion=1.2-20180202.233541-207
kotlinStdLibVersion=1.2-20180202.233544-207
kotlinReflectVersion=1.2-20180205.090650-208
kotlinStdLibJdk8Version=1.2-20180205.090723-208
kotlinGradlePluginVersion=1.2-20180205.090645-208
2018-02-05 18:25:06 +03:00
Vasily Levchenko
0236868012
[codegen][DI][inline] generation debug info for inlined functions. ( #1251 )
...
- We use DILexicalBlock and DILexicalBlockFile for generation debug info for kotlin inline (macro substituion by nature).
-- Note: DILexicalBlock aren't nested in opposite to inline function in C meaning.
- Changed DICompileUnit generation practise, now it generated for each file.
- added DI LLVM bindings.
2018-02-01 20:43:21 +03:00
Svyatoslav Scherbina
a818be1281
Disable composite build for calculator androidApp
...
to workaround a bug in Android Studio. Details:
https://github.com/JetBrains/kotlin-native/pull/1277#issuecomment-361924978
Include parser library sources directly to the project
2018-02-01 10:45:56 +03:00
Svyatoslav Scherbina
2fee8d329f
Refactor calculator samples build:
...
* Use Gradle composite build to reduce number of dependencies
(e.g. dependency of Kotlin/Native samples on Android SDK)
* Move parser lib to calculator/parser
* Enable Android app
* Update README.md
2018-02-01 10:45:56 +03:00
Svyatoslav Scherbina
d712abcda9
Handle unexpected name mismatch when checking for Objective-C override
2018-02-01 09:54:56 +03:00