]> git.sesse.net Git - plocate/log
plocate
3 years agoRelease plocate 1.1.0. 1.1.0
Steinar H. Gunderson [Wed, 2 Dec 2020 22:39:49 +0000 (23:39 +0100)]
Release plocate 1.1.0.

3 years agoAdd missing man page .in files.
Steinar H. Gunderson [Wed, 2 Dec 2020 22:51:55 +0000 (23:51 +0100)]
Add missing man page .in files.

3 years agoImport the updatedb and updatedb.conf man pages from mlocate.
Steinar H. Gunderson [Tue, 1 Dec 2020 23:34:16 +0000 (00:34 +0100)]
Import the updatedb and updatedb.conf man pages from mlocate.

3 years agoFix installation when DESTDIR is set.
Steinar H. Gunderson [Sun, 29 Nov 2020 18:30:03 +0000 (19:30 +0100)]
Fix installation when DESTDIR is set.

3 years agoReuse the locategroup option for the setgid.
Steinar H. Gunderson [Sun, 29 Nov 2020 14:07:37 +0000 (15:07 +0100)]
Reuse the locategroup option for the setgid.

3 years agoSmall README tweak.
Steinar H. Gunderson [Sat, 28 Nov 2020 22:21:06 +0000 (23:21 +0100)]
Small README tweak.

3 years agoIn the README, make the group before we install.
Steinar H. Gunderson [Sat, 28 Nov 2020 22:16:36 +0000 (23:16 +0100)]
In the README, make the group before we install.

3 years agomlocate -> plocate in some help.
Steinar H. Gunderson [Sat, 28 Nov 2020 22:14:45 +0000 (23:14 +0100)]
mlocate -> plocate in some help.

3 years agosetgid to plocate, not mlocate.
Steinar H. Gunderson [Sat, 28 Nov 2020 22:09:13 +0000 (23:09 +0100)]
setgid to plocate, not mlocate.

3 years agoAdd a systemd service and timer for updatedb, obsoleting the cron entry.
Steinar H. Gunderson [Sat, 28 Nov 2020 22:08:23 +0000 (23:08 +0100)]
Add a systemd service and timer for updatedb, obsoleting the cron entry.

3 years agoFix verbose printing when updatedb reads directories from an old database.
Steinar H. Gunderson [Sat, 28 Nov 2020 20:59:21 +0000 (21:59 +0100)]
Fix verbose printing when updatedb reads directories from an old database.

3 years agoFix writing of the configuration block.
Steinar H. Gunderson [Sat, 28 Nov 2020 20:56:54 +0000 (21:56 +0100)]
Fix writing of the configuration block.

3 years agoCreate /var/lib/plocate on install.
Steinar H. Gunderson [Sat, 28 Nov 2020 20:46:00 +0000 (21:46 +0100)]
Create /var/lib/plocate on install.

3 years agoPut the database file in sharedstatedir.
Steinar H. Gunderson [Sat, 28 Nov 2020 20:05:56 +0000 (21:05 +0100)]
Put the database file in sharedstatedir.

3 years agoUse join_paths() in Meson.
Steinar H. Gunderson [Sat, 28 Nov 2020 20:05:27 +0000 (21:05 +0100)]
Use join_paths() in Meson.

3 years agoMove to our own directory and group.
Steinar H. Gunderson [Sat, 28 Nov 2020 19:57:03 +0000 (20:57 +0100)]
Move to our own directory and group.

3 years agoUpdate README.
Steinar H. Gunderson [Sat, 28 Nov 2020 19:55:25 +0000 (20:55 +0100)]
Update README.

3 years agoHonor the “require visibility” flag (in the negative).
Steinar H. Gunderson [Sat, 28 Nov 2020 17:17:23 +0000 (18:17 +0100)]
Honor the “require visibility” flag (in the negative).

