Commit graph

545 commits

Author SHA1 Message Date
Florent Le Coz
e4b96eb752 Send chat states in muc and private conversations.
Also, do not send active/inactive states if we switch tab
while we are composing a message
2011-02-24 21:03:30 +01:00
Florent Le Coz
1d94e80da7 Send active/inactive if we are focused on the tab or not. And send
"gone" when we close the tab
2011-02-24 20:50:21 +01:00
Florent Le Coz
3084a9cff7 Do not send chat states if send_chat_states = false in config 2011-02-24 20:41:52 +01:00
Florent Le Coz
3f41cc8967 Refresh the tab when we receive a chat state 2011-02-24 20:31:34 +01:00
Florent Le Coz
d0b1349cf4 Better handle the 'not composing, just typing a command',
the user cannot trick the system by doing (e.g), "w, ←, /, ENTER"
2011-02-24 20:27:53 +01:00
Florent Le Coz
1d2bb35f3b Pass the message too 2011-02-24 20:16:35 +01:00
Florent Le Coz
6f87306a7e Do not send the composing chatstate if we are typing a command 2011-02-24 20:13:45 +01:00
Florent Le Coz
138b17cdb3 In normal conversations: Send composing and active chat states
and display the state of the remote contact
2011-02-24 20:02:18 +01:00
Florent Le Coz
cc74576c9f Avoid crash when write to log file fails 2011-02-21 21:00:23 +01:00
Florent Le Coz
0d6ec6c5d3 Properly take into account the length of the characters, fixing
some display issues (for example the cursor position
when entering stranges characters likes 癔)
2011-02-18 00:47:44 +01:00
Florent Le Coz
2f864c9fc1 Re-add the /configure command 2011-02-17 19:00:40 +01:00
Florent Le Coz
8aede04f5b Fix the info_win of the InfoTab (anon mode) 2011-02-16 02:54:02 +01:00
Florent Le Coz
fd05c7d707 Change the timer to avoid split of big pastes 2011-02-15 22:16:45 +01:00
Florent Le Coz
32d8a5281d Line ^M are now converted to ^J if we are pasting
from the clipboard, making it possible to paste huge multi-lines
texts in only one message
2011-02-15 21:03:24 +01:00
Florent Le Coz
d184c55580 ^J now inserts a line break in the input.
It is now possible to send multi-lines messages
2011-02-15 20:55:31 +01:00
Florent Le Coz
adf5a977a9 Remove ^J from the shortcuts triggering the Enter event, because
we’ll use it to add a (real) \n into the input’s text.
Also remove "\n" because it’s useless
2011-02-15 20:49:54 +01:00
Florent Le Coz
b707696b46 Ctrl+Shift+left and right switch to the previous/next tab 2011-02-15 20:44:31 +01:00
Florent Le Coz
7103a102bb Ctrl+up and down go to the next/previous group in the roster 2011-02-15 20:34:50 +01:00
Florent Le Coz
3302c730af Ctrl+left and right jump a word in the input 2011-02-15 20:33:00 +01:00
Florent Le Coz
36094c15cf Keyboard can now read all shortcuts with Ctrl (e.g Ctrl+left)
Any unicode character is accepted after the meta key
The meta key can be concatened until a non-meta key is pressed
(e.g M-M-M-M-M-M-M-M-e)
2011-02-15 20:25:32 +01:00
Florent Le Coz
690d449560 PgUp and PgDown scroll one page in the roster
M-u, M-y Moves to the next/previous roster group
2011-02-15 17:24:35 +01:00
Florent Le Coz
5a6f9f92cb Scroll user list by "height-1" lines, instead of 4 2011-02-15 16:36:16 +01:00
Florent Le Coz
83e52d55f2 /message command. Fixed #2106 2011-02-15 16:22:25 +01:00
Florent Le Coz
68c468b1a9 Remove the resize timer etc, because the resize process
is waaaaaay faster now.
2011-02-15 15:27:30 +01:00
Florent Le Coz
68f784e5c2 Make the resize faster by resizing each tab
only at its next refresh
2011-02-15 15:20:34 +01:00
Florent Le Coz
85d645b7d2 Automated merge with http://hg.louiz.org/poezio 2011-02-14 14:54:56 +01:00
Florent Le Coz
4b31e5acf1 Make the number of lines and messages kept in memory configurable
and lower (a lot) the number of lines kept in the info_win buffers
This lower the memory usage.
2011-02-14 14:54:26 +01:00
Florent Le Coz
3e550f4ae7 Properly remove the info_win from the list of the
global information_buffer to make it Garbage Collected
when we close the tab
2011-02-14 14:37:36 +01:00
Florent Le Coz
ac99467965 Make the tab collectable by remove self references when closing
them.
2011-02-13 22:28:35 +01:00
Florent Le Coz
8d0ebdfc12 Automated merge with http://hg.louiz.org/poezio 2011-02-13 22:26:23 +01:00
Florent Le Coz
1a058c3579 Make it possible to define bold in the theme files 2011-02-13 22:26:05 +01:00
Florent Le Coz
6ed087a65c Fix /list completion (complete the servers only) 2011-02-10 16:18:17 +01:00
Florent Le Coz
30f9f2b055 Fix the /help command with commands of the current tab 2011-02-10 16:15:33 +01:00
Florent Le Coz
ffcf65ec43 /help completion 2011-02-10 16:13:28 +01:00
Florent Le Coz
ad7e9b749d /win completion and fix the return values of other completions 2011-02-10 16:08:17 +01:00
Florent Le Coz
23fa745629 /show completion 2011-02-10 13:05:37 +01:00
Florent Le Coz
e7418bb867 /unignore completion 2011-02-10 12:54:51 +01:00
Florent Le Coz
bd1733355b Topic completion 2011-02-10 12:49:11 +01:00
Florent Le Coz
3dbb6590d3 Make the shell split do a normal split if the syntax is wrong 2011-02-10 12:39:15 +01:00
Florent Le Coz
538c843ec7 Remove a useless UnicodeError check 2011-02-10 11:49:25 +01:00
Florent Le Coz
d31f1390ad update version to 0.7.5-dev and remove some debug 2011-02-09 20:42:57 +01:00
Florent Le Coz
7598a9eff9 Update to 0.7.1 2011-02-02 01:48:46 +01:00
Florent Le Coz
5da23e07d1 euh ok 2011-02-02 01:39:57 +01:00
Florent Le Coz
b737c09c4e Disable /configure while it's broken with sleekxmpp 2011-02-02 01:39:05 +01:00
mathieui
01f3409505 fixed #2115 2011-02-02 00:51:34 +01:00
Florent Le Coz
89f337a457 Avoid crash if info_win_size is over the window height. fixed #2114 2011-01-31 15:15:16 +01:00
Florent Le Coz
399434c1ae get_tab_by_name is safer now, by passing the type of the tab we want.
This avoid confusion between various tabs having an identical name (which
should not happen anyway…)
2011-01-26 23:43:07 +01:00
Florent Le Coz
b89a10bd05 Fix a traceback occuring when an (unknown) tab has a name corresponding to an existant MucTab. 2011-01-26 23:32:41 +01:00
Florent Le Coz
41e29926eb Properly consider the size of the window on data-form tab 2011-01-26 05:01:16 +01:00
Florent Le Coz
8b6c0c5a2e data-forms: an help message 2011-01-25 21:38:31 +01:00
Florent Le Coz
6a0346a12a Fix a little issue on the default values of text-multi 2011-01-25 21:17:11 +01:00
Florent Le Coz
cc0449f73b data-forms: text-multi and jid-multi support 2011-01-25 21:15:46 +01:00
Florent Le Coz
716b8be04f data-forms: temporary text-multi support 2011-01-25 18:09:40 +01:00
Florent Le Coz
90c003f975 data-forms: list-multi support 2011-01-25 18:07:47 +01:00
Florent Le Coz
f9cf0ac76d /status also changes your presence in MUCs 2011-01-24 17:02:46 +01:00
Florent Le Coz
33421513c9 fixed #2109. HUGE DIFF OMG 2011-01-23 23:08:44 +01:00
Florent Le Coz
4a84691228 Handle correctly the banning of a muc participant
Fixed #2112
2011-01-23 23:01:53 +01:00
Florent Le Coz
333b80b5df /status command. fixed #2110 2011-01-23 22:49:58 +01:00
Florent Le Coz
28460d2f6f Fix a crash on unknown role 2011-01-23 18:38:49 +01:00
Florent Le Coz
a84769890b fix get_output_of_command. fixed #2018 2011-01-22 15:03:54 +01:00
Florent Le Coz
7c531eeec1 Fix on_user_join issue, and displays the jid if available on /info 2011-01-21 19:39:41 +01:00
Florent Le Coz
d8f92a67e4 Avoid traceback when configuration is forbidden… 2011-01-21 04:54:01 +01:00
Florent Le Coz
1b995e4bf0 Data form support.
supported yet:
text-single, text-private, list-single, boolean

