Eyal Alalouf [Sun, 29 May 2005 10:35:17 +0000 (10:35 -0000)]
Standardized Mainsoft ConstraintCollection tests.
svn path=/trunk/mcs/; revision=45156
Jackson Harper [Sun, 29 May 2005 03:51:38 +0000 (03:51 -0000)]
Control.cs: Proper implementation of Product(Name/Version).
M ChangeLog
M Control.cs
svn path=/trunk/mcs/; revision=45155
Zoltan Varga [Sat, 28 May 2005 20:34:02 +0000 (20:34 -0000)]
2005-05-28 Zoltan Varga <vargaz@freemail.hu>
* *-ia64.*: Ongoing IA64 work.
svn path=/trunk/mono/; revision=45152
Ben Maurer [Sat, 28 May 2005 19:58:54 +0000 (19:58 -0000)]
re-enable now that it is fixed
svn path=/trunk/mcs/; revision=45151
Ben Maurer [Sat, 28 May 2005 19:58:27 +0000 (19:58 -0000)]
2005-05-28 Ben Maurer <bmaurer@ximian.com>
* Type.cs: Check that the arguments of the `types' array are
non-null. Fixes bug 71300
svn path=/trunk/mcs/; revision=45150
Zoltan Varga [Sat, 28 May 2005 19:23:30 +0000 (19:23 -0000)]
2005-05-28 Zoltan Varga <vargaz@freemail.hu>
* *-ia64.*: Ongoing IA64 work.
svn path=/trunk/mono/; revision=45149
Zoltan Varga [Sat, 28 May 2005 18:03:53 +0000 (18:03 -0000)]
2005-05-28 Zoltan Varga <vargaz@freemail.hu>
* mini-ia64.c: Ongoing IA64 work.
svn path=/trunk/mono/; revision=45148
Zoltan Varga [Sat, 28 May 2005 18:02:41 +0000 (18:02 -0000)]
2005-05-28 Zoltan Varga <vargaz@freemail.hu>
* ia64/ia64-codegen.h: Ongoing IA64 work.
svn path=/trunk/mono/; revision=45147
Zoltan Varga [Sat, 28 May 2005 17:10:01 +0000 (17:10 -0000)]
2005-05-28 Zoltan Varga <vargaz@freemail.hu>
* *-ia64.* jit-icalls.c mini-codegen.c: Ongoing IA64 work.
svn path=/trunk/mono/; revision=45146
Zoltan Varga [Sat, 28 May 2005 17:08:04 +0000 (17:08 -0000)]
2005-05-28 Zoltan Varga <vargaz@freemail.hu>
* ia64/ia64-codegen.h: Ongoing IA64 work.
svn path=/trunk/mono/; revision=45145
Zoltan Varga [Sat, 28 May 2005 17:07:09 +0000 (17:07 -0000)]
2005-05-28 Zoltan Varga <vargaz@freemail.hu>
* objects.cs basic-calls.cs: Move some tests to objects.cs.
svn path=/trunk/mono/; revision=45144
Zoltan Varga [Sat, 28 May 2005 17:06:06 +0000 (17:06 -0000)]
2005-05-28 Zoltan Varga <vargaz@freemail.hu>
* objects.cs basic-calls.cs: Move some tests to objects.cs.
svn path=/trunk/mono/; revision=45143
Zoltan Varga [Sat, 28 May 2005 17:03:55 +0000 (17:03 -0000)]
2005-05-28 Zoltan Varga <vargaz@freemail.hu>
* objects.cs basic-long.cs: Move some tests to objects.cs.
svn path=/trunk/mono/; revision=45142
Kornél Pál [Sat, 28 May 2005 15:54:13 +0000 (15:54 -0000)]
Added TimerTest.cs
svn path=/trunk/mcs/; revision=45141
Kornél Pál [Sat, 28 May 2005 15:29:56 +0000 (15:29 -0000)]
Added TimerTest.cs
svn path=/trunk/mcs/; revision=45140
Sebastien Pouliot [Sat, 28 May 2005 14:53:50 +0000 (14:53 -0000)]
2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
* HostSecurityManagerTest.cs: Remove NotWorking from tests.
svn path=/trunk/mcs/; revision=45139
Sebastien Pouliot [Sat, 28 May 2005 14:52:46 +0000 (14:52 -0000)]
corlib.dll.sources: Added System.Runtime.Hosting namespace with ActivationArguments and ApplicationActivator classes. Removed ApplicationActivator from System namespace.
svn path=/trunk/mcs/; revision=45138
Sebastien Pouliot [Sat, 28 May 2005 14:50:40 +0000 (14:50 -0000)]
2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
* AppDomainSetup.cs: Added new 2,0 constructors and the
ActivationArguments property.
* AppDomainManager.cs: Added using System.Runtime.Hosting as it is the
new location for the ApplicationActivator class.
* ApplicationActivator.cs: Moved to System.Runtime.Hosting namespace.
svn path=/trunk/mcs/; revision=45137
Sebastien Pouliot [Sat, 28 May 2005 14:50:25 +0000 (14:50 -0000)]
2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
* HostSecurityManager.cs: Added check for ActivationArguments in
application evidences.
svn path=/trunk/mcs/; revision=45136
Sebastien Pouliot [Sat, 28 May 2005 14:37:01 +0000 (14:37 -0000)]
2005-05-28 Sebastien Pouliot <sebastien@ximian.com>
* ActivationArguments.cs: New. Required to test HostSecurityManager.
* ApplicationActivator.cs: Moved from System namespace and updated to
beta2 API.
svn path=/trunk/mcs/; revision=45135
Kornél Pál [Sat, 28 May 2005 10:37:15 +0000 (10:37 -0000)]
Removed unnecessary variables
svn path=/trunk/mcs/; revision=45134
Kornél Pál [Sat, 28 May 2005 09:36:41 +0000 (09:36 -0000)]
DisposeInterface renamed to ReleaseInterface
svn path=/trunk/mcs/; revision=45133
Kornél Pál [Sat, 28 May 2005 07:47:03 +0000 (07:47 -0000)]
GC.SuppressFinalize(this) is not called in destructors. Some methods renamed.
svn path=/trunk/mcs/; revision=45132
Gonzalo Paniagua Javier [Sat, 28 May 2005 07:39:26 +0000 (07:39 -0000)]
2005-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FAMWatcher.cs: move the call to StartMonitoringDirectory out of any
locks. Before, for a high amount of subdirectories (~500) it hanged
after filling the write buffer of FAM socket. Fixes bug #74398.
svn path=/trunk/mcs/; revision=45131
Zoltan Varga [Fri, 27 May 2005 21:41:59 +0000 (21:41 -0000)]
2005-05-28 Zoltan Varga <vargaz@freemail.hu>
* ia64/ia64-codegen.h: Ongoing IA64 work.
svn path=/trunk/mono/; revision=45127
Vladimir Vukicevic [Fri, 27 May 2005 20:06:40 +0000 (20:06 -0000)]
b=75060, incorrect pinvoke generated for DllImport with ExactSpelling=true, r=vargaz
svn path=/trunk/mono/; revision=45125
Vladimir Vukicevic [Fri, 27 May 2005 20:06:24 +0000 (20:06 -0000)]
b=75060, incorrect pinvoke generated for DllImport with ExactSpelling=true, r=vargaz
svn path=/trunk/mcs/; revision=45124
Ben Maurer [Fri, 27 May 2005 18:49:53 +0000 (18:49 -0000)]
eek. locking on strings
svn path=/trunk/mcs/; revision=45122
Kornél Pál [Fri, 27 May 2005 18:30:19 +0000 (18:30 -0000)]
Fixed bug #75068
svn path=/trunk/mcs/; revision=45121
Sebastien Pouliot [Fri, 27 May 2005 18:00:19 +0000 (18:00 -0000)]
2005-05-27 Sebastien Pouliot <sebastien@ximian.com>
* NamedPermissionSetTest.cs: Re-enable the "NotWorking" unit test.
* PermissionSetCas.cs: New. Moved RevertAssert unit tests from
PermissionSetTest to here as they require --security to work.
* PermissionSetTest.cs: Re-enable the "NotWorking" NET_2_0 unit tests.
* SecurityContextCas.cs: Fixed namespace.
2005-04-28 Sebastien Pouliot <sebastien@ximian.com>
svn path=/trunk/mcs/; revision=45120
Sebastien Pouliot [Fri, 27 May 2005 17:58:59 +0000 (17:58 -0000)]
Add new files to the build
svn path=/trunk/mcs/; revision=45119
Sebastien Pouliot [Fri, 27 May 2005 17:56:49 +0000 (17:56 -0000)]
svn path=/trunk/mcs/; revision=45118
Sebastien Pouliot [Fri, 27 May 2005 17:55:55 +0000 (17:55 -0000)]
2005-05-27 Sebastien Pouliot <sebastien@ximian.com>
* CodeAccessPermission.cs: Allow unrestricted identity permissions in
2.0.
* PermissionBuilder.cs: New. Internal class to help create permission
instances from XML or with a fully qualified name. This class also
deals with unification.
* PermissionSet.cs: Use PermissionBuilder to create permissions in
FromXml method. Many 2.0 fixes (mostly to support unrestricted
identity permissions)
svn path=/trunk/mcs/; revision=45117
Sebastien Pouliot [Fri, 27 May 2005 17:55:41 +0000 (17:55 -0000)]
2005-05-27 Sebastien Pouliot <sebastien@ximian.com>
* DefaultPolicies.cs: Refactored code to use the new PermissionBuilder
class. Removed references to SWF WebBrowserPermission as it is
documented as obsolete and will be removed before 2.0 final.
svn path=/trunk/mcs/; revision=45116
Zoltan Varga [Fri, 27 May 2005 13:23:46 +0000 (13:23 -0000)]
2005-05-27 Zoltan Varga <vargaz@freemail.hu>
* MethodInfoTest.cs: Reenable the pseudo attribute test.
svn path=/trunk/mcs/; revision=45114
Paolo Molaro [Fri, 27 May 2005 12:07:58 +0000 (12:07 -0000)]
Fixed bug number.
svn path=/trunk/mono/; revision=45113
Paolo Molaro [Fri, 27 May 2005 12:06:21 +0000 (12:06 -0000)]
Fri May 27 14:45:56 CEST 2005 Paolo Molaro <lupus@ximian.com>
* gc.c: register a new weak link only if the object is non-null
(fixes bug#75061).
svn path=/trunk/mono/; revision=45112
Satya Sudha K [Fri, 27 May 2005 11:43:15 +0000 (11:43 -0000)]
* statement.cs :
* mb-parser.jay :
- Supporting all kinds of case clauses (like 'A To B', 'Is >= 30')
- Expressions of all primitive types can now be specified as 'Select'
and 'Case' expressions
svn path=/trunk/mcs/; revision=45111
Satya Sudha K [Fri, 27 May 2005 11:25:25 +0000 (11:25 -0000)]
Some more testcases for 'Select-Case' statements
svn path=/trunk/mcs/; revision=45110
Raja R Harinath [Fri, 27 May 2005 11:04:30 +0000 (11:04 -0000)]
* parameter.cs (Parameter): Remove TODO comment.
(Parameter.DefineParameter): Remove Location parameter.
(Parameters.LabelParameters): Likewise.
* class.cs (Constructor.Emit): Update to change.
(MethodData.Emit): Likewise.
* anonymous.cs (AnonymousMethod.EmitMethod): Likewise.
* delegate.cs (Delegate.Define, Delegate.Emit): Likewise.
svn path=/trunk/mcs/; revision=45108
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