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