Commit Graph

12840 Commits

Author SHA1 Message Date
seife
aac9e518c0 epgview: fix 'color direction' of progressbar
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@142 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 16:34:52 +00:00
seife
0bd8d5fa4c neutrino: fix parameter parsing, rename -blink to --noblink for consistency
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@141 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 15:15:38 +00:00
seife
a13654fa10 sectionsd: we need to lock the mutex for pthread_cond_broadcast()
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@140 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 14:52:06 +00:00
seife
4d97222d9b sectionsd: speed up shutdown
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@139 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 14:50:08 +00:00
seife
19d0d38daa neutrino: speed up shutdown
streamts and sectionsd can take some time to shutdown, so trigger
them first

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@138 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 14:48:36 +00:00
lucgas
c29932f0b8 fix for older boost
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@137 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 13:48:53 +00:00
seife
e4b135c0cf streaminfo: fix painting of progress bars
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@136 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 13:21:09 +00:00
seife
cadfbe4695 CProgressBar: initialize variable
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@135 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 13:21:06 +00:00
seife
5053702af1 sectionsd: get rid of exceptions
Fortunately, those exceptions do not trigger. If they did, they
would kill the box as an unhandled exception would lead to an unclean
shutdown of the drivers anyway, so we can just do without them as in
the rest of neutrino.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@134 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 12:45:27 +00:00
seife
691811695a neutrino: make blinkenlights runtime configurable
Get rid of "--disable-blinkenlights" configure switch. Colored
progress bars can be disabled with "neutrino -noblink" now.
Unfortunately CProgressBar had to be touched again to avoid
ambiguities in the constructor, but should be done for now.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@133 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 12:06:13 +00:00
seife
5be7539be9 deprecate CScale code. TODO: remove completely
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@132 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 10:41:45 +00:00
seife
697e3c6756 neutrino: consolidate CScale and CProgressBar code
Add code for coloured progressbars to CProgressBar class. This
allows to deprecate the CScale code completely (is not used anymore)
and, in a follow-up step, make the progress bar style runtime configurable.

TODO: documentation ;)
      check if all progressbars still behave the same

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@131 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-03 10:39:40 +00:00
lucgas
cc446a1fd2 fix icons
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@130 e54a6e83-5905-42d5-8d5c-058d10e6a962
2010-01-01 10:11:59 +00:00
seife
7dcf8fe14d widget/menu.*: add keyval_ext type
instead of adding unneeded default values to all menuchooser options
just to cater for two special cases, add an extra version that does
not need a locale setting but instead takes a char* instead.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@129 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-31 09:34:53 +00:00
focus
ad9c2f2d84 Fix icons
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@127 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-30 13:34:07 +00:00
mws
474790557f fix initializers and shadows
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@124 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-29 13:56:52 +00:00
mws
00353cf75d fix initializers and shadows
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@123 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-29 13:24:33 +00:00
mws
e1c39d4ce5 fix initializers and shadows
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@122 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-29 11:44:31 +00:00
mws
3b43ba42a0 fix initializers and shadows
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@121 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-29 11:39:58 +00:00
seife
6a69be899d try to correct mws's fuckup by disabling exceptions again
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@120 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-26 11:28:12 +00:00
satbaby
d3ad025968 fix segfault
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@119 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-24 14:56:37 +00:00
mws
6e718d8987 fix shadow stuff and initializers....
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@118 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-23 12:08:43 +00:00
seife
8070a9613d fix up libxmltree interfaces, so that useless casts can be removed
Lots of places hat casts from (const char*) to (char *) to silence
a "deprecated conversion" warning. Instead of casting (which is
inherently wrong), fix up the libxmltree interfaces.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@117 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-22 16:11:40 +00:00
satbaby
148c0a771a is safe to deallocate a NULL pointer
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@115 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-22 15:39:54 +00:00
seife
c77b7f37c8 fontrenderer.cpp: stuff allocated with strdup must be free()'d, not deleted
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@107 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-22 12:15:01 +00:00
seife
732ffb18be fix more "type qualifiers ignored on function return type" warnings
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@105 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-21 17:26:15 +00:00
mws
1b13da2617 Mark unused vars as comment
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@104 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-21 16:23:09 +00:00
seife
7b87012631 compiler warning fixes
Fix a bunch of "warning: type qualifiers ignored on function
return type" (you see them with -Wall -Wextra). Still lots to fix.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@103 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-21 00:00:02 +00:00
seife
0630507360 infoviewer: fix timescale background in blinkenlights mode
The timescale background was not painted on subsequent calls of the
infobar unless the percentage had changed. Thanks lucgas for reporting.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@102 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-20 22:28:19 +00:00
seife
6a3dfb0020 fix typo in "recalculate" commit
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@101 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-20 21:40:16 +00:00
seife
4a23449c8e framebuffer: make table of circle values static
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@100 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-20 21:30:32 +00:00
seife
a45f371636 recalculate infobar position after font or screensetup changes
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@99 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-20 21:30:29 +00:00
seife
115ba99f2e neutrino: rework infoviewer
Make the infoviewer more "tuxbox-like". The default appearance should
only change marginally, but this provides infrastructure to:
*) disable the crypto icons (default if --disable-blinkenlights)
*) resize the infobar better to adapt to changed font sizes (not yet
   perfect, but better than before)
