Florent Le Coz
36620901e8
Create a more generic ListTab class, and make MucListTab inherite from it
2014-05-04 21:05:47 +02:00
mathieui
b46f0f5e26
Fix #2072 (only resize a tab if the size changed since the last display)
2014-05-03 02:27:19 +02:00
mathieui
ea935ded09
Highlight the newlines characters in the input instead of plain "|"s
2014-05-03 02:12:05 +02:00
mathieui
db7fc6abb2
Fix an infinite recursion error on recursive aliases
2014-05-02 12:43:56 +02:00
mathieui
d1e33e1863
Make the FormWin handle resize properly
...
(also, wrap one forgotten call to curses funcs)
2014-05-02 03:01:13 +02:00
Florent Le Coz
b080c53ac4
Scroll the FormWin when resize moves the current line out of the visible area
2014-05-01 16:40:00 +02:00
Florent Le Coz
16d80a2f25
FormWin now scrolls when needed, as the cursor is moved up and down
2014-05-01 16:33:44 +02:00
Florent Le Coz
f7a5847f75
Move data_forms in the tabs directory
2014-05-01 05:24:50 +02:00
mathieui
c287a959b4
Fix bugs in the previous/next highlight functions
2014-05-01 02:28:01 +02:00
mathieui
48e59d377f
Fix #2282 (change the terminal title depending on the tab name)
...
- change_title plugin
2014-04-30 21:55:19 +02:00
mathieui
c1d19fa548
Set the terminal title to "poezio" by default
2014-04-30 21:54:25 +02:00
mathieui
bbdc14aaa5
Remove Tab.get_name() and use Tab.name instead
...
(keep a get_name() fallback just in case for now)
2014-04-30 21:34:09 +02:00
mathieui
d859ec2ea1
Add a 'tab_change' event
2014-04-30 20:37:18 +02:00
mathieui
4e4ab569cf
Fix #2447 (OTR & HTML) -- partial WONTFIX
...
- Guess-parse the OTR messages in search for xhtml upon arrival
- add a configurable option to decode it or not
- We have XHTML-IM for a reason, and therefore we will *not* implement a
full html parser for clients that dump whatever formatting inside the
OTR payload (looking at you, pidgin)
2014-04-30 01:55:23 +02:00
mathieui
c3dd20fc74
Fix #2510 (link displayed twice in xhtml-im)
...
- also, fix the /xhtml command that was nesting one <body/> too many
2014-04-30 00:43:21 +02:00
mathieui
5f0afab060
Do not ask for receipts in messages without a body
2014-04-29 22:14:03 +02:00
mathieui
793b78f009
Fix a traceback in /topic (with no argument)
2014-04-29 03:12:57 +02:00
mathieui
6391d97b3a
Fix most UI issues with introduced in 0caf941
2014-04-29 02:20:06 +02:00
mathieui
9e72f8336d
Add the size manager (forgotten in the previous commits)
2014-04-29 00:29:54 +02:00
mathieui
8241f5d6fc
Update CHANGELOG
...
(also, fix a traceback-typo)
2014-04-28 23:37:42 +02:00
mathieui
0caf9417b2
Make the size modular, remove small-size lock (also seems to fix #2155 )
...
some stuff is now hidden wen the window size gets too small (might need
some adjustments). The info buffer in the roster tab, the userlist in
mucs, the vertical tab list, the info buffer everywhere, etc…
2014-04-28 23:29:21 +02:00
mathieui
069283e349
Don’t escape backslashes unless we are inside a quoted string and the next char is a quote
...
Sadly, we can’t doctest stuff with backslashes because it drives doctest
crazy.
2014-04-28 00:20:57 +02:00
mathieui
31716565a7
Provide our own wrapper for checking the host category (ref #2511?)
...
xmpp.plugin['xep_0030'].has_identity appears to be unreliable at best,
so we provide our own.
Might help the case of carbons not displayed.
2014-04-27 22:38:24 +02:00
mathieui
3fb3d8db3d
Fix memleaks in pooptmodule.cut_text (ref #1914 )
...
- we need to decrement the refcount after giving the tuple to the
retlist in order to transfer ownership
The example script below will quickly take gigabytes of ram with the
old module, while the new will not take noticeably more memory.
The leak is not very visible on launch, because we “only” leaked each
tuple returned, and (int, int) is not heavy. However, after weeks of
use and many messages, the memory still isn’t freed and it shows.
import poopt
import gc
a = 'coucouco ' * 1000
for i in range(100000):
if not (i % 10000):
print(i)
poopt.cut_text(a, 50)
2014-04-27 21:38:29 +02:00
mathieui
5999b71c41
Fix #2106 (implement message delivery receipts)
...
- two options request/ack_message_receipts
- two new theme parameters : CHAR_ACK_RECEIVED and COLOR_CHAR_ACK
- if a message has a receipt, the character is displayed between the
timestamp and the nick, using the color
2014-04-27 16:32:03 +02:00
mathieui
60224bb76a
Fix weird behavior while using the input in the muclisttab
2014-04-27 02:17:00 +02:00
mathieui
3cb2c8351a
Fix a resize issue when vertical tab list options are set from the roster
2014-04-27 01:59:02 +02:00
mathieui
fea4f95de9
80-columns wrap for MucTab and fix some completions
...
- fix the /version completion with spaces
- fix the /unignore completion with spaces
2014-04-26 23:49:52 +02:00
mathieui
0d5d36465c
Document /recolor random with /help too
2014-04-26 14:41:19 +02:00
mathieui
4172a79117
Fix #2514 (add a /toggle command)
2014-04-26 14:27:02 +02:00
mathieui
1f0ff4f0c3
Fix #2444 (implement room destroy)
...
- destroy the current room if no parameter
- destroy the room given as a parameter if any
- no reason or alt room because it would be ambiguous in a command
(implementation ideas welcome)
2014-04-26 14:05:28 +02:00
mathieui
4c4e2083a6
Fix the nickname of server-generated messages
2014-04-26 11:50:00 +02:00
mathieui
947cd13107
Disable 0198 for now because we will properly implement it later
2014-04-26 11:49:11 +02:00
mathieui
4a26dea66d
Fix #2516 (display error with carbons)
...
- fix the bug where messages from our own jid were incorrectly displayed
- the nick is now fixed for the whole conversation
2014-04-25 20:48:40 +02:00
mathieui
b85a3d1c8e
Update CHANGELOG
2014-04-25 20:13:43 +02:00
mathieui
98914b8b0a
Fix a traceback when sorting a listwin
2014-04-24 23:39:12 +02:00
mathieui
1bd9f78fe6
Improve src/theming.py (print the colors and do not pollute the terminal)
2014-04-24 21:26:13 +02:00
mathieui
828f60fcb8
Update the themes dir during execution, and not at module level
2014-04-24 21:25:31 +02:00
mathieui
5012611bd7
Make keyboard.py a bit nicer to use
2014-04-24 21:13:31 +02:00
mathieui
4de2dfc72b
Fix a bug in the config._parse_file function (traceback when parsing empty files)
2014-04-24 21:12:48 +02:00
mathieui
1349f297f5
Documentation update
...
remove a duplicate section, typos & stuff
2014-04-24 21:12:26 +02:00
mathieui
4fec08879e
Documentation update
...
- add some formatting and links (also, typos)
- link the Theme class from the theming page
2014-04-23 21:34:05 +02:00
mathieui
3bfe93824c
Wrap yet another curses operation with a lock
2014-04-23 20:05:51 +02:00
mathieui
efa6b4254d
Fix #2450 (redraw top-scrolled tabs properly after resize)
2014-04-23 20:05:02 +02:00
mathieui
2b63e76ef9
Update the alias plugin
...
- use the new PluginConfig.remove method to remove aliases
- do not do weird stuff when no args are provided
- do not flood when re-creating stored aliases
2014-04-22 20:21:00 +02:00
mathieui
e6ce1ce7b6
Map Config.remove_and_save to PluginConfig.remove
2014-04-22 20:17:19 +02:00
mathieui
b01d94294a
Add a way to remove options from the config file
...
(still surgically, without touching comments or anything else)
2014-04-22 20:16:27 +02:00
mathieui
3415619895
80-columns wrapping and some docstrings
...
also bump version, and add some gettext wraps
2014-04-22 20:02:07 +02:00
mathieui
b14aceaa4f
Close the file descriptor of the fifo on closing
...
(also, it indeed needs to be a thread because opening
a fifo for reading is a blocking operation)
2014-04-22 19:57:25 +02:00
mathieui
266ab8e10d
Split the config.write_in_file method to be more modular and cleaner
...
Will also allow a remove_in_file or whatever to remove options instead
of blanking them.
2014-04-21 23:46:12 +02:00