mono.git
19 years ago2005-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 10 Jun 2005 20:26:08 +0000 (20:26 -0000)]
2005-06-10  Zoltan Varga  <vargaz@freemail.hu>

* basic-long.cs: Add tests for add/sub.ovf.

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

19 years ago2005-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 10 Jun 2005 19:02:59 +0000 (19:02 -0000)]
2005-06-10  Zoltan Varga  <vargaz@freemail.hu>

* basic.cs: Add tests for sub.ovf.

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

19 years ago* VBCodeProviderTest.cs: improved reporting of test failures as a result
Gert Driesen [Fri, 10 Jun 2005 18:49:21 +0000 (18:49 -0000)]
* VBCodeProviderTest.cs: improved reporting of test failures as a result
of compile errors. Added ICodeGenerator.Supports tests for .NET 2.0.

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

19 years ago* VBCodeProviderTest.cs: Removed unnecessary asserts, added test for
Gert Driesen [Fri, 10 Jun 2005 18:05:09 +0000 (18:05 -0000)]
* VBCodeProviderTest.cs: Removed unnecessary asserts, added test for
ICodeGenerator.Supports.

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

19 years ago2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jun 2005 17:53:44 +0000 (17:53 -0000)]
2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnection.cs:
* HttpWebRequest.cs:
* WebConnectionStream.cs: initiate the polling for input data after
sending the header so that we detect any response that the server sends
back even if we're still trying to write the request for a POST/PUT.
If we get the response (or an error) before any one calls GetResponse(),
keep it around instead of ignoring it.

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

19 years ago2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jun 2005 17:41:46 +0000 (17:41 -0000)]
2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Convert.cs: FromBase64String and FromBase64CharArray are now internal
calls to avoid extra allocations.

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

19 years ago2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jun 2005 17:39:58 +0000 (17:39 -0000)]
2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: added internal calls for converting char [] and strings in
base64 into byte [].

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

19 years ago2005-06-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 10 Jun 2005 17:39:16 +0000 (17:39 -0000)]
2005-06-10  Atsushi Enomoto  <atsushi@ximian.com>

* Collection.cs : csc build fix.

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

19 years ago* corlib_test.dll.sources: Added unit tests for System.Security. Policy.StrongNameMem...
Sebastien Pouliot [Fri, 10 Jun 2005 17:14:48 +0000 (17:14 -0000)]
* corlib_test.dll.sources: Added unit tests for System.Security. Policy.StrongNameMembershipCondition.

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

19 years ago* Makefile (centum_tests): Added System.Security.
Sebastien Pouliot [Fri, 10 Jun 2005 16:47:02 +0000 (16:47 -0000)]
* Makefile (centum_tests): Added System.Security.

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

19 years agoNotWorking stuff
Ben Maurer [Fri, 10 Jun 2005 16:45:59 +0000 (16:45 -0000)]
NotWorking stuff

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

19 years agoForgot 2 ComVisible
Sebastien Pouliot [Fri, 10 Jun 2005 16:43:46 +0000 (16:43 -0000)]
Forgot 2 ComVisible

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

19 years agotag stuff noworking
Ben Maurer [Fri, 10 Jun 2005 16:41:44 +0000 (16:41 -0000)]
tag stuff noworking

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

19 years ago2005-06-10 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Fri, 10 Jun 2005 16:37:42 +0000 (16:37 -0000)]
2005-06-10  Ben Maurer  <bmaurer@ximian.com>

* FileTest.cs: Fix gonz's typo. Also, clean stuff up by using the
temp file api, rather than our own hack.

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

19 years agoSmall fix; correctly handle generic instances when reporting unused
Martin Baulig [Fri, 10 Jun 2005 16:22:59 +0000 (16:22 -0000)]
Small fix; correctly handle generic instances when reporting unused
fields.

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

19 years agoNew test.
Martin Baulig [Fri, 10 Jun 2005 15:53:17 +0000 (15:53 -0000)]
New test.

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

