Gráfico de commits

480 Commits

Autor SHA1 Mensagem Data
Albert S. 780318db6d shared: Indexer: Consider new NOACCESS too 2022-06-24 19:17:50 +02:00
Albert S. 9fd48d4664 shared: FileSaver: Return NOACCESS when no read access 2022-06-24 19:17:50 +02:00
Albert S. e99b2ba091 shared: Indexer: IndexResult: Introduce failedResults() 2022-06-24 19:17:50 +02:00
Albert S. 0867ab294d shared: SandboxedProcessor: Return NO_ACCESS when file not readable 2022-06-24 19:17:50 +02:00
Albert S. 01a6a499c5 shared: SqliteDBService: Add 'NOACCESS'. Add function to convert enum to str 2022-06-24 19:17:50 +02:00
Albert S. b3c6ce3899 cli: main: Improve usage text, print it when unknown command given 2022-06-24 19:17:50 +02:00
Albert S. 72dae1f7be cli: CommandAdd: Mention we read from stdin when no path is given 2022-06-24 19:17:50 +02:00
Albert S. e01f5d6490 shared: ParallelDirScanner: Perform first pass to collect paths
Scan the top directory to collect paths for the threads. This
way we don't launch threads for paths without subdirs. Secondly,
large trees like usually $HOME will be scanned by multiple threads
at first.

Nevertheless, ParallelDirScanner can be improved still as threads may
run quickly out of work, so we may end up with only one anyway again
2022-06-24 19:17:50 +02:00
Albert S. 759d2a7924 Fix builds with quazip 1.X
Sigh. quazip changed the lib name, include locations, etc. from version 1.
Some distributions only have 0.9. Some only  1.x and so some packages break,
so they simply patch it when building the package.

Luckily, nothing we use from quazip is affected from an API perspective.

So detect if there is quazip1, then use pkg-config to link that, else do it like before.
2022-06-21 22:33:50 +02:00
Albert S. a820183477 README.md: Add voidlinux build instructions 2022-06-20 23:24:10 +02:00
Albert S. 8c5825439a USAGE.md: Update to better reflect current state 2022-06-14 18:50:26 +02:00
Albert S. 399c27a452 Release: v0.3 2022-06-14 17:44:53 +02:00
Albert S. 7a2e4aaec1 HACKING.md: Minor improvements 2022-06-14 17:40:56 +02:00
Albert S. 11decb757f gui: MainWindow: Settings: Allow changing database path too 2022-06-14 10:58:38 +02:00
Albert S. b71c234fb4 gui: MainWindow: Also highlight unicode numbers in previews 2022-06-14 10:16:07 +02:00
Albert S. bc908a1038 shared: LooqsQuery: Add unicode category class for numbers to regex 2022-06-14 10:15:17 +02:00
Albert S. 8ba4ee5847 gui: Disable settingsTab while Indexer is running 2022-06-13 22:53:41 +02:00
Albert S. 451c79088a shared/gui: Don't consider non-content search results for previews
Not entirely ideal, since we may want to search for 'cake', and look at
a preview for 'cake.txt' even if there is no 'cake' inside.

But this will do for now
2022-06-13 22:46:14 +02:00
Albert S. 1a39118470 shared: LooqsQuery: has*Search(): Mark methods const 2022-06-13 22:43:23 +02:00
Albert S. 0d2e518000 mainwindow: Remove 'Open config in text editor' menu action
Retired because we have a settings tabs now
2022-06-13 21:57:34 +02:00
Albert S. b108cb7151 shared: Indexer: Exclude 'excludedPaths' settings already at DirScanner, not only FileSaver 2022-06-13 21:57:34 +02:00
Albert S. c82cf03814 gui: main: Remove leftover old, now removed --no-sandboxing option from parser 2022-06-13 21:57:34 +02:00
Albert S. 8a82da95bd shared: common: Retire 'firstrun' settings logic 2022-06-13 21:57:34 +02:00
Albert S. a408173064 main: Ensure event loops runs before Common::ensureConfigured() called
Otherwise migration progress cannot be reported
2022-06-13 21:57:34 +02:00
Albert S. dd479fa668 gui: Add 'Settings' tab 2022-06-13 21:57:34 +02:00
Albert S. e76988ee77 shared: SandboxedProcessor: Enable fallback for non-landlock systems
Unless it's a processor that does not need fs access, this would
fail on systems without landlock, so we must fallback to
chroot() etc. again.
2022-06-09 10:04:48 +02:00
Albert S. f29f997289 gui: ipc sandbox: Restrict sandbox further
Switch to QCoreApplication, since the ipc worker is not a GUI application.

