mono.git
21 years ago2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 23 Dec 2002 17:35:55 +0000 (17:35 -0000)]
2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
Implemented XmlTextReader.ReadAttributeValue().
Added internal ReadAttributeNodeValue().
Fixed XmlAttribute.InnerXml to use these methods.

* XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
Implemented XmlDocument.ReadNode() and removed ConstructDOM().
Other changes are replacing them.

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

21 years ago2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 23 Dec 2002 16:24:38 +0000 (16:24 -0000)]
2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlDocumentTests.cs, XmlWhitespaceTests.cs:
fixed whitespace handling (in relation to Ville's patch).

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

21 years ago2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 23 Dec 2002 16:23:36 +0000 (16:23 -0000)]
2002-12-24  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)

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

21 years agoAdded cs0192.cs test file.
Alejandro Sánchez Acosta [Mon, 23 Dec 2002 13:56:18 +0000 (13:56 -0000)]
Added cs0192.cs test file.

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

21 years agoAdded cs0170 test error.
Alejandro Sánchez Acosta [Mon, 23 Dec 2002 12:54:57 +0000 (12:54 -0000)]
Added cs0170 test error.

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

21 years agoAdded cs0156 test error.
Alejandro Sánchez Acosta [Mon, 23 Dec 2002 12:40:24 +0000 (12:40 -0000)]
Added cs0156 test error.

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

21 years ago2002-12-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 23 Dec 2002 01:14:01 +0000 (01:14 -0000)]
2002-12-23  Nick Drochak  <ndrochak@gol.com>

* System_test.build: Fix build.  Need to link with System.Xml.dll

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

21 years ago2002-12-22 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 22 Dec 2002 16:09:46 +0000 (16:09 -0000)]
2002-12-22  Sebastien Pouliot  <spouliot@videotron.ca>

* secutils.cs: New tool to extract strongname and X509 certificate
from assembly (or other signed files).
* makefile: Added secutil.exe to Windows build.
* makefile.gnu: Added secutil.exe to Linux build.

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

21 years ago2002-12-22 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 22 Dec 2002 16:08:11 +0000 (16:08 -0000)]
2002-12-22  Sebastien Pouliot  <spouliot@videotron.ca>

* X509Certificate.cs: Completed CreateFromSignedFile. Added a new
internal constructor so Publisher (and the related classes) can
create a X509Certificate object which return null dates (for both
GetEffectiveDateString and GetExpirationDateString methods).

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

