mono.git
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 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 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 agopoint to correct path
César Natarén [Fri, 8 Apr 2005 15:20:00 +0000 (15:20 -0000)]
point to correct path

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

19 years agofixes operator
Jordi Mas i Hernandez [Fri, 8 Apr 2005 13:36:49 +0000 (13:36 -0000)]
fixes operator

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

19 years ago * ssapre.c: Fix a subtle bug about availability, and limit SSAPRE
Massimiliano Mantione [Fri, 8 Apr 2005 12:25:16 +0000 (12:25 -0000)]
* ssapre.c: Fix a subtle bug about availability, and limit SSAPRE
so that expressions that don't give much gain are not reduced.
* ssapre.h: Likewise.

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

19 years ago**** Merged r40402-r40410 and r42304 from MCS ****
Martin Baulig [Fri, 8 Apr 2005 11:25:59 +0000 (11:25 -0000)]
**** Merged r40402-r40410 and r42304 from MCS ****

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

19 years agoFix #74510.
Raja R Harinath [Fri, 8 Apr 2005 11:18:16 +0000 (11:18 -0000)]
Fix #74510.
* class.cs (OperatorArrayList.CheckPairedOperators): Skip
operators that had errors reported on them.

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

19 years ago2005-04-08 Ankit Jain <radical@corewars.org>
Raja R Harinath [Fri, 8 Apr 2005 11:01:33 +0000 (11:01 -0000)]
2005-04-08  Ankit Jain  <radical@corewars.org>

Fix #74374.
* main.c (dis_type): Add 'is_nested' and 'forward' arguments.  If
'is_nested', don't emit .namespace directive even if namespace is
set.  If 'forward', print only types.
(dis_types): Update to allow emitting forward declarations.
(disassemble_file): Emit forward declarations if requested.
(main, usage): Add '--forward-decls' argument.
* get.c (get_typedef): When printing a nested type, don't include
the namespace again, even if it is set.

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

19 years ago2005-04-08 Ankit Jain <radical@corewars.org>
Raja R Harinath [Fri, 8 Apr 2005 11:00:31 +0000 (11:00 -0000)]
2005-04-08  Ankit Jain  <radical@corewars.org>

* reflection.c (get_default_param_value_blobs): Add 'types'
parameter to get the types encoded in the constant table.
(mono_param_get_objects): Use the type from the constant table,
not the type of the parameter, when creating default values.
Handle null default values correctly.

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

19 years agoIn ilasm/codegen:
Raja R Harinath [Fri, 8 Apr 2005 10:43:02 +0000 (10:43 -0000)]
In ilasm/codegen:
2005-04-08  Ankit Jain  <radical@corewars.org>

* MethodDef.cs (named_param_table, CreateNamedParamTable): Remove.
(GetNamedParamPos): Implement using a linear scan.

* TypeDef.cs (TypeDef): Initialize 'is_enum_class'.
(Define): Set 'is_value_class' or 'is_enum_class' depending on
whether the parent is System.ValueType or System.Enum.  Update to
changes in PEAPI.cs.

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

* ILParser.jay (type): When parsing K_VALUETYPE, mark the typeref
as a value type.
(field_init): The float32 and float64 constructor argument is
the hex representation, not the integer equivalent value.

In class/PEAPI:
2005-04-08  Ankit Jain  <radical@corewars.org>

* PEAPI.cs (MSCorLib.GetSpecialClass): Don't encode
System.ValueType and System.Enum as value types.
(ValueClass): New enum.
(Class.MakeValueClass): Add a 'ValueClass' parameter.
(ClassDef.MakeValueClass): Set supertype to ValueType or Enum
according to ValueClass parameter.
(IsValueType,IsEnum): New.  Test if type is System.ValueType or
System.Enum.
(ClassDef.AddNestedClass): Don't encode System.ValueType and
System.Enum as value types.

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

19 years agonew error tests
Marek Safar [Fri, 8 Apr 2005 10:35:51 +0000 (10:35 -0000)]
new error tests

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

19 years ago2005-04-08 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 8 Apr 2005 10:32:50 +0000 (10:32 -0000)]
2005-04-08  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (Attribute.IsValidArgumentType): Test valid named
argument types.
(Attribute.Resolve): Add named argument type checking.

* class.cs (FixedField.Define): Use IsPrimitiveType

* expression.cs (Binary.ResolveOperator): Reflect IsCLRType renaming.

* iterators.cs (Iterator.DefineIterator): Add check for arglist and
unsafe parameter types.

* statement.cs (Using.ResolveExpression): Add better error description.

* typemanager.cs (IsCLRType): Renamed to IsPrimitiveType.

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

19 years ago* Makefile (EXTRA_DISTFILES): Add app_test_2.0.config.
Raja R Harinath [Fri, 8 Apr 2005 09:31:28 +0000 (09:31 -0000)]
* Makefile (EXTRA_DISTFILES): Add app_test_2.0.config.

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

