Commit Graph

86 Commits

Author SHA1 Message Date
Birunthan Mohanathas
5d6794ce7b Script: Fix handle leak with unclosed script file 2013-03-17 17:58:25 +02:00
spx
89d477b4e1 Minor tweaks 2013-01-29 15:59:08 +09:00
Birunthan Mohanathas
438f79bf5d Tweaks 2013-01-27 12:49:23 +02:00
Birunthan Mohanathas
fdcd5a9757 Tweaks 2013-01-27 12:49:22 +02:00
Birunthan Mohanathas
1b235dbae8 Additional changes to a4844ca 2012-10-06 22:03:29 +03:00
Birunthan Mohanathas
a4844ca924 Script: Fixed ScriptFile with Unicode path and tweaks 2012-10-06 21:43:07 +03:00
Birunthan Mohanathas
0f97ddf497 Script: Fixed NULL dereference in some cases
http://rainmeter.net/forum/viewtopic.php?f=14&t=13251
2012-09-02 10:26:09 +03:00
Birunthan Mohanathas
6079c7d0d9 Script: Fixed backwards compatibility issues due to removed tolua.cast 2012-08-17 19:11:34 +03:00
Birunthan Mohanathas
fd111c0657 Tweaks 2012-08-05 16:12:36 +03:00
Birunthan Mohanathas
746bd059fd Script: ReplaceVariables() now also replaces [measures] 2012-08-01 20:40:50 +03:00
Birunthan Mohanathas
850b415a3f Script: Reverted Unicode change (99c67f7) 2012-07-21 19:46:00 +03:00
Birunthan Mohanathas
6a0f7d988d Script: Fixed that GetMeter/GetMeasure/GetVariable functions do not correctly return nil on error 2012-07-18 18:10:25 +03:00
Birunthan Mohanathas
99c67f7dac Script: Added Unicode support
The script file can now be UTF8 encoded. There are some limitations with UTF8 data and the Lua string library, check: http://lua-users.org/lists/lua-l/2012-02/msg00241.html
2012-07-13 14:36:59 +03:00
Birunthan Mohanathas
eb1e900b20 Minor changes 2012-07-13 12:54:26 +03:00
Birunthan Mohanathas
bf15830f15 Script: Removed various Lua functions (check LuaModifications.txt) 2012-07-10 14:30:45 +03:00
Birunthan Mohanathas
922dd098c9 Cosmetics: Changed "config" to more consistent and descriptive terms 2012-06-01 16:06:36 +03:00
Birunthan Mohanathas
dc35b31559 Cosmetics 2012-05-30 09:56:20 +03:00
Birunthan Mohanathas
f20170406e Tweaks 2012-05-29 19:43:24 +03:00
Birunthan Mohanathas
b7a3e03997 Script: Changed multi-parameter SKIN:Bang() to require "!" in first parameter 2012-05-08 19:46:18 +03:00
Birunthan Mohanathas
9db39b72bc Script: Added support for multiple parameters to SKIN:Bang()
For example: 'SKIN:Bang("Bang", var, "str", 2)' can now be used instead of 'SKIN:Bang("!Bang \"" .. var .. "\" str \"" .. 2 .. "\"")'
2012-05-08 17:11:22 +03:00
Birunthan Mohanathas
7168634bb6 Disabled RTTI and removed dynamic_cast 2012-04-09 19:45:54 +03:00
Birunthan Mohanathas
ba239ffeea Changed all numerical options or numerical parameters of bangs to accept formulas 2012-04-06 15:16:54 +03:00
Birunthan Mohanathas
476eaf1679 Script: Fixed that SKIN:ParseFormula didn't work with numbers
NowPlaying.dll: Fixed a few TagLib memory leaks.
2012-03-12 18:11:10 +00:00
Birunthan Mohanathas
63c42fe3a5 Script: Replaced ReadString/ReadNumber with GetOption/GetNumberOption. 2012-03-11 09:59:48 +00:00
Birunthan Mohanathas
db05adaf2b Lua: Upgraded to 5.1.5. 2012-03-10 07:09:53 +00:00
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
ad2a986e88 Cosmetics. 2012-03-09 10:41:46 +00:00
Birunthan Mohanathas
7767300379 - Refactored Lua C++ bindings
- Removed tolua++
2012-03-09 10:28:25 +00:00
Birunthan Mohanathas
81540a88d8 Script: Removed measure:ReadFormula() and changed measure:ReadNumber() to read both numbers and formulas. 2012-03-08 15:52:51 +00:00
Birunthan Mohanathas
55a1ec7e27 Script: Added SKIN:ParseFormula() 2012-03-08 15:46:36 +00:00
Birunthan Mohanathas
dca935f6ff Script: Added measure:ReadString(), measure:ReadNumber(), measure:ReadFormula() 2012-03-08 15:42:46 +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
Birunthan Mohanathas
bb44c29f6c Cosmetic changes to function comment blocks. 2012-02-20 19:10:40 +00:00
spx
ebec08914a Adjusted copyright notice.
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +00:00
spx
2835739b12 Code tweaks and cleanup. 2011-12-09 03:28:19 +00:00
spx
f28ecf6e83 Minor tweaks. 2011-11-28 14:13:20 +00:00
spx
d622c88d69 Code cleanup. 2011-11-27 12:46:59 +00:00
spx
efc8275ed1 Minor tweaks. 2011-11-18 22:40:58 +00:00
Birunthan Mohanathas
1e9d424c99 Made log messages more consistent. 2011-11-09 09:27:06 +00:00
Birunthan Mohanathas
a1e722181e More tweaks. 2011-11-08 19:11:31 +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
78b7a857c4 Script: print() now works like real/original Lua print(). 2011-08-09 14:26:19 +00:00
Birunthan Mohanathas
904ed76960 Additional change to r887. 2011-08-01 17:20:24 +00:00
Birunthan Mohanathas
5eef7a21c7 - Script: Return types are now checked explicitly. As a result, 'return 5' and 'return "5"' are not equal any longer. Only the former will respect NumOfDecimals, Scale, etc. now.
- NowPlayingPlugin: Accidentally removed "Previous" bang in r880, fixed.
2011-08-01 17:08:51 +00:00
Birunthan Mohanathas
cb4aa0ade3 Script: Fixed that returning "" in Update() displayed 0 due to r885. 2011-08-01 09:08:11 +00:00