Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge in updates from buttercookie42 #11

Open
wants to merge 142 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
d5b2c93
Migrate project to Android Studio and Gradle
buttercookie42 Dec 30, 2023
2922601
Update Java Units update makefile for new file paths
buttercookie42 Dec 30, 2023
79867b6
Backed out changeset 83346fe
buttercookie42 Dec 30, 2023
79a2e99
Remove old support library copy again
buttercookie42 Dec 30, 2023
35f7da4
Remove Readme symlink in Assets directory
buttercookie42 Dec 30, 2023
0cef871
Revive the old README.xhtml for usage with the app's About screen
buttercookie42 Dec 30, 2023
0075b35
Work around Android bug with opening the options menu more than once …
buttercookie42 Dec 30, 2023
47bd5a5
Make resource IDs final again
buttercookie42 Dec 30, 2023
ac66d2f
Reformat code and XML files
buttercookie42 Dec 30, 2023
be4ce7e
Move translation comment to correct location
buttercookie42 Dec 30, 2023
8e2a24d
Don't warn about outdated target API for now, we'll look at that later
buttercookie42 Dec 30, 2023
dc693b5
Fix duplicated view id
buttercookie42 Dec 30, 2023
1146d61
Upgrade compile SDK
buttercookie42 Dec 30, 2023
8b24426
Move calculator strings to correct file
buttercookie42 Dec 31, 2023
92b6a05
Replace ... with corresponding unicode character
buttercookie42 Dec 31, 2023
17d68bb
Fix some layout file warnings
buttercookie42 Dec 31, 2023
f5639e1
Add accessibility hints for the backspace button
buttercookie42 Dec 31, 2023
a13bd4b
Make ColorButton properly styleable
buttercookie42 Dec 30, 2023
2423d90
Replace hardcoded longpress hints by strings
buttercookie42 Dec 31, 2023
780227e
Determine longpress hint text size by width, too
buttercookie42 Dec 31, 2023
f3b54d0
Provide alternative means for accessing the options menu
buttercookie42 Dec 30, 2023
51d148b
Use dp instead of physical pixels for laying out the longpress hint
buttercookie42 Dec 31, 2023
282f399
Increase the size of the history panel close button somewhat
buttercookie42 Dec 31, 2023
cbbed39
Sort out untranslateable strings
buttercookie42 Dec 31, 2023
3c4b169
Create values-es
ingfabby Dec 31, 2023
2e0ac50
Update/expand German translation
buttercookie42 Dec 31, 2023
f0a3d77
Update localised currency button
buttercookie42 Dec 31, 2023
07a8597
Remove duplicated Unicode translation map entries
buttercookie42 Dec 31, 2023
c2f4e32
Don't export UnitsContentProvider
buttercookie42 Dec 31, 2023
aba42f7
Cleanup some warnings for the manifest
buttercookie42 Dec 31, 2023
6ba980f
Convert UnitDetails usage to explicit intent
buttercookie42 Dec 31, 2023
54064e9
Remove action.VIEW from intent filter for unit list
buttercookie42 Jan 1, 2024
e596ddf
Make ACTION_PICK Intent explicit
buttercookie42 Jan 1, 2024
051f1c9
Move about option in the menu to the end of the list
buttercookie42 Jan 1, 2024
4534b24
Move theme definitions into separate files
buttercookie42 Jan 1, 2024
c841435
Use Holo theme on API11+
buttercookie42 Jan 1, 2024
2909043
Translation update for menu_compatible_units
buttercookie42 Jan 1, 2024
b864289
Exclude grammar.peg from Units-in-Java package
buttercookie42 Jan 1, 2024
9395abf
Hack around Android wanting to enforce Action Bar usage on tablets
buttercookie42 Jan 1, 2024
9ef6e96
Bump target SDK level to 11
buttercookie42 Jan 1, 2024
3e87a2c
Further improve text size calculations for the longpress button hint
buttercookie42 Jan 1, 2024
6559041
Translate unit classifications into German
buttercookie42 Jan 1, 2024
367d642
Add unit classification for gsm/grammage
buttercookie42 Jan 2, 2024
77deaec
Update unit classification table on each app launch
buttercookie42 Jan 2, 2024
041bc69
Enable Gradle configuration cache
buttercookie42 Jan 2, 2024
97b0fe2
Enable optimisation of release builds
buttercookie42 Dec 30, 2023
7f927d7
Run InitialisationTask only after onPostCreate
buttercookie42 Jan 2, 2024
cc0788e
Only re-import unit classifications on app update or locale change
buttercookie42 Jan 2, 2024
84c7e6d
Manually invalidate "All units" list after units classification reload
buttercookie42 Jan 2, 2024
6eafd0e
Bump target SDK level to 23
buttercookie42 Jan 2, 2024
95ff53c
Make InitialisationTask static class
buttercookie42 Jan 3, 2024
d82b2cf
Fix a few minor warnings
buttercookie42 Jan 3, 2024
6965dbd
Dump unit fingerprints via menu item
buttercookie42 Jan 2, 2024
94dc165
Possible fix for "trying to requery an already closed cursor" crashes
buttercookie42 Jan 3, 2024
88d6674
Bump target SDK level to 14
buttercookie42 Jan 2, 2024
1f8c0f2
Set development version number
buttercookie42 Dec 30, 2023
44f3e1e
Fix javadoc
buttercookie42 Jan 3, 2024
c3e2a6e
Update app icon
buttercookie42 Jan 3, 2024
c03282b
Mark app as RTL-layout compatible
buttercookie42 Jan 4, 2024
7ec4946
Officially declare us xlarge-screen compatible
buttercookie42 Jan 4, 2024
cc11ccc
Update Readme
buttercookie42 Jan 4, 2024
3b47792
Enable StrictMode on debug builds
buttercookie42 Jan 4, 2024
ba46960
Custom app signing config
buttercookie42 Jan 4, 2024
38da9bd
Change application ID
buttercookie42 Jan 3, 2024
c5fb5cd
Update Android Gradle Plugin to 8.2.1
buttercookie42 Jan 4, 2024
8a7faec
Bump target SDK level to 27
buttercookie42 Jan 5, 2024
1622c4c
Bump target SDK level to 34
buttercookie42 Jan 5, 2024
6fb1e08
Release version 1.1
buttercookie42 Jan 5, 2024
fbb1c09
Use uppercase 'E' again for exponential notation
buttercookie42 Jan 6, 2024
b96caf7
Rename UnitList to UnitListActivity to avoid a name collision
buttercookie42 Jan 6, 2024
1ebb181
Fix Javadoc
buttercookie42 Jan 6, 2024
05e36c9
Partially handle unit list conversions in the GUI
buttercookie42 Jan 6, 2024
b8def11
Print results of unit list conversion
buttercookie42 Jan 6, 2024
d641647
Allow entering a semicolon via the soft keyboard
buttercookie42 Jan 6, 2024
cf5c786
Adjust logging tags
buttercookie42 Jan 6, 2024
18e9ded
Fix a few warnings
buttercookie42 Jan 7, 2024
2d36c52
Always update units usage database on debug builds
buttercookie42 Jan 7, 2024
4dbf654
Annotate drawable warnings
buttercookie42 Jan 7, 2024
500146c
Don't warn about hard-coding a simple space
buttercookie42 Jan 7, 2024
5dc7b33
Fix result view padding attributes as per Lint checks
buttercookie42 Jan 7, 2024
883e4bf
Remove duplicated unit weight keys
buttercookie42 Jan 7, 2024
d43a5be
Remove unnecessary findViewById() casts
buttercookie42 Jan 7, 2024
befc703
Improve signing config code
buttercookie42 Jan 7, 2024
0396052
Use <merge> instead of <FrameLayout> for landscape main layout, too
buttercookie42 Jan 7, 2024
090ee5a
Add FileGrammar.peg
buttercookie42 Jan 7, 2024
a8e0184
Apply necessary patches to make units-in-java build again
buttercookie42 Jan 6, 2024
4f05a5a
Upgrade units-in-java to 1.89.J01 - DONTBUILD
buttercookie42 Jan 6, 2024
95a6fe0
Include unit aliases when initialising units DB
buttercookie42 Jan 7, 2024
f198870
Include unit list alises in default weights
buttercookie42 Jan 7, 2024
1e50915
Handle fingerprint generation for unit list aliases
buttercookie42 Jan 7, 2024
076c785
Set US units as default for English units to mimic current GNU Units …
buttercookie42 Jan 7, 2024
6a2478f
Prepare DB migration code for doing more than just dropping the old t…
buttercookie42 Jan 8, 2024
7996f97
Add isunitalias colummn to units DB
buttercookie42 Jan 8, 2024
268c5f5
Actually store whether an unit is an alias or not in the DB
buttercookie42 Jan 8, 2024
d481227
Exclude unit aliases from searchbar autocomplete
buttercookie42 Jan 8, 2024
e55e371
Don't hardcode the query URI inside the UnitCursorAdapter
buttercookie42 Jan 10, 2024
1fb75e5
Link to IzzyOnDroid
buttercookie42 Jan 11, 2024
4362114
initial fastlane structure
IzzySoft Jan 12, 2024
6e6fc02
Exclude unit aliases from the 'You have' autocomplete dropdown
buttercookie42 Jan 13, 2024
879175d
Re-enable target API warnings Lint check
buttercookie42 Jan 13, 2024
77db29f
Disable StrictMode again
buttercookie42 Jan 7, 2024
1ddec19
Handle unit aliases for the usage tracking
buttercookie42 Jan 14, 2024
a839e13
Add unit list alias for pre-decimal UK currency
buttercookie42 Jan 14, 2024
0338300
Track float accuracy in unit list conversion and round off too small …
buttercookie42 Jan 14, 2024
244248f
Fix readme
buttercookie42 Jan 14, 2024
6d4b333
New development version
buttercookie42 Jan 6, 2024
c643a62
Make UnitList's round mode variable more expressive
buttercookie42 Jan 15, 2024
2ffb27c
Fix a few warnings in UnitList
buttercookie42 Jan 15, 2024
c405ccd
Store round amount on the UnitList instance, too
buttercookie42 Jan 15, 2024
a3ae0dc
Handle unit-in-java's rounding modes in the Android app
buttercookie42 Jan 15, 2024
4bd05f6
Update readme for new unit lists feature
buttercookie42 Jan 14, 2024
ab50082
Fix two missing units in the default weights file
buttercookie42 Jan 16, 2024
652a1b6
Change filename for fingerprints dump
buttercookie42 Jan 16, 2024
379daeb
Update fingerprints file
buttercookie42 Jan 6, 2024
d896c86
Remove commented out code in loadInitialUnitUsage()
buttercookie42 Jan 16, 2024
95e9b96
Move handling of pre-computed fingerprints into own class
buttercookie42 Jan 16, 2024
847022a
Re-run the unit usage task on version upgrades, too
buttercookie42 Jan 7, 2024
41c1990
Remove obsolete TODOs
buttercookie42 Jan 16, 2024
a137242
Remove some entries from the Unicode translation map that are no long…
buttercookie42 Jan 15, 2024
d156c85
Handle units starting with an Unicode character
buttercookie42 Jan 16, 2024
0d2ae19
Provide one single definition for the base units regex pattern
buttercookie42 Jan 16, 2024
24df0e3
Allow currency symbols for the unit usage database
buttercookie42 Jan 16, 2024
f10f4b9
Drop unneeded regex pattern
buttercookie42 Jan 16, 2024
6ce66d4
Remove ACTION_USE_UNIT intent filter
buttercookie42 Jan 17, 2024
50badd0
Only consider the base locale (language + region) for locale handling
buttercookie42 Jan 17, 2024
d12816f
Fix some resources warnings
buttercookie42 Jan 17, 2024
ab790d6
Get rid of strings_calc
buttercookie42 Jan 17, 2024
7233750
Update icon in top directory, too
buttercookie42 Jan 18, 2024
9542534
More readme and app description tweaks
buttercookie42 Jan 18, 2024
4863a4a
Very minor warning fixes
buttercookie42 Jan 18, 2024
c7141ec
Make button_ellipsis a bit larger and add additional densities
buttercookie42 Jan 18, 2024
d61e652
Optimise PNGs
buttercookie42 Jan 18, 2024
5076dae
Enable per-app language settings in Android 13+
buttercookie42 Jan 19, 2024
3018210
Switch order of Portuguese locales around
buttercookie42 Jan 19, 2024
dd46059
Some more translation updates
buttercookie42 Jan 18, 2024
d72704c
Move locale change check and update check methods into Application
buttercookie42 Jan 19, 2024
e06205f
Re-read units file after locale change
buttercookie42 Jan 19, 2024
e302b84
Release version 1.2
buttercookie42 Jan 20, 2024
a280fd9
Remove linebreaks from fastlane HTML files
buttercookie42 Jan 23, 2024
ee47e5b
Add Gradle wrapper distribution SHA256
buttercookie42 Jan 23, 2024
0198a63
Fix bug in SEPARATED_FRACTION rounding mode
buttercookie42 Jan 25, 2024
93e8a44
Release version 1.2.1
buttercookie42 Jan 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't warn about outdated target API for now, we'll look at that later
  • Loading branch information
buttercookie42 committed Dec 30, 2023
commit 8e2a24dad48994116bfcd15e9a8300115a44d0fc
5 changes: 5 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -16,11 +16,16 @@ android {
defaultConfig {
applicationId = "de.buttercookie.units"
minSdk = 4
//noinspection ExpiredTargetSdkVersion
targetSdk = 10
versionCode = 10
versionName = "1.1a1"
}

lint {
disable += "ExpiredTargetSdkVersion"
}

buildTypes {
release {
isMinifyEnabled = false