Pedro Martínez Juliá [Sun, 14 Sep 2003 18:10:03 +0000 (18:10 -0000)]
2003-09-14 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* FloatingPointFormatter.cs: Add the necessary castings to char
conversions.
svn path=/trunk/mcs/; revision=18089
Atsushi Eno [Sun, 14 Sep 2003 16:15:44 +0000 (16:15 -0000)]
2003-09-14 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* DTMXPathNavigator.cs,
DTMXPathDocument.cs,
DTMXPathDocumentBuilder.cs : Added IXmlLineInfo support. Removed
node's extraneous schemaType. Some code reformatting.
svn path=/trunk/mcs/; revision=18087
Zoltan Varga [Sun, 14 Sep 2003 14:29:07 +0000 (14:29 -0000)]
2003-09-14 Zoltan Varga <vargaz@freemail.hu>
* TODO: Fix todo item && remove another.
svn path=/trunk/mono/; revision=18086
Lluis Sanchez [Sun, 14 Sep 2003 13:08:11 +0000 (13:08 -0000)]
* XmlCustomFormatter.cs: added support for additional string types in
GenerateToXmlString().
* XmlSchemaExporter.cs: Fixed generation of XmlMembersMapping using
encoded format.
svn path=/trunk/mcs/; revision=18085
Lluis Sanchez [Sun, 14 Sep 2003 13:04:24 +0000 (13:04 -0000)]
* XmlSchema.cs: Do not add schema namespace declaration if it is already
declared.
svn path=/trunk/mcs/; revision=18084
Lluis Sanchez [Sun, 14 Sep 2003 13:01:47 +0000 (13:01 -0000)]
* XmlTextWriter.cs: Attributes that have a namespace must be always
prefixed.
svn path=/trunk/mcs/; revision=18083
Lluis Sanchez [Sun, 14 Sep 2003 12:53:38 +0000 (12:53 -0000)]
* SoapDocumentationHandler.cs: Added support for on-the-fly proxy
code generation in documentation pages.
svn path=/trunk/mcs/; revision=18082
Lluis Sanchez [Sun, 14 Sep 2003 12:51:31 +0000 (12:51 -0000)]
* System.Web.Services_test.dll.sources: Added BindingCollectionTest.cs
ChangeLog DocumentableItemTest.cs OperationCollectionTest.cs
OperationMessageCollectionTest.cs OperationMessageTest.cs
PortTypeCollectionTest.cs PortTypeTest.cs ServiceCollectionTest.cs
ServiceDescriptionCollectionTest.cs
SoapBodyBindingTest.cs SoapOperationBindingTest.cs TypesTest.cs
New test files by Erik LeBel.
svn path=/trunk/mcs/; revision=18081
Lluis Sanchez [Sun, 14 Sep 2003 12:44:10 +0000 (12:44 -0000)]
BindingCollectionTest.cs ChangeLog DocumentableItemTest.cs
OperationCollectionTest.cs OperationMessageCollectionTest.cs
OperationMessageTest.cs PortTypeCollectionTest.cs PortTypeTest.cs
ServiceCollectionTest.cs ServiceDescriptionCollectionTest.cs
SoapBodyBindingTest.cs SoapOperationBindingTest.cs TypesTest.cs
New test files by Erik LeBel.
svn path=/trunk/mcs/; revision=18080
Lluis Sanchez [Sun, 14 Sep 2003 12:24:49 +0000 (12:24 -0000)]
* DocumentableItem.cs MimeContentBinding.cs OperationMessage.cs
OperationMessageCollection.cs PortCollection.cs PortType.cs
PortTypeCollection.cs ServiceCollection.cs ServiceDescriptionCollection.cs
SoapBodyBinding.cs SoapOperationBinding.cs: Several fixes by Erik LeBel
* ServiceDescriptionImporter.cs:
* ServiceDescriptionSerializerBase.cs: regenerated after the changes in
the service description changes.
* ServiceDescriptionReflector.cs: Fixed generation of message parts in
bare format.
svn path=/trunk/mcs/; revision=18079
Lluis Sanchez [Sun, 14 Sep 2003 12:15:01 +0000 (12:15 -0000)]
* TcpClientChannel.cs: Fixed constructor.
svn path=/trunk/mcs/; revision=18078
Gonzalo Paniagua Javier [Sun, 14 Sep 2003 12:05:36 +0000 (12:05 -0000)]
2003-09-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
Skripsky <juraj@hotfeet.ch>
svn path=/trunk/mcs/; revision=18077
Duncan Mak [Sun, 14 Sep 2003 04:06:42 +0000 (04:06 -0000)]
Some late-night patch commits for Miguel.
* TabPage.cs (constructor): added a constructor for constructing tab
pages with a title. Patch from Jonathan Hogg
<jonathan@onegoodidea.com>.
* EnumConverter.cs (ConvertFrom): Removed the special handling for
multiple values. This is done in Enum.Parse already.
* TypeDescriptor.cs (GetConverter): Does not work for enumeration
types because EnumConverter does not have a default
constructor. Fixed by changing the special handling for
enumeration types.
svn path=/trunk/mcs/; revision=18074
Miguel de Icaza [Sun, 14 Sep 2003 00:18:07 +0000 (00:18 -0000)]
:flush:
svn path=/trunk/mono/; revision=18070
Jackson Harper [Sat, 13 Sep 2003 22:11:39 +0000 (22:11 -0000)]
* MethodInstr.cs: callvirt operation is implicitly instance.
svn path=/trunk/mcs/; revision=18069
Pedro Martínez Juliá [Sat, 13 Sep 2003 21:23:43 +0000 (21:23 -0000)]
2003-09-13 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* FloatingPointFormatter.cs: Make the method calls more functional
for protecting the values from different threads (make it more
thread safe).
svn path=/trunk/mcs/; revision=18068
Miguel de Icaza [Sat, 13 Sep 2003 20:55:29 +0000 (20:55 -0000)]
:flush:
svn path=/trunk/mono/; revision=18067
Pedro Martínez Juliá [Sat, 13 Sep 2003 18:40:26 +0000 (18:40 -0000)]
2003-09-13 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* FloatingPointFormatter.cs: Fix a bug with the negative value of
count parameter.
2003-09-12 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* FloatingPointFormatter.cs: Applied a lot of improvements in string
construction, make use of Append/Insert with the "count" parameter.
Thanks to Ben Maurer.
svn path=/trunk/mcs/; revision=18065
Ben Maurer [Sat, 13 Sep 2003 18:38:53 +0000 (18:38 -0000)]
reduce enumerator allocation
svn path=/trunk/mcs/; revision=18064
Atsushi Eno [Sat, 13 Sep 2003 17:33:09 +0000 (17:33 -0000)]
2003-09-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlTextWriterOpenElement.cs : Changed to receive prefix and localName
in .ctor().
* XmlTextWriter.cs : Changed to use above XmlTextWriterOpenElement.
Changed xmlns adding scheme. In detail, 1) WriteStartElement does not
add Namespaces immediately, but adds at AddMissingElementXmlns so
that we don't have to have extra check than namespaceManager's
LookupPrefix(). 2) Removed writtenAttributes for performance reason
since it is no more required.
svn path=/trunk/mcs/; revision=18063
Ben Maurer [Sat, 13 Sep 2003 17:22:08 +0000 (17:22 -0000)]
pass context to Evaluate* so that we dont have to clone the expression
svn path=/trunk/mcs/; revision=18062
Ben Maurer [Sat, 13 Sep 2003 16:53:51 +0000 (16:53 -0000)]
get static context to Pattern
svn path=/trunk/mcs/; revision=18061
Gonzalo Paniagua Javier [Sat, 13 Sep 2003 12:01:54 +0000 (12:01 -0000)]
2003-09-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* BaseValidator.cs: patch by Juraj Skripsky (juraj@hotfeet.ch) that
fixes rendering of the end tag.
svn path=/trunk/mcs/; revision=18059
Jackson Harper [Sat, 13 Sep 2003 06:49:54 +0000 (06:49 -0000)]
* TypeRef.cs: Remove unused enum, this has been moved to the
ModifiableType base class.
svn path=/trunk/mcs/; revision=18058
Jackson Harper [Sat, 13 Sep 2003 06:46:39 +0000 (06:46 -0000)]
* ILParser.jay: Fix typo in field inits. Methods attached to
modified types should be type spec method refs.
svn path=/trunk/mcs/; revision=18057
Ben Maurer [Sat, 13 Sep 2003 02:24:05 +0000 (02:24 -0000)]
tons of regressions char + long == char
svn path=/trunk/mcs/; revision=18056
Ben Maurer [Sat, 13 Sep 2003 01:23:20 +0000 (01:23 -0000)]
lots o optimizations
svn path=/trunk/mcs/; revision=18055
Zoltan Varga [Fri, 12 Sep 2003 15:32:38 +0000 (15:32 -0000)]
2003-09-12 Zoltan Varga <vargaz@freemail.hu>
* mini-x86.c (mono_arch_patch_code): Fix tail calls broken by a
previous checkin.
svn path=/trunk/mono/; revision=18054
Paolo Molaro [Fri, 12 Sep 2003 14:57:24 +0000 (14:57 -0000)]
Set the thread_abort function for the main thread, too.
svn path=/trunk/mono/; revision=18053
Zoltan Varga [Fri, 12 Sep 2003 11:08:17 +0000 (11:08 -0000)]
2003-09-12 Zoltan Varga <vargaz@freemail.hu>
* aot.c: Moved the check for MONO_LASTAOT into the initialization
function of the module.
* mini.h mini.c aot.c: Added a new optimization flag OPT_AOT for
turning on/off the usage of AOT code. Got rid of mono_no_aot and the
--no-aot command line option.
svn path=/trunk/mono/; revision=18052
Paolo Molaro [Fri, 12 Sep 2003 08:53:31 +0000 (08:53 -0000)]
Fri Sep 12 10:42:08 CEST 2003 Paolo Molaro <lupus@ximian.com>
* interp.c, interp.h: patch from Bernie Solomon <bernard@ugsolutions.com>:
64 bit/opcodes/exception handling fixes.
svn path=/trunk/mono/; revision=18051
Pedro Martínez Juliá [Fri, 12 Sep 2003 05:28:29 +0000 (05:28 -0000)]
2003-09-12 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* FloatingPointFormatter.cs: Applied a lot of improvements in string
construction, make use of Append/Insert with the "count" parameter.
Thanks to Ben Maurer.
svn path=/trunk/mcs/; revision=18049
Ben Maurer [Fri, 12 Sep 2003 00:28:40 +0000 (00:28 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=18046
Lluis Sanchez [Thu, 11 Sep 2003 23:57:09 +0000 (23:57 -0000)]
* AsyncCalls.cs BaseCalls.cs DelegateCalls.cs ReflectionCalls.cs SyncCalls.cs:
Added tests for CallContext and for parameters with the Out flag.
svn path=/trunk/mcs/; revision=18045
Lluis Sanchez [Thu, 11 Sep 2003 23:53:44 +0000 (23:53 -0000)]
* CryptoStream.cs: Added [In,Out] attributes to Read method.
svn path=/trunk/mcs/; revision=18044
Lluis Sanchez [Thu, 11 Sep 2003 23:47:32 +0000 (23:47 -0000)]
* NetworkStream.cs: Added [In,Out] attributes to Read method.
svn path=/trunk/mcs/; revision=18043
Lluis Sanchez [Thu, 11 Sep 2003 23:44:33 +0000 (23:44 -0000)]
* BufferedStream.cs, FileStream.cs, MemoryStream.cs, Stream.cs:
Added [In,Out] attributes to Read method.
svn path=/trunk/mcs/; revision=18042
Lluis Sanchez [Thu, 11 Sep 2003 23:41:51 +0000 (23:41 -0000)]
* RemotingProxy.cs: Return message check moved to RealProxy.
* RealProxy.cs: Added return message check and propagation of output
parameter values.
svn path=/trunk/mcs/; revision=18041
Lluis Sanchez [Thu, 11 Sep 2003 23:41:25 +0000 (23:41 -0000)]
* ArgInfo.cs: Include parameters with the Out flag in the out parameters list.
* CallContext.cs: SetCurrentCallContext now returns the old context, so it
can be later restored with new new method RestoreCallContext().
* ReturnMessage.cs: Some fixes in the way the class deals with output parameters,
to match MS.NET behavior.
svn path=/trunk/mcs/; revision=18040
Lluis Sanchez [Thu, 11 Sep 2003 23:40:57 +0000 (23:40 -0000)]
* ChannelServices.cs: Call context management moved to RemotingServices.
svn path=/trunk/mcs/; revision=18039
Lluis Sanchez [Thu, 11 Sep 2003 23:40:21 +0000 (23:40 -0000)]
* RemotingServices.cs: Collect value of parameters with the Out flag into
the return message. Also set and reset CallContext.
Added method UpdateOutArgObject.
svn path=/trunk/mcs/; revision=18038
Ben Maurer [Thu, 11 Sep 2003 22:09:20 +0000 (22:09 -0000)]
Resolve local variables at compile time in XSLT. 2x speed on TOH test
svn path=/trunk/mcs/; revision=18037
Dick Porter [Thu, 11 Sep 2003 18:50:15 +0000 (18:50 -0000)]
Compile fix
svn path=/trunk/mono/; revision=18036
Zoltan Varga [Thu, 11 Sep 2003 16:08:50 +0000 (16:08 -0000)]
2003-09-11 Zoltan Varga <vargaz@freemail.hu>
* helpers.c (mono_disassemble_code): Make this work under cygwin. Patch
by Bernie Solomon (bernard@ugsolutions.com).
svn path=/trunk/mono/; revision=18035
Zoltan Varga [Thu, 11 Sep 2003 12:45:55 +0000 (12:45 -0000)]
2003-09-11 Zoltan Varga <vargaz@freemail.hu>
* inssel.brg: Refactor the interface offset table related code into
its separate functions and add support for the AOT case.
svn path=/trunk/mono/; revision=18034
Zoltan Varga [Thu, 11 Sep 2003 12:44:38 +0000 (12:44 -0000)]
2003-09-11 Zoltan Varga <vargaz@freemail.hu>
* profiler.c (mono_profiler_load): Added '-time' and '-alloc' options
to the built-in profiler to turn off time and allocation profiling
respectively.
svn path=/trunk/mono/; revision=18033
Lluis Sanchez [Thu, 11 Sep 2003 11:37:06 +0000 (11:37 -0000)]
* SoapSchemaImporter.cs: implemented.
* XmlReflectionImporter.cs: Changed nullable default for array items to true.
* XmlSchemaExporter.cs: Some fixes in the generation of encoded format schema.
* XmlSchemaImporter.cs: more support for encoded format.
svn path=/trunk/mcs/; revision=18032
Lluis Sanchez [Thu, 11 Sep 2003 11:31:43 +0000 (11:31 -0000)]
* ServiceDescriptionImporter.cs, ServiceDescriptionReflector.cs: Added
first bits of encoded format support.
svn path=/trunk/mcs/; revision=18031
Ben Maurer [Wed, 10 Sep 2003 23:36:42 +0000 (23:36 -0000)]
Memory conservation in AVTs
svn path=/trunk/mcs/; revision=18026
Ben Maurer [Wed, 10 Sep 2003 22:28:44 +0000 (22:28 -0000)]
Boxing is evil
svn path=/trunk/mcs/; revision=18025
Atsushi Eno [Wed, 10 Sep 2003 17:58:53 +0000 (17:58 -0000)]
2003-09-10 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocument.cs : patch by Jonathan Hogg. Fixed CreateAttribute()
that handled xmlns attributes inproperly.
svn path=/trunk/mcs/; revision=18024
Pedro Martínez Juliá [Wed, 10 Sep 2003 16:34:34 +0000 (16:34 -0000)]
2003-09-10 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* FloatingPointFormatter.cs: Fix a bug with Custm Format.
* FloatingPointFormatter.cs: Fix a little bug I've introduced the
last change.
svn path=/trunk/mcs/; revision=18023
Zoltan Varga [Wed, 10 Sep 2003 16:23:31 +0000 (16:23 -0000)]
2003-09-10 Zoltan Varga <vargaz@freemail.hu>
* aot.c (mono_aot_get_method_inner): Fix memory leak.
svn path=/trunk/mono/; revision=18022
Zoltan Varga [Wed, 10 Sep 2003 14:57:46 +0000 (14:57 -0000)]
2003-09-10 Zoltan Varga <vargaz@freemail.hu>
* aot.c: Added mono_aot_verbose variable and made all debugging
output depend on the value of this variable.
* aot.c (mono_aot_get_method_inner): Avoid dynamic allocation of
method_label and info_label.
* mini.h mini-x86.c aot.c: Added a new relocation type
MONO_PATCH_INFO_IID for klass->interface_id.
* mini.h mini.c driver.c aot.c: Changed mono_aot_get_method to return
the MonoJitInfo structure.
* mini.c (mono_jit_compile_method): Avoid using non-shared AOT in
a non-root appdomain in shared mode.
svn path=/trunk/mono/; revision=18021
Zoltan Varga [Wed, 10 Sep 2003 14:40:32 +0000 (14:40 -0000)]
2003-09-10 Zoltan Varga <vargaz@freemail.hu>
* profiler.c (mono_profiler_coverage_alloc): Use NULL instead of
g_direct_equal.
* debug-helpers.c (mono_method_full_name): Print the wrapper type
in human readable form.
svn path=/trunk/mono/; revision=18020
Pedro Martínez Juliá [Wed, 10 Sep 2003 09:46:01 +0000 (09:46 -0000)]
2003-09-10 Pedro Mart�nez Juli� <yoros@wanadoo.es>
* DoubleFormatter.cs: A few optimizations. Now, only one object
is created to convert all double numbers.
* SingleFormatter.cs: A few optimizations. Now, only one object
is created to convert all float numbers.
* FloatingPointFormatter.cs: Split the "number type parameters" from
the "numver value and format parameters". The first ones are in the
constructor and the others are in a method.
svn path=/trunk/mcs/; revision=18019
Miguel de Icaza [Wed, 10 Sep 2003 01:50:44 +0000 (01:50 -0000)]
Flush
svn path=/trunk/mono/; revision=18017
Paolo Molaro [Tue, 9 Sep 2003 14:44:24 +0000 (14:44 -0000)]
Tue Sep 9 16:33:07 CEST 2003 Paolo Molaro <lupus@ximian.com>
* aot.c: make aot loader less verbose. Remove free of unused variable.
svn path=/trunk/mono/; revision=18013
Zoltan Varga [Tue, 9 Sep 2003 11:12:31 +0000 (11:12 -0000)]
2003-09-09 Zoltan Varga <vargaz@freemail.hu>
* ArrayTest.cs: Fix the expected exception on some methods.
svn path=/trunk/mcs/; revision=18011
Zoltan Varga [Tue, 9 Sep 2003 11:10:40 +0000 (11:10 -0000)]
2003-09-09 Zoltan Varga <vargaz@freemail.hu>
* Array.cs: Added argument checking to some NET_1_1 methods.
svn path=/trunk/mcs/; revision=18010
Jackson Harper [Tue, 9 Sep 2003 04:39:40 +0000 (04:39 -0000)]
* TypeDef.cs: By default types will have System.Object as their
parent type if no parent type is specified (this is what PEAPI
does) however if we are assembling corlib the System.Object type
will not have System.Object as its parent type.
svn path=/trunk/mcs/; revision=18009
Duncan Mak [Tue, 9 Sep 2003 00:01:41 +0000 (00:01 -0000)]
* Mono.Cairo/Surface.cs (PutImage): Removed.
* Mono.Cairo/Object.cs (Copy): Wrapper for cairo_copy.
* Mono.Cairo/Cairo.cs (cairo_copy): New API
(cairo_surface_put_image): Removed.
svn path=/trunk/mcs/; revision=18008
Duncan Mak [Mon, 8 Sep 2003 23:58:26 +0000 (23:58 -0000)]
2003-09-08 Duncan Mak <duncan@ximian.com>
* Factories.cs (DefaultImplementationNamespace): Change it from
"XrImpl" to "Cairo".
2003-09-08 Duncan Mak <duncan@ximian.com>
* gdk-helpers.cs: Remember to call gdk_init before hand.
(gdk_pixbuf_finalize): Removed, as it is no longer available
in the current API.
(Helpers): New class to contain other misc. helper functions.
(Init): Import gdk_init.
(Unref): Import g_object_unref. This should be used in place of
gdk_pixbuf_finalize.
* cairo-api.cs: Updated to reflect recent API changes.
(cairo_copy): New API.
(cairo_surface_put_image): Removed to keep updated with current
API.
(cairo_current_foo): Renamed from the old cairo_get_foo methods.
svn path=/trunk/mcs/; revision=18007
Ben Maurer [Mon, 8 Sep 2003 23:36:41 +0000 (23:36 -0000)]
XSLT will never be able to tell the XPathResultType of a variable, so lets just save the lookup
svn path=/trunk/mcs/; revision=18006
Ben Maurer [Mon, 8 Sep 2003 23:20:33 +0000 (23:20 -0000)]
No IEnumerators, please
svn path=/trunk/mcs/; revision=18005
Ben Maurer [Mon, 8 Sep 2003 22:45:02 +0000 (22:45 -0000)]
optimize collection allocation
svn path=/trunk/mcs/; revision=18004
Ben Maurer [Mon, 8 Sep 2003 22:10:32 +0000 (22:10 -0000)]
make one, not two calls to the hashtable
svn path=/trunk/mcs/; revision=18003
Ben Maurer [Mon, 8 Sep 2003 21:26:32 +0000 (21:26 -0000)]
Flush after you use it
svn path=/trunk/mcs/; revision=18002
Zoltan Varga [Mon, 8 Sep 2003 20:09:44 +0000 (20:09 -0000)]
2003-09-08 Zoltan Varga <vargaz@freemail.hu>
* jit-icalls.c (mono_llmult_ovf): Fix warning.
svn path=/trunk/mono/; revision=18001
Zoltan Varga [Mon, 8 Sep 2003 20:04:33 +0000 (20:04 -0000)]
2003-09-08 Zoltan Varga <vargaz@freemail.hu>
* reflection.c icall.c: Fixed warnings.
svn path=/trunk/mono/; revision=18000
Miguel de Icaza [Mon, 8 Sep 2003 17:46:15 +0000 (17:46 -0000)]
Add wsdl script
svn path=/trunk/mono/; revision=17997
Atsushi Eno [Mon, 8 Sep 2003 16:36:38 +0000 (16:36 -0000)]
2003-09-08 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlNamespaceManager.cs : GetEnumerator() should return all of the
available pairs (of prefix and namespace).
* XmlQualifiedName.cs : Quick fix for NullReferenceException in case
of name (or ns) is null. (The description of the immediate previous
changes will be inserted below.)
* XmlTextWriter.cs : Fixed WriteDocType(). Removed CheckValidName().
* XmlUrlResolver.cs : Changed not to call WebClient.Dispose() which
will release resources it had allocated.
svn path=/trunk/mcs/; revision=17996
Zoltan Varga [Mon, 8 Sep 2003 14:53:00 +0000 (14:53 -0000)]
2003-09-08 Zoltan Varga <vargaz@freemail.hu>
* aot.c (mono_aot_get_method_inner): Fix MONO_PATCH_INFO_IMAGE.
svn path=/trunk/mono/; revision=17995
Zoltan Varga [Mon, 8 Sep 2003 13:26:28 +0000 (13:26 -0000)]
2003-09-08 Zoltan Varga <vargaz@freemail.hu>
* .cvsignore: Added *.dll.
svn path=/trunk/mono/; revision=17994
Zoltan Varga [Mon, 8 Sep 2003 13:23:19 +0000 (13:23 -0000)]
2003-09-08 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_print_tree_nl): New function callable while debugging.
* mini.c (mono_print_code): Export this.
* mini.h (MonoCompile): Added 'jit_info' field.
* mini.c (mini_method_compile): Save the generated MonoJitInfo into
the cfg structure, since it is needed by the AOT compiler.
* mini.h (MONO_AOT_FILE_VERSION): Bump version number.
* aot.c: A major rewrite. Changes include:
- save exception tables for methods which have them.
- cache failed lookups in aot_get_method () to avoid the (slow) calls
to g_module_symbol.
- reworked the file format so it is now much smaller and needs
fewer relocation entries.
svn path=/trunk/mono/; revision=17993
Zoltan Varga [Mon, 8 Sep 2003 13:16:46 +0000 (13:16 -0000)]
2003-09-08 Zoltan Varga <vargaz@freemail.hu>
* image.c (load_class_names): Use a temporary hash table to hold the
namespaces in order to avoid doing many string comparisons.
* image.h: Fix typo.
* image.c class.c rawbuffer.c reflection.c threads.c verify.c domain.c:
Pass NULL instead of g_direct_equal to the GHashTable constructor
since the NULL case is short-circuited inside g_hash_table_lookup,
leading to better performance.
svn path=/trunk/mono/; revision=17992
Zoltan Varga [Mon, 8 Sep 2003 13:06:15 +0000 (13:06 -0000)]
2003-09-08 Zoltan Varga <vargaz@freemail.hu>
* metadata.c (mono_metadata_custom_attrs_from_index): New function to
obtain the first custom attribute for a given index. Depends on the
CustomAttribute table being sorted by the parent field.
* reflection.c (mono_custom_attrs_from_index): Use the new function
for better performance.
svn path=/trunk/mono/; revision=17991
Zoltan Varga [Mon, 8 Sep 2003 12:36:29 +0000 (12:36 -0000)]
2003-09-08 Zoltan Varga <vargaz@freemail.hu>
* tramp-x86.c (x86_magic_trampoline): Tell valgrind to recompile the
patched code.
svn path=/trunk/mono/; revision=17990
Zoltan Varga [Mon, 8 Sep 2003 12:29:22 +0000 (12:29 -0000)]
2003-09-08 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Added check for valgrind headers.
svn path=/trunk/mono/; revision=17989
César Natarén [Mon, 8 Sep 2003 05:22:00 +0000 (05:22 -0000)]
2003-09-07 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Context.cs: Added constructor and Document field.
* DocumentContext.cs: Added Name field.
* JSParser.cs: Integration of antlr's generated parser with
JSParser public API. ScriptBlock is now the principal data structure that
represents a Jscript .Net program.
* JSScanner.cs: Integration of antlr's generated lexer with
JSScanner public API.
svn path=/trunk/mcs/; revision=17988
Sebastien Pouliot [Mon, 8 Sep 2003 02:04:14 +0000 (02:04 -0000)]
2003-09-07 Sebastien Pouliot <spouliot@videotron.ca>
* Path.cs: RoutingFault not yet implemented (commented).
svn path=/trunk/mcs/; revision=17985
Sebastien Pouliot [Mon, 8 Sep 2003 02:02:35 +0000 (02:02 -0000)]
2003-09-07 Sebastien Pouliot <spouliot@videotron.ca>
* Referral.cs: Oops - didn't compile when WSE1 was defined
* ReferralCollection.cs: Oops - didn't compile when WSE1 was defined
svn path=/trunk/mcs/; revision=17984
Sebastien Pouliot [Mon, 8 Sep 2003 01:52:24 +0000 (01:52 -0000)]
2003-09-07 Sebastien Pouliot <spouliot@videotron.ca>
* Path.cs: Constructors are internal and Clone is non virtual in WSE1
(corcompare). Added missing properties (many are obsolete in WSE2).
* RoutingInputFilter.cs: Added missing TODO.
* RoutingOutputFilter.cs: Added missing TODO.
* Via.cs: Removed virtual from Clone for WSE1 (corcompare).
* ViaCollection.cs: Removed virtual from Clone/GetEnumerator/CopyTo/
SyncRoot for WSE1 (corcompare).
* WSRouting.cs: New. Routing constant strings.
svn path=/trunk/mcs/; revision=17983
Sebastien Pouliot [Mon, 8 Sep 2003 01:50:45 +0000 (01:50 -0000)]
2003-09-07 Sebastien Pouliot <spouliot@videotron.ca>
* Referral.cs: Removed virtual from Clone/GetXml/LoadXml for WSE1
(corcompare).
* ReferralCollection.cs: Removed virtual from LoadXml/GetXml/
GetEnumerator/CopyTo/Count/IsSynchronized/SyncRoot for WSE1
(corcompare)
* ReferralException.cs: Removed ReferralFormatException implementation
and added ReferralException.
* ReferralFormatException.cs: Moved code from ReferralException.cs and
added missing string constants.
* ReferralInputFilter.cs: Added missing TODO.
* ReferralOutputFilter.cs: Added missing TODO.
svn path=/trunk/mcs/; revision=17982
Ben Maurer [Sun, 7 Sep 2003 21:55:47 +0000 (21:55 -0000)]
Dont make function call to StringBuffer
svn path=/trunk/mcs/; revision=17981
Ben Maurer [Sun, 7 Sep 2003 21:38:21 +0000 (21:38 -0000)]
more optimization
svn path=/trunk/mcs/; revision=17980
Ben Maurer [Sun, 7 Sep 2003 19:40:30 +0000 (19:40 -0000)]
Optimize
svn path=/trunk/mcs/; revision=17979
Martin Baulig [Sun, 7 Sep 2003 17:48:58 +0000 (17:48 -0000)]
Merged from MCS.
svn path=/trunk/mcs/; revision=17978
Martin Baulig [Sun, 7 Sep 2003 17:46:26 +0000 (17:46 -0000)]
2003-09-07 Martin Baulig <martin@ximian.com>
* report.cs (Error, Warning): Added overloaded versions which take
a `params object[] args' and call String.Format().
svn path=/trunk/mcs/; revision=17977
Martin Baulig [Sun, 7 Sep 2003 17:33:45 +0000 (17:33 -0000)]
2003-09-07 Martin Baulig <martin@ximian.com>
* decl.cs (DeclSpace..ctor): Don't call
NamespaceEntry.DefineName() here; do it in RecordDecl() which is
called from Tree.RecordDecl(). Fixes the CS0101 reporting.
(DeclSpace.RecordDecl): New method.
* tree.cs (Tree.RecordDecl): Call ds.RecordDecl().
svn path=/trunk/mcs/; revision=17976
Martin Baulig [Sun, 7 Sep 2003 16:09:16 +0000 (16:09 -0000)]
Added error -217.
svn path=/trunk/mcs/; revision=17974
Martin Baulig [Sun, 7 Sep 2003 16:08:55 +0000 (16:08 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=17973
Martin Baulig [Sun, 7 Sep 2003 16:08:21 +0000 (16:08 -0000)]
2003-09-07 Martin Baulig <martin@ximian.com>
* generic.cs (ConstructedType.ResolveAsTypeStep): Report a CS8217
if the number of type parameters doesn't match.
svn path=/trunk/mcs/; revision=17972
Martin Baulig [Sun, 7 Sep 2003 14:59:09 +0000 (14:59 -0000)]
2003-09-07 Martin Baulig <martin@ximian.com>
* class.c (mono_class_init): If we're a generic instance, inflate
all our methods instead of loading them from the image.
(mono_class_from_generic): Set `class->methods = gklass->methods'.
svn path=/trunk/mono/; revision=17970
Dennis Hayes [Sun, 7 Sep 2003 09:17:53 +0000 (09:17 -0000)]
signture fixes
svn path=/trunk/mcs/; revision=17966
Dennis Hayes [Sun, 7 Sep 2003 06:25:35 +0000 (06:25 -0000)]
signiture fixes
svn path=/trunk/mcs/; revision=17965
Dennis Hayes [Sun, 7 Sep 2003 04:47:48 +0000 (04:47 -0000)]
signiture fixes
svn path=/trunk/mcs/; revision=17964
Dennis Hayes [Sun, 7 Sep 2003 03:03:03 +0000 (03:03 -0000)]
signture fixes.
svn path=/trunk/mcs/; revision=17963
Sebastien Pouliot [Sun, 7 Sep 2003 02:24:47 +0000 (02:24 -0000)]
2003-09-06 Sebastien Pouliot <spouliot@videotron.ca>
* Microsoft.Web.Services.dll.sources: Added stubbed input/output soap
filters for Routing and Referral so Configuration can be compiled.
svn path=/trunk/mcs/; revision=17962
Dennis Hayes [Sun, 7 Sep 2003 02:23:34 +0000 (02:23 -0000)]
signiture fixes
svn path=/trunk/mcs/; revision=17961