mono.git
18 years agoNew test.
Marek Safar [Thu, 1 Dec 2005 12:08:05 +0000 (12:08 -0000)]
New test.

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

18 years ago2005-12-01 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 1 Dec 2005 12:05:10 +0000 (12:05 -0000)]
2005-12-01  Marek Safar  <marek.safar@seznam.cz>

Fix #76849.
* class.cs (MethodCore.DoDefineParameters): Test [Obsolete] only when
parent is not obsolete.

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

18 years agoFixed.
Marek Safar [Thu, 1 Dec 2005 12:02:40 +0000 (12:02 -0000)]
Fixed.

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

18 years agojava profile reference change
Konstantin Triger [Thu, 1 Dec 2005 10:19:17 +0000 (10:19 -0000)]
java profile reference change

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

18 years ago2005-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Dec 2005 09:25:00 +0000 (09:25 -0000)]
2005-12-01  Atsushi Enomoto  <atsushi@ximian.com>

* doc.cs : (FindDocumentedMember) find parameterless members first
  and get CS0419 in the early stage. Fixed first case of bug #76727.

* cs0419-4.cs : test for the first case of bug #76727.
* known-issues-gmcs : added it.

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

18 years agoOops
Wade Berrier [Thu, 1 Dec 2005 08:18:11 +0000 (08:18 -0000)]
Oops

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

18 years agoMakefile: Add EXTRA_DISTFILES to include all missing files from 'make dist'
Wade Berrier [Thu, 1 Dec 2005 07:35:57 +0000 (07:35 -0000)]
Makefile: Add EXTRA_DISTFILES to include all missing files from 'make dist'
Cleanup: Remove CVS dirs

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

18 years ago2005-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Dec 2005 06:16:29 +0000 (06:16 -0000)]
2005-12-01  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaSequence.cs : when a subcomponent is not optional
  (minOccurs!=0) then it should clean previous components up.
  Really fixed bug #76865.

* XmlSchemaTests.cs :
  Additional schema component to finish #76865 test.

* Makefile : Use MONO_PATH. Remove extraneous make variables.

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

18 years ago2005-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Dec 2005 04:46:45 +0000 (04:46 -0000)]
2005-12-01  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaElement.cs : Fixed ambiguity detection logic so that
  chameleon ##other (xs:any) does not block other "absent"
  (empty targetNamespace) element. Fixed bug #76865.

* XmlSchemaTests.cs : added testcase for #76865.

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

18 years ago2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 1 Dec 2005 03:18:38 +0000 (03:18 -0000)]
2005-11-30  Sebastien Pouliot  <sebastien@ximian.com>

* SimpleCollator.cs: Fix CAS support. The static ctor/var try to get
the environment variable MUCH too soon (i.e. the security manager
needs the collator).

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

18 years ago2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 1 Dec 2005 02:37:45 +0000 (02:37 -0000)]
2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HandlerFactoryConfiguration.cs: my previous patch broke the
* order in which handlers are searched. This one fixes that,
* while not breaking bug 76842 again.

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

18 years ago2005-12-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Dec 2005 02:12:48 +0000 (02:12 -0000)]
2005-12-01  Atsushi Enomoto  <atsushi@ximian.com>

* CP1251.cs CP28594.cs CP28595.cs CP1257.cs CP1258.cs CP874.cs
  CP20866.cs CP21866.cs : (all but 57002.cs)
  The same changes on fallback support and shift to pointer-based
  implementation as we had in I18N.West.dll.
* Makefile : added /unsafe.

* CP1254.cs CP1255.cs CP1256.cs CP28596.cs CP28598.cs CP28599.cs
  CP38598.cs : (all *.cs)
  The same changes on fallback support and shift to pointer-based
  implementation as we had in I18N.West.dll.
* Makefile : added /unsafe.

* CP1145.cs CP1149.cs CP20420.cs CP20424.cs CP708.cs CP855.cs
  CP875.cs CP1140.cs CP869.cs CP1144.cs CP1047.cs CP1148.cs
  CP21025.cs CP870.cs CP20285.cs CP864.cs CP858.cs CP1026.cs
  CP1143.cs CP37.cs CP1147.cs CP500.cs CP20280.cs CP20290.cs
  CP20284.cs CP20278.cs CP857.cs CP1142.cs CP1146.cs CP20273.cs
  CP852.cs CP862.cs CP20277.cs CP20871.cs CP866.cs CP20297.cs
  CP1141.cs : (all *.cs)
  The same changes on fallback support and shift to pointer-based
  implementation as we had in I18N.West.dll.
