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

85 Коммитов

Автор SHA1 Сообщение Дата
Jason Smith c2f576abe1 Merge branch '15-5' 2017-11-29 14:52:35 -08:00
Stephane Delcroix 2f84a94360 [Xaml[C]] avoid processing nested RD multiple times (#1300) 2017-11-29 10:57:32 -08:00
Rui Marinho b74d545fc1
[All] Move to netstandard2.0 **Breaking change** (#1306)
* Move to netstandard 2.0

* Fix docs

* Small fixes
2017-11-29 17:37:06 +00:00
Rui Marinho 5a60f17e47
[Win] Remove Windows 8.1 platforms **Breaking change** (#1267)
* [Platforms]Remove WP8.0 and WinRT

* Update submodule

* [UWP] Fix maps UWP

* [UWP] Remove more stuff from old windows platforms

* [Docs] Update docs
2017-11-27 15:14:01 +00:00
Stephane Delcroix 6a88e378f8
Auto merged ResourceDictionaries (#1297)
* [Xaml[C]] add merged resource dictionaries implicitly

* [docs] update docs
2017-11-22 14:56:20 +01:00
Stephane Delcroix 4c8f901e23
Lazy creation of ResourceDictionaries (#1295)
* [C,Xaml] allow implicit ResourceDictionaries

* [XamlC] implicit ResourceDictionaries

* [C] lazy Resources creation

* fix stupid docs

* [C] no need to trigger events on initial get
2017-11-22 12:59:55 +01:00
Stephane Delcroix 7a53ccda83
Fix bz60575 again (#1290)
* [Xaml] fix 60575 for collection with a single element

* [XamlC] fix 60575 for collection with a single element
2017-11-20 11:13:43 +01:00
Stephane Delcroix 836327b94c
[Xaml[C]] route loading of RD through ResourceLoader (#1271)
* [Xaml[C]] route loading of RD through ResourceLoader

* [docs] fix docs
2017-11-14 15:26:05 +01:00
Stephane Delcroix be98503613
[Xaml] do not report unhandled node on XmlDeclaration (#1272) 2017-11-14 15:25:43 +01:00
Stephane Delcroix 9ac4be499f
[Xaml[C]] allow adding elements to attached BP (#1262)
* [Xaml] allow assigning property elements to attached BP

* [XamlC] allow adding elements to ABP
2017-11-14 09:37:45 +01:00
Stephane Delcroix 4ad4ff7793
Allow specifying AutomationProperties.LabeledBy by name (#914)
* [Xaml] convert strings to x:Refs

* [docs] fix docs
2017-11-13 10:33:57 +01:00
Stephane Delcroix 43143bd10f
[Xaml[C]] ResourceDictionary.Source (#1229)
* [Xaml[C]] ResourceDictionary.Source

* [Xaml[C]] update to the new XamlResourceIdAttribute

* [Xaml[C]] load RD with codebehind even when referenced through Source

* [Xaml] make sure we do not generate file:// uri

* fix typo
2017-11-03 10:22:07 +01:00
Stephane Delcroix e84fe4d649 [Xaml] create the [XamlResourceId] at assembly level (#1232)
* [Xaml] create the [XamlResourceId] at assembly level

* fix docs

* fix utility project
2017-10-27 11:43:05 +02:00
Stephane Delcroix 0824852ca1
[Xaml] avoid a NRE in StaticResourceExtension 2017-10-24 20:04:50 +02:00
Stephane Delcroix 932b5433c1 [Xaml] still load Xaml from old assemblies... (#1224) 2017-10-24 13:29:24 +02:00
Stephane Delcroix c0e89187bb [Test] Make sure we always test with different Cultures (#1219)
also get rid of the 'Turkey' build configuration
2017-10-24 10:41:33 +02:00
Stephane Delcroix 376cc6bd48
Revert "[Xaml[C]] ResourceDictionary.Source"
This reverts commit 5343efb518.
2017-10-23 11:23:28 +02:00
Stephane Delcroix 5343efb518
[Xaml[C]] ResourceDictionary.Source 2017-10-23 11:04:48 +02:00
Stephane Delcroix de255a8b9e [XamlC] XamlResourceIdAttribute (#1167) 2017-10-23 10:56:23 +02:00
Stephane Delcroix 2a5074f7ad
[Xaml] Chain op_implicit for OnPlatform (if needed) (#1176)
* [Xaml] Chain op_implicit for OnPlatform (if needed)

For OnPlatform<T>, if a conversion for T to the destination type exists,
first convert OnPlatform<T> to T, the T to the dest type

Also unify the way we look for op_implicit operators

* [Xaml] only apply the double opImplicit if a flag is set

* [C] allow conversion on parameter
2017-10-19 11:51:49 +02:00
Stephane Delcroix 172435c1a9 [Xaml] Chain op_implicit for OnPlatform (if needed) (#1176)
* [Xaml] Chain op_implicit for OnPlatform (if needed)

For OnPlatform<T>, if a conversion for T to the destination type exists,
first convert OnPlatform<T> to T, the T to the dest type

Also unify the way we look for op_implicit operators

* [Xaml] only apply the double opImplicit if a flag is set

* [C] allow conversion on parameter
2017-10-18 09:15:11 +02:00
Stephane Delcroix a7d12e620c [Xaml/XamlC] better RD inflation (#1148)
* [Xaml] Fix and simplifies FillRDVisitor, other minor refactorings

* [XamlC] Fix RD inflating
2017-09-25 08:52:03 +02:00
Stephane Delcroix 712e7f7ba9 [Xaml] test for MergedRD, and XamlC support 2017-09-22 13:27:47 +02:00
Adam Pedley 2b7913adda Merged Dictionaries 2017-09-22 13:27:47 +02:00
Stephane Delcroix d242dd70fa [Xaml] Dispose string reader as soon as we're done with them (#1022) 2017-06-28 22:13:09 +02:00
Stephane Delcroix 6e732fbe74 [previewer] make sure we do not crash even if the previewer doesn't s… (#946)
* [previewer] make sure we do not crash even if the previewer doesn't sets the flag

* make the tests pass
2017-06-01 09:12:00 +02:00
Stephane Delcroix 8af6f3eb5c [Xaml] move ValueConverterProvider to Core (#890)
* [Xaml] move ValueConverterProvider to Core

* [docs] fix docs
2017-04-28 12:11:38 -07:00
Stephane Delcroix 84ba9edce4 [XamlG] supports x:FieldModifier (#878)
* [XamlG] supports x:FieldModifier

* adapt test as duplicate fields are now caught at XamlG time

* [XamlG] supports UWP values in addition of WPF's for x:FieldModifier
2017-04-28 10:39:16 +02:00
Stephane Delcroix d3cc1b5651 [C] Lookup in RD also lookup in merged RDs (#861) 2017-04-11 11:09:06 -07:00
Stephane Delcroix 5ea000a76d [Xaml] Set the TargetProperty on ServiceProvider (#847) 2017-04-07 09:48:17 +02:00
Samantha Houts 5f2796e160 [Internal] Normalize Obsolete attributes (#860)
* [All] Normalize Obsolete attributes.

Make sure we include the version in which the member was deprecated and
consistent instructions for working around the deprecation, if
applicable.

* Update docs
2017-04-07 09:47:33 +02:00
Stephane Delcroix 1a7aea41ff More Xaml generic support (#857)
* [XamlG] allow x:Name on nested generic types

* [Xaml*] fail on undeclared xmlns

* [XamlC] allow x:Arguments on generic ctors
2017-04-06 14:37:59 -07:00
Stephane Delcroix ab0fabac61 [Xaml[C]] supports 'using:' xmlns declarations (#851) 2017-04-06 22:22:50 +01:00
Stephane Delcroix 467c1befa1 Resource loading (#815)
* Resource Loader

* Replace XamlLoader API by ResourceLoader for the Previewer

* instruct generated IL to use the resourceLoader

* [docs] update docs

* oops

* [docs] fix docs
2017-03-16 12:09:22 -07:00
kingces95 e6d5186c8a Remove InternalsVisibleTo from Core to XF.Platforms.* (#782)
* Remove InternalsVisibleTo from Core to XF.Platforms.*

* Changes per Jason's code review

* Move LockableObservableListWrapper to internals namespace

* Changes per Stephane's code review

* update docs

* Touch code to get CI to run tests

* Rebase; Update documentation
2017-03-07 14:56:24 -05:00
Stephane Delcroix 6d9fd894e4 [Xaml] decorate markup and value providers to speed up inflating (#770)
* [Xaml] decorate markup and value providers to speed up inflating

* update docs

* fix docs
2017-02-24 09:10:11 +01:00
E.Z. Hart caa8882ff2 Split Windows RuntimePlatform into UWP and WinRT (#748)
* Split RuntimePlatform Windows into UWP and WinRT

* Update docs

* Backward compatible targetPlatform=Windows for native XAML views on WinRT/UWP
2017-02-17 10:43:26 +00:00
Stephane Delcroix 53b1bbaf36 [XamlC] compile NullExtension markup (#750) 2017-02-17 09:57:31 +01:00
Stephane Delcroix d108dfe176 [XamlC] compiled TypeExtension (#739) 2017-02-13 09:08:21 +01:00
Stephane Delcroix 3241fae11d Xaml empty service provider (#736)
* [Xaml] AcceptEmptyServiceProvider

* [XamlC] AcceptEmptyServiceProvider

* docs
2017-02-10 11:07:00 +01:00
Stephane Delcroix 750b0346cc [Xaml] do not set properties with private setters (#717) 2017-02-02 15:28:59 +01:00
Stephane Delcroix eacbc1acf4 [Xaml[C]] check for compatible types on op_implicit (#715)
* [Xaml[C]] check for compatible types on op_implicit

* fix merge issue
2017-02-02 15:19:03 +01:00
Stephane Delcroix c25a360efb [Xaml[C]] throw meaningful exception while trying to set the content … (#714)
* [Xaml[C]] throw meaningful exception while trying to set the content of a property without ContentPropertyAttribute

* fix test
2017-02-02 11:14:35 +01:00
Stephane Delcroix fa0882114d [XamlC] Produce correct mdb files (#699)
* [XamlC] change MockCompile (internal) API

* [XamlC] fix debugging in unit test project

* f

* [XamlC] update cecil to 0.10.0-beta1-v2

* beta2

* avoid method duplication

* [XamlC] force loading MdbReader and Writer

* [XamlC] force use the writer in the other task too

* [XamlC] fix test and test code generator

* try building this

* [XamlC] Ensure InitializeComponent is correctly routed

* fix
2017-02-02 10:57:50 +01:00
Stephane Delcroix d598d5efe3 [Xaml[C]] cast to BindingBase before SetBinding() (#709) 2017-02-01 17:03:53 +01:00
Stephane Delcroix e3f193712b [Xaml] support CDATA (#698) 2017-01-26 09:25:22 +01:00
Stephane Delcroix f30aa8ae2c [Xaml[C]] Do not instantiate DataTemplate Content at parsing time (#683)
* [Xaml] rename VisitChildrenFirst

* [Xaml] rework SkipChildren in XamlNode

* [Xaml] fix 45179

* fix
2017-01-25 14:47:27 +01:00
Stephane Delcroix b6cb64e493 [C] new OnPlatform mechanism (#658)
* [C] Obsolete TargetPlatform

* [Xaml] support and test the new syntax

* blind fix windows platforms
2017-01-12 12:05:41 -08:00
Stephane Delcroix 32dab1d3c7 [XamlC] detect duplicate x:Name at compile time (#655)
* [XamlC] detect duplicate x:Name at compile time

* invoking methods with the right arguments produces better results
2016-12-30 09:58:48 -07:00
Stephane Delcroix c34016dc84 Xamlc compile data triggers (#648)
* [Xaml] DataTrigger and PropertyCondition no longer use a ServiceProvider

* [XamlC] avoid generating ServiceProvider for unused ProvideValue

* fix tests
2016-12-23 10:21:30 +01:00