mono.git
19 years ago2004-09-30 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Fri, 1 Oct 2004 02:44:39 +0000 (02:44 -0000)]
2004-09-30  Geoff Norton  <gnorton@customerdna.com>

        * Convert.cs: ConvertToBase* was not endian aware.  Implemented EndianSwap
        and swapping of all values before going into the BitConverter so that values
        are returned with proper endianess.

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

19 years ago * Initial import of BSD license of LargeObject support ported code.
Francisco Figueiredo Jr. [Thu, 30 Sep 2004 21:39:06 +0000 (21:39 -0000)]
* Initial import of BSD license of LargeObject support ported code.

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

19 years ago2004-09-30 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Thu, 30 Sep 2004 21:36:09 +0000 (21:36 -0000)]
2004-09-30  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
    * NpgsqlTypes/FastPath.cs,
    NpgsqlTypes/FastPathArg.cs,
    NpgsqlTypes/LargeObject.cs,
    NpgsqlTypes/LargeObjectManager.cs,
    Npgsql.dll.sources: Added large object support. Thanks Emiliano Necciari (e dot necciari at blogic dot it) for the patch.

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

19 years ago* HttpSimpleProtocolImporter.cs: Fix import of arrays of primitive types.
Lluis Sanchez [Thu, 30 Sep 2004 21:05:31 +0000 (21:05 -0000)]
* HttpSimpleProtocolImporter.cs: Fix import of arrays of primitive types.

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

19 years ago * MapCodeGenerator.cs: When the Object type is exported, export all
Lluis Sanchez [Thu, 30 Sep 2004 20:56:52 +0000 (20:56 -0000)]
* MapCodeGenerator.cs: When the Object type is exported, export all
  derived maps. This was done in IncludeMetadata, but this method is
  not called by the xsd tool.
* XmlCodeExporter.cs: In AddMappingMetadata, only generate the root
  attribute for primitive types and arrays.
* XmlSchemaImporter.cs: Only export all object-derived maps if the
  Object type is explicitly referenced by an element.
* XmlSerializationWriter.cs: Minor fix.

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

19 years ago2004-09-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Sep 2004 20:50:30 +0000 (20:50 -0000)]
2004-09-30  Zoltan Varga  <vargaz@freemail.hu>

* object-internals.h (MonoReflectionTypeBuilder): Add 'created' field.

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

19 years ago2004-09-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Sep 2004 20:48:20 +0000 (20:48 -0000)]
2004-09-30  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilder.cs: Make 'created' field visible to the runtime.

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

19 years ago- Bug fixes
Peter Dennis Bartok [Thu, 30 Sep 2004 20:06:56 +0000 (20:06 -0000)]
- Bug fixes

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

19 years agoJust rename the damn file
Miguel de Icaza [Thu, 30 Sep 2004 18:08:29 +0000 (18:08 -0000)]
Just rename the damn file

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

19 years agoFix typo. Patch by John BouAntoun.
Jackson Harper [Thu, 30 Sep 2004 17:34:08 +0000 (17:34 -0000)]
Fix typo. Patch by John BouAntoun.

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

19 years ago * mini.c: Always generate a field read/write wrapper for members
Lluis Sanchez [Thu, 30 Sep 2004 15:59:13 +0000 (15:59 -0000)]
* mini.c: Always generate a field read/write wrapper for members
of the class MarshalByRefObject since the actual instance could
be a CBO.

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

19 years ago * image.c: Always canonicalize image file names, to avoid loading
Lluis Sanchez [Thu, 30 Sep 2004 15:30:01 +0000 (15:30 -0000)]
* image.c: Always canonicalize image file names, to avoid loading
the same assembly twice when referenced using a relative path.

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

19 years agoUpdated project and sources list.
Ravindra [Thu, 30 Sep 2004 13:32:06 +0000 (13:32 -0000)]
Updated project and sources list.

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

19 years agoConverter for ListViewItem.
Ravindra [Thu, 30 Sep 2004 13:26:35 +0000 (13:26 -0000)]
Converter for ListViewItem.

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

19 years agoEnum for ListView control.
Ravindra [Thu, 30 Sep 2004 13:26:00 +0000 (13:26 -0000)]
Enum for ListView control.

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

