Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
4e7b0bb
housekeeping: updated docs to Anaïs Betters (#2003)
Apr 21, 2019
25f99e6
build(deps): bump FodyPackaging from 4.2.1 to 5.0.1 (#2009)
dependabot[bot] Apr 26, 2019
93b1446
build(deps): bump Fody from 4.2.1 to 5.0.1 (#2011)
dependabot[bot] Apr 26, 2019
a3b4eba
build(deps): bump FodyHelpers from 4.2.1 to 5.0.1 (#2010)
dependabot[bot] Apr 26, 2019
09cdaef
housekeeping: further convert some more projects
glennawatson Apr 26, 2019
3d29ad3
Merge branch 'master' of https://github.com/reactiveui/reactiveui
glennawatson Apr 26, 2019
b91bb7c
Revert "housekeeping: further convert some more projects"
glennawatson Apr 26, 2019
612f468
remove uap from tests for the moment
glennawatson Apr 26, 2019
a1cb284
housekeeping: Update to MSBuild.Sdk.Extras v2.0.24 and output API dif…
glennawatson Apr 27, 2019
8fb7684
build(deps): bump Microsoft.Xaml.Behaviors.Uwp.Managed (#2015)
dependabot[bot] Apr 30, 2019
cbcc5ac
build(deps): bump CommandLineParser from 2.4.3 to 2.5.0 (#2014)
dependabot[bot] Apr 30, 2019
1838154
build(deps): bump Fody from 5.0.1 to 5.0.5 (#2017)
dependabot[bot] May 6, 2019
a41b3f4
build(deps): bump FodyHelpers from 5.0.1 to 5.0.6 (#2018)
dependabot[bot] May 6, 2019
8fdca69
build(deps): bump FodyPackaging from 5.0.1 to 5.0.6 (#2016)
dependabot[bot] May 6, 2019
7da21d1
housekeeping: Added IBuilder and Extensions (#2019)
RLittlesII May 7, 2019
a941bda
Update version.json
glennawatson May 7, 2019
f0b78c4
fix: POCOObservableForProperty having a race condition (#2020)
worldbeater May 8, 2019
afdf520
fix: WhenActivated not fired when in ViewModelViewHost (#2023)
glennawatson May 12, 2019
dfe8498
housekeeping: Update from ReactiveExtensions 4.0.0 to 4.1.5 (#2025)
glennawatson May 13, 2019
3cf59ab
fix: WhenActivated on WPF by reverting to MsBuild.Sdk.Extras 1.6.18 (…
glennawatson May 13, 2019
97d1aa3
Add Universal Windows routing example (#2030)
worldbeater May 13, 2019
60d8b41
build(deps): bump System.Net.Primitives from 4.3.0 to 4.3.1 (#2032)
dependabot[bot] May 15, 2019
ddb56c7
housekeeping: Moving samples to https://github.com/reactiveui/reactiv…
glennawatson May 16, 2019
39aca80
Fix: WPF producing a warning for BindCommand (#2039)
mgnslndh May 19, 2019
fec9946
build(deps): bump Fody from 5.0.5 to 5.0.6 (#2033)
dependabot[bot] May 21, 2019
fd9df6b
fix: BindCommand unhandled exceptions don't fire on Xamarin Android (…
glennawatson May 21, 2019
fda60ac
housekeeping: remove temporary file
glennawatson May 21, 2019
179e19d
fix: Rethrow exception on RaiseAndSetIfChanged (#2035)
RLittlesII May 21, 2019
f74d6ab
housekeeping: Upgraded Xamarin.Forms to v3.6 (#2045)
RLittlesII May 22, 2019
3ffd46a
Release ReactiveUI v9.16
glennawatson May 22, 2019
87cb10f
housekeeping: enable sponsorship button (#2048)
ghuntley May 23, 2019
ccf305b
fix: VS2019 android wire up controls throws exception (#2050)
clintonrocksmith May 25, 2019
090e6d4
Feature: ReactiveRecyclerViewAdapter.GetItemViewType now passed view…
clintonrocksmith May 26, 2019
da0840e
Fix: ControlFetcherMixin using wrong type (#2054)
clintonrocksmith May 29, 2019
cb3e028
fix: ReactiveRecyclerViewAdapter having a incorrect out of bounds che…
clintonrocksmith May 30, 2019
790dc80
fix: Correct links to Installation docs (#2060)
worldbeater May 31, 2019
1c45ce3
build(deps): bump Stubble.Core from 1.2.7 to 1.3.4 (#2062)
dependabot-preview[bot] Jun 4, 2019
5aa4264
housekeeping: Added Virtual Keyword to method to allow overriding (#2…
clintonrocksmith Jun 8, 2019
ee5d742
feature: Swap the xam essentials to latest version. (#2066)
glennawatson Jun 10, 2019
a8d1439
housekeeeping: Change blend SDK to use official microsoft version. (#…
glennawatson Jun 13, 2019
e044cd1
housekeeping: Use Pharmacist for platform code generation. (#2072)
glennawatson Jun 14, 2019
e2aee37
Release ReactiveUI v9.17
glennawatson Jun 14, 2019
f0474eb
Update ReactiveUI.Events.XamEssentials.csproj
glennawatson Jun 15, 2019
418a992
Update ReactiveUI.Events.XamForms.csproj
glennawatson Jun 15, 2019
fe0a22f
Update ReactiveUI.Events.csproj
glennawatson Jun 15, 2019
0bf99fe
housekeeping: move Kent to the alumni section.
glennawatson Jun 16, 2019
e6e8b3c
housekeeping: minor tweaks to readme (#2074)
kentcb Jun 16, 2019
b420e1b
housekeeping: update .gitignore with latest
glennawatson Jun 18, 2019
f9cb151
feature: Add ReactivePage for WPF/UWP (#2078)
weitzhandler Jun 18, 2019
59da6e6
Fix: Restore case-insensitive WireUpControls feature (#2080)
cabauman Jun 18, 2019
22ed350
housekeeping: update readme.md
glennawatson Jun 21, 2019
03a2ac6
housekeeping: Update the directory.build.props (#2082)
glennawatson Jun 23, 2019
6092224
build(deps): bump Fody from 5.0.6 to 5.1.0 (#2086)
dependabot-preview[bot] Jun 24, 2019
c4d2689
build(deps): bump FodyHelpers from 5.0.6 to 5.1.0 (#2084)
dependabot-preview[bot] Jun 24, 2019
f02616b
build(deps): bump FodyPackaging from 5.0.6 to 5.1.0 (#2085)
dependabot-preview[bot] Jun 24, 2019
121458e
feature: Added Uno support (#2067)
weitzhandler Jun 26, 2019
3893221
housekeeping: update to master@121458e
glennawatson Jun 26, 2019
ef1dc89
Fix
glennawatson Jun 26, 2019
07368f4
fix
glennawatson Jun 26, 2019
79018cb
fix
glennawatson Jun 26, 2019
73046a5
fix
glennawatson Jun 26, 2019
14781d5
fix
glennawatson Jun 26, 2019
648de0f
fix
glennawatson Jun 26, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<br>
<br>
<a href="https://github.com/reactiveui/reactiveui">
<img width="160" heigth="160" src="https://github.com/reactiveui/styleguide/blob/master/logo/logo.svg">
<img width="160" heigth="160" src="https://raw.githubusercontent.com/reactiveui/styleguide/master/logo/main.png">
</a>
<br>
<h1>What is ReactiveUI?</h1>
Expand Down
1 change: 1 addition & 0 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ var packageWhitelist = new List<FilePath>
MakeAbsolute(File("./src/ReactiveUI.Fody.Helpers/ReactiveUI.Fody.Helpers.csproj")),
MakeAbsolute(File("./src/ReactiveUI.AndroidSupport/ReactiveUI.AndroidSupport.csproj")),
MakeAbsolute(File("./src/ReactiveUI.XamForms/ReactiveUI.XamForms.csproj")),
MakeAbsolute(File("./src/ReactiveUI.Uno/ReactiveUI.Uno.csproj")),
};

if (IsRunningOnWindows())
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.build.props
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="2.3.38" PrivateAssets="all" />
<PackageReference Include="Nerdbank.GitVersioning" Version="2.3.183" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down
49 changes: 0 additions & 49 deletions src/EventBuilder/Platforms/NetCoreAppWpf.cs

This file was deleted.

4 changes: 2 additions & 2 deletions src/ReactiveUI.Fody.Helpers/ReactiveUI.Fody.Helpers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Fody" Version="5.0.6" PrivateAssets="None" />
<PackageReference Include="FodyPackaging" Version="5.0.6" PrivateAssets="All" />
<PackageReference Include="Fody" Version="5.1.0" PrivateAssets="None" />
<PackageReference Include="FodyPackaging" Version="5.1.0" PrivateAssets="All" />
<PackageReference Include="System.Reactive" Version="4.2.0-preview.566" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/ReactiveUI.Fody/ReactiveUI.Fody.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FodyHelpers" Version="5.0.6" />
<PackageReference Include="FodyHelpers" Version="5.1.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/ReactiveUI.Testing/ReactiveUI.Testing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Reactive.Testing" Version="4.1.5" />
<PackageReference Include="Microsoft.Reactive.Testing" Version="4.2.0-preview.566" />
<ProjectReference Include="..\ReactiveUI\ReactiveUI.csproj" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.AndroidSupport")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.Tests")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.Uno")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.Winforms")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.Wpf")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.XamForms")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.AndroidSupport")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.Tests")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.Uno")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.Winforms")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.Wpf")]
[assembly: System.Runtime.CompilerServices.InternalsVisibleToAttribute("ReactiveUI.XamForms")]
Expand Down
66 changes: 66 additions & 0 deletions src/ReactiveUI.Uno/ActivationForViewFetcher.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// Copyright (c) 2019 .NET Foundation and Contributors. All rights reserved.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.

using System;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Reflection;

using Windows.Foundation;
using Windows.UI.Xaml;

namespace ReactiveUI
{
/// <summary>
/// ActiveationForViewFetcher is how ReactiveUI determine when a
/// View is activated or deactivated. This is usually only used when porting
/// ReactiveUI to a new UI framework.
/// </summary>
public class ActivationForViewFetcher : IActivationForViewFetcher
{
/// <inheritdoc/>
public int GetAffinityForView(Type view)
{
return typeof(FrameworkElement).GetTypeInfo().IsAssignableFrom(view.GetTypeInfo()) ? 10 : 0;
}

/// <inheritdoc/>
public IObservable<bool> GetActivationForView(IActivatable view)
{
var fe = view as FrameworkElement;

if (fe == null)
{
return Observable<bool>.Empty;
}

#pragma warning disable SA1114 // Parameter list after.
#if NETSTANDARD || MAC
var viewLoaded = Observable.FromEvent<RoutedEventHandler, bool>(
#else
var viewLoaded = Observable.FromEvent<TypedEventHandler<DependencyObject, object>, bool>(
#endif
eventHandler => (_, __) => eventHandler(true),
x => fe.Loading += x,
x => fe.Loading -= x);

var viewUnloaded = Observable.FromEvent<RoutedEventHandler, bool>(
handler =>
{
void EventHandler(object sender, RoutedEventArgs e) => handler(false);
return EventHandler;
},
x => fe.Unloaded += x,
x => fe.Unloaded -= x);

return viewLoaded
.Merge(viewUnloaded)
.Select(b => b ? fe.WhenAnyValue(x => x.IsHitTestVisible).SkipWhile(x => !x) : Observables.False)
.Switch()
.DistinctUntilChanged();
}
}
}
Loading