Commit Graph

1412 Commits

Author SHA1 Message Date
thilo
ecaea4f845 *neutrino: fix possible compile error
missing define added

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1400 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-15 15:04:56 +00:00
striper
209d2b5c2a - fix channellist focus at wakeup from standby (patch by seife)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1399 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-15 11:53:37 +00:00
striper
ceebe14abe - fix yWeb reboot
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1398 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-14 14:24:00 +00:00
striper
759d0094d0 - add transponders for mylau/netzschkau (Goeltzschtalbruecke) to cables.xml
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1397 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-14 14:21:58 +00:00
nightshad
d26267a541 A multiple of whitespace / indent fixes.
Move the cache lock up to the allocator of the cache pages. There is
a possible race between tuxtxt_allocate_page and tuxtxt_clear_pages.

One customer reported repeated crashes while zapping. Debugging the core dump
lead me to believe there is a race going on as the variables appeared to have been
erased while it was allocating a page, and in the end crashing on an unallocated
page.





git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1396 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-12 09:46:51 +00:00
nightshad
ba51d49bca White space / indent fixes.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1395 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-12 09:32:44 +00:00
nightshad
c042af61d7 Check passed pid. Prevents invalid use and possible corruption
of the 'state'.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1394 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-12 09:29:46 +00:00
seife
48d34b432d tuxtxt: simplify FillRect() for Tripledragon
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1393 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-11 17:17:42 +00:00
seife
df3d2fbc3b sectionsd: don't take any chances in deleteEvent()
Just take the write lock right away, to make sure nothing changes the
event lists behind our backs and possibly corrupts the iterator.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1392 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-11 17:17:39 +00:00
seife
c5ae25e66d sectionsd: un-break removeDupEvents()
The crashes probably were caused by the iterator being invalid
due to concurrent insertion and deletion of events.
An obvious fix is to collect the list of events to delete while
holding the read lock, and later deleting them all in an extra loop.
Turned out to be less complicated than I originally expected ;)
TODO: audit the sectionsd code for similar stuff in other places.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1391 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-11 17:17:37 +00:00
striper
6395258913 - revert to rev. 1387
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1390 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-11 15:01:24 +00:00
satbaby
ca8a298d83 test remove2
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1389 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-11 14:23:15 +00:00
satbaby
5f8ed77fc1 test remove
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1388 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-11 14:01:36 +00:00
satbaby
7c49669d32 fix compil
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1387 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-11 14:00:35 +00:00
seife
f9250015c7 sectionsd: disable removeDupEvents() for now
removeDupEvents has some yet to be discovered design problem which
leads to crashes after some time, which smell like stack corruption
or locking issues wrt. the event lists
Obviously it needs some more thought, so disable it for now.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1386 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-11 06:26:51 +00:00
seife
8f704427b8 sectionsd: use better event set for removeDupEvents()
Use the set of events which is sorted by start time and
service id intead of the one sorted by end time to iterate
through the list of events. Fixes a mysterious crash on ppc.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1385 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-10 22:21:42 +00:00
seife
13b67c5da5 sectionsd: remove duplicate events with different eventIDs
Sometimes the playout centers seem to "renumber" the events, leading
to duplicates.
This "removeDupEvents()" checks for events from the same service, with
identical start time and duration. If it finds such events, it keeps
the one with the lower (== more recent) table_id.
This check is run from the hosekeeping thread.
It could be extended to also remove overlapping events, but this is
potentially more dangerous and can be implemented later still.

As this code is experimental, it is pretty noisy for now. The debugging
output should be toned down later.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1384 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-10 18:10:27 +00:00
seife
90164158b3 epgview: rework hasFollowScreenings() and FollowScreenings()
the current code has differences in hasFollowScreenings() and
FollowScreenings() leading to different results. hasFollow() returns
true but Follow() then notices that there are actually no repeats.
Fix this by making hasFollowScreenings() generate a list "followlist"
containing all repeats and FollowScreenings() use that list.
An added benefit is that the requested feature to add a possibility to
select one of the follow-ups for a record timer will be also able to
use that list ;-)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1383 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-10 18:10:25 +00:00
seife
04bd1ce20b sectionsd: replace existing events with event from lower table ID
If we get a new epg event whose eventID is already existing, still
replace the existing event if the table ID of the new event is lower.
This comes from the observation that the lower table IDs have the
"more current" events:
Table 0x60-0x6f: other TS,   scheduled
      0x50-0x5f: current TS, scheduled
      0x4f:      other TS,   current/next
      0x4e:      current TS, current/next
