Commit Graph

443 Commits

Author SHA1 Message Date
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
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
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
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
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
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
spx
d125093e89 Added workaround for InputText plugin. (ShellExecuteEx fails when InputText is activated.) 2010-12-05 23:33:51 +00:00
Birunthan Mohanathas
6efbd23314 Adding ImageCrop and MeasureName/ImageName changes by spx. 2010-12-05 15:34:37 +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
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
72da30c565 Fixed an issue that the following sections are ignored if ini-file contains null section "[]". 2010-11-24 13:43:20 +00:00
spx
d302aa675a Code cleanups. 2010-11-22 19:52:10 +00:00
spx
45e33ce704 - Code cleanup.
- MeterLine: Small performance improvement on Draw().
2010-11-19 07:33:58 +00:00
spx
b2967b2814 Small code optimization. 2010-11-16 22:14:00 +00:00
spx
f689bbe6f1 Small code optimization. 2010-11-16 20:12:27 +00:00
spx
fc046ac4eb Removed /GA compiler option from DLL project files. 2010-11-15 23:43:15 +00:00
spx
d11964ddf9 - Removed "Release64|Win32" and "Release64|x64" from projects. Use "Release|Win32" (for 32-bit) and "Release|x64" (for 64-bit).
- Removed unused option from projects.
2010-11-15 20:59:20 +00:00
Birunthan Mohanathas
afee54a02f Removed MBM5 plugin from build.
Added FolderInfo plugin into build.
Moved pcre-8.10 from Plugins\PluginWebParser into Library\.
2010-11-15 14:38:12 +00:00
Birunthan Mohanathas
0dd7ab194f Fixed that %10, %11, etc. doesn't work. 2010-11-14 18:55:34 +00:00
Birunthan Mohanathas
dd3a84b5f8 Updating Illustro to 0.9.1
Cosmetic changes to .rc files
Minor changes to Rainstaller
2010-11-14 10:28:17 +00:00
Birunthan Mohanathas
0a5d07eef2 Small change to how PRODUCTVERSION is determined (thanks spx!). 2010-11-13 20:16:04 +00:00
spx
b9c406aef2 Minor change for r600. 2010-11-13 19:53:28 +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
2c6272e1f4 Added _WIN64 to preprocessor for 64bit resource compiler. 2010-11-13 19:30:24 +00:00
Birunthan Mohanathas
d91db2cd50 Fixed http://code.google.com/p/rainmeter/issues/detail?id=175 and typo in VirtualDesktops.rc 2010-11-13 19:12:43 +00:00
jsmorley
e4326582e8 Changed Application.rc and Library.rc to go back to using code page 1252, as the mismatch between changing to VALUE "Translation", 0x409, 1200 and the value in BLOCK "040904E4" causes 3rd party apps to fail to read the version information. I'm not sure I see any need to possibly break things in any case changing the code page for this version info block when it really doesn't matter what it is. 1252 is the tried and true Windows standard "Latin" that we are sure works on any version of Windows and any language setup. Just don't put UNICODE chars in the version information, and we are good to go... ;-) 2010-11-13 16:01:15 +00:00
Birunthan Mohanathas
5ff09cbd96 Adding version info to Rainmeter.dll.
Some other minor changes.
2010-11-13 14:51:58 +00:00
spx
a3f4aa19f8 Changed the limit of the config menuitem ID. (3000 to 10000) 2010-11-12 15:29:44 +00:00
spx
cab258a7e5 Code optimization and removed unused part for reducing core dll size. 2010-11-11 20:24:59 +00:00
jsmorley
2bf3299ded Additional change to make Rainmeter.cpp case insensitve when installing default theme. Added Recycle Bin to illustro default theme. 2010-11-07 13:14:51 +00:00
jsmorley
bddef71808 Minor update to illustro and Rainmeter.cpp to properly detect install the illustro theme. 2010-11-07 12:57:31 +00:00
spx
6ef688f387 Code cleanups. 2010-11-06 23:13:12 +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
25abbc2444 - Added multiple MeterStyle.
- Code cleanup & cosmetics.
2010-11-04 00:17:42 +00:00
spx
0b8537f384 Fixed wrong item order in tray context menu. 2010-10-31 20:32:16 +00:00
spx
1668de5a3b Code cleanup & cosmetics. 2010-10-31 20:13:32 +00:00
Birunthan Mohanathas
461f8757c1 Fixed Debug x64.
Also some minor changes to the installer and Rainmeter.cpp.
2010-10-30 11:21:19 +00:00
jsmorley
6d9834a89e Fixed a small bug created by the new "Downloads" context menu. 2010-10-26 16:10:42 +00:00
jsmorley
9f881c1b2b Changed "Rainmeter Downloads" to "Downloads" based on poiru's input 2010-10-26 15:19:43 +00:00
jsmorley
43751f3217 JamesAC added "Rainmeter Downloads" to the main context menu, which will open the user's browser to the skin downloads page in version 1.4. 2010-10-25 19:58:53 +00:00
spx
db4fac0877 Code cleanup & cosmetics. 2010-10-19 22:03:32 +00:00
mapeki
71ce46442e Fixed an issue with dynamic variables not working on the image effects. 2010-10-18 22:30:45 +00:00
mapeki
74fd39f912 Fixed copy paste typo - m_ImageWidthString was there twice instead of m_ImageHeightString 2010-10-17 18:21:44 +00:00
mapeki
2b960748f1 * MeterImage
+ Added

