mono.git
19 years agolocking fixes
Ben Maurer [Thu, 26 May 2005 23:18:18 +0000 (23:18 -0000)]
locking fixes

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

19 years agolock fixes
Ben Maurer [Thu, 26 May 2005 23:10:47 +0000 (23:10 -0000)]
lock fixes

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

19 years ago2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 26 May 2005 23:06:52 +0000 (23:06 -0000)]
2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* PagedDataSource.cs: patch by Suresh Kumar that makes PageCount return
1 when there's a datasource and 0 pages. Closes bug #73864.

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

19 years agolocking fixes
Ben Maurer [Thu, 26 May 2005 23:06:52 +0000 (23:06 -0000)]
locking fixes

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

19 years ago2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 26 May 2005 22:52:52 +0000 (22:52 -0000)]
2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AttributeCollection.cs: html-encode attribute values. Fixes
bug #73771.

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

19 years ago2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 26 May 2005 21:30:04 +0000 (21:30 -0000)]
2005-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* processes.c: make ExitCode be valid even if the user didn't call
WaitForExit() and is just polling on HasExited.

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

19 years ago2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 26 May 2005 21:07:27 +0000 (21:07 -0000)]
2005-05-26  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
as per status page, guessing it should be set to true

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

19 years ago2005-05-26 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 26 May 2005 20:24:30 +0000 (20:24 -0000)]
2005-05-26  Ben Maurer  <bmaurer@ximian.com>

* Binder.cs: Avoid double checked locking and lock on typeof by
doing init of the default binder in the cctor.

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

19 years ago2005-05-26 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 26 May 2005 20:23:30 +0000 (20:23 -0000)]
2005-05-26  Ben Maurer  <bmaurer@ximian.com>

* KeyPairPersistence.cs: Lock *before* checking if things are null
to prevent race conditions. Also, do not lock on typeof object.

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

19 years ago * Encoding.cs: Use static object for locking. `volatile' to
Ben Maurer [Thu, 26 May 2005 20:22:18 +0000 (20:22 -0000)]
* Encoding.cs: Use static object for locking. `volatile' to
prevent double checked locking error.

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

19 years ago2005-05-26 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 26 May 2005 20:21:16 +0000 (20:21 -0000)]
2005-05-26  Ben Maurer  <bmaurer@ximian.com>

* Thread.cs: Use a static object for a lock rather than
typeof(Thread).

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

19 years ago2005-05-26 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 26 May 2005 20:19:52 +0000 (20:19 -0000)]
2005-05-26  Ben Maurer  <bmaurer@ximian.com>

* CodeGenerator.cs: Move module creation to cctor to kill double
checked locking and typeof locking.

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

19 years ago2005-05-26 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 26 May 2005 20:17:21 +0000 (20:17 -0000)]
2005-05-26  Ben Maurer  <bmaurer@ximian.com>

* InternalRemotingServices.cs: Move hashtable init to
cctor. Removes double checked locking and locking on typeof.

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

19 years ago2005-05-26 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 26 May 2005 20:16:28 +0000 (20:16 -0000)]
2005-05-26  Ben Maurer  <bmaurer@ximian.com>

* TrackingServices.cs: Lock on arraylist syncroot rather than
typeof.

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

19 years ago2005-05-26 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 26 May 2005 20:14:26 +0000 (20:14 -0000)]
2005-05-26  Ben Maurer  <bmaurer@ximian.com>

* StringBuilder.cs: Remove = null inits on fields, saves a few
instructions. When we compare _cached_str == _str, we are only
interested in pointer based equality, so just do that.

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

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

* PolicyLevelTest.cs: Added unit tests for RemovePermissionSet and
Recover methods.

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

19 years agoAdded System.Security.Policy/DefaultPolicies.cs
Sebastien Pouliot [Thu, 26 May 2005 19:25:59 +0000 (19:25 -0000)]
Added System.Security.Policy/DefaultPolicies.cs

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

19 years ago2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 May 2005 19:24:44 +0000 (19:24 -0000)]
2005-05-26  Sebastien Pouliot  <sebastien@ximian.com>

