mono.git
19 years ago**** Merged r40762 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 17:47:41 +0000 (17:47 -0000)]
**** Merged r40762 from MCS ****

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

19 years ago**** Merged r40750 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 17:46:45 +0000 (17:46 -0000)]
**** Merged r40750 from MCS ****

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

19 years ago2005-04-12 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 12 Apr 2005 17:21:43 +0000 (17:21 -0000)]
2005-04-12  Dick Porter  <dick@ximian.com>

        The daemon-less io-layer.  Extensive lowlevel changes in
        handles.c, requiring some corresponding changes in other files
        calling these functions.  Private_foo structures have been
        eliminated.

        File descriptor handling differences account for most of the
        changes in io.c and sockets.c.

        Other highlights:

        * mutexes.c: Named mutexes are now a distinct type.
        * atomic.h: Fix a PPC uninitialised variable warning.
        * wait.c: Check conditions before waiting on a condition
        * variable.
        * processes.c: Handle process fork and wait without a daemon
        (though this has the limitation of only being able to wait for
        child processes.)

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

19 years ago * TreeView.cs: Set the TopNode properly when scrolling
Jackson Harper [Tue, 12 Apr 2005 17:10:48 +0000 (17:10 -0000)]
* TreeView.cs: Set the TopNode properly when scrolling
occurs. This has the added benifit of reducing the amount of
walking that needs to be done when drawing. Also removed an old
misleading TODO.
* OpenTreeNodeEnumerator.cs: Fix moving backwards.

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

19 years ago2005-04-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 12 Apr 2005 16:37:15 +0000 (16:37 -0000)]
2005-04-12  Lluis Sanchez Gual  <lluis@novell.com>

* XmlSchemaParticle.cs: Set MaxOccurs to unbounded when set to
decimal.MaxValue.

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

19 years ago2005-04-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 12 Apr 2005 16:34:24 +0000 (16:34 -0000)]
2005-04-12  Lluis Sanchez Gual  <lluis@novell.com>
* XmlTypeMapping.cs: Added new XmlSerializableMapping class.
* XmlSchemaExporter.cs: When exporting an IXmlSerializable type,
export the schema that it defines. In ImportNamespace, removed
check for default namespace, since it may be included from a non
default namespace.
* XmlReflectionImporter.cs: Create a special map for IXmlSerializable
types. All this based on a patch by Andrew Skiba.

* SerializationCodeGenerator.cs:
* XmlMapping.cs:
* XmlSerializationReaderInterpreter.cs:
* SoapCodeExporter.cs:
* XmlTypeMapMemberAttribute.cs:
* XmlSerializationReader.cs:
* XmlCodeExporter.cs: Fixed some warnings.

2005-04-10  Andrew Skiba  <andrews@mainsoft.com>

2005-04-03  Andrew Skiba  <andrews@mainsoft.com>

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

19 years ago2005-04-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 12 Apr 2005 16:26:56 +0000 (16:26 -0000)]
2005-04-12  Zoltan Varga  <vargaz@freemail.hu>

* class.c (class_compute_field_layout): Fix the regression caused by
the previous try.

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

19 years ago**** Merged r40699 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 16:12:38 +0000 (16:12 -0000)]
**** Merged r40699 from MCS ****

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

19 years agoIn mono/dis:
Ankit Jain [Tue, 12 Apr 2005 15:34:23 +0000 (15:34 -0000)]
In mono/dis:
2005-04-12  Ankit Jain  <ankit@corewars.org>

Fix #74579.
* main.c (dis_mresource): New. Dump embedded managed resources.
(main, usage): Add '--mresources' argument.

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

19 years agoIn class/PEAPI:
Ankit Jain [Tue, 12 Apr 2005 14:56:28 +0000 (14:56 -0000)]
In class/PEAPI:
2005-04-12  Ankit Jain  <ankit@corewars.org>

* PEAPI.cs (CustomAttribute.ctor): Dont throw
NotYetImplementedException.
(MethodSemantics.SortKey): Should be sorted by
'Association' column.

In ilasm/codegen:
2005-04-12  Ankit Jain  <ankit@corewars.org>

