Commit Graph

119 Commits

Author SHA1 Message Date
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
spx
b2967b2814 Small code optimization. 2010-11-16 22:14:00 +00:00
spx
35d0eeea11 Fixed an issue that UpdateDivider is ignored if DynamicVariables=1 is set. 2010-11-13 19:45:50 +00:00
spx
cab258a7e5 Code optimization and removed unused part for reducing core dll size. 2010-11-11 20:24:59 +00:00
spx
dbc021d299 Minor code tweaks & cleanups. 2010-11-05 03:25:21 +00:00
spx
02be3ed29c Additional fix for r581. 2010-11-04 22:34:14 +00:00
spx
bfdc8d2d74 Fixed an issue that skin window doesn't work correctly if DynamicWindowSize=1 is set and window width or height is 0.
http://www.rainmeter.net/forum/viewtopic.php?f=5&t=5895&sid=3a35544c846def97be471944c564e12d
2010-11-04 22:17:08 +00:00
spx
32d81e9343 Fixed an issue that meter window flickers when "Hide on Mouse Over" and "Click Through" are set. 2010-11-04 01:45:58 +00:00
spx
1668de5a3b Code cleanup & cosmetics. 2010-10-31 20:13:32 +00:00
spx
db4fac0877 Code cleanup & cosmetics. 2010-10-19 22:03:32 +00:00
Birunthan Mohanathas
b53f0d9f6b - Moving to NSIS Unicode
- Partial rewrite of Rainstaller
- Fixed a small problem with !RainmeterShowMeter and ToolTipHidden=1.
- ToolTipHidden can now be used under [Rainmeter].
2010-10-12 14:14:32 +00:00
spx
54362780c3 Fixed a issue that MouseOver/LeaveAction loops infinitely.
http://www.rainmeter.net/forum/viewtopic.php?f=14&t=5560
2010-10-02 04:13:50 +00:00
jsmorley
c1fda93526 Change by JamesAC to detect skins with no meters OR measures to reduce issues with people loading Rainlendar skins and such. 2010-09-22 14:04:00 +00:00
spx
15992c2dc3 Cosmetic changes. 2010-09-21 22:47:53 +00:00
Birunthan Mohanathas
e618ad1777 Cosmetic changes here and there. 2010-09-21 11:09:36 +00:00
Birunthan Mohanathas
4ccb0aa40b Changes to some Rainmeter messageboxes to make them more descriptive. Minor changes to Rainstaller as well. 2010-09-21 08:32:41 +00:00
spx
df146e4eb4 Code cleanup & cosmetic. 2010-09-17 08:47:22 +00:00
spx
2cb88b0733 Shrunk some string buffer size. 2010-09-13 20:06:52 +00:00
spx
3da0aa3f4c [Application]
- Added some codes to avoid loading a dll from current directory.

[Library]
- Added new functions to avoid loading a dll from current directory. (CSystem::RmSetDllDirectory(), CSystem::RmLoadLibrary())
2010-09-11 19:39:45 +00:00
jsmorley
eee8d9bb1c Changed ToolTip function to allow using %1, %2 etc. as appropriate for various meter types:
Line, String: %1, %2, %3, ...
Histogram: %1, %2
Others: %1
2010-09-10 17:29:30 +00:00
spx
979117f623 Additional fix for r528. 2010-09-04 08:04:13 +00:00
spx
07d5671707 Fixed an issue that ClickThrough mode is broken since r486.
Fixed an issue that cached window message is incorrect in some cases.
2010-09-03 11:05:28 +00:00
spx
7f2c47a956 - Fixed an issue that audio commands fail in some cases.
Following cases are now available:

ButtonCommand=PLAY #SKINSPATH#Beeper\Sounds\beep.wav
ButtonCommand=PLAY "#SKINSPATH#Beeper\Sounds\beep.wav"
ButtonCommand=!execute [PLAY #SKINSPATH#Beeper\Sounds\beep.wav]
ButtonCommand=!execute [PLAY "#SKINSPATH#Beeper\Sounds\beep.wav"]
2010-09-02 16:03:15 +00:00
spx
c14cd5491b [AboutDialog]
- Fixed the issue that the statistics are updated many times if many active skins are working. "Log" is now updated once every 1 second. Config is now updated once on its Update=.
- Fixed the issue that the statistics show by incorrect order in some conditions.
- Fixed the issue that the entries aren't updated if the skin is activated/deactivated.
2010-08-30 22:51:58 +00:00
spx
bea3b2821a Modified for icons on About dialog box. 2010-08-25 14:36:20 +00:00
spx
dbdebfd1f1 Overhauled Variables part. Fixed the issue that all variables are reset when the screen resolution (or work area) is changed. 2010-08-24 01:07:29 +00:00
jsmorley
10f0640298 Added JamesAC's new bangs to change "settings" in Rainmeter.ini for one / group / all skins at once.
!RainmeterDraggable/!RainmeterDraggableGroup
!RainmeterKeepOnScreen/!RainmeterKeepOnScreenGroup
!RainmeterClickThrough/!RainmeterClickThroughGroup
!RainmeterSnapEdges/!RainmeterSnapEdgesGroup

!RainmeterSnapEdges [parm1] (Config | *)
!RainmeterSnapEdgesGroup [parm1] [GroupName]

Parm1:
-1 toggles the setting.
0 forces the setting to off.
1 forces to setting to on.
2010-08-22 12:08:38 +00:00
spx
bf026cc248 some minor tweaks & cleanups 2010-08-17 07:19:48 +00:00
spx
20c3702501 Fixed the compatibility issue for the skins that are using MouseOverAction/MouseLeaveAction in Meters. 2010-08-13 23:20:20 +00:00
spx
2e32b0f5c1 Some minor fixes. 2010-08-06 07:40:43 +00:00
spx
64888434c9 - Added !RainmeterWriteKeyValue. (based on MattKing's code)
!RainmeterWriteKeyValue "Section" "Key" "Value" ("FileSpec"), where "FileSpec" is an optional parameter. If FileSpec is not present, the change is automatically done in the currently running skin file. If the bang is executed from command line, FileSpec is required.

- Some improvements of MouseOver/Leave detection.

- Fixed the issue that window dragging brings on MouseLeave if "Show window contents while dragging" is not set.
- Fixed the issue that window dragging can't be begun by dragging the Button.
- Fixed the issue that a reaction of the upper Button penetrates to the lower Buttons or the other window.
2010-08-03 15:10:42 +00:00