mono.git
22 years ago2002-7-1 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 1 Jul 2002 18:47:14 +0000 (18:47 -0000)]
2002-7-1  DennisHayes <dennish@raytek.com>

* AccessibleObject.cs
* AmbientProperties.cs
* Application.cs
* ApplicationContext.cs
* ArrangeDirection.cs
* AxHost.cs BaseCollection.cs
* Binding.cs BindingContext.cs
* BindingManagerBase.cs
* BindingMemberInfo.cs
* BindingsCollection.cs
* Button.cs
* ButtonBase.cs
* CheckBox.cs
* CheckedListBox.cs
* Clipboard.cs
* ColorDialog.cs
* ColumnClickEventArgs.cs
* ColumnClickEventHandler.cs
* ColumnHeader.cs
* ComboBox.cs
* CommonDialog.cs
* ComVisible.cs
* ContainerControl.cs
* Implmented some stuff, fixed some stuff, monostyled some stuff, uncommented-out some stuff.

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

22 years ago2002-7-1 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 1 Jul 2002 18:40:27 +0000 (18:40 -0000)]
2002-7-1  DennisHayes <dennish@raytek.com>
* changelog
* reversed order, putting most recent entries at the top

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

22 years agoMon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Jul 2002 16:02:45 +0000 (16:02 -0000)]
Mon Jul 1 18:01:49 CEST 2002 Paolo Molaro <lupus@ximian.com>

* MonoProperty.cs: handle properties with only a set method.

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

22 years agoMon Jul 1 18:00:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Jul 2002 16:02:12 +0000 (16:02 -0000)]
Mon Jul 1 18:00:40 CEST 2002 Paolo Molaro <lupus@ximian.com>

* reflection.c: handle properties with only a set method.

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

22 years ago2002-07-01 Martin Baulig <martin@gnome.org>
Martin Baulig [Mon, 1 Jul 2002 15:23:44 +0000 (15:23 -0000)]
2002-07-01  Martin Baulig  <martin@gnome.org>

