mono.git
18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 22:28:35 +0000 (22:28 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* System.Configuration/TimeSpanMinutesOrInfiniteConverterTest.cs:
new tests.

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

18 years agocorrect comment
Chris Toshok [Wed, 5 Oct 2005 22:28:09 +0000 (22:28 -0000)]
correct comment

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

18 years agoadd myself as an author
Chris Toshok [Wed, 5 Oct 2005 22:27:39 +0000 (22:27 -0000)]
add myself as an author

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 22:01:28 +0000 (22:01 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* System.Configuration/TimeSpanSecondsConverterTest.cs: new tests.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 22:01:05 +0000 (22:01 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* TimeSpanSecondsConverter.cs: new implementation.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 21:30:03 +0000 (21:30 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* System.Configuration/TimeSpanMinutesConverterTest.cs: new tests.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 21:26:26 +0000 (21:26 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* TimeSpanMinutesConverter.cs: flesh out implementation.

* ConfigurationConverterBase.cs: make all subclasses work with
strings only, since that's what seems to manifest itself in the
tests.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 19:58:10 +0000 (19:58 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* ConfigurationLockCollection.cs: add NIE'd AttributeList
property.

* ConfigurationConverterBase.cs: add MonoTODO'd CanConvertFrom and
CanConvertTo methods.

* ConfigurationSectionGroup.cs: add NIE'd IsDeclared property.

* ProtectedConfigurationSection.cs: add NIE'd properties.

* ConfigurationElementCollection.cs: add MonoTODO'd IsReadOnly
and SetReadOnly methods, and have then chain up to the base class.

* KeyValueConfigurationCollection.cs: add the class level
ConfigurationCollectionAttribute, and add a NIE'ed Properties
property.

* ProviderSettingsCollection.cs: add the class level
ConfigurationCollectionAttribute, and add a "new" keyword to the
this property.  Also, nuke the Provider's property.

* SectionInformation.cs: add some NEI'd properties.

* ConfigurationSection.cs (ResetModified): leave the MonoTODO, but
chain up to base class's method instead of throwing NIE.

* ConnectionStringSettingsCollection.cs: add the class-level
ConfigurationCollectionAttribute, and add the unimplemented
Properties property.

* ConfigurationErrorsException.cs: flesh this out, and add a
pragma to disable the obsolete warnings from our base class.

* ProviderSettings.cs: add unimplemented Properties property.

* ConfigurationElement.cs: remove unnecessary
EvaluationInformation.

* InternalConfigurationRoot.cs: add unimplemented IsDesignTime
property.

* ConfigurationProperty.cs: add a missing ctor.

* AppSettingsSection.cs: add missing "override" keyword.

* ConnectionStringsSection.cs: remove override.

* ConfigurationSectionCollection.cs: AllKeys -> Keys, and add
unimplemented GetObjectData override.

* ConfigurationSectionGroupCollection.cs: same.

* ConfigurationCollectionAttribute.cs: add missing CollectionType
property.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 19:57:38 +0000 (19:57 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* ConfigurationLockCollection.cs: add NIE'd AttributeList
property.

* ConfigurationConverterBase.cs: add MonoTODO'd CanConvertFrom and
CanConvertTo methods.

* ConfigurationSectionGroup.cs: add NIE'd IsDeclared property.

* ProtectedConfigurationSection.cs: add NIE'd properties.

* ConfigurationElementCollection.cs: add MonoTODO'd IsReadOnly
and SetReadOnly methods, and have then chain up to the base class.

* KeyValueConfigurationCollection.cs: add the class level
ConfigurationCollectionAttribute, and add a NIE'ed Properties
property.

* ProviderSettingsCollection.cs: add the class level
ConfigurationCollectionAttribute, and add a "new" keyword to the
this property.  Also, nuke the Provider's property.

* SectionInformation.cs: add some NEI'd properties.

* ConfigurationSection.cs (ResetModified): leave the MonoTODO, but
chain up to base class's method instead of throwing NIE.

* ConnectionStringSettingsCollection.cs: add the class-level
ConfigurationCollectionAttribute, and add the unimplemented
Properties property.

* ConfigurationErrorsException.cs: flesh this out, and add a
pragma to disable the obsolete warnings from our base class.

* ProviderSettings.cs: add unimplemented Properties property.

* ConfigurationElement.cs: remove unnecessary
EvaluationInformation.

* InternalConfigurationRoot.cs: add unimplemented IsDesignTime
property.

* ConfigurationProperty.cs: add a missing ctor.

* AppSettingsSection.cs: add missing "override" keyword.

* ConnectionStringsSection.cs: remove override.

* ConfigurationSectionCollection.cs: AllKeys -> Keys, and add
unimplemented GetObjectData override.

* ConfigurationSectionGroupCollection.cs: same.

* ConfigurationCollectionAttribute.cs: add missing CollectionType
property.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 19:41:34 +0000 (19:41 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* ConfigurationPermission.cs: new implementation.

* IgnoreSection.cs: new implementation.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 19:40:31 +0000 (19:40 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* System.Configuration/ConfigurationPermissionTest.cs: beginnings
of tests.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 18:15:10 +0000 (18:15 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* System.Configuration/CommaDelimitedStringCollectionTest.cs: new
tests.

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

18 years ago2005-10-05 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>
Alexandre Rocha Lima e Marcondes [Wed, 5 Oct 2005 18:13:40 +0000 (18:13 -0000)]
2005-10-05 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>
  * ecore.cs : Created a public property (Id) to access
          externally the field id in DecoratedIdentifier class
  * assign.cs : Before get the expression for construct 'Mid'
          statement testing if that expression is 'DecoratedIdentifier',
          and, if it is, getting the expression assigned in its 'id' field.

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

18 years ago * X11DesktopColors.cs: Get menu colours for the gtk theme.
Jackson Harper [Wed, 5 Oct 2005 18:12:54 +0000 (18:12 -0000)]
* X11DesktopColors.cs: Get menu colours for the gtk theme.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 18:07:49 +0000 (18:07 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* CommaDelimitedStringCollection.cs: new implementation.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 17:48:37 +0000 (17:48 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* NameValueConfigurationCollection.cs: new implementation.

* NameValueConfigurationElement.cs: new implementation.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 17:47:16 +0000 (17:47 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* ValidatorCallback.cs: new implementation.

* SubclassTypeValidator.cs, SubclassTypeValidatorAttribute.cs: new
implementation.

* CallbackValidator.cs, CallbackValidatorAttribute.cs: new
implementation.

* RegexStringValidator.cs, RegexStringValidatorAttribute.cs: new
implementation.

* LongValidator.cs, LongValidatorAttribute.cs: new implementation.

* IntegerValidator.cs, IntegerValidatorAttribute.cs: new
implementation.

* DefaultValidator.cs: new implementation.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 17:44:07 +0000 (17:44 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* ValidatorCallback.cs: new implementation.

* SubclassTypeValidator.cs, SubclassTypeValidatorAttribute.cs: new
implementation.

* CallbackValidator.cs, CallbackValidatorAttribute.cs: new
implementation.

* RegexStringValidator.cs, RegexStringValidatorAttribute.cs: new
implementation.

* LongValidator.cs, LongValidatorAttribute.cs: new implementation.

* IntegerValidator.cs, IntegerValidatorAttribute.cs: new
implementation.

* DefaultValidator.cs: new implementation.

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

18 years ago2005-10-05 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 5 Oct 2005 17:39:05 +0000 (17:39 -0000)]
2005-10-05  Chris Toshok  <toshok@ximian.com>

* CallbackValidatorTest.cs, IntegerValidatorTest.cs,
StringValidatorTest.cs, DefaultValidatorTest.cs,
LongValidatorTest.cs, RegexStringValidatorTest.cs,
SubclassTypeValidatorTest.cs, ConfiguratoinLockCollectionTest.cs,
ConfigurationElementCollectionTest.cs,
ConfigurationManagerTest.cs: lots more tests.

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

18 years ago2005-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Oct 2005 17:29:29 +0000 (17:29 -0000)]
2005-10-05  Atsushi Enomoto  <atsushi@ximian.com>

* System.dll.sources: added System.Net/AuthenticationSchemes.cs.

* AuthenticationSchemes.cs : new 2.0 enum.

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

18 years ago2005-10-05 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Wed, 5 Oct 2005 16:26:50 +0000 (16:26 -0000)]
2005-10-05  Alexander Olk  <alex.olk@googlemail.com>

* FileDialog.cs: Fix InitialDirectory

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

18 years agoMore documentation.
Martin Baulig [Wed, 5 Oct 2005 15:51:30 +0000 (15:51 -0000)]
More documentation.

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

18 years agoMore API cleanups and documentation.
Martin Baulig [Wed, 5 Oct 2005 15:45:47 +0000 (15:45 -0000)]
More API cleanups and documentation.

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

18 years agoRevert patch as it introduced a regression while building: ** ERROR **: file metadat...
Miguel de Icaza [Wed, 5 Oct 2005 15:37:18 +0000 (15:37 -0000)]
Revert patch as it introduced a regression while building:  ** ERROR **: file metadata.c: line 915 (mono_metadata_decode_row): assertion failed: (res_size == count)

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

18 years agoAdded mailclient.cs which illustrates boxes, multiline text, scrollbars, labels,...
Hisham Mardam Bey [Wed, 5 Oct 2005 15:24:41 +0000 (15:24 -0000)]
Added mailclient.cs which illustrates boxes, multiline text, scrollbars, labels, single line text and combo boxes.

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

18 years agoMore documentation.
Martin Baulig [Wed, 5 Oct 2005 15:24:34 +0000 (15:24 -0000)]
More documentation.

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

18 years ago * ComboBox.cs:
Jordi Mas i Hernandez [Wed, 5 Oct 2005 15:10:23 +0000 (15:10 -0000)]
* ComboBox.cs:
- Fixes changing between styles
- Fixes simple mode
- Fixes last item crashing when navigating with keyboard

2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>

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

18 years ago*** Merged revision from mcs: 50836
Raja R Harinath [Wed, 5 Oct 2005 14:52:39 +0000 (14:52 -0000)]
*** Merged revision from mcs: 50836

Now, merged until r51131.

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

18 years agoremove stuff we dont need
Hisham Mardam Bey [Wed, 5 Oct 2005 13:02:41 +0000 (13:02 -0000)]
remove stuff we dont need

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

18 years agoAdded samples directory with notepad.cs as a visual test and sample for scrolblar...
Hisham Mardam Bey [Wed, 5 Oct 2005 12:57:06 +0000 (12:57 -0000)]
Added samples directory with notepad.cs as a visual test and sample for scrolblar, multiline text, file save dialog, and menus.

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

18 years ago2005-10-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 5 Oct 2005 12:48:32 +0000 (12:48 -0000)]
2005-10-05  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_layout_fields): Fix computation of
klass->has_references if a field has a struct type whose has_references
field is not yet initialized. Fixes #76331.

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

18 years ago2005-10-05 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 5 Oct 2005 12:12:05 +0000 (12:12 -0000)]
2005-10-05  Dick Porter  <dick@ximian.com>

        * threads.c (_wapi_thread_own_mutex, _wapi_thread_disown_mutex):
        Keep a reference to mutexes owned by threads, so they won't be
        destroyed prematurely.  Fixes dotmsnclient crash.

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

18 years ago2005-10-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 5 Oct 2005 11:49:57 +0000 (11:49 -0000)]
2005-10-05  Atsushi Enomoto <atsushi@ximian.com>

* wsdl.genxs, ServiceDescriptionSerializerBase.cs : dependent fix on
  XmlSchema.Read(). Fixed bug #76311.
* ServiceDescription.cs : name is null by default otherwise it fails
  to be written.

* ServiceDescriptionTest.cs : new file (for part of bug #76311).

* System.Web.Services_test.dll.sources : added ServiceDescriptionTest.cs

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

18 years agoupdate
Marek Safar [Wed, 5 Oct 2005 11:49:19 +0000 (11:49 -0000)]
update

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

18 years ago2005-10-05 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 5 Oct 2005 11:47:53 +0000 (11:47 -0000)]
2005-10-05  Marek Safar  <marek.safar@seznam.cz>

* assign.cs (Assign.DoResolve): Error method changed.

* cfold.cs (DoConstantNumericPromotions): Error method changed.

* const.cs (ResolveValue): Reset in_transit immediately.

* constant.cs: Error method changed.

* convert.cs: Removed useless location parameter.
(ExplicitNumericConversion): Don't do double enum check.
(ExplicitConversionCore): Renamed from ExplicitConversion.
(ExplicitUnsafe): Extracted from ExplicitConversion.
(ExplicitConversion): Uses for error reporting.

* ecore.cs (Error_ValueCannotBeConverted): More logic for more
error messages.
(ResolveBoolean): Uses common error method.
(CastToDecimal): Get rid of ec.
(CastFromDecimal): Optimized.
(ConvCast): Get rid of ec.

* enum.cs (ResolveValue): Reset in_transit immediately.
(Emit): Return after first error.

* expression.cs: Convert changes.

* literal.cs: Error method changed.

* statement.cs: Error method changed.

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

18 years ago2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 5 Oct 2005 11:05:08 +0000 (11:05 -0000)]
2005-10-05  Jordi Mas i Hernandez <jordi@ximian.com>

* LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label

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

18 years ago * TreeView.cs: If updating the root node do a full refresh.
Jackson Harper [Wed, 5 Oct 2005 08:42:55 +0000 (08:42 -0000)]
* TreeView.cs: If updating the root node do a full refresh.
* TreeNode.cs: The root node should be expanded by default. Also
added a utility prop to tell if we are the root node.
* TreeNodeCollection.cs: Only refresh if the node we are being
added to is expanded. Also added a comment on a potential
optimization.

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

18 years agoadd missing class
Gonzalo Paniagua Javier [Wed, 5 Oct 2005 04:40:40 +0000 (04:40 -0000)]
add missing class

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

18 years ago2005-10-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 4 Oct 2005 23:32:44 +0000 (23:32 -0000)]
2005-10-04  Sebastien Pouliot  <sebastien@ximian.com>

* TempFileCollection.cs: Added a call to GC.SuppressFinalize in
Dispose.

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

18 years ago2005-10-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 4 Oct 2005 23:32:28 +0000 (23:32 -0000)]
2005-10-04  Sebastien Pouliot  <sebastien@ximian.com>

* OleDbDataReader.cs: Added a call to GC.SuppressFinalize in Dispose
method (and avoids calling the destructor if the object was disposed).
* OleDbTransaction.cs: Added a call to GC.SuppressFinalize in Dispose
method (even if we throw an NotImplementedException afterward). This
will remove warnings from gendarme.

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

18 years ago* CodeTypeReference.cs: Added support for generic type parameters.
Gert Driesen [Tue, 4 Oct 2005 22:10:57 +0000 (22:10 -0000)]
* CodeTypeReference.cs: Added support for generic type parameters.
* CodeTypeReferenceTest.cs: Added tests for generic types and base
types with generic type parameters.

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

18 years agosvn path=/trunk/mcs/; revision=51213
Sebastien Pouliot [Tue, 4 Oct 2005 21:23:36 +0000 (21:23 -0000)]
svn path=/trunk/mcs/; revision=51213

18 years ago2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 4 Oct 2005 20:56:32 +0000 (20:56 -0000)]
2005-10-04  Peter Dennis Bartok  <pbartok@novell.com>

* Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
  fixes bug #76329

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

* EncoderParameter.cs, EncoderParameters.cs: Calling GC.SuppressFinalize
  from the Dispose method; fixes bug #76329

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

18 years ago2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 4 Oct 2005 20:45:45 +0000 (20:45 -0000)]
2005-10-04 Peter Dennis Bartok <pbartok@novell.com>

* Matrix.cs: Call GC.SuppressFinalize with 'this' instead of 'true'

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

18 years ago2005-10-04 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 4 Oct 2005 20:24:16 +0000 (20:24 -0000)]
2005-10-04  Peter Bartok  <pbartok@novell.com>

* ResXResourceReader.cs, ResXResourceWriter.cs: Added call
  to GC.SuppressFinalize() in dispose method. Fixes #76330

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

* Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  in dispose method. Fixes #76330

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

18 years ago2005-10-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 4 Oct 2005 20:03:16 +0000 (20:03 -0000)]
2005-10-04  Zoltan Varga  <vargaz@freemail.hu>

* Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Set this flag.

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

18 years ago2005-10-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 4 Oct 2005 19:50:52 +0000 (19:50 -0000)]
2005-10-04  Sebastien Pouliot  <sebastien@ximian.com>

* ComponentDesigner.cs: Added a call to GC.SuppressFinalize in Dispose
method (even if we throw an NotImplementedException afterward). This
will remove warnings from gendarme.

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

18 years ago2005-10-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 4 Oct 2005 19:46:38 +0000 (19:46 -0000)]
2005-10-04  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStorageFile.cs: Add a call to GC.SuppressFinalize in Dispose
(even if we're not disposing anything).

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

18 years agoNew test.
Martin Baulig [Tue, 4 Oct 2005 19:14:08 +0000 (19:14 -0000)]
New test.

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 19:13:31 +0000 (19:13 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* metadata.c
(mono_metadata_load_generic_param_constraints): New public
function; splitted the constraints loading out from
mono_metadata_load_generic_params().

* class.c (mono_class_create_from_typedef): Call
mono_metadata_load_generic_param_constraints() after setting up
the type and creating our parent; fixes #75329.

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

18 years agoStarted the documentation work.
Martin Baulig [Tue, 4 Oct 2005 19:11:01 +0000 (19:11 -0000)]
Started the documentation work.

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

18 years ago2005-10-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 4 Oct 2005 18:40:15 +0000 (18:40 -0000)]
2005-10-04  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Fix up problems with the latest libtool on win32.

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

18 years agoTue Oct 4 20:23:25 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 4 Oct 2005 18:24:26 +0000 (18:24 -0000)]
Tue Oct 4 20:23:25 CEST 2005 Paolo Molaro <lupus@ximian.com>

