mono.git
20 years ago2003-12-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 17 Dec 2003 17:22:52 +0000 (17:22 -0000)]
2003-12-17  Zoltan Varga  <vargaz@freemail.hu>

* Assembly.cs: Add stubs for LoadFile.

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

20 years ago2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Dec 2003 17:12:25 +0000 (17:12 -0000)]
2003-12-17  Atsushi Enomoto <atsushi@ximian.com>

        * PathTest.cs :
  Added more GetPathRoot and GetFullPath tests for windows.
  Fixed incorrectly specified arguments in the previous patch.

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

20 years agoWed Dec 17 17:48:41 CET 2003 Patrik Torstensson <p@rxc.se>
Patrik Torstensson [Wed, 17 Dec 2003 16:52:00 +0000 (16:52 -0000)]
Wed Dec 17 17:48:41 CET 2003 Patrik Torstensson <p@rxc.se>

* mini.c,inssel.brg,mini-ops.h: make String.get_Length
a emulated opcode (optimization).

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

20 years ago2003-12-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 17 Dec 2003 16:51:18 +0000 (16:51 -0000)]
2003-12-17  Zoltan Varga  <vargaz@freemail.hu>

* 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

20 years ago2003-12-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 17 Dec 2003 16:47:17 +0000 (16:47 -0000)]
2003-12-17  Zoltan Varga  <vargaz@freemail.hu>

* Environment.cs: Bump corlib version.

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

20 years ago2003-12-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 17 Dec 2003 16:46:23 +0000 (16:46 -0000)]
2003-12-17  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs (MonoResource): New 'offset' field used by the
runtime.

* ModuleBuilder: Implement DefineResource.

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

20 years ago2003-12-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 17 Dec 2003 16:38:07 +0000 (16:38 -0000)]
2003-12-17  Zoltan Varga  <vargaz@freemail.hu>

* ResourceWriter.cs (Stream): New internal property used by Ref.Emit.

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

20 years ago2003-12-17 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 17 Dec 2003 15:44:59 +0000 (15:44 -0000)]
2003-12-17  Dick Porter  <dick@ximian.com>

* String.cs: Fix StartsWith and EndsWith when the argument is the
empty string.  Fixes bug 52283.

2003-12-17  Dick Porter  <dick@ximian.com>

* 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

20 years agoWed Dec 17 15:31:41 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 17 Dec 2003 14:29:29 +0000 (14:29 -0000)]
Wed Dec 17 15:31:41 CET 2003 Paolo Molaro <lupus@ximian.com>

* mini.c: make CEE_NEWARR calls and other emulated opcodes
not overlap with other call's arguments, too.

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

20 years ago2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Dec 2003 12:54:40 +0000 (12:54 -0000)]
2003-12-17  Atsushi Enomoto <atsushi@ximian.com>

        * PathTests.cs : Added more tests for IsPathRooted, HasExtension
          and GetExtension.

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

20 years ago2003-12-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 17 Dec 2003 12:13:47 +0000 (12:13 -0000)]
2003-12-17  Zoltan Varga  <vargaz@freemail.hu>

* 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

20 years ago2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Dec 2003 11:45:48 +0000 (11:45 -0000)]
2003-12-17  Atsushi Enomoto <atsushi@ximian.com>

        * Directory.cs : SetCurrentDirectory() should raise errors for
          some kind of arguments.

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

20 years agoWed Dec 17 12:49:23 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 17 Dec 2003 11:44:44 +0000 (11:44 -0000)]
Wed Dec 17 12:49:23 CET 2003 Paolo Molaro <lupus@ximian.com>

* 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 (l_m@pacbell.net)).
* mini.c: ensure emulation calls will not interleave
with other calls.

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

20 years ago2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Dec 2003 11:42:15 +0000 (11:42 -0000)]
2003-12-17  Atsushi Enomoto <atsushi@ximian.com>

        * DirectoryTests.cs : Added some SetCurrentDirectory tests.

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

