mono.git
20 years ago * MethodDef.cs: Check for null param lists in vararg
Jackson Harper [Mon, 13 Oct 2003 21:56:09 +0000 (21:56 -0000)]
    * MethodDef.cs: Check for null param lists in vararg
methods. Fixes bug #49614.

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

20 years agoUse the default encoding from the StreamWriter if no encoding was passed
Miguel de Icaza [Mon, 13 Oct 2003 21:51:15 +0000 (21:51 -0000)]
Use the default encoding from the StreamWriter if no encoding was passed

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

20 years ago2003-10-13 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 13 Oct 2003 21:44:14 +0000 (21:44 -0000)]
2003-10-13 Ben Maurer  <bmaurer@users.sourceforge.net>

* SessionStateModule.cs: prevent Context.State from being null if
the module is inited in another HttpApplication. Fixes #49569.

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

20 years ago2003-10-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 13 Oct 2003 20:14:44 +0000 (20:14 -0000)]
2003-10-13  Martin Baulig  <martin@ximian.com>

* class.cs (Method.Define): If we're a generic method, call
TypeBuilder.DefineGenericMethod () before resolving
the parameters.
(MethodData): Added .ctor which takes an additional MethodBuilder
argument; this is used for generic methods.
(MethodData.Define): Call `builder.SetGenericMethodSignature()' if
we already have a MethodBuilder.

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

20 years ago2003-10-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 13 Oct 2003 20:08:47 +0000 (20:08 -0000)]
2003-10-13  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_define_generic_parameter): This
method isn't called directly from the icall anymore; take a
`MonoReflectionAssemblyBuilder *' so we can use this for type and
method generic parameters.
(ReflectionMethodBuilder): Added `MonoArray *generic_param'.
(method_builder_encode_signature): Encode generic parameters.
(mono_image_get_method_info): Write generic params to the
MONO_TABLE_GENERICPARAM table.

* reflection.h (MonoReflectionMethodBuilder): Added
`MonoArray *generic_params'.

* metadata.h (MonoMethodSignature): Added `MonoGenericInst *geninst'.

* icall.c (ves_icall_TypeBuilder_define_generic_parameter): Added
wrapper for mono_reflection_define_generic_parameter().
(ves_icall_MethodBuilder_define_generic_parameter): Likewise.

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

20 years ago2003-10-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 13 Oct 2003 20:06:52 +0000 (20:06 -0000)]
2003-10-13  Martin Baulig  <martin@ximian.com>

* MethodBuilder.cs (MethodBuilder): Added
`TypeBuilder.MonoGenericParam[] generic_params' field.
(DefineGenericParameter, SetGenericMethodSignature): New public methods.

* TypeBuilder.cs (DefineGenericMethod): New public method.

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

20 years ago * get.c: stringify nested types properly ie Outer/Inner.
Jackson Harper [Mon, 13 Oct 2003 20:03:20 +0000 (20:03 -0000)]
    * get.c: stringify nested types properly ie Outer/Inner.

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

20 years ago2003-10-13 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Mon, 13 Oct 2003 19:35:28 +0000 (19:35 -0000)]
2003-10-13  Bernie Solomon  <bernard@ugsolutions.com>

* Makefile.am: fix so it works if builddir != srcdir