21 years ago2002-12-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 22 Dec 2002 06:44:47 +0000 (06:44 -0000)]
2002-12-22  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (FieldExpr.DoResolve): Instead of throwing an
exception, report error 120 `object reference required'.

* driver.cs: Add --pause option, used during to measure the size
of the process as it goes with --timestamp.

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

21 years agoAdd another one
Miguel de Icaza [Sun, 22 Dec 2002 06:39:28 +0000 (06:39 -0000)]
Add another one

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

21 years ago2002-12-22 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 22 Dec 2002 06:26:20 +0000 (06:26 -0000)]
2002-12-22  Tim Coleman <tim@timcoleman.com>
        * Mono.Data.Tds.Protocol/TdsComm.cs:
                Change GetString to NOT explicitly add a NUL
                to the end of the string since Encoder.GetString ()
                will do that.

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

21 years ago2002-12-22 Rachel Hestilow <hestilow@ximian.com>
Rachel Hestilow [Sun, 22 Dec 2002 06:14:11 +0000 (06:14 -0000)]
2002-12-22  Rachel Hestilow  <hestilow@ximian.com>

* marshal.c (mono_marshal_get_runtime_invoke): Support MONO_TYPE_CHAR
as a boxed return type.

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

21 years agoMove configuration information that is used when compiling code that links
Miguel de Icaza [Sun, 22 Dec 2002 05:37:37 +0000 (05:37 -0000)]
Move configuration information that is used when compiling code that links
to Mono into a define that we can ship in mono.pc

Remove the dependency on config.h from mono/metadata/exception.h

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

21 years agoAdd this change as well
Miguel de Icaza [Sun, 22 Dec 2002 04:34:21 +0000 (04:34 -0000)]
Add this change as well

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

21 years agoInitial patch to use Switches to limit the trace messages that are generated.
Jonathan Pryor [Sun, 22 Dec 2002 03:47:57 +0000 (03:47 -0000)]
Initial patch to use Switches to limit the trace messages that are generated.

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

21 years ago2002-12-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 22 Dec 2002 01:59:57 +0000 (01:59 -0000)]
2002-12-21  Miguel de Icaza  <miguel@ximian.com>

* appdomain.c
(ves_icall_System_AppDomainSetup_InitAppDomainSetup): Use
g_build_filename to properly get separators on the filename created.

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

21 years agoAdd new test, I forgot to add this a few weeks ago test-178.cs
Miguel de Icaza [Sat, 21 Dec 2002 23:10:15 +0000 (23:10 -0000)]
Add new test, I forgot to add this a few weeks ago test-178.cs

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

21 years agoRe-enable code
Miguel de Icaza [Sat, 21 Dec 2002 23:04:23 +0000 (23:04 -0000)]
Re-enable code

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

21 years ago2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
Miguel de Icaza [Sat, 21 Dec 2002 23:00:04 +0000 (23:00 -0000)]
2002-12-20  Lluis Sanchez Gual <lsg@ctv.es>

* RealProxy.cs: Added ObjectIdentity property.
  Implemented CrateObjRef.
* RemotingProxy.cs: Added Identity parameter to constructor

2002-12-20  Lluis Sanchez Gual <lsg@ctv.es>

* ServerContextTerminatorSink.cs: Added
* ServerObjectTerminatorSink.cs: Added
* StackBuilderSink.cs: Added

2002-12-20  Lluis Sanchez Gual <lsg@ctv.es>

* LeaseSink.cs: Added
2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>

* ObjRef.cs: Implementation now based on methods of RemotingServices.
* RemotingServices.cs: Remoting information now kept in Identity objects.
  All methods adapted to work with identities.
  Renamed ExecuteMessage to InternalExecuteMessage. ExecuteMessage should
  not make a direct call to the object.
* Identity.cs: added.

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

21 years agoAdd new field that reflects changes to corlib for remoting
Miguel de Icaza [Sat, 21 Dec 2002 22:53:35 +0000 (22:53 -0000)]
Add new field that reflects changes to corlib for remoting

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

21 years ago2002-12-21 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sat, 21 Dec 2002 19:48:56 +0000 (19:48 -0000)]
2002-12-21  Ravi Pratap  <ravi@ximian.com>

* test-171.cs : Fix up since it wasn't working because of some
array code bug. That is a separate problem ;-)

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

21 years agoAdded cs0163.cs test error.
Alejandro Sánchez Acosta [Sat, 21 Dec 2002 19:07:54 +0000 (19:07 -0000)]
Added cs0163.cs test error.

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

21 years agoAdded cs0161.cs test file.
Alejandro Sánchez Acosta [Sat, 21 Dec 2002 18:59:18 +0000 (18:59 -0000)]
Added cs0161.cs test file.

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

21 years ago2002-12-21 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 21 Dec 2002 14:15:43 +0000 (14:15 -0000)]
2002-12-21  Nick Drochak <ndrochak@gol.com>

* all: make tests build and run under nunit2

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

21 years agoNeeded to build test dll
Nick Drochak [Sat, 21 Dec 2002 14:13:26 +0000 (14:13 -0000)]
Needed to build test dll

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

21 years ago2002-12-21 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 21 Dec 2002 13:29:25 +0000 (13:29 -0000)]
2002-12-21  Nick Drochak  <ndrochak@gol.com>

        * AllTests2.cs: Helper file for unit tests

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

21 years agoFix build breakers.
Paolo Molaro [Sat, 21 Dec 2002 13:25:30 +0000 (13:25 -0000)]
Fix build breakers.

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

21 years ago2002-12-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 21 Dec 2002 08:17:00 +0000 (08:17 -0000)]
2002-12-21  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: Small fix to the parser: compute the ascii
number before adding it.

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

21 years agoRevert
Miguel de Icaza [Sat, 21 Dec 2002 08:06:25 +0000 (08:06 -0000)]
Revert

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

21 years agoAdded files for Lluis.
Miguel de Icaza [Sat, 21 Dec 2002 08:03:06 +0000 (08:03 -0000)]
Added files for Lluis.

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

21 years ago2002-12-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 21 Dec 2002 07:58:55 +0000 (07:58 -0000)]
2002-12-21  Miguel de Icaza  <miguel@ximian.com>

* object.h: Small change, introduce MonoMarshalByRefObject to
track the layout of that structure in the C# universe as we make
changes there.

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

21 years ago2002-12-21 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sat, 21 Dec 2002 07:27:52 +0000 (07:27 -0000)]
2002-12-21  Ravi Pratap  <ravi@ximian.com>

* ecore.cs (StandardImplicitConversion): When in an unsafe
context, we allow conversion between void * to any other pointer
type. This fixes bug #35973.

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

21 years ago2002-12-21 Ravi Pratap <ravi@ximain.com>
Ravi Pratap M [Sat, 21 Dec 2002 07:25:18 +0000 (07:25 -0000)]
2002-12-21  Ravi Pratap  <ravi@ximain.com>

* test-171.cs : This was mysteriously absent. Add new test in its
place.

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

21 years agoNew/Updated test cases. Fixed TraceTest so that it isn't causing test
Jonathan Pryor [Sat, 21 Dec 2002 03:50:07 +0000 (03:50 -0000)]
New/Updated test cases.  Fixed TraceTest so that it isn't causing test
failures anymore.  Added SwitchesTest (to test switches) and
DiagnosticsConfigurationHandler to test .config file handling.

Issues: while the DiagnosticsConfigurationHandlerTest is reasonably
self-contained, SwitchesTest is not.  To properly test switches, we need a
.exe and a .exe.config file.  The needed .exe.config file that SwitchesTest
depends on is present in `test-config-file', but I'm unsure where to place it
(much less what to name it).

