]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
5 years agolib-oauth2: Add helper for parsing json strings
Aki Tuomi [Sat, 8 Feb 2020 17:51:06 +0000 (19:51 +0200)] 
lib-oauth2: Add helper for parsing json strings

5 years agolib-dcrypt: Add dcrypt_is_initialized
Aki Tuomi [Mon, 10 Feb 2020 08:14:59 +0000 (10:14 +0200)] 
lib-dcrypt: Add dcrypt_is_initialized

Allows testing whether it is possible to call dcrypt functions.

5 years agolib: hash2 - Add string key helpers
Aki Tuomi [Wed, 12 Feb 2020 08:45:35 +0000 (10:45 +0200)] 
lib: hash2 - Add string key helpers

5 years agolib: ostream - Add o_stream_create_file
Aki Tuomi [Sat, 8 Feb 2020 19:56:21 +0000 (21:56 +0200)] 
lib: ostream - Add o_stream_create_file

Opens file for reading, and creates it, if it exists.

5 years agoutil: Hide password but not the field name in dovecot-sysreport
Martti Rannanjärvi [Wed, 19 Feb 2020 09:39:36 +0000 (11:39 +0200)] 
util: Hide password but not the field name in dovecot-sysreport

5 years agoutil: dovecot-sysreport: Fix bug in perl existence check
Siavash Tavakoli [Tue, 18 Feb 2020 13:24:38 +0000 (15:24 +0200)] 
util: dovecot-sysreport: Fix bug in perl existence check

Also use "[[" command to be consistent with rest of the script.

5 years agolib-index: Fix potential crash when writing to unusable dovecot.index.cache
Timo Sirainen [Mon, 17 Feb 2020 13:39:14 +0000 (15:39 +0200)] 
lib-index: Fix potential crash when writing to unusable dovecot.index.cache

Broken by a4671d9c5744d728e030370a39df914cebefbefe

5 years agolib-index: Log debug messages with e_debug()
Timo Sirainen [Tue, 1 Oct 2019 16:09:37 +0000 (19:09 +0300)] 
lib-index: Log debug messages with e_debug()

5 years agolib-index: Log all errors with e_error()
Timo Sirainen [Tue, 1 Oct 2019 16:07:39 +0000 (19:07 +0300)] 
lib-index: Log all errors with e_error()

5 years agolib-index: mailbox_log - log errors with e_error()
Timo Sirainen [Tue, 1 Oct 2019 16:06:32 +0000 (19:06 +0300)] 
lib-index: mailbox_log - log errors with e_error()

5 years agolib-index: Add event to mailbox_log
Timo Sirainen [Tue, 1 Oct 2019 16:06:10 +0000 (19:06 +0300)] 
lib-index: Add event to mailbox_log

5 years agofs-compress, fs-crypt, fs-metawrap: Add ASYNC_NOQUEUE in fs_file_init_parent
Markus Valentin [Tue, 11 Feb 2020 09:16:54 +0000 (10:16 +0100)] 
fs-compress, fs-crypt, fs-metawrap: Add ASYNC_NOQUEUE in fs_file_init_parent

In order to prevent hangs or waiting on empty ioloops when the number of
mails to prefetch exceeds the lib-http request-queue length, add the
FS_OPEN_FLAG_ASYNC_NOQUEUE flag when calling fs_file_init_parent.

This additional flag makes sure that the file-operations will be handled
immediately without additional command queueing.

5 years agolib-index: Try to compress cache when it's about to become too large
Timo Sirainen [Mon, 10 Feb 2020 16:19:34 +0000 (18:19 +0200)] 
lib-index: Try to compress cache when it's about to become too large

5 years agolib-index: Add mail_cache.last_stat_size
Timo Sirainen [Mon, 10 Feb 2020 16:16:14 +0000 (18:16 +0200)] 
lib-index: Add mail_cache.last_stat_size

5 years agolib-storage: Add mail_cache_max_size setting
Timo Sirainen [Mon, 10 Feb 2020 15:58:13 +0000 (17:58 +0200)] 
lib-storage: Add mail_cache_max_size setting

