Commit Graph

5685 Commits

Author SHA1 Message Date
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
Lars-Magnus Skog
2e4bc048fb test: run stress tests in the regular test setup
Closes #13
2019-05-02 20:48:31 +02:00
dignifiedquire
2c69d6e767 fix dc_tools handling of deletion and reading 2019-05-02 19:31:49 +02:00
dignifiedquire
4ed2d1204c fix(example): improve lock handling in the repl 2019-05-02 17:28:56 +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
3308767b24 examples compile again 2019-05-01 23:41:11 +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
Friedel Ziegelmayer
24bde9fde0 Merge pull request #25 from deltachat/circle-ci
Add basic setup for circleci
2019-05-01 23:23:24 +02:00
Lars-Magnus Skog
2f7eb48516 ci: add basic setup for circleci 2019-05-01 19:36:41 +02:00
Lars-Magnus Skog
f8c4b56cc4 Merge pull request #23 from deltachat/fix-linking
Fix linking
2019-05-01 19:35:58 +02:00
dignifiedquire
7ead7071fc try avoiding duplicat defs 2019-05-01 19:33:44 +02:00
dignifiedquire
60bd7c0a19 hammer time 2019-05-01 19:11:20 +02:00
dignifiedquire
a5a1220816 use static to try and hide functions 2019-05-01 17:18:41 +02:00
dignifiedquire
8a923bf121 remove duplicate methods from misc.h 2019-05-01 17:06:29 +02:00
Lars-Magnus Skog
5548297df8 chore: libc::c_int -> bool in dc_ahead_render 2019-05-01 12:16:50 +02:00
Friedel Ziegelmayer
5d7f14a24b cleanup: convert i32s in dc_aheader.rs (#10)
cleanup: convert i32s in dc_aheader.rs
2019-05-01 11:38:58 +02:00
Lars-Magnus Skog
e148532c73 cleanup: convert i32s in dc_aheader.rs 2019-05-01 00:08:15 +02:00
Friedel Ziegelmayer
8d770b6dfd use i32 for mail_port (#8)
use i32 for mail_port
2019-04-30 22:07:39 +02:00
B. Petersen
b05b2ead0c use i32 for mail_port 2019-04-30 20:58:57 +02:00
dignifiedquire
6e931d3e7b more fixes for android builds 2019-04-28 21:41:08 +03:00
dignifiedquire
2acaf54f69 stop autogenerating the header 2019-04-28 18:06:26 +03:00
dignifiedquire
aa32c53a43 fix: compiles on android 32bit 2019-04-28 17:54:23 +03:00
dignifiedquire
b3041c0c5c ffi: fixup types 2019-04-28 15:22:33 +03:00
dignifiedquire
1fd91f2da8 build: basics for android 2019-04-28 15:18:30 +03:00
dignifiedquire
e8a79f220e refactor: use architecture dependent sizes 2019-04-28 15:18:30 +03:00
Friedel Ziegelmayer
736ff0afba Merge pull request #7 from deltachat/ffi
improve ffi
2019-04-28 15:16:25 +03:00
B. Petersen
401bddf61a add dc_context_t and more to ffi 2019-04-28 13:10:31 +02:00
B. Petersen
3ecb122ee1 add dc_msg_t to ffi 2019-04-28 01:38:32 +02:00
B. Petersen
a153f915d5 add dc_chat_t to ffi 2019-04-28 01:38:32 +02:00
Friedel Ziegelmayer
425c84c1ce Merge pull request #6 from ralphtheninja/master
print out data2 for Event::ERROR_NETWORK as well
2019-04-28 00:55:44 +02:00
Lars-Magnus Skog
7183a8995e chore: print out data2 for Event::ERROR_NETWORK as well 2019-04-28 00:54:11 +02:00
Friedel Ziegelmayer
686d95ff07 Merge pull request #5 from ralphtheninja/master
chore: use a temporary path for db in example
2019-04-27 23:33:49 +02:00
Lars-Magnus Skog
ab2efb71cc chore: use a temporary path for db in example 2019-04-27 23:22:54 +02:00