Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add command line argument to run the GC manually | Lukas Fleischer | 2011-10-05 | 1 | -2/+21 |
| | | | | | | | | Adds a "-g" option that allows for running the garbage collector for note files manually. This is useful for users that do not use note files at all or rarely edit/remove them. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Merge branch 'maint' | Lukas Fleischer | 2011-09-06 | 1 | -3/+9 |
|\ | | | | | | | | | Conflicts: src/io.c | ||||
| * | Rework indentation code in print_notefile() | Lukas Fleischer | 2011-08-26 | 1 | -3/+9 |
| | | | | | | | | | | | | | | Do not use snprintf() here as printf() behaviour is undefined if the destination pointer is used as a parameter. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | | Merge branch 'maint' | Lukas Fleischer | 2011-07-30 | 1 | -52/+78 |
|\| | |||||
| * | Fix sort order in app_arg() | Lukas Fleischer | 2011-07-30 | 1 | -52/+78 |
| | | | | | | | | | | | | | | | | | | | | | | | | We used to iterate over the list of regular appointments and the list of recurrent appointments in separate loops, thus leading to recurrent appointments being printed first and regular appointments being printed afterwards, regardless of their start and end times. Merge these loops to coerce precedence of the start time. There's still a fair bit of hackery in here - we will fix that later. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | | src/args.c: Mark various constant strings const | Lukas Fleischer | 2011-07-28 | 1 | -4/+4 |
| | | | | | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | | Remove superfluous buffer variable from version_arg() | Lukas Fleischer | 2011-07-28 | 1 | -4/+1 |
| | | | | | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | | Remove superfluous buffer variable from help_arg() | Lukas Fleischer | 2011-07-28 | 1 | -4/+1 |
| | | | | | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | | Merge branch 'maint' | Lukas Fleischer | 2011-07-28 | 1 | -0/+2 |
|\| | |||||
| * | Invoke vars_init() before importing data with "-i" | Lukas Fleischer | 2011-07-28 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | We forgot to call vars_init() when importing an item using the "-i" command line argument, which led to the pager configuration variable being unset and hence the pager invocation (triggered to show the log in case there are any errors during import) failing. Fix this by calling vars_init() before io_import_data(). Reported-by: Andraž 'ruskie' Levstik <ruskie@codemages.net> Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | | Declare foreground and background variables global | Lukas Fleischer | 2011-07-21 | 1 | -2/+2 |
|/ | | | | | | Removes the need to pass the terminal's default background color round. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Update copyright notices in source files, documentation and "COPYING". | Lukas Fleischer | 2011-04-22 | 1 | -2/+2 |
| | | | | | | | | | * Update copyright dates (use 2004-2011 as date range everywhere). * Change copyright holder from "Frederic Culot" to "calcurse Development Team". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Use "event" structure when iterating over events in app_arg(). | Lukas Fleischer | 2011-04-22 | 1 | -1/+1 |
| | | | | | | | Regression introduced in commit 5b174ba5d46c256f41c1cfb952d46f49a088db8a. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Use generic lists for recurring apointments and events. | Lukas Fleischer | 2011-04-19 | 1 | -56/+48 |
| | | | | | | | | Use them instead of "recur_apoint_list" and "next" pointers in "recur_event" type variables. Includes some code simplifications and cleanups. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Use generic lists for todo items. | Lukas Fleischer | 2011-04-19 | 1 | -9/+10 |
| | | | | | | | 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 Fleischer | 2011-04-19 | 1 | -21/+18 |
| | | | | | | | 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 Fleischer | 2011-04-19 | 1 | -28/+26 |
| | | | | | | | 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> | ||||
* | Compare pointers to "NULL" instead of "0". | Lukas Fleischer | 2011-04-05 | 1 | -5/+5 |
| | | | | | | "bad_zero.cocci" spatch from http://coccinelle.lip6.fr/impact_linux.php. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Remove dead assignments spotted by clang-analyzer. | Lukas Fleischer | 2011-04-03 | 1 | -5/+4 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Overall indentation fixes. | Lukas Fleischer | 2011-03-14 | 1 | -260/+260 |
| | | | | | | | 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 Fleischer | 2011-03-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Update mail addresses to match the new mailing lists. | Lukas Fleischer | 2011-03-04 | 1 | -3/+3 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Remove CVS "$Id" headers. | Lukas Fleischer | 2011-03-03 | 1 | -2/+0 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Fixed file permissions. | Lukas Fleischer | 2011-03-03 | 1 | -0/+0 |
| | |||||
* | Make parse_date accept several short forms. | Lukas Fleischer | 2011-01-11 | 1 | -3/+3 |
| | | | | | | | | | Short forms are only accepted in interactive mode (e.g. when using the "Go to" function, editing a recurrent item's end date, and so on). Samples: "1/1/30" for "01/01/2030", "26" for the 26th of the currently selected month/year or "3/1" for Mar 01 (or Jan 03, depending on the date format) of the currently selected year. | ||||
* | Copyright updated. | Frederic Culot | 2010-05-26 | 1 | -2/+2 |
| | |||||
* | All headers gathered into a single one. Typedefs suppressed. | Frederic Culot | 2010-03-20 | 1 | -35/+22 |
| | |||||
* | Also check for notes directory. | Frederic Culot | 2009-11-01 | 1 | -1/+2 |
| | |||||
* | Check for data directory availability added (thanks Brandon for reporting ↵ | Frederic Culot | 2009-11-01 | 1 | -1/+2 |
| | | | | this bug). | ||||
* | Help on --status flag added | Frederic Culot | 2009-08-02 | 1 | -2/+4 |
| | |||||
* | --status flag added | Frederic Culot | 2009-07-26 | 1 | -2/+53 |
| | |||||
* | Check for file presence added (thanks again Chris for reporting it). | Frederic Culot | 2009-07-26 | 1 | -1/+7 |
| | |||||
* | Dates are now written properly again when using the '-r' flag (thanks Chris ↵ | Frederic Culot | 2009-07-15 | 1 | -4/+10 |
| | | | | again for your report). | ||||
* | bugfix: import and export todo items again! | Frederic Culot | 2009-07-12 | 1 | -1/+7 |
| | |||||
* | stdbool header removed, unsigned type used instead | Frederic Culot | 2009-07-12 | 1 | -6/+6 |
| | |||||
* | Switch to BSD license. | Frederic Culot | 2009-07-05 | 1 | -14/+26 |
| | |||||
* | Support added for regex-based searches. Many thanks Erik for providing the ↵ | Frederic Culot | 2009-07-05 | 1 | -16/+63 |
| | | | | patch. | ||||
* | Simplified the way data are loaded and saved. | Frederic Culot | 2009-06-28 | 1 | -24/+19 |
| | |||||
* | Help updated for the -t command line flag. | Frederic Culot | 2009-06-28 | 1 | -2/+4 |
| | |||||
* | Ability to flag todo items as completed. | Frederic Culot | 2009-06-26 | 1 | -23/+50 |
| | |||||
* | Do not print todo items twice if the -d and -t flags are given (thanks Timo ↵ | Frederic Culot | 2009-06-26 | 1 | -3/+2 |
| | | | | for reporting this bug). | ||||
* | Make the argument given to -r or -s flags optional. | Frederic Culot | 2009-06-23 | 1 | -4/+4 |
| | |||||
* | Copyright date updated | Frederic Culot | 2009-06-20 | 1 | -2/+2 |
| | |||||
* | bugfix: load keys even in non-interactive mode to avoid the loss of ↵ | Frederic Culot | 2009-01-24 | 1 | -15/+12 |
| | | | | user-configured key bindings | ||||
* | more code cleanup | Frederic Culot | 2009-01-03 | 1 | -3/+4 |
| | |||||
* | Automatic periodic saves implemented | Frederic Culot | 2008-12-28 | 1 | -2/+2 |
| | |||||
* | Added wrappers around libc's memory management functions, to easily debug ↵ | Frederic Culot | 2008-12-28 | 1 | -18/+24 |
| | | | | memory usage | ||||
* | Checks added while loading key bindings configuration. | Frederic Culot | 2008-12-07 | 1 | -5/+4 |
| | |||||
* | import flag and 'i' keybinding added | Frederic Culot | 2008-09-21 | 1 | -6/+27 |
| | |||||
* | Initial work on icalendar import | Frederic Culot | 2008-09-15 | 1 | -2/+2 |
| |