summaryrefslogtreecommitdiffstats
path: root/src/help.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove parentheses from return statementsLukas Fleischer2011-11-021-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 voidLukas Fleischer2011-11-021-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 Fleischer2011-11-021-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 durationsLukas Fleischer2011-10-061-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 Fleischer2011-10-061-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 commandLukas Fleischer2011-07-071-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 resizeLukas Fleischer2011-06-281-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 Fleischer2011-04-221-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 Fleischer2011-04-031-1/+1
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Overall indentation fixes.Lukas Fleischer2011-03-141-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 Fleischer2011-03-041-2/+2
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Update mail addresses to match the new mailing lists.Lukas Fleischer2011-03-041-2/+2
| | | | 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>
* Avoid a segfault when resizing the help window.Lukas Fleischer2011-03-031-27/+29
|
* Fixed file permissions.Lukas Fleischer2011-03-031-0/+0
|
* Code cleanup and fixed compiler warning.Lukas Fleischer2011-01-111-30/+30
|
* Avoid concurrent screen refreshes.Frederic Culot2010-03-211-2/+2
|
* All headers gathered into a single one. Typedefs suppressed.Frederic Culot2010-03-201-17/+15
|
* Description of the scroll keys added to the generic keys help screen.Frederic Culot2009-10-281-3/+9
|
* calcurse version removed from menu titlesFrederic Culot2009-07-121-2/+2
|
* Switch to BSD license.Frederic Culot2009-07-051-23/+40
|
* Help page updated for the flag commandFrederic Culot2009-06-271-5/+9
|
* help page added to describe the cut and paste featureFrederic Culot2009-01-041-2/+26
|
* more code cleanupFrederic Culot2009-01-031-2/+2
|
* Added wrappers around libc's memory management functions, to easily debug ↵Frederic Culot2008-12-281-30/+37
| | | | memory usage
* new layout configuration menuFrederic Culot2008-12-201-2/+2
|
* more work on updating online help pagesFrederic Culot2008-12-031-174/+214
|
* online help pages updatedFrederic Culot2008-11-301-9/+11
|
* Online help updated to display user-defined keys.Frederic Culot2008-11-281-82/+122
|
* Building configuration menu to assign keybindingsFrederic Culot2008-11-231-21/+23
|
* More work on implementing user-definable keybindingsFrederic Culot2008-11-161-45/+41
|
* import flag and 'i' keybinding addedFrederic Culot2008-09-211-1/+24
|
* Optional 'format' option added to '-x' flag, help updatedFrederic Culot2008-08-111-2/+8
|
* new keybindings addedFrederic Culot2008-08-031-7/+16
|
* * french translation updatedFrederic Culot2008-04-201-2/+2
| | | | * correction done in the '>' command help text
* some memory leaks fixed using valgrind and some minor code cleanupFrederic Culot2008-04-191-34/+27
|
* Scrollbar added in general configuration menuFrederic Culot2008-04-191-7/+4
|
* Generic functions to handle scrolling windows createdFrederic Culot2008-04-181-44/+32
|
* Yet another style for source code. GNU style now used (I am fed up with tabs...)Frederic Culot2008-04-121-525/+535
|
* TODO list updatedFrederic Culot2008-02-111-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 helpFrederic Culot2007-10-211-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 staticFrederic Culot2007-07-281-21/+16
|
* which_pan dependency suppressed in help_screen()Frederic Culot2007-07-231-2/+2
|
* call to wins_show() updatedFrederic Culot2007-07-211-2/+3
|
* MAX_LENGTH replaced by stdio.h's BUFSIZFrederic Culot2007-04-041-5/+6
|
* help_screen() updated to add the export and flag command help textFrederic Culot2007-03-241-25/+64
|
* global variable 'colr' suppressedFrederic Culot2007-03-101-4/+7
|
* copyright extended to 2007Frederic Culot2007-01-161-3/+3
|
* missing header added and sprintf replaced by snprintfFrederic Culot2006-12-151-3/+4
|
* help screen updated for repeat commandFrederic Culot2006-12-121-4/+7
|