Commit Graph
100 Commits
Author SHA1 Message Date
Frederic Culot e10dd9cd7f new source files to store windows handling related routines 2007-07-21 19:37:44 +00:00
Frederic Culot d2c337f8b5 notify_print_options() added 2007-07-21 19:36:45 +00:00
Frederic Culot 1aeb990b41 call to wins_show() updated 2007-07-21 19:36:05 +00:00
Frederic Culot d069415d0d todo_update_panel() and todo_delete() added 2007-07-21 19:35:40 +00:00
Frederic Culot 648580f963 apoint_update_panel(), apoint_add() and apoint_delete() added 2007-07-21 19:35:14 +00:00
Frederic Culot f71183cd89 call to custom_load_conf() updated 2007-07-21 19:34:42 +00:00
Frederic Culot 792b62c173 no more window erase in custom_load_conf()
custom_print_general_options() and custom_general_config() added
2007-07-21 19:34:07 +00:00
Frederic Culot 7304770d30 erase_status_bar() added and status_bar() prototype updated
win_show() moved to wins_show() in wins.c
print_option_in_color() added
2007-07-21 19:33:24 +00:00
Frederic Culot 9f52f3f3da make use of STATUSHEIGHT define and erase_status_bar() function
update_app_panel() moved to apoint_update_panel()
update_todo_panel() moved to todo_update_panel()
add_item() moved to apoint_add()
del_item() split into apoint_delete() and todo_delete()
init_vars() moved to vars_init()
windows handling routines moved to wins.c and wins.h
print_option_in_color() moved to utils.c
print_notify_options() moved to notify_print_options()
config_notify_bar() moved to notify_config_bar()
2007-07-21 19:32:26 +00:00
Frederic Culot 9c24e12061 vars_init() added 2007-07-21 19:30:55 +00:00
Frederic Culot 7b9ad07e9f STATUSHEIGHT define added and vars_init() prototype added 2007-07-21 19:30:25 +00:00
Frederic Culot f33034788c wins.c and wins.h added 2007-07-21 19:29:36 +00:00
Frederic Culot df97a02473 window_t type created and more code cleanup 2007-07-20 19:23:28 +00:00
Frederic Culot 62835f070c status_bar() updated to use window_t type 2007-07-20 19:18:09 +00:00
Frederic Culot e86181022d custom_load_conf() updated to use window_t type 2007-07-20 19:16:31 +00:00
Frederic Culot 155c4c3f8e custom_load_conf() and erase_window_part() updated to use window_t type 2007-07-20 19:14:33 +00:00
Frederic Culot 9d0d55aae5 notify_init_bar() prototype updated to use window_t type 2007-07-20 19:12:34 +00:00
Frederic Culot f4d0b56de7 notify_init_bar() modified to use window_t type 2007-07-20 19:10:51 +00:00
Frederic Culot 17160a9b08 window_t type and window_e enum added 2007-07-20 19:09:07 +00:00
Frederic Culot 37495a75e8 day_items_nb_t type added 2007-07-20 19:07:02 +00:00
Frederic Culot 52d79ac5b3 day_process_storage() added 2007-07-20 19:05:19 +00:00
Frederic Culot 9eb077845b store_day() moved to day_process_storage()
enum window_number moved to vars.h
get_screen_config() updated to use window_t type
2007-07-20 19:03:11 +00:00
Frederic Culot 45bb65907d custom_load_conf() updated to use window_t type 2007-07-20 18:26:16 +00:00
Frederic Culot c2fc55f884 code cleanup and bugfix: day change is not checked 2007-07-01 18:01:13 +00:00
Frederic Culot 694d3ec32b call to calendar_set_first_day_of_week() added 2007-07-01 17:59:14 +00:00
Frederic Culot 8a59ab6d2d call to calendar_week_begins_on_monday() added 2007-07-01 17:57:57 +00:00
Frederic Culot a17eb2b9cb notify_thread_app(), notify_check_repeated() and notify_same_recur_item()
modified to call get_today()
2007-07-01 17:57:05 +00:00
Frederic Culot 34093881f1 app_arg() modified to use date_t type 2007-07-01 17:56:08 +00:00
Frederic Culot 6c467203d8 next_arg() modified to call get_today()
date_arg(), app_arg() modified to use date_t type
2007-07-01 17:55:39 +00:00
Frederic Culot 10a6d6d570 apoint_switch_notify() prototype updated to take into account date_t type 2007-07-01 17:54:33 +00:00
Frederic Culot 7093cbefb7 recur_repeat_item() and recur_item_inday() prototypes updated to take into account date_t type 2007-07-01 17:53:42 +00:00
Frederic Culot ff0c8aed71 day_edit_item() and day_check_if_item() prototype updated 2007-07-01 17:52:45 +00:00
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 3b7f552f7e calcurse 1.8 released 2007-05-22 18:04:45 +00:00
Frederic Culot d9d50a6d86 calcurse version switched to 1.8 2007-05-22 18:02:49 +00:00
Frederic Culot b4087b2362 calcurse 1.8 released 2007-05-22 17:45:26 +00:00
Frederic Culot 417d3fb5f4 correct pot file header 2007-05-22 17:41:08 +00:00
Frederic Culot 7a5dd3c976 French translation for version 1.8 2007-05-22 17:39:52 +00:00
Frederic Culot 2081e359e4 English po file for version 1.8 2007-05-22 17:39:11 +00:00
Frederic Culot e8589eaf07 Spanish translation for 1.8, thanks again Jose 2007-05-22 17:38:33 +00:00
Frederic Culot c0297914f2 German po file for version 1.8 2007-05-22 17:35:56 +00:00
Frederic Culot f102968121 pot file for version 1.8 2007-05-22 17:33:36 +00:00
Frederic Culot 60a20ddc88 small fix in html code 2007-05-22 17:28:18 +00:00
Frederic Culot 0ff2335154 Spanish manual updated, thanks again to Jose 2007-05-22 17:27:14 +00:00
Frederic Culot 1b382bb877 German manual for version 1.8 2007-05-22 17:23:14 +00:00
Frederic Culot c11330b2e6 small fix in html code 2007-05-22 17:20:39 +00:00
Frederic Culot 1dca7c266f manuals updated for version 1.8 2007-05-12 15:14:59 +00:00
Frederic Culot 9bb60e3d7b French manual updated for version 1.8 2007-05-12 15:14:19 +00:00
Frederic Culot 7758d547fe English manual updated for version 1.8 2007-05-12 15:14:05 +00:00
Frederic Culot 0a45a9c8be small bugfixes 2007-05-06 13:33:56 +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 bcccc254cb handle different values returned by ncurses pair_content() depending on compilation options 2007-04-22 16:26:54 +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 054edc355b version 1.8_beta released 2007-04-15 13:19:04 +00:00
Frederic Culot cc3b85d3a4 documentation updated and version switched to 1.8_beta 2007-04-15 12:39:18 +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 426221ceeb English manual updated 2007-04-15 12:35:42 +00:00
Frederic Culot 50ecb8732f version switched to 1.8_beta
check for header files updated
2007-04-15 12:34:59 +00:00
Frederic Culot 62a53b0fdf several bugfixes
signal handling implemented to catch zombie processes created by
user-defined notification command
2007-04-14 18:48:20 +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 128ef9baf7 MAX_LENGTH replaced by stdio.h's BUFSIZ
use of MININSEC and DAYINSEC defines
bugfixes
2007-04-04 19:44:58 +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 c5cc59c148 'X' and '!' keybindings added to status bar, and online help updated
'-x' command-line option added to export data in non-interactive mode
2007-03-24 23:24:37 +00:00
Frederic Culot b3252e3180 color themes are now more configurable, and export function was added.
Anyway, better error handling should be done.
2007-03-24 23:23:51 +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