mono.git
20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 14:34:03 +0000 (14:34 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* NOTES: New file.

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 14:16:12 +0000 (14:16 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* object.c (mono_class_proxy_vtable): Make it thread safe.

* pedump.c: Fix warning.

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 14:06:58 +0000 (14:06 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* mini.c jit-icalls.c tramp-x86.c tramp-ppc.c tramp-sparc.c: Get rid of
metadata_section.

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 14:03:04 +0000 (14:03 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* interp.c: Get rid of metadata_section.

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

20 years ago2003-08-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Aug 2003 14:01:50 +0000 (14:01 -0000)]
2003-08-27  Zoltan Varga  <vargaz@freemail.hu>

* object.c appdomain.h: Get rid of metadata_section.
It is no longer needed and it was causing deadlocks with domain->lock.

* appdomain.c (add_assemblies_to_domain): Make it thread safe.

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

20 years ago * mono/utils/strtod.c: added arm define
Malte Hildingson [Wed, 27 Aug 2003 13:55:48 +0000 (13:55 -0000)]
* mono/utils/strtod.c: added arm define

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

20 years ago * mono/metadata/marshal.c: compiler compability fix
Malte Hildingson [Wed, 27 Aug 2003 13:47:09 +0000 (13:47 -0000)]
* mono/metadata/marshal.c: compiler compability fix

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

20 years agoOoops ....
Martin Baulig [Wed, 27 Aug 2003 08:34:06 +0000 (08:34 -0000)]
Ooops ....

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

20 years ago2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 27 Aug 2003 08:27:06 +0000 (08:27 -0000)]
2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CaseInsensitiveHashCodeProvider.cs: small speed improvement.

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

20 years ago2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 27 Aug 2003 08:12:52 +0000 (08:12 -0000)]
2003-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpApplication.cs: when the request is completed or an
error happens, execute all the delegates attached to EndRequest, not
only the last one. This makes xsp/test/authtest work again.

* System.Web/HttpMethodNotAllowedHandler.cs: fixed description for http
status code.

* System.Web.Security/UrlAuthorizationModule.cs: fixed description for
status code.

* System.Web.Util/UrlUtils.cs: made Reduce work when a "/" is passed.

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

20 years agoMerged from MCS Wed Aug 27 09:42:30 CEST 2003.
Martin Baulig [Wed, 27 Aug 2003 07:54:32 +0000 (07:54 -0000)]
Merged from MCS Wed Aug 27 09:42:30 CEST 2003.

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

20 years ago2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Wed, 27 Aug 2003 00:28:53 +0000 (00:28 -0000)]
2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* Exception.cs: Add ClassInterface attr. Implement TargetSite and
Source. Remove MonoTODO attributes (class is 100% done). Also
passes all Rotor tests for Exception!

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

20 years ago2003-08-26 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 26 Aug 2003 23:17:08 +0000 (23:17 -0000)]
2003-08-26 Ben Maurer  <bmaurer@users.sourceforge.net>

* Enum.cs: Remove [MonoTODO]'s that had been completed.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 20:28:22 +0000 (20:28 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* ecore.cs (SimpleName.SimpleNameResolve): Look for members before
resolving aliases; fixes #47927.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 20:17:25 +0000 (20:17 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* test-215.cs: New test for bug #47927.

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