* Makefile : added /unsafe.

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

18 years ago2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 1 Dec 2005 02:02:13 +0000 (02:02 -0000)]
2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* RadioButton.cs: if the 'value' attribute is set explicitly (as
RadioButtonList does now), use that as the 'name' attribute.
* RadioButtonList.cs: set the AutoPostBack and Enabled properties of
the radiobuttons.

Fixes bug #76706.

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

18 years ago2005-11-30 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 1 Dec 2005 01:39:50 +0000 (01:39 -0000)]
2005-11-30  Chris Toshok  <toshok@ximian.com>

* ProfileBase.cs (Properties): mark as override, not static.

* ProfileProviderCollection.cs (ProfileProvider): mark as "new" to
fix warning.

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

18 years ago2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 1 Dec 2005 01:37:08 +0000 (01:37 -0000)]
2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CheckBox.cs: add possible 'internal' attributes to the input tag. Fix
the 'name' attribute when not aligninng to the right.
* RadioButton.cs: use NameAttribute instead of GroupName when indexing
the collection. Raise the OnCheckedChanged event. Fixes bug #76710.

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

18 years ago2005-11-30 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 1 Dec 2005 01:34:04 +0000 (01:34 -0000)]
2005-11-30  Chris Toshok  <toshok@ximian.com>

* CompilerCollection.cs: ugly hack to fix the
2.0-without-config-2.0 case.  wrap this file in #if
CONFIGURATION_2_0 as well as #if NET_2_0.

* Compiler.cs: same.

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

18 years ago2005-11-30 Chris Toshok <toshok@ximian.com>
Chris Toshok [Thu, 1 Dec 2005 01:33:31 +0000 (01:33 -0000)]
2005-11-30  Chris Toshok  <toshok@ximian.com>

* WebConfigurationSettings.cs (ReadSectionGroup): some
CONFIGURATION_2_0 work.

* CompilationConfigurationHandler.cs (ReadCompilers): change the
NET_2_0 to CONFIGURATION_2_0.

* CompilerCollection.cs: more ugly hacks for the
2.0-without-config-2.0 case.  wrap this in #if !CONFIGURATION_2_0
and make it public in the NET_2_0 case (so it can be used to keep
the config 2.0 stuff building).

* Compiler.cs: same.

* CompilationConfiguration.cs (Init): change the #if NET_2_0 to
#if CONFIGURATION_2_0.

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

18 years agoDang.
Peter Dennis Bartok [Thu, 1 Dec 2005 01:22:21 +0000 (01:22 -0000)]
Dang.

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

18 years ago2005-11-30 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 1 Dec 2005 01:17:44 +0000 (01:17 -0000)]
2005-11-30  Peter Bartok  <pbartok@novell.com>

* ResXResourceReader.cs: Handle System.Byte[] encodings without
  needing a typeconverter (This fixes bug #76414)

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

18 years ago2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 23:35:10 +0000 (23:35 -0000)]
2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DataGrid.cs: clear the control collection on every call to
CreateControlHierarchy. Fixes bug #76732.

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

18 years ago * Form.cs: Property is 2.0 only
Jackson Harper [Wed, 30 Nov 2005 22:54:07 +0000 (22:54 -0000)]
* Form.cs: Property is 2.0 only
* PrintDialog.cs: Signature fix.

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

18 years ago2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 22:14:43 +0000 (22:14 -0000)]
2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TermInfoDriver.cs: if the cursor_address capability contains a %i, we
have to add 1 to x and y when setting the cursor position.
Fixes bug #76856.

* Convert.cs: remove unused variables.

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

18 years ago2005-11-30 Robert Jordan <robertj@gmx.net>
Robert Jordan [Wed, 30 Nov 2005 21:59:31 +0000 (21:59 -0000)]
2005-11-30  Robert Jordan  <robertj@gmx.net>

* System.Windows.Forms_test.dll.sources: Added System.Resources/CultureTest.cs

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

18 years ago2005-11-30 Robert Jordan <robertj@gmx.net>
Robert Jordan [Wed, 30 Nov 2005 21:58:38 +0000 (21:58 -0000)]
2005-11-30  Robert Jordan  <robertj@gmx.net>