20 years agoWed Dec 17 12:27:26 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 17 Dec 2003 11:20:27 +0000 (11:20 -0000)]
Wed Dec 17 12:27:26 CET 2003 Paolo Molaro <lupus@ximian.com>

* 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

20 years ago2003-12-17 David Sheldon <dave-mono@earth.li>
David Sheldon [Wed, 17 Dec 2003 10:06:57 +0000 (10:06 -0000)]
2003-12-17 David Sheldon <dave-mono@earth.li>

  * 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

20 years ago * profiles/default.make:
Jackson Harper [Wed, 17 Dec 2003 09:53:04 +0000 (09:53 -0000)]
    * profiles/default.make:
* profiles/net_1_0.make: Add ONLY_1_0 and ONLY_1_1 defines to fix
the build

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

20 years ago * SchemaTableOptionalColumn.cs: Add to fix default build
Jackson Harper [Wed, 17 Dec 2003 09:49:42 +0000 (09:49 -0000)]
    * SchemaTableOptionalColumn.cs: Add to fix default build

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

20 years ago2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Dec 2003 09:35:08 +0000 (09:35 -0000)]
2003-12-17  Atsushi Enomoto <atsushi@ximian.com>

* 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

20 years ago2003-12-17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 17 Dec 2003 07:43:00 +0000 (07:43 -0000)]
2003-12-17  Nick Drochak <ndrochak@gol.com>

* ModuleBuilderTest.cs: Shorten the path, there's a 260-or-so character
limit for the path name.

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

20 years ago2003-12-17 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 17 Dec 2003 07:41:21 +0000 (07:41 -0000)]
2003-12-17  Nick Drochak <ndrochak@gol.com>

* 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

20 years ago2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 17 Dec 2003 07:21:55 +0000 (07:21 -0000)]
2003-12-17  Atsushi Enomoto <atsushi@ximian.com>

* StringTests.cs : Added more tests on TestStartsWith.

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

20 years ago2003-12-17 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 17 Dec 2003 07:06:20 +0000 (07:06 -0000)]
2003-12-17  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* CodeGenerator.cs: Added IL emittion for ldnull on default ending code for 'Global Code'.

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

20 years ago2003-12-16 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 17 Dec 2003 02:00:55 +0000 (02:00 -0000)]
2003-12-16  Tim Coleman <tim@timcoleman.com>
        * System.Data.dll.sources:
                Add new .NET 1.2 sources.

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

20 years ago2003-12-16 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 17 Dec 2003 01:59:11 +0000 (01:59 -0000)]
2003-12-16  Tim Coleman <tim@timcoleman.com>
        * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
        * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
        * DbConnectionString.cs DbDataSourceEnumerator.cs
        * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
        * DbProviderConfigurationHandler.cs DbProviderFactories.cs
        * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
        * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
        * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
        * SchemaTableColumn.cs:
                New stubs added for .NET 1.2
        * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
        * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
        * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
        * FieldNameLookup.cs SchemaInfo.cs:
                Changes made for .NET 1.2

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

20 years ago2003-12-16 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 17 Dec 2003 01:53:32 +0000 (01:53 -0000)]
2003-12-16  Tim Coleman <tim@timcoleman.com>
        * KeyRestrictionBehavior.cs:
                New stubs added for .NET 1.2
        * DataTable.cs:
                Changes for 1.2

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

20 years ago * icall.c: comment out call to mono_runtime_is_shutting_down to
Jackson Harper [Wed, 17 Dec 2003 01:49:13 +0000 (01:49 -0000)]
    * icall.c: comment out call to mono_runtime_is_shutting_down to
fix build.

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

20 years ago2003-12-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 16 Dec 2003 22:50:43 +0000 (22:50 -0000)]
2003-12-16  Zoltan Varga  <vargaz@freemail.hu>

* Assembly.cs (GetManifestResourceStream): Only load non-embedded
resources from files.

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

20 years ago2003-12-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 16 Dec 2003 22:48:52 +0000 (22:48 -0000)]
2003-12-16  Zoltan Varga  <vargaz@freemail.hu>