19 years ago2005-06-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 10 Jun 2005 15:51:31 +0000 (15:51 -0000)]
2005-06-10  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_create_generic_2): Read the nested classes
from the metadata rather than from `gklass->nested_classes' since
`gklass' might not be initialized yet.

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

19 years ago2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 10 Jun 2005 15:41:51 +0000 (15:41 -0000)]
2005-06-10  Lluis Sanchez Gual <lluis@novell.com>

* services.xml: Disable some tests on external services
since they are very unreliable.

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

19 years ago2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 10 Jun 2005 15:32:53 +0000 (15:32 -0000)]
2005-06-10  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: New files:
System.Web.Security/MembershipValidatePasswordEventHandler.cs
System.Web.Security/ValidatePasswordEventArgs.cs

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

19 years ago2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 10 Jun 2005 15:30:39 +0000 (15:30 -0000)]
2005-06-10 Lluis Sanchez Gual <lluis@novell.com>

* MembershipUserCollection.cs:
* MembershipPasswordException.cs:
* RoleProviderCollection.cs:
* ActiveDirectoryMembershipProvider.cs:
* SqlMembershipProvider.cs:
* MembershipProvider.cs:
* SqlRoleProvider.cs:
* Membership.cs:
* MembershipUser.cs:
* MembershipProviderCollection.cs:
* Roles.cs:.
* RoleProvider.cs: Track api changes in ASP.NET 2.0. Implemented
some missing methods.

* AccessRoleProvider.cs:
* AccessMembershipProvider.cs: Removed.

* MembershipCreateUserException.cs:
* MembershipValidatePasswordEventHandler.cs:
* ValidatePasswordEventArgs.cs: Implemented.

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

19 years ago2005-06-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 10 Jun 2005 15:29:36 +0000 (15:29 -0000)]
2005-06-10  Lluis Sanchez Gual <lluis@novell.com>

* AdType.cs:
* ImageFieldMode.cs:
* DynamicImageParameterMode.cs:
* TableViewMode.cs: Removed.

* SortDirection.cs:
* AdRotator.cs:
* TableRowSection.cs:
* AutoCompleteType.cs:
* DayNameFormat.cs: Track changes in 2.0 api.

* StringArrayConverter.cs: This class is 2.0 only.

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

19 years ago2005-06-10 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 10 Jun 2005 14:45:37 +0000 (14:45 -0000)]
2005-06-10  Peter Bartok  <pbartok@novell.com>

* Control.cs(Select): Moved SetFocus call to avoid potential
  loops if controls change the active control when getting focus
* UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  the up/down buttons

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

19 years ago2005-06-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 10 Jun 2005 14:42:08 +0000 (14:42 -0000)]
2005-06-10  Sebastien Pouliot  <sebastien@ximian.com>

* all: 2.0 beta2 fixes, i.e. mostly added [ComVisible(true)]

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

19 years ago2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
Peter Dennis Bartok [Fri, 10 Jun 2005 14:23:20 +0000 (14:23 -0000)]
2005-06-10  Matthias Felgner  <matthiasf@voelcker.ocm>

* ImageListConverter.cs: Implemented

2005-06-10  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Add ImageListConverter.cs
* SWF.csproj: Updated

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

19 years ago* interpreter.cs (Interpreter.GenerateMatch): Avoid allocating two
Raja R Harinath [Fri, 10 Jun 2005 13:54:07 +0000 (13:54 -0000)]
* interpreter.cs (Interpreter.GenerateMatch): Avoid allocating two
intermediate arrays to build the final result.
(Interpreter.GetGroupInfo, Interpreter.PopulateGroup): New helper
functions.
* CaptureCollection.cs (list): Change from ArrayList to list.
(SetValue): New internal helper, used by Interpreter.PopulateGroup.
(Enumerator): Remove helper class.
(IEnumerator.GetEnumerator): Just use list.GetEnumerator.
* GroupCollection.cs: Likewise.
* Group.cs (Group): Move responsibility of populating 'Captures'
to Interpreter.PopulateGroup.
* Match.cs (Match): Move responsibility of populating 'Groups' to
Interpreter.GenerateMatch.