* ResXResourceReader.cs, ResXResourceWriter.cs: Made string conversions
culture-invariant.
* ResXResourceWriter.cs: Fixed AddResource (string, object) to emit
the type attribute when the object has a type converter.

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

18 years ago2005-11-30 Robert Jordan <robertj@gmx.net>
Robert Jordan [Wed, 30 Nov 2005 21:57:41 +0000 (21:57 -0000)]
2005-11-30  Robert Jordan  <robertj@gmx.net>

* CultureTest.cs: Unit tests for the culture-invariance.

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

18 years agoLong forgotten test cases :(
Sebastien Pouliot [Wed, 30 Nov 2005 21:45:50 +0000 (21:45 -0000)]
Long forgotten test cases :(

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

18 years ago2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 21:36:52 +0000 (21:36 -0000)]
2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateControlCompiler.cs: handle data bound attributes for html
controls. Fixes bug #76785.

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

18 years ago2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 30 Nov 2005 20:59:25 +0000 (20:59 -0000)]
2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs:
  - No longer artificially moves text 2 pixels down (now that we have
    borders this is no longer needed)
  - Added calcs for left, hanging and right indent

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

18 years ago2005-11-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 30 Nov 2005 20:48:16 +0000 (20:48 -0000)]
2005-11-30  Zoltan Varga  <vargaz@gmail.com>

* exceptions.cs: Disable test_0_long_cast () test, since it fails on a lot
of platforms.

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

18 years ago2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 20:02:31 +0000 (20:02 -0000)]
2005-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
for cells.
* HtmlTable.cs: moved WriteLine around.

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

18 years ago* CodeGeneratorFromStatementTest.cs: Added tests for
Gert Driesen [Wed, 30 Nov 2005 18:54:17 +0000 (18:54 -0000)]
* CodeGeneratorFromStatementTest.cs: Added tests for
CodeAssignStatement, CodeAttachEventStatement,
CodeConditionStatement, CodeExpressionStatement,
CodeIterationStatement, CodeLabeledStatement,
CodeMethodReturnStatement, CodeRemoveEventStatement,
CodeSnippetStatement, CodeStatement, CodeVariableDeclarationStatement.
* CodeRemoveEventStatementTest.cs: Added tests for ctors.
* IndentedTextWriterTest.cs: Added tests for Indent property.
* CodeGeneratorFromStatementTest.cs: Added tests for
CodeAssignStatement, CodeAttachEventStatement, CodeConditionStatement,
CodeExpressionStatement, CodeIterationStatement,
CodeLabeledStatement, CodeMethodReturnStatement,
CodeRemoveEventStatement and CodeSnippetStatement.
* CSharpCodeGenerator.cs: No longer output semicolon and newline for
CodeVariableDeclarationStatement in for statement, fixes #75292.
Fixed NRE in GenerateEventReferenceExpression. Cosmetic changes to
code generated for iteration to match MS.NET. Temporary reduce
indentation for label and no longer escape label if its a keyword.
* CodeRemoveEventStatement.cs: Event returns new CodeEventReference
if underlying value is null.
* System_test.dll.sources: Added CodeRemoveEventStatementTest.cs from
System.CodeDom.
* CodeGenerator.cs: Corrected line endings. Set eol-style to native.
* IndentedTextWriter.cs: Indent can no longer become negative.
* VBCodeGenerator.cs: Fixed NRE in GenerateEventReferenceExpression,
and escape event name. Indent statements for iteration. Avoid
ArgumentNullException if expression is not set for CodeReturnStatement.
Temporary reduce indentation for label, and fixed ArgumentNullException
if no statement is set. Cosmetic changes to code generated for
condition to match MS.NET. In OutputTypeNamePair, escape name.

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

18 years agoWed Nov 30 19:09:50 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Nov 2005 18:26:58 +0000 (18:26 -0000)]
Wed Nov 30 19:09:50 CET 2005 Paolo Molaro <lupus@ximian.com>

* WindowsIdentity.cs: remove check for an invalid user token on Posix
systems and check for PlatformID.Unix, too.

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

18 years ago2005-11-23 Mike Kestner <mkestner@novell.com>
Mike Kestner [Wed, 30 Nov 2005 18:13:52 +0000 (18:13 -0000)]
2005-11-23  Mike Kestner  <mkestner@novell.com>

* Menu.cs: mark MenuChanged internal, since it's not exposed by MS.

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

18 years ago2005-11-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 Nov 2005 17:19:28 +0000 (17:19 -0000)]
2005-11-30  Atsushi Enomoto  <atsushi@ximian.com>

