M. Liebmann
600d215aaf
Merge branch 'master' into pu/mp
2017-09-19 23:21:21 +02:00
M. Liebmann
05d8ed4105
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
M. Liebmann
bdfccc2f22
Merge branch 'master' into pu/mp
2017-09-14 15:37:58 +02:00
M. Liebmann
020936acbe
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
2ebb47f519
Merge branch 'master' into pu/mp
2017-09-14 13:54:04 +02:00
svenhoefer
43c7e0ed09
helpers.chh/h: add some helper functions
...
Partial cherry pick from:
https://bitbucket.org/neutrino-images/ni-neutrino-hd
Signed-off-by: Thilo Graf <dbt@novatux.de >
2017-09-14 12:14:41 +02:00
Jacek Jendrzej
2c5bf73006
Merge branch 'master' into pu/mp
2017-09-13 13:40:40 +02:00
Jacek Jendrzej
6576729fd1
remove double includes
2017-09-08 21:21:32 +02:00
Stefan Seyfried
5c95139207
Merge remote-tracking branch 'tuxbox/master'
2017-02-22 08:44:53 +01:00
M. Liebmann
0c182785e2
src/system/helpers.cpp: Add function readLink()
2017-02-22 06:24:48 +01:00
Stefan Seyfried
e1e2052edb
system/helpers: disable GetWidth4FB_HW_ACC()
...
...will be removed later
2017-02-14 20:01:55 +01:00
Stefan Seyfried
c95601630a
system/helpers: disable GetWidth4FB_HW_ACC()
...
...will be removed later
2017-02-14 00:15:11 +01:00
Stefan Seyfried
85bb568d02
helpers: add run_pty() function
...
This runs an external command inside a pty. Running inside a pty,
external commands using stdio(3) will disable stdout buffering when
running from a terminal, which is often desirable.
2017-01-29 21:27:45 +01:00
Stefan Seyfried
9d78d7072d
helpers: add run_pty() function
...
This runs an external command inside a pty. Running inside a pty,
external commands using stdio(3) will disable stdout buffering when
running from a terminal, which is often desirable.
2017-01-28 23:17:03 +01:00
Stefan Seyfried
2c92d112d0
Merge remote-tracking branch 'tuxbox/master'
2016-11-12 18:06:26 +01:00
Jacek Jendrzej
80f7d0a299
helpers: 201103L have to_string
2016-10-24 13:41:23 +02:00
Stefan Seyfried
ae345d11d3
system/helpers: allow to build with c++11 compilers
2016-10-24 09:55:32 +02:00
Stefan Seyfried
3684680cb2
system/helpers: allow to build with c++11 compilers
2016-10-22 12:23:09 +02:00
Stefan Seyfried
13ab1ebc8a
Merge remote-tracking branch 'tuxbox/master'
...
* needs compile fixes
* needs additional tests, of course :-)
2016-10-22 11:37:40 +02:00
M. Liebmann
6a9c08ae90
CFileHelpers: Rework FileBuf handling
...
FileBuf: Reserve memory only when it is needed (copyFile)
copyFile: Reserve for small files, only as much memory as is required
2016-09-06 11:32:41 +02:00
M. Liebmann
689bc50a62
src/system/helpers.h:createDir(): Set correct default for mode
2016-09-05 23:46:01 +02:00
M. Liebmann
83a902d524
CFileHelpers: Add DebugInfo functions for displaying error messages..
...
..in lua script functions
2016-09-05 23:46:01 +02:00
M. Liebmann
5198a13282
helpers.cpp: Add cp() function
2016-09-05 23:46:01 +02:00
M. Liebmann
64b5d36c52
CFileHelpers::copyFile: Rewrite mode handling
2016-09-05 23:46:01 +02:00
M. Liebmann
38470a8a80
helpers.cpp: Add itoa() function
2016-09-05 23:46:01 +02:00
M. Liebmann
0d5edc29e6
Fix commit 71674d0f8a
...
- Use indexes for font parameter in formatDeleteMsg() & cutString()
2016-08-13 16:01:00 +02:00
M. Liebmann
71674d0f8a
src/system/helpers.cpp: Add cutString() function
2016-08-12 19:22:48 +02:00
M. Liebmann
53ef02ad2f
src/system/helpers.cpp: Add function Lang2ISO639_1()
2016-03-04 14:15:50 +01:00
M. Liebmann
2c23f339d3
helpers.cpp: Add function SetWith4FB_HW_ACC()
...
align for hw blit on apollo/kronos hw
2016-01-26 09:51:48 +01:00
Stefan Seyfried
eeee5bacab
Merge remote-tracking branch 'uncool/cst-next'
...
This need buildfixes and some functional updates...
2015-12-13 17:41:55 +01:00
[CST] Bas
0180d59111
CFileHelpers::createDir: Fix return value
...
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com >
2015-10-18 21:39:54 +02:00
M. Liebmann
885f13f6b0
Apollo/Kronos: Display backup options for 'var' and 'root1'...
...
...only if are mounted.
- Using /proc/mounts to find correct mountpoint for backup
2015-09-22 13:41:14 +02:00
Thilo Graf
1b095e725e
CFileHelpers: add function getDirSize()
2015-03-29 22:40:12 +02:00
Thilo Graf
58b7c0e6bf
CFileHelpers: declare removeDir() as static
...
allows use without object
2015-03-29 22:40:12 +02:00
Thilo Graf
c9dd6fac39
system/helpers.cpp: add return value for mySleep()
2015-03-29 22:40:09 +02:00
Thilo Graf
1dcfc52a33
system/helpers: remove mkdirhier(); gui/themes: use createDir()
...
This is a partial revert of
picked commit 431657e35d
.
There were two methods, createDir() and mkdirhier() for the same purpose.
We don't need it twice.
btw: existing function createDir() fixed
2015-03-29 22:39:48 +02:00
Stefan Seyfried
f607fe5fbe
helpers: add "backtick" function for shell-like command
2015-02-09 13:47:32 +01:00
Stefan Seyfried
ce382cc2cb
helpers: add "backtick" function for shell-like command
2015-02-08 13:05:53 +01:00
Stefan Seyfried
69c4dbbdba
Merge remote-tracking branch 'check/cst-next'
...
needs build- and functional fixes
Conflicts:
configure.ac
data/icons/shutdown.jpg
data/icons/start.jpg
data/locale/deutsch.locale
data/locale/english.locale
lib/libmd5sum/md5.c
src/driver/scanepg.cpp
src/driver/streamts.cpp
src/driver/vfd.cpp
src/driver/vfd.h
src/driver/volume.cpp
src/eitd/dmx.cpp
src/eitd/xmlutil.cpp
src/gui/Makefile.am
src/gui/audiomute.cpp
src/gui/channellist.cpp
src/gui/dboxinfo.cpp
src/gui/epgview.cpp
src/gui/eventlist.cpp
src/gui/filebrowser.cpp
src/gui/hdd_menu.cpp
src/gui/infoviewer.cpp
src/gui/infoviewer_bb.cpp
src/gui/infoviewer_bb.h
src/gui/keybind_setup.cpp
src/gui/luainstance.cpp
src/gui/luainstance.h
src/gui/miscsettings_menu.cpp
src/gui/moviebrowser.cpp
src/gui/movieplayer.cpp
src/gui/osd_progressbar_setup.cpp
src/gui/osd_progressbar_setup.h
src/gui/osd_setup.cpp
src/gui/osdlang_setup.cpp
src/gui/personalize.cpp
src/gui/plugins.cpp
src/gui/plugins.h
src/gui/scan.cpp
src/gui/scan_setup.cpp
src/gui/update_settings.cpp
src/gui/user_menue.cpp
src/gui/user_menue_setup.cpp
src/gui/videosettings.cpp
src/gui/widget/buttons.cpp
src/gui/widget/menue.cpp
src/gui/widget/menue.h
src/gui/widget/progresswindow.cpp
src/neutrino.cpp
src/neutrino_menue.cpp
src/nhttpd/yhttpd.cpp
src/system/helpers.cpp
src/system/locals.h
src/system/locals_intern.h
src/system/setting_helpers.cpp
src/zapit/lib/zapitclient.cpp
src/zapit/src/fastscan.cpp
src/zapit/src/frontend.cpp
src/zapit/src/getservices.cpp
src/zapit/src/scan.cpp
src/zapit/src/scannit.cpp
src/zapit/src/scanpmt.cpp
src/zapit/src/transponder.cpp
src/zapit/src/zapit.cpp
2014-12-25 18:03:08 +01:00
martii
431657e35d
system/helpers: add mkdirhier(); gui/themes: use mkdirhier()
...
Conflicts:
src/system/helpers.h
2014-09-12 15:59:21 +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
420af7a4dc
neutrino: sync keybind and usermenu code with neutrino-mp, code (C) martii
2014-09-05 17:49:11 +04:00
[CST] Focus
cf91f2eccb
merge neutrino-mp menu/buttons/icons changes, (C) martii
2014-07-17 17:02:25 +04:00
svenhoefer
672257906e
- helpers.cpp: add shortened strftime() function
...
taken from martiis neutrino-mp
2014-05-29 22:26:30 +02:00
Stefan Seyfried
44ba8fafca
Merge remote-tracking branch 'check/next-cc'
...
build-tested only, needs fixing
Conflicts:
data/locale/deutsch.locale
data/locale/english.locale
src/Makefile.am
src/driver/rcinput.cpp
src/driver/streamts.cpp
src/eitd/sectionsd.cpp
src/gui/Makefile.am
src/gui/bouquetlist.cpp
src/gui/hdd_menu.cpp
src/gui/luainstance.cpp
src/gui/luainstance.h
src/gui/moviebrowser.cpp
src/gui/movieplayer.cpp
src/gui/pluginlist.cpp
src/gui/plugins.cpp
src/gui/plugins.h
src/gui/scan.cpp
src/gui/scan_setup.cpp
src/gui/user_menue.cpp
src/gui/videosettings.cpp
src/gui/widget/menue.cpp
src/neutrino.cpp
src/neutrinoMessages.h
src/system/locals.h
src/system/locals_intern.h
src/zapit/include/zapit/scan.h
src/zapit/src/femanager.cpp
src/zapit/src/frontend.cpp
src/zapit/src/getservices.cpp
src/zapit/src/transponder.cpp
2014-04-27 19:14:06 +02:00
[CST] Focus
bef1b79bed
system/helpers.cpp: add split_config_string helper
2014-04-23 17:44:16 +04:00
M. Liebmann
0028ad0d9b
src/system/helpers.cpp: Add htmlEntityDecode() for decode html string
2014-02-26 10:11:40 +01:00
M. Liebmann
21f7c930ae
src/system/helpers.cpp: Add str_replace() function
2014-02-26 10:11:40 +01:00
martii
7826ab0fca
driver/rcinput: implement long key press support (but no rcsim/yWeb support at this time)
...
driver/rcinput: drop unused gettimeofday code
2014-02-25 00:09:14 +01:00
Stefan Seyfried
ecd62d81d1
Merge remote-tracking branch 'check/next-cc'
...
...only build-tested, needs fixes
2014-02-15 20:22:07 +01:00