19 years agoSupporting class for ListView control.
Ravindra [Thu, 30 Sep 2004 13:25:33 +0000 (13:25 -0000)]
Supporting class for ListView control.

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

19 years agoInitial implementation.
Ravindra [Thu, 30 Sep 2004 13:24:45 +0000 (13:24 -0000)]
Initial implementation.

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

19 years ago2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Thu, 30 Sep 2004 13:21:41 +0000 (13:21 -0000)]
2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
        * EventH.vb:
        * EventI.vb:
                Couple of more scenario got covered

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

19 years agoEnum for ListView Control.
Ravindra [Thu, 30 Sep 2004 13:20:20 +0000 (13:20 -0000)]
Enum for ListView Control.

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

19 years ago2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Thu, 30 Sep 2004 13:13:26 +0000 (13:13 -0000)]
2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
        * mb-parser.jay:
        * statement.cs:
                Removed unused event_target field from
                AddHandler and RemoveHandler

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

19 years ago2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Thu, 30 Sep 2004 12:52:50 +0000 (12:52 -0000)]
2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
        * mb-parser.jay: RemoveHandler function made cleaner

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

19 years ago2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Thu, 30 Sep 2004 12:33:26 +0000 (12:33 -0000)]
2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
        * expression.cs:
        * ecore.cs:
                Fix for resolution of event expression
                when we have a AddHandler statement
                like
                AddHandler Me.E, AddressOf Me.EH
                Submitted by Raja Harinath<rharinath@novell.com>

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

19 years ago2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Thu, 30 Sep 2004 12:12:18 +0000 (12:12 -0000)]
2004-09-30 Anirban Bhattacharjee <banirban@novell.com>
        * mb-parser.jay: Unnecessary to and fro conversion of types
                        is removed from AddHandler function

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

19 years ago2004-09-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Sep 2004 10:29:13 +0000 (10:29 -0000)]
2004-09-30  Zoltan Varga  <vargaz@freemail.hu>

* marshal.cs: Add test for GetFunctionPointerForDelegate.

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

19 years ago2004-09-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Sep 2004 10:28:34 +0000 (10:28 -0000)]
2004-09-30  Zoltan Varga  <vargaz@freemail.hu>

* marshal.h marshal.c icall.c: Fix bugs in previous patch.

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

19 years ago2004-09-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Sep 2004 10:06:42 +0000 (10:06 -0000)]
2004-09-30  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c marshal.h icall.c: Add GetDelegateForFunctionPointerInternal icall.

* marshal.c: Fix warnings.

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

19 years ago2004-09-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Sep 2004 10:03:56 +0000 (10:03 -0000)]
2004-09-30  Zoltan Varga  <vargaz@freemail.hu>

* Marshal.cs: Implement GetDelegateForFunctionPointer.

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

19 years ago2004-09-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 30 Sep 2004 09:45:14 +0000 (09:45 -0000)]
2004-09-30  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c pinvoke2.cs: Add test for returning delegates.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Thu, 30 Sep 2004 08:58:53 +0000 (08:58 -0000)]
ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added and removed an enumeration in
          System.Web.UI.WebControls.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Thu, 30 Sep 2004 08:53:57 +0000 (08:53 -0000)]
ChangeLog: Updated ChangeLog.
DataControlRowState.cs:
ScrollBars.cs:
TreeNodeTypes.cs: Added attribute.
DataControlRowType.cs:
HotSpotMode.cs:
SortDirection.cs: Corrected enumeration values.
TableRowSection.cs: Added new enumeration.
ObjectDataSourceStatusEventHandler.cs: Corrected method name.

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

19 years ago*** empty log message ***
Umadevi S [Thu, 30 Sep 2004 07:58:38 +0000 (07:58 -0000)]
*** empty log message ***

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

19 years agoUpdated csproj to include Appearance.cs, CheckBox.cs, CheckState.cs
Jambunathan K [Thu, 30 Sep 2004 05:02:20 +0000 (05:02 -0000)]
Updated csproj to include Appearance.cs, CheckBox.cs, CheckState.cs

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

19 years ago2004-09-14 Everaldo Canut <everaldo_canuto@yahoo.com.br>
Miguel de Icaza [Thu, 30 Sep 2004 03:00:09 +0000 (03:00 -0000)]
2004-09-14  Everaldo Canut <everaldo_canuto@yahoo.com.br>

