Commit graph

3425 commits

Author SHA1 Message Date
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
mathieui
46d3da365c Fix #3114 (implement CSI in the tmux/screen plugin) 2016-06-04 23:03:40 +02:00
mathieui
bb3ddde9f6 Enable CSI by default
(but don’t do anything with it, leave that to plugins)
2016-06-04 23:00:18 +02:00
mathieui
10c0ca94bb Enable XEP-0198 (stream management) 2016-06-04 21:00:19 +02:00
mathieui
1ced580551 Use message processing hints in the OTR plugin 2016-06-04 19:37:57 +02:00
Lasse Aagren
8a491f250d change muc_list delimiter from comma to colon in simple_notify 2016-05-23 16:22:02 +02:00
Lasse Aagren
a68ace1971 fix simple_notify to not notify one messages from yourself in MUCs 2016-05-23 16:21:54 +02:00
Lasse Aagren
51025b8d78 add optional muc_list to configuration of simple_notify, as a whitelist of MUCs you want to be notified from. 2016-05-22 08:32:45 +02:00
louiz’
38399f2cae Lower the priority of the “joined” tab to be lower than the “message” ones
fix #3192
2016-05-17 15:48:53 +02:00
mathieui
65a37c44dd Fix a crash in the marquee plugin
xml does not like ascii control chars.
2016-05-10 21:31:37 +02:00
mathieui
216ca997ad Fix #3169 (use correct egg name for potr) 2016-05-06 19:59:05 +02:00
mathieui
bc6ee8dae8 Fix #3176 (timestamp corrections properly) 2016-05-06 19:57:35 +02:00
mathieui
bea07f5210 Fix #3172 - Marquee plugin has a non-issue 2016-05-06 19:46:40 +02:00
mathieui
6a2c4a61c4 Fix #3182 (/xhtml should send message with type=chat) 2016-04-09 21:53:11 +02:00
mathieui
12ef4f0e0e Fix handling of the jid-multi data form field 2016-04-05 21:17:31 +02:00