mono.git
20 years ago2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 23 Dec 2003 03:49:13 +0000 (03:49 -0000)]
2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>

* samples/embed/testi.c: interpreter embedding example

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

20 years ago2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 23 Dec 2003 03:44:32 +0000 (03:44 -0000)]
2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>

* Int32Test.cs:
          Int64Test.cs: Add checks for overflow on hex parse.

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

20 years ago2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 23 Dec 2003 03:41:17 +0000 (03:41 -0000)]
2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>

* Int32 (Parse):
  Int64 (Parse): Fix overflow checking for AllowHexSpecifier

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

20 years agoInitialize handle to InvalidHandle as well
Bernie Solomon [Tue, 23 Dec 2003 03:25:48 +0000 (03:25 -0000)]
Initialize handle to InvalidHandle as well

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

20 years ago2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 23 Dec 2003 00:49:10 +0000 (00:49 -0000)]
2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>

* handles-private.h: (_wapi_handle_type) check
for segment in range before using it

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

20 years ago2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 23 Dec 2003 00:35:41 +0000 (00:35 -0000)]
2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>

* FileStream.cs: (.ctor) do not set handle
in object until after it is validated via
GetFileType so finalizer doesn't see bad handles

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

20 years ago2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 22 Dec 2003 19:48:55 +0000 (19:48 -0000)]
2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>

* thread-private.h: _wapi_thread_ops is now const
must match .c file.

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

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

* configure.in: missed in my last change

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

20 years ago2003-12-22 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 22 Dec 2003 19:33:21 +0000 (19:33 -0000)]
2003-12-22  Bernie Solomon  <bernard@ugsolutions.com>

* marshal.c: (ves_icall_System_Runtime_InteropServices_Marshal_Read/WriteXXX)
make work for unaligned access.

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

20 years agoMon Dec 22 18:37:02 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 22 Dec 2003 17:27:33 +0000 (17:27 -0000)]
Mon Dec 22 18:37:02 CET 2003 Paolo Molaro <lupus@ximian.com>

* class.c: small cleanup (class->fields [i] -> field).
* image.c: check address of metadata is valid.

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

20 years agoMon Dec 22 18:29:03 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 22 Dec 2003 17:22:44 +0000 (17:22 -0000)]
Mon Dec 22 18:29:03 CET 2003 Paolo Molaro <lupus@ximian.com>

* threads.c, timed-thread.c, timed-thread.h: use mach
semaphores on Darwin (MacOSX) since the posix ones
are mostly broken there (threads are not created suspended
and they can start executing before they are fully initialized
like in tests/thread-static.cs).

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

20 years agoMon Dec 22 18:27:14 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 22 Dec 2003 17:22:05 +0000 (17:22 -0000)]
Mon Dec 22 18:27:14 CET 2003 Paolo Molaro <lupus@ximian.com>

* configure.in, acconfig.h: use mach semaphores on darwin.

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

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

* assembly.h assembly.c (mono_assembly_loaded): New public function to
search the list of loaded assemblies.

* reflection.c (mono_reflection_type_from_name): Use
mono_assembly_loaded instead of mono_image_loaded.

* reflection.c: Fix warnings.

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

20 years agoMakefile: Use xsp.vsdisco instead of xsp.disco.
Lluis Sanchez [Mon, 22 Dec 2003 17:08:11 +0000 (17:08 -0000)]
Makefile: Use xsp.vsdisco instead of xsp.disco.

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

20 years ago wstest.cs: Changed default directory for client tests. Added some tests.
Lluis Sanchez [Mon, 22 Dec 2003 16:52:16 +0000 (16:52 -0000)]
 wstest.cs: Changed default directory for client tests. Added some tests.

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

20 years ago2003-12-22 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 22 Dec 2003 16:49:33 +0000 (16:49 -0000)]
2003-12-22 Ben Maurer  <bmaurer@users.sourceforge.net>

* test-221.cs: Add some regression tests relating to
52408 (these dont test the actual bug, but regressions I
created while writing the code for it).

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

