Commit Graph

1015 Commits

Author SHA1 Message Date
vysheng
524ab24e88 Merge pull request #672 from JLarky/fix--stdout-buffer
do fflush instead of readline when readline is disabled.
2015-07-07 19:06:09 +03:00
vysheng
29a4fca882 Merge pull request #677 from samuelsmal/patch-1
Updates Fedora install guide
2015-07-07 19:05:55 +03:00
Samuel
ba51b8e079 Updates Fedora install guide
Replaces `yum` with `dnf`.
2015-07-02 10:11:20 +02:00
JLarky
708b2ee432 do fflush instead of readline when readline is disabled.
- fixes issue when output is getting buffered and is not sent until message is received or program has stopped
 - I used this answer http://stackoverflow.com/a/1716621/74167 for solution
2015-06-29 19:57:01 -07:00
vvaltman
be1ac1f456 Merge github.com:vysheng/tg 2015-06-25 13:34:51 +03:00
vvaltman
6c4c76bd4f fixed autocomplete for bots 2015-06-25 13:34:28 +03:00
vysheng
c1edf44171 Merge pull request #658 from alexbft/master
Enabled Peer.fwd_msg for python scripts
2015-06-24 21:28:41 +03:00
vvaltman
c4ffd8c342 added completion in chats 2015-06-24 20:52:52 +03:00
vvaltman
e36ec84bf5 updated tgl. fixed layer 31 2015-06-24 20:46:12 +03:00
alexbft
7e0cd1cd74 Enabled Peer.fwd_msg for python scripts 2015-06-20 16:14:43 +02:00
vvaltman
3dab3ac555 updated tgl 2015-06-18 16:07:01 +03:00
vvaltman
97bfa253e2 updated tgl. Fixed contact_search. Added resolve_username 2015-06-18 15:54:55 +03:00
vvaltman
e250f55a13 fixed deps 2015-06-17 19:23:22 +03:00
vvaltman
d6a2abcb9e deleted livevent call from signal handler 2015-06-17 16:49:42 +03:00
vvaltman
b43ab0a522 support for custom keyboard 2015-06-17 16:48:44 +03:00
vvaltman
b9447e6ae1 Merge github.com:vysheng/tg 2015-06-17 12:39:48 +03:00
vysheng
6148830dcb Merge pull request #643 from lyager/master
Use sizeof() to get size of sun_path.
2015-06-17 12:38:34 +03:00
vysheng
e8c16c6c29 Merge pull request #617 from Floens/get_self
Add get_self command
2015-06-17 12:38:20 +03:00
vvaltman
5bb5070c10 cygwin-patch: deleted changes in loop.c 2015-06-17 12:37:51 +03:00
vvaltman
491deec2b0 Merge branch 'build-cygwin' of https://github.com/ied206/tg 2015-06-17 12:37:20 +03:00
vvaltman
3a63591250 some fixed to loop.c 2015-06-17 12:36:37 +03:00
Jesper Lyager Nielsen
de5d6de0c8 Use sizeof() to get size of sun_path.
- Size varies on platforms, OSX has 104, Linux has 108.
2015-06-17 11:19:13 +02:00
vvaltman
0faf9f80b7 some fixes. updated tgl 2015-06-17 12:05:57 +03:00
ied206
da4d26fed6 Removed old diff file 2015-06-16 14:04:10 +09:00
ied206
78680bf72d Second Patch to compile smoothly in Cygwin 2015-06-16 13:02:40 +09:00
ied206
141982f5e3 Added Cygwin Build README and patch 2015-06-16 00:52:56 +09:00
vvaltman
44286cd15e Merge branch 'fix_json_more_chat_info' of https://github.com/luckydonald/tg into luckydonald-fix_json_more_chat_info 2015-06-12 11:59:30 +03:00
vysheng
105ccd2821 Merge pull request #618 from Floens/user_status_pack_peer
Add more info to the JSON user status event
2015-06-12 11:54:06 +03:00
vysheng
ae31d58d19 Merge pull request #606 from jonnywilliamson/master
Fix  "bind: Address already in use" error
2015-06-12 11:53:21 +03:00
vysheng
706aed07cb Merge pull request #603 from datamachine/master
Python version support fixes
2015-06-12 11:51:31 +03:00
vysheng
7600da7458 Merge pull request #596 from diff-/patch-1
Adding installation method for Archlinux
2015-06-12 11:49:52 +03:00
Vincent Castellano
4c5f9b797a Add missing null check 2015-06-10 00:28:01 -07:00
luckydonald
4afe21e98a Merge commit '11090500b2f97abe3c2abce1d2ff1bf27164fb6a' into fix_json_more_chat_info
* commit '11090500b2f97abe3c2abce1d2ff1bf27164fb6a':
  Fix typo
  Add install instructions for openSUSE
  lua: added import_chat_link()
  Implement msg.load_*
  Add msg action type enum
  Implement load_ functions
  Add constants for peer types and action types.
2015-06-09 20:35:25 +02:00
luckydonald
82cf03158c Added to group chats: "admin": peer, members.<user>.inviter 2015-06-09 15:51:04 +02:00
Floens
c33e8da795 Use pack_peer instead of pack_user in user_status
Gets more info e.g. the id and flags
2015-06-07 23:21:13 +02:00
Floens
fbff266dca Eliminate code duplication, remove the second argument of json_pack_peer
All callees were using it the same way
2015-06-07 23:21:05 +02:00
Floens
aee4b248a3 Document get_self 2015-06-07 23:19:17 +02:00
Floens
6dd3951948 Add "get_self" command
This executes user_info with our_id
2015-06-07 23:19:07 +02:00
Jonathan Williamson
90ba941804 Fix "bind: Address already in use" error if restart before socket is free 2015-06-05 09:10:03 -07:00
Vincent Castellano
5285cf2bd2 Grammar fixes. 2015-06-05 02:16:42 -07:00
Vincent Castellano
c31a7ef524 Adding doc for how to run script. 2015-06-05 02:05:24 -07:00
Vincent Castellano
c170e98bf7 Remove old docs. 2015-06-05 01:54:07 -07:00
Vincent Castellano
45aa6bf35d Add save_exit to tgl functions. 2015-06-05 01:52:49 -07:00
Vincent Castellano
b979de81ed Adding class attributes. 2015-06-05 01:49:35 -07:00
Vincent Castellano
f1ea76b9bb First pass at improved documentation. 2015-06-05 01:20:18 -07:00
Vincent Castellano
c13880e07c Adding new documentation 2015-06-04 23:37:21 -07:00
Vincent Castellano
495d33e92a Add support for tgl.import_chat_link(str)
Also fix bug with tgl.extf
2015-06-04 22:38:14 -07:00
Vincent Castellano
af9f7b6cfa Use a simple version of repr for Python < 2.7.9
This is due to a bug http://bugs.python.org/issue22023
This addresses https://github.com/vysheng/tg/issues/587
2015-06-04 21:25:49 -07:00
Vincent Castellano
ce2debce38 Merge branch 'master' of github.com:datamachine/tg 2015-06-04 21:05:03 -07:00
Vincent Castellano
0a1a3a9d7a Look for python3.2mu, specifically in Debian 7 2015-06-04 21:04:54 -07:00