Commit Graph

91 Commits

Author SHA1 Message Date
M. Liebmann
6f7ee35f24 CLuaInstMessagebox::MessageboxExec: Fix 'show_buttons' handling 2016-09-21 08:20:34 +02:00
TangoCash
24dd6a8c22 lua: Fix segfault in messagebox.exec at 'align' and 'default'
- Set default values for 'show_buttons' and 'default_button'
   to the correct value
 - Set Lua api version to 1.60

Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>
2016-09-10 19:07:51 +02:00
svenhoefer
2911e638c7 - add listModeKey() function to simplify these calls 2016-09-09 10:42:46 +02:00
M. Liebmann
b1ab3e2290 Activate warnings for deprecated functions in CLuaInstMisc & CLuaInstVideo
- Set Lua api version to 1.59
2016-09-08 08:45:15 +02:00
svenhoefer
80d1e9b6cf - lua: add pin-input; set lua api version to 1.58 2016-09-08 00:09:52 +02:00
Jacek Jendrzej
6aab8c6d12 src/gui/lua/lua_filehelpers.cpp fix possible segfault if string argument is not a string (nil) 2016-09-07 18:05:01 +02:00
svenhoefer
84dfce8018 - lua: add RC_timeout to keyname table; set lua api version to 1.57 2016-09-06 01:11:16 +02:00
svenhoefer
0fa4486077 - lua: add stand-alone stringinput; set lua api version to 1.56 2016-09-05 23:49:37 +02:00
M. Liebmann
52c489f211 lua_filehelpers.cpp: Add lua script function 'exist()'
- Set Lua api version to 1.55
2016-09-05 23:46:02 +02:00
M. Liebmann
95a078742b lua_filehelpers.cpp: Add lua script function 'ln()'
- Set Lua api version to 1.54
2016-09-05 23:46:02 +02:00
M. Liebmann
b50886faca lua_filehelpers.cpp: Add lua script function 'readlink()'
- Set Lua api version to 1.53
2016-09-05 23:46:02 +02:00
M. Liebmann
906e9a2156 lua_filehelpers.cpp: Add lua script function 'mkdir()'
- Set Lua api version to 1.52
2016-09-05 23:46:01 +02:00
M. Liebmann
631708f380 lua_filehelpers.cpp: Add lua script function 'rmdir()'
- Set Lua api version to 1.51
2016-09-05 23:46:01 +02:00
M. Liebmann
ab322416dc lua_filehelpers.cpp: Add lua script function 'touch()'
- Set Lua api version to 1.50
2016-09-05 23:46:01 +02:00
M. Liebmann
ab7d90de3f lua_filehelpers.cpp: Add lua script function 'chmod()'
- Set Lua api version to 1.49
2016-09-05 23:46:01 +02:00
M. Liebmann
de07369d68 Use DebugInfo functions in CFileHelpers::cp / lua cp 2016-09-05 23:46:01 +02:00
M. Liebmann
270cd318ec lua_filehelpers.cpp: Add lua script function 'cp()'
- Set Lua api version to 1.48
2016-09-05 23:46:01 +02:00
M. Liebmann
295ca1f7c9 src/gui/lua: Add lua_filehelpers.cpp 2016-09-05 23:46:01 +02:00
M. Liebmann
c566466ff1 CLuaInstCCWindow::CCWindowNew: use setButtonLabels real footer width 2016-09-02 17:24:32 +02:00
svenhoefer
8d014c6f76 - lua_menue: allow user definable return values
This concerns:
* CLuaMenuFilebrowser::exec()
* CLuaMenuStringinput::exec()
* CLuaMenuKeyboardinput::exec()
2016-09-01 09:44:13 +02:00
Jacek Jendrzej
52d16769f1 src/gui/lua/lua_cc_window.cpp use setButtonLabels real window width 2016-08-22 20:59:06 +02:00
M. Liebmann
c990411575 Complete missing lua api versions:
- colors: some internal renamings (bc39d1e) v1.40
 - colors: make footer background color configurable (cc5258e) v1.41
 - luainstance: add missing entry for shadow color (a9446a0) v1.42
 - cc_text: if dx and dy is not set and text have parent use Height
   (a648dab) v1.43
 - cc_window: dont paint over screen size (9120176) v1.44
 - cpicture: Add getHeight/getWidth option (d5051a1) v1.45
 - cpicture: Add setDimensionsAll option (5c26de0) v1.46

 - Set Lua api version to 1.46

 See also neutrino-hd wiki:
 https://wiki.neutrino-hd.de/wiki/Neutrino_HD_Lua_API#Changelog
