Paolo Molaro [Mon, 8 Oct 2007 08:02:59 +0000 (08:02 -0000)]
Mon Oct 8 10:04:40 CEST 2007 Paolo Molaro <lupus@ximian.com>
* tramp-ppc.c: reduce the size of the trampolines, saves 160KB on
monodevelop startup.
svn path=/trunk/mono/; revision=87077
Paolo Molaro [Mon, 8 Oct 2007 07:15:13 +0000 (07:15 -0000)]
Mon Oct 8 09:29:15 CEST 2007 Paolo Molaro <lupus@ximian.com>
* codegen.cs: remove the assembly version check until the buildbot is
fixed.
svn path=/trunk/mcs/; revision=87074
Gert Driesen [Sun, 7 Oct 2007 15:21:06 +0000 (15:21 -0000)]
* ListViewItemTest.cs: Added test for bug #330415 and #331643.
Use Assert.IsFalse and Assert.IsTrue instead of Assert.AreEqual.
svn path=/trunk/mcs/; revision=87052
Jb Evain [Sun, 7 Oct 2007 13:02:45 +0000 (13:02 -0000)]
2007-10-07 Jb Evain <jbevain@novell.com>
* attribute.cs (Attribute.GetString): if the value
expression is a StringConstant, return its string value.
svn path=/trunk/mcs/; revision=87049
Jb Evain [Sun, 7 Oct 2007 12:16:47 +0000 (12:16 -0000)]
2007-10-07 Jb Evain <jbevain@novell.com>
* Mono.Cecil/BaseAssemblyResolver.cs: first lookup assemblies
in the specified directories before trying the framework dir.
svn path=/trunk/mcs/; revision=87048
Gert Driesen [Sun, 7 Oct 2007 11:42:44 +0000 (11:42 -0000)]
* gtest-344.cs: test for bug #331191
* known-issues-gmcs: added gtest-344.cs.
svn path=/trunk/mcs/; revision=87047
Jb Evain [Sun, 7 Oct 2007 03:01:07 +0000 (03:01 -0000)]
2007-10-07 Jb Evain <jbevain@novell.com>
* typemanager.cs: add `assembly_version_attribute_type`.
* codegen.cs: on attribute emission, check that the
AssemblyVersionAttribute doesn't overflow.
svn path=/trunk/mcs/; revision=87045
Jb Evain [Sun, 7 Oct 2007 02:58:50 +0000 (02:58 -0000)]
2007-10-07 Jb Evain <jbevain@novell.com>
* cs0647-17.cs: New test for assembly version verification.
svn path=/trunk/mcs/; revision=87044
Carlos Alberto Cortez [Sun, 7 Oct 2007 02:56:07 +0000 (02:56 -0000)]
* FolderBrowserDialog.cs: When running on Windows,
try to detect paths such "C:" and add Path.DirectorySeparatorChar,
since we must match both "C:" and "C:\" forms. A little hackish, but
works.
Fixes #325247.
2007-10-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=87043
Carlos Alberto Cortez [Sun, 7 Oct 2007 02:22:22 +0000 (02:22 -0000)]
2007-10-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: When calling EndEdit (after editing an item),
create a new instance of LabelEditEventArgs to keep clean the fields
in case we get a new call to BeginEdit; also do Application.DoEvents
to have focus in synch. This is a fix similar to TreeView's #325244.
svn path=/trunk/mcs/; revision=87042
Jb Evain [Sun, 7 Oct 2007 01:51:28 +0000 (01:51 -0000)]
use version numbers that fit in ushorts
svn path=/trunk/mcs/; revision=87041
Andreia Gaita [Sun, 7 Oct 2007 00:23:13 +0000 (00:23 -0000)]
2007-10-07 Andreia Gaita <avidigal@novell.com>
* System.Windows.Forms.dll.sources: Added WebBrowserDialogs
* build-csproj2k5: added reference to mono.mozilla
* SWF2K5.csproj: Updated project files
* HtmlDocument.cs, HtmlElement.cs, WebBrowser.cs: Added dom support
* WebBrowserBase.cs: Added dialog support, calling the
WebBrowserDialogs classes for each specific dialog type.
System.Windows.Forms.WebBrowserDialogs:
* Added webbrowser dialog implementations.
Generic is a generic form with a table layout and
methods for adding buttons, labels, checkboxes and
textboxes. The other classes inherit from Generic,
and call up to add the needed fields for each specific
dialog.
svn path=/trunk/mcs/; revision=87040
Andreia Gaita [Sat, 6 Oct 2007 23:53:08 +0000 (23:53 -0000)]
2007-10-07 Andreia Gaita <avidigal@novell.com>
* More dialog event options.
* Mono.Mozilla/interfaces/nsIDOM*: Added mozilla dom interfaces.
* Mono.WebBrowser/DOM/IDOM*: Added generic interfaces for public
dom access.
* Mono.Mozilla/DOM/DOM*: corresponding implementations for
accessing mozilla.
* WebBrowser.cs: moved to Mono.Mozilla, since it is a
mozilla-specific implementation of the generic public
interface
svn path=/trunk/mcs/; revision=87039
Jb Evain [Sat, 6 Oct 2007 20:53:29 +0000 (20:53 -0000)]
2007-10-06 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Cil/OpCode.cs: make that a struct again, it
make the 2.1 profile explode. Will investigate why.
svn path=/trunk/mcs/; revision=87035
Zoltan Varga [Sat, 6 Oct 2007 20:16:13 +0000 (20:16 -0000)]
2007-10-06 Zoltan Varga <vargaz@gmail.com>
* mini-sparc.c (mono_arch_get_vcall_slot_addr): Allow signed displacements.
* mini-sparc.h mini-sparc.c: Implement IMT support.
svn path=/trunk/mono/; revision=87034
Zoltan Varga [Sat, 6 Oct 2007 20:04:25 +0000 (20:04 -0000)]
2007-10-06 Zoltan Varga <vargaz@gmail.com>
* tramp-sparc.c (mono_arch_create_trampoline_code): Rework the trampoline code so
its smaller and doesn't clobber sparc_g1.
* mini-sparc.c (mono_arch_get_vcall_slot_addr): Update after trampoline changes.
svn path=/trunk/mono/; revision=87033
Jb Evain [Sat, 6 Oct 2007 13:47:07 +0000 (13:47 -0000)]
2007-10-06 Jb Evain <jbevain@novell.com>
* Mono.Cecil/MethodCallingConvention.cs: Not a [Flag]
svn path=/trunk/mcs/; revision=87032
Paolo Molaro [Sat, 6 Oct 2007 09:34:34 +0000 (09:34 -0000)]
More IMT doc updates.
svn path=/trunk/mono/; revision=87030
Paolo Molaro [Sat, 6 Oct 2007 08:22:28 +0000 (08:22 -0000)]
Sat Oct 6 10:35:25 CEST 2007 Paolo Molaro <lupus@ximian.com>
* gtest-284.cs: this test wasn't working even on the MS runtime:
once fixed it runs fine on both mono and MS .net.
svn path=/trunk/mcs/; revision=87029
Paolo Molaro [Sat, 6 Oct 2007 07:48:19 +0000 (07:48 -0000)]
Sat Oct 6 10:01:42 CEST 2007 Paolo Molaro <lupus@ximian.com>
* class.c: the valuetype enumerators don't have the additional
supertypes interfaces.
svn path=/trunk/mono/; revision=87028
Carlos Alberto Cortez [Sat, 6 Oct 2007 07:35:22 +0000 (07:35 -0000)]
* ListView.cs: When the last item is focused and is removed,
move the focus to the previous item (in Items order). This is what MS
does.
Fixes #330415.
2007-10-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=87027
Carlos Alberto Cortez [Sat, 6 Oct 2007 06:59:09 +0000 (06:59 -0000)]
2007-10-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: In ListViewItemCollection, make Remove call RemoveAt,
instead of the opposite (RemoveAt call Remove). This is a better
approach since we don't need to to a pair of traversals when using
RemoveAt.
svn path=/trunk/mcs/; revision=87026
Carlos Alberto Cortez [Sat, 6 Oct 2007 00:36:41 +0000 (00:36 -0000)]
* TreeView.cs: When Keys.Left is pressed, before trying to Collapse
check that the node actually has nodes, and if not, move to the
parent node instead.
Fixes #325265.
2006-10-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=87023
Carlos Alberto Cortez [Sat, 6 Oct 2007 00:29:57 +0000 (00:29 -0000)]
2007-10-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeNodeTest.cs: Added a test to be sure leaf nodes
keep their expanded/collapsed state when we get calls to
Expand/Collapse. Also add a forgotten test for EndEdit method.
svn path=/trunk/mcs/; revision=87022
Carlos Alberto Cortez [Fri, 5 Oct 2007 21:43:22 +0000 (21:43 -0000)]
2006-10-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeView.cs: Move the previous change to the general case (to
call Application.DoEvents in cases where the method was called by
different places).
svn path=/trunk/mcs/; revision=87016
Marek Safar [Fri, 5 Oct 2007 20:38:54 +0000 (20:38 -0000)]
Fixed typo.
svn path=/trunk/mcs/; revision=87011
Marek Safar [Fri, 5 Oct 2007 20:09:20 +0000 (20:09 -0000)]
A test for bug #324677
svn path=/trunk/mcs/; revision=87008
Marek Safar [Fri, 5 Oct 2007 20:08:17 +0000 (20:08 -0000)]
2007-10-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #324677
* anonymous.cs, decl.cs: Yes another anonymous container hack. Overwrite
parent container of a scope container with currently resolved one.
svn path=/trunk/mcs/; revision=87007
Paolo Molaro [Fri, 5 Oct 2007 18:22:16 +0000 (18:22 -0000)]
Fri Oct 5 20:33:31 CEST 2007 Paolo Molaro <lupus@ximian.com>
* class.c: need more interfaces setup for the IEnumerator<T>
object created for arrays (tests/ienumerator-interfaces.2.cs).
svn path=/trunk/mono/; revision=87004
Atsushi Eno [Fri, 5 Oct 2007 18:12:35 +0000 (18:12 -0000)]
2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
* ExpressionsCollectionConverter.cs,
ExpressionsCollectionEditor.cs,
HierarchicalDataSourceConverter.cs,
HierarchicalDataSourceDesigner.cs : more 2.0 files.
* ControlDesigner.cs, ControlDesignerState.cs, ControlParser.cs,
DataBindingCollectionConverter.cs, DataBindingCollectionEditor.cs,
DataSourceConverter.cs, DesignTimeData.cs, ExpressionEditor.cs,
ExpressionEditorSheet.cs, HtmlControlDesigner.cs,
IControlDesignerBehaviour.cs, IDataSourceDesigner.cs,
IDesignTimeResourceWriter.cs, IHtmlControlDesignerBehavior.cs,
ITemplateEditingFrame.cs, ITemplateEditingService.cs,
IWebFormReferenceManager.cs, IWebFormsDocumentService.cs,
ReadWriteControlDesigner.cs, ResourceExpressionEditorSheet.cs,
TemplateDefinition.cs, TemplateEditingService.cs,
TemplateEditingVerb.cs, TemplatedControlDesigner.cs,
TextControlDesigner.cs, UrlBuilder.cs, UserControlDesigner.cs,
ViewFlags.cs, WebControlToolboxItem.cs, WebFormsRootDesigner.cs:
a bunch of API fixes on existing files.
svn path=/trunk/mcs/; revision=87002
Jb Evain [Fri, 5 Oct 2007 16:40:16 +0000 (16:40 -0000)]
2007-10-05 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Cil/OpCode.cs: Change OpCode from struct to class
to avoid copying everything everytime.
svn path=/trunk/mcs/; revision=86999
Carlos Alberto Cortez [Fri, 5 Oct 2007 16:24:18 +0000 (16:24 -0000)]
2007_10-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeView.cs: When calling EndEdit and we need to hide the textbox,
call Application.DoEvents. This is neccessary when we get a call to
BeginEdit from an AfterLabelEdit handler, because the focus always
goes to the TreeView, even if we try to give it to our
LabelEditTextBox. The call do Application.DoEvents seems to
synchronize the focus, basically.
Fixes #325244.
svn path=/trunk/mcs/; revision=86998
Paolo Molaro [Fri, 5 Oct 2007 16:16:32 +0000 (16:16 -0000)]
Fri Oct 5 18:28:11 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: optimized the size of the IMT thunks a bit.
svn path=/trunk/mono/; revision=86997
Atsushi Eno [Fri, 5 Oct 2007 16:09:05 +0000 (16:09 -0000)]
2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
* WebService.cs : Do not always expect HttpContext existence.
Fixed bug #331183.
* WebServiceTest.cs : new test (for bug #331183).
* System.Web.Services_test.dll.sources : added WebServiceTest.cs.
svn path=/trunk/mcs/; revision=86996
Paolo Molaro [Fri, 5 Oct 2007 15:56:45 +0000 (15:56 -0000)]
Fri Oct 5 18:08:30 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: implemented fast delegate invocation.
svn path=/trunk/mono/; revision=86995
Marek Safar [Fri, 5 Oct 2007 15:50:54 +0000 (15:50 -0000)]
A test for bug #325534
svn path=/trunk/mcs/; revision=86993
Marek Safar [Fri, 5 Oct 2007 15:50:31 +0000 (15:50 -0000)]
2007-10-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #325534
* class.cs (Invocation.DoResolve): Check invocation of object finalizer
only.
svn path=/trunk/mcs/; revision=86992
Gert Driesen [Fri, 5 Oct 2007 15:38:52 +0000 (15:38 -0000)]
* ComboBoxTest.cs: Added test for bug #331144.
svn path=/trunk/mcs/; revision=86991
Zoltan Varga [Fri, 5 Oct 2007 15:12:28 +0000 (15:12 -0000)]
2007-10-05 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_ldtoken): Handle methodspec tokens as well. Fixes #331097.
svn path=/trunk/mono/; revision=86990
Marek Safar [Fri, 5 Oct 2007 14:54:53 +0000 (14:54 -0000)]
A test for bug #327497
svn path=/trunk/mcs/; revision=86989
Marek Safar [Fri, 5 Oct 2007 14:54:37 +0000 (14:54 -0000)]
2007-10-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #327497
* generics.cs (Constraints.CheckInterfaceMethod): Compare geenric open
types when appropriate.
svn path=/trunk/mcs/; revision=86988
Dick Porter [Fri, 5 Oct 2007 14:16:15 +0000 (14:16 -0000)]
2007-10-05 Dick Porter <dick@ximian.com>
* ThreadTest.cs: Disable GetHashCodeTest while I figure out why
GetHashCode sometimes returns 0.
svn path=/trunk/mcs/; revision=86984
Rodrigo Kumpera [Fri, 5 Oct 2007 14:03:38 +0000 (14:03 -0000)]
2007-10-05 Rodrigo Kumpera <rkumpera@novell.com>
* generic_type_definition_encoding.2.cs: added, this tests
the regression fixed in r86912.
* Makefile.am: added generic_type_definition.2.cs
svn path=/trunk/mono/; revision=86983
Marek Safar [Fri, 5 Oct 2007 11:52:09 +0000 (11:52 -0000)]
Updated an error message
svn path=/trunk/mcs/; revision=86968
Marek Safar [Fri, 5 Oct 2007 11:51:48 +0000 (11:51 -0000)]
A test for bug #327504
svn path=/trunk/mcs/; revision=86967
Marek Safar [Fri, 5 Oct 2007 11:51:28 +0000 (11:51 -0000)]
2007-10-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #327504
* class.cs (Operator.Define): Refactored implicit and explicit user
operator conversion rules.
svn path=/trunk/mcs/; revision=86966
Marek Safar [Fri, 5 Oct 2007 09:03:42 +0000 (09:03 -0000)]
New test for bug bug #327520
svn path=/trunk/mcs/; revision=86961
Marek Safar [Fri, 5 Oct 2007 09:03:11 +0000 (09:03 -0000)]
2007-10-05 Marek Safar <marek.safar@gmail.com>
A fix for bug #327520
* ecore.cs (ExtensionMethodGroupExpr): Emit resolved extension argument.
svn path=/trunk/mcs/; revision=86960
Atsushi Eno [Fri, 5 Oct 2007 08:50:17 +0000 (08:50 -0000)]
2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
* MailFileEditor.cs, MdbDataFileEditor.cs,
ResourceExpressionEditorSheet.cs, SkinIDTypeConverter.cs,
SupportsPreviewControlAttribute.cs,
TemplateModeChangedEventArgs.cs, TransactedChangeCallback.cs,
TypeSchema.cs, UserControlFileEditor.cs,
WebFormsDesignerActionService.cs, XmlDataFileEditor.cs,
XmlDocumentSchema.cs, XsdSchemaFileEditor.cs,
XslTransformFileEditor.cs : more 2.0 fiels.
svn path=/trunk/mcs/; revision=86959
Atsushi Eno [Fri, 5 Oct 2007 07:53:17 +0000 (07:53 -0000)]
2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
* DataColumnSelectionConverter.cs, DataSetFieldSchema.cs,
DataSetSchema.cs, DataSetViewSchema.cs,
DataSourceBooleanViewSchemaConverter.cs, DataSourceDesigner.cs,
DataSourceViewSchemaConverter.cs,
DesignerHierarchicalDataSourceView.cs,
IContentResolutionService.cs, IDataSourceSchema.cs,
IDesignTimeResourceProviderFactoryService.cs,
IDocumentProjectItem.cs, IFolderProjectItem.cs,
IHierarchicalDataSourceDesigner.cs, IWebAdministrationService.cs :
more new 2.0 files.
svn path=/trunk/mcs/; revision=86954
Atsushi Eno [Fri, 5 Oct 2007 06:52:27 +0000 (06:52 -0000)]
2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
* HttpWebClientProtocol.cs : implemented EnableDecompression.
* WebService.cs : [ComVisible].
* DiscoveryClientProtocol.cs : [ComVisible]
* ServiceDescriptionCollection.cs : added missing members.
svn path=/trunk/mcs/; revision=86951
Atsushi Eno [Fri, 5 Oct 2007 06:04:25 +0000 (06:04 -0000)]
2007-10-05 Atsushi Enomoto <atsushi@ximian.com>
* ServiceInstallerDialogResult.cs, ServiceInstallerDialog.cs :
added missing files (winforms dependencies).
* SessionChangeDescription.cs, SessionChangeReason.cs :
new 2.0 types.
* ServiceBase.cs : added missing members.
* Makefile : added /r:System.Windows.Forms. removed /warnaserror.
* System.ServiceProcess.dll.sources : added couple of missing types.
svn path=/trunk/mcs/; revision=86950
Raja R Harinath [Fri, 5 Oct 2007 03:51:32 +0000 (03:51 -0000)]
Update
svn path=/trunk/mcs/; revision=86949
Carlos Alberto Cortez [Fri, 5 Oct 2007 02:30:45 +0000 (02:30 -0000)]
2007-10-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* System.Windows.Forms_test.dll.sources: Added TreeViewEventsTest.cs.
svn path=/trunk/mcs/; revision=86948
Carlos Alberto Cortez [Fri, 5 Oct 2007 02:30:10 +0000 (02:30 -0000)]
2007-10-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeView.cs: When AfterLabelEdit event is fired, TreeNode.IsEditing
should be false. This also removes some nasty recursive paths. Fixes
part of #325244.
svn path=/trunk/mcs/; revision=86947
Carlos Alberto Cortez [Fri, 5 Oct 2007 02:23:52 +0000 (02:23 -0000)]
2007-10-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeViewEventsTest.cs: New file. Tests for TreeView events.
svn path=/trunk/mcs/; revision=86946
Alp Toker [Fri, 5 Oct 2007 01:32:50 +0000 (01:32 -0000)]
2007-10-05 Alp Toker <alp@atoker.com>
* TypeTest.cs: Re-enable the regression test for #315863.
svn path=/trunk/mcs/; revision=86945
Alp Toker [Fri, 5 Oct 2007 01:31:47 +0000 (01:31 -0000)]
2007-10-05 Alp Toker <alp@atoker.com>
* icall.c (ves_icall_MonoType_GetElementType): For enums, return null
rather than the underlying type. Based on a patch by Ben Maurer. Fixes
#315863.
svn path=/trunk/mono/; revision=86944
Everaldo Canuto [Fri, 5 Oct 2007 01:04:14 +0000 (01:04 -0000)]
In System.Windows.Forms:
2007-10-04 Everaldo Canuto <ecanuto@novell.com>
* MdiClient.cs: When cascade (layout) mdi window that is maximized, set the
state to normal. Also resize window when cascading. Fixes #325433.
svn path=/trunk/mcs/; revision=86941
Jonathan Pobst [Thu, 4 Oct 2007 22:32:47 +0000 (22:32 -0000)]
2007-10-04 Jonathan Pobst <monkey@jpobst.com>
* RichTextBox.cs: When SelectionColor is set to Color.Empty, use
DefaultForeColor, as drawing empty colored lines isn't very useful.
[Fixes the not drawn lines part of bug #324358]
svn path=/trunk/mcs/; revision=86927
Paolo Molaro [Thu, 4 Oct 2007 21:49:18 +0000 (21:49 -0000)]
Fri Oct 5 00:01:05 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini-ppc.h, mini-ppc.c: IMT support for the PPC architecture.
svn path=/trunk/mono/; revision=86926
Rodrigo Kumpera [Thu, 4 Oct 2007 21:43:52 +0000 (21:43 -0000)]
2007-10-04 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (verify_type_compatibility_full): verification of
compatibility improved, validates correctly non-strict checks between
native int and I4 types different than (unsigned)int32.
* verify.c (do_store_indirect): added, do all verification of
ldind.X opcodes.
* verify.c (get_load_indirect_mono_type): renamed to
get_indirect_op_mono_type, as it now returns the MonoType for
ldind.X and stind.X opcodes.
svn path=/trunk/mono/; revision=86925
Paolo Molaro [Thu, 4 Oct 2007 21:41:03 +0000 (21:41 -0000)]
Use a working ARM membar.
svn path=/trunk/mono/; revision=86924
Rodrigo Kumpera [Thu, 4 Oct 2007 21:22:18 +0000 (21:22 -0000)]
2007-10-04 Rodrigo Kumpera <rkumpera@novell.com>
* make_store_indirect_test.sh: added, generate tests for stind.X.
* make_tests.sh: added the new tests for ldind.X.
svn path=/trunk/mono/; revision=86923
Paolo Molaro [Thu, 4 Oct 2007 21:15:32 +0000 (21:15 -0000)]
Test case for bug #325495.
svn path=/trunk/mono/; revision=86919
Gert Driesen [Thu, 4 Oct 2007 20:57:30 +0000 (20:57 -0000)]
* ControlTest.cs: Added test for bug #330501.
svn path=/trunk/mcs/; revision=86916
Rodrigo Kumpera [Thu, 4 Oct 2007 20:42:54 +0000 (20:42 -0000)]
2007-10-04 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c: Fix the encoding of generic type definition for
TypeBuilders.
* reflection.c (mono_image_typedef_or_ref_full: do the same thing as
mono_image_typedef_or_ref but allows to specify if typespec lookups should
be made. Typespec check is done prior to typeref cache lookup.
* reflection.c (mono_image_typedef_or_ref): now just delegate to
mono_image_typedef_or_ref_full.
* reflection.c (encode_generic_class): encode the generic class
directly instead of calling encode_type.
* reflection.c (encode_type): encode the generic type definition
MonoClass as a generic instantiation.
* reflection.c (create_typespec): cache typespec tokens in
the assembly->typespec cache. Don't create typespec for a generic
instance MonoClass. Create typespec for the generic type defintion.
* reflection.c (create_generic_typespec): encode the generic
class directly instead of calling encode_type.
* reflection.c (mono_image_create_token): encode the generic
type definition not using a typespec for MonoType instances.
svn path=/trunk/mono/; revision=86912
Marek Safar [Thu, 4 Oct 2007 20:25:08 +0000 (20:25 -0000)]
A test for bug #328022
svn path=/trunk/mcs/; revision=86909
Marek Safar [Thu, 4 Oct 2007 20:22:34 +0000 (20:22 -0000)]
2007-10-04 Marek Safar <marek.safar@gmail.com>
A fix for bug #328022
* class.cs (MethodData.Define): Use correct method to check whether
a method implementents an accessor.
svn path=/trunk/mcs/; revision=86905
Paolo Molaro [Thu, 4 Oct 2007 20:06:54 +0000 (20:06 -0000)]
Thu Oct 4 22:04:49 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c, mini-ppc.h, tramp-ppc.c, Makefile.am: port the PPC
code to the new style trampoline in preparation for IMT support.
svn path=/trunk/mono/; revision=86901
Jonathan Pobst [Thu, 4 Oct 2007 19:21:42 +0000 (19:21 -0000)]
2007-10-04 Jonathan Pobst <monkey@jpobst.com>
* TextControl.cs: Move Line and LineTag classes into separate files to
make things easier to find.
* Line.cs, LineTag.cs: Bring coding standards up to Mono's guidelines.
* RichTextBox.cs: Capitalize LineTag.Length property access.
- This is purely an organizational/formatting change, no logic changed. -
2007-10-04 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms.dll.sources: Added Line.cs and LineTag.cs.
svn path=/trunk/mcs/; revision=86900
Marek Safar [Thu, 4 Oct 2007 19:06:54 +0000 (19:06 -0000)]
New test for #330069
svn path=/trunk/mcs/; revision=86899
Marek Safar [Thu, 4 Oct 2007 19:06:13 +0000 (19:06 -0000)]
2007-10-04 Marek Safar <marek.safar@gmail.com>
A fix for bug #330069
* statement.cs (Fixed.Resolve): Read the first array element only when
an array is instantiated.
svn path=/trunk/mcs/; revision=86898
Paolo Molaro [Thu, 4 Oct 2007 16:51:51 +0000 (16:51 -0000)]
Thu Oct 4 19:01:59 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c, tramp-ppc.c: don't use r13 as it's used by the PPC EABI
systems already. This also reduces the specific trampiline sizes and
prepares for the use of r12 as the IMT identifier register.
svn path=/trunk/mono/; revision=86890
Marek Safar [Thu, 4 Oct 2007 15:46:18 +0000 (15:46 -0000)]
New test, error message updates
svn path=/trunk/mcs/; revision=86886
Marek Safar [Thu, 4 Oct 2007 15:45:48 +0000 (15:45 -0000)]
2007-10-04 Marek Safar <marek.safar@gmail.com>
* expression.cs, assign.cs, generics.cs: Print correct operator when
compound assignment is used.
svn path=/trunk/mcs/; revision=86885
Marek Safar [Thu, 4 Oct 2007 14:27:52 +0000 (14:27 -0000)]
Enabled fixed tests.
svn path=/trunk/mcs/; revision=86883
Paolo Molaro [Thu, 4 Oct 2007 14:25:40 +0000 (14:25 -0000)]
Thu Oct 4 16:38:27 CEST 2007 Paolo Molaro <lupus@ximian.com>
* mini-mips.h: endianess fix (simplified from a patch by
Thomas Kunze <thommy@tabao.de>, bug #323737).
svn path=/trunk/mono/; revision=86882
Marek Safar [Thu, 4 Oct 2007 14:22:52 +0000 (14:22 -0000)]
2007-10-04 Marek Safar <marek.safar@gmail.com>
A fix for bug #325841
* expression.cs (ArrayAccess): Use full argument cloning only for
string compound concatenation.
svn path=/trunk/mcs/; revision=86881
Jb Evain [Thu, 4 Oct 2007 13:51:39 +0000 (13:51 -0000)]
update revision
svn path=/trunk/mcs/; revision=86880
Jb Evain [Thu, 4 Oct 2007 13:35:58 +0000 (13:35 -0000)]
add new tool
svn path=/trunk/mcs/; revision=86878
Paolo Molaro [Thu, 4 Oct 2007 12:39:08 +0000 (12:39 -0000)]
Add Add powerpc-*-netbsd* from Magnus Henoch <mange@freemail.hu>.
svn path=/trunk/mono/; revision=86874
Raja R Harinath [Thu, 4 Oct 2007 12:36:59 +0000 (12:36 -0000)]
* AssemblyTest.cs (bug328812): New test.
svn path=/trunk/mcs/; revision=86873
Raja R Harinath [Thu, 4 Oct 2007 12:34:33 +0000 (12:34 -0000)]
Fix #328812
* class.c (mono_image_init_name_cache): Don't return nested
'protected internal' classes.
(mono_class_from_name_case): Likewise.
svn path=/trunk/mono/; revision=86872
Paolo Molaro [Thu, 4 Oct 2007 12:32:59 +0000 (12:32 -0000)]
Thu Oct 4 14:43:49 CEST 2007 Paolo Molaro <lupus@ximian.com>
* exceptions-ppc.c, mini-ppc.h: refactor to use macros
to access ucontext fields and enable netbsd support
(partially from Magnus Henoch <mange@freemail.hu>).
svn path=/trunk/mono/; revision=86870
Paolo Molaro [Thu, 4 Oct 2007 10:27:46 +0000 (10:27 -0000)]
Patch from Tor Lillqvist <tlillqvist@novell.com> to add a sysconfdir variable.
svn path=/trunk/mono/; revision=86868
Paolo Molaro [Thu, 4 Oct 2007 10:22:56 +0000 (10:22 -0000)]
Thu Oct 4 12:35:27 CEST 2007 Paolo Molaro <lupus@ximian.com>
* genmdesc.pl: patch from Henryk Plötz <henryk@openmoko.org> to
use the preprocessor from the CPP env var if it is set.
svn path=/trunk/mono/; revision=86866
Everaldo Canuto [Thu, 4 Oct 2007 09:25:35 +0000 (09:25 -0000)]
In System.Windows.Forms:
* ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
text is empty.
2007-10-03 Everaldo Canuto <ecanuto@novell.com>
svn path=/trunk/mcs/; revision=86862
Everaldo Canuto [Thu, 4 Oct 2007 09:21:52 +0000 (09:21 -0000)]
In System.Windows.Forms:
* ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
text is empty.
2007-10-03 Everaldo Canuto <ecanuto@novell.com>
svn path=/trunk/mcs/; revision=86861
Jb Evain [Thu, 4 Oct 2007 09:05:39 +0000 (09:05 -0000)]
v0.2
svn path=/trunk/mcs/; revision=86855
Jb Evain [Thu, 4 Oct 2007 09:04:51 +0000 (09:04 -0000)]
v0.6
svn path=/trunk/mcs/; revision=86854
Atsushi Eno [Thu, 4 Oct 2007 08:42:18 +0000 (08:42 -0000)]
2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
* TypeStubManager.cs: reverted r82932 again. This #if ONLY_1_1 causes
NUnit test regressions. It should not be reverted again until
appropriate NUnit test case is provided and proper fix is provided
that does not cause regressions.
svn path=/trunk/mcs/; revision=86851
Atsushi Eno [Thu, 4 Oct 2007 08:17:05 +0000 (08:17 -0000)]
2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
* WebServicesSection.cs : reverted r83640 which likely caused
couple of NUnit regressions on the buildbot. WebConfigurationManager
is indeed needed since webServices section is on web.config.
ChangeLog was also missing which resulted in some wasted hours :(
http://lists.ximian.com/pipermail/mono-patches/2007-August/098511.html
svn path=/trunk/mcs/; revision=86850
Everaldo Canuto [Thu, 4 Oct 2007 07:20:17 +0000 (07:20 -0000)]
In System.Windows.Forms:
* ComboBox.cs: On contructor use backgound_color instead of BackColor to
prevent calling of OnBackColorChanged. Fixes #325321.
2007-10-03 Everaldo Canuto <ecanuto@novell.com>
svn path=/trunk/mcs/; revision=86849
Everaldo Canuto [Thu, 4 Oct 2007 07:03:53 +0000 (07:03 -0000)]
In System.Windows.Forms:
2007-10-03 Everaldo Canuto <ecanuto@novell.com>
* TextBox.cs: When check enabled uses Enabled property instead of is_enabled
because control can be disabled because owner is disabled.
svn path=/trunk/mcs/; revision=86848
Atsushi Eno [Thu, 4 Oct 2007 05:46:45 +0000 (05:46 -0000)]
2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
* InternalConfigurationHost.cs : when the streamName is for
machine.config, try get_bundled_machine_config() icall first.
This hopefully implements the requested feature in bug #325022.
* Configuration.cs : added comment.
svn path=/trunk/mcs/; revision=86847
Atsushi Eno [Thu, 4 Oct 2007 05:46:13 +0000 (05:46 -0000)]
2007-10-04 Atsushi Enomoto <atsushi@ximian.com>
* icall-def.h, icall.c : get_bundled_machine_config() is now the
common function used by both DefaultConfig in System.dll and
InternalConfigurationHost in System.Configuration.dll.
svn path=/trunk/mono/; revision=86846
Marek Habersack [Thu, 4 Oct 2007 00:04:45 +0000 (00:04 -0000)]
2007-10-04 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: call the Init method after loading the
modules and hooking up application events. Fixes bug #330416.
svn path=/trunk/mcs/; revision=86841
Marek Habersack [Wed, 3 Oct 2007 18:31:17 +0000 (18:31 -0000)]
2007-10-03 Marek Habersack <mhabersack@novell.com>
* Page.cs: complete implementation of ValidationGroups. Fixes bug
#330423. Patch from Juraj Skripsky <juraj@hotfeet.ch>, thanks!
svn path=/trunk/mcs/; revision=86825
Miguel de Icaza [Wed, 3 Oct 2007 17:35:36 +0000 (17:35 -0000)]
2007-10-03 Miguel de Icaza <miguel@novell.com>
* mono-compiler.h (trunc): Make the definition of trunk for MSC
use ceil or floor instead of always using floor which is
incorrect.
Issue pointed out by Aras Pranckevicius <aras@unity3d.com>
svn path=/trunk/mono/; revision=86823