mono.git
14 years ago2010-02-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 4 Feb 2010 13:53:55 +0000 (13:53 -0000)]
2010-02-03  Marek Habersack  <mhabersack@novell.com>

        * AssemblyInfo.cs: added back InternalsVisibleTo for the test
        assembly - it's needed to access CacheItemPriorityQueue

2010-02-03  Marek Habersack  <mhabersack@novell.com>

        * OutputCache.cs: DefaultProviderName checks if there was any
        provider configured and, if not, returns a built-in provider's
        name.

        * SqlCacheDependencyAdmin.cs: added

        * OutputCacheProviderCollection.cs: added

        * OutputCacheProvider.cs: added

        * OutputCacheModule.cs: uses the 4.0 extensible output cache
        provider model now (also internally in the 2.0 profile)
        OutputCacheProvider is retrieved on every request using
        HttpApplication.GetOutputCacheProviderName (4.0+). In the 2.0
        profile an instance of InMemoryOutputCacheProvider is always
        returned.

        * InMemoryOutputCacheProvider.cs: default output cache provider
        for ASP.NET 4.0, also used internally in the  2.0 profile.

        * CachedVaryBy.cs: made the generated key shorter

        * CacheItemPriorityQueueDebug.cs: debugging support for
        CacheItemPriorityQueue. Most of the code is compiled only when the
        DEBUG macro is defined. Debugging support includes recording of
        the queue operations sequence which is output to an XML file on
        appdomain shutdown. The recorded sequence files can be used to
        generate NUnit test cases for the priority queue (see
        ../Test/tools/README)

        * CacheItemPriorityQueue.cs: rewritten using an array based heap
        instead of a binary tree based one - implementation is simpler,
        faster and more elegant. Heap is initially 32 entries long and
        its size is doubled every time it fills up. After reaching a
        threshold (8192 entries currently) it is shrunk to the number of
        items + 1/3 of item count in order to preserve memory.

        * CacheItem.cs: added a Guid field to easier distinguish items
        (mostly for debugging purposes)

        * CacheDependency.cs: minor performance improvements

        * Cache.cs: better handling of timer periods

2010-02-03  Marek Habersack  <mhabersack@novell.com>

        * HttpApplication.cs: GetOutputCacheProviderName returns the value
        of OutputCache.DefaultProviderName

        * HttpRuntime.cs: internal cache is used to hold the dependencies
        now.

2010-02-03  Marek Habersack  <mhabersack@novell.com>

        * CacheItemPriorityQueueTest_generated.cs: added

        * CacheItemPriorityQueueTest.cs: added

2010-02-04  Marek Habersack  <mhabersack@novell.com>

        * Helpers.cs: added a helper method for checking of HTML mentions
        any .NET exceptions.

2010-02-03  Marek Habersack  <mhabersack@novell.com>

        * Makefile: added targets to compile cache priority queue tests
        generator and to generate the tests themselves

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

14 years ago2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Feb 2010 11:52:57 +0000 (11:52 -0000)]
2010-02-04  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : now I can enable service throttling to
  handle more than one concurrent channels as ASP.NET reply channel
  got fixed.

* HTTP_listener_notes.txt: Fixed some wrong description, simplified
  some, and updated some.

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

14 years ago2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Feb 2010 11:09:03 +0000 (11:09 -0000)]
2010-02-04  Atsushi Enomoto  <atsushi@ximian.com>

* SvcHttpHandler.cs : a wait handle could be used for more than one
  requests and hence it sometimes blocked one reply channel. Now
  it creates a wait handle for each ASP.NET request so that such
  multiple use should not occur. This should fix blocking on
  concurrent requests (it indeed fixes as long as I can see).

* HTTP_listener_notes.txt: some notes updated.

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

14 years ago2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Feb 2010 09:10:18 +0000 (09:10 -0000)]
2010-02-04  Atsushi Enomoto  <atsushi@ximian.com>

* AspNetReplyChannel.cs : remove garbage output.

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

14 years ago2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 4 Feb 2010 08:49:58 +0000 (08:49 -0000)]
2010-02-04  Atsushi Enomoto  <atsushi@ximian.com>

* SvcHttpHandler.cs : Use lock when it tries to create the service
  host.

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

