mono.git
19 years agoupdate
Marek Safar [Tue, 22 Feb 2005 09:21:05 +0000 (09:21 -0000)]
update

svn path=/trunk/mcs/; revision=41025

19 years ago2005-02-22 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 22 Feb 2005 09:16:53 +0000 (09:16 -0000)]
2005-02-22  Marek Safar  <marek.safar@seznam.cz>

* expression.cs.cs (ConditionalLogicalOperator.DoResolve):
Fixed error 217.

* class.cs (MethodCore.CheckMethodAgainstBase):
Add error 239 report.

svn path=/trunk/mcs/; revision=41024

19 years agoremoved unused empty file
Raja R Harinath [Tue, 22 Feb 2005 08:38:03 +0000 (08:38 -0000)]
removed unused empty file

svn path=/trunk/mcs/; revision=41022

19 years ago2005-02-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Feb 2005 08:33:53 +0000 (08:33 -0000)]
2005-02-22  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader.cs : XmlParserContext was not properly popped on
  the expected timing and thus had lost BaseURI, XmlSpace and XmlLang.

svn path=/trunk/mcs/; revision=41021

19 years ago2005-02-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Feb 2005 06:40:26 +0000 (06:40 -0000)]
2005-02-22  Atsushi Enomoto <atsushi@ximian.com>

* xslttest.cs : Updated skipped targets.
* alltest.cs : introduced skipped targets. Now reverted the previous
  change to use XmlTextWriter again.
* Makefile : now don't check large archives everytime we do run-test.
* simplify.xsl : don't exclude skipped targets here.

svn path=/trunk/mcs/; revision=41020

19 years ago2005-02-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Feb 2005 06:35:36 +0000 (06:35 -0000)]
2005-02-22  Atsushi Enomoto  <atsushi@ximian.com>

* BUGS-MS.txt : explaination on forthcoming standalone test revert.

svn path=/trunk/mcs/; revision=41019

19 years ago2005-02-22 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Tue, 22 Feb 2005 06:04:29 +0000 (06:04 -0000)]
2005-02-22  Cesar Lopez Nataren  <cnataren@novell.com>

* CodeGenerator.cs: Added method VariableDefined.

* TypeManager.cs: Added method SetMethod.

* VariableDeclaration.cs (EmitDecl): Added logic to allow multiple
declarations of the same var. Fixes #72674.

* Block.cs: Added hashtable ocurrences. It holds the index of the
previous declaration which after encountering another one with the
same name gets nuked.

* FunctionDeclaration.cs: Added logic for allowing multiple
declaration of methods with the same name. Fixes #72674.

* expression.cs (Args): Added field func. Holds a reference to the
Function which to the args are being passed. Use it to track the
proper number of arguments for the call.

svn path=/trunk/mcs/; revision=41018

19 years agoremove cs0143.
Raja R Harinath [Tue, 22 Feb 2005 05:58:41 +0000 (05:58 -0000)]
remove cs0143.

svn path=/trunk/mcs/; revision=41017

19 years agoAdd back cs0217.
Raja R Harinath [Tue, 22 Feb 2005 05:55:58 +0000 (05:55 -0000)]
Add back cs0217.

svn path=/trunk/mcs/; revision=41016

19 years ago2005-02-21 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 21 Feb 2005 23:21:29 +0000 (23:21 -0000)]
2005-02-21  Ben Maurer  <bmaurer@ximian.com>
* abort-stress-1.cs, abort-stress-2.cs: Stress tests for thread
aborting. The second one deadlocks, so it is disabled

2005-02-19  Zoltan Varga  <vargaz@freemail.hu>

svn path=/trunk/mono/; revision=41014

19 years ago2005-02-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 21 Feb 2005 22:12:23 +0000 (22:12 -0000)]
2005-02-21  Zoltan Varga  <vargaz@freemail.hu>

* cpu-amd64.md: Fix lengths of atomic opcodes.

svn path=/trunk/mono/; revision=41013

19 years ago2005-02-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Feb 2005 19:17:27 +0000 (19:17 -0000)]
2005-02-21  Martin Baulig  <martin@ximian.com>

* generic.cs
(TypeManager.generic_nullable_type): New static public field.
(TypeManager.InitGenericCoreType): Lookup "System.Nullable`1".

* rootcontext.cs
(RootContext.ResolveCore): Resolve "System.Nullable`1".

svn path=/trunk/mcs/; revision=41011