Additionally, SwitchesTest generates test failures at this time, principally
because of the lack of .config file support in the test system.

Finally, makefile.gnu & system_linux_test.args was changed to use the newly
added tests and to reference System.Xml.dll, which is used by
DiagnosticsConfigurationHandlerTest.

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

21 years agoDiagnosticsConfigurationHandler.cs:
Jonathan Pryor [Sat, 21 Dec 2002 03:38:12 +0000 (03:38 -0000)]
DiagnosticsConfigurationHandler.cs:
  Don't assume that optional attributes are always present
  <assert/> can't have any child nodes
  Change in semantics: if the attribute isn't present, GetAttribute()
    returns null, not "".  This allows us to differentiate between an attribute
    not being present and an attribute with an empty value.
  Translate exceptions if a TraceListener type is invalid

ChangeLog: Update for the previous changes I forgot to record

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

21 years agoFix from Matt Kunze to add the other Process.Start overloads
Miguel de Icaza [Sat, 21 Dec 2002 00:14:16 +0000 (00:14 -0000)]
Fix from Matt Kunze to add the other Process.Start overloads

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

21 years ago2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 20 Dec 2002 18:13:32 +0000 (18:13 -0000)]
2002-12-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlTextWriterTests.cs (TestAttributeNamespacesXmlnsXmlns):
fixed bug in the testcase (in relation to JD Conley's patch).

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

21 years ago2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 20 Dec 2002 18:12:54 +0000 (18:12 -0000)]
2002-12-21  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
patch by JD Conley <jconley@winfessor.com>.
(Fix for xmlns attribute output.)

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

21 years ago2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 13:49:48 +0000 (13:49 -0000)]
2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpCookie.cs: send 'expires' in the header.
* System.Web.Security/FormsAuthenticationModule.cs: remove debug lines.
* System.Web.UI/BaseParser.cs: a couple of path fixes to make it work
when the page is not in the root directory.
* System.Web.Util/UrlUtils.cs: fixed IsRelativeUrl and IsRootUrl.

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

21 years agoUse Path.GetFileNameWithoutExtension so an exception is not thrown when extensionless...
Jackson Harper [Fri, 20 Dec 2002 09:12:11 +0000 (09:12 -0000)]
Use Path.GetFileNameWithoutExtension so an exception is not thrown when extensionless outputs are used

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

21 years agoCopy constructor does not attempt to merge if it recieves a null ref
Jackson Harper [Fri, 20 Dec 2002 08:58:03 +0000 (08:58 -0000)]
Copy constructor does not attempt to merge if it recieves a null ref

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

