mono.git
14 years agoNew tests, updates
Marek Safar [Wed, 27 May 2009 14:12:28 +0000 (14:12 -0000)]
New tests, updates

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

14 years ago2009-05-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 27 May 2009 14:11:59 +0000 (14:11 -0000)]
2009-05-27  Marek Safar  <marek.safar@gmail.com>

* generic.cs, parameter.cs, decl.cs, ecore.cs, class.cs, delegate.cs
    cs-parser.jay, generic-mcs.cs: Report wrong variant types declarations.

* driver.cs, rootcontext.cs, report.cs: Add 3.0 language version
filter.

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

14 years ago2009-05-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 27 May 2009 12:24:13 +0000 (12:24 -0000)]
2009-05-27  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Disable USE_MUNMAP on ppc to work around #504411.

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

14 years ago2009-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 27 May 2009 11:43:29 +0000 (11:43 -0000)]
2009-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* XmlReaderSettings.cs: Set prohibitDtd when changing the value
of DtdProcessing. Will fix a few Moonlight DRT tests

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

14 years ago2009-05-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 27 May 2009 11:02:03 +0000 (11:02 -0000)]
2009-05-27  Zoltan Varga  <vargaz@gmail.com>

* AppDomain.cs (DoAssemblyResolve): Fix recursion detection. Fixes #507003.

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

14 years ago2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 May 2009 08:13:02 +0000 (08:13 -0000)]
2009-05-27  Atsushi Enomoto  <atsushi@ximian.com>

* ResolveInfo.cs : argument check.

* PeerCustomResolverBindingElement.cs : some argument check.

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

14 years ago2009-05-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 27 May 2009 07:38:08 +0000 (07:38 -0000)]
2009-05-27  Atsushi Enomoto  <atsushi@ximian.com>

* BinaryMessageEncoder.cs : the serializer somehow leaves binary
  xml open, so close the writer as well as open elements.
* TcpDuplexSessionChannel.cs : clear write buffer on each operation.
  Do not output EndRecord and SizedMessage at a time.

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

14 years ago2009-05-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 26 May 2009 22:51:11 +0000 (22:51 -0000)]
2009-05-26 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeTest.cs: test for bug #506757.

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

14 years ago2009-05-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 26 May 2009 22:48:01 +0000 (22:48 -0000)]
2009-05-26 Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c (ves_icall_Type_GetMethodsByName): Virtual methods should be
discarded based on their most specific definition so we set the method_slots
array before checking if the method is acceptable or not.

Fixes #506757.

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

14 years ago2009-05-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 26 May 2009 22:06:32 +0000 (22:06 -0000)]
2009-05-27  Zoltan Varga  <vargaz@gmail.com>

* CultureInfoTest.cs: Fix the net 1.1 build.

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

14 years ago2009-05-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 26 May 2009 22:04:27 +0000 (22:04 -0000)]
2009-05-27  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Disable the test_messages test as it fails on the
buildbot.

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

14 years ago2009-05-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 26 May 2009 21:09:23 +0000 (21:09 -0000)]
2009-05-26  Zoltan Varga  <vargaz@gmail.com>

* shared.c (_wapi_shm_file): Avoid creating a .wapi directory here, create
it in _wapi_shm_file_open (), since platforms using posix shm don't need it.

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

14 years ago2009-05-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 26 May 2009 21:09:14 +0000 (21:09 -0000)]
2009-05-26  Zoltan Varga  <vargaz@gmail.com>

* mini-sparc.c (add_outarg_load): Fix the sparc build.

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

14 years agoFree the old array when resizing a mono_ptr_array.
Mark Probst [Tue, 26 May 2009 21:05:26 +0000 (21:05 -0000)]
Free the old array when resizing a mono_ptr_array.

2009-05-26  Mark Probst  <mark.probst@gmail.com>

        * icall.c: Free the old array when resizing a mono_ptr_array.

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

14 years agor: spouliot
Andrés G. Aragoneses [Tue, 26 May 2009 20:00:02 +0000 (20:00 -0000)]
r: spouliot

2009-05-26  Andrés G. Aragoneses  <aaragoneses@novell.com>

        * AssemblyInfo.cs: Add InternalsVisibleTo for MoonAtkBridge
        under a MOON_A11Y_INTERNAL_HACK define.
