Added http login, json data compression, ati.png, favicon, fixed compile error for debug build, port form updated (#256)

Thanks to @DjordjeMandic
This commit is contained in:
Djordje
2020-05-25 11:20:25 +02:00
committed by GitHub
parent 8e22bb7f54
commit 6387ebf2c2
15 changed files with 1334 additions and 308 deletions
@@ -4,10 +4,13 @@
// Partial Copyright (C) Michael Möller <mmoeller@openhardwaremonitor.org> and Contributors.
// All Rights Reserved.
namespace LibreHardwareMonitor.Hardware.Storage
{
#if DEBUG
using System;
using LibreHardwareMonitor.Interop;
namespace LibreHardwareMonitor.Hardware.Storage
{
internal class DebugSmart : ISmart
{
private readonly Drive[] _drives = {
@@ -376,7 +379,7 @@ namespace LibreHardwareMonitor.Hardware.Storage
string[] lines = value.Split(new[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries);
DriveAttributeValues = new Kernel32.SMART_ATTRIBUTE[lines.Length];
var thresholds = new List<Kernel32.SMART_THRESHOLD>();
var thresholds = new System.Collections.Generic.List<Kernel32.SMART_THRESHOLD>();
for (int i = 0; i < lines.Length; i++)
{
@@ -416,6 +419,6 @@ namespace LibreHardwareMonitor.Hardware.Storage
public string Name { get; }
}
}
}
#endif
}