* MeterBar and MeterRotator
  + Added support for image effects on Bar and Rotator.
2010-10-17 17:51:14 +00:00
jsmorley
1ee9137ea2 Updating all build files and processes to create 1.4 beta starting point.
Also adding file: TextFuncUF16.nsh to Rainstaller folder for UNICODE support.
If you download Build.py, be sure to set the paths to executables to your paths before using.
2010-10-12 15:01:48 +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
Birunthan Mohanathas
140ed85ed7 Added ToolTipHidden=1 / 0. When set to 1, tooltips will be suppressed. Default is 0.
Some minor changes to Rainstaller.
2010-10-10 16:58:55 +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
Birunthan Mohanathas
9da555a187 Fixing errors caused by r549. 2010-09-23 08:49:43 +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
11588043de Error messages now display meter/measure in question. 2010-09-21 16:45:29 +00:00
Birunthan Mohanathas
e618ad1777 Cosmetic changes here and there. 2010-09-21 11:09:36 +00:00
spx
e812e079ec [AboutDialog]
Fixed a issue that Value column isn't updated if value is empty string.
2010-09-21 09:18:19 +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
704558b7df Fixed a issue that Rainmeter crashes at LSLog(). (multithreading issue) 2010-09-19 09:21:25 +00:00
spx
df146e4eb4 Code cleanup & cosmetic. 2010-09-17 08:47:22 +00:00
spx
5ab0192d41 NumOfDecimals is now enabled when Percentual=1 in STRING meter. 2010-09-15 12:52:40 +00:00
jsmorley
6fe8fd0aa7 Fix by spx for the problem where r538 caused some backwards compatibility issues. 2010-09-15 10:05:09 +00:00
spx
d9a89ccdec Fixed a issue that unnecessary UpdateToolTip() is executed excessively due to uninitialized m_ToolTipHandle. 2010-09-14 20:24:02 +00:00
jsmorley
cd074cd44d Fix by MattKing for numbers being truncated to 0 decimals issue in http://rainmeter.net/forum/viewtopic.php?f=14&t=5432 2010-09-14 17:08:25 +00:00
spx
2cb88b0733 Shrunk some string buffer size. 2010-09-13 20:06:52 +00:00
Birunthan Mohanathas
27b07f653c Fixed: ToolTipWidth didn't work with formulae.
Rainstaller now displays fonts in .rmskin in dialog.
2010-09-13 17:03:09 +00:00
jsmorley
51ec7bfd7b Fixes an issue where ToolTips are still active on "hidden" meters. 2010-09-12 21:49:57 +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
jsmorley
c753f0cbac Change by spx to fix "flicker" issue in AboutDialog 2010-08-28 21:24:32 +00:00
spx
9f33f8907a Minor fixes for r522. 2010-08-26 21:49:50 +00:00
jsmorley
d9137c2413 Changes by JamesAC and spx to the "About" dialog. 2010-08-26 20:50:36 +00:00
spx
494a7c77ce Added 32x32 icon image for Alt+Tab. 2010-08-25 15:48:21 +00:00
spx
bea3b2821a Modified for icons on About dialog box. 2010-08-25 14:36:20 +00:00
spx
877d4a3f4d Fixed some comments. 2010-08-24 01:13:27 +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
46b19fbd73 - Now able to use single quote as quotes in Substitute. Reverted r510, r511.
- [WebParser] Updated PCRE library 6.4 to 8.10.
2010-08-18 07:28:55 +00:00
spx
67e5d4142d Fix for r510 (Fixed the issue that '#', 'Q', 'O' and 'T' are replaced to '"'.) 2010-08-17 22:50:48 +00:00
Birunthan Mohanathas
02658b1ecc Fixed: Not being able to Substitute a quote character.
The variable #QUOT# can be used in Substitutes. E.g.
Substitute="#QUOT#":"blaa"
2010-08-17 12:09:57 +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
8fe2a26a51 Fixed the issue that RANDOM is replaced incorrectly in Measure=Calc. 2010-08-11 18:08:41 +00:00
spx
3d33a16f9f - Additional fix for r502. Functions/Measures/Counter in Formula are now case-insensitive in MeasureCalc.
- "[Measure]" is now case-insensitive in DynamicVariables.
2010-08-10 18:23:10 +00:00
Birunthan Mohanathas
237043352d Fixed issue that Counter in Measure=Calc is case-sensitive. Added MeasureName2 as an alternative to SecondaryMeasureName in Meter=Histogram. 2010-08-10 15:37:35 +00:00
spx
701178766d Fixed the issue that Rainmeter crashes if a invalid format parameter is specified in MeasureTime/MeasureUptime. 2010-08-07 19:03:58 +00:00
spx
2e32b0f5c1 Some minor fixes. 2010-08-06 07:40:43 +00:00
spx
98c1f70f17 - Some changes for online manual.
- About dialog now indicates "Beta" or not beta on version information.
2010-08-05 17:48:52 +00:00
Birunthan Mohanathas
0feda085e6 Cosmetic changes to About dialog. 2010-08-05 16:38:28 +00:00
spx
afd7de5a8c Fixed some stability issues when the location of the settings file is defined by a commend line argument. 2010-08-05 10:46:04 +00:00
spx
ff04d39bad Fixed the crash issue that the commandline option length is less than 4 characters. 2010-08-04 08:10:54 +00:00
spx
229fc944e8 Fixed missing RemoveBangCommand("!RainmeterWriteKeyValue"); 2010-08-03 15:25:38 +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
spx
d92f4f939d Added #ROOTCONFIGPATH#. 2010-08-02 14:28:55 +00:00
spx
0d26b72bbe Stability improvement for refreshing config. 2010-07-22 02:37:51 +00:00
spx
3f2268b6b2 Minor fix for multiple %APPDATA%. 2010-07-22 01:50:22 +00:00
spx
4965f3859f - Fixed the issue that the check marks of all menu items in configs/root/variants menu are cleared if !RainmeterDeactivateConfig/!RainmeterToggleConfig is used.
- Fixed the issue that %APPDATA% isn't replaced if Rainmeter runs as different user.
- Some stability improvements for activating/deactivating configs.
2010-07-22 00:31:59 +00:00
spx
dc7ccdd7ed Fixed the issue that all grouping functions for Config are broken since r473. 2010-07-21 23:11:12 +00:00
jsmorley
b3507f6f8e Tooltips: Added ToolTipWidth= key | Fix for using [MeasureName] as ToolTipText alone. 2010-07-20 21:20:14 +00:00
spx
abc5df233d - Fixed the issue that the context menu doesn't hide even if a focus is switched to the desktop or other windows.
- Fixed the small Logging menu issue.
2010-07-20 07:15:39 +00:00
spx
eb536cde54 - Added config's root menu.
- Fixed a small issue on creating menu cache.
- Added workaround that the context menu is shown repeatedly by using menu bangs.
2010-07-18 21:35:52 +00:00
jsmorley
ab272307a4 Minor fix by JamesAC to ToolTip routines
Many changes to Help files for 1.3 beta
Minor fix for Installer script
2010-07-17 19:11:05 +00:00
spx
6b6635b9c9 Got rid of some redundant codes from r471. 2010-07-17 13:38:12 +00:00
jsmorley
935852426a Added spx's meter/measure/config "Group" functionality.
Minor fix to installer script
2010-07-17 13:02:34 +00:00
jsmorley
ff153f3f86 Adding JamesAC's new ToolTips functionality.
Minor fix to the Rainmeter installer
Minor changes to RainBrowser and RainThemes
2010-07-17 00:06:24 +00:00
jsmorley
5be6e9783d Adding code to improve DesktopWorkArea with mulitple monitors. This is code from user Jott, with some minor tweaks by spx
Adds DesktopWorkArea(x) where "x" is the desired monitor. DesktopWorkArea without a number is the primary monitor.
2010-07-10 12:56:37 +00:00
spx
d07e8665b0 Modified the behavior when the log file was deleted manually. 2010-07-08 10:59:06 +00:00
spx
63c11d1535 Fixed some wrong comments. 2010-07-07 23:54:20 +00:00
spx
f61a35a64d - Added "Group" option to Measure/Meter to operate Measures/Meters in bulk.
Usage:
    Group=group1 | group2 | group3
    * Concatenate group with the "|" if you'd like to assign multiple groups.

