Commit Graph

52 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
Thilo Graf
fc29cf8824 lua api: fix broken build with --disable-lua
Origin commit data
------------------
Commit: 1d74379981
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-10-02 (Sun, 02 Oct 2016)
2016-10-03 01:44:54 +02:00
vanhofen
88794c8873 plugins: startPlugin works with filename; just for clarity
Origin commit data
------------------
Commit: 55f0ab75af
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-24 (Sun, 24 Jan 2016)

Origin message was:
------------------
- plugins: startPlugin works with filename; just for clarity
2016-01-24 21:29:31 +01:00
vanhofen
9e2492ab2a plugins: fix movieplayer-plugin
Origin commit data
------------------
Commit: bbd88cd051
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-24 (Sun, 24 Jan 2016)

Origin message was:
------------------
- plugins: fix movieplayer-plugin
2016-01-24 21:28:37 +01:00
Thilo Graf
a5c80536e0 CPlugins: try to fix possible segfault while open shellwindow scripts
Origin commit data
------------------
Commit: f54f1d0805
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-01-02 (Sat, 02 Jan 2016)
2016-01-02 00:10:20 +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
vanhofen
8e23a560fd move PLUGINDIR_VAR to global.h to avoid some hardcoded paths
Origin commit data
------------------
Commit: 6e6d7ad765
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-06 (Wed, 06 May 2015)

Origin message was:
------------------
- move PLUGINDIR_VAR to global.h to avoid some hardcoded paths
2015-05-06 22:58:54 +02:00
vanhofen
c6e3c167f0 plugins: replace PLUGINDIR_USB with PLUGINDIR_MNT (/mnt/plugins)
Origin commit data
------------------
Commit: 75f84739a5
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-05 (Tue, 05 May 2015)

Origin message was:
------------------
- plugins: replace PLUGINDIR_USB with PLUGINDIR_MNT (/mnt/plugins)
2015-05-05 14:46:46 +02:00
vanhofen
35b0a1f6bd plugins: add GAMESDIR (/var/tuxbox/games) to plugin list
Origin commit data
------------------
Commit: 14dc610a68
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-05 (Tue, 05 May 2015)

Origin message was:
------------------
- plugins: add GAMESDIR (/var/tuxbox/games) to plugin list
2015-05-05 14:45:28 +02:00
vanhofen
d29d29c6fa plugins: allow localization in plugin.cfg
Example:
name=Default plugin name
description=Default plugin desription
name.deutsch=Deutscher Plugin-Name
name.english=English plugin name


Origin commit data
------------------
Commit: 4baeab4353
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-03-05 (Thu, 05 Mar 2015)

Origin message was:
------------------
- plugins: allow localization in plugin.cfg

Example:
name=Default plugin name
description=Default plugin desription
name.deutsch=Deutscher Plugin-Name
name.english=English plugin name
2015-03-05 17:03:21 +01:00
vanhofen
3c55104f98 Revert "- plugins: allow empty menu hints"
This reverts commit 5858675c2c
because 6453c8a7b7 do the same.


Origin commit data
------------------
Commit: 3a401a46b3
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-11-22 (Sat, 22 Nov 2014)
2014-11-22 16:17:30 +01:00
vanhofen
4695c00999 plugins: Fix assignment of prefered keys
New keyword in plugin.cfg: key=<key>
* key=red
* key=green
* key=yellow
* key=blue
* key=auto

If entry is missing key is auto-assigned


Origin commit data
------------------
Commit: c0a0cdb221
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-11-07 (Fri, 07 Nov 2014)

Origin message was:
------------------
- plugins: Fix assignment of prefered keys

New keyword in plugin.cfg: key=<key>
* key=red
* key=green
* key=yellow
* key=blue
* key=auto

If entry is missing key is auto-assigned
2014-11-07 12:17:29 +01:00
vanhofen
5858675c2c plugins: allow empty menu hints
Origin commit data
------------------
Commit: 95eab2a48d
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-11-06 (Thu, 06 Nov 2014)

Origin message was:
------------------
- plugins: allow empty menu hints
2014-11-06 12:36:07 +01:00
vanhofen
4d59eee6be plugins: disable unused cfg-params
Origin commit data
------------------
Commit: c8522bae71
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-11-06 (Thu, 06 Nov 2014)

