mono.git
19 years agoImage stream sample
Jordi Mas i Hernandez [Wed, 11 May 2005 11:42:07 +0000 (11:42 -0000)]
Image stream sample

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

19 years ago* expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType...
Ankit Jain [Wed, 11 May 2005 11:29:04 +0000 (11:29 -0000)]
* expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType.Widening
for a NoArg argument. Fix earlier patch.

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

19 years ago2005-05-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 11 May 2005 10:43:35 +0000 (10:43 -0000)]
2005-05-11  Atsushi Enomoto <atsushi@ximian.com>

* DTDValidatingReader.cs : namespace storing was stupid.

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

19 years agoadd DataGridDrawingLogic.cs to the build
Jordi Mas i Hernandez [Wed, 11 May 2005 09:19:36 +0000 (09:19 -0000)]
add DataGridDrawingLogic.cs to the build

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

19 years ago2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 11 May 2005 09:18:43 +0000 (09:18 -0000)]
2005-05-12  Jordi Mas i Hernandez <jordi@ximian.com>

* DataGridTextBoxColumn.cs: fixed some members
* GridColumnStylesCollection.cs: indexed column is case insensitive
* DataGridTableStyle.cs: fixes
* ThemeWin32Classic.cs: add new theme parameter
* Theme.cs: add new theme parameter
* DataGridDrawingLogic.cs: Datagrid's drawing logic
* DataGrid.cs: fixes, new internal properties, etc.
* DataGridColumnStyle.cs: allows to set grid value
*

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

19 years ago* expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType...
Ankit Jain [Wed, 11 May 2005 06:53:16 +0000 (06:53 -0000)]
* expression.cs (Invocation.CheckParameterAgainstArgument): Return ConversionType.Narrowing
for a NoArg argument.
(Invocation.IsApplicable): Don't create a REF type argument if it is NoArg.
(Invocation.ConstructArgumentList): Create argument with its DefaultValue for a NoArg.

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

19 years ago2005-05-11 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 11 May 2005 06:52:44 +0000 (06:52 -0000)]
2005-05-11  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added
  IDataGridEditingService.cs, System.Resources/ResXFileRef.cs,
  System.Resources/ResXResourceSet.cs
* SWF.csproj: Updated

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

19 years ago2005-05-11 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 11 May 2005 06:51:29 +0000 (06:51 -0000)]
2005-05-11  Peter Bartok  <pbartok@novell.com>

* ResXResourceSet.cs: Implemented
* ResXFileRef.cs: Implemented
* ResXNullRef.cs: Added missing attribute
* ResXResourceReader.cs: Implemented missing .ctor()s and other
  assorted fun stuff, should now be complete
* ResResourceWriter.cs: Implemented missing methods and added
  missing static fields

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

19 years agofix for "datatable import row does not import deleted records"
Sureshkumar T [Wed, 11 May 2005 05:41:50 +0000 (05:41 -0000)]
fix for "datatable import row does not import deleted records"
* Test/System.Data/DataTableTest.cs: revamped tests for ImportRow method.
* System.Data/UniqueConstraint.cs: AssertConstraint: check & assert for deleted records also.
* System.Data/DataRow.cs: Added restriction-less methods GetValue to fetch a value even if it is in deleted state.
- If a row is detached, don't try to delete it from indexes.
- sanity check for record_index in CopyValuesToRow method

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

19 years ago2005-05-10 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 11 May 2005 04:44:52 +0000 (04:44 -0000)]
2005-05-10  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.sources: Added SecurityIDType.cs,
  DataObject.cs and DataFormats.cs
* SWF.csproj: Update

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

19 years agosvn path=/trunk/mcs/; revision=44373
Peter Dennis Bartok [Wed, 11 May 2005 04:44:16 +0000 (04:44 -0000)]
svn path=/trunk/mcs/; revision=44373

19 years ago * LinkArea.cs: Added missing attribute
Peter Dennis Bartok [Wed, 11 May 2005 04:43:42 +0000 (04:43 -0000)]
* LinkArea.cs: Added missing attribute

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

19 years ago2005-05-10 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 11 May 2005 04:42:35 +0000 (04:42 -0000)]
2005-05-10  Peter Bartok  <pbartok@novell.com>

* AccessibleObject.cs:
  - Removed MonoTODO attribute on help, method is correct
  - Fixed Bounds property
