Lukas Fleischer 8aba3be1e8 src/config.c: Revamp configuration file parsing
Reintroduce a map for configuration variable parsing. We use a different
approach this time: Each map entry contains

* a key,
* a callback that can be used to parse that variable,
* a callback that can be used to serialize that variable and
* a target buffer that the parsed value is written to/read from.

Commits 4f4891bdb88410ae04225f3d6acfa31d73a3901a and
6377582841118688aee13aff98c9216403582e45 show that we are pretty
undecided on using a map or not. However, now that we use parser and
serialization wrappers for every variable, having a central map makes
everything much cleaner. The runtimes of config_load() and config_save()
are slightly increased (by a constant factor). This will also allow us
for implementing proper detection of missing configuration variables in
the configuration file.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2012-02-17 10:06:49 +01:00
2011-09-06 14:37:56 +02:00
2012-01-21 23:06:32 +01:00
2011-03-03 12:21:16 +01:00
2012-01-21 23:06:32 +01:00
2011-03-03 12:21:16 +01:00
2012-01-21 23:06:32 +01:00
2011-09-06 14:55:30 +02:00
2011-05-24 11:25:13 +02:00

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
No description provided
Readme 5.2 MiB
Languages
C 65.7%
Shell 29.6%
Python 3.4%
M4 0.8%
Makefile 0.5%