mono.git
18 years ago2005-12-15 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 15 Dec 2005 18:02:07 +0000 (18:02 -0000)]
2005-12-15  Dick Porter  <dick@ximian.com>

        * processes.c (CreateProcess): The pipe-based cross-process
        exclusion technique was trying to write NULL buffers when appname
        was NULL (eg when coming from ShellExecuteEx,) which usually
        succeeded even though EFAULT was returned - but sometimes it
        failed.  This meant that the child process could block forever on
        the pipe read.  Replace it with the simpler shared handle
        semaphore protection used everywhere else.  This showed up with
        the test case in bug 76684.

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

18 years ago* corlib_test.dll.sources: Added ObjectManagerTest.cs in
Gert Driesen [Thu, 15 Dec 2005 17:53:24 +0000 (17:53 -0000)]
* corlib_test.dll.sources: Added ObjectManagerTest.cs in
System.Runtime.Serialization.
* ObjectManagerTest.cs: New test for bug #76931.

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

18 years ago2005-12-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Dec 2005 16:02:31 +0000 (16:02 -0000)]
2005-12-15  Atsushi Enomoto  <atsushi@ximian.com>

* dtd2rng.cs : mixed + empty should be text.

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

18 years ago2005-12-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Dec 2005 16:01:25 +0000 (16:01 -0000)]
2005-12-15  Atsushi Enomoto <atsushi@ximian.com>

* DTDObjectModel.cs : (CreateXsdParticle) element particle was
  missing occurence indicators.

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

18 years ago2005-12-15 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Alexandre Rocha Lima e Marcondes [Thu, 15 Dec 2005 15:51:49 +0000 (15:51 -0000)]
2005-12-15 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* test-mbas.pl: Parsing Test Files in order to find necessary
compilerOptions and generate the correct CompileCommand.

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

18 years agosave StringManager into AppDomain
Konstantin Triger [Thu, 15 Dec 2005 15:43:39 +0000 (15:43 -0000)]
save StringManager into AppDomain

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

18 years ago2005-12-15 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 15 Dec 2005 15:39:31 +0000 (15:39 -0000)]
2005-12-15  Martin Baulig  <martin@ximian.com>

* ObjectManager.cs: When deserializing an object that has a
surrogate, actually check the return value of
ISerializationSurrogate.SetObjectData(); fixes #76931.

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

18 years ago2005-12-07 Jelmer Vernooij <jelmer@samba.org>
Alexandre Rocha Lima e Marcondes [Thu, 15 Dec 2005 15:14:08 +0000 (15:14 -0000)]
2005-12-07 Jelmer Vernooij <jelmer@samba.org>
        * Makefile: allow build of only mbas, without the need to built
the class library

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

18 years ago2005-12-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Dec 2005 14:43:15 +0000 (14:43 -0000)]
2005-12-15  Atsushi Enomoto  <atsushi@ximian.com>

* dtd2rng.cs, dtd2rng.exe.sources, Makefile, ChangeLog :
  new files.

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

18 years agoIn ilasm/tests:
Ankit Jain [Thu, 15 Dec 2005 14:41:59 +0000 (14:41 -0000)]
In ilasm/tests:
* assembly.il: New. Test for multiple .assembly declarations.
* err-assembly.il: New. Negative test for the same.

In ilasm/codegen:
* CodeGen.cs (CodeGen.SetAssemblyName): Multiple .assembly declarations with different
names are not allowed.

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

18 years ago2005-12-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Dec 2005 14:41:32 +0000 (14:41 -0000)]
2005-12-15  Atsushi Enomoto  <atsushi@ximian.com>

* dtd2xsd.cs : *.dtd file could be directly converted.

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

18 years ago2005-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 15 Dec 2005 14:40:17 +0000 (14:40 -0000)]
2005-10-05  Atsushi Enomoto  <atsushi@ximian.com>

* System.Configuration.dll.sources: added
  IntegerValidatorAttribute.cs, IntegerValidator.cs,
  LongValidator.cs and LongValidatorAttribute.cs.

* IntegerValidatorAttribute.cs, IntegerValidator.cs,
  LongValidator.cs, LongValidatorAttribute.cs : new files.

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