5 years agolib-index: Change max cache file size from 4 GB to 1 GB
Timo Sirainen [Mon, 10 Feb 2020 15:55:13 +0000 (17:55 +0200)] 
lib-index: Change max cache file size from 4 GB to 1 GB

Over 1 GB sizes already weren't working correctly, because
mail_index_uint32_to_offset() assert-crashes on >=1 GB sizes.

Fixes:
Panic: file mail-index-util.c: line 37 (mail_index_uint32_to_offset): assertion failed: (offset < 0x40000000)

5 years agolib-index: Add mail_index_cache_optimization_settings.max_size
Timo Sirainen [Mon, 10 Feb 2020 15:44:29 +0000 (17:44 +0200)] 
lib-index: Add mail_index_cache_optimization_settings.max_size

This can be used to limit the cache file's maximum size.

5 years agoutil: Change interpreter in dovecot-sysreport to /usr/bin/env bash
Martti Rannanjärvi [Tue, 11 Feb 2020 13:26:35 +0000 (15:26 +0200)] 
util: Change interpreter in dovecot-sysreport to /usr/bin/env bash

This is more portable.

5 years agoutil: Cleanup whitespace in dovecot-sysreport
Martti Rannanjärvi [Tue, 11 Feb 2020 13:11:46 +0000 (15:11 +0200)] 
util: Cleanup whitespace in dovecot-sysreport

5 years agolib-mail: Improve test-message-decoder unit test
Timo Sirainen [Tue, 11 Feb 2020 13:51:47 +0000 (15:51 +0200)] 
lib-mail: Improve test-message-decoder unit test

5 years agolib-mail: message-decoder - Remove unnecessary encoding_buf
Timo Sirainen [Tue, 11 Feb 2020 13:11:14 +0000 (15:11 +0200)] 
lib-mail: message-decoder - Remove unnecessary encoding_buf

5 years agolib-mail: message-decoder - Fix using the new incremental base64-decoder API
Timo Sirainen [Tue, 11 Feb 2020 13:08:22 +0000 (15:08 +0200)] 
lib-mail: message-decoder - Fix using the new incremental base64-decoder API

Decoding multiple base64 blocks caused the decoder to produce garbage.
Broken by afa3db0a6f15e1b1038cb47f0632baa8f23d0f67

5 years agoNEWS: Add news for 2.3.9.3
Aki Tuomi [Thu, 23 Jan 2020 18:26:29 +0000 (20:26 +0200)] 
NEWS: Add news for 2.3.9.3

5 years agolib-mail: message_snippet_generate() - Fix potential crash when input ends with '>'
Timo Sirainen [Wed, 15 Jan 2020 20:10:08 +0000 (22:10 +0200)] 
lib-mail: message_snippet_generate() - Fix potential crash when input ends with '>'

This happens only when the mail was large enough and full enough with
whitespace that message-parser returned multiple blocks before the snippet
was finished.

Broken by 74063ed8219d055489d5233b0c02a59886d2078c

5 years agolib-mail: test-message-snippet - Test for invalid and truncated UTF-8
Timo Sirainen [Wed, 15 Jan 2020 19:38:26 +0000 (21:38 +0200)] 
lib-mail: test-message-snippet - Test for invalid and truncated UTF-8

5 years agolib-fts: Add assert to make sure uni_utf8_get_char() returns valid UTF-8
Timo Sirainen [Wed, 15 Jan 2020 19:09:34 +0000 (21:09 +0200)] 
lib-fts: Add assert to make sure uni_utf8_get_char() returns valid UTF-8

The input to lib-fts is always expected to be valid UTF-8.

5 years agofts-solr: Add asserts to make sure make sure uni_utf8_get_char_n() returns valid...
Timo Sirainen [Wed, 15 Jan 2020 19:07:05 +0000 (21:07 +0200)] 
fts-solr: Add asserts to make sure make sure uni_utf8_get_char_n() returns valid UTF-8

