Commit Graph

409 Commits

Author SHA1 Message Date
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