mono.git
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

21 years agoImplement DiagnosticsConfigurationHandler, so that .config files can contain
Jonathan Pryor [Tue, 17 Dec 2002 21:42:08 +0000 (21:42 -0000)]
Implement DiagnosticsConfigurationHandler, so that .config files can contain
<system.diagnostics/> configuration sections.

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

21 years agoAdded new mcs test error cs0154.cs
Alejandro Sánchez Acosta [Tue, 17 Dec 2002 17:51:26 +0000 (17:51 -0000)]
Added new mcs test error cs0154.cs

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

21 years agonew test sample
Alejandro Sánchez Acosta [Tue, 17 Dec 2002 17:40:08 +0000 (17:40 -0000)]
new test sample

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

21 years agonew sample test error cs0138.cs
Alejandro Sánchez Acosta [Tue, 17 Dec 2002 17:38:41 +0000 (17:38 -0000)]
new sample test error cs0138.cs

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

21 years ago2002-12-17 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Tue, 17 Dec 2002 16:05:38 +0000 (16:05 -0000)]
2002-12-17  Ville Palo <vi64pa@koti.soon.fi>

* region.xml:
* store.xsd: new xmldoment and xmlschema for testing DataSet
* DataSetTest.cs: Added some Xml-tests.
* AllTests.cs: Added DataSetTest

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

21 years agoProperties implemented. Property paramters still don't work.
Marco Ridoni [Tue, 17 Dec 2002 13:24:41 +0000 (13:24 -0000)]
Properties implemented. Property paramters still don't work.

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

21 years agoImplemented an overloaded method for EmitTopBlock which is called by
Marco Ridoni [Tue, 17 Dec 2002 13:23:38 +0000 (13:23 -0000)]
Implemented an overloaded method for EmitTopBlock which is called by
MethodData.Emit and specifies the function name (needed to get the return
value)

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

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

* cs-parser.jay (parse): Use Report.Error to flag errors instead
of ignoring it and letting the compile continue.

* typemanager.cs (ChangeType): use an extra argument to return an
error condition instead of throwing an exception.

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

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

* BaseValidator.cs: return an empty string in GetControlValidationValue
when GetValue returned null.

* CompareValidator.cs: fixed EvaluateIsValid.

* RegularExpressionValidator.cs: fixed EvaluateIsValid.

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

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

* Xml.cs: use MapPathSecure to get the path of the document.

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

21 years ago2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 17 Dec 2002 04:47:08 +0000 (04:47 -0000)]
2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Control.cs: implemented MapPathSecure.
* Page.cs: fixed Server property.

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

21 years ago2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 17 Dec 2002 04:44:49 +0000 (04:44 -0000)]
2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: implemented Authenticate, unencrypted Encrypt
and Decrypt, HashPasswordForStoringInConfigFile and Initialize.

* FormsAuthenticationTicket.cs: set cookiePath to the default when no
other provided.

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

21 years agoupdated list file
Gonzalo Paniagua Javier [Tue, 17 Dec 2002 04:41:15 +0000 (04:41 -0000)]
updated list file

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

21 years ago2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 17 Dec 2002 04:40:13 +0000 (04:40 -0000)]
2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AuthConfig.cs:
* AuthenticationConfigHandler.cs: handler and helper class for
system.web/authentication configuration section.

* HttpHandlersSectionHandler.cs: check for null in attributes.

* MachineKeyConfig.cs:
* MachineKeyConfigHandler.cs: handler and helper class for
system.web/machineKey tag.

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

21 years agoforgot to add this from a while back
Nick Drochak [Tue, 17 Dec 2002 04:34:38 +0000 (04:34 -0000)]
forgot to add this from a while back

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

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

* HttpContext.cs: hack to create a default user when there's no one.
Implemented GetConfig (string).

* HttpRequest.cs: fixes to MapPath (string).

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

21 years agoupdated list file
Gonzalo Paniagua Javier [Tue, 17 Dec 2002 04:23:16 +0000 (04:23 -0000)]
updated list file

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

21 years agooops. Typo
Gonzalo Paniagua Javier [Tue, 17 Dec 2002 04:20:48 +0000 (04:20 -0000)]
oops. Typo

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

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

* DataSet.cs: implemented DefaultViewManager and GetList.

* DataViewManager.cs: a bit of work on IList and ITypedList needed by
DataList in System.Web.

* DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
DataViewManager.

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

21 years ago2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 17 Dec 2002 04:15:26 +0000 (04:15 -0000)]
2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* GenericIdentity.cs: check arguments and fixed IsAuthenticated.

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

21 years agonew sections
Gonzalo Paniagua Javier [Tue, 17 Dec 2002 04:13:43 +0000 (04:13 -0000)]
new sections

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

21 years ago2002-12-16 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 17 Dec 2002 04:03:36 +0000 (04:03 -0000)]
2002-12-16  Sebastien Pouliot <spouliot@videotron.ca>

* unix.args: added StrongName.cs, StrongNamePublicKeyBlob.cs
and StrongNameIdentityPermission.cs files.

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

21 years ago2002-12-16 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 17 Dec 2002 04:02:51 +0000 (04:02 -0000)]
2002-12-16  Sebastien Pouliot <spouliot@videotron.ca>

* corlib_linux_test.args: added StrongNamePublicKeyBlob and
StrongName test files.

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

21 years ago2002-12-16 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 17 Dec 2002 04:02:11 +0000 (04:02 -0000)]
2002-12-16  Sebastien Pouliot  <spouliot@videotron.ca>

* AllTests.cs: Added test suites for StrongName.
* StrongNameTest.cs: New. Test suite for StrongName (complete).

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

21 years ago2002-12-16 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 17 Dec 2002 04:01:11 +0000 (04:01 -0000)]
2002-12-16  Sebastien Pouliot  <spouliot@videotron.ca>

* StrongName.cs: New. Implemented.

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

21 years ago2002-12-16 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 17 Dec 2002 03:59:26 +0000 (03:59 -0000)]
2002-12-16  Sebastien Pouliot  <spouliot@videotron.ca>

AllTests.cs: Added StrongNamePublicKeyBlobTest suite.
StrongNamePublicKeyBlobTest.cs: New. Test suite for
StrongNamePublicKeyBlob.

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

21 years ago2002-12-16 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 17 Dec 2002 03:58:11 +0000 (03:58 -0000)]
2002-12-16  Sebastien Pouliot  <spouliot@videotron.ca>

* StrongNamePublicKeyBlob.cs: New. Implemented.
* StrongNameIdentityPermission.cs. New. Stubbed (required
for StrongName class).

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