Commit Graph

189 Commits

Author SHA1 Message Date
GetAway
2a219b342e fix for newer libcurl 2023-01-12 21:08:40 +01:00
svenhoefer
8f1cafc46f - lua_cc_text: fix CCTextNew default values
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-08-30 21:18:31 +02:00
svenhoefer
cbd6e4f1f6 - remove obsolete define SCALE2RES_DEFINED
Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-08-30 21:16:35 +02:00
Thilo Graf
25f9d6e06e lua API: update to v1.95->1.96
add setValue() for menu forwarders
add paintItem() for menu items
implement kill() for cctext items
2022-04-23 20:52:36 +02:00
Thilo Graf
32abde37de lua: implement kill() for cctext items
ct:kill()
2022-04-23 20:47:05 +02:00
Thilo Graf
e4939264f0 lua: add paintItem() for menu items
menu1:setSelected{id=<id>}
2022-04-23 20:47:01 +02:00
Thilo Graf
9f9aa957b1 lua: add setValue() for menu forwarders
menu1:setSelected{id=<id>,value="text"}
2022-04-23 20:45:42 +02:00
svenhoefer
d458d98805 - change RC_back handling; its not longer translated to RC_home
Conflicts:
	src/gui/hdd_info.cpp
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2022-01-04 21:30:14 +01:00
Thilo Graf
61e74e24ea lua_cc_picture: don't use any corner modes for images
Only for compatibility with old behavior before api < 1.94
2021-12-04 13:21:19 +01:00
Thilo Graf
8c573fd315 lua-API: update version 1.94->1.95
add methode doPaintBg(), fix missing background

API Documentation: https://wiki.tuxbox-neutrino.org/wiki/Lua:Neutrino-API:cpicture:de#doPaintBg
2021-12-02 15:01:26 +01:00
Thilo Graf
31ddb9f67d lua_api_cc_picture: add methode doPaintBg(), fix missing background
Re adding compatibility with old behavior for background paint.

supplement to: cc_*_picture: add own file for cc_frm_picture.

API Documentation: https://wiki.tuxbox-neutrino.org/wiki/Lua:Neutrino-API:cpicture:de#doPaintBg
2021-12-02 14:58:03 +01:00
svenhoefer
5a539d0134 - luainstance: fix custom colors
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-26 05:25:16 +01:00
svenhoefer
597a6e3854 - lua_hourglass: formatting code using astyle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-20 19:03:06 +01:00
svenhoefer
e52eb3d144 - luainstance: formatting code using astyle
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-20 15:29:08 +01:00
Jacek Jendrzej
89b8d5fbbf lua_hourglass: try to fix hide on exit 2021-11-20 10:33:26 +01:00
svenhoefer
89b385eeee - colors_custom: rework colors; use Google Material Palette
TODO: make custom colors themable
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-11-19 22:24:15 +01:00
TangoCash
373807b158 some cec volume fixes
Conflicts:
	src/neutrino.cpp
2021-11-05 21:11:08 +01:00
Thilo Graf
3e9fefa8c4 change to v1.94
add hourglass and hint wigets

documentation:
https://wiki.tuxbox-neutrino.org/wiki/Kategorie:Lua:Neutrino-API:Widgets:en
2021-11-01 17:13:58 +01:00
Thilo Graf
073aea9a9b lua: add simple hint method 2021-11-01 17:13:58 +01:00
Thilo Graf
5af92221f4 lua: add hourglass/loader to API 2021-11-01 17:13:58 +01:00
Jacek Jendrzej
4a23e0cdf2 some inits 2021-10-22 14:25:37 +02:00
svenhoefer
08ee186b19 - introduce configurable ZAPITDIR
Conflicts:
	data/config/settingsupdate.conf.in

Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-20 09:22:20 +02:00
svenhoefer
e904e2191f - luainstance: allow access to defined directories
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-09-24 10:19:15 +02:00
Jacek Jendrzej
772dae5e24 luainstance: add possibility to skip timeout ([basicsocket] receive timed out.) with luaclient <plugin> <...> DisableAbort 2021-09-03 09:19:22 +02:00
Jacek Jendrzej
391197ab4f add lua screenshot; possible parameters: osd and video=[false|true] and name=picname in /tmp dir 2021-08-01 15:17:05 +02:00
Thilo Graf
b693932075 lua-api: update version 1.90->1.91
luainstance: add RC_back see: c46bc57
2021-07-14 22:32:19 +02:00
svenhoefer
c46bc57c18 - luainstance: add RC_back
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-07-14 22:28:07 +02:00
BPanther
f841b55c65 vuduo4k/vuduo4kse/vuultimo4k/vuuno4kse: HDMI input as mode and PiP added
Conflicts:
	src/neutrino.cpp