* Mono.Data.SqliteClient/Sqlite.cs added.
* Mono.Data.SqliteClient/SqliteDataAdapter.cs added.
* Mono.Data.SqliteClient/SqliteRowUpdatedEventArgs added.
* Mono.Data.SqliteClient/SqliteRowUpdatedEventHandler added.
* Mono.Data.SqliteClient/SqliteRowUpdatingEventArgs added.
* Mono.Data.SqliteClient/SqliteRowUpdatingEventHandler added.
* Mono.Data.SqliteClient/SqliteDataReader.cs GetSchemaTable fixed.
* All sources documented.

I submited a patch to SqliteClient, now Sqlite Data
Provider has full implemented, I think that the good
idea is describe this on release notes.

-Everaldo

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

19 years ago2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 30 Sep 2004 02:39:06 +0000 (02:39 -0000)]
2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpUtility.cs: UrlPathEncode is static. Fixes bug #67155.

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

19 years ago- Added lookup of pixel value for background color; tries to get a color
Peter Dennis Bartok [Thu, 30 Sep 2004 02:29:33 +0000 (02:29 -0000)]
- Added lookup of pixel value for background color; tries to get a color
  'close' to the requested color, it avoids having to create a colormap.
  Depending on the display this could mean the used color is slightly off
  the desired color. Might have to change it to a more resource intensive
  colormap approach, but it will work as a workaround to avoid red screens.

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

19 years ago2004-09-29 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 30 Sep 2004 01:00:32 +0000 (01:00 -0000)]
2004-09-29 Ben Maurer  <bmaurer@ximian.com>

* HttpContext.cs, TimeoutManager: Use DateTime.UtcNow.

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

19 years ago2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 30 Sep 2004 00:21:54 +0000 (00:21 -0000)]
2004-09-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Compilation/AspGenerator.cs: added OtherTags.
* System.Web.UI/ControlBuilder.cs: don't close server tags when we get
to a closing tag that is not applied to a server control. Fixes bug
#60323.

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

19 years ago2004-09-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 29 Sep 2004 20:36:17 +0000 (20:36 -0000)]
2004-09-29  Sebastien Pouliot  <sebastien@ximian.com>

* RSAManaged.cs: In synch with corlib. KeySize is now always a
multiple of 8 bits. Fix #66929.

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

19 years agoSet the X DisplayHandle in System.Drawing
Jackson Harper [Wed, 29 Sep 2004 20:27:41 +0000 (20:27 -0000)]
Set the X DisplayHandle in System.Drawing

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

19 years ago * Graphics.cs: Use FromHdcInternal to set the X display
Jackson Harper [Wed, 29 Sep 2004 20:26:54 +0000 (20:26 -0000)]
* Graphics.cs: Use FromHdcInternal to set the X display
handle. Add a flag to check if we are on unix so we aren't calling
Environment.OSVersion.Platform all the time. Mad props to Peter
Bartok for this.

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

19 years ago * Makefile: Remove error directory on every run.
Lluis Sanchez [Wed, 29 Sep 2004 18:18:47 +0000 (18:18 -0000)]
* Makefile: Remove error directory on every run.
* wstest.cs: Added a timeout when calling the wsdl tool. No more
  hangs there.

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

19 years ago2004-09-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 29 Sep 2004 18:01:09 +0000 (18:01 -0000)]
2004-09-29  Sebastien Pouliot  <sebastien@ximian.com>

* RSAManaged.cs: KeySize is always a multiple of 8 bits (promotion to
a bigger size if required) to match MS implementation (and other
issues like SSL).

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

19 years ago2004-09-29 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 29 Sep 2004 15:46:44 +0000 (15:46 -0000)]
2004-09-29  Geoff Norton  <gnorton@customerdna.com>

        * marshal.c (mono_ftnptr_to_delegate): This method was improperly
        attempting to marshal the delegate_trampoline as the method_addr.
        This patch has a static hashtable of marshalled delegates so that
        we can map delegate_trampoline addresses back to delegates.  This
        allows a delegate passed to managed code to be passed back into native
        code.  Fixes #67039

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Wed, 29 Sep 2004 12:25:35 +0000 (12:25 -0000)]
ChangeLog: Updated ChangeLog.
WebPartVerb.cs: Added attributes.

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

