Florent Le Coz
266ba884e5
Make /w command better.
...
fix #2185
2012-12-15 19:51:07 +01:00
mathieui
4fe00ed069
Fix the '^?' characters appearing
2012-12-15 16:40:41 +01:00
Florent Le Coz
0190f9b017
In user lists, the upper line is now the upper most person.
...
This means you cannot scroll too high.
fix #2180
2012-12-15 04:33:20 +01:00
Florent Le Coz
b23e7751d2
Fix the position of the ++ indicator in muc user list when asc sort is in use.
...
fix #2181
2012-12-15 03:51:38 +01:00
Florent Le Coz
c7f4abaef6
Add support for /set <option> toggle, which toggles the current value
...
fix #2184
2012-12-15 03:28:06 +01:00
Florent Le Coz
786f0e7222
Introduce a special "reverse" value for the COLOR_HIGHLIGHT_NICK theme option.
...
If COLOR_HIGHLIGHT_NICK = "reverse", the highlight nick will be in reverse
mode.
fix #2165
2012-12-15 02:42:30 +01:00
Florent Le Coz
fb8295c05f
Do not use COLOR_HIGHLIGHT_NICK for things not related to highlighted nicks.
2012-12-15 02:05:21 +01:00
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
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
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
Florent Le Coz
7f7ec57f40
Add a add_space_after_completion bool option.
...
fix #2150
2012-11-06 18:02:31 +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
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
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