commit c8897ff: Merge pull request #4880 from rspamd/vstakhov-fix-glib-types
GitHub
noreply at github.com
Mon Jul 29 17:54:39 UTC 2024
Author: Vsevolod Stakhov
Date: 2024-03-19 21:25:48 +0600
URL: https://github.com/rspamd/rspamd/commit/c8897ff041065d1ec6554125ec9e2a32b1f8713b
Merge pull request #4880 from rspamd/vstakhov-fix-glib-types
[Rework] Remove some of the GLib types in lieu of standard ones
clang-plugin/printf_check.cc | 1296 ++++++++++----------
contrib/aho-corasick/acism.c | 191 +--
contrib/cdb/cdb_init.c | 54 +-
contrib/lc-btrie/btrie.c | 1251 ++++++++++++-------
contrib/lc-btrie/btrie.h | 17 +-
contrib/librdns/resolver.c | 780 ++++++------
contrib/libucl/lua_ucl.c | 907 +++++++-------
contrib/libucl/ucl_hash.c | 236 ++--
src/client/rspamc.cxx | 32 +-
src/client/rspamdclient.c | 36 +-
src/client/rspamdclient.h | 32 +-
src/controller.c | 154 +--
src/fuzzy_storage.c | 234 ++--
src/hs_helper.c | 32 +-
src/libcryptobox/base64/base64.c | 16 +-
src/libcryptobox/catena/catena.c | 38 +-
src/libcryptobox/chacha20/chacha.c | 2 +-
src/libcryptobox/chacha20/ref.c | 2 +-
src/libcryptobox/cryptobox.c | 198 +--
src/libcryptobox/cryptobox.h | 102 +-
src/libcryptobox/keypair.c | 114 +-
src/libcryptobox/keypair.h | 44 +-
src/libcryptobox/keypair_private.h | 32 +-
src/libcryptobox/keypairs_cache.c | 8 +-
src/libcryptobox/keypairs_cache.h | 2 +-
src/libmime/archives.c | 360 +++---
src/libmime/archives.h | 2 +-
src/libmime/content_type.c | 54 +-
src/libmime/content_type.h | 18 +-
src/libmime/email_addr.c | 32 +-
src/libmime/email_addr.h | 26 +-
src/libmime/images.c | 106 +-
src/libmime/images.h | 8 +-
src/libmime/lang_detection.c | 254 ++--
src/libmime/lang_detection.h | 8 +-
src/libmime/lang_detection_fasttext.cxx | 4 +-
src/libmime/lang_detection_fasttext.h | 2 +-
src/libmime/message.c | 150 +--
src/libmime/message.h | 58 +-
src/libmime/mime_encoding.c | 74 +-
src/libmime/mime_encoding.h | 32 +-
src/libmime/mime_expressions.c | 166 +--
src/libmime/mime_expressions.h | 4 +-
src/libmime/mime_headers.c | 96 +-
src/libmime/mime_headers.h | 32 +-
src/libmime/mime_parser.c | 108 +-
src/libmime/received.cxx | 4 +-
src/libmime/scan_result.c | 70 +-
src/libmime/scan_result.h | 52 +-
src/libmime/smtp_parsers.h | 8 +-
src/libserver/async_session.c | 20 +-
src/libserver/async_session.h | 8 +-
src/libserver/cfg_file.h | 306 ++---
src/libserver/cfg_file_private.h | 6 +-
src/libserver/cfg_rcl.cxx | 188 +--
src/libserver/cfg_rcl.h | 44 +-
src/libserver/cfg_utils.cxx | 132 +-
src/libserver/composites/composites.cxx | 28 +-
src/libserver/composites/composites_internal.hxx | 2 +-
src/libserver/css/css_util.cxx | 8 +-
src/libserver/dkim.c | 370 +++---
src/libserver/dkim.h | 48 +-
src/libserver/dns.c | 58 +-
src/libserver/dns.h | 14 +-
src/libserver/dynamic_cfg.c | 68 +-
src/libserver/dynamic_cfg.h | 20 +-
src/libserver/fuzzy_backend/fuzzy_backend.c | 56 +-
src/libserver/fuzzy_backend/fuzzy_backend.h | 22 +-
src/libserver/fuzzy_backend/fuzzy_backend_redis.c | 130 +-
src/libserver/fuzzy_backend/fuzzy_backend_redis.h | 8 +-
src/libserver/fuzzy_backend/fuzzy_backend_sqlite.c | 120 +-
src/libserver/fuzzy_backend/fuzzy_backend_sqlite.h | 20 +-
src/libserver/fuzzy_wire.h | 54 +-
src/libserver/html/html.cxx | 48 +-
src/libserver/html/html.h | 18 +-
src/libserver/html/html.hxx | 2 +-
src/libserver/html/html_entities.cxx | 2 +-
src/libserver/html/html_tag_defs.hxx | 2 +-
src/libserver/html/html_tests.cxx | 12 +-
src/libserver/html/html_url.cxx | 18 +-
src/libserver/http/http_connection.c | 158 +--
src/libserver/http/http_connection.h | 24 +-
src/libserver/http/http_context.c | 36 +-
src/libserver/http/http_context.h | 22 +-
src/libserver/http/http_message.c | 60 +-
src/libserver/http/http_message.h | 38 +-
src/libserver/http/http_private.h | 20 +-
src/libserver/http/http_router.c | 30 +-
src/libserver/http/http_router.h | 8 +-
src/libserver/http/http_util.c | 22 +-
src/libserver/http/http_util.h | 4 +-
src/libserver/logger.h | 84 +-
src/libserver/logger/logger.c | 174 +--
src/libserver/logger/logger_console.c | 22 +-
src/libserver/logger/logger_file.c | 64 +-
src/libserver/logger/logger_private.h | 74 +-
src/libserver/logger/logger_syslog.c | 26 +-
src/libserver/maps/map.c | 150 +--
src/libserver/maps/map.h | 18 +-
src/libserver/maps/map_helpers.c | 138 +--
src/libserver/maps/map_helpers.h | 60 +-
src/libserver/maps/map_private.h | 48 +-
src/libserver/milter.c | 146 +--
src/libserver/milter.h | 14 +-
src/libserver/milter_internal.h | 4 +-
src/libserver/monitored.c | 94 +-
src/libserver/monitored.h | 14 +-
src/libserver/protocol.c | 72 +-
src/libserver/protocol.h | 12 +-
src/libserver/re_cache.c | 372 +++---
src/libserver/re_cache.h | 46 +-
src/libserver/redis_pool.cxx | 30 +-
src/libserver/redis_pool.h | 4 +-
src/libserver/roll_history.c | 26 +-
src/libserver/roll_history.h | 28 +-
src/libserver/rspamd_control.c | 80 +-
src/libserver/rspamd_control.h | 106 +-
src/libserver/rspamd_symcache.h | 140 +--
src/libserver/spf.c | 194 +--
src/libserver/spf.h | 58 +-
src/libserver/ssl_util.c | 50 +-
src/libserver/ssl_util.h | 8 +-
src/libserver/symcache/symcache_c.cxx | 120 +-
src/libserver/symcache/symcache_impl.cxx | 10 +-
src/libserver/symcache/symcache_runtime.cxx | 2 +-
src/libserver/task.c | 116 +-
src/libserver/task.h | 56 +-
src/libserver/url.c | 472 +++----
src/libserver/url.h | 56 +-
src/libserver/worker_util.c | 106 +-
src/libserver/worker_util.h | 32 +-
src/libstat/backends/backends.h | 12 +-
src/libstat/backends/cdb_backend.cxx | 6 +-
src/libstat/backends/http_backend.cxx | 10 +-
src/libstat/backends/mmaped_file.c | 164 +--
src/libstat/backends/redis_backend.cxx | 56 +-
src/libstat/backends/sqlite3_backend.c | 70 +-
src/libstat/classifiers/bayes.c | 44 +-
src/libstat/classifiers/classifiers.h | 2 +-
src/libstat/classifiers/lua_classifier.c | 24 +-
src/libstat/learn_cache/learn_cache.h | 24 +-
src/libstat/learn_cache/redis_cache.cxx | 20 +-
src/libstat/learn_cache/sqlite3_cache.c | 44 +-
src/libstat/stat_api.h | 16 +-
src/libstat/stat_config.c | 34 +-
src/libstat/stat_internal.h | 30 +-
src/libstat/stat_process.c | 90 +-
src/libstat/tokenizers/osb.c | 44 +-
src/libstat/tokenizers/tokenizers.c | 96 +-
src/libstat/tokenizers/tokenizers.h | 34 +-
src/libutil/addr.c | 170 +--
src/libutil/addr.h | 48 +-
src/libutil/cxx/utf8_util.cxx | 6 +-
src/libutil/cxx/utf8_util.h | 4 +-
src/libutil/expression.c | 130 +-
src/libutil/expression.h | 42 +-
src/libutil/fstring.c | 56 +-
src/libutil/fstring.h | 32 +-
src/libutil/hash.c | 64 +-
src/libutil/hash.h | 10 +-
src/libutil/heap.c | 6 +-
src/libutil/heap.h | 8 +-
src/libutil/mem_pool.c | 150 +--
src/libutil/mem_pool.h | 62 +-
src/libutil/mem_pool_internal.h | 34 +-
src/libutil/multipattern.c | 132 +-
src/libutil/multipattern.h | 38 +-
src/libutil/printf.c | 180 +--
src/libutil/printf.h | 38 +-
src/libutil/radix.c | 56 +-
src/libutil/radix.h | 26 +-
src/libutil/regexp.c | 130 +-
src/libutil/regexp.h | 40 +-
src/libutil/rrd.c | 144 +--
src/libutil/rrd.h | 66 +-
src/libutil/shingles.c | 82 +-
src/libutil/shingles.h | 20 +-
src/libutil/sqlite_utils.c | 52 +-
src/libutil/sqlite_utils.h | 24 +-
src/libutil/str_util.c | 546 ++++-----
src/libutil/str_util.h | 144 +--
src/libutil/upstream.c | 196 +--
src/libutil/upstream.h | 44 +-
src/libutil/util.c | 350 +++---
src/libutil/util.h | 134 +-
src/lua/lua_cdb.c | 32 +-
src/lua/lua_cfg_file.c | 12 +-
src/lua/lua_classifier.c | 24 +-
src/lua/lua_classnames.c | 2 +-
src/lua/lua_classnames.h | 2 +-
src/lua/lua_common.c | 314 ++---
src/lua/lua_common.h | 140 +--
src/lua/lua_compress.c | 52 +-
src/lua/lua_compress.h | 8 +-
src/lua/lua_config.c | 436 +++----
src/lua/lua_cryptobox.c | 354 +++---
src/lua/lua_dns.c | 12 +-
src/lua/lua_dns_resolver.c | 30 +-
src/lua/lua_expression.c | 50 +-
src/lua/lua_html.cxx | 46 +-
src/lua/lua_http.c | 50 +-
src/lua/lua_ip.c | 70 +-
src/lua/lua_kann.c | 64 +-
src/lua/lua_logger.c | 120 +-
src/lua/lua_map.c | 90 +-
src/lua/lua_mempool.c | 80 +-
src/lua/lua_mimepart.c | 166 +--
src/lua/lua_parsers.c | 26 +-
src/lua/lua_redis.c | 136 +-
src/lua/lua_regexp.c | 50 +-
src/lua/lua_rsa.c | 94 +-
src/lua/lua_spf.c | 56 +-
src/lua/lua_sqlite3.c | 54 +-
src/lua/lua_task.c | 576 ++++-----
src/lua/lua_tcp.c | 140 +--
src/lua/lua_tensor.c | 90 +-
src/lua/lua_text.c | 220 ++--
src/lua/lua_thread_pool.cxx | 42 +-
src/lua/lua_thread_pool.h | 20 +-
src/lua/lua_trie.c | 64 +-
src/lua/lua_udp.c | 38 +-
src/lua/lua_upstream.c | 62 +-
src/lua/lua_url.c | 142 +--
src/lua/lua_url.h | 22 +-
src/lua/lua_util.c | 322 ++---
src/lua/lua_worker.c | 82 +-
src/lua/lua_xmlrpc.c | 50 +-
src/plugins/chartable.cxx | 74 +-
src/plugins/dkim_check.c | 152 +--
src/plugins/fuzzy_check.c | 464 +++----
src/plugins/regexp.c | 44 +-
src/ragel/rfc2047_parser.rl | 8 +-
src/ragel/smtp_date_parser.rl | 6 +-
src/ragel/smtp_ip_parser.rl | 2 +-
src/rspamadm/commands.c | 26 +-
src/rspamadm/configdump.c | 20 +-
src/rspamadm/confighelp.c | 16 +-
src/rspamadm/configtest.c | 12 +-
src/rspamadm/control.c | 20 +-
src/rspamadm/fuzzy_convert.c | 14 +-
src/rspamadm/lua_repl.c | 100 +-
src/rspamadm/pw.c | 42 +-
src/rspamadm/rspamadm.c | 56 +-
src/rspamadm/rspamadm.h | 26 +-
src/rspamadm/signtool.c | 58 +-
src/rspamadm/stat_convert.c | 26 +-
src/rspamd.c | 110 +-
src/rspamd.h | 68 +-
src/rspamd_proxy.c | 128 +-
src/worker.c | 20 +-
src/worker_private.h | 6 +-
test/rspamd_cryptobox_test.c | 26 +-
test/rspamd_dkim_test.c | 14 +-
test/rspamd_dns_test.c | 2 +-
test/rspamd_heap_test.c | 20 +-
test/rspamd_lua_pcall_vs_resume_test.c | 48 +-
test/rspamd_lua_test.c | 20 +-
test/rspamd_radix_test.c | 44 +-
test/rspamd_rrd_test.c | 8 +-
test/rspamd_shingles_test.c | 28 +-
test/rspamd_test_suite.c | 6 +-
test/rspamd_upstream_test.c | 10 +-
utils/base64.c | 18 +-
utils/rspamd_http_bench.c | 72 +-
utils/rspamd_http_server.c | 34 +-
265 files changed, 11926 insertions(+), 11564 deletions(-)
More information about the Commits
mailing list