Commit Graph

1177 Commits

Author SHA1 Message Date
Birunthan Mohanathas
fa81ea4fe9 Additional change to 40e0b70 2013-11-05 21:19:04 +02:00
Birunthan Mohanathas
dcca59ae91 Use the precompiled header with IfActions.cpp 2013-11-05 21:12:20 +02:00
Birunthan Mohanathas
40e0b70baf IfActions: Tweaks 2013-11-05 21:10:21 +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
cf86d365ad Fixed error when a self-referencing closing bracket was omitted from the IfCondition 2013-11-05 10:41:33 -07:00
Brian Ferguson
521861a87d Fixed typo in 87edcd0 2013-11-05 10:11:57 -07: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
e1872e67bb Move .props files to Build\VS\ 2013-11-03 20:18:42 +02:00
Birunthan Mohanathas
99e2b69ff8 Manage: Disable resizable window frame 2013-11-02 11:58:25 +02:00
spx
150ccf8b14 Additional change to f5d875e
This also fixes the flickering issue caused by !Refresh: http://rainmeter.net/forum/viewtopic.php?f=14&t=16535#p92322
2013-10-30 04:35:44 +09:00
Birunthan Mohanathas
3c58e4d48c Minor fixes 2013-10-21 19:22:57 +03:00
Birunthan Mohanathas
c2530b3761 Plugin API: Add RmLog and RmLogF functions
These functions take a `void* rm` parameter that is used to populate the Source field in the log.
2013-10-21 18:04:13 +03:00
Birunthan Mohanathas
2315fe8cc5 Remove unnecessary duplication in .vcxproj files 2013-10-20 17:45:43 +03:00
spx
f5d875e7a3 Cosmetics
- Removed reset parameter from MeterWindow::UpdateWindow(). It was for NativeTransparency support.
2013-10-20 22:18:13 +09:00
spx
cfd525c2fc Fixed AnchorX/Y issue (caused by ef1cf223)
http://rainmeter.net/forum/viewtopic.php?f=14&t=16798
2013-10-20 20:44:57 +09:00
Birunthan Mohanathas
30fc135abc Manage: Include country in language list 2013-10-13 18:54:55 +03:00
Brian Ferguson
6d705f5c95 String: Strip carriage returns in strings for compatibility between GDI+ and D2D 2013-10-13 16:28:57 +03:00
Birunthan Mohanathas
b539c19b8f Minor tweaks to 176a941 2013-10-13 16:19:51 +03:00
Birunthan Mohanathas
06cc2a3cf0 Language: Update translations 2013-10-06 18:17:14 +03:00
Birunthan Mohanathas
6248f07634 Disable skin menu "Use D2D rendering" item if D2D is globally disabled 2013-10-06 17:12:19 +03:00
Birunthan Mohanathas
ded19a42fa Enable D2D by default 2013-10-06 17:08:11 +03:00
Birunthan Mohanathas
2fb733ef75 Gfx: Remove __D2DParams 2013-10-06 17:07:00 +03:00
Birunthan Mohanathas
6df7d5d509 Add "Use D2D rendering" option to skin context menu 2013-10-06 10:57:24 +03:00
Birunthan Mohanathas
21d9c0698f Gfx: Additional changes to d003db6 2013-09-29 17:57:21 +03: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
7558666b13 Script: Add default value support for SKIN:GetVariable 2013-09-19 17:16:26 +03:00
Birunthan Mohanathas
5fd98509cf Script: Fix that default value is not used in Meter:GetOption 2013-09-19 17:07:47 +03:00
Birunthan Mohanathas
08eb662e1f Add #ROOTCONFIG# variable 2013-09-15 15:05:06 +03:00
Birunthan Mohanathas
8b68092cf1 Tweak some log messages to remove redundant info 2013-09-14 12:57:33 +03:00
Brian Ferguson
b0423cd3ff CommandHandler: Fixed typo in eca5dd0 2013-09-12 11:44:49 -06:00
Brian Ferguson
e53b984bde Cosmetics 2013-09-01 00:01:50 -06:00
Brian Ferguson
e62a1aa262 Fixed issue where the width/height of a meter would not update when using the Padding option. 2013-08-31 23:58:12 -06:00
Brian Ferguson
df84ba961c Cosmetics 2013-08-25 22:47:20 -06:00
Brian Ferguson
fb059da295 Added "Clear" button to About dialog (Log tab) 2013-08-25 12:09:54 -06:00
Brian Ferguson
eca5dd0010 Added optional parameters to the "!Manage" bang for the "Skins" tab.
Usage: !Manage Skins Config File (both "Config" and "File" are optional).
Example: !Manage Skins "illustro\Clock" "Clock.ini"

To use the "File" parameter, you must specify a "Config" parameter as well.
2013-08-25 11:28:15 -06:00
Brian Ferguson
dfc804d50e MeasureCalc: Allow for LowBound to equal HighBound. If LowBound is greater then HighBound, set HighBound equal to LowBound (and show error). 2013-08-19 14:41:45 -06:00
Birunthan Mohanathas
b0c4f83424 Minor tweaks 2013-08-17 11:16:01 +03:00
Brian Ferguson
cd140ff0f6 MeasureCalc: Only report "HighBound" error message after initial update 2013-08-16 13:19:22 -06:00
Brian Ferguson
9c2d75ce69 Removed test code from a3a464b 2013-08-16 13:00:53 -06:00
Brian Ferguson
a3a464b9cf Fixed resetting of internal bounds in f414b5f 2013-08-16 12:58:16 -06:00
Brian Ferguson
f414b5feba MeasureCalc: Added "UniqueRandom" option. When "1", random numbers are only used once within the range {LowBound, HighBound}.
Also updated the URNG (Uniform Random Number Generator) engine to the C++11 library <random>.
2013-08-15 18:12:36 -06:00
Birunthan Mohanathas
79b9af3320 Common: Add UnitTest.h 2013-08-11 14:29:07 +03:00
Birunthan Mohanathas
0afbdac9fe Gfx: Add some tests for TextFormatD2D 2013-08-11 14:12:23 +03:00
Birunthan Mohanathas
176a9414f5 Gfx: Make D2D acknowledge trailing whitespace followed by a NBSP/MMSP
This hacky workaround makes D2D behavior consistent with GDI+.
2013-08-11 12:11:59 +03:00
Birunthan Mohanathas
a3efbbac3f Script: Improve 6560518
The Unicode state is not tracked using a stack instead of a raw boolean. This means that a Unicode script that e.g. updates a non-Unicode script measure will now work properly.
2013-08-07 17:48:13 +03:00
Birunthan Mohanathas
20393df751 Script: Change Unicode script support to require UTF-16 LE files rather than UTF-8 2013-08-07 17:09:25 +03:00
Birunthan Mohanathas
d0466c5588 Script: Additional change to f8c3867 for print() 2013-08-06 22:06:21 +03:00
Birunthan Mohanathas
bbb101cbd5 Cosmetics 2013-08-06 22:03:20 +03:00
Birunthan Mohanathas
f8c386793a Script: Fix memory corruption caused by 6560518 2013-08-06 21:58:41 +03:00