19 years ago2005-02-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Feb 2005 19:13:17 +0000 (19:13 -0000)]
2005-02-21  Martin Baulig  <martin@ximian.com>

* IComparer.cs: Reverted the last change here, Equals() and
GetHashCode() have been removed a long time ago.

svn path=/trunk/mcs/; revision=41010

19 years ago2005-02-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Feb 2005 18:07:13 +0000 (18:07 -0000)]
2005-02-21  Martin Baulig  <martin@ximian.com>

* marshal.c (mono_marshal_get_runtime_invoke): Add support for
generic instances.

svn path=/trunk/mono/; revision=41008

19 years ago2005-02-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Feb 2005 17:38:38 +0000 (17:38 -0000)]
2005-02-21  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_image_build_metadata): We also need to
"fixup" the MethodImpl table after we computed the final method
indices.  Call fixup_methodimpl() to do that.
(fixup_methodimpl): New private method.

svn path=/trunk/mono/; revision=41007

19 years agodisable CS0217 for moment
Marek Safar [Mon, 21 Feb 2005 16:43:51 +0000 (16:43 -0000)]
disable CS0217 for moment

svn path=/trunk/mcs/; revision=41006

19 years ago2005-02-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 21 Feb 2005 16:11:57 +0000 (16:11 -0000)]
2005-02-21  Zoltan Varga  <vargaz@freemail.hu>

* Hashtable.cs: Add net 2.0 ReliabilityContractAttributes.

svn path=/trunk/mcs/; revision=41005

19 years ago2005-02-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 21 Feb 2005 16:10:57 +0000 (16:10 -0000)]
2005-02-21  Zoltan Varga  <vargaz@freemail.hu>

* UnmanagedFunctionPointerAttribute.cs: Add #region directives.

svn path=/trunk/mcs/; revision=41004

19 years ago2005-02-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 21 Feb 2005 16:09:50 +0000 (16:09 -0000)]
2005-02-21  Zoltan Varga  <vargaz@freemail.hu>

* Monitor.cs Interlocked.cs: Add net 2.0 ReliabilityContractAttributes.

svn path=/trunk/mcs/; revision=41003

19 years ago2005-02-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 21 Feb 2005 16:08:14 +0000 (16:08 -0000)]
2005-02-21  Zoltan Varga  <vargaz@freemail.hu>

* GC.cs Double.cs IntPtr.cs Array.cs Decimal.cs Math.cs Single.cs:
Add net 2.0 ReliabilityContractAttributes.

svn path=/trunk/mcs/; revision=41002

19 years agoMon Feb 21 17:14:34 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 21 Feb 2005 15:57:06 +0000 (15:57 -0000)]
Mon Feb 21 17:14:34 CET 2005 Paolo Molaro <lupus@ximian.com>

* configure.in: don't imply that enabling ICU support is a good
thing to do.

svn path=/trunk/mono/; revision=41001

19 years agoMon Feb 21 16:52:20 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 21 Feb 2005 15:34:33 +0000 (15:34 -0000)]
Mon Feb 21 16:52:20 CET 2005 Paolo Molaro <lupus@ximian.com>

* driver.c: try to not imply using ICU is any good.

svn path=/trunk/mono/; revision=40999

19 years agoMon Feb 21 16:17:14 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 21 Feb 2005 14:59:28 +0000 (14:59 -0000)]
Mon Feb 21 16:17:14 CET 2005 Paolo Molaro <lupus@ximian.com>

* assembly.c: special case mscorlib.dll (bug#72536),
patch from Carlos Alberto Cortez.

svn path=/trunk/mono/; revision=40998

19 years ago2005-02-21 Michal Moskal <malekith@pld-linux.org>
Raja R Harinath [Mon, 21 Feb 2005 14:55:55 +0000 (14:55 -0000)]
2005-02-21  Michal Moskal  <malekith@pld-linux.org>

* Makefile (LIBRARY_INSTALL_DIR): Define in terms of $(libdir).

svn path=/trunk/mcs/; revision=40997

19 years agoFix #68955.
Raja R Harinath [Mon, 21 Feb 2005 14:51:17 +0000 (14:51 -0000)]
Fix #68955.
* mcs/expression.cs (Invocation.IsApplicable): Make public.
(Invocation.IsParamsMethodApplicable): Likewise.
* mcs/delegate.cs (Delegate.VerifyApplicability): Don't use
Invocation.VerifyArgumentCompat for parameter applicability
testing.  Use Invocation.IsApplicable and Invocation.IsParamsMethodApplicable.
* tests/test-351.cs: New test from #68955.

svn path=/trunk/mcs/; revision=40996

19 years ago* cs1594-1.cs, cs1594-2.cs, cs1594-3.cs: New tests based on #68955.
Raja R Harinath [Mon, 21 Feb 2005 14:49:14 +0000 (14:49 -0000)]
* cs1594-1.cs, cs1594-2.cs, cs1594-3.cs: New tests based on #68955.
(not regressions)

svn path=/trunk/mcs/; revision=40995

19 years ago2005-02-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 21 Feb 2005 13:54:21 +0000 (13:54 -0000)]
2005-02-21  Atsushi Enomoto <atsushi@ximian.com>

