Raja R Harinath [Mon, 28 Nov 2005 08:03:07 +0000 (08:03 -0000)]
* mini/Makefile.am (ILASM): Use profile-dependent location of ilasm.
* tests/Makefile.am (ILASM): Use profile-dependent location of ilasm.
svn path=/trunk/mono/; revision=53541
Ankit Jain [Mon, 28 Nov 2005 06:42:15 +0000 (06:42 -0000)]
* StringHelper.cs (idChars): Add ` to the list.
svn path=/trunk/mcs/; revision=53540
Atsushi Eno [Mon, 28 Nov 2005 05:10:05 +0000 (05:10 -0000)]
2005-11-28 Atsushi Enomoto <atsushi@ximian.com>
* Encoding.cs : added UTF32.
svn path=/trunk/mcs/; revision=53539
Atsushi Eno [Mon, 28 Nov 2005 04:33:46 +0000 (04:33 -0000)]
2005-11-28 Atsushi Enomoto <atsushi@ximian.com>
* UTF32Encoding.cs : surrogate pairs vanished in GetBytes() when the
endianness is big.
svn path=/trunk/mcs/; revision=53538
Atsushi Eno [Mon, 28 Nov 2005 03:37:40 +0000 (03:37 -0000)]
2005-11-28 Atsushi Enomoto <atsushi@ximian.com>
* UTF32Encoding.cs : new file.
* corlib.dll.sources: added UTF32Encoding.cs.
svn path=/trunk/mcs/; revision=53537
Chris Toshok [Mon, 28 Nov 2005 03:14:10 +0000 (03:14 -0000)]
2005-11-27 Chris Toshok <toshok@ximian.com>
* HttpApplication.cs (InitOnce): add Configuration_2.0 code.
(GetHandler): same.
svn path=/trunk/mcs/; revision=53536
John Luke [Sun, 27 Nov 2005 21:30:40 +0000 (21:30 -0000)]
2005-11-27 John Luke <john.luke@gmail.com>
* Mono.Cairo/Graphics.cs: add back FontSetSize,
FontSize setter, and FontFace as obsolete API
svn path=/trunk/mcs/; revision=53530
Zoltan Varga [Sun, 27 Nov 2005 21:15:11 +0000 (21:15 -0000)]
2005-11-27 Zoltan Varga <vargaz@gmail.com>
* basic-long.cs basic-calls.cs objects.cs: Move some tests to the
correct files.
svn path=/trunk/mono/; revision=53529
Alexander Olk [Sun, 27 Nov 2005 18:48:46 +0000 (18:48 -0000)]
2005-11-27 Alexander Olk <alex.olk@googlemail.com>
* ThemeNice.cs: - Removed 1 pixel bitmaps
- Use SmoothingMode.AntiAlias where it makes sense
(ScrollButton arrow for example)
- Enhanced Button focus drawing
- Fixed ComboBox drawing (no artefacts anymore, focus
rectangle is back again, reduced size of ComboButton, etc.)
- Fixed RadioButton focus drawing for Appearence.Button
- Slight ScrollButton redesign
- Some LinearGradientBrush size fixes
- GroupBoxes have now rounded edges
- Fixed StatusBar drawing
svn path=/trunk/mcs/; revision=53527
Boris Kirzner [Sun, 27 Nov 2005 16:21:58 +0000 (16:21 -0000)]
Proper handle of return value
parameter and corresponding user parameter
svn path=/trunk/mcs/; revision=53525
Konstantin Triger [Sun, 27 Nov 2005 09:09:03 +0000 (09:09 -0000)]
project file update
svn path=/trunk/mcs/; revision=53523
Konstantin Triger [Sun, 27 Nov 2005 08:21:31 +0000 (08:21 -0000)]
correctly export non-xsd primitive types.
svn path=/trunk/mcs/; revision=53522
Zoltan Varga [Sun, 27 Nov 2005 01:41:57 +0000 (01:41 -0000)]
2005-11-27 Zoltan Varga <vargaz@gmail.com>
* basic.cs: Remove test_0_byte_compares test which was moved to
objects.cs a long time ago.
svn path=/trunk/mono/; revision=53520
Miguel de Icaza [Sun, 27 Nov 2005 00:11:43 +0000 (00:11 -0000)]
2005-11-26 Miguel de Icaza <miguel@novell.com>
* HttpResponseStream.cs: Do not try to write zero bytes.
svn path=/trunk/mcs/; revision=53518
Chris Toshok [Sat, 26 Nov 2005 21:23:58 +0000 (21:23 -0000)]
2005-11-26 Chris Toshok <toshok@ximian.com>
* AuthorizationRuleCollection.cs (GetElementKey): implement this.
* ProfilePropertyNameValidator.cs: make this internal, and add a
blurb about how MS doesn't do the testing you'd expect them to.
svn path=/trunk/mcs/; revision=53515
Miguel de Icaza [Sat, 26 Nov 2005 19:55:22 +0000 (19:55 -0000)]
Update man page
svn path=/trunk/mono/; revision=53513
Miguel de Icaza [Sat, 26 Nov 2005 19:54:58 +0000 (19:54 -0000)]
Update man page
svn path=/trunk/mono/; revision=53512
Miguel de Icaza [Sat, 26 Nov 2005 19:54:46 +0000 (19:54 -0000)]
Add support for Boo as a shortcut
svn path=/trunk/mcs/; revision=53511
Miguel de Icaza [Sat, 26 Nov 2005 17:21:03 +0000 (17:21 -0000)]
Document
svn path=/trunk/mono/; revision=53507
Gert Driesen [Sat, 26 Nov 2005 16:23:45 +0000 (16:23 -0000)]
* CodeGeneratorFromExpressionTest.cs: Added test for
CodeParameterDeclarationExpression.
* CodeGeneratorFromTypeTest.cs: Modified tests to check result
for zero-length event, field and parameter name.
* CodeGeneratorFromStatementTest.cs: Added CodeCommentStatement,
CodeThrowExceptionStatement, CodeGotoStatement and
CodeTryCatchFinallyStatement tests.
* CodeGeneratorFromTypeTestBase.cs: Modified GetMethodMembersType3 to
add parameter with no name.
* CodeGeneratorTestBase.cs: Removed Code property, added Generate
overload taking CodeGeneratorOptions, added NewLine property.
* CodeGeneratorCompileUnitTest.cs: Use Generate method instead of
Code property.
* CodeGeneratorFromExpressionTest.cs: Added test for
CodeParameterDeclarationExpression.
* CodeGeneratorFromTypeTest.cs: Added tests for __exception name that
is output for zero-length field, event and parameter name in 2.0
profile.
* CodeGeneratorFromStatementTest.cs: Added.
* CSharpCodeGenerator.cs: Fixed GenerateComment to also write
comment chars for carriage-return (and skip linefeed, if its the
next character). Fixed output for TryCatchFinallyStatement. Fixed
GotoStatement to end with newline.
* VBCodeGenerator.cs: Fixed NullReferenceException if no ToThrow
expression is set for CodeThrowExceptionStatement. Fixed
GenerateComment to output comment chars for carriage-returns and
linefeed characters. Modified code generated for
CodeTryCatchFinallyStatement to match MS.NET. Fixed code generated
for CodeGotoStatement to match MS.NET. On 2.0 profile, output
"__exception" if name is zero-length string in OutputTypeNamePair.
svn path=/trunk/mcs/; revision=53506
Dick Porter [Sat, 26 Nov 2005 12:53:42 +0000 (12:53 -0000)]
2005-11-26 Dick Porter <dick@ximian.com>
* Semaphore.cs: Implemented with icalls
svn path=/trunk/mcs/; revision=53505
Dick Porter [Sat, 26 Nov 2005 12:53:13 +0000 (12:53 -0000)]
2005-11-26 Dick Porter <dick@ximian.com>
* icall.c:
* threads.c: icalls to implement basic (ie, not named)
System.Threading.Semaphore.
svn path=/trunk/mono/; revision=53504
Chris Toshok [Sat, 26 Nov 2005 03:25:54 +0000 (03:25 -0000)]
add reflection dumping utility, along with the current microsoft output.
svn path=/trunk/mcs/; revision=53503
Chris Toshok [Sat, 26 Nov 2005 03:24:07 +0000 (03:24 -0000)]
svn path=/trunk/mcs/; revision=53502
Chris Toshok [Sat, 26 Nov 2005 03:23:26 +0000 (03:23 -0000)]
2005-11-25 Chris Toshok <toshok@ximian.com>
* AuthorizationRuleCollection.cs (CreateNewElement): remove
MonoTODO.
* CompilationSection.cs (GetRuntimeObject): add comment to TODO.
* ProfileGroupSettings.cs: reformat some things.
* FormsAuthenticationUser.cs (Name): remove MonoTODO.
* WebPartsSection.cs (GetRuntimeObject): change TODO comment.
* ProfilePropertySettings.cs: add internal argument-less ctor.
* IdentitySection.cs (GetRuntimeObject): return this.
* ProfilePropertySettingsCollection.cs: implement much of the
TODO's.
* WebControlsSection.cs (GetRuntimeObject): implement.
* SqlCacheDependencyDatabaseCollection.cs (GetElementKey):
implement.
(GetKey): implement.
svn path=/trunk/mcs/; revision=53501
Chris Toshok [Sat, 26 Nov 2005 03:04:36 +0000 (03:04 -0000)]
add header comment
svn path=/trunk/mcs/; revision=53500
Chris Toshok [Sat, 26 Nov 2005 02:54:30 +0000 (02:54 -0000)]
add an anonymous id example
svn path=/trunk/mcs/; revision=53498
César Natarén [Sat, 26 Nov 2005 02:03:10 +0000 (02:03 -0000)]
raise a warning keep compiling. Give us 8 passing tests
svn path=/trunk/mcs/; revision=53497
César Natarén [Sat, 26 Nov 2005 01:26:12 +0000 (01:26 -0000)]
2005-11-25 Cesar Lopez Nataren <cnataren@novell.com>
* With.cs (JScriptWith): Use Convert.Object before we cast to
ScriptObject as literals fail to be put in the scope chain's
front.
svn path=/trunk/mcs/; revision=53493
John Luke [Sat, 26 Nov 2005 00:06:48 +0000 (00:06 -0000)]
update samples
svn path=/trunk/mcs/; revision=53492
John Luke [Sat, 26 Nov 2005 00:00:13 +0000 (00:00 -0000)]
2005-11-25 John Luke <john.luke@gmail.com>
* Mono.Cairo/Cairo.cs: add font_options* api
add cairo_get_font_matrix
* Mono.Cairo/FontOptions.cs: add
* Mono.Cairo/Graphics.cs: add FontOptions property,
remove FontSize setter and FontSetSize(),
remove FontFace() method as SelectFontFace already exists
remove non-existant TransformFont() and Font property
svn path=/trunk/mcs/; revision=53490
César Natarén [Fri, 25 Nov 2005 23:41:09 +0000 (23:41 -0000)]
2005-11-25 Cesar Lopez Nataren <cnataren@novell.com>
* expression.cs (Call.Emit): implement the case when the invoked
method at call is a property.
* Latebinding.cs: return null in case we don't mach anything.
svn path=/trunk/mcs/; revision=53489
Alexander Olk [Fri, 25 Nov 2005 19:20:55 +0000 (19:20 -0000)]
2005-11-25 Alexander Olk <alex.olk@googlemail.com>
* ThemeNice.cs: - Remove dead code
- use correct background colors for menus, etc.
- Fake pixel drawing with 1 pixel bitmaps
svn path=/trunk/mcs/; revision=53484
Sebastien Pouliot [Fri, 25 Nov 2005 15:44:08 +0000 (15:44 -0000)]
Added new (internal) System.DefaultUriParser to the build.
svn path=/trunk/mcs/; revision=53481
Sebastien Pouliot [Fri, 25 Nov 2005 15:43:25 +0000 (15:43 -0000)]
2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
* DefaultUriParser.cs: Added an internal default parser because (a)
UriParser is abstract and (b) MS doesn't always use the new parser
classes :(
* Uri.cs: Implemented Compare method. Added some FIXME.
* UriParser.cs: Implemented GetComponents and IsBaseOf methods.
Changed parsers to point to the new DefaultUriParser.
svn path=/trunk/mcs/; revision=53480
Sebastien Pouliot [Fri, 25 Nov 2005 15:39:15 +0000 (15:39 -0000)]
2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
* UriBuilderCas.cs: Fixed line endings.
* UriBuilderTest.cs: Fixed line endings and added some comments about
some NotWorking stuff.
* UriParserTest.cs: Added test cases for default parser.
* UriTest3.cs: Added more test cases for new 2.0 features.
svn path=/trunk/mcs/; revision=53479
Sebastien Pouliot [Fri, 25 Nov 2005 15:32:19 +0000 (15:32 -0000)]
2005-11-25 Sebastien Pouliot <sebastien@ximian.com>
* String.cs: Added support for Compare(... StringComparison) in 2.0.
svn path=/trunk/mcs/; revision=53478
Jackson Harper [Fri, 25 Nov 2005 07:26:28 +0000 (07:26 -0000)]
expose the maximized var
svn path=/trunk/mcs/; revision=53475
Alp Toker [Fri, 25 Nov 2005 07:10:10 +0000 (07:10 -0000)]
Correct logic this time
svn path=/trunk/mcs/; revision=53474
Jackson Harper [Fri, 25 Nov 2005 06:49:23 +0000 (06:49 -0000)]
* Form.cs: Make the child context available
svn path=/trunk/mcs/; revision=53473
Alp Toker [Fri, 25 Nov 2005 06:45:46 +0000 (06:45 -0000)]
2005-11-25 Alp Toker <alp@atoker.com>
* Type.cs (IsVisible): New 2.0 property, implemented recursively.
svn path=/trunk/mcs/; revision=53472
Miguel de Icaza [Fri, 25 Nov 2005 01:11:57 +0000 (01:11 -0000)]
2005-11-24 Miguel de Icaza <miguel@novell.com>
* WebROCollection.cs: Do not add an empty "=" to the query string
if the key is empty or null.
svn path=/trunk/mcs/; revision=53471
Chris Toshok [Thu, 24 Nov 2005 23:59:05 +0000 (23:59 -0000)]
2005-11-24 Chris Toshok <toshok@ximian.com>
* AssemblyInfo.cs: nuke this, it's in System.Web.Configuration_2.0
now.
svn path=/trunk/mcs/; revision=53470
Chris Toshok [Thu, 24 Nov 2005 23:57:41 +0000 (23:57 -0000)]
add tons of 2.0 config classes to the build.
svn path=/trunk/mcs/; revision=53469
Chris Toshok [Thu, 24 Nov 2005 23:57:13 +0000 (23:57 -0000)]
2005-11-24 Chris Toshok <toshok@ximian.com>
* AssemblyInfo.cs: move this here from System.Web.Configuration,
and fix up the properties.
* SystemWebSectionGroup.cs: enable most of the sections (2
remaining to be enabled.)
svn path=/trunk/mcs/; revision=53468
Chris Toshok [Thu, 24 Nov 2005 23:51:32 +0000 (23:51 -0000)]
2005-11-24 Chris Toshok <toshok@ximian.com>
* ConfigurationProperty.cs (Validate): add internal method.
svn path=/trunk/mcs/; revision=53467
Chris Toshok [Thu, 24 Nov 2005 23:19:58 +0000 (23:19 -0000)]
2005-11-24 Chris Toshok <toshok@ximian.com>
* ProcessModelSection.cs, SqlCacheDependencySection.cs,
SessionStateSection.cs, PassportAuthentication.cs,
FormsAuthenticationConfiguration.cs,
SqlCacheDependencyDatabase.cs, HttpModuleAction.cs,
BufferModeSettings.cs, TagPrefixInfo.cs (..cctor): init
elementProperty.
(ValidateElement): new static validator callback.
(ElementProperty): enable this, return elementProperty.
svn path=/trunk/mcs/; revision=53466
Chris Toshok [Thu, 24 Nov 2005 23:10:00 +0000 (23:10 -0000)]
2005-11-24 Chris Toshok <toshok@ximian.com>
* ConfigurationElement.cs (ElementProperty): make this protected
internal virtual instead of public.
(SetPropertyValue): add a validator call and a blurb about the
code based on information gleaned from tests.
(set_Item (string)): call SetPropertyValue in the setter.
svn path=/trunk/mcs/; revision=53465
Dick Porter [Thu, 24 Nov 2005 19:59:49 +0000 (19:59 -0000)]
2005-11-24 Dick Porter <dick@ximian.com>
* configure.in: Test for GetProcessId() on windows
2005-11-24 Dick Porter <dick@ximian.com>
* process.c
(ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal):
Use GetProcessId() if it's available.
2005-11-24 Dick Porter <dick@ximian.com>
* processes.c (GetProcessId): Implement GetProcessId()
svn path=/trunk/mono/; revision=53461
Jackson Harper [Thu, 24 Nov 2005 19:48:50 +0000 (19:48 -0000)]
- Resize the maximized windows when the client is resized
svn path=/trunk/mcs/; revision=53460
Jackson Harper [Thu, 24 Nov 2005 19:44:47 +0000 (19:44 -0000)]
* MdiClient.cs: Size the scrollbars when resizing the window.
svn path=/trunk/mcs/; revision=53459
Sebastien Pouliot [Thu, 24 Nov 2005 14:02:16 +0000 (14:02 -0000)]
Add CAS/unit tests for (some of) System.Security.Cryptography.X509Certificates classes
svn path=/trunk/mcs/; revision=53456
Sebastien Pouliot [Thu, 24 Nov 2005 14:01:40 +0000 (14:01 -0000)]
2005-11-24 Sebastien Pouliot <sebastien@ximian.com>
* X500DistinguishedNameCas.cs: New. CAS tests (some are disabled).
* X500DistinguishedNameTest.cs: New. Unit tests (some are disabled).
* X509BasicConstraintsExtensionCas.cs: New (2.0). CAS tests.
* X509CertificateCollectionCas.cs: New (2.0). CAS tests.
* X509ChainCas.cs: New (2.0). CAS tests.
* X509ChainPolicyCas.cs: New (2.0). CAS tests.
* X509EnhancedKeyUsageExtensionCas.cs: New (2.0). CAS tests.
* X509ExtensionCas.cs: New (2.0). CAS tests.
* X509KeyUsageExtensionCas.cs: New (2.0). CAS tests.
* X509KeyUsageExtensionTest.cs: Updated test case where MS 2.0 beta
bug was fixed.
* X509StoreCas.cs: New (2.0). CAS tests.
* X509SubjectKeyIdentifierExtensionCas.cs: New (2.0). CAS tests.
svn path=/trunk/mcs/; revision=53455
Sebastien Pouliot [Thu, 24 Nov 2005 14:01:30 +0000 (14:01 -0000)]
2005-11-24 Sebastien Pouliot <sebastien@ximian.com>
* X500DistinguishedName.cs: Added validation (still missing parsing).
* X509Certificate2Enumerator.cs: Add missing IEnumerator.* methods.
svn path=/trunk/mcs/; revision=53454
Vladimir Krasnov [Thu, 24 Nov 2005 13:42:27 +0000 (13:42 -0000)]
* XmlTypeMapping.cs: fixed GetXmlName method, added difference of value serialization of flags and non-flags enums
* XmlSerializerTestClasses.cs: added two enum types, without 0-value
* XmlSerializerTests.cs: added tests for serialization enum's default value
svn path=/trunk/mcs/; revision=53451
Vladimir Krasnov [Thu, 24 Nov 2005 10:47:04 +0000 (10:47 -0000)]
ImageCodec.jvm.cs: fixed ProcessOneCodec, sometime it was failed on parsing version of codec
svn path=/trunk/mcs/; revision=53449
Senganal T [Thu, 24 Nov 2005 09:20:54 +0000 (09:20 -0000)]
2005-11-24 Senganal T <tsenganal@novell.com>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs :
- Modifications to set the desired packetsize info when connecting
to database
* System.Data/System.Data.SqlClient/SqlConnection.cs
- Modifications to get the correct Packet Size
svn path=/trunk/mcs/; revision=53443
Chris Toshok [Thu, 24 Nov 2005 04:56:52 +0000 (04:56 -0000)]
add PropertyHelper.cs and ProfilePropertyNameValidator.cs
svn path=/trunk/mcs/; revision=53430
Chris Toshok [Thu, 24 Nov 2005 04:54:40 +0000 (04:54 -0000)]
2005-11-23 Chris Toshok <toshok@ximian.com>
* ProfilePropertyNameValidator.cs: new implementation.
* ProfilePropertySettings.cs, ProfileGroupSettings.cs,
ClientTargetSection.cs, ClientTargetSection.cs,
BufferModeSettings.cs, HttpModulesSection.cs,
WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
AuthenticationSection.cs, RuleSettings.cs,
FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
WebPartsPersonalizationAuthorization.cs, Compiler.cs,
ExpressionBuilder.cs, OutputCacheProfile.cs,
FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
ExpressionBuilderCollection.cs, ProfileSettings.cs,
SessionStateSection.cs, HealthMonitoringSection.cs,
FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
SessionPageStateSection.cs, TrustSection.cs,
AnonymousIdentificationSection.cs, WebControlsSection.cs,
ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
ProcessModelSection.cs, RoleManagerSection.cs,
MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
validator/converters.
* MachineKeySection.cs (..cctor): fix validators/converters.
(Validation): enable the Converter.
* CodeSubDirectory.cs (..cctor): fix validator/converters.
(DirectoryName): add note about missing validator decoration.
* HttpModuleAction.cs (..cctor): init properties.
(Properties): return properties.
* CompilationSection.cs (..cctor): fix validator/converters.
(GetInstance): add in this pre-2.0 interface for the time being,
hopefully it'll make it easier to migrate later on.
* HttpHandlerActionCollection.cs (..cctor): init properties.
(Properties): return properties.
* PagesSection.cs (..cctor): fix validator/converters.
(GetInstance): add in this pre-2.0 interface for the time being,
hopefully it'll make it easier to migrate later on.
* HttpHandlersSection.cs (..cctor): init properties.
(Properties): return properties.
* EventMappingSettings.cs (..cctor): fix validator/converters.
(Name): add note about missing validator decoration.
* HttpHandlerAction.cs (..cctor): fix validator/converters.
(PAth, Type, Verb): add note about missing validator decoration.
* NamespaceCollection.cs (..cctor): fix properties.
* ProfilePropertySettingsCollection.cs (..cctor): init properties.
(..ctor): don't throw NIE.
(Properties): return properties.
* HttpModuleActionCollection.cs (..cctor): init properties.
(Properties): return properties.
* CacheSection.cs (..cctor): fix validators/converters.
(PrivateBytesPollTime): add note about missing validator
decoration.
* AuthorizationRule.cs (..cctor): fix validators/converters.
(Roles, Users, Verbs): enable the TypeConverter decorations.
* UrlMapping.cs (ValidateUrl): static method for use as a
validation callback. unimplemented as yet.
(..cctor): fix validators/converters.
(MappedUrl): add note about missing validator decoration.
* PropertyHelper.cs: static utility class which contains
references to validators and converters for use in static
constructors (building the Properties arrays).
svn path=/trunk/mcs/; revision=53429
Chris Toshok [Thu, 24 Nov 2005 04:53:26 +0000 (04:53 -0000)]
2005-11-23 Chris Toshok <toshok@ximian.com>
* ProfilePropertyNameValidator.cs: new implementation.
* ProfilePropertySettings.cs, ProfileGroupSettings.cs,
ClientTargetSection.cs, ClientTargetSection.cs,
BufferModeSettings.cs, HttpModulesSection.cs,
WebPartsPersonalization.cs, TransformerInfo.cs, TrustLevel.cs,
NamespaceInfo.cs, SqlCacheDependencyDatabase.cs,
AuthenticationSection.cs, RuleSettings.cs,
FormsAuthenticationUser.cs, WebPartsSection.cs, BuildProvider.cs,
WebPartsPersonalizationAuthorization.cs, Compiler.cs,
ExpressionBuilder.cs, OutputCacheProfile.cs,
FormsAuthenticationCredentials.cs, XhtmlConformanceSection.cs,
OutputCacheSettingsSection.cs, CustomError.cs, TraceSection.cs,
ExpressionBuilderCollection.cs, ProfileSettings.cs,
SessionStateSection.cs, HealthMonitoringSection.cs,
FormsAuthenticationConfiguration.cs, HttpRuntimeSection.cs,
SessionPageStateSection.cs, TrustSection.cs,
AnonymousIdentificationSection.cs, WebControlsSection.cs,
ClientTarget.cs, TagMapInfo.cs, AuthorizationSection.cs,
ProcessModelSection.cs, RoleManagerSection.cs,
MembershipSection.cs, CustomErrorsSection.cs (..cctor): fix
validator/converters.
* MachineKeySection.cs (..cctor): fix validators/converters.
(Validation): enable the Converter.
* CodeSubDirectory.cs (..cctor): fix validator/converters.
(DirectoryName): add note about missing validator decoration.
* HttpModuleAction.cs (..cctor): init properties.
(Properties): return properties.
* CompilationSection.cs (..cctor): fix validator/converters.
(GetInstance): add in this pre-2.0 interface for the time being,
hopefully it'll make it easier to migrate later on.
* HttpHandlerActionCollection.cs (..cctor): init properties.
(Properties): return properties.
* PagesSection.cs (..cctor): fix validator/converters.
(GetInstance): add in this pre-2.0 interface for the time being,
hopefully it'll make it easier to migrate later on.
* HttpHandlersSection.cs (..cctor): init properties.
(Properties): return properties.
* EventMappingSettings.cs (..cctor): fix validator/converters.
(Name): add note about missing validator decoration.
* HttpHandlerAction.cs (..cctor): fix validator/converters.
(PAth, Type, Verb): add note about missing validator decoration.
* NamespaceCollection.cs (..cctor): fix properties.
* ProfilePropertySettingsCollection.cs (..cctor): init properties.
(..ctor): don't throw NIE.
(Properties): return properties.
* HttpModuleActionCollection.cs (..cctor): init properties.
(Properties): return properties.
* CacheSection.cs (..cctor): fix validators/converters.
(PrivateBytesPollTime): add note about missing validator
decoration.
* AuthorizationRule.cs (..cctor): fix validators/converters.
(Roles, Users, Verbs): enable the TypeConverter decorations.
* UrlMapping.cs (ValidateUrl): static method for use as a
validation callback. unimplemented as yet.
(..cctor): fix validators/converters.
(MappedUrl): add note about missing validator decoration.
* PropertyHelper.cs: static utility class which contains
references to validators and converters for use in static
constructors (building the Properties arrays).
svn path=/trunk/mcs/; revision=53428
Chris Toshok [Thu, 24 Nov 2005 03:07:20 +0000 (03:07 -0000)]
2005-11-23 Chris Toshok <toshok@ximian.com>
* MachineKeyValidationConverterTest.cs: new test.
svn path=/trunk/mcs/; revision=53426
Chris Toshok [Thu, 24 Nov 2005 03:07:02 +0000 (03:07 -0000)]
2005-11-23 Chris Toshok <toshok@ximian.com>
* MachineKeyValidationConverter.cs: new converter (and a pretty
silly one, considering all it seems to do is convert "TripleDES"
to "3DES").
* HostingEnvironmentSection.cs (.cctor): use
PositiveTimeSpanValidator like MS does.
svn path=/trunk/mcs/; revision=53425
Zoltan Varga [Wed, 23 Nov 2005 21:51:54 +0000 (21:51 -0000)]
2005-11-23 Zoltan Varga <vargaz@gmail.com>
* icall.c threads-types.h threads.c: Add Exchange<T> icall.
svn path=/trunk/mono/; revision=53418
Jackson Harper [Wed, 23 Nov 2005 21:48:58 +0000 (21:48 -0000)]
* MdiChildContext.cs: Don't size windows if they are
maximized.
svn path=/trunk/mcs/; revision=53417
Zoltan Varga [Wed, 23 Nov 2005 21:32:48 +0000 (21:32 -0000)]
2005-11-23 Zoltan Varga <vargaz@gmail.com>
* Interlocked.cs: Add T:class constraint to the generic
CompareExchange and Exchange methods.
svn path=/trunk/mcs/; revision=53409
Mike Kestner [Wed, 23 Nov 2005 19:25:43 +0000 (19:25 -0000)]
2005-11-23 Mike Kestner <mkestner@novell.com>
* ContextMenu.cs: use MenuTracker.
* Control.cs: remove menu handle usage.
* Form.cs: remove menu handle usage.
* Hwnd.cs: remove menu handle usage.
* MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
motion and clicks to the new Tracker handlers.
* Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
and handle usage.
* MenuAPI.cs: refactored to combine popup and menubar event handling.
Killed the MENU and MENUITEM data types and associated collections
since we now keep the info on Menu and MenuItem. Expanded TRACKER into
MenuTracker class that exposes the leftovers from the old MenuAPI
static methods. Restructured Capture handling so that only one grab is
done for the entire menu hierarchy instead of handing off grabs to
submenus. Tracker now has an invisible control to Capture when active.
* MenuItem.cs: add sizing accessors, kill Create
and handle usage.
* Theme.cs: remove menu handle and MENU(ITEM) usage.
* ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
MENU(ITEM). remove menu handle usage, use Menu directly.
* XplatUIDriver.cs: remove menu handle usage.
* XplatUIOSX.cs: remove menu handle usage.
* XplatUIWin32.cs: remove menu handle usage.
* XplatUIX11.cs: remove menu handle usage.
[Fixes #76621 and #76648]
svn path=/trunk/mcs/; revision=53403
Sebastien Pouliot [Wed, 23 Nov 2005 18:41:06 +0000 (18:41 -0000)]
2005-11-23 Sebastien Pouliot <sebastien@ximian.com>
* TlsServerCertificate.cs: Add support for Netscape Server Gated
Crypto (2.16.840.1.113730.4) as a valid server-side EKU OID. Fix bug
#76804.
svn path=/trunk/mcs/; revision=53402
Martin Baulig [Wed, 23 Nov 2005 18:20:28 +0000 (18:20 -0000)]
2005-11-23 Martin Baulig <martin@ximian.com>
* generic.cs (Constraints.Define): Removed.
(TypeParameter.DefineConstraints): Removed.
(TypeParameter.DefineType): Call SetGenericParameterAttributes()
on the GenericTypeParameterBuilder here.
svn path=/trunk/mcs/; revision=53400
Vladimir Krasnov [Wed, 23 Nov 2005 17:32:01 +0000 (17:32 -0000)]
* Iterator.cs: fixed UnionIterator.SetCurrent method, the navigators may be from different xml files.
svn path=/trunk/mcs/; revision=53399
Vladimir Krasnov [Wed, 23 Nov 2005 17:25:05 +0000 (17:25 -0000)]
* Iterator.cs: fixed SimpleSlashIterator.MoveNextCore method, the navigators may be from different xml files.
svn path=/trunk/mcs/; revision=53398
Vladimir Krasnov [Wed, 23 Nov 2005 16:56:16 +0000 (16:56 -0000)]
* XslKey.cs: fixed KeyIndexTable.Evaluate method, changed XPathNavigator given to GetNodesByValue()
* ignore.lst: adeed Keys__91835, idkey_idkey18, idkey_idkey50 because failed in .NET
svn path=/trunk/mcs/; revision=53397
Martin Baulig [Wed, 23 Nov 2005 15:44:12 +0000 (15:44 -0000)]
2005-11-23 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.GetProperty): Make this public.
* generic.cs (Nullable.NullableInfo.ctor): Use
TypeManager.GetProperty() rather than using reflection directly.
svn path=/trunk/mcs/; revision=53396
Senganal T [Wed, 23 Nov 2005 14:15:11 +0000 (14:15 -0000)]
2005-11-23 Senganal T <tsenganal@novell.com>
* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsComm.cs :
- ResizeOutBuf : Modified to shrink the output buffer if
the block size is reduced. Fixed bug #76778
* System.Data/Test/ProviderTests/System.Data.SqlClient/SqlCommandTest.cs :
- Added testcases for bug #76778
svn path=/trunk/mcs/; revision=53395
Konstantin Triger [Wed, 23 Nov 2005 12:53:57 +0000 (12:53 -0000)]
do not import empty namespaces.
svn path=/trunk/mcs/; revision=53393
Sebastien Pouliot [Wed, 23 Nov 2005 12:40:58 +0000 (12:40 -0000)]
2005-11-23 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Virtualized some methods (like Dispose). Fix
bug #76801.
svn path=/trunk/mcs/; revision=53391
Sebastien Pouliot [Wed, 23 Nov 2005 12:40:13 +0000 (12:40 -0000)]
2005-11-23 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Synched with corlib version (IV behaviour for
NET_2_0). Virtualized some methods (like Dispose). Fix bug #76801.
svn path=/trunk/mcs/; revision=53390
Raja R Harinath [Wed, 23 Nov 2005 11:01:56 +0000 (11:01 -0000)]
2005-11-23 Raja R Harinath <rharinath@novell.com>
Ankit Jain <jankit@novell.com>
* loader.c (mono_get_method_from_token): Initialize 'method' field
of all generic parameters before parsing the signature. Remove
code that "fixed"-up MVAR references.
svn path=/trunk/mono/; revision=53388
Ankit Jain [Wed, 23 Nov 2005 10:46:19 +0000 (10:46 -0000)]
* test-33.il:
* test-34.il: New. Tests for custom attributes on type parameters.
svn path=/trunk/mcs/; revision=53386
Ankit Jain [Wed, 23 Nov 2005 10:29:25 +0000 (10:29 -0000)]
* get.c (get_methodspec): Use mono_get_method_full so as to handle
methodspecs that refer to generic methods in other assemblies.
svn path=/trunk/mono/; revision=53385
Ankit Jain [Wed, 23 Nov 2005 09:52:33 +0000 (09:52 -0000)]
mono/dis:
* dump.c (has_cattr_get_table): Handle GenericParam.
* get.c (dis_get_custom_attrs): Likewise.
* main.c (dump_cattrs_for_type_params): New. Dump custom attributes
for type parameters.
(dis_method_list): Call dump_cattrs_for_type_params.
(dis_type): Likewise.
mono/dis/tests:
* gen-cattr.cs: New test case for custom attributes on
type parameters.
svn path=/trunk/mono/; revision=53383
Ankit Jain [Wed, 23 Nov 2005 09:50:20 +0000 (09:50 -0000)]
* metadata.c (mono_metadata_has_generic_params):
(mono_metadata_load_generic_param_constraints):
(mono_metadata_load_generic_params): Move duplicate code ...
(mono_metadata_get_generic_param_row): ... here. Returns the
first row-id in GenericParam table for a given owner (token).
* metadata-internals.h (mono_metadata_get_generic_param_row): Add
prototype.
svn path=/trunk/mono/; revision=53382
Raja R Harinath [Wed, 23 Nov 2005 08:19:59 +0000 (08:19 -0000)]
2005-11-23 Raja R Harinath <rharinath@novell.com>
Ankit Jain <jankit@novell.com>
* metadata.c (mono_metadata_class_equal): Pass signature_only when
comparing VARs too.
* icall.c (ves_icall_MonoType_get_DeclaringMethod): Look at
type->data.generic_param only if the type is an MVAR.
(ves_icall_MonoMethod_GetGenericArguments): Ensure that we don't
leak owner-less VARs and MVARs into managed space.
svn path=/trunk/mono/; revision=53381
Miguel de Icaza [Wed, 23 Nov 2005 04:16:38 +0000 (04:16 -0000)]
Bling fix to #76607
svn path=/trunk/mcs/; revision=53378
Jackson Harper [Wed, 23 Nov 2005 02:18:46 +0000 (02:18 -0000)]
* Hwnd.cs: Don't compute the menu size for
DefaultClientRectangle.
- Reenable menu sizes being computed for GetClienRectangle.
* Form.cs: Remove comment of trechery
svn path=/trunk/mcs/; revision=53377
Gonzalo Paniagua Javier [Wed, 23 Nov 2005 00:31:37 +0000 (00:31 -0000)]
2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* SimpleWebHandlerParser.cs: removed 'codebehind' related stuff.
svn path=/trunk/mcs/; revision=53376
Gonzalo Paniagua Javier [Wed, 23 Nov 2005 00:30:55 +0000 (00:30 -0000)]
2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* WebServiceCompiler.cs: fixed caching for web handlers.
svn path=/trunk/mcs/; revision=53375
Gonzalo Paniagua Javier [Tue, 22 Nov 2005 23:53:10 +0000 (23:53 -0000)]
2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IPAddress.cs: the byte[] ctor supports length 4 in .NET 2.0.
Fixes bug #76792.
svn path=/trunk/mcs/; revision=53374
Gonzalo Paniagua Javier [Tue, 22 Nov 2005 23:51:50 +0000 (23:51 -0000)]
2005-11-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IPAddressTest.cs: more tests for the byte[] ctor.
svn path=/trunk/mcs/; revision=53373
Jackson Harper [Tue, 22 Nov 2005 21:55:17 +0000 (21:55 -0000)]
* Hwnd.cs: The adjustments for the menu bar are made when it is
attached to the form.
svn path=/trunk/mcs/; revision=53366
Vladislav Spivak [Tue, 22 Nov 2005 21:32:24 +0000 (21:32 -0000)]
* Missed dependency.
<profile>.sources file is supporting #include directive
Usually it includes common .sources file.
Let's make it dependency of <profile>.sources
svn path=/trunk/mcs/; revision=53365
César Natarén [Tue, 22 Nov 2005 19:50:49 +0000 (19:50 -0000)]
2005-11-22 Cesar Lopez Nataren <cnataren@novell.com>
* Statement.cs (Return.Resolve): Added field exp_returns_void
which allow us to return a method call as the return expression
value even when the method call returns void; we emit null in such
a case.
* ast.cs (Function): switch from 'protected' to 'internal'
property HandleReturnType.
svn path=/trunk/mcs/; revision=53364
Alexandre Rocha Lima e Marcondes [Tue, 22 Nov 2005 19:13:28 +0000 (19:13 -0000)]
2005-11-20 Jelmer Vernooij <jelmer@samba.org>
* genericparser.cs,decl.cs,class.cs: allow members with the same
name as their enclosing type, just like vbc does
svn path=/trunk/mcs/; revision=53361
Sebastien Pouliot [Tue, 22 Nov 2005 19:12:03 +0000 (19:12 -0000)]
Add CAS/unit tests for System.Security.Cryptography.X509Certificates.PublicKey class
svn path=/trunk/mcs/; revision=53360
Sebastien Pouliot [Tue, 22 Nov 2005 19:11:30 +0000 (19:11 -0000)]
2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
* PublicKeyCas.cs: New (2.0). CAS tests.
* PublicKeyTest.cs: New (2.0). Unit tests.
svn path=/trunk/mcs/; revision=53359
Sebastien Pouliot [Tue, 22 Nov 2005 19:10:05 +0000 (19:10 -0000)]
2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
* PublicKey.cs: Completed implementation for both RSA and DSA public
keys.
svn path=/trunk/mcs/; revision=53358
Sebastien Pouliot [Tue, 22 Nov 2005 19:07:00 +0000 (19:07 -0000)]
2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
* DSATest.cs: Added test case where J isn't imported. In this case we
don't export (our internally calculated) J and it's also not part of
the XML output.
svn path=/trunk/mcs/; revision=53357
Sebastien Pouliot [Tue, 22 Nov 2005 19:05:17 +0000 (19:05 -0000)]
2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
* DSAManaged.cs: Don't output J in the XML if it's not exported (i.e.
if it wasn't imported too but instead calculated from the other
parameters ;-).
svn path=/trunk/mcs/; revision=53356
Sebastien Pouliot [Tue, 22 Nov 2005 19:03:58 +0000 (19:03 -0000)]
2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
* DSAManaged.cs: Don't export J if it wasn't imported (i.e. it was
calculated from the other parameters).
svn path=/trunk/mcs/; revision=53355
Sebastien Pouliot [Tue, 22 Nov 2005 18:43:09 +0000 (18:43 -0000)]
2005-11-22 Sebastien Pouliot <sebastien@ximian.com>
* AsnEncodedData.cs: Create a new Oid instance _only_ if the supplied
Oid isn't null.
svn path=/trunk/mcs/; revision=53353
Massimiliano Mantione [Tue, 22 Nov 2005 18:38:42 +0000 (18:38 -0000)]
2005-11-22 Massimiliano Mantione <massi@ximian.com>
* aliasing.c: Fixed aliasing issue on 64 bit archs.
svn path=/trunk/mono/; revision=53352