* CustomAttr.cs (ICustomAttrTarget): New interface.
* TypeDef.cs: Implement ICustomAttrTarget.
* FieldDef.cs, PropertyDef.cs, ParamDef.cs, EventDef.cs
(AddCustomAttribute): Implement ICustomAttrTarget
(.Resolve): Add custom attributes.
* CodeGen.cs (CurrentCustomAttrTarget): New. Property for
current CustomAttr target.
(BeginTypeDef, BeginMethodDef, BeginAssemblyRef): Set
current_customattrtarget accordingly.
* ExternTable.cs (ExternRef): Implement ICustomAttrTarget.
(ExternModule.Resolve): Add custom attributes to ModuleRef.
(ExternAssembly.Resolve): Add custom attributes to AssemblyRef.
* MethodDef.cs: Implement ICustomAttrTarget and add custom
attributes.
(GetParam): New. Get ParamDef by index.

In ilasm/parser:
2005-04-12  Ankit Jain  <ankit@corewars.org>

* ILParser.jay (class_decl, method_decl, prop_decl,
assemblyref_decl | customattr_decl): Use
codegen.CurrentCustomAttrTarget for adding custom
attributes.
(field_decl, method_decl, event_head, prop_head):
Set codegen.CurrentCustomAttrTarget

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

19 years ago2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 12 Apr 2005 14:18:13 +0000 (14:18 -0000)]
2005-04-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: separate pool for socket async. IO.
* threadpool.h: mono_max_worker_threads is not a global any more.

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

19 years ago**** Merged r40625 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:10:57 +0000 (12:10 -0000)]
**** Merged r40625 from MCS ****

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

19 years ago**** Merged r40612 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:10:05 +0000 (12:10 -0000)]
**** Merged r40612 from MCS ****

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

19 years agoIn .:
Ankit Jain [Tue, 12 Apr 2005 12:09:43 +0000 (12:09 -0000)]
In .:
2005-04-12 Ankit Jain <ankit@corewars.org>

* mono-api-diff.cs: Handle null default values correctly.
* mono-api-info.cs: -do-
System.DBNull.Value means no default value.

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

19 years ago**** Merged r40523-r40541 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:08:46 +0000 (12:08 -0000)]
**** Merged r40523-r40541 from MCS ****

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

19 years ago**** Merged r40516 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:07:40 +0000 (12:07 -0000)]
**** Merged r40516 from MCS ****

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

19 years ago**** Merged r40513 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:06:44 +0000 (12:06 -0000)]
**** Merged r40513 from MCS ****

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

19 years ago**** Merged r40511 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:05:43 +0000 (12:05 -0000)]
**** Merged r40511 from MCS ****

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

19 years ago**** Merged r40464 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:04:56 +0000 (12:04 -0000)]
**** Merged r40464 from MCS ****

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

19 years ago**** Merged r40460 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:03:59 +0000 (12:03 -0000)]
**** Merged r40460 from MCS ****

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

19 years ago**** Merged r40457 from MCS ****
Martin Baulig [Tue, 12 Apr 2005 12:02:41 +0000 (12:02 -0000)]
**** Merged r40457 from MCS ****

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

19 years ago2005-04-12 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Tue, 12 Apr 2005 11:49:10 +0000 (11:49 -0000)]
2005-04-12  Joerg Rosenkranz  <joergr@voelcker.com>

        * mono-service.cs: Service runs in its own AppDomain now.
        Improved exception handling.

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

19 years ago2005-04-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Apr 2005 20:03:10 +0000 (20:03 -0000)]
2005-04-11  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (setup_stack): Unconditionally call pthread_attr_init ().

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

19 years agoCheck conditions before blocking
Dick Porter [Mon, 11 Apr 2005 18:59:35 +0000 (18:59 -0000)]
Check conditions before blocking

svn path=/branches/dick/io-layer-no-daemon/; revision=42794

19 years ago2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Apr 2005 16:47:54 +0000 (16:47 -0000)]
2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs:
* WebConnectionStream.cs: don't start reading until we've sent at least
the headers. This way we ensure that a Write happens before any Read,
which is needed by the SSL code.

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

19 years ago2005-04-11 James Willcox <james@ximian.com>
James Willcox [Mon, 11 Apr 2005 14:17:51 +0000 (14:17 -0000)]
2005-04-11  James Willcox  <james@ximian.com>

        * man/mkbundle.1: add --static option

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

