mono.git
19 years ago2005-01-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 Jan 2005 07:11:27 +0000 (07:11 -0000)]
2005-01-19  Atsushi Enomoto  <atsushi@ximian.com>

* DataRowTest.cs : no need to gather 3 individual tests as RowEditTest.
  Let's not output to Console.

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

19 years ago2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 Jan 2005 06:57:23 +0000 (06:57 -0000)]
2004-01-19  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
  patches and some good catches. Some attributes should be skipped,
  and loaded value must be typed.

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

19 years ago- Removed debug output
Peter Dennis Bartok [Wed, 19 Jan 2005 06:29:25 +0000 (06:29 -0000)]
- Removed debug output
- Implemented missing DoubleClick event for Button

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

19 years ago2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 Jan 2005 06:27:29 +0000 (06:27 -0000)]
2004-01-19  Atsushi Enomoto  <atsushi@ximian.com>

* XmlConstants.cs,
  XmlDataInferenceLoader.cs,
  XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
* XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.

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

19 years agoexceptions-s390.c tramp-s390.c: Allocate code using the global code manager.
Neale Ferguson [Wed, 19 Jan 2005 05:15:40 +0000 (05:15 -0000)]
exceptions-s390.c tramp-s390.c: Allocate code using the global code manager.

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

19 years agoAdd error test
Miguel de Icaza [Wed, 19 Jan 2005 03:35:17 +0000 (03:35 -0000)]
Add error test

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

19 years ago- Forgot to commit
Peter Dennis Bartok [Tue, 18 Jan 2005 23:01:29 +0000 (23:01 -0000)]
- Forgot to commit

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

19 years ago- Fixed situations where menus don't show up on startup, until a resize
Peter Dennis Bartok [Tue, 18 Jan 2005 22:51:27 +0000 (22:51 -0000)]
- Fixed situations where menus don't show up on startup, until a resize
- Made sure that layout is recalculated when showing new forms

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

19 years agoMake this bold
Miguel de Icaza [Tue, 18 Jan 2005 21:59:13 +0000 (21:59 -0000)]
Make this bold

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

19 years agoupdate projecte file
Jordi Mas i Hernandez [Tue, 18 Jan 2005 21:58:08 +0000 (21:58 -0000)]
update projecte file

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

19 years ago2005-01-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 18 Jan 2005 21:45:08 +0000 (21:45 -0000)]
2005-01-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XmlSerializer.cs: only print the results if there's an error
compiling.

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

19 years ago2005-01-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 18 Jan 2005 21:04:17 +0000 (21:04 -0000)]
2005-01-18  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_lookup_pinvoke_call): Revert the previous patch as it breaks
System.Drawing.

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

19 years ago2005-01-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 18 Jan 2005 19:55:03 +0000 (19:55 -0000)]
2005-01-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SerializationCodeGenerator.cs: don't use _config if it has not been
assigned.

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

19 years ago2005-01-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 18 Jan 2005 19:51:10 +0000 (19:51 -0000)]
2005-01-18  Zoltan Varga  <vargaz@freemail.hu>

* MethodBase.cs MonoMethod.cs: Hopefully fix the build.

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

19 years ago2005-01-18 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Tue, 18 Jan 2005 19:36:47 +0000 (19:36 -0000)]
2005-01-18  Geoff Norton  <gnorton@customerdna.com>

        * jit-icalls.c (mono_llmult_ovf): Fix other overflow conditions to
        be detected.  Fixes #59296.

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

19 years ago2005-01-18 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Tue, 18 Jan 2005 19:25:26 +0000 (19:25 -0000)]
2005-01-18  Geoff Norton  <gnorton@customerdna.com>

        * ModuleBuilder.cs: Interfaces should have null BaseType.
        Fixes #71301.

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

19 years ago2005-01-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 18 Jan 2005 19:20:03 +0000 (19:20 -0000)]
2005-01-18  Zoltan Varga  <vargaz@freemail.hu>

* MethodBase.cs MonoMethod.cs: Implement 2.0 GetMethodBody ().

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

19 years ago2005-01-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 18 Jan 2005 18:58:39 +0000 (18:58 -0000)]
2005-01-18  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_method_body_get_object): Handle abstract and
runtime methods.

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

