Commit Graph

95 Commits

Author SHA1 Message Date
Vysheng
a65dcf16a7 added secret_chat_rekey function 2014-11-13 19:22:12 +03:00
Vysheng
2c340e59bf Detached libtgl 2014-11-12 17:39:22 +03:00
Vysheng
bdbf8997e0 Minor fixes 2014-11-11 20:13:41 +03:00
Peter Feuerer
a8d6211be4 Initialize address_len before accept()
accept() could produce unexpected behavior in case the address_len is
uninitialized, e.g. return -1 with EINVAL
2014-10-26 02:24:05 +02:00
Vysheng
56fe7bed54 Refactored code a bit to better separation of library. Library can now be compiled without libevent. 2014-10-24 21:43:08 +04:00
vvaltman
282b1c6a81 Fixed problems with secret chat without binlog 2014-10-23 20:39:58 +04:00
vvaltman
6132516d5a added set_profile_name query 2014-10-09 21:38:45 +04:00
vvaltman
ecdec4620d Added '-e' option 2014-10-02 22:54:06 +04:00
vvaltman
b9cf49e96f Hardcoded default ip's for all DC 2014-09-27 21:58:28 +04:00
Vysheng
77bbb4cef0 Fixed loop.c 2014-09-24 14:35:27 +04:00
Vysheng
ce1d3a1369 Fixed readline_disable mode 2014-09-23 18:39:28 +04:00
Vysheng
df06d0858b Some more clear 2014-09-23 17:18:42 +04:00
vvaltman
6f51f9662b Support for unix sockets 2014-09-23 02:23:40 +04:00
vvaltman
f496648d33 Make get_state once per hour 2014-09-21 14:13:40 +04:00
vvaltman
1831415fff Fixes for listening socket 2014-09-21 13:41:10 +04:00
vvaltman
0200b5144f Fixed CE with old libevent 2014-09-21 13:18:12 +04:00
vvaltman
4a773fe6e2 Fixed CE on some systems 2014-09-21 13:10:22 +04:00
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