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
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
693c0e0fc0
last method in imap
2019-05-06 13:46:31 +02:00
dignifiedquire
7fe8584db3
implment set_seen
2019-05-06 11:09:54 +02:00
dignifiedquire
29a9a408ef
remove unused types
2019-05-06 10:59:24 +02:00
dignifiedquire
afa80f55e9
setting some flags
2019-05-06 10:41:46 +02:00
dignifiedquire
fc36070f59
implement imap idle
2019-05-06 00:24:49 +02:00
Lars-Magnus Skog
2cf6cde5d1
chore: fix compiler warnings (mut + unused assignments) ( #40 )
...
* Stop allowing unused assignments
* test: remove unused assignments in cmdline
* chore: fix compiler warnings in dc_tools.rs
* chore: fix compiler warnings in dc_token.rs
* chore: fix compiler warnings in dc_strencode.rs
* chore: fix compiler warnings in dc_stock.rs
* chore: fix compiler warnings in dc_sqlite3.rs
* chore: fix compiler warnings in dc_simplify.rs
* chore: fix compiler warnings in dc_securejoin.rs
* chore: fix compiler warnings in dc_saxparser.rs
* chore: fix compiler warnings in dc_pgp.rs
* chore: fix compiler warnings in dc_param.rs
* chore: fix compiler warnings in dc_oauth2.rs
* chore: fix compiler warnings in dc_msg.rs
* chore: fix compiler warnings in dc_mimeparser.rs
* chore: fix compiler warnings in dc_mimefactory.rs
* chore: fix compiler warnings in dc_lot.rs
* chore: fix compiler warnings in dc_loginparams.rs
* chore: fix compiler warnings in dc_log.rs
* chore: fix compiler warnings in dc_location.rs
* chore: fix compiler warnings in dc_keyring.rs
* chore: fix compiler warnings in dc_key.rs
* chore: fix compiler warnings in dc_jsmn.rs
* chore: fix compiler warnings in dc_jobthread.rs
* chore: fix compiler warnings in dc_imex.rs
* chore: fix compiler warnings in dc_hash.rs
* chore: fix compiler warnings in dc_e2ee.rs
* chore: fix compiler warnings in dc_context.rs
* chore: fix compiler warnings in dc_contact.rs
* chore: fix compiler warnings in dc_chatlist.rs
* chore: fix compiler warnings in dc_chat.rs
* chore: fix compiler warnings in dc_array.rs
* chore: fix compiler warnings in dc_apeerstate.rs
* chore: fix compiler warnings in dc_aheader.rs
* chore: fix compiler warnings in dc_array.rs
* test: remove compiler warnings in test/stress.rs
* test: reduce compiler warnings in examples/repl/main.rs
* test: std:🧵 :sleep_ms() is deprecated
* chore: remove unused variable in dc_sqlite3.rs
* chore: fix compiler warnings in dc_receive_imf.rs
* chore: fix compiler warnings in dc_job.rs
* chore: fix compiler warnings in dc_configure.rs
* Fix formatting
2019-05-05 21:58:59 +02:00
dignifiedquire
67f1d67de7
fetching works
2019-05-05 00:15:45 +02:00
dignifiedquire
2fd38cd533
imap: fetch_from_folder
2019-05-05 00:15:45 +02:00
dignifiedquire
424e9db112
more fetch progress
2019-05-05 00:15:45 +02:00
dignifiedquire
67809957cd
remove some code
2019-05-05 00:15:45 +02:00
dignifiedquire
f559c92008
more imap functionality
2019-05-05 00:15:45 +02:00
dignifiedquire
e7d72dfdd4
fix some locking issues, start rust-imap impl
2019-05-05 00:15:45 +02:00
Friedel Ziegelmayer
0b3a4b4c13
refactor: clean up cmdline only functions ( #37 )
...
refactor: clean up cmdline only functions
2019-05-03 13:15:46 +02:00
Lars-Magnus Skog
227a61e16f
refactor: remove dc_cleanup_contacts() 🔥
2019-05-03 13:02:14 +02:00
Lars-Magnus Skog
e65284ff9d
refactor: remove poke_public_key() and dc_key_set_from_file() 🔥
2019-05-03 12:47:24 +02:00
Lars-Magnus Skog
95e1cc67b9
Fix FIXMEs in stress.rs ( #35 )
...
* Start by comparing strings instead of result of strcmp()
* Add failing tests for dc_trim, dc_ltrim and dc_rtrim
* Fix failing tests (use libc:isspace() which counts \r, \n etc)
* Remove FIXME for first dc_simplify_simplify()
* Fix formatting
* Fix tests for dc_param_set()
* Fix remaining FIXMEs in stress.rs
* Don't wrap libc::isspace()
* Wrap unit tests with mod tests
* Fix format
2019-05-03 11:13:06 +02:00
björn petersen
a33eb4b715
fix spaces at the line ends (resulted to 'locations_last_sentFROM' before) ( #36 )
2019-05-03 00:32:14 +02:00
dignifiedquire
e187f0f250
fix: allow concurrent access to dc_sqlite3_t
2019-05-02 23:36:09 +02:00
Friedel Ziegelmayer
1a0808e243
Merge pull request #33 from deltachat/build-deltachat-ffi
...
Build deltachat_ffi on ci
2019-05-02 22:36:47 +02:00
dignifiedquire
34685961a7
feat: use rust based smtp implementation
2019-05-02 22:34:29 +02:00
Lars-Magnus Skog
c8b6bae1eb
Build deltachat_ffi on ci
2019-05-02 22:23:53 +02:00
Lars-Magnus Skog
1a1a0eade8
chore(ci): use libsasl-dev
2019-05-02 22:19:17 +02:00