From 9958c72d5d8f32693ab2318f0f96e100369a2d85 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Sun, 11 Dec 2022 15:59:37 -0800 Subject: [PATCH 1/4] fix ffi DeactivatePeerEngine call --- lib/cwtch/ffi.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cwtch/ffi.dart b/lib/cwtch/ffi.dart index ae6867fb..f4a198d5 100644 --- a/lib/cwtch/ffi.dart +++ b/lib/cwtch/ffi.dart @@ -312,7 +312,7 @@ class CwtchFfi implements Cwtch { // ignore: non_constant_identifier_names void DeactivatePeerEngine(String profile) { - var deactivatePeerEngineC = library.lookup>("c_ActivatePeerEngine"); + var deactivatePeerEngineC = library.lookup>("c_DeactivatePeerEngine"); final DeactivatePeerEngine = deactivatePeerEngineC.asFunction(); final ut8profile = profile.toNativeUtf8(); DeactivatePeerEngine(ut8profile, ut8profile.length); From 4a11968567fa2fbdf79bbb20c4749ed1eede30ea Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 13 Dec 2022 09:47:37 -0800 Subject: [PATCH 2/4] update flutter-desktop linux container to use newer build with older glibc for compat --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 205c0142..b2995456 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,7 +47,7 @@ steps: # #Todo: fix all the lint errors and add `-set_exit_status` above to enforce linting - name: build-linux - image: openpriv/flutter-desktop:linux-fstable-3.3.8 + image: openpriv/flutter-desktop:linux-fstable-3.3.9 volumes: - name: deps path: /root/.pub-cache From 448900b48e007c72c5d293e17310bbed917186a4 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Wed, 14 Dec 2022 16:14:58 -0800 Subject: [PATCH 3/4] no isable profiles till it works --- lib/views/addeditprofileview.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/views/addeditprofileview.dart b/lib/views/addeditprofileview.dart index 4214ffa1..7a48cac6 100644 --- a/lib/views/addeditprofileview.dart +++ b/lib/views/addeditprofileview.dart @@ -172,7 +172,7 @@ class _AddEditProfileViewState extends State { // Enabled Visibility( - visible: Provider.of(context).onion.isNotEmpty, + visible: Provider.of(context).onion.isNotEmpty && !Provider.of(context).enabled, child: SwitchListTile( title: Text(AppLocalizations.of(context)!.profileEnabled, style: TextStyle(color: Provider.of(context).current().mainTextColor)), subtitle: Text(AppLocalizations.of(context)!.profileEnabledDescription), From f7da7b4bb743dfdf50e87ee427f1363333aa9dd7 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Wed, 14 Dec 2022 16:15:30 -0800 Subject: [PATCH 4/4] bump pubspec for 1.10 release --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index f026b451..cc2a8d28 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.9.0+35 +version: 1.10.0+36 environment: sdk: ">=2.15.0 <3.0.0"