Commit Graph

18 Commits (51897a4ab7109d8a86a5e952d4862ad819782d4f)

Author SHA1 Message Date
Alexander Bakker b6bfc5b15f Update Gradle and dependencies 2 years ago
Alexander Bakker 4198ca3bb7 Update Gradle 2 years ago
Alexander Bakker f73a64acd6 Update gradle and dependencies 3 years ago
Alexander Bakker d0c8c5fae4 Update Gradle and dependencies 3 years ago
AJ Jordan fbc390b714 Upgrade to Gradle/Gradle Android plugin 7.x
Additionally, enable some more linting (per the Android plugin release
notes' recommendation) and fix a lint warning.
3 years ago
Alexander Bakker 813bf292fa Update dependencies 4 years ago
Ewout ter Hoeven 993b29bd83
Gradle: Update wrapper and scripts to 6.8.3 4 years ago
Alexander Bakker d660fbc6d1 Update Gradle and dependencies 5 years ago
Sage Pointer a25dbc5cdd Add desugaring for Android < 7 compatibility 5 years ago
Alexander Bakker 56bde0e19b Add support for importing from the new Google Authenticator export QR codes 5 years ago
Michael Schättgen 3e626a37db Add AboutActivity
Add DialogStyles for different themes

Add review fixes

Remove unused usings
6 years ago
Alexander Bakker 2323d89938 Introduce UUIDMap for storing objects that are keyed by a UUID
This patch introduces the new ``UUIDMap`` type, reducing code duplication and
making UUID lookups faster. We currently already use UUIDs as the identifier for
the ``DatabaseEntry`` and ``Slot`` types, but the way lookups by UUID work are
kind of ugly, as we simply iterate over the list until we find a match. As we're
probably going to have more types like this soon (groups and icons, for
example), I figured it'd be good to abstract this away into a separate type and
make it a map instead of a list.

The only thing that has gotten slower is the ``swap`` method. The internal
``LinkedHashMap`` retains insertion order with a linked list, but does not know
about the position of the values, so we basically have to copy the entire map to
simply swap two values. I don't think it's too big of a deal, because swap
operations still take less than a millisecond even with large vaults, but
suggestions for improving this are welcome.

I had to update gradle and JUnit to be able to use the new ``assertThrows``
assertion method, so this patch includes that as well.
6 years ago
Alexander Bakker b036eb178b Update gradle 6 years ago
Michael Schättgen 2152e2617f Migrated project to AndroidX 7 years ago
Alexander Bakker 4cd87b0452 Update dependencies
And make the isRunning function in AegisApplication a little easier to read
7 years ago
Alexander Bakker 7d5bd8f812 Add a project for a cli application and update dependencies 7 years ago
Michael Schättgen f11145ce95 Added ImageDrawable to listview 9 years ago
Impyy c0219fbc35 Initial commit 9 years ago