19 years agoIPAddressTest.cs: Some tests may not work if support for IPv6 is disabled in machine...
Sebastien Pouliot [Tue, 18 Jan 2005 18:47:48 +0000 (18:47 -0000)]
IPAddressTest.cs: Some tests may not work if support for IPv6 is disabled in machine.config. Tests haven't re-worked to check for Socket.SupportsIPv6 to ignore them in this case.

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

19 years agoFixes ComboBox ownerdraw
Jordi Mas i Hernandez [Tue, 18 Jan 2005 18:36:06 +0000 (18:36 -0000)]
Fixes ComboBox ownerdraw

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

19 years agoAspNetHostingPermissionTest.cs: Fixed for NET_1_1 which has a different (but bad...
Sebastien Pouliot [Tue, 18 Jan 2005 17:59:33 +0000 (17:59 -0000)]
AspNetHostingPermissionTest.cs: Fixed for NET_1_1 which has a different (but bad) behaviour for intersecting with null.

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

19 years ago2005-01-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 18 Jan 2005 17:42:03 +0000 (17:42 -0000)]
2005-01-18  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_output_basic_block): Remove some assertions
which can happen. Fixes #71361.

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

19 years ago* Evidence.cs: Fix problem with default evidence when ICU is enabled. Fix bug #71366.
Sebastien Pouliot [Tue, 18 Jan 2005 17:39:29 +0000 (17:39 -0000)]
* Evidence.cs: Fix problem with default evidence when ICU is enabled. Fix bug #71366.

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

19 years ago2005-01-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 18 Jan 2005 16:44:16 +0000 (16:44 -0000)]
2005-01-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* IPAddressTest.cs: this test fails with a FormatException.

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

19 years ago2005-01-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 18 Jan 2005 16:42:57 +0000 (16:42 -0000)]
2005-01-18  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-sparc.c tramp-sparc.c: Allocate code using the global code
manager.

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

19 years ago2005-01-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 18 Jan 2005 16:07:53 +0000 (16:07 -0000)]
2005-01-18  Zoltan Varga  <vargaz@freemail.hu>

* monoburg.y (yyparsetail): Handle the case when the burg file does
not end with an empty line.

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

19 years ago * DiagnosticsConfigurationHandler.cs (DiagnosticsConfiguration):
Jonathan Pryor [Tue, 18 Jan 2005 15:52:48 +0000 (15:52 -0000)]
  * DiagnosticsConfigurationHandler.cs (DiagnosticsConfiguration):
    Use a lock-free algorithm for creating the settings information.
  * TraceImpl.cs (InitOnce): Use a lock-free algorithm for creating the
    listeners collection and initializing the world.

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

19 years agoMust not throw
Miguel de Icaza [Tue, 18 Jan 2005 15:11:20 +0000 (15:11 -0000)]
Must not throw

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

19 years ago2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 18 Jan 2005 15:09:10 +0000 (15:09 -0000)]
2005-01-18  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcDataReader.cs: GetOrdinal need not check for
currentRow. Return -1 if column name is not found.

fixes bug #71261. Thanks to patch given by "Appasamy T"
<appasamy@rediffmail.com>.

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

19 years ago2005-01-18
Nick Drochak [Tue, 18 Jan 2005 14:14:31 +0000 (14:14 -0000)]
2005-01-18

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

19 years ago2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 18 Jan 2005 13:56:11 +0000 (13:56 -0000)]
2005-01-18  Sureshkumar T  <tsureshkumar@novell.com>

Fix for bug #66838. This patch is submitted by "Ankit Jain"
<radical@corewars.org> and refactored.

* DataRow.cs: Allows to set a parent row even if the row is in
detached state.

* DataRelation.cs: method "UpdateConstraints" is added to check
and create missing keys when adding a relation. This is refactored
approach from DataRelationCollection.Add method.

* DataRelationCollection.cs: AddCore methods of all relation types
are synchronized. A Check for existing constraints is
done. Relation is added to the list only if all checks are passed.

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