20 years ago2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Aug 2003 19:57:28 +0000 (19:57 -0000)]
2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
need to pass true here. Fixes bug #47918.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 19:48:51 +0000 (19:48 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* statement.cs (Using.DoResolve): This is internally emitting a
try/finally clause, so we need to set ec.NeedExplicitReturn if we
do not always return.  Fixes #47681.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 19:45:51 +0000 (19:45 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* verify-7.cs: New test buf bug #47681.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 19:43:36 +0000 (19:43 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* pedump.c (main): Don't call mono_image_close() if `verify_pe'.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 19:29:59 +0000 (19:29 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* mini.c (get_basic_blocks): Added `unsigned char **pos' argument;
when reporting an error, set this to the actual error location.
(mono_method_to_ir): Report the correct error location if
get_basic_blocks() returned an error.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 19:24:45 +0000 (19:24 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* pedump.c (main): Call mono_metadata_init(),
mono_raw_buffer_init(), mono_images_init(), mono_assemblies_init()
and mono_loader_init().

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 18:59:49 +0000 (18:59 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* test-214.cs: New test for bug #47853.

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

20 years ago2003-08-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Aug 2003 18:50:23 +0000 (18:50 -0000)]
2003-08-26  Martin Baulig  <martin@ximian.com>

* decl.cs (MemberCore): Moved WarningNotHiding(),
Error_CannotChangeAccessModifiers() and CheckMethodAgainstBase()
into MemberBase.
(AdditionResult): Make this nested in DeclSpace.
(DeclSpace.ctor): The .ctor now takes an additional NamespaceEntry
argument; call NamespaceEntry.Define() unless we're nested in a
class or struct.

* namespace.cs (Namespace.DefineName): New public function.  This
is called from DeclSpace's .ctor to add
(Namespace.Lookup): Include DeclSpaces in the lookup.

* class.cs (Operator): Derive from MemberBase, not MemberCore.

* const.cs (Const): Derive from MemberBase, not MemberCore.

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

20 years agopainting code and click logic updated
Alexandre Pigolkine [Tue, 26 Aug 2003 15:44:54 +0000 (15:44 -0000)]
painting code and click logic updated

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

20 years agoFlush
Miguel de Icaza [Tue, 26 Aug 2003 14:30:11 +0000 (14:30 -0000)]
Flush

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 13:38:34 +0000 (13:38 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
to remap hashtable values during a copying collection. Not used at the
moment.
* mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
in the common case.
* mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
the key function even if the client supplied g_direct_equal instead of
NULL.

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

20 years ago2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Aug 2003 12:47:32 +0000 (12:47 -0000)]
2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
exception. Thanks to Mark Easton <measton@tebiki.co.uk>.

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

20 years ago2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Aug 2003 12:25:22 +0000 (12:25 -0000)]
2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI.WebControls/CheckBox.cs: in LoadPostData, only return
true when the new data is different from the one we had. Fixed
conditions to save Checked state. Thanks to yaronshkop@hotmail.com
(Yaron Shkop).

* System.Web.UI/Page.cs: check if controls that require postback have
been changed by an event and register them to be notified of data
changed event.

Fixes bug #47869.

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 10:04:03 +0000 (10:04 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* loader.h: Add missing include to fix build.

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 10:02:06 +0000 (10:02 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* image.h: mono_image_load_references is no more.

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 10:00:38 +0000 (10:00 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* assembly.c: Reworked assembly loading to make it really thread safe.
After these changes, the assembly returned by mono_assembly_open is
fully initialized, i.e. all its references assemblies are loaded.

* assembly.c (mono_image_load_references): Renamed to
mono_assembly_load_references, and made private, since clients no
longer need to call it.

* class.c: Removed calls to mono_assembly_load_references, since it was
a source of deadlocks.

* loader.h loader.c class.h class.c: Protect data structures using a
new lock, the loader lock.

* class.c (mono_class_setup_vtable): Create temporary hash tables and
GPtrArrays only when needed.

* class.c (mono_class_layout_fields): Ignore the dummy field inserted
into empty structures by mcs. Fixes pinvoke7.cs.

* domain.c (mono_init): Call a new initialization function.

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 09:45:08 +0000 (09:45 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* appdomain.c (mono_runtime_init): Call the new initializer function
of the marshal module.

* marshal.c (mono_marshal_load_type_info): Ignore the dummy field
inserted into empty structures by mono. Fixes pinvoke7.cs.

* marshal.h marshal.c: Added locks around the wrapper caches to make
this module thread safe.

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

20 years ago2003-08-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 26 Aug 2003 09:40:40 +0000 (09:40 -0000)]
2003-08-26  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_InternalInvoke): Method wrappers doesn't require a
this argument. Fixes pinvoke1.exe.

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

20 years ago2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Aug 2003 02:37:08 +0000 (02:37 -0000)]
2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.

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

20 years ago2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Aug 2003 02:07:48 +0000 (02:07 -0000)]
2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Control.cs: patch by yaronshkop@hotmail.com (Yaron Shkop) that fixes
bug #47866.

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

