mono.git
14 years ago2010-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jun 2010 20:35:20 +0000 (20:35 -0000)]
2010-06-06  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_jit_runtime_invoke): Initialize *exc to NULL before calling the wrapper,
so it doesn't have to do it.

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

14 years ago2010-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 6 Jun 2010 18:29:18 +0000 (18:29 -0000)]
2010-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageSecurityState.cs: Make our .ctor internal - so we
don't expose a public .ctor at all.

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

14 years ago2010-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 6 Jun 2010 18:22:51 +0000 (18:22 -0000)]
2010-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFileTest.cs: Include check for paths outside our
storage root in our tests for MoveFile, MoveDirectory and CopyFile.

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

14 years ago2010-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 6 Jun 2010 18:21:35 +0000 (18:21 -0000)]
2010-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFile.cs: Our 4.0 methods receiving a path should
either return false or throw an IsolatedStorageException if the path
refers to a directory outside the storage root.

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

14 years ago2010-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jun 2010 00:48:58 +0000 (00:48 -0000)]
2010-06-06  Zoltan Varga  <vargaz@gmail.com>

* helpers.c (mono_disassemble_code): Flush stdout, so the output from the spawned
process does not mix with ours.

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

14 years ago2010-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jun 2010 00:44:27 +0000 (00:44 -0000)]
2010-06-06  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Refactor this giant function into smaller
ones.

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

14 years ago2010-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jun 2010 00:05:10 +0000 (00:05 -0000)]
2010-06-06  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c method-to-ir.c ir-emit.h: When using the llvm mono branch, allow
loads/stores which can throw exceptions inside clauses.

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

14 years ago2010-06-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jun 2010 20:33:49 +0000 (20:33 -0000)]
2010-06-05  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Fix support for finally clauses with more than
one ENDFINALLY.

* mini.c (mini_init): Register mono_resume_unwind as an icall.

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

14 years agoMove the general info into ns-...xml so monodoc can display it.
Zoltan Varga [Sat, 5 Jun 2010 19:01:26 +0000 (19:01 -0000)]
Move the general info into ns-...xml so monodoc can display it.

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

14 years agoReflect namespace changes.
Zoltan Varga [Sat, 5 Jun 2010 18:50:52 +0000 (18:50 -0000)]
Reflect namespace changes.

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

14 years agoReflect the namespace change.
Zoltan Varga [Sat, 5 Jun 2010 18:44:11 +0000 (18:44 -0000)]
Reflect the namespace change.

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

14 years ago2010-06-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jun 2010 18:42:41 +0000 (18:42 -0000)]
2010-06-05  Zoltan Varga  <vargaz@gmail.com>

* docs/Makefile (MONO_DIRS): Add Mono.Debugger.Soft.

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

