aboutsummaryrefslogtreecommitdiffstats
path: root/src/notify.c
Commit message (Collapse)AuthorAgeFilesLines
* Add configuration option to notify all appointmentsLukas Fleischer2011-07-311-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 Fleischer2011-07-291-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 Fleischer2011-07-291-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 resizeLukas Fleischer2011-06-281-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 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-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 Fleischer2011-04-031-4/+2
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Overall indentation fixes.Lukas Fleischer2011-03-141-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 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
|
* Avoid concurrent screen refreshes.Frederic Culot2010-03-211-2/+2
|
* All headers gathered into a single one. Typedefs suppressed.Frederic Culot2010-03-201-20/+21
|
* Avoid a segfault when txt_max_len becomes too small. Reported by Thorsten, ↵Frederic Culot2010-02-141-3/+6
| | | | thanks.
* Do not send notifications when running in background mode if user did not ↵Frederic Culot2009-08-171-2/+4
| | | | flag its appointment.
* Possible deadlock fixed, thanks Henrik for reporting it.Frederic Culot2009-08-131-4/+8
|
* notify_thread_app rewrittenFrederic Culot2009-08-091-9/+10
|
* Notification configuration menu rewritten to handle scrolling.Frederic Culot2009-08-021-42/+64
|
* Improved how the daemon checks for appointments to remind.Frederic Culot2009-08-011-6/+36
|
* More work on implementing the daemon.Frederic Culot2009-08-011-69/+134
|
* Beginning of work on implementing calcurse daemon.Frederic Culot2009-07-201-28/+67
|
* calcurse version removed from menu titlesFrederic Culot2009-07-121-3/+2
|
* Switch to BSD license.Frederic Culot2009-07-051-14/+26
|
* Fixed a memory leak caused by a wrong usage of the notify_app structureFrederic Culot2009-06-211-14/+23
|
* Free memory associated with structure used for appointments notification.Frederic Culot2009-06-211-1/+11
|
* bugfix: avoid possible segfault if notify_stop_main_thread is called before ↵Frederic Culot2009-01-221-2/+3
| | | | thread was launched (thanks Jan for reporting this)
* more code cleanupFrederic Culot2009-01-031-4/+4
|
* code cleanupFrederic Culot2009-01-021-157/+140
|
* Added wrappers around libc's memory management functions, to easily debug ↵Frederic Culot2008-12-281-44/+65
| | | | memory usage
* memory leak due to wrong thread usage fixedFrederic Culot2008-12-181-2/+8
|
* code cleanupFrederic Culot2008-12-121-8/+7
|
* Checks added while loading key bindings configuration.Frederic Culot2008-12-071-2/+2
|
* Building configuration menu to assign keybindingsFrederic Culot2008-11-231-2/+2
|
* More work on implementing user-definable keybindingsFrederic Culot2008-11-161-2/+3
|
* no need to allocate tmp_app on heap in notify_thread_appFrederic Culot2008-04-201-15/+13
|
* some memory leaks fixed using valgrind and some minor code cleanupFrederic Culot2008-04-191-3/+3
|
* Yet another style for source code. GNU style now used (I am fed up with tabs...)Frederic Culot2008-04-121-468/+490
|
* memory leak fixed in notify_thread_app()Frederic Culot2008-02-101-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 addedFrederic Culot2007-12-301-3/+5
|
* notify_config_bar() updated to handle window resizingFrederic Culot2007-10-211-41/+39
|
* bugfix: do not stop thread in notify_config_bar() if it was not started beforeFrederic Culot2007-10-161-2/+2
|
* bugfix: extract_aptsfile() modified so that notify->apts_file is never setFrederic Culot2007-08-191-3/+10
| | | | to null
* notify_init_bar() updated to use static win variableFrederic Culot2007-08-151-3/+5
|
* error handling while in ncurses mode improvedFrederic Culot2007-08-041-10/+6
|
* compiler warnings fixedFrederic Culot2007-07-291-2/+2
|
* unuseful headers removed and some functions became staticFrederic Culot2007-07-281-38/+31
|
* notify_print_options() addedFrederic Culot2007-07-211-1/+191
|
* notify_init_bar() modified to use window_t typeFrederic Culot2007-07-201-4/+5
|
* notify_thread_app(), notify_check_repeated() and notify_same_recur_item()Frederic Culot2007-07-011-4/+4
| | | | modified to call get_today()