mono.git
18 years ago2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Nov 2005 20:48:50 +0000 (20:48 -0000)]
2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS12.cs: Added tests for MaximumPasswordLength property wrt to the
CryptoAPI limits on the password length (32 characters) when importing
and exporting PKCS #12 files.

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

18 years ago2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Nov 2005 20:45:56 +0000 (20:45 -0000)]
2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS12.cs: Added MaximumPasswordLength property to allow decoding
the password with a length limits like MS PFXImportCertStore does.
In this case you just have to assign the value CryptoApiPasswordLimit
to the new static property.

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

18 years agooops forgot to save the ChangeLog before committing...
Sebastien Pouliot [Fri, 4 Nov 2005 18:46:14 +0000 (18:46 -0000)]
oops forgot to save the ChangeLog before committing...

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

18 years agookay, add the System.Web.Profile stuff back to the build (hopefully it won't break...
Chris Toshok [Fri, 4 Nov 2005 18:17:13 +0000 (18:17 -0000)]
okay, add the System.Web.Profile stuff back to the build (hopefully it won't break it this time).

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

18 years ago2005-11-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 4 Nov 2005 18:07:41 +0000 (18:07 -0000)]
2005-11-04  Chris Toshok  <toshok@ximian.com>

* System.Web.dll.sources: add the S.W.C_2.0/HttpModule*.cs files,
and nuke S.W.C_2.0/InternalSection.cs.

* System.Web.Configuration_2.0/SystemWebSectionGroup.cs: enable
the HttpModules property.

* System.Web.Configuration_2.0/HttpHandlerActionCollection.cs:
reindent, and add MonoTODO's.

* System.Web.Configuration_2.0/HttpHandlerAction.cs: use
properties in the ctor, and remove the instance variables.

* System.Web.Configuration_2.0/InternalSection.cs: nuke.

* System.Web.Configuration_2.0/HttpModuleActionCollection.cs: new
stubs.

* System.Web.Configuration_2.0/HttpModuleAction.cs: new stubs.

* System.Web.Configuration_2.0/HttpModulesSection.cs: new stubs.

* System.Web.Configuration_2.0/CompilationSection.cs: inherit from
ConfigurationSection, not InternalSection.

* System.Web.Configuration_2.0/SiteMapSection.cs: same.

* System.Web.Configuration_2.0/PagesSection.cs: same.

* System.Web.Configuration_2.0/MembershipSection.cs: same.

* System.Web.Configuration_2.0/AnonymousIdentificationSection.cs:
same.

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

18 years ago2005-11-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 4 Nov 2005 17:25:17 +0000 (17:25 -0000)]
2005-11-04  Chris Toshok  <toshok@ximian.com>

* SettingsProvider.cs, SettingsPropertyValueCollection.cs,
SettingValueElement.cs, SettingElement.cs,
SettingsPropertyValue.cs, ApplicationSettingsBase.cs,
SettingsPropertyCollection.cs, SettingsProviderCollection.cs,
SettingElementCollection.cs: Add XML_DEPS and CONFIGURATION_DEPS
to get this to bootstrap compile.  What a pain.

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

18 years ago2005-11-04 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 4 Nov 2005 17:12:24 +0000 (17:12 -0000)]
2005-11-04  Chris Toshok  <toshok@ximian.com>

* ApplicationSettingsBase.cs: remove unnecessary using.

* SettingValueElement.cs: add XML_DEP's.

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

18 years agoActivate CAS unit tests for System.CodeDom.Compiler.CodeCompiler
Sebastien Pouliot [Fri, 4 Nov 2005 16:28:11 +0000 (16:28 -0000)]
Activate CAS unit tests for System.CodeDom.Compiler.CodeCompiler

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

18 years agosvn path=/trunk/mcs/; revision=52583
Sebastien Pouliot [Fri, 4 Nov 2005 16:27:15 +0000 (16:27 -0000)]
svn path=/trunk/mcs/; revision=52583

18 years agoDocument the optional 'size' arguments for -k (generate keypair) that was introduced...
Sebastien Pouliot [Fri, 4 Nov 2005 16:23:05 +0000 (16:23 -0000)]
Document the optional 'size' arguments for -k (generate keypair) that was introduced in 2.0

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

18 years ago2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Nov 2005 16:16:05 +0000 (16:16 -0000)]
2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>

* sn.cs: Added optional keysize argument to -k (generate keypair).
This is required as 2.0 allows key length from 384 to 16384 bits (i.e.
which are the CryptoAPI limitations on RSA).

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

18 years ago2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 4 Nov 2005 16:15:43 +0000 (16:15 -0000)]
2005-11-04  Sebastien Pouliot  <sebastien@ximian.com>

* StrongName.cs: Added new constructor to specify the strongname key
size (which can vary from 384 bits to 16384 bits in 2.0). Fixed
PublicKey property not to assume a 1024 bits public key. Verification
was *already* working for any key length (so *much* older version of
Mono can verify new assemblies signatures without problem :-).

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

