Commit Graph

67 Commits

Author SHA1 Message Date
svenhoefer
0132429dfc - pictureviewer: just small code formatting changes in GetLogoName()
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
TangoCash
91fb19ff22 add special logo names support
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-12-31 11:47:44 +01:00
TangoCash
1473bca983 -webtv: fix segfault while reload
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:54 +02:00
TangoCash
42e7b0a55f adding caching xmltv logos
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:53 +02:00
TangoCash
13c645ed61 pictureviewer: fix segfault if no channelid is present
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:53 +02:00
svenhoefer
f5754b74f2 - helpers: rework new random-functions to get the code more reuseable
* introduceand use LOGODIR_TMP (storage dir for webchannel logos)

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:52 +02:00
TangoCash
360a70da28 fix infoviewer
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-09 20:25:58 +02:00
svenhoefer
cb8e772305 - pictureviewer: search for e2 picons in LOGODIR_VAR and LOGODIR too
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-09 20:25:57 +02:00
TangoCash
aeab1ae0bd adding support for E2 picons
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-09 20:25:57 +02:00
TangoCash
f4512218b4 use alternative logo if present
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-09 20:25:57 +02:00
Thilo Graf
fc2629eec5 CPictureViewer: add current image into debug line
It's not possible to see which file causes this error.
2017-12-17 14:02:39 +01:00
Jacek Jendrzej
85cff28f07 2 supplement to 1f0a1bfdf2 2017-06-13 14:30:37 +02:00
Jacek Jendrzej
30b1c3f286 supplement to 1f0a1bfdf2 2017-06-13 14:23:56 +02:00
Jacek Jendrzej
1f0a1bfdf2 src/driver/pictureviewer/pictureviewer.cpp add bufferram and cached to calc freemem 2017-06-13 13:34:17 +02:00
Jacek Jendrzej
f6482eb042 fix download pic from ssl url 2017-04-18 19:09:32 +02:00
Jacek Jendrzej
833a65c9e4 fix needed mem check 2017-03-23 12:43:27 +01:00
Jacek Jendrzej
e15f31fee4 src/driver/pictureviewer/pictureviewer.cpp Picviewer need double image bufferSize for avoid segfault 2017-02-11 21:08:25 +01:00
Jacek Jendrzej
80f6e611ba src/driver/pictureviewer/pictureviewer.cpp check whether there is enough free memory for the image buffer 2017-02-10 20:33:15 +01:00
Jacek Jendrzej
5ea4cbf145 pictureviewer: fix possible segfault if width or height < 1,fix possible memleak 2016-11-01 14:50:08 +01:00
Jacek Jendrzej
49c86a38b4 avoid division by zero 2016-04-21 18:14:46 +02:00
Jacek Jendrzej
93f3007be1 pictureviewer.cpp fix possible memleak 2016-02-16 12:59:43 +01:00
svenhoefer
11ccc53f0b - move LOGODIR and LOGODIR_VAR to global.h 2015-05-06 22:58:54 +02:00
svenhoefer
89a11de651 - fix and use ICONSDIR variable; move ICONSSDIR_VAR to global.h 2015-05-06 22:58:54 +02:00
Thilo Graf
2dc47e0fe1 CPictureViewer: fix wconversion warnings 2015-03-29 22:40:07 +02:00
Thilo Graf
6151152a20 CPictureViewer: use neutrino internal log
Show only errors in mode DEBUG_NORMAL.
2015-03-29 22:40:07 +02:00
svenhoefer
ff1a7b8640 - pictureviewer: do only show picture if decoding succeed
based upon patch "fix screensaver" by max10 <max_10@gmx.de>
2015-03-19 10:54:45 +01:00
Jacek Jendrzej
d58f621769 pictureviewer.cpp: CPictureViewer::DownloadImage remove double add CURLOPT_NOSIGNA 2015-02-04 15:52:40 +01:00
Jacek Jendrzej
1121e6210e pictureviewer.cpp: CPictureViewer::DownloadImage add curl timeout opt 2015-02-04 15:35:13 +01:00
[CST] Focus
b2a7aabe15 driver/pictureviewer/pictureviewer.cpp: change supported formats order 2014-09-27 16:21:43 +04:00
martii
b21cb152b5 system/settings: move theme colors to dedicated struct
Conflicts:
	src/driver/pictureviewer/pictureviewer.cpp
	src/gui/epgview.cpp
	src/gui/osd_setup.cpp
	src/gui/pluginlist.cpp
	src/neutrino.cpp
