mono.git
16 years agoAdded gtest-exmethod-19.cs
Marek Safar [Tue, 25 Mar 2008 10:20:11 +0000 (10:20 -0000)]
Added gtest-exmethod-19.cs

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

16 years ago2008-03-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 25 Mar 2008 09:48:00 +0000 (09:48 -0000)]
2008-03-25  Mark Probst  <mark.probst@gmail.com>

* mini.c: Generic sharing of the non-nullable case of the box
instruction.

2008-03-25  Mark Probst  <mark.probst@gmail.com>

* generic-box.2.cs: Test case for generic box.

* Makefile.am: Added the new test.

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

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 09:27:54 +0000 (09:27 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* Makefile (check): Add a standard 'check' target which is the same as run-test.

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

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 09:05:41 +0000 (09:05 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* ConstructorInfoTest.cs: Add a test for #373459.

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

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 09:05:04 +0000 (09:05 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* MonoCMethod.cs (Invoke): Avoid a crash if this is called on a ctor of an open
generic type. Fixes #373459.

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

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 08:57:07 +0000 (08:57 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* MethodInfoTest.cs: Add a test for #373448.

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

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 08:53:23 +0000 (08:53 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_InternalInvoke): Return exceptions thrown by the icall
itself in a separate argument instead of throwing them. Fixes #373448.

* appdomain.c: Bump corlib version.

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

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 08:52:10 +0000 (08:52 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* AppDomain.cs: Update after MonoMethod.InternalInvoke signature change.

* Environment.cs: Bump corlib version.

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

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 08:51:11 +0000 (08:51 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* MonoMethod.cs (InternalInvoke): Add an out 'exc' argument used to distinguish
exceptions thrown by the icall from the exceptions thrown by the wrapped method.
Fixes #373448.

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

16 years ago2008-03-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 25 Mar 2008 08:24:32 +0000 (08:24 -0000)]
2008-03-25  Zoltan Varga  <vargaz@gmail.com>

* DateTime.cs: Fix a warning.

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

16 years ago2008-03-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 24 Mar 2008 23:10:54 +0000 (23:10 -0000)]
2008-03-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingSourceTest.cs: Re-activate some tests and also add a new
ones.

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

16 years ago2008-03-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 24 Mar 2008 23:10:11 +0000 (23:10 -0000)]
2008-03-24  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingSource.cs: When resetting our internal list, compute list
item type information to be used for indirect list access. Also
implement/tune some properties and methods related to the list access
too.
* ListBindingHelper.cs: Add a stub for GetListName method, used from
BindingSource.

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

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 21:43:38 +0000 (21:43 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: If RowCount is increased while ColumnCount
is zero, add a column.  [Fixes bug #331649]

2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewTest.cs: Add test for bug #331649.

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

16 years ago2008-03-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Mar 2008 21:41:11 +0000 (21:41 -0000)]
2008-03-24  Zoltan Varga  <vargaz@gmail.com>

* library.make (check): Add a standard check target and make it the same as
run-test.

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

16 years ago2008-03-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Mar 2008 21:33:27 +0000 (21:33 -0000)]
2008-03-24  Zoltan Varga  <vargaz@gmail.com>

* inssel.brg: Fix the build.

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

16 years ago2008-03-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Mar 2008 20:22:28 +0000 (20:22 -0000)]
2008-03-24  Zoltan Varga  <vargaz@gmail.com>

* iltests.il.in: Add a test for lconv.ovf.u8.un.

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

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 19:56:45 +0000 (19:56 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRowCollection.cs: When adding new rows for
databinding, make sure they are place before the add row.
[Fixes bug #343961]

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

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 18:58:10 +0000 (18:58 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRow.cs: Draw cells in column DisplayIndex order
instead of Index order.

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

16 years ago* OdbcTransaction.cs: Use internal CreateOdbcException method on
Gert Driesen [Mon, 24 Mar 2008 18:56:49 +0000 (18:56 -0000)]
* OdbcTransaction.cs: Use internal CreateOdbcException method on
OdbcConnection to create OdbcException.
* OdbcException.cs: Added support for multiple OdbcError instances
and fixed Message property on 2.0 profile.
* OdbcCommand.cs: Use internal CreateOdbcException method on
OdbcConnection to create OdbcException. Code formatting.
* OdbcError.cs: Moved code to obtain ODBC error info to newly
introduced CreateOdbcException on OdbcConnection. Code formatting.
* OdbcDataReader.cs: Use internal CreateOdbcException method on
OdbcTransaction to create OdbcException.
* OdbcParameterCollection.cs: Removed obsolete Bind method.
* OdbcConnection.cs: Added SafeDriver property that returns
name of driver if available and a zero-length string otherwise.
Use CreateOdbcException method to create OdbcException from ODBC
error info. Added CreateOdbcException method to construct
OdbcException from all available ODBC error info.
* OdbcParameter.cs: Use internal CreateOdbcException method on
OdbcConnection to create OdbcException.

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

16 years agoAdded reference to bug #372410.
Rodrigo Kumpera [Mon, 24 Mar 2008 17:52:52 +0000 (17:52 -0000)]
Added reference to bug #372410.

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

16 years ago2008-03-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Mar 2008 17:50:36 +0000 (17:50 -0000)]
2008-03-24  Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c (mono_method_to_ir): Implement readonly for ldelema and
Array:Address.

* iltests.il.in: New tests for readonly prefix.

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

16 years ago2008-03-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 24 Mar 2008 17:17:35 +0000 (17:17 -0000)]
2008-03-24  Zoltan Varga  <vargaz@gmail.com>

* interlocked-2.2.cs: Add tests for Interlocked.Increment/Decrement on longs.

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

16 years agomerge r98884
Igor Zelmanovich [Mon, 24 Mar 2008 17:01:06 +0000 (17:01 -0000)]
merge r98884

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

16 years ago2008-03-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Mar 2008 16:50:52 +0000 (16:50 -0000)]
2008-03-24 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Implemented readonly prefix and verify controled mutability pointers.

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

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 16:50:50 +0000 (16:50 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: If columns are added by increasing ColumnCount,
they need to be DataGridViewTextBoxColumns, not DataGridViewColumn.
[Fixes bug #325588]

2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewTest.cs: Add test for bug #325588.

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

16 years ago2008-03-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 24 Mar 2008 16:49:16 +0000 (16:49 -0000)]
2008-03-24 Rodrigo Kumpera <rkumpera@novell.com>

* make_cmmp_test.sh: Test generator for readonly pointers.

* make_test.sh: New tests using the added generator.

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

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 16:08:06 +0000 (16:08 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Turn off and on the "new row" when
AllowUserToAddRows is toggled.  When the handle is created,
set current cell and selected cell/row/col.

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

16 years ago2008-03-24 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 24 Mar 2008 14:52:29 +0000 (14:52 -0000)]
2008-03-24  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: When navigating the drop down by keyboard, we
need to scroll the list box if our selection moves out of the
currently shown items.  [Fixes bug #371990]

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

16 years agoProject files converted to 2008.
Arina Itkes [Mon, 24 Mar 2008 12:35:59 +0000 (12:35 -0000)]
Project files converted to 2008.

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

16 years ago2008-03-24 Luke Page <luke.a.page@gmail.com>
Luke Page [Mon, 24 Mar 2008 09:40:05 +0000 (09:40 -0000)]
2008-03-24  Luke Page <luke.a.page@gmail.com>

* RichTextBox.cs: Handles visible rtf tag and no longer shows the text
on the control. Also now handles unicode compatibility characters and
stores the unicode compatibility length on the stack. Fixes Bugs
#355198 and #366436.

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

16 years ago* DictionaryBase.cs: Restore previous behavior of indexer for the
Gert Driesen [Mon, 24 Mar 2008 07:59:16 +0000 (07:59 -0000)]
* DictionaryBase.cs: Restore previous behavior of indexer for the
1.0 profile. On 2.0 profile, do nothing in IDictionary.Remove if
the key is not present in the hashtable. On 2.0 profile, we also need
to add entry back to hashtable when an exception is thrown in
OnRemoveComplete.
* DictionaryBaseTest.cs: Improved existing tests, and use Assert class
instead of deriving from deprecated Assertion class. Code formatting.

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

16 years ago * BindingSourceTest.cs: New assertion for DataMember_ListRelationship
Carlos Alberto Cortez [Mon, 24 Mar 2008 00:17:02 +0000 (00:17 -0000)]
* BindingSourceTest.cs: New assertion for DataMember_ListRelationship
test method.

2008-03-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago * BindingSource..cs: Take into account DataMember when re-creating the
Carlos Alberto Cortez [Mon, 24 Mar 2008 00:13:02 +0000 (00:13 -0000)]
* BindingSource..cs: Take into account DataMember when re-creating the
List property, and also create a specific kind of list as needed.

2008-03-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2008-03-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 23 Mar 2008 23:02:13 +0000 (23:02 -0000)]
2008-03-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListBindingHelperTest.cs: New assertion for GetListTest () test
method.

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

16 years ago2008-03-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 23 Mar 2008 23:00:07 +0000 (23:00 -0000)]
2008-03-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListBindingHelper.cs: Add a new case for GetList () method - when we
get an empty IEnumerable, try to detect whether the datamember is
valid or not for that type, if true, return null, and throw exception
otherwise.

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

16 years ago2008-03-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Mar 2008 15:26:24 +0000 (15:26 -0000)]
2008-03-23  Zoltan Varga  <vargaz@gmail.com>

* mini.h mini.c mini-trampolines.c: Move trampoline related code to
mini-trampolines.c.

* mini.h mini.c mini-exceptions.c: Move mini_init_exceptions () to
mini-exceptions.c.

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

16 years ago2008-03-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Mar 2008 13:39:42 +0000 (13:39 -0000)]
2008-03-23  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c mini-s390.c (mono_arch_lowering_pass): Use mono_decompose_op_imm ().

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

