M. Liebmann
1d992a6d13
helpers.cpp: Fix sscanf format string in getJFFS2MountPoint (THX Jacek)
2015-11-07 10:56: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
Jacek Jendrzej
a34b32043a
fix Werror=format
2015-08-22 15:27:47 +02:00
Jacek Jendrzej
c06e5b1407
for debug filesystem
2015-08-21 22:04:04 +02:00
Thilo Graf
a185ad34d4
CFileHelpers: rework methode getDirSize(), makes it work recursively
2015-03-29 22:40:12 +02:00
Thilo Graf
1b095e725e
CFileHelpers: add function getDirSize()
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
3538077821
system/helpers.cpp: getNowTimeStr(), use thread save localtime version
2015-03-29 22:40:09 +02:00
Thilo Graf
6fc8d1bb9f
system/helpers.cpp: add more possible exexutable paths
2015-03-29 22:39:57 +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
fe5a6ec111
picview/png, my_popen: fix -Wclobbered warnings
2015-02-04 12:35:51 +01:00
Jacek Jendrzej
d5d6c4de62
fix some possible errors
2014-11-06 14:40:44 +01:00
martii
70e5e66327
experimental yt cache (currently no gui integration)
...
Conflicts:
src/gui/moviebrowser.cpp
src/gui/movieinfo.cpp
src/system/Makefile.am
2014-09-24 19:50:34 +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
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
svenhoefer
672257906e
- helpers.cpp: add shortened strftime() function
...
taken from martiis neutrino-mp
2014-05-29 22:26:30 +02:00
[CST] Focus
bef1b79bed
system/helpers.cpp: add split_config_string helper
2014-04-23 17:44:16 +04:00
M. Liebmann
409df1b809
src/system/helpers.cpp - htmlEntityDecode(): Add various html codes
2014-03-03 20:20:57 +01:00
Stefan Seyfried
04fd8c277c
my_popen: fix indentation
2014-03-01 21:17:56 +01: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
Jacek Jendrzej
f1c7e9002e
wakeup_hdd: -fix warning -add mode to open
2014-02-18 14:59:11 +01:00
[CST] Focus
10eb8869d6
system/helpers.cpp: change wakeup_hdd function to use hdd_get_standby/hdd_flush
2014-02-12 16:47:28 +04:00
[CST] Focus
097e05c083
system/helpers.cpp: add code to get hdd standby/active status and flush hdd buffers
2014-02-05 14:02:46 +04:00
[priv] M. Liebmann
356feceb9c
helpers.cpp: fix find_executable
...
- function made the environment variable PATH broken
2014-01-27 13:37:32 +01:00
Stefan Seyfried
e37e425674
helpers: add a function to find an executable in $PATH
2014-01-26 21:43:08 +01:00
Jacek Jendrzej
52741fb1e4
move toEpoch to helpers.cpp, use strptime
2014-01-04 20:48:13 +01:00
martii
2cee6929d6
more char* -> std::string conversions
...
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com >
2013-12-25 12:08:14 +01:00
Jacek Jendrzej
ececd844fa
use mySleep in CComponentsFrmClock::initClockThread(
...
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com >
2013-12-15 17:40:32 +01:00
svenhoefer
57267a28aa
- helpers.cpp: port safe_mkdir() from martii
2013-11-22 12:35:20 +01:00
svenhoefer
44cddc05d9
- helpers.cpp: simplify check_dir(); ported from martii
2013-11-22 12:10:26 +01:00
Michael Liebmann
b645b644b0
Fix compiler warnings (-Wconversion)
2013-10-10 01:58:37 +02:00
Michael Liebmann
36f3579df6
src/system/helpers.cpp: Replace wrong data types in get_fs_usage()
...
- Change from 'long' to 'uint64_t'
- src/Makefile.am: Add -D_FILE_OFFSET_BITS=64 to AM_CPPFLAGS
2013-10-10 01:58:37 +02:00
Jacek Jendrzej
6f07cbe3dd
CUpdateSettings:: allow choose tmp(ramfs,TMPFS_MAGIC) as update dir
2013-10-08 10:10:10 +02:00
Michael Liebmann
5d77f01b5d
helpers.cpp: Add getFileName(), getFileExt(), getNowTimeStr()
2013-08-08 14:09:47 +02:00
Michael Liebmann
767ff03d98
src/system/helpers.cpp: Add getBaseName() and getPathName()
2013-07-03 07:30:09 +02:00
Jacek Jendrzej
476b896972
CFileHelpers::copyFile - prevent possible compile error
2013-05-20 12:07:04 +02:00
Jacek Jendrzej
947a277a49
src/system/helpers.cpp:-add file_size function
...
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com >
2013-04-24 21:35:25 +02:00
Stefan Seyfried
aa411cff93
my_system: cleanup and propagate exitstatus
2013-04-01 15:42:46 +04:00
Stefan Seyfried
94cb301612
my_system: return errno, silence trivial error message
2013-03-12 16:31:56 +04:00
Stefan Seyfried
988a8ebec2
helpers: improve my_system function
...
Instead of hardcoding the maximum number of arguments to the
my_system helper, pass a variable argument list.
The function is deliberately source-incompatible with the old
implementation (as opposed to a variant with a sentinel NULL
argument, which would be compatible) to find all users and to
make sure that new future users of this function are not
overlooked during merges with other branches.
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com >
2013-03-05 11:58:49 +01:00
Stefan Seyfried
22be19a9b0
my_system/my_popen: detach the children from neutrino's terminal
...
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com >
2013-03-05 11:16:57 +01:00
Stefan Seyfried
4dbeb3a31e
neutrino: fix 32<->64bit format string warnings
...
use portable C99 format string macros for 64bit types to
fix many warnings when compiling for 64bit architectures,
add some (int) casts for size_t
2013-02-21 15:47:18 +01:00
Stefan Seyfried
3064107b90
my_popen: close filedescriptors before exec
...
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com >
2013-02-20 21:05:08 +01:00
Thilo Graf
9939fc9197
extended update: move ext_update.* to update_ext.*
...
Beware the canonical order of filenames.
2013-01-14 15:31:43 +01:00
micha-bbg
6e1a2dc9cd
* system/helpers.cpp: Adding value 'bsize' as a possible return value
2013-01-01 15:05:21 +01:00
micha-bbg
cddf86725d
* Software Update with apply the settings (Part10)
...
- Blacklist added to exclude files
- Files are marked by a prefixed '-' in the settingsupdate.conf
2012-11-11 08:11:49 +01:00