Marek Safar
0201ee4db6
Fix more failing tests
2012-06-07 12:19:58 +01:00
atsushieno
3590a88381
Make those tests look good on net_4_5.
2012-05-31 12:37:14 +09:00
Atsushi Eno
d7d2e98d94
Added test case for #3003 .
2012-03-09 18:59:46 +09:00
Atsushi Eno
bf48e7823d
Part of fix #3003 - events do not prevent invoker setter unless Handled is true. Also use parent object as eventSender.
2012-03-09 16:59:57 +09:00
Atsushi Eno
62537fdd3c
Fix bug #2927 : lookup event bound methods from root instance, not current object.
2012-01-19 18:30:33 +09:00
Atsushi Eno
1d08b24a11
Attachable property setter was not working with XamlObjectWriter.
...
Fixed bug #693779 .
2011-05-16 16:31:14 +09:00
Atsushi Eno
1ac59d0f75
Implement some properties in XamlObjectWriterSettings. Fixed bug #689548 .
2011-04-28 14:59:13 +09:00
Atsushi Eno
e07a7150a7
Reimplemented XamlXmlReader to make it iterator based, much less stateful.
...
Also fixed bug #638290 (required lots of state management complication).
2011-03-31 21:05:19 +09:00
Atsushi Eno
6ca2cd2be9
Fix Sys.Xaml test build which got broken with the latest mcs since 9cc5c9e.
2011-03-30 16:15:39 +09:00
Atsushi Eno
62113eebbd
XamlXmlReader didn't update current_member after EndMember and kept old one.
...
Fixed bug #682933 .
2011-03-28 16:05:17 +09:00
Atsushi Eno
b5339d6f07
Fix generic interface lookup to not miss exact match. Fixed bug #682140 .
2011-03-25 01:37:02 +09:00
Atsushi Eno
5dc910ee50
Again I forgot to add test xml file...
2011-03-24 23:25:16 +09:00
Atsushi Eno
be2b594a73
Support get-based property value (as omitted StartObject form) in XamlXmlReader.
...
This is a bit complicated to determine, and the identified condition could
be wrong (so far no regression).
It may be now missing the point to use IsWritePublic in some area to identify
GetObject node from XML stream. (Future consideration.)
Fixed bug #682131 .
2011-03-24 23:20:18 +09:00
Atsushi Eno
75c1d16157
Nullable type needs special treatment in XamlValueConverter. fixed bug #682119 .
2011-03-24 21:32:27 +09:00
Atsushi Eno
a5e126aa73
Fix LookupNullable(). It is not lookable-up by interface (struct).
2011-03-24 19:40:35 +09:00
Atsushi Eno
6435581c8d
Implemented IAmbientProvider support in XamlObjectWriter. Fixed bug #682102 .
2011-03-24 19:17:31 +09:00
Atsushi Eno
b6296239a6
Add AmbientProperty tests (complicated, not working) for bug #682102 .
2011-03-24 15:19:30 +09:00
Atsushi Eno
6043622186
Add another complicated ContentProperty case.
2011-03-23 22:33:56 +09:00
Atsushi Eno
5225990ace
Forgot to add test xml files for the previous commit.
2011-03-23 21:30:09 +09:00
Atsushi Eno
9955d9e928
ContentProperty with collection caused unexpected read in XamlXmlReader.
...
The fix is actually complicated. When a ContentProperty list is settable,
.NET allows omitting start element for it i.e. it *may* or *may not* appear,
which for each is interpreted as:
- it is StartObject if the start element can be of the member.
- otherwise it is GetObject.
It could still happen that if such a list could contain an instance of the
same list type, which results in "indeterminant" state. I don't think MS XAML
syntax and/or parser is carefully designed to treat such situation gracefully,
so I leave current implementation as is.
2011-03-23 21:21:33 +09:00
Atsushi Eno
9f2d02b5cc
Add support for EnumTypeConverter in XamlValueConverter. Fixed bug #681724 .
2011-03-23 14:45:58 +09:00
Atsushi Eno
927b5d1b3b
TypeConverterAttributes on XamlMember were ignored in XamlObjectWriter.
...
Fixed bug #681480 .
2011-03-22 19:09:41 +09:00
Atsushi Eno
3777cb3f4b
Do not reject same-key-for different-clrns XmlnsDefinitionAttributes.
...
Fixed bug #681045 .
2011-03-22 14:36:35 +09:00
Marek Safar
29ecab06f2
CRLF conversion
2011-03-18 12:40:01 +00:00
Atsushi Eno
62a5658bb2
in XamlXmlReader, read <FooType.BarMember>-style element.
...
Fixed bug #680385 .
2011-03-18 17:23:20 +09:00
Atsushi Eno
23a7a0b657
Implement XamlReader.ReadSubtree().
2011-02-02 18:18:02 +09:00
Atsushi Eno
9f92cc615e
Add missing test files.
2011-02-02 18:14:24 +09:00
Atsushi Eno
5c44482089
Implement XamlMemberInvoker.UnknownInvoker too.
2011-01-20 18:28:19 +09:00
Atsushi Eno
fb121b6809
Implement XamlTypeInvoker.UnknownInvoker.
2011-01-20 18:20:08 +09:00
Atsushi Eno
bdef99df34
finish XamlType.BaseType implementation.
2011-01-20 16:59:05 +09:00
Atsushi Eno
b7f41b092a
XamlObjectReader does not return non-writable members. Fix Skip() to work with GetObject.
2011-01-18 19:16:25 +09:00
Atsushi Eno
13cc149429
Do no t try to instantiate abstract types.
2011-01-18 16:23:38 +09:00
Atsushi Eno
4a33efa191
Implemented event support.
2011-01-13 21:12:41 +09:00
Atsushi Eno
2e2337e80a
Implement XamlBackgroundReader.
2011-01-12 16:49:38 +09:00
Atsushi Eno
99ac282cf3
Implement XamlNodeQueue, and add couple of missing files.
2011-01-12 02:03:24 +09:00
Atsushi Eno
544cfd1db7
Implemented support for attached properties in xamlreaders and xamlwriters.
2010-12-20 11:25:53 +09:00
Atsushi Eno
7a49c5d397
Add attachable event support in XamlType (not yet in readers and writers).
2010-12-17 01:32:49 +09:00
Atsushi Eno
3f71818dcd
Implement XamlType.GetAllAttachableProperties() and family, except for events.
2010-12-16 18:13:22 +09:00
Atsushi Eno
c84f6ede0d
For IXmlSerializable/XData, Instance property returns null (!)
2010-12-16 16:27:19 +09:00
Atsushi Eno
44ceb84e44
Implemented XData support in XamlObjectWriter.
2010-12-07 18:09:56 +09:00
Atsushi Eno
c807359587
Implement XData support in XamlXmlReader.
2010-12-07 17:08:49 +09:00
Atsushi Eno
b202524c5d
XData support in XamlXmlWriter.
2010-12-07 16:46:53 +09:00
Atsushi Eno
dacee05e27
Implemented XData object reader support. Add missing test files.
2010-12-07 16:23:53 +09:00
Atsushi Eno
c3ac00fbd9
Add another couple of IXmlSerializable tests.
2010-12-07 15:32:58 +09:00
Atsushi Eno
491de14adb
Add missing xml file.
2010-12-06 21:52:59 +09:00
Atsushi Eno
cb14a2be9a
Finally got XData tests that make sense. Implemented IsXData.
2010-12-06 21:52:06 +09:00
Atsushi Eno
cd1f840f10
Enable another test.
2010-12-06 20:36:24 +09:00
Atsushi Eno
18ce69f876
Add missing files.
2010-12-06 20:17:48 +09:00
Atsushi Eno
ddda7df985
Implemented Reference resolution in XamlObjectWriter.
2010-12-06 20:16:41 +09:00
Atsushi Eno
005843a956
Rename source.
2010-12-03 16:56:56 +09:00