mono.git
21 years agoMove files here
Miguel de Icaza [Sun, 14 Jul 2002 00:30:50 +0000 (00:30 -0000)]
Move files here

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

21 years agoRemove files from here
Miguel de Icaza [Sun, 14 Jul 2002 00:30:15 +0000 (00:30 -0000)]
Remove files from here

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

21 years agoMore docs
Miguel de Icaza [Sun, 14 Jul 2002 00:28:44 +0000 (00:28 -0000)]
More docs

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

21 years ago2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 23:07:22 +0000 (23:07 -0000)]
2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListControl.cs: fixed a couple of range checks.
* WebControl.cs: MS lies! Not all WebControls must be rendered inside
an HtmlForm (p.e., Label).

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

21 years agoFixed compilation.
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 22:32:37 +0000 (22:32 -0000)]
Fixed compilation.

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

21 years ago2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 22:25:17 +0000 (22:25 -0000)]
2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ToolboxItemAttribute.cs: New file.

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

21 years ago * ResourcePermissionBase.cs: Stubbed out
Jonathan Pryor [Sat, 13 Jul 2002 19:03:32 +0000 (19:03 -0000)]
* ResourcePermissionBase.cs: Stubbed out
* ResourcePermissionBaseEntry.cs: Implemented.

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

21 years ago2002-07-13 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 19:01:12 +0000 (19:01 -0000)]
2002-07-13  Gonzalo Paniagua Javier <gonzalo@gnome-db.org>

* reflection.[ch]:
(mono_reflection_type_from_name): now it has a MonoImage parameter
which is used as the default image to search the type in. If the image
is NULL or getting the type from it fails, it defaults to corlib.

* icall.c: changed 1 call to mono_reflection_type_from_name to match
new parameter.

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

21 years agoAdded new assembly to build, System.Configurations.Install.dll.
Jonathan Pryor [Sat, 13 Jul 2002 18:59:33 +0000 (18:59 -0000)]
Added new assembly to build, System.Configurations.Install.dll.

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

21 years agoAdded new assembly (System.Configuration.Install.dll).
Jonathan Pryor [Sat, 13 Jul 2002 18:58:23 +0000 (18:58 -0000)]
Added new assembly (System.Configuration.Install.dll).

Currently the only class I've seen that belongs here is
System.Configuration.Install.UninstallAction, but there are sure to be more.

Set up NAnt build files to build System.Configuration.Install.Dll, Test cases.

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

21 years ago* Implemented Type.GetMethod (string) overload. This is a kludge until GetMethodImpl...
Adam Treat [Sat, 13 Jul 2002 18:48:47 +0000 (18:48 -0000)]
* Implemented Type.GetMethod (string) overload.  This is a kludge until GetMethodImpl is working ;-)

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

21 years ago* Implemented CreateDelegate and stubbed out some overloads
Adam Treat [Sat, 13 Jul 2002 18:47:48 +0000 (18:47 -0000)]
* Implemented CreateDelegate and stubbed out some overloads

* Fixed DynamicInvokeImpl

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

21 years ago* Added a test case for System.Delegate.CreateDelegate()
Adam Treat [Sat, 13 Jul 2002 18:46:16 +0000 (18:46 -0000)]
* Added a test case for System.Delegate.CreateDelegate()

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

21 years ago* Created icall ves_delegate_createdelegate using ldftn opcode.
Adam Treat [Sat, 13 Jul 2002 18:45:04 +0000 (18:45 -0000)]
* Created icall ves_delegate_createdelegate using ldftn opcode.

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

21 years ago* Created icall ves_delegate_createdelegate using the ldftn opcode.
Adam Treat [Sat, 13 Jul 2002 18:44:07 +0000 (18:44 -0000)]
* Created icall ves_delegate_createdelegate using the ldftn opcode.

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

21 years ago * ChangeLog: Updated
Jonathan Pryor [Sat, 13 Jul 2002 18:39:23 +0000 (18:39 -0000)]
* ChangeLog: Updated
* class.xml: Added classes added to System.Diagnostics

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