* class.cs: Make the last change actually work, we need to check
whether `ifaces != null' to avoid a crash.

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

22 years agoMon Jul 1 17:11:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Jul 2002 15:12:34 +0000 (15:12 -0000)]
Mon Jul 1 17:11:11 CEST 2002 Paolo Molaro <lupus@ximian.com>

* opcodes.h: add enum with opcodes in opval order.

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

22 years agoNew test.
Paolo Molaro [Mon, 1 Jul 2002 14:56:16 +0000 (14:56 -0000)]
New test.

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

22 years agoMon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Jul 2002 14:34:26 +0000 (14:34 -0000)]
Mon Jul 1 16:23:15 CEST 2002 Paolo Molaro <lupus@ximian.com>

* Style.cs, TableRow.cs, DataListItem.cs: fix compilation.

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

22 years agoMon Jul 1 16:17:29 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Jul 2002 14:18:33 +0000 (14:18 -0000)]
Mon Jul 1 16:17:29 CEST 2002 Paolo Molaro <lupus@ximian.com>

* TypeBuilder.cs: implemented AddInterfaceImplementation().

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

22 years agoMon Jul 1 16:15:03 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Jul 2002 14:17:33 +0000 (14:17 -0000)]
Mon Jul 1 16:15:03 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.cs: when we build structs without fields that implement
interfaces, we need to add the interfaces separately, since there is
no API to both set the size and add the interfaces at type creation
time.

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

22 years ago2002-07-01 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 1 Jul 2002 13:22:41 +0000 (13:22 -0000)]
2002-07-01  Dietmar Maurer <dietmar@ximian.com>

* exception.c (arch_get_call_finally): restore caller saved
register used by global reg. allocation when calling finally
handlers (fixes bug #24943).

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

22 years agoMon Jul 1 14:50:47 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Jul 2002 13:00:42 +0000 (13:00 -0000)]
Mon Jul 1 14:50:47 CEST 2002 Paolo Molaro <lupus@ximian.com>

* expression.cs: the dimension arguments to the array constructors
need to be converted if they are a long.

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

22 years ago2002-07-01 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 1 Jul 2002 12:11:06 +0000 (12:11 -0000)]
2002-07-01  Dick Porter  <dick@ximian.com>

* object.h:
* object.c (mono_runtime_run_main): Removed unneeded argument

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

* interp.c (ves_exec): Removed unneeded argument to
mono_runtime_run_main()

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

* jit.c (mono_jit_exec): Removed unneeded argument to
mono_runtime_run_main()

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

22 years agoremove useless init code
Dietmar Maurer [Mon, 1 Jul 2002 11:45:50 +0000 (11:45 -0000)]
remove useless init code

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

22 years agoMon Jul 1 12:26:12 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Jul 2002 10:28:40 +0000 (10:28 -0000)]
Mon Jul 1 12:26:12 CEST 2002 Paolo Molaro <lupus@ximian.com>

* class.cs: don't emit ldarg.0 if there is no parent constructor
(fixes showstopper for corlib).

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

22 years ago2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 30 Jun 2002 23:24:53 +0000 (23:24 -0000)]
2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGridColumn.cs:
* DataGridPagerStyle.cs:
* DataList.cs:
* DataListItem.cs:
* Image.cs:
* LinkButton.cs:
* ListControl.cs:
* ListItem.cs:
* ListItemCollection.cs:
* Repeater.cs:
* ServerValidateEventArgs.cs:
* Style.cs:
* TableRow.cs:
* WebControl.cs:
* Xml.cs: more class status page based changes.

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

22 years ago2002-06-30 Rachel Hestilow <hestilow@ximian.com>
Rachel Hestilow [Sun, 30 Jun 2002 21:21:55 +0000 (21:21 -0000)]
2002-06-30  Rachel Hestilow  <hestilow@ximian.com>

* Button.cs, ButtonBase.cs, ControlEventArgs.cs,
ControlEventHandler.cs, DialogResult.cs,
IButtonControl.cs, IContainerControl.cs:
Copied over from stubs directory. Preliminary implementation.

* Control.cs: Implement ControlCollection, TextChanged,
Controls, CreateControlsInstance, ControlAdded, ControlRemoved,
ControlLocationChanged, OnControlAdded, OnControlRemoved,
Location, LocationChanged, OnLocationChanged, Click, OnClick,
and Anchor.
(Show): s/EmitShow/Show
(CreateWidget): Create a Gtk.Layout.
(Text): Call OnTextChanged.

* Form.cs (CreateWidget): Add base class contents to window.
(Text): Remove, move to OnTextChanged where it's supposed to be.
(OnTextChanged): Added.

* demo.cs: Test new features (Button, Label).

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

22 years ago2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 30 Jun 2002 20:44:49 +0000 (20:44 -0000)]
2002-06-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpResponse.cs:
* System.Web.SessionState/HttpSessionState.cs:
* System.Web.UI/LiteralControl.cs:
* System.Web.UI.HtmlControls/HtmlAnchor.cs:
* System.Web.UI.HtmlControls/HtmlButton.cs:
* System.Web.UI.HtmlControls/HtmlControl.cs:
* System.Web.UI.HtmlControls/HtmlForm.cs:
* System.Web.UI.HtmlControls/HtmlGenericControl.cs:
* System.Web.UI.HtmlControls/HtmlInputButton.cs:
* System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
* System.Web.UI.HtmlControls/HtmlInputControl.cs:
* System.Web.UI.HtmlControls/HtmlInputFile.cs:
* System.Web.UI.HtmlControls/HtmlInputHidden.cs:
* System.Web.UI.HtmlControls/HtmlInputImage.cs:
* System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
* System.Web.UI.HtmlControls/HtmlInputText.cs:
* System.Web.UI.HtmlControls/HtmlSelect.cs:
* System.Web.UI.HtmlControls/HtmlTable.cs:
* System.Web.UI.HtmlControls/HtmlTableCell.cs:
* System.Web.UI.HtmlControls/HtmlTableRow.cs:
* System.Web.UI.HtmlControls/HtmlTextArea.cs:

Fixes based on class status page:

- Add attributes (DefaultEvent, ParseChildren).
- Fix declarations.
- Explicitly implement some interfaces (IPostBackDataHandler
and IPostBackEventHandler).
- Implemented some missing methods.

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

22 years ago2002-06-30 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 30 Jun 2002 14:36:34 +0000 (14:36 -0000)]
2002-06-30  Nick Drochak  <ndrochak@gol.com>

* SortedListTest.cs: Fix some expected/actual value parameters in the
Assert()'s. Disable a part of test until the class is finished.

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

22 years ago2002-06-30 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 30 Jun 2002 14:35:57 +0000 (14:35 -0000)]
2002-06-30  Nick Drochak  <ndrochak@gol.com>

* SortedList.cs: Many fixed. A lot of checking for null and throwing
exceptions.  A few logic bugs fixed as well

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

22 years ago2002-06-30 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 30 Jun 2002 14:35:21 +0000 (14:35 -0000)]
2002-06-30  Nick Drochak  <ndrochak@gol.com>

* Double.cs (CompareTo): Just see which is bigger.  Don't use the
subtraction trick, it doesn't work when the values have a diference of
less than one.

* Single.cs (CompareTo): same

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

22 years ago2002-06-29 Piers Haken <piersh@friskit.com>
Piers Haken [Sat, 29 Jun 2002 20:21:13 +0000 (20:21 -0000)]
2002-06-29  Piers Haken <piersh@friskit.com>

* Expression.cs:
- remove dead code
- NodeTest uses XPathResultType instead of internal NodeTestTypes enum
- remove NodeTestTypes enum
- remove NodeTestTypeAny (functionality provided by base now)
- fix ExprStep to handle wildcard QNames

* Parser.jay:
- moved to Mono.Xml.XPath namespace
- use XPathResultType
- handle wildcard QNames

* Tokenizer.cs: moved to Mono.Xml.XPath namespace

* XPathNavigator.cs: implement
- IsDescendant
- SelectAncestors
- SelectDescendants
- SelectChildren

* XPathResultType.cs: fix enum values

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

22 years ago2002-06-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 29 Jun 2002 18:17:32 +0000 (18:17 -0000)]
2002-06-29  Martin Baulig  <martin@gnome.org>

MCS now compiles corlib on GNU/Linux :-)

* attribute.cs (Attribute.ApplyAttributes): Treat Accessors like Method,
ie. check for MethodImplOptions.InternalCall.

* class.cs (TypeContainer.DefineType): When compiling corlib, both parent
and TypeManager.attribute_type are null, so we must explicitly check
whether parent is not null to find out whether it's an attribute type.
(Property.Emit): Always call Attribute.ApplyAttributes() on the GetBuilder
and SetBuilder, not only if the property is neither abstract nor external.
This is necessary to set the MethodImplOptions on the accessor methods.
(Indexer.Emit): Call Attribute.ApplyAttributes() on the GetBuilder and
SetBuilder, see Property.Emit().

* rootcontext.cs (RootContext.PopulateTypes): When compiling corlib, don't
populate "System.Object", "System.ValueType" and "System.Attribute" since
they've already been populated from BootCorlib_PopulateCoreTypes().

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

22 years ago2002-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 29 Jun 2002 16:27:54 +0000 (16:27 -0000)]
2002-06-29  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpContext.cs:
(Session): return null instead of throwing an exception.

* System.Web/HttpRequest.cs:
(HttpMethod): return RequestType if not set.
(GetRawContent): return QueryString if we don't have a
HttpWorkerRequest.

* System.Web/HttpUtility.cs: fixed Decode and Encode.

* System.Web.UI/Control.cs: reimplemented FindControls.

* System.Web.UI/Page.cs:
(.ctor): set the page for this control.
(IsPostBack): return valid value.
(DeterminePostBackMode): finished.
(OnFormRender): render __VIEWSTATE (uses GetTypeHashCode()).
(ProcessPostData): implemented. Raises change and postback events.
(ProcessRequest): changed to support reuse of the instance.
(RegisterRequiresPostBack): implemented.

* System.Web.UI/ValidatorCollection.cs: implemented all methods.

* System.Web.UI.WebControls/Button.cs:
(.ctor): fixed to render the correct tag.
(IPostBAckEventHandler.RaisePostBackEvent): fixed.

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

22 years ago2002-06-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 29 Jun 2002 03:36:15 +0000 (03:36 -0000)]
2002-06-29  Martin Baulig  <martin@gnome.org>

* AsymmetricAlgorithm.cs: Removed a duplicate semicolon to make it compile.

* *.cs (Create (string)): Don't call the non-args version of Create(),
duplicate their contents here.  [FIXME: I was too lazy to hunt this bug down
in mcs and it was the last one which prevented us from compiling corlib.]

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

22 years ago2002-06-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 29 Jun 2002 03:21:05 +0000 (03:21 -0000)]
2002-06-29  Martin Baulig  <martin@gnome.org>

* ecore.cs (Expression.ImplicitReferenceConversionExists): If expr
is the NullLiteral, we also need to make sure that target_type is not
an enum type.

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

22 years ago2002-06-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 29 Jun 2002 02:14:07 +0000 (02:14 -0000)]
2002-06-29  Martin Baulig  <martin@gnome.org>

* rootcontext.cs (RootContext.ResolveCore): We must initialize
`TypeManager.multicast_delegate_type' and `TypeManager.delegate_type'
before calling BootstrapCorlib_ResolveDelegate ().

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