* Makefile : updated the expected "run-test-ms" output (reflecting fix
  for alltest.cs.)

svn path=/trunk/mcs/; revision=40994

19 years ago* configure.in: Emit exec_prefix and libdir into mcs/build/config.make.
Raja R Harinath [Mon, 21 Feb 2005 13:34:23 +0000 (13:34 -0000)]
* configure.in: Emit exec_prefix and libdir into mcs/build/config.make.

Patch from Michal Moskal  <malekith@pld-linux.org>

svn path=/trunk/mono/; revision=40993

19 years ago* build/config-default.make (exec_prefix, libdir): New.
Raja R Harinath [Mon, 21 Feb 2005 13:33:10 +0000 (13:33 -0000)]
* build/config-default.make (exec_prefix, libdir): New.
* build/library.make (libdir): Remove.
* build/executable.make (PROGRAM_INSTALL_DIR): Define in terms of $(libdir).
* tools/corcompare/Makefile (PROGRAM_INSTALL_DIR): Likewise.
* tools/security/Makefile (PROGRAM_INSTALL_DIR): Likewise.

svn path=/trunk/mcs/; revision=40992

19 years agoadd new test
Marek Safar [Mon, 21 Feb 2005 13:26:37 +0000 (13:26 -0000)]
add new test

svn path=/trunk/mcs/; revision=40991

19 years agoupdated fixed
Marek Safar [Mon, 21 Feb 2005 13:26:07 +0000 (13:26 -0000)]
updated fixed

svn path=/trunk/mcs/; revision=40990

19 years ago2005-02-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 21 Feb 2005 13:25:08 +0000 (13:25 -0000)]
2005-02-21  Atsushi Enomoto  <atsushi@ximian.com>

* BUGS-MS.txt : more bug records.

svn path=/trunk/mcs/; revision=40989

19 years agoremove deleted testcases
Raja R Harinath [Mon, 21 Feb 2005 13:24:18 +0000 (13:24 -0000)]
remove deleted testcases

svn path=/trunk/mcs/; revision=40988

19 years ago2005-02-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 21 Feb 2005 13:19:58 +0000 (13:19 -0000)]
2005-02-21  Atsushi Enomoto <atsushi@ximian.com>

* XmlWriterEmitter.cs : PI nodes are normalized as to not contain "?>".
* HtmlEmitter.cs : CDATA nodes are written just as text.
* GenericOutputter.cs : custom format are treated just as XML output.

svn path=/trunk/mcs/; revision=40987

19 years ago2004-02-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 21 Feb 2005 13:15:57 +0000 (13:15 -0000)]
2004-02-21  Atsushi Enomoto  <atsushi@ximian.com>

* DTMXPathDocumentBuilder2.cs : whitespace node values were not added
  to Value.

svn path=/trunk/mcs/; revision=40986

19 years ago2005-02-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 21 Feb 2005 13:11:35 +0000 (13:11 -0000)]
2005-02-21  Atsushi Enomoto <atsushi@ximian.com>

* DTDValidatingReader.cs : It should not skip whitespace and
  significant whitespace nodes unless it is expanding entities.
* XmlDocumentNavigator.cs : Fixed NodeType that was returning
  incorrect type when there is a sequence of text/cdata/space nodes.

svn path=/trunk/mcs/; revision=40985

19 years ago2005-02-21 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 21 Feb 2005 13:10:44 +0000 (13:10 -0000)]
2005-02-21  Marek Safar  <marek.safar@seznam.cz>

* ecore.cs (PropertyExpr.DoResolve): Add error 214 report.

* class.cs (Operator.Define): Add error 217 report.

svn path=/trunk/mcs/; revision=40984

