summaryrefslogtreecommitdiff
path: root/poezio/theming.py
AgeCommit message (Collapse)Author
2019-03-20's/an user/a user/g'Maxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-08-17Add typing information and reformat stuffmathieui
2018-08-15Fix mypy errors, add type annotationsmathieui
2018-07-23yapf -irEmmanuel Gil Peyrot
2018-07-22theming: Add typing information.Emmanuel Gil Peyrot
2018-07-21yapf -ripmathieui
2018-07-16Fix custom theme loading under Python 3.5.Emmanuel Gil Peyrot
2018-07-14Stop making classes inherit from object.Emmanuel Gil Peyrot
2018-07-04Use pathlib.Path and poezio.xdg to load themes.Emmanuel Gil Peyrot
2017-11-14yapf -irEmmanuel Gil Peyrot
2017-11-12Replace italics with reversed when the curses module is too old to support it.Emmanuel Gil Peyrot
2017-11-12Move definition of CCG_PALETTE to Theme objectJonas Wielicki
2017-11-12Add support for XEP-0392 (Consistent Color Generation)Jonas Wielicki
2017-11-12Fix list alignment in theming.pymathieui
2017-11-12yapf -irmathieui
2017-10-18Check whether curses.A_ITALIC exists, fixes a traceback on <em/> on Python < ↵Emmanuel Gil Peyrot
3.7.
2017-10-14Add support for italic on ^Ci.Emmanuel Gil Peyrot
Fixes #2722.
2017-10-12Fix some excepts (bare, useless, unused)mathieui
2016-08-24Don’t traceback in theming if called without poezio installedmathieui
If we just want to see the color list, we shouldn’t need to be able to import poezio.config
2016-07-06Cache results in poezio.theming.to_curses_attr.Emmanuel Gil Peyrot
This increases performances a *lot* compared to the previous uncached version.
2016-06-30Use absolute imports instead of relative onesmathieui
All this crap is very brittle due to circular deps and python handling them badly. This appears to be fixing some stuff, at the very least. This is sed, so cleanup of imports (which can now be grouped together) is not done yet.
2016-06-27Make all relative imports explicit.Emmanuel Gil Peyrot
2016-06-11Prefer '\0' to None or an empty string for single characters.Emmanuel Gil Peyrot
2016-06-11Move the src directory to poezio, for better cython compatibility.Emmanuel Gil Peyrot