18 years ago* System_test.dll.sources: Added CodeCastExpressionTest.cs,
Gert Driesen [Fri, 4 Nov 2005 16:09:59 +0000 (16:09 -0000)]
* System_test.dll.sources: Added CodeCastExpressionTest.cs,
CodeCatchClauseTest.cs, CodeChecksumPragmaTest.cs,
CodeConstructorTest.cs, CodeDefaultValueExpressionTest.cs;
CodeDelegateCreateExpressionTest.cs, CodeEventReferenceExpressionTest.cs
CodeGotoStatementTest.cs, CodeLabeledStatementTest.cs,
CodeLinePragmaTest.cs, CodeMemberMethodTest.cs,
CodeMethodInvokeExpressionTest.cs, CodeMethodReferenceExpressionTest.cs,
CodeNamespaceImportTest.cs, CodeNamespaceTest.cs,
CodeObjectCreateExpressionTest.cs,
CodeParameterDeclarationExpressionTest.cs,
CodePropertyReferenceExpressionTest.cs, CodeRegionDirectiveTest.cs,
CodeSnippetCompileUnitTest.cs, CodeSnippetExpressionTest.cs,
CodeSnippetStatementTest.cs, CodeSnippetTypeMemberTest.cs,
CodeStatementCollectionTest.cs, CodeTypeConstructorTest.cs,
CodeTypeParameterTest.cs, CodeTypeOfExpressionTest.cs,
CodeTypeReferenceExpressionTest.cs,
CodeVariableDeclarationStatementTest.cs,
CodeVariableReferenceExpressionTest.cs
* CSharpCodeGenerator.cs: Ignore ChecksumData of CodeChecksumPragma
if null.
* CodeTypeReferenceExpressionTest.cs: Added tests.
* CodeVariableDeclarationStatementTest.cs: Added tests.
* CodePropertyReferenceExpressionTest.cs: Added tests.
* CodeNamespaceImportTest.cs: Added tests.
* CodeTypeConstructorTest.cs: Added tests.
* CodeSnippetExpressionTest.cs: Added tests.
* CodeParameterDeclarationExpressionTest.cs: Added tests.
* CodeObjectCreateExpressionTest.cs: Added tests.
* CodeTypeDelegateTest.cs: Set eol-style to native.
* CodeLabeledStatementTest.cs: Added tests.
* CodeConstructorTest.cs: Added tests.
* CodeTypeOfExpressionTest.cs: Added tests.
* CodeGotoStatementTest.cs: Added tests.
* CodeCastExpressionTest.cs: Added tests.
* CodeMemberFieldTest.cs: Set eol-style to native.
* CodeMethodInvokeExpressionTest.cs: Added tests.
* CodeEventReferenceExpressionTest.cs: Added tests.
* CodeChecksumPragmaTest.cs: Added tests.
* CodeSnippetCompileUnitTest.cs: Added tests.
* CodeNamespaceTest.cs: Added tests.
* CodeSnippetStatementTest.cs: Added tests.
* CodeMemberMethodTest.cs: Added tests.
* CodeMemberPropertyTest.cs: Set eol-style to native.
* CodeCatchClauseTest.cs: Added tests.
* CodeStatementCollectionTest.cs: Added tests.
* CodeRegionDirectiveTest.cs: Added tests.
* CodeTypeParameterTest.cs: Added tests.
* CodeVariableReferenceExpressionTest.cs: Added tests.
* CodeDefaultValueExpressionTest.cs: Added tests.
* CodeSnippetTypeMemberTest.cs: Added tests.
* CodeDelegateCreateExpressionTest.cs: Added tests.
* CodeLinePragmaTest.cs: Added tests.
* CodeMethodReferenceExpressionTest.cs: Added tests.
* CodeEventReferenceExpression.cs: EventName now returns zero-length
string if underlying value is null.
* CodeParameterDeclarationExpressionCollection.cs: Fixed AddRange to
add each item to collection using Add method to ensure validation
is performed.
* CodeChecksumPragma.cs: FileName now returns zero-length string
if underlying value is null.
* CodeSnippetCompileUnit.cs: Value now returns zero-length string if
underlying value is null.
* CodeNamespace.cs: Name now returns zero-length string if underlying
value is null.
* CodeSnippetStatement.cs: Value now returns zero-length string if
underlying value is null.
* CodeMemberMethod.cs: code formatting change.
* CodeCatchClause.cs: CatchExceptionType now returns CodeTypeReference
instance for System.Exception if underlying value is null. LocalName
now returns zero-length string if underlying value is null.
* CodeStatementCollection.cs: Fixed AddRange to add each item to
collection using Add method to ensure validation is performed. Code
formatting changes.
* CodeRegionDirective.cs: RegionText now returns zero-length string
if underlying value is null.
* CodeTypeParameter.cs: Name now returns zero-length string if
underlying value is null.
* CodeVariableReferenceExpression.cs: VariableName now returns
zero-length string if underlying value is null.
* CodeDefaultValueExpression.cs: Type now returns CodeTypeReference
for void if underlying value is null.
* CodeExpressionCollection.cs: Fixed AddRange to add each item to
collection using Add method to ensure validation is performed.
* CodeSnippetTypeMember.cs: Text now returns zero-length string if
underlying value is null.
* CodeTypeReferenceCollection.cs: Fixed AddRange to add each item
to collection using Add method to ensure validation is performed.
* CodeDelegateCreateExpression.cs: DelegateType now returns
CodeTypeReference for void if underlying value is null. MethodName
now returns zero-length string if underlying value is null.
* CodeMethodReferenceExpression.cs: MethodName now returns
zero-length string if underlying value is null.
* CodeLinePragma.cs: FileName now returns zero-length string if
underlying value is null.
* CodeTypeReferenceExpression.cs: Type now return CodeTypeReference
for void if underlying value is null.
* CodeVariableDeclarationStatement.cs: Name now return zero-length
string if underlying value is null. Type returns CodeTypeReference
for void if underlying value is null.
* CodePropertyReferenceExpression.cs: PropertyName now returns
zero-length string if underlying value is null.
* CodeNamespaceImport.cs: Namespace now returns zero-length string
if underlying value is null.
* CodeTypeConstructor.cs: Name is fixed to ".cctor" to match MS.NET.
* CodeSnippetExpression.cs: Value now returns zero-length string if
underlying value is null.
* CodeParameterDeclarationExpression.cs: Name now returns zero-length
string if underlying value is null. Type now returns CodeTypeReference
for void if underlying value is null.
* CodeObjectCreateExpression.cs: CreateType now returns
CodeTypeReference for void if underlying value is null.
* CodeLabeledStatement.cs: Label returns zero-length string if
underlying value is null.
* CodeConstructor.cs: Name is fixed to ".ctor" to match MS.NET.
* CodeTypeOfExpression.cs: Type returns CodeTypeReference for void
if underlying value is null.
* CodeGotoStatement.cs: Only throw ArgumentNullException for null or
zero-length label on 2.0 profile.
* CodeCastExpression.cs: TargetType returns CodeTypeReference for void
if underlying value is null.
* CodeMethodInvokeExpression.cs: Method returns a default
CodeMethodReferenceExpression instance if the underlying value is
null.

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

