* gc.c threads.c: Make the finalizer thread a normal managed thread so
the finalizer code can use thread functionality.
* threads.c: Make some functions more robust.
svn path=/trunk/mono/; revision=22706
* sparc/tramp.c: Implement all floating point argument passing conventions in
Sparc V8. Also fix structure passing in V8.
svn path=/trunk/mono/; revision=22704
When adding a row to the row collection do not check the IndexOf(..). Instead check for rowId.
When adding a lot of rows to a large table this is a major improvemt.
svn path=/trunk/mcs/; revision=22689
* syntax.cs, interval.cs: Applied patch from Marco Cravairo
through Francois Beauchemin who reviewed on the mailing list.
This fixes bug #45976
svn path=/trunk/mcs/; revision=22684
* FromBase64Transform.cs: Fixes to what happens if a character in the
input stream is not in the lookup table. IndexOutOfRangeException was
wrong.
2004-01-31 David Sheldon <[email protected]>
* ConvertTest.cs: Added test for malformed Base64. Bug 52928
svn path=/trunk/mcs/; revision=22654
* FileSystemInfoTest.cs: Change tests for default times to
be TimeZone agnostic by conversion to universal time before
testing.
svn path=/trunk/mcs/; revision=22652
* cs-tokenizer.cs: Handle #line hidden from PDC bits.
2004-01-25 Miguel de Icaza <[email protected]>
* cs-parser.jay: Remove YIELD token, instead use the new grammar
changes that treat `yield' specially when present before `break'
or `return' tokens.
* cs-tokenizer.cs: yield is no longer a keyword.
svn path=/trunk/mcs/; revision=22625
* marshal.c (mono_marshal_get_native_wrapper): Add support for
custom marshalling of valuetypes.
* marshal.c: Fix some warnings.
svn path=/trunk/mono/; revision=22597
* Graphics.cs: Indentation fixes, removed long dangling lines and
extra spaces.
* Graphics.cs (IsVisible): Renamed variable to not use hungarian
notation.
* bitmap.c (gdip_bitmap_dispose): Add a check for own_scan0.
(GdipCreateBitmapFromScan0): Set own_scan0 flag if we own the
incoming buffer, scan0.
* gdip.h (GdipBitmapData): Add new field, own_scan0.
svn path=/trunk/mcs/; revision=22596
* expression.cs (Invocation.DoResolve): If we're a
`ConstructedType', then we're actually a generic method, so
rewrite the expr as a GenericMemberAccess.
* cs-parser.jay (member_name): Don't use `namespace_or_type_name'
here; manually parse it into a string.
svn path=/trunk/mcs/; revision=22594
* class.h (MonoGenericInst): Added `mtype_argc' and `mtype_argv'
for generic method parameters.
* reflection.c (method_encode_methodspec): Write the uninflated
signature into the methodspec table.
(mono_reflection_inflate_method_or_ctor): Ensure `res->declaring'
is always the uninflated method.
(reflection_methodbuilder_to_mono_method): Copy the generic
parameters from the MethodBuilder into `header->gen_params'.
svn path=/trunk/mono/; revision=22593
* System.Web/HttpApplicationFactory.cs: fixlet for session events hook.
* System.Web.Compilation/AspGenerator.cs: handle more possible errors
in global.asax file.
* System.Web.Compilation/BaseCompiler.cs: added utility methods for
creating <object> related properties and fields.
* System.Web.Compilation/GlobalAsaxCompiler.cs: keep around applications
and session scope objects builders. Also a list of imports and
assemblies added in global.asax.
* System.Web.Compilation/TemplateControlCompiler.cs: use base class
methods for <object> stuff.
* System.Web.UI/ApplicationFileParser.cs: check for error in directives.
Use GlobalAsaxCompiler.CompileApplicationType for compiling.
* System.Web.UI/ObjectTagBuilder.cs: load the Type and check for errors.
* System.Web.UI/TemplateParser.cs: add assemblies and imports from
global.asax.
Now we properly create accessors for session and application objects in
the application itself, pages and controls. First step for fixing
bug #53387.
svn path=/trunk/mcs/; revision=22584
FontCollection.cs: Implemented few methods.
InstalledFontCollection.cs: Implemented few methods.
PrivateFontCollection.cs: Implemented few methods.
svn path=/trunk/mcs/; revision=22582
* DTDReader.cs : Added Normalization. Parameter Entity declaration
should block invalid characters. (GEDecl should be fixed as well.)
* XmlConstruct.cs : Should allow surrogate chars.
* XmlNotation.cs : When prefix is empty (i.e. almost all cases)
Name should not add ':'. Patch by Boris Kirzner.
* XmlTextReader.cs : Modified private ReadCharacterReference() to
return the character (or -1 when should not return anything).
Now Text character reference are checked their character range.
Set DTDReader.Normalization as well as the reader itself.
svn path=/trunk/mcs/; revision=22580
2004-01-26 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient.Oci/OciCalls.cs:
Changed binding of OciStmtPrepare from string
to byte [].
* System.Data.OracleClient.Oci/OciDefineHandle.cs:
Character types are converted using UTF8 encoding.
* System.Data.OracleClient.Oci/OciStatementHandle.cs:
SQL statement to be prepared is converted to byte
array using UTF8 encoding.
svn path=/trunk/mcs/; revision=22579
* DateTimeTest.cs: Added a new unit test (X509Certificate) to better
detect regressions in DateTime. See bugzilla entry #53461.
svn path=/trunk/mcs/; revision=22578
* typemanager.cs (TypeManager.IsEqual): New static method.
(TypeManager.FilterWithClosure): Call TypeManager.IsEqual() to
check for equality instead of using `=='.
svn path=/trunk/mcs/; revision=22575
* XmlDocumentTypeTests.cs : Added IncorrectInternalSubset().
* XmlNodeTests.cs : Since .NET 1.1 also prohibits multiple document
element, removed extraneous test switch for InsertBefore().
* XsdParticleValidationTests.cs,
XsdValidatingReaderTests.cs : These test class names are too
ambiguous so just renamed them. (No bug reports are found on them,
but should be warned in the meantime.)
svn path=/trunk/mcs/; revision=22568
* DTDReader.cs : Make sure that parameter entities are not allowed
inside internal subset unless it appears as a markupdecl.
* DTDValidatingReader.cs : ENTITY or ENTITIES type attributes must have
a value that indicates *unparsed* entity (i.e. NDATA required).
svn path=/trunk/mcs/; revision=22567
* SecurityElementTest.cs: Added new tests for duplicate attributes
and multiple attribute order and ToString representation.
svn path=/trunk/mcs/; revision=22562
* SecurityElement.cs: Attributes are now kept in an ArrayList (but
still returned in an Hashtable) so the attributes order can be
kept like MS implementation (but Hashtable cannot guarantee this).
svn path=/trunk/mcs/; revision=22561
* Exception.cs: Changed ToString to remove the \n when no stack trace
is present (which fixed a unit test for SecurityException). Changed
all \n to Environment.NewLine.
svn path=/trunk/mcs/; revision=22558
* AspGenerator.cs: use the Cache to store compiled Types. Don't parse
pages more than once. Thanks to Eric Lindvall for pointing this out.
svn path=/trunk/mcs/; revision=22557
* NumberFormatInfo.cs: InitPatterns: it seems that the patterns in
ICU use digitPattern, not zeroPattern for the spaces after the
decimal point.
svn path=/trunk/mcs/; revision=22554
* FileIOPermissionTest.cs: Converted to NUnit2. Added a test to show a
strange behaviour (short/long path) - ignored for now.
svn path=/trunk/mcs/; revision=22548
* FileIOPermissionAttributeTest.cs: Removed GetTempPath from the tests
as the introduced failures weren't related to the class (test moved to
FileIOPermissionTest.cs).
svn path=/trunk/mcs/; revision=22546
* DefaultContext.cs : Avoid exception if possible.
* Iterator.cs : Fixed PrecedingSiblingIterator.MoveNext(). When the
nav was positioned at the first, it incorrectly points itself.
Don't add names to name table while it is useless and expensive.
svn path=/trunk/mcs/; revision=22544
* AssemblyBuilderTest.cs (TestCustomAttributes): Remove
KeyFileAttribute from the test, since it must point to a valid keyfile.
svn path=/trunk/mcs/; revision=22539
* AppDomainSetupTest.cs: When I run this on .NET the AppBase uses the
temp dir. Perhaps a different runner gives different results? I'm
using 'make run-test' from the mcs directory.
svn path=/trunk/mcs/; revision=22537
parameter of type enum.
* XmlAttributeAttribute.cs: little fix.
* XmlCodeExporter.cs: Support XmlAnyAttribute when generating attributes
for method parameters.
* XmlMemberMapping.cs: Improved support for members of type "any".
* XmlReflectionImporter.cs: Improved assignment of the attribute form.
If the namespace is explicitly specified, then the form should be
qualified. Also fixed issues with the namespace assigned to attributes.
This should fix bug #53384.
* XmlSchemaExporter.cs: ExportMembersMapping(): improved support for
methods that return values of type "any". Changed the methods
AddSchemaArrayElement and AddSchemaElement, so instead of adding the
element, return it, and the caller must add it to the collection.
Other fixes in attribute generation.
* XmlSchemaImporter.cs: ImportAnyType(): if a type name is provided,
generate the AnyType mapping from the type described in the schema.
Small fixes regarding IsMixed property of complex types (it means that
the type can contain text, so the XmlTextAttribute must be generated).
* XmlSerializationReaderInterpreter.cs: Reading of members by-order must
be only used in the bare+encoded format.
svn path=/trunk/mcs/; revision=22533
"any" as return type. In this case, the part of the return message contains
a reference to the type that describes the "any" element.
svn path=/trunk/mcs/; revision=22531
* DTMXPathDocumentBuilder.cs : Namespace nodes are incorrectly created.
This fix should make XPathDocument compatible with XmlDocument.
svn path=/trunk/mcs/; revision=22529
* Calendar.cs: when rendering days, add a LiteralControl containing the
day before OnDayRender is called. Only generate the default links for
days when IsSelectable is true after OnDayRender. Fixes bug #53372.
svn path=/trunk/mcs/; revision=22526
* CodeGroup.cs: Now use Activator for [Named]PermissionSet. Change
Equals so it can compile with mcs.
* PolicyLevel.cs: Minor changes to use the new empty constructors in
[Named]PermissionSet.
svn path=/trunk/mcs/; revision=22522
* DTMXPathDocument.cs : CreateNavigator() should return the first root
as a clone.
* DTMXPathNavigator.cs : ComparePosition() incorrectly compared
attributes and namespaces orders. Implemented IsSamePosition() more
efficient. MoveToFirstNamespace() should return false when the
current node is either attribute or namespace. Fixed IsDescendant()
which looks resulted in incorrect behavior.
svn path=/trunk/mcs/; revision=22517
switch, so we can draw simple paths (lines) now. For more complex
curves, the array is holding some NaNs, so I'll need to look into
that.
svn path=/trunk/mcs/; revision=22512
* loader.c (mono_lookup_pinvoke_call): Disable trimming of .dll
extension since it does not work with libraries named lib<FOO>.dll.so.
svn path=/trunk/mono/; revision=22510
* DTDObjectModel.cs :
- DTDNode's BaseURI should not always refer to that of DTD's.
- Use absolute URI's .ToString() instead of AbsolutePath.
* DTDReader.cs : Throw XmlException for illegal character references.
* DTDValidatingReader.cs :
- Share XmlResolver when the actual reader is XmlTextReader.
(MS's XmlValidatingReader and XmlTextReader do this.)
- Added its own EntityHandling property.
* XmlValidatingReader.cs : Share XmlResolver with XmlTextReader.
* XmlReader.cs,
XmlTextReader.cs : Added new NET_1_2 members.
* XmlElement.cs : Removed extra lines (caused by XmlTextWriter bugs).
* XmlEntityReference.cs : Forgot to add, the real fix by Boris.
svn path=/trunk/mcs/; revision=22509
* XsdParticleValidationState.cs :
- Now it uses ContentTypeParticle as inputs, so no GroupRef
should occur anymore.
- xs:any should use ResolvedProcessContents. It fixes some errors.
* XsdValidatingReader.cs :
- Attribute wildcard validation should use ResolvedProcessContents.
- Use newly added XmlResolver field to resolve external schemas
specified by xsi:schemaLocation attributes.
- Added warning handler and raise warning events when instance-
specified schemas could not be resolved.
- xs:anyType should not be treated as a primitive datatype at
xsi:type resolution.
- Schema type was incorrectly remained when the element is laxly
validated.
svn path=/trunk/mcs/; revision=22508
* XmlSchema.cs : Raise warning event when external schema could not
be resolved.
* XmlSchemaAll.cs : Fixed incorrect IsEmptiable computation.
* XmlSchemaAny.cs : Fixed incorrect occurence computation.
* XmlSchemaChoice.cs : compiledItems were incorrectly appended.
* XmlSchemaComplexType.cs : Now validatableParticle became extraneous.
* XmlSchemaGroupBase.cs : Here we should not get optimized particle
because it might cause infinite loop.
* XmlSchemaGroupRef.cs : Fixed Validate() to avoid null reference
exception (only occur with ValidationEventHandler). Fixed Occurence
embedding logic that was useless because of particle optimization.
svn path=/trunk/mcs/; revision=22507
* WebConnection.cs: patch by Yaacov Akiba Slama that fixes 100-continue
handling for the case when the same packet also contains the actual
[2-5]xx response.
svn path=/trunk/mcs/; revision=22503
* dis/main.cs (--show-tokens): New command line argument to show
type tokens in the disassembly.
* dis/get.c (get_typedef, get_typespec, get_typeref): If
`show_tokens', include the token in the type name.
(get_type): Do some type parsing here and include the token in the
returned type name if requested.
(get_method): Include tokens if requested.
svn path=/trunk/mono/; revision=22502
* decl.cs (DeclSpace.CurrentType): New public field.
* expression.cs (This.ResolveBase): If we have an
`ec.TypeContainer.CurrentType', use it instead of
`ec.ContainerType'.
* class.cs (TypeContainer.DefineType): If we're a generic type,
create the `CurrentType' (unresolved).
(TypeContainer.GenericType): New private field.
(TypeContainer.DefineMembers): If we have a `CurrentType', resolve
it and store it in `GenericType' before creating the MemberCache.
(TypeContainer.GetMembers): If we have a `GenericType', call
TypeManager.FindMembers() on it.
* interface.cs (Interface.GenericType): New private field.
(Interface.DefineType): If we're a generic type, create the
`CurrentType' (unresolved).
(Interface.DefineMembers): If we have a `CurrentType', resolve it
and store it in `GenericType' before creating the MemberCache.
(Interface.GetMembers): If we have a `GenericType', call
TypeManager.FindMembers() on it.
svn path=/trunk/mcs/; revision=22494
* graphics.c: Use C style comments instead of C++ style.
* pen.c (clone_dash_array): new helper function.
(GdipClonePen): Copy matrix and dash_array, removed the FIXME.
svn path=/trunk/mcs/; revision=22493
* AssemblyBuilder.cs: Save will now strongname the assembly is (a) a
StrongName is present and (b) the signature isn't delayed.
svn path=/trunk/mcs/; revision=22492
DataColumn.cs : Added a method to retrive AutoIncrement value.
XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
parent table column.
XmlDiffLoader.cs : Convert the value comming from the xml.
XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
(ReadXmlSchemaElement) : Set the locale of the dataset.
(ReadColumn) : Set the column type. Find if the column is AutoIncrement.
(GetColumnType) : New method to get the column type from the attribute value.
(ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
and add the constraint to the table.
(ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
the table.
DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
Writing more information to the schema for interoperability with ms.net.
Improve diffgarm writing mode.
svn path=/trunk/mcs/; revision=22491
* class.c (mono_class_inflate_generic_type): Added support for
MONO_TYPE_GENERICINST.
* reflection.c (mono_reflection_inflate_method_or_ctor): Also
inflate methods on open constructed types.
svn path=/trunk/mono/; revision=22474
* Test/System.Security.Policy/PublisherTest.cs, SiteTest.cs:
Changed "\r\n" in strings to use Environment.NewLine.
* System.Security/SecurityElement.cs: Changed indentation in ToString, it seems
MS indent by 3 spaces, not 4. Also added NewLine to childless
elements.
svn path=/trunk/mcs/; revision=22473
* Socket.cs: handle WSAEWOULDBLOCK for non-blocking sockets. Fixes
bug #53168. Avoid the creation of the ManualResetEvent in class Worker
whenever possible.
svn path=/trunk/mcs/; revision=22470
* SecurityElement.cs: Changed newline distribution in ToString.
Matches MS better.
* CodeAccessPermissionTest.cs (To_String): Compared
Environment.NewLine rather than "\r\n"
svn path=/trunk/mcs/; revision=22465
* Socket.cs: if we have a pending async event, delay socket closing
until EndX is called. Fixes bug #53229. Check parameters and if the
socket has been disposed. Implemented IDisposable explicitly. The
threads created have IsBackground = true now.
svn path=/trunk/mcs/; revision=22464
* FileSystemTest.cs:
Correcting expected exception type in TestDir to match MS' behaviour
* CollectionTest.cs
Correcting expected exception type in Exception #E19 to match MS' behaviour
* DateAndTimeTest.cs:
Correcting expected WeekDay values for many asserts to match MS' behaviour
Correcting expected exception type in DateValue "#DV03" to match MS' behaviour
WeekdayName Test assumed FirstDayOfWeek.System to always be the same, but it is user configurable,
test with FirstDayOfWeek.Monday instead
TimeValue Test wrongly wanted to receive the parsed time as happening today,
instead it comes in day 1/1/1 (timescale-zero)
svn path=/trunk/mcs/; revision=22461
to be derived types of the one that has the attribute.
* XmlReflectionImporter.cs: Recursively register the derived maps of a given
map to the parent map. This fixes#53246.
* XmlSerializationWriter.cs: Some fixes regarding empty namespaces.
svn path=/trunk/mcs/; revision=22457
* Methods.cs: Default binding for a method must be null.
* SoapHeaderDirection.cs: Added missing enum value.
* SoapMessage.cs: Added missing property.
* TypeStubManager.cs: Removed unneded check from AddBinding.
In GetBinding(), return default binding if name is null.
* ValueCollectionParameterReader.cs: IsPrimitive must be internal.
svn path=/trunk/mcs/; revision=22455
un one soap extension.
* HttpSimpleProtocolImporter.cs: Made class internal.
* HttpSimpleProtocolReflector.cs.cs: ReflectMethodBinding(): GET and POST
do not use method bindings. Return null.
* ProtocolReflector.cs: Several fixes: do not generate binding if it doesn't
have any operation, avoid port and binding name colisions, and other minor
fixes.
* ServiceDescription.cs: Collect the namespaces to be added to the root
element of a serializaed wsdl document from the soap extensions.
* ServiceDescriptionSerializerBase.cs: Made classes internal.
* SoapAddressBinding.cs, SoapFaultBinding.cs, SoapOperationBinding.cs,
SoapProtocolImporter.cs: Class should not be sealed.
* SoapBodyBinding.cs: Set the correct class attributes.
* SoapHeaderBinding.cs: Class should not be sealed. Added missing method.
* SoapHeaderFaultBinding.cs: Fixed class attributes.
svn path=/trunk/mcs/; revision=22454
* jscript-lexer-parser.g: formal_param_list receives a parent too.
* SymbolTable.cs: added size and current_symbols properties.
* JSLocalField.cs: don't throw not ImplementedException from
constructor (same reason, testing purposes, must get implemented
for real).
* IdentificationTable.cs: added num_of_locals and current_locals properties.
* FunctionDeclaration.cs: added a LocalBuilder and DictionaryEntry
as fields. Not throw NotImplementedException for
JScriptFunctionDeclaration (testing purposes, must get implemeted
for real). Let's build our function closures! Added functions:
build_closure and build_closure_nested, build_local_fields. Keep
track of current parameters and locals defs.
* FormalParameterList.cs: made FormalParam inherit from
AST. Implement the Emit for parameters, yeah!
* CodeGenerator.cs: added a ModuleBuilder reference. New constructor.
* Closure.cs: do not throw the exception (this allow me to run the
tests at mcs/jtests and check that at least i'm not generating
invalid CIL). Be aware that this must be really implemented.
* Block.cs: renamed field, and implement the double pass for
nested function declarations code emittion, yeah!.
svn path=/trunk/mcs/; revision=22449
* configure.in, acconfig.h: check for truncl. Disable
version script on MacOSX (see bug #51590 if a check becomes
necessary).
svn path=/trunk/mono/; revision=22445
* socket-io.c: include the new socket-wrappers.h header.
Use the wrappers instead of the unix socket functions to make the code
more clear.
svn path=/trunk/mono/; revision=22444
* XmlWriter.cs, XmlTextWriter.cs :
Several namespace related fixes.
- Current element's NamespaceURI should be immediately available
after the call of WriteStartElement() for LookupPrefix(), so
AddMissingElementXmlns() only affects on output. This is
now identified by shouldCheckElementXmlns field.
- Attribute's overraped xmlns should be ignored for LookupPrefix(),
Especially, when the owner element is written with the default
namespace. HOWEVER, the attribute should be *written*. This is
identified by shouldAddSavedNsToManager field.
- In AddMissingElementXmlns(), non-empty prefix namespace was not
checked user-written attributes.
- XmlWriter.WriteAttributeString() never supplies namespace URI for
xmlns attributes for other versions than NET_1_0. Instead, added
ns check logic in WriteStartAttribute() only with NET_1_0.
- WriteEndAttribute() should reject zero-length namespace for
non-default xmlns declarations.
- LookupPrefix() should reject argument null and empty.
svn path=/trunk/mcs/; revision=22442
* jit-icalls.c (mono_fconv_ovf_i8): Call truncl before comparison, so
we don't throw exceptions when converting 1.1 to a long. Fixes#53250.
svn path=/trunk/mono/; revision=22437
* FileStreamTest.cs: CtorArgumentOutOfRangeException4, we were
testing for this ecveption, but the other parameters were also
invalid. Made them correct. We don't care that MS throw
exceptions in a different order do we?
svn path=/trunk/mcs/; revision=22424
* DirectoryTest.cs: Added Ignore to the CreationTime tests,
as Unix filesystems don't support them. Should we only ignore
them on Unix?
svn path=/trunk/mcs/; revision=22414
* AppDomainSetupTest: Changed test 3 to test that the
appdomain is relative to the current dir, rather than
the temp dir. This is what the MS runtime appears to
give, and handily is what we do too.
svn path=/trunk/mcs/; revision=22413
* reflection.c (mono_image_create_pefile): Handle the case when the
entry point is not a MethodBuilder. Hopefully I get it right this time.
* reflection.h (MonoReflectionAssemblyBuilder): Change 'entry_point'
field to ReflectionMethod since it is not allways a builder.
* reflection.c (type_get_fully_qualified_name): New helper function to
return the fully qualified name of a type.
* reflection.c (encode_marshal_blob): Always emit the fully qualified
type name for custom marshallers.
* reflection.c (mono_marshal_spec_from_builder): Ditto.
svn path=/trunk/mono/; revision=22409
* BuiltInDatatype.cs : On parsing QName, we don't have to spend costs
on Add()ing parsed name to name table.
* XmlSchemaUtil.cs : Added IsBuiltInDatatypeName().
* XmlSchemaAttribute.cs, XmlSchemaComplexType.cs,
XmlSchemaElement.cs, XmlSchemaSimpleContentExtension.cs,
XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleTypeList.cs :
Use the method above instead of Namespace string comparison.
(it will be required to validate schema for schemas.)
* XmlSchemaComplexType.cs : Type Derivation OK (3.4.6) should also
treat null base type as anyType. Derivation Valid Restriction
(3.4.6) should allow base type wildcard absense in case of anyType.
svn path=/trunk/mcs/; revision=22406
* Added UtilsTest.cs:
More tests (with bidimensional arrays) for Utils.CopyArray undocumented runtime function,
they are still failing tests
svn path=/trunk/mcs/; revision=22404
* class.c (mono_class_setup_vtable): If a parent class already
implements an interface, use the implementing methods from that class.
Fixes#53148.
svn path=/trunk/mono/; revision=22399
* XmlSchema.cs : When we have schema A which includes schema B which
includes schema C (i.e. A->B->C), C components should be compiled.
Here, same URL inclusions are ignored.
* XmlSchemaElement.cs : Hack for missing substitution-group fix.
* XmlSchemaSimpleTypeContent.cs : make actualBaseSchemaType private
and initialize. This fixes bug #53178.
* XmlSchemaSimpleTypeUnion.cs : Forgot to commit ;)
svn path=/trunk/mcs/; revision=22389
* io-layer/io.c:
(FindFirstFile): unlock the handle if FindNextFile fails.
(FindNextFile): g_free a couple of pointers before retrying.
* io-layer/wait.c:
(WaitForMultipleObjects): if only one handle provided, use
WaitForSingleObject.
* utils/strenc.c:
(mono_unicode_from_external): UTF8 is the default, not the preferred
encoding, ie, try MONO_EXTERNAL_ENCODINGS first. When "default_locale"
was passed in the env. var., it always failed because we were passing
"default_locale" to g_convert. Also fixed the byte count for non-UTF8
conversions.
(mono_utf8_from_external): UTF8 is the default, not the preferred one.
Fixes bug #53166.
svn path=/trunk/mono/; revision=22385
* cs-parser.jay (namespace_or_type_name): Return an Expression,
not a QualifiedIdentifier. This is what `type_name_expression'
was previously doing.
(type_name_expression): Removed; the code is now in
`namespace_or_type_name'.
(qualified_identifier): Removed, use `namespace_or_type_name'
instead.
(QualifiedIdentifier): Removed this class.
svn path=/trunk/mcs/; revision=22382
* Thread.cs: delayed thread creation until Start is called. If we
don't do that and Start() is not called, the thread is leaked. First
step towards fixing bug #53078.
svn path=/trunk/mcs/; revision=22377
* Fixed a bug with protocol version handling from connections coming from pool. Actual protocol version used wasn't being reset. Thanks Jackson Harper (jackson at ximian dot com) for getting it!!
svn path=/trunk/mcs/; revision=22370
* ecore.cs (FieldInfo.AddressOf): Revert patch from previous
#52730 bug, and instead compute correctly the need to use a
temporary variable when requesting an address based on the
static/instace modified of the field and the constructor.
svn path=/trunk/mcs/; revision=22363
* DefaultWatcher.cs: implemented.
* FAMWatcher.cs: don't stop the thread when we add a new watch.
* FileSystemWatcher.cs: on windows we use the default watcher by now.
svn path=/trunk/mcs/; revision=22362
* XmlHierarchyData.cs: Make this compile with csc.
* BulletedList.cs (BulletedList.SelectedItem): Removed the `set'
accessor since the base class doesn't have one.
svn path=/trunk/mcs/; revision=22360
* ecore.cs (SimpleName.ResolveAsTypeStep): Lookup in the current
class and namespace before looking up aliases. Fixes#52517.
svn path=/trunk/mcs/; revision=22358
importers to make sure that no data classes are created with the same
name as the web service.
* ProtocolImporter.cs: Use port name as class name only if there is more
than one port using the same protocol. This fixes big #52742.
svn path=/trunk/mcs/; revision=22341
* icall.c (ves_icall_System_Reflection_Module_Close): Prevent assertion
when closing resource modules.
* reflection.c (mono_image_create_pefile): Handle the case when the
entry point is not a MethodBuilder.
* reflection.h (MonoReflectionAssemblyBuilder): Change 'entry_point'
field to ReflectionMethod since it is not allways a builder.
svn path=/trunk/mono/; revision=22332
* typemanager.cs (CSharpSignature): Now reports also inner class name.
(CSharpSignature): New method for indexer and property signature.
svn path=/trunk/mcs/; revision=22330
Do not set the child column to be AutoIncrement.
Create the new column for the relation as MappingType.Hidden so they will not be serialized
when writing the dataset to xml.
svn path=/trunk/mcs/; revision=22328
* cs-parser.jay: Fixed problem where the last assembly sttribute
has been applied also to following declaration (class, struct, etc.)
svn path=/trunk/mcs/; revision=22325
* XmlSchema.cs :
- Removed extra property Language. Fill substitution-group info
before ContentTypeParticle is computed.
* XmlSchemaComplexType.cs : ContentType and ContentTypeParticle are
now computer before Validate() (to exclude 3.4.2 from 3.4.6
component constraint check).
* XmlSchemaObject.cs, XmlSchemaParticle.cs :
Added CopyInfo() for cloning objects.
* XmlSchemaObjectTable.cs :
Add() doesn't have to reject same named items.
* XmlSchemaParticle.cs :
- Renamed internal class XmlSchemaParticleEmpty to EmptyParticle
(for ease of post compilation infoset comparison).
- GetMinEffectiveTotalRange() should return max occurs for element and
any.
* XmlSchemaParticle.cs,
XmlSchemaAll.cs,
XmlSchemaAny.cs,
XmlSchemaChoice.cs,
XmlSchemaElement.cs,
XmlSchemaGroupBase.cs,
XmlSchemaGroupRef.cs,
XmlSchemaSequence.cs :
- Removed ActualParticle property.
- Added GetOptimizedParticle() to get ContentTypeParticle.
- ContentTypeParticle is now created as different object from
user-specified "Particle" property.
- Return Empty particle when model groups contains no Items.
- When Items contains exactly 1 item, return the item (unless it is
top level choice model group - it causes DBR problem).
- ValidateDerivationValidRestriction() and related WXS 3.9.6 DBR
check methods such as ValidateNSRecurseCheckCardinality() now
returns a bool value and avoids exceptions on each failure time.
- ValidateRecurse() now doesn't progress base particle incorrectly.
(it caused incorrect order-preserving-mapping error.)
- 3.9.6 Recurse, RecurseLax, MapAndSum are now treated as different.
* XmlSchemaAll.cs : occurence validation shoud be done against values
after computation (ValidatedMaxOccurs).
* XmlSchemaChoice.cs : When Items is empty, then invoke warning event.
* XmlSchemaElement.cs :
- Consider referencedElement also for SubstitutionGroupElement.
- Removed SubstitutingChoice which is not in use.
- when it was targeted as substitution group by other elements, its
ContentTypeParticle should be substitution choice (see 3.9.6
Particle Valid (Restriction) term 2.1).
- Added FillsubstitutionElementInfo() (see XmlSchema.cs above).
* XmlSchemaGroup.cs : Removed extra check on model group (because it
is impossible to specify non-model-group particle).
* XmlSchemaIdentityConstraint.cs,
XmlSchemaKey.cs,
XmlSchemaKeyRef.cs,
XmlSchemaUnique.cs : Removed extraneous MonoTODO.
* XmlSchemaSimpleContent.cs : Made actualSchemaType as internal.
* XmlSchemaSimpleType.cs : Removed extraneous new Datatype property.
* XmlSchemaSimpleTypeRestriction.cs : Renamed actualBaseSchemaType to
ActualBaseSchemaType.
* XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeUnion.cs :
Removed unused actualBaseSchemaType code.
* XmlSchemaType.cs : use recently introduced BaseXmlSchemaType.
* XmlSchemaUtil.cs : Removed unused CheckLanguage().
svn path=/trunk/mcs/; revision=22323
* XsdKeyTable.cs : Matching evaluation is incorrect when path is more
than depth 2.
* XsdValidatingReader.cs : Should clear LocalTypeDefinition when no
xsi:type was specified.
Moved character validation inside AssessEndElementSchemaValidity().
svn path=/trunk/mcs/; revision=22319
* StreamWriter.cs, TextWriter.cs: comply with the documented
behaviour and use a decode buffer to improve performance.
svn path=/trunk/mcs/; revision=22315
* codegen.cs (EmitContext): Removed `InTry', `InCatch',
`InFinally', `InLoop', `TryCatchLevel', `LoopBeginTryCatchLevel'
and `NeedExplicitReturn'; added `IsLastStatement'.
(EmitContext.EmitTopBlock): Emit the explicit "ret" if we either
have a `ReturnLabel' or we're not unreachable.
* flowanalysis.cs (FlowBranching.MergeChild): Actually merge the
child's reachability; don't just override ours with it. Fixes
#58058 (lluis's example).
(FlowBranching): Added public InTryOrCatch(), InCatch(),
InFinally(), InLoop(), InSwitch() and
BreakCrossesTryCatchBoundary() methods.
* statement.cs (Return): Do all error checking in Resolve().
Unless we are the last statement in a top-level block, always
create a return label and jump to it.
(Break, Continue): Do all error checking in Resolve(); also make
sure we aren't leaving a `finally'.
(Block.DoEmit): Set `ec.IsLastStatement' when emitting the last
statement in a top-level block.
(Block.Flags): Added `IsDestructor'.
(Block.IsDestructor): New public property.
svn path=/trunk/mcs/; revision=22311
Merge a few bits from the Anonymous Method MCS tree.
* statement.cs (ToplevelBlock): New class for toplevel methods,
will hold anonymous methods, lifted variables.
* cs-parser.jay: Create toplevel blocks for delegates and for
regular blocks of code.
svn path=/trunk/mcs/; revision=22310
* marshal.c (mono_marshal_get_managed_wrapper):
mono_marshal_alloc takes native int so CONV_I
the arg for 64bits.
svn path=/trunk/mono/; revision=22307
* statement.cs (Statement.ResolveUnreachable): New public method.
(If, While): Do the dead-code elimination in Resolve(), not in Emit().
(Block.Resolve): Resolve unreachable statements.
svn path=/trunk/mcs/; revision=22294
* Added set of Post Schema Compilation Information tests, i.e.
xs-psci-compare.cs and psci-ms-all.zip.
* Makefile: Added test-psci target.
* README: Added notes on PSCI tests (however it is not for today's
implementation, but for the very near future with bunch of fixes)
svn path=/trunk/mcs/; revision=22290
* SchemaDataValueType.cs : UriValueType.ToString() should return
actual URI string (as MS's XmlSchemaUri class does).
* XmlSchemaReader.cs : Make it internal.
svn path=/trunk/mcs/; revision=22288
* XsdParticleValidationState.cs : Use ValidatedMaxOccurs instead of
MaxOccurs. (in the meantime)
* XsdValidatingReader.cs : "fixed" should not be treated as default.
* XsdWildcard.cs : several Wildcard Subset constraint related fixes.
svn path=/trunk/mcs/; revision=22287
* XmlNode.cs : When adding a node to child list, it should reject its
ancestors. Patch by Boris Kirzner.
* XmlNodeReader.cs : Related fix to the fix above. It should not move
to children of XmlEntityReference nodes.
* XmlTextWriter.cs : FixedWriteStartElement() not to write default
namespace when ns is null (while ns is "", it writes default ns).
* XmlElement.cs : Fixed WriteTo() to call WriteStartElement(localName)
when NamespaceURI is an empty string.
svn path=/trunk/mcs/; revision=22286
* System.IO/Path.cs: add the trailing directory separator only for
volumes. Fixes bug #53035.
* Test/System.IO/PathTest.cs: tests for bug 53035 and 52735.
svn path=/trunk/mcs/; revision=22283
release, so I haven't been spending a lot of time on
GraphicsPath. Rather than letting my changes go stale, I'll commit
them now while they are still in a compilable state.
* GraphicsPath.cs: Implemented. Still needs testing, though.
Particular the PathPoints property, I ran into a P/Invoke problem,
I need to first fix that before I can go on with the rest of the testing.
* gdipFunctions.cs: Import functions for GraphicsPath.
* graphics-path.c (GdipGetPathPoints): Fixed.
(GdipCreatePath): Remember to initialize the arrays instead of
just setting them to NULL.
(GdipGetPathTypes, GdipGetPathPoints): Fix signature.
* Makefile (local_sources): Add graphics-path.c to the build.
* Matrix.cs (Matrix): Removed reference to GpRect/GpRectF.
* Bitmap.cs (LockBits):
* Graphics.cs (DrawString): Removed reference to GpRectF.
* gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
Removed. Didn't know that structs are laid out sequentially by
default. We don't need these anymore.
svn path=/trunk/mcs/; revision=22282
* loader.c: don't trim ".dll" before looking up in the config file.
Don't leak orig_scope. Reopened bug #22532 in the meanwhile.
svn path=/trunk/mono/; revision=22279
service.
* TypeStubManager.cs: When adding a binding, ignore it if it has already
been added. Changed WebServiceLiteralNamespace by the method
GetWebServiceLiteralNamespace. The literal namespace depends on the binding
namespace, so it has to be provided as parameter.
* XmlReturnReader.cs, XmlReturnWriter.cs: Use GetWebServiceLiteralNamespace
instead of WebServiceLiteralNamespace.
svn path=/trunk/mcs/; revision=22273
Use GetWebServiceLiteralNamespace instead of WebServiceLiteralNamespace.
* ProtocolReflector.cs: Port names must be unique in a service description.
This fixes bug #53019.
* ProtocolImporter.cs: Little fix.
svn path=/trunk/mcs/; revision=22272
* Assembly.cs (GetManifestResourceStream): Make the IntPtrStream keep
a reference on the Module object which contains the resource.
svn path=/trunk/mcs/; revision=22267
* icall.c (ves_icall_System_Reflection_Assembly_GetManifestResourceInternal):
Return the module which contains the resource as well.
(ves_icall_System_Reflection_Module_Close): New icall.
* appdomain.c: Bump corlib version number.
svn path=/trunk/mono/; revision=22264
* expression.cs: We need to fix the case where we do
not have a temp variable here.
* assign.cs: Only expression compound assignments need
temporary variables.
svn path=/trunk/mcs/; revision=22260
* mini-ppc.h: export ppc_patch().
* mini-ppc.c: call convention fixes. Added assert in ppc_patch().
* tramp-ppc.c: call convention fixes: Linux/PPC support should be
on par or better than on MacOSX.
svn path=/trunk/mono/; revision=22256
* flowanalysis.cs: Reduce memory allocation in a few ways:
- A block with no variables should not allocate a bit
vector for itself.
- A method with no out parameters does not need any tracking
for assignment of the parameters, so we need not allocate
any data for it.
- The arrays:
public readonly Type[] VariableTypes;
public readonly string[] VariableNames;
Are redundant. The data is already stored in the variable
map, so we need not allocate another array for it.
- We need to add alot of checks for if (params | locals) == null
due to the first two changes.
svn path=/trunk/mcs/; revision=22254
* object.h: Added async_callback field in MonoAsyncResult.
* marshal.c: In mono_delegate_begin_invoke, set the value of async_callback.
* verify.c: Added async_callback in MonoAsyncResult layout.
svn path=/trunk/mono/; revision=22250
uses IsAssignableFrom(o.GetType()), which is not always valid for
transparent proxies (because GetType will not return the type of the remote
object if its assembly is not present).
svn path=/trunk/mcs/; revision=22249
I thought that async_delegate was the callback, but it is not, it is the
delegate upon which the async call was invoked. This fixes bug #53020.
* StackBuilderSink.cs: If the target object is a proxy, make the call
using the Invoke method of the real proxy.
svn path=/trunk/mcs/; revision=22246
of a new identity. This fixes bug #52921.
* ServerIdentity.cs: Allow the creation of server identities that
represent a custom proxy instead of a real object.
svn path=/trunk/mcs/; revision=22245
* mini.c (optimize_branches): Add an upper bound to the number of
iterations to prevent infinite loops on strange loops. Fixes#53003.
svn path=/trunk/mono/; revision=22240
* ecore.cs (FieldExpr.AddressOf): For ValueTypes that do not
implement IMemoryLocation, we store a copy on a local variable and
take the address of it. Patch from Benjamin Jemlich
svn path=/trunk/mcs/; revision=22234
* cs-parser.jay: Applied patch from Ben Maurer to the "type" rule
to use a special "type_name_expression" rule which reduces the
number of "QualifiedIdentifier" classes created, and instead
directly creates MemberAccess expressions.
svn path=/trunk/mcs/; revision=22225
* FileStream.cs: Locking from bug #32344 removed. This is not
necessary because the correct fix was actually in the console.
This fixes bug #53026. Miguel de Icaza reviewed/approved this
patch.
svn path=/trunk/mcs/; revision=22224
* FloatingPointFormatter.cs: Skip the decimal point if we have an
integer mantassa. So: 1E+15, rather than 1.E+15.
svn path=/trunk/mcs/; revision=22221
* Array.cs (GetValue/SetValue): Throw NullRef exception like .NET 1.1,
even though docs say it should be an ArgumentNull. Two test cases now
pass. See also nickd's commit of 2003-12-24.
svn path=/trunk/mcs/; revision=22220
* convert.cs: Applied patch from Benjamin Jemlich ([email protected])
that fixes#52853 Null literal assignment to ValueType
svn path=/trunk/mcs/; revision=22211
* class.cs (MethodData.Emit): Instead of checking the name of the
method to determine if its a destructor, create a new derived
class from Method called Destructor, and test for that.
* cs-parser.jay: Create a Destructor object instead of a Method.
Based on a fix from Benjamin Jemlich ([email protected])
Fixes: 52933
svn path=/trunk/mcs/; revision=22209
* Added initial support for connection pool.
* Fixed Connection testsuite for nested transactions with connection pool.
* Removed some finalizers which were causing segmentation fault.
svn path=/trunk/mcs/; revision=22203
2004-01-16 Miguel de Icaza <[email protected]>
* expression.cs (Binary.ResolveOperator): Perform an implicit
conversion from MethodGroups to their delegate types on the
Addition operation.
* delegate.cs: Introduce a new class DelegateCreation that is the
base class for `NewDelegate' and `ImplicitDelegateCreation',
factor some code in here.
* convert.cs (Convert.ImplicitConversionStandard): Add an implicit
conversion from MethodGroups to compatible delegate types.
* ecore.cs (Expression.Resolve): Do not flag error 654
(Methodgroupd needs parenthesis) if running on the V2 compiler, as
we allow conversions from MethodGroups to delegate types now.
* assign.cs (Assign.DoResolve): Do not flag errors on methodgroup
assignments in v2 either.
svn path=/trunk/mcs/; revision=22197
* VsaEngine.cs: added an Stack, a VsaScriptScope, do not throw exceptions for:
CreateEngineAndgetGlobalScope, GetGlobalScope, InitVsaEngine,
PopScriptObject, PushScriptObject, the reason is for being able to
run the tests at jtests. Be aware that this must get implemented yet.
svn path=/trunk/mcs/; revision=22193
* UnaryOp.cs: inherit from Exp now.
* Plus.cs: Don't throw the exception when calling constructor, let
it build the default handler. Return a new object when calling
EvaluatePlus until properly implemented.
* NumericUnary.cs: added new Resolve.
* NumericBinary.cs: assign operator val at ctr. Return a new
object when calling EvaluateNumericBinary until properly
implemented. Added Resolve.
* Equality.cs: added ctr and return false for EvaluateEquality
until properly implemented. Added Resolve's functions.
* Block.cs (Resolve): That check was not necessary.
svn path=/trunk/mcs/; revision=22190
[NOTE: This change is only forward binary compatible !
This means that this version of the symbol writer can still read
symbol files from the last mono release, but an older version of
the symbol writer can't read the new symbol files.
* MonoSymbolFile.cs (MonoSymbolFile): Removed 'FindMethod' and
'MethodLookup'.
* MonoSymbolTable.cs (MethodEntry): Don't write the method's full
name into the symbol file.
[NOTE: For the moment, the corresponding fields are still being
written into the symbol file. They'll be removed shortly before
the next mono release.]
svn path=/trunk/mcs/; revision=22179
* MonoSymbolFile.cs (MonoDebuggerSupport): As suggested by Ben
Maurer, create a delegate type for each of the methods and then
store the method.
svn path=/trunk/mcs/; revision=22178
* class.c (mono_bounded_array_class_get): New function which takes
a 'bounded' bool argument to distinguish vectors from one dimensional
arrays.
* icall.c (ves_icall_System_Array_CreateInstanceImpl): Call
bounded_array_class_get if the array has bounds.
svn path=/trunk/mono/; revision=22168
to write, but the last offset to be written. Thus, in WriteAndReadBack,
since "read" is not an offset but the number of bytes, it must be added to
the offset. Maybe it would be a good idea to change the name of the
parameter, since it is confusing. This should fix bug #52591.
svn path=/trunk/mcs/; revision=22161
* System.Text.RegularExpressions/parser.cs: an opening brace without a
quantifier do not cause a parse error. Fixes bug #52924.
* Test/System.Text.RegularExpressions/RegexBugs.cs: added test from
bug #52924.
svn path=/trunk/mcs/; revision=22160
* IdentificationTable.cs, ScriptBlock.cs: deleted debugging messages.
* jscript-lexer-parser.g: deleted debugging messages. Create a
Assign object instance of a simple Binary obj. Same case for Equality.
* expression.cs: added Exp abstract class. Classes that are ast of
language constructions that can appear as global expressions that
get evaluated and then the result is discarded inherit from this
new class. This let meee keep track of things that must get Popped
or can even avoid the evaluation of it. Wrote real Resolve method
for classes: Unary, Binary.
Implemted Emit method for some binary operations (+, -, / and *),
for other operators some more code is still missing.
Identifier: handle assignment cases and global exp cases.
Added class Assign (compisite assignment still missing tough :-(
* driver.cs: deleted debug messages, added "Compilation Succeeded"
message ;-).
* VariableStatement.cs, VariableDeclaration.cs: wrote real Resolve method.
* Literal.cs (BooleanLiteral, NumericLiteral): now inherits from
Exp and handle the case for global expressions that must be popped
after evaluation. no more invalid IL being generated! yeah!
* Block.cs: wrote real Resolve method, erased debug messages.
* BitwiseBinary.cs, InstanceOf.cs, UnaryOp.cs: : add new Resolve inherited from Exp.
* BinaryOp.cs, Conditional: now inherits from Exp.
svn path=/trunk/mcs/; revision=22151
* Handlers.cs: added aliases table.
* Manager.cs: when an encoding is not found, try its aliases if any.
Fixes bug #52852.
svn path=/trunk/mcs/; revision=22145
* System/Environment.cs: increased corlib version.
* System.Reflection/MonoProperty.cs: changed get_property_info so that
it only gets the values needed. Reduces the allocations needed.
svn path=/trunk/mcs/; revision=22141
* appdomain.c: increased corlib version.
* filewatcher.c: removed g_print.
* icall.c:
(get_property_info): only allocate what is actually requested.
(ves_icall_Type_GetInterfaces): free the bitset in case of early error.
svn path=/trunk/mono/; revision=22140
* System.dll.sources: added new files.
* System_test.dll.sources: added new test.
* System.IO/DefaultWatcher.cs: stub for the default watcher.
* System.IO/WindowsWatcher.cs: stub for the windows watcher.
* System.IO/FAMWatcher.cs: FAM watcher.
* System.IO/FileAction.cs: enum with event types.
* System.IO/FileSystemEventArgs.cs: added SetName property.
* System.IO/FileSystemWatcher.cs: added support for the 3 watchers.
* System.IO/IFileWatcher.cs: interface implemented by the watchers.
* System.IO/SearchPattern.cs: copied from corlib.
* Test/System.IO/FileSystemWatcherTest.cs: new test.
svn path=/trunk/mcs/; revision=22139
* jit-icalls.c (helper_stelem_ref_check): New jit icall for array type
checking in Array.Set ().
* mini.c (method_to_ir): Add array type checking in Array.Set (). Fixes
#52590.
* object.cs (test_0_multi_array_cast): New regression test.
svn path=/trunk/mono/; revision=22120
* AssemblyBuilder.cs (Save): If the entry point is in a module, create
a new entry point which calls the real one, since the entry point must
be in the module which contains the manifest.
* ModuleBuilder.cs (Save): Create the global type automatically if not
already done.
svn path=/trunk/mcs/; revision=22111
* XmlSchemaComplexContentExtension.cs,
XmlSchemaSimpleContentExtension.cs,
XmlSchemaSimpleContentExtension.cs,
XmlSchemaSimpleContentRestriction.cs,
XmlSchemaContent.cs : Added IsExtension. GetXXX() became nonvirtual.
* XmlSchemaType.cs :
- Added NET_1_2 BaseXmlSchemaType (other members are commented out).
- Now BaseSchemaType redirects to new property BaseXmlSchemaType.
* XmlSchemaComplexType.cs :
- Now it fully uses BaseXmlSchemaType above.
- Since ValidateXXX() became too huge, I divided them into
CollectXXX() [spec 3.4.1] and ValidateXXX() [spec 3.4.3 / 3.4.6].
Schema Components are contributed before constraint check.
- Now ContentTypeParticle is distinguished from validating particle
which is newly introduced as "ValidatableParticle" (only used in
XsdValidatingReader).
* XmlSchemaSimpleType.cs : Now it uses BaseXmlSchemaType.
capitalized internal members a bit.
svn path=/trunk/mcs/; revision=22108
postback script (ie user hit submit on a input type=submit) call
Validate so page validation occurs. This fixes bug #52770.
svn path=/trunk/mcs/; revision=22105
removed yet.
* OutputCacheModule.cs: Handle sliding expirations. Remove hacks
checking if the item is expired, the cache no longer returns
expired items.
svn path=/trunk/mcs/; revision=22103
expires time as well as the expires entry expire time because the
objects expire time is checked when objects are pulled out. This
fixex bug #52778.
svn path=/trunk/mcs/; revision=22100
* UrlTest.cs: New. Unit tests for Url. Site test still fails.
* UrlMembershipConditionTest.cs: New. Unit tests for
UrlMembershipCondition. Site test still fails.
svn path=/trunk/mcs/; revision=22094
* MonoSymbolFile.cs (MonoDebuggerSupport): New public class
containing static wrappers for calling the `MonoDebugger_*'
function in S.R.Assembly.
svn path=/trunk/mcs/; revision=22093
cacheability is updated. The response uses this to determine
whether or not it needs to cache itself.
* HttpResponse.cs: When the cacheability is updated either create
or dispose of the cached raw response based on whether or not we
wil need it. This allows output caching to be controlled
programatically.
svn path=/trunk/mcs/; revision=22089
52840.
2004-01-14 David Sheldon <[email protected]>
* BuiltInDatatype.cs:
XsdAnySimpleType - Added Length that returns the string length.
XsdBase64Binary - Added Length, and used more direct, less fussy,
Base64 decoder.
XsdHexBinary - Added Length method
* XmlSchemaSimpleTypeRestriction: use DataType Length method to
determine length to compare against. Stop testing Lenght facets on
QName and Notation types (as per errata)
svn path=/trunk/mcs/; revision=22077
* XslVariable.cs : Use new GenericOutputter.ctor() to indicate it is
created for variable. (It is required not to output "PI for xmldecl"
incorrectly.)
* XslNumber.cs : trivial code refactoring.
* XslCopy.cs : comment out WriteLine().
svn path=/trunk/mcs/; revision=22073
* XmlWriterEmitter.cs : It now uses WriteProcessingInstruction() to
write XML declaration. It means that output supports non document
entity. This fixes bug #52729.
* Emitter.cs, TextEmitter.cs, HtmlEmitter.cs, XmlWriterEmitter.cs :
modified WriteStartDocument() signature to receive Encoding.
* GenericOutputter.cs :
- Added .ctor() which receives Encoding. (It is used for TextWriter
output to get actual encoding.)
- Added .ctor() to take an boolean argument which indicates it is
variable content or not. (When variable, it does not call
WriteStartDocument().)
* XslKey.cs,
XsltCompiledContext.cs : comment out WriteLine().
* XslOutput.cs : set default encoding utf-16.
svn path=/trunk/mcs/; revision=22072
operations (those don't have output message).
* SoapProtocolReflector.cs: Set the correct element name and
namespace for headers (those are not managed like other data classes).
svn path=/trunk/mcs/; revision=22066
default namespace for members.
* XmlCodeExporter.cs: Fixed generation of XmlRootAttribute.
* XmlReflectionImporter.cs: Fixed the assignment of root and type
namespaces.
* XmlSchemaExporter.cs: Use type namespace instead of root namespace as
default namespace for members. In AddSchemaElement, if the element is
a root element never use a "ref" attribute.
* XmlSchemaImporter.cs: Fixed issue when importing root elements.
svn path=/trunk/mcs/; revision=22064
* debug-mini.c: Modify the debug info serialize/deserialize code so it handles
negative values as well. This is needed for the encoding of the line number
info, since sometimes the line numbers are not in increasing order.
svn path=/trunk/mono/; revision=22062
* XmlSchemaComplexType.cs : forgot to commit ;)
* XmlSchemaUtil.cs : Fixed IsSchemaDatatypeEquals() to return false
for comparison between ID and IDREF.
svn path=/trunk/mcs/; revision=22060
* XsdIdentityState.cs :
Now takes xsi:nil value into consideration for comparison.
nsname:* was not handled correctly.
Reject complexType as key value type (it is dynamic instance error).
* XsdKeyTable.cs : remoed unused code.
* XsdValidatingReader.cs :
ID comparison was not done.
{final} value of attribute definition was not used for default value.
Get xsi:nil value from non-default value.
svn path=/trunk/mcs/; revision=22059
* XmlAttribute.cs : when set a value, it is no longer default
(even if the value is the same as default value).
* XmlAttributeCollection.cs : Remove() should recover default attribute
value to default, not specified value.
Patch by Boris Kirzner (modified a bit)
* XmlDocument.cs : Reference to undeclared entity is not allowed in
Load(), while allowed in ReadNode(). Added such distinguishing logic.
svn path=/trunk/mcs/; revision=22052
attribute build a PartialCachingControl in the parents __Build method.
* BaseCompiler.cs: Add a method for adding class attributes to the
class.
* UserControlCompiler.cs: If caching is enabled on a user control
add the PartialCachingAttribute to it.
svn path=/trunk/mcs/; revision=22034
properties. These are not assigned yet.
* TemplateControlParser.cs: Do not ignore the OutputCache
attribute.
* BasePartialCachingControl.cs: Initial implementation. Keys are
still not created properly.
* StaticPartialCachingControl.cs: Assign properties in base class,
implement CreateControl.
svn path=/trunk/mcs/; revision=22033
* ecore.cs (FieldExpr.AddressOf): Fix generated IL for accessing
static read-only fields in ctors.
Applied patch from Benjamin Jemlich
* expression.cs (UnaryMutator): Avoid leaking local variables.
svn path=/trunk/mcs/; revision=22028
* XmlSchemaSimpleTypeUnion.cs : The same reason as the previous patch.
* XmlSchemaComplexType.cs : Now it handles ContentTypeParticle and
ContentType much more presise than before.
* XmlSchemaElement.cs :
Simplified property handling for reference element.
svn path=/trunk/mcs/; revision=22024
* XmlSchema.cs, XmlSchemaComplexType.cs, XmlSchemaElement.cs :
Invalid attribute should raise an error, not a warning.
svn path=/trunk/mcs/; revision=22014
* XmlSchemaObject.cs : Fixed error() not to set severity as Warning.
* ValidationHandler.cs,
XmlSchemaSet.cs,
XmlSchemaCollection.cs : Throw exception only in case of errors.
* XmlSchemaCollection.cs : Remove schema from schemaset if exist.
(It might not be good to use schemaset, but keep for a while)
* XmlSchemaContent.cs,
XmlSchemaComplexContentExtension.cs,
XmlSchemaComplexContentRestriction.cs,
XmlSchemaSimpleContentExtension.cs,
XmlSchemaSimpleContentRestriction.cs,
: added GetBaseTypeName() and GetParticle() (not used yet).
svn path=/trunk/mcs/; revision=22013
* ChangeLog, MonoSymbolTable.cs: Reviewed Ben's patches. For
those which are not ok, I'll add detailed comments to the source
code.
svn path=/trunk/mcs/; revision=21997
* object.h (MonoStringBuilder) : Changed layout to support our
new stringbuilder class.
* marshal.c: Change marshalling to support the new layout of
string builder.
* appdomain.c: increased version number because new layout of
string builder.
svn path=/trunk/mono/; revision=21985
* Environment.cs: Bump corlib version number due to new StringBuilder
* String.cs: New internal method to support the new StringBuilder that
uses the string as a buffer (until ToString is called)
svn path=/trunk/mcs/; revision=21983
* appdomain.c (ves_icall_System_AppDomain_LoadAssembly): Receive the
assembly name as an string instead of an AssemblyName, since it is
easier to extract info from it.
* appdomain.c (mono_domain_assembly_preload): Look for assemblies in
the culture subdirectories too. Fixes#52231.
svn path=/trunk/mono/; revision=21981
* AppDomain.cs (LoadAssembly): Pass the assembly name as a string to
the runtime, so it can take into account the Culture etc.
* Environment.cs: Bump corlib version number.
svn path=/trunk/mcs/; revision=21980
* MonoType.cs: GetMethods renamed to GetMethodsByName. It takes a
new parameter with the method name and a boolean for ignoring case.
Removed some string comparisons no longer needed.
svn path=/trunk/mcs/; revision=21974
* icall.c: renamed ves_icall_Type_GetMethods to GetMethodsByName.
It takes 2 new parameters with an optional name for the method to look
for and case ignoring info.
* threadpool.c: removed unused variable.
svn path=/trunk/mono/; revision=21973
* System.Web.dll.sources: added new files in S.W.Configuration.
* System.Web/HttpContext.cs: add setter for ConfigTimeout.
* System.Web/HttpException.cs: added Description property and HTML
encode some unescaped values.
* System.Web/HttpRequest.cs: support request validation.
* System.Web/HttpRequestValidationException.cs: added message and
description.
* System.Web/HttpServerUtility.cs: implemented ScriptTimeout.
* System.Web.Compilation/PageCompiler.cs: invoke Request.ValidateInput
if required.
* System.Web.Configuration/GlobalizationConfiguration.cs: undo old fix.
* System.Web.Configuration/PagesConfiguration.cs:
* System.Web.Configuration/PagesConfigurationHandler.cs: new files for
processing system.web/pages section.
* System.Web.UI/ApplicationFileParser.cs: adde DefaultBaseTypeName
property.
* System.Web.UI/PageParser.cs: support validateRequest.
* System.Web.UI/TemplateControlParser.cs: get default values from
system.web/pages section.
* System.Web.UI/TemplateParser.cs: added separate method for changing
base type (Inherits or system.web/pages).
* System.Web.UI/UserControlParser.cs: support system.web/pages defined
base type.
svn path=/trunk/mcs/; revision=21971
* Uri.cs : should not escape already-escaped string (Patch by
Boris Kirzner). File LocalPath should unespace return value.
ToString() should be unescaped only when it is not an UNC path.
(UNC looks not to be unescaped).
svn path=/trunk/mcs/; revision=21968
more raw responses that belong to them.
* CachedRawResponse.cs: Keep a reference to the VaryBy object that
this response belongs to this is so the varyby can be cleaned up.
* CachedVaryBy.cs: Keep a reference to the keys that belong to the
varyby and a reference to the varyby's key.
svn path=/trunk/mcs/; revision=21966
more raw responses that belong to them.
* CachedRawResponse.cs: Keep a reference to the VaryBy object that
this response belongs to this is so the varyby can be cleaned up.
* CachedVaryBy.cs: Keep a reference to the keys that belong to the
varyby and a reference to the varyby's key.
svn path=/trunk/mcs/; revision=21965
* SignedXml.cs: Fixed class signature (for 1.1+) by adding public to
Resolver property.
* Transform.cs: Fixed class signature (for 1.1+) by adding public to
Resolver property.
svn path=/trunk/mcs/; revision=21962
* MonoType.cs: GetProperties renamed to GetPropetiesByName. It takes a
new parameter with the property name and a boolean for ignoring case.
Fixes bug #52753.
svn path=/trunk/mcs/; revision=21956
* icall.c: renamed ves_icall_Type_GetProperties to GetPropertiesByName.
It takes 2 new parameters with an optional name for the property to look
for and case ignoring info.
Fixes bug #52753.
svn path=/trunk/mono/; revision=21955
2004-01-11 David Sheldon <[email protected]>
* BuiltInDatatype.cs : Added XsdOrdering enum, and Compare methods
to the data-types. Changed AllowedFacets to be a bitfield.
* XmlSchemaFacet.cs : Added Facet enumeration to represent bitfield.
* XmlSchemaEnumerationFacet.cs,
XmlSchemaFractionDigitsFacet.cs,
XmlSchemaLengthFacet.cs,
XmlSchemaMaxExclusiveFacet.cs,
XmlSchemaMaxInclusiveFacet.cs,
XmlSchemaMaxLengthFacet.cs,
XmlSchemaMinExclusiveFacet.cs,
XmlSchemaMinInclusiveFacet.cs,
XmlSchemaMinLengthFacet.cs,
XmlSchemaNumericFacet.cs,
XmlSchemaPatternFacet.cs,
XmlSchemaTotalDigitsFacet.cs,
XmlSchemaWhiteSpaceFacet.cs : Added ThisFacet Property to return facet type
* XmlSchemaSimpleTypeRestriction.cs: Inherited facets from base types,
checked which which were allowed on different types. Validated fixed
facets, duplicated facets and derivation by restriction. Added checking
for min/max Inclusive/Exclusive, totalDigits and fractionDigits facets in
validation.
svn path=/trunk/mcs/; revision=21934
* xml-classes : added v2 info. schema status updates.
Added ChangeLog. (There are reason not to keep ChangeLog for
documents, at least for not a little changes ;-)
svn path=/trunk/mono/; revision=21933
file but not on the page.
* TraceManager.cs: Get settings from the configuration object.
* HttpRuntime.cs: Create trace manager in the first request start
so it can get configuration settings.
svn path=/trunk/mcs/; revision=21928
* TraceData.cs: Add RequestPath property, make some rendering
methods internal static so the TraceHandler can use them.
* TraceManager.cs: Expose trace data, add a method for clearing
trace data.
svn path=/trunk/mcs/; revision=21921
* System.Reflection.Emit/ModuleBuilder.cs: 'types' array is normally larger than number of itens in it,
so searchs have to stop at 'num_types' limit (as it was it was throwing exceptions inside mbas that needs the case insensitive scan)
svn path=/trunk/mcs/; revision=21906
* TraceManager.cs: New class for handling trace configuration and
storing trace data objects.
* TraceContext.cs: Save trace data to the trace manager. Fix
typo.
svn path=/trunk/mcs/; revision=21903
here instead of the trace context so it can be saved and accessed
from the trace handler.
* TraceContext.cs: Save data in the TraceData object, let the
trace data object handle the rendering.
svn path=/trunk/mcs/; revision=21896
* System.Web.Services/WebService.cs: added SetContext ().
* System.Web.Services.Protocols/HttpSoapWebServiceHandler.cs:
* System.Web.Services.Protocols/HttpSimpleWebServiceHandler.cs: set
base.Context property.
* System.Web.Services.Protocols/WebServiceHandler.cs: added set_Context
and set the context for the WebService when creating the instance.
Fixes bug #52615.
svn path=/trunk/mcs/; revision=21894
* get.c: When stringifying methods show the method token if the
show-method-tokens flag is set.
* get.h: Add show_method_tokens flag
* main.c: Add --show-method-tokens switch
svn path=/trunk/mono/; revision=21893
* CSharpCodeCompiler.cs: when generating files from DOM, set the
encoding to UTF-8 with BOM marker. Fixes bug #52604.
svn path=/trunk/mcs/; revision=21892
* cs-tokenizer.cs (IsCastToken): Allow the various native types
here to return true, as they can be used like this:
(XXX) int.MEMBER ()
Fixed 49836 and all the other dups
svn path=/trunk/mcs/; revision=21888
* WebConnection.cs: Data.Init is a bad boy. Lluis realized. He also
tidied up the end of ReadDone. Disabled relaunching the request if 2
InitRead are called, since now we don't throw everything into
RegisterWaitForSingleObject but one request at a time.
* WebConnectionGroup.cs: when checking available connections, allow them
not to be Connected but allocated to honor the connection limit.
* WebConnectionStream.cs: CheckComplete() now checks for nextReadCalled
too. ReadAll don't mess contentLength if it's provided in the headers.
BIG thanks to Lluis. Turns out that we were debugging the same stuff and
his Data.Init discovery was THE thing I was missing.
Fixes bug #51277.
svn path=/trunk/mcs/; revision=21883
* XmlSchemaSet.cs : implemented some members.
* XmlSchemaCollection.cs : modified to use internal schema set (This
class provides more precise schema validation feature and will be
commonly used for XPathNavigator2).
Added .NET 1.1 .ctor() which takes XmlResolver.
* XmlSchema.cs : fix related to above changes.
Use validation event handler on Read() at all required places.
Added .NET 1.1 .ctor() which takes XmlResolver.
* XmlSchemaComplexType.cs : content type comparison was incorrect.
Renamed confusing method.
* XmlSchemaElement.cs : don't use ContentTypeParticle in
CheckRecursion(), where that property might not be determined yet.
* XmlSchemaGroupBase.cs : Modified ValidateRecurse() a bit (currently
no effect)
* XmlSchemaGroupBase.cs,
XmlSchemaChoice.cs,
XmlSchemaAll.cs,
XmlSchemaSequence.cs : moved CheckRecursion to XmlSchemaGroupBase.
* XmlSchemaObjectTable.cs : Fixed missing error info.
* BUGS-MS.txt : Added info a bit.
svn path=/trunk/mcs/; revision=21880
2004-01-09 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient.Oci/OciCalls.cs:
Added. It contains all external OCI calls which are
removed from all other files.
* System.Data.OracleClient/OciGlue.cs:
Fix for #52699 (OCI not thread safe).
* System.Data.OracleClient.Oci/OciHandle.cs:
Introduced special handling for Bind, Define and
Environment handles in FreeHandle. Revised the handling for
other types. Minor change in Dispose.
Replaced OCI calls.
* System.Data.OracleClient.Oci/OciDescriptorHandle.cs:
Special handling for Parameter handles in FreeHandle.
Replaced OCI calls.
* System.Data.OracleClient.Oci/OciDefineHandle.cs:
Character types are converted using the DefaultEncoding.
Replaced OCI calls.
* System.Data.OracleClient/OracleCommand.cs:
Dispose created OciStatementHandles.
* System.Data.OracleClient/OracleDataReader.cs:
Dispose used OciStatementHandle.
* System.Data.OracleClient/OracleTransaction.cs:
Dispose transaction handle.
* System.Data.OracleClient.Oci/OciStatementHandle.cs:
OCI_INVALID_HANDLE results in exception "Invalid handle."
Replaced OCI calls.
* System.Data.OracleClient.Oci/OciTransactionHandle.cs:
Introduced DetachFromServiceContext which is called in Commit
and Rollback (Fix for #52702).
* System.Data.OracleClient/OracleParameter.cs:
* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
* System.Data.OracleClient.Oci/OciErrorHandle.cs:
* System.Data.OracleClient.Oci/OciLobLocator.cs:
* System.Data.OracleClient.Oci/OciServerHandle.cs:
* System.Data.OracleClient.Oci/OciServiceHandle.cs:
* System.Data.OracleClient.Oci/OciSessionHandle.cs:
Replaced OCI calls.
svn path=/trunk/mcs/; revision=21877
* Win32Resources.cs: Organize win32 resources into a class hierarchy
with the class Win32Resource as the abstract superclass. Add
Win32ResFileReader and Win32IconFileReader classes and the
corresponding resource types.
svn path=/trunk/mcs/; revision=21850
* BUGS-MS.txt : added list derivation and facet case.
* XmlSchemaComplexType.cs :
Added some description. Avoided null reference exception in
some places.
Fixed incorrect 3.4.6 Derivation Valid (Extension) 1.4.1.2.2 and
3.9.6 Particle Valid (Extension) 2.
* XmlSchemaGroupBase.cs : Fixed ParticleEquals() which didn't work
properly against sequence and all.
svn path=/trunk/mcs/; revision=21842
* metadata/appdomain.c:
* metadata/assembly.c: escape the uri before passing it to
g_filename_from_uri.
* utils/Makefile.am: added mono-uri.[ch]
* utils/mono-uri.[ch]: slightly modified static function from glib used
to escape URIs.
Fixes bug #52630.
svn path=/trunk/mono/; revision=21832
* expression.cs (Binary.ResolveOperator): My previous bug fix had
the error reporting done in the wrong place. Fix.
svn path=/trunk/mcs/; revision=21819
* icall.c (ves_icall_get_enum_info): Store the value of the enum fields
in field->def_value, as done in all other cases.
* reflection.c (mono_reflection_get_custom_attrs): Add support for
TypeBuilders.
* reflection.c (mono_reflection_create_runtime_class): Remove
errorneous assignment to klass->element_class, since it is already
done in mono_reflection_setup_internal_class.
svn path=/trunk/mono/; revision=21808
* XmlAttribute.cs, XmlDocument.cs, XmlElement.cs :
set_Prefix should atomize to name table.
Avoided extraneous atomization attempt a bit.
svn path=/trunk/mcs/; revision=21803
* expression.cs (Binary.ResolveOperator): Catch the
operator + (E x, E y) error earlier, and later allow for implicit
conversions in operator +/- (E e, U x) from U to the underlying
type of E.
svn path=/trunk/mcs/; revision=21786
* class.cs (TypeContainer.DefineDefaultConstructor): Fix bug
52596, if the container class is abstract, the default constructor
is protected otherwise its public (before, we were always public).
* statement.cs (Fixed.Resolve): Catch a couple more errors in the
fixed statement.
(Using.EmitLocalVariableDecls): Applied patch from Benjamin
Jemlich that fixes bug #52597, MCS was generating invalid code for
idisposable structs. Thanks to Ben for following up with this
bug as well.
svn path=/trunk/mcs/; revision=21779
* CodeAccessPermissionTest.cs: Added a new test for calling Demand on
custom code access permission.
Ref: http://bugzilla.ximian.com/show_bug.cgi?id=52626
* SecurityExceptionTest.cs: New. Unit tests for SecurityException.
svn path=/trunk/mcs/; revision=21775
* CodeAccessPermission.cs: Fixed Demand for custom permissions
(permissions that do not implement, the internal, IBuiltInPermission).
Ref. http://bugzilla.ximian.com/show_bug.cgi?id=52626
* SecurityException.cs: Fixed ToString() which could, when no
PermissionType where specified, throws a NullReferenceException.
Ref. http://bugzilla.ximian.com/show_bug.cgi?id=52626
svn path=/trunk/mcs/; revision=21774
* Makefile: handle win32 paths and copy Mono.Posix.dll to Mono.Posix
directory so that MS runtime finds it.
* Mono.Posix/Syscall.cs: moved the assembly attribute to a proper place
and added 'signal.h'
* Mono.Posix/make-map.cs: use reflection to invoke the properties, as it
fails under MS runtime.
svn path=/trunk/mcs/; revision=21767
* typemanager.cs : correcting translation of System types to language types,
also temporarily circunventing a exception in ModuleBuilder.GetType inside LookupTypeReflection,
corrected many ` characters to ' in error messages
* testmbas/WriteOK.vb : testing newly implemented IsNumeric global function
svn path=/trunk/mcs/; revision=21760
* Console.cs: Test for UTF-8 being present anywhere on the
string, also do ToUpper instead of ToLower, which will work even
around the ICU bug with different locales (#52065), and addresses #52101
svn path=/trunk/mcs/; revision=21759
* appdomain.c: Use messages in NotImplementedException.
* exception.c (mono_get_exception_not_implemented): Now this takes
a message argument.
* marshal.c (emit_str_to_ptr_conv): g_warning and throw an
exception instead of g_asserting an aborting when something is not
implemented.
Add some inline docs.
svn path=/trunk/mono/; revision=21758
* Console.cs: Test for UTF-8 being present anywhere on the
string, also do ToUpper instead of ToLower, which will work even
around the ICU bug with different locales (#52065), and addresses #52101
svn path=/trunk/mcs/; revision=21746
XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
XmlDiffLoader.cs : Reading nested tables.
XmlSchemaMapper.cs : Reading the relation.
XmlConstants.cs : Adding some constants.
svn path=/trunk/mcs/; revision=21742
* CodeGroup.cs: (temp) Commented lines 126-127 because it doesn't
compile with mcs. This should fix the build for corlib.
svn path=/trunk/mcs/; revision=21738
* corlib_test.dll.sources: Added CodeAccessPermission unit tests in
in System.Security namespace. Added CodeGroup related and PolicyLevel
unit tests to System.Security.Policy.
svn path=/trunk/mcs/; revision=21736
* CodeGroupTest.cs: Updated to NUnit2. Added new tests for exceptions
and for ToXml/FromXml methods.
* FileCodeGroupTest.cs: New. Unit tests for FileCodeGroup. Missing
Resolve unit tests.
* FirstMatchCodeGroupTest.cs: New. Unit tests for FirstMatchCodeGroup.
Missing Resolve unit tests.
* NetCodeGroupTest.cs: New. Unit tests for NetCodeGroup. Missing
Resolve unit tests.
* UnionCodeGroupTest.cs: New. Unit tests for NetCodeGroup. Missing
Resolve unit tests.
* PolicyLevelTest.cs: New. Unit tests for PolicyLevel. Missing Resolve
unit tests.
svn path=/trunk/mcs/; revision=21735
* CodeAccessPermissionTest.cs: New. Unit tests on a non-abstract
CodeAccessPermission class.
* SecurityManagerTest.cs: Removed .Policy from namespace.
svn path=/trunk/mcs/; revision=21734
* CodeGroup.cs: Added internal constructor for PolicyLevel. Complete
FromXml. Various small fixes to match the unit tests.
* FileCodeGroup.cs: Added internal constructor for PolicyLevel.
Implemented GetHashCode (may not be exactly the same as MS).
* FirstMatchCodeGroup.cs: Added internal constructor for PolicyLevel.
Copy method now returns a deep copy (as documented).
* NetCodeGroup.cs: Added internal constructor for PolicyLevel. Fixed
"Same site Web" (as documented) to "Same site Web." (as real life).
Copy method now returns a deep copy (as documented).
* PolicyLevel.cs: Added missing ChangeNamedPermissionSet. Implemented
FromXml method. Added internal methods to load from file or string.
Added/changed lots of things to match unit tests.
* StrongNameMembershipCondition.cs: Added internal constructor for
PolicyLevel. Fixed Equals.
* UnionCodeGroup.cs: Added internal constructor for PolicyLevel.
Copy method now returns a deep copy (as documented).
svn path=/trunk/mcs/; revision=21733
* CodeAccessPermission.cs: Fixed Union to match 1.1/1.2 documentation.
Simplified ToString to match MS implementation. Added LAMESPEC to
Assert, Demand, Deny and PermitOnly as they aren't virtual.
* NamedPermissionSet.cs: Added internal constructor for PolicyLevel.
* PermissionSet.cs: Added internal constructor for PolicyLevel.
* SecurityManager.cs: Moved some stuff to PolicyLevel class (e.g. Load).
svn path=/trunk/mcs/; revision=21732
* UriTest.cs :
Derived from Assertion.
Added ConstructorsRejectRelativePath ().
"file://cygwin" means machine name cygwin, not top directory cygwin.
* UriTest2.cs : added relative constructor tests and manually created
absolute uri tests (rejected by MS.NET).
* uri-test-generator.cs : added relative test generator.
* added test-uri-props-manual.txt, test-uri-relative-list.txt,
test-uri-relative-props.txt for relative path test and
manually added tests.
svn path=/trunk/mcs/; revision=21731
2004-01-05 Miguel de Icaza <[email protected]>
* cs-parser.jay: Add rules to improve error reporting if fields or
methods are declared at the namespace level (error 116)
* Add rules to catch event add/remove
svn path=/trunk/mcs/; revision=21727
* CachedRawResponse.cs: Expose a ref to the date header, so it can
be easily set/updated. Remove unused methods and vars.
svn path=/trunk/mcs/; revision=21700
* XmlDocument.cs : Fixed Load() to set XmlResolver correctly. Patch
by Benjamin Jemlich.
Assure closing XmlTextReader which are internally used.
svn path=/trunk/mcs/; revision=21682
* Path.cs: Remove defined but unused variable, and also got rid of
some unreachable code. Eliminates some build warnings.
svn path=/trunk/mcs/; revision=21674
* SecurityManager.cs: Added some basic stuff to make some security unit
tests works (mostly when using PolicyHierarchy).
svn path=/trunk/mcs/; revision=21666
* ecore.cs, expression.cs, statement.cs:
Total rewrite of how we handle branching. We
now handle complex boolean expressions with fewer
jumps. As well if (x == 0) no longer emits a ceq.
if (x is Foo) is much faster now, because we generate
better code.
Overall, we get a pretty big improvement on our benchmark
tests. The code we generate is smaller and more readable.
I did a full two-stage bootstrap. The patch was reviewed
by Martin and Miguel.
svn path=/trunk/mcs/; revision=21655
* cs-parser.jay: Make primary_expression not take a QI.
we dont need this because the member_access rule covers
us here. So we replace the rule with just IDENTIFIER.
This has two good effects. First, we remove a s/r conflict.
Second, we allocate many fewer QualifiedIdentifier objects.
svn path=/trunk/mcs/; revision=21654
* attribute.cs: Handle MarshalAs attributes as pseudo, and
set the correct information via SRE. This prevents
hanging on the MS runtime. Fixes#29374.
svn path=/trunk/mcs/; revision=21653
* corlib.dll.sources: Added SiteMembershipCondition to
System.Security.Policy namespace.
* corlib_test.dll.sources: Added Site and SiteMembershipCondition
unit tests in System.Security.Policy namespace.
svn path=/trunk/mcs/; revision=21649
* convert.cs: correctly handle conversions from value types
to Enum and ValueType as unboxing conversions.
Fixes bug #52569. Patch by Benjamin Jemlich.
svn path=/trunk/mcs/; revision=21645
* ExpiresBuckets.cs: set _intPos when expanding the array. Fixes bug
52541. Patch by Jan Jaros ([email protected]).
svn path=/trunk/mcs/; revision=21634
* Page.cs: removed a couple of MonoTODO on methods we're not gonna
implement. Applied patch from Jan Jaros ([email protected]) to
ensure that Unload event is raised. Fixes bug #52555.
svn path=/trunk/mcs/; revision=21632
* ChangeLog:
Start ChangeLog in this directory
* DynamicAssembly.cs ObjectList.cs ObjectReader.cs ObjectSet.cs
* ObjectSources.cs PersistenceError.cs PersistenceOptions.cs:
More implementation of these classes
svn path=/trunk/mcs/; revision=21615
* EvidenceTest.cs: Upgraded tests to NUnit2. Added new tests.
* StrongNameTest.cs: Class now inherits from Assertion.
svn path=/trunk/mcs/; revision=21613
* expression.cs (BetterConversion): Prefer int -> uint
over int -> ulong (csc's behaviour). This fixed bug #52046.
svn path=/trunk/mcs/; revision=21607
* decl.cs (MemberCache.FindMembers): now returns a
MemberInfo [].
* typemanager.cs: In general, go with with ^^.
(CopyNewMethods): take an IList.
(RealMemberLookup): Only allocate an arraylist
if we copy from two sets of methods.
This change basically does two things:
1) Fewer array lists allocated due to CopyNewMethods.
2) the explicit cast in MemberList costed ALOT.
svn path=/trunk/mcs/; revision=21601
* cs-tokenizer.cs (consume_identifier) driver.cs: Cache identifiers in
a hashtable to avoid needless string allocations when an identifier is
used more than once (the common case).
svn path=/trunk/mcs/; revision=21596
* pending.cs: MS's TypeBuilder.GetInterfaces ()
is broken, it will not return anything. So, we
have to use the information we have in mcs to
do the task.
* typemanager.cs: Add a cache for GetInterfaces,
since this will now be used more often (due to ^^)
(GetExplicitInterfaces) New method that gets the
declared, not effective, interfaces on a type
builder (eg, if you have interface IFoo, interface
IBar, Foo : IFoo, Bar : Foo, IBar, GetExplInt (Bar) ==
{ IBar }.
This patch makes MCS able to bootstrap itself on
Windows again.
svn path=/trunk/mcs/; revision=21589
* ServicePointManagerTest.cs: Use the nunit v2 paradigm, and stop this
test from outputting its debug info with WriteLines.
* ServicePointTest.cs: Make sure MaxServicePoints weren't set to some
other limit in another test or whatever. Suppress debug output.
svn path=/trunk/mcs/; revision=21585
* expression.cs: fix the error from cs0121-2.cs
(a parent interface has two child interfaces that
have a function with the same name and 0 params
and the function is called through the parent).
svn path=/trunk/mcs/; revision=21572
* ServiceContainerTest.cs: Eliminate unused variable that was giving us
a warning. Also did a little nunit version 2 house cleaning.
svn path=/trunk/mcs/; revision=21570
* System_test.dll.sources: added SocketTest.cs
* System.Net.Sockets/Socket.cs: fix for several asynchronous methods to
delay exception throwing.
* Test/System.Net.Sockets/SocketTest.cs: new test for asynchronous
connection failure.
Test+fix by Brad FitzpatrickBrad Fitzpatrick <[email protected]>.
svn path=/trunk/mcs/; revision=21562
* bug-42136.cs: invalid liveness analyse for locals
used in try and catch block. (exceptions not counted
for in the liveness analyse)
* Makefile.am: added bug-42136.cs
svn path=/trunk/mono/; revision=21557
* DnsTest.cs: Update with new IP address for www.go-mono.com and make
test failure output more informative. All Tests pass for me on
.NET 1.1.
* HttpWebRequestTest.cs: Get rid of WriteLines and use Asserts to make
it a proper unit test.
svn path=/trunk/mcs/; revision=21556
* DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
AcceptChanges in Update when a CommandBuilder is used and
correctly fill information about primary keys in FillSchema.
Patch from Sergei Malinin ([email protected]).
svn path=/trunk/mcs/; revision=21553
* DiagnosticsConfigurationHandlerTest.cs: Inherit from Assertion to
make it a bit simpler.
* SwitchesTest.cs: Make the tests pass on .NET 1.1
svn path=/trunk/mcs/; revision=21551
* System_test.dll.config: Nunit loads configs with the same name as the
test assembly. This is for the Swithes test.
svn path=/trunk/mcs/; revision=21550
* WindowsIdentityTest.cs: New. Partial unit test for WindowsIdentity.
* WindowsPrincipalTest.cs: New. Partial unit test for WindowsPrincipal.
svn path=/trunk/mcs/; revision=21545
* PrincipalPolicy.cs: Added missing [Serializable] to enum.
* WindowsAccountType.cs: Added missing [Serializable] to enum.
* WindowsBuiltInRole.cs: Added missing [Serializable] to enum.
* WindowsIdentity.cs: Updated to match the unit tests.
* WindowsPrincipal.cs: Return false for a null role.
svn path=/trunk/mcs/; revision=21544
* EnvironmentPermission.cs: Fixed return value to match unit tests.
* EnvironmentPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* FileDialogPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* FileIOPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* IsolatedStorageFilePermissionAttribute.cs: Implemented
CreatePermission method. Updated AttributeUsage using 1.2 documentation.
* IsolatedStoragePermissionAttribute.cs: Updated AttributeUsage using
1.2 documentation.
* PermissionSetAttribute.cs: Prepared CreatePermissionSet. Updated
AttributeUsage using 1.2 documentation.
* PrincipalPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Fixed AttributeUsage (more limited than others).
* PublisherIdentityPermissionAttribute.cs: Updated CreatePermission to
throw ArgumentException for Unrestricted permission. Updated
AttributeUsage using 1.2 documentation.
* ReflectionPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* RegistryPermission.cs: Implemented IsUnrestricted for unit tests.
* RegistryPermissionAttribute.cs: Implemented CreatePermission method.
Updated AttributeUsage using 1.2 documentation.
* SecurityAttribute.cs: m_Action is now assigned in constructor.
* SecurityPermission.cs: Completed class.
* SecurityPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Added missing [Serializable] attribute and
UnmanagedCode property. Changed -= to &= to preserve flags (e.g.
setting a flags to false more than one time).
* SecurityPermissionFlag.cs: Cleanup unused XML tags.
* SiteIdentityPermission.cs: Fixed exception for constructor and Site
property to match unit tests.
* SiteIdentityPermissionAttribute.cs: Updated CreatePermission for
Unrestricted permission. Updated AttributeUsage using 1.2 documentation.
* StrongNameIdentityPermission.cs: Fixed default values for Name and
Version to match unit tests.
* StrongNamePermissionAttribute.cs: Updated CreatePermission to
throw ArgumentException for Unrestricted permission. Updated
AttributeUsage using 1.2 documentation.
* UIPermission.cs: Fixed default values in constructor to match unit
tests.
* UIPermissionAttribute.cs: Updated CreatePermission to throw
ArgumentException for Unrestricted permission. Fixed strange case for
null URL. Updated AttributeUsage using 1.2 documentation.
* UrlIdentityPermission.cs: Url property now throws an exception to
match unit tests.
* UrlIdentityPermissionAttribute.cs: Updated CreatePermission to throw
ArgumentException for Unrestricted permission. Updated AttributeUsage
using 1.2 documentation.
* ZoneIdentityPermissionAttribute.cs: Updated CreatePermission to throw
ArgumentException for Unrestricted permission. Updated AttributeUsage
using 1.2 documentation.
svn path=/trunk/mcs/; revision=21543
* EnvironmentPermissionAttributeTest.cs: Updated to test default
properties, Actions, get for All (1.1) and Unrestricted.
* FileDialogPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* FileIOPermissionAttributeTest.cs: Updated to test default
properties, Actions, get for All (1.1) and Unrestricted.
* IsolatedStorageFilePermissionAttributeTest.cs: New.
* PermissionSetAttributeTest.cs: New.
* PrincipalPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* PublisherIdentityPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* ReflectionPermissionAttributeTest.cs: Updated to test default
properties, Actions and Unrestricted.
* RegistryPermissionAttributeTest.cs: New.
* SecurityPermissionAttributeTest.cs: New.
* SiteIdentityPermissionAttributeTest.cs: New.
* StrongNameIdentityPermissionAttributeTest.cs: New.
* StrongNamePublicKeyBlobTest.cs: Converted to NUnit2 format.
* UIPermissionAttributeTest.cs: New.
* UrlIdentityPermissionAttributeTest.cs: New.
* ZoneIdentityPermissionAttributeTest.cs: New.
svn path=/trunk/mcs/; revision=21542
* MethodBase.cs: Internal method to get param count (this
way we can get the info for the ilgen without creating
an array, if we override the method).
svn path=/trunk/mcs/; revision=21537
* System.Data.SqlXml.dll.sources:
Remove XmlDataSourceResolver as it is broken.
* System.Data.Mapping/DataSource.cs:
Fix property name
* System.Xml.Query/XmlViewSchemaDictionary.cs:
Remove "private" from some properties
svn path=/trunk/mcs/; revision=21532
* BinaryWriter.cs: use one encoding buffer for writing
strings rather than allocting one/string. HUGE perf
boost when writing many strings.
svn path=/trunk/mcs/; revision=21518
* MonoSymbolTable.cs: Done make the MethodIndexEntry
part of the method entry class, because it just
takes up extra space.
svn path=/trunk/mcs/; revision=21515
* typemanager.cs (LookupType):
- Use a static char [], because split takes
a param array for args, so it was allocating
every time.
- Do not store true in a hashtable, it boxes.
svn path=/trunk/mcs/; revision=21507
* ArrayList.cs: Add class `SimpleEnumerator' this handles the
.GetEnumerator We are able to remove fields by doing this, the
sizeof the simple version is 75% of that of the complex one, so we
get a pretty nice saving.
svn path=/trunk/mcs/; revision=21506
* XslDecimalFormat.cs : implemented format-number() other than number
grouping.
* XsltCompiledContext.cs : Modified XsltFormatNumber.Evaluate() to
catch ArgumentException which will be thrown by formatting process.
svn path=/trunk/mcs/; revision=21500
* WindowsIdentity.cs: Added ISerializable (for 1.1+) and default
implementation for constructors/properties.
* WindowsImpersonationContext.cs: Added MonoTODO on class and
NotImplementedException in constructor.
* WindowsPrincipal.cs: New. Basic implementation (mostly a stub).
svn path=/trunk/mcs/; revision=21498
* modifiers.cs: Add a new set of flags for the
flags allowed on explicit interface impls.
* cs-parser.jay: catch the use of modifiers in
interfaces correctly.
* class.cs: catch private void IFoo.Blah ().
All related to bug #50572.
svn path=/trunk/mcs/; revision=21496
* decl.cs: Rewrite the consistant accessability checking.
Accessability is not linear, it must be implemented in
a tableish way. Fixes#49704.
svn path=/trunk/mcs/; revision=21495
* Path.cs : Fixed GetFullPath() (and CanonicalizePath()),
HasExtension(), GetPathRoot() and IsPathRooted() to fit with tests.
svn path=/trunk/mcs/; revision=21489
to avoid calling the Elements property repeatedly.
* graphics-path.c (GdipAddPathLine): Use append instead of
append_point.
(GdipTransformPath): Remember to reset the points after the
transformation.
svn path=/trunk/mcs/; revision=21485
* Multiplexer.cs : Now we use managed XSLT engine by default.
Added obsolete attribute to Transform()s without xmlresolver.
svn path=/trunk/mcs/; revision=21484
* Type.cs (IsNotPublic): One would normally assume that
IsNotPublic == !IsPublic, but this is not the case (note to MS,
make better names ;-). Fixes#52547, `Type.IsNotPublic not
correct for Nested types'
svn path=/trunk/mcs/; revision=21482
that the code was incorrect before. After Christmas, I'm gonna
hook up the GraphicsPath code and work on testing and making sure
this stuff is correct. I'm pretty sure, in a first pass, there are
lots of littles bugs waiting to be fixed.
* graphics-path.c (new_point): Removed, we now pack the point
inside the append functions.
(append): New function that takes the X, Y coordinates directly.
(append_bezier): Take coordinates instead of GpPointFs. Use the
new append function instead of append_point.
svn path=/trunk/mcs/; revision=21481
* jscript-lexer-parser.g: keep track of parent reference for
IDENTIFIER, STRING_LITERAL.
* expression.cs: Added 'binding' field. Added 'parent' parameter
to constructor. Now we emit the proper code for the identifier.
* VariableStatement.cs: updated to field names instead of the old
property's name.
* VariableDeclaration.cs: Added class Decl, it constains the
references to the static field or LocalBuilder that are created
when a declaration is emitted. Deleted unuseful properties (Id,
InitValue, Type).
* SymbolTable.cs: Deleted Retrieve method. Contains now returns an
object instead of a boolean.
* StringLiteral.cs: Deleted unuseful properties. Use ig instead of ec.ig.
* IdentificationTable.cs: Deleted Retrieve method. Contains method
now return an object instead of a boolean, that reference is the
binding associated with the identifier being searched.
svn path=/trunk/mcs/; revision=21478
* Array.cs (CreateInstance): Throw NullRef exception like .NET 1.1,
even though docs say it should be an ArgumentNull. Sent email to MS
about this "bug".
svn path=/trunk/mcs/; revision=21475
* driver.cs : added stubs for options "/netcf /sdkpath:path"
* namespace.cs, decl.cs, rootcontext.cs : use hashtable to avoid duplicate importation of namespaces
(especially between command-line option /imports and explicit Import clauses), what manifested itself as
error messages for ambiguous names that where in truth identical
* statement.cs : trying to fix the 'exit' statement DoEmit, for "Exit Sub"
* mb-parser.jay, mb-tokenizer.cs : initial support for type_characters (dim az$ = dim az as string)
svn path=/trunk/mcs/; revision=21473
* class.cs: Ignore static void main in DLLs.
* rootcontext.cs: Handle the target type here,
since we are have to access it from class.cs
* driver.cs: account for the above.
svn path=/trunk/mcs/; revision=21467
try to attach the object identity to the return message.
* AppDomainLevelActivator.cs: Catch exceptions when execution remote
activation.
* ConstructionLevelActivator.cs: Do not store next activator. This is
always the last one.
* ContextLevelActivator.cs: Renamed _next member to match MS.NET
implementation.
svn path=/trunk/mcs/; revision=21451
_size, _items and _version, to make it compatible with MS.NET (needed for
remoting interoperability). This fixes bug #52438.
svn path=/trunk/mcs/; revision=21450
for remoting interoperability): set a default value for hresult, added
initialization of class_name, serialization field RemoteStackTrace must
be RemoteStackTraceString, added ser. field ExceptionMethod.
* IndexOutOfRangeException.cs: Added serialization constructor.
svn path=/trunk/mcs/; revision=21449
* FileStream.cs: (.ctor) do not set handle
in object until after it is validated via
GetFileType so finalizer doesn't see bad handles
svn path=/trunk/mcs/; revision=21437
* threads.c, timed-thread.c, timed-thread.h: use mach
semaphores on Darwin (MacOSX) since the posix ones
are mostly broken there (threads are not created suspended
and they can start executing before they are fully initialized
like in tests/thread-static.cs).
svn path=/trunk/mono/; revision=21432
* assembly.h assembly.c (mono_assembly_loaded): New public function to
search the list of loaded assemblies.
* reflection.c (mono_reflection_type_from_name): Use
mono_assembly_loaded instead of mono_image_loaded.
* reflection.c: Fix warnings.
svn path=/trunk/mono/; revision=21430
* test-221.cs: Add some regression tests relating to
52408 (these dont test the actual bug, but regressions I
created while writing the code for it).
svn path=/trunk/mcs/; revision=21427
* mini.h, mini-ppc.c, mini-ppc.h: small cleanups and
supports for cond branches that overflow the immediate
overflow offset. mcs can compile simple programs.
svn path=/trunk/mono/; revision=21401
up to the GDI+ implementation.
(RotateTransform): Uncommented.
* gdipFunctions.cs (DrawArc, DrawArcI): Import from
libgdiplus.so.dll.
* graphics.c (C1): Made it more precise.
(make_pie): Fixed.
(make_arc): New helper function for getting the right Bezier for an
elliptical arc, based on an algorithm found in the comp.text.pdf FAQ.
svn path=/trunk/mcs/; revision=21396
* MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
user supplied no parameter info, but not when the user supplied an
empty parameter list. This fixes IKVM.
svn path=/trunk/mcs/; revision=21390
* image.h (MonoImage): Add a new 'dynamic' field to denote that the image
is dynamic. This is needed since an assembly can contain both dynamic and
non-dynamic images.
* class.c loader.c metadata.c object.c: Use image->dynamic instead of
assembly->dynamic.
* icall.c reflection.c: Add new AssemblyBuilder:AddModule icall.
* reflection.h (MonoReflectionAssemblyBuilder): Add 'loaded_modules' field
to store modules loaded using AddModule.
* reflection.c (mono_image_fill_file_table): Generalize this so it works
on Modules.
* reflection.c (mono_image_fill_export_table_from_class): New helper function.
* reflection.c (mono_image_fill_export_table_from_module): New function to
fill out the EXPORTEDTYPES table from a module.
* reflection.c (mono_image_emit_manifest): Refactor manifest creation code
into a separate function. Also handle loaded non-dynamic modules.
* reflection.c (mono_image_basic_init): Fix memory allocation.
* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.
* assembly.c (mono_assembly_load_references): Make this public.
svn path=/trunk/mono/; revision=21383
* CompareInfo.cs: Replace blah == "" with blah.Length == 0.
MUCH faster. Note, we dont need to check for nulls, because
the properties were used in other places.
svn path=/trunk/mcs/; revision=21382
* XslLiteralElement.cs : considering xsl:imports, we have to evaluate
namespace aliases at the first evaluation.
* XslNumber.cs : Fixed incorrect "any" level numbering (and
optimization), format string handling, grouping-separator.
svn path=/trunk/mcs/; revision=21381
* XslStylesheet.cs : considering xsl:imports, we can't handle namespace
aliases at compilation time, so evaluate at the first run-time.
svn path=/trunk/mcs/; revision=21380
* class.cs (TypeContainer.DefineMembers): Don't do the CS0649 check here.
(FieldBase.IsAssigned): Removed this field.
(FieldBase.SetAssigned): New public method.
(TypeContainer.Emit): Make the CS0169/CS0649 checks actually work.
svn path=/trunk/mcs/; revision=21378
* expression.cs (LocalVariableReference.DoResolve): Don't set
`vi.Used' if we're called from DoResolveLValue().
* statement.cs (Block.DoResolve): `ec.DoEndFlowBranching()' now
returns the usage vector it just merged into the current one -
pass this one to UsageWarning().
(Block.UsageWarning): Take the `FlowBranching.UsageVector' instead
of the `EmitContext', don't call this recursively on our children.
svn path=/trunk/mcs/; revision=21376
* typemanager.cs (TypeManager.IsEqualGenericType): New public
static method; see documentation in the method.
(TypeManager.IsSubclassOrNestedChild): Allow IsEqualGenericType().
svn path=/trunk/mcs/; revision=21372
* class.c (mono_class_initialize_generic): Made this static, take
a `MonoGenericInst *' instead of a `MonoClass *'.
(mono_class_from_generic): Call mono_class_initialize_generic()
unless we're already initialized or being called from
do_mono_metadata_parse_generic_inst().
* class.h (MonoGenericInst): Added `initialized' and
`init_pending' flags.
* metadata.c (do_mono_metadata_parse_generic_inst): Don't call
`mono_class_init (gklass)' or mono_class_initialize_generic()
here; set `generic_inst->init_pending' while parsing the
`type_argv'.
svn path=/trunk/mono/; revision=21364
* embed.h, main.c: new files to enable embedding
the interpreter
* interp.c: make main callable from main.c
rearrange main for embedding
* Makefile.am: changes now most code is in a library
svn path=/trunk/mono/; revision=21361
* convert.cs (Convert.ImplicitReferenceConversion,
Convert.ImplicitReferenceConversionExists): Add support for
generic type declarations; see gen-36.cs.
svn path=/trunk/mcs/; revision=21347
* Mono.Data.PostgreSqlClient/PgSqlPermission.cs:
Change constructor so it does not use base
constructor without arguments. That constructor
becomes obsolete in .NET 1.2, but it doesn't hurt
to do it in other builds too.
svn path=/trunk/mcs/; revision=21344
* Mono.Data.PostgreSqlClient/PgSqlPermission.cs:
Change constructor so it does not use base
constructor without arguments. That constructor
becomes obsolete in .NET 1.2, but it doesn't hurt
to do it in other builds too.
svn path=/trunk/mcs/; revision=21342
* String.cs: Added Compare shortcut for length==0.
2003-12-19 Dick Porter <[email protected]>
* CompareInfo.cs: Added assorted shortcuts when comparing empty
strings. Fixed offset and length range checks to flag when <0.
Broke test that offset >= string length to match actual ms
behaviour (sigh.) Fixes bug 52310.
2003-12-19 Dick Porter <[email protected]>
* StringTest.cs: Added Compare test for length==0.
2003-12-19 Dick Porter <[email protected]>
* CompareInfoTest.cs: Added some Compare tests
svn path=/trunk/mcs/; revision=21341
* icall.c (ves_icall_MonoField_GetValueInternal): Do not run the class
constructor when accessing literal fields.
svn path=/trunk/mono/; revision=21340
* PathTest.cs: Make tests pass on .NET 1.1. Probably still
need to handle different directory and volume separators for
other OS's.
svn path=/trunk/mcs/; revision=21338
* class.cs : case-sensitiveness when tracking the entry-point removed
* driver.cs : IsSWFApp would try to pass a null 'mainclass' to the hashtable indexer, throwing an exception
(even for correct programs because of the bug above). Now this condition is tested before
svn path=/trunk/mcs/; revision=21332
* support.cs (CharArrayHashtable): New helper class.
* cs-tokenizer.cs: Store keywords in a hashtable indexed by
char arrays, not strings, so we can avoid creating a string in
consume_identifier if the identifier is a keyword.
svn path=/trunk/mcs/; revision=21324
* ILGenerator.cs: Applied patch from Ben Maurer
([email protected]). Allocate arrays holding label data
lazily and reduce their size.
svn path=/trunk/mcs/; revision=21321
* DataGridColumn.cs: stylized LoadViewState.
* DataGridColumnCollection.cs: when TrackViewState is called, also
call it on all the existing columns. Fixes bug #52334.
svn path=/trunk/mcs/; revision=21315
* Compiler.cs, XslTransformProcessor.cs :
Use XmlValidatingReader to support id() for external stylesheets.
* XslKey.cs, XsltCompiledContext.cs :
to evaluate MatchPattern and UsePattern, SetContext() is required.
* XslTemplate.cs : Forgot to commit. Change is below(12/16).
svn path=/trunk/mcs/; revision=21312
* DTMXPathDocumentBuilder.cs : Removed supportsID argument and always
assumes to support IDs when specified XmlValidatingReader.
Quick fix for NullReferenceException when type was null.
svn path=/trunk/mcs/; revision=21311
* XsdValidatingReader.cs : When source Reader has schema context, it
should return source's schema type if this class cannot provide it.
svn path=/trunk/mcs/; revision=21308
* jscript-lexer-parser.g: Keep track of parent for numeric_literal.
* VariableDeclaration.cs: now I handle initialization (ex. var x =
2; or function f () { var x = 4; }) at global scope or at
function's body.
* Literal.cs: Added parent param to NumericLiteral constructor.
* FunctionDeclaration.cs: Added Ret opcode for all function declaration bodies.
svn path=/trunk/mcs/; revision=21306
* ChallengeResponse.cs: Sorry I must have a profesionnal problem with
weak passwords ;-). Anyway I corrected the CR for null passwords (which
would produce a weak key for the first DES key) and added clean up :).
However it (null password) doesn't work for SQL Server authentication ?
svn path=/trunk/mcs/; revision=21300
for Daniel Morgan <[email protected]>
* Makefile: added Mono.Security.dll as a reference so we can get
NTLM support via Mono.Security.Protocol.Ntlm
svn path=/trunk/mcs/; revision=21298
* X509SpcTest.cs: Now use Path.GetFullPath for all filenames as
X509Certificate.CreateFromSignedFile sometimes (like on Nick's
computer) didn't "see" the file and returned an empty certificate.
svn path=/trunk/mcs/; revision=21295
* LosFormatter.cs: new ctor for 1.1. The default ctor is public.
* Page.cs: added ViewStateUserKey and made RegisterclientScriptFile
internal.
* PageParser.cs: the ctor is public.
* PartialCachingAttribute.cs: added new ctor and Shared property.
svn path=/trunk/mcs/; revision=21290
* System.Xml_test.dll.sources : Added XmlSchemaBuiltInDatatypeTests.cs
* Added XmlSchemaBuiltInDatatypeTests.cs : Currently fails due to
bug 52274.
This tests the changes to BuiltInDatatype that I checked in this morning.
svn path=/trunk/mcs/; revision=21288
* System.Web.dll.sources: added CustomErrorsConfigHandler.cs
* System.Web/HttpContext.cs: implemented IsCustomErrorEnabled and
IsDebuggingEnabled. Added internal ErrorPage property.
* System.Web/HttpRuntime.cs: on error, check if we have a custom error
page enabled to handle it and redirect.
* System.Web/HttpResponse.cs: added RedirectCustomError (), which
actually does the redirection to the error page.
* System.Web.Compilation/PageCompiler.cs: assign the ErrorPage property
if provided.
* System.Web.UI/Page.cs: assign the ErrorPage to the context if we get
an exception when processing the page which only calls Unload.
* System.Web.UI/PageParser.cs: handle ErrorPage.
* System.Web.Configuration/CustomErrorsConfigHandler.cs: handle
<system.web><customErrors />..
Closes bug #51979.
svn path=/trunk/mcs/; revision=21286
* PathTest.cs :
Added more GetPathRoot and GetFullPath tests for windows.
Fixed incorrectly specified arguments in the previous patch.
svn path=/trunk/mcs/; revision=21283
* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.
* reflection.c (assembly_add_resource_manifest): New function to fill
the MANIFESTRESOURCE table.
* reflection.c (mono_image_build_metadata): Emit MANIFESTRESOURCE table.
* reflection.h: Update to changes in class layout.
svn path=/trunk/mono/; revision=21281
* AssemblyBuilder.cs (MonoResource): New 'offset' field used by the
runtime.
* ModuleBuilder: Implement DefineResource.
svn path=/trunk/mcs/; revision=21279
* String.cs: Fix StartsWith and EndsWith when the argument is the
empty string. Fixes bug 52283.
2003-12-17 Dick Porter <[email protected]>
* StringTest.cs: Add a String.Empty test to EndsWith. Changed the
StartsWith and EndsWith tests to use the attribute declaration.
svn path=/trunk/mcs/; revision=21277
* icall.c (ves_icall_System_Environment_get_HasShutdownStarted):
Reenable call to mono_runtime_is_shutting_down ().
* appdomain.c (mono_runtime_is_shutting_down): New helper function to
determine if the runtime is shutting down.
svn path=/trunk/mono/; revision=21273
* mini.h, mini.c, mini-ppc.c, mini-sparc.c, mini-x86.c:
move to arch-specific code the choice of arch-specific
intrinsics (from Laurent Morichetti ([email protected])).
* mini.c: ensure emulation calls will not interleave
with other calls.
svn path=/trunk/mono/; revision=21271
* tramp-ppc.c, basic-calls.cs: rework trampolines so that
the magic trampoline stack frame is dropped before executing
the new method.
svn path=/trunk/mono/; revision=21269
* BuiltInDatatype.cs : Added whitespace=collapse to data types
such as date, dateTime, .... gDay. I think I have them all now.
I can't think of a good way of writing test cases for this at the moment, sorry.
svn path=/trunk/mcs/; revision=21268
* DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
they take shape of xml. This fixed bug #52240
svn path=/trunk/mcs/; revision=21265
* FileStreamTest.cs: Ok, it wasn't a 1.1 thing. The test simply would
fail randomly because location 12 was sometimes a file handle.
svn path=/trunk/mcs/; revision=21263
* icall.c (ves_icall_System_Reflection_Assembly_GetManifestResourceInternal): Add support for loading resources from modules.
(ves_icall_System_Environment_get_HasShutdownStarted): New icall.
svn path=/trunk/mono/; revision=21254
already encoded by the MimeParameterWriter.
* MatchAttribute.cs: Set default value for Group to 1.
* TextReturnReader.cs: Implemented. With this it is possible to create an
XML web service that parse the contents of a web page.
svn path=/trunk/mcs/; revision=21248
* ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
are not [Serializable]. Fixes bug #52244.
svn path=/trunk/mcs/; revision=21246
to check if a type is primitive, instead of Type.IsPrimitive, since CLR
primitive types are not the same as XML primitive types. Patch proposed
by Mordechai Taitelman. This fixes bug #52228.
* XmlSerializationWriter.cs: Fixes in WriteNullTagEncoded and WriteNullTagLiteral.
svn path=/trunk/mcs/; revision=21244
* Emitter.cs, HtmlEmitter.cs, XmlWriterEmitter.cs :
Added WriteWhitespace().
* GenericOutputter.cs, XslTemplate.cs : Call above.
* XslTransformProcessor.cs : Changed NodesetStack to ArrayList since
CurrentNode in for-each context have to be pulled at evaluation.
svn path=/trunk/mcs/; revision=21236
Both methods add additional empty table row in the head of each item table
when the variable named isTable equals true (happenes with the default instantiation
of RepeatInfo).
These additional rows should be added when isTable equals false.
svn path=/trunk/mcs/; revision=21234
* Makefile.am: In a Makefile.am, comments are started with `#' and
not with `dnl' - I must have been an idiot ...
svn path=/trunk/mono/; revision=21232
* statement.cs (LocalInfo.Assigned): Removed this property.
(LocalInfo.Flags): Removed `Assigned'.
(LocalInfo.IsAssigned): New public method; takes the EmitContext
and uses flow analysis.
(Block.UsageWarning): Made this method private.
(Block.Resolve): Call UsageWarning() if appropriate.
* expression.cs (LocalVariableReference.DoResolve): Always set
LocalInfo.Used here.
svn path=/trunk/mcs/; revision=21231
* shared.c: (_wapi_shm_open) make scratch file
not have to immediately regrow to avoid remaps
(HPUX can't cope with these).
(_wapi_shm_attach) use actual size of file
to set scratch data_len for the creating process.
* handles.c: (_wapi_handle_new_internal) make
sure mutex & cond var are initialized even for
non process shared ones.
(_wapi_handle_unref) always call destroy
routines on mutex & cond var
svn path=/trunk/mono/; revision=21227
* Iterator.cs : On its iteration, moving Current must not affect to
MoveNext(). To assure this, Current must be a clone of navigator.
Removed unused code.
svn path=/trunk/mcs/; revision=21225
* XsltCompiledContext.cs : Temporarily allow incorrectly resolved
function for bugzilla #52144. It should be reverted soon.
svn path=/trunk/mcs/; revision=21222
* .cvsignore: added browscap.ini
* Makefile.am: handle browscap.ini.gz
* browscap.ini.gz: browser capabilities and detection data by Gary J.
Keyth from http://www.GaryKeith.com/browsers.
svn path=/trunk/mono/; revision=21218
* Makefile: added browsercaps-updater directory.
* browsercaps-updater/ChangeLog:
* browsercaps-updater/Makefile:
* browsercaps-updater/browsercaps-updater.exe.sources:
* browsercaps-updater/BrowserCapsUpdater.cs: new tool to update
browscap.ini file. For those users who just can't wait for the next
mono release.
* corcompare/mono-api-diff.cs:
* corcompare/mono-api-info.cs: fix comment and remove WriteLine.
svn path=/trunk/mcs/; revision=21216
* System.Web.dll.sources: added CapabilitiesLoader.cs
* System.Web/CapabilitiesLoader.cs: loads browser detection and
capabilities data from browscap.ini file by Gary J. Keith.
* System.Web/HttpBrowserCapabilities.cs: removed almost all TODOs.
* System.Web/HttpRequest.cs: fixed Browser property.
* System.Web.Configuration/HttpCapabilitiesBase.cs: use the new loader.
svn path=/trunk/mcs/; revision=21214
* ChallengeResponseTest.cs: Added the sample from L0phtCrack for a
small password (WELCOME).
* Type3MessageTest.cs: Added a new test for small password (smaller
than 8 characters).
svn path=/trunk/mcs/; revision=21208
* ChallengeResponse.cs: Pre-calculated second part of the LM hash for
small password. Otherwise we get a DES weak key - which isn't
supported (exception) by the framework.
svn path=/trunk/mcs/; revision=21207
* Applied patch from Alberto Fernandez with the following changes...
* Added Shorcut to MenuItem.
* Changed demo.cs to work with new FileDialog.
* Created dialogs (Basic funcionality).
* Added new:
Timer.cs (?)
* Removed function ControlLocationChanged
(the code has been moved to Control.OnLocationChanged, and now works from
child Control, instead from parent.)
* MenuItem
* Menu
* ContextMenu
* MainMenu
* Fixed Control.Size bug
* New Samples:
ButtonEvents2.cs
ChangeParentDemo.cs (works with Gtk-Warnings)
LabelClickDemo.cs (doesn't work for now)
Menu.cs
* Added new:
CommonDialog.cs
OpenFileDialog.cs
SaveFileDialog.cs
FolderBrowserDialog.cs
PageSetupDialog.cs
PrintDialog.cs
* Changed:
FileDialog.cs (now Inherits from CommonDialog, and is an abstract class).
* Control.Parent works now.
* Added - copied from current System.Windows.Forms (wine based):
ApplicationContext.cs
BindingContext.cs
BoundsSpecified.cs
ComVisible.cs
ControlBindingsCollection.cs
ControlStyles.cs
CreateParams.cs
DragAction.cs
DragDropEffects.cs
DragEventArgs.cs
DragEventHandler.cs
DrawItemEventHandler.cs
FlatStyle.cs
FormBorderStyle.cs
FormStartPosition.cs
FormWindowState.cs
GiveFeedbackEventArgs.cs
GiveFeedbackEventHandler.cs
HelpEventArgs.cs
HelpEventHandler.cs
IDataObject.cs
ImageList.cs
ImeMode.cs
IMessageFilter.cs
IWin32Window.cs
InputLanguageChangedEventArgs.cs
InputLanguageChangedEventHandler.cs
InputLanguageChangingEventArgs.cs
InputLanguageChangingEventHandler.cs
InputLanguageCollection.cs
InputLanguage.cs
InvalidateEventArgs.cs
InvalidateEventHandler.cs
LayoutEventHandler.cs
LeftRightAlignment.cs
MdiLayout.cs
MeasureItemEventArgs.cs
MeasureItemEventHandler.cs
MenuMerge.cs
Message.cs
MouseEventHandler.cs
QueryAccessibilityHelpEventArgs.cs
QueryAccessibilityHelpEventHandler.cs
QueryContinueDragEventArgs.cs
QueryContinueDragEventHandler.cs
SizeGripStyle.cs
UICues.cs
UICuesEventArgs.cs
UICuesEventHandler.cs
* Added (new, incomplete):
Cursor.cs
Menu.cs
ContextMenu.cs
* Changed (to be compatible, now have empty methods):
MainMenu.cs
MenuItem.cs
* Added (provides static conversion methods):
SWFGtkConv.cs
* Work on:
Control.cs - Completed stub, connected some events.
Forms.cs - Completed stub.
Button.cs - Some methos overriden, some property changes have
to be aplied to the contained Gtk.Label (instead to the Gtk.Button)
* Others minor changes...
svn path=/trunk/mcs/; revision=21206
* CryptoConfig.cs: Now use internal Environment.GetMachineConfigPath()
to find machine.config. Initialization removed from static constructor
to speed up 98% of software that do not requires it.
svn path=/trunk/mcs/; revision=21198
Fixed bug when routing style is RequestElement.
Removed GetMethodFromAction. This is done now in the type stub.
Other minor fixes.
* Methods.cs, WebServiceHelper.cs: Faults are always serialized using
literal format. Removed unneded code.
svn path=/trunk/mcs/; revision=21197
* X509CapiTest.cs: New. Unit test for loading a certificate using a
(CryptoAPI) handle.
* X509SpcTest.cs: Changed the code signing sample for an assembly
signed by a valid (not a test) certificate so the test should run fine
under Windows (without changing any configuration).
svn path=/trunk/mcs/; revision=21187
* AuthenticodeDeformatter.cs: Now throw a COMException for invalid
signature. Added a SigningCertificate property (to be independant of
the certificate collection ordering).
svn path=/trunk/mcs/; revision=21184
* mini-ppc.c, cpu-g4.md, inssel-ppc.brg: fixed some opcode lengths
and integer to fp conversions. Added support for overflowing
arguments on the stack. Reserve a couple more registers as temps.
Added support for aot compilation (as output still needs to be
tweaked, though).
svn path=/trunk/mono/; revision=21183
Both methods add to rendered Header a colspan attribute according to the rows count.
After the change the colspan is added according to the columns count.
svn path=/trunk/mcs/; revision=21179
* daemon.c: change channel data structure so
input sources are removed from glib event loop
properly. xsp works better on Solaris and
fixes#51278
svn path=/trunk/mono/; revision=21178
* XmlUrlResolver.cs : GetEntity() does not return direct network stream
that may hold up connection. Now it reads up all the content stream.
svn path=/trunk/mcs/; revision=21173
* reflection.c (mono_image_add_decl_security): New function to emit
declarative security.
* reflection.h reflection.c: Add support for declarative security.
* appdomain.c (MONO_CORLIB_VERSION): Bump version number.
svn path=/trunk/mono/; revision=21168
In .NET if the checkbox is disabled ,its text appears disabled too.
In Mono the text appears enabled. the fix is in Render().
svn path=/trunk/mcs/; revision=21167
need to be derived types of the includer. This fixes bug #52152.
Added null check for Name property of XmlEnumAttribute. This fixes
bug #52155.
* XmlSerializationReader.cs: Fixed some error messages.
* XmlSerializationReaderInterpreter.cs: Check that the root element has
the correct local name and namespace. This fixes bug #52038.
Throw exception if enum value can't be parsed.
* XmlTypeMapping.cs: Don't try to parse numeric enum values. This fixes
bug #52041.
svn path=/trunk/mcs/; revision=21166
* MACAlgorithm.cs: Fixed difference between 1.0 and 1.1 framework.
The 1.0 framework is adding an additional padding block (empty)
to MAC when MACing an exact multiple of the TripleDES block size.
svn path=/trunk/mcs/; revision=21163
* SymmetricAlgorithm.cs: Fixed padding for None and Zeros modes. Unit
tests for padding modes are now in PaddingModeTest.cs.
svn path=/trunk/mcs/; revision=21162
* PaddingModeTest.cs: New. Unit tests to check every padding modes for
symmetric algorithms.
* MACTripleDESTest.cs: Updated unit tests for NUnit2 and to work for
both 1.0 and 1.1 framework.
svn path=/trunk/mcs/; revision=21160
* ProviderSectionHandler.cs: use XPath to get the providers to avoid
getting an exception when there's whitespace, comments... Patch by Marco
Canini <[email protected]>.
svn path=/trunk/mcs/; revision=21136
* Mono.Http.Modules/AuthenticationModule.cs:
* Mono.Http.Modules/BasicAuthenticationModule.cs:
* Mono.Http.Modules/DigestAuthenticationModule.cs: new modules to do
Basic and Digest authentication.
* samples/auth.xml: sample user/password file for the modules.
svn path=/trunk/mcs/; revision=21131
* AspGenerator.cs: ignore <tbody> when we're inside a server table and
fail when runat="server" is applied to <tbody> with a parse error
instead of waiting for a compilation error. Fixes bug #52157.
svn path=/trunk/mcs/; revision=21129
* BuiltInDatatype.cs : Added code to tell which facets were valid on
types derived from each basetype.
* XmlSchemaSimpleTypeRestriction.cs : Complain if an invalid facet
has been added to a restriction.
svn path=/trunk/mcs/; revision=21128
* System.Xml.Schema/XmlSchemaSimpleTypeRestriction.cs : Check that
min/max/lengths specified are integers. Also made some error messages more
useful.
* Test/System.Xml.Schema/XmlSchemaLengthFacetTests.cs : Tests for
non-integers failing as length facets, and changed the assert for the
correct type.
svn path=/trunk/mcs/; revision=21127
* SignedXmlTest.cs: Added a new unit test to verify both bugs (no
key assigned on verification and GetElementId) found when fixing
#52084.
svn path=/trunk/mcs/; revision=21125
* DateTime.cs: Be sure that the array access is not out of range
when looking for ArgumentOutOfRangeException in the year value.
svn path=/trunk/mcs/; revision=21124
* SignedXml.cs: Now load the public key when verifying (bug #52084)
and can find an element by it's Id when Id isn't defined in DTD or XSD.
svn path=/trunk/mcs/; revision=21123
* ChangeLog XmlCommand.cs XmlQueryArgumentList.cs
* XmlQueryCompileException.cs XmlQueryException.cs XsltProcessor.cs:
Move classes from the System.Data.SqlXml assembly where they
did not belong.
svn path=/trunk/mcs/; revision=21114
* statement.cs (Statement.DoEmit, Statement.Emit): Don't return
any value here; we're now using flow analysis to figure out
whether a statement/block returns a value.
svn path=/trunk/mcs/; revision=21104
* flowanalysis.cs (UsageVector.MergeFinallyOrigins): Made this
working again.
(FlowBranching.MergeFinally): Don't call
`branching.CheckOutParameters()' here, this is called in
MergeTopBlock().
(FlowBranchingException.AddSibling): Call MergeFinallyOrigins()
when adding the `finally' vector.
svn path=/trunk/mcs/; revision=21102
* appdomain.c verify.c: Moved corlib version checking into its own
function in appdomain.c since it needs to create vtables etc.
svn path=/trunk/mono/; revision=21097
* flowanalysis.cs
(UsageVector.MergeJumpOrigins, FlowBranching.Label): Make this
actually work and also fix#48962.
svn path=/trunk/mcs/; revision=21095
* decl.cs: Do not check System.Object for nested types,
since we know it does not have any. Big bang for buck:
BEFORE:
Run 1: 8.35 seconds
Run 2: 8.32 seconds
corlib: 17.99 seconds
AFTER:
Run 1: 8.17 seconds
Run 2: 8.17 seconds
corlib: 17.39 seconds
svn path=/trunk/mcs/; revision=21085
*Reorganized files with astyle utility.
*NpgsqlState.cs, NpgsqlClosedState.cs, NpgsqlReadState.cs, NpgsqlStartupState.cs:
Changed code to use a buffered stream on demand instead of using the cached BufferedStream. It as giving hangs.
*NpgsqlEventLog.cs:
Removed the obsolete warning from file and changed the signature of the method from public to private. This make the building cleaner.
*NpgsqlCommand.cs, NpgsqlDataReader.cs:
Added support for CloseCommand behavior.
*NpgsqlConnection.cs:
Removed the cached BufferedStream. Now only uses the raw Stream.
*NpgsqlParameter:
Fixed a small bug which prevented the parameter name and its value from being set if the value of parameter was null.
svn path=/trunk/mcs/; revision=21079
* inssel-ppc.brg, mini-ppc.h, mini-ppc.c: support for passing
structures by value. Misc fixes.
* objects.cs: more tests.
svn path=/trunk/mono/; revision=21078
* sbperf1,sbperf2.cs: Added performance test for StringBuilder
* Makefile.am: Added StringBuilder perf test to build
svn path=/trunk/mono/; revision=21077
without element name (use anyType in this case).
In GetOutMimeFormatter(), support MimeContentBinding.
* ProtocolImporter.cs, SoapProtocolImporter.cs: Improved error and warning
handling. Minor fixes.
* DiscoveryReference.cs: In FilenameFromUrl(), improved name generation
for some common cases.
svn path=/trunk/mcs/; revision=21073
* XmlCodeExporter.cs: Do not add XmlElement attributes if the member is Any.
* XmlSchemaImporter.cs: Implemented ImportAnyType(). Improved import of
encoded array type. Added support for enums with [Flags].
In encoded format, unqualified types are schema types by default.
svn path=/trunk/mcs/; revision=21072
* ScriptCompilerInfo.cs : SecurityManager.ResolvePolicy() was not
implemented yet.
* MSMslScriptManager.cs : modified generated assembly class to be unique
through running AppDomain.
* XsltCompiledContext.cs : XsltExtensionFunction.Invoke() has to cast
arguments to actual argument types. Bugzilla #51450 should be fixed.
svn path=/trunk/mcs/; revision=21063
* XmlAttributeCollection.cs,
XmlElement.cs : Fixed bug #51415.
When adding attribute to an element using Attributes, it failed.
svn path=/trunk/mcs/; revision=21059
* Control.cs: remove a few dangling ^M, don't set values for fields
that has the default value. If Visible is modified and we're tracking
viewstate, save and restore it. Fixes bug #48689.
svn path=/trunk/mcs/; revision=21056
* class.cs (FindMembers): Allocate arraylists on demand. Most of the
time we are returning 0 members, so we save alot here.
svn path=/trunk/mcs/; revision=21047
* XmlSchemaExporter.cs: In rpc format, make sure that parameters with the
same name have the same type.
* XmlSchemaImporter.cs: Support xml:lang.
* XmlSerializationReader.cs, XmlSerializationWriterInterpreter.cs:
fixed wrong namespace for the arrayType attribute.
svn path=/trunk/mcs/; revision=21034
* flowanalysis.cs (UsageVector.MergeResult): Renamed this back to
`MergeChild()', also just take the `FlowBranching' as argument;
call Merge() on it and return the result.
(FlowBranching.Merge): We don't need to do anything if we just
have one sibling.
svn path=/trunk/mcs/; revision=21029
* flowanalysis.cs: Use a list of `UsageVector's instead of storing
them in an `ArrayList' to reduce memory usage. Thanks to Ben
Maurer for this idea.
svn path=/trunk/mcs/; revision=21026
* flowanalysis.cs (MergeResult): This class is now gone; we now
use the `UsageVector' for this. The reason for this is that if a
branching just has one sibling, we don't need to "merge" them at
all - that's the next step to do.
(FlowBranching.Merge): We now return a `UsageVector' instead of a
`MergeResult'.
svn path=/trunk/mcs/; revision=21024
Reworked flow analyis and made it more precise and bug-free. The
most important change is that we're now using a special `Reachability'
class instead of having "magic" meanings of `FlowReturns'. I'll
do some more cleanups and optimizations and also add some more
documentation this week.
* flowanalysis.cs (Reachability): Added `Throws' and `Barrier';
largely reworked this class.
(FlowReturns): Removed `Unreachable' and `Exception'; we now use
the new `Reachability' class instead of having "magic" values here.
(FlowBranching): We're now using an instance of `Reachability'
instead of having separate `Returns', `Breaks' etc. fields.
* codegen.cs (EmitContext.EmitTopBlock): Set `has_ret' solely
based on flow analysis; ignore the return value of block.Emit ().
svn path=/trunk/mcs/; revision=21021
* XmlDocument.cs : Fixed ReadNode() to call AppendChild() to document
after setting all attribute nodes. Modified ReadNode() to handle
Depth comparison and error handling (!= to <). It allows MS's
SgmlReader bug that returns incorrect Depth.
svn path=/trunk/mcs/; revision=21014
* AssemblyBuilder.cs (GetFiles): Get rid of unneccessary override.
* AssemblyBuilder.cs (ImageRuntimeVersion): Add override to keep
signature compatibility with MS.NET.
* TypeBuilder.cs (MemberType): Get rid of unneccessary override.
svn path=/trunk/mcs/; revision=20998
* jscript-lexer-parser.g: added 'tokens { IN = "in"; INSTANCE_OF =
"instanceof"; }' in order to be able to parse both keywords. When
generating the parser, one warning about nondeterminism
(k==1:"in") is generated ignore it.
svn path=/trunk/mcs/; revision=20994
* Process.cs: if there's an error when starting the process, the 'pid'
field contains the GetLastError code. Use that for the Win32Exception.
svn path=/trunk/mcs/; revision=20976
Added some text constans for transport keys.
* HttpServerChannel.cs: Add SdlChannelSinkProvider to the default
sink provider chain. Removed unused ErrorMessage class.
svn path=/trunk/mcs/; revision=20966
* exceptions-x86.c, exceptions-ppc.c: allow the exception object
to be any type per the spec. Fix abnormal memory usage when
the same object is repeatedly thrown.
svn path=/trunk/mono/; revision=20934
* flowanalysis.cs (FlowBranching.MergeChild, MergeTopBlock):
Changed return type from `FlowReturns' to `Reachability'.
svn path=/trunk/mcs/; revision=20921
* flowanalysis.cs (FlowBranching.Reachability): New sealed class.
(FlowBranching.MergeResult): Replaced the `Returns', `Breaks' and
`Reachable' fields with a single `Reachability' one.
svn path=/trunk/mcs/; revision=20918
* class.cs (FindMembers): Remove foreach's.
Bootstrap times:
BEFORE
Run 1: 8.74 seconds
Run 2: 8.71 seconds
AFTER
Run 1: 8.64 seconds
Run 2: 8.58 seconds
svn path=/trunk/mcs/; revision=20916
* cs-parser.jay:
* gen-treedump.cs:
* statement.cs:
This patch does a few things:
1. EmptyStatement is now a singleton, so it is never reallocated.
2. All blah is EmptyStatement constructs have been changed to
blah == EmptyStatement.Value, which is much faster and valid
now that EmptyStatement is a singleton.
3. When resolving a block, rather than allocating a new array for
the non-empty statements, empty statements are replaced with
EmptyStatement.Value
4. Some recursive functions have been made non-recursive.
Mainly the performance impact is from (3), however (1) and (2) are needed for
this to work. (4) does not make a big difference in normal situations, however
it makes the profile look saner.
Bootstrap times:
BEFORE
9.25user 0.23system 0:10.28elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
9.34user 0.13system 0:10.23elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k
Total memory allocated: 56397 KB
AFTER
9.13user 0.09system 0:09.64elapsed 95%CPU (0avgtext+0avgdata 0maxresident)k
8.96user 0.24system 0:10.13elapsed 90%CPU (0avgtext+0avgdata 0maxresident)k
Total memory allocated: 55666 KB
svn path=/trunk/mcs/; revision=20915
* support.cs: Rewrite DoubleHash to use its own impl. Is faster
than the hashtable in a hashtable version
* decl.cs: Right now, whenever we try to lookup a type inside a namespace,
we always end up concating a string. This results in a huge perf
loss, because many strings have to be tracked by the GC. In this
patch, we first use a hashtable that works with two keys, so that
the strings do not need to be concat'ed.
svn path=/trunk/mcs/; revision=20914
* generics.cs (Constraints.Types): Removed.
(Constraints.Resolve): Just resolve everything to TypeExpr's, not
to Type's.
(Constraints.ResolveTypes): New public method; resolves the
TypeExpr's to Type's.
(TypeParameter.Define): TypeBuilder.DefineGenericParameter() no
longer takes the constraints.
(TypeParameter.DefineMethod): Likewise.
(TypeParameter.DefineType): New public method. Calls
`TypeBuilder/MethodBuilder.SetGenericParameterConstraints()' to set
the constraints.
svn path=/trunk/mcs/; revision=20899
* cs-parser.jay, cs-tokenizer.cs: `where' is not a keyword, it
just has some special meaning in some situations. For instance,
it is allowed to use `where' as the name of a variable etc.
svn path=/trunk/mcs/; revision=20896
* icall.c (ves_icall_TypeBuilder_define_generic_parameter): Return
a MonoReflectionGenericParameter, also take the parameter index
and name as arguments.
(ves_icall_MethodBuilder_define_generic_parameter): Likewise.
(ves_icall_MonoGenericParam_initialize): New interncall.
(ves_icall_Type_make_byref_type): New interncall.
* reflection.h (MonoReflectionGenericParam): Derive from
MonoReflectionType, not just from MonoObject. Added `refobj' and
`index' fields.
* reflection.c (mono_reflection_define_generic_parameter): Create
and return a new MonoReflectionGenericParam; don't initialize the
constraints here.
(mono_reflection_initialize_generic_parameter): New public method;
initializes the constraints and creates the `param->pklass'.
svn path=/trunk/mono/; revision=20893
* TypeBuilder.cs (TypeBuilder.MonoGenericParam): Removed; use the
new `MonoGenericParam' class instead (in S.R/MonoGenericInst.cs).
svn path=/trunk/mcs/; revision=20892
* codegen.cs (Init): Create the dynamic assembly with
AssemblyBuilderAccess.Save, to enable some optimizations in the runtime.
svn path=/trunk/mcs/; revision=20884
* reflection.h reflection.c: Use the new fields 'num_types',
'num_fields' and 'num_methods' to track the number of types etc.
svn path=/trunk/mono/; revision=20883
* ModuleBuilder.cs: Double the size of the types array during insertion
do avoid excessive memory allocation and copying. Track the number of
types in a separate variable.
* TypeBuilder.cs: Same for the 'fields' and 'methods' arrays.
svn path=/trunk/mcs/; revision=20882
* Environment.cs: Add a version number for the corlib-runtime interface
to make it easier to diagnose problems resulting from a mismatch
between the two.
svn path=/trunk/mcs/; revision=20879
* Type.cs (GetMethod): Check type arguments within array
* MonoType.cs (GetMethodImpl): Handle methods with a new slot
(same signature but different classes (derived level)
svn path=/trunk/mcs/; revision=20875
* Binder.cs: Added internal helpers to get derived level and select the
most derived methodbase (used in GetMethodImpl)
svn path=/trunk/mcs/; revision=20873
* Uri.cs : more fixes. More presice UNC handling, opaque part
handling for non-standard uri (e.g. urn:go-mono.com), ToString()
fix (that returns AbsoluteUri, which is not escaped any more),
and so on.
svn path=/trunk/mcs/; revision=20871
* Added uri-test-generator.cs, test-uri-list.txt, test-uri-props.txt
and UriTest2.cs. They are test generator files.
svn path=/trunk/mcs/; revision=20869
XmlSchemaImporter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
When using rpc format on a web service, members don't need to have any
specific namespace. Added a flag for turning namespace check on/off.
svn path=/trunk/mcs/; revision=20868
* DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
(Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
* DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
(RejectChanges) : Detach row when state was Added.
(CollectionChanged) : Fix a bug.
* ExpressionElement (ValidateExpression) : Fix a bug.
* ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
a parent row in the parent table.
(_validateColumns) : Fix bugs.
* MergeManager.cs (AdjustSchema) : Fix a bug.
* XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
between the tables.
svn path=/trunk/mcs/; revision=20866
build:
2003-12-08 Peter Williams <[email protected]>
* config-default.make: Don't check for / define
ECHO_ESCAPE: the check isn't smart enough and
apparently OS X's shell somehow doesn't support
escape characters.
* library.make: Use embedded tab instead of
$(ECHO_ESCAPE). Fixes OS X build.
* executable.make: Same.
class/corlib:
2003-12-08 Peter Williams <[email protected]>
* Makefile: Use embedded tab instead of $(ECHO_ESCAPE).
Fixes build on OS X.
class/Microsoft.Web.Services:
2003-12-08 Peter Williams <[email protected]>
* Makefile: Update Makefile to use embedded tabs instead
of ECHO_ESCAPE. Fixes build on OS X.
svn path=/trunk/mcs/; revision=20858
* Uri.cs : Several fixes, including Unc problem, Host and LocalPath
fixes, null reference check for .ctor(Uri, string). This fixes
bug #51844.
svn path=/trunk/mcs/; revision=20857
* Mono.Security.dll.sources: Added PKCS#12 support for X.509 certificates.
* Mono.Security_test.dll.sources: Added unit tests for PKCS#12.
svn path=/trunk/mcs/; revision=20850
* PKCS12Test.cs: New. Unit test for PKCS#12 files (with/without
passwords, weak/strong encryption) and PKCS#12 password based key
derivation.
svn path=/trunk/mcs/; revision=20849
* UTF8Encoding.cs (GetBytes string): Do not call base
The version in Encoding will call string.ToCharArray (),
allocating an extra array. By calling the better method
in our own class we can save memory.
svn path=/trunk/mcs/; revision=20846
* PublicKey.cs: New (1.2). Class that encapsulate an ASN.1 encoded
public key.
* X509BasicConstraintsExtension.cs: New (1.2). X.509 certification
extension for BasicConstraints.
* X509CertificateEx.cs: New (1.2). Augmented class to use X.509
certificates.
* X509CertificateExCollection.cs: New (1.2). Collection class for
X509CertificateEx.
* X509CertificateExEnumerator.cs: New (1.2). Enumerator class for
X509CertificateEx.
* X509ChainElement.cs: New (1.2). Information (certificate, status,
informations) for a member of a certificate chain.
* X509ChainElementCollection.cs: New (1.2). Collection class for
X509ChainElement.
* X509ChainElementEnumerator.cs: New (1.2). Enumerator class for
X509ChainElement.
* X509ChainStatus.cs: New (1.2). Chain status (many can apply to a
single X509ChainElement).
* X509Extension.cs: New (1.2). Base class for all certificate
extensions.
* X509ExtensionCollection.cs: New (1.2). Collection class for
X509Extension.
* X509ExtensionEnumerator.cs: New (1.2). Enumerator class for
X509Extension.
svn path=/trunk/mcs/; revision=20845
* ContentInfoTest.cs: Changed test for GetContentType.
* EnvelopedPkcs7Test.cs: New. Unit tests for EnvelopedPkcs7
(encryption).
* KeyTransRecipientInfoTest.cs: New. Unit tests for
KeyTransRecipientInfo.
* Pkcs7RecipientTest.cs: New. Unit tests for Pkcs7Recipient.
* SignedPkcs7Test.cs: New. Unit tests for SignedPkcs7 (signatures).
* SignedInfoTest.cs: New. Unit tests for SignedInfo.
* SubjectIdentifierTest.cs: New. Unit tests for SubjectIdentifier.
svn path=/trunk/mcs/; revision=20844
* ContentInfo.cs: Modified default Oid not to include description.
Added basic support for static GetContentType.
* EnvelopedPkcs7.cs: New. Partial implementation of PKCS#7 envelopes
(encrypted data).
* KeyAgreeRecipientInfo.cs: New. Stub for key agreement informations.
Note that key agreement algorithms (DH) are absent from the framework.
* KeyTransRecipientInfo.cs: New. Implementation for key transport
informations.
* Pkcs7Recipient.cs: New. Implementation of "recipients" - how it
links to a X.509 certificate (issuer and serial key or subject key
info).
* Pkcs7RecipientCollection.cs: New. Collection of Pkcs7Recipient.
* Pkcs7RecipientEnumerator.cs: New. Enumerator for Pkcs7Recipient.
* Pkcs7AttributeCollection.cs: New. Collection of Pkcs9Attributes.
* Pkcs7AttributeEnumerator.cs: New. Enumerator for Pkcs9Attributes.
* PublicKeyInfo.cs: New. Handle public key informations.
* RecipientInfoCollection.cs: New. Collection of RecipientInfo (and
inherited classes).
* RecipientInfoEnumerator.cs: New. Enumerator for RecipientInfo (and
inherited classes).
* SignedPkcs7.cs: New. Partial implementation of PKCS#7 signed
structures.
* SignerInfo.cs: New. Information (certificate and attributes) about
the signer. Actual signature/verification stuff is missing.
* SignerInfoCollection.cs: New. Collection of SignerInfo.
* SignerInfoEnumarator.cs: New. Enumerator for SignerInfo.
* SubjectIdentifier.cs: New. Contains the type of identifier linking
to a subject.
* SubjectIdentifierOrKey.cs: New. Contains the subject's public key or
an information linking to a subject public key.
svn path=/trunk/mcs/; revision=20843
* MonoSymbolTable.cs: It is faster to do a linear search
than it is to make a hashtable. Even though the linear
search is O(n^2) while the hashtable is O(n), the allocation
cost for a hashtable is *very* high, especially when only
a few members will be added.
svn path=/trunk/mcs/; revision=20842
* jscript-lexer-parser.g: things like 'new Point (10, 20).x' were
not parsable now they are. Mozilla's and Janet's test suites are
being really helpful.
svn path=/trunk/mcs/; revision=20837
* XmlUrlResolver.cs : Update with recent System.Uri change. This fixes
bugzilla #51808 (patch by Jeroen Zwartepoorte, a bit modified).
svn path=/trunk/mcs/; revision=20835
This has been moved to mini.c
* mini.c: in mono_method_to_ir, CEE_ISINST and CEE_CASTCLASS cases, if the
type being casted is marshalbyref it could be a proxy, so instead of
emitting the type check code, emit a call to a runtime method that will
perform the check by calling CanCastTo if needed.
svn path=/trunk/mono/; revision=20834
* icall.c: in, ves_icall_Remoting_RealProxy_GetTransparentProxy set
the custom_type_info flag of the transparent proxy.
* object.c: Added method mono_object_isinst_mbyref for casting mbyref
objects that supports IRemotingTypeInfo.
* object.h: Added custom_type_info field in transparent proxy.
svn path=/trunk/mono/; revision=20833
* Compiler.cs : Check stylesheet recursion. Check decimal-format name.
* GenericOutputter.cs, Outputter.cs, TextOutputter.cs :
Added WriteWhitespace() to assure not writing whitespaces as cdata.
* XslAttributeSet.cs : Error check if attribute-set contains other than
xsl:attribute. Error should be XsltException.
* XslDecimalFormat.cs : Complete equality check. Allow just one
character value for some attributes.
* XslStylesheet.cs : Made whitespace control setting overridable.
Added Version property (for the future compatibility mode).
Check unrecongnized top level element.
* XslTemplate.cs : Check priority as a number.
* XslTransformProcessor.cs : PushCDataState is now PushElementState,
for xsl:preserve-space and xsl:strip-space support.
* XsltCompiledContext.cs : Implemented PreserveWhitespace() (far from
incomplete), PushScope and Pop
svn path=/trunk/mcs/; revision=20827
* XslAttribute.cs, XslElement.cs, XslVariable.cs : Check name.
* XslChoose.cs : Check content validity (xsl:when or xsl:otherwise).
* XslComment.cs, XslCopy.cs, XslProcessingInstruction.cs,
XslValueOf.cs : Check content and attributes.
* XslCompiledElement.cs : Added ParentType to check content validity.
* XslCopy.cs : Check attribute set existence.
* XslCopy.cs, XslCopyOf.cs Don't output whitspace as cdata.
* XslLiteralElement.cs : Added extension element prefixes as
namespace exclusion target. Consider namespace-aliases.
* XslNumber.cs : level="any" should also be emptiable. MatchesCount()
should also consider node type. Reverted a little formatting stuff.
* XslTemplateContent.cs : Check if content nodes are containable.
* XslText.cs : New .ctor() argument, specifying if it is whitespace.
Never output whitespace as cdata.
svn path=/trunk/mcs/; revision=20826
* class.c (mono_class_create_from_generic): Removed.
(mono_class_from_generic): Check `ginst->klass' before doing
anything else. This is important to fully support "recursive"
generic types.
* metadata.c (do_mono_metadata_parse_generic_inst): Create an
empty `generic_inst->klass' before doing anything else.
svn path=/trunk/mono/; revision=20822
* ecore.cs : problems trying to implicit convert OMITTED arguments, solved
* mb-tokenizer.cs, mb-parser.jay, typemanager.cs : support for the date primitive type and date literals
* testmbas/WriteOK.vb: testing date type and date literal
svn path=/trunk/mcs/; revision=20821
* String.cs: Don't use CompareInfo for non-culture-sensitive
IndexOf and LastIndexOf methods.
2003-12-06 Dick Porter <[email protected]>
* CompareInfo.cs: Don't build strings in Compare, IndexOf and
LastIndexOf methods. Avoid the icall in IndexOf and LastIndexOf
if the search parameter is a char and the CompareOptions include
Ordinal.
svn path=/trunk/mcs/; revision=20820
* verify.c:
* object.h:
* icall.c:
* locales.c: Use C structs to access class fields. Don't do a
conversion between MonoString and UChar because both are
platform-endian UTF-16. Compare now takes startindex and count
parameters. Add a char overload for IndexOf. Speed up the
invariant string IndexOf.
svn path=/trunk/mono/; revision=20819
* mini-x86.c (mono_arch_emit_prolog): Fix stack space allocation for
methods with large stack frames under Win32.
svn path=/trunk/mono/; revision=20818
sessions. This fixes bug #51647.
* SessionInProcHandler.cs:
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs: Cleanup params for
HttpSessionState ctor. Make sure to always set is new, cookieless,
and readonly properly.
svn path=/trunk/mcs/; revision=20811
* profiles/net_1_2.make: New profile; uses the .NET 1.2 API's, but
without generics and with mcs instead of gmcs.
* profiles/bootstrap.make: New profile; already use the newly
compiled mcs to compile corlib.
svn path=/trunk/mcs/; revision=20807
* jscript-lexer-parser.g: Now I keep track of the parent for most
of the syntatic constructs. Fixed object_literal rule.
* ast.cs: Added field parent. This will help me to track nested
blocks for all of the syntatic constructs and will allow to Emit
everything in one single pass.
* FunctionDeclaration.cs, FunctionExpression.cs: Rearranged the
parent stuff.
* Block.cs, FunctionObject.cs: deleted parent field as AST will
hold it. Delete parent parameter from constructor.
* CodeGenerator.cs: Add field gc_ig (global code IL generator) to
EmitContext class. The idea is Emitting everything in one pass (decls
and 'Global Code' method, the parent reference let me know which IL
generator use, gc_ig or ig).
* Equality.cs, BooleanLiteral, Relational.cs: Added new parameter to
constructor. Use new parent reference for choosing the IL
generator. NumericLiteral a 'hard coded' int32 IL emittion added
for testing.
* StringLiteral.cs, Literal.cs (BooleanLiteral.Emit): now I use
the parent reference to infere which IL generator to use.
* VariableDeclaration.cs: deleted parent field. At Emit, now I use the parent
reference to infer which IL generator to use.
* expression.cs: Added paramenter parent to constructor of: Unary,
Binary, Conditional, Call.
svn path=/trunk/mcs/; revision=20804
ConvertCodeSourceFileToAssemblyFile().
* MetaDataCodeGenerator.cs, MetaDataExporter.cs: Many fixes.
Added support for delegates, base classes, implemented interfaces,
methods, properties, ISerializable, enums, etc.
svn path=/trunk/mcs/; revision=20798
* SqlXmlTextReader.cs: applied patch from Chris Masters <[email protected]>
fix peek so it checks if it is at the end and also to make sure that if Read()
advances the position past the end of the localBuffer array, it makes
a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
using SqlCommand.ExecuteXmlReader()
svn path=/trunk/mcs/; revision=20797
* Uri.cs: applied patch from Chris Masters <[email protected]>
fixes bug #51510. ftp uses port 21, https uses 443 and
parse the host name properly for UNC path.
svn path=/trunk/mcs/; revision=20796
* Multiplexer.cs : set_XmlResolver is marked as obsolete.
Added new Transform() methods introduced in .NET 1.1.
CRLF and LF are desparately mixed, so adjusted to LF.
* XslTransform.cs :
CRLF and LF are desparately mixed, so adjusted to CRLF.
svn path=/trunk/mcs/; revision=20795
* HttpApplication.cs: ThreadAbortException is ok on Redirect.
* HttpContext.cs: added TimeoutPossible property.
* HttpResponse.cs: throw ThreadAbortException if End () is called within
a step in which is possible to timeout.
Fixes bug #51703.
svn path=/trunk/mcs/; revision=20791
* XmlTextWriter.cs : WriteComment() should block "--", not full "-->".
* XmlDocumentNavigator.cs : Added null check in MoveToNextAttribute().
This may fix bug #51415.
svn path=/trunk/mcs/; revision=20778
* CompareInfo.cs: Implement the deserialization callback
* CultureInfo.cs: Allow CompareInfo to see the CultureMap so that
it can construct the ICU collator itself
svn path=/trunk/mcs/; revision=20776
* mini-x86.c (mono_arch_get_allocatable_int_vars): Sort the var list
at the end instead of inserting each variable into the sorted list.
* linear-scan.c (mono_varlist_sort): New helper function.
svn path=/trunk/mono/; revision=20774
* image.c (mono_image_load_file_for_image): Cache loaded images in the
image->files array.
* image.c (load_class_name): Load class names from the EXPORTEDTYPES
table as well.
* assembly.c (mono_assembly_load_references): Only load references
once.
* class.c (mono_class_from_name): Avoid linear search of the
EXPORTEDTYPE table.
* loader.c (mono_field_from_token): Cache lookups of fieldrefs as well.
svn path=/trunk/mono/; revision=20768
value. This is because radio button groups are created by setting
the name to the same value with each button, then on postback the
value of the name is the id of the selected radio button.
svn path=/trunk/mcs/; revision=20761
onbegin request handler that parsers out session ids and rewrites
the path. Also redirect to a url with an embedded session id if we
are creating a new cookieless session.
* SesionInProcHandler.cs:
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs: Use SessionId::Lookup to lookup session
ids, don't set the session id cookie anymore. That is handled by
the SessionStateModule.
* SessionId.cs: Add method for looking up session ids, add
some constants.
svn path=/trunk/mcs/; revision=20759
ApplyAppPathModifer and add a method to set the app path modifier.
* HttpRequest.cs: Add utility method for setting a request
header.
svn path=/trunk/mcs/; revision=20758
* ConfigurationSettings.cs: initialize config in
ChangeConfigurationSettings if it has not been done yet. Patch by
George Kodinov [email protected]). Fixes bug #51643.
svn path=/trunk/mcs/; revision=20744
* tramp-x86.c (x86_class_init_trampoline): Avoid patching when running
under valgrind.
* mini-x86.c (mono_arch_local_regalloc): Do not allocate transient
memory from the memory pool.
* driver.c (main_thread_handler): Turn on all optimizations when
--aot is used.
* mini.c (mono_find_jit_opcode_emulation): Turn emul_opcode_hash into
an array for better performance.
* regalloc.c (mono_regstate_assign): Fix memory leak.
svn path=/trunk/mono/; revision=20732
* icall.c (ves_icall_get_enum_info): Update after changes to
mono_metadata_get_constant_index ().
* icall.c: Get rid of get_type_info icall, use a separate icall for
each type property to avoid needless memory allocations. Fixes#51514.
svn path=/trunk/mono/; revision=20729
* metadata.c (mono_metadata_get_constant_index): Add a 'hint' parameter
to avoid needless binary searches.
* class.c (class_compute_field_layout): Move the initialization of
field->def_value to mono_class_vtable ().
* class.c (mono_class_layout_fields): Enable GC aware auto layout for
non-corlib types.
* object.c (mono_object_allocate): Make it inline.
* object.c (mono_object_allocate_spec): Make it inline.
svn path=/trunk/mono/; revision=20728
* debug-mini.c (mono_debug_serialize_debug_info): New function to
serialize the debug info.
* debug-mini.c (mono_debug_add_aot_method): New function to load the
debug info from the serialized representation.
* aot.c: Save debug info into the generated file and load it when
loading a method.
* mini.h (MONO_AOT_FILE_VERSION): Bump version number.
svn path=/trunk/mono/; revision=20727
* Expression.cs : XPathSorters.Compare() should compare document
position. See last sentence of XSLT 1.0 secion 10.
svn path=/trunk/mcs/; revision=20720
* XslNumber.cs : Fixed GetFormatNumber() not to emit number (0) in
case of count 0. Improved format-string, but still wondering.
svn path=/trunk/mcs/; revision=20719
* DefaultContext.cs : Overrode all functions' ToString().
XPathFunctions.ToNumber() trims whitespaces at both side.
Fixed NullReferenceException in normalize-space().
* Iterator.cs : Fixed AncestorOrSelfIterator.MoveNext() didn't handle
attribute or namespace node correctly.
SlashIterator.Clone() didn't clone "next node iterator" correctly.
EnumeratorIterator.ctor() should raise an error (not at Clone())
when the target IEnumerator is not ICloneable.
svn path=/trunk/mcs/; revision=20711
* HttpWebRequest.cs: when building the redirect URI, use the previous
one as the base URI, which makes relative URIs work.
svn path=/trunk/mcs/; revision=20704
* DigestClient.cs: merged in code from Sebastien Pouliot and Greg
Reinacker that Supports cnonce and preauthentication.
svn path=/trunk/mcs/; revision=20703
* pen.c (GdipSetPenLineCap): fix arg type so it compiles
using HP compiler.
* gdip.h: fix spelling of GdipSetPenLineJoin and add
prototype for GdipGetPenLineJoin
svn path=/trunk/mcs/; revision=20702
* System.Web/HttpApplication.cs: handle FileNotFound and
DirectoryNotFound exceptions when creating the handler to generate
a better error page.
* System.Web/HttpException.cs: display the http_code if available.
Changed all \n by \r\n to make the hidden stack trace readable.
* System.Web/StaticFileHandler.cs: don't send the real path in th
eerror.
* System.Web.Compilation/AspGenerator.cs: basic checking of ID validity.
Throw a ParseException when mixing languages.
* System.Web.UI/TemplateParser.cs: basic check for 'classname' attribute
and added patch by [email protected] for bug #51568, which fixes automatic
class names for pages starting with a number.
svn path=/trunk/mcs/; revision=20695
* NumberFormatInfo.cs: Helper called by runtime locale
construction from ICU. Patch by Mohammad DAMT ([email protected]).
svn path=/trunk/mcs/; revision=20688
* Compiler.cs : In FromListString(), it should use default ns,
not unqualified one.
* GenericOutputter.cs : CheckState() - attribute's Prefix should take
precedence. Doctype should be written even if SYSTEM id is absent.
Fixed possible multiple xmlns output.
* HtmlEmitter.cs :
- Encoding output using META element.
- Doctype name is fixed (html).
- Double quotation on PUBLIC and SYSTEM missing.
- Fixed incorrect tag name check for IMG.
- '>' should not be escaped.
* XmlWriterEmitter.cs :
Added newline before doctype. In WriteComment(), "--" and tail
'-' are not allowed (it escapes, while XmlWriter simply rejects).
* XslTransformProcessor.cs : cdata-section-elements should enclose
direct child tests only. Added PreserveWhitespace() (incomplete).
* XsltCompiledContext.cs : Implemented PreserveWhitespace() (incomplete).
svn path=/trunk/mcs/; revision=20686
* System.Web.dll.sources: added WebConfigurationSettings.
* System.Web/HttpContext.cs: updated GetConfig and GetAppConfig to new
API.
* System.Web/HttpResponse.cs: separate initialization of the HttpWriter,
as it tries to read configuration settings while the config. system is
not available (ie, before the first request).
* System.Web/HttpRuntime.cs: delayed queueManager and response writer
initialization until the configuration system is working.
* System.Web.Configuration/GlobalizationConfiguration.cs: return null
when the configuration is not available.
* System.Web.Util/WebEncoding.cs: use the Default encoding when the
globalization configuration is not available.
* System.Web.Configuration/WebConfigurationSettings.cs: handle
configuration for System.Web. It replaces the default
IConfigurationSystem with itself and handles web.config files
oddities.
* System.Web.UI.WebControls/WebControl.cs: don't create the attributes
when GetAttribute is called.
svn path=/trunk/mcs/; revision=20681
* quicksearch.cs: Create and use hashtable only for "long" search
strings.
(Search): Use simple scan for a single-character search strings.
(GetChar): Simplify case sensitivity handling.
svn path=/trunk/mcs/; revision=20680
* ConfigurationSettings.cs: handle allowdefinition and allowlocation,
added locks, don't reopen the file for every new section to be read,
but keep them as strings and build the section handlers with that.
svn path=/trunk/mcs/; revision=20678
* ChallengeResponseTest.cs: New. Unit tests for NTLMv1 challenge response.
* Type1MessageTest.cs: New. Unit tests to encode/decode negotiation messages.
* Type2MessageTest.cs: New. Unit tests to encode/decode challenge messages.
* Type3MessageTest.cs: New. Unit tests to encode/decode authentication message.
svn path=/trunk/mcs/; revision=20677
(Add) : Find if the new column name is the same as the one found in IndexOf.
(IndexOf) : New method.
(Contains) : Use new IndexOf.
(IndexOf) : Use new IndexOf.
* DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
(DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
* DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
(Delete) : Detach row if the RowState was Added.
(GetChildRows) : Get the array form the ChildTable.
(GetParentRows) : Get the array from the ParenTable.
* DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
* DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
* DataTable.cs (PrimaryKey) : Fix bugs.
(Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
* DataTableCollection.cs (Add) : Fix a bug.
* ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
* MergeManager.cs (AdjustSchema) : Fix a bug.
svn path=/trunk/mcs/; revision=20666
(Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
Some code style changes (tab instead of whit spaces, alignment, etc...).
svn path=/trunk/mcs/; revision=20665
* wapi-private.h:
* mutexes.c (CreateMutex):
* mutex-private.h (struct _WapiHandle_mutex):
* handles.c: Look up certain handle types by name, in a shared
namespace. Currently only mutex handles have this implemented.
Fixes bug 51089.
* semaphores.c (CreateSemaphore):
* events.c (CreateEvent): Fix signature
2003-12-01 Dick Porter <[email protected]>
* threads.c: Fix signature and call in CreateMutex and
CreateEvent.
svn path=/trunk/mono/; revision=20664
* String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
2003-12-01 Dick Porter <[email protected]>
* CultureInfo.cs: Culture name creation is case-insensitive.
Implemented CurrentCulture and CurrentUICulture.
* CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
for combining characters.
2003-12-01 Dick Porter <[email protected]>
* Thread.cs: Implement CurrentCulture and CurrentUICulture
2003-12-01 Dick Porter <[email protected]>
* CaseInsensitiveComparer.cs: Construct the default comparers when
they're needed, to avoid a dependency loop with CultureInfo's
constructor.
svn path=/trunk/mcs/; revision=20663
* Queue.cs: patch from Carlos Barcenilla.
public class Queue
- method: ICollection.Clone()
- Optimized. Removed unneeded instructions.
- method: public static Queue Synchronized (Queue queue)
- ArgumentNullException.ParamName must be "queue", not null.
- method: public virtual void TrimToSize()
- Must increment modCount.
private class SyncQueue
- method: public override object Clone ()
- Must return a synchronized (SyncStack) instance.
- method: public override void TrimToSize ()
- Not implemented.
svn path=/trunk/mcs/; revision=20644
* System.Web.Compilation/PageCompiler.cs: assign LCID, Culture and/or
UICulture in FrameworInitialize() if provided in @Page.
* System.Web.UI/Page.cs: fixed UICulture, LCID and Culture. Set the
thread [UI]Culture before processing the request.
* System.Web.UI/PageParser.cs: read Culture, UICulture and LCID
attributes. Added properties for these. Partially contributed by
Mohammad Damt.
Fixes bug #51511.
svn path=/trunk/mcs/; revision=20633
* expression.cs: Added new field to Call class, so it can handle more arguments.
* StringLiteral.cs (Emit) : Load the string value.
* Literal.cs: BooleanLiteral, Resolve always return true. Emit the value and box it to Boolean.
svn path=/trunk/mcs/; revision=20630
* jscript-lexer-grammar.g: define new rule 'arguments' instead of
repeating hand written rule all around. Change "." for DOT, dumb
mistake by myself. Added rule new_expr. Now we handle properly the
call_expr rule (as defined on the spec), and added a new
argument. Added subrule new_expr to left_hand_side_expr rule.
svn path=/trunk/mcs/; revision=20616
* Mono.Cairo/Object.cs:
* Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
while to find out why Cairo applications would crash sometimes.
The problem was that Cairo.Object:TargetSurface get property would
create a Surface from an IntPtr, leading to having two managed
objects owning the same unmanaged Surface.
(Surface..ctor): Make private, so only this module can create
surfaces.
(Surface.Dispose): Add disposable pattern, finalizer.
* Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
svn path=/trunk/mcs/; revision=20606
* statement.cs (Block.Resolve, Block.Emit): Avoid foreach on
ArrayLists, use for loops with bounds.
* flowanalysis.cs (FlowBranching.Merge): Avoid foreach on
arraylist.
* expression.cs (Invocation.OverloadResolve): Avoid foreach on
arraylists, use for loop with bounds.
The above three changes give us a 0.071 second performance
improvement out of 3.294 seconds down to 3.223. On my machine
the above changes reduced the memory usage by 1,387 KB during
compiler bootstrap.
* cs-parser.jay (QualifiedIdentifier): New class used to represent
QualifiedIdentifiers. Before we created a new string through
concatenation, and mostly later on, the result would be
manipulated by DecomposeQI through string manipulation.
This reduced the compiler memory usage for bootstrapping from
59380 KB to 59007 KB on my machine, 373 KB, and also reduced the
compile times in 0.05 seconds.
svn path=/trunk/mcs/; revision=20605
* XmlWriter.cs : patch by Gonzalo (I modified a bit). WriteNode()
shouldn't expect non-empty element content. This will fix bug #48287.
svn path=/trunk/mcs/; revision=20591
ion `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.
A star (*) next to a name means that the command is disabled.
%[DIGITS | WORD] [&] (( expression ))
. filename :
[ arg... ] [[ expression ]]
alias [-p] [name[=value] ... ] bg [job_spec]
bind [-lpvsPVS] [-m keymap] [-f fi break [n]
builtin [shell-builtin [arg ...]] case WORD in [PATTERN [| PATTERN].
cd [-L|-P] [dir] command [-pVv] command [arg ...]
compgen [-abcdefgjksuv] [-o option complete [-abcdefgjksuv] [-pr] [-o
continue [n] declare [-afFirtx] [-p] name[=valu
dirs [-clpv] [+N] [-N] disown [-h] [-ar] [jobspec ...]
echo [-neE] [arg ...] enable [-pnds] [-a] [-f filename]
eval [arg ...] exec [-cl] [-a name] file [redirec
exit [n] export [-nf] [name[=value] ...] or
false fc [-e ename] [-nlr] [first] [last
fg [job_spec] for NAME [in WORDS ... ;] do COMMA
for (( exp1; exp2; exp3 )); do COM function NAME { COMMANDS ; } or NA
getopts optstring name [arg] hash [-lr] [-p pathname] [-dt] [na
help [-s] [pattern ...] history [-c] [-d offset] [n] or hi
if COMMANDS; then COMMANDS; [ elif jobs [-lnprs] [jobspec ...] or job
kill [-s sigspec | -n signum | -si let arg [arg ...]
local name[=value] ... logout
popd [+N | -N] [-n] printf format [arguments]
pushd [dir | +N | -N] [-n] pwd [-PL]
read [-ers] [-u fd] [-t timeout] [ readonly [-anf] [name[=value] ...]
return [n] select NAME [in WORDS ... ;] do CO
set [--abefhkmnptuvxBCHP] [-o opti shift [n]
shopt [-pqsu] [-o long-option] opt source filename
suspend [-f] test [expr]
time [-p] PIPELINE times
trap [arg] [signal_spec ...] or tr true
type [-afptP] name [name ...] typeset [-afFirtx] [-p] name[=valu
ulimit [-SHacdflmnpstuv] [limit] umask [-p] [-S] [mode]
unalias [-a] [name ...] unset [-f] [-v] [name ...]
until COMMANDS; do COMMANDS; done variables - Some variable names an
wait [n] while COMMANDS; do COMMANDS; done
{ COMMANDS ; }
VBCodeGenerator: CreateNameSpace creates Namespace after Imports
svn path=/trunk/mcs/; revision=20585
*NpgsqlCommand.cs: Fixed a problem with prepare commands in 7.3 server versions. The command was being incorrectly interpreted as needing an explicit cast.
svn path=/trunk/mcs/; revision=20584
specific brushes based on the internal (GDI+ C API) BrushType
enum.
(Brush (IntPtr)): new internal constructor.
* Pen.cs: Removed all the C# fields. We are using GDI+ completely
now.
(Pen (IntPtr)): new internal constructor.
(Pen (Brush, float)): Use GdipCreateBrush2.
(Clone): Implemented using GdipClonePen.
(Alignment, Brush, Color, Width): Use GDI+ implementations
instead.
(CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
Implemented these properties.
(CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
(MultiplyTransform, ResetTransform, RotateTransform):
(ScaleTransform, TranslateTransform): Implemented these methods.
* SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
* gdipEnums.cs (BrushType): Added new GDI+ enum.
* gdipFunctions.cs: Imported new Brush and Pen functions.
* brush.c (gdip_brush_setup): Check on the type of the brush and
delegate the implementation to the concrete Brushes,
(GdipCloneBrush, GdipDeleteBrush, GdipGetBrushType): Implemented.
* gdip.h (DashStyle): Fixed typo.
(PenAlignment, BrushType): Added new enumerations.
(GpBrush): Added new type field.
(GpPen): Added new fields: color, brush, mode, dash_array and
unit. Updated the header file to include new Pen functions.
* pen.c (convert_dash_array): Utitlity function for converting
from a float* from GDI+ to a double* for Cairo.
(GdipCreatePen2, GdipClonePen): Implemented.
(PenWidth, BrushFill, Color, PenMode, PenUnit, DashStyle):
(DashOffset, DashCount, DashArray): Implemented the Get/Set
function pairs for these properties.
(GdipGetPenCompoundArray, GdipSetPenCompoundArray):
(GdipGetPenCompoundArrayCount): Stubbed.
* solidbrush.c (gdip_solidfill_init): Utility for initializing a
SolidBrush. Sets type as BrushTypeSolidColor.
(gdip_solidfill_setup): Moved from gdip_brush_setup.
(gdip_solidfill_clone): Implementation for GdipCloneBrush for a
GpSolidFill.
(GdipSetSolidFillColor, GdipGetSolidFillColor): Implemented.
svn path=/trunk/mcs/; revision=20575
* System.Data.ObjectSpaces.Query/ObjectExpressionTests.cs:
* SupportFiles/osd.xml:
* SupportFiles/rsd.xml:
New classes added for test
svn path=/trunk/mcs/; revision=20571
* Mono.Security.dll.sources: Added MD4, MD4Managed and PKCS8 to build.
* Mono.Security_test.dll.sources: Added unit tests for MD4, MD4Managed
and PKCS8.
svn path=/trunk/mcs/; revision=20570
* MD4Test.cs: New. Contains all the test vectors provided in RFC1320
- but none are executed because MD4 is an abstract class.
* MD4ManagedTest.cs: New. Run the unit tests from MD4Test.cs using
the MD4Managed implementation of MD4.
* PKCS8Test.cs: New. Unit tests for PKCS8.
svn path=/trunk/mcs/; revision=20569
* MD4.cs: New. Asbtract class for all MD4 implementations. WARNING:
The MD4 algorithm is BROKEN (collisions) and SHOULDN'T be used in
NEW designs. However some higher level algorithms (like NTLM) requires
MD4 (and may even be secure using it). YOU'RE WARNED!
* MD4Managed.cs: New. Managed implementation of MD4 (RFC1320).
* PKCS8.cs: New. Added Private-Key Information Syntax Standard as a
building block for PKCS12.
svn path=/trunk/mcs/; revision=20568
* Expression.cs : namespace axis now traversed in reverse order, so it
requires sorting.
* Iterator.cs : UnionIterator.Clone() was incomplete.
NamespaceItarator() should be reverse order (special handling
because of XPathNavigator specification).
svn path=/trunk/mcs/; revision=20565
* XmlTextWriter.cs : When element's namespace should be overwritten by
one of its attribute, if exist as such. This fixes bug #51305.
svn path=/trunk/mcs/; revision=20564
* statement.cs (Foreach.TryType): Use DeclaredOnly to find the
GetEnumerator method.
(ProbeCollectionType): Iterate starting at the most specific type
upwards looking for a GetEnumerator
svn path=/trunk/mcs/; revision=20558
* mini.c (mono_method_to_ir): Fix tail calls with valuetype arguments.
Also optimize the case when the arguments are the same in the caller
and in the callee.
svn path=/trunk/mono/; revision=20554
* SoapHttpClientProtocol.cs: Changed the method used to check if the
result is a fault. Now the check is done inside
WebServiceHelper.ReadSoapMessage. Removed some debug writelines.
* WebServiceHelper.cs: If the message body is a fault, use the fault
serializer.
svn path=/trunk/mcs/; revision=20539
* System.Text.RegularExpressions/interpreter.cs: when evaluating a
degenerate match, restore the RepeatContext if fail. Fixes bug #42529.
* Test/System.Text.RegularExpressions/RegexBugs.cs: added tests from
bug #42529.
svn path=/trunk/mcs/; revision=20536
* exceptions-x86.c (mono_arch_find_jit_info): Restore callee saved
registers from the lmf if the method has save_lmf set.
svn path=/trunk/mono/; revision=20535
properties name. Only add a closing quote to strings if we are
still in a quote. Use BaseType == "System.Void" to determine if a
method is void. This prevents getting As Nothing functions. Many
thanks to Anirban for helping me with VB Syntax.
svn path=/trunk/mcs/; revision=20533
* Implemented DrawMenuGlyph on top of System.Drawing
* Implemented DrawStringDisabled on top of System.Drawing
* Implemented DrawSizeGrip on top of System.Drawing
* Implemented DrawSelectionFrame on top of System.Drawing
* Minor cleanups
svn path=/trunk/mcs/; revision=20532
* statement.cs (Block.LookupLabel): Also look for the label on the
children blocks. Use a hash table to keep track of visited
nodes.
svn path=/trunk/mcs/; revision=20519
* HttpWebRequest.cs: removed unneeded StringBuilder.
* WebConnection.cs: default to keep the connection open for HTTP/1.1
only or HTTP/1.0 + (Proxy-)Connection header. Fixes bug #51208.
svn path=/trunk/mcs/; revision=20513
* cfold.cs (IntConstant to UIntConstant mapping): Only return if
we actually did transform the other operand, otherwise fall back
to the common codepath that casts to long.
* cs-tokenizer.cs: Use the same code pattern as the int case.
Maybe I should do the parsing myself, and avoid depending on the
Parse routines to get this done.
svn path=/trunk/mcs/; revision=20512
* Control.cs: Add DataBindChildren for v2. Implement
glue to make Page.Eval work.
* Page: use a stack to store the current dataitem
for Eval. Implement Eval/XPath/XPathSelect
* DataBinder.cs: implement GetDataItem.
svn path=/trunk/mcs/; revision=20508
code. Fix tabbing.
* CachedVaryBy.cs: Give raw response keys a name, use the
httpmethod in the key, and delimit items with \n so it is easier
to read when debugging.
svn path=/trunk/mcs/; revision=20506
* exception.c (mono_exception_from_name_domain): New helper function.
* appdomain.c (ves_icall_System_AppDomain_createDomain): Create the
exception object in the correct domain.
* appdomain.c (ves_icall_System_AppDomain_LoadAssemblyRaw): Fix
formatting + make a copy a the input data.
svn path=/trunk/mono/; revision=20505
* FunctionDeclaration.cs: Check if values are not null first (at
Resolve). Ignore code generation is at 'Global Code'.
* VariableDeclaration.cs: Now I take care of IL generation when we
are at statements and expressions at global code, 'Global Code'
method is populated with that IL.
* CodeGenerator.cs: Added flag for 'Global Code' method
emittion. Now I call 'Emit' twice. The first for declarations the
follower for statements and expressions at global scope.
svn path=/trunk/mcs/; revision=20504
* tramp-x86.c (x86_magic_trampoline): Avoid patching in the addresses
of icall wrappers into InvokeInDomain, since these are now per-domain.
svn path=/trunk/mono/; revision=20503
* mini-ppc.h, mini-x86.h, mini.c, inssel-ppc.brg, jit-icalls.c:
make some opcode emulation and intrinsic ops enabled/disabled
according to the architecture. More fixes.
svn path=/trunk/mono/; revision=20502
* RemotingConfiguration.cs: Implemented CustomErrorsEnabled().
Added support for soapInterop configuration section.
* SoapServices.cs: Several fixes to match MS behavior.
svn path=/trunk/mcs/; revision=20474
* HttpRuntime.cs: added request queue handling.
* QueueManager.cs: simple request queue.
* TimeoutManager.cs: added some locks to prevent the enumerator used in
CheckTimeouts to be out of synch.
svn path=/trunk/mcs/; revision=20464
* Implemented DrawFocusRectangle on top of System.Drawing
* Implemented DrawGrid on top of System.Drawing
* Implemented DrawImageDisabled on top of System.Drawing
* Implemented DrawLockedFrame on top of System.Drawing
* Removed MonoTODO from undocumented MS methods
svn path=/trunk/mcs/; revision=20453
static objects data.
* SessionDictionary.cs: Remove type serialization methods, these
have been moved to a utility class. Add convenience methods for
converting to/from byte arrays.
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs: Save/Restore static objects. Use new
to/from byte array methods.
* StateServerItem.cs: Hold static objects data.
svn path=/trunk/mcs/; revision=20439
* aot.c:
(load_aot_module): free 'info->methods' and 'info' properly. No more
"free(): invalid pointer blah" messages when you have an old aot
compiled assembly.
svn path=/trunk/mono/; revision=20432
* expression.cs: Make TypeOfVoid derive from TypeOf, so code in
attributes for example can not tell the difference between these.
The difference was only a syntax feature of the language.
svn path=/trunk/mcs/; revision=20419
* convert.cs (TryImplicitIntConversion): One line bug fix: we were
comparing 0 vs Byte.MinValue, not the value
(ImplicitConversionRequired): When reporting a conversion error,
use error 31 to print out the constant error instead of the
simpler 29.
* expression.cs: Apply fix from [email protected] (Laurent Morichetti),
which fixes bug 51347.
svn path=/trunk/mcs/; revision=20415
on the server and store session data and ids.
* StateServerItem.cs: Container for session data.
* SessionStateServerHandler.cs: Handler that communicates with the
StateServer so sessions can be stored out of process.
* SessionStateModule.cs: Allow state server mode.
svn path=/trunk/mcs/; revision=20411
* io.c: don't call g_free before testing errno as it may modify it.
If the path exists, return an error if it's not a directory. Fixes
bug #50753.
svn path=/trunk/mono/; revision=20403
* icall.c: Add new icall for creating dynamic methods.
* loader.h debug-helpers.c: Add new wrapper type for dynamic methods.
* reflection.h (MonoReflectionDynamicMethod): Fix type of bool fields.
* reflection.c (mono_reflection_create_dynamic_method): New icall to
create a dynamic method.
* reflection.c (resolve_object): New helper function.
* reflection.c: Generalize ReflectionMethodBuilder and the functions
which manipulate it so they can also work on dynamic methods.
* reflection.c (reflection_method_builder_to_mono_method): Avoid
creating the MonoReflectionMethodAux structure if it is not needed.
svn path=/trunk/mono/; revision=20393
* Parser.jay, Expression.cs, Iterator.cs :
Added ExprParens and ParensIterator classes which is used to handle
precedence of parenthesized expressions.
(e.g. consider "(preceding::*)[3]" and "preceding::[3]" )
* Expression.cs, Iterator.cs :
Added RequireSorting property for each Expr and BaseIterator classes.
SlashIterator.MoveNext() now considers correct sorting. But
considering performance, it separates two logics, sorted and sortless
depending on RequireSorting of left iterator and right expression.
* Iterator.cs :
SimpleIterator.ctor() should consider when nav is null.
FollowingIterator.MoveNext() and PrecedingIterator.MoveNext() should
not return any nodes.
AncestorIterator and AncestorOrSelfIterator copy ctr() should clone
positions.
AncestorIterator.MoveNext() should skip Root if context node is
Root itself.
FollowingIterator.MoveNext() should not handle children of context
itself.
PrecedingIterator.MoveNext() should skip its ancestors.
AxisIterator.ReverseAxis should be dependent on its containing iter.
UnionIterator.MoveNext() should consider comparison of nodes in
different document. The behavior is implementation dependent.
(see XSLT spec 12.1)
svn path=/trunk/mcs/; revision=20389
* XmlTextWriter.cs :
WriteProcessingInstruction() should check name validity.
AddMissingElementXmlns() should allow namespace emission even if it
is identical to existing one.
svn path=/trunk/mcs/; revision=20388
* XslAttribute.cs, XslElement.cs, XslLiteralElement.cs :
More precise namespace handling.
* XslCopy.cs, XslElement.cs, XslLiteralElement.cs :
Added cdata-section-elements support.
* XslNumber.cs :
Cases when value is NodeSet should be allowed.
Default output should be 1,2,3... not exception. see XSLT spec 7.7.1
svn path=/trunk/mcs/; revision=20387
(in general: cdata-section-elements support, correct document()
base uri handling, and so on)
* Compiler.cs : Use XmlSpace.Preserve to parse included stylesheet.
And move to document element. Added XslNameUtil.FromListString().
* Emitter.cs, HtmlEmitter.cs, TextEmitter.cs XmlWriterEmitter.cs :
Added WriteCDataSection().
* Outputter.cs, GenericOutputter.cs, TextOutputter.cs :
Added InsideCDataSection.
* GenericOutputter.cs :
In .ctor(), WriteState should be succeeded from output XmlWriter.
WriteNamespaceDecl() now drops declaration identical to existing one.
Removed obsolete htmlEmulation.
* XslOutput.cs : Added CDataSectionElements support.
* XslStylesheet.cs : Added BaseUri, StyleDocument and PrefixInEffect().
* XslTransformProcessor.cs :
Added Output and CurrentOutputUri. TryStylesheetNamespaceOutput()
now considers xsl:exclude-element-prefixes on literal element.
Added PushCDataState() and PopCDataState().
* XsltCompiledContext.cs : When base uri of document() target is empty,
then it should use stylesheet's BaseURI, not that of current document.
svn path=/trunk/mcs/; revision=20386
* SoapDocumentationHandler.cs: Check that the documentation page exist.
* SoapHttpClientProtocol.cs: Removed cast from WebResponse to
HttpWebResponse. This fixes bug #51281.
svn path=/trunk/mcs/; revision=20385
* ILGenerator.cs MethodBuilder.cs ConstructorBuilder.cs: Retrieve
tokens from a token generator object instead of from the ModuleBuilder,
to support the implementation of DynamicMethod. Also get rid of the
unused 'mbuilder' field.
* ModuleBuilder.cs: Create a token generator object which can be
passed to ILGenerator.
svn path=/trunk/mcs/; revision=20383
* Implemented DrawScrollButton on top of System.Drawing
* Implemented DrawRadioButton on top of System.Drawing
* Implemented DrawCheckBox on top of System.Drawing
* Implemented DrawButton on top of System.Drawing
svn path=/trunk/mcs/; revision=20375
* Npgsql/HashAlgorithm.cs:
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlCommand.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlReadyState.cs:
* Npgsql/NpgsqlStartupState.cs:
* Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
ADO.NET we need to call Dispose after using any Component like
NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
methods to Properties.
svn path=/trunk/mcs/; revision=20356
* DbDataAdapter.cs: Call command dispose in self dispose method. We
need to dispose the connections and other stuff stored in the
commands.
svn path=/trunk/mcs/; revision=20355
math in unmanaged code instead of doing it in C#.
* gdipFunctions.cs
(GdipResetWorldTransform, GdipSetWorldTransform):
(GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
* Graphics.cs: Remove unnecessary TODO, and reformatted the code.
(transform): Removed this field. Always use the
matrix associated in the GpGraphics ptr.
(DrawBeziers): Implemented.
(DrawLine): Don't need to manually invoke the transform now.
(MultiplyTransform, ResetTransform):
(ScaleTransform, TranslateTransform): Use GDI+ implementation.
(Transform): Instead of storing a Matrix in managed code, use
equivalent GDI+ functions.
* matrix.c (GdipCreateMatrix3, GdipCreateMatrix3I): Implemented.
(GdipCloneMatrix): Fixed.
(GdipShearMatrix, set_shear): Implemented.
* graphics.c:
(GdipGetWorldTransform, GdipMultiplyWorldTransform): Implemented.
(GdipRotatePenTransform, GdipTranslatePenTransform): Use GDI+
functions instead.
* gdip.h
(GdipRotatePenTransform, GdipTranslatePenTransform): Fix
signature.
(GdipCreateMatrix3, GdipCreateMatrix3I): Use const appropriately.
svn path=/trunk/mcs/; revision=20344
* Calendar.cs (SaveViewState):
- We were allocating a 11 item array, we only used 10 items,
so only allocate 10.
- We only need to save the selected dates if there are any.
* DataGrid.cs (SaveViewState):
* DataGridColumn.cs (SaveViewState):
* DataGridColumnCollection.cs (SaveViewState):
- Only return the array if there is anything in it
* Style.cs (SaveViewState):
- Only save the bits if there were changes.
* WebControl.cs (SaveViewState), (LoadViewState):
- Don't save Enabled into the viewstate here, we already
do it in the property. This just caused *EVERY* control
to have a non-null state, taking up lots of extra room
in the ViewState.
- The style will always be created with this control's
viewstate, so the style will always return null for the
viewstate. As such, we do not need to store it. We can
also reduce the triplet to a pair because of this.
svn path=/trunk/mcs/; revision=20342
* driver.cs: Applied patch from [email protected] (Gert Driesen)
which fixes the -warnaserror command line option.
svn path=/trunk/mcs/; revision=20339
* Changed line endings to unix format in SSL/TLS sources.
* Mono.Security.CryptographyoHMD5SHA1CryptoServiceProvider.cs:
- Removed file (now it's called MD5SHA1.cs)
* Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:
- Removed comments from AES ciphersuites.
svn path=/trunk/mcs/; revision=20335
cached page. Then store a CachedRawResponse for each combination
of varried parameters for a page.
* CachedRawResponse.cs: Do not need to store param values anymore
those are stored in the CachedVaryBy now. Get the content length
so we dont send back the entire buffer.
* CachedVaryBy.cs: New file - holds the varyby data for a page,
and a method to generate a key based on params. Right now this
only works with VaryByParams. TODO: support VaryByHeaders and
VaryByCustom.
svn path=/trunk/mcs/; revision=20334
cached page. Then store a CachedRawResponse for each combination
of varried parameters for a page.
* CachedRawResponse.cs: Do not need to store param values anymore
those are stored in the CachedVaryBy now. Get the content length
so we dont send back the entire buffer.
* CachedVaryBy.cs: New file - holds the varyby data for a page,
and a method to generate a key based on params. Right now this
only works with VaryByParams. TODO: support VaryByHeaders and
VaryByCustom.
svn path=/trunk/mcs/; revision=20333
cached repsonse so that only that amount will be written back to
the client. Add method to write a range of binary data.
* HttpCacheVaryByParams.cs: Add method to retrieve param
names.
svn path=/trunk/mcs/; revision=20331
* ObjectStateFormatter.cs: v2 file. In v1.x this will be
internal as LosFormatter will eventually use it to save
the view state.
svn path=/trunk/mcs/; revision=20329
* cfold.cs (DoNumericPromotions): During constant folding of
additions on UIntConstant, special case intconstants with
IntConstants like we do on the expression binary operator.
svn path=/trunk/mcs/; revision=20327
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlReadyState.cs:
* Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
implementation. Now we're using TcpClient for the connection and
Stream for the abstraction layer to SslClientStream.
svn path=/trunk/mcs/; revision=20325
field to MonoAppContext and renamed thread_static_fields to a more
generic special_static_fields in MonoAppDomain, since it can now contain
context static fields.
* domain.c: Updated hashtable name.
* object.c: Replaced field_is_thread_static() for a more generic
field_is_special_static() which also checks for context static attribute.
In mono_class_vtable(), added support for static context fields.
* threads.c: Changed methods that manage thread static fields to more
generic methods so they can be reused both for thread and context static
data.
* threads.h: Declared some new methods.
svn path=/trunk/mono/; revision=20315
* TypeBuilder.cs FieldBuilder.cs MethodBuilder.cs ConstructorBuilder.cs: Add support for custom modifiers from NET 1.2.
svn path=/trunk/mcs/; revision=20306
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.
svn path=/trunk/mcs/; revision=20302
* Fully implemented all DrawBorder methods on top of System.Drawing
* Replaced the (apparently) broken double-based HLS/RGB formulas with faster integer versions
* Removed MonoTODO tags from verified and complete methods
svn path=/trunk/mcs/; revision=20300
* Mono.Security.Protocol.Tls/SslClientStream.cs:
Removed ReadByte method, use innerStream.ReadByte() method instead.
2003-11-13 Carlos Guzm��n ��lvarez <[email protected]>
* Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.
The next files are no more needed:
- TlsSession.cs
- TlsNetworkStream.cs
- TlsSocket.cs
- TlsSessionState.cs
The next files are renamed:
- TlsSessionSettings.cs -> TlsClientSettings.cs
- TlsSessionContext.cs -> TlsContext.cs
The next files are new:
- SslClientStream.cs ( the name is non definitive yet )
The next files where changed to reflect the new canges:
- TlsHandshakeMessage.cs
- TlsClientCertificate.cs
- TlsClientCertificateVerify.cs
- TlsClientFinished.cs
- TlsClientHello.cs
- TlsClientKeyExchange.cs
- TlsServerCertificate.cs
- TlsServerCertificateRequest.cs
- TlsServerFinished.cs
- TlsServerHello.cs
- TlsServerHelloDone.cs
- TlsServerKeyExchange.cs
- TlsAlert.cs
- TlsCloseNotifyAlert.cs
2003-11-12 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
- Changes for give full error message only in debug mode ( Thanks to Sebasti��n Pouliot. )
* Mono.Security.Protocol.Tls/TlsProtocol.cs:
- Renamed to SecurityProtocolType.cs ( for match .NET 1.2 )
* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
- Renamed to MD5SHA1.cs ( Thanks to Sebasti��n Pouliot. )
* Mono.Security.Cryptography/TlsCompressionMethod.cs:
- Renamed to SecurityCompressionType.
* Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
* Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
* Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
- New enumerations that matches .NET 1.2 definitions with some minor differences.
* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
- Added changes for make use of new enumerations.
* Mono.Security.Protocol.Tls/TlsClientStream.cs:
- Added new informative properties that matches .NET 1.2 SslClientStream
( Not all the properties are implemented yet ).
2003-11-10 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
- Fixed invalid alert message.
* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
* Mono.Security.Cryptography/HMAC.cs:
* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
- Changed ( Thanks to Sebasti��n Pouliot for his feedback )
SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();
MD5CryptoServiceProvider sha = new MD5CryptoServiceProvider();
to
HashAlgorithm sha = SHA1.Create();
HashAlgorithm md5 = MD5.Create();
2003-11-04 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
- Commented server certificate signature verification.
* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
- Renamed ServerCertificates property to Certificates.
svn path=/trunk/mcs/; revision=20298
* CachedRawResponse.cs: New file - A snapshot of a response that
is stored in the cache and can be used to create a new response.
* OutputCacheModule.cs: Module for inserting and retrieving
responses from the cache.
svn path=/trunk/mcs/; revision=20272
can get the buffer size. Add method to get the buffer.
* HttpResponse.cs: Methods for getting data to cache, and setting
vars from the cache.
* HttpCachePolicy.cs: Expose a pages cache expire time.
svn path=/trunk/mcs/; revision=20268
* TemplateControlCompiler.cs: support for expressions of
System.Drawing.Size type. Allow getting Color from comma separated
numbers, which is not allowed by ColorConverter.
This makes http://www.codeproject.com/aspnet/asppopup.asp work.
svn path=/trunk/mcs/; revision=20263
* HttpSoapWebServiceHandler.cs: WebException is ok here for wrong
content encoding...
* SoapHttpClientProtocol.cs: ... but here, we should throw an
InvalidOperationException including the full response.
* WebServiceHelper.cs:
(GetContentEncoding): now fills an output variable with the name of the
content encoding used.
(InvalidOperation): new method to build the message for
InvalidOperationException.
svn path=/trunk/mcs/; revision=20261
* MailMessageWrapper.cs: fixed typo that made all messages be sent as
html, even when the body is marked as text. Path by Mohammad DAMT.
Closes bug #51177.
svn path=/trunk/mcs/; revision=20256
* XsltCompiledContext.cs : XsltGenerateId.Evaluate() should consider
node type (i.e. attribute and namespace). Removed extraneous Clone().
Fixed XsltKey.Evaluate() to use MoveToNextAttribute to iterate attrs.
svn path=/trunk/mcs/; revision=20242
* DefaultContext.cs : XPathFunctions.ToNumber() should catch overflow.
XPathFunctionId.cs : Exposed Id expression.
* Expression.cs : Added ExprLiteral.Value, and class ExprParens (it
will be used to solve evaluation precedence problem).
svn path=/trunk/mcs/; revision=20225
* Compiler.cs : Changed Keys from ArrayList to Hashtable.
XslStylesheet.cs : Added Keys support here.
* XslTransformProcessor.cs : Should call SetContext() to expressions
before evaluating current nodes.
* XsltCompiledContext.cs : 1) XsltDocument.GetDocument() should use
xsltContext. 2) XsltKey exposes KeyName, Field and NamespaceManager
for KeyPattern. It now uses CompiledStyle.FindKeys().
svn path=/trunk/mcs/; revision=20222
* System_test.dll.sources: added new RegexBugs test.
* System.Text.RegularExpressions/regex.cs:
(Split): include capture groups in the results, if any. Fixes bug
#51146.
* Test/system_linux_test.args: removed. Not needed any more.
svn path=/trunk/mcs/; revision=20219
(EndEdit) : Check that we are not in middle of ChangeEvent.
(AcceptChanges) : Detach the row.
* DataRelation.cs : throw correct exception.
*UniqueConstraint.cs : throw correct exception.
svn path=/trunk/mcs/; revision=20217
* corlib.dll.sources: Added already existing, but not added delegate
Added various classes in System.InteropServices
svn path=/trunk/mcs/; revision=20194
* ParameterCollection.cs: Implemented
* Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
ToString () now matches asp.net
svn path=/trunk/mcs/; revision=20177
* expression.cs (Invocation.VerifyArgumentsCompat): Remove
debugging message.
(SizeOf.DoResolve): assign the `type_queried' field. This gets
corlib to compile.
Martin must have done most of the fixes, because corlib now builds with gmcs
svn path=/trunk/mcs/; revision=20151
* ConfigurationSettings.cs: make the *Mark objects static
because they need to be comparable across instances.
(ReadSectionGroup): You can add an element to a group declared
in the parent config files (MS.net's QuickStarts do this).
svn path=/trunk/mcs/; revision=20145
* StringBuilder.cs (Insert int, char): It is really silly and
wasteful to allocate an array here. We can just copy the value
over.
svn path=/trunk/mcs/; revision=20144
SoapClientFormatterSinkProvider.cs, SoapServerFormatterSinkProvider.cs: Small fix.
* SoapServerFormatterSink.cs: Small fix in AsyncProcessResponse.
* BinaryCore.cs, SoapCore.cs: throw an exception if an unknown property
is found.
svn path=/trunk/mcs/; revision=20131
* Graphics.cs (DrawString): Use GpRectF.
* gdipFunctions.cs: Updated method signatures.
* Graphics.cs (MultiplyTransform): Implemented using
GdipMultiplyWorldTransform from GDI+.
* gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
GpRect, to be more consistent with the C naming.
svn path=/trunk/mcs/; revision=20119
* WebConnection.cs: turns out that socket.Connected is not useful until
we actually try to send/receive data, even if the other end has already
closed the socket. Added TryReconnect() and Connected.
* WebConnectionData.cs: default value for StatusCode is 0 now.
* WebConnectionGroup.cs: reuse the connection since the beginning,
instead of opening up to ConnectionLimit and then reusing.
* WebConnectionStream.cs: reopen the socket if we're trying to reuse
one which fails on first write.
svn path=/trunk/mcs/; revision=20117
* appdomain.c (mono_runtime_get_out_of_memory_ex): New function to
return a preallocated out-of-memory exception instance.
* object.c (out_of_memory): Use the new function.
svn path=/trunk/mono/; revision=20116
* metadata.c (mono_metadata_parse_type): Handle the case when the byref
flag is before the custom modifiers. Fixes#49802.
svn path=/trunk/mono/; revision=20114
* GraphicsPathIterator.cs: Do not make this protected.
2003-11-16 Miguel de Icaza <[email protected]>
* Graphics.cs: Implement the other DrawString overloads .
2003-11-16 Miguel de Icaza <[email protected]>
* gdipStructs.cs (GdipRectF): Added utility constructor
svn path=/trunk/mcs/; revision=20092
* SqlParameterCollection.cs (Clear): Clear needs to take
the parameter out of the collection so that it can be used
again.
(Remove):
(RemoveAt): Ditto.
svn path=/trunk/mcs/; revision=20091
* pen.c (GdipResetPenTransform):
(GdipMultiplyPenTransform, GdipTranslatePenTransform):
(GdipScalePenTransform, GdipRotatePenTransform): Implemented..
* matrix.c (set_translate, set_scale, set_rotate): Helper
functions copied from Cairo. We are doing this because you can
specify the order of multiplcation in GDI+, but not in Cairo.
2003-11-15 Duncan Mak <[email protected]>
* graphics.c: Moved PI and GRADTORAD to gdip.h.
* gdip.h: Renamed GRADTORAD to DEGTORAD.
* matrix.c (GdipCloneMatrix): Fix argument order.
* matrix.c
(GdipMultiplyMatrix, GdipTranslateMatrix, GdipScaleMatrix):
(GdipRotateMatrix, GdipInvertMatrix):
(GdipTransformMatrixPoints, GdipVectorTransformMatrixPoints):
(GdipSetMatrixElements, GdipGetMatrixElements):
(GdipIsMatrixInvertible): Implemented.
* matrix.c (GdipIsMatrixIdentity, GdipIsMatrixEqual): Implemented,
but pending commit for cairo_matrix_equals to Cairo.
2003-11-15 Duncan Mak <[email protected]>
* gdipFunctions.cs: Imported matrix functions.
svn path=/trunk/mcs/; revision=20090
context.
* ConstructionCall.cs: Fixed signature of some methods.
* ConstructionResponse.cs: Fixed signature of constructor and added missing
property.
* LogicalCallContext.cs: Removed TODO.
* MethodCall.cs, MethodResponse.cs: Added support for LogicalCallContext in
consturctor.
* MethodReturnMessageWrapper.cs: Removed some unneded methods.
svn path=/trunk/mcs/; revision=20084
BinaryServerFormatterSink.cs, BinaryServerFormatterSinkProvider.cs:
Moved formatter code to BinaryCore. This adds support for the properties
"includeVersion" and "strictBinding" to the binary formatter.
* BinaryCore.cs: New file. Contains some code used by the binary formatter sinks.
* SoapClientFormatterSink.cs, SoapClientFormatterSinkProvider.cs,
SoapServerFormatterSink.cs, SoapServerFormatterSinkProvider.cs
Moved formatter code to BinaryCore. This adds support for the properties
"includeVersion" and "strictBinding" to the soap formatter.
* SoapCore.cs: New file. Contains some code used by the soap formatter sinks.
* ChannelCore.cs: New file. Implements a simple type binder used by the
formatter sinks.
svn path=/trunk/mcs/; revision=20074
* generic.cs (TypeArguments.Resolve):
`Expression.ResolveAsTypeTerminal()' returns a TypeExpr; call
`ResolveType()' on it to get the Type.
svn path=/trunk/mcs/; revision=20072
* Assembly.cs (InternalGetAssemblyName): New icall.
* AssemblyName.cs (GetAssemblyName): Implement this without loading
the assembly in question. Fixes#51035.
svn path=/trunk/mcs/; revision=20067
* assembly.c (mono_assembly_fill_assembly_name): New function to
fill out the MonoAssemblyName structure.
(mono_assembly_open): Use the new function.
* icall.c (fill_reflection_assembly_name): New helper function.
* icall.c (ves_icall_System_Reflection_Assembly_FillName): Use the
new function.
* icall.c (ves_icall_System_Reflection_Assembly_InternalGetAssemblyName): New icall.
svn path=/trunk/mono/; revision=20066
* gacutil.cs: Changed ... + Path.DirSepChar + ... to Path.Combine
Thanks to Ben Maurer. Turns out code marked as potentially not
needed was not needed, now refcounting with /u assemblyname works
as well.
svn path=/trunk/mcs/; revision=20054
* gacutil.cs: Added reference counting for installation and deletion.
An assembly will have a RefCount of 1 if --force is used.
svn path=/trunk/mcs/; revision=20053
* System/Environment.cs: use Directory in CurrentDirectory property.
We were not throwing any exception when setting the directory to an
invalid path.
* System.IO/Directory.cs:
(GetCurrentDirectory):
(SetCurrentDirectory): moved here from Environment. Handle error cases.
* System.IO/MonoIO.cs: add path to the default error message.
svn path=/trunk/mcs/; revision=20032
* class.c (mono_class_is_open_constructed_type): New public
function; checks whether a type is an open constructed type,
ie. whether it still contains type parameters.
(mono_class_inflate_generic_type): If we're a type parameter and
the inflated type is also a MONO_TYPE_(M)VAR, return the original
type.
* class.h (MonoGenericInst): Added `guint32 is_open'.
* loader.c (method_from_methodspec): Check whether we're an open
or closed constructed type and set `ginst->is_open'.
* reflection.c (mono_reflection_bind_generic_parameters): Check
whether we're an open or closed constructed type and set
`ginst->is_open'.
(mono_reflection_inflate_method_or_ctor): Don't inflate methods
from open constructed types.
svn path=/trunk/mono/; revision=20027
* reflection.c (mono_reflection_bind_generic_parameters): If we're
a generic instance (instead of a generic type declaration) with
unbound generic parameters, bind them to our actual types.
svn path=/trunk/mono/; revision=20021
Added handling of foreColor
Added handling of Pushbutton checkboxes
Added handling for three-state checkboxes
Added handling for alignment of checkbox and text
Added (incomplete) support for focus handling
svn path=/trunk/mcs/; revision=20019
* reflection.h (MonoReflectionGenericInst): Added `MonoArray *interfaces'.
* reflection.c (mono_reflection_bind_generic_parameters): If we're
an interface type, populate `res->interfaces' with instantiated
versions of all the interfaces we inherit.
svn path=/trunk/mono/; revision=20009
* MonoGenericInst.cs (MonoGenericInst): Added
`MonoGenericInst[] interfaces' field. This is only used for
interface types.
(MonoGenericInst.inflate): If we're an interface type, add the
methods from all interfaces we inherit.
svn path=/trunk/mcs/; revision=20008
* inssel-x86.brg, inssel-float.brg, mini-ops.h: move x86-specific
float rules to inssel-x86.brg: sane architectures with FP registers
don't need to implement these rules.
svn path=/trunk/mono/; revision=20006
cairo_t. We need this because this is used in matrix.c and we only
have cairo_matrix_t there.
* graphics.c: Updated calls to gdip_get_status.
* pen.c
(convert_line_cap, convert_line_join): Added static keyword.
(GdipDeletePen): Implemented.
* matrix.c
(GdipCreateMatrix2, GdipCloneMatrix, GdipInvertMatrix): Use
gdip_get_status instead of just returning Ok.
(GdipRotateMatrix, GdipScaleMatrix, GdipTranslateMatrix):
Implemented.
svn path=/trunk/mcs/; revision=19999
* DateTime.cs: Running tests in different timezones give different
results. Need to change the way these tests work. Disabling some
tests for now.
svn path=/trunk/mcs/; revision=19995
* corlib_test.dll.sources: added new ValueTypeTest.cs
* System/ValueType.cs:
(Equals): compare the fields of structs too.
(GetHashCode): combine the hash code of all the fields.
Fixes bug #50901 (will remove the icall in a couple of days).
* Test/corlib_linux_test.args: Removed file.
* Test/corlib_test.args: Removed file.
* Test/System/ValueTypeTest.cs: New file.
svn path=/trunk/mcs/; revision=19994
* Directory.cs: allow directory names without wildcards in the pattern.
Fixes bug #3 50969.
* SearchPattern.cs: made InvalidChars and WildcardChars internal.
svn path=/trunk/mcs/; revision=19990
* FileStream.cs: use the argument name when throwing exception.
* StreamReader.cs:
* StringReader.cs:
* TextReader.cs: added [In] attribute for the array in Read.
svn path=/trunk/mcs/; revision=19987
* WebConnectionStream.cs: when a callback is passed to BeginRead/Write,
wrap it and do our job before calling it. Fixes bug #48497.
svn path=/trunk/mcs/; revision=19985
* Makefile: Hacked up a bit to allow the assemblies generated to have
'Microsoft.Web.Services' as their AssemblyName.Name instead of
'Microsoft.Web.Services.1' and 'Microsoft.Web.Services.2'.
svn path=/trunk/mcs/; revision=19984
* ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
* ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
svn path=/trunk/mcs/; revision=19979
set. Add method to set Http response header data
* HttpCacheVaryByParams.cs: Add method to create a response header.
* HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
* HttpResponse.cs: Set cache headers.
svn path=/trunk/mcs/; revision=19971
respective client and server channels. Added implementatoin of the
interface IChannelReceiverHook.
* HttpRemotingHandler.cs: Implemented.
* HttpRemotingHandlerFactory.cs: Implemented.
* HttpServer.cs: In general, use Stream instances instead of Socket. It is
more reusable in this way. Also improved formatting.
* HttpServerChannel.cs: Implemented support for IChannelReceiverHook.
Added new method DispatchRequest in HttpServerTransportSink that can
be reused by HttpRemotingHandler.
svn path=/trunk/mcs/; revision=19943
* mono-api-diff.cs: ensure no nested type gets in as non-nested.
(May be a bug in MS?). Added ptype and params attributes for properties.
* mono-api-info.cs: fixed some cases where there's a name duplication
(multiple attributes, properties). Fixed completion counters.
svn path=/trunk/mcs/; revision=19939
* icall.c:
(ves_icall_Type_GetInterfaces): don't return an interface twice when
it's also implemented in base classes. Fixes bug #50927.
svn path=/trunk/mono/; revision=19933
* gc.c (ves_icall_System_GC_WaitForPendingFinalizers): Avoid deadlocks
if this method is called from a finalizer. Fixes#50913.
svn path=/trunk/mono/; revision=19932
* GenericOutputter.cs : Added HTML output support. Closer xmlns handling
to Xalan tests and MS.NET implementation (only for test convenience).
* XslOutput.cs : Indent holds string rathen than bool. Its default value
varies in the context. When method="html", then default is "yes".
* XslTransformProcessor.cs : Extension element prefixes should not
be written as stylesheet namespaces.
* XsltCompiledContext.cs : Return type of generate-id() is string.
Implemented unparsed-entity-uri().
svn path=/trunk/mcs/; revision=19928
* convert.cs (ImplicitReferenceConversion): We were missing a case
(System.Enum are not value types or class types, so we need to
classify them separatedly).
svn path=/trunk/mcs/; revision=19922
* AssemblyBuilder.cs (DefineDynamicModule): Make internal method
private.
* AssemblyBuilder.cs (Save): Write out the main module at the end.
svn path=/trunk/mcs/; revision=19912
* driver.cs : /imports option now is implemented
* mb-parser.jay: support for pre-imported namespaces (the default Microsoft.VisualBasic and those from /imports)
svn path=/trunk/mcs/; revision=19902
* mb-tokenizer.cs : integer literal (Hex starts with &H not 0x), handle Octal literals (&O)
* handle unicode specialized double-quotes in string literals
* corrected some mishandling of conversions in numeric literals
* implemented support for char literals ("z"c)
* Makefile : verbose target uses verbose argument
* testmbas/WriteOK.vb: many tests for literals implemented
* literal.cs: correcting lack of a ShortLiteral class
* mb-parser.jay: removed support for unsigned int literals, added support for short int literals
svn path=/trunk/mcs/; revision=19900
* ActivatedClientTypeEntry.cs: Set the value of ObjectType in the constructor
* ActivatedServiceTypeEntry.cs, WellKnownClientTypeEntry.cs,
WellKnownServiceTypeEntry.cs: Check that the provided type is valid.
svn path=/trunk/mcs/; revision=19887
* assembly.c (mono_assembly_load_references): Disable check because it
triggers on older corlibs which lots of people have.
svn path=/trunk/mono/; revision=19881
load corlib.dll if mscorlib.dll is not found.
* assembly.h: Remove corlib name define.
* class.c:
* domain.c:
* image.c: Change corlib name to mscorlib.
svn path=/trunk/mono/; revision=19878
system directory. Also use the full file name so users can
libraries names mscorlib-o-tron.dll in a non system dir.
svn path=/trunk/mcs/; revision=19876
* mono-math.h mono-math.c: New file which contains implementations of
math functions/macros which are missing on some platforms.
svn path=/trunk/mono/; revision=19870
* Directory.cs: Adjust for missing PlatformID.Unix.
2003-11-12 Miguel de Icaza <[email protected]>
* PlatformID.cs: Remove Unix platform, we cant expose constants
that are not in the framework.
* OperatingSystem.cs: Adjust for the breakage.
* RuntimeMethodHandle.cs: Fix signature.
* Double.cs: Fix signature of TryParse.
* String.cs (Concat (object, object, object, object)): Add missing method.
* OperatingSystem.cs: Removed Equals, GetHashCode, they were not
in the .NET Framework.
* Enum.cs: Hide constructor.
Fix ToUint16 to be explicitly implemented.
* Console.cs: Add couple of extra missing methods (Write and
WriteLine overloaded)
svn path=/trunk/mcs/; revision=19857
* appdomain.h: Added loader_optimization here to sync with the C#
code, and add disallow_binding_redirects field.
svn path=/trunk/mono/; revision=19845
* Encoding.cs: Use an internal variable to track the parameters of
each encoder, since the .NET API does not expose virtual methods
in the child classes, we should not depend on that.
* ASCIIEncoding.cs, UTF7Encoding, UTF8Encoding, UnicodeEncoding:
Initialize the parameters for base class encoding here.
svn path=/trunk/mcs/; revision=19843
* mono-api-diff.cs: fixed nullref and add warning when class type do not
match.
* mono-api-info.cs: ignore private classes.
svn path=/trunk/mcs/; revision=19838
* reflection.h (MonoMethodInfo): Track changes to the managed structure.
* icall.c (ves_icall_get_method_info): Return callingConvention as
well.
* icall.c (ves_icall_System_Reflection_Assembly_GetNamespaces): Add
namespaces from the EXPORTEDTYPE table as well.
* icall.c (ves_icall_System_Reflection_Assembly_GetTypes): Merge types
from all modules inside the assembly.
svn path=/trunk/mono/; revision=19831
* CorCompare.exe.sources: not needed now.
* Makefile: updated to build the 3 exes we have now.
* mono-api-info.cs: new program. Given an assembly name, it generates
an xml file with its public data.
* mono-api-diff.cs: compares 2 xml files generated with mono-api-info
and outputs an xml file suitable for building class status pages with
mono-api.xsl.
* mono-api.xsl: small modifications to corcompare.xsl to match the new
file format.
svn path=/trunk/mcs/; revision=19821
* reflection.c (resolution_scope_from_image): Use the assembly table
from the manifest module, since other modules don't have it.
svn path=/trunk/mono/; revision=19818
* debug-helpers.c (mono_type_full_name): New helper function.
* image.h (MonoAssembly): Change 'dynamic' to a boolean.
* image.c (mono_image_load_file_for_image): New public function which
is a replacement for the load_file_for_image in class.c.
* assembly.c (mono_assembly_load_module): A wrapper for the function
above which does assembly association and reference loading too.
* class.c (mono_class_from_name): Call mono_assembly_load_module.
svn path=/trunk/mono/; revision=19817
* appdomain.c: not all of the attributes for the full assembly name
are required and the order doesn't matter. Fixes bug #50787.
svn path=/trunk/mono/; revision=19814
* Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
CanRead because the schema can be readed with or without result
rows.
svn path=/trunk/mcs/; revision=19810
* ContextsTest.cs: Unregister dynamic properties even if there is an exception.
* CrossDomainCalls.cs: New test for the cross-app domain channel.
svn path=/trunk/mcs/; revision=19799
* DataColumnMappingCollection.cs: Fix a missing exception when the
required mapping is not in the collection. MS.NET throws an
exception there.
svn path=/trunk/mcs/; revision=19797
* *.cs, mb-parser.jay: Switched all from defining/using namespace Mono.CSharp to Mono.MonoBASIC
* location.cs: SymbolDocument now returns a SymbolDocumentWriter using the right (SymLanguageType.Basic) GUID
svn path=/trunk/mcs/; revision=19794
* typemanager.cs (TypeManager.ResolveExpressionTypes): Removed.
(TypeManager.InitCoreTypes): Initialize them here, but instead of
calling `ResolveType()' on them, directly assign their `Type'.
svn path=/trunk/mcs/; revision=19791
* metadata.c
(mono_metadata_load_generic_params): Make this actually work.
* reflection.c (mono_reflection_bind_generic_parameters): If our
parent is a generic instance, pass all the `types' to it, no
matter whether it has the same number of type parameters or not.
svn path=/trunk/mono/; revision=19786
* assembly.c (mono_assembly_load_references): Move the image<->assembly
assignment code to this function so it gets called recursively for all
modules.
* image.c (load_modules): Remove the assembly assignment since it is
now done by mono_assembly_load_references.
svn path=/trunk/mono/; revision=19782
* Assembly.cs (InternalGetType): Add a 'module' argument so this
method can be used from Module as well.
* Module.cs (GetType): Implement.
* Module.cs (GetTypes): Implement.
* Module.cs: Remove some [MonoTODO] attributes from implemented methods.
svn path=/trunk/mcs/; revision=19780
* Rfc2898DeriveBytes.cs: Implementation for PKCS5 PBKDF2. It works
except for the Reset() part - which implies some kind of Resume.
svn path=/trunk/mcs/; revision=19774
* DataBoundControl.cs: Implement
* ListControl.cs: inherit from the above.
* Repeater.cs, BaseDataList.cs: should reset whenever we databind.
svn path=/trunk/mcs/; revision=19773
* DataRow.cs: Use RemoveInternal instead of Remove because the last
one uses Delete and AcceptChanges.
* DataRowCollection.cs: When removing, Delete and AcceptChanges
method from the row are called. Added an internal method that will
be used by DataRow to "physically" remove the row from the list.
svn path=/trunk/mcs/; revision=19768
* Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
CommandBuilder to the local data. Local data should be null if the
client doesn't set them.
* Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
svn path=/trunk/mcs/; revision=19767
* XslAttribute.cs : namespace should be String.Empty if no specification
exists.
* XslNumber.cs : default format string is "1". See XSLT spec. 7.7.1.
svn path=/trunk/mcs/; revision=19765
* DataRow.cs (this[]) : First check if row is deleted.
(ItemArray) : First check if row is deleted.
(SetColumnValue) : Initiate error message when null violation happens. Check for array type when
setting the value of the row.
(EndEdit) : Check that the table's row is not in loading before validating constrains.
(CheckNullConstraints) : new method for validating null constraint violations.
* DataRowCollection.cs (ValidateDataRowInternal) : Adding validation of null constraint violation.
* DataSet.cs (CaseSensitive) : After changing the value - check constrains.
(EnforceConstraints) : When changing the value to true assert all constraints.
* UniqueConstraint.cs (AssertConstraint,CalcHashValue, RowsComparer) : Adding support for case insensitive comparison.
svn path=/trunk/mcs/; revision=19764
* corlib.dll.sources: Added new 1.2 classes for System.Security.Cryptography.
* corlib_test.dll.sources: Added unit tests for some HMAC (new in 1.2).
svn path=/trunk/mcs/; revision=19763
* HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
RFC2104.
* HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
* HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
svn path=/trunk/mcs/; revision=19762
* CryptoConfig.cs: Updated for RIPEMD160 and HMAC.
* CspKeyContainerInfo.cs: New (1.2). Information about CSP based key
containers.
* DataProtectionScope.cs: New (1.2). Enumeration for ProtectedData.
* HMAC.cs: New (1.2). Base class for all HMAC. Code is mostly copied
from internal Mono.Security.Cryptography.HMACAlgorith.cs.
* HMACMD5.cs: New (1.2). HMAC implementation using MD5.
* HMACRIPEMD160.cs: New (1.2). HMAC implementation using RIPEMD160.
* HMACSHA1.cs: Modified to derive from HMAC for .NET 1.2.
* HMACSHA256.cs: New (1.2). HMAC implementation using SHA256.
* HMACSHA384.cs: New (1.2). HMAC implementation using SHA384.
* HMACSHA512.cs: New (1.2). HMAC implementation using SHA512.
* ICspAsymmetricAlgorithm.cs: New (1.2). Interface for CSP based
asymmetric algorithm.
* KeyNumber.cs: New (1.2). Enumeration for CspKeyContainerInfo.
* MemoryProtectionScope.cs: New (1.2). Enumeration for ProtectedMemory.
* PaddingMode.cs: Added two new padding modes to enumeration (for 1.2).
* ProtectedData.cs: New (1.2). ProtectedData without protection (TODO).
* ProtectedMemory.cs: New (1.2). Stub for ProtectedMemory.
* Rfc2898DeriveBytes.cs: New (1.2). Stub for PKCS5 PBKDF2.
svn path=/trunk/mcs/; revision=19761
* class.c (mono_class_inflate_generic_method): Interface method
don't have a header.
* reflection.c (mono_image_get_methodspec_token): Take an
additional `MonoGenericInst *' argument instead of reading it from
the header; this is necessary to support interfaces.
(mono_image_create_token): Pass the `MonoGenericInst *' from the
MonoReflectionInflatedMethod to mono_image_get_methodspec_token().
(inflated_method_get_object): Take an additional `MonoGenericInst *'
argument.
* reflection.h (MonoReflectionInflatedMethod): Added
`MonoGenericInst *ginst'.
svn path=/trunk/mono/; revision=19759
* jscript-lexer-parser.g: Allow the building of numeric_literal and DECIMAL_LITERAL,
this is temporal in order to get Factorial compiled by mjs (must
build the types according to Ecma-262 spec).
* Literal.cs: Added NumericLiteral class.
2003-11-06 cesar lopez nataren <[email protected]>
svn path=/trunk/mcs/; revision=19757
* DataRowCollection.cs: To follow the specification: Remove and
RemoveAt should remove the row. But needed to call DeletingDataRow
to prepare the deleting.
* DataRow.cs: Don't call DeletingDataRow when it is called by the
method Table.Rows.Remove.
svn path=/trunk/mcs/; revision=19753
* RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
* RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
RIPEMD160Managed implementation.
svn path=/trunk/mcs/; revision=19752
* RIPEMD160.cs: New (1.2). Abstract class for RIPEMD160 hash from
Pieter Philippaerts ([email protected])
* RIPEMD160Managed.cs: New (1.2). Implementation of the RIPEMD160 hash
algorithm from Pieter Philippaerts ([email protected])
svn path=/trunk/mcs/; revision=19751
* UrlUtils.cs: new function to do the app mapping, but make
it return a physical path.
2003-11-08 Ben Maurer <[email protected]>
* SiteMap.cs (Init): implement a hack that doesnt need the config
stuff. Should do that later.
* SiteMapNodeCollection (OnValidate): Fix recursion.
* SiteMapProvider.cs: We dont implement some culture stuff work
around it. Fix typo.
* XmlSiteMapProvider.cs: Added.
svn path=/trunk/mcs/; revision=19749
* DataRowCollection.cs: Make the row be deleted by itself. If not,
it fails because we need to call OnRowDeleting and OnRowDeleted. It
is full implemented inside DataRow.
svn path=/trunk/mcs/; revision=19748
* X509ChainElementCollectionTest.cs: New. Unit tests for
X509ChainElementCollection.
* X509ChainElementEnumeratorTest.cs: New. Unit tests for
X509ChainElementEnumerator.
* X509ChainPolicyTest.cs: New. Unit tests for X509ChainPolicy.
* X509ChainTest.cs: New. (Incomplete) Unit tests for X509Chain.
* X509StoreTest.cs: New. (Incomplete) Unit tests for X509Store.
svn path=/trunk/mcs/; revision=19746
* OpenFlags.cs: New (1.2). Enumeration for certificate stores.
* StoreLocation.cs: New (1.2). Enumeration for certificate stores.
* StoreName.cs: New (1.2). Enumeration for certificate stores.
* X509Chain.cs: New (1.2). Class to build a certificate chain up to a
trusted anchor.
* X509ChainElement.cs: New (1.2). Element from the chain (certificate,
status and information) - only stubbed for now.
* X509ChainElementCollection.cs: New (1.2). Collection class for
X509ChainElement.
* X509ChainElementEnumerator.cs: New (1.2). Enumerator class for
X509ChainElement.
* X509ChainPolicy.cs: New (1.2). Policy to build a certificate chain.
* X509ChainStatusFlags.cs: New (1.2). Enumeration for chain status.
* X509FindType.cs: New (1.2). Enumeration for how to find X.509
certificates in stores.
* X509IncludeOption.cs: New (1.2). Enumeration for options about which
certificate(s) to store within a (pkcs7) structure.
* X509KeyUsageFlags.cs: New (1.2). Enumeration for specifying valid
usage for a keypair.
* X509NameType.cs: New (1.2). Enumeration for different types of name
that can be present inside a certificate.
* X509RevocationFlag.cs: New (1.2). Enumeration for specifying which
certificates should be verified for revocation in a chain.
* X509RevocationMode.cs: New (1.2). Enumeration for specifying how the
revocation process should find it's informations.
* X509SelectionFlag.cs: New (1.2). Enumeration about how to select
certificates (ui-related).
* X509Store.cs: New (1.2). X.509 certificate store access - not complete.
* X509VerificationFlags.cs: New (1.2). Enumeration for parameters
affecting the verification of a certificate chain.
svn path=/trunk/mcs/; revision=19745
* Makefile: Little fix for build the resources.
* Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
command.
svn path=/trunk/mcs/; revision=19744
* ContentInfoTest.cs: New. (Incomplete) Unit tests for ContentInfo.
* Pkcs7SignerTest.cs: New. New. Unit tests for Pkcs7Signer.
* RecipientInfoTest.cs: New. Unit tests for abstract class
svn path=/trunk/mcs/; revision=19743
* ContentInfo.cs: New. Class to encapsulate PKCS7 ContentInfo. Static
method GetContentType need to be completed (requires some test vectors).
* Pkcs7Signer.cs: New. Class to add attributes (authenticated and/or
authenticated), certificates and other informations to the signature.
* RecipientInfo.cs: New. Abstract class to encpasulate recipient
informations.
svn path=/trunk/mcs/; revision=19742
* Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
calls, the problem is fixed.
* Makefile: Fix one bug in the build of resources.
svn path=/trunk/mcs/; revision=19739
* class.cs (TypeContainer.GetClassBases): Use TypeExpr's for the
return value and the `out parent' parameter.
(TypeContainer.DefineType): Moved the CS0644 check into
GetClassBases(). Don't pass the interface types to the
`builder.DefineType()'/`builder.DefineNestedType()', but resolve
them later and then call `TypeBuilder.AddInterfaceImplementation()'.
* ecore.cs (TypeExpr.IsAttribute): New property.
(TypeExpr.GetInterfaces): New method.
* interface.cs (Interface.GetInterfaceTypeByName): Return a
TypeExpr instead of a Type.
(Interface.GetInterfaceBases): Return TypeExpr's instead of Type's.
(Interface.DefineType): Don't pass the interface types to the
`builder.Definetype()'/`builder.DefineNestedType()', but resolve
them later and then call `TypeBulider.AddInterfaceImplementation()'.
* typemanager.cs (TypeManager.AddUserType): Take a `TypeExpr[]'
instead of a `Type[]'.
(TypeManager.RegisterBuilder): Likewise.
(TypeManager.AddUserInterface): Likewise.
(TypeManager.ExpandInterfaces): Take a `Type[]' instead of a
`Type[]' and also return a `TypeExpr[]'.
(TypeManager.GetInterfaces): Return a `TypeExpr[]'.
svn path=/trunk/mcs/; revision=19734
* decl.cs (DeclSpace.GetTypeResolveEmitContext): Call
TypeManager.ResolveExpressionTypes().
* ecore.cs (Expression.ResolveAsTypeTerminal): Return a TypeExpr
instead of an Expression.
(TypeExpr): This is now an abstract base class for `TypeExpression'.
(TypeExpression): New public class; formerly known as `TypeExpr'.
* expression.cs (ComposedCast): Derive from TypeExpr.
* typemanager.cs (TypeManager.system_*_expr): These are now
TypExpr's instead of Expression's.
(TypeManager.ResolveExpressionTypes): New public static function;
called from DeclSpace.GetTypeResolveEmitContext() to resolve all
of them.
svn path=/trunk/mcs/; revision=19732
* Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
* Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
OnRowUpdating is called we create the command necesary for updating,
inserting or deleting any row of the DataTable/DataSet.
* Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
work. This must be removed when ResMan works.
* Npgsql/NpgsqlParameter: No more than one call to value.GetType()
is more efficient for the deep if structure types.
svn path=/trunk/mcs/; revision=19730
that the .x and .y values are not being posted, and only the x
value is being posted with the ctrl's id as the key.
svn path=/trunk/mcs/; revision=19725
* Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
change. The Command objects must not be created in the constructor.
The Commands should be in the overrided method "OnRowUpdating".
* Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
the proper exception (not MissingManifestResourceException). It is
thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
svn path=/trunk/mcs/; revision=19713
* AlgorithmIdentifierTest.cs: New. Unit tests for AlgorithmIdentifier.
* CryptographicAttributeTest.cs: New. Unit tests for CryptographicAttribute.
* Pkcs9AttributeTest.cs: New. Unit tests for Pkcs9Attribute (same as for
CryptographicAttribute).
* Pkcs9DocumentDescriptionTest.cs: New. Unit tests for Pkcs9DocumentDescription.
* Pkcs9DocumentNameTest.cs: New. Unit tests for Pkcs9DocumentName.
* Pkcs9SigningTimeTest.cs: New. Unit tests for Pkcs9SigningTime.
svn path=/trunk/mcs/; revision=19710
* expression.cs (New.DoResolve): Do not dereference value that
might be a null return.
* statement.cs (Block.EmitMeta): Use the Const.ChangeType to make
sure that the constant value has the right type. Fixes an
unreported bug, similar to 50425.
* const.cs (Const.LookupConstantValue): Call
ImplicitStandardConversionExists before doing a conversion to
avoid havng the TypeManager.ChangeType do conversions.
Reduced the number of casts used
(Const.ChangeType): New routine to enable reuse of the constant
type changing code from statement.
* typemanager.cs (ChangeType): Move common initialization to
static global variables.
Fixes#50425.
svn path=/trunk/mcs/; revision=19707
* Iterator.cs: (AxisIterator.ComparablePosition): Remove. Let
it inherit from the base class. This made b[2] evaluated on
<a /><b /><c /><a /><b /><c /> return the first b node because
in the ChildIterator it was the second node and seemed to satsify
the predicate.
svn path=/trunk/mcs/; revision=19706
* AsnEncodedDataTest.cs: New. Unit tests for AsnEncodedData (.NET 1.2).
* OidTest.cs: New. Unit tests for Oid (.NET 1.2).
* OidCollectionTest.cs: New. Unit tests for OidCollection (.NET 1.2).
* OidEnumeratorTest.cs: New. Unit tests for OidEnumerator (.NET 1.2).
svn path=/trunk/mcs/; revision=19702
* AsnEncodedData.cs: New. Class to encapsulate ASN.1 data (.NET 1.2).
* Oid.cs: New. Class to encapsulate OIDs (.NET 1.2).
* OidCollection.cs: New. ICollection based class for OIDs (.NET 1.2).
* OidEnumerator.cs: New. IEnumerator based class for OIDs (.NET 1.2).
svn path=/trunk/mcs/; revision=19701
* BinarySecurityTokenTest.cs: Fixed some tests and added one for RawData.
* DecryptionKeyProviderTest.cs: New. Unit tests for DecryptionKeyProvider.
* SignatureTest.cs: Updated for WSE2 compatibility (SignatureOptions).
svn path=/trunk/mcs/; revision=19700
* BinarySecurityToken.cs: Oops unit tests were failing on this one. Also implemented RawData (it's actually used - see updated unit tests).
* DecryptionKeyProvider.cs: Basic implementation based on code I (wrongly) put in EncryptedKey.
* EncrypedKey.cs: Now calls DecryptionKeyProvider.
* SignatureOptions.cs: Updated for WSE2 compatibility (removed IncludePath*).
svn path=/trunk/mcs/; revision=19699
* VBCodeGenerator.cs: some corrections regarding missing spaces in
generated code (e. g. "Property "). QuoteSnippetString implemented.
Patch by Jochen Wezel ([email protected]).
svn path=/trunk/mcs/; revision=19697
* mini.h (mono_arch_setup_jit_tls_data): New arch specific function.
* mini.c (setup_jit_tls_data): Call the new function.
* mini-x86.c mini-ppc.c mini-sparc.c: Define the new function.
* mini-x86.c: Add experimental support for fast access to the lmf
structure under NPTL/Linux 2.6.x.
svn path=/trunk/mono/; revision=19693
updating.
* SessionSqlServerHandler.cs:
* SessionInProcHandler.cs: Accept SessionStateModule when
updating. Use new SessionId.Create method for creating session
ids.
* SessionStateModule.cs: Add a random number generator that will
be used for creating session ids. Pass this to handlers when
updating.
* SessionId.cs: New class for creating session ids.
svn path=/trunk/mcs/; revision=19689
* reflection.c
(reflection_methodbuilder_from_method_builder):
(reflection_methodbuilder_from_ctor_builder): New helper functions to
initialize a ReflectionMethodBuilder structure.
(mono_image_get_methodbuilder_token):
(mono_image_get_ctorbuilder_token): New functions to emit memberref
tokens which point to types in another module inside the same assembly.
* reflection.c: Use the new helper functions.
svn path=/trunk/mono/; revision=19686
* ldscript: Make `GC_push_all_stack', `GC_start_blocking',
`GC_end_blocking' and 'gc_thread_vtable' public; they're used by
the debugger.
svn path=/trunk/mono/; revision=19683
* icall.c loader.c reflection.c: Use ModuleBuilder->dynamic_image
instead of AssemblyBuilder->dynamic_assembly in the appropriate places.
* reflection.c (resolution_scope_from_image): Emit a moduleref if
neccesary.
* reflection.c (mono_image_build_metadata): Emit metadata only for the
current module. Emit the manifest only for the main module.
* reflection.c (mono_image_create_token): Add assertion when a
memberref needs to be created.
* reflection.c reflection.h (MonoDynamicAssembly): Remove unused fields.
* reflection.c (mono_reflection_get_custom_attrs_blob): Allocate a
larger buffer for the custom attribute blob. Fixes#50637.
svn path=/trunk/mono/; revision=19675
* Mono.Security.Protocol.Tls/CipherSuite.cs:
- Added custom padding for record encryption.
2003-11-03 Carlos Guzm�n �lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
- Removed file.
* Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
- New class for handshake hashes calculation on SSL3 protocol.
* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
- Fixed mac keys clearing for SSL3 protocol.
* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
- Added changes for make use of new TlsSslHandshakeHash class.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
- Added initial implementation for SSL3 protocol.
* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
- New class for md5-sha hash calculation.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
- Make use of new MD5SHA1CryptoServiceProvider class.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
- Added initial implementation (not finished).
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
- Minor change to message processing.
- Changed verify method name to verifySignature.
* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
- Changed handshakeHashes member to be an TlsStream.
2003-10-28 Carlos Guzm�n �lvarez <[email protected]>
* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
- Added changes for make use of X509 classes from mono.
svn path=/trunk/mcs/; revision=19673
* convert.cs (ImplicitReferenceConversion): Somehow we allowed
every value type to go through, even if it was void. Fix that.
svn path=/trunk/mcs/; revision=19667
* ICollection.cs, IList.cs, IEnumerator.cs, IEnumerable.cs:
Started to implement the System.Collections.Generic classes.
svn path=/trunk/mcs/; revision=19666
* cs-tokenizer.cs: Use is_identifier_start_character on the start
character of the define, and the is_identifier_part_character for
the rest of the string.
svn path=/trunk/mcs/; revision=19665
* expression.cs (UnaryMutator.EmitCode): When I updated
LocalVariableReference.DoResolve, I overdid it, and dropped an
optimization done on local variable references.
svn path=/trunk/mcs/; revision=19661
to keep track if we are inside nested blocks. At
'func_decl_or_expr', now I built the FunctionDeclaration or
FunctionExpression first and then assign its body to it - this let
me get a non-null value of the FunctionExpression or
FunctionDeclaration so I can detect if it's a nested block (thanks go to Jackson!).
svn path=/trunk/mcs/; revision=19643
on all Relations.
(GetChildRows) : Adding some checks.
(GetParentRows) : Adding some checks. Fix a bug in implementation.
(SetParentRow) : Added implementation.
* DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
* DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
* ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
* MergeManager.cs : Check that the target table is not null.
svn path=/trunk/mcs/; revision=19640
* HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just return false
(which makes sense, as the custom errors *arent* enabled; ie they dont work.
* HttpResponseStream.cs: you actually can write with len = 0
* AssemblyResourceLoader.cs: New file. New v2 handler.
* Control.cs (GetWebResourceUrl): new v2 function
* Page.cs (GetWebResourceUrl): ditto.
make the JS we generate work with moz if the form is not a child
of document.
* WebResourceAttribute.cs: Added, new v2 attribute.
svn path=/trunk/mcs/; revision=19631
* Iterator.cs : Added bool ReverseAxis property to identify whether
the iterator is in reverse order or not. Added ComparablePosition
for correct position comparison for PredicateIterator and reverse-
order-axes. Modified AncestorIterator, AncestorOrSelfIterator,
PrecedingIterator and PrecedingSiblingIterator to make MoveNext()
return their nodes in document order. This fixes bugzilla #39079.
svn path=/trunk/mcs/; revision=19621
type, when instantiating alternating items use the itemTemplate if
the alternatingItem template is null. This matches MS behavoir and
fixes bug #50157.
svn path=/trunk/mcs/; revision=19610
paging is disabled. Patch by Yaron Shkop.
* PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
* TableStyle.cs (AddAttributesToRender): Render border style
collapse. Patch by Yaron Shkop.
* TableStyle.cs:
* TableItemStyle.cs:
* DataGridPagerStyle.cs: Call base copy and merge even if style is of
the wrong type. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19605
Reformated the code to follow GTK+ style C; renamed
types to reflect the names used in the Flat API reference. Added
implementions for Ellipses, Lines, Polygons and what not.
2003-11-01 Duncan Mak <[email protected]>
* matrix.c
(GdipCreateMatrix, GdipCreateMatrix2, GdipCloneMatrix):
(GdipDeleteMatrix, GdipInvertMatrix): Implemented; the rest of the
functions are stubbed out.
* gdip_defs.h (GpMatrixOrder): Added.
* gdip_main.h
(GpRect, GpRectF): Synonyms for Rect and RectF.
(GpMatrix): An alias of cairo_matrix_t.
* Makefile: Added matrix.c.
2003-10-28 Duncan Mak <[email protected]>
* Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
(FillEllipse, FillPolygon): implemented.
(RenderingOrigin): implemented.
* gdipFunctions.cs: Added new GDI+ equivalents.
2003-10-28 Duncan Mak <[email protected]>
* gdip_main.h, gdip_def.h:
Renamed all gdip_foo_ptr types are now GpFoo *.
Renamed Status to GpStatus.
Reformatted all C++ style comments to C style comments.
Reformatted all C function prototypes to the style used by GTK+.
* gdip_main.h (GpPoint, GpPointF): Added.
* gdip_defs.h (GpFillMode): Added.
* graphics.c (make_ellipse):
(make_polygon, make_polygon_from_integers):
(make_pie): private functions (make_foo) to be reused by DrawFoo
and FillFoo.
(convert_fill_mode): Converts a GpFillMode to a cairo_fill_rule_t.
(GdipDrawPie, GdipFillEllipse, GdipFillPolygon): Implemented.
2003-10-26 Duncan Mak <[email protected]>
* graphics.c
(GdipSetRenderingOrigin, GdipGetRenderingOrigin): Implemented.
2003-10-25 Duncan Mak <[email protected]>
* graphics.c
(GdipDrawBezier, GdipDrawBezierI):
(GdipDrawBeziers, GdipDrawBeziersI):
(GdipDrawLine, GdipDrawLineI):
(GdipDrawLines, GdipDrawLinesI): implemented.
(GdipFillRectangle):
(GdipDrawString): Make use of gdip_get_status.
* general.c
(gdip_get_status): A new function for retrieving a Status from a
cairo_t.
svn path=/trunk/mcs/; revision=19604
* ISessionHandler.cs: Add method to update the session state
data in the handler. Pass the session config to handlers when
initializing.
* SessionConfig.cs: Add StateNetworkTimeout
* SessionInProcHandler.cs: Updates because interface has
changed, all functionality is the same.
* SessionStateModule.cs: Get new config items, allow SQLServer
session manager type. Update session handlers when the session
state has been released.
* SessionStateSectionHandler.cs: Add StateNetworkTimeout
* SessionSQLServerHandler.cs: New class allows sessions to be
stored in a database.
svn path=/trunk/mcs/; revision=19596
* TypeBuilder.cs (DefineDefaultConstructor): Pass an array instead of
null to DefineConstructor, to avoid NullReferenceExceptions in the
binder code.
svn path=/trunk/mcs/; revision=19594
* reflection.h (MonoDynamicImage): New type which is currently unused,
but will be used through the ref.emit code in place of
MonoDynamicAssembly.
* reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
object layout.
* reflection.c (create_dynamic_mono_image): Rewrote so it now creates
a MonoDynamicImage instead of just a MonoImage.
* reflection.h reflection.c icall.c: Move nearly all AssemblyBuilder
icalls to ModuleBuilder but keep their semantics, so they will work
with moduleb->assemblyb. This will change later.
svn path=/trunk/mono/; revision=19593
* AssemblyBuilder.cs ModuleBuilder.cs ILGenerator.cs: Move getUSIndex
and getToken methods, and the associated icalls to ModuleBuilder,
since tokens are per-module.
* AssemblyBuilder.cs ModuleBuilder.cs: Partially revert the previous
patch, since having the 'is_main' field is useful in the unmanaged
code.
* AssemblyBuilder.cs ModuleBuilder.cs: Move the metadata creation and
file creation logic to ModuleBuilder:Save (), since this needs to be
done for every module. Also move the corresponding icalls to
ModuleBuilder.
svn path=/trunk/mcs/; revision=19592
* reflection.c (mono_reflection_inflate_method_or_ctor): Set
`ginst->klass' here.
(method_encode_methodspec): Don't use the `ginst->generic_method's
klass if it's a generic instance, use `ginst->klass' in this case.
svn path=/trunk/mono/; revision=19589
and add it again with the correct name). Not based on the Visitor
pattern anymore. Deleted all the VisitFOO methods. Added a
IdentificationTable field. Added Run, Dump methods.
svn path=/trunk/mcs/; revision=19584
* Microsoft.JScript.dll.sources: Added IdentificationTable.cs,
SemanticAnalizer.cs and SymbolTable.cs to the build.
svn path=/trunk/mcs/; revision=19579
* reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
object layout.
* reflection.c (mono_image_build_metadata): Avoid creation of a default
main module, since it is now done by the managed code.
svn path=/trunk/mono/; revision=19575
* AssemblyBuilder.cs ModuleBuilder.cs: First steps toward a fix for
#48700 (proper module support in Ref.Emit). Remove is_main field from
ModuleBuilder and add a mainModule field to AssemblyBuilder instead.
This is neccesary, since the main module is determined during the
Save () call: the module with the same file name as the assembly is
the main module. Also create a default main module, if one is not
existing.
svn path=/trunk/mcs/; revision=19574
* reflection.c (mono_image_get_generic_method_param_info):
Removed, use mono_image_get_generic_param_info() instead.
(mono_image_get_type_info): Write the GenericParam table before
the Method table. This is neccessary because in the GenericParam
table, type parameters of the class (ie. '!0' etc.) must come
before the ones from its generic methods (ie. '!!0' etc).
svn path=/trunk/mono/; revision=19573
can be converted to the column type.
* DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
* DataRow.cs (EndEdit) : Check if we need to validate the constraints.
(GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
* DataRowCollection.cs (Add) : Fixing a bug.
(Clear) : Before clearing the array check that there is no violation of FK constraint.
* DataSet.cs (Prefix) : If value is null chage it to empty string.
(GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
* ExpressionElement : Adding support for IN expresion.
* DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
(Select) : Adding support for DataViewwRowState.
* ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
* MergeManager.cs (MergeRow) : Fix bugs.
svn path=/trunk/mcs/; revision=19572
* expression.cs (ArrayAccess.GetStoreOpcode): Added
`out bool has_type_arg'; if set, we need to pass the type to
ig.Emit().
(ArrayAccess.GetStoreOpcode, ArrayAccess.EmitLoadOpcode): Use
Stelem_Any/Ldelem_Any for generic parameters.
svn path=/trunk/mcs/; revision=19570
* Compiler.cs : More complete attribute set gathering.
GetNamespacesToCopy() should only return Local namespaces.
* GenericOutputter.cs : Added support for indentation.
Added easy hack for html output.
More correct Prefix handling (considers already defined ones).
Namespace emmission is moved to CheckState().
* Emitter.cs, XmlWriterEmitter.cs, GenericOutputter.cs, Outputter.cs :
Added WriteFullEndElement(). (i.e. IsEmptyElement support)
* GenericOutputter.cs, Outputter.cs :
Added CanProcessAttributes property for
use-attribute-sets of xsl:copy.
* XslStylesheet.cs : Added support for stylesheet-defined xmlns decls.
Added support for exclude-result-prefixes.
* XslTransformProcessor.cs : Added support for stylesheet-defined xmlns.
svn path=/trunk/mcs/; revision=19553
* XmlDocumentNavigator.cs : Fixed MoveToFirstChild() and MoveToNext()
to skip XmlEntityReference.
* XmlTextWriter.cs : Fixed AddMissingElements() and
WriteStartAttribute() not to emit extraneous xmlns.
svn path=/trunk/mcs/; revision=19552
* reflection.c (create_generic_typespec): Take a
`MonoReflectionTypeBuilder *' instead of a `MonoType *' and get
the generic parameters from it.
svn path=/trunk/mono/; revision=19550
* mini.c (inflate_generic_field): New static method.
(mono_method_to_ir): In CEE_LDFLD and CEE_LDSFLD: if we're a
generic instance and the field is declared in a generic type, call
inflate_generic_field() to inflate it. Fixes gen-28.cs.
svn path=/trunk/mono/; revision=19549
* reflection.c (fieldref_encode_signature): Take a `MonoType *'
instead of a `MonoClassField *' since we just need the type.
(create_generic_typespec): New static function. Creates a
TypeSpec token for a generic type declaration.
(mono_image_get_generic_field_token): New static function.
(mono_image_create_token): If we're a FieldBuilder in a generic
type declaration, call mono_image_get_generic_field_token() to get
the token.
svn path=/trunk/mono/; revision=19547
* XmlTextWriter.cs : Skip multiple xmlns when element and any of
attributes have the same xmlns values.
WriteEndElement() allows open attribute (calles WriteEndAttribute()).
Indentation should be inserted between ">" and "</xxx>" .
svn path=/trunk/mcs/; revision=19546
* MonoGenericInst.cs (MonoGenericInst.initialize): Include members
from our parent classes in the `methods', `ctors' and `fields'
arrays. When inflating them, reflection now sets their
`declaring_type' and `reflected_type' fields.
(MonoInflatedMethod, MonoInflatedCtor): Added
`MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
fields and override the `DeclaringType' and `ReflectedType' properties.
svn path=/trunk/mcs/; revision=19544
* reflection.h
(MonoReflectionInflatedMethod, MonoReflectionInflatedField): Added
`MonoReflectionGenericInst *declaring_type' and
`MonoReflectionGenericInst *reflected_type' fields.
* reflection.c (mono_reflection_inflate_method_or_ctor): Take a
`MonoReflectionGenericInst *declaring_type' and a
`MonoReflectionGenericInst *reflected_type' argument instead of a
single `MonoReflectionGenericInst *type' one. Set
`res->declaring_type' and `res->reflected_type' from them.
(mono_reflection_inflate_field): Likewise.
svn path=/trunk/mono/; revision=19543
* expression.cs (Invocation.EmitCall): Use
`TypeManager.IsValueType()' to check whether it's a value type.
Don't set `struct_call' when calling a method on a type parameter.
svn path=/trunk/mcs/; revision=19541
* XmlConvert.cs: Only parse INF/-INF/NaN. Other Infinty or NAN
numbers are parsed with the respective ::Parse method.
svn path=/trunk/mcs/; revision=19534
* XmlConvert.cs: Revert my last change. INF and -INF must be
processed here because Double::Parse and Single::Parse doesn't
understand anything of parsing [-]INF.
svn path=/trunk/mcs/; revision=19533
* DateTimeTest.cs: Changed the Asserts to fix some things related to
universal time, we can't test the equality if one DateTime is into
the code and the other comes from the TimeZone. Different TimeZones,
different errors in the test.
svn path=/trunk/mcs/; revision=19530
* CrossAppDomainChannel.cs (SyncProcessMessage): Use the new
InvokeInDomain function instead of calling SetDomain.
svn path=/trunk/mcs/; revision=19525
* assembly.c (mono_assembly_open): Avoid crash if a module is loaded
with an empty ASSEMBLY table.
* reflection.c (mono_image_build_metadata): Avoid using the same loop
variable in the inner and outer loops.
svn path=/trunk/mono/; revision=19522
* DateTime.cs: Fixed Add* methods handling. Now it works properly
with extreme values (there is a bug with Overflow and Underflow in
long type).
svn path=/trunk/mcs/; revision=19515
* OASISTest.cs: New. Unit test for WSE2 OASIS descriptions.
* SaMLTest.cs: New. Unit test for WSE2 SaML descriptions.
* SMSecurityTest.cs: New. Unit test for WSE2 SMSecurity descriptions.
* XmltokTest.cs: New. Unit test for WSE2 Xmltok descriptions.
* XrMLTest.cs: New. Unit test for WSE2 XrML descriptions.
svn path=/trunk/mcs/; revision=19513
* IReplayCache.cs: New. Interface for ReplayCache.
* OASIS.cs: New. Implementation for OASIS WS-Security (prefix "wsse").
* ReplayCacheManager.cs: New. Stub, with MonoTODO, for WSE2.
* SaML.cs: New. SAML description (prefix/ns) for WS-Security.
* SecurityTokenCache.cs: New. Stub, with MonoTODO, for WSE2.
* SecurityTokenReferenceType.cs: New. Stub, with MonoTODO, for WSE2.
* SMSecurity.cs: New. Implementation for WS-Security ("wsse" and
"http://schemas.xmlsoap.org/ws/2002/12/secext").
* SMSecurityBase.cs: New. Abstract class to retrieve Prefix and Namespace.
* SynchronizedSecurityTokenCache.cs: New. Stub, with MonoTODO, for WSE2.
* WSEReplayCache.cs: New. Stub, with MonoTODO, for WSE2.
* Xmltok.cs: New. WS-Security Profile for XML-based Tokens (descriptions).
* XrML.cs: New. eXtensible rights Markup Language descriptions for WS-Security.
svn path=/trunk/mcs/; revision=19512
* DateTimeTest.cs: Removed Universal Time in ToString because in
each computer that could be different. We need more control over
that to know what the result should be.
svn path=/trunk/mcs/; revision=19511
* mini.h mini.c (mono_method_same_domain): New function to return
whenever the caller and the callee are in the same domain.
* tramp-x86.c (x86_magic_trampoline): Use the new function.
svn path=/trunk/mono/; revision=19507
* AppDomain.cs (InternalPushDomainRef): New icalls.
* AppDomain.cs (InvokeInDomain): New method to execute code in a
different appdomain.
svn path=/trunk/mcs/; revision=19506
* appdomain.c appdomain.h icall.c: Get rid of the InvokeInDomain
icalls. Instead, do everything in managed code. This is needed since
it is hard to restore the original domain etc. in unmanaged code in the
presence of undeniable exceptions.
* appdomain.c (ves_icall_System_AppDomain_InternalPushDomainRef):
New icalls to push and pop appdomain refs.
svn path=/trunk/mono/; revision=19505
* appdomain-unload.cs: New file. AppDomain Unloading tests.
* Makefile: Add new test + enable IL tests now that we have a working
ilasm.
svn path=/trunk/mono/; revision=19503
* interp.c (mono_create_method_pointer): New function which contains
the arch independent part of the method wrapper creation. Add a cache
for the wrapper code, since Delegate::Equals depends on the wrapper
address being constant for a method. Fixes#50366.
svn path=/trunk/mono/; revision=19501
* */tramp.c (mono_create_method_pointer): Rename to
mono_arch_create_method_pointer, move common code to a new function in
interp.c.
* */tramp.c (mono_create_trampoline): Rename to
mono_arch_create_trampoline for consistency.
svn path=/trunk/mono/; revision=19500
* class.c (inflate_generic_type): Renamed to
mono_class_inflate_generic_type() and made it public.
* icall.c ("System.Reflection.MonoGenericInst::inflate_field"):
New interncall.
* loader.c (mono_field_from_memberref): Also set the retklass for
typespecs.
* fielder.c (mono_image_get_inflated_field_token): New static
method; creates a metadata token for an inflated field.
(mono_image_create_token, fixup_method): Added support for
"MonoInflatedField".
(fieldbuilder_to_mono_class_field): New static function.
(mono_reflection_inflate_field): New public function.
* reflection.h
(MonoReflectionGenericInst): Added `MonoArray *fields'.
(MonoReflectionInflatedField): New typedef.
svn path=/trunk/mono/; revision=19497
* MonoGenericInst.cs (MonoInflatedField): New internal class.
(MonoGenericInst.GetFields): Override this method and inflate
the fields.
* MonoField.cs: Don't make this class sealed.
svn path=/trunk/mcs/; revision=19496
* Compiler.cs : It is not important, but attribute order became closer
to MS.NET and Xalan (assuming from OASIS tests).
svn path=/trunk/mcs/; revision=19485
* GenericOutputter.cs : Attribute wasn't overwritten its properties
because Attribute is struct it was let to another local variable.
svn path=/trunk/mcs/; revision=19484
* mini.c (MTYPE_PARAM_TO_TYPE, MTYPE_PARAM_TO_CLASS): New macros;
similar to TYPE_PARAM_TO_TYPE and TYPE_PARAM_TO_CLASS, but for
method parameters.
(mono_method_to_ir): Added support for MONO_TYPE_MVAR; similar to
MONO_TYPE_VAR, we the actual types from MTYPE_PARAM_TO_CLASS().
svn path=/trunk/mono/; revision=19482
* class.c (inflate_generic_type): Take just one `MonoGenericInst *'
argument instead of two.
(mono_class_inflate_generic_signature): Likewise.
(inflate_generic_header): Likewise.
(mono_class_inflate_generic_method): Likewise. In addition, if
`ginst->klass' is set, it becomes the new `method->klass'.
* class.h (MonoGenericInst): Removed the `gpointer mbuilder'
field.
* reflection.c (encode_generic_method_sig): Write a 0xa as the
first byte. [FIXME]
(method_encode_methodspec): If we have generic parameters, create
a MethodSpec instead of a MethodRef.
(fixup_method): Added support for "MonoInflatedMethod" and
"MonoInflatedCtor".
(mono_image_create_token): Added support for "MonoInflatedMethod"
and "MonoInflatedCtor".
(inflated_method_get_object): New static function; returns a
managed "System.Reflection.MonoInflatedMethod" object.
(mono_reflection_bind_generic_method_parameters): Return a
`MonoReflectionInflatedMethod' instead of a `MonoReflectionMethod'.
(mono_reflection_inflate_method_or_ctor): Likewise.
(mono_image_get_generic_method_param_info): Initialize unused
fields to zero.
(mono_image_get_generic_param_info): Likewise.
* reflection.h (MonoReflectionInflatedMethod): New public
typedef. Corresponds to the managed "S.R.MonoInflatedMethod" and
"S.R.MonoInflatedCtor" classes.
* loader.c (method_from_memberref): If we're a TypeSpec and it
resolves to a generic instance, inflate the method.
svn path=/trunk/mono/; revision=19481
is no post data. This fixes bug #49091.
* CheckBoxList.cs: Do not change the status of the checkboxes when
there is no post data. This fixes bug #49093.
svn path=/trunk/mcs/; revision=19465
* io.c (MoveFile): If the move crosses filesystems, try and fall
back to copy and delete. Patch from J�rg Rosenkranz
([email protected]), fixes bug 50298.
svn path=/trunk/mono/; revision=19460
* mini.c mini-ops.h inssel.brg: Implement undeniable exception
propagation.
* mini.c (sigusr1_signal_handler): Move creation of the thread abort
object here, so it is in the correct appdomain etc.
svn path=/trunk/mono/; revision=19459
* object.h (MonoThread): New field 'appdomain_refs' which holds a list
of appdomains referenced by this thread.
* threads.c
(mono_thread_push_appdomain_ref):
(mono_thread_pop_appdomain_ref): New functions to register/unregister
appdomain references.
(mono_threads_abort_appdomain_threads): New function to abort all
threads which reference a given appdomain.
(mono_thread_get_pending_exception): New function to return an
exception which needs to be re-raised at the end of catch clauses.
* threads.c: Register/unregister appdomain reference on thread
creation/destruction.
* appdomain.c (ves_icall_System_AppDomain_InternalInvokeInDomain):
Register/unregister appdomain reference.
* appdomain.c (mono_domain_unload): Add support for aborting threads.
Raise an exception in case of a timeout.
svn path=/trunk/mono/; revision=19458
correctly. DateTime.Milliseconds is the just the milliseconds part
of the time, it is not the entire time as milliseconds.
svn path=/trunk/mcs/; revision=19445
* jscript-lexer-parser.g: allow empty program files. Added type
annotations on var decl and function decl.
* VariableDeclaration.cs: added return type annotation field.
* FunctionExpression.cs: added return type parameter to constructor.
* FunctionDeclaration.cs: added return type parameter to
constructor. Added Emit method (just creates the static field at
the global object, for now).
* FunctionObject.cs: added return type to constructor. Changed
names to readable ones ;-)
svn path=/trunk/mcs/; revision=19444
* StreamReader.cs: Add checks for disposed stream from bug report
#48696 (Patrik Reali)
* TextReader.cs (Read): Return the total number of bytes read,
patch from Patrik Realli.
svn path=/trunk/mcs/; revision=19435
* strenc.h:
* strenc.c: New files, convert text to and from unicode or utf8,
and the user's chosen encoding.
2003-10-28 Dick Porter <[email protected]>
* io.c: Use the new encoding conversion to cope with non-utf8
locales in filenames.
* processes.c: Ditto for process arguments.
2003-10-28 Dick Porter <[email protected]>
* object.c (mono_runtime_run_main): Convert command-line arguments
into utf8, falling back to the user's locale encoding to do so.
svn path=/trunk/mono/; revision=19432
* mini.c tramp-x86.c tramp-sparc.c tramp-ppc.c: Use the normal
trampolines for icalls and pinvokes as well. Fixes#33569.
svn path=/trunk/mono/; revision=19427
* loader.c (mono_get_method_from_token): Avoid looking up the icalls
at this time.
* marshal.c (mono_marshal_get_native_wrapper): Lookup icalls here.
svn path=/trunk/mono/; revision=19426
* mini.c (mono_jit_compile_method_inner): Lookup icalls here if not
already done.
(mono_method_to_ir): Avoid freeing the type created returned from
mono_type_create_from_typespec, since it is put into an internal cache
by the function. Fixes pointer.exe.
svn path=/trunk/mono/; revision=19423
* DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
check null values when ending loading data.
* DataSet.cs (RejectChanges) : Imlementation.
(Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
change it to empty string.
* DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
svn path=/trunk/mcs/; revision=19421
* AsymmetricDecryptionKey.cs: Added internal property to the
asymmetric keypair.
* EncryptedData.cs: Added minimal support for decryption.
* EncryptedKey.cs: Added minimal support for decryption.
* KeyIdentifier.cs: Added internal properties to get access to
X509Certificate, DecryptionKey and EncryptionKey from the key identifier.
* Security.cs: Implemented support for EncryptedData in LoadXml and
implemented part of GetXml.
* SecurityInputFilter.cs: Now process incoming security headers (but
not ExtendedSecurity).
* SecurityOutputFilter.cs: Now uses Security class to Load/Get the
security headers (code moved into Security.cs).
svn path=/trunk/mcs/; revision=19416
* HttpRequest.cs: use the below file when it is proper.
* HttpMultipartContentParser.cs: new file for parsing
multipart/form-data
svn path=/trunk/mcs/; revision=19409
* WebServicesConfiguration.cs: Allowing the MessagingConfiguration to
stay the same one (prevents double socket binding attempts)
svn path=/trunk/mcs/; revision=19406
* XsdValidatingReader.cs : xsi:type should be normalized. More cleanup.
* XsdParticleValidationState.cs : Reverted default content processing
to lax. It is msxsdtest/wildCard/wildG038.xsd which looks incorrect.
svn path=/trunk/mcs/; revision=19405
* Microsoft.Web.Services.dll.2.sources: Added IMutableSecurityToken.cs
in Microsoft.Web.Services.Security (new in WSE2)
svn path=/trunk/mcs/; revision=19402
* EncryptedData.cs: Can now encrypt SOAP body message (no decrypt yet).
* EncryptedKey.cs: Updated symmetric key creation.
* IMutableSecurityToken.cs: New. Interface in WSE2 to clone SecurityTokens.
* ReferenceList.cs: Completed implementation.
* Security.cs: Fixed Elements and Tokens collections that weren't always created.
* SecurityOutputFilter: Added support for EncryptedData.
* SecurityToken.cs: Private member IPrincipal is now only defined for WSE2 (removed warning).
* UsernameToken.cs: Updated for WSE2.
* X509SecurityToken.cs: Added SecurityTokenReference/KeyIdentifier in KeyInfo.
svn path=/trunk/mcs/; revision=19400
* XmlConvert.cs: Support for the sign in double and single. The
processing of the infinites and nan numbers are more complex than
comparing to "INF" so we must let Double::Parse and Single::Parse
doing their job.
svn path=/trunk/mcs/; revision=19393
* appdomain.c (ves_icall_System_AppDomain_InternalIsFinalizingForUnload): New icall.
* appdomain.c (unload_thread_main): Clear class->cached_vtable if it
points to a vtable in the dying appdomain.
* appdomain.c (mono_domain_unload): Move the notification of OnUnload
listeners into unmanaged code inside the lock.
svn path=/trunk/mono/; revision=19388
* BuiltInDatatype.cs : XsdByte was incorrectly typed as byte, while
the correct binding is sbyte.
* XmlSchemaAll.cs,
XmlSchemaChoice.cs,
XmlSchemaSequence.cs,
XmlSchemaGroupBase.cs : ActualParticle now considers pointlessness
described in WXS structures 3.9.6.
Added ValidateRecurse() to support 'Recurse' validation.
* XmlSchemaComplexType.cs : Removed incorrect content type conformity
check.
* XmlSchemaElement.cs : Implemented 'RecurseAsIfGroup' validation
described in WXS structures 3.9.6. Fixed type derivation check to
do only if the base type is not anyType.
* XmlSchemaSimpleTypeRestriction.cs : Should catch Regex()
construction exception. ValidateList... and ValidateNonList... was
in reverse.
* XmlSchemaUtil.cs : Removed extra MonoTODO. Removed CheckToken().
svn path=/trunk/mcs/; revision=19385
* DTDValidatingReader.cs : Now it handles whitespace entity as
significant.
* XmlConvert.cs : As to NIST testcases, exponential support on single
and double floating point numbers.
* XmlValidatingReader.cs : If it IsDefault, then line number and line
position returns 0.
svn path=/trunk/mcs/; revision=19384
* XsdValidatingReader.cs : Removed MonoTODO which was implemented in
XmlValidatingreader as a result. Added xsi:nil normalization.
svn path=/trunk/mcs/; revision=19383
* decl.cs (DeclSpace.ResolveType): If we're a ConstructedType,
call ConstructedType.Resolve() on it.
* generic.cs (ConstructedType.Resolve): Set `type' on success.
svn path=/trunk/mcs/; revision=19382
* class.cs (TypeContainer.GetClassBases): Changed
`out Type parent' into `out TypeExpr parent'. Moved CS0644 and
CS8214 reporting here.
(TypeContainer.DefineType): GetClassBases() gives us a `TypeExpr'
instead of a `Type' for our parent. In case of a recursive
declaration (see tests/gen-23.cs for an example), our parent is a
ConstructedType and it doesn't have its type set. So, first
create our own TypeBuilder, then call constructed.Resolve() to get
the parent's type and finally TypeBuilder.SetParent() it.
* ecore.cs (TypeExpr.Name): New public virtual property.
* generic.cs
(ConstructedType): We're now a TypeExpr and not just an Expression.
(ConstructedType.ResolveAsTypeStep): Don't resolve our type
arguments here; this is done later.
(ConstructedType.Resolve): New public method to resolve the type
arguments and bind them.
svn path=/trunk/mcs/; revision=19379
* class.h (MonoGenericInst): Added `MonoClass *klass' field.
* image.h (MonoImage): Added `GHashTable *typespec_cache'.
* metadata.c (mono_metadata_parse_generic_inst): Renamed to
`do_mono_metadata_parse_generic_inst'; pass it the MonoType we're
currently parsing. Create the generic class and store it in
`generic_inst->klass' before parsing the type arguments. This is
required to support "recursive" definitions; see mcs/tests/gen-23.cs
for an example.
(mono_type_create_from_typespec): Use a new `image->typespec_cache'
to support recursive typespec entries.
* class.c (mono_class_setup_parent): If our parent is a generic
instance, we may get called before it has its name set.
(mono_class_from_generic): Splitted into
mono_class_create_from_generic() and mono_class_initialize_generic().
svn path=/trunk/mono/; revision=19378
* icall.c (ves_icall_Type_BindGenericParameters): Return a
`MonoReflectionGenericInst *' instead of a `MonoReflectionType *'.
("System.Reflection.MonoGenericInst::inflate_method"): New interncall.
("System.Reflection.MonoGenericInst::inflate_ctor"): New interncall.
* reflection.c (my_mono_class_from_mono_type): Added MONO_TYPE_GENERICINST.
(create_typespec): Likewise.
(mono_reflection_bind_generic_parameters): Return a
`MonoReflectionGenericInst *' instead of a `MonoClass *'.
(mono_reflection_inflate_method_or_ctor): New public function.
* reflection.h (MonoReflectionGenericInst): New typedef.
svn path=/trunk/mono/; revision=19376
* BuiltInDatatype.cs : Fixed incorrect inheritance of date and time.
Fixed most of date-time related types' ParseValue().
Applied Normalize() before parsing values in some ParseValue().
svn path=/trunk/mcs/; revision=19374
* AsymmetricDecryptionKey.cs: Change to license and line-ends.
* PasswordOption.cs: Inversed SendNone and SendHashed because they had
the wrong values (corcompare)
* Signature.cs: Stub completed.
* SignedXml.cs: Added interface IXmlElement and missing virtual to
CheckSignature (corcompare)
* XmlSignature.cs: Removed license from header.
svn path=/trunk/mcs/; revision=19368
* ast.cs: Added 'virtual' Emit method (I might change it to be
abstract, but I would have to added to all classes that derive
from it. I'll do it later)
* Block.cs: Added Emit method.
* CodeGnerator.cs: Restructured it (not based on the Visitor pattern
anymore) - still missing some methods, ut on the way. A nice
hacking weekend coming. Added EmitContext class.
* ScriptBlock.cs: Added Emit method.
* VariableDeclaration.cs: Changed type field from string to
Type. Added Emit method.
* VariableStatement.cs: Added Emit method.
* driver.cs: Added CodeGeneration phase (only simple var
declarations support it. More coming soon).
svn path=/trunk/mcs/; revision=19367
* SystemBrushes.cs: Some more brushe3s.
* SystemPens.cs: More pens.
* Pen.cs: Implement IDisposable, ICloneable.
* Region.cs: Add some more stubs here.
* StringFormat.cs: Add some more code here.
2003-10-24 Miguel de Icaza <[email protected]>
* GraphicsPath.cs: Stub some more.
svn path=/trunk/mcs/; revision=19365
* Better performance implementation of the method which converts a byte[] to a bytea string. Thanks Jackson Harper (jackson at ximian dot com)
svn path=/trunk/mcs/; revision=19362
* mini.c: Update after appdomain changes.
* mini.c (mono_jit_compile_method_inner): Allways compile native
method wrappers in the root domain, since there can only be one
instance of them, whose address is stored in method->info.
svn path=/trunk/mono/; revision=19360
* object.c (mono_class_proxy_vtable): Run the whole vtable construction
inside the domain lock. Fixes#49993.
* object.c (mono_class_vtable): When typed allocation is used,
allocate vtables in the GC heap instead of in the mempool, since the
vtables contain GC descriptors which are used by the collector even
after the domain owning the mempool is unloaded.
* domain.c (mono_domain_set): Rename to mono_domain_set_internal.
* domain.c (mono_domain_unload): Rename to mono_domain_free to better
reflect what it does. Also invalidate mempools instead of freeing
them if a define is set.
* appdomain.h (MonoAppDomainState): New enumeration to hold the state
of the appdomain.
* appdomain.h (_MonoDomain): New field 'finalizable_object_hash' to
hold the finalizable objects in this domain.
* appdomain.h (_MonoDomain): New field 'state' to hold the state of the
appdomain.
* appdomain.c (mono_domain_set): New function to set the current
appdomain, but only if it is not being unloaded.
* appdomain.c threads.c threadpool.c object.c: Avoid entering an
appdomain which is being unloaded.
* appdomain.c (ves_icall_System_AppDomain_InternalUnload): Prevent
unloading of the root appdomain.
* appdomain.c (ves_icall_System_AppDomain_InternalInvokeInDomain): New
icall to execute a method in another appdomain. Intended as a
replacement for InternalSetDomain, which can confuse the code
generation in the JIT.
* appdomain.c (mono_domain_is_unloading): New function to determine
whenever an appdomain is unloading.
* appdomain.c (mono_domain_unload): New function to correctly unload
an appdomain.
* assembly.c (mono_assembly_load_references): Check that an assembly
does not references itself.
* gc.c (mono_domain_finalize): Rewrote so instead of finalizing a
domain manually, it asks the finalizer thread to do it, then waits for
the result. Also added a timeout.
* icall.c: Register the new icalls.
* threads.h threads.c: Export the mono_gc_stop_world and
mono_gc_start_world functions.
svn path=/trunk/mono/; revision=19358
* DateTime.cs: When handling '-' as a date separator, MS.NET uses
the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
svn path=/trunk/mcs/; revision=19355
Updated System.Drawing, lots of cleanups.
Added JPEG encoder/decoder back to Bitmap.
We can load and save images again.
Still need work to support all formats, everywhere
PNG codec broken (but at least its plugged back).
2003-10-23 Miguel de Icaza <[email protected]>
* bitmap.c (GdipCreateBitmapFromScan0): Do not allocate buffer
here, expect that our caller to allocate that.
Do not compute the stride here, expect our caller to do this
properly.
* Use the Mono coding conventions.
2003-10-23 Miguel de Icaza <[email protected]>
* Image.cs: Kill the InternalImageInfo, everything is now done in
terms of Image and BitmapData.
* Rectangle.cs: Make this one also sequential, change from using
Point + Size to use x, y, width, height; So we can use GdiPlus.
* gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
BitmapData class argument, and instead use the [In,Out]
attributes, which will do struct marshalling on the fields. Now
we can use C#'s BitmapData directly to talk to Gdiplus.
* gdipStructs.cs: Every internal structure that has to talk to
Gdi+ is properly prefixed, to minimize the confussion.
* Bitmap.cs Bitmap (int width, int height, PixelFormat format):
Compute the stride here where we have the BPP information,
allocate a buffer of the proper size, and pass this to
GdipCreateBitmapFromScan0
* Image.cs: Implement Dispose pattern.
2003-10-23 Miguel de Icaza <[email protected]>
* JPEGCodec.cs (JSAMPARRAY): Do not allocate memory here anymore,
we will just have the JPEG library copy directly into our buffer.
(Encode, Decode): Ported to the new model which avoid copies, and
eliminates InternalImageInfo.
TODO: need to port the PNG coder/decoder, and add support for RGBA
images which got dropped from this version
* BmpCodec.cs: Rework this one to use BitmapData and Image. Do
not use the RawBytes property, instead pull the data one line at a
time, and write that out.
* ImageCodecInfo.cs: Make the encoding and decoding delegates take
a Image parameter;
* BmpCodec.cs:
* BitmapData.cs: Make this one sequential, and also mimic the
layout of GdiPlus.h so we can use this instead of making copies
back and forth.
svn path=/trunk/mcs/; revision=19354
* XsdParticleValidationState.cs : Default content processing shoule be
lax.
* XsdValidatingReader.cs : If there is no trial to get schemas for
namespaces, then validation against such namespace should be failed.
It now uses XmlSchemaAttribute.ValidatedUse instead of .Use.
* XsdWildcard.cs : Fixed incorrect intersection computing.
svn path=/trunk/mcs/; revision=19348
* XmlSchemaAll.cs,
XmlSchemaChoice.cs,
XmlSchemaGroupBase.cs,
XmlSchemaSequence.cs : Now CompiledItems went to XmlSchemaGroupBase.
* XmlSchemaAny.cs,
XmlSchemaElement.cs,
XmlSchemaGroupBase.cs,
XmlSchemaGroupRef.cs,
XmlSchemaParticle.cs,
XmlSchemaSequence.cs : Added ParticleEquals() method to compare
whether the particles are equal in the context of WXS part 1 - 3.9.6.
* XmlSchemaAny.cs : Implemented ValidateDerivationByRestriction().
* XmlSchemaAnyAttribute.cs : Removed extraneous lines and added my
responsibility on this class.
Added ValidateWildcardAllowsNamespaceName().
* XmlSchemaAttribute.cs : Added ValidatedUse which holds post-
compilation value of "Use".
* XmlSchemaAttributeGroup.cs,
XmlSchemaAttributeGroupRef.cs : Removed MonoTODO (same as some other
classes) since there is no more errors on attribute stuff ;-)
* XmlSchemaComplexType.cs : complex content extension must block
derivation from any built-in primitive types.
Fixed wildcard derivation by restriction.
ValidateDerivationByRestriction() now checks attribute related
validity of DBR (derivation by restriction).
Now uses ParticleEquals() for particle DBR check.
* XmlSchemaSequence.cs : Fixed to use CompiledItems instead of Items.
svn path=/trunk/mcs/; revision=19347
* BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
was just changing && by || after the first Match.
svn path=/trunk/mcs/; revision=19345
methods. They are used in CrossAppDomainChannel to save and restore
thread's local data when switching between domains.
svn path=/trunk/mcs/; revision=19336
the name table.
* main.c (visibility_map): Fix typo, should be nested family not
family
* main.c (dis_data): Use uppercase hex to avoid name conflicts.
* get.c/get.h: New method to get an escaped name. This method will
take a name and escape it if it is an ilasm keyword, or uses a non
id char. Use escaped names for type, method, field, and parameter names.
* get.c (get_typespec): A typespec can be used for anything, so we
need to handle all types not just modified types.
* get.c (dis_stringify_object_with_class): Handle nested classes
* get.c (get_token): Add field keyword to field tokens.
svn path=/trunk/mono/; revision=19333
* NonceTest.cs: New. Unit tests for Nonce. The tests will only work for
WSE2 (as WSE1 Nonce constructor are internal)
svn path=/trunk/mcs/; revision=19331
* With.cs: added constructor and ToString. Back to the non-tmp
namespace.
* jscript-parser-lexer.g: allow with_stm tree building.
svn path=/trunk/mcs/; revision=19324
* jscript-lexer-parser.g: changed the return type from if_stm from
'If' to AST. Added tree for continue_stm. Allowed building of
Break tree.
* statement.cs: switched to internal 'If' class. Added Continue
class. Added Break class.
svn path=/trunk/mcs/; revision=19322
* System.Web/HttpApplication.cs: added AssemblyLocation property.
* System.Web.UI/DesignTimeTemplateParser.cs: added FIXME related to
PageParser.
* System.Web.UI/PageParser.cs: initialize the parser in the constructor,
not just before compiling and reference the application assembly.
* System.Web.UI/SimpleWebHandlerParser.cs: reference the assembly that
contains the application Type.
* System.Web.UI/TemplateControl.cs:
* System.Web.UI/TemplateControlParser.cs: fix BenM #1 bug. Now we pass
correct virtual path and physical path when compiling a user control.
* System.Web.UI/TemplateParser.cs: new AddApplicationAssembly ().
* System.Web.UI/UserControlParser.cs: now we get valid values in the
ctor.
Referencing the application assembly fixes bug #49652.
svn path=/trunk/mcs/; revision=19299
* reflection.h (MonoReflectionMethodAux): New structure to store
information which is rarely used, thus is not in the MonoMethod
structure.
* reflection.h (MonoDynamicAssembly): New field 'method_aux_hash' to
store the aux info.
* reflection.c (mono_methodbuilder_to_mono_method): Store param names
and marshalling info into the aux structure.
* loader.c (mono_method_get_marshal_info): Retrieve the marshal info
from the aux structure.
* loader.c (mono_method_get_param_names): Retrieve the param names from
the aux structure.
svn path=/trunk/mono/; revision=19298
* DataGrid.cs: applied patch from Yaron Shkop ([email protected])
that fixes bug #49744. Now the selection doesn't lose its data.
svn path=/trunk/mcs/; revision=19297
* TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
a return statement for user controls with 'void' return type.
svn path=/trunk/mcs/; revision=19282
* XsdKeyTable.cs : Reduced compilation warning.
* XsdParticleValidationState.cs : Reduced NotImplementedException.
* XsdValidatingReader.cs : Removed XmlResolver. Implemented more simple
type validation, such as list, union and facets.
svn path=/trunk/mcs/; revision=19277
* XmlSchema.cs,
XmlSchemaUtil.cs : Reduced warning message.
* XmlSchemaAttribute.cs : NotImplementedException should no more exist.
(All things are going to be implemented.)
* BuiltInDatatype.cs : XsdInteger should not allow non-integer decimal.
* XmlSchemaSimpleType.cs : Added internal Datatype property. Implemented
list type derivation validation. Added Normalize().
* XmlSchemaSimpleTypeContent.cs : Added Normalize(). Replaced anyType
with anySimpleType.
* XmlSchemaSimpleTypeRestriction.cs : Implemented some facet validation,
such as pattern, enumeration, and length etc.
svn path=/trunk/mcs/; revision=19276
* FileIOPermissionAttributeTest.cs: Handle Short File Name vs. Long
File Name messiness. This probably needs to be worked on for the
tests to work on Linux, etc.
svn path=/trunk/mcs/; revision=19260
* convert.cs: Use `TypeManager.IsValueType' instead of
'type.IsValueType' everywhere.
* typemanager.cs (TypeManager.IsValueType): Return true for type
parameters. The reason for this is that we need to box a type
parameter when converting it to a reference type.
* cs-parser.jay: Added support for default value expressions.
* generics.cs (DefaultValueExpression): New public class.
svn path=/trunk/mcs/; revision=19257
* Makefile: Removed Mono.Security.Tls.
* Mono.Security.Tls: Removed directory, now TLS support is in
Mono.Security assembly.
svn path=/trunk/mcs/; revision=19255
* AsymmetricEncryptionKey.cs: Added internal property to get the AsymmetricAlgorithm object.
* EncryptedKey.cs: Almost complete (still lacking LoadXml).
* SymmetricEncryptionKey.cs: Added internal property to get
svn path=/trunk/mcs/; revision=19250
* Mono.Security.dll.sources: Removed AssemblyInfo.cs from build.
This file is for TLS not for the complete Mono.Security assembly.
svn path=/trunk/mcs/; revision=19241
* TcpClient.cs: Fix void Dispose (bool disposing) to follow the
pattern. It was shutting down the managed resources even in the
finalizer case, it should only do that when called from
IDisposable.Dipose.
svn path=/trunk/mcs/; revision=19238
* FileStream.cs public FileStream (string name, FileMode mode)
constructor: If we pass FileMode.Append, we can not pass
FileAccess.ReadWrite. This fixes bug 44959
svn path=/trunk/mcs/; revision=19215
can't be serialized. This fixes bug #49878.
* TypeData.cs: In ListItemType check that the collection has a valid
Add method and report an error if not.
* XmlReflectionImporter.cs: Added CheckSerializableType check call when
reflecting a collection.
svn path=/trunk/mcs/; revision=19214
* exception.c (mono_exception_from_name_msg): New helper function for
creating exceptions and initializing their message field.
* exception.c: Simplify functions using the new helper.
* exception.h exception.c (mono_get_exception_cannot_unload_appdomain):
New function.
svn path=/trunk/mono/; revision=19213
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlReadyState.cs:
* Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
namespace is Mono.System.Protocol.Tls, before was
System.Security.Tls.
* Npgsql/Makefile: Change reference from System.Security.Tls to
Mono.Security (now Tls lives there).
svn path=/trunk/mcs/; revision=19209
* object.h object.c: Remove G_GNUC_NORETURN from the signature of
mono_raise_exception, since otherwise gcc doesn't generate the function
epilog for raise_exception, confusing the stack unwinding in the JIT.
Fixes#45043.
svn path=/trunk/mono/; revision=19197
* ecore.cs: Applied fix from Ben Maurer. We were handling in the
`internal' case regular and protected, but not allowing protected
to be evaluated later. Bug 49840
svn path=/trunk/mcs/; revision=19193
* BuiltInDatatype.cs : Implemented XsdHexBinary.Parse().
* XmlSchemaCollection.cs : Implemented CopyTo().
* XmlSchemaDatatype.cs : Added Normalize() with whitespace handling.
Added support for anySimpleType.
* XmlSchemaSimpleType.cs : Type specification named as anyType should
be mapped to anySimpleType.
* BUGS-MS.txt : Added more case note.
svn path=/trunk/mcs/; revision=19192
* XmlAttributeCollection.cs : Fixed synchronization stuff.
* XmlConvert.cs : Added two FromBinHexString() methods.
* XmlTextReader.cs : Modified to use one of the above method.
* XmlValidatingReader.cs : XsdValidatingReader.XmlResolver will be
disabled (in the next commit), so resolver won' be set to it.
Attempt to validate against XDR now throws NotSupportedException.
svn path=/trunk/mcs/; revision=19191
* Tds.cs (GetStringValue): A string length of 0xFF (255) is not
misinterpreted as special value anymore.
This is a fix to bug #49835.
svn path=/trunk/mcs/; revision=19190
* XmlNode.cs : GetPrefixOfNamespace() also contained a bug similar to
GetNamespaceOfPrefix() fixed at 2003-10-13.
* XmlTextReader.cs : ReadBase64() should keep incomplete base64 block
which remained by previous call of this method.
* XmlUrlResolver.cs : Added assertion for file Uri path's absoluteness.
* XmlValidatingReader.cs : Notice about intention of XDR won't be
supported (at least in Mono 1.0).
svn path=/trunk/mcs/; revision=19187
* BinarySecurityToken.cs: Added support for GetXml/LoadXml
* SecurityToken.cs: Better support for WSE2
* X509SecurityToken.cs: Implemented most of the TODO.
svn path=/trunk/mcs/; revision=19179
* XmlDocument.cs : CloneNode() does not copy PreserveWhitespace.
* XmlWriter.cs : Calling WriteNode() with XmlReader whose state is
XmlDeclaration now calls WriteProcessingInstruction(). This fixes
testcase XmlWriterTests.WriteNodeFullDocument().
* XmlTextWriter.cs : Added LAMESPEC comments related to above.
svn path=/trunk/mcs/; revision=19161
* MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
abstract; use an interncall in MonoMethod and a custom
implementation in MethodBuilder.
svn path=/trunk/mcs/; revision=19160
* class.c (inflate_generic_signature): Renamed to
mono_class_inflate_generic_signature() and made it public.
(my_mono_class_from_generic_parameter): New static function; if we
don't already have the generic parameter's MonoClass, create a
very simple one which is just used internally in the runtime and
not passed back to managed code.
* class.h (MonoGenericInst): Added `gpointer mbuilder' field.
* metadata.h (MonoMethodSignature): Moved the
`MonoGenericParam *gen_params' to the MonoMethodHeader.
(MonoMethodHeader): Moved the `MonoGenericParam *gen_params' here.
* icall.c (ves_icall_MethodInfo_GetGenericArguments): Renamed to
ves_icall_MonoMethod_GetGenericArguments(); this is now an
interncall on the MonoMethod class, not on MethodInfo.
(ves_icall_MethodInfo_BindGenericParameters): Removed, we're now
calling mono_reflection_bind_generic_method_parameters() directly.
* loader.c (mono_method_get_signature): If this is a MethodSpec;
return the already computed `method->signature'.
(method_from_methodspec): New static function to load a method
from a MethodSpec entry.
(mono_get_method_from_token): Call the new method_from_methodspec()
for MethodSpec tokens.
(mono_get_method_from_token): If we're a generic method, load the
type parameters.
* reflection.c (mono_image_get_memberref_token): Allow
MEMBERREF_PARENT_TYPEDEF here; this will be used in the MethodSpec
table.
(fixup_method): Added support for MONO_TABLE_METHODSPEC.
(mono_image_create_token): First check whether it's a generic
method (so we'd need to create a MethodSpec), then do the other
two alternatives.
(mono_reflection_bind_generic_method_parameters): Return a
`MonoReflectionMethod *' instead of a `MonoMethod *'; we're now
called directly from the interncall.
svn path=/trunk/mono/; revision=19159
* System.Web.UI/TemplateControl.cs: moved NoParamsInvoker class to its
own file.
* System.Web/HttpApplicationFactory.cs: use NoParamsInvoker.
* System.Web/HttpRequest.cs: support request filters.
* System.Web/HttpRequestStream.cs: mono-stylized and added new Set
method.
* System.Web/NoParamsInvoker.cs: proxy class to invoke user-provided
methods without parameters that are invoked by EventHandlers.
svn path=/trunk/mcs/; revision=19156
encoding format. This fixes bug #49568.
* XmlSerializationReaderInterpreter.cs: In encoded format, do not check
the name and namespace of the wrapper element. MS.NET doesn't do it.
This fixes bug #49729.
svn path=/trunk/mcs/; revision=19152
* Microsoft.VisualBasic/VBCodeGenerator.cs: Sub or Function generation is switched by method.ReturnType being "System.Void"
svn path=/trunk/mcs/; revision=19150
* genericparser.cs:
Don't print exception when a file is not found to be parsed
File extensions not matched are now processed with the default parser
Better handle file/directory not found exceptions, and use Report.Error in that case
* added defaultparserattribute.cs
* mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]
* location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)
* mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now
svn path=/trunk/mcs/; revision=19147
loading. ie ""quote"" should be "\"quote\"".
* dis-cil.c (dissasemble_cil): Write SEH debug info into a comment
block. Combine SEH blocks that have the same offset and length,
this prevents creating invalid SEH blocks.
svn path=/trunk/mono/; revision=19143
* Mono.Data.SqliteClient/SqliteConnection.cs
(SqliteConnection.LastInsertRowId): New property to bind the
sqlite_last_insert_rowid() call.
svn path=/trunk/mcs/; revision=19141
* MonoEvent.cs: implement ToString method as in MS.NET.
* MonoMethod.cs: fix some differences between mono and MS.NET
implementation of ToString.
svn path=/trunk/mcs/; revision=19139
* generic.cs (Constraints.Resolve): Take a DecpSpace instead of a
TypeContainer so we can also use this for Interfaces.
(TypeParameter.Resolve): Likewise.
* interface.cs (Interface.DefineType): Added support for generic
interfaces.
* cs-parser.jay: Added support for generic structs and interfaces.
svn path=/trunk/mcs/; revision=19138
* image.h (MonoAssemblyName): Add public_key and hash_alg fields.
* assembly.c (mono_assembly_open): Fill in public_key and hash_alg
fields.
* icall.c (ves_icall_System_Reflection_Assembly_FillName): Fill in
culture, hash_alg and public_key. Fixes#49555.
svn path=/trunk/mono/; revision=19128
* WebClient.cs: use Path.DirectorySeparator instead of "/" for
windows compatibility. Add some checks for file paths like
"C:/xxx/yyy/..." and like "/home/xxx/...".
svn path=/trunk/mcs/; revision=19127
* class.h (MonoGenericInst): Moved this declaration here and added
`MonoMethod *generic_method'.
* icall.c
(ves_icall_MethodInfo_GetGenericArguments): New interncall.
(ves_icall_MethodInfo_BindGenericParameters): New interncall.
* metadata.c (mono_metadata_type_equal): Two types of
MONO_TYPE_VAR or MONO_TYPE_MVAR equals if they have the same
index; ie. don't compare the address of the `MonoGenericParam'
structure.
(mono_metadata_load_generic_params): Removed the `MonoMethod
*method' argument.
* metadata.h (MonoGenericInst): Moved declaration to class.h.
(MonoMethodHeader): Added `MonoGenericInst *geninst'.
* reflection.c (method_encode_signature): Encode the number of
generic parameters.
(encode_generic_method_sig): New static function.
(method_encode_methodspec): New static function; creates an entry
in the MethodSpec table for a generic method.
(mono_image_get_methodspec_token): New static function.
(mono_image_create_token): Call mono_image_get_methodspec_token()
for generic methods.
(mono_reflection_bind_generic_method_parameters): New public
function. Instantiates a generic method.
svn path=/trunk/mono/; revision=19114
* Makefile
* LoginDialog.cs
* SqlSharpDataAdapter.cs
* sqlsharpgtk.cs: after editing these files, forgot to edit my
new email address
svn path=/trunk/mcs/; revision=19113
* Win32.make: removed file. replaced with Makefile
* Makefile: new makefile for building on Linux and Windows
* LoginDialog.cs
* SqlSharpDataAdapter.cs
* sqlsharpgtk.cs: correct compile errors
svn path=/trunk/mcs/; revision=19112
* metadata.h (MonoMethodSignature): Moved `MonoGenericParam
*gen_params' here from MonoMethodHeader.
* metadata.c (mono_metadata_parse_method_signature): If we have
generic parameters, initialize `method->gen_params' and then set
the correct `type->data.generic_param' in all the parameters.
svn path=/trunk/mono/; revision=19106
* threads.c (mono_threads_get_default_stacksize): New function to
return the default stacksize.
* gc.c (mono_gc_cleanup): Use a separate event for waiting for the
termination of the finalizer thread, since the previous method had
race conditions. Fixes#49628.
* gc.c (mono_gc_init): Use the same stacksize for the finalizer thread
as for the other managed threads.
svn path=/trunk/mono/; revision=19103
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
because now it is used TlsSession and it doesn't work without
these changes.
svn path=/trunk/mcs/; revision=19097
* Makefile: changed reference from Lib/System.Security.Tls.dll to
System.Security.Tls because the last will be installed before and
separatelly.
* Lib: Removed Lib directory, moved System.Security.Tls.dll to
Mono.Security.Tls library directory.
svn path=/trunk/mcs/; revision=19094
* Iterator.cs : DescendantIterator and FollowingIterator also should
not MoveNext() after they reached to the end.
svn path=/trunk/mcs/; revision=19085
* System.Security.Tls.dll: Added Tls implementation from Carlos Guzman. Npgsql now supports SSL connections with this library.
svn path=/trunk/mcs/; revision=19081
* object.h: Add a new field to TypedRef to simplify the implementation
of the REFANY opcodes in the JIT.
* icall.c: Make use of the new field.
svn path=/trunk/mono/; revision=19078
between XmlCodeExporter and SoapCodeExporter.
* SoapCodeExporter.cs: Implemented.
* XmlCodeExporter.cs: Moved common code to MapCodeGenerator.
* XmlSerializationReaderInterpreter.cs: Fixed problem when reading
encoded bare parameter list.
* XmlTypeMapping.cs: Added method for getting member element by index.
svn path=/trunk/mcs/; revision=19069
Fixed naming of messages.
* ProtocolImporter.cs: It now iterates through all bindings. It creates
a namespace for all bindings.
* ServiceDescriptionImporter.cs: Some code moved to ProtocolImporter.
* SoapProtocolImporter.cs: Improved support for RPC format. It now is working.
svn path=/trunk/mcs/; revision=19067
* statement.cs (Switch.TableSwitchEmit): Compare the upper bound
to kb.Nlast, and not the kb.nFirst to isolate the switch
statement.
Extract the underlying type, so enumerations of long/ulong are
treated like long/ulong.
svn path=/trunk/mcs/; revision=19066
2003-10-14 Miguel de Icaza <[email protected]>
* expression.cs (New): Overload the meaning of RequestedType to
track the possible creation of the NewDelegate type, since
DoResolve is invoked more than once for new constructors on field
initialization.
See bugs: #48800 and #37014
svn path=/trunk/mcs/; revision=19064
* cs-parser.jay (declare_local_constants): Take an arraylist
instead of a single constant.
(local_constant_declaration): It should take a
constant_declarators, not a constant_declarator.
svn path=/trunk/mcs/; revision=19062
* Type.cs (Type.DeclaringMethod): For a generic method's type
parameter, return this method - otherwise, return null.
svn path=/trunk/mcs/; revision=19052
* class.c (mono_class_from_gen_param): Renamed to
mono_class_from_generic_parameter() and moved most of the
functionality from mono_reflection_define_generic_parameter()
here; ie. we create a "real" class here.
(mono_class_from_mono_type): Only allow MONO_TYPE_VAR and
MONO_TYPE_MVAR if mono_class_from_generic_parameter() has
previously been called.
* class.h (MonoGenericParam): Moved the declaration of this struct
here from metadata.h and added `MonoMethod *method'.
* icall.c (ves_icall_MonoType_get_DeclaringMethod): New
interncall.
* loader.c (mono_get_method_from_token): If we have any generic
parameters, call mono_metadata_load_generic_params() to read them
from the MONO_TABLE_GENERICPAR.
* metadata.c (mono_metadata_load_generic_params): Added
`MonoMethod *method' argument which is used MONO_TYPE_MVAR.
* metadata.h (MonoMethodSignature): Replaced
`MonoGenericInst *geninst' with `guint16 generic_param_count'.
(MonoMethodHeader): Added `MonoGenericParam *gen_params'.
* reflection.c (mono_reflection_define_generic_parameter): Moved
most of the functionality into the new
mono_class_from_generic_parameter(); set the `method' field if
we're a method parameter.
svn path=/trunk/mono/; revision=19051
* System.Web.dll.sources: new files in System.Web.Configuration.
* System.Web.Configuration/CompilationConfiguration.cs:
* System.Web.Configuration/CompilationConfigurationHandler.cs:
* System.Web.Configuration/CompilerCollection.cs:
* System.Web.Configuration/WebCompiler.cs: new files that process and
store system.web/compilation info (compilers + assemblies).
* System.Web.Configuration/HttpHandlersSectionHandler.cs: added option
for an attribute to be empty.
* System.Web.UI/BaseParser.cs: added CompilationConfig property.
* System.Web.UI/TemplateParser.cs:
* System.Web.UI/SimpleWebHandlerParser.cs: added CompilationConfig
property. Don't hardcode assembly names any more, assemblies in bin
are added depending on the configuration. The default language is
also taken from the configuration.
* System.Web.Compilation/BaseCompiler.cs: now gets the CodeCompiler
from configuration files.
In short, this changes make our ASP.NET support any language
that has CodeDom CodeCompiler and CodeGenerator.
VB.NET currently fails because of its buggy handling of options.
svn path=/trunk/mcs/; revision=19035
* icall.c: The generics API has changed in the spec since it was
added to System.Type; these modifications make it match the spec
again.
(ves_icall_Type_GetGenericParameters): Renamed to
`ves_icall_Type_GetGenericArguments'.
(ves_icall_Type_get_IsGenericTypeDefinition): New interncall.
(ves_icall_MonoType_get_HasGenericParameteres): Renamed to
`ves_icall_MonoType_get_HasGenericArguments'.
(ves_icall_MonoType_get_IsUnboundGenericParameter): Renamed to
`ves_icall_MonoType_get_IsGenericParameter'.
(ves_icall_MonoType_get_HasUnboundGenericParameters): Removed;
this is no interncall anymore.
(ves_icall_TypeBuilder_get_IsUnboundGenericParameter): Renamed to
`ves_icall_TypeBuilder_get_IsGenericParameter'.
svn path=/trunk/mono/; revision=19019
The generics API has changed in the spec since it was added here;
these modifications make it match the spec again.
* Type.cs
(GetGenericParameters): Renamed to `GetGenericArguments'.
(HasGenericParameters): Renamed to `HasGenericArguments'.
(HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
(IsGenericTypeDefinition): New property.
(IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
* MonoType.cs (ContainsGenericParameters): Implement this here;
this is no interncall anymore.
svn path=/trunk/mcs/; revision=19018
* reflection.c (mono_reflection_bind_generic_parameters): Also
inflate generic methods if we're reading the class from IL.
svn path=/trunk/mono/; revision=19017
* SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaImporter.cs:
in ImportMembersMapping, set pass the namespace to each XmlMemberMapping.
* SoapSchemaExporter.cs: Some fixes in ExportMembersMapping.
* XmlMemberMapping.cs: Fixed constructor. Now it takes the default namespace
and whether it uses encoded or literal format.
* XmlSchemaExporter.cs: Little fixes.
svn path=/trunk/mcs/; revision=19015
HttpSoapWebServiceHandler.cs, Methods.cs, SoapHttpClientProtocol.cs,
TypeStubManager.cs
Added class LogicalTypeInfo, which contains info common to all protocols
through which a web service can be accessed. Also, modified the way
Serializers are created. Instead of creating one by one, they are now
created all at once. This will make serialization creation more efficient
when the serializer code generator is in place.
* SoapRpcMethodAttribute.cs: Set the correct default values for the
properties.
* WebServiceHelper.cs: Removed unused method GetServiceNamespace().
* XmlReturnReader.cs, XmlReturnWriter.cs: Get the namespace for the return
type from LogicalTypeInfo.
svn path=/trunk/mcs/; revision=19013
Get the namespace for literal types from LogicalTypeInfo, since it may not
be the same as the service namespace.
* ProtocolReflector.cs: Access LogicalTypeInfo to get WS info common to
all protocols.
* ServiceDescription.cs: Added soap/encoded namespace.
* SoapProtocolImporter.cs: Added some bits of RPC format support.
svn path=/trunk/mcs/; revision=19011
* Delegate.cs: add the method name to the exception when it cannot be
bound.
* Exception.cs: fix nullref in Source.
svn path=/trunk/mcs/; revision=19008
* sparc/sparc-codegen.h sparc/tramp.c: add initial implementation
for V9 (64 bit), cover more 32 bit cases as well.
svn path=/trunk/mono/; revision=18995
* SessionStateModule.cs: prevent Context.State from being null if
the module is inited in another HttpApplication. Fixes#49569.
svn path=/trunk/mcs/; revision=18991
* class.cs (Method.Define): If we're a generic method, call
TypeBuilder.DefineGenericMethod () before resolving
the parameters.
(MethodData): Added .ctor which takes an additional MethodBuilder
argument; this is used for generic methods.
(MethodData.Define): Call `builder.SetGenericMethodSignature()' if
we already have a MethodBuilder.
svn path=/trunk/mcs/; revision=18985
* reflection.c (mono_reflection_define_generic_parameter): This
method isn't called directly from the icall anymore; take a
`MonoReflectionAssemblyBuilder *' so we can use this for type and
method generic parameters.
(ReflectionMethodBuilder): Added `MonoArray *generic_param'.
(method_builder_encode_signature): Encode generic parameters.
(mono_image_get_method_info): Write generic params to the
MONO_TABLE_GENERICPARAM table.
* reflection.h (MonoReflectionMethodBuilder): Added
`MonoArray *generic_params'.
* metadata.h (MonoMethodSignature): Added `MonoGenericInst *geninst'.
* icall.c (ves_icall_TypeBuilder_define_generic_parameter): Added
wrapper for mono_reflection_define_generic_parameter().
(ves_icall_MethodBuilder_define_generic_parameter): Likewise.
svn path=/trunk/mono/; revision=18984
* Makefile.am: fix so it works if builddir != srcdir
* libtest.c: (mono_test_empty_struct) make it exist for
non-GCC builds (and possibly pass depending on trampolines).
(mono_test_marshal_bool_byref) bools marshal as ints by default
svn path=/trunk/mono/; revision=18981
* threads.c (CreateThread): Wrap pthread_attr_setstacksize call in
a conditional for platforms that don't have it.
svn path=/trunk/mono/; revision=18980
* XmlDocument.cs : Fixed bugzilla #49607. Save() outputs XML
declaration even though there is no XmlDeclaration child.
* XmlTextReader.cs : Fixed Init() so that ResetState() should work.
svn path=/trunk/mcs/; revision=18976
* marshal.c (mono_marshal_get_native_wrapper): Add support for
the SetLastError pinvoke attribute.
* marshal.c (mono_marshal_set_last_error): New helper function called
by the generated code.
svn path=/trunk/mono/; revision=18971
* pinvoke2.cs pinvoke3.cs: Merge tests 4-8 into these files +
convert tests so they run with the test driver used by mini.
* pinvoke3.cs libtest.c: Add tests for class arguments and return
values.
* pinvoke4.cs pinvoke5.cs pinvoke6.cs pinvoke7.cs pinvoke8.cs: Removed.
svn path=/trunk/mono/; revision=18967
* marshal.c (mono_mb_emit_branch): New helper function.
* marshal.c (mono_mb_emit_exception): Added exception name parameter.
* marshal.c (mono_marshal_get_managed_wrapper): Added support for
classes as parameters and return values of delegates. Fixes#29256.
svn path=/trunk/mono/; revision=18962
* XmlNode.cs : GetNamespaceOfPrefix() should check Attributes existence.
And it should throw ArgumentNullException.
svn path=/trunk/mcs/; revision=18949
* XmlAttribute.cs : Fixed InnerText that did not removed its content
if there is two or more children.
* XmlNode.cs : XmlNode.cs : Fixed bugzilla #49580 (1)to return "",
(2)not to compare NodeType for detached nodes, (3)optimization to
compare element's prefix.
* XmlSecureResolver.cs : Removed extraneous members.
svn path=/trunk/mcs/; revision=18948
* System.Web.UI/Control.cs: removed some debug lines.
* System.Web.UI/Page.cs: implemented RegisterOnSubmitStatement
* System.Web.UI/TemplateControl.cs: fixed wire up for methods with no
parameters.
* System.Web.UI.HtmlControls/HtmlForm.cs: render the onsubmit attribute.
svn path=/trunk/mcs/; revision=18945
* HttpWebRequest.cs:
* HttpWebResponse.cs: better abort handling and leave the stream in a
stable status on abort.
svn path=/trunk/mcs/; revision=18943
* Lots of files changed, upgraded to nunit 2.1.4. I built and ran the
corlib test, so it seems like existing tests should still work under
this new version of nunit.
svn path=/trunk/mcs/; revision=18920
* corlib.dll.sources: Added classes for Authenticode support.
* corlib_test.dll.sources: Added unit test for SPC certificates.
svn path=/trunk/mcs/; revision=18919
* ITrustAnchors.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* TestAnchors.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* TrustAnchors.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* X509CertificateCollection.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* X509Chain.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
svn path=/trunk/mcs/; revision=18915
* AuthenticodeBase.cs: Added from Mono.Security assembly for
Authenticode support in X509Certificate.CreateFromSignedFile
* AuthenticodeDeformatter.cs: Added from Mono.Security assembly for
Authenticode support in X509Certificate.CreateFromSignedFile
svn path=/trunk/mcs/; revision=18914
* chktrust.1: New. Man page for Authenticode chktrust.exe
* signcode.1: New. Man page for Authenticode signcode.exe
* sn.1: New. Man page for StrongName sn.exe
* man.xml: Added new (and missing) entries.
svn path=/trunk/mono/; revision=18911
(cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
(cairo_current_matrix): Signature changed, updated.
(cairo_surface_reference): New API.
(cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
* Mono.Cairo/Surface.cs:
* Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
(Destroy): It's supposed to return void, not IntPtr.
* cairo-api.cs: Marked as in internal class, instead of
public. Update to new Cairo API (see Mono.Cairo/Cairo.cs).
* gdk-helpers.cs (Gdk.Pixbuf.Finalize): Removed.
svn path=/trunk/mcs/; revision=18901
* Calendar.cs: apply the calendar style to the new Table, not to itself.
Fixes#49406.
* CheckBox.cs: render the hidden fields if AutoPostBack.
* Style.cs: don't render empty width/height. Small improvement in
CopyFrom.
* Table.cs: fixed condition for border width.
* TableStyle.cs:
(CopyFrom): always call the base class to copy other attributes. Fixes
bug #49408. Don't render empty 'rules' attribute.
* WebControl.cs: track viewstate when enabled. Don't overwrite source
control attributes in CopyBaseAttributes.
* ChangeLog: fixed dates.
svn path=/trunk/mcs/; revision=18878
* GenericMethodRef.cs: Basically just a wrapper around an existing
method making it into a generic method.
* GenericMethodSig.cs: Signature for a generic method.
svn path=/trunk/mcs/; revision=18876
* HttpResponse.cs:
* HttpServerUtility.cs: change the response writer in Execute. Thanks
to Rich Alimi <[email protected]> for noticing this.
svn path=/trunk/mcs/; revision=18873
* System.Web/HttpApplicationFactory.cs:
* System.Web.UI/TemplateControl.cs: support for wiring up events without
parameters.
* System.Web.Compilation/AspParser.cs:
* System.Web.Compilation/TagAttributes.cs: allow duplicated runat=server
attributes and display error page when duplicated attributes and runat
is specified.
svn path=/trunk/mcs/; revision=18872
signatures. Use this class instead of GenericTypeInst for creating
generic methods. Fix Generic call conv. according to two of my
docs it is 0x10 and only one says 0x50 so I will go with 0x10.
svn path=/trunk/mcs/; revision=18871
* Uri.cs: fixed a problem with some URIs like file://some_file.txt
It used to return "/some_file.txt/" instead of "some_file.txt" in
LocalPath. Fix handling of full path files and SMB addresses.
* UriTest.cs: added some test for "file://one_file.txt". Uri used to
fail with this URIs.
* WebClient.cs: MS.NET works right when we try OpenRead("file.txt")
but we didn't. Now, when Uri fails with an exception, it adds
"file://" before the URI and tries again.
svn path=/trunk/mcs/; revision=18870
* marshal.c (mono_marshal_get_managed_wrapper): Under windows,
delegates passed to native code must use the STDCALL calling
convention. Fixes#35987.
svn path=/trunk/mono/; revision=18858
* JSparser.cs: Updated the constructor to not receiving params.
* JScriptLexer.cs, JScriptParser.cs, JScriptParserTokenTypes.cs,
JScriptParserTokenTypes.txt: update of antlr generated files from
grammar changes.
svn path=/trunk/mcs/; revision=18851
* class.c (inflate_generic_type): If we're inflating for a generic
type instance (and not for a generic method), return
MONO_TYPE_MVAR unchanged.
svn path=/trunk/mono/; revision=18848
* System.Collections/Hashtable.cs:
* Test/System.Collections/HashtableTest.cs: patch from Carlos A.
Barcenilla ([email protected]) that includes some fixes for
Hashtable + NUnit2 tests.
svn path=/trunk/mcs/; revision=18845
* DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
should not be TimeSpan.MaxValue, because it overflow. Set this to
be MAX_VALUE_TICKS
svn path=/trunk/mcs/; revision=18844
* reflection.c (MonoReflectionGenericParam): Added `guint32 index'.
(mono_reflection_define_generic_parameter): If `gparam->index' is
non-zero, create a MONO_TYPE_MVAR.
(encode_type): Added support for MONO_TYPE_MVAR.
svn path=/trunk/mono/; revision=18833
* class.cs (Method): Added .ctor which takes a `GenericMethod'
instead of a `DeclSpace'. This is used for generic methods.
* cs-parser.jay (method_header): Added support for generic
methods; create a `GenericMethod' instance and pass it to the
`Method's .ctor; it'll be used as the `DeclSpace' to lookup
parameters and locals.
* decl.cs (DeclSpace.SetParameterInfo): Removed Location argument
since we already have the location. Check whether we're a generic
type declaration or a generic method and create the correct type
parameter.
* generic.cs (TypeParameter): Added .ctor which takes an
additional `int index' argument. It is used for generic methods.
(TypeParameter.DefineMethod): New public method.
(GenericMethod): New public class; derives from DeclSpace and is
used for generic methods.
svn path=/trunk/mcs/; revision=18831
* class.cs (MethodCore): Added additional `DeclSpace ds' argument
to the .ctor.
(MethodCore.DoDefineParameters): Removed the TypeContainer
argument; use the DeclSpace which was passed to the .ctor instead.
(MethodCore.CheckParameter): Take a DeclSpace instead of a
TypeContainer; we only need a DeclSpace here.
svn path=/trunk/mcs/; revision=18826
* class.cs (MethodData): Added additional `DeclSpace ds' argument
to the .ctor.
(MethodData.Define, MethodData.Emit): Pass the `ds' to the
EmitContext's .ctor.
svn path=/trunk/mcs/; revision=18822
* decl.cs (DeclSpace.AsAccessible): Moved here from TypeContainer.
(AccessLevel, CheckAccessLevel, GetAccessLevel): They're used by
AsAccessible(), moved them as well.
* class.cs (TypeContainer.AsAccessible): Moved to DeclSpace.
svn path=/trunk/mcs/; revision=18821
* CultureInfo.cs: Implemented, with internal calls to ICU apart
from the Invariant culture.
* SortKey.cs:
* CompareInfo.cs: Implemented
* DateTimeFormatInfo.cs: Fixed the worst of the formatting,
construct default FullDateTimePattern on the fly.
svn path=/trunk/mcs/; revision=18820
* acconfig.h:
* configure.in: Check for ICU availability
2003-10-09 Dick Porter <[email protected]>
* icall.c:
* locales.h:
* locales.c: Internal calls for constructing CultureInfo and
related objects from libicu (if its available.)
svn path=/trunk/mono/; revision=18818
* Added DTDReader.cs. It is almost importation of XmlTextReader.
* DTDObjectModel.cs :
- More .NET-ism. Properties took place of fields.
- Imported PE set from XmlTextReader. Added location info.
- Added DTDEntityBase common to PE and GE.
- More correct text declaration handling with new XmlTextReader.
* DTDValidatingReader.cs :
- Now uses entity resolving XmlTextReader to validate attributes
correctly. Implemented standalone
- Standalone and default related validity constraints check.
* XmlImplementation.cs: Implemented HasFeature().
* XmlNode.cs : Implemented Supports().
* XmlNodeReader.cs : Modified to use XmlTextReader.SkipTextDeclaration()
* XmlParserInput.cs : Removed extraneous members.
* XmlTextReader.cs :
- All DTD related functionality now goes to DTDReader.cs
- It became old simple TextReader input style.
- Implemented GetRemainder().
- Implemented ReadBase64(), ReadBinHex() and ReadChars(), using
additional new private method ReadUntilEndTag().
- Removed incomplete MaybeTextDecl and added SkipTextDeclaration().
ReadXmlDeclaration() now became simple.
- More strict entity reference check at SetEntityReferenceProperty()
- Removed extraneous members.
* XmlWriter.cs : WriteNode(XmlNodeType.None) does not raise error.
svn path=/trunk/mcs/; revision=18812
* threadpool.c: added an argument to async_invoke_thread that is the
item to process, pass the MonoAsyncResult to the thread start function
when creating a new thread. This way we don't need to acquire any lock
when we're creating a new thread. Readded a semaphore for faster
response times (instead of that Sleep i added).
svn path=/trunk/mono/; revision=18789
* System.Net/ServicePoint.cs: preparing for recycling. Not yet finished.
* System.Net/ServicePointManager.cs: this is the one that reads config.
* System.Net/WebConnectionGroup.cs: don't read config here.
* System.Net/WebConnection.cs: added the queue again. Launch queued
requests on error.
* System.Net.Configuration/ConnectionManagementHandler.cs: the hashtable
is case insensitive now.
svn path=/trunk/mcs/; revision=18788
* XmlTextReader.cs: when we get an unexpected EOF in ReadContent, set
the state before throwing the exception if depth > 0.
svn path=/trunk/mcs/; revision=18786
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData):
get daylight change dates better on Windows, fix handling
of platforms without tm_gmtoff.
svn path=/trunk/mono/; revision=18783
2003-10-03 Diego Caravana <[email protected]>
* Tds70.cs: Now handles parameters of type ReturnValue and
InputOutput.
(BuildParameters): skips the ReturnValue params and builds the
set string considering the assigned value for InputOutput ones.
(BuildProcedureCall): like the preceding one plus adds the return
value to the final select.
-----
System.Data/System.Data.SqlClient/ChangeLog
2003-10-03 Diego Caravana <[email protected]>
* SqlCommand.cs: no change.
* SqlConnection.cs (Close): Added checks for null instance
variables.
* SqlParameter.cs (Direction): Now handles parameters of type
ReturnValue and InputOutput.
* SqlParameterCollection.cs (IndexOf(string)): Search for
SqlParameter object in list is done by obtaining ParameterName
attribute, not directly through list.IndexOf().
svn path=/trunk/mcs/; revision=18782
dis_generic_param_and_constraints, allow a table type to be passed
to the method so this could be used with generic methods (It is
not though).
* get.c/get.h (get_generic_param): method to stringify generic
type and method parameters.
* get.c (dis_stringify_method_signature): Add generic
parameters.
svn path=/trunk/mono/; revision=18781
a name, names are mandatory. Add method to add type parameters to
methods. Allow GenericParameters to have either a type or a
method as its owner. Also fix visibility of GenericParameters, a
GenericParameter should not be created outside of PEAPI.
svn path=/trunk/mcs/; revision=18772
* class.c (inflate_generic_method): Renamed to
mono_class_inflate_generic_method() and made public.
(mono_class_init): Don't inflate the generic methods here.
(mono_class_from_generic): Added `gboolean inflate_methods'
argument. Inflate the methods here.
* loader.c (mono_method_get_param_names): Ignore instances of
generic types for the moment.
* reflection.c (fixup_method): Added support for inflated methods.
(mono_image_create_token): Use mono_image_get_methodref_token()
for inflated methods.
(mono_custom_attrs_from_param): Ignore instances of generic types
for the moment.
(mono_reflection_bind_generic_parameters): New public function.
Moved all the functionality from
ves_icall_Type_BindGenericParameters() here and added support for
dynamic types.
(mono_reflection_define_generic_parameter): Initialize
`klass->methods' here.
* icall.c (ves_icall_Type_BindGenericParameters): Moved all the
functionality into mono_reflection_define_generic_parameter().
(ves_icall_Type_GetGenericTypeDefinition): If we're coming from a
TypeBuilder, return that TypeBuilder.
svn path=/trunk/mono/; revision=18768
* BaseValidator.cs : DetermineRenderUplevel() - Completed.
: RegisterValidatorCommonScript()
- More code, I need HELP!
: RegisterValidatorDeclaration()
- More code, I need HELP!
svn path=/trunk/mcs/; revision=18764
* System.Net/WebConnection.cs: the queue is now handled by the
threadpool. Initialize the connection data in a place where it does not
depend on the execution order of the requests in threadpool. More error
handling.
* System.Net/WebConnectionGroup.cs: use the limits in the config file
and reuse connections when the limit is reached.
* System.Net.Configuration/ConnectionManagementHandler.cs: added
GetMaxConnections to return the max. number of simultaneous connections
to a given host.
svn path=/trunk/mcs/; revision=18735
* appdomain.c: removed mono_delegate_semaphore.
* threadpool.c:
(mono_thread_pool_add): moved hash table creation inside and the thread
creation outside of the critical region.
(mono_thread_pool_finish): removed obsolete code.
(async_invoke_thread): don't use the semaphore. Use a plain Sleep and
continue or exit the thread depending on the queue.
svn path=/trunk/mono/; revision=18734
* expression.cs (Binary.Emit.GreatherThanOrEqual): Fix the code
generation for >=, as spotted by Paolo, bug 48679.
Patch from David Waite.
* cs-tokenizer.cs: Add handling for #pragma.
svn path=/trunk/mcs/; revision=18729
only needs to be shifted 1 bit. Added dis of generic constraints.
* get.c/get.h: New method for getting a TypeOrMethodDef token
* dump.c: When dumping generic parameters and generic constraints
output readable names instead of just tokens.
svn path=/trunk/mono/; revision=18727
to proxy in ClientIdentity to a WeakReference. This fixes a memory leak.
* RemotingServices.cs: Ignore first "/" char in uris when looking for
and object.
Take into account that identity now has a weak reference
of the proxy.
svn path=/trunk/mcs/; revision=18721
* cs-parser.jay: Allow for both yield and yield return in the
syntax. The anti-cobolization of C# fight will go on!
svn path=/trunk/mcs/; revision=18711
datetime and arrays of primitive types. This makes CAD much faster.
* AsyncResult.cs: Added property to store the call message.
svn path=/trunk/mcs/; revision=18706
* marshal.c (mono_marshal_get_native_wrapper): Fix marshalling of
arrays of structs. Also add a more descriptive error message when
a structure member is marshalled as LPArray.
svn path=/trunk/mono/; revision=18705
* expression.cs (ArrayCreation.EmitDynamicInitializers): When
coping with enumerations variables, we were mistakenly processing
them as a regular value type instead of built-in types. Fixes the
bug #48063
* typemanager.cs (IsBuiltinOrEnum): New method.
svn path=/trunk/mcs/; revision=18697
WebServiceBindingAttribute addition moved to SoapProtocolImporter.
Moved GetServiceUrl here (from SoapProtocolImporter).
* ServiceDescriptionImporter.cs: Added support for HttpGet and HttpPost
importers.
* SoapProtocolImporter.cs: Minor fixes.
* HttpSimpleProtocolImporter.cs, HttpGetProtocolImporter.cs,
HttpPostProtocolImporter.cs: new files that implement HttpGet and HttpPost
importers.
svn path=/trunk/mcs/; revision=18691
* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs: Check that
HttpMethodAttribute is present in proxy's method.
* HttpSimpleClientProtocol.cs: Forgot to call InitializeRequest before
getting the request stream.
* UrlEncodedParameterWriter.cs: in Encode(), take into account that
requestEncoding can be null.
svn path=/trunk/mcs/; revision=18690
* mono/tests/pinvoke2.cs mono/tests/pinvoke11.cs
mono/tests/libtest.c: Add more pass by value struct
tests for platforms with more complex calling conventions
(Sparc V9, HPPA 64 bit).
svn path=/trunk/mono/; revision=18679
* marshal.c (mono_marshal_get_native_wrapper): Add support for
marshalling arrays of complex types. Fixes#29098. Also remove an
usused and incomplete function.
svn path=/trunk/mono/; revision=18673
* mini.c (mono_method_to_ir): Allow wrapper data for CEE_LDELEMA.
* inssel-x86.brg (OP_LOCALLOC): Fix register assignment for localloc.
* driver.c: Add support for compiling icall wrappers to --compile.
svn path=/trunk/mono/; revision=18672
* Microsoft.Web.Services.dll.sources: Removed classes from
Microsoft.Web.Services.Policy and Microsoft.Web.Services.Messaging
from the WSE 1.0 build (extra - corcompare).
svn path=/trunk/mcs/; revision=18666
* X509Certificate.cs: Class is sealed (corcompare). Implemented
GetSubjectAlternativeName for WSE2.
* X509CertificateCollection.cs: Removed Item[] set (corcompare).
svn path=/trunk/mcs/; revision=18664
* Microsoft.Web.Services.Diagnostics: Added new namespace with
internal TraceFilter.cs and public TraceInputFilter.cs and
TraceOutputFilter.cs
svn path=/trunk/mcs/; revision=18658
* SoapWebRequest.cs: Now returns a SoapWebResponse for GetResponse. Added
[MonoTODO] to the async methods.
* SoapWebResponse.cs: Added Pipeline support for output.
* WebServicesExtension.cs: Added [MonoTODO] to reflect reality
svn path=/trunk/mcs/; revision=18652
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData): Finally
fix timezone handling problems on Windows.
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData): Avoid
asserts when the year is outside the range handled by ms the functions.
svn path=/trunk/mono/; revision=18627
* XmlConvertTests.cs : patch by Jonathan Kessler. Added more test
methods.
* XmlUrlResolverTests.cs : Renamed NullArgs to ResolveUriWithNullArgs,
and added GetEntityWithNullArgs() (though it is uncommented).
* XmlReaderCommonTests.cs : Added XML Schema-mode XmlValidatingReader
testing phase.
svn path=/trunk/mcs/; revision=18619
* ChainStream.cs: New. Allows to chain the WebRequest.GetRequestStream
so we can modify its content before sending it.
* Pipeline.cs: Fixed stupid error in ProcessOutputMessage (x++ -> x--)
* SoapContext.cs: Implemented CopyTo(SoapContext)
* SoapEnvelope.cs: New internal constructor for SoapContext
* SoapInputFilterCollection.cs: Fixed Clone() and added an internal
constructor.
* SoapOutputFilterCollection.cs: Fixed Clone() and added an internal
constructor.
* SoapWebRequest.cs: Completed TODO.
* WebServicesClientProtocol.cs: Fixed InvalidCast in GetWebResponse. But
how do we set the ResponseSoapContext ?
svn path=/trunk/mcs/; revision=18609
* XmlAttribute.cs : Removed extraneous MonoTODO.
* XmlTextWriter.cs : Implemented WriteBinHex() and WriteChars().
WriteStartElement() and WriteStartAttribute() should ignore Prefix
if namespace uri is not specified.
svn path=/trunk/mcs/; revision=18594
* XmlDocumentFragment.cs,
XmlElement.cs,
XmlEntityReference.cs : Removed extraneous MonoTODO.
* XmlNode.cs : Implemented Normalize().
* XmlNodeReader.cs :
- AttributeCount and HasAttributes should return its owner element's
value, to be consistent with XmlTextReader.
- Fixed Depth to reflect correct attribute/attribute-value iteration.
- simplified ownerElement and HasValue.
- Prefix won't return null.
- MoveToElement() should also work against attribute value nodes.
* XmlTextReader.cs : MoveToElement() should return false if it is
positioned at element itself.
svn path=/trunk/mcs/; revision=18589
* CryptoStreamTest.cs: Added test case from bugzilla #49323 from
Carlos Guzm�n �lvarez and some small tests for empty stream with
different PaddingMode (as found by Lluis Sanchez Gual).
svn path=/trunk/mcs/; revision=18587
* CryptoStream.cs: Fixed bug 49323. The CanTransformMultipleBlocks
optimization in Read has been fixed for partial blocks.
svn path=/trunk/mcs/; revision=18586
reflector if the TypeStubInfo does not provide one.
Do not create XmlSchemaExporter. Take it from the service reflector, sine
it must be reused for all protocol reflectors. Moved some code to
SoapProtocolReflector, since it cannot be reused for all reflectors.
* ServiceDescriptionReflector.cs: Reflect the type for all available
protocols.
* SoapProtocolReflector.cs: Moved here some code from ProtoclReflector.
* HttpGetProtocolReflector.cs, HttpPostProtocolReflector.cs,
HttpSimpleProtocolReflector.cs: new files.
svn path=/trunk/mcs/; revision=18576
WebServiceHandlerFactory that generates the documentation page.
* WebServiceHandlerFactory.cs: Moved the code that generates the doc page
to SoapDocumentationHandler.cs.
* HttpGetClientProtocol.cs, HttpGetWebServiceHandler.cs,
HttpPostClientProtocol.cs, HttpPostWebServiceHandler.cs,
HttpSimpleWebServiceHandler.cs, HttpSoapWebServiceHandler.cs,
SoapHttpClientProtocol.cs: Changed parameters of GetTypeStub call.
* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs: Added ProtocolName
property. Added check for valid parameters.
* HttpSimpleTypeStubInfo.cs: Define return MimeFormatter in constructor.
* Methods.cs: BindingInfo and related properties moved to base TypeStubInfo.
Added properties for XmlImporter and SoapImporter.
* TypeStubManager.cs: Added BindingInfo and related properties.
Changed GetTypeStub method. Now it takes the name of the protocol for
which to get the type stub info.
* ValueCollectionParameterReader.cs: IsSupported should only return true
for input primitive parameters or array of primitives.
svn path=/trunk/mcs/; revision=18575
* System.Web.Services.Configuration/WebServicesConfigurationSectionHandler.cs: keep the file name of the configuration file around for
wsdlHelpGenerator.
* System.Web.Services.Protocols/SoapDocumentationHandler.cs: it does not
generate the documentation page any more. GetDescription and GetSchemas
are now internal.
* System.Web.Services.Protocols/WebServiceHandlerFactory.cs: generate
the documentation page without doing a Transfer () but instead creating
a Page instance from the wsdl help file. This file is located from the
configuration file that contains the <wsdlHelpGenerator> tag.
svn path=/trunk/mcs/; revision=18539
* ConfigurationSettings.cs: patch by Eric Lindvall ([email protected])
that improves performance by not reading the file more than once.
svn path=/trunk/mcs/; revision=18534
quote the module and method names, properties have specialname,
and rtspecialname flags (nothing else), dis global methods and
fields FIXME: indentation issues.
* get.h: declare get_fieldref_signature
* get.c: Fix unsigned ints (not uint), single quote argument names
(this is kinda a hack, ildasm will only single quote arg names
that are ilasm keywords), remove fixme, we know what typedbyref
means, output fieldref signatures instead of their token
value.
svn path=/trunk/mono/; revision=18517
Carlos' bug seems to stem from my failure to interpolate
the "$$" substitution pattern properly.
This fixes bug #48666
svn path=/trunk/mcs/; revision=18492
* MergeManager.cs: New file.
* DataRelationCollection.cs (AddCore): Check that a
UniqueConstraint is already exists. It loops over the Relations
instead of the Constraints.
(Add, AddCore): The relation was added twice.
* DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
svn path=/trunk/mcs/; revision=18479
common code to ServiceDescriptionReflector.
* ServiceDescriptionReflector.cs: Moved some code from ProtocolReflector.cs
svn path=/trunk/mcs/; revision=18473
Fixed handling of members with XmlTextAttribute that are arrays.
* TypeData.cs: IsComplexType now returns true for XmlNode.
* XmlSerializer.cs: Added check for null mapping in FromMappings.
* XmlTypeMapping.cs: Added helper method FindTextElement.
svn path=/trunk/mcs/; revision=18471
* ConfigurationSettings.cs: patch by Eric Lindvall ([email protected])
that improves performance by not reading the file more than once.
svn path=/trunk/mcs/; revision=18462
* Added DTMXPathNode.cs.
* Fundamental changes in whole DTM stuff. Node information is now array
of "node struct" instead of individual arrays.
svn path=/trunk/mcs/; revision=18460
* System.Web/HttpApplication.cs: pass the Uri, not the file path to
when looking for a handler.
* System.Web.Configuration/HandlerItem.cs: make it work for file names
without wildcards.
svn path=/trunk/mcs/; revision=18459
* XmlSchema.cs : Read() should keep current position of XmlReader if
it was already positioned to 'schema' element.
svn path=/trunk/mcs/; revision=18458
* DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
* DataRelation.cs (constructor): When the name of the relation is
null, it should return an empty, not "Relation".
* DataRow.cs (AcceptChanges): Added special case for
RowState.Detached.
(CancelEdit): Set editing flag to false.
(IsNull): Check that the value is DBNull.
* DataRowCollection.cs (Add): There was no check that the table of
the collection is owned by a DataSet.
* DataSet.cs (OnMergeFailed): Added.
* UniqueConstraint.cs (AssertConstraint): There was no check that
values in the row are not null, where it is a primary key
column. Also check that the row has a proposed version, if not,
get the current version when we compare the rows.
svn path=/trunk/mcs/; revision=18452
* Ok, this was the beforementioned (on -devel) WSE Makefile edit.
Right now, this builds both WSE1 and WSE2, and installs them both, as
Microsoft.Web.Services.1.dll and
Microsoft.Web.Services.2.dll respectively.
It will also install Microsoft.Web.Services.1.dll as
Microsoft.Web.Services.dll. This behaviour can be overridden by
defining DEFAULT_WSE2
This can be defined in config.make or on the commandline (i think).
I have tested clean, all, and install, but have not tested dist or
test.
dist should work, test might or might not. (however, a toplevel make
dist wont be affected, because this dir is not being built by default)
This is pure amateur makefile hackery on my part, anyone who wants
to improve on this effort, please feel free.
svn path=/trunk/mcs/; revision=18450
* DTDValidatingReader.cs : Simplified to use
XmlSchemaUtil.GetParserContext().
* XmlValidatingReader.cs : ValidationType.Auto should always use
XsdValidatingReader because xsi:schemaLocation might be used.
svn path=/trunk/mcs/; revision=18441
* inssel.brg (OP_UNBOXCAST): Fix#46027.
* inssel.brg (OP_UNBOX): Remove unused rule.
* mini.h mini.c inssel-x86.brg: Allocate one SP variable for each
region instead of one for each method. Fixes#47813.
svn path=/trunk/mono/; revision=18431
* Makefile: Set TEST_MCS_FLAGS.
* Microsoft.JScript_test.dll.sources: deleted the building of my
local test BaseVsaEngineTest.
svn path=/trunk/mcs/; revision=18422
* Microsoft.Web.Services/SoapContext.cs: Added Action, To and ReplyTo
properties.
* Microsoft.Web.Services.Addressing/
Action.cs:
Address.cs:
AttributedUri.cs:
AttributedUriString.cs:
EndpointReference.cs:
EndpointReferenceType.cs:
ReplyTo.cs:
To.cs: Partially stubbed.
* Microsoft.Web.Services.Messaging/SoapReceiver.cs: Added protected
abstract method Receive.
* Microsoft.Web.Services.Messaging/
SoapReceivers.cs:
SoapSender.cs: Partially stubbed.
* Microsoft.Web.Services.Xml/IXmlElement.cs: Moved to the Xml namespace
which is where MS has it, added the namespace to classes that needed it
* Microsoft.Web.Services.Xml/OpenAttributeElement.cs: Partially stubbed
* Microsoft.Web.Services.dll.sources: Added new files.
svn path=/trunk/mcs/; revision=18417
* BaseVsaEngine.cs: added default constructor, added exceptions
for Close (), implemented GetOption, added properties that let
know the state of the engine.
svn path=/trunk/mcs/; revision=18413
* Control.cs:
(ClearChildViewState): doh! Don't clear control viewstate but the
viewstate of possible children.
(LoadViewStateRecursive): load viewstate even when control is not
visible.
Fixes bug #49024.
The rest are just dangling ^M removed.
* DataBoundLiteralControl.cs:
(LoadViewState): we get an object [], not a string [].
svn path=/trunk/mcs/; revision=18405
* handles.c:
* processes.c: undo thinkos.
* sockets.c: set last error when socket creation fails. This shed some
light on bug #49015.
svn path=/trunk/mono/; revision=18393
* mini.c (mono_method_to_ir): Avoid inlining tail calls.
* mini.c (mono_method_to_ir): Fix tail recursion in the presence of
inlining.
* mini.c (mono_method_check_inlining): Make the inlining limit
configurable by an environment variable.
* mini.c (mono_jit_runtime_invoke): Add Gonzalo's fix for #36545.
* mini.h: Bump AOT file version.
* mini.h mini.c aot.c mini-x86.c: For relocations which refer to a
token, store the image along with the token, since the token might not
refer to the same image as the method containing the relocation,
because of inlining.
svn path=/trunk/mono/; revision=18382
* typemanager.cs (TypeManager.GetMethodFlags): Added support for
inflated generic methods.
* generics.cs (ConstructedType): Distinguish between open and
closed constructed types; correctly resolve the arguments.
svn path=/trunk/mcs/; revision=18367
* handles.c: fixed thinko. We now store the strings with their \0.
* processes.c: fixed bug #48973: we only change \ by / for the argument
to be used as command.
When getting the program name from the args, don't let the space between
them in the args.
Store the strings with their terminating \0.
svn path=/trunk/mono/; revision=18352
* System.Web.UI/Control.cs: implemented ClearChildViewState ().
* System.Web.UI.WebControls/Repeater.cs: fixed bug #48807. It needed
to use a DummyDataSource and ClearViewState only called when no items.
svn path=/trunk/mcs/; revision=18351
Added support for IncludeInSchema flag.
* SoapSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
* XmlCodeExporter.cs: Implemented AddMappingMetadata and AddMappingMetadata
methods. Added support for IncludeInSchema flag.
* XmlSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
Added support for IncludeInSchema flag.
* XmlTypeAttribute.cs: Set includeInSchema to true by default.
* XmlTypeMapping.cs: Added IncludeInSchema property.
svn path=/trunk/mcs/; revision=18348
management of exceptions. Also added support for BufferResponse flag.
* Methods.cs: Added MethodAttribute property in MethodStubInfo. Added
XmlImporter, SoapImporter and Type properties in TypeStubInfo.
* SoapMessage.cs: little fix.
svn path=/trunk/mcs/; revision=18346
Added methods for getting extension importers and reflectors.
* ProtocolImporter.cs: Implemented.
* ProtocolReflector.cs: Implemented.
* ServiceDescriptionCollection.cs: Fixed some methods for finding wsdl
elements.
* ServiceDescriptionImporter.cs: moved most of the code to ProtocolImporter.
* ServiceDescriptionReflector.cs: moved most of the code to
ProtocolReflector and SoapProtocolReflector.
* SoapProtocolImporter.cs: Implemented.
* SoapProtocolReflector.cs: Implemented.
* SoapTransportImporter.cs: Implemented.
* SoapHttpTransportImporter.cs: Implemented.
* wsdl.genxs: Added.
svn path=/trunk/mcs/; revision=18345
* Makefile: added SqlSharp to the build.
* SqlSharp/SqlSharpCli.cs: changes by Daniel Morgan to make this build
with MS runtime 1.0 and 1.1 .
svn path=/trunk/mcs/; revision=18342
pinvoke info. This isn't entirely correct because native unmanaged
methods can have pinvoke info and not have 0 RVAs PEAPI can't
handle native unmanged code though. Expose the ModuleClass so
'global' items can be referenced like this '<Module>'::foo.
svn path=/trunk/mcs/; revision=18336
* gen-11.cs, gen-12.cs: New generics tests.
* gen-13-dll.cs, gen-13.exe.cs: New generics test; this test
consists of two files and tests whether this works if it's in two
files and not just in one.
svn path=/trunk/mcs/; revision=18333
* mini.c (mono_precompile_assemblies): New function to compile
all methods in all loaded assemblies.
* mini.h driver.c: Added new optimization flag MONO_OPT_PRECOMP.
svn path=/trunk/mono/; revision=18332
* regalloc.h regalloc.c (MonoRegState): Change the type of
iassign and fassign to int*, since they can contain large negative
values if the register is spilled. Also added some comments. Fixes
#45817.
svn path=/trunk/mono/; revision=18331
* DefaultContext.cs (translate): translate ("abc", "c", "") = "ab"
not "abc".
* Iterator.cs, Expression.cs: All axes are
SimpleIterators. SimpleIterators are gaurenteed to give the same
XPathNavigator in Current. Make AxisIterator take a
SimpleIterator, not any old BaseIterator. Will allow us to make
NameTable optimizations and avoid quite a few strcmp's.
svn path=/trunk/mcs/; revision=18326
* CheckBox.cs: render the 'disabled' attribute in the correct tag.
* WebControl.cs: fixed Enabled property and save it in ViewState.
Fixes bug #48802.
svn path=/trunk/mcs/; revision=18323
* mini.h (MONO_PATCH_INFO_WRAPPER): New patch type.
* aot.c: Added support for AOT compiling methods which contain calls
to wrappers. Currently, only remoting-invoke-with-check wrappers are
handled.
svn path=/trunk/mono/; revision=18322
* marshal.c (mono_marshal_method_from_wrapper): New function to return
the original method from the wrapper method.
svn path=/trunk/mono/; revision=18321
* corlib_test.dll.sources: Remove tests that generate compile
errors. The tests are still there but its name is rmoved here.
svn path=/trunk/mcs/; revision=18313
* mini-x86.c (mono_arch_patch_code): Allways create a trampoline for
jumps, since the method we are jumping to might be domain-specific.
* aot.c: Added support for MONO_PATCH_INFO_METHOD_JUMP.
svn path=/trunk/mono/; revision=18311
* XmlDocumentNavigator.cs : Fix for bugzilla #48931. MoveToRoot() now
considers such case that target node was not adapted to the document.
* XmlNamespaceManager.cs : GetEnumerator() missed the last pair.
* XmlTextWriter.cs : use 'as' instead of 'try..catch'.
svn path=/trunk/mcs/; revision=18308
* interp.c - reinstate use of mono_marshal_get_delegate_invoke
for ordering and fix CALLI to handle wrapper. More wrapper handling
in CALL and LDSTR. Add another string conversion case.
svn path=/trunk/mono/; revision=18306
* BaseVsaEngine.cs: Implemented the properties of "the kind of
state machine" that BaseVsaEngine is. There are some tiny details
- properly marked to be fixed - missing ;-). They were: Assembly,
Evidence, GenerateDebug, IsCompiled, IsDirty, IsRunning, Language,
LCID, Name, RootMoniker, RootNamespace, Site.
svn path=/trunk/mcs/; revision=18305
* XmlNode.cs (XPathNodeType): Give more useful debugging message.
* XmlDocumentNavigator.cs (MoveToPrevious): Needs same checks as
in MoveToNext.
svn path=/trunk/mcs/; revision=18302
* icall.c (ves_icall_Type_IsGenericTypeDefinition): Removed this
interncall since it was identical to `Type.GetGenericTypeDefinition()'.
(ves_icall_Type_get_IsGenericInstance): New interncall.
svn path=/trunk/mono/; revision=18301
* Type.cs (Type.IsGenericTypeDefinition): Removed this method
since it was identical to GetGenericTypeDefinition().
(Type.IsGenericInstance): New property.
svn path=/trunk/mcs/; revision=18300
* DbDataAdapter.cs (Fill): Patch from Eran Domb, <[email protected]>.
Fixes a possible NullReferenceException, more details here:
* DataColumn.cs (Unique): Implemented.
* DataTable.cs:
* ConstraintCollection.cs:
* ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
an Exception thrown. Details:
http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
* DataRowCollection.cs (Add): There is no checking that there is
no violation of the unique constrains.
* UniqueConstraint.cs (AssertConstraint): There is no checking on
all columns in the constraint.
svn path=/trunk/mcs/; revision=18298
* mono/tests/pinvoke*.cs, delegate4.cs, marshal10.cs, marshal4.cs
marshal5.cs: remove .so from DllImport of libtest to aid portability.
svn path=/trunk/mono/; revision=18286
* Microsoft.JScript/: Deleted VsaEngine.cs and BaseVsaEngine.cs
* Microsoft.JScript.dll.sources: Changed the namespaces for VsaEngine and BaseVsaEngine.
svn path=/trunk/mcs/; revision=18280
* Microsoft.Vsa: Added VsaException.
* Microsoft.Vsa.dll.sources: Added VsaException to the build.
* Microsoft.Vsa/VsaError.cs: set the values for the enums.
svn path=/trunk/mcs/; revision=18278
* XmlNamespaceManager.cs: Rewrote PopScope() because its namespace
recovery was still not enough. Fixed GrowScopes() (incorrect index).
svn path=/trunk/mcs/; revision=18271
* interp.c: use mono_marshal_get_delegate_invoke to get delegate
invocation order consistent. Fix THROW_EX, fix ip in overflow
exceptions.
svn path=/trunk/mono/; revision=18269
* DbDataRecord.cs: The method
System.Data.Common.DbDataRecord.GetValues(object[] values) did not
put the values of the DbDataRecord into values parameter.
svn path=/trunk/mcs/; revision=18264
* DocumentContext.cs: changed constructor from internal to public,
this a kind of hack ;), but we can build mjs.exe with that change.
* driver.cs, ast.cs, VsaEngine.cs, VariableStatement.cs,
VariableDeclaration.cs, VBArrayConstructor.cs, StringObject.cs,
StringLiteral.cs, StringConstructor.cs, Statement.cs,
ScriptStream.cs, ScriptObject.cs, ScriptFunction.cs,
ScriptBlock.cs, RegExpObject.cs, RegExpConstructor.cs, Print.cs,
Package.cs, ObjectConstructor.cs, NumberObject.cs,
NumberConstructor.cs, MathObject.cs, Literal.cs,
LenientGlobalObject.cs, JSVariableField.cs, JSToken.cs,
JSScanner.cs, JSParser.cs, JSObject.cs, JSLocalField.cs,
JSFunctionAttributeEnum.cs, JSFunctionAttibute.cs, JSField.cs,
JSBuiltIn.cs, IVsaScriptScope.cs, IRedirectOutput.cs,
IActivationObject.cs, GlobalScope.cs, GlobalObject.cs,
FunctionObject.cs, FunctionExpression.cs, FunctionDeclaration.cs,
FunctionConstructor.cs, FormalParameterList.cs, ErrorObject.cs,
ErrorConstructor.cs, EnumeratorObject.cs,
EnumeratorConstructor.cs, Enum.cs, Empty.cs, DocumentContext.cs,
DateObject.cs, DateConstructor.cs, Context.cs, Closure.cs,
BooleanObject.cs, BooleanConstructor.cs, Block.cs, BinaryOp.cs,
BaseVsaEngine.cs, ArrayObject.cs, ArrayConstructor.cs,
ActiveXObjectConstructor.cs, ActivationObject.cs:
indentation comformance to mono style. Returned to
Microsoft.JScript namespace name. Now we can build
Microsoft.JScript.dll on Linux/Windows, and build mjs.exe on
linux/Windows with our Microsoft.JScript.dll. To build mjs.exe:
$(CSC) /r:Microsoft.JScript.dll driver.cs. Also changed my mind
about the namespace stuff, because I want people
to contribute NUnit tests for Microsoft.JScript public API.
* jscript-lexer-parser.g: Now we are back to Microsoft.JScript namespace.
2003-09-21 <[email protected]>
svn path=/trunk/mcs/; revision=18262
report object for giving users errors/warnings/info.
* FieldDef.cs: When a data constant is assigned to a field the
constant might not exist yet. So just take the constants name and
look it up when writting code.
* Local.cs: Starting to add some error handling. Still playing
with diff ways to do this.
* MethodDef.cs: Add some error handling for local var lookups
* TypeDef.cs: Data is allways global so it should never be added
to a class
* TypeRef.cs: Error message for lookups.
svn path=/trunk/mcs/; revision=18259
* AspGenerator.cs: don't process code render tags inside scripts. Check
the language of the script and treat javascript as verbatim input.
Fixes bug #48592.
svn path=/trunk/mcs/; revision=18254
* XmlReaderCommonTests.cs : Added ProhibitedMultipleAttributes().
Fixed ReadAttributeValue(). Now I think it is MS.NET XmlTextReader
which is rather buggy than their XmlNodeReader.
* XmlTextReaderTests.cs : Added IfNamespacesThenProhibitedAttributes()
and trivial messagefix.
svn path=/trunk/mcs/; revision=18241
* XmlTextReader.cs :
- Fix for bugzilla #48337 (containing Ben's advice on that).
- Added internal XmlTokenInfo classes. Nodes are now handled as token
objects (linked node, attributes and attribute values). Most of the
node state properties and iterating methods are changed to refer to
the token classes (except for value builder availability). Removed
fields which are never used. CompileDTDSubset() is changed in
reflection to nodeType field removal.
- Fixed Depth that should vary in moving between attributes and/or
reading attribute values.
- LineNumber and LinePosition now returns more correct location.
- Fixed Value that should still return true if its value is an empty
attribute value string.
- EntityValue is checked WFC constraints even thoug it is not used.
- All .ctor() now initializes ReadState as Initial.
- Read() should be available for attribute value constructor.
* XmlAttribute.cs : set_InnerXml() now calls reader's Read().
svn path=/trunk/mcs/; revision=18240
* XmlNamespaceManager.cs: PopScope() must retain those namespaces which
are added in the scope before PushScope() was called.
svn path=/trunk/mcs/; revision=18239
* System.Web/HttpRequest.cs: small fix needed when reading big POST
data.
* System.Web.Compilation/CachingCompiler.cs: nothing interesting.
* System.Web.UI/SimpleWebHandlerParser.cs: add the ashx/asmx file
itself to the dependencies so that it's recompiled when changed.
svn path=/trunk/mcs/; revision=18237
* jscript-lexer-parser.g: Build ast for FunctionExpression.
* JSObject.cs: we don't throw NotImplementedException anymore,
this let us use FunctionExpression to build the ast.
* FunctionExpression.cs: Added a FunctionObject as field, a
default constructor.
* FunctionObject.cs: Added default constructor.
svn path=/trunk/mcs/; revision=18229
* XmlNamespaceManager.cs: Rewrote. Uses arrays, rather than linked
lists and removes uses of Hashtable. Results in huge speed gains.
svn path=/trunk/mcs/; revision=18225
* Attribute.cs: Change to struct. Remove QName class.
* GenericOutputter.cs: use an Attribute [] rather than an
ArrayList. Allows us not to allocate Attributes, which is great
for speed. Roll our own allocation.
svn path=/trunk/mcs/; revision=18220
* driver.cs: Deleted the Jsc class. We are not generating code
now. I'm moving to provide something like mcs's EmitContext
instead of the CodeGenerator class having the Reflection.Emit
builders and ILGenerator. This driver is just for Lexical and
Parsing phases testing.
svn path=/trunk/mcs/; revision=18219
* Compiler.cs: add GetNsm to main class as well.
* XslAttribute.cs, XslElement.cs: Allow dynamically parsed names.
svn path=/trunk/mcs/; revision=18217
* Compiler.cs (ParseAvtAttribute): Get the attribue using our
internal version so we get null if the attr doesnt exist.
svn path=/trunk/mcs/; revision=18214
* ASTList.cs, ArrayLiteral.cs, BitwiseBinary.cs, Block.cs,
DebugBreak.cs, Enum.cs, Equality.cs, Eval.cs, ForIn.cs,
FunctionExpression.cs, Import.cs, In.cs, InstanceOf.cs,
Literal.cs, NumericBinary.cs, NumericUnary.cs, Package.cs,
Plus.cs, PostOrPrefixOperator.cs, Print.cs, Relational.cs,
Statement.cs, StrictEquality.cs, StringLiteral.cs, Throw.cs,
Try.cs, TypeOf.cs, VariableDeclaration.cs, With.cs, ast.cs,
: erased Visit method and made some mono indentation style changes.
* CodeGenerator.cs: commented some function calls.
* FunctionDeclaration.cs: moved function attributes to
FunctionObject class, erased Visit method.
* FunctionObject.cs: Here is where we store a function
expression/declaration info, erased Visit method.
* ScriptBlock.cs: Added a Block field, Block will contain the
source elements.
* jscript-lexer-parser.g: updated the grammar to build the program
representation based on ScriptBlock.
svn path=/trunk/mcs/; revision=18202
* Expression.cs: in NodeTypeTest dont throw an exception if it is
an unknown node type (allows for better Pattern debugging)
svn path=/trunk/mcs/; revision=18197
* assembly.c: don't call check_env from mono_assembly_load. It's
already done once in mono_assemblies_init and may cause headaches when
multiple threads are loading assemblies.
svn path=/trunk/mono/; revision=18182
* reflection.c (mono_reflection_define_generic_parameter): Don't
allocate `klass->methods', set `klass->flags' to
TYPE_ATTRIBUTE_INTERFACE, not TYPE_ATTRIBUTE_ABSTRACT.
svn path=/trunk/mono/; revision=18180
* decl.cs (MemberCache.SetupCacheForInterface): Take a
`MemberCache parent' argument. Normally, an interface doesn't
have a parent type except System.Object, but we use this in gmcs
for generic type parameters.
svn path=/trunk/mcs/; revision=18179
* decl.cs (MemberCache.SetupCacheForInterface): Take a
`MemberCache parent' argument. Normally, an interface doesn't
have a parent type except System.Object, but we use this in gmcs
for generic type parameters.
svn path=/trunk/mcs/; revision=18178
* typemanager.cs (TypeHandle.ctor): Set `IsInterface' solely based
on `type.IsInterface'; don't check whether the type has a parent
to determine whether it's an interface.
svn path=/trunk/mcs/; revision=18177
* typemanager.cs (TypeHandle.ctor): Set `IsInterface' solely based
on `type.IsInterface'; don't check whether the type has a parent
to determine whether it's an interface.
svn path=/trunk/mcs/; revision=18176
* class.c (mono_class_init): Don't create `class->methods' if it's
already initialized.
* metadata.c (mono_metadata_load_generic_params): Make this
actually work.
* reflection.c (mono_reflection_define_generic_parameter): Set
parent class and interfaces from the constraints.
* reflection.h (MonoReflectionGenericParam): Added `guint32 flags'
to keep this struct in sync with the declaration in TypeBuilder.cs.
svn path=/trunk/mono/; revision=18169
* ConditionalAttribute.cs: AllowMultiple should be true according
to bug #48598.
----------------------------------------------------------------------
svn path=/trunk/mcs/; revision=18168
* TypeBuilder.cs (TypeBuilder.CreateType): Don't append the type
parameters to the type name; ie. use `Stack' instead of `Stack<T>'.
svn path=/trunk/mcs/; revision=18146
* metadata.h (MonoType): Replaced the data's `int type_param'
field with `MonoGenericParam *generic_param'.
(MonoGenericParam): Added `MonoClass *klass'.
* class.c (mono_class_from_gen_param): Removed the
`MonoImage *image' and `int type_num' arguments.
* metadata.c (mono_metadata_parse_generic_param): New static
method; creates a MonoGenericParam which just contains the index.
(do_mono_metadata_parse_type): Call
mono_metadata_parse_generic_param() for MONO_TYPE_VAR and
MONO_TYPE_MVAR.
* reflection.c (mono_image_typedef_or_ref): Generic type
parameters may be in the same assembly, but never use a typedef
for them.
(mono_reflection_define_generic_parameter): We're now creating a
"real" class for the type parameter; it's now safe to call
mono_class_from_mono_type() on the class'es type, it'll do the
right thing.
svn path=/trunk/mono/; revision=18144
* AllTests.cs: New. Common methods to get DSA/RSA keypairs.
* AsymmetricDecryptionKeyTest.cs: New. Unit tests for AsymmetricDecryptionKey.
* AsymmetricEncryptionKeyTest.cs: New. Unit tests for AsymmetricEncryptionKey.
* AuthenticationKeyTest.cs: New. Unit tests for AuthenticationKey.
* BinarySecurityTokenTest.cs: New. Unit tests for BinarySecurityToken.
* SignatureKeyTest.cs: New. Unit tests for SignatureKey.
* SymmetricDecryptionKeyTest.cs: New. Unit tests for SymmetricDecryptionKey.
* SymmetricEncryptionKeyTest.cs: New. Unit tests for SymmetricEncryptionKey.
* UsernameTokenTest.cs: New. Unit tests for UsernameToken.
* WSSecurityTest.cs: New. Unit tests for WSSecurity.
* XmlEncryptionTest.cs: New. Unit tests for XmlEncryption.
* XmlSignatureTest.cs: New. Unit tests for XmlSignat
svn path=/trunk/mcs/; revision=18143
* Makefile: corrected testing in Windows/Cygwin (from mbas.exe to ./mbas.exe), because it was getting the installed compiler instead of the compiled one
* mb-tokenizer.cs: Redoing: Preprocessor directives must be case-insensitive (many .ToLower() used)
* driver.cs: No more 'linkpaths' option, use 'libpath' instead
svn path=/trunk/mcs/; revision=18134
* mono-debug-debugger.c (allocate_symbol_file_entry): Initialize
`symfile->range_entry_size' and `symfile->class_entry_size' here;
the `symfile' data structure must be fully initialized before it
gets added to the table.
svn path=/trunk/mono/; revision=18130
* GenericOutputter.cs: Output attributes in order recieved; not
required by spec, but useful for running test cases.
svn path=/trunk/mcs/; revision=18119
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&component=System.Web&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FClass%20Libraries&component=System.Web">[Add]</a> ASP.NET WebForms
* <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&component=System.Web.Services&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&order=Reuse+same+sort+as+last+time&form_name=query">[Query]</a> <a href="http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%2FClass%20Libraries&component=System.Web.Services">[Add]</a> ASP.NET Web Services
<li><a href="http://primates.ximian.com/~atsushi/mono-jp/">Mono Japanese Translation</a>:
Mono site Japanese translation pages. Translated sources are maintained at <a href="http://forge.novell.com/modules/xfmod/project/?mono-jp">Novell Forge</a>.
There are two ADO.NET data providers for <a href="http://www.postgresql.org/">PostgreSQL</a> in Mono:
When it comes to Mono and PostgreSQL, there are many ways
you can handle your data. You have many Mono Data Providers which can be used
to access data from a application written for Mono.
Then there is the future goal of having the ability to host Mono within PostgreSQL to
have the applications run on the server which makes things much faster.
* Hosting Mono in PostgreSQL
There is a project to <a href="http://gborg.postgresql.org/project/plmono/projdisplay.php">host Mono within PostgreSQL</a>.
plMono is a PostgreSQL language using the embedded Mono runtime. It provides support for writing functions in C#, or any other language that supports .NET.
* Data Providers
There are many ADO.NET data providers for <a href="http://www.postgresql.org/">PostgreSQL</a>:
There are two providers created specifically for PostgreSQL included with Mono:
<li>a .NET Managed Data Provider for PostgreSQL</li>
<li>Written in 100% C#</li>
@@ -25,6 +43,8 @@
<li>Mono.Data.PostgreSQL (deprecated)
<ul>
<li>included with Mono</li>
<li>Deprecated in favor of Npgsql</li>
<li>Exists in namespace Mono.Data.PostgreSql and assembly Mono.Data.PostgreSql</li>
@@ -37,6 +57,12 @@
</ul>
</li>
<li><a href="http://sourceforge.net/projects/mysqlnet/">ByteFX.Data</a> has a provider for PostgreSQL too, but I do not know how well it works with Mono.</li>
<li>There is another .NET data provider for PostgreSQL named <a href="http://sourceforge.net/projects/pgsqlclient/">PgSqlClient</a>, but I do not know if it works with Mono.</li>
<li>If none of the above providers meet your needs. There is the ODBC and OLEDB providers included with Mono.</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
XML library is used by several field of Mono such as ADO.NET and XML
Digital Signature (xmldsig). Here I write about System.Xml.dll and
related tools. This page won't include any classes which are in other
assemblies such as XmlDataDocument.
Note that current corlib has its own XML parser class named Mono.Xml.MiniParser.
Basically System.XML.dll feature has finished, or almost finished, so
I write this page mainly for bugs and improvement hints.
** System.Xml namespace
*** Document Object Model (Core)
DOM feature has already implemented. There is still missing feature.
<ul>
* ID constraint support is problematic because W3C DOM does not
specify handling of ID attributes into non-adapted element.
(MS.NET also looks incomplete in this area).
* I think, event feature is not fully tested. There are no
concrete desctiption on which events are risen, so we have to
do some experiment on MS.NET.
</ul>
*** Xml Writer
Here XmlWriter almost equals to XmlTextWriter. If you want to see
another implementation, check XmlNodeWriter.cs used in monodoc.
XmlTextWriter is completed. However, it looks nearly twice as slow as
MS.NET (I tried 1.1)
*** XmlResolver
Currently XmlTextReader uses specified XmlResolver. If nothing was supplied,
then it uses XmlUrlResolver. XmlResolver is used to parse external DTD,
importing XSL stylesheets and schemas etc.
However, XmlUrlResolver is still buggy (mainly because System.Uri is also
incomplete yet) and this results in several loading error.
XmlSecureResolver, which is introduced in MS .NET Framework 1.1 is basically
implemented, but it requires CAS (code access security) feature. We need to
fixup this class after ongoing CAS effort works.
You might also be interested in an improved <a href="http://codeblogs.ximian.com/blogs/benm/archives/000039.html">XmlCachingResolver</a> by Ben Maurer.
*** XmlNameTable
XmlNameTable itself is implemented. However, it should be actually used in
several classes. Currently it makes sense if compared names are both in
the table, they should be simply compared using ReferenceEquals(). We
have partially done in XmlNamespaceManager (in .NET 1.2 methods; if the
build is not NET_1_2 then it is internal use only).
*** Xml Stream Reader
When we are using ASCII document, we don't care which encoding we are using.
However, XmlTextReader must be aware of the specified encoding in XML
declaration. So we have internal XmlStreamReader class (and currently
XmlInputStream class. This may disappear since XmlStreamReader is enough to
handle this problem).
However, there seems some problems in these classes on reading network
stream (especially on Linux). This should be fixed soon, if we found the
actual reason.
*** XML Reader
XmlTextReader, XmlNodeReader and XmlValidatingReader are almost finished.
<ul>
* Most of the OASIS conformance test passes as Microsoft
does, but about W3C tests, it is still not perfect.
* I won't add any XDR support on XmlValidatingReader. (I haven't
ever seen XDR used other than Microsoft's BizTalk Server 2000,
and Now they have 2002 with XML Schema support)
</ul>
XmlTextReader and XmlValidatingReader should be faster than now. Currently
XmlTextReader looks nearly twice as slow as MS.NET, and XmlValidatingReader
(which uses this slow XmlTextReader) looks nearly three times slower. (Note
that XmlValidatingReader won't be slow as itself. It uses schema validating
reader and dtd validating reader.)
**** Some Advantages
The design of Mono's XmlValidatingReader is radically different from
that of Microsoft's implementation. Under MS.NET, DTD content validation
engine is in fact simple replacement of XML Schema validation engine.
Mono's DTD validation is designed fully separate and does validation
as normal XML parser does. For example, Mono allows non-deterministic DTD.
Another advantage of this XmlValidatingReader is support for *any* XmlReader.
Microsoft supports only XmlTextReader.
I added extra support interface named "IHasXmlParserContext", which is
considered in XmlValidatingReader.ResolveEntity(). Microsoft failed to
design XmlReader to support pluggable use of XmlReader (i.e. wrapping use
of other XmlReader) since XmlParserContext is required to support both
entity resolution and namespace manager. (In .NET 1.2, Microsoft also
supported similar to IHasXmlParserContext, named IXmlNamespaceResolver,
but it still does not provide any DTD information.)
We also have RELAX NG validating reader. See mcs/class/Commons.Xml.Relaxng.
** System.Xml.Schema
*** Summary
Basically it is completed. We can compile complex and simple types, refer to
external schemas, extend or restrict other types, or use substitution groups.
You can test how current schema validation engine is (in)complete by using
standalone test module
(see mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests).
At least in my box, msxsdtest fails only 30 cases with bugfixed catalog.
*** Schema Object Model
Completed, except for some things to be fixed:
<ul>
* Complete facet support. Currently some of them is missing.
Recently David Sheldon is doing several fixes on them.
* ContentTypeParticle for pointless xs:choice is incomplete
(It is because fixing this arose another bugs in
compilation. Interestingly, MS.NET also fails around here,
so it might be nature of ContentTypeParticle design)
* Some derivation by restriction (DBR) handling is incorrect.
</ul>
*** Validating Reader
XML Schema validation feature is (currently) implemented on
Mono.Xml.Schema.XsdValidatingReader, which is internally used in
XmlValidatingReader.
Basically this is implemented and actually its feature is almost complete,
but I have only did validation feature testing. So we have to write more
tests on properties, methods, and events (validation errors).
** System.Xml.Serialization
Lluis rules ;-)
Well, in fact XmlSerializer is almost finished and is on bugfix phase.
However, we appliciate more tests. Please try
<ul>
* System.Web.Services to invoke SOAP services.
* xsd.exe and wsdl.exe to create classes.
</ul>
And if any problems were found, please file it to bugzilla.
Lluis also built interesting standalone test system placed under
mcs/class/System.Web.Services/Test/standalone.
You might also interested in genxs, which enables you to create custom
XML serializer. This is not included in Microsoft.NET.
See mcs/tools/genxs for the details.
** System.Xml.XPath and System.Xml.Xsl
There are two implementations for XSLT. One (and historical) implementation
is based on libxslt. Now we uses fully implemented managed XSLT.
As for Managed XSLT, we support msxsl:script.
It would be nice if we can support <a href="http://www.exslt.org/">EXSLT</a>.
<a href="http://msdn.microsoft.com/WebServices/default.aspx?pull=/library/en-us/dnexxml/html/xml05192003.asp">Microsoft has already done it</a>, but it
is not good code since it depends on internal concrete derivatives of
XPathNodeIterator classes. In general, .NET's "extension objects" is not
usable to return node-sets, so if we support EXSLT, it has to be done
internally inside our System.XML.dll. Volunteers are welcome.
Our managed XSLT implementation is still inefficient. XslTransform.Load()
and .Transform() looks three times slower (However it depends on
XmlTextReader which is also slow, so we are starting optimization from
that class, not XSLT itself). These number are only for specific cases,
and there might be more critical point on XSLT engine (mainly
XPathNodeIterator).
** System.Xml and ADO.NET v2.0
Microsoft introduced the first beta version of .NET Framework 1.2 runtime
and sdk (and Visual Studio Whidbey). They are now available on MSDN
_subscriber_ download (i.e. it is not publicly downloadable yet). It
contains several new classes.
There are two assemblies related to System.Xml v2.0; System.Xml.dll and
System.Data.SqlXml.dll (here I treat sqlxml.dll as part of System.Xml v2.0,
but note that it is also one of the ADO.NET 2.0 feature). There are several
namespaces such as MS.Internal.Xml and System.Xml. Note that .NET Framework
is pre-release version and MS.Internal.Xml namespace apparently shows that
it is not in stable status as yet.
System.Xml 2.0 contains several features such as:
<ul>
* XPathNavigator2 and XPathDocument2
* XML Query
* XmlAdapter
* XSLT IL generator (similar to Apache XSLTC) - it is
internal use
</ul>
Tim Coleman started ADO.NET 2.0 related works. Currently I have no plan to
implement System.Xml v2.0 classes and won't touch with them immediately,
but will start in next some months. If any of you wants to try this
frontier, we welcome your effort.
*** XPathNavigator2
System.Xml v2.0 implementation will be started from XPathDocument2 and
XPathNavigator2 implementations. Firstly, its document structure and
basic navigation feature will be implemented. And next, XPath2 engine
should be implemented (XPathNavigator2 looks very different from
XPathNavigator). Another requirement is schema based validation feature.
It needs some schema improvements, such like IXmlInfosetReader support.
(IXmlInfosetReader is in MS.Internal.Xml.)
*** XML Query
XML Query is a new face XML data manipulation language (well, at least new
to .NET world). It is similar to SQL, but intended to manipulate and to
support XML. It is similar to XSLT, but extended to support new features
such as XML Schema based datatypes.
XML Query implementation can be found mainly in System.Xml.Query and
MS.Internal.Xml.Query namespaces. Note that they are in
System.Data.SqlXml.dll.
MSDN documentation says that there are two kind of API for XML Query: High
Level API and Low Level API. At the time of this beta version, the Low Level
API is described not released yet (though it may be MS.Internal.Xml.*
classes). However, to implement the High Level API, the Low Level API will
be used. They looks to have interesting class structures in MS.Internal.Xml
related stuff, so it would be nice (and I will) start to learn about them.
They looks to have IL generator classes, but it would be difficult to
start from them.
*** System.Data.Mapping
System.Data.Mapping and System.Data.Mapping.RelationalSchema are the
namespaces for mapping support between database and xml. This is at
stubbing phase (incomplete as yet).
*** XmlAdapter
XmlAdapter is used to support XML based query and update using
XPathDocument2 and XPathNavigator2. This class is designed to synthesize
ADO.NET and System.Xml. It connects to databases, and querys data however
in XML shape into XPathDocument2, using Mapping schema above. This must be
done after several classes such as XPathDocument2 and MappingSchema.
** Miscellaneous Class Libraries
*** RELAX NG
I implemented an experimental RelaxngValidatingReader. It is far from
complete, especially simplification stuff (see RELAX NG spec chapter 4),
some constraints (in chapter 7), and datatype handling.
I am planning improvements (starts with renaming classes, giving more
kind error messages, supporting compact syntax and even object mapping),
but it is still my wishlist.
** Tools
*** xsd.exe
See <a href="ado-net.html">ADO.NET page</a>.
Microsoft has another inference class from XmlReader to XmlSchemaCollection
(Microsoft.XsdInference). It may be useful, but it won't be so easy.
** Miscellaneous
Sometimes I hear complain about System.dll and System.Xml.dll mutual
dependency: System.dll references to System.Xml.dll (e.g.
System.Configuration.ConfigXmlDocument extended from XmlDocument), while
Since they are in public method signatures, so at least we cannot get rid
of these mutual references.
However, for those who really want to build System.Xml.dll without System.dll,
I created <a href="http://primates.ximian.com/~atsushi/System_DummyClasses.cs">dummy classes in System.dll</a>. To build System.Xml.dll in such way, remove
<code>/r:System.dll</code> from Makefile, and add this source to
System.Xml.dll.sources. Note that this is at the point of Mono 0.30 release.
Also note that you still need System.dll to run mcs.
@@ -97,7 +125,7 @@ rest of your build can proceed.
If you want to always use the atomic profile, run this command:
echo PROFILE=atomic >> build/config.make
./configure --profile=atomic
More About the Build System
===========================
Loaded 100 of 4280 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.