Commit graph

1428 commits

Author SHA1 Message Date
Ben Wiederhake
489ada1d2e PNG support: build-time tests 2017-08-11 09:48:03 +02:00
Ben Wiederhake
3d40754d7f Regenerate ./configure script 2017-08-11 09:36:25 +02:00
Vasiliy Vylegzhanin
673dee1fde Replaced png buffer with GByteArray 2017-08-11 00:41:23 +03:00
Vasiliy Vylegzhanin
f1889d8870 Replaced malloc with g_new0 from glib 2017-08-11 00:41:14 +03:00
Vasiliy Vylegzhanin
185c77b9d4 unflip image 2017-08-11 00:40:42 +03:00
Vasiliy Vylegzhanin
ed2cee3f74 Added png support
With libpng enabled stickers are converted to png instead of tga.
2017-08-10 00:06:02 +03:00
mjentsch
af200e0b38 Support for messages replies 2017-07-17 00:13:40 +02:00
mjentsch
1b9b25cfa6 Drop old history correctly 2017-06-30 23:11:40 +02:00
Ben Wiederhake
2e303492b9 Fix imagined buffor overflow in tgl on 32-bit 2017-06-26 22:16:42 +02:00
Ben Wiederhake
ceec1a9435 Fix existance check when kicking
The effect of this bug was that kicking a non-existant user crashed pidgin.
Whoops.

Cannot be a 'g_return_if_fail', as that would leave
messages looking like errors in the log.
2017-06-21 21:34:52 +02:00
Ben Wiederhake
66ce19898c Re-generate NSI file, fix dependency bug in Makefile 2017-06-21 21:27:49 +02:00
Ben Wiederhake
87abf57060 l10n: generalize language names, re-add Spanish (sorry!) 2017-06-21 21:26:27 +02:00
Ben Wiederhake
38a4c095c7 Update copyright years
I can't believe that the copyright notice in Makefile.in was
forgotten for over a year.  Whoops.
2017-06-21 21:25:38 +02:00
Ben Wiederhake
0a4ab8a419 Makefile.in: factorize CFLAGS and LDFLAGS 2017-06-17 15:14:57 +02:00
Ben Wiederhake
da805f8c02 Import new tgl version (mostly win32 fixes) 2017-06-17 15:14:57 +02:00
Ben Wiederhake
cb96ff77aa Fix "rpl_malloc not found" when cross-compiling, re-run autoreconf
AC_FUNC_MALLOC & AC_FUNC_REALLOC cause link errors when cross-compiling.

It seems the preferred solution is to just remove them, and optionally adding
them to the AC_CHECK_FUNCS section.

Examples:
- https://github.com/LLNL/ior/issues/4
- 47331724c1
- 6667e4cb91
  (used as template for this commit message; thanks!)
- https://rickfoosusa.blogspot.de/2011/11/howto-fix-undefined-reference-to.html
- c58d62b509
2017-06-16 17:20:00 +02:00
Ben Wiederhake
550dc485c0 Strip Pidgin's broken <span> markers
Fixes #305, fixes #339, fixes #394

Quick and dirty solution, by just checking for these tags by string matching.
This technically introduces a new bug:
If pidgin adds *two* tags like this:
    <span>First text</span><span>Second text</span>
… then everything goes bad.  We won't try to salvage messages which are broken like this.
2017-06-15 20:31:53 +02:00
Anton Khirnov
78e920337c Add support for connecting via IPv6.
Enabled through a new "ipv6" option.
2017-05-31 22:02:42 +02:00
mjentsch
0c9fa0b230 Handle roomlist requests during connection 2017-05-16 23:12:54 +02:00
mjentsch
8c19fd44b9 Revert "Set the roomlist progress for compatibility"
This reverts commit 7dc7f61ca4.
2017-05-16 23:12:54 +02:00
Ben Wiederhake
05b24fc52d Reduce usage of -Werror
Affects #288, and potentially Affects #381
2017-04-17 17:03:24 +02:00
Ben Wiederhake
798fc13578 Add translation comments 2017-04-12 01:23:20 +02:00
Ben Wiederhake
72102258ab Create new POT file, initiate new translation cycle 2017-04-12 00:58:33 +02:00
Ben Wiederhake
6679d14882 Auto-test installation routines 2017-04-12 00:58:33 +02:00
Ben Wiederhake
11a14a0784 Don't 'install' non-existant file 2017-04-12 00:50:03 +02:00
mjentsch
755929bffb Remove public key from adium project 2017-04-11 22:55:43 +02:00
mjentsch
98c655b49d Clarify chat handling option
Clarify that the file transfer handling option refers to file
transfers bigger than the threshold
2017-04-11 22:35:10 +02:00
mjentsch
43ef291cb8 Merge branch 'dev-1.4.0' of https://github.com/majn/telegram-purple into dev-1.4.0 2017-04-11 21:56:23 +02:00
mjentsch
7dc7f61ca4 Set the roomlist progress for compatibility
Spectrum2 doesn't seem to display the roomlist
without it, see #365
2017-04-11 21:43:19 +02:00
Ben Wiederhake
a443ee1a5a Merge pull request #374 from BenWiederhake/dev-builtinkey-debian
Don't use a file for the pubkey; merge Debian stuff