18 years agonew test case
Marek Safar [Fri, 4 Nov 2005 15:19:18 +0000 (15:19 -0000)]
new test case

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

18 years ago2005-11-04 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 4 Nov 2005 15:06:29 +0000 (15:06 -0000)]
2005-11-04  Marek Safar  <marek.safar@seznam.cz>

    * statement.cs (Block.variables): Uses ListDictionary.

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

18 years ago2005-11-04 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 4 Nov 2005 14:14:45 +0000 (14:14 -0000)]
2005-11-04  Dick Porter  <dick@ximian.com>

        * sockets.c (ioctlsocket): Use select instead of if to avoid a
        type promotion problem on 64bit freebsd.  Based on patch by Lou
        Kamenov <kamenovl@gmail.com>, fixes bug 76447.

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

18 years ago2005-11-04 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 4 Nov 2005 14:07:57 +0000 (14:07 -0000)]
2005-11-04  Dick Porter  <dick@ximian.com>

        * io.c (file_write): Only do the file locking if
        MONO_STRICT_IO_EMULATION is set.

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

18 years agoFri Nov 4 12:34:15 GMT 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 4 Nov 2005 11:49:51 +0000 (11:49 -0000)]
Fri Nov 4 12:34:15 GMT 2005 Paolo Molaro <lupus@ximian.com>

* mini-arm.c: fixed compatibility with the new
floating point emulator package for compares.

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

18 years ago2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Fri, 4 Nov 2005 11:21:06 +0000 (11:21 -0000)]
2005-11-04  Jordi Mas i Hernandez <jordimash@gmail.com>

* ListView.cs:
  - Implements key search for items. Useful when browsing files with FileDialog
  - When changing view mode or when clear the items reset scrollbar positions

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

18 years ago * CurrencyManager.cs: Implement the MetaDataChanged event, the
Jackson Harper [Fri, 4 Nov 2005 08:54:27 +0000 (08:54 -0000)]
* CurrencyManager.cs: Implement the MetaDataChanged event, the
Reset method, and the CheckEmpty. CheckEmpty is just a total guess
as to what the method may do as there is no real way of creating a
derived CurrencyManager and calling the method.

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

18 years ago2005-11-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Nov 2005 08:36:27 +0000 (08:36 -0000)]
2005-11-04  Atsushi Enomoto  <atsushi@ximian.com>

