Commit graph

1655 commits

Author SHA1 Message Date
mathieui
5006b649d6 Prettify the /names command 2012-10-15 14:48:08 +02:00
mathieui
cbaa469298 Fix the number of connected contacts/total number in the roster 2012-10-15 14:32:08 +02:00
mathieui
6eac689993 Put back the “truc@chose.com is now online” messages 2012-10-15 14:27:10 +02:00
mathieui
8b50961de9 Fix a traceback on completion_version 2012-10-14 21:37:21 +02:00
mathieui
931835e22b Rename /connect to /reconnect and make it rostertab-only 2012-10-14 20:24:47 +02:00
mathieui
fd14f700b6 Update the XEP support list for XEP-0308 2012-10-14 19:47:58 +02:00
mathieui
15dea2f3e8 Also add the decorators module 2012-10-14 19:22:52 +02:00
mathieui
d0545fb021 Do not display "None" in the /self command 2012-10-14 19:20:51 +02:00
mathieui
de1f812809 Add decorators to handle refreshs more easily
(and fix one more issue with the refresh in the roster)
2012-10-14 19:20:46 +02:00
Florent Le Coz
442e24087a Add a space after a nick completion not at the start of the line. 2012-10-14 16:27:19 +00:00
Florent Le Coz
264f6c6c2f Do not quotify the status in /status command. 2012-10-14 16:27:15 +00:00
Florent Le Coz
ac7231db63 Correctly use MORE instead of PLUS. 2012-10-14 16:27:06 +00:00
mathieui
21caf36ea4 Fix a refresh issue on space in the roster 2012-10-14 15:42:55 +02:00
mathieui
25bb3501ec Should boost the roster speed
- use a generator instead of a listcomp
- don’t use a JID for the resource
2012-10-14 15:31:48 +02:00
mathieui
285c49a0d0 Fixes #2374 (Crash on " " in the MUC list)
- Also fixes arefresh issue (up&down keys didn’t refresh the win)
- Rework the style of the Columns a bit (was 2-spaces indent & trailing
  spaces)
2012-10-13 15:58:02 +02:00
mathieui
4638e7b7b5 Fixes #2376 (Only open one XMLTab)
- Also make Core.focus_tab_named take an optional type, and return a boolean
2012-10-13 15:33:32 +02:00
mathieui
1621aa9cfd Add a “debug” attribute to Core 2012-10-13 15:14:34 +02:00
mathieui
61bf29db8e Fixes #2380 (traceback on /invite) 2012-10-13 15:06:06 +02:00
Florent Le Coz
c9be8cbe7a Correctly rebuild the messages when we corrected one. And avoid code duplicates 2012-10-12 15:43:51 +00:00
Emmanuel Gil Peyrot
88da6869b4 When a message is corrected, display it correctly in place of the previous one. 2012-10-12 15:29:45 +00:00
Emmanuel Gil Peyrot
2e8fc00f8b Implement message correction. 2012-10-12 15:28:41 +00:00
Florent Le Coz
a6699a1404 Transform a char (\xf1) into what we meant (Ctrl+/, apparently).
If we try to send that, we get disconnected…
2012-10-09 06:07:28 +00:00
Florent Le Coz
b50acaae0b Send a real \t when pasting a text containing tabs. 2012-10-09 06:00:43 +00:00
Florent Le Coz
c9a244ceb0 Refresh less often when entering text. 2012-10-09 05:05:06 +00:00
Florent Le Coz
653695498a Separate special keys from normal chars when receving a batch of chars.
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-09 04:35:02 +00:00
Florent Le Coz
4965ee1618 Fix the shebang. 2012-10-05 14:58:09 +00:00
Florent Le Coz
5c493111fc Fix the 2 .sh scripts shebang to /bin/sh. 2012-10-03 23:51:05 +02:00
Florent Le Coz
30f38f6002 Fix update.sh again, for bsd(re)tar(d). 2012-10-02 23:02:27 +02:00
Florent Le Coz
cf470cec74 update.sh: fix the tar arguments to work with bsdtar as well. 2012-10-02 22:58:39 +02:00
Florent Le Coz
844eb18378 Revert "Add a tab-specific “ignore_changes” option"
This reverts commit c66ec81c45.
2012-10-02 13:18:19 +02:00
mathieui
c66ec81c45 Add a tab-specific “ignore_changes” option
- The documentation is included in the commit
2012-09-30 15:03:54 +02:00
mathieui
e480d8418a Prevent special keys to appear in the input when lagging 2012-09-27 19:48:28 +02:00
mathieui
020e6478e3 Fix the bug of Alt-e (go to important room) 2012-09-27 19:08:59 +02:00
mathieui
8921fea38f Add (still incomplete) documentation on /move_tab 2012-09-26 02:23:03 +02:00
mathieui
7ba3075516 Add a /move_tab command
And break it down into understandable functions
2012-09-26 02:20:21 +02:00
mathieui
09ff076bc4 Rewrite the tab number handling
- 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-26 01:54:20 +02:00
mathieui
0bd55a27f2 Fix TBs when the system is not in utf-8 by default
(force every file opening to be with the utf-8 encoding)
2012-09-13 09:50:48 +02:00
mathieui
c2828cdd29 Make the toggle left pane permanent
previously, the change wasn’t saved
2012-09-13 09:50:48 +02:00
Florent Le Coz
ea96c40f66 An history_length of 0 was ignored (and the default length would be received) 2012-09-02 14:18:11 +02:00
Johannes Krude
affdcb07b4 added muc_history_length support 2012-09-02 14:06:04 +02:00
Florent Le Coz
bf29554121 Add a <body xmlns='http://www.w3.org/1999/xhtml'/> element on /xhtml command
Because not having that element is not allowed by the xhtml-im XEP, poezio
should put that by default.
2012-09-01 08:47:41 +02:00
mathieui
e2a62bbbe7 Give an empty name to a group if it hasn’t got one 2012-08-31 23:06:46 +02:00
mathieui
84887d17af Fix a traceback when a group has no name and a crash when dns gets interrupted
- http://pastebin.archlinux.fr/449676
2012-08-31 22:41:36 +02:00
mathieui
2c95177fbe Update CHANGELOG 2012-08-24 20:19:37 +02:00
mathieui
9fec124250 Fix yet another bunch of potential tracebacks
(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-08 23:59:00 +02:00
mathieui
e8dce570ea Take care of the race condition "node@groupchat_server is now online/offline"
- get rid of the ugly blacklist thing that didn’t work sometimes
2012-08-07 11:05:28 +02:00
mathieui
7a485ef4d0 Add a common.safeJID function, and use it everywhere 2012-08-06 15:38:09 +02:00
mathieui
a14141bcec Make optparse work 2012-08-06 15:07:38 +02:00
mathieui
100994df28 Add a fallback to optparse if argparse is not found 2012-08-06 15:01:39 +02:00
mathieui
5692a0278b Should fix most tracebacks due to the new sleek version
(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-05 21:06:13 +02:00