mono.git
20 years ago2004-01-24 David Sheldon <dave-mono@earth.li>
David Sheldon [Sat, 24 Jan 2004 14:22:21 +0000 (14:22 -0000)]
2004-01-24  David Sheldon <dave-mono@earth.li>

       * 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

20 years ago2004-01-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 24 Jan 2004 13:07:14 +0000 (13:07 -0000)]
2004-01-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

20 years agoCorrected literal suffixes in test source file
Rafael Teixeira [Sat, 24 Jan 2004 12:31:09 +0000 (12:31 -0000)]
Corrected literal suffixes in test source file

svn path=/trunk/mcs/; revision=22463

20 years ago2004-01-24 David Sheldon <dave-mono@earth.li>
David Sheldon [Sat, 24 Jan 2004 11:58:57 +0000 (11:58 -0000)]
2004-01-24 David Sheldon <dave-mono@earth.li>

* AssemblyBuilder.cs: Added override for GetFiles() that throws
  NotSupportedException.

svn path=/trunk/mcs/; revision=22462

20 years ago2004-01-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sat, 24 Jan 2004 03:55:32 +0000 (03:55 -0000)]
2004-01-24  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* 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

20 years agoHttpWebRequest.cs: Added missing property.
Lluis Sanchez [Sat, 24 Jan 2004 02:13:23 +0000 (02:13 -0000)]
HttpWebRequest.cs: Added missing property.

svn path=/trunk/mcs/; revision=22460

20 years agoXmlFormatExtensionPrefixAttribute.cs: Allow multiple usage.
Lluis Sanchez [Sat, 24 Jan 2004 02:11:05 +0000 (02:11 -0000)]
XmlFormatExtensionPrefixAttribute.cs: Allow multiple usage.

svn path=/trunk/mcs/; revision=22459

20 years agoTypeInfo.cs: The list of interfaces may be null. Added check.
Lluis Sanchez [Sat, 24 Jan 2004 02:08:15 +0000 (02:08 -0000)]
TypeInfo.cs: The list of interfaces may be null. Added check.

svn path=/trunk/mcs/; revision=22458

20 years ago * SoapReflectionImporter.cs: Types included with SoapInclude don't need
Lluis Sanchez [Sat, 24 Jan 2004 02:01:59 +0000 (02:01 -0000)]
* SoapReflectionImporter.cs: Types included with SoapInclude don't need
  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

20 years ago * ContractReference.cs, DiscoveryClientProtocol.cs,
Lluis Sanchez [Sat, 24 Jan 2004 01:56:33 +0000 (01:56 -0000)]
* ContractReference.cs, DiscoveryClientProtocol.cs,
  DiscoveryDocumentReference.cs: When resolving a wsdl document, recursively
  resolve the documents it imports.

svn path=/trunk/mcs/; revision=22456

20 years ago * HttpWebClientProtocol.cs: Added missing property.
Lluis Sanchez [Sat, 24 Jan 2004 01:52:48 +0000 (01:52 -0000)]
* HttpWebClientProtocol.cs: Added missing property.
* 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

20 years ago * ExtensionManager.cs: Support more than one XmlFormatExtensionPrefixAttribute
Lluis Sanchez [Sat, 24 Jan 2004 01:44:39 +0000 (01:44 -0000)]
* ExtensionManager.cs: Support more than one XmlFormatExtensionPrefixAttribute
  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

20 years agoadded some more tests
César Natarén [Fri, 23 Jan 2004 22:25:57 +0000 (22:25 -0000)]
added some more tests

svn path=/trunk/mcs/; revision=22453

20 years agotests for function decls
César Natarén [Fri, 23 Jan 2004 22:24:52 +0000 (22:24 -0000)]
tests for function decls

svn path=/trunk/mcs/; revision=22452

20 years agoupdates from grammar changes
César Natarén [Fri, 23 Jan 2004 22:22:51 +0000 (22:22 -0000)]
updates from grammar changes

svn path=/trunk/mcs/; revision=22451