* XmlElementAttribute.cs : gimme Order; it fixes 100 or more
  sys.xml.schema corcompare diffs.

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

18 years ago * CurrencyManager.cs: Implement the MetaDataChanged event.
Jackson Harper [Fri, 4 Nov 2005 08:20:45 +0000 (08:20 -0000)]
* CurrencyManager.cs: Implement the MetaDataChanged event.

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

18 years ago2005-11-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Nov 2005 07:17:10 +0000 (07:17 -0000)]
2005-11-04  Atsushi Enomoto  <atsushi@ximian.com>

* mono-api-info.cs : filter property ReservedMask out; they show
  useless diffs.

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

18 years agoadd lots of stubbed out System.Configuration classes
Chris Toshok [Fri, 4 Nov 2005 05:09:52 +0000 (05:09 -0000)]
add lots of stubbed out System.Configuration classes

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

18 years ago2005-11-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 4 Nov 2005 05:07:44 +0000 (05:07 -0000)]
2005-11-03  Chris Toshok  <toshok@ximian.com>

* ConfigurationSettings.cs: add ObsoleteAttribute's.

* ConfigurationException.cs: add ObsoleteAttribute's.

* IConfigurationSystem.cs: add ComVisibleAttribute.

* ApplicationSettingsBase.cs: new stubs, with a broken/naive
implementation.

* SettingElementCollection.cs, IPersistComponentSettings.cs,
SettingElement.cs, LocalFileSettingsProvider.cs,
SettingValueElement.cs: new stubs.

* SettingAttribute.cs: fix typo.

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

18 years ago * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
Jackson Harper [Fri, 4 Nov 2005 03:39:12 +0000 (03:39 -0000)]
* ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
* TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
method which seems to just be used internally to refresh the
* tabs.

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

18 years ago * TabControl.cs: Implement the remove method. Fix some broken
Jackson Harper [Fri, 4 Nov 2005 02:26:16 +0000 (02:26 -0000)]
* TabControl.cs: Implement the remove method. Fix some broken
comments.

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

18 years ago2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 4 Nov 2005 00:51:46 +0000 (00:51 -0000)]
2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>

* DateTimePicker.cs:
  - Added missing DateTimePickerAccessibleObject class
  - Added missing events
  - Added OnFontChanged method
* Form.cs: Added missing attributes
* TreeView.cs: Added missing attributes

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

18 years ago2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 4 Nov 2005 00:23:46 +0000 (00:23 -0000)]
2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>

* GridItemCollection.cs: Fix signatures

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

18 years agoback out the Profile changes for the time being.
Chris Toshok [Thu, 3 Nov 2005 23:58:08 +0000 (23:58 -0000)]
back out the Profile changes for the time being.

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

18 years ago2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 3 Nov 2005 23:52:07 +0000 (23:52 -0000)]
2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUI.cs: Updated build rev/date
* ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
* Application.cs: Trigger context-specific ExitThread events

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

18 years ago * Menu.cs:
Jackson Harper [Thu, 3 Nov 2005 23:40:08 +0000 (23:40 -0000)]
* Menu.cs:
* MainMenu.cs:
* GrigTableStylesCollection.cs:
* Timer.cs:
* TabPage.cs:
* HelpProvider.cs:
* StatusBar.cs:
* MonthCalendar.cs: Signature fixes

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

18 years ago * TreeNodeCollection.cs: Remove should not be virtual.
Jackson Harper [Thu, 3 Nov 2005 23:17:52 +0000 (23:17 -0000)]
* TreeNodeCollection.cs: Remove should not be virtual.

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

18 years ago opps debug code.
Jackson Harper [Thu, 3 Nov 2005 23:14:32 +0000 (23:14 -0000)]
opps debug code.

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

18 years agoadd all the stubbed out System.Web.Profile stuff.
Chris Toshok [Thu, 3 Nov 2005 23:10:35 +0000 (23:10 -0000)]
add all the stubbed out System.Web.Profile stuff.

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

18 years ago2005-11-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 3 Nov 2005 23:09:43 +0000 (23:09 -0000)]
2005-11-03  Chris Toshok  <toshok@ximian.com>

* ProfileEventArgs.cs, ProfileProviderCollection.cs,
ProfileAutoSaveEventArgs.cs, ProfileMigrateEventArgs.cs,
ProfileBase.cs, ProfileManager.cs,
SettingsAllowAnonymousAttribute.cs, ProfileProviderAttribute.cs,
ProfileEventHandler.cs, CustomProviderDataAttribute.cs,
DefaultProfile.cs, ProfileModule.cs,
ProfileAutoSaveEventHandler.cs, ProfileGroupBase.cs,
ProfileMigrateEventHandler.cs: 90% unimplemented skeletons.

* ProfileInfoCollection.cs: make serializable.

* ProfileAuthenticationOption.cs: fix ordering of enum elements.

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

