summaryrefslogtreecommitdiff
path: root/poezio/core/commands.py
AgeCommit message (Collapse)Author
2016-06-30Use a "core" parameter for each tab object instead of a singletonmathieui
fixes the circular import issue
2016-06-30Absolute imports everywheremathieui
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-12Fix core commands, broken in the previous commit.Emmanuel Gil Peyrot
2016-06-12Split core commands into its own (broken) class.Emmanuel Gil Peyrot
2016-06-11Make poezio.core.struct more Cython-friendly.Emmanuel Gil Peyrot
Status and Command are now slotted classes instead of namedtuples, which led to a few changes to access them with their named parameters instead of as a tuple. “short” being a C type, I renamed Command.short into Command.short_desc, which is more explicit anyway. I also renamed possible_show into POSSIBLE_SHOW, as it is a module-level constant dict.
2016-06-11Move the src directory to poezio, for better cython compatibility.Emmanuel Gil Peyrot