diff options
Diffstat (limited to 'inxi.changelog')
-rw-r--r-- | inxi.changelog | 157 |
1 files changed, 115 insertions, 42 deletions
diff --git a/inxi.changelog b/inxi.changelog index f4f8f5b..306d9a2 100644 --- a/inxi.changelog +++ b/inxi.changelog @@ -1,6 +1,79 @@ ================================================================================ +Version: 3.3.11 +Patch: 00 +Date: 2021-12-16 +-------------------------------------------------------------------------------- +RELEASE NOTES: +-------------------------------------------------------------------------------- + +Quick bug fix release. With as many changes as we got in 3.3.10, there were +bound to be a handful of oversights that were not caught in testing simply +because those hardware scenarios were not present in the tested systems. + +Also minor feature enhancement for CPU scaling min/max speeds. + +-------------------------------------------------------------------------------- +KNOWN ISSUES: + +1. Due to the huge amount of changes, and the speed of change, while the new +code is working as intended, it's somewhat lacking in coding elegance since a +lot of it was hacked out very quickly, in near real time. This will get cleaned +up and refactored to be less redundant if it does not impact execution speed, +but is not pressing since there should be no functional difference. + +-------------------------------------------------------------------------------- +BUGS: + +1. Tiny oversight, in single case CPU model id would fail because it was using +an undefined test from previous tests, not the right test, that is. Tripped +error on Elbrus for example. + +2. Typo in battery secondary type status, created undefined value error. This +was I believe an older bug. + +-------------------------------------------------------------------------------- +FIXES: + +1. PPC revision change broke Elbrus revision test for stepping. Added in more +tests to show stepping for elbrus revision. + +2. Single core Elbrus in cpuinfo fallback mode failed to assign core multiplier +so L1 cache failed. + +3. In cpuinfo fallback mode, Elbrus E2C3 cache data failed to appear, that data +in not per block in cpuinfo, but is the last block, so those tests had to run +on each block, not just the first one. + +-------------------------------------------------------------------------------- +ENHANCEMENTS: + +1. Show for -Ca scaling min/max speeds if different from CPU min/max speeds. + +2. If no cpuinfo_min/max_freq speeds found, and scaling_min/max_freq found, set +overall min/max to use scaling min/max instead of cpuinfo min/max. + +-------------------------------------------------------------------------------- +CHANGES: + +1. None. + +-------------------------------------------------------------------------------- +DOCUMENTATION: + +1. Cleaned up and proofread better 3.3.10 changelog, it had a lot of errors +because stuff kept changing. + +-------------------------------------------------------------------------------- +CODE: + +1. Small code optimizations. + +-------------------------------------------------------------------------------- +-- Harald Hope - Tue, 16 Dec 2021 16:14:08 -0800 + +================================================================================ Version: 3.3.10 -Patch: 01 +Patch: 00 Date: 2021-12-13 -------------------------------------------------------------------------------- RELEASE NOTES: @@ -183,7 +256,7 @@ ENHANCEMENTS: sudo/root, and it will be more accurate than ever before. 2. CPU: shows per CPU L1/L2/L3 totals, and shows actual full system physical -processor count * L1/L2/L3 total in parentheses, like: L2: 1.5 MiB (3 MiB). +processor count * L1/L2/L3 total in parentheses, like: L2: 2x 1.5 MiB (3 MiB). 3. CPU: A long standing annoyance, previously for main CPU 'Speed:' item, showed the fastest core speed found, now shows avg: [speed] and with -Cx, shows the @@ -242,17 +315,25 @@ section, can be useful for systems with disabled MT, but supporting it. If no topology data found (OpenBSD for example), for -C shows 'smt: disabled' after 'type:' section, and enabled if -Cxxx (since MT really already tells you that). -13. For -Ca Speed: report, added 'governor:' item, if found. Can show 1 or more -active governors. +13. For -Ca Speed: report, added scaling: report, with childrend 'governor:'. +Can show 1 or more active governors. Also shows scaling driver:. Shows if either +is available. -14. Output height (in lines) control: -Y [-2|-1|0|1-xxx]]. This lets you break -up any of the output into whatever number of lines you want. Also useful out of -DISPLAY for reading -h options menu items etc. +scaling: + driver: .. + governor: .. + +These may be quite useful over time to help diagnose or debug scaling issues. + +14. Output height (in lines) control: -Y [-3|-2|-1|0|1-xxx]]. This lets you +break up any of the output into whatever number of lines you want. Also useful +out of DISPLAY for reading -h options menu items etc. It came tp my attention that the long standing shift+pgup/pgdown (aka -'softscrollback) behavior had stopped working, and in fact has been removed from -the current Linux kernel, at least until it is rewritten to be more clean and -understandable. Read more about it in these kernel post/commit messages: +'softscrollback) behavior had stopped working in kernel framebuffer mode, and in +fact has been removed from the current Linux kernel, at least until it is +rewritten to be more clean and understandable. Read more about it in these +kernel post/commit messages: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=50145474f6ef4a9c19205b173da6264a644c7489 https://lwn.net/ml/linux-kernel/CAHk-=whe4ZdTdCebneWqC4gSQZwsVJ5-Emg0BucOGCwPhOAJpw@mail.gmail.com/ @@ -261,7 +342,9 @@ Options for -Y are: * -Y 0 or -Y: Set maximum block height to terminal line height. * -Y [1-xxx]: Set maximum block line height to given integer. * -Y -1: Print out one primary data block item at a time, with -F for example. -* -Y -2: Restore default unlimited height if LINES_MAX configuration item used. +* -Y -2: Do not remove color codes when piped or redirected. Mostly useful for + piping to less -R, to preserve color codes. +* -Y -3: Restore default unlimited height if LINES_MAX configuration item used. 15. And finally, more disk vendors/vendor ids. As usual. As expected. @@ -299,16 +382,16 @@ cache: [cache size] and call it a day. -5a. Change default width to 80 columns, in and out of display. Too many users -are posting horribly wrapping inxi output in forums, issue trackers, etc, and it -frankly makes inxi look really bad, creates awful side scrolling code boxes, -etc. So now default widths in and out of console are 80 (since often data is -generated in SSH or out of X/Wayland) for issues. +5a. Change default width to 80 columns in display, and 100 and out. Too many +users are posting horribly wrapping inxi output in forums, issue trackers, etc, +and it frankly makes inxi look really bad, creates awful side scrolling code +boxes, etc. So now default widths in and out of console are 80/100 (since often +data is generated in SSH or out of X/Wayland) for issues. -This essentially makes -y 80/-y the default width. This is what I've been using -for a few years now, and after seeing far too many side scrolling or badly -wrapping inxi outputs online, I think it's probably time to just force 80 column -widths as default and call it a day. +This essentially makes -y 80/-y the default width in display, and a wrapped 100 +out. This is what I've been using for a few years now, and after seeing far too +many side scrolling or badly wrapping inxi outputs online, I think it's probably +time to just force 80 column widths as default and call it a day. You can change these new defaults using configuration options (these are the previous options, though due to a bug, COLS_MAX_CONSOLE was never being used): @@ -317,12 +400,10 @@ previous options, though due to a bug, COLS_MAX_CONSOLE was never being used): COLS_MAX_IRC=100 COLS_MAX_NO_DISPLAY=130 # not in display, no X/Wayland running -5b. Changed output wrapped indent to 1 column from 2, and make second and -greater rows of a line indent +1 to make it more clear that it is a child row of -its parent row. Note that because no arg short form, -S, and -I are special -types of rows, this behavior is not used, they just print out as usual. This 1 -column indent also applies to -y1, making for a little more data per line but -more readable and easy to follow. +5b. Made second and greater rows of a line indent +2 to make it more clear that +it is a child row of its parent row. Note that because no arg short form and -I +are special types of rows, this behavior is not used, they just print out as +usual. This makes for more readable and easy to follow flow of output data. 6. If > 1 physical cpu detected, no longer uses single/dual/triple/quad core strings, rather uses: 2x 2-core. Also uses lower case -core, not -Core. @@ -339,15 +420,12 @@ Topology line rather than the Info: 6-core type item. For -b, short, -Cx, -Cxxx shows the Info: topology short form. 11. Bogomips always shows before flags data, whether -f or just -Cx trips flag -output. +output. This places bogomips at end of Speed: line, after the core speeds. 12. Flags/Features now shows in the same place, under Speeds: always, whether -Cx shortlist, or -Cf full list. Makes more sense that way, and code is much cleaner too. -13. Bogomips, being essentially bogus units of speed for cpu, are moved into -Speed: report. - -------------------------------------------------------------------------------- DOCUMENTATION: @@ -362,7 +440,7 @@ sudo. Good job OpenBSD guys. Note that inxi already has had full doas support for a while now, but this finalizes it, and makes it fully agnostic. Internally doas is actually preferred over sudo, by the way. -4. Added documention items for INDENT (--indent), INDENT_MIN (--inident-min). +4. Added documention items for INDENT (--indent), INDENTS (--indents). 5. Re-ordered help menu and man page, created new Filters and Output Controls sections to make stuff easier to find. In man page, also added on top a list of @@ -372,11 +450,9 @@ OPTIONS sections to make finding stuff easier. CODE: 1. Removed legacy /sys cpu functions: cpu_bugs_sys(); get_boost_status(); -set_cpu_speeds_sys(). cpu_speeds() is deprecated and now will only be used for -legacy Linux and BSDs if they had any per core speeds found; get_caches() was -only a placeholder for the full featured cpu_sys data source, and was removed; -cpu_speeds() no longer needed, integrated into other logic; cpu_dies_sys() -removed, integrated into other logic. +set_cpu_speeds_sys(). get_caches() was only a placeholder for the full featured +cpu_sys data source, and was removed; cpu_speeds() no longer needed, integrated +into other logic; cpu_dies_sys() removed, integrated into other logic. This logic is now integrated into cpu_data_sys() data generator. @@ -392,7 +468,7 @@ processor blocks anyway, that was always a hack done by the kernel guys to toss that SOC data somewhere as far as I can tell. 4. New tools: -* either_or() - takes a list, and returns the first defined element of list. +* get_defined() - takes a list, and returns the first defined element of list. * regex_range() - generate ranges from comma, space, or ranges like 2-29, or any combination of those, like 3,6,12-29 @@ -412,8 +488,8 @@ risc cpu. This is much cleaner, and use $risc{'id'} for print purposes, which got rid of a lot of tests. Also made all risc tests consistent, some were ARM only, or arm/mips, but were supposed to be for all risc cpus. -9. Set help menu code to roughly 80 columns width assuming 2 space tab -indentation. +13. Made help menu code more or less wrap to 80 columns, or close. Ongoing to +bring to 80 columns where practical, but never at expense of clarity or logic. 10. Changed all xxx_cleaner subs to clean_xxx, all filter subs to filter_xxx, and row_defaults() to message(). @@ -425,9 +501,6 @@ pointlessly. 12. Cleaned up print_data() to allow for more fine tuned indentation for the new 2 indent levels. -13. Made help menu code more or less wrap to 80 columns, or close. Ongoing to -bring to 80 columns where practical, but never at expense of clarity or logic. - -------------------------------------------------------------------------------- -- Harald Hope - Tue, 13 Dec 2021 10:25:49 -0800 |