2014-09-12 18:29:21 +04:00
Jacek Jendrzej
c86ad2ef48 /pictureviewer.cpp CPictureViewer::GetLogoName: don't add the same dir twice 2014-05-26 16:55:02 +02:00
Jacek Jendrzej
80d7cc186d CPictureViewer:: move download code to separate funktion DownloadImage 2014-03-19 18:32:34 +01:00
svenhoefer
7ab37854c6 - pictureviewer: add a var-dir for channellogos (/var/tuxbox/icons/logo) 2014-03-07 23:03:57 +01:00
svenhoefer
50ee98c3c9 - pictureviewer: readd fallback to the std logo directory in flash 2013-10-07 17:19:27 +02:00
Thilo Graf
992cac1a55 CComponentsPicture: add class CComponentsChannelLogo 2013-10-06 17:14:31 +02:00
Thilo Graf
662fbe2dec CPictureViewer: rework GetLogoName
Evaluation with real channel name was broken.
2013-10-06 17:14:31 +02:00
[CST] Focus
a876b074ed driver/pictureviewer/pictureviewer.cpp: add support to get file from url, (c) martii <m4rtii@gmx.de> 2013-09-03 18:23:20 +04:00
Jacek Jendrzej
725b3eb27c src/driver/pictureviewer/pictureviewer.cpp: move free handlers to ~CPictureViewer(), fix segfault aufter commit 833fb32197 2013-04-24 12:03:58 +02:00
Stefan Seyfried
4f31b4e779 pictureviewer: free formathandlers in destructor 2013-04-17 10:21:33 +04:00
Stefan Seyfried
166e403965 neutrino: fix most hardcoded paths
Conflicts:
	src/eitd/SIlanguage.cpp
	src/eitd/SIlanguage.hpp
	src/gui/bookmarkmanager.h
	src/gui/keybind_setup.cpp
	src/gui/settings_manager.cpp
	src/nhttpd/yconfig.h
	src/nhttpd/yhttpd_mods/Makefile.am
	src/system/localize.cpp
2013-03-12 17:16:13 +04:00
satbaby
a3bfab0bcd remove doubles include 2012-09-11 20:31:33 +02:00
satbaby
441cba7d4a biggest chan number in list (revised) 2012-07-07 21:10:10 +02:00
satbaby
060c1c45b2 fix gcc 4.7.x warnings 2012-07-07 13:09:08 +02:00
satbaby
6ec13051a1 never used value 2012-05-06 14:10:48 +02:00
micha-bbg
5fee27085d * Moviebrowser: disabled 'pseudo' transparency for display screenshot
- Global setting for picture / icon transparency can be made
  in framebuffer constuctor
- Default is old standard (transparency when Black Content)
- Individual transparency with CFrameBuffer::SetTransparent()

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2155 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-03-19 21:40:03 +00:00
micha-bbg
6bbef9a0f6 * Add paint background to paintIcon() / DisplayImage()
- paint background before display icon in CFrameBuffer::paintIcon()
- paint background before display image in CPictureViewer::DisplayImage()

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2082 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-02-07 11:12:45 +00:00
micha-bbg
2e473b97d4 * Pictureviewer: Supported image formats
- Added function to determine the supported image formats
- Is required by moviebrowser.cpp (display screenshot)


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1988 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-12-23 06:10:00 +00:00
micha-bbg
4f4f46a912 Correct calculation of the size of logo in list header.
- Function for calculating from infoviewer.cpp to pictureviewer.cpp moved
- Correct calculation in channellist.cpp, epgview.cpp and moviebrowser.cpp


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1869 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-11-21 23:11:52 +00:00
micha-bbg
c4514851fe - printf, which are unnecessary from pictureviewer.cpp and png.cpp removed
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1761 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-10-19 20:28:01 +00:00
micha-bbg
ccb9fceec7 - add support for 24bit PNGs with alpha-channel in function CPictureViewer::getIcon
- code optimized pictureviewer.cpp (CPictureViewer::getIcon / CPictureViewer::getImage)
- code optimized png.cpp (fh_png_load / png_load_ext)


git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1753 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-10-08 02:55:04 +00:00