* Publish Code
* Fixed YueScript build.
* Disabled macro feature which crashes runtime.
* Update YueScript submodule
* Try to fix the "function TIC()..." isn't found bug, no luck so far...
* Fix Demo and Mark
* Format yue.cpp
* Make it work in C99, let's hope this compiles in Win XP et cetera
* Fix Compilation Issues
* Try fixing rpi-baremetal(4) and nintendo-3ds builds
* Try fixing linking
* Reenable Exceptions
* Override YueParser
* Try forcing newer glibc?
* Debugging Build Step
* Update YueScript version
* Simplify build
* Add yue.cpp
* Whoops
* Update YueScript
* Update circle.patch to try to fix the build error
* Try removing -lstdc++fs
* Modify Patch
* Revert Update circle.patch
* ???
* Forgot to git Apply
* Accidentally put it in macOS instead of N3DS
* Remove platform specific configurations for now
* Remove thread_local for N3DS Build
* Use a more reliable way to disable thread_local on N3DS
* Forgot to pass in initial-exec
* Remove build/yuescript-makefile-remove-stdc++fs.patch
* Include libyuescript in the baremetal Makefile
---------
Co-authored-by: Li Jin <dragon-fly@qq.com>
* Includes the msf_gif.h in the project instead of using the full repo (saves 711 MiB of disk space)
* fix macos build
CMake Error at vendor/zip/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
-- Configuring incomplete, errors occurred!
Update the VERSION argument <min> value. Or, use the <min>...<max>
syntax
to tell CMake that the project requires at least <min> but has been
updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
* Register submodule for mruby
* Link binaries against static mruby
* Adapt old mrb_api.c code to current internal API-s
* Create Ruby demos
* Mention Ruby support in README.md
* Mention Ruby in features
* Attribution
* Fix broken demos
* Add mruby WASM target
* Fix compatibility with old CMake versions
* Fix support for languages with single-char comment
Current behavior assumes that comments comprise
exactly two characters, such as "--" or "//".
Many languages, such as Ruby and Python, use
a single character, such as the pound sign
or the ASCII quotation mark to signal
a single-line comment.
* Fix segfault when opening outline
* Actions: Install Ruby where not present
* Honor Windows MRuby static exts
* Build mruby with /MT on Windows
* Force mruby to use .a suffix for static libraries
Github Actions seems to also prefer the UNIX-native
prefix on Windows CMake
* Do not build redundant mrbgems
Created a gembox containing only
useful gems
* Infer mruby CFLAGS from CMake
* Pass CMake flags to MRuby cross target
* Revert "Pass CMake flags to MRuby cross target"
This reverts commit 1a8bf8330e.
It turns out that wrapping CMake's poor cross build support
was not a good idea after all.
* Refactor mruby build configuration sets
* mruby toolchain switching from CMake
* Guess CMAKE_COMMAND on Windows OS
* [mruby] Delegate ENV passing to rake invocation
CMake's env helper is broken on Windows OS :/
* Enforce certain mruby toolchains from CMake side
* Simplify mruby build system
* Genericize cross compilation
* Clean mruby build artifacts with make/ninja clean
* Force mruby bootstrap to use MSVC where applicable
* Fix naming in demos.c
* Fix incorrect mruby x-compilation logic
* Use TARGET_CC as the ultimate linker in mruby builds
Some toolchains seem to work better this way.
* Explicitly use mruby clang toolchain on macOS
* Set --sysroot in mruby for macOS Clang
* Do not depend on YACC
https://github.com/nesbox/TIC-80/pull/1726#issuecomment-989728667:
> mruby can be built without yacc(or GNU Bison) after mruby 2.1.2+( https://mruby.org/releases/2020/08/06/mruby-2.1.2-released.html).
* Set ImageOS in Actions runner Dockerfiles
This allows Ruby to be installed on those
non-standard images.
* Revert "Set ImageOS in Actions runner Dockerfiles"
This reverts commit 0ea4ecaf83.
* Manually install Ruby in cross Actions containers
* mruby Android toolchain
* Additional params for mruby android toolchain
* Don't build redundant mrbgems
* Whitelist mrbgem "stdlib-io" anyway
* Don't fortify sources on Android
* Disable source fortification project-wide on Android
* Also disable fortify at link time on Android
* Android build fixes
* Fix building on Raspberry Pi
* Fix missing variable prefix in Android CMake
* Rename: mrb.c -> mruby.c
* Adapt mruby.c code to master
* Fix silly misplacement of definition in CMakeLists
* Use CMake-native target version inference
ref. https://cmake.org/cmake/help/latest/variable/CMAKE_ANDROID_API.html
* Do not link mruby against winsock on WinNT
* Add mruby target to stub export action
* Revert "Use CMake-native target version inference"
This reverts commit 6164e0b052.
* Explicitly set ANDROID_API from gradle
* Move: /mruby/ -> /build/mruby/
More consistent with the rest of the project tree
* baremetalpi: Link against libmruby
* Prepare standalone NDK toolchains in Actions
* Link sysroot in standalone NDK
* Patch mruby with modern NDK support
* Actions: Provision Git to allow "am" patching
* Revert "Actions: Provision Git to allow "am" patching"
This reverts commit 375ca376f2.
* Patch mruby during the configuration step
* Github Actions: Recreate standalone NDK toolchains
* Fix mruby build on Android
* Update build instructions
By adding the 3rd-party repository as a submodule, we ensure users have all the 3rd-party required to build TIC-80.
Also, if the 3rd party repository is updated, we will only need a single commit at TIC-80 repository to point to the newer head.