summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2014-04-12Fix #2503/4 (use “.” as an alias for the current tab in /move_tab)mathieui
2014-04-12Only highlight the nick if it is not inside a wordmathieui
thanks gio
2014-04-11Fix #2428 (complete fulljids on /version in MUCs)mathieui
also clean up some newlines mess
2014-04-11Fix #2421 (load and unload several plugins)mathieui
2014-04-11Do not traceback when unable to read the config filemathieui
2014-04-09Fix #2497/#2498 (/theme should return an error when loading fails)mathieui
It was actually doing that for old python version but not recent onces
2014-04-09Actually fix that bookmarks typo bugmathieui
2014-04-08Fix a forgotten "self." that caused alt+k to tracebackFlorent Le Coz
2014-04-07Fix #2354 (logs are badly colored with xhtml history)mathieui
- now it should work properly - add a COLOR_LOG_MSG theming option, used both for local and remote history
2014-04-06fix a wrong naming in the previous commitmathieui