Miguel de Icaza [Sat, 16 Dec 2006 16:58:36 +0000 (16:58 -0000)]
Add test for the struct constructor fix
svn path=/trunk/mcs/; revision=69577
Chris Toshok [Sat, 16 Dec 2006 16:52:22 +0000 (16:52 -0000)]
2006-12-16 Chris Toshok <toshok@ximian.com>
* SWF.csproj, SWF2k5.csproj: resync these.
* Makefile (EXTRA_DISTFILES): add build-csproj2k5
Also, make both SWF.csproj and SWF2k5.csproj depend on the scripts
which generate them. That way if you're hacking on the script you
don't have to touch System.Windows.Forms.dll.sources every time
you want to update the output.
* build-csproj2k5: make some changes suggested by Marek:
- System.XML should be System.Xml.
- Change eol-style to native.
- remove the SubType's from all the .cs Compile elements.
- Add Mono.Posix if the configuration is DebugXBuild (can't test this though..)
svn path=/trunk/mcs/; revision=69576
Miguel de Icaza [Sat, 16 Dec 2006 16:47:10 +0000 (16:47 -0000)]
Add test for bug #80256
svn path=/trunk/mcs/; revision=69575
Marek Safar [Sat, 16 Dec 2006 12:10:54 +0000 (12:10 -0000)]
New tests.
svn path=/trunk/mcs/; revision=69573
Marek Safar [Sat, 16 Dec 2006 12:10:23 +0000 (12:10 -0000)]
New tests.
svn path=/trunk/mcs/; revision=69572
Marek Safar [Sat, 16 Dec 2006 11:53:34 +0000 (11:53 -0000)]
2006-12-16 Marek Safar <marek.safar@gmail.com>
A fix for bug #77014
* expression.cs (Invocation.BetterFunction): Fixed to cope with dynamic
paramters correctly and not rely on hacks in Parameters class.
(Invocation.IsParamsMethodApplicable): Changed to accept params parameter
at any possition.
(Invocation.VerifyArgumentsCompat): Ditto.
(Invocation.EmitArguments): Changed to correctly emit params arguments at
any possition.
* parameter.cs (HasParams): Don't assume that params is the last one.
* support.cs (ReflectionParameters.ctor): Look for params attribute
correctly.
(ReflectionParameters.ParameterType): Removed hack when we returned last
parameter for out of range parameters.
(ParameterName, ParameterModifier): Ditto.
svn path=/trunk/mcs/; revision=69571
Marek Sieradzki [Sat, 16 Dec 2006 11:10:12 +0000 (11:10 -0000)]
2006-12-16 Marek Sieradzki <marek.sieradzki@gmail.com>
* ItemReference.cs: Avoid KeyNotFoundException in ConvertToString ()
and ConvertToITaskItemArray ().
svn path=/trunk/mcs/; revision=69570
Marek Sieradzki [Sat, 16 Dec 2006 11:08:06 +0000 (11:08 -0000)]
2006-12-16 Marek Sieradzki <marek.sieradzki@gmail.com>
* Items.cs: Split not working test from others and add a test for
reference to item that doesn't exist.
svn path=/trunk/mcs/; revision=69569
Marek Sieradzki [Sat, 16 Dec 2006 10:57:32 +0000 (10:57 -0000)]
2006-12-16 Marek Sieradzki <marek.sieradzki@gmail.com>
* Parameters.cs (ProcessProperty): Use SetProperty () not
AddNewProperty ().
svn path=/trunk/mcs/; revision=69568
Miguel de Icaza [Sat, 16 Dec 2006 04:30:13 +0000 (04:30 -0000)]
This TODO does not belong here
svn path=/trunk/mcs/; revision=69567
Miguel de Icaza [Sat, 16 Dec 2006 04:28:02 +0000 (04:28 -0000)]
2006-12-15 Miguel de Icaza <miguel@novell.com>
* Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
TextBoxBase.cs, ListView.cs, ContainerControl.cs,
ScrollableControl.cs: Add a handful of methods that are
overwritten in 2.0
svn path=/trunk/mcs/; revision=69566
Chris Toshok [Sat, 16 Dec 2006 03:57:26 +0000 (03:57 -0000)]
2006-12-15 Chris Toshok <toshok@ximian.com>
* Makefile: add targets for the 2k5 csproj.
* build-csproj2k5: new script to build vs2005 specific projects.
use SWF2k5.sln instead of SWF.sln and upgrading. The 2005 project
doesn't have the problems with resources that the 2003 project
has. The only remaining stumbling block for use is Consts.cs.
* SWF2k5.sln, SWF2k5.csproj: visual studio 2005 versions of these
files.
svn path=/trunk/mcs/; revision=69565
Chris Toshok [Sat, 16 Dec 2006 03:11:44 +0000 (03:11 -0000)]
2006-12-15 Chris Toshok <toshok@ximian.com>
* XplatUIWin32.cs: initial implementation of the Reversible
drawing functions. there are some problems. DrawReversibleFrame
doesn't seem to work at all for Dashed FrameStyle, and in the
Thick case there are drawing errors at the corners (we probably
need to bind Rectangle instead of doing moveto/lineto's.)
svn path=/trunk/mcs/; revision=69564
Andreia Gaita [Sat, 16 Dec 2006 03:03:08 +0000 (03:03 -0000)]
* SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
to send blocks of key messages. Send accumulates keys to send with Flush,
while SendWait sends all keys immediately.
* XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
XplatUIX11.cs, XplatUIX11-new.cs:
- Define SendInput and stubs for OSX and X11, implements Win32 with a call
to Win32 SendInput.
- Added INPUT support structures to XplatUIWin32 for Win32SendInput
Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
testing for ms.net on this class is very tricky, as the tests run too fast
to allow the hook to release, essentially freezing the keyboard and the
test. So, barring a win32 miracle, they'll be commited in the ms-notworking
category :p
2006-12-16 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=69563
Jonathan Chambers [Sat, 16 Dec 2006 02:23:01 +0000 (02:23 -0000)]
2006-12-15 Jonathan Chambers <joncham@gmail.com>
* marshal.c (mono_string_from_bstr): Revert previous Windows change
and fix on Linux.
svn path=/trunk/mono/; revision=69562
Miguel de Icaza [Sat, 16 Dec 2006 00:35:05 +0000 (00:35 -0000)]
Add SafeHandle tests
svn path=/trunk/mono/; revision=69561
Miguel de Icaza [Sat, 16 Dec 2006 00:22:53 +0000 (00:22 -0000)]
I should have tested 1.0; Fix
svn path=/trunk/mono/; revision=69560
Miguel de Icaza [Sat, 16 Dec 2006 00:16:39 +0000 (00:16 -0000)]
2006-12-15 Miguel de Icaza <miguel@novell.com>
* marshal.c (mono_string_from_bstr): Jon Chambers pointed out that
my arguments were in the wrong order. I also fixed the Windows
version which seems to have had the same issue.
svn path=/trunk/mono/; revision=69559
Daniel Nauck [Sat, 16 Dec 2006 00:15:11 +0000 (00:15 -0000)]
2006-12-16 Daniel Nauck <dna@mono-project.de>
* System.Windows.Forms_test.dll.sources: Add
PaddingTest.cs
* Padding.cs: fixed serialization compability to MS ("_var" field names),
added missing attributes.
svn path=/trunk/mcs/; revision=69558
Marek Sieradzki [Fri, 15 Dec 2006 23:35:11 +0000 (23:35 -0000)]
006-12-16 Marek Sieradzki <marek.sieradzki@gmail.com>
* ItemPropertyGroupingBase.cs, TaskEngineAssemblyResolver.cs: Removed
classes that were public in Beta 2 and aren't used.
* Expression.cs: Added replacement for parsing expressions char by
char. It uses regexes to find item/property/metadata references in
given text.
* ExpressionCollection.cs, BuildTask.cs, ConditionFactorExpression.cs,
Target.cs, TaskEngine.cs, BuildItemGroup.cs, UsingTask.cs, Import.cs,
BuildItem.cs, BatchingImpl.cs, BuildProperty.cs: Track API changes.
* ConditionRelationalExpression.cs: Formatting.
* OldExpression.cs: Commented everything.
* MetadataReference.cs, ItemReference.cs, PropertyReference.cs: Moved
parsing to Expression.
* BuildItem.cs: Check if project is from XML in set_Condition and
set_Exclude.
* BuildPropertyGroup.cs, Project.cs: Add ImportedProject to
Project.ctor.
* ConditionNotExpression.cs, ConditionAndExpression.cs: Check if we
can evaluate expression in CanEvaluateToBool ().
svn path=/trunk/mcs/; revision=69557
Marek Sieradzki [Fri, 15 Dec 2006 23:23:27 +0000 (23:23 -0000)]
Forgot this file.
svn path=/trunk/mcs/; revision=69556
Marek Sieradzki [Fri, 15 Dec 2006 23:22:50 +0000 (23:22 -0000)]
006-12-16 Marek Sieradzki <marek.sieradzki@gmail.com>
* ConsoleLoggerTest.cs: Added.
* ProjectTest.cs, BuildItemTest.cs: More tests.
svn path=/trunk/mcs/; revision=69555
Marek Sieradzki [Fri, 15 Dec 2006 23:21:07 +0000 (23:21 -0000)]
2006-12-16 Marek Sieradzki <marek.sieradzki@gmail.com>
* Items.cs, Conditions.cs, EvaluationOrder.cs: More tests.
svn path=/trunk/mcs/; revision=69554
Miguel de Icaza [Fri, 15 Dec 2006 22:49:32 +0000 (22:49 -0000)]
This patch contains:
SafeWaitHandle support for WaitHandles (2.0)
A few APIs implemented from Marshal.
2006-12-11 Miguel de Icaza <miguel@novell.com>
* WaitHandle.cs: In 2.0 use SafeWaitHandles and the SafeWaitHandle
patterns instead of using directly the IntPtr Handle.
Refactor the code to reuse as much as possible, and follow the new
conventions where appropriate.
2006-12-15 Miguel de Icaza <miguel@novell.com>
* Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
ZeroFreeGlobalAllocUnicode): Implement.
(StringToCoTaskAuto): return the same as Ansi.
The ANSI code is out of sync with Mono, which treats ANSI as
UTF-8.
Code formatting changes
svn path=/trunk/mcs/; revision=69552
Miguel de Icaza [Fri, 15 Dec 2006 22:47:09 +0000 (22:47 -0000)]
This patch contains:
SafeHandle implemenation
http://www.mono-project.com/SafeHandles for status
WaitHandle updates for using with new SafeWaitHandle.
Marshal replaces g_error with exceptions in a few areas.
2006-12-15 Miguel de Icaza <miguel@novell.com>
* marshal.c (mono_free_bstr): On Unix, this is g_free.
(mono_string_from_bstr, mono_string_to_bstr): Implement bstr
conversions (for the tests in corlib to pass).
2006-12-14 Miguel de Icaza <miguel@novell.com>
* marshal.c (emit_ptr_to_object_conv): For now, ignore
MONO_MARSHAL_CONV_SAFEHANDLE on return values (we need to throw an
exception if a ref SafeHandle in a struct has changed).
(emit_struct_conv): Do not perform layout checks for classes
derived from SafeHandle, as those are specially handled.
(emit_object_to_ptr_conv): Add support for
MONO_MARSHAL_CONV_SAFEHANDLE conversion.
(emit_marshal_safehandle): Implement conversion of return values
of safehandles (MARSHAL_ACTION_CONV_RESULT).
* threads.c: WaitHandle now is compiled with two different handles
"IntPtr os_handle" for 1.x and "SafeWaitHandle safe_wait_handle"
for 2.0.
(ves_icall_System_Threading_WaitHandle_WaitAll_internal)
(ves_icall_System_Threading_WaitHandle_WaitAny_internal): Adjust
these routines to cope with both kinds of fields.
2006-12-12 Miguel de Icaza <miguel@novell.com>
* metadata.c (mono_type_to_unmanaged): Handle the case where
type->data.klass is a SafeHandle, and in that case, return the
size of a pointer (MONO_NATIVE_INT) and set the conversion to be
MONO_MARSHAL_CONV_SAFEHANDLE.
2006-12-11 Miguel de Icaza <miguel@novell.com>
* marshal.c (emit_marshal): Hook up to the MONO_TYPE_CLASS and
MONO_TYPE_OBJECT cases and check for a SafeHandle here before
calling emit_marshal_object.
(emit_marshal_safehandle): Implement marshalling of
SafeHandle parameters (no ref support yet).
(MarshalAction): Document the defines as I implement
them for SafeHandle.
(emit_marshal_object): indentation police.
* class-internals.h: Define MonoSafeHandle.
Add safehandle_class to MonoDefaults type.
* verify.c: Add System.Runtime.InteropServices.SafeHandle to the
list of classes to check for fields.
* domain.c (mono_init_internal): Add SafeHandle to the list of
mono_defaults loaded.
svn path=/trunk/mono/; revision=69551
Daniel Nauck [Fri, 15 Dec 2006 21:14:26 +0000 (21:14 -0000)]
2006-12-15 Daniel Nauck <dna@mono-project.de>
* ListViewGroup.cs: Added missing attributes.
* ListViewGroupCollection.cs: Added missing attributes.
svn path=/trunk/mcs/; revision=69548
Rolf Bjarne Kvinge [Fri, 15 Dec 2006 20:58:42 +0000 (20:58 -0000)]
* Control.cs: Added missing 2.0 attributes
2006-12-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
svn path=/trunk/mcs/; revision=69547
Sebastien Pouliot [Fri, 15 Dec 2006 20:42:45 +0000 (20:42 -0000)]
2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
* Image.cs: Rework Clone so it doesn't confuse MoMA to report a NIE.
Cloning works for bitmap. Metafiles aren't (actually) supported.
svn path=/trunk/mcs/; revision=69546
Daniel Nauck [Fri, 15 Dec 2006 20:21:41 +0000 (20:21 -0000)]
2006-12-15 Daniel Nauck <dna@mono-project.de>
* ListViewItem.cs: fixed ListViewSubItem text property.
* ListViewCollectionsTest.cs: test works now on the 1.1 profile.
* ListViewItemTest.cs: add new ListViewSubItem text property test.
svn path=/trunk/mcs/; revision=69545
Rolf Bjarne Kvinge [Fri, 15 Dec 2006 20:00:22 +0000 (20:00 -0000)]
2006-12-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MdiClient.cs: Added missing 2.0 attribute.
* MonthCalendar.cs: Added some missing 2.0 attributes
and properties.
svn path=/trunk/mcs/; revision=69544
Sebastien Pouliot [Fri, 15 Dec 2006 19:30:52 +0000 (19:30 -0000)]
2006-12-15 Sebastien Pouliot <sebastien@ximian.com>
* Makefile: Execute PKITS tests only if the data is installed locally.
See System.dll unit tests for details.
* System.Security_test.dll.sources: Add some PKITS unit tests to the
build.
svn path=/trunk/mcs/; revision=69543
Sebastien Pouliot [Fri, 15 Dec 2006 19:29:32 +0000 (19:29 -0000)]
2006-12-15 Sebastien Pouliot <sebastien@ximian.com>
* SignedCms.cs: Add missing TODO. Some code exists but depends on
other, unimplemented, stuff.
svn path=/trunk/mcs/; revision=69542
Sebastien Pouliot [Fri, 15 Dec 2006 19:27:50 +0000 (19:27 -0000)]
2006-12-15 Sebastien Pouliot <sebastien@ximian.com>
* PkitsTest.cs: New. Common test code to use the PKITS test data.
* Pkits_4_01_SignatureVerification.cs: New. Test signature on S/MIME
using the PKITS test data (if available).
svn path=/trunk/mcs/; revision=69541
Daniel Nauck [Fri, 15 Dec 2006 18:56:32 +0000 (18:56 -0000)]
2006-12-15 Daniel Nauck <dna@mono-project.de>
* ListView.cs: implemented ListViewItemCollection Add 2.0 support.
* ListViewCollectionsTest.cs: new not working junk add test for ListViewItemCollection.
svn path=/trunk/mcs/; revision=69540
Rolf Bjarne Kvinge [Fri, 15 Dec 2006 18:24:22 +0000 (18:24 -0000)]
* MdiChildContext.cs: Removed it, no longer used.
* MdiClient.cs: Added missing 2.0 attributes.
2006-12-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
svn path=/trunk/mcs/; revision=69539
Jonathan Pobst [Fri, 15 Dec 2006 18:15:45 +0000 (18:15 -0000)]
2006-12-15 Jonathan Pobst <monkey@jpobst.com>
* MainMenu.cs: Add the new 2.0 constructor to help out people
using the MainMenu in VS2005.
svn path=/trunk/mcs/; revision=69538
Rolf Bjarne Kvinge [Fri, 15 Dec 2006 17:55:15 +0000 (17:55 -0000)]
* InternalWindowManager.cs: Fix a NullRef with previous
changes for toolwindows.
2006-12-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
svn path=/trunk/mcs/; revision=69537
Rolf Bjarne Kvinge [Fri, 15 Dec 2006 17:34:21 +0000 (17:34 -0000)]
2006-12-15 Rolf Bjarne Kvinge <RKvinge@novell.com>
* Control.cs:
- Added AfterTopMostControl to allow for certain controls
to always stay on top when normal controls are brought to
front.
* XplatUIWin32.cs:
- (DrawInversibleRectangle): Get window rectangle from Win32
in stead of from control, since Win32 doesn't calculate
screen coords correctly from control's Location if it
have docked siblings.
* MdiWindowManager.cs:
- Correct the control menu popup location when clicked on
the maximized form icon. (fixes #80223.1)
- Don't show moving rectangle if mouse hasn't moved from
the original clicked point.
- Removed FormGotFocus handler (not used).
- Calculate the control buttons location from the main
window's size and not client size (fixes #79770).
- Form is now closed when the form icon is double-clicked
(fixes #79775).
- Correct NCCalcSize numbers a little bit (fixes #80223.2)
* InternalWindowManager.cs:
- Moved some MDI-only methods to MdiWindowManager.
- Removed unused properties and methods.
- Unified method naming for methods handling wm messages.
- Moved all message handling to seperate methods for
each message.
* ThemeWin32Classic.cs:
- DrawManagedWindowDecorations now draws the title bar
with a gradient brush.
- Add a CPDrawButtonInternal that allows us to specify
light, normal and dark colors for the buttons (control
buttons for MDI children were drawn with the same light
color as the background, therefore loosing the 3D effect).
* SizeGrip.cs:
- Add a CapturedControl property that is used to
determine the control to resize (defaults to parent).
Needed for MdiClient, since its SizeGrip's parent is
MdiClient, but the control to resize is the main form.
* MdiClient.cs:
- Set SizeGrip's CapturedControl to the main form in order
to resize the main form and not the MdiClient.
- Override AfterTopMostControl to leave the scrollbars
always on top.
svn path=/trunk/mcs/; revision=69536
Gert Driesen [Fri, 15 Dec 2006 16:26:13 +0000 (16:26 -0000)]
* Marshal.cs: Use SystemDefaultCharSize to determine whether to
use Ansi or Unicode variant of StringToCoTaskMem.
svn path=/trunk/mcs/; revision=69534
Daniel Nauck [Fri, 15 Dec 2006 15:52:28 +0000 (15:52 -0000)]
2006-12-15 Daniel Nauck <dna@mono-project.de>
* ListViewCollectionsTest.cs: new ListViewItemCollection AddRange tests
* ListView.cs: fixed ListViewItemCollection AddRange and
implemented ListViewItemCollection AddRange 2.0 support.
svn path=/trunk/mcs/; revision=69533
Daniel Nauck [Fri, 15 Dec 2006 13:07:43 +0000 (13:07 -0000)]
2006-12-15 Daniel Nauck <dna@mono-project.de>
* ListViewCollectionsTest.cs: new ListViewItemCollection indexer test for #80199.
svn path=/trunk/mcs/; revision=69531
Miguel de Icaza [Fri, 15 Dec 2006 05:34:51 +0000 (05:34 -0000)]
2006-12-15 Miguel de Icaza <miguel@novell.com>
* Marshal.cs (StringToCoTaskAuto): return the same as Ansi.
svn path=/trunk/mcs/; revision=69525
Miguel de Icaza [Fri, 15 Dec 2006 05:31:04 +0000 (05:31 -0000)]
2006-12-15 Miguel de Icaza <miguel@novell.com>
* Marshal.cs: Code formatting changes
svn path=/trunk/mcs/; revision=69524
Miguel de Icaza [Fri, 15 Dec 2006 05:24:32 +0000 (05:24 -0000)]
2006-12-15 Miguel de Icaza <miguel@novell.com>
* FileInfo.cs: Empty implementations for Encrypt and Decrypt
svn path=/trunk/mcs/; revision=69523
Miguel de Icaza [Fri, 15 Dec 2006 05:23:57 +0000 (05:23 -0000)]
Improve message
svn path=/trunk/mcs/; revision=69522
Sebastien Pouliot [Fri, 15 Dec 2006 03:39:04 +0000 (03:39 -0000)]
2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
* X500DistinguishedNameTest.cs: Add test case for Teletext/T61String.
* X509Certificate2Test.cs: Add test case for Teletext/T61String.
svn path=/trunk/mcs/; revision=69520
Sebastien Pouliot [Fri, 15 Dec 2006 03:23:23 +0000 (03:23 -0000)]
2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
* X501Name.cs: Added support for (some cases of) T.61 strings, like
the latin-1 encoded accentued characters founds in some DN. Fix bug
#77295.
svn path=/trunk/mcs/; revision=69519
Raja R Harinath [Fri, 15 Dec 2006 02:24:15 +0000 (02:24 -0000)]
D'oh!! guard 2.0 namespace with NET_2_0
svn path=/trunk/mcs/; revision=69518
Sebastien Pouliot [Fri, 15 Dec 2006 00:35:01 +0000 (00:35 -0000)]
2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
* X501NameTest.cs: Added test case with a DN using Teletex/T61String.
svn path=/trunk/mcs/; revision=69517
Sebastien Pouliot [Fri, 15 Dec 2006 00:33:51 +0000 (00:33 -0000)]
2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
* X501Name.cs: Added support for (some cases of) T.61 strings, like
the latin-1 encoded accentued characters founds in some DN. Fix bug
#77295.
svn path=/trunk/mcs/; revision=69516
Daniel Nauck [Fri, 15 Dec 2006 00:11:18 +0000 (00:11 -0000)]
2006-12-15 Daniel Nauck <dna@mono-project.de>
* ListViewGroup.cs, ListViewGroupCollection.cs: Add
first part of ListViewGroups 2.0 support
* ListViewGroupTest.cs, ListViewGroupCollectionTest.cs: Add
tests for ListViewGroups
* ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
* ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
stub for ImageKey 2.0 support.
svn path=/trunk/mcs/; revision=69515
Miguel de Icaza [Fri, 15 Dec 2006 00:02:59 +0000 (00:02 -0000)]
Comment
svn path=/trunk/mcs/; revision=69514
Mike Kestner [Thu, 14 Dec 2006 22:58:49 +0000 (22:58 -0000)]
2006-12-14 Mike Kestner <mkestner@novell.com>
* ListView.cs: add text padding to the autocalculation for columns
of width -2. Fixes #80207.
svn path=/trunk/mcs/; revision=69513
Paolo Molaro [Thu, 14 Dec 2006 20:43:06 +0000 (20:43 -0000)]
Thu Dec 14 21:42:39 CET 2006 Paolo Molaro <lupus@ximian.com>
* processes.c: fixed a few memory leaks when executing
processes.
svn path=/trunk/mono/; revision=69509
Mike Kestner [Thu, 14 Dec 2006 20:41:48 +0000 (20:41 -0000)]
2006-12-14 Mike Kestner <mkestner@novell.com>
* ListView.cs: add some index guarding for partial row navigation
logic. Fixes #80250.
svn path=/trunk/mcs/; revision=69508
Gert Driesen [Thu, 14 Dec 2006 20:12:23 +0000 (20:12 -0000)]
* TabControlTest.cs: Added tests for Control.RemoveAt.
svn path=/trunk/mcs/; revision=69507
Paolo Molaro [Thu, 14 Dec 2006 19:25:03 +0000 (19:25 -0000)]
Thu Dec 14 20:24:09 CET 2006 Paolo Molaro <lupus@ximian.com>
* Process.cs: if a process object is restarted, close the
previous process handle (bug #80143).
svn path=/trunk/mcs/; revision=69505
Sebastien Pouliot [Thu, 14 Dec 2006 19:03:17 +0000 (19:03 -0000)]
2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
* AuthenticodeBase.cs: Support (strip) COFF symbol table when
calculating the hash value of a PE file.
* AuthenticodeDeformatter.cs: Adapt to changes in base class.
* AuthenticodeFormatter.cs: Reuse more code from base class. Strip
COFF symbol table (if present). Fix alignment (on 8 bytes) for the
signature location.
svn path=/trunk/mcs/; revision=69502
Sebastien Pouliot [Thu, 14 Dec 2006 18:59:10 +0000 (18:59 -0000)]
2006-12-14 Sebastien Pouliot <sebastien@ximian.com>
* chktrust.cs: Display the error even if the root is trusted.
svn path=/trunk/mcs/; revision=69501
Raja R Harinath [Thu, 14 Dec 2006 18:56:51 +0000 (18:56 -0000)]
* TypeBuilderTest.cs (MakeGenericType, Fail_MakeGenericType): New
tests inspired by #80253.
svn path=/trunk/mcs/; revision=69500
Raja R Harinath [Thu, 14 Dec 2006 18:56:08 +0000 (18:56 -0000)]
Fix #80253
* reflection.c (mono_reflection_bind_generic_parameters): If the
generic type definition is a type builder, ensure that it is fully
initialized before instantiating it. Kill some dead code.
svn path=/trunk/mono/; revision=69499
Chris Toshok [Thu, 14 Dec 2006 18:44:35 +0000 (18:44 -0000)]
revert r69151
svn path=/trunk/mcs/; revision=69498
Raja R Harinath [Thu, 14 Dec 2006 18:30:01 +0000 (18:30 -0000)]
* Type.cs (MakeGenericType): Can only be called on a generic type definition.
svn path=/trunk/mcs/; revision=69497
Mike Kestner [Thu, 14 Dec 2006 18:21:54 +0000 (18:21 -0000)]
2006-12-14 Mike Kestner <mkestner@novell.com>
* ListView.cs: throw ArgumentExceptions when parented ListViewItems
are added or inserted to the collection. Fixes #81099.
svn path=/trunk/mcs/; revision=69496
Miguel de Icaza [Thu, 14 Dec 2006 18:14:14 +0000 (18:14 -0000)]
Update copyrights
svn path=/trunk/mcs/; revision=69494
Eyal Alalouf [Thu, 14 Dec 2006 17:37:34 +0000 (17:37 -0000)]
Adding various attributes inheriting from MonoTODO.
svn path=/trunk/mcs/; revision=69493
Paolo Molaro [Thu, 14 Dec 2006 16:18:22 +0000 (16:18 -0000)]
Thu Dec 14 17:02:59 CET 2006 Paolo Molaro <lupus@ximian.com>
* object.c: clear the loader_error () before loading
more metadata stuff (bug #80258).
svn path=/trunk/mono/; revision=69491
Marek Safar [Thu, 14 Dec 2006 15:50:24 +0000 (15:50 -0000)]
2006-12-14 Marek Safar <marek.safar@gmail.com>
A fix for bug #79987
* decl.cs (DeclSpace.VerifyClsCompliance): External names cache is null
when assembly is not CLS compliant but type is. I have no idea why is this
allowed.
* typemanager.cs (Reset): Invalidate AllClsTopLevelTypes cache.
svn path=/trunk/mcs/; revision=69489
Paolo Molaro [Thu, 14 Dec 2006 14:23:32 +0000 (14:23 -0000)]
Thu Dec 14 15:22:43 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.c: emit a break opcode where Debugger.Break () is called.
svn path=/trunk/mono/; revision=69488
Yoni Klain [Thu, 14 Dec 2006 14:04:59 +0000 (14:04 -0000)]
2006-12-14 Yoni Klain <yonik@mainsoft.com>
* ImageMapTest.cs: added tests.
svn path=/trunk/mcs/; revision=69487
Vladislav Spivak [Thu, 14 Dec 2006 13:54:22 +0000 (13:54 -0000)]
win32 resource name is changed
svn path=/trunk/mcs/; revision=69486
Yoni Klain [Thu, 14 Dec 2006 12:53:13 +0000 (12:53 -0000)]
2006-12-14 Yoni Klain <yonik@mainsoft.com>
* FormViewTest.cs: added tests.
svn path=/trunk/mcs/; revision=69484
Paolo Molaro [Thu, 14 Dec 2006 12:51:31 +0000 (12:51 -0000)]
Thu Dec 14 13:50:48 CET 2006 Paolo Molaro <lupus@ximian.com>
* *.cs: added missing Serializable attributes.
svn path=/trunk/mcs/; revision=69483
Vladimir Krasnov [Thu, 14 Dec 2006 12:30:02 +0000 (12:30 -0000)]
* Login.cs: refactored rendering, fixed OnAuthenticate event
* LoginTest.cs: fixed controls id
svn path=/trunk/mcs/; revision=69481
Paolo Molaro [Thu, 14 Dec 2006 11:53:12 +0000 (11:53 -0000)]
Thu Dec 14 12:52:27 CET 2006 Paolo Molaro <lupus@ximian.com>
* MonoProperty.cs, ParameterInfo.cs, PropertyInfo.cs:
GetRequiredCustomModifiers()/GetOptionalCustomModifiers()
implementations.
svn path=/trunk/mcs/; revision=69474
Paolo Molaro [Thu, 14 Dec 2006 11:50:56 +0000 (11:50 -0000)]
Thu Dec 14 12:49:47 CET 2006 Paolo Molaro <lupus@ximian.com>
* icall.c, icall-defs.h: type modifiers icalls for
parameters and properties.
svn path=/trunk/mono/; revision=69473
Yoni Klain [Thu, 14 Dec 2006 09:44:44 +0000 (09:44 -0000)]
2006-12-14 Yoni Klain <yonik@mainsoft.com>
* SiteMapPathTest.cs: added tests.
svn path=/trunk/mcs/; revision=69470
Everaldo Canuto [Thu, 14 Dec 2006 04:06:06 +0000 (04:06 -0000)]
2006-12-13 Everaldo Canuto <everaldo@simios.org>
* MenuAPI.cs: Closes menu when right click out side of popup
it fix problem in ContextMenu and MainMenu. Fixes #80252.
svn path=/trunk/mcs/; revision=69468
Miguel de Icaza [Wed, 13 Dec 2006 21:34:51 +0000 (21:34 -0000)]
2006-12-13 Miguel de Icaza <miguel@novell.com>
* class.cs (ConstructorInitializer.Resolve): Allow for ":this()"
in struct constructors, they are basically no-ops.
svn path=/trunk/mcs/; revision=69464
Carlos Alberto Cortez [Wed, 13 Dec 2006 20:06:39 +0000 (20:06 -0000)]
2006-12-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItemTest.cs:
* ListViewCollectionsTest.cs: Add tests for the new 2.0
ListViewItemCollection methods (IndexOfKey, ContainsKey,
new indexer overload, Find, RemoveByKey).
svn path=/trunk/mcs/; revision=69463
Carlos Alberto Cortez [Wed, 13 Dec 2006 20:02:35 +0000 (20:02 -0000)]
2006-12-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: Fix dumb error.
* ListView.cs: Add Find and ContainsKey methods in
ListViewItemCollection, and also return true for IsReadOnly
and IsFixedSize (changes for 2.0).
svn path=/trunk/mcs/; revision=69462
Gert Driesen [Wed, 13 Dec 2006 18:35:15 +0000 (18:35 -0000)]
* TextBoxTest.cs: Added test for bug #80163.
svn path=/trunk/mcs/; revision=69459
Gert Driesen [Wed, 13 Dec 2006 18:29:50 +0000 (18:29 -0000)]
* MutexTest.cs: Added test for bug #79358. Code formatting, no longer
derive from (deprecated) TestCase.
svn path=/trunk/mcs/; revision=69457
Paolo Molaro [Wed, 13 Dec 2006 18:23:22 +0000 (18:23 -0000)]
Wed Dec 13 19:29:50 CET 2006 Paolo Molaro <lupus@ximian.com>
* object.c, icall.c: fixed warnings.
svn path=/trunk/mono/; revision=69455
Paolo Molaro [Wed, 13 Dec 2006 16:22:22 +0000 (16:22 -0000)]
Wed Dec 13 17:21:40 CET 2006 Paolo Molaro <lupus@ximian.com>
* mono-mmap.c, mono-mmap.h: use guint64 instead of off_t.
svn path=/trunk/mono/; revision=69453
Gert Driesen [Wed, 13 Dec 2006 16:07:56 +0000 (16:07 -0000)]
* ControlTest.cs: Improved Region test.
* Control.cs: Allow Region to be set to null.
svn path=/trunk/mcs/; revision=69452
Yoni Klain [Wed, 13 Dec 2006 15:41:08 +0000 (15:41 -0000)]
2006-12-13 Yoni Klain <yonik@mainsoft.com>
* DetailsViewTest.cs: added tests.
svn path=/trunk/mcs/; revision=69451
Rolf Bjarne Kvinge [Wed, 13 Dec 2006 14:10:25 +0000 (14:10 -0000)]
2006-12-13 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MdiWindowManager.cs: Remove unused (commented out) code.
* Form.cs: When the MdiChild is maximized, the form needs
WM_NCMOUSELEAVE, so request it.
* InternalWindowManager.cs:
- Added tooltips to control buttons.
- Removed duplicated control button handling code.
- Removed unused (commented out) code.
svn path=/trunk/mcs/; revision=69448
Paolo Molaro [Wed, 13 Dec 2006 11:04:59 +0000 (11:04 -0000)]
Wed Dec 13 12:04:02 CET 2006 Paolo Molaro <lupus@ximian.com>
* Socket.cs: stub ReceiveBufferSize and SendBufferSize to
get ironpython to compile.
svn path=/trunk/mcs/; revision=69442
Yoni Klain [Wed, 13 Dec 2006 09:46:13 +0000 (09:46 -0000)]
2006-12-13 Yoni Klain <yonik@mainsoft.com>
* LoginTest.cs: added tests.
svn path=/trunk/mcs/; revision=69441
David Elkind [Wed, 13 Dec 2006 09:32:55 +0000 (09:32 -0000)]
MailAddress compliance problem fixed
svn path=/trunk/mcs/; revision=69440
Miguel de Icaza [Wed, 13 Dec 2006 07:25:06 +0000 (07:25 -0000)]
2006-12-13 Miguel de Icaza <miguel@novell.com>
* mini.c (mono_method_to_ir): Provide useful information on this
assert, to prevent others from debugging like I did.
svn path=/trunk/mono/; revision=69438
Atsushi Eno [Wed, 13 Dec 2006 02:48:50 +0000 (02:48 -0000)]
hispalinux -> myrealbox.
svn path=/trunk/mono/; revision=69434
Everaldo Canuto [Wed, 13 Dec 2006 00:33:07 +0000 (00:33 -0000)]
2006-12-12 Everaldo Canuto <everaldo@simios.org>
* MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
was used because we must set cursor without trigger ChangeCursor event
and without change Cursor control property. Fixes #79963.
svn path=/trunk/mcs/; revision=69433
Andreia Gaita [Tue, 12 Dec 2006 20:46:54 +0000 (20:46 -0000)]
2006-12-12 Andreia Gaita <avidigal@novell.com>
* Control.cs: Check if Region setter value is null, and ignore
svn path=/trunk/mcs/; revision=69432
Marek Safar [Tue, 12 Dec 2006 19:45:11 +0000 (19:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=69431
Marek Safar [Tue, 12 Dec 2006 19:44:46 +0000 (19:44 -0000)]
2006-12-12 Marek Safar <marek.safar@gmail.com>
* cs-tokenizer.cs (Position): Save preprocessor status too.
svn path=/trunk/mcs/; revision=69430
Paolo Molaro [Tue, 12 Dec 2006 19:36:13 +0000 (19:36 -0000)]
Tue Dec 12 20:35:10 CET 2006 Paolo Molaro <lupus@ximian.com>
* MethodBase.cs: added missing ComVisible attr.
* MethodInfo.cs: added a few missing methods that we implement
in derived classes.
svn path=/trunk/mcs/; revision=69429
Paolo Molaro [Tue, 12 Dec 2006 19:09:30 +0000 (19:09 -0000)]
Test for .other event method handling.
svn path=/trunk/mono/; revision=69428
Alp Toker [Tue, 12 Dec 2006 19:01:13 +0000 (19:01 -0000)]
Remove commented code
svn path=/trunk/mcs/; revision=69427