20 years agoChangelog entries
César Natarén [Fri, 23 Jan 2004 22:22:02 +0000 (22:22 -0000)]
Changelog entries

svn path=/trunk/mcs/; revision=22450

20 years ago2004-01-23 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Fri, 23 Jan 2004 22:18:22 +0000 (22:18 -0000)]
2004-01-23  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* 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

20 years agoThis may work for the little fella, too.
Paolo Molaro [Fri, 23 Jan 2004 22:09:10 +0000 (22:09 -0000)]
This may work for the little fella, too.

svn path=/trunk/mono/; revision=22448

20 years agoWorkaround old automake issue.
Paolo Molaro [Fri, 23 Jan 2004 21:31:39 +0000 (21:31 -0000)]
Workaround old automake issue.

svn path=/trunk/mono/; revision=22447

20 years agoFri Jan 23 16:10:44 EST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 20:53:40 +0000 (20:53 -0000)]
Fri Jan 23 16:10:44 EST 2004 Paolo Molaro <lupus@ximian.com>

* Makefile.am: make the version script conditional.
* jit-icalls.c: handle missing truncl().

svn path=/trunk/mono/; revision=22446

20 years agoFri Jan 23 16:07:05 EST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 20:51:46 +0000 (20:51 -0000)]
Fri Jan 23 16:07:05 EST 2004 Paolo Molaro <lupus@ximian.com>

* 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

20 years agoFri Jan 23 21:27:40 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 20:16:54 +0000 (20:16 -0000)]
Fri Jan 23 21:27:40 CET 2004 Paolo Molaro <lupus@ximian.com>

* 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

20 years agoFri Jan 23 21:07:02 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 20:16:43 +0000 (20:16 -0000)]
Fri Jan 23 21:07:02 CET 2004 Paolo Molaro <lupus@ximian.com>

* socket-wrappers.h, sockets.h, sockets.c, Makefile.am: move socket
wrappers to its own non-installed header file.

svn path=/trunk/mono/; revision=22443

20 years ago2004-01-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jan 2004 20:16:10 +0000 (20:16 -0000)]
2004-01-23  Atsushi Enomoto <atsushi@ximian.com>

* 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

20 years agoFri Jan 23 21:26:01 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 20:08:50 +0000 (20:08 -0000)]
Fri Jan 23 21:26:01 CET 2004 Paolo Molaro <lupus@ximian.com>

* configure.in, acconfig.h: added check for socklen_t.

svn path=/trunk/mono/; revision=22441

20 years ago2004-01-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 23 Jan 2004 19:45:56 +0000 (19:45 -0000)]
2004-01-23  Atsushi Enomoto <atsushi@ximian.com>

* XmlElementTests.cs : Added SetAttributeXmlns.
* XmlTextWriterTests.cs : Added several xmlns-related tests.

svn path=/trunk/mcs/; revision=22440

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 18:02:43 +0000 (18:02 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Dns.cs: don't block forever in EndResolve and EndGetHostByName. Fixes
bug #53222.

svn path=/trunk/mcs/; revision=22439

20 years ago2004-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jan 2004 17:21:32 +0000 (17:21 -0000)]
2004-01-23  Zoltan Varga  <vargaz@freemail.hu>

* exceptions.cs: Add more tests for double->int conversion.

svn path=/trunk/mono/; revision=22438

20 years ago2004-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jan 2004 17:19:35 +0000 (17:19 -0000)]
2004-01-23  Zoltan Varga  <vargaz@freemail.hu>

* 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

20 years agoFri Jan 23 17:12:08 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 23 Jan 2004 15:55:12 +0000 (15:55 -0000)]
Fri Jan 23 17:12:08 CET 2004 Paolo Molaro <lupus@ximian.com>

* driver.c: make --verbose --version emit an error
if the loaded corlib doesn't match the runtime version.

svn path=/trunk/mono/; revision=22436

20 years agoCorrected a build problem.
Ravindra [Fri, 23 Jan 2004 15:47:41 +0000 (15:47 -0000)]
Corrected a build problem.

svn path=/trunk/mcs/; revision=22435

