Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silk.NET 3.0 #864

Draft
wants to merge 500 commits into
base: main
Choose a base branch
from
Draft

Silk.NET 3.0 #864

wants to merge 500 commits into from

Conversation

Perksey
Copy link
Member

@Perksey Perksey commented Mar 26, 2022

#209

#529 was accidentally closed when I unf**ked the Git history for develop/3.0.

Perksey and others added 24 commits July 13, 2023 15:43
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.5 to 2.5.0.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](xunit/visualstudio.xunit@v2.4.5...2.5.0)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) from 0.13.5 to 0.13.6.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases)
- [Commits](dotnet/BenchmarkDotNet@v0.13.5...v0.13.6)

---
updated-dependencies:
- dependency-name: BenchmarkDotNet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.6.2 to 17.6.3.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.6.2...v17.6.3)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [HtmlAgilityPack](https://github.com/zzzprojects/html-agility-pack) from 1.11.48 to 1.11.49.
- [Release notes](https://github.com/zzzprojects/html-agility-pack/releases)
- [Commits](zzzprojects/html-agility-pack@v1.11.48...v1.11.49)

---
updated-dependencies:
- dependency-name: HtmlAgilityPack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) from 0.13.5 to 0.13.6.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases)
- [Commits](dotnet/BenchmarkDotNet@v0.13.5...v0.13.6)

