Commit Graph

20 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a3efbbac3f Script: Improve 6560518
The Unicode state is not tracked using a stack instead of a raw boolean. This means that a Unicode script that e.g. updates a non-Unicode script measure will now work properly.
2013-08-07 17:48:13 +03:00
Birunthan Mohanathas
d0466c5588 Script: Additional change to f8c3867 for print() 2013-08-06 22:06:21 +03:00
Birunthan Mohanathas
bbb101cbd5 Cosmetics 2013-08-06 22:03:20 +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
438f79bf5d Tweaks 2013-01-27 12:49:23 +02:00
Birunthan Mohanathas
1b235dbae8 Additional changes to a4844ca 2012-10-06 22:03:29 +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
7767300379 - Refactored Lua C++ bindings
- Removed tolua++
2012-03-09 10:28:25 +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
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
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
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
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
mapeki
c516bf8310 Added Lua Stuff
There are a few changes to the core Rainmeter code.
2010-12-12 17:08:36 +00:00