Commit graph

129 commits

Author SHA1 Message Date
Johann Dreo
a41eea11d2 fix(syntax coloring): load all lexers, even those without aliases
Some Pygments’ lexers are registered without any alias, just with their long name.
This ensure that they are loaded, along with the others.
2022-05-12 12:00:11 +02:00
a682d3564e Merge branch 'master' of https://github.com/stdedos/colout into stdedos-master 2020-05-27 17:38:22 +02:00
linkmauve
dab5555503
Update colout.py
Python 2 will retire in thirteen days (see https://pythonclock.org/), there is no reason to keep obsolete checks in the code any longer.
2019-12-19 00:51:29 +01:00
Oliver Bristow
b8e259add3
Make missing lexer error less verbose 2018-08-16 23:30:03 +01:00
Oliver Bristow
161777d679
Remove references to pygments+babel being optional 2018-08-16 23:30:03 +01:00
Oliver Bristow
3644dc0619
Fix error_codes scope + more informative lexer error 2018-08-16 23:28:22 +01:00
Oliver Bristow
f9ec8cba39
Replace shell script with console scripts 2018-08-16 23:25:51 +01:00
b62b57512d (almost) silently handle (weird) errors from pygments 2018-08-14 14:31:55 +02:00
Oliver Bristow
80a55281c5
Remove six 2018-08-04 17:11:25 +01:00
7dbda565e9 Merge branch 'develop' of git://github.com/blastrock/colout into develop 2018-08-03 15:33:13 +02:00
cb790b3089 Merge branch 'tweaks' of git://github.com/Code0x58/colout into develop 2018-08-03 15:30:15 +02:00
Oliver Bristow
d0ad9850ad
Remove use of six (not listed in dependencies) 2018-08-01 23:41:54 +01:00
Philippe Daouadi
a20cfa32c7 fix g++ coloration 2018-07-12 11:10:05 +02:00
4b758a5f9e Simpler color_map returns
Rename some variables/options.
Do not log debug context.
2018-02-27 16:29:19 +01:00
feb87f2532 fix separator option 2018-02-27 16:09:26 +01:00
b285d51db2 less verbose lexers debuging 2018-02-27 15:57:59 +01:00
8b0607e035 fix #92: handling of --colormap
Use "default" instead of "colormap".
Use the first color in the user-defined map to check mode.
Add check of mixed modes.
2018-02-27 15:51:41 +01:00
881a2c7cbd Add separator characters as options
Separator for lists of colors ("," -> sep_list).
Separator for fore/background color pairs ("." -> sep_back).
2018-02-27 09:09:33 +01:00
87cac38a48 Merge branch 'jason-green-io_background' into develop 2018-02-26 17:58:47 +01:00
d06b1b449a Allow background without foreground ("none.blue")
Use a configurable fore/background separator.
Declare fore- and background colors only once.
Pretty print context in debug mode.
2018-02-26 17:50:14 +01:00
34c04c49db Use six to handle both Py2 and Py3 on unicode 2018-02-26 16:28:42 +01:00
b284020355 Merge branch 'master' of https://github.com/jason-green-io/colout into jason-green-io_background 2018-02-26 15:57:53 +01:00
eca25b4106
Merge pull request #89 from jonathanpoelen/master
better perm theme
2018-02-26 15:54:31 +01:00
e9f0bff0cc
Merge pull request #85 from while0pass/master
fix UnicodeEncodeError
2018-02-26 15:50:28 +01:00
Jason Green
6001cf76ea fixed color 2017-10-20 21:30:43 -04:00
Jason Green
f34ac3b47f multiple styles at the same time and background colors using . eg. blue.yellow underline.blink 2017-10-20 21:10:28 -04:00
Jason Green
a47020e5d7 added the ability also specify background color in 8 color mode 2017-10-19 21:48:52 -04:00
ac7a2c3859 Merge branch 'master' of http://github.com/nojhan/colout 2017-05-17 11:13:25 +02:00
36faadae39 better themes for cmake, ctest and configure 2017-05-17 11:13:01 +02:00
jonathan poelen
eb8935f156 better perm theme 2017-02-22 23:38:06 +01:00
Nurono
5e1c64e61e fix UnicodeEncodeError 2016-11-23 12:48:09 +03:00
01d1ab6b20 Remove the dirty arg management, only keep argparse
fix #70
2016-08-18 21:18:58 +02:00
fb9de000ed Add a message for a common error
fix #73
2016-08-18 21:11:33 +02:00
4ae9ab7627 Merge pull request #76 from oz-linden/master
fix for Issue #75: add the --themes-dir to the module import path

Thanks!
2016-08-18 21:03:42 +02:00
9128025973 More themes 2016-06-03 10:25:09 +02:00
7338d36f37 More colors for cmake building log
Hash the subdirs and do not color extension.
2016-05-29 17:32:05 +02:00
Scott Lawrence
17420be917 fix for Issue #75: add the --themes-dir to the module import path 2015-04-02 10:34:51 -04:00
9bf6de388f Merge branch 'defcmap' 2014-12-19 11:19:04 +01:00
097b224e1a Merge branch 'defcmap' of http://github.com/nojhan/colout into defcmap 2014-12-19 11:14:36 +01:00
7bf87889ee Merge branch 'master' of http://github.com/nojhan/colout 2014-12-19 11:14:18 +01:00
0976644a38 Merge pull request #64 from blastrock/defcmap
More fixes for cmake coloration
2014-12-19 11:14:06 +01:00
71f86a7604 Merge pull request #68 from Necior/master
Fix typos
2014-12-19 11:10:13 +01:00
a39bc4022b add gdb hooks: run and line, better continue 2014-12-19 11:07:15 +01:00
b193ce4885 An example config for coloring GDB sessions
Use a config hack to plug colout on GDB output.
2014-10-16 20:07:41 +02:00
67f7920520 better valgrind theme 2014-10-16 19:04:59 +02:00
963d6addf1 bugfix lexers 2014-10-16 19:04:50 +02:00
d47272663d enhunce the valgrind theme
less red sections
highlight null adresses
2014-10-08 11:13:08 +02:00
f7ae2118e7 bugfix printing ressources
Use the context
2014-10-08 11:10:35 +02:00
63ad030360 Merge branch 'master' into defcmap 2014-09-16 10:38:22 +02:00
ddaab0b1db add a valgrind theme 2014-09-16 10:28:47 +02:00