Commit Graph

168 Commits

Author SHA1 Message Date
Birunthan Mohanathas
27164b8e75 Rename EscapeUrl to EncodeUrl 2014-01-04 21:47:45 +02:00
Birunthan Mohanathas
cf62c509a1 Add support for [Measure:EscapeUrl] to perform URL encoding 2014-01-04 19:19:10 +02:00
Birunthan Mohanathas
9b5871f4dc Move EscapeRegExp into StringUtil 2014-01-04 19:17:41 +02:00
Birunthan Mohanathas
ce847ac12e Cosmetics 2014-01-04 18:54:34 +02:00
Birunthan Mohanathas
61cbb81756 Tweak EscapeRegExp() 2014-01-04 18:50:55 +02:00
Birunthan Mohanathas
c31ecbfc83 Tweak GetSectionVariable() 2014-01-04 18:47:14 +02:00
Brian Ferguson
957e37fbf2 Added [Measure:EscapeRegExp] section variable for measures. This will escape any regular expression meta-characters for use with IfMatch. 2014-01-04 09:06:07 -07:00
jsmorley
2029cea23f Revert "Added #NBSP# built-in variable to support using a Unicode no-break space in strings."
This reverts commit 73069b692f.

Reverted due to some risk of issues when used in Lua when the .lua file is not encoded and the user's local code page does not support the ANSI "no-break space".
2013-09-22 10:26:58 -04:00
jsmorley
73069b692f Added #NBSP# built-in variable to support using a Unicode no-break space in strings. 2013-09-22 07:53:17 -04:00
Birunthan Mohanathas
08eb662e1f Add #ROOTCONFIG# variable 2013-09-15 15:05:06 +03:00
Birunthan Mohanathas
ff24a06827 Revert ConfigParser change in f9ab4ee 2013-07-12 23:14:48 +03:00
Brian Ferguson
f9ab4ee414 Added DynamicVariables support for WebParser 2013-07-10 17:01:15 -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
be3efa7531 Move MathParser to Common 2013-06-13 17:00:24 +03:00
Birunthan Mohanathas
d079d13da6 Move path related functions into PathUtil 2013-06-12 21:15:16 +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
aa3c7eb8ce Tweaks to reduce OnChangeAction overhead 2013-04-10 19:00:22 +03:00
spx
3552a928dd Added error check for zero divide 2013-03-09 02:39:17 +09:00
spx
d25ae270c4 Tweaks
* Optimized some part for multi monitor
2013-02-09 01:52:41 +09:00
spx
1c8b798928 Tweaks
* Merged Shrink() code to Tokenize()
2013-02-06 19:09:17 +09:00
Birunthan Mohanathas
1a60511edf Tweaks 2012-09-21 22:30:44 +03:00
Birunthan Mohanathas
73ccbd21db Minor fixes 2012-08-15 21:17:57 +03:00
spx
5103190129 Section Variables:
- Added [Measure:MaxValue] and [Measure:MinValue] functionality. You can use it with scaling modifiers. (For instance, [Measure:MaxValue:/1024, 2])
- Now trailing zeros are trimmed if decimal places modifier is not used.
2012-08-07 14:11:01 -07:00
Birunthan Mohanathas
7bd273bb28 Reduced default precision to 10 with section variables 2012-08-05 16:22:55 +03:00
Birunthan Mohanathas
fd111c0657 Tweaks 2012-08-05 16:12:36 +03:00
Birunthan Mohanathas
69f84781f1 Minor fix 2012-08-05 16:01:45 +03:00
Birunthan Mohanathas
e0ec47f9a0 Tweaks and cosmetics 2012-08-05 15:51:58 +03:00
Birunthan Mohanathas
e2ce7d59a7 Tweaks 2012-08-04 21:27:21 +03:00
spx
9f44e5cfae Tweaks 2012-08-01 15:18:58 -07:00
spx
66c52d6d80 Code tweaks and cosmetics 2012-08-01 14:47:10 -07:00
Brian
06f625c91c Adds new [Meter:] and [Measure:] functionality 2012-08-01 13:52:50 -04:00
spx
af9b51b831 Code cosmetics 2012-07-23 05:42:14 -07:00
spx
b66875d8ad Additional change to 720ed17: Now the sections that the included file has are placed to the last position if @include is placed on the last section in the original file. 2012-07-20 02:33:52 -07:00
spx
720ed170f0 Changed @include behavior. Now the sections that the included file has are inserted to the position where the @include is defined.
http://rainmeter.net/forum/viewtopic.php?f=14&t=10500
2012-07-18 03:41:58 -07:00
Birunthan Mohanathas
4dc5fe0b31 Tweaks 2012-07-17 21:26:55 +03:00
Birunthan Mohanathas
0ce52f744a Fixed messagebox and context menu layout with RTL languages 2012-06-19 14:31:08 +03:00
Birunthan Mohanathas
579e2df81e Cosmetics 2012-06-01 16:13:01 +03:00
Birunthan Mohanathas
922dd098c9 Cosmetics: Changed "config" to more consistent and descriptive terms 2012-06-01 16:06:36 +03:00
Birunthan Mohanathas
1d61725057 Tweaks 2012-05-24 14:15:46 +03:00
spx
4039940ec1 Removed unclear comment. 2012-05-21 06:46:22 -07:00
spx
8dbab54a52 Additional change for 4558c28 2012-05-21 06:41:07 -07:00
Birunthan Mohanathas
4558c2836c Changed @\ to #@# 2012-05-21 14:19:25 +03:00
Birunthan Mohanathas
9fb14b032c Additional change to cb0fd82 2012-05-20 18:33:15 +03:00
Birunthan Mohanathas
cb0fd823e7 Added support for @Resources 2012-05-20 17:51:15 +03:00
Birunthan Mohanathas
965a400657 Fixed broken @include due to 9453780 2012-05-19 21:18:52 +03:00
Birunthan Mohanathas
9453780c26 Tweaks 2012-05-19 18:16:04 +03:00