- Added !Bangs for Group. (!RainmeterShowMeterGroup, !RainmeterHideMeterGroup, !RainmeterToggleMeterGroup, !RainmeterEnableMeasureGroup, !RainmeterDisableMeasureGroup, !RainmeterToggleMeasureGroup)
Usage:
    !RainmeterShowMeterGroup [group] (Config)
    !RainmeterHideMeterGroup [group] (Config)
    !RainmeterToggleMeterGroup [group] (Config)
    !RainmeterEnableMeasureGroup [group] (Config)
    !RainmeterDisableMeasureGroup [group] (Config)
    !RainmeterToggleMeasureGroup [group] (Config)

- Modified logging feature. Added new "Logging" menu to the context menu.

- Added the manifest to Rainmeter.exe to apply visual style to button etc.
2010-07-07 23:46:44 +00:00
jsmorley
36dfa2c6e5 Alex2539 found a problem in the ccalc lexer.c file which caused an error if a number was used in a calc statement (say from a WebParser measure) which had a leading "0". (08 for instance) This would cause the library to see the number as an Octal, and the formula would be incorrect at best, and fail with an error in the log at worst. (08 is an invalid Octal number) Alex has changed the library so you CAN indicate and do math with Octal, Hex and Binary numbers, but the numbers must be preceded with 0b (binary) 0x (hex) 0o (octal). If a number like 08 is used, it will be treated as "8", as it should.
Change to RainThemes to support new Logging= setting in Rainmeter.ini
2010-07-07 22:31:44 +00:00
spx
cae7c84431 Fixed AdditionalDependencies for Debug. 2010-07-06 07:30:45 +00:00
spx
5d436f2ffe Reverted the part of r345 (workaround for Issue 145). It's cause of low scaling quality in IMAGE meter. 2010-07-02 18:10:29 +00:00
jsmorley
b16f02d243 Added changes by JamesAC, Spx and Patrick/Dexpot to expand the range of information which can be requested from Rainmeter via Windows Messages. (SendMessage/WM_COPYDATA)
See the header file RainmeterQuery.h for details and usage help.
2010-06-28 22:30:20 +00:00
jsmorley
53934aa6c7 Fix for context menu to use ConfigEditor or Windows association for .ini when doing "Edit Settings" 2010-06-23 18:03:55 +00:00
Birunthan Mohanathas
38409f2d05 * Several changes to the Rainmeter context menu (including handle leak fix)
* Rainmeter now opens text files with associated text editor (with fallback to Notepad) if ConfigEditor is not specifed
2010-06-23 12:36:39 +00:00
spx
8c1c77f6a6 Fixed swapped window name and class name. (RainmeterQuery.h) 2010-06-21 23:25:54 +00:00
spx
181dffe0bd Added RainmeterQuery.h for querying the data from the other applications by using Window Message. Thus modified some related codes. 2010-06-21 19:48:00 +00:00
jsmorley
8a47a191d7 Changes to Rainstaller and RainThemes to support new version checking method.
Minor fix to a couple of typos in the version checking code
Changed "Update Available" to "New Version Available"
2010-06-21 17:14:56 +00:00
jsmorley
8785516c09 1) JamesAC / spx change to Windows Messages / Dexpot support, with fix for copy / paste error in previous commit.
2) Change to version checking:
* CheckVersion= setting depreciated.  Removed from "About" dialog and automatically ignored and removed from Rainmeter.ini at Rainmeter start.
* New DisableVersionCheck= (1/0) setting added, which now changes the default from "don't check version" to "do check version" unless this is set to "1"
2010-06-21 16:00:19 +00:00
jsmorley
34387ce2cf Starting point for 1.3 beta:
Changes to multiple files to change version number
Changes by JamesAC / spx to improve management of Windows Mssages, mostly to support working with the DexPot folks
Addition of the Win7AudioPlugin plugin by reiswaffle. This includes plugin code and changes to the Rainmeter.sln project file.
2010-06-20 20:52:52 +00:00
spx
e0ea862d72 Fixed r432 issue. (Issue 158) 2010-06-08 23:09:18 +00:00
spx
d34c4c2b9c Fixed the issue that the image cannot be loaded from disk in IMAGE meter.
For instance: MeterImage2 fails loading the image.
-----
[CALC]
Measure=CALC
Formula=1