FTS input is always valid UTF-8. This just makes it a bit clearer.

5 years agolib-smtp: test-smtp-command-parser - Add tests for incomplete UTF-8 characters.
Stephan Bosch [Tue, 14 Jan 2020 09:54:34 +0000 (10:54 +0100)] 
lib-smtp: test-smtp-command-parser - Add tests for incomplete UTF-8 characters.

5 years agolib-smtp: smtp-command-parser - Fix infinite loop occurring when command stream ends...
Stephan Bosch [Tue, 14 Jan 2020 09:49:16 +0000 (10:49 +0100)] 
lib-smtp: smtp-command-parser - Fix infinite loop occurring when command stream ends in UTF-8 character.

Broken by 8f08f1944be438a2422b604c08e5060b5c7bd72f.

5 years agoman: doveadm-sync - Fix message UID in example
Uli Martens [Thu, 30 Jan 2020 15:34:35 +0000 (16:34 +0100)] 
man: doveadm-sync - Fix message UID in example

5 years agom4: dovecot.m4 - It's Schridde, not Schridded
Aki Tuomi [Fri, 7 Feb 2020 09:42:37 +0000 (11:42 +0200)] 
m4: dovecot.m4 - It's Schridde, not Schridded

Mistakenly changed in a50212d6827

5 years agodovecot.m4: Bump serial
Aki Tuomi [Fri, 17 Jan 2020 07:42:51 +0000 (09:42 +0200)] 
dovecot.m4: Bump serial

5 years agodovecot.m4: Add --with-retpoline
Aki Tuomi [Fri, 17 Jan 2020 07:42:07 +0000 (09:42 +0200)] 
dovecot.m4: Add --with-retpoline

Makes retpoline optional.

5 years agodovecot.m4: Split retpoline check into parts
Aki Tuomi [Fri, 17 Jan 2020 07:35:44 +0000 (09:35 +0200)] 
dovecot.m4: Split retpoline check into parts

5 years agoimap: expunge: Expunge \Deleted mails in batches of 1000
Josef 'Jeff' Sipek [Tue, 4 Feb 2020 17:32:59 +0000 (12:32 -0500)] 
imap: expunge: Expunge \Deleted mails in batches of 1000

5 years agoimap: expunge: Collect all \Deleted mails' seqs and then expunge them
Josef 'Jeff' Sipek [Tue, 4 Feb 2020 17:10:45 +0000 (12:10 -0500)] 
imap: expunge: Collect all \Deleted mails' seqs and then expunge them

This makes the following commit much more understandable.

5 years agoimap: move: Send untagged OK/COPYUID also when the move succeeded partially
Timo Sirainen [Fri, 24 Jan 2020 09:43:56 +0000 (11:43 +0200)] 
imap: move: Send untagged OK/COPYUID also when the move succeeded partially

If at least one transactions was successfully committed, something was
moved. Even if another transaction failed later on and the MOVE command
fails with NO, send the untagged OK/COPYUID which describes which mails
were successfully moved.

5 years agoimap: copy/move: Move code to cmd_move_send_untagged()
Timo Sirainen [Fri, 24 Jan 2020 09:43:20 +0000 (11:43 +0200)] 
imap: copy/move: Move code to cmd_move_send_untagged()

5 years agoimap: copy/move: Fix error handling when source transaction/search fails
Timo Sirainen [Mon, 16 Dec 2019 12:08:58 +0000 (14:08 +0200)] 
imap: copy/move: Fix error handling when source transaction/search fails

Previously the destination storage was used for getting the error. If the
source and destination storages were different, this resulted in getting a
wrong error.

5 years agoimap: Add client_send_error()
Timo Sirainen [Mon, 16 Dec 2019 11:51:50 +0000 (13:51 +0200)] 
imap: Add client_send_error()

5 years agoimap: move: Commit transactions every 1000 mails
Timo Sirainen [Mon, 16 Dec 2019 09:38:04 +0000 (11:38 +0200)] 
imap: move: Commit transactions every 1000 mails