20 years agoAdded missing methods in SizeF.
Ravindra [Fri, 23 Jan 2004 15:41:01 +0000 (15:41 -0000)]
Added missing methods in SizeF.

svn path=/trunk/mcs/; revision=22434

20 years agoUpdated Test.Sources
Anirban Bhattacharjee [Fri, 23 Jan 2004 15:30:05 +0000 (15:30 -0000)]
Updated Test.Sources

svn path=/trunk/mcs/; revision=22433

20 years agoFew more test cases
Anirban Bhattacharjee [Fri, 23 Jan 2004 15:02:37 +0000 (15:02 -0000)]
Few more test cases

svn path=/trunk/mcs/; revision=22432

20 years ago2004-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jan 2004 13:17:07 +0000 (13:17 -0000)]
2004-01-23  Zoltan Varga  <vargaz@freemail.hu>

* profiler.c (merge_methods): Fix merging of profile info. Fixes #53010.

svn path=/trunk/mono/; revision=22431

20 years agonew members for the graphic class
Jordi Mas i Hernandez [Fri, 23 Jan 2004 13:07:28 +0000 (13:07 -0000)]
new members for the graphic class

svn path=/trunk/mcs/; revision=22430

20 years agoupdate tasks and email
Jordi Mas i Hernandez [Fri, 23 Jan 2004 11:47:07 +0000 (11:47 -0000)]
update tasks and email

svn path=/trunk/mono/; revision=22429

20 years ago2004-01-23 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 23 Jan 2004 11:37:19 +0000 (11:37 -0000)]
2004-01-23  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): Strip .dll from library names.
Fixes #22532.

svn path=/trunk/mono/; revision=22428

20 years ago2004-01-23 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 23 Jan 2004 10:31:54 +0000 (10:31 -0000)]
2004-01-23  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay, class.cs (DefineDefaultConstructor): Fixed ModFlags
                setting for default constructors.

svn path=/trunk/mcs/; revision=22426

20 years ago2004-01-22 David Sheldon <dave-mono@earth.li>
David Sheldon [Fri, 23 Jan 2004 09:50:08 +0000 (09:50 -0000)]
2004-01-22  David Sheldon <dave-mono@earth.li>

      * 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

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 08:55:35 +0000 (08:55 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpSessionState.cs:
* SessionInProcHandler.cs: IsNewSession doesn't have a public setter.

* SessionStateModule.cs: doesn't implement IRequiresSessionState.
* StateServerItem.cs: not public.

svn path=/trunk/mcs/; revision=22423

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 08:54:35 +0000 (08:54 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: added RequireSSL and SlidingExpiration.

svn path=/trunk/mcs/; revision=22422

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 08:53:58 +0000 (08:53 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AuthConfig.cs:
* AuthenticationConfigHandler.cs: added RequireSSL and
SlidingExpiration.

* HandlerFactoryProxy.cs: not public.
* HandlerItem.cs: not public.

svn path=/trunk/mcs/; revision=22421

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 08:53:07 +0000 (08:53 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpCachePolicy.cs: it's not public.
* HttpRuntime.cs: wait for requests before disposing the queue.

svn path=/trunk/mcs/; revision=22420

20 years ago2004-01-23 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 23 Jan 2004 08:26:32 +0000 (08:26 -0000)]
2004-01-23  Marek Safar <marek.safar@seznam.cz>
* System.EnterpriseServices.dll.sources: Added AssemblyInfo.cs

svn path=/trunk/mcs/; revision=22419

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 07:00:13 +0000 (07:00 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateControlCompiler.cs: allow handling subproperties for other
types than Style and Font. Fixes bug #53217.

svn path=/trunk/mcs/; revision=22418

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 06:40:31 +0000 (06:40 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* StringBuilderTest.cs: added test for bug #53240.

svn path=/trunk/mcs/; revision=22417

20 years ago2004-01-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 23 Jan 2004 06:39:17 +0000 (06:39 -0000)]
2004-01-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* StringBuilder.cs:
(Remove): fixed offsets when copying and set the new size. Fixes bug
#53240.

svn path=/trunk/mcs/; revision=22416

20 years agoUpdate, just so everyone has it
Miguel de Icaza [Fri, 23 Jan 2004 04:43:03 +0000 (04:43 -0000)]
Update, just so everyone has it

svn path=/trunk/mono/; revision=22415

20 years ago2004-01-22 David Sheldon <dave-mono@earth.li>
David Sheldon [Thu, 22 Jan 2004 21:56:41 +0000 (21:56 -0000)]
2004-01-22  David Sheldon <dave-mono@earth.li>

* 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

20 years ago2004-01-22 David Sheldon <dave-mono@earth.li>
David Sheldon [Thu, 22 Jan 2004 21:53:40 +0000 (21:53 -0000)]
2004-01-22 David Sheldon <dave-mono@earth.li>

 * 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

20 years ago2004-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2004 20:21:27 +0000 (20:21 -0000)]
2004-01-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextWriterTests.cs : Added *Do*OutputRemovalDefaultNSDeclaration.

svn path=/trunk/mcs/; revision=22412

20 years ago2004-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2004 20:17:29 +0000 (20:17 -0000)]
2004-01-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlElement.cs : Reverted previous fix since it broke monodoc web
  service.

svn path=/trunk/mcs/; revision=22411

20 years ago2004-01-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 22 Jan 2004 19:50:39 +0000 (19:50 -0000)]
2004-01-22  Zoltan Varga  <vargaz@freemail.hu>

* 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

20 years ago2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 22 Jan 2004 17:43:29 +0000 (17:43 -0000)]
2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Resources/ResXResourceReader.cs: read empty tags properly.
Fixes bug #53174. Patch by Tomasz Kaszuba.