* libtest.c: (mono_test_empty_struct) make it exist for
non-GCC builds (and possibly pass depending on trampolines).
(mono_test_marshal_bool_byref) bools marshal as ints by default

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 18:55:57 +0000 (18:55 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* threads.c (CreateThread): Wrap pthread_attr_setstacksize call in
a conditional for platforms that don't have it.

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 18:50:51 +0000 (18:50 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Added check for pthread_attr_setstacksize.

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 18:28:56 +0000 (18:28 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* marshal.h: Add missing function to fix build.

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 18:20:00 +0000 (18:20 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* bug-46781.cs: New regression test.

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

20 years ago2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 13 Oct 2003 17:48:28 +0000 (17:48 -0000)]
2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlDocument.cs : Fixed bugzilla #49607. Save() outputs XML
  declaration even though there is no XmlDeclaration child.
* XmlTextReader.cs : Fixed Init() so that ResetState() should work.

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

20 years agoTiny documentation fix
Andreas N [Mon, 13 Oct 2003 17:00:39 +0000 (17:00 -0000)]
Tiny documentation fix

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

20 years ago2003-10-13 Todd Berman <tberman@gentoo.org>
Todd Berman [Mon, 13 Oct 2003 16:54:53 +0000 (16:54 -0000)]
2003-10-13  Todd Berman <tberman@gentoo.org>

        * SoapContext.cs: Added Addressing objects.
        * SoapEnvelope.cs: Added Encoding and fixed up Save (string)

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 16:25:19 +0000 (16:25 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_native_wrapper): Add support for
the SetLastError pinvoke attribute.

* marshal.c (mono_marshal_set_last_error): New helper function called
by the generated code.

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 16:23:24 +0000 (16:23 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c pinvoke2.cs: Add new test for SetLastError functionality.

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 15:23:41 +0000 (15:23 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* OpCode.cs: Fix Value property. Fixes #49328.

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 15:20:44 +0000 (15:20 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (TEST_CS_SRC): Remove merged tests.

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 15:19:08 +0000 (15:19 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke2.cs pinvoke3.cs: Merge tests 4-8 into these files +
convert tests so they run with the test driver used by mini.

* pinvoke3.cs libtest.c: Add tests for class arguments and return
values.

* pinvoke4.cs pinvoke5.cs pinvoke6.cs pinvoke7.cs pinvoke8.cs: Removed.

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 15:14:43 +0000 (15:14 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* mono/tests/ChangeLog: New file.

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 15:12:39 +0000 (15:12 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* mono/tests/Makefile.am: Link the tests with the test driver program
used for the mini tests.

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

20 years ago2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 13 Oct 2003 14:52:14 +0000 (14:52 -0000)]
2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* LosFormatter.cs: fixed bug #49604. Patch by yaronsh@mainsoft.com.

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

20 years agoImport new changes from ByteFX
Reggie Burnett [Mon, 13 Oct 2003 14:42:31 +0000 (14:42 -0000)]
Import new changes from ByteFX

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

20 years ago2003-10-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 13 Oct 2003 14:34:18 +0000 (14:34 -0000)]
2003-10-13  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_mb_emit_branch): New helper function.

* marshal.c (mono_mb_emit_exception): Added exception name parameter.

* marshal.c (mono_marshal_get_managed_wrapper): Added support for
classes as parameters and return values of delegates. Fixes #29256.

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

20 years agoLine up the optional library status display
Dick Porter [Mon, 13 Oct 2003 14:04:45 +0000 (14:04 -0000)]
Line up the optional library status display

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

20 years ago2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 13 Oct 2003 12:08:39 +0000 (12:08 -0000)]
2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlWriterTests.cs : Added WriteSurrogateCharEntity().

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

20 years ago2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 13 Oct 2003 12:06:21 +0000 (12:06 -0000)]
2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextWriter.cs : Implemented WriteSurrogateCharEntity().
  Reverted my recent extraneous check in WriteStartAttribute().

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

20 years ago2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 13 Oct 2003 12:01:46 +0000 (12:01 -0000)]
2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* AssemblyInfo.cs : Now it became CLSCompliant.

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

20 years ago * HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
Lluis Sanchez [Mon, 13 Oct 2003 11:30:36 +0000 (11:30 -0000)]
* HttpResponse.cs: Changed harcoded switch to en-US culture to a switch
  to invariant culture.

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

20 years ago2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 13 Oct 2003 08:31:13 +0000 (08:31 -0000)]
2003-10-13  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* Iterator.cs : Fixed UnionIterator who ignores document order.
  Fixed SlashIterator whose MoveNext() should finish at its end.

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

20 years ago2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 13 Oct 2003 03:37:42 +0000 (03:37 -0000)]
2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlElementTests.cs : Added more tests on
  RemoveDoesNotRemoveDefaultAttributes().
* XmlNodeTests.cs : Added Normalize(), GetNamespaceOfPrefix() and
  GetNamespaceOfPrefixNullArg().
* XmlWriterTests.cs : Added WriteNodeNone().

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

20 years ago2003-10-12 Todd Berman <tberman@gentoo.org>
Todd Berman [Mon, 13 Oct 2003 03:34:51 +0000 (03:34 -0000)]
2003-10-12  Todd Berman <tberman@gentoo.org>

        * AddressingHeaders.cs: implemented
        * EndpointReferenceType.cs: fixes
* Test/EndpointReference.cs: small change

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

20 years ago2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 13 Oct 2003 03:32:45 +0000 (03:32 -0000)]
2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlNode.cs : GetNamespaceOfPrefix() should check Attributes existence.
  And it should throw ArgumentNullException.

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