* Environment.cs (HasShutdownStarted): Implement.

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

20 years ago2003-12-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 16 Dec 2003 22:47:50 +0000 (22:47 -0000)]
2003-12-16  Zoltan Varga  <vargaz@freemail.hu>

* 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

20 years ago * TraceContext.cs: Render all the data, and the stylesheet.
Jackson Harper [Tue, 16 Dec 2003 21:40:06 +0000 (21:40 -0000)]
    * TraceContext.cs: Render all the data, and the stylesheet.

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

20 years agojust collapsed some ifs...
Rafael Teixeira [Tue, 16 Dec 2003 19:26:46 +0000 (19:26 -0000)]
just collapsed some ifs...

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

20 years ago * HttpSimpleClientProtocol.cs: Do not encode the request url, since it is
Lluis Sanchez [Tue, 16 Dec 2003 19:22:41 +0000 (19:22 -0000)]
* HttpSimpleClientProtocol.cs: Do not encode the request url, since it is
  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

20 years agotypo
Gonzalo Paniagua Javier [Tue, 16 Dec 2003 17:41:03 +0000 (17:41 -0000)]
typo

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

20 years ago2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 16 Dec 2003 17:36:10 +0000 (17:36 -0000)]
2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ObjectStateFormatter.cs: added formatters for Unit and FontUnit, which
are not [Serializable]. Fixes bug #52244.

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

20 years ago * BinaryServerFormatterSinkProvider.cs, SoapServerFormatterSinkProvider.cs:
Lluis Sanchez [Tue, 16 Dec 2003 17:17:12 +0000 (17:17 -0000)]
* BinaryServerFormatterSinkProvider.cs, SoapServerFormatterSinkProvider.cs:
  Changed some ifdefs for allowedProperties field.

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

20 years ago * XmlSchemaExporter.cs: AddSchemaElement, use XmlTypeMapElementInfo.IsPrimitive
Lluis Sanchez [Tue, 16 Dec 2003 15:56:53 +0000 (15:56 -0000)]
* XmlSchemaExporter.cs: AddSchemaElement, use XmlTypeMapElementInfo.IsPrimitive
  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

20 years ago2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 16 Dec 2003 15:46:53 +0000 (15:46 -0000)]
2003-12-16  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlDeclarationTests.cs : Added InvalidInnerText().
* XmlDocumentTests.cs : CRLF fix (to LF)
* XmlWriterTests.cs : tiny fix on WriteNodeFullDocument().
* XmlValidatingReaderTests.cs : Fixed entity handling check tests.

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

20 years ago2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 16 Dec 2003 15:38:15 +0000 (15:38 -0000)]
2003-12-16  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* DTDValidatingReader.cs : Validity check and entity expansion were
  incorrectly mixed.
* DTDObjectModel.cs, DTDReader.cs, XmlInputStream.cs :
  Going to remove XmlInputStream. XmlStreamReader might be replacable.

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

20 years agoChange Text property implementation.
Alon Gazit [Tue, 16 Dec 2003 15:36:03 +0000 (15:36 -0000)]
Change Text property implementation.
In MS when the Text roperty is set, all the controls in the
HyperLink are being deleted.

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

20 years ago2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 16 Dec 2003 15:30:59 +0000 (15:30 -0000)]
2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XslLiteralElement.cs : Pretty fix for prefix.
* XslNumber.cs : Fix for rounding value and decimal digits hack.

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

20 years ago2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 16 Dec 2003 15:29:45 +0000 (15:29 -0000)]
2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CredentialCache.cs: return null instead of throwing NotImplemented.

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

20 years ago2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 16 Dec 2003 15:04:26 +0000 (15:04 -0000)]
2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* monoresgen.cs: ignore entries marked as 'fuzzy' in .po files.

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

20 years ago2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 16 Dec 2003 14:50:15 +0000 (14:50 -0000)]
2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* 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

20 years ago2003-12-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 16 Dec 2003 14:41:55 +0000 (14:41 -0000)]
2003-12-16  Atsushi Enomoto <atsushi@ximian.com>

