69913fa251
Work on exporting stuff, revert some changes for better diff
2014-08-01 22:54:35 +03:00
7cba5cc109
Fixed line endings and applied gitignore
2014-07-26 09:43:40 +03:00
8541cce5f4
A bit of work on app's UI and integration between .net and native.
2014-07-23 13:47:09 +03:00
Birunthan Mohanathas
cc0d6eeb63
Library: Simplify PCH use
2014-01-05 13:00:50 +02:00
Birunthan Mohanathas
a577608835
Unignore and fix warnings in Library/
2013-12-23 19:42:31 +00:00
Birunthan Mohanathas
7558666b13
Script: Add default value support for SKIN:GetVariable
2013-09-19 17:16:26 +03:00
Birunthan Mohanathas
5fd98509cf
Script: Fix that default value is not used in Meter:GetOption
2013-09-19 17:07:47 +03:00
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
20393df751
Script: Change Unicode script support to require UTF-16 LE files rather than UTF-8
2013-08-07 17:09:25 +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
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
68430b54db
Revert "Script: Extend Measure:GetStringValue to support a parameter table"
...
This reverts commit b0d101e
.
2013-06-10 18:19:33 +03:00
Birunthan Mohanathas
b0d101ed71
Script: Extend Measure:GetStringValue to support a parameter table
...
Example usage: GetStringValue({AutoScale = 0, Scale = 1.0, NumOfDecimals = 0, Percentual = false})
All keys are optional.
2013-06-09 23:15:43 +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
f8c3f11913
Refactor command and bang logic into new CCommandHandler class
...
This also improves bang log messages, which now include the bang name.
2013-05-30 19:55:59 +03:00
Birunthan Mohanathas
a3d8f73f6c
Tweak f4429ad
2013-05-30 17:19:42 +03:00
Birunthan Mohanathas
f4429ad8cc
Refactor logging logic into new CLogger class
2013-05-29 22:05:41 +03:00
Birunthan Mohanathas
aa3c7eb8ce
Tweaks to reduce OnChangeAction overhead
2013-04-10 19:00:22 +03:00
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