19 years ago2005-04-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Apr 2005 14:16:27 +0000 (14:16 -0000)]
2005-04-11  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-x86.c mini-x86.h mini-x86.c: Applied some freebsd patches
from Bill Middleton <flashdict@gmail.com>.

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

19 years ago2005-04-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Apr 2005 14:14:47 +0000 (14:14 -0000)]
2005-04-11  Zoltan Varga  <vargaz@freemail.hu>

* jni.c: Applied some freebsd patches from Bill Middleton <flashdict@gmail.com>.

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

19 years ago2005-04-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Apr 2005 14:14:04 +0000 (14:14 -0000)]
2005-04-11  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Applied some freebsd patch from Bill Middleton <flashdict@gmail.com>.

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

19 years ago2005-04-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Apr 2005 14:12:45 +0000 (14:12 -0000)]
2005-04-11  Zoltan Varga  <vargaz@freemail.hu>

* include/private/gcconfig.h configure.in os_dep.c dyn_load.c:
Applied some freebsd patch from Bill Middleton <flashdict@gmail.com>.

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

19 years ago2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Mon, 11 Apr 2005 13:49:32 +0000 (13:49 -0000)]
2005-04-11  Jordi Mas i Hernandez <jordi@ximian.com>

* Timer.cs: fixes interval setting when the timer is already enabled

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

19 years ago2005-04-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 11 Apr 2005 12:49:31 +0000 (12:49 -0000)]
2005-04-11  Marek Safar <marek.safar@seznam.cz>

* test-362.cs: #74565 test case.

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

19 years ago2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Apr 2005 12:40:44 +0000 (12:40 -0000)]
2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: ensure we read everything before redirecting.

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

19 years agoRemove some dead code, and make process kill work again
Dick Porter [Mon, 11 Apr 2005 11:09:07 +0000 (11:09 -0000)]
Remove some dead code, and make process kill work again

svn path=/branches/dick/io-layer-no-daemon/; revision=42782

19 years ago2005-04-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Apr 2005 10:04:27 +0000 (10:04 -0000)]
2005-04-11  Atsushi Enomoto <atsushi@ximian.com>

* Util.cs : tiny debug string fix.

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

19 years ago2005-04-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Apr 2005 10:03:04 +0000 (10:03 -0000)]
2005-04-11  Atsushi Enomoto <atsushi@ximian.com>

* NvdlRelaxngSupport.cs : added PlanAtt validation support.

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

19 years ago2005-04-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Apr 2005 10:01:16 +0000 (10:01 -0000)]
2005-04-11  Atsushi Enomoto <atsushi@ximian.com>

* anglia-test-runner.cs : added some options.
* Makefile : clean is inconsistent.

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

19 years ago2005-04-11 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 11 Apr 2005 09:37:04 +0000 (09:37 -0000)]
2005-04-11  Lluis Sanchez Gual <lluis@novell.com>

* ServiceDescriptionCollection.cs: Notify the parent importer
  when a service description is added.
* ServiceDescriptionImporter.cs: Register wsdl docs added to the
  collection.

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

19 years ago2005-04-11 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Mon, 11 Apr 2005 09:32:47 +0000 (09:32 -0000)]
2005-04-11  Lluis Sanchez Gual  <lluis@ximian.com>

* SampleGenerator.cs: Removed unused method.

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

19 years agorefresh after mcs update
Marek Safar [Mon, 11 Apr 2005 09:26:39 +0000 (09:26 -0000)]
refresh after mcs update

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

19 years ago2005-04-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 11 Apr 2005 09:25:59 +0000 (09:25 -0000)]
2005-04-11  Marek Safar  <marek.safar@seznam.cz>

Fix# 74565
* class.cs (TypeContainer.CircularDepException) New nested
exception class.
(GetPartialBases, GetNormalBases, GetClassBases): Removed error.
(TypeContainer.DefineType): Removed error, reset InTransit before
exit.
(Class.DefineType): Throw exception when is in Transit.
Catch exception and report error.
(Struct.DefineType): Throw exception when is in Transit.
Catch exception and report error.
(Interface.DefineType): Throw exception when is in Transit.
Catch exception and report error.

* codegen.cs: Add InCatch,InFinally to EmitContext to easily
handle nested exception handlers.

* flowanalysis.cs (InTryWithCatch): New method, search for try with
a catch.