19 years ago2004-09-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Sep 2004 12:00:29 +0000 (12:00 -0000)]
2004-09-29  Zoltan Varga  <vargaz@freemail.hu>

* MissingAttribute.cs: Ignore DllImportAttribute and PreserveSigAttribute.

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

19 years ago2004-09-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Sep 2004 11:53:03 +0000 (11:53 -0000)]
2004-09-29  Zoltan Varga  <vargaz@freemail.hu>

* UnmanagedFunctionPointerAttribute.cs: New file.

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

19 years ago2004-09-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Sep 2004 11:52:25 +0000 (11:52 -0000)]
2004-09-29  Zoltan Varga  <vargaz@freemail.hu>

* corlib.dll.sources: Add System.Runtime.InteropServices/UnmanagedFunctionPointerAttribute.cs.

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

19 years ago2004-09-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 29 Sep 2004 11:45:54 +0000 (11:45 -0000)]
2004-09-29  Zoltan Varga  <vargaz@freemail.hu>

* Marshal.cs: Make GetFunctionPointerForDelegate icall private.

* MarshalAsAttribute.cs: Add 2.0 IidParamIndex field.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Wed, 29 Sep 2004 11:24:28 +0000 (11:24 -0000)]
ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new classes in System.Web.dll.sources.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Wed, 29 Sep 2004 11:16:12 +0000 (11:16 -0000)]
ChangeLog: Updated ChangeLog.
ConnectionPoint.cs: Initial implementation.
ConsumerConnectionPoint.cs:
ProviderConnectionPoint.cs: Added stubs.
TypeCollection.cs: Completed.

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

19 years ago(test-clients): nunit-console.exe is now in a
Raja R Harinath [Wed, 29 Sep 2004 10:20:02 +0000 (10:20 -0000)]
(test-clients): nunit-console.exe is now in a
profile-specific directory.
Report from Mayank Ritvik <mritvik@novell.com>.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Wed, 29 Sep 2004 08:59:03 +0000 (08:59 -0000)]
ChangeLog: Updated ChangeLog.
IWebPart.cs: Added new property and removed extra property.
WebPart.cs: Corrected according to change in interface IWebPart.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Wed, 29 Sep 2004 08:45:48 +0000 (08:45 -0000)]
ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new files in System.Web.UI.WebControls.WebParts
                        namespace.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Wed, 29 Sep 2004 08:43:37 +0000 (08:43 -0000)]
ChangeLog: Updated ChangeLog.
WebPartPageMenuMode.cs: Added new enumeration.

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

19 years agoupdate with some notes
Miguel de Icaza [Wed, 29 Sep 2004 05:06:25 +0000 (05:06 -0000)]
update with some notes

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

19 years agominor changes in the Makefile
Satya Sudha K [Wed, 29 Sep 2004 03:33:55 +0000 (03:33 -0000)]
minor changes in the Makefile

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

19 years agoGive the build some love
Jackson Harper [Tue, 28 Sep 2004 20:11:41 +0000 (20:11 -0000)]
Give the build some love

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

19 years ago2004-09-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Sep 2004 19:55:22 +0000 (19:55 -0000)]
2004-09-28  Zoltan Varga  <vargaz@freemail.hu>

* Marshal.cs: Add some ReliabilityContractAttributes.

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

19 years ago2004-09-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Sep 2004 19:22:27 +0000 (19:22 -0000)]
2004-09-28  Zoltan Varga  <vargaz@freemail.hu>

* icall.c: Add GetFunctionPointerForDelegateInternal icall.

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

19 years ago2004-09-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Sep 2004 19:20:22 +0000 (19:20 -0000)]
2004-09-28  Zoltan Varga  <vargaz@freemail.hu>

* Marshal.cs (GetFunctionPointerForDelegate): Implement.

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

19 years ago2004-09-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Sep 2004 19:19:11 +0000 (19:19 -0000)]
2004-09-28  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am: Add marshal.cs.

* marshal.cs: New file for Marshal tests.

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