14 years agoMove the documentation to Documentation/en.
Zoltan Varga [Sat, 5 Jun 2010 18:42:28 +0000 (18:42 -0000)]
Move the documentation to Documentation/en.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 09:50:43 +0000 (09:50 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-los.c: Keep bitmaps on chunk usage in LOS sections to speed
        up freeing.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 09:45:31 +0000 (09:45 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-los.c: New LOS allocator that allocates large
        segments of memory at once, to reduce the number of mmap/munmap
        calls.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 08:47:48 +0000 (08:47 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-protocol.c, sgen-protocol.h: Protocol degraded
        allocations and distinguish between normal, degraded and pinned
        allocations.

2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * tools/sgen/sgen-grep-binprot.c: Updated for degraded and pinned
        allocations.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 08:29:32 +0000 (08:29 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-major-copying.c, sgen-marksweep.c: Make degraded
        allocations count toward major collections and trigger major
        collections from degraded allocations if appropriate.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 08:21:25 +0000 (08:21 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-marksweep.c (ms_get_empty_block): Update heap boundaries.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 01:30:41 +0000 (01:30 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Enable mark&sweep again.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 01:18:32 +0000 (01:18 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Increase the maximum small object size to 8000 bytes.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 01:16:36 +0000 (01:16 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-major-copying.c, sgen-marksweep.c: Have only one
        major heap allowance for minor collections, instead of two
        separate ones for small and large objects.  This reduces the
        number of major collections.

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

14 years ago2010-06-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 4 Jun 2010 22:47:30 +0000 (22:47 -0000)]
2010-06-05  Marek Habersack  <mhabersack@novell.com>

* PageRouteHandler.cs: implemented

2010-06-05  Marek Habersack  <mhabersack@novell.com>

* UrlRoutingModule.cs: 4.0 doesn't do the UrlRouting.axd magic, it
simply remaps the current handler to the one obtained from the
route.

2010-06-05  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: expression evaluation results are
wrapped in a Convert.ConvertTo* call or a typecast.

* RouteValueExpressionBuilder.cs: implemented

* RouteUrlExpressionBuilder.cs: added missing custom attributes

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

14 years agoWIP: page routing
Marek Habersack [Fri, 4 Jun 2010 22:47:15 +0000 (22:47 -0000)]
WIP: page routing

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

14 years ago 2010-05-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 4 Jun 2010 19:26:12 +0000 (19:26 -0000)]
2010-05-29  Marek Habersack  <mhabersack@novell.com>

     * mono-dl.c (mono_dl_build_path): modify the logic to try the
     use the passed name to build the path without suffix on the first
     run (handles situations like "somelib.so.1.0" ->
     "libsomelib.so.1.0") and, on subsequent run, append the platform
     suffix(es) (handles situations like "libsomething" ->
     "libsomething.so"). Fixes bugs #588143 and #610009

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

14 years ago2010-06-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jun 2010 17:40:42 +0000 (17:40 -0000)]
2010-06-04  Marek Safar  <marek.safar@gmail.com>

* convert.cs, typespec.cs, expression.cs: Start using array member
kind.

* import.cs, report.cs: Report better error message for runtime
reflection bugs.

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

14 years ago2010-06-04 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 4 Jun 2010 16:27:11 +0000 (16:27 -0000)]
2010-06-04  Jb Evain  <jbevain@novell.com>

* ConditionalWeakTable.cs: make sure we use positive indexes.

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

14 years ago2010-06-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 4 Jun 2010 16:14:35 +0000 (16:14 -0000)]
2010-06-04  Marek Habersack  <mhabersack@novell.com>

* icall.c (ves_icall_MonoType_GetEvent): be case insensitive is
the BFLAGS_IgnoreCase is raised

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

14 years ago2010-06-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 4 Jun 2010 15:26:35 +0000 (15:26 -0000)]
2010-06-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFileTest.cs: New test case for Remove.

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

14 years ago2010-06-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 4 Jun 2010 15:26:27 +0000 (15:26 -0000)]
2010-06-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFile.cs: In CheckOpen check that the directory for
the current storage is still valid, and throw an exception if needed.
Also, in the static Remove method call Directory.Delete only if the
directory exists, to avoid throwing an exception there.

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

14 years ago2010-06-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Jun 2010 14:42:36 +0000 (14:42 -0000)]
2010-06-04  Zoltan Varga  <vargaz@gmail.com>

* dtest.cs dtest-app.cs: Add tests for StackFrame.GetVisibleVariables ().

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

14 years ago2010-06-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Jun 2010 14:40:54 +0000 (14:40 -0000)]
2010-06-04  Zoltan Varga  <vargaz@gmail.com>

* StackFrame.cs (GetVisibleVariables): New method to return the set of variables
visible at the current stack frame.

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

14 years agoupdate MEF to preview 9
Jb Evain [Fri, 4 Jun 2010 14:04:42 +0000 (14:04 -0000)]
update MEF to preview 9

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

14 years ago2010-06-04 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 4 Jun 2010 14:03:06 +0000 (14:03 -0000)]
2010-06-04  Jb Evain  <jbevain@novell.com>

* Exception.cs: add stub for SerializeObjectState.

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

14 years ago2010-06-04 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 4 Jun 2010 14:02:08 +0000 (14:02 -0000)]
2010-06-04  Jb Evain  <jbevain@novell.com>

* monotouch_System.Web.Services.dll.sources: add HttpEncoder from
System.Web. Fixes the build.

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

14 years ago2010-06-04 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 4 Jun 2010 14:01:38 +0000 (14:01 -0000)]
2010-06-04  Jb Evain  <jbevain@novell.com>

* HttpEncoder.cs: only net_4_0 uses System.Web.Configuration.

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

