Ben Maurer [Tue, 16 Sep 2003 00:39:19 +0000 (00:39 -0000)]
compliance work: attribset
svn path=/trunk/mcs/; revision=18120
Ben Maurer [Mon, 15 Sep 2003 23:43:52 +0000 (23:43 -0000)]
2003-09-15 Ben Maurer <bmaurer@users.sourceforge.net>
* GenericOutputter.cs: Output attributes in order recieved; not
required by spec, but useful for running test cases.
svn path=/trunk/mcs/; revision=18119
Duncan Mak [Mon, 15 Sep 2003 22:43:56 +0000 (22:43 -0000)]
Update the version to 0.27 for the interim release
svn path=/trunk/mono/; revision=18117
Duncan Mak [Mon, 15 Sep 2003 22:42:27 +0000 (22:42 -0000)]
Update version to 0.27 for the interim release
svn path=/trunk/mcs/; revision=18115
Lluis Sanchez [Mon, 15 Sep 2003 21:16:24 +0000 (21:16 -0000)]
* daemon.c: In compare_process(), discard handles already signalled.
svn path=/trunk/mono/; revision=18114
Rafael Teixeira [Mon, 15 Sep 2003 19:37:07 +0000 (19:37 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=18113
Martin Baulig [Mon, 15 Sep 2003 19:27:45 +0000 (19:27 -0000)]
Added -218 invalid contraints clause.
svn path=/trunk/mcs/; revision=18112
Martin Baulig [Mon, 15 Sep 2003 18:57:27 +0000 (18:57 -0000)]
2003-09-15 Martin Baulig <martin@ximian.com>
* cs-parser.jay: Fix grammar wrt. type_parameter_constraints.
* generic.cs (Constraints.Resolve): New public method; this is
called to resolve the constraint types and to check whether all
the constraints are correct.
(Constraints.Types): New public property.
(TypeParameter.Resolve): New public method; resolves all the
type's constraints.
* class.cs (TypeContainer.DefineType): Call
TypeParameter.Resolve() before actually defining the type.
svn path=/trunk/mcs/; revision=18111
Martin Baulig [Mon, 15 Sep 2003 18:26:47 +0000 (18:26 -0000)]
Merged from MCS.
svn path=/trunk/mcs/; revision=18110
Miguel de Icaza [Mon, 15 Sep 2003 17:46:26 +0000 (17:46 -0000)]
Flush
svn path=/trunk/mono/; revision=18109
Martin Baulig [Mon, 15 Sep 2003 16:50:42 +0000 (16:50 -0000)]
2003-09-15 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.DefineType): Added an error flag to
avoid reporting duplicate CS0146's ("class definition is
circular.").
* driver.cs (Driver.MainDriver): Abort if
RootContext.ResolveTree() reported any errors.
svn path=/trunk/mcs/; revision=18108
Zoltan Varga [Mon, 15 Sep 2003 13:59:36 +0000 (13:59 -0000)]
2003-09-15 Zoltan Varga <vargaz@freemail.hu>
* icall.c (ves_icall_Type_IsArrayImpl): Added MONO_ARCH_SAVE_REGS.
svn path=/trunk/mono/; revision=18105
Zoltan Varga [Mon, 15 Sep 2003 13:58:11 +0000 (13:58 -0000)]
2003-09-15 Zoltan Varga <vargaz@freemail.hu>
* appdomain.h domain.c (MonoDomain): Added new hashtable to store the
class init trampolines.
svn path=/trunk/mono/; revision=18104
Zoltan Varga [Mon, 15 Sep 2003 10:39:30 +0000 (10:39 -0000)]
2003-09-15 Zoltan Varga <vargaz@freemail.hu>
* TODO: New todo item.
svn path=/trunk/mono/; revision=18103
Zoltan Varga [Mon, 15 Sep 2003 09:12:45 +0000 (09:12 -0000)]
2003-09-15 Zoltan Varga <vargaz@freemail.hu>
* tramp-x86.c (x86_class_init_trampoline): New trampoline function
which calls mono_runtime_class_init and patches the call site to
avoid further calls.
(mono_arch_create_class_init_trampoline): New arch specific function
to create a class init trampoline.
(create_trampoline_code): Generalized so it can create
class init trampolines as well.
* mini.c (helper_sig_class_init_trampoline): New helper variable.
(mono_create_class_init_trampoline): New function to create and cache
class init trampolines.
(mono_find_class_init_trampoline_by_addr): New function to lookup the
vtable given the address of a class init trampoline. Used by the
patching process.
(mono_codegen): Generate a call to a trampoline instead of
mono_runtime_class_init in LDSFLD[A].
(mono_codegen): Add relocations for the new trampoline.
* mini.h mini-x86.c aot.c: Added a new relocation type:
MONO_PATCH_INFO_CLASS_INIT.
* mini.h: Bump AOT version number.
* aot.c: Create a copy of the loaded code instead of using the original
so methods which call each other will be close in memory, improving
cache behaviour.
svn path=/trunk/mono/; revision=18102
Zoltan Varga [Mon, 15 Sep 2003 08:25:35 +0000 (08:25 -0000)]
2003-09-15 Zoltan Varga <vargaz@freemail.hu>
* exceptions-x86.c (mono_arch_has_unwind_info): Back out the previous
patch since it breaks the regression tests.
svn path=/trunk/mono/; revision=18101
Zoltan Varga [Mon, 15 Sep 2003 07:29:03 +0000 (07:29 -0000)]
2003-09-15 Zoltan Varga <vargaz@freemail.hu>
* exceptions-x86.c (mono_arch_has_unwind_info): Added explicit check
for the register saving instruction sequence since the
frame_state_for function in glibc 2.3.2 don't seem to detect it.
svn path=/trunk/mono/; revision=18100
Oleg Tkachenko [Sun, 14 Sep 2003 22:01:24 +0000 (22:01 -0000)]
Newlines normalizing
svn path=/trunk/mcs/; revision=18096
Sebastien Pouliot [Sun, 14 Sep 2003 20:31:44 +0000 (20:31 -0000)]
2003-09-14 Sebastien Pouliot <spouliot@videotron.ca>
* AllTests.cs: New. Common methods to compare DateTimes and longs.
* ReceivedCollectionTest.cs: New. Unit tests for ReceivedCollection.
* ReceivedTest.cs: New. Unit test for Received.
* TimestampFormatExceptionTest.cs: Unit test for TimestampFormatException.
* TimestampInputFilterTest.cs: Unit test for TimestampInputFilter.
* TimestampOutputFilterTest.cs: Unit test for TimestampOutputFilter.
* TimestampTest.cs: Unit test for Timestamp.
* WSTimestampTest.cs: Unit test for WSTimestamp.
svn path=/trunk/mcs/; revision=18095
Oleg Tkachenko [Sun, 14 Sep 2003 19:39:25 +0000 (19:39 -0000)]
Outputter fixup
svn path=/trunk/mcs/; revision=18093
Sebastien Pouliot [Sun, 14 Sep 2003 18:38:38 +0000 (18:38 -0000)]
2003-09-14 Sebastien Pouliot <spouliot@videotron.ca>
* ConfigurationBaseTest.cs: New. Test all WSE1 static protected methods.
* FilterConfigurationTest.cs: New. Test presence of default input/output
SOAP filters.
* WebServicesConfigurationTest.cs: New. Test FilterConfiguration.
svn path=/trunk/mcs/; revision=18090
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