Vincent Castellano
|
13c22f3b06
|
Need to pass tuple to a method call
|
2015-05-31 22:20:23 -07:00 |
|
Vincent Castellano
|
a06507d49c
|
Optionally ping the python script every time we do a loop update in tg.
|
2015-05-31 22:20:23 -07:00 |
|
Vincent Castellano
|
1b01314689
|
Added reply= and preview= to tgl.Peer.send_msg()
|
2015-05-28 01:04:07 -07:00 |
|
Vincent Castellano
|
d594d718f2
|
clang identified some bugs that gcc nor I did!
|
2015-05-23 18:47:39 -07:00 |
|
Vincent Castellano
|
5576d7a094
|
Python build fixes
|
2015-05-20 10:55:06 -07:00 |
|
Vincent Castellano
|
354aa64ae1
|
Implement reprs and fix dates
|
2015-05-20 01:15:26 -07:00 |
|
Vincent Castellano
|
b547ca7158
|
Add custom exceptions
|
2015-05-20 01:15:26 -07:00 |
|
Vincent Castellano
|
7f2fc476eb
|
Migrate API to completely use new python objects.
|
2015-05-20 01:15:26 -07:00 |
|
Vincent Castellano
|
fe030a69e2
|
Initial python class implementation complete.
|
2015-05-20 01:15:26 -07:00 |
|
Vincent Castellano
|
25ed20429c
|
Split Python Types into their own c module like they should be.
|
2015-05-20 01:15:00 -07:00 |
|
Vincent Castellano
|
fa26c2b696
|
Completed initial tgl_Peer type implementation
|
2015-05-20 01:13:07 -07:00 |
|
Vincent Castellano
|
d6407a028e
|
More WIP work
|
2015-05-20 01:13:07 -07:00 |
|
Vincent Castellano
|
50a654706b
|
Fix reply ID
|
2015-05-18 17:13:51 -07:00 |
|
Vincent Castellano
|
da885d595a
|
Clean up msgs and newlines
|
2015-05-18 14:31:59 -07:00 |
|
Vincent Castellano
|
36d5465d81
|
Fixed string mangling from dirname
|
2015-05-18 13:32:58 -07:00 |
|
Vincent Castellano
|
1ca2fe6941
|
Implement the rest of the methods. Remaining commented out methods require more advanced python c-api objects
|
2015-05-17 16:48:17 -07:00 |
|
Vincent Castellano
|
d001bcd2ca
|
Const fixes again, hoping this won't break anything
|
2015-05-17 15:03:56 -07:00 |
|
Vincent Castellano
|
a7f42ed42d
|
Add missing offset to tgl_do_get_history
|
2015-05-15 10:50:27 -07:00 |
|
Vincent Castellano
|
d89499bff2
|
Fix tg-2.0.1 related issues in python bindings
|
2015-05-15 10:41:58 -07:00 |
|
Vincent Castellano
|
287011c116
|
Make tgl callbacks optional
|
2015-05-15 09:21:50 -07:00 |
|
Vincent Castellano
|
c9f38274f5
|
Fix import error, still have const warnings.
Implement mark_read
|
2015-05-15 09:21:50 -07:00 |
|
Vincent Castellano
|
5131593da4
|
Implement mark_read
|
2015-05-15 09:21:50 -07:00 |
|
Vincent Castellano
|
3c32cba05e
|
Added get_history and get_history_ex to python bindings
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
2460901ba5
|
Add Callback support for async calls.
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
dadc452a2b
|
More const correctness issues.
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
30518100f0
|
Implement fixes for string handling in py2/3
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
9e70eb1a13
|
Remove debug function and replace with macro
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
8c00b44863
|
Implement Python >=3.3 support
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
a301e83129
|
support a path to the python script. TODO: get rid of gcc warn
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
a30333b4ea
|
Added username to the user dict
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
319bd1d6ff
|
Added commented out reply support, missing from tgl library.
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
faaea75eec
|
Protect against Py_DECREFing nulls. Add datetime support
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
b674adbd20
|
Py_DECREF the results from python calls in callbacks
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
8b10fe78a6
|
Support loading the script from any path, truncate .py if needed.
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
ad904dbdc0
|
Complete basic API implementation. Callbacks and various functions TODO
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
30f0a3b128
|
send_msg implemented
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
5994d34eef
|
Implement calling from python into C. Need to implement command queue to execute during netloop.
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
3a13f800c9
|
Got on_msg_receive working
|
2015-05-15 09:21:49 -07:00 |
|
Vincent Castellano
|
b658b61773
|
progress commit on python support
|
2015-05-15 09:20:54 -07:00 |
|
Vincent Castellano
|
1b2fb1e1fe
|
Initialize module
|
2015-05-15 09:17:23 -07:00 |
|
Vincent Castellano
|
db463be5f6
|
Missing changes to python-tg.c
|
2015-05-15 09:14:04 -07:00 |
|
Vincent Castellano
|
81b2a5accf
|
Adding preliminary python files based on lua bindings.
|
2015-05-15 09:14:03 -07:00 |
|