14 years agoAdd a test for vtype instances + SetValue ().
Zoltan Varga [Thu, 4 Feb 2010 07:26:51 +0000 (07:26 -0000)]
Add a test for vtype instances + SetValue ().

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 07:26:45 +0000 (07:26 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (decode_value): Fix decoding of vtype instances. Fixes
#561962.

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 06:39:17 +0000 (06:39 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_native_wrapper): Emit a null check for the
'this' argument in icalls.

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

14 years ago2010-02-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Thu, 4 Feb 2010 06:06:45 +0000 (06:06 -0000)]
2010-02-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* StatusStrip.cs:
* XplatX11.cs:
* X11Structs: Implement the new BeginMoveResize method, designed to
instruct the window manager to init a resize operation on a top level
form. This is used by StatusStrip.
* XplatUI.cs:
* XplatUIDriver.cs:
* XplatUIWin32.cs:
* XplatUICarbon.cs: Fill the gaps by creating stubs and updating the
method calls.
Fixes #573299.

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

14 years agoReally fix the build.
Zoltan Varga [Thu, 4 Feb 2010 05:39:11 +0000 (05:39 -0000)]
Really fix the build.

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

14 years agoFix the build.
Zoltan Varga [Thu, 4 Feb 2010 05:38:09 +0000 (05:38 -0000)]
Fix the build.

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

14 years agoMove the last commit around a bit to make it a tad saner
Geoff Norton [Thu, 4 Feb 2010 05:37:57 +0000 (05:37 -0000)]
Move the last commit around a bit to make it a tad saner

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

14 years agomake eglib work with c++
Geoff Norton [Thu, 4 Feb 2010 05:37:07 +0000 (05:37 -0000)]
make eglib work with c++

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 05:06:18 +0000 (05:06 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* dtest.cs: Add a test for TypeMirror.EnumUnderlyingType.

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 05:05:19 +0000 (05:05 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* TypeMirror.cs (EnumUnderlyingType): New property.

* EnumMirror.cs: Use it.

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 04:48:32 +0000 (04:48 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c: Init the jit module only when first JITting.

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

14 years agofix compiling xdebug with DISABLE_AOT || DISABLE_JIT
Geoff Norton [Thu, 4 Feb 2010 04:45:10 +0000 (04:45 -0000)]
fix compiling xdebug with DISABLE_AOT || DISABLE_JIT

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

14 years agoFix another case.
Zoltan Varga [Thu, 4 Feb 2010 04:38:53 +0000 (04:38 -0000)]
Fix another case.

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 04:03:15 +0000 (04:03 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_plt): Fix the naming of plt entries of llvm+darwin.

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 04:03:09 +0000 (04:03 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (get_plt_entry): Make the plt entries have hidden visibility.

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 03:44:00 +0000 (03:44 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_aot_module): Remove the dummy got after it is
replaced with the real got.

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

14 years agoFix the previous change.
Zoltan Varga [Thu, 4 Feb 2010 03:36:26 +0000 (03:36 -0000)]
Fix the previous change.

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 03:03:06 +0000 (03:03 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* dtest.cs dtest-app.cs: Add tests for TypeMirror.IsEnum and
VirtualMachine.CreateEnumMirror ().

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 03:03:00 +0000 (03:03 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (type_commands): Return the enumness if the type as well.

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 03:00:31 +0000 (03:00 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* VirtualMachine.cs (CreateEnumMirror): New method to create an EnumMirror.

* AppDomainMirror.cs (GetCorrespondingType): New method to return a TypeMirror
corresponding to a primitive type.

* TypeMirror.cs (IsEnum): Implement.

* EnumMirror.cs (.ctor): New internal constructor called from CreateEnumMirror
which does lots of error checking.

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 01:45:01 +0000 (01:45 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* image-writer.c: Reduce the amount of #ifdefs a bit.

* aot-compiler.c: Reduce the amount of #ifdefs. Add beginnings of support for
llvm on darwin/arm.

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

14 years ago2010-02-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 4 Feb 2010 01:01:18 +0000 (01:01 -0000)]
2010-02-04  Marek Habersack  <mhabersack@novell.com>

* PreservationFile.cs: updated the BuildResulTypeCode enum

* BuildManager.cs: LoadCompiled now adds all the assemblies built
from the App_Code directory to the BuildManager.CodeAssemblies
collection. Fixes bug #576810

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

14 years ago2010-02-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 4 Feb 2010 00:08:11 +0000 (00:08 -0000)]
2010-02-04  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (mono_compile_assembly): Handle asmonly+llvm mode.

* mini-llvm.c (mono_llvm_emit_method): Don't make the 'type_info' symbols
global.

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

14 years ago2010-02-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 3 Feb 2010 21:16:00 +0000 (21:16 -0000)]
2010-02-03  Jonathan Pobst  <monkey@jpobst.com>

* HttpCalls.cs: Disable all tests here due to excessive
sporadic failures.  Filed as bug #576724.

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

14 years ago2010-02-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 3 Feb 2010 21:10:25 +0000 (21:10 -0000)]
2010-02-03  Rodrigo Kumpera  <rkumpera@novell.com>

* SplitTests.cs: New tests for #566117.

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

14 years ago2010-02-03 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 3 Feb 2010 21:10:16 +0000 (21:10 -0000)]
2010-02-03  Rodrigo Kumpera  <rkumpera@novell.com>

* BaseMachine.cs (Split): Don't add empty strings if they don't
* come from
the first capture group. Fixes #566117.

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

14 years agoFix bug #576589.
Ankit Jain [Wed, 3 Feb 2010 20:08:52 +0000 (20:08 -0000)]
Fix bug #576589.
* ConditionFunctionExpression.cs (Exists): Check for directory also.

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

14 years ago2010-02-03 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 3 Feb 2010 17:49:08 +0000 (17:49 -0000)]
2010-02-03  Jonathan Pobst  <monkey@jpobst.com>

* BaseCalls.cs: Mark tests as NotWorking.  Reported as bug #576618.

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

14 years ago2010-02-03 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 3 Feb 2010 13:47:29 +0000 (13:47 -0000)]
2010-02-03  Astushi Enomoto  <atsushi@ximian.com>

* HTTP_listener_notes.txt: I couldn't help but write about it to
  not keep myself confused by this complicated stuff.

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

14 years ago2010-02-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 3 Feb 2010 13:09:57 +0000 (13:09 -0000)]
2010-02-03  Sebastien Pouliot  <sebastien@ximian.com>

