aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-08Keep return value check simpleGravatar Steven Schubiger 1-1/+1
2014-12-14Check if BUF_SIZE is definedGravatar Steven Schubiger 1-1/+1
2014-10-28Pass file/line on for string allocation routinesGravatar Steven Schubiger 1-13/+22
2014-10-26Make diagnostics more consistentGravatar Steven Schubiger 1-3/+3
2014-10-25Print memory allocation diagnosticsGravatar Steven Schubiger 1-0/+3
2014-10-01Use more portable exit failure status macroGravatar Steven Schubiger 1-2/+2
2014-07-24Merge duplicated version printing codeGravatar Steven Schubiger 1-4/+5
2014-06-26Comment end of conditional inclusionGravatar Steven Schubiger 1-1/+1
2014-06-26Include commit hash in version outputGravatar Steven Schubiger 1-1/+9
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.
2014-06-10Print abbreviated size of bufferGravatar Steven Schubiger 1-2/+36
2014-06-02colorize 0.54v0.54Gravatar Steven Schubiger 1-1/+1
2014-05-16Don't declare errnoGravatar Steven Schubiger 1-1/+1
2014-04-04Localize variable with name of existing fileGravatar Steven Schubiger 1-3/+4
2014-03-20Rearrange debugging macrosGravatar Steven Schubiger 1-11/+11
2014-01-29Conditionally define memory allocation wrappersGravatar Steven Schubiger 1-3/+11
2014-01-28Quote color string in error messagesGravatar Steven Schubiger 1-3/+5
2014-01-26Extend feature test macro furtherGravatar Steven Schubiger 1-1/+2
2014-01-25Display type and name of file in error messagesGravatar Steven Schubiger 1-7/+41
2014-01-05Silence warnings under -pedanticGravatar Steven Schubiger 1-1/+3
2014-01-02colorize 0.53v0.53Gravatar Steven Schubiger 1-2/+2
2013-12-22Prefer term help screenGravatar Steven Schubiger 1-1/+1
2013-12-21Print hint to invoke usage screenGravatar Steven Schubiger 1-3/+10
2013-12-12Merge declarations of boolean typeGravatar Steven Schubiger 1-3/+1
2013-12-07Exchange color codes for cyan/magentaGravatar Steven Schubiger 1-4/+4
Whoops, accidentally swapped.
2013-12-06List state of debugging in version outputGravatar Steven Schubiger 1-1/+8
2013-12-01Read multiple of 1024 bytes from streamGravatar Steven Schubiger 1-6/+6
2013-11-21Improve determining buffer sizeGravatar Steven Schubiger 1-3/+5
2013-11-17Remove superfluous semicolon from macrosGravatar Steven Schubiger 1-5/+5
2013-11-16Validate color provided to exclude-random switchGravatar Steven Schubiger 1-5/+13
2013-11-06colorize 0.52v0.52Gravatar Steven Schubiger 1-1/+1
2013-11-05Use NULL in long options data initializationGravatar Steven Schubiger 1-1/+1
2013-10-29Don't fail if color string exists as fileGravatar Steven Schubiger 1-3/+25
2013-09-05Clear pointer before reusingGravatar Steven Schubiger 1-0/+3
2013-08-28Swap parameters of print_lineGravatar Steven Schubiger 1-4/+4
2013-08-24Replace option part of identifiers with argGravatar Steven Schubiger 1-9/+9
2013-08-22Add assertion in process_file_optionGravatar Steven Schubiger 1-0/+1
2013-08-21Initialize file pointerGravatar Steven Schubiger 1-1/+1
2013-08-17Extend feature test macroGravatar Steven Schubiger 1-1/+1
Defining _POSIX_C_SOURCE=200809L fixes compilation currently under Net/Open/MirBSD (and possibly more).
2013-08-04colorize 0.51v0.51Gravatar Steven Schubiger 1-1/+1
2013-08-03Print diagnostic for wrong count of argumentsGravatar Steven Schubiger 1-0/+1
2013-08-03Quote original unrecognized color nameGravatar Steven Schubiger 1-6/+11
This fixes the name being quoted for bold colors: [sts@kronos colorize-eaf4e19]$ ./colorize Greeen ./colorize: foreground color 'greeen' not recognized
2013-07-31Add vfprintf_diag and macroGravatar Steven Schubiger 1-6/+16
2013-07-30Revert "Make vfprintf_{fail,diag} wrappers"Gravatar Steven Schubiger 1-7/+3
This reverts commit fbbedc1d43af9c4fbc92611db19c617378dce2e8. Undo as variadic macros are not allowed in C89.
2013-07-27Make vfprintf_{fail,diag} wrappersGravatar Steven Schubiger 1-3/+7
2013-07-16Check for non-empty lineGravatar Steven Schubiger 1-1/+1
2013-07-13Eliminate stream modesGravatar Steven Schubiger 1-66/+13
The added complexity is not worth the cost as these modes do not provide a real speed benefit nor is the implementation mature. Thus, remove them.
2013-07-03Clean sequences more strictlyGravatar Steven Schubiger 1-16/+33
2013-05-28Bail out if both clean switches are providedGravatar Steven Schubiger 1-0/+2
2013-05-18Allow for DEBUG to be overriddenGravatar Steven Schubiger 1-1/+3
2013-05-13Add note in line printing functionGravatar Steven Schubiger 1-0/+1