94 Commits

Author SHA1 Message Date
Michael Möller
97b03945ae Added more null checks to the MainForm.SaveConfiguration method. Updated the version. 2020-02-26 00:33:23 +01:00
Michael Möller
5f9532ceb8 Changed the way hardware nodes are inserted into the GUI tree view. The new code should keep the order (as enumerated by the parent) for hardware of the same type. 2020-01-30 23:08:49 +01:00
Michael Möller
bb45f65447 Added a menu item to reset the pen color (to use again the plotColorPalette based color). Moved the saving/loading code to the SensorNode class (as with the other properties). 2016-11-06 15:02:12 +01:00
shrddr
9479c08df9 Added customizable pen colors
New node property, penColor, is null by default; this means that color
will be picked using the existing plotColorPalette method.
New node context menu item, Pen color, lets user choose the color to be
used when plotting this particular node.
This property is also saved/loaded from settings based on sensor
identifier.
2016-07-13 23:09:05 +03:00
Michael Möller
0e5e4afe5e Corrected the source formatting. 2015-12-18 22:49:53 +01:00
ivanatpr
6cbfdce0bc Prevent plot from reusing line colors if possible
CURRENTLY: the code that sets plot line colors loops determines a
default color for the all sensors, such that, AFAIK, a given sensor will
always get the same plot color across different runs of the application
(as long as the list of all detected sensors stays the same). This
consistency is nice, but there's no duplicate handling so if the user is
unlucky they can end up with duplicate colors in their plot even when
the plot only contains 2 sensors.

MY CHANGE: I added a second step that attempts to find a new color for
sensors in the plot whose color is being used by another sensor.
However, I tried to keep as much of the old consistency as I could, so
the default color for each sensor is still calculated in the same way as
before. That way if there aren't any duplicate colors, all sensors will
keep the same color they had before the change, so I'm guessing most
users won't even notice the change.
That said, in certain circumstances this change can cause plot colors to
jump around a bit as sensors get added/removed from the plot. For
Example, if sensors A & B have the same default color and you add both
to the plot, sensor B will get assigned a different color in order to
prevent a duplicate color. However if you then remove sensor A from the
plot, sensor B will suddenly revert to it's default color, which may
seem to the user like mysterious action at a distance. Should be rare
though.
2015-12-16 03:04:39 -05:00
Michael Möller
f054320731 Fixed the following issue (present only on 32-bit systems):
Version: 0.7.0.0

