mjentsch
706a28a4e6
Add xCode project files for an Adium telegram plugin
2014-10-04 20:32:59 +02:00
mjentsch
334101c406
Improve logging system
2014-10-03 14:23:15 +02:00
mjentsch
89ddae23ef
Restart ping-timer on read
2014-10-02 12:49:46 +02:00
mjentsch
7c69af9b00
Remove unused code
2014-10-02 12:46:19 +02:00
mjentsch
5c488f9c8d
Support downloads from foreign DCs
2014-10-02 12:29:02 +02:00
mjentsch
7fa1600e0b
Add log output for received message types
2014-09-20 10:04:40 +02:00
mjentsch
4a062b764f
Use a separate handles for each mtproto_connection
2014-09-17 22:51:46 +02:00
mjentsch
f0447fa958
Free all pending timers and queries after erroring
2014-09-06 01:09:47 +02:00
mjentsch
d94dc52df0
Remove remaining global variables
2014-09-01 21:43:22 +02:00
mjentsch
5a425be62f
Remove unused code and build files
2014-08-23 12:57:38 +02:00
mjentsch
54091b26e3
Log all output of verbosity-level 1 to libpurple log
2014-08-22 17:39:05 +02:00
mjentsch
1170ae5710
Implement state machine for dc discovery and login.
2014-08-08 08:45:58 +02:00
mjentsch
9e5b4ca5ec
Refactor - Intermediate Commit 3
2014-08-06 19:45:46 +02:00
mjentsch
8a2c043db4
Refactor - Intermediate Commit 2
2014-07-29 15:36:59 +02:00
mjentsch
ed7aa7de5b
Refactor Intermediate State 1
2014-07-29 15:36:59 +02:00
mjentsch
d712b7e17f
Add possibillity to listen to created users, chats and groups with event handlers and add some ability to exchange output functions with own callbacks
2014-06-22 23:36:52 +02:00
mjentsch
62090b3ca0
Implement login and authentication mechanism and fix the logging mechanism
...
Use purple debugging functions by formatting the string beforehand and then passing the readily formatted string, instead of doing it with va_list. Log into the telegram network using the provided SMS code and hash or request a new one, in case one of those isn't provided. Store and load the state using the file config/auth, to be able to restore previous logins.
2014-06-15 13:38:38 +02:00
Vysheng
0c6efc6234
Added cygwin fixes
2014-01-30 15:01:16 +04:00
Vysheng
24e7f07560
maybe fixed conn restart
2014-01-27 21:23:58 +04:00
antma
eb2bc7f0ff
fix #include "config.h" for all source files
2014-01-13 17:05:25 +04:00
vysheng
0a9532dc48
Merge branch 'master' of https://github.com/antma/tg
...
Conflicts:
tools.c
2014-01-10 21:16:26 +04:00
antma
3ec80b7ac7
enhance portability (replace void* by char*)
...
When using void pointers in calculations, the behaviour is undefined. Arithmetic operations on 'void *' is a GNU C extension, which defines the 'sizeof(void)' to be 1.
2014-01-10 19:04:27 +04:00
vysheng
feed5229b5
free->tfree. Memory checks, if compiled with -DDEBUG
2014-01-10 18:37:56 +04:00
antma
bb24fba98f
check return values of strdup and malloc
...
add talloc0 function (malloc and zero fill)
check return values of arithmetic openssl BN_* functions
check return values of BN_bin2bn function
remove useless BN_init calls right after BN_new
fix 2 small memory leaks
2014-01-10 15:32:57 +04:00
Vysheng
2cfe58c1a9
fixed acks
2014-01-02 22:52:41 +04:00
vysheng
73b17ee19d
Added more checks on g_a and g
2013-12-24 15:29:18 +04:00
vysheng
6e39eead6f
Merge https://github.com/lwhsu/tg
2013-12-20 17:44:30 +04:00
vysheng
658c45c94c
Fixed time format in logs
2013-12-18 21:57:51 +04:00
vysheng
cd3c22fa66
Fixed log
2013-12-18 19:42:53 +04:00
vysheng
3b033ea3ff
Added dump packets to file
2013-12-18 19:21:49 +04:00
Li-Wen Hsu
bb53f75e2b
Make it compile on FreeBSD.
2013-12-17 02:30:36 +08:00
Vysheng
ae29e1d933
Many fixes.
2013-12-02 21:19:08 +04:00
vysheng
a1ea8bd69c
Added full support for layer 10
2013-11-15 14:37:14 +04:00
vysheng
4fdb69a85f
Maybe it would compile on mac now
2013-11-11 15:34:45 +04:00
vysheng
92b65f2dc0
Added libconfig to parse config. Something fixed in net
2013-11-08 22:58:28 +04:00
vysheng
87a35ca588
Some fixes in network
2013-11-07 22:31:58 +04:00
vysheng
6360eeb7dd
Fixes some bugs in network
2013-11-07 21:37:12 +04:00
Vysheng
352bea698c
Interface fixes
2013-10-26 23:57:22 +04:00
Vysheng
177f0ac25a
Sometimes client can recover from network loss
2013-10-26 19:32:20 +04:00
Vysheng
045467b0df
Fixed needed msg len
2013-10-23 21:56:29 +04:00
vysheng
e5cc589a0f
Added GPL-headers to source files
2013-10-23 18:26:17 +04:00
Vysheng
a8a18a8076
Sometimes updates work
2013-10-16 23:19:39 +04:00
Vysheng
bf291df34a
Many fixes. Now (maybe) works authorization and get contact list query
2013-10-13 14:18:08 +04:00
Vysheng
3243c29a8c
Big commit
2013-10-12 00:52:20 +04:00