19 years ago2004-09-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Sep 2004 19:02:33 +0000 (19:02 -0000)]
2004-09-28  Zoltan Varga  <vargaz@freemail.hu>

* Marshal.cs: Add stubs for missing 2.0 methods.

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

19 years ago- Streamlined Theme interfaces:
Peter Dennis Bartok [Tue, 28 Sep 2004 18:44:25 +0000 (18:44 -0000)]
- Streamlined Theme interfaces:
  * Each DrawXXX method for a control now is passed the object for the
    control to be drawn in order to allow accessing any state the theme
    might require

  * ControlPaint methods for the theme now have a CP prefix to avoid
    name clashes with the Draw methods for controls

  * Every control now retrieves it's DefaultSize from the current theme

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

19 years agoDo not redraw OnClick MouseUp/Down will handle the drawing
Jackson Harper [Tue, 28 Sep 2004 18:17:46 +0000 (18:17 -0000)]
Do not redraw OnClick MouseUp/Down will handle the drawing

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

19 years ago2004-09-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Sep 2004 17:59:32 +0000 (17:59 -0000)]
2004-09-28  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (method_encode_code): Align method headers properly.
Fixes #66025.

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

19 years agoMinor JIT fixes
Neale Ferguson [Tue, 28 Sep 2004 17:47:44 +0000 (17:47 -0000)]
Minor JIT fixes

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

19 years ago * marshal.c: In the runtime invoke wrapper, reset the abort
Lluis Sanchez [Tue, 28 Sep 2004 15:16:05 +0000 (15:16 -0000)]
* marshal.c: In the runtime invoke wrapper, reset the abort
exception if it is cached. This avoids the automatic rethrowal of
the exception after the catch of the wrapper. Also check for pending
interruptions before calling the managed method. This is done using
the new method emit_thread_force_interrupt_checkpoint, since the
normal checkpoint method is ignored when running the invoke wrapper.
* object.c: If the abort exception is rethrown, set the abort_exc
field of the thread, so it will be rethrown aftere every catch.
* threadpool.c: Only run an interruption checkpoint if what has been
requested is a stop of the thread (aborts will be ignored).
* threads.c: By default, a thread will now never be interrumped while
running the runtime invoke wrapper (this ensures that runtime_invoke
will always return to the caller if an exception pointer is provided).
There is a new special method mono_thread_force_interruption_checkpoint()
to force an interruption checkpoint even if running a protected
wrapper, which is used by the same runtime invoke wrapper to do a check
at a safe point.

I'm leaving the ves_* rename for another patch ;-)

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 28 Sep 2004 13:20:16 +0000 (13:20 -0000)]
ChangeLog: Updated ChangeLog.
System.Web.dll.sources: Added new classes in System.Web.UI.WebControls.WebParts.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 28 Sep 2004 13:17:43 +0000 (13:17 -0000)]
ChangeLog: Updated ChangeLog.
Part.cs: Corrected access modifier of constructor.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 28 Sep 2004 13:12:05 +0000 (13:12 -0000)]
ChangeLog: Updated ChangeLog.
WebPart.cs: Updated source and fixed bug 66907.

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

19 years ago2004-09-28 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 28 Sep 2004 13:09:28 +0000 (13:09 -0000)]
2004-09-28  Dick Porter  <dick@ximian.com>

* io.c (pipe_close_private): Fix one small typo in the last change
that totally hosed process creation with redirected pipes.

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

19 years ago* test-120.cs: Don't exit on the first failure.
Raja R Harinath [Tue, 28 Sep 2004 12:52:27 +0000 (12:52 -0000)]
* test-120.cs: Don't exit on the first failure.
* Makefile (TEST_EXCLUDES_common): Remove 'module-3'.
(TEST_SOURCES_win32): Rename from WINDOWS_SOURCES.
(TEST_NOPASS): Comment out tests that already are in
TEST_SOURCES_common.

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

19 years agomini.c: Use mono_thread_exit() to stop threads, instead of ExitThread.
Lluis Sanchez [Tue, 28 Sep 2004 12:46:41 +0000 (12:46 -0000)]
mini.c: Use mono_thread_exit() to stop threads, instead of ExitThread.

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

