summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.UnitTests
AgeCommit message (Collapse)AuthorFilesLines
2016-09-26[C] specify type and default value for native bindingsStephane Delcroix1-11/+21
2016-09-26[XamlC] Compiled convertersStephane Delcroix1-1/+1
2016-09-08[Xaml] support native views and native bindings (#266)Stephane Delcroix1-1/+0
Allows including Native views directly in xaml. Support for ios, android, UWP
2016-09-08Native Bindings (#278)Stephane Delcroix2-0/+488
* [C, I, A, W] Support Native Bindings * fix tabs
2016-08-30Fix for ListView BindingContext for Header/Footer (#312)Jonathan Peppers1-0/+37
* ListView - unit test showing BindingContext issue Apparently the BC doesn't pass to Header and Footer * ListView - support for passing BC to header and footer * ListView - test checking BindingContext is set Checking that it works to set the BindingContext first and the Header/Footer after
2016-08-30Platform Specifics (#301)Samantha Houts2-0/+228
* Playing around with how the platform specifics interfaces etc. might work * Sample implementation of iOS navigation translucency * Very slightly reduced code * Better vendor stuff * Drop single-implemenation interfaces * Generics on NavigationPage * On-demand vendor stuff * Remove functionally duplicate classes and make ControlGallery work again * Namespace all the things. XAML test. * Can use Effect to attach platform specific * Attach Effect on PropertyChanging for XAML support! * Rename IConfigPlatform interfaces for readability * Some renaming to match the documents * Split class files * Clear out test-only code * Re-namespace * Added On method to rendered Elements * Allow for removal of platform suffix, convenience methods on specific platforms * Creating a gallery page for specifics * Add rudimentary Platform Specifics gallery; make CollapseStyle work on UWP; Add CollapsedPaneWidth specific property * Toolbar now working with both collapse styles * MDP now displaying Content title; toolbar routing around title * Add a gallery for the iOS NavigationPage stuff * Add Navigation Page as detail page to verify it works with new Toolbar options * Make titlebar/toolbar background colors consistent * ToolbarPlacement now working on NavigationPage * Toolbar Placement working for tabbed and nav pages * Fix bug where phone doesn't get default toolbar placement on start * [Core] Add PS WindowSoftInputModeAdjust [Core] Make Application extendable * Toolbar placement now working on Nav, Tabbed, and Master pages on desktop/phone Remove unnecessary style indirection Fix build errors * [A] Add PlatformConfigurationExtensions * SetSoftInputMode test page * [A] SetSoftInputMode Known issue: Status bar color does not work in AdjustResize mode * [Core] Add PS Blur * [iOS] Configure renderer for blur * Add test page * Move to blur VisualElement for broader support * Move test pages to gallery * Update docs * Use lazy initializer for PlatformConfigurationRegistry
2016-08-16Fix for BindingExpression memory leak (#279)Jonathan Peppers1-0/+27
* Unit test proving a memory leak with Binding What we were seeing in our app was that Binding objects stay around when bound to long-lived ViewModels, even when the View is long gone * BindingExpression - INotifyPropertyChanged should use WeakReference I had to make a WeakPropertyChangedProxy class for this, I could not think of a way to get around creating a new object for this
2016-08-16Invalidate measure of Label when FormattedText changes (#303)Akihiko Odaki1-0/+26
2016-08-10Unit tests for the PCL WeakEventManager (#280)E.Z. Hart2-0/+190
2016-08-09Add the key in the message on throwing a KeyNotFoundException (#282)Rogier van der Hee1-1/+10
* Add the key in the message on throwing a KeyNotFoundException for trying to access an invalid key in the ResourceDictionary. This helps a lot in tracking down what resource is actually missing. * Fix test build, use C# 6 string interpolation
2016-07-11Added PoppedToRootEventArgs to track popped pages when calling PopToRoot (#229)Johan Karlsson1-0/+25
2016-06-17Prep Cell & friends for removal of InternalsVisibleTo (#142)Samantha Houts4-7/+9
* Prep Cell & friends for removal of InternalsVisibleTo Includes: - Cell - EntryCell - ListView - MenuItem - TableView - ViewCell - Toolbar Moved extensions to Internal & removed TPH * Update docs * [Controls] Ignore Issue2411 on iOS <9 * [Controls] Formatting for Issue2411
2016-06-16Prep Page for removal of InternalsVisibleTo (#150)E.Z. Hart9-45/+58
2016-05-25[Android] Implement the AppIndexProvider on non-AppCompact, fix KeyValues ↵Rui Marinho2-0/+43
on AppLinkEntry (#166) * [Android] Set AppIndexingProvider on non AppCompact activity * [Core] Fix AppLinkEntry KeyValues
2016-05-04Add IMasterDetailPageController and update renderers (#146)E.Z. Hart1-10/+10
2016-05-04Add INavigationPageController (#149)E.Z. Hart1-2/+2
2016-05-02Prep VisualElement (and descendants) for removal of InternalsVisibleTo (#141)E.Z. Hart1-1/+2
2016-05-02Prep Image for removal of InternalsVisibleTo (#140)E.Z. Hart1-2/+2
2016-05-02Prep SearchBar for removal of InternalsVisibleTo (#137)E.Z. Hart1-2/+2
2016-04-25Multi style classes (#134)Stephane Delcroix1-9/+46
* [C] StyleClass is IList<string> * fix docs * this might be required
2016-04-25Make core Ticker abstract and public (#116)E.Z. Hart4-4/+34
* Make core Ticker abstract and public Make the core Ticker abstract and public so it can be inherited by platform implementations; remove now-unused parts of original Ticker; add CreateTicker to IPlatformServices; remove unused CreateTimer methods from IPlatformServices * Add docs for Ticker * Remove unnecessary Ticker.Default set * Move Ticker into Internals * Update Ticker docs * Remove old Ticker docs * Remove commented code
2016-04-25Remove ToolBar from Core; Remove ToolBar renderers and unit tests (#124)E.Z. Hart2-145/+0
2016-04-24Enable Warnings as Errors on all plat|cfg of XF.Core.UnitTests (#95)kingces953-5/+13
* Enable Warnings as Errors on all plat|cfg of XF.Core.UnitTests * Fix build errors
2016-04-06[C] Cast to ICommand instead of Command inside SearchBarJason Smith1-1/+22
2016-03-30Add options for specifying layout of button text/image contentE.Z. Hart1-0/+24
Also make the layout and layout defaults consistent across platforms
2016-03-27[C]Remove view from previous parent when added to new parent layoutJason Smith1-0/+13
Technically this could be considered a breaking change if someone was depending on the old behavior, however the old behavior resulted in layouts that were not predictable to the user. So while yes someone could have built something that works, it would have been via trial and error and generally breaking the rule of one parent to each view. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=39509
2016-03-22Initial importJason Smith117-0/+26408