* Makefile: Handling of the MOON_A11Y_INTERNAL_HACK env var.

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

14 years agoMakefile: Fixed dist from last commit here
Andrew Jorgensen [Tue, 26 May 2009 18:23:00 +0000 (18:23 -0000)]
Makefile: Fixed dist from last commit here

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

14 years agoUse mono_object_hash() for hashes with object keys.
Mark Probst [Tue, 26 May 2009 16:59:24 +0000 (16:59 -0000)]
Use mono_object_hash() for hashes with object keys.

2009-05-26  Mark Probst  <mark.probst@gmail.com>

        * reflection.c (create_dynamic_mono_image): Use mono_object_hash()
        for the hashes whose keys are managed objects.

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

14 years agoNew test.
Marek Safar [Tue, 26 May 2009 16:37:15 +0000 (16:37 -0000)]
New test.

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

14 years ago2009-05-26 Rodrigo Kumpera <rkumpera@novell.com>
Marek Safar [Tue, 26 May 2009 16:36:46 +0000 (16:36 -0000)]
2009-05-26  Rodrigo Kumpera  <rkumpera@novell.com>
Marek Safar  <marek.safar@gmail.com>

A fix for bug #377509
* parameter.cs: Use predefined and not empty name for implicit
setters.

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

14 years ago2009-05-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 26 May 2009 16:25:06 +0000 (16:25 -0000)]
2009-05-26  Zoltan Varga  <vargaz@gmail.com>

* CMakeLists.txt: Implement AC_OUTPUT, creation of config.make, etc.

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

14 years ago2009-05-26 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 26 May 2009 16:06:58 +0000 (16:06 -0000)]
2009-05-26  Mark Probst  <mark.probst@gmail.com>

        * Thread.cs: Don't set the execution context when creating a
        thread because the _ec member is thread static and we set the
        wrong one.  It's now set by the runtime.  We just provide the
        correct one.

        * Environment.cs: Bump corlib version.

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

14 years agoThe execution context is now set by the runtime.
Mark Probst [Tue, 26 May 2009 16:06:35 +0000 (16:06 -0000)]
The execution context is now set by the runtime.

2009-05-26  Mark Probst  <mark.probst@gmail.com>

        * object-internals.h, threads.c: Set the execution context on
        thread start here, not in corlib.

        * appdomain.c: Bump corlib version.

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

14 years agoNew file corresponding to r134765
Veerapuram Varadhan [Tue, 26 May 2009 16:04:53 +0000 (16:04 -0000)]
New file corresponding to r134765

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

14 years ago2009-05-26 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 26 May 2009 16:02:01 +0000 (16:02 -0000)]
2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>

* TdsComm.cs (Append):  When appending strings of length bigger than
output buffer, calculate and iterate over the strings according to
the output buffer length.  Fixes ArgumentOutOfRangeException.

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

14 years ago2009-05-26 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 26 May 2009 16:01:45 +0000 (16:01 -0000)]
2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>

* TdsBulkCopy.cs (WriteParameterInfo): Update default precision from 28 to 29.

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

14 years ago2009-05-26 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 26 May 2009 16:01:31 +0000 (16:01 -0000)]
2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>

* TdsComm.cs (Append): When appending smalldatetime values, cast value of
days to short instead of ushort.  Fixes Tds error in RPC packet.

* Tds70.cs (WriteParameterInfo): Instead of IsLargetType, compare only
the types that can take 0xFFFF as size if value is null.

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

14 years ago2009-05-26 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 26 May 2009 16:01:17 +0000 (16:01 -0000)]
2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>

* TdsMetaParameter.cs (GetMetaType): If param is Nullable, use IntN instead
of BigInt for column type.

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

14 years ago2009-05-26 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 26 May 2009 16:00:45 +0000 (16:00 -0000)]
2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #382734
* Tds80.cs: Consider queries with Parameters as RPCs and avoid formatting
param values as strings.  Fixes issues with locale specific string
formatting/conversions.

* TdsRpcProcId.cs: New - enum of rpc Ids to use with RPC packet type.

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

