Commit Graph

19 Commits

Author SHA1 Message Date
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