diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f95731df..369418fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: env: GO_VERSION: 1.19 - FLUTTER_VERSION: 3.7.12 + FLUTTER_VERSION: 3.10.6 permissions: contents: write diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67ae2a57..064b5f8d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ on: env: GO_VERSION: 1.19 - FLUTTER_VERSION: 3.7.12 + FLUTTER_VERSION: 3.10.6 jobs: # lint: diff --git a/ui/flutter/lib/core/entry/libgopeed_boot_native.dart b/ui/flutter/lib/core/entry/libgopeed_boot_native.dart index 3705e82c..4838a09f 100644 --- a/ui/flutter/lib/core/entry/libgopeed_boot_native.dart +++ b/ui/flutter/lib/core/entry/libgopeed_boot_native.dart @@ -17,7 +17,6 @@ LibgopeedBoot create() => LibgopeedBootNative(); class LibgopeedBootNative implements LibgopeedBoot { late LibgopeedInterface _libgopeed; - late SendPort _childSendPort; LibgopeedBootNative() { if (!Util.isDesktop()) { @@ -44,11 +43,7 @@ class LibgopeedBootNative implements LibgopeedBoot { @override Future stop() async { - if (Util.isDesktop()) { - await _ffiStop(); - } else { - await _libgopeed.stop(); - } + await _libgopeed.stop(); } _ffiInit() { @@ -67,90 +62,9 @@ class LibgopeedBootNative implements LibgopeedBoot { // FFI run in isolate Future _ffiStart(StartConfig cfg) async { - var startCompleter = Completer(); - - var mainReceive = ReceivePort(); - var isolate = await Isolate.spawn((SendPort sendPort) { + return await Isolate.run(() async { _ffiInit(); - var childReceive = ReceivePort(); - sendPort.send(childReceive.sendPort); - - childReceive.listen((message) async { - late _Result result; - try { - if (message is _StartParam) { - result = _StartResult(); - (result as _StartResult).port = await _libgopeed.start(message.cfg); - } - if (message is _StopParam) { - result = _StopResult(); - await _libgopeed.stop(); - childReceive.close(); - Isolate.exit(sendPort); - } - } on Exception catch (e) { - result.exception = e; - } - sendPort.send(result); - }); - }, mainReceive.sendPort); - - var childCompleter = Completer(); - mainReceive.listen((message) { - if (message is SendPort) { - _childSendPort = message; - childCompleter.complete(); - } - if (message is _StartResult) { - if (message.exception != null) { - startCompleter.completeError(message.exception!); - } else { - startCompleter.complete(message.port!); - } - } - if (message is _StopResult) { - isolate.kill(); - if (message.exception != null) { - _stopCompleter.completeError(message.exception!); - } else { - _stopCompleter.complete(); - } - } + return await _libgopeed.start(cfg); }); - await childCompleter.future; - _childSendPort.send(_StartParam(cfg: cfg)); - return startCompleter.future; - } - - late Completer _stopCompleter; - - Future _ffiStop() async { - _stopCompleter = Completer(); - _childSendPort.send(_StopParam()); - return _stopCompleter.future; } } - -class _Result { - Exception? exception; - - _Result(); -} - -class _StartParam { - final StartConfig cfg; - - _StartParam({required this.cfg}); -} - -class _StartResult extends _Result { - int? port; - - _StartResult(); -} - -class _StopParam {} - -class _StopResult extends _Result { - _StopResult(); -} diff --git a/ui/flutter/lib/core/ffi/libgopeed_bind.dart b/ui/flutter/lib/core/ffi/libgopeed_bind.dart index a9dd93a2..53ddedb7 100644 --- a/ui/flutter/lib/core/ffi/libgopeed_bind.dart +++ b/ui/flutter/lib/core/ffi/libgopeed_bind.dart @@ -1,9 +1,10 @@ // AUTO GENERATED FILE, DO NOT EDIT. // // Generated by `package:ffigen`. +// ignore_for_file: type=lint import 'dart:ffi' as ffi; -/// Bindings to gopeed core. +/// Bindings to gopeed library. class LibgopeedBind { /// Holds the symbol lookup function. final ffi.Pointer Function(String symbolName) @@ -19,6 +20,843 @@ class LibgopeedBind { lookup) : _lookup = lookup; + void __va_start( + ffi.Pointer arg0, + ) { + return ___va_start( + arg0, + ); + } + + late final ___va_startPtr = + _lookup)>>( + '__va_start'); + late final ___va_start = + ___va_startPtr.asFunction)>(); + + void __security_init_cookie() { + return ___security_init_cookie(); + } + + late final ___security_init_cookiePtr = + _lookup>( + '__security_init_cookie'); + late final ___security_init_cookie = + ___security_init_cookiePtr.asFunction(); + + void __security_check_cookie( + int _StackCookie, + ) { + return ___security_check_cookie( + _StackCookie, + ); + } + + late final ___security_check_cookiePtr = + _lookup>( + '__security_check_cookie'); + late final ___security_check_cookie = + ___security_check_cookiePtr.asFunction(); + + void __report_gsfailure( + int _StackCookie, + ) { + return ___report_gsfailure( + _StackCookie, + ); + } + + late final ___report_gsfailurePtr = + _lookup>( + '__report_gsfailure'); + late final ___report_gsfailure = + ___report_gsfailurePtr.asFunction(); + + late final ffi.Pointer ___security_cookie = + _lookup('__security_cookie'); + + int get __security_cookie => ___security_cookie.value; + + set __security_cookie(int value) => ___security_cookie.value = value; + + void _invalid_parameter_noinfo() { + return __invalid_parameter_noinfo(); + } + + late final __invalid_parameter_noinfoPtr = + _lookup>( + '_invalid_parameter_noinfo'); + late final __invalid_parameter_noinfo = + __invalid_parameter_noinfoPtr.asFunction(); + + void _invalid_parameter_noinfo_noreturn() { + return __invalid_parameter_noinfo_noreturn(); + } + + late final __invalid_parameter_noinfo_noreturnPtr = + _lookup>( + '_invalid_parameter_noinfo_noreturn'); + late final __invalid_parameter_noinfo_noreturn = + __invalid_parameter_noinfo_noreturnPtr.asFunction(); + + void _invoke_watson( + ffi.Pointer _Expression, + ffi.Pointer _FunctionName, + ffi.Pointer _FileName, + int _LineNo, + int _Reserved, + ) { + return __invoke_watson( + _Expression, + _FunctionName, + _FileName, + _LineNo, + _Reserved, + ); + } + + late final __invoke_watsonPtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ffi.UintPtr)>>('_invoke_watson'); + late final __invoke_watson = __invoke_watsonPtr.asFunction< + void Function(ffi.Pointer, ffi.Pointer, + ffi.Pointer, int, int)>(); + + ffi.Pointer _errno() { + return __errno(); + } + + late final __errnoPtr = + _lookup Function()>>('_errno'); + late final __errno = __errnoPtr.asFunction Function()>(); + + int _set_errno( + int _Value, + ) { + return __set_errno( + _Value, + ); + } + + late final __set_errnoPtr = + _lookup>('_set_errno'); + late final __set_errno = __set_errnoPtr.asFunction(); + + int _get_errno( + ffi.Pointer _Value, + ) { + return __get_errno( + _Value, + ); + } + + late final __get_errnoPtr = + _lookup)>>( + '_get_errno'); + late final __get_errno = + __get_errnoPtr.asFunction)>(); + + int __threadid() { + return ___threadid(); + } + + late final ___threadidPtr = + _lookup>('__threadid'); + late final ___threadid = ___threadidPtr.asFunction(); + + int __threadhandle() { + return ___threadhandle(); + } + + late final ___threadhandlePtr = + _lookup>('__threadhandle'); + late final ___threadhandle = ___threadhandlePtr.asFunction(); + + double cabs( + _Dcomplex _Z, + ) { + return _cabs( + _Z, + ); + } + + late final _cabsPtr = + _lookup>('cabs'); + late final _cabs = _cabsPtr.asFunction(); + + _Dcomplex cacos( + _Dcomplex _Z, + ) { + return _cacos( + _Z, + ); + } + + late final _cacosPtr = + _lookup>('cacos'); + late final _cacos = _cacosPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex cacosh( + _Dcomplex _Z, + ) { + return _cacosh( + _Z, + ); + } + + late final _cacoshPtr = + _lookup>('cacosh'); + late final _cacosh = _cacoshPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + double carg( + _Dcomplex _Z, + ) { + return _carg( + _Z, + ); + } + + late final _cargPtr = + _lookup>('carg'); + late final _carg = _cargPtr.asFunction(); + + _Dcomplex casin( + _Dcomplex _Z, + ) { + return _casin( + _Z, + ); + } + + late final _casinPtr = + _lookup>('casin'); + late final _casin = _casinPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex casinh( + _Dcomplex _Z, + ) { + return _casinh( + _Z, + ); + } + + late final _casinhPtr = + _lookup>('casinh'); + late final _casinh = _casinhPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex catan( + _Dcomplex _Z, + ) { + return _catan( + _Z, + ); + } + + late final _catanPtr = + _lookup>('catan'); + late final _catan = _catanPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex catanh( + _Dcomplex _Z, + ) { + return _catanh( + _Z, + ); + } + + late final _catanhPtr = + _lookup>('catanh'); + late final _catanh = _catanhPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex ccos( + _Dcomplex _Z, + ) { + return _ccos( + _Z, + ); + } + + late final _ccosPtr = + _lookup>('ccos'); + late final _ccos = _ccosPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex ccosh( + _Dcomplex _Z, + ) { + return _ccosh( + _Z, + ); + } + + late final _ccoshPtr = + _lookup>('ccosh'); + late final _ccosh = _ccoshPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex cexp( + _Dcomplex _Z, + ) { + return _cexp( + _Z, + ); + } + + late final _cexpPtr = + _lookup>('cexp'); + late final _cexp = _cexpPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + double cimag( + _Dcomplex _Z, + ) { + return _cimag( + _Z, + ); + } + + late final _cimagPtr = + _lookup>('cimag'); + late final _cimag = _cimagPtr.asFunction(); + + _Dcomplex clog( + _Dcomplex _Z, + ) { + return _clog( + _Z, + ); + } + + late final _clogPtr = + _lookup>('clog'); + late final _clog = _clogPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex clog10( + _Dcomplex _Z, + ) { + return _clog10( + _Z, + ); + } + + late final _clog10Ptr = + _lookup>('clog10'); + late final _clog10 = _clog10Ptr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex conj( + _Dcomplex _Z, + ) { + return _conj( + _Z, + ); + } + + late final _conjPtr = + _lookup>('conj'); + late final _conj = _conjPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex cpow( + _Dcomplex _X, + _Dcomplex _Y, + ) { + return _cpow( + _X, + _Y, + ); + } + + late final _cpowPtr = + _lookup>( + 'cpow'); + late final _cpow = + _cpowPtr.asFunction<_Dcomplex Function(_Dcomplex, _Dcomplex)>(); + + _Dcomplex cproj( + _Dcomplex _Z, + ) { + return _cproj( + _Z, + ); + } + + late final _cprojPtr = + _lookup>('cproj'); + late final _cproj = _cprojPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + double creal( + _Dcomplex _Z, + ) { + return _creal( + _Z, + ); + } + + late final _crealPtr = + _lookup>('creal'); + late final _creal = _crealPtr.asFunction(); + + _Dcomplex csin( + _Dcomplex _Z, + ) { + return _csin( + _Z, + ); + } + + late final _csinPtr = + _lookup>('csin'); + late final _csin = _csinPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex csinh( + _Dcomplex _Z, + ) { + return _csinh( + _Z, + ); + } + + late final _csinhPtr = + _lookup>('csinh'); + late final _csinh = _csinhPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex csqrt( + _Dcomplex _Z, + ) { + return _csqrt( + _Z, + ); + } + + late final _csqrtPtr = + _lookup>('csqrt'); + late final _csqrt = _csqrtPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex ctan( + _Dcomplex _Z, + ) { + return _ctan( + _Z, + ); + } + + late final _ctanPtr = + _lookup>('ctan'); + late final _ctan = _ctanPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + _Dcomplex ctanh( + _Dcomplex _Z, + ) { + return _ctanh( + _Z, + ); + } + + late final _ctanhPtr = + _lookup>('ctanh'); + late final _ctanh = _ctanhPtr.asFunction<_Dcomplex Function(_Dcomplex)>(); + + double norm( + _Dcomplex _Z, + ) { + return _norm( + _Z, + ); + } + + late final _normPtr = + _lookup>('norm'); + late final _norm = _normPtr.asFunction(); + + double cabsf( + _Fcomplex _Z, + ) { + return _cabsf( + _Z, + ); + } + + late final _cabsfPtr = + _lookup>('cabsf'); + late final _cabsf = _cabsfPtr.asFunction(); + + _Fcomplex cacosf( + _Fcomplex _Z, + ) { + return _cacosf( + _Z, + ); + } + + late final _cacosfPtr = + _lookup>('cacosf'); + late final _cacosf = _cacosfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex cacoshf( + _Fcomplex _Z, + ) { + return _cacoshf( + _Z, + ); + } + + late final _cacoshfPtr = + _lookup>('cacoshf'); + late final _cacoshf = _cacoshfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + double cargf( + _Fcomplex _Z, + ) { + return _cargf( + _Z, + ); + } + + late final _cargfPtr = + _lookup>('cargf'); + late final _cargf = _cargfPtr.asFunction(); + + _Fcomplex casinf( + _Fcomplex _Z, + ) { + return _casinf( + _Z, + ); + } + + late final _casinfPtr = + _lookup>('casinf'); + late final _casinf = _casinfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex casinhf( + _Fcomplex _Z, + ) { + return _casinhf( + _Z, + ); + } + + late final _casinhfPtr = + _lookup>('casinhf'); + late final _casinhf = _casinhfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex catanf( + _Fcomplex _Z, + ) { + return _catanf( + _Z, + ); + } + + late final _catanfPtr = + _lookup>('catanf'); + late final _catanf = _catanfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex catanhf( + _Fcomplex _Z, + ) { + return _catanhf( + _Z, + ); + } + + late final _catanhfPtr = + _lookup>('catanhf'); + late final _catanhf = _catanhfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex ccosf( + _Fcomplex _Z, + ) { + return _ccosf( + _Z, + ); + } + + late final _ccosfPtr = + _lookup>('ccosf'); + late final _ccosf = _ccosfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex ccoshf( + _Fcomplex _Z, + ) { + return _ccoshf( + _Z, + ); + } + + late final _ccoshfPtr = + _lookup>('ccoshf'); + late final _ccoshf = _ccoshfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex cexpf( + _Fcomplex _Z, + ) { + return _cexpf( + _Z, + ); + } + + late final _cexpfPtr = + _lookup>('cexpf'); + late final _cexpf = _cexpfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + double cimagf( + _Fcomplex _Z, + ) { + return _cimagf( + _Z, + ); + } + + late final _cimagfPtr = + _lookup>('cimagf'); + late final _cimagf = _cimagfPtr.asFunction(); + + _Fcomplex clogf( + _Fcomplex _Z, + ) { + return _clogf( + _Z, + ); + } + + late final _clogfPtr = + _lookup>('clogf'); + late final _clogf = _clogfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex clog10f( + _Fcomplex _Z, + ) { + return _clog10f( + _Z, + ); + } + + late final _clog10fPtr = + _lookup>('clog10f'); + late final _clog10f = _clog10fPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex conjf( + _Fcomplex _Z, + ) { + return _conjf( + _Z, + ); + } + + late final _conjfPtr = + _lookup>('conjf'); + late final _conjf = _conjfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex cpowf( + _Fcomplex _X, + _Fcomplex _Y, + ) { + return _cpowf( + _X, + _Y, + ); + } + + late final _cpowfPtr = + _lookup>( + 'cpowf'); + late final _cpowf = + _cpowfPtr.asFunction<_Fcomplex Function(_Fcomplex, _Fcomplex)>(); + + _Fcomplex cprojf( + _Fcomplex _Z, + ) { + return _cprojf( + _Z, + ); + } + + late final _cprojfPtr = + _lookup>('cprojf'); + late final _cprojf = _cprojfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + double crealf( + _Fcomplex _Z, + ) { + return _crealf( + _Z, + ); + } + + late final _crealfPtr = + _lookup>('crealf'); + late final _crealf = _crealfPtr.asFunction(); + + _Fcomplex csinf( + _Fcomplex _Z, + ) { + return _csinf( + _Z, + ); + } + + late final _csinfPtr = + _lookup>('csinf'); + late final _csinf = _csinfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex csinhf( + _Fcomplex _Z, + ) { + return _csinhf( + _Z, + ); + } + + late final _csinhfPtr = + _lookup>('csinhf'); + late final _csinhf = _csinhfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex csqrtf( + _Fcomplex _Z, + ) { + return _csqrtf( + _Z, + ); + } + + late final _csqrtfPtr = + _lookup>('csqrtf'); + late final _csqrtf = _csqrtfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex ctanf( + _Fcomplex _Z, + ) { + return _ctanf( + _Z, + ); + } + + late final _ctanfPtr = + _lookup>('ctanf'); + late final _ctanf = _ctanfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + _Fcomplex ctanhf( + _Fcomplex _Z, + ) { + return _ctanhf( + _Z, + ); + } + + late final _ctanhfPtr = + _lookup>('ctanhf'); + late final _ctanhf = _ctanhfPtr.asFunction<_Fcomplex Function(_Fcomplex)>(); + + double normf( + _Fcomplex _Z, + ) { + return _normf( + _Z, + ); + } + + late final _normfPtr = + _lookup>('normf'); + late final _normf = _normfPtr.asFunction(); + + _Dcomplex _Cbuild( + double _Re, + double _Im, + ) { + return __Cbuild( + _Re, + _Im, + ); + } + + late final __CbuildPtr = + _lookup>( + '_Cbuild'); + late final __Cbuild = + __CbuildPtr.asFunction<_Dcomplex Function(double, double)>(); + + _Dcomplex _Cmulcc( + _Dcomplex _X, + _Dcomplex _Y, + ) { + return __Cmulcc( + _X, + _Y, + ); + } + + late final __CmulccPtr = + _lookup>( + '_Cmulcc'); + late final __Cmulcc = + __CmulccPtr.asFunction<_Dcomplex Function(_Dcomplex, _Dcomplex)>(); + + _Dcomplex _Cmulcr( + _Dcomplex _X, + double _Y, + ) { + return __Cmulcr( + _X, + _Y, + ); + } + + late final __CmulcrPtr = + _lookup>( + '_Cmulcr'); + late final __Cmulcr = + __CmulcrPtr.asFunction<_Dcomplex Function(_Dcomplex, double)>(); + + _Fcomplex _FCbuild( + double _Re, + double _Im, + ) { + return __FCbuild( + _Re, + _Im, + ); + } + + late final __FCbuildPtr = + _lookup>( + '_FCbuild'); + late final __FCbuild = + __FCbuildPtr.asFunction<_Fcomplex Function(double, double)>(); + + _Fcomplex _FCmulcc( + _Fcomplex _X, + _Fcomplex _Y, + ) { + return __FCmulcc( + _X, + _Y, + ); + } + + late final __FCmulccPtr = + _lookup>( + '_FCmulcc'); + late final __FCmulcc = + __FCmulccPtr.asFunction<_Fcomplex Function(_Fcomplex, _Fcomplex)>(); + + _Fcomplex _FCmulcr( + _Fcomplex _X, + double _Y, + ) { + return __FCmulcr( + _X, + _Y, + ); + } + + late final __FCmulcrPtr = + _lookup>( + '_FCmulcr'); + late final __FCmulcr = + __FCmulcrPtr.asFunction<_Fcomplex Function(_Fcomplex, double)>(); + Start_return Start( ffi.Pointer cfg, ) { @@ -42,115 +880,72 @@ class LibgopeedBind { late final _Stop = _StopPtr.asFunction(); } -class __mbstate_t extends ffi.Union { - @ffi.Array.multi([128]) - external ffi.Array __mbstate8; +typedef va_list = ffi.Pointer; - @ffi.LongLong() - external int _mbstateL; +final class __crt_locale_data_public extends ffi.Struct { + external ffi.Pointer _locale_pctype; + + @ffi.Int() + external int _locale_mb_cur_max; + + @ffi.UnsignedInt() + external int _locale_lc_codepage; } -class __darwin_pthread_handler_rec extends ffi.Struct { - external ffi - .Pointer)>> - __routine; +final class __crt_locale_pointers extends ffi.Struct { + external ffi.Pointer<__crt_locale_data> locinfo; - external ffi.Pointer __arg; - - external ffi.Pointer<__darwin_pthread_handler_rec> __next; + external ffi.Pointer<__crt_multibyte_data> mbcinfo; } -class _opaque_pthread_attr_t extends ffi.Struct { - @ffi.Long() - external int __sig; +final class __crt_locale_data extends ffi.Opaque {} - @ffi.Array.multi([56]) - external ffi.Array __opaque; +final class __crt_multibyte_data extends ffi.Opaque {} + +final class _Mbstatet extends ffi.Struct { + @ffi.UnsignedLong() + external int _Wchar; + + @ffi.UnsignedShort() + external int _Byte; + + @ffi.UnsignedShort() + external int _State; } -class _opaque_pthread_cond_t extends ffi.Struct { - @ffi.Long() - external int __sig; +typedef errno_t = ffi.Int; - @ffi.Array.multi([40]) - external ffi.Array __opaque; -} - -class _opaque_pthread_condattr_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([8]) - external ffi.Array __opaque; -} - -class _opaque_pthread_mutex_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([56]) - external ffi.Array __opaque; -} - -class _opaque_pthread_mutexattr_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([8]) - external ffi.Array __opaque; -} - -class _opaque_pthread_once_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([8]) - external ffi.Array __opaque; -} - -class _opaque_pthread_rwlock_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([192]) - external ffi.Array __opaque; -} - -class _opaque_pthread_rwlockattr_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - @ffi.Array.multi([16]) - external ffi.Array __opaque; -} - -class _opaque_pthread_t extends ffi.Struct { - @ffi.Long() - external int __sig; - - external ffi.Pointer<__darwin_pthread_handler_rec> __cleanup_stack; - - @ffi.Array.multi([8176]) - external ffi.Array __opaque; -} - -class _GoString_ extends ffi.Struct { +final class _GoString_ extends ffi.Struct { external ffi.Pointer p; @ptrdiff_t() external int n; } -typedef ptrdiff_t = __darwin_ptrdiff_t; -typedef __darwin_ptrdiff_t = ffi.Long; +typedef ptrdiff_t = ffi.LongLong; -class GoInterface extends ffi.Struct { +final class _C_double_complex extends ffi.Struct { + @ffi.Array.multi([2]) + external ffi.Array _Val; +} + +final class _C_float_complex extends ffi.Struct { + @ffi.Array.multi([2]) + external ffi.Array _Val; +} + +final class _C_ldouble_complex extends ffi.Opaque {} + +typedef _Dcomplex = _C_double_complex; +typedef _Fcomplex = _C_float_complex; + +final class GoInterface extends ffi.Struct { external ffi.Pointer t; external ffi.Pointer v; } -class GoSlice extends ffi.Struct { +final class GoSlice extends ffi.Struct { external ffi.Pointer data; @GoInt() @@ -163,79 +958,77 @@ class GoSlice extends ffi.Struct { typedef GoInt = GoInt64; typedef GoInt64 = ffi.LongLong; -class Start_return extends ffi.Struct { +final class Start_return extends ffi.Struct { @GoInt() external int r0; external ffi.Pointer r1; } -const int __DARWIN_ONLY_64_BIT_INO_T = 1; +const int _VCRT_COMPILER_PREPROCESSOR = 1; -const int __DARWIN_ONLY_UNIX_CONFORMANCE = 1; +const int _SAL_VERSION = 20; -const int __DARWIN_ONLY_VERS_1050 = 1; +const int __SAL_H_VERSION = 180000000; -const int __DARWIN_UNIX03 = 1; +const int _USE_DECLSPECS_FOR_SAL = 0; -const int __DARWIN_64_BIT_INO_T = 1; +const int _USE_ATTRIBUTES_FOR_SAL = 0; -const int __DARWIN_VERS_1050 = 1; +const int _CRT_PACKING = 8; -const int __DARWIN_NON_CANCELABLE = 0; +const int _VCRUNTIME_DISABLED_WARNINGS = 4514; -const String __DARWIN_SUF_EXTSN = '\$DARWIN_EXTSN'; +const int _HAS_EXCEPTIONS = 1; -const int __DARWIN_C_ANSI = 4096; - -const int __DARWIN_C_FULL = 900000; - -const int __DARWIN_C_LEVEL = 900000; - -const int __STDC_WANT_LIB_EXT1__ = 1; - -const int __DARWIN_NO_LONG_LONG = 0; - -const int _DARWIN_FEATURE_64_BIT_INODE = 1; - -const int _DARWIN_FEATURE_ONLY_64_BIT_INODE = 1; - -const int _DARWIN_FEATURE_ONLY_VERS_1050 = 1; - -const int _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1; - -const int _DARWIN_FEATURE_UNIX_CONFORMANCE = 3; - -const int __has_ptrcheck = 0; - -const int __DARWIN_NULL = 0; - -const int __PTHREAD_SIZE__ = 8176; - -const int __PTHREAD_ATTR_SIZE__ = 56; - -const int __PTHREAD_MUTEXATTR_SIZE__ = 8; - -const int __PTHREAD_MUTEX_SIZE__ = 56; - -const int __PTHREAD_CONDATTR_SIZE__ = 8; - -const int __PTHREAD_COND_SIZE__ = 40; - -const int __PTHREAD_ONCE_SIZE__ = 8; - -const int __PTHREAD_RWLOCK_SIZE__ = 192; - -const int __PTHREAD_RWLOCKATTR_SIZE__ = 16; - -const int __DARWIN_WCHAR_MAX = 2147483647; - -const int __DARWIN_WCHAR_MIN = -2147483648; - -const int __DARWIN_WEOF = -1; - -const int _FORTIFY_SOURCE = 2; +const int _WCHAR_T_DEFINED = 1; const int NULL = 0; -const int USER_ADDR_NULL = 0; +const int _HAS_CXX17 = 0; + +const int _HAS_CXX20 = 0; + +const int _HAS_CXX23 = 0; + +const int _HAS_NODISCARD = 1; + +const int _UCRT_DISABLED_WARNINGS = 4324; + +const int _ARGMAX = 100; + +const int _TRUNCATE = -1; + +const int _CRT_INT_MAX = 2147483647; + +const int _CRT_SIZE_MAX = -1; + +const String __FILEW__ = 'C'; + +const int _CRT_FUNCTIONS_REQUIRED = 1; + +const int _CRT_HAS_CXX17 = 0; + +const int _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE = 1; + +const int _CRT_BUILD_DESKTOP_APP = 1; + +const int _CRT_INTERNAL_NONSTDC_NAMES = 1; + +const int __STDC_SECURE_LIB__ = 200411; + +const int __GOT_SECURE_LIB__ = 200411; + +const int __STDC_WANT_SECURE_LIB__ = 1; + +const int _SECURECRT_FILL_BUFFER_PATTERN = 254; + +const int _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = 0; + +const int _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = 0; + +const int _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = 1; + +const int _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = 0; + +const int _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = 0; diff --git a/ui/flutter/pubspec.lock b/ui/flutter/pubspec.lock index bec92c0e..8cd8ed34 100644 --- a/ui/flutter/pubspec.lock +++ b/ui/flutter/pubspec.lock @@ -5,58 +5,58 @@ packages: dependency: transitive description: name: _fe_analyzer_shared - sha256: "37bb1e815e15fbeefe916e4c941ef070f2f64d15a7eacc3cc0f6e8847b62319c" + sha256: "0816708f5fbcacca324d811297153fe3c8e047beb5c6752e12292d2974c17045" url: "https://pub.flutter-io.cn" source: hosted - version: "48.0.0" + version: "62.0.0" analyzer: dependency: transitive description: name: analyzer - sha256: c50aea66893c20d44c365d4269983a74a5c1a4055b7b78f38fbf0e24f519b6a2 + sha256: "21862995c9932cd082f89d72ae5f5e2c110d1a0204ad06e4ebaee8307b76b834" url: "https://pub.flutter-io.cn" source: hosted - version: "5.0.0" + version: "6.0.0" app_links: dependency: "direct main" description: name: app_links - sha256: d572dcdff49c4cfcfa6f315e2683e518ec6eb54e084d01e51d9631a4dcc1b5e8 + sha256: "16725e716afd0634a5441654b1dda2b6c5557aa230884b5e1f41a5aa546a4cb6" url: "https://pub.flutter-io.cn" source: hosted - version: "3.4.2" + version: "3.4.3" archive: dependency: transitive description: name: archive - sha256: "793964beb8e297995714326628881437d4211f10fc8843534bab54129cd896ee" + sha256: "0c8368c9b3f0abbc193b9d6133649a614204b528982bebc7026372d61677ce3a" url: "https://pub.flutter-io.cn" source: hosted - version: "3.3.1" + version: "3.3.7" args: dependency: transitive description: name: args - sha256: b003c3098049a51720352d219b0bb5f219b60fbfb68e7a4748139a06a5676515 + sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 url: "https://pub.flutter-io.cn" source: hosted - version: "2.3.1" + version: "2.4.2" async: dependency: transitive description: name: async - sha256: bfe67ef28df125b7dddcea62755991f807aa39a2492a23e1550161692950bbe0 + sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.flutter-io.cn" source: hosted - version: "2.10.0" + version: "2.11.0" badges: dependency: "direct main" description: name: badges - sha256: d33d4e07197d6e61ddc940640f2b4dc303d3c80887011344940e24d7522f8d26 + sha256: "6e7f3ec561ec08f47f912cfe349d4a1707afdc8dda271e17b046aa6d42c89e77" url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.3" + version: "3.1.1" boolean_selector: dependency: transitive description: @@ -69,50 +69,50 @@ packages: dependency: transitive description: name: build - sha256: "3fbda25365741f8251b39f3917fb3c8e286a96fd068a5a242e11c2012d495777" + sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" url: "https://pub.flutter-io.cn" source: hosted - version: "2.3.1" + version: "2.4.1" build_config: dependency: transitive description: name: build_config - sha256: "5b7355c14258f5e7df24bad1566f7b991de3e54aeacfb94e1a65e5233d9739c1" + sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1 url: "https://pub.flutter-io.cn" source: hosted - version: "1.1.0" + version: "1.1.1" build_daemon: dependency: transitive description: name: build_daemon - sha256: "6bc5544ea6ce4428266e7ea680e945c68806c4aae2da0eb5e9ccf38df8d6acbf" + sha256: "5f02d73eb2ba16483e693f80bee4f088563a820e47d1027d4cdfe62b5bb43e65" url: "https://pub.flutter-io.cn" source: hosted - version: "3.1.0" + version: "4.0.0" build_resolvers: dependency: transitive description: name: build_resolvers - sha256: "687cf90a3951affac1bd5f9ecb5e3e90b60487f3d9cdc359bb310f8876bb02a6" + sha256: "6c4dd11d05d056e76320b828a1db0fc01ccd376922526f8e9d6c796a5adbac20" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.10" + version: "2.2.1" build_runner: dependency: "direct dev" description: name: build_runner - sha256: e3b4e8eab6b9bdb57059e9290a7ddc0ec61b617ac862fe4d973bf6eb90475b85 + sha256: "10c6bcdbf9d049a0b666702cf1cee4ddfdc38f02a19d35ae392863b47519848b" url: "https://pub.flutter-io.cn" source: hosted - version: "2.2.1" + version: "2.4.6" build_runner_core: dependency: transitive description: name: build_runner_core - sha256: "409c20ff6b6a9c9f4152fc9fcbf16440fedf02fcacc0fb26ea3b8eab9a860a40" + sha256: "6d6ee4276b1c5f34f21fdf39425202712d2be82019983d52f351c94aafbc2c41" url: "https://pub.flutter-io.cn" source: hosted - version: "7.2.4" + version: "7.2.10" built_collection: dependency: transitive description: @@ -125,34 +125,34 @@ packages: dependency: transitive description: name: built_value - sha256: d7a9cd57c215bdf8d502772447aa6b52a8ab3f956d25d5fdea6ef1df2d2dad60 + sha256: "598a2a682e2a7a90f08ba39c0aaa9374c5112340f0a2e275f61b59389543d166" url: "https://pub.flutter-io.cn" source: hosted - version: "8.4.1" + version: "8.6.1" characters: dependency: transitive description: name: characters - sha256: e6a326c8af69605aec75ed6c187d06b349707a27fbff8222ca9cc2cff167975c + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.flutter-io.cn" source: hosted - version: "1.2.1" + version: "1.3.0" checked_yaml: dependency: transitive description: name: checked_yaml - sha256: dd007e4fb8270916820a0d66e24f619266b60773cddd082c6439341645af2659 + sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.1" + version: "2.0.3" cli_util: dependency: transitive description: name: cli_util - sha256: "66f86e916d285c1a93d3b79587d94bd71984a66aac4ff74e524cfa7877f1395c" + sha256: b8db3080e59b2503ca9e7922c3df2072cf13992354d5e944074ffa836fba43b7 url: "https://pub.flutter-io.cn" source: hosted - version: "0.3.5" + version: "0.4.0" clock: dependency: transitive description: @@ -165,18 +165,18 @@ packages: dependency: transitive description: name: code_builder - sha256: "02ce3596b459c666530f045ad6f96209474e8fee6e4855940a3cee65fb872ec5" + sha256: "4ad01d6e56db961d29661561effde45e519939fdaeb46c351275b182eac70189" url: "https://pub.flutter-io.cn" source: hosted - version: "4.3.0" + version: "4.5.0" collection: dependency: transitive description: name: collection - sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0 + sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c" url: "https://pub.flutter-io.cn" source: hosted - version: "1.17.0" + version: "1.17.1" context_menus: dependency: "direct main" description: @@ -189,26 +189,26 @@ packages: dependency: transitive description: name: convert - sha256: "196284f26f69444b7f5c50692b55ec25da86d9e500451dc09333bf2e3ad69259" + sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.2" + version: "3.1.1" cross_file: dependency: transitive description: name: cross_file - sha256: f71079978789bc2fe78d79227f1f8cfe195b31bbd8db2399b0d15a4b96fb843b + sha256: "0b0036e8cccbfbe0555fd83c1d31a6f30b77a96b598b35a5d36dd41f718695e9" url: "https://pub.flutter-io.cn" source: hosted - version: "0.3.3+2" + version: "0.3.3+4" crypto: dependency: transitive description: name: crypto - sha256: aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67 + sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.2" + version: "3.0.3" cupertino_icons: dependency: "direct main" description: @@ -217,14 +217,22 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.0.5" + dart_internal: + dependency: transitive + description: + name: dart_internal + sha256: dae3976f383beddcfcd07ad5291a422df2c8c0a8a03c52cda63ac7b4f26e0f4e + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.2.8" dart_style: dependency: transitive description: name: dart_style - sha256: "7a03456c3490394c8e7665890333e91ae8a49be43542b616e414449ac358acd4" + sha256: "1efa911ca7086affd35f463ca2fc1799584fb6aa89883cf0af8e3664d6a02d55" url: "https://pub.flutter-io.cn" source: hosted - version: "2.2.4" + version: "2.3.2" desktop_drop: dependency: "direct main" description: @@ -253,18 +261,18 @@ packages: dependency: transitive description: name: ffi - sha256: a38574032c5f1dd06c4aee541789906c12ccaab8ba01446e800d9c5b79c4a978 + sha256: ed5337a5660c506388a9f012be0288fb38b49020ce2b45fe1f8b8323fe429f99 url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.1" + version: "2.0.2" ffigen: dependency: "direct dev" description: name: ffigen - sha256: ec6a2439159d27c871d92862fb9f3012ef19d9ec4b0fa383c69c8553b2dd2ac5 + sha256: d3e76c2ad48a4e7f93a29a162006f00eba46ce7c08194a77bb5c5e97d1b5ff0a url: "https://pub.flutter-io.cn" source: hosted - version: "6.1.2" + version: "8.0.2" file: dependency: transitive description: @@ -277,26 +285,26 @@ packages: dependency: "direct main" description: name: file_picker - sha256: c7a8e25ca60e7f331b153b0cb3d405828f18d3e72a6fa1d9440c86556fffc877 + sha256: b1729fc96627dd44012d0a901558177418818d6bd428df59dcfeb594e5f66432 url: "https://pub.flutter-io.cn" source: hosted - version: "5.3.0" + version: "5.3.2" fixnum: dependency: transitive description: name: fixnum - sha256: "04be3e934c52e082558cc9ee21f42f5c1cd7a1262f4c63cd0357c08d5bba81ec" + sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" url: "https://pub.flutter-io.cn" source: hosted - version: "1.0.1" + version: "1.1.0" fluent_ui: dependency: "direct main" description: name: fluent_ui - sha256: "334144996f2699bb9dd678a9fe9a8e65a2e0b89bda9328ed4f0d49a8768f1416" + sha256: be237134ab215d4a1591307f6286f4aa53ed5a492c2ee56be5d86be344fd16db url: "https://pub.flutter-io.cn" source: hosted - version: "4.5.1" + version: "4.7.0" flutter: dependency: "direct main" description: flutter @@ -305,20 +313,19 @@ packages: flutter_launcher_icons: dependency: "direct dev" description: - path: "." - ref: "v0.11.0" - resolved-ref: "5d45f1fa6fcb28608ba77eb53937ac2cc077f2e3" - url: "https://github.com/fluttercommunity/flutter_launcher_icons.git" - source: git - version: "0.11.0" + name: flutter_launcher_icons + sha256: "526faf84284b86a4cb36d20a5e45147747b7563d921373d4ee0559c54fcdbcea" + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.13.1" flutter_lints: dependency: "direct dev" description: name: flutter_lints - sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c + sha256: "2118df84ef0c3ca93f96123a616ae8540879991b8b57af2f81b76a7ada49b2a4" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.1" + version: "2.0.2" flutter_localizations: dependency: "direct main" description: flutter @@ -328,10 +335,10 @@ packages: dependency: transitive description: name: flutter_plugin_android_lifecycle - sha256: "96af49aa6b57c10a312106ad6f71deed5a754029c24789bbf620ba784f0bd0b0" + sha256: "950e77c2bbe1692bc0874fc7fb491b96a4dc340457f4ea1641443d0a6c1ea360" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.14" + version: "2.0.15" flutter_test: dependency: "direct dev" description: flutter @@ -346,10 +353,10 @@ packages: dependency: transitive description: name: frontend_server_client - sha256: "4f4a162323c86ffc1245765cfe138872b8f069deb42f7dbb36115fa27f31469b" + sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612" url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.3" + version: "3.2.0" get: dependency: "direct main" description: @@ -362,26 +369,26 @@ packages: dependency: transitive description: name: glob - sha256: c51b4fdfee4d281f49b8c957f1add91b815473597f76bcf07377987f66a55729 + sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.0" + version: "2.1.2" graphs: dependency: transitive description: name: graphs - sha256: ae0b3d956ff324c6f8671f08dcb2dbd71c99cdbf2aa3ca63a14190c47aa6679c + sha256: aedc5a15e78fc65a6e23bcd927f24c64dd995062bcd1ca6eda65a3cff92a4d19 url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.0" + version: "2.3.1" http: dependency: transitive description: name: http - sha256: "6aa2946395183537c8b880962d935877325d6a09a2867c3970c05c0fed6ac482" + sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525" url: "https://pub.flutter-io.cn" source: hosted - version: "0.13.5" + version: "1.1.0" http_multi_server: dependency: transitive description: @@ -394,58 +401,58 @@ packages: dependency: transitive description: name: http_parser - sha256: db3060f22889f3d9d55f6a217565486737037eec3609f7f3eca4d0c67ee0d8a0 + sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" url: "https://pub.flutter-io.cn" source: hosted - version: "4.0.1" + version: "4.0.2" image: dependency: transitive description: name: image - sha256: f6ffe2895e3c86c6ad5a27e6302cf807403463e397cb2f0c580f619ac2fa588b + sha256: a72242c9a0ffb65d03de1b7113bc4e189686fc07c7147b8b41811d0dd0e0d9bf url: "https://pub.flutter-io.cn" source: hosted - version: "3.2.2" + version: "4.0.17" intl: dependency: transitive description: name: intl - sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91" + sha256: a3715e3bc90294e971cb7dc063fbf3cd9ee0ebf8604ffeafabd9e6f16abbdbe6 url: "https://pub.flutter-io.cn" source: hosted - version: "0.17.0" + version: "0.18.0" io: dependency: transitive description: name: io - sha256: "0d4c73c3653ab85bf696d51a9657604c900a370549196a91f33e4c39af760852" + sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" url: "https://pub.flutter-io.cn" source: hosted - version: "1.0.3" + version: "1.0.4" js: dependency: transitive description: name: js - sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7" + sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 url: "https://pub.flutter-io.cn" source: hosted - version: "0.6.5" + version: "0.6.7" json_annotation: dependency: "direct main" description: name: json_annotation - sha256: cb314f00b2488de7bc575207e54402cd2f92363f333a7933fd1b0631af226baa + sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467 url: "https://pub.flutter-io.cn" source: hosted - version: "4.6.0" + version: "4.8.1" json_serializable: dependency: "direct dev" description: name: json_serializable - sha256: fd1bcfbf6f623e1dfcc60616f189a6ca540dba7b5917447be5dab754b3116932 + sha256: aa1f5a8912615733e0fdc7a02af03308933c93235bdc8d50d0b0c8a8ccb0b969 url: "https://pub.flutter-io.cn" source: hosted - version: "6.3.2" + version: "6.7.1" lint: dependency: transitive description: @@ -458,34 +465,34 @@ packages: dependency: transitive description: name: lints - sha256: "5cfd6509652ff5e7fe149b6df4859e687fca9048437857cb2e65c8d780f396e3" + sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.0" + version: "2.1.1" logger: dependency: "direct main" description: name: logger - sha256: db2ff852ed77090ba9f62d3611e4208a3d11dfa35991a81ae724c113fcb3e3f7 + sha256: "7ad7215c15420a102ec687bb320a7312afd449bac63bfb1c60d9787c27b9767f" url: "https://pub.flutter-io.cn" source: hosted - version: "1.3.0" + version: "1.4.0" logging: dependency: transitive description: name: logging - sha256: "293ae2d49fd79d4c04944c3a26dfd313382d5f52e821ec57119230ae16031ad4" + sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" url: "https://pub.flutter-io.cn" source: hosted - version: "1.0.2" + version: "1.2.0" logging_appenders: dependency: transitive description: name: logging_appenders - sha256: c2ea00fb779a81e995943f1e3e6e6969d463de3882d134d78ad58e76f2b6f1b1 + sha256: "69e6f077fa0f416dbb0d926fdb066dd686245ac5bd36e8fefce6ee4783d3c766" url: "https://pub.flutter-io.cn" source: hosted - version: "1.0.2" + version: "1.1.0" lottie: dependency: "direct main" description: @@ -506,10 +513,10 @@ packages: dependency: transitive description: name: matcher - sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72" + sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb" url: "https://pub.flutter-io.cn" source: hosted - version: "0.12.13" + version: "0.12.15" material_color_utilities: dependency: transitive description: @@ -538,18 +545,18 @@ packages: dependency: transitive description: name: meta - sha256: "6c268b42ed578a53088d834796959e4a1814b5e9e164f147f580a386e5decf42" + sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" url: "https://pub.flutter-io.cn" source: hosted - version: "1.8.0" + version: "1.9.1" mime: dependency: transitive description: name: mime - sha256: dab22e92b41aa1255ea90ddc4bc2feaf35544fd0728e209638cad041a6e3928a + sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e url: "https://pub.flutter-io.cn" source: hosted - version: "1.0.2" + version: "1.0.4" package_config: dependency: transitive description: @@ -562,10 +569,10 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: d39e8fbff4c5aef4592737e25ad6ac500df006ce7a7a8e1f838ce1256e167542 + sha256: ceb027f6bc6a60674a233b4a90a7658af1aebdea833da0b5b53c1e9821a78c7b url: "https://pub.flutter-io.cn" source: hosted - version: "4.0.0" + version: "4.0.2" package_info_plus_platform_interface: dependency: transitive description: @@ -578,74 +585,66 @@ packages: dependency: "direct main" description: name: path - sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b + sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" url: "https://pub.flutter-io.cn" source: hosted - version: "1.8.2" + version: "1.8.3" path_provider: dependency: "direct main" description: name: path_provider - sha256: "050e8e85e4b7fecdf2bb3682c1c64c4887a183720c802d323de8a5fd76d372dd" + sha256: "3087813781ab814e4157b172f1a11c46be20179fcc9bea043e0fba36bc0acaa2" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.11" + version: "2.0.15" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: "4d5542667150f5b779ba411dd5dc0b674a85d1355e45bda2877e0e82f4ad08d8" + sha256: "2cec049d282c7f13c594b4a73976b0b4f2d7a1838a6dd5aaf7bd9719196bee86" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.20" - path_provider_ios: + version: "2.0.27" + path_provider_foundation: dependency: transitive description: - name: path_provider_ios - sha256: "03d639406f5343478352433f00d3c4394d52dac8df3d847869c5e2333e0bbce8" + name: path_provider_foundation + sha256: "1995d88ec2948dac43edf8fe58eb434d35d22a2940ecee1a9fefcd62beee6eb3" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.11" + version: "2.2.3" path_provider_linux: dependency: transitive description: name: path_provider_linux - sha256: ab0987bf95bc591da42dffb38c77398fc43309f0b9b894dcc5d6f40c4b26c379 + sha256: ffbb8cc9ed2c9ec0e4b7a541e56fd79b138e8f47d2fb86815f15358a349b3b57 url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.7" - path_provider_macos: - dependency: transitive - description: - name: path_provider_macos - sha256: "2a97e7fbb7ae9dcd0dfc1220a78e9ec3e71da691912e617e8715ff2a13086ae8" - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.0.6" + version: "2.1.11" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface - sha256: "27dc7a224fcd07444cb5e0e60423ccacea3e13cf00fc5282ac2c918132da931d" + sha256: "57585299a729335f1298b43245842678cb9f43a6310351b18fb577d6e33165ec" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.4" + version: "2.0.6" path_provider_windows: dependency: transitive description: name: path_provider_windows - sha256: d3f80b32e83ec208ac95253e0cd4d298e104fbc63cb29c5c69edaed43b0c69d6 + sha256: "1cb68ba4cd3a795033de62ba1b7b4564dace301f952de6bfb3cd91b202b6ee96" url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.6" + version: "2.1.7" petitparser: dependency: transitive description: name: petitparser - sha256: "49392a45ced973e8d94a85fdb21293fbb40ba805fc49f2965101ae748a3683b4" + sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750 url: "https://pub.flutter-io.cn" source: hosted - version: "5.1.0" + version: "5.4.0" platform: dependency: transitive description: @@ -662,6 +661,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "2.1.4" + pointycastle: + dependency: transitive + description: + name: pointycastle + sha256: "7c1e5f0d23c9016c5bbd8b1473d0d3fb3fc851b876046039509e18e0c7485f2c" + url: "https://pub.flutter-io.cn" + source: hosted + version: "3.7.3" pool: dependency: transitive description: @@ -682,26 +689,26 @@ packages: dependency: transitive description: name: pub_semver - sha256: "816c1a640e952d213ddd223b3e7aafae08cd9f8e1f6864eed304cc13b0272b07" + sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.1" + version: "2.1.4" pubspec_parse: dependency: transitive description: name: pubspec_parse - sha256: "75f6614d6dde2dc68948dffbaa4fe5dae32cd700eb9fb763fe11dfb45a3c4d0a" + sha256: c63b2876e58e194e4b0828fcb080ad0e06d051cb607a6be51a9e084f47cb9367 url: "https://pub.flutter-io.cn" source: hosted - version: "1.2.1" + version: "1.2.3" quiver: dependency: transitive description: name: quiver - sha256: "93982981971e812c94d4a6fa3a57b89f9ec12b38b6380cd3c1370c3b01e4580e" + sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47 url: "https://pub.flutter-io.cn" source: hosted - version: "3.1.0" + version: "3.2.1" recase: dependency: transitive description: @@ -722,10 +729,10 @@ packages: dependency: transitive description: name: rxdart - sha256: "5d22055fd443806c03ef24a02000637cf51eae49c2a0168d38a43fc166b0209c" + sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb" url: "https://pub.flutter-io.cn" source: hosted - version: "0.27.5" + version: "0.27.7" screen_retriever: dependency: transitive description: @@ -738,90 +745,82 @@ packages: dependency: transitive description: name: scroll_pos - sha256: cfca311b6b8d51538ff90e206fbe6ce3b36e7125ea6da4a40eb626c7f9f083b1 + sha256: "4246bff3afc779d87cdf650a67d42d67ae71b23ff020d14592e6b89e28a7f9cc" url: "https://pub.flutter-io.cn" source: hosted - version: "0.3.0" + version: "0.4.0" shared_preferences: dependency: "direct main" description: name: shared_preferences - sha256: "76917b7d4b9526b2ba416808a7eb9fb2863c1a09cf63ec85f1453da240fa818a" + sha256: "0344316c947ffeb3a529eac929e1978fcd37c26be4e8468628bac399365a3ca1" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.15" + version: "2.2.0" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - sha256: "3e128864b9cff21bdd5b3ad569953070a851d62901bee880bb052b1110b38007" + sha256: fe8401ec5b6dcd739a0fe9588802069e608c3fdbfd3c3c93e546cf2f90438076 url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.13" - shared_preferences_ios: + version: "2.2.0" + shared_preferences_foundation: dependency: transitive description: - name: shared_preferences_ios - sha256: "585a14cefec7da8c9c2fb8cd283a3bb726b4155c0952afe6a0caaa7b2272de34" + name: shared_preferences_foundation + sha256: b046999bf0ff58f04c364491bb803dcfa8f42e47b19c75478f53d323684a8cc1 url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.1" + version: "2.3.1" shared_preferences_linux: dependency: transitive description: name: shared_preferences_linux - sha256: "28aefc1261746e7bad3d09799496054beb84e8c4ffcdfed7734e17b4ada459a5" + sha256: "71d6806d1449b0a9d4e85e0c7a917771e672a3d5dc61149cc9fac871115018e1" url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.1" - shared_preferences_macos: - dependency: transitive - description: - name: shared_preferences_macos - sha256: fbb94bf296576f49be37a1496d5951796211a8db0aa22cc0d68c46440dad808c - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.0.4" + version: "2.3.0" shared_preferences_platform_interface: dependency: transitive description: name: shared_preferences_platform_interface - sha256: da9431745ede5ece47bc26d5d73a9d3c6936ef6945c101a5aca46f62e52c1cf3 + sha256: "23b052f17a25b90ff2b61aad4cc962154da76fb62848a9ce088efe30d7c50ab1" url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.0" + version: "2.3.0" shared_preferences_web: dependency: transitive description: name: shared_preferences_web - sha256: a4b5bc37fe1b368bbc81f953197d55e12f49d0296e7e412dfe2d2d77d6929958 + sha256: "7347b194fb0bbeb4058e6a4e87ee70350b6b2b90f8ac5f8bd5b3a01548f6d33a" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.4" + version: "2.2.0" shared_preferences_windows: dependency: transitive description: name: shared_preferences_windows - sha256: "97f7ab9a7da96d9cf19581f5de520ceb529548498bd6b5e0ccd02d68a0d15eba" + sha256: f95e6a43162bce43c9c3405f3eb6f39e5b5d11f65fab19196cf8225e2777624d url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.1" + version: "2.3.0" shelf: dependency: transitive description: name: shelf - sha256: "8ec607599dd0a78931a5114cdac7d609b6dbbf479a38acc9a6dba024b2a30ea0" + sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 url: "https://pub.flutter-io.cn" source: hosted - version: "1.3.2" + version: "1.4.1" shelf_web_socket: dependency: transitive description: name: shelf_web_socket - sha256: "6db16374bc3497d21aa0eebe674d3db9fdf82082aac0f04dc7b44e4af5b08afc" + sha256: "9ca081be41c60190ebcb4766b2486a7d50261db7bd0f5d9615f2d653637a84c1" url: "https://pub.flutter-io.cn" source: hosted - version: "1.0.2" + version: "1.0.4" shortid: dependency: transitive description: @@ -839,18 +838,18 @@ packages: dependency: transitive description: name: source_gen - sha256: "0f5cf4243080b2c57650128ac1841498282da5ca1da0e826a03c9e208186c59d" + sha256: fc0da689e5302edb6177fdd964efcb7f58912f43c28c2047a808f5bfff643d16 url: "https://pub.flutter-io.cn" source: hosted - version: "1.2.3" + version: "1.4.0" source_helper: dependency: transitive description: name: source_helper - sha256: "3b67aade1d52416149c633ba1bb36df44d97c6b51830c2198e934e3fca87ca1f" + sha256: "6adebc0006c37dd63fe05bca0a929b99f06402fc95aa35bf36d67f5c06de01fd" url: "https://pub.flutter-io.cn" source: hosted - version: "1.3.3" + version: "1.3.4" source_span: dependency: transitive description: @@ -879,10 +878,10 @@ packages: dependency: transitive description: name: stream_transform - sha256: ed464977cb26a1f41537e177e190c67223dbd9f4f683489b6ab2e5d211ec564e + sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.0" + version: "2.1.0" string_scanner: dependency: transitive description: @@ -895,10 +894,10 @@ packages: dependency: "direct main" description: name: styled_widget - sha256: "7e6021ba204e6618724cf6294d2a5c6830841d34803fba8e7ffdb08510116fa1" + sha256: "4d439802919b6ccf10d1488798656da8804633b03012682dd1c8ca70a084aa84" url: "https://pub.flutter-io.cn" source: hosted - version: "0.4.0+3" + version: "0.4.1" term_glyph: dependency: transitive description: @@ -911,18 +910,18 @@ packages: dependency: transitive description: name: test_api - sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206 + sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb url: "https://pub.flutter-io.cn" source: hosted - version: "0.4.16" + version: "0.5.1" timing: dependency: transitive description: name: timing - sha256: c386d07d7f5efc613479a7c4d9d64b03710b03cfaa7e8ad5f2bfb295a1f0dfad + sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" url: "https://pub.flutter-io.cn" source: hosted - version: "1.0.0" + version: "1.0.1" tray_manager: dependency: "direct main" description: @@ -935,10 +934,10 @@ packages: dependency: transitive description: name: typed_data - sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5" + sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.flutter-io.cn" source: hosted - version: "1.3.1" + version: "1.3.2" uri_to_file: dependency: "direct main" description: @@ -951,66 +950,66 @@ packages: dependency: "direct main" description: name: url_launcher - sha256: "568176fc8ab5ac1d88ff0db8ff28659d103851670dda55e83b485664c2309299" + sha256: "781bd58a1eb16069412365c98597726cd8810ae27435f04b3b4d3a470bacd61e" url: "https://pub.flutter-io.cn" source: hosted - version: "6.1.6" + version: "6.1.12" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: "9e262cbec69233717d5198f4d0b0c4961fa027e3685ba425442c43c64f38bb9b" + sha256: "15f5acbf0dce90146a0f5a2c4a002b1814a6303c4c5c075aa2623b2d16156f03" url: "https://pub.flutter-io.cn" source: hosted - version: "6.0.19" + version: "6.0.36" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: "6ba7dddee26c9fae27c9203c424631109d73c8fa26cfa7bc3e35e751cb87f62e" + sha256: "9af7ea73259886b92199f9e42c116072f05ff9bea2dcb339ab935dfc957392c2" url: "https://pub.flutter-io.cn" source: hosted - version: "6.0.17" + version: "6.1.4" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: "360fa359ab06bcb4f7c5cd3123a2a9a4d3364d4575d27c4b33468bd4497dd094" + sha256: "207f4ddda99b95b4d4868320a352d374b0b7e05eefad95a4a26f57da413443f5" url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.1" + version: "3.0.5" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: a9b3ea9043eabfaadfa3fb89de67a11210d85569086d22b3854484beab8b3978 + sha256: "91ee3e75ea9dadf38036200c5d3743518f4a5eb77a8d13fda1ee5764373f185e" url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.1" + version: "3.0.5" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface - sha256: "80b860b31a11ebbcbe51b8fe887efc204f3af91522f3b51bcda4622d276d2120" + sha256: bfdfa402f1f3298637d71ca8ecfe840b4696698213d5346e9d12d4ab647ee2ea url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.0" + version: "2.1.3" url_launcher_web: dependency: transitive description: name: url_launcher_web - sha256: "5669882643b96bb6d5786637cac727c6e918a790053b09245fd4513b8a07df2a" + sha256: cc26720eefe98c1b71d85f9dc7ef0cada5132617046369d9dc296b3ecaa5cbb4 url: "https://pub.flutter-io.cn" source: hosted - version: "2.0.13" + version: "2.0.18" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: e3c3b16d3104260c10eea3b0e34272aaa57921f83148b0619f74c2eced9b7ef1 + sha256: "7967065dd2b5fccc18c653b97958fdf839c5478c28e767c61ee879f4e7882422" url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.1" + version: "3.0.7" vector_math: dependency: transitive description: @@ -1023,58 +1022,66 @@ packages: dependency: transitive description: name: watcher - sha256: e42dfcc48f67618344da967b10f62de57e04bae01d9d3af4c2596f3712a88c99 + sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" url: "https://pub.flutter-io.cn" source: hosted - version: "1.0.1" + version: "1.1.0" web_socket_channel: dependency: transitive description: name: web_socket_channel - sha256: "3a969ddcc204a3e34e863d204b29c0752716f78b6f9cc8235083208d268a4ccd" + sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b url: "https://pub.flutter-io.cn" source: hosted - version: "2.2.0" + version: "2.4.0" win32: dependency: transitive description: name: win32 - sha256: "5a751eddf9db89b3e5f9d50c20ab8612296e4e8db69009788d6c8b060a84191c" + sha256: dfdf0136e0aa7a1b474ea133e67cb0154a0acd2599c4f3ada3b49d38d38793ee url: "https://pub.flutter-io.cn" source: hosted - version: "4.1.4" + version: "5.0.5" window_manager: dependency: "direct main" description: name: window_manager - sha256: "95096fede562cbb65f30d38b62d819a458f59ba9fe4a317f6cee669710f6676b" + sha256: "9eef00e393e7f9308309ce9a8b2398c9ee3ca78b50c96e8b4f9873945693ac88" url: "https://pub.flutter-io.cn" source: hosted - version: "0.3.4" + version: "0.3.5" xdg_directories: dependency: transitive description: name: xdg_directories - sha256: "11541eedefbcaec9de35aa82650b695297ce668662bbd6e3911a7fabdbde589f" + sha256: ee1505df1426458f7f60aac270645098d318a8b4766d85fde75f76f2e21807d1 url: "https://pub.flutter-io.cn" source: hosted - version: "0.2.0+2" + version: "1.0.0" xml: dependency: transitive description: name: xml - sha256: ac0e3f4bf00ba2708c33fbabbbe766300e509f8c82dbd4ab6525039813f7e2fb + sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84" url: "https://pub.flutter-io.cn" source: hosted - version: "6.1.0" + version: "6.3.0" yaml: dependency: transitive description: name: yaml - sha256: "23812a9b125b48d4007117254bca50abb6c712352927eece9e155207b1db2370" + sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" url: "https://pub.flutter-io.cn" source: hosted - version: "3.1.1" + version: "3.1.2" + yaml_edit: + dependency: transitive + description: + name: yaml_edit + sha256: "1579d4a0340a83cf9e4d580ea51a16329c916973bffd5bd4b45e911b25d46bfd" + url: "https://pub.flutter-io.cn" + source: hosted + version: "2.1.1" sdks: - dart: ">=2.18.0 <3.0.0" - flutter: ">=3.7.0" + dart: ">=3.0.0 <3.2.0" + flutter: ">=3.10.0" diff --git a/ui/flutter/pubspec.yaml b/ui/flutter/pubspec.yaml index aa44ef25..9d6c74c0 100644 --- a/ui/flutter/pubspec.yaml +++ b/ui/flutter/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 1.3.5+1 environment: - sdk: ">=2.17.6 <3.0.0" + sdk: '>=3.0.0 <4.0.0' # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions @@ -46,7 +46,7 @@ dependencies: macos_secure_bookmarks: ^0.2.1 rounded_loading_button: ^2.1.0 url_launcher: ^6.1.6 - shared_preferences: ^2.0.15 + shared_preferences: ^2.2.0 logger: ^1.3.0 desktop_drop: ^0.3.3 package_info_plus: ^4.0.0 @@ -67,14 +67,11 @@ dev_dependencies: # package. See that file for information about deactivating specific lint # rules and activating additional ones. flutter_lints: ^2.0.0 - ffigen: ^6.1.2 + ffigen: ^8.0.2 # build json model: flutter pub run build_runner build --delete-conflicting-outputs build_runner: ^2.2.1 json_serializable: ^6.3.2 - flutter_launcher_icons: - git: - url: https://github.com/fluttercommunity/flutter_launcher_icons.git - ref: v0.11.0 + flutter_launcher_icons: ^0.13.1 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec @@ -128,6 +125,7 @@ flutter_icons: generate: true image_path: "assets/icon/icon_macos_1024.png" +# flutter pub run ffigen ffigen: name: LibgopeedBind description: Bindings to gopeed library.