| Age | Commit message (Collapse) | Author |
|
Also upgraded compileSdk to 35.
|
|
11 is really old by now.
|
|
|
|
|
|
|
|
|
|
It's implementation specific if path is relative or absolute but
it contains the link target. Especially useful for NoTarget.
|
|
Fix implementations to work as expected
(that createDirectory/File/Link fails if an entry with that name
already exists).
|
|
Gradle 8.10.2
AGP 8.7.0
Kotlin 2.0.20
|
|
|
|
Add tests for them, and add basename, currently unused, for completeness
|
|
And fix errors in MUTF-8 conversion in jni.cpp
|
|
When robolectric loads multiple SDK versions it initialize
the NativeSamba class multiple times but loading libsamba.so
multiple times doesn't work. Avoid the problem by going back to
only testing one SDK level for samba.
|
|
Not been able to test the symlink code (as it is SMB1 only), instead
of having a lot of (possibly, most likely) broken code that might
be used by someone, remove it all.
|
|
Leftover from early test, there is a tree already.
|
|
|
|
|
|
sftp implementation using libssh2 and openssl
|
|
|
|
|
|
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.
|
|
|
|
Will make it possible to use TreeAbstractTest in androidTest
as well as unittest
|
|
For some reason robolectric doesn't pick up the right min and max
sdk by itself so it was testing the wrong versions
|
|
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
Using polling (every 10s) as libsmb2 has no watch/event support.
(Unsure if SMB protocol has any support).
|
|
Speedup repeated runs.
|
|
Two bugs:
* Didn't consider smb2_context max read/write size.
* total was not increased when max was hit
|
|
Remove unused imports and shorten lone lines
|
|
|
|
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?
|
|
follow symlinks = no doesn't have intended effect
|
|
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.
|
|
Also no unix extensions (as that is SMB1).
|
|
Kotlin + truth is somewhat pedantic at times
|
|
Shows up after gradle 8.10 upgrade but it's actually the kotlin upgrade
|
|
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
|
|
|
|
Some backends have resources to free, such as the SambaTree.
|
|
Unittests still fail as there is no samba server to talk to (step 2).
|
|
|
|
|
|
|
|
|
|
With the exception of openDir, largely untested.
|