Commit Graph

25 Commits

Author SHA1 Message Date
Lars-Magnus Skog
18c0d9f83b chore: update version to 1.0.0-alpha.0 2019-06-07 13:36:15 +02:00
dignifiedquire
0579382173 feat(ffi): add dc_str_unref 2019-06-02 00:08:04 +02:00
holger krekel
6ce8374513 feat: bring back and adapt python bindings with rust core
* import python, try to adapt for rust

* add missing wrapper functions

* - try to write up how to build python bindings
- strike some unused functions from deltachat.h

* adjustments to make tox work

* try to run circle-ci with python build

* don't do docs

* running cargo test as well

* don't run cargo test anymore, that's done in other ci jobs

* also build docs

* don't run doxygen anymore

* subst C with Rust

* a try to get better wheels

Closes #41
2019-05-30 23:17:38 +02:00
Friedel Ziegelmayer
a2fc127923 feat(ffi): install global panic handler (#108) 2019-05-30 15:18:34 +02:00
Lars-Magnus Skog
3ade0a1de8 chore: remove unused DC_EVENT_HTTP_GET and DC_EVENT_HTTP_POST defines (#87) 2019-05-28 18:00:58 +02:00
Friedel Ziegelmayer
0d51c7dd2e Prepare for android builds (#88)
* upgrade ci

* fixup

* update ci script

* Update run.sh

* refactor(time): drop libc time functions

* fix(ffi): use i64 instead off time_t

* fix(ci): install croos

* fix: remove unused dc_check_password

* fix(ffi): enable ssl vendoring by default

* chore: remove unused import

* fix(deps): add vendored flag for reqwest

* chore(ci): use cross fork

* fix: handle invalid  server configurations

Closes #90

* Disable android from circle ci for now
2019-05-28 17:41:50 +02:00
dignifiedquire
22868abe0e refactor: rename dc_context to context 2019-05-27 09:32:50 +02:00
Friedel Ziegelmayer
f0cfcef864 refactor: use reqwest to handle http-get requests
Closes #82
2019-05-27 09:06:55 +02:00
Friedel Ziegelmayer
a247e5b143 refactor(oauth): safe oauth2 and remove custom json parser (#80)
* refactor(oauth): safe oauth2 and remove custom json parser

Closes #46,#53
2019-05-26 22:49:52 +02:00
Lars-Magnus Skog
8678813051 fix: regressions in dc_msg_get_duration() and dc_delete_contact() (#73)
* fix: regression in dc_msg_get_duration, should return int

* fix: regression in dc_delete_contact()
2019-05-16 19:06:14 +02:00
dignifiedquire
ddbb8bd756 fix(ffi): rename generated lib to libdeltachat
Closes #68
2019-05-16 17:32:06 +02:00
Friedel Ziegelmayer
342e416b4e Ci updates & closer to windows builds
* chore: update some ci

* feat: no more libiconv

* refactor: updates for updated mmime api

* fixup: correct mmime path

* cleanup

* use newer visual studio

* Update appveyor.yml

* unify libc imports and improve windows situation

* refactor: use rust based sleep

* improve cross platform state of types

* docs: update readme badges
2019-05-16 17:16:07 +02:00
Lars-Magnus Skog
259f19ca5d refactor: cast bool functions to libc::c_int instead of if-else (#60) 2019-05-11 18:44:57 +02:00
Hocuri
569c924a0c Replace types that use only 0 and 1 with bool (#18) (#58)
* Start replacing int with bool where possible (#18)

* Continue replacing int with bool where possible (#18)

* Continue replacing int with bool where possible (#18)

* Run fmt
2019-05-11 12:07:09 +02:00
dignifiedquire
b1249b7bb7 fix(ffi): add dc_array_is_independent 2019-05-10 11:08:09 +01:00
dignifiedquire
31d50e7016 fix: ffi interface updates 2019-05-02 11:31:35 +02:00
dignifiedquire
6e931d3e7b more fixes for android builds 2019-04-28 21:41:08 +03:00
dignifiedquire
2acaf54f69 stop autogenerating the header 2019-04-28 18:06:26 +03:00
dignifiedquire
b3041c0c5c ffi: fixup types 2019-04-28 15:22:33 +03:00
dignifiedquire
e8a79f220e refactor: use architecture dependent sizes 2019-04-28 15:18:30 +03:00
B. Petersen
401bddf61a add dc_context_t and more to ffi 2019-04-28 13:10:31 +02:00
B. Petersen
3ecb122ee1 add dc_msg_t to ffi 2019-04-28 01:38:32 +02:00
B. Petersen
a153f915d5 add dc_chat_t to ffi 2019-04-28 01:38:32 +02:00
B. Petersen
5b4111922e add dc_chatlist_t to ffi 2019-04-27 22:38:24 +02:00
dignifiedquire
956609f565 feat: reorg code, and prepare for c bindings 2019-04-27 21:48:22 +03:00