summaryrefslogtreecommitdiff
path: root/src/io.c
AgeCommit message (Collapse)Author
2011-04-12Fix io_file_is_empty() behaviour when file starts with a newline.Lukas Fleischer
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>
2011-04-12Drop empty notes after editing.Lukas Fleischer
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>
2011-04-05Compare pointers to "NULL" instead of "0".Lukas Fleischer
"bad_zero.cocci" spatch from http://coccinelle.lip6.fr/impact_linux.php. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-29ignore the lock file if the pointed process is dead.Erik Saule
Lukas: Small formatting and logic changes. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-14Overall indentation fixes.Lukas Fleischer
Use spaces instead of tabs for source code indentation only, strip trailing whitespaces from lines. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Update website links to match the new URL.Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Update mail addresses to match the new mailing lists.Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Simplify str_toupper() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03Remove CVS "$Id" headers.Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03Fixed file permissions.Lukas Fleischer
2010-03-21Avoid concurrent screen refreshes.Frederic Culot
2010-03-21More work on sidebar customization.Frederic Culot
2010-03-20All headers gathered into a single one. Typedefs suppressed.Frederic Culot
2009-11-01Check for data directory availability added (thanks Brandon for reporting ↵Frederic Culot
this bug).
2009-10-28Code to save the calendar default view in the configuration file.Frederic Culot
2009-08-09Memory leak fixed in ical_read_note.Frederic Culot
2009-08-01Save and restore daemon configuration options.Frederic Culot
2009-07-29bugfixesFrederic Culot
2009-07-27io_file_exist(): new functionFrederic Culot
2009-07-26--status flag addedFrederic Culot
2009-07-26More work on implementing calcurse daemon.Frederic Culot
2009-07-23Incorrect duration format when exporting to ical (thanks Chris for reporting ↵Frederic Culot
it).
2009-07-23Functions added to implement a logging mechanism for calcurse daemon.Frederic Culot
2009-07-19Make use of erase_note() whenever possible.Frederic Culot
2009-07-15Fixed a bug related to memory management (a free on a null pointer causes an ↵Frederic Culot
abort now, which induces side effects on file import).
2009-07-12New wrappers around memory functions.Frederic Culot
2009-07-12stdbool header removed, unsigned type used insteadFrederic Culot
2009-07-05Switch to BSD license.Frederic Culot
2009-07-05Support for ical import of events which spans over several days added ↵Frederic Culot
(thanks Andreas for reporting the bug).
2009-06-28Simplified the way data are loaded and saved.Frederic Culot
2009-06-27Do not export completed tasks.Frederic Culot
2009-06-23bugfix: missing 'T' letter in ical export DURATION field (thanks cuz for ↵Frederic Culot
reporting it)
2009-06-21Exit directly to avoid lock removal by another instanceFrederic Culot
2009-06-21Basic lock mechanism implemented to avoid having two calcurse instances ↵Frederic Culot
running at the same time.
2009-06-01Fixes gcc 'format-scurity' issue (thanks Francois Boulogne for reporting this)Frederic Culot
2009-01-24bugfix: load keys even in non-interactive mode to avoid the loss of ↵Frederic Culot
user-configured key bindings
2009-01-24make it possible to use KEY_HOME and KEY_END to define new key bindings, and ↵Frederic Culot
prevent user from assigning a non-recgnized key
2009-01-05iso date format addedFrederic Culot
2009-01-03more code cleanupFrederic Culot
2009-01-02code cleanupFrederic Culot
2009-01-02various bugfixesFrederic Culot
2009-01-01cut/paste feature adedFrederic Culot
fixed a 2-years old bug that made repeated items with exceptions to load uncorrectly in some cases (thanks Jan for reporting it)
2008-12-28Automatic periodic saves implementedFrederic Culot
2008-12-28Added wrappers around libc's memory management functions, to easily debug ↵Frederic Culot
memory usage
2008-12-14small bugfixes and code cleanupFrederic Culot
2008-12-14exceptions now properly taken into account while exporting dataFrederic Culot
2008-12-12code cleanupFrederic Culot
2008-12-08color configuration menu adapted to handle user-defined key bindingsFrederic Culot
2008-12-07Checks added while loading key bindings configuration.Frederic Culot
2008-12-03more work on updating online help pagesFrederic Culot