18 years ago2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Dec 2005 14:29:54 +0000 (14:29 -0000)]
2005-12-15  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryInfoTest.cs: Added test cases for #76191 and #76903.
* PathTest.cs: Added test cases for #76191, the possible modification
of InvalidPathChars and the new 2.0 methods.

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

18 years ago2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Dec 2005 14:29:34 +0000 (14:29 -0000)]
2005-12-15  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryInfo.cs: Fixed #76903 where the Name property wasn't
correct in some cases. Added special case for Windows drives. Reduced
temporary allocations in Get* methods (removed ArrayList). Added some
new 2.0 methods (partial).
* MonoIO.cs: Removed InvalidPathChars icall as the return value is
different from 1.x and 2.0. The values are now defined in Path.cs.
* Path.cs: Fixed #76191 so that GetFullPath on a Windows drive returns
the current directory (if it's on the specified drive). Fixed 2.0 API
changes (e.g. static class).
* SearchOption.cs: Added missing [Serializable] (2.0).

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

18 years ago* mini-s390.c: Fix ADDCC/SBB bug reveealed by test_0_ulong_regress; Correct register...
Neale Ferguson [Thu, 15 Dec 2005 14:27:58 +0000 (14:27 -0000)]
* mini-s390.c: Fix ADDCC/SBB bug reveealed by test_0_ulong_regress; Correct register loading for Tail processing; Correct trace output.

* inssel-s390.brg: Reimplement LSUB_OVF due to s390 implementation of signed math.

* cpu-s390.md: Correct size of jmp instruction.

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

18 years ago* metadata.c (do_mono_metadata_parse_generic_class): Don't pass the current
Raja R Harinath [Thu, 15 Dec 2005 14:22:17 +0000 (14:22 -0000)]
* metadata.c (do_mono_metadata_parse_generic_class): Don't pass the current
generic context when parsing the type being instantiated: it
cannot use it, anyway.

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

18 years agofix index updates
Konstantin Triger [Thu, 15 Dec 2005 14:17:30 +0000 (14:17 -0000)]
fix index updates

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

18 years ago2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Dec 2005 14:10:17 +0000 (14:10 -0000)]
2005-12-15  Sebastien Pouliot  <sebastien@ximian.com>

* DoubleTest.cs: Added test cases for parsing hexadecimal strings.
* SingleTest.cs: Added test cases for parsing hexadecimal strings.

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

18 years ago2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Dec 2005 14:08:53 +0000 (14:08 -0000)]
2005-12-15  Sebastien Pouliot  <sebastien@ximian.com>

* DateTime.cs: Added MonoTODO to ctor accepting a Calandar instance.
* Double.cs: Under 2.0 throw a ArgumentException when parsing with
 NumberStyles.AllowHexSpecifier. Partial fix for #72221. Added the
second, simpler, TryParse method (2.0).
* Single.cs: Added the TryParse methods for 2.0.

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

18 years ago2005-12-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Dec 2005 13:47:02 +0000 (13:47 -0000)]
2005-12-15  Sebastien Pouliot  <sebastien@ximian.com>

* RijndaelTest.cs: Add test cases for cycling key sizes and block
sizes.
* SymmetricAlgorithm2Test.cs: Added test case for re-setting the
BlockSize. Keeping the same value *doesn't* change the current IV
(while doing the same on the KeySize *does* change the key).

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

18 years agoSymmetricAlgorithm.cs: Changing (not setting) BlockSize must re-generate a new IV...
Sebastien Pouliot [Thu, 15 Dec 2005 13:46:37 +0000 (13:46 -0000)]
SymmetricAlgorithm.cs: Changing (not setting) BlockSize must re-generate a new IV (so the properties are kept valid). Note that changing or setting (same value) the KeySize always re-generate a key.

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

18 years ago* metadata.c (mono_metadata_parse_method_signature_full): Remove a dead store.
Raja R Harinath [Thu, 15 Dec 2005 13:13:11 +0000 (13:13 -0000)]
* metadata.c (mono_metadata_parse_method_signature_full): Remove a dead store.
* loader.c (method_from_memberref): Don't inflate a signature if
it doesn't contain any type parameters.

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

18 years ago* generic.cs (TypeManager.IsGeneric): Remove unused method.
Raja R Harinath [Thu, 15 Dec 2005 12:56:01 +0000 (12:56 -0000)]
* generic.cs (TypeManager.IsGeneric): Remove unused method.

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