The interface is really ugly, but, well, it works
2011-01-21 04:46:21 +01:00
Florent Le Coz
33c69df12b /info command (to see user's affiliation, role, etc) 2011-01-17 16:25:15 +01:00
Florent Le Coz
1fe6160cfc /join @server.tld now works. fixed #2038 2011-01-17 15:54:11 +01:00
Florent Le Coz
6154872444 /win's arg can be a part of the tab's name 2011-01-17 12:17:37 +01:00
Florent Le Coz
a14c2ad2da Version 0.7 2011-01-13 23:59:14 +01:00
Florent Le Coz
baf65fed2e Fix copy of default config file 2011-01-13 23:37:30 +01:00
Florent Le Coz
7509fb0002 Prompt password if no password is provided in config file 2011-01-13 23:20:17 +01:00
Florent Le Coz
c94be4761a Restaure the display of the kick's reason if available 2011-01-13 22:02:35 +01:00
Florent Le Coz
7994507bc3 Fix /bookmark command on non-MUC tabs 2011-01-13 20:34:17 +01:00
Florent Le Coz
086cc82e1e /close command closes MucListTab 2011-01-13 00:25:43 +01:00
Florent Le Coz
7b5407b7b7 Correctly refresh the screen on ^G on roster commands 2011-01-12 21:27:43 +01:00
Florent Le Coz
b10fd0d229 Update CHANGELOG and s/codingteam.net/dev.louiz.org/ 2011-01-12 21:23:03 +01:00
Florent Le Coz
7a9b9edee8 Fix // 2011-01-12 21:08:17 +01:00
Florent Le Coz
9d0d8b88b9 Fix the size of nicks in user_list window 2011-01-12 20:37:57 +01:00
Florent Le Coz
9237f79490 Have a notification when someone wants to suscribe to your presence 2011-01-12 20:37:28 +01:00
Florent Le Coz
28b2dbcc84 Fix InfoTab 2011-01-12 20:18:34 +01:00
Florent Le Coz
6d4e5c069e Finish the two default themes
And remove the automatic copy of the config files
2011-01-12 20:09:48 +01:00
Florent Le Coz
ce1fc18e10 Log messages from normal and private conversations as well 2011-01-12 18:34:04 +01:00
Florent Le Coz
22ad96e7aa Clean up the on_enter methods. fixed #2101 2011-01-12 17:19:14 +01:00
Florent Le Coz
2aa799fc26 fixed #2100 2011-01-12 17:12:25 +01:00
Florent Le Coz
621048dede Cleanly reset curses, so the term is never messed up after an exit 2011-01-12 16:53:07 +01:00
Florent Le Coz
7f6957b906 Avoid various crashes by denying the resize AND the refresh on too small size 2011-01-12 16:45:40 +01:00
Florent Le Coz
9f514d8c7d Avoid a traceback on remove_contact: 2011-01-12 07:50:12 +01:00
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