mono.git
19 years agoTest improvement
Marek Safar [Mon, 29 Nov 2004 10:43:16 +0000 (10:43 -0000)]
Test improvement

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

19 years ago2004-11-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 29 Nov 2004 10:41:58 +0000 (10:41 -0000)]
2004-11-29  Marek Safar  <marek.safar@seznam.cz>

Fix bug #60324
* cfold.cs (Assign.DoResolve): Add subtraction for DecimalConstant.

* constant.cs (DecimalConstant.Emit): Don't use int ctor for
precise values.

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

19 years ago2004-11-29 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Mon, 29 Nov 2004 09:42:33 +0000 (09:42 -0000)]
2004-11-29  Lluis Sanchez Gual  <lluis@ximian.com>

* CodeGenerator.cs: Addded EnumToUnderlying method to get the underlying
type of an enum. This fixes bug #69753.

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

19 years ago* MonthCalendar.cs:
John BouAntoun [Mon, 29 Nov 2004 08:52:04 +0000 (08:52 -0000)]
* MonthCalendar.cs:
  - Fix NextMonthDate and PrevMonthDate click moving calendar

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

19 years ago2004-11-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 29 Nov 2004 07:40:48 +0000 (07:40 -0000)]
2004-11-29  Marek Safar  <marek.safar@seznam.cz>

Fix bug #49488
* assign.cs (Assign.DoResolve): Add error 1648, 1650 report.

* decl.cs (MemberCore.MemberName). Error 1648 in compiler.

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

19 years agonew tests
Marek Safar [Mon, 29 Nov 2004 07:38:17 +0000 (07:38 -0000)]
new tests

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

19 years ago2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Nov 2004 06:09:13 +0000 (06:09 -0000)]
2004-11-29  Atsushi Enomoto <atsushi@ximian.com>

* xml-classes : updates mainly 2.0 stuff (XQuery dropping, etc.)

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

19 years ago2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 29 Nov 2004 05:46:49 +0000 (05:46 -0000)]
2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.dll.sources: added ReusableMemoryStream.

* System.Web/ReusableMemoryStream.cs: copied from System.IO.MemoryStream
and slightly modified to allow expanding the buffer for cases on which
the regular MemoryStream don't allow it.

* System.Web/HttpWriter.cs: use the new ReusableMemoryStream and fix
bug #19841. Otherwise we would have to allocate a new MemoryStream...

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

19 years agoLove
Miguel de Icaza [Mon, 29 Nov 2004 05:09:58 +0000 (05:09 -0000)]
Love

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

19 years agoUpdate, will continue the magic tomorrow
Miguel de Icaza [Mon, 29 Nov 2004 05:09:50 +0000 (05:09 -0000)]
Update, will continue the magic tomorrow

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

19 years agoSource code styling to get the doc tools to work
Miguel de Icaza [Mon, 29 Nov 2004 03:40:13 +0000 (03:40 -0000)]
Source code styling to get the doc tools to work

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

19 years ago (ves_icall_System_Environment_get_TickCount): No need for #if
Ben Maurer [Mon, 29 Nov 2004 03:37:02 +0000 (03:37 -0000)]
(ves_icall_System_Environment_get_TickCount): No need for #if
WINDOWS. We already have the code in io-layer.

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

19 years ago2004-11-29 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 29 Nov 2004 03:35:40 +0000 (03:35 -0000)]
2004-11-29  Ben Maurer  <bmaurer@ximian.com>

* icall.c (ves_icall_System_Reflection_Assembly_GetNamespaces):
EXPORTEDTYPES are already in the class name cache, so there is no
need to add extra code here to look at them. Just removes a bit of
cruft.

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

19 years agoThanks Peter, missing file
Miguel de Icaza [Mon, 29 Nov 2004 03:05:52 +0000 (03:05 -0000)]
Thanks Peter, missing file

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

19 years agoRevert mistaken commit
Miguel de Icaza [Mon, 29 Nov 2004 02:43:31 +0000 (02:43 -0000)]
Revert mistaken commit

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

19 years agoAdd documentatin framework, templates, etc
Miguel de Icaza [Mon, 29 Nov 2004 02:41:47 +0000 (02:41 -0000)]
Add documentatin framework, templates, etc

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

19 years agoCleanup for API purposes
Miguel de Icaza [Mon, 29 Nov 2004 01:44:51 +0000 (01:44 -0000)]
Cleanup for API purposes

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

