Commit Graph

52 Commits

Author SHA1 Message Date
Jacek Jendrzej
f8ea2e5650 helpers: 201103L have to_string
Origin commit data
------------------
Branch: ni/coolstream
Commit: 80f7d0a299
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-10-24 (Mon, 24 Oct 2016)


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

------------------
This commit was generated by Migit
2016-10-24 13:41:23 +02:00
Stefan Seyfried
f3c729bab3 system/helpers: allow to build with c++11 compilers
Origin commit data
------------------
Branch: ni/coolstream
Commit: ae345d11d3
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-10-22 (Sat, 22 Oct 2016)


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

------------------
This commit was generated by Migit
2016-10-24 09:55:32 +02:00
Michael Liebmann
d214c7736c 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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6a9c08ae90
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-06 (Tue, 06 Sep 2016)



------------------
This commit was generated by Migit
2016-09-06 11:32:41 +02:00
Michael Liebmann
1265abe390 src/system/helpers.h:createDir(): Set correct default for mode
Origin commit data
------------------
Branch: ni/coolstream
Commit: 689bc50a62
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-04 (Sun, 04 Sep 2016)


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

------------------
This commit was generated by Migit
2016-09-05 23:46:01 +02:00
Michael Liebmann
09777711fe CFileHelpers: Add DebugInfo functions for displaying error messages..
..in lua script functions


Origin commit data
------------------
Branch: ni/coolstream
Commit: 83a902d524
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-04 (Sun, 04 Sep 2016)



------------------
This commit was generated by Migit
2016-09-05 23:46:01 +02:00
Michael Liebmann
d8e156217f helpers.cpp: Add cp() function
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5198a13282
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-03 (Sat, 03 Sep 2016)


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

------------------
This commit was generated by Migit
2016-09-05 23:46:01 +02:00
Michael Liebmann
d6304e8ef7 CFileHelpers::copyFile: Rewrite mode handling
Origin commit data
------------------
Branch: ni/coolstream
Commit: 64b5d36c52
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-03 (Sat, 03 Sep 2016)


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

------------------
This commit was generated by Migit
2016-09-05 23:46:01 +02:00
Michael Liebmann
0d3818862d helpers.cpp: Add itoa() function
Origin commit data
------------------
Branch: ni/coolstream
Commit: 38470a8a80
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-09-03 (Sat, 03 Sep 2016)


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

------------------
This commit was generated by Migit
2016-09-05 23:46:01 +02:00
Michael Liebmann
8ef5e4b610 Fix commit c3a7bcfd5b
- Use indexes for font parameter in formatDeleteMsg() & cutString()


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0d5edc29e6
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-08-13 (Sat, 13 Aug 2016)



------------------
This commit was generated by Migit
2016-08-13 16:01:00 +02:00
Michael Liebmann
c3a7bcfd5b src/system/helpers.cpp: Add cutString() function
Origin commit data
------------------
Branch: ni/coolstream
Commit: 71674d0f8a
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-08-12 (Fri, 12 Aug 2016)


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

------------------
This commit was generated by Migit
2016-08-12 19:22:48 +02:00
Michael Liebmann
41784d58c7 src/system/helpers.cpp: Add function Lang2ISO639_1()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 53ef02ad2f
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-03-04 (Fri, 04 Mar 2016)


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

------------------
This commit was generated by Migit
2016-03-04 14:15:50 +01:00
Michael Liebmann
dbc216d4ae helpers.cpp: Add function SetWith4FB_HW_ACC()
align for hw blit on apollo/kronos hw


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2c23f339d3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-26 (Tue, 26 Jan 2016)

Origin message was:
------------------
helpers.cpp: Add function SetWith4FB_HW_ACC()

 align for hw blit on apollo/kronos hw


------------------
This commit was generated by Migit
2016-01-26 09:51:48 +01:00
[CST] Bas
55acf87eac CFileHelpers::createDir: Fix return value
Signed-off-by: M. Liebmann <tuxcode.bbg@gmail.com>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0180d59111
Author: [CST] Bas <bas@coolstreamtech.com>
Date: 2015-10-18 (Sun, 18 Oct 2015)



------------------
This commit was generated by Migit
2015-10-18 21:39:54 +02:00
Michael Liebmann
26e82ad0cf Apollo/Kronos: Display backup options for 'var' and 'root1'...
...only if are mounted.

- Using /proc/mounts to find correct mountpoint for backup


Origin commit data
------------------
Branch: ni/coolstream
Commit: 885f13f6b0
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-09-22 (Tue, 22 Sep 2015)



------------------
This commit was generated by Migit
2015-09-22 13:41:14 +02:00
Thilo Graf
60cec1c1f6 CFileHelpers: add function getDirSize()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1b095e725e
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-02-07 (Sat, 07 Feb 2015)


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

------------------
This commit was generated by Migit
2015-03-29 22:40:12 +02:00
Thilo Graf
a89c34c54f CFileHelpers: declare removeDir() as static
allows use without object


