Граф коммитов

3360 Коммитов

Автор SHA1 Сообщение Дата
Samantha Houts a490740a2e [Win] Setting TabbedPage.BarTextColor works (#244)
[Win] TabbedPage BarBG takes precedence
2016-07-18 16:33:41 -07:00
E.Z. Hart be9f626c37 Prevent FormsAppCompatActivity from loading fragments we don't use on restart (#246)
* Prevent FormsAppCompatActivity from loading fragments we don't use on restart

* Adding issues lost in merge
2016-07-18 16:30:41 -07:00
Stephane Delcroix d52f110d78 [XamlC] correctly resolve override of virtual event handlers (#247) 2016-07-18 16:30:08 -07:00
Toni Petrina e36816810f [Android] Null reference exception fix (#252)
* Added null checks

* Replaced spaces with tabs
2016-07-18 16:26:59 -07:00
ytn3rd d1885b4465 ixed issues where you could not force rotation with a NavigationPage on iOS. (#254) 2016-07-18 16:25:47 -07:00
Stefan de Vogelaere d1a8477233 Fixes issue when setting NavigationPage.SetHasBackButton after page has navigated (Android/AppCompat) (#256) 2016-07-18 16:20:58 -07:00
Paul DiPietro 9c36f133ad [Android] Add dialog null check for AppCompat Picker OnClick (#257)
Multiple, rapid taps on the Picker in AppCompat could potentially open
more than one dialog, causing a crash upon their being closed. Adding
a null check for the dialog prevents more than one from being created.
2016-07-18 16:20:20 -07:00
Praga Siva 5268d609fa Fix for NullReferenceException when ItemSource has item removed and a… (#258)
* fix for NullReferenceException when ItemSource has item removed and another inserted on iOS

* Update ViewCellRenderer.cs

Fix spacing issue
2016-07-18 16:18:15 -07:00
Stephane Delcroix f304f25df2 [Xaml] allow the Previewer to provide their own Xaml files for any type (#262)
* [Xaml] allow the Previewer to provide their own Xaml files for any type

* [Xaml] use a Func instead of an interface, easier to use by reflection. Add tests

* [XamlC] move the InitializeComponent duplication to XamlC task

* [XamlC] generate branching code

* [XamlC] fix the XamlC issue

* [XamlC] make the API public

* [docs] fix docs
2016-07-18 16:17:29 -07:00
E.Z. Hart 272033723e Windows image loader error handling (#260)
* 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-18 16:16:47 -07:00
Paul DiPietro c9da550ce4 [Android] Remove API check in ActivityIndicatorRenderer's UpdateColor method (#261) 2016-07-18 16:11:44 -07:00
Jason Smith 238c00b207 Ensure BindingContext is properly passed to CreateDefault in UWP ListView (#259) 2016-07-18 15:54:04 +01:00
Stephane Delcroix dead1e0959 Revert "[Xaml] allow the Previewer to provide their own Xaml files for any type"
This reverts commit 962c8fd352.
2016-07-18 10:02:01 +02:00
Stephane Delcroix 962c8fd352 [Xaml] allow the Previewer to provide their own Xaml files for any type 2016-07-18 10:00:06 +02:00
Rui Marinho f7deeece81 [Android] Handle creating a default GroupHeader if no GroupHeaderTemplate is provided (#248) 2016-07-13 09:59:49 +01:00
Rui Marinho 54e9fe2180 Update docs for PoppedToRootEventArgs (#253) 2016-07-12 11:24:04 -07:00
Paul DiPietro 39b12a4864 [Android] TimePicker unfocuses on cancel (#238)
Related to the prior fix of the DatePicker not unfocusing on the cancel button
being pressed, the TimePicker was not unfocusing, as well. A similar fix has
been applied.
2016-07-12 15:59:32 +01:00
E.Z. Hart c08027804e Restore incorrectly renamed InvalidateMeasure method (#251)
* Restore incorrectly renamed InvalidateMeasure method

* Update docs
2016-07-11 12:28:36 -07:00
Johan Karlsson 09ff935532 Added PoppedToRootEventArgs to track popped pages when calling PopToRoot (#229) 2016-07-11 11:39:11 -07:00
Paul DiPietro f167024ef3 Fix DatePicker dialog regression (#249)
KitKat doesn't use the cancel button, so it has to be accounted for.
2016-07-11 10:12:58 -07:00
Samantha Houts eb84f968f2 [All] Crash fixes for ListViews (#243)
* [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-07-01 21:51:38 +01:00
Rui Marinho 128796e6d0 [iOS] Fix regression 2.3.1-pre1 UnevenRows (#242)
* [Controls] Add test case for 39486

* [iOS] Fix math refactor error on calculating height
2016-06-30 09:06:59 -07:00
Samantha Houts 0772a5278b [iOS] Default BarTextColor/BarBackgroundColor will no longer override values set in custom renderers (#233)
* [Controls] Improve TabbedPage test case

iOS should default to the color used in a custom renderer instead of to
the global default color.

* [iOS] TabbedPage Bar*Color default is better

Will use the color set by a custom renderer, if any, instead of always
pulling from global appearance.
2016-06-28 11:25:45 +01:00
E.Z. Hart 589adbd3ef [Android] Memory leak when MasterDetailPage Detail set to NavigationPage (#239)
* Create repro

* Remove unnecessary cast

* Add null checks on weak references in PageContainer

* Remove master/detail fragments from manager when switching master/detail pages
Separate renderer ViewGroup removal from renderer disposal in FragmentContainer
Separate PageContainer disposal from renderer disposal in FragmentContainer
Remove Drawer Listener for NavigationPageRenderer in Dispose

* Fix missing spaces;
Add explicit SPACE_BEFORE_IF_PARENTHESES settings to DotSettings file

* Remove javascript rules

* Remove usage of .ForEach()
2016-06-27 09:20:47 -06:00
Rui Marinho b15ee30765 [UITest] Update to 1.3.8, remove old projects (#240)
* [UITests] Update to Xamarin UItest 1.3.8

* Remove legacy UITest projects

* Remove issue that uses reference to controls

* Update Xamarin.Forms.Core.iOS.UITests.csproj

* Update Xamarin.Forms.Core.Android.UITests.csproj
2016-06-24 17:05:42 +01:00
Rui Marinho e5dd925ee5 [Controls] Fix use of internal extension methods (#237)
* [Controls] Fix use of internal extension methods

* [Controls] Update Xamarin UItest on controls

* Update package TestCloud

* Fix

* Revert "Fix"

This reverts commit 283f96a2210322bf37795dff61394938eb909f59.

* Fix reference
2016-06-22 15:59:54 +01:00
Rui Marinho 22f3c5b364 [Android] Make sure to add a parent to the new group header cell (#228) 2016-06-18 01:16:00 +01:00
Rui Marinho 9340833932 [Android] Take in account status bar padding on master when using split behaviour in MDP (#226) 2016-06-17 11:55:06 -07:00
Rui Marinho dae4dfa94c Fix 39802 (#217)
* [iOS] When using ContextActionsCell make sure we don't show the ContentCell separator

* [Android] Don't write separator view if not needed
2016-06-17 17:29:43 +01:00
Samantha Houts 925fc0aa58 Prep Cell & friends for removal of InternalsVisibleTo (#142)
* 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-17 11:10:18 +01:00
Paul DiPietro d44396a453 [Android] DatePicker unfocuses on cancel (#204)
The DatePicker in Android would remain focused when being closed via the
cancel button, and a subsequent re-focus via something such as button
would not function as expected.
2016-06-16 18:51:16 +01:00
Samantha Houts af6ac9649f [UWP] MasterDetailControl will no longer null out the TCS before it is used. (#227)
* [UWP] Don't null the _commandBarTcs too soon

* Add repro for 41842
2016-06-16 18:09:22 +01:00
Rui Marinho 7ae79f4907 [IOS] Update the current region of the MKMapView when visibility is changed (#172) 2016-06-16 18:03:11 +01:00
Rui Marinho 122a1f2a40 [Core] Don't use the fixed LayoutConstraint when using uneven rows (#213) 2016-06-16 09:58:24 -07:00
E.Z. Hart 9df4d9c328 Add repro of uncentered button image for Android (#176)
Fix vertical centering logic for button images in Android
2016-06-16 17:35:24 +01:00
Rui Marinho 8dd51f2b49 [WinRT] Add base platform as inner proxy navigation to Application, Fix back button issue (#214)
* [WinRT] Add base platform as inner proxy navigation to Application

* [UWP] Remove back button when NavigationPage is disposed
2016-06-16 17:31:50 +01:00
Rui Marinho 87f1418d2f [iOS] Call UpdateLeftBarButtonItem when page is removed (#209) 2016-06-16 17:20:12 +01:00
Paul DiPietro ed517a3027 [UWP] Escape key returns ActionSheet result (#208)
When awaiting a DisplayActionSheet in UWP, pressing the escape key with
the ActionSheet open would dismiss the dialog but not return a result.
2016-06-16 17:17:18 +01:00
E.Z. Hart d5be2f0144 Prep Page for removal of InternalsVisibleTo (#150) 2016-06-16 16:45:09 +01:00
E.Z. Hart 04f7bd296e Fixing parentheses in project reference (#225) 2016-06-16 11:31:37 +01:00
Rui Marinho 7f89f5ad6d [Android] Fix Api18 usage on PinchGesture (#218) 2016-06-15 10:11:51 +01:00
Mike Norman 939bb478f7 Fixed typos in ContentPage.xml (#222) 2016-06-14 14:06:21 -05:00
E.Z. Hart 0fa667e186 # This is a combination of 5 commits. (#221)
# The first commit's message is:
Removing CI-specific script from main repo

# This is the 2nd commit message:

Removing build projects

# This is the 3rd commit message:

Add some error reporting around TestFixtureSetup

# This is the 4th commit message:

Force load referenced assemblies to prevent missing registrations

# This is the 5th commit message:

Revert failed fix for GetAssemblies
2016-06-14 11:16:48 +01:00
Rui Marinho 9f40b0fc3d [Pages] Add reference to Xamarin.Forms.Build.Tasks (#220) 2016-06-13 09:20:58 -07:00
Mike Norman e7be3c5504 DataPages docs. (#212)
* DataPages docs.

* Summary complete for Pages docs.

* Type fixes per samhouts.

* Typos in Pages docs.
2016-06-09 13:34:41 -05:00
Rui Marinho e2e303654e [Android] Always create a new cell for GroupHeader when using Recycling (#206)
* [Android] Always create a new cell for GroupHeader when using RecycleElement

* [iOS] Fix uitest iOS

* [Android] Fix test on android
2016-06-09 10:59:26 -07:00
Mike Norman 67511ed858 Fixed code in Scrollview doc. Removed bug note in Easing. (#219) 2016-06-09 10:54:53 -07:00
Paul DiPietro ce0238846a [Win 8.1] Initial ListView selection not shown (#174)
On Windows 8.1, when initially setting a ListView's SelectedItem, the
item in question would not have any visual indication that it was
selected when first showing (a background color for the cell).
Subsequent selections would work as expected.
2016-06-08 10:38:08 -07:00
Shawn Castrianni 2a244e0b2f Add convenience GridLength.Star (#168)
* Add convenience GridLength.Star

* Update docs
2016-06-08 10:37:21 -07:00
Shawn Castrianni c1cf72080a Add Plain Keyboard from KeyboardFlags.None (#155)
* Add Plain Keyboard from KeyboardFlags.None

* Include Keyboard.Plain in Gallery

* Update docs
2016-06-08 10:36:37 -07:00