1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 02:29:28 +02:00
Commit graph

1989 commits

Author SHA1 Message Date
B. Petersen
96f72a31da make sure always the base-pointer is free()'d and use a second pointer for the beginning of the private-key 2018-06-18 18:15:18 +02:00
B. Petersen
70084dbb21 correct smtpidle-suspend condition 2018-06-15 17:53:53 +02:00
Thomas Oster
ad59f89ba5 Fix: Import keys where public and private key are in the same file 2018-06-15 10:19:10 +02:00
B. Petersen
174048aa12 do not log specific errors if there is simply not network available 2018-06-14 23:53:50 +02:00
B. Petersen
c1108adc33 protect against race-condition when interupt() is called while perform-jobs() is running 2018-06-14 23:22:29 +02:00
B. Petersen
bd33e707b8 for now, leave the e-mail-address in the user-id 2018-06-14 23:19:29 +02:00
B. Petersen
8a9e81fd57 clearer flow when performing jobs 2018-06-14 16:06:53 +02:00
B. Petersen
b2d837fa6c simplify job-processing if a file is increation 2018-06-14 14:09:38 +02:00
B. Petersen
ea6f0fd27d refactor 2018-06-14 13:28:44 +02:00
B. Petersen
6e749c5d31 refactor 2018-06-14 13:20:33 +02:00
B. Petersen
5fe7b8fa03 bump version 2018-06-13 23:40:17 +02:00
B. Petersen
d49389bcfb show simple connection issues as logged-warnings and not as error-bubbles 2018-06-13 23:40:10 +02:00
Björn Petersen
200be2359c
Merge pull request #190 from deltachat/separate-smtp-thread
Separate smtp thread
2018-06-13 16:18:42 +02:00
B. Petersen
a508d3df0b smtp_suspend() waits until jobs() are done and we're in idle (where we are suspended) 2018-06-13 11:37:24 +02:00
B. Petersen
0d254967df call smtp-thread-suspend-function before/after configure 2018-06-13 11:21:59 +02:00
B. Petersen
d79ac29909 add a function to keep the smtp thread blocked in idle (needed for configure) 2018-06-13 11:09:59 +02:00
B. Petersen
b7d48eeab2 protect idle thread against spurious wakeups while handling timeouts and errors correctly 2018-06-13 10:58:37 +02:00
B. Petersen
fb135d7bfc re-indent 2018-06-13 00:57:00 +02:00
B. Petersen
c82e920c45 provide functions to use a separate smtp-thread 2018-06-13 00:13:54 +02:00
B. Petersen
0a237ca72c adapt cli to new smtp-api 2018-06-13 00:12:15 +02:00
B. Petersen
6bc22c91d1 Revert "protect fake-idle against spurious wakeups"
This reverts commit 3d98d98e55.
2018-06-13 00:04:14 +02:00
B. Petersen
3d98d98e55 protect fake-idle against spurious wakeups 2018-06-12 23:46:54 +02:00
B. Petersen
ff5c0a4eae remove unneeded locking in smpt-thread 2018-06-12 23:22:59 +02:00
B. Petersen
aafb6b5915 allow jobs for different threads 2018-06-12 23:18:59 +02:00
B. Petersen
40dbd099ef refactor cli-calls 2018-06-12 16:29:02 +02:00
B. Petersen
f4cd97c362 simplify fake-idle calculation 2018-06-12 14:06:18 +02:00
B. Petersen
571067d146 fix checking idle capabilities (always-fake-idle introduced accidentially yesterday with 7f796d27f0) 2018-06-12 14:01:04 +02:00
Floris Bruynooghe
a496af1817
Merge pull request #185 from flub/master
Use bundeled libetpan by default
2018-06-12 09:04:26 +02:00
B. Petersen
1606db6fce comment 2018-06-11 14:32:04 +02:00
B. Petersen
fb0721a0dd adapting the unconfigured idle-thread so that it waits for configure 2018-06-11 14:15:21 +02:00
B. Petersen
5203786a6f execute configuration in the IMAP-thread 2018-06-11 13:57:32 +02:00
B. Petersen
4b72ddf2c7 re-indent because of removed locks 2018-06-11 13:13:52 +02:00
Björn Petersen
58925884bc
Merge pull request #187 from deltachat/new-idle
New idle
2018-06-11 13:05:11 +02:00
B. Petersen
7f796d27f0 simplify and comment fake-idle 2018-06-11 12:59:55 +02:00
B. Petersen
958e45c263 improve idle error handling 2018-06-11 12:41:06 +02:00
B. Petersen
102b0d3ce4 split FETCH-IDLE-function into FETCH-function and IDLE-function 2018-06-11 09:33:43 +02:00
B. Petersen
792a862b8f FETCH directly before IDLE to keep the FETCH-IDLE-gap where messages may be delayed short 2018-06-11 08:31:40 +02:00
Floris Bruynooghe
702b3ccc49 Use bundeled libetpan by default
Using the system-libetpan causes pain to people who have out-dated
library versions, additionally it is nice to by default create a
library which uses dependencies as close as possible to the android
version for testing purposes.  This makes sure that the bundeled
sub-projects are used by default.

Additionally it makes sure to not install these bundeled dependencies
and only statically link the libdeltachat.so against them.  This is
beneficial to not conflict with any system-installed versions of these
libraries, especially since some bundled libraries are stripped down
and would not provide indirect users of the library the full library
functionality.

It does still provide an option to use the system-provided libetpan if
desired however, this makes sure libdeltachat plays nice with normal
package managers etc.
2018-06-10 19:52:54 +02:00
B. Petersen
3a878fd12f create watch thread 2018-06-10 18:37:27 +02:00
B. Petersen
9ffe62e167 adapt fake-idle 2018-06-10 16:54:09 +02:00
holger krekel
46513f1942
Merge pull request #184 from flub/static-etpan
Link against bundled libetpan
2018-06-10 16:49:18 +02:00
Floris Bruynooghe
8a7509b4e0
Merge pull request #133 from mogorman/pkg-config
patch makes meson create pkg-config file so apps can make use of it
2018-06-10 16:43:58 +02:00
Floris Bruynooghe
5f3c12f0bc Link against bundled libetpan
This should still be made optional.
2018-06-10 16:37:39 +02:00
B. Petersen
651d81a274 lower idle-timeout as we're currently mixing smtp and imap in the same queue 2018-06-10 14:45:48 +02:00
holger krekel
c170a18a87
Merge pull request #183 from flub/test-poc
Test poc
2018-06-10 12:54:16 +02:00
holger krekel
9418325e07
Merge pull request #182 from flub/etpan-dep
Fix etpan deps creation
2018-06-10 12:53:01 +02:00
Floris Bruynooghe
880071b161 Add proof-of-concept unittest
Doesn't do anything useful yet.
2018-06-10 12:22:28 +02:00
Floris Bruynooghe
c5b8113032 Fix etpan deps creation
This was comparing a list with a string, which will start failing in
the future (as it should!).  But there's simply no need for this,
declare_dependency() function is quite happy with an empty list for
argument.  This was probably a leftover from an earlier attempt to get
things working.
2018-06-10 11:07:15 +02:00
B. Petersen
de86ea0b6a do not use do-exit flag, the interrupt-idle terminates perfom-idle unconditionally 2018-06-10 10:39:09 +02:00
B. Petersen
c947b5a8ee skip initial fetching from all folders, set watch_do_exit 2018-06-09 19:14:09 +02:00