Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
82f4ae4
WIP Add network position provider
Withalion Jan 26, 2026
9f2ca1d
Fix UDP issues
Withalion Jan 30, 2026
f6d04a4
Fix external provider recreation bug
Withalion Jan 30, 2026
b80a24d
Fix another restart provider bug
Withalion Jan 30, 2026
3f0527a
Add Alias field for network provider
Withalion Feb 16, 2026
1187224
Refactor NmeaParser
Withalion Feb 17, 2026
2aa618f
Fix breaking bluetooth include
Withalion Feb 17, 2026
b96b8d0
Update tests
Withalion Feb 17, 2026
918343d
Fix merge leftovers
Withalion Feb 17, 2026
6f02e44
Remove debug logs
Withalion Feb 17, 2026
d46c036
Fix android merge error
Withalion Feb 18, 2026
95460d7
Add position processing for network provider
Withalion Feb 18, 2026
4edbba4
Add processing tests
Withalion Feb 18, 2026
f2d69fd
Fix formatting
Withalion Feb 18, 2026
c4e1fa3
Fix provider removal crash + minor cleanup
Withalion Mar 11, 2026
7c7adbb
Added bluetooth and network provider icons
gabriel-bolbotina Mar 12, 2026
5fa2749
Fixed rebase conflicts
gabriel-bolbotina Mar 12, 2026
5be8d9e
Modified message
gabriel-bolbotina Mar 16, 2026
8642972
Updated text descriptions
gabriel-bolbotina Mar 26, 2026
d280da2
Modified the external device description in position provider drawer
gabriel-bolbotina Apr 2, 2026
bc3698c
Fix minor UI things
Withalion Apr 28, 2026
662b993
Fix cpp check
Withalion Apr 28, 2026
4919593
Add unique default names for network position providers
Withalion Apr 28, 2026
e20f9ec
Fix position for local geoids
Withalion Apr 29, 2026
47c420d
Fix crash on app exit
Withalion Apr 29, 2026
0aee10a
Fix bug where we changed BT providers to IP on restart
Withalion Apr 29, 2026
9640303
Improve code
Withalion Apr 29, 2026
70a786c
Fixed first round of review findings
gabriel-bolbotina May 5, 2026
87c6af4
Refactored Position provider page
gabriel-bolbotina May 6, 2026
76acd7e
Simplified QML according to the review findings
gabriel-bolbotina May 8, 2026
d4a21e4
Fix minor stuff in MMIconCheckBoxHorizontal
Withalion Jun 3, 2026
c4e9c58
Fix minor code issue in MMIconCheckBoxHorizontal
Withalion Jun 3, 2026
3a4a78a
Refactor MMBluetoothProviderDrawer
Withalion Jun 3, 2026
5b1ebbc
Refactor MMExternalProviderConnectionDrawer
Withalion Jun 4, 2026
fb0f6aa
Fix minor stuff in MMNetworkProviderDrawer
Withalion Jun 4, 2026
03cbcf6
Refactor PositionProvidersModel
Withalion Jun 4, 2026
c019ef5
Fix formatting
Withalion Jun 4, 2026
0041685
Fix binding loop in MMProviderTypeDrawer
Withalion Jun 4, 2026
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
5 changes: 5 additions & 0 deletions app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ set(MM_SRCS
ios/iosutils.cpp
position/providers/abstractpositionprovider.cpp
position/providers/internalpositionprovider.cpp
position/providers/networkpositionprovider.cpp
position/providers/positionprovidersmodel.cpp
position/providers/simulatedpositionprovider.cpp
position/providers/nmeaparser.cpp
position/tracking/abstracttrackingbackend.cpp
position/tracking/internaltrackingbackend.cpp
position/tracking/positiontrackinghighlight.cpp
Expand Down Expand Up @@ -126,8 +128,10 @@ set(MM_HDRS
ios/iosutils.h
position/providers/abstractpositionprovider.h
position/providers/internalpositionprovider.h
position/providers/networkpositionprovider.h
position/providers/positionprovidersmodel.h
position/providers/simulatedpositionprovider.h
position/providers/nmeaparser.h
position/tracking/abstracttrackingbackend.h
position/tracking/internaltrackingbackend.h
position/tracking/positiontrackinghighlight.h
Expand Down Expand Up @@ -332,6 +336,7 @@ target_include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/layer
${CMAKE_CURRENT_SOURCE_DIR}/maptools
${CMAKE_CURRENT_SOURCE_DIR}/position
${CMAKE_CURRENT_SOURCE_DIR}/position/providers
)

qt_policy(SET QTP0002 NEW)
Expand Down
8 changes: 5 additions & 3 deletions app/appsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ QVariantList AppSettings::savedPositionProviders() const
QStringList provider;
provider << settings.value( "providerName" ).toString();
provider << settings.value( "providerAddress" ).toString();
provider << settings.value( "providerType" ).toString();
providers.push_back( provider );
}

Expand All @@ -238,15 +239,16 @@ void AppSettings::savePositionProviders( const QVariantList &providers )
{
QVariantList provider = providers[i].toList();

if ( provider.length() < 2 )
if ( provider.length() < 3 )
{
CoreUtils::log( QStringLiteral( "AppSettings" ), QStringLiteral( "Tried to save provider without sufficient data" ) );
continue;
}
settings.setArrayIndex( i );

settings.setValue( "providerName", providers[i].toList()[0] );
settings.setValue( "providerAddress", providers[i].toList()[1] );
settings.setValue( "providerName", provider[0] );
settings.setValue( "providerAddress", provider[1] );
settings.setValue( "providerType", provider[2] );
}
settings.endArray();
}
Expand Down
6 changes: 3 additions & 3 deletions app/bluetoothdiscoverymodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ QHash<int, QByteArray> BluetoothDiscoveryModel::roleNames() const
QHash<int, QByteArray> roles;

#ifdef HAVE_BLUETOOTH
roles.insert( DataRoles::DeviceAddress, "DeviceAddress" );
roles.insert( DataRoles::DeviceName, "DeviceName" );
roles.insert( DataRoles::SignalStrength, "SignalStrength" );
roles.insert( DataRoles::DeviceAddress, "deviceAddress" );
roles.insert( DataRoles::DeviceName, "deviceName" );
roles.insert( DataRoles::SignalStrength, "signalStrength" );
#endif

return roles;
Expand Down
3 changes: 3 additions & 0 deletions app/icons/Bluetooth.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions app/icons/Network.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions app/icons/icons.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<file>ArrowLinkRight.svg</file>
<file>ArrowUp.svg</file>
<file>Back.svg</file>
<file>Bluetooth.svg</file>
<file>Briefcase.svg</file>
<file>Calendar.svg</file>
<file>Checkmark.svg</file>
Expand Down Expand Up @@ -58,6 +59,7 @@
<file>Mouth.svg</file>
<file>NaturalResources.svg</file>
<file>Next.svg</file>
<file>Network.svg</file>
<file>Other.svg</file>
<file>Others.svg</file>
<file>Personal.svg</file>
Expand Down
Loading
Loading