19 years agoIn mcs:
Raja R Harinath [Fri, 8 Apr 2005 09:12:02 +0000 (09:12 -0000)]
In mcs:
Fix #74484.
* attribute.cs (Attribute.GetAttributeUsage): Resolve
AttributeUsageAttribute in the emitcontext of the attribute class,
not in the emitcontext of the attributable entity it was attached to.
* cs-parser.jay: Use 'current_class', not 'current_container',
when creating a GlobalAttribute.

In tests:
* test-361.cs, test-361-2.cs: New test from #74484.

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

19 years ago* profiles/basic.make (do-profile-check): Handle some possible
Raja R Harinath [Fri, 8 Apr 2005 09:06:22 +0000 (09:06 -0000)]
* profiles/basic.make (do-profile-check): Handle some possible
timestamp problems.  Hopefully fix #74280.

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

19 years ago* FieldInfoTest.cs (RefOnlyFieldClass): Rename from RefOnlyClass.
Raja R Harinath [Fri, 8 Apr 2005 08:41:26 +0000 (08:41 -0000)]
* FieldInfoTest.cs (RefOnlyFieldClass): Rename from RefOnlyClass.
* MethodInfoTest.cs (RefOnlyMethodClass): Rename from RefOnlyClass.

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

19 years ago* Makefile (EXTRA_DISTFILES): Add support file Test/.../InstallerAssembly.cs.
Raja R Harinath [Fri, 8 Apr 2005 08:33:51 +0000 (08:33 -0000)]
* Makefile (EXTRA_DISTFILES): Add support file Test/.../InstallerAssembly.cs.

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

19 years ago* cs0535-3.cs: New test from #58413.
Raja R Harinath [Fri, 8 Apr 2005 08:22:49 +0000 (08:22 -0000)]
* cs0535-3.cs: New test from #58413.

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

19 years ago2004-04-08 James Willcox <james@ximian.com>
James Willcox [Fri, 8 Apr 2005 05:46:41 +0000 (05:46 -0000)]
2004-04-08  James Willcox  <james@ximian.com>

        * mkbundle.cs: add a --static flag for statically linking to
        * libmono

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

19 years ago2005-04-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 8 Apr 2005 04:51:53 +0000 (04:51 -0000)]
2005-04-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* AssemblyTest.cs: Added tests for ReflectionOnly support.
* MethodInfoTest.cs: Added test for Reflection Only support.
* FieldInfoTest.cs: Added tests for ReflectionOnly support.

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

19 years ago2005-04-08 Alp Toker <alp@atoker.com>
Alp Toker [Fri, 8 Apr 2005 00:32:15 +0000 (00:32 -0000)]
2005-04-08  Alp Toker  <alp@atoker.com>

        * pending.cs: The fix to #58413 failed to compile methods implementing
        interfaces with/without params modifiers and vice versa, even though
        params modifiers aren't part of the signature. Make the modifier check
        less strict as in csc.

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

19 years ago2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 8 Apr 2005 00:21:29 +0000 (00:21 -0000)]
2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* io-private.h:
* threads.c:
* threads.h:
* io.c:
* sockets.c:
* sockets.h: removed dead code that deals with async IO.

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

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

* file-io.c:
* file-io.h:
* threadpool.c:
* threadpool.h:
* icall.c:
* socket-io.c: removed dead code for async IO.

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

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

* configure.in: no more checks for aio_*.

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

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

* FileStream.cs:
* MonoIO.cs: remove dead code related to async IO.

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

19 years ago2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 8 Apr 2005 00:15:49 +0000 (00:15 -0000)]
2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ThreadPool.cs: BindHandle does nothing now.

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

19 years ago2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 7 Apr 2005 23:47:56 +0000 (23:47 -0000)]
2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Thread.cs: clear the Unstarted bit before calling Start_internal.
Fixes bug #72738.

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

19 years agomore windows magic
Gonzalo Paniagua Javier [Thu, 7 Apr 2005 23:00:24 +0000 (23:00 -0000)]
more windows magic

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

19 years agocygwin complained
Gonzalo Paniagua Javier [Thu, 7 Apr 2005 22:37:33 +0000 (22:37 -0000)]
cygwin complained

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

19 years ago2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 7 Apr 2005 22:26:55 +0000 (22:26 -0000)]
2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Socket.cs: added SocketOperation enum and 2 new fields to
SocketAsyncResult that are used by the runtime. Asynchronous read/write
are serialized so that only 1 of each kind is really 'active'.
Handle non-blocking connects in BeginConnect instead of doing 2 Poll()
in the threadpool.

* NetworkStream.cs: better message for the exception.

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

19 years ago2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 7 Apr 2005 22:26:48 +0000 (22:26 -0000)]
2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* socket-io.h: 2 more fields in MonoSocketAsyncResult.