19 years agoImplement the .NET 1.1 requirement that the
Jonathan Pryor [Tue, 18 Jan 2005 13:25:34 +0000 (13:25 -0000)]
Implement the .NET 1.1 requirement that the
/system.diagnostics/switch/add/@value attribute only contain numeric data and
some other fixes (thread-safety in the Debug- and Trace-related classes).

  * System/System.Diagnostics/DiagnosticsConfigurationHandler.cs
    (DiagnosticsConfiguration): Don't read the .config file from the
    static ctor (again), as if it fails we'll get a TypeLoadException -- bad!       Instead, lazy-read the .config file.
  * System/System.Diagnostics/DiagnosticsConfigurationHandler.cs
    (DiagnosticsConfigurationHandler): Require that the /switch/add/@value
    attribute contains only numeric values.
  * System/System.Diagnostics/DiagnosticsConfigurationHandler.cs:
  * System/System.Diagnostics/TraceImpl.cs: Don't initialize everything in
    the static ctor, as if it fails (due to an invalid .confg file) we get a
    TypeLoadException, while .NET generates a ConfigurationException.
    Instead, initialize everything the first time the Listeners property is
    accessed, which allows the static ctor to run without chance of failure,
    avoiding the TypeLoadException.
  * System/System.Diagnostics/TraceListenerCollection.cs: This should be
    thread-safe, as it's accessible from a static member of TraceImpl
    (available through the public Debug and Trace classes).
  * System/System.Diagnostics/Switch.cs: Leave the original switch value alone.
    If it isn't valid (i.e. numeric), the DiagnosticsConfigurationHandler
    will catch it.
  * System/Test/test-config-file: Remove "string-value" switch, as it causes
    ConfigurationExceptions under .NET 1.1 (the value attribute can't be
    non-numeric), and Mono now follows this behavior.  Add a "custom-switch"
    value, which is used in the regression tests.
  * System/Test/System.Diagnostics/DiagnosticsConfigurationHandlerTest.cs:
    .NET 1.1 requires that the value attribute be a numeric value; check for
    that and update the success test so that they'll actually pass.
  * System/Test/System.Diagnostics/SwitchesTest.cs: TestNewSwitch reads
    "custom-switch" now, and the switches value is now "42", not "0".
    Remove warning about unused variable.

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

19 years ago2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 18 Jan 2005 12:53:40 +0000 (12:53 -0000)]
2004-01-18  Atsushi Enomoto  <atsushi@ximian.com>

* DataColumnCollection.cs : Clear() throws ArgumentException that
  wraps thrown innerException.
* XmlSchemaDataImporter.cs : removed FIXMEs.

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

19 years ago2005-01-18 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 18 Jan 2005 12:44:23 +0000 (12:44 -0000)]
2005-01-18  Lluis Sanchez Gual  <lluis@novell.com>

* XmlReflectionImporter.cs: Don't check the property type if it has
an [XmlIgnore] attribute. This fixes bug #71332.

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

19 years ago2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 18 Jan 2005 11:15:14 +0000 (11:15 -0000)]
2004-01-18  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources :
  Added XmlNameEntry.cs and XmlNameEntryCache.cs.

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

19 years ago2005-01-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 18 Jan 2005 10:41:55 +0000 (10:41 -0000)]
2005-01-18  Atsushi Enomoto <atsushi@ximian.com>

* XmlNode.cs,
  XmlAttribute.cs,
  XmlAttributeCollection.cs :
  Now reuse parentNode field for XmlAttribute.OwnerElement and
  reduce class allocation size.
* XmlNameEntry.cs :
  New class that represents a name triplet.
  XmlNameEntryCache.cs :
  New type to cache name entries.
* XmlAttribute.cs,
  XmlElement.cs :
  Replace name strings with name entry and save class allocation size.
  XmlDocument.cs :
  Add name entry cache field to document and reuse name entries that
  are already allocated.

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

19 years agoTue Jan 18 11:19:47 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 18 Jan 2005 10:10:11 +0000 (10:10 -0000)]
Tue Jan 18 11:19:47 CET 2005 Paolo Molaro <lupus@ximian.com>

* pthread_stop_world.c: handle EINTR from sem_wait() call.

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

19 years ago- Removed Antialiasing
Peter Dennis Bartok [Tue, 18 Jan 2005 09:05:10 +0000 (09:05 -0000)]
- Removed Antialiasing

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

19 years ago- Sentinel is no longer static, each Document gets it's own, this avoids
Peter Dennis Bartok [Tue, 18 Jan 2005 08:50:22 +0000 (08:50 -0000)]
- Sentinel is no longer static, each Document gets it's own, this avoids
  locking or alternatively overwrite problems when more than one text control
  is used simultaneously.
