Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove parentheses from return statements | Lukas Fleischer | 2011-11-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | No reason to use "return (x);" here. Refer to the GNU coding guidelines for details. Created using following semantic patch: @@ expression expr; @@ - return (expr); + return expr; Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Do not cast unused return values to void | Lukas Fleischer | 2011-11-02 | 1 | -27/+27 |
| | | | | | | | | | | | | | | | | | | | | 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 | -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> | ||||
* | src/help.c: Update messages referring to durations | Lukas Fleischer | 2011-10-06 | 1 | -3/+3 |
| | | | | | | Fix help texts to vaguely match the new duration string formats. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Add count buffer to keys_getch() | Lukas Fleischer | 2011-10-06 | 1 | -1/+1 |
| | | | | | | | | Key commands can be prefixed with a natural number - keys_getch() will store this number in the buffer pointed to by the second parameter. Set this parameter to NULL to disable count prefixes. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Add key binding for pipe-item command | Lukas Fleischer | 2011-07-07 | 1 | -0/+13 |
| | | | | | | | 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> | ||||
* | Avoid redundant redraws on resize | Lukas Fleischer | 2011-06-28 | 1 | -29/+34 |
| | | | | | | | | | | 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 | -2/+2 |
| | | | | | | | | | * 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 dead assignments spotted by clang-analyzer. | Lukas Fleischer | 2011-04-03 | 1 | -1/+1 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Overall indentation fixes. | Lukas Fleischer | 2011-03-14 | 1 | -20/+20 |
| | | | | | | | 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 | -2/+2 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Update mail addresses to match the new mailing lists. | Lukas Fleischer | 2011-03-04 | 1 | -2/+2 |
| | | | | 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> | ||||
* | Avoid a segfault when resizing the help window. | Lukas Fleischer | 2011-03-03 | 1 | -27/+29 |
| | |||||
* | Fixed file permissions. | Lukas Fleischer | 2011-03-03 | 1 | -0/+0 |
| | |||||
* | Code cleanup and fixed compiler warning. | Lukas Fleischer | 2011-01-11 | 1 | -30/+30 |
| | |||||
* | 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 | -17/+15 |
| | |||||
* | Description of the scroll keys added to the generic keys help screen. | Frederic Culot | 2009-10-28 | 1 | -3/+9 |
| | |||||
* | calcurse version removed from menu titles | Frederic Culot | 2009-07-12 | 1 | -2/+2 |
| | |||||
* | Switch to BSD license. | Frederic Culot | 2009-07-05 | 1 | -23/+40 |
| | |||||
* | Help page updated for the flag command | Frederic Culot | 2009-06-27 | 1 | -5/+9 |
| | |||||
* | help page added to describe the cut and paste feature | Frederic Culot | 2009-01-04 | 1 | -2/+26 |
| | |||||
* | more code cleanup | Frederic Culot | 2009-01-03 | 1 | -2/+2 |
| | |||||
* | Added wrappers around libc's memory management functions, to easily debug ↵ | Frederic Culot | 2008-12-28 | 1 | -30/+37 |
| | | | | memory usage | ||||
* | new layout configuration menu | Frederic Culot | 2008-12-20 | 1 | -2/+2 |
| | |||||
* | more work on updating online help pages | Frederic Culot | 2008-12-03 | 1 | -174/+214 |
| | |||||
* | online help pages updated | Frederic Culot | 2008-11-30 | 1 | -9/+11 |
| | |||||
* | Online help updated to display user-defined keys. | Frederic Culot | 2008-11-28 | 1 | -82/+122 |
| | |||||
* | Building configuration menu to assign keybindings | Frederic Culot | 2008-11-23 | 1 | -21/+23 |
| | |||||
* | More work on implementing user-definable keybindings | Frederic Culot | 2008-11-16 | 1 | -45/+41 |
| | |||||
* | import flag and 'i' keybinding added | Frederic Culot | 2008-09-21 | 1 | -1/+24 |
| | |||||
* | Optional 'format' option added to '-x' flag, help updated | Frederic Culot | 2008-08-11 | 1 | -2/+8 |
| | |||||
* | new keybindings added | Frederic Culot | 2008-08-03 | 1 | -7/+16 |
| | |||||
* | * french translation updated | Frederic Culot | 2008-04-20 | 1 | -2/+2 |
| | | | | * correction done in the '>' command help text | ||||
* | some memory leaks fixed using valgrind and some minor code cleanup | Frederic Culot | 2008-04-19 | 1 | -34/+27 |
| | |||||
* | Scrollbar added in general configuration menu | Frederic Culot | 2008-04-19 | 1 | -7/+4 |
| | |||||
* | Generic functions to handle scrolling windows created | Frederic Culot | 2008-04-18 | 1 | -44/+32 |
| | |||||
* | Yet another style for source code. GNU style now used (I am fed up with tabs...) | Frederic Culot | 2008-04-12 | 1 | -525/+535 |
| | |||||
* | TODO list updated | Frederic Culot | 2008-02-11 | 1 | -1/+48 |
| | | | | | | status bar updated to display the new 'N' (edit note) and '>' (view note) keybindings online help pages added for 'N' and '>' keybindings | ||||
* | help_screen() updated to make automatic resize available inside help | Frederic Culot | 2007-10-21 | 1 | -213/+259 |
| | | | | | | | screens (thanks Sebastian for reporting the problem) help_wins_reset(), help_wins_init(), help_wins_reinit() and wanted_page() created help_pages_e enum added | ||||
* | unuseful headers removed and some functions became static | Frederic Culot | 2007-07-28 | 1 | -21/+16 |
| | |||||
* | which_pan dependency suppressed in help_screen() | Frederic Culot | 2007-07-23 | 1 | -2/+2 |
| | |||||
* | call to wins_show() updated | Frederic Culot | 2007-07-21 | 1 | -2/+3 |
| | |||||
* | MAX_LENGTH replaced by stdio.h's BUFSIZ | Frederic Culot | 2007-04-04 | 1 | -5/+6 |
| | |||||
* | help_screen() updated to add the export and flag command help text | Frederic Culot | 2007-03-24 | 1 | -25/+64 |
| | |||||
* | global variable 'colr' suppressed | Frederic Culot | 2007-03-10 | 1 | -4/+7 |
| | |||||
* | copyright extended to 2007 | Frederic Culot | 2007-01-16 | 1 | -3/+3 |
| | |||||
* | missing header added and sprintf replaced by snprintf | Frederic Culot | 2006-12-15 | 1 | -3/+4 |
| | |||||
* | help screen updated for repeat command | Frederic Culot | 2006-12-12 | 1 | -4/+7 |
| |