Commit Graph

349 Commits

Author SHA1 Message Date
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