* CP1252.cs CP28592.cs CP437.cs CP861.cs CP10079.cs CP863.cs CP865.cs
  CP28593.cs CP1253.cs CP28597.cs CP850.cs CP860.cs CP28605.cs
  CP1250.cs : made the same changes as CP10000.cs had in the previous
  commit.

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

18 years agoWed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Nov 2005 17:16:29 +0000 (17:16 -0000)]
Wed Nov 30 12:14:20 EST 2005 Paolo Molaro <lupus@ximian.com>

* NumberFormatter.cs: work around arch-specific ulong cast behaviour
with large numbers.

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

18 years agonew test
Marek Safar [Wed, 30 Nov 2005 15:56:09 +0000 (15:56 -0000)]
new test

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

18 years ago2005-11-30 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 30 Nov 2005 15:48:54 +0000 (15:48 -0000)]
2005-11-30  Marek Safar  <marek.safar@seznam.cz>

Fix #76859.
* ecore.cs (Expression.ResolveAsConstant): Report constant error only when
no error was reported.

*expression.cs (Binary.DoResolve): left can be null.

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

18 years agoFix compilation
Sebastien Pouliot [Wed, 30 Nov 2005 15:47:54 +0000 (15:47 -0000)]
Fix compilation

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

18 years ago2005-11-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 Nov 2005 15:41:24 +0000 (15:41 -0000)]
2005-11-30  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : now it uses unsafe pointers.
* ByteEncoding.cs : Now there is three versions of ToBytes(): the only
  one with pointers will be in use in the future. ToBytes(string) and
  ToBytes() with arrays will be implemented to dispatch pointer-based
  one and will be only one conversion implementation while they keep
  avoiding extra array creation.

* Makefile : now it uses unsafe pointers.
* CP10000.cs : Added 2.0 fallback support and modified ToBytes() from
  array to pointers, and commented ToBytes(string) out (uses virtual
  implementation in ByteEncoding).

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

18 years ago2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 Nov 2005 15:39:24 +0000 (15:39 -0000)]
2005-11-30  Sebastien Pouliot  <sebastien@ximian.com>

* OrderedDictionary.cs: OnDeserialization is protected virtual (not
private).

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

18 years ago2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 Nov 2005 15:27:48 +0000 (15:27 -0000)]
2005-11-30  Sebastien Pouliot  <sebastien@ximian.com>

* CodeCompilerCas.cs: MS doesn't demand EnvironmentPermission under
1.x.

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

18 years ago2005-11-29 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Alexandre Rocha Lima e Marcondes [Wed, 30 Nov 2005 15:24:42 +0000 (15:24 -0000)]
2005-11-29 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
       * test-mbas.pl: Parsing Test Files in order to find necessary
       compilerOptions and generate the correct CompileCommand.

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

18 years agoTARGET_JVM build system changes
Konstantin Triger [Wed, 30 Nov 2005 15:05:18 +0000 (15:05 -0000)]
TARGET_JVM build system changes

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

18 years agoWed Nov 30 15:48:22 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Nov 2005 14:52:41 +0000 (14:52 -0000)]
Wed Nov 30 15:48:22 CET 2005 Paolo Molaro <lupus@ximian.com>

* icall.c: fixed Enum.ToObject() to correctly convert the values.

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

18 years ago2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 Nov 2005 14:36:10 +0000 (14:36 -0000)]
2005-11-30  Sebastien Pouliot  <sebastien@ximian.com>

* KeyedList.cs: Fixed for IOrderedDictionary change in 2.0 final.
Now internal.
* KeyedListEnumerator.cs: Now internal.

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

18 years agoAdded more unit tests (and CAS tests) for System.Collections.Specialized
Sebastien Pouliot [Wed, 30 Nov 2005 13:56:34 +0000 (13:56 -0000)]
Added more unit tests (and CAS tests) for System.Collections.Specialized

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

18 years ago2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 Nov 2005 13:55:40 +0000 (13:55 -0000)]
2005-11-30  Sebastien Pouliot  <sebastien@ximian.com>

