Commit Graph

42 Commits

Author SHA1 Message Date
Thilo Graf
e216fc6824 Includes: remove unused includes
Origin commit data
------------------
Commit: e19536fe99
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-26 (Wed, 26 Oct 2016)
2016-10-26 10:25:07 +02:00
vanhofen
892603fe68 rename customcolor.h -> color_custom.h; reduce unneeded inludes
Origin commit data
------------------
Commit: 104d21e784
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- rename customcolor.h -> color_custom.h; reduce unneeded inludes
2016-10-10 14:19:55 +02:00
vanhofen
64744ba140 colors: add COL_PROGRESSBAR wrapper
Origin commit data
------------------
Commit: be40e67b70
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_PROGRESSBAR wrapper
2016-10-10 14:19:55 +02:00
vanhofen
af3e39a47d colors: add COL_SCROLLBAR_PASSIVE wrapper
Origin commit data
------------------
Commit: 6629b64d6c
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_SCROLLBAR_PASSIVE wrapper
2016-10-10 14:19:54 +02:00
vanhofen
4b3b25ca7a colors: add COL_SCROLLBAR_ACTIVE wrapper
Origin commit data
------------------
Commit: 7e7d4e5fc1
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_SCROLLBAR_ACTIVE wrapper
2016-10-10 14:19:54 +02:00
vanhofen
897dc6ae8c colors: add COL_FRAME wrapper
Origin commit data
------------------
Commit: 75fe6e407d
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)

Origin message was:
------------------
- colors: add COL_FRAME wrapper
2016-10-10 14:19:54 +02:00
vanhofen
c53f300b46 lua: add RC_timeout to keyname table; set lua api version to 1.57
Origin commit data
------------------
Commit: 84dfce8018
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-06 (Tue, 06 Sep 2016)

Origin message was:
------------------
- lua: add RC_timeout to keyname table; set lua api version to 1.57
2016-09-06 01:11:16 +02:00
vanhofen
fb44db9e19 lua: add stand-alone stringinput; set lua api version to 1.56
Origin commit data
------------------
Commit: 0fa4486077
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-05 (Mon, 05 Sep 2016)

Origin message was:
------------------
- lua: add stand-alone stringinput; set lua api version to 1.56
2016-09-05 23:49:37 +02:00
Michael Liebmann
fed4ac5968 src/gui/lua: Add lua_filehelpers.cpp
Origin commit data
------------------
Commit: 295ca1f7c9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-03 (Sat, 03 Sep 2016)
2016-09-05 23:46:01 +02:00
vanhofen
832649cb46 luainstance: add missing entry for shadow color
Origin commit data
------------------
Commit: a9446a084a
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-15 (Mon, 15 Aug 2016)

Origin message was:
------------------
- luainstance: add missing entry for shadow color
2016-08-15 00:32:57 +02:00
vanhofen
70abfb3339 colors: make footer background color configurable
TODO: footer text color and maybe footer font


Origin commit data
------------------
Commit: cc5258e6d5
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-15 (Mon, 15 Aug 2016)

Origin message was:
------------------
- colors: make footer background color configurable

TODO: footer text color and maybe footer font
2016-08-15 00:14:47 +02:00
vanhofen
78230ead13 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


Origin commit data
------------------
Commit: bc39d1e14e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-14 (Sun, 14 Aug 2016)

Origin message was:
------------------
- 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
5b9ab4a91b check if string msg is not NULL, fix segfault
Origin commit data
------------------
Commit: c9e8a57418
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-05-19 (Thu, 19 May 2016)
2016-05-19 15:22:15 +02:00
Michael Liebmann
7211a3e7fa CLuaInstance: Fix compiler warnings
Origin commit data
------------------
Commit: 10f17ad5ee
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-04-24 (Sun, 24 Apr 2016)
2016-04-24 19:37:17 +02:00
Jacek Jendrzej
b06b3db436 some compil warning fixes
Origin commit data
------------------
Commit: 8638cd73b7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-22 (Fri, 22 Apr 2016)
2016-04-22 16:46:21 +02:00
Michael Liebmann
0200e1dec0 CLuaInstance: Add some CComponentsHeader functions
- Set Lua api version to 1.38


Origin commit data
------------------
Commit: 8a61c3bfcd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-21 (Thu, 21 Jan 2016)
2016-01-21 17:42:07 +01:00
Michael Liebmann
7aa6fa2577 CLuaInstance: Fix commit 27699ff590
- Use return value from checkMagicMask() for color


