Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix bad use of unsigned integers. | Lukas Fleischer | 2011-04-05 | 2 | -4/+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 | 12 | -93/+93 | |
| | | | | | | "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> | |||||
* | Remove dead assignments spotted by clang-analyzer. | Lukas Fleischer | 2011-04-03 | 8 | -40/+17 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Avoid assignment of undefined value in parse_date(). | Lukas Fleischer | 2011-04-03 | 1 | -4/+4 | |
| | | | | | | Spotted by clang-analyzer ("Assigned value is garbage or undefined"). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | ignore the lock file if the pointed process is dead. | Erik Saule | 2011-03-29 | 1 | -8/+24 | |
| | | | | | | Lukas: Small formatting and logic changes. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Try to stick to the GNU coding standards for the sake of consistency. | Lukas Fleischer | 2011-03-15 | 1 | -133/+170 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Use upper case for macro names. | Lukas Fleischer | 2011-03-15 | 3 | -12/+12 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Overall indentation fixes. | Lukas Fleischer | 2011-03-14 | 19 | -2280/+2280 | |
| | | | | | | | Use spaces instead of tabs for source code indentation only, strip trailing whitespaces from lines. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Parse appointment end times correctly if they date back. | Lukas Fleischer | 2011-03-13 | 1 | -1/+1 | |
| | | | | | | | | | End times used to be parsed incorrectly if start and end time's hour components were equal, but the end time was smaller than the start time. This is fixed by comparing the minute components as well in case of equal hour components. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Clean up updatestring() in "utils.c". | Lukas Fleischer | 2011-03-05 | 1 | -15/+18 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Simplify date_sec2date_fmt() in "utils.c". | Lukas Fleischer | 2011-03-05 | 1 | -5/+1 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Clean up and simplify line editing functions. | Lukas Fleischer | 2011-03-05 | 1 | -158/+100 | |
| | | | | | | | | | This greatly simplifies all line editing functions - especially getstring() and showstring(). showcursor() is removed and integrated into showstring(). del_char() and add_char() are simplified as well. add_char() is renamed to ins_char(). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Ensure key descriptions in status bar are always null-terminated. | Lukas Fleischer | 2011-03-05 | 1 | -0/+1 | |
| | | | | | | | | | Key descriptions are just strncpy()'ed to key[], with KEYS_KEYLEN as maximum character count. This leads to a non-null-terminated string if the source pointer actually points to a string with a length of KEYS_KEYLEN bytes. Always appending a null character fixes this. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Remove unnecessary casting variables from get_item_{hour,min}(). | Lukas Fleischer | 2011-03-04 | 1 | -4/+2 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Update website links to match the new URL. | Lukas Fleischer | 2011-03-04 | 20 | -21/+21 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Update mail addresses to match the new mailing lists. | Lukas Fleischer | 2011-03-04 | 20 | -23/+23 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Reformat "src/Makefile.am". | Lukas Fleischer | 2011-03-04 | 1 | -26/+27 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Simplify date_sec2date_str() in "utils.c". | Lukas Fleischer | 2011-03-04 | 1 | -11/+6 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Remove date_sec2hour_str() from "utils.c". | Lukas Fleischer | 2011-03-04 | 3 | -18/+1 | |
| | | | | | | | | date_sec2hour_str() is superseded by date_sec2date_str() with "%H:%M" as date format string, so replace all invocations and remove that function from "utils.c". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Simplify date2sec() in "utils.c". | Lukas Fleischer | 2011-03-04 | 1 | -13/+8 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Simplify check_time() in "utils.c". | Lukas Fleischer | 2011-03-04 | 1 | -31/+14 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Simplify print_in_middle() in "utils.c". | Lukas Fleischer | 2011-03-04 | 1 | -14/+9 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Reformat erase_window_part() in "utils.c". | Lukas Fleischer | 2011-03-04 | 1 | -7/+4 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Simplify get_item_hour() and get_item_min() in "utils.c". | Lukas Fleischer | 2011-03-04 | 1 | -16/+6 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Simplify str_toupper() in "utils.c". | Lukas Fleischer | 2011-03-04 | 3 | -29/+25 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Simplify file_close() in "utils.c". | Lukas Fleischer | 2011-03-04 | 1 | -4/+1 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Simplify now() and nowstr() in "utils.c". | Lukas Fleischer | 2011-03-04 | 1 | -7/+3 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Convert man page to AsciiDoc. | Lukas Fleischer | 2011-03-03 | 1 | -269/+0 | |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | |||||
* | Remove CVS "$Id" headers. | Lukas Fleischer | 2011-03-03 | 23 | -46/+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 | 19 | -0/+0 | |
| | ||||||
* | Code cleanup and fixed compiler warning. | Lukas Fleischer | 2011-01-11 | 1 | -30/+30 | |
| | ||||||
* | Make parse_date accept several short forms. | Lukas Fleischer | 2011-01-11 | 6 | -56/+73 | |
| | | | | | | | | | Short forms are only accepted in interactive mode (e.g. when using the "Go to" function, editing a recurrent item's end date, and so on). Samples: "1/1/30" for "01/01/2030", "26" for the 26th of the currently selected month/year or "3/1" for Mar 01 (or Jan 03, depending on the date format) of the currently selected year. | |||||
* | Added "backword-kill-word" functionality to getstring(). | Lukas Fleischer | 2010-11-04 | 1 | -1/+20 | |
| | ||||||
* | Changed mail address to "calcurse@cryptocrack.de". | Lukas Fleischer | 2010-11-01 | 1 | -2/+2 | |
| | ||||||
* | Add Lukas Fleischer to the AUTHORS section of the manpage. | Frederic Culot | 2010-10-23 | 1 | -3/+5 | |
| | ||||||
* | is_all_digit() rewritten. | Frederic Culot | 2010-10-23 | 1 | -12/+5 | |
| | | | | Patch submitted by Lukas Fleischer, thanks. | |||||
* | isBissextile() removed and replaced by isleap macro. | Frederic Culot | 2010-10-23 | 1 | -10/+4 | |
| | | | | Patch submitted by Lukas Fleischer, thanks. | |||||
* | Reference to the COPYING file removed. | Frederic Culot | 2010-05-28 | 1 | -3/+2 | |
| | ||||||
* | Copyright updated. | Frederic Culot | 2010-05-26 | 1 | -2/+2 | |
| | ||||||
* | Updates for the upcoming 2.8. | Frederic Culot | 2010-05-26 | 1 | -4/+4 | |
| | ||||||
* | Cosmetics in the calendar weekly view. | Frederic Culot | 2010-03-29 | 1 | -2/+2 | |
| | ||||||
* | Adapt the weekly calendar view to the side bar width. | Frederic Culot | 2010-03-29 | 1 | -12/+17 | |
| | ||||||
* | Exit menu item added to sidebar configuration screen (thanks Doug for ↵ | Frederic Culot | 2010-03-29 | 1 | -2/+3 | |
| | | | | reporting this). | |||||
* | Check added to avoid problems in case side bar width is not found in ↵ | Frederic Culot | 2010-03-23 | 1 | -2/+4 | |
| | | | | configuration file. | |||||
* | Compilation issue related to memory functions definition fixed (thanks Doug ↵ | Frederic Culot | 2010-03-22 | 1 | -17/+21 | |
| | | | | for reporting it). | |||||
* | 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 | 7 | -37/+107 | |
| | ||||||
* | More work on sidebar customization. | Frederic Culot | 2010-03-21 | 5 | -30/+123 | |
| |