跨平台WPF框架Avalonia教程 一

news2024/11/18 5:45:31

安装

安装 Avalonia UI 模板​

开始使用 Avalonia 的最佳方式是使用模板创建一个应用程序。

要安装 Avalonia 模板,请运行以下命令:

dotnet new install Avalonia.Templates

备注

对于 .NET 6.0 及更早版本,请将 install 替换为 --install

要列出已安装的模板,请运行以下命令:

 dotnet new list

您应该可以看到已安装的 Avalonia 模板:

Template Name Short Name Language Tags
-------------------------------------------- -------------------------- ---------- ---------------------------------------------------------
Avalonia App avalonia.app [C#],F# Desktop/Xaml/Avalonia/Windows/Linux/macOS
Avalonia MVVM App avalonia.mvvm [C#],F# Desktop/Xaml/Avalonia/Windows/Linux/macOS
Avalonia Cross Platform Application avalonia.xplat [C#],F# Desktop/Xaml/Avalonia/Web/Mobile
Avalonia Resource Dictionary avalonia.resource Desktop/Xaml/Avalonia/Windows/Linux/macOS
Avalonia Styles avalonia.styles Desktop/Xaml/Avalonia/Windows/Linux/macOS
Avalonia TemplatedControl avalonia.templatedcontrol [C#],F# Desktop/Xaml/Avalonia/Windows/Linux/macOS
Avalonia UserControl avalonia.usercontrol [C#],F# Desktop/Xaml/Avalonia/Windows/Linux/macOS
Avalonia Window avalonia.window [C#],F# Desktop/Xaml/Avalonia/Windows/Linux/macOS

设置编辑器

您可以使用任何代码编辑器创建Avalonia应用程序,但是使用IDE将为您提供Avalonia XAML预览器和代码补全的支持。

JetBrains Rider​

JetBrains Rider IDE在2020.3版本中开始内置支持Avalonia XAML,包括对Avalonia特定XAML功能和自定义代码检查的一流支持。

有关更多信息,请参阅JetBrains Rider 2020.3版本发布公告。

Rider目前还没有提供可视化设计工具,但正在开发中。请参阅GitHub项目获取更多信息和安装说明。

Visual Studio​

如果您正在使用Visual Studio开发Avalonia,您应该安装Avalonia for Visual Studio扩展。

该扩展提供了Avalonia XAML的智能感知支持以及预览功能。

安装Avalonia for Visual Studio扩展的步骤如下:

  • 在Visual Studio中,点击扩展菜单上的管理扩展
  • 搜索框中,输入"Avalonia"
  • 点击下载并按照说明进行操作(您需要关闭Visual Studio以完成安装)

信息

您也可以在此处下载扩展。

信息

如果您使用的是VS2019或VS2017,您需要在此处下载适用于旧版本的扩展。

最新功能

Avalonia 团队在本次发布中付出了巨大努力,我们非常兴奋地分享所有新的特性和改进。让我们一起来看看!

新特性​

A11y(无障碍功能)​

Avalonia 的这一版本在使应用程序更加无障碍方面迈出了重大步伐。我们增加了对各种辅助工具的支持,使得每个人都能更容易地使用Avalonia应用程序。

IME(输入法编辑器)支持​

我们引入了对输入法编辑器(IME)的支持,让用户能够输入在输入设备上找不到的字符和符号。

组合渲染器​

新的组合渲染器增强了图形渲染能力,提供了一个更强大、高效和灵活的渲染管线。

WebAssembly (WASM) 支持​

WASM 支持使得Avalonia应用程序可以直接在浏览器中运行,扩展了我们的平台支持,为开发者提供了更多自由和灵活性。

iOS 和 Android 支持​

我们添加了对iOS和Android平台的支持。现在开发者可以在这两个最受欢迎的移动平台上构建和运行Avalonia应用程序。

文本内联​

通过文本内联功能,你可以轻松构建复杂的格式化文本块。这使得在文本中添加注解、超链接和其他内联元素变得更加容易。

平滑虚拟化(重做的ItemsControl)​

我们完全重做了ItemsControl以实现平滑虚拟化。这提升了包含大量项的控件的效率和用户体验。

性能提升​

Avalonia 11.0带来了显著的性能提升,增强了应用程序的速度和效率。

控件主题、嵌套样式和主题变体​

我们增加了为控件主题化、应用嵌套样式以及选择主题变体的能力。这使得构建美观且一致的UI变得更加容易。

图像效果​

图像效果功能允许你对位图应用视觉效果,如模糊、投影等。

3D 变换​

现在,你可以使用3D变换在UI中创建令人惊叹的三维效果。

AOT(预编译)和修剪​

AOT编译让你的应用程序在运行前进行编译,从而运行更快。修剪功能通过移除未使用的代码减小应用的大小。

GPU 交互​

GPU交互特性使Avalonia能更有效地与GPU协同工作,提升渲染性能和视觉效果。

实验性Metal支持​

我们正在测试Metal支持,以提高iOS和macOS设备上的性能。

发布日志

你可以在Avalonia的GitHub仓库中找到所有版本的发布说明 https://github.com/AvaloniaUI/Avalonia/releases

11.0.7​

NuGet Gallery | Avalonia 11.0.7

Full Changelog: 11.0.6...11.0.7

What's Changed​

  • Fixed issue: Default font family name cannot be null or empty by @mihnea-radulescu in https://github.com/AvaloniaUI/Avalonia/pull/12817
  • Fixed missing resources for TimePicker & DatePicker in simple theme by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/12851
  • Fixed memory leak in Animatable transitions by @DmitryZhelnin in https://github.com/AvaloniaUI/Avalonia/pull/12861
  • Fixed issue with VirtualizingPanel's RemoveInternalChildRange() by @liwuqingxin in https://github.com/AvaloniaUI/Avalonia/pull/12877
  • Fixed Xaml Compiler error when code-behind class contains a DllImport method by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/12882
  • Fixed memory leak in TopLevel's Cursor property subscriptions by @DmitryZhelnin in https://github.com/AvaloniaUI/Avalonia/pull/12996
  • Added Clear function to Date and Time pickers by @rabbitism in https://github.com/AvaloniaUI/Avalonia/pull/13082
  • Fixed typo in ItemsControlFromItemContainer by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/13118
  • Updated RenderDataRectangleNode.HitTest for proper hit-testing of rounded rectangles by @billhenn in https://github.com/AvaloniaUI/Avalonia/pull/13797
  • Fixed initialization property order in SelectedItemsControl by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/13800
  • Implemented helper OutputApiDiff target by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13818
  • Unsubscribed Android back handler when toplevel is disposed by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/13831
  • Fixed DataGrid IList editing issue by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13845
  • Fixed TextLine run bounds union calculation by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/13847
  • Fixed TabItem.TabStripPlacement not being set for new tab items by @pavelovcharov in https://github.com/AvaloniaUI/Avalonia/pull/13849
  • Hackfix for calling SelectAll with SelectedItem binding by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13868
  • Fix OutOfMemory crash with LowLatencyDxgiSwapChain enabled by @ShadowMarker789 https://github.com/AvaloniaUI/Avalonia/pull/13869
  • Added transition leak tests by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13870
  • Fixed ToggleSwitch dragging by @Splitwirez in https://github.com/AvaloniaUI/Avalonia/pull/13893
  • Fixed Adorner Layer Clipping by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13921
  • Fixed BoxShadow style changes not triggering render updates on ContentPresenter by @Al12rs in https://github.com/AvaloniaUI/Avalonia/pull/13932
  • Added feature to allow treating Avalonia Access Unstable Private APIs Warning as Error by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/13937
  • OpenglControl - Don't queue update if control is not attached by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/13938
  • Fixed iOS Dispatcher by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13942
  • Used ShowNoActivate in Win32NativeControlHost by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13966
  • Don't override ContextMenu.Placement when Open is called from code by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13967
  • Don't share style instances with Or selector by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13969
  • Fixed IOSStorageFolder permission problem by @sghctoma in https://github.com/AvaloniaUI/Avalonia/pull/13976
  • Fixed Border and Shape border re-rendering when changing Brush value by @SKProCH in https://github.com/AvaloniaUI/Avalonia/pull/13980
  • Fixed DBus Exception on window close by @affederaffe in https://github.com/AvaloniaUI/Avalonia/pull/13997
  • Updated Tmds.DBus.SourceGenerator to 0.0.13 by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/14010
  • Fixed Relative line drawing in Geometries by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/14013
  • Removed missing MVID warning on XAML compilation by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/14014
  • Fixed color of selected DataGridRow by @zavaleriy in https://github.com/AvaloniaUI/Avalonia/pull/14026
  • Fixed regression in rendering of non-clear type text by @danwalmsley in https://github.com/AvaloniaUI/Avalonia/pull/14080
  • Don't crash on IsCurrent checks by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/14089
  • Implemented ApiInformation checks by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/14090
  • Fixed XML Docs: Renamed inheritdocs to inheritdoc by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/14093
  • Added an event to detect when an Application icon is clicked by @danwalmsley in https://github.com/AvaloniaUI/Avalonia/pull/14106
  • Improved TextBox behavior on Ctrl+Backspace down event by @exGensImpl in https://github.com/AvaloniaUI/Avalonia/pull/14138
  • Added InheritDataTypeFromItems for AutoCompleteBox.ValueMemberBinding by @gehongyan in https://github.com/AvaloniaUI/Avalonia/pull/14162
  • Fixed exception when SelectedValueBinding evaluates to null by @TomEdwardsEnscape in https://github.com/AvaloniaUI/Avalonia/pull/14171
  • Updated SkiaSharp to 2.88.7 to fix a memory exception by @MontagueM in https://github.com/AvaloniaUI/Avalonia/pull/14179
  • Ported DragMove logic from WPF by @jmacato in https://github.com/AvaloniaUI/Avalonia/pull/14186

11.0.6​

NuGet Gallery | Avalonia 11.0.6

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.5...11.0.6

Join Discussion: https://github.com/AvaloniaUI/Avalonia/discussions/13841

What's Changed​

  • Fix: RangeBase should not write coerced values back when DataContext is changing by @timunie in https://github.com/AvaloniaUI/Avalonia/pull/11918
  • Fix TabItem memory leak by @DmitryZhelnin in https://github.com/AvaloniaUI/Avalonia/pull/12418
  • Key handling improvements by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12549
  • Use Tmds.DBus.SourceGenerator 0.0.10 by @affederaffe in https://github.com/AvaloniaUI/Avalonia/pull/12730
  • Use the focus proxy window in X11 by @vlad-lubenskyi in https://github.com/AvaloniaUI/Avalonia/pull/12751
  • Finding ancestor IScrollAnchorProvider instead ScrollViewer. by @Meloman19 in https://github.com/AvaloniaUI/Avalonia/pull/13079
  • Fix ManagedFileChooser FileName issue by @rabbitism in https://github.com/AvaloniaUI/Avalonia/pull/13096
  • Introduce DrawingContextHelper.RenderAsync method by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13128
  • Ambiguous error message when you load App.axaml by @prashantvc in https://github.com/AvaloniaUI/Avalonia/pull/13129
  • Fix text hit testing for invisible runs by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/13135
  • Obsolete CubicBezierEasing by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/13137
  • #13123 Fix ButtonSpinnerLocation in SimpleTheme by @stogle in https://github.com/AvaloniaUI/Avalonia/pull/13142
  • [Text] Fix hit testing issues by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/13155
  • Remove viewport estimation from VirtualizingStackPanel by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/13169
  • Fix viewport calculation with non-invertible render transform by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/13188
  • Rethrow layout exceptions by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/13189
  • Fix text wrapping for chinese etc. by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/13193
  • fix(ImmutableSolidColorBrush): Missing assingment of ctor transform argument by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/13194
  • Fix macOS clipboard formats mapping by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13197
  • Implement Next action in android IME by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/13222
  • feat(Gestures): Allow using some Gestures events in Xaml by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/13232
  • Introduce TextBlock.LineSpacing by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/13243
  • Fix OpenGlControlBase: Ensure _updateQueued is set to false when DoCleanup() is called by @laolarou726 in https://github.com/AvaloniaUI/Avalonia/pull/13260
  • Add option to enable/disable input focus proxy for X11. by @jmacato in https://github.com/AvaloniaUI/Avalonia/pull/13273
  • Add TextBox.ScrollToLine by @mgnslndh in https://github.com/AvaloniaUI/Avalonia/pull/13274
  • X11 IME preedit, preedit cursor, input context improvements by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/13282
  • Fix TextLayout.OverhandLeading calculation by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/13287
  • Fix watermark alignment of TextBox in the Simple theme #5802 by @mgnslndh in https://github.com/AvaloniaUI/Avalonia/pull/13295
  • iBus support fixes by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/13297
  • Fix Sector Fill by @robloo in https://github.com/AvaloniaUI/Avalonia/pull/13304
  • Make Avalonia.Browser work on .NET 8 by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13312
  • Implement IList on DataGridCollectionView. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13313
  • Prevent gesture recognition when gesture is captured by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/13323
  • Exclude access key markers from native menu titles on macOS. by @Steveice10 in https://github.com/AvaloniaUI/Avalonia/pull/13338
  • Add tooltip support to NativeMenuItem. by @Steveice10 in https://github.com/AvaloniaUI/Avalonia/pull/13350
  • Update HarfBuzzSharp by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/13357
  • fix(CaptionButton): theme used hardcoded Background, Foreground and BorderBrush color by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/13373
  • Fix ShapedTextRun Split by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/13385
  • Fix some issues with focus scopes by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13409
  • Dispose CecilTypeSystem in XAML compiler task by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/13429
  • Tooltip inherits theme from control by @HermanKirshin in https://github.com/AvaloniaUI/Avalonia/pull/13454
  • Fix TimePicker empty designator on 12 hour clock by @maprosen in https://github.com/AvaloniaUI/Avalonia/pull/13469
  • Fix DateTimePicker scroll down by @maprosen in https://github.com/AvaloniaUI/Avalonia/pull/13482
  • Fix dragging a slider with a tooltip by @TomEdwardsEnscape in https://github.com/AvaloniaUI/Avalonia/pull/13489
  • Fixed passing current_folder to DBus for save file dialog by @HermanKirshin in https://github.com/AvaloniaUI/Avalonia/pull/13491
  • Fix issue #11006 by correcting SelectionChanged event to be fired AFTER (not before) raising Prop. by @lnxon in https://github.com/AvaloniaUI/Avalonia/pull/13503
  • Fix ImageBrush crash when source bitmap gets disposed by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/13506
  • fix: Navigation when CanExecute is fasle by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/13507
  • DataGrid inertial scroll support (#13502) by @stogle in https://github.com/AvaloniaUI/Avalonia/pull/13511
  • Fix for issue #13493 by @laolarou726 in https://github.com/AvaloniaUI/Avalonia/pull/13518
  • fix: Potential TransformGroup memory leak by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/13529
  • Avoid Adreno DXGI adapter on Win-ARM devices by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13538
  • Don't hide tooltip when pointer is over it. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13565
  • Fix: Allow ColorPicker-Fylout to swap position if needed by @timunie in https://github.com/AvaloniaUI/Avalonia/pull/13567
  • Update scaling when Position is set directly on x11 by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/13590
  • current_folder added to DBus open file / folder picker by @HermanKirshin in https://github.com/AvaloniaUI/Avalonia/pull/13596
  • Win32 file picker fixes by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13625
  • fix:Previewer connection fails from VSCode by @prashantvc in https://github.com/AvaloniaUI/Avalonia/pull/13630
  • Properly handle overhang with RTL FlowDirection by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/13631
  • Deferred scrolling by @TomEdwardsEnscape in https://github.com/AvaloniaUI/Avalonia/pull/13644
  • [WIP]Fix overhang leading calculation for negative values by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/13672
  • Fix blocking shutdown app with LibInput by @Seeung in https://github.com/AvaloniaUI/Avalonia/pull/13677
  • Data grid handled events by @ltetak in https://github.com/AvaloniaUI/Avalonia/pull/13680
  • Fix WasmExtraFilesToDeploy on non-Windows .NET 8 by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/13698
  • Fix Design.IsDesignMode being false in BuildAvaloniaApp method by @Takoooooo in https://github.com/AvaloniaUI/Avalonia/pull/13699
  • Update Xamarin.AndroidX by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/13708
  • Ignore mouse move when left window by @ltetak in https://github.com/AvaloniaUI/Avalonia/pull/13724
  • Allow users to change menu show delay by @WillisXue in https://github.com/AvaloniaUI/Avalonia/pull/13752
  • Fix overlapping items in VirtualizingStackPanel by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13765
  • Fix nth-child styles on virtualized lists by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13770
  • Fix Animation.FillMode when cue isn't 0% or 100% by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/13775
  • fix: Expander header icon flip when collapsing or expanding canceled by @memorydream in https://github.com/AvaloniaUI/Avalonia/pull/13780
  • release Context by @Coloryr in https://github.com/AvaloniaUI/Avalonia/pull/13788
  • Fix Some Virtualizing List Update Bugs by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13795
  • Added default excludes for AvaloniaXaml by @jp2masa in https://github.com/AvaloniaUI/Avalonia/pull/13809
  • Update Avalonia.Browser.props by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13820
  • Fix some issues with tabbing into virtualized list by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13826

11.0.5​

NuGet Gallery | Avalonia 11.0.5

What's Changed​

  • feat: Also allows using string instead of x:Type in ControlTemplate.TargetType by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/11575
  • feat: Handle ClrPropertyInfo in StaticResourceExtension by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/12047
  • fix DropDownButton glyph foreground color by @almightyju in https://github.com/AvaloniaUI/Avalonia/pull/12048
  • Fix NotificationCard to determine the type of notification from an inherited INotification object by @Onebeld in https://github.com/AvaloniaUI/Avalonia/pull/12103
  • Improve AutoCompleteBox performance by @timunie in https://github.com/AvaloniaUI/Avalonia/pull/12338
  • Fix issue #12453, TextBox does not scroll at the end of line when entering CJK characters via IME by @lnxon in https://github.com/AvaloniaUI/Avalonia/pull/12454
  • fix: AvaloniaVS can not resolve resource relative path in Previewer by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/12473
  • ToggleSwitch: fix toggle on single touch tap on the knob part by @msneijders in https://github.com/AvaloniaUI/Avalonia/pull/12520
  • When calculating geometry bounds take into account parameters that affect geometry bounds by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/12606
  • Allow setting a LineHeight that is smaller than the default by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12613
  • Fix TextTrimming in combination with TextWrapping by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12614
  • Fix for TextBlock.TextDecorations not inheriting down to inlines. by @billhenn in https://github.com/AvaloniaUI/Avalonia/pull/12624
  • Fix changing ItemsControl.ItemContainerTheme by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/12630
  • Update Rotate3DTransition.cs to fix flickering on backwards navigation by @yankun in https://github.com/AvaloniaUI/Avalonia/pull/12631
  • Fix for AccessText underlines being very blurry by @billhenn in https://github.com/AvaloniaUI/Avalonia/pull/12634
  • Revert Inline breaking change by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12638
  • csproj cleanup by @SimonCropp in https://github.com/AvaloniaUI/Avalonia/pull/12657
  • Call CaptureLost on gestures when pointer loses capture by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/12666
  • Fix Inlines TextTrimming with embedded controls by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12695
  • Fix OnOpenGlInit getting called twice by @wannkunstbeikor in https://github.com/AvaloniaUI/Avalonia/pull/12713
  • Updated Transition to use direct properties via use of new TransitionBase class by @billhenn in https://github.com/AvaloniaUI/Avalonia/pull/12716
  • Fix popups in Windows being offset incorrectly by a workaround for another issue by @billhenn in https://github.com/AvaloniaUI/Avalonia/pull/12725
  • Fix the scrollbar attaching to wrong scrollviewer, like scrollviewer . by @liwuqingxin in https://github.com/AvaloniaUI/Avalonia/pull/12732
  • Introduce DrawingContext Push/PopRenderOptions by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12734
  • Added Avalonia.ForTestingOnly to InternalsVisibleTo list by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/12750
  • Fix property analyzer exception with object initializers in cctors by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12754
  • Fix previewer security issue by @Takoooooo in https://github.com/AvaloniaUI/Avalonia/pull/12757
  • Ensure GlyphRunImpl has consistent bounds by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12765
  • [Mac] Fixes raw keyDown/textInput handling by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12774
  • Fix interpolator being called after last animation iteration by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12781
  • fix: DataGrid scroll should behave the same as ScrollViewer by @timunie in https://github.com/AvaloniaUI/Avalonia/pull/12787
  • Restore PathIcon Foreground setter in Fluent theme by @wieslawsoltes in https://github.com/AvaloniaUI/Avalonia/pull/12789
  • creating only one gtk thread by @HermanKirshin in https://github.com/AvaloniaUI/Avalonia/pull/12830
  • fixed restarting renderer when window is minimized and restored progr. by @HermanKirshin in https://github.com/AvaloniaUI/Avalonia/pull/12832
  • Fixed blinking caret in case TextPresenter detached and attached again by @HermanKirshin in https://github.com/AvaloniaUI/Avalonia/pull/12846
  • macOS: Disallow entering fullscreen when showing window. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/12865
  • macOS: Don't clear clipboard in SetText. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/12866
  • Fixes font family definitions that mix embedded and system fonts by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12871
  • Fix DataGrid' SelectedItems removing wrong item when DataGrid is grou. by @liwuqingxin in https://github.com/AvaloniaUI/Avalonia/pull/12875
  • Fix focus loss issue with AutocompleteBox by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/12883
  • macOS file type filter in native file dialog by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/12899
  • Change iOS initialization order by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/12915
  • Detect recursion and check for cancellation in analyser while loops by @TomEdwardsEnscape in https://github.com/AvaloniaUI/Avalonia/pull/12916
  • Trimmable runtime xaml loader by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/12937
  • [X11] Don't convert the current time from long to int by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/12941
  • [Windows] [IME] Prevent duplicate input for some IMEs by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12942
  • Fix - TextPresenter ignores FontStretch property by @VladimirDrobyshev in https://github.com/AvaloniaUI/Avalonia/pull/12947
  • Add support for setting tooltip text for TrayIcons on macOS by @Takoooooo in https://github.com/AvaloniaUI/Avalonia/pull/12948
  • Fix VirtualizingStackPanel and nth-child for the currently realizing item container by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12957
  • FluentTheme: settable ListBoxItem.FontWeight/FontSize by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12958
  • Added guards for compositor reentrancy and exposed batch lifetime events by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/12968
  • [Browser] [IME] Fix event handling by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12970
  • Fix HeadlessUnitTestSession creation race condition by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12979
  • Fix FontManager crash by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/12982
  • Fix XAML name generator with non-Avalonia XAML files by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13001
  • Fix unit tests culture by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/13016
  • Fix ItemsControl logical child removal by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13019
  • In Avalonia.Controls, modernized getter/setter syntax by @Lehonti in https://github.com/AvaloniaUI/Avalonia/pull/13021
  • Fix initial logical scrollable state by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13066
  • Fix offset expression animation by @Meloman19 in https://github.com/AvaloniaUI/Avalonia/pull/13071
  • Add "EGL_ANGLE_flexible_surface_compatibility" ext check by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13080
  • Fix CalendarDatePicker two way binding syntax. by @rabbitism in https://github.com/AvaloniaUI/Avalonia/pull/13083
  • fix: TemplateBinding clone should carry original Mode. by @rabbitism in https://github.com/AvaloniaUI/Avalonia/pull/13087
  • Fix popup tests randomly failing after logical scrollable tests by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/13098
  • [nuke] Use a regex to detect a release branch. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/13106
  • Update SkiaSharp to 2.88.6 to fix a critical security vulnerability by @spofdamon in https://github.com/AvaloniaUI/Avalonia/pull/13109
  • fix parsing the baseline version for api diff. by @danwalmsley in https://github.com/AvaloniaUI/Avalonia/pull/13156
  • Fix AccessKeyHandler matching on elements that are not effectively enabled. by @boydpatterson in https://github.com/AvaloniaUI/Avalonia/pull/13185
  • Try to fix api validator by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/13213

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.4...11.0.5


11.0.4​

Just some bug fixes! Stability++

NuGet Gallery | Avalonia 11.0.4

What's Changed​

  • [TransitioningContentControl] Manage his LogicalChildren by @danielmayost in https://github.com/AvaloniaUI/Avalonia/pull/12173
  • Set PreserveSig to true for OleGetClipboard by @EgorRudakov2 in https://github.com/AvaloniaUI/Avalonia/pull/12553
  • Fixed memory leaks in ContextMenu.cs by @adirh3 in https://github.com/AvaloniaUI/Avalonia/pull/12526
  • Fix DataGridHeader style by @Flithor in https://github.com/AvaloniaUI/Avalonia/pull/12544
  • remove legacy nuget feed no longer reachable. by @danwalmsley in https://github.com/AvaloniaUI/Avalonia/pull/12563
  • fix macos keydown and textinput events being raised in the wrong order. by @danwalmsley in https://github.com/AvaloniaUI/Avalonia/pull/12560
  • Fix for Track not arranging after IsDirectionReversed property changed. by @billhenn in https://github.com/AvaloniaUI/Avalonia/pull/12575
  • Enhanced Clipping and Rendered Visuals Tracking in ServerCompositionVisual by @stepangovorko in https://github.com/AvaloniaUI/Avalonia/pull/12568
  • Fix UI thread main loop cancellation from another thread on macOS by @de1acr0ix in https://github.com/AvaloniaUI/Avalonia/pull/12579
  • Introduce RenderOptions.RequiresFullOpacityHandling by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12572
  • Updated ToggleSplitButton.IsChecked to bind TwoWay by default, same as ToggleButton. by @billhenn in https://github.com/AvaloniaUI/Avalonia/pull/12584
  • Fixes TextBox measure logic for MaxLines scenario by @billhenn in https://github.com/AvaloniaUI/Avalonia/pull/12589
  • ShowInTaskBar with Owned window: make consistent with WPF by @danwalmsley in https://github.com/AvaloniaUI/Avalonia/pull/12593

New Contributors​

  • @EgorRudakov2 made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12553
  • @Flithor made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12544
  • @billhenn made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12575
  • @stepangovorko made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12568
  • @de1acr0ix made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12579

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.3...11.0.4


11.0.3​

Minor fixes and improvements

What's Changed​

  • feat(NumericUpDown): TextAlignment by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/12368
  • Make the animation display complete by @Coloryr in https://github.com/AvaloniaUI/Avalonia/pull/12364
  • Add null check for TextInputMethodClient in OnSelectionChanged() method by @3dfxuser in https://github.com/AvaloniaUI/Avalonia/pull/12415
  • Generate pdb for ref assemblies by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12410
  • Fix not working hotkey on a custom control. closes #12323 by @flexxxxer in https://github.com/AvaloniaUI/Avalonia/pull/12347
  • Fix DataContext not getting GC'd/Finalized. closes #12123 by @flexxxxer in https://github.com/AvaloniaUI/Avalonia/pull/12430
  • Unwrap win32 data object by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/12478
  • Allow embedded root automation peers. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/12330

New Contributors​

  • @Coloryr made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12364
  • @3dfxuser made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12415
  • @flexxxxer made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12347

11.0.2​

NuGet Gallery | Avalonia 11.0.2

What's Changed​

  • Use embedded pdb for analyzers and build tasks by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12336
  • Fix window incorrect positioning with window startup location CenterScreen on macOS by @Takoooooo in https://github.com/AvaloniaUI/Avalonia/pull/12327
  • Fixed issue where RowDetailsTemplate was getting the wrong DataContext by @Gundz in https://github.com/AvaloniaUI/Avalonia/pull/12174
  • Catch dbus errors so that WatchAsync can register all names by @ThereGoesMySanity in https://github.com/AvaloniaUI/Avalonia/pull/12377

New Contributors​

  • @Gundz made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12174

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.1...11.0.2


11.0.1​

Bug fixes only this time folks!

NuGet Gallery | Avalonia 11.0.1

What's Changed​

  • Fix datagrid not updating when not attached to tree by @almightyju in https://github.com/AvaloniaUI/Avalonia/pull/12009
  • Fix AutoCompleteBox not opening when the text box is empty by @AtomCrafty in https://github.com/AvaloniaUI/Avalonia/pull/12057
  • Add event trigger time in DevTools. #11338 by @yll690 in https://github.com/AvaloniaUI/Avalonia/pull/12036
  • Use CancellationToken in AvaloniaNameGenerator by @jankrib in https://github.com/AvaloniaUI/Avalonia/pull/12043
  • Country or Region by @afunc233 in https://github.com/AvaloniaUI/Avalonia/pull/12070
  • Fix EGL OpenGLControlBase on Win32 by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/12056
  • Drop original internal XAML resources after merge by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12074
  • Api validation tool by @maxkatz6 in https://github.com/AvaloniaUI/Avalonia/pull/12072
  • Setting child of TestRoot once by @YohDeadfall in https://github.com/AvaloniaUI/Avalonia/pull/12094
  • Add suppression for removed generated NamespaceInfo types by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12136
  • Changed null checks to make use of nameof() by @Lehonti in https://github.com/AvaloniaUI/Avalonia/pull/12150
  • Removed redundant Source check by @YohDeadfall in https://github.com/AvaloniaUI/Avalonia/pull/12035
  • Fix composition render resources invalidation by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12146
  • Rename ImportCompeted into ImportCompleted by @jgcodes2020 in https://github.com/AvaloniaUI/Avalonia/pull/12117
  • fix textbox crash double clicking last empty line 12161 by @startewho in https://github.com/AvaloniaUI/Avalonia/pull/12171
  • remove duplicates in InternalsVisibleTo by @viordash in https://github.com/AvaloniaUI/Avalonia/pull/12200
  • fix combobox inside popup 11954 by @startewho in https://github.com/AvaloniaUI/Avalonia/pull/12186
  • Fix SelectedValueBinding with items defined in XAML by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/12193
  • Added support for Mica Light & Dark based on Win11 by @adirh3 in https://github.com/AvaloniaUI/Avalonia/pull/12196
  • Allow to run previewer from command line via MSBuild target by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/12206
  • Fix typo in GetColorValues by @Sorien in https://github.com/AvaloniaUI/Avalonia/pull/12215
  • X11 mate clipboard by @viordash in https://github.com/AvaloniaUI/Avalonia/pull/12002
  • added clear function to combobox by @lhsrebel72 in https://github.com/AvaloniaUI/Avalonia/pull/12217
  • Generate external symbol packages by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12216
  • Remove unnecessary cast from RootAutomationNode. by @grokys in https://github.com/AvaloniaUI/Avalonia/pull/12222
  • Modernizing syntax by @Lehonti in https://github.com/AvaloniaUI/Avalonia/pull/12226
  • Special handling for macos dispatcher quirks by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/12230
  • Rework TextLine.GetNext/PreviousCharacterHit by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12239
  • Make dispatcher more usable on non-ui threads by @kekekeks in https://github.com/AvaloniaUI/Avalonia/pull/12240
  • macOS native: fix destructors accessing freed .NET objects by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12248
  • Fix window incorrect positioning with window startup location CenterScreen by @Takoooooo in https://github.com/AvaloniaUI/Avalonia/pull/12093
  • Update Rotate3DTransition.cs to fix flickering by @yankun in https://github.com/AvaloniaUI/Avalonia/pull/12254
  • Handle ScrollContentPresenter extent rounding errors by @MrJul in https://github.com/AvaloniaUI/Avalonia/pull/12256
  • Support non-generic AvaloniaProperty in GetObservable(converter) by @tomenscape in https://github.com/AvaloniaUI/Avalonia/pull/12160
  • Android - Text Input fixes by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/12270
  • feat(DataGrid): Allow binding DataGridColumn Witdh by @workgroupengineering in https://github.com/AvaloniaUI/Avalonia/pull/12088
  • Fix TextLine.GetCharacterHitFromDistance for mixed buffers by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12318
  • Fix creating fields for attached properties called name. closes #12283 by @Mrxx99 in https://github.com/AvaloniaUI/Avalonia/pull/12294
  • Fix windows with BorderOnly decoration being unresizable by @emmauss in https://github.com/AvaloniaUI/Avalonia/pull/12257
  • Fix segfault on Linux when typing in a TexBox by @iq2luc in https://github.com/AvaloniaUI/Avalonia/pull/12313
  • Adjust GetCharacterHitFromDistance to match what WPF expects by @Gillibald in https://github.com/AvaloniaUI/Avalonia/pull/12322

New Contributors​

  • @yll690 made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12036
  • @afunc233 made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12070
  • @Lehonti made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12150
  • @jgcodes2020 made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12117
  • @lhsrebel72 made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12217
  • @Mrxx99 made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12294
  • @iq2luc made their first contribution in https://github.com/AvaloniaUI/Avalonia/pull/12313

Full Changelog: https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.0.1


11.0.0​

Our docs have had an overhaul also: Avalonia Docs | Avalonia Docs

See this guide on how to update your application. https://docs.avaloniaui.net/docs/next/stay-up-to-date/upgrade-from-0.10

NuGet Gallery | Avalonia 11.0.0

What's New​

A11y (Accessibility)​

This version of Avalonia takes major strides in making applications more accessible. We've added support for various accessibility tools, making it easier for everyone to use Avalonia applications.

IME (Input Method Editor) Support​

We have introduced support for Input Method Editor (IME), this allows onscreen keyboards and input in all languages.

Compositing Renderer​

The new compositing renderer enhances the graphical rendering capabilities, providing a more robust, efficient, and flexible rendering pipeline.

WebAssembly (WASM) Support​

WASM support allows Avalonia applications to run directly in the browser, broadening our platform support and giving developers more freedom and flexibility.

iOS and Android Support​

We've added support for both iOS and Android platforms. Developers can now build and run Avalonia applications on two of the most popular mobile platforms.

Full Rich Text support​

You can now fully render rich text allowing you to render complex documents.

With the Text Inlines feature, you can easily construct complex formatted text blocks. It enables you to add annotations, hyperlinks, and other inline elements in your text.

Smooth Virtualization (Reworked ItemsControl)​

We've completely reworked the ItemsControl to provide smooth virtualization. This improves the efficiency and user experience for controls with many items.

Performance Improvements​

Avalonia 11.0 comes with significant performance improvements, enhancing the speed and efficiency of your applications.

Control Themes, Nested Styles, and Theme Variants​

We've added the ability to theme controls, apply nested styles, and choose theme variants. This makes it easier to build beautiful and consistent UIs.

Bitmap Effects​

The Bitmap Effects feature lets you apply visual effects to bitmaps. You can add blur, drop shadows, and other effects to images.

3D Transforms​

With 3D Transforms, you can now create stunning three-dimensional effects in your UI.

AOT (Ahead-Of-Time) Compilation and Trimming​

AOT compilation enables your apps to run faster by compiling them before runtime. Trimming reduces the size of your apps by removing unused code.

GPU Interop​

The GPU Interop feature allows Avalonia to work more efficiently with the GPU, improving rendering performance and visuals.

Experimental Metal Support​

We're testing Metal support to improve performance on iOS and macOS devices.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2242622.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

“fc-async”提供了基本的异步处理能力

在开发中,异步处理已经成为提升系统性能和用户体验的常用方式。然而,传统的@Async注解和基础的异步处理工具在面对复杂的任务场景时,存在局限性。这些局限性包括但不限于高并发环境下的稳定性、任务失败后的恢复机制、以及任务的监控和管理。 开源项目“fc-async”提供了基…

RGB与YCbCr转换算法

目录 RGB与YCbCr转换算法RGB与YCbCr色域介绍RGB模型YCbCr色域简介YCbCr的应用YUV 和 YCbCr 的区别 色彩转换公式 RGB 转 YCbCr 实现RGB 转 YCbCr 的 Matlab 实现RGB 转 YCbCr 的 FPGA 实现 YCbCr 转 RGB 实现YCbCr 转 RGB 的 Matlab 实现YCbCr 转 RGB 的 FPGA 实现 RGB与YCbCr转…

游戏引擎学习第八天

视频参考: https://www.bilibili.com/video/BV1ouUPYAErK/ 理解下面的代码 关于虚函数 代码分解 结构体 foo 的定义: struct foo {int32 X;int64 Y;virtual void Bar(int c); };foo 结构体有两个成员变量:X(int32 类型)和 Y&…

Vue2教程002:Vue指令

文章目录 2、Vue指令2.1 开发者工具2.2 v-html2.3 v-show和v-if2.4 v-else和v-else-if2.5 v-on2.5.1 内联语句2.5.2 methods 2、Vue指令 2.1 开发者工具 通过谷歌应用商店安装(需要科学上网)通过极简插件安装 2.2 v-html Vue会根据不同的指令&#x…

计算机视觉 ---图像模糊

1、图像模糊的作用: 减少噪声: 在图像获取过程中,例如通过相机拍摄或者传感器采集,可能会受到各种因素的干扰,从而引入噪声。这些噪声在图像上表现为一些孤立的、不符合图像主体内容的像素变化,如椒盐噪声&…

[JAVA]MyBatis框架—如何获取SqlSession对象实现数据交互(基础篇)

假设我们要查询数据库的用户信息,在MyBatis框架中,首先需要通过SqlSessionFactory创建SqlSession,然后才能使用SqlSession获取对应的Mapper接口,进而执行查询操作 在前一章我们学习了如何创建MyBatis的配置文件mybatis.config.xm…

node.js下载安装步骤整理

>> 进入node.js下载页面下载 | Node.js 中文网 >>点击 全部安装包 >>删除网址node后面部分,只保留如图所示部分,回车 >>点击进入v11.0.0/版本 >>点击下载node-v11.0.0-win-x64.zip(电脑是windows 64位操作系统适用) >…

解决IntelliJ IDEA的Plugins无法访问Marketplace去下载插件

勾选Auto-detect proxy setting并填入 https://plugins.jetbrains.com 代理URL,可以先做检查连接:

解决Jenkins使用 Git 参数插件拉取 commit 列表缓慢问题

Jenkins使用 Git 参数插件拉取 commit 列表缓慢问题 项目问题问题描述解决方案具体实现 项目问题 在 Jenkins 中使用 Git 参数插件 进行参数化构建,具有多方面的重要性和好处。这不仅提高了构建的灵活性和透明度,还能大大提升开发和运维效率。以下是使用…

Pytest-Bdd-Playwright 系列教程(9):使用 数据表(DataTable 参数) 来传递参数

Pytest-Bdd-Playwright 系列教程(9):使用 数据表(DataTable 参数) 来传递参数 前言一、什么是 datatable 参数?Gherkin 表格示例 二、datatable 参数的基本使用三、完整代码和运行效果完整的测试代码 前言 …

Windows内核编程准备

Windows内核编程 驱动 本课程涉及的驱动,是利用驱动程序的高级权限,去做一些用户层不能做的工作,严格来说,这些写出来的东西不能算是驱动,因为它不会驱动任何设备 权限 内核程序是运行在R0级的,因此比应…

uni-app快速入门(八)--常用内置组件(上)

uni-app提供了一套基础组件&#xff0c;类似HTML里的标签元素&#xff0c;不推荐在uni-app中使用使用div等HTML标签。在uni-app中&#xff0c;对应<div>的标签是view&#xff0c;对应<span>的是text&#xff0c;对应<a>的是navigator&#xff0c;常用uni-app…

【代码大模型】Compressing Pre-trained Models of Code into 3 MB论文阅读

Compressing Pre-trained Models of Code into 3 MB key word: code PLM, compression, GA算法 论文&#xff1a;https://dl.acm.org/doi/pdf/10.1145/3551349.3556964 代码&#xff1a;https://github.com/soarsmu/Compressor.git 【why】 1.问题描述&#xff1a; code LLM …

论文《基于现实迷宫地形的电脑鼠设计》深度分析——智能车驱动算法

论文概述 《基于现实迷宫地形的电脑鼠设计》是由吴润强、庹忠曜、刘文杰、项璟晨、孙科学等人于2023年发表的一篇优秀期刊论文。其针对现阶段电脑鼠计算量庞大且不适用于现实迷宫地形的问题&#xff0c;特基于超声波测距与传统迷宫算法原理&#xff0c;设计出一款可在现实迷宫地…

PG-DERN 解读:少样本学习、 双视角编码器、 关系图学习网络

本文提出了一种用于 分子属性预测 的 少样本学习&#xff08;Few-shot Learning&#xff09; 模型—— PG-DERN&#xff0c;该模型结合了 双视角编码器&#xff08;Dual-view Encoder&#xff09; 和 关系图学习网络&#xff08;Relation Graph Learning Network&#xff09; 双…

w039基于Web足球青训俱乐部管理后台系统开发

&#x1f64a;作者简介&#xff1a;多年一线开发工作经验&#xff0c;原创团队&#xff0c;分享技术代码帮助学生学习&#xff0c;独立完成自己的网站项目。 代码可以查看文章末尾⬇️联系方式获取&#xff0c;记得注明来意哦~&#x1f339;赠送计算机毕业设计600个选题excel文…

H3C NX30Pro刷机教程-2024-11-16

H3C NX30Pro刷机教程-2024-11-16 ref: http://www.ttcoder.cn/index.php/2024/11/03/h3c-nx30pro亲测无需分区备份 路由器-新机初始化设置路由器登录密码telnet进入路由器后台 刷机上传uboot到路由器后台在Windows环境下解压后的软件包中打开 tftpd64.exe在NX30Pro环境下通过以…

[2024最新] java八股文实用版(附带原理)---java集合篇

介绍一下常见的list实现类&#xff1f; ArrayList 线程不安全&#xff0c;内部是通过数组实现的&#xff0c;继承了AbstractList&#xff0c;实现了List&#xff0c;适合随机查找和遍历&#xff0c;不适合插入和删除。排列有序&#xff0c;可重复&#xff0c;当容量不够的时候…

python 异步编程之协程

最近在学习python的异步编程&#xff0c;这里就简单记录一下&#xff0c;免得日后忘记。 首先&#xff0c;python异步实现大概有三种方式&#xff0c;多进程&#xff0c;多线程和协程&#xff1b;多线程和多进程就不用多说了&#xff0c;基本上每种语言都会有多进行和多线程的…

20241112-Pycharm使用托管的Anaconda的Jupyter Notebook

Pycharm使用托管的Anaconda的Jupyter Notebook 要求 不要每次使用 Pycharm 运行 Jupyter 文件时都要手动打开 Anaconda 的 Jupyter Notebook 正文 pycharm中配置好会自动安装的&#xff0c;有的要自己配置 Pycharm中配置 文件 ——> 设置 ——> 语言和框架……&am…