14 years agoFixed.
Marek Safar [Fri, 4 Jun 2010 13:27:02 +0000 (13:27 -0000)]
Fixed.

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

14 years ago2010-06-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jun 2010 13:17:47 +0000 (13:17 -0000)]
2010-06-04  Marek Safar  <marek.safar@gmail.com>

* membercache.cs, convert.cs, nullable.cs, expression.cs: Optimize
user defined conversion probing and simplify user conversion for
nullabe types. Fixes #610940.

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

14 years ago2010-06-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Jun 2010 09:38:03 +0000 (09:38 -0000)]
2010-06-04  Atsushi Enomoto  <atsushi@ximian.com>

* CallbackBehaviorAttributeTest.cs : test recent changes on operation
  descriptions, message directions, client operations and so on.

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

14 years ago2010-06-04 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 4 Jun 2010 08:40:36 +0000 (08:40 -0000)]
2010-06-04  Atsushi Enomoto  <atsushi@ximian.com>

* OperationDescription.cs : add contract origin flags to identify
  which operation should be used for client operations (and dispatch
  too in the future).
* MessageDescription.cs : add IsRequest flag to indicate if it is
  for request or not.
* ServiceContractGenerator.cs, ContractDescriptionGenerator.cs :
  make use of above changes.
* ContractDescription.cs : don't create extraneous ClientOperations
  in irrelevant message direction.

* EndpointDispatcher.cs, BaseMessagesFormatter.cs:
  Now MessageDescription.Direction is differentiated from "IsRequest"
  property, to precisely identify request/reply in callbacks. Also
  now we don't have to create extraneous ContractDescription for
  callbacks.

* DuplexClientRuntimeChannel.cs : do not create and use extraneous
  ContractDescription for callback contract. Non-callback ones now
  works fine.

This fixes service part of bug #567672, IsOneWay = true case.

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

14 years ago* Import.cs (EvaluateProjectPath): Add a hack to support multiple
Ankit Jain [Thu, 3 Jun 2010 21:56:33 +0000 (21:56 -0000)]
* Import.cs (EvaluateProjectPath): Add a hack to support multiple
msbuild extension paths. Paths can be specified via the environment
variable - $MSBuildExtensionsPath . ~/.config/xbuild/tasks is also
checked for extensions, besides the default location.
This explicitly looks for a "$(MSBuildExtensionsPath)" in the import
expression and tries to replace that with possible paths, till it
finds the file. In rest of the project, the property would resolve
to its single default value.

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

14 years ago2010-06-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 3 Jun 2010 17:28:14 +0000 (17:28 -0000)]
2010-06-03  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Don't open internals to System.ServiceModel.Routing
for Moonlight build

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

14 years ago2010-06-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jun 2010 17:24:57 +0000 (17:24 -0000)]
2010-06-03  Zoltan Varga  <vargaz@gmail.com>

* dwarfwriter.c: Update after the mono_debug_lookup_locals () changes.

* debugger-agent.c (method_commands_internal): Ditto. Return scope information for
locals.

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

14 years ago2010-06-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jun 2010 17:24:50 +0000 (17:24 -0000)]
2010-06-03  Zoltan Varga  <vargaz@gmail.com>

* debug-mono-symfile.c (mono_debug_symfile_lookup_locals): Rewrite this so it returns
all information in a single structure. Return information about scopes as well.

* mono-debug.c (mono_debug_lookup_locals): Ditto.

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

14 years agoRevert a change commited by mistake.
Zoltan Varga [Thu, 3 Jun 2010 16:54:38 +0000 (16:54 -0000)]
Revert a change commited by mistake.

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

14 years ago2010-06-03 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Thu, 3 Jun 2010 16:51:22 +0000 (16:51 -0000)]
2010-06-03  Jérémie Laval  <jeremie.laval@gmail.com>

In class/System/System.Collections.Concurrent/:
   * ConcurrentBag.cs: Add a add hint cache for faster steal retrieval.
   Initialize lazily the underlying CyclicDeque.

In class/corlib/Test/System.Collections.Concurrent/:
   * CollectionStressTestHelper.cs: Bump remove test repeat to 1000.
   Use a local variable for tracking status and only update the global one
   at the end.

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