Origin commit data
------------------
Commit: a7790ce049
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-01 (Fri, 01 Jan 2016)
2016-01-01 14:43:59 +01:00
Stefan Seyfried
6aca71757a luainstance: narrow scope of video_cs header
Origin commit data
------------------
Commit: b346b7077f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-12-25 (Fri, 25 Dec 2015)
2015-12-31 11:44:04 +01:00
Stefan Seyfried
a69b0c518d avoid continuous rebuilds from LUA_API* changes
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


Origin commit data
------------------
Commit: 59f91b190c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)
2015-12-31 11:44:04 +01:00
Stefan Seyfried
88bd37ef2b luainstance: remove unneeded hardware dependencies
Origin commit data
------------------
Commit: 85b03349e9
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-12-13 (Sun, 13 Dec 2015)
2015-12-31 11:44:04 +01:00
Stefan Seyfried
901355e5b7 luainstance: fix types to allow compilation with newer gcc
Origin commit data
------------------
Commit: b62da2624e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-12-13 (Sun, 13 Dec 2015)
2015-12-31 11:44:04 +01:00
Michael Liebmann
4c4a775156 CLuaInstance: Fixes occasional problems when exiting the movie player
Reduces debug output in curl


Origin commit data
------------------
Commit: 31f2f1275a
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-25 (Fri, 25 Dec 2015)
2015-12-25 07:51:09 +01:00
Michael Liebmann
01a7c0b58b CLuaInstance: Fix and unified script function calls
- No api changes, code only


Origin commit data
------------------
Commit: 9e331ee4e3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-23 (Wed, 23 Dec 2015)
2015-12-23 08:29:15 +01:00
Michael Liebmann
8767e078f2 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


Origin commit data
------------------
Commit: ee73678d8f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-22 (Tue, 22 Dec 2015)

Origin message was:
------------------
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
Michael Liebmann
d0f120ffe5 CLuaInstMisc:: Add script function postMsg() to send a neutrino message
- Currently possible message: POSTMSG.STANDBY_ON
 - Set Lua api version to 1.33


Origin commit data
------------------
Commit: 37e8c328c5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)
2015-12-15 22:21:42 +01:00
Michael Liebmann
e6aafda6fd CMoviePlayerGui: Send PLUGIN_PLAYSTATE_LEAVE_ALL to plugin...
...when tv/radio button are pressed on remote control

 - Set Lua api version to 1.32


Origin commit data
------------------
Commit: e4de37f1bb
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)
2015-12-15 11:45:48 +01:00
Michael Liebmann
47442f6f35 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


Origin commit data
------------------
Commit: 473af7b2ea
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-14 (Mon, 14 Dec 2015)
2015-12-14 22:34:53 +01:00
Michael Liebmann
708d737000 CLuaInstance: Add class for using libcurl
- Add simple download function
 - Set Lua api version to 1.24

	parameter	typ		default
	----------------------------------------
	url		string		required
	o, outputfile	string		when empty then save to string
					as secund return value
	A, userAgent	string		empty
	v, verbose	bool		false
	s, silent	bool		false
	connectTimeout	number		20
	ipv4		bool		false
	ipv6		bool		false
	useProxy	bool		true (default)
	followRedir	bool		true
	maxRedirs	number		20

Example:
	-- simplest program call:
	-- ----------------------
	local curl = curl.new()
	local ret, data = curl:download{url="http://example.com", o="/tmp/test.txt"}
	if ret ~= CURL.OK then
		print("Error: " .. data)
	end

	-- or --

	local curl = curl.new()
	local ret, data = curl:download{url="http://example.com"}
	if ret == CURL.OK then
		-- downloaded data
		print(data)
		..
	else
		print("Error: " .. data)
	end


Origin commit data
------------------
Commit: 4f9158c2a9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-13 (Sun, 13 Dec 2015)
2015-12-13 23:36:52 +01:00
Michael Liebmann
3e1f7eb408 CLuaInstance: Use CLuaVideo for video, CLuaMisc for misc functions
- The old version of the video and misc functions is deprecated
 but still valid


Origin commit data
------------------
Commit: 83176835e3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)

Origin message was:
------------------
CLuaInstance: Use CLuaVideo for video, CLuaMisc for misc functions

 - The old version of the video and misc functions is deprecated
  but still valid
2015-12-12 10:42:28 +01:00
Michael Liebmann
80f8c79d74 CLuaInstance: Code cleaning luainstance.cpp/.h
- No api changes, code only


