44 Commits

Author SHA1 Message Date
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
3cad806d3e isBissextile() removed and replaced by isleap macro.
Patch submitted by Lukas Fleischer, thanks.
2010-10-23 10:19:47 +00:00
Frederic Culot
63b76b048e Cosmetics in the calendar weekly view. 2010-03-29 11:48:05 +00:00
Frederic Culot
5c36fe947e Adapt the weekly calendar view to the side bar width. 2010-03-29 11:45:03 +00:00
Frederic Culot
cc77e839d8 More work on sidebar customization. 2010-03-21 09:21:06 +00:00
Frederic Culot
ec36b96848 Work on sidebar width user-customization. 2010-03-20 13:29:47 +00:00
Frederic Culot
a8cb1c92ef All headers gathered into a single one. Typedefs suppressed. 2010-03-20 10:54:41 +00:00
Frederic Culot
b2321a7567 Patch to correct the wrong calculation of recurrent items' dates after a
turn of year (submitted by Lukas Fleischer, thanks!).
2010-03-08 08:44:28 +00:00
Frederic Culot
2ec8ab17ac Compiler problem fixed (thanks Petr for reporting it). 2010-03-01 18:55:44 +00:00
Frederic Culot
758d5ff035 Code to save the calendar default view in the configuration file. 2009-10-28 15:15:43 +00:00
Frederic Culot
0c2f81e02a Changes in the calendar weekly view. 2009-10-16 15:52:00 +00:00
Frederic Culot
abc03bb86f More work on the weekly calendar view. 2009-10-08 16:28:05 +00:00
Frederic Culot
a90f680d70 Display week number inside weekly calendar view. 2009-08-25 14:51:41 +00:00
Frederic Culot
2cfafe8a89 Work on implementing the weekly calendar view. 2009-08-24 18:59:16 +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
45a4d5446a Day names and selected date colour now follow user's theme. 2009-06-20 16:54:44 +00:00
Frederic Culot
9549ee0f8c do not crash when canceling the thread if it was not launched before 2009-01-24 20:41:52 +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
65ec1bb0fa small bugfixes and code cleanup 2008-12-14 15:54:50 +00:00
Frederic Culot
639058740a Checks added while loading key bindings configuration. 2008-12-07 09:20:38 +00:00
Frederic Culot
9d4899110a More work on implementing user-definable keybindings 2008-11-16 17:42:53 +00:00
Frederic Culot
1674800d5f pcal export added 2008-08-10 09:24:46 +00:00
Frederic Culot
03ce2c6ea9 new keybindings added 2008-08-03 18:41:55 +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
2c4f7c9e27 calendar_move_*() functions modified to properly handle leap years and
merged into calendar_move()
date_change() added
2007-12-10 18:59:48 +00:00
Frederic Culot
53ead324ad routines updated to handle new window_t and window_e types 2007-10-21 13:42:34 +00:00
Frederic Culot
c933021597 calendar_change_day() and calendar_move_*() updated to prevent user from entering an unsupported date 2007-10-16 19:11:10 +00:00
Frederic Culot
a9edab12b4 calendar_get_pom(), pom(), potm() and adj360() added, based on the OpenBSD version of pom(6) 2007-08-12 13:09:02 +00:00
Frederic Culot
4b987f70ac unuseful headers removed and some functions became static 2007-07-28 13:11:42 +00:00
Frederic Culot
a18b025933 calendar_date_thread implemented to check for day changes (thanks Jupp for
reporting the problem)
code cleanup in goto_day() and update_cal_panel()
static variables today and slctd_day added
calendar_store_current_date(), calendar_get_slctd_day(),
calendar_get_slctd_day_sec(), calendar_init_slctd_day() created
calendar_move_up(), calendar_move_down(), calendar_move_left() and
calendar_move_right() created
calendar_set_first_day_of_week(), calendar_change_first_day_of_week() and
calendar_week_begins_on_monday() created
2007-07-01 17:48:50 +00:00
Frederic Culot
f82590c811 global variable 'colr' suppressed 2007-03-10 15:54:24 +00:00
Frederic Culot
6bbf3e5f2e use of getstring() defines 2007-01-16 07:49:54 +00:00
Frederic Culot
9286299e3d better checking of the entered date in goto_day() 2007-01-10 13:43:51 +00:00
Frederic Culot
650ac9dfe7 date format modified for the 'Go To' command 2006-12-10 14:51:41 +00:00
Frederic Culot
725c1b1030 call to getstring() updated 2006-11-02 13:42:48 +00:00
Frederic Culot
f24d66497d getstring() call in goto_day() updated 2006-10-28 10:33:15 +00:00
Frederic Culot
ac36e94341 Initial revision 2006-07-31 21:00:02 +00:00