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
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
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
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
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
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
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
Igor Zelmanovich [Sun, 23 Mar 2008 13:10:21 +0000 (13:10 -0000)]
merge r98824
svn path=/trunk/mcs/; revision=98825
Igor Zelmanovich [Sun, 23 Mar 2008 09:49:13 +0000 (09:49 -0000)]
merge r98819
svn path=/trunk/mcs/; revision=98820
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jb Evain [Fri, 21 Mar 2008 17:57:02 +0000 (17:57 -0000)]
clean
svn path=/trunk/mcs/; revision=98753
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Thu, 20 Mar 2008 23:26:11 +0000 (23:26 -0000)]
Made gmcs specific
svn path=/trunk/mcs/; revision=98708
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
Jb Evain [Thu, 20 Mar 2008 22:13:44 +0000 (22:13 -0000)]
tests for lifted not
svn path=/trunk/mcs/; revision=98700
Jb Evain [Thu, 20 Mar 2008 22:09:22 +0000 (22:09 -0000)]
tests for Convert
svn path=/trunk/mcs/; revision=98699
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
Jb Evain [Thu, 20 Mar 2008 20:04:15 +0000 (20:04 -0000)]
update
svn path=/trunk/mcs/; revision=98690
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
Jb Evain [Thu, 20 Mar 2008 20:02:15 +0000 (20:02 -0000)]
add null checks for convert
svn path=/trunk/mcs/; revision=98688
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
Igor Zelmanovich [Thu, 20 Mar 2008 16:09:49 +0000 (16:09 -0000)]
svn path=/trunk/mcs/; revision=98681
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
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
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
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
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
Marek Safar [Thu, 20 Mar 2008 14:52:20 +0000 (14:52 -0000)]
2008-03-20 Marek Safar <marek.safar@gmail.com>
* Path.cs (Combine): Call ToString to optimize concatenation.
svn path=/trunk/mcs/; revision=98675
Marek Safar [Thu, 20 Mar 2008 14:49:33 +0000 (14:49 -0000)]
2008-03-20 Marek Safar <marek.safar@gmail.com>
* location.cs: Use string based concatenation.
* expression.cs: LiftedBinaryOperator is gmcs only.
svn path=/trunk/mcs/; revision=98674
Ivan Zlatev [Thu, 20 Mar 2008 14:31:40 +0000 (14:31 -0000)]
2008-03-20 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs: Ensure PropertiesTab is visible even if the
user alters manually the PropertyTabs collection via the
PropertyTabs property.
svn path=/trunk/mcs/; revision=98672
Marek Safar [Thu, 20 Mar 2008 14:13:36 +0000 (14:13 -0000)]
Disabled gcs0133, until it's clarified
svn path=/trunk/mcs/; revision=98671
Marek Safar [Thu, 20 Mar 2008 14:12:09 +0000 (14:12 -0000)]
Enabled more tests.
svn path=/trunk/mcs/; revision=98670
Marek Safar [Thu, 20 Mar 2008 14:11:42 +0000 (14:11 -0000)]
2008-03-20 Marek Safar <marek.safar@gmail.com>
* generic.cs, literal.cs, ecore.cs, expression.cs: Ongoing work on nullable
conversions rules and expression trees.
svn path=/trunk/mcs/; revision=98669
Kornél Pál [Thu, 20 Mar 2008 11:21:49 +0000 (11:21 -0000)]
Moved Windows version macros to CPPFLAGS in configure.in from individual source files to ensure Windows version compatibility; winconfig.h: Added compile-time feature detection and support for 64-bit Windows versions. Updated VERSION to 1.9.
svn path=/trunk/mono/; revision=98664
Jb Evain [Thu, 20 Mar 2008 08:44:46 +0000 (08:44 -0000)]
unrevert now that gmcs is fixed
svn path=/trunk/mcs/; revision=98659
Mark Probst [Thu, 20 Mar 2008 06:45:54 +0000 (06:45 -0000)]
2008-03-20 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c, class-internals.h: Code for putting
reflection types into the runtime generic context.
2008-03-20 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c: Put reflection types in the extensible part
of the runtime generic context.
* mini.c: Generic sharing of the GetTypeHandle special case of the
ldtoken instruction.
2008-03-20 Mark Probst <mark.probst@gmail.com>
* generics-sharing.2.cs: Test cases for ldtoken.
svn path=/trunk/mono/; revision=98658
Carlos Alberto Cortez [Thu, 20 Mar 2008 06:41:27 +0000 (06:41 -0000)]
2008-03-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelperTest.cs: Update GetListTest with new assertions.
Also add GetListItemProperties tests - not working by now, but should
guide us to a correct implementation.
svn path=/trunk/mcs/; revision=98657
Carlos Alberto Cortez [Thu, 20 Mar 2008 06:38:02 +0000 (06:38 -0000)]
2008-03-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBindingHelper.cs: Implement -previously- ignored cases. We have
new tests for them to be sure to be compatible with .net.
svn path=/trunk/mcs/; revision=98656
Jb Evain [Thu, 20 Mar 2008 06:36:12 +0000 (06:36 -0000)]
2008-03-20 Jb Evain <jbevain@novell.com>
* Expression.cs: use the new and more complete IsAssignableTo
instead of IsAssignableFrom.
svn path=/trunk/mcs/; revision=98655
Bill Holmes [Thu, 20 Mar 2008 01:46:06 +0000 (01:46 -0000)]
Fixing date in my last ChangeLog entry.
svn path=/trunk/mono/; revision=98652
Bill Holmes [Thu, 20 Mar 2008 01:45:03 +0000 (01:45 -0000)]
2007-03-19 Bill Holmes <billholmes54@gmail.com>
* eglib/src/gpath.c (g_path_is_absolute) : Adding a case for '/'
on Windows.
* eglib/src/gpath.c (g_get_user_name) : On Windows add a check for %USERNAME%
when %USER% fails.
* eglib/src/gstr.c (g_strsplit, g_strsplit_set): Change to remove truncation
errors with MSVC build.
* eglib/src/gstr.c (g_filename_to_uri, g_filename_from_uri): Fixes to handle
Windows paths.
* eglib/src/gstr.c (g_ascii_strncasecmp): Convert each character to lower case
before comparing.
* eglib/src/gunicode.c (g_get_charset): Implement for Windows.
* msvc/libmono.vcproj: Adding a link to version.lib for the eglib targets.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=98651
Andreia Gaita [Thu, 20 Mar 2008 00:28:48 +0000 (00:28 -0000)]
* System.Windows.Forms/WebBrowserBase.cs: Fix attributes, add events
* System.Windows.Forms/WebBrowser.cs: Fix Padding signature
2008-03-20 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=98650
Ivan Zlatev [Wed, 19 Mar 2008 23:31:16 +0000 (23:31 -0000)]
2008-03-20 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs, PropertyGridView.cs: Implement PropertyTab support.
* propertygrid-categorized.png, PropertiesTab.bmp,
propertygrid-alphabetical.png, EventsTab.bmp,
propertygrid-propertypages.png: Add Tango icons for PropertyGrid.
* resources/System.Windows.Forms.resx: Remove some old
PropertyGrid icons.
* Makefile, System.Windows.Forms.dll.resources: Updated to reflect
the resource changes for PropertyGrid.
svn path=/trunk/mcs/; revision=98647
Ivan Zlatev [Wed, 19 Mar 2008 23:18:16 +0000 (23:18 -0000)]
2008-03-19 Ivan N. Zlatev <contact@i-nz.net>
* PropertiesTab.cs: Implement.
svn path=/trunk/mcs/; revision=98646
Ivan Zlatev [Wed, 19 Mar 2008 23:15:30 +0000 (23:15 -0000)]
2008-03-20 Ivan N. Zlatev <contact@i-nz.net>
* EventsTab.cs: Complete implementation.
svn path=/trunk/mcs/; revision=98645
Zoltan Varga [Wed, 19 Mar 2008 22:50:53 +0000 (22:50 -0000)]
2008-03-20 Zoltan Varga <vargaz@gmail.com>
* mini.h (MONO_BB_FOR_EACH_INS_SAFE): New helper macro.
* mini-<ARCH>.c: Use the new macro instead in the peephole/lowering passes.
svn path=/trunk/mono/; revision=98642
Ivan Zlatev [Wed, 19 Mar 2008 22:47:42 +0000 (22:47 -0000)]
2008-03-19 Ivan N. Zlatev <contact@i-nz.net>
* PropertyTabAttribute.cs: Implement Equals, bugfixes and refactorings.
svn path=/trunk/mcs/; revision=98641
Ivan Zlatev [Wed, 19 Mar 2008 22:38:53 +0000 (22:38 -0000)]
2008-03-19 Ivan N. Zlatev <contact@i-nz.net>
* MultilineStringEditor.cs: Handle null value by forcing an
empty string to be edited.
[Fixes bug #372264]
svn path=/trunk/mcs/; revision=98640
Zoltan Varga [Wed, 19 Mar 2008 22:24:31 +0000 (22:24 -0000)]
2008-03-20 Zoltan Varga <vargaz@gmail.com>
* mini.h (MONO_DEL_INS): Rename to MONO_DELETE_INS and Add a 'bb' argument for
consistency with the other version on the linear IR branch.
* mini-<ARCH>.c: Update callers of MONO_DEL_INS.
svn path=/trunk/mono/; revision=98638
Zoltan Varga [Wed, 19 Mar 2008 22:12:39 +0000 (22:12 -0000)]
2008-03-20 Zoltan Varga <vargaz@gmail.com>
* inssel-long32.brg inssel-long.brg: Add rules for conv.ovf.i/conv.ovf.u.
* iltests.il.in: Add new tests.
svn path=/trunk/mono/; revision=98637
Zoltan Varga [Wed, 19 Mar 2008 22:02:59 +0000 (22:02 -0000)]
2008-03-19 Zoltan Varga <vargaz@gmail.com>
* inssel-long32.brg inssel-long.brg: Add rules for conv.ovf.i.un/conv.ovf.u.un.
* iltests.il.in: Add new tests.
svn path=/trunk/mono/; revision=98636
Jb Evain [Wed, 19 Mar 2008 21:45:42 +0000 (21:45 -0000)]
refactoring
svn path=/trunk/mcs/; revision=98635
Zoltan Varga [Wed, 19 Mar 2008 21:20:08 +0000 (21:20 -0000)]
2008-03-19 Zoltan Varga <vargaz@gmail.com>
* configure.in: Fix a typo.
svn path=/trunk/mono/; revision=98634
Jb Evain [Wed, 19 Mar 2008 21:14:51 +0000 (21:14 -0000)]
now working
svn path=/trunk/mcs/; revision=98633
Jb Evain [Wed, 19 Mar 2008 21:14:32 +0000 (21:14 -0000)]
2008-03-19 Jb Evain <jbevain@novell.com>
* LambdaExpression.cs: use the new standardified IsAssignableTo,
fixes ExpressionTest_NewArrayBounds.TestArrayAssignability.
svn path=/trunk/mcs/; revision=98632
Jb Evain [Wed, 19 Mar 2008 21:13:08 +0000 (21:13 -0000)]
2008-03-19 Jb Evain <jbevain@novell.com>
* Extensions.cs (Type.IsAssignableTo): deal with arrays.
svn path=/trunk/mcs/; revision=98631
Mark Probst [Wed, 19 Mar 2008 17:30:09 +0000 (17:30 -0000)]
2008-03-19 Mark Probst <mark.probst@gmail.com>
* mini.c: Two variables with the same name were declared in
nesting contexts and one wasn't initialized. Fixed.
svn path=/trunk/mono/; revision=98609
Jb Evain [Wed, 19 Mar 2008 17:21:15 +0000 (17:21 -0000)]
test I wrote while discussing with marek
svn path=/trunk/mcs/; revision=98608