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

7284 Коммитов

Автор SHA1 Сообщение Дата
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
Jonathan Dick 1a2740aa5e
Build MAUI for MacCatalyst (#438)
* Add Mac Catalyst to the CI

* pack on mac just in case

* test

* Start adding catalyst support

* first maccatalyst frameworks to testthe waters

* oksy

* this for future

* revert

* revert

* Include maccatalyst for single project

* Treat Catalyst mostly like iOS for now

* Don't try fallback path for catalyst since API isn't there

* Xib not needed anymore

* Include iOS bits for catalyst on the compat project

* Fix linebreak mode to not use deprecated API (for catalyst too)

* Fix text/string attribute usage for catalyst/mac

* Fixed string attribute usage for catalyst/mac

* new toys

* Fix Delegate cast for catalyst

* Fix single project includes for catalyst

* Remove scene delegate for now

* Add catalyst specific assets for single project

* fix things

* Stop building catalyst on windows

* hax

* was bad hax

* Use UIStringAttributes for iOS and Catalyst both

* Do it right

* Revert "Use UIStringAttributes for iOS and Catalyst both"

This reverts commit 0d4b90aecb67c05432e04a1bde4a88e7405118d0.

* Fix the build tasks

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
2021-03-05 20:12:14 -05:00
Shane Neuville 22e46b6bda
Fix renderer shim registration and layout quirks (#430)
* Measure fixes

* - additional fixes

* - fix up renderer registration

* - fix up parent

* - fix images on iOS

* - clean up

* - cleanup

* - fix types registering against

* - fix page

Co-authored-by: Jonathan Dick <jodick@microsoft.com>
2021-03-05 17:15:16 -05:00
E.Z. Hart 700d81bde8
Implement Padding in ILabel Handlers (#421)
Fixes #369
2021-03-05 23:00:41 +02:00
David Ortinau b77cb72798
Update README.md 2021-03-05 14:59:14 -06:00
Rachel Kang 5fac72d48c
Update MAUI contributing guidelines, PR template, issue templates (#434)
* Update CONTRIBUTING.md and PULL_REQUEST_TEMPLATE to reflect initial handler work

* Update issue templates to reflect MAUI repo and labels

* Update to use .NET MAUI name

* Update ISSUE_TEMPLATE to reflect bug_report changes
2021-03-05 11:01:14 -07:00
Almir Vuk b73b615378
Implement IsTextPredictionEnabled in IEntry Handlers (#423)
Co-authored-by: E.Z. Hart <hartez@gmail.com>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
2021-03-05 16:57:28 +02:00
Matthew Leibowitz 47dc9060de
Handle nested files and throw on missing files (#429)
* Handle nested files and throw on missing files
* Pre-resolve paths from referenced projects
2021-03-05 07:58:22 +02:00
Matthew Leibowitz ea22a3d832
Fix UI consistency errors (#428)
* Fix UI consistency errors

* Always set the first outside as it should not have a handler
2021-03-04 23:59:01 -05:00
Jonathan Peppers af679489bd
.NET 6 maui-mobile template (#371) 2021-03-05 05:41:53 +02:00
Matthew Leibowitz e4b39c4e45
Add more tests (#426)
Also added a way to easily test property updates
2021-03-05 04:47:22 +02:00
Matthew Leibowitz 234c7fbf85
Get the device tests building and running (#414) 2021-03-05 03:45:21 +02:00
Rui Marinho 6ee6ac7d34
[Build] Add signing to Maui (#420) 2021-03-04 21:41:31 +02:00
Rui Marinho ded85b4c8d
Fix yaml files (#394) 2021-03-04 14:04:22 +00:00