svn path=/trunk/mcs/; revision=22408

20 years ago2004-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2004 17:36:28 +0000 (17:36 -0000)]
2004-01-22  Atsushi Enomoto <atsushi@ximian.com>

* xml-classes : status update, additional infos.

svn path=/trunk/mono/; revision=22407

20 years ago2004-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2004 16:31:31 +0000 (16:31 -0000)]
2004-01-22  Atsushi Enomoto <atsushi@ximian.com>

* 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

20 years ago2004-01-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 22 Jan 2004 15:07:24 +0000 (15:07 -0000)]
2004-01-22  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am: Do not install mono.pc on platforms without a JIT.

svn path=/trunk/mono/; revision=22405

20 years ago2004-01-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 22 Jan 2004 14:37:46 +0000 (14:37 -0000)]
2004-01-21  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* 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

20 years agoforgot one
Rafael Teixeira [Thu, 22 Jan 2004 14:04:17 +0000 (14:04 -0000)]
forgot one

svn path=/trunk/mcs/; revision=22403

20 years ago2004-01-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 22 Jan 2004 14:02:45 +0000 (14:02 -0000)]
2004-01-22  Zoltan Varga  <vargaz@freemail.hu>

* interp.c (mono_main): Remove call to mono_verify_corlib (), since
the verification code is not up-to-date.

svn path=/trunk/mono/; revision=22402

20 years agomoved around
Rafael Teixeira [Thu, 22 Jan 2004 14:00:29 +0000 (14:00 -0000)]
moved around

svn path=/trunk/mcs/; revision=22401

20 years ago2004-01-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 22 Jan 2004 13:59:02 +0000 (13:59 -0000)]
2004-01-21  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Microsoft.VisualBasic_test.dll.sources: Added new test files

svn path=/trunk/mcs/; revision=22400

20 years ago2004-01-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 22 Jan 2004 13:56:12 +0000 (13:56 -0000)]
2004-01-22  Zoltan Varga  <vargaz@freemail.hu>

* 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

20 years ago2004-01-21 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 22 Jan 2004 13:56:01 +0000 (13:56 -0000)]
2004-01-21  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Added UtilsTest.cs:
Initial tests for Utils.CopyArray undocumented runtime function

svn path=/trunk/mcs/; revision=22398