- Switched to use Hilight and HilightText brushes for text selection

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

19 years ago* driver.cs (Install): Restore fix from 2004-12-08.
Raja R Harinath [Tue, 18 Jan 2005 08:33:45 +0000 (08:33 -0000)]
* driver.cs (Install): Restore fix from 2004-12-08.

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

19 years agoremove unused variable
César Natarén [Tue, 18 Jan 2005 07:37:15 +0000 (07:37 -0000)]
remove unused variable

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

19 years ago- Forgot a cast
Peter Dennis Bartok [Tue, 18 Jan 2005 07:27:36 +0000 (07:27 -0000)]
- Forgot a cast

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

19 years ago- Hooked up the following events:
Peter Dennis Bartok [Tue, 18 Jan 2005 07:25:26 +0000 (07:25 -0000)]
- Hooked up the following events:
  o ControlAdded
  o ControlRemoved
  o HandleDestroyed
  o ImeModeChanged
  o ParentChanged
  o TabStopChanged
  o Invalidated
  o SystemColorsChanged
  o ParentFontChanged
  o Move
- Removed debug output
- Added a call to the current theme's ResetDefaults when a color change
  is detected
- Added a mechanism to tell the theme to reset it's defaults

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

19 years ago- Added more missing attributes
Peter Dennis Bartok [Tue, 18 Jan 2005 06:59:32 +0000 (06:59 -0000)]
- Added more missing attributes

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

19 years ago- Added missing attributes
Peter Dennis Bartok [Tue, 18 Jan 2005 06:24:35 +0000 (06:24 -0000)]
- Added missing attributes

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

19 years ago2005-01-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 18 Jan 2005 05:32:47 +0000 (05:32 -0000)]
2005-01-18  Miguel de Icaza  <miguel@ximian.com>

* TypeBuilder.cs: Add check for creation.  Fix from Geoff.

More test shuffling to get rid of all the failures from the standard build

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

19 years ago * TreeNode.cs: Implement editing. Add missing properties selected
Jackson Harper [Tue, 18 Jan 2005 02:23:11 +0000 (02:23 -0000)]
* TreeNode.cs: Implement editing. Add missing properties selected
and visible.
* TreeView.cs: Implement node editing. Also some fixes to use
Invalidate (invalid area) instead of Refresh when selecting.

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

19 years ago- Implemented InvokeGotFocus() method
Peter Dennis Bartok [Tue, 18 Jan 2005 01:26:25 +0000 (01:26 -0000)]
- Implemented InvokeGotFocus() method
- Implemented InvokeLostFocus() method
- Implemented InvokePaint() method
- Implemented InvokePaintBackground() method
- Implemented InvokeClick() method
- Implemented FindForm() method
- Implemented RectangleToClient() method
- Implemented ClientToRectangle() method
- Implemented ResetBackColor() method
- Implemented ResetCursor() method
- Implemented ResetFont() method
- Implemented ResteForeColor() method
- Implemented ResetImeMode() method
- Implemented ResetLeftToRight() method
- Implemented ResetText() method
- Implemented Scale() methods
- Implemented ScaleCore() method
- Implemented Update() method
- Removed unused variables
- Stubbed AccessibilityNotifyClients and
  ControlAccessibleObject.NotifyClients() methods (dunno what to do with those yet)
- Now setting proper default for RightToLeft property
- Fixed bug in SetClientSizeCore that would cause windows to get really big
- Now sending Click/DoubleClick events
- Now selecting controls when left mouse button is clicked on selectable control
- Fixed bug #68756
- Added XplatUI.UpdateWindow() and driver implementations
- Fixes to remove compile-time warnings
- ButtonBase now sets StandardClick and StandardDoubleClick to false
- Added AccessibleEvents enumeration

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

19 years agoAdd
Miguel de Icaza [Mon, 17 Jan 2005 22:51:01 +0000 (22:51 -0000)]
Add

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

19 years ago2005-01-17 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 17 Jan 2005 22:49:13 +0000 (22:49 -0000)]
2005-01-17  Miguel de Icaza  <miguel@ximian.com>

