mono.git
15 years ago2009-05-15 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Fri, 15 May 2009 10:47:55 +0000 (10:47 -0000)]
2009-05-15  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #424908
* OracleParameter.cs:  Make sure size and sizeSet are properly
updated whenever value changes.

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

15 years ago2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 15 May 2009 04:54:43 +0000 (04:54 -0000)]
2009-05-15  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
  Open(). Some (but not all yet) continuous communication works now.
  Use ProtocolException. Remove dummy binary session string.

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

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

* ChannelDispatcher.cs : open channel before using it.

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

15 years ago2009-05-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 15 May 2009 04:18:21 +0000 (04:18 -0000)]
2009-05-15  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Application.cs: We should dismiss the active ToolStrip when we
receive a WM_SYSKEYDOWN message, instead of WM_SYSKEYUP, so the next
keyboard short cut can be properly processed by another menu item.
Fixes part of #503663.

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

15 years ago2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 15 May 2009 04:15:32 +0000 (04:15 -0000)]
2009-05-15  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractSerializer.cs : write dictionary string directly for
  root name/ns (root only, so far).

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

15 years ago2009-05-15 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 15 May 2009 02:29:13 +0000 (02:29 -0000)]
2009-05-15  Geoff Norton  <gnorton@novell.com>

        * mini-darwin.c: This works on arm now.

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

15 years ago2009-05-15 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 15 May 2009 02:24:32 +0000 (02:24 -0000)]
2009-05-15  Geoff Norton  <gnorton@novell.com>

        * gc.c: MachO/Darwin supports and uses semaphores fine for this
        use-case and is significantly more performant than the wapi layer.

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

15 years ago2009-05-15 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 15 May 2009 02:24:27 +0000 (02:24 -0000)]
2009-05-15  Geoff Norton  <gnorton@novell.com>

        * handles.c: Don't start the collection thread if we've disabled
        shared handles.

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

15 years ago2009-05-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 15 May 2009 01:21:14 +0000 (01:21 -0000)]
2009-05-15  Marek Habersack  <mhabersack@novell.com>

* HtmlForm.cs: if application isn't running on /, make sure we
generate the correct relative path for the action form attribute.

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

15 years ago * ListChangedEventArgsTest.cs: Fix .NET 1.1 compile error.
Jonathan Pryor [Fri, 15 May 2009 01:18:56 +0000 (01:18 -0000)]
* ListChangedEventArgsTest.cs: Fix .NET 1.1 compile error.

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

15 years ago2009-05-14 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 15 May 2009 01:07:01 +0000 (01:07 -0000)]
2009-05-14  Geoff Norton  <gnorton@novell.com>

        * jit.h, driver.c: Allow full-aot to be decided programatically by the
        embedding api.

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

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

* mini-trampolines.c (mono_magic_trampoline): Handle static rgctx invoke
wrappers during full aot mode correctly.

* aot-runtime.c (mono_aot_get_unbox_trampoline): Handle shared generic
methods correctly.

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

15 years ago2009-05-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 15 May 2009 00:31:55 +0000 (00:31 -0000)]
2009-05-14  Sebastien Pouliot  <sebastien@ximian.com>

* Socket_2_1.cs: Add ConnectAsync support for NET_2_1 which will
ensure the EndPoint has a valid policy before connecting.
* SocketAsyncEventArgs.cs: Add support for IList<ArraySegment<byte>>
when sending. Add ConnectSocket for NET_2_1

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

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

* aot-compiler.c (mono_aot_method_hash): Use our internal version of
mono_metadata_type_hash ().

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

15 years ago * Makefile: Distribute Test/test-config-file-net-2.0.
Jonathan Pryor [Thu, 14 May 2009 23:33:37 +0000 (23:33 -0000)]
* Makefile: Distribute Test/test-config-file-net-2.0.

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

