Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
3f0d202
👾 修了2个BUG:*在Ready里注册的东西晚于Document加载;* 切换窗口后浏览器获取不了焦点。
XuanchenLin Aug 15, 2023
ec8d8eb
🔧 微调了一下OnReady的触发方式,避免Render挂掉重启后注册的JSObject丢失的问题。
XuanchenLin Aug 15, 2023
38d9f92
👾 修复了系统DPI不为100%时LayeredWindow图像丢失的问题#366
XuanchenLin Aug 17, 2023
20caa00
👾 修改了Demo对Runtime的错误引用导致的程序无法启动的问题。
XuanchenLin Sep 1, 2023
26b351c
🪛 JS的相关代码更新了一下,新版准备抄袭之~
XuanchenLin Sep 11, 2023
79692cf
👾 修复了几个bug
XuanchenLin Oct 6, 2023
1966d83
🎉 更新 Pipeline,自动推送nupkg.
XuanchenLin Oct 6, 2023
34d168b
👍 New NanUI will be coming soon...
XuanchenLin Oct 9, 2023
df346e3
🎉 Introduce you the new WinFormium project!
XuanchenLin Oct 9, 2023
b9456fe
🎉 Introduce you the new WinFormium project!
XuanchenLin Oct 9, 2023
8ead465
🎉 Introduce you the new WinFormium project!
XuanchenLin Oct 9, 2023
0fb6a45
✏️ Modify this file to custom Visual Studio editor config
XuanchenLin Oct 9, 2023
f8078c1
🔒 Default editor config
XuanchenLin Oct 9, 2023
7ac6b4a
🔒 Default git config
XuanchenLin Oct 9, 2023
d07420c
📢 Changelog
XuanchenLin Oct 9, 2023
db1c2fd
🪛 Default project settings
XuanchenLin Oct 9, 2023
ab681a6
📑 MIT License
XuanchenLin Oct 9, 2023
b6aee16
🎉 WinFomrium Project
XuanchenLin Oct 9, 2023
d0f25b8
🎉 Introduce you the the WinFormium project!
XuanchenLin Oct 9, 2023
9962060
🏆 Introduce you the the WinFormium project!
XuanchenLin Oct 9, 2023
b3dd152
🎨 WinFormium Artworks
XuanchenLin Oct 9, 2023
db9a2da
📖 Documentation of WinFormium
XuanchenLin Oct 9, 2023
9da2f7d
👍 The new NanUI will be coming to you soon!
XuanchenLin Oct 9, 2023
0e6b3d1
🔒 Default editor config
XuanchenLin Oct 9, 2023
c1af4e1
📢 Changelog
XuanchenLin Oct 9, 2023
0df5008
🌍 Enable CDN for Nuget by editing this file
XuanchenLin Oct 9, 2023
e3a545f
👍 The new NanUI will be coming to you soon!
XuanchenLin Oct 9, 2023
2b3b585
👍 The new NanUI will be coming to you soon!
XuanchenLin Oct 9, 2023
e57af64
🎮 Examples
XuanchenLin Oct 10, 2023
3f2224e
🎉 The new NanUI is here now.
XuanchenLin Oct 10, 2023
f4030f4
🏆 The WinFormium Project
XuanchenLin Oct 10, 2023
7504814
🎮 Examples
XuanchenLin Oct 10, 2023
d547cd1
🎉 The new NanUI is here now.
XuanchenLin Oct 10, 2023
0c65042
🎉Update README.md
XuanchenLin Oct 11, 2023
c4b87b9
🎉Update README.md
eltociear Oct 11, 2023
f6b5c2d
Merge pull request #370 from eltociear/patch-1
XuanchenLin Oct 11, 2023
426e495
docs: fix typo in README.md
suravshresth Oct 19, 2023
96ed7d6
Merge pull request #377 from suravshresth/patch1
XuanchenLin Oct 19, 2023
0f2d007
Update README.md
Shivam250702 Oct 22, 2023
1b7b78e
Merge pull request #378 from Shivam250702/master
XuanchenLin Oct 22, 2023
0d65a44
Update README.md
XuanchenLin Oct 22, 2023
ae41408
👾 Bug fix
XuanchenLin Oct 22, 2023
5b3cbf7
📖 Documentation
XuanchenLin Oct 22, 2023
cf3983e
Merge branch 'master' of https://github.com/XuanchenLin/NanUI
XuanchenLin Oct 22, 2023
5573d4a
📖 Documentation
XuanchenLin Oct 22, 2023
593e5a6
📖 Documentation
XuanchenLin Oct 22, 2023
3b2fb10
Update README.md
XuanchenLin Oct 22, 2023
4e9b23f
🏆 Modify project infos
XuanchenLin Nov 2, 2023
c887c3e
💯 Update auto build workflow
XuanchenLin Nov 2, 2023
c13ac10
🎮 Examples
XuanchenLin Nov 2, 2023
7297877
🎉 Data Resource Handler is ready!
XuanchenLin Nov 3, 2023
3a6235d
👾 Fix several bugs.
XuanchenLin Nov 25, 2023
758a78c
👾 Fix Bug: Fixed an issue where the ImportFromCurrentAssembly loaded …
XuanchenLin Mar 8, 2024
dc071c8
🪄 Modify a few API names of JavaScript Message Interface.
XuanchenLin Mar 10, 2024
aab2752
👾 [Bug]: Fixed the issue of download events not triggering.
XuanchenLin Mar 13, 2024
bb0da37
👾 [BUG]: Fixed an issue that will cause download action failed.
XuanchenLin Mar 13, 2024
8d61d28
👾 [BUG]: Fixed an issue that will cause the webbrowser showing at a w…
XuanchenLin Mar 30, 2024
0a7149a
👾 [BUG]: Fixed an issue where precision was lost when numbers were pa…
XuanchenLin May 1, 2024
22a68fc
👾 [BUG]: Fixed an issue at https://gitee.com/dotnetchina/NanUI/issues…
XuanchenLin May 1, 2024
22f53fa
👾 [BUG]: Fixed an issue that would fail when registering JavaScriptOb…
XuanchenLin May 26, 2024
55bbcd9
👾 [BUG]: Fixed an issue that caused the Url attribute specified in th…
XuanchenLin May 27, 2024
5758ae4
🪄 Fixed some grammatical errors.
XuanchenLin Jun 19, 2024
4cfbf8c
👾 We have implemented serveral unimplemented interfaces previously fo…
XuanchenLin Feb 14, 2025
a351e6d
修复多个屏幕时 x,y溢出问题
PingXD Feb 15, 2025
d2c5fda
Merge pull request #386 from PingXD/master
XuanchenLin Mar 15, 2025
8b214ce
Merged features of WinFormium Commercial Edition and made some adjust…
XuanchenLin Mar 18, 2025
e8fed44
Update main.yml
XuanchenLin Mar 18, 2025
571697e
Update main.yml
XuanchenLin Mar 18, 2025
b3ae8ff
Update main.yml
XuanchenLin Mar 18, 2025
663e9be
🎶 Update to v1.1
XuanchenLin Mar 18, 2025
e2a6a42
Merge branch 'master' of https://github.com/XuanchenLin/NanUI
XuanchenLin Mar 18, 2025
cad2630
🎶 Update ci
XuanchenLin Mar 18, 2025
fd28c97
📖 Read Me
XuanchenLin Mar 19, 2025
655620b
✨ Add supports for .NET8.0/9.0
XuanchenLin May 9, 2025
666dd73
🪄 Update main.yml
XuanchenLin May 9, 2025
d9374ce
✨ The NanUI Project
XuanchenLin May 9, 2025
acd18fe
🪳 fix code serialization issues
XuanchenLin May 9, 2025
0749d8d
Merge branch 'master' of https://github.com/XuanchenLin/NanUI
XuanchenLin May 9, 2025
fe86eb4
📖 中文文档
XuanchenLin May 14, 2025
52607e9
✨ The NanUI Project
XuanchenLin May 14, 2025
a0a3064
🪳 Fixed an issue of ProxyResourceHandler that caused the ContentBody …
XuanchenLin May 22, 2025
c73b745
Update main.yml
XuanchenLin May 22, 2025
52a30aa
处理 ProxyResourceHandler 里 POST 数据为 JSON 时可能出现的 JSON 序列化错误。
XuanchenLin May 23, 2025
748585b
🪄 Reduced the flickering when use Osr handler on HiDpi monitors.
XuanchenLin May 25, 2025
1bd6e60
🎉 Add support for .NET 10
XuanchenLin Nov 20, 2025
a0174c8
Update .NET Core version to 10.0.x
XuanchenLin Nov 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
344 changes: 257 additions & 87 deletions .editorconfig

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################