This reduced the time for 100000 iterations of the 'regex'[1] benchmark
from 63s to 53s.

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

19 years ago2005-06-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 10 Jun 2005 12:28:11 +0000 (12:28 -0000)]
2005-06-10  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSetTest.cs: Added tests for GetPermission with null and
when using a subclass of a permission. Also some new (not working)
tests for NET_2_0.

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

19 years agoCommitting a patch from Kamil Skalski <nazgul@nemerle.org>
Martin Baulig [Fri, 10 Jun 2005 12:24:59 +0000 (12:24 -0000)]
Committing a patch from Kamil Skalski <nazgul@nemerle.org>
containing some .NET 2.0 updates.

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

19 years ago2005-06-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 10 Jun 2005 11:59:24 +0000 (11:59 -0000)]
2005-06-10  Sebastien Pouliot  <sebastien@ximian.com>

* StrongNameMembershipConditionTest.cs: New. Unit tests for
StrongNameMembershipCondition.
* StrongNameTest.cs: Added test case for empty name.

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

19 years ago - MonthCalendar.cs: Wired in NumericUpDown control for year
John BouAntoun [Fri, 10 Jun 2005 11:47:53 +0000 (11:47 -0000)]
 - MonthCalendar.cs: Wired in NumericUpDown control for year

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

19 years agosvn path=/trunk/mcs/; revision=45746
Sebastien Pouliot [Fri, 10 Jun 2005 11:09:35 +0000 (11:09 -0000)]
svn path=/trunk/mcs/; revision=45746

19 years ago2005-06-10 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 10 Jun 2005 10:50:07 +0000 (10:50 -0000)]
2005-06-10  Sebastien Pouliot  <sebastien@ximian.com>

* StrongNamePublicKeyBlob.cs: Reduce casts in Equals.

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

19 years ago2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jun 2005 10:46:12 +0000 (10:46 -0000)]
2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpSoapWebServiceHandler.cs: use the HttpResponse.BufferOutput
instead of our own MemoryStream when buffering is enabled. Flush the
response instead of closing it, as that allows for Content-Length to
be sent from HttpResponse and helps reusing connections.

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

19 years ago2005-06-10 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Fri, 10 Jun 2005 10:10:46 +0000 (10:10 -0000)]
2005-06-10  Joerg Rosenkranz  <joergr@voelcker.com>

        * mono-service.cs: Removed AutoResetEvent code from signal
        handler because it was unsafe and not guaranteed to work.
        Use polling in main loop instead.
        Use signal functions from Mono.Unix instead of self defined
ones.

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

19 years ago2005-05-10 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 10 Jun 2005 10:10:35 +0000 (10:10 -0000)]
2005-05-10  Lluis Sanchez Gual <lluis@novell.com>

* SoapTypeMapper.cs: Serialize floats and doubles using the correct
precision. Patch by Roei Erez that fixes bug #75196.

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

19 years agoTo Support other types of source in Mid statement
Manjula GHM [Fri, 10 Jun 2005 09:37:39 +0000 (09:37 -0000)]
To Support other types of source in Mid statement

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

19 years agoTo Support Optional max. insert length value in Mid statement
Manjula GHM [Fri, 10 Jun 2005 08:57:00 +0000 (08:57 -0000)]
To Support Optional max. insert length value in Mid statement

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

19 years ago2005-06-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 10 Jun 2005 08:09:01 +0000 (08:09 -0000)]
2005-06-11  Atsushi Enomoto  <atsushi@ximian.com>

* CJK/CP932.cs : more PrivateUse. Compute them precisely.

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