* AxHost.cs: Moved MonoTODO
* ButtonBase.cs: Now setting AccessibleObject properties
* RadioButton.cs: Setting proper AccessibleObject role
* CheckBox.cs: Setting proper AccessibleObject role
* ControlBindingsCollection.cs: Added properties, methods and attributes
* DataFormats.cs: Fixed awkward internal API, and changed to enable
  userdefined DataFormats.Format items as well
* ListControl.cs: Removed data_member from the public eye
* OpenFileDialog.cs:
  - Made class sealed
  - Added missing attributes
* SaveFileDialog.cs: Added missing attributes
* ImageListStreamer.cs: Fixed code that caused warnings
* LinkLabel.cs: Removed unreachable code
* TreeView.cs: Fixed code that caused warnings
* PropertyGridView.cs: Fixed code that caused warnings
* GridColumnStylesCollection.cs: Added missing attributes
* GridTableStylesCollection: Added missing attribute
* PropertyManager: Added .ctor
* SecurityIDType: Added
* DataObject.cs: Implemented class

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

19 years ago2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 May 2005 23:58:09 +0000 (23:58 -0000)]
2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SslClientStream.cs: check for the dispose in NetworkReadCallback.
Patch by Sebastien "Cryptoman" Pouliot.

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

19 years ago**** Merged r44326 from MCS ****
Martin Baulig [Tue, 10 May 2005 23:14:55 +0000 (23:14 -0000)]
**** Merged r44326 from MCS ****

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

19 years ago**** Merged r44270 from MCS ****
Martin Baulig [Tue, 10 May 2005 23:13:42 +0000 (23:13 -0000)]
**** Merged r44270 from MCS ****

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

19 years ago**** Merged r44250 from MCS ****
Martin Baulig [Tue, 10 May 2005 23:11:39 +0000 (23:11 -0000)]
**** Merged r44250 from MCS ****

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

19 years ago**** Merged r44110 from MCS ****
Martin Baulig [Tue, 10 May 2005 23:10:13 +0000 (23:10 -0000)]
**** Merged r44110 from MCS ****

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

19 years ago**** Merged r44071 from MCS ****
Martin Baulig [Tue, 10 May 2005 23:09:29 +0000 (23:09 -0000)]
**** Merged r44071 from MCS ****

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

19 years ago**** Merged r44067 from MCS ****
Martin Baulig [Tue, 10 May 2005 23:08:23 +0000 (23:08 -0000)]
**** Merged r44067 from MCS ****

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

19 years ago**** Merged r44066 from MCS ****
Martin Baulig [Tue, 10 May 2005 22:27:11 +0000 (22:27 -0000)]
**** Merged r44066 from MCS ****

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

19 years ago2005-05-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 May 2005 22:21:51 +0000 (22:21 -0000)]
2005-05-11  Martin Baulig  <martin@ximian.com>

* typemanager.cs (Closure): Copy this from MCS and merge all the
GMCS-specific changes into it.

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

19 years ago2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 10 May 2005 21:51:56 +0000 (21:51 -0000)]
2005-05-11  Jordi Mas i Hernandez <jordi@ximian.com>

* RadioButton.cs: call base method to allow to fire OnClick event
* UpDownBase.cs: OnMouseUp call base method
* CheckedListBox.cs: call base method before returning
* TrackBar.cs: call base method before returning

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

19 years ago2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 May 2005 21:21:53 +0000 (21:21 -0000)]
2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: cleanup in AutoCreateColumns. Don't throw at the end of
the method if the data source was en empty IEnumerator. Fixes
bug #74804.

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

19 years agoAdded test
Gonzalo Paniagua Javier [Tue, 10 May 2005 21:12:23 +0000 (21:12 -0000)]
Added test

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

19 years ago2005-05-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 May 2005 20:46:34 +0000 (20:46 -0000)]
2005-05-10  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_output_basic_block): Fix stack space leakage
in float_neg. Fixes #74897.

* mini-amd64.c (emit_call): Fix another near call bug.

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

19 years ago * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
Peter Dennis Bartok [Tue, 10 May 2005 20:45:34 +0000 (20:45 -0000)]
* XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  for messages

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

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

19 years ago2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
Juraj Skripsky [Tue, 10 May 2005 20:29:38 +0000 (20:29 -0000)]
2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>

* Color.cs: Fix GetSaturation() again and remove
obsolete constants.

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

19 years ago**** Merged r43923 from MCS ****
Martin Baulig [Tue, 10 May 2005 20:28:40 +0000 (20:28 -0000)]
**** Merged r43923 from MCS ****

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