- Don't use a file for the pubkey: Reading the pubkey caused a lot of pain in the past. Nobody complained about the format change, and there is only one Telegram pubkey anyway. So it's reasonable to assume that this feature is completely pointless. Also, tgl carries a hardcoded copy of the key anyway. So reading the key from memory instead of the filesystem is much less painful, and has essentially no cost.
- merge Debian stuff: I stopped trying to push this into the Debian repository, since Telegram, tgl, and telegram-purple are too fast-paced and unstable. However, there was someone who wanted a package, and I dislike the bad state of the Ubuntu package. Including this complete and up-to-date debian/ folder means: users can easily build their own .deb package, and the Ubuntu package will hopefully see an increase in quality (at least debian/copyright, please).
2017-04-11 12:01:37 +02:00
mjentsch
1567e17883 Merge branch 'dev-1.3.1' into dev-1.4.0 2017-04-11 08:25:19 +02:00
Ben Wiederhake
6c3f37392a Update documentation about Debian 2017-04-10 23:44:46 +02:00
Ben Wiederhake
0e585650c4 Update Debian links 2017-04-10 23:31:20 +02:00
Ben Wiederhake
d93c601446 Merge branch 'debian-develop' into dev-1.4.0 2017-04-10 23:17:00 +02:00
Ben Wiederhake
784489392c Tell explicitly that all checks have passed 2017-04-10 23:15:40 +02:00
Ben Wiederhake
edc06b82c5 Remove public key from repo 2017-04-10 23:15:40 +02:00
Ben Wiederhake
53c92303a2 Don't read pubkey from file anymore 2017-04-10 23:15:39 +02:00
Ben Wiederhake
512eeed013 Update nsi file to reflect changes in po/LINGUAS 2017-04-10 23:15:39 +02:00
Ben Wiederhake
05d1d512cf Silence warnings about bad .po files
Sadly, Transifex doesn't seem to acknowledge that the generated files
are bad.  Also, I don't want to introduce any infrastructure to
fix the files every time after I download them.
So they stay broken, and the warnings must be silenced.
Sadly, this means that future warnings will get ignored, too.
Let's hope this won't go too bad.
2017-04-10 22:18:17 +02:00
mjentsch
6fd109bfca Increase version to 1.3.1 2017-04-09 13:48:52 +02:00
mjentsch
712bc530c6 Add option to auto-load or discard file transfers 2017-04-02 19:23:52 +02:00
mjentsch
e097f38278 Refactoring 2017-04-02 19:23:52 +02:00
Ben Wiederhake
ada2c9aa1f AppStream: import translations from Transifex. Thanks to samant! 2017-03-13 23:36:27 +01:00
Ben Wiederhake
42c9ea8a3a AppStream: fix target order
Ahh, right, thankyou make, for reminding me that 'all' isn't actually
any automagically chosen target that is chosen when no target has been
specified.  No, instead, the first target is chosen.
And not just any target!  Only the first non-templated target is chosen,
so in this case: po/telegram-purple.metainfo.xml.pot .

However, in our case that's utterly pointless, so 'all' needs to
be on top again.  I should have known there was an important reason.
2017-03-13 23:35:59 +01:00
Ben Wiederhake
2ffa9e176a Import translations from Transifex. Thanks to eischmann, raven, savant! 2017-03-13 23:30:39 +01:00
mjentsch
77d50c3ae1 Merge branch 'EionRobb-group-typing-notifications' into dev-1.4.0
Merges pull request #359
2017-03-13 22:32:15 +01:00
mjentsch
ea0efaeab7 Merge branch 'dev-1.4.0' of https://github.com/majn/telegram-purple into dev-1.4.0 2017-03-13 22:28:38 +01:00
mjentsch
942e7c6244 Include autoloading for all types of documents and improve document captions 2017-03-13 22:28:10 +01:00
mjentsch
72151e7cbd Increase default file size download threshold
Far too many files are bigger than 8mb, we need a more pleasant default behavior
2017-03-13 21:56:49 +01:00
Eion Robb
0446ca2b9b Support typing notifications using the group-typing-notifications plugin
See https://github.com/EionRobb/pidgin-groupchat-typing-notifications
2017-03-13 22:27:01 +13:00