* BitVector32Cas.cs: New. CAS unit tests.
* BitVector32Test.cs: More test cases to increase coverage.
* CollectionsUtilCas.cs: New. CAS unit tests.
* HybridDictionaryCas.cs: New. CAS unit tests.
* HybridDictionaryTest.cs: More test cases to increase coverage.
* ListDictionaryCas.cs: New. CAS unit tests.
* ListDictionaryTest.cs: More test cases to increase coverage.
* NameObjectCollectionBaseCas.cs: New. CAS unit tests.
* NameObjectCollectionBaseTest.cs: New. Unit tests.
* NameValueCollectionCas.cs: New. CAS unit tests.
* NameValueCollectionTest.cs: More test cases to increase coverage.
* OrderedDictionaryCas.cs: New. CAS unit tests.
* OrderedDictionaryTest.cs: New. Unit tests.
* StringCollectionCas.cs: New. CAS unit tests.
* StringCollectionTest.cs: More test cases to increase coverage.
* StringDictionaryCas.cs: New. CAS unit tests.
* StringDictionaryTest.cs: New. Unit tests.

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

18 years ago2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 30 Nov 2005 13:55:28 +0000 (13:55 -0000)]
2005-11-30  Sebastien Pouliot  <sebastien@ximian.com>

* BitVector32.cs: Fixed 2.0 API changes and this[int] setter under 2.0
* HybridDictionary.cs: Fixed Contains different behaviour under 2.0.
* IOrderedDictionary.cs: Added missing GetEnumarator to the interface.
* NameObjectCollectionBase.cs: Fixed 2.0 API changes and
serialization.
* NameValueCollection.cs: Fixed 2.0 API changes.
* OrderedDictionary.cs: Fixed API changes, serialization and this[int]
setter.
* StringDictionary.cs: Added missing null checks.

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

18 years ago - Don't let Mdi children draw/handle menus.
Jackson Harper [Wed, 30 Nov 2005 11:27:13 +0000 (11:27 -0000)]
- Don't let Mdi children draw/handle menus.

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

18 years ago * Menu.cs: Make sure the parent of the items get set correctly
Jackson Harper [Wed, 30 Nov 2005 11:17:57 +0000 (11:17 -0000)]
* Menu.cs: Make sure the parent of the items get set correctly
when they are added.  And the owners are notified of the changes.
* Form.cs: Create an ActiveMenu property, so that when MDI is used
we can change the menu being displayed/handled by the form without
changing the menu assosciated with the form.

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

18 years ago * MdiChildContext.cs: Set the cloned menus forms, as these don't
Jackson Harper [Wed, 30 Nov 2005 10:58:06 +0000 (10:58 -0000)]
* MdiChildContext.cs: Set the cloned menus forms, as these don't
get cloned as part of CloneMenu ().

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

18 years ago * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
Jackson Harper [Wed, 30 Nov 2005 10:21:22 +0000 (10:21 -0000)]
* Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
a MenuChanged event. Just to make the API a little more
consistent.
* MainMenu.cs:
* MenuItem.cs: Use the new OnMenuChanged
* MdiChildContext.cs: Handle menu merging.
* Form.cs: Implement MergedMenu.

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

18 years agouse Convert.ToInt32() instead of cast to throw OverflowException
Konstantin Triger [Wed, 30 Nov 2005 10:19:03 +0000 (10:19 -0000)]
use Convert.ToInt32() instead of cast to throw OverflowException

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

18 years ago * Menu.cs: We were misusing Add. Add goes behind the specified
Jackson Harper [Wed, 30 Nov 2005 09:54:17 +0000 (09:54 -0000)]
* Menu.cs: We were misusing Add. Add goes behind the specified
index according to the docs, and does not replace the specified
index. So I added an Insert method.

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

18 years ago2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 30 Nov 2005 08:20:43 +0000 (08:20 -0000)]
2005-11-30  Peter Dennis Bartok  <pbartok@novell.com>

* TextBoxBase.cs:  Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  is for Jackson
* RichTextBox.cs: Added calls to base for DnD events

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

18 years ago2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 30 Nov 2005 08:04:59 +0000 (08:04 -0000)]
2005-11-28  Peter Dennis Bartok  <pbartok@novell.com>

* TextControl.cs:
  - Fixed drag-selection related crash; style fixes
  - Implemented undo class
    o Implemented method to capture document state for specified
      range in document tree
    o Implemented method to restore captured document state
    o Implemented cursor tracking
    o Implemented basic undo stack
  - Added undo cursor tracking to methods altering cursor location
  - Added undo tracking to selection deletion (still missing
    other text-altering hookups)