19 years ago2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 28 Nov 2004 23:44:41 +0000 (23:44 -0000)]
2004-11-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpApplication.cs: Create() is not GetInstance().
* System.Web.Configuration/HandlerItem.cs: for reusable items, return
the same instance always. Fixes bug #69959.

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

19 years agoRemove old cruft
Miguel de Icaza [Sun, 28 Nov 2004 20:56:03 +0000 (20:56 -0000)]
Remove old cruft

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

19 years agoMore documentation on object.c
Miguel de Icaza [Sun, 28 Nov 2004 20:32:24 +0000 (20:32 -0000)]
More documentation on object.c

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

19 years agoAdded the start of documentation scripts to document the VM
Miguel de Icaza [Sun, 28 Nov 2004 20:31:01 +0000 (20:31 -0000)]
Added the start of documentation scripts to document the VM

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

19 years agoUpdated inline documentation
Miguel de Icaza [Sun, 28 Nov 2004 19:40:43 +0000 (19:40 -0000)]
Updated inline documentation

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

19 years ago2004-11-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 28 Nov 2004 16:33:59 +0000 (16:33 -0000)]
2004-11-28  Zoltan Varga  <vargaz@freemail.hu>

* Exception.cs: Implement _Exception under NET_2_0.

* Byte.cs SByte.cs UInt16.cs Int16.cs: Make these compile under csc 2.0.

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

19 years ago2004-11-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 28 Nov 2004 16:33:28 +0000 (16:33 -0000)]
2004-11-28  Atsushi Enomoto <atsushi@ximian.com>

* RelaxngGrammar.cs : fixed error that happened on recompilation.

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

19 years ago2004-11-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 28 Nov 2004 15:02:57 +0000 (15:02 -0000)]
2004-11-28  Zoltan Varga  <vargaz@freemail.hu>

* corlib.dll.sources: Added some missing 2.0 exception classes.

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

19 years ago2004-11-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 28 Nov 2004 15:02:30 +0000 (15:02 -0000)]
2004-11-28  Zoltan Varga  <vargaz@freemail.hu>

* AccessViolationException.cs DataMisalignedException.cs OperationCanceledException.cs
NotCancelableException.cs TimeoutException.cs: New files.

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

19 years agoFixed more FIXME's.
Martin Baulig [Sun, 28 Nov 2004 14:47:14 +0000 (14:47 -0000)]
Fixed more FIXME's.

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

19 years ago2004-11-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 28 Nov 2004 14:40:12 +0000 (14:40 -0000)]
2004-11-28  Martin Baulig  <martin@ximian.com>