Origin message was:
------------------
- plugins: disable unused cfg-params
2014-11-06 12:36:07 +01:00
vanhofen
6b21320aa3 plugins: add and use default hint icon; THX to fred_feuerstein
Origin commit data
------------------
Commit: 765ad18b07
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-10-08 (Wed, 08 Oct 2014)

Origin message was:
------------------
- plugins: add and use default hint icon; THX to fred_feuerstein
2014-10-08 14:14:24 +04:00
vanhofen
979e85ff5b plugins: allow hinticons for plugins
Default is <plugin>_hint.png; an entry 'hinticon=another_name' in
<plugin>.cfg overrides this; use icon in plugindir first; if not found
use icon in one of the other wellknown neutrino icon directories.


Origin commit data
------------------
Commit: ebbed374af
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-10-06 (Mon, 06 Oct 2014)

Origin message was:
------------------
- plugins: allow hinticons for plugins

Default is <plugin>_hint.png; an entry 'hinticon=another_name' in
<plugin>.cfg overrides this; use icon in plugindir first; if not found
use icon in one of the other wellknown neutrino icon directories.
2014-10-07 13:19:15 +04:00
vanhofen
cd2b6e5596 plugins: add new configuration item 'integration'
Integrate plugins in existing neutrino menues. Usage in plugin.cfg:
 integration=0; disabled
 integration=1; reserved
 integration=2; multimedia menu
 integration=3; settings menu
 integration=4; service menu
 integration=5; information menu


Origin commit data
------------------
Commit: f586552719
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-28 (Sun, 28 Sep 2014)

Origin message was:
------------------
- plugins: add new configuration item 'integration'

Integrate plugins in existing neutrino menues. Usage in plugin.cfg:
 integration=0; disabled
 integration=1; reserved
 integration=2; multimedia menu
 integration=3; settings menu
 integration=4; service menu
 integration=5; information menu
2014-09-29 14:38:39 +04:00
vanhofen
855995f5c7 plugins: add configparam 'shellwindow'
Origin commit data
------------------
Commit: b46ad0c5ae
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-17 (Wed, 17 Sep 2014)

Origin message was:
------------------
- plugins: add configparam 'shellwindow'
2014-09-17 18:04:54 +02:00
[CST] Focus
34d2776109 neutrino: sync keybind and usermenu code with neutrino-mp, code (C) martii
Origin commit data
------------------
Commit: 420af7a4dc
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-05 (Fri, 05 Sep 2014)
2014-09-05 17:49:11 +04:00
martii
2c73f75ec2 gui/plugins: exclude unused methods
Origin commit data
------------------
Commit: a7ebf966c4
Author: martii <m4rtii@gmx.de>
Date: 2014-05-31 (Sat, 31 May 2014)
2014-05-31 12:10:54 +02:00
vanhofen
e45d1c6a11 plugins: cleanup
* drop PLUGINDIR_USB
* drop unused 'param' from startPlugin


Origin commit data
------------------
Commit: 4b5242c254
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-03-02 (Sun, 02 Mar 2014)

Origin message was:
------------------
- plugins: cleanup

* drop PLUGINDIR_USB
* drop unused 'param' from startPlugin
2014-03-02 00:43:59 +01:00
vanhofen
530d403ee0 plugins: type for listed plugins on blue key is selectable
* add mainmenu items for tools and lua-extensions
 (default not visible)
* add usermenu items for tools and lua-extensions
 (default off)


Origin commit data
------------------
Commit: f9ad30f183
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-02-04 (Tue, 04 Feb 2014)

Origin message was:
------------------
- plugins: type for listed plugins on blue key is selectable

* add mainmenu items for tools and lua-extensions
 (default not visible)
* add usermenu items for tools and lua-extensions
 (default off)
2014-02-04 09:08:21 +01:00
Michael Liebmann
2056b4ed80 Add a --enable-lua switch to enable LUA support
Origin commit data
------------------
Commit: 82d4832013
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-21 (Tue, 21 Jan 2014)
2014-01-21 17:05:24 +01:00
Stefan Seyfried
483fe277f6 luainstance: the name is "Lua", not "LUA"
Origin commit data
------------------
Commit: 4d7e07f81f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-18 (Mon, 18 Mar 2013)
2014-01-19 20:57:35 +01:00
Stefan Seyfried
b02792fe65 neutrino: add a prototype of a lua plugin interface
this is just for preliminary tests, not yet really usable
for anything useful


