| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-08-22 | fixup! samba: Add docker server run by tests | Joel Klinghed | |
| follow symlinks = no doesn't have intended effect | |||
| 2024-08-22 | samba: Cleanup jni layer | Joel Klinghed | |
| Remember that jni::GlobalRef can be used on multiple threads so we can't store the env, need to call AttachCurrentThread. Fix AttachCurrentThread (g_vm was forgotten). More consistent move and copy constructors in refs. Removed env() method as it would only be valid for Param and Local anyway. | |||
| 2024-08-22 | samba: Disable follow symlinks on samba server | Joel Klinghed | |
| Also no unix extensions (as that is SMB1). | |||
| 2024-08-22 | fixup! samba: Add docker server run by tests | Joel Klinghed | |
| Kotlin + truth is somewhat pedantic at times | |||
| 2024-08-22 | gradle: Ignore .kotlin directory | Joel Klinghed | |
| Shows up after gradle 8.10 upgrade but it's actually the kotlin upgrade | |||
| 2024-08-22 | samba: Add docker server run by tests | Joel Klinghed | |
| Current user needs to be in docker group (or in some other way have access to the docker.socket) for this to work. Two current problems: * listRoot() fails, no directories are found. * gradle hangs after running the samba tests | |||
| 2024-08-22 | samba: Fix crash when url->path == null | Joel Klinghed | |
| 2024-08-22 | Add AutoClosable to Tree interface | Joel Klinghed | |
| Some backends have resources to free, such as the SambaTree. | |||
| 2024-08-20 | Support building libsamba.so for unittests | Joel Klinghed | |
| Unittests still fail as there is no samba server to talk to (step 2). | |||
| 2024-08-20 | Android Studio keeps changing this file | Joel Klinghed | |
| 2024-08-20 | Update androidx.livedata related libraries to 2.8.4 | Joel Klinghed | |
| 2024-08-20 | Update android gradle plugin to 8.5.2 | Joel Klinghed | |
| 2024-08-20 | Update gradle to 8.10 | Joel Klinghed | |
| 2024-08-19 | Increase the samba implemetation | Joel Klinghed | |
| With the exception of openDir, largely untested. | |||
| 2024-07-25 | samba: Add credentials object | Joel Klinghed | |
| Ask for enough permissions to be able to create sockets. | |||
| 2024-07-23 | Drive-by: AS wants to remove the xml declaration for some reason | Joel Klinghed | |
| 2024-07-23 | Add initial code for samba implementation based on libsmb2 | Joel Klinghed | |
| 2024-07-16 | Break out io code in libs | Joel Klinghed | |
| Preparing for adding more io implementations. Really tried writing the convention plugins in kotlin dsl but could not find the exact right hacks to get it to work. | |||
| 2024-07-15 | Remove values-v23 as minSdk = 29 | Joel Klinghed | |
| Fixes lint warning. | |||
| 2024-07-15 | Jump to Java 11 as base language | Joel Klinghed | |
| 1.8 is deprecated with Java 22 | |||
| 2024-07-15 | Fix some problems with Link | Joel Klinghed | |
| And add more unittests for all of Directory, File and Link. | |||
| 2024-07-15 | Add some tests in LocalTreeTest for removing directories | Joel Klinghed | |
| 2024-07-15 | Add Utils#createFileAndDirectories | Joel Klinghed | |
| Useful when creating a file in a directory with a path. | |||
| 2024-07-15 | Add Utils for parsing path parts to a directory | Joel Klinghed | |
| 2024-07-15 | Add Directory#openDir,File,Link | Joel Klinghed | |
| If you know the expected type of a name, instead of listing all entries, just create an entry for the directory, file or link. | |||
| 2024-07-15 | Move LocalTreeTest to io | Joel Klinghed | |
| 2024-07-14 | Remove blank line | Joel Klinghed | |
| 2024-07-14 | Bump android gradle plugin to 8.5.1 | Joel Klinghed | |
| 2024-07-14 | Add and configure detekt gradle plugin | Joel Klinghed | |
| Useful when you want to check without AS. | |||
| 2024-07-14 | Add Directory#liveList and make Directory#list() direct | Joel Klinghed | |
| Also move the LiveData outside Directory.Content. A lot of code doesn't care about Directory content in two seconds, they want to know it now. Also, the LiveData returned is one of the annoying one where the content isn't correct until someone observes it. This makes more sense this way. | |||
| 2024-07-14 | Rename File#open to File#read | Joel Klinghed | |
| To match write. | |||
| 2024-07-11 | Initial commit | Joel Klinghed | |
| Local (Path based) implementation of Tree, Directory, File and Link. | |||