16 years ago2008-03-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 23 Mar 2008 13:34:10 +0000 (13:34 -0000)]
2008-03-23  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_decompose_op_imm): New helper function.

* mini-s390x.c (calculate_sizes): Rename this to get_call_info for consistency
with the other architectures, add an 'mp' argument, fold 'sz' argument into the
return value.

* mini-s390x.c: Handle DIV_IMM/REM_IMM in the lowering pass instead of in
mono_arch_output_basic_block. Fix warnings.

* inssel-s390x.brg: Remove the unneccesary OP_LMUL_IMM rule to fix the s390x build
for now.

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

16 years agomerge r98824
Igor Zelmanovich [Sun, 23 Mar 2008 13:10:21 +0000 (13:10 -0000)]
merge r98824

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

16 years agomerge r98819
Igor Zelmanovich [Sun, 23 Mar 2008 09:49:13 +0000 (09:49 -0000)]
merge r98819

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

16 years ago* DataContainerTest.cs: Code formatting.
Gert Driesen [Sun, 23 Mar 2008 09:35:40 +0000 (09:35 -0000)]
* DataContainerTest.cs: Code formatting.
* DbDataAdapterTest.cs: Added test for 2.0 methods.

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

16 years ago* OdbcErrorCollection.cs: Corcompare fixes and code formatting.
Gert Driesen [Sun, 23 Mar 2008 09:30:19 +0000 (09:30 -0000)]
* OdbcErrorCollection.cs: Corcompare fixes and code formatting.
* OdbcCommandBuilder.cs: Corcompare fixes and code formatting.
* OdbcPermission.cs: Corcompare fixes and code formatting.
* OdbcDataReader.cs: Corcompare fixes and code formatting.
* OdbcParameterCollection.cs: Corcompare fixes and code formatting.
* OdbcConnection.cs: Corcompare fixes and code formatting. Use
unicode encoding in ChangeDatabase and GetInfo.
* OdbcDataAdapter.cs: Corcompare fixes and code formatting.
* OdbcParameter.cs: Corcompare fixes and code formatting.

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