20 years ago2003-10-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 13 Oct 2003 03:08:07 +0000 (03:08 -0000)]
2003-10-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlAttribute.cs : Fixed InnerText that did not removed its content
  if there is two or more children.
* XmlNode.cs : XmlNode.cs : Fixed bugzilla #49580 (1)to return "",
  (2)not to compare NodeType for detached nodes, (3)optimization to
  compare element's prefix.
* XmlSecureResolver.cs : Removed extraneous members.

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

20 years ago2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 13 Oct 2003 01:14:56 +0000 (01:14 -0000)]
2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/Control.cs: removed some debug lines.
* System.Web.UI/Page.cs: implemented RegisterOnSubmitStatement
* System.Web.UI/TemplateControl.cs: fixed wire up for methods with no
parameters.
* System.Web.UI.HtmlControls/HtmlForm.cs: render the onsubmit attribute.

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

20 years ago2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 13 Oct 2003 00:24:32 +0000 (00:24 -0000)]
2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PageParser.cs: ignore ValidateRequest by now.

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

20 years ago2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 13 Oct 2003 00:19:54 +0000 (00:19 -0000)]
2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs:
* HttpWebResponse.cs: better abort handling and leave the stream in a
stable status on abort.

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

20 years ago2003-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 13 Oct 2003 00:12:02 +0000 (00:12 -0000)]
2003-10-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Directive.cs: new attribute for @Page directive in 1.1.

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

20 years ago2003-10-12 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Sun, 12 Oct 2003 23:42:41 +0000 (23:42 -0000)]
2003-10-12  Bernie Solomon  <bernard@ugsolutions.com>

* locales.c: use gint32 in non HAVE_ICU case

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

20 years ago * SoapHttpClientProtocol.cs: Replaced AsyncInfo by a new
Lluis Sanchez [Sun, 12 Oct 2003 23:09:33 +0000 (23:09 -0000)]
* SoapHttpClientProtocol.cs: Replaced AsyncInfo by a new
  SoapWebClientAsyncResult class derived from WebClientAsyncResult.
* WebClientAsyncResult.cs: Removed unneeded members.

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

20 years agoadded -f on clean
Alexandre Pigolkine [Sun, 12 Oct 2003 23:01:48 +0000 (23:01 -0000)]
added -f on clean

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

20 years agogdiplus added to subdirs
Alexandre Pigolkine [Sun, 12 Oct 2003 22:30:18 +0000 (22:30 -0000)]
gdiplus added to subdirs

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

20 years agonew sources added
Alexandre Pigolkine [Sun, 12 Oct 2003 22:27:26 +0000 (22:27 -0000)]
new sources added

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

20 years agonew sources added
Alexandre Pigolkine [Sun, 12 Oct 2003 22:27:26 +0000 (22:27 -0000)]
new sources added

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