*  ASN1ConvertTest.cs: Fix test cases by using local time. Patch
provided by Peter Dettman. Fix bug #324181

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

14 years agoRemove an assert.
Zoltan Varga [Tue, 2 Feb 2010 22:45:19 +0000 (22:45 -0000)]
Remove an assert.

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

14 years ago2010-02-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 2 Feb 2010 22:45:13 +0000 (22:45 -0000)]
2010-02-02  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (resolve_object): Handle MonoArrayMethod. Fixes #575955.

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

14 years ago2010-02-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 2 Feb 2010 22:41:08 +0000 (22:41 -0000)]
2010-02-02  Zoltan Varga  <vargaz@gmail.com>

* DynamicMethodTest.cs: Add a test for #575955.

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

14 years ago2010-02-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 2 Feb 2010 21:54:28 +0000 (21:54 -0000)]
2010-02-02  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Add support for unaligned loads.
(mono_llvm_emit_method): Fix unaligned stores too.

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

14 years ago2010-02-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 2 Feb 2010 21:44:11 +0000 (21:44 -0000)]
2010-02-02  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Add support for unaligned loads.

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

14 years ago2010-02-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 2 Feb 2010 20:41:12 +0000 (20:41 -0000)]
2010-02-02  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_prolog): Initialize lmf->rsp in the prolog too
so async stack walks don't crash.

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

14 years agoFix DISABLE_JIT.
Zoltan Varga [Tue, 2 Feb 2010 20:41:03 +0000 (20:41 -0000)]
Fix DISABLE_JIT.

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

14 years ago2010-02-02 Rodrigo B. de Oliveira <rodrigo@unity3d.com>
Rodrigo B. de Oliveira [Tue, 2 Feb 2010 19:32:24 +0000 (19:32 -0000)]
2010-02-02 Rodrigo B. de Oliveira <rodrigo@unity3d.com>

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

14 years ago2010-02-02 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Tue, 2 Feb 2010 19:22:24 +0000 (19:22 -0000)]
2010-02-02  Jérémie Laval  <jeremie.laval@gmail.com>

In class/corlib/System.Threading.Tasks/:
   * Task.cs: Fix autocomplete mistake (s/Exception/exception/).
   Let continuation processing happens at the right moment when
   task has child.

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

14 years ago2010-02-02 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 2 Feb 2010 18:22:05 +0000 (18:22 -0000)]
2010-02-02  Jb Evain  <jbevain@novell.com>