18 years ago * TreeView.cs: Implement the last of the missing methods.
Jackson Harper [Thu, 3 Nov 2005 23:04:35 +0000 (23:04 -0000)]
* TreeView.cs: Implement the last of the missing methods.

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

18 years ago2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 3 Nov 2005 22:57:28 +0000 (22:57 -0000)]
2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: no need to allocate the buffer when all the content
is preloaded.

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

18 years ago2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 3 Nov 2005 22:40:00 +0000 (22:40 -0000)]
2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>

* Font.cs:
  - Implemented serialization constructor
  - Implemented GetObjectData()

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

18 years ago * TreeNodeConverter.cs: Implement to get off my class-status
Jackson Harper [Thu, 3 Nov 2005 22:39:36 +0000 (22:39 -0000)]
* TreeNodeConverter.cs: Implement to get off my class-status
          back.

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

18 years ago2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 3 Nov 2005 21:32:14 +0000 (21:32 -0000)]
2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListBox.cs: render the 'onchange' attribute when AutoPostback is
enabled. Fixes bug #76608.

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

18 years ago2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 3 Nov 2005 21:26:49 +0000 (21:26 -0000)]
2005-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CheckBox.cs: AddAttributesToRender was extra in 1.1, so moved all
the logic to Render and make it render the ID, which fixes bug #76596.

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

18 years ago2005-11-03 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 3 Nov 2005 21:02:01 +0000 (21:02 -0000)]
2005-11-03  Chris Toshok  <toshok@ximian.com>

* ProfileInfoCollection.cs: new implementation.

* ProfileProvider.cs: new implementation.

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

18 years agomore test cases
Marek Safar [Thu, 3 Nov 2005 20:12:09 +0000 (20:12 -0000)]
more test cases

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

18 years ago2005-11-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 3 Nov 2005 20:10:51 +0000 (20:10 -0000)]
2005-11-03  Marek Safar  <marek.safar@seznam.cz>

Fix #75969.
* class.cs (PartialContainer.EmitType): Customized to emit
security attributes.
(ClassPart.ApplyAttributeBuilder): Transform security attribute
for partial classes.

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

18 years ago * TreeView.cs: Hookup the bits for drag and drop.
Jackson Harper [Thu, 3 Nov 2005 20:08:05 +0000 (20:08 -0000)]
* TreeView.cs: Hookup the bits for drag and drop.

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

18 years ago * TreeNode.cs: Don't cache the tree_view or index anymore, now
Jackson Harper [Thu, 3 Nov 2005 20:03:37 +0000 (20:03 -0000)]
* TreeNode.cs: Don't cache the tree_view or index anymore, now
that nodes can be moved from tree to tree easily this just causes
all sorts of problems.
* TreeNodeCollection: Don't need to give treenodes an index and
treeview anymore when they are added, these are computed on the
fly. Also make sure to remove a node before its added.

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

18 years agoConsts.cs.in: Added FxFileVersion for use in assemblies instead of RuntimeVersion.
Kornél Pál [Thu, 3 Nov 2005 19:21:08 +0000 (19:21 -0000)]
Consts.cs.in: Added FxFileVersion for use in assemblies instead of RuntimeVersion.

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

18 years agoSmall fixes.
Boris Kirzner [Thu, 3 Nov 2005 16:36:54 +0000 (16:36 -0000)]
Small fixes.

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

18 years agoFix incorrect commit
Miguel de Icaza [Thu, 3 Nov 2005 15:52:19 +0000 (15:52 -0000)]
Fix incorrect commit

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

18 years agoFix incorrect commit
Miguel de Icaza [Thu, 3 Nov 2005 15:51:43 +0000 (15:51 -0000)]
Fix incorrect commit

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

18 years agonew test
Marek Safar [Thu, 3 Nov 2005 15:49:54 +0000 (15:49 -0000)]
new test

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

18 years ago2005-11-03 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 3 Nov 2005 15:48:50 +0000 (15:48 -0000)]
2005-11-03  Marek Safar  <marek.safar@seznam.cz>

Fix #76599.
* expression.cs (ElementAccess.DoResolveLValue): Fixed buffer
access has to be fixed.

* typemanager.cs (IsUnmanagedType): Wrong common field type.

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

18 years agofixed text
Marek Safar [Thu, 3 Nov 2005 15:33:08 +0000 (15:33 -0000)]
fixed text

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

18 years ago * FileTypes.cs, UnixFileSystemInfo.cs: s/FIFO/Fifo/ to follow .NET
Jonathan Pryor [Thu, 3 Nov 2005 12:14:52 +0000 (12:14 -0000)]
* FileTypes.cs, UnixFileSystemInfo.cs: s/FIFO/Fifo/ to follow .NET
  naming conventions (as reported by FxCop).

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