19 years agoI was editing incorrect ChangeLog :(
Atsushi Eno [Mon, 21 Feb 2005 13:08:32 +0000 (13:08 -0000)]
I was editing incorrect ChangeLog :(

svn path=/trunk/mcs/; revision=40983

19 years ago2005-02-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 21 Feb 2005 13:06:13 +0000 (13:06 -0000)]
2005-02-21  Atsushi Enomoto <atsushi@ximian.com>

* simplify.xsl : currently key to external document results in
  infinite loop. Should be fixed but for now exclude from tests.
* alltest.cs : Don't use XmlTextWriter for transformation output. It
  prevents us from testing html output.
* Makefile : now RUNTIME could be empty string (for MS output
  generation).

svn path=/trunk/mcs/; revision=40982

19 years agowrong error code
Marek Safar [Mon, 21 Feb 2005 12:25:26 +0000 (12:25 -0000)]
wrong error code

svn path=/trunk/mcs/; revision=40981

19 years ago* namespace.cs (UsingEntry.Resolve): Undo change below.
Raja R Harinath [Mon, 21 Feb 2005 12:22:59 +0000 (12:22 -0000)]
* namespace.cs (UsingEntry.Resolve): Undo change below.

I couldn't reproduce the problem that required this change.

svn path=/trunk/mcs/; revision=40980

19 years ago * Label.cs: fixes image drawing (image and imagelist)
Jordi Mas i Hernandez [Mon, 21 Feb 2005 12:17:50 +0000 (12:17 -0000)]
* Label.cs: fixes image drawing (image and imagelist)
* ThemeWin32Classic.cs: cache brushes

2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>

svn path=/trunk/mcs/; revision=40979

19 years agoFix #72756.
Raja R Harinath [Mon, 21 Feb 2005 12:03:22 +0000 (12:03 -0000)]
Fix #72756.
* mcs/ecore.cs (Expression.MemberLookupFailed): Add argument to
disable the error message when the extended MemberLookup also fails.
(Expression.MemberLookupFinal): Update.
(SimpleName.DoSimpleNameResolve): Update.
* mcs/expression.cs (MemberAccess.ResolveNamespaceOrType):
Don't use MemberLookupFinal.
(New.DoResolve): Update.
(BaseAccess.CommonResolve): Update.
* tests/test-350.cs: New test from #72756.

svn path=/trunk/mcs/; revision=40977

19 years ago* runtest.pl: Add unexpected error check.
Raja R Harinath [Mon, 21 Feb 2005 11:38:42 +0000 (11:38 -0000)]
* runtest.pl: Add unexpected error check.

svn path=/trunk/mcs/; revision=40976

19 years agoHandle all cases of relational Operators w.r.t String types
Manjula GHM [Mon, 21 Feb 2005 09:45:08 +0000 (09:45 -0000)]
Handle  all cases of relational Operators w.r.t String types

svn path=/trunk/mcs/; revision=40975

19 years ago2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Mon, 21 Feb 2005 09:36:18 +0000 (09:36 -0000)]
2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>

* Form.cs: Move menu drawing code to Theme class
* ComboBox.cs: Move ComboBox drawing code to Theme class
* MenuItem.cs: Move menu drawing code to Theme class
* MenuAPI.cs: Move menu drawing code to Theme class
* ThemeWin32Classic.cs: New methods
* CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
* ListBox.cs: Move Listbox drawing code to Theme class
* Theme.cs: New methods

svn path=/trunk/mcs/; revision=40974

19 years agoFix #72732.
Raja R Harinath [Mon, 21 Feb 2005 09:15:03 +0000 (09:15 -0000)]
Fix #72732.
* attribute.cs (Attribute.ResolveType): If a 'resolve_error' had
occured previously, don't resolve again.

svn path=/trunk/mcs/; revision=40973

19 years agoAdded some stress tests and test driver for them.
Paolo Molaro [Mon, 21 Feb 2005 09:15:02 +0000 (09:15 -0000)]
Added some stress tests and test driver for them.

svn path=/trunk/mono/; revision=40972

19 years ago2005-02-21 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 21 Feb 2005 08:25:38 +0000 (08:25 -0000)]
2005-02-21  Marek Safar  <marek.safar@seznam.cz>

Fix #69949
* attribute.cs (Attribute.GetAttributeUsage): Add EmitContext
argument. Call ResolveAttributeUsage for unresolved.
when types doesn't match ctor arguments.

* class.cs (DoDefineMembers.TypeContainer): Removed safety check
for nested attribute classes.
(Class.attribute_usage): Removed.
(Class.ResolveAttributeUsage): Resolves AttributeUsageAttribute
for attribute class.