[MeterImage]
Meter=IMAGE
X=0r
Y=0R
ImageName=Image.png
ImageTint=255,255,255,64

[MeterHistogram]
Meter=HISTOGRAM
MeasureName=CALC
X=0r
Y=0r
PrimaryImage=Image.png

[MeterImage2]
Meter=IMAGE
MeterStyle=MeterImage

[MeterHistogram2]
Meter=HISTOGRAM
MeterStyle=MeterHistogram
-----
2010-06-04 08:52:07 +00:00
spx
c7cd612502 Fixed the issue that dynamic image name is not correctly applied in most meters. (Issue 157) An error message is now output to the log instead of showing the dialog box. 2010-06-03 14:14:53 +00:00
spx
f2682eaee0 Changed the behavior of DynamicVariables. The fixed value definition of the following settings is handled as the starting value. If the value definition of these settings contains variables or measures, related !bangs are ignored.
[Measure]
Disabled

[Meter]
Hidden
X
Y

In case of "Hidden":
- Hidden not added or Hidden=0/1 (=fixed value specified) and DynamicVariables=1
The specified value is handled as the starting value. After that the value is not re-read on every update. !RainmeterShowMeter etc. are enabled.

- Hidden=#VAR# or Hidden=[Measure] and DynamicVariables=1
The value is re-read on every update. !RainmeterShowMeter etc. are disabled by re-reading value.
2010-06-01 14:55:52 +00:00
spx
b675265606 Fixed incomplete fix in r420 and r422.
Fixed the issue that the result of some bangs is overwritten with the default value if DynamicVariables=1 is added to Measure/Meter. (Issue 125) Note that this fix is effective only when the setting is not defined in skin configuration file. The result of !RainmeterHideMeter(or Show/Toggle) is overwritten if Hidden=0/1 is added.
Some minor changes.
2010-05-31 21:02:04 +00:00
spx
1393d52f43 Fixed the issue that the default value isn't reflected correctly when refreshing the skin. (Issue 155) 2010-05-30 07:02:46 +00:00
spx
56f1c6a38d Enabled @include to use variables.
Fixed the issue that the window becomes invalid when both window width and height are 0.
2010-05-27 22:03:09 +00:00
jsmorley
ef0a984544 Reversing previous change to "On Desktop" as default for new skins. 2010-05-14 02:49:53 +00:00
jsmorley
70ae84faca Changed the default for "AlwaysOnTop" (ZPos) from "Normal" (0) to "On Desktop" (-2) now that On Desktop is working right with Vista / Win7.
Some minor changes to images for RainBackup and RainThemes. Using new background pattern from poiru.
2010-05-11 17:09:39 +00:00
spx
e2c5a4afdc small fixes (including poiru's fix for Rainmeter.ini when Default.ini doesn't exist is not there) 2010-05-09 10:21:40 +00:00
jsmorley
c01fb4eb76 Update to get things in place for one final beta followed by a Release Candidate as soon as we can.
1) Added Gnometer as one of the default skins, including two themese (Gnometer and Gnometer Preview)
2) Removed Tranquil skins
3) Added RainBackup in \Addons and to start menu
4) Changes to Rainstaller to use default header .bmp file if the author does not provide one in the .rmskin.
5) Changes to Rainmeter.cpp to handle Gnometer as one of the new default skins
6) Changes to the Rainmeter installation program to allow selection of default skin / theme (Gnometer or Enigma)
2010-05-08 19:51:33 +00:00
jsmorley
11dfcb95b1 Registry Measure: Mattking fixed a problem where a skin reading a registry value would never update the value in the skin if the key did not exist when the key was loaded, but added while the skin was running. It also would not detect that a key it had successfully read when the skin was loaded was deleted while the skin was running. 2010-04-25 17:42:07 +00:00
jsmorley
f049d80153 Update for final fixes for Rainstaller, new Rainmeter icons and changes to History.htm to support new public build. 2010-04-18 20:12:32 +00:00
spx
d4a1a4fadf Fixed a problem that an UNC path isn't recognized as an absolute path in @include statement. 2010-04-11 14:30:31 +00:00
spx
e2e6ffff86 Formula now can be used with the relative position (r/R) in Meter's X/Y option.
Added built-in variable #PROGRAMDRIVE#

