Commit Graph

254 Commits

Author SHA1 Message Date
Vasily Levchenko 79945383c6 [samples][curl] split libcurl application on libcurl interop library and curl application 2018-04-06 11:45:57 +03:00
Nikolay Igotti ddcbe68a5b Implement scope-local C pointer. (#1471) 2018-04-05 19:30:10 +03:00
Ilya Matveev 1b42eb1d13 [samples/calculator] Fix android command line build 2018-04-05 19:33:03 +07:00
Ilya Matveev 22e0827016 [samples] Disable gradle daemon for the uikit sample
See https://github.com/gradle/gradle/issues/3468
2018-04-04 12:31:26 +07:00
Ilya Matveev 2f8718139d [samples] Remove the calculator sample from the root building task 2018-04-04 12:31:26 +07:00
Ilya Matveev 9dfcd4b1b1 [samples] Detach the calculator gradle build from other samples 2018-04-04 12:31:26 +07:00
Ilya Matveev 17cb5bac8b [samples] Update README.md for calculator 2018-04-04 12:31:26 +07:00
Ilya Matveev fc52f14965 [samples] Update calculator sample structure 2018-04-04 12:31:26 +07:00
Ilya Matveev 195151e51f [samples] Remove maven central repo in calculator 2018-04-04 12:31:26 +07:00
Ilya Matveev 1953069b1c [samples] Use MPP in the android calculator app 2018-04-04 12:31:26 +07:00
Ilya Matveev 7f4455537d [samples] Move arithmetic parser common code into a separate project 2018-04-04 12:31:26 +07:00
Ilya Matveev d894d6af8c [samples] Explicitly specify gradle plugin version 2018-03-26 10:24:29 +03:00
Vyacheslav Karpukhin 27ca482dab Better Xcode projects for calculator and uikit samples (#1404) 2018-03-14 16:22:07 +03:00
Ilya Matveev 489b1a5708 [gradle-plugin] Run tools with -Xmx3G by default 2018-03-13 17:05:36 +03:00
Nikolay Igotti 2812480af9 Documentation fixes. (#1377) 2018-03-02 14:15:53 +03:00
Mike Sinkovsky 8d7d0907fc zephyr: win32 host 2018-03-01 17:03:53 +03:00
Alexander Gorshenev d285a45159 Got rid of empty.c and empty program.o manipulations. 2018-02-27 15:16:37 +03:00
Alexander Gorshenev feaf220f5b Adapted to cinterop now capable of #define foo "bar". 2018-02-27 15:16:37 +03:00
Alexander Gorshenev 0de9b3a9b6 We now have a Kotlin program to blink a LED on stm32f4_disco. 2018-02-27 15:16:37 +03:00
Ilya Matveev e879fcec75 [samples] Fix android sample in bundle 2018-02-12 19:02:33 +03:00
Sergey Bogolepov 0ce85df549 Minor fixes for samples
Added homebrew paths for videoplayer sample
Fixed android sample
chmod +x calculator/androidApp/gradlew
Removed obsolete stubGenerator for html5canvas
2018-02-12 19:02:33 +03:00
Alexander Gorshenev d047f72a2e Ask user to specify zephyr base. 2018-02-12 18:55:22 +03:00
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
ilmat192 f31dfa94a9 [samples] Build globalState sample in pre-commit test runs (#1291) 2018-02-08 21:00:15 +03:00
Nikolay Igotti 8c72f0a629 Support globalState example on Windows. (#1289) 2018-02-07 17:36:04 +03:00
Nikolay Igotti f9a4e23522 Fix Python sample. 2018-02-07 11:32:49 +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
Stefan M e1ffc87101 Add simple Android app to calculator (#1253) 2018-01-31 14:46:28 +03:00
Nikolay Igotti 19cc8c6bee API for object passing between platform threads. (#1270) 2018-01-30 13:19:56 +03:00
Ilya Matveev 23be291e1d [samples] Fix building all samples 2018-01-30 16:41:31 +07:00
Ilya Matveev 98c1ef4b5e [build] Use Gradle 4.5 2018-01-30 16:41:31 +07:00
Clifton df41389ef7 Minor bugfix to correct error handling. (#1260) 2018-01-26 09:20:23 +03:00
Alvaro Miranda Aguilera af9c749035 put val definition inside if block 2018-01-25 16:25:40 +03:00
Alvaro Miranda Aguilera c170e261a7 add explicit import for platform.posix.size_t
on linux without this fails to import

per slack question on #kotlin-native due multiple size_t available
2018-01-25 16:25:40 +03:00
Alvaro Miranda Aguilera 0b9f5beed8 sample/libcurl: add body and writ_data function/callbacks 2018-01-25 16:25:40 +03:00
Alvaro Miranda Aguilera 532461647a sample/libcurl: add nobody method 2018-01-25 16:25:40 +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
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
Nikolay Igotti 76834dc7ce Fix predicate check in sample. 2018-01-18 18:27:58 +03:00
Ilya Matveev 1f74f4dc6d [build] Specify group and version in 'shared' project 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
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