* mini.c, mini.h: do not consider exception handlers blocks when
setting up interface variables.

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

18 years agoNew test.
Martin Baulig [Tue, 4 Oct 2005 18:15:17 +0000 (18:15 -0000)]
New test.

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 18:14:27 +0000 (18:14 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* MonoGenericClass.cs (MonoGenericClass.GetParentType): Changed
return type from `MonoGenericClass to `Type'.

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 18:13:38 +0000 (18:13 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* icall.c (ves_icall_MonoGenericClass_GetParentType): Allow
non-dynamic parent classes.

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

18 years ago2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Oct 2005 18:08:14 +0000 (18:08 -0000)]
2005-10-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlConvert.cs : ToTimeSpan() resulted in an infinite loop when the
  digits for "second" were not exactly 3. Fixed bug #76328.

* XmlConvertTests.cs : added test for bug #76328.

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 17:27:31 +0000 (17:27 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* reflection.c
(mono_image_get_methodspec_token): Make the cache actually work;
fixes #75974.

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

18 years ago2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 4 Oct 2005 17:26:39 +0000 (17:26 -0000)]
2005-10-04  Jordi Mas i Hernandez <jordi@ximian.com>

* ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:

- Implements vertical and horizontal scrolling using XplatUI
- Fixes keyboard navagation
- Fixes EnsureVisible
- Drawing fixes
- Handles and draws focus properly

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

18 years ago2005-10-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Oct 2005 16:53:15 +0000 (16:53 -0000)]
2005-10-04  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Remove 'Globalization:' entry from final message.

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

