summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
AgeCommit message (Collapse)AuthorFilesLines
2016-12-14Xamlc compiled trigger (#629)Stephane Delcroix2-1/+2
* [XamlC] compiled Trigger * remove file header * name bool parameters
2016-12-14[XamlC] Allow compilation of IValueProviders (#622)Stephane Delcroix1-0/+1
* [XamlC] Allow compilation of IValueProviders `IValueProvider`s tagged with the appropriate attribute will be bypassed and the compiled version, if found, will be used. This first version contains a compiled version of Setter's IValueProvider and it already reduces the amount of generated IL by 39% in, e.g. StyleTests. It's a huge gain because XamlC no longer have to generate ServiceProviders for those, so the methodbody is smaller, takes less time to jit, less time to execute and nothing is invoked at runtime, which probably saves a tons of time as well, as most IValueProvider implementation heavily uses reflection. * name bool parameters
2016-12-12[XamlC] Compile TypeTypeConverter (#615)Stephane Delcroix1-0/+1
2016-12-12[XamlC] compile ThicknessTypeConverter (#603)Stephane Delcroix1-1/+2
2016-12-06[C] detach Behaviors and Triggers on VE finalization (#555)Stephane Delcroix2-0/+21
* [C] detach Behaviors and Triggers on VE finalization * update docs
2016-12-06[iOS] Fix crash when pushing page on stack on orientation change (#607)adrianknight891-5/+2
* Fix orientation crash * remove braces
2016-12-06ResourceDictionary fixes (#536)Stephane Delcroix2-26/+28
* [C] avoid leaking RDs, remove reflection call, validate arguments * [C,Xaml] The only way to get merged values are internal
2016-12-05[XamlC] Compile ContraintTypeConverters (#592)Stephane Delcroix1-0/+1
* [XamlC] Compile ContraintTypeConverters * fix error message
2016-12-05[Xaml] revert namespace change for XmlnsDefAttr (#610)Stephane Delcroix2-3/+3
* [Xaml] revert namespace change for XmlnsDefAttr * fix
2016-12-04[Xaml] change namespace for [XmlnsDef] and make it internal (#557)Stephane Delcroix2-5/+5
* [Xaml] change namespace for [XmlnsDef] and make internal * fix docs
2016-12-01[XamlC] use op_implicit where we should (#580)Stephane Delcroix1-1/+1
* [XamlC] (passing) test for 48242 * [XamlC] (failing) test for 48242 * [XamlC] more op_implicit conversions * additional test * fix rebase
2016-12-01Don't run Command CanExecute on incorrect inherited binding context type (#572)E.Z. Hart1-13/+49
* Allow Command CanExecute to recover when run on inherited bindingcontext * Make exception handler more generic * Checking types in Command delegates to avoid exception in the first place * Adding type chekc to other Command constructor * Use nameof for ArgumentNullExceptions * Add unit tests for null parameters, handle value types and Nullable<T>
2016-11-24fix weakreferences (#558)adrianknight891-1/+1
2016-11-18Platform specifics naming adjustments (#526)Paul DiPietro2-8/+8
2016-11-17[Xaml] cleanup xmlns usage, add XmlnsDefinition (#531)Stephane Delcroix3-2/+30
* [Xaml] cleanup xmlns usage, add XmlnsDefinition * docs
2016-11-16Run multiple UI tests without restarting ControlGallery (#539)E.Z. Hart1-0/+1
* Allow UI tests to bypass "manual" navigation to isses pages * Add missing Preserve attribute * Make Issue198 test work with direct navigation * Remove empty UI tests * Fix error handling for iOS * Use navigation which works for subsequent TestNavigationPages on iOS * Fix race condition in 39530 test Remove master page nesting when doing direct nav for UI tests * Set up and run a single instance of Control Gallery for UI tests * Force NavigateToIssue to wait for main page appearing to deal with iOS timing * Move remaining UI tests into Issues namespace * Change the connection check URL so it'll work on iOS * Make Appearing Gallery tests work without restarting app * Prevent ContextActions tests from stepping on each other * Make context menu test more robust * Move ButtonExtensions back to Controls namespace * Have test 774 dismiss the action sheet before ending * Update UITest package to 2.0.0 stable * Make 2948 restore orientation when it's done * Null check on PageController before calling SendDisappearing * Adding a wait for the root page in the core tests * Add consecutive tests reset to prevent memory slog on older iOS devices
2016-11-16[W] Support 0 as valid BorderWidth (#537)Stephane Delcroix1-1/+1
2016-11-16[iOS] Add Platform Specific option to not adjust the status bar text color ↵Samantha Houts3-1/+40
based on the luminosity of the NavigationBar text color (#517) * Add reproduction for 37431 * [Core] Add iOS PS StatusBarTextColorMode * [iOS] Implement StatusBarTextColorMode on NavPage * Add reproduction for 44777 * Add instructions to 44777 repro * Update docs
2016-11-16[C] Use a Binding for ItemsSource object selectionStephane Delcroix1-186/+226
2016-11-16Squashed commit of the following:Joakim Carselind1-9/+232
commit 8d784ec7459335ca33003844a793c3dd266c5861 Author: Joakim Carselind <joakim.carselind@cub.se> Date: Tue Aug 23 00:30:25 2016 +0200 Added DisplayConverter property of type IValueConverter to perform conversion from object to string commit afb606f05c16b14e24785fad017540dd83dbf373 Author: Joakim Carselind <joakim.carselind@cub.se> Date: Tue Aug 23 00:07:55 2016 +0200 Use IsValueType commit 4742c22ed33309f40a55c536b161292eb5db40f8 Author: Joakim Carselind <joakim.carselind@cub.se> Date: Fri Aug 19 18:58:40 2016 +0200 Fixed bug with nested property expression commit 70a121e6172a61dbcf8835137bf58bd972cf2065 Author: Joakim Carselind <joakim.carselind@cub.se> Date: Fri Aug 19 18:43:14 2016 +0200 Added more tests commit 49c7876bda4185c699f5fd9b3a66763efca9623c Author: Joakim Carselind <joakim.carselind@cub.se> Date: Thu Aug 18 13:28:36 2016 +0200 Siimplified setting SelectedItem. Added property to provide full control over how to display the objects by DisplayFunc. Added tests commit 5c1d5e149dc21c58cebf7cdbc6677d1ccec04ed4 Author: Joakim Carselind <joakim.carselind@cub.se> Date: Thu Aug 11 17:15:36 2016 +0200 Trying to fix formatting with tabs instead of spaces commit d64663ce3ef6b223a04d477274e93ec87bd38ff4 Author: Joakim Carselind <joakim.carselind@cub.se> Date: Thu Aug 11 17:10:39 2016 +0200 Formatting. Handle Reset,Move,Replace collection changed action equal by re binding Items collection commit 8d4641810cb3b11fb6b47f8215bb5950a9641ba2 Author: Joakim Carselind <joakim.carselind@cub.se> Date: Thu Aug 11 16:33:03 2016 +0200 Removed inline documentation. Fixed formatting commit 28010a1b31da02879fd2d549d5b02458766544d5 Author: Joakim Carselind <joakim.carselind@cub.se> Date: Thu Aug 11 16:29:37 2016 +0200 Removed SelectedValue since SelectedIndex and SelectedItem make it redundant commit ac9d65816fe6db7b467c304e6dc3168a84d3166b Author: Joakim Carselind <joakim.carselind@cub.se> Date: Thu Aug 11 14:51:20 2016 +0200 Initial attempt on bindable picker
2016-11-16[iOS] Add Platform Specific features for ↵Paul DiPietro4-0/+81
PrefersStatusBarHidden/UIStatusBarAnimation (#463) * [iOS] Add Platform Specific features for PrefersStatusBarHidden/UIStatusBarAnimation * Update docs
2016-11-16BindingContext changes are called multiple times on app start (#470)adrianknight891-3/+4
* inherited binding context fix * add check for child binding context * Revert "add check for child binding context" This reverts commit 71952f39129cfedc2358a32100deb07bd32a3080. * unit tests
2016-11-15[C] Add cornerRadius validation, docsStephane Delcroix1-1/+3
2016-11-15Added CornerRadius property To Frame controlAndrei N1-0/+8
2016-11-15[XamlC] TypedBindings, some tests, a compiler, ... (#489)Stephane Delcroix9-67/+350
2016-11-15[Android] Show keyboard on app resume if control has focus (#480)adrianknight891-6/+25
* show keyboard on resume if control has focus * refactor * changed property name
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-25ScrollView should account for Content margin (#392)adrianknight891-2/+2
* ScrollView should account for Content margin * Unit tests for content margin
2016-10-20[iOS] Add Platform Specific feature for setting AdjustsFontSizeToFitWidth on ↵Paul DiPietro2-0/+47
Entry (#429) * [iOS] Add Platform Specific feature for setting AdjustsFontSizeToFitWidth on Entry * Update docs
2016-10-20[Android] Add Platform Specific features for setting TabbedPage swipe paging ↵Paul DiPietro2-0/+70
and OffscreenPageLimit (#409) * [Android] Add Platform Specific feature for setting TabbedPage swipe paging * [Android] Add Platform Specific feature for OffscreenPageLimit * Update docs
2016-10-20[C] fix TranslateTo for easing going outside of (0,1) (#414)Stephane Delcroix1-1/+1
2016-10-20Remove unnecessary string replace in Color.FromHex (#477)Philippe Leybaert1-1/+1
In Color.FromHex(), the ‘#’ character is stripped from the input string twice.
2016-10-12[Android App Compat] Can opt out of sending Appearing/Disappearing events on ↵Samantha Houts2-1/+59
Resume/Pause (#450) * Add reproduction for 40722 * [Core] Add Android AppCompat PS props ... ... to disable sending Disappearing/Appearing events on Pause/Resume respectively. * [Android] Allow user to disable Pause/Resume evts * Revise repro to use new PS option * Update docs
2016-10-11OnIdiom support for Desktop (UWP) (#420)Philippe Leybaert1-1/+5
The current implementation for OnIdiom<T> is missing the Desktop property. When running in a Windows UWP "desktop" app, it always returns the Phone property.
2016-10-11Full feature compatibility with WPF's Colors class (#393)adrianknight892-4/+249
Added color definitions to match X11 color table. Warning: the saturation of Pink was changed lightly
2016-10-10[Core] Set IVT to MacOSRui Marinho1-0/+1
2016-09-30[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 INPC (#384)E.Z. Hart1-1/+8
2016-09-27[UWP/WinRT] ListView UI virtualization works without explicit height on ↵Samantha Houts1-1/+2
Cell/Row (#367) * Add repro for 41271 * [UWP/WinRT] ListView virtualization works without explicit height on Cell/Row * Adjust repro to clear ItemsSource OnDisappearing. * Update docs
2016-09-26[C] specify type and default value for native bindings (#376)Stephane Delcroix1-11/+16
2016-09-26[XamlC] Compiled converters (#358)Stephane 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