Sebastien Pouliot [Fri, 8 Jun 2007 18:12:12 +0000 (18:12 -0000)]
svn path=/trunk/mcs/; revision=78979
Jonathan Chambers [Fri, 8 Jun 2007 17:11:42 +0000 (17:11 -0000)]
2007-06-08 Jonathan Chambers <joncham@gmail.com>
* metadata.c: Move variable declarations to top of scope.
* verify.c: Move variable declarations to top of scope.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=78971
Marek Safar [Fri, 8 Jun 2007 15:49:17 +0000 (15:49 -0000)]
eol:native
svn path=/trunk/mcs/; revision=78967
Marek Safar [Fri, 8 Jun 2007 15:48:16 +0000 (15:48 -0000)]
native
svn path=/trunk/mcs/; revision=78966
Raja R Harinath [Fri, 8 Jun 2007 15:47:11 +0000 (15:47 -0000)]
Add a note about "invariant meaning in a block" and how we handle it.
svn path=/trunk/mcs/; revision=78965
Marek Safar [Fri, 8 Jun 2007 15:43:57 +0000 (15:43 -0000)]
New group by tests.
svn path=/trunk/mcs/; revision=78964
Marek Safar [Fri, 8 Jun 2007 15:43:05 +0000 (15:43 -0000)]
2007-06-08 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay: Uses newly defined GroupBy class.
* linq.cs (GroupBy): Implemented.
(AQueryClause.BuildQueryClause): Refactored to allow customize
query method arguments.
svn path=/trunk/mcs/; revision=78963
Marek Safar [Fri, 8 Jun 2007 14:54:23 +0000 (14:54 -0000)]
2007-06-08 Marek Safar <marek.safar@gmail.com>
* Enumerable.cs: Fixed recursion in GroupBy.
svn path=/trunk/mcs/; revision=78960
Raja R Harinath [Fri, 8 Jun 2007 14:09:14 +0000 (14:09 -0000)]
* reflection.c (mono_class_bind_generic_parameters): Replace
open-coded loop with mono_metadata_inflate_generic_inst.
svn path=/trunk/mono/; revision=78957
Raja R Harinath [Fri, 8 Jun 2007 13:42:02 +0000 (13:42 -0000)]
* class.c (get_shared_generic_class): Don't call
mono_get_shared_generic_inst. Use the container's own 'class_inst'.
svn path=/trunk/mono/; revision=78953
Jonathan Pobst [Fri, 8 Jun 2007 13:25:59 +0000 (13:25 -0000)]
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* Panel.cs: Add autosize properties/event.
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* PanelTest.cs: Add.
2007-06-08 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms_test.dll.sources: Add PanelTest.cs.
svn path=/trunk/mcs/; revision=78952
Marek Safar [Fri, 8 Jun 2007 13:13:36 +0000 (13:13 -0000)]
Add new test.
svn path=/trunk/mcs/; revision=78951
Marek Safar [Fri, 8 Jun 2007 13:12:54 +0000 (13:12 -0000)]
2007-06-08 Marek Safar <marek.safar@gmail.com>
* generics.cs (InferTypeArguments): Uses AnonymousMethodExpression
InferTypeArguments.
svn path=/trunk/mcs/; revision=78950
Marek Safar [Fri, 8 Jun 2007 13:10:58 +0000 (13:10 -0000)]
2007-06-07 Marek Safar <marek.safar@gmail.com>
* anonymous.cs (VerifyExplicitParameterCompatibility): Add flag
to do verification only.
(InferTypeArguments): Infers anonymous expression type arguments.
(Compatible): Split to Compatible and InferTypeArguments.
* lambda.cs: Updated.
svn path=/trunk/mcs/; revision=78949
Raja R Harinath [Fri, 8 Jun 2007 12:58:26 +0000 (12:58 -0000)]
* metadata.c (mono_metadata_load_generic_params): Move
initialization of 'context' field here from ...
* class.c (mono_class_create_from_typedef): ... here, and ...
* loader.c (mono_get_method_from_token): ... here.
svn path=/trunk/mono/; revision=78948
Nagappan Alagappan [Fri, 8 Jun 2007 12:28:57 +0000 (12:28 -0000)]
2007-06-08 Nagappan A <anagappan@novell.com>
* OdbcParameterTest.cs (OdbcTypeTest): The default data type of
OdbcParameter is changed to NVarChar.
svn path=/trunk/mcs/; revision=78945
Raja R Harinath [Fri, 8 Jun 2007 11:52:23 +0000 (11:52 -0000)]
* class.c (get_shared_generic_class): Rename from
mono_get_shared_generic_class and make static.
(mono_get_shared_generic_inst): Move to metadata.c.
* loader.c (mono_get_shared_generic_method): Likewise.
* class-internals.h, metadata-internals.h: Update to changes.
svn path=/trunk/mono/; revision=78940
Ankit Jain [Fri, 8 Jun 2007 11:30:38 +0000 (11:30 -0000)]
* ArrayList.cs (Shift): Clear the unused part of the array when
removing elements.
svn path=/trunk/mcs/; revision=78939
Marek Safar [Fri, 8 Jun 2007 11:14:32 +0000 (11:14 -0000)]
2007-06-08 Marek Safar <marek.safar@gmail.com>
* anonymous.cs (AnonymousContainer): Marked as compiler generated.
svn path=/trunk/mcs/; revision=78938
Raja R Harinath [Fri, 8 Jun 2007 09:41:48 +0000 (09:41 -0000)]
Fix #81830
* class.c (mono_class_from_generic_parameter): Don't assume a
generic container owner exists. Generic containers from monodis
don't have any.
svn path=/trunk/mono/; revision=78937
Jonathan Pobst [Thu, 7 Jun 2007 21:02:18 +0000 (21:02 -0000)]
2007-06-07 Jonathan Pobst <monkey@jpobst.com>
* DefaultLayout.cs: When calculating autosize children, default to
ExplicitSize. After laying out a container's children, if the container
is AutoSize, adjust its size if necessary.
svn path=/trunk/mcs/; revision=78892
Jonathan Pobst [Thu, 7 Jun 2007 20:36:31 +0000 (20:36 -0000)]
2007-06-07 Jonathan Pobst <monkey@jpobst.com>
* Control.cs:
- When we remove a control, remove it from the collection before performing the layout.
- Setup an internal property for explicit_bounds.
- Don't let the UpdateBounds in CreateHandle overwrite our explicit bounds.
- Perform a layout when we set a new AutoSizeMode.
svn path=/trunk/mcs/; revision=78890
Jonathan Pobst [Thu, 7 Jun 2007 19:05:35 +0000 (19:05 -0000)]
2007-06-07 Jonathan Pobst <monkey@jpobst.com>
* ScrollableControlTest.cs: ScrollToControl test is theme dependent due to
the width of scrollbars.
svn path=/trunk/mcs/; revision=78883
Gert Driesen [Thu, 7 Jun 2007 18:02:55 +0000 (18:02 -0000)]
* MailMessageTest.cs: Improved test for To to verify bug #81817 is
fixed.
svn path=/trunk/mcs/; revision=78875
Raja R Harinath [Thu, 7 Jun 2007 15:59:38 +0000 (15:59 -0000)]
Update expected-error strings
svn path=/trunk/mcs/; revision=78856
Raja R Harinath [Thu, 7 Jun 2007 15:59:28 +0000 (15:59 -0000)]
Fix #80477, cs0135-2.cs, cs0135-3.cs
* mcs/statement.cs (ToplevelBlock.ProcessParameters): Add parameter
names to the "known" variables list.
(Block.CheckInvariantMeaningInBlock): Handle the fact the
parameter names are also "known".
(Block.CheckError136): Remove.
(ExplicitBlock.CloneTo): New. Set 'known_variables' in target to null.
* errors/cs0135-2.cs, errors/cs0135-3.cs: New tests for parameter name
conflicts.
svn path=/trunk/mcs/; revision=78855
Jonathan Pobst [Thu, 7 Jun 2007 15:18:42 +0000 (15:18 -0000)]
2007-06-07 Jonathan Pobst <monkey@jpobst.com>
* ScrollableControl.cs: Add 2.0 stuffs.
2007-06-07 Jonathan Pobst <monkey@jpobst.com>
* ScrollableControl.cs: Add test for ScrollToControl.
svn path=/trunk/mcs/; revision=78848
Zoltan Varga [Thu, 7 Jun 2007 15:16:40 +0000 (15:16 -0000)]
2007-06-07 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (peephole_pass): Merge some small changes from the linear-ir
branch.
* cpu-amd64.md: Add long_and/or/xor opcodes.
svn path=/trunk/mono/; revision=78847
Nagappan Alagappan [Thu, 7 Jun 2007 13:10:30 +0000 (13:10 -0000)]
2007-06-06 Amit Biswas <amit@amitbiswas.com>
* OdbcParameter.cs (OdbcParameter ()): Changed default values in the constructor
* OdbcParameterCollection.cs (AddRange (Array values)): Implemented missing method
(Add): Corrected bug related to default parameter names
(Insert): Added check for valid index values
(Contains): Corrected bug for case sensitivity
(IndexOf): Corrected bug for case sensitivity
(IndexOf): Corrected bug in comparing parameter names
(Remove): Added check for non existing parameters
(AddRange (OdbcParameter): Implemented missing method
(AddRange (Array values): Implemented missing method
(Insert (int index, OdbcParameter value)): Implemented missing method
(Insert (int index, object value)): Implemented missing method
(AddWithValue (string parameterName, Object value)): Implemented missing method
(Remove (OdbcParameter value)): Implemented missing method
(Contains (OdbcParameter value)): Implemented missing method
(CopyTo (OdbcParameter [] array, int index)): Implemented missing method
svn path=/trunk/mcs/; revision=78835
Nagappan Alagappan [Thu, 7 Jun 2007 13:09:36 +0000 (13:09 -0000)]
2007-06-07 Nagappan A <anagappan@novell.com>
* DataReaderTest.cs (GetBytesNullBufferTest): Modified the
expected value.
svn path=/trunk/mcs/; revision=78834
Nagappan Alagappan [Thu, 7 Jun 2007 13:07:56 +0000 (13:07 -0000)]
2007-06-07 Amit Biswas <amit@amitbiswas.com>
* OdbcDataReaderTest.cs (GetDataTypeNameTest): Test case to check the returned data type names
(GetDataTypeNameIndexOutOfRangeExceptionTest): Test for out of range exceptions
(GetOrdinalTest): Test case for returned ordinals
(GetOrdinalIndexOutOfRangeExceptionTest): Testing out of range index values
(GetFieldTypeTest): Test case for checking returned field types
(GetFieldTypeIndexOutOfRangeExceptionTest): Test case for checking out of range index values
(GetNameTest): Test for returned name
(GetNameIndexOutOfRangeExceptionTest): Test for out of range index values
* OdbcParameterTest.cs (DefaultValuesTest): Test for default OdbcParameter values
* OdbcParameterCollectionTest.cs (InsertTest): Test for inserting parameters in parameter collection
(InsertNoOverwriteTest): Testing overwriting in Insert
(InsertNullTest): Testing insert for null values
(InsertEmptyTest): Testing insert for empty values
(InsertAlreadyContainedParameterTest): Test for existing parameters
(InsertArgumentGreaterThanCountTest): Testing out of range index values
(InsertNegativeArgumentTest): Test for negative arguments
(InsertNonOdbcParameterTest): Test to insert non Odbc Parameter values
(AddRangeTest): Test for adding a range of values to the parameter collection
(AddRangeParameterAlreadyContainedTest): Test for adding already contained parameters
(AddRangeArgumentNullExceptionTest): Test for null arguments
(AddRangeParameterContainedInAnotherCollTest): Adding range of parameters contained in another collection
(AddRangeMultiDimensionalArrayTest): Test for checking support of multi-dimensional arrays
(AddRangeArrayValuesArgumentNullExceptionTest): Test for null arguments in array values
(ContainsTest): Test for Contains
(ContainsNonOdbcParameterTest): Testing Contains for non-OdbcParameters
(ContainsCaseSensitivityTest) : Test for case sensitivity
(ContainsNotMineTest) : Testing Contains for parameters belonging to another collection
(IndexOfCaseSensitivityTest): Testing case sensitivity for IndexOf
(IndexOfNonOdbcParameterTest): Testing IndexOf for non-OdbcParameters
(CopyToTest): Test for CopyTo method
(CopyToArgumentExceptionTest): Testing for invalid arguments
(CopyToMultiDimensionalArrayTest): Testing CopyTo for multi-dimensional arrays
(CopyToLowerBoundCheckTest): Testing invalid index values
(DuplicateParameterNameTest): Testing support for duplicate parameter names
(RemoveTest): Test for Remove (OdbcParameter)
(RemoveNullTest): Testing Remove for null values
(RemoveEmptyTest): Testing Remove for empty values
(RemoveNonOdbcParameterTest): Testing Remove for non Odbc Parameters
(RemoveNonExistingParameterTest): Testing Remove for non existing Parameters
(RemoveParameterContainedInAnotherCollTest): Removing parameters contained in another collection
(RemoveAtTest): Test for RemoveAt
(RemoveAtOutOfRangeIndexTest): Testing RemoveAt with invalid index
(RemoveAtNegativeIndexTest): Test for negative index
(RemoveAtBoundaryTest): Boundary check for RemoveAt
(AddWithValueTest): Testing AddWithValue with various parameters
(DefaultNamesAndValuesTest): Testing default names and values of parameters
svn path=/trunk/mcs/; revision=78833
Nagappan Alagappan [Thu, 7 Jun 2007 13:06:31 +0000 (13:06 -0000)]
2007-06-07 Nagappan A <anagappan@novell.com>
* SqlCommandTest.cs: Fixes compilation warnings.
svn path=/trunk/mcs/; revision=78832
Marek Safar [Thu, 7 Jun 2007 11:49:53 +0000 (11:49 -0000)]
New test.
svn path=/trunk/mcs/; revision=78830
Marek Safar [Thu, 7 Jun 2007 11:49:06 +0000 (11:49 -0000)]
2007-06-07 Marek Safar <marek.safar@gmail.com>
* ecore.cs (MethodGroupExpr.OverloadResolve): Print full method
definition.
svn path=/trunk/mcs/; revision=78829
Rodrigo Kumpera [Wed, 6 Jun 2007 23:31:29 +0000 (23:31 -0000)]
2007-06-06 Rodrigo Kumpera <kumpera@gmail.com>
* pedump.c: pedump exists with 2 if assembly is not verifiable and 3 if invalid
* verify.h: new typedefs to returns the non-verifiable status
* verify.c: initial implementation of generics, stack merging and object compatibility check
svn path=/trunk/mono/; revision=78795
Rodrigo Kumpera [Wed, 6 Jun 2007 23:24:18 +0000 (23:24 -0000)]
2007-05-06 Rodrigo Kumpera <kumpera@gmail.com>
* Makefile (run-test): Make it use pedump instead of mono for validation
* make_tests.sh: New tests
* invalid_stack_2_tet.il: New test
* make_ret_test.sh: New test script
* make_load_test.sh: New test script
* make_obj_store_test.sh: Test did not generate valid code for some cases
* make_store_test.sh: Test did not generate valid code for some cases
svn path=/trunk/mono/; revision=78794
Wade Berrier [Wed, 6 Jun 2007 22:46:33 +0000 (22:46 -0000)]
2007-06-06 Wade Berrier <wberrier@novell.com>
* cpu-s390x.md (shr_imm): Correct the length of shr_imm instruction.
(./class/lib/monolite/mcs.exe:25498): WARNING **: wrong maximal instruction
length of instruction shr_imm (expected 8, got 10)
svn path=/trunk/mono/; revision=78791
Miguel de Icaza [Wed, 6 Jun 2007 20:43:36 +0000 (20:43 -0000)]
2007-06-06 Miguel de Icaza <miguel@novell.com>
* processes.c (is_managed_binary): Fix for OSX.
svn path=/trunk/mono/; revision=78783
Jonathan Pobst [Wed, 6 Jun 2007 20:42:38 +0000 (20:42 -0000)]
2007-06-06 Jonathan Pobst <monkey@jpobst.com>
* ScrollBar.cs: Add 2.0 stuffs.
2007-06-06 Jonathan Pobst <monkey@jpobst.com>
* ScrollBarTest.cs, SplitterTest.cs: Add some 2.0 tests.
* ScrollBarTest.cs: Comment out several tests that no longer compile due
to bug #81818.
svn path=/trunk/mcs/; revision=78782
Jonathan Pobst [Wed, 6 Jun 2007 19:04:32 +0000 (19:04 -0000)]
2007-06-06 Jonathan Pobst <monkey@jpobst.com>
* Splitter.cs: Add 2.0 stuffs.
svn path=/trunk/mcs/; revision=78780
Miguel de Icaza [Wed, 6 Jun 2007 18:36:40 +0000 (18:36 -0000)]
2007-06-06 Jonathan Gilbert <2a5gjx302@sneakemail.com>
* processes.c: If the executable is a PE executable, call it with
Mono.
This code is an adaptaion of the code that Jonathan Gilber
contributed under the terms of the MIT X11 license (see
mono-devel-list).
svn path=/trunk/mono/; revision=78778
Jonathan Pobst [Wed, 6 Jun 2007 17:37:46 +0000 (17:37 -0000)]
2007-06-06 Jonathan Pobst <monkey@jpobst.com>
* SplitContainer.cs: Apply patch from Neil Cawse <neilcawse@geotab.com>
to have BindingContext simply use base implementation.
svn path=/trunk/mcs/; revision=78773
Jonathan Pobst [Wed, 6 Jun 2007 17:14:08 +0000 (17:14 -0000)]
2007-06-06 Jonathan Pobst <monkey@jpobst.com>
* ButtonTest.cs: BehaviorAutoSize is font dependent, only run on windows.
svn path=/trunk/mcs/; revision=78769
Wade Berrier [Wed, 6 Jun 2007 16:59:40 +0000 (16:59 -0000)]
* atomic.h (InterlockedExchangePointer): cast to pointer to to
silence
compiler warnings (autobuild fails the build on this type of
warning)
svn path=/trunk/mono/; revision=78768
Alan McGovern [Wed, 6 Jun 2007 15:20:54 +0000 (15:20 -0000)]
Fixed typo in event
svn path=/trunk/mcs/; revision=78754
Jonathan Pobst [Wed, 6 Jun 2007 14:42:05 +0000 (14:42 -0000)]
2007-06-06 Jonathan Pobst <monkey@jpobst.com>
* ColumnHeader.cs: corcompare fix.
svn path=/trunk/mcs/; revision=78751
Marek Safar [Wed, 6 Jun 2007 14:33:02 +0000 (14:33 -0000)]
Warnings cleanup
svn path=/trunk/mcs/; revision=78750
Jonathan Pobst [Wed, 6 Jun 2007 14:32:40 +0000 (14:32 -0000)]
2007-06-06 Jonathan Pobst <monkey@jpobst.com>
* Button.cs: corcompare fixes.
* ButtonBase.cs: corcompare fixes, add ButtonBaseAccessibleObject.State.
svn path=/trunk/mcs/; revision=78749
Marek Safar [Wed, 6 Jun 2007 14:31:10 +0000 (14:31 -0000)]
Warnings cleanup
svn path=/trunk/mcs/; revision=78748
Marek Safar [Wed, 6 Jun 2007 14:30:09 +0000 (14:30 -0000)]
Forget to commit.
svn path=/trunk/mcs/; revision=78747
Atsushi Eno [Wed, 6 Jun 2007 14:30:05 +0000 (14:30 -0000)]
2007-06-06 Atsushi Enomoto <atsushi@ximian.com>
* ConvertTest.cs : another bogus DateTime test.
svn path=/trunk/mcs/; revision=78746
Marek Safar [Wed, 6 Jun 2007 14:06:35 +0000 (14:06 -0000)]
New test.
svn path=/trunk/mcs/; revision=78742
Marek Safar [Wed, 6 Jun 2007 14:06:06 +0000 (14:06 -0000)]
2007-06-06 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay: Select, where, cast clauses are now working.
* generics.cs (TypeArguments): New contructor fow known number
of
arguments.
* linq.cs: Moved to separate namespace. Refactored select to use
new
shared functionality. Implemented where and explictly types from
clause.
svn path=/trunk/mcs/; revision=78740
Marek Safar [Wed, 6 Jun 2007 14:05:12 +0000 (14:05 -0000)]
Wrong save
svn path=/trunk/mcs/; revision=78739
Marek Safar [Wed, 6 Jun 2007 14:04:22 +0000 (14:04 -0000)]
2007-06-06 Marek Safar <marek.safar@gmail.com>
* ecore.cs (SimpleName.Emit): Emitting unresolved simple name is
internal
error not an user error.
* expression.cs (IsApplicable): Refactored to make debugging
easier.
* support.cs: More tricks for non-mono runtimes.
* typemanager.cs (CoreLookupType): Made public.
(InitSystemCore): All linq specific stuff moved to linq.cs
svn path=/trunk/mcs/; revision=78738
Jonathan Pobst [Wed, 6 Jun 2007 13:44:54 +0000 (13:44 -0000)]
2007-06-06 Jonathan Pobst <monkey@jpobst.com>
* Button.cs: Override GetPreferredSizeCore.
* ButtonBase.cs: PerformLayout after changing properties that can affect
AutoSize. Simplify some mouse/keyboard code.
* Control.cs: PerformLayout after changing Padding if AutoSize = true.
* MouseEventArgs.cs: Make Location internal for 1.1.
* TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
* Theme.cs: Add CalculateButtonAutoSize.
* ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.
2007-06-06 Jonathan Pobst <monkey@jpobst.com>
* ButtonBaseTest.cs: Add test for default values.
* ButtonTest.cs: Add test for default values, add test for AutoSize.
2007-06-06 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms_test.dll.sources: Add ButtonBaseTest.cs.
svn path=/trunk/mcs/; revision=78737
Zoltan Varga [Wed, 6 Jun 2007 13:09:14 +0000 (13:09 -0000)]
2007-06-06 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.c (mono_arch_output_basic_block): Really fix the build.
svn path=/trunk/mono/; revision=78732
Marek Habersack [Wed, 6 Jun 2007 13:06:23 +0000 (13:06 -0000)]
2007-06-06 Marek Habersack <mhabersack@novell.com>
* Control.cs: more changes to the way TemplateSourceDirectory
works in the 2.0 profile. Take into account situations when a
control is placed in a UserControl (.ascx) and only then fall back
to the parent for its TemplateSourceDirectory.
svn path=/trunk/mcs/; revision=78731
Nagappan Alagappan [Wed, 6 Jun 2007 12:18:56 +0000 (12:18 -0000)]
2007-06-06 Nagappan A <anagappan@novell.com>
* MySQL_5.sql: Fixed EOL and extra spaces.
svn path=/trunk/mcs/; revision=78729
Mark Probst [Wed, 6 Jun 2007 12:17:43 +0000 (12:17 -0000)]
2007-06-06 Mark Probst <mark.probst@gmail.com>
* class.c, image.c, class-internals.h (MonoImage): class_cache is
a MonoInternalHashTable again (fixed bug in internal hash table
code).
svn path=/trunk/mono/; revision=78728
Mark Probst [Wed, 6 Jun 2007 12:01:50 +0000 (12:01 -0000)]
2007-06-06 Mark Probst <mark.probst@gmail.com>
* domain.c, domain-internals.h (MonoDomain): jit_code_hash is a
MonoInternalHashTable again (fixed bug in internal hash table
code).
2007-06-06 Mark Probst <mark.probst@gmail.com>
* mini.c, driver.c: Changed MonoDomain.jit_code_hash to a
MonoInternalHashTable again (fixed bug in the internal hash table
code).
2007-06-06 Mark Probst <mark.probst@gmail.com>
* mono-internal-hash.c: Fixed a bug in the remove entry code.
svn path=/trunk/mono/; revision=78727
Nagappan Alagappan [Wed, 6 Jun 2007 11:50:35 +0000 (11:50 -0000)]
2007-06-06 Nagappan A <anagappan@novell.com>
* MySQL_5.sql: Added more sql statements.
svn path=/trunk/mcs/; revision=78725
Nagappan Alagappan [Wed, 6 Jun 2007 11:20:07 +0000 (11:20 -0000)]
2007-06-06 Nagappan A <anagappan@novell.com>
* System.Data.OracleClient_test.dll.sources: Added
System.Data.OracleClient/OracleParameterCollectionTest.cs
svn path=/trunk/mcs/; revision=78722
Nagappan Alagappan [Wed, 6 Jun 2007 11:19:20 +0000 (11:19 -0000)]
2007-05-25 Amit Biswas <amit@amitbiswas.com>
* OracleParameterCollectionTest.cs: Created the class OracleParameterCollectionTest and added
tests for the properties IsFixedSize, IsReadOnly and IsSynchronized.
svn path=/trunk/mcs/; revision=78721
Nagappan Alagappan [Wed, 6 Jun 2007 11:18:19 +0000 (11:18 -0000)]
2007-05-25 Nidhi Rawal <rawalnidhi_rawal@gmail.com>
* OracleDateTime.cs: Wrote the methods CompareTo (object) and Equals (object).
* OracleClientFactory.cs: Wrote methods CreatePermission (PermissionState) and CreateDataSourceEnumerator ().
* OracleString.cs: Wrote methods GreaterThan (OracleString, OracleString) and
GreaterThanOrEqual (OracleString, OracleString).
* OracleDataAdapter.cs: Wrote the property UpdateBatchSize.
2007-05-25 Amit Biswas <amit@amitbiswas.com>
* OracleParameterCollection.cs: Fixed the bugs in properties IsFixedSize, IsReadOnly and IsSynchronized.
* OracleTimeSpan.cs: Implemented methods CompareTo (object) and Equals (object).
* OracleMonthSpan.cs: Implemented methods CompareTo (object) and Equals (object).
svn path=/trunk/mcs/; revision=78720
Nagappan Alagappan [Wed, 6 Jun 2007 10:40:14 +0000 (10:40 -0000)]
2007-06-06 Nagappan A <anagappan@novell.com>
* DataColumnExpressionTest.cs (DataColumnCharTest): Test case to
check if the data column of type char. Bug # 81625.
svn path=/trunk/mcs/; revision=78718
Nagappan Alagappan [Wed, 6 Jun 2007 10:39:33 +0000 (10:39 -0000)]
2007-06-06 Nagappan A <anagappan@novell.com>
* SqlCommand.cs, SqlConnectionStringBuilder.cs, SqlConnection.cs:
Fixed 1.0 and 2.0 extras, errors as stated in class status page.
* SqlDataAdapter.cs, SqlParameter.cs:Fixed 1.0 and 2.0 extras,
errors as stated in class status page.
* SqlBulkCopyColumnMappingCollection.cs: Fixed 1.0 and 2.0 extras,
errors as stated in class status page.
svn path=/trunk/mcs/; revision=78717
Nagappan Alagappan [Wed, 6 Jun 2007 10:38:43 +0000 (10:38 -0000)]
2007-06-06 Nagappan A <anagappan@novell.com>
* DataTable.cs (Select): Removed ununsed variable.
svn path=/trunk/mcs/; revision=78715
Nagappan Alagappan [Wed, 6 Jun 2007 10:38:13 +0000 (10:38 -0000)]
2007-06-06 Nagappan A <anagappan@novell.com>
* ColumnReference.cs (Unify): Return object as it is, if object
type is char. Fixes bug # 81625.
* Numeric.cs (IsNumeric): Return false if object type is
char. Fixes bug # 81625.
svn path=/trunk/mcs/; revision=78714
Miguel de Icaza [Wed, 6 Jun 2007 04:47:58 +0000 (04:47 -0000)]
2007-06-05 Miguel de Icaza <miguel@novell.com>
* TreeNodeCollection.cs: Applied patch from Neil Cawse <neilcawse@geotab.com>
svn path=/trunk/mcs/; revision=78705
Rodrigo Kumpera [Tue, 5 Jun 2007 23:45:32 +0000 (23:45 -0000)]
2007-06-05 Rodrigo Kumpera <kumpera@gmail.com>
* get.c: Support for variance related generics modifiers: <+T> and <-T>
svn path=/trunk/mono/; revision=78690
Rodrigo Kumpera [Tue, 5 Jun 2007 23:41:43 +0000 (23:41 -0000)]
2006-06-05 Rodrigo Kumpera <kumpera@gmail.com>
* ILParser.jay: Support for variance related generic modifiers <+T> and <-T>
svn path=/trunk/mcs/; revision=78688
Rodrigo Kumpera [Tue, 5 Jun 2007 23:41:16 +0000 (23:41 -0000)]
2007-06-05 Rodrigo Kumpera <kumpera@gmail.com
* generics-variance.il: New. Test for variance related generic modifiers <+T> and <-T>
svn path=/trunk/mcs/; revision=78687
Carlos Alberto Cortez [Tue, 5 Jun 2007 22:53:57 +0000 (22:53 -0000)]
2007-06-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: We can't cache Bounds in VirtualMode
since we can get different item instances every time we retrieve it.
svn path=/trunk/mcs/; revision=78683
Mark Probst [Tue, 5 Jun 2007 22:10:37 +0000 (22:10 -0000)]
2007-06-06 Mark Probst <mark.probst@gmail.com>
* mini.c, driver.c: Reverted the MonoInternalHashTable changes.
Have to figure out what makes them crash the SWF regression.
2007-06-06 Mark Probst <mark.probst@gmail.com>
* class.c, image.c, class-internals.h, domain.c,
domain-internals.h (MonoImage): Reverting MonoInternalHashTable
changes. Have to figure out what makes them break the SWF
regression.
svn path=/trunk/mono/; revision=78682
Zoltan Varga [Tue, 5 Jun 2007 21:00:27 +0000 (21:00 -0000)]
2007-06-05 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.c (mono_arch_lowering_pass): Fix ia64 build.
svn path=/trunk/mono/; revision=78675
Robert Jordan [Tue, 5 Jun 2007 19:42:23 +0000 (19:42 -0000)]
2007-06-05 Robert Jordan <robertj@gmx.net>
* RemotingServicesTest.cs: Add test for bug #81811.
svn path=/trunk/mcs/; revision=78668
Robert Jordan [Tue, 5 Jun 2007 19:39:16 +0000 (19:39 -0000)]
2007-06-05 Robert Jordan <robertj@gmx.net>
* ChannelServices.cs (CreateClientChannelSinkChain):
Provide the URI when channel data is not IChannelDataStore,
otherwise the channels won't be able to obtain the URI.
Fixes #81811.
svn path=/trunk/mcs/; revision=78667
Robert Jordan [Tue, 5 Jun 2007 19:32:02 +0000 (19:32 -0000)]
Set eol-style.
svn path=/trunk/mcs/; revision=78665
Andreia Gaita [Tue, 5 Jun 2007 16:16:01 +0000 (16:16 -0000)]
2007-06-05 Andreia Gaita <avidigal@novell.com>
* build-csproj, build-csproj2k5, swf.csproj, SWF2k5.csproj:
Move external Consts.cs and MonoTODOAttribute.cs dependencies
to the mwf tree, change the build scripts accordingly (so a
user can compile and debug with mwf without having all the mono
source tree).
Remove Mono.Posix reference from build-csproj2k5.
Fix conditional compilation symbols (NET_1_1 should also be
defined on 2.0)
Synch up the *.csproj files
svn path=/trunk/mcs/; revision=78646
Paolo Molaro [Tue, 5 Jun 2007 15:42:10 +0000 (15:42 -0000)]
Tue Jun 5 17:40:04 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini.c: optimizee out the type check when storing null in a
reference array.
svn path=/trunk/mono/; revision=78640
Andreia Gaita [Tue, 5 Jun 2007 15:11:22 +0000 (15:11 -0000)]
2007-06-05 David Ferguson <davecferguson@gmail.com>
* DateTime.cs: Changed DateTime.Parse() to throw a FormatException
instead of an ArgumentOutOfRangeException for .NET 2.0. An
ArgumentOutOfRangeException is still thrown for .NET 1.1.
Fixes bug #77633. Add test.
svn path=/trunk/mcs/; revision=78637
Marek Safar [Tue, 5 Jun 2007 13:43:34 +0000 (13:43 -0000)]
2007-06-05 Marek Safar <marek.safar@gmail.com>
* typemanager.cs (CSharpSignature): One more missing build-in types
replacement.
More tricks for non-mono runtime.
svn path=/trunk/mcs/; revision=78628
Marek Habersack [Tue, 5 Jun 2007 12:50:12 +0000 (12:50 -0000)]
2007-06-05 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: TemplateSourceDirectory in the 2.0
profile uses the TemplateControl property instead of Parent. This
allows to return the correct path.
2007-06-05 Marek Habersack <mhabersack@novell.com>
* Control.cs: TemplateSourceDirectory uses TemplateControl to
lookup the virtual source directory in the 2.0 instead of the
Parent.
ResolveClientUrl copes with empty TemplateSourceDirectory in the
correct way now - the check is made after the basePath checks.
The changes above make ResolveClientUrl work properly when called
from within a control residing in a TemplateControl.
svn path=/trunk/mcs/; revision=78624
Marek Habersack [Tue, 5 Jun 2007 10:07:19 +0000 (10:07 -0000)]
2007-06-03 Kamil Skalski <nazgul@nemerle.org>
* SQLiteConvert.cs: Port function for converting native UTF8 string
into managed string from the old SqliteClient implementation.
Use it instead of PtrToStrAuto, which fails on Windows.
svn path=/trunk/mcs/; revision=78615
Raja R Harinath [Tue, 5 Jun 2007 09:57:11 +0000 (09:57 -0000)]
Make cyclic-dependency handling more readable
* Makefile (MISSING_DEPS): New. Contains the list of cyclic
dependencies that aren't present.
(echo-warning): Simplify drastically.
svn path=/trunk/mcs/; revision=78614
Raja R Harinath [Tue, 5 Jun 2007 09:56:59 +0000 (09:56 -0000)]
* statement.cs (Block.CheckError136_InParents): Remove.
(Block.AddVariable): Use GetParameterInfo instead.
(ToplevelBlock.ProcessArguments): Likewise.
svn path=/trunk/mcs/; revision=78613
Carlos Alberto Cortez [Tue, 5 Jun 2007 04:20:57 +0000 (04:20 -0000)]
2007-06-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Work around for #81602, since an unkown an pretty
infrequent condition appears only in some systems (old linux boxes, it
seems).
svn path=/trunk/mcs/; revision=78609
Atsushi Eno [Mon, 4 Jun 2007 21:17:42 +0000 (21:17 -0000)]
2007-06-04 Atsushi Enomoto <atsushi@ximian.com>
* mono-api-info.cs : fix silliness.
svn path=/trunk/mcs/; revision=78598
Mark Probst [Mon, 4 Jun 2007 20:51:49 +0000 (20:51 -0000)]
2007-06-04 Mark Probst <mark.probst@gmail.com>
* class.c, image.c, class-internals.h (MonoImage): class_cache is
a MonoInternalHashTable now.
svn path=/trunk/mono/; revision=78595
Mark Probst [Mon, 4 Jun 2007 20:49:21 +0000 (20:49 -0000)]
2007-06-04 Mark Probst <mark.probst@gmail.com>
* mini.c, driver.c: Changed MonoDomain.jit_code_hash to a
MonoInternalHashTable.
2007-06-04 Mark Probst <mark.probst@gmail.com>
* domain.c, domain-internals.h (MonoDomain): jit_code_hash is a
MonoInternalHashTable now.
2007-06-04 Mark Probst <mark.probst@gmail.com>
* interp.c, interp.h (RuntimeMethod): Due to the jit_code_hash
change in MonoDomain this had to be changed slightly, too.
svn path=/trunk/mono/; revision=78594
Mark Probst [Mon, 4 Jun 2007 20:37:43 +0000 (20:37 -0000)]
2007-06-04 Mark Probst <mark.probst@gmail.com>
* Makefile.am:
* mono-internal-hash.c, mono-internal-hash.h: Hash table which
uses the value themselves as nodes, hence doesn't have to allocate
nodes.
svn path=/trunk/mono/; revision=78593
Jonathan Pobst [Mon, 4 Jun 2007 20:00:44 +0000 (20:00 -0000)]
2007-06-04 Jonathan Pobst <monkey@jpobst.com>
* Button.cs: Completely reformat and a little refactor to bring
this closer to Mono circa 2007.
svn path=/trunk/mcs/; revision=78587
Jonathan Pobst [Mon, 4 Jun 2007 19:38:37 +0000 (19:38 -0000)]
2007-06-04 Jonathan Pobst <monkey@jpobst.com>
* CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
to be ButtonBase.Invalidate.
svn path=/trunk/mcs/; revision=78585
Jonathan Pobst [Mon, 4 Jun 2007 18:49:52 +0000 (18:49 -0000)]
2007-06-04 Jonathan Pobst <monkey@jpobst.com>
* ButtonBase.cs: GetPreferredSize is 2.0 only. Fixes build.
svn path=/trunk/mcs/; revision=78580
Jonathan Pobst [Mon, 4 Jun 2007 17:35:35 +0000 (17:35 -0000)]
2007-06-04 Jonathan Pobst <monkey@jpobst.com>
* ButtonBase.cs: Completely reformat and a little refactor to bring
this closer to Mono circa 2007.
svn path=/trunk/mcs/; revision=78575
Gert Driesen [Mon, 4 Jun 2007 16:46:55 +0000 (16:46 -0000)]
* PropertyGridTest.cs: Added test for bug #81796, and reworked
SelectedGridItem_Null test to no longer check actual message.
svn path=/trunk/mcs/; revision=78569
Raja R Harinath [Mon, 4 Jun 2007 14:41:01 +0000 (14:41 -0000)]
In mcs:
* statement.cs (ToplevelBlock.CloneTo): New. Copy over parameter
information too.
(ToplevelBlock.GetParameterInfo): Split out of ...
(ToplevelBlock.GetParameterRefernce): ... this.
(ToplevelBlock.ParameterMap): Remove.
* expression.cs (ParameterReference): Update to use
ToplevelParameterInfo.
In gmcs:
* linq.cs (Select.DoResolve): Pass the created parameters to the
ToplevelBlock too.
svn path=/trunk/mcs/; revision=78563
Atsushi Eno [Mon, 4 Jun 2007 14:03:54 +0000 (14:03 -0000)]
2007-06-04 Atsushi Enomoto <atsushi@ximian.com>
* CustomizableLocalFileSettingsProvider.cs : contribution for
LocalFileSettingsProvider implementation, by Noriaki Okimoto
(seara@ojk.sppd.ne.jp), modified by myself to fit for System.dll.
Origin of code license assignment at
http://ojk.sppd.ne.jp/ojkblog/?date=
20070603#p01.
* LocalFileSettingsProvider.cs : rewriting to use above.
Due to some kind of compiler issue it is not enabled yet.
* System.dll.sources :
added CustomizableLocalFileSettingsProvider.cs.
svn path=/trunk/mcs/; revision=78561
Raja R Harinath [Mon, 4 Jun 2007 13:33:51 +0000 (13:33 -0000)]
* statement.cs (ToplevelBlock.ProcessParameters): Workaround some regression.
svn path=/trunk/mcs/; revision=78557