5 years agoimap: Add imap_search_seqset_iter_*() API for batched iteration of a seqset
Timo Sirainen [Tue, 4 Feb 2020 15:20:15 +0000 (17:20 +0200)] 
imap: Add imap_search_seqset_iter_*() API for batched iteration of a seqset

5 years agoimap: copy/move: Handle transaction commit changes within fetch_and_copy()
Timo Sirainen [Thu, 12 Dec 2019 14:36:13 +0000 (16:36 +0200)] 
imap: copy/move: Handle transaction commit changes within fetch_and_copy()

This prepares to support multiple destination transactions.

5 years agoimap: copy/move: Move copy_update_trashed() earlier
Timo Sirainen [Thu, 12 Dec 2019 14:35:46 +0000 (16:35 +0200)] 
imap: copy/move: Move copy_update_trashed() earlier

5 years agoimap: copy/move: Refactor to use struct cmd_copy_context
Timo Sirainen [Thu, 12 Dec 2019 14:25:30 +0000 (16:25 +0200)] 
imap: copy/move: Refactor to use struct cmd_copy_context

5 years agolib: Add seq_range_array_merge_n()
Timo Sirainen [Thu, 23 Jan 2020 16:31:01 +0000 (18:31 +0200)] 
lib: Add seq_range_array_merge_n()

5 years agolib-storage: Autoexpunge mails in batches of 1000
Josef 'Jeff' Sipek [Mon, 13 Jan 2020 13:34:44 +0000 (08:34 -0500)] 
lib-storage: Autoexpunge mails in batches of 1000

5 years agolib-storage: Move mail autoexpunge loop into a helper function
Josef 'Jeff' Sipek [Tue, 14 Jan 2020 22:27:37 +0000 (17:27 -0500)] 
lib-storage: Move mail autoexpunge loop into a helper function

This makes the next commit easier.

5 years agoimap: Implement the STATUS=SIZE capability.
Stephan Bosch [Mon, 27 Aug 2018 21:39:02 +0000 (23:39 +0200)] 
imap: Implement the STATUS=SIZE capability.

Coexists with the existing proprietary X-SIZE status, which is to be deprecated
in the future.

5 years agoimap: Restructure handling of the STATUS response so that it uses its own flags for...
Stephan Bosch [Mon, 27 Aug 2018 21:28:58 +0000 (23:28 +0200)] 
imap: Restructure handling of the STATUS response so that it uses its own flags for the items.

Before, it used mailbox status and metadata item flags for this purpose.
This is needed to allow the existing X-SIZE and the newly standardized SIZE flag to coexist.

5 years agodict-redis: Add missing dict_wait()
Timo Sirainen [Mon, 20 Jan 2020 14:03:01 +0000 (16:03 +0200)] 
dict-redis: Add missing dict_wait()

This caused various problems when used in places where dict_wait() was
required, e.g. quota or quota_clone plugins.

5 years agoplugins: push-notification: Include mailbox field
Aki Tuomi [Mon, 3 Feb 2020 10:15:49 +0000 (12:15 +0200)] 
plugins: push-notification: Include mailbox field

5 years agoplugins: push-notification: Only emit event if something was triggered
Aki Tuomi [Mon, 3 Feb 2020 08:59:45 +0000 (10:59 +0200)] 
plugins: push-notification: Only emit event if something was triggered

Otherwise events would be sent from non-push transactions, such
as mail searches.

5 years agopush-notification: Don't send event on failure
Aki Tuomi [Sun, 2 Feb 2020 18:40:32 +0000 (20:40 +0200)] 
push-notification: Don't send event on failure

If transaction was rolled back, don't send event.

5 years agopush-notification: Use transaction event in HTTP request
Aki Tuomi [Sun, 2 Feb 2020 18:09:03 +0000 (20:09 +0200)] 
push-notification: Use transaction event in HTTP request

5 years agoplugins: push-notification: Reformat push-notification-txn-msg.h.
Stephan Bosch [Sun, 1 Dec 2019 10:32:24 +0000 (11:32 +0100)] 
plugins: push-notification: Reformat push-notification-txn-msg.h.