19 years ago * object.c, object-internals.h: Implemented mono_release_type_locks,
Lluis Sanchez [Tue, 28 Sep 2004 12:45:05 +0000 (12:45 -0000)]
* object.c, object-internals.h: Implemented mono_release_type_locks,
which releases the cctor locks held by a thread.
* threads.c, threads.h: In thread_cleanup, release cctor locks held
by a thread. Added mono_thread_exit() method to be used to safely stop
a thread.

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

19 years ago($(tmpinst)/bin/pedump): New.
Raja R Harinath [Tue, 28 Sep 2004 12:44:30 +0000 (12:44 -0000)]
($(tmpinst)/bin/pedump): New.
(mcs-do-run-test-profiles): Depend on it.

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

19 years ago(ves_icall_System_Reflection_Assembly_GetModulesInternal):
Raja R Harinath [Tue, 28 Sep 2004 12:42:40 +0000 (12:42 -0000)]
(ves_icall_System_Reflection_Assembly_GetModulesInternal):
Move null check before dereference.  Avoid indexing beyond the end
of the 'modules' array.

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

19 years agotypo.
Raja R Harinath [Tue, 28 Sep 2004 11:31:52 +0000 (11:31 -0000)]
typo.

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

19 years ago * metadata-internals.h (MonoImage): Add module_count field.
Raja R Harinath [Tue, 28 Sep 2004 11:30:44 +0000 (11:30 -0000)]
* metadata-internals.h (MonoImage): Add module_count field.
* image.c (load_modules): Set image->module_count.
(mono_image_load_file_for_image): Use image->module_count.
* reflection.c (mono_image_load_module): Append to image->modules array
of dynamic assembly.
(mono_module_get_object): Fix loop to actually increment index.
Use image->module_count.
* assembly.c (mono_assembly_load_references): Use image->module_count.
* icall.c (ves_icall_System_Reflection_Assembly_GetModulesInternal):
Likewise.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 28 Sep 2004 11:12:05 +0000 (11:12 -0000)]
ChangeLog: Updated ChangeLog.
WebPartVerbCollection.cs: Completed and corrected implementation.

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

19 years ago2004-09-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Sep 2004 11:07:58 +0000 (11:07 -0000)]
2004-09-28  Zoltan Varga  <vargaz@freemail.hu>

* PropertyInfo.cs (OptionalCustomModifiers): Add [MonoTODO].

* PropertyInfo.cs: Add stub for GetConstantValue ().

* ParameterInfo.cs (marshalAs): Make this private.

* Module.cs (ModuleHandle): Add [CLSCompliant(false)].

* LocalVariableInfo.cs MethodBody.cs: Disable default constructor.

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

19 years ago2004-09-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 28 Sep 2004 10:55:24 +0000 (10:55 -0000)]
2004-09-28  Zoltan Varga  <vargaz@freemail.hu>

* ExceptionHandlingClause.cs: Disable default constructor.

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

19 years agoAdded a minor note.
Ravindra [Tue, 28 Sep 2004 10:31:47 +0000 (10:31 -0000)]
Added a minor note.

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

19 years ago * CodeIdentifier.cs: MakeValid now returns "Item" for an empty string.
Lluis Sanchez [Tue, 28 Sep 2004 09:22:52 +0000 (09:22 -0000)]
* CodeIdentifier.cs: MakeValid now returns "Item" for an empty string.
  This fixes bug #66877.

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

19 years ago * RemotingServices.cs: Allways pass the uri when calling
Lluis Sanchez [Tue, 28 Sep 2004 08:18:29 +0000 (08:18 -0000)]
* RemotingServices.cs: Allways pass the uri when calling
  GetClientChannelSinkChain, even if it has channel data.
  This fixes bug 66768.

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

19 years ago * CrossAppDomainChannel.cs: In CreateMessageSink, ignore the url
Lluis Sanchez [Tue, 28 Sep 2004 08:16:41 +0000 (08:16 -0000)]
* CrossAppDomainChannel.cs: In CreateMessageSink, ignore the url
  parameter, it is not needed.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 28 Sep 2004 07:56:07 +0000 (07:56 -0000)]
ChangeLog: Updated ChangeLog.
WebPartVerbCollection.cs: Initial implementation.

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

