Commit Graph

121 Commits

Author SHA1 Message Date
69913fa251 Work on exporting stuff, revert some changes for better diff 2014-08-01 22:54:35 +03:00
7cba5cc109 Fixed line endings and applied gitignore 2014-07-26 09:43:40 +03:00
8541cce5f4 A bit of work on app's UI and integration between .net and native. 2014-07-23 13:47:09 +03:00
Brian Ferguson
1a345f1ad8 Fixed bug in 1383c04 2014-01-01 09:14:49 -07:00
Birunthan Mohanathas
a577608835 Unignore and fix warnings in Library/ 2013-12-23 19:42:31 +00:00
Birunthan Mohanathas
4e936e5365 Tweaks 2013-11-10 19:41:21 +02:00
Birunthan Mohanathas
fa81ea4fe9 Additional change to 40e0b70 2013-11-05 21:19:04 +02:00
Birunthan Mohanathas
b62fca59d0 IfActions: Read condition options after measure value is changed to properly support section variables 2013-11-05 20:52:58 +02:00
Brian Ferguson
87edcd0ce4 Added new options IfCondition/IfTrueAction/IfFalseAction for all Measures.
Multiple conditions/actions are also possible (eg. IfCondition2/IfTrueAction2)
2013-11-05 10:07:42 -07:00
Birunthan Mohanathas
8b68092cf1 Tweak some log messages to remove redundant info 2013-09-14 12:57:33 +03:00
Birunthan Mohanathas
923215c0da ConfigParser: Implement ReadBool
This may break backwards compatibility in some cases. For example, the FreeDiskSpace measure treated only `Type=1` as true and `Type={0, 2, 3, ...}` as false. Now `Type=0` is false and everything else is true like with most other boolean options.
2013-07-31 13:36:53 +03:00
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