21 years agoUpdates.
Jonathan Pryor [Sat, 13 Jul 2002 18:36:40 +0000 (18:36 -0000)]
Updates.

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

21 years ago * CounterCreationData.cs: Implemented
Jonathan Pryor [Sat, 13 Jul 2002 18:36:20 +0000 (18:36 -0000)]
* CounterCreationData.cs: Implemented
* CounterCreationDataCollection.cs: Implemented
* CounterSample.cs: Stubbed Out
* CounterSampleCalculator.cs: Stubbed Out
* InstanceData.cs: Implemented
* InstanceDataCollection.cs: Implemented
* InstanceDataCollectionCollection.cs: Implemented
* MonitoringDescriptionAttribute.cs: Implemented
* PerformanceCounter.cs: Stubbed Out
* PerformanceCounterCategory.cs: Stubbed Out
* PerformanceCounterInstaller.cs: Stubbed Out
* PerformanceCounterManager.cs: Stubbed Out
* PerformanceCounterPermission.cs: Stubbed Out
* PerformanceCounterPermissionAccess.cs: Implemented
* PerformanceCounterPermissionAttribute.cs: Stubbed Out
* PerformanceCounterPermissionEntry.cs: Stubbed Out
* PerformanceCounterPermissionEntryCollection.cs: Implemented
* PerformanceCounterType.cs: Implemented

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

21 years ago2002-07-12 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sat, 13 Jul 2002 18:31:19 +0000 (18:31 -0000)]
2002-07-12  Rodrigo Moya <rodrigo@ximian.com>

* list: added System.Data.OleDb files to file list.

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

21 years ago2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 18:06:04 +0000 (18:06 -0000)]
2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ControlBuilderAttribute.cs: finished implementation.

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

21 years agoSat Jul 13 19:54:56 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 17:56:35 +0000 (17:56 -0000)]
Sat Jul 13 19:54:56 CEST 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: advance ip in conv.r.un.

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

21 years agoSat Jul 13 19:38:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 17:39:59 +0000 (17:39 -0000)]
Sat Jul 13 19:38:03 CEST 2002 Paolo Molaro <lupus@ximian.com>

* expression.cs: check against the building corlib void type.

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

21 years agoSat Jul 13 19:35:58 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 17:38:52 +0000 (17:38 -0000)]
Sat Jul 13 19:35:58 CEST 2002 Paolo Molaro <lupus@ximian.com>

* ecore.cs: fix for valuetype static readonly fields: when
initializing them, we need their address, not the address of a copy.

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

21 years agoSat Jul 13 19:32:19 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 17:34:10 +0000 (17:34 -0000)]
Sat Jul 13 19:32:19 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: update the parameter table index.

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

21 years agoSat Jul 13 17:34:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 15:36:08 +0000 (15:36 -0000)]
Sat Jul 13 17:34:23 CEST 2002 Paolo Molaro <lupus@ximian.com>

* domain.c: don't include the mark byte in the string hash.

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

21 years agoSat Jul 13 17:32:53 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 15:34:52 +0000 (15:34 -0000)]
Sat Jul 13 17:32:53 CEST 2002 Paolo Molaro <lupus@ximian.com>

* typemanager.cs: register also enum_type in corlib.

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

21 years agoSat Jul 13 17:30:51 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 15:32:57 +0000 (15:32 -0000)]
Sat Jul 13 17:30:51 CEST 2002 Paolo Molaro <lupus@ximian.com>

* AssemblyBuilder.cs: add also the enum_type for compiling corlib.
* TypeBuilder.cs: complete IsValueType.

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

21 years ago2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 14:30:40 +0000 (14:30 -0000)]
2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* String.cs: make ToLower (culture) and ToUpper (culture) use the
default ToLower and ToUpper and don't throw NotImplemented.

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

