| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-09-25 | samba: Follow clang-tidy suggestions | Joel Klinghed | |
| 2024-09-25 | samba: Fix output dir for tests | Joel Klinghed | |
| 2024-09-25 | Add libs:sftp | Joel Klinghed | |
| sftp implementation using libssh2 and openssl | |||
| 2024-09-10 | Update a bunch of android libraries | Joel Klinghed | |
| 2024-09-10 | Update gradle to 8.10.1 | Joel Klinghed | |
| 2024-09-10 | Add libs:documents | Joel Klinghed | |
| Reads the abomination that is SAF, or Androids best effort to make files and directories completely and utterly unusable on Android. The androidTest was (and is) a pain, only known to work on a Pixel3 API 34 emulator but it showed a lot of things that the fake content provider in the unit tests failed to show. | |||
| 2024-09-03 | test: Verify that removeDir, removeFile and removeLink return expected value | Joel Klinghed | |
| 2024-09-03 | Remove robolectric from test-utils | Joel Klinghed | |
| Will make it possible to use TreeAbstractTest in androidTest as well as unittest | |||
| 2024-09-03 | Add robolectric.properties | Joel Klinghed | |
| For some reason robolectric doesn't pick up the right min and max sdk by itself so it was testing the wrong versions | |||
| 2024-09-03 | Move test options to android-conventions plugin | Joel Klinghed | |
| 2024-09-03 | Update AGP to 8.6.0 | Joel Klinghed | |
| 2024-08-25 | Document io classes | Joel Klinghed | |
| 2024-08-25 | Combine tests from both local and samba | Joel Klinghed | |
| Most the tests test the Tree implementation and thus should work on all such implementations. Current exception is symlinks which Samba backend doesn't (currently?) support. Improve the Samba remove methods to better match the expected behavior. | |||
| 2024-08-25 | samba: Remove unused import | Joel Klinghed | |
| 2024-08-25 | Revert "Enable configuration cache in gradle" | Joel Klinghed | |
| This reverts commit 5b0bd926c6c8a1d3f65acd170b56c582abcee488. Complaining about AndroidUnitTest having references to a Gradle script object. Don't have the energy to down that rabbit hole now. | |||
| 2024-08-25 | samba: Add support for live list | Joel Klinghed | |
| Using polling (every 10s) as libsmb2 has no watch/event support. (Unsure if SMB protocol has any support). | |||
| 2024-08-25 | Enable configuration cache in gradle | Joel Klinghed | |
| Speedup repeated runs. | |||
| 2024-08-25 | samba: Fix reading/writing large amounts of data | Joel Klinghed | |
| Two bugs: * Didn't consider smb2_context max read/write size. * total was not increased when max was hit | |||
| 2024-08-23 | samba: Style fixes | Joel Klinghed | |
| Remove unused imports and shorten lone lines | |||
| 2024-08-23 | samba: Add support for read/write file | Joel Klinghed | |
| 2024-08-23 | local: Simply PathFile.write | Joel Klinghed | |
| Don't fiddle around with temp files and such. This needs to be handled on a higher level. Otherwise, how do you know if the temp file should be replaced or not when close is called? | |||
| 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. | |||