14 years ago2010-06-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 3 Jun 2010 16:40:50 +0000 (16:40 -0000)]
2010-06-03  Zoltan Varga  <vargaz@gmail.com>

* debugger-agent.c (appdomain_unload): Clear all breakpoint instances in the dying
appdomain.

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

14 years ago2010-06-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 3 Jun 2010 16:33:31 +0000 (16:33 -0000)]
2010-06-03  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescriptionGenerator.cs : Now callback contract methods are
  also reflected into OperationDescription as well as those from non-
  callback contract. Callback methods have reverse MessageDirection,
  so adjust them.
* ContractDescription.cs, ServiceEndpoint.cs, TypedMessageConverter.cs :
  A bit of renaming / reflect method call changes.

* EndpointDispatcher.cs, DispatchRuntime.cs, ClientRuntime.cs :
  now Callback[Dispatch|Client]Runtime properties are always filled
  so that users can configure the callback runtimes (not sure such
  configured runtimes work fine yet, but it is a required step).
* InputOrReplyRequestProcessor.cs : instead of HasCallbackRuntime
  hack, use CallbackClientRuntime.CallbackContractType for checking
  callback existence.

* ClientProxyGenerator.cs : CreateProxyType now carefully considers
  requested proxy type, contract type and callback contract type.
  i.e. now the resulting proxy has implemented methods for callbacks
  that are also filled at ContractDescription.
* ClientRuntimeChannel.cs : reflect some method call changes.

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

14 years ago2010-06-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 3 Jun 2010 15:55:57 +0000 (15:55 -0000)]
2010-06-03  Sebastien Pouliot  <sebastien@ximian.com>

* SerializationMap.cs: NET_2_1 needs cast too

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

14 years ago2010-06-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 3 Jun 2010 15:28:59 +0000 (15:28 -0000)]
2010-06-03  Sebastien Pouliot  <sebastien@ximian.com>

* MoonIsolatedStorage.cs: Make class internal so we can access it
from System.Window.dll to adjust quotas

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

14 years agoIn class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
Ankit Jain [Thu, 3 Jun 2010 12:55:04 +0000 (12:55 -0000)]
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* Engine.cs (GetLoadedProject): Return null if project not found.
Based on a patch by Dale Ragan <dale.ragan@sinesignal.com> .

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

* EngineTest.cs (TestGetLoadedProject1):
Patch by Dale Ragan <dale.ragan@sinesignal.com> .

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

14 years ago2010-06-03 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 3 Jun 2010 10:56:08 +0000 (10:56 -0000)]
2010-06-03  Jb Evain  <jbevain@novell.com>

* Assembly.cs: add net_4_0's PermissionSet property.

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

14 years ago2010-06-03 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 3 Jun 2010 10:55:37 +0000 (10:55 -0000)]
2010-06-03  Jb Evain  <jbevain@novell.com>

* AppDomain.cs: add net_4_0's PermissionSet property.

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

14 years agodisable broken tests on net_4_0
Jb Evain [Thu, 3 Jun 2010 10:08:38 +0000 (10:08 -0000)]
disable broken tests on net_4_0

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

14 years agoupdate version number
Jb Evain [Thu, 3 Jun 2010 10:02:01 +0000 (10:02 -0000)]
update version number

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

14 years agoadd SafeSerializationEventArgs
Jb Evain [Thu, 3 Jun 2010 09:41:46 +0000 (09:41 -0000)]
add SafeSerializationEventArgs

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

14 years ago2010-06-03 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 3 Jun 2010 09:41:32 +0000 (09:41 -0000)]
2010-06-03  Jb Evain  <jbevain@novell.com>

* SafeSerializationEventArgs.cs: add new type in net_4_0.

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

14 years agoadd ISafeSerializationData
Jb Evain [Thu, 3 Jun 2010 09:34:41 +0000 (09:34 -0000)]
add ISafeSerializationData

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

14 years ago2010-06-03 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 3 Jun 2010 09:34:24 +0000 (09:34 -0000)]
2010-06-03  Jb Evain  <jbevain@novell.com>

* ISafeSerializationData.cs: add new interface in net_4_0.

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

