Atsushi Eno [Tue, 30 Nov 2004 06:19:52 +0000 (06:19 -0000)]
2004-11-30 Atsushi Enomoto <atsushi@ximian.com>
* DTDReader.cs : Consideration on parameter entity was missing for
attribute default value. Fixed bug #70008.
svn path=/trunk/mcs/; revision=36816
Marek Safar [Tue, 30 Nov 2004 06:11:06 +0000 (06:11 -0000)]
2004-11-30 Marek Safar <marek.safar@seznam.cz>
* Makefile: Add acc-modifiers tests.
Hardcode TEST_SOURCES_default to work also with my
custom profiles.
svn path=/trunk/mcs/; revision=36815
Gonzalo Paniagua Javier [Tue, 30 Nov 2004 03:04:33 +0000 (03:04 -0000)]
2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlForm.cs: fixed the Action property when running a different
page than the one requested (Transfer). Closes bug #69318.
svn path=/trunk/mcs/; revision=36812
Gonzalo Paniagua Javier [Tue, 30 Nov 2004 01:24:51 +0000 (01:24 -0000)]
sigh
svn path=/trunk/mcs/; revision=36800
Gonzalo Paniagua Javier [Tue, 30 Nov 2004 01:01:22 +0000 (01:01 -0000)]
2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Test/System.Text.RegularExpressions/RegexBugs.cs: test case for bug
#57274.
* System.Text.RegularExpressions/regex.cs: use NextMatch to move on to
the next match. Fixes bug #57274.
svn path=/trunk/mcs/; revision=36798
Miguel de Icaza [Tue, 30 Nov 2004 00:45:56 +0000 (00:45 -0000)]
Use Sebastiens example from his blog
svn path=/trunk/mono/; revision=36796
Ben Maurer [Mon, 29 Nov 2004 21:42:55 +0000 (21:42 -0000)]
2004-11-29 Ben Maurer <bmaurer@ximian.com>
* Comparer.cs: Update this class.
svn path=/trunk/mcs/; revision=36795
Miguel de Icaza [Mon, 29 Nov 2004 21:16:44 +0000 (21:16 -0000)]
Document MONO_AOT_CACHE
svn path=/trunk/mono/; revision=36794
Gonzalo Paniagua Javier [Mon, 29 Nov 2004 20:50:29 +0000 (20:50 -0000)]
2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpApplicationFactory.cs: monitor changes in global.asax and bin
directory and shutdown the application when that happens. Fixes bug
#49651.
svn path=/trunk/mcs/; revision=36793
Miguel de Icaza [Mon, 29 Nov 2004 20:24:27 +0000 (20:24 -0000)]
More loving
svn path=/trunk/mono/; revision=36792
Miguel de Icaza [Mon, 29 Nov 2004 20:19:13 +0000 (20:19 -0000)]
Further Love
svn path=/trunk/mono/; revision=36791
Miguel de Icaza [Mon, 29 Nov 2004 20:09:14 +0000 (20:09 -0000)]
Improve output
svn path=/trunk/mono/; revision=36790
Miguel de Icaza [Mon, 29 Nov 2004 20:09:04 +0000 (20:09 -0000)]
More changes to improve the documentation output
svn path=/trunk/mono/; revision=36789
Gonzalo Paniagua Javier [Mon, 29 Nov 2004 19:03:29 +0000 (19:03 -0000)]
2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DefaultWatcher.cs: make it work when the FileMask does not have
wildcards and we're watching a directory.
svn path=/trunk/mcs/; revision=36786
Marek Safar [Mon, 29 Nov 2004 17:16:26 +0000 (17:16 -0000)]
2004-11-29 Marek Safar <marek.safar@seznam.cz>
* System.Windows.Forms.dll.sources: Added
TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
TreeViewAction.cs, TreeViewEventArgs.cs
* System.Windows.Forms_test.dll.sources: Added
TreeNodeTest.cs
svn path=/trunk/mcs/; revision=36785
Miguel de Icaza [Mon, 29 Nov 2004 17:04:04 +0000 (17:04 -0000)]
Proper bug fix number
svn path=/trunk/mcs/; revision=36784
Atsushi Eno [Mon, 29 Nov 2004 16:23:52 +0000 (16:23 -0000)]
2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
* GC.cs : Collect(generation) actually does not throw an exception
even if generation > MaxGeneration (MS document bug).
svn path=/trunk/mcs/; revision=36782
Zoltan Varga [Mon, 29 Nov 2004 14:04:39 +0000 (14:04 -0000)]
2004-11-29 Zoltan Varga <vargaz@freemail.hu>
* cpu-sparc.md mini-sparc.c (long_conv_to_ovf_i): Fill missing delay slot.
Fixes #69929.
svn path=/trunk/mono/; revision=36779
Marek Safar [Mon, 29 Nov 2004 13:00:12 +0000 (13:00 -0000)]
removed unused variable
svn path=/trunk/mcs/; revision=36776
Marek Safar [Mon, 29 Nov 2004 12:52:00 +0000 (12:52 -0000)]
removed unused variable
svn path=/trunk/mcs/; revision=36775
Marek Safar [Mon, 29 Nov 2004 12:34:59 +0000 (12:34 -0000)]
Improved test
svn path=/trunk/mcs/; revision=36774
Sebastien Pouliot [Mon, 29 Nov 2004 12:27:57 +0000 (12:27 -0000)]
2004-11-29 Sebastien Pouliot <sebastien@ximian.com>
* class-internals.h: Added a flag field to MonoClass to cache the
declarative security attributes actions associated with the class.
* domain-internals.h: Added booleans to MonoJitInfo to cache the
(class or method level) stack modifiers (Assert, Deny and PermitOnly)
applicable to the JITted method.
* reflection.c|h: Added functions to extract (as flags) which security
actions are available (declaratively) for a method, class or assembly.
* metadata.c|h: Added functions to search the declarative security
table in the metadata.
svn path=/trunk/mono/; revision=36773
Sanja Gupta [Mon, 29 Nov 2004 12:19:30 +0000 (12:19 -0000)]
ChangeLog: Updated.
System.Web.dll.sources: Added DataControlField.cs and DataControlFieldCell.cs.
svn path=/trunk/mcs/; revision=36772
Sanja Gupta [Mon, 29 Nov 2004 12:16:44 +0000 (12:16 -0000)]
ChangeLog: Updated.
DataControlField.cs:
DataControlFieldCell.cs: Initial implementation.
svn path=/trunk/mcs/; revision=36771
Marek Safar [Mon, 29 Nov 2004 11:33:39 +0000 (11:33 -0000)]
2004-11-29 Marek Safar <marek.safar@seznam.cz>
* class (GetClassBases): Better error 60 report.
(EventProperty): Disabled warning 67 detection.
svn path=/trunk/mcs/; revision=36769
Raja R Harinath [Mon, 29 Nov 2004 10:58:03 +0000 (10:58 -0000)]
2004-11-29 Raja R Harinath <rharinath@novell.com>
* decl.cs (MemberCore.MemberName): Remove readonly to fix an error
cs1648 report.
* rootcontext.cs (ResolveCore::interfaces_first_stage): Add
System.Runtime.InteropServices._Exception, since it's a base
interface of the core type System.Exception in the net_2_0 profile.
svn path=/trunk/mcs/; revision=36768
Marek Safar [Mon, 29 Nov 2004 10:43:16 +0000 (10:43 -0000)]
Test improvement
svn path=/trunk/mcs/; revision=36767
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
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
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
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
Marek Safar [Mon, 29 Nov 2004 07:38:17 +0000 (07:38 -0000)]
new tests
svn path=/trunk/mcs/; revision=36761
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
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
Miguel de Icaza [Mon, 29 Nov 2004 05:09:58 +0000 (05:09 -0000)]
Love
svn path=/trunk/mono/; revision=36755
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
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
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
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
Miguel de Icaza [Mon, 29 Nov 2004 03:05:52 +0000 (03:05 -0000)]
Thanks Peter, missing file
svn path=/trunk/mcs/; revision=36748
Miguel de Icaza [Mon, 29 Nov 2004 02:43:31 +0000 (02:43 -0000)]
Revert mistaken commit
svn path=/trunk/mono/; revision=36746
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
Miguel de Icaza [Mon, 29 Nov 2004 01:44:51 +0000 (01:44 -0000)]
Cleanup for API purposes
svn path=/trunk/mono/; revision=36739
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
Miguel de Icaza [Sun, 28 Nov 2004 20:56:03 +0000 (20:56 -0000)]
Remove old cruft
svn path=/trunk/mono/; revision=36729
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
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
Miguel de Icaza [Sun, 28 Nov 2004 19:40:43 +0000 (19:40 -0000)]
Updated inline documentation
svn path=/trunk/mono/; revision=36723
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
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
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
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
Martin Baulig [Sun, 28 Nov 2004 14:47:14 +0000 (14:47 -0000)]
Fixed more FIXME's.
svn path=/trunk/mcs/; revision=36717
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
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
Martin Baulig [Sun, 28 Nov 2004 14:39:14 +0000 (14:39 -0000)]
New test.
svn path=/trunk/mcs/; revision=36714
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
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
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
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
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
Miguel de Icaza [Sun, 28 Nov 2004 01:19:53 +0000 (01:19 -0000)]
Add scripts
svn path=/trunk/mono/; revision=36705
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
Martin Baulig [Sat, 27 Nov 2004 23:06:21 +0000 (23:06 -0000)]
Removed more FIXME's.
svn path=/trunk/mcs/; revision=36703
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
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
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
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
Martin Baulig [Sat, 27 Nov 2004 21:15:31 +0000 (21:15 -0000)]
Fixed one more FIXME.
svn path=/trunk/mcs/; revision=36698
Martin Baulig [Sat, 27 Nov 2004 21:09:54 +0000 (21:09 -0000)]
Killed two more FIXME's.
svn path=/trunk/mcs/; revision=36697
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
Martin Baulig [Sat, 27 Nov 2004 20:49:05 +0000 (20:49 -0000)]
New test.
svn path=/trunk/mcs/; revision=36695
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
Miguel de Icaza [Sat, 27 Nov 2004 20:41:33 +0000 (20:41 -0000)]
Change defaults
svn path=/trunk/mcs/; revision=36693
Miguel de Icaza [Sat, 27 Nov 2004 20:41:06 +0000 (20:41 -0000)]
Add man page
svn path=/trunk/mono/; revision=36692
Miguel de Icaza [Sat, 27 Nov 2004 20:21:55 +0000 (20:21 -0000)]
Add new mkbundle tool
svn path=/trunk/mcs/; revision=36691
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
Martin Baulig [Sat, 27 Nov 2004 18:33:07 +0000 (18:33 -0000)]
Removed two FIXME's.
svn path=/trunk/mcs/; revision=36689
Martin Baulig [Sat, 27 Nov 2004 17:48:12 +0000 (17:48 -0000)]
New test.
svn path=/trunk/mcs/; revision=36688
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Fri, 26 Nov 2004 19:15:38 +0000 (19:15 -0000)]
Remove empty test case
svn path=/trunk/mcs/; revision=36663
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
Miguel de Icaza [Fri, 26 Nov 2004 19:10:06 +0000 (19:10 -0000)]
Update test
svn path=/trunk/mcs/; revision=36661
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
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
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
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