Ravindra [Wed, 24 Nov 2004 14:13:31 +0000 (14:13 -0000)]
Updated project.
svn path=/trunk/mcs/; revision=36486
Martin Baulig [Wed, 24 Nov 2004 14:13:15 +0000 (14:13 -0000)]
2004-11-24 Martin Baulig <martin@ximian.com>
* mini.c (mono_method_to_ir): Use `STACK_OBJ' instead of
`ldind_type [CEE_LDIND_REF]' (which would be beyond the end of
that array).
svn path=/trunk/mono/; revision=36485
Martin Baulig [Wed, 24 Nov 2004 14:08:53 +0000 (14:08 -0000)]
2004-11-24 Martin Baulig <martin@ximian.com>
* ecore.cs (Expression.LoadFromPtr): Use `ldobj' for generic parameters.
svn path=/trunk/mcs/; revision=36484
Martin Baulig [Wed, 24 Nov 2004 14:07:40 +0000 (14:07 -0000)]
2004-11-24 Martin Baulig <martin@ximian.com>
* gen-105.cs: New test.
svn path=/trunk/mcs/; revision=36483
Zoltan Varga [Wed, 24 Nov 2004 13:26:45 +0000 (13:26 -0000)]
2004-11-24 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_method_to_ir): Disable inlining for methods containing
localloc. Fixes #69678.
* iltests.il (test_0_localloc_inline): Add regression test for #69678.
svn path=/trunk/mono/; revision=36481
Zoltan Varga [Wed, 24 Nov 2004 13:13:31 +0000 (13:13 -0000)]
2004-11-24 Zoltan Varga <vargaz@freemail.hu>
* TypeTest.cs: Add regression test for #69787.
svn path=/trunk/mcs/; revision=36480
Zoltan Varga [Wed, 24 Nov 2004 13:09:06 +0000 (13:09 -0000)]
2004-11-24 Zoltan Varga <vargaz@freemail.hu>
* reflection.c: Allow all kinds of whitespace, not just ' ' in type
names. Fixes #69787.
svn path=/trunk/mono/; revision=36478
Marek Safar [Wed, 24 Nov 2004 13:04:49 +0000 (13:04 -0000)]
removed unused variables
svn path=/trunk/mcs/; revision=36477
Marek Safar [Wed, 24 Nov 2004 12:52:04 +0000 (12:52 -0000)]
removed unused variables
svn path=/trunk/mcs/; revision=36476
Raja R Harinath [Wed, 24 Nov 2004 12:42:06 +0000 (12:42 -0000)]
* runtime/Makefile.am (AUTOMAKE_OPTIONS): Set to 'cygnus'.
Prevent a redundant 'make all' pass during 'make check'.
(build_profiles): Rename from install_profiles.
(check_profiles): New.
(TEST_SUPPORT_FILES): Don't include 'gmcs' if we're not building
the .NET2.0 profile.
(all-local,check-local): Use them.
(install,install-exec,install-data): Override automake rules to
prevent a redundant 'make all' pass.
svn path=/trunk/mono/; revision=36475
Marek Safar [Wed, 24 Nov 2004 12:41:47 +0000 (12:41 -0000)]
removed unused variables
svn path=/trunk/mcs/; revision=36474
Raja R Harinath [Wed, 24 Nov 2004 12:29:13 +0000 (12:29 -0000)]
* Makefile (profiles-do--run-test): Allow list of profiles to be overriden.
(profiles-do--all): Remove. The default pattern build suffices.
svn path=/trunk/mcs/; revision=36473
Martin Baulig [Wed, 24 Nov 2004 12:11:32 +0000 (12:11 -0000)]
#if NET_2_0 everywhere ....
svn path=/trunk/mcs/; revision=36472
Marek Safar [Wed, 24 Nov 2004 12:10:30 +0000 (12:10 -0000)]
2004-11-24 Marek Safar <marek.safar@seznam.cz>
* expression.cs (Unary.ResolveOperator): Do not report warning;
AddressOf reads from variable.
(LocalVariableReferences.DoResolveBase): Improved my previous fix.
svn path=/trunk/mcs/; revision=36471
Marek Safar [Wed, 24 Nov 2004 12:08:54 +0000 (12:08 -0000)]
improved test
svn path=/trunk/mcs/; revision=36470
Martin Baulig [Wed, 24 Nov 2004 11:35:04 +0000 (11:35 -0000)]
2004-11-24 Martin Baulig <martin@ximian.com>
* class.c (mono_class_create_generic_2): If we don't have a
`ginst->parent', inflate `gklass->parent' to get our parent.
svn path=/trunk/mono/; revision=36469
Atsushi Eno [Wed, 24 Nov 2004 10:50:24 +0000 (10:50 -0000)]
2004-11-24 Atsushi Enomoto <atsushi@ximian.com>
* XslStylesheet.cs : removed unused fields.
* XslOutput.cs : removed members for XSLT 2.0 (won't be implemented in
this class).
svn path=/trunk/mcs/; revision=36468
Atsushi Eno [Wed, 24 Nov 2004 10:48:55 +0000 (10:48 -0000)]
2004-11-24 Atsushi Enomoto <atsushi@ximian.com>
* XsdValidatingReader.cs : commented out some fields and depending
code that are currently not used.
Fixed "one incorrect missing component handling" in the last commit
(it was correct).
* XsdIdentityState.cs : removed unused fields and local variables.
svn path=/trunk/mcs/; revision=36467
Atsushi Eno [Wed, 24 Nov 2004 10:45:58 +0000 (10:45 -0000)]
2004-11-24 Atsushi Enomoto <atsushi@ximian.com>
* XslVariable.cs,
XslComment.cs
XslApplyImports.cs,
XslCompiledElement.cs : removed unused field.
svn path=/trunk/mcs/; revision=36466
Atsushi Eno [Wed, 24 Nov 2004 10:43:19 +0000 (10:43 -0000)]
2004-11-24 Atsushi Enomoto <atsushi@ximian.com>
* XmlQualifiedName.cs : in 2.0 it is [Serializable].
* XmlTextReader.cs : removed unused local variable.
* XmlTextWriter.cs : Improved some exception messages.
moved some private fields into #if NET_2_0.
* XmlValidatingReader.cs : rename specifiedResolver to
resolverSpecified and use it in internal get_Resolver().
Added [Obsolete] for ReadTypedValue() whose base is obsoleted.
svn path=/trunk/mcs/; revision=36465
Atsushi Eno [Wed, 24 Nov 2004 10:39:29 +0000 (10:39 -0000)]
2004-11-24 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaDatatype.cs : added ParseValue() override.
* XmlSchemaSimpleTypeList.cs,
XmlSchemaSimpleTypeUnion.cs : #if NET_2_0 some private fields,
just for eliminating warnings :(
* XmlSchemaSet.cs : commented some fields currently not in use.
It is for eliminating warnings.
* XmlSchemaSimpleTypeRestriction.cs : removed exception field name
to eliminate warning.
* XmlSchemaException.cs : hasLineInfo is also runtime serialized now.
svn path=/trunk/mcs/; revision=36464
John BouAntoun [Wed, 24 Nov 2004 10:36:14 +0000 (10:36 -0000)]
* MonthCalendar.cs: Add TitleMonth ContextMenu handling
svn path=/trunk/mcs/; revision=36463
Lluis Sanchez [Wed, 24 Nov 2004 09:52:05 +0000 (09:52 -0000)]
2004-11-24 Lluis Sanchez Gual <lluis@novell.com>
* SerializationSource.cs: Made SerializationSource abstract, and
renamed Equals to BaseEquals to avoid missing GetHashCode warning
(it does not really make sense in this case).
* XmlSchemaExporter.cs, SerializationCodeGenerator.cs,
XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
XmlSerializationReader.cs: Fixed warnings.
svn path=/trunk/mcs/; revision=36462
Sanja Gupta [Wed, 24 Nov 2004 09:51:23 +0000 (09:51 -0000)]
ChangeLog: Updated.
DataSourveViewSelectCallback.cs: Corrected method signature.
svn path=/trunk/mcs/; revision=36461
John BouAntoun [Wed, 24 Nov 2004 09:43:13 +0000 (09:43 -0000)]
ChangeLog: commit change log with ContainerControl.cs fixup
svn path=/trunk/mcs/; revision=36460
John BouAntoun [Wed, 24 Nov 2004 09:42:31 +0000 (09:42 -0000)]
* ContainerControl.cs: correct accidental check in of local changes
svn path=/trunk/mcs/; revision=36459
Sureshkumar T [Wed, 24 Nov 2004 09:38:48 +0000 (09:38 -0000)]
2004-11-24 Sureshkumar T <tsureshkumar@novell.com>
Changes in Base class implementaitons for Provider Factory
Implementation.
In System.Data.Common:
* DbProviderSupportedClasses.cs: Added correct enum values.
* DbConnection.cs: Missing virtual method EnlistTransaction Added.
* DbCommand.cs: Implemented ProviderFactory base factory methods.
In System.Data.ProviderBase:
* DbParameterCollectionBase.cs: Class name changed according to
the documentation
* DbDataReaderBase.cs: Added internal constructor to satisfy
SqlDataReader, which takes command object.
* DbConnectionBase.cs: Added additional methods overriding
DbConnection
svn path=/trunk/mcs/; revision=36458
John BouAntoun [Wed, 24 Nov 2004 09:04:30 +0000 (09:04 -0000)]
* ThemeWin32Classic.cs:
- Fixed Drawing Last month in grid (sometimes not showing)
* MonthCalendar.cs:
- Fixed title width calculation bug (makeing title small)
svn path=/trunk/mcs/; revision=36457
Jambunathan K [Wed, 24 Nov 2004 09:00:43 +0000 (09:00 -0000)]
* class.cs: Factored out classes - 1) GetMethod and SetMethod from
Property and 2) AddDelegateMethod and RemoveDelegateMethod from Event
respectively.
* mb-parser.jay: Related changes.
svn path=/trunk/mcs/; revision=36455
Marek Safar [Wed, 24 Nov 2004 07:18:16 +0000 (07:18 -0000)]
2004-11-24 Marek Safar <marek.safar@seznam.cz>
Fix bug #69462
* attribute.cs (Attributable): Removed CheckTargets.
(Attributes.Emit): Explicit attribute targets are tested here.
* class.cs (EventField.ValidAttributeTargets): Explicit target "field" is
not enabled for interfaces.
* codegen.cs (CommonAssemblyModulClass.AddAttributes): Removed CheckTargets.
(GetAssemblyName): Ouch next bug there.
svn path=/trunk/mcs/; revision=36454
Marek Safar [Wed, 24 Nov 2004 07:14:00 +0000 (07:14 -0000)]
update
svn path=/trunk/mcs/; revision=36453
Martin Baulig [Wed, 24 Nov 2004 06:59:22 +0000 (06:59 -0000)]
2004-11-24 Martin Baulig <martin@ximian.com>
* reflection.c (compare_genericparam): Correctly sort the
GenericParam table; fixes #69779.
svn path=/trunk/mono/; revision=36452
Raja R Harinath [Wed, 24 Nov 2004 04:19:51 +0000 (04:19 -0000)]
Actually commit changes to configure.in. Sorry, they got left out, somehow, last time.
svn path=/trunk/mono/; revision=36451
Atsushi Eno [Wed, 24 Nov 2004 03:50:11 +0000 (03:50 -0000)]
2004-11-24 Atsushi Enomoto <atsushi@ximian.com>
* XPathEditableNavigator.cs, XPathChangeNavigator.cs,
IXPathEditable.cs : more removal of oldies.
svn path=/trunk/mcs/; revision=36450
Atsushi Eno [Wed, 24 Nov 2004 03:32:36 +0000 (03:32 -0000)]
2004-11-24 Atsushi Enomoto <atsushi@ximian.com>
* NodeChangedEventArgs.cs, NodeChangedEventHandler.cs : removed oldies.
svn path=/trunk/mcs/; revision=36448
Sebastien Pouliot [Tue, 23 Nov 2004 20:20:00 +0000 (20:20 -0000)]
2004-11-23 Sebastien Pouliot <sebastien@ximian.com>
* RecordProtocol.cs: Fixed ClientHelloV2 support.
svn path=/trunk/mcs/; revision=36446
Chris Toshok [Tue, 23 Nov 2004 19:48:17 +0000 (19:48 -0000)]
2004-11-23 Chris Toshok <toshok@ximian.com>
* Makefile.am (bootstrap): echo -> @echo.
svn path=/trunk/mono/; revision=36445
Ben Maurer [Tue, 23 Nov 2004 19:36:20 +0000 (19:36 -0000)]
2004-11-23 Ben Maurer <bmaurer@ximian.com>
* reflection.c: When writing a PE file, don't create a huge
buffer in memory. Just write the arrays we have to the file.
This reduces memory usage.
* metadata-internals.h: MonoDynamicStream pefile is no longer used
globally.
svn path=/trunk/mono/; revision=36444
Ben Maurer [Tue, 23 Nov 2004 19:30:38 +0000 (19:30 -0000)]
2004-11-23 Ben Maurer <bmaurer@ximian.com>
* MonoSymbolFile.cs (CreateSymbolFile): Take a filestream to
write to. Do not return a byte array.
(MyMemoryStream): Unused now.
* MonoSymbolWriter.cs: Take advantage of the api change above.
Overall, this prevents us from having to allocate the debug file
in ram. For corlib, the debug file is about 1.5 mb. So it takes up
over 3 mb (you must write it in chunks then get the big array)
With the file stream, it takes up 4 kb or so for the buffer.
svn path=/trunk/mcs/; revision=36443
Zoltan Varga [Tue, 23 Nov 2004 19:27:17 +0000 (19:27 -0000)]
2004-11-23 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c (mono_arch_output_basic_block): Set %al to the number of
used SSE registers on pinvoke calls. Fixes #69774.
svn path=/trunk/mono/; revision=36442
Carlos Alberto Cortez [Tue, 23 Nov 2004 15:48:42 +0000 (15:48 -0000)]
2004-11-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* cs0275.cs: New
svn path=/trunk/mcs/; revision=36441
Carlos Alberto Cortez [Tue, 23 Nov 2004 15:32:05 +0000 (15:32 -0000)]
2004-11-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* expression.cs: Error 275 added.
svn path=/trunk/mcs/; revision=36440
Geoff Norton [Tue, 23 Nov 2004 14:57:36 +0000 (14:57 -0000)]
2004-11-23 Geoff Norton <gnorton@customerdna.com>
* inssel-ppc.brg, mini-ppc.c: Use mono_class_from_mono_type instead of
vt->inst_vtype->data.klass. This fixes generic structs and bug #69766
svn path=/trunk/mono/; revision=36439
Dick Porter [Tue, 23 Nov 2004 13:18:40 +0000 (13:18 -0000)]
Quick fix to get the tree building again. The configure.in change is
probably correct, the Makefile.am one isn't. Hari will have to fix this
properly.
svn path=/trunk/mono/; revision=36438
Sebastien Pouliot [Tue, 23 Nov 2004 13:07:32 +0000 (13:07 -0000)]
2004-11-23 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Security_test.dll.sources: Added Mono.Security.Cryptography.
PKCS1Test to the build.
svn path=/trunk/mcs/; revision=36437
Sebastien Pouliot [Tue, 23 Nov 2004 12:45:14 +0000 (12:45 -0000)]
2004-11-23 Sebastien Pouliot <sebastien@ximian.com>
* PKCS1.cs: Fix PKCS#1 v1.5 decryption when the ciphertext isn't
exactly the same of the public key (which happens sometimes on Fx 1.1
probably because it doesn't do the last I2OSP operation to left pad
the resulting big integer with zeros).
svn path=/trunk/mcs/; revision=36434
Sebastien Pouliot [Tue, 23 Nov 2004 12:43:45 +0000 (12:43 -0000)]
2004-11-23 Sebastien Pouliot <sebastien@ximian.com>
* PKCS1.cs: Fix PKCS#1 v1.5 decryption when the ciphertext isn't
exactly the same of the public key (which happens sometimes on Fx 1.1
probably because it doesn't do the last I2OSP operation to left pad
the resulting big integer with zeros).
svn path=/trunk/mcs/; revision=36433
Raja R Harinath [Tue, 23 Nov 2004 10:57:35 +0000 (10:57 -0000)]
Simplify 'make all' build.
* configure.in (mono_build_root, mono_runtime, mono_cfg_dir):
New AC_SUBSTed variables.
(runtime/mono-wrapper): New generated file.
(runtime/etc/mono/1.0/machine.config, runtime/etc/mono/2.0/machine.config):
New symlinks.
(AC_OUTPUT): Don't mention runtime/net_1_1 and runtime/net_2_0.
* Makefile.am (SUBDIRS): Remove '.'.
(tmpinst): Remove.
(get-monolite-latest): Update.
(populate-runtime-subdirs): Remove.
(all-local, check-local): Move rules related to building in the mcs/ tree ...
* runtime/Makefile.am: ... here. Completely re-write file.
(install-exec-local): Transfer ownership of installing .exes and
.dlls to the Makefiles in the mcs/ tree.
(_tmpinst): Use tmpinst tree only during testing.
(SUBDIRS): Remove.
* runtime/mono-wrapper.in: New. Template for generated file.
* runtime/net_1_1/Makefile.am, runtime/net_2_0/Makefile.am: Remove.
* mono/mini/Makefile.am (MCS,ILASM): Don't refer to runtime/ directory.
Refer directly to the mcs/ tree.
* mono/tests/Makefile.am (CSC,ILASM): Likewise.
svn path=/trunk/mono/; revision=36432
Lluis Sanchez [Tue, 23 Nov 2004 10:44:31 +0000 (10:44 -0000)]
* AssemblyInfo.cs: Added missing ifdef NET_2_0.
svn path=/trunk/mcs/; revision=36431
Lluis Sanchez [Tue, 23 Nov 2004 10:40:08 +0000 (10:40 -0000)]
2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
* Makefile: Added TreeView resources.
* System.Web.dll.sources: Added new files:
System.Web.UI.WebControls/BaseDataBoundControl.cs
System.Web.UI.WebControls/HierarchicalDataBoundControl.cs
System.Web.UI.WebControls/TreeNode.cs
System.Web.UI.WebControls/TreeNodeBinding.cs
System.Web.UI.WebControls/TreeNodeBindingCollection.cs
System.Web.UI.WebControls/TreeNodeCollection.cs
System.Web.UI.WebControls/TreeNodeEventArgs.cs
System.Web.UI.WebControls/TreeNodeEventHandler.cs
System.Web.UI.WebControls/TreeNodeStyle.cs
System.Web.UI.WebControls/TreeNodeStyleCollection.cs
System.Web.UI.WebControls/TreeView.cs
svn path=/trunk/mcs/; revision=36430
Lluis Sanchez [Tue, 23 Nov 2004 10:39:10 +0000 (10:39 -0000)]
2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
* TreeNodeBindingCollection.cs, TreeNodeBinding.cs, TreeNode.cs,
TreeNodeCollection.cs, TreeNodeStyleCollection.cs, TreeNodeStyle.cs,
TreeView.cs: Initial implementation.
* DataBoundControl.cs: Set the correct base class.
* HierarchicalDataBoundControl.cs, BaseDataBoundControl.cs: Created stub.
* TreeNodeSelectAction.cs: Formatting.
* TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif,
TreeView_Default_NoExpand.gif: TreeView images.
svn path=/trunk/mcs/; revision=36429
Lluis Sanchez [Tue, 23 Nov 2004 10:35:54 +0000 (10:35 -0000)]
2004-11-18 Lluis Sanchez Gual <lluis@novell.com>
* AssemblyResourceLoader.cs: Use a special name when encoding a resource
from the System.Web assembly.
svn path=/trunk/mcs/; revision=36428
Raja R Harinath [Tue, 23 Nov 2004 10:35:41 +0000 (10:35 -0000)]
In build:
* executable.make (NO_INSTALL): New option. Disables installation.
* library.make (NO_INSTALL): Likewise.
(install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
/gacdir and /root options to gacutil.
* platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
command that was tried, in case of failure.
* profiles/basic.make (NO_TEST, NO_INSTALL): Define.
* profiles/net_1_1_bootstrap.make: Likewise.
* profiles/net_2_0_bootstrap.make: Likewise.
In nunit20/nunit-console:
* Makefile (NO_INSTALL): Don't install nunit-console.exe.
In nunit20/core, nunit20/framework, nunit20/util:
* Makefile (NO_INSTALL) [PROFILE=net_2_0]: Don't install dll.
svn path=/trunk/mcs/; revision=36427
Lluis Sanchez [Tue, 23 Nov 2004 10:35:16 +0000 (10:35 -0000)]
2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
* AssemblyInfo.cs: Added resource attributes.
svn path=/trunk/mcs/; revision=36426
Lluis Sanchez [Tue, 23 Nov 2004 10:34:51 +0000 (10:34 -0000)]
2004-11-23 Lluis Sanchez Gual <lluis@novell.com>
* ControlBuilder.cs: Always check for the ParseChildrenAttribute,
even if the class doesn't implement IParserAccessor.
* WebResourceAttribute.cs: Allow multiple attributes of this type.
svn path=/trunk/mcs/; revision=36425
John BouAntoun [Tue, 23 Nov 2004 09:19:41 +0000 (09:19 -0000)]
* ChangeLog: forgot change log for monthcalendar check in
svn path=/trunk/mcs/; revision=36424
John BouAntoun [Tue, 23 Nov 2004 09:14:52 +0000 (09:14 -0000)]
* ThemeWin32Classic.cs:
- Fixed Drawing of today circle when showtodaycircle not set
- fixed drawing of first and last month in the grid (gray dates)
* MonthCalendar.cs:
- Fixed Drawing of today circle
- Fixed drawing of grady dates
- Fixed HitTest for today link when ShowToday set to false
- Fixed DefaultSize to obey ShowToday
svn path=/trunk/mcs/; revision=36422
Raja R Harinath [Tue, 23 Nov 2004 09:01:48 +0000 (09:01 -0000)]
* Decimal.cs [NET_2_0]: Use old code till GMCS imports decimal
constant support.
svn path=/trunk/mcs/; revision=36421
Raja R Harinath [Tue, 23 Nov 2004 08:28:50 +0000 (08:28 -0000)]
* Decimal.cs [BOOTSTRAP_WITH_OLDLIB]: Use old code for compilers
without decimal constant support.
svn path=/trunk/mcs/; revision=36420
Raja R Harinath [Tue, 23 Nov 2004 08:11:56 +0000 (08:11 -0000)]
Kill stray ^M
svn path=/trunk/mcs/; revision=36419
Peter Dennis Bartok [Tue, 23 Nov 2004 07:40:29 +0000 (07:40 -0000)]
- Added generation of WM_MOUSEHOVER event
- Added missing assignment of async_method atom
- Fixed WM_ERASEBKGND; now only redraws the exposed area
svn path=/trunk/mcs/; revision=36418
Peter Dennis Bartok [Tue, 23 Nov 2004 07:39:55 +0000 (07:39 -0000)]
- Updated
svn path=/trunk/mcs/; revision=36417
Marek Safar [Tue, 23 Nov 2004 06:56:03 +0000 (06:56 -0000)]
2004-11-23 Marek Safar <marek.safar@seznam.cz>
* test-319-*.cs: New test for #69177
svn path=/trunk/mcs/; revision=36416
Marek Safar [Tue, 23 Nov 2004 06:40:55 +0000 (06:40 -0000)]
removed unused variables
svn path=/trunk/mcs/; revision=36415
Marek Safar [Tue, 23 Nov 2004 06:14:50 +0000 (06:14 -0000)]
2004-11-23 Marek Safar <marek.safar@seznam.cz>
* Decimal.cs: Updated to use compiler decimal constant support.
svn path=/trunk/mcs/; revision=36414
Marek Safar [Tue, 23 Nov 2004 05:58:54 +0000 (05:58 -0000)]
2004-11-23 Marek Safar <marek.safar@seznam.cz>
Fix bug #69177 (Implemented decimal constant support)
* cfold.cs (DoConstantNumericPromotions: Add DecimalConstant.
(BinaryFold): Add DecimalConstant.
* const.cs (Define): Decimal constant
(is not constant.
(ChangeType): Add decimal type handling.
(LookupConstantValue): Don't set value for decimal type but
emit DecimalConstantAttribute. Needed for constant optimization.
* constant.cs (ToDecimal): New method.
(ConvertToDecimal): New method.
(IntConstant): Implemented ConvertToDecimal.
(DecimalConstant.Emit): Emit optimized version for decimals in
int range.
* expression.cs (ResolveOperator): Changed order of constant
reduction to work correctly with native types which have
overloaded operators.
(ResolveMemberAccess): Extract constant value from attribute
for decimal type.
* rootcontext.cs (ResolveCore): Add DecimalConstantAttribute.
* typemanager.cs (TypeManager): Add decimal_constant_attribute_type,
void_decimal_ctor_int_arg, decimal_constant_attribute_ctor.
(ChangeType): Decimal is special.
(TypeToCoreType): Add decimal type.
svn path=/trunk/mcs/; revision=36411
John BouAntoun [Tue, 23 Nov 2004 05:49:35 +0000 (05:49 -0000)]
2004-11-22 John BouAntoun <jba-mono@optusnet.com.au>
- ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
- System.Windows.Forms/Theme.cs
- MonthCalendar.cs: added for MonthCalendar
- SelectionRange.cs: added for MonthCalendar
- Day.cs: added for MonthCalendar: added for MonthCalendar
- System.Windows.Forms/DateRangeEventArgs.cs: added for MonthCalendar
- System.Windows.Forms/DateRangeEventHandler.cs: added for MonthCalendar
- System.Windows.Forms.dll.sources: added MonthCalendar files
svn path=/trunk/mcs/; revision=36410
César Natarén [Mon, 22 Nov 2004 22:55:56 +0000 (22:55 -0000)]
added RegExp to emit_create_instance
svn path=/trunk/mcs/; revision=36405
Ben Maurer [Mon, 22 Nov 2004 22:21:00 +0000 (22:21 -0000)]
2004-11-22 Ben Maurer <bmaurer@ximian.com>
* DefaultWatcher.cs: Copy the hashtable when we scan for changes
so that you can make modifications in a handler. Fixes 65966.
svn path=/trunk/mcs/; revision=36403
César Natarén [Mon, 22 Nov 2004 21:57:39 +0000 (21:57 -0000)]
added Object to emit_create_instance
svn path=/trunk/mcs/; revision=36402
César Natarén [Mon, 22 Nov 2004 21:31:49 +0000 (21:31 -0000)]
update TODO
svn path=/trunk/mcs/; revision=36401
César Natarén [Mon, 22 Nov 2004 21:28:06 +0000 (21:28 -0000)]
2004-11-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* CodeGenerator.cs: (ff_emit_relational) receive a full
EmitContext as parameter. Added
ff_emit_equality_cond. (fall_false) take where of the case where
an expression is received.
svn path=/trunk/mcs/; revision=36400
César Natarén [Mon, 22 Nov 2004 21:11:58 +0000 (21:11 -0000)]
2004-11-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Parser.cs: use ToJSToken for building the Relational
object. Map relational Token's to JSToken's.
* expression.cs: Added Size property to class
Expression. (emit_create_instance): Added Number code generation.
svn path=/trunk/mcs/; revision=36399
César Natarén [Mon, 22 Nov 2004 17:16:20 +0000 (17:16 -0000)]
2004-11-22 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Relational.cs (Emit): fix typo, emit boxing to boolean.
svn path=/trunk/mcs/; revision=36397
César Natarén [Mon, 22 Nov 2004 17:06:37 +0000 (17:06 -0000)]
fix typo
svn path=/trunk/mcs/; revision=36396
Miguel de Icaza [Mon, 22 Nov 2004 15:32:58 +0000 (15:32 -0000)]
2004-11-21 Ravindra <rkumar@novell.com>
* SWF.csproj: Updated project.
svn path=/trunk/mcs/; revision=36395
Miguel de Icaza [Mon, 22 Nov 2004 15:30:53 +0000 (15:30 -0000)]
New SystemInformation.cs file
svn path=/trunk/mcs/; revision=36394
Zoltan Varga [Mon, 22 Nov 2004 15:00:27 +0000 (15:00 -0000)]
2004-11-22 Zoltan Varga <vargaz@freemail.hu>
* AssemblyBuilderTest.cs: Add regression test for bug #69780.
svn path=/trunk/mcs/; revision=36393
Ravindra [Mon, 22 Nov 2004 13:49:33 +0000 (13:49 -0000)]
Fixed null values handling in all the overloads of MeasureString in Graphics class.
svn path=/trunk/mcs/; revision=36391
Zoltan Varga [Mon, 22 Nov 2004 13:44:09 +0000 (13:44 -0000)]
2004-11-22 Zoltan Varga <vargaz@freemail.hu>
* ModuleBuilder.cs: Check that all types inside the module are created.
Fixes #69780.
svn path=/trunk/mcs/; revision=36390
Jambunathan K [Mon, 22 Nov 2004 13:28:08 +0000 (13:28 -0000)]
* enum.cs: Factored out a new class EnumMember from the existing
class Enum. Much of the functionality that existed in
Enum.LookupEnumValue() is now moved in to
EnumMember.DoDefineMember().
One significant departure from the previous Enum implmenentation
is that now the resolution of an EnumMember's value happens in the
EmitContext set up for the Enum.
* attribute.cs:
* expression.cs: Trivial changes related to the above change.
* mbas/Test/tests/EnumD.vb: New positive test case.
svn path=/trunk/mcs/; revision=36389
Ravindra [Mon, 22 Nov 2004 12:38:40 +0000 (12:38 -0000)]
Fixed drawing for UseItemStyleForSubItems property of ListView.
svn path=/trunk/mcs/; revision=36388
Martin Baulig [Mon, 22 Nov 2004 12:07:25 +0000 (12:07 -0000)]
2004-11-18 Martin Baulig <martin@ximian.com>
* gen-104.cs: New test for #68265.
svn path=/trunk/mcs/; revision=36387
Martin Baulig [Mon, 22 Nov 2004 12:05:42 +0000 (12:05 -0000)]
2004-11-17 Martin Baulig <martin@ximian.com>
* class.c (mono_class_init): Don't setup `class->parent' for
dynamic instances; moved this to mono_class_generic_2().
(mono_class_create_generic): Also set `klass->inited' for dynamic
generic instances.
(mono_class_create_generic_2): Don't do anything for dynamic
generic instances. Set `klass->parent' here and also call
mono_class_setup_parent() here.
* reflection.c (do_mono_reflection_bind_generic_parameters): Added
`MonoType *parent' argument; set `ginst->parent' before calling
mono_class_create_generic_2(), so we set the correct parent.
svn path=/trunk/mono/; revision=36386
Raja R Harinath [Mon, 22 Nov 2004 11:47:54 +0000 (11:47 -0000)]
In .:
* Makefile (OVERRIDE_TARGET_ALL): Remove.
(all.override): Remove 2-pass build.
(net_1_1_bootstrap_SUBDIRS): Add 'tools'.
In class:
* Makefile (net_1_1_bootstrap_SUBDIRS): Add Mono.Security.
In tools:
* Makefile (net_1_1_bootstrap_SUBDIRS): Add 'security' directory.
In tools/security:
* Makefile (all-local) [PROFILE=net_1_1_bootstrap]: Build
profile-specific "bootstrap" sn.exe.
($(topdir)/class/lib/$(PROFILE)/sn.exe): New.
In build:
* library.make (SN): New define. Use the net_1_1_bootstrap sn.exe.
(SNFLAGS): New.
($(the_lib)): Use them to sign assemblies as they're built.
(the_lib_signature_stamp): Remove.
* Makefile (DISTFILES): Distribute all the profile make-fragments.
(clean-local): Clean up the deps/ directory.
svn path=/trunk/mcs/; revision=36385
Raja R Harinath [Mon, 22 Nov 2004 11:35:55 +0000 (11:35 -0000)]
* Makefile (clean-local): Clean up the temporary dir-* trees.
svn path=/trunk/mcs/; revision=36384
Raja R Harinath [Mon, 22 Nov 2004 11:33:03 +0000 (11:33 -0000)]
2004-11-22 Raja R Harinath <rharinath@novell.com>
* Makefile (CLEAN_FILES): Clean up make-map.exe and the duplicated
Mono.Posix.dll.
svn path=/trunk/mcs/; revision=36383
Sureshkumar T [Mon, 22 Nov 2004 11:07:51 +0000 (11:07 -0000)]
In System.Data.Common:
2004-11-22 Sureshkumar T <tsureshkumar@novell.com>
* DbConnectionStringBuilder.cs: Class for helping creation of db
connection strings added.
In Test/System.Data.Common:
2004-11-22 Sureshkumar T <tsureshkumar@novell.com>
* DbConnectionStringBuilderTest.cs: Test cases for
DbConnectionStringBuilder class. These are independant tests.
svn path=/trunk/mcs/; revision=36382
Sanja Gupta [Mon, 22 Nov 2004 10:06:07 +0000 (10:06 -0000)]
ChangeLog: Updated.
SqlDataSourceView.cs: Updated methods and added one property.
svn path=/trunk/mcs/; revision=36381
Jambunathan K [Mon, 22 Nov 2004 09:56:12 +0000 (09:56 -0000)]
Modified action for consolidate-test-results
svn path=/trunk/mcs/; revision=36380
Jambunathan K [Mon, 22 Nov 2004 09:49:44 +0000 (09:49 -0000)]
* Makefile: Added new make target 'consolidate-test-results'.
svn path=/trunk/mcs/; revision=36379
Jambunathan K [Mon, 22 Nov 2004 09:47:06 +0000 (09:47 -0000)]
* Makefile: Added new make target 'consolidate-test-results'.
svn path=/trunk/mcs/; revision=36378
Ravindra [Mon, 22 Nov 2004 09:11:53 +0000 (09:11 -0000)]
Removed a wrong entry from files list.
svn path=/trunk/mcs/; revision=36376
Jambunathan K [Mon, 22 Nov 2004 09:10:23 +0000 (09:10 -0000)]
* Makefile: Added new make target 'consolidate-test-results'.
svn path=/trunk/mcs/; revision=36375
Marek Safar [Mon, 22 Nov 2004 08:33:12 +0000 (08:33 -0000)]
new test
svn path=/trunk/mcs/; revision=36374
Marek Safar [Mon, 22 Nov 2004 08:32:04 +0000 (08:32 -0000)]
2004-11-22 Marek Safar <marek.safar@seznam.cz>
* convert.cs (ImplicitConversionRequired): Add error cs0642 for
decimal types.
svn path=/trunk/mcs/; revision=36373
Jambunathan K [Mon, 22 Nov 2004 08:31:00 +0000 (08:31 -0000)]
* Makefile: Run "make run-test" or "make run-test-ondotnet" to
exercise mbas test cases.
* testmbas: Moved the test files under this directory to Test/misc
where it rightfully belongs.
* Test/test-mbas.make: Implemented all STD_TARGETS specifically run-test and
run-test-ondotnet.
svn path=/trunk/mcs/; revision=36372
Jordi Mas i Hernandez [Mon, 22 Nov 2004 08:26:27 +0000 (08:26 -0000)]
removes unused variable
svn path=/trunk/mcs/; revision=36371
Marek Safar [Mon, 22 Nov 2004 06:42:25 +0000 (06:42 -0000)]
new test
svn path=/trunk/mcs/; revision=36370
Marek Safar [Mon, 22 Nov 2004 06:41:14 +0000 (06:41 -0000)]
2004-11-22 Marek Safar <marek.safar@seznam.cz>
* class.cs (EventField.ApplyAttributeBuilder): Fix error
test cs1667-5.cs.
svn path=/trunk/mcs/; revision=36369