]> git.ipfire.org Git - thirdparty/dovecot/core.git/log
thirdparty/dovecot/core.git
2 years agolib-json: json-types - Remove stray definition
Stephan Bosch [Fri, 24 Nov 2023 17:56:44 +0000 (18:56 +0100)] 
lib-json: json-types - Remove stray definition

2 years agolib-json: test-json-io - Add tests for json_text_format*()
Stephan Bosch [Wed, 22 Nov 2023 00:54:53 +0000 (01:54 +0100)] 
lib-json: test-json-io - Add tests for json_text_format*()

2 years agolib-json: json-ostream - Make sure ostream_r is initialized by json_ostream_open_stri...
Stephan Bosch [Tue, 21 Nov 2023 18:03:36 +0000 (19:03 +0100)] 
lib-json: json-ostream - Make sure ostream_r is initialized by json_ostream_open_string_stream()

2 years agolib-json: json-ostream - Fix error handling of json_ostream_write_tree()
Stephan Bosch [Tue, 21 Nov 2023 17:52:17 +0000 (18:52 +0100)] 
lib-json: json-ostream - Fix error handling of json_ostream_write_tree()

2 years agolib-json: json-parser - Fix dead assignment in json_parser_continue()
Stephan Bosch [Tue, 21 Nov 2023 18:49:01 +0000 (19:49 +0100)] 
lib-json: json-parser - Fix dead assignment in json_parser_continue()

2 years agolib-json: json-parser - Remove dead assignment in json_string_istream_read()
Stephan Bosch [Tue, 21 Nov 2023 17:32:55 +0000 (18:32 +0100)] 
lib-json: json-parser - Remove dead assignment in json_string_istream_read()

2 years agolib-json: json-generator - Fix dead assignment in json_generate_string_write_data()
Stephan Bosch [Tue, 21 Nov 2023 18:48:05 +0000 (19:48 +0100)] 
lib-json: json-generator - Fix dead assignment in json_generate_string_write_data()

2 years agolib-json: test-json-istream - Make string input stream tests robust to failure
Stephan Bosch [Tue, 21 Nov 2023 18:49:44 +0000 (19:49 +0100)] 
lib-json: test-json-istream - Make string input stream tests robust to failure

2 years agolib-json: test-json-istream - Fix read result assertion in test_json_istream_error()
Stephan Bosch [Tue, 21 Nov 2023 18:09:26 +0000 (19:09 +0100)] 
lib-json: test-json-istream - Fix read result assertion in test_json_istream_error()

2 years agolib-json: test-json-istream - Fix assertion of read results
Stephan Bosch [Tue, 21 Nov 2023 17:28:19 +0000 (18:28 +0100)] 
lib-json: test-json-istream - Fix assertion of read results

2 years agolib-json: test-json-generator - Remove dead assignment in test_json_generate_stream()
Stephan Bosch [Tue, 21 Nov 2023 17:37:20 +0000 (18:37 +0100)] 
lib-json: test-json-generator - Remove dead assignment in test_json_generate_stream()

2 years agolib-json: test-json-generator - Fix return value assertions
Stephan Bosch [Tue, 21 Nov 2023 17:22:28 +0000 (18:22 +0100)] 
lib-json: test-json-generator - Fix return value assertions

2 years agolib-json: json-istream - Correctly handle NULL pointer for node_r in *_stream()
Stephan Bosch [Tue, 21 Nov 2023 17:05:08 +0000 (18:05 +0100)] 
lib-json: json-istream - Correctly handle NULL pointer for node_r in *_stream()

2 years agolib-json: json-tree - Make use of result from tree addition functions optional
Stephan Bosch [Tue, 21 Nov 2023 13:01:43 +0000 (14:01 +0100)] 
lib-json: json-tree - Make use of result from tree addition functions optional

2 years agolib-json: test-json-tree - Change code line breaks
Stephan Bosch [Tue, 21 Nov 2023 13:16:19 +0000 (14:16 +0100)] 
lib-json: test-json-tree - Change code line breaks

