Commit Graph

6531 Commits

Author SHA1 Message Date
martii
0bcff8b930 eitd: Reduce sectionsd memory requirements:
* Various EPG related strings (language- and country keys, audio descriptions) come with a pretty low variance. Cache them, and use an index instead of allocating redundant strings for each and every SIevent.
* Storing content classifications in native format instead of std::string removes quite some memory overhead, too.

This saves about 250 bytes of RAM for every event cached, resulting in a considerably reduced sectionsd memory footprint.

Conflicts:
	src/eitd/xmlutil.cpp
2014-09-15 10:16:30 +04:00
Thilo Graf
221bb9be33 CComponentsShape/CComponentsShapeCircle: don't use CC_SHADOW_ON as default
It has been shown, most shapes don't require any shadow.
2014-09-14 00:01:07 +02:00
Thilo Graf
6842dc530a CComponentsText: fix missing refresh of text mode
assign of text mode was without any effect
2014-09-14 00:01:04 +02:00
Thilo Graf
e606484575 CTextBox: add member to get text mode 2014-09-14 00:01:01 +02:00
Thilo Graf
3e2e862e81 CProgressWindow: cleanup surplus includes
already included by base class
2014-09-14 00:00:56 +02:00
M. Liebmann
d923d991aa CLuaInstance: Use native bool parameter instead of string for Lua script functions 2014-09-13 22:56:42 +02:00
M. Liebmann
86186e6443 CLuaInstance: Add member paramBoolDeprecated() for info...
...when Boolean parameters are passed as a string or number
2014-09-13 22:56:36 +02:00
M. Liebmann
fc0f5d780a CLuaInstance: Add overloaded member tableLookup() for bool vars 2014-09-13 22:56:22 +02:00
M. Liebmann
c49ceac121 luainstance: Fix default parameter for config file setXXX functions 2014-09-12 20:00:02 +02:00
M. Liebmann
7398b43276 CLuaInstance::setBlank: Fix parameter 2014-09-12 19:59:31 +02:00
[CST] Focus
58198b3f55 neutrino.cpp: move theme loading to gui/themes.cpp
original commit (C) martii:
commit cf48e04c02224af37098359d1788f65edd6a7060
gui/themes, neutrino: de-duplicate get/set code
2014-09-12 19:42:31 +04:00
martii
64ef858923 gui/themes: don't keep default theme data twice 2014-09-12 18:42:46 +04:00
martii
43809987ac gui/themes: no need to memcpy a theme, just assign 2014-09-12 18:29:46 +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
martii
431657e35d system/helpers: add mkdirhier(); gui/themes: use mkdirhier()
Conflicts:
	src/system/helpers.h
2014-09-12 15:59:21 +04:00
[CST] Focus
bad910a320 gui/network_setup.cpp: fix enabled/disabled items on settings restore 2014-09-12 13:52:03 +04:00
[CST] Focus
9b697fb52b gui/hdd_menu.cpp: prevent divide by zero 2014-09-12 11:35:58 +04:00
[CST] Focus
b07f61a1cf driver/framebuffer.cpp: fix COL_BACKGROUND 2014-09-12 10:05:54 +04:00
Thilo Graf
90a29c598d CWebTVSetup: fix menu handling
- width enlarged
- fix exit handling
- fix memory of item position
- adapted caption
2014-09-11 23:44:04 +02:00
svenhoefer
caabe9707c - shellwindow: add timeout 2014-09-11 21:57:18 +02:00
svenhoefer
0d236b39c1 - dboxinfo: align color of time/load headers to other headers 2014-09-11 16:19:00 +02:00
martii
84cf3865b5 gui/components/cc_frm_clock.cpp: add method to enable/disable auto-blit()
Conflicts:
	src/gui/components/cc_frm_clock.cpp
2014-09-11 18:12:51 +04:00
martii
1c39a6edf4 [experimental] gui/components/cc_frm_clock: use a mutex around unsetting/evaluating paintClock. This may or may not help with the clock-still-showing-when-leaving-the-channellist problem. Pretty much untested, as that issue is quite irreproducible. 2014-09-11 18:12:51 +04:00
martii
13118c1148 gui/components/cc_frm_clock: simplify; setClockFormat/setClockBlink has now impact on running thread
Conflicts:
	src/gui/components/cc_frm_clock.cpp
	src/gui/timeosd.cpp