21 years ago2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 08:22:50 +0000 (08:22 -0000)]
2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* regex.cs: fixed little mistake (closes #35860).

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

21 years agocheck the _controls is not null
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 06:50:35 +0000 (06:50 -0000)]
check the _controls is not null

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

21 years ago2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 04:07:50 +0000 (04:07 -0000)]
2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* rootcontext.cs: fixed compilation of corlib.

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

21 years ago2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 01:38:56 +0000 (01:38 -0000)]
2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* LinkLabel.cs:
* ListView.cs: fixed the build with csc.

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

21 years ago2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 01:16:28 +0000 (01:16 -0000)]
2002-12-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
reporting the bug.

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

21 years agoIndentLevel and IndentSize shouldn't be hardcoded; they should be set to
Jonathan Pryor [Fri, 20 Dec 2002 00:04:00 +0000 (00:04 -0000)]
IndentLevel and IndentSize shouldn't be hardcoded; they should be set to
whatever TraceImpl is using (which in turn may have been set by the .config
file, so we should get the user-specified values in added listeners).

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

21 years ago* TraceListener.cs: Make sure that indents are initially written. This allows
Jonathan Pryor [Thu, 19 Dec 2002 23:36:00 +0000 (23:36 -0000)]
* TraceListener.cs: Make sure that indents are initially written.  This allows
  code that uses Trace.Indent() before a Trace.WriteLine() to be indented
  properly.
* TraceImpl.cs: provide a static constructor to explicitly specify the
  ordering of initialization, in particular the ordering of
  TraceImpl.Listeners and the reading of the .config file (by accessing
  DiagnosticsConfiguration.Settings).  This (hopefully) ensures that the
  Listeners collection is initialized before the .config file is read in, as
  the DiagnosticsConfigurationHandler will directly modify the listeners
  collection.
  The DiagnosticsConfigurationHandler assumes this so that it can <add/> and
  <remove/> trace listeners and set the logfile for the DefaultTraceListener.

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

21 years ago2002-12-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 19 Dec 2002 22:31:34 +0000 (22:31 -0000)]
2002-12-19  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs (Attributes.Contains): Add new method.

* class.cs (MethodCore.LabelParameters): if the parameter is an
`out' parameter, check that no attribute `[In]' has been passed.

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

21 years agoupdate
Miguel de Icaza [Thu, 19 Dec 2002 22:08:46 +0000 (22:08 -0000)]
update

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

21 years agoFix the test
Miguel de Icaza [Thu, 19 Dec 2002 22:04:24 +0000 (22:04 -0000)]
Fix the test

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

21 years agoAdded file cs0230.cs
César Natarén [Thu, 19 Dec 2002 21:56:08 +0000 (21:56 -0000)]
Added file cs0230.cs

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

21 years ago2002-12-14 Jaroslaw Kowalski <jarek@atm.com.pl>
Miguel de Icaza [Thu, 19 Dec 2002 21:21:58 +0000 (21:21 -0000)]
2002-12-14  Jaroslaw Kowalski <jarek@atm.com.pl>

* decl.cs: Added special case to allow overrides on "protected
internal" methods

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

21 years agoAdded file cs0225.cs
César Natarén [Thu, 19 Dec 2002 21:09:35 +0000 (21:09 -0000)]
Added file cs0225.cs

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

21 years agoMinor changes
Marco Ridoni [Thu, 19 Dec 2002 20:57:05 +0000 (20:57 -0000)]
Minor changes

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

21 years agomonir tweaks
Dennis Hayes [Thu, 19 Dec 2002 20:46:21 +0000 (20:46 -0000)]
monir tweaks

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

21 years agoA few fixes to make properties work properly (not totally fixed yet)
Marco Ridoni [Thu, 19 Dec 2002 20:41:20 +0000 (20:41 -0000)]
A few fixes to make properties work properly (not totally fixed yet)

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

21 years ago2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Thu, 19 Dec 2002 20:14:13 +0000 (20:14 -0000)]
2002-12-19  Ville Palo <vi64pa@koti.soon.fi>

* DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema

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

21 years agoApplicationName and AplicationID implemented.
Jaime Anguiano Olarra [Thu, 19 Dec 2002 18:37:24 +0000 (18:37 -0000)]
ApplicationName and AplicationID implemented.

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