Origin commit data
------------------
Commit: f26357e887
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-17 (Sun, 17 Mar 2013)
2014-01-19 20:57:35 +01:00
Thilo Graf
d29ebc88bf CPlugins: remove dub included header
Origin commit data
------------------
Commit: 9bc7a6efca
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-09-04 (Wed, 04 Sep 2013)
2013-09-04 09:59:09 +02:00
Stefan Seyfried
9c0fbe8943 helpers: improve my_system function
Instead of hardcoding the maximum number of arguments to the
my_system helper, pass a variable argument list.
The function is deliberately source-incompatible with the old
implementation (as opposed to a variant with a sentinel NULL
argument, which would be compatible) to find all users and to
make sure that new future users of this function are not
overlooked during merges with other branches.

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Commit: 988a8ebec2
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-03 (Sun, 03 Mar 2013)
2013-03-05 11:58:49 +01:00
Jacek Jendrzej
190dc282b8 src/gui/plugins.cpp: fix sort pluins without index
Origin commit data
------------------
Commit: 882a7b2e47
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-12-04 (Tue, 04 Dec 2012)
2012-12-04 19:57:02 +01:00
Jacek Jendrzej
f214c79b0d Zombie Killer ;)
Origin commit data
------------------
Commit: 768a064629
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-20 (Thu, 20 Sep 2012)
2012-09-20 22:43:00 +02:00
Jacek Jendrzej
878d7528e4 add wakeup_hdd & file_exists to system-helpers
Origin commit data
------------------
Commit: c6ae7255ac
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)

Origin message was:
------------------
-add wakeup_hdd & file_exists to system-helpers
2012-09-11 20:35:47 +02:00
FlatTV
860e0b99ca Add global helpers my_system() and my_popen()
Origin commit data
------------------
Commit: b92660259c
Author: FlatTV <FlatTV@gmx.de>
Date: 2012-08-30 (Thu, 30 Aug 2012)
2012-08-30 09:28:54 +02:00
Jacek Jendrzej
b7c660948f plugins.cpp: use popen2 with vfork for script plugins
Origin commit data
------------------
Commit: a6d0331ed9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-08-22 (Wed, 22 Aug 2012)
2012-08-22 09:39:08 +02:00
Jacek Jendrzej
e5fbec7cb5 plugins.cpp: use popen2 with vfork for script plugins
Origin commit data
------------------
Commit: abed344501
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-08-22 (Wed, 22 Aug 2012)
2012-08-22 09:37:46 +02:00
Jacek Jendrzej
02f5101cc4 change mysytem char to const char
Origin commit data
------------------
Commit: b9648c8359
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-07-09 (Mon, 09 Jul 2012)
2012-07-09 14:58:11 +02:00
Jacek Jendrzej
6dd3f4ce68 revert spawn funktion
Origin commit data
------------------
Commit: e6d4c04913
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-06-20 (Wed, 20 Jun 2012)
2012-06-20 23:08:40 +02:00
Jacek Jendrzej
d156e66c0e plugins.cpp: start plugin script with posix spawn
Origin commit data
------------------
Commit: 854e222603
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-06-20 (Wed, 20 Jun 2012)
2012-06-20 20:17:18 +02:00
Jacek Jendrzej
6438b5c6f4 never used values
Origin commit data
------------------
Commit: 25563a2029
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-05-08 (Tue, 08 May 2012)
2012-05-08 16:31:25 +02:00
[CST] Focus
caf4fa61ab gui/plugins.cpp: fix memleak in scandir
Origin commit data
------------------
Commit: 37d5e13d43
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-04 (Fri, 04 May 2012)
2012-05-04 12:23:44 +04:00
Jacek Jendrzej
04be37cf14 performance Prefer prefix ++/-- operators for non-primitive types.
Origin commit data
------------------
Commit: bb347b3a44
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-04-28 (Sat, 28 Apr 2012)
2012-04-28 10:56:27 +02:00
Jacek Jendrzej
4f3812a49b plugins.cpp localize.cpp: fix possible segfault
Origin commit data
------------------
Commit: 1fdb76af51
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-04-24 (Tue, 24 Apr 2012)
2012-04-24 13:36:16 +02:00
[CST] Bas
100e47e2a4 gui: fix compile after include change.
Origin commit data
------------------
Commit: 3d96ea9419
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2012-03-04 (Sun, 04 Mar 2012)
2012-03-04 15:50:56 +08:00
Thilo Graf
07554a0dcc neutrino: port personalize feature from tuxbox
This is a partial port of original neutrino personalize feature
and includes also moving of user menu settings from key setup into this setup,
but it's not completley yet in some details and so I think it's a lot to do.
I hope it works fine and the many user requests are justifying this feature.

