Commit graph

786 commits

Author SHA1 Message Date
Florent Le Coz
25162f0a06 Messages in text_buffer should not be colored when they
have no nickname
2011-03-29 14:39:51 +02:00
Florent Le Coz
38cffe43b6 Message and complete words can now be colored even if the
take more than one line to be displayed.
2011-03-29 14:35:59 +02:00
Florent Le Coz
8b032a6ece Fix the highlight (now the nick is colored, not the message itself) 2011-03-29 14:27:30 +02:00
Florent Le Coz
c2cb61da06 Cleanup some code not used anymore 2011-03-29 14:15:02 +02:00
Florent Le Coz
dcd29c636f Change how colors are handled. With \x19x etc
Should work like before and be a little lighter on the RA
2011-03-29 12:44:19 +02:00
Florent Le Coz
a2abc116e5 Jump the space on /message JID blabla command 2011-03-27 14:40:29 +02:00
Florent Le Coz
e4f2828347 comment + fix an except 2011-03-25 01:00:37 +01:00
Florent Le Coz
1916eedcde 2011-03-21 21:25:51 +01:00
Florent Le Coz
3ad429f00b Hix a crash on last word completion 2011-03-21 21:24:39 +01:00
Florent Le Coz
dca88cadbd Use namedtuples instead of dict, this should GREATELY lower the memory footprint 2011-03-21 03:18:12 +01:00
Florent Le Coz
2d81b7407b Alt+J 2011-03-20 03:32:48 +01:00
Florent Le Coz
356dd4b5ec Case insensitive HL 2011-03-20 03:05:52 +01:00
Florent Le Coz
902cfd9056 Little mistake 2011-03-20 02:44:51 +01:00
Florent Le Coz
56cbdaacb6 Alt+x where x is a number 2011-03-20 02:42:29 +01:00
Florent Le Coz
cba3adcced Command connect, to reconnect if needed. Fixed #1149 2011-03-20 01:46:44 +01:00
Florent Le Coz
6e14fce61f /version <jid> command 2011-03-15 23:40:54 +01:00
Florent Le Coz
e06b8baa52 Remove the avail command, since /ava[TAB] is even shorter than that. 2011-03-13 14:22:20 +01:00
Florent Le Coz
49f3f0af2c Text in TextWins not is cut one row before the end of line.
Thus fixing a strange display bug, and making it easier to
copy a text without the "|" at the end of line
2011-03-13 14:12:45 +01:00
Emmanuel Gil Peyrot
e178924c1f Remove the /show command and map /away, /avail, etc. to /status. 2011-03-11 22:10:37 +01:00
Florent Le Coz
8ab4af1082 Send chatstate composing if we are starting our message with // 2011-03-11 01:18:35 +01:00
Florent Le Coz
59969d2f6e Fix a dataforms traceback due to the new resize method. 2011-03-10 14:08:31 +01:00
Florent Le Coz
e835bd2d20 Fix the search (the enter key opens the conversation BEFORE restoring the roster list) 2011-03-10 05:11:12 +01:00
Florent Le Coz
36eed51b90 use config.get() only once instead of doing it at each iteration 2011-03-10 04:57:26 +01:00
Florent Le Coz
a519b90cba Avoid stupid traceback on normal message 2011-03-09 18:15:01 +01:00
Florent Le Coz
769b6ec33b little fixes and (very little) optimization 2011-03-09 05:27:10 +01:00
Florent Le Coz
a516e78bcf Some optimizations in build_new_message. Also cleaned up. Added an optimized way to do "wcswidth(string) > n": wcsislonger. And should use less memory because the dict replacing Message and Lines object stores ONLY the needed attributes. 2011-03-09 04:56:53 +01:00
Florent Le Coz
1a2252b3e5 Have a single TextWin in common for each tab, reducing the needed memory, and simplifying its resize (F7 and F8 stuff) 2011-03-08 04:20:46 +01:00
Florent Le Coz
8f48c5ede7 Inputs are garbage collected, making MucListTab collectable.
Memory improvement issues.
2011-03-07 21:41:13 +01:00
Florent Le Coz
a769babf0a Typo 2011-03-07 20:58:12 +01:00
Florent Le Coz
b6a5ed7286 very little cleanup 2011-03-07 20:11:47 +01:00
Florent Le Coz
d6d566e39b pylint 2011-03-07 19:57:55 +01:00
Florent Le Coz
6b469dbde9 Fix data forms to work properly with the previous changes in windows.py 2011-03-06 05:09:45 +01:00
Florent Le Coz
8d8b13fb7a Remove a useless "locale" change 2011-03-06 02:55:35 +01:00
Florent Le Coz
83fbf8dae1 Move a lot of muc-only-related stuff insid the MucTab class
instead of core.
May break some stuff, maybe
2011-03-05 22:39:35 +01:00
Florent Le Coz
fb40ac54fc Kind of big cleanup.
Core and Connection classes are now used as singletons, we do not need to pass them to each Tab and Win. This remove a lot of arguments to varius methods.
2011-03-05 21:42:56 +01:00
Florent Le Coz
9c291d1368 fixed #2117 Fix tracebacks: remove traceback handler. 2011-03-03 03:43:48 +01:00
Florent Le Coz
40426cb715 Avoid a blink at startup with a stupid hack… 2011-03-03 03:24:04 +01:00
Florent Le Coz
5a90c70568 Send chatstates to MUC only if the room is joined 2011-02-26 14:19:15 +01:00
Florent Le Coz
8be400792a Fix a tb when receiving the first private message of a conversation 2011-02-25 00:38:34 +01:00
Florent Le Coz
001a20c91a Display chatstates in the user list in MucTabs 2011-02-24 21:56:16 +01:00
Florent Le Coz
cccbad13d5 end and handle chatstates in privateconversations 2011-02-24 21:39:49 +01:00
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
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
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
8bdab49145 roster search now uses difflib 2010-11-11 05:24:43 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d502f4a525 fix the new-subject message and the /part command 2010-11-11 04:37:48 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
f9b386d27f Better choose the tab to use when receiving a normal message. Better closing of tabs 2010-11-11 04:22:37 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
58a82f170b fix some issues with recent-words completion, make the ConversationTabs closable with /unquery and ignore the keyboard shortcuts not handled. fixed #1941 2010-11-11 03:39:39 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
f729e79aad add M-i shortcut for completion 2010-11-11 00:00:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
545902be7d ConversationTab interface 2010-11-10 21:15:08 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0f39961a5d correctly receive the subjects from the MUCs 2010-11-09 22:41:31 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
7fd6153720 fix some little issues. Rename gui to core, use logging lib instead of the custom debug option. Add a -d option 2010-11-09 20:37:39 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
df6d2fc2d3 use custom_port and custom_host if advanced configuration is needed. Else it will use SRV DNS resolution if dnspython is installed 2010-11-08 01:33:36 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
38e290fdef link mauve (and me): use // to send a message beginning be '/' 2010-10-31 19:11:51 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
4ecda478ec link mauve: fix a incoherence on '/help show' message 2010-10-31 19:03:49 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
6f274225b6 link mauve: Fixed a crash on /help help help 2010-10-31 19:02:57 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
6fab04a6dc Basic search in the roster (based on contact JIDs) 2010-10-31 18:57:48 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2863eebda4 New and better keyboard shortcuts 2010-10-27 23:11:35 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c091e0c16f Command mode in roster tab, toggle offline contacts with 'o' and sort contacts by show 2010-10-27 22:49:52 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d6e3788305 typo 2010-10-25 09:10:31 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
dc83c18c35 exit a little more cleanly 2010-10-20 23:51:34 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
dc61d36cf1 fix an import issue (JID) 2010-10-20 17:33:13 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
3b3042d315 fix password for muc. fixed #1940 2010-10-18 22:57:54 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
f4c5e0a091 Multi-resource. Handling <presence /> stanzas. But the normal conversation window is broken :^). Fixed #1888 2010-10-17 17:27:07 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
17ebb92ece yet better refresh 2010-10-17 12:43:56 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
9c9236eb49 refresh optimization by limiting the .refresh() calls at the STRICT minimum 2010-10-17 05:14:22 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
eabf05c8a7 fix Makefile again 2010-10-16 23:46:45 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
63d583c047 remove curs_set 2010-10-16 22:49:15 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2b4396194b remove a little debug 2010-10-16 19:57:41 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
fe4dd60b95 fix how we get the domain to connect to 2010-10-16 18:53:13 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
db27041571 remove the warnings caused by the new version of sleekxmpp, and update the connection method (changed also in sleek) 2010-10-16 18:47:39 +00:00
mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13
1c32d1f847 2010-10-11 23:20:31 +00:00
mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13
63bc5a2a2f remove the old /me verif because it's not useful anymore 2010-10-11 23:09:16 +00:00
mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13
eb528eb9ae fixed #1925 2010-10-11 22:57:21 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2102085f9e fix a bug on /bookmark when there's only one bookmark 2010-10-05 21:28:11 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c9f4370598 Remove a typo 2010-10-05 00:37:52 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
8caf7651a9 C-w go to previous tab. M-r go to roster. That's awesome 2010-10-05 00:36:43 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
01e5856162 if we receive an unavailable presence from our nick (in a muc), disconnect from the muc 2010-10-05 00:22:18 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
896fa313d2 fix a crash on a kick with no reason. Also little cleanup 2010-10-05 00:19:48 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0dfd8366e1 use a timer to refresh only after a short delay. Limit the useless software refresh. 2010-10-05 00:14:13 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
53a5536cf1 addstr is now safe, avoid some length calculation that are totally useless, so: fix some crash 2010-10-04 23:59:03 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0c254bc915 use 'with' context manager for the locks 2010-10-04 19:50:15 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d4e3e51c1f update e-mail address and README 2010-10-04 01:45:16 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d6bb19572e contact information buffer in the roster tab (yet empty) 2010-10-04 00:27:40 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
3ea295f8c7 avoid a crash when receiving a message from someone not in our roster 2010-09-27 22:53:25 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
696deb5d82 fix a size of the info buffer in private and conversation tabs + Do not focus the tabs on bookmark-join 2010-09-27 02:00:49 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
7453b87f30 fold groups, display-name, focus the tab if user tries to open an already opened conversation (on /join too !), and nicer roster 2010-09-27 01:40:34 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
27938ecf1e group 'none' doesn't need to be created 2010-09-26 18:36:09 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
b7b6889d4e open conversation only if a message has a body. And use the group 'none' for contacts in no groups 2010-09-26 18:35:22 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
390e952829 Basic implementation of the roster and one to one conversations 2010-09-26 18:01:38 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c486b78bbd too much debug 2010-09-20 23:38:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
d2158ba093 Fix the nick change of private tabs. fixed #1845 2010-09-20 23:35:07 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c536649112 fix the shlex fail. Colors are disabled on too long elements 2010-09-16 20:19:31 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
f638427afc LALALALALALALALALA 2010-09-16 17:57:27 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
0d6c7276b1 fixes a crash on shlex. 2010-09-16 17:55:38 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
6018d243fb fixes some crashes, and stuff 2010-09-15 19:05:20 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
cdcfddcb2e avoid some crashes. Also fixes the line separator on new messages 2010-09-14 22:59:40 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
534b39ae8d fix the resize of PrivateTab 2010-09-14 02:24:04 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
33f197b4ab complete refactoring of the ui. Everything is now very modulable. Little info win added at the bottom. Roster is ready to be implemented. 2010-09-14 02:11:07 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
29e5250904 don't crash on dev version (with debug()s), by writting debug in /tmp/ 2010-09-12 16:57:46 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
e5f82cdacd last words are collected in the last 40 messages 2010-09-11 22:26:19 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
ad33a28e28 ctrl+v moves the new-messages separator at the bottom. fixed #1831 2010-09-11 20:07:50 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
c2ca295747 recolor command. fixed #1830 2010-09-11 19:48:28 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
508bf5d561 don't add the ',' after a last-word completion. 2010-09-11 15:45:28 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
374ab23b42 fixed #1767 2010-09-11 04:24:09 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
efc7b22bdb You can now kick ANYONE (even with a space), and have a space in your nick. fixed #1803 2010-09-11 04:07:04 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
2a5635c677 (almost) fixed #1783 2010-09-11 03:26:26 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
118a4c9b95 this time it should be ok :^) 2010-09-11 02:12:52 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
dc13b82bd4 only have 64 colours, so everything works fine on every terminal, even on tmux. Fixed #1824 2010-09-11 01:50:18 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
92d155acf5 fixed #1825 2010-09-10 22:34:21 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
22e05a229a fixed #1821, also try to fixe #1825 2010-09-10 22:32:31 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
945dc664d8 fix some ncurses crash. fixed #1817 2010-09-10 21:51:13 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
77df6feb97 remove one more possible ncurses glitch by using a muttex. Also correctly receive the error messages. And little cleanup 2010-09-08 23:00:55 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
007466f6aa fix last talked completion order. fixed #1805 2010-09-08 00:04:48 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
f1226c1bc9 fix colors in tmux or screen, fix the themes_dir config option 2010-09-07 23:59:35 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
f8ab739a36 do not require argparse anymore, chmod in the directory in the python process directly, fix a little bit the Mafile 2010-09-07 23:36:57 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
7d7f585ed6 fixes directionnal keys on some systems 2010-09-03 23:52:06 +00:00
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13
27b5bcfe5e fixed #1796 2010-09-03 19:05:19 +00:00