Changed Net measures to gather statistics of the logical interfaces for wireless devices.
2010-04-10 02:29:52 +00:00
jsmorley
8b1dd97268 Change of math function LG to LOG for clarity. 2010-04-10 02:04:06 +00:00
jsmorley
c71a4096d1 Alex's change to add #CRLF# as a built in variable to add a carriage return / linefeed to strings.
[MeterOne]
Meter=String
MeasureName=MeasureOne
MeasureName2=MeasureTwo
Text=%1#CRLF%2

[MeterTwo]
Meter=String
Text=This is a long string#CRLF#On two lines

Substitute="<br/>:"#CRLF#"
2010-04-09 13:16:37 +00:00
spx
4cf4a84afb Fixed a problem that "Random" doesn't return the HighBound value in CALC measure. 2010-04-08 23:47:52 +00:00
spx
32db892e2c Fixed a problem that "Random" is case-sensitive in CALC measure.
Fixed a problem that a deletion of the meter window encounters enormous delays when the meter window has enormous Update=.

Some small cosmetics.
2010-04-08 23:16:43 +00:00
spx
54fe29a062 Removed unused codes.
Some small changes on create Measures and Meters.
2010-04-07 19:56:53 +00:00
spx
95bec98c87 Fixed a problem caused by @include statement added in r219. 2010-04-07 16:12:02 +00:00
spx
6551a62fba Fixed a problem that an UNC path isn't recognized as an absolute path. 2010-04-06 17:46:17 +00:00
spx
8bff3e2ac2 Small change about !RainmeterQuit (simpler way) 2010-04-02 06:54:51 +00:00
spx
415c905d0a - Fixed a problem that !RainmeterQuit isn't executed when no meter window is running.
- Fixed a problem that StyleTemplate affects to Meters which have no relation.

