Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-07-03 | Clean sequences more strictly | Steven Schubiger | 2 | -17/+49 | |
2013-06-16 | Mention that sequences are added on a line basis | Steven Schubiger | 1 | -1/+4 | |
2013-05-28 | Bail out if both clean switches are provided | Steven Schubiger | 1 | -0/+2 | |
2013-05-18 | Allow for DEBUG to be overridden | Steven Schubiger | 1 | -1/+3 | |
2013-05-13 | Add note in line printing function | Steven Schubiger | 1 | -0/+1 | |
2013-05-07 | Double space at end of sentence | Steven Schubiger | 1 | -3/+3 | |
2013-04-29 | First draft of man page | Steven Schubiger | 1 | -0/+43 | |
2013-04-26 | Introduce calloc wrappers and zero memory | Steven Schubiger | 1 | -5/+27 | |
Zero allocated memory of size "color name" struct to allow for free() to be called for struct members even when not all of them have been set explicitly yet. This is necessary since freeing those might take place prematurely in cleanup() (triggered via atexit). | |||||
2013-04-24 | colorize 0.50v0.50 | Steven Schubiger | 1 | -1/+1 | |
2013-04-24 | Test clean-all feature | Steven Schubiger | 1 | -9/+27 | |
2013-04-09 | Clean text from all color escape sequences | Steven Schubiger | 1 | -42/+65 | |
2013-03-05 | Reduce short options code | Steven Schubiger | 1 | -6/+7 | |
2013-03-04 | Optimize parsing command-line options | Steven Schubiger | 1 | -22/+45 | |
2013-03-03 | Test count of sequences being printed | Steven Schubiger | 1 | -1/+6 | |
2013-03-03 | Don't print pair of sequences at end-of-file | Steven Schubiger | 1 | -11/+13 | |
2013-02-24 | Add blank line | Steven Schubiger | 1 | -0/+1 | |
2013-02-19 | Print actual color separator in help output | Steven Schubiger | 1 | -1/+1 | |
2013-02-19 | Define color separator once | Steven Schubiger | 1 | -4/+6 | |
2013-02-18 | Adjust format specifier for unsigned integers | Steven Schubiger | 1 | -4/+4 | |
2013-02-17 | colorize 0.49v0.49 | Steven Schubiger | 1 | -1/+1 | |
2013-02-17 | Use size_t instead of unsigned integer type | Steven Schubiger | 1 | -2/+2 | |
2013-02-15 | Enclose valgrind test in skip block | Steven Schubiger | 1 | -2/+4 | |
2013-02-15 | Narrow scope of variables | Steven Schubiger | 1 | -8/+6 | |
2013-02-11 | Advance position for end sequence | Steven Schubiger | 1 | -1/+2 | |
2013-02-10 | Keep makefile simple | Steven Schubiger | 1 | -6/+3 | |
2013-02-09 | Improve wrapping memory functions | Steven Schubiger | 3 | -22/+43 | |
2013-02-09 | Test clean feature | Steven Schubiger | 1 | -8/+31 | |
2013-02-08 | Skip invalid sequences correctly | Steven Schubiger | 1 | -1/+2 | |
2013-02-07 | Clean text from color escape sequences | Steven Schubiger | 1 | -29/+213 | |
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. | |||||
2013-01-28 | Enhance message if color string exists as file | Steven Schubiger | 1 | -1/+6 | |
2013-01-25 | Capitalize first letter of diagnostics | Steven Schubiger | 1 | -2/+2 | |
2013-01-25 | update copyright year and increase version | Steven Schubiger | 1 | -2/+2 | |
2013-01-25 | add -Wno-unused-parameter | Steven Schubiger | 2 | -2/+2 | |
2013-01-24 | Wrap memory allocation functions | Steven Schubiger | 1 | -6/+45 | |
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). | |||||
2012-12-18 | Initial commit. | Steven Schubiger | 3 | -0/+841 | |