16 years ago* DataSet.cs: Corcompare fix.
Gert Driesen [Sun, 23 Mar 2008 09:17:31 +0000 (09:17 -0000)]
* DataSet.cs: Corcompare fix.
* IDataRecord.cs: Corcompare fix.

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

16 years ago* DbDataAdapter.cs: Corcompare fixes and code formatting.
Gert Driesen [Sun, 23 Mar 2008 09:15:34 +0000 (09:15 -0000)]
* DbDataAdapter.cs: Corcompare fixes and code formatting.
* DbDataRecord.cs: Corcompare fixes and code formatting.
* DataColumnMappingCollection.cs: Corcompare fixes and code formatting.
* RowUpdatedEventArgs.cs: Corcompare fixes and code formatting.
* DbParameterCollection.cs: Corcompare fixes and code formatting.

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

16 years ago2008-03-22 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 22 Mar 2008 17:33:25 +0000 (17:33 -0000)]
2008-03-22  Sebastien Pouliot  <sebastien@ximian.com>
* Graphics.cs: Fix typo in exception and provide a bit more details.

2008-03-21  Geoff Norton  <gnorton@novell.com>

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 15:43:58 +0000 (15:43 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (ves_icall_get_frame_info): Remove the ia64/s390 workarounds
since the extra frame is now detected automatically inside the loop.

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 15:32:12 +0000 (15:32 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* mini-s390.c (mono_arch_peephole_pass_2): Remove the arch independent peephole
opts which are now in mono_peephole_ins ().

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

16 years ago* DataViewSettingCollection.cs: Corcompare fixes and code formatting.
Gert Driesen [Sat, 22 Mar 2008 15:27:28 +0000 (15:27 -0000)]
* DataViewSettingCollection.cs: Corcompare fixes and code formatting.
* SyntaxErrorException.cs: Corcompare fixes and code formatting.
* EvaluateException.cs: Corcompare fixes and code formatting.
* StrongTypingException.cs: Coecompare fixes and code formatting.
* ReadOnlyException.cs: Corcompare fixes and code formatting.
* DataTableCollection.cs: Corcompare fixes and code formatting.
* MissingPrimaryKeyException.cs: Corcompare fixes and code formatting.
* DeletedRowInaccesibleException.cs: Corcompare fixes and code
formatting.
* DataSet.cs: Corcompare fixes and code formatting.
* DuplicateNameException.cs: Corcompare fixes and code formatting.
* DataView.cs: Corcompare fixes and code formatting.
* VersionNotFoundException.cs: Corcompare fixes and code formatting.
* MergeFailedEventArgs.cs: Corcomare fixes and code formatting.
* InvalidExpressionException.cs: Corcompare fixes and code formatting.
* DBConcurrencyException.cs: Corcompare fixes and code formatting.
* DataRowView.cs: Corcompare fixes and code formatting.
* DataViewManager.cs: Corcompare fixes and code formatting.
* ConstraintException.cs: Corcompare fixes and code formatting.
* InvalidConstraintException.cs: Corcompare fixes and code formatting.
* IDataRecord.cs: Corcompare fixes.
* RowNotInTableException.cs: Corcompare fixes and code formatting.
* TypeDataSetGeneratorException.cs: Corcompare fixes and code
formatting.
* InRowChangingEventException.cs: Corcompare fixes and code formatting.
* NoNullAllowedException.cs: Corcompare fixes and code formatting.
* DataException.cs: Corcompare fixes and code formatting.

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 15:26:11 +0000 (15:26 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* mini-s390.c (mono_arch_output_basic_block): Fix OP_FCALL_MEMBASE.

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 15:04:56 +0000 (15:04 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Pass CPPFLAGS to libgc configure using ac_configure_args instead
of exporting it. Fixes #373113.

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 14:05:46 +0000 (14:05 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (ves_icall_get_frame_info): Skip native-to-managed wrapper
frames and skip duplicate managed-to-native frames. Fixes #367665.

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 13:42:41 +0000 (13:42 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* mini-x86.c (mono_arch_peephole_pass_1): Remove the arch independent peephole
opts which are now in mono_peephole_ins ().
(mono_arch_peephole_pass_2): Ditto.

* mini-codegen.c (mono_peephole_ins): Fix a problem on 32 bit platforms.

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 13:14:49 +0000 (13:14 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_peephole_ins): New helper function containing the
arch independent peephole optimizations.

* mini-amd64.c (mono_arch_peephole_pass_1): Remove the arch independent peephole
opts which are now in mono_peephole_ins ().

* mini-amd64.c (mono_arch_peephole_pass_2): Ditto.

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

16 years agoio-layer.h: Windows: Rename GetProcessId to __GetProcessId for targets not supporting...
Kornél Pál [Sat, 22 Mar 2008 12:25:01 +0000 (12:25 -0000)]
io-layer.h: Windows: Rename GetProcessId to __GetProcessId for targets not supporting it. This fixes MSVC build with new Windows SDKs that declare GetProcessId unconditionally.

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 10:44:13 +0000 (10:44 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* profiles/net_3_5.make (PROFILE_MCS_FLAGS): Get rid of obsolete
-langversion:linq option.

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 09:40:44 +0000 (09:40 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* mini-s390.c (mono_arch_output_basic_block): Fix build.

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

16 years ago2008-03-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 22 Mar 2008 03:22:12 +0000 (03:22 -0000)]
2008-03-22  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: Alt-Down should drop down the list, Esc should
retract it.  [Fixes bug #371989]

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 00:44:40 +0000 (00:44 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* tramp-s390.c (mono_arch_get_vcall_slot): Handle an additional instruction
pattern.

* mini-s390.c (mono_arch_output_basic_block): Handle big offsets in the
CALL_MEMBASE opcodes. Fix setting of the destination in the OP_LCONV_TO_OVF_I
opcode.

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 00:44:00 +0000 (00:44 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* mini-s390.c (mono_arch_output_basic_block): Handle big offsets in the
CALL_MEMBASE opcodes. Fix setting of the destination in the OP_LCONV_TO_OVF_I
opcode.

* mini-s390.h mini-s390.c: Avoid using the same registers for local and global
reg allocation. Finish the S390 port.

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

16 years ago2008-03-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 22 Mar 2008 00:26:39 +0000 (00:26 -0000)]
2008-03-22  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGrid.cs: Initialize the sorting button as pushed.

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

16 years ago2008-03-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sat, 22 Mar 2008 00:20:07 +0000 (00:20 -0000)]
2008-03-22  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGrid.cs:
 - Visually select the PropertyTab.
 - Filter Properties by Attributes properly.

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

16 years ago2008-03-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 22 Mar 2008 00:10:22 +0000 (00:10 -0000)]
2008-03-22  Zoltan Varga  <vargaz@gmail.com>

* assemblyresolve/Makefile.am (MCS): Use gmcs.exe instead of mcs.exe.

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

16 years ago* libodbc.cs: Always use unicode version of ODBC functions. Fixes part
Gert Driesen [Fri, 21 Mar 2008 21:00:55 +0000 (21:00 -0000)]
* libodbc.cs: Always use unicode version of ODBC functions. Fixes part
of bug #372823.
* OdbcTypeMap.cs: Fixed mapping for NChar, NText and NVarChar.
* OdbcDataReader.cs (GetColumn): Use Unicode encoding to decode
column name buffer.
(GetDataTypeName): Use SQLColAttribute to determine type name of
column.
(GetValue): Fixed retrieving value of nchar column. When retrieving
variable length unicode value, use Unicode encoding to decode buffer
and remove trailing null characters. Fixes bug #364430.

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

16 years ago2008-03-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 21 Mar 2008 19:13:40 +0000 (19:13 -0000)]
2008-03-21  Jonathan Pobst  <monkey@jpobst.com>

* MenuItem.cs: Remove menu item from parent when disposed.
[Fixes bug #372845]

2008-03-21  Jonathan Pobst  <monkey@jpobst.com>

* MenuItemTest.cs: Add test for #372845.

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

16 years ago2008-03-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 21 Mar 2008 19:13:35 +0000 (19:13 -0000)]
2008-03-21  Zoltan Varga  <vargaz@gmail.com>

* libtest.c: Fix missing return in mono_marshal_alloc (). Disable or fix all
warnings.

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

16 years ago2008-03-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 21 Mar 2008 19:04:22 +0000 (19:04 -0000)]
2008-03-21  Sebastien Pouliot  <sebastien@ximian.com>

* DictionaryBaseTest.cs: Add test case to see when and how OnGet
is being called.

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

16 years ago2008-03-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 21 Mar 2008 19:03:10 +0000 (19:03 -0000)]
2008-03-21  Sebastien Pouliot  <sebastien@ximian.com>

* DictionaryBase.cs: Fix getter on IDictionary.this to avoid two
access to the hashtable and to behave more closely to MS
implementation (see new unit tests).

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

16 years ago2008-03-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 21 Mar 2008 18:51:14 +0000 (18:51 -0000)]
2008-03-21  Jonathan Pobst  <monkey@jpobst.com>

* ToolBar.cs: Don't reset layout_type if Dock = None.

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

16 years ago2008-03-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 21 Mar 2008 18:22:10 +0000 (18:22 -0000)]
2008-03-21  Zoltan Varga  <vargaz@gmail.com>

* assemblyresolve/Makefile.am: Use the 2.0 profile for compilation.

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

16 years agoclean
Jb Evain [Fri, 21 Mar 2008 17:57:02 +0000 (17:57 -0000)]
clean

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

16 years ago2008-03-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 21 Mar 2008 17:16:27 +0000 (17:16 -0000)]
2008-03-21  Sebastien Pouliot  <sebastien@ximian.com>

* String.cs: Use "this" in Split method instead of calling ToString.
Found using Gendarme.

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

16 years ago* System.Windows.Forms/UserControl.cs: Select the first available
Andreia Gaita [Fri, 21 Mar 2008 17:12:04 +0000 (17:12 -0000)]
* System.Windows.Forms/UserControl.cs: Select the first available
  control when we get focus. Fixes #372616
* Test/System.Windows.Forms/FocusTest.cs: New test for #372616. Checks
  if a control inside a UserControl is selected when UserControl gets
  focus.

2008-03-21  Andreia Gaita <avidigal@novell.com>

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

16 years agoIn System.Windows.Forms.CarbonInternal:
Geoff Norton [Fri, 21 Mar 2008 17:00:33 +0000 (17:00 -0000)]
In System.Windows.Forms.CarbonInternal:
2008-03-21  Geoff Norton  <gnorton@novell.com>

* KeyboardHandler.cs: Fix mapping of Delete.

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

16 years agoIn System.Drawing:
Geoff Norton [Fri, 21 Mar 2008 15:07:08 +0000 (15:07 -0000)]
In System.Drawing:
2008-03-31  Geoff Norton  <gnorton@novell.com>

* carbonFunctions.cs: Disable QDContext caching for now.  It's
causing crashes in the finalizer code.

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

16 years agocorlib_test.dll.sources: Add unit tests for EqualityComparer
Sebastien Pouliot [Fri, 21 Mar 2008 14:43:07 +0000 (14:43 -0000)]
corlib_test.dll.sources: Add unit tests for EqualityComparer

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

16 years ago2008-03-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 21 Mar 2008 14:42:08 +0000 (14:42 -0000)]
2008-03-21  Sebastien Pouliot  <sebastien@ximian.com>

