Граф коммитов

4104 Коммитов

Автор SHA1 Сообщение Дата
Ian Griffiths 88a4bf9001 Update packaging ADR after read through 2024-10-29 09:45:02 +00:00
Ian Griffiths 77afdc8651
Fix another typo in ADR
Co-authored-by: Steven Weerdenburg <stevenaw@users.noreply.github.com>
2024-10-29 06:55:56 +00:00
Ian Griffiths 7bc5fc9b64
Fix typo in ADR
Co-authored-by: Steven Weerdenburg <stevenaw@users.noreply.github.com>
2024-10-29 06:55:41 +00:00
Ian Griffiths cbb4422b34 Completed updates made after prototype learnings 2024-02-21 16:48:03 +00:00
Ian Griffiths 11111f0c9c Update package ADR more in light of prototype
Updated as far as "The workaround" section
2024-02-21 12:07:44 +00:00
Ian Griffiths 1ddaac41c8 Update ADR after re-read after prototype
Got as far the great unification section
2024-02-20 10:30:31 +00:00
Ian Griffiths 1fc3e4f11c Update type forwarder details and package names
After some experiments, we can rule out certain type forwarder based approaches
2024-02-07 07:13:33 +00:00
Ian Griffiths 567613cdb4 A few more ADR tweaks 2024-02-05 14:41:19 +00:00
Ian Griffiths 73cb63fd14 Done up to option 2 2024-02-05 08:30:55 +00:00
Ian Griffiths 2287b1838f ADR feature complete up to design options section 2024-02-05 08:04:25 +00:00
Ian Griffiths f1b500400e ADR feature complete up as far as "Transitive references to different versions" 2024-02-02 16:26:30 +00:00
Ian Griffiths 2ea9e71367 Integrate detajls from earlier write up 2024-02-02 08:28:25 +00:00
Ian Griffiths b0dd1bee38 Adding community input to the ADR 2024-02-01 16:54:45 +00:00
Ian Griffiths 63b8c2aebf Yet more progress on packaging ADR 2024-02-01 10:18:47 +00:00
Ian Griffiths f96ac1e48a Add WinRT example to make point about -windows TFMs not necessarily having anything to do with WPF 2024-01-31 18:41:52 +00:00
Ian Griffiths 6dc6c60f8d Further work on ADR 2024-01-31 18:15:23 +00:00
Ian Griffiths 52a9d296a7 More work in progress on packaging ADR 2024-01-31 09:16:26 +00:00
Ian Griffiths 001e0e27e2 Adding more detail to packaging ADR 2024-01-30 12:46:52 +00:00
Ian Griffiths 3c499b464c Packaging ADR WIP 2024-01-19 16:51:06 +00:00
Whit Waldo 2305a5b0e5
Minor typo corrections to Rx book (#2074)
* Removed extraneous semicolon in code sample

signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Added missing close quote

signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Added missing period

signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Removed duplicate word

signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Added capital letter where missing.

signed-off-by: Whit Waldo <whit.waldo@innovian.net>

* Fix for issue #2073

signed-off-by: Whit Waldo <whit.waldo@innovian.net>

---------

Signed-off-by: Whit Waldo <whit.waldo@innovian.net>
2024-01-10 14:10:46 +00:00
Ian Griffiths b9de686f6e
IntroToRx 2nd edition (#2071)
* IntroToRx 2nd edition

---------

Co-authored-by: Howard van Rooijen <Howard.vanRooijen@endjin.com>
2023-12-19 08:50:21 +00:00
Ian Griffiths 57e4c425f1
Prevent diagnostics on .NET SDK 8.0.100 (#2049)
Address collection expression diagnostics

In most cases, we now just use the new (C# 12.0) collection expression syntax. However, we've disabled IDE0305 because it makes suggestions that aren't an obvious improvement. It wants to rewrite use of ToArray() to be a collection expression. E.g. something.ToArray() would become [.. something]. Perhaps that will seem natural once we've all got used to spreads in collection expressions, but to me (idg10) today that looks odd.

Add comment explaining why we've disable IDE0290

Make UWP test runner use the same warning settings as everything else, except for CS0618, which a large number of tests appear to depend on.
2023-11-22 09:32:28 +00:00
Ian Griffiths bd4fb9e083
Run tests on .NET 8.0 (#2039)
* Run tests on .NET 8.0
* Add .NET 8.0 installation to build pipeline
2023-11-15 08:04:14 +00:00
Ian Griffiths c4b34f3669
Clear sync context on test that requires it to be absent (#2026)
It turns out that occasionally, the test thread ends up with its SynchronizationContext.Current set to the Windows Forms sync context. That's bad because nothing runs a message loop, so when AsyncSubject attempts to complete an awaited operation, it tries to do so by posting a message to a queue that's never going to be processed.

So we explicitly set the context to null for the test that expects that.
2023-11-02 16:43:41 +00:00
Weihan Li 6499c8ead2
Avoid spurious references to Microsoft.Bcl.AsyncInterfaces (#1719) 2023-10-13 14:47:28 +01:00
dependabot[bot] 9fb0ed0d01
Bump Verify.Xunit from 19.14.1 to 20.4.0 in /Rx.NET/Source (#1969)
Bumps [Verify.Xunit](https://github.com/VerifyTests/Verify) from 19.14.1 to 20.4.0.
- [Release notes](https://github.com/VerifyTests/Verify/releases)
- [Commits](https://github.com/VerifyTests/Verify/compare/19.14.1...20.4.0)

---
updated-dependencies:
- dependency-name: Verify.Xunit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 09:08:27 +01:00
Lee Campbell 7be9ec8a2c
Importing IntroToRx.com content (#1984)
Lee has very generously allowed us to use his content as the starting point for providing updated documentation for Rx.
2023-08-11 07:26:27 +01:00
Ian Griffiths 5903ac6ace
Retain cancel callback until ForEachAsync completes (#1981) 2023-07-27 22:24:54 +01:00
Ian Griffiths dffafe1101
Fix AsyncObservable.DeferAsync infinite recursion (#1979)
The DeferAsync methods are meant to just call into the equivalent Defer methods. (I don't know why we have both, but I'm guessing that DeferAsync might be useful in cases where you want the compiler to infer the delegate type. With just Defer, it might be unclear whether you mean the one where the factory returns an observable, or the one where the factory returns a value task that produces an observable.)
2023-07-27 14:21:57 +01:00
Ian Griffiths 95d9ea9d27
Remove dynamic load of QueryDebugger (#1968) 2023-06-14 11:37:11 +01:00
Ian Griffiths f4f727cf41
Add experimental netstandard2.0 target to AsyncRx.NET (#1955) 2023-05-31 10:17:06 +01:00
Ian Griffiths 7d718526e0
Add a couple of missing items to the release notes (#1938) 2023-05-18 14:49:52 +01:00
Ian Griffiths 3fa5fff72c
Mention change in min UWP target platform version in release notes (#1937) 2023-05-18 05:13:02 +01:00
Ian Griffiths df7da6a220
Update README and related docs (#1933) 2023-05-16 17:57:15 +01:00
Ian Griffiths 2852824dc4
Update NuGet refs (#1930)
* Nerdbank.GitVersioning 3.6.128
* BenchmarkDotNet 0.13.5
* Verify.Xunit 19.14.1

Also disabled Nerdbank.GitVersioning for UWP test runner since recent versions of this library import a .proj file that doesn't work with UWP projects. (The runner doesn't need to be built with the current version number, since we never publish it anyway.)
2023-05-11 16:24:13 +01:00
Ian Griffiths b0113d5db3
Feature/1898 fix diagnostics (#1928) 2023-05-11 14:20:19 +01:00
Ian Griffiths fb2b69dd23
Use snupkg instead of embedded symbols (#1916) 2023-04-20 06:29:56 +01:00
Ian Griffiths 5ed1a30c34
Remove obsolete #if directives (#1915) 2023-04-19 21:43:32 +01:00
Jonas Fischer 677aeb2850
Expose SingleAssignmentDisposableValue (#1630) 2023-04-19 16:35:26 +01:00
Ian Griffiths 3507d5e628
Allow opt-out from TaskScheduler.UnobservedExceptions (#1914) 2023-04-19 16:32:52 +01:00
dependabot[bot] 331a1a0525
Bump Nerdbank.GitVersioning from 3.4.255 to 3.5.119 in /Rx.NET/Source (#1827)
Bumps [Nerdbank.GitVersioning](https://github.com/dotnet/Nerdbank.GitVersioning) from 3.4.255 to 3.5.119.
- [Release notes](https://github.com/dotnet/Nerdbank.GitVersioning/releases)
- [Commits](https://github.com/dotnet/Nerdbank.GitVersioning/compare/v3.4.255...v3.5.119)

---
updated-dependencies:
- dependency-name: Nerdbank.GitVersioning
  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>
2023-03-31 13:43:52 +01:00
ShalokShalom dda6e2fde1
remove broken link (ruby implementation) (#1823) 2023-03-31 13:01:53 +01:00
Ian Griffiths e7c81256a4
Enable trimming in .NET 6 targets (#1906) 2023-03-30 16:58:57 +01:00
Ian Griffiths 44a28a892d
Replace xUnit with mstest (#1883)
xUnit is no longer able to run tests on UWP. MSTest supports this in Visual Studio 2022, so we are moving back to MSTest. (Rx used to used MSTest before, so this was a relatively straightforward change.)

We had to make a few changes due to the fact that xUnit supplies a SynchronizationContext whereas MSTest does not.

Also fixed a race condition in CreateAsyncTest.
2023-03-30 13:34:36 +01:00
Ian Griffiths 38e61967a1
Back out #1449 (#1901)
The original PR seems to cause more problems than it solves - see #1893

Once we separate the UI frameworks back out into their own packages, the
issue that PR was intended to solve will go away in any case.
2023-03-27 14:32:31 +01:00
Ian Griffiths 2a8c658d8b
Fix compiler diagnostics in AsyncRx.NET (#1899)
There were various warnings and messages due either to inconsistent style, or because in modern C#, newer idioms are preferred. This changes the code to be consistent with current standards.

In a couple of cases, the warnings were spurious, and have been suppressed.
2023-03-17 09:16:22 +00:00
Ian Griffiths 1eda7049b9
Merge AsyncRx.NET assemblies (#1896)
* Merge AsyncRx.NET assemblies (System.Reactive.Async.Concurrency, System.Reactive.Async.Core, System.Reactive.Async.Disposables, System.Reactive.Interfaces, System.Reactive.Async.Linq and System.Reactive.Async.Bcl all merged into System.Reactive.Async)
* Add AsyncRx.NET package unification ADR
* Replace System.Reactive.Shared with Rx dependency (and rename a couple of types due to resulting clashes, and add extension method to replace the one feature of `Notification<T>` that was in this library and not Rx)
* Fixed erroneous paths for all the .tt files)
2023-03-17 07:09:47 +00:00
Ian Griffiths 47d0f79184
Add AsyncRx.NET build pipeline (#1888) 2023-03-13 15:19:43 +00:00
Ian Griffiths 88001b1c76
Set Rx vnext to 6.0 and add versioning ADR (#1886) 2023-03-10 11:32:41 +00:00
Ian Griffiths a89f60b325
Merge pull request #1879 from dotnet/planning/roadmap-2023
Add Rx.NET 2023 roadmap, and tooling update ADR
2023-03-08 15:47:35 +00:00