Origin commit data
------------------
Branch: ni/coolstream
Commit: 58b7c0e6bf
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-31 (Sat, 31 Jan 2015)



------------------
This commit was generated by Migit
2015-03-29 22:40:12 +02:00
Thilo Graf
8031b9fce0 system/helpers.cpp: add return value for mySleep()
Origin commit data
------------------
Branch: ni/coolstream
Commit: c9dd6fac39
Author: Thilo Graf <dbt@novatux.de>
Date: 2015-01-14 (Wed, 14 Jan 2015)


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

------------------
This commit was generated by Migit
2015-03-29 22:40:09 +02:00
Thilo Graf
bdc60375ab system/helpers: remove mkdirhier(); gui/themes: use createDir()
This is a partial revert of
picked commit e06663874d.
There were two methods, createDir() and mkdirhier() for the same purpose.
We don't need it twice.
btw: existing function createDir() fixed


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1dcfc52a33
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-11-28 (Fri, 28 Nov 2014)



------------------
This commit was generated by Migit
2015-03-29 22:39:48 +02:00
Stefan Seyfried
2ea2d02303 helpers: add "backtick" function for shell-like command
Origin commit data
------------------
Branch: ni/coolstream
Commit: f607fe5fbe
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-08 (Sun, 08 Feb 2015)


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

------------------
This commit was generated by Migit
2015-02-09 13:47:32 +01:00
martii
e06663874d system/helpers: add mkdirhier(); gui/themes: use mkdirhier()
Conflicts:
	src/system/helpers.h


Origin commit data
------------------
Branch: ni/coolstream
Commit: 431657e35d
Author: martii <m4rtii@gmx.de>
Date: 2014-01-06 (Mon, 06 Jan 2014)



------------------
This commit was generated by Migit
2014-09-12 15:59:21 +04:00
martii
fd5475886a gui/dboxinfo: localize (partially based on patch from Benny -- thanks!)
Conflicts:
	src/gui/dboxinfo.cpp


Origin commit data
------------------
Branch: ni/coolstream
Commit: 742760dbd3
Author: martii <m4rtii@gmx.de>
Date: 2014-05-24 (Sat, 24 May 2014)



------------------
This commit was generated by Migit
2014-09-11 18:12:06 +04:00
[CST] Focus
4eb5179286 neutrino: sync keybind and usermenu code with neutrino-mp, code (C) martii
Origin commit data
------------------
Branch: ni/coolstream
Commit: 420af7a4dc
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-05 (Fri, 05 Sep 2014)


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

------------------
This commit was generated by Migit
2014-09-05 17:49:11 +04:00
[CST] Focus
5ee14dabdd merge neutrino-mp menu/buttons/icons changes, (C) martii
Origin commit data
------------------
Branch: ni/coolstream
Commit: cf91f2eccb
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-07-17 (Thu, 17 Jul 2014)


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

------------------
This commit was generated by Migit
2014-07-17 17:02:25 +04:00
vanhofen
2e874500a6 helpers.cpp: add shortened strftime() function
taken from martiis neutrino-mp


Origin commit data
------------------
Branch: ni/coolstream
Commit: 672257906e
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-05-29 (Thu, 29 May 2014)

Origin message was:
------------------
- helpers.cpp: add shortened strftime() function

 taken from martiis neutrino-mp


------------------
This commit was generated by Migit
2014-05-29 22:26:30 +02:00
[CST] Focus
fee715d7d9 system/helpers.cpp: add split_config_string helper
Origin commit data
------------------
Branch: ni/coolstream
Commit: bef1b79bed
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-23 (Wed, 23 Apr 2014)


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

------------------
This commit was generated by Migit
2014-04-23 17:44:16 +04:00
Michael Liebmann
04530b5968 src/system/helpers.cpp: Add htmlEntityDecode() for decode html string
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0028ad0d9b
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-26 (Wed, 26 Feb 2014)


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

------------------
This commit was generated by Migit
2014-02-26 10:11:40 +01:00
Michael Liebmann
710f57bc83 src/system/helpers.cpp: Add str_replace() function
Origin commit data
------------------
Branch: ni/coolstream
Commit: 21f7c930ae
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-02-26 (Wed, 26 Feb 2014)


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

------------------
This commit was generated by Migit
2014-02-26 10:11:40 +01:00
martii
e0a255fd5a driver/rcinput: implement long key press support (but no rcsim/yWeb support at this time)
driver/rcinput: drop unused gettimeofday code


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7826ab0fca
Author: martii <m4rtii@gmx.de>
Date: 2014-02-25 (Tue, 25 Feb 2014)



------------------
This commit was generated by Migit
2014-02-25 00:09:14 +01:00
[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
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
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
martii
7f0c1551bd implement yt search history
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4a0fdba710
Author: martii <m4rtii@gmx.de>
Date: 2013-08-15 (Thu, 15 Aug 2013)


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

------------------
This commit was generated by Migit
2013-11-11 17:22:55 +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
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
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
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
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
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
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