15 years ago2009-05-15 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 14 May 2009 23:17:40 +0000 (23:17 -0000)]
2009-05-15  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * BuildItemTest.cs:
        * BuildPropertyGroupTest.cs:
        * BuildPropertyGroupCollectionTest.cs:
        * BuildPropertyTest.cs:
        * BuildItemGroupTest.cs:
        * EngineTest.cs:
        * InternalLoggerExceptionTest.cs:
        * ProjectTest.cs: Don't compare exception messages.

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

15 years ago2009-05-15 Marek Sieradzki <marek.sieradzki@gmail.com>
Marek Sieradzki [Thu, 14 May 2009 23:14:57 +0000 (23:14 -0000)]
2009-05-15  Marek Sieradzki  <marek.sieradzki@gmail.com>

        * Items.cs
        * Conditions.cs: Don't check exception messages.

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

15 years ago2009-05-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 14 May 2009 21:59:17 +0000 (21:59 -0000)]
2009-05-14  Zoltan Varga  <vargaz@gmail.com>

* image-writer.c (asm_writer_emit_local_symbol): Make this a nop on
osx.

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

15 years agoFix tests on monobuild
Ankit Jain [Thu, 14 May 2009 18:12:18 +0000 (18:12 -0000)]
Fix tests on monobuild
* Makefile (EXTRA_DISTFILES): Add Test/resources/Sample.vb

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

15 years ago* ProjectTest.cs (TestAssignment1):
Ankit Jain [Thu, 14 May 2009 18:07:02 +0000 (18:07 -0000)]
* ProjectTest.cs (TestAssignment1):
* UsingTaskTest.cs (TestTaskName):
(TestAssemblyNameOrAssemblyFile1):
(TestAssemblyNameOrAssemblyFile2): Don't compare exception messages.

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

15 years ago* Project.cs (.ctor): Init timeOfLastDirty.
Ankit Jain [Thu, 14 May 2009 18:05:47 +0000 (18:05 -0000)]
* Project.cs (.ctor): Init timeOfLastDirty.

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

15 years agoAdd more diagnostics
Miguel de Icaza [Thu, 14 May 2009 16:50:42 +0000 (16:50 -0000)]
Add more diagnostics

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

15 years ago * src/DbLinq/Data/Linq/Sugar/Implementation/QueryCache.cs: Temporarily
Jonathan Pryor [Thu, 14 May 2009 16:36:54 +0000 (16:36 -0000)]
* src/DbLinq/Data/Linq/Sugar/Implementation/QueryCache.cs: Temporarily
  disable QueryCache.GetFromSelectCache(), as the cache keeps breaking
  for currently undiagnosed reasons.  With this disabled, NerdDinner
  seems to work properly.

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

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

* mini-mips.c mini-mips.h exceptions-mips.c: Transition the mips backend
to use mono_arch_throw_corlib_exception.

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

15 years ago2009-05-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 14 May 2009 15:22:59 +0000 (15:22 -0000)]
2009-05-14  Sebastien Pouliot  <sebastien@ximian.com>

* DnsEndPoint_2_1.cs: Add method to return an IPEndPoint from a
DnsEndPoint that match the requested AddressFamily

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

15 years ago * Makefile: Add 'update-dblinq' target, which copies files from my
Jonathan Pryor [Thu, 14 May 2009 15:09:36 +0000 (15:09 -0000)]
* Makefile: Add 'update-dblinq' target, which copies files from my
  dblinq checkout into src.
* System.Data.Linq.dll.sources, System.Data.Linq_test.dll.sources: Add
  additional files.
* src/**/*: Flush; syncs to DbLinq r1073, greatly improves object
  tracking support, more tests....

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

15 years ago * System_test.dll.sources: Add ListChangedEventArgsTest.cs.
Jonathan Pryor [Thu, 14 May 2009 15:08:47 +0000 (15:08 -0000)]
* System_test.dll.sources: Add ListChangedEventArgsTest.cs.
* System.ComponentModel/ListChangedEventArgs.cs: Fix .NET compatibility
  problems (discovered from trying to run the System.Data.Linq
  unit tests).
* Test/System.ComponentModel/ListChangedEventArgsTest.cs: Added; tests
  for ListChangedEventArgs.

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

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

