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
Birunthan Mohanathas
6dfb307636
- Script: Fixed that AutoScale/Scale/Percentual/NumOfDecimals were not applied for MeasureName=ScriptMeasure
...
- NowPlayingPlugin: OpenPlayer bang with foobar2000 now opens foobar2000 maximized regardless of previous state
2011-07-31 08:58:43 +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
23f4a31bf0
Script: Fixed that the value of the Script measure is not reset when an error occurs.
...
In the following case, for example, the value of the measure used to remain 10 even after an error. Now it will default to 0 on error.
function Initialize()
i = 0
end
function Update()
if i < 5 then
i = i + 1
return 10
else
i() -- error here, execution stops
return 2
end
end
2011-07-25 17:59:43 +00:00
Birunthan Mohanathas
b23217d840
Script: Fixed Lua crash on refresh when Update() in the script has an error.
2011-07-25 12:52:46 +00:00
Birunthan Mohanathas
349ad952ad
Script: ScriptFile may now be a relative path (e.g. ScriptFile=File.lua is now valid and equal to ScriptFile=#CURRENTPATH#File.lua)
2011-07-09 16:42:51 +00:00
Birunthan Mohanathas
f0fbc0f145
- Added !CommandMeasure bang. Instead of '!PluginBang "MeasureName Arguments' use '!CommandMeasure "MeasureName" "Arguments"'.
...
- Script: The !CommandMeasure argument must now be Lua code. For example:
!CommandMeasure "MeasureLuaScript" "someVar = 'hello'"
!CommandMeasure "MeasureLuaScript" "SomeFunc()"
2011-07-09 09:23:28 +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
95fe545cc5
Script:
...
- Added GetVariable function [usage: GetVariable("VariableName")]
- Removed several unneeded exposed functions
- r853 broke Substitute on the Script measure, fixed
2011-07-06 20:12:05 +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
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
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
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