19 years ago**** Merged r43921 from MCS ****
Martin Baulig [Tue, 10 May 2005 20:26:47 +0000 (20:26 -0000)]
**** Merged r43921 from MCS ****

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

19 years ago**** Merged r43920 from MCS ****
Martin Baulig [Tue, 10 May 2005 20:26:02 +0000 (20:26 -0000)]
**** Merged r43920 from MCS ****

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

19 years ago2005-05-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 May 2005 19:37:52 +0000 (19:37 -0000)]
2005-05-10  Martin Baulig  <martin@ximian.com>

* support.cs (ReflectionParameters.ParameterModifier): Use
`Parameter.Modifier.REF' if we both have `ParameterAttributes.Out'
and `ParameterAttributes.In'.  Fixes #74884.

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

19 years ago- Not important, but nice to see
Peter Dennis Bartok [Tue, 10 May 2005 19:17:19 +0000 (19:17 -0000)]
- Not important, but nice to see

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

19 years ago2005-05-10 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 10 May 2005 19:05:12 +0000 (19:05 -0000)]
2005-05-10  Peter Bartok  <pbartok@novell.com>

* DataFormats.cs: Implemented
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  XplatUIX11.cs: Added Clipboard APIs
* XplatUIWin32.cs: Implemented Clipboard APIs
* FolderBrowserDialog.cs: Added missing event, attributes

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

19 years ago2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 May 2005 18:28:22 +0000 (18:28 -0000)]
2005-05-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* shared.c: don't display warnings after reboots.

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

19 years ago2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>
Juraj Skripsky [Tue, 10 May 2005 17:32:14 +0000 (17:32 -0000)]
2005-05-10 Juraj Skripsky <juraj@hotfeet.ch>

        * Color.cs: New, correct implementations for GetHue(),
        GetBrightness() and GetSaturation().

        * TestColor.cs: Added tests for GetHue, GetBrightness
        and GetSaturation.

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

19 years agosvn path=/trunk/mcs/; revision=44336
Martin Baulig [Tue, 10 May 2005 16:50:21 +0000 (16:50 -0000)]
svn path=/trunk/mcs/; revision=44336

19 years ago2005-05-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 May 2005 16:50:03 +0000 (16:50 -0000)]
2005-05-10  Martin Baulig  <martin@ximian.com>

* generic.cs (Constraints.Resolve): Report CS0246 if we cannot
resolve the type; fixes #74864.
(DefaultValueExpression): Create the LocalTemporary in Emit(), not
in DoResolve(); fixes #74862.

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

19 years ago2005-05-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 May 2005 16:48:15 +0000 (16:48 -0000)]
2005-05-10  Martin Baulig  <martin@ximian.com>

* support.cs (ReflectionParameters.ParameterModifier): Use
`Parameter.Modifier.REF' if we both have `ParameterAttributes.Out'
and `ParameterAttributes.In'.  Fixes #74884.

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

19 years ago2005-05-09 Geoff Norotn <gnorton@customerdna.com>
Geoff Norton [Tue, 10 May 2005 16:19:33 +0000 (16:19 -0000)]
2005-05-09 Geoff Norotn <gnorton@customerdna.com>

* TemplateParser.cs: Silently remove the CodeFile attribute that ASP.NET 2.0
uses instead of codebehind.

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

19 years ago2005-05-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 May 2005 15:54:34 +0000 (15:54 -0000)]
2005-05-10  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_generic_class_initialize): Don't
call mono_class_setup_parent() here.

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

19 years agoNew test.
Martin Baulig [Tue, 10 May 2005 15:53:04 +0000 (15:53 -0000)]
New test.

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

19 years ago2005-05-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 May 2005 15:50:31 +0000 (15:50 -0000)]
2005-05-10  Martin Baulig  <martin@ximian.com>

* typemanager.cs (TypeManager.MemberLookup_FindMembers): Don't use
the cache if we're just looking for `MemberTypes.NestedType' in a
generic instance.

* ecore.cs (Expression.ResolveAsTypeTerminal): Don't check the
constraints if we're still resolving the type tree.
(Expression.MemberLookup): If we're resolving the type tree, only
look for `MemberTypes.NestedType' since we're only interested in
getting types.

* class.cs (TypeContainer.DefineType): Don't resolve the type
parameters here; do this later in ResolveType() after the type
tree has been resolved.
(TypeContainer.ResolveType): New public method; this is called
after the type tree is resolved and before the types are being
populated.  We resolve the generic constraints here.
(TypeContainer.DoDefineMember): Check the constraints on our base
class and interfaces.

* decl.cs (DeclSpace.ResolveBaseTypeExpr): Make this protected;
set the `ResolvingTypeTree' flag on the EmitContext.

