mono.git
19 years ago2004-11-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 9 Nov 2004 17:09:58 +0000 (17:09 -0000)]
2004-11-09  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (mono_aot_init): Add MONO_AOT_CACHE env variable to turn on
the experimental aot cache stuff.

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

19 years ago2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 9 Nov 2004 17:03:26 +0000 (17:03 -0000)]
2004-11-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Control.cs: unified a few bool fields into an int one.

* ControlCollection.cs: use an array internally instead of always
allocating an arraylist. Also added our own enumerator.

* EmptyControlCollection.cs: there's no 'special' ctor now in the base
class.

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

19 years agoA little bird whispered in my ear that gen-65.cs is broken ....
Martin Baulig [Tue, 9 Nov 2004 16:35:44 +0000 (16:35 -0000)]
A little bird whispered in my ear that gen-65.cs is broken ....

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

19 years ago2004-11-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 16:30:14 +0000 (16:30 -0000)]
2004-11-09  Martin Baulig  <martin@ximian.com>

* gen-86.cs, gen-87.cs, gen-88.cs, gen-89.cs, gen-90.cs,
gen-91.cs, gen-92.cs, gen-93.cs, gen-94.cs, gen-96.cs: New tests.

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

19 years ago2004-11-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 9 Nov 2004 16:27:58 +0000 (16:27 -0000)]
2004-11-09  Martin Baulig  <martin@ximian.com>

* test-315.cs: New test.

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

19 years agofixes menu navigation, fixes popups, etc
Jordi Mas i Hernandez [Tue, 9 Nov 2004 15:47:20 +0000 (15:47 -0000)]
fixes menu navigation, fixes popups, etc

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

19 years agoTue Nov 9 17:34:05 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Nov 2004 15:12:39 +0000 (15:12 -0000)]
Tue Nov 9 17:34:05 CET 2004 Paolo Molaro <lupus@ximian.com>

* metadata.c: fix bug introduced with the type cache changes
on 2004-11-06.

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

19 years agoTue Nov 9 17:30:20 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Nov 2004 15:08:48 +0000 (15:08 -0000)]
Tue Nov 9 17:30:20 CET 2004 Paolo Molaro <lupus@ximian.com>

* aot.c, mini.c, exceptions-ppc.c, exceptions-s390.c, exceptions-s390x.c,
mini-exceptions.c: update to exception clause structure changes.

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

19 years agoTue Nov 9 17:28:48 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Nov 2004 15:08:37 +0000 (15:08 -0000)]
Tue Nov 9 17:28:48 CET 2004 Paolo Molaro <lupus@ximian.com>

* interp.c: update to exception clause structure changes.

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

19 years agoTue Nov 9 17:26:29 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Nov 2004 15:08:13 +0000 (15:08 -0000)]
Tue Nov 9 17:26:29 CET 2004 Paolo Molaro <lupus@ximian.com>

* metadata.h, metadata.c, domain-internals.h, marshal.c: include
the MonoClass pointer instead of the token in exception clauses.
* reflection.c: updates for the above and make the code not depend
on the structure of MonoExceptionClause.

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

19 years agoTue Nov 9 17:29:28 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 9 Nov 2004 15:08:11 +0000 (15:08 -0000)]
Tue Nov 9 17:29:28 CET 2004 Paolo Molaro <lupus@ximian.com>

* dis-cil.c, get.c, get.h: update to exception clause structure changes.

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

19 years ago2004-11-09 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 9 Nov 2004 14:24:34 +0000 (14:24 -0000)]
2004-11-09  Sebastien Pouliot  <sebastien@ximian.com>

* PasswordDeriveBytesTest.cs: Removed test for 69036. This is a MS
bug that will be fixed in 2.0 beta 2.

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

19 years ago * AppSettingsSection.cs: Mostly implemented (missing support for
Lluis Sanchez [Tue, 9 Nov 2004 12:31:33 +0000 (12:31 -0000)]
* AppSettingsSection.cs: Mostly implemented (missing support for
file attribute).
* ConfigHelper.cs: GetNameValueCollection now returns a
ConfigNameValueCollection instance which is a NameValueCollection with a
modification flag.
* ConfigInfo.cs: Added XPath property.
* Configuration.cs: Implemented AppSettings property. Set the Path property
of sections and groups.
* ConfigurationElement.cs: Support key serialization. Properly reset
nested elements.
* ConfigurationElementCollection.cs: Initial implementation.
* ConfigurationSection.cs: Impemented Path and GetRuntimeObject.
* ConfigurationSectionGroup.cs: Implemented Path.
* SectionGroupInfo.cs: Little fix.

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

19 years ago2004-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Nov 2004 12:29:25 +0000 (12:29 -0000)]
2004-11-09  Atsushi Enomoto  <atsushi@ximian.com>

