Commit graph

2889 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
a210303b01 Fix a typo. 2016-06-27 23:55:51 +01:00
Emmanuel Gil Peyrot
6a1bd5f9b9 Make all relative imports explicit. 2016-06-27 23:54:50 +01:00
Emmanuel Gil Peyrot
7e51947f47 Launch poezio as a module package. 2016-06-27 23:54:50 +01:00
mathieui
0447188eac Limit 0184 receipts to one-to-one tabs
Instead of chat tabs, which include MUC which doesn’t implement that.
2016-06-24 21:17:29 +02:00
mathieui
158bb8c3f3 Fix #3198 (no highlight in corrections)
broken since bc6ee8d due to using timestamps
2016-06-24 20:20:36 +02:00
mathieui
3c90ac838f Always send a presence-unavailable on command /part
(even if we thought we were already disconnected)
2016-06-24 19:41:59 +02:00
mathieui
76a890acc7 Fix #3203 (indent contact and resources in the roster) 2016-06-24 19:34:23 +02:00
mathieui
633d023a6c Fix the alias plugin
(broken during linkmauve refactoring)
2016-06-24 19:14:14 +02:00
mathieui
db47dbbc46 Fix a traceback on adhoc 2016-06-22 01:16:03 +02:00
mathieui
ce915a86c1 Increase ping timeout delays (now that the ping actually works) 2016-06-12 21:46:46 +02:00
mathieui
aa79acb7d9 Disable smacks by default 2016-06-12 21:45:04 +02:00
mathieui
3de3dbd7fc Add back the entrypoint
It’s needed for proper installation
2016-06-12 17:00:54 +02:00
mathieui
2994a8e1e9 Update tests 2016-06-12 16:56:18 +02:00
Emmanuel Gil Peyrot
ed5f7b18bd Remove the global Win._win_core, instead pass core to the two *GlobalInfoBar. 2016-06-12 15:31:15 +01:00
Emmanuel Gil Peyrot
b08688c701 Remove unused properties in SizeManager. 2016-06-12 15:31:15 +01:00
Emmanuel Gil Peyrot
367d4599c8 Small xml_tab fix. 2016-06-12 15:31:15 +01:00
Emmanuel Gil Peyrot
fba820e879 Convert some genexprs into regular list comprehension. 2016-06-12 15:31:15 +01:00
Emmanuel Gil Peyrot
293d2637d1 Improve core typability. 2016-06-12 14:34:44 +01:00
Emmanuel Gil Peyrot
6d2bb1eab8 Fix core handlers, broken in the previous commit. 2016-06-12 14:34:44 +01:00
Emmanuel Gil Peyrot
34d110e643 Split core handlers into its own (broken) class. 2016-06-12 14:33:39 +01:00
Emmanuel Gil Peyrot
c1be52847b Fix core commands, broken in the previous commit. 2016-06-12 14:33:39 +01:00
Emmanuel Gil Peyrot
37cd7d1924 Split core commands into its own (broken) class. 2016-06-12 14:33:37 +01:00
Emmanuel Gil Peyrot
815cd46be9 Fix core completion, broken in the previous commit. 2016-06-12 13:25:45 +01:00
Emmanuel Gil Peyrot
86794bb0fd Split core completion into its own class.
This commit is non-functional, it only changes indentation to make
other changes more apparent, I’m sorry if you come from the future and
are bisecting, it was the only way to make it look proper. :(
2016-06-11 21:47:35 +01:00
Emmanuel Gil Peyrot
8fc8446e8a Make poezio.logger more Cython-friendly.
Also don’t handle logger fds outside of Logger, and mark private
objects and methods.
2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
fb4ceb232c Remove unused imports in poezio.timed_events. 2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
08baecfc5a Make poezio.events more Cython-friendly. 2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
840ad7433f Make poezio.common more Cython-friendly.
Also remove support for OLD_PYTHON (before 3.3), some unused constants,
mark private functions with a leading underscore, and clean up some
pep8 violations.
2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
bfb02d64a8 Make poezio.core.struct more Cython-friendly.
Status and Command are now slotted classes instead of namedtuples,
which led to a few changes to access them with their named parameters
instead of as a tuple.

“short” being a C type, I renamed Command.short into
Command.short_desc, which is more explicit anyway.

I also renamed possible_show into POSSIBLE_SHOW, as it is a
module-level constant dict.
2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
721756c5c1 Make poezio.windows.funcs more Cython-friendly. 2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
140065b580 Make poezio.poezio_shlex more Cython-friendly. 2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
d0df65ba7b Make poezio.text_buffer more Cython-friendly. 2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
0f066ab1ff add_message_to_text_buffer was never used with its time and history arguments. 2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
bfe7a3100e Move Line where it should be. 2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
275128963b Remove some unused globals. 2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
739793e9bc Prefer '\0' to None or an empty string for single characters. 2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
58d66ad03b Replace the namedtuple Message with a slotted class and merge TextBuffer.make_message in it. 2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
41f6604ee4 Replace Line namedtuple with a slotted class.
This will be useful to give Cython a way to optimise the storage in
that class.
2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
d4003d1d26 Replace two lists of characters with strings. 2016-06-11 20:49:46 +01:00
Emmanuel Gil Peyrot
332a5c2553 Move the src directory to poezio, for better cython compatibility. 2016-06-11 20:49:43 +01:00
mathieui
cf44cf7cde Fix /join /nick on non-joined tabs
(and correct the display on joined tabs)
2016-06-11 13:52:37 +02:00
mathieui
7072b8f635 Fix a refresh bug
On xmltab and listtab, the help text would be displayed in the input
after closing the tab.
2016-06-11 13:47:49 +02:00
mathieui
2225d13ad1 Comment most options by default in the config file
It’s a bit late for that, but we have to do this in order to ensure new
setting values will be used after an update if the user didn’t willingly
change them.
2016-06-05 13:59:39 +02:00
mathieui
acf22faecf Set "show_useless_separator" to true by default
For consistency
2016-06-05 13:50:54 +02:00
mathieui
0a2238def5 Add a manual CSI plugin 2016-06-05 13:48:04 +02:00
mathieui
c00cfecdf8 Enable message carbons by default 2016-06-05 13:35:03 +02:00
mathieui
cf595c0ffd Enable XEP-0319 and use it instead of 0012
(it does both by default, and is better)
2016-06-05 02:14:26 +02:00
mathieui
b3e534e200 Update the XEP list 2016-06-05 01:40:29 +02:00
mathieui
d2dcd9f5c0 Fix #3184 (remove upper limit for infowin)
also, typo
2016-06-05 00:08:49 +02:00
mathieui
4fabdc42c0 Make CSI use in the screen plugin configurable
And false by default, as it might reduce the user experience in
chatrooms.
2016-06-04 23:23:33 +02:00