notmuch/lib
Đoàn Trần Công Danh 441a327051 compat: rename {,notmuch_}canonicalize_file_name
When compat canonicalize_file_name was introduced, it was limited to
C code only because it was used by C code only during that time.

>From 5ec6fd4d, (lib/open: check for split configuration when creating
database., 2021-02-16), lib/open.cc, which is C++, relies on the
existent of canonicalize_file_name.

However, we can't blindly enable canonicalize_file_name for C++ code,
because different implementation has different additional signature for
C++ and users can arbitrarily add -DHAVE_CANONICALIZE_FILE_NAME=0 to
{C,CXX}FLAGS.

Let's move our implementation into a util library.

Helped-by: Tomi Ollila <tomi.ollila@iki.fi>
Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
2021-04-24 08:07:00 -03:00
..
add-message.cc lib/n_d_index_file: check return value from _n_m_add_filename 2021-04-18 10:02:20 -03:00
built-with.c build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
config.cc lib: provide notmuch_config_path 2021-03-27 09:26:14 -03:00
database-private.h lib: provide notmuch_config_path 2021-03-27 09:26:14 -03:00
database.cc lib: add NOTMUCH_STATUS_NO_DATABASE 2021-03-27 09:26:14 -03:00
directory.cc lib: run uncrustify 2021-03-13 08:45:34 -04:00
features.cc lib: run uncrustify 2021-03-13 08:45:34 -04:00
filenames.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
index.cc lib: run uncrustify 2021-03-13 08:45:34 -04:00
indexopts.c lib: run uncrustify 2021-03-13 08:45:34 -04:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local lib: factor out notmuch_database_open* related code to own file 2020-12-23 09:25:01 -04:00
message-file.c lib: support splitting mail from database location. 2021-03-20 07:39:12 -03:00
message-id.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
message-private.h lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
message-property.cc lib: run uncrustify 2021-03-13 08:45:34 -04:00
message.cc lib: directly traverse postlists in _n_message_delete 2021-04-18 09:50:36 -03:00
messages.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
notmuch-private.h lib: add NOTMUCH_STATUS_NO_DATABASE 2021-03-27 09:26:14 -03:00
notmuch.h lib: provide notmuch_config_path 2021-03-27 09:26:14 -03:00
notmuch.sym build: switch to hiding libnotmuch symbols by default 2017-05-12 07:17:18 -03:00
open.cc compat: rename {,notmuch_}canonicalize_file_name 2021-04-24 08:07:00 -03:00
parse-time-vrp.cc lib: run uncrustify 2021-03-13 08:45:34 -04:00
parse-time-vrp.h lib: migrate from Xapian ValueRangeProcessor to RangeProcessor 2020-07-11 17:20:09 -03:00
prefix.cc lib: run uncrustify 2021-03-13 08:45:34 -04:00
query-fp.cc build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
query-fp.h build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
query.cc lib: run uncrustify 2019-06-14 07:41:27 -03:00
regexp-fields.cc build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
regexp-fields.h build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
sha1.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
string-list.c lib: run uncrustify 2019-06-14 07:41:27 -03:00
string-map.c lib: run uncrustify 2021-03-13 08:45:34 -04:00
tags.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
thread-fp.cc lib: run uncrustify 2021-03-13 08:45:34 -04:00
thread-fp.h build: drop support for xapian versions less than 1.4 2020-04-23 21:28:45 -03:00
thread.cc lib: run uncrustify 2021-03-13 08:45:34 -04:00