19 years ago- MonthCalendar.cs: Removed MonoTodo attributes on Click and
John BouAntoun [Fri, 10 Jun 2005 08:05:27 +0000 (08:05 -0000)]
- MonthCalendar.cs: Removed MonoTodo attributes on Click and
  DoubleClick events, since they are not meant to be fired.

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

19 years ago2005-06-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 10 Jun 2005 07:48:56 +0000 (07:48 -0000)]
2005-06-11  Atsushi Enomoto  <atsushi@ximian.com>

* CJK/CP932.cs : PrivateUse was not mapped.

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

19 years ago2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 10 Jun 2005 06:43:14 +0000 (06:43 -0000)]
2005-06-10  Sureshkumar T  <tsureshkumar@novell.com>
* DataRow.cs: CopyValuesToRow: if orginal == current, don't create
a new current record.
* DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.

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

19 years ago2005-06-10 Duncan Mak <duncan@novell.com>
Duncan Mak [Fri, 10 Jun 2005 05:58:45 +0000 (05:58 -0000)]
2005-06-10  Duncan Mak  <duncan@novell.com>

* cs-tokenizer.cs (process_directives): New flag for controlling
the processing of preprocessor directives.
(x_token): After seeing a '#', return Token.NONE instead of going
to handle_preprocessing_directive() when not processing
directives. This avoids unnecessary processing during the token peek in
is_punct().

This fixes #74939.

* cs-tokenizer.cs (handle_preprocessing_directive, xtoken):
Use the existing error reporting methods instead of
Report.Error.

* convert.cs (priv_fmt_expr): Remove. It's not needed anymore
after Raja's rewrite.

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

19 years ago2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 10 Jun 2005 05:14:06 +0000 (05:14 -0000)]
2005-06-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: avoid one intermediate buffer when reading the request
body and fail for over limit content length when the content type is
not handled as form or multipart data.

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

19 years ago* VBCodeCompiler.cs:
Gert Driesen [Fri, 10 Jun 2005 04:57:38 +0000 (04:57 -0000)]
* VBCodeCompiler.cs:
  - ArgumentException was thrown when more than one file/source or
    CodeCompileUnit is built.
  - Temporary files are not cleaned up after compilation.
* VBCodeProviderTest.cs:
  - Added batch of tests that check whether temporary files are cleaned up.
  - Compile multiple sources, CodeCompileUnits and files.
  - Use separate AppDomain for tests that actually load compiled assembly,
    to ensure no test output is left on the system.

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

19 years ago* TraceTest.cs: Fixed test failure.
Gert Driesen [Fri, 10 Jun 2005 04:52:21 +0000 (04:52 -0000)]
* TraceTest.cs: Fixed test failure.

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

19 years agoAllow New Date assignment to other types
Manjula GHM [Fri, 10 Jun 2005 04:46:58 +0000 (04:46 -0000)]
Allow New Date assignment to other types

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

19 years ago2005-06-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 10 Jun 2005 04:09:52 +0000 (04:09 -0000)]
2005-06-10  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetReadXmlSchemaTest.cs : TestSampleFileImportSimple() is not
  working and it takes so much time (downloading), so just disable it.

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

19 years ago2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Fri, 10 Jun 2005 04:09:49 +0000 (04:09 -0000)]
2005-06-10  Sureshkumar T  <tsureshkumar@novell.com>

* MergeManager.cs: Temporarily disable EnforceConstraints while
doing a dataset Merge. Patch from george.barbarosie@gmail.com
(George Barbarosie).

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

19 years ago2005-06-09 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 10 Jun 2005 04:04:10 +0000 (04:04 -0000)]
2005-06-09  Peter Bartok  <pbartok@novell.com>

* UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  Jonathan's standalone controls into MWF, implemented missing
  events, attributes and methods; added xxxAccessible classes
* AccessibleObject.cs: Made fields internal so other classes
  can change them if needed

