mono.git
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

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

* XmlSchemaSet.cs : reduced extraneous XmlSchemaObjectTable creation.

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

19 years ago2004-11-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 7 Nov 2004 14:54:10 +0000 (14:54 -0000)]
2004-11-07  Atsushi Enomoto  <atsushi@ximian.com>

* XsdValidatingReader.cs : optimized some ArrayList fields; create them
  only when required.

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

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

* class-internals.h (MonoMethod): Remove remoting_tramp. It is
unused. Saves a cool 4 bytes / method.

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

19 years ago2004-11-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 7 Nov 2004 12:46:00 +0000 (12:46 -0000)]
2004-11-07  Atsushi Enomoto  <atsushi@ximian.com>

* Iterator.cs :
  - Made copy constructor certainly different from other constructors.
  - Position is never computed in each derived type. All MoveNext() are
    now MoveNextCore().
  - Most of the protected members could just be private.

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

19 years ago2004-11-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 7 Nov 2004 08:57:39 +0000 (08:57 -0000)]
2004-11-07  Atsushi Enomoto  <atsushi@ximian.com>

* PosixEnvironment.cs : csc build fix. see bug #69195.
* PosixStream.cs : csc build fix. see bug #69196.

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

19 years ago2004-11-06 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 6 Nov 2004 21:56:09 +0000 (21:56 -0000)]
2004-11-06  Marek Safar  <marek.safar@seznam.cz>

Fix #69167
* codegen.cs (ApplyAttributeBuilder): Do not return; it is only warning.

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

19 years ago2004-11-06 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 6 Nov 2004 20:26:47 +0000 (20:26 -0000)]
2004-11-06  Ben Maurer  <bmaurer@ximian.com>

* metadata.c (builtin_types): Add types for System.Object here.
(mono_metadata_parse_type_full): Cache MonoType*'s that are
for a class or valuetype from klass->this_arg or klass->byval_arg.

On mcs for a hello world, this gets us down from 21836 MonoType's
to 14560.

(mono_metadata_free_type): Account for the above change.

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

19 years ago* typemanager.cs: Removed TypeManager.builder_to_attr which was
Jambunathan K [Sat, 6 Nov 2004 18:25:25 +0000 (18:25 -0000)]
* typemanager.cs: Removed TypeManager.builder_to_attr which was
redundant and replaced LookupAttr with LookupClass.

* rootcontext.cs:
* module.cs: Miscellaneous changes

* mb-parser.jay: Upadted actions of the attributes grammar

* codegen.cs: 1) Introduced new classes CommonAssemblyModulClass,
AssemblyClass, ModuleClass 2) Introduced following methods
CodeGen.AddGlobalAttributes, CodeGen.EmitGlobalAttributes

* class.cs: Factored out TypeContainer.AttributeUsage

* attribute.cs: 1) Factored out Attribute.UsageAttribute and
Attribute.GetAttributeUsage 2) Introducing the new base class
Attributable from which all Attributable types will be derived in
the future 3) Added new accessors Attribute.IsAssemblyAttribute
and Attribute.IsModuleAttribute

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

19 years agoFix another miss-use of MemberName
Miguel de Icaza [Sat, 6 Nov 2004 16:56:50 +0000 (16:56 -0000)]
Fix another miss-use of MemberName

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

19 years agoflush
Miguel de Icaza [Sat, 6 Nov 2004 16:52:07 +0000 (16:52 -0000)]
flush

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

19 years ago2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 6 Nov 2004 12:55:59 +0000 (12:55 -0000)]
2004-11-05  Atsushi Enomoto  <atsushi@ximian.com>

* Compiler.cs : Changes that reflects CompiledExpression changes.

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

19 years ago2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 6 Nov 2004 12:55:33 +0000 (12:55 -0000)]
2004-11-05  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs, XPathNavigator.cs : hold raw expression field for
  get_Expression. It is preparation for expression optimization.

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

19 years ago2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 6 Nov 2004 12:04:35 +0000 (12:04 -0000)]
2004-11-05  Atsushi Enomoto  <atsushi@ximian.com>

* Iterator.cs : SimpleIterator._current could be cloned only when
  it is required.

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

19 years ago(LateGet, LateSet): Ported the missing pieces
Jambunathan K [Sat, 6 Nov 2004 11:47:31 +0000 (11:47 -0000)]
(LateGet, LateSet): Ported the missing pieces
from Mainsoft's codebase.

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

19 years ago2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 6 Nov 2004 11:46:18 +0000 (11:46 -0000)]
2004-11-05  Atsushi Enomoto  <atsushi@ximian.com>

* Iterator.cs : Some removal of Clone() were harmless.

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

19 years ago* Tds70.cs: avoid unnecessary property call
Gert Driesen [Sat, 6 Nov 2004 11:16:56 +0000 (11:16 -0000)]
* Tds70.cs: avoid unnecessary property call

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

19 years ago2004-11-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 6 Nov 2004 05:34:39 +0000 (05:34 -0000)]
2004-11-05  Atsushi Enomoto <atsushi@ximian.com>

* XmlDocumentNavigator.cs : create rarely-used ArrayList later. This
  significantly improves XmlDocument-based XPath performance.

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

19 years ago2004-11-06 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 6 Nov 2004 03:58:10 +0000 (03:58 -0000)]
2004-11-06  Ben Maurer  <bmaurer@ximian.com>

* Single.cs, Double.cs (GetHashCode): Better hashcode impl

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

19 years ago2004-11-06 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 6 Nov 2004 03:41:29 +0000 (03:41 -0000)]
2004-11-06  Ben Maurer  <bmaurer@ximian.com>

* System.Resources/ResXResourceReader.cs: use File.OpenRead so
that we can open on read-only files. 68260

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

19 years agoForgot changelog for tracking.
Geoff Norton [Sat, 6 Nov 2004 02:25:34 +0000 (02:25 -0000)]
Forgot changelog for tracking.

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

19 years agoRe-add Catalog.cs to the build. I'm not sure why I removed this...
Jonathan Pryor [Sat, 6 Nov 2004 02:24:18 +0000 (02:24 -0000)]
Re-add Catalog.cs to the build.  I'm not sure why I removed this...

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

19 years agoMinor change to otool command args to pretty up mono -v -v on OSX.
Geoff Norton [Sat, 6 Nov 2004 02:13:48 +0000 (02:13 -0000)]
Minor change to otool command args to pretty up mono -v -v on OSX.

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

19 years agoWhen selected tabs are expanded make sure they don't go beyond the edges of the tab...
Jackson Harper [Sat, 6 Nov 2004 00:30:21 +0000 (00:30 -0000)]
When selected tabs are expanded make sure they don't go beyond the edges of the tab control

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