* iterators.cs (Yield.CheckContext): Add CS1626 report. Updated
InFinally and InCatch storage.

* statement.cs (Throw.Resolve): Use InCatch, InFinally from ec.
(Catch.Resolve): Set and Restore ec.InCatch.
(Try.Resolve): Set and Restore ec.InFinally.
(Try.HasCatch): True when try has catch.

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

19 years ago2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Apr 2005 03:39:30 +0000 (03:39 -0000)]
2005-04-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: provide a default callback when doing async.
read/write and waiting for a timeout so that the callback sets the
event and we don't block forever. Fixes bug #74539 take 3.

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

19 years ago2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 10 Apr 2005 23:17:26 +0000 (23:17 -0000)]
2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs:
* HttpWebRequest.cs: now Abort() works properly. Fixes bug #74177.

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

19 years ago2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 10 Apr 2005 20:57:45 +0000 (20:57 -0000)]
2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: fix some breakage from my last patch.
* WebConnectionStream.cs: invoke the callback when done even in EndRead.

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

19 years agoMerge revisions 41642:42764 into this branch
Dick Porter [Sun, 10 Apr 2005 20:49:04 +0000 (20:49 -0000)]
Merge revisions 41642:42764 into this branch

svn path=/branches/dick/io-layer-no-daemon/; revision=42767

19 years ago2005-04-10 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Sun, 10 Apr 2005 20:07:36 +0000 (20:07 -0000)]
2005-04-10  Geoff Norton  <gnorton@customerdna.com>

        * Graphics.cs:
          carbonFunctions.cs:
                Use CGContextSynchronize instead of CGContextFlush.  This saves
                on average 20000 ticks per drawing operation.

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

19 years ago2005-04-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 10 Apr 2005 18:26:53 +0000 (18:26 -0000)]
2005-04-10  Sebastien Pouliot  <sebastien@ximian.com>

* WebConnection.cs: Added support for TrustFailure when throwing a
WebException. Fix bug #74286.

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

19 years ago* HttpsClientStream.cs: Added a TrustFailure property so a WebException can now repor...
Sebastien Pouliot [Sun, 10 Apr 2005 18:25:27 +0000 (18:25 -0000)]
* HttpsClientStream.cs: Added a TrustFailure property so a WebException can now report TrustFailure correctly.

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

19 years agoUpdate
Miguel de Icaza [Sun, 10 Apr 2005 15:58:39 +0000 (15:58 -0000)]
Update

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

19 years ago2005-04-10 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 10 Apr 2005 15:57:45 +0000 (15:57 -0000)]
2005-04-10  Miguel de Icaza  <miguel@novell.com>

* driver.cs (MainDriver): Stop processing if the CLS stage found
errors.

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

19 years agoupdate List
Miguel de Icaza [Sun, 10 Apr 2005 15:54:35 +0000 (15:54 -0000)]
update List

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

19 years ago2005-04-10 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 10 Apr 2005 15:51:36 +0000 (15:51 -0000)]
2005-04-10  Miguel de Icaza  <miguel@novell.com>

* driver.cs (CompilerCallableEntryPoint.InvokeCompiler): Always
reset after execution;   Take a TextWriter argument for the
output.

* report.cs: Use the error stream instead of hardcoding stderr.

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

19 years ago2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Sun, 10 Apr 2005 14:34:40 +0000 (14:34 -0000)]
2005-04-10  Alexander Olk  <xenomorph2@onlinehome.de>

* FolderBrowserDialog.cs: First approach

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

19 years ago* First cut changes for suporting Binary Operators. All changes
Jambunathan K [Sun, 10 Apr 2005 13:29:51 +0000 (13:29 -0000)]
* First cut changes for suporting Binary Operators. All changes
need to be refined and reviewed.

* expression.cs (Error_OperatorCannotBeAppliedToObjectOperands):
(ResolveOperator): Commented out. The method is retained for later
reference.

(ResolveVisualBasicOperator): New method that replaces
ResolveOperator. The method takes care of VB.NET semantics for
Operator Resolution.

(DoResolve): Replaced call to ResolveOperator with
ResolveVisualBasicOperator.

(Emit, CheckShiftArguments): Updated to reflect VB.NET semantics