* convert.cs (ImplicitStandardConversionExists): Synchronize the
code with ImplicitStandardConversion to handle the implicit
conversion of method groups into valid delegate invocations.

The problem is that in parameter handling we were using this code
path.  Fixes bug #64698

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

19 years agofix loading of VsaEngine
César Natarén [Mon, 17 Jan 2005 22:37:55 +0000 (22:37 -0000)]
fix loading of VsaEngine

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

19 years ago2005-01-17 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Mon, 17 Jan 2005 22:35:31 +0000 (22:35 -0000)]
2005-01-17  Cesar Lopez Nataren  <cnataren@novell.com>

* CodeGenerator.cs: Added load_engine.
* expression.cs (emit_func_call), FunctionDeclaration.cs: Fix
computation of VsaEngine.

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

19 years ago2005-01-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Jan 2005 21:37:48 +0000 (21:37 -0000)]
2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* System.Security.dll.sources: Added System.Security.Cryptography.
X509Certificates/X509EnhancedKeyUsageExtension.cs and
X509SubjectKeyIdentifierHashAlgorithm.cs to the build.
* System.Security_test.dll.sources: Added System.Security.Cryptography
.Pkcs/Pkcs9ContentTypeTest.cs, Pkcs9MessageDigestTest.cs and System.
Security.Cryptography.X509Certificates/X509BasicConstraintsExtensionTest.cs,
X509EnhancedKeyUsageExtensionTest.cs, X509ExtensionTest.cs,
X509KeyUsageExtensionTest.cs and X509SubjectKeyIdentifierExtensionTest.cs
to the unit test assembly.

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

19 years ago2005-01-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Jan 2005 21:34:35 +0000 (21:34 -0000)]
2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* X509BasicConstraintsExtension.cs: Completed implementation.
* X509Chain.cs: Updated to Dec CTP definitions.
* X509ChainPolicy.cs: Updated to Dec CTP definitions.
* X500DistinguishedNameFlags.cs: Added new ForceUTF8Encoding.
* X509EnhancedKeyUsageExtension.cs: New. Complete implementation.
* X509Extension.cs: Completed implementation.
* X509ExtensionCollection.cs: Updated to Dec CTP definitions.
* X509KeyUsageExtension.cs: Completed implementation.
* X509RevocationFlag.cs: Minus 1 on each member.
* X509SubjectKeyIdentifierExtension.cs: Completed implementation
except for the new constructor accepting a public key.
* X509SubjectKeyIdentifierHashAlgorithm.cs: New enum.

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

19 years agoUpdated
Miguel de Icaza [Mon, 17 Jan 2005 21:23:23 +0000 (21:23 -0000)]
Updated

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

19 years ago2005-01-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Jan 2005 21:15:44 +0000 (21:15 -0000)]
2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* Pkcs9Attribute.cs: Fixed wrt unit tests.
* Pkcs9ContentType.cs: Completed public part. Internals are still
todo later.
* Pkcs9DocumentDescription.cs: Completed implementation.
* Pkcs9DocumentName.cs: Completed implementation.
* Pkcs9SigningTime.cs: Completed implementation.
* Pkcs9MessageDigest.cs: Completed public part. Internals are still
todo later.

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

19 years ago2005-01-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Jan 2005 21:11:21 +0000 (21:11 -0000)]
2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedData.cs: Added more decoding/formatting code as this class
is far more intelligent (or bloated) than anticipated.
* Oid.cs: Added more Oid / FriendlyName definitions required for the
X.509 extensions and some more for some failing unit tests.
* OidCollection.cs: Added support to make the collection read-only.

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

19 years ago2005-01-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Jan 2005 21:07:02 +0000 (21:07 -0000)]
2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* X509BasicConstraintsExtensionTest.cs: New. Unit tests.
* X509EnhancedKeyUsageExtensionTest.cs: New. Unit tests.
* X509ExtensionTest.cs: New. Unit tests.
* X509KeyUsageExtensionTest.cs: New. Unit tests.
* X509SubjectKeyIdentifierExtensionTest.cs: New. Unit tests.

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