---
updated-dependencies:
- dependency-name: BenchmarkDotNet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [xunit](https://github.com/xunit/xunit) from 2.4.2 to 2.5.0.
- [Commits](xunit/xunit@2.4.2...2.5.0)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>
Bumps [HtmlAgilityPack](https://github.com/zzzprojects/html-agility-pack) from 1.11.49 to 1.11.50.
- [Release notes](https://github.com/zzzprojects/html-agility-pack/releases)
- [Commits](zzzprojects/html-agility-pack@v1.11.49...v1.11.50)

---
updated-dependencies:
- dependency-name: HtmlAgilityPack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1584)

* start of adding missing this keyword in ToSystem and ToGeneric parameters for Vector4D<T>

* Added missed "this" keyword in SystemNumericsExtensions

* Added ToSystem and ToGeneric methods to public api for Vector4 and Vector4D<T>
Bumps [HtmlAgilityPack](https://github.com/zzzprojects/html-agility-pack) from 1.11.50 to 1.11.51.
- [Release notes](https://github.com/zzzprojects/html-agility-pack/releases)
- [Commits](zzzprojects/html-agility-pack@v1.11.50...v1.11.51)

---
updated-dependencies:
- dependency-name: HtmlAgilityPack
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix issues with mobile site. Add CSProj for website.

* Add tailwindcss.

* Add tailwind config

* Some more minor adjustments

* Attempt to fix build

---------

Co-authored-by: Dylan Perks <dylanperks23@gmail.com>
Co-authored-by: Dylan Perks <11160611+Perksey@users.noreply.github.com>
* Initial group codegen

* Fix some trimming oddities

* Fix HintTargetPGI and others similarly situated

* Base typing and namespacing

* Cast enum members, fix stray semicolons, Silk.NET.OpenGL builds again

* Group and bool transformations

* Fix erroneous cast order

* Add Delete(singular) overloads (ArrayParameterOverloader)

* Add SAL object model & Khronos length metadata parsing

* ArrayParameterTransformer w/ tests

* Integrate ArrayParameterTransformer

* Support SupportedApiProfileAttribute generation with metadata

* PrettifyNames conflict resolution now actually works

* Fix casting transformation ambiguity bugs

* Fix metadata retrieval for reserved identifiers

* Fix unit tests

* Fixup for all caps names

* Fix naive trimming bug

* More self-review comments

* SDL bindings

* Fix naming regression

* Prettify & extract the nested _e__{Union,Struct,FixedBuffer} structs

* Function pointer generation

* Add a second pass to name delegates based on usage!

* Fixes from self-review

* Windowing 3.0 Iteration 1 with Dependency Injection - scrapped

* WIP Windowing 3.0 for real this time

* Some more work

Will be pausing here as I need to change the bindings, and to be honest I don't want to do that without doing the SilkTouch refactor first.

* Rejig the repo structure

* Save progress, as I am deleting the progress

* Create a Roslyn compilation & workspace

* Bugfixes, generation runs with renaming but is slow and outputs wrong

* Some more bugfixes

* Fix mods not saving outputs, unnecessary subdirs, filenames, and other renamer issues

* Add IResponseFileMod, fix EntryPoint not in DllImport, and other fixes & improvements

* Delete some stray files

* Minor nits

* Initial commit of the SymbolFinder rename experiment

* This is the new renamer

* Fix ctors and dtors, stop using `using static`s

* Regenerate bindings

* Use public Roslyn APIs and parallelise

* Fix buidl

* Add ISurfaceProvider

* Add a write-up on the PAL HLU concepts/status for the future

* Remove the hosting API

* Start on a more clean sheet and conservative implementation

* Separate files

* Lay out impl, add new APIs from proposal

* Add a Utf8String helper type, and transform string constants to use it

* Move bakery functionality into a mod separate from SupportedApiProfiles

* Rename GetTypeDeclaration to BakeMember

* Cache the result of function pointer loading

* Fix vulnerability?

* Recognise some #define enums, improve pfn type gen, update SDL, more fixes

* Update ClangSharp (with no changes!!!!1111!1!!!111 🎉)

* Commit cache files too

* Add SDL_gpu (and other missing headers such as SDL_vulkan)

* Check-in rsp changes, add namespace for windowing, add SDL_main bindings

* Work on more of the implementation

* Triangle with Silk.NET.Windowing 3.0

* Implement all APIs

* Wire up all relevant events

* Sweep a macOS deficiency under the rug

* Apply initial configuration, surprisingly little code...

* Initial work on native build workflow

* Stop using YAML for GITHUB_OUTPUT

* Add GH_TOKEN env var to stage2

* Use an action for comment writing instead

* Fix permissions, try to fix expr issue

* Same again

* Fix PR comment location

* Replace the comment rather than append to it

* Start of native build job

* Attempt to fix matrix

* Add a job name, fix build script permissions issues

* Add OSX build for SDL

* Start of commit job

* Add missing checkout

* Use official action to checkout PR

* Fix permissions issues

* Update native binaries for bc82423

* Start of linux-x64 SDL build

* Sudo for apt

* apt-get update

* Checkout submodule

* Fix path error

* Update native binaries for ece2459

* Add linux-arm and linux-arm64

* Use glibc 2.34 on linux-arm for Y2038 support

* Update native binaries for 3e3df2c

* Add win-arm, win-arm64, win-x64

* Fix dir structure

* Attempt to keep win-arm support, may be on the chopping block though

* Fix batch script error

* Use curl instead of wget?

* Fix winsdk install?

* Remove 32-bit Windows on Arm support

* Use a Microsoft Developer Command Prompt

* Fix vcvarsall path

* Use Ninja - libsdl-org/SDL##11487

* Update native binaries for 601bb66

* Fix artifact download path

* Fix the fix

* Update native binaries for 4630438

* Add iOS and tvOS for SDL

* Fix file permissions

* Update native binaries for 45f36d0

* Add Android build for SDL

* Apparently sdkmanager is not in PATH

* Install Python 3.11

* Install Ninja

* Update native binaries for d7d3c69

* Try to ungitignore the Android jar

* Update native binaries for f79ad90

* Add an easy update script

* Include org.libsdl.app bindings with the aar, working package now

* Update native binaries for 8cf95c2

* Some cleanup, and add docs

* Fix build

* Install workloads in test too

* Update native binaries for 186f907

* Fix build (not ideally)

* Update native binaries for 44b9933

* Dummy commit to run Test/Build again

* Remove old code

* Fix it

* Stop downloading previews?

* Add dependency to native package for SDL

* Fix build

* Only duplicate the VersionSuffix for natives

* Add SilkActivity

* WG comments

* Fix build?

* More build fix attempts

* Use the condition guards for xplat builds

* Fix csproj

* Clear locals to try and fix weird .NET SDK bug

* Add workaround from dotnet/maui#27215

* Fixes from self review

* Rectify remaining self-review comments

* nit

---------

Co-authored-by: The Silk.NET Automaton <9011267+dotnet-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants