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
Miguel de Icaza [Wed, 18 Jul 2007 23:54:06 +0000 (23:54 -0000)]
2007-07-18 Miguel de Icaza <miguel@novell.com>
* WaitHandle.cs (Handle): in the 2.0 profile, explicitly dispose
the old SafeWaitHandle, do not wait for the finalizer to run;
Take ownership of the handle; The docs did not say that
assigning to this value would lead to a leak, the docs said that
in the 1.0 and 1.1 profiles assigning to this property might lead
to a leak. My mistake.
Fixes: 82134
svn path=/trunk/mcs/; revision=82258
Jonathan Pobst [Wed, 18 Jul 2007 21:15:50 +0000 (21:15 -0000)]
2007-07-18 Jonathan Pobst <monkey@jpobst.com>
* ToolStripContentPanel.cs: Support System renderer.
* ToolStripControlHost.cs: Set RightToLeft to default to No.
svn path=/trunk/mcs/; revision=82245
Jonathan Pobst [Wed, 18 Jul 2007 21:13:23 +0000 (21:13 -0000)]
2007-07-18 Jonathan Pobst <monkey@jpobst.com>
* ListBoxTest.cs, MenuStripTest.cs, ToolStripComboBoxTest.cs,
ToolStripContentPanelTest.cs, ToolStripControlHostTest.cs,
ToolStripDropDownTest.cs, ToolStripProgressBarTest.cs,
ToolStripTest.cs: Sync up some local test additions.
svn path=/trunk/mcs/; revision=82243
Jonathan Pobst [Wed, 18 Jul 2007 21:02:40 +0000 (21:02 -0000)]
2007-07-18 Jonathan Pobst <monkey@jpobst.com>
* ListControl.cs: Fix test that is failing on i586.
svn path=/trunk/mcs/; revision=82242
Bill Holmes [Wed, 18 Jul 2007 19:58:09 +0000 (19:58 -0000)]
2007-07-18 William Holmes <billholmes54@gmail.com>
* filewatcher.c : removed unused variable 'filename' in
ves_icall_System_IO_FSW_SupportsFSW
svn path=/trunk/mono/; revision=82237
Jonathan Pobst [Wed, 18 Jul 2007 19:43:03 +0000 (19:43 -0000)]
2007-07-18 Jonathan Pobst <monkey@jpobst.com>
* ScrollableControl.cs: Don't mess up the user's explicit bounds.
svn path=/trunk/mcs/; revision=82236
Jonathan Pobst [Wed, 18 Jul 2007 19:39:43 +0000 (19:39 -0000)]
2007-07-18 Jonathan Pobst <monkey@jpobst.com>
* CheckBox.cs: Chain TextAlign to base implementation instead of
maintaining another one.
svn path=/trunk/mcs/; revision=82235
Jonathan Pobst [Wed, 18 Jul 2007 19:37:59 +0000 (19:37 -0000)]
2007-07-18 Jonathan Pobst <monkey@jpobst.com>
* ButtonBase.cs: Fix an incorrect string constant.
svn path=/trunk/mcs/; revision=82234
Jonathan Pobst [Wed, 18 Jul 2007 19:33:51 +0000 (19:33 -0000)]
2007-07-18 Jonathan Pobst <monkey@jpobst.com>
* TextRenderer.cs: Use the static Graphics context in Hwnd instead
of creating one for measuring strings.
svn path=/trunk/mcs/; revision=82233
Jonathan Pobst [Wed, 18 Jul 2007 19:31:35 +0000 (19:31 -0000)]
2007-07-18 Jonathan Pobst <monkey@jpobst.com>
* ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
Implement MaxItemSize.
svn path=/trunk/mcs/; revision=82232
Marek Safar [Wed, 18 Jul 2007 16:07:39 +0000 (16:07 -0000)]
More lambda parser tests.
svn path=/trunk/mcs/; revision=82217
Ivan Zlatev [Wed, 18 Jul 2007 16:01:20 +0000 (16:01 -0000)]
2007-07-18 Ivan N. Zlatev <contact@i-nz.net>
* InstanceDescriptor.cs: Fix a NRE.
svn path=/trunk/mcs/; revision=82215
Marek Safar [Wed, 18 Jul 2007 15:59:16 +0000 (15:59 -0000)]
2007-07-18 Marek Safar <marek.safar@gmail.com>
* cs-tokenizer.cs: Improved lambda parsing and removed old code.
svn path=/trunk/mcs/; revision=82214
Atsushi Eno [Wed, 18 Jul 2007 15:35:18 +0000 (15:35 -0000)]
2007-07-18 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : generic method arguments are written as ``x while generic
type arguments are `x. Combined with the previous change, fixed bug
#79706.
* gtest-xml-3.cs, gtest-xml-3-ref.xml : new /doc test for bug #79706.
svn path=/trunk/mcs/; revision=82210
Jb Evain [Wed, 18 Jul 2007 15:23:46 +0000 (15:23 -0000)]
2007-07-18 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Cil/CodeReader.cs
Mono.Cecil.Cil/CodeWriter.cs:
Deal with non-sense instructions that some
obfuscators emit.
svn path=/trunk/mcs/; revision=82209
Igor Zelmanovich [Wed, 18 Jul 2007 14:26:00 +0000 (14:26 -0000)]
Implemented AuthenticationService and ProfileService properties
svn path=/trunk/mcs/; revision=82207
Raja R Harinath [Wed, 18 Jul 2007 13:22:34 +0000 (13:22 -0000)]
Fix #82120
* mcs/expression.cs (Binary.ResolveOperator): When converting
'a + (- b)' to 'a - b', ensure that the unary '-' is discarded.
* tests/test-576.cs: New test for #82120.
svn path=/trunk/mcs/; revision=82204
Jb Evain [Wed, 18 Jul 2007 12:54:45 +0000 (12:54 -0000)]
update
svn path=/trunk/mcs/; revision=82202
Jb Evain [Wed, 18 Jul 2007 12:54:00 +0000 (12:54 -0000)]
2007-07-18 Jb Evain <jbevain@novell.com>
* Mono.Linker/ResolutionException.cs:
Mono.Linker.Steps/MarkStep.cs:
Throw a resolution exception when a metadata item
can not be resolved in external assemblies.
svn path=/trunk/mcs/; revision=82201
Marek Habersack [Wed, 18 Jul 2007 12:48:55 +0000 (12:48 -0000)]
2007-07-18 Marek Habersack <mhabersack@novell.com>
* ControlBuilder.cs: on the 2.0 profile BindingContainerType
returns the associated control's base type when parent builder is
absent instead of typeof (Control). It returns typeof (Control) if
the parent builder type is determined to be a
NamingContainer. This makes the generated code match the MS.NET
output. Fixes bug #82119.
2007-07-18 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: on the 2.0 profile, GetContainerType
does not look up the Item/Items properties to determine the
container type, instead it just returns the type reported by the
builder passed to this method. This change makes the generated
code match MS.NET. Fixes bug #82119.
svn path=/trunk/mcs/; revision=82200
Jb Evain [Wed, 18 Jul 2007 12:31:21 +0000 (12:31 -0000)]
2007-07-18 Jb Evain <jbevain@novell.com>
* Mono.Cecil/AggressiveReflectionReader.cs:
Deal with out of range properties.
* Mono.Cecil.Metadata/StringsHeap.cs:
Deal with out of range string indexes.
svn path=/trunk/mcs/; revision=82199
Igor Zelmanovich [Wed, 18 Jul 2007 11:57:14 +0000 (11:57 -0000)]
fixed service proxy for PageMethods
svn path=/trunk/mcs/; revision=82191
Jb Evain [Wed, 18 Jul 2007 11:14:26 +0000 (11:14 -0000)]
2007-07-18 Jb Evain <jbevain@novell.com>
* Mono.Linker/AssemblyResolver.cs:
Use the assembly name only as a key for the
assembly cache.
svn path=/trunk/mcs/; revision=82190
Igor Zelmanovich [Wed, 18 Jul 2007 11:03:17 +0000 (11:03 -0000)]
2007-07-18 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* ClientScriptManager.cs:
scripts, registered using RegisterClientScriptInclude,
RegisterClientScriptResource and RegisterClientScriptBlock appear on Page
in order matches the order in which the scripts were registered.
svn path=/trunk/mcs/; revision=82189
Atsushi Eno [Wed, 18 Jul 2007 10:12:34 +0000 (10:12 -0000)]
2007-07-18 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : when T: or whatever x: is specified, it does not really
check the doc comment's syntax correctness. Fixed bug #82006.
* gtest-xml-2.cs, gtest-xml-2-ref.xml : new /doc test for bug #82006.
svn path=/trunk/mcs/; revision=82185
Jb Evain [Wed, 18 Jul 2007 10:02:52 +0000 (10:02 -0000)]
tune on 2.1 install
svn path=/trunk/mcs/; revision=82184
Jb Evain [Wed, 18 Jul 2007 09:52:38 +0000 (09:52 -0000)]
props
svn path=/trunk/mcs/; revision=82183
Jb Evain [Wed, 18 Jul 2007 09:51:34 +0000 (09:51 -0000)]
2007-07-18 Jb Evain <jbevain@novell.com>
* tuner: new tool to tune the Mono assemblies from a full 2.1
profile to a stripped down silverlight compatible assembly set.
svn path=/trunk/mcs/; revision=82182
Jb Evain [Wed, 18 Jul 2007 09:16:29 +0000 (09:16 -0000)]
actually, it's not a good idea
svn path=/trunk/mcs/; revision=82181
Jb Evain [Wed, 18 Jul 2007 09:12:45 +0000 (09:12 -0000)]
compile monolinker in class/lib
svn path=/trunk/mcs/; revision=82180
Jb Evain [Wed, 18 Jul 2007 08:26:28 +0000 (08:26 -0000)]
bump version
svn path=/trunk/mcs/; revision=82178
Jb Evain [Wed, 18 Jul 2007 08:24:41 +0000 (08:24 -0000)]
delete empty man folder
svn path=/trunk/mcs/; revision=82177
Marek Safar [Wed, 18 Jul 2007 08:20:42 +0000 (08:20 -0000)]
New tests.
svn path=/trunk/mcs/; revision=82176
Marek Safar [Wed, 18 Jul 2007 08:15:56 +0000 (08:15 -0000)]
New tests, update
svn path=/trunk/mcs/; revision=82175
Marek Safar [Wed, 18 Jul 2007 08:11:47 +0000 (08:11 -0000)]
2007-07-18 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay: Use ImplicitLambdaParameter everywhere.
svn path=/trunk/mcs/; revision=82174