Commit Graph

88 Commits

Author SHA1 Message Date
[CST] Focus
9a9cac4674 system/helpers.cpp: add code to get hdd standby/active status and flush hdd buffers
Origin commit data
------------------
Branch: ni/coolstream
Commit: 097e05c083
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-02-05 (Wed, 05 Feb 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-02-05 14:02:46 +04:00
Michael Liebmann
af60d821cc helpers.cpp: fix find_executable
- function made the environment variable PATH broken


Origin commit data
------------------
Branch: ni/coolstream
Commit: 356feceb9c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-27 (Mon, 27 Jan 2014)



------------------
This commit was generated by Migit
2014-01-27 13:37:32 +01:00
Stefan Seyfried
40f236846a helpers: add a function to find an executable in $PATH
Origin commit data
------------------
Branch: ni/coolstream
Commit: e37e425674
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-26 (Sun, 26 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-26 21:43:08 +01:00
Jacek Jendrzej
14cdfd14f7 move toEpoch to helpers.cpp, use strptime
Origin commit data
------------------
Branch: ni/coolstream
Commit: 52741fb1e4
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2014-01-04 (Sat, 04 Jan 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-01-04 20:48:13 +01:00
martii
a1eaaca64c more char* -> std::string conversions
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2cee6929d6
Author: martii <m4rtii@gmx.de>
Date: 2013-06-27 (Thu, 27 Jun 2013)



------------------
This commit was generated by Migit
2013-12-25 12:08:14 +01:00
Jacek Jendrzej
528c96dca0 use mySleep in CComponentsFrmClock::initClockThread(
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: ececd844fa
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-12-15 (Sun, 15 Dec 2013)



------------------
This commit was generated by Migit
2013-12-15 17:40:32 +01:00
vanhofen
32bde2f841 helpers.cpp: port safe_mkdir() from martii
Origin commit data
------------------
Branch: ni/coolstream
Commit: 57267a28aa
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-22 (Fri, 22 Nov 2013)

Origin message was:
------------------
- helpers.cpp: port safe_mkdir() from martii

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-11-22 12:35:20 +01:00
vanhofen
2b6a6c4898 helpers.cpp: simplify check_dir(); ported from martii
Origin commit data
------------------
Branch: ni/coolstream
Commit: 44cddc05d9
Author: vanhofen <vanhofen@gmx.de>
Date: 2013-11-22 (Fri, 22 Nov 2013)

Origin message was:
------------------
- helpers.cpp: simplify check_dir(); ported from martii

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-11-22 12:10:26 +01:00
Michael Liebmann
9221700b3d Fix compiler warnings (-Wconversion)
Origin commit data
------------------
Branch: ni/coolstream
Commit: b645b644b0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-08 (Tue, 08 Oct 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-10-10 01:58:37 +02:00
Michael Liebmann
981702930d 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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 36f3579df6
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-10-07 (Mon, 07 Oct 2013)



------------------
This commit was generated by Migit
2013-10-10 01:58:37 +02:00
Jacek Jendrzej
07ccabf7c3 CUpdateSettings:: allow choose tmp(ramfs,TMPFS_MAGIC) as update dir
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6f07cbe3dd
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-10-08 (Tue, 08 Oct 2013)

Origin message was:
------------------
CUpdateSettings:: allow choose tmp(ramfs,TMPFS_MAGIC) as update dir

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-10-08 10:10:10 +02:00
Michael Liebmann
26a05097b5 helpers.cpp: Add getFileName(), getFileExt(), getNowTimeStr()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5d77f01b5d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-08-07 (Wed, 07 Aug 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-08-08 14:09:47 +02:00
Michael Liebmann
9e36a9e529 src/system/helpers.cpp: Add getBaseName() and getPathName()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 767ff03d98
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-07-03 (Wed, 03 Jul 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-07-03 07:30:09 +02:00
Jacek Jendrzej
2fbf843d79 CFileHelpers::copyFile - prevent possible compile error
Origin commit data
------------------
Branch: ni/coolstream
Commit: 476b896972
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-05-20 (Mon, 20 May 2013)

Origin message was:
------------------
CFileHelpers::copyFile - prevent possible compile error

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-05-20 12:07:04 +02:00
Jacek Jendrzej
33d2b15a90 src/system/helpers.cpp:-add file_size function
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 947a277a49
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-04-24 (Wed, 24 Apr 2013)



------------------
This commit was generated by Migit
2013-04-24 21:35:25 +02:00
Stefan Seyfried
41fa3e0c81 my_system: cleanup and propagate exitstatus
Origin commit data
------------------
Branch: ni/coolstream
Commit: aa411cff93
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-24 (Sun, 24 Mar 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-04-01 15:42:46 +04:00
Stefan Seyfried
afeb781c7c my_system: return errno, silence trivial error message
Origin commit data
------------------
Branch: ni/coolstream
Commit: 94cb301612
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-09 (Sat, 09 Mar 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-03-12 16:31:56 +04:00
Stefan Seyfried
767be83e22 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>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 988a8ebec2
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-03 (Sun, 03 Mar 2013)



------------------
This commit was generated by Migit
2013-03-05 11:58:49 +01:00
Stefan Seyfried
915c34bd15 my_system/my_popen: detach the children from neutrino's terminal
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 22be19a9b0
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-02 (Sat, 02 Mar 2013)



------------------
This commit was generated by Migit
2013-03-05 11:16:57 +01:00
Stefan Seyfried
0e01a7b32c 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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4dbeb3a31e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-11-03 (Sat, 03 Nov 2012)



------------------
This commit was generated by Migit
2013-02-21 15:47:18 +01:00
Stefan Seyfried
19857a5521 my_popen: close filedescriptors before exec
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3064107b90
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-02-20 (Wed, 20 Feb 2013)



------------------
This commit was generated by Migit
2013-02-20 21:05:08 +01:00
Thilo Graf
76a0ef0797 extended update: move ext_update.* to update_ext.*
Beware the canonical order of filenames.


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9939fc9197
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-01-13 (Sun, 13 Jan 2013)



------------------
This commit was generated by Migit
2013-01-14 15:31:43 +01:00
Michael Liebmann
5c4de0b681 system/helpers.cpp: Adding value 'bsize' as a possible return value
Origin commit data
------------------
Branch: ni/coolstream
Commit: 6e1a2dc9cd
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-01-01 (Tue, 01 Jan 2013)

Origin message was:
------------------
* system/helpers.cpp: Adding value 'bsize' as a possible return value

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2013-01-01 15:05:21 +01:00
Michael Liebmann
8ef2d45fc1 Software Update with apply the settings (Part10)
- Blacklist added to exclude files
- Files are marked by a prefixed '-' in the settingsupdate.conf


Origin commit data
------------------
Branch: ni/coolstream
Commit: cddf86725d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-11-11 (Sun, 11 Nov 2012)

Origin message was:
------------------
* Software Update with apply the settings (Part10)

- Blacklist added to exclude files
- Files are marked by a prefixed '-' in the settingsupdate.conf


------------------
This commit was generated by Migit
2012-11-11 08:11:49 +01:00
Jacek Jendrzej
75937cc89b src/system/helpers.cpp: fix resource leak ,use new instead of malloc
Origin commit data
------------------
Branch: ni/coolstream
Commit: a03445fe40
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-10-26 (Fri, 26 Oct 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-10-26 23:16:30 +02:00
Michael Liebmann
a1161694f8 Fix compiler warning
"missing sentinel functions call" in src/system/helpers.cpp


Origin commit data
------------------
Branch: ni/coolstream
Commit: 37c4b21ac3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-10-21 (Sun, 21 Oct 2012)

Origin message was:
------------------
* Fix compiler warning

 "missing sentinel functions call" in src/system/helpers.cpp


------------------
This commit was generated by Migit
2012-10-25 01:10:35 +01:00
Michael Liebmann
d4073693d9 Add file/directory functions to src/system/helpers.cpp
- Required for 'update with settings'


Origin commit data
------------------
Branch: ni/coolstream
Commit: 690786c37c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-10-21 (Sun, 21 Oct 2012)

Origin message was:
------------------
* Add file/directory functions to src/system/helpers.cpp

- Required for 'update with settings'


------------------
This commit was generated by Migit
2012-10-25 01:10:35 +01:00
vanhofen
732594fa2e system/helpers: rework get_fs_usage()
also comment some unuses variables in src/infoviever_bb.{h,cpp}


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7c01980e94
Author: vanhofen <vanhofen@gmx.de>
Date: 2012-09-27 (Thu, 27 Sep 2012)

Origin message was:
------------------
- system/helpers: rework get_fs_usage()

also comment some unuses variables in src/infoviever_bb.{h,cpp}


------------------
This commit was generated by Migit
2012-09-27 12:22:33 +02:00
[CST] Focus
806ca9feb2 system/helpers.cpp: fix check_dir - we use it to check for record, last change allow recording to jffs2
Origin commit data
------------------
Branch: ni/coolstream
Commit: 108ee92618
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-09-21 (Fri, 21 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-09-21 18:44:47 +04:00
[CST] Focus
2a007edea3 system/helpers.cpp: add function to get total/free mem without cached/buffers
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5dc2656b8e
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-09-21 (Fri, 21 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-09-21 17:41:28 +04:00
vanhofen
e5b03811b9 infoviewerbb: determination of hdd-percentage in a seperate thread
Origin commit data
------------------
Branch: ni/coolstream
Commit: 87f7a224f7
Author: vanhofen <vanhofen@gmx.de>
Date: 2012-09-19 (Wed, 19 Sep 2012)

Origin message was:
------------------
- infoviewerbb: determination of hdd-percentage in a seperate thread

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-09-19 21:23:50 +02:00
vanhofen
e2ef0e6e67 helpers.cpp: fix errorlevel of child-process; whitespace cleanup
Origin commit data
------------------
Branch: ni/coolstream
Commit: acaf807bbb
Author: vanhofen <vanhofen@gmx.de>
Date: 2012-09-15 (Sat, 15 Sep 2012)

Origin message was:
------------------
- helpers.cpp: fix errorlevel of child-process; whitespace cleanup

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-09-15 21:26:12 +02:00
Jacek Jendrzej
e90ed11a49 oops
Origin commit data
------------------
Branch: ni/coolstream
Commit: bf1f9afc8d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-15 (Sat, 15 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-09-15 15:33:50 +02:00
Jacek Jendrzej
29c30bb247 my_system fix
Origin commit data
------------------
Branch: ni/coolstream
Commit: 87342fd0d9
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-15 (Sat, 15 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-09-15 11:20:49 +02:00
Jacek Jendrzej
7e4fd63bf2 add wakeup_hdd & file_exists to system-helpers
Origin commit data
------------------
Branch: ni/coolstream
Commit: c6ae7255ac
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)

Origin message was:
------------------
-add wakeup_hdd & file_exists to system-helpers

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-09-11 20:35:47 +02:00
Jacek Jendrzej
4d7752964c move safe_mkdir & check_dir to system-helpers
Origin commit data
------------------
Branch: ni/coolstream
Commit: dfa3231469
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-09-11 (Tue, 11 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-09-11 20:34:53 +02:00
vanhofen
084bd336ee system/helpers.h|cpp: change header
Origin commit data
------------------
Branch: ni/coolstream
Commit: ae73a950eb
Author: vanhofen <vanhofen@gmx.de>
Date: 2012-08-30 (Thu, 30 Aug 2012)

Origin message was:
------------------
- system/helpers.h|cpp: change header

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-08-30 09:30:14 +02:00
FlatTV
8b921ac043 Add global helpers my_system() and my_popen()
Origin commit data
------------------
Branch: ni/coolstream
Commit: b92660259c
Author: FlatTV <FlatTV@gmx.de>
Date: 2012-08-30 (Thu, 30 Aug 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2012-08-30 09:28:54 +02:00