* ecore.cs (IsAttribute): Removed.

* namespace.cs (UsingEntry.Resolve): Don't destroy NamespaceEntry.

* rootcontext.cs (RegisterAttribute): Removed, attributes are
now normal types.
(attribute_types): Removed.
(EmitCode): Global attributes are emited as the latest.

svn path=/trunk/mcs/; revision=40971

19 years ago2005-02-21 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Mon, 21 Feb 2005 08:05:48 +0000 (08:05 -0000)]
2005-02-21  Sureshkumar T  <tsureshkumar@novell.com>

* OracleCommand.cs: set behavior for execute reader.
fixes bug #72607.

svn path=/trunk/mcs/; revision=40970

19 years agoThrows error for missing END statements - by Sudharsan
Manjula GHM [Mon, 21 Feb 2005 04:35:37 +0000 (04:35 -0000)]
Throws error for missing END statements - by Sudharsan

svn path=/trunk/mcs/; revision=40969

19 years agosvn path=/trunk/mcs/; revision=40965
César Natarén [Mon, 21 Feb 2005 01:02:40 +0000 (01:02 -0000)]
svn path=/trunk/mcs/; revision=40965

19 years ago2005-02-20 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Mon, 21 Feb 2005 01:01:06 +0000 (01:01 -0000)]
2005-02-20  Cesar Lopez Nataren  <cnataren@novell.com>

* expression.cs (Args.Emit): check if num_of_args is -1.
* ast.cs (Function.NumOfArgs): avoid using a null pointer. In the
code generation phase if num_of_args is -1 means the actual
arguments are the desired number of args.

svn path=/trunk/mcs/; revision=40964

19 years ago2005-02-20 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Mon, 21 Feb 2005 00:58:51 +0000 (00:58 -0000)]
2005-02-20  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleDataReader.cs: use ICovertible
to convert data types for GetDateTime, GetInt64, GetInt32, GetFloat,
GetDouble, GetDecimal.  Fixes bug #53391.

* Test/TestOracleClient.cs: updated OracleClient tests for
these functions

svn path=/trunk/mcs/; revision=40963

19 years ago2005-02-21 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Sun, 20 Feb 2005 23:32:43 +0000 (23:32 -0000)]
2005-02-21  Nick Drochak <ndrochak@ieee.org>

* SoapServicesTest.cs: OK, i don't know how to handle multi-registrations.
Just disable the whole test on Mono for now until an expert can help out.

svn path=/trunk/mcs/; revision=40962

19 years agoremove msg
César Natarén [Sun, 20 Feb 2005 22:40:00 +0000 (22:40 -0000)]
remove msg

svn path=/trunk/mcs/; revision=40961

19 years ago2005-02-20 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Sun, 20 Feb 2005 22:37:37 +0000 (22:37 -0000)]
2005-02-20  Cesar Lopez Nataren  <cnataren@novell.com>

* Parser.cs: Pass proper parent.
* CodeGenerator.cs: added emit_get_default_this.
* Literal.cs (This) : Resolve and Emit implemented. Fixes #72477
* expression.cs: (emit_late_get_or_set) use
load_engine. (load_script_func) Ensure that TypeManager has a ref
to the local otherwise it's a field. (New.Resolve) Check if late
binding is needed. (New.Emit) Generate proper IL that make use of
late binding  when the id of the constructor it's not part of the
build in objects.

2005-02-14  Cesar Lopez Nataren  <cnataren@novell.com>

svn path=/trunk/mcs/; revision=40960

19 years ago2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 20 Feb 2005 22:06:19 +0000 (22:06 -0000)]
2005-02-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TermInfoDriver.cs: cygwin terminals are handled by the windows
console driver.

* TermInfoReader.cs:
* TermInfoNumbers.cs:
* KnownTerminals.cs:
* TermInfoBooleans.cs:
* TermInfoStrings.cs: documented.

