Commit graph

36 commits

Author SHA1 Message Date
f201fa0e70 Sort lexers for a better help 2013-03-23 17:50:24 +01:00
add176306a Merge pull request #7 from thefab/flake8_fixes
flake8/pep8 fixes
2013-03-23 09:16:56 -07:00
Fabien MARTY
c7656f35e3 flake8/pep8 fixes (except for the max size of a line and visual indent warnings) 2013-03-23 13:30:05 +01:00
8fdbe570b5 bugfix: initialize a default empty list of lexers 2013-03-23 09:38:07 +01:00
937c2a450c Add a JSON theme 2013-03-23 00:23:50 +01:00
7858211361 List available themes/languages in the help
Preload themes and pygments lexers at import.
2013-03-23 00:12:30 +01:00
d444c1868c Add support for source code coloring with pygments
Themes/source are available with a switch.
2013-03-22 23:59:42 +01:00
e583e54bf3 Read stdin as a stream, avoid blocking read/write 2013-03-22 22:52:53 +01:00
8e73d1512f Add a g++ theme 2013-03-22 22:52:24 +01:00
c0da324726 Add a theme for cmake 2013-03-22 22:25:24 +01:00
6ef62a644f Add minimal theme support, and "perm" as an example 2013-03-22 21:19:02 +01:00
nojhan
c891bda94a Add the --colormap option to build adhoc colormaps
Use the given list of comma-separated colors as a colormap (cycle the colors at each match).
Support of 256 colors mode colormaps.
2013-03-05 21:53:38 +01:00
nojhan
da1c2209e7 Add the --groups option
For color maps (like "rainbow"), iterate over matching groups in the pattern instead of over patterns.

Fix #4
2013-03-04 22:16:59 +01:00
nojhan
eba7c1462d Add "Random" for 255 colors mode
Thus we can specify "random" for 8 colors mode, or "Random" for 255 colors.
2013-03-03 09:11:40 +01:00
nojhan
811ef56bcb BUGFIX: correct code in 256 colors mode
Thanks duck typing.
2013-03-03 09:08:21 +01:00
119bba5bb5 Add random and rainbow
Use "random" as a color or a style to pick a random one for each pattern.
Use "rainbow" as a color to alternate colors in rainbow gradient.
Fix #1
2013-03-01 00:12:40 +01:00
Johann Dreo
941d7c2ef9 Cleaner API, more comments, generator, toward py3k
Use simpler names for modules variables.
Detailled commets for each functions, with doctests.
Add a generator proxy.
Add a dirty argument parser that do not depend of argparse.
Separate args parser in private functions.
Clean the code.
2013-02-07 12:10:23 +01:00
nojhan
2e0fd09b43 print each line as soon as it is read 2012-07-12 14:01:59 +02:00
nojhan
bbc0cf5aa3 bugfix readme formating 2012-07-09 10:16:25 +02:00
nojhan
6371125431 rename readme for github display 2012-07-09 09:50:59 +02:00
nojhan
be7cb6b253 examples with 256 colors codes 2012-04-02 22:39:23 +02:00
nojhan
efc1195413 replace 'standard' style name by 'normal' 2012-04-02 22:32:24 +02:00
nojhan
1a880bde94 handle multiple styles when grouping 2012-04-02 21:58:06 +02:00
nojhan
9946b58285 handle multiple colors when grouping 2012-04-02 21:50:29 +02:00
nojhan
a9d934490c copyright issues 2012-03-31 17:58:26 +02:00
nojhan
5117fd92fc a complete man page 2012-03-31 15:45:46 +02:00
nojhan
60c86f9182 use argparse, comments in english 2012-03-31 15:11:27 +02:00
nojhan
fea7e2c03f now supports coloring only the grouping parts of the regex, if any 2012-03-31 14:40:46 +02:00
nojhan
ad010765d8 description in README 2012-03-31 14:39:20 +02:00
nojhan
6a33ab321d remove old file 2012-03-31 13:10:07 +02:00
nojhan
fe7b0850e6 new name 2012-03-31 13:08:18 +02:00
nojhan
f526f72bf8 colorout: bugfix arguments number, more examples 2012-03-31 13:06:56 +02:00
nojhan
fe19251750 bugfix arguments handling and error message + description header 2012-03-31 13:06:43 +02:00
nojhan
35a4015409 bugfix: use /usr/bin/env instead of /bon in colorout.py 2012-03-31 13:06:30 +02:00
nojhan
26d2e376ae Colorisation d'une sortie texte
Conflicts:

	README
2012-03-31 13:05:42 +02:00
nojhan
949dbdc1d8 first commit 2012-03-31 12:46:56 +02:00