aboutsummaryrefslogtreecommitdiffstats
path: root/src/recur.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright notices in source files, documentation and "COPYING".Lukas Fleischer2011-04-221-1/+1
| | | | | | | | | * 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 generic lists for recurring item exceptions.Lukas Fleischer2011-04-221-108/+81
| | | | | | | | | Rename "days" structure to "excp" which seems to be a better name here. Use generic linked lists of excp structures instead of using the "days" structure which again contains a linked list implementation. Do some cleanups and invocation fixes. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Use generic lists for recurring apointments and events.Lukas Fleischer2011-04-191-287/+216
| | | | | | | | 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>
* Add recur_apoint_inday() and recur_event_inday().Lukas Fleischer2011-04-191-0/+14
| | | | | | | | | | | | To be used with llist_fn_match_t callbacks later. I feel a bit ill adding those functions. This definitely is a hack. Ultimately, there should be some generic recur_item_inday() function that accepts both recurring apointments and events (or some wrapper structure) instead of parameter galeere. This is not the right place to fix that tho. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Compare pointers to "NULL" instead of "0".Lukas Fleischer2011-04-051-18/+18
| | | | | | "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-10/+4
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Use upper case for macro names.Lukas Fleischer2011-03-151-4/+4
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Overall indentation fixes.Lukas Fleischer2011-03-141-200/+200
| | | | | | | 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>
* 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-2/+2
| | | | | | | | | 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.
* All headers gathered into a single one. Typedefs suppressed.Frederic Culot2010-03-201-73/+67
|
* Patch to correct the wrong calculation of recurrent items' dates after aFrederic Culot2010-03-081-7/+74
| | | | turn of year (submitted by Lukas Fleischer, thanks!).
* Make use of erase_note() whenever possible.Frederic Culot2009-07-191-31/+25
|
* Switch to BSD license.Frederic Culot2009-07-051-14/+26
|
* The buffer should be allocated dynamically, but I am quite busy right now ↵Frederic Culot2009-05-221-5/+5
| | | | :'( Anyway, thanks Kamil for feedback
* more code cleanupFrederic Culot2009-01-031-20/+30
|
* various bugfixesFrederic Culot2009-01-021-18/+19
|
* cut/paste feature adedFrederic Culot2009-01-011-85/+295
| | | | | fixed a 2-years old bug that made repeated items with exceptions to load uncorrectly in some cases (thanks Jan for reporting it)
* Added wrappers around libc's memory management functions, to easily debug ↵Frederic Culot2008-12-281-58/+91
| | | | memory usage
* small bugfixes and code cleanupFrederic Culot2008-12-141-43/+22
|
* exceptions now properly taken into account while exporting dataFrederic Culot2008-12-141-19/+1
|
* daylight saving time related problems fixed (thanks youshe and Jan for ↵Frederic Culot2008-12-131-9/+6
| | | | reporting them)
* code cleanupFrederic Culot2008-12-121-3/+3
|
* color configuration menu adapted to handle user-defined key bindingsFrederic Culot2008-12-081-2/+2
|
* Checks added while loading key bindings configuration.Frederic Culot2008-12-071-7/+7
|
* More work on implementing user-definable keybindingsFrederic Culot2008-11-161-8/+9
|
* New functions added to handle ical importFrederic Culot2008-09-161-3/+3
|
* pcal export addedFrederic Culot2008-08-101-1/+20
|
* memory leaks fixed, thanks Tony for reporting themFrederic Culot2008-05-031-4/+2
|
* Yet another style for source code. GNU style now used (I am fed up with tabs...)Frederic Culot2008-04-121-703/+774
|
* Tony's patch concerning date format configuration importedFrederic Culot2008-04-091-12/+16
|
* Code parts related to item update rewrittenFrederic Culot2008-01-201-18/+19
|
* Ability to attach notes to appointments and events addedFrederic Culot2008-01-131-53/+85
|
* bugfix in recur_item_inday(): leap years should now be properly handledFrederic Culot2007-12-101-51/+50
|
* routines updated to handle new window_t and window_e typesFrederic Culot2007-10-211-7/+8
|
* recur_repeat_item() updated to use apoint_hilt()Frederic Culot2007-08-151-2/+4
|
* compiler warnings fixedFrederic Culot2007-07-291-7/+15
|
* unuseful headers removed and some functions became staticFrederic Culot2007-07-281-81/+77
|
* recur_repeat_item() and recur_item_inday() prototypes updated to take into ↵Frederic Culot2007-07-011-8/+14
| | | | account date_t type
* bugfix: forgot to save item state for endless recurrent appointmentsFrederic Culot2007-04-141-11/+8
|
* MAX_LENGTH replaced by stdio.h's BUFSIZFrederic Culot2007-04-041-5/+9
|
* recur_item_inday() improved, thanks to Tony's patchFrederic Culot2007-03-101-27/+70
|
* global variable 'colr' suppressedFrederic Culot2007-03-101-7/+8
|
* recur_apoint_check_next() and recur_apoint_check_repeated() modifiedFrederic Culot2007-02-251-10/+8
| | | | to handle item state
* recur_apoint_new() modified to handle item stateFrederic Culot2007-02-241-18/+66
| | | | | recur_apoint_switch_notify() created recur_apoint_write() and recur_apoint_scan() updated to handle item state
* use of getstring() definesFrederic Culot2007-01-161-8/+8
|
* strcpy replaced by strncpyFrederic Culot2006-12-151-4/+4
|