- Added a workaround to avoid the "IniFileMapping" function when reading skins.

- Some small code cosmetics.
2010-04-02 01:35:53 +00:00
spx
a6f2f01036 Some code changes for optimization 2010-03-30 22:37:05 +00:00
spx
b769a7a360 - Modified the way to handle the "On Desktop". This affects all of Windows versions.
- Added "LoadOrder" to handle the skins' loading order.

- Changed the way to update and save the network statistics.
2010-03-29 21:50:05 +00:00
spx
8b9e21e38f Fixed the crash problem when multiple Rainmeter instances are running and "show desktop" occured. 2010-03-23 16:15:07 +00:00
spx
06ec730bfd - Added the workaround to pin the window to desktop in Vista/7 with Aero.
- Added !RainmeterSetTransparency, !RainmeterShowFade, !RainmeterHideFade, !RainmeterToggleFade.

- Added the function to log the installed font families to the log file when Debug=1 is set.

- Added the workaround for issue 145. The wrong drawing position was fixed when AntiAlias=0 is set.
2010-03-20 19:40:30 +00:00
jsmorley
3166c5d5f2 MattKings Changes:
1) New feature of Meter=String
StringCase= [NONE | LOWER | UPPER | PROPER]
2) Changes to SetVariable to allow mathematical formulas and functions to be used in setting a variable.
2010-03-18 19:48:14 +00:00
jsmorley
65bfaa31f0 Mattking: Fixed PLAY command to play the .wav file asynchronously so it no longer "pauses" Rainmeter while sound is playing. 2010-03-04 22:53:56 +00:00
jsmorley
2dbf79c6e6 Fixed: MattKing's change to RANDOM to fix issue where it was only random once. 2010-02-28 14:19:35 +00:00
spx
f0763c5973 Changed the ConfigParser that it allows some inline comments which start with a semicolon. This change is for backward compatibility. 2010-02-27 09:51:48 +00:00
spx
234250f59f ImageRotate option now gets better quality than r342. 2010-02-26 02:54:13 +00:00
spx
8c87dd66b7 Fixed the problem that the BarImage disappears if "DynamicVariables=1" is set in BAR meter.
Added the new image tinting / transforming function in IMAGE meter. (ImageTint, GreyScale, ColorMatrix(1-5), ImageFlip, ImageRotate)
2010-02-24 14:58:35 +00:00
spx
16b1918af3 Added "ImageAlpha" option to the IMAGE meter.
Changed the interpolation mode in AntiAlias=1 to Default from Bicubic. There is a possibility that this change will be changed again in the future.
2010-02-20 00:39:08 +00:00
spx
be3b4114bb - Added the function that measures the CPU usage for multi core/processors.
For instance:

