Birunthan Mohanathas
cb0fd823e7
Added support for @Resources
2012-05-20 17:51:15 +03:00
Birunthan Mohanathas
9453780c26
Tweaks
2012-05-19 18:16:04 +03:00
spx
638b467675
Disabled double update on initialization for meters
2012-05-04 18:23:35 -07:00
Birunthan Mohanathas
43427b4706
Added workaround for issue in bb4bcbd
(skin not completely visible)
2012-04-28 19:49:28 +03:00
spx
27f33dbe10
Cosmetics
2012-04-17 17:27:40 -07:00
Birunthan Mohanathas
3cf1f43846
Cosmetics
2012-04-17 18:20:12 +03:00
Birunthan Mohanathas
f48d892526
Fixed cursor flicker issue with some applications
...
Removed support for background transparency with RGB(255,0,255)
2012-04-17 09:36:29 +03:00
Birunthan Mohanathas
8332f8465e
Removed NativeTransparency option (now always enabled)
2012-04-17 09:32:10 +03:00
Birunthan Mohanathas
174a612c49
Minor change
2012-04-15 18:31:05 +03:00
Birunthan Mohanathas
b8292f3ab7
Additional change to e139153
2012-04-15 18:27:51 +03:00
Birunthan Mohanathas
e139153d77
About Skins: Fixed ignored first update for measures
2012-04-15 17:47:41 +03:00
Birunthan Mohanathas
bb4bcbdce3
Disabled double update on initialization for measures
2012-04-09 20:50:46 +03:00
spx
4339a00780
Removed #include "Timer.h" ( 7168634
)
2012-04-09 10:05:26 -07:00
Birunthan Mohanathas
1e978aa4b8
Fixed typo
2012-04-09 19:49:39 +03:00
Birunthan Mohanathas
7168634bb6
Disabled RTTI and removed dynamic_cast
2012-04-09 19:45:54 +03:00
Birunthan Mohanathas
873b67571a
Tweaks
2012-04-06 20:01:45 +03:00
Birunthan Mohanathas
ea67809d9b
Replaced throw with Log where possible
2012-04-06 19:54:20 +03:00
Birunthan Mohanathas
ba239ffeea
Changed all numerical options or numerical parameters of bangs to accept formulas
2012-04-06 15:16:54 +03:00
Brian
7d0706c56a
Added OnCloseAction
2012-03-31 11:55:56 +03:00
spx
2f2f5e6efa
Code cleanup
2012-03-26 19:11:54 +03:00
spx
8e4d37a8ea
- Now retries UpdateLayeredWindow if it fails for some reason. (E.g. when SetLayeredWindowAttributes is called by other application process.)
...
- Replaced Get(Set)WindowLong with Get(Set)WindowLongPtr.
- Code cosmetics.
2012-03-14 02:52:35 +00:00
Birunthan Mohanathas
ad2a986e88
Cosmetics.
2012-03-09 10:41:46 +00:00
Birunthan Mohanathas
cea569c0b6
!Move/!MoveMeter: Added support for formulas [Smurfier]
2012-03-08 18:34:30 +00:00
Birunthan Mohanathas
b60d7bdd90
Fixed crash that could occur when using RmExecute from separate thread (in WebParser)
2012-02-22 06:42:52 +00:00
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
spx
2fafb5dcdc
- Added !RainmeterUpdate/!RainmeterUpdateMeter(Group)/!RainmeterUpdateMeasure(Group).
...
- Changed Update= and UpdateDivider= behaviors. If you specify < 0 to them, measures/meters are not updated automatically.
2010-12-28 13:31:17 +00:00
spx
2e173b69d7
Code cleanup.
2010-12-25 08:51:44 +00:00
spx
34160d4038
Modified. (Added the workaround for MessageBox loops on MouseOverAction.)
2010-12-24 10:47:31 +00:00
spx
35174f0f4a
Reverted r680.
2010-12-24 10:06:25 +00:00
spx
c2b16bd47d
Added the workaround for MessageBox loops on MouseOverAction.
2010-12-24 09:57:32 +00:00
spx
9c75cf3423
Code cleanup.
2010-12-21 04:49:01 +00:00
spx
f4bfe8f4fc
- Added #CURRENTSECTION# variable.
...
For instance:
-----
[Variables]
Var=#CURRENTSECTION#
[StyleString]
Text=#CURRENTSECTION#
[MeterString]
Meter=String
MeterStyle=StyleString
Prefix="#CURRENTSECTION# / "
Postfix=" / #Var#"
-----
Displays:
MeterString / MeterString / Variables
- Additional changes for r677.
* Obsoleted DebugLog(). Use LogWithArgs() with LOG_DEBUG instead.
* Added Log().
2010-12-20 08:57:37 +00:00
JamesAC
c50f1c27f2
- Replace DebugLog() with LogWithArgs(int nLevel, const WCHAR* format, ... ), so that variable strings can be logged but the log level can be set to those other than LOG_DEBUG
...
- Note: DebugLog() is still in the code as I was not sure whether it is required to maintain Litestep interoperability
- Replaced instances of LOG_DEBUG where other log levels would be more appropriate
2010-12-19 23:06:13 +00:00
spx
d1a7b604df
Core dll:
...
- Replace swprintf/wsprintf/wcscpy/wcscat to _snwprintf_s/wcsncpy_s/wcsncat_s.
- Changed printf format parameter strictly for supporting both 32bit and 64bit.
- Fixed an issue that !RainmeterWriteKeyValue doesn't accept %APPDATA%\Rainmeter path.
- Code cleanup.
2010-12-16 20:35:44 +00:00
spx
3fc3566937
- MeterImage: Added ScaleMargins option.
...
- MeterWindow: Changed !RainmeterPluginBang to allow specifying only MeasureName. If Arguments is not specified, "" (empty string) is given as args to plugin.
!RainmeterPluginBang "[MeasureName] (Arguments)"
2010-12-13 08:19:45 +00:00
mapeki
c516bf8310
Added Lua Stuff
...
There are a few changes to the core Rainmeter code.
2010-12-12 17:08:36 +00:00
spx
9c24727749
- Reduced memory usage on BackgroundMode=2.
...
- Code cleanup.
2010-12-08 09:04:36 +00:00
spx
1d5490aa98
Code cleanup.
2010-12-08 06:10:22 +00:00
spx
bf861acbcc
Fixed an issue that skin window isn't redrawn when calling !RainmeterShowMeter/HideMeter bangs.
2010-12-07 06:07:42 +00:00
spx
f0eb6d5da0
- Improved error handling for creating TrayMeasure.
...
- Code cleanup.
2010-12-06 08:59:55 +00:00
spx
96c81ac516
- Added BackgroundMode=4 for tiling background image.
...
- Added tinting functions for Background.
- Added "ImageCrop" option to Meter=IMAGE/BAR/HISTOGRAM/ROTATOR and Background.
- Added "Tile" option to Meter=IMAGE.
- Some code cleanups.
2010-12-04 15:07:28 +00:00
Birunthan Mohanathas
559b5ae05f
About dialog now opens with Log selected as default. Changed DisableDrag=1/0 to DisableDragging=1/0.
2010-11-27 10:57:59 +00:00
spx
78cb8b2543
Fixed an issue that AlwaysOnTop=-1/-2 fails on startup.
2010-11-26 16:17:23 +00:00
spx
2186b2eb2a
Fixed an issue that ReadConfig() is called unnecessarily when DynamicVariables=1 and UpdateDivider=* are set.
2010-11-25 23:57:10 +00:00
spx
999ab0bd18
Code optimization.
2010-11-25 22:00:34 +00:00
spx
0e1486f0be
Code optimization.
2010-11-25 15:34:49 +00:00
spx
d299d89ede
Fixed an issue that !RainmeterZPos (1/2) fails in some cases.
2010-11-24 22:30:18 +00:00
spx
8722009407
Small fixes for r623.
2010-11-24 18:08:11 +00:00
Birunthan Mohanathas
b63f92f127
Groups can now be defined under the skins [Rainmeter] section as well (in addition to Rainmeter.ini).
...
Also fixed small typo in r622.
2010-11-24 16:41:50 +00:00
Birunthan Mohanathas
1f3a04e54e
Added DisableDrag=1/0 to lock skins into position.
...
Added DisableRDP=1/0 to disable redraw during RDP session (thanks to FUR10N for the code).
Minor changes to the installer and Rainstaller.
2010-11-24 15:34:07 +00:00
spx
d302aa675a
Code cleanups.
2010-11-22 19:52:10 +00:00