Commit graph

233 commits

Author SHA1 Message Date
Johann Dreo
1fed20cba7 Expect formatted json as input, blue numbers
This patch avoid coloring what's inside item's strings, but expect a formatted input.
2013-05-17 11:13:53 +02:00
Johann Dreo
d04a9d85a9 json separators in yellow, color double quotes 2013-05-16 14:29:52 +02:00
Johann Dreo
9f77a5b54d Separate g++ log with blue section lines
Every time g++ use "in/at", it starts a new error/warning paragraph.
Coloring those lines in blue mades it easier to spot messages.
2013-05-16 08:53:13 +02:00
3354a49395 Merge pull request #29 from orzrd/master
Add new installation method for pypi/ubuntu/gentoo and hotfix a python3 install error
2013-05-14 23:59:03 -07:00
orzrd
a278f9796f Update colout
hotfix python3 install error
2013-05-09 23:00:11 +08:00
orzrd
df52773c4e Update README.md
Add installation method
2013-05-09 22:55:08 +08:00
John Anderson
0d8606fd65 hotfix python3 install error 2013-05-05 21:12:59 +08:00
894fab9c68 bugfix #27: use default msg marker if no localization found 2013-05-05 00:30:43 +02:00
64454e42f1 Use python3 everywhere 2013-05-05 00:20:24 +02:00
d91c333d63 Merge pull request #25 from martin-ueding/launcher
Add launcher script
2013-05-04 15:16:29 -07:00
aa86e2a151 Merge pull request #23 from xudifsd/master
add requirement package in setup, also add installation section in README.md
2013-05-04 15:16:11 -07:00
Martin Ueding
c9bd98b414 Change License to GPL 3 only
It has been 3+ previously, but the remainder of the project is using 3
only.
2013-04-30 16:43:06 +02:00
Martin Ueding
e199f38698 Call Python 3 2013-04-30 16:42:36 +02:00
Martin Ueding
177c11fd9a Add launcher script
I tried to package this program in Ubuntu, and found that it has no
startup script. So I added a `colout` script that gets installed into
the scripts directory with the `setup.py`.
2013-04-28 15:53:00 +02:00
49cd8ab292 Merge pull request #22 from np/jsonarrays
Color JSON array markers '[' and ']'
2013-04-22 11:37:35 -07:00
Xu Di
37934e9266 colout/colout.py uses python3, whereas it really needs python2,
also add requirement in setup, makes it auto-install requirement
package.
2013-04-22 13:34:06 +08:00
Nicolas Pouillard
b85b727606 Color JSON array markers '[' and ']' 2013-04-20 00:21:24 +02:00
Johann Dreo
b470c81d01 Simplify the cmake theme, use "scale" instead of adhoc regex 2013-04-16 15:49:53 +02:00
Johann Dreo
c9eb7a1380 cmake theme localization: do not use english word 2013-04-16 09:34:25 +02:00
Johann Dreo
fa76dcdf76 Better g++ theme & localization
The g++ theme now check the locale to use unicode quotation mark if necessary.
Start of error paragraphs are highlighted in green.
Colout now use python3 for a simpler unicode support.
2013-04-16 09:32:08 +02:00
Johann Dreo
465ce93393 Bold line number in the g++ theme 2013-04-15 21:54:45 +02:00
Johann Dreo
64c50cca00 Localized g++ theme
Use gettext to get the GCC localized messages
2013-04-15 21:42:56 +02:00
Johann Dreo
f2df87b88c No greedy match on quotes for the g++ theme 2013-04-15 21:29:59 +02:00
16b6627cd7 Merge pull request #20 from oczkers/setup
add setup.py
2013-04-09 11:32:03 -07:00
Piotr Staroszczyk
8df684f3a0 add setup.py 2013-04-09 19:12:26 +02:00
0588676066 Merge pull request #16 from durka/lexer-index-error
fix IndexError during lexer collection
2013-04-06 23:43:28 -07:00
Alex Burka
c8a24b0aa8 correctly detect a numeric color argument 2013-04-06 20:58:15 -04:00
Alex Burka
76866c2330 fix IndexError during lexer collection 2013-04-06 20:56:51 -04:00
201e28b256 First attempt at an ~256 rainbow colormap
Indicentally, bugfix passing numerical values
2013-04-07 01:13:57 +02:00
c025c32a3d Conditional import of babel, fallback to std parsing 2013-04-03 19:02:04 +02:00
a2d3feb301 doc update 2013-04-03 19:02:01 +02:00
bac1b71b78 colormap for linear scale numbers
When using the 'scale' colormap, parse matches as decimal numbers
(taking your locale into account) and apply the rainbow colormap linearly
between the given SCALE=min,max

Implement issue #6
2013-04-03 18:43:05 +02:00
3a51a71014 More harmonious cmake/g++ themes
CMake theme less colorful, in cyan/green, color errors.
Better g++ messages parsing.
2013-03-26 23:38:16 +01:00
b8c38a5653 Add the "none" color. Useful when grouping. 2013-03-26 23:02:52 +01:00
c6b735ccfa Remove on_stderr from the README v0.1 2013-03-25 21:20:57 +01:00
05828ced2e Git ignore *.pyc 2013-03-25 21:18:30 +01:00
fb3944a22b Refactor the non-blocking read/write parts. Remove on_stderr
This basically introduce the machinery to always call stdin_write for
themes, source code and colorup.

Remove the useless option on_stderr, that is gratefully handled by the shell.
2013-03-25 21:16:23 +01:00
aef7da95b4 Add the -a switch to input the whole stream instead of readlining it 2013-03-25 20:39:06 +01:00
dc38703fd6 Merge pull request #10 from np/examples
Example of the perm template
2013-03-24 16:05:02 -07:00
Nicolas Pouillard
9edce1f645 Example of the perm template 2013-03-24 23:59:13 +01:00
5b52c7eceb Refactor themes to avoid imports
Enhancement #9
2013-03-24 23:54:02 +01:00
c9cabb3666 use upper case P in examples 2013-03-23 22:39:57 +01:00
2e7dc83e22 Merge pull request #8 from np/examples
Update the examples (using quotes instead of escapes)
2013-03-23 14:38:13 -07:00
45872df75c Use pygments in the g++ theme 2013-03-23 18:12:31 +01:00
e3af4cbe0b bugfix: chdir to import themes 2013-03-23 18:11:52 +01:00
9da74a1202 Add the possibility to color a source code SUBSTRING
`echo "There is an error in 'static void Functor::operator()( EOT& indiv ) { return indiv; }' you should fix it" | colout "'(.*)'" Cpp monokai`
2013-03-23 17:52:32 +01:00
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
Nicolas Pouillard
10034271c8 Update the examples (using quotes instead of escapes) 2013-03-23 17:00:02 +01: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