Commit Graph

573 Commits

Author SHA1 Message Date
spx
3e11f95d6b Tweaked. 2011-04-26 11:03:08 +00:00
spx
8fbac4639b Tweaked. 2011-04-26 09:58:06 +00:00
spx
4aafa49a28 Tweaked. 2011-04-19 01:20:17 +00:00
spx
2a030c084c Now re-registers Rainmeter icon when Explorer was restarted. 2011-04-19 00:02:00 +00:00
spx
5246ca94c6 Cleaned up unneeded codes. 2011-04-17 12:19:47 +00:00
Birunthan Mohanathas
f66791253a Statistics now saved in Rainmeter.stats file in same folder as Rainmeter.ini 2011-04-16 20:05:14 +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
b92d8276d3 - Rainstaller now preserves statistics when applying theme
- Build.bat now checks "Program Files (x86)" if files don't exist in "Program Files"
2011-04-07 13:47:26 +00:00
spx
73f80e331f Cosmetic changes. 2011-03-29 21:19:02 +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
Birunthan Mohanathas
a4b24d75ac - Uptime: Added AddDaysToHours=1/0 (default 1) to disable adding hours to days when %4 is not specified in Format=.
- Installer: Now supports silent installs. Switches and return values available at http://rainmeter.net/RainCMS/?q=Installation_beta
2011-03-23 19:19:45 +00:00
spx
ec49c6e588 Fixed a regression (in r776) that ImageCrop cannot treat a transparent part of the outside of the image. 2011-03-09 03:03:02 +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
Birunthan Mohanathas
f19e76e6ec Fixed that Measure=Registry crashes starting from r763. 2011-02-23 17:38:58 +00:00
spx
3d6615522b Commented out unused code. (Reserved for future use.) 2011-02-21 16:16:24 +00:00
spx
9f152e0076 Removed unneeded codes, for VC2010. 2011-02-20 23:03:15 +00:00
spx
480a1bd1d6 Code cleanup. 2011-02-19 23:33:57 +00:00
spx
35f54fcf46 Small change for r770. 2011-02-19 21:38:29 +00:00
spx
606afe79e6 Fixed crash when AverageSize= is set in Measure. 2011-02-19 21:30:22 +00:00
spx
a2316446ca Switched map/hash_map/set for caching to unordered_map/unordered_set. 2011-02-18 16:26:58 +00:00
spx
96f8407c74 Fixed an issue that Rainmeter crashes if bang is executed via exe during initializing the skins. 2011-02-16 14:46:17 +00:00
jsmorley
cb3a7d3a75 Fixes and issue with InputText plugin failing if a "config name" has a space in it. 2011-02-15 17:39:24 +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
Birunthan Mohanathas
b01465a20a Minor changes. 2011-02-11 14:42:01 +00:00
spx
07d9b85500 Cleaned up project files. 2011-02-10 19:21:02 +00:00
Birunthan Mohanathas
6a5173c860 Upgrading development environment to Visual C++ 2010. 2011-02-10 16:09:05 +00:00
spx
e99a1cc808 Lua: Removed TableName. 2011-02-10 08:48:04 +00:00
spx
bf6d081600 Lua: Fixed an issue that unneeded stack elements aren't popped. 2011-02-09 06:10:25 +00:00
spx
1228e243cc Reduced resource usage. 2011-02-07 09:38:27 +00:00
spx
1feea0dad4 Added iphlpapi.h again. 2011-02-07 08:10:47 +00:00
spx
b0af82a25d Cleaned up header dependencies to avoid unnecessary compiling. 2011-02-07 08:02:12 +00:00
spx
b79d3e8521 Fixed minor access violation when closing About dialog. 2011-02-05 07:48:29 +00:00
spx
1115764ce4 Fixed minor access violation when exiting Rainmeter. 2011-02-05 05:55:01 +00:00
spx
32b0a93a43 Minor changes for Debug/Win32. 2011-02-05 04:22:42 +00:00
Birunthan Mohanathas
bf79f44e96 Cosmetic changes to code. 2011-02-03 18:09:24 +00:00
spx
3af4e14a4a Removed duplicate Lua header files.
Code cleanup.
2011-02-03 18:03:29 +00:00
Birunthan Mohanathas
68225a261f Some additional changes. 2011-02-03 16:07:34 +00:00
Birunthan Mohanathas
a8aa2825a2 Updated installer graphics and made some other minor changes. 2011-02-03 15:52:45 +00:00
spx
249e021001 Reverted r718. 2011-02-02 23:17:44 +00:00
Birunthan Mohanathas
7bd61751c9 Minor changes to About dialog. 2011-02-01 18:16:34 +00:00
spx
f4a16a1a0a Fixed crash when freeing the LocalFont. 2011-01-31 19:57:59 +00:00
Birunthan Mohanathas
9d9e650e80 About dialog now remembers position and size for session and some minor cosmetic and usability improvements. 2011-01-31 07:08:43 +00:00
jsmorley
5ca200556a Lua - Changed LUA_MAXCAPTURES (the number of captures in one pattern matching statement) from the default 32 to 256 2011-01-31 00:10:47 +00:00
spx
b2c8ad72d1 Additional fix for r727. 2011-01-30 16:32:07 +00:00
Birunthan Mohanathas
054bcd9796 Minor improvement to About dialog (The plugins list is now generated only when Plugins entry is selected, not on initialization. As a result, the About dialog opens considerably faster.). 2011-01-30 16:21:00 +00:00
spx
7b5330896f Code cleanup. 2011-01-30 15:44:48 +00:00
spx
e4944fa99f MeasureScript: Fixed memory leak when DynamicVariables=1. 2011-01-30 15:39:14 +00:00
Birunthan Mohanathas
a69e2e91d2 The print() function in Lua scripts now outputs to Rainmeter log (an alternative to the TO.LuaLog() function). 2011-01-30 13:04:17 +00:00
spx
251beb9e3a Fixed an issue that GradientAngle doesn't work correctly in some GradientAngle values when AntiAlias=0. 2011-01-30 11:28:20 +00:00
Birunthan Mohanathas
4b30714520 - Fixed: Rainmeter crashes if the Lua GetStringValue() function returns an invalid value
- Fixed: Rainmeter crashes on initialization if Lua is invalid (e.g. syntax error)
- Fixed: Rainmeter crashes on mouse action if Lua file is not initialized
- Fixed: Measure=SCRIPT tries to process mouse actions even if corresponding function does not exist in the Lua file causing log to fill with 'nil value' warnings
- Mainly cosmetic changes to logging of erros in Measure=SCRIPT
2011-01-30 10:39:10 +00:00
spx
92eafce2dc Disabled the DLL_THREAD_ATTACH and DLL_THREAD_DETACH notification calls in all DLLs.
DisableThreadLibraryCalls Function
http://msdn.microsoft.com/en-us/library/ms682579.aspx
Note: Do not call "DisableThreadLibraryCalls" in a DLL which is statically linked to the CRT
http://support.microsoft.com/kb/555563/en-us

