Commit Graph

43 Commits

Author SHA1 Message Date
dignifiedquire 668c647fdd refactor: cleanup config values and move to their own file 2019-07-14 23:57:05 +02:00
dignifiedquire ef31412d9e ignore expected errors 2019-07-12 08:51:05 +02:00
dignifiedquire b6392ee582 try newer rust 2019-07-11 18:36:44 +02:00
dignifiedquire 3b27dd28b6 use r2d2 pool 2019-07-11 00:17:06 +02:00
dignifiedquire ab41679855 refactor: safe sql access 2019-07-10 16:45:05 +02:00
dignifiedquire f336166867 fix(deps): disable default features 2019-07-06 17:35:19 +02:00
dignifiedquire 286d1a99aa fixup 2019-07-06 11:29:13 +02:00
dignifiedquire 4fe99b21c9 feat: add better feature configurations 2019-07-06 11:25:01 +02:00
holger krekel c7c86f1b03 Merge pull request #169 from deltachat/imex_tests
Imex tests and fix for export-blobs
2019-07-04 15:50:24 +02:00
holger krekel 92d39642e6 bump rust-version 2019-07-03 21:13:59 +02:00
Simon Laux 464d0f4831 Update Cargo.toml 2019-07-02 14:11:58 +02:00
Floris Bruynooghe 6ccc75b1ed Arbitrarily bump the version
This allows me to create a new tag and play wity building flatpak
builds for this tag.
2019-06-30 19:48:44 +02:00
dignifiedquire 9f3512d2f1 chore: add missing license
Closes #151
2019-06-19 19:02:42 +02:00
Friedel Ziegelmayer af8d056206 refactor: remove dc-strbuilder 2019-06-08 17:13:25 +02:00
Lars-Magnus Skog a32a275d73 feat: Add utility to convert OsStr to CString (#136)
* Add utility to convert OsStr to CString

This is approach seems acceptable in the context of deltachat, it
should work correctly on unix and on Windows requires paths to be
valid utf-8.

* Use failure crate for error types

* Add OsStrExt impl for Path, fix windows and update docs

- Adds an OsStrExt impl for Path directly, a little more convenience.

- Fix the windows code to actually use the right function name.  Test
  the impl function on unix too since that was the point of having it
  implemented in a separate function to begin with.

- Improve the docs, do hyperlinks a bit better.

* Another attempt at learing to type

Having your compiler in the cloud is just painful.

* Do not treat this as a fatal error

When PRs are made from forks the passwords are unavailable.  We don't
want CI to fail because of this.

* Implement using the AsRef<OsStr> trait

This means any type with implements this trait will get this
implementation, thus covering both OsStr and Path instead of having
duplicate implementations for those like before.

* fix format
2019-06-08 03:04:30 +02:00
Lars-Magnus Skog 18c0d9f83b chore: update version to 1.0.0-alpha.0 2019-06-07 13:36:15 +02:00
Lars-Magnus Skog 9a0a451999 chore: use rustyline@4.1.0 for now (#128)
* switch to rustyline 4.1.0

* adapt highlight_prompt to 4.1.0 format

* fix rust fmt
2019-06-06 13:13:16 +02:00
dignifiedquire 983ccaaccd feat(examples): refactor repl to use rustyline and safe rust 2019-06-06 13:13:16 +02:00
dignifiedquire d11ce1e539 feat(deps): use published mmime 2019-06-02 01:08:19 +02:00
dignifiedquire 37bfc3fe14 fixup: switch back to mmime master 2019-05-30 12:24:12 +02:00
dignifiedquire 6e6be4ef1a fixup: use fixed mmime branch 2019-05-30 01:31:37 +02:00
Friedel Ziegelmayer d033667433 Fix bugs (#93)
* fix(repl): pass null pointer instead of empty string

* fix(peerstate): ensure load and store to the db works
2019-05-28 17:59:41 +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
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
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
dignifiedquire 2a135576a6 remove unused dep 2019-05-14 00:47:42 +02:00
dignifiedquire 00314ffbe0 feat: add proper shutdown logic for imap 2019-05-12 22:18:22 +02:00
dignifiedquire 6d2cbe2208 update mmime dep 2019-05-07 13:52:22 +01:00
dignifiedquire e43ddf0359 refactor: reorg code and drop usage of libetpans base64 encoder 2019-05-07 10:51:41 +01:00
dignifiedquire 83917ef93e wip - use mmime instead of libetpan 2019-05-07 10:45:46 +01:00
dignifiedquire fc36070f59 implement imap idle 2019-05-06 00:24:49 +02:00
dignifiedquire e7d72dfdd4 fix some locking issues, start rust-imap impl 2019-05-05 00:15:45 +02:00
dignifiedquire 34685961a7 feat: use rust based smtp implementation 2019-05-02 22:34:29 +02:00
dignifiedquire 1fd91f2da8 build: basics for android 2019-04-28 15:18:30 +03:00
Lars-Magnus Skog ab2efb71cc chore: use a temporary path for db in example 2019-04-27 23:22:54 +02:00
dignifiedquire 7c50702221 feat: port commandline tests 2019-04-28 00:14:23 +03:00
dignifiedquire 956609f565 feat: reorg code, and prepare for c bindings 2019-04-27 21:48:22 +03:00
dignifiedquire 8a99151252 refactor event callback and handle http_get in tests 2019-04-27 15:34:11 +03:00
dignifiedquire 1faf248e09 remove extern c and no_mangle 2019-04-27 01:42:58 +03:00
dignifiedquire 9a1fcc745e constants and basic header generation 2019-04-27 00:33:40 +03:00
dignifiedquire c008d9e1a7 feat: use libsqlite3-sys 2019-04-26 22:12:23 +03:00
dignifiedquire 29993db512 use rpgp directly 2019-04-26 21:58:58 +03:00
dignifiedquire ff99e19972 inital commit 2019-04-26 11:57:23 +03:00