]> git.refcnt.org Git - colorize.git/log
colorize.git
6 years agoread_print_stream(): add comment
Steven Schubiger [Wed, 28 Mar 2018 13:46:17 +0000 (15:46 +0200)] 
read_print_stream(): add comment

6 years agoOmit superfluous backslash continuation character
Steven Schubiger [Wed, 14 Mar 2018 13:43:40 +0000 (14:43 +0100)] 
Omit superfluous backslash continuation character

6 years agoMerge branch 'opt_omit_color_empty'
Steven Schubiger [Fri, 2 Feb 2018 12:41:35 +0000 (13:41 +0100)] 
Merge branch 'opt_omit_color_empty'

6 years agoUpdate plain documentation
Steven Schubiger [Thu, 1 Feb 2018 16:38:30 +0000 (17:38 +0100)] 
Update plain documentation

6 years agoDocument --omit-color-empty
Steven Schubiger [Wed, 31 Jan 2018 19:31:28 +0000 (20:31 +0100)] 
Document --omit-color-empty

6 years agoTest --omit-color-empty
Steven Schubiger [Wed, 31 Jan 2018 11:36:20 +0000 (12:36 +0100)] 
Test --omit-color-empty

6 years agoFirst draft of --omit-color-empty
Steven Schubiger [Sun, 28 Jan 2018 21:52:04 +0000 (22:52 +0100)] 
First draft of --omit-color-empty

6 years agoDefine PROGRAM_NAME
Steven Schubiger [Wed, 20 Dec 2017 19:27:24 +0000 (20:27 +0100)] 
Define PROGRAM_NAME

6 years agohas_color_name(): return true from else branch
Steven Schubiger [Sat, 16 Dec 2017 18:38:43 +0000 (19:38 +0100)] 
has_color_name(): return true from else branch

6 years agocolorize 0.63 v0.63
Steven Schubiger [Wed, 6 Dec 2017 21:59:25 +0000 (22:59 +0100)] 
colorize 0.63

6 years agoUpdate Debian Standards-Version
Steven Schubiger [Wed, 6 Dec 2017 21:40:12 +0000 (22:40 +0100)] 
Update Debian Standards-Version

6 years agodebian/rules: eliminate trailing whitespace
Steven Schubiger [Wed, 6 Dec 2017 21:19:12 +0000 (22:19 +0100)] 
debian/rules: eliminate trailing whitespace

6 years agoMake strlen() assertions more explicit
Steven Schubiger [Sat, 4 Nov 2017 17:42:04 +0000 (18:42 +0100)] 
Make strlen() assertions more explicit

7 years agoSimplify SKIP_LINE_ENDINGS() macro
Steven Schubiger [Sun, 29 Oct 2017 15:56:57 +0000 (16:56 +0100)] 
Simplify SKIP_LINE_ENDINGS() macro

7 years agoDocument customizing color separator
Steven Schubiger [Fri, 20 Oct 2017 20:20:16 +0000 (22:20 +0200)] 
Document customizing color separator

7 years agoUpdate plain documentation
Steven Schubiger [Sat, 14 Oct 2017 11:27:26 +0000 (13:27 +0200)] 
Update plain documentation

7 years agoprint_help(): indicate which options require an argument
Steven Schubiger [Thu, 12 Oct 2017 18:12:23 +0000 (20:12 +0200)] 
print_help(): indicate which options require an argument

7 years agoOmit superfluous quotes
Steven Schubiger [Sun, 8 Oct 2017 18:46:18 +0000 (20:46 +0200)] 
Omit superfluous quotes

7 years agoTest substituting 'none' foreground color
Steven Schubiger [Sun, 8 Oct 2017 16:19:15 +0000 (18:19 +0200)] 
Test substituting 'none' foreground color

7 years agoAssert after find_color_entry() returns
Steven Schubiger [Sat, 7 Oct 2017 19:46:40 +0000 (21:46 +0200)] 
Assert after find_color_entry() returns

7 years agoDefine DEBUG_FILE under DEBUG only
Steven Schubiger [Wed, 4 Oct 2017 20:10:05 +0000 (22:10 +0200)] 
Define DEBUG_FILE under DEBUG only

7 years agoMinor tweaks
Steven Schubiger [Sun, 1 Oct 2017 13:39:03 +0000 (15:39 +0200)] 
Minor tweaks

- Omit enumeration identifier
- Reorder const qualifier

7 years agoAdjust Debian Standards-Version
Steven Schubiger [Wed, 27 Sep 2017 11:34:13 +0000 (13:34 +0200)] 
Adjust Debian Standards-Version

Thanks Axel Beckert

7 years agoMerge changelog entries
Steven Schubiger [Wed, 27 Sep 2017 10:24:03 +0000 (12:24 +0200)] 
Merge changelog entries

Thanks Axel Beckert

7 years agoExtend fixed space of attr[]
Steven Schubiger [Sat, 26 Aug 2017 14:13:36 +0000 (16:13 +0200)] 
Extend fixed space of attr[]

