Commit Graph

225 Commits

Author SHA1 Message Date
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
Vysheng
d7b25cca90 Support for chat rename 2013-10-26 02:33:17 +04:00
vysheng
4f494a579c fwd message 2013-10-25 23:50:10 +04:00
vysheng
e20f9e498f Added user_info query 2013-10-25 21:29:02 +04:00
vysheng
f11664c281 Added some fixes required by GPL 2013-10-25 13:28:29 +04:00
Vysheng
7d61e25a3b Print info about forwarded message 2013-10-25 02:21:52 +04:00
vysheng
3fc3d33130 Added help. FIxed get dialog list 2013-10-24 22:22:11 +04:00
vysheng
65c5cbe137 Added unread count 2013-10-24 19:44:54 +04:00
vysheng
f9cf392960 Fixed some bugs. Fixed interface 2013-10-24 11:38:32 +04:00
Vysheng
3755d426ed Fixed geopoint link view 2013-10-23 22:23:33 +04:00
vysheng
e5cc589a0f Added GPL-headers to source files 2013-10-23 18:26:17 +04:00
vysheng
94d55325b4 Added chat_info query. Fixed interface 2013-10-23 14:24:59 +04:00
vysheng
db8a7a774b Some fixes 2013-10-22 19:28:41 +04:00
vysheng
b1d8835540 Added send_text query 2013-10-22 12:36:07 +04:00
Vysheng
6893fca713 Added fetch of all updates. Added print of service messages 2013-10-21 23:27:29 +04:00
Vysheng
1c0ba265f0 Support for sending photos. Some fixed bugs. Slightly changed interface 2013-10-21 22:24:31 +04:00
vysheng
6cc1b3d349 Fixed small bug. Changed interface 2013-10-18 23:30:24 +04:00
vysheng
820840ec4d Fixed some compilation errors 2013-10-18 22:00:19 +04:00
Vysheng
1ceaa48b78 Fixed hostory for queries 2013-10-18 20:05:55 +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
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
vysheng
f773c0cf18 tab replaced with spaces 2013-10-03 20:10:53 +04:00
vysheng
9c70da9ed7 many fixes 2013-10-03 20:09:06 +04:00
vysheng
78f4d71855 Added some files 2013-10-03 16:38:25 +04:00