* ASCIIEncoding.cs, Latin1Encoding.cs: remove duplicated code.

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

14 years ago2010-02-02 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Tue, 2 Feb 2010 17:06:15 +0000 (17:06 -0000)]
2010-02-02  Jérémie Laval  <jeremie.laval@gmail.com>

In class/corlib/:
   * corlib.dll.sources: Add System.Threading.Tasks/SimpleConcurrentBag.cs
   and System.Threading.Tasks/UnobservedTaskExceptionEventArgs.cs

In class/corlib/System.Collections.Concurrent/:
   * ConcurrentDictionary.cs:
   * ConcurrentQueue.cs:
   * ConcurrentStack.cs:
   * Partitioner.cs: Port to .NET 4 beta 2 API
   * ConcurrentSkipList.cs: Use Monitor for locking

In class/corlib/System.Threading.Tasks/:
   * Future.cs:
   * Parallel.cs:
   * ParallelLoopState.cs:
   * Task.cs:
   * TaskCompletionSource.cs:
   * TaskContinuationOptions.cs:
   * TaskCreationOptions.cs:
   * TaskFactory.cs:
   * TaskScheduler.cs:
   * UnobservedTaskExceptionEventArgs.cs: Port to .NET 4 beta 2 API
   * SimpleConcurrentBag.cs: Add a simpler implementation of ConcurrentBag
   for use with parallel loops as ConcurrentBag was moved to System

In class/corlib/System.Threading/:
   * CancellationToken.cs:
   * CancellationTokenSource.cs:
   * ManualResetEventSlim.cs:
   * SemaphoreSlim.cs:
   * SpinLock.cs:
   * SpinWait.cs:
   * ThreadLocal.cs: Port to .NET 4 beta 2 API

In class/corlib/System/:
   * AggregateException.cs:
   * OperationCanceledException.cs: Port to .NET 4 beta 2 API

In class/corlib/Test/System.Collections.Concurrent/:
   * CollectionStressTestHelper.cs:
   * ConcurrentBagTests.cs:
   * ConcurrentDictionaryTests.cs:
   * ConcurrentQueueTests.cs:
   * ConcurrentSkipListTests.cs:
   * ConcurrentStackTests.cs:
   * ParallelConcurrentQueueTests.cs:
   * ParallelConcurrentStackTests.cs: Update namespaces and tested methods

In class/corlib/Test/System.Threading.Tasks/:
   * FutureTests.cs:
   * ParallelTestHelper.cs:
   * ParallelTests.cs:
   * SnziTests.cs:
   * TaskCompletionSourceTests.cs:
   * TaskTest.cs: Update namespace and tested methods

In class/corlib/Test/System.Threading/:
   * CancellationTokenTests.cs:
   * LazyInitTests.cs:
   * ThreadLazyTests.cs: Update namespace and tested methods

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

14 years ago2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Feb 2010 12:29:11 +0000 (12:29 -0000)]
2010-02-02  Atsushi Enomoto  <atsushi@ximian.com>

* SvcHttpHandlerFactory.cs : lock when it tries to acquire
  HttpHandler.

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

14 years ago2010-02-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 2 Feb 2010 10:49:32 +0000 (10:49 -0000)]
2010-02-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #574991
* rootcontext.cs, class.cs, driver.cs: Hide enhanced warnings behind
--lint.

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

14 years agokill old out of sync comments
Jb Evain [Tue, 2 Feb 2010 10:41:54 +0000 (10:41 -0000)]
kill old out of sync comments

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

14 years agoMore tests.
Marek Safar [Tue, 2 Feb 2010 09:49:57 +0000 (09:49 -0000)]
More tests.

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

14 years ago2010-02-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 2 Feb 2010 09:49:27 +0000 (09:49 -0000)]
2010-02-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #575986
* expression.cs: Don't mutate typeof type definitions.

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

14 years ago2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Feb 2010 08:18:56 +0000 (08:18 -0000)]
2010-02-02  Atsushi Enomoto  <atsushi@ximian.com>

* HttpListenerManager.cs : add another workaround for blocking
  concurrent calls.

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

14 years ago2010-02-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 2 Feb 2010 08:08:04 +0000 (08:08 -0000)]
2010-02-02  Atsushi Enomoto  <atsushi@ximian.com>

* HttpListenerManager.cs : small refactoring.

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