* DefaultPolicies.cs: New. Creates the default security policies.
Permissions outside corlib are commented due to a bug with CAS when
loading them.
* PolicyLevel.cs: Fixed TODO for Recover method and for reserved names
in RemoveNamedPermissionSet method. Moved IsReserved method to new
DefaultPolicies class.

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

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

* DataGridTextBoxColumn.cs: Draws text and basic text formatting
* DataGridTableStyle.cs: set proper formatting text, def header text
* ThemeWin32Classic.cs: new themable paramaters
* DataGridBoolColumn.cs: paint check box, get data, fixes
* DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
* DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
* DataGridColumnStyle.cs: fixes
* Theme.cs: new themable paramaters

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

19 years agonew test; changelog eol sanity.
Ben Maurer [Thu, 26 May 2005 17:56:51 +0000 (17:56 -0000)]
new test; changelog eol sanity.

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

19 years ago2005-05-26 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 26 May 2005 17:56:24 +0000 (17:56 -0000)]
2005-05-26  Ben Maurer  <bmaurer@ximian.com>

* Queue.cs (grow): fix 61919.

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

19 years ago2005-05-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 26 May 2005 17:17:34 +0000 (17:17 -0000)]
2005-05-26  Zoltan Varga  <vargaz@freemail.hu>

* *-ia64.*: Ongoing IA64 work.

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

19 years ago2005-05-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 26 May 2005 17:16:50 +0000 (17:16 -0000)]
2005-05-26  Zoltan Varga  <vargaz@freemail.hu>

* ia64/ia64-codegen.h: Ongoing IA64 work.

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

19 years ago2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 26 May 2005 16:19:10 +0000 (16:19 -0000)]
2005-05-26  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/SiteMapNodeItem.cs
System.Web.UI.WebControls/SiteMapNodeItemEventArgs.cs
System.Web.UI.WebControls/SiteMapNodeItemEventHandler.cs
System.Web.UI.WebControls/SiteMapPath.cs
System.Web.UI/NonVisualControlAttribute.cs
System.Web/StaticSiteMapProvider.cs

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

19 years ago2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 26 May 2005 16:17:00 +0000 (16:17 -0000)]
2005-05-26  Lluis Sanchez Gual <lluis@novell.com>

* DataListItem.cs:
* GridViewRow.cs:
* DataGridItem.cs:
* RepeaterItem.cs:
* FormView.cs:
* MenuItemTemplateContainer.cs:
* DetailsView.cs: Track changes in the IDataItemContainer interface.

* CommandField.cs: Added CausesValidation property. Set that
property value to all buttons of the field.

* SqlDataSourceView.cs:
* CollectionDataSource.cs:
* XmlDataSourceView.cs: Properly initialize the base class.

* SiteMapDataSource.cs:
* SiteMapHierarchicalDataSourceView.cs:
* SiteMapNodeItem.cs:
* SiteMapDataSourceView.cs:
* SiteMapPath.cs: Mostly implemented.

* HierarchicalDataBoundControl.cs: Always bind the control when the
page is loaded for the first time.

* TreeView.cs: Properly bind the control when loaded from a callback.

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

19 years ago2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 26 May 2005 16:16:29 +0000 (16:16 -0000)]
2005-05-26  Lluis Sanchez Gual <lluis@novell.com>

* DataSourceView.cs: Fix api.
* NonVisualControlAttribute.cs: Implemented.
* IDataItemContainer.cs: Added missing properties.
* Control.cs: Added new EnableTheming and SkinID properties.
* HierarchicalDataSourceControl.cs: Implemented missing methods.

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

19 years ago2005-05-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 26 May 2005 16:16:09 +0000 (16:16 -0000)]
2005-05-26  Lluis Sanchez Gual <lluis@novell.com>

* SiteMapNodeCollection.cs: Implemented missing methods. The collection
does not inherit from CollectionBase any more.
* SiteMapNode.cs: Track api changes.
* SiteMapProvider.cs: Moved several methods to the new
StaticSiteMapProvider class. Other fixes.
* XmlSiteMapProvider.cs: Watch changes in the xml files. Other fixes.
* SiteMapProviderCollection.cs: Minor fixes.
* SiteMap.cs: Added missing event. Avoid double check lock.
* StaticSiteMapProvider.cs: New class that implements some of the
funtionality of SiteMapProvider.

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

