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

2298 Коммитов

Автор SHA1 Сообщение Дата
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
Stephane Delcroix 4facc9b193 Revert "For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)"
This reverts commit f66a72de5b.
2018-08-17 20:53:59 +02:00
Daniel Cazzulino f66a72de5b For consistency with ResourceDictionary, expose the Source for a StyleSheet (#2589)
This would allow previewer/designer/reloader to determine the source of a
stylesheet and refresh its content when appropriate.
2018-08-17 15:43:04 +01:00
E.Z. Hart 26c1d327f1 Ensure ConstructorCountId and TimeId elements are available before querying them (#3588) 2018-08-17 11:15:05 +01:00
yourina 0d6559c31d Support the TitleView of NavigationPage (#3536) fixes #1716 2018-08-17 10:37:53 +01:00
E.Z. Hart 6943f73e91 Change identifier for search bar in tests to avoid confusing UITests (#3574) 2018-08-16 18:41:53 +01:00
Stephane Delcroix 5e02ea603d Merge branch '3.1.0' into 3.2.0 2018-08-16 12:28:50 +02:00
Stephane Delcroix 03e14d344a
[C] VisibilityConverter Trims input (#3581)
For CSS purposes, the VisibilityConverter was added, and actually
replaced the `Boolean.Parse(str)` call for parsing Visibility.
`Boolean.Parse()` trims input, and the converter was not, so this was a
regression.
This changes Trim() the input, to be fully backward compatible.

- fixes #3554
2018-08-16 10:27:46 +00:00
Gerald Versluis 203d4ffcf0 MaxLines property on Label (#3318)
* Implemented MaxLines on iOS, Mac OS, Android, UWP and WPF

Introduced new MaxLines property on Label

* Set default value to -1

* Implemented reverting to default value

* More improvements

Update measurement when MaxLines property value changes and updates to default values.

fixes #2060
fixes #1706
2018-08-16 07:25:47 +00:00