Commit Graph

676 Commits

Author SHA1 Message Date
James Rich aed1c42286 chore(map): bump MapLibre Compose to 0.13.0, light up desktop base map, drop Google Maps leftovers
Rebased onto main and dusted off the MapLibre Compose Multiplatform branch.

- Bump maplibre-compose 0.12.1 -> 0.13.0 and migrate the redesigned location API
  (BearingUpdate.TRACK_LOCATION -> TRACK_AUTOMATIC; LocationPuck locationState -> location).
- desktopApp: add a host-detecting maplibre-native-bindings-jni runtime backend so the
  desktop base map renders (Metal on macOS arm64, OpenGL on Linux/Windows amd64). Without it
  Gradle links no native renderer and the map canvas is black.
- Gate Compose map overlays off on the JVM target via a mapOverlaysSupported expect/actual flag
  (true Android/iOS, false desktop). maplibre-compose 0.13.0 stubs the desktop layers/sources
  API with TODO(), so composing markers/waypoints/tracks/traceroute threw NotImplementedError
  and tore down the window. Desktop now renders base-map-only; overlays auto-enable when upstream
  implements desktop layers.
- Remove orphaned Google Maps leftovers the rebase carried over from main's #5702/#5709 marker
  work (MarkerBitmapRenderer.kt + play-services-maps); this branch replaces Google Maps entirely.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 13:30:52 -05:00
James Rich 3d65da72e7 feat(map): replace Google Maps + OSMDroid with unified MapLibre Compose Multiplatform
Replace the dual flavor-specific map implementations (Google Maps for google,
OSMDroid for fdroid) with a single MapLibre Compose Multiplatform implementation
in feature:map/commonMain, eliminating ~8,500 lines of duplicated code.

Key changes:
- Add maplibre-compose v0.12.1 dependency (KMP: Android, Desktop, iOS)
- Create unified MapViewModel with camera persistence via MapCameraPrefs
- Create MapScreen, MaplibreMapContent, NodeTrackLayers, TracerouteLayers,
  InlineMap, NodeTrackMap, TracerouteMap, NodeMapScreen in commonMain
- Create MapStyle enum with predefined OpenFreeMap tile styles
- Create GeoJsonConverters for Node/Waypoint/Position to GeoJSON
- Move TracerouteMapScreen from feature:node/androidMain to commonMain
- Wire navigation to use direct imports instead of CompositionLocal providers
- Delete 61 flavor-specific map files (google + fdroid source sets)
- Remove 8 CompositionLocal map providers from core:ui
- Remove SharedMapViewModel (replaced by new MapViewModel)
- Remove dead google-maps and osmdroid entries from version catalog
- Add MapViewModelTest with 10 test cases in commonTest

