Age | Commit message (Collapse) | Author |
|
|
|
- Guess-parse the OTR messages in search for xhtml upon arrival
- add a configurable option to decode it or not
- We have XHTML-IM for a reason, and therefore we will *not* implement a
full html parser for clients that dump whatever formatting inside the
OTR payload (looking at you, pidgin)
|
|
- also, fix the /xhtml command that was nesting one <body/> too many
|
|
|
|
|
|
|
|
|
|
(also, fix a traceback-typo)
|
|
some stuff is now hidden wen the window size gets too small (might need
some adjustments). The info buffer in the roster tab, the userlist in
mucs, the vertical tab list, the info buffer everywhere, etc…
|
|
char is a quote
Sadly, we can’t doctest stuff with backslashes because it drives doctest
crazy.
|
|
xmpp.plugin['xep_0030'].has_identity appears to be unreliable at best,
so we provide our own.
Might help the case of carbons not displayed.
|
|
- we need to decrement the refcount after giving the tuple to the
retlist in order to transfer ownership
The example script below will quickly take gigabytes of ram with the
old module, while the new will not take noticeably more memory.
The leak is not very visible on launch, because we “only” leaked each
tuple returned, and (int, int) is not heavy. However, after weeks of
use and many messages, the memory still isn’t freed and it shows.
import poopt
import gc
a = 'coucouco ' * 1000
for i in range(100000):
if not (i % 10000):
print(i)
poopt.cut_text(a, 50)
|
|
- two options request/ack_message_receipts
- two new theme parameters : CHAR_ACK_RECEIVED and COLOR_CHAR_ACK
- if a message has a receipt, the character is displayed between the
timestamp and the nick, using the color
|
|
|
|
|
|
- fix the /version completion with spaces
- fix the /unignore completion with spaces
|
|
|
|
|
|
- destroy the current room if no parameter
- destroy the room given as a parameter if any
- no reason or alt room because it would be ambiguous in a command
(implementation ideas welcome)
|
|
|
|
|
|
- fix the bug where messages from our own jid were incorrectly displayed
- the nick is now fixed for the whole conversation
|
|
|
|
|
|
|
|
|
|
|
|
files)
|
|
remove a duplicate section, typos & stuff
|
|
- add some formatting and links (also, typos)
- link the Theme class from the theming page
|
|
|
|
|
|
- use the new PluginConfig.remove method to remove aliases
- do not do weird stuff when no args are provided
- do not flood when re-creating stored aliases
|
|
|
|
(still surgically, without touching comments or anything else)
|
|
also bump version, and add some gettext wraps
|
|
(also, it indeed needs to be a thread because opening
a fifo for reading is a blocking operation)
|
|
Will also allow a remove_in_file or whatever to remove options instead
of blanking them.
|
|
(SIGTERM, SIGHUP, and SIGPIPE for now)
|
|
TODO: implement the remove_option method from configparser
|
|
should take care of the sigpipe when no one is reading it anymore due to
broken connection
|
|
|
|
- also fix some erroneous comment(s)
- remove self.background which wasn’t set to something other than false
- fix the chatroom address (and the doc) in the first help message
|
|
wrap some curses calls with try/except block
|
|
might send too many stanzas when send_chat_states is false, but I don’t
care.
|
|
|
|
also remove some hardcoded stuff
|
|
and sets the default value to false, to keep coherent with the code.
|
|
- add a show_composing_tabs option, default value: "direct"
- todo: find a nice different color for this
|
|
(it now uses the theme)
|