Origin commit data
------------------
Commit: d45a98c363
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)
2015-12-12 10:42:28 +01:00
Michael Liebmann
3c98066ea6 CLuaInstance: Move misc functions in separate classes / files
- No api changes, code only


Origin commit data
------------------
Commit: 5e6ad91efe
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)
2015-12-12 10:42:28 +01:00
Michael Liebmann
3ce7036f87 CLuaInstance: Move msg box functions in separate classes / files
- hintbox
 - messagebox

 - No api changes, code only


Origin commit data
------------------
Commit: b904febf6a
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)
2015-12-12 10:42:28 +01:00
Michael Liebmann
c0533f1946 CLuaInstance: Move ccomponents functions in separate classes / files
- cwindow (CComponentsWindow)
 - ctext (CComponentsText)
 - cpicture (CComponentsPicture)
 - signalbox (CSignalBox)

 - No api changes, code only


Origin commit data
------------------
Commit: ad17505888
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)

Origin message was:
------------------
CLuaInstance: Move ccomponents functions in separate classes / files

 - cwindow  (CComponentsWindow)
 - ctext   (CComponentsText)
 - cpicture (CComponentsPicture)
 - signalbox (CSignalBox)

 - No api changes, code only
2015-12-12 10:42:28 +01:00
Michael Liebmann
fa60a02b73 CLuaInstance: Move menue functions in separate classes / files
- No api changes, code only


Origin commit data
------------------
Commit: e34d1c314f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)
2015-12-12 10:42:28 +01:00
Michael Liebmann
37b46f5fb9 CLuaInstance: Move video functions in separate class
- No api changes, code only


Origin commit data
------------------
Commit: aff947af92
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)
2015-12-12 10:42:28 +01:00
Michael Liebmann
525fb5023d CLuaInstance: Move configfile functions in separate classes / files
- No api changes, code only


Origin commit data
------------------
Commit: f52ba5ba4a
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)
2015-12-12 10:42:28 +01:00
Michael Liebmann
0d9f930ab1 CLuaInstance: Move types, definitions & functions from
luainstance.cpp/.h to luainstance_helpers.cpp/.h

 - No api changes, code only


Origin commit data
------------------
Commit: 1238b0c677
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)
2015-12-12 10:42:28 +01:00
Michael Liebmann
acebc333f5 CLuaInstance::GetRevision: Add second return value as a string...
...for hardware identification

 - Set Lua api version to 1.22


Origin commit data
------------------
Commit: d06594dd60
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-08 (Tue, 08 Dec 2015)
2015-12-08 12:01:25 +01:00
Michael Liebmann
9ca88d5d35 CLuaInstance: Add script function 'channelRezap'
- Alternative rezap method for movie plugins
 - Set Lua api version to 1.21


Origin commit data
------------------
Commit: b9afbb1e2c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-08 (Tue, 08 Dec 2015)
2015-12-08 12:01:25 +01:00
Michael Liebmann
3536b26bab CLuaInstance: Add script function zapitStopPlayBack
- For safe running ShowPicture() in the plugin
 - Set Lua api version to 1.19


Origin commit data
------------------
Commit: 0a008ab308
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-08 (Tue, 08 Dec 2015)
2015-12-08 12:01:25 +01:00
Michael Liebmann
26f21cb63f CLuaInstance: The first call to Lua::PlayFile() block restoreNeutrino
- Running restoreNeutrino when exiting the plugin and
 function is blocked
 - Set Lua api version to 1.18


Origin commit data
------------------
Commit: ffea6559c9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-08 (Tue, 08 Dec 2015)

Origin message was:
------------------
CLuaInstance: The first call to Lua::PlayFile() block restoreNeutrino

 - Running restoreNeutrino when exiting the plugin and
  function is blocked
 - Set Lua api version to 1.18
2015-12-08 12:01:25 +01:00
Michael Liebmann
6cef9d09fb CLuaInstance: Move luainstance into a separate directory (src/gui/lua)
- Move video functions from luainstance.cpp to lua_video.cpp
 - For the future, provided the individual classes
 (eg menu, CComponents etc.) to move in separate files.


Origin commit data
------------------
Commit: 464f929437
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-08 (Tue, 08 Dec 2015)

Origin message was:
------------------
CLuaInstance: Move luainstance into a separate directory (src/gui/lua)

 - Move video functions from luainstance.cpp to lua_video.cpp
 - For the future, provided the individual classes
  (eg menu, CComponents etc.) to move in separate files.
2015-12-08 12:01:25 +01:00