aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update portable object files.Lukas Fleischer2011-04-106-2466/+193
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Update "calcurse.pot".Lukas Fleischer2011-04-101-383/+2
| | | | | | | Renegerate the catalog file with our new xgettext options. Drop line numbers. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Add "--no-location" to xgettext options.Lukas Fleischer2011-04-101-0/+4
| | | | | | | Disable line numbers in portable object files. They are not very useful and generate a lot of junk on every update, hiding the actual changes. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Fix Transifex resource slug in documentation.Lukas Fleischer2011-04-101-3/+3
| | | | | | | | The slug of the "calcurse.pot" resource has been changed from "calcurse-pot" to "calcursepot" for consistency reasons. Update the documentation where necessary. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Fix bad use of unsigned integers.Lukas Fleischer2011-04-052-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 Fleischer2011-04-0512-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 Fleischer2011-04-031-4/+1
| | | | | | Seen with "-Wunused-but-set-variable". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Remove dead assignments spotted by clang-analyzer.Lukas Fleischer2011-04-038-40/+17
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Avoid assignment of undefined value in parse_date().Lukas Fleischer2011-04-031-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 Saule2011-03-291-8/+24
| | | | | | Lukas: Small formatting and logic changes. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Update translation help in the manual.Lukas Fleischer2011-03-151-13/+75
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Add note on dropped translations to the manual.Lukas Fleischer2011-03-151-0/+5
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Try to stick to the GNU coding standards for the sake of consistency.Lukas Fleischer2011-03-151-133/+170
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Use upper case for macro names.Lukas Fleischer2011-03-153-12/+12
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Remove "ChangeLog".Lukas Fleischer2011-03-141-3123/+0
| | | | | | | | | After some discussions on the mailing lists, we decided to remove the GNU-style ChangeLog, as turned out to be very inconvenient. Also, it merely is a replication of the Git log. If you need a similar ChangeLog, use `git log` (or `git log --stats`) instead. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Overall indentation fixes.Lukas Fleischer2011-03-1419-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>
* Add russian translation.Lukas Fleischer2011-03-132-1/+2868
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* 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>
* Fix mail address of release announcement list.Lukas Fleischer2011-03-041-1/+1
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Update website links to match the new URL.Lukas Fleischer2011-03-0428-41/+43
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Update mail addresses to match the new mailing lists.Lukas Fleischer2011-03-0429-72/+71
| | | | 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-035-274/+302
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Remove CVS "$Id" headers.Lukas Fleischer2011-03-0334-68/+0
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Quick fix for "autogen.sh" version comparison breakage.Lukas Fleischer2011-03-031-4/+3
| | | | | | | | | 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>
* Add "ABOUT-NLS" to clean_old_files() in "autogen.sh".Lukas Fleischer2011-03-031-1/+1
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Replace tabs by spaces in "autogen.sh".Lukas Fleischer2011-03-031-3/+3
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Add "COPYING" file.Lukas Fleischer2011-03-031-0/+27
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Fix references in "doc/manual.txt".Lukas Fleischer2011-03-031-2/+3
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Add ".gitignore".Lukas Fleischer2011-03-031-0/+38
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Convert documentation to AsciiDoc, delete translations.Lukas Fleischer2011-03-0312-8814/+1172
|
* Avoid a segfault when resizing the help window.Lukas Fleischer2011-03-032-27/+34
|
* Fixed file permissions.Lukas Fleischer2011-03-0337-0/+40
|
* Code cleanup and fixed compiler warning.Lukas Fleischer2011-01-112-30/+34
|
* Make parse_date accept several short forms.Lukas Fleischer2011-01-117-56/+87
| | | | | | | | | 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.