Commit graph

2519 commits

Author SHA1 Message Date
mathieui
cf6d317824 Add a documentation page for PEP (and update some commands) 2013-06-20 23:31:14 +02:00
Florent Le Coz
d81568eebe Use a logical order of arguments in the poopt functions, now 2013-06-20 23:28:40 +02:00
Florent Le Coz
ee0c29ada1 Use the correct arguments in PyArg_ParseTuple 2013-06-20 23:26:29 +02:00
Florent Le Coz
7d555a62f2 Little logic change 2013-06-20 23:25:53 +02:00
mathieui
71d98bd577 Add a page on carbons 2013-06-20 22:33:48 +02:00
Florent Le Coz
5b4048000e Use cut_by_columns to properly cut nicks in the UserWin window 2013-06-20 22:30:08 +02:00
Florent Le Coz
da6c11603c Add a poopt function to cut a string by the number of columns it takes 2013-06-20 22:17:43 +02:00
Florent Le Coz
a92163d173 Fix some compilation warnings in the poopt module 2013-06-20 22:06:33 +02:00
Florent Le Coz
637b5552e8 Remove the now useless (and fucking slow) wcwidth python implementation 2013-06-19 22:27:15 +02:00
Florent Le Coz
0d7fedceea And actually use poopt.wcswidth to properly count the nicks' size
see #2142
2013-06-19 22:19:17 +02:00
Florent Le Coz
cbe0007249 Exposes the wcswidth function in the poopt module
see #2142
2013-06-19 22:19:08 +02:00
Florent Le Coz
0bcd420602 Consider the number of columns of each characters in the poopt module
Some characters take 0 columns, others take 1 or 2 (full-width characters)

fixes #2142
2013-06-19 22:18:50 +02:00
mathieui
d269617788 Revert 9eaffe1369 because of 3.1 compat 2013-06-19 12:16:28 +02:00
Florent Le Coz
732347b69d Update the changelog 2013-06-18 20:38:53 +02:00
Florent Le Coz
54af1f16a4 Let the user disable the auto-ping by setting connection_check_interval to 0 2013-06-18 20:38:16 +02:00
Florent Le Coz
4d73c29836 Add config_change handlers for the two keepalive options
We can now change the keepalive values with /set, without restarting
2013-06-18 20:37:57 +02:00
Florent Le Coz
39fa811374 Trigger config_change handlers when the config has changed using a USR1 signal 2013-06-18 20:37:04 +02:00
Florent Le Coz
ef9672c0fd Add the possibility to watch the changes of a config value
Using add_configuration_handler() we can now set a callback to be called
whenever a given option value is changed using /set
2013-06-18 20:36:23 +02:00
Florent Le Coz
06d5ecb879 Message to join the room with an other nick only if the room is not joined yet
Because that message doesn’t make any sense if you are in the room and you
get a nick conflict from the /nick command.
2013-06-18 20:32:17 +02:00
Florent Le Coz
3015b3b9e5 Add the stoi plugin 2013-06-18 20:30:36 +02:00
Florent Le Coz
b5362ff754 Add a mirror plugin 2013-06-18 20:23:49 +02:00
mathieui
c8700dd06e Fail properly when the config can’t be parsed. 2013-06-16 14:50:04 +02:00
mathieui
356d8a2184 Fix a tb with the tell plugin on wrong input
it didn’t make anything crash, but still.
2013-06-16 14:47:14 +02:00
mathieui
2b7676194f Fix #2320 (TB on /info with an off-roster contact) 2013-06-14 20:36:04 +02:00
mathieui
833faa4f37 Improve the roster search
- now case-insensitive
- search in the bare jid instead of userpart only (and still in roster
  names)
- do not display groups when searching
- display offline contacts
- do not expand resources if they were before the search
2013-06-13 01:00:53 +02:00
mathieui
2b4c06b6f8 Fix #2315 (send pings to the server every minute to check the connection)
add two new options:
connection_timeout_delay and connection_check_interval
2013-06-11 00:03:48 +02:00
mathieui
97d3690aea Implement Message Carbons (XEP-280)
- Add an option enable_carbons (defaults to false)
- Make a disco on non-roster entites to determine if the message
  commes from a muc private chat or not.
2013-06-10 23:49:10 +02:00
mathieui
4220c36021 Fix addstr_colored with colors that start with a -1 2013-06-10 20:53:16 +02:00
Florent Le Coz
31e55a451c Fix the link of daemon.py in the doc 2013-06-09 20:18:22 +02:00
Florent Le Coz
fb560e9264 Change website to poez.io 2013-06-09 19:38:51 +02:00
mathieui
2ab2eaf269 Lock on one forgotten curses operation 2013-06-09 17:12:39 +02:00
mathieui
d5ae6966f9 Fix #2301 2013-06-09 17:02:54 +02:00
mathieui
361de51bc1 Update CHANGELOG 2013-06-09 15:48:09 +02:00
mathieui
2668df740b Fix #1892 (keep the contact selected in the roster) 2013-06-09 15:36:50 +02:00
mathieui
103d097acf Fix #2183 (do not scroll one char at a time when you reach the end)
Now it scrolls horizontally of 1/4 the size of the input
2013-06-09 15:18:39 +02:00
mathieui
9d5fddf5ba Use the new format in the roster log too (ref #2311)
(and add the pep events and invites to it)
2013-06-09 12:56:51 +02:00
mathieui
71b6404b04 Adopt the mcabber log format (Fix #2311) 2013-06-09 03:47:16 +02:00
mathieui
9eaffe1369 Fix the os.makedirs calls so that they don’t traceback for nothing 2013-06-09 03:45:10 +02:00
mathieui
9b8ed569bb Fix the regex for text attributes 2013-06-08 23:51:47 +02:00
mathieui
26ea842cee Add a way to format background colors in a string
(also add colors to the /info command in MUCs)
2013-06-08 17:36:02 +02:00
mathieui
545e67c500 Fix setting autojoin with /bookmark 2013-06-08 12:28:07 +02:00
Florent Le Coz
463ec5ca0d Accept NULL bytes in strings to be cut by the poopt module
fix #2296
2013-06-07 00:04:01 +02:00
Florent Le Coz
4b537d3477 Document the Alt-k key 2013-06-06 23:06:14 +02:00
Florent Le Coz
032d2b711b Add a M-k keyboard shortcut to escape the next keyboard shortcut
fix #2227
2013-06-06 22:58:29 +02:00
Florent Le Coz
834546ac77 Do not traceback when receiving malformed XML in a xhtml-im body 2013-06-06 22:53:43 +02:00
mathieui
9e8860cd6a Fix joining a domain-only room
(e.g. “/join @conference.prosody.im”)
- If the current tab is a MUC the @ prefix is mandatory as there is no
     way to tell if the user meant a room name or a domain.

- If it is not a MUC, then the @ prefix is not mandatory (but works
  anyway)
2013-06-05 20:44:27 +02:00
mathieui
ae009318b2 Fix #2299 (invalid characters causing a TB)
any character beyond 0x110000 does not exist and should be dropped
2013-06-04 13:20:59 +02:00
mathieui
0abc789403 Do not block on roster operations (and do not traceback on errors) #2315 2013-06-03 23:13:10 +02:00
mathieui
0dcc6f9cc4 Fix the caps updating (“do not verify” message in swift) 2013-06-01 21:43:15 +02:00
mathieui
248a9ea822 Update caps after loading the ping plugin 2013-06-01 17:00:56 +02:00