Commit Graph

26 Commits

Author SHA1 Message Date
Birunthan Mohanathas
13e5af0f17 Lua: Object tables were left on stack, fixed. 2012-03-10 07:03:19 +00:00
Birunthan Mohanathas
e2a736ed83 Missed files in r1241. 2012-03-09 13:24:07 +00:00
Birunthan Mohanathas
e196ac08db Lua: Disabled debug library. 2012-03-09 13:19:49 +00:00
Birunthan Mohanathas
7767300379 - Refactored Lua C++ bindings
- Removed tolua++
2012-03-09 10:28:25 +00:00
Birunthan Mohanathas
04048a6325 Cleanup. 2012-03-08 15:19:05 +00:00
Birunthan Mohanathas
4a7ef7508f Minor tweaks and cosmetics. 2012-03-02 10:04:08 +00:00
spx
ebec08914a Adjusted copyright notice.
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +00:00
Birunthan Mohanathas
8c1e7f2dfc Fixed that themes weren't loaded through Themes context menu if RainThemes was not installed. 2011-09-04 07:40:12 +00:00
Birunthan Mohanathas
9d370f63e8 Reverted Script Unicode fix in r928 as it causes some problems with ANSI encoded files. 2011-09-03 18:19:43 +00:00
Birunthan Mohanathas
754c33f82f - Script: Fixed that Unicode characters were not correctly displayed
- About Log: 20 last log items are now displayed on launch
- LOG_DEBUG messages are ignored from plugins only when not in Debug mode
2011-09-03 16:45:29 +00:00
Birunthan Mohanathas
e74d6f4619 - Added ability to escape real variables and measures as follows: #*RealVar*# [*RealMeasure*]
- NowPlayingPlugin: Addition change to r880 OpenPlayer fix
- Removing tolua++ generation package files
2011-07-29 17:18:21 +00:00
Birunthan Mohanathas
822c10060a - Added !SetOption/!SetOptionGroup bangs.
- Script: Added GetOption() function
2011-07-27 10:42:35 +00:00
Birunthan Mohanathas
b99b275f44 Script:
- Added support for calling Lua functions with !PluginBang
- Removed old (undocumented) implementation for handling mouse actions
- Lua errors now contain the script file name only (instead of full path)
2011-07-07 16:18:39 +00:00
Birunthan Mohanathas
fa67b07a62 Lua:
- Removed GetValue() (which has never worked) and deprecated GetStringValue(). The measure value should be returned on Update() now.
- Some related tweaks and cosmetic changes
2011-07-06 10:21:18 +00:00
Birunthan Mohanathas
c7f9293e9c Script:
- GetMeter dynamically detects STRING meters now (no need to use tolua.cast any longer)
- Removed unneeded (and undocumented) functions to exposed to Lua
- Refactored tolua++ generated code
2011-07-05 13:41:05 +00:00
Birunthan Mohanathas
a92bdd9b18 Cosmetic changes to code. 2011-03-29 19:21:57 +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
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
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
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
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
13e9f54d2a - MeasureScript: Added files that uses pre-compile header.
- Code cleanup.
2010-12-13 09:00:02 +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