Repository navigation
.Clarion 1.4.0
Fixed
- The program grew with every page you opened. A page is made again on each visit, but the rows it shows, such as the cleanup rows and the settings, live as long as the program. A page that was only dropped left a listener on every row it had shown, so each visit to Clean up, to a list of settings or to the Apps page added one more per row, and each one kept that visit's elements alive in native memory. A walk through all the pages 30 times took the program from 206 to 435 MB. Pages now let go of their lists when you leave them. The same walk ends at 380 MB, and growth after the first few rounds fell from about 4.2 MB a round to 0.9. The listeners on one cleanup row went from 3 to 8 in 8 visits before the change, and stay at 0 after it.
New
- .Clarion now knows when it is on a laptop, tablet or handheld. It reads the chassis type from the firmware table (the Laptop, Notebook, Convertible, Detachable and similar values Microsoft lists for Win32_SystemEnclosure) and whether Windows reports a battery, and counts the graphics adapters to tell a laptop with a second, stronger graphics chip. It takes 6 ms on the desktop this was built on and starts no process. A PC it cannot classify is treated as a desktop.
- Settings that are a poor fit for a laptop now say so. The details show an On this laptop box with the reason, only on a laptop. The High performance and Ultimate Performance power plans and the NVIDIA prefer maximum performance setting are marked Avoid there, since they keep the processor or graphics chip at full speed on a cooling system and battery that cannot carry it. Turning off hibernation, turning off location for the whole PC and turning off Find My Device are marked Caution, since a laptop in sleep can lose work when the battery runs out, loses its automatic time zone, and can no longer be found or locked when lost.
- A preset or a loaded setup leaves out the Avoid settings on a laptop and says how many it left out. The setting can still be turned on by hand in its own row, with the box in front of you. On the command line,
--applyand--apply-presetdo the same and print each one left out, and--allow-on-laptopincludes them. A desktop is never affected. - The Startup tab now explains the maker's own control software before you switch it off. Armoury Crate, Lenovo Vantage and Legion Zone, MSI Center, Alienware Command Center, HP System Event Utility and NitroSense or PredatorSense each get a note saying what the maker says that app handles, such as the fan and performance modes, the keyboard lighting and the Fn keys, and that on some models those wait until you start it by hand. The entry can still be turned off, and it stays off the list of things .Clarion refuses. An entry is recognised by its own name or file, never by the maker alone, so a maker's welcome or promotion entry gets no note. The notes link to the maker's own pages in the source and are checked by a test.
- The app remover now refuses the control apps of audio and graphics drivers by publisher: Realtek, Dolby, NVIDIA, Intel Graphics and AMD Radeon software, and Nahimic. On a laptop the speakers, the headphone jack and the graphics switch can stop working without them, and reinstalling the driver does not always bring them back. No setting in the catalog removes them today, and a test keeps it that way.
Polish
- Reading every setting on start and on Re-check takes 1.6 seconds, down from 2.5 on this PC (three starts of the real program: 1575, 1619 and 1602 ms). The Windows feature states are read through the DISM API that Windows ships, in the program, where each one started PowerShell and loaded its module, and the network adapters and encrypted DNS entries are read from the management classes that Get-NetAdapter and Get-DnsClientDohServerAddress are built on. Measured one kind at a time: Windows features 1852 to 598 ms, DNS 1318 to 57 ms, the optional capability 771 to 361 ms. Every state read the same as the PowerShell cmdlets gave on the real PC, checked by tests that run there. When the API cannot be used, for example without administrator rights, PowerShell is asked as before. Changes are still made with PowerShell, so nothing about what a change does is different.
- Setting CLARION_LEAK_PROBE=1 makes the program write to its log, every 10 seconds, how many pages are still alive after a full collection and how many listeners sit on a few sample rows. It is for finding leaks like the one above, and it does nothing unless that variable is set.