System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenHardwareMonitor.GUI.MainForm.timer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Common Language Runtime: 4.0.30319.18444
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
Process Type: 32-Bit
2014-12-30 22:47:39 +00:00
Michael Möller
9f28081100 Added a configurable logging interval. 2013-08-25 19:13:35 +00:00
Michael Möller
94cbde3e97 Fixed a few stability issues in the logging implementation. Added support for logging sensors once the reappear. 2013-08-18 21:44:08 +00:00
Michael Möller
92d4954da6 Added a first data logging implementation. 2013-08-11 21:26:56 +00:00
Michael Möller
81a926cfc9 Added Fahrenheit support to the plot. 2013-06-09 17:44:05 +00:00
Michael Möller
ea68316dc7 Added the new OxyPlot based plot implementation. 2013-06-09 16:08:59 +00:00
Michael Möller
9a1d0d5c08 Fixed Issue 368. Fixed Issue 369. Fixed Issue 370. 2012-10-28 15:19:45 +00:00
Michael Möller
69b0050008 Changed the source formatting of the HttpServer class to match the rest of the project. 2012-10-28 14:06:50 +00:00
Michael Möller
c2f1a51725 Fixed Issue 387. The new implementation does not try to start a ring 0 driver that already exists, but could not be opened. It tries to delete the driver and install it new. The driver is now stored temporarily in the application folder. The driver is not correctly removed on system shutdown. 2012-09-23 18:37:43 +00:00
Michael Möller
e32ce0060d Changed a few context menu items to display a radio option style. Added additional information from the SMBIOS to the report. 2012-08-11 21:32:59 +00:00
Michael Möller
4bebb21f12 Added a RAM hardware and sensor, fixed Issue 115. 2012-07-23 21:54:35 +00:00
Michael Möller
fc026664d3 Fixed Issue 86. 2012-07-12 10:17:18 +00:00
Michael Möller
028248273b Added the option to enable/disable all hardware groups. 2012-07-11 17:35:30 +00:00
Michael Möller
52c47c76e2 Added the remote web enhancement developed by Prince Samuel. 2012-05-27 20:15:32 +00:00
Michael Möller
2e3489e1f7 Changed the license to the Mozilla Public License 2.0 and update the licensing information. 2012-05-27 14:23:31 +00:00
Michael Möller
5546398713 Fixed Issue 313. 2012-01-15 22:06:59 +00:00
Michael Möller
7b66e3f1b5 Added code to save and restore the plot sensor selection. 2012-01-01 17:12:34 +00:00
Michael Möller
0b184bb65e Added a context menu to the plot which allows the user to configure the time window for plotting. 2012-01-01 15:46:42 +00:00
Michael Möller
0bb5d2d1e1 Changed the maximum buffer size for double buffering of controls that isn't disposed after each draw call to the size of the screen. This should reduce the memory allocation and disposing on each sensor update. Also page faults are no longer increasing with this change. 2011-06-25 14:46:28 +00:00
Michael Möller
5655347152 Fixed issue 239. 2011-06-19 12:51:17 +00:00
Michael Möller
330e93ea64 Added support for saving and restoring the sensor history for the last 24h. The sensor history is now saved in a reduced format (duplicate values are removed, gaps are marked with a NAN sensor value. 2011-06-19 12:41:18 +00:00
Michael Möller
357498a063 Fixed a problem preventing the plot form getting closed correctly. This did prevent the application from terminating when asked to exit by the operating system (for example at shutdown). 2011-06-04 13:27:11 +00:00
Michael Möller
77ed6c2f48 Added an option to show the plot in a separate window or on the right of the tree-view. 2011-05-22 19:15:27 +00:00
Michael Möller
8ed6399a0e Fixed Issue 223. 2011-05-19 07:22:06 +00:00
Michael Möller
c62fb23f99 Improved the selection dragging on the tree view. The selection moves now only when the dragging starts on the tree view. With the old implementation, double-clicking the gadget would change the selection, because the mouse is still pressed when the main window is shown. 2011-05-15 21:43:40 +00:00
Michael Möller
58fcb67dcd Added some GUI improvements: Better handling of the row selection, minimal row spacing of 18 pixel (to get nice dotted lines) and 3 decimal digits for voltages. Also changed the tree view font rendering to get better quality without ClearType. 2011-05-15 20:48:52 +00:00
Michael Möller
ac2fc9d78d Fixed Issue 219. 2011-05-15 16:44:14 +00:00
Michael Möller
6e86c9e1a9 Fixed Issue 199. 2011-04-30 16:03:58 +00:00
Michael Möller
ccbadd63cf Fixed a few details for the Linux GUI. 2011-04-11 22:38:39 +00:00
Michael Möller
1d8aa26d14 Fixed the tree view row height on Linux. 2011-04-10 20:22:20 +00:00
Michael Möller
1157a33042 Fixed Issue 156. 2011-03-19 22:55:05 +00:00
Michael Möller
ca1f45475d Fixed Issue 179. 2011-03-16 22:10:26 +00:00
Michael Möller
12844967da Fixed Issue 162. 2011-02-07 22:06:58 +00:00
Michael Möller
be28c71358 Fixed some dpi scaling bugs that occurred when changing "Control Panel\Appearance and Personalization\Display" to 125% text size or 150% text size. 2011-01-30 23:45:26 +00:00
Michael Möller
60c28cc250 Improved the saving and restoring of default fan control settings for ATI GPUs. 2011-01-20 21:48:26 +00:00
Michael Möller
86dbc6f06b Added a minimal control interface to allow manual fan control and implemented the interface for ATI GPUs. 2011-01-20 21:31:54 +00:00
Michael Möller
1159ba3db0 Fixed Issue 137. 2010-11-21 12:28:31 +00:00
Michael Möller
7ee8cea14e Fixed a problem, where the MainForm location and size was lost when the application is started minimized and exited without ever showing the form. This caused MainForm_Load to be never called (location and size was not loaded), but the default size and location were still saved. The new implementation only saves the location and size when one of the two is changed. 2010-11-11 21:22:24 +00:00
Michael Möller
22d714c976 Removed the WMI Provider menu entry and restricted WMI to the Windows platform. 2010-10-17 19:13:26 +00:00
Paul Werelds
cac6928f07 Small bits of refactoring. 2010-10-17 08:21:33 +00:00
Paul Werelds
8705b321f3 More refactoring. 2010-10-16 18:24:20 +00:00
Paul Werelds
ebc1e612d9 Added a WMI provider, documentation to follow. 2010-10-16 13:29:06 +00:00
Paul Werelds
0be214b3f2 Changed the way window position is saved and handled. This should now work properly. 2010-10-06 11:34:54 +00:00
Paul Werelds
23a18b8589 Fixed Issue 123. 2010-10-05 19:34:59 +00:00