summaryrefslogtreecommitdiffstats
path: root/src/args.c
Commit message (Collapse)AuthorAgeFilesLines
* Invoke vars_init() before importing data with "-i"Lukas Fleischer2011-07-281-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>
* Update copyright notices in source files, documentation and "COPYING".Lukas Fleischer2011-04-221-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 Fleischer2011-04-221-1/+1
| | | | | | | Regression introduced in commit 5b174ba5d46c256f41c1cfb952d46f49a088db8a. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Use generic lists for recurring apointments and events.Lukas Fleischer2011-04-191-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 Fleischer2011-04-191-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 Fleischer2011-04-191-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 Fleischer2011-04-191-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 Fleischer2011-04-051-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 Fleischer2011-04-031-5/+4
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Overall indentation fixes.Lukas Fleischer2011-03-141-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 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-3/+3
| | | | 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
|
* Make parse_date accept several short forms.Lukas Fleischer2011-01-111-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 Culot2010-05-261-2/+2
|
* All headers gathered into a single one. Typedefs suppressed.Frederic Culot2010-03-201-35/+22
|
* Also check for notes directory.Frederic Culot2009-11-011-1/+2
|
* Check for data directory availability added (thanks Brandon for reporting ↵Frederic Culot2009-11-011-1/+2
| | | | this bug).
* Help on --status flag addedFrederic Culot2009-08-021-2/+4
|
* --status flag addedFrederic Culot2009-07-261-2/+53
|
* Check for file presence added (thanks again Chris for reporting it).Frederic Culot2009-07-261-1/+7
|
* Dates are now written properly again when using the '-r' flag (thanks Chris ↵Frederic Culot2009-07-151-4/+10
| | | | again for your report).
* bugfix: import and export todo items again!Frederic Culot2009-07-121-1/+7
|
* stdbool header removed, unsigned type used insteadFrederic Culot2009-07-121-6/+6
|
* Switch to BSD license.Frederic Culot2009-07-051-14/+26
|
* Support added for regex-based searches. Many thanks Erik for providing the ↵Frederic Culot2009-07-051-16/+63
| | | | patch.
* Simplified the way data are loaded and saved.Frederic Culot2009-06-281-24/+19
|
* Help updated for the -t command line flag.Frederic Culot2009-06-281-2/+4
|
* Ability to flag todo items as completed.Frederic Culot2009-06-261-23/+50
|
* Do not print todo items twice if the -d and -t flags are given (thanks Timo ↵Frederic Culot2009-06-261-3/+2
| | | | for reporting this bug).
* Make the argument given to -r or -s flags optional.Frederic Culot2009-06-231-4/+4
|
* Copyright date updatedFrederic Culot2009-06-201-2/+2
|
* bugfix: load keys even in non-interactive mode to avoid the loss of ↵Frederic Culot2009-01-241-15/+12
| | | | user-configured key bindings
* more code cleanupFrederic Culot2009-01-031-3/+4
|
* Automatic periodic saves implementedFrederic Culot2008-12-281-2/+2
|
* Added wrappers around libc's memory management functions, to easily debug ↵Frederic Culot2008-12-281-18/+24
| | | | memory usage
* Checks added while loading key bindings configuration.Frederic Culot2008-12-071-5/+4
|
* import flag and 'i' keybinding addedFrederic Culot2008-09-211-6/+27
|
* Initial work on icalendar importFrederic Culot2008-09-151-2/+2
|
* typoFrederic Culot2008-08-121-2/+2
|
* Optional 'format' option added to '-x' flag, help updatedFrederic Culot2008-08-111-9/+32
|
* pcal export addedFrederic Culot2008-08-101-2/+2
|
* new command line options added (thanks Erik for the patch)Frederic Culot2008-08-061-31/+159
|
* strcat use avoidedFrederic Culot2008-04-201-2/+2
|
* some memory leaks fixed using valgrind and some minor code cleanupFrederic Culot2008-04-191-2/+3
|
* Yet another style for source code. GNU style now used (I am fed up with tabs...)Frederic Culot2008-04-121-475/+526
|
* Tony's patch concerning date format configuration importedFrederic Culot2008-04-091-21/+26
|
* usage updatedFrederic Culot2008-04-051-5/+5
|
* patch submitted by Erik Saule imported (ability to display note contents in ↵Frederic Culot2008-04-051-25/+89
| | | | non-interactive mode)