Paolo Molaro [Fri, 10 Nov 2006 18:42:10 +0000 (18:42 -0000)]
Typo fixes.
svn path=/trunk/mono/; revision=67683
Paolo Molaro [Fri, 10 Nov 2006 18:22:08 +0000 (18:22 -0000)]
Fri Nov 10 19:18:32 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini-arm.c, mini-arm.h, cpu-arm.md, inssel-float.brg,
inssel-arm.brg: ARM support for soft-float.
svn path=/trunk/mono/; revision=67682
Alexander Olk [Fri, 10 Nov 2006 18:11:44 +0000 (18:11 -0000)]
2006-11-10 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Don't add an extension if the filename
already ends with that extension.
svn path=/trunk/mcs/; revision=67681
Paolo Molaro [Fri, 10 Nov 2006 18:11:21 +0000 (18:11 -0000)]
Fri Nov 10 18:38:15 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.c, jit-icalls.c, jit-icalls.h: added first cut at handling
loads and stores of 32 bit fp values.
svn path=/trunk/mono/; revision=67680
Jackson Harper [Fri, 10 Nov 2006 17:48:38 +0000 (17:48 -0000)]
- CanUndo means 'is there any undo operations', not 'is undo
allowed on this textcontrol. Fixed ClearUndo unit test.
svn path=/trunk/mcs/; revision=67679
Jackson Harper [Fri, 10 Nov 2006 17:37:10 +0000 (17:37 -0000)]
* TextBoxBase.cs: There is no need to expand selection on
MouseMove.
svn path=/trunk/mcs/; revision=67678
Zoltan Varga [Fri, 10 Nov 2006 17:04:15 +0000 (17:04 -0000)]
2006-11-10 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (is_regsize_var): Support PTR/FNPTR too.
* tramp-sparc.c (mono_arch_patch_callsite): Fix this function so it actually
works. Fixes #79852 and #79463.
svn path=/trunk/mono/; revision=67677
Jackson Harper [Fri, 10 Nov 2006 15:48:54 +0000 (15:48 -0000)]
* TreeView.cs: Use the currently highlighted node for the
BeforeSelect event.
svn path=/trunk/mcs/; revision=67673
Andreia Gaita [Fri, 10 Nov 2006 15:11:26 +0000 (15:11 -0000)]
* Button.cs: only perform click when button is Selectable (so as
not to activate default buttons when they're disabled)
* Control.cs: Rewrite of the SelectNextControl and related
methods. HandleClick now selects next control if the current one
is being disabled.
* Form.cs: OnActivated selects next active control only if Load
has already occurred. If Load hasn't run, there's no point in
selecting here, Load might change the state of controls.
* FocusTest.cs: Tests marked as working again for these fixes
2006-11-10 Andreia Gaita <shana.ufie@gmail.com>
svn path=/trunk/mcs/; revision=67668
Chris Toshok [Fri, 10 Nov 2006 14:25:36 +0000 (14:25 -0000)]
2006-11-10 Chris Toshok <toshok@ximian.com>
* XplatUIX11.cs: a couple of fixes.
- use XInternAtoms with almost all the atoms we need to register,
instead of many, many calls to XInternAtom. should help a bit on
startup time, at the expense of making the code look a little
worse.
- fall back to setting TransientFor on TOOLWINDOW's if their hwnd
isn't reparented (which seems to be a clue that we're running fon
compiz) and they have an Owner form. This fixes the tool windows
in paint.net when running under compiz.
- when setting the opacity of a window, support both the case
where the window has been reparented and also when it hasn't been.
Since compiz/beryl doesn't seem to reparent windows, and these are
the only window managers which support translucency, I'm not sure
why we need the hwnd.reparented case at all.. but leave it in.
now we get translucent windows in paint.net under compiz/beryl.
svn path=/trunk/mcs/; revision=67667
Atsushi Eno [Fri, 10 Nov 2006 10:28:24 +0000 (10:28 -0000)]
Now we can safely set eol-style:native.
svn path=/trunk/mcs/; revision=67665
Atsushi Eno [Fri, 10 Nov 2006 10:27:11 +0000 (10:27 -0000)]
This namespace is a horrible nest of mixed line endings :-(
svn path=/trunk/mcs/; revision=67664
Atsushi Eno [Fri, 10 Nov 2006 10:13:46 +0000 (10:13 -0000)]
eol-style:native.
svn path=/trunk/mcs/; revision=67663
Atsushi Eno [Fri, 10 Nov 2006 10:01:59 +0000 (10:01 -0000)]
2006-11-10 Atsushi Enomoto <atsushi@ximian.com>
Fixed bug #77117.
* XmlReflectionImporter.cs : Compute nullable correctly. Elements are
nillable when its type is a reference type.
* XmlSchemaExporter.cs :
Set XmlTypeMapElementInfo.IsNullable from XmlTypeMapping.
Set XmlSchemaElement.IsNillable from XmlTypeMapElementInfo.
* XmlSchemaExporterTests.cs :
fixed almost all test cases which expected totally wrong schemas.
Schema elements are all nillable unless it is of value type.
svn path=/trunk/mcs/; revision=67662
Atsushi Eno [Fri, 10 Nov 2006 01:39:23 +0000 (01:39 -0000)]
2006-11-10 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigator.cs :
- ReadSubtree() should reject everything but Element or Root.
- InnerXml and OuterXml should not use ReadSubtree() when it is
not positioned on an Element or the Root. Thus, implement them
in their own ways. Fixed bug #79875.
* XPathNavigatorTests.cs : added test for bug #79875, and some
"escaped" text tests for InnerXml.
* XPathNavigatorReaderTests.cs : make sure that most of XPath nodes
are rejected to read subtree.
svn path=/trunk/mcs/; revision=67659
Alexander Olk [Fri, 10 Nov 2006 01:15:58 +0000 (01:15 -0000)]
2006-11-10 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs: Always return the value for FilterIndex that
was set. Internally convert it to values that make sense.
svn path=/trunk/mcs/; revision=67658
Everaldo Canuto [Fri, 10 Nov 2006 01:10:38 +0000 (01:10 -0000)]
Fix drowp down arrow borders
svn path=/trunk/mcs/; revision=67657
Everaldo Canuto [Fri, 10 Nov 2006 00:34:16 +0000 (00:34 -0000)]
Fixes ToolBar DropDownButton..
svn path=/trunk/mcs/; revision=67656
Alexander Olk [Fri, 10 Nov 2006 00:11:14 +0000 (00:11 -0000)]
2006-11-10 Alexander Olk <alex.olk@googlemail.com>
* MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
only available on Linux.
svn path=/trunk/mcs/; revision=67654
Atsushi Eno [Fri, 10 Nov 2006 00:08:43 +0000 (00:08 -0000)]
2006-11-10 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigator.cs : InnerXml should allow Text-only content. Fixed
bug #79874, when tied to XPathNavigatorReader fix.
* XPathNavigatorReader.cs : removed node type restriction on
initialization. Fixed bug #79874, when tied to XPathNavigator fix.
* XPathNavigatorTests.cs : added test for bug #79874.
svn path=/trunk/mcs/; revision=67653
Everaldo Canuto [Thu, 9 Nov 2006 22:03:23 +0000 (22:03 -0000)]
Fix wrong separator size
svn path=/trunk/mcs/; revision=67647
Mike Kestner [Thu, 9 Nov 2006 21:25:52 +0000 (21:25 -0000)]
2006-11-09 Mike Kestner <mkestner@novell.com>
* ListView.cs : raise SelectedIndexChanged when an item is selected
programmatically via the Item.Selected property. Gert's nice
ListViewSelectedIndexChanged test fixture now runs clean.
svn path=/trunk/mcs/; revision=67646
Mike Kestner [Thu, 9 Nov 2006 21:08:34 +0000 (21:08 -0000)]
2006-11-09 Mike Kestner <mkestner@novell.com>
* ListView.cs : raise SelectedIndexChanged when a selected item is
removed from the item collection using Remove or RemoveAt.
svn path=/trunk/mcs/; revision=67644
Mike Kestner [Thu, 9 Nov 2006 21:05:19 +0000 (21:05 -0000)]
2006-11-09 Mike Kestner <mkestner@novell.com>
* ListView.cs : raise SelectedIndexChanged when a selected item is
removed from the item collection.
svn path=/trunk/mcs/; revision=67643
Chris Toshok [Thu, 9 Nov 2006 20:46:28 +0000 (20:46 -0000)]
remove theme specific font size check
svn path=/trunk/mcs/; revision=67642
Mike Kestner [Thu, 9 Nov 2006 20:40:50 +0000 (20:40 -0000)]
2006-11-09 Mike Kestner <mkestner@novell.com>
* ListView.cs : raise SelectedIndexChanged once per selected item
for compat with MS. Fixes #79849+.
svn path=/trunk/mcs/; revision=67641
Chris Toshok [Thu, 9 Nov 2006 20:38:37 +0000 (20:38 -0000)]
remove some layout/rendering specific asserts, and fix the RowCount property in TabControl, so we can enable this test.
svn path=/trunk/mcs/; revision=67640
Chris Toshok [Thu, 9 Nov 2006 20:38:03 +0000 (20:38 -0000)]
this test works on mono
svn path=/trunk/mcs/; revision=67639
Chris Toshok [Thu, 9 Nov 2006 20:37:36 +0000 (20:37 -0000)]
* TabControl.cs: initialize row_count to 0, and set it to 1 when
we need to (if we have any tab pages). Fixes unit test.
2006-11-09 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=67638
Marek Habersack [Thu, 9 Nov 2006 20:25:36 +0000 (20:25 -0000)]
One more occurrence of the unused field removed
svn path=/trunk/mcs/; revision=67637
Gert Driesen [Thu, 9 Nov 2006 20:24:09 +0000 (20:24 -0000)]
* ListViewEventTest.cs: Added tests for SelectedIndexChanged event.
* UpDownTest.cs: Fixed ToStringTest.
svn path=/trunk/mcs/; revision=67636
Chris Toshok [Thu, 9 Nov 2006 20:15:54 +0000 (20:15 -0000)]
we pass this test now
svn path=/trunk/mcs/; revision=67635
Chris Toshok [Thu, 9 Nov 2006 20:15:35 +0000 (20:15 -0000)]
2006-11-09 Chris Toshok <toshok@ximian.com>
* Label.cs (CalcPreferredWidth): if Text == "", our preferred
width is 0, not 3. Fixes a unit test.
svn path=/trunk/mcs/; revision=67634
Chris Toshok [Thu, 9 Nov 2006 19:38:49 +0000 (19:38 -0000)]
add tests inspired by bug #76647
svn path=/trunk/mcs/; revision=67633
Mike Kestner [Thu, 9 Nov 2006 19:36:26 +0000 (19:36 -0000)]
2006-11-09 Mike Kestner <mkestner@novell.com>
* ListView.cs : use Implicit scrollbars so that focus isn't
stolen from the listview when they are clicked. Fixes #79850.
svn path=/trunk/mcs/; revision=67632
Marek Safar [Thu, 9 Nov 2006 18:29:51 +0000 (18:29 -0000)]
2006-11-09 Marek Safar <marek.safar@gmail.com>
* CompareInfo.cs: Cache full UseManagedCollation value;
* CultureInfo.cs (Parent): Add caching to avoid re-creating culture info
every time when the property is used.
* TextInfo.cs: Removed unused field.
svn path=/trunk/mcs/; revision=67623
Chris Toshok [Thu, 9 Nov 2006 18:28:33 +0000 (18:28 -0000)]
2006-11-09 Chris Toshok <toshok@ximian.com>
* PropertyGridView.cs (OnPaint): only call DrawGridItems if we
have a root item. Fixes #79879.
svn path=/trunk/mcs/; revision=67622
Alexander Olk [Thu, 9 Nov 2006 17:35:38 +0000 (17:35 -0000)]
In .:
2006-11-09 Alexander Olk <alex.olk@googlemail.com>
* System.Windows.Forms_test.dll.sources: Added CommonDialogsTest.cs.
In Test/System.Windows.Forms:
2006-11-09 Alexander Olk <alex.olk@googlemail.com>
* CommonDialogsTest.cs: Added
In System.Windows.Forms:
2006-11-09 Alexander Olk <alex.olk@googlemail.com>
* FileDialog.cs:
- Fix ToString ()
- An ArgumentException is now thrown if a wrong filter
is applied (matches ms). The previous filter doesn't change
anymore if an exception is thrown.
- Changing the FileName property also affects FileNames
* ColorDialog.cs: The length of the CustomColors array is always
16. It doesn't matter if we use a smaller array or null to update
or change the custom colors property.
* FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
for RootFolder if we get a undefined value.
svn path=/trunk/mcs/; revision=67618
Dick Porter [Thu, 9 Nov 2006 16:51:10 +0000 (16:51 -0000)]
2006-11-09 Dick Porter <dick@ximian.com>
* socket-io.c (ves_icall_System_Net_Sockets_Socket_Poll_internal):
Use poll() not select(). Fixes bug 79397.
svn path=/trunk/mono/; revision=67610
Dick Porter [Thu, 9 Nov 2006 16:50:14 +0000 (16:50 -0000)]
2006-11-09 Dick Porter <dick@ximian.com>
* sockets.c (_wapi_select): Do some sanity checking on the
fd_sets, to avoid file descriptors > FD_SETSIZE.
(_wapi_FD_CLR, _wapi_FD_ISSET, _wapi_FD_SET): Avoid file
descriptors > FD_SETSIZE.
svn path=/trunk/mono/; revision=67609
Paolo Molaro [Thu, 9 Nov 2006 16:06:44 +0000 (16:06 -0000)]
Remove debugging assert.
svn path=/trunk/mono/; revision=67606
Paolo Molaro [Thu, 9 Nov 2006 15:58:05 +0000 (15:58 -0000)]
Thu Nov 9 16:56:13 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini.c, mini-codegen.c, jit-icalls.c, jit-icalls.h:
more soft-float support WIP and fixes.
svn path=/trunk/mono/; revision=67605
Konstantin Triger [Thu, 9 Nov 2006 15:47:12 +0000 (15:47 -0000)]
move Mainsoft.Web.Administration under class/Mainsoft.Web
svn path=/trunk/mcs/; revision=67604
Konstantin Triger [Thu, 9 Nov 2006 15:41:34 +0000 (15:41 -0000)]
move Mainsoft.Web.Administration under class/Mainsoft.Web
svn path=/trunk/mcs/; revision=67603
Konstantin Triger [Thu, 9 Nov 2006 15:38:38 +0000 (15:38 -0000)]
move Mainsoft.Web.Administration under class/Mainsoft.Web
svn path=/trunk/mcs/; revision=67602
Konstantin Triger [Thu, 9 Nov 2006 15:27:10 +0000 (15:27 -0000)]
remove all the generated files
svn path=/trunk/mcs/; revision=67601
Konstantin Triger [Thu, 9 Nov 2006 15:21:38 +0000 (15:21 -0000)]
remove all the generated files
svn path=/trunk/mcs/; revision=67600
Andrew Skiba [Thu, 9 Nov 2006 15:17:22 +0000 (15:17 -0000)]
use IntPtr.Zero instead of (IntPtr) 0
svn path=/trunk/mcs/; revision=67599
Sebastien Pouliot [Thu, 9 Nov 2006 14:58:40 +0000 (14:58 -0000)]
2006-11-09 Sebastien Pouliot <sebastien@ximian.com>
* ApplicationSettingsBaseTest.cs: Added test case for StringCollection
properties (that encode the string list in XML).
svn path=/trunk/mcs/; revision=67598
Sebastien Pouliot [Thu, 9 Nov 2006 14:58:20 +0000 (14:58 -0000)]
2006-11-09 Sebastien Pouliot <sebastien@ximian.com>
* ApplicationSettingsBase.cs: Add special case when dealing with
StringCollection in the Properties property.
svn path=/trunk/mcs/; revision=67597
Igor Zelmanovich [Thu, 9 Nov 2006 14:45:15 +0000 (14:45 -0000)]
2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
* DetailsViewPagerRow.cs: fixed: must be not resolved as BindingContainer.
svn path=/trunk/mcs/; revision=67596
Atsushi Eno [Thu, 9 Nov 2006 14:36:01 +0000 (14:36 -0000)]
2006-11-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaImporter.cs : top-level element might also have no type
name specification, so just compare ElementType with anyType.
* XmlSchemaImporterTests.cs :
added DefaultTypeTopLevelElementImportsAllComplexTypes().
svn path=/trunk/mcs/; revision=67595
Vladimir Krasnov [Thu, 9 Nov 2006 14:23:26 +0000 (14:23 -0000)]
* ObjectDataSourceTest.cs, ObjectDataSourceViewTest.cs: removed NotWorking attributes, added test case
svn path=/trunk/mcs/; revision=67594
Vladimir Krasnov [Thu, 9 Nov 2006 13:28:01 +0000 (13:28 -0000)]
* System.Web.dll.sources: added DataSourceCasheManager.cs
* System.Web20.vmwcsproj: added DataSourceCasheManager.cs
* ParameterCollection.cs: fixed SetDirtyObject method
* ObjectDataSource.cs, ObjectDataSourceView.cs: removed VievState utilization for control's properties, implemented caching
* SqlDataSource.cs, SqlDataSourceView.cs: implemented caching
svn path=/trunk/mcs/; revision=67593
Yoni Klain [Thu, 9 Nov 2006 13:03:24 +0000 (13:03 -0000)]
2006-11-09 Yoni Klain <yonik@mainsoft.com>
* add new application for Web site administration
* new dir Mainsoft.Web.Administration
svn path=/trunk/mcs/; revision=67592
Rolf Bjarne Kvinge [Thu, 9 Nov 2006 12:04:45 +0000 (12:04 -0000)]
2006-11-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
* StatusBarPanel.cs:
- Width is set to MinWidth if Width is smaller than
MinWidth. Fixes #79842.
- MinWidth now always overrides Width (MSDN says MinWidth
is set to Width when AutoSize = None, but they do not
behave like that).
- Style has now the the correct default value.
svn path=/trunk/mcs/; revision=67590
Raja R Harinath [Thu, 9 Nov 2006 11:46:10 +0000 (11:46 -0000)]
Fix #79872
* assembly.c (mono_assembly_load_from_full): Check that the given
image has an assembly manifest.
svn path=/trunk/mono/; revision=67589
Raja R Harinath [Thu, 9 Nov 2006 11:38:53 +0000 (11:38 -0000)]
* driver.cs (BadAssembly): Handle all the ugliness of DefineDynamicAssembly.
svn path=/trunk/mcs/; revision=67588
Rolf Bjarne Kvinge [Thu, 9 Nov 2006 11:03:17 +0000 (11:03 -0000)]
2006-11-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
* StatusBarPanelTest.cs: Added tests for bug #79842.
svn path=/trunk/mcs/; revision=67587
Rolf Bjarne Kvinge [Thu, 9 Nov 2006 09:56:27 +0000 (09:56 -0000)]
2006-11-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
* TrackBarTest.cs: Added tests for bug #79718.
svn path=/trunk/mcs/; revision=67585
Rolf Bjarne Kvinge [Thu, 9 Nov 2006 09:46:01 +0000 (09:46 -0000)]
2006-11-09 Rolf Bjarne Kvinge <RKvinge@novell.com>
* TrackBar.cs:
- The control is completely invalidated on
Got/LostFocus to draw the focus rectangle correctly.
- When AutoSize then height is always 45 (width for
vertical controls).
* ThemeWin32Classic.cs: The TrackBar thumb is now centered
on the mouse when moved and it doesn't move when grabbed
until the mouse moves as well. Also fixed some wrong
calculations when clicking on the thumb (control thought
click was outside of thumb and didn't grab it).
Fixes some of the issues in #79718.
svn path=/trunk/mcs/; revision=67584
Ankit Jain [Thu, 9 Nov 2006 09:38:03 +0000 (09:38 -0000)]
Add support for Retargetable assembly flag.
In mono/metadata:
* tabledefs.h (ASSEMBLYREF_RETARGETABLE_FLAG):
(ASSEMBLYREF_ENABLEJITCOMPILE_TRACKING_FLAG):
(ASSEMBLYREF_DISABLEJITCOMPILE_OPTIMIZER_FLAG): Add AssemblyRef flags.
In mono/dis:
* dump.c (dump_table_assemblyref): Dump Flags also.
* main.c (assembly_ref_flags): New. Stringify AssemblyRef flags.
(dis_directive_assemblyref): Emit flags also.
(dis_directive_assembly): Likewise.
svn path=/trunk/mono/; revision=67583
Ankit Jain [Thu, 9 Nov 2006 09:29:17 +0000 (09:29 -0000)]
Fix bug #79860. Add support for Retargetable assembly flag.
In ilasm/codegen:
* CodeGen.cs (CodeGen.BeginAssemblyRef): Add param for attributes.
(SetAssemblyName): Rename to ..
(SetThisAssembly): .. this. Add param for attributes.
* ExternTable (ExternAssembly.ctor): Likewise.
(ExternAssembly.Resolve): Add attributes.
(ExternTable.AddAssembly): Add param for attributes.
(ExternTable): Update to changes.
* Assembly.cs (Assembly.SetAssemblyAttr): New.
(Assembly.Resolve): Add the flags.
In ilasm/scanner:
* ILTables.cs (keywords): Add 'retargetable'.
In ilasm/parser:
* ILParser.jay (K_RETARGETABLE): New.
(asm_attr): Add rule for K_RETARGETABLE.
(assembly_head): Handle attributes.
(assemblyref_head): Add asm_attr.
In class/PEAPI:
* Metadata.cs (AssemAttr.Retargetable): New.
(AssemblyRef.AddAssemblyAttr): New.
svn path=/trunk/mcs/; revision=67582
Atsushi Eno [Thu, 9 Nov 2006 09:07:40 +0000 (09:07 -0000)]
2006-11-09 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaImporter.cs : attributes might overlap by extending
base content models. Since invalid content models are rejected by
Compile(), simply ignore duplicating attributes. Note that it is
basically hack, which should not skip derived ones but use them (but
it is mostly harmless since the result is very unlikely to differ).
* XmlSchemaImporterTests.cs :
added ImportComplexDerivationByExtension().
svn path=/trunk/mcs/; revision=67581
Atsushi Eno [Thu, 9 Nov 2006 09:03:18 +0000 (09:03 -0000)]
2006-11-09 Atsushi Enomoto <atsushi@ximian.com>
* NewMonoXSD.cs : and for Read() as well ;-)
svn path=/trunk/mcs/; revision=67580
Atsushi Eno [Thu, 9 Nov 2006 08:56:16 +0000 (08:56 -0000)]
2006-11-09 Atsushi Enomoto <atsushi@ximian.com>
* NewMonoXSD.cs : Ankit wants good validation error reporting ;-)
svn path=/trunk/mcs/; revision=67579
Atsushi Eno [Thu, 9 Nov 2006 08:38:08 +0000 (08:38 -0000)]
2006-11-09 Atsushi Enomoto <atsushi@ximian.com>
* NewMonoXSD.cs : process all elements including imported ones. To do
so, use post-compilation schema items.
svn path=/trunk/mcs/; revision=67578
Everaldo Canuto [Thu, 9 Nov 2006 08:10:19 +0000 (08:10 -0000)]
Prevent disabled button to highlight.
svn path=/trunk/mcs/; revision=67574
Chris Toshok [Thu, 9 Nov 2006 05:02:42 +0000 (05:02 -0000)]
add some PropertyDescriptor tests for IsReadOnly
svn path=/trunk/mcs/; revision=67573
Chris Toshok [Thu, 9 Nov 2006 05:02:06 +0000 (05:02 -0000)]
2006-11-09 Chris Toshok <toshok@ximian.com>
* ReflectionPropertyDescriptor.cs: IsReadOnly needs to take into
account the ReadOnlyAttribute.
svn path=/trunk/mcs/; revision=67572
Chris Toshok [Thu, 9 Nov 2006 04:31:42 +0000 (04:31 -0000)]
2006-11-08 Chris Toshok <toshok@ximian.com>
* PropertyGridView.cs: only call ToggleValue if the item is not
readonly.
svn path=/trunk/mcs/; revision=67571
Chris Toshok [Thu, 9 Nov 2006 04:28:43 +0000 (04:28 -0000)]
update the ancient README
svn path=/trunk/mcs/; revision=67570
Atsushi Eno [Thu, 9 Nov 2006 04:23:05 +0000 (04:23 -0000)]
2006-11-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaImporter.cs : when top-level element is xs:anyType, all
complexTypes must be also imported.
* XmlSchemaImporterTests.cs :
added AnyTypeTopLevelElementImportsAllComplexTypes().
svn path=/trunk/mcs/; revision=67569
Chris Toshok [Thu, 9 Nov 2006 03:33:17 +0000 (03:33 -0000)]
these tests work now
svn path=/trunk/mcs/; revision=67568
Chris Toshok [Thu, 9 Nov 2006 03:32:44 +0000 (03:32 -0000)]
In .:
2006-11-08 Chris Toshok <toshok@ximian.com>
* System.Windows.Forms.dll.sources: add RootGridEntry.cs
In System.Windows.Forms:
* RootGridEntry.cs: new class to represent GridItemType.Root.
* CategoryGridEntry.cs: reformat, and add boilerplate.
* GridEntry.cs: remove the UIParent stuff - turns out .Parent
returns the UI parent anyway, and we need special handling to
implement the GetTarget method in the face of it. Also, implement
Select().
* PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
a root grid item, and use that instead of PropertyGrid.grid_items.
Also, make use of TypeConverters (and add limitted support for
ICustomTypeDescriptors) when initially populating the grid.
Arrays now show up more or less properly.
2006-11-08 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=67567
Chris Toshok [Thu, 9 Nov 2006 03:21:19 +0000 (03:21 -0000)]
fix this test for MS
svn path=/trunk/mcs/; revision=67566
Chris Toshok [Thu, 9 Nov 2006 03:15:09 +0000 (03:15 -0000)]
add another (notworking) test
svn path=/trunk/mcs/; revision=67565
Sebastien Pouliot [Thu, 9 Nov 2006 03:05:50 +0000 (03:05 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* CollectionConverterTest.cs: More test cases.
svn path=/trunk/mcs/; revision=67564
Atsushi Eno [Thu, 9 Nov 2006 02:11:40 +0000 (02:11 -0000)]
2006-11-08 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaImporter.cs : ImportTypeMapping() raises exception when
the argument name is not bound to any elements.
* XmlSchemaImporterTests.cs : added ImportTypeMapping() test for
nonexistent name.
svn path=/trunk/mcs/; revision=67560
Jonathan Pobst [Wed, 8 Nov 2006 22:59:41 +0000 (22:59 -0000)]
2006-11-08 Jonathan Pobst <monkey@jpobst.com>
* ToolStripItemDesignerAvailability.cs: Added.
* ToolStripItemDesignerAvailabilityAttribute.cs: Added.
svn path=/trunk/mcs/; revision=67558
Chris Toshok [Wed, 8 Nov 2006 22:47:11 +0000 (22:47 -0000)]
add a bunch more property grid tests (some of which aren't working with mono)
svn path=/trunk/mcs/; revision=67557
Jackson Harper [Wed, 8 Nov 2006 21:23:46 +0000 (21:23 -0000)]
* TextBoxBase.cs: The RichTextBox and textbox have very
* different
word selection methods. Implement the textbox's simple word
selection here, and let the RichTextBox override and provide
it's
own.
- Don't do extra selection on mouseup
* RichTextBox.cs: Use the documents word selection algorithm, I
think ideally, this function will be pulled into the
RichTextBox.cs code someday.
svn path=/trunk/mcs/; revision=67555
Jackson Harper [Wed, 8 Nov 2006 21:07:22 +0000 (21:07 -0000)]
- Invalidate the selected area when setting it, if it is
visible.
svn path=/trunk/mcs/; revision=67553
Chris Toshok [Wed, 8 Nov 2006 20:49:03 +0000 (20:49 -0000)]
2006-11-08 Chris Toshok <toshok@ximian.com>
* Application.cs: set the modal dialog to non modal after we close
it. Fixes bug #79866.
svn path=/trunk/mcs/; revision=67551
Jackson Harper [Wed, 8 Nov 2006 20:16:18 +0000 (20:16 -0000)]
- Make sure to set the cursor position when there is a click,
otherwise two clicks in separate areas could cause a large chunk
to be selected.
svn path=/trunk/mcs/; revision=67550
Gert Driesen [Wed, 8 Nov 2006 20:05:17 +0000 (20:05 -0000)]
* TextBoxTest.cs: Added test for bug #79851.
svn path=/trunk/mcs/; revision=67549
Gert Driesen [Wed, 8 Nov 2006 19:53:28 +0000 (19:53 -0000)]
* System_test.dll.sources: Added ArrayConverterTests.cs.
* ArrayConverter.cs: Modifed ConvertTo for Array => String to match
MS. In GetProperties, throw NRE to match MS.
* ArrayConverterTests.cs: Added tests for ArrayConverter.
svn path=/trunk/mcs/; revision=67548
Jackson Harper [Wed, 8 Nov 2006 19:53:10 +0000 (19:53 -0000)]
* TextBoxBase.cs: Only rich text box can do full line selects.
svn path=/trunk/mcs/; revision=67547
Jackson Harper [Wed, 8 Nov 2006 17:56:23 +0000 (17:56 -0000)]
* TextControl.cs: When combining lines carry over the line end
style from the end line.
svn path=/trunk/mcs/; revision=67546
Chris Toshok [Wed, 8 Nov 2006 16:55:17 +0000 (16:55 -0000)]
remove unused field
svn path=/trunk/mcs/; revision=67544
Chris Toshok [Wed, 8 Nov 2006 16:54:58 +0000 (16:54 -0000)]
2006-11-08 Chris Toshok <toshok@ximian.com>
* ArrayConverter.cs: implement GetProperties correctly, by
creating ArrayPropertyDescriptor objects for each array element.
svn path=/trunk/mcs/; revision=67543
Igor Zelmanovich [Wed, 8 Nov 2006 16:46:25 +0000 (16:46 -0000)]
2006-11-09 Igor Zelmanovich <igorz@mainsoft.com>
* GridView.cs: fixed: DataKeys, PageCount, DataBinding flow.
svn path=/trunk/mcs/; revision=67542
Sebastien Pouliot [Wed, 8 Nov 2006 16:17:52 +0000 (16:17 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* X501Name.cs: Fix build as the first build of 2.0's System.dll
may depend on a Mono.Security.dll without the new ToString overload.
svn path=/trunk/mcs/; revision=67541
Andrew Skiba [Wed, 8 Nov 2006 15:45:46 +0000 (15:45 -0000)]
rename all jvm-only files to jvm.cs
svn path=/trunk/mcs/; revision=67540
Paolo Molaro [Wed, 8 Nov 2006 15:40:16 +0000 (15:40 -0000)]
Wed Nov 8 16:40:02 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini-arm.c: some VFP updates.
svn path=/trunk/mono/; revision=67539
Raja R Harinath [Wed, 8 Nov 2006 15:19:54 +0000 (15:19 -0000)]
Address parts of #58244 -- most of what's left is in the runtime
* driver.cs (LoadAssembly): Simplify slightly. Add CS0009 and
CS1509 error checks, and handle them for all assembly loads, not
just the first invocation.
(LoadModule): Likewise. Move handling of 'adder_method' ...
* codegen.cs (AssemblyClass.AddModule): ... here.
svn path=/trunk/mcs/; revision=67538
Jonathan Pryor [Wed, 8 Nov 2006 15:12:06 +0000 (15:12 -0000)]
* Makefile.am: Revert addition of L_SET et al; this breaks the Win32 build.
* map.c: Revert addition of L_SET et al; this breaks the Win32 build.
* mph.h: Add macros for L_SET, L_INCR, and L_XTND for non-Win32 platforms.
svn path=/trunk/mono/; revision=67536
Sebastien Pouliot [Wed, 8 Nov 2006 14:52:43 +0000 (14:52 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* System.Security_test.dll.sources: Added unit and CAS tests for
System.Security.Cryptography.X509Certificates.X509Certificate2UI
svn path=/trunk/mcs/; revision=67535
Sebastien Pouliot [Wed, 8 Nov 2006 14:51:41 +0000 (14:51 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate2UICas.cs: New (2.0) CAS tests for X509Certificate2UI
* X509Certificate2UITest.cs: New (2.0) unit tests for
X509Certificate2UI
svn path=/trunk/mcs/; revision=67534
Sebastien Pouliot [Wed, 8 Nov 2006 14:50:54 +0000 (14:50 -0000)]
2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
* X509Certificate2UI.cs: Fix exceptions, add security attributes and
notes.
svn path=/trunk/mcs/; revision=67533