mono.git
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

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

* HttpRequestContext.cs, AspNetRequestContext.cs : return HTTP 500
  for fault message.

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

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

* HttpRequestChannel.cs : create HttpResponseMessageProperty.

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

14 years agoReworked the threadpool. See individual ChangeLog entries for details.
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 03:12:56 +0000 (03:12 -0000)]
Reworked the threadpool. See individual ChangeLog entries for details.

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

14 years agoReworked the threadpool. See individual ChangeLog entries for details.
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 03:12:56 +0000 (03:12 -0000)]
Reworked the threadpool. See individual ChangeLog entries for details.

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

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

* aot-runtime.c: Apply some openbsd changes from openbsd ports.

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

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

* sockets.c: Apply some openbsd changes from openbsd ports.

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

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

* mono-proclib.c mono-semaphore.c: Apply some openbsd changes from openbsd
ports.

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

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

* configure.in: Apply some openbsd changes from openbsd ports.

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

14 years agoonly check for the Mac library file once
Gonzalo Paniagua Javier [Fri, 26 Mar 2010 02:57:36 +0000 (02:57 -0000)]
only check for the Mac library file once

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

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

* sgen-gc.c: More FIXME/TODO updates.

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

14 years ago2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 25 Mar 2010 23:47:29 +0000 (23:47 -0000)]
2010-03-25 Rodrigo Kumpera  <rkumpera@novell.com>

* Assembly.cs: Add v4 obsolete attribute.

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

14 years ago2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 25 Mar 2010 23:42:14 +0000 (23:42 -0000)]
2010-03-25 Rodrigo Kumpera  <rkumpera@novell.com>

* AssemblyBuilder.cs: Implement v4 GetModule(s).

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

* AssemblyBuilderTest.cs: Add test for v4 GetModule(s).

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

14 years ago2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 25 Mar 2010 23:42:05 +0000 (23:42 -0000)]
2010-03-25 Rodrigo Kumpera  <rkumpera@novell.com>

* AssemblyBuilder.cs: Implement v4 GetType.

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

* AssemblyBuilderTest.cs: Add test for v4 GetType and
fix other test to not be broken.

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

14 years ago2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 25 Mar 2010 23:41:56 +0000 (23:41 -0000)]
2010-03-25 Rodrigo Kumpera  <rkumpera@novell.com>

*AssemblyTest.cs: Fix one more tests under v4.

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

14 years ago2010-03-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 25 Mar 2010 23:41:47 +0000 (23:41 -0000)]
2010-03-25 Rodrigo Kumpera  <rkumpera@novell.com>

* Assembly.cs:
* MonoAssembly.cs: Move a dozen methods from Assembly.cs
to MonoAssembly.cs, so they can either be the concrete impl
on v4 of the only impl on v2.
Add to Assembly.cs versions that throws NotImplementedException.
Mask Assembly.cs as abstract.

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

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

* mono.1: Document the MONO_ENABLE_SHM env variable.

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

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

* shared.c: Disable shared supported by default, it can be enabled by setting
the MONO_ENABLE_SHM env variable.

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

14 years agofix msvc build.
Jonathan Pobst [Thu, 25 Mar 2010 23:16:41 +0000 (23:16 -0000)]
fix msvc build.

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

14 years agoWe dont do MacOSX on MacOSX
Geoff Norton [Thu, 25 Mar 2010 22:17:02 +0000 (22:17 -0000)]
We dont do MacOSX on MacOSX

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

14 years ago2010-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 25 Mar 2010 20:43:22 +0000 (20:43 -0000)]
2010-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>

* mono-semaphore.[hc]: make sure the semaphore calls are restarted if
interrupted. Return 0 on success and -1 on failure on windows.

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

14 years agofix the build
Gonzalo Paniagua Javier [Thu, 25 Mar 2010 18:12:41 +0000 (18:12 -0000)]
fix the build

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

14 years ago2010-03-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 25 Mar 2010 17:53:04 +0000 (17:53 -0000)]
2010-03-25  Sebastien Pouliot  <sebastien@ximian.com>

* AppDomain.cs: Add new properties that are in both FX4 and SL4
since Moonlight needs them (for testing purpose).
* Environment.cs: FailFast overloads are present in SL4 (and also
needed for testing Moonlight)

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

14 years ago2010-03-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 25 Mar 2010 17:48:22 +0000 (17:48 -0000)]
2010-03-25  Marek Safar  <marek.safar@gmail.com>

* IPGlobalProperties.cs: Made Win32_IN6_ADDR verifiable.

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

14 years ago2010-03-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 25 Mar 2010 17:37:44 +0000 (17:37 -0000)]
2010-03-25  Mark Probst  <mark.probst@gmail.com>

* gc-internal.h, sgen-gc.c, sgen-gc.h, boehm-gc.c, null-gc.c: New
function mono_gc_invoke_with_gc_lock() which invokes a function
with the guarantee that no collection will occur during its execution.

2010-03-25  Mark Probst  <mark.probst@gmail.com>

* mono-hash.c, mono-ehash.c: Fix rehashing with regard to moving
GC.  Register root for ehash.

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

14 years ago2010-03-25 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 25 Mar 2010 16:20:34 +0000 (16:20 -0000)]
2010-03-25  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c: Update a few comments.

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

14 years ago2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Mar 2010 15:32:59 +0000 (15:32 -0000)]
2010-03-25  Atsushi Enomoto  <atsushi@ximian.com>

* HttpRequestContext.cs : removed HTTP status rewriting for
  commented reason.

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

14 years ago2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Mar 2010 15:27:36 +0000 (15:27 -0000)]
2010-03-25  Atsushi Enomoto  <atsushi@ximian.com>

* OperationInvokerHandler.cs : removed unused code.

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

14 years ago2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Mar 2010 15:26:59 +0000 (15:26 -0000)]
2010-03-25  Atsushi Enomoto  <atsushi@ximian.com>

* MessageTest.cs : add another IsFault tests, which exposed some
  issues at client side.

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

14 years ago2010-03-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 25 Mar 2010 13:42:01 +0000 (13:42 -0000)]
2010-03-24 Rodrigo Kumpera  <rkumpera@novell.com>

* Vector4f.cs: Add vector x scalar multiply.

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

14 years ago2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Mar 2010 08:18:38 +0000 (08:18 -0000)]
2010-03-25  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBaseTest.cs : add not-working ActionNotFound test by
  Matt Dargavel.

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

14 years ago2010-03-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 25 Mar 2010 07:53:38 +0000 (07:53 -0000)]
2010-03-25  Atsushi Enomoto  <atsushi@ximian.com>

* HttpRequestChannel.cs : handle only 4xx errors as to not process
  content stream.

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

14 years agocommented out invalid test
Gonzalo Paniagua Javier [Thu, 25 Mar 2010 05:39:24 +0000 (05:39 -0000)]
commented out invalid test

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