2005-06-09  Jonathan Gilbert  <2a5gjx302@sneakemail.com>

* UpDownBase.cs: Complete implementation
* NumericUpDown.cs: Complete implementation
* DomainUpDown.cs: Complete implementation

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

19 years ago2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Jun 2005 23:23:28 +0000 (23:23 -0000)]
2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebServiceHelper.cs: don't even try to read the response if its length
is known to be 0.

* SoapHttpClientProtocol.cs: for successful responses on methods that
are not one-way, don't return immediately if the content length is 0 so
that the check for Content-Type takes place.

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

19 years ago2005-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 9 Jun 2005 22:32:47 +0000 (22:32 -0000)]
2005-06-10  Zoltan Varga  <vargaz@freemail.hu>

* *-ia64.*: Ongoing IA64 work.

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

19 years ago2005-06-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 9 Jun 2005 20:23:06 +0000 (20:23 -0000)]
2005-06-09  Zoltan Varga  <vargaz@freemail.hu>

* *-ia64.*: Ongoing IA64 work.

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

19 years ago2005-06-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 9 Jun 2005 20:22:08 +0000 (20:22 -0000)]
2005-06-09  Zoltan Varga  <vargaz@freemail.hu>

* ia64/ia64-codegen.h: Ongoing IA64 work.

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

19 years ago2005-06-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 9 Jun 2005 20:11:38 +0000 (20:11 -0000)]
2005-06-09  Zoltan Varga  <vargaz@freemail.hu>

* basic.cs: Add conv.ovf.i4.un test.

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

19 years ago2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Thu, 9 Jun 2005 18:28:35 +0000 (18:28 -0000)]
2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>

* DataView.cs: fixes GetListName

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

19 years ago2005-06-09 Duncan Mak <duncan@novell.com>
Duncan Mak [Thu, 9 Jun 2005 17:45:32 +0000 (17:45 -0000)]
2005-06-09  Duncan Mak  <duncan@novell.com>

* *.h: Added G_BEGIN_DECLS and G_END_DECLS where appropriate to
all public headers. Fixes #74919. r=zoltan.

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

19 years agowarnings
Ben Maurer [Thu, 9 Jun 2005 17:35:29 +0000 (17:35 -0000)]
warnings

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

19 years agore-disable stuff
Ben Maurer [Thu, 9 Jun 2005 17:32:16 +0000 (17:32 -0000)]
re-disable stuff

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

19 years agofix freeze
Ben Maurer [Thu, 9 Jun 2005 17:30:14 +0000 (17:30 -0000)]
fix freeze

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

19 years ago2005-06-09 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 9 Jun 2005 17:06:31 +0000 (17:06 -0000)]
2005-06-09  Ben Maurer  <bmaurer@ximian.com>

* configure.in: Handle more gracefully if objdump or X isn't
there. Warn the user about possible breakage.

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

19 years ago* TraceImpl.cs: Adjust internal indentlevel and indentsize before passing on
Gert Driesen [Thu, 9 Jun 2005 15:30:00 +0000 (15:30 -0000)]
* TraceImpl.cs: Adjust internal indentlevel and indentsize before passing on
to listeners. Fixes some test failures.

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

19 years ago2005-06-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 9 Jun 2005 15:16:58 +0000 (15:16 -0000)]
2005-06-09  Lluis Sanchez Gual  <lluis@novell.com>

* domain.c: The key for proxy_vtable_hash is now a pointer
array. Added new GHashFunc and GCompareFunc functions for this.

* class.h: The list of interfaces in MonoRemoteClass is known in
advance and can't grow (we create a new MonoRemoteClass if needed),
so now the interface array can be allocated together with
MonoRemoteClass.

