You can subscribe to this list here.
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(5) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2013 |
Jan
(8) |
Feb
(6) |
Mar
(5) |
Apr
(7) |
May
(3) |
Jun
(5) |
Jul
|
Aug
(2) |
Sep
(4) |
Oct
(2) |
Nov
(8) |
Dec
(2) |
2014 |
Jan
(3) |
Feb
(2) |
Mar
(2) |
Apr
(3) |
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(4) |
Nov
(5) |
Dec
(1) |
2015 |
Jan
|
Feb
(6) |
Mar
(24) |
Apr
(29) |
May
(43) |
Jun
(17) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: GetAway <tux...@ne...> - 2015-04-12 15:25:50
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via fe3d32c7d4017a98a85147cefe5c425381768557 (commit) from 092be476b449689ce92db40e6bd620f48aaffc3a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit fe3d32c7d4017a98a85147cefe5c425381768557 Author: GetAway <get...@t-...> Date: Sun Apr 12 17:23:46 2015 +0200 controlAPI: introduce show signal strength Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/doc/nhttpd_controlapi.html b/tuxbox/neutrino/daemons/nhttpd/doc/nhttpd_controlapi.html index 7b38b97..dee0060 100644 --- a/tuxbox/neutrino/daemons/nhttpd/doc/nhttpd_controlapi.html +++ b/tuxbox/neutrino/daemons/nhttpd/doc/nhttpd_controlapi.html @@ -205,6 +205,11 @@ http://dbox/control/reloadplugins</a></td> </tr> <tr> + <td>44. <a href="#signal">Signalstärke anzeigen</a></td> + <td><a href="http://dbox/control/signal"> + http://dbox/control/signal</a></td> + </tr> + <tr> <td> </td> <td> </td> </tr> @@ -2114,7 +2119,7 @@ http://dbox:31339/0,0x0069,0x03ff,0x0400<br> <br> <!-- *********************************************************** --> -<div class="title1"><a name="reloadplugins"></a>41. Plugins neu laden</div> +<div class="title1"><a name="reloadplugins"></a>43. Plugins neu laden</div> <div class="URL">Handler: http://dbox/control/reloadplugins</div> <br> <b>Parameter:</b> keine<br> @@ -2123,5 +2128,27 @@ http://dbox:31339/0,0x0069,0x03ff,0x0400<br> Die Pluginliste wird neu geladen. <br><br> +<!-- *********************************************************** --> +<div class="title1"><a name="signal"></a>44. Signalstärke zeigen</div> +<div class="URL">Handler: http://dbox/control/signal</div> +<br> +<b>Parameter:</b> keine oder sig, snr, ber<br><br> +<b>Rückgabe</b>:<br> +SIG: 100<br> +SNR: 90<br> +BER: 0<br> +<br> +Signalstärke SIG in %, SNR in % und BER wird ausgegeben. +Wird ein spezieller Wert als Parameter angegeben, wird keine Beschreibung ausgegeben. +<br> +<div class="example"> +Beispiel:<br> +<br> +>>>http://dbox/control/signal?sig<br> +100<br> + </div> +<br> + + </body> </html> diff --git a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp index 3529662..2205a53 100644 --- a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp @@ -146,6 +146,7 @@ const CControlAPI::TyCgiCall CControlAPI::yCgiCallList[]= {"epgsearch", &CControlAPI::EpgSearchTXTCGI, ""}, {"epgsearchxml", &CControlAPI::EpgSearchXMLCGI, ""}, {"zapto", &CControlAPI::ZaptoCGI, "text/plain"}, + {"signal", &CControlAPI::SignalInfoCGI, "text/plain"}, {"getonidsid", &CControlAPI::GetChannel_IDCGI, "text/plain"}, // boxcontrol - system {"standby", &CControlAPI::StandbyCGI, "text/plain"}, @@ -1790,6 +1791,43 @@ void CControlAPI::SendChannelList(CyhookHandler *hh) } //----------------------------------------------------------------------------- +void CControlAPI::SignalInfoCGI(CyhookHandler *hh) +{ + CZapitClient::responseFESignal s; + NeutrinoAPI->Zapit->getFESignal(s); + + bool parame_empty = false; + + if (hh->ParamList["1"].empty()) + parame_empty = true; + + if ( parame_empty || (hh->ParamList["1"] == "sig") ){ + signal.sig = s.sig & 0xFFFF; + unsigned int sig = signal.sig * 100 / 65535; + if (parame_empty) + hh->printf("SIG: "); + hh->printf("%3u\n", sig); + } + if ( parame_empty || (hh->ParamList["1"] == "snr") ){ + signal.snr = s.snr & 0xFFFF; + unsigned int snr = signal.snr * 100 / 65535; + if (parame_empty) + hh->printf("SNR: "); + hh->printf("%3u\n", snr); + } + if ( parame_empty || (hh->ParamList["1"] == "ber") ){ + signal.ber = (s.ber < 0x3FFFF) ? s.ber : 0x3FFFF; + unsigned int ber = signal.ber / 2621; + if ((signal.ber > 0) && (signal.ber < 2621)) + ber = 1; + if (parame_empty) + hh->printf("BER: "); + hh->printf("%3u\n", ber); + } + +} + +//----------------------------------------------------------------------------- void CControlAPI::SendStreamInfo(CyhookHandler *hh) { diff --git a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.h b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.h index ddea0c6..a9979ee 100644 --- a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.h +++ b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.h @@ -28,6 +28,12 @@ private: int rc_send(int ev, unsigned int code, unsigned int value); + struct feSignal { + unsigned long sig; + unsigned long ber; + unsigned long snr; + } signal; + // send functions for ExecuteCGI (controld api) void SendEventList(CyhookHandler *hh,t_channel_id channel_id); void SendFoundEvents(CyhookHandler *hh, bool xml_format = false); @@ -100,6 +106,7 @@ private: void changeBouquetCGI(CyhookHandler *hh); void updateBouquetCGI(CyhookHandler *hh); void build_live_url(CyhookHandler *hh); + void SignalInfoCGI(CyhookHandler *hh); protected: static const unsigned int PLUGIN_DIR_COUNT = 5; ----------------------------------------------------------------------- Summary of changes: .../daemons/nhttpd/doc/nhttpd_controlapi.html | 29 ++++++++++++++- .../daemons/nhttpd/tuxboxapi/controlapi.cpp | 38 ++++++++++++++++++++ .../neutrino/daemons/nhttpd/tuxboxapi/controlapi.h | 7 ++++ 3 files changed, 73 insertions(+), 1 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-11 17:37:24
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 092be476b449689ce92db40e6bd620f48aaffc3a (commit) from d62606f5057552891ffbaf592dd47102a681c674 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 092be476b449689ce92db40e6bd620f48aaffc3a Author: GetAway <get...@t-...> Date: Sat Apr 11 19:35:49 2015 +0200 GreyBlue.css: fix alignment of radio-button description Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index ee6b52e..cc193f4 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.1.6 +version=2.8.1.7 date=11.04.2015 type=Release info=Tuxbox diff --git a/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-GreyBlue.css b/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-GreyBlue.css index d934c56..8500407 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-GreyBlue.css +++ b/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-GreyBlue.css @@ -63,7 +63,6 @@ button:hover,input[type="button"]:hover,input[type="submit"]:hover,input[type="f } input { - height: 22px; border: 1px solid #444444; background-color: #303030; border-radius: 3px; ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 2 +- .../daemons/nhttpd/web/styles/Y_Dist-GreyBlue.css | 1 - 2 files changed, 1 insertions(+), 2 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-11 16:29:23
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via d62606f5057552891ffbaf592dd47102a681c674 (commit) from bdec90cda38d2ef430676a2b9f62ef43836f4d23 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d62606f5057552891ffbaf592dd47102a681c674 Author: GetAway <get...@t-...> Date: Sat Apr 11 18:28:17 2015 +0200 yWeb: use only png for buttons in order to get more compatibility for other stylesheets, like from Coolstream Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css b/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css index 3bdb415..44c9276 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css @@ -46,7 +46,7 @@ button[ytype]{ button[ytype="save"]{background-image:url(/images/save.png);} button[ytype="saveall"]{background-image:url(/images/saveall.png);} button[ytype="cancel"]{background-image:url(/images/cross.png);} -button[ytype="refresh"],button[ytype="reboot"]{background-image:url(/images/reload.gif);} +button[ytype="refresh"],button[ytype="reboot"]{background-image:url(/images/reload.png);} button[ytype="record"]{background-image:url(/images/record.png);} button[ytype="zap"]{background-image:url(/images/zap.png);} button[ytype="timeup"]{background-image:url(/images/time_up.png);} @@ -55,7 +55,7 @@ button[ytype="timeadd"]{background-image:url(/images/time_add.png);} button[ytype="shot"]{background-image:url(/images/snapshot.png);} button[ytype="clearshot"]{background-image:url(/images/remove.png);} button[ytype="go"]{background-image:url(/images/accept.png);} -button[ytype="download"]{background-image:url(/images/wget.gif);} +button[ytype="download"]{background-image:url(/images/wget.png);} button[ytype="clear"]{background-image:url(/images/remove.png);} button[ytype="add"]{background-image:url(/images/new.png);} button[ytype="delete"]{background-image:url(/images/remove.png);} diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Timer_List.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Timer_List.yhtm index 9e4891c..6e88ad7 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Timer_List.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Timer_List.yhtm @@ -52,7 +52,7 @@ </td> <td> <a href="javascript:location.reload()"> - <img src="/images/reload.gif" alt="{=L:0010=}"/></a> + <img src="/images/reload.png" alt="{=L:0010=}"/></a> </td> </tr> </table> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index 88440e8..ee6b52e 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.1.5 -date=10.04.2015 +version=2.8.1.6 +date=11.04.2015 type=Release info=Tuxbox diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/reload.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/reload.gif deleted file mode 100644 index 8268958..0000000 Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/reload.gif and /dev/null differ diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/reload.png b/tuxbox/neutrino/daemons/nhttpd/web/images/reload.png new file mode 100644 index 0000000..0de2656 Binary files /dev/null and b/tuxbox/neutrino/daemons/nhttpd/web/images/reload.png differ diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/wget.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/wget.gif deleted file mode 100755 index f99a538..0000000 Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/wget.gif and /dev/null differ diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/wget.png b/tuxbox/neutrino/daemons/nhttpd/web/images/wget.png new file mode 100644 index 0000000..8fc08f5 Binary files /dev/null and b/tuxbox/neutrino/daemons/nhttpd/web/images/wget.png differ ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css | 4 ++-- .../neutrino/daemons/nhttpd/web/Y_Timer_List.yhtm | 2 +- tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 4 ++-- .../neutrino/daemons/nhttpd/web/images/reload.gif | Bin 248 -> 0 bytes .../neutrino/daemons/nhttpd/web/images/reload.png | Bin 0 -> 685 bytes tuxbox/neutrino/daemons/nhttpd/web/images/wget.gif | Bin 189 -> 0 bytes tuxbox/neutrino/daemons/nhttpd/web/images/wget.png | Bin 0 -> 910 bytes 7 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/reload.gif create mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/reload.png delete mode 100755 tuxbox/neutrino/daemons/nhttpd/web/images/wget.gif create mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/wget.png -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-10 19:14:22
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via bdec90cda38d2ef430676a2b9f62ef43836f4d23 (commit) from c5ab526db16d9c1a5770044d8dddef2656feb372 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit bdec90cda38d2ef430676a2b9f62ef43836f4d23 Author: GetAway <get...@t-...> Date: Fri Apr 10 21:12:18 2015 +0200 yWeb: more translations Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/neutrinoyparser.cpp b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/neutrinoyparser.cpp index 73b2544..f38a1af 100644 --- a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/neutrinoyparser.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/neutrinoyparser.cpp @@ -379,10 +379,10 @@ std::string CNeutrinoYParser::func_get_bouquets_with_epg(CyhookHandler *hh, std: channel->name, (channel->service_type == ST_NVOD_REFERENCE_SERVICE) ? " (NVOD)" : "", channel->channel_id, - ((NeutrinoAPI->ChannelListEvents[channel->channel_id]) ? "<img src=\"/images/elist.gif\" alt=\"Programmvorschau\" style=\"border: 0px\" />" : "")); + ((NeutrinoAPI->ChannelListEvents[channel->channel_id]) ? "<img src=\"/images/elist.gif\" alt=\"{=L:9800=}\" style=\"border: 0px\" />" : "")); if (channel->channel_id == current_channel) - yresult += string_printf("\n <a href=\"javascript:do_streaminfo()\"><img src=\"/images/streaminfo.png\" alt=\"Streaminfo\" style=\"border: 0px\" /></a>"); + yresult += string_printf("\n <a href=\"javascript:do_streaminfo()\"><img src=\"/images/streaminfo.png\" alt=\"{=L:9801=}\" style=\"border: 0px\" /></a>"); yresult += string_printf("</td></tr></table>\n</td>\n</tr>\n"); @@ -440,7 +440,7 @@ std::string CNeutrinoYParser::func_get_bouquets_with_epg(CyhookHandler *hh, std: yresult += string_printf("<tr><td class=\"%cepg\">",classname); yresult += string_printf("%s %s " - "<span style=\"font-size: 8pt; white-space: nowrap\">(%ld von %d min, %d%%)</span>" + "<span style=\"font-size: 8pt; white-space: nowrap\">(%ld {=L:9802=} %d {=L:9803=}, %d%%)</span>" , timestr.c_str() , event->description.c_str() , (time(NULL) - event->startTime)/60 @@ -683,9 +683,9 @@ std::string CNeutrinoYParser::func_get_current_stream_info(CyhookHandler *hh, s hh->ParamList["tsid"] = itoh(serviceinfo.tsid); hh->ParamList["vpid"] = itoh(serviceinfo.vpid); hh->ParamList["apid"] = itoh(serviceinfo.apid); - hh->ParamList["vtxtpid"] = (serviceinfo.vtxtpid != 0)?itoh(serviceinfo.vtxtpid):"nicht verfügbar"; - hh->ParamList["pmtpid"] = (serviceinfo.pmtpid != 0)?itoh(serviceinfo.pmtpid):"nicht verfügbar"; - hh->ParamList["pcrpid"] = (serviceinfo.pcrpid != 0)?itoh(serviceinfo.pcrpid):"nicht verfügbar"; + hh->ParamList["vtxtpid"] = (serviceinfo.vtxtpid != 0)?itoh(serviceinfo.vtxtpid):"{=L:9804=}"; + hh->ParamList["pmtpid"] = (serviceinfo.pmtpid != 0)?itoh(serviceinfo.pmtpid):"{=L:9804=}"; + hh->ParamList["pcrpid"] = (serviceinfo.pcrpid != 0)?itoh(serviceinfo.pcrpid):"{=L:9804=}"; if (serviceinfo.polarisation != 2) /* only satellite has polarisation */ { hh->ParamList["tsfrequency"] = string_printf("%d.%03d MHz", serviceinfo.tsfrequency / 1000, serviceinfo.tsfrequency % 1000); @@ -789,7 +789,7 @@ std::string CNeutrinoYParser::func_get_timer_list(CyhookHandler */*hh*/, std::s { sAddData = NeutrinoAPI->GetServiceName(timer->channel_id); if (sAddData.empty()) - sAddData = NeutrinoAPI->Zapit->isChannelTVChannel(timer->channel_id) ? "Unbekannter TV-Kanal" : "Unbekannter Radiokanal"; + sAddData = NeutrinoAPI->Zapit->isChannelTVChannel(timer->channel_id) ? "{=L:9805=}" : "{=L:9806=}"; if( timer->apids != TIMERD_APIDS_CONF) { @@ -829,9 +829,9 @@ std::string CNeutrinoYParser::func_get_timer_list(CyhookHandler */*hh*/, std::s { sAddData = "Standby: "; if(timer->standby_on) - sAddData+= "An"; + sAddData+= "{=L:0031=}"; else - sAddData+="Aus"; + sAddData+="{=L:0032=}"; } break; case CTimerd::TIMER_REMIND : diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index bb2ae88..88440e8 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.1.4 -date=06.04.2015 +version=2.8.1.5 +date=10.04.2015 type=Release info=Tuxbox diff --git a/tuxbox/neutrino/daemons/nhttpd/web/languages/Deutsch b/tuxbox/neutrino/daemons/nhttpd/web/languages/Deutsch index 5a6dfb2..d14628e 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/languages/Deutsch +++ b/tuxbox/neutrino/daemons/nhttpd/web/languages/Deutsch @@ -997,6 +997,15 @@ 4500=Esound Port 4501=Standard +#========= Tuxbox API +9800=Programmvorschau +9801=Streaminfo +9802=von +9803=min +9804=nicht verfügbar +9805=Unbekannter TV-Kanal +9806=Unbekannter Radio-Kanal + #========= Remote control 9900=Standby / Ausschalten 9901=Stummschalten diff --git a/tuxbox/neutrino/daemons/nhttpd/web/languages/English b/tuxbox/neutrino/daemons/nhttpd/web/languages/English index f25357a..0ea7c06 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/languages/English +++ b/tuxbox/neutrino/daemons/nhttpd/web/languages/English @@ -997,6 +997,15 @@ 4500=Esound Port 4501=default +#========= Tuxbox API +9800=Program preview +9801=Streaminfo +9802=from +9803=min +9804=not available +9805=Unknown TV-Channel +9806=Unknown Radio-Channel + #========= Remote control 9900=Standby / Shutdown 9901=Mute ----------------------------------------------------------------------- Summary of changes: .../daemons/nhttpd/tuxboxapi/neutrinoyparser.cpp | 18 +++++++++--------- tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 4 ++-- .../neutrino/daemons/nhttpd/web/languages/Deutsch | 9 +++++++++ .../neutrino/daemons/nhttpd/web/languages/English | 9 +++++++++ 4 files changed, 29 insertions(+), 11 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-06 10:43:50
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via c5ab526db16d9c1a5770044d8dddef2656feb372 (commit) from 19099fc1b0f4259268b19c7f45e6b97da981aeeb (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c5ab526db16d9c1a5770044d8dddef2656feb372 Author: GetAway <get...@t-...> Date: Mon Apr 6 12:43:11 2015 +0200 nhttpd: add missing API documentation Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/doc/nhttpd_controlapi.html b/tuxbox/neutrino/daemons/nhttpd/doc/nhttpd_controlapi.html index 3a7748e..7b38b97 100644 --- a/tuxbox/neutrino/daemons/nhttpd/doc/nhttpd_controlapi.html +++ b/tuxbox/neutrino/daemons/nhttpd/doc/nhttpd_controlapi.html @@ -200,6 +200,11 @@ http://dbox/control/build_live_url</a></td> </tr> <tr> + <td>43. <a href="#reloadplugins">Plugins neu laden</a></td> + <td><a href="http://dbox/control/reloadplugins"> + http://dbox/control/reloadplugins</a></td> + </tr> + <tr> <td> </td> <td> </td> </tr> @@ -2108,6 +2113,15 @@ http://dbox:31339/0,0x0069,0x03ff,0x0400<br> </div> <br> +<!-- *********************************************************** --> +<div class="title1"><a name="reloadplugins"></a>41. Plugins neu laden</div> +<div class="URL">Handler: http://dbox/control/reloadplugins</div> +<br> +<b>Parameter:</b> keine<br> +<b>Rükgabe</b>: ok<br> +<br> +Die Pluginliste wird neu geladen. +<br><br> </body> </html> ----------------------------------------------------------------------- Summary of changes: .../daemons/nhttpd/doc/nhttpd_controlapi.html | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-06 09:47:31
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 19099fc1b0f4259268b19c7f45e6b97da981aeeb (commit) from f1893ee678aa2681a2afe6f7f6b105192a53092c (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 19099fc1b0f4259268b19c7f45e6b97da981aeeb Author: GetAway <get...@t-...> Date: Mon Apr 6 11:46:40 2015 +0200 yWeb: fix lost description in last commit Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_video_audio.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_video_audio.yhtm index 502d89b..c4ce7de 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_video_audio.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_video_audio.yhtm @@ -189,7 +189,7 @@ function do_submit() </table> <br/> <input type="hidden" name="execute" value="include-block:Y_Blocks.txt;video_audio_save_settings;nix"/> - {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} (*) {=L:0033=} </form> </div> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index 0c6871f..bb2ae88 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.1.3 +version=2.8.1.4 date=06.04.2015 type=Release info=Tuxbox ----------------------------------------------------------------------- Summary of changes: .../daemons/nhttpd/web/Y_Settings_video_audio.yhtm | 2 +- tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-06 09:38:11
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via f1893ee678aa2681a2afe6f7f6b105192a53092c (commit) from b25ee36f893e863e077515f33b516c960d1baaa1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f1893ee678aa2681a2afe6f7f6b105192a53092c Author: svenhoefer <sve...@sv...> Date: Mon Apr 6 11:37:20 2015 +0200 yWeb: use neutrino_blocks to prevent duplicate code Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_buttons.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_buttons.yhtm index bd86735..38d9fab 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_buttons.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_buttons.yhtm @@ -368,9 +368,7 @@ function do_submit() </table> <br /> <input type="hidden" name="execute" value="include-block:Y_Blocks.txt;buttons_save_settings;nix" /> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_lcd.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_lcd.yhtm index db388ae..87a12f7 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_lcd.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_lcd.yhtm @@ -168,9 +168,7 @@ function do_submit() </table> <br /> <input type="hidden" name="execute" value="include-block:Y_Blocks.txt;lcd_save_settings;nix" /> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_personalize.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_personalize.yhtm index bf0f174..0388bf9 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_personalize.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_personalize.yhtm @@ -362,9 +362,7 @@ function do_init() </table> <br /> <input type="hidden" name="execute" value="include-block:Y_Blocks.txt;personalize_save_settings;nix"/> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_video_audio.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_video_audio.yhtm index 3f036fb..502d89b 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_video_audio.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_video_audio.yhtm @@ -189,9 +189,7 @@ function do_submit() </table> <br/> <input type="hidden" name="execute" value="include-block:Y_Blocks.txt;video_audio_save_settings;nix"/> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> (*) {=L:0033=} + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index acd9de2..0c6871f 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.1.2 -date=05.04.2015 +version=2.8.1.3 +date=06.04.2015 type=Release info=Tuxbox diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt index aa113e2..3da3992 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt @@ -40,6 +40,13 @@ start-block~neutrino_form_helpbox </div> end-block~neutrino_form_helpbox +# ------- Neutrino form submit buttons +start-block~neutrino_form_submit + <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> + <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> + <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> +end-block~neutrino_form_submit + # ------- Neutrino form-data: record ------------------------------- start-block~neutrino_form-data_record <div class="work_box"> @@ -172,9 +179,7 @@ start-block~neutrino_form-data_record <input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/> <input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_record_save_settings;nix"/> <input type="hidden" name="form" value="{=form=}"/> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> @@ -439,9 +444,7 @@ start-block~neutrino_form-data_movieplayer <input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/> <input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_movieplayer_save_settings;nix"/> <input type="hidden" name="form" value="{=form=}"/> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> @@ -599,9 +602,7 @@ start-block~neutrino_form-data_parental <input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/> <input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_parental_save_settings;nix"/> <input type="hidden" name="form" value="{=form=}"/> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> @@ -910,9 +911,7 @@ start-block~neutrino_form-data_diverse <input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/> <input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_diverse_save_settings;nix"/> <input type="hidden" name="form" value="{=form=}"/> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> @@ -1116,9 +1115,7 @@ start-block~neutrino_form-data_bootoptions <input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/> <input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_bootoptions_save_settings;nix"/> <input type="hidden" name="form" value="{=form=}"/> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> @@ -1212,9 +1209,7 @@ start-block~neutrino_form-data_pictureviewer <input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/> <input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_pictureviewer_save_settings;nix"/> <input type="hidden" name="form" value="{=form=}"/> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> @@ -1319,9 +1314,7 @@ start-block~neutrino_form-data_audioplayer <input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/> <input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_audioplayer_save_settings;nix"/> <input type="hidden" name="form" value="{=form=}"/> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> @@ -1611,9 +1604,7 @@ start-block~neutrino_form-data_direct_recording <input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/> <input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_direct_recording_save_settings;nix"/> <input type="hidden" name="form" value="{=form=}"/> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> @@ -1707,9 +1698,7 @@ start-block~neutrino_form-data_esound <input type="hidden" name="tmpl" value="Y_Settings_neutrino_forms.yhtm"/> <input type="hidden" name="execute" value="include-block:Y_neutrino_Blocks.txt;neutrino_esound_save_settings;nix"/> <input type="hidden" name="form" value="{=form=}"/> - <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> - <button type="button" ytype="refresh" onclick="dbox_reload_neutrino()">{=L:1000=}</button> - <a href="javascript:top.top_main.prim_menu.nav('info', 'Y_Info_Help.yhtm');" class="inlink">{=L:0046=}</a> + {=include-block:Y_neutrino_Blocks.txt;neutrino_form_submit;nothing=} </form> </div> </div> ----------------------------------------------------------------------- Summary of changes: .../daemons/nhttpd/web/Y_Settings_buttons.yhtm | 4 +- .../daemons/nhttpd/web/Y_Settings_lcd.yhtm | 4 +- .../daemons/nhttpd/web/Y_Settings_personalize.yhtm | 4 +- .../daemons/nhttpd/web/Y_Settings_video_audio.yhtm | 4 +- tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 4 +- .../daemons/nhttpd/web/Y_neutrino_Blocks.txt | 43 +++++++------------ 6 files changed, 22 insertions(+), 41 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-05 19:06:19
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via b25ee36f893e863e077515f33b516c960d1baaa1 (commit) from 14c073535fd89d858550a0d3ab010af224a9bd39 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b25ee36f893e863e077515f33b516c960d1baaa1 Author: GetAway <get...@t-...> Date: Sun Apr 5 21:03:04 2015 +0200 yWeb: fix saving of direct_recording Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index b5c6cc0..acd9de2 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.1.1 +version=2.8.1.2 date=05.04.2015 type=Release info=Tuxbox diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt index bdd126d..aa113e2 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt @@ -1637,17 +1637,6 @@ function form_init() function do_submit() { - document.f.recording_filename_template_default.value = encodeURI(document.f.recording_filename_template_default.value); - document.f.recording_filename_template_0.value = encodeURI(document.f.recording_filename_template_0.value); - document.f.recording_filename_template_1.value = encodeURI(document.f.recording_filename_template_1.value); - document.f.recording_filename_template_2.value = encodeURI(document.f.recording_filename_template_2.value); - document.f.recording_filename_template_3.value = encodeURI(document.f.recording_filename_template_3.value); - document.f.recording_filename_template_4.value = encodeURI(document.f.recording_filename_template_4.value); - document.f.recording_filename_template_5.value = encodeURI(document.f.recording_filename_template_5.value); - document.f.recording_filename_template_6.value = encodeURI(document.f.recording_filename_template_6.value); - document.f.recording_filename_template_7.value = encodeURI(document.f.recording_filename_template_7.value); - document.f.recording_filename_template_8.value = encodeURI(document.f.recording_filename_template_8.value); - document.f.recording_filename_template_9.value = encodeURI(document.f.recording_filename_template_9.value); show_waitbox(true); document.f.submit(); } @@ -1667,8 +1656,8 @@ start-block~neutrino_direct_recording_save_settings {=ini-set:/var/tuxbox/config/neutrino.conf;recording_choose_direct_rec_dir;{=recording_choose_direct_rec_dir=}~cache=} {=ini-set:/var/tuxbox/config/neutrino.conf;recording_max_rectime;{=max_rectime=}~cache=} {=ini-set:/var/tuxbox/config/neutrino.conf;recording_filename_template_default;{=recording_filename_template_default=}~cache=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_default;{=recording_splitsize_default=}~open=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_permissions;{=recording_dir_permissions=}~save=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_default;{=recording_splitsize_default=}~cache=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_permissions;{=recording_dir_permissions=}~cache=} {=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_0;{=recording_dir_0=}~cache=} {=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_1;{=recording_dir_1=}~cache=} {=ini-set:/var/tuxbox/config/neutrino.conf;recording_dir_2;{=recording_dir_2=}~cache=} @@ -1689,16 +1678,16 @@ start-block~neutrino_direct_recording_save_settings {=ini-set:/var/tuxbox/config/neutrino.conf;recording_filename_template_7;{=recording_filename_template_7=}~cache=} {=ini-set:/var/tuxbox/config/neutrino.conf;recording_filename_template_8;{=recording_filename_template_8=}~cache=} {=ini-set:/var/tuxbox/config/neutrino.conf;recording_filename_template_9;{=recording_filename_template_9=}~cache=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_0;{=recording_splitsize_0=}~open=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_1;{=recording_splitsize_1=}~open=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_2;{=recording_splitsize_2=}~open=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_3;{=recording_splitsize_3=}~open=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_4;{=recording_splitsize_4=}~open=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_5;{=recording_splitsize_5=}~open=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_6;{=recording_splitsize_6=}~open=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_7;{=recording_splitsize_7=}~open=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_8;{=recording_splitsize_8=}~open=} -{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_9;{=recording_splitsize_9=}~open=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_0;{=recording_splitsize_0=}~cache=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_1;{=recording_splitsize_1=}~cache=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_2;{=recording_splitsize_2=}~cache=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_3;{=recording_splitsize_3=}~cache=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_4;{=recording_splitsize_4=}~cache=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_5;{=recording_splitsize_5=}~cache=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_6;{=recording_splitsize_6=}~cache=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_7;{=recording_splitsize_7=}~cache=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_8;{=recording_splitsize_8=}~cache=} +{=ini-set:/var/tuxbox/config/neutrino.conf;recording_splitsize_9;{=recording_splitsize_9=}~save=} end-block~neutrino_direct_recording_save_settings # ------- Neutrino form-data: esound ------------------------------- ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 2 +- .../daemons/nhttpd/web/Y_neutrino_Blocks.txt | 35 +++++++------------- 2 files changed, 13 insertions(+), 24 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-05 18:57:49
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 14c073535fd89d858550a0d3ab010af224a9bd39 (commit) from 7721464dc4e3d89b58c565772b02148184978831 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 14c073535fd89d858550a0d3ab010af224a9bd39 Author: GetAway <get...@t-...> Date: Sun Apr 5 20:56:58 2015 +0200 yWeb: save seTtings of timerd.conf only once Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index 81c117e..b5c6cc0 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.1.0 +version=2.8.1.1 date=05.04.2015 type=Release info=Tuxbox diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt index 4423fb8..bdd126d 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_neutrino_Blocks.txt @@ -281,9 +281,9 @@ start-block~neutrino_record_save_settings {=ini-set:/var/tuxbox/config/neutrino.conf;recording_vcr_no_scart;{=h_vcr_no_scart=}~cache=} {=ini-set:/var/tuxbox/config/neutrino.conf;recording_in_spts_mode;{=h_in_spts_mode=}~cache=} {=ini-set:/var/tuxbox/config/neutrino.conf;recording_audio_pids_default;{=recording_audio_pids_default=}~save=} -{=ini-set:/var/tuxbox/config/timerd.conf;EXTRA_TIME_START;{=EXTRA_TIME_START=}=} -{=ini-set:/var/tuxbox/config/timerd.conf;EXTRA_TIME_END;{=EXTRA_TIME_END=}=} -{=ini-set:/var/tuxbox/config/timerd.conf;ZAPTO_EXTRA_TIME_START;{=ZAPTO_EXTRA_TIME_START=}=} +{=ini-set:/var/tuxbox/config/timerd.conf;EXTRA_TIME_START;{=EXTRA_TIME_START=}~open=} +{=ini-set:/var/tuxbox/config/timerd.conf;EXTRA_TIME_END;{=EXTRA_TIME_END=}~cache=} +{=ini-set:/var/tuxbox/config/timerd.conf;ZAPTO_EXTRA_TIME_START;{=ZAPTO_EXTRA_TIME_START=}~save=} end-block~neutrino_record_save_settings ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 2 +- .../daemons/nhttpd/web/Y_neutrino_Blocks.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-05 18:49:10
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 7721464dc4e3d89b58c565772b02148184978831 (commit) from 9e1a70c549be24cf7347d391e6aefdf56398e554 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 7721464dc4e3d89b58c565772b02148184978831 Author: GetAway <get...@t-...> Date: Sun Apr 5 20:43:06 2015 +0200 yWeb: introduce multilanguage (part5) now u can select languages Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_About.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_About.yhtm index d9b2619..e72150a 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_About.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_About.yhtm @@ -1,4 +1,4 @@ -{=var-set:cancache=yPConf=} +{=var-set:cancache=yPyes=} {=include-block:Y_Blocks.txt;head=} </head> {=var-set:alt_httpd={=ini-get:/var/tuxbox/config/nhttpd.conf;WebsiteMain.override_directory;/var/httpd=}=} @@ -6,7 +6,7 @@ <body> <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-Info-About=}{=var-set:menu=About=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> + {=var-set:help_url=Help-Info-About=}{=var-set:menu={=L:3001=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> <div class="work_box_body"> <table border="0" cellpadding="2" cellspacing="4"> <tr> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt index 915360c..1ba232d 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt @@ -198,9 +198,9 @@ start-block~no_management </head> <body> <br /> -<div class="y_head">Error</div> -<div class="y_work_box" title="This page could be used for management proposes only"> - Der Aufruf dieser Seite ist nur fr Management Zwecke erlaubt. +<div class="y_head">{=L:0054=}</div> +<div class="y_work_box"> + {=L:0055=} </div> </body> </html> @@ -223,14 +223,13 @@ end-block~management_check_bottom # ------- Snip: Wait Message Layer-div hidden start-block~snip_wait <div class="y_wait_box" id="wait"> - <div class="y_wait_box_head"><h2>{=if-empty:{=var-get:wait_text=}~Anfrage wird bearbeitet~{=var-get:wait_text=}=}</h2></div> + <div class="y_wait_box_head"><h2>{=if-empty:{=var-get:wait_text=}~{=L:0056=}~{=var-get:wait_text=}=}</h2></div> <div class="y_wait_box_body"> <p align="center"> <span class="y_wait_box_Main"> - {=if-empty:{=var-get:wait_text=}~Anfrage wird bearbeitet~{=var-get:wait_text=}=}</span><br /> + {=if-empty:{=var-get:wait_text=}~{=L:0056=}~{=var-get:wait_text=}=}</span><br /> <img border="0" src="/images/wait.gif" width="20" height="20" alt="wait" /><br /><br /> - Bitte warten<br /> - Please wait + {=L:0057=}<br /> </p> </div> </div> @@ -239,14 +238,13 @@ end-block~snip_wait # ------- Snip: Wait Message Layer-div shown start-block~snip_show_wait <div class="y_wait_box_visible" id="wait"> - <div class="y_wait_box_head"><h2>{=if-empty:{=var-get:wait_text=}~Anfrage wird bearbeitet~{=var-get:wait_text=}=}</h2></div> + <div class="y_wait_box_head"><h2>{=if-empty:{=var-get:wait_text=}~{=L:0056=}~{=var-get:wait_text=}=}</h2></div> <div class="y_wait_box_body"> <p align="center"> <span class="y_wait_box_Main"> - {=if-empty:{=var-get:wait_text=}~Anfrage wird bearbeitet~{=var-get:wait_text=}=}</span><br /> + {=if-empty:{=var-get:wait_text=}~{=L:0056=}~{=var-get:wait_text=}=}</span><br /> <img border="0" src="/images/wait.gif" width="20" height="20" alt="wait" /><br /><br /> - Bitte warten<br /> - Please wait + {=L:0057=}<br /> </p> </div> </div> @@ -344,7 +342,7 @@ start-block~frame_main </frameset> <noframes> <body> - <p>Your Browser does not support Frames.</p> + <p>{=L:0000=}</p> </body> </noframes> </html> @@ -369,7 +367,7 @@ start-block~frame_secondary </frameset> <noframes> <body> - <p>Your Browser does not support Frames.</p> + <p>{=L:0000=}</p> </body> </noframes> </html> @@ -442,7 +440,7 @@ start-block~frame_live_epg </frameset> <noframes> <body> - <p>Your Browser does not support Frames.</p> + <p>{=L:0000=}</p> </body> </noframes> </html> @@ -457,32 +455,32 @@ end-block~remote start-block~remote_standard <img src="images/rc.jpg" usemap="#rc" alt="remote" /> <map name="rc" id="rc"> - <area shape="rect" href="javascript:rcsim('KEY_SETUP')" coords="7,95,45,109" /> - <area shape="circle" href="javascript:rcsim('KEY_7')" coords="60,102,10" /> - <area shape="circle" href="javascript:rcsim('KEY_4')" coords="60,78,10" /> - <area shape="circle" href="javascript:rcsim('KEY_9')" coords="102,92,10" /> - <area shape="circle" href="javascript:rcsim('KEY_8')" coords="82,95,10" /> - <area shape="circle" href="javascript:rcsim('KEY_6')" coords="102,71,10" /> - <area shape="circle" href="javascript:rcsim('KEY_5')" coords="80,73,10" /> - <area shape="circle" href="javascript:rcsim('KEY_3')" coords="102,49,10" /> - <area shape="circle" href="javascript:rcsim('KEY_2')" coords="82,51,10" /> - <area shape="circle" href="javascript:rcsim('KEY_1')" coords="60,55,10" /> - <area shape="circle" href="javascript:rcsim('KEY_0')" coords="59,126,11" /> - <area shape="poly" href="javascript:rcsim('KEY_LEFT')" coords="35,264,51,252,45,238,50,222,39,210,27,239" /> - <area shape="poly" href="javascript:rcsim('KEY_RIGHT')" coords="97,265,87,255,91,241,85,223,98,210,108,240" /> - <area shape="poly" href="javascript:rcsim('KEY_UP')" coords="83,216,95,206,69,195,41,206,53,220,69,214" /> - <area shape="poly" href="javascript:rcsim('KEY_DOWN')" coords="95,271,85,255,71,262,51,256,41,268,68,283" /> - <area shape="rect" href="javascript:rcsim('KEY_HOME')" coords="7,72,45,86" /> - <area shape="circle" href="javascript:rcsim('KEY_MUTE')" coords="61,321,10" /> - <area shape="circle" href="javascript:rcsim('KEY_OK')" coords="66,237,18" /> - <area shape="circle" href="javascript:rcsim('KEY_BLUE')" coords="100,139,12" /> - <area shape="circle" href="javascript:rcsim('KEY_YELLOW')" coords="60,153,11" /> - <area shape="circle" href="javascript:rcsim('KEY_GREEN')" coords="37,171,12" /> - <area shape="circle" href="javascript:rcsim('KEY_RED')" coords="21,196,11" /> - <area shape="circle" href="javascript:rcsim('KEY_HELP')" coords="101,333,10" /> - <area shape="circle" href="javascript:rcsim('KEY_VOLUMEUP')" coords="17,270,10" /> - <area shape="circle" href="javascript:rcsim('KEY_VOLUMEDOWN')" coords="30,293,9" /> - <area shape="rect" href="javascript:rcsim('KEY_POWER')" coords="7,49,46,64" /> + <area shape="rect" href="javascript:rcsim('KEY_SETUP')" coords="7,95,45,109" title="{=L:9924=}" /> + <area shape="circle" href="javascript:rcsim('KEY_9')" coords="102,92,10" title="{=L:9910=}" /> + <area shape="circle" href="javascript:rcsim('KEY_8')" coords="82,95,10" title="{=L:9909=}" /> + <area shape="circle" href="javascript:rcsim('KEY_7')" coords="60,102,10" title="{=L:9908=}" /> + <area shape="circle" href="javascript:rcsim('KEY_6')" coords="102,71,10" title="{=L:9907=}" /> + <area shape="circle" href="javascript:rcsim('KEY_5')" coords="80,73,10" title="{=L:9906=}" /> + <area shape="circle" href="javascript:rcsim('KEY_4')" coords="60,78,10" title="{=L:9905=}" /> + <area shape="circle" href="javascript:rcsim('KEY_3')" coords="102,49,10" title="{=L:9904=}" /> + <area shape="circle" href="javascript:rcsim('KEY_2')" coords="82,51,10" title="{=L:9903=}" /> + <area shape="circle" href="javascript:rcsim('KEY_1')" coords="60,55,10" title="{=L:9902=}" /> + <area shape="circle" href="javascript:rcsim('KEY_0')" coords="59,126,11" title="{=L:9911=}" /> + <area shape="poly" href="javascript:rcsim('KEY_LEFT')" coords="35,264,51,252,45,238,50,222,39,210,27,239" title="{=L:9922=}" /> + <area shape="poly" href="javascript:rcsim('KEY_RIGHT')" coords="97,265,87,255,91,241,85,223,98,210,108,240" title="{=L:9923=}" /> + <area shape="poly" href="javascript:rcsim('KEY_UP')" coords="83,216,95,206,69,195,41,206,53,220,69,214" title="{=L:9920=}" /> + <area shape="poly" href="javascript:rcsim('KEY_DOWN')" coords="95,271,85,255,71,262,51,256,41,268,68,283" title="{=L:9921=}" /> + <area shape="rect" href="javascript:rcsim('KEY_HOME')" coords="7,72,45,86" title="{=L:9925=}" /> + <area shape="circle" href="javascript:rcsim('KEY_MUTE')" coords="61,321,10" title="{=L:9901=}" /> + <area shape="circle" href="javascript:rcsim('KEY_OK')" coords="66,237,18" title="{=L:9919=}" /> + <area shape="circle" href="javascript:rcsim('KEY_BLUE')" coords="100,139,12" title="{=L:9918=}" /> + <area shape="circle" href="javascript:rcsim('KEY_YELLOW')" coords="60,153,11" title="{=L:9917=}" /> + <area shape="circle" href="javascript:rcsim('KEY_GREEN')" coords="37,171,12" title="{=L:9916=}" /> + <area shape="circle" href="javascript:rcsim('KEY_RED')" coords="21,196,11" title="{=L:9915=}" /> + <area shape="circle" href="javascript:rcsim('KEY_HELP')" coords="101,333,10" title="{=L:9914=}" /> + <area shape="circle" href="javascript:rcsim('KEY_VOLUMEUP')" coords="17,270,10" title="{=L:9912=}" /> + <area shape="circle" href="javascript:rcsim('KEY_VOLUMEDOWN')" coords="30,293,9" title="{=L:9913=}" /> + <area shape="rect" href="javascript:rcsim('KEY_POWER')" coords="7,49,46,64" title="{=L:9900=}" /> </map> end-block~remote_standard @@ -490,31 +488,31 @@ end-block~remote_standard start-block~remote_sagem <img src="images/rc_sagem.jpg" usemap="#rc" alt="remote" /> <map name="rc" id="rc"> - <area shape="poly" href="javascript:rcsim('KEY_RIGHT')" coords="100,117,100,180,67,146,100,116" /> - <area shape="poly" href="javascript:rcsim('KEY_DOWN')" coords="36,181,101,180,66,146" /> - <area shape="poly" href="javascript:rcsim('KEY_UP')" coords="101,116,36,116,66,146" /> - <area shape="poly" href="javascript:rcsim('KEY_LEFT')" coords="66,147,36,117,35,182" /> - <area shape="circle" href="javascript:rcsim('KEY_SETUP')" coords="105,100,15" /> - <area shape="circle" href="javascript:rcsim('KEY_HELP')" coords="32,100,16" /> - <area shape="circle" href="javascript:rcsim('KEY_POWER')" coords="108,33,15" /> - <area shape="circle" href="javascript:rcsim('KEY_MUTE')" coords="69,255,13" /> - <area shape="circle" href="javascript:rcsim('KEY_VOLUMEUP')" coords="92,225,17" /> - <area shape="circle" href="javascript:rcsim('KEY_VOLUMEDOWN')" coords="47,225,17" /> - <area shape="circle" href="javascript:rcsim('KEY_OK')" coords="37,196,11" /> - <area shape="circle" href="javascript:rcsim('KEY_HOME')" coords="103,195,11" /> - <area shape="circle" href="javascript:rcsim('KEY_BLUE')" coords="108,72,11" /> - <area shape="circle" href="javascript:rcsim('KEY_RED')" coords="30,72,11" /> - <area shape="circle" href="javascript:rcsim('KEY_GREEN')" coords="54,57,11" /> - <area shape="circle" href="javascript:rcsim('KEY_YELLOW')" coords="85,57,11" /> - <area shape="circle" href="javascript:rcsim('KEY_0')" coords="69,363,12" /> - <area shape="circle" href="javascript:rcsim('KEY_9')" coords="102,336,12" /> - <area shape="circle" href="javascript:rcsim('KEY_8')" coords="69,337,12" /> - <area shape="circle" href="javascript:rcsim('KEY_7')" coords="37,336,12" /> - <area shape="circle" href="javascript:rcsim('KEY_6')" coords="102,310,12" /> - <area shape="circle" href="javascript:rcsim('KEY_5')" coords="69,310,12" /> - <area shape="circle" href="javascript:rcsim('KEY_4')" coords="37,310,12" /> - <area shape="circle" href="javascript:rcsim('KEY_3')" coords="102,284,12" /> - <area shape="circle" href="javascript:rcsim('KEY_2')" coords="69,284,12" /> - <area shape="circle" href="javascript:rcsim('KEY_1')" coords="37,284,12" /> + <area shape="poly" href="javascript:rcsim('KEY_RIGHT')" coords="100,117,100,180,67,146,100,116" title="{=L:9923=}" /> + <area shape="poly" href="javascript:rcsim('KEY_DOWN')" coords="36,181,101,180,66,146" title="{=L:9921=}" /> + <area shape="poly" href="javascript:rcsim('KEY_UP')" coords="101,116,36,116,66,146" title="{=L:9920=}" /> + <area shape="poly" href="javascript:rcsim('KEY_LEFT')" coords="66,147,36,117,35,182" title="{=L:9922=}" /> + <area shape="circle" href="javascript:rcsim('KEY_SETUP')" coords="105,100,15" title="{=L:9924=}" /> + <area shape="circle" href="javascript:rcsim('KEY_HELP')" coords="32,100,16" title="{=L:9914=}" /> + <area shape="circle" href="javascript:rcsim('KEY_POWER')" coords="108,33,15" title="{=L:9900=}" /> + <area shape="circle" href="javascript:rcsim('KEY_MUTE')" coords="69,255,13" title="{=L:9902=}" /> + <area shape="circle" href="javascript:rcsim('KEY_VOLUMEUP')" coords="92,225,17" title="{=L:9912=}" /> + <area shape="circle" href="javascript:rcsim('KEY_VOLUMEDOWN')" coords="47,225,17" title="{=L:9913=}" /> + <area shape="circle" href="javascript:rcsim('KEY_OK')" coords="37,196,11" title="{=L:9919=}" /> + <area shape="circle" href="javascript:rcsim('KEY_HOME')" coords="103,195,11" title="{=L:9925=}" /> + <area shape="circle" href="javascript:rcsim('KEY_BLUE')" coords="108,72,11" title="{=L:9918=}" /> + <area shape="circle" href="javascript:rcsim('KEY_RED')" coords="30,72,11" title="{=L:9915=}" /> + <area shape="circle" href="javascript:rcsim('KEY_GREEN')" coords="54,57,11" title="{=L:9916=}" /> + <area shape="circle" href="javascript:rcsim('KEY_YELLOW')" coords="85,57,11" title="{=L:9917=}" /> + <area shape="circle" href="javascript:rcsim('KEY_0')" coords="69,363,12" title="{=L:9911=}" /> + <area shape="circle" href="javascript:rcsim('KEY_9')" coords="102,336,12" title="{=L:9910=}" /> + <area shape="circle" href="javascript:rcsim('KEY_8')" coords="69,337,12" title="{=L:9909=}" /> + <area shape="circle" href="javascript:rcsim('KEY_7')" coords="37,336,12" title="{=L:9908=}" /> + <area shape="circle" href="javascript:rcsim('KEY_6')" coords="102,310,12" title="{=L:9907=}" /> + <area shape="circle" href="javascript:rcsim('KEY_5')" coords="69,310,12" title="{=L:9906=}" /> + <area shape="circle" href="javascript:rcsim('KEY_4')" coords="37,310,12" title="{=L:9905=}" /> + <area shape="circle" href="javascript:rcsim('KEY_3')" coords="102,284,12" title="{=L:9904=}" /> + <area shape="circle" href="javascript:rcsim('KEY_2')" coords="69,284,12" title="{=L:9903=}" /> + <area shape="circle" href="javascript:rcsim('KEY_1')" coords="37,284,12" title="{=L:9902=}" /> </map> end-block~remote_sagem diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquet_Editor_Edit.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquet_Editor_Edit.yhtm index 8196499..b54ccd2 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquet_Editor_Edit.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquet_Editor_Edit.yhtm @@ -57,10 +57,10 @@ function poschannel(box, direction) </head> <body> -{=var-set:wait_text=Werte werden übernommen (Save).=}{=include-block:Y_Blocks.txt;snip_wait=} +{=var-set:wait_text={=L:0015=}=}{=include-block:Y_Blocks.txt;snip_wait=} <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-BoxControl-Bouquet-Editor=}{=var-set:menu=Bouquet "{=name=}" bearbeiten=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> + {=var-set:help_url=Help-BoxControl-Bouquet-Editor=}{=var-set:menu={=L:0700=} "{=name=}" {=L:0710=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> <div class="work_box_body"> <form action="/control/changebouquet" method="post" id="channels" enctype="x-www-form-urlencoded"> <p><input type="hidden" name="selected" value="{=selected=}" /></p> @@ -72,10 +72,10 @@ function poschannel(box, direction) </select> </td> <td align="center"> - <button type="button" title="move up" onclick="poschannel(document.getElementById('channels').bchannels, 0);"> <img src="/images/arrowup.png"> </button><br /><br /> - <button type="button" title="move down" onclick="poschannel(document.getElementById('channels').bchannels, 1);"> <img src="/images/arrowdown.png"> </button><br /><br /> - <button type="button" title="remove" onclick="movechannels(document.getElementById('channels').bchannels, document.getElementById('channels').achannels);"> <img src="/images/arrowright.png"> </button><br /><br /> - <button type="button" title="add" onclick="movechannels(document.getElementById('channels').achannels, document.getElementById('channels').bchannels);"> <img src="/images/arrowleft.png"> </button><br /><br /> + <button type="button" title="{=L:0706=}" onclick="poschannel(document.getElementById('channels').bchannels, 0);"> <img src="/images/arrowup.png"> </button><br /><br /> + <button type="button" title="{=L:0707=}" onclick="poschannel(document.getElementById('channels').bchannels, 1);"> <img src="/images/arrowdown.png"> </button><br /><br /> + <button type="button" title="{=L:0708=}" onclick="movechannels(document.getElementById('channels').bchannels, document.getElementById('channels').achannels);"> <img src="/images/arrowright.png"> </button><br /><br /> + <button type="button" title="{=L:0709=}" onclick="movechannels(document.getElementById('channels').achannels, document.getElementById('channels').bchannels);"> <img src="/images/arrowleft.png"> </button><br /><br /> </td> <td> <select multiple="multiple" size="20" name="achannels"> @@ -85,9 +85,9 @@ function poschannel(box, direction) </tr> </table> <input type="hidden" name="redirect" value="/Y_Boxcontrol_Bouquet_Editor_Main.yhtm"/> - <p><button type="button" ytype="save" onclick="do_submit();">übernehmen</button> - <button type="button" ytype="cancel" onclick="do_abort();">abbrechen</button></p> - Alle Änderungen müssen noch gespeichert werden! + <p><button type="button" ytype="save" onclick="do_submit();">{=L:0021=}</button> + <button type="button" ytype="cancel" onclick="do_abort();">{=L:0023=}</button></p> + {=L:0701=} </form> </div> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquet_Editor_Main.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquet_Editor_Main.yhtm index b6f4bef..f93d9cb 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquet_Editor_Main.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquet_Editor_Main.yhtm @@ -30,7 +30,7 @@ function do_save() { hide_forms(); loadSyncURL("/control/savebouquet"); - alert("Bouquet-Liste gespeichert"); + alert("{=L:0714=}"); } function do_update() { @@ -49,7 +49,7 @@ function do_move(bouquetnr, action) } function do_delete(bouquetnr, bouquet_name) { - if (confirm("Bouquet \""+bouquet_name+"\" wirklich loeschen?")==true){ + if (confirm("{=L:0700=} \""+bouquet_name+"\" {=L:0712=}")==true){ loadSyncURL("/control/deletebouquet?selected="+bouquetnr); gurl = "/Y_Boxcontrol_Bouquet_Editor_Main.yhtm?selected=" + bouquetnr+ "#akt"; window.setTimeout('do_reload()',50); @@ -78,7 +78,7 @@ function do_add() window.setTimeout('do_reload()',200); } else - alert("Es wurde kein Bouquet-Name angegeben!"); + alert("{=L:0715=}!"); } function do_rename_start(bouquetnr, bouquet_name) { @@ -107,7 +107,7 @@ function do_rename() // } } else - alert("Es wurde kein Bouquet-Name angegeben!"); + alert("{=L:0715=}!"); } //]]> </script> @@ -129,29 +129,29 @@ function do_rename() <body> <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-BoxControl-Bouquet-Editor=}{=var-set:menu=Bouquet-Editor=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> + {=var-set:help_url=Help-BoxControl-Bouquet-Editor=}{=var-set:menu={=L:1105=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> <div class="work_box_body"> <div id="add" class="fly_form"> <form name="add" accept-charset="UTF-8" action=""> - <p><b>Bouquet hinzufügen</b><br/> - Name des neuen Bouquets: + <p><b>{=L:0702=}</b><br /> + {=L:0704=}: <input type="text" size="30" name="bouquet_name" /> <br/> - <button type="button" ytype="save" onclick="do_add()">speichern</button> - <button type="button" ytype="cancel" onclick="do_add_abort()">abbrechen</button> + <button type="button" ytype="save" onclick="do_add()">{=L:0021=}</button> + <button type="button" ytype="cancel" onclick="do_add_abort()">{=L:0023=}</button> </p> </form> </div> <div id="rename" class="fly_form"> <form name="rename" accept-charset="UTF-8" action=""> <p> - <p><b>Bouquet umbenennen</b><br/> - Name des neuen Bouquets: + <p><b>{=L:0705=}</b><br /> + {=L:0704=}: <input type="text" size="30" name="bouquet_name" /> <input type="hidden" name="bouquetnr" value="" /> <br/> - <button type="button" ytype="save" onclick="do_rename()">speichern</button> - <button type="button" ytype="cancel" onclick="do_rename_abort()">abbrechen</button> + <button type="button" ytype="save" onclick="do_rename()">{=L:0021=}</button> + <button type="button" ytype="cancel" onclick="do_rename_abort()">{=L:0023=}</button> </p> </form> </div> @@ -172,21 +172,21 @@ function do_rename() <td><a href="/Y_Boxcontrol_Bouquet_Editor_Edit.yhtm?selected=%d&name=%s">%s</a></td> <td width="100" style="white-space: nowrap; font-weight:normal;"> <a href="javascript:do_rename_start('%d','%s');"> - <img src="/images/modify.png" alt="umbenennen" style="border: 0px" /></a> + <img src="/images/modify.png" alt="{=L:0713=}" style="border: 0px" /></a> <a href="javascript:do_delete('%d','%s');"> - <img src="/images/remove.png" alt="löschen" style="border: 0px" /></a> + <img src="/images/remove.png" alt="{=L:0711=}" style="border: 0px" /></a> <span style="visibility:%s;"><a href="javascript:do_move('%d','down');"> - <img src="/images/arrowdown.png" alt="nach unten" style="border: 0px" /></a> </span> + <img src="/images/arrowdown.png" alt="{=L:0707=}" style="border: 0px" /></a> </span> <span style="visibility:%s;"><a href="javascript:do_move('%d','up');"> - <img src="/images/arrowup.png" alt="nach oben" style="border: 0px" /></a> </span> + <img src="/images/arrowup.png" alt="{=L:0706=}" style="border: 0px" /></a> </span> </td> </tr> =} {=func:bouquet_editor_main {=var-get:row=}=} </table> <p> - <button type="button" ytype="add" onclick="javascript:do_add_start()">Bouquet hinzufügen</button> - <button type="button" ytype="saveall" onclick="javascript:do_save()">Alle Änderungen speichern</button> + <button type="button" ytype="add" onclick="javascript:do_add_start()">{=L:0702=}</button> + <button type="button" ytype="saveall" onclick="javascript:do_save()">{=L:0022=}</button> </p> </div> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquetlist.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquetlist.yhtm index cf4d429..f24379e 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquetlist.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquetlist.yhtm @@ -3,7 +3,7 @@ </head> <body class="iframe"> <table class="bouquetlist" width="100%"> -<tr class="blist"><td><a href="Y_Boxcontrol_Channellist.yhtm#akt" target="content">Alle Kanäle</a></td></tr> +<tr class="blist"><td><a href="Y_Boxcontrol_Channellist.yhtm#akt" target="content">{=L:0039=}</a></td></tr> <tr><td><hr/></td></tr> {=func:get_bouquets_as_templatelist <tr class="blist"><td><a href="Y_Boxcontrol_Channellist.yhtm?bouquet=%d#akt" target="content">%s</a></td></tr>=} </table> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm index 3139b26..0bf6010 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm @@ -1,3 +1,4 @@ +{=var-set:cancache=yPInstall=} {=include-block:Y_Blocks.txt;head=} <script type="text/javascript" src="/prototype.js"></script> <script type="text/javascript" src="/Y_Baselib.js"></script> @@ -71,39 +72,39 @@ function get_data(){ </script> </head> {=var-set:lcshot={=if-file-exists:/bin/lcshot~true~{=if-file-exists:/var/bin/lcshot~true~false=}=}=} -{=var-set:fbshot={=if-file-exists:/bin/fbshot~true~{=if-file-exists:/var/bin/fbshot~true~{=if-file-exists:/bin/dboxshot~true~{=if-file-exists:/var/bin/dboxshot~true~false=}=}=}=}=} +{=var-set:fbshot={=if-file-exists:/bin/fbshot~true~{=if-file-exists:/var/bin/fbshot~true~false=}=}=} {=var-set:dboxshot={=if-file-exists:/bin/dboxshot~true~{=if-file-exists:/var/bin/dboxshot~true~false=}=}=} <body> <div class="y_menu_sec_box"> - <div class="y_menu_sec_box_head"><h2>Boxcontrol</h2></div> + <div class="y_menu_sec_box_head"><h2>{=L:0100=}</h2></div> <div class="y_menu_sec_box_body"> <div class="y_menu_sec"> <ul id="secmenu"> - <li><a target="work" title="Switch channels" href="Y_Boxcontrol_Bouquets.yhtm">Bouquets</a></li> - <li><a target="work" title="control box functions (reboot, remote control, SPTS, ...)" href="Y_Tools_Boxcontrol.yhtm">Control</a></li> - <li><a target="work" title="send Messages to box" href="Y_Boxcontrol_Messages.yhtm">Messages</a></li> - <li><a target="work" title="Web-based Remote Control" href="Y_Tools_Rcsim.yhtm">Remote</a></li> + <li><a target="work" title="{=L:0200=}" href="Y_Boxcontrol_Bouquets.yhtm">{=L:0201=}</a></li> + <li><a target="work" title="{=L:0202=}" href="Y_Tools_Boxcontrol.yhtm">{=L:0203=}</a></li> + <li><a target="work" title="{=L:0204=}" href="Y_Boxcontrol_Messages.yhtm">{=L:0205=}</a></li> + <li><a target="work" title="{=L:0206=}" href="Y_Tools_Rcsim.yhtm">{=L:0207=}</a></li> {=if-equal:{=var-get:lcshot=}~true~ - <li><a target="work" title="make lcd screenshot" href="Y_Tools_lcshot.yhtm">LCD Screenshot</a></li> + <li><a target="work" title="{=L:0210=}" href="Y_Tools_lcshot.yhtm">{=L:0209=}</a></li> ~ - <li class="disabled" title="lcshot not installed at /bin or /var/bin">LCD Screenshot</li> + <li class="disabled" title="{=L:0211=} /bin oder /var/bin">{=L:0209=}</li> =} {=if-equal:{=var-get:fbshot=}~true~ - <li><a target="work" title="make osd screenshot" href="Y_Tools_fbshot.yhtm">OSD Screenshot</a></li> + <li><a target="work" title="{=L:0213=}" href="Y_Tools_fbshot.yhtm">{=L:0212=}</a></li> ~ - <li class="disabled" title="fbshot not installed at /bin or /var/bin">OSD Screenshot</li> + <li class="disabled" title="{=L:0214=} /bin oder /var/bin">{=L:0212=}</li> =} {=if-equal:{=var-get:dboxshot=}~true~ - <li><a target="work" title="remote and osd" href="Y_Tools_remote_osd.yhtm">Remote & OSD</a></li> + <li><a target="work" title="{=0114=}" href="Y_Tools_remote_osd.yhtm">{=L:0114=}</a></li> ~ - <li class="disabled" title="dboxshot not installed at /bin or /var/bin">Remote & OSD</li> + <li class="disabled" title="{=0222=} /bin oder /var/bin">{=L:0114=}</li> =} </ul> </div> </div> </div> <div class="y_menu_sec_box"> - <div class="y_menu_sec_box_head"><h2>Control</h2></div> + <div class="y_menu_sec_box_head"><h2>{=L:0203=}</h2></div> <div class="y_menu_sec_box_body"> <center> <table class="y_text_boxcontrol_table" cellspacing="0" cellpadding="0" title="volumen display"> @@ -113,25 +114,25 @@ function get_data(){ </tr> </table> <br/> - <span title="decrease volumen"> + <span title="{=L:0215=}"> <a href="javascript:volumen_set(g_volumen-10);"><img src="/images/volumedown.png"> </a></span> - <span title="increase volumen"> + <span title="{=L:0216=}"> <a href="javascript:volumen_set(g_volumen+10);"><img src="/images/volumeup.png"></a></span> - <span title="mute volumen"> + <span title="{=L:0217=}"> <a id="btMute" href="javascript:toggle_mute();"> <img src="/images/volumemute.png"> </a></span> <!-- <br/><br/>--> - <span title="switch to TV"><a href="javascript:set_mode('tv');"><img src="/images/live.gif"> </a></span> - <span title="switch to Radio"><a href="javascript:set_mode('radio');"> <img src="/images/radio.png"></a></span> + <span title="{=L:0218=}"><a href="javascript:set_mode('tv');"><img src="/images/live.gif"> </a></span> + <span title="{=L:0219=}"><a href="javascript:set_mode('radio');"> <img src="/images/radio.png"></a></span> </center> </div> </div> {=if-empty:{=ini-get:/var/tuxbox/config/Y-Web.conf;slavebox=}~~ <div class="y_menu_sec_box"> - <div class="y_menu_sec_box_head"><h2>Switch to</h2></div> + <div class="y_menu_sec_box_head"><h2>{=L:0223=}</h2></div> <div class="y_menu_sec_box_body"> <div class="y_menu_sec"> <ul> - <li><a target="_top" title="Webinterface der SlaveBox" href="http://{=ini-get:/var/tuxbox/config/Y-Web.conf;slavebox=}/">{=ini-get:/var/tuxbox/config/Y-Web.conf;slavebox=}</a></li> + <li><a target="_top" title="{=L:0220=}" href="http://{=ini-get:/var/tuxbox/config/Y-Web.conf;slavebox=}/">{=ini-get:/var/tuxbox/config/Y-Web.conf;slavebox=}</a></li> </ul> </div> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Messages.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Messages.yhtm index d198eca..be254d4 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Messages.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Messages.yhtm @@ -4,19 +4,19 @@ <body> <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-BoxControl-Message=}{=var-set:menu=Message=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> + {=var-set:help_url=Help-BoxControl-Message=}{=var-set:menu={=L:0205=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> <div class="work_box_body"> <form name="f" action="/control/message" method="get" enctype="application/x-www-form-urlencoded" accept-charset="UTF-8"> <table class="y_invisible_table" cellpadding="5" width="100%"> - <tr><td class="y_form_header">Meldung auf dbox-Bildschirm</td></tr> + <tr><td class="y_form_header">{=L:0501=}</td></tr> <tr><td> - <textarea name="nmsg" cols="50" rows="5" title="enter message to send to TV screen"></textarea><br/> - <button type="submit" name="message" ytype="go" title="send message">senden</button> + <textarea name="nmsg" cols="50" rows="5" title="{=L:0500=}"></textarea><br /> + <button type="submit" name="message" ytype="go" title="{=L:0503=}">{=L:0020=}</button> </td></tr> - <tr><td class="y_form_header">Popup auf dbox-Bildschirm</td></tr> + <tr><td class="y_form_header">{=L:0502=}</td></tr> <tr><td> - <textarea name="popup" cols="50" rows="5" title="enter message to send to TV screen"></textarea><br/> - <button type="submit" name="pmessage" ytype="go" title="send message">senden</button> + <textarea name="popup" cols="50" rows="5" title="{=L:0500=}"></textarea><br /> + <button type="submit" name="pmessage" ytype="go" title="{=L:0503=}">{=L:0020=}</button> </td></tr> </table> <br/> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_EPG_Plus.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_EPG_Plus.yhtm index c7aeace..2836bce 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_EPG_Plus.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_EPG_Plus.yhtm @@ -11,20 +11,20 @@ function epg_imdb(){ </head> <body> -{=var-set:wait_text=EPG holen (get EPG).=}{=include-block:Y_Blocks.txt;snip_wait=} +{=var-set:wait_text={=L:0800=}=}{=include-block:Y_Blocks.txt;snip_wait=} <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-Live_Timer-EPG_Plus=}{=var-set:menu=EPG Plus=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> + {=var-set:help_url=Help-Live_Timer-EPG_Plus=}{=var-set:menu={=L:0801=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> <div class="work_box_body"> <form name="e"> - <select size="1" class="y_live_bouquets" name="bouquets" title="select bouquet - channels will be updated"> + <select size="1" class="y_live_bouquets" name="bouquets" title="{=L:0802=}"> {=func:get_bouquets_as_dropdown {=if-empty:{=bouquets=}~{=func:get_actual_bouquet_number=}~{=bouquets=}=}=} </select> <select id="epg_time" size="1" name="epg_time"> </select> - <button id="btGet" type="button" ytype="refresh" title="get or refresh EPG" onclick="build_epg_plus_main()">Aktualisieren</button> - <button id="btPast" type="button" ytype="timedown" title="past hours" onclick="build_epg_plus_delta(-2)">-2</button> - <button id="btNext" type="button" ytype="timeup"" title="next hours" onclick="build_epg_plus_delta(2)">+2</button> + <button id="btGet" type="button" ytype="refresh" title="{=L:0804=}" onclick="build_epg_plus_main()">{=L:0010=}</button> + <button id="btPast" type="button" ytype="timedown" title="{=L:0805=}" onclick="build_epg_plus_delta(-2)">-2</button> + <button id="btNext" type="button" ytype="timeup"" title="{=L:0806=}" onclick="build_epg_plus_delta(2)">+2</button> </form> <div id="epg_plus"> </div> @@ -52,9 +52,9 @@ function epg_imdb(){ </tr> <tr> <td colspan="3"> - <button ytype="record" title="set timer for recording" onclick="epg_set_timer()">Aufnehmen</button> - <button ytype="zap" title="switch to channel" onclick="epg_zapto()">Umschalten</button> - Nachschlagen: + <button ytype="record" title="{=L:0807=}" onclick="epg_set_timer()">{=L:0011=}</button> + <button ytype="zap" title="{=L:0808=}" onclick="epg_zapto()">{=L:0012=}</button> + {=L:0013=}: <span id="d_lookup"></span> </td> </tr> @@ -67,4 +67,4 @@ function epg_imdb(){ </script> </body> -</html> \ No newline at end of file +</html> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Menue.yhtm index ace47ec..717763c 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Menue.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Menue.yhtm @@ -17,7 +17,7 @@ function build_menu(){ var ext_normal=ext.select_type("m"); ext_normal.each(function(e){ {=if-empty:{=var-get:management=}~ - var item="<span class=\"disabled\" title=\""+e.get('desc')+" (restricted by ManagementIP)\">"+e.get('menuitem')+"</span>"; + var item="<span class=\"disabled\" title=\""+e.get('desc')+" ({=L:0050=})\">"+e.get('menuitem')+"</span>"; ~ var item="<a target=\"work\" title=\""+e.get('desc')+"\" href=\""+e.get('file')+"\">"+e.get('menuitem')+"</a>"; =} @@ -29,29 +29,29 @@ function build_menu(){ </head> <body onload="build_menu()"> <div class="y_menu_sec_box"> - <div class="y_menu_sec_box_head"><h2>Extensions</h2></div> + <div class="y_menu_sec_box_head"><h2>{=L:0108=}</h2></div> <div class="y_menu_sec_box_body"> - <div class="y_menu_sec_section">Normal</div> + <div class="y_menu_sec_section">{=L:0625=}</div> <div class="y_menu_sec"> <ul id="ext_normal"> <ul> </div> - <div class="y_menu_sec_section">Management</div> + <div class="y_menu_sec_section">{=L:0626=}</div> <div class="y_menu_sec" id="ext_management2"> <ul id="ext_management"> </ul> </div> - <div class="y_menu_sec_section">Admin</div> + <div class="y_menu_sec_section">{=L:0624=}</div> <div class="y_menu_sec"> <ul> {=if-empty:{=var-get:management=}~ - <li class="disabled" title="Extentions settings. (restricted by ManagementIP)">Einstellungen</li> - <li class="disabled" title="Extentions updater/installer (restricted by ManagementIP)">Installer/Updater</li> - <li class="disabled" title="Extentions settings. (restricted by ManagementIP)">Einstellungen</li> + <li class="disabled" title="{=L:0629=} ({=L:0050=})">{=L:0628=}</li> + <li class="disabled" title="{=L:0630=} ({=L:0050=})">{=L:0600=}</li> + <li class="disabled" title="{=L:0601=} ({=L:0050=})">{=L:0627=}</li> ~ - <li><a target="work" title="Extentions settings" href="Y_Ext_Settings.yhtm">Einstellungen</a></li> - <li><a target="work" title="Extentions updater/installer" href="Y_Ext_Update.yhtm">Installer/Updater</a></li> - <li><a target="work" title="Extentions uninstaller" href="Y_Ext_Uninstall.yhtm">Uninstaller</a></li> + <li><a target="work" title="{=L:0629=}" href="Y_Ext_Settings.yhtm">{=L:0628=}</a></li> + <li><a target="work" title="{=L:0630=}" href="Y_Ext_Update.yhtm">{=L:0600=}</a></li> + <li><a target="work" title="{=L:0601=}" href="Y_Ext_Uninstall.yhtm">{=L:0627=}</a></li> =} </ul> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Settings.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Settings.yhtm index c3ae381..f81c33f 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Settings.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Settings.yhtm @@ -15,22 +15,22 @@ function do_submit() </script> </head> <body> -{=var-set:wait_text=Werte werden übernommen (Save).=}{=include-block:Y_Blocks.txt;snip_wait=} +{=var-set:wait_text={=L:0015=}=}{=include-block:Y_Blocks.txt;snip_wait=} <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-Extensions-Settings=}{=var-set:menu=Extensions Settings=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> + {=var-set:help_url=Help-Extensions-Settings=}{=var-set:menu={=L:0629=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> <div class="work_box_body"> <form name="f" accept-charset="UTF-8" action="/y/cgi"> <table border="0" class="y_form_table" cellspacing="0" cellpadding="0"> <tr> <td> </td> - <td><textarea name="extentions" id="ext" cols="90" rows="30" title="extention list" style="background : white; font : 'Courier New',medium monospace; color : #436976;">{=if-file-exists:/var/tuxbox/config/extentions.txt~{=include:/var/tuxbox/config/extentions.txt=}~{=if-file-exists:/var/httpd/extentions.txt~{=include:/var/httpd/extentions.txt=}~{=include:/share/tuxbox/neutrino/httpd-y/extentions.txt=}=}=}</textarea></td> + <td><textarea name="extentions" id="ext" cols="90" rows="30" title="{=L:0620=}" style="background : white; font : 'Courier New',medium monospace; color : #436976;">{=if-file-exists:/var/tuxbox/config/extentions.txt~{=include:/var/tuxbox/config/extentions.txt=}~{=if-file-exists:/var/httpd/extentions.txt~{=include:/var/httpd/extentions.txt=}~{=include:/share/tuxbox/neutrino/httpd-y/extentions.txt=}=}=}</textarea></td> </tr> </table> <br/> <input type="hidden" name="tmpl" value="Y_Ext_Update_refresh.yhtm"/> <input type="hidden" name="execute" value="include-block:Y_Blocks.txt;ext_save_settings;nix"/> - <button type="button" ytype="save" title="submit and save values" onclick="do_submit()">Speichern</button> + <button type="button" ytype="save" title="{=L:0014=}" onclick="do_submit()">{=L:0021=}</button> </form> </div> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Uninstall.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Uninstall.yhtm index 3485d66..b988032 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Uninstall.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Uninstall.yhtm @@ -13,28 +13,28 @@ function init(){ </script> <style> .type, .uninstall{ - text-align:center;; + text-align:center; } </style> </head> <body onload="init()"> -{=var-set:wait_text=Werte werden übernommen (Save).=}{=include-block:Y_Blocks.txt;snip_wait=} +{=var-set:wait_text={=L:0015=}=}{=include-block:Y_Blocks.txt;snip_wait=} <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-Extensions-Uninstall=}{=var-set:menu=Extensions Uninstaller=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> + {=var-set:help_url=Help-Extensions-Uninstall=}{=var-set:menu={=L:0601=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> <div class="work_box_body"> <div id="statusline"><img border="0" src="/images/wait.gif" width="20" height="20" alt="wait"/> - <span id="status">Suche Extensions ...</span></div> + <span id="status">{=L:0602=}</span></div> <form method="post" name="update" action=""> <!-- <input type="button" value="build list" title="build list" onclick="build_list()"/>--> <br/> - <div class="y_form_header_oline">installed extensions</div> + <div class="y_form_header_oline">{=L:0603=}</div> <table class="lt_table" cellspacing="0" cellpadding="2"> <thead align="left"> <tr valign="bottom"> - <th>Type</th><th>Extension</th> - <th>Tag</th><th>Version</th><th>Size/k</th><th>uninstall</th><th>Info</th> + <th>{=L:0604=}</th><th>{=L:0605=}</th> + <th>{=L:0606=}</th><th>{=L:0607=}</th><th>{=L:0608=}</th><th>{=L:0609=}</th><th>{=L:0618=}</th> </tr> </thead> <tbody id="update_list"> @@ -44,13 +44,13 @@ function init(){ </form> <br/> <div id="free">?</div> - Frei: <span id="avaiable">?</span>k + {=L:0610=}: <span id="avaiable">?</span>k <form method="post" name="log" action=""> - <div class="y_form_header_oline">Log</div> + <div class="y_form_header_oline">{=L:0619=}</div> <table class="lt_table" cellspacing="0" cellpadding="4"> <thead align="left"> <tr> - <th> </th><th>Aktion</th><th>Status</th> + <th> </th><th>{=L:0611=}</th><th>{=L:0029=}</th> </tr> </thead> <tbody id="slog_list"> @@ -60,11 +60,11 @@ function init(){ <br/> </form> <br/> - <div class="y_form_header">New extension settings (preview)</div> + <div class="y_form_header">{=L:0612=}</div> <form name="f" accept-charset="UTF-8" action="/y/cgi"> <table border="0" class="y_form_table" cellspacing="0" cellpadding="0"> <tr> - <td><textarea name="extentions" cols="90" rows="5" title="extention list" style="background : white; font : 'Courier New',medium monospace; color : #436976;"></textarea></td> + <td><textarea name="extentions" cols="90" rows="5" title="{=L:0620=}" style="background : white; font : 'Courier New',medium monospace; color : #436976;"></textarea></td> </tr> </table> <br/> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update.yhtm index e0d0505..e18a5e9 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update.yhtm @@ -6,42 +6,42 @@ <script type="text/javascript" src="/Y_Ext_Update.js"></script> </head> <body> -{=var-set:wait_text=Werte werden aktualisiert.=}{=include-block:Y_Blocks.txt;snip_wait=} +{=var-set:wait_text={=L:0015=}=}{=include-block:Y_Blocks.txt;snip_wait=} <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-Extensions-Update=}{=var-set:menu=Extensions Updater/Installer=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> - <div class="work_box_body" width="100%"> + {=var-set:help_url=Help-Extensions-Update=}{=var-set:menu={=L:0600=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> + <div class="work_box_body" style="width:100%"> <div id="statusline"><img border="0" src="/images/wait.gif" width="20" height="20" alt="wait"/> - <span id="status">Suche Updates ...</span></div> + <span id="status">{=L:0602=}</span></div> <form method="post" name="update" action=""> <!-- <input type="button" value="build list" title="build list" onclick="build_list()"/>--> <br/> - <div class="y_form_header_oline">update Preview List</div> + <div class="y_form_header_oline">{=L:0613=}</div> <table class="lt_table" cellspacing="0" cellpadding="2"> <thead align="left"> <tr valign="bottom"> <th> </th> - <th>Site</th><th>Type</th><th>Extension</th> - <th>Tag</th><th>your<br/>Version</th><th>Update<br/>Version</th> - <th title="minimal yWeb version">yWeb</th><th>Size/k</th><th>Info</th> + <th>{=L:0617=}</th><th>{=L:0604=}</th><th>{=L:0605=}</th> + <th>{=L:0606=}</th><th>{=L:0614=}<br />{=L:0607=}</th><th>{=L:0615=}<br />{=L:0607=}</th> + <th title="{=L:0623=}">yWeb</th><th>{=L:0608=}</th><th>{=L:0618=}</th> </tr> </thead> <tbody id="update_list"> <tr><td></td></tr> </tbody> </table> - <button type="button" ytype="go" title="" name="set_updates" onclick="do_set_updates()">update/install</button> + <button type="button" ytype="go" name="set_updates" onclick="do_set_updates()">{=L:0616=}</button> </form> <br/> <div id="free">?</div> - Frei: <span id="avaiable">?</span>k + {=L:0610=}: <span id="avaiable">?</span>k <form method="post" name="log" action=""> - <div class="y_form_header_oline">Log</div> + <div class="y_form_header_oline">{=L:0619=}</div> <table class="lt_table" cellspacing="0" cellpadding="4"> <thead align="left"> <tr> - <th> </th><th>Aktion</th><th>Status</th> + <th> </th><th>{=L:0611=}</th><th>{=L:0029=}</th> </tr> </thead> <tbody id="slog_list"> @@ -51,11 +51,11 @@ <br/> </form> <br/> - <div class="y_form_header">New extension settings (preview)</div> + <div class="y_form_header">{=L:0612=}</div> <form name="f" accept-charset="UTF-8" action="/y/cgi"> <table border="0" class="y_form_table" cellspacing="0" cellpadding="0"> <tr> - <td><textarea name="extentions" cols="90" rows="5" title="extention list" style="background : white; font : 'Courier New',medium monospace; color : #436976;"></textarea></td> + <td><textarea name="extentions" cols="90" rows="5" title="{=L:0620=}" style="background : white; font : 'Courier New',medium monospace; color : #436976;"></textarea></td> </tr> </table> <br/> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update_refresh.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update_refresh.yhtm index c6c63c9..0000df5 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update_refresh.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update_refresh.yhtm @@ -14,12 +14,12 @@ function do_onload() </script> </head> <body onload="do_onload()"> -{=var-set:wait_text=Werte werden aktualisiert.=}{=include-block:Y_Blocks.txt;snip_wait=} +{=var-set:wait_text={=L:0009=}=}{=include-block:Y_Blocks.txt;snip_wait=} <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-Extensions-Update=}{=var-set:menu=Extensions Settings saved=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> + {=var-set:help_url=Help-Extensions-Update=}{=var-set:menu={=L:0622=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> <div class="work_box_body" width="100%s"> - Einstellungen gespeichert. Menu wird aktualisiert. + {=L:0621=} </div> </div> </body> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Help.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Help.yhtm index c05a171..dee2cc2 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Help.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Help.yhtm @@ -1,10 +1,10 @@ {=var-set:cancache=yPyes=} -{=include-block:Y_Blocks.txt;headCache=} +{=include-block:Y_Blocks.txt;head=} </head> <body> <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-Info-Hilfe=}{=var-set:menu=Hilfe=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> + {=var-set:help_url=Help-Info-Hilfe=}{=var-set:menu={=L:0046=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> <div class="work_box_body"> <ul> <li><a href="http://wiki.dbox2-tuning.net/Neutrino:yWeb" class="exlink" title="yWeb Help from Tuxbox Wiki" target="_blank">Tuxbox-Wiki Help</a></li> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Menue.yhtm index 9dc8991..ab595d8 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Menue.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Menue.yhtm @@ -12,16 +12,18 @@ function init(){ {=var-set:management={=if-equal:{=func:get_request_data client_addr=}~{=ini-get:/var/tuxbox/config/Y-Web.conf;management_ip;{=func:get_request_data client_addr=}=}~1~=}{=if-equal:{=func:get_request_data client_addr=}~{=ini-get:/var/tuxbox/config/Y-Web.conf;management_ip2=}~1~=}=} <body onload="init()"> <div class="y_menu_sec_box"> - <div class="y_menu_sec_box_head"><h2>Info</h2></div> + <div class="y_menu_sec_box_head"><h2>{=L:0110=}</h2></div> <div class="y_menu_sec_box_body"> <div class="y_menu_sec"> <ul id="secmenu"> - <li><a target="work" title="About yWeb" href="Y_About.yhtm">About</a></li> - <li><a target="work" title="Getting Help" href="Y_Info_Help.yhtm">Hilfe</a></li> + <li><a target="work" title="About yWeb" href="Y_About.yhtm">{=L:3001=}</a> + </li> + <li><a target="work" title="Getting Help" href="Y_Info_Help.yhtm">{=L:3000=}</a> + </li> {=if-empty:{=var-get:management=}~ - <li class="disabled" title="Check for Update of yWeb (restricted by ManagementIP)">Auf Updates prüfen</li> + <li class="disabled" title="Check for Update of yWeb (restricted by ManagementIP)">{=L:3002=}</li> ~ - <li><a target="work" title="Check for Updates of yWeb" href="Y_Info_Updates.yhtm">Auf Updates prüfen</a></li> + <li><a target="work" title="Check for Updates of yWeb" href="Y_Info_Updates.yhtm">{=L:3002=}</a></li> =} </ul> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Updates.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Updates.yhtm index 8cf4f9e..c408cf1 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Updates.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Updates.yhtm @@ -13,12 +13,12 @@ function check_updates() <body> <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-Info-Auf_Updates_pruefen=}{=var-set:menu=Auf Updates prüfen=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> + {=var-set:help_url=Help-Info-Auf_Updates_pruefen=}{=var-set:menu={=L:3002=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div> <div class="work_box_body"> <table border="0" cellpadding="2" cellspacing="4"> <tr> <td valign="top" width="30%"> - <b>Deine Version</b> + <b>{=L:3003=}</b> <p> {=ini-get:Y_Version.txt;version=}<br/> {=ini-get:Y_Version.txt;date=}<br/> @@ -27,19 +27,19 @@ function check_updates() </p> </td> <td valign="top" width="30%"> - <b>Aktuelle Version</b> + <b>{=L:3004=}</b> <p> {=ini-get:/tmp/version.txt;version=}<br/> {=ini-get:/tmp/version.txt;date=}<br/> {=ini-get:/tmp/version.txt;type=}<br/><br/> {=ini-get:/tmp/version.txt;info=}<br/> {=if-empty:{=ini-get:/tmp/version.txt;url=}~~ - <a href="{=ini-get:/tmp/version.txt;url=}" target="_blank">Download</a><br/> + <a href="{=ini-get:/tmp/version.txt;url=}" target="_blank">{=L:3005=}</a><br /> =} </p> </td> </tr> - <tr><td><input type="button" onclick="check_updates()" value="check"/></td></tr> + <tr><td><input type="button" onclick="check_updates()" value="{=L:0045=}" /></td></tr> </table> </div> </div> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Live.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Live.yhtm index df26a17..3ccc3ff 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Live.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Live.yhtm @@ -12,7 +12,7 @@ function build_bouquet_list(bouquet) if(used_bouquet == -1) used_bouquet = loadSyncURL("/y/cgi?execute=func:get_actual_bouquet_number"); var bouquet_dropdown_url = "/y/cgi?execute=func:get_bouquets_as_dropdown%20" + used_bouquet + "{=if-empty:{=var-get:must_management=}~~%20true=}"; - var bouquet_dropdown = "<select size=\"1\" class=\"y_live_bouquets\" id=\"bouquets\" onchange=\"change_bouquet()\" title=\"select bouquet - channels will be updated\">"; + var bouquet_dropdown = "<select size=\"1\" class=\"y_live_bouquets\" id=\"bouquets\" onchange=\"change_bouquet()\" title=\"{=L:2521=}\">"; bouquet_dropdown += loadSyncURL(bouquet_dropdown_url); bouquet_dropdown += "</select>"; obj_update('bouquets_div', bouquet_dropdown); @@ -51,18 +51,18 @@ function view_transcode_mode() </script> </head> <body onunload="do_unload()"> -{=var-set:wait_text=Streaming-Informationen<br/>werden ermittelt.=}{=include-block:Y_Blocks.txt;snip_wait=} +{=var-set:wait_text={=L:2500=}=}{=include-block:Y_Blocks.txt;snip_wait=} <div id="live_panel"> <form name="x" action="" method="get"> <table class="y_live_table" cellspacing="0" cellpadding="0" style="margin:0"> <tr><td> <div id="bouquets_div"><div class="y_live_channels" style="border:1px solid #555555;"> - <img src="/images/smallwait.gif"> getting bouquets ...</div> + <img src="/images/smallwait.gif"> {=L:2501=}</div> </div> </td><td> {=if-equal:{=typ=}~popup~ {=if-equal:{=mode=}~tv~ - <select id="resolution" onchange="do_resize()" title="select resolution"> + <select id="resolution" onchange="do_resize()" title="{=L:2503=}"> <option value="1">384x288</option> <option value="2">768x576</option> <option value="2">960x720</option> @@ -72,21 +72,21 @@ function view_transcode_mode() </td></tr> <tr><td> <div id="channels_div"><div class="y_live_bouquets" style="border:1px solid #555555;"> - <img src="/images/smallwait.gif"> getting channels ...</div> + <img src="/images/smallwait.gif"> {=L:2502=}</div> </div> </td><td> - <button id="go" class="y_live_button" type="button" title="change channel" onclick="change_channel()" disabled="disabled"> + <button id="go" class="y_live_button" type="button" title="{=L:2504=}" onclick="change_channel()" disabled="disabled"> <img src="/images/play.png"></button> - <button id="epg" class="y_live_button" type="button" title="view epg for selected channel" onclick="view_epg()" disabled="disabled"> + <button id="epg" class="y_live_button" type="button" title="{=L:2505=}" onclick="view_epg()" disabled="disabled"> <img src="/images/epg.png"></button> </td></tr> <tr id="subsRow" style="display:none"> <td> <div id="subs_div"><div class="y_live_channels" style="border:1px solid #555555;"> - <img src="/images/smallwait.gif"> getting subchannels ...</div> + <img src="/images/smallwait.gif"> {=L:2507=}</div> </div> </td><td> - <button id="go" class="y_live_button" type="button" title="change channel" onclick="change_sub_channel()"> + <button id="go" class="y_live_button" type="button" title="{=L:2504=}" onclick="change_sub_channel()"> <img src="/images/play.png"></button> </td> @@ -99,38 +99,38 @@ function view_transcode_mode() </div> <div id="live_controls"> <form name="v" action="" method="get"> - <button id="PlayOrPause" class="y_live_button" type="button" title="play or pause streaming" + <button id="PlayOrPause" class="y_live_button" type="button" title="{=L:2508=}" onclick="do_play_or_pause()"><img src="/images/pause.png"></button> - <button id="stop" type="button" title="stop streaming" onclick="do_stop()" class="y_live_button"> + <button id="stop" type="button" title="{=L:2509=}" onclick="do_stop()" class="y_live_button"> <img src="/images/stop.png"></button> - <button id="mute" class="y_live_button" type="button" value="Mute" title="mute / unmute volume" onclick="do_mute_toggle()"> + <button id="mute" class="y_live_button" type="button" value="Mute" title="{=L:2510=}" onclick="do_mute_toggle()"> <img src="/images/volumemute.png"></button> - <button id="volumedown" class="y_live_button" type="button" value="-" title="lower volume" onclick="V2.set_volume_delta(-10);"> + <button id="volumedown" class="y_live_button" type="button" value="-" title="{=L:2511=}" onclick="V2.set_volume_delta(-10);"> <img src="/images/volumedown.png"></button> - <button id="volumeup" class="y_live_button" type="button" value="+" title="higher volume" onclick="V2.set_volume_delta(+10);"> + <button id="volumeup" class="y_live_button" type="button" value="+" title="{=L:2512=}" onclick="V2.set_volume_delta(+10);"> <img src="/images/volumeup.png"></button> {=if-equal:{=mode=}~tv~ <button id="fullscreen" class="y_live_button" type="button" value="F" - title="switch to fullscreen-mode - or use double-click" onclick="V2.toggle_fullscreen()"> + title="{=L:2513=}" onclick="V2.toggle_fullscreen()"> <img src="/images/fullscreen.png"></button> =} - <button id="livelock" class="y_live_button" type="button" value="Lock" title="lock / unlock TV (record mode, rc, lcd)" name="lock" onclick="do_lock_toggle()"> + <button id="livelock" class="y_live_button" type="button" value="Lock" title="{=L:2514=}" name="lock" onclick="do_lock_toggle()"> <img src="/images/livelock.png"></button> {=if-equal:{=mode=}~tv~ - <button class="y_live_button" type="button" value="set" title="UDP Streaming" id="udp" onclick="do_udp_toggle()" style="visibility:hidden"> + <button class="y_live_button" type="button" value="set" title="{=L:2515=}" id="udp" onclick="do_udp_toggle()" style="visibility:hidden"> <img src="/images/udp_switch_on.png"/></button> - <button class="y_live_button" type="button" value="set" title="LiveView settings" id="settings" onclick="view_settings_mode()"> + <button class="y_live_button" type="button" value="set" title="{=L:2516=}" id="settings" onclick="view_settings_mode()"> <img src="/images/properties.png"></button> - <button class="y_live_button" type="button" value="S" title="create snapshot picture" id="snapshot" onclick="V2.snapshot()" style="visibility:hidden"> + <button class="y_live_button" type="button" value="S" title="{=L:2517=}" id="snapshot" onclick="V2.snapshot()" style="visibility:hidden"> <img src="/images/snapshot.png"></button> =} {=if-equal:{=typ=}~popup~~ {=if-equal:{=typ=}~transcode~~ - <button id="rec" class="y_live_button" type="button" value="Rec" title="record mode" name="record_mode" onclick="view_record_mode()" style="visibility:hidden"> + <button id="rec" class="y_live_button" type="button" value="Rec" title="{=L:2518=}" name="record_mode" onclick="view_record_mode()" style="visibility:hidden"> <img src="/images/record.png"></button> =} - <button id="transcode" class="y_live_button" type="button" value="Transcode" title="transcode mode" onclick="view_transcode_mode()" style="visibility:hidden"> + <button id="transcode" class="y_live_button" type="button" value="Transcode" title="{=L:2519=}" onclick="view_transcode_mode()" style="visibility:hidden"> <img src="/images/transcode.png"></button> =} <span id="audio_pid_list"></span> @@ -143,7 +143,7 @@ function view_transcode_mode() Mode = "{=mode=}"; LiveTyp = "{=typ=}"; ClientAddr = "{=func:get_request_data clientaddr=}"; - insert_message_control("... build vlc control ..."); + insert_message_control("{=L:2520=}"); isDeinterlace = ("{=ini-get:/var/tuxbox/config/Y-Web.conf;deinterlace;true=}" == "true"); cachetime = {=ini-get:/var/tuxbox/config/Y-Web.conf;http_caching;0=}; /* {=if-equal:{=typ=}~popup~ diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_LiveViewFull.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_LiveViewFull.yhtm index 336b00a..090068f 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_LiveViewFull.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_LiveViewFull.yhtm @@ -23,12 +23,12 @@ function setTranscode() <table cellpadding="0" cellspacing="0" border="0"> <tr><td valign="top"> <iframe name="live" src="Y_Live.yhtm?mode={=mode=}&typ={=typ=}" height="400" width="400" scrolling="no" align="left" marginheight="0" marginwidth="0" frameborder="0"> - Ihr Browser unterstützt Inlineframes nicht oder zeigt sie in der derzeitigen Konfiguration nicht an. + {=L:0000=} </iframe> </td> <td> <iframe name="col2" src="Y_blank.htm" height="400" width="450" scrolling="auto" marginheight="0" marginwidth="0" frameborder="0"> - Ihr Browser unterstützt Inlineframes nicht oder zeigt sie in der derzeitigen Konfiguration nicht an. + {=L:0000=} </iframe> </td> </tr> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_DoubleView.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_DoubleView.yhtm index 74262dc..c2eb73b 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_DoubleView.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_DoubleView.yhtm @@ -3,17 +3,17 @@ <body> <div class="work_box"> <div class="work_box_head"><div class="work_box_head_h2"> - {=var-set:help_url=Help-Live_Timer-Double_Vi... [truncated message content] |
From: GetAway <tux...@ne...> - 2015-04-05 18:38:09
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 9e1a70c549be24cf7347d391e6aefdf56398e554 (commit) from c595f0222ba149499395d077e31ad46cd458cd18 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 9e1a70c549be24cf7347d391e6aefdf56398e554 Author: GetAway <get...@t-...> Date: Sun Apr 5 20:34:29 2015 +0200 nhttpd: disable internal cache seems it needs a fix later Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp index 5f1f131..e408e42 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp @@ -262,13 +262,14 @@ void CyParser::ParseAndSendFile(CyhookHandler *hh) else { hh->addResult(yresult,HANDLED_READY); - if(!ycgi_vars["cancache"].empty()) +/* TEMPORARY DISABLED // + if(!ycgi_vars["cancache"].empty()) { hh->HookVarList["CacheCategory"]=ycgi_vars["cancache"]; hh->HookVarList["CacheMimeType"]= hh->ResponseMimeType; hh->status = HANDLED_CONTINUE; } - } +*/ } } //============================================================================= ----------------------------------------------------------------------- Summary of changes: .../daemons/nhttpd/yhttpd_mods/mod_yparser.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-05 15:18:00
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via c595f0222ba149499395d077e31ad46cd458cd18 (commit) from 227b75aa77f5f76ce922ce275ecb6f31e8142c95 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit c595f0222ba149499395d077e31ad46cd458cd18 Author: GetAway <get...@t-...> Date: Sun Apr 5 17:14:26 2015 +0200 yWeb: introduce multilanguage (part4) use english in scripts Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Baselib.js b/tuxbox/neutrino/daemons/nhttpd/web/Y_Baselib.js index d55dbeb..f59993b 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Baselib.js +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Baselib.js @@ -169,7 +169,7 @@ function loadXMLDoc(_url, _processReqChange) } } else - alert("Kein Browser-Support fr XMLHttpRequest"); + alert("No Browser-Support for XMLHttpRequest"); } function loadSyncURL2(_url) { @@ -202,7 +202,7 @@ function loadSyncURL(_url) } } else - alert("Kein Browser-Support fr XMLHttpRequest"); + alert("No Browser-Support for XMLHttpRequest"); if (_req.readyState == 4 && _req.status == 200) return _req.responseText; else @@ -229,7 +229,7 @@ function loadSyncURLxml(_url) } } else - alert("Kein Browser-Support fr XMLHttpRequest"); + alert("No Browser-Support for XMLHttpRequest"); if (_req.readyState == 4 && _req.status == 200) return _req.responseXML; else @@ -381,7 +381,7 @@ function dbox_reload_neutrino(){ } function dbox_exec_command(_cmd) { - alert("Diese Funktion dbox_exec_command wurde aus Sicherheitsgruenden abgeschafft. Bitte Extension updaten."); + alert("The function dbox_exec_command was abolished for security reasons. Please update extentions."); var __cmd = _cmd.replace(/ /g, "&"); // return loadSyncURL("/control/exec?Y_Tools&exec_cmd&"+__cmd); } diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update.js b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update.js index 3b4b062..4de42a3 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update.js +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update.js @@ -151,7 +151,7 @@ function do_set_updates2(){ var extfile=ext.build_extension_file(); document.f.extentions.value=extfile; show_waitbox(false); - alert("update fertig. Menue neuladen."); + alert("Update finished. Reload Menue"); do_submit(); } var avaiable=0; @@ -164,11 +164,11 @@ function show_free(){ avaiable = RegExp.$4; var percentage = RegExp.$5; if (total != "") { - str = "Platz in /var Gesamt: " + total + "k Benutzt: " + used + "k Frei: " + avaiable + "k Anteil benutzt: " + percentage; + str = "Space in /var Total: " + total + "kB; Used: " + used + "kB; Free: " + avaiable + "kB; Anteil benutzt: " + percentage; $('avaiable').update(avaiable); } else - str = "Kann freien Speicherplatz nicht ermitteln /var ist keine Partition! JFFS2 oder YADD?"; + str = "Can not determine free space. /var is not a partition! JFFS2 or YADD?"; $("free").update(str); } /*uninstall*/ @@ -214,7 +214,7 @@ function do_uninstall2(tag){ var extfile=ext.build_extension_file(); document.f.extentions.value=extfile; show_waitbox(false); - alert("update fertig. Menue neuladen."); + alert("Update finished. Menue reload."); do_submit(); } function uninstall_build_list(){ diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Flash.js b/tuxbox/neutrino/daemons/nhttpd/web/Y_Flash.js index 467c25e..10a1608 100755 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Flash.js +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Flash.js @@ -92,7 +92,7 @@ function progress_get() } function do_submit() { - var msg = "Image flashen?"; + var msg = "Flash Image?"; if(document.f.demo.checked) msg = "DEMO: "+msg; if(confirm(msg)==true){ @@ -112,6 +112,6 @@ function do_image_flash_ready() window.clearInterval(aktiv); $('flash_diag').hide(); loadSyncURL("/control/lcd?lock=0"); - alert("Image geflasht. Nach Reboot OK druecken"); + alert("Image flashed. After Reboot press OK."); top.location.href="/"; } diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index 74be22d..6d740e0 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.0.10 -date=17.03.2015 +version=2.8.0.11 +date=05.04.2015 type=Release info=Tuxbox diff --git a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Live.sh b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Live.sh index c74e346..a8d1de7 100755 --- a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Live.sh +++ b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Live.sh @@ -109,7 +109,7 @@ case "$1" in ;; *) - echo "Parameter falsch: $*" ;; + echo "Parameter wrong: $*" ;; esac diff --git a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Plugins.sh b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Plugins.sh index a0b7109..58b9fdd 100755 --- a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Plugins.sh +++ b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Plugins.sh @@ -50,7 +50,7 @@ skin_set() fi config_set_value_direct $y_config_Y_Web 'skin' $1 - msg="Skin geaendert - Jetzt Browser Refresh/Aktualisierung ausfuehren" + msg="Skin changed - Please refresh browser now" y_format_message_html } @@ -65,6 +65,6 @@ case "$1" in skin_get) skin_get ;; *) - echo "Parameter falsch: $*" ;; + echo "Parameter wrong: $*" ;; esac diff --git a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh index 1a3412e..7b64d30 100755 --- a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh +++ b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh @@ -69,10 +69,10 @@ image_upload() { if [ -s "$y_upload_file" ] then - msg="<b>Image upload ok</b><br>" + msg="<b>Image upload ok</b><br />" msg="$msg <script language='JavaScript' type='text/javascript'>window.setTimeout('parent.do_image_upload_ready()',1000)</script>" else - msg="Upload-Problem.<br>Bitte nochmal hochladen." + msg="Upload-Problem.<br />Try again, please." msg="$msg <script language='JavaScript' type='text/javascript'>window.setTimeout('parent.do_image_upload_ready_error()',1000)</script>" fi y_format_message_html @@ -150,7 +150,7 @@ flash_mtd() done fi # msg_nmsg "flashen%20fertig.%20Reboot..." - msg="geflasht ... bitte jetzt box neu starten ..." + msg="flashed ... please reboot your box ..." msg="$msg <script language='JavaScript' type='text/javascript'>window.setTimeout('parent.do_image_flash_ready()',1000)</script>" y_format_message_html @@ -159,7 +159,7 @@ flash_mtd() busybox reboot -d10 fi else - msg="Upload-Problem.<br>Bitte nochmal hochladen." + msg="Upload-Problem.<br />Try again, please." msg="$msg <script language='JavaScript' type='text/javascript'>window.setTimeout('parent.do_image_flash_ready()',1000)</script>" y_format_message_html fi @@ -173,34 +173,34 @@ upload_copy() then cp "$y_upload_file" "$1" else - msg="Upload-Problem.<br>Bitte nochmal hochladen." + msg="Upload-Problem.<br />Try again, please." fi } # ----------------------------------------------------------- bootlogo_upload() { - msg="Boot-Logo neu gesetzt" + msg="Set new Boot-Logo" upload_copy "$y_boot_logo" y_format_message_html } # ----------------------------------------------------------- bootlogo_lcd_upload() { - msg="Boot-Logo-LCD neu gesetzt" + msg="Set new Boot-Logo-LCD" upload_copy "$y_boot_logo_lcd" y_format_message_html } # ----------------------------------------------------------- ucodes_upload() { - msg="$1 hochgeladen<br><a href='/Y_Settings_ucodes.htm'><u>naechste Datei</u></a>" + msg="$1 uploaded<br /><a href='/Y_Settings_ucodes.htm'><u>next file</u></a>" upload_copy "$y_path_ucodes/$1" y_format_message_html } # ----------------------------------------------------------- zapit_upload() { - msg="$1 hochgeladen<br><a href='/Y_Settings_zapit.htm'><u>naechste Datei</u></a>" + msg="$1 uploaded<br /><a href='/Y_Settings_zapit.htm'><u>next file</u></a>" upload_copy "$y_path_zapit/$1" y_format_message_html } @@ -267,7 +267,7 @@ do_mount() echo "$res" echo "view mounts" m=`mount` - msg="mount cmd:$cmd<br><br>res=$res<br>view Mounts;<br>$m" + msg="mount cmd:$cmd<br /><br />res=$res<br />view Mounts;<br />$m" y_format_message_html } # ----------------------------------------------------------- @@ -386,7 +386,7 @@ do_installer() echo '<link rel="stylesheet" type="text/css" href="/Y_User.css">' echo "<meta http-equiv='refresh' content='0; $y_out_html'>" echo '</head>' - echo "<body><a href='$y_out_html'>If automatic forwarding does not go.</a>" + echo "<body><a href='$y_out_html'>If automatic forwarding does not work.</a>" echo '</body></html>' # cat $y_out_html else @@ -404,7 +404,7 @@ do_installer() y_format_message_html fi else - msg="Upload-Problem.<br>Try again, please." + msg="Upload-Problem.<br />Try again, please." y_format_message_html fi } @@ -448,7 +448,7 @@ do_ext_uninstaller() proc() { msg=`cat /proc/$1` - msg="<b>proc: $1</b><br><br>$msg" + msg="<b>proc: $1</b><br /><br />$msg" y_format_message_html } # ----------------------------------------------------------- @@ -461,7 +461,7 @@ wol() else msg=`/bin/ether-wake $1` fi - msg="<b>Wake on LAN $1</b><br><br>$msg" + msg="<b>Wake on LAN $1</b><br /><br />$msg" y_format_message_html } # ----------------------------------------------------------- @@ -567,7 +567,7 @@ case "$1" in zapit_upload) zapit_upload $2 ;; kernel-stack) msg=`dmesg`; y_format_message_html ;; ps) msg=`ps aux`; y_format_message_html ;; - free) f=`free`; p=`df -h`; msg="RAM Speichernutzung\n-------------------\n$f\n\nPartitionen\n-------------------\n$p" + free) f=`free`; p=`df -h`; msg="RAM memory usage\n-------------------\n$f\n\npartitions\n-------------------\n$p" y_format_message_html ;; yreboot) yreboot; echo "Reboot..." ;; check_yWeb_conf) check_Y_Web_conf ;; @@ -655,7 +655,7 @@ case "$1" in df /tmp|grep /tmp ;; *) - echo "[Y_Tools.sh] Parameter falsch: $*" ;; + echo "[Y_Tools.sh] Parameter wrong: $*" ;; esac ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/daemons/nhttpd/web/Y_Baselib.js | 8 ++-- tuxbox/neutrino/daemons/nhttpd/web/Y_Ext_Update.js | 8 ++-- tuxbox/neutrino/daemons/nhttpd/web/Y_Flash.js | 4 +- tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 4 +- .../neutrino/daemons/nhttpd/web/scripts/Y_Live.sh | 2 +- .../daemons/nhttpd/web/scripts/Y_Plugins.sh | 4 +- .../neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh | 32 ++++++++++---------- 7 files changed, 31 insertions(+), 31 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-03 14:45:16
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 227b75aa77f5f76ce922ce275ecb6f31e8142c95 (commit) from 2ba317faaa70bc1e874164dc90bf082516df6e8e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 227b75aa77f5f76ce922ce275ecb6f31e8142c95 Author: GetAway <get...@t-...> Date: Fri Apr 3 16:43:40 2015 +0200 nhttpd: fix init of configfile.version it has never worked Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/yconfig.h b/tuxbox/neutrino/daemons/nhttpd/yconfig.h index 0a780b3..ccd4656 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yconfig.h +++ b/tuxbox/neutrino/daemons/nhttpd/yconfig.h @@ -38,7 +38,7 @@ #define HTTPD_NAME "yhttpd" // Webserver name (can be overloaded) #define YHTTPD_NAME "yhttpd_core" // Webserver name (Name of yhttpd-core!) #define AUTH_NAME_MSG "yhhtpd" // Name in Authentication Dialogue -#define CONF_VERSION 4 // Version of yhttpd-conf file +#define CONF_VERSION 4 // Version of yhttpd-conf file #define HTTPD_KEEPALIVE_TIMEOUT 500000 // Timeout for Keep-Alive in mircoseconds //============================================================================= diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp index 652d939..a8e6b9b 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp @@ -479,7 +479,7 @@ void Cyhttpd::ReadConfig(void) // informational use ConfigList["WebsiteMain.port"]= itoa(Config->getInt32("WebsiteMain.port", HTTPD_STANDARD_PORT)); ConfigList["webserver.threading"]= Config->getString("webserver.threading", "true"); - ConfigList["configfile.version"]= Config->getInt32("configfile.version", CONF_VERSION); + ConfigList["configfile.version"]= itoa(Config->getInt32("configfile.version", CONF_VERSION)); ConfigList["server.log.loglevel"]= itoa(Config->getInt32("server.log.loglevel", 0)); ConfigList["server.no_keep-alive_ips"]= Config->getString("server.no_keep-alive_ips", ""); webserver->conf_no_keep_alive_ips = Config->getStringVector("server.no_keep-alive_ips"); ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/daemons/nhttpd/yconfig.h | 2 +- tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-03 11:34:31
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 2ba317faaa70bc1e874164dc90bf082516df6e8e (commit) from 1c25bb13f2db3d7e5a78f3f6b4cde362eefa1645 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 2ba317faaa70bc1e874164dc90bf082516df6e8e Author: GetAway <get...@t-...> Date: Fri Apr 3 13:29:39 2015 +0200 yWeb: introduce multilanguage (part3) add german and english language file Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/configure.ac b/tuxbox/neutrino/configure.ac index d75ac2f..dbbe08f 100644 --- a/tuxbox/neutrino/configure.ac +++ b/tuxbox/neutrino/configure.ac @@ -271,6 +271,7 @@ daemons/Makefile daemons/nhttpd/Makefile daemons/nhttpd/web/Makefile daemons/nhttpd/web/images/Makefile +daemons/nhttpd/web/languages/Makefile daemons/nhttpd/web/scripts/Makefile daemons/nhttpd/web/styles/Makefile daemons/nhttpd/tuxboxapi/Makefile diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Makefile.am b/tuxbox/neutrino/daemons/nhttpd/web/Makefile.am index b38a201..e6f57d4 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Makefile.am +++ b/tuxbox/neutrino/daemons/nhttpd/web/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = images scripts styles +SUBDIRS = images languages scripts styles install-data-local: for f in ./*.js; do gzip $$f -c >$$f.gz; done diff --git a/tuxbox/neutrino/daemons/nhttpd/web/languages/.gitignore b/tuxbox/neutrino/daemons/nhttpd/web/languages/.gitignore new file mode 100644 index 0000000..c038ed7 --- /dev/null +++ b/tuxbox/neutrino/daemons/nhttpd/web/languages/.gitignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in \ No newline at end of file diff --git a/tuxbox/neutrino/daemons/nhttpd/web/languages/Deutsch b/tuxbox/neutrino/daemons/nhttpd/web/languages/Deutsch new file mode 100644 index 0000000..5a6dfb2 --- /dev/null +++ b/tuxbox/neutrino/daemons/nhttpd/web/languages/Deutsch @@ -0,0 +1,1026 @@ +# yWeb language file (German/Deutsch) +# language version: 1.0 +# +# desc: xxyy=string +# xx=group (00-99) +# yy=translation (00-99) + +#=========== GENERAL / GLOBAL +0000=Dein Browser unterstützt keine (I)Frames. +0001=löschen +0002=Ausführen +0003=Aktion +0004=Benutzer +0005=Passwort +0006=Sprache +0007=Allgemein +0008=Logos +0009=Werte werden aktualisiert +0010=Aktualisieren +0011=Aufnehmen +0012=Umschalten +0013=Nachschlagen +0014=Senden und Speichern der Werte +0015=Werte werden übernommen... +0016=Einstellungen +0017=Standard +0020=Senden +0021=Speichern +0022=Alle Änderungen speichern +0023=Abbrechen +0024=Änderungen anwenden +0025=Liest die Konfigurationsdatei von Neutrino neu ein +0026=Antwort +0027=Neustart +0028=Ausschalten +0029=Status +0030=Neustart +0031=Ein +0032=Aus +0033=diese Einstellungen sind nur lesbar +0034=Zurück +0035=Datum +0036=von +0037=bis +0038=Sendung +0039=Alle Kanäle +0040=Sonstiges +0041=Beschreibung +0042=Farbe +0043=Bezeichnung +0044=leer +0045=Prüfen +0046=Hilfe +0047=Achtung! +0048=Verzeichnis +0049=Dateiname +0050=Zugriff verwehrt wg. ManagementIP +0051=automatisch +0052=zeigen +0053=verstecken +0054=Fehler +0055=Der Aufruf dieser Seite ist nur für Management Zwecke erlaubt +0056=Anfrage wird bearbeitet +0057=Bitte warten ... +0058=PIN Code muss 4-stellig sein +0059=Ja +0060=Nein +0061=Aktiviert +0062=Deaktiviert +0063=Hochladen +0064=Herunterladen +0065=Bitte eine Auswahl treffen +0066=Ausgwälte Datei hochladen +0067=Aufnahmeverzeichnis +0068=Gerät mit dieser MAC-Adresse wecken +0069=Gerät starten +0070=Hinweis + +#========== Main Menue +0100=Boxsteuerung +0101=BoxSteuerung & Bouquets +0102=Live +0103=LiveView, Aufnahmeliste, EPG +0104=Werkzeuge +0105=Mounts, WOL, Experten Werkzeuge, Flashen +0106=Einstellungen +0107=Einstellungen der Box, Webserver, ... +0108=Erweiterungen +0109=Installierte Erweiterungen und Verwaltung +0110=Info +0111=Information über das yWeb, Version, etc. +0112=LiveTV +0113=LiveTV Popup +0114=Fernbedienung & OSD +0115=Live TV direkt im VLC Client +0116=Version + +#========= Boxcontrol Menue +0200=Sender auswählen +0201=Sender +0202=Box Funktionen (Neustart, Fernbedienung, SPTS, ...) +0203=Steuerung +0204=Nachricht an die Box senden +0205=Nachrichten +0206=Webbasierte Fernbedienung +0207=Fernbedienung +0209=LCD-Schnappschuss +0210=LCD-Schnappschuss erstellen +0211=lcshot nicht installiert in +0212=OSD-Schnappschuss +0213=OSD-Schnappschuss erstellen +0214=fbshot nicht installiert in +0215=Lautstärke verringern +0216=Lautstärke erhöhen +0217=Lautstärke an / aus +0218=Zum TV umschalten +0219=Zum Radio umschalten +0220=Webinterface der SlaveBox +0221=Lautstärke Anzeige +0222=dboxshot nicht installiert in +0223=Wechseln zu + +#======== Boxcontrol - fbshot - lcshot +0300=Schnappschuss +0301=dboxshot +0302=Schnappschuss löschen +0303=Schnappschuss wird erstellt... +0304=Optionen +0305=Displayfarbe +0306=Zoommodus +0307=Dateiausgabe +0308=komprimiert +0309=Farbausgabe +0310=Grauskalenbild +0311=Ausgabe + +#======== Boxcontrol +0400=Speicher leeren +0401=sperren +0402=freigeben +0403=Standby Modus +0404=Aufnahmemodus +0405=SPTS +0406=dbox +0407=Fernbedienung +0408=Wiedergabe +0409=EPG (Sectiond) +0410=Live sperren +0411=Box wirklich neu starten? +0412=Neustart +0413=Box wirklich ausschalten? +0414=Ausschalten +0415=Neu starten +0416=LCD entsperren +0417=Optischer Ausgang +0418=Esound Soundserver + +#========= Boxcontrol - Message +0500=Nachricht eingeben +0501=Meldung auf Bildschirm +0502=Popup auf Bildschirm +0503=Nachricht senden + +#====== EXtension +0600=Installation +0601=Erweiterungen deinstallieren +0602=Suche nach Erweiterungen... +0603=Installierte Erweiterungen +0604=Typ +0605=Erweiterung +0606=Tag +0607=Version +0608=Größe/k +0609=Deinstallation +0610=Frei +0611=Aktion +0612=Neue Erweiterungseinstellungen (Vorschau) +0613=Vorschau aktualisieren +0614=Deine +0615=Aktuelle +0616=Aktualisierung / Installation +0617=Seite +0618=Info +0619=Log +0620=Erweiterungsliste +0621=Einstellungen gespeichert. Menüs werden aktualisiert. +0622=Erweiterungseinstellungen gespeichert +0623=yWeb Mindestversion +0624=Administration +0625=Normal +0626=Verwaltung +0627=Deinstallation +0628=Einstellungen +0629=Einstellungen der Erweiterungen +0630=Erweiterungen installieren/aktualisieren + +#====== Bouquet +0700=Bouquet +0701=Alle Änderungen müssen noch gespeichert werden! +0702=Bouquet-Editor +0703=Bouquet hinzufügen +0704=Name des neuen Bouquets +0705=Bouquet umbenennen +0706=Nach oben +0707=Nach unten +0708=Entfernen +0709=Hinzufügen +0710=bearbeiten +0711=Löschen +0712=wirklich löschen? +0713=Umbenennen +0714=Bouquet-Liste gespeichert +0715=Es wurde kein Bouquet-Name angegeben + +#======== EPG +0800=EPG holen ... +0801=EPG Plus +0802=Bouquet auswählen - Kanäle werden aktualisiert +0803=Für Details: Maus über die entsprechende Sendung bewegen. +0804=EPG Daten aktualisieren +0805=Stunden zurück +0806=Stunden vor +0807=Timer für Aufnahme gesetzt +0808=Umschalt-Timer gesetzt + +#======== EPG Streaminfo +0900=Streaminfo +0901=Auflösung +0902=Verhältnis +0903=Bildrate +0904=Audiotyp +0905=Frequenz +0906=Original Network ID +0907=Service ID +0908=Transponder Stream ID +0909=Video PID +0910=Program Map Table PID +0911=Program Clock Reference PID +0912=Audio PID +0913=Teletext PID + +#======== Neutrino Settings +1000=Neutrino neuladen +1001=Neustart notwendig +1002=Zur Synchronisation mit Neutrino +1003=Nach dem Setzen von Einstellungen im yWeb +1004=Am TV "Hauptmenü->Service->Neutrino neu starten" wählen, um die Einstellungen nach Neutrino zu übernehmen oder... +1005=Nach dem Setzen von Einstellungen in Neutrino +1006=Am TV "Hauptmenü->Einstellungen->Einstellungen jetzt speichern" wählen, um die Änderung zu speichern und dann diese Seiten neu laden. + +#======== Settings General & Menue +1100=Webserver +1101=EPG +1102=Timer Einstellungen +1103=Zapit +1104=Sichern & Wiederherstellen +1105=Bouquet-Editor +1106=Video/Audio +1107=Jugendschutz +1108=Aufnahme +1109=Direktaufnahme +1110=Audioplayer +1111=Esound Soundserver +1112=Movieplayer +1113=Bildbetrachter +1114=LC-Display +1115=Tastenbelegung +1116=Bootoptionen +1117=Erweitert +1118=Personalisierung +1119=Plugins +1120=Diverses +1121=Boot Logo +1122=yWeb Einstellungen +1123=Einstellungen für Web Server daemon +1124=Ucodes hoch-/runterladen +1125=Hoch-/runterladen von Bouquetlist, Channellist, ... +1126=Boot Logo sichern / wiederherstellen +1127=Einstellungen sichern oder wiederherstellen +1128=SyncTimer Einstellugen +1129=VNC-Plugin konfigurieren +1130=Video-/Audioeinstellungen +1131=Jugendschutzeinstellungen +1132=Aufnahmeeinstellungen +1133=Direktaufnahmeeinstellungen +1134=Audioplayereinstellugen +1135=Esound-Soundservereinstellungen +1136=Movieplayereinstellungen +1137=Pictureviewereinstellungen +1138=LCD-Einstellungen +1139=Tasteneinstellungen +1140=Boot-Einstellungen +1141=Erweiterte Einstellungen +1142=Personalisierungseinstellungen + +#======== Neutrino Settings - Recording +1200=Aufnahmeziel +1201=Aufnahmegerät +1202=Aufnahmemodus +1203=Server +1204=Videorekorder +1205=Datei +1206=Aufnahmeserver IP +1207=Aufnahmeserver IP (xxx.xxx.xxx.xxx) +1208=Aufnahmeserver Port +1209=Aufnahmeserver WOL +1210=MAC Adresse +1211=MAC (aa:bb:cc:dd:ee:ff) +1212=Aufnahmeverhalten +1213=Playback anhalten +1214=sectionsd: An/Aus/Neustart +1215=EPG (Sectionsd) +1216=nicht anhalten +1217=anhalten +1218=neu starten +1219=Umschalten bei Ankündigung +1220=Unterdrücke Scart-Umschaltung +1221=Im SPTS-Modus aufnehmen +1222=Timereinstellungen +1223=Aufnahmestart-Korrektur (Sek) +1224=Aufnahmeende-Korrektur (Sek) +1225=Umschaltstart-Korrektur (Sek) +1226=Tonspuren +1227=Standard Tonspur aufnehmen +1228=Alternative Tonspur aufnehmen +1229=AC3 Tonspuren aufnehmen +1230=Speichere im Kanalverzeichnis +1231=Aufnahmezeit in Stunden + +#======== Neutrino Settings - Movieplayer +1300=Quellen +1301=Streamingserver IP +1302=Server IP (xxx.xxx.xxx.xxx) +1303=Streamingserver Port +1304=Streamingserver +1305=DVD Laufwerk +1306=DVD Laufwerk im Server +1307=Nutze VLC 1.x +1308=Verzeichnis (VLC) +1309=VLC Verzeichnis im Server +1310=Transkodierung +1311=Datenrate Video +1312=Transkodieren +1313=MPEG Video Codec +1314=Auflösung +1315=Datenrate Audio +1316=Transkodiere Audio (dvd/vcd/mpg) +1317=Erzwinge AC3 bei avi +1318=Player +1319=Startverzeichnis +1320=Nur Movieplayer 1 +1321=Verwende Buffer (WabberQueue) +1322=Anzahl Buffersegmente +1323=TV Bild im Browser +1324=EPG (Sectionsd) +1325=sectionsd: Ein/Aus/Neustart +1326=nicht anhalten +1327=anhalten +1328=neu starten + +#======== Neutrino Settings - Parental +1400=PIN-Eingabe +1401=Nie +1402=Bouquet +1403=Vorsperre +1404=Sperrtype +1405=Mindestalter +1406=PIN + +#======== Settings NHTTP +1500=Webserver +1501=Authentifikation +1502=Rechner ohne Authentifikation. IP des Rechners eingeben. +1503=Rechner ohne Authentifikation +1504=Nach Neustart aktiv +1505=Port +1506=Threading +1507=Alternativer Web-Ordner +1508=Eingebundenes Verzeichnis +1509=Stammverz. des gehosteten Web. Eingabe des Mount-Verzeichnis. +1510=Erlaubte Dateiendungen / MIME +1511=Alle Dateiendungen erlauben +1512=URL bzw. Verzeichnis der Logos eingeben +1513=URL bzw. Verzeichnis der Logos +1514=Server (nhttpd) +1515=(z.B. JtG Server, Mit Kommas trennen) +1516=IPs mit No keep-alive +1517=Cache +1518=Cache Informationen +1519=Cache löschen +1520=Server Konfiguration +1521=Passwort muss mind. 4 Zeichen haben +1522=Port muss angegeben werden + +#========= Settings yWeb +1600=IP Adresse eingeben (xxx.xxx.xxx.xxx) +1601=MAC Adresse eingeben (xx:xx:xx:xx:xx:xx) +1602=Bezeichnung +1603=Beschreibung eingeben +1604=Management IPs +1605=Wake on Lan +1606=Box Name im Top-Menü +1607=Box Bezeichnung +1608=Farbe der Box Bezeichnung im Top-Menü. z.B. 2188e0 eingeben ohne # +1609=Farbe +1610=Startseite +1611=Fernbedienung +1612=IP-Adresse +1613=Fernbedienung auswählen + +#======== Settings Picture viewer +1700=Bildbetrachter +1701=Skalierung +1702=keine +1703=einfach +1704=aufwendig +1705=Diaschau-Anzeigedauer (Min.) +1706=Start-Verzeichnis +1707=Decoding-Server IP +1708=Decoding-Server Port + +#======== Settings Audioplayer +1800=Audioplayer +1801=Interpret, Titel +1802=Titel, Interpret +1803=Anzeige +1804=Selektiere akt. Track +1805=Titelsuche nach Name +1806=Repeatmodus aktivieren +1807=Playlist anzeigen +1808=Bildschirmschoner (min, 0=aus) +1809=Hohe Decodier-Priorität +1810=Start-Verzeichnis +1811=Shoutcast Meta-Daten + +#======== Settings Timer +1900=Timer Einstellungen +1901=Benutzername +1902=Passwort +1903=("&" wird beim Speichern zu ";" konvertiert) +1904=Persönliche RSS TV-Planer URL +1905=Klack Sicherheits Code +1906=Sicherheits Code +1907=Sendernamen-Ersetzungsliste + +#======== Settings Backup/Restore +2000=Sichern +2001=Sichern Ihrer Einstellungen +2002=Wiederherstellen +2003=Hochladen und wiederherstellen einer vorher erstellten Sicherung. Ihre Box startet danach neu. +2004=Sichern & Wiederherstellen ist nur bei einem gleichen Image mit gleichem Entwicklungsstand sinnvoll. +2005=Download der Sicherung +2006=Erstelle Sicherung +2007=tar-Datei + +#============ Tools Info +2100=dbox +2101=Kernel Meldungen +2102=Prozesse +2103=Speicher +2104=Info +2105=Version +2106=Einstellungen +2107=dbox Zeit +2108=CPU Info +2109=Speicher info +2110=Partitionen +2111=mtd +2112=Statistik + +#============ Tools yInstaller +2200=Keine Datei angegeben! +2201=Platz in /var Gesamt: +2202=Benutzt +2203=Frei +2204=Anteil benutzt +2205=Kann freien Speicherplatz nicht ermitteln /var ist keine Partition! JFFS2 oder YADD? +2206=yInstaller +2207=tar-Datei +2208=hochladen und installieren + +#============ Tools +2300=Automounts organisieren +2301=AutoMounts +2302=File mounts organisieren +2303=Mounts +2304=Wake on LAN +2305=Installation prüfen +2306=Expert +2307=Box Informationen +2308=Image sichern oder flashen +2309=Image +2310=Shell +2311=nicht installiert +2312=fortlaufende Ausgabe (nur IE - wg. scrollen) +2313=Ausgabe anhägen (nur IE) +2314=Verzeichnis +2315=Aktuelles Verzeichnis +2316=Kommando +2317=Auszuführendes Kommando eingeben +2318=Kommando ausführen +2319=Lösche Ausgabefenster +2320=Boot Logo +2321=Dateien und Verzeichnisse organisieren +2322=Dateimanager +2324=yInstaller (für, Dateien, Plugins, ...) +2325=Sammeln von Informationen + +#=========== LIVE Menue +2400=Live/Timer +2401=Live +2402=LiveTV +2403=LiveTV (popup) +2404=TV +2405=LiveRadio +2406=LiveRadio (popup) +2407=Radio +2408=Doppelsicht +2409=Nutze Livestream mit 2 Boxen +2410=Timer +2411=Timer organisieren +2412=EPG +2413=EPG anzeigen +2414=EPG+ (popup) +2415=EPG Plus +2416=Timer Sync +2417=Timer Synchronisation mit Web TV-Planer + +#=========== LIVE tv/radio +2500=Streaming-Informationen<br/>werden ermittelt. +2501=Hole Bouquets ... +2502=Hole Sender ... +2503=Auflösung auswählen +2504=Sender wechseln +2505=EPG für aktuellen Sender anzeigen +2506=Bouquets und Sender neu laden +2507=Hole Unterkanäle ... +2508=Wiedergabe / Pause +2509=Stoppen +2510=Stummschalten an / aus +2511=leiser +2512=lauter +2513=Ganzer Bildschirm (auch mit Doppelklick) mit ESC zurück +2514=sperren / entsperren TV (Aufnahmemodus, FB, LCD) +2515=UDP Streaming an/aus +2516=LiveView Einstellungen +2517=Schnappschuss erstellen +2518=Aufnahmemodus +2519=Transkodiermodus +2520=... erstelle VLC Live ... +2521=Bouquet auswählen - Sender werden aktualisiert +2522=Sender wechseln - nutze zap + +#=========== LIVE Record +2600=Aufnahmemodus +2601=Dateiname +2602=Bildschirm an +2603=Transkodierung an +2604=Aufname +2605=Aufnahmestopp +2606=Aufnahme transkodiert +2607=Profile +2608=Video +2609=Breite +2610=Höhe +2611=Codec +2612=Bitrate +2613=Skalierung +2614=Audio +2615=Sender +2616=Transkodieren-Broadcast +2617=Zugriff +2618=Typ +2619=IP:Port +2620=Bildschirm ein während des traskodierens +2621=Benutze Transcodierung +2622=Aufnahme in Datei +2623=Transcodieren stoppen +2624=Transcodieren +2625=Transcodiere Stream + +#=========== LIVE Settings +2700=VLC Einstellungen (IE & Mozilla >= 0.8.6.1) +2701=Deinterlace +2702=http caching +2703=UDP als Standard +2704=Slave Box IP (2. Box) +2705=IP (xxx.xxx.xxx.xxx) der Slavebox eingeben +2706=VLC Aufnahmepfad für Direktaufnahme +2707=LiveView aktualisieren + +#=========== LIVE Timer Edit +2800=Timer +2801=Timertyp +2802=Zeiten +2803=Alarmzeit +2804=Zeit +2805=Stoppzeit +2806=Wiederholung +2807=Wiederholungen (0 = unbegrenzt) +2808=(Mo-So, X=Timer) +2809=Wochentage +2810=Werte +2811=Programm +2812=APIDs +2813=Default +2814=Standard +2815=Alternative +2816=AC3 +2817=Standby +2818=Nachricht +2819=Plugin +2820=Aufnahmeverzeichnis +2821=Beschreibung +2822=Neuer Timer + +#=========== LIVE Timer Sync +2900=Timer holen. +2901=Timer synchonisieren +2902=Timer Quelle +2903=Aufnahmeverzeichnis +2904=Einstellungen +2905=Debugging +2906=Hole gewählte +2907=Lösche alle +2908=Timer Vorschauliste +2909=Startzeit +2910=Endezeit +2911=Sender +2912=Sendung +2913=Quelle +2914=Setze Timer +2915=Lösche Log +2916=Log +2917=Aktion +2918=Status + +#=========INFO +3000=Hilfe +3001=Über +3002=Auf Updates prüfen +3003=Deine Version +3004=Aktuelle Version +3005=Download + +#========= Live doubleView +3100=Live - Doppelsicht +3101=Keine IP für Slave Box angegeben! +3102=Einstellen unter Einstellugen->yWeb. + +#========= LiveView Popup +3200=LiveTV PopUp +3201=Während des Live-View keine Sender +3202=in der Web-Oberfläche oder an der dbox umstellen. +3203=SPTS wurde TV bzw. PES für Radio angeschaltet. +3204=Entsperren + +#========= Automounts +3300=Mountname +3301=Typ +3302=IP +3303=Verzeichnis +3304=Optionen +3305=Benutzername +3306=Passwort +3307=entferntes Verzeichnis +3308=Mount Optionen +3309=Mount wirklich loeschen? +3310=geloescht! +3311=ändern +3312=hinzufügen +3313=löschen +3314=Mount bearbeiten +3315=Mount hinzufügen +3316=Mount löschen + +#========= Key settings +3400=Modus wechseln +3401=TV-/Radio Modus +3402=Keine Taste +3403=Kanalliste +3404=OK-Taste für... +3405=Bouquet-Kanäle +3406=Bouquetliste +3407=Menü +3408=Seite hochblättern +3409=Seite runterblättern +3410=Kanalliste schließen +3411=Sortierreihenfolge ändern +3412=Stichwortsuche im EPG +3413=Aufnahme-Timer hinzufügen +3414=Umschalt-Timer hinzufügen +3415=EPG aktualisieren +3416=Schnellumschaltung +3417=Kanal hoch +3418=Kanal runter +3419=Lautstärke plus +3420=Lautstärke minus +3421=Bouquet weiter +3422=Bouquet zurück +3423=Unterkanal weiter +3424=Unterkanal zurück +3425=Unterkanal wechseln +3426=Zapping-History Bouquet +3427=Letzter Kanal +3428=Vorbelegung benutzen + +#========= LCD settings +3500=LCD Einstellungen +3501=LCD +3502=Power +3503=Invertieren +3504=Dimm-Timeout +3505=Helligkeit nach Dimm-Timeout +3506=Kontrast / Helligkeit +3507=Kontrast +3508=normale Helligkeit +3509=Standby Helligkeit +3510=Voreinstellung benutzen +3511=Anzeige-Modi +3512=EPG-Anzeige +3513=Standard (Kanal) +3514=Sendung +3515=Kanal / Sendung +3516=Kanal / Trennl. / Sendung +3517=Kanal (kurz) / Sendung +3518=Kanal (kurz) / Trennl. / Sendung +3519=Ausrichtung der EPG-Anzeige +3520=links +3521=mittig +3522=Statuszeile +3523=Sendungsfortschritt +3524=Lautstärke +3525=Lautstärke / Fortschritt +3526=Laut. / Fort. / Audio +3527=wähle die Darstellung auf dem LCD + +#========= Mount +3600=Mounts +3601=Typ +3602=IP +3603=Verzeichnis +3604=Lokales Verzeichnis +3605=MAC +3606=Optionen 1 +3607=Optionen 2 +3608=Automount +3609=Benutzername +3610=Passwort +3611=Entferntes Verzeichnis. Für CIFS keinen führenden Schrägstrich benutzen +3612=Lokales Mount-Verzeichnis +3613=ändern +3614=Unmount Liste +3615=Mounts bearbeiten +3616=ausgewähltes Mount Verzeichnis +3617=Unmount Liste anzeigen +3618=Unmount +3619=Mount Liste +3620=Unmount gewähltes Verzeichnis +3621=Mount Liste anzeigen +3622=mount + +#========= Personalize +3700=Zugangsoptionen +3701=PIN Code +3702=Hauptmenü +3703=TV-Modus +3704=Radio-Modus +3705=Scart-Eingang +3706=Spiele +3707=Audioplayer +3708=Internetradio +3709=Esound Soundserver +3710=Movieplayer +3711=Bildbetrachter +3712=UPNP Browser +3713=Skripte +3714=Einstellungen mit PIN +3715=Service mit PIN +3716=SleepTimer +3717=Neu starten +3718=Ausschalten +3719=Einstellungen +3720=Video +3721=Audio +3722=Jugendschutz +3723=Netzwerk +3724=Aufnahme +3725=OSD +3726=LCD +3727=Tasten +3728=IDE-Interace HDD/MMC/SD +3729=Medienwiedergabe +3730=Treiber- und Bootoptionen +3731=Erweiterte Einstellungen +3732=Personalisierung mit PIN +3733=Service +3734=Bouquet-Verwaltung +3735=Kanalsuche +3736=Kanalliste neu laden +3737=Plugins neu laden +3738=Neutrino neu starten +3739=EPG neu starten +3740=Ucodes üprüfen +3741=Sender/EPG Statistik +3742=Image Informationen +3743=Software-Aktualisierung mit PIN +3744=Farbtasten +3745=Features (Taste Blau) +3746=EPG/Info (Taste Rot) +3747=nicht sichtbar +3748=sichtbar +3749=Pin + +#========= Boot Logo +3800=Bootlogo / LCD +3801=Das Boot-Logo muss schon im Zielformat vorliegen! +3802=Boot Logo +3803=Boot LCD Logo + +#========= Video/Audio +3900=Video & Audio Einstellungen +3901=Video +3902=Video Signalart +3903=Bildschirmformat +3904=Videoformat auswählen +3905=Hintergrundbildformat +3906=select backgroundformat +3907=RGB-Zentrierung +3908=RGB-sync setzen +3909=VCR-Ausgang Signalart +3910=select vcr_output +3911=Scart-Eingang automatisch +3912=Audio +3913=Analog-Ausgang +3914=select audio analogMode +3915=Stereo +3916=Mono links +3917=Mono rechts +3918=in Tonwahl wählbar +3919=Audio mit Links/Rechts wählbar +3920=Dolby Digital Standard +3921=Lautstärke Steuerung +3922=select volume control +3923=Lautstärkeabsenkung PCM +3924=Lautstärke Schrittweite +3925=Anfangslautstärke + +#========= direct recording +4000=Aufnahmeeinstellungen +4001=Größe des Ringpuffer +4002=Max ringbuffers +4003=Synchrones Schreiben (O_SYNC) +4004=Synchrones Schreiben (fdatasync) +4005=Videotext aufzeichnen +4006=Untertitel aufzeichnen +4007=PSI in TS einfügen +4008=Verzeichnisauswahl anzeigen +4009=Max. Sofortaufnahmezeit +4010=Max. instant recording time +4011=Std. +4012=Vorlage für Dateinamen +4013=Max. Dateigröße +4014=Verzeichnisrechte +4015=Dateinamenvorlage %C=Kanal %T=Sendung %I=Info %d=Datum %t=Zeit +4016=Verzeichnisrechte setzen (UNIX octals) + +#========= driver & boot +4100=Treiber- und Bootoptionen +4101=SPTS-Mode Treiber laden +4102=Infos beim Booten anzeigen +4103=HW-Sections verwenden +4104=AVIA-Watchdog aktivieren +4105=eNX-Watchdog aktivieren +4106=Philips/Sagem FB Workaround +4107=SPTS-Fix AVIA500 +4108=Realtime Clock (RTC) aktivieren +4109=PMT-Update verwenden +4110=EXPERT! Boot-Konsole +4111=Experten Boot-Konsole benutzen +4112=null +4113=seriell +4114=framebuffer +4115=Vollduplex Modus +4116=Diverses +4117=Bootmenü anzeigen + +#========= Extended +4200=Diverse Einstellungen +4201=Allgemein +4202=Startmodus +4203=Letzter Modus +4204=TV-Modus +4205=Radio-Modus +4206=Scart-Eingang +4207=Audioplayer +4208=Internetradio +4209=Esound Soundserver +4210=Standby +4211=Standbymodus +4212=Standby Stromsparmodus (exp.) +4213=Komplett ausschalten nach +4214=Verzögerter Shutdown +4215=Standby aus mit +4216=Power, OK +4217=Power, Home +4218=Power, Home, OK +4219=Sleeptimer Vorgabe +4220=shutdown after x min +4221=Min. +4222=Videotext zwischenspeichern +4223=Eckendarstellung +4224=Lautstärkeanzeige +4225=select volumebar position +4226=oben rechts +4227=oben links +4228=unten links +4229=unten rechts +4230=unten Mitte +4231=erhöhte Mitte +4232=aus +4233=Mute Icon bei Lautstärke +4234=nicht bei AC3 +4235=Menü-Zahlen als Icons +4236=Infobar +4237=Satellitenanzeige +4238=Unterkanalanzeige +4239=subchannel display position +4240=in Infobar +4241=Virtual Zap +4242=Info bei EPG Änderung +4243=Aus +4244=Popup +4245=Infobar einblenden +4246=Radiotext +4247=Kanalliste +4248=Ausrichtung Programmtext +4249=Erweiterte Kanalliste +4250=EPG-Einstellungen +4251=EPG-Cache (Tage) +4252=EPG-Langtext (Stunden) +4253=EPG verwerfen nach (Std.) +4254=Max. Events +4255=EPG Verzeichnis +4256=letzten Kanal speichern +4257=TV-Startkanal +4258=Radio-Startkanal +4259=Audio-PIDs speichern +4260=Bouquet Andere +4261=Fernbedienung +4262=Anfangsverzögerung +4263=Wiederholungsverzögerung +4264=Filebrowser +4265=Dateisystem +4266=Dateirechte anzeigen +4267=Startverzeichnis absolut +4268=links +4269=rechts +4270=abgerundet +4271=eckig +4272=pzapit -kill vorm Speichern ausführen + +#========= VNC +4300=VNC +4301=Server +4302=enter IP (xxx.xxx.xxx.xxx) +4303=Port +4304=Passwort +4305=Skalierung +4306=Skalierungsfaktor für Darstellung + +#========= Image +4400=Image wird erstellt ... +4401=Partition +4402=Generate Image for download +4403=Download +4404=go to Upload Dialog +4405=Flash ... +4406=Es ist sinnvoll die Box vor dem flashen frisch zu booten. +4407=Erstelltes Images herunterladen +4408=Das Image wurde erstellt. +4409=Download fertig. Image in /tmp loeschen. +4410=Image wird hochgeladen... +4411=Flashing +4412=Image wird geflasht. Nicht unterbrechen! +4413=Erase flash +4414=Write flash +4415=Überprüfen +4416=Image flashen +4417=Partition +4418=Switch on Demo-Modus. Flashing will be simulated. +4419=Demomodus +4420=Hochladen und flashen +4421=fcp ist nicht installiert! + +#========= Esound +4500=Esound Port +4501=Standard + +#========= Remote control +9900=Standby / Ausschalten +9901=Stummschalten +9902=Num-Taste 1 +9903=Num-Taste 2 +9904=Num-Taste 3 +9905=Num-Taste 4 +9906=Num-Taste 5 +9907=Num-Taste 6 +9908=Num-Taste 7 +9909=Num-Taste 8 +9910=Num-Taste 9 +9911=Num-Taste 0 +9912=Lautstäke erhöhen +9913=Lautstäke verringern +9914=Hilfe +9915=Rot +9916=Grün +9917=Gelb +9918=Blau +9919=OK +9920=Hoch +9921=Runter +9922=Links +9923=Rechts +9924=Menü +9925=Beenden / Zurück diff --git a/tuxbox/neutrino/daemons/nhttpd/web/languages/English b/tuxbox/neutrino/daemons/nhttpd/web/languages/English new file mode 100644 index 0000000..f25357a --- /dev/null +++ b/tuxbox/neutrino/daemons/nhttpd/web/languages/English @@ -0,0 +1,1026 @@ +# yWeb language file (English) +# language version: 1.0 +# +# desc: xxyy=string +# xx=group (00-99) +# yy=translation (00-99) + +#=========== GENERAL / GLOBAL +0000=Your Browser does not support (I)Frames. +0001=clear +0002=Submit +0003=Action +0004=Username +0005=Password +0006=Language +0007=General +0008=Logos +0009=refreshing ... +0010=refresh +0011=record +0012=zap +0013=lookup +0014=submit and save values +0015=Save values... +0016=Settings +0017=Default +0020=send +0021=save +0022=save all changes +0023=cancel +0024=apply changes +0025=reload neutrino configfile +0026=Answer +0027=reboot +0028=shutdown +0029=Status +0030=restart +0031=on +0032=off +0033=these settings are read-only +0034=back +0035=date +0036=from +0037=to +0038=program +0039=All channels +0040=Others +0041=description +0042=Color +0043=designation +0044=empty +0045=check +0046=Help +0047=Attention! +0048=Directory +0049=Filename +0050=restricted by ManagementIP +0051=automatically +0052=show +0053=hide +0054=Error +0055=This page could be used for management proposes only +0056=Inquiry is worked on +0057=Please wait ... +0058=PIN must be 4 digits in length +0059=Yes +0060=No +0061=Enabled +0062=Disabled +0063=Upload +0064=Download +0065=Please make a selection +0066=upload selected file +0067=Recording Directory +0068=Wake up this MAC-Address +0069=wake up +0070=Note + +#========= Main Menue +0100=Boxcontrol +0101=Boxcontrol & Bouquets +0102=Live +0103=LiveView, Timer Sync & Settings +0104=Tools +0105=Mounts, WOL, Expert Tools +0106=Settings +0107=Settings of STB, Web, Plugins ... +0108=Extensions +0109=User Extensions ... +0110=Info +0111=Information about yWeb, Updates +0112=LiveTV +0113=LiveTV popup +0114=Remote & OSD +0115=Stream to VLC Client +0116=Version + +#========= Boxcontrol Menue +0200=Switch channels +0201=Bouquets +0202=control box functions (reboot, remote control, SPTS, ...) +0203=Control +0204=send Messages to box +0205=Messages +0206=Web-based Remote Control +0207=Remote +0209=LCD Screenshot +0210=do lcd screenshots +0211=lcshot not installed at +0212=OSD Screenshot +0213=do screenshots from OSD +0214=fbshot not installed at +0215=decrease volumen +0216=increase volumen +0217=mute volumen +0218=switch to TV +0219=switch to Radio +0220=Webinterface der SlaveBox +0221=volumen display +0222=dboxshot not installed at +0223=Switch to + +#======== Boxcontrol - snapshot - fbshot +0300=snapshot +0301=dboxshot +0302=delete snapshots +0303=take snapshot +0304=Options +0305=Display color +0306=Zoom modus +0307=File output +0308=compressed +0309=Color output +0310=Gray scale image +0311=Output + +#========= Boxcontrol +0400=FreeMem +0401=lock +0402=unlock +0403=Standby mode +0404=Recording mode +0405=SPTS +0406=dbox +0407=Remote Control +0408=Playback +0409=EPG (Sectionsd) +0410=Live lock +0411=Really restart the Box? +0412=reboot +0413=Really shutdown the Box? +0414=Shutdown +0415=restart +0416=unlock LCD +0417=Optical output +0418=Esound Soundserver + +#========= Boxcontrol - Message +0500=enter message to send to TV screen +0501=Message on screen +0502=Message as popup +0503=send message + +#====== EXtension +0600=Installer/Updater +0601=Extensions uninstaller +0602=Search for Extensions ... +0603=installed extensions +0604=Type +0605=Extension +0606=Tag +0607=Version +0608=Size/k +0609=Uninstall +0610=Info +0611=Free +0612=New extension settings (preview) +0613=Update Preview List +0614=Your +0615=Current +0616=update/install +0617=Site +0618=Info +0619=Log +0620=extention list +0621=Settings saved. Refreshing Menue now. +0622=Extensions Settings saved +0623=minimal yWeb version +0624=Administration +0625=Normal +0626=Management +0627=Uninstaller +0628=Settings +0629=Extentions Settings +0630=Extentions updater/installer + +#====== Bouquet +0700=Bouquet +0701=All bouquets must be saved! +0702=Bouquet-Editor +0703=add bouquet +0704=Name of bouquets +0705=rename bouquet +0706=move up +0707=move down +0708=remove +0709=add +0710=edit +0711=delete +0712=really delete? +0713=rename +0714=Bouquets saved +0715=No Bouquet-Name entered + +#========EPG +0800=getting EPG ... +0801=EPG Plus +0802=select bouquet - channels will be updated +0803=move to program for more details +0804=get or refresh EPG +0805=past hours +0806=next hours +0807=Set timer for recording. Done. +0808=Set switch to channel. Done. + +#========EPG Streaminfo +0900=Streaminfo +0901=Resolution +0902=Aspect Ratio +0903=Frames per second +0904=Audio type +0905=Frequency +0906=Original Network ID +0907=Service ID +0908=Transponder Stream ID +0909=Video PID +0910=Program Map Table PID +0911=Program Clock Reference PID +0912=Audio PID +0913=Teletext PID + +#======== Settings +1000=reload Neutrino +1001=reboot required +1002=Synchronization with Neutrino +1003=After changing settings via yWeb +1004=Choose on TV "Main Menu->Service->Soft restart", to accept the changes within neutrino or... +1005=After changing settings within Neutrino +1006=Choose on TV "Main Menu->Settings->Save settings now", to accept these changes and reload this page. + +#======= Settings General & Menue +1100=Webserver +1101=EPG +1102=Timer Settings +1103=Zapit +1104=Backup & Restore +1105=Bouquet-Editor +1106=Video/Audio +1107=Parental lock +1108=Recording +1109=Direct Recording +1110=Audioplayer +1111=Esound Soundserver +1112=Movieplayer +1113=Picture Viewer +1114=LC-Display +1115=Key Layout +1116=Boot Options +1117=Extended +1118=Personalization +1119=Plugins +1120=Others +1121=Boot Logo +1122=settings for yWeb itselfs +1123=settings for Web Server daemon +1124=download or upload ucodes +1125=download or upload Bouquetlist, Channellist, ... +1126=backup or upload boot logos +1127=backup or restore settings +1128=SyncTimer Settings +1129=configure VNC-Plugin +1130=Video / Audio settings +1131=Parental lock settings +1132=Recording settings +1133=Direct Recording +1134=Audioplayer settings +1135=Esound Soundserver settings +1136=Movieplayer settings +1137=Pictureviewer settings +1138=LCD settings +1139=Button settings +1140=boot settings +1141=rest of settings +1142=Personalize settings + +#======== Neutrino Settings - Recording +1200=Recoring destination +1201=Recording device +1202=record mode +1203=Server +1204=Video recorder +1205=File +1206=Recording Server IP +1207=Aufnahmeserver IP (xxx.xxx.xxx.xxx) +1208=Recording Server Port +1209=Recording Server WOL +1210=MAC Adress +1211=MAC (aa:bb:cc:dd:ee:ff) +1212=Recording behavior +1213=Stop Playback +1214=sectionsd: off/on/restart +1215=EPG (Sectionsd) +1216=dont stop +1217=stop +1218=restart +1219=Zap on announcement +1220=Prevent switching Scart +1221=Record in SPTS-Mode +1222=Timer settings +1223=Record start delay (sec) +1224=Record stop delay (sec) +1225=Zap start delay (sec) +1226=Audio channels +1227=Record default audio channel +1228=Record alternate audio channel +1229=Record ac3 audio channel +1230=Save in channeldir +1231=Recording time in hours + +#========Neutrino Settings - Movieplayer +1300=Sources +1301=Streamingserver IP +1302=Server IP (xxx.xxx.xxx.xxx) +1303=Streamingserver Port +1304=Streamingserver +1305=DVD Device +1306=DVD device at Server +1307=Use VLC 1.x +1308=Directory (VLC) +1309=Directory (VLC) at Server +1310=Transcoding +1311=Data rate Video +1312=Transcode +1313=MPEG Video Codec +1314=Resolution +1315=Data rate Audio +1316=Transcode Audio (dvd/vcd/mpg) +1317=Force AC3 using avi +1318=Player +1319=Start directory +1320=Only Movieplayer 1 +1321=Used Buffer (WabberQueue) +1322=Number of buffer segs +1323=TV Picture in Browser +1324=EPG (Sectionsd) +1325=sectionsd: on/off/restart +1326=don't stop +1327=stop +1328=restart + +#========Neutrino Settings - Parental +1400=Prompt for PIN +1401=Never +1402=Bouquet +1403=Preset +1404=lock type +1405=Minimum Age +1406=PIN + +#========Settings NHTTP +1500=Webserver +1501=Authentication +1502=Client with no authentication check. Enter IP. +1503=Client without Authentication +1504=active after boot +1505=Port +1506=Threading +1507=Alternate Web-Folder +1508=Mounted directory +1509=Root of hosted Web. Enter mount directory. +1510=Allowed File Extensions / MIME +1511=Allow all File Extensions +1512=Enter URL or directory of Logos +1513=URL or directory of Logos +1514=Server +1515=(e.g. JtG Server, separate with commas) +1516=IPs with No keep-alive +1517=Cache +1518=Cache info +1519=clear cache +1520=Server Configuration +1521=Password must have 4 letters at minimum +1522=Port is required + +#=========Settings yWeb +1600=enter IP (xxx.xxx.xxx.xxx) +1601=enter MAC Adress (xx:xx:xx:xx:xx:xx) +1602=Description +1603=enter description +1604=Management IPs +1605=Wake on Lan +1606=Box Name in Top-Menue. +1607=Box Tag +1608=Box Name color in Top-Menue. e.g. enter 2188e0 without # +1609=Color +1610=Start page +1611=Remote +1612=IP-Address +1613=choose remote control + +#======== Settings Picture viewer +1700=Pictureviewer +1701=Scaling +1702=none +1703=simple +1704=complex +1705=Slideshow view time (min.) +1706=Start-Directory +1707=Decoding-Server IP +1708=Decoding-Server Port + +#======== Settings Audioplayer +1800=Audioplayer +1801=Actor, Title +1802=Title, Actor +1803=Display +1804=Select actual Track +1805=Search by name +1806=Activate repeat mode +1807=Show playlists +1808=Screen saver (min, 0=off) +1809=High decoding priority +1810=Start directory +1811=Shoutcast Meta-Data + +#======== Settings Timer +1900=Timer Settings +1901=Username +1902=Password +1903=("&" will be converted to ";" on save) +1904=Personal RSS TV-Planer URL +1905=your klack security code to get your data without login +1906=Security Code +1907=Channel name replace list + +#========Settings Backup/Restore +2000=Backup +2001=Backup your settings +2002=Restore +2003=Upload and restore your settings. Your STB will reboot. +2004=Backup & Restore is only useful for the same image with the same level of development. +2005=Download of backup +2006=Create backup +2007=tar-File + +#============ Tools Info +2100=dbox +2101=Kernel Messages +2102=Processes +2103=Memory +2104=Info +2105=Version +2106=Settings +2107=dbox Time +2108=CPU info +2109=Memory info +2110=Partitions +2111=mtd +2112=Statistics + +#============ Tools yInstaller +2200=No file given! +2201=Space total +2202=used +2203=free +2204=percentage used +2205=Can not determine free space. /var is not a partition. JFFS2 or YADD? +2206=yInstaller +2207=tar-File +2208=upload and install + +#============ Tools +2300=organize file automounts +2301=AutoMounts +2302=organize file mounts +2303=Mounts +2304=Wake on LAN +2305=Check Install +2306=Expert +2307=Box Information +2308=backup or flash image +2309=Image +2310=Command Shell +2311=not installed +2312=automatic output scrolling (only IE) +2313=append output (only IE) +2314=Path +2315=actual path +2316=Command +2317=enter command to execute +2318=execute shell command +2319=clear output screen +2320=Boot Logo +2321=organize files and directorys +2322=File manager +2324=yInstaller (for files, plugins, ...) +2325=collecting information + +#=========== LIVE Menue +2400=Live/Timer +2401=Live +2402=LiveTV +2403=LiveTV (popup) +2404=TV +2405=LiveRadio +2406=LiveRadio (popup) +2407=Radio +2408=DoubleView +2409=use LiveView with 2 boxes +2410=Timer +2411=organize timer +2412=EPG +2413=view EPG +2414=EPG+ (popup) +2415=EPG Plus +2416=Timer Sync +2417=timer synchronisation with web tv-planer + +#=========== LIVE tv/radio +2500=Getting <br/>Streaming-Informationen. +2501=getting bouquets ... +2502=getting channels ... +2503=select resolution +2504=change channel +2505=view epg for selected channel +2506=reload bouquets and channels +2507=getting subchannels ... +2508=play or pause streaming +2509=stop streaming +2510=mute / unmute volume +2511=lower volume +2512=higher volume +2513=switch to fullscreen-mode - or use double-click +2514=lock / unlock TV (record mode, rc, lcd) +2515=UDP Streaming on/off +2516=LiveView settings +2517=create snapshot picture +2518=record mode +2519=transcode mode +2520=... build vlc control ... +2521=select bouquet - channels will be updated +2522=select channel - use go to zap + +#=========== LIVE Record +2600=Record Mode +2601=Filename +2602=Display on +2603=Transcoding on +2604=Record +2605=Stop Record +2606=Record Transcode +2607=Profile +2608=Video +2609=Width +2610=Height +2611=Codec +2612=Bitrate +2613=Scale +2614=Audio +2615=Channels +2616=Transcode-Broadcast +2617=Access +2618=Type +2619=IP:Port +2620=Display on while transcoding +2621=use transcoding +2622=record stream to file +2623=Stop transcode +2624=Transcode +2625=transcode stream + +#=========== LIVE Settings +2700=VLC Settings (IE & Mozilla >= 0.8.6.1) +2701=Deinterlace +2702=http caching +2703=UDP as default +2704=Slave Box IP (2. dbox) +2705=enter IP (xxx.xxx.xxx.xxx) of slave-box +2706=VLC Recording Directory +2707=Refresh LiveView + +#=========== LIVE Timer Edit +2800=Timer +2801=Timer type +2802=Times +2803=Alarm time +2804=Time +2805=Stop time +2806=Repeat +2807=Repeat (0 = unlimited) +2808=(Mo-Su, X=Timer) +2809=Weekdays +2810=Values +2811=Channel +2812=APIDs +2813=Default +2814=Standard +2815=Alternate +2816=AC3 +2817=Standby +2818=Message +2819=Plugin +2820=Recording directory +2821=Description +2822=new Timer + +#=========== LIVE Timer Sync +2900=Get timer +2901=Timer Sync +2902=Timer Source +2903=Recording directory +2904=Settings +2905=Debugging +2906=get selected +2907=clear all +2908=Timer Preview List +2909=Start time +2910=End time +2911=Channel +2912=Program +2913=Source +2914=set timer +2915=clear log +2916=Log +2917=Action +2918=Status + +#========== INFO +3000=Help +3001=About +3002=Check for Updates +3003=Your Version +3004=Actual Version +3005=Download + +#========= Live doubleView +3100=Live - DoubleView +3101=No IP entered for Slave Box! +3102=Setting under Settings->yWeb. + +#========= LiveView Popup +3200=LiveView PopUp +3201=Under Live-View do not zap channels +3202=direct by the web or by the box' RC. +3203=SPTS for TV respectivly PES for Radio is activated. +3204=unlock + +#========= Automounts +3300=Mountname +3301=Type +3302=IP +3303=Directory +3304=Options +3305=Username +3306=Password +3307=remote directory +3308=mount options +3309=Really delete mount? +3310=deleted! +3311=modify +3312=add +3313=delete +3314=edit mount settings +3315=add new mount +3316=delete mount + +#========= Key settings +3400=Mode change +3401=TV-/Radio mode +3402=no key +3403=Channellist +3404=OK-Button for... +3405=Bouquet-Channels +3406=Bouquetlist +3407=Menu +3408=page up +3409=page down +3410=close channellist +3411=change sort order +3412=EPG keyword search +3413=add record timer +3414=add zapto timer +3415=refresh EPG +3416=Quickzap +3417=channel up +3418=channel down +3419=volume up +3420=volume down +3421=next bouquet +3422=bouquet back +3423=next subchannel +3424=subchannel back +3425=switch subchannel +3426=Zapping History Bouquet +3427=last channel +3428=Load default settings + +#========= LCD settings +3500=LCD Settings +3501=LCD +3502=Power +3503=Invert +3504=Dim Timeout +3505=Brightness after Dim Timeout +3506=Contrast / Brightness +3507=Contrast +3508=normal Brightness +3509=Standby Brightness +3510=Load default settings +3511=Display mode +3512=EPG-Display +3513=default (Channel) +3514=Title +3515=Channel / Title +3516=Channel / Sep.-Line / Title +3517=Channel (short) / Title +3518=Channel (short) / Sep.-Line / Title +3519=EPG align +3520=left +3521=center +3522=Status Line +3523=Playtime +3524=Volume +3525=Volume / Playtime +3526=Volume / Playtime / Audio +3527=select visualisation of LCD + +#========= Mount +3600=Mounts +3601=Type +3602=IP +3603=Directory +3604=Local Directory +3605=MAC +3606=Options 1 +3607=Options 2 +3608=Automount +3609=Username +3610=Password +3611=remote directory. For CIFS do not use a leading slash. +3612=local directory to by mounted +3613=modify +3614=unmount list +3615=edit mount settings +3616=mount selected directory +3617=view unmount list +3618=unmount +3619=mount list +3620=unmount selected directory +3621=view mount list +3622=mount + +#========= Personalize +3700=Access Options +3701=PIN Code +3702=Main menu +3703=TV-Modus +3704=Radio-Modus +3705=Scart-Input +3706=Games +3707=Audioplayer +3708=Internetradio +3709=Esound Soundserver +3710=Movieplayer +3711=Pictureviewer +3712=UPNP Browser +3713=Scripts +3714=Settings requires PIN +3715=Service requires PIN +3716=SleepTimer +3717=Reboot +3718=Power off +3719=Settings +3720=Video +3721=Audio +3722=Parental lock +3723=Network +3724=Recording +3725=OSD +3726=LC-Display +3727=Key Layout +3728=IDE-Interace HDD/MMC/SD +3729=Multimedia +3730=Boot options +3731=Extended settings +3732=Personalize requires PIN +3733=Service +3734=Bouquet-Management +3735=Service scan +3736=Reload Channellist +3737=Reload Plugins +3738=Restart Neutrino +3739=Restart EPG +3740=Check Ucodes +3741=Channel/EPG Statistic +3742=Image Informationen +3743=Software-Update requires PIN +3744=Color Keys +3745=Features (blue key) +3746=EPG/Info (red key) +3747=not visible +3748=visible +3749=Pin + +#========= Boot Logo +3800=Bootlogo / LCD +3801=The boot logo must already exist in the target format! +3802=Boot Logo +3803=Boot LCD Logo + +#========= Video/Audio +3900=Video & Audio Settings +3901=Video +3902=Video Signal +3903=Sreen Size +3904=select videoformat +3905=Background-image-format +3906=select background-image-format +3907=RGB-Sync +3908=set rgb-sync +3909=VCR-Output Signal +3910=select vcr_output +3911=Scart-Input automatic +3912=Audio +3913=Analog mode +3914=select audio analog mode +3915=Stereo +3916=Mono left +3917=Mono right +3918=in Audio menu selectable +3919=Audio selectable with left/right +3920=Dolby Digital default +3921=Volume Control +3922=select volume control +3923=Volume decrease PCM +3924=Volume Step Size +3925=Initial Volume + +#========= direct recording +4000=Record Settings +4001=Ringbuffer Size +4002=max. ringbuffers +4003=Write Synchronous (O_SYNC) +4004=Write Synchronous (fdatasync) +4005=Record Video Text +4006=Record Subtitle +4007=Insert PSI in TS +4008=Choose Directory +4009=Max. instant recording time +4010=choose max. instant recording time +4011=hour(s) +4012=Filename Template +4013=Max. File Size +4014=Directory Permissions +4015=filename template %C=channel %T=title %I=info %d=date %t=time +4016=Directory Permissions (UNIX octals) + +#========= driver & boot +4100=Driver & Boot Options +4101=Use SPTS Mode +4102=Show Boot Info +4103=Use HW-Sections +4104=Enable AVIA-Watchdog +4105=Enable eNX-Watchdog +4106=Philips/Sagem RC Workaround +4107=Use SPTS mode fix AVIA500 +4108=Enable Realtime Clock (RTC) +4109=Use PMT-Update +4110=EXPERT! Boot-Console +4111=select mode of expert boot-console +4112=null +4113=serial +4114=framebuffer +4115=FullDuplex Mode +4116=Diverses +4117=Show Boot Menu + +#========= Extended +4200=Various Settings +4201=General +4202=Start Mode +4203=Restore Last Mode +4204=TV-Mode +4205=Radio-Mode +4206=Scart-Mode +4207=Audioplayer +4208=Internetradio +4209=Esound Soundserver +4210=Standby +4211=Standby Mode +4212=Standby Power Save (exp.) +4213=Shutdown after +4214=Delayed Shutdown +4215=Standby OFF with +4216=Power, OK +4217=Power, Home +4218=Power, Home, OK +4219=Sleeptimer default +4220=shutdown after x min +4221=min. +4222=Tuxtext Cache +4223=Shape of Corners +4224=Volumebar position +4225=select volumebar position +4226=top right +4227=top left +4228=bottum left +4229=bottum right +4230=bottum center +4231=higher center +4232=off +4233=Mute-Icon on volume +4234=not at AC3 +4235=Menu numbers as icons +4236=Infobar +4237=Satellite display +4238=Subchannel display +4239=Subchannel display position +4240=in Infobar +4241=Virtual Zap +4242=EPG change notification +4243=Off +4244=Popup +4245=Show Infobar +4246=Radiotext +4247=Channellist +4248=Program text align +4249=Extended Channel list +4250=EPG-Settings +4251=EPG-Cache (days) +4252=EPG long description (hours) +4253=EPG remove after (hours) +4254=Max. Events +4255=EPG Directory +4256=Save last channel +4257=TV start channel +4258=Radio start channel +4259=Save Audio-PIDs +4260=Bouquet Other +4261=Remote Control +4262=Generic Delay +4263=Repeat Delay +4264=Filebrowser +4265=File system +4266=Show File Permissions +4267=Absolute start directory +4268=left +4269=right +4270=angular +4271=rounded +4272=before save do pzapit -kill + +#========= VNC +4300=VNC +4301=Server +4302=enter IP (xxx.xxx.xxx.xxx) +4303=Port +4304=Password +4305=Scaling +4306=enter scale for screen + +#========= Image +4400=Image is being created ... +4401=Partition +4402=Generate Image for download +4403=Download +4404=go to Upload Dialog +4405=Flash ... +4406=You should reboot the box before flashing. +4407=Download your image +4408=The image was created. +4409=Download ready. Delete image in /tmp. +4410=Image will be uploaded... +4411=Flashing +4412=Image will be flashed. Do not interrupt! +4413=Erase Flash +4414=Write Flash +4415=Verifying +4416=Flash Image +4417=Partition +4418=Switch on Demo-Modus. Flashing will be simulated. +4419=Demo mode +4420=upload and flash +4421=fcp is not installed! + +#========= Esound +4500=Esound Port +4501=default + +#========= Remote control +9900=Standby / Shutdown +9901=Mute +9902=Num-Button 1 +9903=Num-Button 2 +9904=Num-Button 3 +9905=Num-Button 4 +9906=Num-Button 5 +9907=Num-Button 6 +9908=Num-Button 7 +9909=Num-Button 8 +9910=Num-Button 9 +9911=Num-Button 0 +9912=increase Volume +9913=decrease Volume +9914=Help +9915=Red +9916=Green +9917=Yellow +9918=Blue +9919=OK +9920=Up +9921=Down +9922=Left +9923=Right +9924=Menu +9925=Exit / Back diff --git a/tuxbox/neutrino/daemons/nhttpd/web/languages/Makefile.am b/tuxbox/neutrino/daemons/nhttpd/web/languages/Makefile.am new file mode 100644 index 0000000..01b8661 --- /dev/null +++ b/tuxbox/neutrino/daemons/nhttpd/web/languages/Makefile.am @@ -0,0 +1,7 @@ +install-data-local: + install -d $(DATADIR)/neutrino/httpd-y/languages + install -m 0644 English $(DATADIR)/neutrino/httpd-y/languages + install -m 0644 Deutsch $(DATADIR)/neutrino/httpd-y/languages + +uninstall-local: + -rm -rf $(DATADIR)/neutrino/httpd-y/languages ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/configure.ac | 1 + tuxbox/neutrino/daemons/nhttpd/web/Makefile.am | 2 +- .../nhttpd/web/{images => languages}/.gitignore | 0 .../neutrino/daemons/nhttpd/web/languages/Deutsch | 1026 ++++++++++++++++++++ .../neutrino/daemons/nhttpd/web/languages/English | 1026 ++++++++++++++++++++ .../daemons/nhttpd/web/languages/Makefile.am | 7 + 6 files changed, 2061 insertions(+), 1 deletions(-) copy tuxbox/neutrino/daemons/nhttpd/web/{images => languages}/.gitignore (100%) create mode 100644 tuxbox/neutrino/daemons/nhttpd/web/languages/Deutsch create mode 100644 tuxbox/neutrino/daemons/nhttpd/web/languages/English create mode 100644 tuxbox/neutrino/daemons/nhttpd/web/languages/Makefile.am -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-02 19:43:03
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 1c25bb13f2db3d7e5a78f3f6b4cde362eefa1645 (commit) from b87baa0024402ce77dab20bd3e7f69b2439bf3b2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1c25bb13f2db3d7e5a78f3f6b4cde362eefa1645 Author: yjogol <yjogol@e54a6e83-5905-42d5-8d5c-058d10e6a962> Date: Thu Apr 2 21:41:51 2015 +0200 yWeb: introduce multilanguage (part2) port multilanguage function from N-HD bump yhttpd_core 1.3.0 Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt index 73d353d..915360c 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt @@ -58,6 +58,7 @@ start-block~nhttpd_save_settings {=ini-set:/var/tuxbox/config/nhttpd.conf;WebsiteMain.override_directory;{=override_directory=}~cache=} {=ini-set:/var/tuxbox/config/nhttpd.conf;mod_sendfile.mime_types;{=mod_sendfile_mime_types=}~cache=} {=ini-set:/var/tuxbox/config/nhttpd.conf;mod_sendfile.sendAll;{=mod_sendfile_sendAll=}~cache=} +{=ini-set:/var/tuxbox/config/nhttpd.conf;Language.selected;{=language=}~cache=} {=ini-set:/var/tuxbox/config/nhttpd.conf;Tuxbox.LogosURL;{=Tuxbox_LogosURL=}~save=} {=func:do_reload_httpd_config=} end-block~nhttpd_save_settings diff --git a/tuxbox/neutrino/daemons/nhttpd/yconfig.h b/tuxbox/neutrino/daemons/nhttpd/yconfig.h index d8f80e0..0a780b3 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yconfig.h +++ b/tuxbox/neutrino/daemons/nhttpd/yconfig.h @@ -33,7 +33,7 @@ // General central Definitions <configure!> //----------------------------------------------------------------------------- #define HTTPD_VERSION "3.1.8" // Webserver version (can be overloaded) -#define YHTTPD_VERSION "1.2.0" // Webserver version (Version of yhttpd-core!) +#define YHTTPD_VERSION "1.3.0" // Webserver version (Version of yhttpd-core!) #define IADDR_LOCAL "127.0.0.1" // local IP #define HTTPD_NAME "yhttpd" // Webserver name (can be overloaded) #define YHTTPD_NAME "yhttpd_core" // Webserver name (Name of yhttpd-core!) diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp index ef6c27b..652d939 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp @@ -12,6 +12,7 @@ // yhttpd #include "yconfig.h" #include "ylogging.h" +#include "ylanguage.h" #include "yhook.h" #ifdef Y_CONFIG_USE_YPARSER @@ -96,6 +97,11 @@ static void sig_catch(int msignal) } //----------------------------------------------------------------------------- +void yhttpd_reload_config() { + if (yhttpd) + yhttpd->ReadConfig(); +} +//----------------------------------------------------------------------------- // Main Entry //----------------------------------------------------------------------------- int main(int argc, char **argv) @@ -201,6 +207,7 @@ Cyhttpd::~Cyhttpd() { if(webserver) delete webserver; + CLanguage::deleteInstance(); webserver = NULL; } @@ -498,6 +505,7 @@ void Cyhttpd::ReadConfig(void) // language ConfigList["Language.directory"] = Config->getString("Language.directory", HTTPD_LANGUAGEDIR); ConfigList["Language.selected"] = Config->getString("Language.selected", HTTPD_DEFAULT_LANGUAGE); + yhttpd->ReadLanguage(); // Read App specifig settings by Hook CyhookHandler::Hooks_ReadConfig(Config, ConfigList); @@ -508,3 +516,13 @@ void Cyhttpd::ReadConfig(void) log_level_printf(3,"ReadConfig End\n"); delete Config; } +//----------------------------------------------------------------------------- +// Read Webserver Configurationfile for languages +//----------------------------------------------------------------------------- +void Cyhttpd::ReadLanguage(void) { + // Init Class vars + CLanguage *lang = CLanguage::getInstance(); + log_level_printf(3, "ReadLanguage:%s\n", + ConfigList["Language.selected"].c_str()); + lang->setLanguage(ConfigList["Language.selected"]); +} diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd.h b/tuxbox/neutrino/daemons/nhttpd/yhttpd.h index 507ad25..1466021 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd.h +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd.h @@ -45,6 +45,7 @@ public: void hooks_attach(); // Add a Hook-Class to HookList void hooks_detach(); // Remove a Hook-Class from HookList void ReadConfig(void); // Read the config file for the webserver + void ReadLanguage(void); // Read Language Files }; #endif // __yhttpd_h__ diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/Makefile.am b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/Makefile.am index 692120e..37bcdac 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/Makefile.am +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/Makefile.am @@ -14,5 +14,10 @@ noinst_LIBRARIES = libyhttpd.a libyhttpd_a_SOURCES = \ ylogging.cpp helper.cpp \ - ywebserver.cpp yconnection.cpp yrequest.cpp yresponse.cpp yhook.cpp ysocket.cpp - + ywebserver.cpp \ + yconnection.cpp \ + yrequest.cpp \ + yresponse.cpp \ + yhook.cpp \ + ysocket.cpp \ + ylanguage.cpp diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ylanguage.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ylanguage.cpp new file mode 100644 index 0000000..43389c5 --- /dev/null +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ylanguage.cpp @@ -0,0 +1,101 @@ +//============================================================================= +// YHTTPD +// Language +//============================================================================= + +// c +#include <cstdarg> +#include <cstdio> +#include <cstdlib> +#include <unistd.h> + +// yhttpd +#include <yconfig.h> +#include <yhttpd.h> +#include "ytypes_globals.h" +#include "ylanguage.h" +#include "yconnection.h" + +//============================================================================= +// Instance Handling - like Singelton Pattern +//============================================================================= +//----------------------------------------------------------------------------- +// Init as Singelton +//----------------------------------------------------------------------------- +CLanguage* CLanguage::instance = NULL; +CConfigFile* CLanguage::DefaultLanguage = NULL; +CConfigFile* CLanguage::ConfigLanguage = NULL; +std::string CLanguage::language = ""; +std::string CLanguage::language_dir = ""; +//----------------------------------------------------------------------------- +// There is only one Instance +//----------------------------------------------------------------------------- +CLanguage *CLanguage::getInstance(void) +{ + if (!instance) + instance = new CLanguage(); + return instance; +} + +//----------------------------------------------------------------------------- +void CLanguage::deleteInstance(void) +{ + if (instance) + delete instance; + instance = NULL; +} + +//----------------------------------------------------------------------------- +// Constructor +//----------------------------------------------------------------------------- +CLanguage::CLanguage(void) +{ + DefaultLanguage = new CConfigFile(','); + ConfigLanguage = new CConfigFile(','); + language = ""; + language_dir =getLanguageDir(); +} + +//----------------------------------------------------------------------------- +CLanguage::~CLanguage(void) +{ + delete DefaultLanguage; + delete ConfigLanguage; +} + +//============================================================================= + +//----------------------------------------------------------------------------- +void CLanguage::setLanguage(std::string _language) +{ + language=_language; + ConfigLanguage->loadConfig(language_dir + "/" + _language); + DefaultLanguage->loadConfig(language_dir + "/" + HTTPD_DEFAULT_LANGUAGE); +} + +//----------------------------------------------------------------------------- +// return translation for "id" if not found use default language +//----------------------------------------------------------------------------- +std::string CLanguage::getTranslation(std::string id) +{ + std::string trans=ConfigLanguage->getString(id,""); + if(trans.empty()) + trans=DefaultLanguage->getString(id,""); + if (trans.empty()) + trans = "# L:" + id + " #"; + return trans; +} +//----------------------------------------------------------------------------- +// Find language directory +//----------------------------------------------------------------------------- +std::string CLanguage::getLanguageDir(void) +{ + std::string tmpfilename = "/"+Cyhttpd::ConfigList["Language.directory"], dir = ""; + + if( access((Cyhttpd::ConfigList["WebsiteMain.override_directory"] + tmpfilename).c_str(), R_OK) == 0) + dir = Cyhttpd::ConfigList["WebsiteMain.override_directory"] + tmpfilename; + else if(access((Cyhttpd::ConfigList["WebsiteMain.directory"] + tmpfilename).c_str(), R_OK) == 0) + dir = Cyhttpd::ConfigList["WebsiteMain.directory"] + tmpfilename; + return dir; +} + diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ylanguage.h b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ylanguage.h new file mode 100644 index 0000000..e90658f --- /dev/null +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ylanguage.h @@ -0,0 +1,44 @@ +//============================================================================= +// YHTTPD +// Language +//============================================================================= +#ifndef __yhttpd_language_h__ +#define __yhttpd_language_h__ + +#include <stdlib.h> +#include <configfile.h> +// yhttpd +#include <yconfig.h> +#include "ytypes_globals.h" +#include "ywebserver.h" + +// forward declaration +class CWebserverConnection; + +class CLanguage +{ + protected: + static CLanguage *instance; + CLanguage(void); + ~CLanguage(void); + + static CConfigFile *DefaultLanguage; + static CConfigFile *ConfigLanguage; + + public: + // Instance Handling + static CLanguage *getInstance(void); + static void deleteInstance(void); + + // Language + static std::string language; + static std::string language_dir; + + void setLanguage(std::string _language); + std::string getLanguage(void) {return language;}; + std::string getLanguageDir(void); + + std::string getTranslation(std::string id); +}; + +#endif /* __yttpd_language_h__ */ diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_cache.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_cache.cpp index e54f4aa..c60a7e1 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_cache.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_cache.cpp @@ -132,7 +132,7 @@ void CmodCache::AddToCache(CyhookHandler */*hh*/, std::string url, std::string c CacheList[url].mime_type = mime_type; CacheList[url].category = category; CacheList[url].created = time(NULL); - std::string test = CacheList[url].filename; +// std::string test = CacheList[url].filename; } fflush(fd); // flush and close file fclose(fd); diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp index b4f89f9..5f1f131 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp @@ -25,6 +25,7 @@ #include "helper.h" #include "ylogging.h" #include "mod_yparser.h" +#include <ylanguage.h> //============================================================================= // Initialization of static variables @@ -368,6 +369,7 @@ std::string CyParser::cgi_cmd_parsing(CyhookHandler *hh, std::string html_templ // global-var-get:<varname> // global-var-set:<varname>=<varvalue> // file-action:<filename>;<action=add|addend|delete>[;<content>] +// L:<translation-id> //----------------------------------------------------------------------------- std::string CyParser::YWeb_cgi_cmd(CyhookHandler *hh, std::string ycmd) @@ -376,7 +378,11 @@ std::string CyParser::YWeb_cgi_cmd(CyhookHandler *hh, std::string ycmd) if (ySplitString(ycmd,":",ycmd_type,ycmd_name)) { - if(ycmd_type == "script") + if (ycmd_type == "L") + { + yresult = CLanguage::getInstance()->getTranslation(ycmd_name); + } + else if(ycmd_type == "script") yresult = YexecuteScript(hh, ycmd_name); else if(ycmd_type == "if-empty") { @@ -698,11 +704,13 @@ std::string CyParser::YexecuteScript(CyhookHandler */*hh*/, std::string cmd) const CyParser::TyFuncCall CyParser::yFuncCallList[]= { - {"get_request_data", &CyParser::func_get_request_data}, - {"get_header_data", &CyParser::func_get_header_data}, - {"get_config_data", &CyParser::func_get_config_data}, - {"do_reload_httpd_config", &CyParser::func_do_reload_httpd_config}, - {"httpd_change", &CyParser::func_change_httpd}, + {"get_request_data", &CyParser::func_get_request_data}, + {"get_header_data", &CyParser::func_get_header_data}, + {"get_config_data", &CyParser::func_get_config_data}, + {"do_reload_httpd_config", &CyParser::func_do_reload_httpd_config}, + {"httpd_change", &CyParser::func_change_httpd}, + {"get_languages_as_dropdown", &CyParser::func_get_languages_as_dropdown}, + {"set_language", &CyParser::func_set_language} }; //------------------------------------------------------------------------- @@ -757,13 +765,13 @@ std::string CyParser::func_get_config_data(CyhookHandler *hh, std::string para) //------------------------------------------------------------------------- // y-func : Reload the httpd.conf //------------------------------------------------------------------------- -std::string CyParser::func_do_reload_httpd_config(CyhookHandler */*hh*/, std::string /*para*/) -{ - log_level_printf(1,"func_do_reload_httpd_config: raise USR1 !!!\n"); - raise(SIGUSR1); // Send HUP-Signal to Reload Settings +extern void yhttpd_reload_config(); +std::string CyParser::func_do_reload_httpd_config(CyhookHandler *, std::string) { + log_level_printf(1, "func_do_reload_httpd_config: raise USR1 !!!\n"); + //raise(SIGUSR1); // Send HUP-Signal to Reload Settings + yhttpd_reload_config(); return ""; } - //------------------------------------------------------------------------- // y-func : Change httpd (process image) on the fly //------------------------------------------------------------------------- @@ -778,3 +786,43 @@ std::string CyParser::func_change_httpd(CyhookHandler *hh, std::string para) else return "ERROR [change_httpd]: para has not path to a file"; } +//------------------------------------------------------------------------- +// y-func : get_header_data +//------------------------------------------------------------------------- +std::string CyParser::func_get_languages_as_dropdown(CyhookHandler *, + std::string para) { + std::string yresult, sel; + DIR *d; + + std::string act_language = CLanguage::getInstance()->language; + d = opendir((CLanguage::getInstance()->language_dir).c_str()); + if (d != NULL) { + struct dirent *dir; + while ((dir = readdir(d))) { + if (strcmp(dir->d_name, ".") == 0 || strcmp(dir->d_name, "..") == 0) + continue; + if (dir->d_type != DT_DIR) { + sel = (act_language == std::string(dir->d_name)) ? "selected=\"selected\"" : ""; + yresult += string_printf("<option value=%s %s>%s</option>", + dir->d_name, sel.c_str(), (encodeString(std::string(dir->d_name))).c_str()); + if(para != "nonl") + yresult += "\n"; + } + } + closedir(d); + } + return yresult; +} +//------------------------------------------------------------------------- +// y-func : get_header_data +//------------------------------------------------------------------------- +std::string CyParser::func_set_language(CyhookHandler *, std::string para) { + if (!para.empty()) { + CConfigFile *Config = new CConfigFile(','); + Config->loadConfig(HTTPD_CONFIGFILE); + Config->setString("Language.selected", para); + Config->saveConfig(HTTPD_CONFIGFILE); + yhttpd_reload_config(); + } + return ""; +} diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.h b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.h index 35b89b6..e68720f 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.h +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.h @@ -88,6 +88,8 @@ private: std::string func_get_config_data(CyhookHandler *hh, std::string para); std::string func_do_reload_httpd_config(CyhookHandler *hh, std::string para); std::string func_change_httpd(CyhookHandler *hh, std::string para); + std::string func_get_languages_as_dropdown(CyhookHandler *hh, std::string para); + std::string func_set_language(CyhookHandler *, std::string para); // helpers std::string YWeb_cgi_get_ini(CyhookHandler *hh, std::string filename, std::string varname, std::string yaccess); ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt | 1 + tuxbox/neutrino/daemons/nhttpd/yconfig.h | 2 +- tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp | 18 ++++ tuxbox/neutrino/daemons/nhttpd/yhttpd.h | 1 + .../daemons/nhttpd/yhttpd_core/Makefile.am | 9 ++- .../daemons/nhttpd/yhttpd_core/ylanguage.cpp | 101 ++++++++++++++++++++ .../daemons/nhttpd/yhttpd_core/ylanguage.h | 44 +++++++++ .../daemons/nhttpd/yhttpd_mods/mod_cache.cpp | 2 +- .../daemons/nhttpd/yhttpd_mods/mod_yparser.cpp | 70 ++++++++++++-- .../daemons/nhttpd/yhttpd_mods/mod_yparser.h | 2 + 10 files changed, 235 insertions(+), 15 deletions(-) create mode 100644 tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ylanguage.cpp create mode 100644 tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ylanguage.h -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-04-02 18:34:47
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via b87baa0024402ce77dab20bd3e7f69b2439bf3b2 (commit) from 8fa01aaff74b230431236165db6096c1a3dcc1e8 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b87baa0024402ce77dab20bd3e7f69b2439bf3b2 Author: GetAway <get...@t-...> Date: Thu Apr 2 20:23:23 2015 +0200 yWeb: introduce multilanguage (part1) switch to new ConfigFile Version 4 Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp index 3e19048..3529662 100644 --- a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp @@ -53,9 +53,9 @@ void CControlAPI::init(CyhookHandler *hh) { if(PLUGIN_DIRS[0].empty()) { // given in nhttpd.conf - PLUGIN_DIRS[0]=hh->WebserverConfigList["PublicDocumentRoot"]; + PLUGIN_DIRS[0]=hh->WebserverConfigList["WebsiteMain.override_directory"]; PLUGIN_DIRS[0].append("/scripts"); - PLUGIN_DIRS[1]=hh->WebserverConfigList["PrivatDocumentRoot"]; + PLUGIN_DIRS[1]=hh->WebserverConfigList["WebsiteMain.directory"]; PLUGIN_DIRS[1].append("/scripts"); PLUGIN_DIRS[2]="/var/tuxbox/plugins"; PLUGIN_DIRS[3]=PLUGINDIR; diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt index 1e67ab6..73d353d 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt @@ -54,7 +54,7 @@ start-block~nhttpd_save_settings {=ini-set:/var/tuxbox/config/nhttpd.conf;WebsiteMain.port;{=port=}~cache=} {=ini-set:/var/tuxbox/config/nhttpd.conf;webserver.threading;{=threading=}~cache=} {=ini-set:/var/tuxbox/config/nhttpd.conf;server.no_keep-alive_ips;{=no_keep_alive_ips=}~cache=} -{=ini-set:/var/tuxbox/config/nhttpd.conf;Tuxbox.HostedDocumentRoot;{=HostedDocRoot=}~cache=} +{=ini-set:/var/tuxbox/config/nhttpd.conf;WebsiteMain.hosted_directory;{=hosted_directory=}~cache=} {=ini-set:/var/tuxbox/config/nhttpd.conf;WebsiteMain.override_directory;{=override_directory=}~cache=} {=ini-set:/var/tuxbox/config/nhttpd.conf;mod_sendfile.mime_types;{=mod_sendfile_mime_types=}~cache=} {=ini-set:/var/tuxbox/config/nhttpd.conf;mod_sendfile.sendAll;{=mod_sendfile_sendAll=}~cache=} diff --git a/tuxbox/neutrino/daemons/nhttpd/yconfig.h b/tuxbox/neutrino/daemons/nhttpd/yconfig.h index bdd25c8..d8f80e0 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yconfig.h +++ b/tuxbox/neutrino/daemons/nhttpd/yconfig.h @@ -38,7 +38,7 @@ #define HTTPD_NAME "yhttpd" // Webserver name (can be overloaded) #define YHTTPD_NAME "yhttpd_core" // Webserver name (Name of yhttpd-core!) #define AUTH_NAME_MSG "yhhtpd" // Name in Authentication Dialogue -#define CONF_VERSION 3 // Version of yhttpd-conf file +#define CONF_VERSION 4 // Version of yhttpd-conf file #define HTTPD_KEEPALIVE_TIMEOUT 500000 // Timeout for Keep-Alive in mircoseconds //============================================================================= @@ -107,6 +107,8 @@ #define HTTPD_ERRORPAGE "/Y_ErrorPage.yhtm" #define HTTPD_SENDFILE_EXT "htm:text/html,html:text/html,xml:text/xml,txt:text/plain,jpg:image/jpeg,jpeg:image/jpeg,gif:image/gif,png:image/png,bmp:image/bmp,css:text/css,js:text/plain,img:application/octet-stream,ico:image/x-icon,m3u:application/octet-stream,tar:application/octet-stream" #define HTTPD_SENDFILE_ALL false +#define HTTPD_LANGUAGEDIR "languages" +#define HTTPD_DEFAULT_LANGUAGE "English" #define AUTHUSER "test" #define AUTHPASSWORD "test1" @@ -132,6 +134,8 @@ #define HTTPD_ERRORPAGE "/Y_ErrorPage.yhtm" #define HTTPD_SENDFILE_EXT "htm:text/html,html:text/html,xml:text/xml,txt:text/plain,jpg:image/jpeg,jpeg:image/jpeg,gif:image/gif,png:image/png,bmp:image/bmp,css:text/css,js:text/plain,img:application/octet-stream,ico:image/x-icon,m3u:application/octet-stream,tar:application/octet-stream" #define HTTPD_SENDFILE_ALL "false" +#define HTTPD_LANGUAGEDIR "languages" +#define HTTPD_DEFAULT_LANGUAGE "English" #define AUTHUSER "test" #define AUTHPASSWORD "test1" @@ -162,6 +166,8 @@ #define HTTPD_ERRORPAGE "/Y_ErrorPage.yhtm" #define HTTPD_SENDFILE_EXT "htm:text/html,html:text/html,xml:text/xml,txt:text/plain,jpg:image/jpeg,jpeg:image/jpeg,gif:image/gif,png:image/png,bmp:image/bmp,css:text/css,js:text/plain,img:application/octet-stream,ico:image/x-icon,m3u:application/octet-stream,tar:application/octet-stream,gz:text/x-gzip" #define HTTPD_SENDFILE_ALL "false" +#define HTTPD_LANGUAGEDIR "languages" +#define HTTPD_DEFAULT_LANGUAGE "English" #define AUTHUSER "root" #define AUTHPASSWORD "dbox2" @@ -197,6 +203,8 @@ #define HTTPD_ERRORPAGE "/Y_ErrorPage.yhtm" #define HTTPD_SENDFILE_EXT "htm:text/html,html:text/html,xml:text/xml,txt:text/plain,jpg:image/jpeg,jpeg:image/jpeg,gif:image/gif,png:image/png,bmp:image/bmp,css:text/css,js:text/plain,img:application/octet-stream,ico:image/x-icon,m3u:application/octet-stream,tar:application/octet-stream" #define HTTPD_SENDFILE_ALL "false" +#define HTTPD_LANGUAGEDIR "languages" +#define HTTPD_DEFAULT_LANGUAGE "English" #define AUTHUSER "root" #define AUTHPASSWORD "oxmox" diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp index 285c3b0..ef6c27b 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp @@ -4,7 +4,6 @@ //============================================================================= // system -#include <cstdio> #include <csignal> #include <unistd.h> #include <pwd.h> @@ -416,7 +415,7 @@ void Cyhttpd::ReadConfig(void) log_level_printf(3,"ReadConfig Start\n"); CConfigFile *Config = new CConfigFile(','); bool have_config = false; - if(access(HTTPD_CONFIGFILE,4) == 0) + if(access(HTTPD_CONFIGFILE, R_OK) == 0) have_config = true; Config->loadConfig(HTTPD_CONFIGFILE); // convert old config files @@ -435,10 +434,6 @@ void Cyhttpd::ReadConfig(void) Config->setString("WebsiteMain.directory", OrgConfig.getString("PrivatDocRoot", PRIVATEDOCUMENTROOT)); if(!OrgConfig.getString("PublicDocRoot", "").empty()) Config->setString("WebsiteMain.override_directory", OrgConfig.getString("PublicDocRoot", PRIVATEDOCUMENTROOT)); - if(!OrgConfig.getString("HostedDocRoot", "").empty()) - Config->setString("WebsiteMain.special_locations", "/hosted/="+OrgConfig.getString("HostedDocRoot", PRIVATEDOCUMENTROOT)); - if(!OrgConfig.getString("HostedDocRoot", "").empty()) - Config->setString("Tuxbox.HostedDocumentRoot", OrgConfig.getString("HostedDocRoot", PRIVATEDOCUMENTROOT)); // mod_auth Config->setString("mod_auth.username", OrgConfig.getString("AuthUser", AUTHUSER)); Config->setString("mod_auth.password", OrgConfig.getString("AuthPassword", AUTHPASSWORD)); @@ -450,6 +445,7 @@ void Cyhttpd::ReadConfig(void) Config->saveConfig(HTTPD_CONFIGFILE); } + // Add Defaults for Version2 if (Config->getInt32("configfile.version") < 2) { Config->setString("mod_sendfile.mime_types", HTTPD_SENDFILE_EXT); @@ -457,6 +453,15 @@ void Cyhttpd::ReadConfig(void) Config->setString("mod_sendfile.sendAll","false"); Config->saveConfig(HTTPD_CONFIGFILE); } + // Add Defaults for Version 4 + if (Config->getInt32("configfile.version") < 4) { + Config->setInt32("configfile.version", CONF_VERSION); + Config->setString("Language.selected", HTTPD_DEFAULT_LANGUAGE); + Config->setString("Language.directory", HTTPD_LANGUAGEDIR); + if (Config->getString("WebsiteMain.hosted_directory", "").empty()) + Config->setString("WebsiteMain.hosted_directory", HOSTEDDOCUMENTROOT); + Config->saveConfig(HTTPD_CONFIGFILE); + } } // configure debugging & logging if(CLogging::getInstance()->LogLevel == 0) @@ -473,9 +478,9 @@ void Cyhttpd::ReadConfig(void) webserver->conf_no_keep_alive_ips = Config->getStringVector("server.no_keep-alive_ips"); // MainSite - ConfigList["PrivatDocumentRoot"]= Config->getString("WebsiteMain.directory", PRIVATEDOCUMENTROOT); - ConfigList["PublicDocumentRoot"]= Config->getString("WebsiteMain.override_directory", PUBLICDOCUMENTROOT); - ConfigList["HostedDocumentRoot"]= Config->getString("Tuxbox.HostedDocumentRoot", HOSTEDDOCUMENTROOT); + ConfigList["WebsiteMain.directory"] = Config->getString("WebsiteMain.directory", PRIVATEDOCUMENTROOT); + ConfigList["WebsiteMain.override_directory"] = Config->getString("WebsiteMain.override_directory", PUBLICDOCUMENTROOT); + ConfigList["WebsiteMain.hosted_directory"] = Config->getString("WebsiteMain.hosted_directory", HOSTEDDOCUMENTROOT); #ifdef Y_CONFIG_USE_OPEN_SSL ConfigList["SSL"] = Config->getString("WebsiteMain.ssl", "false"); ConfigList["SSL_pemfile"] = Config->getString("WebsiteMain.ssl_pemfile", SSL_PEMFILE); @@ -490,6 +495,9 @@ void Cyhttpd::ReadConfig(void) ConfigList["server.group_name"]= Config->getString("server.group_name", ""); ConfigList["server.chroot"]= Config->getString("server.chroot", ""); + // language + ConfigList["Language.directory"] = Config->getString("Language.directory", HTTPD_LANGUAGEDIR); + ConfigList["Language.selected"] = Config->getString("Language.selected", HTTPD_DEFAULT_LANGUAGE); // Read App specifig settings by Hook CyhookHandler::Hooks_ReadConfig(Config, ConfigList); diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/yresponse.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/yresponse.cpp index 741fd4c..981edd5 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/yresponse.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/yresponse.cpp @@ -70,7 +70,7 @@ bool CWebserverResponse::SendResponse() // for hosted webs: rewrite URL std::string _hosted="/hosted/"; if((Connection->Request.UrlData["path"]).compare(0,_hosted.length(),"/hosted/") == 0) // hosted Web ? - Connection->Request.UrlData["path"]=Cyhttpd::ConfigList["HostedDocumentRoot"] + Connection->Request.UrlData["path"]=Cyhttpd::ConfigList["WebsiteMain.hosted_directory"] +(Connection->Request.UrlData["path"]).substr(_hosted.length()-1); #endif //Y_CONFIG_USE_HOSTEDWEB log_level_printf(5,"UrlPath:%s\n",(Connection->Request.UrlData["path"]).c_str()); diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_sendfile.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_sendfile.cpp index 87468f7..c8f15b2 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_sendfile.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_sendfile.cpp @@ -167,14 +167,14 @@ std::string CmodSendfile::GetFileName(CyhookHandler *hh, std::string path, std:: else tmpfilename = path + filename; - if( access(std::string(hh->WebserverConfigList["PublicDocumentRoot"] + tmpfilename).c_str(),4) == 0) - tmpfilename = hh->WebserverConfigList["PublicDocumentRoot"] + tmpfilename; - else if( access(std::string(hh->WebserverConfigList["PublicDocumentRoot"] + tmpfilename + ".gz").c_str(),4) == 0) - tmpfilename = hh->WebserverConfigList["PublicDocumentRoot"] + tmpfilename + ".gz"; - else if(access(std::string(hh->WebserverConfigList["PrivatDocumentRoot"] + tmpfilename).c_str(),4) == 0) - tmpfilename = hh->WebserverConfigList["PrivatDocumentRoot"] + tmpfilename; - else if(access(std::string(hh->WebserverConfigList["PrivatDocumentRoot"] + tmpfilename + ".gz").c_str(),4) == 0) - tmpfilename = hh->WebserverConfigList["PrivatDocumentRoot"] + tmpfilename + ".gz"; + if( access(std::string(hh->WebserverConfigList["WebsiteMain.override_directory"] + tmpfilename).c_str(),4) == 0) + tmpfilename = hh->WebserverConfigList["WebsiteMain.override_directory"] + tmpfilename; + else if( access(std::string(hh->WebserverConfigList["WebsiteMain.override_directory"] + tmpfilename + ".gz").c_str(),4) == 0) + tmpfilename = hh->WebserverConfigList["WebsiteMain.override_directory"] + tmpfilename + ".gz"; + else if(access(std::string(hh->WebserverConfigList["WebsiteMain.directory"] + tmpfilename).c_str(),4) == 0) + tmpfilename = hh->WebserverConfigList["WebsiteMain.directory"] + tmpfilename; + else if(access(std::string(hh->WebserverConfigList["WebsiteMain.directory"] + tmpfilename + ".gz").c_str(),4) == 0) + tmpfilename = hh->WebserverConfigList["WebsiteMain.directory"] + tmpfilename + ".gz"; #ifdef Y_CONFIG_FEATUE_SENDFILE_CAN_ACCESS_ALL else if(access(tmpfilename.c_str(),4) == 0) ; diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp index 788b6d4..b4f89f9 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp @@ -56,8 +56,8 @@ void CyParser::init(CyhookHandler *hh) { if(HTML_DIRS[0].empty()) { - CyParser::HTML_DIRS[0]=hh->WebserverConfigList["PublicDocumentRoot"]; - HTML_DIRS[1]=hh->WebserverConfigList["PrivatDocumentRoot"]; + CyParser::HTML_DIRS[0]=hh->WebserverConfigList["WebsiteMain.override_directory"]; + HTML_DIRS[1]=hh->WebserverConfigList["WebsiteMain.directory"]; PLUGIN_DIRS[0]=HTML_DIRS[0]; PLUGIN_DIRS[0].append("/scripts"); PLUGIN_DIRS[1]=HTML_DIRS[1]; ----------------------------------------------------------------------- Summary of changes: .../daemons/nhttpd/tuxboxapi/controlapi.cpp | 4 +- tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt | 2 +- tuxbox/neutrino/daemons/nhttpd/yconfig.h | 10 +++++++- tuxbox/neutrino/daemons/nhttpd/yhttpd.cpp | 26 +++++++++++++------- .../daemons/nhttpd/yhttpd_core/yresponse.cpp | 2 +- .../daemons/nhttpd/yhttpd_mods/mod_sendfile.cpp | 16 ++++++------ .../daemons/nhttpd/yhttpd_mods/mod_yparser.cpp | 4 +- 7 files changed, 40 insertions(+), 24 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-03-18 07:52:05
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 8fa01aaff74b230431236165db6096c1a3dcc1e8 (commit) via cb17895ab4186204bf8506216b7884e94de1a81f (commit) via 39098127b34b5445135f5fb17d82308ea5fc53b2 (commit) from 803ccb993a7e81e594428a724e9e1b4584bdf60f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8fa01aaff74b230431236165db6096c1a3dcc1e8 Author: Christian Schuett <Gau...@ho...> Date: Tue Mar 17 20:43:02 2015 +0100 yWeb: add reschedule button to timerlist Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/neutrinoyparser.cpp b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/neutrinoyparser.cpp index 009a8a0..73b2544 100644 --- a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/neutrinoyparser.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/neutrinoyparser.cpp @@ -843,8 +843,10 @@ std::string CNeutrinoYParser::func_get_timer_list(CyhookHandler */*hh*/, std::s default:{} } + std::string show_reschedule = (timer->eventRepeat != CTimerd::TIMERREPEAT_ONCE && timer->repeatCount != 1) ? "visible" : "hidden"; yresult += string_printf(para.c_str(), classname, zAlarmTime, zStopTime, zRep.c_str(), zRepCount.c_str(), - zType.c_str(), sAddData.c_str(),timer->eventID,timer->eventID); + zType.c_str(), sAddData.c_str(), timer->eventID, show_reschedule.c_str(), timer->eventID, + timer->eventID); } classname = (i++&1)?'a':'b'; diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Timer_List.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Timer_List.yhtm index 8eee876..a9f8410 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Timer_List.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Timer_List.yhtm @@ -18,6 +18,7 @@ <td>Beschreibung</td> <td> </td> <td> </td> + <td> </td> </tr> {=var-set:row= <tr class="%ctimer"> @@ -28,6 +29,10 @@ <td>%s</td> <td>%s</td> <td> + <a href="/fb/timer.dbox2?action=reschedule&id=%d" style="visibility:%s;"> + <img src="/images/time_down.png" alt="Timer aussetzen"/></a> + </td> + <td> <a href="/fb/timer.dbox2?action=remove&id=%d"> <img src="/images/remove.png" alt="Timer löschen"/></a> </td> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index b03e039..74be22d 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.0.9 -date=15.03.2015 +version=2.8.0.10 +date=17.03.2015 type=Release info=Tuxbox commit cb17895ab4186204bf8506216b7884e94de1a81f Author: Christian Schuett <Gau...@ho...> Date: Tue Mar 17 20:27:16 2015 +0100 nhttpd controlapi: add possibility to reschedule timers Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp index 123dc80..3e19048 100644 --- a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp @@ -116,6 +116,11 @@ void CControlAPI::compatibility_Timer(CyhookHandler *hh) unsigned removeId = atoi(hh->ParamList["id"].c_str()); NeutrinoAPI->Timerd->removeTimerEvent(removeId); } + else if(hh->ParamList["action"] == "reschedule") + { + unsigned rescheduleId = atoi(hh->ParamList["id"].c_str()); + NeutrinoAPI->Timerd->rescheduleTimerEvent(rescheduleId); + } else if(hh->ParamList["action"] == "modify") doModifyTimer(hh); else if(hh->ParamList["action"] == "new") @@ -264,6 +269,14 @@ void CControlAPI::TimerCGI(CyhookHandler *hh) NeutrinoAPI->Timerd->removeTimerEvent(removeId); hh->SendOk(); } + else if (hh->ParamList["action"] == "reschedule") + { + unsigned rescheduleId = atoi(hh->ParamList["id"].c_str()); + if (NeutrinoAPI->Timerd->rescheduleTimerEvent(rescheduleId)) + hh->SendOk(); + else + hh->SendError(); + } else if(!hh->ParamList["get"].empty()) { int pre=0,post=0; commit 39098127b34b5445135f5fb17d82308ea5fc53b2 Author: svenhoefer <sve...@sv...> Date: Wed Mar 18 08:48:49 2015 +0100 libconfigfile: allow configfiles with another delimiter as '=' Signed-off-by: GetAway <get...@t-...> diff --git a/misc/libs/libconfigfile/configfile.cpp b/misc/libs/libconfigfile/configfile.cpp index b92fd67..11b3cb4 100644 --- a/misc/libs/libconfigfile/configfile.cpp +++ b/misc/libs/libconfigfile/configfile.cpp @@ -51,7 +51,7 @@ void CConfigFile::clear() // // public file operation methods // -bool CConfigFile::loadConfig(const char * const filename) +bool CConfigFile::loadConfig(const char * const filename, char _delimiter) { std::ifstream configFile(filename); @@ -67,7 +67,7 @@ bool CConfigFile::loadConfig(const char * const filename) if (configFile.fail()) break; - std::string::size_type i = s.find('='); + std::string::size_type i = s.find(_delimiter); if (i != std::string::npos) { std::string::size_type j = s.find('#'); @@ -86,12 +86,12 @@ bool CConfigFile::loadConfig(const char * const filename) } } -bool CConfigFile::loadConfig(const std::string & filename) +bool CConfigFile::loadConfig(const std::string & filename, char _delimiter) { - return loadConfig(filename.c_str()); + return loadConfig(filename.c_str(), _delimiter); } -bool CConfigFile::saveConfig(const char * const filename) +bool CConfigFile::saveConfig(const char * const filename, char _delimiter) { std::string tmpname = std::string(filename) + ".tmp"; unlink(tmpname.c_str()); @@ -102,7 +102,7 @@ bool CConfigFile::saveConfig(const char * const filename) std::cout << "[ConfigFile] saving " << filename << std::endl; for (ConfigDataMap::const_iterator it = configData.begin(); it != configData.end(); ++it) { - configFile << it->first << "=" << it->second << std::endl; + configFile << it->first << _delimiter << it->second << std::endl; } configFile.sync(); @@ -123,9 +123,9 @@ bool CConfigFile::saveConfig(const char * const filename) } } -bool CConfigFile::saveConfig(const std::string & filename) +bool CConfigFile::saveConfig(const std::string & filename, char _delimiter) { - return saveConfig(filename.c_str()); + return saveConfig(filename.c_str(), _delimiter); } diff --git a/misc/libs/libconfigfile/configfile.h b/misc/libs/libconfigfile/configfile.h index 6a83a36..599b68c 100644 --- a/misc/libs/libconfigfile/configfile.h +++ b/misc/libs/libconfigfile/configfile.h @@ -51,11 +51,11 @@ class CConfigFile public: CConfigFile(const char p_delimiter, const bool p_saveDefaults = true); - bool loadConfig(const char * const filename); - bool loadConfig(const std::string & filename); + bool loadConfig(const char * const filename, char _delimiter = '='); + bool loadConfig(const std::string & filename, char _delimiter = '='); - bool saveConfig(const char * const filename); - bool saveConfig(const std::string & filename); + bool saveConfig(const char * const filename, char _delimiter = '='); + bool saveConfig(const std::string & filename, char _delimiter = '='); void clear(); ----------------------------------------------------------------------- Summary of changes: misc/libs/libconfigfile/configfile.cpp | 16 ++++++++-------- misc/libs/libconfigfile/configfile.h | 8 ++++---- .../daemons/nhttpd/tuxboxapi/controlapi.cpp | 13 +++++++++++++ .../daemons/nhttpd/tuxboxapi/neutrinoyparser.cpp | 4 +++- .../neutrino/daemons/nhttpd/web/Y_Timer_List.yhtm | 5 +++++ tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 4 ++-- 6 files changed, 35 insertions(+), 15 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-03-17 10:12:04
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 803ccb993a7e81e594428a724e9e1b4584bdf60f (commit) from 877c1529f160f5ff5b166ee0b2309ef328c2a01f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 803ccb993a7e81e594428a724e9e1b4584bdf60f Author: GetAway <get...@t-...> Date: Tue Mar 17 11:07:48 2015 +0100 yWeb: fix hardcoded paths Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp index d6f825b..123dc80 100644 --- a/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/tuxboxapi/controlapi.cpp @@ -535,14 +535,14 @@ void CControlAPI::SettingsCGI(CyhookHandler *hh) // send services.xml void CControlAPI::GetServicesxmlCGI(CyhookHandler *hh) { - hh->SendFile("/var/tuxbox/config/zapit/services.xml"); + hh->SendFile(CONFIGDIR "/zapit/services.xml"); } //----------------------------------------------------------------------------- // send bouquets.xml void CControlAPI::GetBouquetsxmlCGI(CyhookHandler *hh) { - hh->SendFile("/var/tuxbox/config/zapit/bouquets.xml"); + hh->SendFile(CONFIGDIR "/zapit/bouquets.xml"); } //----------------------------------------------------------------------------- diff --git a/tuxbox/neutrino/daemons/nhttpd/yconfig.h b/tuxbox/neutrino/daemons/nhttpd/yconfig.h index ce688ac..bdd25c8 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yconfig.h +++ b/tuxbox/neutrino/daemons/nhttpd/yconfig.h @@ -156,7 +156,7 @@ #define HTTPD_NAME "nhttpd" #define HTTPD_STANDARD_PORT 80 #define HTTPD_MAX_CONNECTIONS 10 -#define HTTPD_CONFIGDIR "/var/tuxbox/config" +#define HTTPD_CONFIGDIR CONFIGDIR #define HTTPD_CONFIGFILE HTTPD_CONFIGDIR "/nhttpd.conf" #define HTTPD_REQUEST_LOG "/tmp/httpd_log" #define HTTPD_ERRORPAGE "/Y_ErrorPage.yhtm" @@ -165,13 +165,13 @@ #define AUTHUSER "root" #define AUTHPASSWORD "dbox2" -#define PRIVATEDOCUMENTROOT "/share/tuxbox/neutrino/httpd-y" +#define PRIVATEDOCUMENTROOT DATADIR "/neutrino/httpd-y" #define PUBLICDOCUMENTROOT "/var/httpd" -#define NEUTRINO_CONFIGFILE "/var/tuxbox/config/neutrino.conf" +#define NEUTRINO_CONFIGFILE CONFIGDIR "/neutrino.conf" #define HOSTEDDOCUMENTROOT "/mnt/hosted" #define EXTRASDOCUMENTROOT "/mnt/hosted/extras" #define EXTRASDOCUMENTURL "/hosted/extras" -#define ZAPITXMLPATH "/var/tuxbox/config/zapit" +#define ZAPITXMLPATH CONFIGDIR "/zapit" #define SSL_PEMFILE HTTPD_CONFIGDIR "/server.pem" #define SSL_CA_FILE HTTPD_CONFIGDIR "/cacert.pem" diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp index 198eb71..788b6d4 100644 --- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp +++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_mods/mod_yparser.cpp @@ -3,6 +3,8 @@ // yParser //============================================================================= // C +#include <config.h> + #include <cstdlib> #include <cstring> #include <stdio.h> ----------------------------------------------------------------------- Summary of changes: .../daemons/nhttpd/tuxboxapi/controlapi.cpp | 4 ++-- tuxbox/neutrino/daemons/nhttpd/yconfig.h | 8 ++++---- .../daemons/nhttpd/yhttpd_mods/mod_yparser.cpp | 2 ++ 3 files changed, 8 insertions(+), 6 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-03-15 18:49:07
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 877c1529f160f5ff5b166ee0b2309ef328c2a01f (commit) from 2385089284b6762acf16fc1de3478cbc3ef51ad0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 877c1529f160f5ff5b166ee0b2309ef328c2a01f Author: Christian Schuett <Gau...@ho...> Date: Sun Mar 15 16:46:11 2015 +0100 Neutrino: use existing code in timerd to skip repeat timer in timerlist Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/timerd/timerd.cpp b/tuxbox/neutrino/daemons/timerd/timerd.cpp index d51a694..592ae7d 100644 --- a/tuxbox/neutrino/daemons/timerd/timerd.cpp +++ b/tuxbox/neutrino/daemons/timerd/timerd.cpp @@ -207,10 +207,11 @@ bool parse_command(CBasicMessage::Header &rmsg, int connfd) CTimerManager::getInstance()->unlockEvents(); break; - case CTimerdMsg::CMD_RESCHEDULETIMER: // event nach vorne oder hinten schieben + case CTimerdMsg::CMD_RESCHEDULETIMER: // event verschieben { - CBasicServer::receive_data(connfd,&msgModifyTimer, sizeof(msgModifyTimer)); - int ret=CTimerManager::getInstance()->rescheduleEvent(msgModifyTimer.eventID,msgModifyTimer.announceTime,msgModifyTimer.alarmTime, msgModifyTimer.stopTime); + CTimerdMsg::commandRescheduleTimer msgRescheduleTimer; + CBasicServer::receive_data(connfd, &msgRescheduleTimer, sizeof(msgRescheduleTimer)); + int ret = CTimerManager::getInstance()->rescheduleEvent(msgRescheduleTimer.eventID); CTimerdMsg::responseStatus rspStatus; rspStatus.status = (ret!=0); CBasicServer::send_data(connfd, &rspStatus, sizeof(rspStatus)); diff --git a/tuxbox/neutrino/daemons/timerd/timermanager.cpp b/tuxbox/neutrino/daemons/timerd/timermanager.cpp index 2d07185..5efb20d 100644 --- a/tuxbox/neutrino/daemons/timerd/timermanager.cpp +++ b/tuxbox/neutrino/daemons/timerd/timermanager.cpp @@ -274,8 +274,6 @@ bool CTimerManager::removeEvent(int ev_ID) events[ev_ID]->eventState = CTimerd::TIMERSTATE_TERMINATED; // set the state to terminated res = true; // so timerthread will do the rest for us } - else - res = false; pthread_mutex_unlock(&tm_eventsMutex); return res; } @@ -291,8 +289,6 @@ bool CTimerManager::stopEvent(int ev_ID) events[ev_ID]->eventState = CTimerd::TIMERSTATE_HASFINISHED; // set the state to finished res = true; // so timerthread will do the rest for us } - else - res = false; pthread_mutex_unlock(&tm_eventsMutex); return res; } @@ -333,8 +329,6 @@ CTimerd::CTimerEventTypes* CTimerManager::getEventType(int ev_ID) { res = &(events[ev_ID]->eventType); } - else - res = NULL; pthread_mutex_unlock(&tm_eventsMutex); return res; } @@ -391,8 +385,6 @@ int CTimerManager::modifyEvent(int ev_ID, time_t announceTime, time_t alarmTime, m_saveEvents=true; res = ev_ID; } - else - res = 0; pthread_mutex_unlock(&tm_eventsMutex); return res; } @@ -422,26 +414,20 @@ int CTimerManager::modifyEvent(int ev_ID, unsigned char apids) return res; } -int CTimerManager::rescheduleEvent(int ev_ID, time_t announceTime, time_t alarmTime, time_t stopTime) +int CTimerManager::rescheduleEvent(int ev_ID) { int res = 0; pthread_mutex_lock(&tm_eventsMutex); - if (events.find(ev_ID) != events.end()) { CTimerEvent *event = events[ev_ID]; - if(event->announceTime > 0) - event->announceTime += announceTime; - if(event->alarmTime > 0) - event->alarmTime += alarmTime; - if(event->stopTime > 0) - event->stopTime += stopTime; - event->eventState = CTimerd::TIMERSTATE_SCHEDULED; - m_saveEvents=true; - res = ev_ID; + if (event->eventRepeat != CTimerd::TIMERREPEAT_ONCE && event->repeatCount != 1) + { + event->Reschedule(true); + m_saveEvents=true; + res = ev_ID; + } } - else - res = 0; pthread_mutex_unlock(&tm_eventsMutex); return res; } @@ -886,7 +872,7 @@ CTimerEvent::CTimerEvent(CTimerd::CTimerEventTypes evtype,CConfigFile *config, i dprintf("read PREVIOUS_STATE_%s %d\n",id.c_str(),previousState); } //------------------------------------------------------------ -void CTimerEvent::Reschedule() +void CTimerEvent::Reschedule(bool force) { if(eventRepeat == CTimerd::TIMERREPEAT_ONCE) { @@ -896,7 +882,7 @@ void CTimerEvent::Reschedule() else { time_t now = time(NULL); - while(alarmTime <= now) + while(alarmTime <= now || force) { time_t diff = 0; struct tm *t= localtime(&alarmTime); @@ -964,10 +950,12 @@ void CTimerEvent::Reschedule() announceTime += diff; if(stopTime > 0) stopTime += diff; + if(force) + break; } eventState = CTimerd::TIMERSTATE_SCHEDULED; if (repeatCount > 0) - repeatCount -= 1; + repeatCount--; dprintf("event %d rescheduled\n",eventID); } } @@ -1240,12 +1228,12 @@ void CTimerEvent_Record::saveToConfig(CConfigFile *config) dprintf("set EPG_TITLE_%s to %s (%p)\n",id.c_str(),epgTitle.c_str(), &epgTitle); } //------------------------------------------------------------ -void CTimerEvent_Record::Reschedule() +void CTimerEvent_Record::Reschedule(bool force) { // clear epgId on reschedule eventInfo.epgID = 0; eventInfo.epg_starttime = 0; - CTimerEvent::Reschedule(); + CTimerEvent::Reschedule(force); getEpgId(); } //------------------------------------------------------------ @@ -1407,12 +1395,12 @@ void CTimerEvent_NextProgram::saveToConfig(CConfigFile *config) dprintf("set EVENT_INFO_APIDS_%s to 0x%X (%p)\n",id.c_str(),eventInfo.apids,&eventInfo.apids); } //------------------------------------------------------------ -void CTimerEvent_NextProgram::Reschedule() +void CTimerEvent_NextProgram::Reschedule(bool force) { // clear eogId on reschedule eventInfo.epgID = 0; eventInfo.epg_starttime = 0; - CTimerEvent::Reschedule(); + CTimerEvent::Reschedule(force); } //============================================================= // Remind Event diff --git a/tuxbox/neutrino/daemons/timerd/timermanager.h b/tuxbox/neutrino/daemons/timerd/timermanager.h index 632a850..25cf8fb 100644 --- a/tuxbox/neutrino/daemons/timerd/timermanager.h +++ b/tuxbox/neutrino/daemons/timerd/timermanager.h @@ -63,7 +63,7 @@ class CTimerEvent static int remain_min(const time_t t) {return (t - time(NULL)) / 60;}; void printEvent(void); - virtual void Reschedule(); + virtual void Reschedule(bool force = false); virtual void fireEvent(){}; virtual void stopEvent(){}; @@ -133,7 +133,7 @@ class CTimerEvent_Record : public CTimerEvent virtual void announceEvent(); virtual void stopEvent(); virtual void saveToConfig(CConfigFile *config); - virtual void Reschedule(); + virtual void Reschedule(bool force = false); virtual void getEpgId(); virtual void Refresh(); }; @@ -175,7 +175,7 @@ class CTimerEvent_NextProgram : public CTimerEvent virtual void fireEvent(); virtual void announceEvent(); virtual void saveToConfig(CConfigFile *config); - virtual void Reschedule(); + virtual void Reschedule(bool force = false); }; class CTimerEvent_Remind : public CTimerEvent @@ -243,7 +243,7 @@ public: // int modifyEvent(int eventID, time_t announceTime, time_t alarmTime, time_t stopTime, uint repeatcount, CTimerd::CTimerEventRepeat evrepeat = CTimerd::TIMERREPEAT_ONCE); int modifyEvent(int eventID, time_t announceTime, time_t alarmTime, time_t stopTime, uint repeatcount, CTimerd::CTimerEventRepeat evrepeat, CTimerd::responseGetTimer& data); int modifyEvent(int eventID, unsigned char apids); - int rescheduleEvent(int eventID, time_t announceTime, time_t alarmTime, time_t stopTime); + int rescheduleEvent(int eventID); void saveEventsToConfig(); void loadEventsFromConfig(); bool shutdown(); diff --git a/tuxbox/neutrino/lib/timerdclient/timerdclient.cpp b/tuxbox/neutrino/lib/timerdclient/timerdclient.cpp index b085f7e..eeee6b4 100644 --- a/tuxbox/neutrino/lib/timerdclient/timerdclient.cpp +++ b/tuxbox/neutrino/lib/timerdclient/timerdclient.cpp @@ -194,22 +194,12 @@ bool CTimerdClient::modifyRecordTimerEvent(int eventid, time_t announcetime, tim } //------------------------------------------------------------------------- -bool CTimerdClient::rescheduleTimerEvent(int eventid, time_t diff) +bool CTimerdClient::rescheduleTimerEvent(int eventid) { - rescheduleTimerEvent(eventid,diff,diff,diff); - return true; -} -//------------------------------------------------------------------------- - -bool CTimerdClient::rescheduleTimerEvent(int eventid, time_t announcediff, time_t alarmdiff, time_t stopdiff) -{ - CTimerdMsg::commandModifyTimer msgModifyTimer; - msgModifyTimer.eventID = eventid; - msgModifyTimer.announceTime = announcediff; - msgModifyTimer.alarmTime = alarmdiff; - msgModifyTimer.stopTime = stopdiff; + CTimerdMsg::commandRescheduleTimer msgRescheduleTimer; + msgRescheduleTimer.eventID = eventid; - send(CTimerdMsg::CMD_RESCHEDULETIMER, (char*) &msgModifyTimer, sizeof(msgModifyTimer)); + send(CTimerdMsg::CMD_RESCHEDULETIMER, (char*) &msgRescheduleTimer, sizeof(msgRescheduleTimer)); CTimerdMsg::responseStatus response; receive_data((char*)&response, sizeof(response)); diff --git a/tuxbox/neutrino/lib/timerdclient/timerdclient.h b/tuxbox/neutrino/lib/timerdclient/timerdclient.h index 038c1da..f35449e 100644 --- a/tuxbox/neutrino/lib/timerdclient/timerdclient.h +++ b/tuxbox/neutrino/lib/timerdclient/timerdclient.h @@ -93,12 +93,8 @@ class CTimerdClient:private CBasicClient // returns remaining mins, -1 if no sleeptimer exists int getSleepTimerRemaining(); - - // add diff to existing timer event - bool rescheduleTimerEvent(int eventid, time_t diff); - - // add diff to existing timer event - bool rescheduleTimerEvent(int eventid, time_t announcediff, time_t alarmdiff, time_t stoptime); + // reschedule existing timer event + bool rescheduleTimerEvent(int eventid); // adds new sleeptimer event int addSleepTimerEvent(time_t announcetime,time_t alarmtime) // sleeptimer setzen diff --git a/tuxbox/neutrino/lib/timerdclient/timerdmsg.h b/tuxbox/neutrino/lib/timerdclient/timerdmsg.h index 82c0637..20e335b 100644 --- a/tuxbox/neutrino/lib/timerdclient/timerdmsg.h +++ b/tuxbox/neutrino/lib/timerdclient/timerdmsg.h @@ -88,6 +88,10 @@ class CTimerdMsg : public CBasicMessage uint repeatCount; }; + struct commandRescheduleTimer + { + int eventID; + }; struct commandRemind { diff --git a/tuxbox/neutrino/src/gui/timerlist.cpp b/tuxbox/neutrino/src/gui/timerlist.cpp index f663d66..2a88102 100644 --- a/tuxbox/neutrino/src/gui/timerlist.cpp +++ b/tuxbox/neutrino/src/gui/timerlist.cpp @@ -504,7 +504,8 @@ int CTimerList::show() } else if (msg == CRCInput::RC_blue && !timerlist.empty()) { - update = skipTimer(); + // skip timer + update = Timer->rescheduleTimerEvent(timerlist[selected].eventID); } else if (CRCInput::isNumeric(msg)) { @@ -1149,89 +1150,6 @@ int CTimerList::newTimer() return ret; } -bool CTimerList::skipTimer() -{ - CTimerd::responseGetTimer* timer = &timerlist[selected]; - if (timer->eventRepeat != CTimerd::TIMERREPEAT_ONCE && timer->repeatCount != 1) - { - struct tm *t = localtime(&timer->alarmTime); - int isdst1 = t->tm_isdst; - switch (timer->eventRepeat) - { - case CTimerd::TIMERREPEAT_DAILY: - t->tm_mday++; - break; - case CTimerd::TIMERREPEAT_WEEKLY: - t->tm_mday += 7; - break; - case CTimerd::TIMERREPEAT_BIWEEKLY: - t->tm_mday += 14; - break; - case CTimerd::TIMERREPEAT_FOURWEEKLY: - t->tm_mday += 28; - break; - case CTimerd::TIMERREPEAT_MONTHLY: - t->tm_mon++; - break; - default: - if (timer->eventRepeat >= CTimerd::TIMERREPEAT_WEEKDAYS) - { - int weekdays = ((int)timer->eventRepeat) >> 9; - if (weekdays > 0) - { - bool weekday_arr[7]; - weekday_arr[0] = ((weekdays & 0x40) > 0); //So - weekday_arr[1] = ((weekdays & 0x1) > 0); //Mo - weekday_arr[2] = ((weekdays & 0x2) > 0); //Di - weekday_arr[3] = ((weekdays & 0x4) > 0); //Mi - weekday_arr[4] = ((weekdays & 0x8) > 0); //Do - weekday_arr[5] = ((weekdays & 0x10) > 0); //Fr - weekday_arr[6] = ((weekdays & 0x20) > 0); //Sa - struct tm *t2 = localtime(&timer->alarmTime); - int day = 1; - for (; !weekday_arr[(t2->tm_wday + day) % 7]; day++); - t2->tm_mday += day; - } - } - } - time_t diff = mktime(t) - timer->alarmTime; - timer->alarmTime += diff; - t = localtime(&timer->alarmTime); - int isdst2 = t->tm_isdst; - if (isdst2 > isdst1) //change from winter to summer - { - diff -= 3600; - timer->alarmTime -= 3600; - } - else if (isdst1 > isdst2) //change from summer to winter - { - diff += 3600; - timer->alarmTime += 3600; - } - if (timer->announceTime > 0) - timer->announceTime += diff; - if (timer->stopTime > 0) - timer->stopTime += diff; - if (timer->repeatCount > 0) - timer->repeatCount--; - - if (timer->eventType == CTimerd::TIMER_RECORD) - { - Timer->modifyRecordTimerEvent(timer->eventID, timer->announceTime, timer->alarmTime, - timer->stopTime, timer->eventRepeat, timer->repeatCount, timer->recordingDir); - } - else - { - Timer->modifyTimerEvent(timer->eventID, timer->announceTime, timer->alarmTime, - timer->stopTime, timer->eventRepeat, timer->repeatCount); - } - - return true; - } - - return false; -} - bool askUserOnTimerConflict(time_t announceTime, time_t stopTime) { CTimerdClient Timer; diff --git a/tuxbox/neutrino/src/gui/timerlist.h b/tuxbox/neutrino/src/gui/timerlist.h index a0ddf6b..5cd0f49 100644 --- a/tuxbox/neutrino/src/gui/timerlist.h +++ b/tuxbox/neutrino/src/gui/timerlist.h @@ -82,7 +82,6 @@ class CTimerList : public CMenuTarget void updateSelection(unsigned int newpos); int modifyTimer(); int newTimer(); - bool skipTimer(); public: CTimerList(); ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/daemons/timerd/timerd.cpp | 7 +- tuxbox/neutrino/daemons/timerd/timermanager.cpp | 44 ++++------- tuxbox/neutrino/daemons/timerd/timermanager.h | 8 +- tuxbox/neutrino/lib/timerdclient/timerdclient.cpp | 18 +---- tuxbox/neutrino/lib/timerdclient/timerdclient.h | 8 +-- tuxbox/neutrino/lib/timerdclient/timerdmsg.h | 4 + tuxbox/neutrino/src/gui/timerlist.cpp | 86 +-------------------- tuxbox/neutrino/src/gui/timerlist.h | 1 - 8 files changed, 36 insertions(+), 140 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-03-15 18:46:02
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via 2385089284b6762acf16fc1de3478cbc3ef51ad0 (commit) from d850b390568cc48369d06c7da35fcc1772f05501 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 2385089284b6762acf16fc1de3478cbc3ef51ad0 Author: GetAway <get...@t-...> Date: Sun Mar 15 19:44:03 2015 +0100 yWeb: fix label height of radio button Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css b/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css index 7bb292b..3bdb415 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css @@ -12,6 +12,9 @@ button,input,select,form,td { font-family: Verdana, Geneva, Arial, 'Lucida Grande',Tahoma, Helvetica, sans-serif; color:#555555; } +input[type="radio"] { + vertical-align: baseline; +} .left { float: left; } diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index e62be7b..b03e039 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.0.8 +version=2.8.0.9 date=15.03.2015 type=Release info=Tuxbox ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css | 3 +++ tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-03-15 11:57:42
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via d850b390568cc48369d06c7da35fcc1772f05501 (commit) from f2fbce0e730d894063ef67d2157aae11041bc0cd (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d850b390568cc48369d06c7da35fcc1772f05501 Author: svenhoefer <sve...@sv...> Date: Sun Mar 15 12:56:59 2015 +0100 yWeb Tools: move two links to yWeb Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Menue.yhtm index c34cef8..631a00d 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Menue.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Menue.yhtm @@ -35,7 +35,6 @@ function init(){ <li><a target="work" title="organize file mounts" href="Y_Settings_mount_liste.yhtm">Mounts</a></li> <li><a target="work" title="Wake on LAN" href="Y_Settings_wol.yhtm">Wake on LAN</a></li> =} - <li><a target="work" title="check Installation" href="Y_Tools_Check_Install.yhtm">Check Install</a></li> </ul> </div> <div class="y_menu_sec_section">Expert</div> @@ -45,11 +44,22 @@ function init(){ {=if-empty:{=var-get:management=}~ <li class="disabled" title="backup or flash image. (restricted by ManagementIP)">Image</li> <li class="disabled" title="command shell (restricted by ManagementIP)">Command Shell</li> - <li class="disabled" title="yInstaller (for files, plugins, ...) (restricted by ManagementIP)">yInstaller</li> ~ <li><a target="work" title="backup or flash image" href="Y_Tools_Flash_Menue.yhtm">Image</a></li> <li><a target="work" title="command shell" href="Y_Tools_Cmd.yhtm">Command Shell</a> <a title="command shell (popup)" href="javascript:cmd_popup()"><img src="/images/popup.png"/></a></li> + =} + </ul> + </div> + <div class="y_menu_sec_section">yWeb</div> + <div class="y_menu_sec"> + <ul id="secmenu_yweb"> + <li> + <a target="work" href="Y_Tools_Check_Install.yhtm">Check Install</a> + </li> + {=if-empty:{=var-get:management=}~ + <li class="disabled" title="yInstaller (for files, plugins, ...) (restricted by ManagementIP)">yInstaller</li> + ~ <li><a target="work" title="yInstaller (for files, plugins, ...)" href="Y_Tools_Installer.yhtm">yInstaller</a></li> =} </ul> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index b7bdb5c..e62be7b 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.0.7 -date=14.03.2015 +version=2.8.0.8 +date=15.03.2015 type=Release info=Tuxbox ----------------------------------------------------------------------- Summary of changes: .../neutrino/daemons/nhttpd/web/Y_Tools_Menue.yhtm | 14 ++++++++++++-- tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 4 ++-- 2 files changed, 14 insertions(+), 4 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-03-14 17:39:02
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via f2fbce0e730d894063ef67d2157aae11041bc0cd (commit) from a0eddc91808f4ad54dc0267ebb1972515d160ebd (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit f2fbce0e730d894063ef67d2157aae11041bc0cd Author: svenhoefer <sve...@sv...> Date: Sat Mar 14 18:38:19 2015 +0100 yweb: use interval to get volume Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm index 4140630..3139b26 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm @@ -64,6 +64,9 @@ function init(){ set_mute_button(); add_yExtensions('boxcontrol', 'secmenu_boxcontrol'); } +function get_data(){ + volumen_set_audiobar(volumen_get()); +} //]]> </script> </head> @@ -137,6 +140,7 @@ function init(){ <script type="text/javascript"> //<![CDATA[ init(); + window.setInterval("get_data();",5000); //]]> </script> </body> diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt index 2d2231c..b7bdb5c 100644 --- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt +++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt @@ -1,4 +1,4 @@ -version=2.8.0.6 -date=12.03.2015 +version=2.8.0.7 +date=14.03.2015 type=Release info=Tuxbox ----------------------------------------------------------------------- Summary of changes: .../daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm | 4 ++++ tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-03-14 14:50:00
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via a0eddc91808f4ad54dc0267ebb1972515d160ebd (commit) from efb05c87a727c9ba3d53ffd1e9aeb3cb71b74cf5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a0eddc91808f4ad54dc0267ebb1972515d160ebd Author: Christian Schuett <Gau...@ho...> Date: Sat Mar 14 15:29:28 2015 +0100 Neutrino CVCRControl: simplify getMovieInfoString() Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/src/driver/vcrcontrol.cpp b/tuxbox/neutrino/src/driver/vcrcontrol.cpp index 98a86b9..61a99d7 100644 --- a/tuxbox/neutrino/src/driver/vcrcontrol.cpp +++ b/tuxbox/neutrino/src/driver/vcrcontrol.cpp @@ -449,7 +449,6 @@ std::string CVCRControl::CFileAndServerDevice::getMovieInfoString(const t_channe std::string extMessage; CMovieInfo cMovieInfo; MI_MOVIE_INFO movieInfo; - std::string info1, info2; event_id_t epg_id = epgid; cMovieInfo.clearMovieInfo(&movieInfo); @@ -457,13 +456,11 @@ std::string CVCRControl::CFileAndServerDevice::getMovieInfoString(const t_channe g_Zapit->getPIDS (pids); CZapitClient::CCurrentServiceInfo si = g_Zapit->getCurrentServiceInfo (); - std::string tmpstring = g_Zapit->getChannelName(channel_id); - if (tmpstring.empty()) + movieInfo.epgChannel = g_Zapit->getChannelName(channel_id); + if (movieInfo.epgChannel.empty()) movieInfo.epgChannel = "unknown"; - else - movieInfo.epgChannel = tmpstring; - tmpstring = (epgTitle.empty()) ? "not available" : Latin1_to_UTF8(epgTitle); + movieInfo.epgTitle = (epgTitle.empty()) ? "not available" : Latin1_to_UTF8(epgTitle); if (epg_id != 0) { //#define SHORT_EPG @@ -472,9 +469,9 @@ std::string CVCRControl::CFileAndServerDevice::getMovieInfoString(const t_channe if (g_Sectionsd->getEPGidShort(epg_id, &epgdata)) { #warning fixme sectionsd should deliver data in UTF-8 format - tmpstring = Latin1_to_UTF8(epgdata.title); - info1 = Latin1_to_UTF8(epgdata.info1); - info2 = Latin1_to_UTF8(epgdata.info2); + movieInfo.epgTitle = Latin1_to_UTF8(epgdata.title); + movieInfo.epgInfo1 = Latin1_to_UTF8(epgdata.info1); + movieInfo.epgInfo2 = Latin1_to_UTF8(epgdata.info2); } #else CEPGData epgdata; @@ -490,9 +487,9 @@ std::string CVCRControl::CFileAndServerDevice::getMovieInfoString(const t_channe if (has_epgdata) { #warning fixme sectionsd should deliver data in UTF-8 format - tmpstring = Latin1_to_UTF8(epgdata.title); - info1 = Latin1_to_UTF8(epgdata.info1); - info2 = Latin1_to_UTF8(epgdata.info2); + movieInfo.epgTitle = Latin1_to_UTF8(epgdata.title); + movieInfo.epgInfo1 = Latin1_to_UTF8(epgdata.info1); + movieInfo.epgInfo2 = Latin1_to_UTF8(epgdata.info2); movieInfo.parentalLockAge = epgdata.fsk; if (!epgdata.contentClassification.empty()) @@ -504,10 +501,7 @@ std::string CVCRControl::CFileAndServerDevice::getMovieInfoString(const t_channe } #endif } - movieInfo.epgTitle = tmpstring; movieInfo.epgId = channel_id; - movieInfo.epgInfo1 = info1; - movieInfo.epgInfo2 = info2; movieInfo.epgEpgId = epg_id; movieInfo.epgMode = g_Zapit->getMode(); movieInfo.epgVideoPid = si.vpid; ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/src/driver/vcrcontrol.cpp | 24 +++++++++--------------- 1 files changed, 9 insertions(+), 15 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-03-14 13:50:21
|
Project "Tuxbox-GIT: apps": The branch, master has been updated via efb05c87a727c9ba3d53ffd1e9aeb3cb71b74cf5 (commit) via a47208be43dbba6cb7dfc94229c86c8ca6aa9584 (commit) via 427c91b398ffd7fe5ed268ab3f63c09946622a0f (commit) via 861d9114680c820761a3fe8986ce9e3d495e6615 (commit) via ce57f83f261f436548ed20ab09e4d2a51534cc80 (commit) via 5d2da2ed08720ab71537644086d9cd3827f592a3 (commit) via 22578157d28e5755ccad8d9cbcd911beec9b93ff (commit) via fe124b86672e1943aaefc5908298edfbd9fb7182 (commit) via 8390f8ddf1d47ae2e8c198c9577e3d0ea1bc8ad6 (commit) via 3ade27b5fec232363be1a9c3fe132f6e0322e4ba (commit) via 9b97b0409aa16b0107ba3927172a531f2711c120 (commit) via f14523f36cc3a6e8a6e8763077052eaf15071726 (commit) from c1cf01815f4f773d3ccedc83cc0f80fae53cbc93 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit efb05c87a727c9ba3d53ffd1e9aeb3cb71b74cf5 Author: Christian Schuett <Gau...@ho...> Date: Fri Mar 13 22:34:59 2015 +0100 Neutrino movieinfo: always show an empty line after info1 and info2 Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/src/gui/movieinfo.cpp b/tuxbox/neutrino/src/gui/movieinfo.cpp index f004d7a..c7c20b7 100644 --- a/tuxbox/neutrino/src/gui/movieinfo.cpp +++ b/tuxbox/neutrino/src/gui/movieinfo.cpp @@ -502,6 +502,7 @@ void CMovieInfo::showMovieInfo(MI_MOVIE_INFO& movie_info) print_buffer += "\n"; print_buffer += movie_info.epgInfo2; } + print_buffer += "\n"; if( !movie_info.productionCountry.empty() || movie_info.productionDate != 0) { @@ -514,14 +515,14 @@ void CMovieInfo::showMovieInfo(MI_MOVIE_INFO& movie_info) if(!movie_info.serieName.empty()) { - print_buffer += "\n\n"; + print_buffer += "\n"; print_buffer += g_Locale->getText(LOCALE_MOVIEBROWSER_INFO_SERIE); print_buffer += ": "; print_buffer += movie_info.serieName; } if(!movie_info.epgChannel.empty()) { - print_buffer += "\n\n"; + print_buffer += "\n"; print_buffer += g_Locale->getText(LOCALE_MOVIEBROWSER_INFO_CHANNEL); print_buffer += ": "; print_buffer += movie_info.epgChannel; commit a47208be43dbba6cb7dfc94229c86c8ca6aa9584 Author: Christian Schuett <Gau...@ho...> Date: Fri Mar 13 20:14:09 2015 +0100 Neutrino: use EPG title as series name if record timer is repeat timer Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/timerd/timermanager.cpp b/tuxbox/neutrino/daemons/timerd/timermanager.cpp index 24a19e6..2d07185 100644 --- a/tuxbox/neutrino/daemons/timerd/timermanager.cpp +++ b/tuxbox/neutrino/daemons/timerd/timermanager.cpp @@ -1176,6 +1176,7 @@ void CTimerEvent_Record::fireEvent() Refresh(); CTimerd::RecordingInfo ri=eventInfo; ri.eventID=eventID; + ri.eventRepeat=eventRepeat; strcpy(ri.recordingDir, recordingDir.substr(0,sizeof(ri.recordingDir)-1).c_str()); strcpy(ri.epgTitle, epgTitle.substr(0,sizeof(ri.epgTitle)-1).c_str()); CTimerManager::getInstance()->getEventServer()->sendEvent(CTimerdClient::EVT_RECORD_START, @@ -1190,6 +1191,7 @@ void CTimerEvent_Record::announceEvent() Refresh(); CTimerd::RecordingInfo ri=eventInfo; ri.eventID=eventID; + ri.eventRepeat=eventRepeat; strcpy(ri.recordingDir, recordingDir.substr(0,sizeof(ri.recordingDir)-1).c_str()); strcpy(ri.epgTitle, epgTitle.substr(0,sizeof(ri.epgTitle)-1).c_str()); CTimerManager::getInstance()->getEventServer()->sendEvent(CTimerdClient::EVT_ANNOUNCE_RECORD, diff --git a/tuxbox/neutrino/lib/timerdclient/timerdtypes.h b/tuxbox/neutrino/lib/timerdclient/timerdtypes.h index 05cce10..a09ecaa 100644 --- a/tuxbox/neutrino/lib/timerdclient/timerdtypes.h +++ b/tuxbox/neutrino/lib/timerdclient/timerdtypes.h @@ -127,8 +127,8 @@ class CTimerd recordingSafety = e.recordingSafety; return *this; } - unsigned char apids; int eventID; + CTimerEventRepeat eventRepeat; char recordingDir[RECORD_DIR_MAXLEN]; char epgTitle[EPG_TITLE_MAXLEN]; }; diff --git a/tuxbox/neutrino/src/driver/vcrcontrol.cpp b/tuxbox/neutrino/src/driver/vcrcontrol.cpp index cfe01ac..98a86b9 100644 --- a/tuxbox/neutrino/src/driver/vcrcontrol.cpp +++ b/tuxbox/neutrino/src/driver/vcrcontrol.cpp @@ -132,7 +132,7 @@ bool CVCRControl::Record(const CTimerd::RecordingInfo * const eventinfo) { int mode = g_Zapit->isChannelTVChannel(eventinfo->channel_id) ? NeutrinoMessages::mode_tv : NeutrinoMessages::mode_radio; - return Device->Record(eventinfo->channel_id, mode, eventinfo->epgID, eventinfo->epgTitle, eventinfo->apids, eventinfo->epg_starttime); + return Device->Record(eventinfo->channel_id, mode, eventinfo->epgID, eventinfo->epgTitle, eventinfo->apids, eventinfo->epg_starttime, eventinfo->eventRepeat); } //------------------------------------------------------------------------- @@ -261,7 +261,8 @@ bool CVCRControl::CVCRDevice::Stop() //------------------------------------------------------------------------- bool CVCRControl::CVCRDevice::Record(const t_channel_id channel_id, int mode, const event_id_t epgid, - const std::string& /*epgTitle*/, unsigned char apids, const time_t /*epg_time*/) + const std::string& /*epgTitle*/, unsigned char apids, const time_t /*epg_time*/, + const CTimerd::CTimerEventRepeat /*eventRepeat*/) { printf("Record channel_id: " PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS @@ -442,6 +443,7 @@ void CVCRControl::CFileAndServerDevice::CutBackNeutrino(const t_channel_id chann std::string CVCRControl::CFileAndServerDevice::getMovieInfoString(const t_channel_id channel_id, const event_id_t epgid, const time_t epg_time, const std::string& epgTitle, unsigned char apids, + const CTimerd::CTimerEventRepeat eventRepeat, const bool save_vtxt_pid, const bool save_sub_pids) { std::string extMessage; @@ -524,6 +526,9 @@ std::string CVCRControl::CFileAndServerDevice::getMovieInfoString(const t_channe movieInfo.audioPids.push_back(audio_pids); } + if (eventRepeat != CTimerd::TIMERREPEAT_ONCE) + movieInfo.serieName = movieInfo.epgTitle; + if (save_vtxt_pid) movieInfo.epgVTXPID = si.vtxtpid; @@ -544,13 +549,15 @@ std::string CVCRControl::CFileAndServerDevice::getMovieInfoString(const t_channe return extMessage; } -std::string CVCRControl::CFileAndServerDevice::getCommandString(const CVCRCommand command, const t_channel_id channel_id, const event_id_t epgid, const std::string& epgTitle, unsigned char apids) +std::string CVCRControl::CFileAndServerDevice::getCommandString(const CVCRCommand command, const t_channel_id channel_id, + const event_id_t epgid, const std::string& epgTitle, unsigned char apids, + const CTimerd::CTimerEventRepeat eventRepeat) { char tmp[40]; std::string apids_selected; const char * extCommand; // std::string extAudioPID= "error"; - std::string info1, info2; + std::string title, info1, info2; std::string extMessage = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<neutrino commandversion=\"1\">\n\t<record command=\""; switch(command) { @@ -604,19 +611,19 @@ std::string CVCRControl::CFileAndServerDevice::getCommandString(const CVCRComman extMessage += "</channelname>\n\t\t<epgtitle>"; // CSectionsdClient::responseGetCurrentNextInfoChannelID current_next; - tmpstring = (epgTitle.empty()) ? "not available" : Latin1_to_UTF8(epgTitle); + title = (epgTitle.empty()) ? "not available" : Latin1_to_UTF8(epgTitle); if (epgid != 0) { CShortEPGData epgdata; if (g_Sectionsd->getEPGidShort(epgid, &epgdata)) { #warning fixme sectionsd should deliver data in UTF-8 format - tmpstring = Latin1_to_UTF8(epgdata.title); + title = Latin1_to_UTF8(epgdata.title); info1 = Latin1_to_UTF8(epgdata.info1); info2 = Latin1_to_UTF8(epgdata.info2); } } - extMessage += ZapitTools::UTF8_to_UTF8XML(tmpstring.c_str()); + extMessage += ZapitTools::UTF8_to_UTF8XML(title.c_str()); extMessage += "</epgtitle>\n\t\t<id>"; @@ -676,6 +683,12 @@ std::string CVCRControl::CFileAndServerDevice::getCommandString(const CVCRComman if (!tmpstring.empty()) tmpstring += "\t\t</subpids>\n"; extMessage += tmpstring; + if (eventRepeat != CTimerd::TIMERREPEAT_ONCE) + { + extMessage += "\t\t<seriename>"; + extMessage += ZapitTools::UTF8_to_UTF8XML(title.c_str()); + extMessage += "</seriename>\n"; + } extMessage += "\t</record>\n" "</neutrino>\n"; @@ -709,7 +722,9 @@ bool CVCRControl::CFileDevice::Stop() return return_value; } -bool CVCRControl::CFileDevice::Record(const t_channel_id channel_id, int mode, const event_id_t epgid, const std::string &epgTitle, unsigned char apids,const time_t epg_time) +bool CVCRControl::CFileDevice::Record(const t_channel_id channel_id, int mode, const event_id_t epgid, + const std::string &epgTitle, unsigned char apids, const time_t epg_time, + const CTimerd::CTimerEventRepeat eventRepeat) { printf("Record channel_id: " PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS @@ -877,7 +892,7 @@ bool CVCRControl::CFileDevice::Record(const t_channel_id channel_id, int mode, c } else { error_msg = ::start_recording(filename, - getMovieInfoString(channel_id, epgid, epg_time, epgTitle, apids, save_vtxt_pid, save_sub_pids).c_str(), + getMovieInfoString(channel_id, epgid, epg_time, epgTitle, apids, eventRepeat, save_vtxt_pid, save_sub_pids).c_str(), mode, Use_O_Sync, Use_Fdatasync, @@ -1067,7 +1082,8 @@ bool CVCRControl::CServerDevice::Stop() //------------------------------------------------------------------------- bool CVCRControl::CServerDevice::Record(const t_channel_id channel_id, int mode, const event_id_t epgid, - const std::string &epgTitle, unsigned char apids, const time_t /*epg_time*/) + const std::string &epgTitle, unsigned char apids, const time_t /*epg_time*/, + const CTimerd::CTimerEventRepeat eventRepeat) { printf("Record channel_id: " PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS @@ -1101,7 +1117,7 @@ bool CVCRControl::CServerDevice::Record(const t_channel_id channel_id, int mode, } #endif - if(!sendCommand(CMD_VCR_RECORD, channel_id, epgid, epgTitle, apids)) + if(!sendCommand(CMD_VCR_RECORD, channel_id, epgid, epgTitle, apids, eventRepeat)) { RestoreNeutrino(); @@ -1121,7 +1137,9 @@ void CVCRControl::CServerDevice::serverDisconnect() } //------------------------------------------------------------------------- -bool CVCRControl::CServerDevice::sendCommand(CVCRCommand command, const t_channel_id channel_id, const event_id_t epgid, const std::string& epgTitle, unsigned char apids) +bool CVCRControl::CServerDevice::sendCommand(CVCRCommand command, const t_channel_id channel_id, + const event_id_t epgid, const std::string& epgTitle, unsigned char apids, + const CTimerd::CTimerEventRepeat eventRepeat) { printf("Send command: %d channel_id: " PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS @@ -1132,7 +1150,7 @@ bool CVCRControl::CServerDevice::sendCommand(CVCRCommand command, const t_channe epgid); if(serverConnect()) { - std::string extMessage = getCommandString(command, channel_id, epgid, epgTitle, apids); + std::string extMessage = getCommandString(command, channel_id, epgid, epgTitle, apids, eventRepeat); printf("sending to vcr-client:\n\n%s\n", extMessage.c_str()); write(sock_fd, extMessage.c_str() , extMessage.length() ); diff --git a/tuxbox/neutrino/src/driver/vcrcontrol.h b/tuxbox/neutrino/src/driver/vcrcontrol.h index 3e50c01..6d457a0 100644 --- a/tuxbox/neutrino/src/driver/vcrcontrol.h +++ b/tuxbox/neutrino/src/driver/vcrcontrol.h @@ -70,7 +70,8 @@ class CVCRControl CVCRStates deviceState; virtual bool Stop() = 0; virtual bool Record(const t_channel_id channel_id = 0, int mode = NeutrinoMessages::mode_tv, const event_id_t epgid = 0, - const std::string& epgTitle = "", unsigned char apids = 0, const time_t epg_time = 0) = 0; + const std::string& epgTitle = "", unsigned char apids = 0, const time_t epg_time = 0, + const CTimerd::CTimerEventRepeat eventRepeat = CTimerd::TIMERREPEAT_ONCE) = 0; virtual bool Pause() = 0; virtual bool Resume() = 0; virtual bool IsAvailable() = 0; @@ -96,7 +97,8 @@ class CVCRControl }; virtual bool Stop(); virtual bool Record(const t_channel_id channel_id = 0, int mode = NeutrinoMessages::mode_tv, const event_id_t epgid = 0, - const std::string& epgTitle = "", unsigned char apids = 0, const time_t epg_time = 0); + const std::string& epgTitle = "", unsigned char apids = 0, const time_t epg_time = 0, + const CTimerd::CTimerEventRepeat eventRepeat = CTimerd::TIMERREPEAT_ONCE); virtual bool Pause(); virtual bool Resume(); virtual bool IsAvailable() { return true; }; @@ -109,8 +111,11 @@ class CVCRControl protected: void RestoreNeutrino(void); void CutBackNeutrino(const t_channel_id channel_id, const int mode); - std::string getCommandString(const CVCRCommand command, const t_channel_id channel_id, const event_id_t epgid, const std::string& epgTitle, unsigned char apids); - std::string getMovieInfoString(const t_channel_id channel_id, const event_id_t epgid, const time_t epg_time, const std::string& epgTitle, unsigned char apids, const bool save_vtxt_pid, const bool save_sub_pids); + std::string getCommandString(const CVCRCommand command, const t_channel_id channel_id, const event_id_t epgid, + const std::string& epgTitle, unsigned char apids, const CTimerd::CTimerEventRepeat eventRepeat); + std::string getMovieInfoString(const t_channel_id channel_id, const event_id_t epgid, const time_t epg_time, + const std::string& epgTitle, unsigned char apids, const CTimerd::CTimerEventRepeat eventRepeat, + const bool save_vtxt_pid, const bool save_sub_pids); public: bool StopPlayBack; @@ -153,7 +158,8 @@ class CVCRControl virtual bool Stop(); virtual bool Record(const t_channel_id channel_id = 0, int mode = NeutrinoMessages::mode_tv, const event_id_t epgid = 0, - const std::string& epgTitle = "", unsigned char apids = 0, const time_t epg_time = 0); + const std::string& epgTitle = "", unsigned char apids = 0, const time_t epg_time = 0, + const CTimerd::CTimerEventRepeat eventRepeat = CTimerd::TIMERREPEAT_ONCE); CFileDevice(const bool stopplayback, const int stopsectionsd, const char * const directory, const unsigned int splitsize, const bool use_o_sync, const bool use_fdatasync, const bool stream_vtxt_pid, const bool stream_subtitle_pid, const unsigned int ringbuffers, const bool gen_psi, bool createTemplateDirectories) @@ -182,7 +188,9 @@ class CVCRControl bool serverConnect(); void serverDisconnect(); - bool sendCommand(CVCRCommand command, const t_channel_id channel_id = 0, const event_id_t epgid = 0, const std::string& epgTitle="", unsigned char apids = 0); + bool sendCommand(CVCRCommand command, const t_channel_id channel_id = 0, const event_id_t epgid = 0, + const std::string& epgTitle = "", unsigned char apids = 0, + const CTimerd::CTimerEventRepeat eventRepeat = CTimerd::TIMERREPEAT_ONCE); public: std::string ServerAddress; @@ -195,7 +203,8 @@ class CVCRControl virtual bool Stop(); virtual bool Record(const t_channel_id channel_id = 0, int mode = NeutrinoMessages::mode_tv, const event_id_t epgid = 0, - const std::string& epgTitle = "", unsigned char apids = 0, const time_t epg_time = 0); + const std::string& epgTitle = "", unsigned char apids = 0, const time_t epg_time = 0, + const CTimerd::CTimerEventRepeat eventRepeat = CTimerd::TIMERREPEAT_ONCE); CServerDevice(const bool stopplayback, const int stopsectionsd, const char * const serveraddress, const unsigned int serverport) { diff --git a/tuxbox/neutrino/src/neutrino.cpp b/tuxbox/neutrino/src/neutrino.cpp index bb55e0d..73f73e2 100644 --- a/tuxbox/neutrino/src/neutrino.cpp +++ b/tuxbox/neutrino/src/neutrino.cpp @@ -1734,6 +1734,7 @@ bool CNeutrinoApp::doGuiRecord(char * preselectedDir, bool addTimer, char * file perror(NEUTRINO_RECORDING_START_SCRIPT " failed"); eventinfo.channel_id = g_Zapit->getCurrentServiceID(); + eventinfo.eventRepeat = CTimerd::TIMERREPEAT_ONCE; CEPGData epgData; if (filename == NULL && g_Sectionsd->getActualEPGServiceKey(g_RemoteControl->current_channel_id, &epgData)) { commit 427c91b398ffd7fe5ed268ab3f63c09946622a0f Author: Christian Schuett <Gau...@ho...> Date: Mon Mar 9 20:41:06 2015 +0100 timerd: remove unnecessary workarounds when saving events to file Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/daemons/timerd/timermanager.cpp b/tuxbox/neutrino/daemons/timerd/timermanager.cpp index f309b06..24a19e6 100644 --- a/tuxbox/neutrino/daemons/timerd/timermanager.cpp +++ b/tuxbox/neutrino/daemons/timerd/timermanager.cpp @@ -457,9 +457,8 @@ void CTimerManager::loadEventsFromConfig() } else { - std::vector<int> savedIDs; - savedIDs = config.getInt32Vector ("IDS"); - dprintf("%d timer(s) in config\n",savedIDs.size()); + std::vector<int> savedIDs = config.getInt32Vector("IDS"); + dprintf("%d timer(s) in config\n", savedIDs.size()); for(unsigned int i=0; i < savedIDs.size(); i++) { std::stringstream ostr; @@ -1018,18 +1017,11 @@ void CTimerEvent::printEvent(void) void CTimerEvent::saveToConfig(CConfigFile *config) { dprintf("CTimerEvent::saveToConfig\n"); - std::vector<int> allIDs; - if (!(config->getString("IDS").empty())) - { - // sonst bekommen wir den bloeden 0er - allIDs=config->getInt32Vector("IDS"); - } + std::vector<int> allIDs = config->getInt32Vector("IDS"); allIDs.push_back(eventID); - dprintf("adding %d to IDS\n",eventID); - //SetInt-Vector haengt komischerweise nur an, deswegen erst loeschen - config->setString("IDS",""); - config->setInt32Vector ("IDS",allIDs); + dprintf("adding %d to IDS\n", eventID); + config->setInt32Vector("IDS", allIDs); std::stringstream ostr; ostr << eventID; commit 861d9114680c820761a3fe8986ce9e3d495e6615 Author: Christian Schuett <Gau...@ho...> Date: Mon Mar 9 19:28:51 2015 +0100 Neutrino bookmark manager: avoid saving deleted entries to bookmark file Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/src/gui/bookmarkmanager.cpp b/tuxbox/neutrino/src/gui/bookmarkmanager.cpp index 18006c7..c4ff827 100644 --- a/tuxbox/neutrino/src/gui/bookmarkmanager.cpp +++ b/tuxbox/neutrino/src/gui/bookmarkmanager.cpp @@ -156,8 +156,6 @@ void CBookmarkManager::readBookmarkFile() { bookmarkstring[BOOKMARKSTRINGMODIFICATIONPOINT]++; } } - else - bookmarkfile.clear(); } //------------------------------------------------------------------------ @@ -167,6 +165,7 @@ void CBookmarkManager::writeBookmarkFile() { printf("CBookmarkManager: Writing bookmark file\n"); + bookmarkfile.clear(); for (std::vector<CBookmark>::const_iterator it = bookmarks.begin(); it != bookmarks.end(); ++it) { std::string tmp = bookmarkstring; commit ce57f83f261f436548ed20ab09e4d2a51534cc80 Author: Christian Schuett <Gau...@ho...> Date: Sat Mar 7 22:48:22 2015 +0100 Neutrino bookmark manager: don't write bookmark file multiple times ... ... when leaving movieplayer Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/src/gui/bookmarkmanager.cpp b/tuxbox/neutrino/src/gui/bookmarkmanager.cpp index bab3f20..18006c7 100644 --- a/tuxbox/neutrino/src/gui/bookmarkmanager.cpp +++ b/tuxbox/neutrino/src/gui/bookmarkmanager.cpp @@ -183,6 +183,8 @@ void CBookmarkManager::writeBookmarkFile() { } bookmarkfile.setInt32("bookmarkcount", bookmarks.size()); bookmarkfile.saveConfig(BOOKMARKFILE); + + bookmarksmodified = false; } //------------------------------------------------------------------------ commit 5d2da2ed08720ab71537644086d9cd3827f592a3 Author: Christian Schuett <Gau...@ho...> Date: Sat Mar 7 21:31:07 2015 +0100 Neutrino bookmark manager: only add bookmark if OK pressed Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/src/gui/bookmarkmanager.cpp b/tuxbox/neutrino/src/gui/bookmarkmanager.cpp index 002a001..bab3f20 100644 --- a/tuxbox/neutrino/src/gui/bookmarkmanager.cpp +++ b/tuxbox/neutrino/src/gui/bookmarkmanager.cpp @@ -82,11 +82,15 @@ inline int CBookmarkManager::createBookmark (const std::string & name, const std } int CBookmarkManager::createBookmark (const std::string & url, const std::string & time) { - char bookmarkname[26]=""; - CStringInputSMS bookmarkname_input(LOCALE_MOVIEPLAYER_BOOKMARKNAME, bookmarkname, 25, LOCALE_MOVIEPLAYER_BOOKMARKNAME_HINT1, LOCALE_MOVIEPLAYER_BOOKMARKNAME_HINT2, "abcdefghijklmnopqrstuvwxyz\xE4\xF6\xFC\xDF""0123456789-_"); - bookmarkname_input.exec(NULL, ""); - // TODO: return -1 if no name was entered - return createBookmark(ZapitTools::Latin1_to_UTF8(bookmarkname), url, time); + char bookmarkname[26]=""; + CStringInputSMS bookmarkname_input(LOCALE_MOVIEPLAYER_BOOKMARKNAME, bookmarkname, 25, LOCALE_MOVIEPLAYER_BOOKMARKNAME_HINT1, LOCALE_MOVIEPLAYER_BOOKMARKNAME_HINT2, "abcdefghijklmnopqrstuvwxyz\xE4\xF6\xFC\xDF""0123456789-_", this); + bookmarkname_input.exec(NULL, ""); + if (bookmarkname_entered) + { + bookmarkname_entered = false; + return createBookmark(ZapitTools::Latin1_to_UTF8(bookmarkname), url, time); + } + return -1; } //------------------------------------------------------------------------ @@ -185,6 +189,7 @@ void CBookmarkManager::writeBookmarkFile() { CBookmarkManager::CBookmarkManager() : bookmarkfile ('\t') { + bookmarkname_entered = false; bookmarksmodified = false; readBookmarkFile(); } @@ -197,6 +202,14 @@ CBookmarkManager::~CBookmarkManager () { //------------------------------------------------------------------------ +bool CBookmarkManager::changeNotify(const neutrino_locale_t, void *) +{ + bookmarkname_entered = true; + return false; +} + +//------------------------------------------------------------------------ + int CBookmarkManager::getBookmarkCount(void) const { return bookmarks.size(); } diff --git a/tuxbox/neutrino/src/gui/bookmarkmanager.h b/tuxbox/neutrino/src/gui/bookmarkmanager.h index fcff725..df14691 100644 --- a/tuxbox/neutrino/src/gui/bookmarkmanager.h +++ b/tuxbox/neutrino/src/gui/bookmarkmanager.h @@ -63,7 +63,7 @@ class CBookmark //----------------------------------------- -class CBookmarkManager +class CBookmarkManager : public CChangeObserver { private: std::vector<CBookmark> bookmarks; @@ -85,6 +85,7 @@ class CBookmarkManager //int bookmarkCount; + bool bookmarkname_entered; bool bookmarksmodified; void readBookmarkFile(); void writeBookmarkFile(); @@ -103,6 +104,7 @@ class CBookmarkManager public: CBookmarkManager(); ~CBookmarkManager(); + bool changeNotify(const neutrino_locale_t, void *); int createBookmark(const std::string & name, const std::string & url, const std::string & time); int createBookmark(const std::string & url, const std::string & time); void removeBookmark(unsigned int index); commit 22578157d28e5755ccad8d9cbcd911beec9b93ff Author: Christian Schuett <Gau...@ho...> Date: Sat Mar 7 17:56:20 2015 +0100 Neutrino: reload plugins after changing language to respect localization Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/src/gui/osdlang_setup.cpp b/tuxbox/neutrino/src/gui/osdlang_setup.cpp index bc30daf..1fdf049 100644 --- a/tuxbox/neutrino/src/gui/osdlang_setup.cpp +++ b/tuxbox/neutrino/src/gui/osdlang_setup.cpp @@ -74,6 +74,8 @@ int COsdLangSetup::exec(CMenuTarget* parent, const std::string & actionKey) const char * locale = actionKey.c_str(); strcpy(g_settings.language, locale); + g_PluginList->loadPlugins(); + int unicode_locale = g_Locale->loadLocale(locale); if(CNeutrinoApp::getInstance()->ChangeFonts(unicode_locale)) { commit fe124b86672e1943aaefc5908298edfbd9fb7182 Author: svenhoefer <sve...@sv...> Date: Sat Mar 7 17:44:19 2015 +0100 Neutrino 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 Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/src/gui/plugins.cpp b/tuxbox/neutrino/src/gui/plugins.cpp index 2b9f36d..8ba4163 100644 --- a/tuxbox/neutrino/src/gui/plugins.cpp +++ b/tuxbox/neutrino/src/gui/plugins.cpp @@ -195,14 +195,24 @@ bool CPlugins::parseCfg(plugin *plugin_data) { plugin_data->index = atoi(parm.c_str()); } - else if (cmd == "name") + else if (cmd == std::string("name.") + g_settings.language) { plugin_data->name = parm; } - else if (cmd == "desc") + else if (cmd == "name") + { + if (plugin_data->name.empty()) + plugin_data->name = parm; + } + else if (cmd == std::string("desc.") + g_settings.language) { plugin_data->description = parm; } + else if (cmd == "desc") + { + if (plugin_data->description.empty()) + plugin_data->description = parm; + } else if (cmd == "depend") { plugin_data->depend = parm; @@ -250,6 +260,9 @@ bool CPlugins::parseCfg(plugin *plugin_data) } + if (plugin_data->name.empty()) + plugin_data->name = plugin_data->filename; + inFile.close(); return !reject; } commit 8390f8ddf1d47ae2e8c198c9577e3d0ea1bc8ad6 Author: Christian Schuett <Gau...@ho...> Date: Sat Feb 28 19:42:48 2015 +0100 Neutrino user menu: change scope of a variable to avoid a segfault * I have never seen that code crashing but it looks wrong, so let's change the scope of 'dummy' to make sure it can't crash * also (re-)move unused code Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/src/gui/neutrino_menu.cpp b/tuxbox/neutrino/src/gui/neutrino_menu.cpp index 4d2fdef..78aa91a 100644 --- a/tuxbox/neutrino/src/gui/neutrino_menu.cpp +++ b/tuxbox/neutrino/src/gui/neutrino_menu.cpp @@ -298,7 +298,12 @@ void CNeutrinoApp::InitMenuSettings() //yellow (miscSettings) personalize->addItem(MENU_SETTINGS, new CMenuForwarder(LOCALE_MAINSETTINGS_MISC, true, NULL, new CMiscMenue(LOCALE_MAINMENU_SETTINGS), NULL, CRCInput::RC_yellow), &g_settings.personalize_misc); - + +#ifdef _EXPERIMENTAL_SETTINGS_ + //experimental settings + personalize->addItem(MENU_SETTINGS, new CMenuForwarder(LOCALE_EXPERIMENTALSETTINGS, true, NULL, new CExperimentalSettingsMenuHandler()), NULL, false, CPersonalizeGui::PERSONALIZE_SHOW_NO); +#endif + //separator personalize->addSeparator(MENU_SETTINGS); @@ -392,6 +397,7 @@ bool CNeutrinoApp::showUserMenu(int button) int menu_items = 0; int menu_prev = -1; int cnt = 0; + int dummy = 0; // define classes CFavorites* tmpFavorites = NULL; @@ -439,7 +445,6 @@ bool CNeutrinoApp::showUserMenu(int button) // go through any postition number for(int pos = 0; pos < SNeutrinoSettings::ITEM_MAX ; pos++) { - int dummy; // now compare pos with the position of any item. Add this item if position is the same switch(g_settings.usermenu[button][pos]) { @@ -648,31 +653,7 @@ bool CNeutrinoApp::showUserMenu(int button) break; } } - - // Allow some tailoring for privat image bakers ;) - if (button == SNeutrinoSettings::BUTTON_RED) - { - } - else if( button == SNeutrinoSettings::BUTTON_GREEN) - { - } - else if( button == SNeutrinoSettings::BUTTON_YELLOW) - { - } - else if( button == SNeutrinoSettings::BUTTON_BLUE) - { -#ifdef _EXPERIMENTAL_SETTINGS_ - //Experimental Settings - if(menu_prev != -1) - menu->addItem(GenericMenuSeparatorLine); - menu_items ++; - menu_key++; - // FYI: there is a memory leak with 'new CExperimentalSettingsMenuHandler() - menu_item = new CMenuForwarder(LOCALE_EXPERIMENTALSETTINGS, true, NULL, new CExperimentalSettingsMenuHandler(), "-1", CRCInput::convertDigitToKey(menu_key)); - menu->addItem(menu_item, false); -#endif - } - + if(menu_items > 1 ) // show menu if there are more than 2 items only { menu->exec(NULL,""); @@ -682,9 +663,6 @@ bool CNeutrinoApp::showUserMenu(int button) menu_item->exec( NULL ); } // neither nor, we do nothing - // restore mute symbol - //AudioMute(current_muted, true); - // clear the heap delete menu; delete tmpFavorites; commit 3ade27b5fec232363be1a9c3fe132f6e0322e4ba Author: Christian Schuett <Gau...@ho...> Date: Sat Feb 28 18:17:47 2015 +0100 Neutrino movieplayer: simplify updateLcd() there is no need to consider current play state because updateLCD() is not called while paused Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/src/gui/movieplayer.cpp b/tuxbox/neutrino/src/gui/movieplayer.cpp index 21d887f..74b17d0 100644 --- a/tuxbox/neutrino/src/gui/movieplayer.cpp +++ b/tuxbox/neutrino/src/gui/movieplayer.cpp @@ -1344,28 +1344,13 @@ PlayStreamThread (void *mrl) //== updateLcd == //=============== -void updateLcd(const std::string & big, const std::string & small) +void updateLcd(const std::string & big, std::string small) { - static int l_playstate = -1; - std::string lcd_small = small; - CLCD::PLAYMODES playmode; - - if(l_playstate == g_playstate) return; - - switch(g_playstate) - { - case CMoviePlayerGui::PAUSE: - playmode = CLCD::PLAYMODE_PAUSE; - break; - default: - playmode = CLCD::PLAYMODE_PLAY; - break; - } - StrSearchReplace(lcd_small, "_", " "); - if (lcd_small.length() > 80) - lcd_small = lcd_small.substr(0, 80); - CLCD::getInstance()->setMoviePlaymode(playmode); - CLCD::getInstance()->setMovieInfo(big, lcd_small); + StrSearchReplace(small, "_", " "); + if (small.length() > 80) + small = small.substr(0, 80); + CLCD::getInstance()->setMoviePlaymode(CLCD::PLAYMODE_PLAY); + CLCD::getInstance()->setMovieInfo(big, small); } // GMO snip start ... @@ -3918,7 +3903,7 @@ void CMoviePlayerGui::PlayFile (int parental) { /* Moviebrowser movie end bookmark */ p_movie_info->bookmarks.end = pos_sec; - TRACE("[mp] New movie end pos: %d\r\n",p_movie_info->bookmarks.start); + TRACE("[mp] New movie end pos: %d\r\n",p_movie_info->bookmarks.end); cMovieInfo.saveMovieInfo(*p_movie_info);/* save immediately in xml file */ cSelectedMenuBookStart[5].selected = false;// clear for next bookmark menu } diff --git a/tuxbox/neutrino/src/gui/movieplayer2.cpp b/tuxbox/neutrino/src/gui/movieplayer2.cpp index 57e5e1d..c2565c3 100644 --- a/tuxbox/neutrino/src/gui/movieplayer2.cpp +++ b/tuxbox/neutrino/src/gui/movieplayer2.cpp @@ -2477,29 +2477,13 @@ OutputThread(void *arg) //== updateLcd == //=============== -void updateLcd(const std::string &big, const std::string &small) +void updateLcd(const std::string &big, std::string small) { - static int l_playstate = -1; - std::string lcd_small = small; - CLCD::PLAYMODES playmode; - - if (l_playstate == g_playstate) - return; - - switch (g_playstate) - { - case CMoviePlayerGui::PAUSE: - playmode = CLCD::PLAYMODE_PAUSE; - break; - default: - playmode = CLCD::PLAYMODE_PLAY; - break; - } - StrSearchReplace(lcd_small, "_", " "); - if (lcd_small.length() > 80) - lcd_small = lcd_small.substr(0, 80); - CLCD::getInstance()->setMoviePlaymode(playmode); - CLCD::getInstance()->setMovieInfo(big, lcd_small); + StrSearchReplace(small, "_", " "); + if (small.length() > 80) + small = small.substr(0, 80); + CLCD::getInstance()->setMoviePlaymode(CLCD::PLAYMODE_PLAY); + CLCD::getInstance()->setMovieInfo(big, small); } //== seek to pos with sync to next proper TS packet == commit 9b97b0409aa16b0107ba3927172a531f2711c120 Author: Christian Schuett <Gau...@ho...> Date: Sat Feb 28 17:53:28 2015 +0100 Neutrino moviebrowser: disable unused experimental stuff Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/src/gui/moviebrowser.cpp b/tuxbox/neutrino/src/gui/moviebrowser.cpp index 330077f..7f9036d 100644 --- a/tuxbox/neutrino/src/gui/moviebrowser.cpp +++ b/tuxbox/neutrino/src/gui/moviebrowser.cpp @@ -1432,11 +1432,13 @@ void CMovieBrowser::refreshFilterList(void) } sort(m_FilterLines.lineArray[0].begin() + 1, m_FilterLines.lineArray[0].end(), sortByAlpha); } +#ifdef MB_SEARCH_INFO2 else if(m_settings.filter.item == MB_INFO_INFO2) { string_item = "->Eingabe"; m_FilterLines.lineArray[0].push_back(string_item); } +#endif else if(m_settings.filter.item == MB_INFO_MAJOR_GENRE) { for(int i = 0; i < GENRE_ALL_COUNT; i++) @@ -2063,11 +2065,18 @@ bool CMovieBrowser::onButtonPressFilterList(neutrino_msg_t msg) int selected_line = m_pcFilter->getSelectedLine(); if(m_settings.filter.item == MB_INFO_MAX_NUMBER) { - if(selected_line == 0) m_settings.filter.item = MB_INFO_MAJOR_GENRE; - if(selected_line == 1) m_settings.filter.item = MB_INFO_INFO1; - if(selected_line == 4) m_settings.filter.item = MB_INFO_INFO2; - if(selected_line == 2) m_settings.filter.item = MB_INFO_FILEPATH; - if(selected_line == 3) m_settings.filter.item = MB_INFO_SERIE; + if(selected_line == 0) + m_settings.filter.item = MB_INFO_MAJOR_GENRE; + else if(selected_line == 1) + m_settings.filter.item = MB_INFO_INFO1; +#ifdef MB_SEARCH_INFO2 + else if(selected_line == 4) + m_settings.filter.item = MB_INFO_INFO2; +#endif + else if(selected_line == 2) + m_settings.filter.item = MB_INFO_FILEPATH; + else if(selected_line == 3) + m_settings.filter.item = MB_INFO_SERIE; refreshFilterList(); m_pcFilter->setSelectedLine(0); } @@ -2794,6 +2803,7 @@ void CMovieBrowser::updateFilterSelection(void) { m_settings.filter.optionString = m_FilterLines.lineArray[0][selected_line+1]; } +#ifdef MB_SEARCH_INFO2 else if(m_settings.filter.item == MB_INFO_INFO2) { std::string text; @@ -2803,6 +2813,7 @@ void CMovieBrowser::updateFilterSelection(void) refreshFilterList(); refreshTitle(); } +#endif else if(m_settings.filter.item == MB_INFO_MAJOR_GENRE) { m_settings.filter.optionString = m_FilterLines.lineArray[0][selected_line+1]; @@ -3355,10 +3366,12 @@ bool CMovieBrowser::isFiltered(MI_MOVIE_INFO& movie_info) if(strcmp(m_settings.filter.optionString.c_str(),movie_info.epgInfo1.c_str()) == 0) result = false; break; +#ifdef MB_SEARCH_INFO2 case MB_INFO_INFO2: if(movie_info.epgInfo2.find(m_settings.filter.optionString) != std::string::npos ) result = false; break; +#endif case MB_INFO_MAJOR_GENRE: if(m_settings.filter.optionVar == movie_info.genreMajor) result = false; commit f14523f36cc3a6e8a6e8763077052eaf15071726 Author: Christian Schuett <Gau...@ho...> Date: Sat Feb 28 17:35:02 2015 +0100 Neutrino moviebrowser: remove incomplete and unused movemanager stuff Signed-off-by: Christian Schuett <Gau...@ho...> Signed-off-by: GetAway <get...@t-...> diff --git a/tuxbox/neutrino/src/gui/moviebrowser.cpp b/tuxbox/neutrino/src/gui/moviebrowser.cpp index 1eb1cf1..330077f 100644 --- a/tuxbox/neutrino/src/gui/moviebrowser.cpp +++ b/tuxbox/neutrino/src/gui/moviebrowser.cpp @@ -50,10 +50,6 @@ // experimental stuff 8) //#define MB_SEARCH_INFO2 -//#define MOVEMANAGER 1 -#ifdef MOVEMANAGER -#include <gui/movemanager.h> -#endif // MOVEMANAGER #include <algorithm> @@ -1912,46 +1908,6 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg) if(m_playstate == CMoviePlayerGui::STOPPED && m_movieSelectionHandler != NULL) showMenu(m_movieSelectionHandler); } -#ifdef MOVEMANAGER - else if (msg == CRCInput::RC_1) - { - std::string source; - static std::string dest = "/hdd/Filme"; - source = m_movieSelectionHandler->file.Name; - CDirChooser dir(&dest,"/mnt/","/hdd"); - dir.exec(NULL,""); - if(!dest.empty()) - { - dest += "/"; - dest += m_movieSelectionHandler->file.getFileName(); - CMoveManager::getInstance()->newMove(dest,source,MOVE_TYPE_COPY); - - if(m_movieInfo.convertTs2XmlName(&source) == true) - if(m_movieInfo.convertTs2XmlName(&dest) == true) - CMoveManager::getInstance()->newMove(dest,source,MOVE_TYPE_COPY); - } - refresh(); - } - else if (msg == CRCInput::RC_0) - { - std::string source; - std::string dest = "/hdd/Filme"; - source = m_movieSelectionHandler->file.Name; - CDirChooser dir(&dest,"/mnt/","/hdd"); - dir.exec(NULL,""); - if(!dest.empty()) - { - dest += "/"; - dest += m_movieSelectionHandler->file.getFileName(); - CMoveManager::getInstance()->newMove(dest,source,MOVE_STATE_MOVE); - - if(m_movieInfo.convertTs2XmlName(&source) == true) - if(m_movieInfo.convertTs2XmlName(&dest) == true) - CMoveManager::getInstance()->newMove(dest,source,MOVE_STATE_MOVE); - } - refresh(); - } -#endif //MOVEMANAGER else { //TRACE("[mb]->onButtonPressMainFrame none\r\n"); @@ -3247,10 +3203,6 @@ bool CMovieBrowser::showMenu(MI_MOVIE_INFO* /*movie_info*/) #ifdef ENABLE_GUI_MOUNT //mainMenu.addItem( new CMenuForwarder(LOCALE_MOVIEBROWSER_MENU_NFS_HEAD, true, NULL, nfs, NULL, CRCInput::RC_setup)); #endif -#ifdef MOVEMANAGER - mainMenu.addItem(GenericMenuSeparatorLine); - mainMenu.addItem( new CMenuForwarder("Kopierwerk", true, NULL, CMoveManager::getInstance())); -#endif // MOVEMANAGER mainMenu.addItem(GenericMenuSeparatorLine); mainMenu.addItem( new CMenuForwarder(LOCALE_MOVIEBROWSER_MENU_HELP_HEAD, true, NULL, movieHelp, NULL, CRCInput::RC_help)); mainMenu.exec(NULL, " "); ----------------------------------------------------------------------- Summary of changes: tuxbox/neutrino/daemons/timerd/timermanager.cpp | 20 ++---- tuxbox/neutrino/lib/timerdclient/timerdtypes.h | 2 +- tuxbox/neutrino/src/driver/vcrcontrol.cpp | 44 ++++++++++---- tuxbox/neutrino/src/driver/vcrcontrol.h | 23 +++++-- tuxbox/neutrino/src/gui/bookmarkmanager.cpp | 28 +++++++-- tuxbox/neutrino/src/gui/bookmarkmanager.h | 4 +- tuxbox/neutrino/src/gui/moviebrowser.cpp | 71 ++++++----------------- tuxbox/neutrino/src/gui/movieinfo.cpp | 5 +- tuxbox/neutrino/src/gui/movieplayer.cpp | 29 ++------- tuxbox/neutrino/src/gui/movieplayer2.cpp | 28 ++------- tuxbox/neutrino/src/gui/neutrino_menu.cpp | 38 +++---------- tuxbox/neutrino/src/gui/osdlang_setup.cpp | 2 + tuxbox/neutrino/src/gui/plugins.cpp | 17 +++++- tuxbox/neutrino/src/neutrino.cpp | 1 + 14 files changed, 139 insertions(+), 173 deletions(-) -- Tuxbox-GIT: apps |
From: GetAway <tux...@ne...> - 2015-03-14 13:13:43
|
Project "Tuxbox-GIT: hostapps": The branch, master has been updated via ed90b09ee12f201b666c883cb01b55953e39ae51 (commit) from ad6ca43eadc6188a0532da68f2f80167b18ab7ac (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit ed90b09ee12f201b666c883cb01b55953e39ae51 Author: GetAway <get...@t-...> Date: Thu Feb 12 20:30:01 2015 +0100 mkflfs: miniLZO update to version 2.09 (released 4 feb 2015) This has an effect on the creation of FLFS (u-boot) partition Tested with gcc-4.1.2 Kernel 2.4 Flash-Image Signed-off-by: GetAway <get...@t-...> diff --git a/mkflfs/README.LZO b/mkflfs/README.LZO new file mode 100644 index 0000000..b82d13b --- /dev/null +++ b/mkflfs/README.LZO @@ -0,0 +1,123 @@ + + ============================================================================ + miniLZO -- mini subset of the LZO real-time data compression library + ============================================================================ + + Author : Markus Franz Xaver Johannes Oberhumer + <ma...@ob...> + http://www.oberhumer.com/opensource/lzo/ + Version : 2.09 + Date : 04 Feb 2015 + + I've created miniLZO for projects where it is inconvenient to + include (or require) the full LZO source code just because you + want to add a little bit of data compression to your application. + + miniLZO implements the LZO1X-1 compressor and both the standard and + safe LZO1X decompressor. Apart from fast compression it also useful + for situations where you want to use pre-compressed data files (which + must have been compressed with LZO1X-999). + + miniLZO consists of one C source file and three header files: + minilzo.c + minilzo.h, lzoconf.h, lzodefs.h + + To use miniLZO just copy these files into your source directory, add + minilzo.c to your Makefile and #include minilzo.h from your program. + Note: you also must distribute this file ('README.LZO') with your project. + + minilzo.o compiles to about 6 KiB (using gcc or Visual C on an i386), and + the sources are about 30 KiB when packed with zip - so there's no more + excuse that your application doesn't support data compression :-) + + For more information, documentation, example programs and other support + files (like Makefiles and build scripts) please download the full LZO + package from + http://www.oberhumer.com/opensource/lzo/ + + Have fun, + Markus + + + P.S. minilzo.c is generated automatically from the LZO sources and + therefore functionality is completely identical + + + Appendix A: building miniLZO + ---------------------------- + miniLZO is written such a way that it should compile and run + out-of-the-box on most machines. + + If you are running on a very unusual architecture and lzo_init() fails then + you should first recompile with '-DLZO_DEBUG' to see what causes the failure. + The most probable case is something like 'sizeof(void *) != sizeof(size_t)'. + After identifying the problem you can compile by adding some defines + like '-DSIZEOF_VOID_P=8' to your Makefile. + + The best solution is (of course) using Autoconf - if your project uses + Autoconf anyway just add '-DMINILZO_HAVE_CONFIG_H' to your compiler + flags when compiling minilzo.c. See the LZO distribution for an example + how to set up configure.ac. + + + Appendix B: list of public functions available in miniLZO + --------------------------------------------------------- + Library initialization + lzo_init() + + Compression + lzo1x_1_compress() + + Decompression + lzo1x_decompress() + lzo1x_decompress_safe() + + Checksum functions + lzo_adler32() + + Version functions + lzo_version() + lzo_version_string() + lzo_version_date() + + Portable (but slow) string functions + lzo_memcmp() + lzo_memcpy() + lzo_memmove() + lzo_memset() + + + Appendix C: suggested macros for 'configure.ac' when using Autoconf + ------------------------------------------------------------------- + Checks for typedefs and structures + AC_CHECK_TYPE(ptrdiff_t,long) + AC_TYPE_SIZE_T + AC_CHECK_SIZEOF(short) + AC_CHECK_SIZEOF(int) + AC_CHECK_SIZEOF(long) + AC_CHECK_SIZEOF(long long) + AC_CHECK_SIZEOF(__int64) + AC_CHECK_SIZEOF(void *) + AC_CHECK_SIZEOF(size_t) + AC_CHECK_SIZEOF(ptrdiff_t) + + Checks for compiler characteristics + AC_C_CONST + + Checks for library functions + AC_CHECK_FUNCS(memcmp memcpy memmove memset) + + + Appendix D: Copyright + --------------------- + LZO and miniLZO are Copyright (C) 1996-2015 Markus Franz Xaver Oberhumer + All Rights Reserved. + + LZO and miniLZO are distributed under the terms of the GNU General + Public License (GPL). See the file COPYING. + + Special licenses for commercial and other applications which + are not willing to accept the GNU General Public License + are available by contacting the author. + + diff --git a/mkflfs/lzoconf.h b/mkflfs/lzoconf.h index 6120f62..64ef279 100644 --- a/mkflfs/lzoconf.h +++ b/mkflfs/lzoconf.h @@ -1,12 +1,9 @@ -/* lzoconf.h -- configuration for the LZO real-time data compression library +/* lzoconf.h -- configuration of the LZO data compression library This file is part of the LZO real-time data compression library. - Copyright (C) 2000 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1999 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1998 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1997 Markus Franz Xaver Johannes Oberhumer - Copyright (C) 1996 Markus Franz Xaver Johannes Oberhumer + Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer + All Rights Reserved. The LZO library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -21,30 +18,27 @@ You should have received a copy of the GNU General Public License along with the LZO library; see the file COPYING. If not, write to the Free Software Foundation, Inc., - 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Markus F.X.J. Oberhumer - <mar...@jk...> - http://wildsau.idv.uni-linz.ac.at/mfx/lzo.html + <ma...@ob...> + http://www.oberhumer.com/opensource/lzo/ */ -#ifndef __LZOCONF_H -#define __LZOCONF_H +#ifndef __LZOCONF_H_INCLUDED +#define __LZOCONF_H_INCLUDED 1 -#define LZO_VERSION 0x1070 -#define LZO_VERSION_STRING "1.07" -#define LZO_VERSION_DATE "Oct 18 2000" +#define LZO_VERSION 0x2090 +#define LZO_VERSION_STRING "2.09" +#define LZO_VERSION_DATE "Feb 04 2015" /* internal Autoconf configuration file - only used when building LZO */ #if defined(LZO_HAVE_CONFIG_H) # include <config.h> #endif #include <limits.h> - -#ifdef __cplusplus -extern "C" { -#endif +#include <stddef.h> /*********************************************************************** @@ -54,78 +48,38 @@ extern "C" { #if !defined(CHAR_BIT) || (CHAR_BIT != 8) # error "invalid CHAR_BIT" #endif -#if !defined(UCHAR_MAX) || !defined(UINT_MAX) || !defined(ULONG_MAX) +#if !defined(UCHAR_MAX) || !defined(USHRT_MAX) || !defined(UINT_MAX) || !defined(ULONG_MAX) # error "check your compiler installation" #endif #if (USHRT_MAX < 1) || (UINT_MAX < 1) || (ULONG_MAX < 1) # error "your limits.h macros are broken" #endif -/* workaround a cpp bug under hpux 10.20 */ -#define LZO_0xffffffffL 4294967295ul - - -/*********************************************************************** -// architecture defines -************************************************************************/ - -#if !defined(__LZO_WIN) && !defined(__LZO_DOS) && !defined(__LZO_OS2) -# if defined(__WINDOWS__) || defined(_WINDOWS) || defined(_Windows) -# define __LZO_WIN -# elif defined(__WIN32__) || defined(_WIN32) || defined(WIN32) -# define __LZO_WIN -# elif defined(__NT__) || defined(__NT_DLL__) || defined(__WINDOWS_386__) -# define __LZO_WIN -# elif defined(__DOS__) || defined(__MSDOS__) || defined(MSDOS) -# define __LZO_DOS -# elif defined(__OS2__) || defined(__OS2V2__) || defined(OS2) -# define __LZO_OS2 -# elif defined(__palmos__) -# define __LZO_PALMOS -# elif defined(__TOS__) || defined(__atarist__) -# define __LZO_TOS -# endif +/* get OS and architecture defines */ +#ifndef __LZODEFS_H_INCLUDED +#include <lzo/lzodefs.h> #endif -#if (UINT_MAX < LZO_0xffffffffL) -# if defined(__LZO_WIN) -# define __LZO_WIN16 -# elif defined(__LZO_DOS) -# define __LZO_DOS16 -# elif defined(__LZO_PALMOS) -# define __LZO_PALMOS16 -# elif defined(__LZO_TOS) -# define __LZO_TOS16 -# elif defined(__C166__) -# else -# error "16-bit target not supported - contact me for porting hints" -# endif -#endif -#if !defined(__LZO_i386) -# if defined(__LZO_DOS) || defined(__LZO_WIN16) -# define __LZO_i386 -# elif defined(__i386__) || defined(__386__) || defined(_M_IX86) -# define __LZO_i386 -# endif +#ifdef __cplusplus +extern "C" { #endif -#if defined(__LZO_STRICT_16BIT) -# if (UINT_MAX < LZO_0xffffffffL) -# include <lzo16bit.h> -# endif -#endif + +/*********************************************************************** +// some core defines +************************************************************************/ /* memory checkers */ #if !defined(__LZO_CHECKER) # if defined(__BOUNDS_CHECKING_ON) -# define __LZO_CHECKER +# define __LZO_CHECKER 1 # elif defined(__CHECKER__) -# define __LZO_CHECKER +# define __LZO_CHECKER 1 # elif defined(__INSURE__) -# define __LZO_CHECKER +# define __LZO_CHECKER 1 # elif defined(__PURIFY__) -# define __LZO_CHECKER +# define __LZO_CHECKER 1 # endif #endif @@ -134,36 +88,35 @@ extern "C" { // integral and pointer types ************************************************************************/ -/* Integral types with 32 bits or more */ -#if !defined(LZO_UINT32_MAX) -# if (UINT_MAX >= LZO_0xffffffffL) - typedef unsigned int lzo_uint32; - typedef int lzo_int32; -# define LZO_UINT32_MAX UINT_MAX -# define LZO_INT32_MAX INT_MAX -# define LZO_INT32_MIN INT_MIN -# elif (ULONG_MAX >= LZO_0xffffffffL) - typedef unsigned long lzo_uint32; - typedef long lzo_int32; -# define LZO_UINT32_MAX ULONG_MAX -# define LZO_INT32_MAX LONG_MAX -# define LZO_INT32_MIN LONG_MIN -# else -# error "lzo_uint32" -# endif -#endif - -/* lzo_uint is used like size_t */ +/* lzo_uint must match size_t */ #if !defined(LZO_UINT_MAX) -# if (UINT_MAX >= LZO_0xffffffffL) +# if (LZO_ABI_LLP64) +# if (LZO_OS_WIN64) + typedef unsigned __int64 lzo_uint; + typedef __int64 lzo_int; +# define LZO_TYPEOF_LZO_INT LZO_TYPEOF___INT64 +# else + typedef lzo_ullong_t lzo_uint; + typedef lzo_llong_t lzo_int; +# define LZO_TYPEOF_LZO_INT LZO_TYPEOF_LONG_LONG +# endif +# define LZO_SIZEOF_LZO_INT 8 +# define LZO_UINT_MAX 0xffffffffffffffffull +# define LZO_INT_MAX 9223372036854775807LL +# define LZO_INT_MIN (-1LL - LZO_INT_MAX) +# elif (LZO_ABI_IP32L64) /* MIPS R5900 */ typedef unsigned int lzo_uint; typedef int lzo_int; +# define LZO_SIZEOF_LZO_INT LZO_SIZEOF_INT +# define LZO_TYPEOF_LZO_INT LZO_TYPEOF_INT # define LZO_UINT_MAX UINT_MAX # define LZO_INT_MAX INT_MAX # define LZO_INT_MIN INT_MIN # elif (ULONG_MAX >= LZO_0xffffffffL) typedef unsigned long lzo_uint; typedef long lzo_int; +# define LZO_SIZEOF_LZO_INT LZO_SIZEOF_LONG +# define LZO_TYPEOF_LZO_INT LZO_TYPEOF_LONG # define LZO_UINT_MAX ULONG_MAX # define LZO_INT_MAX LONG_MAX # define LZO_INT_MIN LONG_MIN @@ -172,47 +125,84 @@ extern "C" { # endif #endif +/* The larger type of lzo_uint and lzo_uint32_t. */ +#if (LZO_SIZEOF_LZO_INT >= 4) +# define lzo_xint lzo_uint +#else +# define lzo_xint lzo_uint32_t +#endif -/* Memory model that allows to access memory at offsets of lzo_uint. */ -#if !defined(__LZO_MMODEL) -# if (LZO_UINT_MAX <= UINT_MAX) -# define __LZO_MMODEL -# elif defined(__LZO_DOS16) || defined(__LZO_WIN16) -# define __LZO_MMODEL __huge -# define LZO_999_UNSUPPORTED -# elif defined(__LZO_PALMOS16) || defined(__LZO_TOS16) -# define __LZO_MMODEL -# else -# error "__LZO_MMODEL" -# endif +typedef int lzo_bool; + +/* sanity checks */ +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(lzo_int) == LZO_SIZEOF_LZO_INT) +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(lzo_uint) == LZO_SIZEOF_LZO_INT) +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(lzo_xint) >= sizeof(lzo_uint)) +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(lzo_xint) >= sizeof(lzo_uint32_t)) + +#ifndef __LZO_MMODEL +#define __LZO_MMODEL /*empty*/ #endif /* no typedef here because of const-pointer issues */ -#define lzo_byte unsigned char __LZO_MMODEL #define lzo_bytep unsigned char __LZO_MMODEL * #define lzo_charp char __LZO_MMODEL * #define lzo_voidp void __LZO_MMODEL * #define lzo_shortp short __LZO_MMODEL * #define lzo_ushortp unsigned short __LZO_MMODEL * -#define lzo_uint32p lzo_uint32 __LZO_MMODEL * -#define lzo_int32p lzo_int32 __LZO_MMODEL * -#define lzo_uintp lzo_uint __LZO_MMODEL * #define lzo_intp lzo_int __LZO_MMODEL * +#define lzo_uintp lzo_uint __LZO_MMODEL * +#define lzo_xintp lzo_xint __LZO_MMODEL * #define lzo_voidpp lzo_voidp __LZO_MMODEL * #define lzo_bytepp lzo_bytep __LZO_MMODEL * -typedef int lzo_bool; +#define lzo_int8_tp lzo_int8_t __LZO_MMODEL * +#define lzo_uint8_tp lzo_uint8_t __LZO_MMODEL * +#define lzo_int16_tp lzo_int16_t __LZO_MMODEL * +#define lzo_uint16_tp lzo_uint16_t __LZO_MMODEL * +#define lzo_int32_tp lzo_int32_t __LZO_MMODEL * +#define lzo_uint32_tp lzo_uint32_t __LZO_MMODEL * +#if defined(lzo_int64_t) +#define lzo_int64_tp lzo_int64_t __LZO_MMODEL * +#define lzo_uint64_tp lzo_uint64_t __LZO_MMODEL * +#endif -#ifndef lzo_sizeof_dict_t -# define lzo_sizeof_dict_t sizeof(lzo_bytep) +/* Older LZO versions used to support ancient systems and memory models + * such as 16-bit MSDOS with __huge pointers or Cray PVP, but these + * obsolete configurations are not supported any longer. + */ +#if defined(__LZO_MMODEL_HUGE) +#error "__LZO_MMODEL_HUGE memory model is unsupported" #endif +#if (LZO_MM_PVP) +#error "LZO_MM_PVP memory model is unsupported" +#endif +#if (LZO_SIZEOF_INT < 4) +#error "LZO_SIZEOF_INT < 4 is unsupported" +#endif +#if (__LZO_UINTPTR_T_IS_POINTER) +#error "__LZO_UINTPTR_T_IS_POINTER is unsupported" +#endif +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(int) >= 4) +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(lzo_uint) >= 4) +/* Strange configurations where sizeof(lzo_uint) != sizeof(size_t) should + * work but have not received much testing lately, so be strict here. + */ +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(lzo_uint) == sizeof(size_t)) +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(lzo_uint) == sizeof(ptrdiff_t)) +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(lzo_uint) == sizeof(lzo_uintptr_t)) +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(void *) == sizeof(lzo_uintptr_t)) +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(char *) == sizeof(lzo_uintptr_t)) +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(long *) == sizeof(lzo_uintptr_t)) +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(void *) == sizeof(lzo_voidp)) +LZO_COMPILE_TIME_ASSERT_HEADER(sizeof(char *) == sizeof(lzo_bytep)) /*********************************************************************** // function types ************************************************************************/ -/* linkage */ +/* name mangling */ #if !defined(__LZO_EXTERN_C) # ifdef __cplusplus # define __LZO_EXTERN_C extern "C" @@ -221,81 +211,92 @@ typedef int lzo_bool; # endif #endif -/* calling conventions */ +/* calling convention */ #if !defined(__LZO_CDECL) -# if defined(__LZO_DOS16) || defined(__LZO_WIN16) -# define __LZO_CDECL __far __cdecl -# elif defined(__LZO_i386) && defined(_MSC_VER) -# define __LZO_CDECL __cdecl -# elif defined(__LZO_i386) && defined(__WATCOMC__) -# define __LZO_CDECL __near __cdecl -# else -# define __LZO_CDECL -# endif -#endif -#if !defined(__LZO_ENTRY) -# define __LZO_ENTRY __LZO_CDECL +# define __LZO_CDECL __lzo_cdecl #endif /* DLL export information */ #if !defined(__LZO_EXPORT1) -# define __LZO_EXPORT1 +# define __LZO_EXPORT1 /*empty*/ #endif #if !defined(__LZO_EXPORT2) -# define __LZO_EXPORT2 +# define __LZO_EXPORT2 /*empty*/ #endif -/* calling convention for C functions */ +/* __cdecl calling convention for public C and assembly functions */ #if !defined(LZO_PUBLIC) -# define LZO_PUBLIC(_rettype) __LZO_EXPORT1 _rettype __LZO_EXPORT2 __LZO_ENTRY +# define LZO_PUBLIC(r) __LZO_EXPORT1 r __LZO_EXPORT2 __LZO_CDECL #endif #if !defined(LZO_EXTERN) -# define LZO_EXTERN(_rettype) __LZO_EXTERN_C LZO_PUBLIC(_rettype) +# define LZO_EXTERN(r) __LZO_EXTERN_C LZO_PUBLIC(r) #endif #if !defined(LZO_PRIVATE) -# define LZO_PRIVATE(_rettype) static _rettype __LZO_ENTRY -#endif - -/* cdecl calling convention for assembler functions */ -#if !defined(LZO_PUBLIC_CDECL) -# define LZO_PUBLIC_CDECL(_rettype) \ - __LZO_EXPORT1 _rettype __LZO_EXPORT2 __LZO_CDECL -#endif -#if !defined(LZO_EXTERN_CDECL) -# define LZO_EXTERN_CDECL(_rettype) __LZO_EXTERN_C LZO_PUBLIC_CDECL(_rettype) +# define LZO_PRIVATE(r) static r __LZO_CDECL #endif - +/* function types */ typedef int -(__LZO_ENTRY *lzo_compress_t) ( const lzo_byte *src, lzo_uint src_len, - lzo_byte *dst, lzo_uint *dst_len, +(__LZO_CDECL *lzo_compress_t) ( const lzo_bytep src, lzo_uint src_len, + lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem ); typedef int -(__LZO_ENTRY *lzo_decompress_t) ( const lzo_byte *src, lzo_uint src_len, - lzo_byte *dst, lzo_uint *dst_len, +(__LZO_CDECL *lzo_decompress_t) ( const lzo_bytep src, lzo_uint src_len, + lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem ); typedef int -(__LZO_ENTRY *lzo_optimize_t) ( lzo_byte *src, lzo_uint src_len, - lzo_byte *dst, lzo_uint *dst_len, +(__LZO_CDECL *lzo_optimize_t) ( lzo_bytep src, lzo_uint src_len, + lzo_bytep dst, lzo_uintp dst_len, lzo_voidp wrkmem ); typedef int -(__LZO_ENTRY *lzo_compress_dict_t)(const lzo_byte *src, lzo_uint src_len, - lzo_byte *dst, lzo_uint *dst_len, - lzo_voidp wrkmem, - const lzo_byte *dict, lzo_uint dict_len ); +(__LZO_CDECL *lzo_compress_dict_t)(const lzo_bytep src, lzo_uint src_len, + lzo_bytep dst, lzo_uintp dst_len, + lzo_voidp wrkmem, + const lzo_bytep dict, lzo_uint dict_len ); typedef int -(__LZO_ENTRY *lzo_decompress_dict_t)(const lzo_byte *src, lzo_uint src_len, - lzo_byte *dst, lzo_uint *dst_len, - lzo_voidp wrkmem, - const lzo_byte *dict, lzo_uint dict_len ); +(__LZO_CDECL *lzo_decompress_dict_t)(const lzo_bytep src, lzo_uint src_len, + lzo_bytep dst, lzo_uintp dst_len, + lzo_voidp wrkmem, + const lzo_bytep dict, lzo_uint dict_len ); + + +/* Callback interface. Currently only the progress indicator ("nprogress") + * is used, but this may change in a future release. */ +struct lzo_callback_t; +typedef struct lzo_callback_t lzo_callback_t; +#define lzo_callback_p lzo_callback_t __LZO_MMODEL * + +/* malloc & free function types */ +typedef lzo_voidp (__LZO_CDECL *lzo_alloc_func_t) + (lzo_callback_p self, lzo_uint items, lzo_uint size); +typedef void (__LZO_CDECL *lzo_free_func_t) + (lzo_callback_p self, lzo_voidp ptr); /* a progress indicator callback function */ -typedef void (__LZO_ENTRY *lzo_progress_callback_t) (lzo_uint, lzo_uint); +typedef void (__LZO_CDECL *lzo_progress_func_t) + (lzo_callback_p, lzo_uint, lzo_uint, int); + +struct lzo_callback_t +{ + /* custom allocators (set to 0 to disable) */ + lzo_alloc_func_t nalloc; /* [not used right now] */ + lzo_free_func_t nfree; /* [not used right now] */ + + /* a progress indicator callback function (set to 0 to disable) */ + lzo_progress_func_t nprogress; + + /* INFO: the first parameter "self" of the nalloc/nfree/nprogress + * callbacks points back to this struct, so you are free to store + * some extra info in the following variables. */ + lzo_voidp user1; + lzo_xint user2; + lzo_xint user3; +}; /*********************************************************************** @@ -308,26 +309,35 @@ typedef void (__LZO_ENTRY *lzo_progress_callback_t) (lzo_uint, lzo_uint); */ #define LZO_E_OK 0 #define LZO_E_ERROR (-1) -#define LZO_E_OUT_OF_MEMORY (-2) /* not used right now */ -#define LZO_E_NOT_COMPRESSIBLE (-3) /* not used right now */ +#define LZO_E_OUT_OF_MEMORY (-2) /* [lzo_alloc_func_t failure] */ +#define LZO_E_NOT_COMPRESSIBLE (-3) /* [not used right now] */ #define LZO_E_INPUT_OVERRUN (-4) #define LZO_E_OUTPUT_OVERRUN (-5) #define LZO_E_LOOKBEHIND_OVERRUN (-6) #define LZO_E_EOF_NOT_FOUND (-7) #define LZO_E_INPUT_NOT_CONSUMED (-8) +#define LZO_E_NOT_YET_IMPLEMENTED (-9) /* [not used right now] */ +#define LZO_E_INVALID_ARGUMENT (-10) +#define LZO_E_INVALID_ALIGNMENT (-11) /* pointer argument is not properly aligned */ +#define LZO_E_OUTPUT_NOT_CONSUMED (-12) +#define LZO_E_INTERNAL_ERROR (-99) +#ifndef lzo_sizeof_dict_t +# define lzo_sizeof_dict_t ((unsigned)sizeof(lzo_bytep)) +#endif + /* lzo_init() should be the first function you call. * Check the return code ! * * lzo_init() is a macro to allow checking that the library and the * compiler's view of various types are consistent. */ -#define lzo_init() __lzo_init2(LZO_VERSION,(int)sizeof(short),(int)sizeof(int),\ - (int)sizeof(long),(int)sizeof(lzo_uint32),(int)sizeof(lzo_uint),\ +#define lzo_init() __lzo_init_v2(LZO_VERSION,(int)sizeof(short),(int)sizeof(int),\ + (int)sizeof(long),(int)sizeof(lzo_uint32_t),(int)sizeof(lzo_uint),\ (int)lzo_sizeof_dict_t,(int)sizeof(char *),(int)sizeof(lzo_voidp),\ - (int)sizeof(lzo_compress_t)) -LZO_EXTERN(int) __lzo_init2(unsigned,int,int,int,int,int,int,int,int,int); + (int)sizeof(lzo_callback_t)) +LZO_EXTERN(int) __lzo_init_v2(unsigned,int,int,int,int,int,int,int,int,int); /* version functions (useful for shared libraries) */ LZO_EXTERN(unsigned) lzo_version(void); @@ -338,44 +348,99 @@ LZO_EXTERN(const lzo_charp) _lzo_version_date(void); /* string functions */ LZO_EXTERN(int) -lzo_memcmp(const lzo_voidp _s1, const lzo_voidp _s2, lzo_uint _len); + lzo_memcmp(const lzo_voidp a, const lzo_voidp b, lzo_uint len); LZO_EXTERN(lzo_voidp) -lzo_memcpy(lzo_voidp _dest, const lzo_voidp _src, lzo_uint _len); + lzo_memcpy(lzo_voidp dst, const lzo_voidp src, lzo_uint len); LZO_EXTERN(lzo_voidp) -lzo_memmove(lzo_voidp _dest, const lzo_voidp _src, lzo_uint _len); + lzo_memmove(lzo_voidp dst, const lzo_voidp src, lzo_uint len); LZO_EXTERN(lzo_voidp) -lzo_memset(lzo_voidp _s, int _c, lzo_uint _len); + lzo_memset(lzo_voidp buf, int c, lzo_uint len); /* checksum functions */ -LZO_EXTERN(lzo_uint32) -lzo_adler32(lzo_uint32 _adler, const lzo_byte *_buf, lzo_uint _len); -LZO_EXTERN(lzo_uint32) -lzo_crc32(lzo_uint32 _c, const lzo_byte *_buf, lzo_uint _len); +LZO_EXTERN(lzo_uint32_t) + lzo_adler32(lzo_uint32_t c, const lzo_bytep buf, lzo_uint len); +LZO_EXTERN(lzo_uint32_t) + lzo_crc32(lzo_uint32_t c, const lzo_bytep buf, lzo_uint len); +LZO_EXTERN(const lzo_uint32_tp) + lzo_get_crc32_table(void); -/* memory allocation functions */ -LZO_EXTERN(lzo_bytep) lzo_alloc(lzo_uint _nelems, lzo_uint _size); -LZO_EXTERN(lzo_bytep) lzo_malloc(lzo_uint _size); -LZO_EXTERN(void) lzo_free(lzo_voidp _ptr); +/* misc. */ +LZO_EXTERN(int) _lzo_config_check(void); +typedef union { + lzo_voidp a00; lzo_bytep a01; lzo_uint a02; lzo_xint a03; lzo_uintptr_t a04; + void *a05; unsigned char *a06; unsigned long a07; size_t a08; ptrdiff_t a09; +#if defined(lzo_int64_t) + lzo_uint64_t a10; +#endif +} lzo_align_t; -typedef lzo_bytep (__LZO_ENTRY *lzo_alloc_hook_t) (lzo_uint, lzo_uint); -typedef void (__LZO_ENTRY *lzo_free_hook_t) (lzo_voidp); +/* align a char pointer on a boundary that is a multiple of 'size' */ +LZO_EXTERN(unsigned) __lzo_align_gap(const lzo_voidp p, lzo_uint size); +#define LZO_PTR_ALIGN_UP(p,size) \ + ((p) + (lzo_uint) __lzo_align_gap((const lzo_voidp)(p),(lzo_uint)(size))) -extern lzo_alloc_hook_t lzo_alloc_hook; -extern lzo_free_hook_t lzo_free_hook; -/* misc. */ -LZO_EXTERN(lzo_bool) lzo_assert(int _expr); -LZO_EXTERN(int) _lzo_config_check(void); -typedef union { lzo_bytep p; lzo_uint u; } __lzo_pu_u; -typedef union { lzo_bytep p; lzo_uint32 u32; } __lzo_pu32_u; +/*********************************************************************** +// deprecated macros - only for backward compatibility +************************************************************************/ -/* align a char pointer on a boundary that is a multiple of `size' */ -LZO_EXTERN(unsigned) __lzo_align_gap(const lzo_voidp _ptr, lzo_uint _size); -#define LZO_PTR_ALIGN_UP(_ptr,_size) \ - ((_ptr) + (lzo_uint) __lzo_align_gap((const lzo_voidp)(_ptr),(lzo_uint)(_size))) +/* deprecated - use 'lzo_bytep' instead of 'lzo_byte *' */ +#define lzo_byte unsigned char +/* deprecated type names */ +#define lzo_int32 lzo_int32_t +#define lzo_uint32 lzo_uint32_t +#define lzo_int32p lzo_int32_t __LZO_MMODEL * +#define lzo_uint32p lzo_uint32_t __LZO_MMODEL * +#define LZO_INT32_MAX LZO_INT32_C(2147483647) +#define LZO_UINT32_MAX LZO_UINT32_C(4294967295) +#if defined(lzo_int64_t) +#define lzo_int64 lzo_int64_t +#define lzo_uint64 lzo_uint64_t +#define lzo_int64p lzo_int64_t __LZO_MMODEL * +#define lzo_uint64p lzo_uint64_t __LZO_MMODEL * +#define LZO_INT64_MAX LZO_INT64_C(9223372036854775807) +#define LZO_UINT64_MAX LZO_UINT64_C(18446744073709551615) +#endif +/* deprecated types */ +typedef union { lzo_bytep a; lzo_uint b; } __lzo_pu_u; +typedef union { lzo_bytep a; lzo_uint32_t b; } __lzo_pu32_u; +/* deprecated defines */ +#if !defined(LZO_SIZEOF_LZO_UINT) +# define LZO_SIZEOF_LZO_UINT LZO_SIZEOF_LZO_INT +#endif -/* deprecated - only for backward compatibility */ -#define LZO_ALIGN(_ptr,_size) LZO_PTR_ALIGN_UP(_ptr,_size) +#if defined(LZO_CFG_COMPAT) + +#define __LZOCONF_H 1 + +#if defined(LZO_ARCH_I086) +# define __LZO_i386 1 +#elif defined(LZO_ARCH_I386) +# define __LZO_i386 1 +#endif + +#if defined(LZO_OS_DOS16) +# define __LZO_DOS 1 +# define __LZO_DOS16 1 +#elif defined(LZO_OS_DOS32) +# define __LZO_DOS 1 +#elif defined(LZO_OS_WIN16) +# define __LZO_WIN 1 +# define __LZO_WIN16 1 +#elif defined(LZO_OS_WIN32) +# define __LZO_WIN 1 +#endif + +#define __LZO_CMODEL /*empty*/ +#define __LZO_DMODEL /*empty*/ +#define __LZO_ENTRY __LZO_CDECL +#define LZO_EXTERN_CDECL LZO_EXTERN +#define LZO_ALIGN LZO_PTR_ALIGN_UP + +#define lzo_compress_asm_t lzo_compress_t +#define lzo_decompress_asm_t lzo_decompress_t + +#endif /* LZO_CFG_COMPAT */ #ifdef __cplusplus @@ -384,3 +449,5 @@ LZO_EXTERN(unsigned) __lzo_align_gap(const lzo_voidp _ptr, lzo_uint _size); #endif /* already included */ + +/* vim:set ts=4 sw=4 et: */ diff --git a/mkflfs/lzodefs.h b/mkflfs/lzodefs.h new file mode 100644 index 0000000..1535c1e --- /dev/null +++ b/mkflfs/lzodefs.h @@ -0,0 +1,3134 @@ +/* lzodefs.h -- architecture, OS and compiler specific defines + + This file is part of the LZO real-time data compression library. + + Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer + All Rights Reserved. + + The LZO library is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of + the License, or (at your option) any later version. + + The LZO library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with the LZO library; see the file COPYING. + If not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + Markus F.X.J. Oberhumer + <ma...@ob...> + http://www.oberhumer.com/opensource/lzo/ + */ + + +#ifndef __LZODEFS_H_INCLUDED +#define __LZODEFS_H_INCLUDED 1 + +#if defined(__CYGWIN32__) && !defined(__CYGWIN__) +# define __CYGWIN__ __CYGWIN32__ +#endif +#if 1 && defined(__INTERIX) && defined(__GNUC__) && !defined(_ALL_SOURCE) +# define _ALL_SOURCE 1 +#endif +#if defined(__mips__) && defined(__R5900__) +# if !defined(__LONG_MAX__) +# define __LONG_MAX__ 9223372036854775807L +# endif +#endif +#if !defined(LZO_CFG_NO_DISABLE_WUNDEF) +#if defined(__ARMCC_VERSION) +# pragma diag_suppress 193 +#elif defined(__clang__) && defined(__clang_minor__) +# pragma clang diagnostic ignored "-Wundef" +#elif defined(__INTEL_COMPILER) +# pragma warning(disable: 193) +#elif defined(__KEIL__) && defined(__C166__) +# pragma warning disable = 322 +#elif defined(__GNUC__) && defined(__GNUC_MINOR__) && !defined(__PATHSCALE__) +# if ((__GNUC__-0) >= 5 || ((__GNUC__-0) == 4 && (__GNUC_MINOR__-0) >= 2)) +# pragma GCC diagnostic ignored "-Wundef" +# endif +#elif defined(_MSC_VER) && !defined(__clang__) && !defined(__INTEL_COMPILER) && !defined(__MWERKS__) +# if ((_MSC_VER-0) >= 1300) +# pragma warning(disable: 4668) +# endif +#endif +#endif +#if 0 && defined(__POCC__) && defined(_WIN32) +# if (__POCC__ >= 400) +# pragma warn(disable: 2216) +# endif +#endif +#if 0 && defined(__WATCOMC__) +# if (__WATCOMC__ >= 1050) && (__WATCOMC__ < 1060) +# pragma warning 203 9 +# endif +#endif +#if defined(__BORLANDC__) && defined(__MSDOS__) && !defined(__FLAT__) +# pragma option -h +#endif +#if !(LZO_CFG_NO_DISABLE_WCRTNONSTDC) +#ifndef _CRT_NONSTDC_NO_DEPRECATE +#define _CRT_NONSTDC_NO_DEPRECATE 1 +#endif +#ifndef _CRT_NONSTDC_NO_WARNINGS +#define _CRT_NONSTDC_NO_WARNINGS 1 +#endif +#ifndef _CRT_SECURE_NO_DEPRECATE +#define _CRT_SECURE_NO_DEPRECATE 1 +#endif +#ifndef _CRT_SECURE_NO_WARNINGS +#define _CRT_SECURE_NO_WARNINGS 1 +#endif +#endif +#if 0 +#define LZO_0xffffUL 0xfffful +#define LZO_0xffffffffUL 0xfffffffful +#else +#define LZO_0xffffUL 65535ul +#define LZO_0xffffffffUL 4294967295ul +#endif +#define LZO_0xffffL LZO_0xffffUL +#define LZO_0xffffffffL LZO_0xffffffffUL +#if (LZO_0xffffL == LZO_0xffffffffL) +# error "your preprocessor is broken 1" +#endif +#if (16ul * 16384ul != 262144ul) +# error "your preprocessor is broken 2" +#endif +#if 0 +#if (32767 >= 4294967295ul) +# error "your preprocessor is broken 3" +#endif +#if (65535u >= 4294967295ul) +# error "your preprocessor is broken 4" +#endif +#endif +#if defined(__COUNTER__) +# ifndef LZO_CFG_USE_COUNTER +# define LZO_CFG_USE_COUNTER 1 +# endif +#else +# undef LZO_CFG_USE_COUNTER +#endif +#if (UINT_MAX == LZO_0xffffL) +#if defined(__ZTC__) && defined(__I86__) && !defined(__OS2__) +# if !defined(MSDOS) +# define MSDOS 1 +# endif +# if !defined(_MSDOS) +# define _MSDOS 1 +# endif +#elif 0 && defined(__VERSION) && defined(MB_LEN_MAX) +# if (__VERSION == 520) && (MB_LEN_MAX == 1) +# if !defined(__AZTEC_C__) +# define __AZTEC_C__ __VERSION +# endif +# if !defined(__DOS__) +# define __DOS__ 1 +# endif +# endif +#endif +#endif +#if defined(_MSC_VER) && defined(M_I86HM) && (UINT_MAX == LZO_0xffffL) +# define ptrdiff_t long +# define _PTRDIFF_T_DEFINED 1 +#endif +#if (UINT_MAX == LZO_0xffffL) +# undef __LZO_RENAME_A +# undef __LZO_RENAME_B +# if defined(__AZTEC_C__) && defined(__DOS__) +# define __LZO_RENAME_A 1 +# elif defined(_MSC_VER) && defined(MSDOS) +# if (_MSC_VER < 600) +# define __LZO_RENAME_A 1 +# elif (_MSC_VER < 700) +# define __LZO_RENAME_B 1 +# endif +# elif defined(__TSC__) && defined(__OS2__) +# define __LZO_RENAME_A 1 +# elif defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0410) +# define __LZO_RENAME_A 1 +# elif defined(__PACIFIC__) && defined(DOS) +# if !defined(__far) +# define __far far +# endif +# if !defined(__near) +# define __near near +# endif +# endif +# if defined(__LZO_RENAME_A) +# if !defined(__cdecl) +# define __cdecl cdecl +# endif +# if !defined(__far) +# define __far far +# endif +# if !defined(__huge) +# define __huge huge +# endif +# if !defined(__near) +# define __near near +# endif +# if !defined(__pascal) +# define __pascal pascal +# endif +# if !defined(__huge) +# define __huge huge +# endif +# elif defined(__LZO_RENAME_B) +# if !defined(__cdecl) +# define __cdecl _cdecl +# endif +# if !defined(__far) +# define __far _far +# endif +# if !defined(__huge) +# define __huge _huge +# endif +# if !defined(__near) +# define __near _near +# endif +# if !defined(__pascal) +# define __pascal _pascal +# endif +# elif (defined(__PUREC__) || defined(__TURBOC__)) && defined(__TOS__) +# if !defined(__cdecl) +# define __cdecl cdecl +# endif +# if !defined(__pascal) +# define __pascal pascal +# endif +# endif +# undef __LZO_RENAME_A +# undef __LZO_RENAME_B +#endif +#if (UINT_MAX == LZO_0xffffL) +#if defined(__AZTEC_C__) && defined(__DOS__) +# define LZO_BROKEN_CDECL_ALT_SYNTAX 1 +#elif defined(_MSC_VER) && defined(MSDOS) +# if (_MSC_VER < 600) +# define LZO_BROKEN_INTEGRAL_CONSTANTS 1 +# endif +# if (_MSC_VER < 700) +# define LZO_BROKEN_INTEGRAL_PROMOTION 1 +# define LZO_BROKEN_SIZEOF 1 +# endif +#elif defined(__PACIFIC__) && defined(DOS) +# define LZO_BROKEN_INTEGRAL_CONSTANTS 1 +#elif defined(__TURBOC__) && defined(__MSDOS__) +# if (__TURBOC__ < 0x0150) +# define LZO_BROKEN_CDECL_ALT_SYNTAX 1 +# define LZO_BROKEN_INTEGRAL_CONSTANTS 1 +# define LZO_BROKEN_INTEGRAL_PROMOTION 1 +# endif +# if (__TURBOC__ < 0x0200) +# define LZO_BROKEN_SIZEOF 1 +# endif +# if (__TURBOC__ < 0x0400) && defined(__cplusplus) +# define LZO_BROKEN_CDECL_ALT_SYNTAX 1 +# endif +#elif (defined(__PUREC__) || defined(__TURBOC__)) && defined(__TOS__) +# define LZO_BROKEN_CDECL_ALT_SYNTAX 1 +# define LZO_BROKEN_SIZEOF 1 +#endif +#endif +#if defined(__WATCOMC__) && (__WATCOMC__ < 900) +# define LZO_BROKEN_INTEGRAL_CONSTANTS 1 +#endif +#if defined(_CRAY) && defined(_CRAY1) +# define LZO_BROKEN_SIGNED_RIGHT_SHIFT 1 +#endif +#define LZO_PP_STRINGIZE(x) #x +#define LZO_PP_MACRO_EXPAND(x) LZO_PP_STRINGIZE(x) +#define LZO_PP_CONCAT0() /*empty*/ +#define LZO_PP_CONCAT1(a) a +#define LZO_PP_CONCAT2(a,b) a ## b +#define LZO_PP_CONCAT3(a,b,c) a ## b ## c +#define LZO_PP_CONCAT4(a,b,c,d) a ## b ## c ## d +#define LZO_PP_CONCAT5(a,b,c,d,e) a ## b ## c ## d ## e +#define LZO_PP_CONCAT6(a,b,c,d,e,f) a ## b ## c ## d ## e ## f +#define LZO_PP_CONCAT7(a,b,c,d,e,f,g) a ## b ## c ## d ## e ## f ## g +#define LZO_PP_ECONCAT0() LZO_PP_CONCAT0() +#define LZO_PP_ECONCAT1(a) LZO_PP_CONCAT1(a) +#define LZO_PP_ECONCAT2(a,b) LZO_PP_CONCAT2(a,b) +#define LZO_PP_ECONCAT3(a,b,c) LZO_PP_CONCAT3(a,b,c) +#define LZO_PP_ECONCAT4(a,b,c,d) LZO_PP_CONCAT4(a,b,c,d) +#define LZO_PP_ECONCAT5(a,b,c,d,e) LZO_PP_CONCAT5(a,b,c,d,e) +#define LZO_PP_ECONCAT6(a,b,c,d,e,f) LZO_PP_CONCAT6(a,b,c,d,e,f) +#define LZO_PP_ECONCAT7(a,b,c,d,e,f,g) LZO_PP_CONCAT7(a,b,c,d,e,f,g) +#define LZO_PP_EMPTY /*empty*/ +#define LZO_PP_EMPTY0() /*empty*/ +#define LZO_PP_EMPTY1(a) /*empty*/ +#define LZO_PP_EMPTY2(a,b) /*empty*/ +#define LZO_PP_EMPTY3(a,b,c) /*empty*/ +#define LZO_PP_EMPTY4(a,b,c,d) /*empty*/ +#define LZO_PP_EMPTY5(a,b,c,d,e) /*empty*/ +#define LZO_PP_EMPTY6(a,b,c,d,e,f) /*empty*/ +#define LZO_PP_EMPTY7(a,b,c,d,e,f,g) /*empty*/ +#if 1 +#define LZO_CPP_STRINGIZE(x) #x +#define LZO_CPP_MACRO_EXPAND(x) LZO_CPP_STRINGIZE(x) +#define LZO_CPP_CONCAT2(a,b) a ## b +#define LZO_CPP_CONCAT3(a,b,c) a ## b ## c +#define LZO_CPP_CONCAT4(a,b,c,d) a ## b ## c ## d +#define LZO_CPP_CONCAT5(a,b,c,d,e) a ## b ## c ## d ## e +#define LZO_CPP_CONCAT6(a,b,c,d,e,f) a ## b ## c ## d ## e ## f +#define LZO_CPP_CONCAT7(a,b,c,d,e,f,g) a ## b ## c ## d ## e ## f ## g +#define LZO_CPP_ECONCAT2(a,b) LZO_CPP_CONCAT2(a,b) +#define LZO_CPP_ECONCAT3(a,b,c) LZO_CPP_CONCAT3(a,b,c) +#define LZO_CPP_ECONCAT4(a,b,c,d) LZO_CPP_CONCAT4(a,b,c,d) +#define LZO_CPP_ECONCAT5(a,b,c,d,e) LZO_CPP_CONCAT5(a,b,c,d,e) +#define LZO_CPP_ECONCAT6(a,b,c,d,e,f) LZO_CPP_CONCAT6(a,b,c,d,e,f) +#define LZO_CPP_ECONCAT7(a,b,c,d,e,f,g) LZO_CPP_CONCAT7(a,b,c,d,e,f,g) +#endif +#define __LZO_MASK_GEN(o,b) (((((o) << ((b)-!!(b))) - (o)) << 1) + (o)*!!(b)) +#if 1 && defined(__cplusplus) +# if !defined(__STDC_CONSTANT_MACROS) +# define __STDC_CONSTANT_MACROS 1 +# endif +# if !defined(__STDC_LIMIT_MACROS) +# define __STDC_LIMIT_MACROS 1 +# endif +#endif +#if defined(__cplusplus) +# define LZO_EXTERN_C extern "C" +# define LZO_EXTERN_C_BEGIN extern "C" { +# define LZO_EXTERN_C_END } +#else +# define LZO_EXTERN_C extern +# define LZO_EXTERN_C_BEGIN /*empty*/ +# define LZO_EXTERN_C_END /*empty*/ +#endif +#if !defined(__LZO_OS_OVERRIDE) +#if (LZO_OS_FREESTANDING) +# define LZO_INFO_OS "freestanding" +#elif (LZO_OS_EMBEDDED) +# define LZO_INFO_OS "embedded" +#elif 1 && defined(__IAR_SYSTEMS_ICC__) +# define LZO_OS_EMBEDDED 1 +# define LZO_INFO_OS "embedded" +#elif defined(__CYGWIN__) && defined(__GNUC__) +# define LZO_OS_CYGWIN 1 +# define LZO_INFO_OS "cygwin" +#elif defined(__EMX__) && defined(__GNUC__) +# define LZO_OS_EMX 1 +# define LZO_INFO_OS "emx" +#elif defined(__BEOS__) +# define LZO_OS_BEOS 1 +# define LZO_INFO_OS "beos" +#elif defined(__Lynx__) +# define LZO_OS_LYNXOS 1 +# define LZO_INFO_OS "lynxos" +#elif defined(__OS400__) +# define LZO_OS_OS400 1 +# define LZO_INFO_OS "os400" +#elif defined(__QNX__) +# define LZO_OS_QNX 1 +# define LZO_INFO_OS "qnx" +#elif defined(__BORLANDC__) && defined(__DPMI32__) && (__BORLANDC__ >= 0x0460) +# define LZO_OS_DOS32 1 +# define LZO_INFO_OS "dos32" +#elif defined(__BORLANDC__) && defined(__DPMI16__) +# define LZO_OS_DOS16 1 +# define LZO_INFO_OS "dos16" +#elif defined(__ZTC__) && defined(DOS386) +# define LZO_OS_DOS32 1 +# define LZO_INFO_OS "dos32" +#elif defined(__OS2__) || defined(__OS2V2__) +# if (UINT_MAX == LZO_0xffffL) +# define LZO_OS_OS216 1 +# define LZO_INFO_OS "os216" +# elif (UINT_MAX == LZO_0xffffffffL) +# define LZO_OS_OS2 1 +# define LZO_INFO_OS "os2" +# else +# error "check your limits.h header" +# endif +#elif defined(__WIN64__) || defined(_WIN64) || defined(WIN64) +# define LZO_OS_WIN64 1 +# define LZO_INFO_OS "win64" +#elif defined(__WIN32__) || defined(_WIN32) || defined(WIN32) || defined(__WINDOWS_386__) +# define LZO_OS_WIN32 1 +# define LZO_INFO_OS "win32" +#elif defined(__MWERKS__) && defined(__INTEL__) +# define LZO_OS_WIN32 1 +# define LZO_INFO_OS "win32" +#elif defined(__WINDOWS__) || defined(_WINDOWS) || defined(_Windows) +# if (UINT_MAX == LZO_0xffffL) +# define LZO_OS_WIN16 1 +# define LZO_INFO_OS "win16" +# elif (UINT_MAX == LZO_0xffffffffL) +# define LZO_OS_WIN32 1 +# define LZO_INFO_OS "win32" +# else +# error "check your limits.h header" +# endif +#elif defined(__DOS__) || defined(__MSDOS__) || defined(_MSDOS) || defined(MSDOS) || (defined(__PACIFIC__) && defined(DOS)) +# if (UINT_MAX == LZO_0xffffL) +# define LZO_OS_DOS16 1 +# define LZO_INFO_OS "dos16" +# elif (UINT_MAX == LZO_0xffffffffL) +# define LZO_OS_DOS32 1 +# define LZO_INFO_OS "dos32" +# else +# error "check your limits.h header" +# endif +#elif defined(__WATCOMC__) +# if defined(__NT__) && (UINT_MAX == LZO_0xffffL) +# define LZO_OS_DOS16 1 +# define LZO_INFO_OS "dos16" +# elif defined(__NT__) && (__WATCOMC__ < 1100) +# define LZO_OS_WIN32 1 +# define LZO_INFO_OS "win32" +# elif defined(__linux__) || defined(__LINUX__) +# define LZO_OS_POSIX 1 +# define LZO_INFO_OS "posix" +# else +# error "please specify a target using the -bt compiler option" +# endif +#elif defined(__palmos__) +# define LZO_OS_PALMOS 1 +# define LZO_INFO_OS "palmos" +#elif defined(__TOS__) || defined(__atarist__) +# define LZO_OS_TOS 1 +# define LZO_INFO_OS "tos" +#elif defined(macintosh) && !defined(__arm__) && !defined(__i386__) && !defined(__ppc__) && !defined(__x64_64__) +# define LZO_OS_MACCLASSIC 1 +# define LZO_INFO_OS "macclassic" +#elif defined(__VMS) +# define LZO_OS_VMS 1 +# define LZO_INFO_OS "vms" +#elif (defined(__mips__) && defined(__R5900__)) || defined(__MIPS_PSX2__) +# define LZO_OS_CONSOLE 1 +# define LZO_OS_CONSOLE_PS2 1 +# define LZO_INFO_OS "console" +# define LZO_INFO_OS_CONSOLE "ps2" +#elif defined(__mips__) && defined(__psp__) +# define LZO_OS_CONSOLE 1 +# define LZO_OS_CONSOLE_PSP 1 +# define LZO_INFO_OS "console" +# define LZO_INFO_OS_CONSOLE "psp" +#else +# define LZO_OS_POSIX 1 +# define LZO_INFO_OS "posix" +#endif +#if (LZO_OS_POSIX) +# if defined(_AIX) || defined(__AIX__) || defined(__aix__) +# define LZO_OS_POSIX_AIX 1 +# define LZO_INFO_OS_POSIX "aix" +# elif defined(__FreeBSD__) +# define LZO_OS_POSIX_FREEBSD 1 +# define LZO_INFO_OS_POSIX "freebsd" +# elif defined(__hpux__) || defined(__hpux) +# define LZO_OS_POSIX_HPUX 1 +# define LZO_INFO_OS_POSIX "hpux" +# elif defined(__INTERIX) +# define LZO_OS_POSIX_INTERIX 1 +# define LZO_INFO_OS_POSIX "interix" +# elif defined(__IRIX__) || defined(__irix__) +# define LZO_OS_POSIX_IRIX 1 +# define LZO_INFO_OS_POSIX "irix" +# elif defined(__linux__) || defined(__linux) || defined(__LINUX__) +# define LZO_OS_POSIX_LINUX 1 +# define LZO_INFO_OS_POSIX "linux" +# elif defined(__APPLE__) && defined(__MACH__) +# if ((__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__-0) >= 20000) +# define LZO_OS_POSIX_DARWIN 1040 +# define LZO_INFO_OS_POSIX "darwin_iphone" +# elif ((__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__-0) >= 1040) +# define LZO_OS_POSIX_DARWIN __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ +# define LZO_INFO_OS_POSIX "darwin" +# else +# define LZO_OS_POSIX_DARWIN 1 +# define LZO_INFO_OS_POSIX "darwin" +# endif +# define LZO_OS_POSIX_MACOSX LZO_OS_POSIX_DARWIN +# elif defined(__minix__) || defined(__minix) +# define LZO_OS_POSIX_MINIX 1 +# define LZO_INFO_OS_POSIX "minix" +# elif defined(__NetBSD__) +# define LZO_OS_POSIX_NETBSD 1 +# define LZO_INFO_OS_POSIX "netbsd" +# elif defined(__OpenBSD__) +# define LZO_OS_POSIX_OPENBSD 1 +# define LZO_INFO_OS_POSIX "openbsd" +# elif defined(__osf__) +# define LZO_OS_POSIX_OSF 1 +# define LZO_INFO_OS_POSIX "osf" +# elif defined(__solaris__) || defined(__sun) +# if defined(__SVR4) || defined(__svr4__) +# define LZO_OS_POSIX_SOLARIS 1 +# define LZO_INFO_OS_POSIX "solaris" +# else +# define LZO_OS_POSIX_SUNOS 1 +# define LZO_INFO_OS_POSIX "sunos" +# endif +# elif defined(__ultrix__) || defined(__ultrix) +# define LZO_OS_POSIX_ULTRIX 1 +# define LZO_INFO_OS_POSIX "ultrix" +# elif defined(_UNICOS) +# define LZO_OS_POSIX_UNICOS 1 +# define LZO_INFO_OS_POSIX "unicos" +# else +# define LZO_OS_POSIX_UNKNOWN 1 +# define LZO_INFO_OS_POSIX "unknown" +# endif +#endif +#endif +#if (LZO_OS_DOS16 || LZO_OS_OS216 || LZO_OS_WIN16) +# if (UINT_MAX != LZO_0xffffL) +# error "unexpected configuration - check your compiler defines" +# endif +# if (ULONG_MAX != LZO_0xffffffffL) +# error "unexpected configuration - check your compiler defines" +# endif +#endif +#if (LZO_OS_DOS32 || LZO_OS_OS2 || LZO_OS_WIN32 || LZO_OS_WIN64) +# if (UINT_MAX != LZO_0xffffffffL) +# error "unexpected configuration - check your compiler defines" +# endif +# if (ULONG_MAX != LZO_0xffffffffL) +# error "unexpected configuration - check your compiler defines" +# endif +#endif +#if defined(CIL) && defined(_GNUCC) && defined(__GNUC__) +# define LZO_CC_CILLY 1 +# define LZO_INFO_CC "Cilly" +# if defined(__CILLY__) +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__CILLY__) +# else +# define LZO_INFO_CCVER "unknown" +# endif +#elif 0 && defined(SDCC) && defined(__VERSION__) && !defined(__GNUC__) +# define LZO_CC_SDCC 1 +# define LZO_INFO_CC "sdcc" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(SDCC) +#elif defined(__PATHSCALE__) && defined(__PATHCC_PATCHLEVEL__) +# define LZO_CC_PATHSCALE (__PATHCC__ * 0x10000L + (__PATHCC_MINOR__-0) * 0x100 + (__PATHCC_PATCHLEVEL__-0)) +# define LZO_INFO_CC "Pathscale C" +# define LZO_INFO_CCVER __PATHSCALE__ +# if defined(__GNUC__) && defined(__GNUC_MINOR__) && defined(__VERSION__) +# define LZO_CC_PATHSCALE_GNUC (__GNUC__ * 0x10000L + (__GNUC_MINOR__-0) * 0x100 + (__GNUC_PATCHLEVEL__-0)) +# endif +#elif defined(__INTEL_COMPILER) && ((__INTEL_COMPILER-0) > 0) +# define LZO_CC_INTELC __INTEL_COMPILER +# define LZO_INFO_CC "Intel C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__INTEL_COMPILER) +# if defined(_MSC_VER) && ((_MSC_VER-0) > 0) +# define LZO_CC_INTELC_MSC _MSC_VER +# elif defined(__GNUC__) && defined(__GNUC_MINOR__) && defined(__VERSION__) +# define LZO_CC_INTELC_GNUC (__GNUC__ * 0x10000L + (__GNUC_MINOR__-0) * 0x100 + (__GNUC_PATCHLEVEL__-0)) +# endif +#elif defined(__POCC__) && defined(_WIN32) +# define LZO_CC_PELLESC 1 +# define LZO_INFO_CC "Pelles C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__POCC__) +#elif defined(__ARMCC_VERSION) && defined(__GNUC__) && defined(__GNUC_MINOR__) && defined(__VERSION__) +# if defined(__GNUC_PATCHLEVEL__) +# define LZO_CC_ARMCC_GNUC (__GNUC__ * 0x10000L + (__GNUC_MINOR__-0) * 0x100 + (__GNUC_PATCHLEVEL__-0)) +# else +# define LZO_CC_ARMCC_GNUC (__GNUC__ * 0x10000L + (__GNUC_MINOR__-0) * 0x100) +# endif +# define LZO_CC_ARMCC __ARMCC_VERSION +# define LZO_INFO_CC "ARM C Compiler" +# define LZO_INFO_CCVER __VERSION__ +#elif defined(__clang__) && defined(__llvm__) && defined(__VERSION__) +# if defined(__clang_major__) && defined(__clang_minor__) && defined(__clang_patchlevel__) +# define LZO_CC_CLANG (__clang_major__ * 0x10000L + (__clang_minor__-0) * 0x100 + (__clang_patchlevel__-0)) +# else +# define LZO_CC_CLANG 0x010000L +# endif +# if defined(_MSC_VER) && ((_MSC_VER-0) > 0) +# define LZO_CC_CLANG_MSC _MSC_VER +# elif defined(__GNUC__) && defined(__GNUC_MINOR__) && defined(__VERSION__) +# define LZO_CC_CLANG_GNUC (__GNUC__ * 0x10000L + (__GNUC_MINOR__-0) * 0x100 + (__GNUC_PATCHLEVEL__-0)) +# endif +# define LZO_INFO_CC "clang" +# define LZO_INFO_CCVER __VERSION__ +#elif defined(__llvm__) && defined(__GNUC__) && defined(__GNUC_MINOR__) && defined(__VERSION__) +# if defined(__GNUC_PATCHLEVEL__) +# define LZO_CC_LLVM_GNUC (__GNUC__ * 0x10000L + (__GNUC_MINOR__-0) * 0x100 + (__GNUC_PATCHLEVEL__-0)) +# else +# define LZO_CC_LLVM_GNUC (__GNUC__ * 0x10000L + (__GNUC_MINOR__-0) * 0x100) +# endif +# define LZO_CC_LLVM LZO_CC_LLVM_GNUC +# define LZO_INFO_CC "llvm-gcc" +# define LZO_INFO_CCVER __VERSION__ +#elif defined(__ACK__) && defined(_ACK) +# define LZO_CC_ACK 1 +# define LZO_INFO_CC "Amsterdam Compiler Kit C" +# define LZO_INFO_CCVER "unknown" +#elif defined(__ARMCC_VERSION) && !defined(__GNUC__) +# define LZO_CC_ARMCC __ARMCC_VERSION +# define LZO_CC_ARMCC_ARMCC __ARMCC_VERSION +# define LZO_INFO_CC "ARM C Compiler" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__ARMCC_VERSION) +#elif defined(__AZTEC_C__) +# define LZO_CC_AZTECC 1 +# define LZO_INFO_CC "Aztec C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__AZTEC_C__) +#elif defined(__CODEGEARC__) +# define LZO_CC_CODEGEARC 1 +# define LZO_INFO_CC "CodeGear C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__CODEGEARC__) +#elif defined(__BORLANDC__) +# define LZO_CC_BORLANDC 1 +# define LZO_INFO_CC "Borland C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__BORLANDC__) +#elif defined(_CRAYC) && defined(_RELEASE) +# define LZO_CC_CRAYC 1 +# define LZO_INFO_CC "Cray C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(_RELEASE) +#elif defined(__DMC__) && defined(__SC__) +# define LZO_CC_DMC 1 +# define LZO_INFO_CC "Digital Mars C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__DMC__) +#elif defined(__DECC) +# define LZO_CC_DECC 1 +# define LZO_INFO_CC "DEC C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__DECC) +#elif (defined(__ghs) || defined(__ghs__)) && defined(__GHS_VERSION_NUMBER) && ((__GHS_VERSION_NUMBER-0) > 0) +# define LZO_CC_GHS 1 +# define LZO_INFO_CC "Green Hills C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__GHS_VERSION_NUMBER) +# if defined(_MSC_VER) && ((_MSC_VER-0) > 0) +# define LZO_CC_GHS_MSC _MSC_VER +# elif defined(__GNUC__) && defined(__GNUC_MINOR__) && defined(__VERSION__) +# define LZO_CC_GHS_GNUC (__GNUC__ * 0x10000L + (__GNUC_MINOR__-0) * 0x100 + (__GNUC_PATCHLEVEL__-0)) +# endif +#elif defined(__HIGHC__) +# define LZO_CC_HIGHC 1 +# define LZO_INFO_CC "MetaWare High C" +# define LZO_INFO_CCVER "unknown" +#elif defined(__HP_aCC) && ((__HP_aCC-0) > 0) +# define LZO_CC_HPACC __HP_aCC +# define LZO_INFO_CC "HP aCC" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__HP_aCC) +#elif defined(__IAR_SYSTEMS_ICC__) +# define LZO_CC_IARC 1 +# define LZO_INFO_CC "IAR C" +# if defined(__VER__) +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__VER__) +# else +# define LZO_INFO_CCVER "unknown" +# endif +#elif defined(__IBMC__) && ((__IBMC__-0) > 0) +# define LZO_CC_IBMC __IBMC__ +# define LZO_INFO_CC "IBM C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__IBMC__) +#elif defined(__IBMCPP__) && ((__IBMCPP__-0) > 0) +# define LZO_CC_IBMC __IBMCPP__ +# define LZO_INFO_CC "IBM C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__IBMCPP__) +#elif defined(__KEIL__) && defined(__C166__) +# define LZO_CC_KEILC 1 +# define LZO_INFO_CC "Keil C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__C166__) +#elif defined(__LCC__) && defined(_WIN32) && defined(__LCCOPTIMLEVEL) +# define LZO_CC_LCCWIN32 1 +# define LZO_INFO_CC "lcc-win32" +# define LZO_INFO_CCVER "unknown" +#elif defined(__LCC__) +# define LZO_CC_LCC 1 +# define LZO_INFO_CC "lcc" +# if defined(__LCC_VERSION__) +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__LCC_VERSION__) +# else +# define LZO_INFO_CCVER "unknown" +# endif +#elif defined(__MWERKS__) && ((__MWERKS__-0) > 0) +# define LZO_CC_MWERKS __MWERKS__ +# define LZO_INFO_CC "Metrowerks C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__MWERKS__) +#elif (defined(__NDPC__) || defined(__NDPX__)) && defined(__i386) +# define LZO_CC_NDPC 1 +# define LZO_INFO_CC "Microway NDP C" +# define LZO_INFO_CCVER "unknown" +#elif defined(__PACIFIC__) +# define LZO_CC_PACIFICC 1 +# define LZO_INFO_CC "Pacific C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__PACIFIC__) +#elif defined(__PGI) && defined(__PGIC__) && defined(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define LZO_CC_PGI (__PGIC__ * 0x10000L + (__PGIC_MINOR__-0) * 0x100 + (__PGIC_PATCHLEVEL__-0)) +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__PGIC__) "." LZO_PP_MACRO_EXPAND(__PGIC_MINOR__) "." LZO_PP_MACRO_EXPAND(__PGIC_PATCHLEVEL__) +# else +# define LZO_CC_PGI (__PGIC__ * 0x10000L + (__PGIC_MINOR__-0) * 0x100) +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__PGIC__) "." LZO_PP_MACRO_EXPAND(__PGIC_MINOR__) ".0" +# endif +# define LZO_INFO_CC "Portland Group PGI C" +#elif defined(__PGI) && (defined(__linux__) || defined(__WIN32__)) +# define LZO_CC_PGI 1 +# define LZO_INFO_CC "Portland Group PGI C" +# define LZO_INFO_CCVER "unknown" +#elif defined(__PUREC__) && defined(__TOS__) +# define LZO_CC_PUREC 1 +# define LZO_INFO_CC "Pure C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__PUREC__) +#elif defined(__SC__) && defined(__ZTC__) +# define LZO_CC_SYMANTECC 1 +# define LZO_INFO_CC "Symantec C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__SC__) +#elif defined(__SUNPRO_C) +# define LZO_INFO_CC "SunPro C" +# if ((__SUNPRO_C-0) > 0) +# define LZO_CC_SUNPROC __SUNPRO_C +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__SUNPRO_C) +# else +# define LZO_CC_SUNPROC 1 +# define LZO_INFO_CCVER "unknown" +# endif +#elif defined(__SUNPRO_CC) +# define LZO_INFO_CC "SunPro C" +# if ((__SUNPRO_CC-0) > 0) +# define LZO_CC_SUNPROC __SUNPRO_CC +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__SUNPRO_CC) +# else +# define LZO_CC_SUNPROC 1 +# define LZO_INFO_CCVER "unknown" +# endif +#elif defined(__TINYC__) +# define LZO_CC_TINYC 1 +# define LZO_INFO_CC "Tiny C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__TINYC__) +#elif defined(__TSC__) +# define LZO_CC_TOPSPEEDC 1 +# define LZO_INFO_CC "TopSpeed C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__TSC__) +#elif defined(__WATCOMC__) +# define LZO_CC_WATCOMC 1 +# define LZO_INFO_CC "Watcom C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__WATCOMC__) +#elif defined(__TURBOC__) +# define LZO_CC_TURBOC 1 +# define LZO_INFO_CC "Turbo C" +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__TURBOC__) +#elif defined(__ZTC__) +# define LZO_CC_ZORTECHC 1 +# define LZO_INFO_CC "Zortech C" +# if ((__ZTC__-0) == 0x310) +# define LZO_INFO_CCVER "0x310" +# else +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(__ZTC__) +# endif +#elif defined(__GNUC__) && defined(__VERSION__) +# if defined(__GNUC_MINOR__) && defined(__GNUC_PATCHLEVEL__) +# define LZO_CC_GNUC (__GNUC__ * 0x10000L + (__GNUC_MINOR__-0) * 0x100 + (__GNUC_PATCHLEVEL__-0)) +# elif defined(__GNUC_MINOR__) +# define LZO_CC_GNUC (__GNUC__ * 0x10000L + (__GNUC_MINOR__-0) * 0x100) +# else +# define LZO_CC_GNUC (__GNUC__ * 0x10000L) +# endif +# define LZO_INFO_CC "gcc" +# define LZO_INFO_CCVER __VERSION__ +#elif defined(_MSC_VER) && ((_MSC_VER-0) > 0) +# define LZO_CC_MSC _MSC_VER +# define LZO_INFO_CC "Microsoft C" +# if defined(_MSC_FULL_VER) +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(_MSC_VER) "." LZO_PP_MACRO_EXPAND(_MSC_FULL_VER) +# else +# define LZO_INFO_CCVER LZO_PP_MACRO_EXPAND(_MSC_VER) +# endif +#else +# define LZO_CC_UNKNOWN 1 +# define LZO_INFO_CC "unknown" +# define LZO_INFO_CCVER "unknown" +#endif +#if (LZO_CC_GNUC) && defined(__OPEN64__) +# if defined(__OPENCC__) && defined(__OPENCC_MINOR__) && defined(__OPENCC_PATCHLEVEL__) +# define LZO_CC_OPEN64 (__OPENCC__ * 0x10000L + (__OPENCC_MINOR__-0) * 0x100 + (__OPENCC_PATCHLEVEL__-0)) +# define LZO_CC_OPEN64_GNUC LZO_CC_GNUC +# endif +#endif +#if (LZO_CC_GNUC) && defined(__PCC__) +# if defined(__PCC__) && defined(__PCC_MINOR__) && defined(__PCC_MINORMINOR__) +# define LZO_CC_PCC (__PCC__ * 0x10000L + (__PCC_MINOR__-0) * 0x100 + (__PCC_MINORMINOR__-0)) +# define LZO_CC_PCC_GNUC LZO_CC_GNUC +# endif +#endif +#if 0 && (LZO_CC_MSC && (_MSC_VER >= 1200)) && !defined(_MSC_FULL_VER) +# error "LZO_CC_MSC: _MSC_FULL_VER is not defined" +#endif +#if !defined(__LZO_ARCH_OVERRIDE) && !(LZO_ARCH_GENERIC) && defined(_CRAY) +# if (UINT_MAX > LZO_0xffffffffL) && defined(_CRAY) +# if defined(_CRAYMPP) || defined(_CRAYT3D) || defined(_CRAYT3E) +# define LZO_ARCH_CRAY_MPP 1 +# elif defined(_CRAY1) +# define LZO_ARCH_CRAY_PVP 1 +# endif +# endif +#endif +#if !defined(__LZO_ARCH_OVERRIDE) +#if (LZO_ARCH_GENERIC) +# define LZO_INFO_ARCH "generic" +#elif (LZO_OS_DOS16 || LZO_OS_OS216 || LZO_OS_WIN16) +# define LZO_ARCH_I086 1 +# define LZO_INFO_ARCH "i086" +#elif defined(__aarch64__) +# define LZO_ARCH_ARM64 1 +# define LZO_INFO_ARCH "arm64" +#elif defined(__alpha__) || defined(__alpha) || defined(_M_ALPHA) +# define LZO_ARCH_ALPHA 1 +# define LZO_INFO_ARCH "alpha" +#elif (LZO_ARCH_CRAY_MPP) && (defined(_CRAYT3D) || defined(_CRAYT3E)) +# define LZO_ARCH_ALPHA 1 +# define LZO_INFO_ARCH "alpha" +#elif defined(__amd64__) || defined(__x86_64__) || defined(_M_AMD64) +# define LZO_ARCH_AMD64 1 +# define LZO_INFO_ARCH "amd64" +#elif defined(__arm__) || defined(_M_ARM) +# define LZO_ARCH_ARM 1 +# define LZO_INFO_ARCH "arm" +#elif defined(__IAR_SYSTEMS_ICC__) && defined(__ICCARM__) +# define LZO_ARCH_ARM 1 +# define LZO_INFO_ARCH "arm" +#elif (UINT_MAX <= LZO_0xffffL) && defined(__AVR__) +# define LZO_ARCH_AVR 1 +# define LZO_INFO_ARCH "avr" +#elif defined(__avr32__) || defined(__AVR32__) +# define LZO_... [truncated message content] |