* mini-ppc.c mini-ppc.h exceptions-ppc.c: Use
mono_arch_throw_corlib_exception for throwing corlib exceptions.

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

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

* tramp-ppc.c (mono_arch_get_static_rgctx_trampoline): Implement this for
PPC.

* mini-ppc.h: Enable static rgctx trampolines for ppc.

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

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

* Makefile.am (test-coreclr-security): Use the net_2_1_raw profile since
the net_2_1 profile is no longer generated.

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

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

* XmlBinaryWriterSession.cs : added test to verify that session is
  actually used in binary dictionary writer.

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

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

* aot-runtime.c (decode_patch): Allocate the data for R4/R8 from the
domain mempool.

* mini.c (mono_patch_info_dup_mp): Copy the table of switch targets too.

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

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

* TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
  sending/receiving SizedMessageRecord parts to manager class.
  Handle writer session, though it is likely broken at dictionary
  writer part (no string is written so far).
* BinaryMessageEncoder.cs : add writer session and rename reader
  session.

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

15 years ago2009-05-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 14 May 2009 10:24:08 +0000 (10:24 -0000)]
2009-05-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TypeTest.cs: test for bug #503728

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

15 years ago2009-05-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 14 May 2009 10:18:03 +0000 (10:18 -0000)]
2009-05-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Type.cs: (GetInterfaceMap) 'this' can't be an interface itself.
Fixed bug #503728.

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

15 years ago2009-05-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 14 May 2009 09:38:45 +0000 (09:38 -0000)]
2009-05-14  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
  is mandatory in initiator preamble packet. Handle Fault reply in
  initiator preamble.

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

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

* TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
  based communication under TcpBinaryFrameManager class.

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

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

* SerializationMap.cs: interface collection failed to serialize as
  it was calling inappropriate GetInterfaceMap().

* XmlObjectSerializerTest.cs : added serialization test for
  interface collection.

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

15 years ago * Makefile: $(test_lib).config needs to be profile-specific.
Jonathan Pryor [Thu, 14 May 2009 03:06:32 +0000 (03:06 -0000)]
* Makefile: $(test_lib).config needs to be profile-specific.
* Test/test-config-file: Revert the prior change, as this breaks 1.0
  profile testing.
* Test/test-config-file-net-2.0: Added; config file to use when testing
  under the .NET 2.0+ profile, for #502944.

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

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

* HandlerFactoryConfiguration.cs: if we're matching a default
handler, disallow caching.

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

* HttpHandlersSection.cs: if we're matching a default handler,
disallow caching.

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

* HttpApplication.cs: LocateHandler won't cache if a default
handler was returned.

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

15 years ago2009-05-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 13 May 2009 23:43:43 +0000 (23:43 -0000)]
2009-05-13 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify the assembly table.

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

15 years ago2009-05-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 13 May 2009 23:42:49 +0000 (23:42 -0000)]
2009-05-13 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify the assembly table.

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

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

* metadata-verify.c: Fix rows limit check.

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

15 years ago2009-05-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 13 May 2009 23:37:19 +0000 (23:37 -0000)]
2009-05-13 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-tables-tests.md: Add tests for fieldrva.

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

15 years ago2009-05-13 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 13 May 2009 23:37:03 +0000 (23:37 -0000)]
2009-05-13 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify the fieldrva table.

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

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

* aot-compiler.c: Emit a local symbol prefixed with the assembly name
for the got to make debugging easier and to avoid confusing it with the
system got.

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

15 years ago2009-05-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 13 May 2009 22:52:21 +0000 (22:52 -0000)]
2009-05-14  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_method_code): Emit a C style symbol for each
method so a breakpoint can be set when using gdb.

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

15 years ago2009-05-13 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Wed, 13 May 2009 21:43:32 +0000 (21:43 -0000)]
2009-05-13  Andreia Gaita  <avidigal@novell.com>

* HtmlDocument.cs: If the objects are strings, wrap them in ""

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