2 years agolib-json: test-json-ostream - Change code line breaks
Stephan Bosch [Tue, 21 Nov 2023 13:14:27 +0000 (14:14 +0100)] 
lib-json: test-json-ostream - Change code line breaks

2 years agolib-json: test-json-tree - Fix dead assignments
Stephan Bosch [Tue, 21 Nov 2023 13:08:38 +0000 (14:08 +0100)] 
lib-json: test-json-tree - Fix dead assignments

2 years agolib-json: test-json-ostream - Fix dead assignments
Stephan Bosch [Tue, 21 Nov 2023 13:08:16 +0000 (14:08 +0100)] 
lib-json: test-json-ostream - Fix dead assignments

2 years agolib-json: test-json-istream - Fix string stream error assertions
Stephan Bosch [Tue, 21 Nov 2023 12:42:29 +0000 (13:42 +0100)] 
lib-json: test-json-istream - Fix string stream error assertions

2 years agolib-json: json-format - Fix error handling
Stephan Bosch [Tue, 21 Nov 2023 12:41:10 +0000 (13:41 +0100)] 
lib-json: json-format - Fix error handling

2 years agolib-json: Fix comments in json-types.h
Stephan Bosch [Mon, 20 Nov 2023 21:40:43 +0000 (22:40 +0100)] 
lib-json: Fix comments in json-types.h

2 years agodoveadm: doveadm-fs - Support setting metadata in put
Aki Tuomi [Mon, 18 Sep 2023 10:42:25 +0000 (13:42 +0300)] 
doveadm: doveadm-fs - Support setting metadata in put

2 years agolib-fs: metawrap - Indicate metadata support
Aki Tuomi [Mon, 18 Sep 2023 10:42:02 +0000 (13:42 +0300)] 
lib-fs: metawrap - Indicate metadata support

Forgotten in c59b9c273b41f7bcf51f6803110b67813879ff05

2 years agofs-crypt: Limit minimum buffer size to 1k
Aki Tuomi [Mon, 18 Sep 2023 10:39:45 +0000 (13:39 +0300)] 
fs-crypt: Limit minimum buffer size to 1k

Otherwise we might not get enough data to decrypt
the stream.

2 years agofs-compress: Limit minimum buffer size to 1k
Aki Tuomi [Mon, 18 Sep 2023 10:38:50 +0000 (13:38 +0300)] 
fs-compress: Limit minimum buffer size to 1k

Otherwise we might not get enough data to decompress
the stream.

2 years agolib-storage: Rebuild list-index using MAILBOX_LIST_ITER_FORCE_RESYNC
Markus Valentin [Wed, 2 Aug 2023 15:07:34 +0000 (17:07 +0200)] 
lib-storage: Rebuild list-index using MAILBOX_LIST_ITER_FORCE_RESYNC

In case the list index file was just created use
MAILBOX_LIST_ITER_FORCE_RESYNC to rediscover mailboxes that might have
been hidden.

2 years agolib-storage: fs_list_entry() - Do not list MAILBOX_NOINFERIORS for index iterations
Markus Valentin [Mon, 6 Nov 2023 10:50:11 +0000 (11:50 +0100)] 
lib-storage: fs_list_entry() - Do not list MAILBOX_NOINFERIORS for index iterations

The index directory is only expected to contain child directories for
mailboxes. Any files in there shouldn't be listed.

2 years agolib-storage: fs_list_entry() - Do not delete \Noselect leaf mailboxes with force...
Markus Valentin [Mon, 30 Oct 2023 13:52:49 +0000 (14:52 +0100)] 
lib-storage: fs_list_entry() - Do not delete \Noselect leaf mailboxes with force-resync

2 years agolib-storage: Allow rediscovering lost mailboxes when using ITERINDEX and LAYOUT=fs
Markus Valentin [Mon, 11 Sep 2023 06:58:00 +0000 (08:58 +0200)] 
lib-storage: Allow rediscovering lost mailboxes when using ITERINDEX and LAYOUT=fs

