Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid use of printf()/fprintf() | Lukas Fleischer | 2011-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Use one of the following functions where appropriate: * puts() (whenever we print hard coded strings to stdout) * fputs() (whenever we print hard coded strings to a stream) * putchar() (whenever we print a single character to stdout) * fputc() (whenever we print a single character to a stream) * strncpy() (whenever we copy hard coded strings to a buffer) This removes the overhead introduced by the format string parser and reduces the number of false positive C-format strings spotted by xgettext(1)'s heuristics. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Avoid unnecessary start time calculations | Lukas Fleischer | 2011-10-21 | 1 | -7/+8 |
| | | | | | | | | | | | | | | Rename recur_*_inday() to recur_*_find_occurrence() and use the new functions whenever we actually care about the start time of an occurrence. Reintroduce recur_*_inday() as wrappers to recur_*_find_occurrence() and pass NULL as start time buffer (which means "skip start time calculation"). Keep using these when we only want to know if a recurrent item belongs to a specific day but do not care about the actual start time. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Pass item durations to recur_item_inday() | Lukas Fleischer | 2011-10-21 | 1 | -4/+4 |
| | | | | | | | | Having item's durations eventually allows for better parsing of recurrent appointments as we might be interested in how many days are covered by a multi-day appointment. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Add configuration option to notify all appointments | Lukas Fleischer | 2011-07-31 | 1 | -5/+21 |
| | | | | | | | | If "notify-all" is enabled, all non-flagged appointments will be notified (instead of flagged ones). This is useful for users that want to be notified of everything. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Fix notify_check_repeated() | Lukas Fleischer | 2011-07-29 | 1 | -1/+1 |
| | | | | | | | | | | Remove the "current_time" check from the first if condition. As "greater than" relations (">") have higher precedence than assignments ("=") in C, this caused "real_app_time" to always be one or zero which definitely isn't what we want here. Reading further down, it turns out that we don't even need this comparison here, so we should be fine removing it. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Add "force" parameter to notify_check_next_app() | Lukas Fleischer | 2011-07-29 | 1 | -6/+8 |
| | | | | | | | | 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> | ||||
* | Avoid redundant redraws on resize | Lukas Fleischer | 2011-06-28 | 1 | -14/+19 |
| | | | | | | | | | | Use a global flag to record whether the terminal was resized instead of redrawing everything each time a KEY_RESIZE is read. Add some additional checks to help_write_pad() as invalid actions may be passed now due to using signals instead of virtual key presses. 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 recurring item exceptions. | Lukas Fleischer | 2011-04-22 | 1 | -2/+2 |
| | | | | | | | | | 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> | ||||
* | Remove dead assignments spotted by clang-analyzer. | Lukas Fleischer | 2011-04-03 | 1 | -4/+2 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Overall indentation fixes. | Lukas Fleischer | 2011-03-14 | 1 | -179/+179 |
| | | | | | | | 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 | -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 |
| | |||||
* | Avoid concurrent screen refreshes. | Frederic Culot | 2010-03-21 | 1 | -2/+2 |
| | |||||
* | All headers gathered into a single one. Typedefs suppressed. | Frederic Culot | 2010-03-20 | 1 | -20/+21 |
| | |||||
* | Avoid a segfault when txt_max_len becomes too small. Reported by Thorsten, ↵ | Frederic Culot | 2010-02-14 | 1 | -3/+6 |
| | | | | thanks. | ||||
* | Do not send notifications when running in background mode if user did not ↵ | Frederic Culot | 2009-08-17 | 1 | -2/+4 |
| | | | | flag its appointment. | ||||
* | Possible deadlock fixed, thanks Henrik for reporting it. | Frederic Culot | 2009-08-13 | 1 | -4/+8 |
| | |||||
* | notify_thread_app rewritten | Frederic Culot | 2009-08-09 | 1 | -9/+10 |
| | |||||
* | Notification configuration menu rewritten to handle scrolling. | Frederic Culot | 2009-08-02 | 1 | -42/+64 |
| | |||||
* | Improved how the daemon checks for appointments to remind. | Frederic Culot | 2009-08-01 | 1 | -6/+36 |
| | |||||
* | More work on implementing the daemon. | Frederic Culot | 2009-08-01 | 1 | -69/+134 |
| | |||||
* | Beginning of work on implementing calcurse daemon. | Frederic Culot | 2009-07-20 | 1 | -28/+67 |
| | |||||
* | calcurse version removed from menu titles | Frederic Culot | 2009-07-12 | 1 | -3/+2 |
| | |||||
* | Switch to BSD license. | Frederic Culot | 2009-07-05 | 1 | -14/+26 |
| | |||||
* | Fixed a memory leak caused by a wrong usage of the notify_app structure | Frederic Culot | 2009-06-21 | 1 | -14/+23 |
| | |||||
* | Free memory associated with structure used for appointments notification. | Frederic Culot | 2009-06-21 | 1 | -1/+11 |
| | |||||
* | bugfix: avoid possible segfault if notify_stop_main_thread is called before ↵ | Frederic Culot | 2009-01-22 | 1 | -2/+3 |
| | | | | thread was launched (thanks Jan for reporting this) | ||||
* | more code cleanup | Frederic Culot | 2009-01-03 | 1 | -4/+4 |
| | |||||
* | code cleanup | Frederic Culot | 2009-01-02 | 1 | -157/+140 |
| | |||||
* | Added wrappers around libc's memory management functions, to easily debug ↵ | Frederic Culot | 2008-12-28 | 1 | -44/+65 |
| | | | | memory usage | ||||
* | memory leak due to wrong thread usage fixed | Frederic Culot | 2008-12-18 | 1 | -2/+8 |
| | |||||
* | code cleanup | Frederic Culot | 2008-12-12 | 1 | -8/+7 |
| | |||||
* | Checks added while loading key bindings configuration. | Frederic Culot | 2008-12-07 | 1 | -2/+2 |
| | |||||
* | Building configuration menu to assign keybindings | Frederic Culot | 2008-11-23 | 1 | -2/+2 |
| | |||||
* | More work on implementing user-definable keybindings | Frederic Culot | 2008-11-16 | 1 | -2/+3 |
| | |||||
* | no need to allocate tmp_app on heap in notify_thread_app | Frederic Culot | 2008-04-20 | 1 | -15/+13 |
| | |||||
* | some memory leaks fixed using valgrind and some minor code cleanup | Frederic Culot | 2008-04-19 | 1 | -3/+3 |
| | |||||
* | Yet another style for source code. GNU style now used (I am fed up with tabs...) | Frederic Culot | 2008-04-12 | 1 | -468/+490 |
| | |||||
* | memory leak fixed in notify_thread_app() | Frederic Culot | 2008-02-10 | 1 | -1/+4 |
| | | | | | | check for limits.h header added asprintf() call replaced in wins_launch_external() as it is not fully portable | ||||
* | Ability to attach notes to todo items added | Frederic Culot | 2007-12-30 | 1 | -3/+5 |
| | |||||
* | notify_config_bar() updated to handle window resizing | Frederic Culot | 2007-10-21 | 1 | -41/+39 |
| | |||||
* | bugfix: do not stop thread in notify_config_bar() if it was not started before | Frederic Culot | 2007-10-16 | 1 | -2/+2 |
| | |||||
* | bugfix: extract_aptsfile() modified so that notify->apts_file is never set | Frederic Culot | 2007-08-19 | 1 | -3/+10 |
| | | | | to null | ||||
* | notify_init_bar() updated to use static win variable | Frederic Culot | 2007-08-15 | 1 | -3/+5 |
| | |||||
* | error handling while in ncurses mode improved | Frederic Culot | 2007-08-04 | 1 | -10/+6 |
| | |||||
* | compiler warnings fixed | Frederic Culot | 2007-07-29 | 1 | -2/+2 |
| | |||||
* | unuseful headers removed and some functions became static | Frederic Culot | 2007-07-28 | 1 | -38/+31 |
| |