Commit graph

2345 commits

Author SHA1 Message Date
Blake McAnally
58da532d32 Extract the generated protobufs into its own Swift package
This change modifies the process for generating and integrating the Meshtastic protobufs into the client application.

* The generated Swift code is now in a local SPM package `MeshtasticProtobufs`
* An Xcode Workspace file `Meshtastic.xcworkspace` was created to more easily manage the new build targets.
* The code generation script for the protos was modified to generate the Swift code into the new location.
* The README.md was updated to reflect these changes.

NOTE: After merging this PR, do not open the project file `Meshtastic.xcodeproj`. You must use the workspace `Meshtastic.xcworkspace`

Extracting out the generated protobuf code into its own library enables several opportunities for the project. This is just a first step, but with some more modularization, a standalone Apple Watch app or other targets starts to become a little bit more achievable to implement.

After extracting the protobufs into a Swift package, I validate these changes by building and running the Meshtastic app to an iPhone 15 Pro Max, and tried changing some settings on a local node. I then messaged back and forth using two local nodes connected to two different iOS devices.
2024-06-28 11:11:01 -05:00
Garth Vander Houwen
2bc48b1c60
Merge pull request #725 from meshtastic/update_callsign_length
Only allow 6 characters for call sign
2024-06-27 07:46:40 -07:00
Garth Vander Houwen
2795c4cf69 Only allow 6 characters for call sign 2024-06-27 07:40:31 -07:00
Garth Vander Houwen
28e10b0b4c
Merge pull request #723 from meshtastic/update_coredata_backup
Update coredata backup
2024-06-26 19:20:30 -07:00
Garth Vander Houwen
512f6b8c9e assorted backup fixes 2024-06-26 15:12:24 -07:00
Garth Vander Houwen
fd90d26acd use replace instead of migrate 2024-06-26 09:31:37 -07:00
Garth Vander Houwen
72cd6a8d01 Default app log fiters to not selected 2024-06-25 22:34:58 -07:00
Garth Vander Houwen
9d964f1614 Backup and restore database 2024-06-25 21:44:11 -07:00
Garth Vander Houwen
4b42bc257d Connect view cleanup 2024-06-25 18:55:43 -07:00
Garth Vander Houwen
4992001ac9
Merge pull request #721 from meshtastic/debug_logs_multiselect_filters
Move sheet outside refreshable
2024-06-25 17:56:07 -07:00
Garth Vander Houwen
91dfe0a4e7 Move sheet outside refreshable 2024-06-25 17:55:32 -07:00
Garth Vander Houwen
9bb0a139d4
Merge pull request #720 from meshtastic/debug_logs_multiselect_filters
Multi select app log filters
2024-06-25 17:38:45 -07:00
Garth Vander Houwen
a18161a871 Multi select app log filters 2024-06-25 17:36:43 -07:00
Garth Vander Houwen
6ef831035f
Merge pull request #719 from meshtastic/Logging_Cleanup
Logging updates
2024-06-25 08:29:58 -07:00
Garth Vander Houwen
7cd1e897a7 Logging updates 2024-06-25 08:29:26 -07:00
Garth Vander Houwen
0e651a02ce
Merge pull request #717 from meshtastic/Logging_Cleanup
Logging and linting
2024-06-24 14:55:21 -07:00
Garth Vander Houwen
df87fb538d log updates 2024-06-24 07:24:24 -07:00
Garth Vander Houwen
fb7ba12fc0 More logs cleanup 2024-06-24 06:31:45 -07:00
Garth Vander Houwen
2b0cb11ee5 Better emoji for dark mode 2024-06-23 19:28:12 -07:00
Garth Vander Houwen
5b092710e5 Emoji 2024-06-23 19:17:55 -07:00
Garth Vander Houwen
57cc118ce3 Try and use old version 2024-06-23 18:43:43 -07:00
Garth Vander Houwen
a4546247a9 Clean up logs with privacy 2024-06-23 18:25:22 -07:00
Garth Vander Houwen
f3ab6a3968 Comment out broken load tile method 2024-06-23 17:23:57 -07:00
Garth Vander Houwen
fc97247b8c Logging and linting 2024-06-23 16:11:02 -07:00
Garth Vander Houwen
b131714c5f
Merge pull request #716 from meshtastic/coredata_backup
Backup database functionality
2024-06-23 14:46:42 -07:00
Garth Vander Houwen
d6f5c77b1a position config 2024-06-23 14:40:28 -07:00
Garth Vander Houwen
921c648a6b Update log privacy 2024-06-23 14:30:55 -07:00
Garth Vander Houwen
f132589e9c Log updates 2024-06-23 13:08:15 -07:00
Garth Vander Houwen
12e090059d Backup database functionality 2024-06-23 13:00:20 -07:00
Garth Vander Houwen
bf7d57a1eb
Merge pull request #715 from meshtastic/Logging_View
OS Log Logging view
2024-06-23 12:33:34 -07:00
Garth Vander Houwen
b73b3864ea Delete admin message list 2024-06-23 12:25:08 -07:00
Garth Vander Houwen
1ac5bc9697 Update logs 2024-06-23 08:40:38 -07:00
Garth Vander Houwen
d456a7a6e6 translation strings for log headers, add device log setting to save 2024-06-23 08:23:05 -07:00
Garth Vander Houwen
f7a9345b4e Update client proxy logging 2024-06-23 08:06:59 -07:00
Garth Vander Houwen
6930d87275 Add device logging config, update protobufs 2024-06-23 07:36:03 -07:00
Garth Vander Houwen
26e785926f OS Log Viewer, device serial log over BLE 2024-06-23 07:09:14 -07:00
Garth Vander Houwen
fec8d546bd Bump version 2024-06-23 06:31:40 -07:00
Garth Vander Houwen
0cbcd9e7a3 try and revert 2024-06-23 06:20:22 -07:00
Garth Vander Houwen
7ec28f4f74 revert 2024-06-23 06:09:51 -07:00
Garth Vander Houwen
a4c5890147 Revert "Log cleanup"
This reverts commit a4e26de6e5.

revert log changes
2024-06-23 06:05:25 -07:00
Garth Vander Houwen
a4e26de6e5 Log cleanup 2024-06-07 23:09:36 -07:00
Garth Vander Houwen
9c8dadddef
Merge pull request #662 from meshtastic/2.3.11_Working_Changes
2.3.11 Working Changes
2024-06-07 10:30:24 -07:00
Garth Vander Houwen
6e3314aeda Fix widget version 2024-06-07 08:29:10 -07:00
Ben Meadors
c9f1bf172e
Merge pull request #675 from 72A12F4E/fix-coredata-crash
Fix CoreData crash
2024-06-07 08:31:34 -05:00
Blake McAnally
644305bc5e Pass context to CoreData entity initializer 2024-06-07 08:22:47 -05:00
Garth Vander Houwen
91817a72e3 Finsh up the log fonts 2024-06-06 23:40:18 -07:00
Garth Vander Houwen
4d375a1e43 Merge remote-tracking branch 'refs/remotes/origin/2.3.11_Working_Changes' 2024-06-06 22:51:21 -07:00
Garth Vander Houwen
9ca99c7ed3 Add admin messages category
Remove admin message log
2024-06-06 22:51:16 -07:00
Garth Vander Houwen
3b153f5009
Merge pull request #674 from 72A12F4E/extracting-core-data-boilerplate-part-1
Extracting More CoreData Boilerplate Part 1
2024-06-06 22:34:26 -07:00
Blake McAnally
893fdcd11f Factor out more CoreData entity creation into convenience initializers 2024-06-06 23:04:18 -05:00