libtifiles: fix wrong loop exit condition in tifiles_ve_delete_array(), noticed while making the hpfiles part of libhpcalcs.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libtifiles: fix memory corruption with large FlashApps. Reported by fortytwo and fb39ca4, patch by fortytwo (modified the comment).

Signed-off-by: "fortytwopar" <paul.emge@gmail.com>
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libticonv, libtifiles, libticables (but not libticalcs, whose API exposes GNode directly): in order to prevent implicit overlinking, use more Requires.private in pkgconfig definitions, instead of Requires. Patch mainly by Tijl Coosemans.

Note that for correct operation, real-world clients of libti* will still be using glib-2.0 functions anyway - but usually not libarchive functions.

Signed-off-by: Tijl Coosemans <tijl@coosemans.org>
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libticonv, libtifiles, libticables, libticalcs: remove auto-generated configure & Makefile.in from the repository.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libticalcs: add two commands for sending and reading generic data in NavNet format from a Nspire, similar to TI's TI_NN_Write and TI_NN_Read; reimplement echo commands using the new commands; add the new functions to torture test.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libticonv, libtifiles, libticables, libticalcs: in torture tests, print local traces to stderr instead of stdout. This restores `make check` output with recent autotools versions.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libticalcs: harden and export cmd73, cmd80 and cmd89 functions; expand torture test.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libticalcs: add support for several DBUS commands for the 83+ family: sending EKE, DKE, ELD, DLD, GID, RID and SID, and receiving SID. Use them in test_ticalcs_2, add them to torture test.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libtifiles: fix buffer overflow spotted by AddressSanitizer.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libticalcs: in test_ticalcs_2, make sure not to read past the bounds of the array of function pointers.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libticonv: in ti9x_charset, add a number of comments about Unicode characters which render better than the current choices. Discussed with Excale.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
libticonv: apply downstream Debian patches for AArch64/Linux and GNU/Hurd compatibility from Albert Huang <alberth.debian@gmail.com> and Adam Conrad <adconrad@ubuntu.com>.

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>