Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use parse_{time,duration}() where appropriate | Lukas Fleischer | 2011-10-06 | 1 | -25/+25 | |
| | | | | | | | | | | | | | | Make use of these new helpers at various places. Note that this patch implies a few behavioural changes: * Short forms such as "23:" and ":45" are allowed when entering times. * Durations always need to be prefixed with a plus sign ("+"), with the nice side effect that you can now use "+3:30" to declare an appointment that lasts three hours and thirty minutes (that's much more convenient than "+210"). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Add count parameter to *_{in,de}crease() | Lukas Fleischer | 2011-10-06 | 1 | -4/+4 | |
| | | | | | | | | | This allows for moving more than one item up/down. This currently isn't used anywhere but will be bound to a key with one of the following patches. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Remove temporary highlight pointers | Lukas Fleischer | 2011-10-06 | 1 | -1/+1 | |
| | | | | | | | | | Add an additional check to apoint_update_panel() and todo_update_panel() and only highlight currently selected items if the corresponding panel is active. This allows us to remove all the highlight pointer juggling that we used whenever the panel selection changed. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Do not unlink() note files on note removal | Lukas Fleischer | 2011-10-05 | 1 | -9/+7 | |
| | | | | | | | | | | Now that we use hash-based note file names, note files should never be unlinked as a note file might be shared. Also, remove the ERASE_FORCE_KEEP_NOTE flag that no longer makes any sense. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Fix apoint_get() call in apoint_switch_notify() | Lukas Fleischer | 2011-07-29 | 1 | -1/+1 | |
| | | | | | | | We passed the function arguments the wrong way round. This regression was introduced in commit 77ef3fe76e4ce4c9a990e8a5904ad2d83420ca02. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Update the notification item in *_paste_item() | Lukas Fleischer | 2011-07-29 | 1 | -0/+4 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Add "force" parameter to notify_check_next_app() | Lukas Fleischer | 2011-07-29 | 1 | -2/+2 | |
| | | | | | | | | This allows to force notify_check_next_app() to update the notification appointment, even if start times are equal (e.g. if the item description was changed). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Update copyright notices in source files, documentation and "COPYING". | Lukas Fleischer | 2011-04-22 | 1 | -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 appointments. | Lukas Fleischer | 2011-04-19 | 1 | -138/+94 | |
| | | | | | | | 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> | |||||
* | Use do-while loops when reading start time and duration in apoint_add(). | Lukas Fleischer | 2011-04-12 | 1 | -2/+5 | |
| | | | | | | | | Using do-while loops seems more appropriate here as "item_time" hasn't even been read when either of the loops are entered. Spotted by clang-analyzer. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Remove some more dead assignments spotted by clang-analyzer. | Lukas Fleischer | 2011-04-12 | 1 | -1/+0 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Compare pointers to "NULL" instead of "0". | Lukas Fleischer | 2011-04-05 | 1 | -4/+4 | |
| | | | | | | "bad_zero.cocci" spatch from http://coccinelle.lip6.fr/impact_linux.php. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Overall indentation fixes. | Lukas Fleischer | 2011-03-14 | 1 | -155/+155 | |
| | | | | | | | Use spaces instead of tabs for source code indentation only, strip trailing whitespaces from lines. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Parse appointment end times correctly if they date back. | Lukas Fleischer | 2011-03-13 | 1 | -1/+1 | |
| | | | | | | | | | End times used to be parsed incorrectly if start and end time's hour components were equal, but the end time was smaller than the start time. This is fixed by comparing the minute components as well in case of equal hour components. 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 | -1/+1 | |
| | | | | 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 | |
| | ||||||
* | All headers gathered into a single one. Typedefs suppressed. | Frederic Culot | 2010-03-20 | 1 | -45/+34 | |
| | ||||||
* | Make use of erase_note() whenever possible. | Frederic Culot | 2009-07-19 | 1 | -15/+4 | |
| | ||||||
* | stdbool header removed, unsigned type used instead | Frederic Culot | 2009-07-12 | 1 | -5/+5 | |
| | ||||||
* | Switch to BSD license. | Frederic Culot | 2009-07-05 | 1 | -14/+26 | |
| | ||||||
* | The buffer should be allocated dynamically, but I am quite busy right now ↵ | Frederic Culot | 2009-05-22 | 1 | -3/+3 | |
| | | | | :'( Anyway, thanks Kamil for feedback | |||||
* | more code cleanup | Frederic Culot | 2009-01-03 | 1 | -12/+19 | |
| | ||||||
* | code cleanup | Frederic Culot | 2009-01-02 | 1 | -13/+13 | |
| | ||||||
* | various bugfixes | Frederic Culot | 2009-01-02 | 1 | -3/+3 | |
| | ||||||
* | cut/paste feature aded | Frederic Culot | 2009-01-01 | 1 | -9/+115 | |
| | | | | | 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 Culot | 2008-12-28 | 1 | -53/+64 | |
| | | | | memory usage | |||||
* | small bugfixes and a major one (freeze when deleting an appointment's note, ↵ | Frederic Culot | 2008-12-15 | 1 | -5/+6 | |
| | | | | thanks Jan for reporting it) | |||||
* | small bugfixes and code cleanup | Frederic Culot | 2008-12-14 | 1 | -10/+6 | |
| | ||||||
* | code cleanup | Frederic Culot | 2008-12-12 | 1 | -8/+5 | |
| | ||||||
* | Checks added while loading key bindings configuration. | Frederic Culot | 2008-12-07 | 1 | -4/+4 | |
| | ||||||
* | More work on implementing user-definable keybindings | Frederic Culot | 2008-11-16 | 1 | -5/+6 | |
| | ||||||
* | some memory leaks fixed using valgrind and some minor code cleanup | Frederic Culot | 2008-04-19 | 1 | -15/+15 | |
| | ||||||
* | Yet another style for source code. GNU style now used (I am fed up with tabs...) | Frederic Culot | 2008-04-12 | 1 | -461/+505 | |
| | ||||||
* | Code parts related to item update rewritten | Frederic Culot | 2008-01-20 | 1 | -9/+27 | |
| | ||||||
* | Ability to attach notes to appointments and events added | Frederic Culot | 2008-01-13 | 1 | -36/+37 | |
| | ||||||
* | Ability to attach notes to todo items added | Frederic Culot | 2007-12-30 | 1 | -34/+20 | |
| | ||||||
* | routines updated to handle new window_t and window_e types | Frederic Culot | 2007-10-21 | 1 | -15/+16 | |
| | ||||||
* | hilt_app moved to the static variable hilt | Frederic Culot | 2007-08-15 | 1 | -20/+46 | |
| | | | | | | | apoint_hilt(), apoint_hilt_set(), apoint_hilt_decrease(), and apoint_hilt_increase() added scroll_pad_down() and scroll_pad_up() moved to apoint_scroll_pad_down() and apoint_scroll_pad_up() | |||||
* | apoint_update_panel() updated to display the phase of the moon | Frederic Culot | 2007-08-12 | 1 | -4/+5 | |
| | ||||||
* | error handling while in ncurses mode improved | Frederic Culot | 2007-08-04 | 1 | -12/+8 | |
| | ||||||
* | compiler warnings fixed | Frederic Culot | 2007-07-29 | 1 | -4/+4 | |
| | ||||||
* | unuseful headers removed and some functions became static | Frederic Culot | 2007-07-28 | 1 | -3/+3 | |
| | ||||||
* | apoint_update_panel(), apoint_add() and apoint_delete() added | Frederic Culot | 2007-07-21 | 1 | -1/+213 | |
| | ||||||
* | apoint_switch_notify() prototype updated to take into account date_t type | Frederic Culot | 2007-07-01 | 1 | -3/+4 | |
| | ||||||
* | use of DAYINSEC define | Frederic Culot | 2007-04-04 | 1 | -6/+8 | |
| | ||||||
* | apoint_check_next() modified to handle item state | Frederic Culot | 2007-02-25 | 1 | -11/+9 | |
| | | | | | apoint_switch_notify() updated updated call to notify_check_added() | |||||
* | apoint_switch_notify() created | Frederic Culot | 2007-02-24 | 1 | -14/+87 | |
| | | | | | apoint_write() updated to save item state apoint_scan() and apoint_new() updated to load item state | |||||
* | strcpy replaced by strncpy | Frederic Culot | 2006-12-15 | 1 | -4/+4 | |
| |