Jonathan Chambers [Wed, 9 Jun 2010 02:41:00 +0000 (02:41 -0000)]
2010-06-08 Jonathan Chambers <joncham@gmail.com>
* Build jay and run before gmcs and System.Xml. The basic profile should build now.
svn path=/trunk/mcs/; revision=158724
Ankit Jain [Tue, 8 Jun 2010 20:20:19 +0000 (20:20 -0000)]
* ToolTask.cs: Don't check for tool's existence, as we might
not have the full path.
svn path=/trunk/mcs/; revision=158680
Carlos Alberto Cortez [Tue, 8 Jun 2010 17:04:16 +0000 (17:04 -0000)]
2010-06-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Ugh, accidentally forgot to commit the changes for
in the previous commit.
svn path=/trunk/mcs/; revision=158673
Jonathan Pryor [Tue, 8 Jun 2010 17:01:47 +0000 (17:01 -0000)]
* Mono.Options/Options.cs: Don't overly split option values, only split
to obtain the maximum number of desired values. This better supports
e.g. DOS paths in multi-value values, e.g. '-DPATH=C:\tmp' would now
create the values {"PATH", "C:\tmp"} instead of {"PATH", "C", "\tmp"}.
* Test/Mono.Options/OptionSetTest.cs: Add tests for constrained value
splitting.
svn path=/trunk/mcs/; revision=158672
Jonathan Pryor [Tue, 8 Jun 2010 15:26:10 +0000 (15:26 -0000)]
* System/String.cs: Fix String.Split(String[],int,StringSplitOptions)
so that:
- it properly obeys the 'count' parameter; Fixes #601772.
- "...".Split(new[]{"."}, 2, StringSplitOptions.RemoveEmptyEntries).Length==0
- "A..".Split (new String[] { "." }, 2, StringSplitOptions.RemoveEmptyEntries) == new[]{"A"}
- Remove duplicative array handling code by using List<String>.
* Test/System/StringTest.cs: Add tests for #601772 (i.e. take
SplitStringChars(), change all the chars to Strings, and things
should work).
svn path=/trunk/mcs/; revision=158670
Zoltan Varga [Tue, 8 Jun 2010 15:17:06 +0000 (15:17 -0000)]
2010-06-08 Zoltan Varga <vargaz@gmail.com>
* liveness.c (visit_bb): Make the component vregs of long vars volatile as well.
Fixes #612206.
* exceptions.cs: Add a test.
svn path=/trunk/mono/; revision=158668
Marek Safar [Tue, 8 Jun 2010 15:05:44 +0000 (15:05 -0000)]
Fixed more wrong locations.
svn path=/trunk/mcs/; revision=158667
Marek Safar [Tue, 8 Jun 2010 14:36:56 +0000 (14:36 -0000)]
Removed unused class
svn path=/trunk/mcs/; revision=158666
Jonathan Chambers [Tue, 8 Jun 2010 03:12:52 +0000 (03:12 -0000)]
2010-06-07 Jonathan Chambers <joncham@gmail.com>
* Copy *.dll.sources to *.dll.msbuild.sources during build to change '/' to '\' for Windows.
svn path=/trunk/mcs/; revision=158620
Carlos Alberto Cortez [Tue, 8 Jun 2010 00:00:34 +0000 (00:00 -0000)]
* IsolatedStorageFileTest.cs: New test for GetUserStoreForSite.
2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=158613
Carlos Alberto Cortez [Mon, 7 Jun 2010 23:59:34 +0000 (23:59 -0000)]
* IsolatedStorageFile.cs: GetUserStoreForSite is only throwing a
NotSupportedException.
* IsolatedStorageFileStream.cs: Implement Flush by calling the base impl.
2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=158612
Marek Safar [Mon, 7 Jun 2010 18:59:55 +0000 (18:59 -0000)]
2010-06-07 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, eval.cs, iterators.cs, anonymous.cs, expression.cs
method.cs, class.cs, delegate.cs, cs-parser.jay, driver.cs, visit.cs
enum.cs: Hold location of predefined types.
svn path=/trunk/mcs/; revision=158598
Carlos Alberto Cortez [Mon, 7 Jun 2010 17:46:29 +0000 (17:46 -0000)]
* IsolatedStorageFileTest.cs: New test for DeleteFile.
2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=158594
Carlos Alberto Cortez [Mon, 7 Jun 2010 17:45:40 +0000 (17:45 -0000)]
* IsolatedStorageFile.cs: Remove and DeleteFile must report any
error found in our System.IO classes as IsolatedStorageException.
2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=158593
Jonathan Chambers [Mon, 7 Jun 2010 16:39:50 +0000 (16:39 -0000)]
2010-06-07 Jonathan Chambers <joncham@gmail.com>
* Add start of MSBuild based build.
svn path=/trunk/mcs/; revision=158592
Jonathan Chambers [Mon, 7 Jun 2010 16:39:11 +0000 (16:39 -0000)]
2010-06-07 Jonathan Chambers <joncham@gmail.com>
* Add start of MSBuild based build.
svn path=/trunk/mcs/; revision=158591
Carlos Alberto Cortez [Mon, 7 Jun 2010 15:01:11 +0000 (15:01 -0000)]
2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFileTest.cs: Update our tests to catch/report the new
exceptions fired in 4.0, as well as a new test to assert that
GetDirectoryNames fires an ArgumentException if '..' is passed as part
of the path.
svn path=/trunk/mcs/; revision=158590
Carlos Alberto Cortez [Mon, 7 Jun 2010 15:01:00 +0000 (15:01 -0000)]
2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Update the exceptions we are firing in 4.0
for CreateDirectory, GetFileNames and GetDirectoryNames.
svn path=/trunk/mcs/; revision=158589
Marek Safar [Mon, 7 Jun 2010 09:05:27 +0000 (09:05 -0000)]
Fix completion results.
svn path=/trunk/mcs/; revision=158584
Marek Safar [Mon, 7 Jun 2010 08:36:17 +0000 (08:36 -0000)]
New test.
svn path=/trunk/mcs/; revision=158583
Marek Safar [Mon, 7 Jun 2010 08:35:01 +0000 (08:35 -0000)]
2010-06-07 Marek Safar <marek.safar@gmail.com>
A fix for bug #610878
* pending.cs: Clone cached list before modifying.
svn path=/trunk/mcs/; revision=158582
Zoltan Varga [Sun, 6 Jun 2010 20:59:33 +0000 (20:59 -0000)]
2010-06-06 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_check_method_supported): Only disable llvm for nested clauses.
svn path=/trunk/mono/; revision=158572
Zoltan Varga [Sun, 6 Jun 2010 20:48:14 +0000 (20:48 -0000)]
2010-06-06 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_method_compile): Move the LLVM checks to a function in mini-llvm.c.
svn path=/trunk/mono/; revision=158571
Zoltan Varga [Sun, 6 Jun 2010 20:35:26 +0000 (20:35 -0000)]
2010-06-06 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Don't set *exc to NULL, it is now
done by the caller.
svn path=/trunk/mono/; revision=158570
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
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
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
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
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
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
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
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
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
Zoltan Varga [Sat, 5 Jun 2010 18:50:52 +0000 (18:50 -0000)]
Reflect namespace changes.
svn path=/trunk/mcs/; revision=158543
Zoltan Varga [Sat, 5 Jun 2010 18:44:11 +0000 (18:44 -0000)]
Reflect the namespace change.
svn path=/trunk/mcs/; revision=158542
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
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
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
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
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
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
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
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
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
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
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
Marek Habersack [Fri, 4 Jun 2010 22:47:15 +0000 (22:47 -0000)]
WIP: page routing
svn path=/trunk/mcs/; revision=158496
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
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
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
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
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
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
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
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
Jb Evain [Fri, 4 Jun 2010 14:04:42 +0000 (14:04 -0000)]
update MEF to preview 9
svn path=/trunk/mcs/; revision=158472
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
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
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
Marek Safar [Fri, 4 Jun 2010 13:27:02 +0000 (13:27 -0000)]
Fixed.
svn path=/trunk/mcs/; revision=158468
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jb Evain [Thu, 3 Jun 2010 10:02:01 +0000 (10:02 -0000)]
update version number
svn path=/trunk/mcs/; revision=158390
Jb Evain [Thu, 3 Jun 2010 09:41:46 +0000 (09:41 -0000)]
add SafeSerializationEventArgs
svn path=/trunk/mcs/; revision=158389
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
Jb Evain [Thu, 3 Jun 2010 09:34:41 +0000 (09:34 -0000)]
add ISafeSerializationData
svn path=/trunk/mcs/; revision=158387
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
Marek Safar [Thu, 3 Jun 2010 07:41:06 +0000 (07:41 -0000)]
New test.
svn path=/trunk/mcs/; revision=158384
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
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
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
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
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
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
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
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
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
Marek Safar [Wed, 2 Jun 2010 18:53:16 +0000 (18:53 -0000)]
flush
svn path=/trunk/mcs/; revision=158359
Marek Safar [Wed, 2 Jun 2010 18:51:21 +0000 (18:51 -0000)]
New tests.
svn path=/trunk/mcs/; revision=158358
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
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
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
Marek Safar [Wed, 2 Jun 2010 16:30:12 +0000 (16:30 -0000)]
New tests.
svn path=/trunk/mcs/; revision=158351
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
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