Martin Baulig [Tue, 3 Aug 2004 03:41:51 +0000 (03:41 -0000)]
2004-08-03 Martin Baulig <martin@ximian.com>
* expression.cs (Binary.ResolveOperator): Don't abort if we can't
use a user-defined operator; we still need to do numeric
promotions in case one argument is a builtin type and the other
one has an implicit conversion to that type. Fixes #62322.
svn path=/trunk/mcs/; revision=31771
Duncan Mak [Tue, 3 Aug 2004 02:23:41 +0000 (02:23 -0000)]
(MapPath): Add [In] attribute.
svn path=/trunk/mcs/; revision=31770
Martin Baulig [Tue, 3 Aug 2004 01:56:34 +0000 (01:56 -0000)]
2004-08-03 Martin Baulig <martin@ximian.com>
* mini-x86.c (mono_arch_call_opcode): Correctly handle generic
instances; before jumping to `handle_enum', also modify `ptype'.
svn path=/trunk/mono/; revision=31769
Duncan Mak [Tue, 3 Aug 2004 01:56:09 +0000 (01:56 -0000)]
* ApplicationShutdownReason.cs: Fixed typos.
* HttpCookieMode.cs:
* HttpDataTransferMode.cs:
* HttpRequestPriority.cs: Added [Serializable] attribute.
svn path=/trunk/mcs/; revision=31768
Duncan Mak [Tue, 3 Aug 2004 01:55:15 +0000 (01:55 -0000)]
* RuleFiringRecord.cs:
* WebApplicationInformation:
* WebEventFormatter: Signature fixes, hide the constructor.
* IRegiisUtility.cs: Fixed name.
* EventNotificationType.cs:
* SessionStateType.cs:
* SqlFeatures.cs: Added missing attributes.
svn path=/trunk/mcs/; revision=31767
Martin Baulig [Tue, 3 Aug 2004 01:54:40 +0000 (01:54 -0000)]
2004-08-03 Martin Baulig <martin@ximian.com>
* gen-64.cs: New test.
svn path=/trunk/mcs/; revision=31766
Duncan Mak [Tue, 3 Aug 2004 01:53:41 +0000 (01:53 -0000)]
* IAppManagerAppDomainFactory.cs:
* IProcessHostSupportFunction.cs: signature fixes.
svn path=/trunk/mcs/; revision=31765
Martin Baulig [Tue, 3 Aug 2004 01:53:34 +0000 (01:53 -0000)]
2004-08-02 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.ifaces): Make this a `Type[]', not a
`TypeExpr[]' array.
(TypeContainer.GetClassBases): Return the unexpanded list of
interfaces; we expand them later.
(TypeContainer.DefineType): After creating the TypeBuilder, call
TypeManager.ExpandInterfaces() to get an expanded and resolved
list of interfaces.
* ecore.cs (TypeExpr.GetInterfaces): Removed
* generics.cs (Constraints.InterfaceConstraints): Remove.
(TypeParameter.DefineType): Call TypeManager.RegisterBuilder() to
register the interface constraints.
* typemanager.cs
(TypeManager.AddUserType): Removed the `ifaces' argument.
(TypeManager.AddTypeParameter): Likewise.
(TypeManager.AddUserInterface): Removed, was unused.
(TypeManager.RegisterBuilder): Take a `Type[]' instead of a
`TypeExpr[]' array for the interfaces.
(TypeManager.ExpandInterfaces): Call this after the TypeBuilder
has been defined, returns a list of the resolved interfaces types.
(TypeManager.GetInterfaces): Return a `Type[]', not a `TypeExpr[]'.
(TypeManager.GetExplicitInterfaces): Likewise.
svn path=/trunk/mcs/; revision=31764
Duncan Mak [Tue, 3 Aug 2004 01:38:34 +0000 (01:38 -0000)]
* System.Web.dll.sources: Added new enums.
* ButtonType.cs:
* LoginFailureAction.cs:
* LoginTextLayout.cs: Added enumerations.
svn path=/trunk/mcs/; revision=31763
Duncan Mak [Tue, 3 Aug 2004 01:00:24 +0000 (01:00 -0000)]
* ApplicationShutdownReason.cs:
* HttpCookieMode.cs:
* HttpDataTransferMode.cs:
* HttpRequestPriority.cs: Added 2.0 enumerations.
svn path=/trunk/mcs/; revision=31762
Duncan Mak [Tue, 3 Aug 2004 00:59:04 +0000 (00:59 -0000)]
2004-08-02 Duncan Mak <duncan@ximian.com>
* ProfileAuthenticationOption.cs: Added enumeration.
svn path=/trunk/mcs/; revision=31761
Duncan Mak [Tue, 3 Aug 2004 00:57:57 +0000 (00:57 -0000)]
2004-08-02 Duncan Mak <duncan@ximian.com>
* EventNotificationType.cs:
* SessionStateType.cs:
* SqlFeatures.cs: Added enumerations.
* IRegissUtility.cs:
* IRegisterCreateITypeLib.cs: Added interfaces.
* RuleFiringRecord.cs:
* WebApplicationInformation.cs:
* WebBaseEvent.cs:
* WebEventFormatter.cs: Stubbed out classes.
svn path=/trunk/mcs/; revision=31760
Duncan Mak [Tue, 3 Aug 2004 00:55:45 +0000 (00:55 -0000)]
* IAppManagerAppDomainFactory.cs:
* IApplicationHost.cs:
* IHttpWorkerRequestHandler.cs:
* IProcessHost.cs:
* IProcessHostFactoryHelper.cs:
* IProcessHostSupportFunction.cs:
* IProcessPingCallback.cs:
* IQueueHost.cs:
* IRegisteredObject.cs: Added interfaces.
svn path=/trunk/mcs/; revision=31759
Duncan Mak [Tue, 3 Aug 2004 00:53:06 +0000 (00:53 -0000)]
2004-08-02 Duncan Mak <duncan@ximian.com>
* AuthorizationRuleAction.cs:
* BuildProviderAppliesTo.cs:
* CustomErrorsMode.cs:
* MachineKeyValidation.cs:
* PagesEnableSessionState.cs:
* PagesToCountAction.cs:
* ProcessModelComAuthenticationLevel.cs:
* ProcessModelComImpersonationLevel.cs:
* ProcessModelLogLevel.cs;
* SerializationMode.cs:
* TraceDisplayMode.cs: Added enumerations.
* IRemoteWebConfigarationHostServer.cs: Added interface.
svn path=/trunk/mcs/; revision=31758
Duncan Mak [Tue, 3 Aug 2004 00:50:18 +0000 (00:50 -0000)]
* BuildProviderResultFlags.cs:
* IImplicitResourceProvider.cs:
* ImplicitResourceKey.cs:
* IResourceReader.cs: Added.
svn path=/trunk/mcs/; revision=31757
Duncan Mak [Tue, 3 Aug 2004 00:49:22 +0000 (00:49 -0000)]
2004-08-02 Duncan Mak <duncan@ximian.com>
* WebAdminUserControl.cs (DatabaseType): Added.
svn path=/trunk/mcs/; revision=31756
Duncan Mak [Tue, 3 Aug 2004 00:48:53 +0000 (00:48 -0000)]
Added new enums and interfaces and re-ordered alphabetically.
svn path=/trunk/mcs/; revision=31755
Sebastien Pouliot [Mon, 2 Aug 2004 23:08:29 +0000 (23:08 -0000)]
2004-08-02 Sebastien Pouliot <sebastien@ximian.com>
* CodeGroup.cs: Fixed Equals (true) which, strangely, only compares
on level of children.
* HashMembershipCondition.cs: Added empty constructor so Activator.
CreateInstance can work.
* PolicyLevel.cs: Implemented PolicyType (NET_2_0), Resolve and Save.
* PublisherMembershipCondition.cs: Added empty constructor so
Activator.CreateInstance can work.
* SiteMembershipCondition.cs: Added empty constructor so Activator.
CreateInstance can work.
* StrongNameMembershipCondition.cs: Added empty constructor so
Activator.CreateInstance can work.
* UnionCodeGroup.cs: Partial implementation for Resolve (missing
children support). Implemented ResolveMatchingCodeGroups.
* ZoneMembershipCondition.cs: Added empty constructor so Activator.
CreateInstance can work. Removed "class" validation in FromXml.
svn path=/trunk/mcs/; revision=31754
Sebastien Pouliot [Mon, 2 Aug 2004 23:01:07 +0000 (23:01 -0000)]
2004-08-02 Sebastien Pouliot <sebastien@ximian.com>
* PolicyTypeLevel.cs: Removed duplicate license.
* SecurityManager.cs: Moved secuirty demands as attributes (but mcs
doesn't seem to encode them properly as they show up in corcompare).
Implemented IsGranted, ResolvePolicy (but some code is still missing
in related classes) and SavePolicy/SavePolicyLevel.
svn path=/trunk/mcs/; revision=31753
Sebastien Pouliot [Mon, 2 Aug 2004 22:45:49 +0000 (22:45 -0000)]
2003-08-02 Sebastien Pouliot <sebastien@ximian.com>
* UnionCodeGroupTest.cs: Added tests for ResolveMatchingCodeGroups.
svn path=/trunk/mcs/; revision=31752
Sebastien Pouliot [Mon, 2 Aug 2004 22:43:24 +0000 (22:43 -0000)]
2003-08-02 Sebastien Pouliot <sebastien@ximian.com>
* SecurityManagerTest.cs: Added bunch of tests for null usage.
Converted to NUnit 2.2.
svn path=/trunk/mcs/; revision=31751
Martin Baulig [Mon, 2 Aug 2004 20:54:35 +0000 (20:54 -0000)]
2004-08-02 Martin Baulig <martin@ximian.com>
Started to do some API review.
* ICollection.cs (ICollection<T>): Added IsReadOnly, Add, Clear,
Contains and Remove.
* IList.cs (IList<T>): Removed Add, Clear, Constains, Remove,
IsReadOnly and IsFixedSize.
svn path=/trunk/mcs/; revision=31749
Bernie Solomon [Mon, 2 Aug 2004 20:10:11 +0000 (20:10 -0000)]
2004-08-02 Bernie Solomon <bernard@ugsolutions.com>
* cpu-sparc.md: fcall maximal length too small.
svn path=/trunk/mono/; revision=31748
Zoltan Varga [Mon, 2 Aug 2004 19:09:28 +0000 (19:09 -0000)]
2004-08-02 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c mini.h: Add initial support for passing/returning
structures to/from pinvoked methods.
svn path=/trunk/mono/; revision=31747
Martin Baulig [Mon, 2 Aug 2004 18:44:29 +0000 (18:44 -0000)]
Don't use iterators.
svn path=/trunk/mcs/; revision=31746
Paolo Molaro [Mon, 2 Aug 2004 17:59:29 +0000 (17:59 -0000)]
Mon Aug 2 11:59:35 PDT 2004 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: reg allocator fix.
svn path=/trunk/mono/; revision=31745
Martin Baulig [Mon, 2 Aug 2004 17:15:39 +0000 (17:15 -0000)]
2004-08-02 Martin Baulig <martin@ximian.com>
* expression.cs (Invocation.EmitCall): If we're invoking a method
on a type parameter, use the new `Constrained' prefix opcode.
(New.DoEmit): Also use the `Newobj' opcode for generic instances.
svn path=/trunk/mcs/; revision=31744
Sebastien Pouliot [Mon, 2 Aug 2004 16:31:36 +0000 (16:31 -0000)]
2004-08-02 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Update version number for Mono 1.0.1.
* sn.cs: Warn for missing machine.config (if quiet isn't specified).
svn path=/trunk/mcs/; revision=31743
Martin Baulig [Mon, 2 Aug 2004 15:30:57 +0000 (15:30 -0000)]
2004-08-02 Martin Baulig <martin@ximian.com>
* IList.cs (IList.Add): Changed return type to void.
* List.cs (List.Add): Likewise.
svn path=/trunk/mcs/; revision=31741
Rafael Teixeira [Mon, 2 Aug 2004 14:59:49 +0000 (14:59 -0000)]
2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* mb-parser.jay : Some correction as pointed by Jambunathan,
to allow preprocessor directives after a label that may
leave it orphaned (without a explicit statement)
* testmbas/WriteOK.vb : some vb code to test this case
svn path=/trunk/mcs/; revision=31740
Rafael Teixeira [Mon, 2 Aug 2004 12:07:02 +0000 (12:07 -0000)]
2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* mb-parser.jay : Some correction as pointed by Jambunathan,
to allow intermixing preprocessor directives between
the label and it's associated statement
svn path=/trunk/mcs/; revision=31737
Rafael Teixeira [Mon, 2 Aug 2004 11:56:08 +0000 (11:56 -0000)]
oops: forgot to add them
svn path=/trunk/mcs/; revision=31736
Jambunathan K [Mon, 2 Aug 2004 08:20:40 +0000 (08:20 -0000)]
Renaming Changelog to ChangeLog.
svn path=/trunk/mcs/; revision=31734
Jambunathan K [Mon, 2 Aug 2004 08:03:18 +0000 (08:03 -0000)]
* mb-tokenizer.cs: Oops. Also pulled out all of the old
pre-processor code that is no more used.
svn path=/trunk/mcs/; revision=31733
Jambunathan K [Mon, 2 Aug 2004 07:53:44 +0000 (07:53 -0000)]
* mb-tokenizer.cs: Fixed a bug where line nos were
failing to get incremented when the line continuation
character was appearing by itself on contiguous lines.
* mb-parser.jay: Fixed the #ExternalSource actions
so that ExternalSourceDirectivesC4.vb compiles and
reports source & line nos as expected.
* location.cs: Replaced the existing unintuitive, not
so efficient implementation of struct Location {} with
the one available in mcs with one minor difference: The
number of bits reserved for a file index in the Token
is statically fixed at 8 bits.
svn path=/trunk/mcs/; revision=31732
Martin Baulig [Mon, 2 Aug 2004 04:35:54 +0000 (04:35 -0000)]
2004-08-02 Martin Baulig <martin@ximian.com>
* get.c (dis_stringify_object_with_class): Include our generic
arguments in the method's class name.
* main.c (dis_generic_param_and_constraints): Use the new
constraints syntax.
svn path=/trunk/mono/; revision=31728
Raja R Harinath [Mon, 2 Aug 2004 04:16:47 +0000 (04:16 -0000)]
* Makefile.am (opcode.def): Make $(srcdir)!=$(builddir) safe.
* make-opcodes-def.pl (OUTPUT): Use $ARGV[1].
(parsefile): Parse $ARGV[0].
svn path=/trunk/mono/; revision=31727
Martin Baulig [Mon, 2 Aug 2004 03:52:29 +0000 (03:52 -0000)]
2004-08-02 Martin Baulig <martin@ximian.com>
* dump.c (dump_stream_blob): Format this nicely.
(dump_table_standalonesig): New public function.
* main.c (dis_locals): If --show-tokens was requested, print the
standalone signature token.
(table_list): Added "--standalonesig".
svn path=/trunk/mono/; revision=31726
Atsushi Eno [Mon, 2 Aug 2004 03:26:41 +0000 (03:26 -0000)]
2004-08-02 Atsushi Enomoto <atsushi@ximian.com>
* XPathDocument.cs :
- For .NET 2.0, added a switch to support new XPathDocument2.
If switch is off, then it uses DTM.
- Implemented remaining 2.0 bits (except for Obsolete ones).
To use them in XPathDocument, set environment MONO_XPATH_DOCUMENT_2=yes
(It is still too unstable to pass all nunit tests and standalone XSLT
tests).
svn path=/trunk/mcs/; revision=31724
Atsushi Eno [Mon, 2 Aug 2004 03:23:20 +0000 (03:23 -0000)]
2004-08-02 Atsushi Enomoto <atsushi@ximian.com>
* System.Xml.dll.sources: added those files:
- Mono.Xml.XPath/XPathDocument2.cs
- Mono.Xml.XPath/XPathDocument2Navigator.cs
- Mono.Xml.XPath/XPathDocument2Editable.cs
svn path=/trunk/mcs/; revision=31723
Atsushi Eno [Mon, 2 Aug 2004 03:21:55 +0000 (03:21 -0000)]
2004-08-02 Atsushi Enomoto <atsushi@ximian.com>
* XPathDocument2.cs : new IXPathNavigable implementation
XPathDocument2Navigator.cs : new XPathNavigator implementation
XPathDocument2Editable.cs : new XPathEditableNavigator implementation
To use them in XPathDocument, set environment MONO_XPATH_DOCUMENT_2=yes
(It is still too unstable to pass all nunit tests and standalone XSLT
tests).
svn path=/trunk/mcs/; revision=31722
Martin Baulig [Mon, 2 Aug 2004 00:13:14 +0000 (00:13 -0000)]
**** Merged from MCS ****
svn path=/trunk/mcs/; revision=31720
Martin Baulig [Mon, 2 Aug 2004 00:12:26 +0000 (00:12 -0000)]
2004-08-02 Martin Baulig <martin@ximian.com>
* statement.cs (LocalInfo.Flags): Added `IsThis'.
(LocalInfo.IsThis): New public property.
(Block.EmitMeta): Don't create a LocalBuilder for `this'.
svn path=/trunk/mcs/; revision=31719
Martin Baulig [Sun, 1 Aug 2004 22:00:29 +0000 (22:00 -0000)]
Be more quiet.
svn path=/trunk/mcs/; revision=31718
Martin Baulig [Sun, 1 Aug 2004 21:57:52 +0000 (21:57 -0000)]
2004-08-02 Martin Baulig <martin@ximian.com>
* DateTime.cs, TimeSpan.cs, Guid.cs, Version.cs: Implement IComparable<T>.
svn path=/trunk/mcs/; revision=31717
Martin Baulig [Sun, 1 Aug 2004 21:54:07 +0000 (21:54 -0000)]
Improved constraints checking.
svn path=/trunk/mcs/; revision=31716
Atsushi Eno [Sun, 1 Aug 2004 16:16:18 +0000 (16:16 -0000)]
2004-08-01 Atsushi Enomoto <atsushi@ximian.com>
* DebuggingInfo.cs : csc build fix (see bug #62230).
svn path=/trunk/mcs/; revision=31715
Rafael Teixeira [Sun, 1 Aug 2004 13:49:31 +0000 (13:49 -0000)]
2004-08-01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* LabelA.vb, LabelB.vb, LabelC.vb, LabelD.vb : new positive tests for labelled statements
svn path=/trunk/mcs/; revision=31714
Rafael Teixeira [Sun, 1 Aug 2004 13:24:11 +0000 (13:24 -0000)]
2004/08/01 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* mb-parser.jay : Revised patch from Jo��o Viegas for the labeled_statement accepting integer literals as labels
svn path=/trunk/mcs/; revision=31713
Martin Baulig [Sun, 1 Aug 2004 12:34:47 +0000 (12:34 -0000)]
New test.
svn path=/trunk/mcs/; revision=31712
Martin Baulig [Sun, 1 Aug 2004 12:34:03 +0000 (12:34 -0000)]
Moved the marker.
svn path=/trunk/mcs/; revision=31711
Martin Baulig [Sun, 1 Aug 2004 12:33:28 +0000 (12:33 -0000)]
Ooops.
svn path=/trunk/mcs/; revision=31710
Martin Baulig [Sun, 1 Aug 2004 12:33:08 +0000 (12:33 -0000)]
**** Merged from MCS ****
svn path=/trunk/mcs/; revision=31709
Martin Baulig [Sun, 1 Aug 2004 12:31:33 +0000 (12:31 -0000)]
2004-08-01 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.GetClassBases): Don't set the default
here since we may get called from GetPartialBases().
(TypeContainer.DefineType): If GetClassBases() didn't return a
parent, use the default one.
svn path=/trunk/mcs/; revision=31708
Bernie Solomon [Sun, 1 Aug 2004 02:46:06 +0000 (02:46 -0000)]
2004-07-31 Bernie Solomon <bernard@ugsolutions.com>
* interp.h: add mono_interp_ftnptr_to_delegate
* transform.c (generate): use mono_interp_ftnptr_to_delegate
as ical function.
* interp.c: add mono_interp_ftnptr_to_delegate to create
interpreter style delegate. fixes pinvoke3
svn path=/trunk/mono/; revision=31705
Zoltan Varga [Sat, 31 Jul 2004 17:51:52 +0000 (17:51 -0000)]
2004-07-31 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Enable AMD64 JIT.
svn path=/trunk/mono/; revision=31696
Zoltan Varga [Sat, 31 Jul 2004 17:49:12 +0000 (17:49 -0000)]
2004-07-31 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c (mono_arch_output_basic_block): Fix OP_X86_PUSH_OBJ.
svn path=/trunk/mono/; revision=31695
Zoltan Varga [Sat, 31 Jul 2004 16:39:37 +0000 (16:39 -0000)]
2004-07-31 Zoltan Varga <vargaz@freemail.hu>
* inssel.brg: Optimize memset on 64 bit machines.
svn path=/trunk/mono/; revision=31694
Zoltan Varga [Sat, 31 Jul 2004 16:38:43 +0000 (16:38 -0000)]
2004-07-31 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c: Fix some vararg cases.
svn path=/trunk/mono/; revision=31693
Jambunathan K [Sat, 31 Jul 2004 14:40:54 +0000 (14:40 -0000)]
* Makefile: Added /unsafe switch to the compiler command line.
This is required as setting of Today and TimeOfDay makes a libc
call - stime(). Thanks to Pablo Cardona for submitting this patch.
* Strings.cs: Fixed a bug in Format()
* DateAndTime.cs: Added support for setting Today and
TimeOfDay properties. Thanks to Pablo Cardona for
submitting a patch.
svn path=/trunk/mcs/; revision=31692
Duncan Mak [Fri, 30 Jul 2004 23:26:35 +0000 (23:26 -0000)]
(mcs2.exe, mcs3.exe): add $(EXTRA_SOURCES).
svn path=/trunk/mcs/; revision=31691
Neale Ferguson [Fri, 30 Jul 2004 23:11:29 +0000 (23:11 -0000)]
Add some s390 specific tests
svn path=/trunk/mono/; revision=31690
Martin Baulig [Fri, 30 Jul 2004 22:35:49 +0000 (22:35 -0000)]
It's now called Mono.CompilerServices.SymbolWriter.
svn path=/trunk/mono/; revision=31689
Duncan Mak [Fri, 30 Jul 2004 20:57:18 +0000 (20:57 -0000)]
Forgot to add this type for "contrained."
svn path=/trunk/mono/; revision=31688
Zoltan Varga [Fri, 30 Jul 2004 19:44:48 +0000 (19:44 -0000)]
2004-07-30 Zoltan Varga <vargaz@freemail.hu>
* exceptions-amd64.c (mono_arch_find_jit_info): Fix restoring of
caller saved regs.
svn path=/trunk/mono/; revision=31686
Zoltan Varga [Fri, 30 Jul 2004 18:31:28 +0000 (18:31 -0000)]
2004-07-30 Zoltan Varga <vargaz@freemail.hu>
* basic.cs: Add a test for add.ovf.un.
svn path=/trunk/mono/; revision=31685
Martin Baulig [Fri, 30 Jul 2004 18:24:40 +0000 (18:24 -0000)]
2004-07-30 Martin Baulig <martin@ximian.com>
* Makefile.am: The symbol writer is now called
Mono.CompilerServices.SymbolWriter.dll.
svn path=/trunk/mono/; revision=31684
Neale Ferguson [Fri, 30 Jul 2004 18:23:23 +0000 (18:23 -0000)]
Optimize code generation macros and standardize
svn path=/trunk/mono/; revision=31683
Zoltan Varga [Fri, 30 Jul 2004 18:08:58 +0000 (18:08 -0000)]
2004-07-30 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c mini-amd64.h mini.c: Add support for vararg pinvoke calls.
svn path=/trunk/mono/; revision=31682
Zoltan Varga [Fri, 30 Jul 2004 17:38:17 +0000 (17:38 -0000)]
2004-07-30 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (signature_dup_add_this): Fix bug in previous patch.
svn path=/trunk/mono/; revision=31680
Martin Baulig [Fri, 30 Jul 2004 17:28:56 +0000 (17:28 -0000)]
**** Merged from MCS ****
svn path=/trunk/mcs/; revision=31679
Bernie Solomon [Fri, 30 Jul 2004 17:22:44 +0000 (17:22 -0000)]
2004-07-30 Bernie Solomon <bernard@ugsolutions.com>
* mini-sparc.c: add case for OP_IDIV_UN
svn path=/trunk/mono/; revision=31678
Zoltan Varga [Fri, 30 Jul 2004 17:19:46 +0000 (17:19 -0000)]
2004-07-30 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (mono_marshal_get_icall_wrapper): Add support for vararg
icalls.
(mono_marshal_get_runtime_invoke): Correctly handle valuetype methods.
svn path=/trunk/mono/; revision=31677
Martin Baulig [Fri, 30 Jul 2004 17:08:32 +0000 (17:08 -0000)]
2004-07-30 Martin Baulig <martin@ximian.com>
* debug-mono-symfile.c, mono-debug.c, mono-debug-debugger.c:
Reflect latest symbol writer changes.
svn path=/trunk/mono/; revision=31676
Martin Baulig [Fri, 30 Jul 2004 17:06:43 +0000 (17:06 -0000)]
Ignore *.mdb.
svn path=/trunk/mcs/; revision=31675
Martin Baulig [Fri, 30 Jul 2004 17:01:05 +0000 (17:01 -0000)]
Use the new symbol writer API.
svn path=/trunk/mcs/; revision=31674
Martin Baulig [Fri, 30 Jul 2004 16:59:10 +0000 (16:59 -0000)]
Ignore *.mdb.
svn path=/trunk/mcs/; revision=31673
Martin Baulig [Fri, 30 Jul 2004 16:58:31 +0000 (16:58 -0000)]
2004-07-30 Martin Baulig <martin@ximian.com>
* Makefile (EXTRA_SOURCES): List the symbol writer's sources here.
* class.cs (SourceMethod): New public class, derive from the
symbol writer's ISourceMethod.
(Method): Use the new symbol writer API.
* codegen.cs (CodeGen.InitializeSymbolWriter): Take the filename
as argument and use the new symbol writer.
* location.cs
(SourceFile): Implement the symbol writer's ISourceFile.
(Location.SymbolDocument): Removed.
(Location.SourceFile): New public property.
* symbolwriter.cs: Use the new symbol writer API.
svn path=/trunk/mcs/; revision=31672
Zoltan Varga [Fri, 30 Jul 2004 16:56:33 +0000 (16:56 -0000)]
2004-07-30 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c cpu-amd64.md: Ongoing JIT work.
svn path=/trunk/mono/; revision=31671
Martin Baulig [Fri, 30 Jul 2004 16:54:30 +0000 (16:54 -0000)]
2004-07-30 Martin Baulig <martin@ximian.com>
* executable.make (EXTRA_SOURCES): New variable to add extra
sources to the program.
svn path=/trunk/mcs/; revision=31670
Martin Baulig [Fri, 30 Jul 2004 16:52:07 +0000 (16:52 -0000)]
2004-07-30 Martin Baulig <martin@ximian.com>
The library is now called Mono.CompilerServices.SymbolWriter.dll
and is in the Mono.CompilerServices.SymbolWriter namespace.
* MonoSymbolFile.cs (MonoDebuggerSupport.GetGuid): New public
static method.
(MonoSymbolFile.WriteString): Use the BinaryWriter's method.
(MonoSymbolFile.ReadString): Use the BinaryReader's method.
(MonoSymbolFile.Write): Write the module's Guid into the symbol
file.
* MonoSymbolTable.cs, MonoSymbolWriter.cs: Reworked the API.
svn path=/trunk/mcs/; revision=31669
Duncan Mak [Fri, 30 Jul 2004 16:32:19 +0000 (16:32 -0000)]
it's OpCodeType, not OperandType
svn path=/trunk/mono/; revision=31668
Duncan Mak [Fri, 30 Jul 2004 16:31:06 +0000 (16:31 -0000)]
Added OperandType information to each of the public opcodes with the
new "type" attribute. Removed mono_func_* from the opcodes and updated
the "o2" attribute for the mono_* opcodes to match the values in the
existing opcode.def. Added "mono_save_lmf" and mono_restore_lmf",
which were listed in opcode.def, but not in the XML file.
r=lupus
svn path=/trunk/mono/; revision=31667
Ben Maurer [Fri, 30 Jul 2004 16:16:32 +0000 (16:16 -0000)]
2004-07-30 Ben Maurer <bmaurer@ximian.com>
* basic.cs: regression tests.
* inssel-x86.brg: Disable cmp BYTE PTR [eax], imm, it causes various
svn path=/trunk/mono/; revision=31666
Zoltan Varga [Fri, 30 Jul 2004 16:02:37 +0000 (16:02 -0000)]
2004-07-30 Zoltan Varga <vargaz@freemail.hu>
* basic.cs: Add a new test.
svn path=/trunk/mono/; revision=31665
Zoltan Varga [Fri, 30 Jul 2004 16:01:49 +0000 (16:01 -0000)]
2004-07-30 Zoltan Varga <vargaz@freemail.hu>
* amd64/amd64-codegen.h: Ongoing JIT work.
svn path=/trunk/mono/; revision=31664
Zoltan Varga [Fri, 30 Jul 2004 16:00:43 +0000 (16:00 -0000)]
2004-07-30 Zoltan Varga <vargaz@freemail.hu>
* mini-amd64.c aot.c cpu-amd64.md: Add support for tracing, profiling
and AOT. Various fixes and optimizations.
svn path=/trunk/mono/; revision=31663
Zoltan Varga [Fri, 30 Jul 2004 15:59:04 +0000 (15:59 -0000)]
2004-07-30 Zoltan Varga <vargaz@freemail.hu>
* inssel.brg (CALL_REG): Add 64 bit versions of call_reg rules.
svn path=/trunk/mono/; revision=31662
Zoltan Varga [Fri, 30 Jul 2004 15:23:58 +0000 (15:23 -0000)]
2004-07-30 Zoltan Varga <vargaz@freemail.hu>
* mono-logger.c (mono_trace_set_mask_string): Fix AOT tracing constant.
svn path=/trunk/mono/; revision=31660
Jambunathan K [Fri, 30 Jul 2004 15:05:34 +0000 (15:05 -0000)]
Enhanced or Fixed tests for externalsource and conditional
compilation pre-processor directives
svn path=/trunk/mcs/; revision=31658
Atsushi Eno [Fri, 30 Jul 2004 15:05:20 +0000 (15:05 -0000)]
The ChangeLog description was ambiguous, so rewritten.
svn path=/trunk/mcs/; revision=31657
Atsushi Eno [Fri, 30 Jul 2004 15:01:08 +0000 (15:01 -0000)]
2004-07-30 Atsushi Enomoto <atsushi@ximian.com>
* DTMXPathNavigator.cs :
Fixed IsSamePosition(). currentAttr and currentNS are not always
the same when current is attribute or current is namespace.
* XPathNavigatorReader.cs : Fixed NodeType - 1) When attribute value is
being consumed, then node type should be Text, and 2) Root node is
usually mapped to Document, but XmlReader never returns Document,
just None (both on Initial state and EndOfFile state).
svn path=/trunk/mcs/; revision=31656
Jambunathan K [Fri, 30 Jul 2004 14:43:41 +0000 (14:43 -0000)]
Fixed miscellaneous bugs in handling of
pre-processor directives. There are two positive test
cases that fail currently: ExternalSourceDirectivesC4.vb
and RegionDirectivesC1.vb
----------------------------------------------------------------------
svn path=/trunk/mcs/; revision=31655
Ravindra [Fri, 30 Jul 2004 14:20:22 +0000 (14:20 -0000)]
* Font.cs: Fixed Height property implementation and implemented
GetHeight method and its overloads.
svn path=/trunk/mcs/; revision=31654
Paolo Molaro [Fri, 30 Jul 2004 13:51:38 +0000 (13:51 -0000)]
Fri Jul 30 16:49:05 CEST 2004 Paolo Molaro <lupus@ximian.com>
* object.c: always create an object if null is passed
to Invoke() where a valuetype is expected.
svn path=/trunk/mono/; revision=31652
Atsushi Eno [Fri, 30 Jul 2004 12:53:50 +0000 (12:53 -0000)]
2004-07-30 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs : fixed GetAttributeNavigator() that
incorrectly used MoveToNextAttribute().
svn path=/trunk/mcs/; revision=31651
Paolo Molaro [Fri, 30 Jul 2004 12:49:43 +0000 (12:49 -0000)]
Fri Jul 30 15:49:26 CEST 2004 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: make sure temp regs are not used for global reg
allocation.
svn path=/trunk/mono/; revision=31650
Sureshkumar T [Fri, 30 Jul 2004 11:35:08 +0000 (11:35 -0000)]
2004-07-30 Sureshkumar T (tsureshkumar@novell.com)
* OdbcCommand.cs: ExecuteNonQuery Closed statement handle to fix memory leak
* OdbcDataReader.cs: Closed statement handle to fix memory leak
Removed SQLState login in GetBytes coz OdbcError provides the same.
svn path=/trunk/mcs/; revision=31649
Ravindra [Fri, 30 Jul 2004 08:17:56 +0000 (08:17 -0000)]
Flushing.
svn path=/trunk/mcs/; revision=31647
Jambunathan K [Fri, 30 Jul 2004 08:12:56 +0000 (08:12 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=31646