21 years agoSat Jul 13 15:59:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 14:01:35 +0000 (14:01 -0000)]
Sat Jul 13 15:59:47 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.cs: allow calling this (but not base) initializers in structs.

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

21 years ago2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 13:39:39 +0000 (13:39 -0000)]
2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DefaultEventAttribute.cs: new file.

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

21 years agoSat Jul 13 15:12:06 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 13:14:27 +0000 (13:14 -0000)]
Sat Jul 13 15:12:06 CEST 2002 Paolo Molaro <lupus@ximian.com>

* ecore.cs: make sure we compare against the building base types
in GetTypeSize ().

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

21 years agoSat Jul 13 15:10:32 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 13:12:56 +0000 (13:12 -0000)]
Sat Jul 13 15:10:32 CEST 2002 Paolo Molaro <lupus@ximian.com>

* typemanager.cs: fix TypeToCoreType() to handle void and object
(corlib gets no more typerefs after this change).

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

21 years agoSat Jul 13 15:08:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 13:11:01 +0000 (13:11 -0000)]
Sat Jul 13 15:08:12 CEST 2002 Paolo Molaro <lupus@ximian.com>

* TypeBuilder.cs: better IsValueType.

Sat Jul 13 15:09:01 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Type.cs: make GettTypeCode an icall. Test implementation of
GetMember().

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

21 years agoSat Jul 13 15:06:23 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 13 Jul 2002 13:08:26 +0000 (13:08 -0000)]
Sat Jul 13 15:06:23 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.cs: icall for Type.GetTypeCode ().
* verify: a couple of fixes and disabled local initialization checks.

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

21 years ago2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 02:21:16 +0000 (02:21 -0000)]
2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CustomAttributeBuilder.cs: removed compile warning.

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

21 years ago2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 02:19:31 +0000 (02:19 -0000)]
2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* StringBuilder.cs: updated comments. MaxCapacity always returns
Int32.MaxValue.

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

21 years ago2002-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 02:17:04 +0000 (02:17 -0000)]
2002-07-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AppDomainSetup.cs: implemented LoaderOptimization.

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

21 years ago2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 02:13:16 +0000 (02:13 -0000)]
2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AttributeCollection.cs: fixlet.

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

21 years ago2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 13 Jul 2002 02:07:57 +0000 (02:07 -0000)]
2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list: added some more files from System.Web.Hosting.

* System.Web.UI/ConstructorNeedsTagAttribute.cs: the default
constructor sets the property to false.

* System.Web.UI.HtmlControls/HtmlGenericControl.cs: fixed TagName
signature and get/set.

* System.Web.UI.HtmlControls/HtmlInputImage.cs: added attribute and
fixed signature of ServerClick.

* System.Web.UI.HtmlControls/HtmlInputText.cs: added attribute.

* System.Web.UI.WebControls/AdRotator.cs:
* System.Web.UI.WebControls/Button.cs:
* System.Web.UI.WebControls/Calendar.cs:
* System.Web.UI.WebControls/CheckBox.cs:
* System.Web.UI.WebControls/CheckBoxList.cs:
* System.Web.UI.WebControls/DataList.cs:
* System.Web.UI.WebControls/DropDownList.cs:
* System.Web.UI.WebControls/HyperLink.cs:
* System.Web.UI.WebControls/HyperLinkColumn.cs:
* System.Web.UI.WebControls/Image.cs:
* System.Web.UI.WebControls/ImageButton.cs:
* System.Web.UI.WebControls/Label.cs:
* System.Web.UI.WebControls/LinkButton.cs:
* System.Web.UI.WebControls/ListBox.cs:
* System.Web.UI.WebControls/Panel.cs:
* System.Web.UI.WebControls/PlaceHolder.cs:
* System.Web.UI.WebControls/RadioButton.cs:
* System.Web.UI.WebControls/RadioButtonList.cs:
* System.Web.UI.WebControls/Table.cs:
* System.Web.UI.WebControls/TableRow.cs:
* System.Web.UI.WebControls/TextBox.cs:
* System.Web.UI.WebControls/WebControl.cs: removed attributes
added by mistake (i used GetCustomAttributes (true), d'oh!).

* System.Web.UI.WebControls/DataListItem.cs: implemented RenderItem.

* System.Web.UI.WebControls/Repeater.cs: implemented CreateItem and
InitializeItem.

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

21 years ago2002-07-12 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 12 Jul 2002 23:05:54 +0000 (23:05 -0000)]
2002-07-12  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (ArrayCreation.EmitArrayArguments): use
Conv.Ovf.U4 for unsigned and Conv.Ovf.I4 for signed.

