David Karlaš
13391beeed
Fix Xaml reader to parse escaped values correctly
2019-09-09 10:05:57 +02:00
Egor Bogatov
e42bf95d14
NS2.1 Sync new changes, mobile profiles ( #13198 )
...
* Add RuntimeHelpers.GetSubArray. Add missing types to NS's TypeForwarders.cs
* more NS2.1 changes
* ios changes
* Update Decimal (it's now readonly struct)
* fix mcs
* add ROMC.cs
* Fix tests, finish monodroid profile
* Make SRE-not-supported NS2.1 compatible
* Make monotouch_tv and watch NS2.1 compatible
* make some SRE types more NS21 compatible (non-abstract now)
* bump corefx
* More NS21 fixes
* bump coreclr acceptance tests
* Bump API snapshot submodule
* [csproj] Update project files
2019-03-06 08:55:16 +01:00
Alexander Köplinger
ebfcbad232
[System.Xaml] Switch tests to use embedded test resources
2018-09-27 22:47:13 +02:00
Egor Bogatov
2a4af93109
[corlib] CoreFX sources for System namespace ( #8626 )
...
Brings CoreFX and CoreRT sources for primitive types inside corlib (and other types under System namespace)
Part of #7737
2018-07-20 21:33:05 +02:00
Alexander Köplinger
b03e606287
Remove ChangeLog files from the repo
...
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Alexander Köplinger
180e745cce
[bcl] Fix dll names and InternalsVisibleTo for test assemblies
...
The format of the test assembly name changed in 860334ff45
from System.Web_test_net_4_x.dll to net_4_x_System.Web_test.dll.
This fixes all the places where the old name was used.
2016-01-27 23:39:00 +01:00
Marek Safar
0779ff1eac
[System.Xaml] Update default profile and remove old profiles
2015-07-22 09:01:39 +02:00
Atsushi Eno
8d2cf588c9
[Xaml] fix EOL handling in tests. referencesource emits LF.
2015-03-02 11:36:41 +08:00
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