14 years ago2009-05-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 26 May 2009 15:58:33 +0000 (15:58 -0000)]
2009-05-26  Sebastien Pouliot  <sebastien@ximian.com>

* WebClient_2_1.cs: Add internal WebHeaderCollection. Change
signature for OpenPolicyReadAsync to take an addtional object
* WebResponse_2_1.cs: Add internal WebHeaderCollection

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

14 years ago2009-05-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 26 May 2009 14:24:21 +0000 (14:24 -0000)]
2009-05-26  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_method_code): Always write out C style symbols for
methods.

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

14 years ago2009-05-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 26 May 2009 12:42:15 +0000 (12:42 -0000)]
2009-05-26  Marek Habersack  <mhabersack@novell.com>

* Test/System.Web.UI/ScriptReferenceBaseTest.cs: added tests for
ReplaceExtension

* System.Web.Extensions_test.dll.sources: added
System.Web.UI/ScriptReferenceBaseTest.cs

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

14 years ago2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 May 2009 12:33:36 +0000 (12:33 -0000)]
2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs : there was a miscalculation on the
  length of the SizedMessage in the output.

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

14 years ago2009-05-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 26 May 2009 12:16:56 +0000 (12:16 -0000)]
2009-05-26  Marek Habersack  <mhabersack@novell.com>

* System.Web.Extensions.dll.sources: added
System.Web.UI/ScriptReferenceBase.cs

2009-05-26  Marek Habersack  <mhabersack@novell.com>

* ScriptReferenceBase.cs: implemented (3.5 SP1)

* ScriptReference.cs: now inherits from the ScriptReferenceBase
class. Implemented all the required methods, removed some
properties which now live in the base class.

* ScriptManager.cs: code refactoring - moved parts of script
registration code to ScriptReference

2009-05-26  Marek Habersack  <mhabersack@novell.com>

* ListControlDesigner.cs: updated to match MSDN specs, added 2.0
methods. Used in the latest AjaxControlToolkit.

2009-05-26  Marek Habersack  <mhabersack@novell.com>

* System.Design.dll.sources: added
System.Web.UI.Design.WebControls/ListControlDesigner.cs

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

14 years ago2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 May 2009 10:25:38 +0000 (10:25 -0000)]
2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>

* CommunicationObject.cs : use sane default timeout.
* PeerCustomResolverBindingElement.cs : check timeout arg sanity.
* TcpDuplexSessionChannel.cs : ditto.

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

14 years ago2009-05-26 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 26 May 2009 10:01:59 +0000 (10:01 -0000)]
2009-05-26  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: before including a file specified with the
<!--#include file="" --> directive, check if it's within the
current application's root.

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

14 years ago2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 May 2009 09:54:44 +0000 (09:54 -0000)]
2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs : It seems that buffered stream channel
  only accepts buffered messages, so do as such for write buffers.
  Add RelatesTo header.

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

14 years ago2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 May 2009 09:54:27 +0000 (09:54 -0000)]
2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>

* OperationContext.cs : IncomingMessage* properties should work
  for non-reply channels as well.

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

14 years ago2009-05-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 26 May 2009 07:55:32 +0000 (07:55 -0000)]
2009-05-26  Atsushi Enomoto  <atsushi@ximian.com>

* DuplexSessionChannelBase.cs, DuplexChannelBase.cs:
  rename from former to latter.

* System.ServiceModel.dll.sources: cosmetic file renaming.

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

15 years ago2009-05-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 26 May 2009 00:46:19 +0000 (00:46 -0000)]
2009-05-26  Zoltan Varga  <vargaz@gmail.com>

* CMakeLists.txt: implement arm fpu detection, add vfp detection as
well.

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

15 years ago * ColorDialog.cs: Actually add the help button to the form, so it can
Carlos Alberto Cortez [Tue, 26 May 2009 00:39:19 +0000 (00:39 -0000)]
* ColorDialog.cs: Actually add the help button to the form, so it can
be visible.
Fixes #478555.

2009-05-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

15 years ago2009-05-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 25 May 2009 22:51:36 +0000 (22:51 -0000)]
2009-05-26  Zoltan Varga  <vargaz@gmail.com>

* CMakeLists.txt: Add arm support.

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

