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

156 Коммитов

Автор SHA1 Сообщение Дата
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
Stephane Delcroix b96df000db [Xaml] support short Properties for PropertyCondition (#645) 2016-12-23 08:50:19 +01:00
Stephane Delcroix 7851541ab6 [Xaml[C]] support op_implicit declared on Target (#585) 2016-12-07 11:35:32 +01:00
Stephane Delcroix ff1bf0b5ef ResourceDictionary fixes (#536)
* [C] avoid leaking RDs, remove reflection call, validate arguments

* [C,Xaml] The only way to get merged values are internal
2016-12-06 08:56:08 +01:00
Stephane Delcroix 17280b260f [Xaml] revert namespace change for XmlnsDefAttr (#610)
* [Xaml] revert namespace change for XmlnsDefAttr

* fix
2016-12-05 10:32:28 +01:00
Stephane Delcroix 4f4fae659c [Xaml] change namespace for [XmlnsDef] and make it internal (#557)
* [Xaml] change namespace for [XmlnsDef] and make internal

* fix docs
2016-12-04 22:13:54 +01:00
Stephane Delcroix 39f2deb5e0 [Xaml] support arrays as x:Arguments (#545)
* [Xaml] port some FactoryMethod tests to XamlC

* [Xaml] support array parameters in factory ctors

* [XamlC] support arrays as x:Arguments

* fix build
2016-12-04 22:08:11 +01:00
Stephane Delcroix 3ff3487d4f [XamlC] provide backward compat for ProvideValueTarget without Target… (#583)
* [XamlC] provide backward compat for ProvideValueTarget without TargetProperty

* docs
2016-12-01 22:40:20 +01:00
Stephane Delcroix 054ecf2704 [Xaml] cleanup xmlns usage, add XmlnsDefinition (#531)
* [Xaml] cleanup xmlns usage, add XmlnsDefinition

* docs
2016-11-17 20:31:05 +01:00
Stephane Delcroix d97dfe91b2 [XamlC] use correct filePath for XamlC error reporting (#513)
* [XamlG] decorate partial classes with [XamlFile] attribute

* [XamlC] use correct filePath for XamlC error reporting

* [docs] update docs
2016-11-16 11:51:53 -08:00
Stephane Delcroix a6bbed029c [XamlC] TypedBindings, some tests, a compiler, ... (#489) 2016-11-15 11:39:48 -08:00
Stephane Delcroix 3e0ee965d7 [Xaml] more primitive types (#385)
* [Xaml] more builtin conversion, and more type primitives

* [XamlC] more builtin conversion, more type primitives
2016-09-27 11:10:39 -07:00
Stephane Delcroix 2d5785731e [Xaml] allow compatible arguments for x:Factory (#382) 2016-09-26 13:40:04 -07:00
Stephane Delcroix 55f066584c [XamlC] Compiled converters (#358) 2016-09-26 13:29:47 -07:00
Stephane Delcroix a5183bed8d [XamlC] Implement IValueProvider.PropertyType (#345) 2016-09-23 00:01:22 -07:00
Stephane Delcroix 1076e73569 [XamlC] supports enum and consts in x:Static (#369) 2016-09-22 23:56:29 -07:00
Stephane Delcroix 3b7d798fdd [Xaml] support native views and native bindings (#266)
Allows including Native views directly in xaml.
Support for ios, android, UWP
2016-09-08 11:45:43 -07:00
Stephane Delcroix 85426c5d94 Native Bindings (#278)
* [C, I, A, W] Support Native Bindings

* fix tabs
2016-09-08 11:39:05 -07:00
Stephane Delcroix 4226f5b386 [Xaml] Clone node tree on DT, allow markup to be evaluated multiple times (#295) 2016-08-16 11:33:44 -07:00
Stephane Delcroix a1126ab66b [Xaml] Simplify listnodes with single elements (#304) 2016-08-15 13:18:26 -07:00
Stephane Delcroix 90396b0ffd Refix mc ignorable (#302)
* Revert "Fix mc ignorable (#298)"

This reverts commit 31c2be29d5.

* [Xaml] fix mc:Ignorable
2016-08-15 13:07:35 -07:00
Stephane Delcroix 775df09a3e [Xaml] x:Static in x:Arguments (#288)
* [Xaml] Support x:Static as x:Arguments

* [XamlC] allow x:Static in x:Arguments

* fix typo, remove commented code
2016-08-15 13:06:11 -07:00
Stephane Delcroix 31c2be29d5 Fix mc ignorable (#298)
* [Xaml] when ignoring nodes, ignore children as well

* [XamlC] ignore on xamlc too
2016-08-11 20:33:22 -07:00
Stephane Delcroix 89199205e4 Xaml convert on add (#273)
* [Xaml] add test for conversion on Set and Add

* [Xaml] Fix conversion on Add()

* [XamlC] use op_implicit before Add()
2016-08-02 13:24:50 -07:00
Stephane Delcroix f304f25df2 [Xaml] allow the Previewer to provide their own Xaml files for any type (#262)
* [Xaml] allow the Previewer to provide their own Xaml files for any type

* [Xaml] use a Func instead of an interface, easier to use by reflection. Add tests

* [XamlC] move the InitializeComponent duplication to XamlC task

* [XamlC] generate branching code

* [XamlC] fix the XamlC issue

* [XamlC] make the API public

* [docs] fix docs
2016-07-18 16:17:29 -07:00
Stephane Delcroix dead1e0959 Revert "[Xaml] allow the Previewer to provide their own Xaml files for any type"
This reverts commit 962c8fd352.
2016-07-18 10:02:01 +02:00
Stephane Delcroix 962c8fd352 [Xaml] allow the Previewer to provide their own Xaml files for any type 2016-07-18 10:00:06 +02:00
Christian Schwarz d1ab4e1ce8 [Xaml] Fix MarkupExtension not found in default namespace (#183)
* [Xaml] Fix MarkupExtension not found in default namespace

* Fixed indentation

* Added XamlC unit test
2016-05-27 12:58:21 +01:00
E.Z. Hart 9ae4ea3c82 Prepare Preserve attribute usage for removal of InternalsVisibleTo (#121)
* Move PreserveAttribute to Internals to prep for removal of InternalsVisibleTo

* Update docs
2016-04-26 11:20:55 -04:00
Jason Smith fc05a57e9d Make sure StaticResources can be looked up in ResourceDictionaries directly (#106) 2016-04-18 09:44:21 -07:00
Stephane Delcroix cdd6d4defc Merged ResourceDictionary (#97)
* [X] Support Merged RD

* [X] Support RD as xaml roots

* [XamlC] I have no idea how that used to work before

* [C] Remove debugging statements

* fix docs
2016-04-17 14:59:44 -07:00
Stephane Delcroix c92297047c [X] internal CreateFromXaml () (#77) 2016-04-12 09:46:39 -07:00
E.Z. Hart c98d338e15 Force conversion to target type when Static Resource returns OnPlatform<T> 2016-04-06 23:12:07 -07:00
kingces95 26604911bf Enable warnings as errors in XAML 2016-04-06 23:08:17 -07:00
Chris King b3365b7f7d Reformat using statements 2016-03-25 13:53:19 -07:00
Jason Smith 17fdde66d9 Initial import 2016-03-22 16:13:41 -07:00