]> git.refcnt.org Git - colorize.git/log
colorize.git
7 years agoAdd plain documentation
Steven Schubiger [Tue, 11 Apr 2017 17:30:07 +0000 (19:30 +0200)] 
Add plain documentation

7 years agocolorize 0.60 v0.60
Steven Schubiger [Sun, 2 Apr 2017 21:35:23 +0000 (23:35 +0200)] 
colorize 0.60

7 years agoDefine _DEFAULT_SOURCE
Steven Schubiger [Sun, 2 Apr 2017 20:44:40 +0000 (22:44 +0200)] 
Define _DEFAULT_SOURCE

Silence # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"

7 years agoDebian packaging: Add Conflicts against forensics-colorize
Axel Beckert [Fri, 17 Mar 2017 19:29:48 +0000 (20:29 +0100)] 
Debian packaging: Add Conflicts against forensics-colorize

It also contains /usr/bin/colorize.

7 years agoConst data
Steven Schubiger [Sat, 18 Mar 2017 23:00:27 +0000 (00:00 +0100)] 
Const data

7 years agoDocument Makefile install target
Steven Schubiger [Sat, 11 Mar 2017 21:01:48 +0000 (22:01 +0100)] 
Document Makefile install target

7 years agoInclude all flags in version output
Steven Schubiger [Sat, 4 Mar 2017 21:02:47 +0000 (22:02 +0100)] 
Include all flags in version output

7 years agoEliminate goto
Steven Schubiger [Fri, 27 Jan 2017 20:39:10 +0000 (21:39 +0100)] 
Eliminate goto

7 years agoAdd homepage field
Steven Schubiger [Fri, 13 Jan 2017 23:26:48 +0000 (00:26 +0100)] 
Add homepage field

P: colorize source: no-homepage-field

7 years agoEnable all hardening flags
Steven Schubiger [Thu, 12 Jan 2017 22:01:50 +0000 (23:01 +0100)] 
Enable all hardening flags

I: colorize: hardening-no-bindnow usr/bin/colorize
I: colorize: hardening-no-pie usr/bin/colorize

7 years agoAdd watch file
Steven Schubiger [Tue, 10 Jan 2017 21:28:34 +0000 (22:28 +0100)] 
Add watch file

7 years agoFix spelling of preceeded
Steven Schubiger [Sat, 7 Jan 2017 21:28:52 +0000 (22:28 +0100)] 
Fix spelling of preceeded

I: colorize: spelling-error-in-binary usr/bin/colorize preceeded preceded

7 years agoAmend files to satisfy lintian
Steven Schubiger [Fri, 6 Jan 2017 22:53:51 +0000 (23:53 +0100)] 
Amend files to satisfy lintian

Thanks Axel Beckert

7 years agoInclude debian/ directory
Steven Schubiger [Sat, 31 Dec 2016 18:39:21 +0000 (19:39 +0100)] 
Include debian/ directory

7 years agoAdd Makefile install target
Steven Schubiger [Sat, 24 Dec 2016 22:49:29 +0000 (23:49 +0100)] 
Add Makefile install target

7 years agoRound version to 2 digits after decimal point
Steven Schubiger [Sun, 27 Nov 2016 20:55:47 +0000 (21:55 +0100)] 
Round version to 2 digits after decimal point

8 years agoStack and release color names memory
Steven Schubiger [Tue, 25 Oct 2016 12:18:09 +0000 (14:18 +0200)] 
Stack and release color names memory

Don't call the color_names memory freeing code explicitly in the
cleanup function as it is taken care of via {STACK,RELEASE}_VAR().
This implies the memory is "garbage collected" like other uses of
those macros, too.

Also, declare and initialize the color_names array in a non-global,
tighter scope.

8 years agoMention running tests through valgrind in README
Steven Schubiger [Tue, 4 Oct 2016 15:32:46 +0000 (17:32 +0200)] 
Mention running tests through valgrind in README

8 years agoRun tests through valgrind
Steven Schubiger [Sat, 1 Oct 2016 15:57:30 +0000 (17:57 +0200)] 
Run tests through valgrind

8 years agoAdd screenshots
Steven Schubiger [Wed, 21 Sep 2016 11:59:51 +0000 (13:59 +0200)] 
Add screenshots

8 years agoPrint list of options dynamically in help output
Steven Schubiger [Fri, 19 Aug 2016 19:15:19 +0000 (21:15 +0200)] 
Print list of options dynamically in help output

8 years agocolorize 0.59 v0.59
Steven Schubiger [Wed, 27 Jul 2016 19:07:24 +0000 (21:07 +0200)] 
colorize 0.59

8 years agoModify .gitignore to match in project root
Steven Schubiger [Sun, 24 Jul 2016 21:06:16 +0000 (23:06 +0200)] 
Modify .gitignore to match in project root