2016-08-22 04:31:29 +02:00
Jacek Jendrzej
5c26de095c lua_cc_window: add setDimensionsAll option 2016-08-21 18:29:10 +02:00
Jacek Jendrzej
d5051a100f lua_cc_picture: add cpicture getHeight / getWidth option 2016-08-21 16:17:28 +02:00
Jacek Jendrzej
c37ef21912 2:supplement to a648daba75 2016-08-20 13:59:15 +02:00
Jacek Jendrzej
27ddf8935d supplement to a648daba75 2016-08-20 09:54:12 +02:00
Jacek Jendrzej
a648daba75 src/gui/lua/lua_cc_text.cpp if dx and dy is not set and text have parent use Height and Width size from parent 2016-08-19 21:17:45 +02:00
svenhoefer
b1eab6a23e - lua_cc_*: use COL_SHADOW for shadows 2016-08-16 08:37:54 +02:00
svenhoefer
a9446a084a - luainstance: add missing entry for shadow color 2016-08-15 00:32:57 +02:00
svenhoefer
cc5258e6d5 - colors: make footer background color configurable
TODO: footer text color and maybe footer font
2016-08-15 00:14:47 +02:00
svenhoefer
bc39d1e14e - colors: some internal renamings
* INFOBAR_SHADOW to SHADOW because it's not only used in infoviewer
* INFOBAR_SHADOW_TEXT to MENUFOOT_TEXT because it's the proper name

This is in preparation to make footer colors configurable
2016-08-14 21:55:18 +02:00
Jacek Jendrzej
021db3ab04 src/gui/lua/lua_video.cpp fix possible segfault if argument is not a string (nil) 2016-07-22 17:24:39 +02:00
Jacek Jendrzej
c9e8a57418 check if string msg is not NULL, fix segfault 2016-05-19 15:22:15 +02:00
M. Liebmann
ec2afe52a9 CLuaInstVideo::VideoCheckData(): Fix segfault when invalid parameter is passed 2016-04-30 19:03:23 +02:00
M. Liebmann
5ad7e63692 Update LUA_WIKI urls 2016-04-30 19:03:23 +02:00
M. Liebmann
10f17ad5ee CLuaInstance: Fix compiler warnings 2016-04-24 19:37:17 +02:00
Jacek Jendrzej
0d9fbd5378 some never read compil warning fixes 2016-04-24 17:18:37 +02:00
Jacek Jendrzej
a471b2af10 some compil warning fixes 2016-04-23 21:19:04 +02:00
Jacek Jendrzej
8638cd73b7 some compil warning fixes 2016-04-22 16:46:21 +02:00
Jacek Jendrzej
8fb4e1b78e avoid null pointer use 2016-04-21 18:14:46 +02:00
Jacek Jendrzej
270a60687c supplement to 619dacbc2e 2016-04-03 11:05:21 +02:00
Jacek Jendrzej
35898bb7fd add postfields and header curl option 2016-03-25 20:20:48 +01:00
[CST] Focus
302642cee7 neutrino: add webtv channel list mode 2016-03-23 16:36:00 +03:00
M. Liebmann
cb7895d981 CLuaInstMisc: Add getTimeOfDay() script function
- Set Lua api version to 1.39
2016-01-21 17:42:07 +01:00
M. Liebmann
8a61c3bfcd CLuaInstance: Add some CComponentsHeader functions
- Set Lua api version to 1.38
2016-01-21 17:42:07 +01:00
Stefan Seyfried
96d7401e08 edit lua_api_version.h instead of autogenerating it
This will help those who do not use ccache :-)
2016-01-19 08:28:43 +01:00
M. Liebmann
b1f08a6012 Fix last commit 2016-01-17 15:46:00 +01:00
M. Liebmann
644ab18844 CLuaInstVideo: Add script function 'setInfoFunc()'...
...for displaying information in the movieplayer

 - Set Lua api version to 1.36
2016-01-17 06:14:49 +01:00
Stefan Seyfried
79d800f955 - port HWLIB_CFLAGS from neutrino-mp to neutrino-hd 2016-01-14 22:29:00 +01:00
M. Liebmann
619dacbc2e lua_menue.cpp: Not script abort in case of error in callback...
...functions, display only error message
2016-01-13 20:18:56 +01:00