18 years ago* typemanager.cs (TypeManager.GetFullName): Rewrite to handle nested types.
Raja R Harinath [Thu, 15 Dec 2005 11:42:40 +0000 (11:42 -0000)]
* typemanager.cs (TypeManager.GetFullName): Rewrite to handle nested types.

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

18 years ago* System/Type.cs (IsGenericType): Make virtual.
Raja R Harinath [Thu, 15 Dec 2005 11:30:45 +0000 (11:30 -0000)]
* System/Type.cs (IsGenericType): Make virtual.
* System.Reflection.Emit/TypeBuilder.cs (IsGenericType): Implement override.
* Test/System.Reflection.Emit/TypeBuilderTest.cs (GenericType): Add a minimal
testcase for generic type builders.

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

18 years ago2005-12-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Dec 2005 10:56:33 +0000 (10:56 -0000)]
2005-12-15  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_setup_vtable): Call mono_reflection_get_dynamic_overrides () to get the overrides in dynamic assemblies.

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

18 years agoallow null string in WriteCData
Konstantin Triger [Thu, 15 Dec 2005 10:18:32 +0000 (10:18 -0000)]
allow null string in WriteCData

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

18 years ago2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 15 Dec 2005 03:50:03 +0000 (03:50 -0000)]
2005-12-14  Peter Dennis Bartok  <pbartok@novell.com>

        * Hwnd.cs:
          - Added Reparented property to allow tracking of Window Manager
            reparenting actions (which affect X/Y calculations of toplevel
            windows)
          - Made ToString() print window handles in hex
        * XplatUIX11.cs:
          - AddConfigureNotify(): Now uses reparented state off Hwnd to
            determine if X/Y needs offsetting
          - AddConfigureNotify(): Fixed offset calculations
          - Now adds ReparentNotify messages into the queue
          - Now processes ReparentNotify messages and causes a
            WM_WINDOWPOSCHANGED message to be sent upstream if a window
            is reparented (as most likely it's X/Y coordinates are changed
            due to that)

These fixes will fix the 'random' window repositioning of toplevel windows
when setting one of the properties that affect size or location (Left, Top,
Size, Location, Bounds, etc.) Thanks to Eric Butler for a testapp that
showed this problem.

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

18 years agomore System.Net.Configuration 2.0 work
Chris Toshok [Thu, 15 Dec 2005 00:52:10 +0000 (00:52 -0000)]
more System.Net.Configuration 2.0 work

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

18 years ago2005-12-14 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 15 Dec 2005 00:51:25 +0000 (00:51 -0000)]
2005-12-14  Chris Toshok  <toshok@ximian.com>

* MailSettingsSectionGroup.cs, PerformanceCountersElement.cs,
SmtpNetworkElement.cs, SmtpSection.cs,
SmtpSpecifiedPickupDirectoryElement.cs, WebProxyScriptElement.cs:
add missing 2.0 configuration classes.

* AuthenticationModulesSection.cs, BypassElementCollection.cs,
HttpCachePolicyElement.cs, NetSectionGroup.cs,
ServicePointManagerElement.cs, SettingsSection.cs,
SocketElement.cs, WebRequestModuleElementCollection.cs,
WebRequestModuleElement.cs, WebRequestModulesSection.cs: more 2.0
config cleanup work.

* MailSettingsSection.cs, SmtpElement.cs,
UriParserElementCollection.cs, UriParserElement.cs,
UriParserSection.cs: remove these 2.0 classes as they aren't there
anymore.

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

18 years ago2005-12-14 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 15 Dec 2005 00:46:43 +0000 (00:46 -0000)]
2005-12-14  Chris Toshok  <toshok@ximian.com>

* SmtpDeliveryMethod.cs: new enum.

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

18 years agoAdd missing EXTRA_DISTFILES
Wade Berrier [Thu, 15 Dec 2005 00:41:18 +0000 (00:41 -0000)]
Add missing EXTRA_DISTFILES

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

18 years agoAdded EXTRA_DISTFILES to fix make dist build
Wade Berrier [Thu, 15 Dec 2005 00:07:59 +0000 (00:07 -0000)]
Added EXTRA_DISTFILES to fix make dist build

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