* EqualityComparer.cs: Add null checks in GetHashCode. Fix bug
#372892

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

16 years ago2008-03-21 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 21 Mar 2008 14:41:52 +0000 (14:41 -0000)]
2008-03-21  Sebastien Pouliot  <sebastien@ximian.com>

* EqualityComparerTest.cs: New. Add test cases for using null with
GetHashCode (bug #372892).

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

16 years ago2008-03-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 21 Mar 2008 14:33:54 +0000 (14:33 -0000)]
2008-03-21  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs, DataGridViewTextBoxCell.cs: Don't paint
the content if we are in edit mode.  [Fixes bug #343964]

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

16 years ago2008-03-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 21 Mar 2008 14:23:07 +0000 (14:23 -0000)]
2008-03-21  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: Fix border painting for column headers.

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

16 years ago2008-03-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 21 Mar 2008 12:56:46 +0000 (12:56 -0000)]
2008-03-21  Zoltan Varga  <vargaz@gmail.com>

* mini-s390.c (calculate_sizes): Rename this to get_call_info for consistency
with the other architectures, add an 'mp' argument, fold 'sz' argument into the
return value.

* mini-s390.c: Handle DIV_IMM/REM_IMM in the lowering pass instead of in
mono_arch_output_basic_block. Fix warnings.

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