This is meant to prevent losing mailboxes if the index directory of a
mailbox got lost. A force-resync allows to rediscover and recreate
missing directories.

2 years agodoveadm: cmd_force_resync_run() - Add MAILBOX_LIST_ITER_RAW_LIST
Markus Valentin [Wed, 2 Aug 2023 14:58:48 +0000 (16:58 +0200)] 
doveadm: cmd_force_resync_run() - Add MAILBOX_LIST_ITER_RAW_LIST

This flag makes sure existing indexes are ignored when running a
force-resync.

2 years agolib-storage: Make mailbox_mkdir() public
Markus Valentin [Mon, 11 Sep 2023 07:52:58 +0000 (09:52 +0200)] 
lib-storage: Make mailbox_mkdir() public

2 years agolib-storage: Set iter_from_index_dir directly on mailbox_list_iterate_context
Markus Valentin [Mon, 11 Sep 2023 06:55:29 +0000 (08:55 +0200)] 
lib-storage: Set iter_from_index_dir directly on mailbox_list_iterate_context

2 years agoimap: Suppress permission errors when getmetadata mailbox has wildcards
Marco Bettini [Mon, 30 Oct 2023 16:29:13 +0000 (16:29 +0000)] 
imap: Suppress permission errors when getmetadata mailbox has wildcards

When one of the mailboxes matching the wildcard has ACL permissions "l"
(only lookup, with no extra rights supporting it), it causes a PERM error
that is propagated as either untagged or last tagged response. This fix
allows to skip the offending folders rather report errors in the response.

2 years agoimap: Send NONEXISTENT unconditionally
Marco Bettini [Mon, 6 Nov 2023 11:29:47 +0000 (11:29 +0000)] 
imap: Send NONEXISTENT unconditionally

The response code will always be emitted rather than checkng
for COMMAND_FLAG_USE_NONEXISTENT. Despite what RFC 5530 states,
this behavior is useful for the other commands as well, and it
also is required for imapc GETMETADATA to work properly.

2 years agoimapc: Implement remote getmetadata and setmetadata
Marco Bettini [Thu, 2 Nov 2023 13:06:16 +0000 (13:06 +0000)] 
imapc: Implement remote getmetadata and setmetadata

2 years agoimapc: Add no-metadata feature
Marco Bettini [Thu, 2 Nov 2023 11:02:57 +0000 (11:02 +0000)] 
imapc: Add no-metadata feature

2 years agolib-master: stats_client_deinit() - Unref output ostream
Markus Valentin [Thu, 23 Nov 2023 10:00:02 +0000 (11:00 +0100)] 
lib-master: stats_client_deinit() - Unref output ostream

2 years agolib-master: stats_client_init_unittest() - Set no error handling for ostream
Markus Valentin [Thu, 23 Nov 2023 09:59:29 +0000 (10:59 +0100)] 
lib-master: stats_client_init_unittest() - Set no error handling for ostream

2 years agolib-master: Add asserts to make sure error string is set
Timo Sirainen [Tue, 21 Nov 2023 12:38:57 +0000 (14:38 +0200)] 
lib-master: Add asserts to make sure error string is set

Fixes scan-build complaint.

2 years agolib-master: Fix error handling if config fd wasn't received
Timo Sirainen [Tue, 21 Nov 2023 12:38:41 +0000 (14:38 +0200)] 
lib-master: Fix error handling if config fd wasn't received

2 years agoconfig: Fix potential crash with unknown settings
Timo Sirainen [Tue, 21 Nov 2023 12:34:41 +0000 (14:34 +0200)] 
config: Fix potential crash with unknown settings

2 years agoconfig: Remove dead code
Timo Sirainen [Tue, 21 Nov 2023 12:32:00 +0000 (14:32 +0200)] 
config: Remove dead code