* loader.c
(method_from_methodspec): Also inflate the `gmethod->mtype_argv'.
Fixes gen-112.cs.

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

19 years ago2004-11-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 28 Nov 2004 14:39:31 +0000 (14:39 -0000)]
2004-11-28  Martin Baulig  <martin@ximian.com>

* mini.c (mono_method_to_ir): In CEE_DUP, added handle_stobj().
Fixes gen-112.cs.

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

19 years agoNew test.
Martin Baulig [Sun, 28 Nov 2004 14:39:14 +0000 (14:39 -0000)]
New test.

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

19 years ago2004-11-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 28 Nov 2004 05:43:04 +0000 (05:43 -0000)]
2004-11-28  Atsushi Enomoto  <atsushi@ximian.com>

* XslVariable.cs : Local param might be overriden by XsltArgumentList.

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

19 years agoTurn off ICU by default as planned
Miguel de Icaza [Sun, 28 Nov 2004 04:37:27 +0000 (04:37 -0000)]
Turn off ICU by default as planned

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

19 years ago2004-11-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 28 Nov 2004 04:14:24 +0000 (04:14 -0000)]
2004-11-28  Miguel de Icaza  <miguel@ximian.com>

* Actually delete the files at the end, now that the debugging
phase is over.

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

19 years agoAn updated man page brings love to earth
Miguel de Icaza [Sun, 28 Nov 2004 03:43:59 +0000 (03:43 -0000)]
An updated man page brings love to earth

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

19 years agoAnother masterful innovation from MonoLabs\!
Miguel de Icaza [Sun, 28 Nov 2004 03:43:36 +0000 (03:43 -0000)]
Another masterful innovation from MonoLabs\!

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

19 years agoAdd scripts
Miguel de Icaza [Sun, 28 Nov 2004 01:19:53 +0000 (01:19 -0000)]
Add scripts

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

19 years ago2004-11-27 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 27 Nov 2004 23:21:32 +0000 (23:21 -0000)]
2004-11-27  Ben Maurer  <bmaurer@ximian.com>

* inssel.brg (CEE_SWITCH): The AOT stuff Zoltan added is only for
platforms with PIC aot.

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

19 years agoRemoved more FIXME's.
Martin Baulig [Sat, 27 Nov 2004 23:06:21 +0000 (23:06 -0000)]
Removed more FIXME's.

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

19 years ago2004-11-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 27 Nov 2004 23:06:07 +0000 (23:06 -0000)]
2004-11-28  Martin Baulig  <martin@ximian.com>

* mini-x86.c (mono_arch_call_opcode): Use the original type, not
the result of mono_type_get_underlying_type() to check whether
we're byref.

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

19 years agoGive this Makefile, the sorting tender love of a clean list of targets
Miguel de Icaza [Sat, 27 Nov 2004 21:23:12 +0000 (21:23 -0000)]
Give this Makefile, the sorting tender love of a clean list of targets

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

19 years agoMore efficient script generation, borrowed from xsp/script directory
Miguel de Icaza [Sat, 27 Nov 2004 21:19:47 +0000 (21:19 -0000)]
More efficient script generation, borrowed from xsp/script directory

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

19 years agoRemove conditional bundle supprot here
Miguel de Icaza [Sat, 27 Nov 2004 21:17:00 +0000 (21:17 -0000)]
Remove conditional bundle supprot here

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

19 years agoFixed one more FIXME.
Martin Baulig [Sat, 27 Nov 2004 21:15:31 +0000 (21:15 -0000)]
Fixed one more FIXME.

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

19 years agoKilled two more FIXME's.
Martin Baulig [Sat, 27 Nov 2004 21:09:54 +0000 (21:09 -0000)]
Killed two more FIXME's.

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

19 years ago2004-11-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 27 Nov 2004 21:04:30 +0000 (21:04 -0000)]
2004-11-27  Miguel de Icaza  <miguel@ximian.com>

* assembly.c (do_mono_assembly_open): Instead of having a
conditional WITH_BUNDLE, incorporate support for bundles here, by
having a global `bundles' variable holding a pointer to the actual
bundles.

(mono_register_bundled_assemblies): New API call used by the
bundle code.

See mkbundle.1 for details.

2004-11-27  Miguel de Icaza  <miguel@ximian.com>

* configure.in: Removed support for configured-based bundles.

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

19 years agoNew test.
Martin Baulig [Sat, 27 Nov 2004 20:49:05 +0000 (20:49 -0000)]
New test.

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

19 years ago2004-11-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 27 Nov 2004 20:47:47 +0000 (20:47 -0000)]
2004-11-27  Martin Baulig  <martin@ximian.com>

* ecore.cs (Expression.StoreFromPtr): Use `stobj' for generic parameters.

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

19 years agoChange defaults
Miguel de Icaza [Sat, 27 Nov 2004 20:41:33 +0000 (20:41 -0000)]
Change defaults

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

19 years agoAdd man page
Miguel de Icaza [Sat, 27 Nov 2004 20:41:06 +0000 (20:41 -0000)]
Add man page

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

19 years agoAdd new mkbundle tool
Miguel de Icaza [Sat, 27 Nov 2004 20:21:55 +0000 (20:21 -0000)]
Add new mkbundle tool

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

19 years ago2004-11-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 27 Nov 2004 19:11:03 +0000 (19:11 -0000)]
2004-11-27  Miguel de Icaza  <miguel@ximian.com>

* Makefile.am (MPH_SOURCE): Add macros.c for compatibility with
the old API (currently the old API would fail).

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

19 years agoRemoved two FIXME's.
Martin Baulig [Sat, 27 Nov 2004 18:33:07 +0000 (18:33 -0000)]
Removed two FIXME's.

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

19 years agoNew test.
Martin Baulig [Sat, 27 Nov 2004 17:48:12 +0000 (17:48 -0000)]
New test.

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

19 years ago2004-11-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 27 Nov 2004 17:44:30 +0000 (17:44 -0000)]
2004-11-27  Martin Baulig  <martin@ximian.com>

* mini.c (mini_compile_generic_method): New public method.

* mini-x86.c (mono_arch_emit_generic_call): New public method.

* inssel.brg (mini_emit_virtual_call): When calling a generic
method, use mono_arch_emit_generic_call() to emit a call to
mini_compile_generic_call() which inflates and compiles the method.

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

19 years ago2004-11-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 27 Nov 2004 17:41:39 +0000 (17:41 -0000)]
2004-11-27  Martin Baulig  <martin@ximian.com>

* object.c (mono_class_vtable): Store the `MonoMethod *' itself in
the vtable for generic methods.

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