5 years agoplugins: push-notification: Reformat push-notification-txn-msg.c.
Stephan Bosch [Sun, 1 Dec 2019 10:32:17 +0000 (11:32 +0100)] 
plugins: push-notification: Reformat push-notification-txn-msg.c.

5 years agoplugins: push-notification: Reformat push-notification-txn-mbox.h.
Stephan Bosch [Sun, 1 Dec 2019 10:32:09 +0000 (11:32 +0100)] 
plugins: push-notification: Reformat push-notification-txn-mbox.h.

5 years agoplugins: push-notification: Reformat push-notification-txn-mbox.c.
Stephan Bosch [Sun, 1 Dec 2019 10:32:04 +0000 (11:32 +0100)] 
plugins: push-notification: Reformat push-notification-txn-mbox.c.

5 years agoplugins: push-notification: Reformat push-notification-triggers.h.
Stephan Bosch [Sun, 1 Dec 2019 10:31:48 +0000 (11:31 +0100)] 
plugins: push-notification: Reformat push-notification-triggers.h.

5 years agoplugins: push-notification: Reformat push-notification-triggers.c.
Stephan Bosch [Sun, 1 Dec 2019 10:31:44 +0000 (11:31 +0100)] 
plugins: push-notification: Reformat push-notification-triggers.c.

5 years agoplugins: push-notification: Reformat push-notification-plugin.c.
Stephan Bosch [Sun, 1 Dec 2019 10:31:25 +0000 (11:31 +0100)] 
plugins: push-notification: Reformat push-notification-plugin.c.

5 years agoplugins: push-notification: Reformat push-notification-events.h.
Stephan Bosch [Sun, 1 Dec 2019 10:30:32 +0000 (11:30 +0100)] 
plugins: push-notification: Reformat push-notification-events.h.

5 years agoplugins: push-notification: Reformat push-notification-events.c.
Stephan Bosch [Sun, 1 Dec 2019 10:30:27 +0000 (11:30 +0100)] 
plugins: push-notification: Reformat push-notification-events.c.

5 years agoplugins: push-notification: Reformat push-notification-events-rfc5423.h.
Stephan Bosch [Sun, 1 Dec 2019 10:30:14 +0000 (11:30 +0100)] 
plugins: push-notification: Reformat push-notification-events-rfc5423.h.

5 years agoplugins: push-notification: Reformat push-notification-events-rfc5423.c.
Stephan Bosch [Sun, 1 Dec 2019 10:30:09 +0000 (11:30 +0100)] 
plugins: push-notification: Reformat push-notification-events-rfc5423.c.

5 years agoplugins: push-notification: Reformat push-notification-event-messagetrash.h.
Stephan Bosch [Sun, 1 Dec 2019 10:29:44 +0000 (11:29 +0100)] 
plugins: push-notification: Reformat push-notification-event-messagetrash.h.

5 years agoplugins: push-notification: Reformat push-notification-event-messagetrash.c.
Stephan Bosch [Sun, 1 Dec 2019 10:29:41 +0000 (11:29 +0100)] 
plugins: push-notification: Reformat push-notification-event-messagetrash.c.

5 years agoplugins: push-notification: Reformat push-notification-event-messageread.h.
Stephan Bosch [Sun, 1 Dec 2019 10:29:28 +0000 (11:29 +0100)] 
plugins: push-notification: Reformat push-notification-event-messageread.h.

5 years agoplugins: push-notification: Reformat push-notification-event-messageread.c.
Stephan Bosch [Sun, 1 Dec 2019 10:29:23 +0000 (11:29 +0100)] 
plugins: push-notification: Reformat push-notification-event-messageread.c.

5 years agoplugins: push-notification: Reformat push-notification-event-messagenew.h.
Stephan Bosch [Sun, 1 Dec 2019 10:29:10 +0000 (11:29 +0100)] 
plugins: push-notification: Reformat push-notification-event-messagenew.h.