[MeasureCPU]
Measure=CPU

[MeasureCPU1]
Measure=CPU
Processor=1

[MeasureCPU2]
Measure=CPU
Processor=2

MeasureCPU returns the average of the CPU usage across all core/processors. This is same as Processor=0.

MeasureCPU1/2 returns the CPU usage of each core/processor.

-----

- Fixed the problem that the correct value is not returned if the Interface=0 in NetIn/NetOut/NetTotal measure. The cause of this problem is because the value of all filter devices is summed in Vista or newer.

-----

- Added the option (Debug) for debug logging. This must be put under [Rainmeter]-section in Rainmeter.ini.

This option specifies whether extra debugging log from Rainmeter.dll is output to Rainmeter.log.

[Rainmeter]
Debug=1

Default is 0.

-----

- Application: Fixed a wrong return value type from MainWndProc.
2010-02-13 03:07:34 +00:00
spx
506b6b84f3 FIXED: IMAGE and STRING meter were not compatible with a new value-reading method of r330. 2010-02-09 06:53:34 +00:00
spx
6088470157 - CHANGED: ConfigParser now reads value strictly. Note that this change affects the
reading of various skin setting values.

 For instance:
 - OK
  FontSize=10
  FontSize=0
 - NG (uses default value instead)
  FontSize=
  FontSize=ABC
  FontSize=20ABC (has been parsed as "FontSize=20" until now.)

- CHANGED: FontSize=0(invisible) is now able to use in Meter=STRING.

- Fixed the problem that the window doesn't move into the screen correctly when KeepOnScreen is 1.
2010-02-08 14:12:47 +00:00
spx
c9fd071177 Changed behavior so as not to indicate the error message box when DynamicVariables is 1 and FontSize is 0. (issue 126)
FIXED: Virtual Bytes usage for an x64 process with perfmon plugin does not display value greater than 4 GB (issue 113)
The numerical value greater than 32bit can be now displayed when NumOfDecimals is 0 in Meter=STRING.
Fixed the broken compatibility in Windows 2000. (AboutDialog, SysInfo)
2010-02-04 07:16:22 +00:00
spx
ee8d4867c2 - FIXED: inconsistent numerical value via DynamicVariables (issue 130)
- FIXED: Problem with WebParser and "local files" with Cyrillic chars in the path. (issue 139)
- The coded character set of the logfile is changed to UTF-8. (ccs=UTF-8)
  http://msdn.microsoft.com/en-us/library/yeby3zcb%28VS.80%29.aspx
- "MS Shell Dlg 2" is now used for the ABOUT dialog box.
  http://support.microsoft.com/kb/282187
2010-02-03 08:01:50 +00:00
spx
df3215c487 FIXED: DynamicVariables=1 disables UpdateDivider (issue 123)
FIXED: LineColor does not use values of Dynamic Variables in the Line meter (issue 138)
2010-01-29 23:57:41 +00:00
Kimmo Pekkola
35947902ea Updated the version numbers for the new beta. 2010-01-24 17:31:15 +00:00