14 years agoNew test.
Marek Safar [Thu, 3 Jun 2010 07:41:06 +0000 (07:41 -0000)]
New test.

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

14 years ago2010-06-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 3 Jun 2010 07:34:45 +0000 (07:34 -0000)]
2010-06-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #610919
* parameter.cs, property.cs, cs-parser.jay: Use independent implicit
parameters for explicit event accessors. Anonymous method capturing
won't otherwise work for event implicit parameter.

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

14 years ago2010-06-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 3 Jun 2010 06:32:09 +0000 (06:32 -0000)]
2010-06-03  Atsushi Enomoto  <atsushi@ximian.com>

* BackupEndpointCollection.cs
  BackupEndpointElement.cs
  BackupListCollection.cs
  FilterElement.cs
  FilterElementCollection.cs
  FilterTableEntryCollection.cs
  FilterTableEntryElement.cs
  NamespaceElement.cs
  NamespaceElementCollection.cs
  RoutingExtensionElement.cs
  RoutingSection.cs
  SoapProcessingExtensionElement.cs : implement to get working.

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

14 years ago2010-06-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 3 Jun 2010 06:30:37 +0000 (06:30 -0000)]
2010-06-03  Atsushi Enomoto  <atsushi@ximian.com>

* AssemblyInfo.cs : add InternalVisibleTo(sys.sm.routing).

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

14 years ago2010-06-03 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 2 Jun 2010 23:12:20 +0000 (23:12 -0000)]
2010-06-03  Marek Habersack  <mhabersack@novell.com>

* Parameter.cs, ControlParameter.cs, SessionParameter.cs,
CookieParameter.cs, FormParameter.cs, ProfileParameter.cs,
QueryStringParameter.cs: Evaluate is 'protected internal virtual'
in 4.0.

* RouteParameter.cs: implemented.

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

14 years ago2010-06-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 2 Jun 2010 21:36:29 +0000 (21:36 -0000)]
2010-06-02  Marek Habersack  <mhabersack@novell.com>

* ViewStateMode.cs: added

* Control.cs: implemented 4.0 ViewStateMode

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

14 years ago2010-06-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 2 Jun 2010 21:36:20 +0000 (21:36 -0000)]
2010-06-02  Marek Habersack  <mhabersack@novell.com>

* Page.cs: implemented 4.0 properties AutoPostBackControl and
RouteData

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

14 years ago2010-06-02 Geoff Norton <gnorton@novell.com>
Geoff Norton [Wed, 2 Jun 2010 20:57:42 +0000 (20:57 -0000)]
2010-06-02  Geoff Norton  <gnorton@novell.com>

        * appdomain.c: If we are running with IOMAP we might
        have been provided a string that isn't case-aware for our file-
        system, so we need to use io-portability to check if the file
        exists, rather than a simple glib test.

        Fixes #608849

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

14 years agoDon't link against System.Design
Marek Habersack [Wed, 2 Jun 2010 19:24:32 +0000 (19:24 -0000)]
Don't link against System.Design

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

14 years ago- updated obsolete types/members
Marek Habersack [Wed, 2 Jun 2010 19:04:08 +0000 (19:04 -0000)]
- updated obsolete types/members
- added missing type/member attributes
- use generic types in Page wherever possible

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

14 years agoflush
Marek Safar [Wed, 2 Jun 2010 18:53:16 +0000 (18:53 -0000)]
flush

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

14 years agoNew tests.
Marek Safar [Wed, 2 Jun 2010 18:51:21 +0000 (18:51 -0000)]
New tests.

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

14 years ago2010-06-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 2 Jun 2010 18:50:58 +0000 (18:50 -0000)]
2010-06-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #610088
* nullable.cs, expression.cs, statement.cs, method.cs, ecore.cs:
Ignore overrides for base overload resolution as for non-base
expressions and convert the best candidate to closest override
afterwards.

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

14 years ago2010-06-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 2 Jun 2010 18:30:45 +0000 (18:30 -0000)]
2010-06-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFileTest.cs: Augment our test cases for MoveFile and
MoveDirectory.

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

14 years ago2010-06-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 2 Jun 2010 18:30:40 +0000 (18:30 -0000)]
2010-06-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFile.cs: Check for empty paths and existing paths in
both MoveFile and MoveDirectory, just as we do in CopyFile. Finally
cover our IO calls with a try-catch block, so all the IOException
instances are reported as IsolatedStorageException.

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