19 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Tue, 28 Sep 2004 06:20:21 +0000 (06:20 -0000)]
ChangeLog: Updated ChangeLog.
WebPartVerb.cs: Initial implementation.

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

19 years ago- Initial check in. A place to log info about MWF that doesn't fit anywhere
Peter Dennis Bartok [Tue, 28 Sep 2004 06:18:35 +0000 (06:18 -0000)]
- Initial check in. A place to log info about MWF that doesn't fit anywhere
  else

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

19 years ago2004-09-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Sep 2004 05:53:55 +0000 (05:53 -0000)]
2004-09-28  Martin Baulig  <martin@ximian.com>

* GenericTypeParameterBuilder.cs
(GenericTypeParameterBuilder.ContainsGenericParameters): Return
true here; System.Type.ContainsGenericParameters returns true when
called on a type parameter, so let's do the same here.

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

19 years ago2004-09-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 28 Sep 2004 05:46:28 +0000 (05:46 -0000)]
2004-09-28  Martin Baulig  <martin@ximian.com>

* generic.cs
(GenericConstraints.EffectiveBaseClass): New public property.
(TypeParameter.GenericConstraints): New public property.
(ConstructedType.CheckConstraints): Improved.

* convert.cs (Convert.TypeParam_EffectiveBaseType): New private method.
(Convert.TypeParameterConversion): New private method; use this in
ImplicitReferenceConversion() and ImplicitReferenceConversionExists()
for all conversions related to type parameters.

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

19 years agoAnother small fix, don't crash here.
Martin Baulig [Tue, 28 Sep 2004 05:42:54 +0000 (05:42 -0000)]
Another small fix, don't crash here.

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

19 years ago2004-09-24 Umadevi S <sumadevi@novell.com>
Umadevi S [Tue, 28 Sep 2004 04:20:25 +0000 (04:20 -0000)]
2004-09-24 Umadevi S <sumadevi@novell.com>
        * DataRowTest.cs : Added a test for EnforceConstraints with relations defined.

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

19 years ago 2004-09-28 Umadevi S <sumadevi@novell.com>
Umadevi S [Tue, 28 Sep 2004 04:17:39 +0000 (04:17 -0000)]
 2004-09-28 Umadevi S <sumadevi@novell.com>
        * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows

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

19 years ago2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 28 Sep 2004 00:27:59 +0000 (00:27 -0000)]
2004-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TableStyle.cs: don't render empty 'rules' attribute (again).

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

19 years ago2004-09-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Sep 2004 22:46:38 +0000 (22:46 -0000)]
2004-09-28  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_FieldInfo_GetUnmanagedMarshal):
Avoid assert on generic types.

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

19 years ago2004-09-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 27 Sep 2004 22:36:24 +0000 (22:36 -0000)]
2004-09-28  Zoltan Varga  <vargaz@freemail.hu>

* driver.c mini.h trace.c: Move the setting of the main assembly into
a separate function called mono_trace_set_assembly () and call it after
actually loading the main assembly. Fixes #66872.

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

19 years ago * ServerIdentity.cs: Only set the target identity if it has not already
Lluis Sanchez [Mon, 27 Sep 2004 20:06:12 +0000 (20:06 -0000)]
* ServerIdentity.cs: Only set the target identity if it has not already
  been set.

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

19 years ago * MethodCallMessageWrapper.cs: The wrapper has to modify the wrapped
Lluis Sanchez [Mon, 27 Sep 2004 20:05:44 +0000 (20:05 -0000)]
* MethodCallMessageWrapper.cs: The wrapper has to modify the wrapped
  message. MS does it.
* ReturnMessage.cs: Use TypeName instead of _typeName since now name is
  lazely constructed.

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

19 years ago* RemotingProxy.cs: In Invoke, suport IMessages other than MonoMessage.
Lluis Sanchez [Mon, 27 Sep 2004 20:05:06 +0000 (20:05 -0000)]
* RemotingProxy.cs: In Invoke, suport IMessages other than MonoMessage.

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

19 years ago * HttpClientChannel.cs: Throw an http exception if the response is a 500,
Lluis Sanchez [Mon, 27 Sep 2004 20:04:30 +0000 (20:04 -0000)]
* HttpClientChannel.cs: Throw an http exception if the response is a 500,
  don't try to deserialize the exception.

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