15 years ago2009-05-13 Andreia Gaita <avidigal@novell.com>
Andreia Gaita [Wed, 13 May 2009 21:43:17 +0000 (21:43 -0000)]
2009-05-13  Andreia Gaita  <avidigal@novell.com>

* HtmlDocument.cs: Fix InvokeScript call (duh).

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

15 years ago2009-05-12 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Wed, 13 May 2009 20:47:15 +0000 (20:47 -0000)]
2009-05-12  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes rest of #497715 - Patch by Jonas Larsson <Jonas.Larsson@manodo.se>
* TdsMetaParameter.cs: Add support for XML type.  For now, handle
XML type as just NVarchar.

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

15 years ago2009-05-13 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 13 May 2009 15:43:31 +0000 (15:43 -0000)]
2009-05-13  Jb Evain  <jbevain@novell.com>

* MessageHeader.cs: use a SL friendly way of creating an XmlReader
from a StringReader.

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

15 years agomoving missing WCF assembly (mono-only one).
Atsushi Eno [Wed, 13 May 2009 15:23:03 +0000 (15:23 -0000)]
moving missing WCF assembly (mono-only one).

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

15 years agodelete for good
Jb Evain [Wed, 13 May 2009 15:13:28 +0000 (15:13 -0000)]
delete for good

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

15 years agoAdd initial solution generation support. This generates a solution with all mcs assem...
Jonathan Chambers [Wed, 13 May 2009 14:09:35 +0000 (14:09 -0000)]
Add initial solution generation support. This generates a solution with all mcs assemblies. It does not handle dependencies yet. Also, it brings Visual Studio to a standstill, so it's not really usable for editing.

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

15 years agoSpeed up weak refs.
Mark Probst [Wed, 13 May 2009 13:08:18 +0000 (13:08 -0000)]
Speed up weak refs.

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

* sgen.c: Speed up weak links and finalizers by grouping them by
generation.

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

15 years ago2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 May 2009 11:53:36 +0000 (11:53 -0000)]
2009-05-13  Atsushi Enomoto  <atsushi@ximian.com>

* MessageImpl.cs, MessageHeader.cs : eliminate xlinq in 2.1, and
  actually eliminate DOM-based implementation too in 2.0.

* Makefile : remove xlinq dependency.

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

15 years ago2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 May 2009 11:03:04 +0000 (11:03 -0000)]
2009-05-13  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceCredentials.cs : IServiceBehavior.Validate() should not
  throw NIE. No check so far.

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

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

* ReplyHandler.cs, InputOrReplyRequestProcessor.cs,
  MessageProcessingContext.cs : reply processing is also needed by
  non-request channels (i.e. duplex). Current code basis lacked
  such possibility. Quick fix by adding duplex support in
  ReplyHandler so far.

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

15 years ago2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 13 May 2009 10:26:40 +0000 (10:26 -0000)]
2009-05-13  Atsushi Enomoto  <atsushi@ximian.com>

* OperationContext.cs : missing from the previous commit (remove
  timeouts).

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

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

* ChannelDispatcher.cs, SecurityHandler.cs,
  InputOrReplyRequestProcessor.cs, MessageProcessingContext.cs :
  remove default communication timeouts from several types. They
  bring bogus NRE. Instead, fill timeouts in ChannelDispatcher and
  use it when required (it was actually *only* request processor).

* ChannelDispatcherTest.cs : make sure ctor args are nullable.

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

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

* ChannelDispatcher.cs : wrong channel argument.

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

15 years agoFree previous GCHandle when overwriting an entry in delegate_hash_table.
Mark Probst [Wed, 13 May 2009 07:47:42 +0000 (07:47 -0000)]
Free previous GCHandle when overwriting an entry in delegate_hash_table.

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

* marshal.c (delegate_hash_table_add): When overwriting an entry,
free the old GCHandle (only applies to SGen).

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

15 years ago499009 has been fixed. Remove the workaround.
Gonzalo Paniagua Javier [Wed, 13 May 2009 01:13:30 +0000 (01:13 -0000)]
499009 has been fixed. Remove the workaround.

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