8 years agoAdd HACKING
Steven Schubiger [Sun, 24 Jul 2016 19:57:05 +0000 (21:57 +0200)] 
Add HACKING

8 years agoMove common data to a perl module
Steven Schubiger [Tue, 19 Jul 2016 11:54:47 +0000 (13:54 +0200)] 
Move common data to a perl module

8 years agoExtract fail tests to test file
Steven Schubiger [Mon, 20 Jun 2016 19:07:37 +0000 (21:07 +0200)] 
Extract fail tests to test file

8 years agoReorder initialization of skip message
Steven Schubiger [Fri, 27 May 2016 20:13:16 +0000 (22:13 +0200)] 
Reorder initialization of skip message

8 years agoSet skip message once for merge tests
Steven Schubiger [Fri, 27 May 2016 19:57:39 +0000 (21:57 +0200)] 
Set skip message once for merge tests

8 years agoConst pointer
Steven Schubiger [Fri, 20 May 2016 19:56:28 +0000 (21:56 +0200)] 
Const pointer

8 years agoUse more descriptive enumerator name
Steven Schubiger [Thu, 7 Apr 2016 20:18:12 +0000 (22:18 +0200)] 
Use more descriptive enumerator name

8 years agoDeclare release target as phony
Steven Schubiger [Wed, 23 Mar 2016 22:02:55 +0000 (23:02 +0100)] 
Declare release target as phony

8 years agoAdd Makefile release target
Steven Schubiger [Wed, 23 Mar 2016 21:51:11 +0000 (22:51 +0100)] 
Add Makefile release target

8 years agoTerminate buffer with single NUL
Steven Schubiger [Mon, 21 Mar 2016 15:48:09 +0000 (16:48 +0100)] 
Terminate buffer with single NUL

8 years agoSet compiler once for tests
Steven Schubiger [Wed, 16 Mar 2016 11:56:33 +0000 (12:56 +0100)] 
Set compiler once for tests

8 years agoAdd Usage example
Steven Schubiger [Wed, 9 Mar 2016 16:11:26 +0000 (17:11 +0100)] 
Add Usage example

8 years agocolorize 0.58 v0.58
Steven Schubiger [Thu, 21 Jan 2016 11:06:41 +0000 (12:06 +0100)] 
colorize 0.58

8 years agoAdd AUTHORS
Steven Schubiger [Thu, 21 Jan 2016 10:22:09 +0000 (11:22 +0100)] 
Add AUTHORS

8 years agoRemove a.out on make clean
Steven Schubiger [Thu, 21 Jan 2016 09:34:04 +0000 (10:34 +0100)] 
Remove a.out on make clean

8 years agoList color separator in version output
Steven Schubiger [Wed, 20 Jan 2016 18:33:54 +0000 (19:33 +0100)] 
List color separator in version output

8 years agoMake color separator configurable
Steven Schubiger [Tue, 19 Jan 2016 20:48:11 +0000 (21:48 +0100)] 
Make color separator configurable

8 years agoOptimize merging for partial lines further
Steven Schubiger [Fri, 15 Jan 2016 14:40:32 +0000 (15:40 +0100)] 
Optimize merging for partial lines further

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.

8 years agoAdd README section header
Steven Schubiger [Fri, 1 Jan 2016 12:55:06 +0000 (13:55 +0100)] 
Add README section header

8 years agoBring data type into line
Steven Schubiger [Sat, 28 Nov 2015 20:32:49 +0000 (21:32 +0100)] 
Bring data type into line

8 years agoCircumvent cleanup function for testing output
Steven Schubiger [Sat, 7 Nov 2015 21:33:14 +0000 (22:33 +0100)] 
Circumvent cleanup function for testing output

9 years agoMove path skipping code to a function
Steven Schubiger [Tue, 27 Oct 2015 19:31:34 +0000 (20:31 +0100)] 
Move path skipping code to a function

9 years agoMove color names code to a function
Steven Schubiger [Tue, 27 Oct 2015 15:17:07 +0000 (16:17 +0100)] 
Move color names code to a function

9 years agoSimplify code in cleanup function
Steven Schubiger [Sun, 25 Oct 2015 19:52:26 +0000 (20:52 +0100)] 
Simplify code in cleanup function

9 years agoDon't initialize arg_cnt
Steven Schubiger [Sun, 25 Oct 2015 19:08:06 +0000 (20:08 +0100)] 
Don't initialize arg_cnt

9 years agocolorize 0.57 v0.57
Steven Schubiger [Sun, 4 Oct 2015 13:07:20 +0000 (15:07 +0200)] 
colorize 0.57