20 years agoNew tests
Lluis Sanchez [Mon, 22 Dec 2003 16:46:31 +0000 (16:46 -0000)]
New tests

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

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

* Makefile.am: Create mint.pc
mint.pc.in: Added for embedding the interpreter

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

20 years agoSeparating positive/begative tests aas tested with vbc
Rafael Teixeira [Mon, 22 Dec 2003 16:36:08 +0000 (16:36 -0000)]
Separating positive/begative tests aas tested with vbc

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

20 years agooops
Ben Maurer [Mon, 22 Dec 2003 16:14:29 +0000 (16:14 -0000)]
oops

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

20 years agocvsignoreify
Ben Maurer [Mon, 22 Dec 2003 16:12:35 +0000 (16:12 -0000)]
cvsignoreify

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

20 years agoTest moved
Lluis Sanchez [Mon, 22 Dec 2003 16:09:13 +0000 (16:09 -0000)]
Test moved

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

20 years agoMon Dec 22 17:18:45 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 22 Dec 2003 16:08:55 +0000 (16:08 -0000)]
Mon Dec 22 17:18:45 CET 2003 Paolo Molaro <lupus@ximian.com>

* atomic.h: ppc fixes.

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

20 years ago * MethodCall.cs: Do not try to resolve the method in the serialization
Lluis Sanchez [Mon, 22 Dec 2003 12:44:39 +0000 (12:44 -0000)]
* MethodCall.cs: Do not try to resolve the method in the serialization
  constructor, since the type array may not be yet completely deserialized.
  This fixes bug #52426.

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

20 years ago2003-12-22 Jean-Marc Andre <jeanmarc.andre@cpe.fr>
Jean-Marc Andre [Mon, 22 Dec 2003 11:53:09 +0000 (11:53 -0000)]
2003-12-22  Jean-Marc Andre <jeanmarc.andre@cpe.fr>
* SoapFormatterTest.cs:
Added unit test for the SerializationBinder property

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

20 years ago2003-12-21 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Dec 2003 02:43:31 +0000 (02:43 -0000)]
2003-12-21  Tim Coleman <tim@timcoleman.com>
        * System.Data.dll.sources:
                Add new .NET 1.2 sources.

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

20 years ago2003-12-21 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Mon, 22 Dec 2003 02:42:45 +0000 (02:42 -0000)]
2003-12-21  Tim Coleman <tim@timcoleman.com>
        * DbConnectionBase.cs DbConnectionFactory.cs DbConnectionInternal.cs
        * DbConnectionPoolCounters.cs DbConnectionPoolOptions.cs
        * DbDataReaderBase.cs DbMetaDataFactory.cs DbParameterBase.cs
        * DbParameterCollectionBase.cs DbReferenceCollection.cs:
                New stubs added

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

20 years ago2003-12-21 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 21 Dec 2003 20:40:55 +0000 (20:40 -0000)]
2003-12-21  Tim Coleman <tim@timcoleman.com>
        * SqlConnection.cs:
                Enable Integrated Security

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

20 years agoFlush
Miguel de Icaza [Sun, 21 Dec 2003 19:30:49 +0000 (19:30 -0000)]
Flush

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

20 years agoFlush
Miguel de Icaza [Sun, 21 Dec 2003 19:24:05 +0000 (19:24 -0000)]
Flush

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

20 years agoUpdate docs
Miguel de Icaza [Sun, 21 Dec 2003 19:22:46 +0000 (19:22 -0000)]
Update docs

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

20 years agoUpdate with testing instructions
Miguel de Icaza [Sun, 21 Dec 2003 19:09:55 +0000 (19:09 -0000)]
Update with testing instructions

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

20 years agoUpdate with testing instructions
Miguel de Icaza [Sun, 21 Dec 2003 19:08:18 +0000 (19:08 -0000)]
Update with testing instructions

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

20 years agoUpdated
Miguel de Icaza [Sun, 21 Dec 2003 18:57:27 +0000 (18:57 -0000)]
Updated

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