3 years agoRun clang-format.
Steinar H. Gunderson [Wed, 25 Nov 2020 00:02:25 +0000 (01:02 +0100)]
Run clang-format.

3 years agoAdd a native updatedb.
Steinar H. Gunderson [Sat, 21 Nov 2020 17:23:20 +0000 (18:23 +0100)]
Add a native updatedb.

This incorporates some code from mlocate's updatedb, and thus is compatible
with /etc/updatedb.conf, and supports all the pruning options from it.
All the code has been heavily modified, e.g. the gnulib dependency has been
removed and replaced with STL code (kicking 10k+ lines of code), the bind
mount code has been fixed (it was all broken since the switch from /etc/mtab
to /proc/self/mountinfo) and everything has been reformatted. Like with mlocate,
plocate's updatedb is merging, ie., it can skip readdir() on unchanged
directories. (The logic here is also copied pretty verbatim from mlocate.)
updatedb reads plocate's native format; there's a new max_version 2 that
contains directory timestamps (without it, updatedb will fall back to a full
scan). The timestamps increase the database size by only about 1%, which is a
good tradeoff when we're getting rid of the entire mlocate database.

We liberally use modern features to simplify the implementation; in particular,
openat() to avoid race conditions, instead of mlocate's complicated chdir() dance.
Unfortunately, the combination of the slightly strange storage order from mlocate,
and openat(), means we can need to keep up a bunch of file descriptors open,
but they are not an expensive resource these days, and we try to bump the
limit ourselves if we are allowed to. We also use O_TMPFILE, to make sure we
never leave a half-finished file lying around (mlocate's updatedb tries to
catch signals instead). All of this may hinder portability, so we might ease up
on the requirements later. We don't use io_uring for updatedb at this point.

plocate-build does not write the needed timestamps, so the first upgrade from
mlocate to native plocate requires a full rescan.

NOTE: The format is _not_ frozen yet, and won't be until actual release.

3 years agoMove complete_pread() into a separate file, to avoid the io_uring false dependency.
Steinar H. Gunderson [Sun, 22 Nov 2020 20:28:57 +0000 (21:28 +0100)]
Move complete_pread() into a separate file, to avoid the io_uring false dependency.

3 years agoMake DatabaseBuilder write the file atomically.
Steinar H. Gunderson [Sat, 21 Nov 2020 14:34:59 +0000 (15:34 +0100)]
Make DatabaseBuilder write the file atomically.

By opening with O_TMPFILE, we guarantee we'll never be leaving
an unfinished file visible on the filesystem. The move across the
old one isn't atomic, but the window of failure is very small now.

3 years agoRemove unfinished debug code.
Steinar H. Gunderson [Tue, 10 Nov 2020 18:01:48 +0000 (19:01 +0100)]
Remove unfinished debug code.

3 years agoSplit DatabaseBuilder into its own compilation unit.
Steinar H. Gunderson [Tue, 10 Nov 2020 00:09:31 +0000 (01:09 +0100)]
Split DatabaseBuilder into its own compilation unit.

3 years agoWhen reading mlocate.db, properly skip the configuration block.
Steinar H. Gunderson [Mon, 9 Nov 2020 23:19:58 +0000 (00:19 +0100)]
When reading mlocate.db, properly skip the configuration block.

This could cause some entries to be skipped until we regained sync,
especially in the root directory.

3 years agoEncapsulate some database-building logic into a class.
Steinar H. Gunderson [Mon, 9 Nov 2020 22:50:20 +0000 (23:50 +0100)]
Encapsulate some database-building logic into a class.

3 years agoEscape file names with backticks in them.
Steinar H. Gunderson [Sat, 7 Nov 2020 10:22:52 +0000 (11:22 +0100)]
Escape file names with backticks in them.

3 years agoBump version number.
Steinar H. Gunderson [Sat, 7 Nov 2020 10:16:46 +0000 (11:16 +0100)]
Bump version number.

