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

7197 Коммитов

Автор SHA1 Сообщение Дата
Rui Marinho d74a03a0b7
Try build ControlGallery Android on CI (#525)
* Try build ControlGallery

Try build android controlgallery new path

Fix

Fix android uitests reference

Don't build iOS for now

* - only set content description for UI Test build

* Add Environment.Build.props back

* Update boots version

* Fix LinkDescription.xml

Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
2021-03-17 18:59:35 +00:00
Youssef Victor 24485eba55
Fix link that doesn't work locally (#506)
* Create markdown-links-verifier.yml

* Update README.md

* Address feedback
2021-03-17 18:33:54 +00:00
Javier Suárez 7cf46a2f7e
Fix iOS broken Handler Test (#536) 2021-03-17 12:14:49 -06:00
Shane Neuville 7477a8678f
Add iOS Gallery (#530)
* Add iOS Gallery

* - linker fixes

* - fix ios gallery

* - Enable CI

* - fix typo

* - add gallery

* - fix xaml tests
2021-03-17 16:27:38 +00:00
github-actions[bot] 7115ced27c
Automated dotnet-format update (#528)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-03-17 12:03:10 +00:00
Matthew Leibowitz cb4c802a35
Speed up PR builds (#510)
Reduce the jobs and use the new pools
2021-03-17 04:35:08 +02:00
E.Z. Hart 9c5cc253a3
Fix Label HorizontalAlignment device tests 2021-03-16 10:11:36 -06:00
Matthew Leibowitz 8037319967
Try to get the Android Control Gallery running again (#489)
* [Build] Remove old steps

* Fix reference of unit tests cspro

* Enable xaml unit tests

* [Build] Add build of xaml unit tests

* Try fix targets

* Fix Forms naming

* More naming fixes

* Revert versions

* Remove .Core

* More .Core removals and Fix Platform references

* Add RootNamespace to Build.Tasks

* Fix more Xamarin.Forms old usage

* Fix dll on build.targets

* Fix _XFBuildTasksLocation

* More fixes to _MauiBuildTasksLocation

* More fixes _MauiBuildTasksLocation

* Fix _MauiBuildTasksLocation

* remove debug info

* Remove issues for now

* Rename maps namespace

* Fix Assembly tests

* Fix more targets

* More map rename fixes

* Fix xaml reference on unit tests

* Fix MauiXamlCValidateOnly naming

* More MauiXamlCValidateOnly

* Add xaml page to sample

* Fix namespace on sample page

* oh, yeah

* Fix sample references

* Try run on release the xaml unit tests

* Try continueOnerror

* Update build-windows.yml

* added via the directory props

* ws

* We mights need this

* I think I did this

* This can be reused

* 🤦‍♀️

* this as well after the peppers PR

* Fix some bad renames

* i see

* Fix merge

* Fix sample

* Remove FromSource

* Add the packages

* this

* Yaysies!

* Fix all the non-msbuild tests

* Adding things back and gallery

* this

* Build the tasks first

* Got the Android control gallery running

* Fix diff after merge

* - move gallery to compatibility

* - namespaces updates

* - rename compatibility

* - another name

* - keepass path

* - wire up content description to AutomationID

* - fix path

* - fix ui tests path

* - sln fixed

* - xaml tests

* - fix

Co-authored-by: Rui Marinho <me@ruimarinho.net>
Co-authored-by: Stephane Delcroix <stephane@delcroix.org>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
2021-03-16 14:21:44 +00:00
Javier Suárez 4e01228c45
Implement HorizontalTextAlignment in SearchBarHandlers (#508)
* Implement HorizontalTextAlignment in SearchBarHandlers

* Clean up, add comments, verify things work with and without RTL support on Android

Co-authored-by: E.Z. Hart <hartez@gmail.com>
2021-03-15 18:05:13 -06:00
James Clancey 667eb0391b
Added .DS_Store to the gitignore (#512) 2021-03-15 15:29:51 -06:00
github-actions[bot] cb6a33eb6b
Automated dotnet-format update (#502)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-03-15 12:19:55 +00:00
E.Z. Hart c70c9a8f40
Add support for Font to Button and Entry (#500)
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2021-03-14 08:42:16 +02:00
Javier Suárez e31d37010c
Implement HorizontalTextAlignment property in LabelHandlers (#456) 2021-03-14 08:41:45 +02:00
Pedro Jesus 64df5c5d8b
[GH-367] Port Button.Padding to Handler (#452) 2021-03-13 05:49:55 +02:00
Javier Suárez 991250aecc
Implement LineBreakMode property in LabelHandlers (#458) 2021-03-13 04:50:28 +02:00
Shane Neuville 6950c6b1e9
Add AutomationId to IView (#491) 2021-03-13 01:46:54 +02:00
Rui Marinho 57625360bd
[Build] Fix GitInfo usage to calculate version (#501)
* Update regex tag

* Update reg for tag

* Don't compare gitbranch

* Update GitInfo

* Add GitIgnoreBranchVersion

* correct value

* Test set GitIgnoreTagVersion

* Fix GitIgnoreTagVersion
2021-03-12 23:37:31 +00:00
Javier Suárez 8e8eea420f
Implement MaxLines property in LabelHandlers (#457)
* Updated LabelStub

* Fix build error

* Fix merge issue

* Added PortHandler attributes
2021-03-12 15:27:47 -07:00
Rogier van der Hee b4e3c63a23
Switch Entry and Editor from EditText to AppCompatEditText (#493) 2021-03-13 00:02:29 +02:00
Javier Suárez 50a0f3eb1c
Implement Placeholder property in SearchBarHandlers (#492) 2021-03-12 23:24:43 +02:00
Jonathan Peppers 0b31c20dc7
More template fixes (#499)
* For now make the template `dotnet new maui`. We can change it back
  to `maui-mobile` when desktop templates are added.
* Added Catalyst to the template to match what we have in
  dotnet/net6-mobile-samples.
* Define a default `$(RuntimeIdentifier)` for Apple platforms.
* Ran `dotnet format` on the templates that fixed a small thing.
2021-03-12 14:37:00 -05:00
Jonathan Dick 401dc0353f
Use netstandard2.0 for build tasks (#496)
* Use netstandard2.0 for build tasks

It seems that Visual Studio's MSBuild doesn't always resolve net6.0 references correctly, so the build tasks built for net6.0 are not working reliably.  There's no reason these cannot be netstandard2.0, so switching them back to build on that TFM for now which should produce working build tasks in IDE's

* Use proper CodeDom

* Include CodeDom in buildTransitive and bump to 4.7
2021-03-12 11:41:31 -05:00
E.Z. Hart 8d3de0e1a6
Add missing lock in IStyle.Apply (#486)
Co-authored-by: Rui Marinho <me@ruimarinho.net>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2021-03-12 12:25:35 +00:00
github-actions[bot] 62a9f8f552
Automated dotnet-format update (#479)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-03-12 10:12:56 +00:00
David Ortinau cc3c581bf8
Template tweaks (#485)
* template tweaks

* Update MainPage.xaml.cs

System.EventArgs

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2021-03-12 10:12:39 +00:00
Rogier van der Hee 81f2dcafb2
Add ISearchBar handler and implement Text (#450)
* Port SearchBar.Text to Handler #397

* Add PortHandler to UpdateText

* Fix parameter name

* Use AppCompat version of SearchView

* Replace IText for Text property until we also have TextColor

* Fix Android tests (cast to wrong type)

* Formatting

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: E.Z. Hart <hartez@gmail.com>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2021-03-12 09:21:59 +01:00
Matthew Leibowitz c926e8ea36
Use the correct paths when copying to the build server (#488) 2021-03-12 02:11:33 +02:00
Rachel Kang 0319ae7c43
Add EditorHandler + Text property (#481) 2021-03-12 02:06:40 +02:00
Javier Suárez b49141b6a3
Implement TextDecorations property in LabelHandlers (#462)
* Implement TextDecorations property in LabelHandlers

* Added more comments to ILabel properties

* Add missing method to Android LabelHandlerTests

Co-authored-by: E.Z. Hart <hartez@gmail.com>
2021-03-11 16:47:19 -07:00
David Ortinau a66b012a1c
Update README.md 2021-03-11 13:13:59 -06:00
Rui Marinho 8fcb50a6c1
Add build status to readme 2021-03-11 18:29:07 +00:00
Rui Marinho dfd34d1fb6
Add tags as trigger 2021-03-11 16:23:29 +00:00
Javier Suárez 37a37433c1
Implement CharacterSpacing property in LabelHandlers (#463)
* Implement CharacterSpacing property in LabelHandlers

* Add a bunch more tests

* This is needed

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2021-03-11 09:13:23 +01:00
Javier Suárez 0a88b10290
ProgressBar Handlers (#418)
* ProgressBarHandler

* Removed ProgressColor property (for now)

* Removed PorHandler attributes

* Moved Maximum const to ProgressBarExtensions

* Added comments to IProgress

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2021-03-11 09:11:22 +01:00
Jonathan Peppers a2114aca2d
[UnitTests] MSBuildTests run dotnet build against .NET 6 projects (#472)
6be8a1c1 ignored some failing tests, but it seems like we should have
fixed and modernized the tests instead.

Some parts of these tests seem out of date:

* We don't need to build long-form .NET framework projects.
* We should generate/build `net6.0` projects instead of `netstandard2`.
* We should run `dotnet build` instead of MSBuild. We don't need
  `Microsoft.Build.Locator` anymore.
* `RestoreIfNeeded()` is no longer needed because `dotnet build`
  implicitly restores.
* I fixed the `DesignTimeBuild()` test that can just use the `Compile`
  target now.
* The `sdkStyle` parameter is no longer needed anymore for any of
  these tests, so we have 1/2 as many tests now.

I mostly deleted code here.

~~ Other changes ~~

Some other stuff was needed for this test to work:

* Move usage of dotnet-install.ps1|sh to yaml
* We now install .NET 6 for the `Build Windows` stage.
* Disable code coverage in child processes
* Add the `msbuild.binlog` file as a test attachment.

Co-authored-by: Rui Marinho <me@ruimarinho.net>
2021-03-11 08:10:26 +00:00
Rui Marinho 0ca2e31fb3
[Build] Sync with net6 workload (#471)
* Update net6 versions

* [Build] Don't try to get version from git tag

* [Build] Move builds to run on XamarinForms osx pool

* Update macOSXNet6VmPool
2021-03-10 19:04:15 +00:00
E.Z. Hart 083627fc54
Consolidate Maui Core to single Font property (#416)
* Consolidate Maui Core to single Font property;

* Fix build errors

* Re-remove unused map methods

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2021-03-10 09:47:34 -07:00
Rui Marinho 6be8a1c154
[UnitTests] Ignore some tests that fail on sdkstyle projects (#455)
* [UnitTests]Ignore some tests that fail on sdkstyle project

* [Tests] BindingDiagnosticsTests just run on DEBUG

* Update BindingDiagnosticsTests.xaml.cs

Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
2021-03-10 14:20:19 +00:00
github-actions[bot] dbf73b2cea
Automated dotnet-format update (#425)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>
2021-03-10 10:41:33 +00:00
Almir Vuk 318f959553
Implement Placeholder in IEntry Handlers (#422)
* Implement Placeholder in IEntry Handlers

* Small check before hint assignment

* Replaced property with interface usage.

* PortHandler attributes added and error fixes.

* Code refactoring.

* ITextInput usage added back.

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2021-03-10 10:12:11 +02:00
Almir Vuk fcf3bd7a77
Implement IsReadOnly in IEntry Handlers (#437) 2021-03-10 07:31:26 +02:00
Javier Suárez 8ada804248
Added XML Comments to Core (#419)
* Added XML Comments to Core interfaces

* Added more comments

* Cleanup and removal of docs for nonexistent properties

Co-authored-by: E.Z. Hart <hartez@gmail.com>
2021-03-09 18:43:42 -07:00
Matthew Leibowitz 45f9d4796e
Update Resizetizer Dependencies and Support Different Cultures (#464)
* Fix it all

* Try using old school powershell

* Store window to local variable so GC doesn't collect it (#465)

Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
2021-03-09 16:26:27 -07:00
Matthew Leibowitz 6e036fd92c
[Entry] Enable support for text events (#460) 2021-03-09 21:35:53 +02:00
Matthew Leibowitz 17c5f977d5
Improves Samples (#447) 2021-03-09 04:44:52 +02:00
Brian Runck 104ff4cd3a
Fix command line paths in README.md (#449) 2021-03-08 03:49:57 +02:00
E.Z. Hart a08fcdedbe
Use known categories instead of string literals (#442) 2021-03-07 06:34:44 +02:00
Matthew Leibowitz 36b420aa6f
Fix files for Mac Catalyst (#446)
* Fix Catalyst

* This is uncool it seems
2021-03-06 10:07:59 -05:00
Shane Neuville 6e1dd92bb7
Fix parent hack for new layouts (#444)
* Don't search for parent page from a page

* - cleanup
2021-03-05 21:13:52 -06:00
Matthew Leibowitz f46e0183ef
Fix CI (#443) 2021-03-06 03:36:17 +02:00