Commit Graph

275 Commits

Author SHA1 Message Date
spx
bb865ec514 Cosmetic changes. 2012-02-21 19:15:10 +00:00
Birunthan Mohanathas
876817bc11 - About Log and Skins: Added CTRL+C support to copy third column
- Cosmetics
2012-02-21 09:03:16 +00:00
Birunthan Mohanathas
bb44c29f6c Cosmetic changes to function comment blocks. 2012-02-20 19:10:40 +00:00
spx
3254520ced Added workaround for the issue that skins disappear when resuming from sleep mode.
http://rainmeter.net/forum/viewtopic.php?f=5&t=11313
2012-02-20 15:33:13 +00:00
spx
b0046d2968 Cosmetic changes. 2012-02-20 09:37:46 +00:00
spx
71402a8d48 Fixed crash when !EnableMeasure generates error log message. 2012-02-15 07:24:48 +00:00
spx
73f56cf50c Fixed that !SetOptionGroup doesn't work with Measures. 2012-02-11 06:43:34 +00:00
spx
bdb294893c Now skin is deactivated if the Rainmeter version is less than the AppVersion value. 2012-02-10 23:28:11 +00:00
spx
1e88fe1db3 Minor code tweaks. 2012-02-07 08:32:37 +00:00
Birunthan Mohanathas
c0ecf75e94 Fixed issue with r1153 (if skin is changed to other variant, the former skin is leaked). 2012-02-03 10:15:18 +00:00
Birunthan Mohanathas
808dca7afe Improved r277 fix. 2012-02-02 12:05:14 +00:00
Birunthan Mohanathas
b65b26c2b7 Cosmetic changes. 2012-02-01 18:00:32 +00:00
Birunthan Mohanathas
b21658b1cd - Partially refactored bang handling code
- Renamed CMeasure::ExecuteBang to CMeasure::Command
- Minor cosmetic changes and tweaks
2012-02-01 15:55:29 +00:00
spx
7531ddde27 - Tweaked !SetClip.
- Code cosmetics.
2012-01-30 08:34:56 +00:00
JamesAC
55fe503636 Added new Bang "!SetClip"
Usage - !SetClip "Text to set, #Variable#, [Measure]"

