Sureshkumar T [Fri, 27 May 2005 10:52:44 +0000 (10:52 -0000)]
2005-05-27 Sureshkumar T <tsureshkumar@novell.com>
* TdsMetaParameter.cs: Prepare: in SQL, a variable declaration
with size 0 is not allowed. fixes #62978.
svn path=/trunk/mcs/; revision=45107
Atsushi Eno [Fri, 27 May 2005 09:19:16 +0000 (09:19 -0000)]
2005-05-27 Atsushi Enomoto <atsushi@ximian.com>
* parameter.cs,
Removed Parameters.Location and added Parameter.Location instead.
Removed Location parameter from Emit() and GetSignature().
* anonymous.cs,
class.cs,
cs-parser.jay,
delegate.cs,
iterators.cs,
statement.cs :
Modified all related calls.
svn path=/trunk/mcs/; revision=45106
Manjula GHM [Fri, 27 May 2005 09:10:05 +0000 (09:10 -0000)]
To support "Sub New()" without modifier
svn path=/trunk/mcs/; revision=45105
Jackson Harper [Fri, 27 May 2005 07:43:05 +0000 (07:43 -0000)]
Dont crash if no data is found.
svn path=/trunk/mcs/; revision=45104
Raja R Harinath [Fri, 27 May 2005 06:52:36 +0000 (06:52 -0000)]
Sprinkle a few ^Ms around so that emacs treats it as a fully DOS file
svn path=/trunk/mcs/; revision=45103
Raja R Harinath [Fri, 27 May 2005 06:43:18 +0000 (06:43 -0000)]
* Environment.cs (ExpandEnvironmentVariables): Rewrite
sb.Append (s.SubString (a, b)) to sb.Append (s, a, b).
* String.cs (FormatHelper): Rewrite sb.Append (s.SubString (a)) to
sb.Append (s, a, s.Length - a). Avoid allocating 'pad' string --
StringBuilder has an appropriate Append overload.
svn path=/trunk/mcs/; revision=45102
Raja R Harinath [Fri, 27 May 2005 05:53:07 +0000 (05:53 -0000)]
* DateTimeTest.cs (TestParseExact2): Remove. Merge into ...
(TestParseExact3): ... here. Fix to convert the parsed DateTime
to UTC before comparing values.
svn path=/trunk/mcs/; revision=45101
Gonzalo Paniagua Javier [Fri, 27 May 2005 05:10:21 +0000 (05:10 -0000)]
2005-05-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RemoteStateServer.cs:
* HttpSessionState.cs:
* SessionSQLServerHandler.cs:
* SessionInProcHandler.cs:
* SessionStateServerHandler.cs: remove abandoned sessions in the
ReleseRequest state. Fixes bug #75051.
svn path=/trunk/mcs/; revision=45100
Ritvik Mayank [Fri, 27 May 2005 04:53:29 +0000 (04:53 -0000)]
2005-05-27 Ritvik Mayank <mritvik@novell.com>
* Arranged some of the test cases
svn path=/trunk/mcs/; revision=45099
Ben Maurer [Thu, 26 May 2005 23:22:22 +0000 (23:22 -0000)]
lock fixing
svn path=/trunk/mcs/; revision=45091
Ben Maurer [Thu, 26 May 2005 23:19:50 +0000 (23:19 -0000)]
locking fixes
svn path=/trunk/mcs/; revision=45090
Ben Maurer [Thu, 26 May 2005 23:18:45 +0000 (23:18 -0000)]
locking fixes
svn path=/trunk/mcs/; revision=45089
Ben Maurer [Thu, 26 May 2005 23:18:18 +0000 (23:18 -0000)]
locking fixes
svn path=/trunk/mcs/; revision=45088
Ben Maurer [Thu, 26 May 2005 23:10:47 +0000 (23:10 -0000)]
lock fixes
svn path=/trunk/mcs/; revision=45087
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
Ben Maurer [Thu, 26 May 2005 23:06:52 +0000 (23:06 -0000)]
locking fixes
svn path=/trunk/mcs/; revision=45085
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ben Maurer [Thu, 26 May 2005 17:56:51 +0000 (17:56 -0000)]
new test; changelog eol sanity.
svn path=/trunk/mcs/; revision=45067
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Sebastien Pouliot [Thu, 26 May 2005 14:59:06 +0000 (14:59 -0000)]
Project files for embedded samples
svn path=/trunk/mono/; revision=45050
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Zoltan Varga [Wed, 25 May 2005 17:10:15 +0000 (17:10 -0000)]
Check-in missing changes.
svn path=/trunk/mcs/; revision=45007
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Satya Sudha K [Wed, 25 May 2005 09:45:30 +0000 (09:45 -0000)]
Fixed a testcase
svn path=/trunk/mcs/; revision=44985
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
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
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
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
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
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
Konstantin Triger [Wed, 25 May 2005 07:58:40 +0000 (07:58 -0000)]
fix value fetch logic
svn path=/trunk/mcs/; revision=44978
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
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