15 years ago2009-05-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 25 May 2009 22:47:44 +0000 (22:47 -0000)]
2009-05-26  Zoltan Varga  <vargaz@gmail.com>

* CMakeLists.txt: New file.

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

15 years ago2009-05-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 25 May 2009 22:44:07 +0000 (22:44 -0000)]
2009-05-25 Rodrigo Kumpera  <rkumpera@novell.com>

* mini-x86.c (mono_arch_output_basic_block): Fix the precision of
long_conv_to_r_un to 64 bits.

* cpu-x86.md: Increase the instruction size due to the changes.

* iltests.il.in: Add regression test.

Fixes #467201.

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

15 years ago2009-05-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 25 May 2009 22:43:54 +0000 (22:43 -0000)]
2009-05-25 Rodrigo Kumpera  <rkumpera@novell.com>

* objects.cs: Move the previous test from basic.cs to here.

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

15 years agoThis my comment leftovers day
Rodrigo Kumpera [Mon, 25 May 2009 21:06:29 +0000 (21:06 -0000)]
This my comment leftovers day

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

15 years ago2009-05-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 25 May 2009 20:57:28 +0000 (20:57 -0000)]
2009-05-25 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_setup_fields): Don't mark simd types as having
16 bytes alignment as the whole runtime doesn't support.

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

15 years ago2009-05-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 25 May 2009 19:18:53 +0000 (19:18 -0000)]
2009-05-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* PrintPreviewDialog.cs: Don't use Dock.Fill for the
PrintPreviewControl, since it will be hidden in the top by our
toolbar. Use manual location and anchoring instead.
Fixes #474889.

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

15 years ago2009-05-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 25 May 2009 18:55:07 +0000 (18:55 -0000)]
2009-05-25 Rodrigo Kumpera  <rkumpera@novell.com>

* basic.cs: Add regression test for #506915.

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

15 years ago2009-05-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 25 May 2009 18:40:23 +0000 (18:40 -0000)]
2009-05-25 Rodrigo Kumpera  <rkumpera@novell.com>

* method-to-ir.c (mono_method_to_ir): When doing the ldobj+stobj
optimization we must check the bb of the first byte of stobj as
it's the only one set in cil_offset_to_bb.

Fixes #506915.

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

15 years agoForgot to report sturious printf
Rodrigo Kumpera [Mon, 25 May 2009 18:40:04 +0000 (18:40 -0000)]
Forgot to report sturious printf

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

15 years ago2009-05-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 25 May 2009 18:39:36 +0000 (18:39 -0000)]
2009-05-25 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (safe_read): Use endian safe read macros.

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

15 years ago2009-05-25 Michael Barker <mike@middlesoft.co.uk>
Michael Barker [Mon, 25 May 2009 18:37:34 +0000 (18:37 -0000)]
2009-05-25  Michael Barker  <mike@middlesoft.co.uk>

    * Removed amqp spec files and modified generated code to fix
licensing
    issues.

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

15 years ago2009-05-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 25 May 2009 16:15:17 +0000 (16:15 -0000)]
2009-05-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* FileDialog.cs: When saving the size of the dialog, use the
ClientSize instead of Size, so we have always the same size for the
form. Patch by Alex Shulgin.
Fixes #503064.

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

15 years ago2009-05-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 25 May 2009 14:44:05 +0000 (14:44 -0000)]
2009-05-25  Zoltan Varga  <vargaz@gmail.com>

* image-writer.c: Fix pointer directive on ppc64.

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

15 years ago2009-05-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 25 May 2009 14:08:04 +0000 (14:08 -0000)]
2009-05-25  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_create_ftnptr): Don't allocate from the code mempool since
it is read-only when using full aot.

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

15 years ago2009-05-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 25 May 2009 13:58:30 +0000 (13:58 -0000)]
2009-05-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MessageBox.cs: When showing the dialog call XplatUI.AudibleAlert to
show a beep, similar to what .net does.
Fixes #473725.

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

15 years ago2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 May 2009 13:14:30 +0000 (13:14 -0000)]
2009-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs : reader does not always return full
  buffer (depending on the stream).

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

15 years ago2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 May 2009 13:12:02 +0000 (13:12 -0000)]
2009-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* PeerNode.cs : if Resolve() returns no address, create a new peer
  address here, and shut it down when it is closed.

* PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.

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

15 years ago2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 May 2009 13:01:17 +0000 (13:01 -0000)]
2009-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* PeerCustomResolverBindingElement.cs : (Resolve) returned addresses
  could be null.

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

15 years ago2009-05-25 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 25 May 2009 12:38:37 +0000 (12:38 -0000)]
2009-05-25  Marek Habersack  <mhabersack@novell.com>

* UrlPattern.cs: removed - replaced by PatternParser below.

* RouteValueDictionaryExtensions.cs: added - some shortcuts for
using RouteValueDictionary in PatternParser

* Route.cs: use the new PatternParser.
Factored out ProcessConstraint into ProcessConstraintInternal so
that the latter can be used by the PatternParser class.
Added parameter checks in ProcessConstraint.

* PatternTokenType.cs: added

* PatternToken.cs: added a helper class for the pattern parser.

* PatternParser.cs: added. New implementation of url
parser/matcher/generator which fixes all URL isues known so
far. Fixes bug #504378

2009-05-25  Marek Habersack  <mhabersack@novell.com>

* System.Web.Routing_test.dll.sources: added
System.Web.Routing/AssertExtensions.cs

* System.Web.Routing.dll.sources: added
System.Web.Routing/PatternParser.cs
System.Web.Routing/PatternToken.cs
System.Web.Routing/PatternTokenType.cs
System.Web.Routing/RouteValueDictionaryExtensions.cs

removed
System.Web.Routing/UrlPattern.cs

2009-05-25  Marek Habersack  <mhabersack@novell.com>

* RouteTest.cs: added several tests for GetVirtualPath,
GetRouteData, ProcessConstraint and refactored some tests.

* RouteCollectionTest.cs: added several tests for GetVirtualPath

* AssertExtensions.cs: added some methods to make code testing for
exception throws look nicer.

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

15 years ago2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 May 2009 08:17:11 +0000 (08:17 -0000)]
2009-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* PeerResolverSerializationTest.cs : new test for general
  serialization tests.

* System.ServiceModel.dll_test.sources:
  added PeerResolverSerializationTest.cs.

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

