Commit Graph

9548 Commits

Author SHA1 Message Date
Stefan Seyfried
abf326730e moviebrowser: fix format-string warnings
Origin commit data
------------------
Commit: 5457ddc108
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)
2017-09-26 12:41:05 +02:00
Stefan Seyfried
548d90b18f zapit: properly initialize arrays in scanbat and scansdt
Origin commit data
------------------
Commit: 8e4907b2db
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)
2017-09-26 12:41:05 +02:00
Stefan Seyfried
a381903b02 CMenuWidget: simplify menu_left_exit code, add missing break
Origin commit data
------------------
Commit: aa0863f0c3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)
2017-09-26 12:41:05 +02:00
Stefan Seyfried
aa0e257820 zapit: suppress one more implicit-fallthrough warning
Origin commit data
------------------
Commit: 468fd6a3c7
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)
2017-09-26 12:41:05 +02:00
Stefan Seyfried
f7a8eacf54 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.


Origin commit data
------------------
Commit: 99c8168d2c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)
2017-09-26 12:41:05 +02:00
Stefan Seyfried
69dd02f458 neutrinoyparser: fix invalid logic in func_unmount_get_list
Origin commit data
------------------
Commit: ea30b22119
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)
2017-09-26 12:41:05 +02:00
Stefan Seyfried
cc14797738 pictureviewer: fix build with gcc7
Origin commit data
------------------
Commit: 125eb6a7d1
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)
2017-09-26 12:41:05 +02:00
Stefan Seyfried
d41f19b667 add comments to suppres -Wimplicit-fallthrough warnings
Origin commit data
------------------
Commit: 971f3703a6
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)
2017-09-26 12:41:05 +02:00
Stefan Seyfried
89cd4ce8a4 add LUA_CFLAGS everywhere widget/menue.h is used
Origin commit data
------------------
Commit: 9e2a7d7f79
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)
2017-09-26 12:41:05 +02:00
Thilo Graf
3001ba022f cc_detailsline.cpp: fix possible unintended reduced height of bottom marker
Decrement value removed.

Height of bottom marker was decreased on every new repaint if no new
height was assigned. Was to see in bouqueteditor while scrolling with bouqets or
channel select window.

comes in with e534457250


Origin commit data
------------------
Commit: dca7e10179
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-24 (Sun, 24 Sep 2017)
2017-09-24 22:27:46 +02:00
Jacek Jendrzej
8337c2402b fix stack buffer underflow
Origin commit data
------------------
Commit: bdd23e0ece
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-21 (Thu, 21 Sep 2017)
2017-09-21 18:46:21 +02:00
Jacek Jendrzej
27634c1c08 fix use stack after scope
Origin commit data
------------------
Commit: d61b9745bc
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-21 (Thu, 21 Sep 2017)
2017-09-21 18:45:47 +02:00
Michael Liebmann
bae7c53f79 jsoncpp: update to current version 1.8.3
Origin commit data
------------------
Commit: 9f6e78974b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-09-21 (Thu, 21 Sep 2017)
2017-09-21 09:06:32 +02:00
vanhofen
402c567fe7 add and use FRAME_WIDTH defines; ...
replace other fixed frame widths with OFFSET defines

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 6ee3e54741
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-20 (Wed, 20 Sep 2017)

Origin message was:
------------------
- add and use FRAME_WIDTH defines; ...

replace other fixed frame widths with OFFSET defines

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-09-20 21:29:53 +02:00
Thilo Graf
f57d1e80b7 CComponentsFrmClock: Using less chars for time string.
Current count of chars could be not enough in some cases.


