Skip to content

Commit 7df009f

Browse files
authored
Update to .NET 9, copyright year & version (#1265)
* Update to .NET 9, update copyright year & version Signed-off-by: AnErrupTion <[email protected]> * Update source code generator & regenerate classes Signed-off-by: AnErrupTion <[email protected]> * Update CreateCoreLib tool for .NET 9 core library Signed-off-by: AnErrupTion <[email protected]> * Fix Windows build Signed-off-by: AnErrupTion <[email protected]> * Forgot to import System.ComponentModel Signed-off-by: AnErrupTion <[email protected]> * Make 32-bit and 64-bit float to int conversions saturating on x86 and x64 Signed-off-by: AnErrupTion <[email protected]> --------- Signed-off-by: AnErrupTion <[email protected]>
1 parent ce0c3a1 commit 7df009f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+617
-382
lines changed

.github/workflows/builds.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
env:
2424
NUGET_ENABLE_LEGACY_CSPROJ_PACK: true
2525
steps:
26-
- name: Set net8.0
26+
- name: Set net9.0
2727
uses: actions/setup-dotnet@v4
2828
with:
29-
dotnet-version: '8.0.x'
29+
dotnet-version: '9.0.x'
3030
- name: View Build Version
3131
run: echo ${{ env.BUILD_VERSION }}
3232
- name: View Github Info
@@ -82,10 +82,10 @@ jobs:
8282
env:
8383
NUGET_ENABLE_LEGACY_CSPROJ_PACK: true
8484
steps:
85-
- name: Set net8.0
85+
- name: Set net9.0
8686
uses: actions/setup-dotnet@v4
8787
with:
88-
dotnet-version: '8.0.x'
88+
dotnet-version: '9.0.x'
8989
- name: View Build Version
9090
run: echo ${{ env.BUILD_VERSION }}
9191
- name: View Github Info
@@ -117,10 +117,10 @@ jobs:
117117
runs-on: ubuntu-latest
118118
timeout-minutes: 15
119119
steps:
120-
- name: Set net8.0
120+
- name: Set net9.0
121121
uses: actions/setup-dotnet@v4
122122
with:
123-
dotnet-version: '8.0.x'
123+
dotnet-version: '9.0.x'
124124
- name: View Build Version
125125
run: echo ${{ env.BUILD_VERSION }}
126126
- name: View Github Info
@@ -147,10 +147,10 @@ jobs:
147147
runs-on: macos-13
148148
timeout-minutes: 15
149149
steps:
150-
- name: Set net8.0
150+
- name: Set net9.0
151151
uses: actions/setup-dotnet@v4
152152
with:
153-
dotnet-version: '8.0.x'
153+
dotnet-version: '9.0.x'
154154
- name: View Build Version
155155
run: echo ${{ env.BUILD_VERSION }}
156156
- name: View Github Info
@@ -212,10 +212,10 @@ jobs:
212212
timeout-minutes: 15
213213
needs: linux-build
214214
steps:
215-
- name: Set net8.0
215+
- name: Set net9.0
216216
uses: actions/setup-dotnet@v4
217217
with:
218-
dotnet-version: '8.0.x'
218+
dotnet-version: '9.0.x'
219219
- name: Checkout
220220
uses: actions/checkout@v4
221221
with:
@@ -250,10 +250,10 @@ jobs:
250250
timeout-minutes: 15
251251
needs: macos-build
252252
steps:
253-
- name: Set net8.0
253+
- name: Set net9.0
254254
uses: actions/setup-dotnet@v4
255255
with:
256-
dotnet-version: '8.0.x'
256+
dotnet-version: '9.0.x'
257257
- name: Checkout
258258
uses: actions/checkout@v4
259259
with:
@@ -314,10 +314,10 @@ jobs:
314314
timeout-minutes: 15
315315
needs: linux-build
316316
steps:
317-
- name: Set net8.0
317+
- name: Set net9.0
318318
uses: actions/setup-dotnet@v4
319319
with:
320-
dotnet-version: '8.0.x'
320+
dotnet-version: '9.0.x'
321321
- name: Checkout
322322
uses: actions/checkout@v4
323323
with:
@@ -350,10 +350,10 @@ jobs:
350350
timeout-minutes: 15
351351
needs: macos-build
352352
steps:
353-
- name: Set net8.0
353+
- name: Set net9.0
354354
uses: actions/setup-dotnet@v4
355355
with:
356-
dotnet-version: '8.0.x'
356+
dotnet-version: '9.0.x'
357357
- name: Checkout
358358
uses: actions/checkout@v4
359359
with:
@@ -380,10 +380,10 @@ jobs:
380380
timeout-minutes: 15
381381
needs: linux-build
382382
steps:
383-
- name: Set net8.0
383+
- name: Set net9.0
384384
uses: actions/setup-dotnet@v4
385385
with:
386-
dotnet-version: '8.0.x'
386+
dotnet-version: '9.0.x'
387387
- name: Checkout
388388
uses: actions/checkout@v4
389389
with:
@@ -420,10 +420,10 @@ jobs:
420420
timeout-minutes: 15
421421
needs: linux-build
422422
steps:
423-
- name: Set net8.0
423+
- name: Set net9.0
424424
uses: actions/setup-dotnet@v4
425425
with:
426-
dotnet-version: '8.0.x'
426+
dotnet-version: '9.0.x'
427427
- name: Checkout
428428
uses: actions/checkout@v4
429429
with:

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2024, MOSA-Project
1+
Copyright (c) 2025, MOSA-Project
22
All rights reserved.
33

44
Redistribution and use in source and binary forms,

Source/Directory.Build.props

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8" ?>
22
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33

44
<PropertyGroup>
55
<OutputPath>../../bin</OutputPath>
6-
<TargetFramework>net8.0</TargetFramework>
7-
<LangVersion>12.0</LangVersion>
6+
<TargetFramework>net9.0</TargetFramework>
7+
<RollForward>major</RollForward>
8+
<LangVersion>13.0</LangVersion>
89
<Nullable>disable</Nullable>
910
<ImplicitUsings>enable</ImplicitUsings>
1011
<!-- <WarningsAsErrors>nullable</WarningsAsErrors>-->
1112
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1213
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
1314
<CodeAnalysisRuleSet>../Common.ruleset</CodeAnalysisRuleSet>
1415
<Company>MOSA Project</Company>
15-
<Copyright>Copyright © MOSA Project 2024</Copyright>
16-
<AssemblyVersion>2.6.0.0</AssemblyVersion>
16+
<Copyright>Copyright © MOSA Project 2025</Copyright>
17+
<AssemblyVersion>2.6.1.0</AssemblyVersion>
1718
</PropertyGroup>
19+
1820
</Project>

Source/Docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# -- Project information -----------------------------------------------------
1818
project = 'MOSA Project'
19-
copyright = '2008-{}, Mosa Project & contributors'.format(2024)
19+
copyright = '2008-{}, Mosa Project & contributors'.format(2025)
2020
author = 'Phil Garcia'
2121

2222
# -- General configuration ---------------------------------------------------

Source/Docs/license.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ MOSA is licensed under the `New BSD License <http://en.wikipedia.org/wiki/New_BS
66

77
.. code-block:: text
88
9-
Copyright (c) 2024, MOSA-Project
9+
Copyright (c) 2025, MOSA-Project
1010
All rights reserved.
1111
1212
Redistribution and use in source and binary forms,
File renamed without changes.
File renamed without changes.
File renamed without changes.

Source/Mosa.Compiler.x64/Transforms/BaseIR/ConvertR4ToU32.cs

Lines changed: 0 additions & 25 deletions
This file was deleted.

Source/Mosa.Compiler.x64/Transforms/BaseIR/ConvertR8ToI32.cs

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)