mono.git
19 years agoUse Sebastiens example from his blog
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

19 years ago2004-11-29 Ben Maurer <bmaurer@ximian.com>
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

19 years agoDocument MONO_AOT_CACHE
Miguel de Icaza [Mon, 29 Nov 2004 21:16:44 +0000 (21:16 -0000)]
Document MONO_AOT_CACHE

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

19 years ago2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

19 years agoMore loving
Miguel de Icaza [Mon, 29 Nov 2004 20:24:27 +0000 (20:24 -0000)]
More loving

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

19 years agoFurther Love
Miguel de Icaza [Mon, 29 Nov 2004 20:19:13 +0000 (20:19 -0000)]
Further Love

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

19 years agoImprove output
Miguel de Icaza [Mon, 29 Nov 2004 20:09:14 +0000 (20:09 -0000)]
Improve output

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

19 years agoMore changes to improve the documentation output
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

19 years ago2004-11-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

19 years ago2004-11-29 Marek Safar <marek.safar@seznam.cz>
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

19 years agoProper bug fix number
Miguel de Icaza [Mon, 29 Nov 2004 17:04:04 +0000 (17:04 -0000)]
Proper bug fix number

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

19 years ago2004-11-29 Atsushi Enomoto <atsushi@ximian.com>
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

19 years ago2004-11-29 Zoltan Varga <vargaz@freemail.hu>
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

19 years agoremoved unused variable
Marek Safar [Mon, 29 Nov 2004 13:00:12 +0000 (13:00 -0000)]
removed unused variable

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

19 years agoremoved unused variable
Marek Safar [Mon, 29 Nov 2004 12:52:00 +0000 (12:52 -0000)]
removed unused variable

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

19 years agoImproved test
Marek Safar [Mon, 29 Nov 2004 12:34:59 +0000 (12:34 -0000)]
Improved test

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

19 years ago2004-11-29 Sebastien Pouliot <sebastien@ximian.com>
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

19 years agoChangeLog: Updated.
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

19 years agoChangeLog: Updated.
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

19 years ago2004-11-29 Marek Safar <marek.safar@seznam.cz>
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

19 years ago2004-11-29 Raja R Harinath <rharinath@novell.com>
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

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