We can also remove some vows this ways. Furthermore, disable connect() syscall
explicitly.
2022-06-09 10:04:48 +02:00
Albert S. afa9d33f3d submodules: exile.h: Update 2022-06-09 10:04:48 +02:00
Albert S. fc92b963d4 Release: v0.2 2022-06-07 00:01:35 +02:00
Albert S. 9acbd5dccf Add .gitignore 2022-06-07 00:00:54 +02:00
Albert S. 87ebc137d5 shared/gui: Add LOOQS_DISABLE_SANDBOX env to allow disabling sandboxing
Mainly for devs to check whether a problem is caused by sandboxing.
2022-06-06 23:23:07 +02:00
Albert S. 67189f34c6 gui: main: Make sandboxing work on kernels without landlock
Those are still around of course, so deal with that
2022-06-06 22:16:36 +02:00
Albert S. fac6ed1853 Release: v0.1 2022-06-06 17:44:51 +02:00
Albert S. ae2097fe6a HACKING.md: Fix broken link 2022-06-06 17:44:51 +02:00
Albert S. 9e3d3b1dd4 Begin CHANGELOG.md 2022-06-06 17:26:14 +02:00
Albert S. 4f3abb3f67 README.md: Mention packages 2022-06-06 17:11:20 +02:00
Albert S. 3ca6e4df3c looqs.desktop: Remove absolute path to binary 2022-06-06 15:55:21 +02:00
Albert S. 0d81452a67 rename icon to looqs.svg 2022-06-06 15:55:21 +02:00
Albert S. 3e14498437 README.md: General updates, more screenshots 2022-06-06 14:52:58 +02:00
Albert S. 3102a952df Begin CONTRIBUTING.md 2022-06-06 14:49:34 +02:00
Albert S. 3903f18854 Begin HACKING.md 2022-06-06 14:49:24 +02:00
Albert S. 60a91967bb Begin USAGE.md 2022-06-06 14:49:17 +02:00
Albert S. c6550e81bb submodules: exile.h: Update 2022-06-06 14:19:17 +02:00
Albert S. 744fa2ec7a cli: CommandAdd: Set keepGoing, Remove verbose for now 2022-06-06 09:34:37 +02:00
Albert S. f8542dc96a shared: Indexer: Handle keepGoing, set verbose 2022-06-06 09:34:37 +02:00
Albert S. fdae7fd065 shared: LooqsQuery: Use unicode category class in regex 2022-06-06 09:34:37 +02:00
Albert S. f8d6a1a586 gui: mainwindow: Use Unicode category class to extract highlight words 2022-06-06 09:34:37 +02:00
Albert S. 61fa7ca16d shared: IndexSyncer: Check whether file is located in a mountpath 2022-06-06 09:34:37 +02:00
Albert S. 61a446ec2d shared: common: Add mountPaths()
Mountpaths indicate mount points of external devices. Files
located under such paths should not be removed on sync, because
they may have not been deleted, but are just inaccessible right now.
2022-06-06 09:34:37 +02:00
Albert S. 0e5abf96c8 shared: indexer: Don't dispatch DirScanner if no dirs given
This makes sense in general, however it also avoids a race condition.

The dirscanner may finish before the filescanworkers for the files
run, this then signals the whole indexer has finished.
2022-06-05 20:35:21 +02:00