Merge branch 'develop'

This commit is contained in:
Thibault Deckers 2022-07-26 00:21:31 +02:00
commit b8996b6668
13 changed files with 35 additions and 18 deletions

View file

@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
## <a id="unreleased"></a>[Unreleased] ## <a id="unreleased"></a>[Unreleased]
## <a id="v1.6.10"></a>[v1.6.10] - 2022-07-24 ## <a id="v1.6.11"></a>[v1.6.11] - 2022-07-26
### Added ### Added
@ -23,6 +23,8 @@ All notable changes to this project will be documented in this file.
- analysis service stuck when storage has ambiguous directories - analysis service stuck when storage has ambiguous directories
## <a id="v1.6.10"></a>[v1.6.10] - 2022-07-24 [YANKED]
## <a id="v1.6.9"></a>[v1.6.9] - 2022-06-18 ## <a id="v1.6.9"></a>[v1.6.9] - 2022-06-18
### Added ### Added

View file

@ -0,0 +1,5 @@
In v1.6.11:
- add the photo frame widget to your home
- use your photos as screen saver
- search photos taken "on this day"
Full changelog available on GitHub

View file

@ -4,6 +4,7 @@ import 'package:aves/widget_common.dart';
const _flavor = AppFlavor.huawei; const _flavor = AppFlavor.huawei;
@pragma('vm:entry-point')
void main() => mainCommon(_flavor); void main() => mainCommon(_flavor);
@pragma('vm:entry-point') @pragma('vm:entry-point')

View file

@ -4,6 +4,7 @@ import 'package:aves/widget_common.dart';
const _flavor = AppFlavor.izzy; const _flavor = AppFlavor.izzy;
@pragma('vm:entry-point')
void main() => mainCommon(_flavor); void main() => mainCommon(_flavor);
@pragma('vm:entry-point') @pragma('vm:entry-point')

View file

@ -4,6 +4,7 @@ import 'package:aves/widget_common.dart';
const _flavor = AppFlavor.play; const _flavor = AppFlavor.play;
@pragma('vm:entry-point')
void main() => mainCommon(_flavor); void main() => mainCommon(_flavor);
@pragma('vm:entry-point') @pragma('vm:entry-point')

View file

