Lukas Fleischer f3858d899c src/args.c: Revise app_arg()
This kills the hackish code we used to filter and display appointments
and events in non-interactive mode. From now on, the same algorithm that
is used in interactive mode (read day_store_items() for details) is
called, resulting in code that is much easier to maintain.

The resulting performance loss is rather small. Here are the run times
of `calcurse -s01/01/1902 -r18250 -D ../test/data >/dev/null` before and
after the patch was applied:

    0.30user 0.26system 0:01.22elapsed 46%CPU (0avgtext+0avgdata 1340maxresident)k
    0inputs+0outputs (0major+398minor)pagefaults 0swaps

    0.33user 0.21system 0:01.18elapsed 46%CPU (0avgtext+0avgdata 1360maxresident)k
    0inputs+0outputs (0major+395minor)pagefaults 0swaps

Note that this also fixes a few bugs that were encountered in
non-interactive mode, most notably BUG#2.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2012-06-30 14:34:34 +02:00
2012-06-30 13:27:33 +02:00
2012-06-30 14:34:34 +02:00
2012-01-21 23:06:32 +01:00
2011-03-03 12:21:16 +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
2012-03-30 10:22:36 +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
* 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%