18 years ago2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Oct 2005 16:44:20 +0000 (16:44 -0000)]
2005-10-04  Atsushi Enomoto <atsushi@ximian.com>

* XmlReader.cs : Name is virtual in NET_2_0.

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

18 years ago*** Merged revisions from mcs: 50790
Raja R Harinath [Tue, 4 Oct 2005 16:24:09 +0000 (16:24 -0000)]
*** Merged revisions from mcs: 50790

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 15:00:57 +0000 (15:00 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* ecore.cs (PropertyExpr.ResolveAccessors): Cosmetic fix; make the
`SetMemberIsUsed()' work for generics, too.

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

18 years agoAdd new error tests
Miguel de Icaza [Tue, 4 Oct 2005 14:20:09 +0000 (14:20 -0000)]
Add new error tests

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

18 years agoAdd new tests
Miguel de Icaza [Tue, 4 Oct 2005 14:19:23 +0000 (14:19 -0000)]
Add new tests

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

18 years ago2005-10-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 4 Oct 2005 14:16:11 +0000 (14:16 -0000)]
2005-10-01  Miguel de Icaza  <miguel@novell.com>

* expression.cs (Probe): instead of having a "Type probe_type"
keep the extra information as a TypeExpr probe_type_expr since the
"As" operator needs to perform some type checks.

* (As.DoResolve): If the type is a type parameter, ensure that it
is constrained by a class.

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

18 years agoImageList.cs: Use upper case initials for internal fields. ImageStream: Create handle...
Kornél Pál [Tue, 4 Oct 2005 14:15:27 +0000 (14:15 -0000)]
ImageList.cs: Use upper case initials for internal fields. ImageStream: Create handle. NET_2_0: Destroy handle when value is null.

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

18 years ago2005-10-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 4 Oct 2005 13:15:58 +0000 (13:15 -0000)]
2005-10-03  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_thread_cleanup): Fix reading of freed memory.

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

18 years agowhitespace fix
Raja R Harinath [Tue, 4 Oct 2005 13:12:34 +0000 (13:12 -0000)]
whitespace fix

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

18 years ago2005-10-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 4 Oct 2005 13:07:12 +0000 (13:07 -0000)]
2005-10-04  Atsushi Enomoto  <atsushi@ximian.com>

* file-io.c : win32 build fix (ETXTBSY seems not found).

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

18 years ago*** Merged revisions from mcs: 50555
Raja R Harinath [Tue, 4 Oct 2005 12:54:22 +0000 (12:54 -0000)]
*** Merged revisions from mcs: 50555

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

18 years ago*** Merged revisions from mcs: 50155, 50225
Raja R Harinath [Tue, 4 Oct 2005 12:34:00 +0000 (12:34 -0000)]
*** Merged revisions from mcs: 50155, 50225

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

18 years ago*** Merged revisions from mcs: 49487, 49488, 49497, 50753, 50859
Raja R Harinath [Tue, 4 Oct 2005 11:40:26 +0000 (11:40 -0000)]
*** Merged revisions from mcs: 49487, 49488, 49497, 50753, 50859

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 11:01:40 +0000 (11:01 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_name_from_token): Removed the unneccessary
`MonoGenericContext *' argument.

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

18 years ago* Makefile (with_mono_path_n11b): New.
Raja R Harinath [Tue, 4 Oct 2005 10:53:48 +0000 (10:53 -0000)]
* Makefile (with_mono_path_n11b): New.
(ILASM): Use it.

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 10:49:40 +0000 (10:49 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* expression.cs (DelegateInvocation.EmitStatement): Make this work
for corlib.  Fixes #75691.

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

18 years ago*** Merged revisions from mcs: 49829, 50194, 50875, 50936, 50939
Raja R Harinath [Tue, 4 Oct 2005 10:28:05 +0000 (10:28 -0000)]
*** Merged revisions from mcs: 49829, 50194, 50875, 50936, 50939

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

18 years agomake this build
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 09:49:07 +0000 (09:49 -0000)]
make this build

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

18 years ago2005-10-04 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 4 Oct 2005 09:46:47 +0000 (09:46 -0000)]
2005-10-04  Martin Baulig  <martin@ximian.com>

