Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Do not cast unused return values to void | Lukas Fleischer | 2011-11-02 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | A small style fix that removes all remaining "(void)" casts. Using these isn't encouraged in GNU coding guidelines and doesn't serve a certain purpose, except for satisfying a few static code analysis tools. We already nuked some of these in previous patches, but this semantic patch should fix what's left: @@ identifier func; @@ - (void)func ( + func ( ...); Long lines were re-formatted manually. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Avoid use of printf()/fprintf() | Lukas Fleischer | 2011-11-02 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | 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 window updates | Lukas Fleischer | 2011-10-06 | 1 | -30/+34 | |
| | | | | | | | | Add a window bitmask to wins_update() and only update windows that might actually require an update in our main loop. This improves response times of the user interface a bit. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Add key binding for pipe-item command | Lukas Fleischer | 2011-07-07 | 1 | -7/+9 | |
| | | | | | | | This removes the need of reading the whole data file and find matching entries if we want to parse appointments in external programs. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Move endwin() down in wins_prepare_external() | Lukas Fleischer | 2011-07-05 | 1 | -1/+1 | |
| | | | | | | | | Invoke endwin() *after* calling any other curses functions, such as refresh(). Calling refresh() after endwin() might restore curses mode which is a bad thing for a terminal mode initialization routine. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Refactor wins_launch_external() | Lukas Fleischer | 2011-07-02 | 1 | -19/+24 | |
| | | | | | | | | | * Do window preparation and restoring in separate functions wins_prepare_external() and wins_unprepare_external(). * Use fork_exec() and child_wait() instead of system(). 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> | |||||
* | 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 | -2/+2 | |
| | | | | | | "bad_zero.cocci" spatch from http://coccinelle.lip6.fr/impact_linux.php. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Remove unused variables from wins_show(). | Lukas Fleischer | 2011-04-03 | 1 | -4/+1 | |
| | | | | | | Seen with "-Wunused-but-set-variable". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Overall indentation fixes. | Lukas Fleischer | 2011-03-14 | 1 | -22/+22 | |
| | | | | | | | 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 | |
| | ||||||
* | Check added to avoid problems in case side bar width is not found in ↵ | Frederic Culot | 2010-03-23 | 1 | -2/+4 | |
| | | | | configuration file. | |||||
* | Avoid concurrent screen refreshes. | Frederic Culot | 2010-03-21 | 1 | -6/+74 | |
| | ||||||
* | More work on sidebar customization. | Frederic Culot | 2010-03-21 | 1 | -17/+87 | |
| | ||||||
* | Work on sidebar width user-customization. | Frederic Culot | 2010-03-20 | 1 | -8/+22 | |
| | ||||||
* | All headers gathered into a single one. Typedefs suppressed. | Frederic Culot | 2010-03-20 | 1 | -58/+51 | |
| | ||||||
* | Key bindings for changing calendar view added to the status bar. | Frederic Culot | 2009-10-28 | 1 | -7/+8 | |
| | ||||||
* | Make use of calendar window attributes instead of constants. | Frederic Culot | 2009-08-25 | 1 | -16/+19 | |
| | ||||||
* | stdbool header removed, unsigned type used instead | Frederic Culot | 2009-07-12 | 1 | -2/+2 | |
| | ||||||
* | Switch to BSD license. | Frederic Culot | 2009-07-05 | 1 | -14/+26 | |
| | ||||||
* | Flag command added in todo panel | Frederic Culot | 2009-06-26 | 1 | -4/+4 | |
| | ||||||
* | more code cleanup | Frederic Culot | 2009-01-03 | 1 | -3/+137 | |
| | ||||||
* | code cleanup | Frederic Culot | 2009-01-02 | 1 | -4/+4 | |
| | ||||||
* | Automatic periodic saves implemented | Frederic Culot | 2008-12-28 | 1 | -2/+2 | |
| | ||||||
* | Added wrappers around libc's memory management functions, to easily debug ↵ | Frederic Culot | 2008-12-28 | 1 | -8/+9 | |
| | | | | memory usage | |||||
* | code cleanup | Frederic Culot | 2008-12-12 | 1 | -8/+4 | |
| | ||||||
* | Building configuration menu to assign keybindings | Frederic Culot | 2008-11-23 | 1 | -5/+5 | |
| | ||||||
* | More work on ical import. Macros to handle errors and to display messages in ↵ | Frederic Culot | 2008-09-20 | 1 | -1/+6 | |
| | | | | both command-line and curses mode added | |||||
* | some memory leaks fixed using valgrind and some minor code cleanup | Frederic Culot | 2008-04-19 | 1 | -4/+4 | |
| | ||||||
* | Scrollbar added in general configuration menu | Frederic Culot | 2008-04-19 | 1 | -2/+17 | |
| | ||||||
* | Generic functions to handle scrolling windows created | Frederic Culot | 2008-04-18 | 1 | -1/+49 | |
| | ||||||
* | Yet another style for source code. GNU style now used (I am fed up with tabs...) | Frederic Culot | 2008-04-12 | 1 | -279/+294 | |
| | ||||||
* | proper cvs tag used | Frederic Culot | 2008-02-14 | 1 | -1/+1 | |
| | ||||||
* | manpage updated | Frederic Culot | 2008-02-13 | 1 | -2/+3 | |
| | | | | | | | NOTESIZ shortened to be 6 characters long, as only 6 'X' are used in the glibc version of mkstemp(3). bugfix: wrong calculated len in wins_launch_external(), which lead to erroneus note file name | |||||
* | memory leak fixed in notify_thread_app() | Frederic Culot | 2008-02-10 | 1 | -4/+9 | |
| | | | | | | 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 | -2/+31 | |
| | ||||||
* | wins_prop() suppressed | Frederic Culot | 2007-10-21 | 1 | -137/+112 | |
| | | | | routines updated to handle new window_t type | |||||
* | wins_reset() modified to avoid blank screen when resizing window under Linux | Frederic Culot | 2007-10-16 | 1 | -7/+1 | |
| | ||||||
* | wins_reset() updated to handle notification bar reset | Frederic Culot | 2007-08-19 | 1 | -1/+7 | |
| | ||||||
* | win and layout become static variables | Frederic Culot | 2007-08-15 | 1 | -92/+143 | |
| | | | | | | wins_prop() added wins_layout() and wins_set_layout() added wins_reset() added | |||||
* | error handling while in ncurses mode improved | Frederic Culot | 2007-08-04 | 1 | -4/+2 | |
| | ||||||
* | unuseful headers removed and some functions became static | Frederic Culot | 2007-07-28 | 1 | -4/+50 | |
| | ||||||
* | window_e and window_t added | Frederic Culot | 2007-07-23 | 1 | -10/+43 | |
| | | | | | wins_slct_init(), wins_slctd_set(), wins_slctd_next() and wins_slctd() created | |||||
* | new source files to store windows handling related routines | Frederic Culot | 2007-07-21 | 1 | -0/+260 | |