Christoph Wille
3f7889bea1
Use ShowsUIOnMainThread = true
2 years ago
Christoph Wille
410e8132c2
Try styling all windows for Netsparkle
2 years ago
Christoph Wille
9cfba701d0
Base sample for dark background and HTML customization - overriding UIFactory would be the way to go though re: changing of themes and not defaulting to one style on startup https://github.com/NetSparkleUpdater/NetSparkle/issues/467
2 years ago
Christoph Wille
22d98f5857
Properly use accessor in JSONConfiguration
2 years ago
Christoph Wille
14944e166b
Enable JSONConfiguration with latest test package, make notes on update variations
2 years ago
Christoph Wille
22147ce6bc
Basic WPF Sparkle setup (note JsonConfiguration is not yet active, issue opened)
2 years ago
Christoph Wille
bf8065e6eb
Move UpdateSettings and AvailableVersionInfo to namespace level
2 years ago
Siegfried Pammer
d1e9f8bd77
Merge pull request #2993 from icsharpcode/reimport
2 years ago
Siegfried Pammer
5cb1fe32f6
Merge pull request #2992 from icsharpcode/ref-fields
2 years ago
Daniel Grunwald
768cb02f0b
Fix #2964 : Better error message when a method only contains a single ret instruction.
2 years ago
Daniel Grunwald
94d2ce0fcf
Fix crash when control flow reaches end of method.
2 years ago
Daniel Grunwald
b9ce8490f5
Remove hack that prevented inlining of the first instruction in each block.
...
Now that ILReader already creates the basic blocks and BlockBuilder only arranges them in containers, this code is no longer necessary.
2 years ago
Daniel Grunwald
b93e65cdad
Fix #901 : Refactor ILReader: only read reachable code + support reimports
...
This makes our logic more similar to that used by the dotnet runtime. This lets us infer correct stack types in edge cases such as #2401 . It also improves support for obfuscated control flow such as #2878 .
2 years ago
Daniel Grunwald
72a895f64f
#nullable enable for ILReader
2 years ago
Daniel Grunwald
6d671071c1
Fix #2851 : assertion after cloning a block with expected result type
2 years ago
Daniel Grunwald
4fc8f4e66e
Fix #2913 : ArgumentException when generic class is missing `1 suffix.
2 years ago
Daniel Grunwald
94ee5ed216
Fix assertion: UnknownType for unresolved reference can still be nullable; only the SpecialType.Unknown cannot.
2 years ago
Daniel Grunwald
4aa9280a8e
Add test case for generic attributes.
2 years ago
Daniel Grunwald
641c1788fe
Re-order packages.props
2 years ago
Theodore Tsirpanis
ca3b916577
Remove unnecessary package references. ( #2990 )
...
* Remove references to .NET Standard 1.x packages.
* Also remove `System.Bufffers`.
2 years ago
Daniel Grunwald
9bfec8cf98
Fix #2860
2 years ago
Daniel Grunwald
3dc2f3d5b6
Rename lifetime annotation to `ScopedRef`
2 years ago
Daniel Grunwald
f568123704
Add support for UTF8 string literals
2 years ago
Siegfried Pammer
83f4fdcc47
Merge pull request #2873 from icsharpcode/net-7.0
2 years ago
Daniel Grunwald
3f09958922
Fix #2987 : `(nuint)(-3)` is not a compile-time constant.
2 years ago
Daniel Grunwald
9359d47c0b
Add support for ScopedRefAttribute
2 years ago
Daniel Grunwald
475f2b3c28
Fix "ref readonly" fields.
2 years ago
Christoph Wille
eb2f024b8b
Make Installer top-level solution and build it post-publish of ILSpy.sln ( #2991 )
...
* Remove Installer from main solution
* Split installer into separate solution that has to be run after ILSpy.sln has been built and published
* Modify build action to account for new sln and correct ordering
* Single-line run and release-only installer build
* All publishing in ps1, better naming for publish folders
2 years ago
Daniel Grunwald
b823955ad6
Fix mcs-5 foreach/using pattern when C# 7 (pattern matching) is not enabled.
2 years ago
Daniel Grunwald
9abc2b90da
Fix interaction of C# 11 nint==IntPtr with overload resolution.
...
In C# 11+.NET 7 mode, we now always use type nint, never IntPtr, so that overload resolution works as expected.
2 years ago
Daniel Grunwald
efeaf1356f
Add feature: C#11 nint without NativeIntegerAttribute
...
Because it is no longer possible to distinguish IntPtr from nint, this required a lot of testcase adjustment.
2 years ago
Siegfried Pammer
263360f3f3
Add RemoveCompilerFeatureRequiredAttribute
2 years ago
Siegfried Pammer
b9f6c88ed0
Fix parameters for StackTests test case.
2 years ago
Daniel Grunwald
8cc186d599
Use .NET 7.0 as target framework for the tests.
...
This will be necessary for testing newer language features such as `ref` fields.
2 years ago
Daniel Grunwald
de9b24a65c
Merge branch 'SearchResources' of https://github.com/miloush/ILSpy
2 years ago
Christoph Wille
10129eaf07
Create zip for ARM64 published folder
2 years ago
Daniel Grunwald
c2490d79ec
Enable auto-formatting in commit-hook.
2 years ago
Daniel Grunwald
aea2c5014f
Merge branch 'fix/pointer-compound-assign'
2 years ago
Daniel Grunwald
f04acbdd74
Simplify `IsImplicitTruncation` by using an enum with 3 options instead of a pair of bools.
...
This also fixes the logic for combining the results for BinaryNumericInstruction/IfInstruction.
2 years ago
Daniel Grunwald
dd6dd44732
Merge remote-tracking branch 'ElektroKill/fix/pointer-compound-assign'
2 years ago
Daniel Grunwald
6641dc6c94
Merge pull request #2960 from ificator/fixparentlessgacassembly
...
Fix ArgumentOutOfRangeException on unexpected file in GAC
2 years ago
Christoph Wille
220b4cbd06
Set version for release
2 years ago
ElektroKill
21ddd402c2
Extend unit test for pointer compound assign
2 years ago
ElektroKill
ea1f6e7c25
Fixed compound assignment and post/pre increment for pointer dereference
2 years ago
Siegfried Pammer
29ca38d338
Fix handling of recombined variables and nested functions in IntroduceNativeIntTypeOnLocals and IntroduceDynamicTypeOnLocals.
2 years ago
Siegfried Pammer
539925f259
Fix #2983 : display-class locals should be named uniquely per top-level ILFunction. Add assertion to ResolveCollisions: ensure that colliding/merged variables have the same type.
2 years ago
Siegfried Pammer
5c67844500
Fix #2920 : Implement support for DefaultParameterValueAttribute.
2 years ago
Siegfried Pammer
66e02e3ee3
Merge pull request #2959 from ElektroKill/fix/try-finally-with-fixed
2 years ago
ElektroKill
f9c7b6b66e
Extend `EliminateRedundantTryFinally` in `ReduceNestingTransform`
2 years ago
Christoph Wille
61f79a01cc
RC1 will be the next release
2 years ago