Commit Graph

728 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
Birunthan Mohanathas
56d472d5b5 Minor tweaks to installer and MediaKeyPlugin. 2010-12-18 19:38:33 +00:00
Birunthan Mohanathas
8a0c05457a Changes to Build.py and the install script (\Distrib is not created any more, files taken from normal locations).
Minor change to the Rainstaller UI and MediaKey plugin.
2010-12-18 17:41:09 +00:00
Birunthan Mohanathas
6809d5bb4d iTunesPlugin now accepts commands as a !RainmeterPluginBang (i.e. you can use !RainmeterPluginBang "iTunesMeasure NextTrack" instead of creating an own measure for each command). 2010-12-17 11:15:04 +00:00
spx
b9ae3a31d8 Code cleanups for better Unicode support in several !bangs. 2010-12-17 00:09:37 +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
jsmorley
806a86fe65 Change to installer: Commented out two lines in macro InstallFiles as we are not yet building IMAP plugin due to issues wtih 32bit and the ImapX.dll dependent file. 2010-12-16 17:48:58 +00:00
jsmorley
bfffa65685 Updating CSPluginTemplate 2010-12-16 17:25:40 +00:00
jsmorley
68ae1fe491 Updating CSPlugingInputText
Adding Rainmeter.exe.config file to root to support dependent .dll files for C@ plugins
Adding Dependencies folder in \Plugins to support dependent .dll files for C@ plugins
Changes to server core Rainmeter codes to better export variables for C# plugins
Changes to Build.py
Changes to installer
2010-12-16 17:04:14 +00:00
jsmorley
eb1c159137 Adding new CSPluginInputText Plugin 2010-12-16 16:48:17 +00:00
jsmorley
3268a3e889 Removing old C@PluginText 2010-12-16 16:47:31 +00:00
spx
aa3ad1fc8f Changed DebugLog and LuaLog more reliably. (Fixed an issue that Rainmeter crashes if format parameter includes '%'.) 2010-12-15 22:03:36 +00:00
spx
e2d9a6cc71 Fixed: Now uses buffer strictly in DebugLog/LuaLog. 2010-12-14 15:11:26 +00:00
spx
8c169e4d21 MeasureScript: Additional fix for r663. 2010-12-13 11:47:03 +00:00
spx
cb839b7ce8 MeasureScript: Fixed an issue that Rainmeter crashes if either ScriptFile or TableName is not defined. 2010-12-13 10:54:41 +00:00
spx
13e9f54d2a - MeasureScript: Added files that uses pre-compile header.
- Code cleanup.
2010-12-13 09:00:02 +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
spx
c469fce770 Changed: MeasureScript now uses pre-compile header. 2010-12-12 19:27:56 +00:00
mapeki
dc42b7e9c9 Some how these weren't committed before.
lua5.1.dll is here so so tolua++.exe can run. It actually generates most of the files in this folder.
The .tolua files are special files that the tolua++ exe uses to create the c++ code.
2010-12-12 17:18:36 +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
jsmorley
416232dff2 Update to C# InputText plugin source, to replace CS_DLL_for_C.exe with a new version from psouza4 2010-12-12 15:44:14 +00:00
spx
191c12ecf6 Code cleanup. 2010-12-11 16:30:49 +00:00
Birunthan Mohanathas
42917f7d67 Some minor changes. 2010-12-11 10:31:19 +00:00
Birunthan Mohanathas
6779269b07 Some tweaks and fixes to Rainstaller. 2010-12-11 10:11:25 +00:00
spx
fe22cfdf3d Quick fix for http://rainmeter.net/forum/viewtopic.php?f=5&t=4059&p=39475#p39461 2010-12-11 05:27:01 +00:00
spx
54537c66b0 Code cleanup. 2010-12-09 06:05:17 +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
3324084c7f Fixed an issue that TrayMeasure doesn't work with Measure=PLUGIN. 2010-12-08 02:46:41 +00:00
Birunthan Mohanathas
f0f7bd9121 Removed useless code. 2010-12-07 18:12:13 +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
Birunthan Mohanathas
97bb9c9259 Fixed: FolderInfo.dll did not support relative paths (thanks to elestel) 2010-12-06 07:43:30 +00:00
spx
d125093e89 Added workaround for InputText plugin. (ShellExecuteEx fails when InputText is activated.) 2010-12-05 23:33:51 +00:00
jsmorley
96244049f0 Change to InputText Plugin to add FocusDismiss= (0/1 - Default is 0). This switch changes the
behavior of the input box so it is dismissed without firing any actions if the input field loses
focus (if the user clicks outside the input box)
2010-12-05 21:33:18 +00:00
Birunthan Mohanathas
6efbd23314 Adding ImageCrop and MeasureName/ImageName changes by spx. 2010-12-05 15:34:37 +00:00
Birunthan Mohanathas
862a6d86ae Minor changes to Rainstaller and Build.py. 2010-12-05 14:57:23 +00:00
jsmorley
786fc6459c Renaming InputTextPlugin.dll to InputText.dll 2010-12-05 14:12:03 +00:00
jsmorley
d77709a50e Adding InputTextPlugin to the .svn and changing the build to include the pre-compiled version.
This is a new plugin written by psouza4 in C#.
Further details on how to compile locally will be forthcoming.
2010-12-05 00:52:07 +00:00
jsmorley
08a377d7c0 Minor cosmetic tweak to RainBackup 2010-12-04 15:40:19 +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
spx
19294c4339 Minor change. 2010-11-28 22:20:27 +00:00
spx
62519fbdd5 MeasureDiskSpace: Improved total size detection for removable device. 2010-11-28 21:39:46 +00:00
spx
46829cbb6f Fixed that Flip=1 is broken in Meter=HISTOGRAM. 2010-11-27 20:54:21 +00:00
spx
a0ae80cd04 Added image manipulation codes to Meter=BITMAP/BUTTON/HISTOGRAM and refactored them.
For BITMAP/BUTTON:
- Greyscale
- ImageTint
- ImageAlpha
- ColorMatrixN
- ImageFlip
Note: BITMAP and BUTTON are not able to support ImageRotate.

For HISTOGRAM:
- PrimaryGreyscale
- PrimaryImageTint
- PrimaryImageAlpha
- PrimaryColorMatrixN
- PrimaryImageFlip
- PrimaryImageRotate
- Secondary***
- Both***
2010-11-27 19:53:23 +00:00
Birunthan Mohanathas
674cebda64 Fixed that Windows 7 shows pixelated icon for About window when 'Use small icons' is set (added 16x16 image to window.ico). 2010-11-27 11:42:04 +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
04208a97c3 MeterHistogram: Small performance improvement on Draw(). 2010-11-26 20:22:13 +00:00
spx
78cb8b2543 Fixed an issue that AlwaysOnTop=-1/-2 fails on startup. 2010-11-26 16:17:23 +00:00