● Added some more package metadata.
● Defer getting the list of boxes types until needed to avoid errors in the middle of loading a user's config, which
can be inconvenient and lead to a partially setup Emacs.
● Updated metadata for packaging.
● Updated usage instructions, as these are shown by the package manager.
● Changed the documentation for 'boxes-command-on-region' to comply with elisp style guidelines / suppress compiler warning.
● Customisation option 'boxes-known-modes' was being incorrectly added to the internal Emacs 'Customize' meta-group.
● Fixed by creating a new 'Boxes' group for use by this package. Note that backwards compatibility is preserved for
those who have already customised this option.
● Added type declaration for 'boxes-known-modes', which as well as fixing a compiler warning, enables completion and
type-checking on user-entered values.
● Put the other user-settable variables as customisation options in the new 'Boxes' group.
● Fixed a bunch of compiler warnings.
● Removed / modified obsolete or unnecessary code (like requiring the deprecated package 'cl' etc).
By default Clang16 will not allow implicit function declarations, which
would let this build fail with it.
Fix#106
Signed-off-by: Pascal Jaeger <pascal.jaeger@leimstift.de>
The `u32_move` will try to read `input.lines[j].num_chars - c + 1` `u32`
octets from `input.lines[j].mbtext + input.lines[j].posmap[c]`. That
means, it needs access memory at address
`input.lines[j].mbtext + input.lines[j].posmap[c] + input.lines[j].num_chars - c`
while the max range is `input.lines[j].mbtext + input.lines[j].num_chars`,
which is out-of-bound because `input.lines[j].posmap[c] > c` obviously.
Fix#103
One can now run "make static" to get a binary that is statically linked
to libunistring and pcre2. Both libraries are downloaded first,
so they don't need to be available on the machine.