(ArrayAccess.LoadArrayAndArguments): Use Conv_Ovf_I and
Conv_Ovf_I_Un for the array arguments.  Even if C# allows longs as
array indexes, the runtime actually forbids them.

* ecore.cs (ExpressionToArrayArgument): Move the conversion code
for array arguments here.

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

21 years agoUpdated.
Jaime Anguiano Olarra [Fri, 12 Jul 2002 21:48:06 +0000 (21:48 -0000)]
Updated.

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

21 years agoAdded the C# Free (GFDL) Spanish tutorial link.
Jaime Anguiano Olarra [Fri, 12 Jul 2002 21:22:35 +0000 (21:22 -0000)]
Added the C# Free (GFDL) Spanish tutorial link.

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

21 years agoChanged "This project would not have been possible with every contribution"
Jaime Anguiano Olarra [Fri, 12 Jul 2002 20:40:33 +0000 (20:40 -0000)]
Changed "This project would not have been possible with every contribution"
to: "This project would not have been possible without every contribution"

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

21 years ago2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 12 Jul 2002 19:19:55 +0000 (19:19 -0000)]
2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.build: removed some more excludes.

* System.Web.Hosting/AppDomainFactory.cs:
* System.Web.Hosting/IAppDomainFactory.cs:
* System.Web.Hosting/IISAPIRuntime.cs:
* System.Web.Hosting/ISAPIRuntime.cs: make them compile.

* System.Web.UI/AttributeCollection.cs: added CssStyleCollection.

* System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
Hashtable. Added internal .ctor.

* System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
Equals and GetHashCode.

* System.Web.UI/DataBoundLiteralControl.cs:
(LoadViewState):
(SaveViewState): implemented.

* System.Web.UI/Page.cs: FileDependencies is not public.

* System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
(GetHashCode):
(Equals):
(IsDefaultAttribute): implemented.

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

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

* expression.cs (EmitLoadOpcode): System.Char is a U2, use that
instead of the default for ValueTypes.

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

21 years ago2002-07-12 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 12 Jul 2002 18:52:29 +0000 (18:52 -0000)]
2002-07-12  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (New.DoEmit): Use IsValueType instead of
IsSubclassOf (value_type)
(New.DoResolve): ditto.
(Invocation.EmitCall): ditto.

* assign.cs (Assign): ditto.

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

21 years ago2002-07-12 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 12 Jul 2002 17:10:33 +0000 (17:10 -0000)]
2002-07-12  Dick Porter  <dick@ximian.com>

* io.c (convert_from_flags): Fixed misunderstanding wrt fcntl
flags.  Fixes bug 27633.

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

21 years ago2002-07-12 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 12 Jul 2002 17:02:11 +0000 (17:02 -0000)]
2002-07-12  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Unsafe): Ok, so I got the semantics wrong.
Statements *are* currently doing part of their resolution during
Emit.

Expressions do always resolve during resolve, but statements are

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

21 years ago2002-07-12 Piers Haken <piersh@friskit.com
Piers Haken [Fri, 12 Jul 2002 16:11:42 +0000 (16:11 -0000)]
2002-07-12  Piers Haken <piersh@friskit.com