15 years agofix test
Gonzalo Paniagua Javier [Wed, 13 May 2009 00:43:10 +0000 (00:43 -0000)]
fix test

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

15 years ago2009-05-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 13 May 2009 00:40:51 +0000 (00:40 -0000)]
2009-05-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* UrlPattern.cs: if the pattern is line {a}/{b} and {b} is substituted
by an empty string, remove the '/' too.

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

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

* aot-compiler.c (mono_aot_method_hash): Implement this properly based
on mono_method_get_imt_slot ().

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

15 years ago2009-05-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 May 2009 23:50:17 +0000 (23:50 -0000)]
2009-05-13  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (find_extra_method_in_amodule): Get rid of the
num_decodes variables.

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

15 years ago2009-05-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 May 2009 23:33:59 +0000 (23:33 -0000)]
2009-05-13  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (mono_aot_method_hash): Revert part of the last
change as it doesn't seem to work.

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

15 years ago2009-05-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 May 2009 23:20:38 +0000 (23:20 -0000)]
2009-05-13  Zoltan Varga  <vargaz@gmail.com>

* loader.c (mono_get_method_from_token): Avoid the expensive call to
mono_metadata_load_generic_params () for non-generic methods.

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

15 years ago2009-05-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 May 2009 23:20:30 +0000 (23:20 -0000)]
2009-05-13  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (mono_aot_method_hash): Improve the hashing of
wrappers.

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

15 years ago2009-05-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 12 May 2009 23:17:03 +0000 (23:17 -0000)]
2009-05-12 Gonzalo Paniagua Javier <gonzalo@novell.com>

* UrlPattern.cs: non-string default arguments work now.

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

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

* UrlPattern.cs: The
value comparison is done case-insensitively when the dictionary
values are strings. Fixes bug #502555

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

15 years ago2009-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 May 2009 21:31:03 +0000 (21:31 -0000)]
2009-05-12  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c mini.c mini-amd64.h mini-arm.h: Kill
MONO_ARCH_FULL_AOT_IMT_SUPPORTED define, both platforms now support imt.

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

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

* mini.c (mini_init): Install mono_aot_get_imt_thunk as the IMT thunk
builder when using full aot.

* mini-amd64.c (mono_arch_build_imt_thunk): Don't handle the full-aot case
here, it is already handled.

* mini-arm.c (mono_arch_emit_imt_argument): Pass the dynamic imt arg
correctly for IMT.

* aot-compiler.c (arch_emit_imt_thunk): Implement this for ARM.

* mini-arm.h: Enable IMT for full aot.

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

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

* UrlPattern.cs: TrySubstitute performs substitution trimming. If
a segment would be set to a default value and all of its following
segments as well, it will be omitted from the generated URL.

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

15 years agoRemove an object's monitor's weak link when clearing domains.
Mark Probst [Tue, 12 May 2009 20:22:02 +0000 (20:22 -0000)]
Remove an object's monitor's weak link when clearing domains.

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

* monitor.c, monitor.h (mono_monitor_get_object_monitor_weak_link):
New function for returning a monitor's weak link if it has one.

* sgen-gc.c: Remove an object's monitor's weak link (if it has
one) when clearing a domain.  These can still be around because
the object might not have been collected.

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

15 years ago * System.Diagnostics/DiagnosticsConfigurationHandler.cs: Use the new
Jonathan Pryor [Tue, 12 May 2009 18:53:16 +0000 (18:53 -0000)]
* System.Diagnostics/DiagnosticsConfigurationHandler.cs: Use the new
  TraceSourceInfo(string, SourceLevels, TraceImplSettings) constructor.
* System.Diagnostics/TraceSourceInfo.cs: Add a new constructor,
  TraceSourceInfo(string, SourceLevels, TraceImplSettings), which adds
  the DefaultTraceListener w/o depending upon (the possibly still
  initializing) TraceImpl members.  Fixes #502944.
* Test/test-config-file: Add a /configuration/system.diagnostics/source
  section to elicit the buggy behavior found in #502944.

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

