Commit Graph

116 Commits

Author SHA1 Message Date
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
Stefan Seyfried
d1ef35957a lua_threads: use own assert() macro which does not abort 2016-01-13 20:18:56 +01:00
Stefan Seyfried
aac438745c lua_cc_text: fix type to allow compilation with recent gcc 2016-01-13 20:18:56 +01:00
M. Liebmann
f12e49e720 CLuaInstance: Precise error message for obsolete hide() parameter
- Supplement for commit 75631a97f1
2016-01-01 14:43:59 +01:00
M. Liebmann
a7790ce049 CLuaInstance: Fix commit e85f64d733
- Use return value from checkMagicMask() for color
2016-01-01 14:43:59 +01:00
Stefan Seyfried
b346b7077f luainstance: narrow scope of video_cs header 2015-12-31 11:44:04 +01:00
Stefan Seyfried
59f91b190c avoid continuous rebuilds from LUA_API* changes
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>
2015-12-31 11:44:04 +01:00
Stefan Seyfried
85b03349e9 luainstance: remove unneeded hardware dependencies 2015-12-31 11:44:04 +01:00
Stefan Seyfried
b62da2624e luainstance: fix types to allow compilation with newer gcc 2015-12-31 11:44:04 +01:00
Stefan Seyfried
e85f64d733 luainstance: fix build with newer GCC
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>
2015-12-31 11:44:04 +01:00
M. Liebmann
75631a97f1 CLuaInstance: Display warning when using a obsolete parameter...
...in cwindow/ctext/cpicture:hide()
2015-12-28 16:24:24 +01:00
Thilo Graf
7b28c80b74 lua instances: adopt for last rebases with splitted lua source files
TODO: check/fix lua functionality, not tested yet
2015-12-27 14:42:28 +01:00
M. Liebmann
31f2f1275a CLuaInstance: Fixes occasional problems when exiting the movie player
Reduces debug output in curl
2015-12-25 07:51:09 +01:00
M. Liebmann
6b99596c37 CLuaInstance: Fix commit 9e331ee4e3 2015-12-25 03:54:38 +01:00
M. Liebmann
9e331ee4e3 CLuaInstance: Fix and unified script function calls
- No api changes, code only
2015-12-23 08:29:15 +01:00
M. Liebmann
6b6dff36d6 CLuaInstCurl: Fix compiler warning 2015-12-22 13:14:18 +01:00
M. Liebmann
6f939800b6 CLuaInstance: Add multiple script functions for mute icon & volume
- Functions: enableMuteIcon, isMuted, AudioMute, setVolume, getVolume
 - This allows to save volume/mute status at plugin start
   and restore it on exit.

 - Set Lua api version to 1.35
2015-12-22 12:00:24 +01:00
M. Liebmann
ee73678d8f CLuaInstance: Add linux pthread support
- code ported from lua-llthreads2
   (https://github.com/moteus/lua-llthreads2)
 - code in neutrino integrated for use of lua neutrino api in threads
 - add thread::cancel() function

 - Set Lua api version to 1.34
2015-12-22 12:00:24 +01:00
M. Liebmann
37e8c328c5 CLuaInstMisc:: Add script function postMsg() to send a neutrino message
- Currently possible message: POSTMSG.STANDBY_ON
 - Set Lua api version to 1.33
2015-12-15 22:21:42 +01:00
M. Liebmann
e4de37f1bb CMoviePlayerGui: Send PLUGIN_PLAYSTATE_LEAVE_ALL to plugin...
...when tv/radio button are pressed on remote control

 - Set Lua api version to 1.32
2015-12-15 11:45:48 +01:00
M. Liebmann
c5bcbf490c CLuaInstCurl::CurlDownload: Rework progress display
- Set Lua api version to 1.31
2015-12-15 00:34:13 +01:00
M. Liebmann
e3fdcaec99 CLuaInstCCText::CCTextScroll: Add Parameter 'pages'
- By pages parameter the number of pages can be specified
   to be scrolled
 - Set Lua api version to 1.30

Example:
	ct = ctext.new{...}
	...
	ct:scroll{dir="down", pages=2};
2015-12-14 22:34:53 +01:00
M. Liebmann
ed26f2ea05 CLuaInstVideo: Add setSinglePlay()
- When setSinglePlay() Neutrino returns after playing a movie
   immediately in the tv/radio modus back
 - Set Lua api version to 1.29

Example:
	video = video.new()
	video.setSinglePlay()
	video.PlayFile(...)
2015-12-14 22:34:53 +01:00
M. Liebmann
473af7b2ea CLuaInstVideo: Add getNeutrinoMode()
- Set Lua api version to 1.28

Example:
	video = video.new()
	if video.getNeutrinoMode() == NMODE.TS then
		messagebox.exec{title="Attention!", text="Movie player is busy.", buttons={ "ok" } }
	end
2015-12-14 22:34:53 +01:00
M. Liebmann
30ebe003f4 CLuaInstConfigFile: Add parameters & functions
- LuaConfigFileNew: Add parameter delimiter & saveDefaults
 - Add 'deleteKey' function
 - Set Lua api version to 1.27
2015-12-14 05:15:38 +01:00
M. Liebmann
5a7de075a2 lua_misc.cpp: Fix compiler error 'overflow in implicit constant conversion'
- Set Lua api version to 1.26
2015-12-13 23:36:52 +01:00