15 Commits

Author SHA1 Message Date
Theodore Dubois
9510680692 Make sure to take sqlite write locks upfront
Fun quirk of sqlite is that if you BEGIN DEFERRED and then do a read
statement and then another process concurrently does a write and then
the first process does a write statement on the same transaction, it
will immediately return SQLITE_BUSY because it's impossible to do a
write against a past version of the database. To fix this we need to use
BEGIN IMMEDIATE to take a write lock upfront on any transaction that
will need to write.
2024-10-27 15:10:14 -07:00
Theodore Dubois
40ef2cfa3d Don't hold inodes_lock while calling open()
https://gist.github.com/tbodt/2dd95b6353ed1b717e834fc3ae2d2adf
2024-10-19 19:58:29 -07:00
Theodore Dubois
a11d7b6f9d Hide items not found in database instead of crashing 2023-06-02 18:03:10 -07:00
Theodore Dubois
d9b0d1be6e Rewrite the file provider to work on Linux 2022-02-21 19:22:09 -08:00
Theodore Dubois
cd32f2a019 Fix build 2021-06-27 10:54:42 -07:00
Theodore Dubois
82fda42b77 Add button to browse a root in Files 2020-06-18 00:19:00 -07:00
Theodore Dubois
bffd0a3072 Fix compiler error in file provider 2019-12-30 11:09:35 -08:00
Theodore Dubois
046c76a699 Use the actual filename instead of a bunch of random numbers 2019-02-11 09:43:21 -08:00
Theodore Dubois
dfa37180b6 Implement rename and reparent in the file provider 2019-02-08 20:29:03 -08:00
Theodore Dubois
bb924a48a8 Implement removing files and directories 2019-02-08 20:04:54 -08:00
Theodore Dubois
f4e79f2399 Show last modified date and child item count in files app 2019-02-08 18:56:14 -08:00
Theodore Dubois
f1fefd2482 Implement creating files and directories in file provider 2019-02-08 17:39:08 -08:00
Theodore Dubois
f8d7014523 Treat files without a recognized extension as plain text 2019-01-29 13:07:59 -08:00
Theodore Dubois
724d5f2202 Make it possible to sanely edit files through the file provider 2019-01-29 13:06:52 -08:00
Theodore Dubois
62a699603b Add half-finished files app integration 2018-09-22 15:18:45 -07:00