Wed Mar 2 18:35:41 CST 2005 * src/mdh_custom.c: set tree view row selection type to GTK_SELECTION_MULTIPLE. * === Released 1.9.57 === Wed Mar 2 17:05:57 CST 2005 * src/mdh_custom.{c,h}: no minimum button count. * src/mdh.c: * src/mdh_custom.{c,h}: misc custom button cleanups. * src/mdh_toolbar.{c,h}: * src/mdh.c: * src/mdh.c: skip config processing if there is none. Tue Mar 1 22:14:43 CST 2005 * src/mdh_custom.c: added add & delete buttons to allow for the custom buttons to be fully managed. * src/mdh_config.c: use destroy event to toggle close. * src/mdh_custom.c: * src/mdh_run.c: * src/mdh_scratch_pad.c: * src/mdh_toolbar.c: Tue Mar 1 20:20:13 CST 2005 * src/mdh_panel_cpu.c: cache-related cleanups. * src/mdh_panel_disk.c: * src/mdh_panel_mem.c: * src/mdh_panel_uptime.c: * src/mdh.c: removed flags var from config_save(), moved threshold to global panel section. * src/mdh_panel_*.{c,h}: added _count(), _count_set() functions to handle panel, button counts. * src/mdh_custom.{c,h}: * src/mdh_toolbar.c: * src/mdh_config.c: * src/mdh.c: Tue Mar 1 17:58:17 CST 2005 * src/mdh_panel_*.{c,h}: got rid of _setup() function and added _new(), which allocates the MdhPanel object. * src/mdh.c: * src/mdh_custom.{c,h}: added configurable custom button count through the [button_custom] 'count' pref. * src/mdh_toolbar.c: * src/mdh.c: * src/mdh.c: moved panel options, counts to [panel_*]. Tue Mar 1 15:56:07 CST 2005 * src/util.{c,h}: added mdh_curl_get(). * src/mdh_panel_weather.h: * src/mdh_config.c: added a city search search to the weather location id help dialog (woo!). Mon Feb 28 23:03:50 CST 2005 * src/mdh.c: added configurable counts for mail, disk, net, and custom panels through the panel_count_* prefs in the [toolbar] section. * src/mdh_config.c: * src/mdh_panel_*.h: Mon Feb 28 23:03:50 CST 2005 * src/mdh_toolbar.{c,h}: added mdh_panel_set_markup(). * src/mdh_panel_custom.c: pass output from the script to mdh_panel_set_markup() if pango_parse_markup() can parse the output, otherwise use mdh_panel_set_text(). * src/mdh_error.c: added a clear button. Mon Feb 28 18:12:23 CST 2005 * src/mdh_config.c: minor cleanups. * src/mdh_custom.c: * src/mdh_error.c: * src/mdh_run.c: * src/mdh_scratch_pad.c: * src/mdh_toolbar.c: * src/mdh_panel_*.c: * src/mdh.c: Sun Feb 27 14:43:21 CST 2005 * src/mdh.h: updated config() function to pass all possible (common) values for post-processing. * src/mdh_panel_custom.c: * src/mdh_panel_mail.c: * src/mdh_panel_weather.c: * src/mdh_config.c: * src/mdh_toolbar.c: remove assertion on check for MdhPanel->busy from _panel_func() and just use an if(). Sun Feb 27 01:17:38 CST 2005 * src/mdh.c: expand tilde for all commands, mail and custom values. * src/mdh_config.c: expand tilde for all commands. * src/mdh_custom.c: include mdh_error.h * src/Makefile.in: * src/mdh_custom.c: log icon load errors on initial launch of the custom button editor. Thu Feb 24 21:19:40 CST 2005 * src/mdh_gen.h: updated clickable help text color and mouse cursor. * src/mdh_config.c: a more verbose display format help. Thu Feb 24 15:42:35 CST 2005 * src/mdh_gen.{c,h}: updated mdh_clickable_label_new(), added some additional colors and macros. * src/mdh_config.c: * src/mdh_toolbar.c: Thu Feb 24 13:37:50 CST 2005 * src/mdh_gen.{c,h}: use varargs for yes_no_prompt(). * src/mdh_gen.h: updated markup macros. * src/*.h: added G_BEGIN_DECLS, G_END_DECLS. Thu Feb 24 00:05:37 CST 2005 * src/mdh_gen.{c,h}: added mdh_clickable_label_new(). * src/mdh_config.c: * src/mdh_toolbar.c: Wed Feb 23 23:11:18 CST 2005 * src/mdh_config.c: added display_help_button(). * src/mdh_gen.{c,h}: combined all existing markup functions into one. * src/mdh_toolbar.c: * src/mdh_config.c: * src/mdh.c: share one GtkTooltips. * src/mdh_config.c: * src/mdh_custom.c: * src/mdh_toolbar.c: * src/mdh_toolbar.c: use uri-like label for mdh url in about window. Wed Feb 23 17:29:07 CST 2005 * src/mdh.{c,h}: reworked window open handling for the right click popup menu. still blah. :/ * src/mdh_config.{c,h}: * src/mdh_custom.{c,h}: * src/mdh_error.{c,h}: * src/mdh_run.{c,h}: * src/mdh_scrach_pad.{c,h}: * src/mdh_toolbar.c: Wed Feb 23 14:00:46 CST 2005 * src/Makefile.in: remove test* on distclean. Wed Feb 23 12:35:27 CST 2005 * src/mdh_toolbar.c: fixed MdhCustom icon alignment. * src/mdh_custom.c: allow one icon picker at a time, other cleanups. * src/mdh_run.c: misc cleanups. Tue Feb 22 23:49:04 CST 2005 * src/mdh_toolbar.c: updated thread locking. * src/mdh.h: Tue Feb 22 22:42:36 CST 2005 * src/mdh_custom.c: better icon selection. * src/mdh_toolbar.c: fixed MdhCustom label alignment. Tue Feb 22 18:41:05 CST 2005 * src/mdh.h: added icon to MdhCustom struct. * src/mdh_toolbar.c: * src/mdh.c: load/save MdhCustom icon. * src/mdh_config.c: add (icky) icon selection. * src/Makefile.in: install icons/*.png. Tue Feb 22 14:45:34 CST 2005 * src/mdh_config.c: weather help cleanup. * src/mdh_custom.c: global var and other minor cleanups. * src/mdh_run.c: Tue Feb 22 00:36:25 CST 2005 * src/mdh_panel_*.h: added threshold defines. * src/mdh_config.c: added threshold configuration. * src/mdh.c: added threshold validation. Mon Feb 21 21:58:04 CST 2005 * src/mdh_config.c: made layout the same for all panels. * src/mdh_panel_*.{c,h}: added missing interval defines. * src/mdh.c: Mon Feb 21 17:59:24 CST 2005 * src/mdh_panel_uptime.{c,h}: added display format subst. * src/mdh_config.c: * src/mdh.c: * src/mdh_config.c: added interval config for uptime. Mon Feb 21 16:13:31 CST 2005 * src/sysdeps.h: adjusted mdh_sys_get_cpu(). * src/common.h: * src/gtop.h: * src/mdh_panel_cpu.{c,h}: added display format subst. * src/mdh_config.c: * src/mdh.c: Mon Feb 21 14:34:11 CST 2005 * src/mdh_panel_*.{c,h}: use % instead of \ for subst. * src/mdh_config.c: Sun Feb 20 22:55:57 CST 2005 * src/mdh.c: use one function for signal handling. * src/mdh_toolbar.c: use gtk_widget_modify_font() vs the GtkRcStyle stuff. * src/mdh_config.c: show display format key in a small window instead of the GtkEntry tooltip. Sun Feb 20 18:52:40 CST 2005 * src/mdh.h: added panel text bolding macro. * src/mdh_panel_*.c: * src/mdh_toolbar.c: adjusted mdh_panel_set_text(), set panel text limitation here instead of spread all about. * src/mdh_panel_*.c: * src/mdh_panel_*.{c,h}: s/_threshold_get()/_threshold()/ * src/mdh.c: Sat Feb 19 23:09:26 CST 2005 * src/mdh_config.c: minor wording and other updates. Sat Feb 19 19:05:18 CST 2005 * src/mdh_config.c: fixed up silly handling of display format tooltips. * src/Makefile.in: renamed temp panel to weather. * src/mdh_panel_temp.{c,h}: * src/mdh_config.c: * src/mdh.c: * src/mdh_panel_mail.c: got rid of zero padded option. * src/mdh_panel_net.c: * src/mdh_config.c: Sat Feb 19 09:56:44 CST 2005 * src/mdh_config.c: updated display label for time. Sat Feb 19 02:08:31 CST 2005 * src/mdh.c: add missing display format sanity checks. * src/mdh_panel_mail.c: minor bugfixes. * src/mdh_panel_temp.c: make cache->LocID const. Sat Feb 19 00:34:39 CST 2005 * src/mdh_panel_mem.{c,h}: added display format subst. * src/mdh_config.c: * src/mdh.c: * src/mdh.h: removed PANEL_FLAG_LABELS. * src/mdh_config.c: General layout updates. Fri Feb 18 22:31:53 CST 2005 * src/mdh_panel_net.{c,h}: added display format subst. * src/mdh_config.c: * src/mdh.c: * src/mdh_panel_mail.c: free panel_subst() result. * src/mdh_panel_disk.c: * src/mdh_panel_temp.c: * src/mdh_config.c: mail, disk, and net layout updates. Fri Feb 18 18:21:27 CST 2005 * src/sysdeps.{c,h}: mdh_sys_get_disk() updates. * src/sysdeps/common.h: * src/sysdeps/gtop.h: * src/mdh_panel_mail.{c,h}: added display format subst. * src/mdh_panel_disk.{c,h}: * src/mdh_config.c: * src/mdh.c: Fri Feb 18 11:15:30 CST 2005 * src/sysdeps/gtop.h: commented glibtop_close(). * src/sysdeps.h: changed unsigned long long -> guint64. * src/sysdeps/linux.h: * src/sysdeps/bsd.h: * src/sysdeps/solaris.h: * src/sysdeps/gtop.h: Thu Feb 17 20:55:37 CST 2005 * src/configure.ac: require gtop 2.6.0 or better. Thu Feb 17 18:34:33 CST 2005 * src/configure.ac: added libgtop-2.0 check, disable arg. * src/Makefile.in: * src/sysdeps.c: added sysdeps/gtop.h. * src/Makefile.in: * src/mdh.h: updated panel checks. * src/mdh_panel_disk.c: readded startup, shutdown funcs. Thu Feb 17 12:49:28 CST 2005 * src/mdh_panel_*.c: assert for MdhPanel->data in the various supporting functions (flags, threshold, etc). * src/mdh_panel_temp.{c,h}: updated unit handling. * src/mdh.{c,h}: Wed Feb 16 22:41:03 CST 2005 * src/mdh_panel_temp.c: updated substitution. added a few things, combined others. removed the F->C/C->F temperature conversion per Weather.com's requirements. * src/mdh_panel_temp.{c,h}: updated query URI to include unit selection (standard, metric). * src/util.{c,h}: removed mdh_str_to_digit(). * src/mdh_panel_temp.c: added str_to_{int,dec}(). * src/mdh_panel_temp.{c,h}: added unit handling. * src/mdh.c: made temperature panel unit configurable through a hidden pref: 'unit' = [ standard | metric ]. Wed Feb 16 16:18:02 CST 2005 * src/mdh_panel_temp.h: added default strftime format. * src/mdh_panel_temp.c: use ->display instead of ->value. * src/mdh_config.c: * src/mdh.c: * src/mdh_config.c: add display arg for panel_get_new(). Wed Feb 16 13:37:59 CST 2005 * src/mdh_panel_temp.c: minor substitution cleanups. * src/mdh_panel_temp.{h,c}: allow location id to be a zip code (5 digits) or Weather.com city code (8 chars). * src/mdh_config.c: * src/mdh.c: Wed Feb 16 01:09:47 CST 2005 * src/mdh.{c,h}: removed temperature flags. * src/mdh_config.c: * src/mdh_panel_temp.c: * src/mdh.{c,h}: added MdhPanel->display. * src/mdh_panel_*.c: * src/mdh_toolbar.c: * src/mdh_panel_temp.c: completed display substitution. * src/mdh_config.c: added display format config. Tue Feb 15 22:59:27 CST 2005 * src/mdh.c: improved locking, other minor cleanups. * src/util.h: moved IS_LINK() to mdh.c. * src/mdh.c: Tue Feb 15 16:44:43 CST 2005 * src/mdh_panel_temp.c: started format substitution. Tue Feb 15 15:54:30 CST 2005 * src/mdh_panel_*.c: removed old mdh_gen.h include. * src/Makefile.in: removed panel mdh_gen.h dep. * src/mdh_panel_time.c: removed startup/shutdown. * src/mdh_panel_disk.c: * src/mdh_panel_custom.c: * src/util.{c,h}: removed mdh_rename(), mdh_unlink(). * src/mdh.c: * src/mdh_panel_temp.c: * src/mdh_toolbar.c: use G_DIR_SEPARATOR in paths. * src/mdh_panel_temp.c: Tue Feb 15 13:57:54 CST 2005 * src/mdh.c: removed mdh_readlink(). Tue Feb 15 11:57:46 CST 2005 * src/mdh.h: removed useless _MDH_HAS_MAIL define. * src/mdh_config.c: * src/mdh_panel_mail.h: * src/mdh_gen.{c,h}: removed mdh_label_new(). * src/mdh_toolbar.c}: * src/util.{c,h}: removed mdh_strftime(). * src/mdh_panel_time.c: * src/mdh_error.c: * src/mdh_panel_time.c: added _MDH_HAS_TIME check. * src/mdh_panel_*.c: set panel text to 'Error' if init fails. * src/mdh_panel_mail.c: close any open maildir dirs on init failure, removed extra g_set_error() in init. * src/configure.ac: check for xmlParseFile(). Mon Feb 14 23:12:30 CST 2005 * src/mdh.h: removed MdhPanel->{name,type,id}, readded callback handler and added a new function to pass the new configuration value to (validation, cleanup). * src/mdh_toolbar.c: * src/mdh_panel_*.c: Mon Feb 14 19:11:01 CST 2005 * src/mdh.h: cleaned up panel function handling, added MdhPanelFuncs (main, startup, shutdown) to MdhPanel. * src/mdh_toolbar.c: * src/mdh_panel_*.c: * src/mdh_toolbar.c: initialize panel before calling main function. * src/mdh.h: moved Gtk widgets into their own struct. * src/mdh_toolbar.c: * src/mdh_panel_net.c: check panel initialization in panel_startup() before resetting panel data. Mon Feb 14 15:39:45 CST 2005 * src/mdh_scratch_pad.{c,h}: got rid of init() function. * src/mdh.c: Mon Feb 14 14:50:21 CST 2005 * src/mdh_custom.c: new panel value validation cleanups. Sun Feb 13 21:13:24 CST 2005 * src/Makefile.in: added mdh_panel_custom.{c,h}, deps. * src/mdh.c: * src/mdh_custom.c: * src/mdh_panel_disk.{c,h}: _MDH_MAX_ to _MDH_PANEL_MAX_. * src/mdh_panel_mail.{c,h}: * src/mdh_panel_net.{c,h}: * src/mdh.{c,h}: * src/mdh_custom.c: * src/mdh_custom.{c,h}: renamed C_User to B_Cust. * src/mdh.c: * src/mdh_toolbar.c: Sun Feb 13 13:45:12 CST 2005 * src/mdh_error.c: (re)added default widget selection. * src/mdh_gen.c: * src/mdh_toolbar.c: Sun Feb 13 00:06:39 CST 2005 * configure.ac: enable threads by default. * src/mdh.{c,h}: added functions to get cache file and browser as well as open a URL in the browser. #ifdef'd mdh_cache and related. * src/mdh_gen.{c,h}: removed gtk_widget_can_focus(). * src/mdh_toolbar.c: made the mdh url in the about window a clickable button. Tue Feb 8 21:55:32 CST 2005 * src/mdh_toolbar.c: minor update to set_font() to avoid unnecessary memory allocation. add #ifdef's around MdhPanel->lock checks. Tue Feb 8 15:57:58 CST 2005 * configure.ac: disable threads by default, other misc updates. * src/mdh.{c,h}: check for G_THREADS_ENABLED #define. * src/mdh_toolbar.c: * src/mdh_panel_temp.c: * src/mdh_gen.{c,h}: relocated mdh_label_set_font(). * src/mdh_toolbar.c: * src/mdh_toolbar.{c,h}: added mdh_panel_set_icon() func, threading updates, and other minor bits. * src/mdh_panel_temp.c: Mon Feb 7 21:31:31 CST 2005 * src/mdh.{c,h}: reenabled threading. * src/mdh_toolbar.c: * src/mdh_panel_*.c: Mon Feb 7 16:25:53 CST 2005 * src/mdh_panel_temp.c: set icon to 'na' on error, renamed a few functions. Mon Feb 7 14:04:05 CST 2005 * src/mdh.{c,h}: disabled threading. unknown error causing temperature panel to stop and gtk-related bits to freeze up on occasion. * src/mdh_toolbar.c: * src/mdh_panel_*.c: Mon Feb 7 11:28:42 CST 2005 * src/mdh_panel_temp.c: set error on http failure. Mon Feb 7 10:30:04 CST 2005 * src/mdh_toolbar.c: added mutex locking. * src/mdh_panel_temp.c: fixed up failure handling in mdh_panel_temp_http(). * src/mdh.c: check temp panel value to make sure it's all digits, remove error dialog on init. * src/mdh_config.c: Mon Feb 7 00:41:19 CST 2005 * src/mdh_panel_temp.c: avoid overwriting errors. Sun Feb 6 23:21:55 CST 2005 * configure.ac: added --disable-{xml,curl} and --debug-memprof args. * src/mdh.c: added #ifdef's for DEBUG_MEMPROF. * src/mdh_toolbar.c: * src/mdh_config.c: add #if for temp support. * src/mdh_panel_temp.c: add main #if for temp support and #ifdef's around curl and xml #include's. unlink temp cache file on failure. Sun Feb 6 21:45:34 CST 2005 * configure.ac: use gthread for panel func execution. * src/mdh.{c,h}: * src/mdh_toolbar.c: * src/mdh_panel_*.c: Sun Feb 6 19:16:33 CST 2005 * src/mdh_panel_temp.c: close the temporary cache file handle on curl (init or process) failure. Sun Feb 6 00:24:34 CST 2005 * src/mdh.c: renamed *_flags_get() to *_flags(). * src/mdh_config.c: * src/mdh_panel_*.{c,h}: Sat Feb 5 22:08:38 CST 2005 * src/mdh.c: removed a number of variables from the main toolbar struct and moved them to more appropriate files, added supporting functions for external use. * src/mdh_cfg.{c,h}: * src/mdh_err.{c,h}: * src/mdh_pad.{c,h}: * src/mdh_run.{c,h}: * src/mdh_toolbar.{c,h}: * src/Makefile.in: renamed mdh_cfg.c to mdh_config.c, mdh_err.c to mdh_error.c, and mdh_pad.c to mdh_scratch_pad.c. * src/mdh.c: renamed mdh_toolbar_panel_* to mdh_panel_*. * src/mdh_config.c: * src/mdh_panel_*.{c,h}: * src/mdh_toolbar.{c,h}: * src/mdh.c: renamed button_t, custom_t, and panel_t structs to MdhButton, MdhCustom, and MdhPanel. * src/mdh_config.c: * src/mdh_custom.{c,h}: * src/mdh_panel_*.{c,h}: * src/mdh_toolbar.{c,h}: Sat Feb 5 16:35:18 CST 2005 * src/mdh_cfg.c: fix interval calculation for temp panel when applying new config. rearranged a few things as to not require function prototype declarations at the top. * src/mdh_panel_temp.c: add an assertion check for the interval in initialization, should never be under _WEATHER_MIN (3600). Sat Feb 5 15:53:14 CST 2005 * src/mdh.{c,h}: made thresholds configurable. * src/mdh_panel_*.{c,h}: * src/mdh.c: added substitution for disk panel. * src/mdh_panel_disk.{c,h}: * src/mdh_toolbar.c: * src/mdh.c: set panel tooltip using 'value' read from the config file, ot from the 'tooltip' value. ;) Sat Feb 5 12:05:00 CST 2005 * src/mdh.{c,h}: removed flags from panel struct, moved to panel data and added functions to get/set flags. * src/mdh_panel_*.{c,h}: * src/mdh_cfg.c: Sat Feb 5 11:16:47 CST 2005 * src/mdh_panel_cpu.{c,h}: adjusted bold threshold to match memory and disk. Fri Feb 4 19:47:19 CST 2005 * src/mdh_cfg.h: removed unused function prototype. * src/mdh.h: got rid of cfg_w from panel struct. * src/mdh.h: cleaned up runtime configuration a bit. * src/mdh_cfg.c: Fri Feb 4 12:07:21 CST 2005 * configure.ac: added statfs() and statvfs() checks, and remove old libConfuse checks (strdup, strndup, strcasecmp). * src/sysdeps.c: centralized disk checks to common.h and made use of above statfs/statvfs checks. * src/sysdeps/*.h: Thu Feb 3 22:10:58 CST 2005 * src/mdh.c: updated panel type enum. changed general panel options to use bitwise flags. * src/mdh.h: * src/mdh_cfg.c: * src/mdh_panel_*.c: * src/mdh_panel_mail.h: moved mdh_expand_tilde() to util.c. * src/util.c: * src/util.h: * src/mdh.h: changed mail interval #defines and moved 'em to mdh_panel_mail.h * src/mdh_panel_mail.h: * src/mdh_panel_mail.c: * src/mdh.c: * src/mdh_cfg.c: * src/mdh.h: moved _MDH_MAX_{PAD,CUST} #defines and panel vars to mdh_{pad,custom{.h * src/mdh_pad.h: * src/mdh_custom.h: * src/Makefile.in: * src/mdh.h: moved _MDH_MAX_{MAIL,DISK,NET} #defines and panel vars to mdh_panel_{mail,disk,net}.h * src/mdh_panel_mail.h: * src/mdh_panel_disk.h: * src/mdh_panel_net.h: * src/mdh.c: * src/Makefile.in: Thu Feb 3 15:40:53 CST 2005 * configure.ac: debugging cleanups, now compile-time only. * src/mdh.c: * src/mdh.h: * src/mdh_panel_*.c: * src/mdh_toolbar.c: * src/util.c: * src/util.h: * src/mdh.c: moved set_signal() from util.c to mdh.c. * src/util.c: * src/util.h: Thu Feb 3 14:35:03 CST 2005 * src/mdh_toolbar.c: removed mdh_toolbar_exec(). * src/mdh_toolbar.h: * src/mdh.c: cleanup panel and custom button callbacks. * src/mdh.h: * src/mdh_panel_*.c: * src/mdh_panel_time.c: moved mdh_strftime() to util.c. * src/util.c: * src/util.h: * src/mdh.c: removed mdh_browser_find(), get at startup. * src/mdh_cfg.c: * src/util.c: * src/util.h: Wed Feb 2 17:18:09 CST 2005 * src/mdh*.c: error logging changes and minor cleanups. * src/mdh.h: * src/mdh_toolbar.h: * src/util.c: updated error log function, added mdh_basename(). * src/util.h: * src/mdh_pad.h: init function renamed. * src/sysdeps.c: remove mdh_perror() and PERROR define.