20 years ago2003-08-25 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 25 Aug 2003 20:58:46 +0000 (20:58 -0000)]
2003-08-25 Ben Maurer  <bmaurer@users.sourceforge.net>

* DTMXPathNavigator.cs: Allocate valueBuilder on first use.

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

20 years ago2003-08-25 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 25 Aug 2003 18:28:19 +0000 (18:28 -0000)]
2003-08-25 Ben Maurer  <bmaurer@users.sourceforge.net>

* XPathNavigator.cs: "Smart" behavior in Matches. Nice 8x speed
improvement in the method (5ms/call -> .7 ms / call) measured by
monodoc's rendering of N:System.
* Expression.cs: Utility methods to support above.

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

20 years ago2003-08-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 25 Aug 2003 16:42:15 +0000 (16:42 -0000)]
2003-08-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebControl.cs: removed dangling ^M and unneeded fields. Keep track
of Enable in ViewState. Fixes bug #47865.

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

20 years agoUpdate profiles to use -d: and make generics build use NET_1_1
Miguel de Icaza [Mon, 25 Aug 2003 15:48:24 +0000 (15:48 -0000)]
Update profiles to use -d: and make generics build use NET_1_1

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

20 years ago2003-08-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 25 Aug 2003 15:09:30 +0000 (15:09 -0000)]
2003-08-25  Martin Baulig  <martin@ximian.com>

* convert.cs (Convert.ExplicitReferenceConversion): When
converting from an interface type to a class, unbox if the target
type is a struct type.  Fixes #47822.

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

20 years ago2003-08-25 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 25 Aug 2003 15:02:13 +0000 (15:02 -0000)]
2003-08-25  Martin Baulig  <martin@ximian.com>

* test-213.cs: New test for bug #47822.

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

20 years agoCopyright attribution was missing for a pair of files
Rafael Teixeira [Mon, 25 Aug 2003 14:15:30 +0000 (14:15 -0000)]
Copyright attribution was missing for a pair of files

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

20 years agoSmall portability fix.
Paolo Molaro [Mon, 25 Aug 2003 13:38:33 +0000 (13:38 -0000)]
Small portability fix.

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

20 years ago.cvsignore update
Ben Maurer [Mon, 25 Aug 2003 13:38:19 +0000 (13:38 -0000)]
.cvsignore update

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

20 years ago * object.h: Added call_type field to MonoMethodMessage and the corresponding
Lluis Sanchez [Mon, 25 Aug 2003 12:09:25 +0000 (12:09 -0000)]
* object.h: Added call_type field to MonoMethodMessage and the corresponding
enumeration of values. Removed fields to store remote call output values in
MonoAsyncResult. Not needed any more.
* object.c: Initialize call_type and async_result fields in mono_message_init.
* marshal.c: mono_delegate_begin_invoke(): for proxies, set call_type before
dispatching the message.
mono_delegate_end_invoke (): delegate to the proxy the work of waiting for the
async call to finish. To do it use a message with EndInvoke call type.

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

20 years ago * RemotingProxy.cs: Use CallType property to check the type of
Lluis Sanchez [Mon, 25 Aug 2003 11:32:52 +0000 (11:32 -0000)]
* RemotingProxy.cs: Use CallType property to check the type of
  the message.

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

20 years ago * AsyncResult.cs: Added method EndInvoke(). Fixed SyncProcessMessage().
Lluis Sanchez [Mon, 25 Aug 2003 11:31:16 +0000 (11:31 -0000)]
* AsyncResult.cs: Added method EndInvoke(). Fixed SyncProcessMessage().
* CallContext.cs: Clean current logical context before setting the new
  values form LogicalCallContext (SetCurrentCallContext).
* MonoMethodMessage.cs: Added new CallType field and enum.
* StackBuilderSink.cs: Improved error message.

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

20 years ago * ClientChannelSinkStack.cs: Implemented DispatchException.
Lluis Sanchez [Mon, 25 Aug 2003 11:23:33 +0000 (11:23 -0000)]
* ClientChannelSinkStack.cs: Implemented DispatchException.

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