20 years agoSun Dec 21 19:53:16 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 21 Dec 2003 18:44:51 +0000 (18:44 -0000)]
Sun Dec 21 19:53:16 CET 2003 Paolo Molaro <lupus@ximian.com>

* mini.h, mini-ppc.c, mini-ppc.h: small cleanups and
supports for cond branches that overflow the immediate
overflow offset. mcs can compile simple programs.

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

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

* XmlDocumentTests.cs, XmlElementTests.cs :
  Added GetElementsByTagNameNs2().

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

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

* XmlDocument.cs, XmlElement.cs, XmlNode.cs :
  GetElementsByTagName() - Fixed bugzilla #52419, refactored,
  and moved private implementation methods to XmlNode class.

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

20 years ago2003-12-21 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 21 Dec 2003 15:54:49 +0000 (15:54 -0000)]
2003-12-21  Tim Coleman <tim@timcoleman.com>
        * Tds70.cs:
                Fix Integrated Security to work with Domain users.

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

20 years ago2003-12-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sun, 21 Dec 2003 14:14:19 +0000 (14:14 -0000)]
2003-12-21  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

        Fixed bug which prevented columns of same name to be returned in a resultset.

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

20 years ago* Graphics.cs (DrawArc): Fixed the method signature and hooked it
Duncan Mak [Sun, 21 Dec 2003 13:11:26 +0000 (13:11 -0000)]
* Graphics.cs (DrawArc): Fixed the method signature and hooked it
up to the GDI+ implementation.
(RotateTransform): Uncommented.

* gdipFunctions.cs (DrawArc, DrawArcI): Import from
libgdiplus.so.dll.

* graphics.c (C1): Made it more precise.
(make_pie): Fixed.
(make_arc): New helper function for getting the right Bezier for an
elliptical arc, based on an algorithm found in the comp.text.pdf FAQ.

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

20 years agooops
Ben Maurer [Sun, 21 Dec 2003 03:47:17 +0000 (03:47 -0000)]
oops

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

20 years ago2003-12-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 21 Dec 2003 03:46:42 +0000 (03:46 -0000)]
2003-12-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* XsltCompiledContext.cs: Remove workaround now that monodoc
is fixed.

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

20 years ago2003-12-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 21 Dec 2003 01:55:05 +0000 (01:55 -0000)]
2003-12-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* MonoSymbolTable.cs: Fewer StringBuilder allocs.

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

20 years ago2003-12-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 20 Dec 2003 21:35:08 +0000 (21:35 -0000)]
2003-12-20  Zoltan Varga  <vargaz@freemail.hu>

* TypeTest.cs (GetMethodImpl): New test for overload resolution.

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

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

* MonoType.cs (GetMethodImpl): Only call FindMostDerivedMatch if the
user supplied no parameter info, but not when the user supplied an
empty parameter list. This fixes IKVM.

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

20 years ago2003-12-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 20 Dec 2003 18:05:11 +0000 (18:05 -0000)]
2003-12-20  Zoltan Varga  <vargaz@freemail.hu>

* module-1.cs module-2.cs module-3.cs: New files.

* Makefile: Add test for /target:module and /addmodule.

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

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

* driver.cs: Implement /addmodule.

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

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

* typemanager.cs:  Change 'modules' field so it now contains Modules not
ModuleBuilders.

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

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

* Environment.cs: Bump corlib version.

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

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

* AssemblyBuilder.cs (AddModule): New internal method to support
/addmodule in mcs.

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

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

* assembly.c (mono_assembly_load_references): Make this public.

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

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

* image.h (MonoImage): Add a new 'dynamic' field to denote that the image
is dynamic. This is needed since an assembly can contain both dynamic and
non-dynamic images.

* class.c loader.c metadata.c object.c: Use image->dynamic instead of
assembly->dynamic.

* icall.c reflection.c: Add new AssemblyBuilder:AddModule icall.

* reflection.h (MonoReflectionAssemblyBuilder): Add 'loaded_modules' field
to store modules loaded using AddModule.

* reflection.c (mono_image_fill_file_table): Generalize this so it works
on Modules.