9 years agoReadjust indentation of tests
Steven Schubiger [Sun, 4 Oct 2015 12:56:51 +0000 (14:56 +0200)] 
Readjust indentation of tests

9 years agoReplace echo command invocations with printf
Steven Schubiger [Sat, 3 Oct 2015 20:45:13 +0000 (22:45 +0200)] 
Replace echo command invocations with printf

to be more portable.

9 years agoCatch test file exceptions
Steven Schubiger [Thu, 1 Oct 2015 11:22:14 +0000 (13:22 +0200)] 
Catch test file exceptions

9 years agoMerge branch 'merge_part_line'
Steven Schubiger [Wed, 30 Sep 2015 14:14:11 +0000 (16:14 +0200)] 
Merge branch 'merge_part_line'

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.

9 years agoLazily allocate memory
Steven Schubiger [Sun, 20 Sep 2015 14:13:11 +0000 (16:13 +0200)] 
Lazily allocate memory

9 years agoDouble memory when increasing buffer
Steven Schubiger [Thu, 3 Sep 2015 11:49:27 +0000 (13:49 +0200)] 
Double memory when increasing buffer

9 years agoChoose larger integer data type
Steven Schubiger [Fri, 28 Aug 2015 13:48:41 +0000 (15:48 +0200)] 
Choose larger integer data type

9 years agoAmend test name and comment
Steven Schubiger [Sun, 23 Aug 2015 19:39:01 +0000 (21:39 +0200)] 
Amend test name and comment

9 years agoProperly indent pair of braces
Steven Schubiger [Tue, 18 Aug 2015 17:10:50 +0000 (19:10 +0200)] 
Properly indent pair of braces

9 years agoSwitch from TAP::Harness to Test::Harness
Steven Schubiger [Mon, 17 Aug 2015 18:17:03 +0000 (20:17 +0200)] 
Switch from TAP::Harness to Test::Harness

in order to increase portability.

9 years agoAdd merge test file
Steven Schubiger [Sat, 15 Aug 2015 21:54:09 +0000 (23:54 +0200)] 
Add merge test file

9 years agoRun test files from test directory
Steven Schubiger [Sun, 9 Aug 2015 20:11:45 +0000 (22:11 +0200)] 
Run test files from test directory

9 years agoFirst draft of improved merging partial lines
Steven Schubiger [Sat, 8 Aug 2015 22:45:07 +0000 (00:45 +0200)] 
First draft of improved merging partial lines

9 years agoMove option processing code to a function
Steven Schubiger [Fri, 24 Jul 2015 18:44:43 +0000 (20:44 +0200)] 
Move option processing code to a function

9 years agocolorize 0.56 v0.56
Steven Schubiger [Wed, 17 Jun 2015 13:29:25 +0000 (15:29 +0200)] 
colorize 0.56

9 years agoDon't initialize static variables explicitly
Steven Schubiger [Mon, 15 Jun 2015 20:44:03 +0000 (22:44 +0200)] 
Don't initialize static variables explicitly

9 years agoAdd release preparation script
Steven Schubiger [Sun, 7 Jun 2015 13:06:55 +0000 (15:06 +0200)] 
Add release preparation script

9 years agoCast variable properly
Steven Schubiger [Sun, 7 Jun 2015 12:32:01 +0000 (14:32 +0200)] 
Cast variable properly

9 years agoAdd initial .gitignore
Steven Schubiger [Sat, 16 May 2015 13:43:33 +0000 (15:43 +0200)] 
Add initial .gitignore

Thanks Elias Diem

9 years agoRefactor print_clean
Steven Schubiger [Thu, 14 May 2015 19:51:15 +0000 (21:51 +0200)] 
Refactor print_clean

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

9 years agoAdd COPYING
Steven Schubiger [Fri, 8 May 2015 21:35:48 +0000 (23:35 +0200)] 
Add COPYING

9 years agoDeclare color sets variables as constant
Steven Schubiger [Fri, 3 Apr 2015 21:05:30 +0000 (23:05 +0200)] 
Declare color sets variables as constant

9 years agoConvert short version option to uppercase
Steven Schubiger [Mon, 2 Mar 2015 14:26:05 +0000 (15:26 +0100)] 
Convert short version option to uppercase

9 years agoNullify pointers only where appropriate
Steven Schubiger [Sun, 15 Feb 2015 19:03:43 +0000 (20:03 +0100)] 
Nullify pointers only where appropriate

9 years agoOmit unnecessary break statement
Steven Schubiger [Fri, 13 Feb 2015 18:27:46 +0000 (19:27 +0100)] 
Omit unnecessary break statement

9 years agoFollow symbolic link to obtain file status
Steven Schubiger [Mon, 26 Jan 2015 19:52:54 +0000 (20:52 +0100)] 
Follow symbolic link to obtain file status

