Lukas Fleischer f2dca7de3e calcurse.c: Refactor the main loop
Break up the big switch statement into several functions. The functions
are declared inline to avoid unnecessary function calls.

Also:

* Add a "KEY_HANDLER" macro can be used as a short version of a "case"
  statement, followed by a function call.

* Declare several state variables global to avoid having to pass them to
  each of the new handlers.

* Pass the pressed key to each of the handler functions in order not to
  break handlers that handled more than one key before the handlers were
  pulled out.

These three changes were introduced to keep this patch as atomic as
possible and are intended to be removed in following patches.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2012-11-18 22:48:20 +01:00
2012-11-18 22:48:20 +01:00
2012-06-30 14:34:37 +02:00
2012-01-21 23:06:32 +01:00
2011-03-03 12:21:16 +01:00
2012-11-18 20:00:34 +01:00
2012-03-26 14:38:16 +02:00
2011-03-03 12:21:16 +01:00
2012-06-30 13:27:33 +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
detailed descriptions on how to use calcurse.

Package Overview
----------------

You should be reading this file in a directory called: `calcurse-x.y.z`, where
`x.y.z` is the current version number.

There should be four subdirectories:

* `src`: contains calcurse sources
* `test`: contains a test suite and test cases for calcurse
* `scripts`: contains additional scripts, such as `calcurse-upgrade`
* `doc`: contains detailed documentation in plain text and HTML

Authors
-------

* Frederic Culot (Founder)
* Lukas Fleischer (Developer)

Contributors
------------

* RegEx support: Erik Saule
* Dutch translation: Jeremy Roon, 2007-2010
* French translation: Frédéric Culot, 2006-2010
* French translation: Toucouch, 2007
* French translation: Erik Saule, 2011-2012
* French translation: Stéphane Aulery, 2012
* French translation: Baptiste Jonglez, 2012
* German translation: Michael Schulz, 2006-2010
* German translation: Chris M., 2006
* German translation: Benjamin Moeller, 2010
* German translation: Lukas Fleischer, 2011-2012
* Portuguese (Brazil) translation: Rafael Ferreira, 2012
* Russian translation: Aleksey Mechonoshin, 2011-2012
* Spanish translation: Jose Lopez, 2006-2010

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%