Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-10-182005-10-18 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* System.Windows.Serialization/XamlNodeType.cs: add forgotten file svn path=/trunk/mcs/; revision=51856
2005-09-012005-09-01 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* System.Windows.Serialization/BamlAttributeUsage.cs, System.Windows.Serialization/XamlParseMode.cs, System.Windows.Serialization/Exceptions.cs: add forgotten files svn path=/trunk/mcs/; revision=49275
2005-09-012005-09-01 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* System.Windows.Serialization/Exceptions.cs: create exception * Mono.Windows.Serialization/XamlParser.cs: throw the new xaml-specific exception * Test/XamlParser.cs: expect the new xaml-specific exception svn path=/trunk/mcs/; revision=49270
2005-09-012005-09-01 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/IXamlWriter.cs: deleted obsolete file svn path=/trunk/mcs/; revision=49268
2005-09-012005-09-01 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/XamlParser.cs, Mono.Windows.Serialization/ParserConsumerBase.cs, Mono.Windows.Serialization/ParserToCode.cs: somewhat improved commentage svn path=/trunk/mcs/; revision=49267
2005-09-012005-09-01 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/ParserToCode.cs Test/Parser.cs Test/XamlParser.cs Test/ParserToCode.cs: Added tests for x:Key and StaticResource, fixed bug in handling of x:Key in the code generator svn path=/trunk/mcs/; revision=49266
2005-08-312005-08-31 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* System.Windows.Serialization/Parser.cs, System.Windows.Serialization/data-classes.txt, Mono.Windows.Serialization/ParserToCode.cs, Mono.Windows.Serialization/ParserConsumerBase.cs Mono.Windows.Serialization/XamlParser.cs: initial support for x:Key and StaticResource - these exist mainly to support the styling system that will eventually live in System.Windows svn path=/trunk/mcs/; revision=49171
2005-08-282005-08-28 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Test/ObjectWriter.cs, Test/Parser.cs: renamed to match the new world * Test/CodeWriter.cs, Test/ParserToCode.cs: renamed to match the new world * demo/TestVocab/ConsoleApp.cs, demo/TestVocab/ConsoleReader.cs, demo/TestVocab/ConsoleWriter.cs: fixed up incredibly broken tests for equality. * Test/Parser.cs, Test/ParserToCode.cs: added tests for objects as values of dependency properties svn path=/trunk/mcs/; revision=49027
2005-08-282005-08-28 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* System.Windows.Serialization/Parser.cs: a bit more refactoring to reduce code duplication * Mono.Windows.Serialization/ParserToCode.cs: similarly, refactoring to reduce code duplication svn path=/trunk/mcs/; revision=49023
2005-08-282005-08-28 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/ParserConsumerBase.cs: move dispatching to handlers based on nodes returned from the parser into a base class * Mono.Windows.Serialization/ParserToCode.cs: use ParserConsumerBase * System.Windows.Serialization/Parser.cs: use ParserConsumerBase, added support for objects as values of dependency properties * demo/runtimetest.xaml: added a demonstration of objects as values of dependency properties svn path=/trunk/mcs/; revision=49019
2005-08-272005-08-27 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/XamlParser.cs: added support for objects as values of dependency properties * Mono.Windows.Serialization/ParserToCode.cs: added support for code generation for objects as values of dependency properties * Test/XamlParser.cs: a test of same * System.Windows.Serialization/data-classes.txt: some minor refinements to enable the above * System.Windows.Serialization/Parser.cs: stubs for instantiating objects as values of dependency properties * demo/TestVocab/ConsoleValue.cs: some new features so that objects as values of dependency properties can be used in a vaguely sensible fashion * demo/test.xaml: added a demonstration of objects as values of dependency properties svn path=/trunk/mcs/; revision=48965
2005-08-262005-08-26 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* System.Windows.Serialization/data-classes-builder.pl: tighten up access controls for members that don't exist in microsoft's impl (internal access only is appropriate for these members) * Test/XamlParser.cs: use reflection to access the newly tightened-up members svn path=/trunk/mcs/; revision=48887
2005-08-262005-08-26 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* xamlc.cs: use the newly-renamed ParserToCode class instead of the interim CodeWriter * Mono.Windows.Serialization/CodeWriter.cs, Mono.Windows.Serialization/ParserToCode.cs: renamed CodeWriter to ParserToCode in order to more closely parallel System.Windows.Serialization.Parser * Test/CodeWriter.cs: changed to test the new ParserToCode class svn path=/trunk/mcs/; revision=48886
2005-08-262005-08-26 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* demo/runtimetest.cs: use the newly-renamed Parser class instead of the interim ObjectWriter 2005-08-24 Iain McCoy <iain@mccoy.id.au> * Mono.Windows.Serialization/ObjectWriter.cs, System.Windows.Serialization/Parser.cs: renamed ObjectWriter to Parser, made interface more similar * Test/ObjectWriter.cs: changed to test the new Parser class 2005-08-24 Iain McCoy <iain@mccoy.id.au> * Mono.Windows.Serialization/XamlParser.cs: make internal * Mono.Windows.Serialization/CodeWriter.cs: add private member so that the tests can get at the type for XamlParser * Test/XamlParser.cs: use reflection to get the XamlParser type out of CodeWriter, create an instance of it and get nodes from it svn path=/trunk/mcs/; revision=48885
2005-08-222005-08-23 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* 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 <iain@mccoy.id.au> * 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-18Moved assembly version and assembly reference constants to a common ↵Kornél Pál
Consts.cs file. Updated 2.0.3600.0 assembly versions to 2.0.0.0. Updated some old beta version numbers to recent ones. Fixed hard coded assembly references to use constants with the appropriate version number. svn path=/trunk/mcs/; revision=48519
2005-07-252005-07-25 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Test/CodeWriter.cs: updated tests to reflect change in code generator svn path=/trunk/mcs/; revision=47646
2005-07-252005-07-25 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Test/XamlParser.cs: added tests for correct catching of non-existent processing instructions, attempting to set a dependency property on an object that is not a dependency object and for code elements. * Test/CodeWriter.cs: added tests for partial class generation and for giving a specific name to an object to be stored as a property value * Mono.Windows.Serialization/XamlParser.cs: be more paranoid about children of code elements, have better punctuation if objecting to an incorrect mapping and throw exceptions on unknown property types. svn path=/trunk/mcs/; revision=47644
2005-07-242005-07-24 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Test/XamlParser.cs, Mono.Windows.Serialization/XamlParser.cs: added a test for inappropriate usage of the Class attribute and fixed bug revealed by the test * Test/ObjectWriter.cs, PresentationFramework_test.dll.sources: added tests for object builder (based on tests for code generator) * demo/TestVocab/ConsoleWriter.cs, demo/TestVocab/ConsoleReader.cs, demo/TestVocab/ConsoleApp.cs: fix up definitions of Equals methods so that the object builder's tests work. svn path=/trunk/mcs/; revision=47599
2005-07-232005-07-23 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Test/CodeWriter.cs: added tests for events and for delegates as property values svn path=/trunk/mcs/; revision=47587
2005-07-232005-07-23 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Test/XamlParser.cs: added test for events and delegates as property values svn path=/trunk/mcs/; revision=47585
2005-07-182005-07-19 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/XamlWriter.cs: renamed to IXamlWriter.cs svn path=/trunk/mcs/; revision=47393
2005-07-182005-07-18 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* 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 <iain@mccoy.id.au> * 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-182005-07-18 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/CodeWriter.cs, Test/CodeWriter.cs Test/XamlWriter.cs: fix bug with explicitly naming objects in IAddChild blocks and add tests for same * Mono.Windows.Serialization/ObjectWriter.cs: support for arbitrary objects as property values. * demo/runtimetest.xaml: added testing of complex objects as property values svn path=/trunk/mcs/; revision=47382
2005-07-182005-07-18 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Test/CodeWriter.cs: added a bunch of tests for the code generator * Mono.Windows.Serialization/CodeWriter.cs: fixed a few bugs turned up by the tests * Test/CodeWriter.cs, Test/XamlParser.cs: added copyright/license notices svn path=/trunk/mcs/; revision=47380
2005-07-172005-07-18 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/XamlParser.cs: some refactoring and improvements in error reporting * Test/XamlParser.cs: added a few tests and improved the readability of the baked-in XAML documents somewhat. Additionally added some comments explaining the approach taken by the tests and test scaffolding. svn path=/trunk/mcs/; revision=47366
2005-07-172005-07-17 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Test/XamlParser.cs: add a bunch of tests * Mono.Windows.Serialization/XamlParser.cs: improve error reporting, don't accept elements without namespaces svn path=/trunk/mcs/; revision=47365
2005-07-162005-07-16 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Test/XamlParser.cs: fix a bug in property tests, add tests for dependency properties and complex objects as property values. Actually include file in svn, oops. svn path=/trunk/mcs/; revision=47358
2005-07-152005-07-15 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* System.Windows.Serialization/Mapper.cs: make assembly loading more resilient * Mono.Windows.Serialization/ObjectWriter.cs: do conversions from strings and support dependency properties * demo/test.xaml: enhanced testing of complex objects as property values and documented test file. * demo/runtimetest.xaml: added dependency property test svn path=/trunk/mcs/; revision=47329
2005-07-142005-07-15 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/CodeWriter.cs: don't try to convert objects into their parent types. * demo/TestVocab/ConsoleValues.cs: Add ConsoleValueAppend to avoid resolving read value too early * demo/TestVocab/ConsoleWriter.cs: Use ConsoleValue as type of Text property. These changes get the example working svn path=/trunk/mcs/; revision=47310
2005-07-142005-07-15 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/CodeWriter.cs: Better debugging information * Mono.Windows.Serialization/XamlParser.cs: Better debugging information, consolidated push() code * Mono.Windows.Serialization/CodeWriter.cs: inverted sourceType and destType in endPropertyObject * Mono.Windows.Serialization/XamlParser.cs: changed parseElement so that it doesn't stuff up the stack on empty elements and replaced an if statement spanning CurrentState with a case statement for clarity * demo/test.xaml: uncommented second test of complex objects as property values svn path=/trunk/mcs/; revision=47308
2005-07-142005-07-14 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* demo/test.xaml: added first test of complex objects as property values * demo/TestVocab/ConsoleReader.cs, demo/TestVocab/ConsoleVars.cs: more functionality that will provide uses for more complicated xaml code. * xamlc.cs: much more useful error reporting. * demo/TestVocab/ConsoleWriter.cs, demo/TestVocab/ConsoleValue.cs, demo/Makefile: Added ConsoleValue class to allow testing of more complicated property scenarios * demo/TestVocab/ConsoleVars.cs, demo/TestVocab/ConsoleReader.cs: classes to put in more complicated test * Mono.Windows.Serialization/XamlParser.cs, Mono.Windows.Serialization/XamlWriter.cs, Mono.Windows.Serialization/CodeWriter.cs: Initial support for creating complex objects as values of properties * Mono.Windows.Serialization/XamlParser.cs: fixed bug in the code detecting that the file's contents must be finished, where it forbade whitespace after the XAML code svn path=/trunk/mcs/; revision=47291
2005-07-132005-07-11 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Makefile, Test/XamlParser.cs: added a few tests * Mono.Windows.Serialization/CodeWriter.cs, Mono.Windows.Serialization/XamlParser.cs: fixed some bugs that the new tests turned up svn path=/trunk/mcs/; revision=47263
2005-07-082005-07-06 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/ObjectWriter.cs: code to build objects at runtime from a xaml file. Current problems are with events and delegates (current behaviour is untested and possibly useless) and DependencyProperties (not implemented yet) * demo/runtimetest.xaml demo/runtimetest.cs, demo/Makefile: creation of objects at runtime from a xaml file svn path=/trunk/mcs/; revision=47106
2005-07-082005-07-08 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/XamlParser.cs, Mono.Windows.Serialization/XamlWriter.cs, Mono.Windows.Serialization/CodeWriter.cs: removed TypeConverter stuff from everything except CodeWriter. By using TypeDescriptor, the generator doesn't need to be told about the converter and since the framework will find it we don't have to search for it. svn path=/trunk/mcs/; revision=47097
2005-07-082005-07-06 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* demo/test.xaml: add use of x:Name attribute * Mono.Windows.Serialization/XamlParser.cs, Mono.Windows.Serialization/XamlWriter.cs, Mono.Windows.Serialization/CodeWriter.cs: support for x:Name attributes and for considering Name properties to have the same affect. svn path=/trunk/mcs/; revision=47091
2005-07-062005-07-06 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/CodeWriter.cs: cleaned up a little, added support for the `partial' class modifier * xamlc.cs: add support for emitting classes with the partial modifier set svn path=/trunk/mcs/; revision=46995
2005-07-062005-07-06 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/Mapping.cs: removed in favour of System.Windows.Serialization/Mapper.cs * System.Windows.Serialization/Mapper.cs: Added because it is the microsoft-documented mapping API * Mono.Windows.Serialization/XamlParser.cs: transition to the new mapper system, also some general converging on the name DependencyProperty throughout instead of ContextProperty or AttachedProperty. svn path=/trunk/mcs/; revision=46984
2005-07-052005-07-05 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/XamlParser.cs, Mono.Windows.Serialization/XamlWriter.cs, Mono.Windows.Serialization/CodeWriter.cs: add support for attached properties as attributes, supplementing the existing support for attached properties as elements svn path=/trunk/mcs/; revision=46945
2005-07-052005-07-05 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/XamlParser.cs, Mono.Windows.Serialization/XamlWriter.cs, Mono.Windows.Serialization/CodeWriter.cs: add support for delegate properties and for events * Mono.Windows.Serialization/XamlParser.cs, Mono.Windows.Serialization/XamlWriter.cs, Mono.Windows.Serialization/CodeWriter.cs, Mono.Windows.Serialization/Mapper.cs: tighten up types so that Type and PropertyInfo are passed instead of strings * README: describe the demo as it currently is * demo/TestVocab/ConsoleWriter.cs: delegates demonstration * demo/TestVocab/ConsoleApp.cs: events demonstration * demo/test.xaml: include delegates and events in demonstration svn path=/trunk/mcs/; revision=46932
2005-07-032005-07-03 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* demo/Makefile: made more useful - just do "make run" and it should all happen * demo/test.xaml: added Code section, which I think should make this thing a complete, if small, program * demo/TestVocab/*: some small bugfixes, with a little bit of craziness to work around the slightly bogus stuff in DependencyObject at the moment. * Mono.Windows.Serialization/XamlParser.cs: added support for Code elements, provide fully qualified name of type to attach to, skip xmns: attributes when processing, * Mono.Windows.Serialization/XamlWriter.cs: added WriteCode member, ordered methods by type of thing dealt with * Mono.Windows.Serialization/CodeWriter.cs: added support for Code elements, call empty constructor for objects, call TypeConverter almost correctly. svn path=/trunk/mcs/; revision=46889
2005-07-032005-07-03 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* Mono.Windows.Serialization/CodeWriter.cs: use CodeDom to do code generation * Mono.Windows.Serialization/CodeWriter.cs: * Mono.Windows.Serialization/XamlWriter.cs: * Mono.Windows.Serialization/XamlParser.cs: initial TypeConverter support svn path=/trunk/mcs/; revision=46885
2005-07-022005-07-02 Iain McCoy <iain@mccoy.id.au>Iain McCoy
* 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