Commit Graph

784 Commits

Author SHA1 Message Date
Vincent Castellano
1b3cdff3fd Merge branch 'python-bindings' of github.com:datamachine/tg into python-bindings
Conflicts:
	python-tg.c
2015-05-15 09:08:59 -07:00
Vincent Castellano
89e0a1e275 Make tgl callbacks optional 2015-05-13 21:10:15 -07:00
Vincent Castellano
4daf7781be Fix import error, still have const warnings.
Implement mark_read
2015-05-13 00:55:08 -07:00
Vincent Castellano
aad54b4c83 Implement mark_read 2015-05-12 02:05:30 -07:00
Vincent Castellano
2ab3feb392 Added get_history and get_history_ex to python bindings 2015-05-12 01:51:59 -07:00
Vincent Castellano
871fc440b7 Add Callback support for async calls. 2015-05-12 01:04:47 -07:00
Vincent Castellano
c263a93a8b More const correctness issues. 2015-05-11 22:02:18 -07:00
Vincent Castellano
38d0b97179 Implement fixes for string handling in py2/3 2015-05-10 04:09:39 -07:00
Vincent Castellano
fe0ae2a87f Remove debug function and replace with macro 2015-05-09 02:16:29 -07:00
Vincent Castellano
89d5b7f262 Implement Python >=3.3 support 2015-05-09 02:10:24 -07:00
Vincent Castellano
caacc3c584 support a path to the python script. TODO: get rid of gcc warn 2015-05-07 01:54:17 -07:00
Vincent Castellano
e2edb7cc26 Added username to the user dict 2015-05-07 00:53:39 -07:00
Vincent Castellano
87f014d3c2 Added commented out reply support, missing from tgl library. 2015-05-07 00:51:29 -07:00
Vincent Castellano
8995e45862 Protect against Py_DECREFing nulls. Add datetime support 2015-05-07 00:44:39 -07:00
Vincent Castellano
2ea0da50f0 Fix test script 2015-05-07 00:34:47 -07:00
Vincent Castellano
434ccdd5f8 Py_DECREF the results from python calls in callbacks 2015-05-07 00:24:45 -07:00
Vincent Castellano
8679ab2e0d Support loading the script from any path, truncate .py if needed. 2015-05-07 00:20:13 -07:00
Vincent Castellano
b3fbcaeb0a Fix broken -W wait command. Thanks @phoudoin 2015-05-07 00:04:15 -07:00
Vincent Castellano
f1c8af606f Complete basic API implementation. Callbacks and various functions TODO 2015-05-06 23:54:31 -07:00
Vincent Castellano
96325e2ecd send_msg implemented 2015-05-03 22:42:11 -07:00
Vincent Castellano
c7a66e649f Implement calling from python into C. Need to implement command queue to execute during netloop. 2015-05-03 09:53:29 -07:00
Vincent Castellano
3f2c13b93f Got on_msg_receive working 2015-05-02 23:29:50 -07:00
Vincent Castellano
a240097bbb progress commit on python support 2015-05-02 21:32:30 -07:00
Vincent Castellano
2a99ce59d1 Initialize module 2015-05-02 05:03:13 -07:00
Vincent Castellano
0bf9979697 Remove -Werror for dev 2015-05-02 04:58:48 -07:00
Vincent Castellano
7d2cac9ea4 Merging to remove bad branch 2015-05-02 04:49:21 -07:00
Vincent Castellano
0f4ceaa200 Adding missing changes to configure.ac 2015-05-02 04:48:31 -07:00
Vincent Castellano
35b5623eb1 Missing changes to python-tg.c 2015-05-02 04:48:02 -07:00
Vincent Castellano
76d1ee2475 Added preliminary autotools support for pyton, TODO improve. 2015-05-02 04:45:49 -07:00
Vincent Castellano
31524068b6 Adding preliminary python files based on lua bindings. 2015-05-02 03:43:53 -07:00
vysheng
01f5d9a3b6 Merge pull request #398 from danielberlin/patch-3
Update README.md
2015-01-17 17:31:02 +03:00
danielberlin
bdc8dc24e6 Update README.md
Improved key path to avoid misunderstanding, see #392.
2015-01-17 15:26:54 +01:00
Vysheng
d96750aba3 updated tgl 2015-01-14 19:34:16 +03:00
Vysheng
048bcb2c91 updated to latest version of tgl. fixed output of attachments in secret chats 2015-01-14 19:19:03 +03:00
vvaltman
39f65fc902 deleted CLOSE_ON_FREE on bev 2015-01-14 18:08:42 +03:00
vvaltman
0c981c1b81 updated CHANGELOG 2015-01-13 19:10:11 +03:00
vvaltman
ffa73d94b8 updated tgl 2015-01-13 18:59:29 +03:00
Vysheng
8fddfe2963 updated changelog 2015-01-13 14:46:00 +03:00
Vysheng
1977eb8346 FIxed registration 2015-01-13 14:45:25 +03:00
Vysheng
ca6942724a fixed indents 2015-01-12 21:04:51 +03:00
vysheng
92f9e9f166 Merge pull request #375 from gfleury/master
Fix environment vars after setuid, fix daemonize option, avoid to exit process when in daemonize
2015-01-12 21:06:47 +03:00
Vysheng
09c6686ad4 updated tgl (ttl issue) 2015-01-12 20:57:44 +03:00
Vysheng
e74a4e4717 updated tgl 2015-01-12 20:34:16 +03:00
vysheng
d434580d23 Merge pull request #380 from Floens/postpone-time-fraction
Support time fractions in lua postpone.
2015-01-12 19:00:52 +03:00
Vysheng
1ae2224933 Merge branch 'master' of github.com:vysheng/tg 2015-01-12 18:54:46 +03:00
Vysheng
025b04f2b5 New version of tgl 2015-01-12 18:54:25 +03:00
vysheng
886cc484c0 Merge pull request #387 from asdofindia/lua_send_typing
add send_typing and send_typing_abort to lua
2015-01-12 18:41:08 +03:00
Vysheng
723416d333 ipv6 support 2015-01-12 16:58:43 +03:00
Vysheng
f59c2a8441 updated tgl 2015-01-12 14:18:45 +03:00
Akshay S Dinesh
b77c35666d add send_typing and send_typing_abort to lua 2015-01-12 10:45:48 +05:30