* threadpool.c: intercept socket async. calls and pass them to a thread
that is polling and dispatching the job items to the threadpool as
socket become ready. Fixes bugs #71217, #71933.

* icall.c: Removed AsyncReceive and AsyncSend. Speed up for copies
between char and short/ushort arrays.

* socket-io.c: remove dead code.

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

19 years agofix the build on windows
Gonzalo Paniagua Javier [Thu, 7 Apr 2005 22:21:12 +0000 (22:21 -0000)]
fix the build on windows

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

19 years agofix build
Gonzalo Paniagua Javier [Thu, 7 Apr 2005 21:16:33 +0000 (21:16 -0000)]
fix build

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

19 years agoforgot this
Gonzalo Paniagua Javier [Thu, 7 Apr 2005 20:03:56 +0000 (20:03 -0000)]
forgot this

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

19 years ago2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 7 Apr 2005 20:03:43 +0000 (20:03 -0000)]
2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebHeaderCollection.cs: added if-modified-since to the list of
restricted headers.

* ServicePoint.cs: use a field object when locking.

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

19 years ago2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 7 Apr 2005 19:59:25 +0000 (19:59 -0000)]
2005-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: ForceCompletion actually calls NextRead. No
need to wait for a Close/ReadAll when we have no content.

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

19 years ago2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 7 Apr 2005 16:13:16 +0000 (16:13 -0000)]
2005-04-07  Lluis Sanchez Gual <lluis@novell.com>

* DataRowCollection.cs: Fix the signature of the Add method
for NET_2_0.

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

19 years ago2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 7 Apr 2005 16:08:08 +0000 (16:08 -0000)]
2005-04-07  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/ObjectDataSourceFilteringEventArgs.cs
System.Web.UI.WebControls/ObjectDataSourceFilteringEventHandler.cs

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

19 years ago2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 7 Apr 2005 16:02:36 +0000 (16:02 -0000)]
2005-04-07  Lluis Sanchez Gual <lluis@novell.com>

* ButtonField.cs: Get data item properties using TypeDescriptor.
Made OnDataBindField private.
* ObjectDataSourceView.cs: Implemented support for Delete and
Insert operations, support for filtering and sorting,
conflict detection, etc. It's now complete.
* ObjectDataSource.cs: Completed most of functionality. Only
caching support is missing.
* ObjectDataSourceFilteringEventHandler.cs: New event handler.
* TreeNode.cs: Get data item properties using TypeDescriptor.
* PagerSettings.cs: Flush.
* ObjectDataSourceFilteringEventArgs.cs: New event args.
* GridView.cs: Get data item properties using TypeDescriptor
and cache them. Properly set descending order in the sort
expression. In UpdateRow, make sure we get the old values
before the control is bound again.
* ImageField.cs: Implemented.
* AutoGeneratedField.cs: Initialize the field's sort
expression in the constructor.
* MenuItem.cs: Get data item properties using TypeDescriptor.
* BoundField.cs: Get data item properties using TypeDescriptor.
* CheckBoxField.cs: Added missing attributes.
* TemplateField.cs: Implemented.

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

19 years ago2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 7 Apr 2005 16:00:05 +0000 (16:00 -0000)]
2005-04-07  Lluis Sanchez Gual <lluis@novell.com>

* TemplateControl.cs:
* Page.cs: Moved Eval and XPath from Page
to TemplateControl.
* StateManagedCollection.cs: Avoid saving null state.

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

19 years ago2005-04-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 7 Apr 2005 15:51:33 +0000 (15:51 -0000)]
2005-04-07  Sebastien Pouliot  <sebastien@ximian.com>

* SslCipherSuite.cs: Fix calculation (sequence number) for the server
side stream. Patch by Brian Ritchie.

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

19 years agostatus update and work to do on testing.
Sureshkumar T [Thu, 7 Apr 2005 14:44:37 +0000 (14:44 -0000)]
status update and work to do on testing.

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

19 years ago * errno.c: Use the GNU version of strerror_r if _GNU_SOURCE is defined
Jonathan Pryor [Thu, 7 Apr 2005 14:29:52 +0000 (14:29 -0000)]
  * errno.c: Use the GNU version of strerror_r if _GNU_SOURCE is defined
    (otherwise assume existence of XPG variant).  This allows proper
    compilation under Red Hat 9.
  * fstab.c: protect against users calling setfsent(), setfsent(), ...
    endfsent(), which would otherwise leak a FILE handle.

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

19 years agoIn System.Data/System.Data.SqlClient: Implemented asynchronous command execution.
Sureshkumar T [Thu, 7 Apr 2005 14:25:50 +0000 (14:25 -0000)]
In System.Data/System.Data.SqlClient: Implemented asynchronous command execution.
In Mono.Data.Tds: Implemented asynchronous command execution at tds driver level.

Implemented by Sureshkumar T  <tsureshkumar@novell.com> &  Ankit Jain  <radical@corewars.org>

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