mono.git
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

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

* configure.in: read the SONAME from libX11. This is the same
thing as will be used by a shared library, so it will really
work.

This will have us get libX11.so.6 rather than libX11.so.6.2.

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

19 years agoSmall fix.
Martin Baulig [Wed, 8 Jun 2005 17:26:12 +0000 (17:26 -0000)]
Small fix.

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

19 years agoThe issue is fixed.
Martin Baulig [Wed, 8 Jun 2005 17:24:05 +0000 (17:24 -0000)]
The issue is fixed.

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

19 years agoThe CharEnumerator issue is fixed.
Martin Baulig [Wed, 8 Jun 2005 17:23:23 +0000 (17:23 -0000)]
The CharEnumerator issue is fixed.

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

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

Fix #75136.

* loader.c
(mono_method_signature_full): New public method; takes a
`MonoGenericContext *'.
(find_method): Use mono_method_signature_full() and pass the
klass'es context to it.

* class.c (mono_class_is_inflated_method): Use
mono_method_signature_full() and pass the context to it.

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

19 years agoWed Jun 8 19:26:38 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 8 Jun 2005 16:44:29 +0000 (16:44 -0000)]
Wed Jun 8 19:26:38 CEST 2005 Paolo Molaro <lupus@ximian.com>

* object.c: add proper locking in mono_remote_class_vtable(),
fixes possible memory corruption.

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

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

* PolicyLevel.cs: Added some missing initialization. More code reuse.

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

19 years agoRectangle and RectangleF basic testing units
Jordi Mas i Hernandez [Wed, 8 Jun 2005 16:14:36 +0000 (16:14 -0000)]
Rectangle and RectangleF basic testing units

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

19 years ago2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
Jordi Mas i Hernandez [Wed, 8 Jun 2005 16:12:15 +0000 (16:12 -0000)]
2005-06-08 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>

* Rectangle.cs:
- Fixes is empty method IsEmpty logic
- Fixes Contains method logic
- Fixes IntersectsWith logic

* RectangleF.cs:
- Fixes is empty method IsEmpty logic
- Fixes Contains method logic
- Fixes IntersectsWith logic

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

19 years agoEnable the new iterators tests.
Martin Baulig [Wed, 8 Jun 2005 15:05:44 +0000 (15:05 -0000)]
Enable the new iterators tests.

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

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

* cs-parser.jay (nullable_type_or_conditional): If we put the
nullable back and our `type' is a `ComposedCast', remove the
nullable from it.  Fixes #75156.

* expression.cs (ComposedCast.RemoveNullable): New public method.

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

19 years ago * Syscall.cs: Update comment with correct exception type.
Jonathan Pryor [Wed, 8 Jun 2005 14:09:49 +0000 (14:09 -0000)]
  * Syscall.cs: Update comment with correct exception type.
  * UnixConvert.cs: Rename ToFilePermissions(string) to
    FromOctalPermissionString; Add ToOctalPermissionString,
    FromUnixPermissionString, ToUnixPermissionString.
  * UnixMarshal.cs: Remove ErrorMarshal.HaveStrerror_r and
    UnixMarshal.IsErrorDescriptionThreadSafe.  strerror(3) is now thread-safe
    (from managed code, at least).  Update comment.

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

19 years ago2005-06-08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 8 Jun 2005 13:33:01 +0000 (13:33 -0000)]
2005-06-08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* AssemblyInfo.cs :
- Added informational attributes that Mono.GetOptions shows in the help screen.
- Bumped up the version number a bit

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

19 years ago2005-06-08 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 8 Jun 2005 13:10:01 +0000 (13:10 -0000)]
2005-06-08  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* oops Mono.IsPartOfPackage renamed to Mono.IsPartOfPackageAttribute,
as mandates the convention

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

19 years ago2005-06-08 Michael Meeks <michael.meeks@novell.com>
Michael Meeks [Wed, 8 Jun 2005 12:56:34 +0000 (12:56 -0000)]
2005-06-08  Michael Meeks  <michael.meeks@novell.com>

        * marshal.c (mono_remoting_marshal_init): set
        initialized after initialization.

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

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

* Makefile: Added quota. Removed XML files generation.
* quota.cs: New. Test if the restricted appdomain allows the # Kb of
IsolatedStorage.
* README: Updated informations (quota and default policies).
* sandbox.cs: Updated to support the "default" named permissions set
(now) included with Mono. Support for loading XML policy files is
still available (but somewhat buggy at the moment).

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

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

