Age | Commit message (Collapse) | Author |
|
* System.Windows.Serialization/XamlNodeType.cs: add forgotten file
svn path=/trunk/mcs/; revision=51856
|
|
* System.Windows.Serialization/BamlAttributeUsage.cs,
System.Windows.Serialization/XamlParseMode.cs,
System.Windows.Serialization/Exceptions.cs: add forgotten files
svn path=/trunk/mcs/; revision=49275
|
|
* 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
|
|
* Mono.Windows.Serialization/IXamlWriter.cs: deleted obsolete file
svn path=/trunk/mcs/; revision=49268
|
|
* Mono.Windows.Serialization/XamlParser.cs,
Mono.Windows.Serialization/ParserConsumerBase.cs,
Mono.Windows.Serialization/ParserToCode.cs: somewhat improved
commentage
svn path=/trunk/mcs/; revision=49267
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
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
|
|
* Test/CodeWriter.cs: updated tests to reflect change in code
generator
svn path=/trunk/mcs/; revision=47646
|
|
* 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
|
|
* 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
|
|
* Test/CodeWriter.cs: added tests for events and for delegates as
property values
svn path=/trunk/mcs/; revision=47587
|
|
* Test/XamlParser.cs: added test for events and delegates as property
values
svn path=/trunk/mcs/; revision=47585
|
|
* Mono.Windows.Serialization/XamlWriter.cs: renamed to IXamlWriter.cs
svn path=/trunk/mcs/; revision=47393
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|