Commit Graph

46 Commits

Author SHA1 Message Date
vysheng
75194f4552 Update loop.c 2014-02-25 23:31:27 +03:00
vysheng
a5b6f93a66 Fixed 'call' method from jerbob92 2014-02-24 15:27:30 +04:00
Jeroen Bobbeldijk
f6fe5765d2 Fully working phone call support, might need some tweaks and checks 2014-02-24 07:59:20 +01:00
Vysheng
f647b8f0f3 Fixed registration. Fixed possible SIGSEGV in create_print_name 2014-02-07 19:40:39 +04:00
Vysheng
57cff060a3 Added -W key to wait dialog list before processing input 2014-02-03 19:50:57 +04:00
Vysheng
3b7dc309a4 Fix for non-binlog version 2014-02-01 00:19:55 +04:00
vysheng
e209e35f11 restored _GNU_SOURCE for getline in FreeBSD 2014-01-13 16:58:14 +03:00
antma
c4fd38a894 remove useless #define _GNU_SOURCE from not using asprintf sources 2014-01-13 17:12:39 +04:00
antma
e27a27c4a0 fix #include "config.h" for all source files 2014-01-13 17:05:25 +04:00
Vysheng
6b0d354e69 Added partial lua support 2014-01-12 04:43:29 +04:00
vysheng
f06d3c1625 free->tfree. Memory checks, if compiled with -DDEBUG 2014-01-10 18:37:56 +04:00
antma
365ebd3ecd remove undefined behavior flush (stdin) call
http://stackoverflow.com/questions/2979209/using-fflushstdin
2014-01-10 16:21:34 +04:00
antma
3795a77618 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
069fe471ed Added safe_quit query. Useful in pipe mode 2013-12-21 15:53:32 +04:00
vysheng
29ed574e3c Merge https://github.com/lwhsu/tg 2013-12-20 17:44:30 +04:00
Li-Wen Hsu
1339a4adad Define _GNU_SOURCE for getline(3) 2013-12-19 02:14:40 +08:00
vysheng
28dd0f0e46 Added dump packets to file 2013-12-18 19:21:49 +04:00
Li-Wen Hsu
efdaafe0b2 Make it compile on FreeBSD. 2013-12-17 02:30:36 +08:00
Vysheng
725c6669a7 Manty fixes. Mostly binlog for messages 2013-11-30 01:43:56 +04:00
Vysheng
f4ac638c72 Fixed binlog. Added state file to binlog 2013-11-22 01:40:31 +04:00
Vysheng
06dee8bdbd Sometimes new binlog works 2013-11-21 23:35:49 +04:00
Vysheng
8ad5053c66 Partial support for binlog. It now can track user, secret chat and auth updates. 2013-11-15 04:08:24 +04:00
vysheng
0d99482877 Added files for binlog 2013-11-13 04:11:25 +04:00
vysheng
65edc1789b Maybe it would compile on mac now 2013-11-11 15:34:45 +04:00
vysheng
6ce15fda97 Added configure script. Some interface fixes 2013-11-10 02:47:19 +04:00
vysheng
c04a0f5d6a Added libconfig to parse config. Something fixed in net 2013-11-08 22:58:28 +04:00
vysheng
d0f9832b8d Fixed bug in restarting in starting encrypted chat 2013-11-06 02:53:40 +04:00
vysheng
d0adb13107 Support for chat create 2013-11-06 02:24:26 +04:00
vysheng
923845d668 Partial support for encrypted chats. 2013-11-04 21:34:27 +04:00
vysheng
0819dcf09d Somthing fixed. Don't know what 2013-11-01 23:57:57 +04:00
vysheng
c4e3052db6 Fixed inerface 2013-10-30 04:08:30 +04:00
vysheng
16b8105df8 Fixed fail. Removed some debug output 2013-10-28 21:51:54 +04:00
Vysheng
efb1b482f2 Fixed change from v1 of auth file to v2 2013-10-28 03:24:03 +04:00
vysheng
14fd4006ba Changed authorization. Sorry, if that fails anything. Now supports download of photos from other DC 2013-10-28 03:10:40 +04:00
vysheng
62f7295ff7 Load photo/video. Now works only with current DC. 2013-10-27 23:35:02 +04:00
Vysheng
d0301b3252 Interface fixes 2013-10-26 23:57:22 +04:00
Vysheng
2961f108ec Ask dialog list at start. Try resend query on timeout 2013-10-25 02:32:13 +04:00
vysheng
65c5cbe137 Added unread count 2013-10-24 19:44:54 +04:00
vysheng
e5cc589a0f Added GPL-headers to source files 2013-10-23 18:26:17 +04:00
vysheng
94d55325b4 Added chat_info query. Fixed interface 2013-10-23 14:24:59 +04:00
vysheng
6cc1b3d349 Fixed small bug. Changed interface 2013-10-18 23:30:24 +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
vysheng
f773c0cf18 tab replaced with spaces 2013-10-03 20:10:53 +04:00
vysheng
9c70da9ed7 many fixes 2013-10-03 20:09:06 +04:00
vysheng
78f4d71855 Added some files 2013-10-03 16:38:25 +04:00