20 years agoFactories.cs removed
Alexandre Pigolkine [Sun, 12 Oct 2003 22:22:01 +0000 (22:22 -0000)]
Factories.cs removed

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

20 years agoRemoved list.unix files
Gonzalo Paniagua Javier [Sun, 12 Oct 2003 22:21:29 +0000 (22:21 -0000)]
Removed list.unix files

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

20 years agoremoved cairo,gtk,win32 implementations. Added gdi+ implementation
Alexandre Pigolkine [Sun, 12 Oct 2003 22:21:12 +0000 (22:21 -0000)]
removed cairo,gtk,win32 implementations. Added gdi+ implementation

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

20 years ago2003-10-12 Todd Berman <tberman@gentoo.org>
Todd Berman [Sun, 12 Oct 2003 21:52:38 +0000 (21:52 -0000)]
2003-10-12  Todd Berman <tberman@gentoo.org>

        * QualifiedName.cs (FromString): fix from nunit tests

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

20 years agogdpi* files added
Alexandre Pigolkine [Sun, 12 Oct 2003 21:34:05 +0000 (21:34 -0000)]
gdpi* files added

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

20 years agoimplementation changed to gdi+
Alexandre Pigolkine [Sun, 12 Oct 2003 21:27:00 +0000 (21:27 -0000)]
implementation changed to gdi+

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

20 years agosources deleted. gdi+ based implementation will be added
Alexandre Pigolkine [Sun, 12 Oct 2003 21:17:23 +0000 (21:17 -0000)]
sources deleted. gdi+ based implementation will be added

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

20 years agofactory removed
Alexandre Pigolkine [Sun, 12 Oct 2003 21:04:06 +0000 (21:04 -0000)]
factory removed

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

20 years agowarning removed
Alexandre Pigolkine [Sun, 12 Oct 2003 21:01:59 +0000 (21:01 -0000)]
warning removed

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

20 years agographics state variable added
Alexandre Pigolkine [Sun, 12 Oct 2003 20:59:30 +0000 (20:59 -0000)]
graphics state variable added

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

20 years agousing a unique name instead of 'a' is probably a good idea.
Todd Berman [Sun, 12 Oct 2003 19:20:43 +0000 (19:20 -0000)]
using a unique name instead of 'a' is probably a good idea.

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

20 years agoRemoving the dll, adding the .sources and adding a .cvsignore
Todd Berman [Sun, 12 Oct 2003 19:05:19 +0000 (19:05 -0000)]
Removing the dll, adding the .sources and adding a .cvsignore

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

20 years ago2003-10-12 Todd Berman <tberman@gentoo.org>
Todd Berman [Sun, 12 Oct 2003 19:03:49 +0000 (19:03 -0000)]
2003-10-12  Todd Berman <tberman@gentoo.org>

* Adding tests and modifying makefile to work with make test

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

20 years agoadding the new files is important
Todd Berman [Sun, 12 Oct 2003 18:49:55 +0000 (18:49 -0000)]
adding the new files is important

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

20 years ago2003-10-12 Todd Berman <tberman@gentoo.org>
Todd Berman [Sun, 12 Oct 2003 18:48:28 +0000 (18:48 -0000)]
2003-10-12  Todd Berman  <tberman@gentoo.org>

        * Lots of files changed, upgraded to nunit 2.1.4. I built and ran the
        corlib test, so it seems like existing tests should still work under
        this new version of nunit.

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

20 years ago2003-10-12 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 12 Oct 2003 16:14:11 +0000 (16:14 -0000)]
2003-10-12  Sebastien Pouliot  <spouliot@videotron.ca>

* corlib.dll.sources: Added classes for Authenticode support.
* corlib_test.dll.sources: Added unit test for SPC certificates.

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

20 years ago2003-10-12 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 12 Oct 2003 16:11:03 +0000 (16:11 -0000)]
2003-10-12  Sebastien Pouliot  <spouliot@videotron.ca>