(HandleObjectOperands, CheckArguments, IsOperatorDefinedForType,
ConvertOperatorToDefinedType, GetWiderOfTypes,
DoOperandPromotions, IsArithmeticExpression,
IsRelationalExpression, IsShiftExpression,
IsShortCircuitedLogicalExpression, HelperMethod): New helper
routines to support binary operator resolution.

* mb-parser.jay: Added support for exponentiation operator.

* typemanager.cs (relative_type_order): Added.
(InitCoreTypes, InitCodeHelpers, InitVisualBasicHelperTypes,
InitVisualBasicCodeHelpers): Added more helper methods to method
cache.

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

19 years ago2005-04-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 10 Apr 2005 10:06:15 +0000 (10:06 -0000)]
2005-04-10  Zoltan Varga  <vargaz@freemail.hu>

* arrays.cs: Add new regression test. Fix warnings.

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

19 years ago2005-04-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 10 Apr 2005 10:03:32 +0000 (10:03 -0000)]
2005-04-10  Zoltan Varga  <vargaz@freemail.hu>

* class.c (class_compute_field_layout): Fix #74549.

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

19 years agoXmlSerializer.cs: fixed a typo - wrong TARGET_JVM condition
Andrew Skiba [Sun, 10 Apr 2005 08:41:26 +0000 (08:41 -0000)]
XmlSerializer.cs: fixed a typo - wrong TARGET_JVM condition

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

19 years ago2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 10 Apr 2005 06:00:03 +0000 (06:00 -0000)]
2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs:
* WebConnectionStream.cs: implemented support for ReadWriteTimeout.

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

19 years ago2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 10 Apr 2005 05:08:55 +0000 (05:08 -0000)]
2005-04-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs: if we're reading chunked data and didn't use the
stream to read, we gotta set the async. result as complete and invoke
the callback. Don't call nstream.EndRead with the wrong IAsyncResult.

* WebConnectionStream.cs: in EndRead, pass the correct IAsyncResult to
cnc.EndRead. Lock on a field instead of 'this'.

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

19 years ago2005-04-10 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Sun, 10 Apr 2005 04:38:44 +0000 (04:38 -0000)]
2005-04-10  Cesar Lopez Nataren  <cnataren@novell.com>

* StackTrace.cs: Back to M.J namespace.

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

19 years agoRemoved temporary usage of -Werror
Dick Porter [Sat, 9 Apr 2005 22:15:49 +0000 (22:15 -0000)]
Removed temporary usage of -Werror

svn path=/branches/dick/io-layer-no-daemon/; revision=42748

19 years ago2005-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 9 Apr 2005 20:49:34 +0000 (20:49 -0000)]
2005-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* sendback.ashx: yet another handler to test with.

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

19 years ago2005-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 9 Apr 2005 20:45:29 +0000 (20:45 -0000)]
2005-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: invoke the callback after scheduling the next request for
the socket. Fixes bug #74539.

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

19 years ago2005-04-09 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Sat, 9 Apr 2005 20:34:07 +0000 (20:34 -0000)]
2005-04-09  Joerg Rosenkranz  <joergr@voelcker.com>

        * mono-service.cs: Fixed dynamic loading of assemblies
        from services. Cleaned up callback code.

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

19 years ago2005-04-09 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Sat, 9 Apr 2005 20:33:31 +0000 (20:33 -0000)]
2005-04-09  Joerg Rosenkranz  <joergr@voelcker.com>

        * ServiceBase.cs: Cleaned up callback code.

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

19 years ago2005-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 9 Apr 2005 20:03:35 +0000 (20:03 -0000)]
2005-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: throw the exception if we got an error, as now
it's catched in the redirection handling code.

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

19 years ago2005-04-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 9 Apr 2005 20:01:17 +0000 (20:01 -0000)]
2005-04-09  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_output_basic_block): Fix stack alignment
and leakage in CKFINITE.

* exceptions-amd64.c (mono_arch_get_throw_exception_by_name): Change
this to a null op since it is called on amd64 too.

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

19 years ago2005-04-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 9 Apr 2005 19:38:42 +0000 (19:38 -0000)]
2005-04-09  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-amd64.c (get_throw_trampoline): Align stack.

* exceptions-amd64.c (mono_arch_get_throw_exception_by_name): Remove
body since this is not used on amd64.

* mini-amd64.h (MONO_ARCH_NO_EMULATE_LONG_SHIFT_OPS): Remove duplicate define.