* text=auto

###############################################################################
Expand All @@ -17,7 +18,7 @@
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
Expand Down Expand Up @@ -47,9 +48,9 @@

###############################################################################
# diff behavior for common document formats
#
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
Expand Down
21 changes: 0 additions & 21 deletions .github/ISSUE_TEMPLATE/-------bug-report.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/-------feature-request.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/-----question.md

This file was deleted.

39 changes: 27 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,64 @@
name: NanUI CI/CD Pipeline

on: [push, pull_request, workflow_dispatch]
on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
ci:
runs-on: windows-2022
runs-on: windows-latest
steps:
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: "7.0.x"
dotnet-version: "10.0.x"

- name: Get .NET information
run: dotnet --info

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2
with:
vs-version: '[17.0,18.0)'
vs-version: "[17.0,18.0)"
vs-prerelease: true

- name: Checkout repository
id: checkout_repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Clean .NET cache
id: clean_dotnet_cache
shell: pwsh
run: |
dotnet clean .\NetDimension.NanUI.sln
dotnet clean .\"NanUI.sln"
dotnet nuget locals all --clear

- name: Install NuGet packages
id: install_nuget_packages
shell: pwsh
run: |
nuget restore .\NetDimension.NanUI.sln
nuget restore .\"NanUI.sln"

