summaryrefslogtreecommitdiff
path: root/poezio
AgeCommit message (Collapse)Author
2016-06-11Make poezio.events more Cython-friendly.Emmanuel Gil Peyrot
2016-06-11Make poezio.common more Cython-friendly.Emmanuel Gil Peyrot
Also remove support for OLD_PYTHON (before 3.3), some unused constants, mark private functions with a leading underscore, and clean up some pep8 violations.
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-11Make poezio.windows.funcs more Cython-friendly.Emmanuel Gil Peyrot
2016-06-11Make poezio.poezio_shlex more Cython-friendly.Emmanuel Gil Peyrot
2016-06-11Make poezio.text_buffer more Cython-friendly.Emmanuel Gil Peyrot
2016-06-11add_message_to_text_buffer was never used with its time and history arguments.Emmanuel Gil Peyrot
2016-06-11Move Line where it should be.Emmanuel Gil Peyrot
2016-06-11Remove some unused globals.Emmanuel Gil Peyrot
2016-06-11Prefer '\0' to None or an empty string for single characters.Emmanuel Gil Peyrot
2016-06-11Replace the namedtuple Message with a slotted class and merge ↵Emmanuel Gil Peyrot
TextBuffer.make_message in it.
2016-06-11Replace Line namedtuple with a slotted class.Emmanuel Gil Peyrot
This will be useful to give Cython a way to optimise the storage in that class.
2016-06-11Replace two lists of characters with strings.Emmanuel Gil Peyrot
2016-06-11Move the src directory to poezio, for better cython compatibility.Emmanuel Gil Peyrot