mono.git
18 years agoStandardized Mainsoft DataColumn tests.
Eyal Alalouf [Tue, 12 Jul 2005 14:10:01 +0000 (14:10 -0000)]
Standardized Mainsoft DataColumn tests.

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

18 years ago* statement.cs (Block.Flags); Remove HasVarargs.
Raja R Harinath [Tue, 12 Jul 2005 14:01:17 +0000 (14:01 -0000)]
* statement.cs (Block.Flags); Remove HasVarargs.
(Block.HasVarargs): Move to ToplevelBlock.
(Block.ThisVariable, Block.AddThisVariable): Likewise.
(Block.Variables): Make protected.  Initialize variable hashtable
if necessary.
(Block.AddVariable): Update.
(Block.Resolve): Update to changes.
(ToplevelBlock.HasVarargs): New boolean.
(ToplevelBlock.ThisVariable): Move here from Block.
(ToplevelBlock.AddThisVariable): Likewise.
(ToplevelBlock.IsThisAssigned): New.  Forwards call to this_variable.
* expression.cs (This.ResolveBase): Update to changes.
(ArglistAccess.DoResolve): Likewise.

More cleanups that move things that exist only in a toplevel-block to
ToplevelBlock.

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 13:59:33 +0000 (13:59 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfoTest.cs : added shift weight testcases. Commented one
  French sort thingy out.

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 13:42:54 +0000 (13:42 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* SortKeyBuffer.cs : Fixed shift level computation to match w/ Windows.

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

18 years ago2005-07-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Jul 2005 13:02:18 +0000 (13:02 -0000)]
2005-07-12  Martin Baulig  <martin@ximian.com>

Applying a patch from Michal Moskal <malekith@nemerle.org>.

* metadata.c
(mono_type_hash): Provide better hashing for generic instances.
(mono_generic_inst_hash): Improve hashing.
(mono_generic_class_hash): Likewise.

* reflection.c (mymono_metadata_type_hash): Improve hashing for
generic instances.

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 12:46:27 +0000 (12:46 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfoTest.cs : added another French testcase.

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

18 years ago2005-07-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Jul 2005 12:25:53 +0000 (12:25 -0000)]
2005-07-12  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_create_runtime_class): Remove the
hack for generic type definitions and non-`Run' assemblies.
(mono_reflection_bind_generic_parameters): Also use
`klass->wastypebuilder' to check for TypeBuilders.

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 12:15:35 +0000 (12:15 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : fixed LastIndexOf() to handle _target's_
  contraction as expected. Fixed Compare() to save s2's contraction
  as expected.
* TestDriver.cs :added LastIndexOf() tester w/ indexes.

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 12:12:58 +0000 (12:12 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfoTest.cs : added LastIndexOf() contraction cases and more.

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 11:26:09 +0000 (11:26 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfoTest.cs : added tests for IsSuffix(),
  IndexOf(string,string) and LastIndexOf(string,string).

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

18 years ago2005-07-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 12 Jul 2005 11:05:46 +0000 (11:05 -0000)]
2005-07-12  Zoltan Varga  <vargaz@freemail.hu>

* class.c (mono_class_layout_fields): Fix calculation of has_references
for generic types.

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 10:50:55 +0000 (10:50 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* managed-collation.patch : Fixed IsPrefix() and IsSuffix(). They
  incorrectly use Compare().
* TestDriver.cs : more moved to nunit tests.

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 10:49:05 +0000 (10:49 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfoTest.cs : added tests for IsPrefix() and optionally
  Compare() (which is currently used inside IsPrefix() which is
  however wrong when it comes to managed collation).

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

18 years agoChanged error number and message according to .NET
Manjula GHM [Tue, 12 Jul 2005 10:40:56 +0000 (10:40 -0000)]
Changed error number and message according to .NET

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

18 years ago2005-07-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 12 Jul 2005 10:20:19 +0000 (10:20 -0000)]
2005-07-12  Zoltan Varga  <vargaz@freemail.hu>

* class.c (inflate_generic_class): Fix a leak.
(mono_class_init): Fix calculation of gchimpl and has_finalize fields
for generic types.

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 10:10:54 +0000 (10:10 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfo.cs : IndexOf(string, char, ...) overloads must not
  specify start as 0. Use source.Length - 1 instead.

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 10:04:40 +0000 (10:04 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfoTest.cs : added tests for IndexOf() and LastIndexOf().
  Fixed tests for Compare() - it should use overloaded ones of
  the tested library (do not call overloaded tests themselves).

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

18 years agoSupport 'Nothing' for Constants.
Manjula GHM [Tue, 12 Jul 2005 09:46:13 +0000 (09:46 -0000)]
Support 'Nothing' for Constants.
Added exception

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 09:29:17 +0000 (09:29 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : several fixes on Compare().
  - Ignorable characters are skippted at the top of the loop.
  - IgnoreNonSpace is checked to avoid extraneous level 2 comparison.
  - In such case that s1 index  is increased while s2 contraction is
    replaced, s1 is inconsistently proceeded (bug).
  - IsIgnorable() now also checks IgnoreNonSpace.
  - Fixed FilterOptions() that does not work for IgnoreWidth at all.
* TestDriver.cs : now some are moved to nunit tests.
* Collation-notes.txt : minor todo update.

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

18 years ago2005-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 12 Jul 2005 09:22:41 +0000 (09:22 -0000)]
2005-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* CompareInfoTest.cs : added a few managed collation tests for
  GetSortKey() and Compare() (they are ignored when managed collation
  is off).

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

18 years ago2005-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 11 Jul 2005 22:20:52 +0000 (22:20 -0000)]
2005-07-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TemplateControlCompiler.cs: in these cases, we're only interested in
public properties/fields, not protected.

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

18 years ago2005-07-11 Pedro Martínez Juliá <pedromj@gmail.com>
Pedro Martínez Juliá [Mon, 11 Jul 2005 20:31:39 +0000 (20:31 -0000)]
2005-07-11  Pedro Martínez Juliá  <pedromj@gmail.com>

* Convert.cs: Fix the bug when Convert.ChangeType was using
NumberFormatInfo instead of DateTimeFormatInfo when the type to
change is a DateTime.

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

18 years agoChanges from Florian Gross
César Natarén [Mon, 11 Jul 2005 19:20:15 +0000 (19:20 -0000)]
Changes from Florian Gross

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

18 years ago2005-07-07 Florian Gross <flgr@ccan.de>
César Natarén [Mon, 11 Jul 2005 19:19:11 +0000 (19:19 -0000)]
2005-07-07  Florian Gross  <flgr@ccan.de>

* MathObject.cs: Implemented max and min (untested)
* ObjectConstructor.cs: Implemented Invoke
* StringConstructor.cs: Implemented Invoke and fromCharCode
* PostOrPrefixOperator.cs: Implemented EvaluatePostOrPrefix
* NumberConstructor: Implemented CreateInstance and Invoke
* expression.cs: Implemented unary operators void, +, -, !, ~ and !
* ArrayPrototype.cs: Implemented concat, push and unshift
* DatePrototype.cs: Implemented getDate, getDay, getFullYear, getHours,
getMilliseconds, getMinutes, getMonth, getSeconds, getTime,
getTimezoneOffset, getUTCDate, getUTCDay, getUTCFullYear, getUTCHours,
getUTCMilliseconds, getUTCMinutes, getUTCMonth, getUTCSeconds,
getVarDate, getYear, toDateString, toGMTString, toLocaleDateString,
toLocaleString, toLocaleTimeString, toString, toTimeString,
toUTCString and valueOf
* ObjectPrototype.cs: Implemented toLocaleString and valueOf
* StringPrototype.cs: Implemented substr and concat
* Convert.cs: Implemented ToPrimitive, ToBoolean and ToUint16. Added
more cases to IsNumberTypeCode, IsFloatTypeCode and ToInt32. Fixed
ToString with doubles
* Plus.cs: Added more cases. Fixed endless loop for unknown types via
ugly goto
* ArrayObject.cs: Added GetDefaultValue
* NumberObject.cs: Added GetDefaultValue
* StringObject.cs: Added GetDefaultValue
* BooleanObject.cs: Added GetDefaultValue
* GlobalObject.cs: Fixed parseFloat. Added parseInt and ScriptEngine*
functions
* JSObject.cs: Implemented abstract GetDefaultValue
* BitwiseBinary.cs: Implemented &, ^ and | operators
* BooleanConstructor.cs: Implemented Invoke
* DateConstructor.cs: Implemented infrastructure for DatePrototype.
Note: YearFromTime is ported from Rhino. Also implemented Invoke and
CreateInstance.
* NumberPrototype.cs: Implemented toFixed, toLocaleString and toString
* TokenStream.cs: Fixed locale dependant float parsing
* LateBinding.cs: Added proper support for varargs passing

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

18 years agoNew test.
Martin Baulig [Mon, 11 Jul 2005 17:26:25 +0000 (17:26 -0000)]
New test.

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

18 years ago2005-07-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Jul 2005 17:26:16 +0000 (17:26 -0000)]
2005-07-11  Martin Baulig  <martin@ximian.com>

* generic.cs (ConstructedType.CheckConstraints): Improve the check
for the constructor constraint: we do not only have to check
whether the class has a public constructor, but also ensure that
it's parameterless.  Fixes #75492.

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

18 years ago2005-07-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Jul 2005 16:34:30 +0000 (16:34 -0000)]
2005-07-11  Zoltan Varga  <vargaz@freemail.hu>

* tramp-amd64.c tramp-ia64.c Makefile.am: Move arch independent parts
of trampolines to a separate file.

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

18 years ago2005-07-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Jul 2005 16:28:24 +0000 (16:28 -0000)]
2005-07-11  Zoltan Varga  <vargaz@freemail.hu>

* tramp-amd64.c Makefile.am: Move arch independent parts of trampolines
to a separate file.

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

18 years agoNew test.
Martin Baulig [Mon, 11 Jul 2005 16:09:17 +0000 (16:09 -0000)]
New test.

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

18 years ago2005-07-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Jul 2005 16:08:47 +0000 (16:08 -0000)]
2005-07-11  Martin Baulig  <martin@ximian.com>