* team.xml : Modified my profile.

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

20 years agoFixed DoVerticalRendering() and DoHorizontalRendering().
Alon Gazit [Tue, 16 Dec 2003 11:02:19 +0000 (11:02 -0000)]
Fixed DoVerticalRendering() and DoHorizontalRendering().
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

20 years ago2003-12-16 Joerg Rosenkranz <joergr@voelcker.com>
Gonzalo Paniagua Javier [Tue, 16 Dec 2003 10:42:29 +0000 (10:42 -0000)]
2003-12-16  Joerg Rosenkranz  <joergr@voelcker.com>

* System.Data.OracleClient/OracleCommand.cs:
  Fix for bug #52223 (CommandTimeout throws exception).

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

20 years ago2003-12-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Dec 2003 08:29:09 +0000 (08:29 -0000)]
2003-12-16  Martin Baulig  <martin@ximian.com>

* 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

20 years ago2003-12-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 16 Dec 2003 08:21:40 +0000 (08:21 -0000)]
2003-12-16  Martin Baulig  <martin@ximian.com>

* 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

20 years ago * Page.cs: Render trace data when tracing is enabled.
Jackson Harper [Tue, 16 Dec 2003 08:03:57 +0000 (08:03 -0000)]
    * Page.cs: Render trace data when tracing is enabled.

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

20 years ago * TraceContext.cs: Add incomplete render method.
Jackson Harper [Tue, 16 Dec 2003 08:02:34 +0000 (08:02 -0000)]
    * TraceContext.cs: Add incomplete render method.

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

20 years agoChanges sourceStream.Read to read in a while loop
Sunil Kumar [Tue, 16 Dec 2003 07:08:57 +0000 (07:08 -0000)]
Changes sourceStream.Read to read in a while loop

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

20 years ago2003-12-15 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 16 Dec 2003 06:25:04 +0000 (06:25 -0000)]
2003-12-15  Bernie Solomon  <bernard@ugsolutions.com>

* 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

20 years ago2003-12-16 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 16 Dec 2003 05:30:18 +0000 (05:30 -0000)]
2003-12-16  Atsushi Enomoto <atsushi@ximian.com>

* skelton.cs : Added ErrorOutput text writer.

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

20 years ago2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 16 Dec 2003 05:27:27 +0000 (05:27 -0000)]
2003-12-16 Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* 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

20 years ago2003-12-16 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 16 Dec 2003 04:43:33 +0000 (04:43 -0000)]
2003-12-16  Nick Drochak <ndrochak@gol.com>

* FileStreamTest.cs: Exception not thrown in .NET 1.1.
And Happy Birthday to Me!

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

20 years ago2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 16 Dec 2003 03:55:33 +0000 (03:55 -0000)]
2003-12-16 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XsltCompiledContext.cs : Temporarily allow incorrectly resolved
  function for bugzilla #52144. It should be reverted soon.

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

20 years ago * PageCompiler.cs: Add Trace and TraceMode to framework initialize
Jackson Harper [Tue, 16 Dec 2003 03:51:37 +0000 (03:51 -0000)]
    * PageCompiler.cs: Add Trace and TraceMode to framework initialize
method if they are set.

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

20 years ago * PageParser.cs: Add Trace and Trace mode attributes.
Jackson Harper [Tue, 16 Dec 2003 03:50:56 +0000 (03:50 -0000)]
    * PageParser.cs: Add Trace and Trace mode attributes.

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

20 years ago2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 16 Dec 2003 03:31:59 +0000 (03:31 -0000)]
2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* .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

20 years agodistribute browsercaps-updater.exe
Gonzalo Paniagua Javier [Tue, 16 Dec 2003 03:20:02 +0000 (03:20 -0000)]
distribute browsercaps-updater.exe

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

20 years ago2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 16 Dec 2003 03:19:31 +0000 (03:19 -0000)]
2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