* SelectNodesTests.cs: Added TestUnion (bug #27548)

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

21 years agoEnsure that an element's prefix and namespaceURI are String.Empty and not null.
Jason Diamond [Fri, 12 Jul 2002 16:06:55 +0000 (16:06 -0000)]
Ensure that an element's prefix and namespaceURI are String.Empty and not null.

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

21 years ago2002-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 12 Jul 2002 15:58:59 +0000 (15:58 -0000)]
2002-07-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FileStream.cs:
(.ctor): call MonoIO.GetException with the file name.

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

21 years ago2002-07-12 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 12 Jul 2002 14:53:31 +0000 (14:53 -0000)]
2002-07-12  Dick Porter  <dick@ximian.com>

* acconfig.h:
* configure.in: Check the size of sockaddr_un.sun_path

2002-07-12  Dick Porter  <dick@ximian.com>

* wapi-private.h:
* handles.c:
* daemon.c: Use size of sockaddr_un.sun_path from config.h

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

21 years ago2002-07-12 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 12 Jul 2002 13:49:56 +0000 (13:49 -0000)]
2002-07-12  Dick Porter  <dick@ximian.com>

* processes.c (CreateProcess): Send stdin, stdout and stderr
handles if the startup info doesnt specify new ones

* io.c (GetStdHandle): Return the same handle when the same
standard handle is requested

* handles.c: Pass file descriptors when forking

* daemon.c: Use supplied file descriptors when forking a new
process

* daemon-messages.h:
* daemon-messages.c: Pass stdin, stdout and stderr file
descriptors to the daemon (used when forking)

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

21 years agoUpdated the link to the mono-contribution-howto. Changed from
Jaime Anguiano Olarra [Fri, 12 Jul 2002 13:07:55 +0000 (13:07 -0000)]
Updated the link to the mono-contribution-howto. Changed from
"mono-contribution-howto" to "mono-contribution-howto.html".

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

21 years ago2002-07-12 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 12 Jul 2002 12:30:38 +0000 (12:30 -0000)]
2002-07-12  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c: better debugging support (DEBUG_RUNTIME_CODE)

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

21 years agosmall fix
Dietmar Maurer [Fri, 12 Jul 2002 12:00:48 +0000 (12:00 -0000)]
small fix

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

21 years agobetter hash func (mono_signature_hash)
Dietmar Maurer [Fri, 12 Jul 2002 11:59:57 +0000 (11:59 -0000)]
better hash func (mono_signature_hash)

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

21 years ago2002-07-12 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 12 Jul 2002 11:52:24 +0000 (11:52 -0000)]
2002-07-12  Dietmar Maurer  <dietmar@ximian.com>

* debug-helpers.c (mono_method_full_name): print the type of the
runtime wrapper

* metadata.c (mono_signature_hash): better hash algorithm

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

21 years agoHTML-fied and nicely indented so it looks pretty in the web.
Jaime Anguiano Olarra [Fri, 12 Jul 2002 11:27:00 +0000 (11:27 -0000)]
HTML-fied and nicely indented so it looks pretty in the web.

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

21 years ago2002-07-12 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 12 Jul 2002 11:04:33 +0000 (11:04 -0000)]
2002-07-12  Dietmar Maurer  <dietmar@ximian.com>

* metadata.c (mono_signature_hash): a hash function for signatures

* marshal.c (mono_marshal_get_delegate_invoke): cache methods by signature

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

21 years ago2002-07-12 Piers Haken <piersh@friskit.com>
Piers Haken [Fri, 12 Jul 2002 10:52:30 +0000 (10:52 -0000)]
2002-07-12  Piers Haken <piersh@friskit.com>

* Iterator.cs: PredicateIterator: handle numeric predicates
* Parser.jay: add some debugging support: yyparseDebug
* Tokenizer.cs: cleanup, include '-' chars in identifier tokens

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

21 years ago2002-07-12 Piers Haken <piersh@friksit.com>
Piers Haken [Fri, 12 Jul 2002 10:52:08 +0000 (10:52 -0000)]
2002-07-12 Piers Haken <piersh@friksit.com>

