Commit graph

3287 commits

Author SHA1 Message Date
mathieui
e6fe7c9afb
Don’t pin the cython version 2018-10-07 23:16:48 +02:00
Emmanuel Gil Peyrot
1965abf99a XEP-0231: Extract cids from XHTML-IM. 2018-09-30 11:46:27 +02:00
Emmanuel Gil Peyrot
c13ae1b932 Print the error given by the server when /bookmark fails. 2018-09-29 23:09:32 +02:00
Emmanuel Gil Peyrot
2428084c8d Cache highlighting regex in a lru.
This makes it way faster than having to create it all the time.
2018-09-25 21:55:25 +02:00
Jonas Schäfer
6deffb430e Improve highlighing regex to deal with fancy nicknames
Nicknames which do not end and start on a word boundary or contain
regex metacharacters broke with the previous approach.

Fixes #3433.
2018-09-25 18:59:37 +02:00
4b8c63d25b Split highlight logic and UI changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-09-25 12:47:09 +02:00
louiz’
791d44f1b9 Disable the pylint CI test until upstream's bug is fixed
See https://github.com/PyCQA/pylint/issues/2439
2018-09-17 09:46:54 +02:00
mathieui
0b8fef46f7
Fix compatibility with python 3.5.2
We don’t lose anything, mypy will add these Optionals by itself since it
can see the = None.
2018-09-11 20:16:48 +02:00
mathieui
12700fdaee Merge branch 'tabs-slice' into 'master'
Allow Tabs object to be sliced

See merge request poezio/poezio!11
2018-09-10 23:50:38 +02:00
65649e91c4
Tabs: add test for slice support
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-09-10 22:45:23 +01:00
bb9bc80d9b
Allow Tabs object to be sliced
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-09-09 13:39:46 +01:00
louiz’
2a75589747 Clean the README a little bit
Notably, remove a section that was just describing the workflow that is now
used by 99% of people, thanks to github and co. People now how to do these
things nowadays.
2018-08-23 23:52:21 +02:00
mathieui
4463a0d5b5
Fix /irc_query in the IRC plugin 2018-08-23 21:35:28 +02:00
mathieui
1524245dd0
Do not add our directory to the path
it’s bad practice and can create issues
2018-08-22 23:32:56 +02:00
Emmanuel Gil Peyrot
0e7ebf974e Install the .desktop file. 2018-08-20 22:11:03 +01:00
Emmanuel Gil Peyrot
d3c738b53c Ship appdata, flatpak manifest, and desktop files. 2018-08-20 22:06:24 +01:00
Emmanuel Gil Peyrot
f2d2c4df3c Install the appdata file. 2018-08-20 21:38:45 +01:00
louiz’
7ce30f8f27 Merge branch 'launch-script-version' into 'master'
Only check if `.git` exists, not more

See merge request poezio/poezio!9
2018-08-20 19:42:33 +02:00
0ec5250056 Update version string in launch script
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-08-20 00:02:18 +01:00
a6f840e7ba Only check if .git exists, not more
`git worktree` has `.git` as a file, not a directory.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2018-08-20 00:02:15 +01:00
louiz’
390d076abb No need to have a symlink for sphinx-build, it’s directly in the image 2018-08-20 00:11:51 +02:00
louiz’
9238ee2e1a Update the build-doc CI build to deploy the full doc 2018-08-20 00:00:05 +02:00
mathieui
8edef603fb
Fix UserList.resize 2018-08-19 13:03:40 +02:00
Emmanuel Gil Peyrot
8d2f25095f muctab: Create the last_talked compare lambda only once. 2018-08-18 20:48:57 +01:00
Emmanuel Gil Peyrot
accf6ab777 Fix wrong tests for None. 2018-08-18 08:04:56 +01:00
Emmanuel Gil Peyrot
73749091ae Remove some circular type imports. 2018-08-18 08:04:41 +01:00
Emmanuel Gil Peyrot
2abbf8274c windows.bookmark_forms: Type almost everything in this module. 2018-08-17 19:43:35 +01:00
Emmanuel Gil Peyrot
ede00f7862 windows.text_win: Type almost everything in this module. 2018-08-17 19:28:19 +01:00
Emmanuel Gil Peyrot
86e2bbb0d4 windows.muc: Type everything in this module. 2018-08-17 18:55:08 +01:00
Emmanuel Gil Peyrot
47bd3ab811 windows.misc: Type everything in this module. 2018-08-17 18:48:39 +01:00
Emmanuel Gil Peyrot
176b4ee9d3 windows.list: Type everything in this module. 2018-08-17 18:45:53 +01:00
Emmanuel Gil Peyrot
a208f895b4 windows.roster_win: Type everything in this module. 2018-08-17 18:36:53 +01:00
Emmanuel Gil Peyrot
d992344812 windows.inputs: Type almost everything in this module. 2018-08-17 18:36:53 +01:00
Emmanuel Gil Peyrot
c2dbaba41f windows.base_wins: Type almost everything in this module. 2018-08-17 18:36:53 +01:00
Emmanuel Gil Peyrot
db230d0b3e windows.input_placeholders: Type everything in this module. 2018-08-17 18:36:49 +01:00
Emmanuel Gil Peyrot
d340066936 windows.info_bar: Type everything in this module. 2018-08-17 18:36:43 +01:00
Emmanuel Gil Peyrot
4fc2338faa windows.confirm: Type everything in this module. 2018-08-17 18:36:37 +01:00
Emmanuel Gil Peyrot
45066d0eef windows.image: Type everything in this module. 2018-08-17 18:36:28 +01:00
Emmanuel Gil Peyrot
400a8e01a3 Add 0.12 to the appdata releases. 2018-08-17 11:29:08 +01:00
Emmanuel Gil Peyrot
f7c5447e0d Add a .desktop file. 2018-08-17 11:20:48 +01:00
mathieui
b4d3b93da2
Add typing information and reformat stuff 2018-08-17 02:16:03 +02:00
Emmanuel Gil Peyrot
6ccf7ea71d core: Add some more typing information. 2018-08-15 16:09:59 +02:00
Emmanuel Gil Peyrot
a6c5ac486b Type DelayedEvent, also in Core. 2018-08-15 15:51:31 +02:00
Emmanuel Gil Peyrot
edbbf759ce doc: Describe the first Debian release to have poezio. 2018-08-15 14:38:27 +02:00
mathieui
038e61068a
Fix an error introduced in the last commit 2018-08-15 14:30:08 +02:00
Emmanuel Gil Peyrot
1b48f9e63d rostertab, common: Use the default arg of os.getenv(). 2018-08-15 14:26:15 +02:00
mathieui
5ea82ac0af
Fix mypy errors, add type annotations 2018-08-15 14:23:00 +02:00
Emmanuel Gil Peyrot
cccb1d9759 logger: Simplify history loading, fixes mypy errors. 2018-08-15 13:50:18 +02:00
mathieui
b6e23355f1
Make pylint happy on plugins
It does not like dynamically defined attributes, unsurprisingly
2018-08-15 13:24:11 +02:00
mathieui
6e13b8b735
yapf -rip on plugins 2018-08-15 13:13:17 +02:00