3 years agoRelease plocate 1.0.7. 1.0.7
Steinar H. Gunderson [Sat, 31 Oct 2020 22:04:39 +0000 (23:04 +0100)]
Release plocate 1.0.7.

3 years agoFix an infinite loop when encountering invalid UTF-8 in file names.
Steinar H. Gunderson [Sat, 31 Oct 2020 21:27:41 +0000 (22:27 +0100)]
Fix an infinite loop when encountering invalid UTF-8 in file names.

Bug report and patch by Leah Neukirchen.

3 years agoFix two typos in manpages.
Leah Neukirchen [Sat, 31 Oct 2020 18:52:34 +0000 (19:52 +0100)]
Fix two typos in manpages.

3 years agoRun clang-format.
Steinar H. Gunderson [Sat, 31 Oct 2020 14:13:38 +0000 (15:13 +0100)]
Run clang-format.

3 years agoWork around brokenness in FreeBSD mbtowc().
Steinar H. Gunderson [Sat, 31 Oct 2020 11:25:36 +0000 (12:25 +0100)]
Work around brokenness in FreeBSD mbtowc().

The manpage claims the return value should be 0 on a null byte,
just like on Linux, but in practice, it returns -1, so we need to
check for end-of-string manually.

3 years agoCheck for endian.h before including it. Fixes compilation on FreeBSD.
Steinar H. Gunderson [Sat, 31 Oct 2020 11:24:34 +0000 (12:24 +0100)]
Check for endian.h before including it. Fixes compilation on FreeBSD.

3 years agoAdd missing <endian.h> include.
Steinar H. Gunderson [Sat, 31 Oct 2020 10:57:29 +0000 (11:57 +0100)]
Add missing <endian.h> include.

Seemingly improves musl compatibility. Taken from the Void Linux
packaging repository.

3 years agoBump version number.
Steinar H. Gunderson [Fri, 30 Oct 2020 23:44:14 +0000 (00:44 +0100)]
Bump version number.

3 years agoRelease plocate 1.0.6. 1.0.6
Steinar H. Gunderson [Thu, 29 Oct 2020 23:06:10 +0000 (00:06 +0100)]
Release plocate 1.0.6.

3 years agoEscape unprintable characters when outputting filenames to a terminal.
Steinar H. Gunderson [Thu, 29 Oct 2020 22:42:01 +0000 (23:42 +0100)]
Escape unprintable characters when outputting filenames to a terminal.

Filenames are generally untrusted, and can contain any kind of cruft.
In particular, there have been terminals (hopefully not in wide use anymore!)
that will do insanity like running specific commands when seeing a
specific escape sequence. More prosaically, embedded newlines can
make for confusing output.

