Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 8 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[submodule "Loop"]
path = Loop
url = https://github.com/LoopKit/Loop.git
url = https://github.com/bjorninge-no-personal/LoopPebble.git
branch = smartwatch-manager-review
[submodule "LoopKit"]
path = LoopKit
url = https://github.com/LoopKit/LoopKit.git
url = https://github.com/dabear/LoopKit.git
branch = smartwatch-manager-review
[submodule "CGMBLEKit"]
path = CGMBLEKit
url = https://github.com/LoopKit/CGMBLEKit.git
Expand Down Expand Up @@ -73,3 +75,7 @@
[submodule "RoundWhiteDiscKit"]
path = RoundWhiteDiscKit
url = https://github.com/airedev326/RoundWhiteDiscKit.git
[submodule "LupedSmartwatchKit"]
path = LupedSmartwatchKit
url = https://github.com/dabear/LupedSmartwatchKit.git
branch = smartwatch-manager-review
2 changes: 1 addition & 1 deletion Loop
Submodule Loop updated 72 files
+8 −0 Loop.xcconfig
+165 −56 Loop.xcodeproj/project.pbxproj
+12 −0 Loop/Extensions/BasalRelativeDose.swift
+3 −0 Loop/Info.plist
+47 −2,474 Loop/Localizable.xcstrings
+27 −1 Loop/Managers/Alerts/AlertManager.swift
+183 −58 Loop/Managers/DeviceDataManager.swift
+1 −1 Loop/Managers/ExtensionDataManager.swift
+1 −0 Loop/Managers/Live Activity/ChartAxisGenerator.swift
+50 −1 Loop/Managers/LoopAppManager.swift
+1 −0 Loop/Managers/LoopDataManager+CarbAbsorption.swift
+69 −762 Loop/Managers/LoopDataManager.swift
+1 −0 Loop/Managers/RemoteDataServicesManager.swift
+0 −13 Loop/Managers/SettingsManager.swift
+20 −0 Loop/Managers/SmartwatchManager.swift
+152 −0 Loop/Managers/SmartwatchManagerHost+AlertForwarder.swift
+211 −0 Loop/Managers/SmartwatchManagerHost+RemoteActions.swift
+327 −0 Loop/Managers/SmartwatchManagerHost.swift
+90 −0 Loop/Managers/SmartwatchPermissions.swift
+15 −30 Loop/Managers/WatchDataManager.swift
+0 −36 Loop/Models/BolusDosingDecision.swift
+2 −0 Loop/Models/InsulinDeliveryHistory.swift
+0 −77 Loop/Models/LoopConstants.swift
+0 −63 Loop/Models/StoredDataAlgorithmInput.swift
+44 −1 Loop/Plugins/PluginManager.swift
+42 −2 Loop/View Controllers/StatusTableViewController.swift
+1 −0 Loop/View Models/CurrentSetupViewModel.swift
+2 −0 Loop/View Models/FavoriteFoodAddEditViewModel.swift
+2 −0 Loop/View Models/FavoriteFoodInsightsViewModel.swift
+12 −0 Loop/View Models/SettingsViewModel.swift
+2 −0 Loop/View Models/StatisticsViewModel.swift
+1 −0 Loop/Views/BolusEntryView.swift
+1 −0 Loop/Views/Insulin Delivery Log/InsulinDeliveryLogViewModel.swift
+3 −1 Loop/Views/LoopStatusModalView.swift
+24 −0 Loop/Views/PluginPickerView.swift
+1 −0 Loop/Views/Presets/PresetsHistoryView.swift
+1 −0 Loop/Views/Presets/PresetsPerformanceHistoryViewModel.swift
+104 −0 Loop/Views/SettingsView.swift
+1 −0 Loop/Views/Statistics/StatisticsView.swift
+5 −5 LoopCore/Extensions/DosingDecisionStore.swift
+1 −1 LoopCore/Extensions/PumpManagerError.swift
+1 −1 LoopCore/Extensions/TempBasalRecommendation.swift
+2,793 −238 LoopCore/Localizable.xcstrings
+540 −0 LoopCore/Managers/LoopAlgorithmSupport.swift
+531 −0 LoopCore/Managers/LoopCycle.swift
+22 −0 LoopCore/Managers/SettingsProvider.swift
+2 −2 LoopCore/Managers/Store Protocols/CarbStoreProtocol.swift
+1 −1 LoopCore/Managers/Store Protocols/DoseStoreProtocol.swift
+9 −9 LoopCore/Managers/Store Protocols/DosingDecisionStoreProtocol.swift
+1 −1 LoopCore/Managers/Store Protocols/GlucoseStoreProtocol.swift
+28 −38 LoopCore/Models/AlgorithmBridge.swift
+60 −0 LoopCore/Models/BolusDosingDecision.swift
+7 −7 LoopCore/Models/CarbEntryChange.swift
+77 −0 LoopCore/Models/LoopConstants.swift
+35 −35 LoopCore/Models/LoopError.swift
+5 −5 LoopCore/Models/LoopWarning.swift
+18 −9 LoopCore/Models/SimpleInsulinDose.swift
+63 −0 LoopCore/Models/StoredDataAlgorithmInput.swift
+1 −1 LoopTests/Managers/MealDetectionManagerTests.swift
+77 −0 LoopTests/Managers/SmartwatchManagerHostTests.swift
+31 −0 LoopTests/Managers/SmartwatchPermissionsTests.swift
+1 −1 LoopTests/Mock Stores/MockCarbStore.swift
+1 −0 LoopTests/Mock Stores/MockDoseStore.swift
+1 −0 LoopTests/Mock Stores/MockDosingDecisionStore.swift
+1 −0 LoopTests/Mock Stores/MockGlucoseStore.swift
+1 −0 LoopTests/Mocks/LoopControlMock.swift
+1 −0 LoopTests/Mocks/MockDeliveryDelegate.swift
+1 −0 LoopTests/Mocks/MockSettingsProvider.swift
+1 −0 LoopTests/Models/InsulinDeliveryHistoryTests.swift
+1 −0 LoopTests/Models/SetupComparisonTests.swift
+1 −1 LoopTests/ViewModels/BolusEntryViewModelTests.swift
+1 −1 LoopTests/ViewModels/ManualEntryDoseViewModelTests.swift
3 changes: 3 additions & 0 deletions LoopConfigOverride.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
// Set this to how many days you want to keep data locally on the phone
//LOOP_LOCAL_CACHE_DURATION_DAYS = 90

// Uncomment to build without the bluetooth-peripheral background mode that watch plugins need
//INFOPLIST_PREPROCESSOR_DEFINITIONS =

// Features
SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) EXPERIMENTAL_FEATURES_ENABLED SIMULATORS_ENABLED ALLOW_ALGORITHM_EXPERIMENTS DEBUG_FEATURES_ENABLED

Expand Down
3 changes: 3 additions & 0 deletions LoopWorkspace.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion LoopWorkspace.xcworkspace/xcshareddata/swiftpm/Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,20 @@
ReferencedContainer = "container:G7SensorKit/G7SensorKit.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "9957C3874D28E7BE1F83FBD7"
BuildableName = "LupedSmartwatchPlugin.loopplugin"
BlueprintName = "LupedSmartwatchPlugin"
ReferencedContainer = "container:LupedSmartwatchKit/LupedSmartwatchKit.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
Expand Down
1 change: 1 addition & 0 deletions LupedSmartwatchKit
Submodule LupedSmartwatchKit added at f84aa6