summary refs log tree commit diff stats
path: root/plugins/sysinfo
AgeCommit message (Collapse)Author
2017-06-13build: Replace Autotools with MesonPatrick Griffis
Quick rundown of benefits: - Much faster: - Autotools (with autogen): 22 seconds - Meson: 7 seconds - Meson (with ccache): 2 seconds - Simpler: - ~1000 lines smaller - Single simple language - Potentially better Windows (Visual Studio) support What is not done: - Complete Windows support - OSX support (easy) Closes #2013 Closes #1937 Closes #1803
2017-04-28sysinfo: Lower priority of make.conf for distro nameLance Poore
This is used elsewhere other than Gentoo so it is a rather unreliable check compared to lsb-release.
2016-09-30sysinfo: fixup 49758cafba9fd7e0663b550debfd51fb21260650. (#1827)Mihai Moldovan
MAC_OS_X_VERSION_MAX_ALLOWED reflects the currently running OS X version more closely than MAC_OS_X_VERSION_MIN_REQUIRED, given it's defined as max(current_version, MAC_OS_X_VERSION_MIN_REQUIRED). Additionally, we should check if MAC_OS_X_VERSION_10_9 is actually defined, otherwise the whole macro logic breaks apart.
2016-09-26build: Reorder includes to avoid installed plugin headerRainer Müller
When hexchat is already installed into a non-default prefix, a new build could pick up ${prefix}/include/hexchat-plugin.h from the installed version instead of the local header, as configuration variables such as $(GLIB_CFLAGS) would point to -I${prefix}/include. Reordering the includes and moving -I arguments to CPPFLAGS prevents this, as it ensures the local directories are always searched first. This was no problem when compiling for /usr or /usr/local as these directories in the compiler search path are always searched last. Closes #1822
2016-09-25sysinfo: fix compilation on OS X 10.9 and lower. (#1821)Mihai Moldovan
Use the (deprecated) Gestalt functionality for fetching the fine-grained OS X version number on 10.9 and lower. The newer NSOperatingSystemVersion structure is only available on 10.10+.
2016-09-03sysinfo: Fix leakPatrick Griffis
2016-09-03sysinfo: Don't print swap if 0Patrick Griffis
2016-03-06sysinfo: Clean up ifdefs and handle unsupported CPUPatrick Griffis
Mentioned in #1624
2015-10-12common: Moved some functions over from plugins/sysinfo that are useful for ↵Arnavion
the rest of HC. OS name, CPU, GPU, HDD info and build arch are now all available within core HC. OS name and build arch are used in the About dialog.
2015-10-10Use VS 2015Arnavion
2015-03-20sysinfo: Strip trailing space on video cardTingPing
2015-02-21More type issues/warningsTingPing
2015-02-21Fix type mismatchTingPing
2015-02-21Fixed cast warning, use of uninitialized buffer and whitespace.Arnavion
2015-02-21Unify sysinfo plugins and add osx supportTingPing
This does remove the net* commands from the Unix version that may return at a later date with OSX and Windows support. This commit also makes numerious other changes such as code cleanup, reformatting, etc. Closes #829
2015-02-11Better project files.Arnavion
- Output directly to rel\ instead of to bin\ and then copying files over. - Deduped Win32 vs x64 configs - Moved some common properties to hexchat.props - All build intermediates (except htm's intermediates) are no longer emitted in the source directory
2015-02-10Call CoInitialize, CoInitializeSecurity and CoUninitialize from the main ↵Arnavion
process, not from a DLL. They're process-level functions and aren't meant to be called from DLLs. CoInitSecurity in particular fails with RPC_E_TOO_LATE even if no other call to CoCreateInstance has been made yet. Fixes sysinfo's WMI calls on Windows 8.1 and above.
2015-01-31sysinfo: Fix braindead logic for stripping spaces from the end of the OS name.Arnavion
2015-01-31sysinfo: Strip spaces from the end of the OS name, if any, and ensure a ↵Arnavion
space between name and arch.
2015-01-05sysinfo: Also show HDD information.Arnavion
2015-01-04sysinfo: Don't confuse build architecture with CPU architecture.Arnavion
2015-01-04sysinfo: Refactored out individual WMI parsing methods.Arnavion
2015-01-03Bring the sysinfo plugin to the 21st century.Arnavion
- Support multiple CPUs and graphics adapters in the WMI responses. - Query max CPU frequency from WMI instead of registry. - Support uptimes longer than 50 days. - Don't report using /ME in notice and server notice tabs. - Convert to C
2014-12-28Fix building as c89TingPing
2014-12-28Use glib for allocations in all pluginsTingPing
Continuation of 83032b1aa
2014-12-17More consistently include config.hTingPing
2014-12-15configure: Improve various build flagsTingPing
- Store openssl flags in own vars - Share some common flags for plugins - Fix building plugins on win32 - Store all glib flags in one var - Don't link against every lib for each plugin - Don't hardcode ldflags for sysinfo
2014-12-11sysinfo: Simplify remove_leading_whitespace()TingPing
Also fixes a possible overflow
2014-12-11Fix some warnings in xsysTingPing
- Remove unused code - Fix leak
2014-11-02Warning cleanupCampbell Barton
- ignoring const - declarations after statements - some C files didnt include own headers (risking them getting out of sync) Closes #1064
2014-09-25Fixed instances of hexchat_printf that unsafely used a string parameter as a ↵Arnavion
format string. Fixes #1153
2014-04-19sysinfo: Use less ambiguous IEC prefixes in storage measurementsMax Zerzouri
Closes #922
2013-10-20sysinfo: Fix showing debian version on ubuntuTingPing
2013-10-10Fix a few cppcheck warnings.XhmikosR
Use the proper data type in format functions and fix a resource leak.
2013-10-05some Typos causing lintian moaning: {R,r}eciev.. -> {R,r}eceiv..Alf Gaida
2013-09-15Convert project files to vs2013Eustachy Kapusta
2013-08-26Sysinfo: Add announce optionTingPing
2013-08-26Sysinfo: Fix gentoo detectionhasufell
2013-08-12Fixed munging of whitespace in sysinfo's matching functionsJoshua Theze
Closes #712
2013-07-24Move optimization settings from all subsequent projects to hexchat.propsEustachy Kapusta
2013-06-01be more specific about sysinfo menu entryTingPing
2013-05-17Fix warning from hwmon.c in plugins/sysinfoRichard Hitt
2013-05-10Added help text for sysinfo plugin.Rahat Ahmed
2013-04-28Don't hardcode "plugins" as the subdirectory for plugins in manyChristoph J. Thompson
places. modified: config-win32.h modified: configure.ac modified: plugins/checksum/Makefile.am modified: plugins/doat/Makefile.am modified: plugins/fishlim/Makefile.am modified: plugins/perl/Makefile.am modified: plugins/python/Makefile.am modified: plugins/sysinfo/Makefile.am modified: plugins/xdcc/Makefile.am modified: src/common/plugin.c modified: src/fe-text/fe-text.c
2013-04-25win32: Moved PlatformToolset configuration to individual project files. It ↵Arnavion
should be set before setting other properties or importing other props. This fixes the broken GUI Platform Toolset indicator, as well as VS compilation itself if another version such as 2010 was also installed.
2013-04-14Relocate plugin iconsBerke Viktor
2013-04-01Remove another bunch of obsolete junkBerke Viktor
2013-01-19Correct almost all compiler warning issuesRichardHitt
2013-01-09Make source cleah with cppcheck, except for mpc and saslRichardHitt
2012-12-23fix incorrect FSF addressDan Mashal