Baseline verified: spotlessCheck, detekt, assembleGoogleDebug, allTests all pass.
2026-06-02 12:09:06 -05:00
renovate[bot] d264b40862 chore(deps): update vico to v3.2.1 (#5696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-31 17:11:39 -07:00
renovate[bot] 38ec47e894 chore(deps): update vico to v3.2.0 (#5689) 2026-05-31 12:18:58 -05:00
renovate[bot] 93faeabbc6 chore(deps): update vico to v3.2.0-next.6 (#5683) 2026-05-31 08:06:50 -05:00
Ben Meadors 4888592e07 fix(takserver): emit *:-1:stcp contact endpoint so directed TAK-Talk/GeoChat routes over the mesh (#5661)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 15:36:50 -05:00
renovate[bot] da2938f2eb chore(deps): update org.jetbrains.kotlinx:atomicfu to v0.33.0 (#5663) 2026-05-29 15:36:23 -05:00
Ben Meadors f92f5d5769 Revert "fix(takserver): emit *:-1:stcp contact endpoint so directed TAK-Talk/GeoChat routes over the mesh; SDK v0.5.1"
This commit landed on main outside the PR process and pins takpacket-sdk 0.5.1, which is not yet published to Maven Central — breaking the build. Reverting to restore a green main; the fix is being re-submitted as a pull request that will merge once 0.5.1 is available on Central.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 13:35:47 -05:00
Ben Meadors 0047e4d152 fix(takserver): emit *:-1:stcp contact endpoint so directed TAK-Talk/GeoChat routes over the mesh; SDK v0.5.1
The reconstructed contact endpoint (0.0.0.0:4242:tcp) made ATAK treat mesh peers as directly reachable, so directed messages (TAK-Talk <marti>, GeoChat to a callsign) were delivered to a dead address instead of the Meshtastic server stream and never hit the mesh — broadcast PLI was unaffected. Use the TAK 'reply via this server' endpoint *:-1:stcp (DEFAULT_TAK_ENDPOINT) and bump TAKPacket-SDK to 0.5.1, which fixes the same default in the SDK's CotXmlBuilder.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 12:44:34 -05:00
Ben Meadors 8bdb0916b4 feat(takserver): Upgrade TAKPacket-SDK to v0.5.0 and delegate sanitization to SDK (#5658)
Co-authored-by: James Rich <james.a.rich@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-29 16:30:26 +00:00
James Rich 00f3b38f88 fix(ci): cache JetBrains JDK and simplify daemon JVM config (#5650)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-28 15:53:25 -05:00
renovate[bot] 2e7100ca8e chore(deps): update com.google.firebase:firebase-bom to v34.14.0 (#5647) 2026-05-28 15:04:31 -05:00
renovate[bot] bfece155fb chore(deps): update takpacket.sdk to v0.3.3 (#5642) 2026-05-28 13:09:04 -05:00
renovate[bot] de3d65a10a chore(deps): update takpacket.sdk to v0.3.2 (#5632)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-28 04:19:15 -07:00
renovate[bot] 8c9c942949 chore(deps): update takpacket.sdk to v0.3.1 (#5626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-28 00:34:17 +00:00
James Rich b9315d4b3f feat: adopt gradle-flatpak-sources plugin for offline Flatpak builds (#5619)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 00:33:35 +00:00
James Rich 29345709e9 Upgrade takpacket-sdk to version 0.3.0 (#5621)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2026-05-27 12:24:24 -05:00
renovate[bot] c29f7ce291 chore(deps): update spotless to v8.6.0 (#5618) 2026-05-27 11:57:22 -05:00
renovate[bot] dad5e41c7a chore(deps): update devtools.ksp to v2.3.9 (#5611) 2026-05-26 15:50:34 -05:00
James Rich a4522f9f4d fix(flatpak): generate complete offline-buildable manifest for desktopApp (#5610)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 20:33:23 +00:00
renovate[bot] 86e329b752 chore(deps): update takpacket.sdk to v0.2.6 (#5609) 2026-05-26 13:13:57 -05:00
renovate[bot] 14764a70e0 chore(deps): update com.gradle.develocity to v4.4.2 (#5601) 2026-05-26 07:01:31 -05:00
renovate[bot] 05fb69c179 chore(deps): update aboutlibraries to v14.2.1 (#5590) 2026-05-24 10:25:43 -05:00
renovate[bot] 0bc6b76aa9 chore(deps): update testretry to v1.6.5 (#5581)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-22 19:07:07 -07:00
renovate[bot] 9daf427082 chore(deps): update compose.screenshot to v0.0.1-alpha15 (#5565) 2026-05-21 10:25:46 -05:00
James Rich 91ad5dbb81 fix(flatpak): resolve unique snapshot timestamp URLs from local cached maven-metadata (#5542) 2026-05-20 14:11:50 -05:00
James Rich 0fccf54462 fix(flatpak): route JitPack com.github group to jitpack.io primaryUrl (#5541) 2026-05-20 12:47:33 -05:00
James Rich 32df44fbaa feat(flatpak): reconstruct standard maven filenames from local Gradle cache (#5538) 2026-05-20 12:19:56 -05:00
James Rich 8113167833 build(flatpak): overhaul offline source generation with native cache scanner (#5533) 2026-05-20 09:11:03 -05:00
James Rich 99b5688b00 build(flatpak): overhaul and automate flatpak offline manifest generation (#5529) 2026-05-20 07:12:03 -05:00
renovate[bot] 8de0a1f167 chore(deps): update koin.plugin to v1.0.0 (#5524) 2026-05-20 04:47:33 -05:00
James Rich 5c3b22584e chore(deps): migrate takpacket-sdk to Maven Central coordinates (#5512)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-19 17:12:02 -05:00
renovate[bot] 9260033e04 chore(deps): update plugin flatpak-gradle-generator to v1.8.0 (#5506)
thanks @vidplace7 !
2026-05-19 14:45:06 -05:00
renovate[bot] 59499e8272 chore(deps): update room to v3.0.0-alpha05 (#5498) 2026-05-19 14:11:58 -05:00
renovate[bot] 2b76212217 chore(deps): update org.junit.platform:junit-platform-launcher to v6.1.0 (#5502) 2026-05-19 14:11:42 -05:00
renovate[bot] ae127a1e15 chore(deps): update org.junit.vintage:junit-vintage-engine to v6.1.0 (#5503) 2026-05-19 14:08:59 -05:00
renovate[bot] 619897de85 chore(deps): update compose-multiplatform to v1.11.2 (#5497) 2026-05-19 13:01:05 -05:00
renovate[bot] 3bfaa466af chore(deps): update compose-multiplatform to v1.3.0-beta01 (#5490) 2026-05-19 10:06:57 -05:00
renovate[bot] 4eb7ed8fe0 chore(deps): update io.nlopez.compose.rules:detekt to v0.5.9 (#5485) 2026-05-19 06:19:51 -05:00
James Rich fc0df1a79a feat(docs): In-app documentation browser with Jekyll site and Docusaurus sync (#5445)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-19 04:00:22 +00:00
renovate[bot] f6587a1236 chore(deps): update markdownrenderer to v0.41.0 (#5471) 2026-05-18 10:19:16 -05:00
renovate[bot] f0e12695bb chore(deps): update wire to v6.4.0 (#5466) 2026-05-18 05:46:50 -05:00
renovate[bot] c91219d8b0 chore(deps): update spotless to v8.5.1 (#5468) 2026-05-18 05:03:39 -05:00
renovate[bot] 4bacff81c5 chore(deps): update vico to v3.2.0-next.5 (#5470) 2026-05-18 05:03:09 -05:00
renovate[bot] cfa9206de9 chore(deps): update spotless to v8.5.0 (#5458) 2026-05-14 16:42:04 -05:00
renovate[bot] 427471c51e chore(deps): update takpacket.sdk to v0.2.3 (#5464) 2026-05-14 16:39:16 -05:00
James Rich 6edac97d5f fix: TAKPacket-SDK proto ownership and desktop/flatpak CI fixes (#5459)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-14 16:33:05 -05:00
renovate[bot] 63e8f15872 chore(deps): update ktor to v3.5.0 (#5450) 2026-05-14 12:17:37 -05:00
renovate[bot] a71ac210f7 chore(deps): update dd.sdk.android to v3.10.0 (#5451) 2026-05-14 08:06:32 -05:00
renovate[bot] 8d61d22e93 chore(deps): update com.juul.kable:kable-core to v0.43.0 (#5449) 2026-05-14 06:08:40 -05:00