summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-04-30Add a 'tab_change' eventmathieui
2014-04-30Fix #2447 (OTR & HTML) -- partial WONTFIXmathieui
- 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)
2014-04-30Fix #2510 (link displayed twice in xhtml-im)mathieui
- also, fix the /xhtml command that was nesting one <body/> too many
2014-04-29Do not ask for receipts in messages without a bodymathieui
2014-04-29Fix a traceback in /topic (with no argument)mathieui
2014-04-29Fix most UI issues with introduced in 0caf941mathieui
2014-04-29Add the size manager (forgotten in the previous commits)mathieui
2014-04-28Update CHANGELOGmathieui
(also, fix a traceback-typo)
2014-04-28Make the size modular, remove small-size lock (also seems to fix #2155)mathieui
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…
2014-04-28Don’t escape backslashes unless we are inside a quoted string and the next ↵mathieui
char is a quote Sadly, we can’t doctest stuff with backslashes because it drives doctest crazy.
2014-04-27Provide our own wrapper for checking the host category (ref #2511?)mathieui
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.
2014-04-27Fix memleaks in pooptmodule.cut_text (ref #1914)mathieui
- 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)
2014-04-27Fix #2106 (implement message delivery receipts)mathieui
- 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
2014-04-27Fix weird behavior while using the input in the muclisttabmathieui
2014-04-27Fix a resize issue when vertical tab list options are set from the rostermathieui
2014-04-2680-columns wrap for MucTab and fix some completionsmathieui
- fix the /version completion with spaces - fix the /unignore completion with spaces
2014-04-26Document /recolor random with /help toomathieui
2014-04-26Fix #2514 (add a /toggle command)mathieui
2014-04-26Fix #2444 (implement room destroy)mathieui
- 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)
2014-04-26Fix the nickname of server-generated messagesmathieui
2014-04-26Disable 0198 for now because we will properly implement it latermathieui
2014-04-25Fix #2516 (display error with carbons)mathieui
- fix the bug where messages from our own jid were incorrectly displayed - the nick is now fixed for the whole conversation
2014-04-24Fix a traceback when sorting a listwinmathieui
2014-04-24Improve src/theming.py (print the colors and do not pollute the terminal)mathieui
2014-04-24Update the themes dir during execution, and not at module levelmathieui
2014-04-24Make keyboard.py a bit nicer to usemathieui
2014-04-24Fix a bug in the config._parse_file function (traceback when parsing empty ↵mathieui
files)
2014-04-23Wrap yet another curses operation with a lockmathieui
2014-04-23Fix #2450 (redraw top-scrolled tabs properly after resize)mathieui
2014-04-22Map Config.remove_and_save to PluginConfig.removemathieui
2014-04-22Add a way to remove options from the config filemathieui
(still surgically, without touching comments or anything else)
2014-04-2280-columns wrapping and some docstringsmathieui
also bump version, and add some gettext wraps
2014-04-22Close the file descriptor of the fifo on closingmathieui
(also, it indeed needs to be a thread because opening a fifo for reading is a blocking operation)
2014-04-21Split the config.write_in_file method to be more modular and cleanermathieui
Will also allow a remove_in_file or whatever to remove options instead of blanking them.
2014-04-20Log exit from signals to the error logmathieui
(SIGTERM, SIGHUP, and SIGPIPE for now)
2014-04-19Keep a file descriptor reading the fifo instead of just opening and closing itmathieui
should take care of the sigpipe when no one is reading it anymore due to broken connection
2014-04-18Same formatting changes in core.commandsmathieui
2014-04-18Mostly line-wrap at 80 chars and add docstringsmathieui
- 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
2014-04-18Fix #2297 (crash after resize)mathieui
wrap some curses calls with try/except block
2014-04-17Do not lock on the “composing” chat state with otrmathieui
might send too many stanzas when send_chat_states is false, but I don’t care.
2014-04-17Log part messages and show a leave message on /cyclemathieui
2014-04-16Change the formatting of join/part messagesmathieui
also remove some hardcoded stuff
2014-04-15Fix #2440 (highlight composing tabs)mathieui
- add a show_composing_tabs option, default value: "direct" - todo: find a nice different color for this
2014-04-14Fix the color of the message with /partmathieui
(it now uses the theme)
2014-04-14Implement XEP-0249 (Direct MUC Invitations)mathieui
- fallback to mediated invitations if only the bare jid is given to the command or if the jid does not advertise support TODO: provide a way to send passwords
2014-04-14Fix #2422 (traceback in input) (also #2431)mathieui
now the scroll is made with 1/3 of the input size every time instead of fixed offsets
2014-04-14Fix #2339 (put the more “important” users at the bottom in the userlist ↵mathieui
when configured) (one-line fix, and the others are for reformatting imports to be consistent)
2014-04-13Do not load a plugin if its init() tracebackmathieui
and show a somehow helpful error message in this case
2014-04-13Do not show the plugin unload on exitmathieui
2014-04-13Remove module-level code from the plugin manager as wellmathieui