Commit Graph

8164 Commits

Author SHA1 Message Date
vanhofen
fa2686a90e add listModeKey() function to simplify these calls
Origin commit data
------------------
Commit: 2911e638c7
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-09 (Fri, 09 Sep 2016)

Origin message was:
------------------
- add listModeKey() function to simplify these calls
2016-09-09 10:42:46 +02:00
Michael Liebmann
48f698f372 Activate warnings for deprecated functions in CLuaInstMisc & CLuaInstVideo
- Set Lua api version to 1.59


Origin commit data
------------------
Commit: b1ab3e2290
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-08 (Thu, 08 Sep 2016)
2016-09-08 08:45:15 +02:00
vanhofen
74a6ac120f lua: add pin-input; set lua api version to 1.58
Origin commit data
------------------
Commit: 80d1e9b6cf
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-08 (Thu, 08 Sep 2016)

Origin message was:
------------------
- lua: add pin-input; set lua api version to 1.58
2016-09-08 00:09:52 +02:00
Jacek Jendrzej
442d5b414d fix compil error: redundant redeclaration of 'void strReplace'
Origin commit data
------------------
Commit: f101655e19
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-09-07 (Wed, 07 Sep 2016)
2016-09-07 18:30:03 +02:00
Jacek Jendrzej
418d68a592 src/gui/lua/lua_filehelpers.cpp fix possible segfault if string argument is not a string (nil)
Origin commit data
------------------
Commit: 6aab8c6d12
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-09-07 (Wed, 07 Sep 2016)
2016-09-07 18:05:01 +02:00
Michael Liebmann
daf201ae37 CFileHelpers: Rework FileBuf handling
FileBuf: Reserve memory only when it is needed (copyFile)
copyFile: Reserve for small files, only as much memory as is required


Origin commit data
------------------
Commit: 6a9c08ae90
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-06 (Tue, 06 Sep 2016)
2016-09-06 11:32:41 +02:00
Michael Liebmann
640b0fca59 CFileHelpers::removeDir: Better error message
- No error when directory does not exist


Origin commit data
------------------
Commit: ff9a71cd36
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-06 (Tue, 06 Sep 2016)
2016-09-06 11:32:41 +02:00
Thilo Graf
3dec3ca94b Moviebrowser: functions outsourced
TODO: 	Classes and menus should follow someday.


Origin commit data
------------------
Commit: a10755dca7
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-12 (Fri, 12 Aug 2016)
2016-09-06 11:32:41 +02:00
Thilo Graf
85633abc01 Movibrowser: types outsourced
Origin commit data
------------------
Commit: 71df2cab52
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-11 (Thu, 11 Aug 2016)
2016-09-06 11:32:41 +02:00
Thilo Graf
b0c0c3bd05 Moviebrowser: start outsourcing moviebrowser code
Origin commit data
------------------
Commit: 64053c1758
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-11 (Thu, 11 Aug 2016)
2016-09-06 11:32:41 +02:00
vanhofen
c53f300b46 lua: add RC_timeout to keyname table; set lua api version to 1.57
Origin commit data
------------------
Commit: 84dfce8018
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-06 (Tue, 06 Sep 2016)

Origin message was:
------------------
- lua: add RC_timeout to keyname table; set lua api version to 1.57
2016-09-06 01:11:16 +02:00
vanhofen
fb44db9e19 lua: add stand-alone stringinput; set lua api version to 1.56
Origin commit data
------------------
Commit: 0fa4486077
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-05 (Mon, 05 Sep 2016)

Origin message was:
------------------
- lua: add stand-alone stringinput; set lua api version to 1.56
2016-09-05 23:49:37 +02:00
Michael Liebmann
c8e4c6e0a5 lua_filehelpers.cpp: Add lua script function 'exist()'
- Set Lua api version to 1.55


Origin commit data
------------------
Commit: 52c489f211
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-05 (Mon, 05 Sep 2016)
2016-09-05 23:46:02 +02:00
Michael Liebmann
e217a03f2c lua_filehelpers.cpp: Add lua script function 'ln()'
- Set Lua api version to 1.54