20 years ago * RemotingServices.cs: Some small fixes.
Lluis Sanchez [Mon, 25 Aug 2003 11:21:55 +0000 (11:21 -0000)]
* RemotingServices.cs: Some small fixes.

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

20 years ago * SoapTypeMapper.cs: Added mappings for more primitive types.
Lluis Sanchez [Mon, 25 Aug 2003 11:13:56 +0000 (11:13 -0000)]
* SoapTypeMapper.cs: Added mappings for more primitive types.
* SoapWriter.cs: Use XmlSchema.Namespace and XmlSchema.InstanceNamespace
  instead of string constants.

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

20 years ago2003-08-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 25 Aug 2003 10:28:50 +0000 (10:28 -0000)]
2003-08-25  Zoltan Varga  <vargaz@freemail.hu>

* mono.pc.in: Added gthread-2.0.

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

20 years ago2003-08-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 25 Aug 2003 10:07:32 +0000 (10:07 -0000)]
2003-08-25  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_type_blittable): OBJECT is not blittable.
(mono_method_blittable): Methods which have marshalling descriptors
are not blittable either. Fixes #47842.

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

20 years ago * test-31.il: Added tests for static properties. Also made the code
Jackson Harper [Mon, 25 Aug 2003 00:49:08 +0000 (00:49 -0000)]
* test-31.il: Added tests for static properties. Also made the code
for methods verifiable IL.

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

20 years ago* RealProxy.cs, RemotingProxy.cs: move the LogicalCallContext
Vladimir Vukicevic [Sun, 24 Aug 2003 23:37:12 +0000 (23:37 -0000)]
* RealProxy.cs, RemotingProxy.cs: move the LogicalCallContext
setup/restoration into RealProxy's PrivateInvoke, so that custom
RealProxy's get a LogicalCallContext.

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

20 years agocompleted the set of floating point ops
ct [Sun, 24 Aug 2003 22:49:45 +0000 (22:49 -0000)]
completed the set of floating point ops

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

20 years agomodified to be compatible with specification
Alexandre Pigolkine [Sun, 24 Aug 2003 19:28:17 +0000 (19:28 -0000)]
modified to be compatible with specification

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

20 years ago2003-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 24 Aug 2003 19:23:25 +0000 (19:23 -0000)]
2003-08-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* typemanager.cs: fixed the values of MethodFlags. Closes #47855 and
#47854.

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

20 years ago2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 24 Aug 2003 19:10:41 +0000 (19:10 -0000)]
2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlValidatingReader.cs : Implemented SchemaType. Added support for
  ValidationType.Schema. Added support for XmlResolver. Fixed
  ReadTypedValue() not to consume EndElement.

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

20 years ago2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 24 Aug 2003 19:10:01 +0000 (19:10 -0000)]
2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* System.Xml.dll.sources : added XsdParticleValidationState.cs
  and XsdValidatingReader.cs.
* System.Xml_test.dll.sources : added XsdParticleValidationTests.cs
  and XsdValidatingReaderTests.cs.

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

20 years ago2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 24 Aug 2003 19:06:49 +0000 (19:06 -0000)]
2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XsdValidatingReader.cs,
  XsdParticleValidationState.cs : Initial checkin.

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

20 years ago2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 24 Aug 2003 19:04:01 +0000 (19:04 -0000)]
2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlAttributeTests.cs : Added DefaultAttributeRemoval() and
  EmptyStringHasTextNode().
* XmlElementTests.cs : Added RemoveDoesNotRemoveDefaultAttributes().
* XmlReaderCommonTests.cs : Added overroaded AssertNodeValues() and
  ReadAttributeValue().
* XmlTextReaderTests.cs :
  Added NotAllowedCharRef() and ExpandParameterEntity().
  Also added but ignored tests: UndeclaredEntityInIntSubsetOnlyXml()
  and UndeclaredEntityInStandaloneXml().
* XmlValidatingReaderTests.cs : TestAttributeDefaultContribution()
  refactory.
* Added XsdParticleValidationTests.cs and XsdValidatingReaderTests.cs.

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