2 years agoconfig: Add data stack frame when dumping filters
Timo Sirainen [Wed, 22 Nov 2023 08:41:47 +0000 (10:41 +0200)] 
config: Add data stack frame when dumping filters

2 years agolib-settings: settings_*get*() - Add data stack frame
Timo Sirainen [Wed, 22 Nov 2023 08:41:29 +0000 (10:41 +0200)] 
lib-settings: settings_*get*() - Add data stack frame

2 years agolib-master: stats_client_wait() - Distinguish between handshake and deinit
Markus Valentin [Tue, 21 Nov 2023 10:25:35 +0000 (11:25 +0100)] 
lib-master: stats_client_wait() - Distinguish between handshake and deinit

stats_client_wait() is used to wait for the handshake response as well
as waiting for the stats flushing on stats_client_deinit(). Previously
the stats_client_deinit() could easily have timed out.

This adds a specific error message for the deinit timeout as well as a
bigger timeout (30 seconds).

2 years agoconfig: Optimize away config exporter creation when it has nothing to export
Timo Sirainen [Mon, 5 Jun 2023 21:07:10 +0000 (00:07 +0300)] 
config: Optimize away config exporter creation when it has nothing to export

2 years agolib-settings: test-settings-parser - Test that invalid setting values aren't accepted
Timo Sirainen [Wed, 31 May 2023 09:31:48 +0000 (12:31 +0300)] 
lib-settings: test-settings-parser - Test that invalid setting values aren't accepted

2 years agolib-settings, global: Skip processing unnecessary service { .. } filter blocks
Timo Sirainen [Tue, 23 May 2023 14:49:44 +0000 (17:49 +0300)] 
lib-settings, global: Skip processing unnecessary service { .. } filter blocks

Only the master process needs service blocks for other services.
We can save a lot of memory by not creating event filters for them.

2 years agolib: event_filter_merge*() - Fix merging filters with IP fields
Timo Sirainen [Wed, 24 May 2023 10:25:41 +0000 (13:25 +0300)] 
lib: event_filter_merge*() - Fix merging filters with IP fields

2 years agolib: event_filter_merge*() - Fix merging filters without explicit event check
Timo Sirainen [Tue, 23 May 2023 14:48:33 +0000 (17:48 +0300)] 
lib: event_filter_merge*() - Fix merging filters without explicit event check

2 years agolib-master: Don't send unnamed events to stats
Timo Sirainen [Wed, 24 May 2023 09:03:07 +0000 (12:03 +0300)] 
lib-master: Don't send unnamed events to stats

This wasn't actually happening currently, but the following
event_filter_merge() fix would have changed it.

However, test-event-stats unit test wasn't using event_filter_merge(), so it
was testing unnamed events. Changed the test to use named events intead.

2 years agolib-master: test-event-stats - Simplify communication with stats-client
Timo Sirainen [Fri, 26 May 2023 10:11:34 +0000 (13:11 +0300)] 
lib-master: test-event-stats - Simplify communication with stats-client

Modify stats-client to support writing to an ostream. This way
test-event-stats doesn't need to fork and emulate a server process.
This should fix some random failures with this test.

Note that the END numbers change because server_connection_connected event
is no longer sent.

2 years agostats: Fix crash if exporting an unnamed event
Timo Sirainen [Wed, 24 May 2023 09:03:48 +0000 (12:03 +0300)] 
stats: Fix crash if exporting an unnamed event

This can't actually happen, because currently unnamed events aren't being
sent to stats.

2 years agolib: event_filter_find_field_exact() - Add op_not_r parameter
Timo Sirainen [Tue, 23 May 2023 13:33:27 +0000 (16:33 +0300)] 
lib: event_filter_find_field_exact() - Add op_not_r parameter

2 years agolib: event-filters - Change event_fields.value from struct to union
Timo Sirainen [Tue, 23 May 2023 10:50:28 +0000 (13:50 +0300)] 
lib: event-filters - Change event_fields.value from struct to union

