Commit Graph

7390 Commits

Author SHA1 Message Date
M. Liebmann
f52ba5ba4a CLuaInstance: Move configfile functions in separate classes / files
- No api changes, code only
2015-12-12 10:42:28 +01:00
M. Liebmann
1238b0c677 CLuaInstance: Move types, definitions & functions from
luainstance.cpp/.h to luainstance_helpers.cpp/.h

 - No api changes, code only
2015-12-12 10:42:28 +01:00
[CST] Focus
0aa71bae4d zapit/src/capmt.cpp: try to fix TS enable/disable 2015-12-09 17:05:40 +03:00
M. Liebmann
598ef23982 Fix neutrino build without '--enable-lua' 2015-12-08 20:23:49 +01:00
M. Liebmann
189b2e0fb0 Disable multimedia plugins and video functions...
...(movie player & upnp browser) when movieplayer is in use
2015-12-08 12:01:25 +01:00
M. Liebmann
d06594dd60 CLuaInstance::GetRevision: Add second return value as a string...
...for hardware identification

 - Set Lua api version to 1.22
2015-12-08 12:01:25 +01:00
M. Liebmann
b9afbb1e2c CLuaInstance: Add script function 'channelRezap'
- Alternative rezap method for movie plugins
 - Set Lua api version to 1.21
2015-12-08 12:01:25 +01:00
M. Liebmann
0a008ab308 CLuaInstance: Add script function zapitStopPlayBack
- For safe running ShowPicture() in the plugin
 - Set Lua api version to 1.19
2015-12-08 12:01:25 +01:00
M. Liebmann
ffea6559c9 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
M. Liebmann
558fea4ec4 CMoviePlayerGui: Creating an possibility to block restoreNeutrino()...
...from an external plugin

 - This better play playlists with plugins
2015-12-08 12:01:25 +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
M. Liebmann
d0cbf0985e CLuaInstance: Remove unnecessary function zapitSetStandby()
- Set Lua api version to 1.17
2015-12-08 12:01:25 +01:00
M. Liebmann
56a86e8d42 Sort slovak.locale 2015-12-08 12:01:25 +01:00
svenhoefer
68221e31b8 Revert "- movieplayer: enable videoformat and 4:3 switches; (C) martii"
This reverts commit a3ff096e06,
because keys was passed to neutrino handleMsg already.
So this pick was unnecessary.
2015-12-01 22:40:05 +01:00
svenhoefer
a3ff096e06 - movieplayer: enable videoformat and 4:3 switches; (C) martii 2015-12-01 21:04:13 +01:00
svenhoefer
829359b851 - movieplayer: enable neutrino main menu ...
... parts of this code is (C) martii
2015-12-01 21:02:15 +01:00
Jacek Jendrzej
423b1e0bc7 update slovak.locale (THX EnoSat) 2015-12-01 18:36:02 +01:00
svenhoefer
88bd3fa308 - moviebrowser: re-add missig comparator (msg ==) 2015-12-01 12:11:29 +01:00
svenhoefer
54e202cea8 - moviebrowser: use RC_left/right to switch display modes ...
... to get free volume keys, because these keys should change
volume only.
2015-12-01 08:17:56 +01:00
svenhoefer
c88fca2ec1 - movieplayer: change default key for TimeOSD() to RC_timeshift 2015-12-01 08:14:44 +01:00
M. Liebmann
482cf41adf CLuaInstance: Add script function paintVLine() & paintHLine()
- Set Lua api version to 1.16
2015-11-27 12:31:47 +01:00
M. Liebmann
76874040a3 CFBWindow: Add paintVLineRel() & paintHLineRel() for using...
...in external plugins
2015-11-27 12:31:47 +01:00
M. Liebmann
573eb7f7ad CLuaInstance::CPictureNew: When dx and dy = 0 then use...
...'NO_SCALE' modus for object creation (icon)

 - Set Lua api version to 1.15
2015-11-27 12:31:47 +01:00
M. Liebmann
550cfc853d CLuaInstance: Add script function saveScreen()/restoreScreen()
Example:
    local memID = n:saveScreen(x, y, w, h);
      ...
      ...
    n:restoreScreen(x, y, w, h, memID, delete);
     -- delete = true  => delete screen buffer
     -- delete = false => don't delete screen buffer

 - Set Lua api version to 1.14
