dignifiedquire
fd5cba7242
fixup
2019-07-06 11:32:15 +02:00
dignifiedquire
5c53bb5ed7
fixup
2019-07-06 11:31:46 +02:00
dignifiedquire
184b3c8e91
undo version bump
2019-07-06 11:30:45 +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
2aa81a7a9a
speed up test teardown by now waiting for threads to finish ...
...
and remove a debug statement
2019-07-05 23:12:11 +02:00
Hocuri
f671b25cbc
refactor: make dc_jobthread_t safe
2019-07-05 21:17:57 +02:00
holger krekel
3d7be47adf
fix rust format
2019-07-05 20:05:08 +02:00
holger krekel
27c8bb64c8
remove some debuging
2019-07-05 19:26:40 +02:00
dignifiedquire
4c95664992
fix and improve key import
2019-07-05 19:12:08 +02:00
holger krekel
f7d13fd12f
comment on when it passes
2019-07-05 16:32:26 +02:00
holger krekel
35248296af
some refinements, bump versions already
2019-07-05 16:23:33 +02:00
holger krekel
dfa2fcda73
use safe logging, and add some info on the processed key (this is WIP and needs to be removed)
2019-07-05 13:04:26 +02:00
holger krekel
699b2d48e6
add a failing test for Autocrypt Key Transfer failing to extract a private key from an incoming ASM message
2019-07-05 12:46:14 +02:00
holger krekel
12b2a706f0
address on flub comment, start on autocryt transfer test
2019-07-05 01:02:22 +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
02872c143a
Merge pull request #167 from deltachat/Simon-Laux-patch-2
...
Update Cargo.toml - add path for simple example
2019-07-04 11:54:35 +02:00
holger krekel
1a0ebba024
fix create_chat_by_message to work according to docs
2019-07-04 11:40:31 +02:00
holger krekel
6e13e177f7
fixed logging, removed one more "old" style logging
2019-07-04 11:16:15 +02:00
holger krekel
a2eb215fdf
remove last sync method for context callback -- simplifying event handling
2019-07-03 23:43:14 +02:00
holger krekel
a2245bdf4e
remove unusued sync methods
2019-07-03 23:05:20 +02:00
holger krekel
abdb02c361
add a test for testing that export works when an account has active threads
2019-07-03 21:31:20 +02:00
holger krekel
92d39642e6
bump rust-version
2019-07-03 21:13:59 +02:00
holger krekel
799ba8a5db
fix rust-formatting
2019-07-03 20:38:17 +02:00
holger krekel
8367a03b22
fix some lint issues, and run it during circle-CI
2019-07-03 20:32:01 +02:00
holger krekel
4378608617
convert some log infos and guard bindings against some misuse
2019-07-03 20:17:35 +02:00
holger krekel
adcb9d6069
fixed: make export/import work with blob-files again
...
also add some more logging.
2019-07-03 20:02:05 +02:00
holger krekel
191d11e719
export and import full DC database state
2019-07-03 18:59:56 +02:00
Simon Laux
464d0f4831
Update Cargo.toml
2019-07-02 14:11:58 +02:00
Floris Bruynooghe
d0c7f63809
Merge pull request #165 from deltachat/fixtests1
...
get liveconfig tests working, add imap/smtp connected events and tests
2019-07-02 13:25:20 +02:00
holger krekel
e597aade10
fix comment
2019-07-02 10:05:54 +02:00
holger krekel
08bade2c7c
fix fmt
2019-07-02 08:36:15 +02:00
holger krekel
2c26f4f2ab
convert the last two unsafe event emissions in smtp.rs
2019-07-02 01:45:48 +02:00
holger krekel
7a053b9f93
add SMTP_CONNECTED and IMAP_CONNECTED events
2019-07-01 22:27:44 +02:00
holger krekel
183a49eca0
remove superflous debug attempts
2019-07-01 20:11:35 +02:00
holger krekel
384822b5eb
replace unsafe use of dc logging with info! macro as per advise from @flub
2019-07-01 18:57:37 +02:00
holger krekel
06e16c81f9
Wip
2019-07-01 18:06:16 +02:00
holger krekel
d1593f0258
fix run-integration-test.sh to run without arguments
2019-07-01 15:57:00 +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.
1.0.0-alpha.1
2019-06-30 19:48:44 +02:00
Floris Bruynooghe
69975ae460
Merge pull request #159 from deltachat/fix_script
...
little PR to fix the install_py_bindings.sh script after @flub's changes
2019-06-28 09:21:11 +02:00
holger krekel
419add4902
little PR to fix the install_py_bindings.sh script after @flub's changes
2019-06-24 15:05:54 +02:00
björn petersen
bc8eabca27
Merge pull request #156 from deltachat/add-license
...
chore: add missing license
2019-06-19 20:08:35 +02:00
dignifiedquire
9f3512d2f1
chore: add missing license
...
Closes #151
2019-06-19 19:02:42 +02:00
Floris Bruynooghe
003d07328e
Merge pull request #155 from deltachat/flub-priv-sqlite-cobj
...
Make the SQLite struct opaque
2019-06-18 23:54:17 +02:00
Floris Bruynooghe
f8d428c308
Make the SQLite struct opaque
...
With the API changes already done, notably .is_open(), the
implementation of the sqlite can and should now be private.
This also doesn't need to be #[repr(C)] anymore since the C API does
not need to access the fields in the struct.
2019-06-18 23:20:01 +02:00
Floris Bruynooghe
2adbdf7d85
Merge pull request #143 from deltachat/flub-rusty-sql
...
Refactor the internal sql interface somewhat
2019-06-17 22:58:36 +02:00
Floris Bruynooghe
a6102d1039
Refactor the internal sql interface somewhat
...
Experiment with refactoring the internal sql interface a bit. My
original goal was to modify the schema and thus refactor to a state
where it would be sane to write tests for dc_sqlite_open() (and/or
however it ends up refactored) to assert schame changes before/after.
2019-06-17 22:31:36 +02:00
Floris Bruynooghe
7debe799d4
Merge pull request #153 from deltachat/flub-null-cb
...
Make the callback optional again
2019-06-17 20:38:46 +02:00
Floris Bruynooghe
db9bc15d3e
Make the callback optional again
...
The C API allows passing a NULL pointer is for the callback function.
However when calling the callback nothing checks for this null pointer
and thus things fail badly. Even worse since the C API is defined
using an "fn pointer" rather than a "*-ptr" or raw pointer to the
function rust does not realise this can be invalid and therefore the
typechecker does not catch this even though there are no unsafe casts.
Fix this by making the callback an Option in rust, this can be easily
checked when calling. Also add a Context.call_cb() function which
simplifies calling the callback, hides the weird syntax due to the
function pointer and makes the call a little easier. Finally it also
means the option checking is only needed in one place.
For the C API this needs to check if this is a NULL pointer or not,
this is implicitly done by rust using the "nullable pointer
optimisation":
https://doc.rust-lang.org/nomicon/ffi.html#the-nullable-pointer-optimization
2019-06-17 20:06:15 +02:00
Floris Bruynooghe
70bfc6d5e0
Merge pull request #152 from deltachat/flub-warns
...
Clean up some warnings and use newer nightly compiler
2019-06-16 17:34:06 +02:00