15 years ago2009-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 May 2009 15:51:27 +0000 (15:51 -0000)]
2009-05-12  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (mono_compile_assembly): Don't emit imt thunk if the
arch doesn't support it.

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

15 years ago2009-05-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 12 May 2009 15:02:47 +0000 (15:02 -0000)]
2009-05-12  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_init): Don't disable IMT for full aot if the
architecture supports it.

* mini.h (MonoAotTrampoline): New enum containing the different types
of 'numerous' trampolines.
(MONO_AOT_FILE_VERSION): Bump this.

* aot-compiler.c aot-runtime.c: Unify the handling of specific and
static rgctx trampolines. Add support for full-aot IMT thunks.

* mini-amd64.h: Enable IMT for full aot.

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

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

* gc.c: Fix a warning.

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

15 years ago * TextBox.cs: Expose IsAutoCompleteAvailable as internal.
Carlos Alberto Cortez [Tue, 12 May 2009 14:55:04 +0000 (14:55 -0000)]
* TextBox.cs: Expose IsAutoCompleteAvailable as internal.
* ComboBox.cs: If auto complete is being used, it is needed to update
the actual value of the combo box, doing it immediately if the user
presses Enter, or doing it when our combo box loses focus. Finally,
when handling Enter and Escape keys for the combobox, don't try to
hide the listbox if it is not visible in the first place.
Fixes part of #489339.

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

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

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

* TestDriver.cs: Add a CategoryAttribute class and an --exclude option
to exclude tests belonging to a category.

* generics.cs: Mark some tests with a !FULLAOT category.

* Makefile.am (fullaotcheck): Run tests with --exclude !FULLAOT. Include
generics tests.

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

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

* WebHeaderCollection_2_1.cs: Headers are case insensitive but we
must keep them in their original form since AllKeys property will
report them that way and user code (like DRT#288) can depends on
this behavior.

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

15 years ago2009-05-12 Tor Lillqvist <tml@novell.com>
Tor Lillqvist [Tue, 12 May 2009 10:33:40 +0000 (10:33 -0000)]
2009-05-12  Tor Lillqvist  <tml@novell.com>

* template_main.c: Some small improvements on Windows: No need to
include <shellapi.h>, <windows.h> does it already. Don't use the
argc value as passed to main(), instead just let
CommandLineToArgvW() overwrite it. Free the buffer returned by
CommandLineToArgvW().

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

15 years ago* TODO: Added notices about linking Mono statically.
Kornél Pál [Tue, 12 May 2009 09:58:49 +0000 (09:58 -0000)]
* TODO: Added notices about linking Mono statically.

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

15 years ago2009-05-12 Kornél Pál <kornelpal@gmail.com>
Kornél Pál [Tue, 12 May 2009 09:07:56 +0000 (09:07 -0000)]
2009-05-12  Kornél Pál  <kornelpal@gmail.com>

* gc.c (mono_gc_init): Set gc_thread on creation. This avoids the
prevous wait that resulted in a deadlock on Windows when initializing
the runtime form DllMain. Also results in improved startup time.
(finalizer_thread): Get rid of thread_started_event.
* threads.c, threads-types.h (mono_thread_create_internal): Return the
resulting MonoThread.

Contributed under MIT/X11 license.

Also fixed ChangeLog encoding.

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

15 years ago2009-05-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 12 May 2009 03:56:03 +0000 (03:56 -0000)]
2009-05-11 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TcpClient.cs:
* Socket.cs:
* UdpClient.cs: use GetHostAddresses() instead of Resolve or
GetHostEntry.

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

15 years ago2009-05-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 12 May 2009 03:49:14 +0000 (03:49 -0000)]
2009-05-11 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Dns.cs: made GetHostAddresses and friends internal for 1.x
* EndpointPermission.cs: use GetHostAddresses.

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

15 years ago2009-05-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 12 May 2009 03:31:25 +0000 (03:31 -0000)]
2009-05-11 Rodrigo Kumpera  <rkumpera@novell.com>

