Commit graph

132 commits

Author SHA1 Message Date
vysheng
8c597b2935 Update interface.c 2014-02-18 21:06:00 +03:00
Falk
5baaabdd8a Update interface.c to avoid error messages
When hitting enter (without writing anything) in an chat prompt always appears an error message telling you that the message is empty.
Checking the content of the line can avoid this.
I don't know is this behaviour is wrong or right.
So please forgive me if it doesn’t make sense.
2014-02-13 00:52:25 +01:00
falkartis
059713097f Help text updated.
I just added "You can see message numbers starting client with -N" to the load_photo and the view_photo description.
I've been in trouble because of not knowing how to download files so I think its use-full.
I'm not sure if it's how github works my idea was to Propose this change to the main branch.
2014-02-08 17:44:10 +01:00
Marcos Gómez Vilches
eb0de3c7bd Update interface.c
Fix typo in help command
2014-01-30 17:46:09 +01:00
Vysheng
7de612f5f8 added delete/restore messages queries 2014-01-24 19:05:41 +04:00
vysheng
5069568590 Fixed load audio 2014-01-17 18:16:35 +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
vysheng
feed5229b5 free->tfree. Memory checks, if compiled with -DDEBUG 2014-01-10 18:37:56 +04:00
antma
f2f4153d00 add field limit for sscanf call (fix libc versions older than 2.13-25) 2014-01-10 16:37:07 +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
820ccce220 Fixed autocompete in send_document 2013-12-24 15:58:31 +04:00
vysheng
73b17ee19d Added more checks on g_a and g 2013-12-24 15:29:18 +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
vysheng
3b033ea3ff Added dump packets to file 2013-12-18 19:21:49 +04:00
Vysheng
7a3ef6d624 Updated help 2013-12-06 21:16:17 +04:00
Vysheng
4e2e651e2a Added chat_with_peer command 2013-12-06 21:14:41 +04:00
Vysheng
1198159162 Fixed bug 2013-12-06 20:40:52 +04:00
Vysheng
5c976ea1c4 interface: added auto-completion for modifiers (only [offline] for now) 2013-11-30 22:52:13 +04:00
Vysheng
ee1f45ec3d Manty fixes. Mostly binlog for messages 2013-11-30 01:43:56 +04:00
Vysheng
7c1825d1b2 fixed detailed info 2013-11-25 21:21:08 +04:00
Vysheng
698004d92d Added [offline] modifier 2013-11-25 21:16:34 +04:00
Vysheng
852c768736 Chats added to binlog 2013-11-23 03:26:35 +04:00
Vysheng
575fb9b001 Merge github.com:vysheng/tg 2013-11-21 23:36:05 +04:00
Vysheng
849d6a33a6 Sometimes new binlog works 2013-11-21 23:35:49 +04:00
vysheng
b23186b4e1 Merge github.com:vysheng/tg
Conflicts:
	interface.c
2013-11-19 21:01:18 +04:00
Vysheng
f85f248a86 Added log level param 2013-11-15 20:14:25 +04:00
Vysheng
9f070a27a4 Fixed assert on profile photo update 2013-11-15 16:59:06 +04:00
vysheng
a1ea8bd69c Added full support for layer 10 2013-11-15 14:37:14 +04:00
vysheng
4fdb69a85f Maybe it would compile on mac now 2013-11-11 15:34:45 +04:00
vysheng
8c30413d6c Added configure script. Some interface fixes 2013-11-10 02:47:19 +04:00
vysheng
b8dde029c9 Added quit comman 2013-11-09 22:23:11 +04:00
vysheng
e297e27118 Added queries online/offline/contacts_search 2013-11-09 13:51:07 +04:00
vysheng
d95af09b30 Added queries to add/delete user to group 2013-11-07 04:08:16 +04:00
vysheng
2650771074 Improved help 2013-11-07 03:18:35 +04:00
vysheng
cd775dc273 Added global_search query 2013-11-07 03:12:40 +04:00
vysheng
dd3fb59dbe Add suggested contacts query 2013-11-07 02:46:17 +04:00
vysheng
bb1df969fb Some bugfixes. Add small thumb file to sent video 2013-11-07 02:16:46 +04:00
vysheng
a725c0959f Support for chat create 2013-11-06 02:24:26 +04:00
vysheng
a0ba6cc7c3 Many improvements in encrypted chats. Can not send/download encrypted messages, for example 2013-11-05 03:15:24 +04:00
vysheng
180cfd22f2 Partial support for encrypted chats. 2013-11-04 21:34:27 +04:00
Vysheng
05f9d32698 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
aa40f0caab Some changes to add encrypted chat in nearest future 2013-11-02 14:14:30 +04:00
Vysheng
2ae2406a91 Added search query. But it seems, that search does not use stemmer 2013-11-01 19:02:28 +04:00
vysheng
e92a932b34 Fixed fail on empty command line 2013-11-01 15:27:08 +04:00
vysheng
a18b898122 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
f7be3b41cc Added add_contact/rename_contact queries 2013-10-30 14:10:16 +04:00
vysheng
6a804fcfb9 Fixed inerface 2013-10-30 04:08:30 +04:00