5 years agoplugins: push-notification: Reformat push-notification-event-messagenew.c.
Stephan Bosch [Sun, 1 Dec 2019 10:29:06 +0000 (11:29 +0100)] 
plugins: push-notification: Reformat push-notification-event-messagenew.c.

5 years agoplugins: push-notification: Reformat push-notification-event-messageexpunge.h.
Stephan Bosch [Sun, 1 Dec 2019 10:28:46 +0000 (11:28 +0100)] 
plugins: push-notification: Reformat push-notification-event-messageexpunge.h.

5 years agoplugins: push-notification: Reformat push-notification-event-messageexpunge.c.
Stephan Bosch [Sun, 1 Dec 2019 10:28:42 +0000 (11:28 +0100)] 
plugins: push-notification: Reformat push-notification-event-messageexpunge.c.

5 years agoplugins: push-notification: Reformat push-notification-event-messageappend.h.
Stephan Bosch [Sun, 1 Dec 2019 10:28:27 +0000 (11:28 +0100)] 
plugins: push-notification: Reformat push-notification-event-messageappend.h.

5 years agoplugins: push-notification: Reformat push-notification-event-messageappend.c.
Stephan Bosch [Sun, 1 Dec 2019 10:28:22 +0000 (11:28 +0100)] 
plugins: push-notification: Reformat push-notification-event-messageappend.c.

5 years agoplugins: push-notification: Reformat push-notification-event-message-common.h.
Stephan Bosch [Sun, 1 Dec 2019 10:28:07 +0000 (11:28 +0100)] 
plugins: push-notification: Reformat push-notification-event-message-common.h.

5 years agoplugins: push-notification: Reformat push-notification-event-message-common.c.
Stephan Bosch [Sun, 1 Dec 2019 10:28:02 +0000 (11:28 +0100)] 
plugins: push-notification: Reformat push-notification-event-message-common.c.

5 years agoplugins: push-notification: Reformat push-notification-event-mailboxunsubscribe.h.
Stephan Bosch [Sun, 1 Dec 2019 10:27:35 +0000 (11:27 +0100)] 
plugins: push-notification: Reformat push-notification-event-mailboxunsubscribe.h.

5 years agoplugins: push-notification: Reformat push-notification-event-mailboxunsubscribe.c.
Stephan Bosch [Sun, 1 Dec 2019 10:27:29 +0000 (11:27 +0100)] 
plugins: push-notification: Reformat push-notification-event-mailboxunsubscribe.c.

5 years agoplugins: push-notification: Reformat push-notification-event-mailboxsubscribe.h.
Stephan Bosch [Sun, 1 Dec 2019 10:27:17 +0000 (11:27 +0100)] 
plugins: push-notification: Reformat push-notification-event-mailboxsubscribe.h.

5 years agoplugins: push-notification: Reformat push-notification-event-mailboxsubscribe.c.
Stephan Bosch [Sun, 1 Dec 2019 10:27:05 +0000 (11:27 +0100)] 
plugins: push-notification: Reformat push-notification-event-mailboxsubscribe.c.

5 years agoplugins: push-notification: Reformat push-notification-event-mailboxrename.h.
Stephan Bosch [Sun, 1 Dec 2019 10:26:41 +0000 (11:26 +0100)] 
plugins: push-notification: Reformat push-notification-event-mailboxrename.h.

5 years agoplugins: push-notification: Reformat push-notification-event-mailboxrename.c.
Stephan Bosch [Sun, 1 Dec 2019 10:26:35 +0000 (11:26 +0100)] 
plugins: push-notification: Reformat push-notification-event-mailboxrename.c.

5 years agoplugins: push-notification: Reformat push-notification-event-mailboxdelete.h.
Stephan Bosch [Sun, 1 Dec 2019 10:26:18 +0000 (11:26 +0100)] 
plugins: push-notification: Reformat push-notification-event-mailboxdelete.h.

5 years agoplugins: push-notification: Reformat push-notification-event-mailboxdelete.c.
Stephan Bosch [Sun, 1 Dec 2019 10:26:13 +0000 (11:26 +0100)] 
plugins: push-notification: Reformat push-notification-event-mailboxdelete.c.