Origin commit data
------------------
Commit: ecdc1acb9f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-20 (Wed, 20 Sep 2017)
2017-09-20 21:29:53 +02:00
Jacek Jendrzej
9566002cf8 src/gui/osd_setup.cpp disable hint paint in channellist-mode, is broken
Origin commit data
------------------
Commit: e308407b22
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-20 (Wed, 20 Sep 2017)
2017-09-20 18:07:05 +02:00
Michael Liebmann
0f8396bcaa Use parseJsonFromString() for parsing json data in
- CMoviePlayerGui::luaGetUrl()
 - CTimerList::RemoteBoxChanExists()
 - CTimerList::RemoteBoxTimerList()
 - CTimerList::paintItem()
 - cTmdb::GetMovieDetails()
 - cYTFeedParser::parseFeedJSON()
 - cYTFeedParser::parseFeedDetailsJSON()


Origin commit data
------------------
Commit: 25ae929523
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-09-19 (Tue, 19 Sep 2017)

Origin message was:
------------------
Use parseJsonFromString() for parsing json data in

  - CMoviePlayerGui::luaGetUrl()
  - CTimerList::RemoteBoxChanExists()
  - CTimerList::RemoteBoxTimerList()
  - CTimerList::paintItem()
  - cTmdb::GetMovieDetails()
  - cYTFeedParser::parseFeedJSON()
  - cYTFeedParser::parseFeedDetailsJSON()
2017-09-19 23:20:39 +02:00
Michael Liebmann
8641bcd5ee helpers.cpp: Add new functions
- readFile()
 - parseJsonFromFile()
 - parseJsonFromString()

 parseJsonFromString() and parseJsonFromFile() use Json::CharReader
 instead of the obsolete function Json::Reader


Origin commit data
------------------
Commit: 05d8ed4105
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-09-19 (Tue, 19 Sep 2017)

Origin message was:
------------------
helpers.cpp: Add new functions

 - readFile()
 - parseJsonFromFile()
 - parseJsonFromString()

 parseJsonFromString() and parseJsonFromFile() use Json::CharReader
 instead of the obsolete function Json::Reader
2017-09-19 23:20:39 +02:00
Thilo Graf
ba2c0e22b7 CKeyChooserItem: add missing 'timeoutbar' while waiting for pressed key
Origin commit data
------------------
Commit: 3e17b73df6
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-19 (Tue, 19 Sep 2017)
2017-09-19 19:41:42 +02:00
vanhofen
955f1e2afa menue: use getItemColors() to get item colors
Origin commit data
------------------
Commit: 57a17472a6
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-18 (Mon, 18 Sep 2017)

Origin message was:
------------------
- menue: use getItemColors() to get item colors
2017-09-19 18:10:56 +02:00
max_10
b780215fad mediaplayer: fixes form Duckbox git
Origin commit data
------------------
Commit: af3a61cb96
Author: max_10 <max_10@gmx.de>
Date: 2017-09-18 (Mon, 18 Sep 2017)
2017-09-19 15:12:53 +02:00
Jacek Jendrzej
462626f9eb fix start clock supplement to 0f9284bf91
Origin commit data
------------------
Commit: b1f820aa44
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-19 (Tue, 19 Sep 2017)
2017-09-19 12:40:02 +02:00
Jacek Jendrzej
48cf627494 osd_setup.cpp fix memleak
Origin commit data
------------------
Commit: 82a0cdeb68
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-18 (Mon, 18 Sep 2017)
2017-09-18 14:57:11 +02:00
Jacek Jendrzej
b34c510658 fix memleak
Origin commit data
------------------
Commit: 511d953a18
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-18 (Mon, 18 Sep 2017)
2017-09-18 14:11:34 +02:00
Jacek Jendrzej
14145554aa fix mem leak
Origin commit data
------------------
Commit: a7942c9987
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-18 (Mon, 18 Sep 2017)
2017-09-18 08:56:02 +02:00
Thilo Graf
41a81c11e5 CKeyChooserItem: fix possible memleak
Origin commit data
------------------
Commit: 5a48398bb4
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-17 (Sun, 17 Sep 2017)
2017-09-17 22:24:44 +02:00
Thilo Graf
6603d1126e CHintBox: fix possible unintended cut of text
Last line size was not considered.