* RichTextBox.cs:
  - Added SelectionLength property
  - Implemented CanPaste()
  - Implemented Paste()
  - Added missing protected methods
  - Fixed RTF->Document conversion; now uses font index 0 and color
    index 0 as the default font for the parsed text
  - Fixed RTF<->Document font size translation
  - Fixed RTF generation, now properly handles cross-tag boundaries
    for single line selection
  - No longer always appends blank line to generated RTF
  - Removed TODOs
  - Added missing attributes
  - Hooked up undo-related methods
* TextBoxBase.cs:
  - Implemented Copy()
  - Implemented Paste()
  - Implemented Cut()
  - Fixed caret mis-behaviour on backspace across line-boundaries

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

18 years ago * TreeView.cs: raise a click when items are clicked.
Jackson Harper [Wed, 30 Nov 2005 07:10:17 +0000 (07:10 -0000)]
* TreeView.cs: raise a click when items are clicked.

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

18 years ago * MdiClient.cs: Add a method for activating mdi children. Very
Jackson Harper [Wed, 30 Nov 2005 06:47:38 +0000 (06:47 -0000)]
* MdiClient.cs: Add a method for activating mdi children. Very
basic right now. I imagine someday it might need more girth.
* MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
children windows names are added to the menu item.
* ThemeWin32Classic.cs: Draw the arrow if the item is an
mdilist. This happens regardless of whether or not there are any
mdi windows to see in the list, and according to my tests happens
before the items are even added. Also happens if there isn't even
an mdi client to get windows from.

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

18 years ago flush
Jackson Harper [Wed, 30 Nov 2005 05:46:19 +0000 (05:46 -0000)]
flush

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

18 years ago2005-11-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 Nov 2005 03:32:11 +0000 (03:32 -0000)]
2005-11-30  Atsushi Enomoto  <atsushi@ximian.com>

* ScriptCompilerInfo.cs : (VBCompilerInfo) There was a space between
  '#' and 'ExternalResource'. bug #75789 should be fixed.

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

18 years ago2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 01:53:24 +0000 (01:53 -0000)]
2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Test/System.Web.UI/ControlCollectionTest.cs: new tests.
* System.Web_test.dll.sources: add new file.
* System.Web.UI/ControlCollection.cs: allow 'null' in Remove.

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

18 years agosvn path=/trunk/mono/; revision=53658
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 01:31:50 +0000 (01:31 -0000)]
svn path=/trunk/mono/; revision=53658

18 years ago2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 01:23:08 +0000 (01:23 -0000)]
2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: workaround for a bug that shows up on the Mac:
select()+connect() on a blocking socket is not like it should
be, so we proceed to connect() in that case, wasting the I/O
threadpool thread until connect succeedes. Fixes bug #75436.

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

18 years ago2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 00:57:25 +0000 (00:57 -0000)]
2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: fix typo when setting filde descriptor states.

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

18 years ago2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 30 Nov 2005 00:51:29 +0000 (00:51 -0000)]
2005-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: define PLATFORM_MACOSX.

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

18 years ago2005-11-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 29 Nov 2005 22:31:59 +0000 (22:31 -0000)]
2005-11-29  Zoltan Varga  <vargaz@gmail.com>

* objects.cs basic-calls.cs: Move a test depending on valuetypes to
objects.cs.

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

18 years ago2005-11-29 Alexander Olk <alex.olk@googlemail.com>
Alexander Olk [Tue, 29 Nov 2005 17:18:03 +0000 (17:18 -0000)]
2005-11-29  Alexander Olk  <alex.olk@googlemail.com>

* ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
* ThemeNice.cs: Fix drawing of flatstyle radiobuttons

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

18 years ago2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 29 Nov 2005 17:11:53 +0000 (17:11 -0000)]
2005-11-29  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : direct fast-path optimization for IndexOf().

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

18 years agoIt never happened
Miguel de Icaza [Tue, 29 Nov 2005 16:23:17 +0000 (16:23 -0000)]
It never happened

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

18 years ago2005-11-12 Pedro Martínez Juliá <pedromj@gmail.com>
Miguel de Icaza [Tue, 29 Nov 2005 15:58:02 +0000 (15:58 -0000)]
2005-11-12  Pedro Martínez Juliá  <pedromj@gmail.com>

* System.Windows.Forms_test.dll.sources: Added DataGridViewElementTest.cs
DataGridViewBandTest.cs DataGridViewCellTest.cs

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

18 years agoJust a stub to run some apps
Miguel de Icaza [Tue, 29 Nov 2005 15:25:24 +0000 (15:25 -0000)]
Just a stub to run some apps

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

