summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-03-14Overall indentation fixes.Lukas Fleischer
Use spaces instead of tabs for source code indentation only, strip trailing whitespaces from lines. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-13Parse appointment end times correctly if they date back.Lukas Fleischer
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>
2011-03-05Clean up updatestring() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-05Simplify date_sec2date_fmt() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-05Clean up and simplify line editing functions.Lukas Fleischer
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>
2011-03-05Ensure key descriptions in status bar are always null-terminated.Lukas Fleischer
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>
2011-03-04Remove unnecessary casting variables from get_item_{hour,min}().Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Update website links to match the new URL.Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Update mail addresses to match the new mailing lists.Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Reformat "src/Makefile.am".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Simplify date_sec2date_str() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Remove date_sec2hour_str() from "utils.c".Lukas Fleischer
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>
2011-03-04Simplify date2sec() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Simplify check_time() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Simplify print_in_middle() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Reformat erase_window_part() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Simplify get_item_hour() and get_item_min() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Simplify str_toupper() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Simplify file_close() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04Simplify now() and nowstr() in "utils.c".Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03Convert man page to AsciiDoc.Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03Remove CVS "$Id" headers.Lukas Fleischer
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03Avoid a segfault when resizing the help window.Lukas Fleischer
2011-03-03Fixed file permissions.Lukas Fleischer
2011-01-11Code cleanup and fixed compiler warning.Lukas Fleischer
2011-01-11Make parse_date accept several short forms.Lukas Fleischer
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.
2010-11-04Added "backword-kill-word" functionality to getstring().Lukas Fleischer
2010-11-01Changed mail address to "calcurse@cryptocrack.de".Lukas Fleischer
2010-10-23Add Lukas Fleischer to the AUTHORS section of the manpage.Frederic Culot
2010-10-23is_all_digit() rewritten.Frederic Culot
Patch submitted by Lukas Fleischer, thanks.
2010-10-23isBissextile() removed and replaced by isleap macro.Frederic Culot
Patch submitted by Lukas Fleischer, thanks.
2010-05-28Reference to the COPYING file removed.Frederic Culot
2010-05-26Copyright updated.Frederic Culot
2010-05-26Updates for the upcoming 2.8.Frederic Culot
2010-03-29Cosmetics in the calendar weekly view.Frederic Culot
2010-03-29Adapt the weekly calendar view to the side bar width.Frederic Culot
2010-03-29Exit menu item added to sidebar configuration screen (thanks Doug for ↵Frederic Culot
reporting this).
2010-03-23Check added to avoid problems in case side bar width is not found in ↵Frederic Culot
configuration file.
2010-03-22Compilation issue related to memory functions definition fixed (thanks Doug ↵Frederic Culot
for reporting it).
2010-03-21Online help added for side bar configuration screen.Frederic Culot
2010-03-21Avoid concurrent screen refreshes.Frederic Culot
2010-03-21More work on sidebar customization.Frederic Culot
2010-03-20Work on sidebar width user-customization.Frederic Culot
2010-03-20All headers gathered into a single one. Typedefs suppressed.Frederic Culot
2010-03-08Patch to correct the wrong calculation of recurrent items' dates after aFrederic Culot
turn of year (submitted by Lukas Fleischer, thanks!).
2010-03-01Compiler problem fixed (thanks Petr for reporting it).Frederic Culot
2010-02-14Avoid a segfault when txt_max_len becomes too small. Reported by Thorsten, ↵Frederic Culot
thanks.
2009-11-01Also check for notes directory.Frederic Culot
2009-11-01Check for data directory availability added (thanks Brandon for reporting ↵Frederic Culot
this bug).
2009-10-28Code to save the calendar default view in the configuration file.Frederic Culot