15 years ago2009-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 May 2009 08:14:58 +0000 (08:14 -0000)]
2009-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationMap.cs, XmlFormatterSerializer.cs :
  collection types should not output xsi:type e.g. IList<T> should
  not exposed xsi:type as xsi:type=List`1.

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

15 years ago2009-05-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 25 May 2009 07:44:29 +0000 (07:44 -0000)]
2009-05-23  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryDictionaryReader.cs : fix regression on stream consumption
  excess.

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

15 years agoForgot this
Miguel de Icaza [Sun, 24 May 2009 16:59:34 +0000 (16:59 -0000)]
Forgot this

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

15 years ago2009-05-24 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 24 May 2009 16:27:19 +0000 (16:27 -0000)]
2009-05-24  Miguel de Icaza  <miguel@novell.com>

* Disable mono/docs build if we disabled the mcs build.

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

15 years agoReport glib in use as well
Miguel de Icaza [Sun, 24 May 2009 16:08:46 +0000 (16:08 -0000)]
Report glib in use as well

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

15 years ago2009-05-24 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 24 May 2009 14:06:26 +0000 (14:06 -0000)]
2009-05-24  Robert Jordan  <robertj@gmx.net>

* GenericTest.cs: differentiate between "Test(int)" and
"Test<int>(int)" to prove that the correct method is invoked.

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

15 years ago2009-05-24 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 24 May 2009 13:47:34 +0000 (13:47 -0000)]
2009-05-24  Robert Jordan  <robertj@gmx.net>

* GenericTest.cs (TestCrossAppDomainChannel): disable on MS.NET as
some generic calls do not seem to be supported anymore. It looks
like a bug, though, since the same tests are passing when performed
over the TCP channel.

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

15 years ago2009-05-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 24 May 2009 13:37:47 +0000 (13:37 -0000)]
2009-05-24  Zoltan Varga  <vargaz@gmail.com>

* image-writer.c (asm_writer_emit_section_change): Avoid using
.bss subsections on ppc too.

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

15 years ago2009-05-24 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 24 May 2009 12:46:29 +0000 (12:46 -0000)]
2009-05-24  Robert Jordan  <robertj@gmx.net>

* GenericTest.cs (TestTcpChannel): create a unique channel and
unregister it upon termination. Fixes issues that were uncovered
by the NUnit upgrade (see Atsushi's changelogs below).

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

15 years ago2009-05-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 24 May 2009 01:25:53 +0000 (01:25 -0000)]
2009-05-24  Zoltan Varga  <vargaz@gmail.com>

* */CMakeLists.txt: Add beginnings of a cmake based build system.

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

15 years ago2009-05-23 Michael Barker <mike@middlesoft.co.uk>
Michael Barker [Sat, 23 May 2009 17:30:32 +0000 (17:30 -0000)]
2009-05-23  Michael Barker  <mike@middlesoft.co.uk>

* QueueReferenceTest.cs: Incorrect namespace for test

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

15 years agofix name
Jb Evain [Sat, 23 May 2009 16:27:17 +0000 (16:27 -0000)]
fix name

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

15 years ago2009-05-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 23 May 2009 15:51:44 +0000 (15:51 -0000)]
2009-05-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ContainerControl.cs:
* MenuStrip.cs
* ToolStrip.cs: Implicit mnemonic processing should happen for every
ToolStrip child, not only for MenuStrip, so we are going to do that in
ToolStrip.ProcessMnemonic, where we already had that exactly
functionality, but we are only just checking that either this instance
is a ToolStripDropDownMenu instance or Alt has been pressed. Finally
remove the extra code, since we are not going to use it now.
Fixes the remaining bits of #503663.

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

15 years agoFix emit_pointer_unaligned ().
Zoltan Varga [Sat, 23 May 2009 14:33:51 +0000 (14:33 -0000)]
Fix emit_pointer_unaligned ().

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

15 years agofix the build
Geoff Norton [Sat, 23 May 2009 14:32:59 +0000 (14:32 -0000)]
fix the build

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

15 years agoFix the last change for real.
Zoltan Varga [Sat, 23 May 2009 14:21:08 +0000 (14:21 -0000)]
Fix the last change for real.

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

15 years ago2009-05-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 23 May 2009 14:13:46 +0000 (14:13 -0000)]
2009-05-23  Zoltan Varga  <vargaz@gmail.com>

* image-writer.c: Fix the definition of TARGET_ASM_....

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

15 years ago2009-05-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 23 May 2009 14:00:37 +0000 (14:00 -0000)]
2009-05-23  Zoltan Varga  <vargaz@gmail.com>

* image-writer.c: Fix the emission of assembler directives in the last
change.

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

15 years ago2009-05-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 23 May 2009 13:16:21 +0000 (13:16 -0000)]
2009-05-23  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_emit_exceptions): Increase the size of the
exception throwing code to accomodate ppc64.

* tramp-ppc.c (mono_arch_get_nullified_class_init_trampoline): Increase the
size to work on ppc64 too.

* mini-ppc.h (MonoCompileArch): Enable static rgctx trampolines on ppc64
too.

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

15 years ago2009-05-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 23 May 2009 10:26:31 +0000 (10:26 -0000)]
2009-05-23  Zoltan Varga  <vargaz@gmail.com>

* image-writer.c: Clean up the #ifdef hell a bit by adding defines for
the assembler dialect instead of using platform specific defines.

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

15 years ago2009-05-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 23 May 2009 00:45:00 +0000 (00:45 -0000)]
2009-05-22 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-blob-tests.md: More tests for method def signatures.

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

15 years ago2009-05-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 23 May 2009 00:44:51 +0000 (00:44 -0000)]
2009-05-22 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (is_valid_method_signature): Verify parts
of the return type. Provide an error message in case of failure.

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

15 years ago2009-05-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 23 May 2009 00:44:37 +0000 (00:44 -0000)]
2009-05-22 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-blob-tests.md: New file for blob signature tests.

* Makefile: Update for new test source.

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

15 years ago2009-05-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 23 May 2009 00:44:26 +0000 (00:44 -0000)]
2009-05-22 Rodrigo Kumpera  <rkumpera@novell.com>

* gen-md-tests.c: Added blob.i to make it easier to locate signatures to
mess around.

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

15 years ago2009-05-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 23 May 2009 00:44:16 +0000 (00:44 -0000)]
2009-05-22 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (is_valid_method_signature): Verify the call conv.

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

15 years ago2009-05-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 23 May 2009 00:44:03 +0000 (00:44 -0000)]
2009-05-22 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Include the size prefix in the bounds check.

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

15 years ago2009-05-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 May 2009 21:29:38 +0000 (21:29 -0000)]
2009-05-22  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Add new net 4.0 files.

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

15 years ago2009-05-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 May 2009 21:29:18 +0000 (21:29 -0000)]
2009-05-22  Zoltan Varga  <vargaz@gmail.com>

* Tuple.cs Tuples.cs: New files.

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

15 years ago2009-05-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 May 2009 21:28:58 +0000 (21:28 -0000)]
2009-05-22  Zoltan Varga  <vargaz@gmail.com>

* IStructuralComparable.cs IStructuralEquatable.cs: New files.

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

15 years agoforgot this one
Miguel de Icaza [Fri, 22 May 2009 21:12:34 +0000 (21:12 -0000)]
forgot this one

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

15 years agoUpdate parameters for PS3
Miguel de Icaza [Fri, 22 May 2009 21:06:06 +0000 (21:06 -0000)]
Update parameters for PS3

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

15 years ago2009-05-22 Michael Barker <mike@middlesoft.co.uk>
Michael Barker [Fri, 22 May 2009 20:58:37 +0000 (20:58 -0000)]
2009-05-22  Michael Barker  <mike@middlesoft.co.uk>

* man.1: Added documentation for MONO_MESSAGING_PROVIDER environment
variable.

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

15 years ago2009-05-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 22 May 2009 20:48:43 +0000 (20:48 -0000)]
2009-05-22  Miguel de Icaza  <miguel@novell.com>

* wapi_glob.c: Do not need sys/param.h anymore, we now use the
POSIX PATH_MAX instead of BSD's MAXPATHLEN

* handles.c: Do not pull a reference to sockets if they are
disabled.

* sockets.c: Allow for ports to define their own ioctlsocket.

* wthreads.c: Remove obsolete code that I recently introudced (the
hook for mono_register_thread_attr.

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

15 years ago2009-05-22 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 22 May 2009 20:44:26 +0000 (20:44 -0000)]
2009-05-22  Miguel de Icaza  <miguel@novell.com>

* icall.c: Remove warnings.

* mono-config.c: Allow for CONFIG_CPU to be set in config.h and
prevent auto-detection based on GCC defines.

Add PS3

* metadata-verify.c: Do not include signal.h

* generic-sharing.c, marshal.c: Add returns to avoid some warning
messages.  Not sure why the g_assert_not_reached is not enough to
quiet the compiler.

* appdomain.c: Remove code that is not used when
DISABLE_SHADOW_COPY is set.

* image.c: use g_getenv

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

15 years ago2009-05-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 May 2009 17:39:39 +0000 (17:39 -0000)]
2009-05-22  Zoltan Varga  <vargaz@gmail.com>

* corlib_test.dll.sources: Add System/LazyTest.cs.

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

15 years ago2009-05-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 May 2009 17:39:32 +0000 (17:39 -0000)]
2009-05-22  Zoltan Varga  <vargaz@gmail.com>

* LazyTest.cs: New file.

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

15 years ago2009-05-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 May 2009 17:39:24 +0000 (17:39 -0000)]
2009-05-22  Zoltan Varga  <vargaz@gmail.com>

* Lazy.cs LazyExecutionMode.cs Funcs.cs: New files.

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

15 years ago2009-05-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 May 2009 17:39:17 +0000 (17:39 -0000)]
2009-05-22  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Add System/{Lazy,LazyExecutionMode,Funcs}.cs for
NET 4.0.

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

15 years ago2009-05-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 22 May 2009 15:48:22 +0000 (15:48 -0000)]
2009-05-22  Zoltan Varga  <vargaz@gmail.com>

* AssemblyBuilder.cs (.ctor): Error out if the not yet supported
RunAndCollect flag was given.

* AssemblyBuilderAccess.cs: Add RunAndCollect flag for net 4.0.

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