summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-11Add screenshot of web UI to README.md, add back download button, misc.untir_l
Added assert(0) to the end of main() in hitomezashi_web.c indicating that it is unreachable.
2022-06-11Web: clean up code, fix memory leakuntir_l
2022-06-11Web: canvas now updates on the fly based on inputuntir_l
Also some other minor changes to thw web README.md and the Makefile, and making some stuff const where they weren't throughout the lib/ tree as well.
2022-03-02Web: add comment to explain rationale behind a technical decisionuntir_l
2022-02-28Web: add button to download the canvas data as an imageuntir_l
2022-02-27CLI: improve help textuntir_l
2022-02-27CLI: fix missing newlines in helpuntir_l
2022-02-27Add support for choosing foreground and background coloursuntir_l
2022-02-25Fix markup in web appuntir_l
2022-02-25Tell Emscripten not to minify the HTML shell file since it causes errorsuntir_l
For some reason Emscripten's HTML minification step introduces errors into the markup, which is very sloppy. Examples are missing the space in the doctype declaration and messing with meta tags in some ways. Since our HTML shell file is tiny we will just not bother minifying it. If it was large we would want to introduce a separate and better minification step.
2022-02-25Add meta viewport to web app, improve clarity in READMEuntir_l
2022-02-25Add instructions for running the web appuntir_l
2022-02-25Add web app frontend, restructure almost everythinguntir_l
- Add web app frontend code - Add .html, .js, .wasm to .gitignore - Restructure Makefile to work with emmake, add build targets for web app, add .html, .js, .wasm to make clean - Explain the pattern in the README - Add explanation of web frontend to README - Restructure README generally for better clarity - Remove "make web app version" from todos in README - Set Doxygen to EXTRACT_ALL so trivial and useless doc comments are not needed when the naming suffices to be explanatory. - Move ascii_binary_str_to_ints to library code in new file hitomezashi_utils.c (and corresponding header) as web app also needs it. - Fix SDL2 include path so it also works with Emscripten - Remove some cluttering and unnecessary doc comments - Improve some doc comments
2022-02-25Improve docs, don't initialise SDL until arguments are already handleduntir_l
2022-02-25Reorganise CLI and lib into separate dirs, add doc comments for Doxygenuntir_l
2022-02-25Change argument parsing to use optparse, fix bugs in it, misc. changesuntir_l
- Change argument parsing library from xgetopt to optparse (pretty close to a drop-in replacement). - Fix bugs in the argument parsing. There were several. - Remove an extraneous printf added for debugging purposes. - Add more bounds checks for numeric arguments to avoid passing garbage to the library code and hitting assertions when the input is bad. - Change the clang-format invocation in the Makefile to have --verbose. - Change -Wpedantic to --pedantic-errors in CFLAGS, add -Wno-unused-function so it doesn't complain about the ones from optparse (such are the perils of single-header libraries).
2022-02-25Update README.md wordinguntir_l
2022-02-25Add clang-format invocation to Makefileuntir_l
2022-02-25Add todo to README.mduntir_l
2022-02-25Use clang-formatuntir_l
2022-02-25Add sample image and embed it in READMEuntir_l
2022-02-18Add license and copyright noticeuntir_l
2022-02-18Initial commituntir_l