21 years agoAdded the Gtk# intro page.
Jaime Anguiano Olarra [Thu, 19 Dec 2002 18:07:57 +0000 (18:07 -0000)]
Added the Gtk# intro page.

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

21 years agoAdded a custom Gtk# introduction.
Jaime Anguiano Olarra [Thu, 19 Dec 2002 18:02:15 +0000 (18:02 -0000)]
Added a custom Gtk# introduction.

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

21 years agoThu Dec 19 18:31:54 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 19 Dec 2002 17:34:29 +0000 (17:34 -0000)]
Thu Dec 19 18:31:54 CET 2002 Paolo Molaro <lupus@ximian.com>

* jit.c: fix LDELEMA implementation here as well.

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

21 years ago2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 19 Dec 2002 17:29:27 +0000 (17:29 -0000)]
2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpValueCollection.cs: patch from Botjan Vizin
<bostjan.vizin@siol.net> that implements ToString (bool).

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

21 years agoThu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 19 Dec 2002 15:46:00 +0000 (15:46 -0000)]
Thu Dec 19 16:43:19 CET 2002 Paolo Molaro <lupus@ximian.com>

* MonoMethod.cs, ParameterInfo.cs: return a custom attribute
provider for the return type of a method.

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

21 years agoThu Dec 19 16:23:19 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 19 Dec 2002 15:26:08 +0000 (15:26 -0000)]
Thu Dec 19 16:23:19 CET 2002 Paolo Molaro <lupus@ximian.com>

* object.c: removed assert to allow static fields on interfaces.
* loader.c: a TypeSpec may be used for any type, not just arrays.

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

21 years agoThu Dec 19 14:19:42 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 19 Dec 2002 13:22:53 +0000 (13:22 -0000)]
Thu Dec 19 14:19:42 CET 2002 Paolo Molaro <lupus@ximian.com>

* class.c, class.h: added mono_class_array_element_size ().
Ignore static methods in interfaces.

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

21 years agoSome minor changes
Marco Ridoni [Thu, 19 Dec 2002 12:28:03 +0000 (12:28 -0000)]
Some minor changes

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

21 years agoInvocation.DoResolve was modified to accomodate Properties with
Marco Ridoni [Thu, 19 Dec 2002 12:03:04 +0000 (12:03 -0000)]
Invocation.DoResolve was modified to accomodate Properties with
parameters (which still need a bit of work)

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

21 years ago2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 19 Dec 2002 05:26:58 +0000 (05:26 -0000)]
2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Configuration/AuthConfig.cs: LoginUrl defaults to login.aspx.
* System.Web.Security/FormsAuthentication.cs: return a null ticket when
an exception is thrown creating it. Implemented RenewTicketIfOld.

* System.Web.Security/FormsAuthenticationModule.cs: implemented event
handlers for AuthenticateRequest and EndRequest.
* System.Web.Security/FormsAuthenticationTicket.cs: implemented
SetDates and Clone methods.

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

21 years ago2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 19 Dec 2002 05:16:32 +0000 (05:16 -0000)]
2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DateTime.cs: fixed bug #30076.
* TimeZone.cs: provide the parameter name in a exception.

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

21 years ago2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 19 Dec 2002 04:20:28 +0000 (04:20 -0000)]
2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspGenerator.cs: generate code like 'control.XXX = value' also for
public fields (properties were being handled in that way too).

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

21 years ago2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 19 Dec 2002 02:26:39 +0000 (02:26 -0000)]
2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threads.c: fixed the build under cygwin.

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

21 years ago2002-12-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 19 Dec 2002 01:50:06 +0000 (01:50 -0000)]
2002-12-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ConfigXmlDocument.cs: don't jump over the first element.
* ConfigurationSettings.cs: pass doc.DocumentElement instead of doc.

This used to work until i tried to access one attribute of the first
element and realized that the element was not the expected!
This change does not affect the configuration handlers that only use
ChildNodes property on the XmlNode they get as argument.

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

21 years agoAdded file cs0201.cs
César Natarén [Thu, 19 Dec 2002 01:46:52 +0000 (01:46 -0000)]
Added file cs0201.cs

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

21 years agoAdded test for error CS0201.
César Natarén [Thu, 19 Dec 2002 01:35:45 +0000 (01:35 -0000)]
Added test for error CS0201.

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