This reduces memory usage.

2 years agolib: event-filters - Keep source_filename:linenum only in a string
Timo Sirainen [Tue, 23 May 2023 09:53:12 +0000 (12:53 +0300)] 
lib: event-filters - Keep source_filename:linenum only in a string

The source filters aren't normally used, and their performance doesn't
matter much. This change will allow the following commit to change
event_field.value into a union.

2 years agolib: event-filters - Use union for event_filter_node's type-specific fields
Timo Sirainen [Tue, 23 May 2023 09:49:26 +0000 (12:49 +0300)] 
lib: event-filters - Use union for event_filter_node's type-specific fields

This reduces memory usage.

2 years agolib: event filters - Fix matching source location filename
Timo Sirainen [Tue, 23 May 2023 09:48:09 +0000 (12:48 +0300)] 
lib: event filters - Fix matching source location filename

The comparisons always used the created event's source filename rather than
e.g. event_want_debug() function's source filename.

2 years agolib: event-filters - Fix filter merging for IP and STRLIST types
Timo Sirainen [Tue, 23 May 2023 10:09:22 +0000 (13:09 +0300)] 
lib: event-filters - Fix filter merging for IP and STRLIST types

2 years agolib: event-filters - Remove separate str and intmax fields from event_filter_node
Timo Sirainen [Tue, 23 May 2023 09:38:07 +0000 (12:38 +0300)] 
lib: event-filters - Remove separate str and intmax fields from event_filter_node

Use event_field.value's equivalent fields. This reduces memory usage.

2 years agolib: test-event-flatten - Clarify how strlist matching works
Timo Sirainen [Tue, 23 May 2023 10:49:41 +0000 (13:49 +0300)] 
lib: test-event-flatten - Clarify how strlist matching works

Also remove related dead code.

2 years agoconfig, lib-settings: Avoid reading settings blocks' filters into memory
Timo Sirainen [Tue, 23 May 2023 09:17:10 +0000 (12:17 +0300)] 
config, lib-settings: Avoid reading settings blocks' filters into memory

They are accessed directly from the mmaped memory now. This reduces
per-process memory usage.

2 years agolib-settings: Use event_filter_create_with_pool() for created filters
Timo Sirainen [Tue, 23 May 2023 08:44:57 +0000 (11:44 +0300)] 
lib-settings: Use event_filter_create_with_pool() for created filters

This way there is no wasted memory with each filter creating their own pool
and using only part of it.

2 years agolib: Add event_filter_create_with_pool()
Timo Sirainen [Tue, 23 May 2023 08:44:48 +0000 (11:44 +0300)] 
lib: Add event_filter_create_with_pool()

2 years agoconfig, lib-settings: Add config filter strings only once to binary config
Timo Sirainen [Mon, 22 May 2023 22:14:25 +0000 (01:14 +0300)] 
config, lib-settings: Add config filter strings only once to binary config

Add them first globally and later on inside settings blocks refer to them
with their index number. This way lib-settings also can easily allocate the
event filters just once.

2 years agoconfig, lib-settings: Use index numbers for setting keys in binary config
Timo Sirainen [Mon, 22 May 2023 21:22:15 +0000 (00:22 +0300)] 
config, lib-settings: Use index numbers for setting keys in binary config

This allows directly finding the setting with the index number without
having to find it via the key string.

2 years agolib-settings: Add and use settings_mmap.pool
Timo Sirainen [Mon, 22 May 2023 20:21:44 +0000 (23:21 +0300)] 
lib-settings: Add and use settings_mmap.pool

2 years agoconfig, lib-settings: Add filter count to binary config file
Timo Sirainen [Mon, 22 May 2023 20:21:18 +0000 (23:21 +0300)] 
config, lib-settings: Add filter count to binary config file

2 years agoconfig: Move writing delayed filter into config_dump_full_sections()
Timo Sirainen [Mon, 22 May 2023 21:18:29 +0000 (00:18 +0300)] 
config: Move writing delayed filter into config_dump_full_sections()

