278 Commits

Author SHA1 Message Date
dignifiedquire c7cacca4f1 simplify open sqlite 2019-06-10 23:49:41 +02:00
dignifiedquire 604349ce92 fix truncation 2019-06-10 23:46:09 +02:00
dignifiedquire fb2187d12c it compiles 2019-06-10 23:24:07 +02:00
dignifiedquire 2306b6f490 progress 2019-06-10 22:09:36 +02:00
dignifiedquire f342ad7961 getting closer 2019-06-10 20:38:57 +02:00
dignifiedquire c557bee290 more sqlite fixes 2019-06-10 18:59:24 +02:00
dignifiedquire 6102d682a6 more sqlite fixes 2019-06-10 18:13:10 +02:00
dignifiedquire 53afc031d4 start sqlite 2019-06-10 17:31:20 +02:00
dignifiedquire eab1eee3cf Update dc_securejoin.rs 2019-06-10 17:31:13 +02:00
dignifiedquire 9336311e0f receive imf 2019-06-10 17:07:24 +02:00
dignifiedquire 87574844dc more progreses 2019-06-10 13:29:47 +02:00
dignifiedquire af85ad6764 loginparm refactor 2019-06-10 01:48:42 +02:00
dignifiedquire 7bd8882ff4 more progress 2019-06-09 18:28:04 +02:00
dignifiedquire 4ab21fe3e8 more things 2019-06-09 17:50:52 +02:00
dignifiedquire c2bc488d79 Update dc_contact.rs 2019-06-09 15:39:23 +02:00
dignifiedquire 23a18ce559 dc_onfigure 2019-06-09 13:30:34 +02:00
dignifiedquire 4ec7e2bdc7 chatlist 2019-06-09 13:11:00 +02:00
dignifiedquire 6bacdd4052 finish dc_chat 2019-06-09 12:52:09 +02:00
dignifiedquire 75ecdb1484 more chat fixes 2019-06-08 23:25:56 +02:00
dignifiedquire 460eff0226 more conversion.. 2019-06-08 23:13:08 +02:00
dignifiedquire 2565fb27d5 fix ? 2019-06-08 18:12:01 +02:00
dignifiedquire 26a51eacf1 context basics 2019-06-08 18:09:53 +02:00
dignifiedquire 987f535c38 more fixes 2019-06-08 17:14:19 +02:00
dignifiedquire b5ad7647c0 refactor: safe sql access 2019-06-08 17:14:19 +02:00
Friedel Ziegelmayer af8d056206 refactor: remove dc-strbuilder 2019-06-08 17:13:25 +02:00
Friedel Ziegelmayer 4e41dbf5ab refactor: reduce dependencies on libc 2019-06-08 17:13:05 +02:00
Friedel Ziegelmayer 39b82c2607 chore(ci): simplify appveyor
* reduce targets on appveyor to x86_64-pc-windows-msvc
* remove submodule update, not needed
* add cargo update
* run tests with --release for speed up
* prune debug folder from target cache
* debug folder pruned, no longer need rm

Closes #137
2019-06-08 13:40:26 +02:00
Floris Bruynooghe 0bce754adf Merge pull request #134 from flub/as_str
Rename to_str() -> as_str() to match stdlib naming convention
2019-06-08 10:57:24 +02:00
Lars-Magnus Skog 2ea69263e4 debug folder pruned, no longer need rm 2019-06-08 04:36:55 +02:00
Lars-Magnus Skog f515b8a8f0 prune debug folder from target cache 2019-06-08 04:28:38 +02:00
Lars-Magnus Skog 2881b8217d run tests with --release for speed up 2019-06-08 04:07:34 +02:00
Lars-Magnus Skog 5dd5e04200 add cargo update 2019-06-08 04:01:09 +02:00
Lars-Magnus Skog 1aa591777d remove submodule update, not needed 2019-06-08 04:00:51 +02:00
Lars-Magnus Skog bcc2eb720d chore: reduce targets on appveyor to x86_64-pc-windows-msvc 2019-06-08 04:00:05 +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
Friedel Ziegelmayer 02e7dc022b feat: remove compile date
It has few use only and the problem to stand in the way of reproducible builds.
2019-06-07 22:41:48 +02:00
Floris Bruynooghe 855c7844b5 Rename to_str() -> as_str() to match stdlib naming convention
The function does a cast and does not create a new objects.  The
stdlib convention is to use to_*() for functions which return new
objects and as_*() for functions which keep referring to the same data
but using a different type.  Follow that convention.
2019-06-07 22:19:39 +02:00
holger krekel 34fbe11587 fix python test 2019-06-07 14:49:09 +02:00
Lars-Magnus Skog 18c0d9f83b chore: update version to 1.0.0-alpha.0 1.0.0-alpha.0 2019-06-07 13:36:15 +02:00
björn petersen f5683f1fec fix: remove unneeded string duplication before passing to the callback 2019-06-07 13:34:00 +02:00
B. Petersen 99682f9569 remove compile date: it has few use only and the problem to stand in the way of reproducible builds 2019-06-06 15:15:38 +02:00
Friedel Ziegelmayer ef36874c7c Cleanup cli (#111)
Cleanup cli
2019-06-06 14:13:04 +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
B. Petersen 05e097baaa trim() commandline as rustyline adds lineends to commands eg. from inside IntelliJ IDEA 2019-06-06 13:13:16 +02:00
dignifiedquire dc7d23ec47 fix(x): do not enforce valid utf8 in strndup
Closes #112
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 95d4df6027 refactor: reduce dependencies on libc 2019-06-05 00:56:59 +02:00
Friedel Ziegelmayer 518935a938 refactor(context): simpler info formatting (#115)
refactor(context): simpler info formatting
2019-06-03 21:48:06 +02:00
Friedel Ziegelmayer 1386245d6c Merge pull request #117 from deltachat/unref-str
feat(ffi): add dc_str_unref
2019-06-03 13:37:54 +02:00
dignifiedquire d11ce1e539 feat(deps): use published mmime 2019-06-02 01:08:19 +02:00