Commit Graph

  • 9d87f2f10b carefully replace msg state and type numbers with DC_MSG_* and DC_STATE_* constants and also declare them as i32 to avoid tons of casts holger krekel 2019-07-23 23:58:23 +02:00
  • 5de7c35622 disable upload to devpi as it's currently down and unncessarily braks PR testing holger krekel 2019-07-24 13:36:06 +02:00
  • 004cdf6491 Improve punctuation of message, printed by "repl" program Dmitry Bogatov 2019-07-24 01:27:37 +00:00
  • 72ad8b5199 Improve error handling in dc_send_text_msg() Dmitry Bogatov 2019-07-24 04:49:56 +00:00
  • cb75ac3842 Remove dc_location_t Alexander Krotov 2019-07-24 02:58:18 +03:00
  • a5553f98af dc_location.rs: rewrite is_marker in safe Rust Alexander Krotov 2019-07-24 02:36:20 +03:00
  • 648d3d78aa Remove dc_arr_to_string function that was used only once Alexander Krotov 2019-07-23 02:56:50 +03:00
  • afcf48f833 add test, fix and high level python api for dc_delete_contact the rust-logic was inverted -- you can not delete a contact that still has messages with it. holger krekel 2019-07-22 23:13:51 +02:00
  • ba56f9978b run rustfmt mimefactory_remove_gotos jikstra 2019-07-22 19:01:20 +02:00
  • e1e268f7e4 Remove some more current_block = someint assignments, remove match blocks, keep indentation jikstra 2019-07-22 19:00:59 +02:00
  • 29b3c1dd4c Call cleanup closure on errors, remove current_block = someint if everything is okay jikstra 2019-07-22 18:58:24 +02:00
  • da56615c93 Implement cleanup closure jikstra 2019-07-22 18:53:25 +02:00
  • 6454367247 run rustfmt qr_remove_indent_closure_for_cleanup jikstra 2019-07-22 18:11:12 +02:00
  • 76c353bf36 Add early return check jikstra 2019-07-22 18:10:56 +02:00
  • f4a5ed498a run rustfmt jikstra 2019-07-22 18:04:32 +02:00
  • d32effb77f Remove if OK_TO_CONTINUE checks, keep indentation jikstra 2019-07-22 18:03:39 +02:00
  • 2340b9be48 Replace OK_TO_CONTINUE = false with close call, remove ifs for OK_TO_CONTINUE jikstra 2019-07-22 17:57:53 +02:00
  • 70552b2d1c Implement cleanup closure jikstra 2019-07-22 17:56:15 +02:00
  • 4128aae331 cargo fmt only qr_remove_indent holger krekel 2019-07-22 17:22:44 +02:00
  • c914a0339b remove indentation holger krekel 2019-07-22 17:19:56 +02:00
  • a1f4849188 serialize OK_TO_CONTINUE checks (preparing for deintendation) holger krekel 2019-07-22 17:18:29 +02:00
  • e5a9761233 cargo fmt (and nothing else!) holger krekel 2019-07-22 17:12:09 +02:00
  • ff15754c1f remove double curly brances holger krekel 2019-07-22 17:11:40 +02:00
  • de2b0059c9 systematically substitute "goto cleanup" logic without changing indentation holger krekel 2019-07-22 17:08:04 +02:00
  • b83316bd4d try write a test for unshown messages fix_unshown_message holger krekel 2019-07-22 15:52:27 +02:00
  • 6f79800824 fix last two warnings holger krekel 2019-07-22 11:45:41 +02:00
  • 7a19963879 properly fix the QueryReturnedNoRows warning and rustfmt holger krekel 2019-07-22 11:12:40 +02:00
  • cd7630360f fix fmt holger krekel 2019-07-22 02:33:08 +02:00
  • 4a633169e1 Merge branch 'master' into flub-nowarn holger krekel 2019-07-22 01:40:56 +02:00
  • ea8d6e8ff0 Write a deltachat.pc file at build time Floris Bruynooghe 2019-07-04 23:50:09 +02:00
  • 065124b93b Merge branch 'master' into flub-param-names holger krekel 2019-07-22 01:11:47 +02:00
  • 86d290832b Merge branch 'master' into flub-py-glue-fixes holger krekel 2019-07-22 01:09:58 +02:00
  • 56f8717a40 Show AutocryptSetupMessage independently of show-emails settings Alexander Krotov 2019-07-21 22:22:11 +03:00
  • 4a0b2e68c8 Add DC_CMD_* constants Alexander Krotov 2019-07-21 22:52:28 +03:00
  • 2576b78126 Merge branch 'master' into flub-py-glue-fixes holger krekel 2019-07-22 00:39:47 +02:00
  • 6a956b6008 Merge branch 'master' into flub-param-names holger krekel 2019-07-22 00:24:04 +02:00
  • 33575e7aa3 dc_get_abs_path cleanup Alexander Krotov 2019-07-21 22:45:48 +03:00
  • 8089559958 Squashed commit of the following: holger krekel 2019-07-21 23:31:14 +02:00
  • 6bc5d1b90e fix fmt eventlogging holger krekel 2019-07-21 22:56:37 +02:00
  • 197d94ad9d Merge remote-tracking branch 'origin/master' into eventlogging holger krekel 2019-07-21 22:51:16 +02:00
  • 7ce337c6d0 left-over error logging holger krekel 2019-07-21 22:44:27 +02:00
  • 10148d2e43 ignore non-utf8 parts of header fields (add comment why it shouldn't happen) don't throw error if no sql rows are returned holger krekel 2019-07-21 22:03:17 +02:00
  • 686678c96c Spellcheck Alexander Krotov 2019-07-21 21:38:18 +03:00
  • c116d6f73f Use Rust for instead of C while in dc_array test Alexander Krotov 2019-07-21 20:11:36 +03:00
  • a7c8ebc089 Replace DC_ARRAY_MAGIC #define with a constant Alexander Krotov 2019-07-21 15:44:04 +03:00
  • 7774052911 Use DC_PARAM_* constants everywhere Floris Bruynooghe 2019-07-21 20:25:52 +02:00
  • 69dc237ee3 fix(receive_imf): remove recursive sql call dignifiedquire 2019-07-21 12:56:04 +02:00
  • 68888f6d1f Also silence warnings in test code Floris Bruynooghe 2019-07-21 12:03:04 +02:00
  • 3dfd623db7 Use constants instead of hardcoded values in dc_mimefactory.rs Alexander Krotov 2019-07-21 00:35:49 +03:00
  • 31d2bc7401 Silence warnings from ignored Result values Floris Bruynooghe 2019-07-21 00:32:33 +02:00
  • 5ee8f8cb59 Several fixes to the intergration tests Floris Bruynooghe 2019-07-20 23:23:00 +02:00
  • d1825956b2 Merge pull request #198 from link2xt/top_evil_rs_shebang Floris Bruynooghe 2019-07-20 19:17:44 +02:00
  • 30ca377586 src/top_evil_rs.py: fix shebang to always use Python 3 and make it executable Alexander Krotov 2019-07-20 19:43:05 +03:00
  • df5464ea80 fix: blocked is an optional value dignifiedquire 2019-07-20 17:05:24 +02:00
  • e4bf9956a5 fix(msg): handle optional in_reply_to dignifiedquire 2019-07-20 16:50:56 +02:00
  • d353d9d9d8 fix(chat): remove recursive sql usage dignifiedquire 2019-07-20 16:17:25 +02:00
  • 1ad45ed4d6 fix rust fmt holger krekel 2019-07-20 15:14:11 +02:00
  • 496e980a17 use forked rusqlite dignifiedquire 2019-07-20 14:34:20 +02:00
  • fa09e46ed9 another pace where we might (and in my case did) get invalid utf8 holger krekel 2019-07-20 12:37:51 +02:00
  • d6de420b9a fix some string issues, introduce to_string_lossy such that to_string() continues to panic on non-utf8 holger krekel 2019-07-20 12:30:48 +02:00
  • 38eb708db8 for now make to_string() less strict as we often don't want to crash the whole app just because some non-proper utf8 came in (through a message we can't neccesarily congtrol) holger krekel 2019-07-20 01:17:53 +02:00
  • 7a59da5f8f fix linting holger krekel 2019-07-19 22:48:39 +02:00
  • f13a1d4a2f fix some test flakyness holger krekel 2019-07-19 22:46:58 +02:00
  • 7b3a450918 - fix saved_mime test which broke to improper conversion of imf_raw_not_terminated - some cargo.toml updates no clue where they come from - log Message-ID for received messages holger krekel 2019-07-19 22:35:07 +02:00
  • 169923b102 formatting holger krekel 2019-07-19 12:31:22 +02:00
  • 42688a0622 remove some print statements holger krekel 2019-07-19 12:24:56 +02:00
  • 35f3c0edd1 Merge branch 'master' into eventlogging holger krekel 2019-07-19 10:25:21 +02:00
  • f58b1d66c2 add a little script to compute rust-evilness holger krekel 2019-07-17 17:20:46 +02:00
  • e7a236264a print invalid strings dignifiedquire 2019-07-18 23:20:20 +02:00
  • aaa5b820d9 cleanup dignifiedquire 2019-07-18 23:12:35 +02:00
  • e7f0745010 reduce direc usage of CString dignifiedquire 2019-07-18 23:03:57 +02:00
  • c68e7ae14e audit use of to_cstring and fix ub dignifiedquire 2019-07-18 22:47:47 +02:00
  • 618087e5a7 fix(imap): body ptr lifetime dignifiedquire 2019-07-18 21:38:52 +02:00
  • 245abb8384 remove debug dignifiedquire 2019-07-18 19:44:10 +02:00
  • a3e1042001 fix some things, add more debugging statements dignifiedquire 2019-07-18 18:30:54 +02:00
  • 7b7ce9348f fix python lint issues holger krekel 2019-07-18 15:11:57 +02:00
  • 7a4808ba0d cargofmt holger krekel 2019-07-18 14:35:54 +02:00
  • 8f240f7153 (dig,hpk) pull out job collection from sql query/lock logic holger krekel 2019-07-18 14:03:57 +02:00
  • 7d0b5d8abb remove print statements and fix a crash holger krekel 2019-07-18 12:52:02 +02:00
  • ee317cb1b5 fix some merge issues holger krekel 2019-07-18 11:38:10 +02:00
  • 7b736fe635 (dig,hpk) add test and fix for wrong dbs holger krekel 2019-07-18 11:16:38 +02:00
  • c7db15352a Merge branch 'master' into eventlogging holger krekel 2019-07-18 09:59:44 +02:00
  • 0c5015d92b chore: release v1.0.0-alpha.3 1.0.0-alpha.3 dignifiedquire 2019-07-18 00:34:46 +02:00
  • ab2d2e7583 chore: prepare for using cargo-release dignifiedquire 2019-07-18 00:33:07 +02:00
  • c11ac46dce chore: add Cargo.lock dignifiedquire 2019-07-18 00:29:01 +02:00
  • 8a0fc609e6 The big sqlite refactor Friedel Ziegelmayer 2019-07-18 00:24:45 +02:00
  • 0b37167be8 address @dignifiedquire comments holger krekel 2019-07-18 00:06:05 +02:00
  • a04bd73439 a first start of cleaning up dc_qr try_ungoto_qr holger krekel 2019-07-17 20:34:48 +02:00
  • 4febfa6bd8 Merge branch 'eventlogging' into merge1 merge1 holger krekel 2019-07-17 13:12:11 +02:00
  • 5cac4b5076 remove spurious print holger krekel 2019-07-17 12:47:22 +02:00
  • 475a41beb3 address @dignifiedquire rustyness comment and fix changelog holger krekel 2019-07-17 12:31:12 +02:00
  • f8db71e589 rustfmt holger krekel 2019-07-17 12:08:06 +02:00
  • caac871092 Merge branch 'flub-sqlite' into merge1 holger krekel 2019-07-17 12:07:15 +02:00
  • ad4be80b4e make smtp/imap connect() return bool instead of c-int mergetry1 holger krekel 2019-07-17 10:25:25 +02:00
  • 8737c1d142 cleanup some parts, add comments holger krekel 2019-07-17 09:26:33 +02:00
  • 964fe466cc wip-commit which passes all tests with proper finalization holger krekel 2019-07-16 20:05:41 +02:00
  • 43936e7db7 snapshot of my current debugging state holger krekel 2019-07-16 16:17:42 +02:00
  • d7360064a0 Merge remote-tracking branch 'origin/imap-locks' into exp1 exp1 holger krekel 2019-07-16 13:45:45 +02:00
  • 0e80ce9c39 more aggressively skip perform API when threads are closing holger krekel 2019-07-16 12:57:19 +02:00
  • c652bae68a intermediate wip commit holger krekel 2019-07-16 12:06:05 +02:00