18 years agoOooops.
Martin Baulig [Wed, 14 Dec 2005 22:32:05 +0000 (22:32 -0000)]
Oooops.

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

18 years agoNew test.
Martin Baulig [Wed, 14 Dec 2005 22:13:01 +0000 (22:13 -0000)]
New test.

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

18 years ago2005-12-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 14 Dec 2005 22:11:26 +0000 (22:11 -0000)]
2005-12-14  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.GetFullName): Make this public;
`Type.Fullname' now never returns null.

* class.cs (Method.Define): Use TypeManager.GetFullName() for
explicit interface implementations; we're now using the same
naming convention than csc does.

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

18 years ago2005-12-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 14 Dec 2005 22:09:19 +0000 (22:09 -0000)]
2005-12-14  Martin Baulig  <martin@ximian.com>

* class.c
(mono_type_get_name_recurse): Don't return null for type
parameters and open generic classes.
(mono_class_setup_methods): Don't exclude generic instances.
(mono_get_unique_iid): Use different IDs for different
instantiations of the same generic type.
(mono_class_setup_vtable): Only use setup_generic_vtable() for
open generic instances; create a normal vtable for closed generic
instances.
(mono_class_setup_vtable_general): We're now also called for
closed generic instances.

* reflection.c
(mono_reflection_bind_generic_parameters): Correctly use
mono_metadata_lookup_generic_inst() everywhere.

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

18 years ago * XplatUIX11.cs: Tool windows still need to respek focus.
Jackson Harper [Wed, 14 Dec 2005 21:59:28 +0000 (21:59 -0000)]
* XplatUIX11.cs: Tool windows still need to respek focus.

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

18 years ago2005-12-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Dec 2005 21:21:00 +0000 (21:21 -0000)]
2005-12-14  Zoltan Varga  <vargaz@gmail.com>

* marshal2.cs: Remove test which can fail on 64 bit archs.

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

18 years ago2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 14 Dec 2005 19:30:48 +0000 (19:30 -0000)]
2005-12-14  Peter Dennis Bartok  <pbartok@novell.com>

        * Control.cs: Undid 54254 (causing XConfigure errors) so we can
          have a working release

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

18 years agoAdd System.Security.AccessControl.AccessControlSections enum and DirectorySecurity...
Sebastien Pouliot [Wed, 14 Dec 2005 19:02:26 +0000 (19:02 -0000)]
Add System.Security.AccessControl.AccessControlSections enum and DirectorySecurity class to 2.0 build as they are required for new methods in System.IO.DirectoryInfo

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

18 years ago2005-12-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 14 Dec 2005 19:00:31 +0000 (19:00 -0000)]
2005-12-14  Sebastien Pouliot  <sebastien@ximian.com>

* AccessControlSections.cs: New (2.0). Enum required for DirectoryInfo
* DirectorySecurity.cs: New (2.0). Partial stub for DirectoryInfo

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

18 years agoThe test actually goes here
Miguel de Icaza [Wed, 14 Dec 2005 18:49:13 +0000 (18:49 -0000)]
The test actually goes here

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

18 years agooops
Miguel de Icaza [Wed, 14 Dec 2005 18:48:57 +0000 (18:48 -0000)]
oops

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

18 years agoBump version for tag
Wade Berrier [Wed, 14 Dec 2005 18:40:29 +0000 (18:40 -0000)]
Bump version for tag

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

18 years ago2005-12-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Dec 2005 17:52:14 +0000 (17:52 -0000)]
2005-12-14  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_class_create_runtime_vtable): Call
mono_class_setup_vtable ().

* reflection.c (mono_reflection_get_dynamic_overrides): New helper
function.
(ensure_runtime_vtable): Initialize the generic vtable lazily. Fixes
#76959.

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

18 years ago2005-12-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Dec 2005 17:51:31 +0000 (17:51 -0000)]
2005-12-14  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_class_create_runtime_vtable): Call
mono_class_setup_vtable ().

* reflection.c (mono_reflection_get_dynamic_overrides): New helper
function.
(ensure_runtime_vtable): Initialize the generic vtable lazily. Fixes
#76959.

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

18 years ago2005-12-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 14 Dec 2005 16:20:44 +0000 (16:20 -0000)]
2005-12-14  Miguel de Icaza  <miguel@novell.com>

* convert.cs (ExplicitConversionCore): Check the return value from
ExplicitConversionCore which can return null on failure.  Fixes #76914

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

18 years ago2005-12-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 14 Dec 2005 16:20:37 +0000 (16:20 -0000)]
2005-12-14  Miguel de Icaza  <miguel@novell.com>

* convert.cs (ExplicitConversionCore): Check the return value from
ExplicitConversionCore which can return null on failure.  Fixes #76914

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

18 years agoNew test, for bug 76914
Miguel de Icaza [Wed, 14 Dec 2005 16:19:29 +0000 (16:19 -0000)]
New test, for bug 76914

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

18 years ago2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Dec 2005 16:09:45 +0000 (16:09 -0000)]
2005-12-14  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigator.cs : Added MonoTODO to CreateAttributes(). Removed
  MonoTODO from ReadSubtree().

* XPathNavigatorReaderTests.cs : Actually AttributesAndNamespaces()
  does not work under MS.NET.

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

18 years ago2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Dec 2005 16:02:29 +0000 (16:02 -0000)]
2005-12-14  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorReader.cs : oh, so it used to compile under 1.x.

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

18 years ago2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Dec 2005 15:59:23 +0000 (15:59 -0000)]
2005-12-14  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigatorReader.cs : several fixes.
  - Unless ReadState is Interactive, all name stuff should return "".
  - Refactored Read() to work fine when input navigator is Root.
  - Fixed all MoveTo*Attribute() methods match with other XmlReaders.
  - Namespace nodes were not handled fine in MoveTo*Attribute().

* XPathNavigatorReaderTests.cs : new file for testing ReadSubtree()
  and all dependent members.

* System.Xml_test.dll.sources: Added XPathNavigatorReaderTests.cs.

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

18 years agoPatch by D. Moonfire that fixes several issues with 2.0 page attributes.
Gonzalo Paniagua Javier [Wed, 14 Dec 2005 15:49:16 +0000 (15:49 -0000)]
Patch by D. Moonfire that fixes several issues with 2.0 page attributes.

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

18 years ago2005-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 14 Dec 2005 15:48:23 +0000 (15:48 -0000)]
2005-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DropDownListTest.cs: test for html-encoding of the text.

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

18 years agomove reqPath into the try/catch too
Gonzalo Paniagua Javier [Wed, 14 Dec 2005 15:28:43 +0000 (15:28 -0000)]
move reqPath into the try/catch too

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

18 years agoFileLoadExceptionCas.cs, FileNotFoundExceptionCas.cs: MS fixed this in 2.0 final...
Sebastien Pouliot [Wed, 14 Dec 2005 14:17:57 +0000 (14:17 -0000)]
FileLoadExceptionCas.cs, FileNotFoundExceptionCas.cs: MS fixed this in 2.0 final (#71861).

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

18 years agoBadImageFormatExceptionCas.cs: MS fixed this in 2.0 final (#71861).
Sebastien Pouliot [Wed, 14 Dec 2005 14:14:05 +0000 (14:14 -0000)]
BadImageFormatExceptionCas.cs: MS fixed this in 2.0 final (#71861).

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

18 years ago2005-12-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Dec 2005 13:48:56 +0000 (13:48 -0000)]
2005-12-14  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_loader_set_error_type_load): Print the type load
warnings to the console so they are more visible to the user.
(mono_loader_set_error_method_load): Ditto.

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

18 years agoIn ilasm/tests:
Ankit Jain [Wed, 14 Dec 2005 12:11:25 +0000 (12:11 -0000)]
In ilasm/tests:
* test-bounded-array.il: New. Test for [0...], should not lose its
lower bound info.

In ilasm/codegen:
* PeapiTypeRef.cs (PeapiTypeRef.MakeBoundArray): Handle the case when only
lower bound (no size info) is available.

In class/PEAPI:
* Metadata.cs (BoundArray.ctor): Don't calculate sizes if upBounds is
null.

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

18 years ago2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Dec 2005 11:13:40 +0000 (11:13 -0000)]
2005-12-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlNode.cs : (GetNamespaceOfPrefix) return const xml/xmlns URIs
  only under 2.0.

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

18 years agoIn ilasm/tests:
Ankit Jain [Wed, 14 Dec 2005 10:12:48 +0000 (10:12 -0000)]
In ilasm/tests:
* test-array.il: New. Test for tokenizing 0...8

In ilasm/scanner:
* NumberHelper.cs (NumberHelper.Build): Set dec_found to false, if a '..' is
found after a number so that it is parsed as INT64 and not FLOAT64.
Fix #76977.

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

18 years agoIn ilasm/tests:
Ankit Jain [Wed, 14 Dec 2005 08:36:56 +0000 (08:36 -0000)]
In ilasm/tests:
* test-uint.il: New. Test for keywords uint8, uint16, uint32 & uint64.

2005-12-14  Ankit Jain  <jankit@novell.com>

In ilasm/scanner:
2005-12-14  Ankit Jain  <jankit@novell.com>

* ILTables.cs (keywords): Add uint8, uint16, uint32 and uint64 keywords.

In ilasm/parser:
2005-12-14  Ankit Jain  <jankit@novell.com>

* ILParser.jay: Add K_UINT8, K_UINT16, K_UINT32 and K_UINT64 tokens.
(type): Add rule for the new keywords.
(native_type): Likewise.
Fix #76978.

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

18 years ago2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Dec 2005 08:36:22 +0000 (08:36 -0000)]
2005-12-14  Atsushi Enomoto <atsushi@ximian.com>

Added UnderlyingObject support.

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

18 years ago2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Dec 2005 08:30:12 +0000 (08:30 -0000)]
2005-12-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlNode.cs : under 2.0 xml/xmlns are treated as special cases in
  GetNamespaceOfPrefix()/GetPrefixOfNamespace() (but it still does not
  implement IXmlNamespaceResolver, bummer).

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

18 years ago2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Dec 2005 08:25:40 +0000 (08:25 -0000)]
2005-12-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlDocumentTests.cs : (CreateNodeNodeTypeName) the previous fix was
  wrong; ArgumentException is the expected exception (it anyways won't
  work under MS.NET 2.0).
* XmlNodeTests.cs : added labels to assertions. another NotDotNet case.
* XmlAttributeTests.cs : ditto.

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

18 years agofix port resolution for unnamed instances
Konstantin Triger [Wed, 14 Dec 2005 08:14:06 +0000 (08:14 -0000)]
fix port resolution for unnamed instances

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

18 years agoIn ilasm/tests:
Ankit Jain [Wed, 14 Dec 2005 07:33:35 +0000 (07:33 -0000)]
In ilasm/tests:
2005-12-14  Ankit Jain  <jankit@novell.com>

* dotted-names.il: Add test for class with no explicit namespace.

In ilasm/codegen:
2005-12-14  Ankit Jain  <jankit@novell.com>

* TypeDef.cs (TypeDef.ctor): name_space can be null.

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

18 years agocreate AdvancedStroke when have penTransform
Konstantin Triger [Wed, 14 Dec 2005 07:01:13 +0000 (07:01 -0000)]
create AdvancedStroke when have penTransform

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

18 years ago2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Dec 2005 06:54:23 +0000 (06:54 -0000)]
2005-12-14  Atsushi Enomoto <atsushi@ximian.com>

* XmlDocumentTests.cs, XmlAttributeCollectionTests.cs
  XmlElementTests.cs, XmlCharacterDataTests.cs :
  Marked NotDotNet for some tests broken under 2.0 (MS bugs).
  Marked Ignore for some tests which originally does not make sense.
  Changed types in ExpectedException for some tests under 2.0.

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

18 years ago2005-12-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Dec 2005 06:52:29 +0000 (06:52 -0000)]
2005-12-14  Atsushi Enomoto <atsushi@ximian.com>

* XPathEditableDocument.cs : added 2.0 SchemaInfo.

* XmlDocument.cs : changed some exception types.
* XmlDocumentNavigator.cs : added 2.0 SchemaInfo.

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

18 years ago2005-12-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 14 Dec 2005 01:15:21 +0000 (01:15 -0000)]
2005-12-13  Chris Toshok  <toshok@ximian.com>

* System.dll.sources: add
System.Net.Configuration/FtpCachePolicyElement.cs.

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

18 years ago2005-12-13 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 14 Dec 2005 01:11:03 +0000 (01:11 -0000)]
2005-12-13  Chris Toshok  <toshok@ximian.com>

* AuthenticationModuleElementCollection.cs,
AuthenticationModuleElement.cs, AuthenticationModulesSection.cs,
BypassElementCollection.cs, BypassElement.cs,
ConnectionManagementElementCollection.cs,
ConnectionManagementElement.cs, ConnectionManagementSection.cs,
DefaultProxySection.cs, FtpCachePolicyElement.cs,
HttpCachePolicyElement.cs, HttpWebRequestElement.cs,
Ipv6Element.cs, ModuleElement.cs, NetSectionGroup.cs,
ProxyElement.cs, RequestCachingSection.cs: 2.0 config cleanup work.

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

18 years ago2005-12-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Dec 2005 01:02:24 +0000 (01:02 -0000)]
2005-12-14  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (ensure_runtime_vtable): Revert the last change as it
is still broken.

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

18 years ago2005-12-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 14 Dec 2005 00:41:34 +0000 (00:41 -0000)]
2005-12-14  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (ensure_runtime_vtable): Fix build.

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

18 years ago2005-12-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Dec 2005 23:25:48 +0000 (23:25 -0000)]
2005-12-14  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (ensure_runtime_vtable): Disable an optimization which
doesn't work in all cases.

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

18 years ago * Form.cs: Update styles after setting the border style regardless
Jackson Harper [Tue, 13 Dec 2005 22:39:02 +0000 (22:39 -0000)]
* Form.cs: Update styles after setting the border style regardless
of whether or not the window is using a window manager.

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

18 years ago2005-12-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Dec 2005 22:19:02 +0000 (22:19 -0000)]
2005-12-13  Zoltan Varga  <vargaz@gmail.com>

* get.c (get_constant): Use finite() instead of isnormal () since the
latter is not available on solaris.

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

18 years ago2005-12-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Dec 2005 22:01:44 +0000 (22:01 -0000)]
2005-12-13  Zoltan Varga  <vargaz@gmail.com>

* ArrayTest.cs: Add regression test for #76973.

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

18 years ago2005-12-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Dec 2005 21:59:59 +0000 (21:59 -0000)]
2005-12-13  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_array_new_full): Treat a single dimensional array
with 0 lower bounds as an szarray. Fixes #76973.

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

18 years ago2005-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 13 Dec 2005 21:31:23 +0000 (21:31 -0000)]
2005-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthenticationModule.cs: ignore any exception thrown when mapping
the provided virtual path to the physical one. Patch by Cyrille Colin.

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

18 years agoNew test.
Marek Safar [Tue, 13 Dec 2005 21:00:44 +0000 (21:00 -0000)]
New test.

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

18 years ago2005-12-13 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 13 Dec 2005 20:55:41 +0000 (20:55 -0000)]
2005-12-13  Marek Safar  <marek.safar@seznam.cz>

* class.cs (Method.ApplyAttributeBuilder): Test out modifier properly.

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

18 years agoRemove some debugging bits.
Neale Ferguson [Tue, 13 Dec 2005 19:57:26 +0000 (19:57 -0000)]
Remove some debugging bits.

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

18 years ago * System.Windows.Forms.dll.sources: Add the new internal window
Jackson Harper [Tue, 13 Dec 2005 19:49:02 +0000 (19:49 -0000)]
* System.Windows.Forms.dll.sources: Add the new internal window
managers

* Form.cs: We now hook into an internal window manager instead of just an
MDI subsystem, this is so we can have properly behaving tool windows.
* MdiClient.cs: Naming change, MdiChildContext is now WindowManager
* InternalWindowManager.cs: New internal class that acts as a
window manager for tool windows and as a base for mdi windows.
* MdiWindowManager.cs: New class that acts as a window manager for
mdi windows.

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

18 years agoContinuing to bring s390 up to current levels
Neale Ferguson [Tue, 13 Dec 2005 19:12:20 +0000 (19:12 -0000)]
Continuing to bring s390 up to current levels

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

18 years ago2005-12-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Tue, 13 Dec 2005 17:29:32 +0000 (17:29 -0000)]
2005-12-13  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

* NpgsqlClosedState.cs:  Added a performance improvement fix. Npgsql now use a buffered stream for all server interactions.

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

18 years agohandle null string
Konstantin Triger [Tue, 13 Dec 2005 15:50:30 +0000 (15:50 -0000)]
handle null string

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

18 years agoIn ilasm/tests:
Ankit Jain [Tue, 13 Dec 2005 15:26:00 +0000 (15:26 -0000)]
In ilasm/tests:
2005-12-13  Ankit Jain  <jankit@novell.com>

* dotted-names.il: New. Test for dotted names in namespace, class.

In ilasm/codegen:
2005-12-13  Ankit Jain  <jankit@novell.com>

* TypeDef.cs (TypeDef.ctor): Ensure that 'name' contains only the last part
of the full (namespace + name) dotted name.

In ilasm/parser:
2005-12-13  Ankit Jain  <jankit@novell.com>

* ILParser.jay (class_head | D_CLASS ..): Use 'comp_name' instead of 'id' to allow
dotted names.

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

18 years ago2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Dec 2005 15:18:30 +0000 (15:18 -0000)]
2005-12-13  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigator.cs : Reimplemented MoveToFollowing() to avoid
  inefficient MoveToDescendant() and to match .NET 2.0 behavior.

* XPathEditableNavigatorTests.cs : added tests for MoveToFollowing().

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

18 years agoFix MakeTransparent
Konstantin Triger [Tue, 13 Dec 2005 14:52:08 +0000 (14:52 -0000)]
Fix MakeTransparent

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

18 years agoPatches from the Suse autobuild.
Paolo Molaro [Tue, 13 Dec 2005 14:34:06 +0000 (14:34 -0000)]
Patches from the Suse autobuild.

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

18 years ago2005-12-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 13 Dec 2005 14:09:58 +0000 (14:09 -0000)]
2005-12-13  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (custom_attr_visible): Really fix this.

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

18 years agoAvoid lvalue pointer casts.
Paolo Molaro [Tue, 13 Dec 2005 13:57:51 +0000 (13:57 -0000)]
Avoid lvalue pointer casts.

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

18 years ago2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Dec 2005 12:09:02 +0000 (12:09 -0000)]
2005-12-13  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigator.cs : ReplaceSelf() should allow document fragment.
  Moved implementation to XPathEditableDocument.

* XPathEditableDocument.cs : implement ReplaceSelf() here.

* System.Xml_test.dll.sources: Added XmlAssert.cs.

* XmlAssert.cs : new file.

* XPathEditableNavigatorTests.cs : added tests that passes empty
  string to editor methods. Added tests for ReplaceSelf().

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

18 years ago2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Dec 2005 11:19:46 +0000 (11:19 -0000)]
2005-12-13  Atsushi Enomoto <atsushi@ximian.com>

* XPathNavigator.cs : PrependChild() should use AppendChild() when
  there is no child.

* XPathEditableNavigatorTests.cs : added tests for PrependChild().

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

18 years ago2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Dec 2005 10:46:25 +0000 (10:46 -0000)]
2005-12-13  Atsushi Enomoto  <atsushi@ximian.com>

* XPathEditableDocument.cs :
  - Now it does not append "written" nodes until Close() is invoked.
  - Use XmlDocumentFragment to store incomplete tree fragment.
  - Implemented DeleteRange() and ReplaceRange().
  - Added "Closed" event for ReplaceRange() to "not remove until
    Close() is called."

* XPathNavigator.cs : InsertAfter() should raise an error before
  MoveToNext() when current node is either attribute or namespace.

* XPathEditableNavigatorTests.cs :
  Added more tests for InsertAfter() and InsertBefore().
  Added tests for DeleteRange() and ReplaceRange().

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

18 years agoTue Dec 13 11:41:49 GMT 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 13 Dec 2005 10:45:13 +0000 (10:45 -0000)]
Tue Dec 13 11:41:49 GMT 2005 Paolo Molaro <lupus@ximian.com>

* shared.c: fallback to private mmap when shared mmap doesn't work
(like on jffs).

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

18 years ago2005-12-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Dec 2005 10:16:42 +0000 (10:16 -0000)]
2005-12-13  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : 1.x build fix.

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

18 years ago(TARGET_JVM) set the correct defaults for NaN and Infinity
Andrew Skiba [Tue, 13 Dec 2005 09:45:56 +0000 (09:45 -0000)]
(TARGET_JVM) set the correct defaults for NaN and Infinity

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