Commit graph

564 commits

Author SHA1 Message Date
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
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