M. Liebmann
31842369cc
Preparing the input classes for Lua
...
- Add non locale variants for CExtendedInput, CStringInput,
CStringInputSMS, CPINInput
THX Martii
2014-01-19 20:57:38 +01:00
M. Liebmann
0a5a7b3146
CScanSettings: convert char[...] configuration values to std::string
2014-01-19 20:57:38 +01:00
M. Liebmann
004aa84e32
SNeutrinoSettings: convert more char[...] configuration values to std::string
2014-01-19 20:57:37 +01:00
M. Liebmann
afbd87083b
Preparing the menu classes for Lua Part #3
...
- Add non locale variants for CMenuOptionNumberChooser and
CMenuOptionChooser
- Adaptation of CMenuOptionStringChooser, CChangeObserver
THX Martii
2014-01-19 20:57:37 +01:00
M. Liebmann
b41819190d
Preparing the menu classes for Lua Part #2
...
- Remove CMenuForwarderNonLocalized
- Add overloaded function CMenuForwarder for non local
THX Martii
2014-01-19 20:57:37 +01:00
M. Liebmann
2c9c9debcc
Preparing the menu classes for Lua Part #1
...
- Remove CNonLocalizedMenuSeparator
- Add overloaded function CMenuSeparator for non local
THX Martii
2014-01-19 20:57:37 +01:00
martii
c0a720bd8b
luainstance: support new text coloring scheme
...
Signed-off-by: Stefan Seyfried <seife@tuxbox-git.slipkontur.de >
2014-01-19 20:57:37 +01:00
Stefan Seyfried
966c7f1379
configure: try to autodetect lualib
2014-01-19 20:57:37 +01:00
Christian Ege
53ed75f66d
handling of luaposix for dynamic environment
2014-01-19 20:57:37 +01:00
Stefan Seyfried
a61dbcee0b
luainstance: return render width from RenderString
...
Return the string's renderwidth from RenderString. If boxh is < 0
then the string is not rendered and only the width is determined.
2014-01-19 20:57:37 +01:00
Stefan Seyfried
7c7c7e55a4
luainstance: remove utf8 parameter from RenderString, add center
...
Everybody should always be using utf8 anyway, so remove the "utf8"
parameter from RenderString and replace it with a "center" parameter
which centers the string horizontally in its box.
new usage:
RenderString(font, text, x, y, color, boxwidth, boxheight, center)
defaults:
color = COL_MENUCONTENT, boxwidth = window's width minus x
boxheight = 0, center = 0
2014-01-19 20:57:36 +01:00
Stefan Seyfried
3f57d7c528
luainstance: export customcolor.h colors, too
2014-01-19 20:57:36 +01:00
Stefan Seyfried
8af79e1152
luainstance: work around a signed/unsigned problem on ppc
2014-01-19 20:57:36 +01:00
Stefan Seyfried
ef512f897a
luainstance: allow any color for PaintBox, disable debug
2014-01-19 20:57:36 +01:00
Stefan Seyfried
a73dfbb2c5
luainstance: allow rounded corners in PaintBox
2014-01-19 20:57:36 +01:00
Stefan Seyfried
56db064368
luainstance: dynamic values are not static
2014-01-19 20:57:36 +01:00
Stefan Seyfried
f7fc13becd
luainstance: export FontHeight to Lua scripts
2014-01-19 20:57:36 +01:00
Stefan Seyfried
f43585cbe3
luainstance: also export RCInput constants
2014-01-19 20:57:36 +01:00
Stefan Seyfried
fee8c10f42
luainstance: export variables as tables
...
This exports arrays FONT_TYPE_foo as FONT['foo'], COL_bar als COL['bar']
and SCREEN_OFF_a as SCREEN['OFF_a'] instead of lots of single variables.
Later these could also be made dynamic if the need arises.
2014-01-19 20:57:36 +01:00
Stefan Seyfried
9bdc0309a7
luainstance: show errors from loadfile()
2014-01-19 20:57:36 +01:00
Stefan Seyfried
8dfa4c9bf8
luainstance: add minimal error reporting
2014-01-19 20:57:35 +01:00
Stefan Seyfried
eefd75537e
luainstance: add simple GetInput() method
...
use like this in the lua script:
--
RC_home = 174
local n = neutrino()
repeat msg, data = m:GetInput(1000) until msg == RC_home
2014-01-19 20:57:35 +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
Jacek Jendrzej
7b40b61c9a
remove CURRENTSERVICES_XML after reload channels
2014-01-18 21:02:23 +01:00
Jacek Jendrzej
59b3245680
CControlAPI::EpgSearchCGI add duration to txt output
2014-01-18 20:17:24 +01:00
Jacek Jendrzej
14580b1dd1
CRecordInstance::FillMovieInfo supplement to 9455b0eeda
, check current epg before we take title from timer
2014-01-18 19:58:40 +01:00
[CST] Focus
eba370d876
driver/vfd.cpp: add support to switch scroll on/off
2014-01-17 14:23:02 +04:00
[CST] Focus
b1f21b47ca
neutrino.cpp: add g_settings.lcd_scroll option;
...
move rcK and umount on shutdown later to fix deep-standby clock in case of /var partition (thanks Thomas)
2014-01-17 14:20:26 +04:00
[CST] Focus
42fef516fe
gui/vfd_setup.cpp: add option to switch on/off text scroll
2014-01-17 14:17:59 +04:00
[CST] Focus
1f2fc31438
locals: add locale for vfd scroll on/off option
2014-01-17 14:17:24 +04:00
Jacek Jendrzej
9455b0eeda
CRecordInstance::FillMovieInfo: -fix epg title if epgid removed http://www.dbox2world.net/board293-cst-coolstream/board314-cst-coolstream-development/12026-probleme-mit-timeraufnahme/
2014-01-16 20:58:14 +01:00
Jacek Jendrzej
3f65005339
CControlAPI:: epgsearchxml fix time format
2014-01-16 18:46:51 +01:00
Jacek Jendrzej
f373f621ef
CControlAPI:: -add epgsearchxml & epgsearch
2014-01-14 19:15:46 +01:00
svenhoefer
51a46646a8
Revert "zapit: improve the lockPlayBack "nonblank-Hack""
...
This reverts commit 1640784844
because previous changes are missing.
2014-01-13 21:22:40 +01:00
Stefan Seyfried
1640784844
zapit: improve the lockPlayBack "nonblank-Hack"
2014-01-13 21:09:03 +01:00
Stefan Seyfried
84dff7ea59
scannit: fix printf format
2014-01-13 21:03:32 +01:00
Stefan Seyfried
07caa88ad2
timerd: rename TIMER_NEXTPROGRAM
...
To ensure it is no longer used, rename it to __TIMER_NEXTPROGRAM.
It cannot be removed without breaking compatibility, since it is
part of the API (the integers values of enum CTimerEventTypes are
written to timerd.conf)
2014-01-13 21:03:11 +01:00
Stefan Seyfried
0d179f3f54
timerdclient: remove EVT_NEXTPROGRAM
...
...and EVT_ANNOUNCE_NEXTPROGRAM.
These are only internal API, so no incompatibility should occur.
2014-01-13 21:02:49 +01:00
Stefan Seyfried
1d0a23dbf3
reduce direct dependencies on timerdclient.h
...
Include timerdtypes.h instead of timerdclient.h where feasible, add direct instead of indirect includes of timerdclient.h where necessary. This reduces the number of files which depend on timerdclient.h from 134 to 16. Add/update copyright notices in the affected files.
2014-01-13 21:01:26 +01:00
Stefan Seyfried
49035cedec
timerd: get rid of unused CTimerd::TIMER_NEXTPROGRAM
...
This event should be completely obsolete (it was used before
EIT-update was working correctly), so get rid of it in the code.
For now it is just commented out, until further testing is done.
2014-01-13 20:57:40 +01:00
Stefan Seyfried
ecf430ba97
dboxinfo: fix format strings for uint64_t
2014-01-13 20:56:56 +01:00
Stefan Seyfried
c9a3b34810
streamts: set CPU freq to 'high' for streaming
2014-01-13 20:56:11 +01:00
Stefan Seyfried
8c0cb5b96e
streamts: put zapit back into standby after streaming
...
additionally, update copyright info
2014-01-13 20:55:49 +01:00
Stefan Seyfried
42bc6f3081
XMLTreeNode::AddNode: fix logic error (in unused branch)
2014-01-13 20:55:29 +01:00
Stefan Seyfried
6944d53cef
XML_Parser::storeAtts: don't leak in case of realloc failure
2014-01-13 20:55:09 +01:00
Stefan Seyfried
0cd6cfa68c
XML_Parser: initialize variable
2014-01-13 20:54:49 +01:00
M. Liebmann
c61d062124
Supplement to commit ae2a01a37a
2014-01-13 20:07:43 +01:00
[priv] M. Liebmann
ae2a01a37a
CRecordInstance: Turns message when recording start/end on or off
2014-01-13 19:42:46 +01:00
swing99
9fb64f13ce
- cables.xml: update Kabel Deutschland - Offensive 2012
2014-01-13 18:12:54 +01:00