spx
bf7fdad840
Fixed that the commands that start with "play" is not executed.
2011-08-18 04:05:54 +00:00
spx
12be2ffad1
Fixed PLAY command issue in r904.
2011-08-18 02:27:52 +00:00
spx
91654989ff
Code cleanup.
2011-08-17 18:51:43 +00:00
spx
665d8e5422
Magic sequence: Fixed some infinite loop issues.
2011-08-17 18:16:13 +00:00
Birunthan Mohanathas
b6feabdfc8
- Added magic sequence """ to escape quotes in bang. Used as follows:
...
!SetOption StringMeter Text """This is a "quoted" string"""
- Minor tweaks
2011-08-17 05:56:46 +00:00
spx
fab4bdb088
Additional change for r897.
2011-08-13 10:03:16 +00:00
spx
82941f6618
Now checks the "show desktop" state periodically as before.
2011-08-10 14:13:53 +00:00
Birunthan Mohanathas
78b7a857c4
Script: print() now works like real/original Lua print().
2011-08-09 14:26:19 +00:00
spx
31f040ed28
Fixed that Net measure Cumulative=1 doesn't work correctly because network statistics are gathered only once per minute.
...
Code cleanup.
2011-08-07 09:40:08 +00:00
spx
5cb6b0f71b
Code cleanup and optimization for writing the skin settings individually.
2011-08-06 10:43:14 +00:00
spx
d300d469b0
Code cleanup.
2011-08-03 23:25:52 +00:00
spx
02251ed412
Additional change for r860. Improved writing the network statistics to
...
Rainmeter.stats.
2011-08-03 19:44:40 +00:00
spx
b41d94e684
Reverted to r888.
2011-08-02 01:20:05 +00:00
spx
74640d0fb2
Modified CMesureNet to ignore the unwanted interfaces.
...
Note: Recommend that you remove [Statistics] section from Rainmeter.ini and Rainmeter.stats beforehand. It's because there is a possibility that the interface index is different between old and new.
2011-08-01 21:05:56 +00:00
Birunthan Mohanathas
904ed76960
Additional change to r887.
2011-08-01 17:20:24 +00:00
Birunthan Mohanathas
5eef7a21c7
- Script: Return types are now checked explicitly. As a result, 'return 5' and 'return "5"' are not equal any longer. Only the former will respect NumOfDecimals, Scale, etc. now.
...
- NowPlayingPlugin: Accidentally removed "Previous" bang in r880, fixed.
2011-08-01 17:08:51 +00:00
Birunthan Mohanathas
cb4aa0ade3
Script: Fixed that returning "" in Update() displayed 0 due to r885.
2011-08-01 09:08:11 +00:00
Birunthan Mohanathas
6dfb307636
- Script: Fixed that AutoScale/Scale/Percentual/NumOfDecimals were not applied for MeasureName=ScriptMeasure
...
- NowPlayingPlugin: OpenPlayer bang with foobar2000 now opens foobar2000 maximized regardless of previous state
2011-07-31 08:58:43 +00:00
spx
b16d3d0762
RegExpSubstitute: Enabled "\0" for replacing to the string matched by the complete expression.
2011-07-30 22:11:31 +00:00
Birunthan Mohanathas
5c1334dbd6
Fixed that Rainmeter crashes when [] is in bang. E.g. !SetVariable test "blaa[]"
2011-07-29 17:46:21 +00:00
Birunthan Mohanathas
e74d6f4619
- Added ability to escape real variables and measures as follows: #*RealVar*# [*RealMeasure*]
...
- NowPlayingPlugin: Addition change to r880 OpenPlayer fix
- Removing tolua++ generation package files
2011-07-29 17:18:21 +00:00
JamesAC
d7dedcfc75
Adding support for RegExp in Substitute strings when RegExpSubstitute=1 is set.
2011-07-29 11:49:46 +00:00
spx
fb004083d2
- SetOption: Fixed that new image isn't loaded if DynamicVariables=0.
...
- SetOption: Fixed that Rainmeter crashes if !SetOption is executed to Measure=Plugin.
- Code cleanup and cosmetic changes.
2011-07-27 14:18:02 +00:00
Birunthan Mohanathas
a76e8d1765
Missed a file in previous commit.
2011-07-27 13:21:55 +00:00
Birunthan Mohanathas
822c10060a
- Added !SetOption/!SetOptionGroup bangs.
...
- Script: Added GetOption() function
2011-07-27 10:42:35 +00:00
Birunthan Mohanathas
23f4a31bf0
Script: Fixed that the value of the Script measure is not reset when an error occurs.
...
In the following case, for example, the value of the measure used to remain 10 even after an error. Now it will default to 0 on error.
function Initialize()
i = 0
end
function Update()
if i < 5 then
i = i + 1
return 10
else
i() -- error here, execution stops
return 2
end
end
2011-07-25 17:59:43 +00:00
Birunthan Mohanathas
b23217d840
Script: Fixed Lua crash on refresh when Update() in the script has an error.
2011-07-25 12:52:46 +00:00
spx
15eba97cba
Minor tweaks and cosmetics.
2011-07-18 00:32:09 +00:00
spx
8515877c48
Tweaks.
2011-07-15 16:54:47 +00:00
spx
5e20238120
Tweaks.
2011-07-15 11:48:50 +00:00
spx
fdad6fb036
Minor tweaks.
2011-07-14 00:26:53 +00:00
spx
6ceacb0d98
Minor tweaks.
2011-07-12 13:37:31 +00:00
Birunthan Mohanathas
349ad952ad
Script: ScriptFile may now be a relative path (e.g. ScriptFile=File.lua is now valid and equal to ScriptFile=#CURRENTPATH#File.lua)
2011-07-09 16:42:51 +00:00
Birunthan Mohanathas
f0fbc0f145
- Added !CommandMeasure bang. Instead of '!PluginBang "MeasureName Arguments' use '!CommandMeasure "MeasureName" "Arguments"'.
...
- Script: The !CommandMeasure argument must now be Lua code. For example:
!CommandMeasure "MeasureLuaScript" "someVar = 'hello'"
!CommandMeasure "MeasureLuaScript" "SomeFunc()"
2011-07-09 09:23:28 +00:00
spx
c2e3b6292d
Additional change for r852,r856. Improved reading the network statistics from Rainmeter.stats.
...
Some cosmetic changes.
2011-07-08 22:50:02 +00:00
Birunthan Mohanathas
6c0ea88266
- Enabling some C++ optimization switches (/OPT:ICF, /OPT:REF, /GL)
...
- Excluding ExamplePlugin.dll from installer
2011-07-08 20:45:01 +00:00
spx
8867c94482
Cosmetic changes.
2011-07-07 23:25:45 +00:00
Birunthan Mohanathas
b99b275f44
Script:
...
- Added support for calling Lua functions with !PluginBang
- Removed old (undocumented) implementation for handling mouse actions
- Lua errors now contain the script file name only (instead of full path)
2011-07-07 16:18:39 +00:00
spx
9bc238f9f2
Additional change for r852.
2011-07-07 10:48:42 +00:00
Birunthan Mohanathas
bd7d787d93
- Renamed !RainmeterBangName to !BangName in log messages
...
- Removed SkinAuthor method from PluginBridge (not used anywhere, read Author from [Rainmeter] instead)
2011-07-06 20:31:20 +00:00
Birunthan Mohanathas
95fe545cc5
Script:
...
- Added GetVariable function [usage: GetVariable("VariableName")]
- Removed several unneeded exposed functions
- r853 broke Substitute on the Script measure, fixed
2011-07-06 20:12:05 +00:00
Birunthan Mohanathas
fa67b07a62
Lua:
...
- Removed GetValue() (which has never worked) and deprecated GetStringValue(). The measure value should be returned on Update() now.
- Some related tweaks and cosmetic changes
2011-07-06 10:21:18 +00:00
spx
4389edb8c1
Optimized ConfigParser. Reduced processing time on startup and on refreshing.
2011-07-06 09:00:44 +00:00
Birunthan Mohanathas
c7f9293e9c
Script:
...
- GetMeter dynamically detects STRING meters now (no need to use tolua.cast any longer)
- Removed unneeded (and undocumented) functions to exposed to Lua
- Refactored tolua++ generated code
2011-07-05 13:41:05 +00:00
spx
9a9edbda2e
Additional fix for r843.
2011-07-04 18:05:07 +00:00
spx
57bf54f9de
Prevented from using "!RainmeterExecute".
2011-07-03 15:21:48 +00:00
Birunthan Mohanathas
ef65225dde
Made "Rainmeter" optional in a bang. For example, !RainmeterShowMeter and !ShowMeter are now treated equally.
2011-07-03 08:58:53 +00:00
spx
341e9d2bd0
Removed trailing zeros when DynamicVariables=1 even if a value is such as "1.01000".
...
E.g.
1.00000 -> 1
1.01000 -> 1.01
1.01001 -> 1.01001
2011-07-02 10:16:38 +00:00
spx
8522a15bf9
Improved "show desktop" detection.
...
Some cosmetic changes.
2011-06-23 13:29:51 +00:00
spx
b9cdc53430
Added a workaround for the system that the window size is changed incorrectly when the window is dragged over the upper side of the virtual screen.
2011-06-22 06:39:07 +00:00
spx
7163823971
Context Menu:
...
- Added a separator to between ini-files and folders in Configs menu.
- Other minor tweaks.
2011-06-09 18:59:16 +00:00
spx
a2396a7d0f
Tweaks.
2011-06-08 23:56:27 +00:00
spx
d054ce8e5c
Minor tweaks.
2011-06-06 12:27:19 +00:00
spx
3a7d937021
- Uptime now shows over 49.7 days correctly in Vista or later.
...
- Some related tweaks.
2011-06-05 12:32:18 +00:00
spx
0841328ea0
Tweaks.
2011-06-02 01:54:05 +00:00
spx
9a19d8808e
Tweaks.
2011-05-27 18:39:57 +00:00
spx
68bc25ee82
Tweaks. (Uses CachedBitmap if image scaling isn't needed.)
2011-05-25 21:48:59 +00:00
Birunthan Mohanathas
2ba2e95736
NowPlayingPlugin: Added support for MusicBee, fixed Debug build, and updated Winamp SDK.
2011-05-24 18:20:35 +00:00
spx
31e3091e34
Reverted r815 and stopped changing the working directory for the plugins.
2011-05-23 20:21:19 +00:00
spx
3356448dbe
Minor optimizations & fixes.
2011-05-22 16:02:43 +00:00
Birunthan Mohanathas
e13f3a3c2c
Got rid of pcre linker warnings.
2011-05-16 09:24:13 +00:00
Birunthan Mohanathas
9447a38f00
Added a Rainmeter.props file to easily change to 64bit compiler across all projects (for VS2010 Pro, which has 64bit compiler by default).
...
This change has no effect on VC2010 Express users (i.e. Windows7.1SDK needs to be installed). Read the Building wiki entry for more info.
2011-05-14 07:56:18 +00:00
spx
a3572f3255
Tweaks.
2011-05-04 18:48:26 +00:00
Birunthan Mohanathas
6377db5724
Reverted r800/r801. Fixed r800 issue in a better way (thanks spx).
2011-05-02 11:58:02 +00:00
spx
04a7a5692f
Fixed an issue that Measure=Registry returns wrong DWORD value.
2011-05-02 07:43:42 +00:00
Birunthan Mohanathas
cb14736cbd
Tweaks.
2011-05-01 17:10:49 +00:00
Birunthan Mohanathas
710bce5ca4
Fixed: SkinPath is read from Rainmeter.ini in portable installations.
2011-05-01 13:29:09 +00:00
spx
9b32f4513a
Fixed an issue that Roundline/"Shift"-parameters not working when Solid=0.
...
http://rainmeter.net/forum/viewtopic.php?f=14&t=7608
2011-04-27 11:35:25 +00:00
spx
3e11f95d6b
Tweaked.
2011-04-26 11:03:08 +00:00
spx
8fbac4639b
Tweaked.
2011-04-26 09:58:06 +00:00
spx
4aafa49a28
Tweaked.
2011-04-19 01:20:17 +00:00
spx
2a030c084c
Now re-registers Rainmeter icon when Explorer was restarted.
2011-04-19 00:02:00 +00:00
spx
5246ca94c6
Cleaned up unneeded codes.
2011-04-17 12:19:47 +00:00
Birunthan Mohanathas
f66791253a
Statistics now saved in Rainmeter.stats file in same folder as Rainmeter.ini
2011-04-16 20:05:14 +00:00
Birunthan Mohanathas
a9c0b76c2c
Added Aero blur support. Documentation available at: http://rainmeter.net/RainCMS/?q=Skins_AeroBlur_beta
2011-04-08 18:14:32 +00:00
Birunthan Mohanathas
b92d8276d3
- Rainstaller now preserves statistics when applying theme
...
- Build.bat now checks "Program Files (x86)" if files don't exist in "Program Files"
2011-04-07 13:47:26 +00:00
spx
73f80e331f
Cosmetic changes.
2011-03-29 21:19:02 +00:00
Birunthan Mohanathas
a92bdd9b18
Cosmetic changes to code.
2011-03-29 19:21:57 +00:00
spx
0e0eb66cff
Improved drawing performance. Now uses DIBSection bitmap for UpdateLayeredWindow.
2011-03-23 21:19:55 +00:00
Birunthan Mohanathas
a4b24d75ac
- Uptime: Added AddDaysToHours=1/0 (default 1) to disable adding hours to days when %4 is not specified in Format=.
...
- Installer: Now supports silent installs. Switches and return values available at http://rainmeter.net/RainCMS/?q=Installation_beta
2011-03-23 19:19:45 +00:00
spx
ec49c6e588
Fixed a regression (in r776) that ImageCrop cannot treat a transparent part of the outside of the image.
2011-03-09 03:03:02 +00:00
spx
8ddc383ed1
- Added image caching system internally.
...
It would reduce memory usage in case that you use the same image file repeatedly on some meters. (Eg. Crop a part from same image by using ImageCrop.)
- Fixed an issue that Background image isn't drawn correctly when BackgroundMode=0 and tint option is set.
2011-03-08 19:39:04 +00:00
Birunthan Mohanathas
f19e76e6ec
Fixed that Measure=Registry crashes starting from r763.
2011-02-23 17:38:58 +00:00
spx
3d6615522b
Commented out unused code. (Reserved for future use.)
2011-02-21 16:16:24 +00:00
spx
9f152e0076
Removed unneeded codes, for VC2010.
2011-02-20 23:03:15 +00:00
spx
480a1bd1d6
Code cleanup.
2011-02-19 23:33:57 +00:00
spx
35f54fcf46
Small change for r770.
2011-02-19 21:38:29 +00:00
spx
606afe79e6
Fixed crash when AverageSize= is set in Measure.
2011-02-19 21:30:22 +00:00
spx
a2316446ca
Switched map/hash_map/set for caching to unordered_map/unordered_set.
2011-02-18 16:26:58 +00:00
spx
96f8407c74
Fixed an issue that Rainmeter crashes if bang is executed via exe during initializing the skins.
2011-02-16 14:46:17 +00:00
jsmorley
cb3a7d3a75
Fixes and issue with InputText plugin failing if a "config name" has a space in it.
2011-02-15 17:39:24 +00:00
spx
fe9fd9f476
Code cleanup.
2011-02-15 16:26:54 +00:00
spx
1ba57f2adf
Fixed some Lua related issues.
...
Removed some internal functions from exposed functions for Lua.
Code cleanup and optimizing for VC2010.
2011-02-15 13:22:19 +00:00
Birunthan Mohanathas
b01465a20a
Minor changes.
2011-02-11 14:42:01 +00:00
spx
07d9b85500
Cleaned up project files.
2011-02-10 19:21:02 +00:00
Birunthan Mohanathas
6a5173c860
Upgrading development environment to Visual C++ 2010.
2011-02-10 16:09:05 +00:00
spx
e99a1cc808
Lua: Removed TableName.
2011-02-10 08:48:04 +00:00
spx
bf6d081600
Lua: Fixed an issue that unneeded stack elements aren't popped.
2011-02-09 06:10:25 +00:00
spx
1228e243cc
Reduced resource usage.
2011-02-07 09:38:27 +00:00
spx
1feea0dad4
Added iphlpapi.h again.
2011-02-07 08:10:47 +00:00