* reflection.c (mono_image_fill_export_table_from_class): New helper function.

* reflection.c (mono_image_fill_export_table_from_module): New function to
fill out the EXPORTEDTYPES table from a module.

* reflection.c (mono_image_emit_manifest): Refactor manifest creation code
into a separate function. Also handle loaded non-dynamic modules.

* reflection.c (mono_image_basic_init): Fix memory allocation.

* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.

* assembly.c (mono_assembly_load_references): Make this public.

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

20 years ago2003-12-20 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 20 Dec 2003 17:19:45 +0000 (17:19 -0000)]
2003-12-20 Ben Maurer  <bmaurer@users.sourceforge.net>

* CompareInfo.cs: Replace blah == "" with blah.Length == 0.
MUCH faster. Note, we dont need to check for nulls, because
the properties were used in other places.

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

20 years ago2003-12-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 20 Dec 2003 16:37:07 +0000 (16:37 -0000)]
2003-12-20 Atsushi Enomoto <atsushi@ximian.com>

* XslLiteralElement.cs : considering xsl:imports, we have to evaluate
  namespace aliases at the first evaluation.
* XslNumber.cs : Fixed incorrect "any" level numbering (and
  optimization), format string handling, grouping-separator.

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

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

* XslStylesheet.cs : considering xsl:imports, we can't handle namespace
  aliases at compilation time, so evaluate at the first run-time.

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

20 years agoMore warning fixes.
Martin Baulig [Sat, 20 Dec 2003 14:17:33 +0000 (14:17 -0000)]
More warning fixes.

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

20 years ago2003-12-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 20 Dec 2003 14:09:49 +0000 (14:09 -0000)]
2003-12-20  Martin Baulig  <martin@ximian.com>

* class.cs (TypeContainer.DefineMembers): Don't do the CS0649 check here.
(FieldBase.IsAssigned): Removed this field.
(FieldBase.SetAssigned): New public method.
(TypeContainer.Emit): Make the CS0169/CS0649 checks actually work.

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

20 years agoFixed warnings.
Martin Baulig [Sat, 20 Dec 2003 13:48:34 +0000 (13:48 -0000)]
Fixed warnings.

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

20 years ago2003-12-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 20 Dec 2003 13:36:25 +0000 (13:36 -0000)]
2003-12-20  Martin Baulig  <martin@ximian.com>

* expression.cs (LocalVariableReference.DoResolve): Don't set
`vi.Used' if we're called from DoResolveLValue().

* statement.cs (Block.DoResolve): `ec.DoEndFlowBranching()' now
returns the usage vector it just merged into the current one -
pass this one to UsageWarning().
(Block.UsageWarning): Take the `FlowBranching.UsageVector' instead
of the `EmitContext', don't call this recursively on our children.

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

20 years ago2003-12-19 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Sat, 20 Dec 2003 05:46:30 +0000 (05:46 -0000)]
2003-12-19  Bernie Solomon  <bernard@ugsolutions.com>

* MonoIO.cs: SetFileTime() Failed Open returns InvalidHandle
not Zero

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

20 years ago2003-12-19 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 19 Dec 2003 22:53:23 +0000 (22:53 -0000)]
2003-12-19  Bernie Solomon  <bernard@ugsolutions.com>

* handles.c: remove my bad use of MONO_ZERO_ARRAY_LENGTH
in HDRSIZE

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

20 years ago * TableCell.cs: Setting a cells text should clear its control
Jackson Harper [Fri, 19 Dec 2003 22:30:41 +0000 (22:30 -0000)]
    * TableCell.cs: Setting a cells text should clear its control
collection as per la specification. This fixes bug #51825.

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

20 years ago2003-12-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 19 Dec 2003 21:37:24 +0000 (21:37 -0000)]
2003-12-19  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.IsEqualGenericType): New public
static method; see documentation in the method.
(TypeManager.IsSubclassOrNestedChild): Allow IsEqualGenericType().

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

