summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-10-13Fixes #2376 (Only open one XMLTab)mathieui
- Also make Core.focus_tab_named take an optional type, and return a boolean
2012-10-13Add a “debug” attribute to Coremathieui
2012-10-13Fixes #2380 (traceback on /invite)mathieui
2012-10-12Correctly rebuild the messages when we corrected one. And avoid code duplicatesFlorent Le Coz
2012-10-12When a message is corrected, display it correctly in place of the previous one.Emmanuel Gil Peyrot
2012-10-12Implement message correction.Emmanuel Gil Peyrot
2012-10-09Transform a char (\xf1) into what we meant (Ctrl+/, apparently).Florent Le Coz
If we try to send that, we get disconnected…
2012-10-09Send a real \t when pasting a text containing tabs.Florent Le Coz
2012-10-09Refresh less often when entering text.Florent Le Coz
2012-10-09Separate special keys from normal chars when receving a batch of chars.Florent Le Coz
In case of lags or paste of text, the input can yield a list of chars instead of just one char. In case of lags, keyboard special keys (KEY_BACKSPACE, ^W, etc) are mixed with other “normal” chars ('a', 'b', 'D', ' ' etc). Instead of handling that whole batch in one go (which requires us to ignore all the special keys, otherwise they would be displayed in the input, which are both bad ways to handle that), we separate special keys from the normal ones, and we handle that big batch as one or more smaller batches. This should make the input behave correctly in case of lag AND in case of paste of huge text (only one refresh per batch, respond instantly, no key lost or ignored, etc) fixed #2365
2012-10-02Revert "Add a tab-specific “ignore_changes” option"Florent Le Coz
This reverts commit c66ec81c4530a806b0aacc2933f6493cdcbbfc82.
2012-09-30Add a tab-specific “ignore_changes” optionmathieui
- The documentation is included in the commit
2012-09-27Prevent special keys to appear in the input when laggingmathieui
2012-09-27Fix the bug of Alt-e (go to important room)mathieui
2012-09-26Add a /move_tab commandmathieui
And break it down into understandable functions
2012-09-26Rewrite the tab number handlingmathieui
- Now the tab number is computed instead of assigned and fixed - Added tabs.GapTab to keep the old behaviour - Added a create_gaps option, defaults to true (may change in the future) - If there are gaps before using /set to change the option to false, they will be removed. (this is a preparation for the move_tab command)
2012-09-13Fix TBs when the system is not in utf-8 by defaultmathieui
(force every file opening to be with the utf-8 encoding)
2012-09-13Make the toggle left pane permanentmathieui
previously, the change wasn’t saved
2012-09-02An history_length of 0 was ignored (and the default length would be received)Florent Le Coz
2012-09-02added muc_history_length supportJohannes Krude
2012-09-01Add a <body xmlns='http://www.w3.org/1999/xhtml'/> element on /xhtml commandFlorent Le Coz
Because not having that element is not allowed by the xhtml-im XEP, poezio should put that by default.
2012-08-31Give an empty name to a group if it hasn’t got onemathieui
2012-08-31Fix a traceback when a group has no name and a crash when dns gets interruptedmathieui
- http://pastebin.archlinux.fr/449676
2012-08-08Fix yet another bunch of potential tracebacksmathieui
(notably, the /message one) All JID calls in poezio’s code were already covered, but sleekxmpp does that, too, so each jid given to sleek must be validated, otherwise an unwanted exception may occur.
2012-08-07Take care of the race condition "node@groupchat_server is now online/offline"mathieui
- get rid of the ugly blacklist thing that didn’t work sometimes
2012-08-06Add a common.safeJID function, and use it everywheremathieui
2012-08-06Make optparse workmathieui
2012-08-06Add a fallback to optparse if argparse is not foundmathieui
2012-08-05Should fix most tracebacks due to the new sleek versionmathieui
(sleekxmpp added JID validation, which means that JID(something) now raises an exception if the jid is invalid, instead of failing silently and having JID('') as a default)
2012-08-05Add a filter_info_messages optionmathieui
- This option takes a list of words separated by colons - All the messages containing those words will not be shown
2012-08-05Use the revision/date for the poezio version if a .git is foundmathieui
2012-08-05Move from optparse (deprecated) to argparsemathieui
2012-08-03Do not set last activity when sending a stanza because it makes no sensemathieui
2012-08-02Fix a traceback due to a missing '%'mathieui
2012-08-02Implement XEP-0012 (last activity) ; Fixes #1870mathieui
- Add a /activity command - Load xep_0012 on start - Add a 'l' shortcut in the roster to get the last activity - Using "/activity" in a direct conversation will add a message in the conversation, and not in the info buffer.
2012-08-02Add simple communication blocking (Fixes #1837)mathieui
- Add /block, /unblock, and /list_blocks commands - Enable the commands only if the server advertises the feature - http://xmpp.org/extensions/xep-0191.html#example-9 was not tested, but should work (could not find a server to test with) - Add documentation for the commands
2012-08-01Do not generate invalid jids (e.g. localpart@domainpart/)mathieui
This is in prevision of a sleekxmpp update with JID validation. Also, comment the “server” option in the config file a bit better.
2012-08-01Sort resources from highest priority to lowestmathieui
- Previously it was from lowest to highest - Add the “Priority:” info to the “i” key in the roster
2012-08-01Various changes to the roster sortingmathieui
- Change the separator from _ to : - Move the functions away in another module to avoir cluttering the roster code - Add a case-sensitive sort (“sname”)
2012-08-01Add an "online" contact sorting methodmathieui
- put the online contacts at the beginning of the list - allows, e.g. jid_reverse_online_reverse, to put offline contacts at the start of the group, in alphabetical order
2012-08-01Sort the unavailable contacts at the end of the contact listmathieui
2012-08-01Add a roster_group_sort option, which works like roster_sortmathieui
- defaults to "name" (sort by group name) - document it - also, micro-optimize get_nb_connected_contacts()
2012-07-31Add a roster_sort option to sort the contacts inside the roster groupsmathieui
- defaults to jid_show (which means that they are sorted into sub-groups by show and are sorted by JID inside those) - See the default config file or the documentation for details
2012-07-31Also sort the contacts alphabeticallymathieui
Contacts are first sorted alphabetically, and then sorted again depending on their show; since the python sorts are stable, the order will remain and the sub-groups (corresponding to one show type) will be sorted alphabetically too.
2012-07-31Sort the contacts in the roster groups by show (xa/away/…)mathieui
2012-07-31Make the autorejoin option work with bans, too, and fix the documentationmathieui
2012-07-30Add an autorejoin_delay optionmathieui
- document it - works in per-tab config too
2012-07-29/bind with only one argument now resets the bindingmathieui
2012-07-29Implement the sending of underlined text in xhtml-im messages (C-c u).Florent Le Coz
Note that a portion of text can NOT have a color AND be underlined at the same time, but it's not really tragic (see comment in source code).
2012-07-27Fix get_conversation_by_jid when a string is passed.Florent Le Coz