2021-05-11 10:21:06 +02:00
Jacek Jendrzej
4b72847047 lua_curl: add option to modify header; example: httpheaders={'Accept:application/json', 'authorization:Bearer ' .. token} 2021-04-05 18:52:28 +02:00
Thilo Graf
50a18cf1ec lua_api_version.h: update version 1.88->1.89
Added setup key see: 77de69f57f
2021-03-10 10:54:52 +01:00
Frankenstone
77de69f57f SETUP key added for lua 2021-03-10 10:51:06 +01:00
Thilo Graf
71a98d011b lua_api_version.h: update version 1.87->1.88 2021-02-09 12:20:40 +01:00
Frankenstone
46b0d73099 OK Key added for lua 2021-02-09 12:20:40 +01:00
BPanther
18b2c81295 keys play and playpause added for lua 2021-02-09 12:20:40 +01:00
BPanther
13d5b3107e lua num keys added 2021-02-09 12:20:40 +01:00
Thilo Graf
4c63c6ffa8 lua: add function to set background image to window body
update to v1.87
2020-10-05 10:54:37 +02:00
Thilo Graf
626305cc29 lua: Complete list of available fonts 2020-09-30 19:41:40 +02:00
Thilo Graf
da1051cd6f update: set lua api version to 1.85
add luajit
2020-09-17 16:47:35 +02:00
Markus Volk
11ae2fa699 neutrino: add luajit
Luajit is a dynamic scripting language completely compatible to lua 5.1. the whole VM has been rewritten from the ground up
and is relentlessly optimized for performance. It combines a high-speed interpreter, written in assembler, with a state-of-the-art JIT compiler.
A substantial reduction of the overhead associated with dynamic languages allows it to break into the performance range traditionally reserved for offline,
static language compilers.

https://luajit.org/luajit.html
https://github.com/LuaJIT/LuaJIT/tree/master

There was additional code needed to enable neutrino to compile against lua 5.1. This was mostly taken from the luaposix compat-headers.
There are still some minor issue that will be easy to fix but it's up and running so damn fast!

Signed-off-by: Markus Volk <f_l_k@t-online.de>
2020-09-17 16:03:24 +02:00
svenhoefer
d29c98d7d5 - rename HAVE_COOL_HARDWARE => HAVE_CST_HARDWARE
Conflicts:
	src/driver/rcinput.cpp
	src/gui/info_menue.cpp
	src/gui/mediaplayer.cpp
	src/gui/movieplayer.cpp
	src/zapit/src/frontend.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-09-08 11:13:51 +02:00
Frankenstone
aabc336d47 iamgeinfo, luainstance_helpers.h: fix neutrino wiki
Conflicts:
	src/gui/imageinfo.cpp
2020-05-02 00:12:35 +02:00
Jacek Jendrzej
6704e0de9f luainstance.cpp: init var 2020-01-21 15:22:05 +01:00
Thilo Graf
853966d89a lua api: add function setSelected() for lua menu handler, update to v1.84 2019-11-28 21:07:04 +01:00
Jacek Jendrzej
fa951c883c movieplayer arm: add option to play separate audio file 2019-11-03 18:42:05 +01:00
Thilo Graf
06e6fd5904 lua_cc_text.cpp: use 'text_mode' instead 'mode' in api
Prevent possible ambiguity of text mode parameter.
Parameter 'mode' deprecated, but still available for
downward compatibility.
2019-09-10 10:40:53 +02:00
Thilo Graf
e74181dee0 lua_messagbox.cpp: add parameter for text allign 2019-09-10 10:40:53 +02:00
Jacek Jendrzej
4f071d99b9 Revert "lua: don't play video if movieplayer is in use"
This reverts commit 45925b1329.
2019-06-28 17:08:16 +02:00
Jacek Jendrzej
45925b1329 lua: don't play video if movieplayer is in use 2019-06-09 17:21:18 +02:00
Jacek Jendrzej
de699f2a2f lua: disable block from luavideo 2019-06-07 19:01:49 +02:00
Jacek Jendrzej
6ed8c3b909 lua:avoid segfault 2019-05-18 14:44:10 +02:00