* XmlAttributeCollection.cs: implement some ItemOf indexers
* XmlNamedNodeMap.cs: add internal 'Nodes' accessor for the nodeList field
* XmlNode.cs: SelectNodes: return empty XmlNodeList, not null

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

21 years ago2002-07-12 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 12 Jul 2002 10:23:37 +0000 (10:23 -0000)]
2002-07-12  Dietmar Maurer  <dietmar@ximian.com>

* debug-helpers.c (mono_method_full_name): this can now generate
method names with signatures

* marshal.c (mono_marshal_get_managed_wrapper): bug fix: unmanaged
method dont have this pointers.

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

21 years agoFri Jul 12 11:34:58 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Jul 2002 09:40:05 +0000 (09:40 -0000)]
Fri Jul 12 11:34:58 CEST 2002 Paolo Molaro <lupus@ximian.com>

* ILGenerator.cs: fixup typebuilder tokens as well.

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

21 years agoFri Jul 12 11:35:48 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 12 Jul 2002 09:39:51 +0000 (09:39 -0000)]
Fri Jul 12 11:35:48 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: fixup typebuilder tokens.
* image.c: fix buglet.
* marshal.h: remove whitespace.
* metadata.h, metadata.c: reinstate code that was removed.
* verify.c: handle catch directives and fix another couple of bugs.

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

21 years agoAdded some tests for the SelectNodes method.
Jason Diamond [Fri, 12 Jul 2002 04:07:15 +0000 (04:07 -0000)]
Added some tests for the SelectNodes method.

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

21 years agoOops, fix
Miguel de Icaza [Fri, 12 Jul 2002 02:48:30 +0000 (02:48 -0000)]
Oops, fix

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

21 years agoAlso support CSC -options
Miguel de Icaza [Fri, 12 Jul 2002 02:05:21 +0000 (02:05 -0000)]
Also support CSC -options

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

21 years ago2002-07-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 12 Jul 2002 01:56:52 +0000 (01:56 -0000)]
2002-07-11  Miguel de Icaza  <miguel@ximian.com>

* driver.cs (CSCParseOption): Finish the /r: and /lib: support.

(LoadAssembly): Do not add the dll if it is already specified

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

21 years ago2002-07-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 12 Jul 2002 01:49:04 +0000 (01:49 -0000)]
2002-07-11  Miguel de Icaza  <miguel@ximian.com>

* daemon.c (_wapi_daemon_main): Use sizeof
(main_socket_address.sun_path) instead of hardcoded 108 value.

* handles.c (shared_init): Use sizeof

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

21 years ago2002-07-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 11 Jul 2002 23:50:12 +0000 (23:50 -0000)]
2002-07-11  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Add the System directory to the link path at the end,
after all the other -L arguments.

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

21 years ago2002-07-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 11 Jul 2002 22:29:43 +0000 (22:29 -0000)]
2002-07-11  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (ArrayAccess.EmitLoadOpcode): I was using the
wrong opcode for loading bytes and bools (ldelem.i1 instead of
ldelem.u1) and using the opposite for sbytes.

This fixes Digger, and we can finally run it.

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

21 years agoupdate
Miguel de Icaza [Thu, 11 Jul 2002 18:54:29 +0000 (18:54 -0000)]
update

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

21 years ago2002-07-11 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Thu, 11 Jul 2002 17:25:36 +0000 (17:25 -0000)]
2002-07-11  Rodrigo Moya <rodrigo@ximian.com>

* libgda.cs: added new libgda functions and some enumerations.

* OleDbParameter.cs (IsNullable): removed explicit implementation
of the set method for this property.

* OleDbDataAdapter.cs (MissingMappingAction): implemented.
(MissingSchemaAction): implemented.

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

21 years ago (mono_marshal_get_managed_wrapper): support more types
Dietmar Maurer [Thu, 11 Jul 2002 16:21:39 +0000 (16:21 -0000)]
(mono_marshal_get_managed_wrapper): support more types

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

