1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-04 18:29:19 +02:00
Commit graph

12 commits

Author SHA1 Message Date
holger krekel
1ff06c071b do some string conversions less hackish and address one review comment on how to call the callback and return results 2018-09-06 16:28:27 +02:00
holger krekel
fe05c27081 bring the test into a bit of a better shape 2018-09-05 16:10:03 +02:00
holger krekel
7a54a2577a hack things to work a bit more, with modifying DC_EVENT_HTTP_GET c-code
we can now perform a http request but how to return it to dc is unclear yet
2018-09-05 15:45:25 +02:00
holger krekel
31ebc32963 hackishly convert all large longs to strings -- probably a bit fragile 2018-09-05 14:03:45 +02:00
holger krekel
0340dbe81c quick try at adding DC_EVENT names and use them to deltachat bindings 2018-09-05 13:53:18 +02:00
holger krekel
eec2261cca some initial test code, also fixing callback machinery to actually call the callback (thanks flub for the hint), also test file rename 2018-09-04 15:50:34 +02:00
Floris Bruynooghe
08689b2a04 Add support for the callback in python/cffi
This uses one global event handler function on the C level, as
enforced by CFFI, and caters for registering a per-context event
handeler.  A simple fixture for doing this during tests is also
implemented.
2018-07-22 13:46:09 +02:00
Floris Bruynooghe
3aeec2202a Update python bindings to new headers naming
This fixes the python bindings build to work with the new layout of
the header files and new names.
2018-07-19 20:15:54 +02:00
Floris Bruynooghe
880071b161 Add proof-of-concept unittest
Doesn't do anything useful yet.
2018-06-10 12:22:28 +02:00
Floris Bruynooghe
942a974818 Add free definition 2018-01-06 22:30:46 +01:00
Floris Bruynooghe
9048a2dbab Build from the installed deltachat version
This cleans up the build somewhat:
- Move time_t declaration to _build.py
- Uses Python's distutils to invoke the "correct" compiler.  Or at
  least does not make this code responsible to picking a compiler
- Uses the compiler to find the installed header file, builds
  against this installed version.  Since linking will also be
  against this installed version this seems to make some sense.

This seems somewhat ugly though.
2018-01-04 23:10:40 +01:00
Floris Bruynooghe
b1261ed028 WIP: First stop towards python bindings
This is a very rough first stab at compiling CFFI Python bindings
for deltachat-core.
2018-01-04 21:00:14 +01:00