14 years agoNew tests.
Marek Safar [Wed, 2 Jun 2010 16:30:12 +0000 (16:30 -0000)]
New tests.

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

14 years ago2010-06-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 2 Jun 2010 14:34:25 +0000 (14:34 -0000)]
2010-06-02 Rodrigo Kumpera  <rkumpera@novell.com>

* invalid_generic_constraints_with_loop.il:
* valid_dependent_generic_constraint_and_boxing.il:
Regression tests for #610625.

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

14 years ago2010-06-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 2 Jun 2010 14:34:17 +0000 (14:34 -0000)]
2010-06-02 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (verify_generic_parameters): Verify if
there are not loops in constraints.

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

14 years ago2010-06-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 2 Jun 2010 14:34:09 +0000 (14:34 -0000)]
2010-06-02 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (is_compatible_boxed_valuetype): Constaints
must be recursively checked if one generic argument
has a constraint on another.

Fixes #610625.

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

14 years ago2010-06-02 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 2 Jun 2010 10:53:56 +0000 (10:53 -0000)]
2010-06-02  Marek Habersack  <mhabersack@novell.com>

* DefaultHttpHandler.cs: implemented, so that static file requests
work again in 4.0

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

14 years ago2010-06-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Jun 2010 09:48:18 +0000 (09:48 -0000)]
2010-06-02  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationMap.cs : fix PeerNodeAddress serialization regression.

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

14 years ago2010-06-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 2 Jun 2010 07:42:42 +0000 (07:42 -0000)]
2010-06-02 Atsushi Enomoto  <atsushi@ximian.com>

 * XmlBinaryDictionaryReader.cs : reset name in Reset().
   Fixed bug #599479.

* XmlObjectSerializerTest.cs : enable binary reader test for #601785.

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

14 years ago2010-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 2 Jun 2010 02:23:28 +0000 (02:23 -0000)]
2010-06-02  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (set_rgctx_arg): New helper function to remove some duplicate code.
Use a separate generic class init trampoline for llvm, since it needs a different
signature.

* unwind.c (mono_unwind_decode_fde): Make this decode the mono specific LSDA which
includes the location of this/rgctx.

* mini-llvm.c aot-runtime.c: Enable generic sharing for llvm if using the LLVM mono
branch.

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

14 years ago2010-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 2 Jun 2010 02:23:18 +0000 (02:23 -0000)]
2010-06-02  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Check whenever we are using mono's LLVM branch.

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

14 years ago2010-06-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 1 Jun 2010 22:01:28 +0000 (22:01 -0000)]
2010-06-01  Marek Habersack  <mhabersack@novell.com>

* HtmlHead.cs: added code to render description and keywords metas
if the corresponding HtmlMeta controls aren't found and the user
set either Description or Keywords properties.

2010-06-01  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompiler.cs: added new virtual method,
AddStatementsToInitMethodBottom and renamed
AddStatementsToInitMethod to AddStatementsToInitMethodTop.

* PageCompiler.cs: code to set Meta{Description,Keywords}
properties, if present.

2010-06-01  Marek Habersack  <mhabersack@novell.com>

* PageParser.cs: added support for MetaDescription and
MetaKeywords main directive attributes

* Page.cs: implemented MetaDescription and MetaKeywords
4.0 properties.

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

14 years ago2010-06-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 1 Jun 2010 19:39:19 +0000 (19:39 -0000)]
2010-06-01  Marek Habersack  <mhabersack@novell.com>

* HttpUtility.cs: moved chunks of code to the new
System.Web.Util.HttpEncoder class.

* HttpResponseHeader.cs: encode header names and values using
HttpEncoder.

* HttpRequest.cs: added internal method Validate, to validate the
request in 4.0 profile.

* HttpHeaderCollection.cs: added. A helper class to encode header
names/values on add.

* HttpApplication.cs: Pipeline () validates request by calling
HttpRequest.Validate in the 4.0 profile.

2010-06-01  Marek Habersack  <mhabersack@novell.com>

* HttpEncoder.cs: added. A 4.0 type but also used in 2.0 profile,
internally.

