466 Commits

Author SHA1 Message Date
Frederic Culot
95671e19c5 date2sec() and get_sec_date() prototypes updated to take into account date_t type, today() renamed to get_today() 2007-07-01 17:50:53 +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
21bb522bf0 functions renamed to be prefixed with 'calendar_'
CALHEIGHT and CALWIDTH defined
goto_day() prototype updated to take into account date_t type
calendar_store_current_date() created
calendar_goto_day() moved to calendar_change_day()
calendar_get_slctd_day() and calendar_get_slctd_day_sec() added
calendar_init_slctd_day() created
calendar_move_up(), calendar_move_down(), calendar_move_left() and
calendar_move_right() created
wday_t and date_t type defined
calendar_set_first_day_of_week(), calendar_change_first_day_of_week() and
calendar_week_begins_on_monday() created
2007-07-01 17:46:13 +00:00
Frederic Culot
725837e936 week_begins_on_monday suppressed from conf_t type 2007-07-01 17:42:47 +00:00
Frederic Culot
7a15e196e1 nl_cal and nc_cal variables moved to defines in calendar.h
code cleanup in get_date() to get rid of global variables
several changes due to the use of date_t type (today and slctd_day moved to
static variables in calendar.c)
get_date() recoded and moved to calendar_set_current_date()
2007-07-01 17:40:38 +00:00
Frederic Culot
bfecd760b8 bugfix: item ending time is now assigned to correct day in day_edit_item() 2007-05-06 13:33:06 +00:00
Frederic Culot
d89344683c io_save_cal() prototype updated 2007-05-06 13:32:42 +00:00
Frederic Culot
d35c262704 io_save_cal() updated with layout inserted into conf_t structure
bugfix: right part of progress bar now correctly displayed in
progress_bar()
2007-05-06 13:32:17 +00:00
Frederic Culot
096b91d79c code cleanup in custom_load_conf() 2007-05-06 13:31:31 +00:00
Frederic Culot
3d043d9ae2 custom_load_conf() prototype modified
configuration variables enum added
2007-05-06 13:31:09 +00:00
Frederic Culot
0836706383 layout variable added to conf_t type 2007-05-06 13:30:14 +00:00
Frederic Culot
d0bc8348ca bugfix: notify bar init sequence modified to avoid a possible segfault 2007-05-06 13:29:51 +00:00
Frederic Culot
029bf0f3bb notify bar init sequence modified
layout variable added to conf_t type
bugfix: layout is now properly restored (thanks Jose for reporting this
bug)
bugfix: apad width is now correctly updated when changing layout
2007-05-06 13:29:10 +00:00
Frederic Culot
a4facb3687 use of memmove in del_char()
bugfix: added text is now properly displayed after having erased characters
in getstring()
2007-05-06 13:27:51 +00:00
Frederic Culot
eb2992e872 call to custom_load_conf() updated 2007-05-06 13:24:45 +00:00
Frederic Culot
b9257fb413 custom_color_config() made more robust 2007-04-24 17:23:00 +00:00
Frederic Culot
990f317b71 handle different returned values for ncurses pair_content() function 2007-04-22 16:25:36 +00:00
Frederic Culot
6f8f1b5d23 bugfixes in color configuration menu 2007-04-21 15:12:32 +00:00
Frederic Culot
9cae4d01b6 do not colorize by default when entering the color configuration menu 2007-04-21 15:11:20 +00:00
Frederic Culot
77ff02f5ac help_arg() updated to display help for the --export argument
usage() updated
2007-04-15 12:38:29 +00:00
Frederic Culot
d2d286a10a manpage updated with --export flag
calcurse description updated
small bugfixes
2007-04-15 12:37:47 +00:00
Frederic Culot
d70c7f96a1 bugfix: forgot to save item state for endless recurrent appointments 2007-04-14 18:46:54 +00:00
Frederic Culot
9e8689f58b bugfix: do not include '|' in item description while loading a recurrent
appointment with exceptions
2007-04-14 18:46:12 +00:00
Frederic Culot
e8ed23cd60 bugfix: wrong define was used (DAYINSEC instead of HOURINSEC)
appointment state now taken into account to make the notify bar blink
notify_catch_children() and notify_thread_children() suppressed
2007-04-14 18:44:53 +00:00
Frederic Culot
895dc918b7 bugfix: correct item is now highlighted when changing day inside
appointment panel with CTRL keys
sigchld_handler() created to catch zombie processes
init_sighandler() created
2007-04-14 18:43:03 +00:00
Frederic Culot
d373ec67a6 MAX_LENGTH replaced by stdio.h's BUFSIZ
use of MININSEC define and check_time() cleaned up
bugfix in date_sec2date_str(): do not return 01/01/1970 if the given number
of secondes is 0
2007-04-04 19:42:43 +00:00
Frederic Culot
5e67ae9eaf MAX_LENGTH replaced by stdio.h's BUFSIZ
use of MININSEC define
2007-04-04 19:41:00 +00:00
Frederic Culot
0f781f8cb0 MAX_LENGTH replaced by stdio.h's BUFSIZ
use of DAYINSEC and MININSEC defines
2007-04-04 19:40:28 +00:00
Frederic Culot
2496888682 MAX_LENGTH replaced by stdio.h's BUFSIZ 2007-04-04 19:38:18 +00:00
Frederic Culot
be46b49384 use of DAYINSEC define 2007-04-04 19:35:09 +00:00
Frederic Culot
fc14f43076 conf_t type created 2007-03-24 23:22:16 +00:00
Frederic Culot
c6c3b74f45 extract_data renamed to io_extract_data() and save_cal() to io_save_cal()
io_save_cal() and io_export_data prototype updated to use the new conf_t
type
2007-03-24 23:21:55 +00:00
Frederic Culot
ac6dfd27b8 extract_data() renamed to io_extract_data() and save_cal() to io_save_cal() 2007-03-24 23:20:49 +00:00
Frederic Culot
e71a6eff06 help_screen() updated to add the export and flag command help text 2007-03-24 23:19:48 +00:00
Frederic Culot
9d87b1c6e4 custom_load_conf() prototype added 2007-03-24 23:19:15 +00:00
Frederic Culot
dc4b493a87 load_conf() moved from calcurse.c to custom_load_conf()
fill_config_var() now statically defined in custom.c instead of calcurse.c
2007-03-24 23:18:52 +00:00
Frederic Culot
7f283d4ca1 notify_init_vars() prototype added 2007-03-24 23:17:27 +00:00
Frederic Culot
721de8d034 init_notify_bar() moved from calcurse.c to notify_init_vars() 2007-03-24 23:17:09 +00:00
Frederic Culot
77f07e88fe init_notify_bar(), load_conf() and fill_config_var() suppressed
conf variable created to avoid global variables
code cleanup
2007-03-24 23:15:59 +00:00
Frederic Culot
6dc3296079 parse_args() prototype updated 2007-03-24 23:14:00 +00:00
Frederic Culot
cb705cd5af '-x' flag added in parse_args() to export data in non-interactive mode 2007-03-24 23:13:22 +00:00
Frederic Culot
05b7770662 'X' and '!' keybindings added 2007-03-24 23:12:35 +00:00
Frederic Culot
e5d256326e io_export_data() prototype updated
progress_bar() prototype removed as function becomes static to io.c
2007-03-17 16:56:00 +00:00
Frederic Culot
e18fb8667d io_export_apoints() updated to call date_sec2ical_date()
io_export_events(), io_export_recur_events() and io_export_recur_apoints()
created
io_recur_type() and io_export_valarm() created
progress_bar_t type created
progress_bar() updated to display a bar when exporting data
2007-03-17 16:55:27 +00:00
Frederic Culot
5d6036f3ae date_sec2ical_date(), date_sec2ical_datetime() created 2007-03-17 16:43:48 +00:00
Frederic Culot
9bc1bc0c4e date_sec2ical_date(), date_sec2ical_datetime() prototype added 2007-03-17 16:43:25 +00:00
Frederic Culot
44dd9af32a HOURINSEC and MININSEC defined 2007-03-17 16:38:03 +00:00
Frederic Culot
57c6e161cb switch from defines to enum to describe recurrent types 2007-03-17 16:37:43 +00:00
Frederic Culot
e3adfbcade bugfix: missing space inside text 2007-03-17 16:33:49 +00:00
Frederic Culot
6f9fd359d1 io_export_data() prototype added
export_mode_t type added
2007-03-11 15:23:14 +00:00