18 years agoJust a stub to run some apps
Miguel de Icaza [Tue, 29 Nov 2005 15:25:11 +0000 (15:25 -0000)]
Just a stub to run some apps

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

18 years ago2005-11-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 29 Nov 2005 15:09:38 +0000 (15:09 -0000)]
2005-11-29  Zoltan Varga  <vargaz@gmail.com>

* inssel-long32.brg (CEE_CONV_I8): Remove unused labels.

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

18 years ago2005-11-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 29 Nov 2005 14:56:49 +0000 (14:56 -0000)]
2005-11-29  Zoltan Varga  <vargaz@gmail.com>

* inssel-long32.brg (CEE_CONV_I8): Convert this to a branchless version.

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

18 years ago2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 29 Nov 2005 13:13:02 +0000 (13:13 -0000)]
2005-11-29  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs :
  - CompareQuick(): added immediateBreakup to avoid extraneous sortkey
    computation.
  - QuickCheckPossible(): index used for s1 was incorrect.

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

18 years ago2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 29 Nov 2005 12:12:50 +0000 (12:12 -0000)]
2005-11-29  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : added another quick check for CompareInternal()
  that does almost ordinal comparison for quick-checkable strings.
  (It affects on Compare(), IndexOf(), IsSuffix() etc. as well.)

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

18 years agoTue Nov 29 05:41:34 EST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 29 Nov 2005 10:44:07 +0000 (10:44 -0000)]
Tue Nov 29 05:41:34 EST 2005 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, cpu-g4.md: ensure a fp register is converted to
single precision before storing to a single precision location.

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

18 years agoTue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 29 Nov 2005 10:41:22 +0000 (10:41 -0000)]
Tue Nov 29 05:38:37 EST 2005 Paolo Molaro <lupus@ximian.com>

* Convert.cs: fix endianess issue when converting to base-8
format. All the base code would need a rewrite for efficience.

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

18 years ago * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
Jackson Harper [Tue, 29 Nov 2005 10:27:28 +0000 (10:27 -0000)]
* FontDialog.cs: Implement missing Apply stuff, and ToString. Move
creation of the panel so that the options set on the dialog are
seen when the panel is created.

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

18 years ago2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
Jordi Mas i Hernandez [Tue, 29 Nov 2005 10:25:38 +0000 (10:25 -0000)]
2005-11-29  Jordi Mas i Hernandez <jordimash@gmail.com>

* DataGridTableStyle.cs:
  - Create always the styles for the missing columns even if they are
    provided by the user (not default table style)
* DataGrid.cs:
  - Fixes bug 76770
  - Fixes SetDataBinding (always re-attach source)
  - Fixes SetNewDataSource (only clear styles if they are not for
    this source)
 -  Expands OnTableStylesCollectionChanged to handle style refresh
    and remove properly

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

18 years ago * FileDialog.cs: Implement missing bits, remove some dead
Jackson Harper [Tue, 29 Nov 2005 09:54:28 +0000 (09:54 -0000)]
* FileDialog.cs: Implement missing bits, remove some dead
          code.

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

18 years ago * MdiClient.cs: Pass some signature methods through to base.
Jackson Harper [Tue, 29 Nov 2005 08:52:46 +0000 (08:52 -0000)]
* MdiClient.cs: Pass some signature methods through to base.

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

18 years ago2005-11-29 Atsushi Enomtoto <atsushi@ximian.com>
Atsushi Eno [Tue, 29 Nov 2005 07:43:20 +0000 (07:43 -0000)]
2005-11-29  Atsushi Enomtoto  <atsushi@ximian.com>

* cormissing.js : support for "target documentation" selector.

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

18 years ago2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 29 Nov 2005 07:41:13 +0000 (07:41 -0000)]
2005-11-29  Atsushi Enomoto  <atsushi@ximian.com>

* mono-api.xsl : added toggle switch for referenced documentation
  (monodoc/msdn/msdn2).

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

18 years ago2005-11-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 29 Nov 2005 03:53:05 +0000 (03:53 -0000)]
2005-11-29  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfo.cs : IsSortable() are static.
* CharUnicodeInfo.cs : became non-static in RTM.
* Calendar.cs : added support for Clone() and IsReadOnly.
* HijriCalendar.cs ThaiBuddhistCalendar.cs HebrewCalendar.cs
  GregorianCalendar.cs KoreanCalendar.cs JulianCalendar.cs
  TaiwanCalendar.cs JapaneseCalendar.cs PersianCalendar.cs :
  check IsReadOnly on every setter.

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