21 years ago2002-07-11 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 11 Jul 2002 16:18:12 +0000 (16:18 -0000)]
2002-07-11  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg (freg): new rule freg: CALL_R8 (this, reg)

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

21 years ago(mono_marshal_get_native_wrapper): support boolean
Dietmar Maurer [Thu, 11 Jul 2002 16:04:18 +0000 (16:04 -0000)]
(mono_marshal_get_native_wrapper): support boolean

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

21 years ago(mono_marshal_get_native_wrapper): make it comp. with the old code
Dietmar Maurer [Thu, 11 Jul 2002 15:51:42 +0000 (15:51 -0000)]
(mono_marshal_get_native_wrapper): make it comp. with the old code

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

21 years agoDietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 11 Jul 2002 15:31:35 +0000 (15:31 -0000)]
Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_marshal_get_native_wrapper): support BOOLEAN

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

21 years agoarchitecture independent marshaling code
Dietmar Maurer [Thu, 11 Jul 2002 14:41:42 +0000 (14:41 -0000)]
architecture independent marshaling code

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

21 years agoadded StructureToPtr/SizeOf/PtrToStructure internal calls
Dietmar Maurer [Thu, 11 Jul 2002 14:31:42 +0000 (14:31 -0000)]
added StructureToPtr/SizeOf/PtrToStructure internal calls

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

21 years ago2002-07-11 Piers Haken <piersh@friskit.com>
Piers Haken [Thu, 11 Jul 2002 13:16:28 +0000 (13:16 -0000)]
2002-07-11  Piers Haken <piersh@friskit.com>

* XmlElementTests.cs: added TestCreateElement3WithNullNamespace

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

21 years ago2002-07-11 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 11 Jul 2002 12:23:45 +0000 (12:23 -0000)]
2002-07-11  Nick Drochak  <ndrochak@gol.com>

* .cvsignore: Ignore temp files too.

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

21 years ago2002-07-11 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 11 Jul 2002 11:19:06 +0000 (11:19 -0000)]
2002-07-11  Nick Drochak  <ndrochak@gol.com>

* ArrayTest.cs: Disable a test for now.  Bugzilla'd this one.
* ConvertTest.cs: Make message unique for this mistaken duplicate.

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

21 years ago2002-07-11 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 11 Jul 2002 11:06:54 +0000 (11:06 -0000)]
2002-07-11  Nick Drochak <ndrochak@gol.com>

* TestSuite.cs: Make sure fName is not null.

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

21 years ago2002-07-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 11 Jul 2002 05:47:03 +0000 (05:47 -0000)]
2002-07-11  Miguel de Icaza  <miguel@ximian.com>

* driver.cs (UnixParseOption): Move the option parsing here.
(CSCParseOption): Implement CSC-like parsing of options.

We now support both modes of operation, the old Unix way, and the
new CSC-like way.  This should help those who wanted to make cross
platform makefiles.

The only thing broken is that /r:, /reference: and /lib: are not
implemented, because I want to make those have the same semantics
as the CSC compiler has, and kill once and for all the confussion
around this.   Will be doing this tomorrow.

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

21 years ago2002-07-11 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 11 Jul 2002 04:51:24 +0000 (04:51 -0000)]
2002-07-11  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Unsafe.Resolve): The state is checked during
resolve, not emit, so we have to set the flags for IsUnsfe here.

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

21 years ago2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 11 Jul 2002 01:31:24 +0000 (01:31 -0000)]
2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRuntime.cs: don't throw NotImplemented in a couple of methods.

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

21 years ago2002-07-10 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 11 Jul 2002 00:01:50 +0000 (00:01 -0000)]
2002-07-10  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (MemberAccess.ResolveMemberAccess): Since we can
not catch the Error_ObjectRefRequired in SimpleName (as it is
possible to have a class/instance variable name that later gets
deambiguated), we have to check this here.

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

21 years agomktemp() is deprecated with gcc 3.1.1, use mkstemp() instead
Alp Toker [Wed, 10 Jul 2002 23:07:41 +0000 (23:07 -0000)]
mktemp() is deprecated with gcc 3.1.1, use mkstemp() instead

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

