Commit Graph

3740 Commits

Author SHA1 Message Date
Thilo Graf
ec2c78537c *menu.cpp: refresh radius settings
Changed corner settings in osd setup
have no effect in unchanged menu widget instances.
2013-03-06 11:27:50 +01:00
Thilo Graf
06ee0c0c10 CComponents: add sub class CComponentsContainer and clean up some members
- add virtual members to set colors
- remove parameters from CComponents constructor and set default values
  in constructor
- v_fbdata becomes a protected member, because old members like
  v_screen_val and v_infobox_val not needed in sub classes
- using sizeof() to get size of fbdata structs in paint() members,
  so we don't need explizit defines for struct size
- new class CComponentsContainer is a basic class for
  CComponentsInfoBox and other similar coming sub classes
- use enums for fbdata types
- add function setShadowOnOff()
- also add defines for plausible usage of setShadowOnOff(CC_SHADOW_ON/OFF)
2013-03-06 11:27:50 +01:00
Stefan Seyfried
3d386649a9 sectionsd: trim CN thread debug messages
* disable DEBUG_CN_THREAD
* shorten eit update filter message
* remove unneeded printdata_ms

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-06 10:15:55 +01:00
Stefan Seyfried
49f2f4e70d sectionsd: shorten debug messages
* channel ids in sectionsd are only 48bit
* addEvent debug message had redundant information

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-06 10:14:54 +01:00
Stefan Seyfried
789d25eab0 sectionsd: be more tolerant about adjtime() failure
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-06 10:12:31 +01:00
Stefan Seyfried
4d5e7bf354 sectionsd: don't truncate 64bit value before comparing
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-06 10:12:24 +01:00
svenhoefer
2d611504af - deutsch.locale: external plugin-dir must not be on a hdd 2013-03-05 22:46:06 +01:00
svenhoefer
ff1baefd00 - deutsch.locale: rework german menu hints
serveral fixes in spelling and grammar, intelligibility and wording
2013-03-05 22:37:21 +01:00
svenhoefer
6772336524 - locale: two little requested fixes (typo and intelligibility) 2013-03-05 21:22:32 +01:00
SnowHead
2c82b79ba2 - moviebrowser: don't show additional files from enigma2 in moviebrowser 2013-03-05 20:57:40 +01:00
Stefan Seyfried
5dbf45896f hdd_menu: use proper tune2fs call
call the my_system with the proper number of parameters instead
of relying on specifics of the getopt() used by tune2fs, now that
there is no limitation on the number of my_system arguments anymore

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-05 12:04:57 +01:00
Stefan Seyfried
988a8ebec2 helpers: improve my_system function
Instead of hardcoding the maximum number of arguments to the
my_system helper, pass a variable argument list.
The function is deliberately source-incompatible with the old
implementation (as opposed to a variant with a sentinel NULL
argument, which would be compatible) to find all users and to
make sure that new future users of this function are not
overlooked during merges with other branches.

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-05 11:58:49 +01:00
Stefan Seyfried
22be19a9b0 my_system/my_popen: detach the children from neutrino's terminal
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-05 11:16:57 +01:00
Stefan Seyfried
ec58530ae4 libconfigfile: fix strange problem in last commit
for unexplained reasons, tmpfile was sometimes empty :-(
to work around that, use std::string instead of const char *

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-05 11:05:47 +01:00
Stefan Seyfried
2afc06a793 libconfigfile: update config file atomically when saving
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-05 11:05:38 +01:00
Stefan Seyfried
b6df7de7f7 neutrino: avoid crash when signals are caught during start
this needs more work to avoid crashes when interrupted early

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-05 11:01:40 +01:00
Stefan Seyfried
0b17e2f98e femanager: save frontend.conf if new entries are present
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-04 13:25:51 +01:00
svenhoefer
8b18346c98 - neutrino.cpp: fix handling of g_settings.mode_left_right_key_tv 2013-03-01 20:49:47 +01:00
svenhoefer
ca8f8251ed - audioplayer.cpp: fix comparison operator 2013-02-28 10:02:59 +01:00
svenhoefer
c0959cc5f5 - icons: remove unneeded movieplayer.raw 2013-02-28 09:49:27 +01:00
svenhoefer
57317aae31 - audioplayer.cpp: reducing console spam 2013-02-27 21:23:15 +01:00
Stefan Seyfried
4f3561104e zapit: fix order of stopping playback and selecting live FE 2013-02-26 14:11:29 +01:00
Gaucho316
3ece169f9b - moviebrowser: only save settings if modified 2013-02-26 13:53:07 +01:00
svenhoefer
365300c830 - icons: add missing hint_a_pic.png 2013-02-26 13:30:13 +01:00
svenhoefer
d4370304cd - osd_setup.cpp: move dest-dir for screenshots to top of menu 2013-02-26 13:10:17 +01:00
svenhoefer
e72d3685f0 - locale: clean screenshot-locale from unnecessary ballast 2013-02-26 13:07:20 +01:00
Stefan Seyfried
05fdc3c08d femanager: remove workaround after libconfigfile fix 2013-02-24 14:03:45 +01:00
Stefan Seyfried
804bed4e73 configfile: don't do a full sync() after saving 2013-02-24 14:03:34 +01:00
Stefan Seyfried
809db6211e configfile: reset modified flag after saving 2013-02-24 14:03:23 +01:00
Stefan Seyfried
07a8027b4d configfile: set the modified flag correctly on set*Vector methods 2013-02-24 14:03:11 +01:00
Stefan Seyfried
a410dabcdb infoviewer_bb: initialize values to satisfy valgrind 2013-02-24 13:57:07 +01:00
Stefan Seyfried
b0c7ca94a7 channellist: initialize values to satisfy valgrind 2013-02-24 13:56:47 +01:00
Jacek Jendrzej
662955f9e7 src/gui/infoviewer.cpp: fix paint progressbar opt 1 2013-02-23 17:34:12 +01:00
Thilo Graf
f90395b81d CChannelList: fix position of minitv, small cleanups
This is only a provisionally fix. A rework of initialisation for
many member variables seems to be necessary.
2013-02-22 09:23:33 +01:00
Stefan Seyfried
5db16ee2ff sectionsd: consider the table_id when inserting events
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-21 15:52:13 +01:00
Stefan Seyfried
4dbeb3a31e neutrino: fix 32<->64bit format string warnings
use portable C99 format string macros for 64bit types to
fix many warnings when compiling for 64bit architectures,
add some (int) casts for size_t
2013-02-21 15:47:18 +01:00
micha-bbg
9be5730183 * src/eitd/sectionsd.cpp: Calling function 'Sleep()' restored 2013-02-21 06:23:23 +01:00
svenhoefer
5a4722ab84 - upnpbrowser.cpp: center horizontally 2013-02-20 23:53:55 +01:00
svenhoefer
ac3e482cca - audioplayer.cpp: center horizontally 2013-02-20 23:52:30 +01:00
Stefan Seyfried
0a366a4ae4 sectionsd: on-disk epg data has lower priority than on-air data
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:19:05 +01:00
Jacek Jendrzej
1df14bd8af src/eitd/sectionsd.cpp fix compil unused variable 'rs' 2013-02-20 21:13:52 +01:00
Stefan Seyfried
c5ef1bf14c sectionsd: only step time if difference is > 2min
in order to avoid unnecessary system time jumps, only step time
if the difference is bigger than 120 seconds, else use adjtime

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:10:52 +01:00
Stefan Seyfried
f8cd0ac2f7 sectionsd: remove newline from SIsectionTIME message
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:06:35 +01:00
Stefan Seyfried
e7dd3083e6 sectionsd: silence debug spam
disable some debug messages, remove unneeded newlines
from other messages

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:06:27 +01:00
Stefan Seyfried
a0cefea55a sectionsd: retry getting eit_version
Sometimes at first start, the cn thread does not fetch the EIT version
and thus automatic updates don't work. The cause of this is not 100%
clear, for now let's add a workaround to try a bit longer fetching it.

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:05:38 +01:00
Stefan Seyfried
de6e94cb9d infoviewer_bb: fix flickering HDD bar display
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:05:25 +01:00
Stefan Seyfried
d78bb41e3b infoviewer_bb: don't start HDD percent thread once per second
Only start the HDD percent determination once per infobar display

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:05:18 +01:00
Stefan Seyfried
0042ad1e7f infoviewer_bb: smarter use of available space for buttons
of a button is not going to be painted, the space can be used for
other buttons which might otherwise have their text cut off

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:05:14 +01:00
Stefan Seyfried
ab191b1c76 infoviewer_bb: limit text width to available space
only use the available space to draw the button texts

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:05:11 +01:00
Stefan Seyfried
3064107b90 my_popen: close filedescriptors before exec
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:05:08 +01:00