Commit Graph

19 Commits

Author SHA1 Message Date
Stefan Gehn eb0a44b64b Spelling fixes
Fix several spelling mistakes in code comments as well as the Changelog.

Thanks to Ville Skyttä for providing the patch.
2014-07-12 22:48:16 +02:00
Stefan Gehn 6e3ee7db10 Port to GLib >= 2.32 GThread API
- Use g_thread_new instead of g_thread create
- Drop explicit call of g_thread_init, it is done implicitely by GLib
  since 2.32
- Since this bumps the minimum required GLib version add and extend the
  pkg-config based version checks to error out on older GLib versions
2014-07-12 22:45:08 +02:00
Stefan Gehn b279d76837 Remove set but unread variables
- Adding a sensor in the mbmon support stored the added sensor in a
  pointer but never used it afterwards
- Drop pixbuf width in draw_left_frame_overlap, the code unlike other
  drawing helpers does not use the pixbuf width
- Remove unused scroll selection from net_stats_page

This fixes several set but unread warnings when compiling with a recent
gcc (encountered with gcc 4.8.2).
2014-07-09 22:23:41 +02:00
Bill Wilson 873fed3c1e Patch from Jindrich Makovicka: update multiple GKrellM files to compile
with -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE for GTK3 compatibility.
Replaces GtkItemFactory and GtkTooltips.
2011-08-08 15:39:22 -05:00
Stefan Gehn d36c3ec662 Fix missing format-strings to avoid compiler warnings 2010-09-23 15:06:21 +00:00
Stefan Gehn d72d689c4c Merge with changes from gkrellm-2.3.5-pre.tar.bz2 2010-09-15 15:32:14 +00:00
Stefan Gehn 7e86c76f32 Switch from printf() to GLib/GKrellM logging (gkrellm_debug(), g_warning(), g_message())
Replace sprintf() calls with snprintf() for security reasons.
2010-06-12 19:41:22 +00:00
Stefan Gehn b78ad60b43 - Display --help output in a dialog on windows, a windows-application has no (easy) way to output on a console, even if it was started on one 2010-05-29 14:42:28 +00:00
Stefan Gehn fcd0b544e4 - Merge with gkrellm-2.3.4 from upstream 2010-05-29 12:49:28 +00:00
Stefan Gehn a9c193f84c Merge with gkrellm-2.3.3 from upstream 2009-12-26 17:08:15 +00:00
Stefan Gehn 0cc981108b - Make gkrellm client disconnect from server on exit 2009-12-26 15:08:00 +00:00
Stefan Gehn 3d405b9970 - Use glib wrappers for fopen/stat/chmod/unlink, fixes file operations for win32 where glib uses utf-8 for all file-handling
- win32: remove company name from exe headers as there's no company behind GKrellM
2008-10-28 19:02:04 +00:00
Stefan Gehn 902e9ce6ab - win32: Makefile: install binaries into standard "bin" directory as done on unix and make standard value for INSTALL variable work on win32/msys as well (INSTALL=install somehow calls the wrong install binary for me)
- win32: main.c: simplify locating the locales directory
2008-10-24 18:34:38 +00:00
Stefan Gehn 804e456c03 - Merge in gkrellm-2.3.2 release changes 2008-10-04 08:55:47 +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 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 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 81d79d6568 2008-02-01 18:36:15 +00:00