* parser.cs : cast.

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

19 years ago- (DrawButtonBase): Fix verticle text rect clipping in windows
John BouAntoun [Tue, 9 Nov 2004 11:06:21 +0000 (11:06 -0000)]
- (DrawButtonBase): Fix verticle text rect clipping in windows
- (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  rendering and incorrect text rect clipping
- (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  rendering and incorrect text rect clipping

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

19 years ago(basic_SUBDIRS): New.
Raja R Harinath [Tue, 9 Nov 2004 10:38:52 +0000 (10:38 -0000)]
(basic_SUBDIRS): New.

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

19 years ago* attribute.cs: 1) Replaced the static method
Jambunathan K [Tue, 9 Nov 2004 10:34:03 +0000 (10:34 -0000)]
* attribute.cs: 1) Replaced the static method
Attribute.GetValidPlaces() with an equivalent instance method
Attribute.GetValidTargets() 2) Added new methods Attributes.Emit
() and Attribute.Emit(). 3) Migrated functionality of
ApplyAttributes to ApplyAttributeBuilder of respective classes.

* class.cs, decl.cs, codegen.cs, const.cs, parameter.cs :
Implemented ApplyAttributeBuilder() in the following classes:
TypeContainer, Constructor, Field, Property, Event, DeclSpace,
AssemblyClass, ModuleClass, Const, Method, Parameter.

* codegen.cs: Implemented Emit() in the following classes:
AssemblyClass and ModuleClass.

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

19 years ago* profiles/basic.make: New.
Raja R Harinath [Tue, 9 Nov 2004 04:56:06 +0000 (04:56 -0000)]
* profiles/basic.make: New.
* profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
* profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.

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

19 years agoplaceholders for new profile directories
Raja R Harinath [Tue, 9 Nov 2004 04:42:05 +0000 (04:42 -0000)]
placeholders for new profile directories

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

19 years ago(DISTFILES): Comment out a few missing files.
Raja R Harinath [Tue, 9 Nov 2004 04:38:03 +0000 (04:38 -0000)]
(DISTFILES): Comment out a few missing files.

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

19 years ago2004-11-08 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 9 Nov 2004 03:37:06 +0000 (03:37 -0000)]
2004-11-08  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs (class New): add new operator support. Add
emit_args, implemented Emit.

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

19 years agoflush
Jackson Harper [Tue, 9 Nov 2004 03:12:34 +0000 (03:12 -0000)]
flush

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

19 years ago * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
Jackson Harper [Tue, 9 Nov 2004 03:12:00 +0000 (03:12 -0000)]
* ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
bottom when they are bottom aligned so the bottoms of the tabs get
displayed.
* TabControl.cs (DropRow): Move rows up instead of down when the
tab control is bottom aligned.

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

19 years ago2004-11-09 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 9 Nov 2004 02:38:30 +0000 (02:38 -0000)]
2004-11-09  Atsushi Enomoto <atsushi@ximian.com>

* DTDValidatingReader.cs, XmlTextReader.cs :
  needed more changes wrt XmlException.

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

19 years ago2004-11-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 9 Nov 2004 01:27:09 +0000 (01:27 -0000)]
2004-11-08  Ben Maurer  <bmaurer@ximian.com>

* replace.cs, parser.cs: Use stringbuilder for allocation sanity.

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

19 years ago2004-11-08 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 8 Nov 2004 23:33:28 +0000 (23:33 -0000)]
2004-11-08  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs: emit unary operator code.
* TypeOf.cs: back to Microsoft.JScript namespace. fix typo.
* Literal.cs: constrain more the case of negative numeric literal.

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

19 years ago2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 8 Nov 2004 22:36:42 +0000 (22:36 -0000)]
2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CacheEntry.cs: convert the external DateTime to GMT, as everything
else uses that timezone. Fixes bug #69194.

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

