Nagappan Alagappan [Tue, 24 Jul 2007 06:41:33 +0000 (06:41 -0000)]
2007-07-24 Nagappan A <anagappan@novell.com>
* TdsMetaParameter.cs (Prepare): Fixes Large strings truncated
with SqlClient - Bug # 82170.
svn path=/trunk/mcs/; revision=82530
Jonathan Pobst [Mon, 23 Jul 2007 20:47:38 +0000 (20:47 -0000)]
missed a NET_2_0
svn path=/trunk/mcs/; revision=82526
Jonathan Pobst [Mon, 23 Jul 2007 20:43:37 +0000 (20:43 -0000)]
2007-07-23 Jonathan Pobst <monkey@jpobst.com>
* LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.
svn path=/trunk/mcs/; revision=82525
Jb Evain [Mon, 23 Jul 2007 19:54:26 +0000 (19:54 -0000)]
blah
svn path=/trunk/mcs/; revision=82524
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 17:48:49 +0000 (17:48 -0000)]
* DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
DataGridViewSelectedColumnCollection.cs,
DataGridViewSelectedRowCollection.cs: Corcompare work.
svn path=/trunk/mcs/; revision=82519
Paolo Molaro [Mon, 23 Jul 2007 17:29:45 +0000 (17:29 -0000)]
Mon Jul 23 19:43:14 CEST 2007 Paolo Molaro <lupus@ximian.com>
* class.c, metadata.c, class-internals.h: introduce yet another
generics global cache for inflated methods (fixes 98% of the perf
issue in bug #81806).
svn path=/trunk/mono/; revision=82518
Miguel de Icaza [Mon, 23 Jul 2007 16:26:59 +0000 (16:26 -0000)]
2007-07-23 Miguel de Icaza <miguel@novell.com>
* expression.cs (Binary): Add support for the brain-dead CSC 2.x
feature that allows structs to be compared against null and inline
the result as true or false.
Notice that the same code is not permitted inside a generic block
of code that would do:
class Foo<T> where T : struct {
bool Eval (T x)
{
return x == null;
}
}
It is only allowed if the type of T is not bound (no where
clause). In my opinion, this CSC 2 behavior is broken but people
seem to be using it (IronRuby does, a few bug reports on bugzilla
have it and some people have complained about it).
All of the users that depend on this behavior have code that is
very likely broken.
* report.cs (Warning, Error): make these take object arguments,
not strings, as that allows us to take advantage of Format.
svn path=/trunk/mcs/; revision=82517
Konstantin Triger [Mon, 23 Jul 2007 16:03:00 +0000 (16:03 -0000)]
implemented session support
svn path=/trunk/mcs/; revision=82516
Konstantin Triger [Mon, 23 Jul 2007 16:01:45 +0000 (16:01 -0000)]
refactoring
svn path=/trunk/mcs/; revision=82515
Raja R Harinath [Mon, 23 Jul 2007 15:23:15 +0000 (15:23 -0000)]
Fix #81035 -- avoid allocating MonoGenericInsts willy-nilly
* metadata.c (mono_metadata_lookup_generic_inst): Kill.
(mono_metadata_get_generic_inst): New. Given a list of MonoType*,
return a MonoGenericInst containing (a copy) of those types.
(mono_metadata_inflate_generic_inst): Update to changes.
(mono_metadata_parse_generic_inst): Likewise.
(mono_get_shared_generic_inst): Likewise.
* reflection.c (mono_class_bind_generic_parameters): Likewise.
(mono_reflection_bind_generic_method_parameters): Likewise.
* metadata-internals.h: Likewise.
* icall.c (free_generic_context): Kill.
(init_generic_context_from_args): Use mono_metadata_get_generic_inst.
svn path=/trunk/mono/; revision=82514
Miguel de Icaza [Mon, 23 Jul 2007 15:17:20 +0000 (15:17 -0000)]
And also, enable LINQ
svn path=/trunk/mono/; revision=82513
Miguel de Icaza [Mon, 23 Jul 2007 15:13:59 +0000 (15:13 -0000)]
Also reference Silverlight assemblies by default
svn path=/trunk/mono/; revision=82512
Jonathan Pobst [Mon, 23 Jul 2007 14:59:17 +0000 (14:59 -0000)]
2007-07-23 Jonathan Pobst <monkey@jpobst.com>
* PrintDialog.cs: Stub UseEXDialog. I chose to stub this because
it is autoset by VS2005 designer and the effect is barely noticeable.
svn path=/trunk/mcs/; revision=82510
Igor Zelmanovich [Mon, 23 Jul 2007 14:39:22 +0000 (14:39 -0000)]
2007-07-28 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: refactoring: __doPostBack client script
It is a part of adapting System.Web to work whith
System.Web.Extensions (AJAX).
svn path=/trunk/mcs/; revision=82509
Jonathan Pobst [Mon, 23 Jul 2007 14:35:26 +0000 (14:35 -0000)]
2007-07-23 Jonathan Pobst <monkey@jpobst.com>
* TreeView.cs: Implement HitTest.
svn path=/trunk/mcs/; revision=82508
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:33:00 +0000 (14:33 -0000)]
* System.Windows.Forms_test.dll.sources: Added
ArrangedElementCollectionTest.cs
svn path=/trunk/mcs/; revision=82507
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:31:38 +0000 (14:31 -0000)]
* ArrangedElementCollectionTest.cs: Added.
svn path=/trunk/mcs/; revision=82506
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:31:25 +0000 (14:31 -0000)]
* ArrangedElementCollection.cs: Implement NotSupported behaviour
confirmed by tests.
svn path=/trunk/mcs/; revision=82505
Yoni Klain [Mon, 23 Jul 2007 14:25:04 +0000 (14:25 -0000)]
By : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : SSys.CultureInfo.CurrentCulture.numberFormat
svn path=/trunk/mcs/; revision=82504
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:23:04 +0000 (14:23 -0000)]
Fix ChangeLog entry.
svn path=/trunk/mcs/; revision=82503
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:21:34 +0000 (14:21 -0000)]
* CurrencyManagerTest.cs: More tests.
svn path=/trunk/mcs/; revision=82501
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 14:19:21 +0000 (14:19 -0000)]
* DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
manually adding and removing the control from the Controls
collecftion.
* DataGridView.cs: Implement DataGridViewControlCollection. Add an
EditingControlInternal property that tracks the editing control.
Always keeping the scrollbars in the Controls collection, as MS
testing confirms is the right behaviour.
svn path=/trunk/mcs/; revision=82498
Yoni Klain [Mon, 23 Jul 2007 14:07:45 +0000 (14:07 -0000)]
By : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : Sys.CultureInfo.CurrentCulture.dateTimeFormat
svn path=/trunk/mcs/; revision=82496
Yoni Klain [Mon, 23 Jul 2007 14:05:22 +0000 (14:05 -0000)]
By : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : Sys.CultureInfo.CurrentCulture.dateTimeFormat
svn path=/trunk/mcs/; revision=82495
Jb Evain [Mon, 23 Jul 2007 14:03:52 +0000 (14:03 -0000)]
oops
svn path=/trunk/mcs/; revision=82494
Raja R Harinath [Mon, 23 Jul 2007 13:49:36 +0000 (13:49 -0000)]
* reflection.c (reflection_methodbuilder_to_mono_method): Use
mono_metadata_type_dup.
* marshal.c (mono_mb_create_method): Likewise.
svn path=/trunk/mono/; revision=82493
Yoni Klain [Mon, 23 Jul 2007 13:20:37 +0000 (13:20 -0000)]
By : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : Sys.Application
svn path=/trunk/mcs/; revision=82492
Raja R Harinath [Mon, 23 Jul 2007 12:58:08 +0000 (12:58 -0000)]
oops. Wrong version.
svn path=/trunk/mono/; revision=82491
Raja R Harinath [Mon, 23 Jul 2007 12:55:30 +0000 (12:55 -0000)]
* metadata.c (mono_metadata_type_dup): Rename from
mono_metadata_type_dup_mp. Take an optional mempool instead of a
MonoImage. Handle a few more cases, esp. when no mempool is given.
* marshal.c, metadata-internals.h: Update to changes.
svn path=/trunk/mono/; revision=82490
Raja R Harinath [Mon, 23 Jul 2007 12:52:02 +0000 (12:52 -0000)]
Fix 'make warnings'.
* build/library.make (install-local) [GAC]: If LIBRARY_PACKAGE is set to
'none' don't install a symlink from a package directory into the gac.
* class/Mono.Cecil/Makefile (LIBRARY_PACKAGE): Set to none.
(install-local): Remove.
svn path=/trunk/mcs/; revision=82489
Jb Evain [Mon, 23 Jul 2007 12:49:29 +0000 (12:49 -0000)]
update
svn path=/trunk/mono/; revision=82488
Jb Evain [Mon, 23 Jul 2007 12:47:13 +0000 (12:47 -0000)]
update README
svn path=/trunk/mcs/; revision=82487
Jb Evain [Mon, 23 Jul 2007 12:42:42 +0000 (12:42 -0000)]
2007-07-23 Jb Evain <jbevain@novell.com>
* Mono.Linker/Driver.cs
Mono.Linker/LinkContext.cs:
Allow one to specify the action to apply to an assembly
from the command line.
svn path=/trunk/mcs/; revision=82486
Bill Holmes [Mon, 23 Jul 2007 12:29:22 +0000 (12:29 -0000)]
2007-07-23 William Holmes <billholmes54@gmail.com>
* decl.cs: Changed MemberName.CountTypeArguments to also check
the Left member variable for the Count.
* doc.cs: Changed DocUtil.GetMethodDocCommentName to call
MemberName.CountTypeArguments to avoid a NRE.
This code is contributed under the MIT X11 license
svn path=/trunk/mcs/; revision=82485
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 12:21:00 +0000 (12:21 -0000)]
* ScrollableControl.cs: Fix implementation of AutoScrollPosition
according to MSDN and new test.
svn path=/trunk/mcs/; revision=82483
Rolf Bjarne Kvinge [Mon, 23 Jul 2007 12:18:49 +0000 (12:18 -0000)]
* ScrollableControlTest.cs: Added AutoScrollPositiontest
svn path=/trunk/mcs/; revision=82482
Konstantin Triger [Mon, 23 Jul 2007 11:24:50 +0000 (11:24 -0000)]
set caching
svn path=/trunk/mcs/; revision=82480
Konstantin Triger [Mon, 23 Jul 2007 11:10:50 +0000 (11:10 -0000)]
correct relative paths
svn path=/trunk/mcs/; revision=82478
Vladimir Krasnov [Mon, 23 Jul 2007 10:57:55 +0000 (10:57 -0000)]
* XmlTypeMapping.cs: fixed XmlSerializableMapping ctor, corrected when qualified name is empty
* XmlSchemaExporter.cs: fixed SetSchemaXmlSerializableType when schema provider method returns null schema
svn path=/trunk/mcs/; revision=82476
Paolo Molaro [Mon, 23 Jul 2007 09:28:06 +0000 (09:28 -0000)]
Mon Jul 23 11:43:31 CEST 2007 Paolo Molaro <lupus@ximian.com>
* class.c: fixed a small leak for array classes and removed warning.
svn path=/trunk/mono/; revision=82470
Konstantin Triger [Mon, 23 Jul 2007 09:01:55 +0000 (09:01 -0000)]
calculate AppRelativeTemplateSourceDirectory from HttpContext when control is not in control collection
svn path=/trunk/mcs/; revision=82469
Paolo Molaro [Mon, 23 Jul 2007 08:25:22 +0000 (08:25 -0000)]
Mon Jul 23 10:40:35 CEST 2007 Paolo Molaro <lupus@ximian.com>
* timefuncs.c: make TickCount measure from boot time if it's
available.
svn path=/trunk/mono/; revision=82468
Paolo Molaro [Mon, 23 Jul 2007 08:14:18 +0000 (08:14 -0000)]
Mon Jul 23 10:29:29 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini.h, mini.c, driver.c: temporary smcs hack.
svn path=/trunk/mono/; revision=82467
Yoni Klain [Mon, 23 Jul 2007 08:11:46 +0000 (08:11 -0000)]
By : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : PartialPageRenderingOverview
svn path=/trunk/mcs/; revision=82466
Paolo Molaro [Mon, 23 Jul 2007 07:13:46 +0000 (07:13 -0000)]
Mon Jul 23 09:29:34 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini-arm.h, mini-arm.c: arm EABI fixes.
svn path=/trunk/mono/; revision=82465
Nagappan Alagappan [Mon, 23 Jul 2007 06:39:42 +0000 (06:39 -0000)]
2007-07-23 Nagappan A <anagappan@novell.com>
* TdsBulkCopy.cs: Removed all the Namespace that are not
required.
svn path=/trunk/mcs/; revision=82464
Nagappan Alagappan [Mon, 23 Jul 2007 06:06:41 +0000 (06:06 -0000)]
2007-07-23 Nagappan A <anagappan@novell.com>
* SqlCommandBuilder.cs (ApplyParameterInfo, GetParameterName):
(GetParameterPlaceholder): Implemented 2.0 missing APIs.
svn path=/trunk/mcs/; revision=82463
Miguel de Icaza [Mon, 23 Jul 2007 05:51:55 +0000 (05:51 -0000)]
Add CopyPath, CopyPathFlat, AppendPath
svn path=/trunk/mcs/; revision=82462
Miguel de Icaza [Sun, 22 Jul 2007 22:38:40 +0000 (22:38 -0000)]
Delete the file before the copy, this might fix 82083
svn path=/trunk/mono/; revision=82454
Jb Evain [Sun, 22 Jul 2007 20:00:37 +0000 (20:00 -0000)]
refactor to use GetOriginalType
svn path=/trunk/mcs/; revision=82452
Jb Evain [Sun, 22 Jul 2007 20:00:18 +0000 (20:00 -0000)]
fix step name
svn path=/trunk/mcs/; revision=82451
Jb Evain [Sun, 22 Jul 2007 19:55:51 +0000 (19:55 -0000)]
2007-07-22 Jb Evain <jbevain@novell.com>
* Mono.Linker/LinkContext.cs:
If no file found with -a, try to resolve it.
svn path=/trunk/mcs/; revision=82450
Jb Evain [Sun, 22 Jul 2007 19:54:57 +0000 (19:54 -0000)]
2007-07-22 Jb Evain <jbevain@novell.com>
* Mono.Linker/Driver.cs
Mono.Linker/Pipeline.cs:
Adjust the visibility only once, even with multiple -i.
svn path=/trunk/mcs/; revision=82449
Jb Evain [Sun, 22 Jul 2007 19:51:01 +0000 (19:51 -0000)]
rename
svn path=/trunk/mcs/; revision=82448
Zoltan Varga [Sun, 22 Jul 2007 19:30:26 +0000 (19:30 -0000)]
2007-07-22 Zoltan Varga <vargaz@gmail.com>
* exceptions-x86.c (mono_arch_find_jit_info): Handle the lmf->method == NULL
case.
* tramp-x86.c (mono_arch_create_trampoline_code): Only set lmf->method for
trampolines taking a method argument.
svn path=/trunk/mono/; revision=82446
Zoltan Varga [Sun, 22 Jul 2007 18:36:50 +0000 (18:36 -0000)]
2007-07-22 Zoltan Varga <vargaz@gmail.com>
* mini-x86.h (MonoLMF): Add an 'esp' field plus comments.
* mini-x86.c (mono_arch_emit_prolog): Update after changes to the LMF structure.
* tramp-x86.c (mono_arch_create_trampoline_code): Ditto.
* exceptions-x86.c (mono_arch_get_jit_info): Properly clean up the stack after
JIT compilation throws an exception. Fixes #82050.
svn path=/trunk/mono/; revision=82445
Zoltan Varga [Sun, 22 Jul 2007 16:05:52 +0000 (16:05 -0000)]
2007-07-22 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_method_get_param_token): Make this work on generic methods.
Return 0x8000000 for return parameters. Fixes #82161.
svn path=/trunk/mono/; revision=82444
Konstantin Triger [Sun, 22 Jul 2007 15:41:51 +0000 (15:41 -0000)]
base AppRelativeTemplateSourceDirectory property on TemplateControl; implement special behavior of Control.TemplateControl for TemplateControl instances
svn path=/trunk/mcs/; revision=82443
Yoni Klain [Sun, 22 Jul 2007 15:12:23 +0000 (15:12 -0000)]
By : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : IScriptControlTutorial1
svn path=/trunk/mcs/; revision=82442
Adar Wesley [Sun, 22 Jul 2007 15:11:30 +0000 (15:11 -0000)]
Fixed selenium tests to open relative and not absolute paths.
svn path=/trunk/mcs/; revision=82441
Adar Wesley [Sun, 22 Jul 2007 15:08:30 +0000 (15:08 -0000)]
Fixed some errors in the tests.
svn path=/trunk/mcs/; revision=82440
Yoni Klain [Sun, 22 Jul 2007 14:43:13 +0000 (14:43 -0000)]
By : Yonik <yonik@mainsoft.com>
New tests for QuickStarts test suite : ExtenderControlTutorial1
svn path=/trunk/mcs/; revision=82439
Igor Zelmanovich [Sun, 22 Jul 2007 12:56:09 +0000 (12:56 -0000)]
added Microsoft Permissive License text
svn path=/trunk/mcs/; revision=82438
Igor Zelmanovich [Sun, 22 Jul 2007 12:47:31 +0000 (12:47 -0000)]
added MicrosoftAjaxLibrary - System.Web.Extensions client scripts
svn path=/trunk/mcs/; revision=82437
Jb Evain [Sun, 22 Jul 2007 11:18:24 +0000 (11:18 -0000)]
use new GetOriginalType method
svn path=/trunk/mcs/; revision=82435
Yoni Klain [Sun, 22 Jul 2007 10:55:00 +0000 (10:55 -0000)]
svn path=/trunk/mcs/; revision=82434
Vladimir Krasnov [Sun, 22 Jul 2007 10:51:49 +0000 (10:51 -0000)]
* HttpServerUtility.cs: fixed Execute, SetCurrentExePath should be called after ApplicationInstance.GetHandler call in case of GetHandler fails for some reason
svn path=/trunk/mcs/; revision=82433
Igor Zelmanovich [Sun, 22 Jul 2007 10:35:56 +0000 (10:35 -0000)]
typo fix
svn path=/trunk/mcs/; revision=82432
Nagappan Alagappan [Sun, 22 Jul 2007 07:09:26 +0000 (07:09 -0000)]
2007-07-22 Nagappan A <anagappan@novell.com>
* SqlBulkCopy.cs (NotifyAfter): Implemented 2.0 property.
(GetColumnMetaData, GenerateColumnMetaData):
(ValidateColumnMapping): Implemented private method's to generate
and validate SqlBulkCopy headers.
(BulkCopyToServer): Private method to actually do the bulk copy
processing.
(WriteToServer): Implemented 2.0 missing overloaded methods.
(IDisposable.Dispose): Implemented 2.0 missing method.
* SqlBulkCopyColumnMappingCollection.cs (Add, CopyTo): Implemented
missing API.
(Item): Implemented missing property.
* SqlBulkCopyColumnMapping.cs: Modified the implementation of
Constructors to use property.
* SqlDataReader.cs (GetSqlXml, IsCommandBehaviour): Added 2.0
missing method.
(Connection): Added missing property.
* SqlParameter.cs (SetSqlDbType, ConvertToFrameworkType): Modified
method as internal from private.
* SqlConnection.cs: Fixed 2.0 missing feature.
* SqlException.cs: Fixed 2.0 missing feature.
* SqlClientPermission.cs: Fixed 2.0 missing feature.
svn path=/trunk/mcs/; revision=82428
Gert Driesen [Sun, 22 Jul 2007 06:57:28 +0000 (06:57 -0000)]
* AutoResetEventTest.cs: Added test for verifying effect of assigning
new SafeWaitHandle on the previous one. Use meaningful names for
tests. Avoid unref warning. Removed usage of deprecated Assertion
class. Spaces to tabs.
svn path=/trunk/mcs/; revision=82427
Nagappan Alagappan [Sun, 22 Jul 2007 06:54:05 +0000 (06:54 -0000)]
2007-07-22 Nagappan A <anagappan@novell.com>
* DataRow.cs: Added internal set property for Table in 2.0
profile.
* DataColumn.cs: Added internal set property for Table in 2.0
profile.
svn path=/trunk/mcs/; revision=82426
Nagappan Alagappan [Sun, 22 Jul 2007 06:51:25 +0000 (06:51 -0000)]
2007-07-22 Nagappan A <anagappan@novell.com>
* OleDbDataReader.cs: Fixed compilation warning.
* OleDbParameterCollection.cs: Fixed compilation warning.
* OleDbTransaction.cs: Fixed compilation warning.
* OleDbCommandBuilder.cs: Fixed compilation warning.
svn path=/trunk/mcs/; revision=82425
Nagappan Alagappan [Sun, 22 Jul 2007 06:48:16 +0000 (06:48 -0000)]
2007-07-22 Nagappan A <anagappan@novell.com>
* OdbcDataAdapter.cs: Fixed compilation warning.
* OdbcTransaction.cs: Fixed compilation warning.
svn path=/trunk/mcs/; revision=82424
Nagappan Alagappan [Sun, 22 Jul 2007 06:43:35 +0000 (06:43 -0000)]
2007-07-22 Nagappan A <anagappan@novell.com>
* SqlTransactionTest.cs: Added exception handling.
svn path=/trunk/mcs/; revision=82423
Nagappan Alagappan [Sun, 22 Jul 2007 06:42:40 +0000 (06:42 -0000)]
2007-07-22 Nagappan A <anagappan@novell.com>
* DbConnection.cs: 2.0 missing features.
* DbDataAdapter.cs: 2.0 missing features.
svn path=/trunk/mcs/; revision=82422
Nagappan Alagappan [Sun, 22 Jul 2007 06:32:19 +0000 (06:32 -0000)]
2007-07-22 Nagappan A <anagappan@novell.com>
* Mono.Data.Tds.dll.sources: Added
Mono.Data.Tds.Protocol/TdsBulkCopy.cs.
svn path=/trunk/mcs/; revision=82421
Nagappan Alagappan [Sun, 22 Jul 2007 06:31:43 +0000 (06:31 -0000)]
2007-07-22 Nagappan A <anagappan@novell.com>
* TdsBulkCopy.cs: Added new file to handle the bulk copy
operation.
* Tds.cs (ExecBulkCopyMetaData, ExecBulkCopy): Added new methods
to send and receive bulk data information.
* Tds70.cs (IsBlobType, IsLargeType): Moved methods to Tds.cs.
* TdsComm.cs: Fixed 2.0 compilation warnings.
* Tds50.cs: Fixed compilation warnings.
* Tds42.cs: Fixed compilation warnings.
* TdsPacketType.cs: Added Bulk type.
svn path=/trunk/mcs/; revision=82420
Miguel de Icaza [Sat, 21 Jul 2007 21:18:51 +0000 (21:18 -0000)]
Apply Gert's version of the AutoResetEvent, and merge his test
into NUnit.
Test3 is known to be buggy (no harm, as our code just reports a
warning from the iolayer)
svn path=/trunk/mcs/; revision=82419
Jb Evain [Sat, 21 Jul 2007 19:22:57 +0000 (19:22 -0000)]
2007-07-21 Jb Evain <jbevain@novell.com>
* Mono.Cecil/TypeReference.cs
Mono.Cecil/TypeSpecification.cs:
Add a new GetOriginalType () method.
* Mono.Cecil/MethodReference.cs
Mono.Cecil/MethodSpecification.cs:
Add a new GetOriginalMethod () method.
svn path=/trunk/mcs/; revision=82418
Jb Evain [Sat, 21 Jul 2007 16:08:46 +0000 (16:08 -0000)]
2007-07-21 Jb Evain <jbevain@novell.com>
* Mono.Linker.Steps/SweepStep.cs:
Sweep memberrefs along with the typerefs.
svn path=/trunk/mcs/; revision=82417
Jb Evain [Sat, 21 Jul 2007 15:34:17 +0000 (15:34 -0000)]
update ToStrings to take sentinels into account
svn path=/trunk/mcs/; revision=82416
Gert Driesen [Sat, 21 Jul 2007 13:37:11 +0000 (13:37 -0000)]
* DisplayNameAttribute.cs: To match MS, do not change null DisplayName
to a zero-length string. Modified IsDefaultAttribute to take into
account null DisplayName.
* DisplayNameAttribute.cs: Added ctor tests. Fixed tests to pass on
MS (now that our implementation matches that of MS). Added tests
for Default, GetHashCode and Equals.
svn path=/trunk/mcs/; revision=82414
Gert Driesen [Sat, 21 Jul 2007 09:15:36 +0000 (09:15 -0000)]
* InstanceDescriptor.cs: Allow null members. Fixed exception messages.
For properties, do not perform argument check. Fixed Invoke to return
null when member is null or when member is not ctor, method, field or
property (eg. a type). Removed obsolete HasThis method.
* InstanceDescriptorTest.cs: Improved ctor tests. Added tests for
properties and fields.
svn path=/trunk/mcs/; revision=82411
Gert Driesen [Sat, 21 Jul 2007 09:03:40 +0000 (09:03 -0000)]
* BitConverter.cs: Fixed exceptions to match MS. Fixed invalid use
of ArgumentOutOfRangeException and ArgumentException ctors that take
both parameter name and message. In ToString throws ArgumentException
instead of ArgumentOutOfRangeException when length is negative, and
return zero-length string when length is 0.
* BitConverterTest.cs: Remove use of deprecated Assertion class.
Improved existing tests to verify throws exception. Create separate
tests for null argument checking. Added tests for empty byte array.
svn path=/trunk/mcs/; revision=82410
Marek Habersack [Sat, 21 Jul 2007 00:26:17 +0000 (00:26 -0000)]
2007-07-21 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: clean up the dynamic base directory on domain
shutdown.
2007-07-21 Marek Habersack <mhabersack@novell.com>
* ApplicationHost.cs: ClearDynamicBaseDirectory becomes an
internal method.
svn path=/trunk/mcs/; revision=82403
Rodrigo Kumpera [Fri, 20 Jul 2007 22:30:46 +0000 (22:30 -0000)]
2007-07-20 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added more visibility tests
* Makefile: changed again the clean target to work with the larger number of tests
* make_self_nested_test.sh: new visibility tests
svn path=/trunk/mono/; revision=82391
Marek Habersack [Fri, 20 Jul 2007 22:17:18 +0000 (22:17 -0000)]
2007-07-21 Marek Habersack <mhabersack@novell.com>
* appdomain.c (get_shadow_assembly_location): append the current
ticks value to the path. Avoids overwriting the same assemblies by
several threads at the same time.
svn path=/trunk/mono/; revision=82390
Jonathan Pobst [Fri, 20 Jul 2007 22:10:23 +0000 (22:10 -0000)]
2007-07-20 Jonathan Pobst <monkey@jpobst.com>
* TreeNode.cs: Implement ToolTipText.
* TreeView.cs: Implement tooltips, NodeMouse* events.
svn path=/trunk/mcs/; revision=82389
Jonathan Pobst [Fri, 20 Jul 2007 20:56:39 +0000 (20:56 -0000)]
2007-07-20 Jonathan Pobst <monkey@jpobst.com>
* TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.
svn path=/trunk/mcs/; revision=82388
Jonathan Pobst [Fri, 20 Jul 2007 19:56:23 +0000 (19:56 -0000)]
2007-07-20 Jonathan Pobst <monkey@jpobst.com>
* TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
* TreeView.cs: Use the node's contextmenu[strip] if applicable.
svn path=/trunk/mcs/; revision=82386
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 17:48:34 +0000 (17:48 -0000)]
Committing patch from Ivan N. Zlatev <contact@i-nz.net>.
svn path=/trunk/mcs/; revision=82379
Jonathan Pobst [Fri, 20 Jul 2007 17:43:39 +0000 (17:43 -0000)]
2007-07-20 Jonathan Pobst <monkey@jpobst.com>
* TreeNode.cs: Implement StateImageIndex and StateImageKey.
* TreeView.cs: Implement StateImageList.
svn path=/trunk/mcs/; revision=82376
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 17:41:41 +0000 (17:41 -0000)]
* Form.cs: Don't check if the current form is the active form before
activating it. Fixes #81904.
svn path=/trunk/mcs/; revision=82374
Gert Driesen [Fri, 20 Jul 2007 17:38:42 +0000 (17:38 -0000)]
* corlib_test.dll.sources: added RuntimeMethodHandleTest.cs.
* RuntimeMethodHandleTest.cs: Added operator and Equals tests.
* MethodInfoTest.cs: Added GetMethodFromHandle test for generic type.
svn path=/trunk/mcs/; revision=82373
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 17:00:38 +0000 (17:00 -0000)]
* Form.cs: Don't check if the current form is the active form before
activating it. Fixes #81904.
svn path=/trunk/mcs/; revision=82371
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 16:30:24 +0000 (16:30 -0000)]
* TreeView.cs: Apply patch from Tyron (tmm@aon.at). Fixes #81847.
svn path=/trunk/mcs/; revision=82368
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 16:23:59 +0000 (16:23 -0000)]
* Form.cs: Don't try to position the form after loading if the form was
disposed. Fixes #81969.
svn path=/trunk/mcs/; revision=82367
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 16:23:29 +0000 (16:23 -0000)]
* FormHandleTest.cs: Make a couple of classes public, so that other
tests can use them.
* FormTest.cs: Added tests for #81969.
svn path=/trunk/mcs/; revision=82366
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 16:06:13 +0000 (16:06 -0000)]
* ComboBoxTests.cs, ComboBoxTest.cs: Unified ComboBoxTest.cs and
ComboBoxTests.cs, deleted ComboBoxTests.cs
svn path=/trunk/mcs/; revision=82363
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 16:05:36 +0000 (16:05 -0000)]
* System.Windows.Forms_test.dll.sources: Unified ComboBoxTest.cs and
ComboBoxTests.cs, deleted ComboBoxTests.cs
* SWF2k5-tests.csproj: Updated.
svn path=/trunk/mcs/; revision=82362