19 years ago2005-01-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Jan 2005 21:00:12 +0000 (21:00 -0000)]
2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* Pkcs9ContentTypeTest.cs: New. Unit tests for ContentType attribute.
* Pkcs9DocumentDescriptionTest.cs: Added tests for Format(bool).
* Pkcs9DocumentNameTest.cs: Added tests for Format(bool).
* Pkcs9MessageDigestTest.cs: New. Unit tests for MessageDigest attr.
* Pkcs9SigningTimeTest.cs: Added tests for Format(bool) and tests to
check valid dates - limited to [1950,2049].

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

19 years ago2005-01-17 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 17 Jan 2005 20:44:30 +0000 (20:44 -0000)]
2005-01-17  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedDataTest.cs: Added tests decode Fx supported Enhanced Key
Usage extension and Fx "officially" unsupported Netscape Cert Type
extension. Both are docoded sucessfully at this level.

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

19 years agoBring unit tests & mono up-to-date with .NET 1.1. The <system.diagnostics/>
Jonathan Pryor [Mon, 17 Jan 2005 20:42:06 +0000 (20:42 -0000)]
Bring unit tests & mono up-to-date with .NET 1.1.  The <system.diagnostics/>
configuration element /switches/add/@value attribute is now *required*, not
optional (as it was under .NET 1.0).

* System/System.Diagnostics/DiagnosticsConfigurationHandler.cs:
  The /switch/add/@value attribute isn't optional under .NET 1.1, so make
  sure it exists.

* System/Test/test-config-file: Remove <add/> elements lacking a value
  attribute.  .NET 1.1 doesn't support this anymore, and neither does Mono.

* System/Test/System.Diagnostics/DiagnosticsConfigurationHandlerTest.cs:
  .NET 1.1 doesn't permit <add/> elements without a value attribute.
  Assert the same under Mono.

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

19 years agoCommitting this for Atsushi,
Duncan Mak [Mon, 17 Jan 2005 20:26:20 +0000 (20:26 -0000)]
Committing this for Atsushi,

"I've fixed apiinfo stuff in mono/web and it reflects sys.data, sys.web
etc. (actually other than corlib/system/sys.xml). If there is no
problem, I'll commit it later."

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

19 years ago2005/01/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Mon, 17 Jan 2005 20:16:57 +0000 (20:16 -0000)]
2005/01/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* driver.cs : correct handling of /imports command-line option.
Patch from Hans Kratz <kratz@omnicore.com>

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

19 years ago * DiagnosticsConfigurationHandlerTest.cs: Don't ignore tests, instead mark
Jonathan Pryor [Mon, 17 Jan 2005 20:10:41 +0000 (20:10 -0000)]
  * DiagnosticsConfigurationHandlerTest.cs: Don't ignore tests, instead mark
    them as [Category ("NotDotNet")]; Fix the TraceTag_Listeners example (it
    was passing invalid XML in a "valid" test).

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

19 years agoUpdate
Miguel de Icaza [Mon, 17 Jan 2005 19:45:26 +0000 (19:45 -0000)]
Update

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

19 years ago * LinkLabel.cs: Sig fix
Jackson Harper [Mon, 17 Jan 2005 19:07:40 +0000 (19:07 -0000)]
* LinkLabel.cs: Sig fix

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

19 years ago * NavigateEventArgs.cs: Fix base type.
Jackson Harper [Mon, 17 Jan 2005 18:52:13 +0000 (18:52 -0000)]
* NavigateEventArgs.cs: Fix base type.

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

19 years ago2005-01-17 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 17 Jan 2005 18:23:26 +0000 (18:23 -0000)]
2005-01-17  Dick Porter  <dick@ximian.com>

* timefuncs.h: Make WapiFileTime endian-aware, as it's often
cast to and from 64bit ints.  Fixes bug 71213.

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

19 years agoMon Jan 17 19:22:39 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jan 2005 18:18:06 +0000 (18:18 -0000)]
Mon Jan 17 19:22:39 CET 2005 Paolo Molaro <lupus@ximian.com>

* marshal.c, loader.c, class-internals.h, reflection.c:
store the emthod data for a wrapper in an array instead of a list.

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

19 years agoMon Jan 17 18:48:53 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jan 2005 17:39:20 +0000 (17:39 -0000)]
Mon Jan 17 18:48:53 CET 2005 Paolo Molaro <lupus@ximian.com>

* marshal.c: change the code to allocate memory more
conservatively for method wrappers.

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