* loader.c
(method_from_methodspec): Make the caching work again; fixes the
performance regression from #76262.

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

18 years agoUpdated.
Martin Baulig [Tue, 4 Oct 2005 09:45:23 +0000 (09:45 -0000)]
Updated.

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

18 years agoUpdated inline documentation.
Martin Baulig [Tue, 4 Oct 2005 09:41:50 +0000 (09:41 -0000)]
Updated inline documentation.

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

18 years agoAdded document describing the merging process.
Martin Baulig [Tue, 4 Oct 2005 08:36:34 +0000 (08:36 -0000)]
Added document describing the merging process.

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

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 08:21:03 +0000 (08:21 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* file-io.c:
* file-io.h:
* icall.c: replace FindFirst/FindNext/FindClose calls with a new
GetFileSystemEntries that performs the same work but without going
into io-layer, locking, etc.

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

18 years agosvn path=/trunk/mcs/; revision=51153
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 08:20:58 +0000 (08:20 -0000)]
svn path=/trunk/mcs/; revision=51153

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 08:20:51 +0000 (08:20 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MonoIO.cs: replace FindFirst/FindNext/FindClose with
GetFileSystemEntries.
* Directory.cs: simplify GetFileSystemEntries by using the new icall.

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

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 07:50:06 +0000 (07:50 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: fix breakaga of alternating item style in one of my
last patches.

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

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 07:36:02 +0000 (07:36 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Calendar.cs: remove Console.
* ListBox.cs: the name is the UniqueID, not the ClientID.
* WebControl.cs: Attributes is case insensitive.

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

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 07:35:16 +0000 (07:35 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListBoxTest.cs: the name is the UniqueID, not the ClientID.
* WebControlTest.cs: Attributes statebag is case insensitive.

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

18 years ago2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 07:09:05 +0000 (07:09 -0000)]
2005-10-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ImageButton.cs: use UniqueID in LoadPostData and also try just the
UniqueID without appending a ".x" or ".y". Fixes several issues in
mojoPortal. Thanks to Joe Audetter for his patience.

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

18 years agootro
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 03:00:07 +0000 (03:00 -0000)]
otro

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

18 years ago2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 4 Oct 2005 02:53:10 +0000 (02:53 -0000)]
2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* OutputFilterStream.cs: proxy class for response filters.
* HttpResponse.cs: moved all the actual write operations into the
response stream. Handle response filtering. When caching, get the
actual length of the data, not the buffer length.
* HttpApplication.cs: if there's no error, invoke the filters before
updating the request cache.
* HttpResponseStream.cs: new Filter property. SendChunkSize is moved
here and now supports writing the final chunk. New method ApplyFilter
that filters the existing buckets and replaces them with the filtered
ones. Modified Write to deal with buffering and filtering.

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

18 years ago2005-10-04 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 3 Oct 2005 23:06:17 +0000 (23:06 -0000)]
2005-10-04  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (emit_section_change): Fix emitting of sections on win32. Fixes #76322.

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

