Commit Graph

78 Commits

Author SHA1 Message Date
vvaltman
9c10283f6d Fixed missing include on some systems 2014-09-21 13:07:06 +04:00
vvaltman
091b0608cb Added listening socket support 2014-09-21 02:22:35 +04:00
Vysheng
04630cb0e9 Added reset authorization key 2014-09-18 17:57:23 +04:00
vvaltman
5cb5b1cfd2 Run get_differece on new_session_created 2014-09-15 12:45:17 +04:00
Vysheng
83be082cec Deleted unneeded code 2014-09-11 14:33:12 +04:00
Vysheng
84905f07de Changed default DC. Fixed memory leak 2014-09-11 14:28:56 +04:00
Vysheng
2e0a7fda26 Check return values of malloc, realloc, strdup and strndup 2014-09-11 13:24:06 +04:00
Vysheng
3f9d921782 Fixed fail when trying to send emssage before get_difference end 2014-09-10 21:54:41 +04:00
vvaltman
4fe0014a66 Added [-D] (disable output) key 2014-09-09 21:05:36 +04:00
vvaltman
9f8828fc6a Try to add support of libevent 1.4.* 2014-09-07 23:12:39 +04:00
vvaltman
5e9574ab10 Fixed secert_chat_file read 2014-08-31 21:24:39 +04:00
vvaltman
130aed7013 Fixed fail on startup 2014-08-31 21:15:49 +04:00
vvaltman
f5e6e3aa6b support for secret chats file in no-binlog mode 2014-08-31 18:18:19 +04:00
vvaltman
e179f25fe9 Added PFS support. Parallel auth_key generation. Small bug fixes 2014-08-29 17:33:15 +04:00
vvaltman
1602a33b45 Fixed work with updates 2014-08-27 19:12:45 +04:00
vvaltman
a00f67c3a8 Added disable_readline. Do not try read stdin, after end of stdin reached 2014-08-26 22:26:00 +04:00
vvaltman
f344aec7c9 Updates in lua callbacks 2014-08-26 20:06:30 +04:00
vvaltman
49eb22916b interface updates 2014-08-25 04:11:41 +04:00
vvaltman
e57b7064bb Fixed licenses. libtgl is now distributed under LGPL 2.1+ 2014-08-22 02:02:43 +04:00
vvaltman
5064b17d69 Updated unread notification 2014-08-22 00:35:27 +04:00
Vysheng
e5f524b0a8 fix queries_num 2014-08-22 15:45:16 +04:00
vvaltman
d33d24d1f0 changes 2014-08-21 07:24:52 +04:00
Vysheng
839e9cd448 fixes 2014-08-21 20:28:01 +04:00
Vysheng
6707c11952 updates 2014-08-21 19:38:51 +04:00
vvaltman
f58b812b06 Fixes 2014-08-20 20:36:45 +04:00
vvaltman
cedc1d17d4 many fixes 2014-08-15 02:16:01 +04:00
Vysheng
e2e7d0c906 fixes 2014-08-15 18:57:43 +04:00
Vysheng
b12ca53816 many updates 2014-08-14 22:03:33 +04:00
vysheng
fe08f0c5e7 more code 2014-08-14 01:31:24 +00:00
Vysheng
bf86f75604 fixes 2014-08-13 19:55:16 +04:00
Vysheng
418cad58d1 Some refactoring 2014-08-13 16:56:55 +04:00
vysheng
811df367cd Updates 2014-08-12 09:59:59 +00:00
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