This simplifies the next commit.

2 years agolib-settings: Don't try to free nonexistent settings blocks when parsing settings
Timo Sirainen [Mon, 22 May 2023 20:04:20 +0000 (23:04 +0300)] 
lib-settings: Don't try to free nonexistent settings blocks when parsing settings

settings_mmap is no longer reused for parsing.

2 years agoconfig: config_export_init() - Add type safety check for callback's context parameter
Timo Sirainen [Thu, 1 Jun 2023 22:23:41 +0000 (01:23 +0300)] 
config: config_export_init() - Add type safety check for callback's context parameter

2 years agoconfig: Change config_request_callback_t() to have a struct parameter
Timo Sirainen [Mon, 22 May 2023 19:40:05 +0000 (22:40 +0300)] 
config: Change config_request_callback_t() to have a struct parameter

2 years agoconfig: Create settings_parsers lazily to filters
Timo Sirainen [Sat, 20 May 2023 20:53:01 +0000 (23:53 +0300)] 
config: Create settings_parsers lazily to filters

This also avoids checking/exporting parsers that haven't been modified.

2 years agolib-settings: Make settings_parser_unref(&NULL) no-op
Timo Sirainen [Sat, 20 May 2023 20:52:07 +0000 (23:52 +0300)] 
lib-settings: Make settings_parser_unref(&NULL) no-op

2 years agoconfig: Use config_module_parsers_get_setting() where possible
Timo Sirainen [Sat, 20 May 2023 20:21:00 +0000 (23:21 +0300)] 
config: Use config_module_parsers_get_setting() where possible

2 years agoconfig: Add config_module_parsers_get_setting()
Timo Sirainen [Sat, 20 May 2023 20:12:52 +0000 (23:12 +0300)] 
config: Add config_module_parsers_get_setting()

2 years agoconfig: Move global config_module_parsers into config_parsed.module_parsers
Timo Sirainen [Sat, 20 May 2023 18:51:37 +0000 (21:51 +0300)] 
config: Move global config_module_parsers into config_parsed.module_parsers

2 years agoconfig: Remove config_module_parser.settings
Timo Sirainen [Sat, 20 May 2023 18:40:29 +0000 (21:40 +0300)] 
config: Remove config_module_parser.settings

This was never actually used for anything.

2 years agolib-settings: Remove unused settings_parse_unalias()
Timo Sirainen [Sat, 20 May 2023 21:07:50 +0000 (00:07 +0300)] 
lib-settings: Remove unused settings_parse_unalias()

2 years agolib-settings: Remove unused settings_parse_get_filter()
Timo Sirainen [Sat, 20 May 2023 21:06:40 +0000 (00:06 +0300)] 
lib-settings: Remove unused settings_parse_get_filter()

2 years agoconfig: Add hash table to lookup setting keys more efficiently
Timo Sirainen [Sat, 20 May 2023 18:34:56 +0000 (21:34 +0300)] 
config: Add hash table to lookup setting keys more efficiently

The setting is now parsed only by the settings_parsers that actually have
the key.

2 years agolib-settings: Add settings_parse_keyidx_value[_nodup]()
Timo Sirainen [Sat, 20 May 2023 20:03:13 +0000 (23:03 +0300)] 
lib-settings: Add settings_parse_keyidx_value[_nodup]()

2 years agosubmission: Change login_greeting setting type to STR_VARS
Timo Sirainen [Sat, 20 May 2023 18:34:11 +0000 (21:34 +0300)] 
submission: Change login_greeting setting type to STR_VARS

The same setting is already STR_VARS in lmtp settings.

2 years agoconfig: Rename <plugin>_set_roots symbol to <plugin>_set_infos
Timo Sirainen [Sat, 20 May 2023 18:09:57 +0000 (21:09 +0300)] 
config: Rename <plugin>_set_roots symbol to <plugin>_set_infos

