aboutsummaryrefslogtreecommitdiff
path: root/tecparse.c
AgeCommit message (Collapse)AuthorFilesLines
2025-05-03various data type improvementsRobin Haberkorn1-6/+6
* fixes at least <FS>, which has been broken since b5325e00c402ec18034da4b4a4aaaefa87bb1fef. * but probably many other commands as well in the DOS version when working with "very large" documents * now compiles cleanly with -Wsign-compare
2025-04-26unsigned long is the base type for buffer positions nowRobin Haberkorn1-15/+15
* This allows handling files >64kb even on 16-bit DOS. * A few flags fields could be squashed into bitfields. * The buffer overview (0EB) has been adapted for DOS. We can only show the total amount of allocated memory (as by tecmem.c) for the time being. Unfortunately, we don't have a total amount of available memory since _memavl() is for small data models and the sbrk() apparently doesn't grow.
2025-04-23DOS: Enter inserts LFRobin Haberkorn1-1/+1
Linefeeds are normalized to LF in the buffer.
2025-04-23MS-DOS real-mode (8086) portRobin Haberkorn1-2/+15
It can be cross-compiled or compiled natively on 32-bit DOS with OpenWatcom C v1.9. Compiling on an 8086 might be possible later on - but we would have to add support for some ancient ANSI C compiler.
2025-04-21properly initialize all allocated structuresRobin Haberkorn1-14/+1
* Fixes access to uninitialized field in cmd_token, as found via Valgrind. * Possibly other structures also aren't fully initialized, so I memset() them as well.
2011-07-15fixed pointer formatting on systems where sizeof(int) != sizeof(void*)Robin Haberkorn1-20/+18
this avoids most of the remaining compiler warnings
2011-07-15converted file header and some variable/macro docs to Doxygen formatRobin Haberkorn1-4/+6
* adapted Doxygen config file
2011-07-15revised function's code documentation: every comment has been autoconverted ↵Robin Haberkorn1-127/+106
to Doxygen format and cleaned up manually
2011-07-11avoid unused attribute warningRobin Haberkorn1-1/+1
2007-12-26Fixed a bunch of the prototypes to allow compilation with the C++ compiler.v6.4paulcantrell1-54/+28
2007-12-10Original checkin with the GPL license.paulcantrell1-16/+17
2007-12-10Initial revisionpaulcantrell1-0/+2178