20 years ago2003-08-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 24 Aug 2003 19:02:20 +0000 (19:02 -0000)]
2003-08-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* 1.xsd, 2.xsd, 3.xsd, 4.xsd : Initial checkin.

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

20 years agoadded rss -> text/xml mimetype
Gonzalo Paniagua Javier [Sun, 24 Aug 2003 17:21:49 +0000 (17:21 -0000)]
added rss -> text/xml mimetype

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

20 years agofixed the build on win
Gonzalo Paniagua Javier [Sun, 24 Aug 2003 17:19:32 +0000 (17:19 -0000)]
fixed the build on win

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

20 years ago* System.Drawing.dll.sources: Add Cairo implementation.
Duncan Mak [Sun, 24 Aug 2003 17:15:59 +0000 (17:15 -0000)]
* System.Drawing.dll.sources: Add Cairo implementation.

* cairo-api.cs: New file, replace Cairo.cs and cairo.cs. That
naming thing is just too confusing.

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

20 years agoMake all references to the enums (Cairo.Foo) be just
Duncan Mak [Sun, 24 Aug 2003 17:07:23 +0000 (17:07 -0000)]
Make all references to the enums (Cairo.Foo) be just
Foo. This should (hopefully) fix the build on Windows.

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

20 years agoFix the link to the ADO.Net and ASP.Net page; thanks to John Thomas
Duncan Mak [Sun, 24 Aug 2003 16:49:51 +0000 (16:49 -0000)]
Fix the link to the ADO.Net and ASP.Net page; thanks to John Thomas
<jcthomas5@bigpond.com> for noticing the bug.

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

20 years ago2003-08-24 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 24 Aug 2003 16:48:45 +0000 (16:48 -0000)]
2003-08-24  Sebastien Pouliot  <spouliot@videotron.ca>

* SymmetricAlgorithm.cs: Fixed IV length exception for stream ciphers
(e.g. RC4) which don't uses IV. This needs more tests for small IV...

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

20 years ago2003-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 24 Aug 2003 16:13:43 +0000 (16:13 -0000)]
2003-08-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TcpListenerTest.cs: added more tests.

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

20 years ago2003-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 24 Aug 2003 16:04:24 +0000 (16:04 -0000)]
2003-08-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TcpListener.cs: various fixes to make the new tests pass. Closes
bug #47848.

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

20 years ago2003-08-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 24 Aug 2003 08:09:59 +0000 (08:09 -0000)]
2003-08-24  Duncan Mak  <duncan@ximian.com>

* ListControl.cs: Indentation, coding style fixes.

2003-08-24  Duncan Mak  <duncan@ximian.com>

Patches from Brian Takita <brian.takita@runbox.com>

* GroupBox.cs (OnPaintBackground): Commented out.
* ListControl.cs (DataSource): Fixed visibility of property and
field.
* MonthCalander.cs: Should match Specs better.

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

20 years ago2003-08-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 24 Aug 2003 07:59:54 +0000 (07:59 -0000)]
2003-08-24  Duncan Mak  <duncan@ximian.com>

* System.Drawing.dll.sources: Add Cairo implementation.

2003-08-24  Duncan Mak  <duncan@ximian.com>

Initial checkin of System.Drawing.XrImpl ported to use Cairo.

* Graphics.cs (DrawCurve):
(DrawImageUnscaled):
(IsVisible):Implement the overloads in terms of the other overloads.

(FillClosedCurve): Implement the simple APIs, the default tension
is 0.5, the default FillMode is FillMode.Alternate.

* cairo.cs: A copy of the CairoAPI class from the Mono.Cairo
assembly, with some method parameter/return type changed to better
fit the usage within System.Drawing.

* gdk-helpers.cs: Emulate some of Gdk.Pixbuf's API here,
basically the same as XrImpl's GDKfunctions.cs, but the names of
the functions are nicer, with the help of the DllImportAttribute's
EntryPoint field.

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

20 years ago(FillEllipse): Implemented.
Duncan Mak [Sun, 24 Aug 2003 07:28:28 +0000 (07:28 -0000)]
(FillEllipse): Implemented.

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

