Commit Graph

76 Commits

Author SHA1 Message Date
antma
e27a27c4a0 fix #include "config.h" for all source files 2014-01-13 17:05:25 +04:00
antma
5de0d75942 add functions tstrndup (auto check return value of strndup calls) 2014-01-13 16:26:48 +04:00
vysheng
f06d3c1625 free->tfree. Memory checks, if compiled with -DDEBUG 2014-01-10 18:37:56 +04:00
antma
52ee21f188 add field limit for sscanf call (fix libc versions older than 2.13-25) 2014-01-10 16:37:07 +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
d94786957b Fixed autocompete in send_document 2013-12-24 15:58:31 +04:00
vysheng
c496266598 Added more checks on g_a and g 2013-12-24 15:29:18 +04:00
vysheng
069fe471ed Added safe_quit query. Useful in pipe mode 2013-12-21 15:53:32 +04:00
Vysheng
c9346a75f3 Fixed bug in document loading 2013-12-20 19:45:59 +04:00
Vysheng
41fc7c2278 added /read and /history in chat_with_peer mode 2013-12-20 02:50:31 +04:00
vysheng
28dd0f0e46 Added dump packets to file 2013-12-18 19:21:49 +04:00
Vysheng
d39a4e43c6 Updated help 2013-12-06 21:16:17 +04:00
Vysheng
9ebb3f7370 Added chat_with_peer command 2013-12-06 21:14:41 +04:00
Vysheng
2c9e51b4af Fixed bug 2013-12-06 20:40:52 +04:00
Vysheng
b1b4cd8b21 interface: added auto-completion for modifiers (only [offline] for now) 2013-11-30 22:52:13 +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
d96450cd09 Added [offline] modifier 2013-11-25 21:16:34 +04:00
Vysheng
6fea158478 Chats added to binlog 2013-11-23 03:26:35 +04:00
Vysheng
bf94fee0e0 Merge github.com:vysheng/tg 2013-11-21 23:36:05 +04:00
Vysheng
06dee8bdbd Sometimes new binlog works 2013-11-21 23:35:49 +04:00
vysheng
a8cc367a16 Merge github.com:vysheng/tg
Conflicts:
	interface.c
2013-11-19 21:01:18 +04:00
Vysheng
78f3e7aa31 Added log level param 2013-11-15 20:14:25 +04:00
Vysheng
bbe5222651 Fixed assert on profile photo update 2013-11-15 16:59:06 +04:00
vysheng
33d15ff1c1 Added full support for layer 10 2013-11-15 14:37:14 +04:00
vysheng
65edc1789b Maybe it would compile on mac now 2013-11-11 15:34:45 +04:00
vysheng
6ce15fda97 Added configure script. Some interface fixes 2013-11-10 02:47:19 +04:00
vysheng
ea6ce649f8 Added quit comman 2013-11-09 22:23:11 +04:00
vysheng
8193960ccf Added queries online/offline/contacts_search 2013-11-09 13:51:07 +04:00
vysheng
18bc09b201 Added queries to add/delete user to group 2013-11-07 04:08:16 +04:00
vysheng
8d4dcf313c Improved help 2013-11-07 03:18:35 +04:00
vysheng
c509422ce5 Added global_search query 2013-11-07 03:12:40 +04:00
vysheng
9361621c53 Add suggested contacts query 2013-11-07 02:46:17 +04:00
vysheng
c713d80ded Some bugfixes. Add small thumb file to sent video 2013-11-07 02:16:46 +04:00
vysheng
d0adb13107 Support for chat create 2013-11-06 02:24:26 +04:00
vysheng
cce9841947 Many improvements in encrypted chats. Can not send/download encrypted messages, for example 2013-11-05 03:15:24 +04:00
vysheng
923845d668 Partial support for encrypted chats. 2013-11-04 21:34:27 +04:00
Vysheng
9dd3627afa Some code related to encrypted chat. Nothing works yet, but I believe it would work in the nearest future 2013-11-02 21:01:22 +04:00
vysheng
5b8a4fdc60 Some changes to add encrypted chat in nearest future 2013-11-02 14:14:30 +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
970cbcd3c7 Fixed fail on empty command line 2013-11-01 15:27:08 +04:00
vysheng
cdea9ca872 id for users and chats renamed to peer_id_t. This will make implementing secure chats and geochats easier 2013-11-01 03:18:34 +04:00
vysheng
f4dcc50946 Added add_contact/rename_contact queries 2013-10-30 14:10:16 +04:00
vysheng
c4e3052db6 Fixed inerface 2013-10-30 04:08:30 +04:00
vysheng
3be908e7da Fixed interface: show download/upload progress 2013-10-29 02:33:13 +04:00
vysheng
e858db0964 Fix to prev commit 2013-10-29 01:57:22 +04:00
vysheng
6d2c6ad5b5 fixed interface. Small changes. 2013-10-29 01:56:17 +04:00
vysheng
feac506628 interface.c: fixed bug with tabs after help command. Added new items to help 2013-10-28 23:14:34 +04:00
Vysheng
efb1b482f2 Fixed change from v1 of auth file to v2 2013-10-28 03:24:03 +04:00
vysheng
62f7295ff7 Load photo/video. Now works only with current DC. 2013-10-27 23:35:02 +04:00