pyi2ncommon
8 years agofinished LogarithmicBuffer, tested with new unittest
Christian Herdtweck [Wed, 13 Jan 2016 09:45:54 +0000]
finished LogarithmicBuffer, tested with new unittest

8 years agofixed CircularBuffer unittest
Christian Herdtweck [Wed, 13 Jan 2016 08:24:09 +0000]
fixed CircularBuffer unittest

8 years agocreated test_helpers for simplifying quick test development; started disc usage checker
Christian Herdtweck [Tue, 12 Jan 2016 12:32:29 +0000]
created test_helpers for simplifying quick test development; started disc usage checker

8 years agomake line-splitting optional in call_and_capture
Christian Herdtweck [Tue, 12 Jan 2016 12:28:07 +0000]
make line-splitting optional in call_and_capture

8 years agoclarified test template
Christian Herdtweck [Tue, 12 Jan 2016 12:27:29 +0000]
clarified test template

8 years agocreated unittest for file_helpers
Christian Herdtweck [Tue, 12 Jan 2016 12:27:18 +0000]
created unittest for file_helpers

8 years agocreated a wrapper around "df" command in file_helpers
Christian Herdtweck [Tue, 12 Jan 2016 12:27:01 +0000]
created a wrapper around "df" command in file_helpers

8 years agocreated unittest for CircularBuffer
Christian Herdtweck [Tue, 12 Jan 2016 12:26:25 +0000]
created unittest for CircularBuffer

8 years agoimplemented LogarithmicBuffer
Christian Herdtweck [Tue, 12 Jan 2016 12:25:48 +0000]
implemented LogarithmicBuffer

8 years agomore renaming and testing to make clear CircularBuffer is not just for log text
Christian Herdtweck [Tue, 12 Jan 2016 12:25:29 +0000]
more renaming and testing to make clear CircularBuffer is not just for log text

8 years agocleaned up CircularBuffer
Christian Herdtweck [Tue, 12 Jan 2016 11:17:18 +0000]
cleaned up CircularBuffer

8 years agorenamed output_buffer.py to buffers.py
Christian Herdtweck [Tue, 12 Jan 2016 11:16:50 +0000]
renamed output_buffer.py to buffers.py

8 years agoadded file_helpers with cd context manager
Christian Herdtweck [Wed, 9 Dec 2015 13:28:07 +0000]
added file_helpers with cd context manager

8 years agocreated call_helpers with call_and_capture and corresponding unittest
Christian Herdtweck [Thu, 3 Dec 2015 16:03:12 +0000]
created call_helpers with call_and_capture and corresponding unittest

8 years agocreated unittest for type_helpers; added is_unicode
Christian Herdtweck [Thu, 3 Dec 2015 15:25:38 +0000]
created unittest for type_helpers; added is_unicode

8 years agocreated test subdir with unit test template
Christian Herdtweck [Thu, 3 Dec 2015 15:23:30 +0000]
created test subdir with unit test template

8 years agofixed and added to I2nLogger, is now in a useable state
Christian Herdtweck [Mon, 30 Nov 2015 11:59:31 +0000]
fixed and added to I2nLogger, is now in a useable state

8 years agoadded two stubs: arnied.py and output_buffer.py
Christian Herdtweck [Mon, 30 Nov 2015 09:14:34 +0000]
added two stubs: arnied.py and output_buffer.py

8 years agoadded functions is_interesting_count and n_digits to log_helpers
Christian Herdtweck [Mon, 30 Nov 2015 09:11:59 +0000]
added functions is_interesting_count and n_digits to log_helpers

8 years agohad forgotten a ':'
Christian Herdtweck [Mon, 30 Nov 2015 09:11:38 +0000]
had forgotten a ':'

8 years agolog_read.LineReader passed first test
Christian Herdtweck [Wed, 28 Oct 2015 13:24:33 +0000]
log_read.LineReader passed first test

8 years agoadded more type_helpers: is_file_obj and is_str_or_byte
Christian Herdtweck [Tue, 27 Oct 2015 12:44:08 +0000]
added more type_helpers: is_file_obj and is_str_or_byte