* X509SpcTest.cs: New. Test for Software Publisher Certificates
(a.k.a. Authenticode) using CreateFromSignedFile.

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

20 years agoitem color, properties, and fixes
Jordi Mas i Hernandez [Sun, 12 Oct 2003 16:10:23 +0000 (16:10 -0000)]
item color, properties, and fixes

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

20 years ago2003-10-12 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 12 Oct 2003 16:09:48 +0000 (16:09 -0000)]
2003-10-12  Sebastien Pouliot  <spouliot@videotron.ca>

* X509Certificate.cs: Implements CreateFromSignedFile using
Authenticode related classes.

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

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

* ITrustAnchors.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* TestAnchors.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* TrustAnchors.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* X509CertificateCollection.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* X509Chain.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile

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

20 years ago2003-10-12 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 12 Oct 2003 16:07:14 +0000 (16:07 -0000)]
2003-10-12  Sebastien Pouliot  <spouliot@videotron.ca>

* AuthenticodeBase.cs: Added from Mono.Security assembly for
Authenticode support in X509Certificate.CreateFromSignedFile
* AuthenticodeDeformatter.cs: Added from Mono.Security assembly for
Authenticode support in X509Certificate.CreateFromSignedFile

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

20 years ago2003-10-12 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 12 Oct 2003 16:06:12 +0000 (16:06 -0000)]
2003-10-12  Sebastien Pouliot  <spouliot@videotron.ca>

* PKCS7.cs: Added from Mono.Security assembly for Authenticode
support in X509Certificate.CreateFromSignedFile

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

20 years ago2003-10-12 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sun, 12 Oct 2003 15:54:36 +0000 (15:54 -0000)]
2003-10-12  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * WebClient.cs: refine reading of local files (like MS.NET).

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

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

* chktrust.1: New. Man page for Authenticode chktrust.exe
* signcode.1: New. Man page for Authenticode signcode.exe
* sn.1: New. Man page for StrongName sn.exe
* man.xml: Added new (and missing) entries.

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

20 years ago2003-10-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 12 Oct 2003 12:53:05 +0000 (12:53 -0000)]
2003-10-12  Zoltan Varga  <vargaz@freemail.hu>

* tramp-x86.c (x86_class_init_trampoline): Fix build.

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

20 years ago2003-10-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 12 Oct 2003 11:47:49 +0000 (11:47 -0000)]
2003-10-12  Zoltan Varga  <vargaz@freemail.hu>

* tramp-x86.c (x86_class_init_trampoline): Thread safety fixes.

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

20 years ago* Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
Duncan Mak [Sun, 12 Oct 2003 01:51:58 +0000 (01:51 -0000)]
* Mono.Cairo/Cairo.cs (cairo_set_target_drawable): Not available anymore, removed.
(cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
(cairo_current_matrix): Signature changed, updated.
(cairo_surface_reference): New API.
(cairo_surface_get_matrix): Use 'out' instead of 'ref' param.

* Mono.Cairo/Surface.cs:
* Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
(Destroy): It's supposed to return void, not IntPtr.

* cairo-api.cs: Marked as in internal class, instead of
public. Update to new Cairo API (see Mono.Cairo/Cairo.cs).

* gdk-helpers.cs (Gdk.Pixbuf.Finalize): Removed.

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

20 years agoAlso work for floats
Miguel de Icaza [Sun, 12 Oct 2003 01:39:58 +0000 (01:39 -0000)]
Also work for floats

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

20 years ago2003-10-11 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 11 Oct 2003 20:11:11 +0000 (20:11 -0000)]
2003-10-11  Sebastien Pouliot  <spouliot@videotron.ca>

* AssemblyInfo.cs: changed version number to 0.28.99
* sn.cs: Add support for signing and verifying assemblies.

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

20 years ago2003-10-11 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 11 Oct 2003 20:03:42 +0000 (20:03 -0000)]
2003-10-11  Sebastien Pouliot  <spouliot@videotron.ca>

