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

75 Коммитов

Автор SHA1 Сообщение Дата
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
Stephane Delcroix c9589b6065 [test] passing test for 53318 (#818) 2017-03-15 11:35:44 +01: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 dd04858661 [XamlC] update to cecil 0.10.0-b4 to better symbol detection (#791) 2017-03-01 15:25:30 +01:00
Stephane Delcroix c2a6bb05b1 [XamlC] complete the Setter/Trigger fix (#737) 2017-02-13 12:19:05 +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 1d3e7cf380 [XamlC] skip static .cctor while looking for default .ctor (#718) 2017-01-27 16:32:45 -07:00
Stephane Delcroix 6670ca5845
[X] passing test for 43733 2017-01-26 15:01:53 +01:00
Stephane Delcroix e3f193712b [Xaml] support CDATA (#698) 2017-01-26 09:25:22 +01:00
Stephane Delcroix ccf784656d [XamlC] use TypeRefComparer to compare TypeRef from different assemblies (#710) 2017-01-25 17:03:30 +01:00
Stephane Delcroix ccc99315be
[Xaml] passing test for bz42531 2017-01-25 15:45:02 +01:00
Stephane Delcroix ca7f2caf57 [XamlC] allow xml-elements as Setter/Trigger Values (#684) 2017-01-25 15:09:54 +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 3701720f0d [XamlC] compile ListStringTypeConverter (#660)
* [XamlC] compile ListStringTypeConverter

* remove debug statements
2017-01-18 13:04:13 +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 2c91b0facd [XamlC] import members on x:Static and factories (#642) 2016-12-23 08:50:02 +01:00
Stephane Delcroix 859b058874 Xamlc compiled trigger (#629)
* [XamlC] compiled Trigger

* remove file header

* name bool parameters
2016-12-14 13:50:15 +01:00
Stephane Delcroix 6112526432 [XamlC] Compile TypeTypeConverter (#615) 2016-12-12 22:02:37 +01:00
Stephane Delcroix e45bce1a64 [XamlC] Box valueTypes on Add() (#624)
This doesn't happen often, and I haven't found any valid XAML file out
there requiring this, but in the case of 49307, it at least generates
valid IL, which then fails with a NRE as this is the nature of callvirt.
2016-12-12 21:03:30 +01:00
Stephane Delcroix 22bdca3233 [XamlC] fix loading ulongs, optimize bytecode for ulongs (#611) 2016-12-12 10:57:01 +01:00
Stephane Delcroix f0ea0fa4bf [XamlC] compile ThicknessTypeConverter (#603) 2016-12-12 10:35:42 +01:00
Stephane Delcroix 1c796c3a9e [XamlC] support setting values on ValueTypes (#596) 2016-12-12 10:14:37 +01:00
Stephane Delcroix 7851541ab6 [Xaml[C]] support op_implicit declared on Target (#585) 2016-12-07 11:35:32 +01:00
Stephane Delcroix 8181e6d4cb [XamlC] Type ref tests, and fixes (#569)
* [XamlC] Add tests for TypeRefExts, fix and enhancements

* [XamlC] more fixes, more tests

* Fix failing test
2016-12-07 10:57:43 +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 f9a44ed5ba [XamlC] Compile ContraintTypeConverters (#592)
* [XamlC] Compile ContraintTypeConverters

* fix error message
2016-12-05 13:40:12 +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 9dc9cca9c3 fix build 2016-12-02 22:02:22 +01:00
Stephane Delcroix badc701871 [XamlC] passing test for 47703 2016-12-02 21:36:10 +01:00
Stephane Delcroix 0dc9fed3f9 fix the tests 2016-12-01 23:40:20 +01:00
Stephane Delcroix e413e0cf33 [XamlC] use op_implicit where we should (#580)
* [XamlC] (passing) test for 48242

* [XamlC] (failing) test for 48242

* [XamlC] more op_implicit conversions

* additional test

* fix rebase
2016-12-01 22:34:39 +01:00
Stephane Delcroix 00b652cd43 [Xaml] support non-int enums (#575) 2016-12-01 22:26:05 +01:00
Stephane Delcroix 3d85653f27 [XamlC] assigned derived type to generic BP (#566)
* [XamlC] assigned derived type to generic BP

* [XamlC] fix 48554

* f
2016-12-01 22:14:22 +01:00
Stephane Delcroix 70d29b9e92 [XamlC] support non-generic IMarkup on ABPs (#562)
* [XamlC] support custom markups on ABPs

* [XamlC] test for 47950
2016-12-01 22:10:11 +01:00
Stephane Delcroix dc72f19442 update cecil (#546) 2016-11-18 16:07:41 +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 a6bbed029c [XamlC] TypedBindings, some tests, a compiler, ... (#489) 2016-11-15 11:39:48 -08:00
Stephane Delcroix 0a9f7bbc55 [XamlG] Fully qualify method names (#417) 2016-10-12 09:11:29 +02: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 55f066584c [XamlC] Compiled converters (#358) 2016-09-26 13:29:47 -07:00
Stephane Delcroix d06643ed13 [Xaml] fix build 2016-09-23 16:00:49 +02:00
Stephane Delcroix a5183bed8d [XamlC] Implement IValueProvider.PropertyType (#345) 2016-09-23 00:01:22 -07:00