Age | Commit message (Collapse) | Author |
|
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Fix a crash when there is no DMI available.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Just steal the code from GNOME shell:
https://github.com/GNOME/gnome-shell/blob/9cc143aaee8aa7c33d7815f744f8dc9e958bddf8/js/ui/status/network.js#L89-L98
|
|
Change requested by lpereira in
https://github.com/lpereira/hardinfo/pull/160
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
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>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
dmi_chassis_type_str() is moved from code in
computer.c:detect_machine_type().
It makes sense to keep it with dmi, as it maps a dmi-defined
value to a string. This way it can be used in both dmi.c
and computer.c.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Also, simplify now that an empty DMI string is returned as null.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Now that group names are translatable, this seems a better
way.
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 a FIXME.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
The only error would be inability to access /var/log/wtmp.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
The about modules strings were marked for translation
and translated, but the about dialog wasn't using the
translation.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
fix detection for strings and also justify that when gambas are development version git or trunk svn build the versions beetween compiler and interpreter can differs,
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
In the future, won't have to rely on a translated string.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
For the GPU Drawing benchmark at least, it should give
some idea of the graphics capabilities of the machine.
This is the only data hardinfo currently has about that.
Maybe in the future, more advanced GPU information could
be given.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
An old PPC result from hardinfo 5.1.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* cpu_config string is translated as loaded
* if board or cpu_desc is missing, it is left null, stored empty, and
translated to (Unknown) only when displayed.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* hide bench/name and result
* expand note for old results
The old version is kept because it is useful for future
development.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Old versions of hardinfo used current frequency instead of max
frequency. If the cpu id string had a clock rate in it, and it is
significantly more than thre reported frequency in the benchmark
result, use that.
This feature exists in an earlier commit but it was broken.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* More information can be saved in benchmark.conf, while still being
compatible with older versions.
* Selecting a result give additional information about the result
and the machine the produced it.
|
|
|
|
|
|
While info_flatten() is just a scaffold, use GString to reduce the
amount of temporary heap memory allocations.
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Fixes #150.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|