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

154 Коммитов

Автор SHA1 Сообщение Дата
Shane Neuville 9c4909cdee
Update support libraries from 28.0.0.1 to 28.0.0.3 (#7389)
* update support to 28.0.0.3

* - bump sandbox support versions

* - update nuspecs
2019-09-10 15:25:17 -06:00
Gerald Versluis 421c24dc67 Update Xamarin.Forms.nuspec (#7189)
fixes #7184
2019-08-16 10:28:51 -07:00
Stephane Delcroix 857ec92860 Merge branch '4.1.0' into 4.2.0 2019-07-30 16:32:14 +02:00
E.Z. Hart 880f368dda UWP CollectionView cleanup (#6928)
* Move files to CollectionView folder for consistency with other platforms
Move SelectableItemsViewRenderer to Setup/Teardown pattern
Fix event handler naming
Use Is method for property changed check

* Rebase cleanup
2019-07-29 16:50:11 -07:00
Pavel Yakovlev a1ef050d00 fixes .create-nuget script (#6913) 2019-07-29 14:11:38 -07:00
Shane Neuville ec1e16c16a add checkbox style to nuspec (#6504)
fixes #6501
2019-06-13 13:29:38 -07:00
shmin 6b17b4570f [Tizen]Add Material Style Renderers (#6204) 2019-05-31 18:42:15 -07:00
ShaneN b3927b617f merge 4.0.0 in master 2019-04-29 14:14:19 -06:00
Shane Neuville 8fe0abc165 additional proguard rules for shell (#6032)
* additional proguard rules for shell

* add property to disable file

fixes #5799
2019-04-27 12:21:30 -07:00
Kangho Hur eaeffc4e54 [Material] [Tizen] Adds Xamarin.Forms.Material.Tizen for Visual (#5453)
* [Tizen] Adds Xamarin.Forms.Material.Tizen for Visual

* Update Tizen.NET.MaterialComponent for applying color scheme

* Don't build XF.Material.Tzien on iPhone and iPhoneSimulator

* Fix MCanvas build issue

* Update build-windows.yml for XF.Material.Tizen
2019-04-25 12:01:54 -07:00
Jonathan Peppers 78d662ee7d Remove Xamarin.Android.Support.v7.MediaRouter (#5941)
Context: https://github.com/xamarin/xamarin-android/issues/2982

The Blank Xamarin.Forms app template in VS 2019 takes longer to build
than in VS 2017. A little research is showing that this is due to use
of the 28.x support libraries... For example, the build includes ~20
*more* jar files in the template from 2019 than 2017. The
`_CompileDex` step alone goes from ~15.2s to ~18.2s.

This lead me down the road of investigating if we can remove any
support libraries by default in Xamarin.Forms apps. I am also seeing
if there is more we can do in Xamarin.Android for this problem, in
general.

It looks like we can remove:

* Xamarin.Android.Support.v7.MediaRouter
* Xamarin.Android.Support.Media.Compat

Neither of these appear to be used, but have been listed as
dependencies of Xamarin.Forms for a long time.

~~ Results ~~

I made these changes, then did a `Debug` build of
`Xamarin.Forms.ControlGallery.Android.csproj` for comparison.

Comparing dex file sizes (in bytes):

    Before:
    3428092 classes.dex
    3265616 classes2.dex
    6693708 total
    After:
    4938000 classes.dex
    1098772 classes2.dex
    6036772 total

This looks like it could potentially save ~600KB of compiled dex code
on every Xamarin.Forms app.

Comparing methods:

    Before:
    classes.dex  11,492 methods
    classes2.dex 19,451 methods
    total        30,943 methods
    After:
    classes.dex  22,171 methods
    classes2.dex  7,635 methods
    total        29,806 methods

~1,137 methods removed, which should help with the dex limit.

Comparing APK sizes (in bytes):

    Before:
    26442597 AndroidControlGallery.AndroidControlGallery-Signed.apk
    After:
    25741701 AndroidControlGallery.AndroidControlGallery-Signed.apk

~700KB smaller APK, due to less .NET assemblies & dex code.

Comparing build time (this was using dx):

    Before:
    19785 ms  CompileToDalvik                            1 calls
    After:
    18532 ms  CompileToDalvik                            1 calls

Looks like it saved over a second of build time for this project.

Seems like an "easy win", let's do this!
2019-04-23 13:21:21 -06:00
Samantha Houts 5aa469f755 Merge branch '4.0.0' 2019-04-15 14:54:48 -07:00
Kangho Hur fda800ca4c [Material] [Tizen] Adds Xamarin.Forms.Material.Tizen for Visual (#5453)
* [Tizen] Adds Xamarin.Forms.Material.Tizen for Visual

* Update Tizen.NET.MaterialComponent for applying color scheme

* Don't build XF.Material.Tzien on iPhone and iPhoneSimulator

* Fix MCanvas build issue

* Update build-windows.yml for XF.Material.Tizen
2019-04-15 10:55:56 -06:00
Samantha Houts d15c2d8475 Merge branch '3.6.0' into 4.0.0 2019-04-12 18:28:49 -07:00
Shane Neuville 4ab075f469 - add explicit references back into nuspec (#5902) 2019-04-12 16:25:54 -07:00
Rui Marinho e822046427 Merge branch '3.6.0' into 4.0.0 2019-04-02 18:28:23 +01:00
Matthew Leibowitz 6950db8bfe [nuspec] Start using the 28.x versions of Android support (#5512) 2019-04-02 16:06:59 +01:00
Andrei Nitescu 7c27de2592 Removed dependency on modernhttpclient (#5390)
fixes #1886
2019-03-27 16:38:45 -07:00
E.Z. Hart dd6cd3305e Add translated Intellisense files to NuGet package (#5672)
* WIP Experimenting with getting the translated Intellisense in the right places

* Set up nuspec to include Intellisense translations

* Use languages branch of submodule for now

* Update submodule

* Update submodule

* Updated submodule

* Update submodule

* Pull in translated docs from all the languages
2019-03-24 20:05:01 +00:00
Samantha Houts 0a7e7352b8 Merge branch '3.6.0' into 4.0.0 2019-03-18 18:25:50 -07:00
Shane Neuville 308c6cbddb remove maps.design (#5583) 2019-03-18 10:27:22 +01:00
Samantha Houts d196f6c46b Merge branch '3.6.0' into 4.0.0 2019-03-13 15:40:27 -07:00
Pavel Yakovlev c4585a7588 [UWP] added Win2D.uwp dependency to nuget (#5475)
fixes #5188
2019-03-12 16:58:05 -07:00
Stephane Delcroix 5ff83859b8 Merge branch '3.6.0' into 4.0.0 2019-03-11 09:19:20 +01:00
Samantha Houts 740b9038f5 [Maps} move design dll to the design folder (#5481)
- fixes #5472
2019-03-07 15:44:10 -07:00
Samantha Houts fd2dd4a342 Merge branch '3.6.0' into 4.0.0 2019-03-05 16:54:26 -08:00
Shane Neuville 21c7567e02 [Android] remove android specific target (#5442)
* [Android] get rid of specific android targets

* change to AndroidApplication

* remove before/after targets

* MonoAndroid
2019-03-04 15:43:22 -08:00
ShaneN 24b4b554ad Merge branch '3.6.0' 2019-02-27 18:20:24 -07:00
Shane Neuville a9af592006
[Android] move android renderers to separate nuget (#5405)
* [Android] move renderers to separate nuget

* additional android dependency

* rebase with material changes

* add android to material check

* simplify assembly info

* - add context to Init for future cases
2019-02-27 18:04:52 -07:00
Stephane Delcroix 55937add66 Merge branch '3.6.0' 2019-02-26 20:12:27 +01:00
Shane Neuville 538851d120
[Android] add build error if TargetFramework is too low (#5350)
* [Android] add build error if TargetFramework is to low

* change to Corecompile

* add disable condition
2019-02-26 10:22:48 -07:00
Stephane Delcroix 533e130191 Merge branch '3.6.0' 2019-02-25 08:33:25 +01:00
Shane Neuville 954db04e2a
[Material] rename iOS assembly to be non platform specific (#5332)
* [Material] rename iOS assembly

* fix title and Internals Visible To
2019-02-22 08:29:25 -07:00
Shane Neuville ca3ae3032a [Android] Include default proguard file so user doesn't have to create rules for XF (#5143)
* [2709] Add default proguard config file

* add proguard.cfg file to nuspec
2019-02-21 10:22:39 -10:00
Matthew Leibowitz 920e2dd416 Updated all the OpenTK references to use NuGet (#4836)
* Updated all the OpenTK references to use NuGet
 - Using the same NuGet version of OpenTK across the board
 - Added a gallery factory to allow for platform-specific pages
 - Added the OpenGL galleries to Android, iOS, GTK# and WPF

* Fix the build for iOS and macOS

* Fix the modified defines for the control gallery
2019-02-12 12:59:18 +00:00
Shane Neuville 8ef50d5214
update to support less prone to freezing (#5080) 2019-01-29 15:52:41 -07:00
Shane Neuville 5f98d5cf5d
[iOS] Move Material iOS components to a separate nuget (#5026)
* [ios] extract ios material out to its own project

* [core] fix platform messaging

* add material to other test projects

* update MaterialComponents on all test projects

* remove material from platform

* yml updates

* nuspec

* add iOS description

* language

* add dummy file so package installs into netstandard/android

* Add Target Framework checks
2019-01-28 16:53:22 -07:00
Shane Neuville e3a83e1fa7
Material Design Renderers for the Material Visual (#4733)
* Use the auto-generated constants

* [Visual] Work on the Material Frame

* Improving the code for the sample

* Added a controller to help with frames that have additional padding
 - Android MaterialCardView does not use the default padding to determine where the content starts, rather it uses the content padding of the view because there is a border that does not affect the content

* [Visual] Added a few extra checks on Android to reduce unnecessary interop

* [Visual] A few more frame changes and some button tweaks

* [Visual] use the themers on iOS and save default properties

* [Visual] Add placeholders for themer and cache defaults

* [Visual] Added the material slider for iOS
 - Android does not have a custom control, so uses the existing renderer

* [enhancements] Move from duplicate LoadImageAsync code to GetNativeImageAsync

* [visual] Updated the controls to use the new iOS bits

* [visual] some fixes for material components

* [visual] Added hacks for material alerts

* [visual] removing the alert changes for the main branch

* [visual] Update the MaterialComponents NuGet

* [visual] Rework the theming/customization of Material controls on iOS

* [visual] fix the places where the user colors were being changed

* [visual] Improve the ColorStateList management for Android

* [visual] Re-implemented the Android ProgressBar as a fast, material renderer

* Material Entry

* [visual] Add Android ActivityIndicator

* filter out material layouts for 8.1

* remove folder

* fix __ANDROID_28__

* MaterialContextThemeWrapper

* [visual] remove the `IFrameController` interface

* [visual] reverting the changes to the Frame layout

* [visual] reverting whitespace

* [visual] make sure to raise both property changed

* formatting changes

* fixing colors on android to match with ios themes

* Update Xamarin.Forms.Platform.Android/Material/MaterialButtonRenderer.cs

Co-Authored-By: mattleibow <mattleibow@live.com>

* fix sizing of entry with infinite width size request

* update to release 28 of support

* Update Xamarin.Forms.Platform.Android/Resources/values/styles.xml

Co-Authored-By: PureWeen <shane94@hotmail.com>

* Update Xamarin.Forms.Platform.Android/Resources/values/styles.xml

Co-Authored-By: PureWeen <shane94@hotmail.com>

* PR Comment changes
2019-01-07 17:07:50 -07:00
Stephane Delcroix 5a8e612d8a Revert "Properly detect SDK style projects (#4699)"
This reverts commit 36b5345596.
2018-12-17 20:10:18 +01:00
Shane Neuville a391f69e26 update to preview9 and uncomment no longer broken interface (#4727) 2018-12-13 23:46:29 +00:00
Daniel Cazzulino 36b5345596 Properly detect SDK style projects (#4699)
The `$(MSBuildSDKsPath)` is actually *always* set whenever there are MSBuild SDKs
*installed*, not necessarily when the current project is an SDK-style project itself.

This means that we're potentially adding duplicate items and otherwise disrupting
normal operation of the non-SDK style projects with this import.

So use the well-known properties that are set by the .NET [Sdk.props](https://github.com/dotnet/sdk/blob/master/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.props#L22-L27) file instead,
which is the first imported target even before nuget-provided .props files.
2018-12-12 10:33:08 +01:00
Rui Marinho 97206c235c
Merge 3.4.0 to 3.5.0 2018-12-09 00:51:34 +00:00
Stephane Delcroix 4da56c6296
[tasks] Build.Tasks targets net46 (#4670)
* [tasks] Build.Tasks targets net46

Build tasks in VS MUST target net46 and no higher

- fixes #4667

* fix nuspec
2018-12-08 10:03:34 +01:00
Shane Neuville 5c98cf7e78 Add custom tabs to MonoAndroid90 nuspec to improve essentials experience (#4605) 2018-12-03 11:40:57 +00:00
Shane Neuville c07ede314d
[UWP] add missing xbf files to nuspec (#4588)
* [UWP] add missing xbf files to nuspec

* [UWP] fix target for ItemsListView
2018-11-29 18:44:28 -07:00
Peter Moore 1cef4471ce GH2691: Make XmlnsDefinitionAttribute public (#2782)
* Make XmlnsDefinitionAttribute public. Change XamlC, XamlG, and XamlParser to search for all referenced/available assemblies for attribute and referenced types. Add XAML unit tests and control gallery entry.

* change ns for xmlnsdefattribute

- fixes #2691
2018-11-29 14:58:34 +01:00
Shane Neuville 4975d0cb85 update support and sync up nuspecs (#4571) 2018-11-29 13:00:20 +00:00
Shane Neuville 94e6621f72 [Enhancement] Add Visual progress behind feature flag (#4449) fixes #4435
* Visual

* add progress bar and fix ui tint color

* Progress Bar Updates

* ios padding fixes

* padding fix and button image positioning fixes

* added button themes

* disable tint and open up material android button

* change image to bank

* add overrides for Material Frame Renderer

* remove commented out code

* change back to Full linker

* applying comment fixes

* change comparison
2018-11-23 17:40:15 +00:00
kingces95 3e006edb1a add uap symbols to nuget package (#4411) 2018-11-15 11:46:10 +00:00
Stephane Delcroix 1d04af709a Merge branch '3.3.0' into 3.4.0 2018-10-22 14:40:38 +02:00