Commit Graph

  • 906c420af4 Remove comment remove_gotos_dc_receive_imf jikstra 2019-08-07 23:18:57 +02:00
  • cb138fdcb7 Remove comment jikstra 2019-08-07 23:17:11 +02:00
  • a993c256e2 Remove comment jikstra 2019-08-07 23:15:55 +02:00
  • ea6972118a refactor: rusty contact Friedel Ziegelmayer 2019-08-07 22:20:48 +02:00
  • 2a63f3fba2 run cargo fmt jikstra 2019-08-07 22:17:49 +02:00
  • f9f655b77d remove gotos from dc_receive_imf method jikstra 2019-08-07 22:16:56 +02:00
  • 89c611607c run cargo fmt jikstra 2019-08-07 22:10:00 +02:00
  • 280fda24f5 remove gotos from create_or_lookup_group jikstra 2019-08-07 22:08:04 +02:00
  • 05b47d8dcb run cargo fmt jikstra 2019-08-07 21:41:25 +02:00
  • 183cb08bee Remove gotos from create_or_lookup_adhoc_group commit jikstra 2019-08-07 21:41:06 +02:00
  • 70f6aa9d3a run cargo fmt jikstra 2019-08-07 21:21:13 +02:00
  • e1d7871754 Remove gotos in dc_strencode jikstra 2019-08-07 21:20:35 +02:00
  • 655884b559 run cargo fmt jikstra 2019-08-07 21:13:54 +02:00
  • e0dbd47185 Remove gotos from dc_mimefactory jikstra 2019-08-07 21:13:20 +02:00
  • 925759a922 run cargo fmt jikstra 2019-08-07 20:57:58 +02:00
  • 9034f316ba Remove gotos from dc_e2ee_encrypt function jikstra 2019-08-07 20:57:42 +02:00
  • 0276f97d96 run cargo fmt jikstra 2019-08-07 20:52:38 +02:00
  • ac2f9fdee5 remove gotos from new_data_part function jikstra 2019-08-07 20:52:18 +02:00
  • 76b3c532b1 run cargo fmt jikstra 2019-08-07 20:40:50 +02:00
  • 760332262d Add more assertions to `deltachat-ffi' library Dmitry Bogatov 2019-08-05 14:14:54 +00:00
  • bc2314586c Avoid unstable `inner_deref' feature Dmitry Bogatov 2019-08-04 17:40:29 +00:00
  • 765ac2005e Change type of dc_msg_t.text to String Dmitry Bogatov 2019-08-03 11:53:46 +00:00
  • d4650ba4a9 Add Rust clone of python `prepare_and_send' test Dmitry Bogatov 2019-08-04 13:34:42 +00:00
  • b715df9e97 make ok_to_continue variable mutable jikstra 2019-08-07 19:16:21 +02:00
  • acb3d14d7d remove gotos in dc_e2ee in dcrypt_part function jikstra 2019-08-07 19:14:35 +02:00
  • c0e3c7a9df run cargo fmt jikstra 2019-08-07 19:01:24 +02:00
  • 164130a83f Replace gotos with ok_to_continue (is_valid) approach jikstra 2019-08-07 19:00:28 +02:00
  • 4d9bd46c9d Add note about possible cause of lost messages Dmitry Bogatov 2019-07-26 23:12:05 +00:00
  • 76d3d86a9e import dc_extract... method for rustdoc example jikstra 2019-08-05 12:54:03 +02:00
  • c0b1e41820 Improve function documentation jikstra 2019-08-05 12:10:22 +02:00
  • 10689f45f4 cargo fmt jikstra 2019-08-04 16:51:18 +02:00
  • 205e2d4e99 Fix rustdoc jikstra 2019-08-04 16:43:59 +02:00
  • 5b368960c0 Apply requested changes jikstra 2019-08-04 13:20:04 +02:00
  • 9ecd0f80dc Fix test and simplify if gate jikstra 2019-08-03 15:30:02 +02:00
  • 45eec35e6e Make dc_extract_grpid_from_rfc724_mid take/return &str instead of String jikstra 2019-08-03 15:25:46 +02:00
  • b74a86f617 Run cargo fmt jikstra 2019-08-03 15:10:36 +02:00
  • ff95c44d51 Make receive_imf use safe version of dc_extract_grpid_from_rfc724_mid - Remove unused unsafe wrapper - Adjust tests to use safe version jikstra 2019-08-03 15:05:47 +02:00
  • d5168916df Refactor dc_extract_grpid_from_rfc724_mid_list and rename test jikstra 2019-08-03 14:47:24 +02:00
  • 282f964f2f Add tests for dc_extract_grpid_from_rfc724_mid and implement safe version of dc_extract_grpid_from_rfc724_mid jikstra 2019-08-03 14:34:38 +02:00
  • 7b5073b634 ?1 and ?2 Simon Laux 2019-08-04 15:03:55 +02:00
  • 59bb9add2a fix an type error Simon Laux 2019-08-04 15:02:32 +02:00
  • ed95752f8f use DC_CONTACT_ID_SELF constant instead of 1 Simon Laux 2019-08-04 10:08:28 +02:00
  • 81719c4b33 add coment that helps with understanding the code Simon Laux 2019-08-04 08:51:31 +02:00
  • fc6019e3c9 fix sql statement in order to close #163 Simon Laux 2019-08-04 08:50:58 +02:00
  • 5811248bfc Merge pull request #289 from KAction/new-assert Alexander Krotov 2019-08-04 12:58:04 +00:00
  • 47b76ceb3e python: assert that underlying dc_msg_t* for Message is not NULL Dmitry Bogatov 2019-08-04 09:17:54 +00:00
  • 0051720d1b Kill to_cstring with fire Floris Bruynooghe 2019-08-04 00:14:49 +02:00
  • d814dffbb0 Merge pull request #281 from deltachat/new-mmime Jikstra 2019-08-03 15:31:36 +02:00
  • ba02406cb0 Rename OK_TO_CONTINUE variable to success and remove linter exception jikstra 2019-08-03 12:43:54 +02:00
  • 4e1e32df65 chore: update mmime to 0.1.1 dignifiedquire 2019-08-03 11:12:21 +02:00
  • d2b23b727b Restore carriage-return handling to how it was in dcc Floris Bruynooghe 2019-08-03 00:26:38 +02:00
  • d37dda6f50 Turn the function safe Floris Bruynooghe 2019-08-01 21:29:21 +02:00
  • c568d5dcac Safe string usage Floris Bruynooghe 2019-07-28 18:05:17 +02:00
  • 227ef1b467 Add unittest Floris Bruynooghe 2019-07-28 16:40:33 +02:00
  • a8cea64f39 feat(deps): update rusqlite to official version again dignifiedquire 2019-08-02 21:43:25 +02:00
  • 294e855bbe Merge pull request #276 from link2xt/lines Friedel Ziegelmayer 2019-08-02 20:28:23 +02:00
  • c5eef21645 Remove carray use and comment Alexander Krotov 2019-08-02 12:14:49 +03:00
  • d64fcece5b Return Vec instead of carray from dc_split_into_lines Alexander Krotov 2019-08-02 00:28:40 +03:00
  • 0a9f3ae160 Use Vec instead of carray in dc_forward_msgs() (#277) Friedel Ziegelmayer 2019-08-02 11:05:28 +02:00
  • acbedbd352 Remove unused function dc_simplify_simplify (#278) Friedel Ziegelmayer 2019-08-02 11:05:05 +02:00
  • e78b879c9e Remove unused function dc_simplify_simplify Alexander Krotov 2019-08-02 09:29:40 +03:00
  • 1145c3533b Use Vec instead of carray in dc_forward_msgs() Alexander Krotov 2019-08-02 01:34:02 +03:00
  • 0d41a78182 Merge pull request #272 from link2xt/parts_vec Friedel Ziegelmayer 2019-08-01 23:50:53 +02:00
  • a4f94dbf86 Store dc_mimeparser_t::parts as Vec instead of carray Alexander Krotov 2019-08-01 00:32:57 +03:00
  • b6b0849bce Remove to_cstring() naming convention ambiguity Floris Bruynooghe 2019-08-01 00:08:23 +02:00
  • e7428887d0 Introduce new type: Viewtype (#256) Friedel Ziegelmayer 2019-08-01 12:17:33 +02:00
  • a7269e7096 Merge pull request #274 from KAction/refine-bool Friedel Ziegelmayer 2019-08-01 11:22:55 +02:00
  • 7394666266 Refine type of SmtpState.doing_jobs to bool Dmitry Bogatov 2019-08-01 06:51:52 +00:00
  • 8eb5cec9ce Refine type of SmtpState.suspended to bool Dmitry Bogatov 2019-08-01 06:41:50 +00:00
  • b2807429cc Refine type of SmtpState.probe_network to bool Dmitry Bogatov 2019-08-01 06:37:06 +00:00
  • 07d7316a9f Refine type of Context.perform_inbox_jobs_needed to bool Dmitry Bogatov 2019-08-01 06:31:58 +00:00
  • 1f9807ccfe Refine type of Context.probe_network to bool Dmitry Bogatov 2019-08-01 06:23:37 +00:00
  • 3358d09148 Derive and use Display trait for Viewtype Dmitry Bogatov 2019-07-30 08:52:43 +00:00
  • c04c8ff103 Introduce new enum: Viewtype Dmitry Bogatov 2019-07-29 01:58:42 +00:00
  • e7456248a0 Merge pull request #244 from link2xt/dc_location_vec Friedel Ziegelmayer 2019-07-31 22:15:35 +02:00
  • 3370b9cfcb Merge pull request #268 from KAction/string-os-name Friedel Ziegelmayer 2019-07-31 22:13:18 +02:00
  • 022c7c2f07 Merge pull request #266 from KAction/dc_msg_is_starred_bool Friedel Ziegelmayer 2019-07-31 22:06:48 +02:00
  • 9e50e77031 Simplify dc_initiate_key_transfer() Alexander Krotov 2019-07-31 20:06:05 +00:00
  • 39e9cfd908 Merge pull request #269 from link2xt/dc_array_sort_ids Friedel Ziegelmayer 2019-07-31 22:04:17 +02:00
  • c29c893426 Merge pull request #270 from link2xt/get_backoff_time_offset-safe Friedel Ziegelmayer 2019-07-31 22:03:29 +02:00
  • 16028cc5dc Merge pull request #271 from link2xt/reports_vec Friedel Ziegelmayer 2019-07-31 22:02:35 +02:00
  • 39e530f759 Change Context.os_name field to String Dmitry Bogatov 2019-07-30 21:25:45 +00:00
  • 8274c6bf17 Allow non_snake_case in dc_replace_bad_utf8_chars function jikstra 2019-07-29 16:23:43 +02:00
  • 566d255b33 run cargo fmt jikstra 2019-07-29 16:16:47 +02:00
  • 9fb9fb0fc1 Remove goto/current_block logic with OK_TO_CONTINUE. Keeps identation jikstra 2019-07-29 16:15:07 +02:00
  • 164a8fe39a encode_66bits_as_base64: use base64 crate Alexander Krotov 2019-07-30 01:59:36 +03:00
  • 0b679f8b95 dc_tools: Make dc_create_id() safe Alexander Krotov 2019-07-29 14:19:43 +03:00
  • 8267ffb8d2 Replace dc_mimeparser_t::reports carray with Vec Alexander Krotov 2019-07-31 15:57:05 +03:00
  • 7bc338fc72 Mark get_backoff_time_offset as safe Alexander Krotov 2019-07-31 15:51:50 +03:00
  • d6dae0a9e8 Make dc_array_sort_ids() safe and move it into impl Alexander Krotov 2019-07-31 03:08:20 +03:00
  • a41c0614cc Make dc_msg_is_starred() return bool Dmitry Bogatov 2019-07-30 14:08:15 +00:00
  • 73298c0273 chore: fix and enforce compiler warnings on CI Dmitry Bogatov 2019-07-30 07:58:28 +00:00
  • b44c7928f2 Merge pull request #265 from link2xt/safe_cb_set_config Friedel Ziegelmayer 2019-07-30 09:53:56 +02:00
  • dd9b83dc24 Merge pull request #264 from link2xt/key-to_asc-safe Friedel Ziegelmayer 2019-07-30 09:53:42 +02:00
  • e79c168279 Merge pull request #263 from link2xt/sql-is_file_in_use-safe Friedel Ziegelmayer 2019-07-30 09:53:13 +02:00
  • 707c8c2830 Make dc_split_armored_data return bool (#251) Alexander Krotov 2019-07-30 09:46:36 +03:00
  • f87c98d6ea Make cb_set_config() safe Alexander Krotov 2019-07-30 02:43:39 +03:00
  • 76e76470e0 Replace range loop with foreach loop Alexander Krotov 2019-07-28 21:36:17 +03:00
  • ae6c41a019 dc_kml_t: replace Option<dc_array_t> with Option<Vec<dc_location>> Alexander Krotov 2019-07-28 16:07:04 +03:00
  • 81a84620eb Store dc_kml_t::locations as Option<dc_array_t> instead of pointer Alexander Krotov 2019-07-28 15:50:41 +03:00