14 years ago2010-02-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 2 Feb 2010 05:15:07 +0000 (05:15 -0000)]
2010-02-02  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (common_call_trampoline): Fix a problem where the callsite
was not patched if the callee needed an rgctx trampoline.

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

14 years ago2010-02-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 1 Feb 2010 23:47:21 +0000 (23:47 -0000)]
2010-02-02  Marek Habersack  <mhabersack@novell.com>

* ScriptManager.cs: adjusted script rendering to match .NET
formatting.

* ScriptComponentDescriptor.cs: GetScript adds ID value (if
present) to the set of properties.
GetScript rewritten to use StringBuilder.

* ScriptBehaviorDescriptor.cs: GetScript adds Name, if present and
set by the user, to the descriptor's set of properties. The name
must be rendered to the client.

2010-02-02  Marek Habersack  <mhabersack@novell.com>

* ScriptBehaviorDescriptorTest.cs,
ScriptComponentDescriptorTest.cs: added tests for rendering of the
Name and ID properties.

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

14 years ago2010-02-01 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 1 Feb 2010 20:17:45 +0000 (20:17 -0000)]
2010-02-01  Mark Probst  <mark.probst@gmail.com>

        * object.c, domain.c: When using SGen, we must register
        vtable->type as a root if it's not a MonoType, because then it
        wasn't pin-alloced.

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

14 years agoFix this test in System as well.
Zoltan Varga [Mon, 1 Feb 2010 19:33:38 +0000 (19:33 -0000)]
Fix this test in System as well.

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

14 years ago2010-02-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Feb 2010 19:12:58 +0000 (19:12 -0000)]
2010-02-01  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_get_global_int_regs): Reserve r29 for holding the
vtable address in AOT code.

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

14 years agoFix a test after the Directory.Exists () changes.
Zoltan Varga [Mon, 1 Feb 2010 18:10:40 +0000 (18:10 -0000)]
Fix a test after the Directory.Exists () changes.

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

14 years ago2010-02-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Feb 2010 15:53:44 +0000 (15:53 -0000)]
2010-02-01  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c: Remove support for CEE_ opcodes which cannot occur in
MonoInst's.

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

14 years agoMon Feb 1 16:29:10 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Feb 2010 15:29:57 +0000 (15:29 -0000)]
Mon Feb 1 16:29:10 CET 2010 Paolo Molaro <lupus@ximian.com>

* genmdesc.pl: remove dependency on external cpp.

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

14 years ago2010-02-01 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 1 Feb 2010 15:18:59 +0000 (15:18 -0000)]
2010-02-01  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Reset to_space_bumper to to_space_section->next_data
        at the start of nursery collections, because we might have had
        degraded allocations which changed next_data.

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

14 years ago2010-02-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Feb 2010 14:52:06 +0000 (14:52 -0000)]
2010-02-01  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mini_emit_ldelema_1_ins): Avoid emitting an OP_SEXT_I4 when
using LLVM, its not needed, and abcrem can't handle it.

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

14 years agofix build
Jb Evain [Mon, 1 Feb 2010 14:34:53 +0000 (14:34 -0000)]
fix build

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

14 years agoMon Feb 1 14:29:43 CET 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Feb 2010 13:31:14 +0000 (13:31 -0000)]
Mon Feb 1 14:29:43 CET 2010 Paolo Molaro <lupus@ximian.com>

* genmdesc.c, genmdesc.pl, cpu-x86.md: introduced templates to make
it easier to group instructions and reduce duplication.

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

14 years ago2010-02-01 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 1 Feb 2010 13:25:52 +0000 (13:25 -0000)]
2010-02-01  Jb Evain  <jbevain@novell.com>

* MarkStep.cs: SoapHeader can either take a field or a property.

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

14 years ago2010-02-01 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 1 Feb 2010 13:15:02 +0000 (13:15 -0000)]
2010-02-01  Jb Evain  <jbevain@novell.com>

* SoapProtocolImporter.cs: properly generate the SoapHeader
attribute on NET_2_0.

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

14 years ago2010-02-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 1 Feb 2010 09:26:17 +0000 (09:26 -0000)]
2010-02-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBox.cs: When creating DrawItemEventArgs pass the fore color and
back color arguments depending on the higlight/focus state, just like
.net.
Fixes #572643.

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

14 years ago2010-02-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 1 Feb 2010 02:29:35 +0000 (02:29 -0000)]
2010-02-01  Zoltan Varga  <vargaz@gmail.com>