20 years ago2003-11-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 16 Dec 2003 03:19:10 +0000 (03:19 -0000)]
2003-11-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mono-api.xsl: handle <interface>, which is different from
<class name="x" type="interface"...>.

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

20 years ago2003-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 16 Dec 2003 03:14:35 +0000 (03:14 -0000)]
2003-12-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* 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

20 years ago * Page.cs: Use the context trace object.
Jackson Harper [Tue, 16 Dec 2003 02:33:01 +0000 (02:33 -0000)]
    * Page.cs: Use the context trace object.

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

20 years ago * TraceContext.cs: Initial implementation of storing data.
Jackson Harper [Tue, 16 Dec 2003 02:18:16 +0000 (02:18 -0000)]
    * TraceContext.cs: Initial implementation of storing data.
* HttpContext.cs: Create and expose a trace object.

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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 16 Dec 2003 02:08:43 +0000 (02:08 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* PublisherMembershipConditionTest.cs: Added new unit tests for the
newly implemented methods.

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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 16 Dec 2003 02:06:55 +0000 (02:06 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* PublisherMembershipCondition.cs: Completed TODO.

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

20 years agoRemoved Console.WriteLine
Gonzalo Paniagua Javier [Tue, 16 Dec 2003 01:29:05 +0000 (01:29 -0000)]
Removed Console.WriteLine

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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 16 Dec 2003 00:34:32 +0000 (00:34 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* 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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 16 Dec 2003 00:33:04 +0000 (00:33 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* 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

20 years agoTue Dec 16 12:15:00 GMT+2 2003 Joel Basson <jstrike@mweb.co.za>
Joel Basson [Mon, 15 Dec 2003 23:20:41 +0000 (23:20 -0000)]
Tue Dec 16 12:15:00 GMT+2 2003 Joel Basson <jstrike@mweb.co.za>

* 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

20 years ago * System.Design.dll.sources: Add *UrlEditor files to build
Jackson Harper [Mon, 15 Dec 2003 21:02:32 +0000 (21:02 -0000)]
    * System.Design.dll.sources: Add *UrlEditor files to build

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

20 years ago * UrlEditor.cs:
Jackson Harper [Mon, 15 Dec 2003 21:00:19 +0000 (21:00 -0000)]
    * UrlEditor.cs:
* ImageUrlEditor.cs:
* XmlUrlEditor.cs:
* XslUrlEditor.cs:
* UrlBuilderOptions.cs: Implement

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

20 years ago2003-12-15 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 15 Dec 2003 20:25:35 +0000 (20:25 -0000)]
2003-12-15  Bernie Solomon  <bernard@ugsolutions.com>

* reflection.c: move definition of swap_with_size
to before its first call

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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 15 Dec 2003 20:06:24 +0000 (20:06 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoConfigTest.cs: Converted unit tests to NUnit2.

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

20 years ago2003-12-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 15 Dec 2003 20:04:19 +0000 (20:04 -0000)]
2003-12-15  Atsushi Enomoto <atsushi@ximian.com>

* System.Data.SqlXml.dll.sources: Added System.Xml classes.
* Makefile : added reference to System.dll

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

20 years ago2003-12-15 Atsushi Enomoto <atsushi@novell.com>
Atsushi Eno [Mon, 15 Dec 2003 20:03:43 +0000 (20:03 -0000)]
2003-12-15  Atsushi Enomoto <atsushi@novell.com>
* UpdateEventHandler.cs,
  XmlAdapter.cs,
  XmlDataSourceResolve.cs,
  XmlUpdateEventArgs.cs : Initial checkin.

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

20 years ago * Makefile.cs: Generate list of client test files in target "gen".
Lluis Sanchez [Mon, 15 Dec 2003 20:01:03 +0000 (20:01 -0000)]
* Makefile.cs: Generate list of client test files in target "gen".
* services.xml: Added a couple of services.
* wstest.cs: Added "stat" option.

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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 15 Dec 2003 20:00:43 +0000 (20:00 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* 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

20 years ago * HttpSoapWebServiceHandler.cs: Added check for valid SOAPAction header.
Lluis Sanchez [Mon, 15 Dec 2003 20:00:15 +0000 (20:00 -0000)]
* HttpSoapWebServiceHandler.cs: Added check for valid SOAPAction header.
  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

20 years ago2003-12-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 15 Dec 2003 20:00:04 +0000 (20:00 -0000)]
2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XPathDocument2ChangedEventHandler.cs : fixed incorrect argument.
* Moved UpdateEventHandler.cs and XmlUpdateEventArgs.cs to sqlxml.

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

20 years agoWebServicesConfigurationSectionHandler.cs: Removed TODO.
Lluis Sanchez [Mon, 15 Dec 2003 19:59:13 +0000 (19:59 -0000)]
WebServicesConfigurationSectionHandler.cs: Removed TODO.

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

20 years ago2003-12-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 15 Dec 2003 19:57:39 +0000 (19:57 -0000)]
2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* System.Xml.dll.sources :
  removed UpdateEventHandler.cs and XmlUpdateEventArgs.cs to sqlxml.

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

20 years ago2003-12-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 15 Dec 2003 19:44:35 +0000 (19:44 -0000)]
2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* BuiltInDatatype.cs : anySimpleType should allow facets.

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

20 years ago2003-12-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 15 Dec 2003 19:44:03 +0000 (19:44 -0000)]
2003-12-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlTextReader.cs : BaseURI was broken. This fixes bug #52098.

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