* icall.c (ves_icall_Type_BindGenericParameters): Don't crash here
on error.

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

18 years ago2005-07-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Jul 2005 16:08:31 +0000 (16:08 -0000)]
2005-07-11  Martin Baulig  <martin@ximian.com>

* loader.c (find_method): Also lookup in
`mono_defaults.object_class' if we're an interfaces; fixes #75460.

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

18 years ago2005-07-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Jul 2005 16:07:54 +0000 (16:07 -0000)]
2005-07-11  Martin Baulig  <martin@ximian.com>

* TypeBuilder.cs (TypeBuilder.CreateType): Call
create_generic_class() here as well; fixes #75454.

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

18 years agoNew test.
Martin Baulig [Mon, 11 Jul 2005 16:05:39 +0000 (16:05 -0000)]
New test.

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

18 years ago2005-07-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 11 Jul 2005 16:05:09 +0000 (16:05 -0000)]
2005-07-11  Marek Safar  <marek.safar@seznam.cz>

* Makefile: Disable warning 414.

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

18 years ago2005-07-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Jul 2005 16:04:25 +0000 (16:04 -0000)]
2005-07-11  Martin Baulig  <martin@ximian.com>

* expression.cs (Binary.ResolveOperator): Only allow `==' and `!='
between type parameters if they either have the reference type
constraint or the class constraint.

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