* decompose.c: Move the array/soft float decompose routines here from
method-to-ir.c.

* method-to-ir.c: Export a few functions so they can be used from decompose.c.

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

14 years agoRemove a debugging aid.
Zoltan Varga [Sun, 31 Jan 2010 23:23:47 +0000 (23:23 -0000)]
Remove a debugging aid.

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

14 years ago2010-01-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 31 Jan 2010 19:21:10 +0000 (19:21 -0000)]
2010-01-31  Zoltan Varga  <vargaz@gmail.com>

* MonoGenericClass.cs: Fix a warning.

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

14 years ago2010-01-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 31 Jan 2010 19:17:34 +0000 (19:17 -0000)]
2010-01-31  Zoltan Varga  <vargaz@gmail.com>

* Directory.cs (Exists): Never throw an exception. Fixes #565152.

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

14 years ago2010-01-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 31 Jan 2010 19:17:27 +0000 (19:17 -0000)]
2010-01-31  Zoltan Varga  <vargaz@gmail.com>

* Enum.cs: Fix a warning.

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

14 years ago2010-01-31 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 31 Jan 2010 04:19:26 +0000 (04:19 -0000)]
2010-01-31  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Add a call to llvm.invariant.start
to tell LLVM that the got is constant, not used yet.

* aot-compiler.c: Pass more optimization flags to llvm's 'opt'.

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

14 years ago2010-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Jan 2010 19:58:45 +0000 (19:58 -0000)]
2010-01-30  Zoltan Varga  <vargaz@gmail.com>

* CustomAttributeBuilderTest.cs: Add a test for #574353.

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

14 years ago2010-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Jan 2010 19:58:35 +0000 (19:58 -0000)]
2010-01-30  Zoltan Varga  <vargaz@gmail.com>

* CustomAttributeBuilder.cs (Initialize): Add more argument checking to avoid
assertions in the runtime. Fixes #574353.

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

14 years ago2010-01-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 30 Jan 2010 02:26:30 +0000 (02:26 -0000)]
2010-01-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* NetworkStream.cs: Our explicit impl of IDisposable.Dispose belongs
to 1.0/1.1 only. Also move the call to GC.SupressFinalize to
Dispose(bool), as expected and as done by other Stream children
implementing a destructor.
Fixes #564637.

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

14 years ago2010-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Jan 2010 02:19:35 +0000 (02:19 -0000)]
2010-01-30  Zoltan Varga  <vargaz@gmail.com>

* mini-ppc.c (mono_arch_emit_prolog): Fix full aot support for native to
managed wrappers.

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

14 years ago2010-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Jan 2010 02:17:21 +0000 (02:17 -0000)]
2010-01-30  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (add_wrappers): Commit the hack which generates
native-to-managed wrappers for methods decorated with the MonoPInvokeCallback
custom attribute.

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

14 years ago2010-01-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 30 Jan 2010 02:17:12 +0000 (02:17 -0000)]
2010-01-30  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_managed_wrapper): Avoid constructing the
custom attr so this function works in cross-compiling mode.

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

14 years ago2010-01-29 Mike Kestner <mkestner@novell.com>
Mike Kestner [Fri, 29 Jan 2010 20:44:06 +0000 (20:44 -0000)]
2010-01-29  Mike Kestner <mkestner@novell.com>

* System.dll.sources: add System.Net/WebUtility.cs.
* System_test.dll.sources: add WebUtilityTest.cs to tests.

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

14 years ago2010-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Jan 2010 20:18:56 +0000 (20:18 -0000)]
2010-01-29  Zoltan Varga  <vargaz@gmail.com>

* Int32Test.cs: Fix a copy-paste error.

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

14 years ago2010-01-29 Geoff Norton <gnorton@novell.com>
Geoff Norton [Fri, 29 Jan 2010 18:58:53 +0000 (18:58 -0000)]
2010-01-29  Geoff Norton  <gnorton@novell.com>

        * include/private/gcconfig.h: Don't define NO_PTHREAD_TRYLOCK on darwin-x86
        Patch from Tom Philpot (tom.philpot@gmail.com)

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

14 years ago2010-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Jan 2010 17:42:38 +0000 (17:42 -0000)]
2010-01-29  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add a test for #574819.

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