18 years ago2005-11-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 3 Nov 2005 12:14:34 +0000 (12:14 -0000)]
2005-11-03  Atsushi Enomoto  <atsushi@ximian.com>

* marshal.c, icall.c : reverted sig->pinvoke changes which broke
  Windows build (r51396-51397).

* mini.c : reverted sig->pinvoke changes (r51396-51397).

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

18 years agoConsts.cs.in: Added VsFileVersion that is used by assemblies.
Kornél Pál [Thu, 3 Nov 2005 12:09:54 +0000 (12:09 -0000)]
Consts.cs.in: Added VsFileVersion that is used by assemblies.

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

18 years agofixes to work with IBM GSSAPI
Konstantin Triger [Thu, 3 Nov 2005 11:19:37 +0000 (11:19 -0000)]
fixes to work with IBM GSSAPI

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

18 years ago2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 3 Nov 2005 11:13:29 +0000 (11:13 -0000)]
2005-11-03  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs:
  - Added CaretSelection enum
  - Added comparison methods to Marker struct, makes selection code
    more readable
  - Added SelectionStart and SelectionEnd as 'moveable' location for
    the CaretDirection enum and handler
  - Added selection_prev variable to track optimized invalidation for
    word and line selection
  - Added SelectionVisible property (returns true if there is a valid
    selection)
  - Switched CaretHasFocus to only display the caret if there is no
    visible selection
  - Avoiding StringBuilder.ToString to retrieve a single char, instead
    using the direct character index; should be much faster
  - Added various conditional debug statements
  - Fixed invalidation calculation for selection ranges
  - Added ExpandSelection() method to support word and line selection
  - Switched SetSelectionToCaret to use new Marker compare overloads
  - Added central IsWordSeparator() method to determine word
    separators/whitespace and FindWordSeparator() to streamline common
    usage of IsWordSeparator()
* TextBoxBase.cs:
  - Removed unneeded grabbed variable, it was just mirroring
    Control.Capture
  - No longer firing OnTextChanged event when Text setter is called,
    since the base will fire the event for us
  - Added handling of Ctrl-Up/Down selection
  - Added handling of Shift-Cursorkey selection
  - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
    words
  - Added handling of Shift and Ctrl-Shift-Home/End selection
  - Removed some debug output
  - Added handling for single/double/tripple-click to place caret/
    select word/select line respectively (Fixes bug #76031)
  - Added support for drag expansion of word/line selection
* RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  current selection

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

18 years agothrow an exception if failed
Konstantin Triger [Thu, 3 Nov 2005 11:12:30 +0000 (11:12 -0000)]
throw an exception if failed

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

18 years agoifdef the unsupported method
Konstantin Triger [Thu, 3 Nov 2005 11:09:40 +0000 (11:09 -0000)]
ifdef the unsupported method

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

18 years agoNew test for #76581.
Martin Baulig [Thu, 3 Nov 2005 07:35:08 +0000 (07:35 -0000)]
New test for #76581.

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

18 years ago2005-11-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 3 Nov 2005 07:33:25 +0000 (07:33 -0000)]
2005-11-03  Martin Baulig  <martin@ximian.com>

* class.c (mono_class_setup_vtable_general): Also add generic
methods to the vtable; fixes #76581.

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

18 years ago * X11Dnd.cs: If the drag is going to and from a MWF window just
Jackson Harper [Thu, 3 Nov 2005 01:28:36 +0000 (01:28 -0000)]
* X11Dnd.cs: If the drag is going to and from a MWF window just
copy the data instead of sending it out through the X Selection
mechanism.

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

18 years ago2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 2 Nov 2005 23:52:17 +0000 (23:52 -0000)]
2005-11-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpApplication.cs: ignore TAE in ProcesssError. The Error event might
redirect or transfer and that causes a TAE to be thrown. Fixes
bug #76573.

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

18 years agoConsts.cs.in: Added RuntimeVersion numbers for 1.0 and 1.1 as well.
Kornél Pál [Wed, 2 Nov 2005 23:43:36 +0000 (23:43 -0000)]
Consts.cs.in: Added RuntimeVersion numbers for 1.0 and 1.1 as well.

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

18 years ago * X11Dnd.cs:
Jackson Harper [Wed, 2 Nov 2005 22:52:01 +0000 (22:52 -0000)]
* X11Dnd.cs:
* XplatUIX11.cs: When in a drag we don't want motion notify
messages to get passed on to the other controls. This prevents
mouse move messages from showing up in the drag source.

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

18 years ago * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
Jackson Harper [Wed, 2 Nov 2005 22:28:11 +0000 (22:28 -0000)]
* X11Dnd.cs: Remove unneeded call to XAllowEvents.  Make sure that
the correct button is release to end a drag.
* XplatUIX11.cs: Make the button state internal so the drag system
can access it.  Dragging needs to know about all button releases,
not just left button.

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

