jkff / splot

Visualizing the activity of many concurrent processes
http://jkff.info/software/timeplotters/
Other
58 stars 8 forks source link

provide automatic color generation from tokens #1

Closed abailly closed 12 years ago

abailly commented 12 years ago

This patch generalizes assignment of colors from token names. I added a special module for that purpose and a bunch of unit tests (not that useful though as they are not branched in cabal).

jkff commented 12 years ago

Looks great, thanks! I'll test it right now and then upload to hackage.

abailly commented 12 years ago

Thanks. I fiddled a bit with the cycling routine and am not totally happy with the result. Feel free to change the numbers to provide sharper differentiation between colors.

jkff commented 12 years ago

I did a few corrections (fixed an indentation bug and introduced a more contrast default color scheme) and uploaded 0.2.5 to hackage. I immediately used the new feature on one of my logs and I must say that it really simplifies quite a few things that I was doing with scripts before. Thanks again!

abailly commented 12 years ago

You are welcomed! I do not understand how this typo crept in though... Missing some unit tests I guess :-)