Dynamic Variables is only needed if a dynamic #Variable# is used, it is not needed for a [Measure] to appear dynamically.
2012-01-29 18:59:22 +00:00
Birunthan Mohanathas
01b22e2d5e Calc/MathParser: Minor tweaks. 2012-01-23 07:21:03 +00:00
spx
ebec08914a Adjusted copyright notice.
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +00:00
Birunthan Mohanathas
caf0a60a5b Removed ccalc and replaced with MathParser 2012-01-22 20:28:05 +00:00
Birunthan Mohanathas
c3ed2e5fa3 Reintegrated 2.3 branch into trunk 2012-01-08 17:35:29 +00:00
Birunthan Mohanathas
71b8d6395d Reverted trunk to r1085. 2011-12-30 17:18:34 +00:00
Birunthan Mohanathas
7b3b0277ec Added new plugin API. 2011-12-30 16:16:22 +00:00
spx
8e8b7d1268 Code tweaks and cleanup. 2011-12-04 22:18:40 +00:00
spx
f28ecf6e83 Minor tweaks. 2011-11-28 14:13:20 +00:00
spx
d622c88d69 Code cleanup. 2011-11-27 12:46:59 +00:00
spx
3c1338b4c5 - Renamed bool ReadFormula() to ParseFormula.
- Changed ReadConfig() in Measure/Meter to protected.
- Other code tweaks and cleanups.
2011-11-26 02:49:52 +00:00
spx
02f2d51b41 Minor tweaks. 2011-11-24 00:30:56 +00:00
Birunthan Mohanathas
b11abf09f0 - Minor code refactoring and tweaks
- Minor changes to illustro
2011-11-21 12:53:55 +00:00
spx
efc8275ed1 Minor tweaks. 2011-11-18 22:40:58 +00:00
spx
8e8b555b6d Code cleanup. 2011-11-17 13:10:27 +00:00
Birunthan Mohanathas
b02371276f Minor tweaks. 2011-11-16 16:47:20 +00:00
Birunthan Mohanathas
4c3695a78a Fixed crash with 64bit Rainmeter due to r1038. 2011-11-14 08:05:09 +00:00
Birunthan Mohanathas
a6a767d9ff Switched to using SetWindowLongPtr/GetWindowLongPtr instead of SetProp/GetProp for faster retrieval of window pointer. 2011-11-14 07:53:19 +00:00
spx
deef3b0ab4 Minor tweaks. 2011-11-12 15:36:05 +00:00
Birunthan Mohanathas
8cb0a041e0 Changed: "Normal" z-position now stays on desktop by default 2011-11-10 11:50:47 +00:00
Birunthan Mohanathas
1e9d424c99 Made log messages more consistent. 2011-11-09 09:27:06 +00:00
Birunthan Mohanathas
f8f31a527e Switched from _snwprintf_s to _itow_s where possible. 2011-11-09 08:52:32 +00:00
Birunthan Mohanathas
a1e722181e More tweaks. 2011-11-08 19:11:31 +00:00
spx
569a151c6c - Switched from size()>0 to empty().
- Code cleanup.
2011-11-08 17:21:29 +00:00
Birunthan Mohanathas
f2f97743ef Fixed that new position is discarded when refreshing after !ZPos. 2011-11-08 13:15:03 +00:00
spx
a209bf15d0 - Fixed Button issue: http://rainmeter.net/forum/viewtopic.php?t=10274&p=59935
- Removed unneeded NULL checks.
- Other code tweaks and cleanups.
2011-11-08 10:32:57 +00:00
spx
2a166b520f Minor tweaks and cleanup. 2011-11-05 09:01:06 +00:00
spx
f945bacfb7 Minor tweaks. 2011-11-04 12:48:03 +00:00
spx
153b466abd - Fixed negative W/H issue: http://rainmeter.net/forum/viewtopic.php?t=8614&p=59732#p59732
- Code cleanup.
2011-11-03 09:27:07 +00:00
spx
22c36f8b49 Code cleanup. 2011-11-03 00:13:42 +00:00
spx
8339d22a0f Code cleanup. 2011-11-02 09:45:41 +00:00
spx
6644b81909 Code cleanup. 2011-10-31 07:42:18 +00:00
spx
ed2b80fee5 Fixed StartHidden issue: http://rainmeter.net/forum/viewtopic.php?f=14&t=10174 2011-10-27 00:02:40 +00:00
spx
e166e34948 - Fixed Background=*.png issue: http://rainmeter.net/forum/viewtopic.php?f=5&t=8596
- Performance improvement on BitmapToRegion function.
2011-10-22 20:28:15 +00:00
spx
6dd79c451d Reduced system resource usage. 2011-10-01 06:27:20 +00:00
Birunthan Mohanathas
6594246bf4 Manage Skins: Fixed that Position is not saved permanently (reset if skin is refreshed) 2011-09-30 16:49:49 +00:00
Birunthan Mohanathas
13c17b9d1a - Removed support for using Rainmeter.dll as Litestep module
- Merged Rainmeter.dll and Rainmeter.exe
- Language resource file now located in \Language\<LanguageName>.dll
- Build.bat now automatically builds and packages all languages
2011-09-28 18:28:35 +00:00
Birunthan Mohanathas
573c96d4fe Additional change for r973. 2011-09-26 17:46:31 +00:00
Birunthan Mohanathas
e3bde6879b Fixed that "Edit skin" causes a needless UAC elevation prompt in some cases. 2011-09-24 13:43:14 +00:00
Birunthan Mohanathas
a7cbc1a504 Minor changes. 2011-09-24 13:10:31 +00:00
Birunthan Mohanathas
f14d751604 - Added #CURRENTFILE# variable
- Changes to log strings
2011-09-09 16:31:55 +00:00
Birunthan Mohanathas
2e128c75be Changed so that only LOG_ERROR from exceptions cause About Log to open. 2011-09-08 17:05:48 +00:00
Birunthan Mohanathas
f17602ee1d - Manage Skins: Load order can now be changed
- Fixed that the PLAY/PLAYLOOP commands didn't work with relative paths
- Errors that used to display in a messagebox are now logged and shown in the About Log dialog (which is opened when an error occurs)
- Some minor tweaks
2011-09-08 14:39:25 +00:00
spx
6b06548260 Code cleanup. 2011-09-08 04:35:04 +00:00
spx
6366233d66 Code cleanup. 2011-08-31 16:04:29 +00:00
JamesAC
d51fc12841 Holding Ctrl while clicking ignores LeftMouseDown and RightMouseUp actions, so the defaults, dragging and accessing context menu, are done instead. 2011-08-31 14:49:45 +00:00
spx
f84b44a9f0 Code cleanup. 2011-08-28 16:42:34 +00:00
Birunthan Mohanathas
69f3ab1803 - Added Manage dialog, which consolidates RainBrowser and RainThemes into a single UI
- Updated About dialog
- Removed RainBrowser and RainThemes from build
2011-08-28 10:58:26 +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
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
822c10060a - Added !SetOption/!SetOptionGroup bangs.
- Script: Added GetOption() function
2011-07-27 10:42:35 +00:00
spx
15eba97cba Minor tweaks and cosmetics. 2011-07-18 00:32:09 +00:00
spx
fdad6fb036 Minor tweaks. 2011-07-14 00:26:53 +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
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
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
spx
4389edb8c1 Optimized ConfigParser. Reduced processing time on startup and on refreshing. 2011-07-06 09:00:44 +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
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
a2396a7d0f Tweaks. 2011-06-08 23:56:27 +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
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
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
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
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
spx
9f152e0076 Removed unneeded codes, for VC2010. 2011-02-20 23:03:15 +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
spx
1228e243cc Reduced resource usage. 2011-02-07 09:38:27 +00:00
spx
b0af82a25d Cleaned up header dependencies to avoid unnecessary compiling. 2011-02-07 08:02:12 +00:00
spx
1115764ce4 Fixed minor access violation when exiting Rainmeter. 2011-02-05 05:55:01 +00:00
spx
7ea3a762ac - Fixed that r716 (precompiled header) doesn't work on x64.
- Now uses constructor initialization list in each class.
- TintedImage: Code cleanup.
2011-01-29 00:11:01 +00:00
spx
0ad2ef9414 Code cleanup. 2011-01-24 10:15:05 +00:00
spx
84dba0c65a Code cleanup. 2011-01-23 06:16:18 +00:00
spx
235841e01f Added AutoScale=2 and "k" postfix to Meter=STRING.
----
For instance:
A=2800000000, B=0