@ -19,6 +19,7 @@ class AnalysisService {
static Future<void> registerCallback() async { static Future<void> registerCallback() async {
try { try {
await _platform.invokeMethod('registerCallback', <String, dynamic>{ await _platform.invokeMethod('registerCallback', <String, dynamic>{
// callback needs to be annotated with `@pragma('vm:entry-point')` to work in release mode
'callbackHandle': PluginUtilities.getCallbackHandle(_init)?.toRawHandle(), 'callbackHandle': PluginUtilities.getCallbackHandle(_init)?.toRawHandle(),
}); });
} on PlatformException catch (e, stack) { } on PlatformException catch (e, stack) {
@ -40,6 +41,7 @@ class AnalysisService {
const _channel = MethodChannel('deckers.thibault/aves/analysis_service_background'); const _channel = MethodChannel('deckers.thibault/aves/analysis_service_background');
@pragma('vm:entry-point')
Future<void> _init() async { Future<void> _init() async {
WidgetsFlutterBinding.ensureInitialized(); WidgetsFlutterBinding.ensureInitialized();
initPlatformServices(); initPlatformServices();

View file

@ -12,6 +12,7 @@ class GlobalSearch {
static Future<void> registerCallback() async { static Future<void> registerCallback() async {
try { try {
await _platform.invokeMethod('registerCallback', <String, dynamic>{ await _platform.invokeMethod('registerCallback', <String, dynamic>{
// callback needs to be annotated with `@pragma('vm:entry-point')` to work in release mode
'callbackHandle': PluginUtilities.getCallbackHandle(_init)?.toRawHandle(), 'callbackHandle': PluginUtilities.getCallbackHandle(_init)?.toRawHandle(),
}); });
} on PlatformException catch (e, stack) { } on PlatformException catch (e, stack) {
@ -20,6 +21,7 @@ class GlobalSearch {
} }
} }
@pragma('vm:entry-point')
Future<void> _init() async { Future<void> _init() async {
WidgetsFlutterBinding.ensureInitialized(); WidgetsFlutterBinding.ensureInitialized();

View file

@ -3,7 +3,9 @@ import 'dart:ui';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
final _filter = ImageFilter.blur(sigmaX: 4, sigmaY: 4); final _filter = ImageFilter.blur(sigmaX: 4, sigmaY: 4);
const _identity = ColorFilter.matrix(<double>[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]); // do not use `ColorFilter.matrix` for identity,
// as it yields performance issues when there are other layers on top
final _identity = ImageFilter.matrix(Matrix4.identity().storage);
class BlurredRect extends StatelessWidget { class BlurredRect extends StatelessWidget {
final bool enabled; final bool enabled;

View file

@ -118,7 +118,8 @@ class _HomeWidgetSettingsPageState extends State<HomeWidgetSettingsPage> {
onTap: () => setState(() => _shape = shape), onTap: () => setState(() => _shape = shape),
child: AnimatedOpacity( child: AnimatedOpacity(
duration: duration, duration: duration,
opacity: selected ? 1.0 : .4, // as of Flutter beta v3.3.0-0.0.pre, decoration rendering is at the wrong position if opacity is > .998
opacity: selected ? .998 : .4,
child: AnimatedContainer( child: AnimatedContainer(
duration: duration, duration: duration,
width: 96, width: 96,

View file

@ -3,7 +3,7 @@ version: 0.0.1
publish_to: none publish_to: none
environment: environment:
sdk: ">=2.17.5 <3.0.0" sdk: ">=2.17.0 <3.0.0"
dependencies: dependencies:
flutter: flutter:

View file

@ -210,7 +210,7 @@ packages:
name: dbus name: dbus
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.7.4" version: "0.7.7"
decorated_icon: decorated_icon:
dependency: "direct main" dependency: "direct main"
description: description:
@ -224,7 +224,7 @@ packages:
name: device_info_plus name: device_info_plus
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "4.0.0" version: "4.0.1"
device_info_plus_linux: device_info_plus_linux:
dependency: transitive dependency: transitive
description: description:
@ -259,7 +259,7 @@ packages:
name: device_info_plus_windows name: device_info_plus_windows
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.1" version: "3.0.1"
dynamic_color: dynamic_color:
dependency: "direct main" dependency: "direct main"
description: description:
@ -303,7 +303,7 @@ packages:
name: ffi name: ffi
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.2.1" version: "2.0.1"
fijkplayer: fijkplayer:
dependency: "direct main" dependency: "direct main"
description: description:
@ -418,7 +418,7 @@ packages:
name: flutter_map name: flutter_map
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.0" version: "2.1.1"
flutter_markdown: flutter_markdown:
dependency: "direct main" dependency: "direct main"
description: description:
@ -678,7 +678,7 @@ packages:
name: package_info_plus name: package_info_plus
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.4.2" version: "1.4.3"
package_info_plus_linux: package_info_plus_linux:
dependency: transitive dependency: transitive
description: description:
@ -713,7 +713,7 @@ packages:
name: package_info_plus_windows name: package_info_plus_windows
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.0.5" version: "2.0.0"
palette_generator: palette_generator:
dependency: "direct main" dependency: "direct main"
description: description:
@ -764,14 +764,14 @@ packages:
name: path_provider_windows name: path_provider_windows
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.7" version: "2.1.0"
pdf: pdf:
dependency: "direct main" dependency: "direct main"
description: description:
name: pdf name: pdf
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.8.1" version: "3.8.2"
percent_indicator: percent_indicator:
dependency: "direct main" dependency: "direct main"
description: description:
@ -864,7 +864,7 @@ packages:
name: printing name: printing
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "5.9.1" version: "5.9.2"
process: process:
dependency: transitive dependency: transitive
description: description:
@ -1277,7 +1277,7 @@ packages:
name: win32 name: win32
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.6.1" version: "2.7.0"
wkt_parser: wkt_parser:
dependency: transitive dependency: transitive
description: description:

View file

@ -6,7 +6,7 @@ repository: https://github.com/deckerst/aves
# - github changelog: /CHANGELOG.md # - github changelog: /CHANGELOG.md
# - play changelog: /whatsnew/whatsnew-en-US # - play changelog: /whatsnew/whatsnew-en-US
# - izzy changelog: /fastlane/metadata/android/en-US/changelogs/1XXX.txt # - izzy changelog: /fastlane/metadata/android/en-US/changelogs/1XXX.txt
version: 1.6.10+76 version: 1.6.11+77
publish_to: none publish_to: none
environment: environment:
@ -70,7 +70,7 @@ dependencies:
pdf: pdf:
percent_indicator: percent_indicator:
permission_handler: permission_handler:
printing: 5.9.1 printing:
proj4dart: proj4dart:
provider: provider:
screen_brightness: screen_brightness:

View file

@ -1,4 +1,4 @@
In v1.6.10: In v1.6.11:
- add the photo frame widget to your home - add the photo frame widget to your home
- use your photos as screen saver - use your photos as screen saver
- search photos taken "on this day" - search photos taken "on this day"