Commit graph

63 commits

Author SHA1 Message Date
vvaltman
548f4fe997 Added PFS support. Parallel auth_key generation. Small bug fixes 2014-08-29 17:33:15 +04:00
vvaltman
8fd05fdba4 Fixed name 2014-08-27 01:06:59 +04:00
vvaltman
ecc239e291 Added disable_readline. Do not try read stdin, after end of stdin reached 2014-08-26 22:26:00 +04:00
vvaltman
29d06e6d1e Updated test lua script 2014-08-26 20:30:30 +04:00
vvaltman
6f711aa1fb Fixed args parse 2014-08-25 04:54:12 +04:00
vvaltman
cf7e7b45bb interface updates 2014-08-25 04:11:41 +04:00
vvaltman
ab5b9c306f Fixed licenses. libtgl is now distributed under LGPL 2.1+ 2014-08-22 02:02:43 +04:00
Vysheng
3ae872010e fix queries_num 2014-08-22 15:45:16 +04:00
vvaltman
0299a6375d changes 2014-08-21 07:24:52 +04:00
Vysheng
3b58fed8e4 updates 2014-08-21 19:38:51 +04:00
vvaltman
b1cbaa5105 many fixes 2014-08-15 02:16:01 +04:00
Vysheng
e0ded4a86c fixes 2014-08-15 18:57:43 +04:00
Vysheng
4a48059e8a many updates 2014-08-14 22:03:33 +04:00
vysheng
3dde03db86 more code 2014-08-14 01:31:24 +00:00
Vysheng
3b5458de54 fixes 2014-08-13 19:55:16 +04:00
Vysheng
cb95039f51 Some refactoring 2014-08-13 16:56:55 +04:00
Dennis Koot
c150d00a51 better list of options for -h 2014-02-27 10:17:07 +01:00
antma
b091f978f1 replace ENABLE_LIBCONFIG by HAVE_LIBCONFIG (use macro AC_CHECK_LIBdefault ACTION-IF-FOUND behavior)
fix unused write result in undefined HAVE_EXECINFO_H case
2014-02-05 15:07:58 +04:00
Vysheng
73a48816e4 Added /etc/telegram/server.pub as default server public key place 2014-02-04 20:35:16 +04:00
Vysheng
8ca4a475e7 Added -W key to wait dialog list before processing input 2014-02-03 19:50:57 +04:00
Vysheng
4c0736a646 main.c: fixed gcc warning. 2014-02-03 19:26:43 +04:00
vysheng
ca7ff6d7e3 Update main.c 2014-02-03 16:19:41 +03:00
antma
47446009f9 remove printf from signal handlers
use AC_SEARCH_LIB in configure.ac (shorter code)
replace '-lm -lcrypto -lz' by  @LIBS@ in Makefile.in and AC_CHECK_LIB macros in configure.ac
replace NO_BACKTRACE by HAVE_EXECINFO_H
2014-02-03 16:25:09 +04:00
Vysheng
4310621922 main.c: deleted include execinfo if no backtrace needed 2014-01-30 15:49:26 +04:00
Vysheng
0c6efc6234 Added cygwin fixes 2014-01-30 15:01:16 +04:00
antma
622dec3e70 remove useless #define _GNU_SOURCE from not using asprintf sources 2014-01-13 17:12:39 +04:00
antma
eb2bc7f0ff fix #include "config.h" for all source files 2014-01-13 17:05:25 +04:00
Vysheng
90dd95392f Added partial lua support 2014-01-12 04:43:29 +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
c9c8daac45 checking sizeof (void) at the runtime 2014-01-10 16:30:56 +04:00
antma
933a65c335 fix small memory leak in running_for_first_time (local variable config_directory) 2014-01-10 15:46:46 +04:00
antma
35923482bc close /etc/passwd file handle right after evaluating home directory 2014-01-10 15:40:28 +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
f8793376a5 Fixed random on sensible parts (generation auth_key, session_id and keys for secret chats) 2013-12-25 03:42:05 +04:00
vysheng
3b033ea3ff Added dump packets to file 2013-12-18 19:21:49 +04:00
Vysheng
bc7887b5df main: added [-B] key 2013-12-03 15:44:14 +04:00
Vysheng
019e80c681 Merge github.com:vysheng/tg 2013-12-02 21:19:45 +04:00
Vysheng
ae29e1d933 Many fixes. 2013-12-02 21:19:08 +04:00
vysheng
18df862737 main.c: fixed CE on 32-bit systems 2013-12-02 19:11:05 +04:00
Vysheng
6d56e0e644 fixed binlog problems. Set lock on binlog 2013-11-30 03:15:10 +04:00
Vysheng
849d6a33a6 Sometimes new binlog works 2013-11-21 23:35:49 +04:00
Vysheng
f85f248a86 Added log level param 2013-11-15 20:14:25 +04:00
vysheng
c25fa47660 Another binlog commit 2013-11-13 01:52:30 +04:00
vysheng
ce0cc52f69 Merge github.com:vysheng/tg 2013-11-13 01:44:03 +04:00
vysheng
899b02784e Start add of binlog support 2013-11-13 01:43:42 +04:00
vysheng
22e3367fd1 Fixed errors without libconfig 2013-11-12 15:58:16 +04:00
vysheng
6fcf96c07d Merge github.com:vysheng/tg 2013-11-12 01:59:54 +04:00
vysheng
5c937ee8c6 started to add binlog 2013-11-12 01:59:36 +04:00