Lukas Fleischer
2030a0563c
Parse appointment end times correctly if they date back.
...
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-13 12:57:55 +01:00
Lukas Fleischer
0e5a9f1620
Clean up updatestring() in "utils.c".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-05 17:49:27 +01:00
Lukas Fleischer
a778706791
Simplify date_sec2date_fmt() in "utils.c".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-05 17:30:35 +01:00
Lukas Fleischer
6f425dc1fa
Clean up and simplify line editing functions.
...
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-05 17:18:21 +01:00
Lukas Fleischer
355687b644
Ensure key descriptions in status bar are always null-terminated.
...
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-05 15:39:01 +01:00
Lukas Fleischer
9dad482ad8
Remove unnecessary casting variables from get_item_{hour,min}().
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 14:36:48 +01:00
Lukas Fleischer
81584e77f8
Fix mail address of release announcement list.
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 11:40:17 +01:00
Lukas Fleischer
c22dcaf6be
Update website links to match the new URL.
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 11:07:49 +01:00
Lukas Fleischer
73e9649387
Update mail addresses to match the new mailing lists.
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 11:07:40 +01:00
Lukas Fleischer
30da37addd
Reformat "src/Makefile.am".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 10:15:03 +01:00
Lukas Fleischer
d42d07ef69
Simplify date_sec2date_str() in "utils.c".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 10:12:27 +01:00
Lukas Fleischer
fdcfd74823
Remove date_sec2hour_str() from "utils.c".
...
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-04 10:08:02 +01:00
Lukas Fleischer
082e7d4b98
Simplify date2sec() in "utils.c".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 10:01:23 +01:00
Lukas Fleischer
8b34a0e0fd
Simplify check_time() in "utils.c".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 09:51:04 +01:00
Lukas Fleischer
0d12a788ad
Simplify print_in_middle() in "utils.c".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 09:28:18 +01:00
Lukas Fleischer
4b8558ed47
Reformat erase_window_part() in "utils.c".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 09:21:08 +01:00
Lukas Fleischer
65fb1ff8b1
Simplify get_item_hour() and get_item_min() in "utils.c".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 09:17:21 +01:00
Lukas Fleischer
061f74108b
Simplify str_toupper() in "utils.c".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 08:54:01 +01:00
Lukas Fleischer
05900b62e9
Simplify file_close() in "utils.c".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 08:46:04 +01:00
Lukas Fleischer
1fc9c69e43
Simplify now() and nowstr() in "utils.c".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-04 08:43:37 +01:00
Lukas Fleischer
aaa000cd5a
Convert man page to AsciiDoc.
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03 18:53:31 +01:00
Lukas Fleischer
91c9cac898
Remove CVS "$Id" headers.
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03 16:19:45 +01:00
Lukas Fleischer
012e446194
Quick fix for "autogen.sh" version comparison breakage.
...
The autogen script failed to compare program versions properly printing
error messages like "./autogen.sh: line 107: [: too many arguments" to
stderr. This commit adds a hacky fix. To fix this properly,
check_program_version() should be rewritten from scratch.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03 15:19:55 +01:00
Lukas Fleischer
ea44597a5a
Add "ABOUT-NLS" to clean_old_files() in "autogen.sh".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03 14:51:09 +01:00
Lukas Fleischer
a66be4604b
Replace tabs by spaces in "autogen.sh".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03 14:50:00 +01:00
Lukas Fleischer
8710680bd3
Add "COPYING" file.
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03 12:21:25 +01:00
Lukas Fleischer
b6294ce68c
Fix references in "doc/manual.txt".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03 12:21:25 +01:00
Lukas Fleischer
6a6d4a0c61
Add ".gitignore".
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03 12:21:25 +01:00
Lukas Fleischer
3e15efe917
Convert documentation to AsciiDoc, delete translations.
2011-03-03 12:21:25 +01:00
Lukas Fleischer
2d938cdcda
Avoid a segfault when resizing the help window.
2011-03-03 12:21:25 +01:00
Lukas Fleischer
56b9cbcb84
Fixed file permissions.
2011-03-03 12:21:16 +01:00
Lukas Fleischer
521511aa93
Code cleanup and fixed compiler warning.
2011-01-11 22:31:40 +00:00
Lukas Fleischer
c8af480f52
Make parse_date accept several short forms.
...
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.
2011-01-11 22:10:48 +00:00
Lukas Fleischer
b8779e714a
Added "backword-kill-word" functionality to getstring().
2010-11-04 10:55:07 +00:00
Lukas Fleischer
0cb57bb247
Changed mail address to "calcurse@cryptocrack.de".
2010-11-01 18:33:47 +00:00
Frederic Culot
9f4468e20a
Fix compile errors in German translation.
2010-10-23 11:08:28 +00:00
Frederic Culot
4e8f5f93cd
German translation updated by Benjamen Moeller, thanks.
2010-10-23 10:56:36 +00:00
Frederic Culot
7385830929
Add Lukas Fleischer to the AUTHORS section of the manpage.
2010-10-23 10:38:02 +00:00
Frederic Culot
9cd3bf7f12
Apply patches sent by Lukas Fleischer and add him as an author.
2010-10-23 10:33:29 +00:00
Frederic Culot
1a6cdeab55
is_all_digit() rewritten.
...
Patch submitted by Lukas Fleischer, thanks.
2010-10-23 10:25:53 +00:00
Frederic Culot
3cad806d3e
isBissextile() removed and replaced by isleap macro.
...
Patch submitted by Lukas Fleischer, thanks.
2010-10-23 10:19:47 +00:00
Frederic Culot
41857b5f8e
calcurse 2.8 released.
2010-05-29 07:33:58 +00:00
Frederic Culot
9c1073daee
calcurse 2.8 released.
2010-05-29 07:26:55 +00:00
Frederic Culot
fd413eb02a
Reference to the COPYING file removed.
2010-05-28 15:38:14 +00:00
Frederic Culot
142b1cfbc1
Copyright updated.
2010-05-26 18:18:28 +00:00
Frederic Culot
7dedcf3516
Updates for the upcoming 2.8.
2010-05-26 17:59:56 +00:00
Frederic Culot
98ccd2c2e1
html manuals updated.
2010-03-29 18:18:01 +00:00
Frederic Culot
63b76b048e
Cosmetics in the calendar weekly view.
2010-03-29 11:48:05 +00:00
Frederic Culot
5c36fe947e
Adapt the weekly calendar view to the side bar width.
2010-03-29 11:45:03 +00:00
Frederic Culot
b4dcd1c38f
Exit menu item added to sidebar configuration screen (thanks Doug for reporting this).
2010-03-29 07:37:16 +00:00