]> git.refcnt.org Git - colorize.git/log
colorize.git
11 years agocolorize 0.49 v0.49
Steven Schubiger [Sun, 17 Feb 2013 19:12:51 +0000 (20:12 +0100)] 
colorize 0.49

11 years agoUse size_t instead of unsigned integer type
Steven Schubiger [Sun, 17 Feb 2013 18:00:20 +0000 (19:00 +0100)] 
Use size_t instead of unsigned integer type

11 years agoEnclose valgrind test in skip block
Steven Schubiger [Fri, 15 Feb 2013 14:43:29 +0000 (15:43 +0100)] 
Enclose valgrind test in skip block

11 years agoNarrow scope of variables
Steven Schubiger [Fri, 15 Feb 2013 14:21:43 +0000 (15:21 +0100)] 
Narrow scope of variables

11 years agoAdvance position for end sequence
Steven Schubiger [Mon, 11 Feb 2013 00:32:06 +0000 (01:32 +0100)] 
Advance position for end sequence

11 years agoKeep makefile simple
Steven Schubiger [Sun, 10 Feb 2013 19:20:22 +0000 (20:20 +0100)] 
Keep makefile simple

11 years agoImprove wrapping memory functions
Steven Schubiger [Sat, 9 Feb 2013 20:30:56 +0000 (21:30 +0100)] 
Improve wrapping memory functions

11 years agoTest clean feature
Steven Schubiger [Fri, 8 Feb 2013 23:40:01 +0000 (00:40 +0100)] 
Test clean feature

11 years agoSkip invalid sequences correctly
Steven Schubiger [Fri, 8 Feb 2013 14:42:21 +0000 (15:42 +0100)] 
Skip invalid sequences correctly

11 years agoClean text from color escape sequences
Steven Schubiger [Thu, 7 Feb 2013 22:50:09 +0000 (23:50 +0100)] 
Clean text from color escape sequences

In order to handle end-of-buffer reads with partial line chunks,
merge those when cleaning text.  Pass each line then to the offset
extracting function which gathers begin/end offsets of escape
sequences.  Finally, for printing cleaned lines of text, omit all
color escape sequences as defined by their set of offsets (and
restore characters temporarily overwritten with terminating NUL).

Furthermore, add a basic string concatenation function and wrap
the free memory function to have it nullify pointers.

11 years agoEnhance message if color string exists as file
Steven Schubiger [Mon, 28 Jan 2013 19:10:22 +0000 (20:10 +0100)] 
Enhance message if color string exists as file

11 years agoCapitalize first letter of diagnostics
Steven Schubiger [Fri, 25 Jan 2013 10:03:31 +0000 (11:03 +0100)] 
Capitalize first letter of diagnostics

11 years agoupdate copyright year and increase version
Steven Schubiger [Thu, 24 Jan 2013 23:55:17 +0000 (00:55 +0100)] 
update copyright year and increase version

11 years agoadd -Wno-unused-parameter
Steven Schubiger [Thu, 24 Jan 2013 23:45:50 +0000 (00:45 +0100)] 
add -Wno-unused-parameter

11 years agoWrap memory allocation functions
Steven Schubiger [Thu, 24 Jan 2013 22:59:34 +0000 (23:59 +0100)] 
Wrap memory allocation functions

This covers currently calls to malloc(), realloc() and the custom
strdup() (which uses malloc, too).  If allocation of memory fails
(i.e., NULL is returned from one of former two calls), a fatal
diagnostic is emitted (accompanied by source filename and line
number if compiled with DEBUG=1).

11 years agoInitial commit.
Steven Schubiger [Tue, 18 Dec 2012 22:07:43 +0000 (23:07 +0100)] 
Initial commit.