Commit Graph

110 Commits

Author SHA1 Message Date
Brian Ferguson
8bf1f6aec8 Add "Paused=0/1" to measures. This is an addition to a883e9d. 2013-07-15 11:59:58 -06:00
Brian Ferguson
a883e9d47d Add !PauseMeasure, !UnpauseMeasure, and !TogglePauseMeasure bangs. This is similar to a disabled measure, only it retains its value instead of changing to 0.
Also, group bangs !PauseMeasureGroup, !UnpauseMeasureGroup, and !TogglePauseMeasureGroup bangs have been added.
2013-07-11 14:29:23 -06:00
Brian Ferguson
eeef84dfa0 Added skin/section (if available) to logging. 2013-06-29 10:59:18 -06:00
Birunthan Mohanathas
04090b232a Make Rainmeter a singleton class
This change is part of making the Libray project more testable. The old g_Rainmeter global pointer has been replaced with a GetRainmeter() function to guarantee that the object exists in some state.
2013-06-13 17:20:27 +03:00
Birunthan Mohanathas
1934c5db72 Change NULL to nullptr 2013-05-31 17:28:39 +03:00
Birunthan Mohanathas
da9384cfad Remove "C" prefix in class names 2013-05-31 17:18:52 +03:00
Birunthan Mohanathas
a3d8f73f6c Tweak f4429ad 2013-05-30 17:19:42 +03:00
Birunthan Mohanathas
f4429ad8cc Refactor logging logic into new CLogger class 2013-05-29 22:05:41 +03:00
Birunthan Mohanathas
8c184a3dbb Simplify aa3c7eb 2013-04-10 19:04:28 +03:00
Birunthan Mohanathas
aa3c7eb8ce Tweaks to reduce OnChangeAction overhead 2013-04-10 19:00:22 +03:00
spx
95aacda3cb Code cleanup 2013-02-06 19:12:16 +09:00
spx
8ce97640dd OnChangeAction: Tweaks 2013-01-29 16:02:16 +09:00
spx
89d477b4e1 Minor tweaks 2013-01-29 15:59:08 +09:00
Birunthan Mohanathas
fdcd5a9757 Tweaks 2013-01-27 12:49:22 +02:00
spx
4e27d71d97 Additional changes to c3982da 2013-01-15 04:30:10 +09:00
Brian Ferguson
69762e1b05 Revised previous commit 2013-01-11 00:23:21 -07:00
Brian Ferguson
61f088e59c Fixed issue with 8330415 2013-01-10 23:48:31 -07:00
Brian Ferguson
90b80a2ca9 Added OnChangeAction to measures 2013-01-10 23:03:07 -07:00
Brian Ferguson
9800692f19 Added OnUpdateAction to measures, meters and the [Rainmeter] section. 2013-01-10 15:50:38 -07:00
spx
c1bd5860f2 Added workaround for Debug build mode.
940b4ff55e (commitcomment-1943357)
2012-10-03 15:36:45 -07:00
spx
940b4ff55e Measure: Tweaked Max/Min value logging. 2012-10-03 02:36:11 -07:00
spx
4cecb4957e IfEqualAction: Now compares the values as 64bit integer.
http://rainmeter.net/forum/viewtopic.php?p=76312#p76312
2012-09-06 00:39:01 -07:00
Brian Ferguson
a641b64041 More tweaks 2012-09-04 10:17:13 -06:00
Brian Ferguson
ef37981592 Performance tweaks 2012-09-04 09:59:21 -06:00
Brian Ferguson
2b30e0eead Tweaks 2012-09-04 09:38:11 -06:00
Brian Ferguson
42061a7b66 Fixed infinite loop with RegExpSubstitute when Substitute has a empty string.
http://rainmeter.net/forum/viewtopic.php?f=14&t=13377
http://rainmeter.net/forum/viewtopic.php?f=14&t=10954
2012-09-04 09:33:25 -06:00
spx
489f2c5a30 Code cleanup & cosmetics: Moved Measure/Meter shared part to Section.h 2012-08-09 06:50:58 -07:00
Birunthan Mohanathas
e2ce7d59a7 Tweaks 2012-08-04 21:27:21 +03:00
Birunthan Mohanathas
ea124f5ccd Changed MeasureName(N) to work dynamically 2012-07-18 17:55:32 +03:00
Birunthan Mohanathas
1fece1e4d8 Additional change to f2a494b 2012-06-03 12:56:33 +03:00
Birunthan Mohanathas
f2a494b675 Fixed that IfAction state is not reset after disabling since 4a8bc1b 2012-06-03 12:53:01 +03:00
Birunthan Mohanathas
2336b08b88 Reverted 9623766 2012-06-01 17:13:21 +03:00
Birunthan Mohanathas
922dd098c9 Cosmetics: Changed "config" to more consistent and descriptive terms 2012-06-01 16:06:36 +03:00
Birunthan Mohanathas
e3d92d354c Cosmetics 2012-05-30 21:53:44 +03:00
Birunthan Mohanathas
9623766a61 Fixed: IfActions not fired when measure is disabled 2012-05-30 09:46:11 +03:00
Birunthan Mohanathas
0891ee4b91 Tweaks 2012-05-30 08:10:12 +03:00
Birunthan Mohanathas
f20170406e Tweaks 2012-05-29 19:43:24 +03:00
Birunthan Mohanathas
4a8bc1beaa Moved IfAction execution to PostUpdate 2012-04-15 15:22:44 +03:00
Birunthan Mohanathas
43f726271d Fixed typo 2012-04-10 18:33:55 +03:00
Birunthan Mohanathas
ea67809d9b Replaced throw with Log where possible 2012-04-06 19:54:20 +03:00
Birunthan Mohanathas
ba239ffeea Changed all numerical options or numerical parameters of bangs to accept formulas 2012-04-06 15:16:54 +03:00
Birunthan Mohanathas
bb44c29f6c Cosmetic changes to function comment blocks. 2012-02-20 19:10:40 +00:00
jsmorley
3c98527338 Add: Formulas now allowed in the following settings:
LineWidth
LineLength
StartAngle
RotationAngle
Angle
ImageRotate
MinValue
MaxValue
IfAboveValue
IfEqualValue
IfBelowValue
2012-02-19 15:45:43 +00:00
Birunthan Mohanathas
b21658b1cd - Partially refactored bang handling code
- Renamed CMeasure::ExecuteBang to CMeasure::Command
- Minor cosmetic changes and tweaks
2012-02-01 15:55:29 +00:00
Birunthan Mohanathas
e99403ce1e Tweaks. 2012-01-23 09:35:32 +00:00
spx
ebec08914a Adjusted copyright notice.
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +00:00
spx
3bebd7002a Minor tweaks. 2011-12-09 19:49:06 +00:00
Birunthan Mohanathas
13b3241307 Minor tweaks and cleanup. 2011-12-09 08:40:19 +00:00
spx
2835739b12 Code tweaks and cleanup. 2011-12-09 03:28:19 +00:00
spx
8e8b7d1268 Code tweaks and cleanup. 2011-12-04 22:18:40 +00:00