mono.git
14 years agoClean up some whitespace in the output
Raja R Harinath [Tue, 30 Mar 2010 08:59:36 +0000 (08:59 -0000)]
Clean up some whitespace in the output

* main.c (pinvoke_flags_map): Add a few trailing spaces.
* util.c (flags): Simplify.

verified whitespace changes are non-significant with 'diff -b'

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

14 years agoMake util.c:flags() stricter -- don't silently ignore unknown flags
Raja R Harinath [Tue, 30 Mar 2010 08:59:22 +0000 (08:59 -0000)]
Make util.c:flags() stricter -- don't silently ignore unknown flags

* get.c (field_flags_map): Add empty entries for
HAS_FIELD_MARSHAL, HAS_DEFAULT and HAS_FIELD_RVA.
* main.c (method_flags_map): Add empty entry for HAS_SECURITY.
* util.c (flags): Remove known flags from 'code' in loop.  Any
leftover flags are printed as "unknown-flag-xx".

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

14 years agoPrepare for util.c:flags() to be stricter
Raja R Harinath [Tue, 30 Mar 2010 08:59:04 +0000 (08:59 -0000)]
Prepare for util.c:flags() to be stricter

* main.c (pinvoke_flags): Remove cset and cconv flags before passing onto flags().
(method_flags): Likewise with access flags.
* get.c (field_flags): Likewise.
(get_method_impl_flags): Likewise, with code_type and managed_type flags.

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

14 years ago* get.c (managed_impl_flags): Add 'nooptimization' flag.
Raja R Harinath [Tue, 30 Mar 2010 08:58:50 +0000 (08:58 -0000)]
* get.c (managed_impl_flags): Add 'nooptimization' flag.

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

14 years agoupdate monodis-wrapper.in to reflect new libmono location
Raja R Harinath [Tue, 30 Mar 2010 08:58:36 +0000 (08:58 -0000)]
update monodis-wrapper.in to reflect new libmono location

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

14 years ago2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Mar 2010 07:35:56 +0000 (07:35 -0000)]
2010-03-30  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : for faults, use fault namespace, not that of
  ReplyAction. Added FIXME comment regarding dispatcher.

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

14 years ago2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Mar 2010 07:34:18 +0000 (07:34 -0000)]
2010-03-30  Atsushi Enomoto  <atsushi@ximian.com>

* FaultConverter.cs : check envelope version, not addressing version.

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

14 years ago2010-03-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 30 Mar 2010 07:31:57 +0000 (07:31 -0000)]
2010-03-30  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : use correct buffer size.

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

14 years ago2010-03-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Mar 2010 05:27:31 +0000 (05:27 -0000)]
2010-03-30  Zoltan Varga  <vargaz@gmail.com>

* CustomAttributeBuilder.cs: Fix the calls to IsValidType, some were passing
in DeclaringType instead of PropertyType/FieldType.

* CustomAttributeType.cs (IsValidType): Implement proper checking for reference
types. Fixes #591788.

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

14 years agoFirst part of bug fix for Joachim's bug
Miguel de Icaza [Tue, 30 Mar 2010 04:05:28 +0000 (04:05 -0000)]
First part of bug fix for Joachim's bug

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

14 years ago2010-03-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Mar 2010 03:30:19 +0000 (03:30 -0000)]
2010-03-30  Zoltan Varga  <vargaz@gmail.com>

* CustomAttributeBuilder.cs (IsValidType): Call Enum.GetUnderlyingType () for
dynamic enums to avoid crashes in the unmanaged code. Fixes #591800.

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

14 years ago2010-03-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 30 Mar 2010 03:26:59 +0000 (03:26 -0000)]
2010-03-30  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Enum_get_underlying_type): Don't crash on
unfinished/broken typebuilders.

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

14 years ago2010-03-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 30 Mar 2010 03:14:27 +0000 (03:14 -0000)]
2010-03-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: New test for ParseExact/TryParseExact.

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

14 years ago2010-03-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 30 Mar 2010 03:13:17 +0000 (03:13 -0000)]
2010-03-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: Implement all the overloads of both TryParseExact and
ParseExact methods, by detecting the specific semantic changes in the
parse process, so we can properly re-utilize our new approach. This
included indicating our parser its culture sensitiveness, usage of colon as
day separator fallback or as a precise separator, and other minor bits.
We are only missing composite parsing right now.

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