20 years agoflush
Rafael Teixeira [Thu, 22 Jan 2004 13:54:59 +0000 (13:54 -0000)]
flush

svn path=/trunk/mcs/; revision=22397

20 years ago2004-01-22 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 22 Jan 2004 13:53:27 +0000 (13:53 -0000)]
2004-01-22  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Utils.cs:
First Try Implementation for CopyArray(): NET_1_1-aware

svn path=/trunk/mcs/; revision=22396

20 years agoflush
Rafael Teixeira [Thu, 22 Jan 2004 11:58:36 +0000 (11:58 -0000)]
flush

svn path=/trunk/mcs/; revision=22395

20 years ago * XmlSerializationReaderInterpreter.cs: When deserializing an XmlElement,
Lluis Sanchez [Thu, 22 Jan 2004 11:07:41 +0000 (11:07 -0000)]
* XmlSerializationReaderInterpreter.cs: When deserializing an XmlElement,
  do not check the root element name, since it can be any name. This fixes
  bug #53201.

svn path=/trunk/mcs/; revision=22393

20 years agofixes change log
Jordi Mas i Hernandez [Thu, 22 Jan 2004 10:47:31 +0000 (10:47 -0000)]
fixes change log

svn path=/trunk/mcs/; revision=22392

20 years ago2004-01-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 22 Jan 2004 10:47:08 +0000 (10:47 -0000)]
2004-01-22  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke17.cs: Fix test.

svn path=/trunk/mono/; revision=22391

20 years agoserveral methods added, serveral fixes, and test case
Jordi Mas i Hernandez [Thu, 22 Jan 2004 10:41:03 +0000 (10:41 -0000)]
serveral methods added, serveral fixes, and test case

svn path=/trunk/mcs/; revision=22390

20 years ago2004-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2004 09:26:02 +0000 (09:26 -0000)]
2004-01-22  Atsushi Enomoto <atsushi@ximian.com>

* 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

20 years ago2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 22 Jan 2004 08:18:17 +0000 (08:18 -0000)]
2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DateTimeTest.cs: added test for bug 52075.

svn path=/trunk/mcs/; revision=22388

20 years ago2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 22 Jan 2004 08:17:12 +0000 (08:17 -0000)]
2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TimeSpan.cs: fixed bug #52075. Days (int) don't rely on TotalDays
(double), which might round up.

svn path=/trunk/mcs/; revision=22387

20 years ago2004-01-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 22 Jan 2004 07:52:08 +0000 (07:52 -0000)]
2004-01-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaSimpleTypeRestriction.cs : regexp improvements. Modify
  pattern string as "^str$" and convert WXS specific char classes into
  .NET regexp patterns.

svn path=/trunk/mcs/; revision=22386

20 years ago2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 22 Jan 2004 07:32:50 +0000 (07:32 -0000)]
2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

20 years ago**** Merged from HEAD ****
Martin Baulig [Thu, 22 Jan 2004 05:36:17 +0000 (05:36 -0000)]
**** Merged from HEAD ****

svn path=/trunk/mcs/; revision=22383

20 years ago2004-01-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 22 Jan 2004 05:25:47 +0000 (05:25 -0000)]
2004-01-22  Martin Baulig  <martin@ximian.com>

* 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

20 years ago2004-01-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 22 Jan 2004 04:58:33 +0000 (04:58 -0000)]
2004-01-22  Martin Baulig  <martin@ximian.com>

* namespace.cs (NamespaceEntry.UsingAlias): Take an Expression,
not a string as alias name.

svn path=/trunk/mcs/; revision=22381

20 years ago**** Merged from HEAD ****
Martin Baulig [Thu, 22 Jan 2004 04:32:09 +0000 (04:32 -0000)]
**** Merged from HEAD ****

svn path=/trunk/mcs/; revision=22380

20 years ago2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 22 Jan 2004 04:17:43 +0000 (04:17 -0000)]
2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: just return instead of ExitThread to allow for thread
clean up earlier.

svn path=/trunk/mono/; revision=22379