So, at at least in theory, an event from table 0x4e should always be
"better" than one from 0x60.
If you see any regressions, don't hesitate to report them.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1382 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-09 16:35:16 +00:00
seife
72149b63a4 sectionsd: add table ID to event data
record the originating table ID with every event
if not set (e.g. for events read from saved data), it defaults
to 0xff to make sure it is bigger than a real existing table ID

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1381 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-09 16:35:14 +00:00
satbaby
adbd8e1605 fix stringinput
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1380 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-07 17:35:19 +00:00
satbaby
6033d3e635 stringinput test fix
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1379 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-06 21:28:03 +00:00
satbaby
8d44b7951c Hotbird13 freq 11681000,12692000 qpsk to 8psk
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1378 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-06 19:41:24 +00:00
seife
2cefa91372 stringinput: fix rounded corners for SMS stringinput
The SMS stringinput method has a button bar below the input field,
so the rounded corners are on the button bar instead of the input
field.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1377 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-06 17:56:08 +00:00
seife
47009d9ec3 neutrino: fix missing rounded corners in stringinput
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1376 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-02 16:05:53 +00:00
seife
fd8a469974 dboxinfo: simplify code for FS/memory size display
Before, the units to display for filesystems / memory was based solely
on the filesystem type. This would lead to e.g. a 16MB FAT partition
being displayed as "0.01G" which is not too useful. Additionally, the
code made the distinction between RAM and FS in many places. Simplify
the code by determining the total/free/used in bytes, then pass that
number to a conversion function which returns a string with suffix.
Additional benefit: avoids use of float, code size significantly
smaller.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1375 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-02 13:21:42 +00:00
seife
0fb7db27ec neutrino: fix boxinfo for rootfs != JFFS2
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1374 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-02 13:21:40 +00:00
nightshad
7a4c1af962 Backport fix from tuxbox cvs.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1373 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-02 08:18:56 +00:00
seife
423d7478c9 neutrino: fix segfault due to insufficient size for PIN string
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1372 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-01 21:18:59 +00:00
satbaby
f547be0d2a -fix select bookmark position
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1371 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-01 19:28:18 +00:00
seife
2b774400bd moviebrowser: specify widths and height in percent of screen size
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1370 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-01 17:02:35 +00:00
satbaby
6478f625d3 -fix for backups with old script
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1369 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-01 14:13:29 +00:00
satbaby
ccc03ef177 use root as default dir
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1368 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-04-01 12:13:09 +00:00
nightshad
baf585e16c Added comments about different blending modes as requested
on mailinglist.


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1367 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-31 15:18:49 +00:00
thilo
c1816b159b *neutrino scan_setup: safe scan.conf
scan.conf file should now saved after saving scansettings

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1366 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-31 13:45:01 +00:00
thilo
7b44a81585 *neutrino: clean up
removed unused variables

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1365 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-31 13:44:56 +00:00
thilo
f3d3a67f0c *neutrino zapit_setup: remember last selected item
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1364 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-31 13:44:51 +00:00
thilo
31c42c1106 *neutrino plugin-class: style correcture
add missing constructor

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1363 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-31 13:44:45 +00:00
thilo
b27264d51a *neutrino menu-classes: style correcture in CAbstractMenuOptionChooser
contructor and destructors added, init member variables

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1362 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-31 13:44:39 +00:00
nightshad
0ad1fd41fd Our new FB driver header.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1361 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-31 10:49:31 +00:00
satbaby
2da2aa502e do not init CEC if box start in timer record mode
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1354 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-30 17:41:25 +00:00
satbaby
68b480e857 format timerlist.cpp with astyle
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1352 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-29 13:03:32 +00:00
satbaby
029f944c39 -fix manuel rec dir in timerlist
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1351 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-29 13:01:31 +00:00
lucgas
45683bf218 fix segfault on zapping from last service in bouquet
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1347 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-28 12:49:02 +00:00
focus
0651464007 Workaround for new COsdLangSetup, which not send configured preffered languages to sectionsd at startup
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1345 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-28 09:49:18 +00:00
seife
e7ce74ff30 CVFD: export getMode() even in !LCD_UPDATE case
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1343 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-26 17:07:01 +00:00
seife
7ae2622e52 neutrino: use legal default width for CMountChooser class
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1342 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-26 13:36:38 +00:00
seife
7f365e532d timerlist: properly activate recording dir selector
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1341 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-26 13:36:35 +00:00
seife
c9a9710d0b timerlist: restore display mode correctly on exit
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1340 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-26 13:36:32 +00:00
satbaby
899516db19 update polski.local
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1338 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-03-25 13:55:58 +00:00