Commit Graph

64 Commits

Author SHA1 Message Date
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
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
dignifiedquire
34685961a7 feat: use rust based smtp implementation 2019-05-02 22:34:29 +02:00
dignifiedquire
2c69d6e767 fix dc_tools handling of deletion and reading 2019-05-02 19:31:49 +02:00
dignifiedquire
fa6dd07dec refactor(tools): use rust-natie for file operations 2019-05-02 16:05:15 +02:00
dignifiedquire
31d50e7016 fix: ffi interface updates 2019-05-02 11:31:35 +02:00
dignifiedquire
2f1873a8bd resolve last fixmes 2019-05-02 11:19:08 +02:00
dignifiedquire
25e2be8bed implement more fixmes in idle 2019-05-02 08:43:18 +02:00
dignifiedquire
ba7d690617 cleanup pthreads 2019-05-02 00:00:54 +02:00
dignifiedquire
313f71a004 it compiles 2019-05-01 23:41:11 +02:00
dignifiedquire
1abc53f757 more job work 2019-05-01 23:41:11 +02:00
dignifiedquire
745a899530 more rework 2019-05-01 23:41:11 +02:00
dignifiedquire
75319dbf67 continue rustification 2019-05-01 23:41:11 +02:00
dignifiedquire
72e9fe6150 start reworking context references and smtp, imap 2019-05-01 23:41:11 +02:00
dignifiedquire
3e971d81d4 refactor: start using rust for allocations & locks 2019-05-01 23:41:11 +02:00
dignifiedquire
60bd7c0a19 hammer time 2019-05-01 19:11:20 +02:00
Lars-Magnus Skog
5548297df8 chore: libc::c_int -> bool in dc_ahead_render 2019-05-01 12:16:50 +02:00
Lars-Magnus Skog
e148532c73 cleanup: convert i32s in dc_aheader.rs 2019-05-01 00:08:15 +02:00
B. Petersen
b05b2ead0c use i32 for mail_port 2019-04-30 20:58:57 +02:00
dignifiedquire
aa32c53a43 fix: compiles on android 32bit 2019-04-28 17:54:23 +03:00
dignifiedquire
e8a79f220e refactor: use architecture dependent sizes 2019-04-28 15:18:30 +03:00
dignifiedquire
7c50702221 feat: port commandline tests 2019-04-28 00:14:23 +03:00
dignifiedquire
956609f565 feat: reorg code, and prepare for c bindings 2019-04-27 21:48:22 +03:00
dignifiedquire
731d7392bd chore: fix rust toolchain 2019-04-27 20:53:14 +03:00
dignifiedquire
63c0c34f6b cleanup: fixup deadcode 2019-04-27 18:06:40 +03:00
dignifiedquire
e737a32c54 cleanup: remove unused imports 2019-04-27 18:02:12 +03:00
dignifiedquire
95637ba275 cleanup: fix warnings 2019-04-27 17:48:12 +03:00
dignifiedquire
4cf5903d60 feat: update latest deltachat-core 0.43.0 2019-04-27 17:35:49 +03:00
dignifiedquire
2d057cba56 improve info string and version setting 2019-04-27 15:55:27 +03:00
dignifiedquire
8a99151252 refactor event callback and handle http_get in tests 2019-04-27 15:34:11 +03:00
dignifiedquire
879441e176 cleanup: dc_aheader 2019-04-27 03:16:01 +03:00
dignifiedquire
1faf248e09 remove extern c and no_mangle 2019-04-27 01:42:58 +03:00