Commit Graph

30 Commits

Author SHA1 Message Date
Vysheng
337be90978 many changes 2014-08-12 19:15:04 +04:00
vysheng
d5cfcb520f added layer 12 support 2014-03-20 19:33:08 +04:00
vysheng
31e7f3a92f deleted unused code 2014-03-07 23:41:59 +04:00
antma
22c1a41109 improve portability by removing rdtsc calls
https://github.com/vysheng/tg/issues/8
2014-01-15 19:29:26 +04:00
Vysheng
6b0d354e69 Added partial lua support 2014-01-12 04:43:29 +04:00
vysheng
77f56cfd57 Merge branch 'master' of https://github.com/antma/tg
Conflicts:
	tools.c
2014-01-10 21:16:26 +04:00
antma
d2460a8a90 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
f06d3c1625 free->tfree. Memory checks, if compiled with -DDEBUG 2014-01-10 18:37:56 +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
41fc7c2278 added /read and /history in chat_with_peer mode 2013-12-20 02:50:31 +04:00
Vysheng
725c6669a7 Manty fixes. Mostly binlog for messages 2013-11-30 01:43:56 +04:00
Vysheng
d095e607c2 fixed detailed info 2013-11-25 21:21:08 +04:00
Vysheng
6fea158478 Chats added to binlog 2013-11-23 03:26:35 +04:00
Vysheng
fe0e4fed8f Fixed small bugs. Fixed login 2013-11-16 17:04:53 +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
65edc1789b Maybe it would compile on mac now 2013-11-11 15:34:45 +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
b70f868e0b Added search query. But it seems, that search does not use stemmer 2013-11-01 19:02:28 +04:00
Vysheng
a51c8214cc Sometimes client can recover from network loss 2013-10-26 19:32:20 +04:00
Vysheng
8397231645 Fixed read of notify settings 2013-10-26 02:03:36 +04:00
Vysheng
7f47948cc6 Fixed chat_info query 2013-10-24 21:04:44 +04:00
vysheng
e5cc589a0f Added GPL-headers to source files 2013-10-23 18:26:17 +04:00
Vysheng
6893fca713 Added fetch of all updates. Added print of service messages 2013-10-21 23:27:29 +04:00
Vysheng
e40ae9590d Many bug fixes. Added dialog_list query 2013-10-18 20:00:47 +04:00
Vysheng
a8a18a8076 Sometimes updates work 2013-10-16 23:19:39 +04:00
Vysheng
baa56b709c Commit parse of many structures (message, chat, photo, etc) 2013-10-14 21:26:25 +04:00
Vysheng
5f2080e956 Some fixes. Added automaticly generated constants.h 2013-10-13 16:30:53 +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