Commit graph

139 commits

Author SHA1 Message Date
1c07ace0e2 fix: do not chdir when looking for files
Allow relative paths for palettes and themes.

Refs: #114
Co-authored-by: FedericoStra
2023-06-28 21:02:09 +02:00
Konstantin Pavlov (ug)
292760c568 Fast commit 2023-06-28 20:44:29 +02:00
Konstantin Pavlov (ug)
b20fd4e18e Add theme for AMD/Xilinx Vivado tool 2023-06-28 20:44:29 +02:00
186dc04a86 adds a Catch2 theme 2023-04-07 16:12:05 +02:00
657a13eee1 feat(theme): add the Django theme
For coloring Django's logs.
2023-02-14 09:08:12 +01:00
6e623e897b feat(theme): add the SLURM theme
Coloring all known states with a consistent scheme.
2023-02-14 09:07:10 +01:00
0839d955a9 feat(latex): improve latex theme 2023-01-20 09:24:44 +01:00
4ca6429485 feat(cmake): improve cmake and ctest themes 2023-01-20 09:24:14 +01:00
88992390a5 Merge branch 'master' of github.com:nojhan/colout 2022-08-31 22:45:02 +02:00
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
707f499f4a fix cmake theme
Do not match the ":" in CMake Error
2020-06-04 09:53:33 +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