Origin commit data
------------------
Commit: 95a078742b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-05 (Mon, 05 Sep 2016)
2016-09-05 23:46:02 +02:00
Michael Liebmann
7ff676f0c0 lua_filehelpers.cpp: Add lua script function 'readlink()'
- Set Lua api version to 1.53


Origin commit data
------------------
Commit: b50886faca
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-04 (Sun, 04 Sep 2016)
2016-09-05 23:46:02 +02:00
Michael Liebmann
389ef2d93c lua_filehelpers.cpp: Add lua script function 'mkdir()'
- Set Lua api version to 1.52


Origin commit data
------------------
Commit: 906e9a2156
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-04 (Sun, 04 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
a262f1c85a lua_filehelpers.cpp: Add lua script function 'rmdir()'
- Set Lua api version to 1.51


Origin commit data
------------------
Commit: 631708f380
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-04 (Sun, 04 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
270d2d023b src/system/helpers.h:createDir(): Set correct default for mode
Origin commit data
------------------
Commit: 689bc50a62
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-04 (Sun, 04 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
a956b1c01f lua_filehelpers.cpp: Add lua script function 'touch()'
- Set Lua api version to 1.50


Origin commit data
------------------
Commit: ab322416dc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-04 (Sun, 04 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
3bd7c3f7d9 lua_filehelpers.cpp: Add lua script function 'chmod()'
- Set Lua api version to 1.49


Origin commit data
------------------
Commit: ab7d90de3f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-04 (Sun, 04 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
0143837e94 Use DebugInfo functions in CFileHelpers::cp / lua cp
Origin commit data
------------------
Commit: de07369d68
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-04 (Sun, 04 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
9dc7398baa CFileHelpers: Add DebugInfo functions for displaying error messages..
..in lua script functions


Origin commit data
------------------
Commit: 83a902d524
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-04 (Sun, 04 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
bd039291bd Add alternative variant for the display of __FILE__ (__path_file__)
- __path_file__ includes the relevant parts of source path


Origin commit data
------------------
Commit: 92a88906a5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-04 (Sun, 04 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
f6b960e97e lua_filehelpers.cpp: Add lua script function 'cp()'
- Set Lua api version to 1.48


Origin commit data
------------------
Commit: 270cd318ec
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-03 (Sat, 03 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
f1b6e6a335 helpers.cpp: Add cp() function
Origin commit data
------------------
Commit: 5198a13282
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-03 (Sat, 03 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
c4d4a3abf6 CFileHelpers::copyFile: Rewrite mode handling
Origin commit data
------------------
Commit: 64b5d36c52
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-03 (Sat, 03 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
cba27701a9 helpers.cpp: Add itoa() function
Origin commit data
------------------
Commit: 38470a8a80
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-03 (Sat, 03 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
fed4ac5968 src/gui/lua: Add lua_filehelpers.cpp
Origin commit data
------------------
Commit: 295ca1f7c9
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-03 (Sat, 03 Sep 2016)
2016-09-05 23:46:01 +02:00
Michael Liebmann
8a433a668d CLuaInstCCWindow::CCWindowNew: use setButtonLabels real footer width
Origin commit data
------------------
Commit: c566466ff1
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-02 (Fri, 02 Sep 2016)
2016-09-02 17:24:32 +02:00
vanhofen
53f05e6a73 lua_menue: allow user definable return values
This concerns:
* CLuaMenuFilebrowser::exec()
* CLuaMenuStringinput::exec()
* CLuaMenuKeyboardinput::exec()


Origin commit data
------------------
Commit: 8d014c6f76
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-01 (Thu, 01 Sep 2016)

Origin message was:
------------------
- lua_menue: allow user definable return values

This concerns:
* CLuaMenuFilebrowser::exec()
* CLuaMenuStringinput::exec()
* CLuaMenuKeyboardinput::exec()
2016-09-01 09:44:13 +02:00
Thilo Graf
1134c80072 CFrameBuffer: add debug warning if radius < 0
Radius < 0 causes for wrong rendering. paintBoxRel() gets confused.
This will paint partial outside of renderbox.

TODO: This should be fixed.


Origin commit data
------------------
Commit: ed0154a973
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-31 (Wed, 31 Aug 2016)
2016-08-31 10:03:52 +02:00
Thilo Graf
ab825c08da CComponentsHeader: don't use default parameters for privat member
Unified adaptation related to child class ComponentsFooter.
see: 5a24dc1ce5


Origin commit data
------------------
Commit: 731cb9c66d
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-30 (Tue, 30 Aug 2016)
2016-08-30 11:19:48 +02:00
vanhofen
79d0c2e5da yWeb: depending display of logos in EPG plus from Tuxbox.DisplayLogos
Origin commit data
------------------
Commit: 7d580b3296
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-26 (Fri, 26 Aug 2016)

Origin message was:
------------------
- yWeb: depending display of logos in EPG plus from Tuxbox.DisplayLogos
2016-08-26 16:05:45 +02:00
vanhofen
5223eb01dc tuxboxapi: remove obsolete Tuxbox.LogosURL from getLogoFile()
Origin commit data
------------------
Commit: 3e283469db
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-26 (Fri, 26 Aug 2016)

Origin message was:
------------------
- tuxboxapi: remove obsolete Tuxbox.LogosURL from getLogoFile()
2016-08-26 16:05:45 +02:00
vanhofen
55efa2e847 neutrinoyparser: move search for channellogos to neutrinoyparser
This is to respecting user's setting to use other channellogos for
WebIf. Now WebIf tries Tuxbox.LogosURL from nhttpd.conf first.

Controlapi ignores these setting and providing the default system
channelogos using NeutrinoAPI->getLogoFile().


Origin commit data
------------------
Commit: 7ac0ed9093
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-26 (Fri, 26 Aug 2016)

Origin message was:
------------------
- neutrinoyparser: move search for channellogos to neutrinoyparser

This is to respecting user's setting to use other channellogos for
WebIf. Now WebIf tries Tuxbox.LogosURL from nhttpd.conf first.

Controlapi ignores these setting and providing the default system
channelogos using NeutrinoAPI->getLogoFile().
2016-08-26 16:05:45 +02:00
TangoCash
796c4bf5ea fix xmltv channellogos
Origin commit data
------------------
Commit: 3f3ff32c86
Author: TangoCash <eric@loxat.de>
Date: 2016-08-25 (Thu, 25 Aug 2016)
2016-08-26 16:05:45 +02:00
martii
de29fd97eb nhttpd/neutrinoapi: fix getLogoFile()
Origin commit data
------------------
Commit: b66c1e9f0f
Author: martii <m4rtii@gmx.de>
Date: 2014-03-11 (Tue, 11 Mar 2014)
2016-08-26 16:05:45 +02:00
Thilo Graf
5a24dc1ce5 CComponentsFooter: don't use default parameters for privat member
Passed init values are better to see here.
This should fix wrong footer color too. See UPNP-Browser, color was not
applied here.


Origin commit data
------------------
Commit: 9b9a8d1a78
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-23 (Tue, 23 Aug 2016)
2016-08-23 16:00:48 +02:00
vanhofen
6398975e24 controlapi: remove unused variable outType from xmltv functions
Origin commit data
------------------
Commit: 7c47b1a2a6
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-23 (Tue, 23 Aug 2016)

Origin message was:
------------------
- controlapi: remove unused variable outType from xmltv functions
2016-08-23 15:39:09 +02:00
vanhofen
765957f617 yhook: avoid parameters from xml closing tag
Origin commit data
------------------
Commit: acf58551a8
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-23 (Tue, 23 Aug 2016)

Origin message was:
------------------
- yhook: avoid parameters from xml closing tag
2016-08-23 14:26:51 +02:00
TangoCash
2891e335b1 controlapi: add xmltv support
Origin commit data
------------------
Commit: bdde716c4a
Author: TangoCash <eric@loxat.de>
Date: 2016-08-23 (Tue, 23 Aug 2016)

Origin message was:
------------------
- controlapi: add xmltv support
2016-08-23 14:26:24 +02:00
Thilo Graf
e371ec3383 CComponentsWindow: fix possible holes between frame and footer
One line was to much


Origin commit data
------------------
Commit: 90866b232a
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-22 (Mon, 22 Aug 2016)
2016-08-22 21:17:02 +02:00
Thilo Graf
d2c96fd9e7 CMenuWidget: assign all layer colors out of header init
This fixes missing applying of possible changes of
colour settings in color setup for frame.


Origin commit data
------------------
Commit: 41ed6513bd
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-21 (Sun, 21 Aug 2016)
2016-08-22 21:16:58 +02:00
Thilo Graf
5e16a9f6b4 CComponentsButton: reduce shadow width
buttons are mostly small elements, so these elements should have a reasonable shadow width


Origin commit data
------------------
Commit: 2cf409bc27
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-21 (Sun, 21 Aug 2016)
2016-08-22 21:16:54 +02:00
Thilo Graf
27f527bb45 CComponentsWindow: simplify statements
Origin commit data
------------------
Commit: ca5702acf4
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-21 (Sun, 21 Aug 2016)
2016-08-22 21:16:50 +02:00
Thilo Graf
cdd40d98b0 CComponentsFooter: use background color of footer inside chain object
Ensure pass of bg color from parent into chain object and button objects.
Required by embedded button objects. This prevents "holes" on screen.


Origin commit data
------------------
Commit: a92757697f
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-20 (Sat, 20 Aug 2016)
2016-08-22 21:15:28 +02:00
Jacek Jendrzej
a8292eae0b src/gui/lua/lua_cc_window.cpp use setButtonLabels real window width
Origin commit data
------------------
Commit: 52d16769f1
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-22 (Mon, 22 Aug 2016)
2016-08-22 20:59:06 +02:00
Michael Liebmann
c9f0b15a1d Complete missing lua api versions:
- colors: some internal renamings (78230ea) v1.40
 - colors: make footer background color configurable (70abfb3) v1.41
 - luainstance: add missing entry for shadow color (832649c) v1.42
 - cc_text: if dx and dy is not set and text have parent use Height
 (5ac8d00) v1.43
 - cc_window: dont paint over screen size (46b77c7) v1.44
 - cpicture: Add getHeight/getWidth option (7e874dd) v1.45
 - cpicture: Add setDimensionsAll option (fcfb4c4) v1.46

 - Set Lua api version to 1.46

 See also neutrino-hd wiki:
 https://wiki.neutrino-hd.de/wiki/Neutrino_HD_Lua_API#Changelog


Origin commit data
------------------
Commit: c990411575
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-08-22 (Mon, 22 Aug 2016)

Origin message was:
------------------
Complete missing lua api versions:

 - colors: some internal renamings (78230ea) v1.40
 - colors: make footer background color configurable (70abfb3) v1.41
 - luainstance: add missing entry for shadow color (832649c) v1.42
 - cc_text: if dx and dy is not set and text have parent use Height
  (5ac8d00) v1.43
 - cc_window: dont paint over screen size (46b77c7) v1.44
 - cpicture: Add getHeight/getWidth option (7e874dd) v1.45
 - cpicture: Add setDimensionsAll option (fcfb4c4) v1.46

 - Set Lua api version to 1.46

 See also neutrino-hd wiki:
 https://wiki.neutrino-hd.de/wiki/Neutrino_HD_Lua_API#Changelog
2016-08-22 04:31:29 +02:00
Jacek Jendrzej
fcfb4c41e5 lua_cc_window: add setDimensionsAll option
Origin commit data
------------------
Commit: 5c26de095c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-21 (Sun, 21 Aug 2016)
2016-08-21 18:29:10 +02:00
Jacek Jendrzej
7e874ddf64 lua_cc_picture: add cpicture getHeight / getWidth option
Origin commit data
------------------
Commit: d5051a100f
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-08-21 (Sun, 21 Aug 2016)
2016-08-21 16:17:28 +02:00