* object.c: Added a new method create_remote_class_key.
Fixed mono_remote_class so it does not depend on
mono_upgrade_remote_class.
Removed extend_interface_array.
Added new method clone_remote_class(), which makes a copy of a remote
class and adds a new interface or class to it.
mono_upgrade_remote_class() now creates a new remote class (or gets
it from the cache) if an vtable upgrade is needed. In this way
we make sure that other objects sharing the same remote class
don't get the new vtable with unwanted interfaces.

* object-internals.h:
* object.h: Moved mono_upgrade_remote_class to object-internals.h.

* marshal.c: Track changes in mono_upgrade_remote_class().

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

19 years agoFix the list of known failures
Andrew Skiba [Thu, 9 Jun 2005 14:38:58 +0000 (14:38 -0000)]
Fix the list of known failures

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

19 years ago2005-06-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 9 Jun 2005 14:38:34 +0000 (14:38 -0000)]
2005-06-09  Sebastien Pouliot  <sebastien@ximian.com>

* HMAC.cs: BlockSizeValue has changed from a protected member to
a protected property.

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

19 years agoSimplify Enumerator.MoveNext to make it "obviously correct", rather
Raja R Harinath [Thu, 9 Jun 2005 14:34:47 +0000 (14:34 -0000)]
Simplify Enumerator.MoveNext to make it "obviously correct", rather
than require subtle reasoning about the state of various variables.
* Dictionary.cs (Enumerator._isValid): Remove.  Replace all uses
with "_current == null".
(Enumerator._validNodeVisited): Remove.
(Enumerator._next): New.  Holds the the next position.
(Enumerator.FixNest): New helper function that ensures that _next
has the right value.
(Enumerator.MoveNext): Simplify.  Now, copies _next to _current
and advances _next if possible.

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

19 years agoforgot a few of them...
Sebastien Pouliot [Thu, 9 Jun 2005 14:09:11 +0000 (14:09 -0000)]
forgot a few of them...

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

19 years agoReverted the patch.
Martin Baulig [Thu, 9 Jun 2005 13:42:34 +0000 (13:42 -0000)]
Reverted the patch.
Next time please send me a patch which actually compiles.

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

19 years agoOoops.
Martin Baulig [Thu, 9 Jun 2005 13:33:29 +0000 (13:33 -0000)]
Ooops.

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

19 years agoOoops.
Martin Baulig [Thu, 9 Jun 2005 13:26:06 +0000 (13:26 -0000)]
Ooops.

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

19 years agoCommitting a patch from Kamil Skalski <nazgul@nemerle.org>
Martin Baulig [Thu, 9 Jun 2005 13:17:47 +0000 (13:17 -0000)]
Committing a patch from Kamil Skalski <nazgul@nemerle.org>
containing some .NET 2.0 updates.

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

19 years ago2005-06-08 Kamil Skalski <nazgul@nemerle.org>
Martin Baulig [Thu, 9 Jun 2005 13:14:51 +0000 (13:14 -0000)]
2005-06-08  Kamil Skalski <nazgul@nemerle.org>
* icall.c: Add runtime methods for obtaining members of inflated
class, which were created from supplied non-inflated members. It
is used in internal Get{Method,Constructor,Field} methods in
System.Type

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

19 years agoNew test.
Martin Baulig [Thu, 9 Jun 2005 13:07:58 +0000 (13:07 -0000)]
New test.

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

19 years ago2005-06-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 9 Jun 2005 13:04:19 +0000 (13:04 -0000)]
2005-06-09  Martin Baulig  <martin@ximian.com>

* delegate.cs (Delegate.VerifyMethod): Added
`MethodGroupExpr old_mg' argument; inherit its
`HasTypeParameters'; fix #75085.

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

19 years ago2005-06-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 9 Jun 2005 12:43:04 +0000 (12:43 -0000)]
2005-06-09  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Bump security tools version to 1.1.8.

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

19 years ago2005-06-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 9 Jun 2005 12:04:38 +0000 (12:04 -0000)]
2005-06-09  Zoltan Varga  <vargaz@freemail.hu>