21 years agoREmove debugging statements
Ravi Pratap M [Wed, 10 Jul 2002 22:23:40 +0000 (22:23 -0000)]
REmove debugging statements

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

21 years ago2002-07-10 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Wed, 10 Jul 2002 22:12:06 +0000 (22:12 -0000)]
2002-07-10  Ravi Pratap  <ravi@ximian.com>

* class.cs (TypeContainer.GetFieldFromEvent): Move away from here,
make static and put into Expression.

(Event.Define): Register the private field of the event with the
TypeManager so that GetFieldFromEvent can get at it.

(TypeManager.RegisterPrivateFieldOfEvent): Implement to
keep track of the private field associated with an event which
has no accessors.

(TypeManager.GetPrivateFieldOfEvent): Implement to get at the
private field.

* ecore.cs (GetFieldFromEvent): RE-write to use the above methods.

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

21 years ago2002-07-10 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Wed, 10 Jul 2002 22:11:01 +0000 (22:11 -0000)]
2002-07-10  Ravi Pratap  <ravi@ximian.com>

* test-142.cs : Add. This ensures events can be accessed
correctly from subclasses etc.

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

21 years ago2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Jul 2002 19:40:05 +0000 (19:40 -0000)]
2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Activator.cs: some more intermediate results checking in
in CreateInstance and CreateInstanceFrom and use GetConstructor and
Invoke only with Type [] until the other overloaded versions work.

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

21 years ago2002-07-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 10 Jul 2002 18:33:47 +0000 (18:33 -0000)]
2002-07-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list:
* unix.args: added IObjectHandle.cs.

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

21 years ago2002-07-10 Dennis Haney <davh@davh.dk>
Dick Porter [Wed, 10 Jul 2002 12:50:12 +0000 (12:50 -0000)]
2002-07-10  Dennis Haney  <davh@davh.dk>

* shared.c:
* handles.c:
* daemon.c: Lots of documentation, some added error checking, and
code readability improvements.

* daemon-messages.h: Add the Error request type to improve error
checking.

* daemon-messages.c: Do a bit more error checking on send() and
recv(), and log errors with a higher severity level.

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

21 years ago2002/07/10 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 10 Jul 2002 12:17:57 +0000 (12:17 -0000)]
2002/07/10  Nick Drochak <ndrochak@gol.com>

* WindowsAccountType.cs:
* WindowsBuiltInRole.cs:
Make these enums public instead of internal.

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

21 years ago2002-07-10 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 10 Jul 2002 06:25:57 +0000 (06:25 -0000)]
2002-07-10  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Binary.EmitBranchable): this routine emits the
Binary expression in a branchable context.  This basically means:
we need to branch somewhere, not just get the value on the stack.

This works together with Statement.EmitBoolExpression.

* statement.cs (Statement.EmitBoolExpression): Use
EmitBranchable.

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

21 years ago2002-07-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 10 Jul 2002 05:45:18 +0000 (05:45 -0000)]
2002-07-09  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (For): Reduce the number of jumps in loops.

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

21 years ago2002-07-10 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 10 Jul 2002 05:24:00 +0000 (05:24 -0000)]
2002-07-10  Tim Coleman <tim@timcoleman.com>
        * OleDbCommandBuilder.cs: Added new methods, properties
        * OleDbConnection.cs: Modified constructor
        * OleDbError.cs: Added stubbs
        * OleDbException.cs: Added stubbs
        * OleDbInfoMessageEventArgs.cs: Added stubbs
        * OleDbInfoMessageEventHandler.cs: style change
        * OleDbParameter.cs: Added conversion from type to OleDbType
        * OleDbPermission.cs: Added stubbs
        * OleDbSchemaGuid.cs: Added stubbs
        * OleDbTransaction.cs: New constructors, changes to methods to
                support transaction nesting
        * libgda.cs: Added my name to this file

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