Origin commit data
------------------
Commit: 87b53a8597
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-17 (Sun, 17 Sep 2017)
2017-09-17 21:50:59 +02:00
Thilo Graf
7d4e64e8f8 CPersonalizeGui: fix visualize of passive and active locked items
Origin commit data
------------------
Commit: 7c0d0b06d0
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-17 (Sun, 17 Sep 2017)
2017-09-17 13:52:54 +02:00
Thilo Graf
3c2c889a58 CMenuItem: add members set/get info icon inside menu items
Origin commit data
------------------
Commit: f0660dc66c
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-17 (Sun, 17 Sep 2017)
2017-09-17 13:52:43 +02:00
Jacek Jendrzej
6a908d7228 remove unused locale
Origin commit data
------------------
Commit: be671bcdc9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-16 (Sat, 16 Sep 2017)
2017-09-16 12:53:03 +02:00
vanhofen
301a066422 keychooser: just small renamings for a better view
Origin commit data
------------------
Commit: 2cc8978f4b
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-15 (Fri, 15 Sep 2017)

Origin message was:
------------------
- keychooser: just small renamings for a better view
2017-09-16 11:29:46 +02:00
Thilo Graf
64f30884ed CColorChooser: fix possible artefacts on screen after closed window
Window was painted with shadow but hide() method didn't know about this.


Origin commit data
------------------
Commit: 38f80a5ca6
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-15 (Fri, 15 Sep 2017)
2017-09-15 22:23:01 +02:00
Jacek Jendrzej
95c8f0d759 readd fontmenu scaling hint
Origin commit data
------------------
Commit: 3732eb851a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-15 (Fri, 15 Sep 2017)
2017-09-15 21:27:36 +02:00
vanhofen
c846cceba5 icons: rename slider icons to more logical names
Origin commit data
------------------
Commit: cd539af1f7
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-14 (Thu, 14 Sep 2017)

Origin message was:
------------------
- icons: rename slider icons to more logical names
2017-09-15 20:18:26 +02:00
vanhofen
98851fc4e7 rename SLIDER defines
Origin commit data
------------------
Commit: d873aef1e8
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-14 (Thu, 14 Sep 2017)

Origin message was:
------------------
- rename SLIDER defines
2017-09-15 20:17:48 +02:00
vanhofen
1af6786518 icons: new slider icons with material colors
Origin commit data
------------------
Commit: eb22f29d3d
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-14 (Thu, 14 Sep 2017)

Origin message was:
------------------
- icons: new slider icons with material colors
2017-09-15 20:17:07 +02:00
vanhofen
53336e813e menu: rework slider; ...
* rename some variables
* use paintBoxFrame() instead of background-icon; this avoids scaling
 issues on higher resolutions; scaled icons are ugly


Origin commit data
------------------
Commit: 0a748de445
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-14 (Thu, 14 Sep 2017)

Origin message was:
------------------
- menu: rework slider; ...

* rename some variables
* use paintBoxFrame() instead of background-icon; this avoids scaling
 issues on higher resolutions; scaled icons are ugly
2017-09-15 20:16:13 +02:00
vanhofen
7b141038c2 colorchooser: rework tis gui-element; ...
* use OFFSET defines
* rename some variables
* use paintBoxFrame() instead of background-icon; this avoids scaling
 issues on higher resolutions; scaled icons are ugly


Origin commit data
------------------
Commit: 442f1adff0
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-14 (Thu, 14 Sep 2017)

Origin message was:
------------------
- colorchooser: rework tis gui-element; ...

* use OFFSET defines
* rename some variables
* use paintBoxFrame() instead of background-icon; this avoids scaling
 issues on higher resolutions; scaled icons are ugly
2017-09-15 20:15:25 +02:00
vanhofen
cafa859775 keychooser: use CMenuDForwarder instead of CMenuForwarder
Origin commit data
------------------
Commit: 10d236fd16
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-15 (Fri, 15 Sep 2017)