For plugin author:
If you need to implement DllMain entry point yourself, get rid of the #include "DisableThreadLibraryCalls.h" line.
2011-01-30 09:31:41 +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
fdae154245 Fixed crash when the config is switched to the variant. 2011-01-28 18:06:54 +00:00
spx
78db448471 - Removed problematic setting from Lua headers.
- Removed unused locale strings from mparser.c. (They caused a problem on editing/compiling in some environments.)
2011-01-28 13:13:12 +00:00
spx
bf53fefc8d Some Lua stuff now use precompiled header.
Note: Add #include line manually if glue/*.cpp files are generated automatically by using tolua++.
2011-01-28 11:22:24 +00:00
Birunthan Mohanathas
6445e42cf6 Some housekeeping. 2011-01-28 10:00:50 +00:00
spx
44b943d5ec Code cleanup. 2011-01-28 08:22:18 +00:00
Birunthan Mohanathas
2aa4d62278 Defined _CRT_SECURE_NO_WARNINGS. 2011-01-27 19:24:09 +00:00
Birunthan Mohanathas
ce614da5f3 Fixed that !RainmeterSetVariable and !RainmeterWriteKeyValue are unable to set/write empty value (thanks spx!). 2011-01-27 15:23:15 +00:00
spx
435ab8123a Code cleanup. 2011-01-24 10:43:03 +00:00
spx
0ad2ef9414 Code cleanup. 2011-01-24 10:15:05 +00:00
spx
d6789cc23f Removed unnecessary code. 2011-01-23 14:27:23 +00:00
spx
3569412464 Code cleanup. 2011-01-23 14:24:34 +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
837488871b Fixed an issue that BevelType doesn't work correctly in Meter. (Issue 178) 2011-01-18 13:01:04 +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
8ae8a1b73d Fixed PLAYSTOP case sensitivity. 2011-01-11 16:18:15 +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
7c09acb889 Fixed crash when If***Action contains !RainmeterUpdate. (It caused an infinite loop.) 2011-01-04 15:34:19 +00:00
spx
365206e33a Code cleanup. 2010-12-28 19:43:19 +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
a32ca014f7 - Commented out unused code.
- Code cleanup.
2010-12-25 08:43:26 +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
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