Age | Commit message (Collapse) | Author |
|
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.
|
|
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.
|
|
- 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
|
|
|
|
- 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).
|
|
|
|
|