Origin message was:
------------------
- keychooser: use CMenuDForwarder instead of CMenuForwarder
2017-09-15 16:40:14 +02:00
vanhofen
b6d05461a8 keychooser: strip unneeded code; use hintbox instead of handcrafted paints
Origin commit data
------------------
Commit: 5370086103
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-15 (Fri, 15 Sep 2017)

Origin message was:
------------------
- keychooser: strip unneeded code; use hintbox instead of handcrafted paints
2017-09-15 16:34:23 +02:00
Michael Liebmann
2889d6a454 system/helpers.cpp: Add cstr_replace()
- This is a faster C version of str_replace()


Origin commit data
------------------
Commit: 020936acbe
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)

Origin message was:
------------------
system/helpers.cpp: Add cstr_replace()

 - This is a faster C version of str_replace()
2017-09-14 15:37:36 +02:00
Jacek Jendrzej
f05782514f remove unused
Origin commit data
------------------
Commit: 97442240f8
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-09-14 (Thu, 14 Sep 2017)
2017-09-14 13:29:47 +02:00
Thilo Graf
93ea851976 update version to 3.5.1
Origin commit data
------------------
Commit: fd99913d9f
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-09-14 (Thu, 14 Sep 2017)
2017-09-14 12:16:17 +02:00
Thilo Graf
bd57ddb2e8 CMenuWidget: replace paintBoxRel() calls with single PaintBoxRel()
Paints background and shadow at once. Shadow is painted only on
reqiured parts of screen. This avoids possible flicker effects e.g.
with footer paint, on changing buttons, was to see with opkg_manager.


Origin commit data
------------------
Commit: 5678da177e
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-13 (Sun, 13 Aug 2017)
2017-09-14 12:14:41 +02:00
Thilo Graf
b257efcc29 CMenuWidget: use CComponentsFooter for paint footers in menues
Another step for more unified window designs.


Origin commit data
------------------
Commit: 7f7054018b
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-08-13 (Sun, 13 Aug 2017)
2017-09-14 12:14:41 +02:00
vanhofen
883034a60d plugin-code: cleanup from many unused code; ...
* remove intergration conversion because we can use the integer as it is
* update headers

 Do we need /src/plugin.h anymore? Maybe this code could be merged into src/gui/plugins.h.

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: f2ec46311c
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-08 (Fri, 08 Sep 2017)

Origin message was:
------------------
- plugin-code: cleanup from many unused code; ...

* remove intergration conversion because we can use the integer as it is
* update headers

 Do we need /src/plugin.h anymore? Maybe this code could be merged into src/gui/plugins.h.

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-09-14 12:14:41 +02:00
vanhofen
e66aaeca77 get sure we have the logo-dir, even if it's empty
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 2ace914324
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-08 (Fri, 08 Sep 2017)

Origin message was:
------------------
- get sure we have the logo-dir, even if it's empty

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-09-14 12:14:41 +02:00
vanhofen
61dbf1cb8f rc_lock: use OFFSET defines
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: ce04716c74
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-07 (Thu, 07 Sep 2017)

Origin message was:
------------------
- rc_lock: use OFFSET defines

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-09-14 12:14:41 +02:00
vanhofen
b46d45bfe0 don't save conf-files to flash; use /media by default
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 6649ac6438
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-07 (Thu, 07 Sep 2017)

Origin message was:
------------------
- don't save conf-files to flash; use /media by default

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-09-14 12:14:41 +02:00
vanhofen
9299fe4fb7 locale: small changes; unify save/load locales
Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Commit: 76fafe584d
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-07 (Thu, 07 Sep 2017)

Origin message was:
------------------
- locale: small changes; unify save/load locales

Signed-off-by: Thilo Graf <dbt@novatux.de>
2017-09-14 12:14:41 +02:00