Commit graph

184 commits

Author SHA1 Message Date
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
Vysheng
bc1648a7c7 renamed user_chat_get to peer_get 2014-08-13 14:09:52 +04:00
vysheng
ddbe7ba88c Mant fixes. Sometimes work now 2014-08-13 01:22:15 +00:00
vysheng
c05bb2683e Some renaming 2014-08-12 21:51:16 +00:00
vysheng
143d672884 A bit working version 2014-08-12 21:32:11 +00:00
Vysheng
7741fe8da9 many changes 2014-08-12 19:15:04 +04:00
vysheng
a8fae1278f Updates 2014-08-12 09:59:59 +00:00
vysheng
0ca3a4dc48 fixed login 2014-03-21 15:33:06 +04:00
vysheng
183c09877d Merge github.com:vysheng/tg 2014-03-21 01:03:42 +04:00
vysheng
aa68c2c6ae Fixed sentCode parse in 12 layer 2014-03-21 01:03:23 +04:00
vysheng
1722bbc3f2 added layer 12 support 2014-03-20 19:33:08 +04:00
René van Dorst
a76d633705 Added command create_group_chat <user> <chat topic>.
Currently it supports only 1 user on creation.
Use chat_add_user to add more users to the chat.
2014-02-25 21:13:14 +01:00
vysheng
b8d827ed59 Fixed 'call' method from jerbob92 2014-02-24 15:27:30 +04:00
Jeroen Bobbeldijk
046b0ce109 Fully working phone call support, might need some tweaks and checks 2014-02-24 07:59:20 +01:00
Vysheng
856fba7fae Fixed registration. Fixed possible SIGSEGV in create_print_name 2014-02-07 19:40:39 +04:00
Vysheng
8ca4a475e7 Added -W key to wait dialog list before processing input 2014-02-03 19:50:57 +04:00
Vysheng
f5ac0e50f4 Merge github.com:vysheng/tg 2014-01-24 19:06:02 +04:00
Vysheng
7de612f5f8 added delete/restore messages queries 2014-01-24 19:05:41 +04:00
antma
d8b16d5738 AES_KEY structure clean up 2014-01-23 19:49:57 +04:00
vysheng
5069568590 Fixed load audio 2014-01-17 18:16:35 +04:00
antma
2c05a3c65a fix sending a lot of spaces in version string 2014-01-14 14:46:13 +04:00
antma
eb2bc7f0ff fix #include "config.h" for all source files 2014-01-13 17:05:25 +04:00
antma
4ccacb146c add functions tstrndup (auto check return value of strndup calls) 2014-01-13 16:26:48 +04:00
antma
46163db14d fix small memory leaks in the function do_send_photo for the cases of invalid, empty or large file 2014-01-13 16:09:33 +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
afdcd9b7df fix missed inflateEnd call and enhance handling inflate return value 2014-01-10 20:54:47 +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
vysheng
fad27bbd39 Fixed CE. Fixed tree.h to use talloc 2014-01-10 17:03:47 +04:00
antma
70441cfcdf replace sprintf call with snprintf for open image command 2014-01-10 16:15:59 +04:00
antma
206fa43232 replace sprintf call with snprintf for downloaded part name 2014-01-10 16:05:39 +04:00
antma
e1c750ad7f add length modifier to the format for strings in sprintf call 2014-01-10 15:59:48 +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
df3dc01306 Fixed CE 2013-12-25 13:07:10 +04:00
vysheng
cb29ce4523 Some other things changed to secure_random 2013-12-25 12:56:46 +04:00
vysheng
5ea4683d16 Fixed secure random. 2013-12-25 12:35:13 +04:00
vysheng
5cde89b5c8 do_rand () renamed to secure_random () 2013-12-25 04:44:36 +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
73b17ee19d Added more checks on g_a and g 2013-12-24 15:29:18 +04:00
vysheng
3421589432 Support for layer 11 2013-12-24 04:57:01 +04:00
Vysheng
0396571877 DH: added check for bad prime in encr chats 2013-12-23 15:13:43 +04:00
Vysheng
b13434e378 Fixed check g_a in encr chats 2013-12-23 15:10:53 +04:00
Vysheng
64a804ffc5 Merge github.com:vysheng/tg 2013-12-23 14:46:16 +04:00
Vysheng
89ee6e1002 Support for g!=2 in DH 2013-12-23 14:09:57 +04:00
vysheng
9b67354294 Added safe_quit query. Useful in pipe mode 2013-12-21 15:53:32 +04:00
Vysheng
03bd7f55a9 Fixed bug in document loading 2013-12-20 19:45:59 +04:00
Vysheng
e439bef899 added /read and /history in chat_with_peer mode 2013-12-20 02:50:31 +04:00