18 years ago2005-07-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 11 Jul 2005 16:03:47 +0000 (16:03 -0000)]
2005-07-11  Martin Baulig  <martin@ximian.com>

* Array.cs: Use Type.Equals() instead of `==' to compare type
parameters.

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

18 years ago2005-07-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 11 Jul 2005 16:00:46 +0000 (16:00 -0000)]
2005-07-11  Marek Safar  <marek.safar@seznam.cz>

Fix #75321
* ecore.cs, class.cs: Use SetAssigned instead of direct access.

* class.cs (TypeContainer.VerifyMembers): Distinguish between
not used and not used & assigned.
(FieldBase.ASSIGNED): Moved to MemberCore.Flags.

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

18 years ago2005-07-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 11 Jul 2005 14:39:09 +0000 (14:39 -0000)]
2005-07-11  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : Compare() was ignoring such case that both
  entire strings have '-' to be compared.
* Collation-notes.txt : more status updates.
* TestDriver.cs : added '-' use cases.

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

18 years ago2005-07-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Jul 2005 14:15:38 +0000 (14:15 -0000)]
2005-07-11  Zoltan Varga  <vargaz@freemail.hu>

* mini-trampolines.c: New file.

* mini.h tramp-x86.c: Move arch independent parts of trampolines to a
separate file.

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

18 years ago2005-07-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Jul 2005 12:32:07 +0000 (12:32 -0000)]
2005-07-11  Zoltan Varga  <vargaz@freemail.hu>

* tramp-x86.c: Reorganize the trampoline code to be similar to the
amd64/ia64 code.

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

18 years ago* Makefile (NO_TEST): Set.
Raja R Harinath [Mon, 11 Jul 2005 11:46:03 +0000 (11:46 -0000)]
* Makefile (NO_TEST): Set.
* System.Configuration.Install_test.dll.sources: Remove.

Stub-out code.  Pending rewrite.

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

18 years ago* Makefile (centum_tests): Add System.Messaging and
Raja R Harinath [Mon, 11 Jul 2005 11:40:34 +0000 (11:40 -0000)]
* Makefile (centum_tests): Add System.Messaging and
System.ServiceProcess.  Remove System.Configuration.Install.
Move Mono.C5 ...
(net_2_0_centum_tests): ... here, and disable it for now.

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

18 years agoUpdate.
Raja R Harinath [Mon, 11 Jul 2005 11:39:16 +0000 (11:39 -0000)]
Update.

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

18 years ago2005-07-11 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 11 Jul 2005 10:34:55 +0000 (10:34 -0000)]
2005-07-11  Marek Safar  <marek.safar@seznam.cz>

Fix #75053
* expression.cs (Is.DoResolve): null is never provided type.

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

18 years ago* Makefile (PROGRAM): Make profile specific.
Raja R Harinath [Mon, 11 Jul 2005 10:02:32 +0000 (10:02 -0000)]
* Makefile (PROGRAM): Make profile specific.
* monop2.exe.sources: Remove.

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

18 years ago* Makefile (PROGRAM): Make profile-specific.
Raja R Harinath [Mon, 11 Jul 2005 10:02:13 +0000 (10:02 -0000)]
* Makefile (PROGRAM): Make profile-specific.
* wsdl.exe.sources: Add MonoWSDL2.cs.
* wsdl2.exe.sources: Remove.
* MonoWSDL.cs: Add !NET_2_0 guard.
* MonoWSDL2.cs: Add NET_2_0 guard.

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

18 years ago* scripts/script.in: Add @framework_version@ blank.
Raja R Harinath [Mon, 11 Jul 2005 10:01:47 +0000 (10:01 -0000)]
* scripts/script.in: Add @framework_version@ blank.
* scripts/script2.in: Remove.
* scripts/Makefile.am: Update.  Use wsdl.exe for wsdl2 and
monop.exe for monop2.

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

18 years ago2005-07-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 11 Jul 2005 07:12:41 +0000 (07:12 -0000)]
2005-07-11  Zoltan Varga  <vargaz@freemail.hu>

* mini-codegen.c: Fix cygwin build.

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

18 years ago2005-07-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 10 Jul 2005 21:10:34 +0000 (21:10 -0000)]
2005-07-10  Zoltan Varga  <vargaz@freemail.hu>

* mini.c: Add some minor changes needed by the IA64 port.

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

18 years ago2005-07-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 10 Jul 2005 20:59:20 +0000 (20:59 -0000)]
2005-07-10  Zoltan Varga  <vargaz@freemail.hu>

* *-ia64.*: Ongoing IA64 work.

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

18 years ago2005-07-10 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Sun, 10 Jul 2005 20:43:31 +0000 (20:43 -0000)]
2005-07-10  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleCommand.cs: support
CommandBehavior of SchemaOnly

* System.Data.OracleClient/OracleCommandBuilder.cs:
implement OracleCommandBuilder.  Does not work yet.

* System.Data.OracleClient/OracleDataReader.cs:
implement CommandBehavior of KeyInfo which is required
for OracleCommandBuilder.  Correct data retreived via
GetSchemaTable()

* System.Data.OracleClient.Oci/OciParameterDescriptor.cs: add
method to convert a OciDataType enum to OracleDataType enum

* System.Data.OracleClient.Oci/OciStatementHandle.cs: allow
execute of DescribeOnly to support CommandBehavior.SchemaOnly

* Test/OracleAdapterTest.cs: add file for adapter tests

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

18 years agoadd more todos
Ben Maurer [Sun, 10 Jul 2005 18:55:51 +0000 (18:55 -0000)]
add more todos

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

18 years ago2005-07-10 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 10 Jul 2005 18:08:09 +0000 (18:08 -0000)]
2005-07-10  Ben Maurer  <bmaurer@ximian.com>

* outline.cs: mark abstract methods with the "abstract" keyword.

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

18 years ago * outline.cs: Actually get the namespacing conditions right so
Ben Maurer [Sat, 9 Jul 2005 21:55:46 +0000 (21:55 -0000)]
* outline.cs: Actually get the namespacing conditions right so
things look nice

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

18 years agotypo ;-)
Ben Maurer [Sat, 9 Jul 2005 21:51:43 +0000 (21:51 -0000)]
typo ;-)

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

18 years ago * outline.cs: Friendly display of ifaces on -d
Ben Maurer [Sat, 9 Jul 2005 21:50:07 +0000 (21:50 -0000)]
* outline.cs: Friendly display of ifaces on -d

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

18 years agoMark BindGenericParameters as deprecated (update from Beta2 API). Use MakeGenericType...
Kamil Skalski [Sat, 9 Jul 2005 21:45:28 +0000 (21:45 -0000)]
Mark BindGenericParameters as deprecated (update from Beta2 API). Use MakeGenericType as default implementation with updated signature. Fix API usage here and there.

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

18 years ago2005-07-09 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 9 Jul 2005 21:35:35 +0000 (21:35 -0000)]
2005-07-09  Ben Maurer  <bmaurer@ximian.com>

* outline.cs: Always show explicit interface impls. Don't display
the wrong flags for them.

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

18 years agoInclude monop in net_2_0 build (for monop2)
Kamil Skalski [Sat, 9 Jul 2005 19:36:39 +0000 (19:36 -0000)]
Include monop in net_2_0 build (for monop2)

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

18 years ago2005-07-09 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Sat, 9 Jul 2005 19:09:02 +0000 (19:09 -0000)]
2005-07-09  Cesar Lopez Nataren  <cnataren@novell.com>

* VsaEngine.cs: Return proper constructors.

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

18 years ago2005-07-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 9 Jul 2005 19:01:02 +0000 (19:01 -0000)]
2005-07-09  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am (PLATFORM_DISABLED_TESTS): Ignore thread6.exe on amd64.

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

18 years ago2005-07-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 9 Jul 2005 18:30:39 +0000 (18:30 -0000)]
2005-07-09  Zoltan Varga  <vargaz@freemail.hu>

* tramp-amd64.c mini-amd64.c: Update after latest AOT changes. Split
trampolines into arch-independent and arch-dependent parts.

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

18 years ago2005-07-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 9 Jul 2005 16:49:43 +0000 (16:49 -0000)]
2005-07-09  Zoltan Varga  <vargaz@freemail.hu>

* AttributeTest.cs: Add test for bug #75514.

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

18 years ago2005-07-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 9 Jul 2005 16:49:03 +0000 (16:49 -0000)]
2005-07-09  Zoltan Varga  <vargaz@freemail.hu>

* Attribute.cs (IsDefined): Fix IsDefined for ParameterInfo's. Fixes
#75514.

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

18 years ago* UriTest.cs: Added RelativeUri test (for bug #71053). Modified ParseOverride
Gert Driesen [Sat, 9 Jul 2005 12:10:49 +0000 (12:10 -0000)]
* UriTest.cs: Added RelativeUri test (for bug #71053). Modified ParseOverride
test to pass on .NET 2.0.
* Uri.cs: Modified fix for bug #71053 to match both MS.NET 1.x and 2.0
behaviour. Parse method is no longer used on MS.NET 2.0, marked obsolete.

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

18 years ago* UriTest.cs: Modified port tests to pass on .NET 2.0. HexUnescapeMultiByte test
Gert Driesen [Sat, 9 Jul 2005 07:41:12 +0000 (07:41 -0000)]
* UriTest.cs: Modified port tests to pass on .NET 2.0. HexUnescapeMultiByte test
now passes on MS.NET 2.0.
* Uri.cs: in .NET 2.0, port number should be valid UInt16 instead of UInt32.
If outcome of parsing is -1, do not consider this to be the default port.

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

18 years agoGonzalito from Ben's computer
Ben Maurer [Sat, 9 Jul 2005 00:52:25 +0000 (00:52 -0000)]
Gonzalito from Ben's computer

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

18 years agoStubs from Duncan
Miguel de Icaza [Fri, 8 Jul 2005 23:23:44 +0000 (23:23 -0000)]
Stubs from Duncan

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

18 years agoRemove bitrot code
Miguel de Icaza [Fri, 8 Jul 2005 23:22:47 +0000 (23:22 -0000)]
Remove bitrot code

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

18 years ago2005-07-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Jul 2005 22:54:31 +0000 (22:54 -0000)]
2005-07-09  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_lowering_pass): Fix store_membase_imm -> store_membase_reg rule.

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

18 years agoUpdated.
Martin Baulig [Fri, 8 Jul 2005 21:49:46 +0000 (21:49 -0000)]
Updated.

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

18 years agoUse `NET_2_0 || BOOTSTRAP_NET_2_0' in the conditional.
Martin Baulig [Fri, 8 Jul 2005 21:05:48 +0000 (21:05 -0000)]
Use `NET_2_0 || BOOTSTRAP_NET_2_0' in the conditional.

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

18 years ago**** Merged r46944 and r47112 from MCS ****
Martin Baulig [Fri, 8 Jul 2005 20:43:12 +0000 (20:43 -0000)]
**** Merged r46944 and r47112 from MCS ****

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

18 years ago2005-07-08 Daniel Drake <dsd@gentoo.org>
Daniel Drake [Fri, 8 Jul 2005 20:25:29 +0000 (20:25 -0000)]
2005-07-08  Daniel Drake  <dsd@gentoo.org>

* Uri.cs: Allow descent multiple times below root. Fixes bug #71053.

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

18 years ago2005-07-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Jul 2005 19:37:04 +0000 (19:37 -0000)]
2005-07-08  Zoltan Varga  <vargaz@freemail.hu>

* cpu-amd64.md: Merge the xp-regalloc-branch for amd64.

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

18 years ago2005-07-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Jul 2005 19:12:28 +0000 (19:12 -0000)]
2005-07-08  Zoltan Varga  <vargaz@freemail.hu>

* mini-ops.h mini-amd64.h mini-amd64.c inssel-amd64.brg Makefile.am: Merge
the xp-regalloc-branch for amd64.

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

18 years ago2005-07-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 8 Jul 2005 16:45:30 +0000 (16:45 -0000)]
2005-07-08  Martin Baulig  <martin@ximian.com>

Fix test-iter-10.cs - distinguish whether we `yield' in a property
gettter (allowed) or setter (not allowed).