*) always vertically center the icons in the button bar (red green blue
   and AC3/16:9 etc)
The one thing visible immediately is that the infobar is always drawn
at the same height, regardless if the buttonbar is drawn below or not.
Originally I did it that way because a) the code was simpler and b) I
liked it better. If this is an issue, please report an I can change that.

I deliberately did not touch the display in file playback mode, this can
be done later once potential issues are shaken out.

Tis is a massive change, so I expect it to be not perfect. Please report
anything you find.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@98 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-20 21:08:35 +00:00
seife
21e8718a45 infoviewer: fix CScale sizes
The CScale code does not allow for a height of 4 or 8 (it rounds
up to 6 and 10 due to buggy implementation), so we might as well
declare the scales with the proper size.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@93 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-20 13:36:21 +00:00
seife
e2f4d73d78 framebuffer: add infrastructure to center icons vertically
add an additional height parameter to paintIcon() that allows to
center the icons vertically between y and y+h
defaults to 0 == unchanged behaviour

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@92 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-20 13:36:18 +00:00
satbaby
2e9d4bc46a port getScreenStartX() & getScreenStartY() code from tuxbox CVS; use getScreenStartX(),getScreenStartY(),h_max(),w_max() routines
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@90 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-17 11:19:16 +00:00
satbaby
2cea351f94 port getScreenStartX() & getScreenStartY() code from tuxbox CVS; use getScreenStartX(),getScreenStartY(),h_max(),w_max() routines
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@89 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-17 10:49:00 +00:00
satbaby
0cab2ca9fd port getScreenStartX() & getScreenStartY() code from tuxbox CVS; use getScreenStartX(),getScreenStartY(),h_max(),w_max() routines
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@88 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-17 10:36:44 +00:00
satbaby
49e009134b port rounded corner code from tuxbox CVSuse getScreenStartX(),getScreenStartY(),h_max(),w_max() routines
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@87 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-17 09:58:55 +00:00
mws
dfe40f9833 fix sign of integer / unused stuff / ...
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@86 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:08:55 +00:00
mws
27328dc8ad fix variable init
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@85 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:08:12 +00:00
mws
ed6d4984e8 unused stuff commented
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@84 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:07:49 +00:00
mws
1319399ca0 move warning to fixme
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@83 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:07:24 +00:00
mws
bb2f896636 unused stuff commented
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@82 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:06:57 +00:00
mws
ecf862e1ec fix constness
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@81 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:06:38 +00:00
mws
80e7d039c7 unused stuff commented
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@80 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:06:23 +00:00
mws
6810f5c3e7 fix structnaming from anonymous to a real name
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@79 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:06:01 +00:00
mws
89c4a1b50b fix constness
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@78 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:03:21 +00:00
mws
bf2cbdbe55 unused stuff commented
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@77 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:02:51 +00:00
mws
443fa900c5 fix init - please CHECK for me it is an uninited pointer...
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@76 e54a6e83-5905-42d5-8d5c-058d10e6a962
2009-12-16 16:02:05 +00:00