Commit Graph
115 Commits
Author SHA1 Message Date
kalarina 8f4cd6d7f2 Drop migration of data from old versions 2026-10-31 11:59:09 +02:00
kalarina c929a827c5 Test that unchanged logs and statistics are reused 2026-10-31 11:50:14 +02:00
kalarina caf498d783 Read animated colors and offsets when drawing 2026-10-31 11:50:14 +02:00
kalarina 87723f0a8f Cache chart geometry, labels and date formats 2026-10-31 11:50:14 +02:00
kalarina e3f5906924 Rebuild the Activity log only when it changed 2026-10-31 11:50:14 +02:00
kalarina d58e9cb5f9 Keep storage and image decoding off the main thread at start-up 2026-10-31 11:50:13 +02:00
kalarina 6444a81f95 Encode statistics on the writer thread and read them outside the lock 2026-10-31 11:40:43 +02:00
kalarina 60c43df3c5 Cut allocations on the path of every DNS query 2026-10-31 11:37:55 +02:00
kalarina 3d45f54360 Wake the tunnel reader only for packets and on stop 2026-10-31 11:35:22 +02:00
kalarina d583b73d74 Leave unused library files out of the APK 2026-10-31 11:34:33 +02:00
kalarina b53aa34516 Share repeated UI pieces between screens 2026-10-31 11:34:07 +02:00
kalarina 6c26cb99a6 Remove the baseline profile script 2026-10-31 11:32:16 +02:00
kalarina 907c3aaa46 Use the built-in server list directly 2026-10-31 11:32:10 +02:00
kalarina ee430fa7c0 Remove an unused color and statistics reset 2026-10-31 11:32:10 +02:00
kalarina 509c0b9a86 Remove leftovers of the old Monitor screen 2026-10-31 11:31:49 +02:00
kalarina 03ee32b8b0 Fix missing imports in Activity screen 2026-10-31 10:50:56 +02:00
kalarina 343cbfadb6 Improve Home, Activity and tablet layout
- Content keeps a readable width on tablets; Home and Activity show two
  columns on wide screens
- Home chart: bars per hour or per day, a working 24 h / 7 d switch,
  a message instead of an empty chart, and more height on tall screens
- Company dominance waits for 50 requests and shows whole percents
- Home offers to turn on HaGeZi Pro when no list is on, or blocking
  when it is off
- Tapping the server on Home opens the server list; the ON/OFF switch
  gives haptic feedback
2026-10-31 10:18:57 +02:00
kalarina 5ff10463a3 Release 1.1.1 2026-10-31 09:58:49 +02:00
kalarina 1ec3cf780a Use filled Material Symbols icons 2026-10-31 09:58:49 +02:00
kalarina 2057ce8e8d Sharper screenshots 2026-10-31 09:38:07 +02:00
kalarina 482d3b22a1 Update screenshots v1.1.0 2026-10-30 21:42:35 +02:00
kalarina 107f07cf55 Release 1.1.0 2026-10-30 20:08:37 +02:00
kalarina 1db29ee44a Redesign the app
New look based on the SparkleDNS concept: a dark theme, a floating
bottom panel with Home, Activity and Settings, and pages for the
blocklists, apps and About.

- Home: big ON/OFF switch, the current server, 24-hour stats and chart
- Activity: requests, blocked, average time and cache share for 24 hours
  or 7 days, company dominance, and the live log with search and filter
- Blocklists: HaGeZi Pro preset next to Pro++ and TIF, lists can be
  switched off without deleting them, automatic updates (daily or
  weekly, optionally Wi-Fi only) through JobScheduler
- Settings: server list, custom server, server test and per-app DNS
- Hourly numbers for the charts are kept on the device, without domains

