Commit Graph

21 Commits

Author SHA1 Message Date
Michael Liebmann
2ff8e3d4a8 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};


Origin commit data
------------------
Branch: ni/coolstream
Commit: e3fdcaec99
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
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};


------------------
This commit was generated by Migit
2015-12-14 22:34:53 +01:00
Michael Liebmann
ce1107420e 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(...)


Origin commit data
------------------
Branch: ni/coolstream
Commit: ed26f2ea05
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-14 (Mon, 14 Dec 2015)

Origin message was:
------------------
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(...)


------------------
This commit was generated by Migit
2015-12-14 22:34:53 +01:00
Michael Liebmann
4645fc5f70 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
------------------
Branch: ni/coolstream
Commit: 473af7b2ea
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-14 (Mon, 14 Dec 2015)



------------------
This commit was generated by Migit
2015-12-14 22:34:53 +01:00
Michael Liebmann
bc214ebe92 CLuaInstConfigFile: Add parameters & functions
- LuaConfigFileNew: Add parameter delimiter & saveDefaults
 - Add 'deleteKey' function
 - Set Lua api version to 1.27


Origin commit data
------------------
Branch: ni/coolstream
Commit: 30ebe003f4
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-14 (Mon, 14 Dec 2015)



------------------
This commit was generated by Migit
2015-12-14 05:15:38 +01:00
Michael Liebmann
815b757e1e lua_misc.cpp: Fix compiler error 'overflow in implicit constant conversion'
- Set Lua api version to 1.26


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5a7de075a2
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-13 (Sun, 13 Dec 2015)



------------------
This commit was generated by Migit
2015-12-13 23:36:52 +01:00
Michael Liebmann
9b8c349ddd CLuaMenuFilebrowser::exec: Fix value handling when dirMode = false
- Add luaId to action function as parameter
 - Set Lua api version to 1.25


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5259e80b1c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-13 (Sun, 13 Dec 2015)



------------------
This commit was generated by Migit
2015-12-13 23:36:52 +01:00
Michael Liebmann
2f2e43ff34 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
------------------
Branch: ni/coolstream
Commit: 4f9158c2a9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-13 (Sun, 13 Dec 2015)



------------------
This commit was generated by Migit
2015-12-13 23:36:52 +01:00
Michael Liebmann
9e2ba62a5d 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
------------------
Branch: ni/coolstream
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


------------------
This commit was generated by Migit
2015-12-12 10:42:28 +01:00
Michael Liebmann
a9d7630400 CLuaInstance: Code cleaning luainstance.cpp/.h
- No api changes, code only


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



------------------
This commit was generated by Migit
2015-12-12 10:42:28 +01:00
Michael Liebmann
ffb03bdc38 CLuaInstance: Move misc functions in separate classes / files
- No api changes, code only


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5e6ad91efe
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)



------------------
This commit was generated by Migit
2015-12-12 10:42:28 +01:00
Michael Liebmann
7e019ec888 CLuaInstance: Move msg box functions in separate classes / files
- hintbox
 - messagebox

 - No api changes, code only


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



------------------
This commit was generated by Migit
2015-12-12 10:42:28 +01:00
Michael Liebmann
672e1ca1d0 CLuaInstance: Move ccomponents functions in separate classes / files
- cwindow (CComponentsWindow)
 - ctext (CComponentsText)
 - cpicture (CComponentsPicture)
 - signalbox (CSignalBox)

 - No api changes, code only


Origin commit data
------------------
Branch: ni/coolstream
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


------------------
This commit was generated by Migit
2015-12-12 10:42:28 +01:00
Michael Liebmann
7fe7dd701c CLuaInstance: Move menue functions in separate classes / files
- No api changes, code only


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



------------------
This commit was generated by Migit
2015-12-12 10:42:28 +01:00
Michael Liebmann
c20862bd7b CLuaInstance: Move video functions in separate class
- No api changes, code only


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



------------------
This commit was generated by Migit
2015-12-12 10:42:28 +01:00
Michael Liebmann
0904d4097c CLuaInstance: Move configfile functions in separate classes / files
- No api changes, code only


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



------------------
This commit was generated by Migit
2015-12-12 10:42:28 +01:00
Michael Liebmann
256500c3e4 CLuaInstance: Move types, definitions & functions from
luainstance.cpp/.h to luainstance_helpers.cpp/.h

 - No api changes, code only


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1238b0c677
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)



------------------
This commit was generated by Migit
2015-12-12 10:42:28 +01:00
Michael Liebmann
90edde72a7 CLuaInstance::GetRevision: Add second return value as a string...
...for hardware identification

 - Set Lua api version to 1.22


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



------------------
This commit was generated by Migit
2015-12-08 12:01:25 +01:00
Michael Liebmann
994ff285d3 CLuaInstance: Add script function 'channelRezap'
- Alternative rezap method for movie plugins
 - Set Lua api version to 1.21


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



------------------
This commit was generated by Migit
2015-12-08 12:01:25 +01:00
Michael Liebmann
8fda2ba2b2 CLuaInstance: Add script function zapitStopPlayBack
- For safe running ShowPicture() in the plugin
 - Set Lua api version to 1.19


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0a008ab308
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-08 (Tue, 08 Dec 2015)



------------------
This commit was generated by Migit
2015-12-08 12:01:25 +01:00
Michael Liebmann
670da624a4 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
------------------
Branch: ni/coolstream
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


------------------
This commit was generated by Migit
2015-12-08 12:01:25 +01:00
Michael Liebmann
0ca4e1e737 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
------------------
Branch: ni/coolstream
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.


------------------
This commit was generated by Migit
2015-12-08 12:01:25 +01:00