21 Commits
Author SHA1 Message Date
Mikhail Filippov f74ecea14e Multi-culture implementation ValueSerializers, Parse and ToString for types from WindowsBase. (#5593) 2017-09-18 16:56:44 +02:00
Mikhail Filippov fd708a1ab6 Add implementation and tests for SizeValueSerializer 2017-08-08 21:55:36 +02:00
Kirill 7773099298 [WindowsBase] Serialization fix of Int32Rect, Point, Rect, Size, Vector, Matrix (#2873)
The problem is that private fields in described types doesn't start from _ prefix, but it should be so according to reference source.
That's way MONO can't deserialize that types correctly if source stream was created by MS .NET binary serializer.

This change is released under the MIT license.
2016-04-22 00:44:52 -04:00
Marek Safar 6e488234ae [WindowsBase] Implement Vector formattable ToString 2015-02-19 20:12:52 +01:00
David Karlaš 018df75d54 Update PointConverter.cs 2013-12-03 06:48:03 +01:00
David Karlaš 91d3a70571 DependencyProperty of DependencyObject was trowing KeyNotFound exception instead of default value 2013-05-24 20:53:17 +02:00
Alistair Leslie-Hughes b39661fb4c Implement Int32Rect operator ==, operator != 2013-01-18 20:14:26 +11:00
Armin Sander 33ca3a4f70 WindowsBase: fix Rect.Union() and add Rect.Union test cases 2012-06-08 15:23:27 +02:00
Marek Safar 21d709b3ff Fix wrong WindowsBase method signatures 2012-03-27 12:06:34 +01:00
Marek Safar 2282e20cc1 Add missing default ctor call 2010-11-08 19:29:46 +00:00
Raja R Harinath cd51491631 Fix a few cases of mixed line-endings
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller.  I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
2010-07-26 02:20:13 +05:30
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Miguel de Icaza 5e52dab0a6 Put WindowsBase on mcs/class for System.IO.Packaging
svn path=/trunk/mcs/; revision=141398
2009-09-06 23:19:06 +00:00
Miguel de Icaza fd4cade468 move back to olive
svn path=/trunk/mcs/; revision=118141
2008-11-06 19:14:34 +00:00
Alan McGovern 6ef6364fcb 2008-11-06 Felix Eisele <[email protected]>
* Test/System.Windows/PointTest.cs:
        All Tests pass now
        * System.Windows/Point.cs
        Complete the implementation of the class
        


svn path=/trunk/mcs/; revision=118101
2008-11-06 11:54:57 +00:00
Alan McGovern d72e4c702f Moving WindowsBase into the mcs tree
svn path=/trunk/mcs/; revision=117800
2008-11-03 19:30:08 +00:00
Miguel de Icaza d4d7ff45cb Move WindowsBase
svn path=/trunk/mcs/; revision=64832
2006-09-04 03:19:06 +00:00
Iain McCoy 19538fbb90 2005-08-23 Iain McCoy <[email protected]>
* demo/runtimetest.cs: consume the new ObjectWriter interface
        * xamlc.cs: consume the new CodeWriter interface

        * System.Windows.Serialization/XamlParser.cs: rearrange class so that
        it presents a ReadNextNode() method, repeated calling of which will
        produce the next node with information about the Xaml file being
        parsed
        * Test/XamlParser.cs: rewrite tests so that they use the new interface
        of the parser
        * System.Windows.Serialization/CodeWriter.cs: changed code generator
        so that it consumes the event stream from the parser
        * Test/CodeWriter.cs: made tests friendly to the new way CodeWriter
        works
        * System.Windows.Serialization/CodeWriter.cs: changed object builder
        so that it consumes the event stream from the parser
        * Test/ObjectWriter.cs: made tests friendly to the new way ObjectWriter
        works

2005-08-07  Iain McCoy  <[email protected]>

        * System.Windows.Serialization/data-classes-builder.pl,
          System.Windows.Serialization/data-classes.txt: add stuff to generate
        the zillion little classes to carry information around
        * PresentationFramework.dll.sources, Makefile: invoke
        data-classes-builder.pl as needed.


svn path=/trunk/mcs/; revision=48670
2005-08-22 16:23:29 +00:00
Iain McCoy c063abca55 2005-07-18 Iain McCoy <[email protected]>
* Mono.Windows.Serialization/*, Test/*: change stupid
        CreateElementText name of method on XamlWriter to something marginally
        more sensible
        * demo/TestVocab/*.cs: add implementations of equals so that tests for
        the ObjectWriter can be written.

2005-07-19  Iain McCoy  <[email protected]>

        * System.Windows/DependencyObject.cs,
          System.Windows/LocalValueEnumerator.cs: implemented
        GetLocalValueEnumerator() and the LocalValueEnumerator class to
        support it.
        * Test/DependencyObject.cs: added test for LocalValueEnumerator


svn path=/trunk/mcs/; revision=47391
2005-07-18 16:29:06 +00:00
Iain McCoy 7e9c3bbc4d 2005-07-06 Iain McCoy <[email protected]>
* System.Windows/DependencyObject.cs,
          System.Windows/DependencyProperty.cs,
          System.Windows/PropertyMetadata.cs,
          System.Windows/Callbacks.cs: Added constructors to PropertyMetadata,
        added support for default values of properties
        * demo/TestVocab/ConsoleApp.cs: remove default value hack, since we
        have proper default value support now


svn path=/trunk/mcs/; revision=46985
2005-07-06 04:56:54 +00:00
Iain McCoy 83f1d3436e 2005-07-02 Iain McCoy <[email protected]>
* tools/xamlc: initial in-progress version of xaml compiler and
	example
	* class/PresentationFramework: xaml support code
	* class/WindowsBase: initial version of DependencyObject, mostly 
	for DependencyProperty support


svn path=/trunk/mcs/; revision=46873
2005-07-02 09:28:36 +00:00