summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
AgeCommit message (Collapse)AuthorFilesLines
2016-10-26[Win] Toolbar placement works with initial value (#488)Samantha Houts1-1/+1
* Defer UpdateToolbarPlacement until CommandBar is in the control hierarchy * Cleanup
2016-10-10[Core] Set IVT to MacOSRui Marinho1-0/+1
2016-10-04[iOS] Keep our native property listener around the same time we keep our ↵Rui Marinho1-3/+6
proxy, check if we are KVO compliant before adding observer (#403)
2016-09-27Don't unsubscribe/resubscribe the listener to the same INPCE.Z. Hart1-1/+8
2016-09-26[C] specify type and default value for native bindingsStephane Delcroix1-11/+16
2016-09-26[XamlC] Compiled convertersStephane Delcroix10-66/+72
2016-09-23[XamlC] Implement IValueProvider.PropertyType (#345)Stephane Delcroix1-1/+0
2016-09-13Revert "[C] Prevent enabling a Button via setting a Command (#308)"Rui Marinho1-1/+3
This reverts commit 368a375f13fc2e4b5ff00dbbdd7a2d6bb53988eb.
2016-09-12[C] Prevent enabling a Button via setting a Command (#308)Paul DiPietro1-3/+1
2016-09-08[XamlC] replace the runtime type check by compiletime (#334)Stephane Delcroix1-2/+7
2016-09-08[Xaml] support native views and native bindings (#266)Stephane Delcroix4-2/+23
Allows including Native views directly in xaml. Support for ios, android, UWP
2016-09-08Native Bindings (#278)Stephane Delcroix3-1/+202
* [C, I, A, W] Support Native Bindings * fix tabs
2016-08-30Use character truncation in Windows (#321)E.Z. Hart1-1/+1
Change layout order ViewCells on Windows to correct label length layout issues Add extra layout pass on ViewCell load to make cells without margins visible
2016-08-30Fix for ListView BindingContext for Header/Footer (#312)Jonathan Peppers1-0/+19
* 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 Houts46-32/+745
* 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-9/+69
* 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/+1
2016-08-11Add Orange color to Color (#290)Kangho2-0/+3
* Add Orange color to Color
2016-08-10Unit tests for the PCL WeakEventManager (#280)E.Z. Hart1-15/+32
2016-08-09Add the key in the message on throwing a KeyNotFoundException (#282)Rogier van der Hee1-1/+1
* 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-08-02Change SourceChanged event on ImageSource to weak event to allow Images (#268)E.Z. Hart4-7/+174
referencing application-wide StaticResource ImageSources to be GCed
2016-07-18Add workaround for bugzilla 37792 (#181)Vincent Costel1-1/+8
2016-07-18Windows image loader error handling (#260)E.Z. Hart2-8/+10
* Repros for various image issues * Log image loading errors * Better repro instructions and user interface * Image loading tests now running on WinRT/UWP phone/tablet/desktop * Move FailImageSource into shared project * Move FailImageSource into shared project * Update docs
2016-07-11Restore incorrectly renamed InvalidateMeasure method (#251)E.Z. Hart1-1/+1
* Restore incorrectly renamed InvalidateMeasure method * Update docs
2016-07-11Added PoppedToRootEventArgs to track popped pages when calling PopToRoot (#229)Johan Karlsson3-2/+23
2016-07-01[All] Crash fixes for ListViews (#243)Samantha Houts2-0/+7
* [Controls] Add repro for 42277 * [Android] No crash if GroupHeaderTemplate=null * [Android] Fix DataTemplateSelector crash * [Core] Expose ListProxy on TIL * [iOS] Fix DataTemplateSelector crash * [Win] Fix DataTemplateSelector crash * [Docs] Update docs * [Core] Implement ListProxy explicitly Allows ListProxy property to stay internal. * [Controls] Revert unnecessary change to shproj
2016-06-17Prep Cell & friends for removal of InternalsVisibleTo (#142)Samantha Houts26-44/+351
* 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-16[Core] Don't use the fixed LayoutConstraint when using uneven rows (#213)Rui Marinho1-0/+4
2016-06-16Prep Page for removal of InternalsVisibleTo (#150)E.Z. Hart18-94/+121
2016-06-08Add convenience GridLength.Star (#168)Shawn Castrianni1-0/+5
* Add convenience GridLength.Star * Update docs
2016-06-08Add Plain Keyboard from KeyboardFlags.None (#155)Shawn Castrianni2-1/+8
* Add Plain Keyboard from KeyboardFlags.None * Include Keyboard.Plain in Gallery * Update docs
2016-06-08[Core] Allow Registrar.RegisterAll to be run multiple times (#215)Alan McGovern1-1/+1
There are cases where we run RegisterAll manually to ensure all assemblies have actually been registered. The `Registrar<T>` class does not use the `Dictionary<K, V>.Add` method so it does not throw if there's a clash/duplicate. If we change the `Effect` registration to use the same pattern we can remove errors like this: System.ArgumentException: An item with the same key has already been added. at ThrowArgumentException at offset 0 in file:line:column /Users/builder/data/lanes/2922/977921b7/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/throwhelper.cs:72:0 at Insert at offset 142 in file:line:column /Users/builder/data/lanes/2922/977921b7/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/collections/generic/dictionary.cs:336:0 at Add at offset 0 in file:line:column /Users/builder/data/lanes/2922/977921b7/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/collections/generic/dictionary.cs:192:0 at RegisterAll at <unknown offset> in file:line:column <filename unknown>:0:0 at <unknown method> at <unknown offset> in file:line:column <filename unknown>:0:0 at Invoke at offset 56 in file:line:column /Users/builder/data/lanes/2922/977921b7/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:295:0
2016-05-31fix Thickness.IsDefault. Bottom was ignored (#200)Brian Donovan-Smith1-1/+1
2016-05-25[Android] Implement the AppIndexProvider on non-AppCompact, fix KeyValues ↵Rui Marinho1-1/+11
on AppLinkEntry (#166) * [Android] Set AppIndexingProvider on non AppCompact activity * [Core] Fix AppLinkEntry KeyValues
2016-05-06Set InternalsVisibleTo CarouselView (#164)Rui Marinho1-0/+1
2016-05-04Add IMasterDetailPageController and update renderers (#146)E.Z. Hart3-11/+41
2016-05-04Prep StreamImageSource for removal of InternalsVisibleToE.Z. Hart3-3/+15
2016-05-04Add INavigationPageController (#149)E.Z. Hart4-23/+81
2016-05-02Prep VisualElement (and descendants) for removal of InternalsVisibleTo (#141)E.Z. Hart14-40/+59
2016-05-02Make IButtonController public (#151)E.Z. Hart1-1/+1
2016-05-02Prep Image for removal of InternalsVisibleTo (#140)E.Z. Hart3-1/+14
2016-05-02Prep SearchBar for removal of InternalsVisibleTo (#137)E.Z. Hart3-2/+10
2016-04-27Prep Entry for removal of InternalsVisibleTo (#139)E.Z. Hart3-2/+10
* Prep Entry control for removal of InternalsVisibleTo * Update docs
2016-04-26Carousel clean (#135)Jason Smith4-477/+0
CarouselView moving to preview repo
2016-04-26Prepare Preserve attribute usage for removal of InternalsVisibleTo (#121)E.Z. Hart5-24/+24
* Move PreserveAttribute to Internals to prep for removal of InternalsVisibleTo * Update docs
2016-04-25Multi style classes (#134)Stephane Delcroix4-34/+58
* [C] StyleClass is IList<string> * fix docs * this might be required
2016-04-25Make core Ticker abstract and public (#116)E.Z. Hart5-34/+11
* 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-47/+0
2016-04-25Prep WebView and renderers for removal of InternalsVisibleTo (#120)E.Z. Hart7-9/+24
* Create custom event args class for script eval requests Make IWebViewRenderer public * Add IWebViewRenderer docs * Add EvalRequested docs * Move EvalRequested to Internals IWebViewRenderer -> IWebViewDelegate * Add docs
2016-04-24Evolve feature branch (#117)Jason Smith8-6/+144
* Initial import of evolve features * [Android] Add Xamarin.Forms.Platform.Android.AppLinks project * [iOS] Fix issues with c# 6 features on iOS AppLinks * Added naive stanza to update-docs-windows.bat to produce Pages docs. Not tested. (#69) * Update packages * Add AppLinks android nuspec and fix linker issues * Fix build * Fix nusepc * Fix nuspec * Update android support nugets to 23.2.1 * Update Xamarin.UITest * Add CardView * [iOS] Fix app link for CoreSpotlight * [Android] Update AppLinks android support libs * Add Newtonsoft.Json dependency to nuspec * Fix NRE when setting ControlTemplate to null * Move to ModernHttpClient for download * Try fix build * Preserve android app links * Fix margin issue * General coding and simple fixes