The server list now ships with the app; it is no longer downloaded
from the repository.
2026-10-30 19:58:08 +02:00
kalarina 43f0d42d65 Release 1.0.10 v1.0.10 2026-10-25 16:47:56 +02:00
kalarina 2b0f842579 Remove the GitHub Actions workflows 2026-10-25 14:54:42 +02:00
kalarina 17ede339fa Show own blocked domains as lazy list rows
All own domains were composed at once when the Blocklist tab opened.
The rows keep the look of the card they were in.
2026-10-25 14:50:49 +02:00
kalarina ac643caf03 Download blocklists again only when they changed
Updates send the stored ETag / Last-Modified, and a 304 answer keeps the
list on disk. Before, every update fetched every list in full.
2026-10-25 14:49:14 +02:00
kalarina 0ceae2f557 Read tile settings off the main thread
Opening the quick settings panel could start a fresh process whose
first tile update read SharedPreferences and servers.txt on the main
thread.
2026-10-25 14:48:46 +02:00
kalarina df41b44302 Tell the user when no app can open a link
Privacy policy, donation, source code and license links silently did
nothing on devices without a browser.
2026-10-25 14:48:16 +02:00
kalarina 4619292174 Ignore repeated taps on Connect, Disconnect and Switch
A quick double tap could start the connection twice, open the VPN
dialog twice, or turn the VPN back on right after switching it off.
The buttons are disabled until the VPN state changes (at most 5 s).
2026-10-25 14:47:57 +02:00
kalarina cff974851a Render app icons at their on-screen size
Icons were always drawn at 96 px: blurry on screens where 40 dp is
larger, wasted memory where it is smaller. The cache is now limited to
10 MB instead of 256 entries.
2026-10-25 14:47:28 +02:00
kalarina d9080195ab Let R8 obfuscate release builds
Shrinks the dex further. Crash reports keep file names and line
numbers; the mapping file restores the names and is kept with the CI
artifacts.
2026-10-25 14:46:33 +02:00
kalarina 026c2c9493 Package only the app's own languages
Library translations for other languages made up a large part of
resources.arsc while the app shows English in those languages anyway.
2026-10-25 14:46:22 +02:00
kalarina 8907f4cf96 Benchmark: warm the emulator up first and run three rounds by default
Two identical APKs differed by 9% in median cold start without it.
2026-10-25 13:39:11 +02:00
kalarina 9aceaaa200 CI: report the size of the packaged baseline profile 2026-10-25 13:39:11 +02:00
kalarina 9e744b309e Benchmark: compile with the baseline profile only, find off-screen rows
The app is now compiled the way Macrobenchmark's Partial mode does it,
so runs compare baseline profiles instead of what the JIT learned in a
warm-up run. Tapping a row scrolls the list when the row is off screen.
2026-10-25 12:35:23 +02:00
kalarina 603e90dcca Mention unit tests and the benchmark in CONTRIBUTING 2026-10-25 12:30:38 +02:00
kalarina e7105b0245 Benchmark: measure memory kept in the background after the Apps tab 2026-10-25 12:29:41 +02:00
kalarina 25e359595b Free decoded app icons once the UI is hidden
The VPN service keeps the process alive in the background, and with it
up to 256 icon bitmaps from the Apps tab.
2026-10-25 12:29:31 +02:00
kalarina 9f9c79cf2b Keep server test results and collapsed app groups across rotation 2026-10-25 12:28:49 +02:00
kalarina 447a309f69 Refuse blocklists with more than 4 million domains
A wrong URL pointing at a huge file could otherwise run the app out of
memory while parsing it.
2026-10-25 12:28:15 +02:00
kalarina 8b975c77ce Show the last app list at once when the Apps tab opens again
The list is still reloaded in the background on every visit; it no
longer starts from the loading placeholder each time.
2026-10-25 12:28:15 +02:00
kalarina 04ef7adb44 Trim Compose work in lists and frequent recompositions
contentType for lazy list items, a set for the own-domain lookup per
Monitor row, the group chevron animated in the draw phase, the custom
URL check remembered and the number format reused.
2026-10-25 12:27:50 +02:00
kalarina f236136919 Log VPN setup and tunnel write errors instead of dropping them silently 2026-10-25 12:27:24 +02:00
kalarina a33a945477 Store launcher icon and logo as lossless WebP
Pixel-identical to the PNGs, 108 KB smaller.
2026-10-25 12:27:01 +02:00
kalarina 8502860512 Add workflow that records a baseline profile on an emulator 2026-10-25 12:26:33 +02:00
kalarina 50f069731c Add LeakCanary to debug builds 2026-10-25 12:25:23 +02:00
kalarina 37653792fd Enable StrictMode in debug builds 2026-10-25 12:25:23 +02:00
kalarina 2cb3439efd Fail lookups that waited too long in the worker queue
With a slow server all 16 workers can be busy for up to 8 s each, and
queries kept piling up long after the asking app had retried or given
up, delaying every newer one.
2026-10-25 12:25:11 +02:00
kalarina 8ac908e684 Drop pooled DoH connections when the default network changes
After a switch between Wi-Fi and mobile data, HTTP/2 lookups could keep
using a connection of the old network until they timed out.
2026-10-25 12:24:09 +02:00