Commit Graph

10755 Commits

Author SHA1 Message Date
Jacek Jendrzej
5ba69b43ec fix compil after merge 2017-10-02 14:23:17 +02:00
Jacek Jendrzej
7ad4a0e6cc Merge branch 'master' into pu/mp 2017-10-02 13:56:25 +02:00
Stefan Seyfried
2f39081708 helpers/readFile: limit memory allocations 2017-10-02 13:43:57 +02:00
Stefan Seyfried
0d9139054a remove "using namespace std" from header files
"using namespace std" in headers is considered bad practice, so move it
either into the respective cpp files or (for files which have lots of
other std::xxx usage anyway) just write it out explicitly.
Looking at the headers and the affected cpp files, one can actually see
why it is bad practice, as it's spreading very far ;-)
2017-10-02 13:43:57 +02:00
Jacek Jendrzej
08dc0d7561 Merge branch 'master' into pu/mp 2017-09-30 13:22:29 +02:00
svenhoefer
17ea8e7d63 - deutsch.locale: adjust EPGPlus.remind 2017-09-30 13:18:12 +02:00
Stefan Seyfried
ab3434e278 CMenuWidget: fix "left" key for menuchoosers where
the "decrement menu function" got lost by the last "simplify code and
add missing break" commit. The implicit fallthrough actually was used to
execute the "left" function.
Reorganize the code so that it works even without the implicit
fallthrough.
2017-09-30 13:14:57 +02:00
Jacek Jendrzej
4fc73acffc Merge branch 'master' into pu/mp 2017-09-29 10:49:27 +02:00
svenhoefer
99cc7f850a - rcinput: simplify calcTimeoutEnd() calls; 0 is "off" by default now 2017-09-29 10:34:23 +02:00
Jacek Jendrzej
452f155f04 Merge branch 'master' into pu/mp 2017-09-28 14:14:20 +02:00
svenhoefer
386c2b4d09 - bouqueteditor: clear details in infobox if no channels available 2017-09-28 14:12:32 +02:00
Jacek Jendrzej
0f26434550 fix clang compil, use swap() 2017-09-28 13:43:51 +02:00
Jacek Jendrzej
7ae7765460 Merge branch 'master' into pu/mp 2017-09-27 14:30:28 +02:00
svenhoefer
58e05cfd99 - menue: only add hint_height to full_height, if we really have a hint 2017-09-27 14:29:51 +02:00
svenhoefer
e94e0780b0 - bouqueteditor_channels: allow to navigate with left/right through the bouquets
add corresponding context-icons to header
2017-09-27 14:20:11 +02:00
Jacek Jendrzej
1fc8437a34 Merge branch 'master' into pu/mp 2017-09-27 11:56:03 +02:00
svenhoefer
c00013ea52 - bouqueteditor: some more timeout-fixes 2017-09-27 11:55:22 +02:00
Jacek Jendrzej
1deaebf1cf Revert "CMenuWidget: simplify menu_left_exit code, add missing break"
This reverts commit aa0863f0c3.
2017-09-27 11:11:12 +02:00
Jacek Jendrzej
2e696818d1 Merge branch 'master' into pu/mp 2017-09-27 09:58:18 +02:00
svenhoefer
95157b1f8f - fix some timout-off-bugs in bouquetlist and channellist 2017-09-27 09:57:19 +02:00
svenhoefer
f0e7069878 - fix some timout-off-bugs in epgplus, epgview, eventlist and filebrowser 2017-09-27 09:57:10 +02:00
svenhoefer
db80514499 - bouqueteditor: fix timeout; editor doesn't open when timeout was "off" 2017-09-27 09:50:14 +02:00
svenhoefer
db5af2d9ca - network-setup: add header-icon to network-test 2017-09-27 09:50:14 +02:00
svenhoefer
b37deab766 - network-setup: fix text-alignment for network-test 2017-09-27 09:50:14 +02:00
Jacek Jendrzej
0abeb742bd Merge branch 'master' into pu/mp 2017-09-26 13:38:07 +02:00
svenhoefer
96bb48b281 - menue: fix coordinates for savescreen function 2017-09-26 13:36:33 +02:00
svenhoefer
a961191863 - bouqueteditor_bouquets: RC_yellow now stops move bouquets too 2017-09-26 13:36:33 +02:00
Jacek Jendrzej
e4d0065909 Merge branch 'master' into pu/mp 2017-09-26 13:02:04 +02:00
svenhoefer
77643f3b3b - menue: add missing delete 2017-09-26 13:00:49 +02:00
Jacek Jendrzej
b7ceb705a0 Merge branch 'master' into pu/mp 2017-09-26 12:52:04 +02:00
Jacek Jendrzej
ca09c92542 Revert "src/gui/osd_setup.cpp disable hint paint in channellist-mode, is broken"
This reverts commit e308407b22.
2017-09-26 12:41:05 +02:00
svenhoefer
33a596d175 - menue: user smaller vertical offset for hintboxes to keep it in sync with other vertical offsets
* get bottom menu offset from CMenuSeparator()->getHeight()
2017-09-26 12:41:05 +02:00
svenhoefer
7c429c17e0 - osd-setup: use 0 as a localized value for timeout-settings 2017-09-26 12:41:05 +02:00
svenhoefer
d9e540b865 - menue: add possibility to add localized values in CMenuOptionNumberChooser seperately 2017-09-26 12:41:05 +02:00
svenhoefer
95ab4ac708 - detailsline: reduce two times the shadow width from the h_marks
Otherwise shadows will be painted lower then the height of the object
the detailsline is docked to.
2017-09-26 12:41:05 +02:00
svenhoefer
4f50b2009a - bouqueteditor: massively rework gui; ...
* add CBEGlobals to globalize some basic calculations
  (maybe there's something more to globalize)
* add header-icons
* change header-captions
* add info-texts for webtv-channels
* change arrangement of status-icons
* small code re-formattings

bouqueteditor_bouquets:
* RC_yellow now starts and stops moving of bouquets
* RC_tv now switches to tv-channels
* RC_radio now switches to radio-channels

bouqueteditor_chanselect:
* RC_green now add channels too
* don't use listbox-widget anymore (listbox is unused now)
2017-09-26 12:41:05 +02:00
Stefan Seyfried
940fdf36fd epgview: swap RC_info and RC_help in EPG view
this restores old behaviour of RC_info toggling big fonts.
RC_help toggles TMDB display (which is disabled by default anyway)
2017-09-26 12:41:05 +02:00
Stefan Seyfried
163815a2e0 audioplayer: allow to add https:// urls from playlist 2017-09-26 12:41:05 +02:00
Stefan Seyfried
7955467a77 netfile: avoid possible buffer overflows spotted by gcc7
* use strcpy instead of sprintf(x, "constant") or sprintf(x, "%s", str)
* use strncpy and ensure termination where necessary
* use snprintf instead of sprintf
2017-09-26 12:41:05 +02:00
Stefan Seyfried
a294b610a4 fb_accel: fix blit after time_monotonic_ms fix 2017-09-26 12:41:05 +02:00
Stefan Seyfried
7f2d58f956 abstime: fix time_monotonic_ms on 32bit systems
m)
2017-09-26 12:41:05 +02:00
Stefan Seyfried
9425caa6e5 rcinput: disable timer debug messages 2017-09-26 12:41:05 +02:00
Stefan Seyfried
8a243ea12e subchannel_select: ensure buffer does not overflow 2017-09-26 12:41:05 +02:00
Stefan Seyfried
96006a04f6 audioplayer: fix buffer overflow 2017-09-26 12:41:05 +02:00
Stefan Seyfried
5457ddc108 moviebrowser: fix format-string warnings 2017-09-26 12:41:05 +02:00
Stefan Seyfried
8e4907b2db zapit: properly initialize arrays in scanbat and scansdt 2017-09-26 12:41:05 +02:00
Stefan Seyfried
aa0863f0c3 CMenuWidget: simplify menu_left_exit code, add missing break 2017-09-26 12:41:05 +02:00
Stefan Seyfried
468fd6a3c7 zapit: suppress one more implicit-fallthrough warning 2017-09-26 12:41:05 +02:00
Stefan Seyfried
99c8168d2c change time_monotonic_ms() from time_t to int64_t
time_monotonic_ms values did wrap every ~24 days, leading to problems
in code that did not cope with that. Instead of fixing all places where
relative comparisons with time_monotonic_ms() are made, just use a
bigger datatype. Convert all users to the new type.
2017-09-26 12:41:05 +02:00
Stefan Seyfried
ea30b22119 neutrinoyparser: fix invalid logic in func_unmount_get_list 2017-09-26 12:41:05 +02:00