8 years agocreated log_read.py with functional base class IterativeReader
Christian Herdtweck [Tue, 27 Oct 2015 12:43:45 +0000]
created log_read.py with functional base class IterativeReader

this replaces follow.py because I realized that the approach there (using
select.poll) is not guaranteed to work. log_read uses stat.st_size as its
c++ exemplar does

8 years agotry to read non-line-wise in follow
Christian Herdtweck [Mon, 19 Oct 2015 07:23:31 +0000]
try to read non-line-wise in follow

8 years agoignore flags in testing of follow; added comments
Christian Herdtweck [Mon, 19 Oct 2015 07:22:56 +0000]
ignore flags in testing of follow; added comments

8 years agoupdate tests of follow.py
Christian Herdtweck [Thu, 1 Oct 2015 16:11:58 +0000]
update tests of follow.py

8 years agoreturn flags and warn if HUP/ERR instead of raising exception
Christian Herdtweck [Thu, 1 Oct 2015 16:11:46 +0000]
return flags and warn if HUP/ERR instead of raising exception

8 years agofinished argument parsing and dealing with procs and sockets in FollowContextManager
Christian Herdtweck [Thu, 1 Oct 2015 16:09:38 +0000]
finished argument parsing and dealing with procs and sockets in FollowContextManager

8 years agoadded (yet untested) I2nLogger to log_helpers
Christian Herdtweck [Thu, 10 Sep 2015 15:55:58 +0000]
added (yet untested) I2nLogger to log_helpers

8 years agorenamed short-hand variables supr and levl to parent and shortlevel
Christian Herdtweck [Thu, 10 Sep 2015 15:55:37 +0000]
renamed short-hand variables supr and levl to parent and shortlevel

8 years agoadded reference to template.py to docu
Christian Herdtweck [Thu, 10 Sep 2015 15:52:46 +0000]
added reference to template.py to docu

8 years agoadded constants to template
Christian Herdtweck [Thu, 10 Sep 2015 15:52:11 +0000]
added constants to template

8 years agoHandle filenames / dirnames with spaces
Thomas Jarosch [Wed, 2 Sep 2015 07:13:02 +0000]
Handle filenames / dirnames with spaces

8 years agoadded example for seealso, todo, warning, note boxes to template
Christian Herdtweck [Thu, 27 Aug 2015 09:04:33 +0000]
added example for seealso, todo, warning, note boxes to template

8 years agocreated log_helpers with 4-char-level formatter ShortLevelFormatter
Christian Herdtweck [Thu, 27 Aug 2015 09:04:02 +0000]
created log_helpers with 4-char-level formatter ShortLevelFormatter

8 years agoadded some examples for documentation of param and return values and links to template
Christian Herdtweck [Thu, 20 Aug 2015 14:05:50 +0000]
added some examples for documentation of param and return values and links to template

8 years agoupdated autodoc conf: allow __init__ to show but not __dict__ and others
Christian Herdtweck [Wed, 19 Aug 2015 12:39:44 +0000]
updated autodoc conf: allow __init__ to show but not __dict__ and others

8 years agoimproved docu
Christian Herdtweck [Wed, 19 Aug 2015 12:39:11 +0000]
improved docu

8 years agocreated type_helpers.py with isstr
Christian Herdtweck [Wed, 19 Aug 2015 08:30:23 +0000]
created type_helpers.py with isstr

8 years agocreated script to run pylint and pep8 on python files; ran on template and follow
Christian Herdtweck [Wed, 19 Aug 2015 08:29:59 +0000]
created script to run pylint and pep8 on python files; ran on template and follow

8 years agocreated template.py and first rough Sphinx docu
Christian Herdtweck [Fri, 24 Jul 2015 16:45:18 +0000]
created template.py and first rough Sphinx docu

8 years agoAdd our GPL + linking exception from libi2ncommon
Thomas Jarosch [Fri, 24 Jul 2015 14:09:40 +0000]
Add our GPL + linking exception from libi2ncommon

8 years agoStart pyi2ncommon repo: Add .gitignore
Thomas Jarosch [Fri, 24 Jul 2015 13:52:01 +0000]
Start pyi2ncommon repo: Add .gitignore