22 years ago2002-6-28 DennisHayes <dennish@raytek.com>
Dennis Hayes [Sat, 29 Jun 2002 02:01:29 +0000 (02:01 -0000)]
2002-6-28 DennisHayes <dennish@raytek.com>
* Checked in for Jackson Harper (jackson@latitudegeo.com)
* Tooltip.cs
* new class

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

22 years ago2002-06-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 29 Jun 2002 01:00:23 +0000 (01:00 -0000)]
2002-06-29  Martin Baulig  <martin@gnome.org>

* MonoDwarfFileWriter.cs (DieInheritance): Make this actually work.

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

22 years ago2002-06-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 28 Jun 2002 23:41:35 +0000 (23:41 -0000)]
2002-06-29  Martin Baulig  <martin@gnome.org>

* MonoDwarfFileWriter.cs, MonoSymbolWriter.cs: Put all TAG_subprogram's into their
corresponding struct/class declarations.

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

22 years ago2002-06-28 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 28 Jun 2002 21:15:16 +0000 (21:15 -0000)]
2002-06-28  Martin Baulig  <martin@gnome.org>

* debug.c (debug_generate_method_lines, mono_debug_add_method): Make methods
start on the nop instruction to make single-stepping into an already-JITed
method work.

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

22 years ago2002-06-28 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 28 Jun 2002 21:13:38 +0000 (21:13 -0000)]
2002-06-28  Martin Baulig  <martin@gnome.org>

