Commit Graph

927 Commits

Author SHA1 Message Date
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
Birunthan Mohanathas
adc930275d Updated Rainstaller icon and minor changes to installer. 2011-01-29 10:50:24 +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
Birunthan Mohanathas
c24a3c025f Adding CoreTemp plugin. 2011-01-26 13:57:57 +00:00
jsmorley
27fce183bf Some fixes by psouza4 to fix position and dismiss issues with InputText Plugin
Same fixes to PluginTemplate
2011-01-25 16:59:18 +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
Birunthan Mohanathas
ccd8321e62 Fixed that installer installed to wrong path when installing 32bit Rainmeter on 64bit Windows. 2011-01-23 12:29:02 +00:00
Birunthan Mohanathas
715b1afd8f Minor tweaks to installer and Build.bat. 2011-01-23 08:06:24 +00:00
spx
84dba0c65a Code cleanup. 2011-01-23 06:16:18 +00:00
Birunthan Mohanathas
f22324d423 - Merged 32bit and 64bit installers. The installer will now download the VC++ and/or .NET framework during installation if required.
- Replaced Build.py with Build.bat. As a result, Python and SilkSVN are not required to build Rainmeter anymore.
(make sure to change the paths in Build.bat)
2011-01-22 13:38:38 +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
Birunthan Mohanathas
9da749acf4 Updating NSIS UAC plugin to 0.2.2d 2011-01-16 11:02:12 +00:00
Birunthan Mohanathas
db4ef8652c Adding Google Search skin to illustro to illustrate the InputText.dll plugin. 2011-01-16 10:49:43 +00:00
jsmorley
af99bd37a9 Updates by psouza4:
* Fixed problem with InputText Plugin and 64bit Rainmeter not finding the proper parent window for the input box by using new "bridge" functionality.
* Some changes to CSPluginTemplate to use new "bridge" functionality to find/use  X/Y/W/H better from parent skin window.
2011-01-14 23:43:29 +00:00
spx
8ae8a1b73d Fixed PLAYSTOP case sensitivity. 2011-01-11 16:18:15 +00:00
Birunthan Mohanathas
dd4edd3df0 - Fixed that [!RainmeterPluginBang "SomeMeasure Play"] did not work with iTunesPlugin
- Minor changes to illustro and Rainstaller
2011-01-10 18:28:37 +00:00
Birunthan Mohanathas
7eed591c93 - Added PowerState=HZ to PowerPlugin
- Fixed that PowerPlugin couldn't handle clock speeds over 4.3GHz (thanks spx!) or more than 8 processors/cores
2011-01-08 08:17:59 +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
e246e6d6bf Fixed an issue that WebParser causes an infinite loop of downloading in some cases when FinishAction contains !RainmeterUpdate. 2011-01-07 08:18:20 +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
Birunthan Mohanathas
c9c477868f Fixed issue with iTunesPlugin: http://rainmeter.net/forum/viewtopic.php?f=14&t=6363&p=40202 2010-12-25 17:13:50 +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