187 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
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 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
Lars-Magnus Skog 18c0d9f83b chore: update version to 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
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
dignifiedquire f4b68236fe refactor(context): simpler info formatting 2019-06-01 17:30:34 +02:00
björn petersen 88519d07ca fix(mimefactory): fix formatting string for voice message files
adapt data-format for sent voice-messages-filename and avoid crash on sending voice messages

Closes #107
2019-05-31 23:13:31 +02:00
dignifiedquire 697b750fae fix(imap): ignore uid 0 when setting flags
Closes #98
2019-05-30 21:00:26 +02:00
dignifiedquire 37cfcae42f refactor: safe logging macros 2019-05-30 12:24:01 +02:00
dignifiedquire f607dd3073 chore: remove unused features 2019-05-30 01:39:11 +02:00
dignifiedquire 8154781a0d refactor: replace assert_rtn with assert macros 2019-05-30 00:34:10 +02:00
Lars-Magnus Skog 3142ff22fd test: move to dc_param 2019-05-29 23:43:08 +02:00
Lars-Magnus Skog 0ffdaf254f test: move dc_array tests 2019-05-29 23:43:08 +02:00
Lars-Magnus Skog 51071fb09d test: move tests for dc_utf8_strlen() 2019-05-29 23:43:08 +02:00
Lars-Magnus Skog 424ada818b test: move stress tests to dc_strencode and dc_tools 2019-05-29 23:43:08 +02:00
dignifiedquire cd45a1f37c refactor: remove libc usage of snprintf and strndup 2019-05-29 22:04:30 +02:00
dignifiedquire de0503bbab chore: remove unused imports 2019-05-29 20:31:16 +02:00
dignifiedquire 62e54c7291 refactor: drop libc based directory reading 2019-05-29 20:21:59 +02:00
dignifiedquire c9c3ac3c23 fix: do not generate ptrs inside map 2019-05-29 19:14:10 +02:00