summaryrefslogtreecommitdiff
path: root/poezio/text_buffer.py
AgeCommit message (Collapse)Author
2021-07-02fix: improve typingmathieui
preliminary to more typing added to slixmpp, fix things in advance
2021-06-26fix: load less messages on startup/gap fillmathieui
gap filler was called on MUC joins, therefore loading 999 messages instead of the 2 times the screen height
2021-04-16fix: correction time in one to one tabs (fix #3532)mathieui
2021-04-02refactor: rewrite config.get() to getbool, getstr, getint…mathieui
2020-12-12from __future__ import annotationsEmmanuel Gil Peyrot
Now that our baseline is Python 3.7, we can rely on type annotations to be lazily evaluated.
2020-06-01mypy: Reduce errors on muctab.py by a lotmathieui
2020-05-23Fix types in text_buffermathieui
2020-05-23Fix typing in mam.pymathieui
2020-05-23Fix some edge cases of MAM history fetchmathieui
- Wait until we receive our own MUC presence to fetch history - Fix /reconnect weirdness
2020-05-23Textbuffer: add "find last message" functionmathieui
2020-05-23Remove "top" message logicmathieui
2020-05-23Add a concept of "history gap"mathieui
2020-05-09Fix highlights by introducing a delayed property on ui.types.MessageMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-05-09Typing improvementsmathieui
2020-05-09Pass a message to add_message instead of messed up kwargs everywheremathieui
Changes LOTS of things
2020-05-09Rewrite part of the message handling/renderingmathieui
2020-05-09Move message rendering code to Message.render()mathieui
Also: - rename format_chars to FORMAT_CHARS because it’s static constant - move Line, Message, and a few funcs/consts to a new poezio.ui module
2020-04-05TextBuffer: add note about LMC compatMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05modify_message: change variable nameMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-04-05Read newer LMC rulesMaxime “pep” Buquet
Version 1.1.0 of Last Message Correction (0308) added clarifications that break the way poezio handles corrections. Instead of linking corrections to the previous correction/message as we were doing, we are now required to link all corrections to the original messages. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-05Moved scroll_up code back to basetabs, added amount parameter to change no. ↵root
of msgs per query.
2019-08-22Added 'top' attribute in the 'Message' object (The problem of the wrong ↵Madhur Garg
order of messages was because of this.)
2019-08-22Removed repetitive code.Madhur Garg
2019-08-22Corrected indentation and coding style.Madhur Garg
2019-08-22Added 'top' parameter in add_message function to add messages on the top.Madhur Garg
2019-08-02text_buffer: Prevent using str as a datetime objectMaxime “pep” Buquet
Cleanup a bit how `str_time` is assigned. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07poezio/text_buffer: Remove JID type for nowMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-07safeJID: Remove some safeJID callsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-23Corrected the value of timestamp for MUC subject. Fixes #3451Madhur Garg
Corrected the value of timestamp for MUC subject. Fixes #3451 Corrects the value of timestamp for messages with delay tag. Fixes #3451
2018-08-18Remove some circular type imports.Emmanuel Gil Peyrot
2018-07-23yapf -irEmmanuel Gil Peyrot
2018-07-23text_buffer: Fix Message not being defined from inside Message’s definition.Emmanuel Gil Peyrot
2018-07-22text_buffer: Add typing information.Emmanuel Gil Peyrot
2018-07-21yapf -ripmathieui
2018-07-14Remove extraneous ", " in Message.__repr__.Emmanuel Gil Peyrot
2018-07-14Stop making classes inherit from object.Emmanuel Gil Peyrot
2018-01-10Fix typos, thanks `codespell`!Emmanuel Gil Peyrot
2017-12-27Do not show a message as bounced if it was acked by a clientmathieui
Fixes #3365
2017-11-12yapf -irmathieui
2016-10-04"information" is already plural, fix wordingmathieui
2016-06-30Absolute imports everywheremathieui
2016-06-27Make all relative imports explicit.Emmanuel Gil Peyrot
2016-06-11Make poezio.text_buffer more Cython-friendly.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-11Move the src directory to poezio, for better cython compatibility.Emmanuel Gil Peyrot