Alexander Krotov
ad87b7c4a5
Fix clippy warnings
2019-12-03 20:20:52 +03:00
Alexander Krotov
2f47cf0be5
Resultify moz_autoconfigure
2019-12-03 06:22:05 +00:00
Alexander Krotov
774106fc26
Move read_autoconf_file to its own module
2019-12-03 06:22:05 +00:00
Alexander Krotov
1b0ff9f5be
Make parse_xml in auto_mozilla.rs private
2019-12-03 06:22:05 +00:00
Alexander Krotov
cb52a299cc
Add an error type to configure::auto_mozilla module
2019-12-03 06:22:05 +00:00
Alexander Krotov
f778957caf
Improve documentation and comments
2019-11-16 13:53:47 +01:00
Alexander Krotov
5f7279eb85
auto_mozilla: server is only configured if the type matches
...
This fixes the testcase introduced in previous commit
2019-10-12 17:07:20 +03:00
Alexander Krotov
ce67f593f6
Add XML parsing test for Mozilla autoconfig
2019-10-12 17:07:20 +03:00
Alexander Krotov
556ea57f37
auto_mozilla: split XML parsing into separate function
2019-10-12 17:07:20 +03:00
holger krekel
102220834c
address https://github.com/deltachat/deltachat-ios/issues/328 and don't escalate xml-parsing errors to users through error!
2019-10-08 23:09:03 +02:00
Alexander Krotov
5c3a7e4119
Use Rust types in auto_mozilla.rs
2019-10-07 18:43:53 +03:00
Alexander Krotov
f86cec4844
Mark moz_autoconfigure as safe
2019-10-06 05:16:17 +03:00
Alexander Krotov
1b13107181
Return Option<String> from read_autoconf_file
2019-10-06 05:16:17 +03:00
dignifiedquire
05f9f454c3
refactor: remove x module and delete deadcode
2019-09-21 17:56:49 +02:00
Alexander Krotov
2e91c3d334
Use DC_LP_* constants in auto_mozilla.rs
2019-09-14 13:14:35 +03:00
Dmitry Bogatov
57daa0f7f0
Remove useless argument of logging macros
...
Previously, logging macros (info! warn! error!) accepted integer
argument (data1), that was passed to callback function verbatim. In all
call sites this argument was 0.
With this change, that data1 argument is no longer part of macro
interface, 0 is always passed to callback in internals of these macros.
2019-09-10 22:26:47 +00:00
dignifiedquire
f3e53a05a6
refactor(loginparam): rename dc_loginparam -> login_param
2019-09-08 18:48:57 +02:00
dignifiedquire
dd381a5c1c
refactor(loginparam): simplify and rustify
2019-09-08 18:48:57 +02:00
Alexander Krotov
3b397326f8
Store email parts as Rust str's
2019-09-07 20:23:08 +03:00
Alexander Krotov
81cabd08a9
Accept str instead of char* in read_autoconf_file
2019-09-07 20:20:25 +03:00
Simon Laux
491826556b
renaming dc_configure to configure
...
and renaming the autoconfigure modules
2019-08-19 19:03:46 +02:00