Florent Le Coz
8127f66e4d
Fix the roster erasing in the refresh()
2011-06-30 23:22:27 +02:00
mathieui
306abbf974
Fixes #1736
2011-06-23 23:33:02 +02:00
Florent Le Coz
76cacb32a6
Enter displays the content of the selected item
2011-06-21 02:43:59 +02:00
Florent Le Coz
0fa3cf756a
Reset the cursor position from the item list when node changes
2011-06-21 02:01:23 +02:00
Florent Le Coz
06f4dd783e
Nodes can be scrolled and the item list is updated accordingly
2011-06-21 01:58:24 +02:00
Florent Le Coz
40d445e509
I add a char to show the active and paused chatstates in muc user lists
2011-06-14 22:20:04 +02:00
Florent Le Coz
8021283e65
Fix some bug due to the new way chars are returned
2011-05-29 02:07:30 +02:00
mathieui
dfc276a4b9
Breaking poezio is a bad thing
2011-05-14 23:23:22 +02:00
mathieui
c55f199143
fixes #2171 , fixes #2173 , also set a minimum size (< 5 lines crashes poezio when resizing)
2011-05-14 01:21:59 +02:00
mathieui
03a691c4d1
Fix #2176 , and remove useless stuff added by 2to3
2011-05-13 20:19:10 +02:00
mathieui
3d43517a41
Don’t break xhtml-im
2011-05-13 11:46:50 +02:00
mathieui
2860232cc6
Fix a traceback on C-c ❶ or C-c ², etc
2011-05-13 11:34:31 +02:00
mathieui
c631673cf3
should fix #2161 , and enable xhtml-im while in debug
2011-05-11 14:33:22 +02:00
Florent Le Coz
bc67a7d654
Aha, remove this duplicate function
2011-05-06 02:47:34 +02:00
Florent Le Coz
897aa5bd70
M-backspace deletes a word
2011-05-05 23:28:06 +02:00
Florent Le Coz
118a81992d
Fix /recolor correctly, and also fixes #2158
2011-05-04 23:08:58 +02:00
mathieui
c93aafa8f5
fixes #2148 , #2156 , #2155
2011-05-04 22:05:02 +02:00
Florent Le Coz
78d8d3e74b
Great roster refresh optimization
2011-04-18 02:27:46 +02:00
Florent Le Coz
da76355af0
Remove the paused timed event when we send the message
2011-04-17 15:49:38 +02:00
Florent Le Coz
d1a797205a
Fix the infinite loop…
2011-04-17 15:18:17 +02:00
Florent Le Coz
b4d1eda1e0
Fixed #2150
2011-04-17 15:12:12 +02:00
Florent Le Coz
5c0cf9a98d
fix the colors for Subscribed alerts
2011-04-10 20:03:16 +02:00
Florent Le Coz
737bbbface
Fix the read_keyboard on ^C
2011-04-10 17:00:29 +02:00
Florent Le Coz
7e2a98b0f5
Color 7is now the default color instead of white
2011-04-04 16:09:05 +02:00
Florent Le Coz
b3a9dc8637
Fixed #2136
2011-04-04 15:22:06 +02:00
Florent Le Coz
22832b339b
Fix colors of reason in a kick message
2011-04-04 02:29:35 +02:00
Florent Le Coz
92e63829a6
Finish colors support with xhtml (clean the elinks dump, handle the input etc)
2011-03-30 04:34:45 +02:00
Florent Le Coz
51cebe7bdc
Remove the xhtml-im that was inserted for debug, add the start of a method to enter attributes in Inputs, convert \n to <br /> in xhtml_im bodies and put that body in a <p> element
2011-03-29 21:07:53 +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
dca88cadbd
Use namedtuples instead of dict, this should GREATELY lower the memory footprint
2011-03-21 03:18:12 +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
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
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
8d8b13fb7a
Remove a useless "locale" change
2011-03-06 02:55: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
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
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
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
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
3302c730af
Ctrl+left and right jump a word in the input
2011-02-15 20:33:00 +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
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
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
ad7e9b749d
/win completion and fix the return values of other completions
2011-02-10 16:08:17 +01:00
mathieui
01f3409505
fixed #2115
2011-02-02 00:51:34 +01:00
Florent Le Coz
8b6c0c5a2e
data-forms: an help message
2011-01-25 21:38:31 +01:00
Florent Le Coz
33421513c9
fixed #2109 . HUGE DIFF OMG
2011-01-23 23:08:44 +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
7b5407b7b7
Correctly refresh the screen on ^G on roster commands
2011-01-12 21:27:43 +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
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
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
e016305c2b
And fix the on_enter again (for commands)
2011-01-11 19:56:40 +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
5d4b0a9e2b
Move the Contact Window in the left part of the roster tab
2011-01-11 02:49:43 +01:00
Florent Le Coz
63d2b8f06f
Avoid traceback on text_win refresh
2011-01-10 18:59:34 +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
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
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
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
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
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
56dee2c7ee
fix the issue of first private message received
2010-12-15 22:13:38 +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
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
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
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
a96188385f
can now complete with NOTHING in the node
2010-11-29 18:54:30 +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
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
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
30405d1fbb
rename again buffers→windows and Alt+←→ to switch tabs
2010-11-22 01:39:37 +00:00