20 years agoMoving build to use the 1.1 target, per Miguel's request.
Ben Maurer [Sun, 24 Aug 2003 04:37:00 +0000 (04:37 -0000)]
Moving build to use the 1.1 target, per Miguel's request.

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

20 years agoDebug output removed
Alexandre Pigolkine [Sat, 23 Aug 2003 23:57:21 +0000 (23:57 -0000)]
Debug output removed

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

20 years agoDrawRadioButton and DrawCheckBox improved
Alexandre Pigolkine [Sat, 23 Aug 2003 23:43:57 +0000 (23:43 -0000)]
DrawRadioButton and DrawCheckBox improved

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

20 years agoClear, DrawImage functions
Alexandre Pigolkine [Sat, 23 Aug 2003 23:40:43 +0000 (23:40 -0000)]
Clear, DrawImage functions

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

20 years agodelegate Clear to implementation
Alexandre Pigolkine [Sat, 23 Aug 2003 23:39:09 +0000 (23:39 -0000)]
delegate Clear to implementation

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

20 years agoset ImageFormat and PixelFormat in contstuctors, GetDeviceCaps function and parameters
Alexandre Pigolkine [Sat, 23 Aug 2003 09:39:37 +0000 (09:39 -0000)]
set ImageFormat and PixelFormat in contstuctors, GetDeviceCaps function and parameters

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

20 years ago2003-08-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 23 Aug 2003 08:26:48 +0000 (08:26 -0000)]
2003-08-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* assembly.c: fix the build on windows.

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

20 years agoforgot to update this
Ben Maurer [Sat, 23 Aug 2003 02:12:01 +0000 (02:12 -0000)]
forgot to update this

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

20 years agonew keyword added, SetBoundsCore for ComboBox, Enabled property in Control.cs
Alexandre Pigolkine [Fri, 22 Aug 2003 23:39:13 +0000 (23:39 -0000)]
new keyword added, SetBoundsCore for ComboBox, Enabled property in Control.cs

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

20 years ago64-bit related fixes from Laurent Morichetti
Duncan Mak [Fri, 22 Aug 2003 21:59:10 +0000 (21:59 -0000)]
64-bit related fixes from Laurent Morichetti
<l_m@pacbell.net>. Patch approval from Miguel.

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

20 years agoRemove HighWaterStack for the time being.
Ben Maurer [Fri, 22 Aug 2003 19:45:03 +0000 (19:45 -0000)]
Remove HighWaterStack for the time being.

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

20 years ago2003-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 22 Aug 2003 17:00:27 +0000 (17:00 -0000)]
2003-08-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: quick way of checking that the path is within the
root for the application. Thanks to Johannes for reporting.

* HttpRuntime.cs: use the status code from teh exception when it'ss a
HttpException.

* StaticFileHandler.cs: forbidden is 403.

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

20 years ago2003-08-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 22 Aug 2003 16:51:00 +0000 (16:51 -0000)]
2003-08-22  Martin Baulig  <martin@ximian.com>

* class.cs (TypeManager.DefineType): When defining a nested type,
call DefineType() on our parent; fixes #47801.

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

20 years ago2003-08-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 22 Aug 2003 16:29:21 +0000 (16:29 -0000)]
2003-08-22  Martin Baulig  <martin@ximian.com>

* class.cs (MethodData.Define): While checking if a method is an
interface implementation, improve the test a bit more to fix #47654.

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

20 years agocompile time warning removed
Alexandre Pigolkine [Fri, 22 Aug 2003 16:28:20 +0000 (16:28 -0000)]
compile time warning removed

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

20 years ago2003-08-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 22 Aug 2003 16:27:53 +0000 (16:27 -0000)]
2003-08-22  Zoltan Varga  <vargaz@freemail.hu>

* main.c (dis_event_list): Same for event methods.

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

20 years agomodified to be compatible with specification
Alexandre Pigolkine [Fri, 22 Aug 2003 16:26:07 +0000 (16:26 -0000)]
modified to be compatible with specification

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

20 years ago2003-08-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 22 Aug 2003 16:24:06 +0000 (16:24 -0000)]
2003-08-22  Zoltan Varga  <vargaz@freemail.hu>