* debug-symfile.c: Reflect latest MonoDwarfFileWriter changes.

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

22 years ago2002-06-28 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 28 Jun 2002 21:12:35 +0000 (21:12 -0000)]
2002-06-28  Martin Baulig  <martin@gnome.org>

* gdb-csharp-support.patch: Updated.

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

22 years ago2002-06-28 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 28 Jun 2002 21:07:49 +0000 (21:07 -0000)]
2002-06-28  Martin Baulig  <martin@gnome.org>

* MonoDwarfFileWriter.cs: Use a TAG_string_type when we're using GNU extensions.
Make static struct/class fields actually work.  Provide a TAG_typedef for struct's
and classes.

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

22 years ago2002-06-28 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 28 Jun 2002 21:05:32 +0000 (21:05 -0000)]
2002-06-28  Martin Baulig  <martin@gnome.org>

* MethodBuilder.cs (GetParameters): Return all parameters, not all
but the last one.

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

22 years agoRemoved backup file. Thanks Juli!
Gonzalo Paniagua Javier [Fri, 28 Jun 2002 16:27:23 +0000 (16:27 -0000)]
Removed backup file. Thanks Juli!

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

22 years agomarshal tests
Dietmar Maurer [Fri, 28 Jun 2002 08:24:15 +0000 (08:24 -0000)]
marshal tests

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

22 years ago2002-06-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 27 Jun 2002 19:46:13 +0000 (19:46 -0000)]
2002-06-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* statement.cs: fixed build-breaker. All tests passed ok.

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

22 years ago Merged in patches from Jesus Suarez (gsus@brujula.net).
Duncan Mak [Thu, 27 Jun 2002 19:21:51 +0000 (19:21 -0000)]
Merged in patches from Jesus Suarez (gsus@brujula.net).

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

22 years ago2002-06-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 27 Jun 2002 18:14:19 +0000 (18:14 -0000)]
2002-06-27  Martin Baulig  <martin@gnome.org>

* typemanager.cs (TypeManager.VerifyUnManaged): Added explicit check
for System.Decimal when compiling corlib.

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

22 years ago2002-06-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 27 Jun 2002 18:07:30 +0000 (18:07 -0000)]
2002-06-27  Martin Baulig  <martin@gnome.org>

* statement.cs (Switch.TableSwitchEmit): Make this work with empty
switch blocks which contain nothing but a default clause.

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

22 years ago2002-06-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 27 Jun 2002 17:14:16 +0000 (17:14 -0000)]
2002-06-27  Martin Baulig  <martin@gnome.org>

* ConstructorBuilder.cs (GetParameters): Implemented.

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

22 years agoApply patches from Andrew
Ravi Pratap M [Thu, 27 Jun 2002 16:37:52 +0000 (16:37 -0000)]
Apply patches from Andrew

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

22 years ago2002-06-27 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 27 Jun 2002 16:04:34 +0000 (16:04 -0000)]
2002-06-27  Dick Porter  <dick@ximian.com>

* threads.c: Store the handle in both the parent thread and in the
subthread, to minimise the time between starting a new thread and
storing its ID.

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