18 years ago2005-11-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 2 Nov 2005 22:24:43 +0000 (22:24 -0000)]
2005-11-02  Miguel de Icaza  <miguel@novell.com>

        * Form.cs (Icon): If the icon is null, reset the icon to the
        default value.

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

18 years ago * X11Dnd.cs: Remove unneeded call to XAllowEvents.
Jackson Harper [Wed, 2 Nov 2005 22:06:39 +0000 (22:06 -0000)]
* X11Dnd.cs: Remove unneeded call to XAllowEvents.

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

18 years agoAdd test
Miguel de Icaza [Wed, 2 Nov 2005 21:53:27 +0000 (21:53 -0000)]
Add test

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

18 years ago2005-11-02 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 2 Nov 2005 21:47:55 +0000 (21:47 -0000)]
2005-11-02  Miguel de Icaza  <miguel@novell.com>

* Cursor.cs: When writing the AND-mask bitmap do not include the
number of colors, but hardcode those to two (black and white),
fixes the loading of color cursors (Paint Dot Net).

* Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
turn off autoscaling.

* Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).

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

18 years ago2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Nov 2005 21:18:59 +0000 (21:18 -0000)]
2005-11-02  Atsushi Enomoto  <atsushi@ximian.com>

* util.c: actually etc should be $prefix/etc, not $prefix/lib/etc.

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

18 years ago * X11Dnd.cs: Make sure to send a status message if the pointer
Jackson Harper [Wed, 2 Nov 2005 21:17:21 +0000 (21:17 -0000)]
* X11Dnd.cs: Make sure to send a status message if the pointer
enters a control that can not accept a drop, otherwise the cursor
isn't updated correctly. Also tried to compress the lines of code
a bit.

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

18 years ago * X11Dnd.cs: Change cursors based on drag action. Also attempt to
Jackson Harper [Wed, 2 Nov 2005 20:53:46 +0000 (20:53 -0000)]
* X11Dnd.cs: Change cursors based on drag action. Also attempt to
set actions correctly.  This isn't perfect as XDND and win32 have
some differences on how you allow actions. I'll clear this up by
adding a path for drag from MWF to MWF windows.
* XplatUIX11.cs: Hook into the dnd system.

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

18 years ago2005-11-02 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 2 Nov 2005 17:11:17 +0000 (17:11 -0000)]
2005-11-02  Chris Toshok  <toshok@ximian.com>

* System.Web.dll.sources: add
System.Web.Hosting/HostingEnvironment.cs

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

18 years ago2005-11-02 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 2 Nov 2005 17:10:07 +0000 (17:10 -0000)]
2005-11-02  Chris Toshok  <toshok@ximian.com>

* System.Web.dll.sources: add
System.Web.Hosting/HostingEnvironment.cs

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

18 years ago2005-11-02 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 2 Nov 2005 17:09:50 +0000 (17:09 -0000)]
2005-11-02  Chris Toshok  <toshok@ximian.com>

* HostingEnvironment.cs: completely NIE'ed implementation of
HostingEnvironment, just to get an MS example provider to compile.

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

18 years ago * Syscall.cs: Remove [CLSCompliant(false)] when it isn't needed.
Jonathan Pryor [Wed, 2 Nov 2005 16:38:18 +0000 (16:38 -0000)]
  * Syscall.cs: Remove [CLSCompliant(false)] when it isn't needed.

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

18 years ago * UnixServerChannel.cs: Use Mono.Unix.Native.Syscall. Mono.Unix.Syscall is
Jonathan Pryor [Wed, 2 Nov 2005 16:30:02 +0000 (16:30 -0000)]
  * UnixServerChannel.cs: Use Mono.Unix.Native.Syscall.  Mono.Unix.Syscall is
    obsolete, and will eventually disappear.

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

18 years ago * FileNameMarshaler.cs: Use UnixMarshal.FreeHeap(). Free() is obsolete.
Jonathan Pryor [Wed, 2 Nov 2005 16:27:26 +0000 (16:27 -0000)]
  * FileNameMarshaler.cs: Use UnixMarshal.FreeHeap().  Free() is obsolete.

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

18 years agoAdd CAS and unit tests for System.CodeDom.Compiler.Executor to the build
Sebastien Pouliot [Wed, 2 Nov 2005 16:19:25 +0000 (16:19 -0000)]
Add CAS and unit tests for System.CodeDom.Compiler.Executor to the build

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

18 years ago2005-11-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Nov 2005 16:17:52 +0000 (16:17 -0000)]
2005-11-02  Sebastien Pouliot  <sebastien@ximian.com>

* Executor.cs: Reworked (for permissions) and fixed ExitCode (must be
called before Close).

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

18 years ago2005-11-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 2 Nov 2005 16:15:19 +0000 (16:15 -0000)]
2005-11-02  Sebastien Pouliot  <sebastien@ximian.com>

