Eran Domb [Thu, 8 Jan 2004 12:22:51 +0000 (12:22 -0000)]
DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram, InferSchema, ReadSchema and IgnoreSchema.
XmlDataLoader.cs : All modes use the same logic.
XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
svn path=/trunk/mcs/; revision=21848
Lluis Sanchez [Thu, 8 Jan 2004 12:22:03 +0000 (12:22 -0000)]
SynchronizationAttributeTest.cs: Improved test.
svn path=/trunk/mcs/; revision=21847
Eran Domb [Thu, 8 Jan 2004 12:21:47 +0000 (12:21 -0000)]
Fix a bug. Check if table is in DataSet before adding it.
svn path=/trunk/mcs/; revision=21846
Lluis Sanchez [Thu, 8 Jan 2004 12:04:46 +0000 (12:04 -0000)]
* XsdValidatingReader.cs: In MoveToAttribute(name), if "name" is a default
attribute, search for the attribute ignoring the namespace. This matches
MS.NET behavior (and fixes bug #52557).
svn path=/trunk/mcs/; revision=21845
Zoltan Varga [Thu, 8 Jan 2004 10:57:14 +0000 (10:57 -0000)]
2004-01-08 Zoltan Varga <vargaz@freemail.hu>
* TypeBuilder.cs (IsDefined): Implement this, since some corlib classes
make calls to IsDefined.
svn path=/trunk/mcs/; revision=21844
Atsushi Eno [Thu, 8 Jan 2004 08:03:08 +0000 (08:03 -0000)]
2004-01-08 Atsushi Enomoto <atsushi@ximian.com>
* xsdtest.cs : XmlReaders should be closed in case of errors.
svn path=/trunk/mcs/; revision=21843
Atsushi Eno [Thu, 8 Jan 2004 07:53:49 +0000 (07:53 -0000)]
2004-01-08 Atsushi Enomoto <atsushi@ximian.com>
* 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
Miguel de Icaza [Thu, 8 Jan 2004 04:29:30 +0000 (04:29 -0000)]
Add bug fix to fullbuild
svn path=/trunk/mono/; revision=21841
Miguel de Icaza [Thu, 8 Jan 2004 04:15:05 +0000 (04:15 -0000)]
Flush
svn path=/trunk/mono/; revision=21840
Miguel de Icaza [Thu, 8 Jan 2004 04:08:27 +0000 (04:08 -0000)]
Remove this until we get the packages signed
svn path=/trunk/mono/; revision=21839
Miguel de Icaza [Thu, 8 Jan 2004 04:04:17 +0000 (04:04 -0000)]
Flush
svn path=/trunk/mono/; revision=21838
Miguel de Icaza [Thu, 8 Jan 2004 03:31:24 +0000 (03:31 -0000)]
Nothing to see here, move along
svn path=/trunk/mcs/; revision=21837
Atsushi Eno [Thu, 8 Jan 2004 02:52:39 +0000 (02:52 -0000)]
2004-01-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlAttribute.cs, XmlElement.cs :
Fixed incorrect protected .ctor modification.
svn path=/trunk/mcs/; revision=21836
Miguel de Icaza [Thu, 8 Jan 2004 02:29:24 +0000 (02:29 -0000)]
Small update from Peter's posting
svn path=/trunk/mono/; revision=21834
Gonzalo Paniagua Javier [Thu, 8 Jan 2004 00:59:35 +0000 (00:59 -0000)]
2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRequest.cs: use ContentEncoding for QueryString. Fixes bug #52577.
Thanks to Jan Jaros (mono-bug@jerryweb.info).
* HttpRequestValidationException.cs: fix comment.
svn path=/trunk/mcs/; revision=21833
Gonzalo Paniagua Javier [Wed, 7 Jan 2004 23:08:12 +0000 (23:08 -0000)]
2004-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Miguel de Icaza [Wed, 7 Jan 2004 22:58:36 +0000 (22:58 -0000)]
2004-01-07 Miguel de Icaza <miguel@ximian.com>
* cs-parser.jay (interface_event_declaration): Catch
initialization of events on interfaces, and report cs0068
* cs-parser.jay (interface_event_declaration): Catch
initialization of events.
* ecore.cs: Better report missing constructors.
svn path=/trunk/mcs/; revision=21831
Zoltan Varga [Wed, 7 Jan 2004 21:06:01 +0000 (21:06 -0000)]
2004-01-07 Zoltan Varga <vargaz@freemail.hu>
* reflection.c: Add support for more than one unmanaged resource.
svn path=/trunk/mono/; revision=21829
Atsushi Eno [Wed, 7 Jan 2004 19:34:52 +0000 (19:34 -0000)]
2004-01-08 Atsushi Enomoto <atsushi@ximian.com>
* XsdValidatingReader.cs : Fixed in reflection to
XmlSchemaObjectTableGetEnumerator.Value change.
svn path=/trunk/mcs/; revision=21828
Atsushi Eno [Wed, 7 Jan 2004 19:34:15 +0000 (19:34 -0000)]
2004-01-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaObjectTable.cs : Modified enumerator's Current to return
DictionaryEntry.
* XmlSchemaComplexType.cs, XmlSchemaUtil.cs :
In reflection to object table enumerator change.
svn path=/trunk/mcs/; revision=21827
Lluis Sanchez [Wed, 7 Jan 2004 18:24:11 +0000 (18:24 -0000)]
* RegexBugs.cs: Improved test. In Split(), if the last match is at the end
of the string, an empty string must be added to the array of results.
svn path=/trunk/mcs/; revision=21826
Lluis Sanchez [Wed, 7 Jan 2004 18:23:37 +0000 (18:23 -0000)]
* regex.cs: In Split(), if the last match is at the end of the string,
an empty string must be added to the array of results.
svn path=/trunk/mcs/; revision=21825
Atsushi Eno [Wed, 7 Jan 2004 17:58:48 +0000 (17:58 -0000)]
2004-01-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaElement.cs : Fixed incorrect unique particle attribution
check on ##other and target namespace element.
svn path=/trunk/mcs/; revision=21824
Miguel de Icaza [Wed, 7 Jan 2004 16:36:17 +0000 (16:36 -0000)]
Applied patch from Marek Safar
svn path=/trunk/mcs/; revision=21823
Miguel de Icaza [Wed, 7 Jan 2004 16:35:35 +0000 (16:35 -0000)]
Applied Patch from Marek Safar
svn path=/trunk/mcs/; revision=21822
Miguel de Icaza [Wed, 7 Jan 2004 15:27:28 +0000 (15:27 -0000)]
2004-01-07 Miguel de Icaza <miguel@ximian.com>
* cs-parser.jay (interface_event_declaration): Catch
initialization of events.
svn path=/trunk/mcs/; revision=21821
Nick Drochak [Wed, 7 Jan 2004 15:13:11 +0000 (15:13 -0000)]
2004-01-08 Nick Drochak <ndrochak@ieee.org>
* Iterator.cs: Removed unused variable.
svn path=/trunk/mcs/; revision=21820
Miguel de Icaza [Wed, 7 Jan 2004 15:12:29 +0000 (15:12 -0000)]
2004-01-07 Miguel de Icaza <miguel@ximian.com>
* expression.cs (Binary.ResolveOperator): My previous bug fix had
the error reporting done in the wrong place. Fix.
svn path=/trunk/mcs/; revision=21819
Nick Drochak [Wed, 7 Jan 2004 15:11:57 +0000 (15:11 -0000)]
2004-01-08 Nick Drochak <ndrochak@ieee.org>
* XmlSchemaImporter.cs: Removed unused variable.
svn path=/trunk/mcs/; revision=21818
Miguel de Icaza [Wed, 7 Jan 2004 15:11:15 +0000 (15:11 -0000)]
Improve
svn path=/trunk/mcs/; revision=21817
Nick Drochak [Wed, 7 Jan 2004 15:10:49 +0000 (15:10 -0000)]
2004-01-08 Nick Drochak <ndrochak@ieee.org>
* XmlSchemaSimpleType.cs: Needed a 'new' on the property
* XmlSchemaXPath.cs: Removed unreachable code.
svn path=/trunk/mcs/; revision=21816
Nick Drochak [Wed, 7 Jan 2004 15:08:37 +0000 (15:08 -0000)]
2004-01-08 Nick Drochak <ndrochak@ieee.org>
* DTDValidatingReader.cs: Removed unused variable
svn path=/trunk/mcs/; revision=21815
Nick Drochak [Wed, 7 Jan 2004 15:06:40 +0000 (15:06 -0000)]
2004-01-08 Nick Drochak <ndrochak@ieee.org>
* XslAttribute.cs: Removed unused variable
svn path=/trunk/mcs/; revision=21814
Nick Drochak [Wed, 7 Jan 2004 15:05:40 +0000 (15:05 -0000)]
2004-01-08 Nick Drochak <ndrochak@ieee.org>
* XsltCompiledContext.cs: Remove unused variable and unreachable code.
svn path=/trunk/mcs/; revision=21813
Nick Drochak [Wed, 7 Jan 2004 15:00:48 +0000 (15:00 -0000)]
2004-01-08 Nick Drochak <ndrochak@ieee.org>
* XsdParticleValidationState.cs: Remove unreachable code.
svn path=/trunk/mcs/; revision=21812
Nick Drochak [Wed, 7 Jan 2004 14:51:32 +0000 (14:51 -0000)]
2004-01-07 Nick Drochak <ndrochak@ieee.org>
* Makefile: Don't hide behind the /nowarns. Fix them.
svn path=/trunk/mcs/; revision=21811
Atsushi Eno [Wed, 7 Jan 2004 14:46:43 +0000 (14:46 -0000)]
2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlNamespaceManager.cs : Implemented .NET 1.2 methods that take
atomizedNames argument.
* XmlTextReader.cs : Use new namespace manager methods.
Reduced NameTable.Add().
* DTDObjectModel.cs : fixed incorrectly commented-out line.
svn path=/trunk/mcs/; revision=21810
Zoltan Varga [Wed, 7 Jan 2004 14:17:54 +0000 (14:17 -0000)]
2004-01-07 Zoltan Varga <vargaz@freemail.hu>
* TypeBuilderTest.cs (TestEnums): New test for using runtime generated
enums.
svn path=/trunk/mcs/; revision=21809
Zoltan Varga [Wed, 7 Jan 2004 14:09:23 +0000 (14:09 -0000)]
2004-01-07 Zoltan Varga <vargaz@freemail.hu>
* 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
Zoltan Varga [Wed, 7 Jan 2004 13:52:26 +0000 (13:52 -0000)]
2004-01-07 Zoltan Varga <vargaz@freemail.hu>
* TypeBuilderTest.cs (IsDefined): Comment out this test, since
IsDefined works under mono.
svn path=/trunk/mcs/; revision=21807
Nick Drochak [Wed, 7 Jan 2004 13:18:37 +0000 (13:18 -0000)]
2004-01-07 Nick Drochak <ndrochak@ieee.org>
* genericparser.cs:
* mb-tokenizer.cs:
* row.cs: Eliminate warnings about unused variables.
svn path=/trunk/mcs/; revision=21806
Alon Gazit [Wed, 7 Jan 2004 13:09:40 +0000 (13:09 -0000)]
Fixed PrepareControlHierarchyForItem().
merge the column's style to the cell's style and not to the item's(row) style.
svn path=/trunk/mcs/; revision=21805
Lluis Sanchez [Wed, 7 Jan 2004 12:32:07 +0000 (12:32 -0000)]
* XmlReflectionImporter.cs: Ignore Namespace property when applying
the [XmlType] attribute to an enum. This fixes bug #52607.
svn path=/trunk/mcs/; revision=21804
Atsushi Eno [Wed, 7 Jan 2004 12:26:28 +0000 (12:26 -0000)]
2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
* 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
Lluis Sanchez [Wed, 7 Jan 2004 11:51:55 +0000 (11:51 -0000)]
Added information about web service tests
svn path=/trunk/mono/; revision=21802
Atsushi Eno [Wed, 7 Jan 2004 09:05:23 +0000 (09:05 -0000)]
2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
* DTDObjectModel.cs, DTDReader.cs, XmlSecureResolver.cs :
avoiding obvious exception.
* DTDReader.cs, XmlTextReader.cs : Some optimization.
Avoided extraneous PeekChar() and reduced name string creation.
svn path=/trunk/mcs/; revision=21797
Eran Domb [Wed, 7 Jan 2004 06:47:14 +0000 (06:47 -0000)]
Fix a bug. No need to load the document.
svn path=/trunk/mcs/; revision=21787
Miguel de Icaza [Wed, 7 Jan 2004 06:29:43 +0000 (06:29 -0000)]
2004-01-07 Miguel de Icaza <miguel@ximian.com>
* 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
Miguel de Icaza [Wed, 7 Jan 2004 06:27:09 +0000 (06:27 -0000)]
Improve test
svn path=/trunk/mcs/; revision=21785
Miguel de Icaza [Wed, 7 Jan 2004 06:26:43 +0000 (06:26 -0000)]
Improve test
svn path=/trunk/mcs/; revision=21784
Miguel de Icaza [Wed, 7 Jan 2004 06:03:44 +0000 (06:03 -0000)]
Indentation
svn path=/trunk/mcs/; revision=21781
Miguel de Icaza [Wed, 7 Jan 2004 05:55:04 +0000 (05:55 -0000)]
2004-01-07 Miguel de Icaza <miguel@ximian.com>
* 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
Miguel de Icaza [Wed, 7 Jan 2004 05:41:57 +0000 (05:41 -0000)]
Improve test
svn path=/trunk/mcs/; revision=21777
Sebastien Pouliot [Wed, 7 Jan 2004 04:27:11 +0000 (04:27 -0000)]
2004-01-06 Sebastien Pouliot <spouliot@videotron.ca>
* corlib_test.dll.sources: Added SecurityException unit tests in
System.Security namespace.
svn path=/trunk/mcs/; revision=21776
Sebastien Pouliot [Wed, 7 Jan 2004 04:19:42 +0000 (04:19 -0000)]
2004-01-06 Sebastien Pouliot <spouliot@videotron.ca>
* 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
Sebastien Pouliot [Wed, 7 Jan 2004 04:15:39 +0000 (04:15 -0000)]
2004-01-06 Sebastien Pouliot <spouliot@videotron.ca>
* 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
Gonzalo Paniagua Javier [Wed, 7 Jan 2004 02:06:05 +0000 (02:06 -0000)]
2004-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gc.c: added missing LeaveCriticalSection.
* icall.c: indented a couple of lines.
* threadpool.c: remove dangling LeaveCriticalSection. Don't wait forever
if we call EndInvoke inside a callback. Fixes bug #52601.
svn path=/trunk/mono/; revision=21772
Miguel de Icaza [Wed, 7 Jan 2004 01:33:56 +0000 (01:33 -0000)]
2004-01-06 Miguel de Icaza <miguel@ximian.com>
* driver.cs: Allow assemblies without code to be generated, fixes
52230.
svn path=/trunk/mcs/; revision=21771
Gonzalo Paniagua Javier [Wed, 7 Jan 2004 01:18:40 +0000 (01:18 -0000)]
remove generated files
svn path=/trunk/mcs/; revision=21770
Miguel de Icaza [Wed, 7 Jan 2004 01:12:02 +0000 (01:12 -0000)]
Update
svn path=/trunk/mcs/; revision=21769
Gonzalo Paniagua Javier [Wed, 7 Jan 2004 01:09:33 +0000 (01:09 -0000)]
reenabled Mono.Posix
svn path=/trunk/mcs/; revision=21768
Gonzalo Paniagua Javier [Wed, 7 Jan 2004 01:06:48 +0000 (01:06 -0000)]
2004-01-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* 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
Duncan Mak [Wed, 7 Jan 2004 01:04:55 +0000 (01:04 -0000)]
Import GraphicsPath functions from GDI+.
svn path=/trunk/mcs/; revision=21766
Miguel de Icaza [Wed, 7 Jan 2004 00:38:59 +0000 (00:38 -0000)]
Update, some people got confused
svn path=/trunk/mcs/; revision=21765
Martin Baulig [Wed, 7 Jan 2004 00:36:11 +0000 (00:36 -0000)]
2004-01-07 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.h
(MonoDebuggerIOLayer): Added `GetCurrentThreadID'.
svn path=/trunk/mono/; revision=21764
Miguel de Icaza [Wed, 7 Jan 2004 00:28:14 +0000 (00:28 -0000)]
Remove non-POSIX flags
svn path=/trunk/mcs/; revision=21763
Rafael Teixeira [Tue, 6 Jan 2004 23:07:08 +0000 (23:07 -0000)]
2004/01/06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* 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
Miguel de Icaza [Tue, 6 Jan 2004 22:34:40 +0000 (22:34 -0000)]
2004-01-06 Miguel de Icaza <miguel@ximian.com>
* 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
Miguel de Icaza [Tue, 6 Jan 2004 22:32:08 +0000 (22:32 -0000)]
2004-01-06 Miguel de Icaza <miguel@ximian.com>
* 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
Gonzalo Paniagua Javier [Tue, 6 Jan 2004 22:30:50 +0000 (22:30 -0000)]
2004-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpException.cs: default to error 500. Fixes bug #52623.
svn path=/trunk/mcs/; revision=21757
Rafael Teixeira [Tue, 6 Jan 2004 22:26:54 +0000 (22:26 -0000)]
2004-01-06 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Information.cs:
Implemented IsNumeric(object)
svn path=/trunk/mcs/; revision=21756
Rafael Teixeira [Tue, 6 Jan 2004 21:06:37 +0000 (21:06 -0000)]
someone has left Console.cs uncompilable - fixed it
svn path=/trunk/mcs/; revision=21755
Miguel de Icaza [Tue, 6 Jan 2004 21:02:59 +0000 (21:02 -0000)]
Forgot to make this internal
svn path=/trunk/mcs/; revision=21754
Martin Willemoes Hansen [Tue, 6 Jan 2004 20:46:31 +0000 (20:46 -0000)]
* doc/books: Added books on Web Services and ASP.NET
svn path=/trunk/mono/; revision=21752
Zoltan Varga [Tue, 6 Jan 2004 18:33:35 +0000 (18:33 -0000)]
2004-01-06 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilder.cs: Fix warning.
svn path=/trunk/mcs/; revision=21748
Miguel de Icaza [Tue, 6 Jan 2004 17:27:13 +0000 (17:27 -0000)]
2004-01-06 Miguel de Icaza <miguel@ximian.com>
* 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
Nick Drochak [Tue, 6 Jan 2004 15:33:05 +0000 (15:33 -0000)]
2004-01-07 Nick Drochak <ndrochak@gol.com>
* attribute.cs: Remove unneeded catch variables. Eliminates a warning.
svn path=/trunk/mcs/; revision=21745
Eran Domb [Tue, 6 Jan 2004 12:42:08 +0000 (12:42 -0000)]
Fix method access modifier.
svn path=/trunk/mcs/; revision=21744
Eran Domb [Tue, 6 Jan 2004 11:10:25 +0000 (11:10 -0000)]
Add remarks.
svn path=/trunk/mcs/; revision=21743
Eran Domb [Tue, 6 Jan 2004 11:09:32 +0000 (11:09 -0000)]
DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
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
Eran Domb [Tue, 6 Jan 2004 10:56:20 +0000 (10:56 -0000)]
DataRelationCollection.cs : Use IndexOf in indexer.
svn path=/trunk/mcs/; revision=21741
Atsushi Eno [Tue, 6 Jan 2004 06:33:04 +0000 (06:33 -0000)]
2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
* makefile : added xml-classes page.
svn path=/trunk/mono/; revision=21740
Atsushi Eno [Tue, 6 Jan 2004 06:29:22 +0000 (06:29 -0000)]
2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
* added xml-classes to summarize system.xml.dll status.
svn path=/trunk/mono/; revision=21739
Sebastien Pouliot [Tue, 6 Jan 2004 04:45:18 +0000 (04:45 -0000)]
2004-01-05 Sebastien Pouliot <spouliot@videotron.ca>
* 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
Atsushi Eno [Tue, 6 Jan 2004 03:44:38 +0000 (03:44 -0000)]
2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : use /noconfig like System.dll (to erase make test warning)
svn path=/trunk/mcs/; revision=21737
Sebastien Pouliot [Tue, 6 Jan 2004 03:43:05 +0000 (03:43 -0000)]
2004-01-05 Sebastien Pouliot <spouliot@videotron.ca>
* 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
Sebastien Pouliot [Tue, 6 Jan 2004 03:32:39 +0000 (03:32 -0000)]
2004-01-05 Sebastien Pouliot <spouliot@videotron.ca>
* 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
Sebastien Pouliot [Tue, 6 Jan 2004 03:27:56 +0000 (03:27 -0000)]
2004-01-05 Sebastien Pouliot <spouliot@videotron.ca>
* CodeAccessPermissionTest.cs: New. Unit tests on a non-abstract
CodeAccessPermission class.
* SecurityManagerTest.cs: Removed .Policy from namespace.
svn path=/trunk/mcs/; revision=21734
Sebastien Pouliot [Tue, 6 Jan 2004 03:23:58 +0000 (03:23 -0000)]
2004-01-05 Sebastien Pouliot <spouliot@videotron.ca>
* 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
Sebastien Pouliot [Tue, 6 Jan 2004 03:15:33 +0000 (03:15 -0000)]
2004-01-05 Sebastien Pouliot <spouliot@videotron.ca>
* 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
Atsushi Eno [Tue, 6 Jan 2004 03:15:21 +0000 (03:15 -0000)]
2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
* 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
Atsushi Eno [Tue, 6 Jan 2004 03:06:37 +0000 (03:06 -0000)]
2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs : quick fix on local file relative uri.
svn path=/trunk/mcs/; revision=21730
Atsushi Eno [Tue, 6 Jan 2004 02:43:15 +0000 (02:43 -0000)]
2004-01-06 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs : Fixed Parse(). Should not allow relative URIs.
svn path=/trunk/mcs/; revision=21729
Atsushi Eno [Tue, 6 Jan 2004 00:36:09 +0000 (00:36 -0000)]
2003-01-06 Atsushi Enomoto <atsushi@ximian.com>
* DirectoryTest.cs : remoed incorrect args.
svn path=/trunk/mcs/; revision=21728
Miguel de Icaza [Mon, 5 Jan 2004 22:45:08 +0000 (22:45 -0000)]
Updated some notes, and:
2004-01-05 Miguel de Icaza <miguel@ximian.com>
* 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
David Sheldon [Mon, 5 Jan 2004 22:30:46 +0000 (22:30 -0000)]
2004-01-05 David Sheldon <dave-mono@earth.li>
* XmlTextReader.cs: Fixed constructors taking string url to not
loose the absolute part of the path.
svn path=/trunk/mcs/; revision=21726
Jackson Harper [Mon, 5 Jan 2004 22:29:11 +0000 (22:29 -0000)]
* DataView.cs: Set readonly property of property descriptor. This
fixes bug #52598.
svn path=/trunk/mcs/; revision=21725
Jackson Harper [Mon, 5 Jan 2004 19:19:47 +0000 (19:19 -0000)]
* HandlerItem.cs: Fix typo so slashes are stripped from paths properly.
svn path=/trunk/mcs/; revision=21724
Zoltan Varga [Mon, 5 Jan 2004 17:41:13 +0000 (17:41 -0000)]
2004-01-05 Zoltan Varga <vargaz@freemail.hu>
* reflection.h: Update after changes to object layout.
* reflection.c: Implement saving of unmanaged aka win32 resources.
* appdomain.c: Bump version number.
* appdomain.c (ves_icall_System_AppDomain_InternalSetDomainByID):
Handle missing domains gracefully.
svn path=/trunk/mono/; revision=21722
Zoltan Varga [Mon, 5 Jan 2004 17:34:39 +0000 (17:34 -0000)]
2004-01-05 Zoltan Varga <vargaz@freemail.hu>
* Environment.cs: Bump version.
svn path=/trunk/mcs/; revision=21721