* Replace Storage implementation with CrystalDiskInfo based implementation.
* Formatting.
* Code review.
* Code review.
* Increase space for attribute name in report.
* Implement dynamic disk handling for usage sensor.
Disable unused warnings.
* Further cleanup in NativeMethods.txt and referenced.
* Experimental Prometheus support
Refactors text response to accept responseType
Generates a plaintext output in prometheus format using standard units and factors
Only called if and when endpoint (/metrics) is accessed
Exceptions are reported in the text output
This tries to minimize changes and uses no extra dependencies
* Changed strings to interpolation and raw literals to improve readability
* Fixed a typo
* Adding the Async HttpServer from Master
* Added back the http headers to SendResponseAsync
* Adding no-cache to sensor and prometheus
* Fix restore command on workflows.
- Correct path when restoring application packages.
- Add --no-restore for application build.
* Add RuntimeIdentifiers.
So restore knows what packages to pick.
* Add ARM64 platform support to build and projects
Added ARM64 as a supported platform in project files and solution configuration. Updated GitHub Actions workflows to build and publish ARM64 libraries. This enables building and distributing ARM64 binaries alongside x64 and x86.
* Add ARM64 support to NuGet packaging
Updated main.nuget.target to include ARM64 DLL and XML files in the NuGet package, enabling multi-platform support for win-arm64 in addition to x64 and x86.
* Fix ARM64 configuration mappings in solution file
Corrects the Debug and Release configuration mappings for ARM64 targets in LibreHardwareMonitor.sln, ensuring ARM64 builds use the proper platform instead of x64.
* Use PawnIO driver directly.
- Implemented PawnIO library in C#
- Builds in AnyCPU, x64 and x86
- Fixes#1895
* Implement review changes for PawnIO.
- Use existing Kernel32.CreateFile import.
- Move new DeviceIOControl to Kernel32.
- Replace Lazy Version loading with static property.
- Remove bin resource cache.
- Add constant for function name length.
* More review changes for PawnIO.
- Replace redundant internal checks with IsLoaded.
- Convert Win32 error code to HRESULT before returning it in
ExecuteHR()
* Drop KernelDriver
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Remove redundant second null check for sensor value
* Add base formatted raw values to data.json for consistent units
* Update HttpServer.cs
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Workaround for page changing on DDR5 systems with SPD Write Protection active has been implemented in new version of RAMSPDToolkit.
Code for LHM has been adjusted accordingly.
Added more sensors (timings).
* Move abbreviation of timings to start of string.
* Simplify names for timings.
* Update version.
* Remove extra padding.
* Minor refactoring for #1699
* Implemented storage update interval for the UI
* Revert "Implemented storage update interval for the UI"
This reverts commit 977ff2f5518d420e35cadad17054f4e69c260df1.
* Revert "Minor refactoring for #1699"
This reverts commit 923f6d6f636a2a10ff44b8c23f84e8985ccbf667.
* Made update interval configurable for storage devices
* Changed label text m to min for consistency
* Revised 8e6c669 as requested
* ATA Update interval defaults to 1s in the UI
* Simplified storage update interval menu
* Add Selectable Network Interface in Web Server
Update the Web Server port form to allow for editing the network interface the web server is run on. Added storage of the interface to the settings so it is persisted.
This should resolve issue #1089 .
* Update HttpServer.cs
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Ported SensorNotifyIcon drawing logic of CreateTransparentIcon() from the OpenHwRepository
I hate unreadable text in tray icon. Ported the working code from the unmaintained repository for the temperature tray icon to draw the way the original one draws.
* Added back logic to correctly center the icon
---------
Co-authored-by: Jakub Aqaba Štarman <akaspeh1@picusek.eu>
* Add support for electrical conductivity measurements
* Add Aqua Computer high flow NEXT support
* Expose alarm flags as hidden binary sensors
* Update HighFlowNext.cs
* Update ISensor.cs
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Add CSV file rotation method
Add a new option to choose how the csv file is being rotated.
Before it was everyday, which meant that we had to make sure the csv file was deleted before recording a new session.
Now by default it's set to "Per session" meaning anytime you start a new session it create a new CSV file.
Unless the daily method is used, in this case it will behave like before (1 file per day)
* Scale up the first TreeView column ("Sensor") on resize
The first ("Sensor") column being the most important and most likely the one that need the more space as hardware names can be pretty long.
I've changed so that the first column is the one scaling up when the tree view is being resized (instead of the last one)
* Change treeview column resize behaviour
I've made so that the separator a controlling the size of the column to the left instead of the right.
This make a lot easier to scale up the last column, but worth for the first one.
Thought the previous commit made it so that the first column size is resize by the total with of the tree view.
Sounds weird like that, but feel much more natural than before, and there is no overflow anymore.
* Fix typo in daily file rotation menu item tool tip
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Fix requested changes
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Add theme and plot thickness options
* Cleanup
* Fixed themes, and made it so the plot colors are updated when the theme is changed
* I think supporting themes beyond dark, light, and black is unecessary for the time being.
* recall theme from settings before instantiating plot
* Check for null setting
* committing to merge
* Fix
* Cleanup
* Cleanup
* Fix from comments. Thank you kamkie!
* Fixing last UI bugs
* Fix windowed plot not theming on relaunch, change theme, show plot
* Prevent Hardware Menu From Closing When Selecting Sensors To Turn Off
* Fix Double Declaration of PSU Menu Item in Designer. Not allowing Designer to Load in VS
* Remove Properties Resource File as it's auto generated.
* Implemented @pedrosimoes79 suggestion. Work and much cleaner. Thank you.
* Update MainForm.cs
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Plot panel right fixed width when chnaging window width
* Fixed with plot panel or sensor panel as an option
* Fixed capitalisation of menu items.
Edited the names of menu items added for split panel scaling options.
Corrected some variable names to corrospond to menu item name changes.