summaryrefslogtreecommitdiffstats
path: root/src/io.c
Commit message (Collapse)AuthorAgeFilesLines
* Use generic lists for todo items.Lukas Fleischer2011-04-191-14/+17
| | | | | | | Use the new generic list implementation instead of "next" pointers in todo items. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Use generic lists for events.Lukas Fleischer2011-04-191-10/+16
| | | | | | | Use the new generic list implementation instead of those insane "next" pointers in events. Includes some cleanups. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Use generic lists for appointments.Lukas Fleischer2011-04-191-18/+25
| | | | | | | Use the new generic list implementation instead of "apoint_list" everywhere. Simplify stuff and drop unused variables as well. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Fix io_file_is_empty() behaviour when file starts with a newline.Lukas Fleischer2011-04-121-1/+1
| | | | | | | Read second byte if the first byte is a newline character to ensure the file doesn't contain any further data. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Drop empty notes after editing.Lukas Fleischer2011-04-121-0/+25
| | | | | | | | | Keeping empty notes doesn't make sense here. Also, there doesn't seem to be a simple way to erase notes yet. This will make calcurse delete any notes that are empty (meaning that they are either 0-byte files or contain nothing but a newline character) when returning from the editor. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Compare pointers to "NULL" instead of "0".Lukas Fleischer2011-04-051-25/+25
| | | | | | "bad_zero.cocci" spatch from http://coccinelle.lip6.fr/impact_linux.php. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* ignore the lock file if the pointed process is dead.Erik Saule2011-03-291-8/+24
| | | | | | Lukas: Small formatting and logic changes. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Overall indentation fixes.Lukas Fleischer2011-03-141-274/+274
| | | | | | | Use spaces instead of tabs for source code indentation only, strip trailing whitespaces from lines. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Update website links to match the new URL.Lukas Fleischer2011-03-041-1/+1
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Update mail addresses to match the new mailing lists.Lukas Fleischer2011-03-041-1/+1
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Simplify str_toupper() in "utils.c".Lukas Fleischer2011-03-041-22/+21
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Remove CVS "$Id" headers.Lukas Fleischer2011-03-031-2/+0
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Fixed file permissions.Lukas Fleischer2011-03-031-0/+0
|
* Avoid concurrent screen refreshes.Frederic Culot2010-03-211-6/+6
|
* More work on sidebar customization.Frederic Culot2010-03-211-1/+6
|
* All headers gathered into a single one. Typedefs suppressed.Frederic Culot2010-03-201-93/+78
|
* Check for data directory availability added (thanks Brandon for reporting ↵Frederic Culot2009-11-011-6/+9
| | | | this bug).
* Code to save the calendar default view in the configuration file.Frederic Culot2009-10-281-1/+5
|
* Memory leak fixed in ical_read_note.Frederic Culot2009-08-091-1/+2
|
* Save and restore daemon configuration options.Frederic Culot2009-08-011-2/+13
|
* bugfixesFrederic Culot2009-07-291-5/+6
|
* io_file_exist(): new functionFrederic Culot2009-07-271-5/+21
|
* --status flag addedFrederic Culot2009-07-261-1/+26
|
* More work on implementing calcurse daemon.Frederic Culot2009-07-261-17/+30
|
* Incorrect duration format when exporting to ical (thanks Chris for reporting ↵Frederic Culot2009-07-231-3/+3
| | | | it).
* Functions added to implement a logging mechanism for calcurse daemon.Frederic Culot2009-07-231-2/+32
|
* Make use of erase_note() whenever possible.Frederic Culot2009-07-191-15/+19
|
* Fixed a bug related to memory management (a free on a null pointer causes an ↵Frederic Culot2009-07-151-3/+5
| | | | abort now, which induces side effects on file import).
* New wrappers around memory functions.Frederic Culot2009-07-121-2/+2
|
* stdbool header removed, unsigned type used insteadFrederic Culot2009-07-121-2/+2
|
* Switch to BSD license.Frederic Culot2009-07-051-14/+26
|
* Support for ical import of events which spans over several days added ↵Frederic Culot2009-07-051-6/+25
| | | | (thanks Andreas for reporting the bug).
* Simplified the way data are loaded and saved.Frederic Culot2009-06-281-177/+200
|
* Do not export completed tasks.Frederic Culot2009-06-271-1/+7
|
* bugfix: missing 'T' letter in ical export DURATION field (thanks cuz for ↵Frederic Culot2009-06-231-3/+3
| | | | reporting it)
* Exit directly to avoid lock removal by another instanceFrederic Culot2009-06-211-2/+2
|
* Basic lock mechanism implemented to avoid having two calcurse instances ↵Frederic Culot2009-06-211-3/+50
| | | | running at the same time.
* Fixes gcc 'format-scurity' issue (thanks Francois Boulogne for reporting this)Frederic Culot2009-06-011-8/+9
|
* bugfix: load keys even in non-interactive mode to avoid the loss of ↵Frederic Culot2009-01-241-1/+3
| | | | user-configured key bindings
* make it possible to use KEY_HOME and KEY_END to define new key bindings, and ↵Frederic Culot2009-01-241-2/+2
| | | | prevent user from assigning a non-recgnized key
* iso date format addedFrederic Culot2009-01-051-2/+3
|
* more code cleanupFrederic Culot2009-01-031-4/+5
|
* code cleanupFrederic Culot2009-01-021-11/+11
|
* various bugfixesFrederic Culot2009-01-021-2/+3
|
* cut/paste feature adedFrederic Culot2009-01-011-7/+10
| | | | | fixed a 2-years old bug that made repeated items with exceptions to load uncorrectly in some cases (thanks Jan for reporting it)
* Automatic periodic saves implementedFrederic Culot2008-12-281-4/+72
|
* Added wrappers around libc's memory management functions, to easily debug ↵Frederic Culot2008-12-281-268/+272
| | | | memory usage
* small bugfixes and code cleanupFrederic Culot2008-12-141-35/+19
|
* exceptions now properly taken into account while exporting dataFrederic Culot2008-12-141-9/+17
|
* code cleanupFrederic Culot2008-12-121-8/+5
|