Lars-Magnus Skog
0ad4a71897
test: remove tests testing c pre processor code 💥
2019-05-13 17:55:18 +02:00
Lars-Magnus Skog
4fb5bc63be
test: move tests to dc_tools.rs
2019-05-13 17:33:34 +02:00
Lars-Magnus Skog
90daeb3616
test: use constants instead of hardcoded values
2019-05-13 16:47:02 +02:00
Lars-Magnus Skog
be1972e36c
test: pull in constants for message types into tests
2019-05-13 16:38:38 +02:00
Lars-Magnus Skog
95f4d0d701
test: test more message types
2019-05-13 16:35:10 +02:00
Lars-Magnus Skog
5c9dc3a334
test: move dc_msg_guess_msgtype_from_suffix tests to dc_msg.rs
2019-05-13 16:23:47 +02:00
Lars-Magnus Skog
986c092801
test: move dc_mimeparser_parse() tests to separate test
2019-05-13 16:06:32 +02:00
Lars-Magnus Skog
ab96264c1a
test: move dc_atof/dc_ftoa tests to dc_tools.rs
2019-05-13 15:48:03 +02:00
Lars-Magnus Skog
4183141424
test: move ato{l,i} tests to x.rs
2019-05-13 15:48:03 +02:00
Lars-Magnus Skog
26d6e41c7d
test: move dc_may_be_valid_addr tests to dc_contact.rs
2019-05-13 15:48:03 +02:00
Lars-Magnus Skog
5ccc68bbfa
test: move mime parsing unit tests to dc_mimeparser.rs
2019-05-13 15:48:02 +02:00
Lars-Magnus Skog
ec570ead35
test: move dc_kml_parse() to separate test
2019-05-13 15:46:17 +02:00
Lars-Magnus Skog
a95544c5c0
test: move simplify tests to unit tests for dc_simplify.rs
2019-05-13 15:46:17 +02:00
Lars-Magnus Skog
3813a219e0
Wrap dc_context_t and TempDir in a struct
2019-05-13 15:46:16 +02:00
Lars-Magnus Skog
e3e56d9f7e
Skip #[cfg(test)] and mod tests, not needed
2019-05-13 15:46:16 +02:00
Lars-Magnus Skog
c9b6bb6a9b
add create_context() function
2019-05-13 15:46:16 +02:00
björn petersen
a154de6cc5
Merge pull request #64 from deltachat/remove-blobdir-from-mimeparser
...
chore: remove blobdir member from dc_mimeparser_t struct
2019-05-13 15:38:51 +02:00
Lars-Magnus Skog
dc92166ca2
chore: remove blobdir member from dc_mimeparser_t struct 🔥
...
dc_mimeparser_new() constructor takes both blobdir and context, but only
uses the blobdir from the context and doesn't care about parser.blobdir,
this can be removed safely since only used internally.
2019-05-13 15:32:53 +02:00
Friedel Ziegelmayer
db77c66c06
feat(imap): bring back oauth2 logic ( #62 )
...
feat(imap): bring back oauth2 logic
2019-05-12 23:00:49 +01:00
dignifiedquire
d480209cfa
feat(imap): bring back oauth2 logic
2019-05-12 23:45:11 +02:00
Friedel Ziegelmayer
ab94fddde2
Safe aheader & imap fixes ( #61 )
...
Safe aheader & imap fixes
2019-05-12 22:18:23 +01:00
dignifiedquire
173d7cd767
fix(imap): properly disconnect
2019-05-12 23:12:38 +02:00
dignifiedquire
693474d5be
fix(dc_job): dont subtract too much
2019-05-12 23:11:13 +02:00
dignifiedquire
fdd870286e
refactor: move aheader to safe rust
2019-05-12 23:11:13 +02:00
dignifiedquire
00314ffbe0
feat: add proper shutdown logic for imap
2019-05-12 22:18:22 +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
holger krekel
4a913fa4b6
Merge pull request #59 from ralphtheninja/master
...
refactor: fix double negations
2019-05-11 12:45:47 +02:00
Lars-Magnus Skog
f4467d008c
refactor: fix double negations
2019-05-11 12:13:26 +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
7266b64c66
fix: flags typo
2019-05-10 16:00:08 +01:00
dignifiedquire
b1249b7bb7
fix(ffi): add dc_array_is_independent
2019-05-10 11:08:09 +01:00
dignifiedquire
0c4d9efb40
chore(imap): log failed command
2019-05-10 10:59:36 +01:00
dignifiedquire
da6aba90a4
fix: add missing comma to dc_get_locations sql
2019-05-10 10:57:12 +01:00
dignifiedquire
76f982a1f5
fix: mvbox and sentbox lock contention
2019-05-10 03:39:23 +01:00
dignifiedquire
2a4057a774
fix(tls): disable hostname checks in all cases
2019-05-09 14:21:41 +01:00
Lars-Magnus Skog
3a7dcd14ab
chore: stop allowing unused_attributes ( #54 )
2019-05-08 12:40:18 +02:00
Lars-Magnus Skog
0bbda91e77
Fix warnings on variables not needing mut ( #48 )
...
chore: fix compiler warnings (unused mut)
2019-05-08 00:44:40 +02:00
Friedel Ziegelmayer
22285f7fa0
refactor: start using rust for allocations & locks + no more libetpan
2019-05-07 20:02:43 +01:00
dignifiedquire
924597fa36
cleanup imap and smtp code a bit
2019-05-07 19:53:31 +01:00
dignifiedquire
d6ad9bb727
cleanup job setup
2019-05-07 19:45:54 +01:00
dignifiedquire
0ba0c0a3c0
examples(repl): load chat
2019-05-07 18:44:49 +01:00
dignifiedquire
127677223e
cleanup logging a bit
2019-05-07 18:28:16 +01:00
dignifiedquire
671271a999
example(repl): better arg parsing
2019-05-07 16:34:21 +01:00
dignifiedquire
caecdbb673
refactor: remove some locks on jobthread
2019-05-07 16:34:12 +01:00
dignifiedquire
eac0c201bd
fix locking in the repl
2019-05-07 15:46:02 +01:00
Friedel Ziegelmayer
b0da2533ec
rust-imap, less locking problems ( #39 )
...
rust-imap, less locking problems
2019-05-07 14:20:43 +01:00
dignifiedquire
0d7ac01119
simplify build
2019-05-07 14:00:33 +01:00
dignifiedquire
6d2cbe2208
update mmime dep
2019-05-07 13:52:22 +01:00
dignifiedquire
2bead0aa6c
fix missing imports for mmime
2019-05-07 13:48:13 +01:00
dignifiedquire
50b88332e3
fixing more imports
2019-05-07 11:01:56 +01:00