9 years agoReuse file opening function
Steven Schubiger [Sun, 25 Jan 2015 15:54:10 +0000 (16:54 +0100)] 
Reuse file opening function

9 years agocolorize 0.55 v0.55
Steven Schubiger [Wed, 21 Jan 2015 20:35:58 +0000 (21:35 +0100)] 
colorize 0.55

9 years agoLog debug output to file
Steven Schubiger [Tue, 20 Jan 2015 21:20:57 +0000 (22:20 +0100)] 
Log debug output to file

9 years agoAllow for debug flag to be passed to make
Steven Schubiger [Sun, 11 Jan 2015 21:43:11 +0000 (22:43 +0100)] 
Allow for debug flag to be passed to make

9 years agoSupport files larger than 2GB on 32-bit systems
Steven Schubiger [Sat, 10 Jan 2015 22:18:11 +0000 (23:18 +0100)] 
Support files larger than 2GB on 32-bit systems

9 years agoKeep return value check simple
Steven Schubiger [Thu, 8 Jan 2015 14:14:36 +0000 (15:14 +0100)] 
Keep return value check simple

9 years agoTest that debugging builds compile
Steven Schubiger [Tue, 16 Dec 2014 18:11:29 +0000 (19:11 +0100)] 
Test that debugging builds compile

9 years agoCheck if BUF_SIZE is defined
Steven Schubiger [Sun, 14 Dec 2014 13:55:28 +0000 (14:55 +0100)] 
Check if BUF_SIZE is defined

10 years agoPass file/line on for string allocation routines
Steven Schubiger [Tue, 28 Oct 2014 20:07:24 +0000 (21:07 +0100)] 
Pass file/line on for string allocation routines

10 years agoMake diagnostics more consistent
Steven Schubiger [Sun, 26 Oct 2014 17:33:22 +0000 (18:33 +0100)] 
Make diagnostics more consistent

10 years agoPrint memory allocation diagnostics
Steven Schubiger [Sat, 25 Oct 2014 19:53:48 +0000 (21:53 +0200)] 
Print memory allocation diagnostics

10 years agoUse more portable exit failure status macro
Steven Schubiger [Wed, 1 Oct 2014 13:35:55 +0000 (15:35 +0200)] 
Use more portable exit failure status macro

10 years agoMerge duplicated version printing code
Steven Schubiger [Thu, 24 Jul 2014 10:50:07 +0000 (12:50 +0200)] 
Merge duplicated version printing code

10 years agoComment end of conditional inclusion
Steven Schubiger [Thu, 26 Jun 2014 20:52:55 +0000 (22:52 +0200)] 
Comment end of conditional inclusion

10 years agoInclude commit hash in version output
Steven Schubiger [Thu, 26 Jun 2014 14:08:37 +0000 (16:08 +0200)] 
Include commit hash in version output

Extracting the abbreviated commit hash will break when git will be
replaced by a different version control system.  But until it does,
get the hash from the git repository.

10 years agoCheck exit value for displaying version data
Steven Schubiger [Wed, 11 Jun 2014 12:55:04 +0000 (14:55 +0200)] 
Check exit value for displaying version data

10 years agoPrint abbreviated size of buffer
Steven Schubiger [Tue, 10 Jun 2014 15:10:38 +0000 (17:10 +0200)] 
Print abbreviated size of buffer

10 years agocolorize 0.54 v0.54
Steven Schubiger [Mon, 2 Jun 2014 18:06:26 +0000 (20:06 +0200)] 
colorize 0.54

10 years agoDon't declare errno
Steven Schubiger [Fri, 16 May 2014 12:37:00 +0000 (14:37 +0200)] 
Don't declare errno

10 years agoLocalize variable with name of existing file
Steven Schubiger [Fri, 4 Apr 2014 21:36:24 +0000 (23:36 +0200)] 
Localize variable with name of existing file

10 years agoRearrange debugging macros
Steven Schubiger [Thu, 20 Mar 2014 16:14:35 +0000 (17:14 +0100)] 
Rearrange debugging macros

10 years agoConditionally define memory allocation wrappers
Steven Schubiger [Wed, 29 Jan 2014 19:26:40 +0000 (20:26 +0100)] 
Conditionally define memory allocation wrappers

10 years agoQuote color string in error messages
Steven Schubiger [Tue, 28 Jan 2014 10:28:20 +0000 (11:28 +0100)] 
Quote color string in error messages

10 years agoExtend feature test macro further
Steven Schubiger [Sun, 26 Jan 2014 21:07:57 +0000 (22:07 +0100)] 
Extend feature test macro further

10 years agoDisplay type and name of file in error messages
Steven Schubiger [Sat, 25 Jan 2014 21:00:57 +0000 (22:00 +0100)] 
Display type and name of file in error messages