Commit Graph

  • 2e91c3d334 Use DC_LP_* constants in auto_mozilla.rs Alexander Krotov 2019-09-14 13:14:35 +03:00
  • d1b762af04 Make DC_LP_* constants public Alexander Krotov 2019-09-14 13:14:18 +03:00
  • e1e02839d1 Return bool from dc_mimefactory_render Alexander Krotov 2019-09-12 12:59:52 +03:00
  • 50a812ea5e Return bool from mailmime_transfer_decode Alexander Krotov 2019-09-12 12:58:31 +03:00
  • 27a4adb9c6 Return bool from export_key_to_asc_file Alexander Krotov 2019-09-12 12:56:51 +03:00
  • 3932d8f48f Return bool from export_self_keys Alexander Krotov 2019-09-12 12:55:48 +03:00
  • d978a8e0a2 Return bool from {import,export}_backup Alexander Krotov 2019-09-12 12:54:23 +03:00
  • fad49e08d7 message.rs: resolve "should return bool" TODOs Alexander Krotov 2019-09-12 12:50:08 +03:00
  • 0f67b16f29 Return bool from add_contact_to_chat_ex Alexander Krotov 2019-09-12 12:45:52 +03:00
  • 97edd23910 Return bool from add_to_chat_contacts_table Alexander Krotov 2019-09-12 12:39:55 +03:00
  • 400ab2cdab Return bool from dc_msg_get_showpadlock Alexander Krotov 2019-09-12 12:38:32 +03:00
  • db20ecf985 Remove println jikstra 2019-09-13 22:35:31 +02:00
  • e59f421e79 cargo fmt jikstra 2019-09-13 22:25:18 +02:00
  • 75b7de712a Fix get_draft to just return null and not produce errors if there's no draft jikstra 2019-09-13 18:19:52 +02:00
  • fa8192177d Merge pull request #514 from deltachat/in_reply_to Alexander Krotov 2019-09-13 10:21:32 +00:00
  • 70a69d5313 cargo fmt feat_ui_config B. Petersen 2019-09-13 11:02:34 +02:00
  • 48ffef7955 Store In-Reply-To header as Option<String> Alexander Krotov 2019-09-13 11:43:48 +03:00
  • 055796e6b3 Merge pull request #496 from KAction/safe Alexander Krotov 2019-09-13 00:43:28 +00:00
  • 34433c4962 support additional placeholder in stock-string B. Petersen 2019-09-12 14:40:08 +02:00
  • 6d1076e1f6 Mark dc_imex() as safe Alexander Krotov 2019-09-12 18:11:02 +03:00
  • 056faad029 Implement set/get_ui_config and use those methods if config string starts with 'ui.' B. Petersen 2019-09-12 21:53:37 +02:00
  • bb4081e503 Rename query_row_col to query_get_value Dmitry Bogatov 2019-09-12 18:42:12 +00:00
  • bef25ad5f6 Avoid excessive allocation in dc_search_msgs Dmitry Bogatov 2019-09-12 07:37:00 +00:00
  • f47652e72d Change argument type of write_asc_to_file from const char * to &Path Dmitry Bogatov 2019-09-12 07:23:59 +00:00
  • 7c4d7fb3dd Make Aheader::from_imffields accept &str, not const char * Dmitry Bogatov 2019-09-12 06:32:13 +00:00
  • cdfc7281d0 Simplify Sql.query_row_col function Dmitry Bogatov 2019-09-12 05:01:06 +00:00
  • 500e80784a Replace some of context.sql.get_config() with context.get_config() Dmitry Bogatov 2019-09-12 04:41:06 +00:00
  • c5803d9b4c Remove useless catch-all pattern-matching Dmitry Bogatov 2019-09-12 04:17:00 +00:00
  • ebac00fbde Use safe version of dc_write_file Dmitry Bogatov 2019-09-12 03:56:18 +00:00
  • f198ce29b1 Drop unsafe version of dc_get_abs_path Dmitry Bogatov 2019-09-12 01:33:58 +00:00
  • df47e0ed63 Use safe version of dc_get_abs_path. Dmitry Bogatov 2019-09-12 01:22:44 +00:00
  • 477470ff70 Make dc_msg_get_file return PathBuf, not char* Dmitry Bogatov 2019-09-11 22:45:54 +00:00
  • aefddf7f5e Remove context refrence from Contact struct Floris Bruynooghe 2019-09-11 22:36:27 +02:00
  • 5ce27b16f1 Remove context refernce from Chatlist Floris Bruynooghe 2019-09-11 19:41:52 +02:00
  • 8302d6833d Remove context ref from Chat struct Floris Bruynooghe 2019-09-11 19:04:29 +02:00
  • 649c2eb676 try running qr tests in a new process instead of with all the other tests holger krekel 2019-09-11 22:00:56 +02:00
  • fb52fe84e6 try running qr tests in a new process instead of with all the other tests hpk-separate-qr-tests holger krekel 2019-09-11 22:00:56 +02:00
  • a0b5e32f98 Remove the context reference from Message struct Floris Bruynooghe 2019-09-09 21:35:08 +02:00
  • e73671a6ff Merge pull request #485 from deltachat/really-fix-477 björn petersen 2019-09-11 20:14:48 +02:00
  • 9503aca78d Merge branch 'master' into really-fix-477 björn petersen 2019-09-11 19:52:13 +02:00
  • dfaa8e4529 Merge pull request #490 from deltachat/fix/location-sql björn petersen 2019-09-11 19:40:46 +02:00
  • cbc3579e9a Merge pull request #489 from deltachat/no-recursive-delete björn petersen 2019-09-11 19:39:15 +02:00
  • dd2e3d35fd fix(location): another nesting dignifiedquire 2019-09-11 18:13:21 +02:00
  • ca9dccfcd7 fix(location): another nested sql dignifiedquire 2019-09-11 17:57:59 +02:00
  • 64b00fce7d fix(location): do not sql recurse in location sending dignifiedquire 2019-09-11 17:46:05 +02:00
  • 177ab0229a do not call fs::remove_dir_all() implicitly on non-files; deleting folders is not needed and calling remove_dir_all() is considered harmful B. Petersen 2019-09-11 17:02:27 +02:00
  • 68b5e34fed Merge pull request #488 from KAction/transfer Alexander Krotov 2019-09-11 05:36:02 +00:00
  • 2eda839303 cargo-fmt Dmitry Bogatov 2019-09-11 02:19:48 +00:00
  • 71a01d3002 Reduce indentation in dc_continue_key_transfer Dmitry Bogatov 2019-09-11 02:12:35 +00:00
  • 995548002b Merge pull request #484 from link2xt/safe_test_encryption_decryption Alexander Krotov 2019-09-11 00:43:21 +00:00
  • 38ad16887b Merge pull request #487 from KAction/top_evil Alexander Krotov 2019-09-11 00:42:48 +00:00
  • c20e8f7613 Use safe version of dc_decode_header_words on one call site Dmitry Bogatov 2019-09-10 23:31:29 +00:00
  • 5bd4606854 Implement safe version of `dc_decode_header_words' Dmitry Bogatov 2019-09-10 23:26:08 +00:00
  • e7b198849d Copy comment for dc_encode_headers_words from C code Dmitry Bogatov 2019-09-10 22:49:53 +00:00
  • 3ab0d74af2 Remove unused `unsafe' block in log_event! macro Dmitry Bogatov 2019-09-10 22:35:54 +00:00
  • 7ed5a8e72f Reimplement logging macros in terms of log_event! Dmitry Bogatov 2019-09-10 21:42:53 +00:00
  • 57daa0f7f0 Remove useless argument of logging macros Dmitry Bogatov 2019-09-10 19:04:21 +00:00
  • 2dd3f169db Use set_config_bool instead of set_config_int in boolean context Dmitry Bogatov 2019-09-10 17:40:33 +00:00
  • b97b618b4b Use sql.get_config_bool to simplify dc_is_configured Dmitry Bogatov 2019-09-10 17:32:44 +00:00
  • bb12488200 Add Sql.{set,get}_config_bool methods Dmitry Bogatov 2019-09-10 17:29:50 +00:00
  • 706a97b013 Move part of test_encryption_decryption to key.rs Alexander Krotov 2019-09-11 00:40:40 +03:00
  • 1cdb9c733a Change return type of `dc_is_configured' to bool Dmitry Bogatov 2019-09-10 16:09:34 +00:00
  • ffc525af9e pragmatismatic: run flaky tests three times to see if we can get more "green" CI runs this way ... thanks to @the-compiler also modernize plugin usage holger krekel 2019-09-10 12:07:03 +02:00
  • 3ed6417754 pragmatismatic: run flaky tests three times to see if we can get more "green" CI runs this way ... thanks to @the-compiler also modernize plugin usage rerun-flaky-py holger krekel 2019-09-10 12:07:03 +02:00
  • 1576dc1d13 top_evil_rs: check for all-caps version of ok_to_continue pattern Dmitry Bogatov 2019-09-10 15:54:36 +00:00
  • 4fbb5fbb25 Make it easier to run src/top_evil_rs.py from git root Dmitry Bogatov 2019-09-10 15:48:08 +00:00
  • e9da21a02e cargo fmt B. Petersen 2019-09-10 17:27:28 +02:00
  • 6c4d7ad8cc do not panic on bad-utf-8 B. Petersen 2019-09-10 16:48:54 +02:00
  • f1c026c5ec Pass passphrase to dc_pgp_symm_{en,de}crypt as &str Alexander Krotov 2019-09-10 13:49:34 +03:00
  • 3d61c06ea9 Merge pull request #478 from deltachat/fix477 björn petersen 2019-09-10 15:50:33 +02:00
  • 22c1ee1f55 cargo fmt Alexander Krotov 2019-09-10 16:29:41 +03:00
  • 971960a242 key.rs: remove unsafe Key.from_binary Alexander Krotov 2019-09-10 16:23:56 +03:00
  • 69f8973339 test_encryption_decryption: use safe from_slice instead of from_binary Alexander Krotov 2019-09-10 16:23:38 +03:00
  • bf1d9b6d06 fix crash when msg_raw is None B. Petersen 2019-09-09 23:55:58 +02:00
  • 6a2368f83c Return bool from dc_continue_key_transfer Alexander Krotov 2019-09-10 13:53:32 +03:00
  • d0960f7f7f Merge pull request #483 from link2xt/dc_msg_exists_safe Alexander Krotov 2019-09-10 15:15:33 +03:00
  • e5ad697466 Make dc_msg_exists safe and rusty Alexander Krotov 2019-09-10 14:20:42 +03:00
  • 188eab5faf Fix test_encryption_decryption Alexander Krotov 2019-09-10 02:41:23 +03:00
  • 580ae5b499 Fix test_encryption_decryption encryption_decryption_test_fix Alexander Krotov 2019-09-10 02:41:23 +03:00
  • 2b257e3d0d fix ffi holger krekel 2019-09-09 18:43:03 +02:00
  • 77c9746be5 Make dc_msg_get_filemime safe Alexander Krotov 2019-09-09 18:33:17 +03:00
  • 28cae607a4 Pass buffers to pgp.rs as slices Alexander Krotov 2019-09-09 03:28:29 +03:00
  • 814281ed7d fixes #463 Simon Laux 2019-09-08 16:52:35 +02:00
  • 3a602ee313 fix ffi safe-dc_msg_get_filemime holger krekel 2019-09-09 18:43:03 +02:00
  • 5b0c8dd9dd address @r10s and @flub review comments, and fix some docstrings/test meta docs holger krekel 2019-09-09 17:31:43 +02:00
  • 650d8c45ec fix test, and cleanup according profile-image API holger krekel 2019-09-09 00:53:31 +02:00
  • 383d8980d6 add profile image API to python, tests, Rust fixes/cleanups holger krekel 2019-09-08 22:44:51 +02:00
  • 6ea706c646 remove macro Simon Laux 2019-09-08 16:57:56 +02:00
  • 1ed2af08b8 cargo fmt Simon Laux 2019-09-07 13:26:06 +02:00
  • 7563a5abe0 remove closure Co-authored-by: @Jikstra Simon Laux 2019-09-07 13:23:54 +02:00
  • 0a8b187f80 fix remove chat profile img Simon Laux 2019-09-07 12:34:56 +02:00
  • e0c1b91a7a Make dc_msg_get_filemime safe Alexander Krotov 2019-09-09 18:33:17 +03:00
  • 275aa853f5 Merge pull request #471 from deltachat/fix417 björn petersen 2019-09-09 16:18:50 +02:00
  • 3614d57f9f Merge pull request #469 from deltachat/refctor/strencode Friedel Ziegelmayer 2019-09-09 11:52:30 +02:00
  • 1367873949 check bounds before accessing Vec B. Petersen 2019-09-09 01:47:31 +02:00
  • d933183e0a mark safe functions as such B. Petersen 2019-09-09 00:56:13 +02:00
  • 7e11def527 make code more readable B. Petersen 2019-09-09 00:01:15 +02:00
  • f3e53a05a6 refactor(loginparam): rename dc_loginparam -> login_param dignifiedquire 2019-09-08 13:37:40 +02:00
  • dd381a5c1c refactor(loginparam): simplify and rustify dignifiedquire 2019-09-08 13:35:48 +02:00
  • 1c359bcd88 fix try2 cleanup_search_chat_ids holger krekel 2019-09-08 18:41:05 +02:00