22 years ago2002-06-27 Ajay kumar Dwivedi <adwiv@yahoo.com>
Ajay kumar Dwivedi [Thu, 27 Jun 2002 10:36:28 +0000 (10:36 -0000)]
2002-06-27 Ajay kumar Dwivedi <adwiv@yahoo.com>
* XmlSerializer: Serialize() method Partially Implemented.

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

22 years agoFurther adventures in XML serialization. W00t!
John Barnette [Thu, 27 Jun 2002 01:08:04 +0000 (01:08 -0000)]
Further adventures in XML serialization.  W00t!

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

22 years ago2002-06-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 26 Jun 2002 20:26:38 +0000 (20:26 -0000)]
2002-06-27  Martin Baulig  <martin@gnome.org>

* ecore.cs (PropertyExpr.PropertyExpr): Call
TypeManager.TypeToCoreType() on the `pi.PropertyType'.

* typemanager.cs (TypeManager.TypeToCoreType): Return if the type
is already a TypeBuilder.

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

22 years ago2002-06-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 26 Jun 2002 20:22:12 +0000 (20:22 -0000)]
2002-06-27  Martin Baulig  <martin@gnome.org>

* makefile (test-compiler-mono): New target to compile and run
the tests with mcs and the mono jit.

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

22 years ago2002-06-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 26 Jun 2002 20:20:05 +0000 (20:20 -0000)]
2002-06-27  Martin Baulig  <martin@gnome.org>

* UIntPtr.cs (UIntPtr.Zero): Use an explicit `u' suffix in the
constructor argument.  [FIXME: The implicit conversion to an
unsigned integer doesn't work with mcs.]

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

22 years ago2002-06-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 26 Jun 2002 18:56:27 +0000 (18:56 -0000)]
2002-06-27  Martin Baulig  <martin@gnome.org>

* ecore.cs (Expression.SimpleNameResolve): If the expression is a
non-static PropertyExpr, set its InstanceExpression.  This makes
the `ICollection.Count' property work in System/Array.cs.

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

22 years ago2002-06-27 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 26 Jun 2002 18:26:00 +0000 (18:26 -0000)]
2002-06-27  Martin Baulig  <martin@gnome.org>

* ecore.cs (Expression.SimpleNameResolve): If the expression is a
non-static PropertyExpr, set its InstanceExpression.  This makes
the `ICollection.Count' property work in System/Array.cs.

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

22 years ago2002-06-26 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 26 Jun 2002 18:23:56 +0000 (18:23 -0000)]
2002-06-26  Dick Porter  <dick@ximian.com>

* appdomain.c (mono_runtime_cleanup): Close the socket library
after all the threads have finished, not before

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

22 years agoOoops, forgot a NULL check in my last commit.
Martin Baulig [Wed, 26 Jun 2002 17:46:19 +0000 (17:46 -0000)]
Ooops, forgot a NULL check in my last commit.

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

22 years ago2002-06-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 26 Jun 2002 17:37:39 +0000 (17:37 -0000)]
2002-06-26  Martin Baulig  <martin@gnome.org>

* debug.c (mono_debug_source_location_from_address): Added
`guint32 *line_number' argument.  If it's not NULL, store the line number
there and return the file name without the line number.

* exception.c (ves_icall_get_trace): Fill in `sf->filename' and `sf->line'.
(ves_icall_get_frame_info): Likewise.

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

22 years ago2002-06-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 26 Jun 2002 17:36:46 +0000 (17:36 -0000)]
2002-06-26  Martin Baulig  <martin@gnome.org>