* SoftwarePublisherCertificateTest.cs: Repaired test build.

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

20 years ago2003-10-11 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 11 Oct 2003 20:02:55 +0000 (20:02 -0000)]
2003-10-11  Sebastien Pouliot  <spouliot@videotron.ca>

* StrongNameTest.cs: Added tests for Hash, Sign and Verify.

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

20 years ago2003-10-11 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 11 Oct 2003 20:02:08 +0000 (20:02 -0000)]
2003-10-11  Sebastien Pouliot  <spouliot@videotron.ca>

* StrongName.cs: Added Hash, Sign and Verify.

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

20 years agobuild fix
Ben Maurer [Sat, 11 Oct 2003 18:42:13 +0000 (18:42 -0000)]
build fix

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

20 years ago2003-10-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 11 Oct 2003 16:37:13 +0000 (16:37 -0000)]
2003-10-11  Martin Baulig  <martin@ximian.com>

* mono-debug.c (mono_debug_add_method): Added a workaround for
bug #48591.

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

20 years agoPatch from Marco Canini to fix an overflow
Miguel de Icaza [Sat, 11 Oct 2003 15:49:10 +0000 (15:49 -0000)]
Patch from Marco Canini to fix an overflow

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

20 years ago2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 11 Oct 2003 09:08:19 +0000 (09:08 -0000)]
2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Calendar.cs: apply the calendar style to the new Table, not to itself.
Fixes #49406.

* CheckBox.cs: render the hidden fields if AutoPostBack.

* Style.cs: don't render empty width/height. Small improvement in
CopyFrom.

* Table.cs: fixed condition for border width.

* TableStyle.cs:
(CopyFrom): always call the base class to copy other attributes. Fixes
bug #49408. Don't render empty 'rules' attribute.

* WebControl.cs: track viewstate when enabled. Don't overwrite source
control attributes in CopyBaseAttributes.

* ChangeLog: fixed dates.

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

20 years agoAdd new generic method types to build
Jackson Harper [Sat, 11 Oct 2003 09:00:09 +0000 (09:00 -0000)]
Add new generic method types to build

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

20 years ago * GenericTypeRef.cs: Allow Mvars to be a base type.
Jackson Harper [Sat, 11 Oct 2003 08:59:12 +0000 (08:59 -0000)]
    * GenericTypeRef.cs: Allow Mvars to be a base type.
* GenericMethodRef.cs: Basically just a wrapper around an existing
method making it into a generic method.
* GenericMethodSig.cs: Signature for a generic method.

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

20 years ago * ILParser.jay: Create generic method refs.
Jackson Harper [Sat, 11 Oct 2003 08:57:47 +0000 (08:57 -0000)]
    * ILParser.jay: Create generic method refs.

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

20 years agoDecrypt file.
Gonzalo Paniagua Javier [Sat, 11 Oct 2003 06:59:25 +0000 (06:59 -0000)]
Decrypt file.

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

20 years ago2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 11 Oct 2003 04:01:03 +0000 (04:01 -0000)]
2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs:
* HttpServerUtility.cs: change the response writer in Execute. Thanks
to Rich Alimi <rich@velvetsea.net> for noticing this.

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

20 years ago2003-10-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 11 Oct 2003 03:45:07 +0000 (03:45 -0000)]
2003-10-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpApplicationFactory.cs:
* System.Web.UI/TemplateControl.cs: support for wiring up events without
parameters.

* System.Web.Compilation/AspParser.cs:
* System.Web.Compilation/TagAttributes.cs: allow duplicated runat=server
attributes and display error page when duplicated attributes and runat
is specified.

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

20 years ago * PEAPI.cs: New GenericMethodSig class for creating generic method
Jackson Harper [Sat, 11 Oct 2003 00:30:31 +0000 (00:30 -0000)]
    * PEAPI.cs: New GenericMethodSig class for creating generic method
