SvyatoslavScherbina
7567c96bc9
Add basic support for multi-platform projects to the compiler ( #1254 )
...
Add compiler pass removing `expect` declarations
Thus support multi-platform projects in the compiler.
Also
* Add some trivial checks to ensure that `expect` declarations
are not generated to bitcode.
* Add minor improvement to exported symbol name clash detection.
* Don't create LLVM declarations for Obj-C-interop fake functions.
2018-01-25 12:55:06 +03:00
Nikolay Igotti
155618c7dd
Simple GC ergonomics.
2018-01-25 12:54:42 +03:00
Pavel Punegov
8e30a1c7cc
Fix dependency with useCustomDist extension
2018-01-24 17:52:22 +03:00
Ilya Matveev
d9a07c6b61
[readme] Improve gradle-plugin readme
...
* Describe framework and dynamic library building
* Describe setting custom targets for an artifact
2018-01-24 15:24:59 +07:00
Ilya Matveev
618c53956f
[gradle-plugin] Support headerFile property for dynamic libraries
2018-01-24 15:24:59 +07:00
Ilya Matveev
0224672c63
[build] Use Kotlin 1.2.20 for building
2018-01-23 19:00:34 +07:00
Igor Chevdar
e75a39fdd1
Fixed evaluation of lambda arguments of inline call + test
...
A lambda argument should be inlined only if it is declared as a functional type.
2018-01-22 19:07:36 +03:00
Igor Chevdar
295f71a29c
Fixed inline call arguments evaluation + test
2018-01-22 19:07:36 +03:00
Svyatoslav Scherbina
cf5e6dac80
Add JVM part for calculator sample
...
Simple CLI Kotlin/JVM application making use of Kotlin parser library.
Fix #1222
2018-01-22 11:01:22 +03:00
Svyatoslav Scherbina
60046abda0
Support debug for calculator sample
...
Generate debug information if 'Debug' configuration used
2018-01-19 19:45:33 +03:00
Svyatoslav Scherbina
4abca13b73
Fix .dSYM bundle location for produced frameworks
2018-01-19 19:45:33 +03:00
Svyatoslav Scherbina
90e6ab07c3
Disable binary stripping on mac targets on -produce framework/dynamic
...
Fixes debug in these cases.
2018-01-19 19:45:33 +03:00
Svyatoslav Scherbina
7106b0e760
Avoid using Kotlin/Native-specific clang arguments for other sources
2018-01-19 16:20:48 +03:00
Svyatoslav Scherbina
e171b99adb
Remove KonanProperties.defaultCompilerOpts
...
Use ClangManager instead
2018-01-19 16:20:48 +03:00
Alexander Gorshenev
f703877160
Introduced support for javascript Math and Kotlin Double to WASM32.
...
Implemented jsinterop tool for interaction with js math.
2018-01-19 13:46:53 +03:00
Ilya Matveev
1399ac9777
[gradle-plugin] Fix typo for framework building
2018-01-19 11:55:12 +07:00
Nikolay Igotti
1599eddfe1
Allow passing interop types to C API, refactoring.
2018-01-18 18:27:58 +03:00
Nikolay Igotti
76834dc7ce
Fix predicate check in sample.
2018-01-18 18:27:58 +03:00
Kyle Kauffman
7b97916656
Resolve name conflicts when present (dyn lib generation) ( #1204 )
2018-01-18 16:25:24 +03:00
Igor Chevdar
f218e2676e
Fixed bug in LocalDeclarationsLowering + test
...
Bug was in determining whether a function was locally defined
2018-01-18 15:33:47 +03:00
Igor Chevdar
b2098088ec
Fixed bug with type projection building + test
...
Bug could be seen on fake overridden functions calls
2018-01-18 12:50:32 +03:00
Nikolay Igotti
77f220f335
Support @CName annotation for reverse C interop, similar to @JvmName. ( #1237 )
2018-01-17 19:34:00 +03:00
Ilya Matveev
76bfb9322d
[build] Don't use full paths to specify platform lib dependencies
2018-01-17 16:58:44 +07:00
Ilya Matveev
9eb00ddb94
[build] Use gradle plugin in backend.native tests
2018-01-17 16:58:44 +07:00
Ilya Matveev
aed28a3e2d
[tests] Make tests using platform libs depending on distPlatformLibs
2018-01-17 16:58:44 +07:00
Ilya Matveev
dab46b4c4d
[gradle-plugin] Fix path to artifacts with prefixes
2018-01-17 16:58:44 +07:00
Ilya Matveev
525561eec3
[gradle-plugin] Add tests for custom targets and artifact paths
2018-01-17 16:58:44 +07:00
Ilya Matveev
32972af5bd
[build] Fix 'shared' jar copying
2018-01-17 16:58:44 +07:00
Ilya Matveev
815f887465
[build] Fix gradle plugin shadowJar building and uploading
2018-01-17 16:58:44 +07:00
Ilya Matveev
1f74f4dc6d
[build] Specify group and version in 'shared' project
2018-01-17 16:58:44 +07:00
Ilya Matveev
d919c0859b
[build] Rename installing tasks for platform libs
2018-01-17 16:58:44 +07:00
Ilya Matveev
2a1d0433ca
[ring] Fix performance report
2018-01-17 16:58:44 +07:00
Ilya Matveev
3b7d16c70e
[build] Create a root task for gradle-plugin uploading
2018-01-17 16:58:44 +07:00
Ilya Matveev
6d4b15867b
[gradle-plugin] Support different targets for different artifacts
2018-01-17 16:58:44 +07:00
Ilya Matveev
0fdca87a0b
[build] Move platform libs into a separate project
2018-01-17 16:58:44 +07:00
Ilya Matveev
f409287438
[build] Improve composite build
2018-01-17 16:58:44 +07:00
Ilya Matveev
ffad72835e
[build] Use kotlin-gradle plugin in platform libs build
2018-01-17 16:58:44 +07:00
Ilya Matveev
a2b6c71f73
[build] Move shared and gradle-plugin into separate gradle builds
...
Platform libs build will be changed by a separate commit
2018-01-17 16:58:44 +07:00
Nikolay Igotti
0f85696ffb
Global state demo. ( #1236 )
2018-01-16 18:31:50 +03:00
Julius Kunze
0c3d5c52fc
Add Torch example ( #1209 )
2018-01-16 14:49:47 +03:00
Svyatoslav Scherbina
45cd41ce81
Replace some libstdc++ functions by simpler implementations
...
This helps to avoid linking large libstdc++ parts,
thus reducing the binary size.
2018-01-16 14:43:10 +03:00
Nikolay Igotti
1aa2e26344
Fix enum entries processing in C reverse interop. ( #1232 )
2018-01-15 20:16:30 +03:00
Vasily Levchenko
865ae7c9d6
[kotlin compiler][update] 1.2-20180115.060358-133
...
kotlinScriptRuntimeVersion=1.2-20180115.060416-133
kotlinStdLibVersion=1.2-20180115.060420-133
kotlinReflectVersion=1.2-20180115.060411-133
kotlinStdLibJdk8Version=1.2-20180115.060426-133
kotlinGradlePluginVersion=1.2-20180115.060407-133
2018-01-15 15:06:15 +03:00
Vasily Levchenko
56d1881f18
[codegen][debug info] debug info generation do not touch llvm builder in the most cases.
2018-01-12 23:39:58 +03:00
Alexander Gorshenev
e64c2f5990
Further refactored external utility execution.
2018-01-12 18:17:46 +03:00
SvyatoslavScherbina
4daaf9c99f
Improve calculator sample compatibility with submission to AppStore ( #1227 )
...
* Change bundle name and display name to prevent clash with standard
iOS calculator application
* Remove unsupported architectures from the bundle (armv7*)
2018-01-12 14:30:18 +03:00
Matt Chowning
174adfe1f5
Fix minor typo ( #1226 )
2018-01-12 14:29:22 +03:00
Stefan M
56d9ab066a
Add information how to create a jar from the calculator sample ( #1210 )
2018-01-11 19:05:46 +03:00
Svyatoslav Scherbina
e1b507f998
Fix fixed NSString* parameters in variadic functions
2018-01-11 12:28:40 +03:00
Vasily Levchenko
c7a126a6b0
[kotlin compiler][update] 1.2-20180108.142832-109
...
kotlinScriptRuntimeVersion=1.2-20180108.142855-109
kotlinStdLibVersion=1.2-20180108.142900-109
kotlinReflectVersion=1.2-20180108.142850-109
kotlinStdLibJdk8Version=1.2-20180108.142908-109
kotlinGradlePluginVersion=1.2-20180108.142845-109
2018-01-11 09:48:49 +03:00