aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
AgeCommit message (Collapse)AuthorFilesLines
2015-06-17colorize 0.56v0.56Gravatar Steven Schubiger 1-1/+1
2015-06-15Don't initialize static variables explicitlyGravatar Steven Schubiger 1-8/+8
2015-06-07Cast variable properlyGravatar Steven Schubiger 1-9/+9
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-04-03Declare color sets variables as constantGravatar Steven Schubiger 1-3/+3
2015-03-02Convert short version option to uppercaseGravatar Steven Schubiger 1-3/+3
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 1-2/+2
2015-01-20Log debug output to fileGravatar Steven Schubiger 1-3/+30
2015-01-10Support files larger than 2GB on 32-bit systemsGravatar Steven Schubiger 1-0/+1
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