16 years ago2008-03-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 21 Mar 2008 12:11:42 +0000 (12:11 -0000)]
2008-03-21  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReflectionImporter.cs : set key for imported type mapping so
  that generated serializer does not result in duplicate key error.
  Fixed bug #372780.

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

16 years ago2008-03-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 21 Mar 2008 08:33:52 +0000 (08:33 -0000)]
2008-03-21  Atsushi Enomoto  <atsushi@ximian.com>

        * CustomizableFileSettingsProvider.cs : fix possible NRE for
          SettingsContext.Current.

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

16 years ago2008-03-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 21 Mar 2008 03:52:15 +0000 (03:52 -0000)]
2008-03-21  Atsushi Enomoto  <atsushi@ximian.com>

* CustomizableFileSettingsProvider.cs : some hash calculation
  improvements by the author.

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

16 years ago2008-03-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 20 Mar 2008 23:49:59 +0000 (23:49 -0000)]
2008-03-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingSourceTest.cs: New assertion case for DataSource, passing an
instance of IListSource.
* ListBindingHelperTest.cs: Make ListSource class internal.

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

16 years ago2008-03-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 20 Mar 2008 23:48:26 +0000 (23:48 -0000)]
2008-03-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingSource.cs: When setting or resetting data source,
use ListBindingHelper.GetList () method, since it will get the list in
case datasource is IListSource.

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