20 years ago2003-12-19 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 19 Dec 2003 21:23:46 +0000 (21:23 -0000)]
2003-12-19  Tim Coleman <tim@timcoleman.com>
System.Data.SqlClient/SqlClientPermission.cs:
Minor syntax error

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

20 years ago2003-12-19 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 19 Dec 2003 21:22:26 +0000 (21:22 -0000)]
2003-12-19  Tim Coleman <tim@timcoleman.com>
        * System.Data.dll.sources:
                Add new .NET 1.2 sources.

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

20 years ago2003-12-19 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 19 Dec 2003 21:21:29 +0000 (21:21 -0000)]
2003-12-19  Tim Coleman <tim@timcoleman.com>
        * ISqlNotificationReceiver.cs SqlResultSet.cs:
                New stubs added
        * SqlClientPermission.cs:
                Fix constructor for 1.2

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

20 years ago2003-12-19 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 19 Dec 2003 21:20:16 +0000 (21:20 -0000)]
2003-12-19  Tim Coleman <tim@timcoleman.com>
        * SqlBytes.cs SqlChars.cs SqlDate.cs SqlStreamChars.cs SqlTime.cs
        * SqlUtcDateTime.cs SqlXmlReader.cs:
                New stubs added

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

20 years ago2003-12-19 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 19 Dec 2003 21:19:08 +0000 (21:19 -0000)]
2003-12-19  Tim Coleman <tim@timcoleman.com>
        * DbCommandBase.cs:
                New stub added

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

20 years ago2003-12-19 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 19 Dec 2003 21:18:26 +0000 (21:18 -0000)]
2003-12-19  Tim Coleman <tim@timcoleman.com>
        * DataAccessKind.cs Format.cs IBinarySerialize.cs
        * InvalidUdtException.cs ISqlCommand.cs ISqlConnection.cs
        * ISqlExecutionContext.cs ISqlGetTypedData.cs
        * ISqlParameterCollection.cs ISqlParameter.cs ISqlReader.cs
        * ISqlRecord.cs ISqlResultSet.cs ISqlSetTypedData.cs
        * ISqlTransaction.cs ISqlUpdatableRecord.cs SerializationHelper.cs
        * SerializationVersion.cs SqlContextBase.cs SqlDataSourceEnumerator.cs
        * SqlDefinition.cs SqlFunctionAttribute.cs SqlMetaData.cs
        * SqlMethodAttribute.cs SqlNotificationRequest.cs SqlPipeBase.cs
        * SqlServerFactoryBase.cs SqlTriggerContextBase.cs
        * SqlUserDefinedAggregateAttribute.cs SqlUserDefinedTypeAttribute.cs
        * SystemDataAccessKind.cs TriggerAction.cs:
                New stubs added

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

20 years ago2003-12-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 19 Dec 2003 21:03:29 +0000 (21:03 -0000)]
2003-12-19  Zoltan Varga  <vargaz@freemail.hu>

* dump.c (dump_table_exported): Fix output.

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

20 years ago2003-12-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 19 Dec 2003 20:43:51 +0000 (20:43 -0000)]
2003-12-19  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_initialize_generic): Made this static, take
a `MonoGenericInst *' instead of a `MonoClass *'.
(mono_class_from_generic): Call mono_class_initialize_generic()
unless we're already initialized or being called from
do_mono_metadata_parse_generic_inst().

* class.h (MonoGenericInst): Added `initialized' and
`init_pending' flags.