19 years ago2005-05-25 Jonathan Gilbert <logic@deltaq.org>
Peter Dennis Bartok [Thu, 26 May 2005 16:03:34 +0000 (16:03 -0000)]
2005-05-25  Jonathan Gilbert  <logic@deltaq.org>

* Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
  and modified the Palette property to call them. This non-
  persistent behaviour was discovered by trial and error with
  Microsoft's implementation. In fact, the Palette property
  does not behave like a property at all! It is the only way an
  instance of System.Drawing.Imaging.ColorPalette can be created,
  and it reflects a backing store that is only updated when the
  property 'set' method is called. Also updated Clone () since
  the palette is no longer cached at image load time.
* Image.cs: Added IsIndexedPixelFormat () in the same vein as
  Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
  As such a function is not listed in MSDN nor given in
  Microsoft's implementation, I have made it a private function
  within the class that uses it.

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

19 years ago2005-05-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 26 May 2005 15:52:42 +0000 (15:52 -0000)]
2005-05-26  Miguel de Icaza  <miguel@novell.com>

* Dictionary.cs: Remove the `Hash' name from the Dictionary
internal classes, make them public.

2005-05-26  Miguel de Icaza  <miguel@novell.com>

* File.cs (ReadAllBytes): add.

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

19 years agoREADME.vsnet: Instructions about the VS.NET build.
Sebastien Pouliot [Thu, 26 May 2005 15:09:02 +0000 (15:09 -0000)]
README.vsnet: Instructions about the VS.NET build.

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

19 years agomonograph.vcproj: Project file for monograph.
Sebastien Pouliot [Thu, 26 May 2005 15:06:39 +0000 (15:06 -0000)]
monograph.vcproj: Project file for monograph.

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

19 years agomonodis.vcproj: Project file for monodis.
Sebastien Pouliot [Thu, 26 May 2005 15:05:21 +0000 (15:05 -0000)]
monodis.vcproj: Project file for monodis.

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

19 years agoProject files for monodiet and pedump
Sebastien Pouliot [Thu, 26 May 2005 15:03:31 +0000 (15:03 -0000)]
Project files for monodiet and pedump

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

19 years agomonoburg.vcproj: Project file for monoburg.
Sebastien Pouliot [Thu, 26 May 2005 15:02:16 +0000 (15:02 -0000)]
monoburg.vcproj: Project file for monoburg.

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

19 years agolibgc.vcproj: Project file for libgc.
Sebastien Pouliot [Thu, 26 May 2005 15:00:32 +0000 (15:00 -0000)]
libgc.vcproj: Project file for libgc.

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

19 years agoProject files for embedded samples
Sebastien Pouliot [Thu, 26 May 2005 14:59:06 +0000 (14:59 -0000)]
Project files for embedded samples

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

19 years agoSolution/Project files for VS.NET
Sebastien Pouliot [Thu, 26 May 2005 14:58:09 +0000 (14:58 -0000)]
Solution/Project files for VS.NET

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

19 years ago2005-05-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 May 2005 14:46:22 +0000 (14:46 -0000)]
2005-05-26  Atsushi Enomoto  <atsushi@ximian.com>

* culture-info.h : short time pattern too.

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

19 years ago2005-05-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 May 2005 14:38:06 +0000 (14:38 -0000)]
2005-05-26  Atsushi Enomoto  <atsushi@ximian.com>

* culture-info.h : expand long time pattern string length.

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

19 years agoIn mcs:
Raja R Harinath [Thu, 26 May 2005 13:55:43 +0000 (13:55 -0000)]
In mcs:
Improve user-defined conversion handling.
* convert.cs (GetConversionOperators): Rewrite.  Return only the
applicable operators.
(AddConversionOperators): New.  Helper for GetConversionOperators.
(FindMostEncompassedType, FindMostEncompassingType): Verify that
there is only one most encompassed/encompassing type.
(FindMostSpecificSource, FindMostSpecificTarget): Remove
"applicable operator" handling.
(UserConversion): Move cache here from GetConversionOperators.
Directly cache the chosen operator, rather than the whole
MethodGroup.
(ExplicitNumericConversion): Fix buggy implementation of Decimal
case.  Allow conversion of decimal to sbyte and byte too.
* expression.cs (EmptyExpression.Grab, EmptyExpression.Release):
New static methods.  Used to avoid allocating EmptyExpressions in
convert.cs.

In errors:
* cs0173-3.cs: Rename from cs0172-2.cs.  CSC 1.1 reports CS0173,
CSC 2.0.40607 reports CS0172.  CS0173 is somewhat more appropriate
since the conversion is ambiguous.

In tests:
* test-387.cs: New test from #54928.

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

19 years ago2005-05-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 26 May 2005 13:36:03 +0000 (13:36 -0000)]
2005-05-26  Zoltan Varga  <vargaz@freemail.hu>

* Dictionary.cs: Fix a warning.

* IDictionary.cs: Add missing TryGetValue method.

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

19 years ago2005-05-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 26 May 2005 13:18:46 +0000 (13:18 -0000)]
2005-05-26  Zoltan Varga  <vargaz@freemail.hu>

* Type.cs (IsEnum): Special case EnumBuilder here.

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

19 years ago2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 May 2005 13:11:33 +0000 (13:11 -0000)]
2005-05-26  Sebastien Pouliot  <sebastien@ximian.com>

* SynchronizationContext.cs: Re-introduced SendOrPost method as it's
being used in System.Web.Services.

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

19 years agocorlib.dll.sources: Removed the *Switcher structures from the build (NET_2_0) as...
Sebastien Pouliot [Thu, 26 May 2005 12:43:48 +0000 (12:43 -0000)]
corlib.dll.sources: Removed the *Switcher structures from the build (NET_2_0) as they aren't part of the public API (beta2) anymore.

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

19 years ago2005-05-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 26 May 2005 12:43:17 +0000 (12:43 -0000)]
2005-05-26  Zoltan Varga  <vargaz@freemail.hu>

* iltests.il: Add a new test.

* mini.c (mono_method_to_ir): Initialize valuetypes when created using
newobj. Fixes #75042.

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

19 years ago2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 May 2005 12:40:19 +0000 (12:40 -0000)]
2005-05-26  Sebastien Pouliot  <sebastien@ximian.com>

* SynchronizationContext.cs: Updated to beta2 API so it doesn't depend
on the switcher structure anymore (which will be removed from the
build).

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

19 years ago2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 May 2005 12:34:41 +0000 (12:34 -0000)]
2005-05-26  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermission.cs: Fix typo for PermitOnly. Added ComVisible
attribute for NET_2_0 profile.
* PermissionSet.cs: Changed static string to const. Added ComVisible
attribute for NET_2_0 profile.
* SecurityContext.cs: Capture the identity token but don't create a
WindowsIdentity instance unless required (e.g. Run). This requires
less privileges (so it runs better that way under CAS).

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

19 years ago2005-05-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 26 May 2005 12:22:33 +0000 (12:22 -0000)]
2005-05-26  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (TestDriver.dll): Fix a warning.

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

19 years ago2005-05-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 May 2005 11:54:54 +0000 (11:54 -0000)]
2005-05-26  Sebastien Pouliot  <sebastien@ximian.com>

* MonoType.cs: Changed call from GetName to UnprotectedGetName to
allow call to work with serialization under a restrictive policy.
The code path (the protected information) isn't being used.

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

19 years agoFix Enum conversion for two level assignment and added few more cases
Manjula GHM [Thu, 26 May 2005 10:18:20 +0000 (10:18 -0000)]
Fix Enum conversion for two level assignment and added few more cases

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

19 years agoFix problem w.r.t 'Exit Sub'
Manjula GHM [Thu, 26 May 2005 07:47:00 +0000 (07:47 -0000)]
Fix problem w.r.t 'Exit Sub'

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

19 years ago2005-05-26 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 26 May 2005 07:08:43 +0000 (07:08 -0000)]
2005-05-26  Peter Bartok  <pbartok@novell.com>

* ContainerControl.cs: Pass AdjustFormScrollbars() call on to base

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

19 years agoFix from Dick for 75016
Miguel de Icaza [Thu, 26 May 2005 04:12:53 +0000 (04:12 -0000)]
Fix from Dick for 75016

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

19 years ago2005-05-25 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 26 May 2005 00:13:01 +0000 (00:13 -0000)]
2005-05-25  Ben Maurer  <bmaurer@ximian.com>

* MimeTypes.cs: Remove extra spaces, they were typos. Fixes 75049.

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

19 years ago2005-05-25 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Thu, 26 May 2005 00:06:35 +0000 (00:06 -0000)]
2005-05-25  Ben Maurer  <bmaurer@ximian.com>

* Conversion.cs (Val): Do a correct impl of Val (char). Fixes bug
#67810.

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

19 years agorevert last commit that applied patch Efren
César Natarén [Wed, 25 May 2005 21:24:17 +0000 (21:24 -0000)]
revert last commit that applied patch Efren

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

19 years agolast patch broke the build reverting
César Natarén [Wed, 25 May 2005 21:05:48 +0000 (21:05 -0000)]
last patch broke the build reverting

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

19 years agoPatch from efren.serra.ctr@metnet.navy.mil> that implements EvaluateBitwiseBinary
César Natarén [Wed, 25 May 2005 20:29:51 +0000 (20:29 -0000)]
Patch from efren.serra.ctr@metnet.navy.mil> that implements EvaluateBitwiseBinary

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

19 years ago2005-05-25 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Wed, 25 May 2005 19:11:41 +0000 (19:11 -0000)]
2005-05-25  Ben Maurer  <bmaurer@ximian.com>

* configure.in: Do a test for libX11.so that really works :-).

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

19 years agoCheck-in missing changes.
Zoltan Varga [Wed, 25 May 2005 17:10:15 +0000 (17:10 -0000)]
Check-in missing changes.

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

19 years ago2005-05-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 25 May 2005 16:44:13 +0000 (16:44 -0000)]
2005-05-25  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityException.cs: PermissionState isn't always serialized
(depending on the security policy) so it cannot always be deserialized
too (and this must work without throwing exceptions).

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

19 years ago2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 May 2005 14:26:22 +0000 (14:26 -0000)]
2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeTest.cs : TestParse3() is still NotWorking on others' :(

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

19 years ago2005-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 May 2005 14:19:41 +0000 (14:19 -0000)]
2005-05-25  Zoltan Varga  <vargaz@freemail.hu>

* Exception.cs: Use the new StackTrace ctor.

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

19 years ago2005-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 May 2005 14:18:41 +0000 (14:18 -0000)]
2005-05-25  Zoltan Varga  <vargaz@freemail.hu>

* StackTrace.cs: Add an internal ctor which skips unmanaged frames.

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

19 years ago2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 May 2005 13:38:29 +0000 (13:38 -0000)]
2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* fr.xml : more date pattern.

* culture-info-table.h : update (more French date format; #72788).

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

19 years ago2005-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 May 2005 13:18:47 +0000 (13:18 -0000)]
2005-05-25  Zoltan Varga  <vargaz@freemail.hu>

* corlib_test.dll.sources: Add System.Reflection.TypeDelegatorTest.

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

19 years ago2005-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 May 2005 13:17:43 +0000 (13:17 -0000)]
2005-05-25  Zoltan Varga  <vargaz@freemail.hu>

* TypeDelegatorTest.cs: New file.

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

19 years agoMade new dir for XML W3C conformance test suite
Andrew Skiba [Wed, 25 May 2005 12:49:00 +0000 (12:49 -0000)]
Made new dir for XML W3C conformance test suite

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

19 years ago2005-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 May 2005 12:40:19 +0000 (12:40 -0000)]
2005-05-25  Zoltan Varga  <vargaz@freemail.hu>

* GenericTypeParameterBuilder.cs: Return this in UnderlyingSystemType.

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

19 years ago* replace.cs (ReplacementEvaluator.Compile): Rewrite to avoid
Raja R Harinath [Wed, 25 May 2005 12:27:07 +0000 (12:27 -0000)]
* replace.cs (ReplacementEvaluator.Compile): Rewrite to avoid
creating several intermediate strings.  Simplify internal
intermediate representation.
(ReplacementEvaluator.EvaluateAppend): New.  Version of Evaluate
that builds the result directly on a passed-in StringBuilder.
(ReplacementEvaluator.Evaluate): Just a wrapper around
EvaluateAppend.
* regex.cs (MatchAppendEvaluator): New internal delegate.
(Regex.Replace): Use MatchAppendEvaluator.
(Regex.Adapter): New class used to adapt a MatchEvaluator to a
MatchAppendEvaluator.

Rationale: We avoid allocating a lot of memory in the
   Replace (..., string, ...) case.  We penalize the
   Replace (..., MatchEvaluator, ...) version slightly,
   but that is already a slow case.

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

19 years ago* RegexReplace.cs: Add a couple more testcases.
Raja R Harinath [Wed, 25 May 2005 12:16:58 +0000 (12:16 -0000)]
* RegexReplace.cs: Add a couple more testcases.

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

19 years ago2005-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 May 2005 12:04:56 +0000 (12:04 -0000)]
2005-05-25  Zoltan Varga  <vargaz@freemail.hu>

* Type.cs: Improve support for user defined type subclasses.

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

19 years ago2005-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 May 2005 11:20:21 +0000 (11:20 -0000)]
2005-05-25  Zoltan Varga  <vargaz@freemail.hu>

* Assembly.cs: Avoid security checks if Assembly.Location is "".

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

19 years ago2005-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 May 2005 11:13:39 +0000 (11:13 -0000)]
2005-05-25  Zoltan Varga  <vargaz@freemail.hu>

* MethodInfoTest.cs: Add a test for bug #75029.

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

19 years ago2005-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 25 May 2005 11:12:36 +0000 (11:12 -0000)]
2005-05-25  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_InternalInvoke): Avoid type checks on this if
the method is static. Fixes #75029.

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

19 years ago * System.Data/DataTable.cs: Reworked DataTable.LoadDataRow method after
Sureshkumar T [Wed, 25 May 2005 10:57:45 +0000 (10:57 -0000)]
* System.Data/DataTable.cs: Reworked DataTable.LoadDataRow method after
  regressions caused by Index redesign.
* System.Data/DataRow.cs: Load : reworked.

* Test/System.Data/DataTableLoadRowTest.cs: Added  additional cases for
  AutoIncrementTest to gauge any side effect with auto
  incrementing in case of upsert.

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

19 years ago2005-05-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 25 May 2005 09:55:24 +0000 (09:55 -0000)]
2005-05-25  Lluis Sanchez Gual  <lluis@novell.com>

* SymbolWriterImpl.cs: An implementation of ISymbolWriter. It is just a
wrapper for the MonoSymbolWriter class that mcs is using.

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

19 years ago* ObjectType.cs : Some fixes to Narrowing conversions
Satya Sudha K [Wed, 25 May 2005 09:51:25 +0000 (09:51 -0000)]
* ObjectType.cs : Some fixes to Narrowing conversions
* VBBinder.cs : Fixed my previous checkin

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

19 years agoFixed a testcase
Satya Sudha K [Wed, 25 May 2005 09:45:30 +0000 (09:45 -0000)]
Fixed a testcase

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

19 years agoexpression.cs, statement.cs: Late binding for method invocations involving object...
Satya Sudha K [Wed, 25 May 2005 09:42:42 +0000 (09:42 -0000)]
expression.cs, statement.cs: Late binding for method invocations involving object arguments

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

19 years ago2005-05-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 25 May 2005 09:37:07 +0000 (09:37 -0000)]
2005-05-25  Lluis Sanchez Gual  <lluis@novell.com>

* ModuleBuilder.cs: Implemented DefineDocument(). Generate debug
info when saving the module.
* ILGenerator.cs: Keep marked sequence points in a list.
Added a GenerateDebugInfo method, which dumps the info collected
during code generation.
* TypeBuilder.cs:
* ConstructorBuilder.cs:
* MethodBuilder.cs: Added method for generating debug info.
* LocalBuilder.cs: Added StartOffset and EndOffset properties.
* CustomAttributeBuilder.cs: Use IsInstanceOfType instead of
IsAssignableFrom when possible.

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

19 years ago2005-05-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 25 May 2005 09:31:53 +0000 (09:31 -0000)]
2005-05-25  Lluis Sanchez Gual  <lluis@novell.com>

* reflection.c: Update the table_idx field of method builders after
saving the module, since it can change. This is a workaround for
bug #74914.

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

19 years ago2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 May 2005 08:29:39 +0000 (08:29 -0000)]
2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : Added minimum digit parameter to ParseNumber() to
  reject 2 digit years for "yyyy".
  Use GetAllDateTimePatterns() instead of constant string.
  Fixed bug #72788.

* DateTimeTest.cs : added testcase for #72788. Test that assures we
  reject 2 digit years for "yyyy".

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

19 years ago2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 May 2005 08:21:36 +0000 (08:21 -0000)]
2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* culture-info-table.h : update (additional French date format).

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

19 years ago2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 May 2005 08:19:58 +0000 (08:19 -0000)]
2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* fr.xml : new file.

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

19 years agofix value fetch logic
Konstantin Triger [Wed, 25 May 2005 07:58:40 +0000 (07:58 -0000)]
fix value fetch logic

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

19 years ago* Makefile (EXTRA_DISTFILES): Remove System.Xml.Query/skeleton-2.0.cs.
Raja R Harinath [Wed, 25 May 2005 07:26:04 +0000 (07:26 -0000)]
* Makefile (EXTRA_DISTFILES): Remove System.Xml.Query/skeleton-2.0.cs.

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

19 years ago2005-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 25 May 2005 06:57:47 +0000 (06:57 -0000)]
2005-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : next_not_digit prevented some valid parse.
  Just remove it, since now we pass max length to ParseNumber() and
  thus it is not needed anymore. Fixed bug 63137.

* DateTimeTest.cs : removed some NotWorking (they are working).
  Added testcase for #63137.

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

19 years agoSystem.Data.dll.sources : Added DbException.cs, SqlClientMetaDataCollectionNames.cs
Umadevi S [Wed, 25 May 2005 03:35:46 +0000 (03:35 -0000)]
System.Data.dll.sources : Added DbException.cs, SqlClientMetaDataCollectionNames.cs

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

19 years agofixed some 2.0 and 1.0 specific fields/attributes for various classes.
Umadevi S [Wed, 25 May 2005 03:33:30 +0000 (03:33 -0000)]
fixed some 2.0 and 1.0 specific fields/attributes for various classes.
        * Added SqlClientMetaDataCollectionNames.cs, Implemented some 2.0
        properties for SqlParameterCollection for the bulkcopy feature.

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

19 years agoAdded DbException.cs
Umadevi S [Wed, 25 May 2005 03:29:25 +0000 (03:29 -0000)]
Added DbException.cs

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

19 years agoMove test-386 to NEW_TEST_SOURCES_common.
Raja R Harinath [Wed, 25 May 2005 03:21:54 +0000 (03:21 -0000)]
Move test-386 to NEW_TEST_SOURCES_common.

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

19 years agoFixed LowOrder and HighOrder to preserve sign.
Jonathan Chambers [Wed, 25 May 2005 02:19:51 +0000 (02:19 -0000)]
Fixed LowOrder and HighOrder to preserve sign.

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

19 years ago- Another one missed
Peter Dennis Bartok [Wed, 25 May 2005 01:23:24 +0000 (01:23 -0000)]
- Another one missed

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

19 years ago- I did it again. Forgot to add this.
Peter Dennis Bartok [Wed, 25 May 2005 01:23:01 +0000 (01:23 -0000)]
- I did it again. Forgot to add this.

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

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

* OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  StatusBar.cs, MonthCalendar.cs, TreeView.cs: Cleanup
* DataGridPreferredColumnWidthTypeConverter.cs: Added
* System.Windows.Forms.dll.sources: Added
  DataGridPreferredColumnWidthTypeConverter.cs
* SWF.csproj: Updated

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

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

* DateTime.cs : HH should not always block tt. Fixed bug #60912.
  Reset num after whitespace parsing.
  Added "M/d/yyyy HH':'mm':'ss tt" as an invariant pattern.

* DateTimeTest.cs : testcase for #60912.

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

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

* DateTime.cs : Allow ',' where whitespaces are allowed.
  Fixed bug #71289.

* DateTimeTest.cs : testcase for #71289.

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

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

* System.Windows.Forms.dll.sources: Added Help.cs
* SWF.csproj: Updated

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

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

* Help.cs: Added, implemented trivial functions, throws up MessageBox
  when user tries to get help
* DataObject.cs, DataFormats.cs, LinkArea.cs,
  SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  to suppress warnings
* XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  avoid unreachable code warning

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