Commit Graph

  • 7c89e61bb1 Added reply= and preview= to tgl.Peer.send_msg() Vincent Castellano 2015-05-28 00:53:41 -0700
  • 1a112a90fd test.lua reverted vvaltman 2015-05-27 18:25:02 +0300
  • a3c79800db merge fixed vvaltman 2015-05-27 18:21:41 +0300
  • 452c30fc88 Merge branch 'master' of https://github.com/datamachine/tg into datamachine-master vvaltman 2015-05-27 17:55:19 +0300
  • 8ba66a8603 proper way to handle interface errors vvaltman 2015-05-27 17:42:08 +0300
  • f9a7f19564 Merge branch 'fix_command_typing_with_status' of https://github.com/luckydonald/tg into luckydonald-fix_command_typing_with_status vvaltman 2015-05-27 17:38:41 +0300
  • 27d219486f Merge branch 'luckydonald-master' vvaltman 2015-05-27 17:33:25 +0300
  • 9268a89d45 fixed pull request vvaltman 2015-05-27 17:32:14 +0300
  • 3aae4ed7be Merge branch 'master' of https://github.com/luckydonald/tg into luckydonald-master vvaltman 2015-05-27 17:31:51 +0300
  • 66f1da63ce Merge pull request #542 from luckydonald/fix_command_video_caption vysheng 2015-05-27 17:30:44 +0300
  • b9cc048334 Merge pull request #539 from luckydonald/fix_json_user_status vysheng 2015-05-27 17:30:25 +0300
  • 6ad4b23246 updated tgl vvaltman 2015-05-27 17:18:18 +0300
  • f99a9944c8 updated version vvaltman 2015-05-27 17:16:42 +0300
  • 9c00b7dc75 not cause error on empty string in input vvaltman 2015-05-27 16:49:52 +0300
  • 206c17e5bd updated README vvaltman 2015-05-27 16:46:37 +0300
  • 9ce0ed310f updated tgl vvaltman 2015-05-27 16:25:59 +0300
  • d594d718f2 clang identified some bugs that gcc nor I did! Vincent Castellano 2015-05-23 18:47:39 -0700
  • 825cfcd96f More include order issues due to python's broken define logic. Vincent Castellano 2015-05-23 18:40:56 -0700
  • f1a18dabfe Adding explicit libraries for CentOS builds. Vincent Castellano 2015-05-23 18:39:20 -0700
  • 8c3adff675 Missed a _GNU_SOURCE define Vincent Castellano 2015-05-23 18:28:38 -0700
  • 6aa4dabf5f fix include orders because python defines _GNU_SOURCE unconditionally and it can collide with other libs Vincent Castellano 2015-05-23 18:26:58 -0700
  • 0cf690a8aa Still trying to appease the travis gods. Vincent Castellano 2015-05-23 17:57:35 -0700
  • 622303ce91 Change to libpython-dev and python for travis Vincent Castellano 2015-05-23 17:53:24 -0700
  • 8b5a1f98d7 Gentoo ebuild, untested changes Vincent Castellano 2015-05-23 17:43:33 -0700
  • 964b210f50 typo Vincent Castellano 2015-05-23 17:38:15 -0700
  • 9d9f89a1f9 Adding python to README.md Vincent Castellano 2015-05-23 17:37:29 -0700
  • 16a12a7398 Adding python to travis Vincent Castellano 2015-05-23 17:29:17 -0700
  • dbdf81cfbe Add documentation. Vincent Castellano 2015-05-23 17:25:36 -0700
  • ce34da49f4 Comeplete tgl.Peer methods. Vincent Castellano 2015-05-23 17:09:08 -0700
  • ce4d9aff00 Add additional peer functions Vincent Castellano 2015-05-21 23:27:28 -0700
  • 99bf18283d Add Python version to the tg startup banner. Vincent Castellano 2015-05-21 11:17:01 -0700
  • 91c4fcaf8f More typos found in command help. luckydonald 2015-05-21 18:30:51 +0200
  • 0e340af2a8 Fix for ``send_video`` failing without a caption string given. luckydonald 2015-05-21 16:42:51 +0200
  • 03bd7fbc50 Added error handling to failed calls to get peer. Vincent Castellano 2015-05-20 15:16:16 -0700
  • faec9c9251 Fix autoconf script for python detection. Vincent Castellano 2015-05-20 12:41:55 -0700
  • b0c092e7b8 Fixed typos in help documentation. luckydonald 2015-05-20 20:24:19 +0200
  • 95094949ce Added out-of-range error status. (@vysheng: Not sure if I did that correctly.) luckydonald 2015-05-20 20:21:12 +0200
  • 5576d7a094 Python build fixes Vincent Castellano 2015-05-20 10:55:06 -0700
  • d30885e9dc added optional status to send_typing command. luckydonald 2015-05-20 19:39:33 +0200
  • f1eda8acff Start test suite, WIP Vincent Castellano 2015-05-20 01:28:23 -0700
  • 354aa64ae1 Implement reprs and fix dates Vincent Castellano 2015-05-20 01:12:48 -0700
  • b547ca7158 Add custom exceptions Vincent Castellano 2015-05-19 23:43:08 -0700
  • 7f2fc476eb Migrate API to completely use new python objects. Vincent Castellano 2015-05-19 23:09:46 -0700
  • fe030a69e2 Initial python class implementation complete. Vincent Castellano 2015-05-19 17:49:24 -0700
  • 7c9129b0b4 Add tgl_Msg class Vincent Castellano 2015-05-19 17:06:27 -0700
  • 25ed20429c Split Python Types into their own c module like they should be. Vincent Castellano 2015-05-19 10:55:32 -0700
  • fa26c2b696 Completed initial tgl_Peer type implementation Vincent Castellano 2015-05-19 01:40:57 -0700
  • d6dec6f881 Adding __pycache__ Vincent Castellano 2015-05-18 12:26:57 -0700
  • d6407a028e More WIP work Vincent Castellano 2015-05-18 12:25:45 -0700
  • 0a74621916 Adding new framework for more advanced python classes that wrap tgl structures. Vincent Castellano 2015-05-18 12:24:26 -0700
  • 3963eca8ca added missing "user" attribute to "online-status" event. E.g. ``{"event": "online-status", "online": true, "when": "2015-05-20 00:16:40", "state": 1, "user": {"username": ... }}`` luckydonald 2015-05-20 00:33:10 +0200
  • 548c2b18e0 added "online-status" event. E.g. ``{"event": "online-status", "online": true, "when": "2015-05-20 00:16:40", "state": 1}`` luckydonald 2015-05-20 00:13:39 +0200
  • 8ff3b78577 added status string to 'typing' service. E.g. `` { ... , "type":"typing", "status":"recording audio", ... }`` luckydonald 2015-05-19 21:25:20 +0200
  • 50a654706b Fix reply ID Vincent Castellano 2015-05-18 17:13:51 -0700
  • da885d595a Clean up msgs and newlines Vincent Castellano 2015-05-18 14:31:59 -0700
  • 36d5465d81 Fixed string mangling from dirname Vincent Castellano 2015-05-18 13:32:58 -0700
  • 1ca2fe6941 Implement the rest of the methods. Remaining commented out methods require more advanced python c-api objects Vincent Castellano 2015-05-17 16:48:17 -0700
  • 77081999c4 Fixes to autotools for python detection Vincent Castellano 2015-05-17 15:58:32 -0700
  • d001bcd2ca Const fixes again, hoping this won't break anything Vincent Castellano 2015-05-17 15:03:56 -0700
  • 3af44a3bf8 Better name for test bindings for py Vincent Castellano 2015-05-17 14:55:41 -0700
  • a7f42ed42d Add missing offset to tgl_do_get_history Vincent Castellano 2015-05-15 10:50:27 -0700
  • d89499bff2 Fix tg-2.0.1 related issues in python bindings Vincent Castellano 2015-05-15 10:41:58 -0700
  • e1d65dad8f Fix merge of configure Vincent Castellano 2015-05-15 09:26:45 -0700
  • 2e62498539 Merge branch 'python-bindings' of github.com:datamachine/tg into python-bindings Vincent Castellano 2015-05-15 09:24:25 -0700
  • 287011c116 Make tgl callbacks optional Vincent Castellano 2015-05-13 21:10:15 -0700
  • c9f38274f5 Fix import error, still have const warnings. Implement mark_read Vincent Castellano 2015-05-13 00:55:08 -0700
  • 5131593da4 Implement mark_read Vincent Castellano 2015-05-12 02:05:30 -0700
  • 3c32cba05e Added get_history and get_history_ex to python bindings Vincent Castellano 2015-05-12 01:51:59 -0700
  • 2460901ba5 Add Callback support for async calls. Vincent Castellano 2015-05-12 01:04:47 -0700
  • dadc452a2b More const correctness issues. Vincent Castellano 2015-05-11 22:02:18 -0700
  • 30518100f0 Implement fixes for string handling in py2/3 Vincent Castellano 2015-05-10 04:09:39 -0700
  • 9e70eb1a13 Remove debug function and replace with macro Vincent Castellano 2015-05-09 02:16:29 -0700
  • 8c00b44863 Implement Python >=3.3 support Vincent Castellano 2015-05-09 02:10:24 -0700
  • a301e83129 support a path to the python script. TODO: get rid of gcc warn Vincent Castellano 2015-05-07 01:54:17 -0700
  • a30333b4ea Added username to the user dict Vincent Castellano 2015-05-07 00:53:39 -0700
  • 319bd1d6ff Added commented out reply support, missing from tgl library. Vincent Castellano 2015-05-07 00:51:29 -0700
  • faaea75eec Protect against Py_DECREFing nulls. Add datetime support Vincent Castellano 2015-05-07 00:44:39 -0700
  • 66aa288b3d Fix test script Vincent Castellano 2015-05-07 00:34:47 -0700
  • b674adbd20 Py_DECREF the results from python calls in callbacks Vincent Castellano 2015-05-07 00:24:45 -0700
  • 8b10fe78a6 Support loading the script from any path, truncate .py if needed. Vincent Castellano 2015-05-07 00:20:13 -0700
  • 9ccc3016cf Fix broken -W wait command. Thanks @phoudoin Vincent Castellano 2015-05-07 00:04:15 -0700
  • ad904dbdc0 Complete basic API implementation. Callbacks and various functions TODO Vincent Castellano 2015-05-06 23:54:31 -0700
  • 30f0a3b128 send_msg implemented Vincent Castellano 2015-05-03 22:42:11 -0700
  • 5994d34eef Implement calling from python into C. Need to implement command queue to execute during netloop. Vincent Castellano 2015-05-03 09:53:29 -0700
  • 3a13f800c9 Got on_msg_receive working Vincent Castellano 2015-05-02 23:29:50 -0700
  • b658b61773 progress commit on python support Vincent Castellano 2015-05-02 21:32:30 -0700
  • 1b2fb1e1fe Initialize module Vincent Castellano 2015-05-02 05:03:13 -0700
  • e0c739148b Remove -Werror for dev Vincent Castellano 2015-05-02 04:58:48 -0700
  • 3c6b54c6e1 Merging to remove bad branch Vincent Castellano 2015-05-02 04:49:21 -0700
  • 5fcb8254dc Adding missing changes to configure.ac Vincent Castellano 2015-05-02 04:48:31 -0700
  • db463be5f6 Missing changes to python-tg.c Vincent Castellano 2015-05-02 04:48:02 -0700
  • b290af88d3 Added preliminary autotools support for pyton, TODO improve. Vincent Castellano 2015-05-02 04:45:49 -0700
  • 81b2a5accf Adding preliminary python files based on lua bindings. Vincent Castellano 2015-05-02 03:43:53 -0700
  • 1b3cdff3fd Merge branch 'python-bindings' of github.com:datamachine/tg into python-bindings Vincent Castellano 2015-05-15 09:08:59 -0700
  • 3ced7bbb27 fixes for last json update vvaltman 2015-05-15 17:50:07 +0300
  • 8b8a69ec83 Fixes for #516: Added output when message are marked read (if ``--json``), which fixes Issue [#516] (https://github.com/vysheng/tg/issues/516#issuecomment-101710890) Also added event field to json which will be send to terminal/main_session: "event" = "message", "read" (message got read), "service", (events only in secret chats?) "updates" (peer name change etc), "download" (file downloaded) luckydonald 2015-05-15 13:53:57 +0200
  • 5935c97ed0 updated readme vvaltman 2015-05-15 14:31:41 +0300
  • a825b63209 added error codes vvaltman 2015-05-15 13:31:38 +0300
  • 1823005ff5 fixed compilation error with old libjansson vvaltman 2015-05-15 12:58:10 +0300
  • 611211cc09 prerelease vvaltman 2015-05-14 15:48:20 +0300