aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-20Const pointerGravatar Steven Schubiger 1-1/+1
2016-04-07Use more descriptive enumerator nameGravatar Steven Schubiger 1-5/+5
2016-03-23Declare release target as phonyGravatar Steven Schubiger 1-1/+1
2016-03-23Add Makefile release targetGravatar Steven Schubiger 1-0/+3
2016-03-21Terminate buffer with single NULGravatar Steven Schubiger 1-1/+1
2016-03-16Set compiler once for testsGravatar Steven Schubiger 2-6/+8
2016-03-09Add Usage exampleGravatar Steven Schubiger 1-0/+12
2016-01-21colorize 0.58v0.58Gravatar Steven Schubiger 2-3/+3
2016-01-21Add AUTHORSGravatar Steven Schubiger 1-0/+7
2016-01-21Remove a.out on make cleanGravatar Steven Schubiger 1-1/+1
2016-01-20List color separator in version outputGravatar Steven Schubiger 1-0/+1
2016-01-19Make color separator configurableGravatar Steven Schubiger 1-1/+7
2016-01-15Optimize merging for partial lines furtherGravatar Steven Schubiger 1-12/+18
Completing partial lines (i.e., to ones without truncated escape sequences) can be handled more efficiently by concatenating only the partial line beginning at the last escape control character with the characters read from the input stream. Compared to previous code which concatenated the *entire* partial line with the characters read, pass now the resulting string of aforementioned concatenation separately to the escape sequence cleaning function. Even though it may appear as a minor optimisation, it is a /substantial/ improvement in terms of memory being allocated when cleaning lines.
2016-01-01Add README section headerGravatar Steven Schubiger 1-0/+2
2015-11-28Bring data type into lineGravatar Steven Schubiger 1-4/+3
2015-11-07Circumvent cleanup function for testing outputGravatar Steven Schubiger 1-2/+2
2015-10-27Move path skipping code to a functionGravatar Steven Schubiger 1-47/+52
2015-10-27Move color names code to a functionGravatar Steven Schubiger 1-55/+64
2015-10-25Simplify code in cleanup functionGravatar Steven Schubiger 1-3/+1
2015-10-25Don't initialize arg_cntGravatar Steven Schubiger 1-1/+1
2015-10-04colorize 0.57v0.57Gravatar Steven Schubiger 2-2/+2
2015-10-04Readjust indentation of testsGravatar Steven Schubiger 1-2/+2
2015-10-03Replace echo command invocations with printfGravatar Steven Schubiger 3-19/+19
to be more portable.
2015-10-01Catch test file exceptionsGravatar Steven Schubiger 1-1/+1
2015-09-30Merge branch 'merge_part_line'Gravatar Steven Schubiger 3-29/+306
When cleaning lines with --clean[-all], reduce allocating space for the partial line in memory. Previously, string concatenation may have lead to excessive use of memory.
2015-09-20Lazily allocate memoryGravatar Steven Schubiger 1-11/+12
2015-09-03Double memory when increasing bufferGravatar Steven Schubiger 2-40/+52
2015-08-28Choose larger integer data typeGravatar Steven Schubiger 1-3/+3
2015-08-23Amend test name and commentGravatar Steven Schubiger 1-2/+2
2015-08-18Properly indent pair of bracesGravatar Steven Schubiger 1-4/+5
2015-08-17Switch from TAP::Harness to Test::HarnessGravatar Steven Schubiger 1-4/+3
in order to increase portability.
2015-08-15Add merge test fileGravatar Steven Schubiger 1-0/+152
2015-08-09Run test files from test directoryGravatar Steven Schubiger 1-0/+7
2015-08-09First draft of improved merging partial linesGravatar Steven Schubiger 1-25/+130
2015-07-24Move option processing code to a functionGravatar Steven Schubiger 1-60/+67
2015-06-17colorize 0.56v0.56Gravatar Steven Schubiger 2-2/+2
2015-06-15Don't initialize static variables explicitlyGravatar Steven Schubiger 1-8/+8
2015-06-07Add release preparation scriptGravatar Steven Schubiger 1-0/+8
2015-06-07Cast variable properlyGravatar Steven Schubiger 1-9/+9
2015-05-16Add initial .gitignoreGravatar Steven Schubiger 1-0/+4
Thanks Elias Diem
2015-05-14Refactor print_cleanGravatar Steven Schubiger 1-116/+154
Avoid allocating memory for escape sequence offsets by printing text in between directly. Furthermore, divide resulting code into numerous functions in order to reduce complexity. Thanks Urs Fässler
2015-05-08Add COPYINGGravatar Steven Schubiger 1-0/+674
2015-04-03Declare color sets variables as constantGravatar Steven Schubiger 1-3/+3
2015-03-02Convert short version option to uppercaseGravatar Steven Schubiger 2-6/+6
2015-02-15Nullify pointers only where appropriateGravatar Steven Schubiger 1-4/+4
2015-02-13Omit unnecessary break statementGravatar Steven Schubiger 1-1/+0
2015-01-26Follow symbolic link to obtain file statusGravatar Steven Schubiger 1-1/+1
2015-01-25Reuse file opening functionGravatar Steven Schubiger 1-7/+1
2015-01-21colorize 0.55v0.55Gravatar Steven Schubiger 2-3/+3
2015-01-20Log debug output to fileGravatar Steven Schubiger 2-4/+31