* codegen.cs (EmitContext.ResolvingTypeTree): New public field.

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

19 years agonew tests
Marek Safar [Tue, 10 May 2005 13:41:52 +0000 (13:41 -0000)]
new tests

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

19 years ago2005-05-10 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 10 May 2005 13:01:05 +0000 (13:01 -0000)]
2005-05-10  Marek Safar  <marek.safar@seznam.cz>

* class.cs (Method.Define): Catch attempt for Finalizer declaration.

* expression.cs (Argument.GetParameterModifier): Turned to property.
(Invocation.Error_InvalidArguments): Add more descriptive errors.

* parameter.cs (Parameter.GetModifierSignature): Translates modifier to
its C# equivalent.

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

19 years agosvn:eol-style=native
Raja R Harinath [Tue, 10 May 2005 09:39:16 +0000 (09:39 -0000)]
svn:eol-style=native

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

19 years ago* LateBinding.cs (LateGet) :
Satya Sudha K [Tue, 10 May 2005 09:18:11 +0000 (09:18 -0000)]
* LateBinding.cs (LateGet) :
    Calling 'LateIndexGet' if the member resolves to a field, but arguments are not null

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

19 years ago* statement.cs, expression.cs, assign.cs :
Satya Sudha K [Tue, 10 May 2005 09:16:48 +0000 (09:16 -0000)]
* statement.cs, expression.cs, assign.cs :
    Patch to allow latebinding expressions to be specified as ByRef arguments

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

19 years ago2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 10 May 2005 08:44:49 +0000 (08:44 -0000)]
2005-05-10  Jordi Mas i Hernandez <jordi@ximian.com>

* CheckBox.cs: call base method to allow to fire OnClick event

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

19 years ago* driver.cs (InitializeRootContextAndOthersFromOptions):
Raja R Harinath [Tue, 10 May 2005 06:18:15 +0000 (06:18 -0000)]
* driver.cs (InitializeRootContextAndOthersFromOptions):
Overwrite RootContext.RootNamespace only if there's a value.

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

19 years ago* library.make (dist-fixup): Fix typo.
Raja R Harinath [Tue, 10 May 2005 05:44:45 +0000 (05:44 -0000)]
* library.make (dist-fixup): Fix typo.

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

19 years ago2005-05-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 10 May 2005 05:24:54 +0000 (05:24 -0000)]
2005-05-10  Atsushi Enomoto <atsushi@ximian.com>

* DTDValidatingReader.cs : since namespace declarations might be
  resolved differently due to entity handling, it holds its own set
  of declared namespaces. NamespaceURI and LookupNamespace() use it.

* XmlValidatingReaderTests.cs : fixed TestPreserveEntityNotOnDotNet()
  which was regarded as a bug while it was by design.

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

19 years agoIn ilasm/codegen:
Ankit Jain [Tue, 10 May 2005 05:21:15 +0000 (05:21 -0000)]
In ilasm/codegen:
2005-05-10  Ankit Jain  <ankit@corewars.org>

Fix #74768.
* ExternTable.cs (ExternRef.GetTypeRef): Make ValueClass if requested.
Hack alongwith Hari.

In ilasm/parser:
2005-05-10  Ankit Jain  <ankit@corewars.org>

Fix #74768.
* ILParser.jay (type): Emit TypeRefs instead of TypeSpecs for valuetypes,
so don't create ExternTypeRefInst.
Hack along with Hari.

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

19 years ago2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 May 2005 00:57:15 +0000 (00:57 -0000)]
2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CacheEntry.cs: credits for this patch should go to mcs. it catched
that the code after 'if ((_enumFlags & Flags.Removed) != 0)' was
unreachable.

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

