This is a rather invasive change that introduces correct line folding to our iCal parser. From now on, ical_readline() should be used instead of fgets() to read lines from an iCal file as it unfolds lines automatically. We also need to use shared buffers as each ical_readline() invocation eats up the first part of the next line and stores it in the "lstore" buffer. Subsequent ical_readline() invocations copy the contents of this buffer and append continuation lines. We currently use a single buffer pair that is allocated in io_import_data() and pass it to all subroutines. ical_readline_init() needs to be called once for every buffer pair. It reads the first part of the current line and writes to "lstore", clearing the target buffer at the same time. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
calcurse ======== Read `INSTALL` for instructions on how to build and install calcurse. Check `TODO` for things that still need to be done. Browse the file `doc/manual.html` (or its source `doc/manual.txt`) for narrative descriptions on how to use calcurse. Package Overview ---------------- You should be reading this file in a directory called: `calcurse-x.x`, where `x.x` is the current version number. There should be two subdirectories : `src` and `doc`. Detailed documentation in HTML format can be found in the `doc` directory. Calcurse sources can be found in the `src` directory. Authors ------- * Frederic Culot (Founder, Lead Developer) * Lukas Fleischer (Developer) Contributors ------------ * RegEx support: Erik Saule * German translation: Michael Schulz, Chris M., Benjamin Moeller * Spanish translation: Jose Lopez * Dutch translation: Jeremy Roon * French translation: Erik Saule * Russian translation: Aleksey Mechonoshin Also check the `Thanks` section in the manual for a list of people who have contributed by reporting bugs, sending fixes, or suggesting improvements.
Description
Languages
C
65.7%
Shell
29.6%
Python
3.4%
M4
0.8%
Makefile
0.5%