Sebastien Pouliot [Sat, 11 Apr 2009 13:16:44 +0000 (13:16 -0000)]
2009-04-11 Sebastien Pouliot <sebastien@ximian.com>
* DnsEndPoint_2_1.cs: Adjust exceptions wrt unit tests
* HttpWebRequest_2_1.cs: Fix Headers property wrt unit tests:
* WebClient_2_1.cs: Fix some properties
* WebHeaderCollection_2_1.cs: Adjust exceptions wrt unit tests
* WebRequest_2_1.cs: Add RegisterPrefix functionality and add
missing checks (fix unit tests)
svn path=/trunk/mcs/; revision=131507
Zoltan Varga [Sat, 11 Apr 2009 04:48:44 +0000 (04:48 -0000)]
2009-04-11 Zoltan Varga <vargaz@gmail.com>
* mini.h (MONO_AOT_FILE_VERSION): Bump this.
* aot-compiler.c (emit_extra_methods): Emit the wrapper method names in
a more compact format.
(mono_aot_wrapper_name): New function to return a unique name for a
wrapper method, also used by the AOT runtime.
* aot-runtime.c (find_extra_method_in_amodule): Update after the changes to
aot-compiler.c.
svn path=/trunk/mono/; revision=131502
Zoltan Varga [Sat, 11 Apr 2009 04:47:22 +0000 (04:47 -0000)]
2009-04-11 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_generic_class): Add the helper methods from T[]
when a ICollection<T> etc is encountered.
(add_generic_instances): Process method arguments/locals too.
(emit_trampolines): Emit unbox trampolines for extra methods too. Shorten
trampoline names.
* aot-runtime.c (mono_aot_get_unbox_trampoline): Handle extra methods too.
svn path=/trunk/mono/; revision=131501
Zoltan Varga [Fri, 10 Apr 2009 17:44:25 +0000 (17:44 -0000)]
2009-04-10 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Disable the AOT compiler if the JIT is disabled.
svn path=/trunk/mono/; revision=131480
Zoltan Varga [Fri, 10 Apr 2009 17:44:14 +0000 (17:44 -0000)]
2009-04-10 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py: Update to the latest archer api.
svn path=/trunk/mono/; revision=131479
Mark Probst [Fri, 10 Apr 2009 15:00:10 +0000 (15:00 -0000)]
Test case for invoking a proxy whose server's domain was unloaded.
2009-04-10 Mark Probst <mark.probst@gmail.com>
* appdomain-unload.cs: Test for invoking on a proxy whose server
domain was unloaded.
svn path=/trunk/mono/; revision=131473
Zoltan Varga [Fri, 10 Apr 2009 14:32:31 +0000 (14:32 -0000)]
2009-04-10 Zoltan Varga <vargaz@gmail.com>
* include/private/gc_locks.h (GC_test_and_set): Merge a change from libgc
7.1's libatomic-ops to fix the ppc build with gcc 4.4.
svn path=/trunk/mono/; revision=131471
Zoltan Varga [Fri, 10 Apr 2009 14:29:01 +0000 (14:29 -0000)]
2009-04-10 Zoltan Varga <vargaz@gmail.com>
* ArrayTest.cs: Add a test for ICollection:IsReadOnly on generic arrays.
svn path=/trunk/mcs/; revision=131470
Zoltan Varga [Fri, 10 Apr 2009 14:28:50 +0000 (14:28 -0000)]
2009-04-10 Zoltan Varga <vargaz@gmail.com>
* Array.cs: Make some of the InternalArray methods non-generic to cut down
on the number of instantiations. Add implementation for
ICollection:IsReadOnly.
svn path=/trunk/mcs/; revision=131469
Zoltan Varga [Fri, 10 Apr 2009 13:18:04 +0000 (13:18 -0000)]
2009-04-10 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (emit_type): Emit byref to reference types as 'int' for now.
svn path=/trunk/mono/; revision=131468
Gonzalo Paniagua Javier [Fri, 10 Apr 2009 04:47:18 +0000 (04:47 -0000)]
2009-04-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpResponseStream.cs: use the unsafe version when copying buffers.
svn path=/trunk/mcs/; revision=131451
Jonathan Pryor [Fri, 10 Apr 2009 02:06:01 +0000 (02:06 -0000)]
* mdoc-update.1: Document -L, -r options.
svn path=/trunk/mono/; revision=131449
Jonathan Pryor [Fri, 10 Apr 2009 01:49:42 +0000 (01:49 -0000)]
* Mono.Documentation/monodocer.cs: Using a single IAssemblyResolver is
an improvement, but doesn't fix all problems. In particular, some
assemblies will depend upon other assemblies to load (e.g. 3rd party
assemblies) but these dependent assemblies shouldn't be documented.
Add support for -r:ASSEMBLY and -L:DIRECTORY arguments to allow the
user to manually add to the assembly search path so that assemblies
can be found. Assemblies added via -r will NOT be documented.
svn path=/trunk/mcs/; revision=131447
Zoltan Varga [Fri, 10 Apr 2009 00:29:55 +0000 (00:29 -0000)]
2009-04-10 Zoltan Varga <vargaz@gmail.com>
* decompose.c (mono_decompose_opcode): Make this return a MonoInst*
representing the result of the decomposition. Nullify instructions
instead of setting them to OP_NOP since nops can't have registers
set.
svn path=/trunk/mono/; revision=131445
Rodrigo Kumpera [Thu, 9 Apr 2009 22:33:02 +0000 (22:33 -0000)]
2009-04-09 Rodrigo Kumpera <rkumpera@novell.com>
* valid_delegate_signature_with_generics.cs: Test for the compatibility
of delegate arguments when a function has a non generic type argument
and the delegate has a generic one.
svn path=/trunk/mono/; revision=131437
Rodrigo Kumpera [Thu, 9 Apr 2009 22:32:52 +0000 (22:32 -0000)]
2009-04-09 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_delegate_type_equal): Proper check MONO_TYPE_CLASS.
* verify.c (verify_ldftn_delegate): Improve error message.
svn path=/trunk/mono/; revision=131436
Zoltan Varga [Thu, 9 Apr 2009 20:42:28 +0000 (20:42 -0000)]
2009-04-09 Zoltan Varga <vargaz@gmail.com>
* thread6.cs: Fix race added by the last change.
svn path=/trunk/mono/; revision=131424
Bill Holmes [Thu, 9 Apr 2009 20:36:38 +0000 (20:36 -0000)]
2009-04-09 Bill Holmes <billholmes54@gmail.com>
* finalizer-abort.cs, finalizer-exception.cs, finalizer-exit.cs :
Adding a sleep to the waiting thread to give Mono on Windows an
opportunity to interrupt the thread via QueueUserAPC.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=131423
Zoltan Varga [Thu, 9 Apr 2009 20:16:57 +0000 (20:16 -0000)]
2009-04-09 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Disable the finalizer tests which only work under sgen.
svn path=/trunk/mono/; revision=131422
Zoltan Varga [Thu, 9 Apr 2009 19:43:53 +0000 (19:43 -0000)]
2009-04-09 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (mono_compile_assembly): Split this huge function into
smaller parts. Add 'nodebug' option to prevent generation of DWARF debug
info. Strip 'mapping symbols' on ARM.
* iltests.il.in (test_0_fconv_to_i): Disable this on ARM too.
svn path=/trunk/mono/; revision=131421
Carlos Alberto Cortez [Thu, 9 Apr 2009 18:33:37 +0000 (18:33 -0000)]
2009-04-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: The default instance StringFormat field used to draw our
items should use the StringFormatFlags.NoWrap value, so it doesn't try
to put in a different line the text that doesn't fit our bounds, but
show it partially.
Fixes #475581.
svn path=/trunk/mcs/; revision=131415
Raja R Harinath [Thu, 9 Apr 2009 18:26:11 +0000 (18:26 -0000)]
* reflection.c (my_mono_class_from_mono_type): Remove.
svn path=/trunk/mono/; revision=131414
Raja R Harinath [Thu, 9 Apr 2009 18:25:49 +0000 (18:25 -0000)]
Prepare to reduce memory usage of owner-less generic parameters (1/n)
* metadata/class-internals.h (MonoGenericParam): Carve out pklass, name, flags
and constraints fields into ...
(MonoGenericParamInfo): ... this.
(mono_generic_param_info, mono_generic_container_get_param_info): New accessors.
* metadata/{class.c, debug-helpers.c, icall.c}: Update to changes.
* metadata/{metadata.c, reflection.c, verify.c}: Likewise.
* dis/get.c: Use new MonoGenericParamInfo accessors.
svn path=/trunk/mono/; revision=131413
Zoltan Varga [Thu, 9 Apr 2009 18:05:32 +0000 (18:05 -0000)]
2009-04-09 Zoltan Varga <vargaz@gmail.com>
* genmdesc.pl: Applied patch by Martin Fuzzey (mfuzzey@parkeon.com). Sync
this with the native genmdesc.
svn path=/trunk/mono/; revision=131412
Jonathan Pryor [Thu, 9 Apr 2009 17:52:52 +0000 (17:52 -0000)]
* executable.make, library.make: Move the include for tests.make so
that DISTFILES can be properly set (and thus properly distribute the
*_test.dll.sources file). This allows unit tests to actually build
and run when building from the tarball.
svn path=/trunk/mcs/; revision=131409
Rusty Howell [Thu, 9 Apr 2009 16:49:59 +0000 (16:49 -0000)]
* Update --help output. Now shows default values
svn path=/trunk/mono/; revision=131406
Carlos Alberto Cortez [Thu, 9 Apr 2009 16:40:26 +0000 (16:40 -0000)]
2009-04-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* CheckedListbox.cs: When executing OnItemClick check that the index
is different to -1 before trying to retrieve an item using that value.
Fixes a ArgumentOutOfRangeException thrown when the horizontal
scrollbar was visible but not needed, and then a clicked was received
on its area.
svn path=/trunk/mcs/; revision=131404
Sebastien Pouliot [Thu, 9 Apr 2009 15:52:58 +0000 (15:52 -0000)]
In .:
2009-04-09 Sebastien Pouliot <sebastien@ximian.com>
* System.Net.dll.sources: Remove some unneeded files for the
build. Add the SL2 specific enums, instead of using the existing
ones from System.dll. Include Socket_2_1.cs (from System) and use
the AssemblyInfo.cs for this assembly
In System.Net:
2009-04-09 Sebastien Pouliot <sebastien@ximian.com>
* DnsEndPoint_2_1.cs: Fix header.
* HttpStatusCode_2_1.cs: New. SL2 (short) version of the enum
* HttpWebRequest_2_1.cs: Add missing members
* WebExceptionStatus_2_1.cs: New. SL2 (short) version of the enum
* WebHeaderCollection_2_1.cs: Implement S.C.IEnumerable
svn path=/trunk/mcs/; revision=131400
Zoltan Varga [Thu, 9 Apr 2009 15:42:20 +0000 (15:42 -0000)]
2009-04-09 Zoltan Varga <vargaz@gmail.com>
* debug-helpers.c (dis_one): Fix decoding of strings in dynamic images.
svn path=/trunk/mono/; revision=131399
Sebastien Pouliot [Thu, 9 Apr 2009 15:35:21 +0000 (15:35 -0000)]
2009-04-09 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Adjust attributes for 2.1
svn path=/trunk/mcs/; revision=131398
Zoltan Varga [Thu, 9 Apr 2009 15:31:54 +0000 (15:31 -0000)]
2009-04-09 Zoltan Varga <vargaz@gmail.com>
* marshal.c (get_runtime_invoke_type): Share enums with their base types.
svn path=/trunk/mono/; revision=131397
Sebastien Pouliot [Thu, 9 Apr 2009 15:22:34 +0000 (15:22 -0000)]
Remove classes that are not in the final SL2 release. Add some SL2 short-versions of FX enums.
svn path=/trunk/mcs/; revision=131394
Sebastien Pouliot [Thu, 9 Apr 2009 15:06:42 +0000 (15:06 -0000)]
In System.Net.Sockets:
2009-04-09 Sebastien Pouliot <sebastien@ximian.com>
* Socket.cs: Split socket class into two files (this one and the
new Socket_2_1.cs). This let us remove (some) existing #if in the
sources and avoid (a lot) of new ones for Moonlight.
* Socket_2_1.cs: Just enough of socket for NET_2_1. This helps
the tuner not to bring a lot of extra stuff (some visible)
into Moonlight.
* SocketAsyncEventArgs.cs: Ifdef out some cases for NET_2_1 so
Moonlight can use it's own (smaller) SocketAsyncOperation enum
In .:
2009-04-09 Sebastien Pouliot <sebastien@ximian.com>
* System.dll.sources: Add System.Net.Sockets/Socket_2_1.cs
svn path=/trunk/mcs/; revision=131392
Zoltan Varga [Thu, 9 Apr 2009 13:45:43 +0000 (13:45 -0000)]
2009-04-09 Zoltan Varga <vargaz@gmail.com>
* marshal.c (get_runtime_invoke_type): Share pointers with ints and
booleans with sbytes.
svn path=/trunk/mono/; revision=131386
Gonzalo Paniagua Javier [Thu, 9 Apr 2009 05:22:27 +0000 (05:22 -0000)]
2009-04-09 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ecma-provider.cs: remove 'using'.
* provider.cs: if there's a directory with the base name, read the
files from there instead of from the .zip file.
svn path=/trunk/mcs/; revision=131376
Rodrigo Kumpera [Thu, 9 Apr 2009 00:45:20 +0000 (00:45 -0000)]
2009-04-08 Rodrigo Kumpera <rkumpera@novell.com>
* valid_nested_access_with_multi_array_instance.cs:
* valid_nested_access_with_array_instance.cs: Regression tests for
#493068.
svn path=/trunk/mono/; revision=131373
Rodrigo Kumpera [Thu, 9 Apr 2009 00:45:04 +0000 (00:45 -0000)]
2009-04-08 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (can_access_instantiation): Verify accesibility of element types
for arrays and pointers.
* class.c (can_access_type): Return true if the target class is VAR or MVAR.
* class.c (mono_method_can_access_method_full): Fix typos in the documentation.
Fixes #493068.
svn path=/trunk/mono/; revision=131372
Rodrigo Kumpera [Thu, 9 Apr 2009 00:44:49 +0000 (00:44 -0000)]
2009-04-08 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_invoke_method): Improve error messages.
svn path=/trunk/mono/; revision=131371
Jonathan Pryor [Thu, 9 Apr 2009 00:03:36 +0000 (00:03 -0000)]
* Mono.Documentation/monodocer.cs: Use a single IAssemblyResolver
shared amongst all AssemblyDefinitions to resolve assembly/type
references with Cecil. Otherwise, if we have deeply nested
directories with cross-directory assembly dependencies, then Cecil
won't find the necessary assemblies (e.g. b/bin/Debug/b.dll has a
type which inherits from a/bin/Debug/a.dll -- here, we'll have two
separate AssemblyDefinitions, and when b.dll's AssemblyDefinition
tries to resolve types from a.dll, it fails).
See: http://lists.ximian.com/pipermail/mono-devel-list/2009-April/031646.html
svn path=/trunk/mcs/; revision=131370
Jonathan Pryor [Wed, 8 Apr 2009 20:31:14 +0000 (20:31 -0000)]
* AssemblyInfo.cs: Building against the local AssemblyInfo.cs broke
sqlmetal, as it couldn't find an IProcessor implementation (as the
local AssemblyInfo.cs was missing a [assembly: DbLinq] attribute).
Fix so that sqlmetal works again.
* Makefile: Actually enable NUnit tests.
svn path=/trunk/mcs/; revision=131358
Bill Holmes [Wed, 8 Apr 2009 20:12:23 +0000 (20:12 -0000)]
2009-04-08 Bill Holmes <billholmes54@gmail.com>
* verify.c: Fixing the MSVC build.
* aot-runtime.c: Fixing the MSVC build.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=131356
Bill Holmes [Wed, 8 Apr 2009 20:08:40 +0000 (20:08 -0000)]
2009-04-08 Bill Holmes <billholmes54@gmail.com>
* libmono.vcproj : Adding mini/mini-gc to the project.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=131355
Jonathan Pryor [Wed, 8 Apr 2009 20:07:26 +0000 (20:07 -0000)]
* **/* (svn:ignore): Ignore generated files and directories.
* src/**/*: Flush; syncs to DbLinq r1043.
svn path=/trunk/mcs/; revision=131354
Andrés G. Aragoneses [Wed, 8 Apr 2009 19:42:32 +0000 (19:42 -0000)]
* tuner/Mono.Tuner.csproj:
* linker/Mono.Linker.csproj: Update.
svn path=/trunk/mcs/; revision=131352
Andrés G. Aragoneses [Wed, 8 Apr 2009 19:36:25 +0000 (19:36 -0000)]
* tuner/Mono.Tuner.csproj:
* linker/Mono.Linker.csproj: Update.
svn path=/trunk/mcs/; revision=131346
Carlos Alberto Cortez [Wed, 8 Apr 2009 18:35:01 +0000 (18:35 -0000)]
2009-04-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MaskedTextBox.cs: If Insert is pressed, change the internal
overwrite mode for our default value.
Fixes some bits of #477395.
svn path=/trunk/mcs/; revision=131344
Sebastien Pouliot [Wed, 8 Apr 2009 17:42:08 +0000 (17:42 -0000)]
2009-04-08 Sebastien Pouliot <sebastien@ximian.com>
* security-core-clr.c: Simplify get_reflection_caller not to call
mono_method_get_last_managed (another stack walk) and adjust the
callers to handle a (should not happen) NULL return value.
svn path=/trunk/mono/; revision=131339
Zoltan Varga [Wed, 8 Apr 2009 14:53:08 +0000 (14:53 -0000)]
2009-04-08 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Pass i1/i2 arguments as i4 since
JITted code depends on it.
svn path=/trunk/mono/; revision=131328
Raja R Harinath [Wed, 8 Apr 2009 11:32:16 +0000 (11:32 -0000)]
Add accessors to some MonoGenericParam fields
* dis/get.c: Use new MonoGenericParam accessors.
* metadata/class-internals.h (mono_generic_param_owner): New accessor.
(mono_generic_param_num): Likewise.
(mono_type_get_generic_param_owner): New helper.
(mono_type_get_generic_param_num): New helper.
* metadata/{class.c, icall.c, metadata.c, reflection.c, verify.c}: Use them.
* mini/aot-compiler.c: Use new MonoGenericParam accessors.
svn path=/trunk/mono/; revision=131315
Marek Habersack [Wed, 8 Apr 2009 11:32:08 +0000 (11:32 -0000)]
2009-04-08 Marek Habersack <mhabersack@novell.com>
* ScriptComponentDescriptor.cs: properties/events/references must
be serialized in alphabetical order. This matches what .NET
does. Some 3rd party controls depend upon this fact.
svn path=/trunk/mcs/; revision=131314
Raja R Harinath [Wed, 8 Apr 2009 05:33:06 +0000 (05:33 -0000)]
Reduce memory usage and improve correctness wrt MonoGenericParam
* aot-runtime.c (decode_klass_ref): Simplify generic parameter
handing. Avoid allocating MonoGenericParams, but use the ones in
the container itself.
svn path=/trunk/mono/; revision=131295
Raja R Harinath [Wed, 8 Apr 2009 05:32:45 +0000 (05:32 -0000)]
Add a wrapper for MonoGenericContainer.type_params field
* dis/get.c: Use MonoGenericContainer accessor to get the contained
MonoGenericParam.
* metadata/class-internals.h (mono_generic_container_get_param): New wrapper.
* metadata/{class.c, icall.c, metadata.c, verify.c}: Use it.
svn path=/trunk/mono/; revision=131294
Atsushi Eno [Wed, 8 Apr 2009 04:13:56 +0000 (04:13 -0000)]
2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
* CodeWriter.cs : move into namespace.
svn path=/trunk/mcs/; revision=131285
Atsushi Eno [Wed, 8 Apr 2009 03:45:57 +0000 (03:45 -0000)]
2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
* IdentityElement.cs, NetPeerTcpBindingElement.cs: implemented
OnApplyConfiguration().
svn path=/trunk/mcs/; revision=131282
Atsushi Eno [Wed, 8 Apr 2009 03:45:22 +0000 (03:45 -0000)]
2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
* NetTcpBindingTest.cs : fix wrong value expectation.
svn path=/trunk/mcs/; revision=131281
Atsushi Eno [Wed, 8 Apr 2009 03:44:14 +0000 (03:44 -0000)]
2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
* NetPeerTcpBinding.cs : ListenIPAddress is IPAddress here too.
svn path=/trunk/mcs/; revision=131280
Atsushi Eno [Wed, 8 Apr 2009 03:43:02 +0000 (03:43 -0000)]
2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
* PeerTransportBindingElement.cs : ListenIPAddress is IPAddress.
svn path=/trunk/mcs/; revision=131279
Atsushi Eno [Wed, 8 Apr 2009 03:40:15 +0000 (03:40 -0000)]
2009-04-08 Atsushi Enomoto <atsushi@ximian.com>
* PeerTransportSecuritySettings.cs : new.
* PeerSecuritySettings.cs : Transport was missing.
* System.ServiceModel.dll.sources:
added PeerTransportSecuritySettings.cs.
* Makefile: use -r:System.Core in non-2.1 build too.
svn path=/trunk/mcs/; revision=131278
Raja R Harinath [Wed, 8 Apr 2009 03:03:17 +0000 (03:03 -0000)]
Revert r131263 which caused regressions
svn path=/trunk/mono/; revision=131276
Raja R Harinath [Wed, 8 Apr 2009 01:50:09 +0000 (01:50 -0000)]
Fix gtest-252.cs
* verify.c (mono_type_is_valid_type_in_context): Rewrite to use
the standard case/loop. In particular, don't complain about
references to generic type definitions.
svn path=/trunk/mono/; revision=131270
Raja R Harinath [Wed, 8 Apr 2009 00:24:14 +0000 (00:24 -0000)]
update known issues
svn path=/trunk/mcs/; revision=131268
Miguel de Icaza [Tue, 7 Apr 2009 23:54:59 +0000 (23:54 -0000)]
2009-04-07 Miguel de Icaza <miguel@novell.com>
* tasklets.c: Return exceptions in the out argument.
svn path=/trunk/mono/; revision=131267
Miguel de Icaza [Tue, 7 Apr 2009 23:43:19 +0000 (23:43 -0000)]
2009-04-07 Miguel de Icaza <miguel@novell.com>
* Mono.Tasklets/Mono.Tasklets/Continuation.cs: Implement
IDisposable.
svn path=/trunk/mcs/; revision=131266
Zoltan Varga [Tue, 7 Apr 2009 22:52:38 +0000 (22:52 -0000)]
2009-04-08 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Fix alignment in the LOCALLOC_IMM
opcode. Use pointer types in more places instead of casting them to
integers.
* mini-llvm-cpp.cpp (mono_llvm_create_ee): Create a pass manager to run
optimizations.
(mono_llvm_optimize_method): New helper function to optimize a method.
* method-to-ir.c (mono_emit_widen_call_res): Extract the call result
widening code so it could be called from more places.
(mono_method_to_ir): Call mono_emit_widne_call_res () in several more
code paths in the call opcodes.
svn path=/trunk/mono/; revision=131265
Rodrigo Kumpera [Tue, 7 Apr 2009 22:30:00 +0000 (22:30 -0000)]
2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
* loader.c (method_from_memberref): If ít's a memberref to a typespec inflate
the signature and search the inflated type.
We can't blindly search the generic type definition or expect that the signature
will be inflated as both options can happen. The only solution is to search the
inflated type against the inflated signature.
Fixes #492778.
svn path=/trunk/mono/; revision=131263
Miguel de Icaza [Tue, 7 Apr 2009 22:13:52 +0000 (22:13 -0000)]
Add to the build
svn path=/trunk/mcs/; revision=131262
Zoltan Varga [Tue, 7 Apr 2009 21:49:54 +0000 (21:49 -0000)]
2009-04-07 Zoltan Varga <vargaz@gmail.com>
* debug-helpers.c (dis_one): Decode string arguments.
svn path=/trunk/mono/; revision=131261
Zoltan Varga [Tue, 7 Apr 2009 20:00:13 +0000 (20:00 -0000)]
2009-04-07 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py (ObjectPrinter.__init__): Update to latest archer api.
svn path=/trunk/mono/; revision=131255
Ankit Jain [Tue, 7 Apr 2009 19:04:23 +0000 (19:04 -0000)]
Fix bug #491828.
* ToolTask.cs (LogEventsFromTextOutput): Log even in case of
unrecognized errors.
svn path=/trunk/mcs/; revision=131250
Ankit Jain [Tue, 7 Apr 2009 18:34:18 +0000 (18:34 -0000)]
Fix bug #487155.
* StringHelper.cs: Handle octal values in strings.
Patch from Stephen Gennard (stephen@gennard.net)
svn path=/trunk/mcs/; revision=131249
Paolo Molaro [Tue, 7 Apr 2009 15:59:02 +0000 (15:59 -0000)]
Mon Apr 6 14:19:54 CEST 2009 Paolo Molaro <lupus@ximian.com>
* exceptions-amd64.c, mini-amd64.h: amd64 support code for continuations.
svn path=/trunk/mono/; revision=131239
Rodrigo Kumpera [Tue, 7 Apr 2009 15:00:14 +0000 (15:00 -0000)]
2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
* pedump.c (dump_verify_info): Dump type name correctly.
svn path=/trunk/mono/; revision=131235
Rodrigo Kumpera [Tue, 7 Apr 2009 14:35:47 +0000 (14:35 -0000)]
2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
* valid_eh_block_with_no_instructions_after.il: Regression test
for #492494.
svn path=/trunk/mono/; revision=131234
Rodrigo Kumpera [Tue, 7 Apr 2009 14:35:36 +0000 (14:35 -0000)]
2009-04-07 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_method_verify): Don't init code slots for exception boundaries if they
are larger than code size.
This can happen in valid code if the try/catch block is not followed by any instruction
and do a backward branch on the leave instruction.
Fixes #492494.
svn path=/trunk/mono/; revision=131233
Marek Habersack [Tue, 7 Apr 2009 13:05:43 +0000 (13:05 -0000)]
2009-04-07 Marek Habersack <mhabersack@novell.com>
* ScriptComponentDescriptor.cs: new values replace old in
AddEntry.
svn path=/trunk/mcs/; revision=131225
Atsushi Eno [Tue, 7 Apr 2009 12:11:53 +0000 (12:11 -0000)]
2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
* TcpTransportBindingElement.cs : check build-ability before
actually building channels.
* ConnectionOrientedTransportBindingElement.cs : fixed build-ability
conditions according to MSDN.
* TcpTransportBindingElementTest.cs : more can-build tests.
* NetTcpBindingTest.cs : new test.
* System.ServiceModel_test.dll.sources: added NetTcpBindingTest.cs.
svn path=/trunk/mcs/; revision=131222
Atsushi Eno [Tue, 7 Apr 2009 12:07:05 +0000 (12:07 -0000)]
2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : add duplex channels as channel candidates.
svn path=/trunk/mcs/; revision=131221
Atsushi Eno [Tue, 7 Apr 2009 12:05:46 +0000 (12:05 -0000)]
added IOnlineStatus.
svn path=/trunk/mcs/; revision=131220
Atsushi Eno [Tue, 7 Apr 2009 12:02:21 +0000 (12:02 -0000)]
2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
* IPeerResolverContract.cs: fix SessionMode value.
(bah, bad manner; no ChangeLog previously.)
* CustomPeerResolverServiceTest.cs : added contract check.
svn path=/trunk/mcs/; revision=131219
Raja R Harinath [Tue, 7 Apr 2009 11:10:14 +0000 (11:10 -0000)]
disable nunit tests till they compile
svn path=/trunk/mcs/; revision=131217
Raja R Harinath [Tue, 7 Apr 2009 11:06:59 +0000 (11:06 -0000)]
Ensure Test/ exists in dist tarballs and checkouts
svn path=/trunk/mcs/; revision=131216
Marek Habersack [Tue, 7 Apr 2009 10:56:27 +0000 (10:56 -0000)]
2009-04-07 Marek Habersack <mhabersack@novell.com>
* Control.cs: ApplyTheme - make sure Page is not null before using
it. Fixes bug #492666
svn path=/trunk/mcs/; revision=131214
Marek Habersack [Tue, 7 Apr 2009 10:44:56 +0000 (10:44 -0000)]
2009-04-07 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: GenerateExpressionFromString doesn't
assume that the passed member is a property anymore. Fixes bug
#492252
svn path=/trunk/mcs/; revision=131210
Atsushi Eno [Tue, 7 Apr 2009 08:57:40 +0000 (08:57 -0000)]
2009-04-07 Atsushi Enomoto <atsushi@ximian.com>
* XmlDictionaryReaderQuotasElement.cs, NetTcpBindingElement.cs:
implement OnApplyConfiguration().
svn path=/trunk/mcs/; revision=131202
Marek Habersack [Tue, 7 Apr 2009 08:44:21 +0000 (08:44 -0000)]
Code formatting
svn path=/trunk/mcs/; revision=131201
Marek Habersack [Tue, 7 Apr 2009 07:05:06 +0000 (07:05 -0000)]
2009-04-07 Marek Habersack <mhabersack@novell.com>
* TreeView.js: removed nodeText parameter from the JS calls.
* TreeView.cs: encode | characters into U+007C, so that
RaiseCallbackEvent doesn't get confused.
Removed nodeText parameter from the JS calls.
svn path=/trunk/mcs/; revision=131196
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 06:56:55 +0000 (06:56 -0000)]
2009-04-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ClientProxyHandler.cs: set cacheability to public.
svn path=/trunk/mcs/; revision=131195
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 03:38:57 +0000 (03:38 -0000)]
remove CWL
svn path=/trunk/mcs/; revision=131187
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 03:38:00 +0000 (03:38 -0000)]
2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TreeNode.cs: reset the path data for all child nodes too.
* TreeView.cs: HtmlAttribute encode the node text. When rebuilding the
node tree, set the correct index for the nodes so that the Path is
correct.
svn path=/trunk/mcs/; revision=131186
Jonathan Pryor [Tue, 7 Apr 2009 01:23:14 +0000 (01:23 -0000)]
* . (svn:ignore): Ignore generated files.
* AssemblyInfo.cs: Added; Assembly-level attributes for sqlmetal.exe.
* Makefile: Correct the "namespace" of the embedded resource files;
build NUnit tests for sqlmetal.exe.
* sqlmetal.exe.sources: Build against the local AssemblyInfo.cs, not
DbMetal's AssemblyInfo.cs file.
* sqlmetal_test.dll.sources: Added; source files for the NUnit test.
* Test/AssemblyInfo.cs: Added; Assembly-level attributes for the NUnit
test assembly.
svn path=/trunk/mcs/; revision=131184
Gonzalo Paniagua Javier [Tue, 7 Apr 2009 00:05:35 +0000 (00:05 -0000)]
2009-04-06 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpWebRequest.cs: send REST after PASV to avoid some servers
forgetting aboout it.
Bug #491590 fixed.
svn path=/trunk/mcs/; revision=131180
Rodrigo Kumpera [Mon, 6 Apr 2009 22:54:50 +0000 (22:54 -0000)]
2009-04-06 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_throw_with_unboxed_generic_argument.il: Regression test
for #487738.
svn path=/trunk/mono/; revision=131175
Rodrigo Kumpera [Mon, 6 Apr 2009 22:54:34 +0000 (22:54 -0000)]
2009-04-06 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_throw): Don't allow an unboxed generic param ar argument.
Fixes #487738.
svn path=/trunk/mono/; revision=131174
Gonzalo Paniagua Javier [Mon, 6 Apr 2009 21:41:57 +0000 (21:41 -0000)]
Contribute
svn path=/trunk/mcs/; revision=131166
Carlos Alberto Cortez [Mon, 6 Apr 2009 21:08:30 +0000 (21:08 -0000)]
2009-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: In EnsureVisible avoid any direct access to items if we
are using virtual mode - otherwise use the bounds stored in a specific
item in a given index. This is specially important when using groups
or when items are re-arranged, since the position in the items
collection can be different than that one being displayed.
Fixes the rest of ##491978.
svn path=/trunk/mcs/; revision=131163
Sebastien Pouliot [Mon, 6 Apr 2009 20:53:24 +0000 (20:53 -0000)]
2009-04-06 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Remove AllowPartiallyTrustedCallers from NET_2_1
build (not in SL2) and open our internals to System.Xml.Serialization
(only in NET_2_1) since MS SL2 SDK requires it. Test case @
http://demos.devexpress.com/AgDataGridDemos/
svn path=/trunk/mcs/; revision=131162
Zoltan Varga [Mon, 6 Apr 2009 20:52:45 +0000 (20:52 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* test-xdb.py: New file, tester script for xdb.
svn path=/trunk/mono/; revision=131161
Zoltan Varga [Mon, 6 Apr 2009 20:52:39 +0000 (20:52 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py (stringify_class_name): Handle classes without a namespace
correctly.
svn path=/trunk/mono/; revision=131160
Zoltan Varga [Mon, 6 Apr 2009 20:44:24 +0000 (20:44 -0000)]
Add .so files generated by AOT.
svn path=/trunk/mono/; revision=131159
Zoltan Varga [Mon, 6 Apr 2009 20:42:42 +0000 (20:42 -0000)]
2009-04-06 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py: Update after the changes to dwarfwriter.c.
svn path=/trunk/mono/; revision=131158