1073 Commits

Author SHA1 Message Date
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
Frederic Culot
ee15a02f8c more work on iCal export functions implementation 2007-03-17 16:56:38 +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
de3a914a3d beginning of iCal export functions implementation 2007-03-11 15:23:53 +00:00
Frederic Culot
6f9fd359d1 io_export_data() prototype added
export_mode_t type added
2007-03-11 15:23:14 +00:00
Frederic Culot
151f4996c2 io_export_data() and io_get_export_stream() created
io_export_header(), io_export_footer(), io_export_todo() and
io_export_apoints() created
2007-03-11 15:22:39 +00:00
Frederic Culot
f9e1143c0a 'X' command added, to export data in iCal format 2007-03-11 15:21:06 +00:00
Frederic Culot
8c862a68a8 color handling improved
recur_item_inday() improved, thanks to Tony's patch
2007-03-10 17:01:42 +00:00
Frederic Culot
a4715303f1 recur_item_inday() improved, thanks to Tony's patch 2007-03-10 16:48:19 +00:00
Frederic Culot
ba7189e688 global variable 'colr' suppressed 2007-03-10 16:45:56 +00:00
Frederic Culot
7ca3bc06be custom_color_theme_name() created to return new version of user-defined
color theme
custom_load_color() updated to load new version of user-defined color theme
2007-03-10 15:58:20 +00:00
Frederic Culot
f29a854ddf custom_color_theme_name() prototype added 2007-03-10 15:57:27 +00:00
Frederic Culot
324d7e5cd0 save_cal() modified to save new version of user-defined color theme 2007-03-10 15:56:32 +00:00
Frederic Culot
f82590c811 global variable 'colr' suppressed 2007-03-10 15:54:24 +00:00
Frederic Culot
b1d02bf4ff color theme configuration improved
Calcurse default black background replaced by Terminal's default background
color
2007-03-04 16:15:17 +00:00
Frederic Culot
78360ec3b0 use of terminal default background color instead of black
call to custom_load_color() added in load_conf()
update_windows() updated to avoid the use of the global 'colr' variable
2007-03-04 16:14:31 +00:00
Frederic Culot
dc56e1b42a border_color() and border_nocolor() updated to take into account new
color definitions
2007-03-04 16:13:43 +00:00
Frederic Culot
ccf6ca5a99 border_color() prototype updated 2007-03-04 16:13:09 +00:00
Frederic Culot
49ad6a9652 use of color pairs enum in custom_init_attr()
color_config() rewritten to allow more color choices and the use of
terminal default background color (becomes custom_color_config())
custom_load_color() created
2007-03-04 16:12:18 +00:00
Frederic Culot
d28058d982 color pairs enum added
color_config() prototype updated to custom_color_config()
custom_load_color() added
2007-03-04 16:11:20 +00:00
Frederic Culot
767aa66080 bugfix: CTRL-D problems while editing items fixed 2007-02-28 21:30:51 +00:00
Frederic Culot
0352ae3107 bugfix: CTRL-D problems while editing item fixed. Thanks Toucouch for reporting it. 2007-02-28 21:29:05 +00:00
Frederic Culot
ed40b1f038 updated call to notify_check_added() 2007-02-25 19:32:53 +00:00
Frederic Culot
58401dead8 updated call to notify_check_added()
call to notify_catch_children() added
print_notify_options() improved to avoid display problems with long options
init_notify_bar() updated to get user shell
2007-02-25 19:32:30 +00:00
Frederic Culot
eed40f2fbe apoint_check_next() modified to handle item state
apoint_switch_notify() updated
updated call to notify_check_added()
2007-02-25 19:31:44 +00:00