Commit Graph

100 Commits

Author SHA1 Message Date
Stefan Gehn 4d8e49b535 - move gkrellm.ico where it belongs 2008-09-30 17:11:16 +00:00
Stefan Gehn 8cddbba126 - main.c: Do not use gkrellm xpm-icon on win32, gkrellm on windows as an icon of its own that is set via win32-resource.rc 2008-09-30 16:57:07 +00:00
Stefan Gehn 2119506e02 - Switch from deprecated GtkCombo to GtkComboBox (new since GTK+ 2.4) 2008-09-30 16:50:17 +00:00
Stefan Gehn 2ac45ba0de - win32.c: reformatting parts of the code and cleaning out the ugly PTYPE syntax from win32-api
- win32.c: use win32 constants for buffers holding counter names or paths
2008-09-30 16:48:09 +00:00
Stefan Gehn cb4a2344eb - utils.c: Fix gkrellm_gtk_entry_get_text() default return value (empty string was allocated on the stack and is now a proper static variable) 2008-09-30 14:51:48 +00:00
Stefan Gehn e03fa87217 - Makefile: Add GTK+ version check (>= 2.6) 2008-09-30 14:42:40 +00:00
Stefan Gehn 25470669c3 - winops-win32.c: remove unneded include 2008-09-30 14:41:30 +00:00
Stefan Gehn 1ea1c2c6b6 - win32.c: Try to give unique names to disk/network in case the truncated names start conflicting with eachother 2008-09-29 20:57:01 +00:00
Stefan Gehn 6a6925312a - Show message dialog when initial connect to server fails in client-mode, instead of only printing a line on stdout which is invisible on most windowing-systems anyway 2008-09-29 08:35:02 +00:00
Stefan Gehn 1f28fe7a74 - add debug-area for server-debugging 2008-09-28 19:16:02 +00:00
Stefan Gehn d4f189fb05 - fix includes for syslog-logging in server 2008-09-28 18:38:55 +00:00
Stefan Gehn c8a5a5f60b - update svn:ignore 2008-09-28 18:13:29 +00:00
Stefan Gehn 6fc301ca06 - merge in changes from gkrellm 2.3.2 snapshot (fetched 2008-09-27) 2008-09-28 18:06:24 +00:00
Stefan Gehn 37c7f836ef - make use of new logging system in gkrellm
- removed trayicon on windows as it did not serve any purpose
- win32: load locale files from installation path
- sysdeps/win32.c: massively decreased length by refactoring
- sysdeps/win32.c: use unicode function-calls for better compatibility with non-ascii locales
- sysdeps/win32.c: format debug and warning messages that contain win32 error-codes and provide extensive error handling
- sysdeps/win32.c: completely redid sensor-handling that allows supporting multiple sensor-backends at the same time (like on unix) and optionally launch sensor-apps if they're in $PATH. Sensor detection is now properly done at gkrellm-startup
- sysdeps/win32.c: support CoreTemp application for getting cpu temperatures
- sysdeps/win32.c: proc stats are finally working. Load-computation is based on the number of processes in the processor waiting-queue
- sysdeps/win32.c: properly count number of logged in users by only counting "interactive logins"
- sysdeps/win32.c: memory stats now also monitor cache bytes on winxp and newer (not available on win2k)
- sysdeps/win32.c: system name updated with some new windows versions. Also allow proper OS-detection on 64bit-OS when running as a 32bit-app
2008-09-28 17:27:06 +00:00
Stefan Gehn 32a20aeaef 2008-09-28 17:16:35 +00:00
Stefan Gehn 5b78e499ca - mem.c: use GtkComboBox instead of deprecated GtkCombo
- net.c: use GtkComboBox instead of deprecated GtkCombo
2008-09-28 17:15:54 +00:00
Stefan Gehn c994994734 - gkrellmd: use new logging system and add syslog-handler for logging to syslog or windows event log
- gkrellmd: redo argv parsing, the old one could have read one item too far
- gkrellmd win32: search plugins in installation directory
- gkrellmd win32: print helpful messages on service install/uninstall
- gkrellmd win32: added install target for gkrellmd.conf
2008-09-28 15:51:42 +00:00
Stefan Gehn d22da7e24e - Add new logging system, supports logging to stdout/stderr and optionally logfile and system log (syslog on unix, windows event log on win32) 2008-09-28 14:20:27 +00:00
Stefan Gehn 3b0cc0e0dc - mail.c: use new tooltip api when compiling with gtk >= 2.12.0
- mail.c: default to "multiple launch mua" on win32 (makes more sense)
- mail.c: also display error on failed mua launch when "multiple launch mua" is on
2008-09-28 14:09:07 +00:00
Stefan Gehn 937234774e - inet.c: fix return value of gkrellm_init_inet_monitor(), remove unneded gtk_widget_show() call 2008-09-28 14:03:10 +00:00
Stefan Gehn ed3006988a - disk.c: use GtkComboBox instead of deprecated GtkCombo 2008-09-28 13:57:12 +00:00
Stefan Gehn 0c92661ace - cpu.c: use GtkComboBox instead of deprecated GtkCombo 2008-09-28 13:54:46 +00:00
Stefan Gehn f1142e38e6 - config.c: switch to g_warning() for reporting errors 2008-09-28 13:52:30 +00:00
Stefan Gehn 960902fc52 - fix memory leaks, clock/calendar strings were never freed 2008-09-28 13:51:24 +00:00
Stefan Gehn f7b708e432 - fix winsock includes in client.c 2008-09-28 13:50:02 +00:00
Stefan Gehn 7196f279df - scrolling chartdata bitmap works on all recent GTK+ version on win32, remove workaround that forced a full redraw on every scroll 2008-09-28 13:49:11 +00:00
Stefan Gehn 18722795e1 - win32-resource.h: remove unneeded define 2008-09-27 08:04:03 +00:00
Stefan Gehn ec19a8fd2e - remove icon, gkrellmd is a background-application that needs no icon
- update copyright year in application header
2008-09-17 17:07:30 +00:00
Stefan Gehn bb0a4a901d plugins.c, gkrellmd.h: search for plugins in INSTDIR/gkrellmd-plugins on win32 2008-05-25 12:05:15 +00:00
Stefan Gehn bbe16bd885 - win32.c: dynamically allocate resources for cpu-, network- and disk-monitoring, allowing any number of cpus, disks and network-devices.
- win32.c: switch from printf() to g_print() and g_printerr() for debug- and error-output
- win32.c: update OS name detection for vista and server 2008, remove unsupported OSes (9x, ME)
2008-05-25 11:59:22 +00:00
Stefan Gehn 0d055e759c - Set executable bits in svn repos 2008-04-08 09:38:48 +00:00
Stefan Gehn f0bc117fb4 - gkrellmd: clean up service install/uninstall, also start the service after install and stop a running service prior to uninstall
- Makefile: append binary extension on platforms that need it (i.e. win32), needed for new MSYS build-environment
2008-03-25 18:42:25 +00:00
Stefan Gehn 97d76c607a - win32: special usage display that splits up commands and options
- win32: pass absolute locale path to gettext
2008-03-15 00:45:47 +00:00
Stefan Gehn b5ad32c190 - Merge in changes for macosx with native gtk+ 2008-02-10 13:30:48 +00:00
Stefan Gehn 0db0b41476 - win32: more error handling for failed system-calls
- win32: prepare code for unicode compilation
2008-02-08 22:33:37 +00:00
Stefan Gehn 921ece54f9 - win32: turn gkrellmd into a native nt-service
- call sys cleanup on exit
2008-02-08 22:28:55 +00:00
Stefan Gehn 0976c191b6 - document debug-level config option 2008-02-08 13:22:41 +00:00
Stefan Gehn 6ea033029b - win32: add notes for config options which are not supported on win32 2008-02-01 21:28:25 +00:00
Stefan Gehn 8a7f42a251 - win32: remove unneeded resource files, gkrellm and gkrellmd now have separate ones
- change locale path on win32 to ./share/locale
2008-02-01 20:39:28 +00:00
Stefan Gehn 1cdd02d10b - Fix date/time formatting for network stats gui on win32 2008-02-01 20:36:10 +00:00
Stefan Gehn c90b8b8830 - Fix date/time formatting on win32
- port clock gui from GtkCombo to non-deprecated GtkComboBox
2008-02-01 20:34:39 +00:00
Stefan Gehn 5d9f1f0773 - remove unneeded win32-gui files, gkrellmd is a console application on win32 now 2008-02-01 20:32:58 +00:00
Stefan Gehn 4e128bfa18 - own win32 resource file for gkrellmd
- request admin-rights for gkrellmd on win32 (done via manifest file)
- fix make dependencies on sysdeps folder
- new function gkrellmd_exit() to exit gkrellmd properly, gkrellm_sys_main_cleanup() was never called on exit
- make gkrellmd a console application on win32 (first step towards making it an nt-service)
2008-02-01 20:31:53 +00:00
Stefan Gehn 55b00bc848 - define search paths for plugins and gkrellmd.conf for win32 2008-02-01 20:27:11 +00:00
Stefan Gehn bdba94298d - Add warning message for failed rename call when saving config
- Fix config saving on win32 (unlink old config before renaming the temporary/new one)
2008-02-01 19:29:13 +00:00
Stefan Gehn 2587c4a1df - Fix make dependencies for sysdeps folder (win32.c was missing) 2008-02-01 19:26:56 +00:00
Stefan Gehn 55f14c99cf - win32-plugin.c: fix typo/merge error 2008-02-01 19:25:46 +00:00
Stefan Gehn 87b9b46b37 - own win32 resource-file for gkrellm (client)
- demand admin-rights on startup (done via manifest file)
2008-02-01 19:13:51 +00:00
Stefan Gehn 4437aea144 - add many return value checks and error-messages for system-calls
- fix memory-leak when reading tcp-connection stats
2008-02-01 19:11:29 +00:00
Stefan Gehn 81d79d6568 2008-02-01 18:36:15 +00:00