Wade Berrier [Wed, 3 Jan 2007 23:35:00 +0000 (23:35 -0000)]
* scripts/mono-find-provides.in:
* scripts/mono-find-requires.in: error out if monodis isn't
functioning properly. Otherwise when building rpms,
the provides/requires isn't generated correctly if monodis
isn't present.
Fixes: bnc #227362
svn path=/trunk/mono/; revision=70445
Marek Habersack [Wed, 3 Jan 2007 22:16:40 +0000 (22:16 -0000)]
JavaScript validation fix
svn path=/trunk/mcs/; revision=70440
Marek Habersack [Wed, 3 Jan 2007 22:12:52 +0000 (22:12 -0000)]
fix for type loading
svn path=/trunk/mcs/; revision=70439
Jonathan Pobst [Wed, 3 Jan 2007 21:08:05 +0000 (21:08 -0000)]
2007-01-03 Jonathan Pobst <monkey@jpobst.com>
* MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
property and implementation.
* Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
for MdiWindowListItem property.
* ToolStripDropDown.cs: Don't consider hidden menu items while
laying out the menu.
svn path=/trunk/mcs/; revision=70437
Miguel de Icaza [Wed, 3 Jan 2007 19:50:44 +0000 (19:50 -0000)]
2007-01-03 Miguel de Icaza <miguel@novell.com>
* SafeHandle.cs: Do not use locks in SafeHandle to protect the
access to the refcount, use Interlocked.CompareExchange. The
locks were the source of problems with domain finalization when
this code was enabled.
This should fix Matt Hargett's bug report with a full `make check'
that reported variations of:
** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
Finalization of domain <domainname> timed out.
Also, it is a lot lighther.
svn path=/trunk/mcs/; revision=70433
Sebastien Pouliot [Wed, 3 Jan 2007 17:19:15 +0000 (17:19 -0000)]
2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Reduce inputCount if larger than the output
data can hold. Fix bug #80439.
svn path=/trunk/mcs/; revision=70429
Sebastien Pouliot [Wed, 3 Jan 2007 17:17:30 +0000 (17:17 -0000)]
2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
* DESCryptoServiceProviderTest.cs: Add tests for bug #80439 where
inputCount is reduced to fit into the output buffer (for any mode).
svn path=/trunk/mcs/; revision=70428
Sebastien Pouliot [Wed, 3 Jan 2007 17:15:35 +0000 (17:15 -0000)]
2007-01-03 Sebastien Pouliot <sebastien@ximian.com>
* SymmetricTransform.cs: Reduce inputCount if larger than the output
data can hold. Fix bug #80439.
svn path=/trunk/mcs/; revision=70427
Igor Zelmanovich [Wed, 3 Jan 2007 16:20:00 +0000 (16:20 -0000)]
2006-01-03 Igor Zelmanovich <igorz@mainsoft.com>
* FormView.cs: fixed PageIndex property.
svn path=/trunk/mcs/; revision=70426
Andreia Gaita [Wed, 3 Jan 2007 16:18:00 +0000 (16:18 -0000)]
* SendKeys.cs: window handle is not needed in win32, so just
get the active window for X after parsing keys and don't use
it when building the message; it is passed by parameter to the
Xplat method and used there to build the message instead. Also,
wait for events to be processed on SendWait, as opposed to Send,
which doesn't wait :) Playing with threads and Send() completely
hangs on ms.net, only SendWait() works.
XplatUIX11.cs
X11Display.cs: Check for valid window handle.
2007-01-03 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=70425
Vladimir Krasnov [Wed, 3 Jan 2007 15:41:22 +0000 (15:41 -0000)]
* HttpRequest.cs: fixed jvm version of MakeInputStream, should not throw exception on zero content length
svn path=/trunk/mcs/; revision=70424
Jackson Harper [Wed, 3 Jan 2007 14:46:13 +0000 (14:46 -0000)]
* TextControl.cs: Need to prevent wrap calculations when
* replacing
text (this was there before i removed it accidently).
- Don't update the cursor during the positioning, just set it to
selection_start at the end of the operaion.
svn path=/trunk/mcs/; revision=70423
Konstantin Triger [Wed, 3 Jan 2007 14:45:14 +0000 (14:45 -0000)]
update project with recent changes
svn path=/trunk/mcs/; revision=70422
Igor Zelmanovich [Wed, 3 Jan 2007 13:10:26 +0000 (13:10 -0000)]
2006-01-02 Igor Zelmanovich <igorz@mainsoft.com>
* ListControl.cs: fixed SelectedValue and SelectedIndex properties.
set accessor works differently in 2.0.
svn path=/trunk/mcs/; revision=70421
Konstantin Triger [Wed, 3 Jan 2007 13:09:15 +0000 (13:09 -0000)]
explicitly implement ICloneable.Clone as .Net does
svn path=/trunk/mcs/; revision=70420
Vladimir Krasnov [Wed, 3 Jan 2007 13:03:16 +0000 (13:03 -0000)]
* SiteMap.cs, SiteMapNodeCollection.cs: TARGET_JVM of static members
svn path=/trunk/mcs/; revision=70419
Konstantin Triger [Wed, 3 Jan 2007 12:52:39 +0000 (12:52 -0000)]
explicitly implement IDataItemContainer.DataItemIndex as .Net does
svn path=/trunk/mcs/; revision=70418
Rolf Bjarne Kvinge [Wed, 3 Jan 2007 10:57:48 +0000 (10:57 -0000)]
* Control.cs:
* NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
2007-01-03 Rolf Bjarne Kvinge <RKvinge@novell.com>
svn path=/trunk/mcs/; revision=70417
Rolf Bjarne Kvinge [Wed, 3 Jan 2007 10:47:34 +0000 (10:47 -0000)]
2007-01-03 Rolf Bjarne Kvinge <RKvinge@novell.com>
* MonthCalendar.cs: Added Click and DoubleClick events again,
but this time they only hide Control's Click and DoubleClick.
svn path=/trunk/mcs/; revision=70416
Gert Driesen [Wed, 3 Jan 2007 08:51:58 +0000 (08:51 -0000)]
* Theme.cs: Re-enabled DefaultFont change. Use const to refer to
System.Drawing assembly. Spaces to tabs. Removed extra tabs.
* ControlTest.cs: Enabled tests after DefaultFont change. Ignore test
that is DPI-dependent.
* RichTextBoxTest.cs: Ignore test that is DPI-dependent.
* TextBoxTest.cs: Ignore test that is DPI-dependent.
svn path=/trunk/mcs/; revision=70412
Jackson Harper [Wed, 3 Jan 2007 01:27:36 +0000 (01:27 -0000)]
* TextBoxBase.cs: We move the caret with the split now, so we
don't need to explicitly move the caret after splitting. This
fixes the caret bumping down an extra line on Enter.
svn path=/trunk/mcs/; revision=70394
Miguel de Icaza [Wed, 3 Jan 2007 01:05:30 +0000 (01:05 -0000)]
2007-01-02 Miguel de Icaza <miguel@novell.com>
* ContainerControl.cs: Add AutoValidateChanged event (for PDN
2.72).
* ScrollableControl.cs: Add Scroll event.
svn path=/trunk/mcs/; revision=70393
Miguel de Icaza [Wed, 3 Jan 2007 00:16:03 +0000 (00:16 -0000)]
Revert 67496 as it makes running Paint.NET impossible
svn path=/trunk/mcs/; revision=70392
Miguel de Icaza [Wed, 3 Jan 2007 00:08:53 +0000 (00:08 -0000)]
2006-12-31 Miguel de Icaza <miguel@novell.com>
* ThreadPool.cs: Stub a method.
svn path=/trunk/mcs/; revision=70391
Miguel de Icaza [Wed, 3 Jan 2007 00:06:27 +0000 (00:06 -0000)]
Add it with the extension, needed?
svn path=/trunk/mono/; revision=70390
Jb Evain [Tue, 2 Jan 2007 19:50:48 +0000 (19:50 -0000)]
2007-01-02 Jb Evain <jbevain@gmail.com>
* blob.h: add a MONO_TYPE_ENUM definition
* reflection.c (load_cattr_value, create_custom_attr, create_custom_attr_data):
fix the encoding of arrays of enums in custom attributes.
Fixes #79666.
svn path=/trunk/mono/; revision=70383
Mike Kestner [Tue, 2 Jan 2007 19:23:25 +0000 (19:23 -0000)]
2007-01-02 Mike Kestner <mkestner@novell.com>
* ListView.cs: one more try with help from georgegiolfan@yahoo.com
to fix all hdr height padding codepaths. Fixes #80207.
svn path=/trunk/mcs/; revision=70379
Miguel de Icaza [Tue, 2 Jan 2007 19:23:13 +0000 (19:23 -0000)]
To make bug reports more useful
svn path=/trunk/mono/; revision=70378
Gert Driesen [Tue, 2 Jan 2007 17:54:32 +0000 (17:54 -0000)]
* ControlTest.cs: Added FontHeight test.
svn path=/trunk/mcs/; revision=70376
Chris Toshok [Tue, 2 Jan 2007 17:53:09 +0000 (17:53 -0000)]
2007-01-02 Chris Toshok <toshok@ximian.com>
* StatusBar.cs (.ctor): remove the Anchor setting, as it's just
setting it to the Control defaults anyway, and it being after the
Dock set was screwing up layout.
(set_Dock): don't short circuit out of setting base.Dock. Also,
no need to call UpdateStatusBar here, as it'll be re-layed out if
it needs to be.
svn path=/trunk/mcs/; revision=70375
Raja R Harinath [Tue, 2 Jan 2007 17:52:33 +0000 (17:52 -0000)]
In System.Text.RegularExpressions:
Fix #79472
* parser.cs (Parser.GetMapping): Use the actual group numbers to
build the mapping.
In Test/System.Text.RegularExpressions:
* RegexBugs.cs (GroupNumbers): New test based on #79472.
svn path=/trunk/mcs/; revision=70374
Miguel de Icaza [Tue, 2 Jan 2007 17:04:20 +0000 (17:04 -0000)]
Make XML
svn path=/trunk/mcs/; revision=70372
Noam Lampert [Tue, 2 Jan 2007 17:01:40 +0000 (17:01 -0000)]
Fix bug in batch file
svn path=/trunk/mcs/; revision=70371
Mike Kestner [Tue, 2 Jan 2007 16:45:11 +0000 (16:45 -0000)]
2007-01-02 Mike Kestner <mkestner@novell.com>
* ListView.cs: patch from georgegiolfan@yahoo.com to add padding
to header height for width == -1. Fixes the rest of #80207.
svn path=/trunk/mcs/; revision=70369
Mike Kestner [Tue, 2 Jan 2007 16:16:52 +0000 (16:16 -0000)]
2007-01-02 Mike Kestner <mkestner@novell.com>
* ListView.cs: rework the mouse event forwarding everaldo added
to translate the coordinates to the parent control not
raise the parent events until after we've done our work. Hover
needs more work, in the case where HoverSelection is on, because
the item control receives more than one MouseHover per Enter
event, so we need to ensure only the "first" hover gets forwarded.
Opening a minor bug for that.
svn path=/trunk/mcs/; revision=70368
Marek Sieradzki [Tue, 2 Jan 2007 15:36:38 +0000 (15:36 -0000)]
2007-01-02 Marek Sieradzki <marek.sieradzki@gmail.com>
* AssemblyLoadInfo.cs: Used AssemblyName constructor instead of
parsing it here.
svn path=/trunk/mcs/; revision=70367
Gert Driesen [Tue, 2 Jan 2007 15:07:35 +0000 (15:07 -0000)]
* ProcessTest.cs: Added null check tests.
* Process.cs: Allow GetProcesses and GetProcessById overloads with
machine name to work for local machine.
* System_test.dll.sources: Added ProcessTest.cs.
svn path=/trunk/mcs/; revision=70366
Gert Driesen [Tue, 2 Jan 2007 14:37:40 +0000 (14:37 -0000)]
* CheckedListBox.cs: Fixed SelectionMode to match MS.
* ListControl.cs: Implemented AllowSelection property. Removed extra
tabs.
* ListBox.cs: Implemented AllowSelection property.
* ListControlTest.cs: Added test for AllowSelection.
* UpDownTest.cs: MockItem is now nested class.
* ListBoxTest.cs: Added test for AllowSelection.
* CheckedListBoxTest.cs: Added tests for DisplayMember, GetItemText,
SelectionMode, Text and ValueMember.
svn path=/trunk/mcs/; revision=70364
Konstantin Triger [Tue, 2 Jan 2007 14:07:24 +0000 (14:07 -0000)]
DataObjectAttribute.cs: Implemented
svn path=/trunk/mcs/; revision=70363
Vladimir Krasnov [Tue, 2 Jan 2007 13:57:57 +0000 (13:57 -0000)]
* SqlDataSourceView.cs,ObjectDataSourceView.cs: fixed parameter merge when values and old values are null
svn path=/trunk/mcs/; revision=70362
Konstantin Triger [Tue, 2 Jan 2007 13:28:03 +0000 (13:28 -0000)]
Do not reject null key
svn path=/trunk/mcs/; revision=70354
Marek Safar [Tue, 2 Jan 2007 13:07:53 +0000 (13:07 -0000)]
New tests.
svn path=/trunk/mcs/; revision=70353
Marek Safar [Tue, 2 Jan 2007 13:07:24 +0000 (13:07 -0000)]
2007-01-02 Marek Safar <marek.safar@gmail.com>
* class.cs (VerifyMembers): Fixed an crash reported on mono mailing list
where field type is struct from current assembly.
* ecore.cs (EnumConstant.AsString): Report an enum member name whenever
it is possible.
svn path=/trunk/mcs/; revision=70352
Igor Zelmanovich [Tue, 2 Jan 2007 12:34:29 +0000 (12:34 -0000)]
2006-12-27 Igor Zelmanovich <igorz@mainsoft.com>
* ListControl.cs: reverted r70112, fixed in r70319.
svn path=/trunk/mcs/; revision=70351
Vladimir Krasnov [Tue, 2 Jan 2007 12:32:40 +0000 (12:32 -0000)]
* ProfileBase.cs: added inherited properties properties initialization
svn path=/trunk/mcs/; revision=70350
Everaldo Canuto [Tue, 2 Jan 2007 12:13:49 +0000 (12:13 -0000)]
* MenuItem.cs: In MdiWindowClickHandler uses sender instead of
SelectedItem, it prevent for errors when you must disable item
before perform click. Fixes #80409.
2007-01-02 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=70349
Konstantin Triger [Tue, 2 Jan 2007 12:06:24 +0000 (12:06 -0000)]
Add missing IdSeparator propoerty
svn path=/trunk/mcs/; revision=70348
Igor Zelmanovich [Tue, 2 Jan 2007 12:03:01 +0000 (12:03 -0000)]
2007-01-02 Igor Zelmanovich <igorz@mainsoft.com>
* DetailsView.cs: fixed CreateAutoGeneratedRows.
svn path=/trunk/mcs/; revision=70347
Marek Safar [Tue, 2 Jan 2007 11:49:55 +0000 (11:49 -0000)]
New tests.
svn path=/trunk/mcs/; revision=70346
Marek Safar [Tue, 2 Jan 2007 11:49:04 +0000 (11:49 -0000)]
New test based on #80381
svn path=/trunk/mcs/; revision=70345
Marek Safar [Tue, 2 Jan 2007 11:47:40 +0000 (11:47 -0000)]
2007-01-02 Marek Safar <marek.safar@gmail.com>
A fix for bug #80381
* attribute.cs (AttributeTester.RegisterNonObsoleteType): Registers
the core types.
* namespace.cs (GlobalRootNamespace.LookupTypeReflection): Better error
messages.
(Namespace.LookupType): Always use core types from corlib when speficied.
* report.cs: A new warning.
* rootcontext.cs (BootstrapCorlib_ResolveInterface,
BootstrapCorlib_ResolveClass): Register type as non-obsolete type.
(ResolveCore): Add missing System.Runtime.InteropServices._Attribute.
* typemanager.cs (CoreLookupType): Register type as non-obsolete type.
(InitCoreTypes): Set expression type of object_type and value_type
immediately after lookup.
svn path=/trunk/mcs/; revision=70344
Marek Safar [Tue, 2 Jan 2007 11:29:47 +0000 (11:29 -0000)]
Put back test, which Miguel overwrote (was test-542)
svn path=/trunk/mcs/; revision=70343
Marek Sieradzki [Tue, 2 Jan 2007 11:21:51 +0000 (11:21 -0000)]
2007-01-02 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildWhen.cs, BuildPropertyGroupCollection.cs,
BuildItemGroupCollection.cs, Project.cs, GroupingCollection.cs:
GroupingCollection doesn't need Project reference.
* BuildTask.cs, Target.cs, TaskEngine.cs, BatchingImpl.cs: Formatting
* BuildItemGroup.cs: Added new readOnly parameter to ctor.
(Project.EvaluatedItems is a read only item group.)
(ReplaceWith): Added.
* BuildPropertyGroup.cs (IsGlobal): Added. Setting a property in
global property group causes reevaluation of its project.
* Project.cs: ProcessXml () is internal and can be "safely" invoked by
other classes.
* OldExpression.cs: Removed.
* BuildProperty.cs (Evaluate): Simplified.
* ChangeType.cs (TemporaryTransform): Simplified.
* BuildItem.cs: There are now 3 types of build items: from XML, having
parent from XML, virtual. Added SplitParentItem ().
svn path=/trunk/mcs/; revision=70342
Marek Sieradzki [Tue, 2 Jan 2007 11:06:07 +0000 (11:06 -0000)]
More tasks.
svn path=/trunk/mcs/; revision=70341
Marek Sieradzki [Tue, 2 Jan 2007 11:05:36 +0000 (11:05 -0000)]
2007-01-02 Marek Sieradzki <marek.sieradzki@gmail.com>
* BuildItemTest.cs: Tests for items from XML.
* BuildPropertyGroupTest.cs, BuildTaskTest.cs, BuildItemGroupTest.cs,
BuildPropertyTest.cs, ProjectTest.cs: More tests.
svn path=/trunk/mcs/; revision=70340
Everaldo Canuto [Tue, 2 Jan 2007 10:52:37 +0000 (10:52 -0000)]
* MenuAPI.cs: Prevent second level and beyond submenus to close
until first level when move out side of popup.
2007-01-02 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=70339
Merav Sudri [Tue, 2 Jan 2007 09:51:45 +0000 (09:51 -0000)]
GHTDB script for sql 2005 server was added.
svn path=/trunk/mcs/; revision=70338
Everaldo Canuto [Tue, 2 Jan 2007 08:29:26 +0000 (08:29 -0000)]
* MenuAPI.cs:
- Down submenu positin in three pixels.
- Closes sub menu when mouse leaves from menu. Fixes #80402.
2007-01-02 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=70337
Everaldo Canuto [Tue, 2 Jan 2007 07:51:44 +0000 (07:51 -0000)]
2007-01-02 Everaldo Canuto <everaldo@simios.org>
* ThemeWin32Classic.cs:
- Fix popup menu size adding one pixel on the top.
- Down menu item border from two to one to mimic Win32.
- Some source identation fixes.
svn path=/trunk/mcs/; revision=70336
Everaldo Canuto [Tue, 2 Jan 2007 06:58:06 +0000 (06:58 -0000)]
* ThemeWin32Classic.cs: Use float numbers to calculate size and
position of menu arrows, it fix wrong arrow size.
2007-01-01 Everaldo Canuto <everaldo@simios.org>
svn path=/trunk/mcs/; revision=70335
Miguel de Icaza [Tue, 2 Jan 2007 03:45:01 +0000 (03:45 -0000)]
2007-01-01 Miguel de Icaza <miguel@novell.com>
* marshal.c (mono_string_to_byvalwstr): Fix this routine. The
string is null terminated, but only cut the string short if it
overflows the buffer.
(mono_string_to_byvalstr): Also fix this routine. The code here
was not properly terminating a string (it was only terminated
because of the previous catch-all memset).
I left the memset, because I do not know if applications expect
the runtime to clear this region.
Fixes #79944.
svn path=/trunk/mono/; revision=70334
Miguel de Icaza [Tue, 2 Jan 2007 03:44:42 +0000 (03:44 -0000)]
2007-01-01 Miguel de Icaza <miguel@novell.com>
* libtest.c, marshal5.cs: Add tests for ByValTStr marshalling when
the charset is Unicode (see bugs 79944 and 78722).
svn path=/trunk/mono/; revision=70333
Everaldo Canuto [Tue, 2 Jan 2007 02:51:03 +0000 (02:51 -0000)]
Fix ChangeLog date
svn path=/trunk/mcs/; revision=70332
Everaldo Canuto [Tue, 2 Jan 2007 02:49:11 +0000 (02:49 -0000)]
2006-12-31 Everaldo Canuto <everaldo@simios.org>
* ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
instead of line, it simplify draw operation and fix it using 3D
borders to mimic Win32.
svn path=/trunk/mcs/; revision=70331
Miguel de Icaza [Tue, 2 Jan 2007 02:02:29 +0000 (02:02 -0000)]
2007-01-01 Miguel de Icaza <miguel@novell.com>
* icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
Clear the error before returning to unmanaged code to prevent the
runtime from being confused later on (fixes 80420).
(ves_icall_type_from_name): Always call mono_loader_clear_error
after parsing a type that could have failed.
(ves_icall_System_Reflection_Assembly_GetTypes): ditto.
* loader.c (mono_loader_clear_error): Fix indentation.
svn path=/trunk/mono/; revision=70330
Jonathan Pobst [Mon, 1 Jan 2007 22:39:12 +0000 (22:39 -0000)]
2007-01-01 Jonathan Pobst <monkey@jpobst.com>
* StatusStrip.cs: Add implementation of the sizing grip.
* ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
StatusStrip rendering.
svn path=/trunk/mcs/; revision=70329
Miguel de Icaza [Mon, 1 Jan 2007 21:09:11 +0000 (21:09 -0000)]
2007-01-01 Miguel de Icaza <miguel@novell.com>
* configure.in (darwin.CPPFLAGS): Temporary workaround for the bug
reported in 77324. When we get a linker script for MacOS we can
take this out, but for now lets keep it in here.
svn path=/trunk/mono/; revision=70328
Miguel de Icaza [Mon, 1 Jan 2007 20:51:47 +0000 (20:51 -0000)]
Applied os="!windows" for all the mappings in this file as these
mappings are designed to map Windows to Linux libraries and it
was breaking the Windows setup.
See bug 73391
svn path=/trunk/mono/; revision=70327
Miguel de Icaza [Mon, 1 Jan 2007 20:22:20 +0000 (20:22 -0000)]
Update man page wording
svn path=/trunk/mono/; revision=70326
Miguel de Icaza [Mon, 1 Jan 2007 20:14:28 +0000 (20:14 -0000)]
Updated docs
svn path=/trunk/mono/; revision=70325
Miguel de Icaza [Mon, 1 Jan 2007 20:14:20 +0000 (20:14 -0000)]
2007-01-01 Miguel de Icaza <miguel@novell.com>
* scripts/mono-service.in (debug): Add --debug, --no-daemonize and
make sure that this works with 2.0 (wrong binary was being
refereced).
Fixes: #80309
svn path=/trunk/mono/; revision=70324
Konstantin Triger [Mon, 1 Jan 2007 17:49:03 +0000 (17:49 -0000)]
correct working with timeouts
svn path=/trunk/mcs/; revision=70322
Konstantin Triger [Mon, 1 Jan 2007 17:45:58 +0000 (17:45 -0000)]
ensure we don't create session when it is not required
svn path=/trunk/mcs/; revision=70321
Igor Zelmanovich [Mon, 1 Jan 2007 16:37:54 +0000 (16:37 -0000)]
2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
* AutoGeneratedField.cs: is editable in Insest mode.
* BoundField.cs: is editable in Insest mode.
* CheckBoxField.cs: is editable in Insest mode.
* DetailsView.cs: fixed DataBinding flow.
svn path=/trunk/mcs/; revision=70320
Igor Zelmanovich [Mon, 1 Jan 2007 16:13:44 +0000 (16:13 -0000)]
2007-01-01 Igor Zelmanovich <igorz@mainsoft.com>
* BaseDataBoundControl.cs:
* CompositeDataBoundControl.cs: fixed DataBinding flow.
svn path=/trunk/mcs/; revision=70319
Roei Erez [Mon, 1 Jan 2007 15:53:21 +0000 (15:53 -0000)]
fixing overriding final method
svn path=/trunk/mcs/; revision=70318
Konstantin Triger [Mon, 1 Jan 2007 15:43:57 +0000 (15:43 -0000)]
correct asserts in the test
svn path=/trunk/mcs/; revision=70317
Everaldo Canuto [Mon, 1 Jan 2007 10:13:18 +0000 (10:13 -0000)]
Revert MenuAPI wrong commit
svn path=/trunk/mcs/; revision=70315
Everaldo Canuto [Mon, 1 Jan 2007 10:11:57 +0000 (10:11 -0000)]
Clean code and fix identation
svn path=/trunk/mcs/; revision=70314
Gert Driesen [Mon, 1 Jan 2007 10:07:37 +0000 (10:07 -0000)]
* ToolBarTest.cs: Enabled test for bug #80416.
svn path=/trunk/mcs/; revision=70313
Vladimir Krasnov [Mon, 1 Jan 2007 09:58:59 +0000 (09:58 -0000)]
* Control.cs: fixed ResolveClientUrl, wrong when control that calls this method and the page are in different folders
svn path=/trunk/mcs/; revision=70311
Miguel de Icaza [Mon, 1 Jan 2007 07:51:23 +0000 (07:51 -0000)]
2007-01-01 Miguel de Icaza <miguel@novell.com>
* cs-tokenizer.cs: Accept Pc class characters (Connector
Punctuation) as valid identifiers. Fixes #78259
svn path=/trunk/mcs/; revision=70310
Miguel de Icaza [Mon, 1 Jan 2007 07:51:13 +0000 (07:51 -0000)]
Add new test for bug 78259
svn path=/trunk/mcs/; revision=70309
Miguel de Icaza [Mon, 1 Jan 2007 07:01:25 +0000 (07:01 -0000)]
2007-01-01 Miguel de Icaza <miguel@novell.com>
* expression.cs (Invocation.DoResolve): Moved the check for the
use of `this' for doing method calls to the Invocation resolution
step, after overload resolution has taken place instead of doing
the check at the low-level `This.DoResolve' level.
The `This.DoResolve' happens before overload resolution, so it has
no way of knowing if the method that will be called will be
instace or static, triggering an erroneous report for cs0188 (Bug
78113).
We now do the check for instance method invocations after we know
what method will be called.
(This.CheckThisUsage): Move the actual use of this structure
checking into its own method and expose it.
svn path=/trunk/mcs/; revision=70308
Miguel de Icaza [Mon, 1 Jan 2007 06:50:53 +0000 (06:50 -0000)]
Add new test
svn path=/trunk/mcs/; revision=70307
Miguel de Icaza [Mon, 1 Jan 2007 06:25:11 +0000 (06:25 -0000)]
Add verbose description
svn path=/trunk/mcs/; revision=70306
Miguel de Icaza [Mon, 1 Jan 2007 05:56:21 +0000 (05:56 -0000)]
2007-01-01 Miguel de Icaza <miguel@novell.com>
* Everywhere that called Error_ValueCannotBeConverted: pass a new
EmitContext.
Exceptions: Null.ConvertImplicitly,
Constant.ImplicitConversionRequired as there are too many call
sites for passing the ec.
* ecore.cs (Expression.Error_ValueCannotBeConverted): Take an
EmitContext, if the value is null, then we do not try to provide
the extra information from the error (If a userdefined conversion
exists, as UserDefinedConversion requires a non null-EmitContext).
Fixes: #80347
svn path=/trunk/mcs/; revision=70305
Miguel de Icaza [Mon, 1 Jan 2007 05:48:43 +0000 (05:48 -0000)]
Add new test case
svn path=/trunk/mcs/; revision=70304
Miguel de Icaza [Mon, 1 Jan 2007 05:39:24 +0000 (05:39 -0000)]
Note about PRODUCTION define
svn path=/trunk/mcs/; revision=70303
Miguel de Icaza [Mon, 1 Jan 2007 04:40:13 +0000 (04:40 -0000)]
2006-12-31 Miguel de Icaza <miguel@novell.com>
* io-portability.c (find_file): Do not abort if an empty filename
has been passed. This fixes the case where MONO_IOMAP=all would
assert if Directory.Exists ("") was called.
svn path=/trunk/mono/; revision=70302
Miguel de Icaza [Mon, 1 Jan 2007 04:40:01 +0000 (04:40 -0000)]
2006-12-31 Miguel de Icaza <miguel@novell.com>
* exists.cs: Add new test case for MONO_IOMAP bug.
svn path=/trunk/mono/; revision=70301
Miguel de Icaza [Mon, 1 Jan 2007 04:26:28 +0000 (04:26 -0000)]
Spelling fixes and updates
svn path=/trunk/mono/; revision=70300
Chris Toshok [Sun, 31 Dec 2006 23:36:19 +0000 (23:36 -0000)]
* ControlEventTest.cs: add SizeChanged to the resize/layout event
test.
2006-12-31 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=70299
Chris Toshok [Sun, 31 Dec 2006 23:34:36 +0000 (23:34 -0000)]
2006-12-31 Chris Toshok <toshok@ximian.com>
* ControlTest.cs: new test for Anchor/Dock interactions. Also add
tests for Control.SetTopLevel.
svn path=/trunk/mcs/; revision=70298
Chris Toshok [Sun, 31 Dec 2006 23:18:35 +0000 (23:18 -0000)]
2006-12-31 Chris Toshok <toshok@ximian.com>
* ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
override the layout style (anchor/dock) of the control. assign to
Dock instead. Fixes bug #80416.
* ToolStrip.cs: same.
svn path=/trunk/mcs/; revision=70297
Gonzalo Paniagua Javier [Sun, 31 Dec 2006 19:59:05 +0000 (19:59 -0000)]
2006-12-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web.UI/Page.cs:
* System.Web.UI.WebControls/LinkButton.cs: show the validation summary
when client validation and linkbuttons are used. Patch by Juraj
Skripsky.
svn path=/trunk/mcs/; revision=70294
Andreia Gaita [Sun, 31 Dec 2006 18:23:11 +0000 (18:23 -0000)]
2006-12-31 Andreia Gaita <avidigal@novell.com>
* ContainerControl.cs: Use ContainerSelected flag to check if
a Container is directly selected, or if Select is called on a
non-container. If a container is directly selected, focus events
should not be raised.
Apply #80411 patch to throw exception on set_ActiveControl if
control is the same as the current one.
* Control.cs: Use ContainerSelected flag (see above).
Add invalidation check to raise event but not invalidate if
dimensions are 0.
Apply #80411 patch.
* ContainerControlTest.cs / FocusTest.cs: Moved Gert's
ActiveControl tests to FocusTest, for easier management.
Add Validation tests.
svn path=/trunk/mcs/; revision=70293
Everaldo Canuto [Sun, 31 Dec 2006 17:49:13 +0000 (17:49 -0000)]
2006-12-31 Everaldo Canuto <everaldo@simios.org>
* MenuAPI.cs: After click, dont close popup menu when menu is
ContextMenu. Fixes #80399.
svn path=/trunk/mcs/; revision=70292
Igor Zelmanovich [Sun, 31 Dec 2006 17:29:54 +0000 (17:29 -0000)]
2006-12-31 Igor Zelmanovich <igorz@mainsoft.com>
* TextBox.cs: consider ToolTip property
svn path=/trunk/mcs/; revision=70291
Gert Driesen [Sun, 31 Dec 2006 15:34:36 +0000 (15:34 -0000)]
* UpDownTest.cs: Added tests for DomainUpDown and NumericUpDown.
svn path=/trunk/mcs/; revision=70287