19 years ago* MonthCalendar.cs:
John BouAntoun [Sat, 27 Nov 2004 01:49:45 +0000 (01:49 -0000)]
* MonthCalendar.cs:
  - Fix usage of ScrollChange Property when scrolling months

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

19 years agoRemoved my table, and reuse the table that Jackson had put in place.
Miguel de Icaza [Fri, 26 Nov 2004 21:49:27 +0000 (21:49 -0000)]
Removed my table, and reuse the table that Jackson had put in place.

Augmented the list of keywords that must be escaped

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

19 years ago2004-11-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 26 Nov 2004 21:37:50 +0000 (21:37 -0000)]
2004-11-26  Miguel de Icaza  <miguel@ximian.com>

* main.c: Better implementation of the quote keyword, list all of
the known keywords to ildasm here.

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

19 years ago2004-11-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 26 Nov 2004 21:20:03 +0000 (21:20 -0000)]
2004-11-26  Miguel de Icaza  <miguel@ximian.com>

* get.c (dis_stringify_object_with_class): Take an argument
`prefix' that controls whether the `class', `valuetype' labels are
used.  This is needed for the catch clause that takes the type
directly.
(get_method_core): Rename get_method to get_method_core, and allow
for only part of the signature to be specified, so we can produce
.override signatures correctly.
(get_method_override): Pass false as the `fullsig' argument.

(get_typedef): no longer quote the type, we quote in the call site
elsewhere.   Avoids double quotes.

* main.c (quote_keyword): Quote keywords.

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

19 years ago2004-11-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 26 Nov 2004 20:47:11 +0000 (20:47 -0000)]
2004-11-26  Martin Baulig  <martin@ximian.com>

* Makefile: Disable test-40.cs for gmcs.

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

19 years agoAn n-prong attack on bugs: Update even more error messages
Miguel de Icaza [Fri, 26 Nov 2004 20:45:31 +0000 (20:45 -0000)]
An n-prong attack on bugs: Update even more error messages

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

19 years ago2004-11-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 26 Nov 2004 19:43:12 +0000 (19:43 -0000)]
2004-11-26  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs (Attribute.Resolve): Refine error reporting and
report a cs0117 if the identifier does not exist, to distinguish
from 0617 which is a miss-use of the actual identifier.

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

19 years agoRemove error test that was corrupted
Miguel de Icaza [Fri, 26 Nov 2004 19:36:33 +0000 (19:36 -0000)]
Remove error test that was corrupted

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

19 years ago2004-11-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 26 Nov 2004 19:32:52 +0000 (19:32 -0000)]
2004-11-26  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (EventExpr.Emit): Refine error report and distinguish
between cs0070 and cs0079.

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

19 years ago2004-11-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 26 Nov 2004 19:31:54 +0000 (19:31 -0000)]
2004-11-26  Martin Baulig  <martin@ximian.com>

* metadata.c
(mono_metadata_generic_method_hash): New public function.
(mono_metadata_generic_method_equal): Likewise.

* class-internals.h
(MonoGenericContainer): Added `GHashTable *method_hash'.

* reflection.c (ReflectionMethodBuilder): Added
`MonoGenericContainer *generic_container'.
(reflection_methodbuilder_to_mono_method): Don't create a new
MonoGenericContainer each time we're called.
(mono_reflection_bind_generic_method_parameters): Use
`container->method_hash' to cache the results so we don't create a
different method if we're called several times with the same
arguments.

