summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Parse appointment end times correctly if they date back.Lukas Fleischer2011-03-131-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 Fleischer2011-03-051-15/+18
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Simplify date_sec2date_fmt() in "utils.c".Lukas Fleischer2011-03-051-5/+1
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Clean up and simplify line editing functions.Lukas Fleischer2011-03-051-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 Fleischer2011-03-051-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 Fleischer2011-03-041-4/+2
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Update website links to match the new URL.Lukas Fleischer2011-03-0420-21/+21
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Update mail addresses to match the new mailing lists.Lukas Fleischer2011-03-0420-23/+23
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Reformat "src/Makefile.am".Lukas Fleischer2011-03-041-26/+27
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Simplify date_sec2date_str() in "utils.c".Lukas Fleischer2011-03-041-11/+6
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Remove date_sec2hour_str() from "utils.c".Lukas Fleischer2011-03-043-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 Fleischer2011-03-041-13/+8
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Simplify check_time() in "utils.c".Lukas Fleischer2011-03-041-31/+14
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Simplify print_in_middle() in "utils.c".Lukas Fleischer2011-03-041-14/+9
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Reformat erase_window_part() in "utils.c".Lukas Fleischer2011-03-041-7/+4
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Simplify get_item_hour() and get_item_min() in "utils.c".Lukas Fleischer2011-03-041-16/+6
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Simplify str_toupper() in "utils.c".Lukas Fleischer2011-03-043-29/+25
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Simplify file_close() in "utils.c".Lukas Fleischer2011-03-041-4/+1
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Simplify now() and nowstr() in "utils.c".Lukas Fleischer2011-03-041-7/+3
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Convert man page to AsciiDoc.Lukas Fleischer2011-03-031-269/+0
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Remove CVS "$Id" headers.Lukas Fleischer2011-03-0323-46/+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-0319-0/+0
|
* Code cleanup and fixed compiler warning.Lukas Fleischer2011-01-111-30/+30
|
* Make parse_date accept several short forms.Lukas Fleischer2011-01-116-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 Fleischer2010-11-041-1/+20
|
* Changed mail address to "calcurse@cryptocrack.de".Lukas Fleischer2010-11-011-2/+2
|
* Add Lukas Fleischer to the AUTHORS section of the manpage.Frederic Culot2010-10-231-3/+5
|
* is_all_digit() rewritten.Frederic Culot2010-10-231-12/+5
| | | | Patch submitted by Lukas Fleischer, thanks.
* isBissextile() removed and replaced by isleap macro.Frederic Culot2010-10-231-10/+4
| | | | Patch submitted by Lukas Fleischer, thanks.
* Reference to the COPYING file removed.Frederic Culot2010-05-281-3/+2
|
* Copyright updated.Frederic Culot2010-05-261-2/+2
|
* Updates for the upcoming 2.8.Frederic Culot2010-05-261-4/+4
|
* Cosmetics in the calendar weekly view.Frederic Culot2010-03-291-2/+2
|
* Adapt the weekly calendar view to the side bar width.Frederic Culot2010-03-291-12/+17
|
* Exit menu item added to sidebar configuration screen (thanks Doug for ↵Frederic Culot2010-03-291-2/+3
| | | | reporting this).
* Check added to avoid problems in case side bar width is not found in ↵Frederic Culot2010-03-231-2/+4
| | | | configuration file.
* Compilation issue related to memory functions definition fixed (thanks Doug ↵Frederic Culot2010-03-221-17/+21
| | | | for reporting it).
* Online help added for side bar configuration screen.Frederic Culot2010-03-211-20/+24
|
* Avoid concurrent screen refreshes.Frederic Culot2010-03-217-37/+107
|
* More work on sidebar customization.Frederic Culot2010-03-215-30/+123
|
* Work on sidebar width user-customization.Frederic Culot2010-03-205-38/+114
|
* All headers gathered into a single one. Typedefs suppressed.Frederic Culot2010-03-2040-2493/+1512
|
* Patch to correct the wrong calculation of recurrent items' dates after aFrederic Culot2010-03-084-19/+88
| | | | turn of year (submitted by Lukas Fleischer, thanks!).
* Compiler problem fixed (thanks Petr for reporting it).Frederic Culot2010-03-011-1/+3
|
* Avoid a segfault when txt_max_len becomes too small. Reported by Thorsten, ↵Frederic Culot2010-02-141-3/+6
| | | | thanks.
* Also check for notes directory.Frederic Culot2009-11-011-1/+2
|
* Check for data directory availability added (thanks Brandon for reporting ↵Frederic Culot2009-11-013-8/+13
| | | | this bug).
* Code to save the calendar default view in the configuration file.Frederic Culot2009-10-285-6/+31
|
* Description of the scroll keys added to the generic keys help screen.Frederic Culot2009-10-281-3/+9
|