* CustomAttributeData.cs EventInfo.cs Assembly.cs: Updates for net 2.0 beta 2.

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

19 years ago2005-06-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 9 Jun 2005 12:01:33 +0000 (12:01 -0000)]
2005-06-09  Martin Baulig  <martin@ximian.com>

* expression.cs (Invocation.OverloadResolve): Correctly handle
generic methods for the SetMemberIsUsed(); fix #75064.

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

19 years ago * make-map.cs: Look for [Obsolete] members, and mark the UnixConvert
Jonathan Pryor [Thu, 9 Jun 2005 11:54:07 +0000 (11:54 -0000)]
  * make-map.cs: Look for [Obsolete] members, and mark the UnixConvert
    conversion functions with the same [Obsolete] message.  This should permit
    more graceful deprecation of enumerations in the future (rather than just
    API breaks).

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

19 years ago2005-06-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 9 Jun 2005 11:35:57 +0000 (11:35 -0000)]
2005-06-09  Martin Baulig  <martin@ximian.com>

* statement.cs (Throw.Resolve): Use TypeManager.IsSubclassOf();
fixes #75062.

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

19 years ago2005-06-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 9 Jun 2005 11:14:40 +0000 (11:14 -0000)]
2005-06-09  Martin Baulig  <martin@ximian.com>

* reflection.c
(mono_reflection_bind_generic_method_parameters): Fix #75169.

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

19 years agoNew test.
Martin Baulig [Thu, 9 Jun 2005 11:12:52 +0000 (11:12 -0000)]
New test.

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

19 years ago2005-06-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 9 Jun 2005 11:12:35 +0000 (11:12 -0000)]
2005-06-09  Sebastien Pouliot  <sebastien@ximian.com>

* all: Added ComVisible(true) and some Obsolete attributes for NET_2_0

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

19 years ago2005-06-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 9 Jun 2005 10:38:09 +0000 (10:38 -0000)]
2005-06-09  Zoltan Varga  <vargaz@freemail.hu>

* *.cs: Updates for net 2.0 beta 2.

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

19 years ago2005-06-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 9 Jun 2005 10:35:16 +0000 (10:35 -0000)]
2005-06-09  Zoltan Varga  <vargaz@freemail.hu>

* ModuleHandle RuntimeMethodHandle.cs RuntimeTypeHandle.cs RuntimeFieldHandle.cs RuntimeArgumentHandle.cs: Add missing 2.0 attributes.

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

19 years ago2005-06-09 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Thu, 9 Jun 2005 10:30:34 +0000 (10:30 -0000)]
2005-06-09  Sureshkumar T  <tsureshkumar@novell.com>

* System.Data.Odbc/OdbcDataReader.cs: GetValue (): return decimal in case of odbc
type Numeric. Move the temp buffer logic inside.

* System.Data.Odbc/OdbcTypeConverter.cs: map SQL_TYPE.NUMERIC to SQL_C_TYPE.CHAR by
now, since PgSql driver seems not to accept NUMERIC c type. Other
database anyway, provides NUMERIC datatype as DECIMAL.

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

19 years ago2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Thu, 9 Jun 2005 09:18:22 +0000 (09:18 -0000)]
2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridTextBoxColumn.cs: drawing fixes
* DataGridCell.cs: fixes ToString method to match MSNet
* DataGridTableStyle.cs: fixes
* DataGridBoolColumn.cs: fixes, drawing
* DataGridDrawingLogic.cs: fixes, new methods
* DataGridTextBox.cs: Keyboard and fixes
* DataGrid.cs:
- Keyboard navigation
- Scrolling fixes
- Row selection (single, multiple, deletion, etc)
- Lots of fixes

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

19 years agoTARGET_JVM for roundtrip bug
Andrew Skiba [Thu, 9 Jun 2005 09:11:06 +0000 (09:11 -0000)]
TARGET_JVM for roundtrip bug

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