19 years agono #if for platform
Gonzalo Paniagua Javier [Mon, 9 May 2005 21:20:58 +0000 (21:20 -0000)]
no #if for platform

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:21:01 +0000 (20:21 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:18:02 +0000 (20:18 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:14:33 +0000 (20:14 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:08:52 +0000 (20:08 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:07:18 +0000 (20:07 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:03:23 +0000 (20:03 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 20:00:22 +0000 (20:00 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 19:56:14 +0000 (19:56 -0000)]
Check platform without using #define

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

19 years agoCheck platform without using #define
Sebastien Pouliot [Mon, 9 May 2005 19:55:54 +0000 (19:55 -0000)]
Check platform without using #define

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

19 years ago2005-05-09 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 9 May 2005 18:14:15 +0000 (18:14 -0000)]
2005-05-09  Ben Maurer  <bmaurer@ximian.com>

* UrlUtils.cs (Reduce): a more efficient impl that avoids an
arraylist, making an arraylist into an array, and a replace
operation.

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

19 years ago2005-05-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 9 May 2005 16:43:56 +0000 (16:43 -0000)]
2005-05-09  Atsushi Enomoto <atsushi@ximian.com>

* Makefile : now *.out does not match the all reference outputs, namely
  those from MSFT_Conformance_Tests (mostly *.txt).
  So use "xslttest.exe --list" instead of "find".

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

19 years agoUse PlatformID.Unix under NET_2_0.
Sebastien Pouliot [Mon, 9 May 2005 16:04:01 +0000 (16:04 -0000)]
Use PlatformID.Unix under NET_2_0.

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

19 years agoXplatUI.cs: Use PlatformID.Unix under NET_2_0.
Sebastien Pouliot [Mon, 9 May 2005 15:57:52 +0000 (15:57 -0000)]
XplatUI.cs: Use PlatformID.Unix under NET_2_0.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 15:52:11 +0000 (15:52 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
* Graphics.cs: Use PlatformID.Unix under NET_2_0.
* Image.cs: Use PlatformID.Unix under NET_2_0.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 15:27:16 +0000 (15:27 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* KeyPairPersistence.cs: Use PlatformID.Unix under NET_2_0.
* PKCS8.cs: In sync with corlib;

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 15:26:27 +0000 (15:26 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* KeyPairPersistence.cs: Use PlatformID.Unix under NET_2_0.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 15:24:29 +0000 (15:24 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryInfoTest.cs: Fixed PlatformID.Unix for NET_2_0.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 15:22:48 +0000 (15:22 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* pinvoke1-3.cs: Fixed RunningOnWindows to run under NET_2_0.
* Makefile: Changed --debug for -debug to avoid compiler warning.

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

19 years ago2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 15:19:14 +0000 (15:19 -0000)]
2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRuntime.cs: PlatformID.Unix.

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

19 years ago2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 15:18:10 +0000 (15:18 -0000)]
2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* OperatingSystem.cs: PlatformID.Unix.

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

19 years ago2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 9 May 2005 15:10:28 +0000 (15:10 -0000)]
2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ProcessStringDictionary.cs: PlatformID for 2.0.

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

19 years ago* catalog.sed : fix more names in the catalog, add the missing backslash before ...
Andrew Skiba [Mon, 9 May 2005 14:11:16 +0000 (14:11 -0000)]
* catalog.sed : fix more names in the catalog, add the missing backslash before '+' in the sed rules

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

19 years agoMon May 9 16:29:43 CEST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 9 May 2005 13:54:30 +0000 (13:54 -0000)]
Mon May 9 16:29:43 CEST 2005 Paolo Molaro <lupus@ximian.com>

* mono-debug-debugger.c: use the loader lock until the
code is reviewed and changed to avoid the deadlock (bug #74830).

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 13:17:04 +0000 (13:17 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* Environment.cs: Patch from Gonzalo to fix Environment.OSVersion.
Platform under NET_2_0 to return PlatformID.Unix. Fix bug #74841.

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

19 years agoRemoved SecurityContextSwitcher from build. Added existing CAS unit tests not yet...
Sebastien Pouliot [Mon, 9 May 2005 13:14:18 +0000 (13:14 -0000)]
Removed SecurityContextSwitcher from build. Added existing CAS unit tests not yet part of the build.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 13:11:16 +0000 (13:11 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* WindowsIdentityTest.cs: Fixed IsPosix for NET_2_0.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 13:09:59 +0000 (13:09 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryCas.cs: Fixed IsRunningOnWindows (inversed logic). That
didn't change the tests as the SecurityException occurs before the
parameters are checked (when all goes well ;-). Fixed for NET_2_0 too.

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

19 years ago* CompressedStack.cs: GetCompressedStack is public before 2.0 but couldn't be seen...
Sebastien Pouliot [Mon, 9 May 2005 13:03:37 +0000 (13:03 -0000)]
* CompressedStack.cs: GetCompressedStack is public before 2.0 but couldn't be seen with mono-api-info because of it's LinkDemand for the ECMA public key. Stack capture occurs here if none exists on the current thread.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 12:59:17 +0000 (12:59 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityContext.cs: That was the wrong place to capture the stack.

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

19 years agoIn mcs:
Raja R Harinath [Mon, 9 May 2005 12:01:29 +0000 (12:01 -0000)]
In mcs:
Fix #74852.
* decl.cs (MemberCache.AddMethods): Register override methods,
rather than non-override methods.
* typemanager.cs (RegisterOverride): New.
(IsOverride): Update.

In tests:
* Makefile (test-harness-run): Depend on $(TEST_HARNESS_EXTRAS).
* harness.mk: Substitute the current profile into the compiler
options where the string 'PROFILE' is used.
* test-377.cs, test-377-default-il.il, test-377-net_2_0-il.il:
New tests from #74852.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Mon, 9 May 2005 11:06:06 +0000 (11:06 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@ximian.com>

* ObjectWriter.cs:
* CodeGenerator.cs: No need to add the class for inherited fields,
since FieldInfo objects returned by the GetSerializableMembers
method will already include the class name if needed.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 11:04:25 +0000 (11:04 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>

* FormatterServices.cs: In GetSerializableMembers, private fields
from base classes must include the class name in the field name.
In this case, it now creates a clone of the field with the
modified name. This patch together with r44260 fixes bug #74760.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 11:00:31 +0000 (11:00 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>

* MonoField.cs: Added a Clone method. This is needed for serialization.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 10:59:34 +0000 (10:59 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityContext.cs: Capture the CompressedStack when the current
context one is empty.
* SecurityManager.cs: Class is now static (2.0).
* SecurityTreatAsSafeAttribute.cs: Fixed AttributeTargets.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 10:54:24 +0000 (10:54 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>

* RemotingServices.cs: Fix warning.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 10:54:01 +0000 (10:54 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>

* MethodCall.cs: Fix warning.

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

19 years ago2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 9 May 2005 10:53:09 +0000 (10:53 -0000)]
2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>

* EncryptionProperties.cs: Added [IndexerName] attribute to rename
"this" from Item to ItemOf. Added missing Item(int) method.
* ReferenceList.cs: Added [IndexerName] attribute to rename "this"
from Item to ItemOf.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 10:40:20 +0000 (10:40 -0000)]
2005-05-09  Lluis Sanchez Gual  <lluis@novell.com>

* SynchronizationAttribute.cs: Make it serializable. Fixes bug #60228.

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

19 years ago2005-05-09 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Mon, 9 May 2005 10:24:48 +0000 (10:24 -0000)]
2005-05-09  Lluis Sanchez Gual <lluis@novell.com>

* SoapReader.cs:
* SoapWriter.cs: Use InternalRemotingServices.GetCachedSoapAttribute to
get the name of the fields being serialized. Fixed some warnings.

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

19 years ago* Makefile : delete an obsolete dependency from deleted simplify.xsl
Andrew Skiba [Mon, 9 May 2005 10:17:07 +0000 (10:17 -0000)]
* Makefile : delete an obsolete dependency from deleted simplify.xsl

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

19 years agoDelete the obsolete prepare.cs
Andrew Skiba [Mon, 9 May 2005 09:36:50 +0000 (09:36 -0000)]
Delete the obsolete prepare.cs

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

19 years ago* Mono.GetOptions.Useful/CommonCompilerOptions.cs (AddedReference):
Raja R Harinath [Mon, 9 May 2005 09:34:29 +0000 (09:34 -0000)]
* Mono.GetOptions.Useful/CommonCompilerOptions.cs (AddedReference):
Support multiple assemblies separated by commas.

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

19 years agosvn:eol-style=native
Raja R Harinath [Mon, 9 May 2005 09:31:25 +0000 (09:31 -0000)]
svn:eol-style=native

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

19 years agosvn:eol-style=native
Raja R Harinath [Mon, 9 May 2005 09:28:00 +0000 (09:28 -0000)]
svn:eol-style=native

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

19 years ago* Makefile (TEST_COMPILE): Set MONO_PATH.
Raja R Harinath [Mon, 9 May 2005 09:21:31 +0000 (09:21 -0000)]
* Makefile (TEST_COMPILE): Set MONO_PATH.

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