2014-09-11 18:12:51 +04:00
martii
9472155b88 gui/components/cc_frm_clock: disable thread idle timeout; clear clock when thread exits 2014-09-11 18:12:51 +04:00
martii
be29f644f0 gui/components: use COL_BACKGROUND_PLUS_0 instead of COL_BACKGROUND 2014-09-11 18:12:51 +04:00
[CST] Focus
da5be5860f gui/timeosd.cpp: show negative time for MODE_DESC 2014-09-11 18:12:51 +04:00
martii
3eb867ebf8 gui/timeosd: set progressbar to timescale style 2014-09-11 18:12:51 +04:00
martii
a70560ea58 gui/timeosd: don't instantiate CComponentsFrmClock in active mode
Conflicts:
	src/gui/timeosd.cpp
2014-09-11 18:12:51 +04:00
[CST] Focus
a96ab4d5e4 gui/dboxinfo: timeformat locale change 2014-09-11 18:12:14 +04:00
[CST] Focus
d3c4b4f199 gui/dboxinfo: fixes 2014-09-11 18:12:09 +04:00
martii
742760dbd3 gui/dboxinfo: localize (partially based on patch from Benny -- thanks!)
Conflicts:
	src/gui/dboxinfo.cpp
2014-09-11 18:12:06 +04:00
[CST] Focus
247e38a204 neutrino.cpp: avoid webtv duplicates 2014-09-11 17:58:28 +04:00
martii
7c15db185f add thread for determining free hdd (recording dir) space, enable hdd usage icons on vfd (untested)
Conflicts:
	data/locale/deutsch.locale
	data/locale/english.locale
	src/driver/simple_display.cpp
	src/gui/hdd_menu.cpp
	src/gui/infoviewer_bb.cpp
	src/gui/infoviewer_bb.h
	src/gui/moviebrowser.cpp
	src/gui/record_setup.cpp
	src/neutrino.cpp
	src/system/ytcache.h
2014-09-11 17:58:19 +04:00
M. Liebmann
b74e80ee6f CLuaInstance: Add CConfigFile functions
Functions: loadConfig(), saveConfig(), clear(), getString(),
           setString(), getInt32(), setInt32(), getBool(), setBool()
2014-09-11 12:14:24 +02:00
M. Liebmann
457f974eed CLuaInstance: Add missed library function _luaL_checkbool() 2014-09-11 12:14:24 +02:00
M. Liebmann
c511a44a2b CLuaInstance: Add cVideo functions
- cVideo::SetBlank()
- cVideo::ShowPicture()
- cVideo::StopPicture()
2014-09-11 12:14:24 +02:00
M. Liebmann
dff6a6413d CLuaInstance: Fix segfault when hide() in CPictureDelete() 2014-09-11 12:14:24 +02:00
M. Liebmann
263e023879 CLuaInstance: More global colors added 2014-09-11 12:14:24 +02:00
M. Liebmann
51fb2fb9e7 CLuaInstance: Add strFind() and strSub() functions
- These functions are possible substitutes for the
  Lua functions string.find() and string.sub()

- This Lua functions have problems e.g. with the contents
  of some websites.
2014-09-11 12:14:24 +02:00
M. Liebmann
b6f1963f2c CLuaInstance: Add parameter info1/info2 to PlayFile()
- This parameter display in info viewer instead of epg data
2014-09-11 12:14:24 +02:00
[CST] Focus
d2c836049b gui/personalize.cpp: try to fix usermenu delete 2014-09-09 15:28:35 +04:00
[CST] Focus
9b82162e6f gui/settings_manager.cpp: fix font settings update after config file loading 2014-09-09 15:28:35 +04:00
[CST] Focus
6857f616c2 gui/dboxinfo.cpp: do not paint empty line 2014-09-09 15:28:35 +04:00
[CST] Focus
3567e97e73 lib/libconfigfile/configfile.cpp: add deleteKey() 2014-09-09 15:28:35 +04:00
svenhoefer
fafb7399d1 - personalize.cpp: add shortcut to pluginSelectionMenu 2014-09-08 21:20:15 +02:00
svenhoefer
7792a9658e - personalize.cpp: remove non-working colored hotkeys 2014-09-08 21:02:52 +02:00
svenhoefer
608ae65038 - neutrinofonts.cpp: use debug output for font init 2014-09-08 18:42:28 +02:00
svenhoefer
7e3addd8a7 - neutrino.cpp: more readability for startup console output 2014-09-08 18:41:48 +02:00
svenhoefer
c80f73c2c5 - personalize.cpp: resort usermenu 2014-09-08 17:42:10 +02:00