7 years agoprocess_opt_attr(): release var if not prior exited
Steven Schubiger [Sun, 20 Aug 2017 20:17:24 +0000 (22:17 +0200)] 
process_opt_attr(): release var if not prior exited

7 years agocolorize 0.62 v0.62
Steven Schubiger [Thu, 17 Aug 2017 20:35:03 +0000 (22:35 +0200)] 
colorize 0.62

7 years agoprint_help(): omit braces around for loop body
Steven Schubiger [Sun, 6 Aug 2017 11:59:07 +0000 (13:59 +0200)] 
print_help(): omit braces around for loop body

7 years agoAssert after find_color_entries() returns
Steven Schubiger [Fri, 4 Aug 2017 20:51:10 +0000 (22:51 +0200)] 
Assert after find_color_entries() returns

7 years agoMake assertions more explicit
Steven Schubiger [Fri, 4 Aug 2017 19:31:12 +0000 (21:31 +0200)] 
Make assertions more explicit

7 years agoOptimize extracting invalid attribute name
Steven Schubiger [Wed, 2 Aug 2017 09:07:02 +0000 (11:07 +0200)] 
Optimize extracting invalid attribute name

7 years agoEnhance message if attribute is invalid
Steven Schubiger [Tue, 1 Aug 2017 19:55:21 +0000 (21:55 +0200)] 
Enhance message if attribute is invalid

7 years agodebian/rules: trim down
Steven Schubiger [Sun, 30 Jul 2017 21:23:15 +0000 (23:23 +0200)] 
debian/rules: trim down

7 years agoSet description once for unknown flags
Steven Schubiger [Fri, 21 Jul 2017 20:37:36 +0000 (22:37 +0200)] 
Set description once for unknown flags

7 years agoAdapt short description within man page
Steven Schubiger [Sun, 16 Jul 2017 12:12:55 +0000 (14:12 +0200)] 
Adapt short description within man page

7 years agowrite_attr(): pass struct by reference
Steven Schubiger [Thu, 6 Jul 2017 17:36:34 +0000 (19:36 +0200)] 
write_attr(): pass struct by reference

7 years agoMinor tweaks
Steven Schubiger [Fri, 16 Jun 2017 21:15:26 +0000 (23:15 +0200)] 
Minor tweaks

Be more precise with naming/wording

7 years agoConst name_len
Steven Schubiger [Wed, 17 May 2017 15:34:34 +0000 (17:34 +0200)] 
Const name_len

7 years agoTest --attr with multiple occurrences
Steven Schubiger [Sun, 14 May 2017 21:06:44 +0000 (23:06 +0200)] 
Test --attr with multiple occurrences

7 years agoReject attributes with multiple occurrences
Steven Schubiger [Fri, 12 May 2017 19:22:04 +0000 (21:22 +0200)] 
Reject attributes with multiple occurrences

7 years agocolorize 0.61 v0.61
Steven Schubiger [Thu, 27 Apr 2017 20:55:20 +0000 (22:55 +0200)] 
colorize 0.61

7 years agoMerge branch 'opt_attr'
Steven Schubiger [Tue, 25 Apr 2017 19:53:24 +0000 (21:53 +0200)] 
Merge branch 'opt_attr'

7 years agoAdd Axel Beckert to AUTHORS
Steven Schubiger [Tue, 25 Apr 2017 17:08:05 +0000 (19:08 +0200)] 
Add Axel Beckert to AUTHORS

7 years agoUpdate plain documentation
Steven Schubiger [Sat, 22 Apr 2017 21:16:51 +0000 (23:16 +0200)] 
Update plain documentation

7 years agoAmend man page date
Steven Schubiger [Fri, 21 Apr 2017 18:00:22 +0000 (20:00 +0200)] 
Amend man page date

7 years agoImprove man page wording
Steven Schubiger [Fri, 21 Apr 2017 17:34:48 +0000 (19:34 +0200)] 
Improve man page wording

7 years agoAdd tests for --attr
Steven Schubiger [Wed, 19 Apr 2017 16:00:36 +0000 (18:00 +0200)] 
Add tests for --attr

7 years agoDocument --attr
Steven Schubiger [Wed, 19 Apr 2017 12:45:35 +0000 (14:45 +0200)] 
Document --attr

7 years agoTest --attr failures
Steven Schubiger [Mon, 17 Apr 2017 15:45:48 +0000 (17:45 +0200)] 
Test --attr failures

7 years agoDon't xstrdup() optarg
Steven Schubiger [Sun, 16 Apr 2017 20:29:22 +0000 (22:29 +0200)] 
Don't xstrdup() optarg

7 years agoTweak comment
Steven Schubiger [Sun, 16 Apr 2017 15:06:04 +0000 (17:06 +0200)] 
Tweak comment

7 years agoFirst draft of attr option
Steven Schubiger [Sun, 16 Apr 2017 14:52:04 +0000 (16:52 +0200)] 
First draft of attr option

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