73 Commits

Author SHA1 Message Date
Lukas Fleischer
6f883c0f3f Use generic lists for events.
Use the new generic list implementation instead of those insane "next"
pointers in events. Includes some cleanups.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-04-19 11:42:34 +02:00
Lukas Fleischer
77ef3fe76e Use generic lists for appointments.
Use the new generic list implementation instead of "apoint_list"
everywhere. Simplify stuff and drop unused variables as well.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-04-19 11:42:33 +02:00
Lukas Fleischer
6fb0f6f4c6 Compare pointers to "NULL" instead of "0".
"bad_zero.cocci" spatch from http://coccinelle.lip6.fr/impact_linux.php.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-04-05 09:27:04 +02:00
Lukas Fleischer
5b12c236cf Remove dead assignments spotted by clang-analyzer.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2011-04-03 22:09:00 +02:00
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
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
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
Frederic Culot
142b1cfbc1 Copyright updated. 2010-05-26 18:18:28 +00:00
Frederic Culot
a8cb1c92ef All headers gathered into a single one. Typedefs suppressed. 2010-03-20 10:54:41 +00:00
Frederic Culot
df75c2754a Also check for notes directory. 2009-11-01 11:19:14 +00:00
Frederic Culot
9ac8389823 Check for data directory availability added (thanks Brandon for reporting this bug). 2009-11-01 11:06:37 +00:00
Frederic Culot
246d73ef15 Help on --status flag added 2009-08-02 07:22:50 +00:00
Frederic Culot
bccd37ef96 --status flag added 2009-07-26 20:26:14 +00:00
Frederic Culot
aef6f012fe Check for file presence added (thanks again Chris for reporting it). 2009-07-26 12:30:23 +00:00
Frederic Culot
a93d88c370 Dates are now written properly again when using the '-r' flag (thanks Chris again for your report). 2009-07-15 19:16:21 +00:00
Frederic Culot
d374a2ec2e bugfix: import and export todo items again! 2009-07-12 18:16:11 +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
9dce4c534e Support added for regex-based searches. Many thanks Erik for providing the patch. 2009-07-05 17:23:06 +00:00
Frederic Culot
6d67689b4f Simplified the way data are loaded and saved. 2009-06-28 09:53:16 +00:00
Frederic Culot
68381c95df Help updated for the -t command line flag. 2009-06-28 07:30:11 +00:00
Frederic Culot
ea107cfd81 Ability to flag todo items as completed. 2009-06-26 21:44:11 +00:00
Frederic Culot
1775eb3245 Do not print todo items twice if the -d and -t flags are given (thanks Timo for reporting this bug). 2009-06-26 19:56:31 +00:00
Frederic Culot
dfa4c580aa Make the argument given to -r or -s flags optional. 2009-06-23 09:05:15 +00:00
Frederic Culot
3ece481999 Copyright date updated 2009-06-20 17:59:04 +00:00
Frederic Culot
87f010ff06 bugfix: load keys even in non-interactive mode to avoid the loss of user-configured key bindings 2009-01-24 18:45:35 +00:00
Frederic Culot
936b6fe373 more code cleanup 2009-01-03 21:32:10 +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
639058740a Checks added while loading key bindings configuration. 2008-12-07 09:20:38 +00:00
Frederic Culot
7ddfcccee0 import flag and 'i' keybinding added 2008-09-21 08:05:52 +00:00
Frederic Culot
a126904b7e Initial work on icalendar import 2008-09-15 20:40:22 +00:00
Frederic Culot
4255169a3c typo 2008-08-12 15:53:17 +00:00
Frederic Culot
d84bb63e93 Optional 'format' option added to '-x' flag, help updated 2008-08-11 18:08:45 +00:00
Frederic Culot
1674800d5f pcal export added 2008-08-10 09:24:46 +00:00
Frederic Culot
a2fe228ebe new command line options added (thanks Erik for the patch) 2008-08-06 17:44:34 +00:00
Frederic Culot
8ba04b5220 strcat use avoided 2008-04-20 12:54:05 +00:00
Frederic Culot
2341c90003 some memory leaks fixed using valgrind and some minor code cleanup 2008-04-19 21:04:47 +00:00
Frederic Culot
efd782699b Yet another style for source code. GNU style now used (I am fed up with tabs...) 2008-04-12 21:14:03 +00:00
Frederic Culot
0c281d2c1e Tony's patch concerning date format configuration imported 2008-04-09 20:38:29 +00:00
Frederic Culot
4a89094f0e usage updated 2008-04-05 14:55:59 +00:00
Frederic Culot
23b236bc38 patch submitted by Erik Saule imported (ability to display note contents in non-interactive mode) 2008-04-05 10:21:51 +00:00
Frederic Culot
7a2a68de27 small bugfixes 2008-04-04 21:30:12 +00:00
Frederic Culot
9b707f6b3a next_arg() rewritten, date_arg() improved 2007-10-16 19:09:18 +00:00
Frederic Culot
9352d618af bugfix: possible release of non-allocated memory blocks 2007-10-08 20:44:03 +00:00
Frederic Culot
c04fee7e14 bugfix: shift in date_arg(), thanks Herbert for reporting this bug 2007-09-01 21:26:12 +00:00
Frederic Culot
406a0b2b2f io_load_todo() call updated in todo_arg() 2007-08-15 15:36:49 +00:00