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

149 Коммитов

Автор SHA1 Сообщение Дата
cm4ker 5efcc8954b Merge branch 'develop' into line-info-xaml-xml-reader 2018-11-16 09:43:30 +06:00
cm4ker 6ade187f08
Merge pull request #132 from cm4ker/should-serialize-object
Should serialize object
2018-11-08 09:44:48 +06:00
Nikita Zenkov 67ecd9d2e0 Add ShouldSerializeAttribute which defines the method name for manage
visibility during serialization to xaml.
2018-11-07 00:32:42 +06:00
Nikita Zenkov 776156e66f Erase PortableXaml.ComponentModel.ISupportInitialize and make this
feature only for the netstandard version >= 2.0.
2018-11-06 20:27:44 +06:00
Yaroslav Bugaria 75623b0757 Fixed bug where IUDI object could be attached to parent collection multiple times 2018-11-06 01:39:53 +02:00
Yaroslav Bugaria d68e014262 Modified TestIsUsableDuringInitializationWithCollection to fail by adding Bar='42' to TestClass9 2018-11-06 01:19:05 +02:00
Nikita Zenkov 0c7b4fc20e fix failing test 2018-11-04 01:04:10 +06:00
Nikita Zenkov 22e6de970e Merge branch 'develop' into should-serialize-object
# Conflicts:
#	src/Test/System.Xaml/TestedTypes.cs
2018-11-04 00:29:55 +06:00
Nikita Zenkov b38e315a3b ShouldSerialize ability to the XamlType (can manage object visibility) 2018-11-04 00:19:11 +06:00
Yaroslav Bugaria 1112955206 Added support for UsableDuringInitialization types inside collections 2018-10-25 01:19:43 +03:00
Yaroslav Bugaria f125ad5f68 Added failing test 2018-10-25 00:41:40 +03:00
cm4ker c7292114f7 Collection assign handling like a system.xaml 2018-10-19 23:31:04 +06:00
cm4ker 32a3967630 Collection assign handling like a system.xaml 2018-10-19 23:30:44 +06:00
Curtis Wensley 9aa52e3752
Merge pull request #126 from AvaloniaUI/125-extension-bug
Fix markup extension parsing
2018-10-19 09:04:39 -07:00
Yaroslav Bugaria 160eda107a Ensure that IsUsableDuringInitialization types are not attached to parent multiple times 2018-10-19 03:10:43 +03:00
Yaroslav Bugaria 6a9beee65f Fixed IsUsableDuringInitialization bug in OnWriteStartMember 2018-10-19 02:19:25 +03:00
Steven Kirk 105c1d6952 Added failing tests for #125. 2018-10-06 21:13:02 +02:00
Curtis Wensley 99d2b0e1bc
Merge pull request #106 from AvaloniaUI/fixes/stringformat
Added some failing tests for StringFormat strings.
2018-10-04 22:31:26 -07:00
Curtis Wensley fdd3784188
Merge pull request #119 from cm4ker/xaml-usableduringinit
IsUsableDuringInitialization implementation
2018-10-04 22:26:46 -07:00
Curtis Wensley 9b1dfbfb25
Merge pull request #114 from AvaloniaUI/fixes/getxamltype-typearguments-null
Pass null typeArguments to GetXamlType.
2018-10-04 22:21:24 -07:00
cm4ker 343b03f924 Fix failing test 2018-10-04 14:50:11 +06:00
cm4ker 8c335fdf81 Review fixes 2018-10-04 14:04:21 +06:00
cm4ker 10887a25fa UsableDuringInitialization fixing tests 2018-10-04 10:07:15 +06:00
cm4ker 4bb55afe3b Intermediate changes. Try to implement Initialization by geting parent node. 2018-10-04 00:25:15 +06:00
cm4ker 1465312ffd UsableDuringInitialization add test 2018-10-03 17:23:41 +06:00
cm4ker 6c9d5a7716 Fixing line information transfer from XmlReader to the XamlXmlReader 2018-10-03 14:08:51 +06:00
Steven Kirk 26139db98b Added failing markup extension lookup tests.
System.Xaml doesn't rely on the `XamlSchemaContext` to lookup both `Foo` and `FooExtension` when `"{Foo}"` is encountered.
2018-10-02 23:15:25 +02:00
Steven Kirk 72f07e7d6c Added some failing tests.
Relating to unknown types.
2018-10-02 20:32:12 +02:00
Steven Kirk ce74aa0336 Added failing test for GetXamlType typeArguments.
When there are 0 type arguments, null should be passed to GetXamlType.

Yes, this makes no sense.
2018-10-02 10:07:33 +02:00
Curtis Wensley 44926c5bab
Merge pull request #103 from AvaloniaUI/fixes/collection-text
Adding mixed text and elements to collections using IList.Add.
2018-09-28 01:22:47 -07:00
Nikita Zenkov f7bc7fbee3 Add test for ISupportInitialize problem 2018-09-11 00:07:26 +06:00
Nikita Zenkov 547c906911 fix test 2018-08-31 19:22:51 +06:00
Nikita Zenkov 34603325d8 fix test 2018-08-31 19:07:25 +06:00
Nikita Zenkov 8772b0a00f fix unit test 2018-08-30 21:51:47 +06:00
Nikita Zenkov caf8ab94a5 Replace Parameters to Attributes in test method 2018-08-30 21:21:16 +06:00
Nikita Zenkov bd5986fc1b add XamlXmlWriter extension markup parameters comma separator 2018-08-30 21:15:02 +06:00
Steven Kirk 0106995daa Added some failing tests for StringFormat strings. 2018-06-20 23:11:11 +02:00
Steven Kirk e592973b4b Added failing test for TrimSurroundingWhitespace 2018-06-02 16:56:52 +02:00
Steven Kirk 4273e87dcf Lets be clear about what we're testing here.
We're testing `InlineCollection` and friends, lets not be shy about that. Move these tests to a new test class so they're a bit more manageable.
2018-06-02 16:48:18 +02:00
Steven Kirk eabdbc75b8 Added another failing test.
Failing reading a property after collection items.
2018-05-31 00:19:10 +02:00
Steven Kirk 2266e9f963 Respect WhitespaceSignificantCollection. 2018-05-30 23:17:56 +02:00
Steven Kirk 6d832ce254 Added tests for WhitespaceSignificantCollection 2018-05-30 23:17:32 +02:00
Yaroslav Bugaria a79d90cf70 Add support for x:Key aliases in XamlObjectWriter 2018-05-28 14:59:22 +03:00
Steven Kirk 74a7bf85ff Fix failing tests.
Ensure that `GetObject` is emitted when there is a collection that contains text, and use `IList.Add` to add items to collections, so that text can be added as a collection item.
2018-05-26 19:15:22 +02:00
Steven Kirk d8f2cbab22 Make tests fail again.
Types that don't have a `TypeConverter` should call `IList.Add`.
2018-05-26 15:30:23 +02:00
Steven Kirk 38d869f56c Added more failing tests. 2018-05-25 01:23:50 +02:00
Steven Kirk 11dbead661 Added failing tests that isolate the problem. 2018-05-24 01:31:16 +02:00
Steven Kirk f815b75f12 Added failing end-to-end test. 2018-05-24 00:22:54 +02:00
Steven Kirk aaf2cf18a8 Adding failing test mixing element text and items. 2018-05-23 23:57:53 +02:00
Curtis Wensley ac0b34cc89
Merge pull request #94 from amis92/feature/ambient-providers-stack
Support parent AmbientProvider in XamlObjectWriter
2018-05-23 10:16:54 -07:00