summaryrefslogtreecommitdiff
path: root/poezio/windows
AgeCommit message (Collapse)Author
2021-07-02fix: improve typingmathieui
preliminary to more typing added to slixmpp, fix things in advance
2021-05-25Fix: do not scroll right by default in dataforms/bookmark textmathieui
Seeing "…@muc.example.com" instead of "toto@muc.…" is not really helpful, especially in bookmarks.
2021-04-16fix: take newlines into account when completing stuffmathieui
fixes #3385
2021-04-16fix: take newlines into account in input manipulationmathieui
fix #3411
2021-04-16fix: pasting text in data forms and bookmarkstabmathieui
Fix #3519
2021-04-16fix: composing indicators not showing (fix #3527)mathieui
the fact this even worked in vertical mode was only due to a theming edge case.
2021-04-15fix: display issue when changing show_timestamps valuemathieui
2021-04-12fix: remove all remaining safejids (fix #3457)mathieui
2021-04-02fix: add a type ignore to curses vlinemathieui
The typeshed stubs do not have a correct definition (probably because the python docs themselves do not have it)
2021-04-02fix: ignore type error for static kwargsmathieui
2021-04-02fix: do not use raw TAB_WIN in bookmarks winsmathieui
(wth)
2021-04-02fix: windows: drop the DummyWimathieui
now TAB_WIN must be set for a Win to be instanciated
2021-04-02fix: tons of type errorsmathieui
2021-04-02refactor: rewrite config.get() to getbool, getstr, getint…mathieui
2021-02-09Remove activity/mood/gaming/tune from poezio coremathieui
rationale: probably 0.1% of poezio users have ever used the commands, and a very small number of users are using the PEP events like that. It is better to unclutter the poezio source and add it as a plugin, with less tight coupling.
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-07-24windows/info_bar: Prevent UnboundLocalError. Thanks genofireMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2020-06-01mypy: Reduce errors on muctab.py by a lotmathieui
2020-05-28Properly refresh the bookmarks method in the bookmarks tabmathieui
… … …
2020-05-23Remove "top" message logicmathieui
2020-05-17Fix a corner case with correction when moving between highlightsmathieui
(there are still a few but this one would wipe all other highlights, making it a bit painful)
2020-05-17Fix highlight navigationmathieui
2020-05-17Fix highlights colormathieui
2020-05-12Add option to show only the unique prefix of tab namesJonas Schäfer
When the set of tabs used fluctuate, the memory of which number belongs to which chat becomes difficult to work with. Non-numbers can be used to navigate tabs with `/win`, however, it is difficult to know which letters are required to select a certain tab. This option introduces a display mode for tab names where only the unique prefix of the tab name is shown, saving space and providing with a minimal string which can be used with `/win`.
2020-05-09Fix a bug in message editionmathieui
(out of bounds access for no reason)
2020-05-09Typing improvementsmathieui
2020-05-09Only keep one TextWin alivemathieui
2020-05-09Rewrite part of the message handling/renderingmathieui
2020-05-09Add a context manager in Win for colored textmathieui
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
2019-10-27Disable pylint on lines dedicated to mypymathieui
Pylint doesn’t read the typeshed.
2019-10-27Type curses windowsmathieui
2019-10-26Fix #3511 (fix traceback on first bookmark added)mathieui
2019-10-18Fix pylint errorsmathieui
- wrong command path - pylint bug regarding slots
2019-10-13windows/bookmark_forms: Convert JID objects to str so that comparison succeedsMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-08-23Add missing top parameter to another build_new_message methodMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
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-22Changed type of history to 'booleanMadhur Garg
2019-08-22Added function to build messages and add them on the topMadhur Garg
2019-05-28Also skip librsvg import on AttributeErrorEmmanuel Gil Peyrot
In the case python-gobject isn’t installed, but another package (such as libibus) provides overrides, the gi module will still get imported fine despite being empty, resulting in a traceback. To prevent this, we also catch AttributeError so that gi.require_version can fail.
2019-04-21doc: Fix scroll_to_separator description.Emmanuel Gil Peyrot
2019-04-08Revert work on tabs module to change tab.name to JID.Maxime “pep” Buquet
This reverts commits: d693479d05f1ada999c0e29a9d9e2f021dd59e50 2d0cc092fcd154b2d14be0c5ac0ff338607824a0 89a61b84bdb29d3df8c08436c3484fddba8d2ef1 8194d9afbdec2daa1377e07ebb26bb99406473d0 e256c31875c8b67d85fe30d3e2c14c896066657a a21335ac171a827a613dcce744898e822689c9d3 c96e528a8fd1313f75cb792a8e4826fbcfde1bec 0551867bfdb8dfa7dbd5964a15a1a950510e2c71 6ab49c188a6e5bb95773165f0bdbd672b41c8c81
2019-04-08PrivateInfoWin: remove safeJID callMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-04-08MucInfoWin: fix room name typeMaxime “pep” Buquet
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-03-19Fix various spelling mistakes throughout the codeKim Alvefur
2019-01-25Render SVG avatars directly at the final resolution.Emmanuel Gil Peyrot
2019-01-24Add a stub Image class, to let poezio run even when Pillow isn’t installed.Emmanuel Gil Peyrot
2019-01-24AvatarWin: Add SVG support.Emmanuel Gil Peyrot
2019-01-22Fix syntax errors in the previous commit.Emmanuel Gil Peyrot