* mini-amd64.c: Remove obsolete fixmes.

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

19 years ago2005-04-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 9 Apr 2005 19:36:12 +0000 (19:36 -0000)]
2005-04-09  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (testtrace): New target to test --trace functionality.

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

19 years ago2005-04-09 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 9 Apr 2005 19:23:15 +0000 (19:23 -0000)]
2005-04-09  Miguel de Icaza  <miguel@novell.com>

* StreamWriter.cs (Initialize): Avoid echoing the preamble to a
file if the position of the stream is not at the beginning.  Fixes
bug #74513

2005-04-09  Miguel de Icaza  <miguel@novell.com>

* StreamWriterTest.cs: New test for bug #74513.

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

19 years ago2004-04-09 James Willcox <james@ximian.com>
James Willcox [Sat, 9 Apr 2005 18:48:44 +0000 (18:48 -0000)]
2004-04-09  James Willcox  <james@ximian.com>

        * template.c: allocate the correct amount of memory for newargs

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

19 years ago2005-04-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 9 Apr 2005 16:32:24 +0000 (16:32 -0000)]
2005-04-09  Sebastien Pouliot  <sebastien@ximian.com>

* tlsasync.cs: New. Async HttpWebRequest and streams using HTTP or
HTTPS GET. Display the web page if only one URL is supplied.
* Makefile: Build tlsasync tool.

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

19 years ago* convert.cs (ObjectTypeToPrimitiveTypes): Added. Converts an
Jambunathan K [Sat, 9 Apr 2005 16:21:31 +0000 (16:21 -0000)]
* convert.cs (ObjectTypeToPrimitiveTypes): Added. Converts an
'Object' to a 'Primitive Type'.

(WideningAndNarrowingConversion): Inserted call to
'ObjectTypeToPrimitiveTypes' to convert from 'Object' to a
'Primitive Type'.

* typemanager.cs (InitVisualBasicCodeHelpers): Added helper
methods that handles above conversions to the TypeManager's method
cache.

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

19 years agoFixes shortcut assignment
Jordi Mas i Hernandez [Sat, 9 Apr 2005 15:13:23 +0000 (15:13 -0000)]
Fixes shortcut assignment

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

19 years ago2005-04-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 9 Apr 2005 14:24:00 +0000 (14:24 -0000)]
2005-04-09  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Add --with-large-heap option to enable support for
GC heaps larger than 3GB. Hopefully fixes #73882.

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

19 years ago- Added FolderBrowserDialog
Peter Dennis Bartok [Sat, 9 Apr 2005 12:49:53 +0000 (12:49 -0000)]
- Added FolderBrowserDialog

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

19 years ago2005-04-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 9 Apr 2005 12:34:09 +0000 (12:34 -0000)]
2005-04-09  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (print_method_from_ip): Fix debugging support.

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

19 years agoChecking out backup
Miguel de Icaza [Sat, 9 Apr 2005 04:04:31 +0000 (04:04 -0000)]
Checking out backup

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

19 years ago2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 9 Apr 2005 02:51:01 +0000 (02:51 -0000)]
2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: define FD_SETSIZE=1024 on windows (the default is only
64). Re-add aio_* stuff. Shouldn't have removed it.

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

19 years ago2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 9 Apr 2005 02:46:36 +0000 (02:46 -0000)]
2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: select() on windows doesn't allow pipe handles, soooo
use 2 connected sockets instead.

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

19 years ago2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 9 Apr 2005 02:41:42 +0000 (02:41 -0000)]
2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mono-poll.c: windows return code translation.
* mono-poll.h: FD_SETSIZE must be defined when compiling everything.
Moved to configure.in.

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

19 years ago2005-04-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 9 Apr 2005 00:25:52 +0000 (00:25 -0000)]
2005-04-08  Sebastien Pouliot  <sebastien@ximian.com>

* AuthenticodeDeformatter.cs: In synch with corlib version.

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

19 years agoset the parent
César Natarén [Fri, 8 Apr 2005 23:17:23 +0000 (23:17 -0000)]
set the parent

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

19 years agofix the build
César Natarén [Fri, 8 Apr 2005 22:58:21 +0000 (22:58 -0000)]
fix the build

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

19 years ago2005-04-08 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 8 Apr 2005 22:57:17 +0000 (22:57 -0000)]
2005-04-08  Miguel de Icaza  <miguel@novell.com>