19 years ago- Updated
Peter Dennis Bartok [Mon, 8 Nov 2004 21:31:40 +0000 (21:31 -0000)]
- Updated

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

19 years ago2004-11-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 8 Nov 2004 21:30:06 +0000 (21:30 -0000)]
2004-11-08  Ben Maurer  <bmaurer@ximian.com>

* outline.cs: If a type is in the namespace that we
are looking at right now, dont print out the fullname
this cuts down on verbosity

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

19 years ago- Initial Checkin
Peter Dennis Bartok [Mon, 8 Nov 2004 21:29:51 +0000 (21:29 -0000)]
- Initial Checkin

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

19 years ago- BenM's Fix for bug 68260
Peter Dennis Bartok [Mon, 8 Nov 2004 21:28:24 +0000 (21:28 -0000)]
- BenM's Fix for bug 68260

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

19 years ago2004-11-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 8 Nov 2004 21:23:39 +0000 (21:23 -0000)]
2004-11-08  Ben Maurer  <bmaurer@ximian.com>

* outline.cs: Cut the extra whitespace.

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

19 years agoadd static, thansk mig
Ben Maurer [Mon, 8 Nov 2004 21:14:21 +0000 (21:14 -0000)]
add static, thansk mig

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

19 years ago2004-11-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 8 Nov 2004 21:04:20 +0000 (21:04 -0000)]
2004-11-08  Ben Maurer  <bmaurer@ximian.com>

* outline.cs: Report sealed and abstract

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

19 years ago- Added handling for various window styles
Peter Dennis Bartok [Mon, 8 Nov 2004 20:59:30 +0000 (20:59 -0000)]
- Added handling for various window styles
- Added handling for popup windows
- Added SetTopmost handling

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

19 years ago- Added argument to SetTopmost method
Peter Dennis Bartok [Mon, 8 Nov 2004 20:55:33 +0000 (20:55 -0000)]
- Added argument to SetTopmost method
- Fixed broken ClientToScreen function

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

19 years ago- Added missing WS_EX styles
Peter Dennis Bartok [Mon, 8 Nov 2004 20:53:48 +0000 (20:53 -0000)]
- Added missing WS_EX styles

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

19 years ago- Added argument to SetTopmost
Peter Dennis Bartok [Mon, 8 Nov 2004 20:53:17 +0000 (20:53 -0000)]
- Added argument to SetTopmost

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

19 years ago- Added XSetWindowAttributes structure
Peter Dennis Bartok [Mon, 8 Nov 2004 20:52:15 +0000 (20:52 -0000)]
- Added XSetWindowAttributes structure
- Improved XWindowAttributes structure
- Added SetWindowValuemask enum
- Added window creation arguments enum
- Added gravity enum
- Added Motif hints structure
- Added various Motif flags and enums
- Added PropertyMode enum for property functions

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

19 years ago- Fixed arguments for updated SetTopmost method
Peter Dennis Bartok [Mon, 8 Nov 2004 20:50:29 +0000 (20:50 -0000)]
- Fixed arguments for updated SetTopmost method

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

19 years ago- Fixed arguments for updated SetTopmost function
Peter Dennis Bartok [Mon, 8 Nov 2004 20:49:35 +0000 (20:49 -0000)]
- Fixed arguments for updated SetTopmost function
- Fixed usage of PointToClient

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

19 years ago2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 8 Nov 2004 20:44:32 +0000 (20:44 -0000)]
2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SiteMap.cs: don't lock on Type.
* CapabilitiesLoader.cs: avoid 2 locks when loading data.

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

19 years ago- Added Clipping of children and siblings
Peter Dennis Bartok [Mon, 8 Nov 2004 20:44:00 +0000 (20:44 -0000)]
- Added Clipping of children and siblings

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

19 years ago2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 8 Nov 2004 20:42:43 +0000 (20:42 -0000)]
2004-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: patch by Dennis Gervalle that fixes PhysicalPath in
presence of rewriting.

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

19 years ago- Removed SetMenuBarWindow call. We do this in Form.cs
Peter Dennis Bartok [Mon, 8 Nov 2004 20:41:26 +0000 (20:41 -0000)]
- Removed SetMenuBarWindow call. We do this in Form.cs

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

