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-03-14 12:51:23
|
Project "Tuxbox-GIT: hostapps":
The branch, master has been updated
via ad6ca43eadc6188a0532da68f2f80167b18ab7ac (commit)
from 77656a9b52f47afaa92c85284921e982f47ee4af (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 ad6ca43eadc6188a0532da68f2f80167b18ab7ac
Author: GetAway <get...@t-...>
Date: Thu Feb 12 20:08:48 2015 +0100
fix for newer gcc
Signed-off-by: GetAway <get...@t-...>
diff --git a/ggrab/cbuffer.h b/ggrab/cbuffer.h
index 0c910fe..a0d3fc3 100644
--- a/ggrab/cbuffer.h
+++ b/ggrab/cbuffer.h
@@ -1,5 +1,5 @@
typedef long long CBUFPTR;
-extern void errexit(char *);
+extern void errexit(const char *);
extern int gpadding;
diff --git a/ggrab/ggrab.cpp b/ggrab/ggrab.cpp
index 22a67e7..d32ec47 100644
--- a/ggrab/ggrab.cpp
+++ b/ggrab/ggrab.cpp
@@ -46,15 +46,15 @@ bool g_realtime = true;
// Default parameters
bool gnosectionsd = false;
-int toggle_sectionsd(char * p_name);
+int toggle_sectionsd(const char * p_name);
void * readkeyboard (void * p_arg);
void install_signal_handler (void) ;
void sighandler (int num);
-void generate_program_stream (int a_pid[], int anz_pids, char * p_boxname, int port, int udpbase,
+void generate_program_stream (int a_pid[], int anz_pids, const char * p_boxname, int port, int udpbase,
bool logging, bool debug, long long max_file_size, bool quiet, int duration);
-void generate_nomux_streams (int a_pid[], int anz_pids, char * p_boxname, int port, int udpbase,
+void generate_nomux_streams (int a_pid[], int anz_pids, const char * p_boxname, int port, int udpbase,
bool logging, bool debug, long long max_file_size, bool quiet, int duration);
-void generate_raw_audio (int a_pid[], int anz_pids, char * p_boxname, int port, int udpbase,
+void generate_raw_audio (int a_pid[], int anz_pids, const char * p_boxname, int port, int udpbase,
bool logging, bool debug, long long max_file_size, bool quiet, int duration);
int main( int argc, char *argv[] ) {
@@ -71,7 +71,7 @@ int main( int argc, char *argv[] ) {
bool debug = false;
//some default parameters for arguments
- char * dbox2name = "dbox";
+ const char * dbox2name = "dbox";
time_t duration = 24 * 3600;
long long max_file_size = 2LL * 1024 * 1024 * 1024 - 1;
enum {MPEG_PP, MPEG_PES, MPEG_RAW} rectype = MPEG_PP;
@@ -295,7 +295,7 @@ void * readkeyboard (void * p_arg) {
}
}
-int toggle_sectionsd(char * p_name) {
+int toggle_sectionsd(const char * p_name) {
static bool sectionsd_stopped = false;
int r;
@@ -341,7 +341,8 @@ int toggle_sectionsd(char * p_name) {
sprintf(buffer, "GET /control/zapto?stopsectionsd HTTP/1.0\r\n\r\n");
sectionsd_stopped=true;
}
- write(sock, buffer, strlen(buffer));
+ if (write(sock, buffer, strlen(buffer)) == -1)
+ perror("error write");
sleep(1);
r=read(sock, buffer, 100);
@@ -349,7 +350,7 @@ int toggle_sectionsd(char * p_name) {
return (0);
}
-void generate_program_stream (int a_pid[], int anz_pids, char * p_boxname, int port, int udpbase,
+void generate_program_stream (int a_pid[], int anz_pids, const char * p_boxname, int port, int udpbase,
bool logging, bool debug, long long max_file_size, bool quiet, int duration) {
static unsigned char a_sheader[12 + 10 * 3] = {
@@ -513,7 +514,7 @@ void generate_program_stream (int a_pid[], int anz_pids, char * p_boxname, int p
}
}
-void generate_nomux_streams (int a_pid[], int anz_pids, char * p_boxname, int port, int udpbase, bool logging, bool debug, long long max_file_size, bool quiet, int duration) {
+void generate_nomux_streams (int a_pid[], int anz_pids, const char * p_boxname, int port, int udpbase, bool logging, bool debug, long long max_file_size, bool quiet, int duration) {
class pesstream * p_st[10];
char * p_basename[10];
@@ -606,7 +607,7 @@ void generate_nomux_streams (int a_pid[], int anz_pids, char * p_boxname, int po
}
}
-void generate_raw_audio (int a_pid[], int anz_pids, char * p_boxname, int port, int udpbase, bool logging, bool debug, long long max_file_size, bool quiet, int duration) {
+void generate_raw_audio (int a_pid[], int anz_pids, const char * p_boxname, int port, int udpbase, bool logging, bool debug, long long max_file_size, bool quiet, int duration) {
class pesstream * p_st[10];
char * p_basename[10];
diff --git a/ggrab/pesstream.cpp b/ggrab/pesstream.cpp
index 01094d6..e6db271 100644
--- a/ggrab/pesstream.cpp
+++ b/ggrab/pesstream.cpp
@@ -21,7 +21,7 @@
#include "pesstream.h"
-pesstream::pesstream (S_TYPE stype, char * p_boxname, int pid, int port, int udpport, bool logging, bool debug, bool realtime) {
+pesstream::pesstream (S_TYPE stype, const char * p_boxname, int pid, int port, int udpport, bool logging, bool debug, bool realtime) {
static struct timezone tz;
int bufsiz;
@@ -570,7 +570,7 @@ void pesstream::get_pp_stats (char * p_buffer, int len) {
int pesstream::m_st_nr;
-int openStream(char * name, int port, int pid, int udpport, int * udpsocket) {
+int openStream(const char * name, int port, int pid, int udpport, int * udpsocket) {
struct hostent * hp = gethostbyname(name);
@@ -613,7 +613,8 @@ int openStream(char * name, int port, int pid, int udpport, int * udpsocket) {
sprintf(buffer, "GET /%x HTTP/1.0\r\n\r\n", pid);
}
- write(sock, buffer, strlen(buffer));
+ if (write(sock, buffer, strlen(buffer)) == -1)
+ perror("error write");
return sock;
}
@@ -645,7 +646,8 @@ void * readstream (class pesstream & ss) {
}
*/
#ifndef __CYGWIN__
- nice(-10);
+ if (nice(-10) == -1);
+ perror("error changing nice value");
#endif
}
if (ss.m_log) {
diff --git a/ggrab/pesstream.h b/ggrab/pesstream.h
index 9132861..6133d94 100644
--- a/ggrab/pesstream.h
+++ b/ggrab/pesstream.h
@@ -1,12 +1,12 @@
-int openStream(char * name, int port, int pid, int udpport, int * udpsocket);
+int openStream(const char * name, int port, int pid, int udpport, int * udpsocket);
void * readstream (class pesstream & ss);
class pesstream {
public:
- pesstream (S_TYPE stype, char * p_boxname, int pid, int port, int udpport, bool log, bool debug, bool realtime);
+ pesstream (S_TYPE stype, const char * p_boxname, int pid, int port, int udpport, bool log, bool debug, bool realtime);
~pesstream(void);
int get_sid (void);
void set_sid (int sid);
diff --git a/ggrab/sserver.cpp b/ggrab/sserver.cpp
index d2816f8..f605171 100644
--- a/ggrab/sserver.cpp
+++ b/ggrab/sserver.cpp
@@ -60,14 +60,14 @@ int main(int argc, char * argv[])
socklen_t clilen = sizeof(cliaddr);
a_arg[0] = a_grabname;
- a_arg[1] = "-p";
+ a_arg[1] = (char *)"-p";
a_arg[2] = a_vpid;
a_arg[3] = a_apid;
- a_arg[4] = "-o";
+ a_arg[4] = (char *)"-o";
a_arg[5] = a_filename;
- a_arg[6] = "-host";
+ a_arg[6] = (char *)"-host";
a_arg[7] = a_host;
- a_arg[8] = "-nos";
+ a_arg[8] = (char *)"-nos";
strcpy (a_grabname,argv[0]);
if (strrchr(a_grabname,'/')){
@@ -256,7 +256,7 @@ int main(int argc, char * argv[])
/* Shameless stolen from TuxVision */
-char* ParseForString(char *szStr, char *szSearch, int ptrToEnd)
+char* ParseForString(char *szStr, const char *szSearch, int ptrToEnd)
{
char *p=NULL;
p=strstr(szStr, szSearch);
diff --git a/ggrab/tools.cpp b/ggrab/tools.cpp
index 79c19a9..5d980b0 100644
--- a/ggrab/tools.cpp
+++ b/ggrab/tools.cpp
@@ -111,7 +111,7 @@ fill_pp_scr (unsigned char * p_pp, double scr) {
p_pp[9] = 0x01;
}
-void errexit (char * str) {
+void errexit (const char * str) {
fprintf (stderr,"%s\n",str);
if (gcore) {
*((char *)0) = 0;
@@ -119,7 +119,7 @@ void errexit (char * str) {
exit (1);
}
-FILE * open_next_output_file (FILE * fp,char * p_basename, char * p_ext, int & seq) {
+FILE * open_next_output_file (FILE * fp, char * p_basename, const char * p_ext, int & seq) {
char a_filename [256];
struct stat stats;
diff --git a/ggrab/tools.h b/ggrab/tools.h
index 0eac705..fd55e1f 100644
--- a/ggrab/tools.h
+++ b/ggrab/tools.h
@@ -9,19 +9,19 @@
extern bool gcore;
extern bool gloop;
-typedef enum STARTFLAG {NO_START=0, START_SEQ, START_GOP};
+enum STARTFLAG {NO_START=0, START_SEQ, START_GOP};
typedef double PTS;
PTS pes_pts (const unsigned char * p_buffer);
int pes_len (const unsigned char * p_buffer);
-FILE * open_next_output_file (FILE * fp, char * p_basename, char * p_ext, int & seq);
+FILE * open_next_output_file (FILE * fp, char * p_basename, const char * p_ext, int & seq);
void fill_pes_len(unsigned char * p_pes, int len);
void fill_pes_pts(unsigned char * p_pes, PTS pts);
void fill_pp_scr (unsigned char * p_pp, PTS scr);
-void errexit(char* p_text);
+void errexit(const char* p_text);
-----------------------------------------------------------------------
Summary of changes:
ggrab/cbuffer.h | 2 +-
ggrab/ggrab.cpp | 21 +++++++++++----------
ggrab/pesstream.cpp | 10 ++++++----
ggrab/pesstream.h | 4 ++--
ggrab/sserver.cpp | 10 +++++-----
ggrab/tools.cpp | 4 ++--
ggrab/tools.h | 6 +++---
7 files changed, 30 insertions(+), 27 deletions(-)
--
Tuxbox-GIT: hostapps
|
|
From: GetAway <tux...@ne...> - 2015-03-12 17:38:18
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via c1cf01815f4f773d3ccedc83cc0f80fae53cbc93 (commit)
from 4bd37d828870929f2f3754fd25bfe2f6e2675ca6 (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 c1cf01815f4f773d3ccedc83cc0f80fae53cbc93
Author: svenhoefer <sve...@sv...>
Date: Thu Mar 12 18:37:33 2015 +0100
yweb: add new function 'add_yExtensions()' to avoid duplicate code
remove prefix '-' from added items
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 a3e1a80..4140630 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm
@@ -62,17 +62,7 @@ function set_mode(_mode)
function init(){
volumen_set_audiobar(volumen_get());
set_mute_button();
- var menu=ext.select_menu('boxcontrol');
- menu.each(function(e){
- var el=new Element('li').update(
- new Element('a', {'target':'work',
- 'title': e.get('desc'),
- 'href': e.get('file')
- }).update("-"+e.get('menuitem'))
- );
- $('secmenu').insert({'bottom':el});
- });
-
+ add_yExtensions('boxcontrol', 'secmenu_boxcontrol');
}
//]]>
</script>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Menue.yhtm
index 4ac674f..9dc8991 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Menue.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Menue.yhtm
@@ -5,16 +5,7 @@
<script type="text/javascript" src="/Y_yweb.js"></script>
<script type="text/javascript">
function init(){
- var menu=ext.select_menu('info');
- menu.each(function(e){
- var el=new Element('li').update(
- new Element('a', {'target':'work',
- 'title': e.get('desc'),
- 'href': e.get('file')
- }).update("-"+e.get('menuitem'))
- );
- $('secmenu').insert({'bottom':el});
- });
+ add_yExtensions('info', 'secmenu_info');
}
</script>
</head>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_Menue.yhtm
index 2781d89..b3aef57 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_Menue.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_Menue.yhtm
@@ -22,26 +22,9 @@ function epg_plus_popup() {
window.open("Y_EPG_Plus.yhtm","_blank","resizable=yes,scrollbars=yes");
}
function init(){
- var menu=ext.select_menu('live');
- menu.each(function(e){
- var el=new Element('li').update(
- new Element('a', {'target':'work',
- 'title': e.get('desc'),
- 'href': e.get('file')
- }).update("-"+e.get('menuitem'))
- );
- $('secmenu_live').insert({'bottom':el});
- });
- var menu=ext.select_menu('timer');
- menu.each(function(e){
- var el=new Element('li').update(
- new Element('a', {'target':'work',
- 'title': e.get('desc'),
- 'href': e.get('file')
- }).update("-"+e.get('menuitem'))
- );
- $('secmenu_timer').insert({'bottom':el});
- });
+ add_yExtensions('live', 'secmenu_live');
+ add_yExtensions('epg', 'secmenu_epg');
+ add_yExtensions('timer', 'secmenu_timer');
}
//]]>
</script>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Menue.yhtm
index 851bec9..2e4199d 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Menue.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Menue.yhtm
@@ -50,16 +50,7 @@ function i_start()
g_i_counter = 0;
i_clock();
g_i_active = window.setInterval('i_interval()', 1000);
- var mainmenu=ext.select_menu('main');
- mainmenu.each(function(e){
- var el=new Element('li').update(
- new Element('a', {'class':'y_menu_prim_item', 'target':'base',
- 'title': e.get('desc'),
- 'href': e.get('file')
- }).update(e.get('menuitem'))
- );
- $('menu_prim').insert({'bottom':el});
- });
+ add_yExtensions('main', 'menu_prim');
}
function i_stop()
{
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_Menue.yhtm
index 4608091..da764a7 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_Menue.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_Menue.yhtm
@@ -5,36 +5,9 @@
<script type="text/javascript" src="/Y_yweb.js"></script>
<script type="text/javascript">
function init(){
- var menu=ext.select_menu('settings_general');
- menu.each(function(e){
- var el=new Element('li').update(
- new Element('a', {'target':'work',
- 'title': e.get('desc'),
- 'href': e.get('file')
- }).update("-"+e.get('menuitem'))
- );
- $('secmenu_general').insert({'bottom':el});
- });
- var menu=ext.select_menu('settings_neutrino');
- menu.each(function(e){
- var el=new Element('li').update(
- new Element('a', {'target':'work',
- 'title': e.get('desc'),
- 'href': e.get('file')
- }).update("-"+e.get('menuitem'))
- );
- $('secmenu_neutrino').insert({'bottom':el});
- });
- var menu=ext.select_menu('settings_plugins');
- menu.each(function(e){
- var el=new Element('li').update(
- new Element('a', {'target':'work',
- 'title': e.get('desc'),
- 'href': e.get('file')
- }).update("-"+e.get('menuitem'))
- );
- $('secmenu_plugins').insert({'bottom':el});
- });
+ add_yExtensions('settings_general', 'secmenu_general');
+ add_yExtensions('settings_neutrino', 'secmenu_neutrino');
+ add_yExtensions('settings_plugins', 'secmenu_plugins');
}
</script>
</head>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Menue.yhtm
index 316936d..c34cef8 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Menue.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Menue.yhtm
@@ -7,26 +7,9 @@ function cmd_popup(){
window.open('Y_Tools_Cmd.yhtm','cmd','width=720,height=470,resizable=yes');
}
function init(){
- var menu=ext.select_menu('tools');
- menu.each(function(e){
- var el=new Element('li').update(
- new Element('a', {'target':'work',
- 'title': e.get('desc'),
- 'href': e.get('file')
- }).update("-"+e.get('menuitem'))
- );
- $('secmenu_tools').insert({'bottom':el});
- });
- var menu=ext.select_menu('expert');
- menu.each(function(e){
- var el=new Element('li').update(
- new Element('a', {'target':'work',
- 'title': e.get('desc'),
- 'href': e.get('file')
- }).update("-"+e.get('menuitem'))
- );
- $('secmenu_expert').insert({'bottom':el});
- });
+ add_yExtensions('tools', 'secmenu_tools');
+ add_yExtensions('expert', 'secmenu_expert');
+ add_yExtensions('yweb', 'secmenu_yweb');
}
</script>
</head>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt
index d116d59..2d2231c 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.5
+version=2.8.0.6
date=12.03.2015
type=Release
info=Tuxbox
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_yweb.js b/tuxbox/neutrino/daemons/nhttpd/web/Y_yweb.js
index 6691391..ecd729d 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_yweb.js
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_yweb.js
@@ -1,7 +1,7 @@
/* yWeb by yjogol
internal organisation of yweb
- $Date: 2008/02/24 08:23:12 $
- $Revision: 1.1 $
+ $Date$
+ $Revision$
*/
/* define namespace */
@@ -182,6 +182,22 @@ Object.extend(Y.extension.prototype, {
},this);
}
});
+
+function add_yExtensions(_ymenu, _id) {
+ var menu=ext.select_menu(_ymenu);
+ menu.each(function(e){
+ var el=new Element('li').update(
+ new Element('a', {
+ 'class': (_ymenu == 'main') ? 'y_menu_prim_ext' : 'y_menu_sec_ext',
+ 'target': (_ymenu == 'main') ? 'base' : 'work',
+ 'title': e.get('desc'),
+ 'href': e.get('file')
+ }).update(e.get('menuitem'))
+ );
+ $(_id).insert({'bottom':el});
+ });
+}
+
/* singleton pattern*/
if (window == top.top_main.prim_menu) {
var ext = new Y.extension();
-----------------------------------------------------------------------
Summary of changes:
.../daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm | 12 +------
.../neutrino/daemons/nhttpd/web/Y_Info_Menue.yhtm | 11 +------
.../neutrino/daemons/nhttpd/web/Y_Live_Menue.yhtm | 23 ++------------
tuxbox/neutrino/daemons/nhttpd/web/Y_Menue.yhtm | 11 +------
.../daemons/nhttpd/web/Y_Settings_Menue.yhtm | 33 ++------------------
.../neutrino/daemons/nhttpd/web/Y_Tools_Menue.yhtm | 23 ++------------
tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 2 +-
tuxbox/neutrino/daemons/nhttpd/web/Y_yweb.js | 20 +++++++++++-
8 files changed, 31 insertions(+), 104 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-12 16:14:13
|
Project "Tuxbox-GIT: cdk":
The branch, master has been updated
via ae11d7818a2bf0565ff2399a9b26739f590bc4a2 (commit)
from 8a0af951e3f2d053221463c36de8544bee8d67e9 (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 ae11d7818a2bf0565ff2399a9b26739f590bc4a2
Author: GetAway <get...@t-...>
Date: Thu Mar 12 17:06:21 2015 +0100
yweb: add using styles
Signed-off-by: GetAway <get...@t-...>
diff --git a/make/neutrino.mk b/make/neutrino.mk
index 866dfa2..2cce6f3 100644
--- a/make/neutrino.mk
+++ b/make/neutrino.mk
@@ -12,6 +12,7 @@ neutrino: $(appsdir)/tuxbox/neutrino/config.status
$(MAKE) -C $(appsdir)/tuxbox/neutrino all
$(MAKE) -C $(appsdir)/tuxbox/neutrino install
$(MAKE) neutrino-additional-fonts
+ $(MAKE) var-httpd-styles
flash-neutrino: $(flashprefix)/root-neutrino
@@ -20,6 +21,7 @@ $(flashprefix)/root-neutrino: $(appsdir)/tuxbox/neutrino/config.status
$(MAKE) -C $(appsdir)/tuxbox/neutrino install prefix=$@
$(MAKE) -C $(appsdir)/dvb/zapit install prefix=$@
$(MAKE) neutrino-additional-fonts targetprefix=$@
+ $(MAKE) var-httpd-styles targetprefix=$@
if ENABLE_ESD
$(INSTALL) $(targetprefix)/bin/esd $@/bin
endif
@@ -42,3 +44,9 @@ neutrino-additional-fonts:
cp $(appsdir)/tuxbox/enigma/data/fonts/bluehigh.ttf $(targetprefix)/share/fonts
cp $(appsdir)/tuxbox/enigma/data/fonts/pakenham.ttf $(targetprefix)/share/fonts
cp $(appsdir)/tuxbox/enigma/data/fonts/unmrs.pfa $(targetprefix)/share/fonts
+
+var-httpd-styles:
+ install -d $(targetprefix)/var/httpd
+ install -d $(targetprefix)/var/httpd/styles
+ cp $(appsdir)/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist.css $(targetprefix)/var/httpd
+ ln -sf /var/httpd/Y_Dist.css $(targetprefix)/share/tuxbox/neutrino/httpd-y/Y_Dist.css
-----------------------------------------------------------------------
Summary of changes:
make/neutrino.mk | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
--
Tuxbox-GIT: cdk
|
|
From: GetAway <tux...@ne...> - 2015-03-12 16:13:19
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 4bd37d828870929f2f3754fd25bfe2f6e2675ca6 (commit)
from 23f4f98f11bcce0475c1b8bcd2d80cf3739f3367 (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 4bd37d828870929f2f3754fd25bfe2f6e2675ca6
Author: svenhoefer <sve...@sv...>
Date: Thu Mar 12 17:10:33 2015 +0100
yweb: add using styles
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/configure.ac b/tuxbox/neutrino/configure.ac
index 8add3cc..d75ac2f 100644
--- a/tuxbox/neutrino/configure.ac
+++ b/tuxbox/neutrino/configure.ac
@@ -272,6 +272,7 @@ daemons/nhttpd/Makefile
daemons/nhttpd/web/Makefile
daemons/nhttpd/web/images/Makefile
daemons/nhttpd/web/scripts/Makefile
+daemons/nhttpd/web/styles/Makefile
daemons/nhttpd/tuxboxapi/Makefile
daemons/nhttpd/yhttpd_core/Makefile
daemons/nhttpd/yhttpd_mods/Makefile
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Makefile.am b/tuxbox/neutrino/daemons/nhttpd/web/Makefile.am
index 6e4e738..b38a201 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Makefile.am
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = images scripts
+SUBDIRS = images scripts styles
install-data-local:
for f in ./*.js; do gzip $$f -c >$$f.gz; done
@@ -12,4 +12,4 @@ install-data-local:
install -m 0644 *.ico $(DATADIR)/neutrino/httpd-y
uninstall-local:
- -rm -rf $(DATADIR)/neutrino/httpd-y
\ No newline at end of file
+ -rm -rf $(DATADIR)/neutrino/httpd-y
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
index c220447..1e67ab6 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
@@ -30,6 +30,7 @@ start-block~yWeb_save_settings
{=ini-set:/var/tuxbox/config/Y-Web.conf;wol_desc_2;{=wol_desc_2=}~cache=}
{=ini-set:/var/tuxbox/config/Y-Web.conf;wol_desc_3;{=wol_desc_3=}~cache=}
{=ini-set:/var/tuxbox/config/Y-Web.conf;fb;{=fb=}~cache=}
+{=ini-set:/var/tuxbox/config/Y-Web.conf;style;{=style=}~cache=}
{=ini-set:/var/tuxbox/config/Y-Web.conf;yweb_box_name;{=yweb_box_name=}~cache=}
{=ini-set:/var/tuxbox/config/Y-Web.conf;yweb_box_color;{=yweb_box_color=}~save=}
end-block~yWeb_save_settings
@@ -276,6 +277,8 @@ start-block~head
<meta http-equiv="expires" content="0" />
<title>yWeb</title>
<link rel="stylesheet" type="text/css" href="/Y_Main.css" />
+<link rel="stylesheet" type="text/css" href="/Y_Dist.css" />
+<link rel="stylesheet" type="text/css" href="/Y_User.css" />
end-block~head
# ------- Lay-HEAD
@@ -287,6 +290,8 @@ start-block~headCache
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>yWeb</title>
<link rel="stylesheet" type="text/css" href="/Y_Main.css" />
+<link rel="stylesheet" type="text/css" href="/Y_Dist.css" />
+<link rel="stylesheet" type="text/css" href="/Y_User.css" />
end-block~headCache
# ------- Lay-HEAD without charset
@@ -297,6 +302,8 @@ start-block~head_no_charset
<head>
<title>yWeb</title>
<link rel="stylesheet" type="text/css" href="/Y_Main.css" />
+<link rel="stylesheet" type="text/css" href="/Y_Dist.css" />
+<link rel="stylesheet" type="text/css" href="/Y_User.css" />
end-block~head_no_charset
# ------- Lay-Frame HEAD
@@ -307,6 +314,8 @@ start-block~frame_head
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/Y_Main.css" />
+<link rel="stylesheet" type="text/css" href="/Y_Dist.css" />
+<link rel="stylesheet" type="text/css" href="/Y_User.css" />
<title>yWeb</title>
end-block~frame_head
@@ -318,6 +327,8 @@ start-block~frame_iso_head
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="/Y_Main.css" />
+<link rel="stylesheet" type="text/css" href="/Y_Dist.css" />
+<link rel="stylesheet" type="text/css" href="/Y_User.css" />
<title>yWeb</title>
end-block~frame_iso_head
@@ -342,7 +353,7 @@ end-block~frame_main
start-block~page_frame_rest
{=include-block:Y_Blocks.txt;head=}
</head>
-<body style="background : white;">
+<body>
</body>
</html>
end-block~page_frame_rest
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquetlist.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquetlist.yhtm
index e8b695b..cf4d429 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquetlist.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Bouquetlist.yhtm
@@ -1,7 +1,7 @@
{=include-block:Y_Blocks.txt;head_no_charset=}
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
</head>
-<body>
+<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><td><hr/></td></tr>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Channellist.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Channellist.yhtm
index 7baed8e..195ca2f 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Channellist.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Channellist.yhtm
@@ -20,9 +20,9 @@ function do_streaminfo()
//]]>
</script>
</head>
-<body>
+<body class="iframe">
<table class="bouquetitemlist">
{=func:get_bouquets_with_epg {=bouquet=}=}
</table>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm
index 7bd5bdc..a3e1a80 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm
@@ -1,4 +1,3 @@
-{=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>
@@ -117,7 +116,7 @@ function init(){
<table class="y_text_boxcontrol_table" cellspacing="0" cellpadding="0" title="volumen display">
<tr>
<td id="audiobar_left" width="100%"><img src="/images/blank.gif" height="1" width="0" alt="."/></td>
- <td id="audiobar_right" width="0%" bgcolor="white"><img src="/images/blank.gif" height="1" width="0" alt="."/></td>
+ <td id="audiobar_right" width="0%"><img src="/images/blank.gif" height="1" width="0" alt="."/></td>
</tr>
</table>
<br/>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_LiveViewFull.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_LiveViewFull.yhtm
index a545417..336b00a 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_LiveViewFull.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_LiveViewFull.yhtm
@@ -22,12 +22,12 @@ function setTranscode()
<div class="work_box_body">
<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="390" scrolling="no" align="left" marginheight="0" marginwidth="0" frameborder="0">
+ <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.
</iframe>
</td>
<td>
- <iframe name="col2" src="Y_blank.htm" height="400" width="350" scrolling="auto" marginheight="0" marginwidth="0" frameborder="0">
+ <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.
</iframe>
</td>
@@ -42,4 +42,4 @@ function setTranscode()
</script>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_EPG.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_EPG.yhtm
index 0f9f232..02a944d 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_EPG.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_EPG.yhtm
@@ -104,7 +104,7 @@ function _show_epg()
</script>
</head>
{=var-set:wait_text=EPG wird geladen.=}{=include-block:Y_Blocks.txt;snip_show_wait=}
-<body onload="show_epg()">
+<body onload="show_epg()" class="iframe">
<table id="epglist" class="y_invisible_table" cellpadding="4" cellspacing="0" width="100%">
<thead align="left">
<tr>
@@ -117,4 +117,4 @@ function _show_epg()
</table>
<br />
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_EPG_Info.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_EPG_Info.yhtm
index cb02136..516c598 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_EPG_Info.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Live_EPG_Info.yhtm
@@ -12,11 +12,11 @@ function show_info(_desc, _info1, _info2)
</script>
</head>
<a href="javascript:window.history.back()"><u>Zurück</u></a>
-<body>
+<body class="iframe">
<div class="y_epg_info">
<div id="description"> </div>
<div id="info1"> </div>
<div id="info2">Für Details: Maus über die entsprechende Sendung bewegen.</div>
</div>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_Menue.yhtm
index 35a7d75..4608091 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_Menue.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_Menue.yhtm
@@ -62,7 +62,6 @@ function init(){
<li><a title="backup or restore settings" target="work" href="Y_Settings_Backup.yhtm">Backup & Restore</a></li>
<li><a title="SyncTimer Settings" target="work" href="Y_Settings_Timer.yhtm">Timer Settings</a></li>
=}
- <!--<li><a title="change layout skin" target="work" href="Y_Settings_Skin.yhtm">Skins</a></li>-->
</ul>
</div>
<div class="y_menu_sec_section">Neutrino</div>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_yWeb.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_yWeb.yhtm
index c746421..697310e 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_yWeb.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings_yWeb.yhtm
@@ -5,8 +5,25 @@
//<![CDATA[
function do_submit(){
show_waitbox(true);
+ do_reload = false;
+ style_new = document.f.style.value;
+ if (style_old != style_new)
+ {
+ do_reload = true;
+ loadSyncURL("/control/exec?Y_Tools&style_set&" + style_new);
+ }
yhttpd_cache_clear("");
document.f.submit();
+ if (do_reload == true)
+ {
+ alert("Style changed. Maybe you'll have to reload this site.");
+ /* ugly mess */
+ top.top_main.prim_menu.location.reload();
+ top.top_main.base.sec_menu.location.reload();
+ //FIXME top.top_main.base.work.location.reload();
+ top.top_left.location.reload();
+ top.top_right.location.reload();
+ }
}
function do_init(){
val = "{=ini-get:/var/tuxbox/config/Y-Web.conf;fb;default~open=}";
@@ -16,9 +33,16 @@ function do_init(){
case "Nokia": sel=1; break;
}
document.f.fb.selectedIndex = sel;
+ style_old = "{=ini-get:/var/tuxbox/config/Y-Web.conf;style~cache=}";
}
//]]>
</script>
+<style type="text/css">
+input[type="text"],
+select {
+ width: 220px;
+}
+</style>
</head>
<body onload="do_init()">
{=var-set:wait_text=Werte werden übernommen (Save).=}{=include-block:Y_Blocks.txt;snip_wait=}
@@ -75,6 +99,14 @@ function do_init(){
<option value="Nokia">Nokia</option>
<option value="Sagem">Sagem/Philips</option>
</tr>
+ <tr>
+ <td>Styles</td>
+ <td>
+ <select name="style" title="Style">
+ {=script:Y_Tools style_get=}
+ </select>
+ </td>
+ </tr>
</table>
<br/>
<input type="hidden" name="tmpl" value="Y_Settings_yWeb.yhtm"/>
@@ -83,7 +115,6 @@ function do_init(){
</form>
</div>
</div>
-
</body>
</html>
{=include-block:Y_Blocks.txt;management_check_bottom=}
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Info_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Info_Menue.yhtm
index 2970e9a..5f4c433 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Info_Menue.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_Info_Menue.yhtm
@@ -46,4 +46,4 @@ function goUrl(_url)
<div id="out"></div>
</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_User.css b/tuxbox/neutrino/daemons/nhttpd/web/Y_User.css
new file mode 100644
index 0000000..aea4ab4
--- /dev/null
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_User.css
@@ -0,0 +1,10 @@
+/* Y_User.css - User style sheet for yWeb */
+
+/*
+body {
+ background-color: #eee;
+}
+body.iframe {
+ background-color: #fff;
+}
+*/
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt
index df1da7b..d116d59 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.4
-date=08.03.2015
+version=2.8.0.5
+date=12.03.2015
type=Release
info=Tuxbox
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_blank.htm b/tuxbox/neutrino/daemons/nhttpd/web/Y_blank.htm
index fc906f3..8eac065 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_blank.htm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_blank.htm
@@ -4,8 +4,10 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>yWeb</title>
+<link rel="stylesheet" type="text/css" href="/Y_Main.css" />
+<link rel="stylesheet" type="text/css" href="/Y_Dist.css" />
+<link rel="stylesheet" type="text/css" href="/Y_User.css" />
</head>
<body>
-
</body>
</html>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh
index f1c9b77..1a3412e 100755
--- a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh
+++ b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh
@@ -7,48 +7,60 @@
. ./_Y_Globals.sh
. ./_Y_Library.sh
# ===========================================================
-# Settings : Skins
+# Settings : Style
# ===========================================================
# -----------------------------------------------------------
-# Skin Liste
+# Style List
# -----------------------------------------------------------
-skin_get()
+style_get()
{
check_Y_Web_conf
- active_skin=`config_get_value_direct $y_config_Y_Web 'skin'`
+ active_style=$(config_get_value_direct $y_config_Y_Web 'style')
+
+ y_path_directory=$(config_get_value_direct $y_config_nhttpd 'WebsiteMain.directory')
+ y_path_override_directory=$(config_get_value_direct $y_config_nhttpd 'WebsiteMain.override_directory')
+
+ style_list=""
+ style_list="$style_list $(find $y_path_override_directory/styles -name 'Y_Dist-*')"
+ style_list="$style_list $(find $y_path_directory/styles -name 'Y_Dist-*')"
+
+ f_list=""
html_option_list=""
- skin_list=`find $y_path_httpd -name 'Y_Main-*'`
- for f in $skin_list
+ for f in $style_list
do
- skin=`echo "$f"|sed -e s/^.*Y_Main-//g|sed -e s/.css//g`
- if [ "$skin" = "$active_skin" ]
+ echo $f_list | grep ${f##*/}
+ if [ $? == 0 ]; then
+ continue
+ fi
+ f_list="$f_list ${f##*/}"
+
+ style=$(echo "$f" | sed -e s/^.*Y_Dist-//g | sed -e s/.css//g)
+ if [ "$style" = "$active_style" ]
then
- selec="selected"
+ sel="selected='selected'"
else
- selec=""
+ sel=""
fi
- opt="<option $selec value='$skin'>$skin</option>"
+ opt="<option value=\"${style}\" ${sel}>${style}</option>"
html_option_list="$html_option_list $opt"
done
echo "$html_option_list"
}
# -----------------------------------------------------------
-# Skin setzen : css ueberschreiben $1=Skin-Name
+# Set Style: override Y_Main.css $1=Style-Name
# -----------------------------------------------------------
-skin_set()
+style_set()
{
- cd $y_path_httpd
- cp Y_Main-$1.css Y_Main.css
- if [ -e global-$1.css ]
- then
- cp global-$1.css global.css
+ y_path_directory=$(config_get_value_direct $y_config_nhttpd 'WebsiteMain.directory')
+ y_path_override_directory=$(config_get_value_direct $y_config_nhttpd 'WebsiteMain.override_directory')
+
+ cd $y_path_directory
+ if [ -e $y_path_override_directory/styles/Y_Dist-$1.css ]; then
+ cp $y_path_override_directory/styles/Y_Dist-$1.css Y_Dist.css
else
- cp global-Standard.css global.css
+ cp $y_path_directory/styles/Y_Dist-$1.css Y_Dist.css
fi
- config_set_value_direct $y_config_Y_Web 'skin' $1
-
- msg="Skin geaendert - Jetzt Browser Refresh/Aktualisierung ausfuehren"
- y_format_message_html
+ #config_set_value_direct $y_config_Y_Web 'style' $1
}
# -----------------------------------------------------------
# Image Backup - build form
@@ -368,23 +380,31 @@ do_installer()
rm -f $y_install # clean up
if [ -s "$y_out_html" ] #html - output?
then
- echo '<html><head><link rel="stylesheet" type="text/css" href="/Y_Main.css">'
- echo "<meta http-equiv='refresh' content='0; $y_out_html'></head>"
- echo "<body><a href='$y_out_html'>Falls automatische Weiterleitung nicht geht.</a>"
+ echo '<html><head>'
+ echo '<link rel="stylesheet" type="text/css" href="/Y_Main.css">'
+ echo '<link rel="stylesheet" type="text/css" href="/Y_Dist.css">'
+ 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></html>'
# cat $y_out_html
else
- echo '<html><head><link rel="stylesheet" type="text/css" href="/Y_Main.css"></head>'
+ echo '<html><head>'
+ echo '<link rel="stylesheet" type="text/css" href="/Y_Main.css">'
+ echo '<link rel="stylesheet" type="text/css" href="/Y_Dist.css">'
+ echo '<link rel="stylesheet" type="text/css" href="/Y_User.css">'
+ echo '</head>'
echo '<body>'
echo "$o"
echo '</body></html>'
fi
else
- msg="$y_install nicht gefunden"
+ msg="$y_install not found"
y_format_message_html
fi
else
- msg="Upload-Problem.<br>Bitte nochmal hochladen."
+ msg="Upload-Problem.<br>Try again, please."
y_format_message_html
fi
}
@@ -534,8 +554,8 @@ restart_neutrino()
#debug
echo "call:$*" >> "/tmp/debug.txt"
case "$1" in
- skin_set) skin_set $2 ;;
- skin_get) skin_get ;;
+ style_set) style_set $2 ;;
+ style_get) style_get ;;
image_upload) image_upload ;;
image_backup) image_backup_mtd $2; echo "/tmp/flash_mtd$2.img" ;;
image_flash) shift 1; flash_mtd $* ;;
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/scripts/_Y_Library.sh b/tuxbox/neutrino/daemons/nhttpd/web/scripts/_Y_Library.sh
index 6cd00b9..e128f6c 100755
--- a/tuxbox/neutrino/daemons/nhttpd/web/scripts/_Y_Library.sh
+++ b/tuxbox/neutrino/daemons/nhttpd/web/scripts/_Y_Library.sh
@@ -73,7 +73,9 @@ buildStreamingAudioRawURL()
y_format_message_html()
{
tmp="<html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>"
- tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'></head>"
+ tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'>"
+ tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Dist.css'>"
+ tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_User.css'></head>"
tmp="$tmp <body><div class='work_box'><div class='work_box_head'><div class='work_box_head_h2'>Results</div></div><div class='work_box_body' style='overflow:auto'>"
tmp="$tmp <pre>\n$msg\n</pre></div></div></body></html>"
@@ -83,7 +85,9 @@ y_format_message_html()
y_format_message_html2()
{
tmp="<html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>"
- tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'></head>"
+ tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'>"
+ tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Dist.css'>"
+ tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_User.css'></head>"
tmp="$tmp <body><div class='work_box'><div class='work_box_head'><div class='work_box_head_h2'>Results</div></div><div class='work_box_body'>"
tmp="$tmp $msg</div></div></body></html>"
echo "$tmp"
@@ -91,7 +95,9 @@ y_format_message_html2()
y_format_message_html_plain()
{
tmp="<html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1252'>"
- tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'></head>"
+ tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Main.css'>"
+ tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_Dist.css'>"
+ tmp="$tmp <link rel='stylesheet' type='text/css' href='/Y_User.css'></head>"
tmp="$tmp <body>$msg</body></html>"
echo "$tmp"
}
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/styles/.gitignore b/tuxbox/neutrino/daemons/nhttpd/web/styles/.gitignore
new file mode 100644
index 0000000..c038ed7
--- /dev/null
+++ b/tuxbox/neutrino/daemons/nhttpd/web/styles/.gitignore
@@ -0,0 +1,2 @@
+Makefile
+Makefile.in
\ No newline at end of file
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/styles/Makefile.am b/tuxbox/neutrino/daemons/nhttpd/web/styles/Makefile.am
new file mode 100644
index 0000000..7dc7c03
--- /dev/null
+++ b/tuxbox/neutrino/daemons/nhttpd/web/styles/Makefile.am
@@ -0,0 +1,6 @@
+install-data-local:
+ install -d $(DATADIR)/neutrino/httpd-y/styles
+ install -m 0644 Y_Dist-*.css $(DATADIR)/neutrino/httpd-y/styles
+
+uninstall-local:
+ -rm -rf $(DATADIR)/neutrino/httpd-y/styles
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-GreyBlue.css b/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-GreyBlue.css
new file mode 100644
index 0000000..d934c56
--- /dev/null
+++ b/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-GreyBlue.css
@@ -0,0 +1,425 @@
+/* Grey Blue - yweb style by OneOfNine */
+
+body {
+ background-color: #303030;
+ color: #ffffff;
+}
+body.iframe {
+ background-color: #272525;
+ color: #ffffff;
+}
+
+button[ytype]{
+ color: #ffffff;
+ background-position: 5px;
+ background-attachment: scroll;
+ background-color: #303030;
+ background-repeat: no-repeat;
+ padding-left: 25px;
+ padding-right: 5px;
+ vertical-align: middle;
+ text-align:left;
+}
+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.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);}
+button[ytype="timedown"]{background-image:url(/images/time_down.png);}
+button[ytype="timeadd"]{background-image:url(/images/time_add.png);}
+button[ytype="snapshot"]{background-image:url(/images/snapshot.png);}
+button[ytype="clearshot"]{background-image:url(/images/remove.png);}
+button[ytype="switchrc"]{background-image:url(/images/fb.png);}
+button[ytype="go"]{background-image:url(/images/accept.png);}
+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);}
+button[ytype="edit"]{background-image:url(/images/modify.png);}
+button[ytype="flash"]{background-image:url(/images/flash.png);}
+
+button[ytype="no"] {
+ padding-left: 5px
+}
+
+/*TODO: input file*/
+button[type="button"] {
+ height: 22px;
+ border: 1px solid #444444;
+ background-color: #303030;
+ border-radius: 3px;
+ color: #ffffff;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+}
+button:hover,input[type="button"]:hover,input[type="submit"]:hover,input[type="file"]:hover {
+ position:relative;
+ left:1px;
+ top:1px;
+ background-color: #303030;
+ color: #ffffff;
+}
+
+input {
+ height: 22px;
+ border: 1px solid #444444;
+ background-color: #303030;
+ border-radius: 3px;
+ color: #ffffff;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+}
+
+input[type="text"]:focus,input[type="password"]:focus{
+ border: 1px solid #444444;
+ background: #343434;
+}
+
+select {
+ height: 22px;
+ border: 1px solid #444444;
+ background-color: #303030;
+ border-radius: 3px;
+ color: #ffffff;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+}
+
+a {
+ color: #ffffff;
+}
+td {
+ color: #ffffff;
+}
+tr {
+ color: #ffffff;
+}
+
+hr {
+ border: none;
+ border-top: solid #ffffff 1px;
+ height: 1px;
+}
+
+.y_menu_prim_box {
+ border-color: #000;
+}
+.y_menu_prim_box_head {
+ background: #272525;
+}
+.y_menu_prim_box_body {
+ background-color: #272525;
+}
+.y_menu_prim_box_body #prim span,
+.y_menu_prim_box_body #box_name,
+.y_menu_prim_box_body #clock {
+ text-shadow: 1px 1px 1px #000;
+}
+.y_menu_prim li a {
+ text-shadow: 1px 1px 1px #000;
+}
+.y_menu_prim li a:hover {
+ color: #518eea;
+}
+.y_menu_prim li.selected a {
+ color: #ffffff;
+}
+
+.y_menu_sec_box {
+ border-color: #000;
+}
+.y_menu_sec_box_head {
+ background: #000000;
+}
+.y_menu_sec_box_head h2 {
+ color: #518eea;
+/*
+ text-shadow: 1px 1px 1px #000;
+*/
+ text-shadow: 0 -1px #000025, 1px 0 #000025, 0 1px #000025, -1px 0 #000025, #000 1px 1px 1px;
+}
+.y_menu_sec_box_body {
+ background-color: #272525;
+}
+.y_menu_sec li {
+ color: #ffffff;
+}
+.y_menu_sec li.plain a {
+ color: #ffffff
+}
+.y_menu_sec li a:hover {
+ color: #518eea;
+}
+.y_menu_sec_section {
+ background-color: #3e8bfe;
+ color: #ffffff;
+ text-shadow: 0 -1px #000025, 1px 0 #000025, 0 1px #000025, -1px 0 #000025, #000 1px 1px 1px;
+}
+
+.work_box {
+ border-color: #000;
+}
+.work_box_head {
+ background-color: #00006e;
+}
+.work_box_head h2,.work_box_head_h2 {
+ background-color: #000000;
+ color: #518eea;
+ text-shadow: 0 -1px #000025, 1px 0 #000025, 0 1px #000025, -1px 0 #000025, #000 1px 1px 1px;
+}
+.work_box_body {
+ background-color: #272525;
+}
+
+.y_wait_box {
+ border: 1px solid #000;
+}
+.y_wait_box_visible {
+ border: 1px solid #000;
+}
+.y_wait_box_head {
+ background: #000000;
+ color: #3e8bfe;
+}
+.y_wait_box_head h2 {
+ text-shadow: 0 -1px #000025, 1px 0 #000025, 0 1px #000025, -1px 0 #000025, #000 1px 1px 1px;
+ color: #3e8bfe;
+}
+.y_wait_box_body {
+ background-color: #272525;
+}
+
+.y_table,.y_form_table,.y_invisible_table,y_form table {
+ color: #ffffff;
+}
+.y_live_button {
+ color: #ffffff;
+}
+
+.y_live_bouquets {
+ color: #ffffff;
+}
+
+.y_live_channels
+{
+ color: #ffffff;
+}
+.y_live_audio_pids
+{
+ color: #ffffff;
+}
+
+.y_form_header_oline {
+ color : #ffffff;
+}
+
+.y_form_header {
+ border-bottom : 1px solid #ffffff;
+ color : #ffffff;
+ padding-top:0.5em;
+}
+
+.y_form_section {
+ color : #ffffff;
+}
+
+.y_text_boxcontrol_table {
+ border-color: #303030;
+}
+
+.y_text_boxcontrol_table_progress {
+ border-color: #303030;
+}
+.y_text_boxcontrol_div_progress {
+ border-color: #303030;
+}
+#audiobar_right,
+#sigbar_right,
+#snrbar_right {
+ background-color: #272525;
+}
+
+.y_epg_info {
+ border: none;
+ background-color: #202020;
+}
+.y_epg_info #description,
+.y_epg_info #info1,
+.y_epg_info #info2 {
+ background-color: #272525;
+}
+
+.bouquetitemlist .logo_cell {
+ background: #303030;
+ border-bottom: 1px solid #272525;
+}
+
+.channel_logo {
+ background: #343434;
+}
+
+.channel_logos
+{
+ background: #343434;
+}
+
+#epg_plus {
+ border-color : #000;
+}
+.ep_bouquet {
+ border-color : #000;
+}
+.ep_bouquet_name {
+ background: #333333;
+ border-color : #333333;
+}
+.ep_bouquet_name a {
+}
+.ep_bouquet_item {
+ border-color : #333333;
+}
+.ep_bouquet_item:hover {
+ background-color: #444444;
+}
+.ep_bouquet_item span:hover {
+}
+.ep_bouquet_rec {
+ border-color : #ff0000;
+}
+.ep_bouquet_zap {
+ border-color : #440044;
+}
+.ep_time_bar {
+ border-color : #000;
+}
+.ep_time_bar_item {
+ border-color : #000;
+}
+.ep_info_desc {
+}
+.ep_info_info1 {
+}
+.ep_info_info2 {
+}
+
+#epg_info {
+ border : #999999 solid 1px;
+ background-color: #000025;
+}
+#epg_time {
+}
+
+#epglist tbody tr:hover {
+ background-color: #00006e;
+}
+.a
+{
+ background-color: #333333;
+}
+.aepg
+{
+ background-color: #333333;
+ border-bottom: 1px solid #272525;
+}
+.b
+{
+ background-color: #444444;
+}
+.bepg
+{
+ background-color: #444444;
+ border-bottom: 1px solid #272525;
+}
+.c
+{
+ background-color: #303030;
+}
+.c a
+{
+}
+.cepg
+{
+ background-color: #303030;
+ border-bottom: 1px solid #272525;
+}
+.cslider_table
+{
+ border: 1px solid #000000;
+}
+.cslider_used
+{
+ background-color: #666666;
+}
+.cslider_free
+{
+ background-color: #303030;
+}
+.cslider_noepg
+{
+ background-color: #272525;
+}
+.epg
+{
+ font-weight: bold;
+ color: #ffffff;
+}
+
+.atimer {
+ background-color: #535353;
+}
+
+.lt_table th {
+ color : #ffffff;
+}
+
+table.screenshot {
+ background: #272525;
+}
+
+img#shot {
+ background-color: #272525;
+ border: 1px solid #000;
+}
+
+/* Filemgr */
+.diag {
+ border-color: #000025;
+ background-color: #272525;
+}
+.toolbar td {
+ border-color: #000025;
+}
+.toolbar img {
+ border:0;
+}
+.toolbar td:hover {
+ background-color: #272525;
+}
+.button {
+ border-color: #000025;
+}
+.button:hover {
+ background-color: #000025;
+}
+.mform {
+}
+
+.filelist a{
+}
+.box {
+ border-color: #000025;
+}
+.epginfo2{
+}
+.detail_title{
+ border-color: #000025;
+ background-color: #272525;
+}
+.detail_title_active{
+ border-color: #000025;
+ background-color: #272525;
+}
+.detail_img {
+}
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-Tuxbox.css b/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-Tuxbox.css
new file mode 100644
index 0000000..35f1301
--- /dev/null
+++ b/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-Tuxbox.css
@@ -0,0 +1,6 @@
+/*
+ Tuxbox yWeb Style - Do not modify.
+
+ When you're a distributor, use your own styles/Y_Dist-<name>.css file.
+ When you're a user, use Y_User.css.
+*/
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist.css b/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist.css
new file mode 100644
index 0000000..35f1301
--- /dev/null
+++ b/tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist.css
@@ -0,0 +1,6 @@
+/*
+ Tuxbox yWeb Style - Do not modify.
+
+ When you're a distributor, use your own styles/Y_Dist-<name>.css file.
+ When you're a user, use Y_User.css.
+*/
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/configure.ac | 1 +
tuxbox/neutrino/daemons/nhttpd/web/Makefile.am | 4 +-
tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt | 13 +-
.../nhttpd/web/Y_Boxcontrol_Bouquetlist.yhtm | 2 +-
.../nhttpd/web/Y_Boxcontrol_Channellist.yhtm | 4 +-
.../daemons/nhttpd/web/Y_Boxcontrol_Menue.yhtm | 3 +-
.../daemons/nhttpd/web/Y_LiveViewFull.yhtm | 6 +-
tuxbox/neutrino/daemons/nhttpd/web/Y_Live_EPG.yhtm | 4 +-
.../daemons/nhttpd/web/Y_Live_EPG_Info.yhtm | 4 +-
.../daemons/nhttpd/web/Y_Settings_Menue.yhtm | 1 -
.../daemons/nhttpd/web/Y_Settings_yWeb.yhtm | 33 ++-
.../daemons/nhttpd/web/Y_Tools_Info_Menue.yhtm | 2 +-
tuxbox/neutrino/daemons/nhttpd/web/Y_User.css | 10 +
tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 4 +-
tuxbox/neutrino/daemons/nhttpd/web/Y_blank.htm | 4 +-
.../neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh | 82 +++--
.../daemons/nhttpd/web/scripts/_Y_Library.sh | 12 +-
.../nhttpd/web/{images => styles}/.gitignore | 0
.../neutrino/daemons/nhttpd/web/styles/Makefile.am | 6 +
.../daemons/nhttpd/web/styles/Y_Dist-GreyBlue.css | 425 ++++++++++++++++++++
.../daemons/nhttpd/web/styles/Y_Dist-Tuxbox.css | 6 +
.../neutrino/daemons/nhttpd/web/styles/Y_Dist.css | 6 +
22 files changed, 577 insertions(+), 55 deletions(-)
create mode 100644 tuxbox/neutrino/daemons/nhttpd/web/Y_User.css
copy tuxbox/neutrino/daemons/nhttpd/web/{images => styles}/.gitignore (100%)
create mode 100644 tuxbox/neutrino/daemons/nhttpd/web/styles/Makefile.am
create mode 100644 tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-GreyBlue.css
create mode 100644 tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist-Tuxbox.css
create mode 100644 tuxbox/neutrino/daemons/nhttpd/web/styles/Y_Dist.css
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-10 16:04:08
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 23f4f98f11bcce0475c1b8bcd2d80cf3739f3367 (commit)
from b517ff2fe64589a6cf2ce06096db690b034f611e (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 23f4f98f11bcce0475c1b8bcd2d80cf3739f3367
Author: GetAway <get...@t-...>
Date: Tue Mar 10 16:31:33 2015 +0100
yweb: use transparent audiobar.png
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/LICENSE b/tuxbox/neutrino/daemons/nhttpd/web/images/LICENSE
index fb77225..9ad4193 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/images/LICENSE
+++ b/tuxbox/neutrino/daemons/nhttpd/web/images/LICENSE
@@ -6,7 +6,6 @@ Published under GPL v2
From Johannes Golombek yj...@on...:
Published under GPL v2
- y.png
-- audiobar.gif
- blank.gif
From old (before yWeb):
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/audiobar.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/audiobar.gif
deleted file mode 100644
index 45974b2..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/audiobar.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/audiobar.png b/tuxbox/neutrino/daemons/nhttpd/web/images/audiobar.png
new file mode 100755
index 0000000..5fcd537
Binary files /dev/null and b/tuxbox/neutrino/daemons/nhttpd/web/images/audiobar.png differ
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/daemons/nhttpd/web/images/LICENSE | 1 -
.../daemons/nhttpd/web/images/audiobar.gif | Bin 634 -> 0 bytes
.../daemons/nhttpd/web/images/audiobar.png | Bin 0 -> 525 bytes
3 files changed, 0 insertions(+), 1 deletions(-)
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/audiobar.gif
create mode 100755 tuxbox/neutrino/daemons/nhttpd/web/images/audiobar.png
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-09 20:37:45
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via b517ff2fe64589a6cf2ce06096db690b034f611e (commit)
from 479837c03c9a5f5a2f52f3fa30a0f1a89e3143d3 (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 b517ff2fe64589a6cf2ce06096db690b034f611e
Author: GetAway <get...@t-...>
Date: Mon Mar 9 21:37:14 2015 +0100
yWeb: increase version (for one commit)
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 bd1046f..df1da7b 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.3
+version=2.8.0.4
date=08.03.2015
type=Release
info=Tuxbox
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-09 20:28:10
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 479837c03c9a5f5a2f52f3fa30a0f1a89e3143d3 (commit)
from cedc4e1954f27b9e4eb40e5d87452d3fd94d121a (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 479837c03c9a5f5a2f52f3fa30a0f1a89e3143d3
Author: GetAway <get...@t-...>
Date: Mon Mar 9 21:27:28 2015 +0100
yWeb: add copyrights to Y_About.yhtm
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 5228365..d9b2619 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_About.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_About.yhtm
@@ -1,5 +1,5 @@
{=var-set:cancache=yPConf=}
-{=include-block:Y_Blocks.txt;headCache=}
+{=include-block:Y_Blocks.txt;head=}
</head>
{=var-set:alt_httpd={=ini-get:/var/tuxbox/config/nhttpd.conf;WebsiteMain.override_directory;/var/httpd=}=}
{=var-set:vf={=if-file-exists:{=var-get:alt_httpd=}/Y_Version.txt~{=var-get:alt_httpd=}/Y_Version.txt~Y_Version.txt=}=}
@@ -19,6 +19,23 @@
<br/><br/>
</td>
</tr>
+ <tr>
+ <td valign="top">COPYRIGHTS</td>
+ <td>
+ yWeb (this Web interface) is licensed under the terms of the Open Source GPL 2 license.<br/>
+ <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0" target="_new" class="exlink">http://www.gnu.org/licenses/old-licenses/gpl-2.0</a>
+ <br/><br/>
+ yWeb uses Icons from famfamfam (<a href="http://www.famfamfam.com" target="_new" class="exlink">http://www.famfamfam.com</a>) which are
+ licensed under Creative Common Attribution License 2.5
+ </td>
+ </tr>
+ <tr>
+ <td valign="top">IMPORTANT</td>
+ <td>
+ Do not make yWeb accessible to untrusted networks!<br/>
+ Otherwise someone else can access your Box.
+ </td>
+ </tr>
</table>
</div>
</div>
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/daemons/nhttpd/web/Y_About.yhtm | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-08 17:53:23
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via cedc4e1954f27b9e4eb40e5d87452d3fd94d121a (commit)
from c0269771d6e848cf3a5421582e997a5e48d51b18 (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 cedc4e1954f27b9e4eb40e5d87452d3fd94d121a
Author: svenhoefer <sve...@sv...>
Date: Sun Mar 8 18:52:35 2015 +0100
yweb: show Y_About.yhtm at a click on the info link
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 3d99daf..c220447 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
@@ -415,7 +415,7 @@ end-block~frame_ext
# ------- Lay-Frame Info-Menu
start-block~frame_info
{=var-set:sec_menu=Y_Info_Menue.yhtm=}
-{=var-set:work=Y_blank.htm=}
+{=var-set:work=Y_About.yhtm=}
{=include-block:Y_Blocks.txt;frame_secondary=}
end-block~frame_info
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt
index eefefea..bd1046f 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt
@@ -1,6 +1,4 @@
-version=2.8.0.2
+version=2.8.0.3
date=08.03.2015
type=Release
info=Tuxbox
-
-
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt | 2 +-
tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-08 17:36:48
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via c0269771d6e848cf3a5421582e997a5e48d51b18 (commit)
from 2ec785972ec92ccf0cc1d87cbef44d27a6581e0c (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 c0269771d6e848cf3a5421582e997a5e48d51b18
Author: GetAway <get...@t-...>
Date: Sun Mar 8 18:31:21 2015 +0100
yweb: yweb: increase version (for two commits)
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 16e1d94..eefefea 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.0
+version=2.8.0.2
date=08.03.2015
type=Release
info=Tuxbox
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-08 17:26:12
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 2ec785972ec92ccf0cc1d87cbef44d27a6581e0c (commit)
from d0e163f1cc00ad1343d79395ca3e0a707535e3ca (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 2ec785972ec92ccf0cc1d87cbef44d27a6581e0c
Author: GetAway <get...@t-...>
Date: Sun Mar 8 18:25:19 2015 +0100
yweb: give fbshot more time
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_remote_osd.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_remote_osd.yhtm
index 9bbae81..e5bc906 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_remote_osd.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Tools_remote_osd.yhtm
@@ -7,6 +7,9 @@ function rcsim(_key) {
do_dboxshot();
}
function do_dboxshot(){
+ window.setTimeout("do_dboxshot2()", 1000);
+}
+function do_dboxshot2(){
var res = dbox_exec_tools("fbshot -r -o /tmp/a.bmp");
if(res != "")
dbox_exec_tools("fbshot -o /tmp/a.bmp");
@@ -18,7 +21,6 @@ function do_clearshot(){
}
function do_clearshot2(){
dbox_exec_tools("fbshot_clear");
- show_waitbox(false);
}
//]]>
</script>
-----------------------------------------------------------------------
Summary of changes:
.../daemons/nhttpd/web/Y_Tools_remote_osd.yhtm | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-08 17:00:46
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via d0e163f1cc00ad1343d79395ca3e0a707535e3ca (commit)
from 6671d8735bb590c115ab0534d524c11ab8266b3c (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 d0e163f1cc00ad1343d79395ca3e0a707535e3ca
Author: Jacek Jendrzej <cra...@go...>
Date: Sun Mar 8 17:59:56 2015 +0100
yweb: show all processes
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh
index 7d2e788..f1c9b77 100755
--- a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh
+++ b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh
@@ -546,7 +546,7 @@ case "$1" in
ucodes_upload) ucodes_upload $2 ;;
zapit_upload) zapit_upload $2 ;;
kernel-stack) msg=`dmesg`; y_format_message_html ;;
- ps) msg=`ps -c`; 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"
y_format_message_html ;;
yreboot) yreboot; echo "Reboot..." ;;
-----------------------------------------------------------------------
Summary of changes:
.../neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-08 16:41:22
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 6671d8735bb590c115ab0534d524c11ab8266b3c (commit)
from 11d92b883380ec1ad0e3d45ff563da6ac33468b5 (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 6671d8735bb590c115ab0534d524c11ab8266b3c
Author: svenhoefer <sve...@sv...>
Date: Sun Mar 8 17:39:01 2015 +0100
yweb: replace background-images with plain css
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 ecfc993..3d99daf 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
@@ -326,7 +326,7 @@ start-block~frame_main
{=include-block:Y_Blocks.txt;frame_head=}
<title>dbox yWeb</title>
</head>
-<frameset rows="60,*" frameborder="0" framespacing="0">
+<frameset rows="70,*" frameborder="0" framespacing="0">
<frame name="prim_menu" src="Y_Menue.yhtm" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" noresize="noresize" />
<frame name="base" src="Y_Dyn_Pages.yhtm?page=frame_boxcontrol" marginwidth="0" marginheight="0" frameborder="0" style="height:100%"; />
</frameset>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css b/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css
index 48fe82c..7bb292b 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css
@@ -1,6 +1,6 @@
body {
font-family: Verdana, Geneva, Arial, 'Lucida Grande',Tahoma, Helvetica, sans-serif;
- background-color: White;
+ background-color: #ffffff;
margin: 0;
padding:0;
font-size:10pt;
@@ -12,20 +12,31 @@ button,input,select,form,td {
font-family: Verdana, Geneva, Arial, 'Lucida Grande',Tahoma, Helvetica, sans-serif;
color:#555555;
}
+.left {
+ float: left;
+}
+.right {
+ float: right;
+}
+.clear {
+ clear: both;
+ line-height: 0px;
+ height: 0;
+ overflow: hidden;
+}
/* buttons */
-/*button{margin:1px}*/
a img:hover {
position:relative;
left:1px;
top:1px;
}
button[ytype]{
- background-position:1px;
+ background-position: 5px;
background-attachment: scroll;
background-color: transparent;
background-repeat: no-repeat;
- padding-left: 20px;
- padding-right:0px;
+ padding-left: 25px;
+ padding-right: 5px;
vertical-align: middle;
text-align:left;
}
@@ -48,18 +59,24 @@ button[ytype="delete"]{background-image:url(/images/remove.png);}
button[ytype="edit"]{background-image:url(/images/modify.png);}
button[ytype="flash"]{background-image:url(/images/flash.png);}
-button[ytype="no"]{height:21px;padding-left:1px}
+button[ytype="no"] {
+ padding-left: 5px
+}
/*TODO: input file*/
button,input[type="button"],input[type="submit"]/*,input[type="file"],input[type="file"] > input[type="button"],input[type="file"] > input[type="text"]*/ {
+ height: 22px;
border: 1px solid #888888;
background-color: transparent;
+ border-radius: 3px;
+
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
}
button:hover,input[type="button"]:hover,input[type="submit"]:hover/*,input[type="file"]:hover*/ {
position:relative;
left:1px;
top:1px;
- border: 1px solid #888888;
}
div {
margin:0;
@@ -108,60 +125,57 @@ tr {
}
/* primary Navigation */
.y_menu_prim_box {
- margin: 0;
-/* padding:0;*/
- width: 100%;
- background: url(/images/body-trans-r.gif) no-repeat bottom right;
- font-size: 100%;
+ margin: 5px;
+ font-size: 100.01%;
+ border: 1px solid #a0a0a0;
+ border-radius: 5px;
+
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
}
.y_menu_prim_box_head {
- background: url(/images/head-trans-r.gif) no-repeat top right;
margin: 0;
padding: 0;
text-align: center;
+ background: #ffffff;
+ border-radius: 4px 4px 0 0;
+
+ -webkit-border-top-left-radius: 4px;
+ -webkit-border-top-right-radius: 4px;
+ -moz-border-radius-topleft: 4px;
+ -moz-border-radius-topright: 4px;
}
.y_menu_prim_box_head_h2 {
- background: url(/images/head-trans-l.gif) no-repeat top left;
margin: 0;
padding: 5px 0px 5px;
color: white;
-/* font-size: 0;*/
-/* line-height: 0.5em;*/
}
.y_menu_prim_box_body {
- background: url(/images/body-trans-l.gif) no-repeat bottom left;
-/* margin: 0;*/
- padding-bottom: 8px;
- padding-left: 20px;
- padding-right: 20px;
+ padding: 0 20px 5px;
+ background-color: #ffffff;
+ border-radius: 0 0 4px 4px;
+
+ -webkit-border-bottom-right-radius: 4px;
+ -webkit-border-bottom-left-radius: 4px;
+ -moz-border-radius-bottomright: 4px;
+ -moz-border-radius-bottomleft: 4px;
}
.y_menu_item {
margin: 0;
-/* display: block;
- background-repeat: no-repeat;*/
}
.y_menu_prim {
margin: 0;
padding: 0;
-/* background-color: transparent;
- white-space: nowrap;*/
list-style: none;
height: auto;
-/* line-height: normal;*/
}
.y_menu_prim li {
display: inline;
margin: 0;
-/* font-family: Arial, 'Lucida Grande',Tahoma, Verdana, Geneva, Helvetica, sans-serif;
- background-repeat: no-repeat;
- background-position: 0 1px;
-*/ text-align:center;
+ text-align:center;
font-weight: normal;
-/* height: auto;*/
padding: 0em 0.3em;
}
-.y_menu_prim_item {
-}
.y_menu_prim li a {
font-size: 11pt;
text-decoration: none;
@@ -174,44 +188,59 @@ tr {
.y_menu_prim li a:hover {
color: #FF6600;
}
+/*extensions*/
+.y_menu_prim_ext {
+}
+
#box_name {
font-weight:normal;
font-size:10pt;
}
/* secondary Navigation */
.y_menu_sec_box {
- margin: 0;
+ margin: 0 0 5px 5px;
padding: 0;
- width: 100%;
- background: url(/images/body-trans-r.gif) no-repeat bottom right;
- font-size: 100%;
+ font-size: 100.01%;
+ border: 1px solid #a0a0a0;
+ border-radius: 5px;
+
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
}
.y_menu_sec_box_head {
- background: url(/images/head-orange-r.gif) no-repeat top right;
margin: 0;
padding: 0;
+ background: #ff6600;
+ border-radius: 4px 4px 0 0;
+
+ -webkit-border-top-left-radius: 4px;
+ -webkit-border-top-right-radius: 4px;
+ -moz-border-radius-topleft: 4px;
+ -moz-border-radius-topright: 4px;
}
.y_menu_sec_box_head h2 {
margin: 0;
- padding: 10px 30px 3px 25px;
- background: url(/images/head-orange-l.gif) no-repeat top left;
+ padding: 5px 5px 5px 10px;
font-family: Arial, 'Lucida Grande',Tahoma, Verdana, Geneva, Helvetica, sans-serif;
color: white;
font-weight: bold;
- font-size: 12pt;
-/* line-height: 1.5em;*/
+ font-size: 1.2em;
text-align: left;
}
.y_menu_sec_box_body {
- background: url(/images/body-trans-l.gif) no-repeat bottom left;
margin: 0;
-/* padding:0;*/
- padding: 5px 5px 20px 5px;
+ padding: 5px 0 10px;
+ background-color: #ffffff;
+ border-radius: 0 0 4px 4px;
+ -webkit-border-bottom-right-radius: 4px;
+ -webkit-border-bottom-left-radius: 4px;
+ -moz-border-radius-bottomright: 4px;
+ -moz-border-radius-bottomleft: 4px;
}
.y_menu_sec {
- display: block;
- background-repeat: no-repeat;
+ display: block;
+ background-repeat: no-repeat;
margin: 0px;
}
@@ -227,12 +256,6 @@ tr {
padding-left: 20px;
color: #555555;
}
-.y_menu_sec li.disabled {
- height: auto;
- margin-bottom: 0.1em;
- color: #808080;
- text-decoration:line-through;
-}
.y_menu_sec li a {
text-decoration: none;
font-size: 10pt;
@@ -240,8 +263,6 @@ tr {
.y_menu_sec li.plain a {
color: #555555
}
-.y_menu_sec li.disabled a {
-}
.y_menu_sec li a:hover {
color: #FF6600;
}
@@ -252,34 +273,73 @@ tr {
font-size: 10pt;
font-weight: bold;
}
+.y_menu_sec li a.disabled,
+.y_menu_sec li a.restricted {
+ color: #808080;
+ text-decoration:line-through;
+}
+.y_menu_sec ul li:first-child {
+ margin-top: 5px;
+}
+/*extensions*/
+.y_menu_sec_ext {
+}
+
+.y_menu_popup_link {
+ float: right;
+ margin-right: 15px;
+}
+
+.control_icon a img {
+ margin: 0 2px;
+}
/*work*/
.work_box {
- margin: 0;
- background: url(/images/body-trans-r.gif) no-repeat bottom right;
+ margin: 0 5px 5px 5px;
+ padding: 0;
font-size: 100.01%;
+ border: 1px solid #a0a0a0;
+ border-radius: 5px;
+
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+}
+.work_box .work_box {
+ margin: 0;
+ padding: 0;
}
.work_box_head {
- background: url(/images/head-blue-r.gif) no-repeat top right;
margin: 0;
padding: 0;
text-align: center;
+ background-color: #2188e0;
+ border-radius: 4px 4px 0 0;
+
+ -webkit-border-top-left-radius: 4px;
+ -webkit-border-top-right-radius: 4px;
+ -moz-border-radius-topleft: 4px;
+ -moz-border-radius-topright: 4px;
}
.work_box_head h2,.work_box_head_h2 {
- background: url(/images/head-blue-l.gif) no-repeat top left;
margin: 0;
- padding: 10px 30px 3px 30px;
+ padding: 5px 20px;
font-family: Arial, 'Lucida Grande',Tahoma, Verdana, Geneva, Helvetica, sans-serif;
color: white;
font-weight: bold;
- font-size: 12pt;
-/* line-height: 1.5em;*/
+ font-size: 1.2em;
text-align: left;
}
.work_box_body {
- background: url(/images/body-trans-l.gif) no-repeat bottom left;
margin: 0;
padding: 5px 30px 10px 30px;
+ background-color: #ffffff;
+ border-radius: 0 0 4px 4px;
+
+ -webkit-border-bottom-right-radius: 4px;
+ -webkit-border-bottom-left-radius: 4px;
+ -moz-border-radius-bottomright: 4px;
+ -moz-border-radius-bottomleft: 4px;
}
.work_box_help {
float:right;
@@ -332,47 +392,61 @@ tr {
/*wait box*/
.y_wait_box {
margin: 0;
- background: url(/images/body-trans-r.gif) no-repeat bottom right;
font-size: 100%;
position : absolute;
left : 100px;
top : 100px;
visibility : hidden;
z-index : 500;
+ border: 1px solid #a0a0a0;
+ border-radius: 5px;
+
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
}
.y_wait_box_visible {
margin: 0;
- background: url(/images/body-trans-r.gif) no-repeat bottom right;
font-size: 100%;
- position : fixed;
+ position : absolute;
left : 100px;
top : 100px;
visibility : visible;
z-index : 500;
+ border: 1px solid #a0a0a0;
+ border-radius: 5px;
+
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
}
.y_wait_box_head {
- background: url(/images/head-orange-r.gif) no-repeat top right;
margin: 0;
padding: 0;
+ background: #ff6600;
+ border-radius: 4px 4px 0 0;
+
+ -webkit-border-top-left-radius: 4px;
+ -webkit-border-top-right-radius: 4px;
+ -moz-border-radius-topleft: 4px;
+ -moz-border-radius-topright: 4px;
}
.y_wait_box_head h2 {
- background: url(/images/head-orange-l.gif) no-repeat top left;
margin: 0;
- padding: 12px 30px 3px 30px;
+ padding: 5px 20px;
color: white;
font-weight: bold;
font-size: 1.2em;
- line-height: 1.5em;
text-align: center;
}
.y_wait_box_body {
- background: url(/images/body-trans-l.gif) no-repeat bottom left;
margin: 0;
- padding-top: 5px;
- padding-left: 16px;
- padding-bottom: 20px;
- padding-right: 16px;
+ padding: 5px 15px 20px;
+ background-color: #ffffff;
+ border-radius: 0 0 4px 4px;
+ -webkit-border-bottom-right-radius: 4px;
+ -webkit-border-bottom-left-radius: 4px;
+ -moz-border-radius-bottomright: 4px;
+ -moz-border-radius-bottomleft: 4px;
}
.y_wait_box_main {
color: #666666;
@@ -400,12 +474,10 @@ tr {
width: 100%;
}
.y_live_button {
-/* font-size: 8pt;
- height: 22px;*/
padding: 0;
color: #555555;
margin:0;
-
+ border: 0 none;
}
.y_live_bouquets
{
@@ -482,11 +554,42 @@ tr {
}
.y_text_boxcontrol_table {
width:114px;
- height: 22px;
- background : url('/images/audiobar.gif') no-repeat 1px 0px;
- padding : 1px;
- border : #FF8e42 solid 1px;
+ height: 23px;
+ background: url('/images/audiobar.png') no-repeat 1px 1px;
+ padding: 1px;
+ margin-top: 10px;
+ border: #FF8e42 solid 1px;
+}
+.y_text_boxcontrol_table_progress {
+ width: 114px;
+ height: 12px;
+ padding: 0;
+ margin-bottom: 5px;
+ border: #FF8e42 solid 1px;
+ border-top: 0 none;
+
+ background: #ffffff; /* Old browsers */
+ background: -moz-linear-gradient(left, #ff0000 0%, #ffff00 74%, #ffff00 75%, #00ff00 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ff0000), color-stop(74%,#ffff00), color-stop(75%,#ffff00), color-stop(100%,#00ff00)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(left, #ff0000 0%,#ffff00 74%,#ffff00 75%,#00ff00 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(left, #ff0000 0%,#ffff00 74%,#ffff00 75%,#00ff00 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(left, #ff0000 0%,#ffff00 74%,#ffff00 75%,#00ff00 100%); /* IE10+ */
+ background: linear-gradient(to right, #ff0000 0%,#ffff00 74%,#ffff00 75%,#00ff00 100%); /* W3C */
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#00ff00',GradientType=1 ); /* IE6-9 */
+}
+.y_text_boxcontrol_div_progress {
+ width: 112px;
+ border: #FF8e42 solid 1px;
+ font-size: 9px;
+ margin-top: 5px;
+ margin-bottom: -1px;
+}
+#audiobar_right,
+#sigbar_right,
+#snrbar_right {
+ background-color: #ffffff;
}
+
.y_epg_info {
border: 1px solid #CCCCCC;
background-color: white;
@@ -497,16 +600,42 @@ tr {
.y_epg_info #info2 {
font-size:8pt;
}
+.a, .b, .c {
+ vertical-align: top;
+}
+.bouquetitemlist .logo_cell {
+ background: #A1CCF2;
+ border-bottom: 1px solid white;
+ margin: 0;
+ padding: 0;
+}
+.bouquetitemlist .logo_cell a {
+ display: table-cell;
+ text-align: center;
+ vertical-align: middle;
+ min-width: 185px;
+ height: 60px;
+ padding: 0 5px;
+}
+.channel_logo {
+ background: #A1CCF2;
+ max-width: 175px;
+}
+.aepg, .bepg, .cepg {
+ white-space: nowrap;
+}
.channel_logos
{
- max-width: 44px;
- max-height: 21px;
+ background: #A1CCF2;
+ vertical-align: middle;
+ max-width: 100px;
+ max-height: 40px;
}
#epg_plus {
border-top : #BBBBBB solid 1px;
border-left : #BBBBBB solid 1px;
border-right : #BBBBBB solid 1px;
- margin: 0px;
+ margin: 1em 0;
/* width:auto;*/
overflow:auto;
}
@@ -515,8 +644,10 @@ tr {
padding: 0px;
position:relative;
border-bottom : #BBBBBB solid 1px;
+ min-height: 40px;
}
.ep_bouquet_name {
+ background: #A1CCF2;
border-right : #BBBBBB solid 1px;
width : 100px;
/* height: 1.3em;*/
@@ -525,7 +656,13 @@ tr {
padding-right: 1px;
font-size:8pt;
text-align: center;
- min-height: 20px;
+ min-height: 40px;
+}
+.ep_bouquet_name a {
+ display: table-cell;
+ vertical-align: middle;
+ min-width: 100px;
+ height: 40px;
}
.ep_bouquet_item {
border-right : #BBBBBB solid 1px;
@@ -534,7 +671,13 @@ tr {
padding-left: 1px;
padding-right: 1px;
height: 100%;
- font-size:10pt;
+ font-size:8pt;
+}
+.ep_bouquet_item:hover {
+ background-color: #D3E7F8;
+}
+.ep_bouquet_item span:hover {
+ cursor: pointer;
}
.ep_bouquet_rec {
border-right : #BBBBBB solid 1px;
@@ -545,10 +688,12 @@ tr {
background-color: #FF6600;
height: 100%;
font-size:8pt;
- z-index:-10;
- -moz-opacity: 0.2;
+ z-index:10;
opacity:.20;
- filter: alpha(opacity=20);
+
+ -webkit-opacity: 0.2;
+ -moz-opacity: 0.2;
+ filter: alpha(opacity=20);
}
.ep_bouquet_zap {
border-right : #BBBBBB solid 1px;
@@ -560,9 +705,11 @@ tr {
height: 100%;
font-size:8pt;
z-index:10;
- -moz-opacity: 0.2;
opacity:.20;
- filter: alpha(opacity=20);
+
+ -webkit-opacity: 0.2;
+ -moz-opacity: 0.2;
+ filter: alpha(opacity=20);
}
.ep_bouquet_item:hover {
background-color : #DDDDDD;
@@ -601,6 +748,7 @@ tr {
background-color: white;
left: 50px;
top: 50px;
+ width: 600px;
}
#epg_time {
font-size: 8pt;
@@ -794,3 +942,81 @@ a.timer {
.lt_table td {
white-space: pre-wrap;
}
+
+/* screenshots */
+#screenshot_header {
+ height: 30px;
+}
+td#remote,
+td.shot {
+ vertical-align: top;
+}
+td#remote img {
+ margin: 10px 10px 10px 0;
+}
+img#shot {
+ background-color: #ffffff;
+ border: 1px solid #f5f5f5;
+ margin: 10px 0;
+}
+img#shot:hover {
+ cursor: pointer;
+}
+
+/* Filemgr */
+.diag {
+ border: 1px solid #bbbbbb;
+ border-collapse: collapse;
+ background-color: #eeeeee;
+ margin-left: 10px;
+ margin-top: 10px;
+}
+.toolbar td {
+ border: 1px solid #cccccc;
+ width: 20px;
+ height: 20px;
+ text-align: center;
+}
+.toolbar img {
+ border:0;
+}
+.toolbar td:hover {
+ background-color: #dddddd;
+}
+.button {
+ border: 1px solid #cccccc;
+ width: 40px;
+ height: 20px;
+ text-align: center;
+}
+.button:hover {
+ background-color: #dddddd;
+}
+.mform {
+ empty-cells:show;
+}
+
+.filelist a {
+ text-decoration:underline;
+}
+.box {
+ border: 1px solid #cccccc;
+ empty-cells:show;
+}
+.epginfo2 {
+ font-size: 8pt;
+}
+.detail_title {
+ border: 1px solid #cccccc;
+ font-weight: bold;
+ background-color: #ffffff;
+}
+.detail_title_active {
+ border: 1px solid #cccccc;
+ font-weight: bold;
+ background-color: #eeeeee;
+}
+.detail_img {
+ max-width: 300px;
+ max-height:300px;
+}
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt
index cffed76..16e1d94 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.7.0.35
+version=2.8.0.0
date=08.03.2015
type=Release
info=Tuxbox
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/LICENSE b/tuxbox/neutrino/daemons/nhttpd/web/images/LICENSE
index 5988e43..fb77225 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/images/LICENSE
+++ b/tuxbox/neutrino/daemons/nhttpd/web/images/LICENSE
@@ -2,18 +2,12 @@ Same pictures used are form the Tuxbox Community:
Published under GPL v2
- rc.jpg : Jonny Spitzner <jon...@gm...>
- rc_sagem.jpg Jonny Spitzner <jon...@gm...>
-- tux.gif : from wiki.tuxbox.org
From Johannes Golombek yj...@on...:
Published under GPL v2
- y.png
- audiobar.gif
- blank.gif
-- body-trans*
-- head-blue*
-- head-orange*
-- head-trans*
-- help_white.gif
From old (before yWeb):
Published under GPL v2
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/body-trans-l.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/body-trans-l.gif
deleted file mode 100644
index 20e08cb..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/body-trans-l.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/body-trans-r.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/body-trans-r.gif
deleted file mode 100644
index ed09168..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/body-trans-r.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/check_green.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/check_green.gif
deleted file mode 100644
index 243b99b..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/check_green.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/comment.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/comment.gif
deleted file mode 100755
index 76db532..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/comment.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/head-blue-l.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/head-blue-l.gif
deleted file mode 100644
index 9e763cf..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/head-blue-l.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/head-blue-r.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/head-blue-r.gif
deleted file mode 100644
index a998161..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/head-blue-r.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/head-orange-l.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/head-orange-l.gif
deleted file mode 100644
index 6adb3fc..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/head-orange-l.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/head-orange-r.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/head-orange-r.gif
deleted file mode 100644
index a1875e3..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/head-orange-r.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/head-trans-l.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/head-trans-l.gif
deleted file mode 100644
index 035aa26..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/head-trans-l.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/head-trans-r.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/head-trans-r.gif
deleted file mode 100644
index 7dc2c78..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/head-trans-r.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/help_white.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/help_white.gif
deleted file mode 100644
index c8aa83c..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/help_white.gif and /dev/null differ
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt | 2 +-
tuxbox/neutrino/daemons/nhttpd/web/Y_Main.css | 410 +++++++++++++++-----
tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 2 +-
tuxbox/neutrino/daemons/nhttpd/web/images/LICENSE | 6 -
.../daemons/nhttpd/web/images/body-trans-l.gif | Bin 2311 -> 0 bytes
.../daemons/nhttpd/web/images/body-trans-r.gif | Bin 6861 -> 0 bytes
.../daemons/nhttpd/web/images/check_green.gif | Bin 357 -> 0 bytes
.../neutrino/daemons/nhttpd/web/images/comment.gif | Bin 85 -> 0 bytes
.../daemons/nhttpd/web/images/head-blue-l.gif | Bin 649 -> 0 bytes
.../daemons/nhttpd/web/images/head-blue-r.gif | Bin 1880 -> 0 bytes
.../daemons/nhttpd/web/images/head-orange-l.gif | Bin 656 -> 0 bytes
.../daemons/nhttpd/web/images/head-orange-r.gif | Bin 1913 -> 0 bytes
.../daemons/nhttpd/web/images/head-trans-l.gif | Bin 433 -> 0 bytes
.../daemons/nhttpd/web/images/head-trans-r.gif | Bin 1539 -> 0 bytes
.../daemons/nhttpd/web/images/help_white.gif | Bin 93 -> 0 bytes
15 files changed, 320 insertions(+), 100 deletions(-)
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/body-trans-l.gif
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/body-trans-r.gif
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/check_green.gif
delete mode 100755 tuxbox/neutrino/daemons/nhttpd/web/images/comment.gif
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/head-blue-l.gif
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/head-blue-r.gif
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/head-orange-l.gif
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/head-orange-r.gif
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/head-trans-l.gif
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/head-trans-r.gif
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/images/help_white.gif
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-08 11:07:28
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 11d92b883380ec1ad0e3d45ff563da6ac33468b5 (commit)
from 48faacc333254e09e4b951d7b9053a6617ec2cca (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 11d92b883380ec1ad0e3d45ff563da6ac33468b5
Author: GetAway <get...@t-...>
Date: Sun Mar 8 12:06:01 2015 +0100
yweb: use whole screen
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 0710f73..ecfc993 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
@@ -351,7 +351,7 @@ end-block~page_frame_rest
start-block~frame_secondary
{=include-block:Y_Blocks.txt;frame_iso_head=}
</head>
-<frameset cols="157,*" frameborder="0" framespacing="0">
+<frameset cols="175,*" frameborder="0" framespacing="0">
<frame name="sec_menu" src="{=var-get:sec_menu=}" scrolling="no" noresize="noresize" frameborder="0" />
<frame name="work" src="{=var-get:work=}" scrolling="auto" frameborder="0" />
</frameset>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt
index 175b3ab..cffed76 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.7.0.34
+version=2.7.0.35
date=08.03.2015
type=Release
info=Tuxbox
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/index.html b/tuxbox/neutrino/daemons/nhttpd/web/index.html
index 4997a37..3253fd2 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/index.html
+++ b/tuxbox/neutrino/daemons/nhttpd/web/index.html
@@ -5,9 +5,9 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>dbox yWeb</title>
</head>
-<frameset cols="*,980,*" frameborder="0" framespacing="0">
- <frame src="Y_Dyn_Pages.yhtm?page=page_frame_rest" name="top_left" frameborder="0" marginwidth="0" marginheight="0" id="top_left" />
- <frame src="Y_Dyn_Pages.yhtm?page=frame_main" name="top_main" frameborder="0" id="top_main" style="width:980px; height:100%;" />
- <frame src="Y_Dyn_Pages.yhtm?page=page_frame_rest" name="top_right" frameborder="0" marginwidth="0" marginheight="0" id="top_right" />
+<frameset cols="*,1300,*" frameborder="0" framespacing="0">
+ <frame name="top_left" src="Y_Dyn_Pages.yhtm?page=page_frame_rest" frameborder="0" marginwidth="0" marginheight="0" border="0"/>
+ <frame name="top_main" src="Y_Dyn_Pages.yhtm?page=frame_main" frameborder="0" style="width:1300px; height:100%;" border="0"/>
+ <frame name="top_right" src="Y_Dyn_Pages.yhtm?page=page_frame_rest" frameborder="0" marginwidth="0" marginheight="0" border="0"/>
</frameset>
</html>
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt | 2 +-
tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 2 +-
tuxbox/neutrino/daemons/nhttpd/web/index.html | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-08 10:35:56
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 48faacc333254e09e4b951d7b9053a6617ec2cca (commit)
from 98a30539585e9eae1e83cff00e4e63d145a50f08 (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 48faacc333254e09e4b951d7b9053a6617ec2cca
Author: GetAway <get...@t-...>
Date: Sun Mar 8 11:32:32 2015 +0100
yweb: delete dead links to yjogol.com
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 c378e93..5228365 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_About.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_About.yhtm
@@ -1,6 +1,8 @@
-{=var-set:cancache=yPyes=}
+{=var-set:cancache=yPConf=}
{=include-block:Y_Blocks.txt;headCache=}
</head>
+{=var-set:alt_httpd={=ini-get:/var/tuxbox/config/nhttpd.conf;WebsiteMain.override_directory;/var/httpd=}=}
+{=var-set:vf={=if-file-exists:{=var-get:alt_httpd=}/Y_Version.txt~{=var-get:alt_httpd=}/Y_Version.txt~Y_Version.txt=}=}
<body>
<div class="work_box">
<div class="work_box_head"><div class="work_box_head_h2">
@@ -8,13 +10,13 @@
<div class="work_box_body">
<table border="0" cellpadding="2" cellspacing="4">
<tr>
- <td width="144" valign="bottom"><a href="http://www.yjogol.com" target="_blank"><img border="0" src="images/yjogol.gif" alt="yjogol"/></a></td>
- <td valign="bottom" style="font-size:18pt;">yWeb</td>
+ <td valign="bottom" width="144"></td>
+ <td valign="bottom"><img border="0" src="images/tux-yweb.png" alt="yWeb by yjogol"/></td>
</tr><tr>
- <td valign="top"><a href="http://www.yjogol.com" class="exlink" target="_blank">www.yjogol.com</a></td>
+ <td valign="top"> </td>
<td valign="top">
- {=ini-get:Y_Version.txt;version=} - {=ini-get:Y_Version.txt;date=} - {=ini-get:Y_Version.txt;type=}<br/><br/>
- {=ini-get:Y_Version.txt;info=}<br/>
+ v{=ini-get:{=var-get:vf=};version=} - {=ini-get:{=var-get:vf=};date=} - {=ini-get:{=var-get:vf=};type=} - {=ini-get:{=var-get:vf=};info=}
+ <br/><br/>
</td>
</tr>
</table>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
index 9ce554c..0710f73 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt
@@ -253,7 +253,9 @@ end-block~snip_show_wait
# ------- Wiki Help display
#<img src="/images/help.gif" align="bottom" />
start-block~wiki_help
+<!--
<a href="http://www.yjogol.com/{=var-get:help_url=}" target="_blank" title="get help from www.yjogol.com">?</a>
+-->
end-block~wiki_help
# ------- work menu
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Help.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Help.yhtm
index d1aa586..c05a171 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Help.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Help.yhtm
@@ -7,10 +7,8 @@
{=var-set:help_url=Help-Info-Hilfe=}{=var-set:menu=Hilfe=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
<div class="work_box_body">
<ul>
- <li><a href="http://www.yjogol.com/faq" class="exlink" title="FAQ at yjogol.com" target="_blank">FAQ zu yWeb</a></li>
<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>
<li><a href="http://forum.tuxbox.org" class="exlink" title="Tuxbox Dicussion Forum" target="_blank">Tuxbox Forum</a></li>
- <li><a href="http://www.yjogol.com" class="exlink" title="Homepage of yWeb" target="_blank">Homepage yWeb</a></li>
</ul>
</div>
</div>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Updates.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Updates.yhtm
index 6ed16c2..8cf4f9e 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Updates.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Info_Updates.yhtm
@@ -17,7 +17,7 @@ function check_updates()
<div class="work_box_body">
<table border="0" cellpadding="2" cellspacing="4">
<tr>
- <td valign="top">
+ <td valign="top" width="30%">
<b>Deine Version</b>
<p>
{=ini-get:Y_Version.txt;version=}<br/>
@@ -26,7 +26,7 @@ function check_updates()
{=ini-get:Y_Version.txt;info=}<br/>
</p>
</td>
- <td valign="top">
+ <td valign="top" width="30%">
<b>Aktuelle Version</b>
<p>
{=ini-get:/tmp/version.txt;version=}<br/>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Menue.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Menue.yhtm
index 2b08a3f..851bec9 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Menue.yhtm
+++ b/tuxbox/neutrino/daemons/nhttpd/web/Y_Menue.yhtm
@@ -89,7 +89,7 @@ function vlc() {
</script>
<style>
#prim{
- background: url(/images/tux-yweb.gif) no-repeat left top;
+ background: url(/images/tux-yweb.png) no-repeat left top;
height:38px;
}
</style>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt b/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt
index 371e4b2..175b3ab 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.7.0.33
+version=2.7.0.34
date=08.03.2015
type=Release
info=Tuxbox
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/extentions.txt b/tuxbox/neutrino/daemons/nhttpd/web/extentions.txt
index 1e69863..b7f97c3 100644
--- a/tuxbox/neutrino/daemons/nhttpd/web/extentions.txt
+++ b/tuxbox/neutrino/daemons/nhttpd/web/extentions.txt
@@ -1,2 +1 @@
-type:u,site:yjogol,desc:yjogol updates,url:http://www.yjogol.com/download/Y_extensions.txt
-
+type:u,site:MySite,desc:Extensions updates,url:http://
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/tux-yweb.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/tux-yweb.gif
deleted file mode 100755
index fa1398f..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/tux-yweb.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/tux-yweb.png b/tuxbox/neutrino/daemons/nhttpd/web/images/tux-yweb.png
new file mode 100755
index 0000000..8ec4ff5
Binary files /dev/null and b/tuxbox/neutrino/daemons/nhttpd/web/images/tux-yweb.png differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/images/yjogol.gif b/tuxbox/neutrino/daemons/nhttpd/web/images/yjogol.gif
deleted file mode 100755
index ec54c96..0000000
Binary files a/tuxbox/neutrino/daemons/nhttpd/web/images/yjogol.gif and /dev/null differ
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh
index 17af1ac..7d2e788 100755
--- a/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh
+++ b/tuxbox/neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh
@@ -1,8 +1,8 @@
#!/bin/sh
# -----------------------------------------------------------
# Tools (yjogol)
-# $Date: 2011/09/22 19:53:53 $
-# $Revision: 1.11 $
+# $Date$
+# $Revision$
# -----------------------------------------------------------
. ./_Y_Globals.sh
. ./_Y_Library.sh
@@ -563,7 +563,7 @@ case "$1" in
lcshot) shift 1; do_lcshot $* ;;
fbshot) shift 1; do_fbshot $* ;;
fbshot_clear) do_fbshot_clear ;;
- get_update_version) wget -O /tmp/version.txt "http://www.yjogol.com/download/Y_Version.txt" ;;
+ get_update_version) wget -O /tmp/version.txt "http://sourceforge.net/p/tuxbox-cvs/apps/ci/master/tree/tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt?format=raw" ;;
settings_backup_restore) shift 1; do_settings_backup_restore $* ;;
exec_cmd) shift 1; $* ;;
automount_list) shift 1; do_automount_list $* ;;
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/daemons/nhttpd/web/Y_About.yhtm | 14 ++++++++------
tuxbox/neutrino/daemons/nhttpd/web/Y_Blocks.txt | 2 ++
.../neutrino/daemons/nhttpd/web/Y_Info_Help.yhtm | 2 --
.../daemons/nhttpd/web/Y_Info_Updates.yhtm | 4 ++--
tuxbox/neutrino/daemons/nhttpd/web/Y_Menue.yhtm | 2 +-
tuxbox/neutrino/daemons/nhttpd/web/Y_Version.txt | 2 +-
tuxbox/neutrino/daemons/nhttpd/web/extentions.txt | 3 +--
.../daemons/nhttpd/web/images/tux-yweb.gif | Bin 2086 -> 0 bytes
.../daemons/nhttpd/web/images/tux-yweb.png | Bin 0 -> 3722 bytes
.../neutrino/daemons/nhttpd/web/images/yjogol.gif | Bin 2575 -> 0 bytes
.../neutrino/daemons/nhttpd/web/scripts/Y_Tools.sh | 6 +++---
11 files changed, 18 insertions(+), 17 deletions(-)
delete mode 100755 tuxbox/neutrino/daemons/nhttpd/web/images/tux-yweb.gif
create mode 100755 tuxbox/neutrino/daemons/nhttpd/web/images/tux-yweb.png
delete mode 100755 tuxbox/neutrino/daemons/nhttpd/web/images/yjogol.gif
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-03-08 09:11:53
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 98a30539585e9eae1e83cff00e4e63d145a50f08 (commit)
from e762fc6e45af4ac5f0e8cf96dd9f59364276eda9 (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 98a30539585e9eae1e83cff00e4e63d145a50f08
Author: GetAway <get...@t-...>
Date: Sun Mar 8 10:10:40 2015 +0100
yweb: delete unused Y_Settings.yhtm
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings.yhtm b/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings.yhtm
deleted file mode 100644
index 3f4ec1d..0000000
--- a/tuxbox/neutrino/daemons/nhttpd/web/Y_Settings.yhtm
+++ /dev/null
@@ -1,17 +0,0 @@
-{=var-set:cancache=yPyes=}
-<html>
-<head>
-<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
-</head>
-
-<frameset cols="157,*" framespacing="0" border="0" frameborder="0">
- <frame name="Links" scrolling="no" noresize target="Rechts oben" src="Y_Settings_Menue.yhtm">
- <frame name="Rechts_oben" src="Y_blank.htm" scrolling="auto">
- <noframes>
- <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
- <p>Diese Seite verwendet Frames. Frames werden von Ihrem Browser aber nicht unterstüzt.</p>
- </body>
- </noframes>
-</frameset>
-
-</html>
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/daemons/nhttpd/web/Y_Settings.yhtm | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
delete mode 100644 tuxbox/neutrino/daemons/nhttpd/web/Y_Settings.yhtm
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-02-15 16:35:05
|
Project "Tuxbox-GIT: cdk":
The branch, master has been updated
via 8a0af951e3f2d053221463c36de8544bee8d67e9 (commit)
from 50f1da3c3e60248dbe22aab2c3d55a61f14f9fc6 (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 8a0af951e3f2d053221463c36de8544bee8d67e9
Author: GetAway <get...@t-...>
Date: Sun Feb 15 17:33:17 2015 +0100
version bump inadyn-mt.v.02.24.44
Signed-off-by: GetAway <get...@t-...>
diff --git a/rules-archive b/rules-archive
index b9e3e52..81f3cab 100644
--- a/rules-archive
+++ b/rules-archive
@@ -143,7 +143,7 @@ openvpn-2.1.4.tar.gz;http://swupdate.openvpn.net/community/releases
ipkg-0.99.163.tar.gz;http://www.handhelds.org/download/packages/ipkg/
htop-0.9.tar.gz;http://downloads.sourceforge.net/project/htop/htop/0.9/
netio131.zip;http://www.ars.de/ars/ars.nsf/f24a6a0b94c22d82862566960071bf5a/aa577bc4be573b05c125706d004c75b5/\$$FILE
-inadyn-mt.v.02.24.38.tar.gz;http://prdownloads.sourceforge.net/sourceforge/inadyn-mt
+inadyn-mt.v.02.24.44.tar.gz;http://prdownloads.sourceforge.net/sourceforge/inadyn-mt
#
# ide apps
diff --git a/rules-make b/rules-make
index 4e75843..1c02e1b 100644
--- a/rules-make
+++ b/rules-make
@@ -137,7 +137,7 @@ ipkg;0.99.163;ipkg-0.99.163;ipkg-0.99.163.tar.gz;extract:ipkg-0.99.163.tar.gz;pa
htop;0.9;htop-0.9;htop-0.9.tar.gz;extract:htop-0.9.tar.gz
netio;1.3.1;netio-1.3.1;netio131.zip;extract:netio131.zip:netio-1.3.1
netio_host;1.3.1;netio-1.3.1;netio131.zip;extract:netio131.zip:netio-1.3.1
-inadyn_mt;02.24.38;inadyn-mt.v.02.24.38;inadyn-mt.v.02.24.38.tar.gz;extract:inadyn-mt.v.02.24.38.tar.gz
+inadyn_mt;02.24.44;inadyn-mt.v.02.24.44;inadyn-mt.v.02.24.44.tar.gz;extract:inadyn-mt.v.02.24.44.tar.gz
#
# ide/hdd apps
-----------------------------------------------------------------------
Summary of changes:
rules-archive | 2 +-
rules-make | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
Tuxbox-GIT: cdk
|
|
From: GetAway <tux...@ne...> - 2015-02-15 14:53:32
|
Project "Tuxbox-GIT: cdk":
The branch, master has been updated
via 50f1da3c3e60248dbe22aab2c3d55a61f14f9fc6 (commit)
from 28d7bd2d41fb8264fb2218bc6b839a30621fa838 (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 50f1da3c3e60248dbe22aab2c3d55a61f14f9fc6
Author: GetAway <get...@t-...>
Date: Sun Feb 15 15:52:22 2015 +0100
bump version boost-1.57.0
Signed-off-by: GetAway <get...@t-...>
diff --git a/rules-archive b/rules-archive
index e347057..b9e3e52 100644
--- a/rules-archive
+++ b/rules-archive
@@ -88,7 +88,7 @@ libdvbpsi-0.1.3.tar.bz2;http://www.videolan.org/pub/videolan/libdvbpsi/0.1.3
DirectFB-1.0.0.tar.gz;http://directfb.org/downloads/Old
DFB++-1.0.0.tar.gz;http://directfb.org/downloads/Extras
++DFB-1.0.0.tar.gz;http://directfb.org/downloads/Extras
-boost_1_53_0.tar.bz2;http://prdownloads.sourceforge.net/sourceforge/boost
+boost_1_57_0.tar.bz2;http://prdownloads.sourceforge.net/sourceforge/boost
libvorbisidec_1.0.2+svn15687.orig.tar.gz;http://old-releases.ubuntu.com/ubuntu/pool/universe/libv/libvorbisidec
fribidi-0.10.4.tar.gz;http://fribidi.org/download
expat-1.95.6.tar.gz;http://prdownloads.sourceforge.net/sourceforge/expat
diff --git a/rules-make b/rules-make
index fd562a8..4e75843 100644
--- a/rules-make
+++ b/rules-make
@@ -60,7 +60,7 @@ squashfs;3.0;mksquashfs;squashfs3.0.tar.gz:mksquashfs_lzma.diff:lzma442.tar.bz2:
#
# contrib libs
#
-libboost;boost-1.53.0;boost_1_53_0;boost_1_53_0.tar.bz2;extract:boost_1_53_0.tar.bz2
+libboost;boost-1.57.0;boost_1_57_0;boost_1_57_0.tar.bz2;extract:boost_1_57_0.tar.bz2
libcommoncplusplus;1.0.13;commoncpp2-1.0.13;commoncpp2-1.0.13.tar.gz:libcommoncplusplus.diff;extract:commoncpp2-1.0.13.tar.gz;patch:libcommoncplusplus.diff
libcrypto;0.9.8zb;openssl-0.9.8zb;openssl-0.9.8zb.tar.gz:libcrypto.diff;extract:openssl-0.9.8zb.tar.gz;patch:libcrypto.diff
libcurl;7.10.1;curl-7.10.1;curl-7.10.1.tar.gz:libcurl.diff;extract:curl-7.10.1.tar.gz;patch:libcurl.diff
-----------------------------------------------------------------------
Summary of changes:
rules-archive | 2 +-
rules-make | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
Tuxbox-GIT: cdk
|
|
From: GetAway <tux...@ne...> - 2015-02-12 18:18:39
|
Project "Tuxbox-GIT: hostapps":
The branch, master has been updated
via 77656a9b52f47afaa92c85284921e982f47ee4af (commit)
from 9b00975ed14fe4553ac5575724ac44f31543a793 (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 77656a9b52f47afaa92c85284921e982f47ee4af
Author: GetAway <get...@t-...>
Date: Thu Feb 12 16:08:54 2015 +0100
ggrab: rename Makefile to Makefile.host
Signed-off-by: GetAway <get...@t-...>
diff --git a/ggrab/Makefile b/ggrab/Makefile.host
similarity index 100%
rename from ggrab/Makefile
rename to ggrab/Makefile.host
-----------------------------------------------------------------------
Summary of changes:
ggrab/{Makefile => Makefile.host} | 0
1 files changed, 0 insertions(+), 0 deletions(-)
rename ggrab/{Makefile => Makefile.host} (100%)
--
Tuxbox-GIT: hostapps
|
|
From: GetAway <tux...@ne...> - 2015-02-11 13:46:47
|
Project "Tuxbox-GIT: hostapps":
The branch, master has been updated
via 9b00975ed14fe4553ac5575724ac44f31543a793 (commit)
from 1059430873b53d0fa2fd86423d051f894ee39b4e (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 9b00975ed14fe4553ac5575724ac44f31543a793
Author: GetAway <get...@t-...>
Date: Wed Feb 11 14:41:55 2015 +0100
.gitignore expanded
Signed-off-by: GetAway <get...@t-...>
diff --git a/.gitignore b/.gitignore
index ebd15c8..55807f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,26 @@
+*.a
+*.o
+.deps
+
+config.guess
+config.h
+config.h.in
+config.log
+config.status
+config.sub
+configure
+depcomp
Makefile
-stamp-h
-stamp-h.in
+Makefile.in
+
+COPYING
+INSTALL
+acinclude.m4
+aclocal.m4
+autom4te.cache/
+install-sh
+libtool
+ltmain.sh
+missing
+stamp-h1
+
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 27 +++++++++++++++++++++++++--
1 files changed, 25 insertions(+), 2 deletions(-)
--
Tuxbox-GIT: hostapps
|
|
From: GetAway <tux...@ne...> - 2015-02-11 08:27:34
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via d5d8a55075111ff8eb52162980ce66f1cdeaaf2d (commit)
via a7f1eea4f36bd51b2a8e2c1eef9c4bb02c82f03f (commit)
from e2d920c55095f45c80d882089f1a178ca7582cc1 (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 d5d8a55075111ff8eb52162980ce66f1cdeaaf2d
Author: Stefan Seyfried <se...@tu...>
Date: Tue Feb 10 19:51:23 2015 +0100
Neutrino filebrowser, moviebrowser, pictureviewer: clarify error message
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/src/gui/filebrowser.cpp b/tuxbox/neutrino/src/gui/filebrowser.cpp
index 55e7dd4..e7fff11 100644
--- a/tuxbox/neutrino/src/gui/filebrowser.cpp
+++ b/tuxbox/neutrino/src/gui/filebrowser.cpp
@@ -723,7 +723,7 @@ bool CFileBrowser::readDir_std(const std::string & dirname, CFileList* flist)
// printf("file.Name: '%s', getFileName: '%s' getPath: '%s'\n",file.Name.c_str(),file.getFileName().c_str(),file.getPath().c_str());
if(my_stat((file.Name).c_str(),&statbuf) != 0)
- perror("stat error");
+ fprintf(stderr, "stat '%s' error: %m\n", file.Name.c_str());
else
{
file.Mode = statbuf.st_mode;
diff --git a/tuxbox/neutrino/src/gui/moviebrowser.cpp b/tuxbox/neutrino/src/gui/moviebrowser.cpp
index ef64780..1eb1cf1 100644
--- a/tuxbox/neutrino/src/gui/moviebrowser.cpp
+++ b/tuxbox/neutrino/src/gui/moviebrowser.cpp
@@ -2677,7 +2677,7 @@ bool CMovieBrowser::readDir_std(const std::string & dirname, CFileList* flist)
// printf("file.Name: '%s', getFileName: '%s' getPath: '%s'\n",file.Name.c_str(),file.getFileName().c_str(),file.getPath().c_str());
if(my_stat((file.Name).c_str(),&statbuf) != 0)
- perror("stat error");
+ fprintf(stderr, "stat '%s' error: %m\n", file.Name.c_str());
else
{
file.Mode = statbuf.st_mode;
diff --git a/tuxbox/neutrino/src/gui/pictureviewer.cpp b/tuxbox/neutrino/src/gui/pictureviewer.cpp
index a58c66c..a95024e 100644
--- a/tuxbox/neutrino/src/gui/pictureviewer.cpp
+++ b/tuxbox/neutrino/src/gui/pictureviewer.cpp
@@ -363,7 +363,7 @@ int CPictureViewerGui::show()
pic.Type = tmp.substr(tmp.rfind('.')+1);
struct stat statbuf;
if(stat(pic.Filename.c_str(),&statbuf) != 0)
- printf("stat error");
+ fprintf(stderr, "stat '%s' error: %m\n", pic.Filename.c_str());
pic.Date = statbuf.st_mtime;
playlist.push_back(pic);
}
commit a7f1eea4f36bd51b2a8e2c1eef9c4bb02c82f03f
Author: Christian Schuett <Gau...@ho...>
Date: Tue Feb 10 19:44:12 2015 +0100
Neutrino picture viewer: respect UTF-8 filesystems
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/src/gui/pictureviewer.cpp b/tuxbox/neutrino/src/gui/pictureviewer.cpp
index 25aede2..a58c66c 100644
--- a/tuxbox/neutrino/src/gui/pictureviewer.cpp
+++ b/tuxbox/neutrino/src/gui/pictureviewer.cpp
@@ -44,6 +44,7 @@
#include <daemonc/remotecontrol.h>
+#include <driver/encoding.h>
#include <driver/fontrenderer.h>
#include <driver/rcinput.h>
#include <driver/screen_max.h>
@@ -357,6 +358,7 @@ int CPictureViewerGui::show()
CPicture pic;
pic.Filename = files->Name;
std::string tmp = files->Name.substr(files->Name.rfind('/')+1);
+ tmp = FILESYSTEM_ENCODING_TO_UTF8_STRING(tmp);
pic.Name = tmp.substr(0,tmp.rfind('.'));
pic.Type = tmp.substr(tmp.rfind('.')+1);
struct stat statbuf;
@@ -554,11 +556,11 @@ void CPictureViewerGui::paintItem(int pos)
char timestring[18];
strftime(timestring, 18, "%d-%m-%Y %H:%M", gmtime(&playlist[liststart+pos].Date));
int w = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getRenderWidth(timestring);
- g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x+10,ypos+fheight, width-30 - w, tmp, color, fheight);
+ g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x+10,ypos+fheight, width-30 - w, tmp, color, fheight, true); // UTF-8
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x+width-20-w,ypos+fheight, w, timestring, color, fheight);
if (liststart+pos == selected)
{
- CLCD::getInstance()->showMenuText(0, tmp.c_str());
+ CLCD::getInstance()->showMenuText(0, tmp.c_str(), -1, true); // UTF-8
CLCD::getInstance()->showMenuText(1, timestring);
}
}
@@ -663,7 +665,7 @@ void CPictureViewerGui::view(unsigned int index, bool unscaled)
{
selected=index;
- CLCD::getInstance()->showMenuText(0, playlist[index].Name.c_str());
+ CLCD::getInstance()->showMenuText(0, playlist[index].Name.c_str(), -1, true); // UTF-8
char timestring[19];
strftime(timestring, 18, "%d-%m-%Y %H:%M", gmtime(&playlist[index].Date));
CLCD::getInstance()->showMenuText(1, timestring);
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/src/gui/filebrowser.cpp | 2 +-
tuxbox/neutrino/src/gui/moviebrowser.cpp | 2 +-
tuxbox/neutrino/src/gui/pictureviewer.cpp | 10 ++++++----
3 files changed, 8 insertions(+), 6 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2015-02-10 14:39:36
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via e2d920c55095f45c80d882089f1a178ca7582cc1 (commit)
via 4a17373dc5ca00e740b452e7b16c99a21b691d44 (commit)
via a5445b977803e344c342199074c67af8d34155e3 (commit)
via 565784e0b973752ab1007c937353cff0e85a54b6 (commit)
via bc156a9bee86fe626d56afe18b111d9836c52c61 (commit)
via bfc7b0329fcf827e43c4d3875a9c626d55cc4a5c (commit)
via 4f28db6d87ae9c34ece8f3bc11d6227f3a8ca6b1 (commit)
via ed95433d569739ce7d05670789fbf8bdafbd92d5 (commit)
via a0eb7ce18585b8f1e34c83b816906ddb85aa42b7 (commit)
via 3236e654dc0d9b5a08c3701a774d24b0d5ea2c7d (commit)
via e957d242d357edb15822fea173d1b1c0f102adb3 (commit)
via d80721f01e97f446d4313878a16cae18cb574570 (commit)
via abbadf0b98661a6e115583f5a08f0284f82b3dcb (commit)
from bd00fae5b436145ba55b97d1bc5056abee856698 (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 e2d920c55095f45c80d882089f1a178ca7582cc1
Author: Christian Schuett <Gau...@ho...>
Date: Mon Feb 9 18:55:53 2015 +0100
Neutrino picture viewer: show selected play list entry on LCD
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/src/gui/pictureviewer.cpp b/tuxbox/neutrino/src/gui/pictureviewer.cpp
index 0d18f1a..25aede2 100644
--- a/tuxbox/neutrino/src/gui/pictureviewer.cpp
+++ b/tuxbox/neutrino/src/gui/pictureviewer.cpp
@@ -374,6 +374,7 @@ int CPictureViewerGui::show()
std::sort(playlist.begin(), playlist.end(), comparePictureByDate);
}
update = true;
+ CLCD::getInstance()->setMode(CLCD::MODE_MENU_UTF8, g_Locale->getText(LOCALE_PICTUREVIEWER_HEAD));
}
}
else if (msg == CRCInput::RC_yellow)
@@ -555,6 +556,11 @@ void CPictureViewerGui::paintItem(int pos)
int w = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getRenderWidth(timestring);
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x+10,ypos+fheight, width-30 - w, tmp, color, fheight);
g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->RenderString(x+width-20-w,ypos+fheight, w, timestring, color, fheight);
+ if (liststart+pos == selected)
+ {
+ CLCD::getInstance()->showMenuText(0, tmp.c_str());
+ CLCD::getInstance()->showMenuText(1, timestring);
+ }
}
// printf("paintItem}\n");
}
commit 4a17373dc5ca00e740b452e7b16c99a21b691d44
Author: Christian Schuett <Gau...@ho...>
Date: Sun Feb 8 16:54:39 2015 +0100
Neutrino picture viewer: fix possible segfault when adding entries
after removing the last entry from the play list and readding new
entries, you get a segfault
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/src/gui/pictureviewer.cpp b/tuxbox/neutrino/src/gui/pictureviewer.cpp
index fe3fb6d..0d18f1a 100644
--- a/tuxbox/neutrino/src/gui/pictureviewer.cpp
+++ b/tuxbox/neutrino/src/gui/pictureviewer.cpp
@@ -324,7 +324,7 @@ int CPictureViewerGui::show()
CViewList::iterator p = playlist.begin() + selected;
playlist.erase(p);
if (selected >= playlist.size())
- selected = playlist.size()-1;
+ selected = playlist.empty() ? 0 : playlist.size() - 1;
update = true;
}
}
commit a5445b977803e344c342199074c67af8d34155e3
Author: Christian Schuett <Gau...@ho...>
Date: Sun Feb 8 16:47:17 2015 +0100
Neutrino audioplayer: clear whole screen after removing last entry
after removing the last entry from the play list, there are left
some artefacts on the screen
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/src/gui/audioplayer.cpp b/tuxbox/neutrino/src/gui/audioplayer.cpp
index db74b41..3c2dd77 100644
--- a/tuxbox/neutrino/src/gui/audioplayer.cpp
+++ b/tuxbox/neutrino/src/gui/audioplayer.cpp
@@ -567,9 +567,11 @@ int CAudioPlayerGui::show()
m_current--;
//stop(); // Stop if song is deleted, next song will be startet automat.
}
- if(m_selected >= m_playlist.size())
- m_selected = m_playlist.empty() ? m_playlist.size() : m_playlist.size() - 1;
- update = true;
+ if (m_selected >= m_playlist.size())
+ m_selected = m_playlist.empty() ? 0 : m_playlist.size() - 1;
+ if (m_playlist.empty())
+ clear_before_update = true;
+ update = true;
}
}
else if(m_key_level == 1)
commit 565784e0b973752ab1007c937353cff0e85a54b6
Author: Christian Schuett <Gau...@ho...>
Date: Sat Feb 7 21:01:33 2015 +0100
Neutrino movieplayer: always show play mode next to progress bar on LCD
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/src/driver/lcdd.cpp b/tuxbox/neutrino/src/driver/lcdd.cpp
index 39f3548..2266bcd 100644
--- a/tuxbox/neutrino/src/driver/lcdd.cpp
+++ b/tuxbox/neutrino/src/driver/lcdd.cpp
@@ -577,7 +577,41 @@ void CLCD::setMoviePlaymode(const PLAYMODES playmode)
if (mode != MODE_MOVIE)
return;
- showAudioPlayMode(movie_playmode);
+ switch (g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME])
+ {
+ case STATUSLINE_PLAYTIME:
+ showAudioPlayMode(movie_playmode);
+ break;
+ case STATUSLINE_BOTH:
+ case STATUSLINE_BOTH_AUDIO:
+ display.draw_fill_rect(0, 0, 10, 10, CLCDDisplay::PIXEL_OFF);
+ switch (movie_playmode)
+ {
+ case PLAYMODE_PLAY:
+ {
+ int x = 3, y = 1;
+ display.draw_line(x , y , x , y+8, CLCDDisplay::PIXEL_ON);
+ display.draw_line(x+1, y+1, x+1, y+7, CLCDDisplay::PIXEL_ON);
+ display.draw_line(x+2, y+2, x+2, y+6, CLCDDisplay::PIXEL_ON);
+ display.draw_line(x+3, y+3, x+3, y+5, CLCDDisplay::PIXEL_ON);
+ display.draw_line(x+4, y+4, x+4, y+4, CLCDDisplay::PIXEL_ON);
+ }
+ break;
+ case PLAYMODE_PAUSE:
+ display.draw_line(1, 2, 1, 8, CLCDDisplay::PIXEL_ON);
+ display.draw_line(2, 2, 2, 8, CLCDDisplay::PIXEL_ON);
+ display.draw_line(6, 2, 6, 8, CLCDDisplay::PIXEL_ON);
+ display.draw_line(7, 2, 7, 8, CLCDDisplay::PIXEL_ON);
+ break;
+ default:
+ break;
+ }
+ wake_up();
+ displayUpdate();
+ break;
+ default:
+ break;
+ }
}
void CLCD::setMovieInfo(const std::string big, const std::string small)
diff --git a/tuxbox/neutrino/src/gui/movieplayer.cpp b/tuxbox/neutrino/src/gui/movieplayer.cpp
index 14cb876..21d887f 100644
--- a/tuxbox/neutrino/src/gui/movieplayer.cpp
+++ b/tuxbox/neutrino/src/gui/movieplayer.cpp
@@ -1357,15 +1357,6 @@ void updateLcd(const std::string & big, const std::string & small)
case CMoviePlayerGui::PAUSE:
playmode = CLCD::PLAYMODE_PAUSE;
break;
-
- case CMoviePlayerGui::REW:
- playmode = CLCD::PLAYMODE_REV;
- break;
-
- case CMoviePlayerGui::FF:
- playmode = CLCD::PLAYMODE_FF;
- break;
-
default:
playmode = CLCD::PLAYMODE_PLAY;
break;
commit bc156a9bee86fe626d56afe18b111d9836c52c61
Author: Stefan Seyfried <se...@tu...>
Date: Thu Feb 5 16:36:48 2015 +0100
my_system: fix -Wclobbered warnings
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/src/system/helper.cpp b/tuxbox/neutrino/src/system/helper.cpp
index 6bd2bcb..66505f4 100644
--- a/tuxbox/neutrino/src/system/helper.cpp
+++ b/tuxbox/neutrino/src/system/helper.cpp
@@ -70,7 +70,7 @@ int my_system(const char * cmd)
int my_system(int argc, const char *arg, ...)
{
- int i = 0, ret = 0, childExit = 0;
+ int i = 0, ret, childExit = 0;
#define ARGV_MAX 64
/* static right now but could be made dynamic if necessary */
int argv_max = ARGV_MAX;
@@ -100,6 +100,7 @@ int my_system(int argc, const char *arg, ...)
ret = -errno;
break;
case 0: /* child process */
+ ret = 0;
for(i = 3; i < maxfd; i++)
close(i);
if (setsid() == -1)
@@ -112,6 +113,7 @@ int my_system(int argc, const char *arg, ...)
}
_exit(ret); // terminate c h i l d proces s only
default: /* parent returns to calling process */
+ ret = 0;
waitpid(pid, &childExit, 0);
if (WEXITSTATUS(childExit) != 0)
ret = (signed char)WEXITSTATUS(childExit);
commit bfc7b0329fcf827e43c4d3875a9c626d55cc4a5c
Author: Christian Schuett <Gau...@ho...>
Date: Wed Jan 28 20:07:57 2015 +0100
Neutrino audioplayer: fix SMS input
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/src/gui/audioplayer.cpp b/tuxbox/neutrino/src/gui/audioplayer.cpp
index c4785d1..db74b41 100644
--- a/tuxbox/neutrino/src/gui/audioplayer.cpp
+++ b/tuxbox/neutrino/src/gui/audioplayer.cpp
@@ -759,36 +759,11 @@ int CAudioPlayerGui::show()
{
//printf("select by name\n");
unsigned char smsKey = 0;
- do
- {
- smsKey = m_SMSKeyInput.handleMsg(msg);
- //printf(" new key: %c", smsKey);
- g_RCInput->getMsg_ms(&msg, &data, AUDIOPLAYERGUI_SMSKEY_TIMEOUT - 200);
-
-
-/* show a hint box with current char (too slow at the moment?)*/
-// char selectedKey[1];
-// sprintf(selectedKey,"%c",smsKey);
-// int x1 = getScreenStartX(0) - 50;
-// int y1 = getScreenStartY(0);
-// int h = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->getHeight();
-// int w = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->getRenderWidth(selectedKey);
-// m_frameBuffer->paintBoxRel(x1 - 7, y1 - h - 5, w + 14, h + 10, COL_MENUCONTENT_PLUS_6);
-// m_frameBuffer->paintBoxRel(x1 - 4, y1 - h - 3, w + 8, h + 6, COL_MENUCONTENTSELECTED_PLUS_0);
-// g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]
-// ->RenderString(x1,y1,w+1,selectedKey,COL_MENUCONTENTSELECTED,0);
-
-
- } while (CRCInput::isNumeric(msg) && !(m_playlist.empty()));
-
- if (msg == CRCInput::RC_timeout
- || msg == CRCInput::RC_nokey)
+ if (getSMSKeyInput(msg, smsKey))
{
//printf("selected key: %c\n",smsKey);
selectTitle(smsKey);
- update = true;
}
- m_SMSKeyInput.resetOldKey();
}
else
{
@@ -796,9 +771,8 @@ int CAudioPlayerGui::show()
int val = 0;
if (getNumericInput(msg,val))
m_selected = std::min((int)m_playlist.size(), val) - 1;
- update = true;
}
-
+ update = true;
}
#ifdef ENABLE_GUI_MOUNT
@@ -2324,13 +2298,14 @@ bool CAudioPlayerGui::getNumericInput(neutrino_msg_t& msg, int& val) {
neutrino_msg_data_t data;
int x1 = getScreenStartX(0) - 50;
int y1 = getScreenStartY(0);
+ int w = 0;
+ int h = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->getHeight();
char str[11];
do
{
val = val * 10 + CRCInput::getNumericValue(msg);
sprintf(str, "%d", val);
- int w = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->getRenderWidth(str);
- int h = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->getHeight();
+ w = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->getRenderWidth(str);
m_frameBuffer->paintBoxRel(x1 - 7, y1 - h - 5, w + 14, h + 10, COL_MENUCONTENT_PLUS_6);
m_frameBuffer->paintBoxRel(x1 - 4, y1 - h - 3, w + 8, h + 6, COL_MENUCONTENTSELECTED_PLUS_0);
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->RenderString(x1, y1, w + 1, str, COL_MENUCONTENTSELECTED, 0);
@@ -2346,12 +2321,48 @@ bool CAudioPlayerGui::getNumericInput(neutrino_msg_t& msg, int& val) {
continue;
break;
}
- } while (g_RCInput->isNumeric(msg) && val < 1000000);
+ } while (CRCInput::isNumeric(msg) && val < 1000000);
return (msg == CRCInput::RC_ok);
}
//------------------------------------------------------------------------
+bool CAudioPlayerGui::getSMSKeyInput(neutrino_msg_t& msg, unsigned char& smsKey)
+{
+ neutrino_msg_data_t data;
+ int x1 = getScreenStartX(0) - 50;
+ int y1 = getScreenStartY(0);
+ int w = 0;
+ int h = g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->getHeight();
+ char selectedKey[2];
+ do
+ {
+ smsKey = m_SMSKeyInput.handleMsg(msg);
+ //printf(" new key: %c\n", smsKey);
+ sprintf(selectedKey, "%c", smsKey);
+ w = std::max(w, g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->getRenderWidth(selectedKey));
+ m_frameBuffer->paintBoxRel(x1 - 7, y1 - h - 5, w + 14, h + 10, COL_MENUCONTENT_PLUS_6);
+ m_frameBuffer->paintBoxRel(x1 - 4, y1 - h - 3, w + 8, h + 6, COL_MENUCONTENTSELECTED_PLUS_0);
+ g_Font[SNeutrinoSettings::FONT_TYPE_CHANNEL_NUM_ZAP]->RenderString(x1, y1, w + 1, selectedKey, COL_MENUCONTENTSELECTED, 0);
+ while (true)
+ {
+ g_RCInput->getMsg_ms(&msg, &data, AUDIOPLAYERGUI_SMSKEY_TIMEOUT - 200);
+ if (msg > CRCInput::RC_MaxRC && msg != CRCInput::RC_timeout)
+ { // not a key event
+ CNeutrinoApp::getInstance()->handleMsg(msg, data);
+ continue;
+ }
+ if (msg & (CRCInput::RC_Repeat|CRCInput::RC_Release)) // repeat / release
+ continue;
+ break;
+ }
+ } while (CRCInput::isNumeric(msg));
+ m_SMSKeyInput.resetOldKey();
+ return (msg == CRCInput::RC_timeout || msg == CRCInput::RC_nokey);
+}
+
+//------------------------------------------------------------------------
+
void CAudioPlayerGui::getFileInfoToDisplay(std::string &info, CAudiofileExt &file)
{
@@ -2525,21 +2536,8 @@ void CAudioPlayerGui::selectTitle(unsigned char selectionChar)
return;
}
- int prevselected = m_selected;
m_selected = i;
-
- paintItem(prevselected - m_liststart);
- unsigned int oldliststart = m_liststart;
m_liststart = (m_selected / m_listmaxshow)*m_listmaxshow;
- //printf("before paint\n");
- if(oldliststart != m_liststart)
- {
- paint();
- }
- else
- {
- paintItem(m_selected - m_liststart);
- }
}
//------------------------------------------------------------------------
diff --git a/tuxbox/neutrino/src/gui/audioplayer.h b/tuxbox/neutrino/src/gui/audioplayer.h
index 19d04b1..cf76696 100644
--- a/tuxbox/neutrino/src/gui/audioplayer.h
+++ b/tuxbox/neutrino/src/gui/audioplayer.h
@@ -168,6 +168,7 @@ class CAudioPlayerGui : public CMenuTarget
void showMetaData();
void screensaver(bool on);
bool getNumericInput(neutrino_msg_t& msg,int& val);
+ bool getSMSKeyInput(neutrino_msg_t& msg, unsigned char& smsKey);
void addToPlaylist(CAudiofileExt &file);
void removeFromPlaylist(long pos);
commit 4f28db6d87ae9c34ece8f3bc11d6227f3a8ca6b1
Author: Christian Schuett <Gau...@ho...>
Date: Sat Jan 24 21:42:37 2015 +0100
Neutrino audioplayer: don't update full LCD every second
also remove an unnecessary head refresh because mute icon in head
was removed some years ago
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/src/gui/audioplayer.cpp b/tuxbox/neutrino/src/gui/audioplayer.cpp
index 4c1dbf2..c4785d1 100644
--- a/tuxbox/neutrino/src/gui/audioplayer.cpp
+++ b/tuxbox/neutrino/src/gui/audioplayer.cpp
@@ -836,15 +836,20 @@ int CAudioPlayerGui::show()
{
CNeutrinoApp::getInstance()->handleMsg( msg, data );
}
+ else if(msg == g_settings.key_volume_up ||
+ msg == g_settings.key_volume_down ||
+ msg == NeutrinoMessages::EVT_VOLCHANGED ||
+ msg == NeutrinoMessages::EVT_MUTECHANGED)
+ {
+ CNeutrinoApp::getInstance()->handleMsg( msg, data );
+ paintLCD();
+ }
else
{
if( CNeutrinoApp::getInstance()->handleMsg( msg, data ) & messages_return::cancel_all )
{
loop = false;
}
- // update mute icon
- paintHead();
- paintLCD();
}
}
hide();
commit ed95433d569739ce7d05670789fbf8bdafbd92d5
Author: Christian Schuett <Gau...@ho...>
Date: Sat Jan 24 19:57:55 2015 +0100
Neutrino: fix calculation of button bar height in some media players
this affects audioplayer, picture viewer and UPnP browser
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/src/gui/audioplayer.cpp b/tuxbox/neutrino/src/gui/audioplayer.cpp
index eb84e00..4c1dbf2 100644
--- a/tuxbox/neutrino/src/gui/audioplayer.cpp
+++ b/tuxbox/neutrino/src/gui/audioplayer.cpp
@@ -251,7 +251,7 @@ int CAudioPlayerGui::exec(CMenuTarget* parent, const std::string &)
m_width = w_max(720, 2 * ConnectLineBox_Width);
m_height = h_max(570, 0);
m_sheight = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
- m_buttonHeight = std::min(25, m_sheight);
+ m_buttonHeight = std::max(25, m_sheight);
m_frameBuffer->getIconSize(NEUTRINO_ICON_MP3, &m_ticonwidth, &m_ticonheight);
m_theight = std::max(m_ticonheight, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight());
m_fheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
diff --git a/tuxbox/neutrino/src/gui/pictureviewer.cpp b/tuxbox/neutrino/src/gui/pictureviewer.cpp
index 877c19a..fe3fb6d 100644
--- a/tuxbox/neutrino/src/gui/pictureviewer.cpp
+++ b/tuxbox/neutrino/src/gui/pictureviewer.cpp
@@ -123,7 +123,7 @@ int CPictureViewerGui::exec(CMenuTarget* parent, const std::string & /*actionKey
width = w_max (710, 30);
height = h_max (570, 0);
sheight = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
- buttonHeight = std::min(25, sheight);
+ buttonHeight = std::max(25, sheight);
frameBuffer->getIconSize(NEUTRINO_ICON_MP3, &ticonwidth, &ticonheight);
theight = std::max(ticonheight, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight());
fheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
diff --git a/tuxbox/neutrino/src/gui/upnpbrowser.cpp b/tuxbox/neutrino/src/gui/upnpbrowser.cpp
index aa92039..6087ccf 100644
--- a/tuxbox/neutrino/src/gui/upnpbrowser.cpp
+++ b/tuxbox/neutrino/src/gui/upnpbrowser.cpp
@@ -137,7 +137,7 @@ int CUpnpBrowserGui::exec(CMenuTarget* parent, const std::string & /*actionKey*/
m_width = w_max(710, ConnectLineBox_Width);
m_height = h_max(570, 0);
m_sheight = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
- m_buttonHeight = std::min(25, m_sheight);
+ m_buttonHeight = std::max(25, m_sheight);
m_frameBuffer->getIconSize(NEUTRINO_ICON_UPNP, &m_ticonwidth, &m_ticonheight);
m_theight = std::max(m_ticonheight, g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE]->getHeight());
m_mheight = g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight();
commit a0eb7ce18585b8f1e34c83b816906ddb85aa42b7
Author: Jacek Jendrzej <cra...@go...>
Date: Fri Jan 16 22:11:37 2015 +0100
nhttpd: ywebserver.cpp - fix possible segfault (svenhoefer)
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ywebserver.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ywebserver.cpp
index 1e3a99e..4b44757 100644
--- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ywebserver.cpp
+++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/ywebserver.cpp
@@ -416,6 +416,10 @@ bool CWebserver::handle_connection(CySocket *newSock)
// create arguments
TWebserverConnectionArgs *newConn = new TWebserverConnectionArgs;
+ if (!newConn) {
+ dperror("CWebserver TWebserverConnectionArgs error!\n");
+ return false;
+ }
newConn->ySock = newSock;
newConn->ySock->handling = true;
newConn->WebserverBackref = this;
@@ -456,23 +460,27 @@ bool CWebserver::handle_connection(CySocket *newSock)
//-------------------------------------------------------------------------
void *WebThread(void *args)
{
- CWebserverConnection *con;
- CWebserver *ws;
TWebserverConnectionArgs *newConn = (TWebserverConnectionArgs *) args;
- ws = newConn->WebserverBackref;
+ if (!newConn) {
+ dperror("WebThread called without arguments!\n");
+ return NULL;
+ }
bool is_threaded = newConn->is_treaded;
if(is_threaded)
log_level_printf(1,"++ Thread 0x06%X gestartet\n", (int) pthread_self());
- if (!newConn) {
- dperror("WebThread called without arguments!\n");
- if(newConn->is_treaded)
- pthread_exit(NULL);
- }
-
// (1) create & init Connection
- con = new CWebserverConnection(ws);
+ CWebserver *ws = newConn->WebserverBackref;
+ if (!ws) {
+ dperror("WebThread CWebserver error!\n");
+ return NULL;
+ }
+ CWebserverConnection *con = new CWebserverConnection(ws);
+ if (!con) {
+ dperror("WebThread CWebserverConnection error!\n");
+ return NULL;
+ }
con->Request.UrlData["clientaddr"] = newConn->ySock->get_client_ip(); // TODO:here?
con->sock = newConn->ySock; // give socket reference
newConn->ySock->handling = true; // dont handle this socket now be webserver main loop
commit 3236e654dc0d9b5a08c3701a774d24b0d5ea2c7d
Author: Christian Schuett <Gau...@ho...>
Date: Fri Jan 16 21:28:13 2015 +0100
Neutrino locales: add missing dots to two entries
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/data/locale/deutsch.locale b/tuxbox/neutrino/data/locale/deutsch.locale
index 4f2b9fd..4a26c68 100644
--- a/tuxbox/neutrino/data/locale/deutsch.locale
+++ b/tuxbox/neutrino/data/locale/deutsch.locale
@@ -860,7 +860,7 @@ moviebrowser.info_head Film Informationen
moviebrowser.info_head_update Inhalte in allen sichtbaren Filminfos speichern
moviebrowser.info_info1 Info 1
moviebrowser.info_info2 Info 2
-moviebrowser.info_length Spieldauer (Min)
+moviebrowser.info_length Spieldauer (Min.)
moviebrowser.info_parental_lockage Altersfreigabe
moviebrowser.info_parental_lockage_0year immer
moviebrowser.info_parental_lockage_12year 12 Jahre
@@ -918,7 +918,7 @@ moviebrowser.short_genre_major Genre
moviebrowser.short_genre_minor Genre
moviebrowser.short_info1 Info 1
moviebrowser.short_info2 Info 2
-moviebrowser.short_length Min
+moviebrowser.short_length Min.
moviebrowser.short_parental_lockage FSK
moviebrowser.short_path Pfad
moviebrowser.short_prevplaydate Zuletzt
diff --git a/tuxbox/neutrino/data/locale/english.locale b/tuxbox/neutrino/data/locale/english.locale
index 6f95b6e..c13e022 100644
--- a/tuxbox/neutrino/data/locale/english.locale
+++ b/tuxbox/neutrino/data/locale/english.locale
@@ -860,7 +860,7 @@ moviebrowser.info_head Film Informations
moviebrowser.info_head_update Save changes in all movie info files
moviebrowser.info_info1 Info 1
moviebrowser.info_info2 Info 2
-moviebrowser.info_length Length (Min)
+moviebrowser.info_length Length (min.)
moviebrowser.info_parental_lockage Parental Lock age
moviebrowser.info_parental_lockage_0year always
moviebrowser.info_parental_lockage_12year 12 years
@@ -918,7 +918,7 @@ moviebrowser.short_genre_major Genre
moviebrowser.short_genre_minor Genre
moviebrowser.short_info1 Info 1
moviebrowser.short_info2 Info 2
-moviebrowser.short_length Min
+moviebrowser.short_length Min.
moviebrowser.short_parental_lockage Age
moviebrowser.short_path Path
moviebrowser.short_prevplaydate Last
commit e957d242d357edb15822fea173d1b1c0f102adb3
Author: m4...@gm... <m4...@gm...>
Date: Tue Jan 6 16:51:23 2015 +0100
libconnection/basicserver: raise queue limit
Signed-off-by: GetAway <get...@t-...>
diff --git a/misc/libs/libconnection/basicserver.cpp b/misc/libs/libconnection/basicserver.cpp
index 84f511d..dcfc38b 100644
--- a/misc/libs/libconnection/basicserver.cpp
+++ b/misc/libs/libconnection/basicserver.cpp
@@ -106,7 +106,7 @@ bool CBasicServer::prepare(const char* socketname)
return false;
}
-#define N_connection_requests_queued 5
+#define N_connection_requests_queued 128
if (listen(sock_fd, N_connection_requests_queued) != 0)
{
commit d80721f01e97f446d4313878a16cae18cb574570
Author: m4...@gm... <m4...@gm...>
Date: Tue Jan 6 16:51:07 2015 +0100
libconnection/basicsocket: use poll() instead of select()
Signed-off-by: GetAway <get...@t-...>
diff --git a/misc/libs/libconnection/basicsocket.cpp b/misc/libs/libconnection/basicsocket.cpp
index 80dc3a2..cf69656 100644
--- a/misc/libs/libconnection/basicsocket.cpp
+++ b/misc/libs/libconnection/basicsocket.cpp
@@ -29,52 +29,52 @@
#include <stdio.h>
#include <sys/socket.h>
#include <sys/types.h>
-#include <unistd.h>
+#include <poll.h>
bool send_data(int fd, const void * data, const size_t size, const timeval timeout)
{
- fd_set writefds;
- timeval tv;
- const void * buffer;
- size_t n;
- int rc;
- int olderr;
+ char *buffer = (char *)data;
+ size_t left = size;
- n = size;
-
- while (n > 0)
+ while (left > 0)
{
- buffer = (void *)((char *)data + (size - n));
- rc = ::send(fd, buffer, n, MSG_DONTWAIT | MSG_NOSIGNAL);
+ int len = ::send(fd, buffer, left, MSG_DONTWAIT | MSG_NOSIGNAL);
- if (rc == -1)
+ if (len < 0)
{
- olderr = errno;
- if (errno != EAGAIN) // this is "write would block...", which is not an error
- fprintf(stderr,"[basicsocket] send_data: %m (n = %d/%d, pid = %d)\n", n, size, getpid());
- if (olderr == EPIPE)
- return false;
+ perror("[basicsocket] send_data");
- FD_ZERO(&writefds);
- FD_SET(fd, &writefds);
+ if (errno != EINTR && errno != EAGAIN)
+ return false;
- tv = timeout;
+ struct pollfd pfd;
+ pfd.fd = fd;
+ pfd.events = POLLOUT;
+ pfd.revents = 0;
- rc = select(fd + 1, NULL, &writefds, NULL, &tv);
+ int rc = poll(&pfd, 1, timeout.tv_sec * 1000 + timeout.tv_usec / 1000);
if (rc == 0)
{
printf("[basicsocket] send timed out.\n");
return false;
}
- if (rc == -1)
+ if (rc < 0)
+ {
+ perror("[basicsocket] send_data poll");
+ return false;
+ }
+ if (!(pfd.revents & POLLOUT))
{
- perror("[basicsocket] send_data select");
+ perror("[basicsocket] send_data POLLOUT");
return false;
}
}
else
- n -= rc;
+ {
+ buffer += len;
+ left -= len;
+ }
}
return true;
}
@@ -82,58 +82,55 @@ bool send_data(int fd, const void * data, const size_t size, const timeval timeo
bool receive_data(int fd, void * data, const size_t size, const timeval timeout)
{
- fd_set readfds;
- timeval tv;
- void * buffer;
- size_t n;
- int rc;
-
- n = size;
+ char *buffer = (char *)data;
+ size_t left = size;
- while (n > 0)
+ while (left > 0)
{
- FD_ZERO(&readfds);
- FD_SET(fd, &readfds);
+ struct pollfd pfd;
+ pfd.fd = fd;
+ pfd.events = POLLIN;
+ pfd.revents = 0;
- tv = timeout;
+ int to = timeout.tv_sec * 1000 + timeout.tv_usec / 1000;
- rc = select(fd + 1, &readfds, NULL, NULL, &tv);
+ int rc = poll(&pfd, 1, to);
if (rc == 0)
{
- printf("[basicsocket] receive timed out. waiting process %d\n", getpid());
+ printf("[basicsocket] recv timed out.\n");
return false;
}
- if (rc == -1)
+ if (rc < 0)
{
- perror("[basicsocket] receive_data select");
+ perror("[basicsocket] recv_data poll");
return false;
}
- buffer = (void *)((char *)data + (size - n));
- rc = ::recv(fd, buffer, n, MSG_DONTWAIT | MSG_NOSIGNAL);
-
- if ((rc == 0) || (rc == -1))
+ if (!(pfd.revents & POLLIN))
{
- if (rc == -1)
- {
- perror("[basicsocket] receive_data");
+ perror("[basicsocket] recv_data POLLIN");
+ return false;
+ }
+ int len = ::recv(fd, data, left, MSG_DONTWAIT | MSG_NOSIGNAL);
- if (errno == EPIPE)
- return false;
- }
- else
- {
- /*
- * silently return false
- *
- * printf("[basicsocket] no more data\n");
- */
+ if (len > 0) {
+ left -= len;
+ buffer += len;
+ } else if (len < 0)
+ {
+ perror("[basicsocket] receive_data");
+ if (errno != EINTR && errno != EAGAIN)
return false;
- }
-
}
- else
- n -= rc;
+ else // len == 0
+ {
+ /*
+ * silently return false
+ *
+ * printf("[basicsocket] no more data\n");
+ */
+ return false;
+ }
}
return true;
}
commit abbadf0b98661a6e115583f5a08f0284f82b3dcb
Author: Christian Schuett <Gau...@ho...>
Date: Thu Jan 1 17:47:44 2015 +0100
Neutrino language setup: always mark current language when opening menu
if you open the language menu, move the cursor to a new language,
leave this menu with home key and enter it again, the selected
language is now always the current one
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/src/gui/osd_setup.cpp b/tuxbox/neutrino/src/gui/osd_setup.cpp
index 8539241..efe5f43 100644
--- a/tuxbox/neutrino/src/gui/osd_setup.cpp
+++ b/tuxbox/neutrino/src/gui/osd_setup.cpp
@@ -169,6 +169,12 @@ int COsdSetup::exec(CMenuTarget* parent, const std::string &actionKey)
int res = showOsdChannelListSetup();
return res;
}
+ else if (actionKey == "show_language_setup")
+ {
+ COsdLangSetup osd_lang(menue_title);
+ int res = osd_lang.exec(NULL, "");
+ return res;
+ }
else if (actionKey=="select_font")
{
CFile file;
@@ -269,8 +275,7 @@ int COsdSetup::showOsdSetup()
CMenuWidget *osd_setup_colors = new CMenuWidget(menue_title, menue_icon, width);
// language
- COsdLangSetup *osd_lang = new COsdLangSetup(menue_title);
- CMenuForwarder *osd_lang_fw = new CMenuForwarder(LOCALE_MAINSETTINGS_LANGUAGE, true, g_settings.language, osd_lang, NULL, CRCInput::RC_red);
+ CMenuForwarder *osd_lang_fw = new CMenuForwarder(LOCALE_MAINSETTINGS_LANGUAGE, true, g_settings.language, this, "show_language_setup", CRCInput::RC_red);
//osd color setup forwarder
CMenuForwarder *osd_setup_color_sub_fw = new CMenuForwarder(LOCALE_OSDSETTINGS_COLORMENU_HEAD, true, NULL, osd_setup_colors, NULL, CRCInput::RC_green);
@@ -355,7 +360,6 @@ int COsdSetup::showOsdSetup()
delete osd_setup;
delete osd_setup_colors;
- delete osd_lang;
delete osd_themes;
delete osd_screen;
#ifdef HAVE_DBOX_HARDWARE
-----------------------------------------------------------------------
Summary of changes:
misc/libs/libconnection/basicserver.cpp | 2 +-
misc/libs/libconnection/basicsocket.cpp | 119 ++++++++++----------
.../daemons/nhttpd/yhttpd_core/ywebserver.cpp | 28 +++--
tuxbox/neutrino/data/locale/deutsch.locale | 4 +-
tuxbox/neutrino/data/locale/english.locale | 4 +-
tuxbox/neutrino/src/driver/lcdd.cpp | 36 ++++++-
tuxbox/neutrino/src/gui/audioplayer.cpp | 107 +++++++++---------
tuxbox/neutrino/src/gui/audioplayer.h | 1 +
tuxbox/neutrino/src/gui/movieplayer.cpp | 9 --
tuxbox/neutrino/src/gui/osd_setup.cpp | 10 +-
tuxbox/neutrino/src/gui/pictureviewer.cpp | 10 ++-
tuxbox/neutrino/src/gui/upnpbrowser.cpp | 2 +-
tuxbox/neutrino/src/system/helper.cpp | 4 +-
13 files changed, 192 insertions(+), 144 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2014-11-18 13:45:49
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via cf5068a2199ba084d381239034416c9b7e439d1a (commit)
via 1811dd687d49d69fe586fcc3f03862da48b8e8d1 (commit)
from 53892c778ab918e2874c6faef96dffaa257ce95f (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 cf5068a2199ba084d381239034416c9b7e439d1a
Author: Christian Schuett <Gau...@ho...>
Date: Tue Nov 11 19:43:31 2014 +0100
sectionsd: disable suspicious code
I have no clue what this code should do, so let's disable it for now.
Signed-off-by: Christian Schuett <Gau...@ho...>
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp b/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
index 1d074a4..a1e7c83 100644
--- a/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
+++ b/tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp
@@ -3211,9 +3211,10 @@ static void commandCurrentNextInfoChannelID(int connfd, char *data, const unsign
nextEvt = findNextSIeventForServiceUniqueKey(*uniqueServiceKey, zeitEvt2);
}
+#if 0
if (nextEvt.service_id != 0)
{
- MySIeventsOrderUniqueKey::iterator eFirst = mySIeventsOrderUniqueKey.find(*uniqueServiceKey);
+ MySIeventsOrderUniqueKey::iterator eFirst = mySIeventsOrderUniqueKey.find(*uniqueServiceKey); // FIXME: why search for channel ID in a map of event IDs?
if (eFirst != mySIeventsOrderUniqueKey.end())
{
@@ -3227,11 +3228,12 @@ static void commandCurrentNextInfoChannelID(int connfd, char *data, const unsign
time_t azeit = time(NULL);
if (eFirst->second->times.begin()->startzeit < azeit &&
- eFirst->second->uniqueKey() == nextEvt.uniqueKey() - 1)
+ eFirst->second->uniqueKey() == nextEvt.uniqueKey() - 1) // FIXME: why this?
flag |= CSectionsdClient::epgflags::has_no_current;
}
}
}
+#endif
}
}
if (nextEvt.service_id != 0)
commit 1811dd687d49d69fe586fcc3f03862da48b8e8d1
Author: GetAway <get...@t-...>
Date: Mon Nov 10 20:37:34 2014 +0100
tuxmaild: fix array access out of bounds
fix possible resource leak
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/plugins/tuxmail/daemon/tuxmaild.c b/tuxbox/plugins/tuxmail/daemon/tuxmaild.c
index a7351ba..b8d7b46 100644
--- a/tuxbox/plugins/tuxmail/daemon/tuxmaild.c
+++ b/tuxbox/plugins/tuxmail/daemon/tuxmaild.c
@@ -370,7 +370,7 @@ int ReadConf()
fprintf(fd_conf, "INBOX%d=%s\n", loop, account_db[loop].inbox);
fprintf(fd_conf, "SSL%d=%d\n", loop, account_db[loop].ssl);
- if(!account_db[loop + 1].name[0])
+ if(loop < 9 && !account_db[loop + 1].name[0])
{
break;
}
@@ -3769,7 +3769,7 @@ int CheckAccount(int account)
}
fd_idx = fopen("/tmp/tuxmaild.idx", "w+");
-
+
// generate listing
if(fd_status)
@@ -3791,11 +3791,13 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
+
return 0;
}
}
@@ -3805,11 +3807,13 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
+
return 0;
}
}
@@ -3822,11 +3826,13 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
+
return 0;
}
}
@@ -3837,11 +3843,13 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
+
return 0;
}
@@ -3849,11 +3857,13 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
+
return 0;
}
@@ -3863,11 +3873,13 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
+
return 0;
}
}
@@ -3883,11 +3895,13 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
+
return 0;
}
}
@@ -3897,11 +3911,13 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
+
return 0;
}
}
@@ -3937,11 +3953,12 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
return 0;
}
}
@@ -3955,7 +3972,9 @@ int CheckAccount(int account)
{
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
return 0;
}
}
@@ -4008,7 +4027,9 @@ int CheckAccount(int account)
{
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
return 0;
}
}
@@ -4023,7 +4044,9 @@ int CheckAccount(int account)
{
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
return 0;
}
@@ -4031,11 +4054,12 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
return 0;
}
@@ -4045,11 +4069,12 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
return 0;
}
}
@@ -4063,11 +4088,12 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
return 0;
}
}
@@ -4077,11 +4103,12 @@ int CheckAccount(int account)
{
free(known_uids);
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
-
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
return 0;
}
}
@@ -4180,6 +4207,12 @@ int CheckAccount(int account)
{
if(!SendPOPCommand(RSET, "", account_db[account].ssl))
{
+ if(fd_status) {
+ fclose(fd_status);
+ }
+ if(fd_idx) {
+ fclose(fd_idx);
+ }
return 0;
}
}
@@ -4193,13 +4226,10 @@ int CheckAccount(int account)
free(known_uids);
- if(fd_idx)
- {
+ if(fd_idx) {
fclose(fd_idx);
}
-
- if(fd_status)
- {
+ if(fd_status) {
fclose(fd_status);
}
}
@@ -4800,7 +4830,7 @@ void SigHandler(int signal)
int main(int argc, char **argv)
{
- char cvs_revision[] = "$Revision: 1.53 $";
+ char cvs_revision[] = "$Revision: 1.54 $";
int param, nodelay = 0, account, mailstatus, unread_mailstatus;
pthread_t thread_id;
void *thread_result = 0;
-----------------------------------------------------------------------
Summary of changes:
tuxbox/neutrino/daemons/sectionsd/sectionsd.cpp | 6 +-
tuxbox/plugins/tuxmail/daemon/tuxmaild.c | 130 ++++++++++++++---------
2 files changed, 84 insertions(+), 52 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2014-11-08 18:35:07
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 53892c778ab918e2874c6faef96dffaa257ce95f (commit)
from 03b0cd6f598cc592e1a28bc6f4a785bf48fc0967 (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 53892c778ab918e2874c6faef96dffaa257ce95f
Author: Christian Schuett <Gau...@ho...>
Date: Sat Nov 8 19:32:58 2014 +0100
nhttpd: reverse commit 8d7215d
passed by reference did result in
throwing an instance of std::out_of_range
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/helper.cpp b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/helper.cpp
index 8e17c03..471eb23 100644
--- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/helper.cpp
+++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/helper.cpp
@@ -92,7 +92,7 @@ std::string string_printf(const char *fmt, ...)
// ySplitString: spit string "str" in two strings "left" and "right" at
// one of the chars in "delimiter" returns true if delimiter found
//-------------------------------------------------------------------------
-bool ySplitString(const std::string &str, const std::string &delimiter, std::string &left, std::string &right)
+bool ySplitString(std::string str, std::string delimiter, std::string& left, std::string& right)
{
std::string::size_type pos;
if ((pos = str.find_first_of(delimiter)) != std::string::npos)
@@ -111,7 +111,7 @@ bool ySplitString(const std::string &str, const std::string &delimiter, std::str
// ySplitString: spit string "str" in two strings "left" and "right" at
// one of the chars in "delimiter" returns true if delimiter found
//-------------------------------------------------------------------------
-bool ySplitStringExact(const std::string &str, const std::string &delimiter, std::string &left, std::string &right)
+bool ySplitStringExact(std::string str, std::string delimiter, std::string& left, std::string& right)
{
std::string::size_type pos;
if ((pos = str.find(delimiter)) != std::string::npos)
@@ -130,7 +130,7 @@ bool ySplitStringExact(const std::string &str, const std::string &delimiter, std
// ySplitStringRight: spit string "str" in two strings "left" and "right" at
// one of the chars in "delimiter" returns true if delimiter found
//-------------------------------------------------------------------------
-bool ySplitStringLast(const std::string &str, const std::string &delimiter, std::string &left, std::string &right)
+bool ySplitStringLast(std::string str, std::string delimiter, std::string& left, std::string& right)
{
std::string::size_type pos;
if ((pos = str.find_last_of(delimiter)) != std::string::npos)
@@ -148,7 +148,7 @@ bool ySplitStringLast(const std::string &str, const std::string &delimiter, std:
//-------------------------------------------------------------------------
// ySplitStringVector: spit string "str" and build vector of strings
//-------------------------------------------------------------------------
-CStringArray ySplitStringVector(const std::string &str, const std::string &delimiter)
+CStringArray ySplitStringVector(std::string str, std::string delimiter)
{
std::string left, right, rest;
bool found;
@@ -203,7 +203,7 @@ bool nocase_compare (char c1, char c2)
//-----------------------------------------------------------------------------
// Decode URLEncoded std::string
//-----------------------------------------------------------------------------
-std::string decodeString(const std::string &encodedString)
+std::string decodeString(std::string encodedString)
{
const char *string = encodedString.c_str();
unsigned int count=0;
@@ -239,7 +239,7 @@ std::string decodeString(const std::string &encodedString)
//-----------------------------------------------------------------------------
// HTMLEncode std::string
//-----------------------------------------------------------------------------
-std::string encodeString(const std::string &decodedString)
+std::string encodeString(std::string decodedString)
{
unsigned int len = sizeof(char) * decodedString.length()*5 + 1;
std::string result( len, '\0' );
@@ -279,7 +279,7 @@ std::string string_tolower(std::string str)
//-----------------------------------------------------------------------------
// write string to a file
//-----------------------------------------------------------------------------
-bool write_to_file(const std::string &filename, const std::string &content)
+bool write_to_file(std::string filename, std::string content)
{
FILE *fd = NULL;
if((fd = fopen(filename.c_str(),"w")) != NULL) // open file
diff --git a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/helper.h b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/helper.h
index 2b22c66..2d570ac 100644
--- a/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/helper.h
+++ b/tuxbox/neutrino/daemons/nhttpd/yhttpd_core/helper.h
@@ -21,8 +21,8 @@ void correctTime(struct tm *zt);
//-----------------------------------------------------------------------------
std::string itoa(unsigned int conv);
std::string itoh(unsigned int conv);
-std::string decodeString(const std::string &encodedString);
-std::string encodeString(const std::string &decodedString);
+std::string decodeString(std::string encodedString);
+std::string encodeString(std::string decodedString);
std::string string_tolower(std::string str);
//-----------------------------------------------------------------------------
@@ -31,12 +31,12 @@ std::string string_tolower(std::string str);
std::string trim(std::string const& source, char const* delims = " \t\r\n");
void replace(std::string &str, const std::string &find_what, const std::string &replace_with);
std::string string_printf(const char *fmt, ...);
-bool ySplitString(const std::string &str, const std::string &delimiter, std::string &left, std::string &right);
-bool ySplitStringExact(const std::string &str, const std::string &delimiter, std::string &left, std::string &right);
-bool ySplitStringLast(const std::string &str, const std::string &delimiter, std::string &left, std::string &right);
-CStringArray ySplitStringVector(const std::string &str, const std::string &delimiter);
+bool ySplitString(std::string str, std::string delimiter, std::string& left, std::string& right);
+bool ySplitStringExact(std::string str, std::string delimiter, std::string& left, std::string& right);
+bool ySplitStringLast(std::string str, std::string delimiter, std::string& left, std::string& right);
+CStringArray ySplitStringVector(std::string str, std::string delimiter);
bool nocase_compare (char c1, char c2);
std::string timeString(time_t time);
-bool write_to_file(const std::string &filename, const std::string &content);
+bool write_to_file(std::string filename, std::string content);
#endif /* __yhttpd_helper_h__ */
-----------------------------------------------------------------------
Summary of changes:
.../neutrino/daemons/nhttpd/yhttpd_core/helper.cpp | 14 +++++++-------
.../neutrino/daemons/nhttpd/yhttpd_core/helper.h | 14 +++++++-------
2 files changed, 14 insertions(+), 14 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2014-11-07 16:45:34
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 03b0cd6f598cc592e1a28bc6f4a785bf48fc0967 (commit)
from 38f5160b5a5638f14b190769cc6f698de6984fb4 (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 03b0cd6f598cc592e1a28bc6f4a785bf48fc0967
Author: GetAway <get...@t-...>
Date: Fri Nov 7 17:28:58 2014 +0100
tuxmaild: increase spam filter entries this needs only a little bit more of RAM
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/plugins/tuxmail/daemon/tuxmaild.c b/tuxbox/plugins/tuxmail/daemon/tuxmaild.c
index bf2837e..a7351ba 100644
--- a/tuxbox/plugins/tuxmail/daemon/tuxmaild.c
+++ b/tuxbox/plugins/tuxmail/daemon/tuxmaild.c
@@ -547,7 +547,7 @@ void ReadSpamList()
{
memset(spamfilter, 0, sizeof(spamfilter));
- while(fgets(line_buffer, sizeof(line_buffer), fd_spam) && spam_entries < 100)
+ while(fgets(line_buffer, sizeof(line_buffer), fd_spam) && spam_entries < MAXSPAM)
{
if(sscanf(line_buffer, "%s", spamfilter[spam_entries].address) == 1)
{
@@ -4800,7 +4800,7 @@ void SigHandler(int signal)
int main(int argc, char **argv)
{
- char cvs_revision[] = "$Revision: 1.52 $";
+ char cvs_revision[] = "$Revision: 1.53 $";
int param, nodelay = 0, account, mailstatus, unread_mailstatus;
pthread_t thread_id;
void *thread_result = 0;
diff --git a/tuxbox/plugins/tuxmail/daemon/tuxmaild.h b/tuxbox/plugins/tuxmail/daemon/tuxmaild.h
index 06c024f..f067e9f 100644
--- a/tuxbox/plugins/tuxmail/daemon/tuxmaild.h
+++ b/tuxbox/plugins/tuxmail/daemon/tuxmaild.h
@@ -140,6 +140,7 @@ enum
};
#define MAXMAIL 100 // should be the same in tuxmail.h
+#define MAXSPAM 512
// account database
@@ -171,7 +172,7 @@ struct
{
char address[64];
-}spamfilter[100];
+}spamfilter[MAXSPAM];
// waveheader
-----------------------------------------------------------------------
Summary of changes:
tuxbox/plugins/tuxmail/daemon/tuxmaild.c | 4 ++--
tuxbox/plugins/tuxmail/daemon/tuxmaild.h | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
--
Tuxbox-GIT: apps
|
|
From: GetAway <tux...@ne...> - 2014-11-07 16:08:29
|
Project "Tuxbox-GIT: apps":
The branch, master has been updated
via 38f5160b5a5638f14b190769cc6f698de6984fb4 (commit)
from 8f9abfa8c0b426b42231f8ede21d3a434ec12e65 (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 38f5160b5a5638f14b190769cc6f698de6984fb4
Author: GetAway <get...@t-...>
Date: Fri Nov 7 16:57:03 2014 +0100
tuxmaild: increase linelen to get the whole quoted printable string. 100 chars are to little. Set it to 256.
Signed-off-by: GetAway <get...@t-...>
diff --git a/tuxbox/plugins/tuxmail/daemon/tuxmaild.c b/tuxbox/plugins/tuxmail/daemon/tuxmaild.c
index 06af926..bf2837e 100644
--- a/tuxbox/plugins/tuxmail/daemon/tuxmaild.c
+++ b/tuxbox/plugins/tuxmail/daemon/tuxmaild.c
@@ -1712,7 +1712,7 @@ int SendPOPCommand(int command, char *param, int ssl)
if(stringindex < sizeof(recv_buffer) - 4)
{
- if((linelen < 100) || (command != TOP)) // restrict linelen
+ if((linelen < 256) || (command != TOP)) // restrict linelen
{
stringindex++;
}
@@ -4800,7 +4800,7 @@ void SigHandler(int signal)
int main(int argc, char **argv)
{
- char cvs_revision[] = "$Revision: 1.51C $";
+ char cvs_revision[] = "$Revision: 1.52 $";
int param, nodelay = 0, account, mailstatus, unread_mailstatus;
pthread_t thread_id;
void *thread_result = 0;
-----------------------------------------------------------------------
Summary of changes:
tuxbox/plugins/tuxmail/daemon/tuxmaild.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
Tuxbox-GIT: apps
|