20 years agoMore debug removed
Bernie Solomon [Mon, 15 Dec 2003 19:10:14 +0000 (19:10 -0000)]
More debug removed

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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 15 Dec 2003 17:30:13 +0000 (17:30 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* corlib_test.dll.sources: Added unit tests for X509 using CryptoAPI.

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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 15 Dec 2003 17:25:50 +0000 (17:25 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* 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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 15 Dec 2003 17:23:06 +0000 (17:23 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* X509Certificate.cs: Removed old (commented) Authenticode stuff.
Added new stuff for 1.2 (stub).

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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 15 Dec 2003 17:19:56 +0000 (17:19 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* TrustAnchors.cs: Added a new trusted root, Thawte, for code signing.

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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 15 Dec 2003 17:15:55 +0000 (17:15 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* 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

20 years agoMon Dec 15 18:13:57 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 15 Dec 2003 17:11:28 +0000 (17:11 -0000)]
Mon Dec 15 18:13:57 CET 2003 Paolo Molaro <lupus@ximian.com>

* 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

20 years ago2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 15 Dec 2003 17:10:06 +0000 (17:10 -0000)]
2003-12-15  Sebastien Pouliot  <spouliot@videotron.ca>

* PKCS1.cs: Fixed a typo which prevented "lame" (without OID)
signature verification.

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

20 years agoLeft in debug setting by mistake
Bernie Solomon [Mon, 15 Dec 2003 16:50:25 +0000 (16:50 -0000)]
Left in debug setting by mistake

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

20 years agoFixed DoVerticalRendering() and DoHorizontalRendering().
Alon Gazit [Mon, 15 Dec 2003 16:45:47 +0000 (16:45 -0000)]
Fixed DoVerticalRendering() and DoHorizontalRendering().
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

20 years ago2003-12-15 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 15 Dec 2003 16:39:26 +0000 (16:39 -0000)]
2003-12-15  Bernie Solomon  <bernard@ugsolutions.com>

* 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

20 years ago2003-12-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 15 Dec 2003 16:31:01 +0000 (16:31 -0000)]
2003-12-15  Zoltan Varga  <vargaz@freemail.hu>

* object.c: Fix warnings.

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

20 years agoXmlReflectionImporter.cs: Little fix.
Lluis Sanchez [Mon, 15 Dec 2003 15:38:21 +0000 (15:38 -0000)]
XmlReflectionImporter.cs: Little fix.

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

20 years ago2003-12-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 15 Dec 2003 15:34:07 +0000 (15:34 -0000)]
2003-12-15  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_Type_Get...): Only consider inherited static
members if FlattenHierarchy is set.

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