14 years ago2010-03-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Mar 2010 23:21:23 +0000 (23:21 -0000)]
2010-03-30  Zoltan Varga  <vargaz@gmail.com>

* arm/*.sh: Remove bash dependency.

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

14 years ago2010-03-29 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 29 Mar 2010 22:00:18 +0000 (22:00 -0000)]
2010-03-29  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Use the same heuristic for the LOS target that we use
        for the minor section allowance.

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

14 years ago2010-03-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Mar 2010 21:34:56 +0000 (21:34 -0000)]
2010-03-29  Zoltan Varga  <vargaz@gmail.com>

* mph.h: Applied some changes from the openbsd ports tree to fix openbsd
support.

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

14 years ago2010-03-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 29 Mar 2010 20:34:24 +0000 (20:34 -0000)]
2010-03-29  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomainSetup.cs: Add new (FX4 and SL4) SetCompatibilitySwitches
method (empty is good enough for moonlight testing)
* Environment.cs: Expose MyVideos in Moonlight build

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

14 years ago* metadata-verify.c (INVALID_METHOD_IMPLFLAG_BITS): Allow bit 6 "NoOptimization".
Raja R Harinath [Mon, 29 Mar 2010 18:45:14 +0000 (18:45 -0000)]
* metadata-verify.c (INVALID_METHOD_IMPLFLAG_BITS): Allow bit 6 "NoOptimization".

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

14 years agoFix 'compiler-tests'
Raja R Harinath [Mon, 29 Mar 2010 18:45:00 +0000 (18:45 -0000)]
Fix 'compiler-tests'

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

14 years agoconfigure: Add support for Haiku
Andreas Färber [Mon, 29 Mar 2010 17:54:04 +0000 (17:54 -0000)]
configure: Add support for Haiku

  Not Just For Monkeys
  Common Runtime Is Purpose
  For Mono To Be
                   -- Andreas F.

* configure.in: Add support for Haiku

v1 -> v2:
* Don't set have_visibility_hidden=no (pointed out by Ingo Weinhold)
* Update platform_win32=no -> host_win32=no

This commit is licensed under the MIT X11 license;
the Haiku poem is licensed under the CC Attribution license.

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

14 years ago2010-03-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 29 Mar 2010 16:59:22 +0000 (16:59 -0000)]
2010-03-29  Marek Habersack  <mhabersack@novell.com>

* GridView.cs: main table must be created and added to the
controls collection before any OnRowCreated event is fired.

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

14 years ago2010-03-29 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 29 Mar 2010 14:28:03 +0000 (14:28 -0000)]
2010-03-29  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/AssemblyStripper.cs: optimize.

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

14 years ago2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Mar 2010 14:01:33 +0000 (14:01 -0000)]
2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>

* FaultConverter.cs : implemented TryCreateException().

* FaultConverterTest.cs : added more TryCreateException() tests.

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

14 years ago2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Mar 2010 13:06:47 +0000 (13:06 -0000)]
2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>

* MetadataResolverTest.cs : enable working tests.

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

14 years ago2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Mar 2010 12:52:52 +0000 (12:52 -0000)]
2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>

* EndpointIdentityTest.cs, EndpointAddress10Test.cs :
  enable working tests.

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

14 years ago2010-03-29 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 29 Mar 2010 12:52:03 +0000 (12:52 -0000)]
2010-03-29  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Count bytes allocated with heavy statistics.

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

14 years ago2010-03-29 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 29 Mar 2010 12:51:10 +0000 (12:51 -0000)]
2010-03-29  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: More detailed time statistics.

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

14 years ago2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Mar 2010 12:48:29 +0000 (12:48 -0000)]
2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>

* XmlTypeMapping.cs, XmlReflectionImporter.cs: XmlRoot takes higher
  priority to XmlSchemaProvider QName.
  This fixes WCF EndpointAddress serialization.

* XmlSerializerTests.cs : test for XmlRoot and XmlSchemaProvider
  QName conflict case.

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

14 years ago2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Mar 2010 12:07:37 +0000 (12:07 -0000)]
2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>

* MessageHeaderTest.cs : enable one, add not-working cosmetic one.

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

14 years ago2010-03-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 29 Mar 2010 11:56:03 +0000 (11:56 -0000)]
2010-03-29  Sebastien Pouliot  <sebastien@ximian.com>

* DirectoryInfo.cs, FileInfo.cs: Moonlight needs the default ctor
to decorate them with [SecuritySafeCritical] for corclr
inheritance rules

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

14 years ago2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Mar 2010 11:20:22 +0000 (11:20 -0000)]
2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>

* MessageBufferTest.cs : enable not-working test.

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

14 years ago2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Mar 2010 11:19:23 +0000 (11:19 -0000)]
2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>

* XmlQualifiedName.cs : do not reject names in no namespace.

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

14 years agotools/sqlmetal/AssemblyInfo.cs: Make internals visible to the sqlmetal testsuite.
Raja R Harinath [Mon, 29 Mar 2010 10:46:03 +0000 (10:46 -0000)]
tools/sqlmetal/AssemblyInfo.cs: Make internals visible to the sqlmetal testsuite.
class/System.Data.Linq/src/DbLinq/System.Data.Linq/Assembly/AssemblyInfo.cs: Likewise.

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

14 years agoMon Mar 29 11:52:34 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 29 Mar 2010 09:55:04 +0000 (09:55 -0000)]
Mon Mar 29 11:52:34 CEST 2010 Paolo Molaro <lupus@ximian.com>

* gc-internal.h, sgen-gc.c, threads.c, utils/mono-hash.c:
fix the user defined mark interface to pass a pointer
to the object location and not the object itself.

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

14 years ago2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Mar 2010 08:41:07 +0000 (08:41 -0000)]
2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>

* MessageFault.cs : cosmetic method name clarification.

* MessageFaultTest.cs : enable previous test.

(made wrong commit in the previous test changelog)

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

14 years ago2010-03-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Mar 2010 07:43:14 +0000 (07:43 -0000)]
2010-03-29  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReaderBodyWriter.cs, Message.cs, MessageImpl.cs, BodyWriter.cs:
  fix BodyWriter buffering that dropped in-scope namespaces and thus
  caused problem on resolving QNames.

* MessageFaultTest.cs : enable previous test.

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

14 years ago2010-03-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 29 Mar 2010 01:25:59 +0000 (01:25 -0000)]
2010-03-29  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (jit_end): Send type loads for types loaded before the VMStart
event is sent. Fixes #591733.

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

14 years agorevert
Geoff Norton [Sun, 28 Mar 2010 22:35:24 +0000 (22:35 -0000)]
revert

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

14 years agorevert
Geoff Norton [Sun, 28 Mar 2010 22:33:40 +0000 (22:33 -0000)]
revert

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

14 years ago2010-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sat, 27 Mar 2010 16:27:20 +0000 (16:27 -0000)]
2010-03-27 Gonzalo Paniagua Javier <gonzalo@novell.com>

* HttpWebRequest.cs: when PreAuthenticate is true, don't remove the
existing authorization related headers until we know we have a
replacement. Fixes bug #591633.

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

14 years ago2010-03-27 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 27 Mar 2010 07:00:28 +0000 (07:00 -0000)]
2010-03-27 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_method_body_get_object): Release
the method header before the call to CACHE_OBJECT since
this is a macro that returns.

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

14 years ago2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 27 Mar 2010 07:00:20 +0000 (07:00 -0000)]
2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (inflate_generic_type): mono_metadata_type_dup
already dupes array information, the g_memdup was just
leaking memory.

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

14 years ago2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 27 Mar 2010 01:22:25 +0000 (01:22 -0000)]
2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Add stack_peek function. Fix CEE_DUP
to not read from invalid memory if push did expand
the stack.

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

14 years ago2010-03-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 26 Mar 2010 23:54:05 +0000 (23:54 -0000)]
2010-03-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpanTest.cs: New assertion in our exception order test, to
assert that int32 overflow error has higher precedence in both 2.0 and
4.0 profiles.

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

14 years ago2010-03-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 26 Mar 2010 23:49:36 +0000 (23:49 -0000)]
2010-03-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TimeSpan.cs: We always give higher precedence to the first found
error, but for versions before 4.0 we need to give a higher one to
per-element overflow *specifically* (as opposed to int32 overflow,
which remains the same). This is not needed for 4.0, so report
per-element overflow as a normal error.
This should fix a compatibility case, as well as simplifying the code.

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

14 years agofix msvc build.
Jonathan Pobst [Fri, 26 Mar 2010 23:30:19 +0000 (23:30 -0000)]
fix msvc build.

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

14 years ago2010-03-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Mar 2010 23:14:57 +0000 (23:14 -0000)]
2010-03-27  Zoltan Varga  <vargaz@gmail.com>

* mono-ehash.c: Rename this to mono-hash.c.

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

14 years ago2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Mar 2010 22:58:05 +0000 (22:58 -0000)]
2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Remove old table verification code that has
been superseeded by the new metadata verifier.

* verify.h: Remove mono_image_verify_tables from the public
API.

* pedump.c: Fix for removed bits.

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

14 years ago2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Mar 2010 22:41:02 +0000 (22:41 -0000)]
2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

* invalid_branch_in_between_prefix_and_instruction.il:
* invalid_empty_filter_block.il:
* make_endfilter_test.sh
* make_endfinally_test.sh: Silence which when gsed is not found.

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

14 years ago2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Mar 2010 22:40:53 +0000 (22:40 -0000)]
2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Allocate stack slows lazily to reduce stack usage
in case of methods with huge stacks. Reduces memory consumption
for mcs yyparse from 459Mb to 1.8Mb.

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

14 years ago2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Mar 2010 22:35:19 +0000 (22:35 -0000)]
2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

        * Assembly.cs: Add IsDynamic.

2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

        * AssemblyBuilder.cs: Add IsDynamic.

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

14 years ago2010-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Mar 2010 21:44:33 +0000 (21:44 -0000)]
2010-03-26  Zoltan Varga  <vargaz@gmail.com>

* mini-posix.c (SIG_HANDLER_SIGNATURE): Handle the case when ctx is NULL on
OpenBSD.

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

14 years ago2010-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Mar 2010 21:36:39 +0000 (21:36 -0000)]
2010-03-26  Zoltan Varga  <vargaz@gmail.com>

* mono-ehash.c (rehash): Avoid function calls as macro arguments.

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

14 years ago2010-03-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 21:25:24 +0000 (21:25 -0000)]
2010-03-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* threadpool.c: don't try executing items from domains being
unloaded. Fixes appdomain-async-invoke test.

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

14 years agotypo
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 21:15:45 +0000 (21:15 -0000)]
typo

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

14 years agotypos
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 21:15:33 +0000 (21:15 -0000)]
typos

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

14 years ago2010-03-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 20:55:48 +0000 (20:55 -0000)]
2010-03-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* threadpool.c: spin while the threadpool initializes.
* mono-wsq.c: if the WSQ has not been initialized or has been shut
down, don't do anything.

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

14 years agoFix the moonlight build
Geoff Norton [Fri, 26 Mar 2010 20:45:50 +0000 (20:45 -0000)]
Fix the moonlight build

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

14 years agoChange the other place where threads_starting_up is created too.
Zoltan Varga [Fri, 26 Mar 2010 20:23:46 +0000 (20:23 -0000)]
Change the other place where threads_starting_up is created too.

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

14 years ago2010-03-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 20:13:23 +0000 (20:13 -0000)]
2010-03-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ServicePointManager.cs: errors parsing the certificate don't prevent
calling the callback now. Exceptions thrown parsing the certificate
are printed to stderr in case they are library errors.

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

14 years ago2010-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Mar 2010 20:05:55 +0000 (20:05 -0000)]
2010-03-26  Zoltan Varga  <vargaz@gmail.com>

* threads.c (mono_thread_create_internal): Set the GC type of the
threads_starting_up hash table.

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

14 years agofix msvc build.
Jonathan Pobst [Fri, 26 Mar 2010 19:49:16 +0000 (19:49 -0000)]
fix msvc build.

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

14 years ago2010-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Mar 2010 19:44:32 +0000 (19:44 -0000)]
2010-03-26  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (mono_debugger_agent_init): Set the GC type of the
thread_to_tls hash table.

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

14 years ago2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Mar 2010 19:15:39 +0000 (19:15 -0000)]
2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

* AssemblyBuilder.cs: Implement v4 GetSatelliteAssembly,
ManifestModule, GlobalAssemblyCache.

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

14 years ago2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Mar 2010 19:15:31 +0000 (19:15 -0000)]
2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

* AssemblyBuilder.cs: Implement v4 GetReferencedAssemblies
and GetLoadedModules.

2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

* AssemblyBuilderTest.cs: Test GetReferencedAssemblies
and GetLoadedModules.

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

14 years ago2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Mar 2010 19:15:22 +0000 (19:15 -0000)]
2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoAssembly.cs:
* Assembly.cs: Add missing MonoTODO.

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

14 years ago2010-03-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Mar 2010 19:15:13 +0000 (19:15 -0000)]
2010-03-26 Rodrigo Kumpera  <rkumpera@novell.com>

* Assembly.cs: Add v4 ==, != and GetHashCode ()

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

14 years ago2010-03-26 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 18:58:24 +0000 (18:58 -0000)]
2010-03-26 Gonzalo Paniagua Javier <gonzalo@novell.com>

* threadpool.c: reset 'state' to avoid returning non-null when the
event type is not found.

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

14 years agoFri Mar 26 19:44:40 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Mar 2010 18:46:03 +0000 (18:46 -0000)]
Fri Mar 26 19:44:40 CET 2010 Paolo Molaro <lupus@ximian.com>

* Makefile.am, mono-hash.c: removed mono-hash.c, since now
mono-ehash.c is GC-aware it doesn't make sense to keep two
implementations.

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

14 years agoFri Mar 26 19:03:09 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Mar 2010 18:05:14 +0000 (18:05 -0000)]
Fri Mar 26 19:03:09 CET 2010 Paolo Molaro <lupus@ximian.com>

* sgen-gc.c: make copy_object () take the address of the
slot holding the reference. This allows saving memory stores
when not needed and it allows keeping track of oldspace->nursery
references for the card table code.

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

14 years ago2010-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Mar 2010 17:37:34 +0000 (17:37 -0000)]
2010-03-26  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am: Disable testbundle for now as it depends on having a system mono.

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

14 years agofix NET_2_1 build (poor lone else)
Sebastien Pouliot [Fri, 26 Mar 2010 17:23:03 +0000 (17:23 -0000)]
fix NET_2_1 build (poor lone else)

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

14 years agoDisable partial sharing until the issue blocking moon could be fixed.
Zoltan Varga [Fri, 26 Mar 2010 17:17:31 +0000 (17:17 -0000)]
Disable partial sharing until the issue blocking moon could be fixed.

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

14 years ago2010-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Mar 2010 17:14:23 +0000 (17:14 -0000)]
2010-03-26  Zoltan Varga  <vargaz@gmail.com>

* image-writer.c (bin_writer_emit_writeout): Fix the size of the got.plt
section. Fixes #591000.

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

14 years ago2010-03-26 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 26 Mar 2010 16:40:08 +0000 (16:40 -0000)]
2010-03-26  Miguel de Icaza  <miguel@novell.com>

* RowEnumerableDataReader.cs: Applied patch from Tony Fish fixing
bug #591397

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

14 years agoPatch from Jay R Wren to drop assemblies that are no longer part of Mono 2.8
Miguel de Icaza [Fri, 26 Mar 2010 16:33:18 +0000 (16:33 -0000)]
Patch from Jay R Wren to drop assemblies that are no longer part of Mono 2.8

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

14 years ago2010-03-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Mar 2010 16:12:51 +0000 (16:12 -0000)]
2010-03-26  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Add a --enable-system-aot option to control the generation of
AOT images during the build.

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

14 years ago2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2010 16:06:02 +0000 (16:06 -0000)]
2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* FaultConverterTest.cs, MessageFaultTest.cs : add new and not-working
  tests.

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

14 years ago2010-03-26 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 26 Mar 2010 15:50:36 +0000 (15:50 -0000)]
2010-03-26  Mark Probst  <mark.probst@gmail.com>

* mono-semaphore.h (MONO_SEM_POST): Fix on Darwin.

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

14 years agofix msvc build.
Jonathan Pobst [Fri, 26 Mar 2010 14:57:27 +0000 (14:57 -0000)]
fix msvc build.

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

14 years agoMade the check more transparent
Marek Safar [Fri, 26 Mar 2010 14:53:03 +0000 (14:53 -0000)]
Made the check more transparent

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

14 years ago2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2010 14:50:46 +0000 (14:50 -0000)]
2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* FaultConverter.cs : do implement OnTryCreateFaultMessage() to work
  with certain Exception types.

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

14 years ago2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2010 14:47:28 +0000 (14:47 -0000)]
2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* Message.cs : fix explanation on CreateMessage() overloads.

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

14 years ago2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2010 14:45:34 +0000 (14:45 -0000)]
2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* MessageFault.cs : Write Subcode element correctly and fix wrong
  Code/Value/Subcode element relationship. Give better error message.

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

14 years ago2010-03-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 26 Mar 2010 14:38:20 +0000 (14:38 -0000)]
2010-03-26  Marek Safar  <marek.safar@gmail.com>

* cs-parser.jay: Report invalid constraint types.

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

14 years agoNew test.
Marek Safar [Fri, 26 Mar 2010 14:37:44 +0000 (14:37 -0000)]
New test.

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

14 years agoNew test.
Marek Safar [Fri, 26 Mar 2010 14:36:40 +0000 (14:36 -0000)]
New test.

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

14 years ago2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2010 14:18:47 +0000 (14:18 -0000)]
2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* HttpRequestChannel.cs : ok, no need for conditional code path.

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

14 years ago2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2010 14:17:48 +0000 (14:17 -0000)]
2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* AddressingVersion.cs : add fault action namespace.

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

14 years ago2010-03-26 Andreas Faerber <andreas.faerber@web.de>
Mark Probst [Fri, 26 Mar 2010 14:15:08 +0000 (14:15 -0000)]
2010-03-26  Andreas Faerber  <andreas.faerber@web.de>

* null-gc.c (mono_gc_invoke_with_gc_lock): Fix function name.

Code is contributed under MIT/X11 license.

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

14 years ago2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2010 13:56:39 +0000 (13:56 -0000)]
2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* XmlReader.cs, XmlQualifiedName.cs : ReadElementContentAs() when
  used for qname, treats non-prefixed name as in default namespace.

* XmlReaderCommonTests.cs : added test for ReadElementContentAs() for
  qname, with default namespace.

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

14 years agochangelog changes
Veerapuram Varadhan [Fri, 26 Mar 2010 13:45:50 +0000 (13:45 -0000)]
changelog changes

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

14 years ago2010-03-26 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Fri, 26 Mar 2010 13:45:38 +0000 (13:45 -0000)]
2010-03-26  Veerapuram Varadhan  <vvaradhan@novell.com>

    ** Fixes #564833/580736
    * DbDataAdapter.cs (*Command): Fix for .NET compatibility which
    supports both type of adapters with/without discrete command
    instances.

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

14 years ago2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 26 Mar 2010 12:30:14 +0000 (12:30 -0000)]
2010-03-26  Sebastien Pouliot  <sebastien@ximian.com>

* HttpRequestChannel.cs: There is no WebHeaderCollection.Add
method in SL API

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

14 years ago2010-03-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 26 Mar 2010 12:26:45 +0000 (12:26 -0000)]
2010-03-26  Sebastien Pouliot  <sebastien@ximian.com>

* moonlight_raw_corlib.dll.sources: Add MonoAssembly to ML build
since it contains parts of the Assembly features (partial class)

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

14 years agoFix mono version for git
Andreas Färber [Fri, 26 Mar 2010 10:56:10 +0000 (10:56 -0000)]
Fix mono version for git

When working on a Git repository that was cloned from a git-svn repo,
such as git://repo.or.cz/mono/afaerber.git, the version is currently
displayed as "tarball" in `mono -V`.

The method used to obtain the revision info from git since r134435 -
searching the log - is independent of git-svn, so no need to check
for .git/svn directory.

* Makefile.am (version.h): Check for pure .git directory only,
fixes SVN revision when using git without git-svn.

This commit is licensed under the MIT X11 license.

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

14 years agoFri Mar 26 11:33:17 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Mar 2010 10:47:00 +0000 (10:47 -0000)]
Fri Mar 26 11:33:17 CET 2010 Paolo Molaro <lupus@ximian.com>

* object.c, threads.c, threads-types.h, threads.h: make the
managed thread local storage references precisely tracked.

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

14 years ago2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2010 08:46:06 +0000 (08:46 -0000)]
2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : use FaultConverter as documented at:
  http://msdn.microsoft.com/en-us/library/ms789039%28VS.100%29.aspx
  (Though I found _no_ use of this FC class in the world...)

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

14 years ago2010-03-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Mar 2010 08:10:09 +0000 (08:10 -0000)]
2010-03-26  Atsushi Enomoto  <atsushi@ximian.com>

* MessageImpl.cs : pass IsFault argument in OnCreateBufferedCopy().

* MessageBufferTest.cs : add test for copy of IsFault value.

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