21 years ago2002-12-18 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 19 Dec 2002 00:44:23 +0000 (00:44 -0000)]
2002-12-18  Ravi Pratap  <ravi@ximian.com>

* attribute.cs (Attributes.AddAttributeSection): Rename to this
since it makes much more sense.

(Attributes.ctor): Don't require a Location parameter.

* rootcontext.cs (AddGlobalAttributeSection): Rename again.

* attribute.cs (ApplyAttributes): Remove extra Location parameters
since we already have that information per attribute.

* everywhere : make appropriate changes.

* class.cs (LabelParameters): Write the code which actually
applies attributes to the return type. We can't do this on the MS
.NET runtime so we flag a warning in the case an exception is
thrown.

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

21 years agoAdd test 176 to the usual suite. Wonder why it wasnt there.
Ravi Pratap M [Thu, 19 Dec 2002 00:39:05 +0000 (00:39 -0000)]
Add test 176 to the usual suite. Wonder why it wasnt there.

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

21 years agotest-177 goes into NO_PASS for now
Ravi Pratap M [Thu, 19 Dec 2002 00:36:07 +0000 (00:36 -0000)]
test-177 goes into NO_PASS for now

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

21 years ago2002-12-18 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 19 Dec 2002 00:35:31 +0000 (00:35 -0000)]
2002-12-18  Ravi Pratap  <ravi@ximian.com>

* test-177.cs : Add. This doesn't pass yet because we don't have
ReturnTypeCustomAttributes working.

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

21 years ago2002-12-18 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 19 Dec 2002 00:23:25 +0000 (00:23 -0000)]
2002-12-18  Ravi Pratap  <ravi@ximian.com>

* errors.txt : Update for error # -24.

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

21 years agoThu Dec 19 00:06:57 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 18 Dec 2002 23:09:09 +0000 (23:09 -0000)]
Thu Dec 19 00:06:57 CET 2002 Paolo Molaro <lupus@ximian.com>

* AssemblyBuilder.cs: remove duplicated user string entries.

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

21 years ago2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Wed, 18 Dec 2002 19:48:44 +0000 (19:48 -0000)]
2002-12-18  Ville Palo <vi64pa@koti.soon.fi>

* DataSet.cs: Started to implement ReadXml-methods.

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

21 years ago2002-12-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 18 Dec 2002 19:32:36 +0000 (19:32 -0000)]
2002-12-18  Miguel de Icaza  <miguel@ximian.com>

* const.cs: Handle implicit null conversions here too.

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

21 years ago2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 18 Dec 2002 19:01:27 +0000 (19:01 -0000)]
2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: moved struct tm field tm_gmtoff check before the check
for timezone global variable. This makes Timezone work for me (debian
sid, linux, x86, which has both the field and the global variables).

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

21 years agoWed Dec 18 18:43:47 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 18 Dec 2002 17:46:17 +0000 (17:46 -0000)]
Wed Dec 18 18:43:47 CET 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: handle nullref constants. Allocate keys for
reflection handles with the GC.

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

21 years agoSwitches (Boolean & Trace) should be working now. Behavior of user-provided
Jonathan Pryor [Wed, 18 Dec 2002 16:01:09 +0000 (16:01 -0000)]
Switches (Boolean & Trace) should be working now.  Behavior of user-provided
Switch derived classes should match that of .NET.

Go forth and use Swiches! ;-)

ChangeLog:
  * BooleanSwitch.cs: Complete re-write.  It works now.
  * DefaultTraceListener.cs:
    - Use `const' strings, so I don't worry about copy/paste errors
    - Give `AssertUiEnabled' an actual backing member
  * DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
    configuration handler set .config-specified properties on
    DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
    (AutoFlush, IndentSize).
  * Switch.cs: Near complete re-write.  Actually works, and is (should be)
    comformant with .NET behavior.  Changed member names because they were
    confusing me.  (Yes, that doesn't say much about my memory.)
  * TextWriterTraceListener.cs: Append text to already existing files, don't
    overwrite them.
  * TraceImpl.cs:
    - Added private destructor, to ensure no instances are created.
    - Move members declarations to be closer to each other.
  * TraceSwitch.cs: Complete re-write.  It works now.

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

21 years agoWed Dec 18 11:42:58 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 18 Dec 2002 10:45:15 +0000 (10:45 -0000)]
Wed Dec 18 11:42:58 CET 2002 Paolo Molaro <lupus@ximian.com>