18 years ago2005-11-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Tue, 29 Nov 2005 03:00:19 +0000 (03:00 -0000)]
2005-11-28  Chris Toshok  <toshok@ximian.com>

* ProviderSettings.cs: use ConfigurationProperty's to implement
the properties.

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

18 years ago2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 29 Nov 2005 01:12:19 +0000 (01:12 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HandlerFactoryConfiguration.cs: copy the parents' mappings
into the new one to allow for removing without affecting the
parent configuration mappings. Fixes bug #76842.

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

18 years ago * Mono.Posix_test.dll.sources: Move StdlibTest into the Mono.Unix.Native
Jonathan Pryor [Tue, 29 Nov 2005 01:04:12 +0000 (01:04 -0000)]
* Mono.Posix_test.dll.sources: Move StdlibTest into the Mono.Unix.Native
  directory.
* Test/Mono.Unix.Native: Directory Added.
* Test/Mono.Unix.Native/ChangeLog: Started.
* Test/Mono.Unix.Native/StdlibTest.cs: Moved from ../Mono.Unix.
  Test Mono.Unix.Native

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

18 years ago * Stdlib.cs: Prelink all SignalHandlers passed to Stdlib.signal(). This is
Jonathan Pryor [Tue, 29 Nov 2005 00:54:28 +0000 (00:54 -0000)]
* Stdlib.cs: Prelink all SignalHandlers passed to Stdlib.signal().  This is
  so that mono doesn't have to JIT the handler within signal context.

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

18 years ago2005-11-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 28 Nov 2005 23:42:36 +0000 (23:42 -0000)]
2005-11-28  Chris Toshok  <toshok@ximian.com>

* SessionStateSection.cs (CookieLess): correct the compat function
implementation.

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

18 years ago2005-11-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 28 Nov 2005 23:35:29 +0000 (23:35 -0000)]
2005-11-28  Chris Toshok  <toshok@ximian.com>

* SessionStateModule.cs: CONFIGURATION_2_0 work.

* SessionSQLServerHandler.cs: CONFIGURATION_2_0 work.

* SessionInProcHandler.cs: CONFIGURATION_2_0 work.

* SessionStateServerHandler.cs: CONFIGURATION_2_0 work.

* ISessionHandler.cs (Init): @config is a SessionStateSection if
CONFIGURATION_2_0.

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

18 years ago2005-11-28 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 28 Nov 2005 23:08:22 +0000 (23:08 -0000)]
2005-11-28  Chris Toshok  <toshok@ximian.com>

* GlobalizationSection.cs (GetEncoding): if the encoding name is
null, default to utf-8 before we hit the try block, so we don't
throw and generate a spurious warning.

* SessionStateSection.cs: The Cookieless handling needs a custom
parser, it appears, as the converter is a StringConverter, not a
GenericEnumConverter.
(ParseCookieMode): the parser.

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

18 years ago2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 23:07:30 +0000 (23:07 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlForm.cs: more class-status fixes.

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

18 years ago2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 23:03:37 +0000 (23:03 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ListBox.cs: Rows and SelectionMode are virtual in 1.1

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

18 years ago2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 22:51:59 +0000 (22:51 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpResponseStream.cs: flush the filter stream before closing.
Patch by Geir Bergum that fixes bug #76753.

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

18 years agonew tests by Robert Jordan
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 22:45:16 +0000 (22:45 -0000)]
new tests by Robert Jordan

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

18 years ago2005-11-28 Robert Jordan <robertj@gmx.net>
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 22:44:57 +0000 (22:44 -0000)]
2005-11-28  Robert Jordan  <robertj@gmx.net>

* SimpleWorkerRequest.cs: fixed MapPath () for the case
app_virtual_dir.Length == 1 && path.Length == 1.
* SimpleWorkerRequest.cs: implemented SendResponseFromMemory ().

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

18 years ago2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 22:37:29 +0000 (22:37 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ApplicationHost.cs: make this work with paths that that
contain non-ASCII characters. Fixes bug #76807.

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

18 years ago2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 22:06:10 +0000 (22:06 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlTextAreaTest.cs: add new test for 'Name'.

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

18 years ago2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 28 Nov 2005 21:58:56 +0000 (21:58 -0000)]
2005-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.

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