svn path=/trunk/mcs/; revision=40959

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 18:48:25 +0000 (18:48 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* amd64/amd64-codegen.h: Add xadd instructions.

svn path=/trunk/mono/; revision=40956

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 18:46:49 +0000 (18:46 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* threads-types.h threads.c: Fix build bustage.

svn path=/trunk/mono/; revision=40955

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 18:39:52 +0000 (18:39 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_get_inst_for_method): Implement more
functions as inline ops.

svn path=/trunk/mono/; revision=40954

19 years agoAdd prj2make
Miguel de Icaza [Sun, 20 Feb 2005 18:28:09 +0000 (18:28 -0000)]
Add prj2make

svn path=/trunk/mcs/; revision=40953

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 18:25:59 +0000 (18:25 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* threads.c: Use a union for long<->double conversions.

svn path=/trunk/mono/; revision=40952

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 18:18:13 +0000 (18:18 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* mini-ops.h inssel-amd64.brg cpu-amd64.md mini-amd64.c: Implement
some Interlocked functions as inline ops.

svn path=/trunk/mono/; revision=40951

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 18:16:00 +0000 (18:16 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* InterlockedTest.cs: Enable 2.0 tests.

svn path=/trunk/mcs/; revision=40950

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 18:14:57 +0000 (18:14 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* threads-types.h threads.c icall.c: Implement the net 2.0 interlocked
functions based on a patch by Luca Barbieri (luca.barbieri@gmail.com).

svn path=/trunk/mono/; revision=40949

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 17:05:21 +0000 (17:05 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* InterlockedTest.cs: New file. Tests from
Luca Barbieri (luca.barbieri@gmail.com).

svn path=/trunk/mcs/; revision=40947

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 17:04:37 +0000 (17:04 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* corlib_test.dll.sources: Add System.Threading.InterlockedTest.cs.

svn path=/trunk/mcs/; revision=40946

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 17:03:42 +0000 (17:03 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* Interlocked.cs: Applied patch from Luca Barbieri (luca.barbieri@gmail.com). Add NET 2.0 methods.

svn path=/trunk/mcs/; revision=40945

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 16:49:37 +0000 (16:49 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (move_basic_block_to_end): Fix bug in last patch.

svn path=/trunk/mono/; revision=40944

19 years ago- BrightnessControl and ColorMatrixControl don't draw on a bitmap anymore (changed...
Alexander Olk [Sun, 20 Feb 2005 14:57:21 +0000 (14:57 -0000)]
- BrightnessControl and ColorMatrixControl don't draw on a bitmap anymore (changed from PictureBox to Panel)
- Changed drawing for BaseColorControl
- Added basic support for handling inputs in the TextBoxes

svn path=/trunk/mcs/; revision=40941

19 years ago2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
Kazuki Oikawa [Sun, 20 Feb 2005 14:44:04 +0000 (14:44 -0000)]
2005-02-21  Kazuki Oikawa  <kazuki@panicode.com>

* IComparer.cs, IDictionary.cs: Corrected the wrong declaration.

svn path=/trunk/mcs/; revision=40938

19 years ago2005-02-21 Kazuki Oikawa <kazuki@panicode.com>
Kazuki Oikawa [Sun, 20 Feb 2005 14:43:21 +0000 (14:43 -0000)]
2005-02-21  Kazuki Oikawa  <kazuki@panicode.com>

* Corrected the order of the fields and the methods.
* Added missing attributes.

svn path=/trunk/mcs/; revision=40937

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 14:20:40 +0000 (14:20 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (MonoBasicBlock): Reorganize fields a bit.

* mini-ops.h inssel.brg: Add OP_NOT_REACHED.

* mini.c: Add support for OP_NOT_TAKEN.

svn path=/trunk/mono/; revision=40936

19 years ago2005-02-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Sun, 20 Feb 2005 14:17:39 +0000 (14:17 -0000)]
2005-02-20 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

   * Npgsql/NpgsqlCommand.cs: Fixed a problem when using prepare commands inside a transaction. Portal wasn't being released. We use the unnamed portal now. Thanks Marcin (marcin at floryan dot neostrada dot pl) for the heads up.

svn path=/trunk/mcs/; revision=40935

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 14:16:51 +0000 (14:16 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* amd64/amd64-codegen.h (amd64_jump_code_size): Do not emit a rex.

svn path=/trunk/mono/; revision=40934

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 14:15:52 +0000 (14:15 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_thread_interrupt_checkpoint_call): Mark the bblock
containing the checkpoint call with NOT_TAKEN.

svn path=/trunk/mono/; revision=40933

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 14:06:23 +0000 (14:06 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* cil-opcodes.xml opcode.def: Correct definition of mono_classconst and
add mono_not_taken which is used for branch prediction hints.

svn path=/trunk/mono/; revision=40931

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 13:38:30 +0000 (13:38 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_managed_wrapper): Emit interrupt
checkpoint before pushing the arguments, so they won't have to be
spilled to stack.

svn path=/trunk/mono/; revision=40930

19 years ago2005-02-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 20 Feb 2005 13:36:48 +0000 (13:36 -0000)]
2005-02-20  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.h mini-amd64.c: Add support for passing/returning small
structures in registers for pinvoke wrappers.

* mini-amd64.c: Fix warnings.

svn path=/trunk/mono/; revision=40929

19 years ago2005-02-20 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Sun, 20 Feb 2005 12:04:57 +0000 (12:04 -0000)]
2005-02-20  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleCommand.cs: fix bug #72407
ExecuteNonQuery with a SELECT SQL statement caused an error

svn path=/trunk/mcs/; revision=40927

19 years ago2005-02-20 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Sun, 20 Feb 2005 10:52:16 +0000 (10:52 -0000)]
2005-02-20  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleDateTime.cs: modified -
added functions for converting the date format strings between
OracleDateTime and DateTime based on
the NLS_DATE_FORMAT on the Oracle server

* System.Data.OracleClient/OracleConnection.cs: implement
internal function GetNlsInfo to get NLS info from the Oracle server
for the session or environment.  Also, implemented function
GetSessionNlsDateFormat to get Oracle's NLS_DATE_FORMAT string

* System.Data.OracleClient/OracleParameter.cs: for input parameters,
fixed setting the parameter value to DBNull.Value and fixed the
setting of a DateTime or OracleDateTime.  Tried to fix CLOBs/BLOBs, but
it is still a TODO.

* Test/TestOracleClient.cs: updated the parameters test

* System.Data.OracleClient.Oci/OciHandle.cs: implement
internal function SetAttributeString

* System.Data.OracleClient.Oci/OciCalls.cs: add DllImport
OCIBindByNameBytes so byte array can be passed instead of IntPtr
for the value, add DllImport OCIDateTimeFromText,
and added DllImport for OCINlsGetInfo to get NLS info,
such as, NLS_DATE_FORMAT

* System.Data.OracleClient.Oci/OciAttributeType.cs: added
attribute for date format (not used)

* System.Data.OracleClient.Oci/OciNlsServiceType.cs: added new file
for an enum to hold NLS Service types which is to be used with GetNlsInfo()
in OracleConnection

* System.Data.OracleClient.dll.sources: added OciNlsServiceType.cs to
the build

svn path=/trunk/mcs/; revision=40926

19 years ago2005-02-20 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sun, 20 Feb 2005 10:43:14 +0000 (10:43 -0000)]
2005-02-20  Peter Bartok  <pbartok@novell.com>

* Control.cs:
  - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
    only process mnemonics on those)
  - Fixed event sequence for key handling; first calling
    ProcessKeyEventArgs now
* TextBoxBase.cs:
  - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
    for processing non-character keys
  - Fixed WM_CHAR to generate proper event sequence before processing
* XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  generation

svn path=/trunk/mcs/; revision=40925

19 years agoFlush
Nick Drochak [Sun, 20 Feb 2005 09:01:40 +0000 (09:01 -0000)]
Flush

svn path=/trunk/mcs/; revision=40924

19 years ago2005-02-20 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Sun, 20 Feb 2005 08:56:43 +0000 (08:56 -0000)]
2005-02-20  Nick Drochak <ndrochak@ieee.org>

* SoapServicesTest.cs: Make test work on cygwin again. Order in which
tests are run can make a difference.

svn path=/trunk/mcs/; revision=40922

19 years ago2005-02-19 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Sun, 20 Feb 2005 01:40:28 +0000 (01:40 -0000)]
2005-02-19  Peter Bartok  <pbartok@novell.com>

* UserControl.cs: Added TextChanged event; added attributes
* SizeGrip.cs: Implemented resizing and optional display of grip
* Form.cs: Fixed attribute
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  Changed meaning of ScrollWindow bool argument; instead of the
  clear attribute (which will be true usually anyway), it gives the
  option of moving child controls as well.
* XplatUIX11.cs:
  - Changed to match new ScrollWindow argument
  - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
    now handles the implicit parent window a WM puts around us
* ScrollableControl.cs: Implemented (not the prettiest, but it seems
  to work)
* TextBoxBase.cs: Adjusted to new ScrollWindow arguments
* TreeView.cs: Adjusted to new ScrollWindow arguments

svn path=/trunk/mcs/; revision=40918

19 years ago2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Sat, 19 Feb 2005 21:33:54 +0000 (21:33 -0000)]
2005-02-19  Jordi Mas i Hernandez <jordi@ximian.com>

* Form.cs: Menu integration with non-client area
* MenuItem.cs: Menu integration with non-client area
* MenuAPI.cs: Menu integration with non-client area

svn path=/trunk/mcs/; revision=40914

19 years ago2005-02-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 19 Feb 2005 19:19:38 +0000 (19:19 -0000)]
2005-02-19  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (MonoCompile): Add 'ret_var_is_local' field.

* mini.h mini.c (mono_arch_create_vars): Add new arch specific hook.

* mini.c (NEW_RETLOADA): If the ret variable is a local, use its
address instead of loading the address from it.

* mini-x86.c: Add support for returning small structs in registers
on Win32. Fixes part of #70864.

svn path=/trunk/mono/; revision=40912

19 years ago2005-02-19 <vargaz@freemail.hu>
Zoltan Varga [Sat, 19 Feb 2005 19:18:30 +0000 (19:18 -0000)]
2005-02-19    <vargaz@freemail.hu>

* pinvoke3.cs libtest.c: Add more small struct tests.

svn path=/trunk/mono/; revision=40911

19 years ago2005-02-19 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 19 Feb 2005 16:25:06 +0000 (16:25 -0000)]
2005-02-19  Ben Maurer  <bmaurer@ximian.com>

* RandomTest.cs (NextDouble): Disable. See comment.

svn path=/trunk/mcs/; revision=40910

19 years ago2005-02-19 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 19 Feb 2005 16:03:29 +0000 (16:03 -0000)]
2005-02-19  Miguel de Icaza  <miguel@novell.com>

* MsPrjHelper.cs, MdPrjHelper.cs: Escape path names, as they might
contain empty spaces in the path.

svn path=/trunk/mcs/; revision=40909

19 years agoMissing const bit.
Paolo Molaro [Sat, 19 Feb 2005 14:04:48 +0000 (14:04 -0000)]
Missing const bit.

svn path=/trunk/mono/; revision=40908

19 years agoSat Feb 19 15:19:46 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 19 Feb 2005 14:02:40 +0000 (14:02 -0000)]
Sat Feb 19 15:19:46 CET 2005 Paolo Molaro <lupus@ximian.com>