14 years ago2010-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Jan 2010 17:41:53 +0000 (17:41 -0000)]
2010-01-29  Zoltan Varga  <vargaz@gmail.com>

* class.c (make_generic_param_class): Initialize interface offsets since we
set klass->inited. Fixes #574819.

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

14 years ago2010-01-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 29 Jan 2010 06:15:38 +0000 (06:15 -0000)]
2010-01-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* VersionTest.cs: New tests for Parse and TryParse.

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

14 years ago2010-01-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 29 Jan 2010 06:13:45 +0000 (06:13 -0000)]
2010-01-29  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* Version.cs: Implement Parse and TryParse.

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

14 years ago2010-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Jan 2010 03:12:31 +0000 (03:12 -0000)]
2010-01-29  Zoltan Varga  <vargaz@gmail.com>

* mini.h (MONO_INST_FAULT): New instruction flag for loads which can cause
a fault, only used by the LLVM backend.

* ir-emit.h: Add _FAULT variants of the LOAD_MEMBASE macros. Mark
OP_CHECK_THIS with OP_IMPLICIT_EXCEPTION.

* method-to-ir.c: Use the new LOAD_MEMBASE_FAULT opcodes, get rid of the
calls to MONO_EMIT_NULL_CHECK which is automatically done by the new macros.

* mini-llvm.c: Only generate volatile loads from load instructions which have
the MONO_INST_FAULT flag set.

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

14 years ago2010-01-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 29 Jan 2010 03:12:24 +0000 (03:12 -0000)]
2010-01-29  Zoltan Varga  <vargaz@gmail.com>

* unwind.c (mono_unwind_decode_fde): Fix the decoding of the LSDA offset on
64 bit platforms.

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

14 years ago2010-01-29 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Thu, 28 Jan 2010 23:22:13 +0000 (23:22 -0000)]
2010-01-29  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* WebClient_2_1.cs: Ensure the WriteStreamClosed event is emitted on
the correct thread (by using the stored SynchronizationContext).

* InternalWebRequestStreamWrapper.cs: Add a WebClientData field which
is passed to the WriteStreamClosedCallback.

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

14 years ago2010-01-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 28 Jan 2010 23:01:51 +0000 (23:01 -0000)]
2010-01-28 Gonzalo Paniagua Javier <gonzalo@novell.com>

* UnmanagedMemoryStream.cs: fix a regression from my previous patch.

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

14 years agoFix the build
Marek Habersack [Thu, 28 Jan 2010 21:11:49 +0000 (21:11 -0000)]
Fix the build

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

14 years agoRemove a debug printf.
Zoltan Varga [Thu, 28 Jan 2010 21:02:30 +0000 (21:02 -0000)]
Remove a debug printf.

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

14 years ago2010-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 28 Jan 2010 20:59:58 +0000 (20:59 -0000)]
2010-01-28  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_save_seq_point_info): Fix the handling of bblocks without
sequence points. Fixes #571236.

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

14 years agoRevert 150495 and 150496 from mini.c
Miguel de Icaza [Thu, 28 Jan 2010 20:58:26 +0000 (20:58 -0000)]
Revert 150495 and 150496 from mini.c

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

14 years agoRevert "2010-01-28 Zoltan Varga <vargaz@gmail.com>"
Zoltan Varga [Thu, 28 Jan 2010 20:53:18 +0000 (20:53 -0000)]
Revert "2010-01-28  Zoltan Varga  <vargaz@gmail.com>"

This reverts commit 1db9444081b8fa80d36fe245101d95827341f5b1.

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

14 years ago2010-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 28 Jan 2010 20:51:05 +0000 (20:51 -0000)]
2010-01-28  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_save_seq_point_info): Fix the handling of bblocks without
sequence points. Fixes #571236.

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

14 years agoAdd a missing file.
Zoltan Varga [Thu, 28 Jan 2010 20:29:18 +0000 (20:29 -0000)]
Add a missing file.

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

14 years ago2010-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 28 Jan 2010 20:02:13 +0000 (20:02 -0000)]
2010-01-28  Zoltan Varga  <vargaz@gmail.com>

* dtest.cs: Add minimal tests for assembly unloading.

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

14 years ago2010-01-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 28 Jan 2010 20:02:07 +0000 (20:02 -0000)]
2010-01-28  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (mono_debugger_agent_init): Call appdomain_unload at the
end of the appdomain unload process, after assemblies have been unloaded.
Fixes #574842.

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