21 Commits

Author SHA1 Message Date
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
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
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
35b5623eb1 Missing changes to python-tg.c 2015-05-02 04:48:02 -07:00
Vincent Castellano
31524068b6 Adding preliminary python files based on lua bindings. 2015-05-02 03:43:53 -07:00