16 years agoMade gmcs specific
Marek Safar [Thu, 20 Mar 2008 23:26:11 +0000 (23:26 -0000)]
Made gmcs specific

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

16 years ago2008-03-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Mar 2008 22:37:34 +0000 (22:37 -0000)]
2008-03-20  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: Implement lots more stuffs.

2008-03-20  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCellTest.cs: Tests for newly implemented stuffs.

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

16 years agotests for lifted not
Jb Evain [Thu, 20 Mar 2008 22:13:44 +0000 (22:13 -0000)]
tests for lifted not

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

16 years agotests for Convert
Jb Evain [Thu, 20 Mar 2008 22:09:22 +0000 (22:09 -0000)]
tests for Convert

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

16 years ago2008-03-20 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 20 Mar 2008 20:23:21 +0000 (20:23 -0000)]
2008-03-20  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGridView.cs, GridEntry.cs: Implement support for
UITypeEditor.IsDropDownResizable.

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

16 years agoupdate
Jb Evain [Thu, 20 Mar 2008 20:04:15 +0000 (20:04 -0000)]
update

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

16 years agoadd file for testing convert operations
Jb Evain [Thu, 20 Mar 2008 20:02:59 +0000 (20:02 -0000)]
add file for testing convert operations

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

16 years agoadd null checks for convert
Jb Evain [Thu, 20 Mar 2008 20:02:15 +0000 (20:02 -0000)]
add null checks for convert

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

