Birunthan Mohanathas
7558666b13
Script: Add default value support for SKIN:GetVariable
2013-09-19 17:16:26 +03:00
Birunthan Mohanathas
6560518037
Script: Add Unicode support
...
If the script file is UTF-8 encoded, all Lua strings are converted to/from as if they were UTF-8. Otherwise things continue to work as they have until now. Additionally, UTF-8 scripts cannot use deprecated features at all (PROPERTIES, GetStringValue).
2013-08-06 20:43:57 +03:00
Birunthan Mohanathas
04090b232a
Make Rainmeter a singleton class
...
This change is part of making the Libray project more testable. The old g_Rainmeter global pointer has been replaced with a GetRainmeter() function to guarantee that the object exists in some state.
2013-06-13 17:20:27 +03:00
Birunthan Mohanathas
1934c5db72
Change NULL to nullptr
2013-05-31 17:28:39 +03:00
Birunthan Mohanathas
da9384cfad
Remove "C" prefix in class names
2013-05-31 17:18:52 +03:00
Birunthan Mohanathas
438f79bf5d
Tweaks
2013-01-27 12:49:23 +02: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
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
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
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
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
13e5af0f17
Lua: Object tables were left on stack, fixed.
2012-03-10 07:03:19 +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
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
spx
ebec08914a
Adjusted copyright notice.
...
http://www.gnu.org/licenses/gpl-2.0.html
2012-01-23 06:36:15 +00:00
spx
f28ecf6e83
Minor tweaks.
2011-11-28 14:13:20 +00:00
Birunthan Mohanathas
1e9d424c99
Made log messages more consistent.
2011-11-09 09:27:06 +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
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
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