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
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 14:57:46 +0000 (14:57 -0000)]
* PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
properties. Had to change ToolBar into ToolStrip, which required a
few #ifs.
svn path=/trunk/mcs/; revision=82354
Jonathan Pobst [Fri, 20 Jul 2007 14:19:04 +0000 (14:19 -0000)]
2007-07-20 Jonathan Pobst <monkey@jpobst.com>
* ToolStripPainter.cs: Patch from Rolf. We weren't painting a
Checked button as sunken. [Fixes bug #82151]
svn path=/trunk/mcs/; revision=82353
Raja R Harinath [Fri, 20 Jul 2007 13:22:16 +0000 (13:22 -0000)]
* MethodInfoTest.cs (GetGenericMethodDefinition): New. Based on
Atsushi's testcase in #78068.
svn path=/trunk/mcs/; revision=82352
Raja R Harinath [Fri, 20 Jul 2007 13:21:23 +0000 (13:21 -0000)]
2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
and Raja R Harinath <rharinath@novell.com>
* icall.c (ves_icall_MonoMethod_get_IsGenericMethodDefinition):
Simplify slightly.
(ves_icall_MonoMethod_GetGenericMethodDefinition): Update
property for testing if a method is a generic method definition.
svn path=/trunk/mono/; revision=82351
Atsushi Eno [Fri, 20 Jul 2007 12:55:49 +0000 (12:55 -0000)]
2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
* AppDomainSetup.cs : fix serialization regression.
svn path=/trunk/mcs/; revision=82350
Rolf Bjarne Kvinge [Fri, 20 Jul 2007 10:20:59 +0000 (10:20 -0000)]
* PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
resized, fixes part of #79829 (vertical lines in toolbar).
PropertyGrid: Refactored Populate* to something that's easier to
follow at least for me, as well as splitting it up into several new
methods, required to update only subitems when something has
changed by a popup editor or listbox. Don't use events to check
when any values are changed, since the events are unreliable (we're
changing the objects the events are registered with, and if the
event handling requires the objects to be immutable (objects stored
in hashtables for instance), the events will never be raised).
* PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
everytime we change a value, since events are unreliable.
DropDownButtonClicked: For the same reason don't compare objects to
check if it has changed or not, it would require all objects to
derive Equals. Fix dialog location on windows, MS is doing weird
things when creating parented forms.
* GridEntry.cs: Add a SelectedObject setter.
svn path=/trunk/mcs/; revision=82347
Atsushi Eno [Fri, 20 Jul 2007 09:49:09 +0000 (09:49 -0000)]
2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
* AppDomainSetup.cs :
MonoTODO AppDomainInitializer as its implementation is wrong.
svn path=/trunk/mcs/; revision=82346
Jb Evain [Fri, 20 Jul 2007 09:26:57 +0000 (09:26 -0000)]
2007-07-20 Jb Evain <jbevain@novell.com>
* Mono.Linker.Steps/AdjustVisibilityStep.cs:
Don't change the visibility of the members if the type
is marked internal.
svn path=/trunk/mcs/; revision=82345
Raja R Harinath [Fri, 20 Jul 2007 09:15:51 +0000 (09:15 -0000)]
* Makefile.am (bug-81691.exe): Create it in the builddir.
svn path=/trunk/mono/; revision=82344
Atsushi Eno [Fri, 20 Jul 2007 09:12:32 +0000 (09:12 -0000)]
2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
* AppDomainSetup.cs : added missing 2.0 members.
* AppDomain.cs : support AppDomainInitializer.
* AppDomainSetupTest.cs : added test for AppDomainInitializer.
svn path=/trunk/mcs/; revision=82343
Atsushi Eno [Fri, 20 Jul 2007 09:12:08 +0000 (09:12 -0000)]
2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
* domain-internals.h : added 2.0 member fields to MonoAppDomainSetup.
svn path=/trunk/mono/; revision=82342
Atsushi Eno [Fri, 20 Jul 2007 09:04:20 +0000 (09:04 -0000)]
2007-07-20 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : I wonder how long its build
has been broken ...
svn path=/trunk/mcs/; revision=82340
Jb Evain [Fri, 20 Jul 2007 08:57:40 +0000 (08:57 -0000)]
2007-07-20 Jb Evain <jbevain@novell.com>
* Makefile: no need for the deps for installing in 2.1.
svn path=/trunk/mcs/; revision=82339
Rodrigo Kumpera [Thu, 19 Jul 2007 22:56:17 +0000 (22:56 -0000)]
svn path=/trunk/mono/; revision=82331
Rodrigo Kumpera [Thu, 19 Jul 2007 22:51:22 +0000 (22:51 -0000)]
* verify.c: used function from private branch, reverted to the one in class.h
2007-07-19 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=82330
Rodrigo Kumpera [Thu, 19 Jul 2007 21:46:55 +0000 (21:46 -0000)]
* verify.c: a typo slipped in and the code wont compile
2007-07-19 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=82327
Rodrigo Kumpera [Thu, 19 Jul 2007 21:00:08 +0000 (21:00 -0000)]
2007-07-19 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: now all code use IS_MANAGED_POINTER and UNMASK_TYPE macros.
disabled box instruction as it is doing the wrong thing
improved stack dump messages, now it is easier to debug type related issues
svn path=/trunk/mono/; revision=82326
Juraj Skripsky [Thu, 19 Jul 2007 20:51:37 +0000 (20:51 -0000)]
2007-07-19 Juraj Skripsky <js@hotfeet.ch>
* io.c (MoveFile): Fix a leak.
2007-07-19 Juraj Skripsky <js@hotfeet.ch>
* icall.c (ves_icall_System_MonoType_getFullName): Fix a leak.
svn path=/trunk/mono/; revision=82324
Jonathan Pobst [Thu, 19 Jul 2007 20:29:46 +0000 (20:29 -0000)]
2007-07-19 Jonathan Pobst <monkey@jpobst.com>
* TreeNode.cs: Add some corcompare attributes.
* TreeNodeCollection.cs: Implement 2.0 stuffs.
* TreeView.cs: Implement some 2.0 stuffs.
svn path=/trunk/mcs/; revision=82323
Rodrigo Kumpera [Thu, 19 Jul 2007 20:16:44 +0000 (20:16 -0000)]
2007-07-19 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: changed MONO_TYPE_TYPEDBYREF stack type from
TYPE_COMPLEX to TYPE_PTR, it did not make any sense to be
grouped with class and valuetype. This change will simply
the code as it should be handled just like unmanaged pointers.
svn path=/trunk/mono/; revision=82322
Mark Probst [Thu, 19 Jul 2007 19:36:02 +0000 (19:36 -0000)]
2007-07-19 Mark Probst <mark.probst@gmail.com>
* class.c (concat_two_strings_with_zero): Fixed a silly bug.
svn path=/trunk/mono/; revision=82318
Rodrigo Kumpera [Thu, 19 Jul 2007 17:49:55 +0000 (17:49 -0000)]
2007-07-19 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added reference compatibility tests
svn path=/trunk/mono/; revision=82312
Jb Evain [Thu, 19 Jul 2007 17:24:23 +0000 (17:24 -0000)]
fix for the case where gmcs can not find the 2.0 assemblies
svn path=/trunk/mcs/; revision=82307
Rodrigo Kumpera [Thu, 19 Jul 2007 17:22:38 +0000 (17:22 -0000)]
2007-07-19 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: several stack merge issues fixed, reference comparisons now
check the type size. strict type check now works correctly.
added more uses of IS_MANAGED_POINTER macro.
fixed issues pointed by running the test suite against .net.
svn path=/trunk/mono/; revision=82305
Jb Evain [Thu, 19 Jul 2007 16:56:10 +0000 (16:56 -0000)]
2007-07-19 Jb Evain <jbevain@novell.com>
* Mono.Cecil/AssemblyFactory.cs
Mono.Cecil.Binary/Image.cs:
Update the fileinfo after writing an assembly
to a file.
svn path=/trunk/mcs/; revision=82304
Andreia Gaita [Thu, 19 Jul 2007 16:29:14 +0000 (16:29 -0000)]
2007-07-18 Andreia Gaita <avidigal@novell.com>
* Forgot the ChangeLog :p
svn path=/trunk/mcs/; revision=82300
Juraj Skripsky [Thu, 19 Jul 2007 16:18:05 +0000 (16:18 -0000)]
2007-07-19 Juraj Skripsky <js@hotfeet.ch>
* ArrayList.cs (ArrayList.Adapter): If the given list already is an
ArrayList, just return it directly.
svn path=/trunk/mcs/; revision=82298
Jb Evain [Thu, 19 Jul 2007 16:14:28 +0000 (16:14 -0000)]
actually fix the varargs handling
svn path=/trunk/mcs/; revision=82297
Juraj Skripsky [Thu, 19 Jul 2007 15:56:49 +0000 (15:56 -0000)]
2007-07-19 Juraj Skripsky <js@hotfeet.ch>
* FileSystemWatcher.ch (RaiseEvent): Invoke delegate directly, we don't
need the extra control provided by using GetInvocationList().
svn path=/trunk/mcs/; revision=82295
Mark Probst [Thu, 19 Jul 2007 15:42:53 +0000 (15:42 -0000)]
2007-07-19 Mark Probst <mark.probst@gmail.com>
* class.c, loader.c, class-internals.h: Removed the
MonoLoaderErrorKind enum and replaced it with the MONO_EXCEPTION_
defines.
* icall.c: Better error checking in some internal reflection
methods.
2007-07-19 Mark Probst <mark.probst@gmail.com>
* mini.c: Removed the MonoLoaderErrorKind enum and replaced it
with the MONO_EXCEPTION_ defines.
2007-07-19 Mark Probst <mark.probst@gmail.com>
* Makefile.am (test-bug-81691), bug-81691.cs, bug-81691-a.cs,
bug-81691-b.cs: Test for bug #81691.
svn path=/trunk/mono/; revision=82294
Jonathan Pobst [Thu, 19 Jul 2007 15:25:14 +0000 (15:25 -0000)]
2007-07-19 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Implement custom tab offsets.
svn path=/trunk/mcs/; revision=82291
Jb Evain [Thu, 19 Jul 2007 14:52:35 +0000 (14:52 -0000)]
2007-07-19 Jb Evain <jbevain@novell.com>
* Mono.Cecil/ReflectionReader.cs
Mono.Cecil.Cil/CodeReader.cs
Mono.Cecil.Signature/SignatureReader.cs:
Better handling of the sentil in the varargs methods.
svn path=/trunk/mcs/; revision=82290
Jb Evain [Thu, 19 Jul 2007 14:16:04 +0000 (14:16 -0000)]
2007-07-19 Jb Evain <jbevain@novell.com>
* Mono.Cecil/ReflectionReader.cs
Mono.Cecil/SentinelType.cs
Mono.Cecil.Cil/CodeWriter.cs:
Mono.Cecil.Signatures/SignatureReader.cs:
Fix handling of varargs methods.
svn path=/trunk/mcs/; revision=82289
Andreia Gaita [Thu, 19 Jul 2007 13:44:14 +0000 (13:44 -0000)]
2007-07-18 Andreia Gaita <avidigal@novell.com>
* WebBrowser.cs, WebBrowserBase.cs: add some more MonoTODOs now
for moma.
svn path=/trunk/mcs/; revision=82286
Atsushi Eno [Thu, 19 Jul 2007 11:23:20 +0000 (11:23 -0000)]
2007-07-19 Atsushi Enomoto <atsushi@ximian.com>
* MonoMethod.cs : parameter types should be fixed as well.
* MethodInfoTest.cs : fix incorrect parameter type output.
svn path=/trunk/mcs/; revision=82271
Atsushi Eno [Thu, 19 Jul 2007 09:33:53 +0000 (09:33 -0000)]
2007-07-19 Atsushi Enomoto <atsushi@ximian.com>
* MonoMethod.cs : ToString() did not show correct return type when
it is generic.
* MethodInfoTest.cs : added ToString() test for generic return type.
svn path=/trunk/mcs/; revision=82268
Jonathan Pobst [Thu, 19 Jul 2007 02:35:08 +0000 (02:35 -0000)]
2007-07-18 Jonathan Pobst <monkey@jpobst.com>
* ToolStripTest.cs: One of my notworking tests slipped out.
svn path=/trunk/mcs/; revision=82264
Atsushi Eno [Thu, 19 Jul 2007 02:29:40 +0000 (02:29 -0000)]
remove extra Console.WriteLine.
svn path=/trunk/mcs/; revision=82263
Miguel de Icaza [Thu, 19 Jul 2007 01:50:48 +0000 (01:50 -0000)]
2007-06-06 Miguel de Icaza <miguel@novell.com>
* Int16.cs, UInt64.cs, SByte.cs, UInt16.cs, Byte.cs, Int32.cs,
Int64.cs, UInt32.cs: Fix for 81775.
I removed Parse from a Byte.cs and UInt16.cs as in various cases
they still depended on UInt32.cs for parsing, there is no reason
to keep all of this code duplicated (UInt64 is a different case
though).
I was hoping for some feedback on whether my tests are correct,
but so far no takers (Overflow tests).
svn path=/trunk/mcs/; revision=82261
Miguel de Icaza [Thu, 19 Jul 2007 00:20:40 +0000 (00:20 -0000)]
2007-07-18 Miguel de Icaza <miguel@novell.com>
* SafeHandle.cs: Harden this, do not call ReleaseHandle if the
handle is invalid.
* CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
handle is invalid.
svn path=/trunk/mcs/; revision=82260
Miguel de Icaza [Thu, 19 Jul 2007 00:16:20 +0000 (00:16 -0000)]
2007-07-18 Miguel de Icaza <miguel@novell.com>
* SafeWaitHandle.cs: Do not call DangerousGetHandle here as it
throws ObjectDisposedException when the refcount reaches zero.
* SafeFileHandle.cs: Same.
svn path=/trunk/mcs/; revision=82259