Commit Graph

28 Commits

Author SHA1 Message Date
Nikolay Igotti 0cbd34086e Added JB copyright (#417) 2017-03-30 09:51:58 +03:00
Nikolay Igotti b6e488b210 Remove early maps problems (#408) 2017-03-29 12:10:52 +03:00
Nikolay Igotti 2d51a7bab7 Very minor doc updates 2017-03-28 22:22:14 +03:00
SvyatoslavScherbina c1d9dc1cbb Replace CArray by CPointer (#406)
Also do some cleanup.
2017-03-28 17:44:08 +03:00
Svyatoslav Scherbina 6eb0ceb572 fixup! Implement interop integer conversions to be used with type inference 2017-03-28 12:23:23 +03:00
Nikolay Igotti 8467fabf4d Small doc updates 2017-03-27 19:38:20 +03:00
Nikolay Igotti a6656a0cba Improve samples (#396) 2017-03-27 18:16:06 +03:00
Alexander Gorshenev 334d2f0ee6 Remote test execution for cross compiled tests. Run it like:
$ ./gradlew backend.native:tests:run \
    -Premote=user@111.22.33.444 -Ptest_target=raspberrypi

The new gradle command line options:

    -Pbuild_flags  renamed -Pkonanc_flags.
    -Ptest_flags   provides compiler flags to the test builds.
    -Ptest_target  properly sets up compiler as well as interop
                   to cross compile tests.
    -Premote       specifies remote host and login.
2017-03-27 15:14:57 +03:00
Nikolay Igotti 826b3fc3f2 Missing sample files 2017-03-27 14:36:12 +03:00
igotti-google 4323065db5 Better Tetris build docs 2017-03-27 11:02:17 +03:00
Nikolay Igotti af3b74451d Misc tweaks (#387) 2017-03-25 11:35:56 +03:00
Nikolay Igotti c55d0cd674 Simple CSV parser (#383) 2017-03-23 17:15:39 +03:00
Nikolay Igotti b5c60e3082 Support data parsing operations (#380) 2017-03-23 12:54:24 +03:00
Nikolay Igotti e197573e3e Raspberry Pi target (#365) 2017-03-22 15:43:19 +03:00
Igor Chevdar e133e3379b Added COMPILER_OPTS to build script
Option -nomain is needed only for iphone target.
2017-03-22 12:43:22 +03:00
Igor Chevdar e170edac17 Added option to build script for tetris 2017-03-21 17:24:55 +03:00
Svyatoslav Scherbina b5441f7470 Exclude _cvtsh_ss when interoping with SDL2
This function requires some target features to be enabled.
2017-03-21 20:33:03 +07:00
Igor Chevdar 1be913de63 Review fixes 2017-03-21 14:04:30 +03:00
Igor Chevdar 02878f14c0 Fixes in build scripts & tools.
Tetris: fixes for full screen mode.
2017-03-21 14:04:30 +03:00
Igor Chevdar c8493eb2a9 Added panel to control tetris with mouse 2017-03-21 14:04:30 +03:00
Svyatoslav Scherbina c9d8d4d57d Implement CValuesRef in interop
* Represent pointer parameters of C functions as `CValuesRef`.
* Represent struct value parameters as `CValue`.
* Implement some helper methods to make the new approach more useful.
* Migrate some code to new interop approach for pointers and values.

Also do not map to `String?`:
- pointers to 8-bit integers;
- pointers to non-const chars.
2017-03-20 15:52:23 +07:00
Nikolay Igotti 7a876a3ccd Provide entry point customization (#352) 2017-03-17 17:40:24 +03:00
Nikolay Igotti 1e5d34bc85 Provide nicer Tetris build env (#350) 2017-03-16 11:58:04 +03:00
Igor Chevdar 151bb6793d Review fix 2017-03-15 18:53:06 +03:00
Igor Chevdar 9e8897fdb3 Added reaction to closing the window 2017-03-15 18:53:06 +03:00
Igor Chevdar 97f7a55111 Refactoring 2017-03-15 18:53:06 +03:00
Igor Chevdar 3cf844d589 Simplified user input handling 2017-03-15 18:53:05 +03:00
Igor Chevdar d21d444f58 Hack for flags enums.
refactoring

Made non-virtual function.

Refactoring

Rebase fixes

Revert "Made non-virtual function."

This reverts commit d7bfaa5bd970864f57daf18e46741ca72c5d4fe4.

Reverted hack
2017-03-15 18:52:51 +03:00