Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename fill_config_var() to conf_parse_bool() | Lukas Fleischer | 2011-07-21 | 1 | -10/+10 |
| | | | | | | | This is a much better name as it implicitly describes that this function parses boolean configuration values only. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Refactor out configuration variable setting | Lukas Fleischer | 2011-07-21 | 1 | -75/+82 |
| | | | | | | | | Move configuration variable assignments to a new function, custom_set_conf(). This improves code readability and allows for setting configuration variables outside the configuration file loading function. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Parse single-line configuration variables | Lukas Fleischer | 2011-07-15 | 1 | -25/+33 |
| | | | | | | | Include a fallback branch that accepts multi-line comments as well (backward compatibility). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Be stricter when parsing the configuration file | Lukas Fleischer | 2011-07-15 | 1 | -11/+6 |
| | | | | | | | | Throw an error message if there is a line that contains an invalid configuration line (e.g. a non-empty line that neither contains a key nor a value). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Refactor custom_load_conf() | Lukas Fleischer | 2011-07-15 | 1 | -63/+49 |
| | | | | | | | | Read key and value of each configuration setting in one loop cycle to facilitate adjustments of the configuration setting format. Also, this allows us to get rid of all the redundant variable resetting. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Handle resize properly in the sidebar config menu | Lukas Fleischer | 2011-06-29 | 1 | -5/+16 |
| | | | | | | | | | There used to be no resize handler in custom_sidebar_config() which resulted in a messed up screen if the terminal was resized during sidebar configuration. Doing a simple wins_reset() if the terminal was resized works around this problem. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Always work with new window dimensions on resize | Lukas Fleischer | 2011-06-28 | 1 | -35/+27 |
| | | | | | | | | | | | | This one came up after improving resizing behaviour in commit fec37db06bbbdff79bc9816046a76e0b29e173b4. We used to use outdated width and height values at various places without noticing it due to the resize algorithm being called several times on every resize. This patch ensures we retrieve the new window dimensions *before* doing any layout calculations. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Avoid redundant redraws on resize | Lukas Fleischer | 2011-06-28 | 1 | -31/+41 |
| | | | | | | | | | | 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> | ||||
* | Fix bad use of unsigned integers. | Lukas Fleischer | 2011-04-05 | 1 | -2/+3 |
| | | | | | | | | Unsigned values should never be compared to values less than zero. Detected with "find_unsigned.cocci" spatch from http://coccinelle.lip6.fr/impact_linux.php. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Compare pointers to "NULL" instead of "0". | Lukas Fleischer | 2011-04-05 | 1 | -1/+1 |
| | | | | | | "bad_zero.cocci" spatch from http://coccinelle.lip6.fr/impact_linux.php. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Overall indentation fixes. | Lukas Fleischer | 2011-03-14 | 1 | -397/+397 |
| | | | | | | | 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 |
| | |||||
* | Exit menu item added to sidebar configuration screen (thanks Doug for ↵ | Frederic Culot | 2010-03-29 | 1 | -2/+3 |
| | | | | reporting this). | ||||
* | Online help added for side bar configuration screen. | Frederic Culot | 2010-03-21 | 1 | -20/+24 |
| | |||||
* | Avoid concurrent screen refreshes. | Frederic Culot | 2010-03-21 | 1 | -9/+9 |
| | |||||
* | More work on sidebar customization. | Frederic Culot | 2010-03-21 | 1 | -6/+14 |
| | |||||
* | Work on sidebar width user-customization. | Frederic Culot | 2010-03-20 | 1 | -15/+63 |
| | |||||
* | All headers gathered into a single one. Typedefs suppressed. | Frederic Culot | 2010-03-20 | 1 | -55/+75 |
| | |||||
* | Code to save the calendar default view in the configuration file. | Frederic Culot | 2009-10-28 | 1 | -2/+8 |
| | |||||
* | conf_set_scrsize not static any more (moved to custom_set_swsiz) | Frederic Culot | 2009-08-02 | 1 | -6/+6 |
| | |||||
* | Save and restore daemon configuration options. | Frederic Culot | 2009-08-01 | 1 | -3/+15 |
| | |||||
* | bugfixes | Frederic Culot | 2009-07-29 | 1 | -4/+4 |
| | |||||
* | calcurse version removed from menu titles | Frederic Culot | 2009-07-12 | 1 | -8/+5 |
| | |||||
* | stdbool header removed, unsigned type used instead | Frederic Culot | 2009-07-12 | 1 | -8/+8 |
| | |||||
* | Switch to BSD license. | Frederic Culot | 2009-07-05 | 1 | -14/+26 |
| | |||||
* | Bugfix: avoid a possible freeze under OpenBSD when changing color from ↵ | Frederic Culot | 2009-06-20 | 1 | -3/+12 |
| | | | | within the configuration screen. | ||||
* | make it possible to use KEY_HOME and KEY_END to define new key bindings, and ↵ | Frederic Culot | 2009-01-24 | 1 | -8/+24 |
| | | | | prevent user from assigning a non-recgnized key | ||||
* | iso date format added | Frederic Culot | 2009-01-05 | 1 | -5/+7 |
| | |||||
* | more code cleanup | Frederic Culot | 2009-01-03 | 1 | -2/+5 |
| | |||||
* | code cleanup | Frederic Culot | 2009-01-02 | 1 | -14/+17 |
| | |||||
* | Automatic periodic saves implemented | Frederic Culot | 2008-12-28 | 1 | -31/+81 |
| | |||||
* | Added wrappers around libc's memory management functions, to easily debug ↵ | Frederic Culot | 2008-12-28 | 1 | -21/+29 |
| | | | | memory usage | ||||
* | new layout configuration menu | Frederic Culot | 2008-12-20 | 1 | -23/+160 |
| | |||||
* | small bugfixes and code cleanup | Frederic Culot | 2008-12-14 | 1 | -36/+19 |
| | |||||
* | color configuration menu adapted to handle user-defined key bindings | Frederic Culot | 2008-12-08 | 1 | -25/+39 |
| | |||||
* | Checks added while loading key bindings configuration. | Frederic Culot | 2008-12-07 | 1 | -9/+9 |
| | |||||
* | User-defined keys are now saved to file. | Frederic Culot | 2008-11-25 | 1 | -5/+2 |
| | |||||
* | Building configuration menu to assign keybindings | Frederic Culot | 2008-11-23 | 1 | -18/+231 |
| | |||||
* | More work on implementing user-definable keybindings | Frederic Culot | 2008-11-16 | 1 | -8/+9 |
| | |||||
* | Loading of user-configurable keys implemented | Frederic Culot | 2008-11-09 | 1 | -2/+2 |
| | |||||
* | import flag and 'i' keybinding added | Frederic Culot | 2008-09-21 | 1 | -4/+4 |
| | |||||
* | some memory leaks fixed using valgrind and some minor code cleanup | Frederic Culot | 2008-04-19 | 1 | -4/+3 |
| | |||||
* | Scrollbar added in general configuration menu | Frederic Culot | 2008-04-19 | 1 | -77/+95 |
| | |||||
* | Yet another style for source code. GNU style now used (I am fed up with tabs...) | Frederic Culot | 2008-04-12 | 1 | -693/+726 |
| | |||||
* | Tony's patch concerning date format configuration imported | Frederic Culot | 2008-04-09 | 1 | -3/+58 |
| | |||||
* | bugfix: check for null pointer added when drawing color configuration window ↵ | Frederic Culot | 2008-02-16 | 1 | -2/+4 |
| | | | | (which could remain invisible otherwise) |