compare-to-official-release checks the AAR now
But really, this should all be ported to diffoscope...
statically link STLport into lib, sqlcipher no longer provides it
remove obsolete workaround to bugs in Google's linker (gold)
remove defunct openssl git submodule
add CHANGELOG for 0.4 release
update build instructions in README
gitlab-ci: install Debian's libqt5widgets5 for emulator64-x86
libQt5Widgets.so.5 is provided by the Android SDK, but it is failing tofind it:
emulator64-x86: error while loading shared libraries: libQt5Widgets.so.5: cannot open shared object file: No such file or directory...
set Java source and target to 1.6 (1.5 is deprecated)
make gradle call `make -C external` for a complete build
convert tests to JUnit4 exception catching
Just makes things cleaner and using a non-ancient style.
gitlab-ci: force accept android-sdk-preview-license for android-25
https://stackoverflow.com/questions/38096225/automatically-accept-all-sdk-licences
include gradle wrapper for CI builds
port all tests from IOCipherTests to AndroidJUnit4/gradle
convert gradle to modern NDK building
https://developer.android.com/studio/projects/add-native-code.html
Before starting, this still requires a manual run of: make -C external
make-release-build: remove faketime, it just breaks ant
faketime never really helped with the JAR stages, and is problematic
make-release-build: allow failures on gpg signing to support CI
gitlab-ci: add tests on emulators for platforms 16 and 25
I tried for the life of me to get it running on android-10 emulators,but they always just crash at the start of running the tests.
gitlab-ci: make lint errors fail the build, and output to log
set up gitlab-ci
use standard ANDROID_NDK_HOME env var
build with NDK r13b, which has a min supported platform on android-9
create standard ./setup-ant script
ignore Android Studio files
update versions in README
uses latest SDK when working with gradle and Android Studio
describe the target platform level choice
IOCipher does not need any new features added to the NDK since android-5,which is the NDK platform used when targeting android-7.
"Each new release of NDK headers and libraries for a given Android APIlevel is cumulative; you are nearly always safe if you use the most...
ship libsqlcipher.so from android-database-sqlcipher-3.5.4.aar
These files came from android-database-sqlcipher-3.5.4.aar with a SHA256 ofe1539774238a76fc1d95bfd6915ab0882e7284ebd5569e0bcbdb9f0bfed1cc4a
update for latest sqlcipher library
add method to finalize sqlfs on extra threads
When a new thread tries to access the volume, it will use the cached passwordand path and automatically allocate a sqlfs_t. When that thread ends, it'llautomatically call sqlfs_t_finalize() to cleanup. But often times threads are...
update to libsqlfs v1.3.2 for fixes and sqlfs_detach_thread()
generate to AARs: complete "standalone" and only IOCipher
If an app is using SQLCipher-for-Android already, then that app just needsthe IOCipher libs. If the app is not using SQLCipher at all, then thestandalone version includes the required SQLCipher shared libraries.
generate .pom file for maven repos like jCenter and mavenCentral
also create standard AAR library format for use with gradle/jcenter/etc
https://sites.google.com/a/android.com/tools/tech-docs/new-build-system/aar-format
use ASCII .asc signatures since they are de facto in Android/Java
strip the "v" from the release tags, so its just the number
This makes script with the version number, as returned from `git describe`a lot easier.
v0.1 --> 0.1v0.2 --> 0.2v0.3 --> 0.3
include phrase about LGPL compatibility with Java in README
delete every container file even if a prior ones failed to delete
if the first file failed to delete, then it would skip trying on the laterones since `result` would be false. a leading false in an `&&` statementmeans the second one does not get evaluated.
fix names of build .jar to include -debug only when appropriate
add VirtualFileSystem.deleteContainer() method to ease cleanup
Most people are probably not aware that SQLite will create the -wal and-shm files in addition to the sqlfs database file itself. This provides amethod to clean up an existing container without knowing which files need...
ignore gradle build products
refs https://github.com/guardianproject/IOCipher/pull/6
Add Gradle build file
closes https://github.com/guardianproject/IOCipher/pull/6
do not set compiler version, build now works on all supported in NDK r10d
Previously, not everything would build on the new compilers, now everythingbuilds on gcc 4.6, 4.8, and 4.9 as well as clang3.4 and clang3.5, so letthe NDK or developer decide which is the best compiler to build with.
update to latest libsqlfs to get gcc 4.8 and clang3.5 build fixes
Android NDK now defaults to gcc 4.8, so IOCipher should build nicely on it.Specifically, the "maybe uninitialized" warning is now an error in the NDKr10d's default gcc (4.8). It was also easy to get things building on...
Google's gold linker has bugs, so use good ol' binutils' bfd
You can find out more about this bug here:https://code.google.com/p/android/issues/detail?id=109071http://osdir.com/ml/android-ndk/2013-02/msg00107.html
script to compare self-made builds to downloaded releases
convert README to markdown
make-release-build: automatically detect and find Android NDK
purge jar signing, no one checks those and they break reproducible builds
The jar signing will prevent a reproducible build from getting to the pointwhere the jars match exactly by hash, and can be validated by the same GPGsignature. GPG file signing is much less error prone than jar signing...
createNewContainer methods for creating a new IOCipher file system
This changes the VirtualFileSystem paradigm to make mount() only operate onexisting files, then introduces createNewContainer() as a dedicated methodfor createing new VFS container files....
use one static blob for generating Exception messages
Since there can only be a single Exception, there only can be a singleException message. So there does not need to be multiple copies of msg.This also just simplifies the code a bit, and provides a constant to make...
1 2 3 ... 5 Next » (1-50/248) Per page: 25, 50, 100, 250
Also available in: Atom