* debug-symfile.c (mono_debug_find_source_location): Added
`guint32 *line_number' argument.  If it's not NULL, store the line number
there and return the file name without the line number.

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

22 years ago2002-06-26 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 26 Jun 2002 13:20:14 +0000 (13:20 -0000)]
2002-06-26  Martin Baulig  <martin@gnome.org>

* DecimalFormatter.cs: Removed MSTEST stuff, use `System',
not `S = System'.  This file now compiles with mcs.

* String.cs: Removed the already ifdef-outed __arglist Concat function
to make it compile with mcs.

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

22 years agoAdd manual page for mono configuration
Miguel de Icaza [Wed, 26 Jun 2002 12:20:55 +0000 (12:20 -0000)]
Add manual page for mono configuration

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

22 years agoUpdated
Miguel de Icaza [Wed, 26 Jun 2002 12:20:41 +0000 (12:20 -0000)]
Updated

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

22 years ago2002-06-26 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 26 Jun 2002 01:13:05 +0000 (01:13 -0000)]
2002-06-26  Duncan Mak  <duncan@ximian.com>

* XmlNodeReader.cs: Implementation of most of the properties, and
some of the related methods.

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

22 years agoThe raw beginnings of XML serialization of Monodoc XML.
John Barnette [Tue, 25 Jun 2002 22:37:15 +0000 (22:37 -0000)]
The raw beginnings of XML serialization of Monodoc XML.

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

22 years ago2002-06-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 25 Jun 2002 20:54:16 +0000 (20:54 -0000)]
2002-06-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpApplication.cs:
* System.Web/HttpContext.cs: added System.Web.SessionState namespace.

* System.Web/HttpSessionState.cs: removed. It is under
System.Web.SessionState.

* System.Web.UI/Control.cs:
* System.Web.UI/Page.cs: first attemp to save view state.

* System.Web.UI.HtmlControls/HtmlForm.cs: don't render Action.

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

22 years agoApply patch from Andrew
Ravi Pratap M [Tue, 25 Jun 2002 19:23:48 +0000 (19:23 -0000)]
Apply patch from Andrew

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

22 years agoApply patches from Andrew
Ravi Pratap M [Tue, 25 Jun 2002 19:23:14 +0000 (19:23 -0000)]
Apply patches from Andrew

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

22 years ago2002-06-25 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 25 Jun 2002 13:00:25 +0000 (13:00 -0000)]
2002-06-25  Dick Porter  <dick@ximian.com>

* Process.cs: Process forking and waiting, and some support functions

* ProcessStartInfo.cs: Implemented the bits needed for basic
Process forking

* ProcessModule.cs: Implemented

* ProcessModuleCollection.cs: Mostly implemented

* FileVersionInfo.cs: Implemented

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

22 years ago2002-06-25 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 25 Jun 2002 12:39:19 +0000 (12:39 -0000)]
2002-06-25  Dick Porter  <dick@ximian.com>

* handles.c:
* handles-private.h:
* daemon-messages.h:
* daemon.c: Process forking and handle data management

* processes.h:
* process-private.h:
* processes.c: Process forking and other support functions

2002-06-25  Dick Porter  <dick@ximian.com>

* icall.c:
* process.h:
* process.c: Process forking and other support functions

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

22 years ago2002-06-25 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 25 Jun 2002 12:29:33 +0000 (12:29 -0000)]
2002-06-25  Dick Porter  <dick@ximian.com>

* versioninfo.h: PE resource decoding

* unicode.c (_wapi_unicode_to_utf8): g_utf16_to_utf8 doesnt need
to be told the string length

* io.c: Removed the ACTUALLY_DO_UNICODE option.  Fixed some leaks.
Moved _wapi_time_t_to_filetime and the WapiFileTime typedef to
timefuncs.c

2002-06-25  Dick Porter  <dick@ximian.com>

* image.c (do_mono_image_open): Set ref_count to 1, so that bad
things dont happen when the image is closed.
(mono_image_lookup_resource): Walk the resource section looking
for a particular entry

* cil-coff.h: PE resource section decoding

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

22 years ago*** empty log message ***
Dick Porter [Tue, 25 Jun 2002 12:28:50 +0000 (12:28 -0000)]
*** empty log message ***

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

22 years agoAdded several questions/answers and a new "Mono and ASP.NET" section.
Jaime Anguiano Olarra [Tue, 25 Jun 2002 12:10:23 +0000 (12:10 -0000)]
Added several questions/answers and a new "Mono and ASP.NET" section.

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

22 years ago2002-06-25 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 25 Jun 2002 12:09:31 +0000 (12:09 -0000)]
2002-06-25  Dick Porter  <dick@ximian.com>

* assembly.h:
* assembly.c:
(mono_assembly_foreach): Accessor functions to walk the list of
loaded assemblies
(mono_assembly_set_main):
(mono_assembly_get_main): Process methods need to know which
assembly is the "main" one

* object.c (mono_runtime_run_main): Record the main assembly

* debug-helpers.c: Fix typo

2002-06-25  Dick Porter  <dick@ximian.com>

* interp.c (ves_exec): Pass the assembly to mono_runtime_run_main

2002-06-25  Dick Porter  <dick@ximian.com>

* jit.c (mono_jit_exec): Pass the assembly to mono_runtime_run_main

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

22 years ago2002-06-25 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 25 Jun 2002 10:54:34 +0000 (10:54 -0000)]
2002-06-25  Nick Drochak  <ndrochak@gol.com>

* QueueTest.cs: Trap some unexpected exceptions and add a bit of
verbosity to some assert messages.

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

22 years ago2002-06-25 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 25 Jun 2002 10:52:25 +0000 (10:52 -0000)]
2002-06-25   Nick Drochak  <ndrochak@gol.com>

* Queue.cs (CopyTo): Fix logic for copying the circular array.
(Enqueue): Use actual length of array to determine when to grow
(QueueEnumerator) Fixed Current to use array length, not capacity, and
fixed off-by-one errror in MoveNext().

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

22 years agoAdd news item for gtk# sample apps.
Duncan Mak [Mon, 24 Jun 2002 23:47:50 +0000 (23:47 -0000)]
Add news item for gtk# sample apps.

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

22 years agoRemoved my incomplete XPathScanner code.
Jason Diamond [Mon, 24 Jun 2002 22:52:29 +0000 (22:52 -0000)]
Removed my incomplete XPathScanner code.

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

22 years ago2002-6-24 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 24 Jun 2002 21:54:00 +0000 (21:54 -0000)]
2002-6-24 DennisHayes <dennish@raytek.com>
* BindingMemberInfo.cs
* CaptionButton.cs
* DataGridCell.cs
* Message.cs
* MessageBox.cs
* Fixed bugs preventing compile

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

22 years ago2002-6-18 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 24 Jun 2002 21:50:07 +0000 (21:50 -0000)]
2002-6-18 DennisHayes <dennish@raytek.com>
* Checked in for Jackson Harper (jackson@latitudegeo.com)
* ToolBar.cs
* TabControl.cs
* TabPage.cs
* Added sub classes

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

22 years ago2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 Jun 2002 20:59:53 +0000 (20:59 -0000)]
2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/Page.cs: implemented more properties using information
we already have in Context.
(OnFormRender):
(OnFormPostRender):
(VerifyRenderingInServerForm): implemented.

* System.Web.UI.HtmlControls/HtmlForm.cs:
(RenderChildren): use OnFormRender and OnFormPostRender.

* System.Web.UI.WebControls/WebControl.cs:
(AddAttributesToRender): call Page.VerifyRenderingInServerForm. All
WebControl derived classes should be rendered inside a HtmlForm.

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

22 years ago2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 Jun 2002 15:14:30 +0000 (15:14 -0000)]
2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* IntegerFormatter.cs:
(FormatParse.FormatNumber): fixed custom format for negative numbers.

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

22 years ago2002-06-24 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 24 Jun 2002 12:47:06 +0000 (12:47 -0000)]
2002-06-24  Dietmar Maurer  <dietmar@ximian.com>

* icall.c (ves_icall_System_Runtime_InteropServices_Marshal_copy_to_unmanaged): impl.
(ves_icall_System_Runtime_InteropServices_Marshal_copy_from_unmanaged): impl.

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

22 years ago * Marshal.cs: impl. Copy()
Dietmar Maurer [Mon, 24 Jun 2002 12:42:22 +0000 (12:42 -0000)]
* Marshal.cs: impl. Copy()

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

22 years ago2002-06-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 Jun 2002 11:34:14 +0000 (11:34 -0000)]
2002-06-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AllTests.cs: New file to make 'make test' work.
* ChangeLog: New file.

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

22 years ago2002-06-24 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 24 Jun 2002 10:55:37 +0000 (10:55 -0000)]
2002-06-24  Dick Porter <dick@ximian.com>

        * XmlCaseOrder.cs: Fix namespace

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

22 years ago2002-06-24 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 24 Jun 2002 09:41:09 +0000 (09:41 -0000)]
2002-06-24  Dick Porter  <dick@ximian.com>

* Socket.cs: Make SetSocketOption cope with boolean values (they
are passed as objects, not the ints the runtime was expecting)

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

22 years ago2002-06-23 Piers Haken <piersh@friskit.com>
Piers Haken [Mon, 24 Jun 2002 01:26:23 +0000 (01:26 -0000)]
2002-06-23  Piers Haken <piersh@friskit.com>

* DefaultContext.cs: implemented XPathFUnctionId
* Iterator.cs: new ArrayListIterator for id() support

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

22 years ago2002-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 23 Jun 2002 21:23:25 +0000 (21:23 -0000)]
2002-06-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TypeConverter.cs: flushed local changes.

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

22 years ago2002-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 23 Jun 2002 20:58:48 +0000 (20:58 -0000)]
2002-06-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpSessionState.cs: implemented more methods/properties.
* SessionDictionary.cs: New file.

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

22 years ago2002-06-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sun, 23 Jun 2002 18:41:23 +0000 (18:41 -0000)]
2002-06-23  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged attribute.cs, class.cs, ecore.cs, rootcontext.cs, support.cs and typemanager.cs from mcs/mcs, to resync
* makefile makes csc reference a copy of Mono.GetOptions.dll (mbas.sln now compiles to mbas dir instead of mbas/bin/Debug)

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

22 years ago2002-06-23 Piers Haken <piersh@friskit.com>
Piers Haken [Sun, 23 Jun 2002 16:52:58 +0000 (16:52 -0000)]
2002-06-23  Piers Haken <piersh@friskit.com>

System.Xml:

    * XmlDocumentNavigator.cs: implement Clone()
    * XmlElement.cs: remove bogus unimplemented override of InnerText
    * XmlNode.cs: implment SelectNodes/SelectSingleNode
    * XmlNodeArrayList.cs: new support class for SelectNodes

System.Xml.Xsl:

    * XsltContext.cs: added 'PreserveWhitespace' abstract method

System.Xml.XPath:

    * XPathNavigator.cs: implement:
        - Compile
        - Evaluate
        - Clone
        - Select
        - ToString
        - some forwarding methods

    * XPathNodeIterator: implement caching Count

    * Tokenizer.cs: new XPath tokenizer
    * Parser.jay: new XPath grammar
    * Parser.cs: new precompiled XPath grammar
    * Expression.cs: new XPath expression objects
    * Iterator.cs: new XPath result/context objects
    * DefaultContext.cs: new XPath function binding context

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

22 years agoAnother test
Miguel de Icaza [Sat, 22 Jun 2002 23:13:55 +0000 (23:13 -0000)]
Another test

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

22 years agoRemove debugging value
Miguel de Icaza [Sat, 22 Jun 2002 19:47:13 +0000 (19:47 -0000)]
Remove debugging value

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

22 years ago2002-06-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 22 Jun 2002 19:36:33 +0000 (19:36 -0000)]
2002-06-22  Miguel de Icaza  <miguel@ximian.com>

* class.cs (TypeContainer.AddMethod, TypeContainer.AddIndexer,
TypeContainer.AddOperator): At the front of the list put the
explicit implementations, so they get resolved/defined first.

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

22 years agoNew test
Miguel de Icaza [Sat, 22 Jun 2002 19:35:29 +0000 (19:35 -0000)]
New test

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

22 years ago2002-06-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 22 Jun 2002 15:06:08 +0000 (15:06 -0000)]
2002-06-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: changed InvokeEventMethod to use a GetMethod that works with
out runtime. Renamed Page_Init and Page_Load.

After this, we can load a dll and render HTML in linux.

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

22 years agoAdded DateAndTime tests
Chris J. Breisch [Sat, 22 Jun 2002 10:15:34 +0000 (10:15 -0000)]
Added DateAndTime tests

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

22 years agoFirst real version
Chris J. Breisch [Sat, 22 Jun 2002 10:13:20 +0000 (10:13 -0000)]
First real version

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

22 years agoTest for bug#26264.
Paolo Molaro [Sat, 22 Jun 2002 06:14:13 +0000 (06:14 -0000)]
Test for bug#26264.

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

22 years agoComment out debug message.
Paolo Molaro [Sat, 22 Jun 2002 05:55:44 +0000 (05:55 -0000)]
Comment out debug message.

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

22 years agoSat Jun 22 11:37:25 CEST 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 22 Jun 2002 05:52:41 +0000 (05:52 -0000)]
Sat Jun 22 11:37:25 CEST 2002 Paolo Molaro <lupus@ximian.com>

* icall.c: fix off-by-one in Assembly.GetTypes() reported by bob@karr.ath.cx.

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

22 years ago2002-06-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 22 Jun 2002 01:22:09 +0000 (01:22 -0000)]
2002-06-21  Miguel de Icaza  <miguel@ximian.com>

* class.cs (TypeContainer.VerifyImplements): Verifies that a given
interface type is implemented by this TypeContainer.  Used during
explicit interface implementation.

(Property.Define, Indexer.Define, Method.Define): Validate that
the given interface in the explicit implementation is one of the
base classes for the containing type.

Also if we are explicitly implementing an interface, but there is
no match in the pending implementation table, report an error.

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

22 years agoFixed typo.
Gonzalo Paniagua Javier [Fri, 21 Jun 2002 22:42:12 +0000 (22:42 -0000)]
Fixed typo.

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

22 years agoNew errors handled
Miguel de Icaza [Fri, 21 Jun 2002 21:41:42 +0000 (21:41 -0000)]
New errors handled

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