* loader.c (method_from_methodspec): Use the new
`container->method_hash' here, too.

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

19 years agoUpdated errors to reflect the rapid bug fixing and incredible talents of the MCS...
Miguel de Icaza [Fri, 26 Nov 2004 19:25:24 +0000 (19:25 -0000)]
Updated errors to reflect the rapid bug fixing and incredible talents of the MCS team

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

19 years ago2004-11-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 26 Nov 2004 19:20:20 +0000 (19:20 -0000)]
2004-11-26  Miguel de Icaza  <miguel@ximian.com>

* class.cs (MemberBase.DoDefine): When reporting a wrong
accessibility level, we use MethodCore to compare instead of
Method (this was a regression in some refactoring effort).

So now we correctly report cs0056 again.

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

19 years agoRemove empty test case
Miguel de Icaza [Fri, 26 Nov 2004 19:15:38 +0000 (19:15 -0000)]
Remove empty test case

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

19 years agoThis error was not a cs0029, it was a cs0664.cs, and the test is effectively duplicat...
Miguel de Icaza [Fri, 26 Nov 2004 19:13:58 +0000 (19:13 -0000)]
This error was not a cs0029, it was a cs0664.cs, and the test is effectively duplicated in cs00664-2.cs

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

19 years agoUpdate test
Miguel de Icaza [Fri, 26 Nov 2004 19:10:06 +0000 (19:10 -0000)]
Update test

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

19 years ago2004-11-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 26 Nov 2004 18:04:49 +0000 (18:04 -0000)]
2004-11-26  Martin Baulig  <martin@ximian.com>

* mini.c
(mono_method_to_ir): Use `!method->signature->has_type_parameters'
in the g_assert().

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

19 years ago2004-11-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 26 Nov 2004 18:02:53 +0000 (18:02 -0000)]
2004-11-26  Martin Baulig  <martin@ximian.com>

* class.c (inflate_generic_signature): Correctly compute
`res->has_type_parameters'.
(mono_class_vtable): Use the `has_type_parameters' flag to
determine whether we're a generic method.

* metadata.c (mono_metadata_parse_method_signature_full): Likewise.

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

19 years ago2004-11-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 26 Nov 2004 17:58:46 +0000 (17:58 -0000)]
2004-11-26  Miguel de Icaza  <miguel@ximian.com>

* convert.cs (ImplicitReferenceConversion): Corrected typo, I was
testing the target_type (which was known to be object_type) and
not the source type (which is anonymous_method).

Fixed reporting of error cs1660.

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

19 years agoAdd compiler options so the test passes
Miguel de Icaza [Fri, 26 Nov 2004 17:37:08 +0000 (17:37 -0000)]
Add compiler options so the test passes

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

19 years ago2004-11-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 26 Nov 2004 17:31:16 +0000 (17:31 -0000)]
2004-11-26  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (UserCast.Source): Expose the underlying cast.

* statement.cs (Switch.SwitchGoverningType): Sort the list of
allowed types to find a match to int32 first (most common).

In addition, it ignores any ImplicitUserConversions that did an
internal implicit conversion (as the switch statement allows only
one integral conversion to exist).

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

19 years ago2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 26 Nov 2004 16:45:23 +0000 (16:45 -0000)]
2004-11-26  Lluis Sanchez Gual <lluis@novell.com>

* HtmlForm.cs: Add submit statements from the new Page.ClientScript
property.

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

19 years ago * System.Web.dll.sources: Added new file:
Lluis Sanchez [Fri, 26 Nov 2004 16:45:00 +0000 (16:45 -0000)]
* System.Web.dll.sources: Added new file:
System.Web.UI/ClientScriptManager
* Makefile: Added more resources.

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

19 years agoForgot the changelog
Lluis Sanchez [Fri, 26 Nov 2004 16:43:25 +0000 (16:43 -0000)]
Forgot the changelog

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

19 years ago2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 26 Nov 2004 16:42:35 +0000 (16:42 -0000)]
2004-11-26 Lluis Sanchez Gual <lluis@novell.com>

* TreeNodeBindingCollection.cs: Implemented.
* TreeNodeBinding.cs: Implemented.
* TreeNode.cs: Added support for data binding.
* TreeView_Default_Collapse.gif, TreeView_Default_Expand.gif
  TreeView_Default_NoExpand.gif: Moved to resources directory.