The big Iterators rewrite :-)

* iterators.cs: Rewrite this to use the anonymous methods framework.

* rootcontext.cs (RootContext.DefineTypes): Define Delegates
before the TypeContainers; see 2test-21.cs.

* class.cs
(TypeContainer.DefineType): Don't create a new EmitContext if we
already have one (this only happens if we're an Iterator).
(TypeContainer.Define): Also call Define() on all our iterators.
(Method.CreateEmitContext): Added support for iterators.

* anonymous.cs
(AnonymousContainer): New abstract base class for `AnonymousMethod'.
(AnonymousContainer.CreateMethodHost): Moved here from
AnonymousMethod and made abstract.
(AnonymousContainer.CreateScopeType): New abstract method.
(AnonymousContainer.IsIterator): New public property.
(ScopeInfo.EmitScopeType): Call CreateScopeType() on our Host to
get the ScopeTypeBuilder rather than manually defining it here.
(ScopeInfo.EmitScopeInstance): New public method; correctly handle
iterators here.

* driver.cs (Driver.MainDriver): Call TypeManager.InitCodeHelpers()
before RootContext.DefineTypes().

* codegen.cs (EmitContext.RemapToProxy): Removed.
(EmitContext.CurrentAnonymousMethod): Changed type from
AnonymousMethod -> AnonymousContainer.
(EmitContext.ResolveTopBlock): Protect from being called twice.
(EmitContext.MapVariable, RemapParameter(LValue)): Removed.
(EmitContext.EmitThis): Removed the iterators hacks; use the
anonymous methods framework for that.

* statement.cs
(ToplevelBlock.Container): Make this a property, not a field.
(ToplevelBlock.ReParent): New public method; move the
ToplevelBlock into a new container.
(Foreach.TemporaryVariable): Simplify.

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

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

* AllowPartiallyTrustedCallersAttribute.cs, HostSecurityManagerFlags.cs
IEvidenceFactory.cs, IPermission.cs, ISecurityEncodable.cs,
ISecurityPolicyEncodable.cs, IStackWalk.cs, NamedPermissionSet.cs,
PolicyLevelType.cs, SecureString.cs, SecurityElement.cs,
SecurityZone.cs, UnverifiableCodeAttribute.cs, VerificationException.cs
XmlSyntaxException.cs: Fix 2.0 beta2 API changes (which is mostly
adding ComVisible attributes to classes).

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

19 years ago2005-06-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 8 Jun 2005 10:41:43 +0000 (10:41 -0000)]
2005-06-08  Zoltan Varga  <vargaz@freemail.hu>

* ConstructorBuilder.cs FieldBuilder.cs MethodBuilder.cs PropertyBuilder.cs:
Add 2.0 Module property.

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

19 years ago2005-06-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 8 Jun 2005 09:30:50 +0000 (09:30 -0000)]
2005-06-08  Zoltan Varga  <vargaz@freemail.hu>

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

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

19 years ago2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:50:55 +0000 (08:50 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ToolboxItemAttribute.cs: fix the fix that was fixed before.

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

19 years ago2005-06-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 8 Jun 2005 08:40:12 +0000 (08:40 -0000)]
2005-06-08  Zoltan Varga  <vargaz@freemail.hu>

* ToolboxItemAttribute.cs: Revert last change as it breaks the build.

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

19 years ago2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:28:36 +0000 (08:28 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* UserControl.cs:
* Page.cs:
* Control.cs: updates for 1.1 SP1

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

19 years ago2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:27:30 +0000 (08:27 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlTableCell.cs:
* HtmlControl.cs: updates for 1.1 SP1.

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

19 years ago2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:26:24 +0000 (08:26 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Consts.cs: updated revision for Microsoft.VSDesigner.

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

19 years ago2005-06-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 8 Jun 2005 08:21:28 +0000 (08:21 -0000)]
2005-06-08  Zoltan Varga  <vargaz@freemail.hu>

* Type.cs: Add missing 2.0 attributes.

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

19 years agofix attribute
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:07:15 +0000 (08:07 -0000)]
fix attribute

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

19 years ago2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:06:54 +0000 (08:06 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* IISAPIRuntime.cs: GUID changed.

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

19 years ago2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 08:06:40 +0000 (08:06 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpParseException.cs:
* HttpResponse.cs:
* HttpApplication.cs: updates for 1.1 service pack.

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

19 years ago2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 07:41:23 +0000 (07:41 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ToolboxItemAttribute.cs: fix default type name.

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

19 years agoTARGET_J2EE ifdef
Konstantin Triger [Wed, 8 Jun 2005 07:33:31 +0000 (07:33 -0000)]
TARGET_J2EE ifdef

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

19 years agoAdd bug id.
Raja R Harinath [Wed, 8 Jun 2005 05:17:55 +0000 (05:17 -0000)]
Add bug id.

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

19 years ago* mcs/class.cs (GetPartialBases): Fix return value check of part.GetClassBases.
Raja R Harinath [Wed, 8 Jun 2005 05:15:03 +0000 (05:15 -0000)]
* mcs/class.cs (GetPartialBases): Fix return value check of part.GetClassBases.
* tests/test-388.cs, tests/test-389.cs: New tests from #75160.  They're
actually interdependent.  #75160 is a file-ordering bug, and we
use the two testcases to drive the two different orderings.
* tests/Makefile (TEST_HARNESS_EXTRAS): Add test-388.cs and test-389.cs.

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

19 years ago2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 03:18:35 +0000 (03:18 -0000)]
2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mini.c: no SIGUSR2 on windows. Remove it for PLATFORM_WIN32.

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

19 years ago2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 03:11:20 +0000 (03:11 -0000)]
2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Threading/Thread.cs: check that the culture is valid for
formatting (ie, (!neutral || invariant)).

* System.Globalization/CultureInfo.cs: added internal method to check
for a culture valid for formatting. Correctly get the calendar type.
Before it was always type 0. Thanks to Mcs for pointing this out.

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

19 years ago2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 03:05:47 +0000 (03:05 -0000)]
2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CultureInfoTest.cs: added test that tries setting the culture to a
neutral culture that is not the InvariantCulture.

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

19 years ago2005-06-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 8 Jun 2005 02:56:31 +0000 (02:56 -0000)]
2005-06-08  Atsushi Enomoto  <atsushi@ximian.com>

* locales.c : hush.

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

19 years ago * ThemeWin32Classic.cs: Clear the background area when drawing
Jackson Harper [Wed, 8 Jun 2005 02:05:51 +0000 (02:05 -0000)]
    * ThemeWin32Classic.cs: Clear the background area when drawing
        buttons.

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

19 years ago2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 8 Jun 2005 01:05:34 +0000 (01:05 -0000)]
2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: make automake 1.9 happy about LARGE_FILES.

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

19 years ago2005-06-07 Ankit Jain <ankit@corewars.org>
Ankit Jain [Tue, 7 Jun 2005 22:31:45 +0000 (22:31 -0000)]
2005-06-07  Ankit Jain <ankit@corewars.org>

* DictionaryTest.cs (KeyValueEnumeratorTest): Added new test.

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

19 years ago2005-06-08 Ankit Jain <ankit@corewars.org>
Ankit Jain [Tue, 7 Jun 2005 22:28:31 +0000 (22:28 -0000)]
2005-06-08  Ankit Jain <ankit@corewars.org>

* Dictionary.cs (Dictionary<TKey, TValue>.MoveNext): Allow traversal of chain in last slot
of the table. Fixes #75168.

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

19 years agoWebServiceHandlerFactory.cs: Throw InvalidOperationException instead of returning...
Kornél Pál [Tue, 7 Jun 2005 20:10:20 +0000 (20:10 -0000)]
WebServiceHandlerFactory.cs: Throw InvalidOperationException instead of returning DummyHttpHandler when the request format is not supported.

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

19 years ago2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Jun 2005 19:41:36 +0000 (19:41 -0000)]
2005-06-07  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFilePermission.cs: Removed unrequired TODO on ctor.
Added ComVisible for NET_2_0.
* GacIdentityPermissionAttribute.cs: Removed FIXME. Added ComVisible
for NET_2_0.

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

19 years ago2005-06-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 7 Jun 2005 19:35:05 +0000 (19:35 -0000)]
2005-06-07  Zoltan Varga  <vargaz@freemail.hu>

* *-ia64.*: Ongoing IA64 work.

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

19 years agoupdated MONO_TRACE and MONO_TRACE_LISTENER
Gonzalo Paniagua Javier [Tue, 7 Jun 2005 19:12:58 +0000 (19:12 -0000)]
updated MONO_TRACE and MONO_TRACE_LISTENER

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

19 years ago2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jun 2005 18:57:15 +0000 (18:57 -0000)]
2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DefaultTraceListener.cs: s/MONO_TRACE/MONO_TRACE_LISTENER/. The
runtime uses MONO_TRACE too...

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

19 years ago2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jun 2005 18:47:55 +0000 (18:47 -0000)]
2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* trace.[ch]:
* mini.c: added the ability to toggle trace on/off using SIGUSR2.

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

19 years ago2005-06-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Jun 2005 17:56:26 +0000 (17:56 -0000)]
2005-06-07  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngReader.cs : When ReadPattern() if no valid pattern appears
  then raise an error. In Read() when there are only non RELAX NG
  elements it resulted in an infinite loop.

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

19 years ago2005-06-07 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 7 Jun 2005 16:55:01 +0000 (16:55 -0000)]
2005-06-07  Lluis Sanchez Gual  <lluis@novell.com>

* SerializationCodeGenerator.cs: When reading members by order,
call a MoveToContext after each member read. In the fixup method
don't cast returned values if it is reading an object array.

* XmlSchemaImporter.cs: In ImportDerivedTypeMapping, if the type
being imported is a primitive type, create a wrapper class that
inherits from the provided one. This fixes bug #68809.

* XmlSerializationReader.cs: Properly report unreferenced objects.
Created an overload of ReadTypedPrimitive that reports elements of
unknown type. Implemented Referenced().

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

19 years ago * UnixFileSystemInfo.cs: Don't use lstat(2), use stat(2). This fits with
Jonathan Pryor [Tue, 7 Jun 2005 16:52:44 +0000 (16:52 -0000)]
  * UnixFileSystemInfo.cs: Don't use lstat(2), use stat(2).  This fits with
    expectations better -- if you create a UnixFileInfo() on a symlink, you
    want to get the target's information, not the symlink's info.  Add
    GetFileStatus so UnixSymbolicLinkInfo can override this behavior.
  * UnixSymbolicLinkInfo.cs: Implement GetFileStatus() (which calls lstat(2)).

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

19 years agocorlib_test.dll.sources: Added unit tests (normal and CAS) for System.Runtime.Interop...
Sebastien Pouliot [Tue, 7 Jun 2005 15:12:49 +0000 (15:12 -0000)]
corlib_test.dll.sources: Added unit tests (normal and CAS) for System.Runtime.InteropServices.RuntimeEnvironment.

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

19 years ago2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Jun 2005 15:11:14 +0000 (15:11 -0000)]
2005-06-07  Sebastien Pouliot  <sebastien@ximian.com>

* RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.

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

19 years ago2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Jun 2005 15:09:35 +0000 (15:09 -0000)]
2005-06-07  Sebastien Pouliot  <sebastien@ximian.com>

* RuntimeEnvironmentTest.cs: New. Unit tests for RuntimeEnvironment.
* RuntimeEnvironmentCas.cs: New. CAS unit tests for RuntimeEnvironment

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

19 years ago * configure.in: Add checks for mremap, remap_file_pages.
Jonathan Pryor [Tue, 7 Jun 2005 14:39:09 +0000 (14:39 -0000)]
  * configure.in: Add checks for mremap, remap_file_pages.
  * support/sys-mman.c: Check for presence of mremap and remap_file_pages.

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

19 years ago2005-06-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 7 Jun 2005 13:41:59 +0000 (13:41 -0000)]
2005-06-07  Zoltan Varga  <vargaz@freemail.hu>

* *Token.cs: Add net 2.0 Equals methods.

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

19 years ago2004-06-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Jun 2005 13:34:27 +0000 (13:34 -0000)]
2004-06-07  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : set TARGET_JVM where collation matters.

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

19 years ago2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 7 Jun 2005 13:25:15 +0000 (13:25 -0000)]
2005-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TcpClient.cs: patch by Hans Kratz that uses an integer when setting
NoDelay instead of a bool, which is only handled in 2.0.

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

19 years ago2005-06-06 Michael Meeks <michael.meeks@novell.com>
Paolo Molaro [Tue, 7 Jun 2005 13:22:45 +0000 (13:22 -0000)]
2005-06-06  Michael Meeks  <michael.meeks@novell.com>

* object.c (extend_interface_array): fix really silly
memory corrupting / comparison bug.

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

19 years agoEnsure that partial classes are registered in their enclosing
Raja R Harinath [Tue, 7 Jun 2005 13:16:05 +0000 (13:16 -0000)]
Ensure that partial classes are registered in their enclosing
namespace.  Initial part of fix of #75160.
* tree.cs (Tree.RecordDecl): Add new namespace argument.
Register declspace with namespace here, not in DeclSpace.RecordDecl.
* cs-parser.jay: Pass namespace to RecordDecl.
* class.cs (PartialContainer.Create): Likewise.
(ClassPart.DefineType): New sanity-check.  Throws an exception if called.
* decl.cs (Declspace.RecordDecl): Remove.
* namespace.cs (NamespaceEntry.DefineName): Remove.

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

19 years ago2005-06-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 7 Jun 2005 13:14:31 +0000 (13:14 -0000)]
2005-06-07  Zoltan Varga  <vargaz@freemail.hu>

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

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

19 years ago2005-06-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 7 Jun 2005 12:37:46 +0000 (12:37 -0000)]
2005-06-07  Zoltan Varga  <vargaz@freemail.hu>

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

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

19 years ago2005-06-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 7 Jun 2005 12:36:45 +0000 (12:36 -0000)]
2005-06-07  Zoltan Varga  <vargaz@freemail.hu>

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

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

19 years ago * Syscall.cs: Document naming conventions.
Jonathan Pryor [Tue, 7 Jun 2005 12:18:57 +0000 (12:18 -0000)]
  * Syscall.cs: Document naming conventions.

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

19 years ago2005-06-07 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 7 Jun 2005 11:55:43 +0000 (11:55 -0000)]
2005-06-07  Sebastien Pouliot  <sebastien@ximian.com>

* Thread.cs: Added _Thread interface (and members) and a few missing
attributes (for both 1.1 and 2.0).

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

19 years ago * class.cs : Disallowing default properties without parameters.
Satya Sudha K [Tue, 7 Jun 2005 07:59:26 +0000 (07:59 -0000)]
    * class.cs : Disallowing default properties without parameters.
        * Some cleanups in other files to get rid of warnings.

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

19 years agoNew tests for my iterators code.
Martin Baulig [Tue, 7 Jun 2005 07:32:38 +0000 (07:32 -0000)]
New tests for my iterators code.

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

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

* AssemblyTest.cs: put back GetEntryAssembly, but this one is working.

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

19 years agoReverted r45553 since it broke the build; see bug #75136.
Martin Baulig [Tue, 7 Jun 2005 03:06:54 +0000 (03:06 -0000)]
Reverted r45553 since it broke the build; see bug #75136.

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

19 years agoNew test.
Martin Baulig [Tue, 7 Jun 2005 02:22:57 +0000 (02:22 -0000)]
New test.

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

19 years agodeprecated.
Atsushi Eno [Tue, 7 Jun 2005 01:54:04 +0000 (01:54 -0000)]
deprecated.

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

19 years ago2005-06-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 7 Jun 2005 01:16:40 +0000 (01:16 -0000)]
2005-06-07  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidationFlags.cs : it is NET_2_0.

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

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

* CustomAttributeData.cs: Implemented.

* CustomAttributeDataNamedArgument.cs: Implemented.

* CustomAttrbuteDataTypedArgument.cs: Implemented.

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

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

* MonoCustomAttrs.cs: Added GetCustomAttributesDataInternal icall, and
also internal method GetCustomAttributesData, used by
System.Reflection.CustomAttributeData.

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

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

* reflection.c: Functions added to support the creation
of CustomAttributeData, which includes Attribute data
used by ReflectionOnly methods.

* reflection.h:  mono_reflection_get_custom_attrs_data and
 mono_custom_attrs_data_construct added (functions exposed).

 * icall.c: Added mono_reflection_get_custom_attrs_data
 as icall.

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

19 years ago2005-06-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 6 Jun 2005 22:59:18 +0000 (22:59 -0000)]
2005-06-07  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (libmonoruntime_la_SOURCES): Revert last change at
lupus's request.

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

19 years ago2005-06-06 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Mon, 6 Jun 2005 22:07:33 +0000 (22:07 -0000)]
2005-06-06  Peter Bartok  <pbartok@novell.com>

* ImageListStreamer.cs: Fixed signature for GetData
* CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
* ComboBox.cs:
  - Added missing ChildAccessibleObject class
  - Added missing OnXXXFocus overrides, switched to using those
    instead of the event handler
* Control.cs:
  - Added Parent property for ControlAccessibleObject
  - Fixed signatures
  - Fixed attributes
  - Added ResetBindings()
* ListBindingConverter.cs: Implemented some methods
* ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
* ImageList.cs: Implemented basic handle scheme, removed TODOs
* ContainerControl.cs: Fixed signature, now subscribing to the
  ControlRemoved event instead of overriding the handler, LAMESPEC
* CurrencyManager.cs: Added missing attribute
* MonthCalendar.cs: Added missing properties

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

19 years ago2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Mon, 6 Jun 2005 21:37:50 +0000 (21:37 -0000)]
2005-06-06  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridColumnStyle.cs: fixes for DataGridColumnStyle

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

19 years ago2005-06-06 Gaurav Vaish and Ankit Jain
Jordi Mas i Hernandez [Mon, 6 Jun 2005 20:55:17 +0000 (20:55 -0000)]
2005-06-06  Gaurav Vaish and Ankit Jain

* DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
* DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding

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

19 years ago * mono.spec.in: Remove. This is horribly out of date. A real spec
Ben Maurer [Mon, 6 Jun 2005 20:44:52 +0000 (20:44 -0000)]
* mono.spec.in: Remove. This is horribly out of date. A real spec
file is generated in the release module.

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

19 years ago2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 6 Jun 2005 20:23:37 +0000 (20:23 -0000)]
2005-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mono-api-info.cs: exclude the ReservedMask bits from method
attributes.

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

19 years ago2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 6 Jun 2005 20:22:27 +0000 (20:22 -0000)]
2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>

* Alert.cs: Add NoCertificate (41) which _should_ be used in SSL3
if we don't want to send a certificate when requested by a server
(e.g. in the case the mutual authentication is optional).
* CipherSuite.cs: Fixed recursive property. Changed type to short so
it can hold 256 bits (valid value). Fixed ctor so it doesn't assign
the it's own value.

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

19 years ago2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 6 Jun 2005 20:16:10 +0000 (20:16 -0000)]
2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>

* Activator.cs: Added  _Activator interface (and members) for 1.1 and
missing attributes (for both 1.1 and 2.0).
* String.cs: Made internal To[Lower|Upper]Invariant methods public for
2.0. Reworked Trim() to skip a useless call. Added missing attribute
for 2.0.
* Type.cs: Added  _Type, _MemberInfo interfaces (1.1/2.0). Added
missing attribute for 2.0. Hided some public/protected methods.

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

19 years agodepreciated
Ben Maurer [Mon, 6 Jun 2005 20:14:18 +0000 (20:14 -0000)]
depreciated

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

19 years agodepreciated
Ben Maurer [Mon, 6 Jun 2005 20:12:42 +0000 (20:12 -0000)]
depreciated

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

19 years agodepreciated
Ben Maurer [Mon, 6 Jun 2005 20:12:16 +0000 (20:12 -0000)]
depreciated

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

19 years agodepreciated
Ben Maurer [Mon, 6 Jun 2005 20:11:58 +0000 (20:11 -0000)]
depreciated

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

19 years agodepreciated
Ben Maurer [Mon, 6 Jun 2005 20:11:33 +0000 (20:11 -0000)]
depreciated

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

19 years agodepreciated
Ben Maurer [Mon, 6 Jun 2005 20:09:58 +0000 (20:09 -0000)]
depreciated

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

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

* ModuleHandleTest.cs: Renamed PortableExecutableKind to *Kinds to fix
compilation.

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

19 years ago2005-06-06 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 6 Jun 2005 20:05:35 +0000 (20:05 -0000)]
2005-06-06  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyTest.cs: Removed asserts using PortableExecutableKind -
because (1) it was renamed to PortableExecutableKinds *and* (2)
it's documented as obsolete and will be removed for 2.0 RTM.

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