aboutsummaryrefslogtreecommitdiffstats
path: root/src/custom.c
Commit message (Collapse)AuthorAgeFilesLines
* Handle resize properly in the sidebar config menuLukas Fleischer2011-06-291-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 resizeLukas Fleischer2011-06-281-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 resizeLukas Fleischer2011-06-281-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 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>
* Fix bad use of unsigned integers.Lukas Fleischer2011-04-051-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 Fleischer2011-04-051-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 Fleischer2011-03-141-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 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
|
* Exit menu item added to sidebar configuration screen (thanks Doug for ↵Frederic Culot2010-03-291-2/+3
| | | | reporting this).
* Online help added for side bar configuration screen.Frederic Culot2010-03-211-20/+24
|
* Avoid concurrent screen refreshes.Frederic Culot2010-03-211-9/+9
|
* More work on sidebar customization.Frederic Culot2010-03-211-6/+14
|
* Work on sidebar width user-customization.Frederic Culot2010-03-201-15/+63
|
* All headers gathered into a single one. Typedefs suppressed.Frederic Culot2010-03-201-55/+75
|
* Code to save the calendar default view in the configuration file.Frederic Culot2009-10-281-2/+8
|
* conf_set_scrsize not static any more (moved to custom_set_swsiz)Frederic Culot2009-08-021-6/+6
|
* Save and restore daemon configuration options.Frederic Culot2009-08-011-3/+15
|
* bugfixesFrederic Culot2009-07-291-4/+4
|
* calcurse version removed from menu titlesFrederic Culot2009-07-121-8/+5
|
* stdbool header removed, unsigned type used insteadFrederic Culot2009-07-121-8/+8
|
* Switch to BSD license.Frederic Culot2009-07-051-14/+26
|
* Bugfix: avoid a possible freeze under OpenBSD when changing color from ↵Frederic Culot2009-06-201-3/+12
| | | | within the configuration screen.
* make it possible to use KEY_HOME and KEY_END to define new key bindings, and ↵Frederic Culot2009-01-241-8/+24
| | | | prevent user from assigning a non-recgnized key
* iso date format addedFrederic Culot2009-01-051-5/+7
|
* more code cleanupFrederic Culot2009-01-031-2/+5
|
* code cleanupFrederic Culot2009-01-021-14/+17
|
* Automatic periodic saves implementedFrederic Culot2008-12-281-31/+81
|
* Added wrappers around libc's memory management functions, to easily debug ↵Frederic Culot2008-12-281-21/+29
| | | | memory usage
* new layout configuration menuFrederic Culot2008-12-201-23/+160
|
* small bugfixes and code cleanupFrederic Culot2008-12-141-36/+19
|
* color configuration menu adapted to handle user-defined key bindingsFrederic Culot2008-12-081-25/+39
|
* Checks added while loading key bindings configuration.Frederic Culot2008-12-071-9/+9
|
* User-defined keys are now saved to file.Frederic Culot2008-11-251-5/+2
|
* Building configuration menu to assign keybindingsFrederic Culot2008-11-231-18/+231
|
* More work on implementing user-definable keybindingsFrederic Culot2008-11-161-8/+9
|
* Loading of user-configurable keys implementedFrederic Culot2008-11-091-2/+2
|
* import flag and 'i' keybinding addedFrederic Culot2008-09-211-4/+4
|
* some memory leaks fixed using valgrind and some minor code cleanupFrederic Culot2008-04-191-4/+3
|
* Scrollbar added in general configuration menuFrederic Culot2008-04-191-77/+95
|
* Yet another style for source code. GNU style now used (I am fed up with tabs...)Frederic Culot2008-04-121-693/+726
|
* Tony's patch concerning date format configuration importedFrederic Culot2008-04-091-3/+58
|
* bugfix: check for null pointer added when drawing color configuration window ↵Frederic Culot2008-02-161-2/+4
| | | | (which could remain invisible otherwise)
* custom_general_config() updated to handle basic window resizingFrederic Culot2007-10-211-184/+221
| | | | | custom_confwin_init() and display_color_config() added custom_color_config() rewritten
* layout_config() updated to use wins_set_layout()Frederic Culot2007-08-151-10/+7
|
* unuseful headers removed and some functions became staticFrederic Culot2007-07-281-110/+106
|
* no more window erase in custom_load_conf()Frederic Culot2007-07-211-4/+105
| | | | custom_print_general_options() and custom_general_config() added
* custom_load_conf() and erase_window_part() updated to use window_t typeFrederic Culot2007-07-201-3/+3
|