aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2018-12-02dt_util: enable and fix warningsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-02enable and fix some warningsBurt P
Part of (#298). Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-30devices/storage: added udisks2 supportOndrej Čerman
2018-11-04benchmark/blowfish: new version of blowfish benchmarkBurt P
The new version uses a fixed time and provides variants for single-thread, multi-thread, and multi-core. A few results are included. Signed-off-by: Burt P <pburt0@gmail.com>
2018-05-29move data files to data/Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-05-29vendor.c/vendor.ids: create vendor.idsBurt P
Create a new, more easily maintained, file for vendor information. Installs with hardinfo, but can be sync-ed if that function ever gets restored. Reading the old vendor.conf format is still fully supported, AFAIK. Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24[new] devices/gpu: graphics processorsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24[new] gpu_util: functions and data structures for gpu informationBurt P
Enumerates GPUs into a list. Currently from PCI and device tree. Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24[new] x_util: functions and data structures for x server informationBurt P
Get X display info from Xlib, xrandr, xdpyinfo, and glxinfo. Also, Some simple Wayland info lives here for now. Signed-off-by: Burt P <pburt0@gmail.com>
2018-04-24[new] pci_util: functions and data structures for pci informationBurt P
Based on usb_util. Only current method is via lspci, but framework exists to add other methods. Signed-off-by: Burt P <pburt0@gmail.com>
2018-03-12usb_util.cBurt P
A set of functions for getting information for a single USB device, or a list of all devices. The only implemented method is using `lsusb`, which is slow. A method using sysfs would be much better. The existing sysfs and procfs methods in devices/usb.c do not appear to work, so it would have to be something new. devices/usb.c modified to use usb_util, but all the old code is still there. Signed-off-by: Burt P <pburt0@gmail.com>
2018-03-12Do not use hardcoded path for iconLeandro Pereira
Use just the symbolic name "hardinfo", allowing for icon packs to provide alternative icons. Fixes #227
2017-12-09Build debug builds with address sanitizerLeandro Pereira
2017-08-27Create dmi_util.c and move *_util.c to hardinfo/Burt P
These stand alone interfaces and are used across modules, so just make them available to any module by default. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14cmake: add info.c to gtk3 build/link listBurt P
Fixes #150. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-14Begin getting rid of callbacks returning stringsLeandro Pereira
Strings were never a good choice to begin with. However, with the efforts to improve translatability, they became even worse. This is an attempt to clean up the current mess and provide a more structured way for modules to commmunicate with the shell. The Computer module has been partially converted and changes will be provided next. It's partially converted since some of its information is still stored as strings. The Shell still only understands strings; that's why the structured data is converted to a string the way it is. Once all modules are converted, the Shell can be modified to handle struct Info directly without having to parse the .ini-like strings.
2017-08-14Create man pagePICCORO Lenz McKAY
2017-08-07cmake: fix mistake that broken gui benchmark for gtk2Burt P
I broke it. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30gtk3: some leftovers from recent commitsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30gtk3: Christian Hergert's uber-graph replacing loadgraphBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-30GTK3 updatesBurt P
* Use gtk_widget_get_window() instead of ->window cmake: * add option to build against gtk3 `-DHARDINFO_GTK3=1` * combine hardinfo-shell static library and hardinfo * disable guibench for gtk3 hardinfo/util.c: * widget_set_cursor() gtk3 changes * For now, the whole function tree_view_save_image() is disabled for gtk3. shell/shell.c: * add gtk_notebook_set_page() compatibility macro if not defined * shell_summary_add_item() fixes * Disable RANGE_GET_VALUE() RANGE_SET_VALUE() macros for GTK3. This is a nigtmare onion to try and peel. shell/callbacks.c: * gtk_about_dialog_set_name() -> gtk_about_dialog_set_program_name() after GTK+2.12. shell/loadgraph.c: * builds, but not yet functioning under gtk3 Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-24Add cmake option to make a "Reproducible Build" (#109)bp0
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19device tree: reworked and cleaned upBurt P
* Moved device tree functions to modules/devices/devicetree/dt_util.c * The dtr_* functions usable from outside devicetree.c, for example in get_motherboard(). Must #include "dt_util.h" * Now possible to use an alternate device tree root for testing -DOVRDTRROOT=\"/some/path\" * Alternately, pass dtr_new() an alternate base path. * Abandoned the tuple grouping and inherited properties stuff for now. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Begin support for device treeBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-19Make locale dir match install pathBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12cmake: option() -> set() for strings.Burt P
option() worked but set() works better with cmake-gui. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12cmake: regex tweaksBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12riscv: initial supportBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Move common processor stuff into cpu_util.{h,c}Burt P
* PROC_CPUINFO define used in testing * STRIFNULL(), UNKIFNULL() EMPIFNULL() macros used in reading cpuinfo * byte order, topology, and cpufreq data structures and functions that are platform independent * processor_has_flag() helper Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Add test and data for various processor.cBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Add CMake options to allow testing various platform's processor.cBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-12Handle x86_64 the same way as arm64Burt P
Removes some symlinks x86_64 -> x86. Signed-off-by: Burt P <pburt0@gmail.com>
2017-07-06Add "ppc" as a supported architecture name againLeandro Pereira
The kernel on my PowerBook G4 uses this string rather than ppc32.
2017-07-06Fix FTBFS on ppc64leBurt P
Patch by Frédéric Bonnard <frediz@linux.vnet.ibm.com> from Debian bug report. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865776#10
2017-07-02Add zlib benchmarkLeandro Pereira
2017-06-21Use arm for aarch64Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-05cmake: HARDINFO_NOSYNC option on by defaultBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-05cmake: add option to disable sync via libsoupBurt P
Adds a cmake option HARDINFO_NOSYNC to disable libsoup and remote sync. * Workaround for incompatible libsoup (ex: on raspbian) * xmlrpc.hardinfo.org is down and sync isn't currently available anyway. Use: cmake -DHARDINFO_NOSYNC=1 .. Signed-off-by: Burt P <pburt0@gmail.com>
2016-07-30Bump version to 0.6 alphaLeandro Pereira
2016-07-30Remove remote featureLeandro Pereira
This has no encryption, SSH credentials are stored in plain text, etc.
2016-07-30Remove help viewerLeandro Pereira
It's very unlikely I'll every write documentation for HardInfo anyway.
2014-01-03Realize that we are using cmake, and modify the build system using ↵Julien Lavergne
elementary module
2012-12-30add -std=gnu89hasufell
this again breaks strict compilers like clang, so declare what gnu extensions we use
2012-11-28fixed autodetection of debug buildsmckaygerhard
2012-11-28right usage of GNUinstall dirs, and added module if distros not have yetmckaygerhard
2012-05-30Fix underlinking wrt https://bugs.gentoo.org/show_bug.cgi?id=418121hasufell
2012-05-30Split x86 and x86_64 archeshasufell
lib suffix in hardinfo/binreloc.c is already supported and will be respected now
2012-05-30Use GNUInstallDirs and respect lib suffixhasufell
2012-01-27Remove "lib" prefix from modulesLeandro Pereira
2012-01-08Add group information.Leandro Pereira
Closes http://bugs.hardinfo.org/showreport.php?bugid=54