summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'telepathy-idle-0.2'HEADmasterAlexander Akulich2020-11-0122-59/+74
|\
| * Update NEWS for 0.2.2 releasetelepathy-idle-0.2.2telepathy-idle-0.2Alexander Akulich2020-11-011-1/+11
| |
| * Meson: Omit twisted_tests arg (make the script read it from file)Alexander Akulich2020-11-011-1/+0
| | | | | | | | | | Meson pass the argument without quotes and the script accept only $1. Just omit the argument to make script read the tests list from file.
| * Adjust tests/twisted/tools/exec-with-log.sh to optionally omit libtoolAlexander Akulich2020-11-012-1/+6
| |
| * Make .in script files executable (for the sake of Meson)Alexander Akulich2020-11-012-0/+0
| |
| * Tests: Omit messages/invalid-utf8.py for nowAlexander Akulich2020-11-012-2/+4
| |
| * Port tests to Python 3Alexander Akulich2020-11-0113-42/+41
| |
| * Meson: Fix the build for 0.2 branchAlexander Akulich2020-11-012-2/+1
| |
| * Meson: Use Python 3Alexander Akulich2020-11-012-4/+4
| |
| * NEWS: Fix 0.2.1 release notesAlexander Akulich2020-11-011-3/+0
| |
| * Prepare 0.2.2 releaseAlexander Akulich2020-11-013-2/+5
| |
* | Merge branch 'telepathy-idle-0.2'Alexander Akulich2020-11-0121-42/+535
|\ \ | |/
| * Prepare 0.2.1telepathy-idle-0.2.1Alexander Akulich2020-11-012-2/+32
| |
| * build: Add meson build systemJan Tojnar2020-11-0111-0/+406
| |
| * Handle modechars properlyDaniel Landau2020-11-011-2/+6
| | | | | | | | | | Never strip out modechars unless we are explicitly trying to parse a nickname with modechars, i.e., atom 'C'
| * Channel names can start with a '!'Daniel Landau2020-11-011-1/+3
| | | | | | | | | | | | | | | | According to RFC2811 (https://tools.ietf.org/html/rfc2811#section-3.2) channel names can start with a bang. Without this check the initial bang gets stripped out and Telepathy tries to ensure as a channel without the prefix. That obviously fails, leading to the messages from that channel arriving as "private" messages.
| * fix compilation on GCC 9.x, add #pragmaDavid Heidelberg2020-11-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: In function 'strncpy', inlined from 'idle_server_connection_send_async' at idle-server-connection.c:593:2: /usr/include/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound 512 equals destination size [-Werror=stringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Signed-off-by: David Heidelberg <david@ixit.cz>
| * tools/make-release-mail: Update from telepathy-glib (fix for python 3)Alexander Akulich2020-11-011-7/+16
| |
| * Properly handle long IRC messagesMichael Catanzaro2020-11-011-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | IRC messages are delimited by CRLF. When the string passed to idle_parser_receive() doesn't end in \r or \n, the remaining parts get stashed away to be used to form a message on the next call to idle_parser_receive(). But telepathy-idle improperly assumes that the next call to idle_parser_receive() will definitely contain \r or \n, i.e. it assumes that an IRC message cannot be split between three calls to idle_parser_receive(). That assumption is wrong. Fixes polari#147
| * Fix build with python3Michael Catanzaro2020-11-012-11/+6
| | | | | | | | | | | | Hello from 2020! Fixes taken from Bastien's Fedora patches. Thanks Bastien!
| * idle-connection: make sure to always reset force_disconnect_idGuillaume Desmottes2019-10-121-0/+1
| | | | | | | | | | | | Recent GLib raises a critical when trying to remove an invalid source. (cherry picked from commit 12211654baa75db13a05b5c2b3293d1378fcf7a2)
| * Returning FALSE from the timer function causes the timeout to be destroyedDiane Trout2017-11-061-0/+1
| | | | | | | | | | | | | | | | I asked one of the polari devs and was told that yes it is ok to set the timer id to zero in the timer function. With this patch make check works without changing any of the expected test results and without any coredumps
| * Avoid errors from Python caused by the deliberatly invalid UnicodeDiane Trout2017-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | Because stream.nick is Unicode when sendMessage combines the command, nick, and invalid utf8 python 2.7 ends up converting everything to Unicode. Since this test deliberately includes invalid Unicode, Python notices and throws an exception. In Python 3, network traffic is usually encoded as bytes. So I thought coercing the nick to bytes would be appropriate, and as bytes can contain anything including invalid Unicode, Python doesn't throw an exception.
| * Update self-signed certificate to 2048 bytes with SHA-256 signatureDiane Trout2017-11-042-15/+43
| | | | | | | | Valid for 10 years
| * ctcp: Don't bling the non-blingFlorian Müllner2016-02-251-2/+7
| | | | | | | | | | | | | | | | | | | | When stripping color codes, we currently remove any sequence of digits following ^C. As color codes use at most two digits, this means that we also remove any numbers at the start of the colored text - make sure we stop doing that and only remove digits that are actually part of a color code. https://bugs.freedesktop.org/show_bug.cgi?id=94189
* | ctcp: Don't bling the non-blingFlorian Müllner2016-02-251-2/+7
| | | | | | | | | | | | | | | | | | | | When stripping color codes, we currently remove any sequence of digits following ^C. As color codes use at most two digits, this means that we also remove any numbers at the start of the colored text - make sure we stop doing that and only remove digits that are actually part of a color code. https://bugs.freedesktop.org/show_bug.cgi?id=94189
* | idle-connection: make sure to always reset force_disconnect_idGuillaume Desmottes2014-02-141-0/+2
| | | | | | | | Recent GLib raises a critical when trying to remove an invalid source.
* | Use telepathy-glib 0.23 for Renaming interfaceSimon McVittie2014-01-074-108/+12
| | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=25147 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* | Sync constants from Gabble masterSimon McVittie2014-01-071-14/+109
| | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=25147 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* | Require telepathy-glib 0.23Simon McVittie2014-01-071-3/+3
| | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=25147 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* | IRC_Command: fix copyrightGuillaume Desmottes2013-10-161-3/+1
| |
* | IRC_Command: prevent user of sending commands for which we have proper APIGuillaume Desmottes2013-10-153-0/+64
| |
* | IRC_Command: explain why the command is in UTF-8Guillaume Desmottes2013-10-151-0/+3
| |
* | IRC_Command: remove errors that doesn't make sense for Send()Guillaume Desmottes2013-10-151-3/+0
| |
* | IRC_Command: add Send() exampleGuillaume Desmottes2013-10-151-0/+3
| | | | | | | | | | I deliberately picked an example using a non standard IRC command as this interface is not meant to be used as a substitute for proper Telepathy API.
* | Rename IRC_Command interface to IRCCommand1Simon McVittie2013-10-155-9/+9
| | | | | | | | | | Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=70434
* | distribute Irc_Command interface in tarballsSimon McVittie2013-10-151-1/+3
| | | | | | | | | | | | | | Not doing so breaks distcheck. Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=70434
* | add IrcCommand extensionGuillaume Desmottes2013-10-135-0/+98
| | | | | | | | Used to send arbitrary IRC commands to the server.
* | Remove GLib < 2.32 code pathsSimon McVittie2013-10-112-8/+0
| | | | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54114 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* | configure.ac: consistently use AS_IF instead of if/fiSimon McVittie2013-10-111-13/+12
| | | | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54114 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* | Bump Autoconf dependency to 2.60 for AC_MKDIR_PSimon McVittie2013-10-111-1/+1
| | | | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54114 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* | Use AC_PROG_MKDIR_P/MKDIR_P, not deprecated AM_PROG_MKDIR_P/mkdir_pSimon McVittie2013-10-102-2/+2
| | | | | | | | | | | | | | Similar to MC commit 04dd9b4. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=70045 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* | Use subdir-objects (compile a/b.c to a/b.lo, not ./b.lo)Simon McVittie2013-10-101-1/+1
| | | | | | | | | | | | | | | | Automake 2 will make this the default, and 1.14 warns about not using it. Equivalent to MC commit 1f11065. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=70045 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* | Put Autoconf, Automake, Libtool droppings in /build-auxSimon McVittie2013-10-102-0/+2
| | | | | | | | | | | | | | | | This is basically Mission Control commit c3cba937, requested in <https://bugs.freedesktop.org/show_bug.cgi?id=69542>. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=70045 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* | Merge branch 'telepathy-idle-0.2'Guillaume Desmottes2013-10-032-2/+9
|\ \ | |/ | | | | | | Conflicts: configure.ac
| * set nano versionGuillaume Desmottes2013-10-031-1/+1
| |
| * 0.2.0telepathy-idle-0.2.0Guillaume Desmottes2013-10-032-2/+9
| |
* | stop using RequestHandles()Guillaume Desmottes2013-09-233-6/+3
| | | | | | | | It will be deprecated in Telepathy 1.0
* | room-list-channels: use CHANNEL_TYPE_ROOM_LISTGuillaume Desmottes2013-09-231-1/+1
| |
* | stop using InspectHandles()Guillaume Desmottes2013-09-231-1/+1
| | | | | | | | Will be removed in Telepathy 1.0