summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
AgeCommit message (Collapse)AuthorFilesLines
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
2016-04-23Fix margin issue (#130)Samantha Houts1-5/+13
2016-04-19Add TextColor Property to Picker, TimePicker, DatePicker (#84)E.Z. Hart3-8/+32
* Add TextColor property to TimePicker Add TextColor page to TimePicker gallery Add TimePicker color toggling to color toggle test page Split color toggle tests up among tabs * Implement TimePicker.TextColor in iOS * Implement TimePicker.TextColor for WinRT tablet * Add IsEnabled=false tests to DefaultColorToggleTest Button and TimePicker Consolidate ColorStates array Fix IsEnabled changing color bug on iOS * Implement TimePicker.TextColor for WP8 * Add TextColor property to DatePicker Add DatePicker section to DefaultColorToggleTest Impement DatePicker.TextColor for WP8 * Implement DatePicker.TextColor for WinRT/UWP/Windows Phone 8.1 * Implement DatePicker.TextColor for iOS * Add TextColor to DatePicker Gallery Page * Implement DatePicker.TextColor for Android * Add Picker Gallery page for TextColor Implement Picker.TextColor on Android Consolidate TextColor management for Button, Picker, DatePicker, TimePicker Implement * Add untracked TextColorSwitcher Implement Picker.TextColor in iOS * Implement Picker.TextColor in WinRT/UWP/Windows Phone 8.1 Remove Pioker Loaded handlers in Dispose * Implement Picker.TextColor in WP8 * Removed unused field Update ignored warnings * Update docs * Use nameof() for BindableProperties * Cleanup * Fix custom renderer crashes for classes using TextColorSwitcher * Correct property name references * Fix typo and 'if' formatting * Add missing else
2016-04-18Whitespace fixes (#110)kingces953-31/+64
2016-04-18CarouselView Fixes (#101)kingces953-26/+11
* Fix CarouselView.Item * CarouselView formatting * Move ItemsView.Count to IItemsViewController * Remove dead code: CarouselView.IndexOf * CarouselView re-layout subviews on resize. * Add ItemTemplate to resources.xaml on UWP * Docs
2016-04-18Make sure RD indexer works with merged dictionaryJason Smith1-1/+8
2016-04-18BarBackgroundColor and BarTextColor on TabbedPage (#96)Samantha Houts1-0/+28
* [Core] Add properties to TabbedPage * [Controls] Add properties to test page * [iOS] Added BarBackgroundColor & BarTextColor to TabbedPage * [A] Added BarBackgroundColor & BarTextColor to TabbedPage * [UWP] Added BarBackgroundColor & BarTextColor to TabbedPage * [WinRT] Format file * [WinRT] Added BarBackgroundColor & BarTextColor to TabbedPage * [Docs] Updated docs
2016-04-18[C] Allow implicit styles and DynamicResources in shared RD (#104)Stephane Delcroix1-3/+7
2016-04-18[C] Allow Multiple Shared RD. (#103)Stephane Delcroix1-2/+9
2016-04-17Merged ResourceDictionary (#97)Stephane Delcroix1-2/+27
* [X] Support Merged RD * [X] Support RD as xaml roots * [XamlC] I have no idea how that used to work before * [C] Remove debugging statements * fix docs
2016-04-12Make sure pragma warning restores only restore what they are supposed toJason Smith2-11/+11
2016-04-12Mop up enabling warnings as errors (#78)kingces957-3/+36
2016-04-12[Core] Can bind properties in BindableObjects added to static resources in ↵Samantha Houts2-1/+19
XAML (#58) Resources that are `BindableObject`s will inherit the `Parent`'s `BindingContext` unless they are `Element`s that have non-null `Parent`s.
2016-04-08Automatically marshal all AnimationExtensions calls onto UI thread (#48)E.Z. Hart1-61/+94
2016-04-07[A, iOS] CarouselView Bug Fixes (#49)kingces951-4/+19
* CarouselView programatic scrolling fixes; swipe back fixes * Make iOS CarouselView events consistant with Android * bump swipe distance; add Screenshot on Exception * Formatting. No logical change. * Comment out [Test] on UITest and fix TestCloud failures later.
2016-04-06[C] Cast to ICommand instead of Command inside SearchBarJason Smith1-2/+2