19 years agoMon Jan 17 18:03:30 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jan 2005 16:58:55 +0000 (16:58 -0000)]
Mon Jan 17 18:03:30 CET 2005 Paolo Molaro <lupus@ximian.com>

* class-internals.h, marshal.c: move the str_to_ptr and ptr_to_str
fields from MonoClass to the marshal info structure where they belong.

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

19 years ago * TreeView.cs: Only invalidate the effected nodes bounds when
Jackson Harper [Mon, 17 Jan 2005 16:35:45 +0000 (16:35 -0000)]
* TreeView.cs: Only invalidate the effected nodes bounds when
selecting nodes.

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

19 years agofixes marshaling and method signature
Jordi Mas i Hernandez [Mon, 17 Jan 2005 16:11:58 +0000 (16:11 -0000)]
fixes marshaling and method signature

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

19 years agofixes marshaling and method signature
Jordi Mas i Hernandez [Mon, 17 Jan 2005 16:11:39 +0000 (16:11 -0000)]
fixes marshaling and method signature

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

19 years agofixes marshaling and method signature
Jordi Mas i Hernandez [Mon, 17 Jan 2005 16:11:20 +0000 (16:11 -0000)]
fixes marshaling and method signature

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

19 years ago2005-01-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 17 Jan 2005 16:05:58 +0000 (16:05 -0000)]
2005-01-17  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_create_jump_trampoline): Revert last change as it causes
appdomain-unload.exe to fail.

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

19 years agocalls XCloseDisplay on X11 when need it
Jordi Mas i Hernandez [Mon, 17 Jan 2005 15:54:01 +0000 (15:54 -0000)]
calls XCloseDisplay on X11 when need it

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

19 years ago2005-01-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 17 Jan 2005 15:41:30 +0000 (15:41 -0000)]
2005-01-17  Zoltan Varga  <vargaz@freemail.hu>

* mini.c: Fix some memory leaks.

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

19 years ago2005-01-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 17 Jan 2005 15:39:49 +0000 (15:39 -0000)]
2005-01-17  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (mono_icall_init): Renamed from mono_init_icall.

* icall.c (mono_icall_cleanup): New function to free the icall hash
tables.

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

19 years ago2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 17 Jan 2005 15:21:48 +0000 (15:21 -0000)]
2005-01-17  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchema.cs : XmlSchema.Write() should not write duplicating
  top-level entry in XmlSerializerNamespaces and XmlNamespaceManager.
  This fixes some DataSet bugs.

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

19 years agoMon Jan 17 16:16:23 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jan 2005 15:07:21 +0000 (15:07 -0000)]
Mon Jan 17 16:16:23 CET 2005 Paolo Molaro <lupus@ximian.com>

* inssel.brg: handle the new size of rank, idepth, max_interface_id.
Fixed bug and sped up some codepaths.

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

19 years agoMon Jan 17 16:14:46 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jan 2005 15:07:06 +0000 (15:07 -0000)]
Mon Jan 17 16:14:46 CET 2005 Paolo Molaro <lupus@ximian.com>

* class.c, object.c, class-internals.h, marshal.c: rearrange
some fields and tweak some types to lower memory usage.

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

19 years ago2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 17 Jan 2005 14:34:45 +0000 (14:34 -0000)]
2005-01-17  Atsushi Enomoto <atsushi@ximian.com>

* XmlNode.cs, XmlAttribute.cs : reverted the previous patch. It broke
  several nunit tests.

  ..Missed the commits except for ChangeLog :(

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

19 years ago2005-01-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 17 Jan 2005 14:12:28 +0000 (14:12 -0000)]
2005-01-17  Zoltan Varga  <vargaz@freemail.hu>

* mini.c: Fix some memory leaks.

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

19 years ago2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 17 Jan 2005 13:54:00 +0000 (13:54 -0000)]
2005-01-17  Atsushi Enomoto <atsushi@ximian.com>

* XmlNode.cs, XmlAttribute.cs : reverted the previous patch. It broke
  several nunit tests.

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

19 years ago2005-01-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 17 Jan 2005 13:19:02 +0000 (13:19 -0000)]
2005-01-17  Zoltan Varga  <vargaz@freemail.hu>

* threads.c (signal_thread_state_change): Handle the case when the
target thread is the current thread.

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

