Commit graph

2121 commits

Author SHA1 Message Date
mathieui
a1c3d0dcdf Fix #2151 (cannot reload the OTR plugin)
We were using the deprecated imp methods, now we use importlib
2012-11-17 23:03:38 +01:00
mathieui
ac806cbb41 Fix the history numbers when re-joining a room
the <history/> element had a xmlns="" instead of the proper namespace.
2012-11-17 19:17:02 +01:00
mathieui
6781f67e80 Preload history into discussion windows (à la mcabber)
- New option load_log defaulting to 200 to indicate the number of lines
  to be loaded
- It’s still very raw, and the format of the message does not match the
  format of the normal room history, for example
- Works in the Private chat, MUC, and Conversation tabs

Thanks to labedz <github@labedz.org> for the original code
2012-11-11 16:01:53 +01:00
mathieui
844392a69a Fix urls in the README 2012-11-11 01:23:55 +01:00
Florent Le Coz
7f7ec57f40 Add a add_space_after_completion bool option.
fix #2150
2012-11-06 18:02:31 +00:00
Florent Le Coz
356211699d Revert "Empty commit, just to see."
This reverts commit cae686760c.
2012-11-05 15:15:09 +00:00
Florent Le Coz
be64b18b2f Display an error and don’t send the message if gpg failed to encrypt a message. 2012-11-05 15:03:20 +00:00
Florent Le Coz
cae686760c Empty commit, just to see. 2012-11-05 15:03:20 +00:00
mathieui
bced0daa16 Fix the completion for /info 2012-11-05 15:00:15 +01:00
mathieui
743ec0f135 Fix a traceback when opening a conversation with a resource from the roster 2012-11-05 14:11:53 +01:00
Florent Le Coz
bcd6976cd5 Catch IqTimeout exception when removing a contact from the roster. 2012-11-05 13:54:02 +00:00
Florent Le Coz
828938db9e Update the doc about xhtml-im. 2012-10-28 20:11:45 +00:00
Florent Le Coz
9c14d35a58 Add a little sentence in the doc. 2012-10-23 01:05:35 +00:00
Florent Le Coz
a536c1dc4f Make the Executor class reliable.
Plugins do not need to escape the command arguments or remove the line
breaks and care about how the will get parsed anymore, they just need to
pass a list of args.

Do not spawn an additional shell, for more clarity, simplicity and possibly
security.
2012-10-22 17:14:21 +02:00
mathieui
36c02ef058 Fix a refresh issue with /message 2012-10-15 19:56:15 +02:00
mathieui
59df2d3e94 Fixes #2368 (/join /nick not working) 2012-10-15 15:28:59 +02:00
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