* jit.c: handle CEE_CONV_OVF_U8_UN like CEE_CONV_OVF_I8_UN.

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

21 years agoWed Dec 18 11:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 18 Dec 2002 10:38:17 +0000 (10:38 -0000)]
Wed Dec 18 11:36:04 CET 2002 Paolo Molaro <lupus@ximian.com>

jit.c: query the thread abort signal from the runtime.

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

21 years agoWed Dec 18 11:34:18 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 18 Dec 2002 10:37:26 +0000 (10:37 -0000)]
Wed Dec 18 11:34:18 CET 2002 Paolo Molaro <lupus@ximian.com>

* threads.c, threads.h: added mono_thread_get_abort_signal()
to get a suitable signal for thread abort.

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

21 years agoWed Dec 18 11:26:18 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 18 Dec 2002 10:28:25 +0000 (10:28 -0000)]
Wed Dec 18 11:26:18 CET 2002 Paolo Molaro <lupus@ximian.com>

* metadata.c: fix handling of ExportedType table.

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

21 years ago2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 18 Dec 2002 03:28:02 +0000 (03:28 -0000)]
2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: implemented GetAuthCookie, SetAuthCookie,
SignOut, FormsCookieName and FormsCookiePath.

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

21 years agoremoved some 'extras'
Dennis Hayes [Wed, 18 Dec 2002 02:52:17 +0000 (02:52 -0000)]
removed some 'extras'

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

21 years agomore menu implmentation
Dennis Hayes [Wed, 18 Dec 2002 02:30:02 +0000 (02:30 -0000)]
more menu implmentation

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

21 years agoupdated menutest
Dennis Hayes [Wed, 18 Dec 2002 02:25:16 +0000 (02:25 -0000)]
updated menutest

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

21 years agoadded new api function
Dennis Hayes [Wed, 18 Dec 2002 02:19:56 +0000 (02:19 -0000)]
added new api function

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

21 years ago2002-12-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 18 Dec 2002 02:17:17 +0000 (02:17 -0000)]
2002-12-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpApplicationFactory.cs: add the context as parameter
when building the application Type.

* System.Web/HttpCookie.cs: new internal constructor.
* System.Web/HttpCookieCollection.cs: new internal method to make a
cookie expire.

* System.Web/HttpRequest.cs: MapPath fixes.
* System.Web/HttpResponse.cs: implemented ApplyAppPathModifier.
* System.Web/HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
* System.Web.Compilation/AspGenerator.cs: now it uses the current
HttpContext when creating user controls. TemplateSourceDirectory is no
longer a dummy value.

* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/UserControlCompiler.cs: set the context which
will be used to locate the files.

* System.Web.UI/BaseParser.cs: use MapPath and context to locate files.
* System.Web.UI/Control.cs: implemented MapPathSecure.
* System.Web.UI/TemplateControl.cs: use UrlUtils to generate the path.
* System.Web.UI/TemplateControlParser.cs: use the context and MapPath.
* System.Web.UI/UserControl.cs: implemented MapPath.
* System.Web.UI/UserControlParser.cs: added context parameter to
constructor.
* System.Web.Util/PathUtil.cs: removed.
* System.Web.Util/UrlUtils.cs: fixed Combine to handle '~'.

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

21 years ago2002-12-17 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Tue, 17 Dec 2002 23:36:20 +0000 (23:36 -0000)]
2002-12-17  Ravi Pratap  <ravi@ximian.com>

* class.cs (MethodCore.LabelParameters): Remove the extra
Type [] parameter since it is completely unnecessary. Instead
pass in the method's attributes so that we can extract
the "return" attribute.

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

21 years agoReformat to comply with Mono coding standards.
Jonathan Pryor [Tue, 17 Dec 2002 22:10:50 +0000 (22:10 -0000)]
Reformat to comply with Mono coding standards.

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

21 years agoAdd <system.diagnostics/> to the available .config file sections.
Jonathan Pryor [Tue, 17 Dec 2002 21:50:54 +0000 (21:50 -0000)]
Add <system.diagnostics/> to the available .config file sections.

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