- AutoScale=0
AutoScale is disabled. Uses Scale value. (Same as before.)
A="2800000000", B="0"

- AutoScale=1
Scales value by 1024. (Same as before.)
A="2.6 G", B="0.0 "

- AutoScale=2
Scales value by 1000.
A="2.8 G", B="0.0 "

- AutoScale=1k
Scales value by 1024, and uses kilo as the lowest unit.
A="2.6 G", B="0.0 k"

- AutoScale=2k
Scales value by 1000, and uses kilo as the lowest unit.
A="2.8 G", B="0.0 k"
----
2011-01-19 15:31:45 +00:00
spx
7ae8f298f8 - Modified font caching. (Fixed an issue that LocalFont file is locked until exiting Rainmeter.)
- Disabled checked iterators in release mode. (_SECURE_SCL=0)
http://msdn.microsoft.com/en-us/library/aa985965.aspx
Note: _SECURE_SCL defaults to 0 in release mode in VC10(=VC2010).
2011-01-17 22:39:40 +00:00
spx
f0e2084c42 - Added skin related variables.
#CURRENTCONFIGX#
#CURRENTCONFIGY#
#CURRENTCONFIGWIDTH#
#CURRENTCONFIGHEIGHT#

- Code cleanup.
2011-01-16 15:51:23 +00:00
spx
9c4f488d90 - Fixed an issue that the hand-cursor flickers frequently during moving the cursor.
- Code cleanup.
2011-01-08 07:28:48 +00:00
spx
89ea706055 Improved the drawing performance by using PixelFormat32bppPARGB instead of PixelFormat32bppARGB. (PARGB is faster than ARGB.) 2011-01-06 01:44:09 +00:00