Commit Graph

58 Commits (9f6dcac31473b69f73492c3f59dd6aa9449cd3de)
 

Author SHA1 Message Date
Aadhavan Srinivasan 9f6dcac314 Formatting change 5 days ago
Aadhavan Srinivasan 421e9b074e Merge pull request 'Use kleingrep's regex engine instead of stdlib' (#1) from useMyEngine into master
Reviewed-on: #1
5 days ago
Aadhavan Srinivasan 720a01140c Updated some regexes for markdown coloring 5 days ago
Aadhavan Srinivasan 9ced9ab5cb Added underline 'color' 5 days ago
Aadhavan Srinivasan 8ae28cb359 Don't define any custom colors 5 days ago
Aadhavan Srinivasan d1a9f3f726 Updated coloring for Golang 5 days ago
Aadhavan Srinivasan a1309af696 Updated some regexes
One of the expressions used .* to mean 'any character except newline', but since I've
enabled 'RE_SINGLE_LINE' mode, a dot matches a newline as well.
6 days ago
Aadhavan Srinivasan 06fab2292c Enable RE_SINGLE_LINE flag when compiling regex, to allow newline to be treated like any other character 7 days ago
Aadhavan Srinivasan 19be04fd66 Enable multiline mode when compiling regex, because I read the whole file at once, rather than lline-by-line 7 days ago
Aadhavan Srinivasan 40858a673a Use my regex engine instead of the stdlib one 1 week ago
Aadhavan Srinivasan 23e9c5d58d Added SGR fields to the RGB struct for bold and italic;
allow RGB values to be -1 (default color);
allow underscore in color names
1 week ago
Aadhavan Srinivasan fd256bc7c7 Read the file from the embedded FS instead of the real FS 1 week ago
Aadhavan Srinivasan 565205fb5e Added some extended colors along with the config files 1 week ago
Aadhavan Srinivasan 33a3f7c937 Added a Markdown config file 1 week ago
Aadhavan Srinivasan 9fce9cf2a1 Construct config path using user's home directory, instead of trying to guess what the home directory is 3 months ago
Aadhavan Srinivasan 434c804b08 Added license 4 months ago
Aadhavan Srinivasan 50d9126f2b Updated config file to recognize include headers 8 months ago
Aadhavan Srinivasan 6b4d131f4f Updated README and TODO 8 months ago
Aadhavan Srinivasan 51b4029a79 Changed project name to include repo path 8 months ago
Aadhavan Srinivasan a1f804ac38 Used absolute import path 8 months ago
Aadhavan Srinivasan eb32ec1027 Added link to releases 9 months ago
Aadhavan Srinivasan 2625239dba Added note describing where to obtain releases 9 months ago
Aadhavan Srinivasan 44de668546 Updated README 9 months ago
Aadhavan Srinivasan 20cb665b33 Updated README 9 months ago
Aadhavan Srinivasan 9a6fc3475a Added comment to function 9 months ago
Aadhavan Srinivasan d15a771e89 Removed references to Windows support
The program doesn't seem to work on Windows, and I don't have the time
right now to debug it. So, at the moment, the program isn't supported on Windows.
9 months ago
Aadhavan Srinivasan f8cb03bf88 Wrote script to create release builds 9 months ago
Aadhavan Srinivasan b65cef96c3 Replaced the relative path on Windows with an absolute path 9 months ago
Aadhavan Srinivasan b511c14cc3 Updated gitignore 9 months ago
Aadhavan Srinivasan 122cd5ed04 Fixed typo 9 months ago
Aadhavan Srinivasan 3b8bcb4c8a Updated README 9 months ago
Aadhavan Srinivasan e7e7a247d8 Updated README 9 months ago
Aadhavan Srinivasan eb2a0a9122 If the color config file exists, load colors from it 9 months ago
Aadhavan Srinivasan 46e3e9da85 Added function to load colors from a config file 9 months ago
Aadhavan Srinivasan 5bb51fb90c Updated README 9 months ago
Aadhavan Srinivasan 5da734e06d Fixed typo 9 months ago
Aadhavan Srinivasan 925ef4df4b Updated README 9 months ago
Aadhavan Srinivasan 79cd6dab8d Cosmetic changes 9 months ago
Aadhavan Srinivasan 28ee686295 Fixed typo 9 months ago
Aadhavan Srinivasan 5e0bbbec4f Added README 9 months ago
Aadhavan Srinivasan 05f3ebc178 Updated TODO 9 months ago
Aadhavan Srinivasan a34f2309a8 Removed C file which was used for testing 9 months ago
Aadhavan Srinivasan 66b227fb63 Defined color mappings for Go 9 months ago
Aadhavan Srinivasan 373c3c3385 Added Dark Blue as a color 9 months ago
Aadhavan Srinivasan 624ea575cc Changed behavior of program when 'disable color' flag is passed.
Instead of printing out the contents early on (which wouldn't allow it to work
with '-n'), I skip the loop that applies colors based on the regular expressions.
9 months ago
Aadhavan Srinivasan ffae02b62b Fixed bug where line number wasn't updated 9 months ago
Aadhavan Srinivasan 81b976bcc7 Added 'line number' flag, and added check for empty file.
I added a 'line number' flag ('-n') which will print the line number
with padding before every line. To ensure that a line number isn't printed when
trying to 'ccat' an empty file, I added a check to see if the file is empty.
If it is, the program exits.
9 months ago
Aadhavan Srinivasan 0b67cb317e Added 'disable color' flag ('-d') to disable color printing. Also replaced os.Args with flag.Args, to retrieve command-line arguments after stripping out flags 9 months ago
Aadhavan Srinivasan 098f7fe01b Instead of using command-line flags, I decided to generate the configs if they don't exist 9 months ago
Aadhavan Srinivasan 76fc61a19d Wrote function to copy embedded config files to a config directory 9 months ago