19 years agoRender the little scrolling jimmi in the correct location with bottom aligned tabs
Jackson Harper [Mon, 8 Nov 2004 20:40:08 +0000 (20:40 -0000)]
Render the little scrolling jimmi in the correct location with bottom aligned tabs

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

19 years ago- Implemented BindingContext
Peter Dennis Bartok [Mon, 8 Nov 2004 20:36:11 +0000 (20:36 -0000)]
- Implemented BindingContext
- Implemented ParentForm

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

19 years agorevert the stackalloc part of the patch -- it is not in favor with the security guys ;-)
Ben Maurer [Mon, 8 Nov 2004 20:04:44 +0000 (20:04 -0000)]
revert the stackalloc part of the patch -- it is not in favor with the security guys ;-)

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

19 years agoPut bottom rendered tabs in the right location
Jackson Harper [Mon, 8 Nov 2004 19:46:49 +0000 (19:46 -0000)]
Put bottom rendered tabs in the right location

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

19 years agoUp
Miguel de Icaza [Mon, 8 Nov 2004 18:50:56 +0000 (18:50 -0000)]
Up

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

19 years ago2004-11-08 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 8 Nov 2004 18:11:08 +0000 (18:11 -0000)]
2004-11-08  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs (emit_func_call): pop if function's return type is
non-void and has no effect.

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

19 years ago* support/map.c: Remove <poll.h> include. Building on Tigar (Mac OS X 10.4
Jonathan Pryor [Mon, 8 Nov 2004 15:29:35 +0000 (15:29 -0000)]
* support/map.c: Remove <poll.h> include.  Building on Tigar (Mac OS X 10.4
  beta) breaks when both <poll.h> and <sys/poll.h> are included, so only use
  <sys/poll.h>.

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

19 years agofixes vertical scrollbar and removes dead code
Jordi Mas i Hernandez [Mon, 8 Nov 2004 14:15:00 +0000 (14:15 -0000)]
fixes vertical scrollbar and removes dead code

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

19 years ago2004-11-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Nov 2004 12:22:32 +0000 (12:22 -0000)]
2004-11-08  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_Assembly_GetModulesInternal):
Add support for dynamic assemblies. Fixes #69114.

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

19 years ago * configure.in: Add new function/header/type checks for use by
Jonathan Pryor [Mon, 8 Nov 2004 12:13:13 +0000 (12:13 -0000)]
  * configure.in: Add new function/header/type checks for use by
    MonoPosixHelper (the support directory).
  * support/Makefile.am: Add sys-sendfile.c to the build.
  * support/dirent.c, support/fcntl.c, support/unistd.c: Remove compile-time
    checks for -64 apis (pread64, etc.), as they're superfluous.  GLibc
    #defines the functions to the appropriate -64 counterpart when necessary,
    and Darwin is intrinsically large-file-aware, so manual checking on my
    part is redundant and unnecessary.
  * support/grp.c: Add checks for non-portable functions getgrnam_r,
    getgrgid_r.
  * support/pwd.c: Add checks for non-portable functions getpwnam_r,
    getpwuid_r.
  * support/mph.h: Clean up macro handling for type overflow checking.

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

19 years ago2004-11-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Nov 2004 11:42:25 +0000 (11:42 -0000)]
2004-11-08  Zoltan Varga  <vargaz@freemail.hu>

* loader.c (mono_method_get_header): Handle icalls and pinvoke methods.

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

19 years ago2004-11-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Nov 2004 11:10:30 +0000 (11:10 -0000)]
2004-11-08  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-x86.c (throw_exception): Fix warnings.

* mini-x86.h mini-x86.c cpu-pentium.md exceptions-x86.c: Add support
for OP_RETHROW.

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

19 years ago2004-11-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 8 Nov 2004 10:58:29 +0000 (10:58 -0000)]
2004-11-08  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-sparc.c (get_throw_exception): Really fix this.

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

19 years ago * HttpPostProtocolReflector.cs: Avoid generating an empty part attribute.
Lluis Sanchez [Mon, 8 Nov 2004 09:43:55 +0000 (09:43 -0000)]
* HttpPostProtocolReflector.cs: Avoid generating an empty part attribute.
  This was causing problems when importing the wsdl from MS Visual Studio.

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