* CodeCompilerCas.cs: New. CAS unit tests.
* ExecutorCas.cs: New. CAS unit tests.
* ExecutorTest.cs: New. Unit tests for Executor.

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

18 years ago2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
Jordi Mas i Hernandez [Wed, 2 Nov 2005 14:53:45 +0000 (14:53 -0000)]
2005-11-02  Jordi Mas i Hernandez <jmas@softcatala.org>

* ListView.cs: Fixes scroll bar visibility. Hide them if they were
previously shown but they are no longer need it. Very obvious when
browsing files with FileDialog.

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

18 years ago2005-11-02 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 2 Nov 2005 13:22:00 +0000 (13:22 -0000)]
2005-11-02  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* typemanager.cs: avoiding some Null Pointer Exceptions in GetPertinentStandardModules

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

18 years ago2005-11-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Nov 2005 09:31:40 +0000 (09:31 -0000)]
2005-11-02  Atsushi Enomoto  <atsushi@ximian.com>

* util.c: build fix.

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

18 years ago2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 2 Nov 2005 06:06:46 +0000 (06:06 -0000)]
2005-11-01  Peter Dennis Bartok  <pbartok@novell.com>

* Control.cs: We always need to call OnPaintBackground. We pretty much
  ignore AllPaintingInWmPaint and always do the painting there, whether
  it's set or not, since we always ignore the WM_ERASEBKGND message
  (which we don't generate on X11). This fixes #76616.
* Panel.cs: Removed unneeded background painting. This happens properly
  in Control.cs already

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

18 years agoadd VirtualPathUtility.cs and its test
Chris Toshok [Wed, 2 Nov 2005 02:09:27 +0000 (02:09 -0000)]
add VirtualPathUtility.cs and its test

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

18 years ago2005-11-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 2 Nov 2005 02:08:21 +0000 (02:08 -0000)]
2005-11-01  Chris Toshok  <toshok@ximian.com>

* VirtualPathUtilityTest.cs: new tests.

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

18 years ago2005-11-01 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 2 Nov 2005 02:08:08 +0000 (02:08 -0000)]
2005-11-01  Chris Toshok  <toshok@ximian.com>

* VirtualPathUtility.cs: new (partial implementation) to get some
MS provider examples compiling.

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

18 years ago2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 1 Nov 2005 22:03:40 +0000 (22:03 -0000)]
2005-11-01  Peter Dennis Bartok  <pbartok@novell.com>

* Makefile, System.Windows.Forms.dll.resources, SWF.csproj: Added
  DnDLink cursor

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

18 years ago2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Tue, 1 Nov 2005 22:03:25 +0000 (22:03 -0000)]
2005-11-01  Peter Dennis Bartok  <pbartok@novell.com>

* DnDLink.cur: Added

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

18 years agoMake Mono relocatable
Miguel de Icaza [Tue, 1 Nov 2005 21:02:21 +0000 (21:02 -0000)]
Make Mono relocatable

2005-11-01  Miguel de Icaza  <miguel@novell.com>

* unix/util.c (set_dirs): Implement a relocatable version.

2005-10-25  Miguel de Icaza  <miguel@novell.com>

* assembly.c (mono_assemblies_init): Do not set the Mono root dir
if it has been previously set (embedders).

Make mono_set_rootdir available also on Unix.

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

18 years ago2005-11-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 1 Nov 2005 20:18:01 +0000 (20:18 -0000)]
2005-11-01  Miguel de Icaza  <miguel@novell.com>

* string-icalls.c (ves_icall_System_String_ctor_encoding): Make
sure that we lookup GetString method from the System.Text.Encoding
class, not the derived class or we get an empty method.

Fixed class #76612.

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

18 years agoAdd CAS unit tests for System.CodeDom.Compiler.CodeGenerator
Sebastien Pouliot [Tue, 1 Nov 2005 20:06:50 +0000 (20:06 -0000)]
Add CAS unit tests for System.CodeDom.Compiler.CodeGenerator

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

18 years ago2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 1 Nov 2005 20:06:17 +0000 (20:06 -0000)]
2005-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* CodeGenerator.cs: Added/stubbed missing 2.0 stuff.

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

18 years ago2005-11-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 1 Nov 2005 20:05:52 +0000 (20:05 -0000)]
2005-11-01  Sebastien Pouliot  <sebastien@ximian.com>

* CodeGeneratorCas.cs: New. CAS unit tests.

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

18 years ago2005-11-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Nov 2005 19:06:20 +0000 (19:06 -0000)]
2005-11-01  Atsushi Enomoto  <atsushi@ximian.com>

* CP949.cs : Now it contains both CP949 (UHC) and CP51949 (EUC) for
  Korean encoding. This should fix bug #76588.

* Handler.cs : added 51949 (true euc-kr).

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

18 years agonew tests
Marek Safar [Tue, 1 Nov 2005 17:42:39 +0000 (17:42 -0000)]
new tests

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