19 years ago * mini.c: (remove_block_if_useless) Fixed bug 75061.
Massimiliano Mantione [Thu, 9 Jun 2005 08:58:26 +0000 (08:58 -0000)]
* mini.c: (remove_block_if_useless) Fixed bug 75061.

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

19 years ago2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 9 Jun 2005 08:12:06 +0000 (08:12 -0000)]
2005-06-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponse.cs: fix the check in Close() so that CloseConnection is
called even if there has been no final Flush. Fixes bug #75176.

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

19 years ago2005-06-09 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 9 Jun 2005 06:12:45 +0000 (06:12 -0000)]
2005-06-09  Marek Safar  <marek.safar@seznam.cz>

* compiler-tester: Add process test runner to cope with
too many files in AppDomain(s).

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

19 years ago* CodeGeneratorFromCompileUnitTest.cs: added test for bug #75190.
Gert Driesen [Thu, 9 Jun 2005 05:39:39 +0000 (05:39 -0000)]
* CodeGeneratorFromCompileUnitTest.cs: added test for bug #75190.

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

19 years ago * Guidelines:
Jackson Harper [Wed, 8 Jun 2005 20:33:55 +0000 (20:33 -0000)]
* Guidelines:
* Design: Double buffering is handled at a different level now, so
I am removing mention of it. Control developers do not need to
know how it works.

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

19 years ago * Syscall.cs: Add execvp(2). (This should have been added with the other
Jonathan Pryor [Wed, 8 Jun 2005 19:59:32 +0000 (19:59 -0000)]
  * Syscall.cs: Add execvp(2).  (This should have been added with the other
    exec(2) additions...).

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

19 years agoFixed in SVN.
Martin Baulig [Wed, 8 Jun 2005 19:58:39 +0000 (19:58 -0000)]
Fixed in SVN.

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

19 years ago2005-06-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 8 Jun 2005 19:57:29 +0000 (19:57 -0000)]
2005-06-08  Martin Baulig  <martin@ximian.com>

* Dictionary.cs (Dictionary.KeyEnumerator): Removed the public
GetEnumerator() function since it's returning the wrong type.
(Dictionary.ValueEnumerator): Likewise.  Fix #75073.

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

19 years ago2005-06-08 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 8 Jun 2005 19:46:17 +0000 (19:46 -0000)]
2005-06-08  Sebastien Pouliot  <sebastien@ximian.com>

* RuntimeEnvironment.cs: I get better results when calling Demand.

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

19 years ago2005-06-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Wed, 8 Jun 2005 19:04:06 +0000 (19:04 -0000)]
2005-06-08  Ben Maurer  <bmaurer@ximian.com>

* Makefile.am: Avoid versioning. We aren't going to be a strongly
versioned lib.

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

19 years ago2005-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 8 Jun 2005 19:02:00 +0000 (19:02 -0000)]
2005-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* AssemblyNameTest.cs: Added tests to Version method,
in order to do additional checks with AssemblyBuilder
version.

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

19 years ago2005-06-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 8 Jun 2005 18:59:44 +0000 (18:59 -0000)]
2005-06-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>
* reflection.c (mono_image_basic_init): Define
Version in MonoDynamicAssembly.

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

19 years ago * Makefile.am: Create an unversioned library. We won't make any gaurantees
Jonathan Pryor [Wed, 8 Jun 2005 18:51:30 +0000 (18:51 -0000)]
  * Makefile.am: Create an unversioned library.  We won't make any gaurantees
    about ABI stability until Mono 1.2 (if then).

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

19 years agoBetter fix
Miguel de Icaza [Wed, 8 Jun 2005 18:09:47 +0000 (18:09 -0000)]
Better fix

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

19 years ago2005-06-08 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 8 Jun 2005 18:08:23 +0000 (18:08 -0000)]
2005-06-08  Miguel de Icaza  <miguel@novell.com>

* class.cs: Small fix.

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