mjentsch
1070b5a6e7
Cleanup and add a few notes
2016-02-07 18:23:12 +01:00
Ben Wiederhake
1e78c9685c
Merge branch 'master' into dev-1.3.0
...
Conflicts:
rpm/purple-telegram.spec
tgl
tgp-ft.c
2016-01-06 12:30:35 +01:00
mjentsch
10bac37b2c
Fix xfer memory leak
...
Prevent leaking of cancelled xfers and stop warning messages for
"un-completed" file transfers when closing Adium.
2016-01-04 17:37:54 +01:00
mjentsch
66ef529edb
Fix file transfer memory management
2016-01-03 00:29:53 +01:00
mjentsch
3b3a4eafc2
Merge branch 'dev-1.2.3' into dev-1.3.0
2015-12-30 16:32:28 +01:00
mjentsch
8fed82cc75
Fix writing messages to deleted buddies and cleanup
...
Do not depend on buddy list entries when looking up the ID from the user name, by maintaining a bi-directional mapping ID <-> username. Rename functions to make them more evident as something that operatos on the lookup. Cleanup blist functions by implementating generic iterator function over account buddies.
2015-12-28 17:44:49 +01:00
mjentsch
b828460886
Merge branch 'dev-1.2.3' into dev-1.3.0
2015-12-19 22:02:54 +01:00
mjentsch
97e295ddde
Fix format warning
2015-12-10 11:56:48 +01:00
mjentsch
bab470cf1f
Support posting documents to channels
2015-12-07 00:27:16 +01:00
Ben Wiederhake
2f467a2591
Fix missing inclusion
2015-11-25 20:31:44 +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
9a166cbc8b
Cleanup and coding guidelines
2015-11-21 22:43:16 +01:00
mjentsch
72070e0016
Fix potential segfault
2015-11-21 22:42:07 +01:00
mjentsch
2d90f3ea03
More cleanup and refactoring
2015-11-21 22:14:57 +01:00
mjentsch
0b0dbfd25e
Merge branch 'beta4' of https://github.com/EionRobb/telegram-purple into EionRobb-beta4
2015-11-21 01:14:06 +01:00
mjentsch
46b5fa25b9
Do not brick secret chats when sending documents
...
At least make sure to cancel _all_ file transfers to encrypted chats, until the secret chat file transfer issue is properly fixed.
2015-10-31 21:46:20 +01:00
mjentsch
81b64d7542
Fix "crashes" on name changes
...
Do not assume that a name for each ID can only be set once anymore.
Remove assertion that names always exist, return 0 instead and propagate
error handling to the calling function.
2015-10-31 20:09:31 +01:00
Eion Robb
8562eb342c
Allow compiling on Windows
2015-10-22 21:41:37 +13:00
majn
3824eae025
Fix empty file in pidgin after transfer
...
Fetch local filename before calling purple_xfer_end to avoid that the local filename contains bogus.
2015-10-18 01:21:18 +02:00
mjentsch
a3a35eb7ff
Do not drop history or break conversations when buddy print name changes
...
Do not update blist buddy names, but set an alias instead to prevent breaking conversations or loosing history. Instead, keep the first print name as permanent user name
and set the alias on all buddy name changes. When interacting with purple always use the original buddy name stored in the blist instead of the print name provided by libpurple.
This allows both, meaningful names in group chats and permanent identifiers in the buddy list, while still propagating names changes to the interface.
2015-10-16 00:08:24 +02:00
mjentsch
4eeb7f73c9
Overhaul username handling
...
Use print names instead of ids as usernames, to fix problems with "useless" user ids showing up for unknown users and in group chats. Remove workarounds like "Telegram Foreign" needed to temporarily store user names for alias resolution.
2015-10-11 14:17:24 +02:00
Ben Wiederhake
47bd4b2b33
Use new API, fix build system.
2015-10-04 17:51:49 +02:00
mjentsch
70b03b969c
Try to fix secret chat corruption
2015-08-25 21:54:15 +02:00
mjentsch
8af1991bc8
Update libtgl and fix receiving file transfers of audio and video documents
2015-08-22 13:34:53 +02:00
mjentsch
dc5bc8d039
Improve error handling
2015-08-01 23:34:00 +02:00
mjentsch
7be7fb12f4
Fix video and audio file names
2015-07-30 21:02:22 +02:00
mjentsch
82b36060b8
Fix progress of receiving file transfers in Adium
...
Set the xfer before requesting the xfer from the user, as this is the only time when Adium sets the xfer size in its controller class.
2015-05-24 14:55:26 +02:00
mjentsch
efb0f56598
improve secret chat error handling for unsupported features
2015-05-23 03:10:34 +02:00
mjentsch
87ae72a739
cleanup
2015-05-23 03:08:11 +02:00
mjentsch
e022b46ea0
Determine automatic filename, in case caption is missing
2015-05-23 03:07:44 +02:00
mjentsch
b415bbd3b4
Update to libtgl v2
2015-05-23 00:18:26 +02:00
mjentsch
0590862151
Add support for file transfers in encrypted chats
2015-03-13 00:18:01 +01:00
mjentsch
077edc19d5
Repository cleanup and coding guidelines
2015-03-13 00:17:35 +01:00
mjentsch
b67c4115ff
Repository cleanup and housekeeping
2015-03-12 01:56:16 +01:00
mjentsch
1b7dd971d8
Don't segfault when transfer filename is not set
2015-03-12 01:39:48 +01:00
mjentsch
deaa659895
Fix segfault in file transfer memory management
2015-03-04 22:37:59 +01:00
mjentsch
39c9d6d5b4
Fix file transfer progress in Adium
...
Set sent bytes to file size manually, since Adium won't do it automatically and also wont display the file transfer as completed as a result.
2015-02-28 15:44:59 +01:00
mjentsch
9fca523161
Implement file transfer in Adium Plugin
...
Implement file transfer protocol in Plugin and fix a few things that stopped old file handling from working with Adium.
2015-02-25 22:53:28 +01:00
mjentsch
c9aab9c8eb
Support file transfers
2015-02-23 20:34:24 +01:00