Lukas Fleischer
9c9fd5da15
Overall indentation fixes.
...
Use spaces instead of tabs for source code indentation only, strip
trailing whitespaces from lines.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-14 19:03:53 +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
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
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
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
91c9cac898
Remove CVS "$Id" headers.
...
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-03-03 16:19:45 +01:00
Lukas Fleischer
56b9cbcb84
Fixed file permissions.
2011-03-03 12:21:16 +01: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
Frederic Culot
1a6cdeab55
is_all_digit() rewritten.
...
Patch submitted by Lukas Fleischer, thanks.
2010-10-23 10:25:53 +00:00
Frederic Culot
6892b59622
Avoid concurrent screen refreshes.
2010-03-21 10:17:03 +00:00
Frederic Culot
a8cb1c92ef
All headers gathered into a single one. Typedefs suppressed.
2010-03-20 10:54:41 +00:00
Frederic Culot
55d6703fad
Start and log daemon activity only if requested.
2009-08-01 17:53:11 +00:00
Frederic Culot
b45a8bfbb4
Work on allocating and freeing memory associated with user's data for the daemon.
2009-07-27 19:35:09 +00:00
Frederic Culot
bccd37ef96
--status flag added
2009-07-26 20:26:14 +00:00
Frederic Culot
3d23af73c0
More work on implementing calcurse daemon.
2009-07-26 12:47:15 +00:00
Frederic Culot
ade0470197
Functions added to implement a logging mechanism for calcurse daemon.
2009-07-23 18:33:20 +00:00
Frederic Culot
b55cad85da
Beginning of work on implementing calcurse daemon.
2009-07-20 19:45:26 +00:00
Frederic Culot
834a7e9aaf
New wrappers around memory functions.
2009-07-12 17:48:12 +00:00
Frederic Culot
5694955002
stdbool header removed, unsigned type used instead
2009-07-12 16:21:57 +00:00
Frederic Culot
27b25548a4
Switch to BSD license.
2009-07-05 20:33:13 +00:00
Frederic Culot
fb68568c04
More explicit error message.
2009-07-05 18:59:33 +00:00
Frederic Culot
bcd80d3dfb
Fixed a bug in the line editor: characters could be erased before the beginning of the string (thanks Martin for reporting this).
2009-07-05 16:28:03 +00:00
Frederic Culot
90589eab17
Need to remove lock only if interactive mode was launched before.
2009-06-23 08:52:07 +00:00
Frederic Culot
627fd8a8aa
Basic lock mechanism implemented to avoid having two calcurse instances running at the same time.
2009-06-21 18:16:21 +00:00
Frederic Culot
bc44508a10
Free memory associated with structure used for appointments notification.
2009-06-21 14:42:49 +00:00
Frederic Culot
c8a1b72027
make it possible to use KEY_HOME and KEY_END to define new key bindings, and prevent user from assigning a non-recgnized key
2009-01-24 14:44:09 +00:00
Frederic Culot
38912b36da
iso date format added
2009-01-05 20:12:08 +00:00
Frederic Culot
936b6fe373
more code cleanup
2009-01-03 21:32:10 +00:00
Frederic Culot
bf3bce0ab2
code cleanup
2009-01-02 22:28:53 +00:00
Frederic Culot
cac30a7e14
cut/paste feature aded
...
fixed a 2-years old bug that made repeated items with exceptions to load
uncorrectly in some cases (thanks Jan for reporting it)
2009-01-01 17:50:41 +00:00
Frederic Culot
8fdd1510c6
Automatic periodic saves implemented
2008-12-28 19:41:45 +00:00
Frederic Culot
5352496984
Added wrappers around libc's memory management functions, to easily debug memory usage
2008-12-28 13:13:58 +00:00
Frederic Culot
d54dd2ee73
new layout configuration menu
2008-12-20 19:27:31 +00:00
Frederic Culot
b1d3178bba
small bugfixes and a major one (freeze when deleting an appointment's note, thanks Jan for reporting it)
2008-12-15 20:02:00 +00:00
Frederic Culot
65ec1bb0fa
small bugfixes and code cleanup
2008-12-14 15:54:50 +00:00
Frederic Culot
f06c1b142f
daylight saving time related problems fixed (thanks youshe and Jan for reporting them)
2008-12-13 21:41:25 +00:00
Frederic Culot
53db22a380
code cleanup
2008-12-12 20:44:50 +00:00