16 years agoIn .:
Geoff Norton [Thu, 20 Mar 2008 19:13:25 +0000 (19:13 -0000)]
In .:
2008-03-20  Geoff Norton  <gnorton@novell.com>

* build-iphone.sh: Add CPLUS_INCLUDE_PATH.

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

16 years agosvn path=/trunk/mcs/; revision=98681
Igor Zelmanovich [Thu, 20 Mar 2008 16:09:49 +0000 (16:09 -0000)]
svn path=/trunk/mcs/; revision=98681

16 years ago2008-03-20 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Thu, 20 Mar 2008 16:08:17 +0000 (16:08 -0000)]
2008-03-20  Igor Zelmanovich  <igorz@mainsoft.com>

* Configuration.cs:
* ConfigurationElement.cs:
implement EvaluationContext property.

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

16 years ago2008-03-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 20 Mar 2008 15:12:03 +0000 (15:12 -0000)]
2008-03-20  Zoltan Varga  <vargaz@gmail.com>

* inssel-long32.brg: Add rules for long conv.ovf.i/conv.ovf.u/conv.ovf.i.un/
conv.ovf.u.un.

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

16 years ago2008-03-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 20 Mar 2008 15:11:28 +0000 (15:11 -0000)]
2008-03-20  Zoltan Varga  <vargaz@gmail.com>

* inssel-long.brg: Add rules for long conv.ovf.i/conv.ovf.u/conv.ovf.i.un/
conv.ovf.u.un.

* iltests.il: Add new tests.

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

16 years ago2008-03-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 20 Mar 2008 14:57:03 +0000 (14:57 -0000)]
2008-03-20  Zoltan Varga  <vargaz@gmail.com>

* inssel-long.brg: Add rules for long conv.ovf.i/conv.ovf.u/conv.ovf.i.un/
conv.ovf.u.un.

* iltests.il: Add new tests.

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

16 years ago2008-03-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 20 Mar 2008 14:55:25 +0000 (14:55 -0000)]
2008-03-20  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCell.cs: Remove unused variables, improve how
several of the property getters work.
* DataGridViewRow.cs: Don't call setSize on a cell, cell should
get its size from the parent row/col.

2008-03-20  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCellTest.cs: Don't verify exception message,
throwing the exception is enough.

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