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

2256 Коммитов

Автор SHA1 Сообщение Дата
Mohamed CHOUCHANE dd59107a4b Fix : Binding Icon in ToolbarItem in TabbedPage doesn't refresh (#3761) fixes #3756 2018-09-13 16:32:11 +01:00
Pavel Yakovlev cceee9ded6 Add TabStop/TabIndex (#2795)
* [Core, UWP, Android] support TabStop/TabIndex

* removing linq

* add iOS / MacOS implementation

* add WPF implementation
fixes UWP implementation

* - addressing comments
- improve test
- optimizations
- added previous tab direction in same tab group

* addressing comments

* [Android] support tabstop for pickers

* - moving shared code to a static class
- removed reflection

* ITabStop -> changed to internal, renamed, added in to fastRenderers

* Update ITabStop to be public
2018-09-12 21:20:46 -07:00
Rui Marinho ad8ac34d59
Fix tests (#3771)
* [ControlGallery] Wait for element and add timing to tests

* [iOS] Fix NRE on RenderPool
2018-09-13 01:37:04 +01:00
Rui Marinho 8ddd00a27f
[Android] Update Forms to remove API28 deprecated API (#3653) fixes #2128 fixes #3629
* [Build] Update provisioning

* [Controls] Ignore deprecated  Android API usage

* [Android] Remove use of obsolete color usage

* [Android] Remove app fragment usage

* [android] Rollback changes to EntryCellRenderer

* [Android] Better way to get the default color for the label text

* [Android] Obsolete message for ContentPage.CreateFragment()

* [ControlGallery] - create bitmap from Drawable to use for pixel location

* [Android] Use textcolor resource

* Update submodule
2018-09-12 10:12:55 +01:00
Pavel Yakovlev 2cbfaea53a [UWP] Fixes CollectionChanged events in ListView (#3323)
* fixes #3273

* [UWP] Fixes CollectionChanged events in ListView

* a wrapped collection is used only if the SourceItem is not ObservableCollection

* improve uitest

* fixed NRE in empty ListView

* added a sortable custom renderer for UItest

* minor refactoring

* fixed reset of not wrapped collections

* addressing comments

* [UWP] remove WinRT hack

* [UWP] add missing using and cleanup additional resources
2018-09-11 16:05:06 -06:00
Rui Marinho ddd914b7a1
Merge branch '3.2.0' 2018-09-11 17:38:29 +01:00
Pavel Yakovlev 9f97968334 [Android, iOS] Fixes layout compression causes (#3698) fixes #3624
* [Android, iOS] Fixes layout compression causes

* [iOS] improve UpdateNewElement method

* Fix build error hopefully
2018-09-11 14:32:50 +01:00
Samantha Houts 58992d8a5d [Android] Revert bad merge (#3746)
fixes #3705
2018-09-10 10:06:25 -07:00
Rui Marinho a67621b21b
[UITest] Update Xamarin.UITest nuget package (#3632)
* [UITests] Update Xamarin.UITest 2.2.5

* [UITests] Try fix Toolbaritems

* [UITest] Update to 2.2.5-1606

* [UITests] Small Fixes and workarounds to make uitest happy

* [UITests ] Add delay to 1733 for API28
2018-09-07 18:14:44 +01:00
Shane Neuville 3a0ccccc5c [UWP] uncomment tests that are now passing for 3188 (#3723) 2018-09-06 16:20:13 +01:00
Sebastian Rauer b0c6d6f398 24H Mode (#3701)
The 24h mode for the pickerdialog was not working.

Version 3.1 was working fine. 

Here is an updated file.
2018-09-05 15:08:29 -07:00
Rui Marinho ec76761e3c [iOS] Unsubscribe CellPropertyChanged when SwitchCellRenderer is disposed (#3518)
* [Controls] Add repo of issue #3408

* [iOS] Unsubscribe CellPropertyChanged when cell is disposed

* [Controls] Add issue to project

* [iOS] Introduce CellPropertyChange to CellTableViewCell to used by all other cell renderers

* [Controls] Simplify Issue

* [iOS] Remove PropertyChanged that was not used

* [Controls] add check for null binding on template, add notes about issues

* [Controls] added reference to Android crash

* [iOS]Use existing PropertyChanged on ViewCelRenderer

* [iOS] Keep the existing override so we don't break users

* Update TextCellRenderer.cs

* update submodule
2018-09-05 15:04:02 -07:00
E.Z. Hart d6aba7938c [Android] Support multiple clipping settings in single layout (#3559)
* Repro

* Fix for API 18+
2018-09-05 11:15:29 -07:00
Rui Marinho 181b1ae57d
Merge branch '3.2.0' 2018-09-03 12:28:59 +01:00
Pavel Yakovlev 9ad4cb858f [UWP] Fixed double set margins in Layouts (#3570) fixes #3398 fixes #3616 2018-09-03 11:46:11 +01:00
Rui Marinho 6c94e6e0c8
[iOS] Specify a default size for UISearchBar width if needed (#3635) fixes #3413 fixes #2139
* [Controls] Add reproduction and test case for issue #3413

* [iOS] Don't use max value for iOS UISearchbar breaks on iOS 11.3

* [iOS] Force width value so we can renderer UISearchBar on iOS10 with infinite width

* [Controls] Fix spelling and add Manual Review to the test of #3413

* [iOS] Simplify code for UISearchBar width

* [iOS] Return always some width from measure the UISearchBar on IOS

* [Controls] Add reproduction case for issue #2139
2018-09-03 10:36:54 +01:00
Samantha Houts 7422cb8b17 Merge branch '3.2.0' 2018-08-31 14:19:27 -07:00
Stephane Delcroix 912ed626db [CSS] add more properties (#3466)
map new CSS properties:
- `color` on `IColorElement` (`ActivityIndicator`, `BoxView`),
  `ProgressBar` and `Switch`
- `row-gap` and `column-gap` on `Grid`
- `transform` and `transform-origin` on `VisualElement`
- `vertical-align` on `Label`

add new XF-specific CSS properties
- `-xf-placeholder` and `-xf-placeholder-color` on `Editor`, `Entry`,
  `SearchBar`
- `-xf-max-length` on `InputView` (`Editor` and `Entry`)
- `-xf-bar-background-color` and `-xf-bar-text-color` on
  `NavigationPage` and `TabbedPage`
- `-xf-orientation` on `ScrollView` and `StackLayout`
- `-xf-horizontal-scroll-bar-visibility` and
  `-xf-vertical-scroll-bar-visibility` on `ScrollView`
- `-xf-min-track-color`, `-xf-max-track-color` and `("-xf-thumb-color`
  on `Slider`
- `-xf-spacing` on `StackLayout`

This PR replaces and closes #3276

- fixes #2891
2018-08-31 11:35:56 -07:00
Samantha Houts a8260b0075 [Android,iOS,UWP] Allow Entry CursorPosition/SelectionLength to be set in ctor (#3402) fixes #3343 fixes #3633
* Add repro for #3343 + unit tests

* [Core] Disallow negative values for CursorPosition/SelectionLength

* [All] CursorPosition/SelectionLength can bindin ctor & clear value

fixes #3343

* typo

* cleanup

* [iOS] Cursor snaps to end

* try/catch
2018-08-31 18:20:30 +01:00
Mohamed CHOUCHANE dab544298b [WPF] Memory leak when you pop a TabbedPage (#3372) fixes #3267
* Fix [WPF] Memory leak when you pop a TabbedPage

* Update ViewRenderer.cs

* Update ViewRenderer.cs
2018-08-31 14:08:19 +01:00
Seungkeun Lee e8051310e3 Fix ScrollView Padding issue (#3685) 2018-08-31 12:33:30 +01:00
Javier Suárez Ruiz bc7d268121 Fixes #3663 (#3684) 2018-08-31 12:33:08 +01:00
Shane Neuville 8f03f5ec5c [iOS, UWP] fixes #2894 - Gestures collection changes weren't correctly propagating (#3643)
* [iOS, UWP] fixes #2894 - Gestures weren't wiring up to spans in all cases

* [Core] remove ChildGestureRecognizers when spans get removed

* [iOS] removed incorrect return from null
2018-08-31 12:32:37 +01:00
Andoni Morales Alastruey c383a122b4 Fix partially #3585 (#3592)
* Make webkit-sharp.dll.config cross-platform

* Update webkit-sharp.dll with missing signals bindings

see: https://github.com/ylatuya/webkit-sharp/tree/fluendo
2018-08-29 21:36:09 +01:00
Andoni Morales Alastruey 11bbc6abc9 [GTK] Fix navigation bar visibility updates (#3651) 2018-08-29 17:09:02 +01:00
Mohamed CHOUCHANE ea7a5185ec Fix text wrapping (#3671) fixes #3634 2018-08-29 17:08:32 +01:00
Rui Marinho 4301017bf6
Merge branch '3.2.0' 2018-08-29 10:28:29 +01:00
Shane Neuville 0a34ef1b4d
[iOS] fixes #3525 - add epsilon for float compare (#3654)
* [iOS] fixes #3525 - add epsilon for float compare and make region immutable

* [ControlGallery] spread out spans to account for click slop

* [ControlGallery] - adjust span slightly for android test

* [Core] remove private
2018-08-28 22:21:22 -06:00
Samantha Houts e3e7df8fc3 [Android] API check for Shadow properties on Button (#3617) fixes #2702
* [Android] API check for Shadow properties on Button

* Fix swapped shadow values
2018-08-29 01:22:03 +01:00
Shane Neuville 5df78b9711 [Android] fixes #3675 - set initial ScrollView Scroll values when RTL (#3676) 2018-08-29 00:05:25 +01:00
Samantha Houts 11965c284c [iOS] iPad ActionSheet should always have a Cancel method (#3636)
* Add repro for #3049

* [iOS] iPad ActionSheet should always have a Cancel method

fixes #3049
2018-08-28 11:19:14 -06:00
Rui Marinho a94074463e
Merge branch '3.2.0' 2018-08-28 13:08:55 +01:00
Shane Neuville c11b2863e8 [Android] remove deprecated AndroidUseLatestPlatformSdk (#3672) 2018-08-28 13:04:23 +01:00
Samantha Houts 5eef663b39
Update PULL_REQUEST_TEMPLATE.md 2018-08-24 12:18:21 -07:00
Shane Neuville 4222ad2542 [C] Set binding context on Span Gestures (#3639)
* [Core] Set binding context on Span Gestures
* [Core] Simplify loop setting child binding context

- fixes #3524
2018-08-24 09:50:47 +02:00
E.Z. Hart c0b231bc57 [Android] Use height when determining ScaledScreenSize; fixes #3609 (#3641) 2018-08-23 14:46:23 +01:00
Pavel Yakovlev 57fd1de8ab [UWP] Fix crash app when create navigation/tabbed page without children pages fixes #3188 (#3514) 2018-08-23 14:44:41 +01:00
Pavel Yakovlev 56d47a1469 [iOS] AutomationProperty support for cells (#3313) fixes #3296
* [iOS] AutomationProperty support for cells

* Add test case to AutomationProperties gallery
2018-08-23 13:28:31 +01:00
kingces95 1584aa2ccc Fix 3564 Null Reference Exception (#3578)
- fixes #3564
2018-08-23 10:00:24 +02:00
kingces95 8c53d70759 Fix 3562 Null Reference Exception (#3576)
- fixes #3562
2018-08-23 09:59:19 +02:00
kingces95 b1f85390e9 Add Null Check to GetRenderer (#3575)
- fix #3563
2018-08-23 09:57:59 +02:00
kingces95 7e38a24633
update .create-nuget.bat (#3638) 2018-08-22 10:31:05 -10:00
kingces95 ee300cb2dc
[Android] Fix Label LineHeight (#3452)
* fix line height android

* Make UAP respect initial LineHeight
2018-08-22 10:07:48 -10:00
Samantha Houts 0e92e54fb4
Update PULL_REQUEST_TEMPLATE.md 2018-08-22 12:34:04 -07:00
Samantha Houts ac581bc2e2
Update PULL_REQUEST_TEMPLATE.md 2018-08-22 12:33:23 -07:00
Stephane Delcroix 2ca330ecc2
[XamlC] Fix binding compilation fo value types (#3551)
properly load valuetype arguments of generated setters, using ldarg,
instead of ldarga.

- fixes #3539
2018-08-22 07:12:51 +00:00
Shane Neuville 865b069a94
[Core] Ignore Shamehat target when running DesignTimeBuild (#3605) 2018-08-21 12:22:06 -06:00
Pavel Yakovlev a8eab7f46a [UWP, WPF] Fixes rendering of the main page (#2896) fixes #2704 2018-08-21 17:18:45 +01:00
kingces95 712361c366 Fix NRE; Ret 0 if Text null (#3594) fixes #3579 2018-08-21 11:22:58 +01:00
Stephane Delcroix 7fd1bd6d50 Merge branch '3.2.0' 2018-08-20 10:32:28 +02:00