Commit graph

37 commits

Author SHA1 Message Date
mjentsch
b828460886 Merge branch 'dev-1.2.3' into dev-1.3.0 2015-12-19 22:02:54 +01:00
mjentsch
9f34c13384 Fix reconnect failing
Fail complete connection when a reconnect to the main data center fails.
2015-12-12 00:55:21 +01:00
mjentsch
7a6792ff04 Update copyright strings
Add current year where its left out, add missing authors and remove authors without any contributions in that file.
2015-12-05 20:40:08 +01:00
Ben Wiederhake
b44a218b22 Clean up strings 2015-11-26 08:23:25 +01:00
Ben Wiederhake
b5521b1688 Polish some more 2015-11-26 08:23:25 +01:00
Ben Wiederhake
954ed6048b Clarify messages, use 'please' where appropriate 2015-11-26 08:23:25 +01:00
mjentsch
04bc03bebf Clean up the include mess
Keep all libtgl and telegram-purple includes in telegram-purple.h to prevent duplication of all those includes. Remove redundant includes.
2015-11-23 03:06:30 +01:00
mjentsch
2d90f3ea03 More cleanup and refactoring 2015-11-21 22:14:57 +01:00
mjentsch
602edc8b5f Cleanup and coding guidelines 2015-11-21 16:30:50 +01:00
mjentsch
a44600a0ac Fix static analysis warning 2015-11-21 16:24:17 +01:00
Eion Robb
a8bad2e361 Use send()/recv() on sockets
and apply it to the right branch this time
2015-10-24 11:11:42 +13:00
Eion Robb
8562eb342c Allow compiling on Windows 2015-10-22 21:41:37 +13:00
Matthias Jentsch
728da04d3c Try to fix failing reconnect after hibernate 2015-10-19 19:05:50 +02:00
Ben Wiederhake
6e7e9ce862 Fix translations to be at least passable. 2015-10-07 22:07:56 +02:00
mjentsch
ffef370ae1 Translate a few more left-out strings 2015-10-06 14:37:12 +02:00
mjentsch
8009b8c0ac Translate strings in telegram-purple 2015-10-06 14:37:12 +02:00
Ben Wiederhake
7ad9a0a45c Fix inclusion type. 2015-10-04 17:51:49 +02:00
Ben Wiederhake
57e6a777d9 Build telegram-purple and libtgl without OpenSSL (skip when bisecting).
This version still tries to load a PEM file, although libtgl
--disable-openssl does not support it. Since there are several
ways to resolve it, this switch away from OpenSSL and its solution
should be different commits.
2015-10-04 17:51:49 +02:00
mjentsch
8a80eeccae Remove network logging temporarily 2015-08-29 13:44:26 +02:00
mjentsch
ed1f91123e remove unused functions and clean up 2015-07-11 17:44:49 +02:00
mjentsch
51064e06b4 Update tgl version 2015-07-11 17:41:50 +02:00
mjentsch
5588de63f0 Fix logging 2015-06-15 21:04:58 +02:00
mjentsch
c3abf27376 Add support for displaying stickers in chats 2015-05-24 00:22:31 +02:00
mjentsch
b415bbd3b4 Update to libtgl v2 2015-05-23 00:18:26 +02:00
mjentsch
65f8c4aa6e Handle DC updates during authentication 2015-04-06 16:37:01 +02:00
mjentsch
b67c4115ff Repository cleanup and housekeeping 2015-03-12 01:56:16 +01:00
mjentsch
c3445be62f Fix debug logging linebreaks 2015-01-30 01:08:00 +01:00
mjentsch
adc429beb4 Fix coding style and remove old commented-out code 2015-01-23 20:56:50 +01:00
mjentsch
5553de65f6 Remove exponential timeouts to prevent segfaults
Do not create the reconnection timeout, since we don't use it anymore and it caused segfaults.
2015-01-09 11:56:03 +01:00
mjentsch
c1ab317f1b Error connection instead of reconnecting
Reconnection attempts are expected to be handled by libpurple and not by the protocol plugin, so it is visible to the user when the connection is not working.
2014-12-31 16:17:11 +01:00
mjentsch
d08e54d3e0 Move functions and defintions for plugin-internal structs into separate file and fix memory leak 2014-12-26 18:54:12 +01:00
vvaltman
68d69e1da8 Use latest version of tgl 2014-11-27 21:53:21 +03:00
mjentsch
d755992821 Prevent infinite loop on lost network connection
Increase the timeout exponentially on failed connections to prevent an infinite loop of reconnects.
2014-11-21 16:03:17 +01:00
mjentsch
54f6a29456 Accept conn_failed as valid state on timeouts
When the internet connection is lost, in some cases libpurple can return a file descriptor without any error that is still not writable or readable. In that case, the connection would remain in the state conn_error until the next ping timeout, which has been causing an assertion error until now.
2014-11-21 16:03:17 +01:00
mjentsch
ef23a1b589 Fix coding guidelines 2014-11-16 17:56:55 +01:00
mjentsch
363c170550 Free read-event properly in tgln_free 2014-11-15 01:14:29 +01:00
Vysheng
8f69d8d11d Slightly working version 2014-11-11 20:21:14 +03:00