5 years agoplugins: push-notification: Reformat push-notification-event-mailboxcreate.h.
Stephan Bosch [Sun, 1 Dec 2019 10:25:55 +0000 (11:25 +0100)] 
plugins: push-notification: Reformat push-notification-event-mailboxcreate.h.

5 years agoplugins: push-notification: Reformat push-notification-event-mailboxcreate.c.
Stephan Bosch [Sun, 1 Dec 2019 10:25:50 +0000 (11:25 +0100)] 
plugins: push-notification: Reformat push-notification-event-mailboxcreate.c.

5 years agoplugins: push-notification: Reformat push-notification-event-flagsset.h.
Stephan Bosch [Sun, 1 Dec 2019 10:25:31 +0000 (11:25 +0100)] 
plugins: push-notification: Reformat push-notification-event-flagsset.h.

5 years agoplugins: push-notification: Reformat push-notification-event-flagsset.c.
Stephan Bosch [Sun, 1 Dec 2019 10:25:22 +0000 (11:25 +0100)] 
plugins: push-notification: Reformat push-notification-event-flagsset.c.

5 years agoplugins: push-notification: Reformat push-notification-event-flagsclear.h.
Stephan Bosch [Sun, 1 Dec 2019 10:25:09 +0000 (11:25 +0100)] 
plugins: push-notification: Reformat push-notification-event-flagsclear.h.

5 years agoplugins: push-notification: Reformat push-notification-event-flagsclear.c.
Stephan Bosch [Sun, 1 Dec 2019 10:25:03 +0000 (11:25 +0100)] 
plugins: push-notification: Reformat push-notification-event-flagsclear.c.

5 years agoplugins: push-notification: Reformat push-notification-drivers.h.
Stephan Bosch [Sun, 1 Dec 2019 10:24:28 +0000 (11:24 +0100)] 
plugins: push-notification: Reformat push-notification-drivers.h.

5 years agoplugins: push-notification: Reformat push-notification-drivers.c.
Stephan Bosch [Sun, 1 Dec 2019 10:24:19 +0000 (11:24 +0100)] 
plugins: push-notification: Reformat push-notification-drivers.c.

5 years agoplugins: push-notification: Reformat push-notification-driver-ox.c.
Stephan Bosch [Sun, 1 Dec 2019 10:24:04 +0000 (11:24 +0100)] 
plugins: push-notification: Reformat push-notification-driver-ox.c.

5 years agoplugins: push-notification: Reformat push-notification-driver-lua.c.
Stephan Bosch [Sun, 1 Dec 2019 10:23:55 +0000 (11:23 +0100)] 
plugins: push-notification: Reformat push-notification-driver-lua.c.

5 years agoplugins: push-notification: Reformat push-notification-driver-dlog.c.
Stephan Bosch [Sun, 1 Dec 2019 10:23:39 +0000 (11:23 +0100)] 
plugins: push-notification: Reformat push-notification-driver-dlog.c.

5 years agolib: Timeouts may have been run a bit too early
Timo Sirainen [Tue, 4 Feb 2020 16:56:28 +0000 (18:56 +0200)] 
lib: Timeouts may have been run a bit too early

The timeout was run early if it was to be run in less than 1 millisecond.

This could have resulted in an infinite loop in some special situations
when timeout_add_absolute() was used in a timeout callback.

5 years agolib: Add i_nanoseconds() and i_microseconds()
Timo Sirainen [Mon, 3 Feb 2020 10:57:52 +0000 (12:57 +0200)] 
lib: Add i_nanoseconds() and i_microseconds()

5 years agoglobal: Replace the rest of the gettimeofday() calls with i_gettimeofday()
Timo Sirainen [Fri, 24 Jan 2020 21:36:52 +0000 (23:36 +0200)] 
global: Replace the rest of the gettimeofday() calls with i_gettimeofday()

It can't practically fail, so don't keep error handling that is never
tested.