2010-06-01  Marek Habersack  <mhabersack@novell.com>

* HttpRuntimeSection.cs: added 4.0 properties
MaxQueryLengthString, MaxUrlLength, EncoderType and
RelaxedUrlToFileSystemMapping.

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

14 years ago2010-06-01 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 1 Jun 2010 19:33:48 +0000 (19:33 -0000)]
2010-06-01  Geoff Norton  <gnorton@novell.com>

        * sockets.c: Don't call poll directly, use mono_poll.

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

14 years ago2010-06-01 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 1 Jun 2010 19:33:44 +0000 (19:33 -0000)]
2010-06-01  Geoff Norton  <gnorton@novell.com>

        * mono-poll.c: poll() is broken on osx in several cases, so we use a select
        based mono_poll() instead.

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

14 years agoupdated
Marek Safar [Tue, 1 Jun 2010 14:52:34 +0000 (14:52 -0000)]
updated

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

14 years ago2010-06-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 1 Jun 2010 14:11:05 +0000 (14:11 -0000)]
2010-06-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #610139
* generic.cs, convert.cs: Recursively check effective base interface

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

14 years agoNew test.
Marek Safar [Tue, 1 Jun 2010 13:23:38 +0000 (13:23 -0000)]
New test.

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

14 years ago2010-06-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 1 Jun 2010 13:23:09 +0000 (13:23 -0000)]
2010-06-01  Marek Safar  <marek.safar@gmail.com>

* statement.cs: Handle nullable types and type parameters in using
statement, avoid boxing value types. Also fixes #571010

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

14 years agoUpdated.
Marek Safar [Tue, 1 Jun 2010 10:16:04 +0000 (10:16 -0000)]
Updated.

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

14 years ago2010-06-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 1 Jun 2010 10:15:49 +0000 (10:15 -0000)]
2010-06-01  Marek Safar  <marek.safar@gmail.com>

* convert.cs, expression.cs: Emit unbox for underlying nullable
type boxing cast.

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

14 years ago#608721: Fix a crash on exit.
Martin Baulig [Tue, 1 Jun 2010 10:08:52 +0000 (10:08 -0000)]
#608721: Fix a crash on exit.
2010-05-31  Martin Baulig  <martin@ximian.com>

Fix #608271.

* debugger-agent.c (breakpoints_cleanup): Iterate over `event_requests', call
clear_breakpoint() on all breakpoint events and remove them from the list.

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

14 years ago2010-06-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Jun 2010 04:49:17 +0000 (04:49 -0000)]
2010-06-01  Atsushi Enomoto  <atsushi@ximian.com>

* XmlObjectSerializerTest.cs : added test for bug #601785, based on
  the test by Raja Harinath.

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

14 years ago2010-06-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 1 Jun 2010 04:41:20 +0000 (04:41 -0000)]
2010-06-01  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationMap.cs : for IXmlSerializable it uses CreateInstance()
  instead of GetUninitializedObject(). Fixed bug #601785.

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

14 years agoEnable llvm+clauses for num_clauses == 1.
Zoltan Varga [Tue, 1 Jun 2010 01:34:22 +0000 (01:34 -0000)]
Enable llvm+clauses for num_clauses == 1.

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

14 years agoFix the build.
Zoltan Varga [Tue, 1 Jun 2010 01:09:59 +0000 (01:09 -0000)]
Fix the build.

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

14 years agoDisable llvm+exceptions, some tests still fail.
Zoltan Varga [Tue, 1 Jun 2010 01:07:22 +0000 (01:07 -0000)]
Disable llvm+exceptions, some tests still fail.

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

14 years ago2010-06-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 1 Jun 2010 01:03:35 +0000 (01:03 -0000)]
2010-06-01  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_method_compile): Enable llvm+exceptions on LLVM SVN.

* mini-llvm.c (emit_cond_system_exception): Disable llvm when this occurs in a
clause.

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

14 years ago2010-05-31 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 1 Jun 2010 00:39:19 +0000 (00:39 -0000)]
2010-05-31  Geoff Norton  <gnorton@novell.com>

* dyn_load.c: Its possible for linkmap->l_addr to be null for the
linker entry on some systems (Android/Bionic based libc's)

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