* metadata.c (do_mono_metadata_parse_generic_inst): Don't call
`mono_class_init (gklass)' or mono_class_initialize_generic()
here; set `generic_inst->init_pending' while parsing the
`type_argv'.

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

20 years ago * HtmlInputFile.cs: Do not set value when loading post data.
Jackson Harper [Fri, 19 Dec 2003 20:21:40 +0000 (20:21 -0000)]
    * HtmlInputFile.cs: Do not set value when loading post data.

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

20 years ago * TraceContext.cs: Write () methods are not warnings.
Jackson Harper [Fri, 19 Dec 2003 20:20:14 +0000 (20:20 -0000)]
    * TraceContext.cs: Write () methods are not warnings.

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

20 years ago2003-12-19 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 19 Dec 2003 20:19:37 +0000 (20:19 -0000)]
2003-12-19  Bernie Solomon  <bernard@ugsolutions.com>

* embed.h, main.c: new files to enable embedding
the interpreter

        * interp.c: make main callable from main.c
rearrange main for embedding

* Makefile.am: changes now most code is in a library

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

20 years ago * Page.cs: Use the context trace object.
Jackson Harper [Fri, 19 Dec 2003 20:15:31 +0000 (20:15 -0000)]
    * Page.cs: Use the context trace object.

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

20 years agoFri Dec 19 21:17:16 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 19 Dec 2003 20:11:07 +0000 (20:11 -0000)]
Fri Dec 19 21:17:16 CET 2003 Paolo Molaro <lupus@ximian.com>

* exceptions-ppc.c: exception handling support wip:
finally handlers get run on exception.

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

20 years ago2003-12-19 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 19 Dec 2003 20:06:27 +0000 (20:06 -0000)]
2003-12-19  Bernie Solomon  <bernard@ugsolutions.com>

* locales.c: include string.h for memxxx prototypes

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

20 years ago2003-12-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 19 Dec 2003 19:09:40 +0000 (19:09 -0000)]
2003-12-19  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (mono_aot_get_method_inner): Avoid loading AOT code while
profiling.

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

20 years ago * SerializationCodeGenerator.cs, XmlReflectionImporter.cs: Added internal
Lluis Sanchez [Fri, 19 Dec 2003 17:54:24 +0000 (17:54 -0000)]
* SerializationCodeGenerator.cs, XmlReflectionImporter.cs: Added internal
option that allow serialization of private types.

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

20 years ago * services.xml: Enabled test for a couple of services.
Lluis Sanchez [Fri, 19 Dec 2003 17:50:43 +0000 (17:50 -0000)]
* services.xml: Enabled test for a couple of services.
* wstest.cs: Improved "stat" option.

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

20 years ago * DiscoveryDocument.cs: Set namespace for ContractReference references.
Lluis Sanchez [Fri, 19 Dec 2003 17:45:52 +0000 (17:45 -0000)]
* DiscoveryDocument.cs: Set namespace for ContractReference references.
  Write() methods: Added namespace declaration in serializer.
* DiscoveryDocumentSerializer.cs: Fixed namespace for ContractReference.
* DiscoveryRequestHandler.cs: Implemented.
* DynamicDiscoveryDocument.cs: Implemented.
* ExcludePathInfo.cs, SoapBinding.cs: Removed some TODOs

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

20 years agoTcpServerChannel.cs: Fixes in channel initialization.
Lluis Sanchez [Fri, 19 Dec 2003 17:44:37 +0000 (17:44 -0000)]
TcpServerChannel.cs: Fixes in channel initialization.

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

20 years agoFri Dec 19 17:58:28 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 19 Dec 2003 16:52:56 +0000 (16:52 -0000)]
Fri Dec 19 17:58:28 CET 2003 Paolo Molaro <lupus@ximian.com>

* cpu-g4.md, mini-ppc.c, exceptions-ppc.c, mini-ppc.h:
initial support for stack walking and unwinding.

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

20 years ago2003-12-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 19 Dec 2003 16:42:37 +0000 (16:42 -0000)]
2003-12-19  Zoltan Varga  <vargaz@freemail.hu>

* driver.cs: Implement /target:module.

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

20 years ago2003-12-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 19 Dec 2003 16:40:10 +0000 (16:40 -0000)]
2003-12-19  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs: New internal property to support /target:module in
mcs.

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

20 years agoNon-generic interfaces are `null' entries in `interfaces'.
Martin Baulig [Fri, 19 Dec 2003 16:18:41 +0000 (16:18 -0000)]
Non-generic interfaces are `null' entries in `interfaces'.

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

20 years agoNew generic test.
Martin Baulig [Fri, 19 Dec 2003 16:17:32 +0000 (16:17 -0000)]
New generic test.

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