19 years ago* configure.in (mcs_topdir, mcs_topdir_from_srcdir): New 'subst'ed
Raja R Harinath [Mon, 8 Nov 2004 09:25:30 +0000 (09:25 -0000)]
* configure.in (mcs_topdir, mcs_topdir_from_srcdir): New 'subst'ed
variables.  Used to support both an in-tree mcs/ and a sibling
mcs/ directory.
* Makefile.am (mcs_topdir): Remove.
(dist-hook): Distribute mcs/ as a subdirectory.
* runtime/Makefile.am ($(monoone_DATA) $(monotwo_DATA) $(monobins_DATA)):
Use mcs_topdir and mcs_topdir_from_srcdir.
* runtime/net_1_1/Makefile.am (mscorlib.dll $(gac_assemblies) $(mdb_files)):
Likewise.
(all-local): Depend on $(mdb_files) too.
* runtime/net_2_0/Makefile.am: Likewise.

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

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

* DTDObjectModel.cs,
  DTDReader.cs,
  XmlReader.cs,
  XmlTextReader.cs,
  XmlException.cs :

  Added support for 2.0 XmlException.SourceUri property. Improved
  exception handling to contain BaseURI everywhere in the parser.

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

19 years agoCoalesced the functionality of Property and
Jambunathan K [Mon, 8 Nov 2004 08:35:37 +0000 (08:35 -0000)]
Coalesced the functionality of Property and
PropertyBase in to Property class and removed the class
PropertyBase.

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

19 years ago* attribute.cs: Injected a new virtual property
Jambunathan K [Mon, 8 Nov 2004 08:12:25 +0000 (08:12 -0000)]
* attribute.cs: Injected a new virtual property
Attributable.AttributeTargets

* decl.cs: Made MemeberCore a derived class of
Attributable.

* parameter.cs: Made Parameter a derived class of
Attributable.

* class.cs: Commented out the "never used" class Indexer. I
suspect that the class will never be required in VB.NET context
and can possibly be stripped off after careful inspection.

* tree.cs, module.cs, interface.cs, enum.cs, delegate.cs,
const.cs, codegen.cs: Changes necessiated by the above changes.

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

19 years ago(test-clients): Refer to 'nunit-console.exe' in
Raja R Harinath [Mon, 8 Nov 2004 07:59:26 +0000 (07:59 -0000)]
(test-clients): Refer to 'nunit-console.exe' in
profile-specific directory.

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

19 years ago2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Nov 2004 06:59:43 +0000 (06:59 -0000)]
2004-11-08  Atsushi Enomoto  <atsushi@ximian.com>

* xmltest.cs : reformat; easier to check.

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

19 years ago2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Nov 2004 06:59:14 +0000 (06:59 -0000)]
2004-11-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlNodeReaderTests.cs : numbered some of asserts.

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

19 years ago2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Nov 2004 06:53:22 +0000 (06:53 -0000)]
2004-11-08  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources :
  added XmlTextReader2.cs.
  removed IXPathEditable.cs, XPathEditableNavigator.cs,
  NodeChangedEventArgs.cs and NodeChangedEventHandler.cs.

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

19 years ago2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Nov 2004 06:51:03 +0000 (06:51 -0000)]
2004-11-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReaderTests.cs : added tests for 2.0 entity handling.
* XmlValidatingReaderTests.cs : modified tests for entity handling
  that are changed in 2.0.

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

19 years ago2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Nov 2004 06:49:47 +0000 (06:49 -0000)]
2004-11-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReader2.cs : added. It is used to serve public API, plus
  entity handling support.

* DTDObjectModel.cs,
  DTDValidatingReader.cs,
  XmlDocumentType.cs,
  XmlParserContext.cs,
  XmlTextReader.cs :
  Implemented XmlTextReader.EntityHandling and ResolveEntity(). To
  implement them, XmlTextReader in 2.0 itself is in XmlTextReader2.cs
  and XmlTextReader.cs contains Mono.Xml2.XmlTextReader which is the
  same as 1.x XmlTextReader. XmlTextReader2 switches entity reader and
  source reader, and never handles tokenization.
  The reason for "Mono.Xml2" is to avoid large changes in constructor.f

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

19 years ago2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Nov 2004 06:42:46 +0000 (06:42 -0000)]
2004-11-08  Atsushi Enomoto  <atsushi@ximian.com>