18 years ago * ScrollBar.cs: My last scrollbar patch was broken. This is a
Jackson Harper [Mon, 3 Oct 2005 22:31:07 +0000 (22:31 -0000)]
* ScrollBar.cs: My last scrollbar patch was broken. This is a
revert and a new patch to prevent the thumb from refreshing so
much.

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

18 years ago2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 22:20:04 +0000 (22:20 -0000)]
2005-10-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponseStream.cs: allow for writes of more than 32K at once.

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

18 years agoextra check
Gonzalo Paniagua Javier [Mon, 3 Oct 2005 21:34:14 +0000 (21:34 -0000)]
extra check

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

18 years agoupdate to reflect results after reversion.
Raja R Harinath [Mon, 3 Oct 2005 18:25:43 +0000 (18:25 -0000)]
update to reflect results after reversion.

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

18 years agoRevert r51122 since it's causing strange failures. Restore tree to bootstrap-land
Raja R Harinath [Mon, 3 Oct 2005 18:20:57 +0000 (18:20 -0000)]
Revert r51122 since it's causing strange failures.  Restore tree to bootstrap-land

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

18 years agoAdd new unit test for check for bug#75841 - ordered set for authenticated attributes
Sebastien Pouliot [Mon, 3 Oct 2005 18:11:21 +0000 (18:11 -0000)]
Add new unit test for check for bug#75841 - ordered set for authenticated attributes

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

18 years ago2005-10-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 3 Oct 2005 18:10:23 +0000 (18:10 -0000)]
2005-10-03  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS7.cs: Ensure that attributes (authenticated and unauthenticated)
are sorted as required in ASN.1 SET with DER encoding. Kind of hackish
because this should be done in the ASN.1 encoder - but it solves
interop problems with BouncyCastle. Patch (modified) from Daniel
Granath <dgranath#gmail.com>.

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

18 years ago2005-10-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 3 Oct 2005 18:09:47 +0000 (18:09 -0000)]
2005-10-03  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS7Test.cs: New. Unit tests to ensure authenticated attributes
are sorted before they are signed. This is required by DER and ensures
better interoperability with other implementations (like BouncyCastle)

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