* mono-config.c: Add new entry point for mkbundle
mono_config_parse_memory.

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

19 years agoAdd new flag
Miguel de Icaza [Fri, 8 Apr 2005 22:56:36 +0000 (22:56 -0000)]
Add new flag

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

19 years ago2005-04-08 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 8 Apr 2005 22:54:54 +0000 (22:54 -0000)]
2005-04-08  Miguel de Icaza  <miguel@novell.com>

* mkbundle.cs: Add support for bundling also a machine.config

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

19 years ago2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 8 Apr 2005 22:38:56 +0000 (22:38 -0000)]
2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: update socket connected status in an async request finishes
synchronously. Use 'callback' instead of 'real_callback' field, which is
now unused.

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

19 years ago2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 8 Apr 2005 22:17:13 +0000 (22:17 -0000)]
2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Literal.cs: fix the build and break something else ;-).

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

19 years ago2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 8 Apr 2005 22:02:04 +0000 (22:02 -0000)]
2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WindowsConsoleDriver.cs: ignore key release events.

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

19 years ago2005-04-08 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Fri, 8 Apr 2005 21:50:09 +0000 (21:50 -0000)]
2005-04-08  Joerg Rosenkranz  <joergr@voelcker.com>

        * mono-service.cs: Restructured code to run service main loop
        in callback called by ServiceBase.Run. This matches Windows
        service behaviour better.

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

19 years ago2005-04-08 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Fri, 8 Apr 2005 21:48:26 +0000 (21:48 -0000)]
2005-04-08  Joerg Rosenkranz  <joergr@voelcker.com>

        * ServiceBase.cs: Introduced static callback for
        interoperability with mono-service.

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

19 years ago2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 8 Apr 2005 21:28:40 +0000 (21:28 -0000)]
2005-04-08  Lluis Sanchez Gual <lluis@novell.com>

* DetailsView.cs: Initial implementation.
* ObjectDataSourceView.cs: Notify changes in the parameters.
* DetailsViewDeletedEventArgs.cs, DetailsViewUpdatedEventArgs.cs,
  DetailsViewDeleteEventArgs.cs, DetailsViewUpdateEventArgs.cs:
  Implemented some properties.
* GridView.cs: Added null check in SelectedValue. Don't return null
  for empty DataKeyNames list.
* DetailsViewRowCollection.cs: Implemented.
* DetailsViewRow.cs: Implemented.
* ButtonFieldBase.cs: By default button field don't have headers.
* BoundField.cs: Don't bind header fields.

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

19 years ago2005-04-08 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 8 Apr 2005 21:27:41 +0000 (21:27 -0000)]
2005-04-08  Lluis Sanchez Gual <lluis@novell.com>

* DataSourceView.cs: Added null check.

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

19 years ago2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 8 Apr 2005 20:56:04 +0000 (20:56 -0000)]
2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: moved redirection handling to a proper place.

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

19 years ago2005-04-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 8 Apr 2005 19:41:31 +0000 (19:41 -0000)]
2005-04-08  Sebastien Pouliot  <sebastien@ximian.com>

* tlsmulti.cs: Display the web page if only one URL is supplied. Show
usage if no URL is specified.

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

19 years ago2005-04-08 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Fri, 8 Apr 2005 18:55:38 +0000 (18:55 -0000)]
2005-04-08  Cesar Lopez Nataren  <cnataren@novell.com>

* Literal.cs: Implement the construction of regular expression literal.
* Parser.cs: Pass the proper parent to RegExpLiteral.

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

19 years ago2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 8 Apr 2005 16:34:22 +0000 (16:34 -0000)]
2005-04-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: removed another unused function.

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

19 years agoIgnore the handles tools dir for now
Dick Porter [Fri, 8 Apr 2005 15:35:24 +0000 (15:35 -0000)]
Ignore the handles tools dir for now

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

19 years agoProcess forking and waiting, without using a daemon either.
Dick Porter [Fri, 8 Apr 2005 15:31:21 +0000 (15:31 -0000)]
Process forking and waiting, without using a daemon either.

This implementation has the limitation that processes can only be waited
for by their parent.  Fixing this will need the daemon helper process.

svn path=/branches/dick/io-layer-no-daemon/; revision=42698