* XsdValidatingReader.cs : reuse NameTable on loading external schema.

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

19 years ago2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Nov 2004 06:36:05 +0000 (06:36 -0000)]
2004-11-08  Atsushi Enomoto  <atsushi@ximian.com>

* Tokenizer.cs : just use raw string instead of char[].
* XPathNavigator.cs : reuse NameTable when creating XmlTextReader.

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

19 years ago2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Nov 2004 06:33:42 +0000 (06:33 -0000)]
2004-11-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaSet.cs : use NameTable when creating XmlTextReader.

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

19 years ago2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Nov 2004 06:32:35 +0000 (06:32 -0000)]
2004-11-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlAttribute.cs, XmlElement.cs : get_Name should consider name table.
* XmlDocument.cs : use NameTable in Load() and LoadXml().
* XmlReader.cs : In Create(), use NameTable in XmlReaderSettings.

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

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

* Compiler.cs, XslTransformProcessor.cs :
  when creating XmlTextReader, reuse XmlNameTable.

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

19 years agoa few warning fixes
Ben Maurer [Mon, 8 Nov 2004 04:08:13 +0000 (04:08 -0000)]
a few warning fixes

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

19 years ago2004-11-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 8 Nov 2004 03:47:25 +0000 (03:47 -0000)]
2004-11-08  Ben Maurer  <bmaurer@ximian.com>

* interp.c: warning free

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

19 years ago2004-11-08 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 8 Nov 2004 03:37:57 +0000 (03:37 -0000)]
2004-11-08  Ben Maurer  <bmaurer@ximian.com>

* get.c, dump.c: warning free.

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

19 years agofix
Ben Maurer [Mon, 8 Nov 2004 03:19:16 +0000 (03:19 -0000)]
fix

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

19 years agogenerics doesnt like me...
Ben Maurer [Mon, 8 Nov 2004 03:11:09 +0000 (03:11 -0000)]
generics doesnt like me...

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

19 years agofix this
Ben Maurer [Mon, 8 Nov 2004 02:27:23 +0000 (02:27 -0000)]
fix this

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

19 years ago2004-11-07 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 8 Nov 2004 02:06:50 +0000 (02:06 -0000)]
2004-11-07  Ben Maurer  <bmaurer@ximian.com>

* class-internals.h (MonoMethod): Move addr to MonoMethodPInvoke
since most only those methods use it. the code member of
MonoMethodPInvoke was dead, so that can be removed too. Also,
remove inline_count (again, not used), and move slot so that it
can share bits with some other flags. This saves 8 bytes in the
structure and gives us about 50 kb back for mcs helloworld.cs

* *.[ch]: Do naming changes for the above. 2004-11-07  Ben Maurer  <bmaurer@ximian.com>

* tramp-*.c: we no longer support icalls without wrappers, so
a bit of code can be removed here

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

19 years agowack-a-mole
Ben Maurer [Mon, 8 Nov 2004 01:22:21 +0000 (01:22 -0000)]
wack-a-mole

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

19 years agowarning fix
Ben Maurer [Mon, 8 Nov 2004 01:20:57 +0000 (01:20 -0000)]
warning fix

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

19 years ago2004-11-07 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 8 Nov 2004 01:06:15 +0000 (01:06 -0000)]
2004-11-07  Ben Maurer  <bmaurer@ximian.com>

* loader.c (mono_method_get_header): Lazily init the header
on first access.
(mono_get_method_from_token): don't init the header here
(mono_free_method): the header may never be allocated

Overall, this saves 150 kb of unmanaged allocations
for mcs helloworld.cs. That accounts for 10% of the unmanaged
memory at runtime.

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

19 years ago2004-11-08 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 8 Nov 2004 00:49:08 +0000 (00:49 -0000)]
2004-11-08  Atsushi Enomoto <atsushi@ximian.com>

* XmlFilterReader.cs : ReadInnerXml() and ReadOuterXml() should not
  invoke those of argument reader. It causes unfiltered results like
  XmlValidatingReader bug in MS.NET 1.0. Just don't implement it.

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

19 years ago2004-11-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 8 Nov 2004 00:48:47 +0000 (00:48 -0000)]
2004-11-07  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Invocation.OverloadResolve): Flag error if we are
calling an unsafe method from a safe location.

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

