Commit Graph

52 Commits

Author SHA1 Message Date
Thilo Graf
e19536fe99 Includes: remove unused includes 2016-10-26 10:25:07 +02:00
Thilo Graf
1d74379981 lua api: fix broken build with --disable-lua 2016-10-03 01:44:54 +02:00
svenhoefer
55f0ab75af - plugins: startPlugin works with filename; just for clarity 2016-01-24 21:29:31 +01:00
svenhoefer
bbd88cd051 - plugins: fix movieplayer-plugin 2016-01-24 21:28:37 +01:00
Thilo Graf
f54f1d0805 CPlugins: try to fix possible segfault while open shellwindow scripts 2016-01-02 00:10:20 +01:00
M. Liebmann
464f929437 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
svenhoefer
6e6d7ad765 - move PLUGINDIR_VAR to global.h to avoid some hardcoded paths 2015-05-06 22:58:54 +02:00
svenhoefer
75f84739a5 - plugins: replace PLUGINDIR_USB with PLUGINDIR_MNT (/mnt/plugins) 2015-05-05 14:46:46 +02:00
svenhoefer
14dc610a68 - plugins: add GAMESDIR (/var/tuxbox/games) to plugin list 2015-05-05 14:45:28 +02:00
svenhoefer
4baeab4353 - 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
svenhoefer
3a401a46b3 Revert "- plugins: allow empty menu hints"
This reverts commit 95eab2a48d
because 9945d03480 do the same.
2014-11-22 16:17:30 +01:00
svenhoefer
c0a0cdb221 - 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
svenhoefer
95eab2a48d - plugins: allow empty menu hints 2014-11-06 12:36:07 +01:00
svenhoefer
c8522bae71 - plugins: disable unused cfg-params 2014-11-06 12:36:07 +01:00
svenhoefer
765ad18b07 - plugins: add and use default hint icon; THX to fred_feuerstein 2014-10-08 14:14:24 +04:00
svenhoefer
ebbed374af - 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
svenhoefer
f586552719 - 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
svenhoefer
b46ad0c5ae - plugins: add configparam 'shellwindow' 2014-09-17 18:04:54 +02:00
[CST] Focus
420af7a4dc neutrino: sync keybind and usermenu code with neutrino-mp, code (C) martii 2014-09-05 17:49:11 +04:00
martii
a7ebf966c4 gui/plugins: exclude unused methods 2014-05-31 12:10:54 +02:00
svenhoefer
4b5242c254 - plugins: cleanup
* drop PLUGINDIR_USB
* drop unused 'param' from startPlugin
2014-03-02 00:43:59 +01:00
svenhoefer
f9ad30f183 - 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
M. Liebmann
82d4832013 Add a --enable-lua switch to enable LUA support 2014-01-21 17:05:24 +01:00
Stefan Seyfried
4d7e07f81f luainstance: the name is "Lua", not "LUA" 2014-01-19 20:57:35 +01:00
Stefan Seyfried
f26357e887 neutrino: add a prototype of a lua plugin interface
this is just for preliminary tests, not yet really usable
for anything useful
2014-01-19 20:57:35 +01:00
Thilo Graf
9bc7a6efca CPlugins: remove dub included header 2013-09-04 09:59:09 +02:00
Stefan Seyfried
988a8ebec2 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>
2013-03-05 11:58:49 +01:00
satbaby
882a7b2e47 src/gui/plugins.cpp: fix sort pluins without index 2012-12-04 19:57:02 +01:00
satbaby
768a064629 Zombie Killer ;) 2012-09-20 22:43:00 +02:00
satbaby
c6ae7255ac -add wakeup_hdd & file_exists to system-helpers 2012-09-11 20:35:47 +02:00
FlatTV
b92660259c Add global helpers my_system() and my_popen() 2012-08-30 09:28:54 +02:00
satbaby
a6d0331ed9 plugins.cpp: use popen2 with vfork for script plugins 2012-08-22 09:39:08 +02:00
satbaby
abed344501 plugins.cpp: use popen2 with vfork for script plugins 2012-08-22 09:37:46 +02:00
satbaby
b9648c8359 change mysytem char to const char 2012-07-09 14:58:11 +02:00
satbaby
e6d4c04913 revert spawn funktion 2012-06-20 23:08:40 +02:00
satbaby
854e222603 plugins.cpp: start plugin script with posix spawn 2012-06-20 20:17:18 +02:00
satbaby
25563a2029 never used values 2012-05-08 16:31:25 +02:00
[CST] Focus
37d5e13d43 gui/plugins.cpp: fix memleak in scandir 2012-05-04 12:23:44 +04:00
satbaby
bb347b3a44 performance Prefer prefix ++/-- operators for non-primitive types. 2012-04-28 10:56:27 +02:00
satbaby
1fdb76af51 plugins.cpp localize.cpp: fix possible segfault 2012-04-24 13:36:16 +02:00
[CST] Bas
3d96ea9419 gui: fix compile after include change. 2012-03-04 15:50:56 +08:00
thilo
aaa988db5f *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
e6dbbc323f *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
31c42c1106 *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
seife
870fc37cf6 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
2011-02-20 17:00:55 +00:00
satbaby
9699447317 -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
focus
35d7d555b6 Removed libcontrold dependency
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@336 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-02-14 13:09:07 +00:00
mws
e1c39d4ce5 fix initializers and shadows
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@122 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-29 11:44:31 +00:00
mws
1b13da2617 Mark unused vars as comment
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@104 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-21 16:23:09 +00:00
satbaby
49e009134b 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
2009-12-17 09:58:55 +00:00