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

442 Коммитов

Автор SHA1 Сообщение Дата
Stephane Delcroix a5183bed8d [XamlC] Implement IValueProvider.PropertyType (#345) 2016-09-23 00:01:22 -07:00
Stephane Delcroix 1076e73569 [XamlC] supports enum and consts in x:Static (#369) 2016-09-22 23:56:29 -07:00
Adrian Knight a708ad9593 iOS ScrollView should not scroll out of place on scrolling to element 2016-09-23 00:32:32 -05:00
E.Z. Hart 74cb5c4a97 Implement dispose pattern correctly to support derived classes (#364) 2016-09-21 23:04:36 +01:00
Rui Marinho d4efe0a37e [Controls] Update Insights and UITest packages and fix warnings (#361)
* [Controls] Update Insights and UITest packages

* Update Xamarin.Forms.Platform.Android (Forwarders).csproj
2016-09-18 11:24:44 -07:00
Atsushi Eno 7d66ed0aad Android BeginInvokeOnMainThread() should not possibly block. (#343)
Android.App.Activity.RunOnUiThread() does not always run the argument
Runnable asynchronously; actually it is run synchronously if current
thread is the UI thread [*1][*2]

Use Handler.Post() instead. (It is also used in Android.App.SyncContext[*3])

[*1] https://developer.android.com/reference/android/app/Activity.html#runOnUiThread(java.lang.Runnable)
[*2] http://stackoverflow.com/questions/33039600/android-runonuithread-not-async
[*3] https://github.com/xamarin/xamarin-android/blob/5777337/src/Mono.Android/Android.App/SyncContext.cs#L15
2016-09-16 14:05:29 -07:00
E.Z. Hart 5b1bad9a11 Format MapRenderer according to project code style (#362)
* Format MapRenderer according to project code style

* Using var instead of explicit type for Markers
2016-09-16 19:55:38 +01:00
Rui Marinho d3cf333590 [Android] Fix failing UITests (#356) 2016-09-15 10:33:39 -07:00
Stephane Delcroix 9f361c7e72 do not disable warning (#357) 2016-09-15 14:45:50 +02:00
Rui Marinho eb79ff842e Remove iOS classic from CI system (#353)
* [CI] Remove classic from build

* [Build] Remove classic forwarder

* [Nuget] Remove classic from Pages azure

* [Build] Remove classic csproj

* [IOS] Remove _UNIFIED_
2016-09-14 22:56:17 +01:00
Rui Marinho e6a2bed3b2 Revert "Revert "[Android] Fix warnings (#346)""
This reverts commit 6fa569cfda.
2016-09-13 22:52:47 +01:00
Jason Smith 170f165bb2 Update docs 2016-09-13 09:57:19 -07:00
Rui Marinho 6fa569cfda Revert "[Android] Fix warnings (#346)"
This reverts commit 960f02d0e7.
2016-09-13 13:18:03 +01:00
Rui Marinho 960f02d0e7 [Android] Fix warnings (#346) 2016-09-13 12:51:57 +01:00
Samantha Houts d8f939ff6e [iOS] ViewCells with Accessories will be properly laid out again (#338)
* Add repro for 43161

* [iOS] Don't adjust ViewCell Bounds when there is an Accessory

* [iOS] Fix spacing
2016-09-13 12:39:36 +01:00
Paul DiPietro 06698acfb9 [A] Fix regression on NavAnimationInProgress (#341) 2016-09-13 12:39:02 +01:00
Rui Marinho e49be51ad5 [iOS] - Revert setting the frame for ViewCell to try to hide the gap between cells when using a ContextActionCell (#351) 2016-09-13 12:38:16 +01:00
Rui Marinho c92f079ad9 Revert "[C] Prevent enabling a Button via setting a Command (#308)"
This reverts commit 368a375f13.
2016-09-13 12:34:22 +01:00
Jani Lirkki 506a787b60 Android AppCompat: Don't do NavigationPage menu updates for disposed page (#331) 2016-09-12 12:53:44 +01:00
Mikhail a0bbd18514 After Label.FormattedText property changed need invoke UpdateText method (#335) 2016-09-12 12:52:31 +01:00
Paul DiPietro 368a375f13 [C] Prevent enabling a Button via setting a Command (#308) 2016-09-12 12:51:19 +01:00
Paul DiPietro 420ceb37d0 [iOS] Adjust Started/Ended hooks in pickers for iOS 10 (#339) 2016-09-08 15:00:57 -07:00
Stephane Delcroix 36822e614d [XamlC] throw exception on missing property (#336)
* Added unit test for 43450

* fix test

* [XamlC] instrument the compiler so we can test it

* [XamlC] throw on missing property
2016-09-08 21:01:09 +02:00
Stephane Delcroix 1f84a4955c [XamlC] replace the runtime type check by compiletime (#334) 2016-09-08 11:51:01 -07:00
Stephane Delcroix 3b7d798fdd [Xaml] support native views and native bindings (#266)
Allows including Native views directly in xaml.
Support for ios, android, UWP
2016-09-08 11:45:43 -07:00
Stephane Delcroix 85426c5d94 Native Bindings (#278)
* [C, I, A, W] Support Native Bindings

* fix tabs
2016-09-08 11:39:05 -07:00
E.Z. Hart 11326e1c18 Fix incorrect background property name on Win 8.1 phone and tablet styles (#329) 2016-08-31 12:57:35 -07:00
Jason Smith 1d87e80d25 Fix docs 2016-08-30 22:01:42 -07:00
Paul DiPietro d8f9444ddb [Win] Fix FontAttributes unexpectedly changing a label's size (#325) 2016-08-30 11:47:09 -07:00
Paul DiPietro 88b15d7d1f [A] Check UserVisibleHint to prevent non-active tabs from firing SendAppearing in OnResume (#328) 2016-08-30 11:34:37 -07:00
adrianknight89 f1f0a77e15 KeyboardExtensions is now public (#326) 2016-08-30 11:31:41 -07:00
Samantha Houts ab0daa1947 [A] PanGestureRecognizer will consistently send Completed event (#313)
* Adjust gallery page for reproduction

* [A] Forward OnTouchEvent to Listener...

...and end scrolling on Up.
2016-08-30 11:14:13 -07:00
E.Z. Hart 1b7250167f Use character truncation in Windows (#321)
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-30 11:12:27 -07:00
Jonathan Peppers 0bc22bda64 Fix for ListView BindingContext for Header/Footer (#312)
* 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-30 10:59:32 -07:00
E.Z. Hart 974705b9a9 Fix memory leak caused by BaseCellView and RendererHolder (#311) 2016-08-30 10:57:55 -07:00
Kangho a0dae2d111 Update Makefile to support linux env (#309) 2016-08-30 10:55:00 -07:00
Samantha Houts 5e553f6195 Platform Specifics (#301)
* 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-30 10:46:14 -07:00
Jimmy Garrido f551654b1c Throw InvalidOperationException if AppLinkEntry.Thumbnail source is invalid (#299) 2016-08-30 10:45:05 -07:00
Marcus Lum 61f34d113c Allow Custom Android MapRenderers to override the default MapView options (#285)
* Allow Custom Android MapRenderers to override the default MapView options

* Larger effort to use CreateNativeControl () everywhere instead of just in the Android AppCompat renderers.
2016-08-30 10:37:07 -07:00
Jimmy Garrido 5b85aafcd6 Fix crash when ItemsSource is set to null (#320) 2016-08-25 11:05:18 -07:00
Mike Norman 417f7493d2 Fixed SinInOut description. (#319) 2016-08-25 11:11:01 -05:00
Paul DiPietro 96c194cb12 Fix regression by adding null check in Windows ListView selection (#314) 2016-08-25 01:55:15 +01:00
Oddbjørn Bakke cb2bcdb84c [Android] Fix for NullReferenceException when using the wrong activit… (#286)
* [Android] Fix for NullReferenceException when using the wrong activity type.

On using FormsApplicationActivity or FormsAppCompatActivity as base Activity in a SplashScreen.
A NullReferenceException will be thrown in the KeyboardManager.
Added InvalidOperationException with "Forms.Init()" message instead, if the Forms.Context is null.

* Fixed indentation
2016-08-17 10:26:27 +01:00
Paul DiPietro e488f7f318 [WinRT] Remove preemptive setting of null upon action sheet closure (#305) 2016-08-16 12:13:12 -07:00
Stephane Delcroix 4226f5b386 [Xaml] Clone node tree on DT, allow markup to be evaluated multiple times (#295) 2016-08-16 11:33:44 -07:00
Paul DiPietro 3ca06ea146 [Windows] Correct enter/esc keypress behaviors for MessageDialog (#292) 2016-08-16 11:33:11 -07:00
Rui Marinho 52dc625bce [iOS] Change when we updated the XF INavigationPageController after popping a page natively, Cleanup UITest references (#291) 2016-08-16 11:31:53 -07:00
Jonathan Peppers f6febd4c81 Fix for BindingExpression memory leak (#279)
* 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-16 11:19:21 -07:00
E.Z. Hart 30c0dcb949 Fix Entry/SearchBar color issues (#306)
* Fix disappearing Entry text on UWP Anniversary Edition
Fix background color reversion bug in UWP Phone
Move SearchBar styling on UWP to its own file
Make foreground/background color changes on UWP SearchBar/Entry consistent
Fix SearchBar color toggle bug on WP8

* Temporarily moving SDK target to previous version

* Fix build error on OSX
2016-08-16 11:10:32 -07:00
Akihiko Odaki 966683a807 Invalidate measure of Label when FormattedText changes (#303) 2016-08-16 11:05:42 -07:00