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