19 years ago2005-01-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 17 Jan 2005 13:00:53 +0000 (13:00 -0000)]
2005-01-17  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_struct_delete_old): Do not free lpwstr fields.

* marshal.c: Rename emit_ptr_to_str_conv and its pair to
emit_ptr_to_object_conv.

* marshal.c (emit_ptr_to_object_conv): Add support for lpwstr->str
marshalling. Fixes #71352.

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

19 years ago2005-01-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 17 Jan 2005 12:57:22 +0000 (12:57 -0000)]
2005-01-17  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c pinvoke2.cs pinvoke3.cs: Add tests for unmanaged->managed
marshalling of unicode strings.

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

19 years ago- Clean up resources when we no longer need them
Peter Dennis Bartok [Mon, 17 Jan 2005 11:42:30 +0000 (11:42 -0000)]
- Clean up resources when we no longer need them

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

19 years ago- Updated
Peter Dennis Bartok [Mon, 17 Jan 2005 11:34:35 +0000 (11:34 -0000)]
- Updated

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

19 years ago- Implemented Cursors class
Peter Dennis Bartok [Mon, 17 Jan 2005 11:31:34 +0000 (11:31 -0000)]
- Implemented Cursors class
- Added Cursor methods to XplatUI driver definition
- Implemented cursor support in Win32 and X11 drivers
- Stubbed cursor functions in OS X driver
- Implemented cursor support in Control

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

19 years agoMon Jan 17 10:59:20 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 17 Jan 2005 10:08:49 +0000 (10:08 -0000)]
Mon Jan 17 10:59:20 CET 2005 Paolo Molaro <lupus@ximian.com>

* metadata.h, blob.h: move table enum to blob.h so it can be included
in any header.
* image.c, metadata.c, metadata-internals.h, pedump.c, reflection.c:
cut the size of MonoImage/MonoDynamicImage.

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

19 years ago2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 17 Jan 2005 09:58:17 +0000 (09:58 -0000)]
2005-01-17  Atsushi Enomoto  <atsushi@ximian.com>

* corlib.dll.sources : added CharUnicodeInfo.cs.

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

19 years ago2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 17 Jan 2005 09:56:59 +0000 (09:56 -0000)]
2005-01-17  Atsushi Enomoto  <atsushi@ximian.com>

* CharUnicodeInfo.cs : added new in 2.0 (kinda hacky).

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

19 years ago* Makefile ($(test_lib).config): New. Create it when test library is built.
Raja R Harinath [Mon, 17 Jan 2005 09:50:13 +0000 (09:50 -0000)]
* Makefile ($(test_lib).config): New.  Create it when test library is built.
(CLEAN_FILES): Remove it.
(test-recursive,clean-recursive): Delete.

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

19 years ago2004-01-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 17 Jan 2005 09:49:35 +0000 (09:49 -0000)]
2004-01-17  Atsushi Enomoto  <atsushi@ximian.com>

* XslVariable.cs : use DTMXPathDocumentWriter2.

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

19 years ago2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 17 Jan 2005 09:45:25 +0000 (09:45 -0000)]
2005-01-17  Atsushi Enomoto  <atsushi@ximian.com>

ChangeLog : forgot to commit.

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

19 years ago2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 17 Jan 2005 09:41:58 +0000 (09:41 -0000)]
2005-01-17  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidator.cs : in case of open start tag,
  ValidateEndElement() calls ValidateEndOfAttributes().

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

19 years ago2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 17 Jan 2005 09:40:11 +0000 (09:40 -0000)]
2005-01-17  Atsushi Enomoto <atsushi@ximian.com>

* xmlschemagen.config,
  XmlSchemaSerializer.cs : replacement of CustomSerializer.cs which was
  based on genxs but manually modified.
* CustomSerializer.cs : removed.

2004-01-17  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources : replaced CustomSerializer with
  XmlSchemaSerializer.
  Replaced XmlNodeReader with XmlNodeReaderImpl.cs and
  XmlNodeReader2.cs. (dispatches entity reader and non-entity reader.)

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

19 years ago2005-01-17 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 17 Jan 2005 09:32:37 +0000 (09:32 -0000)]
2005-01-17  Atsushi Enomoto <atsushi@ximian.com>

* XmlReaderSettingsTests.cs : added some .ctor() tests.

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