* ListControl.cs: Fixed api.
* XmlHierarchicalEnumerable.cs: Made internal.
* DataBoundControl.cs: Modified api to match latest ms.net.
* TreeView.js: New javascript file to support TreeView in the client.
* XmlDataSource.cs: Added missing attributes.
* HierarchicalDataBoundControl.cs: Mostly implemented.
* BaseDataBoundControl.cs: Mostly implemented.
* XmlHierarchyData.cs: Made internal.
* TreeView.cs: Mostly implemented. The major missing feature is
  client side tree population.

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

19 years ago2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 26 Nov 2004 16:40:03 +0000 (16:40 -0000)]
2004-11-26 Lluis Sanchez Gual <lluis@novell.com>

* Page.cs: Moved code for managing client scripts to ClientScriptManager,
which is public in 2.0 and internal in 1.1.
* ClientScriptManager.cs: Implemented.

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

19 years ago2004-11-26 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 26 Nov 2004 16:39:02 +0000 (16:39 -0000)]
2004-11-26  Lluis Sanchez Gual <lluis@novell.com>

* AssemblyInfo.cs: Added more resource attributes.

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

19 years ago * arrow_minus.gif, arrow_noexpand.gif, arrow_plus.gif, box_full.gif,
Lluis Sanchez [Fri, 26 Nov 2004 16:38:15 +0000 (16:38 -0000)]
* arrow_minus.gif, arrow_noexpand.gif, arrow_plus.gif, box_full.gif,
box_empty.gif, box_minus.gif, box_noexpand.gif, box_plus.gif,
contact.gif, dot_empty.gif, dot_full.gif, dots.gif,
inbox.gif, star_empty.gif, star_full.gif, warning.gif,
TreeView_noexpand.gif, TreeView_dash.gif, TreeView_dashminus.gif,
TreeView_dashplus.gif, TreeView_i.gif, TreeView_l.gif,
TreeView_lminus.gif, TreeView_lplus.gif, TreeView_minus.gif,
TreeView_plus.gif, TreeView_r.gif, TreeView_rminus.gif,
TreeView_rplus.gif, TreeView_t.gif, TreeView_tminus.gif,
TreeView_tplus.gif, System.Web.UI.WebControls/TreeView.js

New files.

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

19 years agoNow rename it to be the proper error
Miguel de Icaza [Fri, 26 Nov 2004 16:20:33 +0000 (16:20 -0000)]
Now rename it to be the proper error

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

19 years agoNow rename it to be the proper error
Miguel de Icaza [Fri, 26 Nov 2004 16:20:29 +0000 (16:20 -0000)]
Now rename it to be the proper error

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

19 years agoUpdate error to be an actual error, currently it was a failure in the compiler
Miguel de Icaza [Fri, 26 Nov 2004 16:20:04 +0000 (16:20 -0000)]
Update error to be an actual error, currently it was a failure in the compiler

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

19 years ago2004-11-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 26 Nov 2004 15:59:34 +0000 (15:59 -0000)]
2004-11-26  Miguel de Icaza  <miguel@ximian.com>

* class.cs (PartialContainer.Create): rename `name' to
`member_name' for clarity.  Then replace the string calls with a
call to MemberName.GetPartialName, as now using
MemberName.ToString is an error (this is due to the side effects
it had, that were fixed in the past).

This will restore the error reporting on a number of partial class
errors that were missusing this (and getting an exception as a
results, which is now just a plain textual warning, because
yyparse debug output would crash otherwise).

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

19 years agoRename the error
Miguel de Icaza [Fri, 26 Nov 2004 15:59:08 +0000 (15:59 -0000)]
Rename the error

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

19 years agoAm afraid something is inserting Control-ems here
Miguel de Icaza [Fri, 26 Nov 2004 15:34:26 +0000 (15:34 -0000)]
Am afraid something is inserting Control-ems here

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

19 years ago2004-11-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 26 Nov 2004 15:32:08 +0000 (15:32 -0000)]
2004-11-26  Sebastien Pouliot  <sebastien@ximian.com>

* FileIOPermission.cs:
* IsolatedStorageFilePermission.cs:
* PrincipalPermission.cs:
Added ComVisible attributes to match 2.0 October Preview.

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

19 years ago * Evidence.cs:
Sebastien Pouliot [Fri, 26 Nov 2004 15:19:53 +0000 (15:19 -0000)]
* Evidence.cs:
* FileCodeGroup.cs:
* NetCodeGroup.cs:
* PolicyLevel.cs:
* PolicyStatement.cs:
Added ComVisible attributes to match 2.0 October Preview.

