Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright notices in source files, documentation and "COPYING". | Lukas Fleischer | 2011-04-22 | 1 | -1/+1 |
| | | | | | | | | | * Update copyright dates (use 2004-2011 as date range everywhere). * Change copyright holder from "Frederic Culot" to "calcurse Development Team". Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Use mem_free() instead of xfree() in check_time(). | Lukas Fleischer | 2011-04-17 | 1 | -1/+1 |
| | | | | | | | xfree() should never be used directly and only be called by one of the mem_*() wrappers. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Fix null pointer dereference in parse_date(). | Lukas Fleischer | 2011-04-12 | 1 | -9/+12 |
| | | | | | | | | Passing a date in format "mm-dd-yy" where short forms are not allowed would lead to a null pointer dereference here. This one fixes that. Spotted by clang-analyzer. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Compare pointers to "NULL" instead of "0". | Lukas Fleischer | 2011-04-05 | 1 | -3/+3 |
| | | | | | | "bad_zero.cocci" spatch from http://coccinelle.lip6.fr/impact_linux.php. 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> | ||||
* | 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 | 1 | -2/+2 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Overall indentation fixes. | Lukas Fleischer | 2011-03-14 | 1 | -30/+30 |
| | | | | | | | Use spaces instead of tabs for source code indentation only, strip trailing whitespaces from lines. 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> | ||||
* | 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 | 1 | -1/+1 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Update mail addresses to match the new mailing lists. | Lukas Fleischer | 2011-03-04 | 1 | -1/+1 |
| | | | | 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 | 1 | -16/+0 |
| | | | | | | | | 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 | 1 | -6/+3 |
| | | | | 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> | ||||
* | Remove CVS "$Id" headers. | Lukas Fleischer | 2011-03-03 | 1 | -2/+0 |
| | | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de> | ||||
* | Fixed file permissions. | Lukas Fleischer | 2011-03-03 | 1 | -0/+0 |
| | |||||
* | Make parse_date accept several short forms. | Lukas Fleischer | 2011-01-11 | 1 | -41/+60 |
| | | | | | | | | | 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 |
| | |||||
* | is_all_digit() rewritten. | Frederic Culot | 2010-10-23 | 1 | -12/+5 |
| | | | | Patch submitted by Lukas Fleischer, thanks. | ||||
* | Avoid concurrent screen refreshes. | Frederic Culot | 2010-03-21 | 1 | -11/+10 |
| | |||||
* | All headers gathered into a single one. Typedefs suppressed. | Frederic Culot | 2010-03-20 | 1 | -22/+10 |
| | |||||
* | Start and log daemon activity only if requested. | Frederic Culot | 2009-08-01 | 1 | -2/+3 |
| | |||||
* | Work on allocating and freeing memory associated with user's data for the ↵ | Frederic Culot | 2009-07-27 | 1 | -12/+18 |
| | | | | daemon. | ||||
* | --status flag added | Frederic Culot | 2009-07-26 | 1 | -8/+7 |
| | |||||
* | More work on implementing calcurse daemon. | Frederic Culot | 2009-07-26 | 1 | -2/+6 |
| | |||||
* | Functions added to implement a logging mechanism for calcurse daemon. | Frederic Culot | 2009-07-23 | 1 | -1/+13 |
| | |||||
* | Beginning of work on implementing calcurse daemon. | Frederic Culot | 2009-07-20 | 1 | -1/+18 |
| | |||||
* | New wrappers around memory functions. | Frederic Culot | 2009-07-12 | 1 | -2/+2 |
| | |||||
* | stdbool header removed, unsigned type used instead | Frederic Culot | 2009-07-12 | 1 | -5/+5 |
| | |||||
* | Switch to BSD license. | Frederic Culot | 2009-07-05 | 1 | -14/+26 |
| | |||||
* | More explicit error message. | Frederic Culot | 2009-07-05 | 1 | -2/+2 |
| | |||||
* | Fixed a bug in the line editor: characters could be erased before the ↵ | Frederic Culot | 2009-07-05 | 1 | -2/+2 |
| | | | | beginning of the string (thanks Martin for reporting this). | ||||
* | Need to remove lock only if interactive mode was launched before. | Frederic Culot | 2009-06-23 | 1 | -2/+10 |
| | |||||
* | Basic lock mechanism implemented to avoid having two calcurse instances ↵ | Frederic Culot | 2009-06-21 | 1 | -1/+2 |
| | | | | running at the same time. | ||||
* | Free memory associated with structure used for appointments notification. | Frederic Culot | 2009-06-21 | 1 | -1/+3 |
| | |||||
* | make it possible to use KEY_HOME and KEY_END to define new key bindings, and ↵ | Frederic Culot | 2009-01-24 | 1 | -2/+31 |
| | | | | prevent user from assigning a non-recgnized key | ||||
* | iso date format added | Frederic Culot | 2009-01-05 | 1 | -13/+30 |
| | |||||
* | more code cleanup | Frederic Culot | 2009-01-03 | 1 | -137/+12 |
| | |||||
* | code cleanup | Frederic Culot | 2009-01-02 | 1 | -6/+1 |
| | |||||
* | cut/paste feature aded | Frederic Culot | 2009-01-01 | 1 | -8/+51 |
| | | | | | fixed a 2-years old bug that made repeated items with exceptions to load uncorrectly in some cases (thanks Jan for reporting it) |