* get.c (dis_stringify_method_signature): New argument specifying
whenever to return a fully qualified method name.
* dump.c main.c: Updated to work with the new function.

* main.c (dis_property_methods): Print fully qualified method names
for property methods. Fixes #46221.

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

20 years ago2003-08-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 22 Aug 2003 15:21:29 +0000 (15:21 -0000)]
2003-08-22  Zoltan Varga  <vargaz@freemail.hu>

* driver.c mini.c: Use an environment variable instead of a global
variable. Also fix the build.

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

20 years ago2003-08-22 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 22 Aug 2003 14:57:12 +0000 (14:57 -0000)]
2003-08-22  Martin Baulig  <martin@ximian.com>

* expression.cs (Probe.DoResolve): Check whether `expr' resolved
correctly; fixes #47722.

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

20 years agoobject.cs: Fixed bug #47785.
Lluis Sanchez [Fri, 22 Aug 2003 14:14:29 +0000 (14:14 -0000)]
object.cs: Fixed bug #47785.

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

20 years ago * HttpClientChannel.cs: Changed text for user-agent header (removed references
Lluis Sanchez [Fri, 22 Aug 2003 14:09:48 +0000 (14:09 -0000)]
* HttpClientChannel.cs: Changed text for user-agent header (removed references
  to MS.NET).
  Removed try/catch from AsyncProcessRequest. If there is an exception it must
  flow to the caller.
  in AsyncRequestHandler, improved management of exceptions. HttpWebRequest
  throws an exception if the result code is 400, 500. Is is not a communication
  error, but an application or server error. The content of the body must be
  deserialized like in normal responses.
  In CreateWebRequest, if the stream being sent is a MemoryStream, use a more
  efficient way of writing the content.
  In SendAndRecieve, same as in AsyncRequestHandler. Also moved some code to a
  new method named ReceiveResponse, so it can be reused from AsyncRequestHandler.
* HttpHelper.cs: Removed some debugging code that is not needed.
* HttpServer.cs: Improved formatting of some code.
  In CheckRequest method, send a 100-continue response if the request has
  the header: expect:100-continue.
  Method SendResponse: the remoting formatter may include the result code and
  reason phrase to use in the transport headers. Used them if provided.
* HttpServerChannel.cs: Use ThreadPool to create the thread that will answer
  a request.

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

20 years ago2003-08-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 22 Aug 2003 13:57:44 +0000 (13:57 -0000)]
2003-08-22  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mini_init): Call g_thread_init () to make glib thread-safe.
Fixes #47682. Thanks to Laurent Morichetti (l_m@pacbell.net) for
reporting this.

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

20 years ago2003-08-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 22 Aug 2003 13:56:26 +0000 (13:56 -0000)]
2003-08-22  Zoltan Varga  <vargaz@freemail.hu>

* interp.c (main): Call g_thread_init () to make glib thread-safe.
Fixes #47682. Thanks to Laurent Morichetti (l_m@pacbell.net) for
reporting this.

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

20 years ago2003-08-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 22 Aug 2003 13:54:36 +0000 (13:54 -0000)]
2003-08-22  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Added gthread-2.0 to GLIB_CFLAGS and GLIB_LIBS, so we
can call g_thread_init ().

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

20 years ago * SoapClientFormatterSink.cs: Fixed a some bugs to make async calls work.
Lluis Sanchez [Fri, 22 Aug 2003 12:51:34 +0000 (12:51 -0000)]
* SoapClientFormatterSink.cs: Fixed a some bugs to make async calls work.
* SoapMessageFormatter.cs: Fixed some problems with out and ref parameters.
* SoapServerFormatterSink.cs: Improved catching of exceptions.

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

20 years ago2003-08-22 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 22 Aug 2003 12:42:17 +0000 (12:42 -0000)]
2003-08-22  Zoltan Varga  <vargaz@freemail.hu>

* driver.c mini.c: Added --with-valgrind option to turn off some
code which prevents mono from running under valgrind.

* mini.c (mono_emit_call_args): Fixed warning.

* mini.c (mono_emulate_opcode): Fixed warning.

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