Commit Graph

23 Commits

Author SHA1 Message Date
Stefan Gehn 8dbee76730 win32.c: Drop current working directory from DLL search path by calling SetDllDirectory() with an empty string. Avoids possible security problems, especially when loading plugins.
Makefile, win32.c: Load ntdll.dll and lookup used functions at runtime (safer for future windows version and fixes unintended linking against sscanf() from ntdll)
win32.c: Add gkrellm_sys_inet_cleanup() for proper unloading of iphlpapi.dll
2010-09-20 20:53:48 +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 915d03ad66 Do not link against liblargeint on windows anymore. Allow overriding windres via environment variables (preparation for win64 builds) 2010-06-21 14:49:40 +00:00
Stefan Gehn bf40ec1d5d Allow passing linker flags via LDFLAGS in Makefile 2010-06-12 14:10:52 +00:00
Stefan Gehn 53e036319d Revert accidental commit for Makefile 2010-05-29 17:35:38 +00:00
Stefan Gehn bc8303d229 - svn-ignore built executables 2010-05-29 17:34:38 +00:00
Stefan Gehn 41370ff5d4 - src/Makefile: Rename SMC_LIBS to X11_lIBS and add -lX11 (should fix http://bugs.debian.org/554553)
- Makefile: Drop duplicating SMC_LIBS in "netbsd" targets by calling src/Makefile with "netbsd" target instead of using the generic "gkrellm" target
2010-01-03 17:36:15 +00:00
Stefan Gehn 25076e8a0f - Merge in missing changes from gkrellm-2.3.3 release
- Revert gkrellm version header change, there are too many places in code/docs containing the version number, one more or less will not hurt
- configure: Make configure shell script write configure.mk and move logic for compiler and linker flags into configure
- configure: Also search openssl and libntlm via pkg-config and fall back to hardcoded library names for linking if not found
- Makefile: Workaround environment-bugs in win32 toolchain by switching from "override CC" to a normal makefile rule for building .o from .c files
2009-12-27 11:48:30 +00:00
Stefan Gehn a9c193f84c Merge with gkrellm-2.3.3 from upstream 2009-12-26 17:08:15 +00:00
Stefan Gehn a7ea973741 - Win32: enumerate users using WTS-API. NOTE: This makes GKrellM require Win XP or newer, code for Win 2k is still present though (depends on value of _WIN32_WINNT) 2009-12-26 15:11:13 +00:00
Stefan Gehn 2cf2afc458 - comment out all options in default gkrellmd.conf so it can be installed without causing any trouble
- move gkrellm[d] version into its own header
- win32: determine version from headers instead of hardcoding them in the .rc files
2008-10-29 16:02:13 +00:00
Stefan Gehn a2d37af516 - get libntlm cflags/libs from pkg-config 2008-10-04 19:08:15 +00:00
Stefan Gehn 804e456c03 - Merge in gkrellm-2.3.2 release changes 2008-10-04 08:55:47 +00:00
Stefan Gehn b067125f1c - lower minimum required gtk+ version to 2.4 by removing the (hopefully) only call to a gtk+-2.6 function
- merge in translation changes from gkrellm-2.3.2 snapshot (forgot pl.po)
2008-10-03 12:06:33 +00:00
Stefan Gehn d8c30ffddb - Bump copyright year, version information and minimum gtk+ version in various files 2008-09-30 17:37:03 +00:00
Stefan Gehn e03fa87217 - Makefile: Add GTK+ version check (>= 2.6) 2008-09-30 14:42:40 +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 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 b5ad32c190 - Merge in changes for macosx with native gtk+ 2008-02-10 13:30:48 +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 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 81d79d6568 2008-02-01 18:36:15 +00:00