Commit graph

742 commits

Author SHA1 Message Date
Florent Le Coz
8108b703a8 Fix the color in join message 2011-03-29 14:48:27 +02:00
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
83aa15821f Update changelog 2011-03-02 01:31:20 +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
81143e7125 Use exec in launch.sh 2011-02-26 14:16:19 +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