2004-11-26  Sebastien Pouliot  <sebastien@ximian.com>

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

19 years ago2004-11-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 26 Nov 2004 15:05:02 +0000 (15:05 -0000)]
2004-11-26  Sebastien Pouliot  <sebastien@ximian.com>

* Evidence.cs: Faster default evidence creation by using an internal
call to check for a possible Authenticode signature of the assembly.
Previously we had to make several I/O to verify this (quite rare)
presence (but the runtime already had a good hint about this).

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

19 years ago2004-11-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 26 Nov 2004 14:46:30 +0000 (14:46 -0000)]
2004-11-26  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoAPITransform.cs:
* DSACryptoServiceProvider.cs:
* MACTripleDES.cs:
* RC2CryptoServiceProvider.cs:
* RSACryptoServiceProvider.cs:
Added ComVisible attributes to match 2.0 October Preview.

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

19 years ago2004-11-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 26 Nov 2004 14:13:54 +0000 (14:13 -0000)]
2004-11-26  Martin Baulig  <martin@ximian.com>

* Makefile: Removed `NO_TEST = yes'.

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

19 years ago2004-11-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 26 Nov 2004 14:13:31 +0000 (14:13 -0000)]
2004-11-26  Martin Baulig  <martin@ximian.com>

* */*.cs: Added some more `#if FIXME's to comment out tests which
are currently crashing or hanging.

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

19 years ago2004-11-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 26 Nov 2004 14:11:41 +0000 (14:11 -0000)]
2004-11-26  Martin Baulig  <martin@ximian.com>

* library.make (run-test-lib, run-test-ondotnet-lib): Added
`/output:TestResult-$(PROFILE).log' argument to NUnit.

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

19 years ago2004-11-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 26 Nov 2004 14:10:10 +0000 (14:10 -0000)]
2004-11-26  Martin Baulig  <martin@ximian.com>

* ConsoleUI.cs (ConsoleUI.Execute): Print a short summary (number
of tests run, ignored, failed) to the console, honor the /output
argument for the detailed summary.

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

19 years ago2004-11-26 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 26 Nov 2004 12:53:08 +0000 (12:53 -0000)]
2004-11-26  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_emit_this_vret_args): Handle this and vret
the same way as the other arguments so they won't get clobbered.

* mini-amd64.c (mono_arch_output_basic_block): Avoid doing virtual
calls through R11 since it is clobbered by the trampoline code.

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

19 years ago* runtime/Makefile.am ($(symlinks)): Depend on config.status too.
Raja R Harinath [Fri, 26 Nov 2004 11:37:02 +0000 (11:37 -0000)]
* runtime/Makefile.am ($(symlinks)): Depend on config.status too.

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

19 years agoIn .:
Raja R Harinath [Fri, 26 Nov 2004 11:35:50 +0000 (11:35 -0000)]
In .:
* configure.in (runtime/etc/mono/1.0/machine.config): Use custom
command to create.
(runtime/etc/mono/2.0/machine.config): Likewise.
* Makefile.am (get-monolite-latest): Update to new style of
handling the "basic" profile.

In mono/mini:
* Makefile.am: Consistently use $(RUNTIME) rather than ./mono to
pick up in-tree mscorlib.dll.

In mono/tests:
* Makefile.am: Ensure that in-tree mscorlib.dll is used for testing.

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

19 years agoIn tools/corcompare:
Raja R Harinath [Fri, 26 Nov 2004 11:31:42 +0000 (11:31 -0000)]
In tools/corcompare:
* Makefile (PROGRAM_INSTALL_DIR): Change to
$(prefix)/lib/mono/$(FRAMEWORK_VERSION).

In tools/security:
* Makefile (PROGRAM_INSTALL_DIR): Define using $(FRAMEWORK_VERSION).

In mcs:
* Makefile (PROGRAM_INSTALL_DIR): Remove.

In gmcs:
* Makefile: Convert to use executable.make.
* gmcs.exe.sources: New.

In build:
* library.make ($(the_lib)): Don't complain if a .mdb file wasn't
created (even though it's just a warning).
(install-local) [LIBRARY_INSTALL_DIR]: Likewise.
(PACKAGE): Remove.
(install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
* executable.make ($(PROGRAM)): Likewise.
(install-local): Likewise.
(PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).

In errors:
* Makefile (DISTFILES): Add do-tests.pl.

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