aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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-041-1/+1
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Update mail addresses to match the new mailing lists.Lukas Fleischer2011-03-041-1/+1
| | | | 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-041-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 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-041-6/+3
| | | | 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>
* Remove CVS "$Id" headers.Lukas Fleischer2011-03-031-2/+0
| | | | Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
* Fixed file permissions.Lukas Fleischer2011-03-031-0/+0
|
* Make parse_date accept several short forms.Lukas Fleischer2011-01-111-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 Fleischer2010-11-041-1/+20
|
* is_all_digit() rewritten.Frederic Culot2010-10-231-12/+5
| | | | Patch submitted by Lukas Fleischer, thanks.
* Avoid concurrent screen refreshes.Frederic Culot2010-03-211-11/+10
|
* All headers gathered into a single one. Typedefs suppressed.Frederic Culot2010-03-201-22/+10
|
* Start and log daemon activity only if requested.Frederic Culot2009-08-011-2/+3
|
* Work on allocating and freeing memory associated with user's data for the ↵Frederic Culot2009-07-271-12/+18
| | | | daemon.
* --status flag addedFrederic Culot2009-07-261-8/+7
|
* More work on implementing calcurse daemon.Frederic Culot2009-07-261-2/+6
|
* Functions added to implement a logging mechanism for calcurse daemon.Frederic Culot2009-07-231-1/+13
|
* Beginning of work on implementing calcurse daemon.Frederic Culot2009-07-201-1/+18
|
* New wrappers around memory functions.Frederic Culot2009-07-121-2/+2
|
* stdbool header removed, unsigned type used insteadFrederic Culot2009-07-121-5/+5
|
* Switch to BSD license.Frederic Culot2009-07-051-14/+26
|
* More explicit error message.Frederic Culot2009-07-051-2/+2
|
* Fixed a bug in the line editor: characters could be erased before the ↵Frederic Culot2009-07-051-2/+2
| | | | beginning of the string (thanks Martin for reporting this).
* Need to remove lock only if interactive mode was launched before.Frederic Culot2009-06-231-2/+10
|
* Basic lock mechanism implemented to avoid having two calcurse instances ↵Frederic Culot2009-06-211-1/+2
| | | | running at the same time.
* Free memory associated with structure used for appointments notification.Frederic Culot2009-06-211-1/+3
|
* make it possible to use KEY_HOME and KEY_END to define new key bindings, and ↵Frederic Culot2009-01-241-2/+31
| | | | prevent user from assigning a non-recgnized key
* iso date format addedFrederic Culot2009-01-051-13/+30
|
* more code cleanupFrederic Culot2009-01-031-137/+12
|
* code cleanupFrederic Culot2009-01-021-6/+1
|
* cut/paste feature adedFrederic Culot2009-01-011-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)
* Automatic periodic saves implementedFrederic Culot2008-12-281-2/+4
|
* Added wrappers around libc's memory management functions, to easily debug ↵Frederic Culot2008-12-281-25/+46
| | | | memory usage
* new layout configuration menuFrederic Culot2008-12-201-3/+3
|
* small bugfixes and a major one (freeze when deleting an appointment's note, ↵Frederic Culot2008-12-151-2/+2
| | | | thanks Jan for reporting it)
* small bugfixes and code cleanupFrederic Culot2008-12-141-20/+9
|
* daylight saving time related problems fixed (thanks youshe and Jan for ↵Frederic Culot2008-12-131-1/+2
| | | | reporting them)
* code cleanupFrederic Culot2008-12-121-89/+27
|
* color configuration menu adapted to handle user-defined key bindingsFrederic Culot2008-12-081-4/+2
|