2015-11-27 12:31:47 +01:00
M. Liebmann
895b781629 CFBWindow: Add saveScreen() & restoreScreen() for using...
...in external plugins
2015-11-27 12:31:47 +01:00
M. Liebmann
a307e806eb CLuaInstance: Add DynFonts for lua scripts
- You can create fixed-size fonts for use in Lua Scripts
 - The fonts are deleted after the script
 - The use of fonts is limited to the following functions currently:
   - RenderString()
   - getRenderWidth()
   - FontHeight()
 - Example in Lua scripts:
   Normal usage:
     local font = FONT.MENU
     RenderString(font, ....)
   Use DynFonts:
     Creates a font with height of 50px:
       local font = n:getDynFont(0, 50)
       local useDynFont = true
       RenderString(useDynFont, font, ....)
           or
     Creates a font in which the text("Example: xyz") has a width of 200px:
       local font = n:getDynFont(200, 0, "Example: xyz")
       local useDynFont = true
       RenderString(useDynFont, font, ....)

 - Set Lua api version to 1.13
2015-11-27 12:31:47 +01:00
M. Liebmann
56d76f4ebc CNeutrinoFonts: Add 'getDynFontExt()' for create custom fonts...
...in external plugins
2015-11-27 12:31:47 +01:00
defans
7caf055ea0 - luainstance: add GetRevision() function
- Set Lua api version to 1.12

Signed-off-by: svenhoefer <svenhoefer@svenhoefer.com>
2015-11-24 11:58:02 +01:00
[CST] Focus
08e68ea464 gui/movieplayer.cpp: start movies in playlists at start bookmark 2015-11-24 09:02:52 +01:00
M. Liebmann
45569a736a CLuaInstance: Fix transfer of color values in...
...PaintBox() and RenderString() for coolstream hardware

 - Set Lua api version to 1.11
2015-11-23 08:15:23 +01:00
svenhoefer
9ff6e120d8 - cables.xml: update Antennenverein Hohenmoelsen; thx to lusto 2015-11-22 03:56:22 +01:00
Jacek Jendrzej
15478a44c4 src/gui/record_setup.cpp disable not used 2015-11-22 18:12:12 +01:00
svenhoefer
66e8b155f3 - cables.xml: update Antennengemeinschaft Goeltzschtalbruecke 2015-11-21 22:58:23 +01:00
defans
5cb0ca21cd - streaminfo2.cpp: reduce signalbox flickering 2015-11-20 09:06:27 +01:00
defans
c689e5d224 - streaminfo2.cpp: force repaint of signalbox after ...
... switching back from signal diagram
2015-11-19 12:11:50 +01:00
Jacek Jendrzej
21914f032c data/satellites.xml update Astra 19 (THX Janus) 2015-11-18 16:52:56 +01:00
M. Liebmann
8c41a922b0 CLuaInstance: Fix compiler warning/error "'DBG' redefined" 2015-11-18 12:19:17 +01:00
Jacek Jendrzej
6ddfb506de data/satellites.xml update Eutelsat 16A (16.0E) 2015-11-17 17:37:09 +01:00
Jacek Jendrzej
a237b55d6a data/satellites.xml update Astra 3B (23.5E) (THX bazi98) 2015-11-17 17:18:15 +01:00
Jacek Jendrzej
4034666fe3 data/satellites.xml update Eutelsat Hot Bird 13 and Astra 19 2015-11-17 13:50:50 +01:00
M. Liebmann
8f7802f018 CLuaInstance: Fix for commit 755e4d9
- CC_SHADOW_RIGHT & CC_SHADOW_BOTTOM not yet implemented
2015-11-16 14:30:55 +01:00
[CST] Bas
a2babbb0a7 neutrino: disable TS (CI) if the module is not selected for a certain bouquet. 2015-11-16 15:41:01 +03:00
M. Liebmann
755e4d965c CLuaInstance: Add constants from CComponents as CC.xxx
- Set Lua api version to 1.10
2015-11-16 13:15:49 +01:00
M. Liebmann
35c6121780 CLuaInstance: Add script function 'paramDeprecated' 2015-11-16 13:15:49 +01:00
M. Liebmann
09881321e2 CLuaInstance: Executing 'zapit leave standby' only when script...
...is terminated with an error

Complement to commit 6f66e21940
2015-11-16 05:13:02 +01:00
M. Liebmann
24881e4228 CLuaInstance: Add screen constants 'X_RES' and 'Y_RES'
- Set Lua api version to 1.9
2015-11-14 21:53:00 +01:00
M. Liebmann
d5031496d0 CLuaInstance: Add script function 'enableInfoClock'
- Set Lua api version to 1.8
2015-11-14 21:53:00 +01:00
M. Liebmann
6f66e21940 CLuaInstance: Add script function 'zapitSetStandby'
- Necessary for some video plugins
 - Set Lua api version to 1.7
2015-11-14 21:53:00 +01:00
Jacek Jendrzej
715c0e383d src/gui/cam_menu.cpp: fix nevis compil 2015-11-14 16:19:39 +01:00
svenhoefer
0b264e0b66 - locale: update deutsch.locale 2015-11-08 19:55:55 +01:00