Thus, escape any nonprintable characters in a shell-parseable way,
much the same way GNU ls does these days. Also escape quotes, backslashes
and the likes to make sure nothing unescaped looks like it's escaped.
This doesn't mean it's safe to take whatever and parse it uncritically
(we don't escape $, for instance), but it's generally good enough.

Escaping is disabled when doing zero-terminated output, or when printing
to a pipe or file.

3 years agoFix a crash when we have a too few blocks to train a dictionary.
Steinar H. Gunderson [Tue, 20 Oct 2020 16:55:37 +0000 (18:55 +0200)]
Fix a crash when we have a too few blocks to train a dictionary.

3 years agoSupport building databases from plaintext files.
Steinar H. Gunderson [Tue, 20 Oct 2020 16:53:58 +0000 (18:53 +0200)]
Support building databases from plaintext files.

This was already possible by uncommenting some code, but has now
given a switch and also being made more robust.

3 years agoAdd an alternative for __builtin_clz.
Steinar H. Gunderson [Sat, 17 Oct 2020 13:03:39 +0000 (15:03 +0200)]
Add an alternative for __builtin_clz.

Speed isn't critical here, and this was ostensibly the last GCC-ism.

3 years agoRemove some unneeded __attribute__((unused)).
Steinar H. Gunderson [Sat, 17 Oct 2020 12:37:25 +0000 (14:37 +0200)]
Remove some unneeded __attribute__((unused)).

3 years agoFix the function multiversioning Meson test.
Steinar H. Gunderson [Sat, 17 Oct 2020 12:33:12 +0000 (14:33 +0200)]
Fix the function multiversioning Meson test.

The old one was seemingly too lenient, and would have false positives.

3 years agoBump version number.
Steinar H. Gunderson [Sat, 17 Oct 2020 12:33:05 +0000 (14:33 +0200)]
Bump version number.

3 years agoRelease plocate 1.0.5. 1.0.5
Steinar H. Gunderson [Sat, 17 Oct 2020 09:39:54 +0000 (11:39 +0200)]
Release plocate 1.0.5.

3 years agoFix the -r short option.
Steinar H. Gunderson [Sat, 17 Oct 2020 09:32:17 +0000 (11:32 +0200)]
Fix the -r short option.

3 years agoSupport compiling on x86 platforms without working function multiversioning.
Steinar H. Gunderson [Sat, 17 Oct 2020 09:10:41 +0000 (11:10 +0200)]
Support compiling on x86 platforms without working function multiversioning.

3 years agoclang-format.
Steinar H. Gunderson [Sat, 17 Oct 2020 07:55:45 +0000 (09:55 +0200)]
clang-format.

3 years agoAdd the missing end timing if linear scan and --debug is used together.
Steinar H. Gunderson [Sat, 17 Oct 2020 07:55:18 +0000 (09:55 +0200)]
Add the missing end timing if linear scan and --debug is used together.

3 years agoFix some inconsistencies in the man page.
Steinar H. Gunderson [Sat, 17 Oct 2020 07:47:13 +0000 (09:47 +0200)]
Fix some inconsistencies in the man page.

3 years agoImplement the -b (--basename) option.
Steinar H. Gunderson [Sat, 17 Oct 2020 07:46:55 +0000 (09:46 +0200)]
Implement the -b (--basename) option.

3 years agoFix a wrong IWYU include.
Steinar H. Gunderson [Fri, 16 Oct 2020 08:02:28 +0000 (10:02 +0200)]
Fix a wrong IWYU include.

3 years agoFix detection of -latomic (it doesn't come from pkg-config).
Steinar H. Gunderson [Fri, 16 Oct 2020 08:01:28 +0000 (10:01 +0200)]
Fix detection of -latomic (it doesn't come from pkg-config).

3 years agoAdd -latomic if it exists; seems to be required on armel and sh4.
Steinar H. Gunderson [Fri, 16 Oct 2020 07:26:41 +0000 (09:26 +0200)]
Add -latomic if it exists; seems to be required on armel and sh4.

3 years agoBump the version number.
Steinar H. Gunderson [Fri, 16 Oct 2020 07:27:14 +0000 (09:27 +0200)]
Bump the version number.

3 years agoRelease plocate 1.0.4. 1.0.4
Steinar H. Gunderson [Thu, 15 Oct 2020 22:50:22 +0000 (00:50 +0200)]
Release plocate 1.0.4.

3 years agoMove the cache-flushing behavior into an undocumented option, so that one does not...
Steinar H. Gunderson [Thu, 15 Oct 2020 22:48:23 +0000 (00:48 +0200)]
Move the cache-flushing behavior into an undocumented option, so that one does not have to recompile to test it. (Drops setgid.)

3 years agoMove several needle/searching related functions into its own file.
Steinar H. Gunderson [Thu, 15 Oct 2020 22:42:25 +0000 (00:42 +0200)]
Move several needle/searching related functions into its own file.

3 years agoMove AccessRXCache into its own file.
Steinar H. Gunderson [Thu, 15 Oct 2020 22:36:20 +0000 (00:36 +0200)]
Move AccessRXCache into its own file.

3 years agoRun clang-format.
Steinar H. Gunderson [Thu, 15 Oct 2020 22:23:11 +0000 (00:23 +0200)]
Run clang-format.

3 years agoMove Serializer into its own file.
Steinar H. Gunderson [Thu, 15 Oct 2020 22:22:59 +0000 (00:22 +0200)]
Move Serializer into its own file.

3 years agoMerge non-results from worker threads to put less load on Serializer.
Steinar H. Gunderson [Thu, 15 Oct 2020 21:41:16 +0000 (23:41 +0200)]
Merge non-results from worker threads to put less load on Serializer.

3 years agoGive the WorkerThread results a proper struct instead of std::tuple.
Steinar H. Gunderson [Thu, 15 Oct 2020 21:40:42 +0000 (23:40 +0200)]
Give the WorkerThread results a proper struct instead of std::tuple.

3 years agoMultithread linear scans.
Steinar H. Gunderson [Thu, 15 Oct 2020 20:41:42 +0000 (22:41 +0200)]
Multithread linear scans.

When we have a scan that we cannot accelerate with trigrams
(very short patterns, or regexes), we need to go through all of
the file names like mlocate does. This is usually CPU-bound,
so fire up threads. We leave one core/hyperthread for the I/O
and add a thread for each of the rest (this is probably bad
on dualcore, but it's a simple thing that will do for now,
and should be fairly safe).

The bottleneck now is Serializer. I first tried just putting a
mutex on it, which worked fine on eight hyperthreads
(ie., four real cores, my laptop), but caused huge contention with 40
(20 cores, my old dual-socket Haswell). Sending data back through
per-thread queues seems to work a lot better, but we're still
spending a lot of time in Serializer; witness that --count is
much faster for such a search.

3 years agoDon't flush the cache on plocate.db.
Steinar H. Gunderson [Wed, 14 Oct 2020 22:56:37 +0000 (00:56 +0200)]
Don't flush the cache on plocate.db.

This was changed by mistake in an earlier patch.

3 years agoBump version number.
Steinar H. Gunderson [Wed, 14 Oct 2020 22:56:23 +0000 (00:56 +0200)]
Bump version number.

3 years agoRelease plocate 1.0.3. 1.0.3
Steinar H. Gunderson [Wed, 14 Oct 2020 22:13:52 +0000 (00:13 +0200)]
Release plocate 1.0.3.

3 years agoIn plocate-build, open the file only once.
Steinar H. Gunderson [Wed, 14 Oct 2020 21:35:54 +0000 (23:35 +0200)]
In plocate-build, open the file only once.

3 years agoIf plocate-build cannot open the output file, give a proper error instead of crashing.
Steinar H. Gunderson [Wed, 14 Oct 2020 21:32:02 +0000 (23:32 +0200)]
If plocate-build cannot open the output file, give a proper error instead of crashing.

3 years agoAdd some options for controlling installation and processing of the cron.daily script.
Steinar H. Gunderson [Wed, 14 Oct 2020 21:31:08 +0000 (23:31 +0200)]
Add some options for controlling installation and processing of the cron.daily script.

3 years agoUnbreak compilation for non-x86.
Steinar H. Gunderson [Wed, 14 Oct 2020 17:01:38 +0000 (19:01 +0200)]
Unbreak compilation for non-x86.

3 years agoUnbreak compilation of bench.
Steinar H. Gunderson [Wed, 14 Oct 2020 16:54:28 +0000 (18:54 +0200)]
Unbreak compilation of bench.

3 years agoSupport --debug for plocate-build, and unbreak some debug printfs there.
Steinar H. Gunderson [Tue, 13 Oct 2020 16:08:05 +0000 (18:08 +0200)]
Support --debug for plocate-build, and unbreak some debug printfs there.

3 years agoFix --version in plocate-build.
Steinar H. Gunderson [Tue, 13 Oct 2020 15:55:53 +0000 (17:55 +0200)]
Fix --version in plocate-build.

3 years agoUse zstd dictionaries.
Steinar H. Gunderson [Tue, 13 Oct 2020 15:46:20 +0000 (17:46 +0200)]
Use zstd dictionaries.

Since we have small strings, they can benefit from some shared context,
and zstd supports this. plocate-build now reads the mlocate database
twice; the first pass samples 1000 random blocks, which it uses to train
a 1 kB dictionary. (zstd recommends much larger dictionaries, but practical
testing seems to indicate this doesn't help us much, and might actually
be harmful.)

We get ~20% slower builds and ~7% smaller .db files -- but more
interestingly, linear search speed is up ~20% (which indicates that
decompression in itself benefits more). We need to read the 1 kB
dictionary, but it's practically free since it's stored next to the
header and so small.

This is a version bump (to version 1), so we're not forward-compatible,
but we're backward-compatible (plocate still reads version 0 files
just fine). Since we're adding more fields to the header anyway,
we can add a new “max_version” field that allows for marking
backwards-compatible changes in the future, ie., if plocate-build
adds more information that plocate would like to use but that older
plocate versions can simply ignore.

3 years agoReuse zstd compression contexts, for a tiny speed boost.
Steinar H. Gunderson [Mon, 12 Oct 2020 18:08:58 +0000 (20:08 +0200)]
Reuse zstd compression contexts, for a tiny speed boost.

3 years agoBump version number.
Steinar H. Gunderson [Mon, 12 Oct 2020 18:04:26 +0000 (20:04 +0200)]
Bump version number.

3 years agoRelease plocate 1.0.2. 1.0.2
Steinar H. Gunderson [Mon, 12 Oct 2020 07:56:32 +0000 (09:56 +0200)]
Release plocate 1.0.2.

3 years agoAdd a NEWS file (pretty boring currently).
Steinar H. Gunderson [Mon, 12 Oct 2020 07:56:21 +0000 (09:56 +0200)]
Add a NEWS file (pretty boring currently).

3 years agoFix some 32-bit issues.
Steinar H. Gunderson [Mon, 12 Oct 2020 07:52:07 +0000 (09:52 +0200)]
Fix some 32-bit issues.

3 years agoUpdate the correct (generated) version of update-plocate.sh.
Steinar H. Gunderson [Sun, 11 Oct 2020 22:57:39 +0000 (00:57 +0200)]
Update the correct (generated) version of update-plocate.sh.

3 years agoBump the version number.
Steinar H. Gunderson [Sun, 11 Oct 2020 22:57:28 +0000 (00:57 +0200)]
Bump the version number.

3 years agoRelease plocate 1.0.1. 1.0.1
Steinar H. Gunderson [Sun, 11 Oct 2020 22:22:51 +0000 (00:22 +0200)]
Release plocate 1.0.1.

3 years agoMake update-plocate.sh work properly if installed to /usr.
Steinar H. Gunderson [Sun, 11 Oct 2020 22:22:38 +0000 (00:22 +0200)]
Make update-plocate.sh work properly if installed to /usr.

3 years agoUnbreak non-trigram matches after we changed to asynchronous access().
Steinar H. Gunderson [Sun, 11 Oct 2020 21:58:41 +0000 (23:58 +0200)]
Unbreak non-trigram matches after we changed to asynchronous access().

Non-trigram matches don't use async I/O, so they also can't use
async access(). Fix so that they don't segfault anymore.

3 years agoCorrect section of plocate-build manpage.
Steinar H. Gunderson [Sun, 11 Oct 2020 19:33:23 +0000 (21:33 +0200)]
Correct section of plocate-build manpage.

3 years agoBump version number.
Steinar H. Gunderson [Sun, 11 Oct 2020 19:33:13 +0000 (21:33 +0200)]
Bump version number.

3 years agoRelease plocate 1.0.0. 1.0.0
Steinar H. Gunderson [Sun, 11 Oct 2020 18:45:23 +0000 (20:45 +0200)]
Release plocate 1.0.0.

3 years agoDo the access checking asynchronously if possible.
Steinar H. Gunderson [Sun, 11 Oct 2020 17:59:11 +0000 (19:59 +0200)]
Do the access checking asynchronously if possible.

There are many issues involved:

 - There's no access() support in io_uring (yet?), so we fake it
   by doing statx() on the directory first, which primes the
   dentry cache so that synchronous access() becomes very fast.
   It is a bit tricky, since multiple access checks could be
   going on at the same time, which the need to all wait
   for the same statx() call.
 - Not even all kernels support statx() in io_uring (support starts
   from 5.6+).
 - Serialization now becomes two-level, and more involved.
   We don't have an obvious single counter anymore, so we need
   to be able to start a docid without knowing how many candidates
   there are (and thus, be able to tell Serializer that we are
   at the end).
 - Limit becomes more tricky, since there can be more calls on
   the way back. We solve this by moving limit into Serializer,
   and hard-exiting when we hit the limit.
 - We need to prioritize statx() calls ahead of read(), so that
   we don't end up with very delayed output when the new read()
   calls generate even more statx() calls and we get a huge
   backlog of calls. (We can't prioritize in the kernel, but we
   can on the overflow queue we're managing ourselves.) This is
   especially important with --limit.

3 years agoUse the PRId64 #define for formatting int64.
Steinar H. Gunderson [Sun, 11 Oct 2020 17:57:20 +0000 (19:57 +0200)]
Use the PRId64 #define for formatting int64.

3 years agoAdd debug output if io_uring initialization fails.
Steinar H. Gunderson [Sun, 11 Oct 2020 17:09:18 +0000 (19:09 +0200)]
Add debug output if io_uring initialization fails.

3 years agoFix #include order.
Steinar H. Gunderson [Sun, 11 Oct 2020 09:49:35 +0000 (11:49 +0200)]
Fix #include order.

3 years agoRemove some unneeded whitespace.
Steinar H. Gunderson [Sun, 11 Oct 2020 09:49:00 +0000 (11:49 +0200)]
Remove some unneeded whitespace.

3 years agoDisallow limit <= 0.
Steinar H. Gunderson [Sun, 11 Oct 2020 09:48:43 +0000 (11:48 +0200)]
Disallow limit <= 0.

3 years agoREADME updates.
Steinar H. Gunderson [Sun, 11 Oct 2020 08:11:43 +0000 (10:11 +0200)]
README updates.

3 years agoAdd some man pages.
Steinar H. Gunderson [Sun, 11 Oct 2020 08:07:38 +0000 (10:07 +0200)]
Add some man pages.

3 years agoAdd support for some basic options in plocate-build; specifically, block size.
Steinar H. Gunderson [Sat, 10 Oct 2020 20:24:47 +0000 (22:24 +0200)]
Add support for some basic options in plocate-build; specifically, block size.

This also means it will stop segfaulting if no options are given.

3 years agoImplement support for larger basevals in TurboPFor.
Steinar H. Gunderson [Sat, 10 Oct 2020 20:24:27 +0000 (22:24 +0200)]
Implement support for larger basevals in TurboPFor.

3 years agoSupport searching by regexp (brute force only).
Steinar H. Gunderson [Sat, 10 Oct 2020 19:43:20 +0000 (21:43 +0200)]
Support searching by regexp (brute force only).

Mostly for compatibility completeness.

3 years agoWrite new --help text from scratch, so that we have nothing from mlocate except some...
Steinar H. Gunderson [Sat, 10 Oct 2020 19:26:30 +0000 (21:26 +0200)]
Write new --help text from scratch, so that we have nothing from mlocate except some structs.