* assembly-with-methods.cs: Mark the class with the
P/Invoke as abstract.

* cli-tables-tests.md: Add tests for implmap.

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

15 years ago2009-05-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 12 May 2009 03:30:29 +0000 (03:30 -0000)]
2009-05-11 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify the implmap table.
Don't require that #US and #Strings be present.

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

15 years ago2009-05-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 12 May 2009 03:14:36 +0000 (03:14 -0000)]
2009-05-11 Gonzalo Paniagua Javier <gonzalo@novell.com>

* UdpClient.cs: if possible, avoid DNS lookups when the host name is
an IP address. Related to bug #502866.

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

15 years ago2009-05-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 12 May 2009 02:13:32 +0000 (02:13 -0000)]
2009-05-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolStripDropDownTest.cs: New test to assure the Height atfer
calculating the layout depends on ToolStripItem.GetPreferredHeight.

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

15 years ago2009-05-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 12 May 2009 02:11:19 +0000 (02:11 -0000)]
2009-05-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolStripDropDownMenu.cs: Use the height returned by
ToolStripItem.GetPreferredHeight to calculate our own height.

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

15 years ago2009-05-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 12 May 2009 01:54:15 +0000 (01:54 -0000)]
2009-05-11  Sebastien Pouliot  <sebastien@ximian.com>

* security-core-clr.c: Delegate checks are done at creation time,
not a invocation time. Fix exception for Telerik Silverlight demo

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

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

* collection.c (collection_thread): Get rid of all the ifdefs and
gcc attributes, simply return NULL.

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

15 years ago2009-05-12 Tor Lillqvist <tml@novell.com>
Tor Lillqvist [Mon, 11 May 2009 22:07:31 +0000 (22:07 -0000)]
2009-05-12  Tor Lillqvist  <tml@novell.com>

* mkbundle.1: Document MONO_BUNDLED_OPTIONS.

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

15 years ago * WebHeaderCollection_2_1.cs: Headers are removed only in special
Sebastien Pouliot [Mon, 11 May 2009 21:34:04 +0000 (21:34 -0000)]
* WebHeaderCollection_2_1.cs: Headers are removed only in special
cases and never when the "this" property is used. Call ToLower
in SetHeader too in order to avoid typos.

2009-05-11  Sebastien Pouliot  <sebastien@ximian.com>

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

15 years agoReset abort exception/state and current_appcontext early to avoid cross-context problems.
Mark Probst [Mon, 11 May 2009 20:28:05 +0000 (20:28 -0000)]
Reset abort exception/state and current_appcontext early to avoid cross-context problems.

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

        * sgen-gc.c (need_remove_object_for_domain): Remove the special
        case for the Thread class.

        * threads.c: Do clean-up of abort exception/state in
        thread_cleanup() instead of Thread.free_internal().  Also clean up
        current_appcontext.  The reason we have to do that is because
        those references might point into another domain and if that
        domain is unloaded before the thread is finalized, they point to
        invalid data.

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

15 years ago2009-05-11 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 11 May 2009 19:22:21 +0000 (19:22 -0000)]
2009-05-11  Sebastien Pouliot  <sebastien@ximian.com>

* HttpWebRequest_2_1.cs: Fix Accept and ContentType properties
to use, with special care, the Headers property
* WebHeaderCollection_2_1.cs (SetHeader): Add or remove header.

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

15 years ago2009-05-11 Tor Lillqvist <tml@novell.com>
Tor Lillqvist [Mon, 11 May 2009 19:21:00 +0000 (19:21 -0000)]
2009-05-11  Tor Lillqvist  <tml@novell.com>

* template_main.c: Enable passing options to the bundled Mono
interpreter through a MONO_BUNDLED_OPTIONS environment
variable. Requested in bug #495858.

Enable non-ASCII (arbitraty Unicode in fact) command-line
parameters to a mkbundled executable on Windows. Use
GetCommandLineW(), CommandLineToArgvW(), and then
g_utf16_to_utf8(). From bug #446172.

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