Skip to content

Commit

Permalink
chore: Config diff
Browse files Browse the repository at this point in the history
  • Loading branch information
dr1rrb committed Jun 2, 2021
1 parent d4b1a81 commit c571040
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 18 deletions.
52 changes: 51 additions & 1 deletion build/PackageDiffIgnore.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3681,15 +3681,65 @@
<Member
fullName="System.Void Windows.ApplicationModel.LeavingBackgroundEventArgs..ctor()"
reason="Not part of the UWP API" />
<Member
fullName="System.Void Windows.UI.Xaml.Controls.CalendarViewDayItemChangingEventArgs..ctor()"
reason="Not part of the UWP API" />
<Member
fullName="System.Void Windows.UI.Xaml.Controls.CalendarViewSelectedDatesChangedEventArgs..ctor()"
reason="Not part of the UWP API" />
<Member
fullName="System.Void Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple..ctor()"
reason="Not part of the UWP API" />
<Member
fullName="System.Void Windows.UI.Xaml.FrameworkElement.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
<Member
fullName="System.Void Windows.UI.Xaml.Controls.Picker.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
<Member
fullName="System.Void Windows.UI.Xaml.Controls.NativeListViewBase.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
<Member
fullName="System.Void Windows.UI.Xaml.Controls.NativePagedView.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
<Member
fullName="System.Void Windows.UI.Xaml.Controls.MultilineTextBoxView.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
<Member
fullName="System.Void Windows.UI.Xaml.Controls.SinglelineTextBoxView.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
<Member
fullName="System.Void Windows.UI.Xaml.Controls.SecureTextBoxView.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
<Member
fullName="System.Void Uno.UI.Controls.Legacy.ListViewBase.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
<Member
fullName="System.Void Uno.UI.Controls.Legacy.ListView.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
<Member
fullName="System.Void Uno.UI.Controls.Legacy.GridView.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
<Member
fullName="System.Void Uno.UI.Controls.Legacy.HorizontalListView.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
<Member
fullName="System.Void Uno.UI.Controls.Legacy.HorizontalGridView.OnIsEnabledChanged(System.Boolean oldValue, System.Boolean newValue)"
reason="Internal method which is not part of the UWP API" />
</Methods>
<Fields>
<Member
fullName="Windows.UI.Xaml.DependencyProperty Microsoft.UI.Xaml.Controls.XamlControlsResources::UseCompactResourcesProperty"
reason="This should be a property, not a field" />
<Member
fullName="System.Int32 Windows.UI.Xaml.Automation.Peers.PatternInterface::value__"
reason="This enum is an uint in UWP, not an int" />
</Fields>
<Properties>
</Properties>
</IgnoreSet> <!--
</IgnoreSet>

<!--
Supported nodes (please keep at the bottom of this file):
<Types>
</Types>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ public string DayOfWeekFormat
}

public static DependencyProperty DescriptionProperty { get; } = DependencyProperty.Register(
"Description", typeof(string), typeof(CalendarDatePicker), new PropertyMetadata(default(string)));
"Description", typeof(object), typeof(CalendarDatePicker), new PropertyMetadata(default(object)));

#if __IOS__ || __MACOS__
public new // .Description already exists on NSObject (both macOS & iOS)
#else
public
#endif
string Description
object Description
{
get => (string)GetValue(DescriptionProperty);
set => SetValue(DescriptionProperty, value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -672,20 +672,6 @@ private protected CalendarView GetOwner()
return m_wrOwner.Target;
}

// We are not supporting rendering of those density bars yet
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public void SetDensityColors(IEnumerable<Color> colors)
{
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.UI.Xaml.Controls.CalendarViewDayItem", "void CalendarViewDayItem.SetDensityColors(IEnumerable<Color> colors)");

// UNO TODO
// As the code for density bars has not been tested yet, we prefer to just do nothing with provided colors!

//var c = new ValueTypeCollection<Color>();
//c.SetView(colors.ToList());
//SetDensityColors(c);
}

internal void SetDensityColors(
IIterable<Color> pColors)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Windows.UI;

namespace Windows.UI.Xaml.Controls
{
partial class CalendarViewDayItem
{
// We are not supporting rendering of those density bars yet
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public void SetDensityColors(IEnumerable<Color> colors)
{
global::Windows.Foundation.Metadata.ApiInformation.TryRaiseNotImplemented("Windows.UI.Xaml.Controls.CalendarViewDayItem", "void CalendarViewDayItem.SetDensityColors(IEnumerable<Color> colors)");

// UNO TODO
// As the code for density bars has not been tested yet, we prefer to just do nothing with provided colors!

//var c = new ValueTypeCollection<Color>();
//c.SetView(colors.ToList());
//base.SetDensityColors(c);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,7 @@ private void ScrollToDateWithAnimation(
return;
}

internal void SetDisplayDate( DateTime date)
public void SetDisplayDate(DateTime date)
{
// if m_dateSourceChanged is true, this means we might changed m_minDate or m_maxDate
// so we should not call CoerceDate until next measure pass, by then the m_minDate and
Expand Down

0 comments on commit c571040

Please sign in to comment.