* class.cs (Accessor): Implement IIteratorContainer.
(Accessor.Yields): New public field.
(PropertyBase.PropertyMethod.Define): Handle iterators on a
per-accessor basis.

* cs-parser.jay
(get_accessor_declaration, set_accessor_declaration): Set the
`yields' flag on the accessor, not the property.
(property_declaration): Do the iterators check on a per-accessor
basis and not for the whole property.

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

18 years agoNew test.
Martin Baulig [Fri, 8 Jul 2005 16:43:41 +0000 (16:43 -0000)]
New test.

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

18 years ago2005-07-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Jul 2005 16:24:33 +0000 (16:24 -0000)]
2005-07-08  Zoltan Varga  <vargaz@freemail.hu>

* Al.cs: Applied patch from Sridhar Kulkarni (sridharkulkarni@msn.com).
Implement /template option. Fixes #74814.

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

18 years ago2005-07-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 8 Jul 2005 16:13:59 +0000 (16:13 -0000)]
2005-07-08  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : to be same as other buggy part, it now handles
  U+3005, U+3031 and U+3032 as buggy as Windows. It just repeats
  previous character.
  Fixed GetSortKey(): if the repeater is U+3005, second weight is 5.
* create-mscompat-collation-table.cs : dummy values for extenders.

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

18 years agonew test
Marek Safar [Fri, 8 Jul 2005 16:06:27 +0000 (16:06 -0000)]
new test

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

18 years ago2005-07-08 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 8 Jul 2005 15:39:19 +0000 (15:39 -0000)]
2005-07-08  Marek Safar  <marek.safar@seznam.cz>

Fix #52496
* cs-parser.jay: Less strict event error rule to catch more errors.

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

18 years ago2005-07-06 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Fri, 8 Jul 2005 15:37:15 +0000 (15:37 -0000)]
2005-07-06  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/ObjectWriter.cs: code to build objects at
        runtime from a xaml file. Current problems are with events and
        delegates (current behaviour is untested and possibly useless) and
        DependencyProperties (not implemented yet)
        * demo/runtimetest.xaml
          demo/runtimetest.cs,
          demo/Makefile: creation of objects at runtime from a xaml file

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

18 years ago2005-07-08 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 8 Jul 2005 15:32:34 +0000 (15:32 -0000)]
2005-07-08  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

    * Npgsql/NpgsqlCommand.cs: Npgsql now can handle functions which return refcursor and setof refcursor. Now, results are returned as NpgsqlDataReader resultsets. There is no need to explicitly call "fetch all ..."

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

18 years ago2005-07-08 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 8 Jul 2005 15:30:45 +0000 (15:30 -0000)]
2005-07-08  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

Npgsql now can handle functions which return refcursor and setof refcursor. Now, results are returned as NpgsqlDataReader resultsets. There is no need to explicitly call "fetch all ..."

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

18 years ago2005-07-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 8 Jul 2005 14:28:33 +0000 (14:28 -0000)]
2005-07-08  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.h mini-x86.c cpu-pentium.md Makefile.am: Merge the
xp-regalloc-branch for x86.

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

18 years ago2005-07-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 8 Jul 2005 13:46:11 +0000 (13:46 -0000)]
2005-07-08  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : Special weight fixes on GetSortKey(). Dash type
  should be computed from ExtenderType, and voice mark weight should
  be considered.
* MSCompatUnicodeTable.cs : added tiny comment.

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

18 years agoUpdated after the merging.
Martin Baulig [Fri, 8 Jul 2005 13:29:17 +0000 (13:29 -0000)]
Updated after the merging.

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

18 years ago2005-07-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 8 Jul 2005 13:28:21 +0000 (13:28 -0000)]
2005-07-08  Atsushi Enomoto  <atsushi@ximian.com>

* SortKey.cs : It borked when MONO_USE_MANAGED_COLLATION is not yes.
* SimpleCollator.cs : support for extender (U+309D etc.).

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

18 years ago2005-07-08 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Fri, 8 Jul 2005 13:22:05 +0000 (13:22 -0000)]
2005-07-08  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/XamlParser.cs,
          Mono.Windows.Serialization/XamlWriter.cs,
          Mono.Windows.Serialization/CodeWriter.cs: removed TypeConverter
          stuff from everything except CodeWriter. By using TypeDescriptor,
          the generator doesn't need to be told about the converter and since
          the framework will find it we don't have to search for it.

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

18 years ago**** Merged r46942 from MCS ****
Martin Baulig [Fri, 8 Jul 2005 12:59:09 +0000 (12:59 -0000)]
**** Merged r46942 from MCS ****

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

18 years ago**** Merged r46768 from MCS ****
Martin Baulig [Fri, 8 Jul 2005 12:58:36 +0000 (12:58 -0000)]
**** Merged r46768 from MCS ****

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

18 years ago**** Merged r46761 from MCS ****
Martin Baulig [Fri, 8 Jul 2005 12:57:57 +0000 (12:57 -0000)]
**** Merged r46761 from MCS ****

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

18 years ago**** Merged r46760 from MCS ****
Martin Baulig [Fri, 8 Jul 2005 12:57:29 +0000 (12:57 -0000)]
**** Merged r46760 from MCS ****

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

18 years ago2005-07-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 8 Jul 2005 12:56:51 +0000 (12:56 -0000)]
2005-07-08  Martin Baulig  <martin@ximian.com>

* anonymous.cs (CaptureContext.EmitParameterInstance): Correctly
handle parameters in nested scopes; fixes #74808; see gtest-188.cs.

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

18 years ago2005-07-06 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Fri, 8 Jul 2005 12:32:27 +0000 (12:32 -0000)]
2005-07-06  Iain McCoy  <iain@mccoy.id.au>
        * demo/test.xaml: add use of x:Name attribute
        * Mono.Windows.Serialization/XamlParser.cs,
          Mono.Windows.Serialization/XamlWriter.cs,
          Mono.Windows.Serialization/CodeWriter.cs: support for x:Name
          attributes and for considering Name properties to have the same
          affect.

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

18 years ago2005-07-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 8 Jul 2005 12:30:18 +0000 (12:30 -0000)]
2005-07-01  Martin Baulig  <martin@ximian.com>

* iterators.cs (Iterator.CapturedThisReference.Emit): Use
`ec.EmitThis ()' to get the correct scope.

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

18 years ago2005-07-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 8 Jul 2005 12:27:35 +0000 (12:27 -0000)]
2005-07-08  Martin Baulig  <martin@ximian.com>

* anonymous.cs (CaptureContext.EmitParameterInstance): Correctly
handle parameters in nested scopes; fixes #74808; see gtest-188.cs.

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

18 years agoNew test.
Martin Baulig [Fri, 8 Jul 2005 12:27:13 +0000 (12:27 -0000)]
New test.

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

18 years agoOoops, disable gtest-187.cs for the moment.
Martin Baulig [Fri, 8 Jul 2005 12:04:51 +0000 (12:04 -0000)]
Ooops, disable gtest-187.cs for the moment.

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