20 years ago**** Merged from HEAD ****
Martin Baulig [Thu, 22 Jan 2004 04:08:55 +0000 (04:08 -0000)]
**** Merged from HEAD ****

svn path=/trunk/mcs/; revision=22378

20 years ago2004-01-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 22 Jan 2004 03:29:37 +0000 (03:29 -0000)]
2004-01-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

20 years ago**** Merged from HEAD ****
Martin Baulig [Thu, 22 Jan 2004 03:28:29 +0000 (03:28 -0000)]
**** Merged from HEAD ****

svn path=/trunk/mcs/; revision=22375

20 years ago**** Merged from HEAD ****
Martin Baulig [Thu, 22 Jan 2004 03:16:36 +0000 (03:16 -0000)]
**** Merged from HEAD ****

svn path=/trunk/mcs/; revision=22373

20 years ago**** Merged from HEAD ****
Martin Baulig [Thu, 22 Jan 2004 03:02:58 +0000 (03:02 -0000)]
**** Merged from HEAD ****

svn path=/trunk/mcs/; revision=22372

20 years ago(GdipGetPathTypes, GdipGetPathPoints): Add
Duncan Mak [Thu, 22 Jan 2004 01:55:34 +0000 (01:55 -0000)]
(GdipGetPathTypes, GdipGetPathPoints): Add
OutAttribute to the array argument. This fixes the PathPoints
property in System.Drawing.Drawing2D.GraphicsPath.

svn path=/trunk/mcs/; revision=22371

20 years ago2004-01-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Thu, 22 Jan 2004 01:51:51 +0000 (01:51 -0000)]
2004-01-22  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* 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

20 years agoIncomplete daily snapshots url in corlib is out of sync error.
Eduardo Garcia Cebollero [Thu, 22 Jan 2004 01:46:48 +0000 (01:46 -0000)]
Incomplete daily snapshots url in corlib is out of sync error.

svn path=/trunk/mono/; revision=22369

20 years agoMONO_MANAGED_WATCHER
Gonzalo Paniagua Javier [Thu, 22 Jan 2004 01:38:13 +0000 (01:38 -0000)]
MONO_MANAGED_WATCHER

svn path=/trunk/mcs/; revision=22368

20 years agodocumented MONO_MANAGED_WATCHER
Gonzalo Paniagua Javier [Thu, 22 Jan 2004 01:37:46 +0000 (01:37 -0000)]
documented MONO_MANAGED_WATCHER

svn path=/trunk/mono/; revision=22367

20 years agoImprove text
Miguel de Icaza [Thu, 22 Jan 2004 01:25:36 +0000 (01:25 -0000)]
Improve text

svn path=/trunk/mcs/; revision=22366

20 years agoRemove debugging message
Miguel de Icaza [Thu, 22 Jan 2004 01:23:37 +0000 (01:23 -0000)]
Remove debugging message

svn path=/trunk/mcs/; revision=22365

20 years agonew test
Miguel de Icaza [Thu, 22 Jan 2004 01:23:21 +0000 (01:23 -0000)]
new test

svn path=/trunk/mcs/; revision=22364

20 years ago2004-01-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 22 Jan 2004 01:18:58 +0000 (01:18 -0000)]
2004-01-21  Miguel de Icaza  <miguel@ximian.com>

* 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

20 years ago2004-01-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 21 Jan 2004 21:54:45 +0000 (21:54 -0000)]
2004-01-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

20 years agoRevert this patch, as it breaks the compiler
Miguel de Icaza [Wed, 21 Jan 2004 21:13:06 +0000 (21:13 -0000)]
Revert this patch, as it breaks the compiler

svn path=/trunk/mono/; revision=22361

20 years ago2004-01-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 21 Jan 2004 21:05:34 +0000 (21:05 -0000)]
2004-01-21  Martin Baulig  <martin@ximian.com>

* 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

20 years ago2004-01-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 21 Jan 2004 20:59:39 +0000 (20:59 -0000)]
2004-01-21  Martin Baulig  <martin@ximian.com>

* test-227.cs: New test for #52517.

svn path=/trunk/mcs/; revision=22359