All external plugins' settings must be updated to use the new symbol.

2 years agoconfig: Rename "root" variables to "info" where appropriate
Timo Sirainen [Sat, 20 May 2023 18:08:32 +0000 (21:08 +0300)] 
config: Rename "root" variables to "info" where appropriate

2 years agoconfig: Rename config_module_parser.root to .info
Timo Sirainen [Sat, 20 May 2023 18:05:24 +0000 (21:05 +0300)] 
config: Rename config_module_parser.root to .info

2 years agoconfig: Rename all_[default_]roots to all_[default_]infos
Timo Sirainen [Sat, 20 May 2023 18:03:03 +0000 (21:03 +0300)] 
config: Rename all_[default_]roots to all_[default_]infos

All settings are now root settings.

2 years agolib-settings: Remove unused settings_parse_line()
Timo Sirainen [Fri, 19 May 2023 13:04:42 +0000 (16:04 +0300)] 
lib-settings: Remove unused settings_parse_line()

2 years agolib-settings: test-settings-parser - Parse settings with keyvalue instead of line
Timo Sirainen [Fri, 19 May 2023 13:04:22 +0000 (16:04 +0300)] 
lib-settings: test-settings-parser - Parse settings with keyvalue instead of line

2 years agoconfig: config_apply_exact_line() - replace line parameter with value parameter
Timo Sirainen [Fri, 19 May 2023 13:02:24 +0000 (16:02 +0300)] 
config: config_apply_exact_line() - replace line parameter with value parameter

2 years agoconfig: config_apply_line() - replace line parameter with value parameter
Timo Sirainen [Fri, 19 May 2023 12:16:20 +0000 (15:16 +0300)] 
config: config_apply_line() - replace line parameter with value parameter

2 years agoconfig: Split config_parser_context.str into key_path and value
Timo Sirainen [Fri, 19 May 2023 12:38:19 +0000 (15:38 +0300)] 
config: Split config_parser_context.str into key_path and value

2 years agolib-settings: Fix logic for overriding alias settings
Timo Sirainen [Sat, 27 May 2023 20:37:20 +0000 (23:37 +0300)] 
lib-settings: Fix logic for overriding alias settings

2 years agoconfig: settings-get.pl - Require some reasonable Perl version
Timo Sirainen [Mon, 29 May 2023 12:05:28 +0000 (15:05 +0300)] 
config: settings-get.pl - Require some reasonable Perl version

2 years agoconfig: settings-get.pl - Add comments
Timo Sirainen [Sat, 20 May 2023 22:07:27 +0000 (01:07 +0300)] 
config: settings-get.pl - Add comments

2 years agoconfig: settings-get.pl - Rename parsers variable to infos
Timo Sirainen [Sat, 20 May 2023 22:05:01 +0000 (01:05 +0300)] 
config: settings-get.pl - Rename parsers variable to infos

2 years agoconfig: settings-get.pl - Always add forward declarations for info structs
Timo Sirainen [Sat, 20 May 2023 21:54:30 +0000 (00:54 +0300)] 
config: settings-get.pl - Always add forward declarations for info structs

This way they don't need to be set explicitly for ext_check() functions to
compile in config/all-settings.c.

2 years agoconfig: settings-get.pl - Reindent without tabs
Timo Sirainen [Sat, 20 May 2023 21:35:00 +0000 (00:35 +0300)] 
config: settings-get.pl - Reindent without tabs

2 years agoconfig: settings-get.pl - Don't remove "static const" from master_default_settings
Timo Sirainen [Sat, 20 May 2023 21:30:08 +0000 (00:30 +0300)] 
config: settings-get.pl - Don't remove "static const" from master_default_settings

This is unnecessary nowadays.

2 years agoconfig: settings-get.pl - Clean up variables
Timo Sirainen [Sat, 20 May 2023 21:27:48 +0000 (00:27 +0300)] 
config: settings-get.pl - Clean up variables