* domain.c, assembly.c, domain-internals.h: make some data
const and relocation-free.

svn path=/trunk/mono/; revision=40907

19 years ago2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
Kazuki Oikawa [Sat, 19 Feb 2005 11:43:59 +0000 (11:43 -0000)]
2005-02-19  Kazuki Oikawa  <kazuki@panicode.com>

* Array.cs: Reverse the order in the Equals calls.

svn path=/trunk/mcs/; revision=40906

19 years ago2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
Kazuki Oikawa [Sat, 19 Feb 2005 11:42:05 +0000 (11:42 -0000)]
2005-02-19  Kazuki Oikawa  <kazuki@panicode.com>

* SortedList.cs, Stack.cs: Reverse the order in the Equals calls.

svn path=/trunk/mcs/; revision=40905

19 years agoColorComboBox added, needs a lot of love...
Alexander Olk [Sat, 19 Feb 2005 10:57:12 +0000 (10:57 -0000)]
ColorComboBox added, needs a lot of love...

svn path=/trunk/mcs/; revision=40904

19 years agoSat Feb 19 11:12:34 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 19 Feb 2005 09:56:54 +0000 (09:56 -0000)]
Sat Feb 19 11:12:34 CET 2005 Paolo Molaro <lupus@ximian.com>

* object.c, appdomain.c, class-internals.h: introduce the
MonoClassRuntimeInfo structure to hold the info needed to
use a class at runtime. Made mono_class_vtable() lock-free
for all the appdomains.

svn path=/trunk/mono/; revision=40903

19 years agoSat Feb 19 11:11:12 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 19 Feb 2005 09:54:08 +0000 (09:54 -0000)]
Sat Feb 19 11:11:12 CET 2005 Paolo Molaro <lupus@ximian.com>

* metadata-internals.h, image.c: introduce a per-image mempool to
be used for memory that has the same lifetime as the image.

svn path=/trunk/mono/; revision=40902

19 years agotypo
Ben Maurer [Sat, 19 Feb 2005 03:24:35 +0000 (03:24 -0000)]
typo

svn path=/trunk/mcs/; revision=40901

19 years agoavoid writing stuff to the assembly dir. use the temp folder
Ben Maurer [Sat, 19 Feb 2005 02:02:23 +0000 (02:02 -0000)]
avoid writing stuff to the assembly dir. use the temp folder

svn path=/trunk/mcs/; revision=40900