19 years ago2004-11-07 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Mon, 8 Nov 2004 00:45:35 +0000 (00:45 -0000)]
2004-11-07  Ben Maurer  <bmaurer@ximian.com>

* loader.c, loader.h (mono_method_get_header): new accessor.

* *.[ch]: use the above method. Prepares us to lazily load
the header.

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

19 years agoAdd new error case
Miguel de Icaza [Mon, 8 Nov 2004 00:45:27 +0000 (00:45 -0000)]
Add new error case

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

19 years ago2004-11-07 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 7 Nov 2004 22:49:19 +0000 (22:49 -0000)]
2004-11-07  Ben Maurer  <bmaurer@ximian.com>

* IntegerFormatter.cs: Avoid .ToCharArray, it was being used in
places where there was no reason for it. Also, allocate buffers
using stackalloc. This avoids the cost of allocating a char []
buffer in the gc. Also did some minor style changes.

This gives a huge reduction in memory allocation for integer formatting.
often you see something like:

665 KB System.IntegerFormatter::FormatGeneral(long,int,NumberFormatInfo,bool,int)
    463 KB    11710 System.Char[]
    201 KB    11710 System.String

This patch removes the char [] part. (it also removes the
tochararray, which accounts for even more.

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

19 years ago2004-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 7 Nov 2004 21:09:13 +0000 (21:09 -0000)]
2004-11-07  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-sparc.c (get_throw_exception): Fix more bugs in previous
patch.

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

19 years ago2004-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 7 Nov 2004 20:49:10 +0000 (20:49 -0000)]
2004-11-07  Zoltan Varga  <vargaz@freemail.hu>

* cpu-sparc.md: Add op_rethrow.

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

19 years ago2004-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 7 Nov 2004 20:27:49 +0000 (20:27 -0000)]
2004-11-07  Zoltan Varga  <vargaz@freemail.hu>

* exceptions-sparc.c (get_throw_exception): Fix bug in previous patch.

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

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

* mini-sparc.h mini-sparc.c exceptions-sparc.c: Add support for OP_RETHROW.

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

19 years ago2004-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 7 Nov 2004 20:15:42 +0000 (20:15 -0000)]
2004-11-07  Zoltan Varga  <vargaz@freemail.hu>

* mini.h: Add mono_arch_get_rethrow_exception () arch specific function.
* mini-ops.h: Add OP_RETHROW.

* mini.c inssel.brg: Distinguish between THROW and RETHROW.

* cpu-amd64.c mini-amd64.c exceptions-amd64.c: Add support for OP_RETHROW.

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

19 years ago2004-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 7 Nov 2004 19:52:27 +0000 (19:52 -0000)]
2004-11-07  Zoltan Varga  <vargaz@freemail.hu>

* mono-jni.c (GET_SET_ARRAY_ELEMENTS): Fix compilation errors on
gcc 3.3.5.

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

19 years agouse inherited constructor
César Natarén [Sun, 7 Nov 2004 18:19:16 +0000 (18:19 -0000)]
use inherited constructor

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

19 years agoupdate README
César Natarén [Sun, 7 Nov 2004 18:17:02 +0000 (18:17 -0000)]
update README

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

19 years ago2004-11-07 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Sun, 7 Nov 2004 18:10:45 +0000 (18:10 -0000)]
2004-11-07  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* BinaryOp.cs: added constructor for instantiating derived classes.
* BitwiseBinary.cs, Equality.cs, In.cs, InstanceOf.cs,
NumericBinary.cs, Plus.cs, Relational.cs, StrictEquality.cs,
expression.cs (classes Binary, Assign): use inherited constructor.
* BitwiseBinary.cs, Equality.cs: deleted public constructor which carried the context.

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

19 years agowack-a-mole time...
Ben Maurer [Sun, 7 Nov 2004 17:30:57 +0000 (17:30 -0000)]
wack-a-mole time...

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

19 years ago2004-11-07 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 7 Nov 2004 17:09:30 +0000 (17:09 -0000)]
2004-11-07  Ben Maurer  <bmaurer@ximian.com>

* *.[ch]: Clean up all the pesky warnings. gcc now only gives
three warnings, which are actual bugs (see 69206).

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