20 years ago2003-12-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 19 Dec 2003 16:12:47 +0000 (16:12 -0000)]
2003-12-19  Martin Baulig  <martin@ximian.com>

* convert.cs (Convert.ImplicitReferenceConversion,
Convert.ImplicitReferenceConversionExists): Add support for
generic type declarations; see gen-36.cs.

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

20 years ago2003-12-19 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 19 Dec 2003 14:59:55 +0000 (14:59 -0000)]
2003-12-19  Tim Coleman <tim@timcoleman.com>
        * Mono.Data.SybaseClient/SybasePermission.cs:
                Change constructor.

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

20 years ago2003-12-19 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 19 Dec 2003 14:40:55 +0000 (14:40 -0000)]
2003-12-19  Tim Coleman <tim@timcoleman.com>
        * Mono.Data.SybaseClient/SybasePermission.cs:
                Change constructor.

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

20 years ago2003-12-19 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 19 Dec 2003 14:37:11 +0000 (14:37 -0000)]
2003-12-19  Tim Coleman <tim@timcoleman.com>
        * Mono.Data.PostgreSqlClient/PgSqlPermission.cs:
                Change constructor so it does not use base
                constructor without arguments.  That constructor
                becomes obsolete in .NET 1.2, but it doesn't hurt
                to do it in other builds too.

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

20 years ago2003-12-19 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 19 Dec 2003 14:27:04 +0000 (14:27 -0000)]
2003-12-19  Tim Coleman <tim@timcoleman.com>
        * Mono.Data.SybaseClient/SybasePermission.cs:
                Change constructor.

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

20 years ago2003-12-19 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 19 Dec 2003 14:25:11 +0000 (14:25 -0000)]
2003-12-19  Tim Coleman <tim@timcoleman.com>
        * Mono.Data.PostgreSqlClient/PgSqlPermission.cs:
                Change constructor so it does not use base
                constructor without arguments.  That constructor
                becomes obsolete in .NET 1.2, but it doesn't hurt
                to do it in other builds too.

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

20 years ago2003-12-19 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 19 Dec 2003 14:15:05 +0000 (14:15 -0000)]
2003-12-19  Dick Porter  <dick@ximian.com>

* String.cs: Added Compare shortcut for length==0.

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

* CompareInfo.cs: Added assorted shortcuts when comparing empty
strings.  Fixed offset and length range checks to flag when <0.
Broke test that offset >= string length to match actual ms
behaviour (sigh.)  Fixes bug 52310.

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

* StringTest.cs: Added Compare test for length==0.

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

* CompareInfoTest.cs: Added some Compare tests

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

20 years ago2003-12-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 19 Dec 2003 14:10:34 +0000 (14:10 -0000)]
2003-12-19  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_MonoField_GetValueInternal): Do not run the class
constructor when accessing literal fields.

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

20 years ago2003-12-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 19 Dec 2003 11:05:08 +0000 (11:05 -0000)]
2003-12-19  Martin Baulig  <martin@ximian.com>

* pending.cs (Pending.InterfaceMethod): Use
`Type.IsAssignableFrom()' instead of `=='.

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

20 years ago2003-12-19 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 19 Dec 2003 05:25:17 +0000 (05:25 -0000)]
2003-12-19  Nick Drochak <ndrochak@gol.com>

* PathTest.cs: Make tests pass on .NET 1.1.  Probably still
need to handle different directory and volume separators for
other OS's.

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

20 years ago * DataViewTest.cs: Add some tests for new methods.
Jackson Harper [Fri, 19 Dec 2003 03:44:41 +0000 (03:44 -0000)]
    * DataViewTest.cs: Add some tests for new methods.

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

20 years ago * DataView.cs: Implement AddNew, Delete, and OnListChanged.
Jackson Harper [Fri, 19 Dec 2003 03:41:12 +0000 (03:41 -0000)]
    * DataView.cs: Implement AddNew, Delete, and OnListChanged.

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

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

* XmlTextWriter.cs :
  Element's namespace should be escaped as usual attribute.

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