Age | Commit message (Collapse) | Author |
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Part of (#298).
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Enumerates GPUs into a list. Currently from PCI and device tree.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Use just the symbolic name "hardinfo", allowing for icon packs to
provide alternative icons.
Fixes #227
|
|
|
|
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>
|
|
Fixes #150.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
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.
|
|
|
|
I broke it.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
option() worked but set() works better with cmake-gui.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* 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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Removes some symlinks x86_64 -> x86.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
The kernel on my PowerBook G4 uses this string rather than ppc32.
|
|
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
|
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
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>
|
|
|
|
This has no encryption, SSH credentials are stored in plain text, etc.
|
|
It's very unlikely I'll every write documentation for HardInfo anyway.
|
|
elementary module
|
|
this again breaks strict compilers like clang, so declare what gnu
extensions we use
|
|
|
|
|
|
|
|
lib suffix in hardinfo/binreloc.c is already supported
and will be respected now
|
|
|
|
|
|
Closes http://bugs.hardinfo.org/showreport.php?bugid=54
|