signatures. Use this class instead of GenericTypeInst for creating
generic methods. Fix Generic call conv. according to two of my
docs it is 0x10 and only one says 0x50 so I will go with 0x10.

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

20 years ago2003-10-10 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 10 Oct 2003 23:38:41 +0000 (23:38 -0000)]
2003-10-10  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Uri.cs: fixed a problem with some URIs like file://some_file.txt
    It used to return "/some_file.txt/" instead of "some_file.txt" in
    LocalPath. Fix handling of full path files and SMB addresses.

    * UriTest.cs: added some test for "file://one_file.txt". Uri used to
    fail with this URIs.

    * WebClient.cs: MS.NET works right when we try OpenRead("file.txt")
    but we didn't. Now, when Uri fails with an exception, it adds
    "file://" before the URI and tries again.

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

20 years ago * dump.c: When dumping methodspecs dump the full methodspec with
Jackson Harper [Fri, 10 Oct 2003 21:12:42 +0000 (21:12 -0000)]
    * dump.c: When dumping methodspecs dump the full methodspec with
signature, and dump the signature.

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

20 years ago * XmlSerializationReader.cs. Fixed bug #49510. An array element doesn't
Lluis Sanchez [Fri, 10 Oct 2003 17:54:25 +0000 (17:54 -0000)]
* XmlSerializationReader.cs. Fixed bug #49510. An array element doesn't
  need to be of type SOAP-ENC:Array, it can be a restriction of it.

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

20 years ago * ContractReference.cs, DiscoveryClientProtocol.cs,
Lluis Sanchez [Fri, 10 Oct 2003 16:38:58 +0000 (16:38 -0000)]
* ContractReference.cs, DiscoveryClientProtocol.cs,
  DiscoveryClientResult.cs, DiscoveryDocument.cs,
  DiscoveryDocumentReference.cs, DiscoveryExceptionDictionary.cs,
  DiscoveryReference.cs, SchemaReference.cs: Implemented initial support
  for discovery documents (.disco).

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

20 years ago* DiscoveryDocumentSerializer.cs: New file.
Lluis Sanchez [Fri, 10 Oct 2003 16:38:18 +0000 (16:38 -0000)]
* DiscoveryDocumentSerializer.cs: New file.

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

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

* mini.c (mono_no_aot): Remove unused global variable.

* mini.c: Thread safety fixes.

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

20 years ago2003-10-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 10 Oct 2003 12:41:23 +0000 (12:41 -0000)]
2003-10-10  Zoltan Varga  <vargaz@freemail.hu>

* mono/tests/libtest.c (mono_test_marshal_delegate): Added test for
stdcall calling convention.

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

20 years ago2003-10-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 10 Oct 2003 12:31:52 +0000 (12:31 -0000)]
2003-10-10  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_managed_wrapper): Under windows,
delegates passed to native code must use the STDCALL calling
convention. Fixes #35987.

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

20 years ago2003-10-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 10 Oct 2003 11:30:32 +0000 (11:30 -0000)]
2003-10-10  Zoltan Varga  <vargaz@freemail.hu>

* Array.cs: Add argument checking to GetValue and SetValue.

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

20 years ago * get.c/get.h: Add methods to get stringified methodspecs and
Jackson Harper [Fri, 10 Oct 2003 09:03:37 +0000 (09:03 -0000)]
     * get.c/get.h: Add methods to get stringified methodspecs and
           method type parameters.

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

20 years ago * get.c/get.h: Add methods to get stringified methodspecs and
Jackson Harper [Fri, 10 Oct 2003 08:59:06 +0000 (08:59 -0000)]
    * get.c/get.h: Add methods to get stringified methodspecs and
method type parameters.

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

20 years ago2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Oct 2003 08:53:57 +0000 (08:53 -0000)]
2003-10-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspTokenizer.cs: moved token numbers above unicode.

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