Commit graph

460 commits

Author SHA1 Message Date
Florent Le Coz
1a44819269 Also, fix C-w 2011-01-12 07:18:17 +01:00
Florent Le Coz
fce9a60f9a Fix M-b and M-f, fixed #2102 2011-01-12 07:13:02 +01:00
Florent Le Coz
469bbd2900 /add and /remove commands, yay 2011-01-12 06:49:33 +01:00
Florent Le Coz
e016305c2b And fix the on_enter again (for commands) 2011-01-11 19:56:40 +01:00
Florent Le Coz
a8630190fd Avoid traceback on Enter in ChatTabs 2011-01-11 19:50:47 +01:00
Florent Le Coz
26b38c8107 Limit nick size to the user list width 2011-01-11 13:42:14 +01:00
Florent Le Coz
749933fc16 /accept and /deny commands
User can now decide to accept or deny a subscription, in
the roster
2011-01-11 06:43:31 +01:00
Florent Le Coz
6bb94cdf0b Displays the subscription and Ask states in the roster 2011-01-11 03:41:06 +01:00
Florent Le Coz
f7102ae33d And also that 2011-01-11 02:53:45 +01:00
Florent Le Coz
6b3fdec468 Fix // on roster 2011-01-11 02:52:00 +01:00
Florent Le Coz
5d4b0a9e2b Move the Contact Window in the left part of the roster tab 2011-01-11 02:49:43 +01:00
Florent Le Coz
9a81b923e6 Do not automatically reconnect. Ever 2011-01-10 19:28:17 +01:00
Florent Le Coz
63d2b8f06f Avoid traceback on text_win refresh 2011-01-10 18:59:34 +01:00
Florent Le Coz
97ee65fcb8 use fast search by default (s), and possibly use slow search (S) 2011-01-10 18:54:21 +01:00
Florent Le Coz
cb96bf4280 Handle correctly disconnections
When we are disconnected from the server and we reconnect,
do not reopen the MUCs in double.
2011-01-10 17:40:07 +01:00
Florent Le Coz
8e7b678506 Fix an error in textwin.refresh
a \n was added when the line was exactly the same width as the
window, so the next nick was one line too low
2011-01-10 17:24:37 +01:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1e17eeb7ea avoid a traceback on subject, whatever 2011-01-09 15:34:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
02a805679c remove the separator when it is at the bottom (unles the user maid M-v) 2011-01-09 02:23:04 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
3ef50faf76 Handle subject with no nick. And avoid duplicates 2011-01-09 01:54:36 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cfc3309009 restaure software version and local time 2011-01-09 00:09:51 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
8017b2d9f1 Handle authentication and connection errors. fixed #1994 2011-01-08 23:20:27 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
af651cbc46 MessageInput now have a 'draft' option. When you're typing a new message, ↑ and ↓ will keep the unfinished (and unsent) message in the history. fixed #1852 2011-01-06 20:46:38 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c2344d0d33 Fix input history, and avoid consecutive duplicates. fixed #1851 2011-01-06 19:57:31 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
850bde1655 remove useless debug 2011-01-05 14:19:17 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2c840b6bf8 correctly refresh the screen on got_offline/online 2011-01-05 02:02:53 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
828ed2991b also displays a message in ConversationTabs when a resource goes online 2011-01-05 01:59:26 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
98c32b05e8 same thing, but nicer code 2011-01-05 01:46:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1f2959d96e correctly displays a message in ConversationTabs when a resource goes offline 2011-01-05 01:41:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
6de2673c8f fix ConversationTab's nicks when a contact has no name 2011-01-05 01:14:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
4ace901909 fix the refresh of textwin when there's no message yet 2011-01-05 01:06:25 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2e285cf426 fix a crash on resize of size 0×0 2011-01-05 00:28:26 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
073972a5c0 ask for NO history message when using /cycle 2011-01-04 03:36:04 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
81e71fee30 use the argument of /cycle as the part message 2011-01-04 03:08:44 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ea7fe6bb96 /cycle command 2011-01-04 03:05:49 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a1b609e0c4 displays message in ConversationTabs when a resource goes offline 2011-01-04 02:59:42 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
59195ffaff display the 'nickname' instead of the JID 2011-01-03 15:07:32 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ab85a3dc21 fix the log of MUC messages in files 2011-01-02 16:58:40 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c29cc8b15f also fix /join completion (using xep 30), and add a timeout 2011-01-02 16:00:47 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1135716518 fix /list with new SleekXMPP xep_0030 version. Also add some error handling and a '(loading)' information while waiting for the answer 2011-01-02 15:50:01 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
15f7340661 fixed #1901 Alt-U and Alt-Y scrolls the participant-list in MUCs 2011-01-01 15:37:35 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ea3e606d47 fix /recolor with the new nick_color method 2011-01-01 14:47:29 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d712d2e1c9 update copyright date 2011-01-01 13:27:07 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
94f44a5254 show_inactive_tabs lets the other chose if she wants to display ALL tabs or just those with activity 2011-01-01 13:17:54 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
61245f40eb fix InfoTab, fixed #2087 2010-12-31 13:05:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c3597c4257 use the theme color 2010-12-31 11:31:09 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
b815cbf055 fix some stuff, maybe 2010-12-31 11:23:56 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
3b2d28e6ee remote nickname is colored in ConversationTab 2010-12-31 10:52:15 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
9f4474be20 fixed #2072, fix TextWin refresh 2010-12-26 21:44:49 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cdb8128d32 fixed #1988 Traceback handler 2010-12-26 20:51:14 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
133cda1912 fix a traceback 2010-12-22 01:03:55 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cb9ec92655 little fix 2010-12-21 07:02:22 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
dc7910570c improve performances a little more. And avoid a very rare crash, too 2010-12-21 06:28:35 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ac3e0f7099 datetime.strftime seems (according to cProfile) to be VERY slow. Improve the refresh performances by reducing A LOT the number of call of this method 2010-12-21 05:43:57 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
1c923fcdcc hop, fixed #2068 2010-12-18 18:54:55 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c7b021c55d stupid… 2010-12-17 21:09:37 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
acd047863c ^L now works 2010-12-17 21:06:59 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
e07f631609 fix the Enter key on roster search 2010-12-17 18:58:07 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a41b036155 Also catch errors on config save 2010-12-17 14:48:31 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c7515605a7 correctly differentiate private and normal messages 2010-12-17 14:47:18 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
80a1fac0fe syntax 2010-12-17 14:40:08 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
e6afe9d691 fix typo and catch NoSectionError in config 2010-12-17 14:39:44 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c77842e1be fixed #1892 save folded rosters and info_win_height in the config file 2010-12-17 14:36:14 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a13d768e0d config file can now have various section 2010-12-15 22:24:48 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
56dee2c7ee fix the issue of first private message received 2010-12-15 22:13:38 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
23aa5542b2 fixed #2037 2010-12-15 21:21:33 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
7401c8ba57 do not complete our own nickname. fixed #2061 2010-12-15 19:32:51 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
289f5e65b8 fixed #2058 2010-12-15 17:26:34 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c38cb65080 fix print_scroll_position for private and conversation tabs 2010-12-15 17:15:46 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
883c0ec812 fix the /recolor command 2010-12-15 17:05:52 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ff24960b6a fix the ---- that I just broke 2010-12-15 16:10:53 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0db8bf7d46 HUGE performance improvement on refresh. fixed #1855 2010-12-15 15:40:43 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
24d6894b64 enter in MucListTab does like 'j' 2010-12-07 19:45:08 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
190fc0a1f7 fix 'j' on MucListTab when row number 0 is selected 2010-12-07 19:37:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
9671db5980 fixed #2036 (ctrl+l) 2010-12-07 16:37:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
62427ff401 (link mauve) fixed #2041 use JID class everywhere 2010-12-07 16:31:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d837ce2381 /list command, can join the room with J (cannot sort, search or filter yet, and lacks some information) 2010-12-07 16:20:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2b58f653b7 fix default config path 2010-12-06 19:17:12 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a96188385f can now complete with NOTHING in the node 2010-11-29 18:54:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cbcec6a798 completion of the jid's node when doing /join ro@some.server.fr/[TAB](it completes the 'ro' part \o/. Also a begining of /list command, but that does nothing 2010-11-29 18:36:54 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
69e335c0ad fix last_words_completion 2010-11-27 02:41:45 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
956a33f0d0 fix // 2010-11-25 03:20:01 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
435bdd6e85 command completion. Also completion for command's arguments. (try it to complete the server of the muc with /join test@kiko[TAB] for example 2010-11-25 03:04:03 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c1a62ac897 fix the comment, too 2010-11-24 06:03:51 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
e1ed45ae5f error are also displayed in non-muc rooms. fixed #2028 2010-11-24 05:55:36 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d3dc3ef251 Global commands AND tab-specific commands. fixed #2027 2010-11-24 05:41:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d0cfb69b02 fix ctrl+F on roster 2010-11-23 15:25:18 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0648da85bc fasten the refresh of Private and Normal tabs, on input 2010-11-23 13:46:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d803d5f95a fix the crash on '/' in the roster 2010-11-22 02:48:24 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
6ffafadbdd re-use the resize_timer and better handle the size of the term to decide if we refresh. Everything seems fine on refresh now \o/ 2010-11-22 02:39:56 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0eeb6a871d Clean a lot the __init__ of Wins 2010-11-22 02:25:15 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c8d7f803c7 \t does not complete anymore 2010-11-22 02:01:22 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
7aaac85900 ChatTab, for derived tab containg a chat. 2010-11-22 02:00:03 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
30405d1fbb rename again buffers→windows and Alt+←→ to switch tabs 2010-11-22 01:39:37 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
a1c4b35b57 do not pass stdscr everywhere. Fix crashes on F7-8 2010-11-19 16:27:20 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
229e209dd8 Recent-completion now uses emacs keyboard shortcut 2010-11-19 03:45:13 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
61cc03b3d2 better use sleekxmpp in muc.py 2010-11-19 03:44:43 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
eb2663c2db remove some debug 2010-11-15 13:22:04 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0216ac29db Do not refresh the screen on each input 2010-11-15 13:16:30 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
f4d4a205f1 a few renamings, and some other stuff 2010-11-15 11:59:09 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
de7c007a22 Inputs are more modulable (they also have a common history and clipboard). Search is now fully functional, and some other stuff 2010-11-11 20:44:14 +00:00