TODO:
- doc into wiki
- adapt for yWeb
- some reworks for user menu settings and plugin management
- add timer and rework tv radio mode switch item(s)
and many more...

please report: http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/9565-diskussion-neutrino-goes-neutrinohd-welche-features-funktionen-aus-dem-tuxbox-cvs-%C3%BCbernehmen/

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2010 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: aaa988db5f
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-12-28 (Wed, 28 Dec 2011)

Origin message was:
------------------
*neutrino: port personalize feature from tuxbox

This is a partial port of original neutrino personalize feature
and includes also moving of user menu settings from key setup into this setup,
but it's not completley yet in some details and so I think it's a lot to do.
I hope it works fine and the many user requests are justifying this feature.

TODO:
- doc into wiki
- adapt for yWeb
- some reworks for user menu settings and plugin management
- add timer and rework tv radio mode switch item(s)
and many more...

please report: http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/9565-diskussion-neutrino-goes-neutrinohd-welche-features-funktionen-aus-dem-tuxbox-cvs-%C3%BCbernehmen/

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2010 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-28 00:19:15 +00:00
Thilo Graf
25ad48a6b7 neutrino usermenu plugin: fix plugin call
Plugin call was broken because of a merge error.

add config parameter 'index' and 'key' for plugins
This allows (optional) to config an user definied sort and setup rc-key for plugin via
plugin.cfg.

Sort by filename is still working as before in second instance.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1660 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: e6dbbc323f
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-09-02 (Fri, 02 Sep 2011)

Origin message was:
------------------
*neutrino usermenu plugin: fix plugin call

Plugin call was broken because of a merge error.

add config parameter 'index' and 'key' for plugins
This allows (optional) to config an user definied sort and setup rc-key for plugin via
plugin.cfg.

Sort by filename is still working as before in second instance.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1660 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-09-02 17:05:55 +00:00
Thilo Graf
ff13b494de neutrino plugin-class: style correcture
add missing constructor

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1363 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 31c42c1106
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-03-31 (Thu, 31 Mar 2011)

Origin message was:
------------------
*neutrino plugin-class: style correcture

add missing constructor

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1363 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-31 13:44:45 +00:00
Stefan Seyfried
f7c4acd3e7 neutrino: export screen dimensions, so that plugins don't need to jump through ugly hoops
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1176 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 870fc37cf6
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-02-20 (Sun, 20 Feb 2011)
2011-02-20 17:00:55 +00:00
Jacek Jendrzej
85c9284b7a add plugin hdd dir menu
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@734 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 9699447317
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-08-20 (Fri, 20 Aug 2010)

Origin message was:
------------------
-add plugin hdd dir menu

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@734 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-08-20 19:11:12 +00:00
[CST] Focus
adb761e134 Removed libcontrold dependency
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@336 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 35d7d555b6
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-02-14 (Sun, 14 Feb 2010)
2010-02-14 13:09:07 +00:00
mws
ca4ad2b435 fix initializers and shadows
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@122 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: e1c39d4ce5
Author: mws <mws@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-29 (Tue, 29 Dec 2009)
2009-12-29 11:44:31 +00:00
mws
c62aa94983 Mark unused vars as comment
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@104 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 1b13da2617
Author: mws <mws@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-21 (Mon, 21 Dec 2009)
2009-12-21 16:23:09 +00:00
Jacek Jendrzej
e1f3340cbb port rounded corner code from tuxbox CVSuse getScreenStartX(),getScreenStartY(),h_max(),w_max() routines
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@87 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 49e009134b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2009-12-17 (Thu, 17 Dec 2009)
2009-12-17 09:58:55 +00:00