- name: Build solution
id: build_solution
shell: pwsh
run: |
msbuild .\NetDimension.NanUI.sln
msbuild .\"NanUI.sln" -property:Configuration=Release

- name: Install Nuget
run: |
$sourceNugetExe = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
$targetNugetExe = "nuget.exe"
Invoke-WebRequest $sourceNugetExe -OutFile $targetNugetExe

- name: Push Nuget package
run: |
.\nuget.exe push .\bin\NetDimension.NanUI.*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_KEY }} -NoSymbols -SkipDuplicate
.\nuget.exe push .\bin\NetDimension.NanUI.*.snupkg -Source https://api.nuget.org/v3/index.json -ApiKey ${{ secrets.NUGET_KEY }} -SkipDuplicate

# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##

## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# User-specific files
Expand Down
3 changes: 3 additions & 0 deletions CHANELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
October 10th, 2023
==================
The source code of WinFormium (AKA.NanUI) v1.0 is released.
60 changes: 0 additions & 60 deletions CHANGELOG

This file was deleted.

11 changes: 5 additions & 6 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
<Project>
<Project>
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<RepositoryRootDirectory>$(MSBuildThisFileDirectory)</RepositoryRootDirectory>
<BinDir>$(RepositoryRootDirectory)bin</BinDir>
<BaseOutputPath Condition=" '$(BaseOutputPath)' == '' ">$(BinDir)\$(MSBuildProjectName)\</BaseOutputPath>
<LangVersion>9.0</LangVersion>
<LangVersion>latest</LangVersion>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<NoWarn>CS1591;CS1701</NoWarn>
<Company>Net Dimension Studio</Company>
<Authors>Xuanchen Lin</Authors>
<Copyright>Copyright © 2016-$([System.DateTime]::Now.Year) Xuanchen Lin all rights reserved.</Copyright>
<RepositoryUrl>https://github.com/NetDimension/NanUI</RepositoryUrl>
<PackageProjectUrl>https://www.formium.net</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyrights © 2015-$([System.DateTime]::Now.Year) Xuanchen Lin. All rights reserved.</Copyright>
<RepositoryUrl>https://github.com/XuanchenLin/WinFormium</RepositoryUrl>
<PackageProjectUrl>https://github.com/XuanchenLin/WinFormium</PackageProjectUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (C) 2014 - 2023, Xuanchen Lin all rights reserved.
Copyrights (C) 2014 - present, Xuanchen Lin (Mr.JSON). All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
56 changes: 56 additions & 0 deletions NanUI.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.7.34031.279
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D661C15E-B241-437A-96BC-79EB89B2B45E}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
CHANELOG = CHANELOG
Directory.Build.props = Directory.Build.props
LICENSE = LICENSE
NuGet.config = NuGet.config
README.md = README.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{EE18C1E1-C498-4D14-985D-CD9E963C2C82}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MinimalWinFormiumApp", "examples\MinimalWinFormiumApp\MinimalWinFormiumApp.csproj", "{F651C9B7-EBB9-4B1D-97E2-4F76D08C1B59}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinFormiumSubProcess", "examples\WinFormiumSubProcess\WinFormiumSubProcess.csproj", "{6FE75BD1-B2C6-4EEF-B9EA-F19CD91E375C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetDimension.NanUI", "src\NetDimension.NanUI.csproj", "{B401A2ED-DD1E-3F84-44CF-483B109E098C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Library", "Library", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F651C9B7-EBB9-4B1D-97E2-4F76D08C1B59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F651C9B7-EBB9-4B1D-97E2-4F76D08C1B59}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F651C9B7-EBB9-4B1D-97E2-4F76D08C1B59}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F651C9B7-EBB9-4B1D-97E2-4F76D08C1B59}.Release|Any CPU.Build.0 = Release|Any CPU
{6FE75BD1-B2C6-4EEF-B9EA-F19CD91E375C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6FE75BD1-B2C6-4EEF-B9EA-F19CD91E375C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6FE75BD1-B2C6-4EEF-B9EA-F19CD91E375C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6FE75BD1-B2C6-4EEF-B9EA-F19CD91E375C}.Release|Any CPU.Build.0 = Release|Any CPU
{B401A2ED-DD1E-3F84-44CF-483B109E098C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B401A2ED-DD1E-3F84-44CF-483B109E098C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B401A2ED-DD1E-3F84-44CF-483B109E098C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B401A2ED-DD1E-3F84-44CF-483B109E098C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{F651C9B7-EBB9-4B1D-97E2-4F76D08C1B59} = {EE18C1E1-C498-4D14-985D-CD9E963C2C82}
{6FE75BD1-B2C6-4EEF-B9EA-F19CD91E375C} = {EE18C1E1-C498-4D14-985D-CD9E963C2C82}
{B401A2ED-DD1E-3F84-44CF-483B109E098C} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {3E182896-FC1E-48CA-BB92-55B90C56A174}
EndGlobalSection
EndGlobal
Loading