Commit graph

1789 commits

Author SHA1 Message Date
Florent Le Coz
0ef9d3594b Use get_wch() if available, otherwise use the old (maybe buggy) method.
This makes it possible to read the ctrl+arrows keys with python3.3, assign
ctrl+left/right to next/previous tab, in the default config.
2012-12-14 04:21:17 +01:00
Łabędź
1835d36495 bugfix: count roster list length by real listed item and not count filtered items
bugfix: use cache table of roster (created on every refresh) to get selected row object,
        fixing bad row selecting when jumping over group (was changing pos variable and
        not selected_row while moving to next contact after group)
2012-12-13 22:03:36 +01:00
Florent Le Coz
0bf26e128a And add the show_timestamps into the changelog file. 2012-12-07 23:46:18 +01:00
Florent Le Coz
50cb70a6cb Add max_nick_length option into the documention page. 2012-12-07 23:39:49 +01:00
Florent Le Coz
e2592f5cdf Add a new show_timestamps option to hide/show timestamps in text buffers. 2012-12-07 23:39:49 +01:00
mathieui
59be8bdd62 Sort items in /help 2012-12-05 19:40:05 +01:00
Florent Le Coz
14cb5128b3 Fix a typo in the default conf 2012-11-30 15:14:47 +01:00
Florent Le Coz
7b9ee9cdb7 Force a resize of the interface whenever we /set something.
This avoid some garbage on the screen when we set an option that changes the
behaviour of the UI.
2012-11-30 15:14:47 +01:00
Florent Le Coz
5bfbbb2c24 Add a hide_user_lits option that does what it says.
fix #2170
2012-11-30 15:14:47 +01:00
Florent Le Coz
5db9144303 Fix a byte value in the utf-8 decoding in poopt. 2012-11-30 15:14:21 +01:00
mathieui
9e0fe54a49 Fix the timedelta for python 3.1 2012-11-23 09:01:35 +01:00
mathieui
ba569630f7 Revert "Fix #2151 (cannot reload the OTR plugin)"
Importlib is utterly broken in python < 3.3, So revert for now

This reverts commit a1c3d0dcdf.

Conflicts:
	src/plugin_manager.py
2012-11-22 20:16:16 +01:00
mathieui
25de0663bc Fix the slow search 2012-11-22 00:56:42 +01:00
mathieui
4a7e08f1c2 Make the search usable again
- Disable the history when searching
- → allow moving the cursor around to select a contact when searching
- fix refresh issues
2012-11-22 00:29:44 +01:00
mathieui
d3e1f8085e Hack to make importlib work on python < 3.3 2012-11-21 23:30:59 +01:00
mathieui
70d389ade7 Fix #2154 2012-11-18 18:08:03 +01:00
mathieui
d8b12a35df For some reasons, importlib.machinery does not work on some platforms 2012-11-18 13:46:50 +01:00
mathieui
27b7219b79 Changes to the plugin_dir option are now taken into account on runtime 2012-11-17 23:06:21 +01:00
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