Ankit Jain [Wed, 9 Mar 2011 12:23:05 +0000 (17:53 +0530)]
[xbuild] Clean up test logs.
Remove unnecessary debug spew for tests that pass.
Atsushi Eno [Wed, 9 Mar 2011 13:50:25 +0000 (22:50 +0900)]
Some attempts to make KnownTypeCollection parallel access safe.
Atsushi Eno [Wed, 9 Mar 2011 12:17:59 +0000 (21:17 +0900)]
Remove old windows threading workaround.
Rolf Bjarne Kvinge [Tue, 8 Mar 2011 23:15:30 +0000 (00:15 +0100)]
Microsoft.Build.Tasks: vbnc2 must be used for the 2.0 profile
Marek Safar [Wed, 9 Mar 2011 08:16:08 +0000 (08:16 +0000)]
Checking array elements is done using ImplicitReferenceConversionExists
Marek Safar [Tue, 8 Mar 2011 19:50:10 +0000 (19:50 +0000)]
Remove more temporary expressions from probing converts
Marek Safar [Tue, 8 Mar 2011 19:26:35 +0000 (19:26 +0000)]
Don't allocate conversion expression for probing implicit type-parameter conversion
Marek Safar [Tue, 8 Mar 2011 17:14:57 +0000 (17:14 +0000)]
Clean up more static state
Marek Safar [Tue, 8 Mar 2011 16:29:48 +0000 (16:29 +0000)]
Remove more static stuff
Atsushi Eno [Wed, 9 Mar 2011 06:56:16 +0000 (15:56 +0900)]
Auto detect BOM-less utf-16 and utf-32. Fixed bug #674580.
Peter Gerbrandt [Wed, 9 Mar 2011 04:59:15 +0000 (13:59 +0900)]
Implement support for QNameIndex (0xBC) in attribute nodes.
Atsushi Eno [Wed, 9 Mar 2011 01:18:42 +0000 (10:18 +0900)]
Temporarily disable InternalsVisibleTo(System.ServiceModel).
until mcs (in 2-10 or later release) fixes the issue.
Gonzalo Paniagua Javier [Tue, 8 Mar 2011 23:05:15 +0000 (18:05 -0500)]
Avoid null refs when capacity set to 0
This fixes bug #676060.
Miguel de Icaza [Tue, 8 Mar 2011 22:51:20 +0000 (17:51 -0500)]
[System.Json] Fix loader.
The current loader failed with some Json strings due to the implementation
of the BufferedStreamReader. Removed that implementation completely,
and instead depend on the StreamReader to do the actual BOM detection.
This removes the JavaScriptObjectDeserializer.cs file
Miguel de Icaza [Tue, 8 Mar 2011 22:51:09 +0000 (17:51 -0500)]
Make print take an object
Gonzalo Paniagua Javier [Tue, 8 Mar 2011 22:34:53 +0000 (17:34 -0500)]
Turn the method to upper case.
Fixes bug #675731.
joncham [Tue, 8 Mar 2011 21:59:02 +0000 (16:59 -0500)]
Pass -w to the diff to avoid CR/LF issues.
Sebastien Pouliot [Tue, 8 Mar 2011 20:20:46 +0000 (15:20 -0500)]
Reduce peverify errors on moonlight tuned assemblies
* InjectSecurityAttributes.cs: When (and only when) we remove the
security declarations we must set HasSecurity to false. This greatly
reduce peverify errors on the moonlight tuned assemblies
Gonzalo Paniagua Javier [Tue, 8 Mar 2011 17:34:14 +0000 (12:34 -0500)]
No need to create an extra instance of Worker.
Rodrigo Kumpera [Tue, 8 Mar 2011 16:32:33 +0000 (17:32 +0100)]
Fix windows build
Atsushi Eno [Tue, 8 Mar 2011 14:52:26 +0000 (23:52 +0900)]
In XNodeWriter, extra xmlns was written and often rejected for duplicate decls.
Fixed bug #675620.
Marek Safar [Tue, 8 Mar 2011 14:40:44 +0000 (14:40 +0000)]
[677550] Fixes fixed buffer regressions
Marek Safar [Tue, 8 Mar 2011 14:07:05 +0000 (14:07 +0000)]
Enhance the check for internal protected members used via a qualifier
Marek Safar [Tue, 8 Mar 2011 14:02:36 +0000 (14:02 +0000)]
Fix invalid il body for few tests
Marek Safar [Tue, 8 Mar 2011 13:57:15 +0000 (13:57 +0000)]
Fixes build
Marek Safar [Tue, 8 Mar 2011 08:57:27 +0000 (08:57 +0000)]
Fixed few unit tests build issues
Atsushi Eno [Tue, 8 Mar 2011 13:04:18 +0000 (22:04 +0900)]
More xml output fixes in XmlSyndicationContent and SydicationElementExtension.
They have couple of complicated xml outputs in both GetReader(AtContent)
and Write(Contents)To methods... check new tests for details.
Ankit Jain [Tue, 8 Mar 2011 12:38:13 +0000 (18:08 +0530)]
[xbuild] Implement FileLogger . Fix #676650 .
* FileLogger.cs: Implement
Add corresponding command line args for file loggers.
Update man page.
Ankit Jain [Tue, 8 Mar 2011 12:09:12 +0000 (17:39 +0530)]
[xbuild] ConsoleLogger - parse params only on Initialize.
Zoltan Varga [Tue, 8 Mar 2011 12:28:31 +0000 (13:28 +0100)]
Use ip as scratch reg when saving the LMF on arm, instead of r2.
Zoltan Varga [Tue, 8 Mar 2011 11:59:21 +0000 (12:59 +0100)]
Refactor the LMF save/restore code into separate functions on ARM, and optimize it a little.
Zoltan Varga [Tue, 8 Mar 2011 11:14:52 +0000 (12:14 +0100)]
Fix some warnings.
Zoltan Varga [Tue, 8 Mar 2011 11:10:02 +0000 (12:10 +0100)]
Get rid of mono_allocate_stack_slots, since all callers use the _full version.
Atsushi Eno [Tue, 8 Mar 2011 09:56:00 +0000 (18:56 +0900)]
Couple of fixes around XmlSyndicationContent.GetReaderAtContent().
- The returned XmlReader is positioned at the beginning of the element.
- XmlSyndicationContent.GetReaderAtContent() returns XmlReader that begins
with the "wrapper" which is dummy Atom 1.0 content element.
Marek Safar [Tue, 8 Mar 2011 08:43:17 +0000 (08:43 +0000)]
Simplify checking for few more special compiler types
Marek Safar [Mon, 7 Mar 2011 18:14:21 +0000 (18:14 +0000)]
Clean up predefined members caching
Atsushi Eno [Tue, 8 Mar 2011 06:26:51 +0000 (15:26 +0900)]
Remove wrong buffer size check in XmlTextReader.ReadChrs().
Atsushi Eno [Tue, 8 Mar 2011 05:52:04 +0000 (14:52 +0900)]
Make sure to call MoveToContent() to correctly determine node type.
Fix "Dictionary deserialization from xml with indent" issue.
Atsushi Eno [Tue, 8 Mar 2011 02:01:57 +0000 (11:01 +0900)]
DateTimeOffset child elements have fixed namespace.
Mark Probst [Tue, 8 Mar 2011 00:32:42 +0000 (01:32 +0100)]
Merge branch 'sgen-job-distribution'
Mark Probst [Mon, 7 Mar 2011 18:05:46 +0000 (19:05 +0100)]
[sgen] Store the destination's vtable before CASing the forwarding pointer.
Sometimes the binary protocol crashed because we were not doing this
before. It should not be strictly necessary if the binary protocol
is turned off, though.
Mark Probst [Fri, 4 Mar 2011 00:03:50 +0000 (01:03 +0100)]
[sgen] Make scan from remsets a job.
Mark Probst [Thu, 3 Mar 2011 23:35:59 +0000 (00:35 +0100)]
[sgen] Parallel nursery collection.
Do parallel nursery collections when using the parallel
Mark&Sweep collector.
Mark Probst [Thu, 3 Mar 2011 16:10:25 +0000 (17:10 +0100)]
[sgen] Scanning of finalizer entries in a job.
Mark Probst [Wed, 2 Mar 2011 23:50:49 +0000 (00:50 +0100)]
[sgen] Job for scan thread data.
Mark Probst [Wed, 2 Mar 2011 15:49:36 +0000 (16:49 +0100)]
[sgen] Jobs for scanning from registered roots.
Mark Probst [Mon, 7 Mar 2011 23:30:42 +0000 (00:30 +0100)]
[sgen] Remove an incorrect assertion in the workers code and explain.
Mark Probst [Tue, 1 Mar 2011 18:51:26 +0000 (19:51 +0100)]
[sgen] Job queue.
We want to make worker threads not only process gray objects but
do other jobs as well, like scanning roots or remsets. To that end
we need a job distribution system.
Mark Probst [Thu, 24 Feb 2011 16:10:24 +0000 (17:10 +0100)]
[sgen] Separate step for starting marking in workers.
Gonzalo Paniagua Javier [Mon, 7 Mar 2011 23:50:07 +0000 (18:50 -0500)]
Host name is the same when querying localhost
The host name is set to the queried host name when it is the local
machine name. Fixes bug #676260.
Sebastien Pouliot [Mon, 7 Mar 2011 21:19:24 +0000 (16:19 -0500)]
Bring missing types into Moonlight 4
* System.Diagnostics.Contracts.Internal/ContractHelper.cs:
* System.Diagnostics.Contracts/Contract.cs:
* System.Diagnostics.Contracts/ContractException.cs:
* System.Diagnostics.Contracts/ContractFailedEventArgs.cs:
* System.Diagnostics.Contracts/ContractShouldAssertException.cs:
* System.Runtime.ExceptionServices/HandleProcessCorruptedStateExceptionsAttribute.cs:
Add || MOONLIGHT to include the types in Moonlight 4
* moonlight_raw_corlib.dll.sources: Bring missing types into Moonlight 4
Andrew Jorgensen [Mon, 7 Mar 2011 20:01:17 +0000 (13:01 -0700)]
Fix up devel packages in spec file
Zoltan Varga [Mon, 7 Mar 2011 19:19:04 +0000 (20:19 +0100)]
Implement some DynamicILInfo methods.
Zoltan Varga [Mon, 7 Mar 2011 17:03:38 +0000 (18:03 +0100)]
Fix the previous change.
Zoltan Varga [Mon, 7 Mar 2011 16:59:45 +0000 (17:59 +0100)]
Fix out-of-tree builds.
Atsushi Eno [Mon, 7 Mar 2011 16:49:33 +0000 (01:49 +0900)]
Empty element is valid here in silverlight secrity element.
Atsushi Eno [Mon, 7 Mar 2011 15:47:41 +0000 (00:47 +0900)]
XmlReader.ReadToNextSibling() saved wrong Depth and failed to proceed.
Fixed bug #676020.
Atsushi Eno [Mon, 7 Mar 2011 15:41:41 +0000 (00:41 +0900)]
Forgot to add the actual new client proxy.
Juho Vähä-Herttua [Thu, 17 Feb 2011 12:43:13 +0000 (14:43 +0200)]
2011-02-17 Juho Vähä-Herttua <juhovh@iki.fi>
* CngAlgorithm.cs, CngAlgorithmGroup.cs: Change the private
variable name to match .NET when the class is serialized
* CngKeyBlobFormat.cs: New.
* CngKeyCreationParameters.cs: New.
* CngProperty.cs: New.
* CngPropertyCollection.cs: New.
* CngProvider.cs: New.
* CngUIPolicy.cs: New.
Zoltan Varga [Mon, 7 Mar 2011 10:54:51 +0000 (11:54 +0100)]
Avoid an assert when returning nullable null's from sdb invokes. Fixes #676587.
Marek Safar [Fri, 4 Mar 2011 14:30:16 +0000 (14:30 +0000)]
Clean up handling of few special runtime types
Marek Safar [Fri, 4 Mar 2011 12:30:07 +0000 (12:30 +0000)]
Clean up null-literal underlying type
Atsushi Eno [Mon, 7 Mar 2011 08:07:37 +0000 (17:07 +0900)]
Set ProhibitDtd = false on uri-based Load(). Fixed bug #676009.
Atsushi Eno [Mon, 7 Mar 2011 07:45:33 +0000 (16:45 +0900)]
Couple of fixed to support new DateTimeOffset serialization in .NET WCF.
Jonathan Pryor [Mon, 7 Mar 2011 00:30:48 +0000 (19:30 -0500)]
[Mono.Options] Add option header support.
Option headers can be provided via OptionSet.Add(string), and allows
forgoing the use of a separate mechanism to provide contextual output.
For example, one used to do this:
bool show_help = false;
new OptionSet {
// ...
{ "help|h|?", v => show_help = v != null },
}.Parse (args);
if (show_help) {
Console.WriteLine ("usage: sample-app ARGS");
p.WriteOptionDescriptions (Console.Out);
// ...
}
Using the new header support, the "contextual" output can be merged
with the option specification:
bool show_help = false;
new OptionSet {
"usage: sample-app ARGS",
{ "help|h|?", v => show_help = v != null },
}.Parse (args);
if (show_help)
p.WriteOptionDescriptions (Console.Out);
Furthermore, headers can be provided "inline", thus serving as a
mechanism to categorize options:
// mcs options
var p = new OptionSet {
"Mono C# compiler, Copyright 2001 - 2011 Novell, Inc.",
"mcs [options] source-files",
// ...
"Resources:",
{ "linkresource|linkres:", v => /* ... */ },
// ...
"",
"Options can be of the form -option or /option",
};
Jonathan Pryor [Sun, 6 Mar 2011 19:50:23 +0000 (14:50 -0500)]
Flush documentation.
No "real" changes; just properties going from "set; get;" to
"get; set;" (why did that change?!) and updating the included
updated sample sources into the docs (s/NDesk.Options/Mono.Options/g).
Jonathan Pryor [Sun, 6 Mar 2011 19:46:47 +0000 (14:46 -0500)]
Update example output before running mdoc.
The example output is included into the mdoc-updated documentation;
thus, we want to have updated (correct) output before we run
mdoc-update.
We do this by making $(the_libir)/.doc-stamp target depend upon
$(DOC_EXAMPLES_OUTPUT) instead of the doc-update-local target.
Jonathan Pryor [Sun, 6 Mar 2011 19:42:29 +0000 (14:42 -0500)]
Do not store binary files.
The `doc-update-local` target will create these as needed.
Jonathan Pryor [Sun, 6 Mar 2011 19:41:14 +0000 (14:41 -0500)]
Distribute Mono.Options examples source, input, output.
Jonathan Pryor [Sun, 6 Mar 2011 19:39:36 +0000 (14:39 -0500)]
Remove unnecessary file.
Jonathan Pryor [Sun, 6 Mar 2011 19:32:43 +0000 (14:32 -0500)]
Add support for executing samples for documentation output.
The Documentation/en/examples/*.in files are command-lines for the
corresponding Documentation/en/examples/*.exe files, and the
stdout & stderr is recorded from these executions and appended
to Documentation/en/examples/*.txt. This allows the actual
documentation in Documentation/en/*/*.xml to include the *.txt
and *.cs files.
Atsushi Eno [Mon, 7 Mar 2011 04:59:22 +0000 (13:59 +0900)]
Forgot to add test xml files.
Atsushi Eno [Mon, 7 Mar 2011 04:56:37 +0000 (13:56 +0900)]
Fixed xsd derived simpleType cast failures on uint. Fixed bug #676993.
Peter Gerbrandt [Mon, 7 Mar 2011 03:51:19 +0000 (12:51 +0900)]
Support for the same interface as service contract and as callback contract.
Atsushi Eno [Mon, 7 Mar 2011 03:29:39 +0000 (12:29 +0900)]
Replace SRE-based client proxy generator with RealProxy.
Now PE verified workaround should be unnecessary.
Zoltan Varga [Sun, 6 Mar 2011 17:56:59 +0000 (18:56 +0100)]
Refactor the LMF creation code into separate functions on amd64. Create a variable for the LMF instead of allocating space for it in mono_arch_allocate_vars ().
Zoltan Varga [Sun, 6 Mar 2011 10:29:33 +0000 (11:29 +0100)]
Don't register emulation for CEE_ opcodes, its not needed.
Zoltan Varga [Sat, 5 Mar 2011 21:36:05 +0000 (22:36 +0100)]
Move MonoContext defines to mono-context.h on arm.
Zoltan Varga [Sat, 5 Mar 2011 21:20:48 +0000 (22:20 +0100)]
Fix arm build.
Rodrigo Kumpera [Fri, 4 Mar 2011 22:04:36 +0000 (23:04 +0100)]
Fix the win32 build
Zoltan Varga [Fri, 4 Mar 2011 18:28:00 +0000 (19:28 +0100)]
Speed up suspending when running under the loader lock.
Zoltan Varga [Fri, 4 Mar 2011 16:33:07 +0000 (17:33 +0100)]
Install a mono-sgen-gdb.py as well.
Zoltan Varga [Fri, 4 Mar 2011 11:50:19 +0000 (12:50 +0100)]
Log all sdb log messages to the log file instead of stdout.
Marek Safar [Fri, 4 Mar 2011 11:08:11 +0000 (11:08 +0000)]
Wiring of BuildinType
Marek Safar [Fri, 4 Mar 2011 09:09:57 +0000 (09:09 +0000)]
Unify predefined type user operators calling
Marek Safar [Thu, 3 Mar 2011 17:44:34 +0000 (17:44 +0000)]
Wiring of BuildinType
Ankit Jain [Thu, 3 Mar 2011 22:58:38 +0000 (04:28 +0530)]
[xbuild] LogExtensions.LogError - disambiguate.
* LogExtensions.cs(LogError): Rename the 'filename' overload to ..
(LogErrorWithFilename): .. this.
* Engine.cs: Track api changes.
Geoff Norton [Thu, 3 Mar 2011 22:54:47 +0000 (17:54 -0500)]
When running in a linked environment, this file might not exist
Ankit Jain [Thu, 3 Mar 2011 22:47:22 +0000 (04:17 +0530)]
[xbuild] Set @(CollectedBuildOutput) for projects build from .sln .
Ankit Jain [Thu, 3 Mar 2011 22:41:55 +0000 (04:11 +0530)]
[xbuild] Add missing api for Target.
* Target.cs (Outputs): Add new public property by this name. And rename
old one to ..
(OutputsAsITaskItems): .. this.
Rodrigo Kumpera [Thu, 3 Mar 2011 21:56:14 +0000 (22:56 +0100)]
Checking if a type is a reference must be gsharing aware.
* mini-generic-sharing.c: Add mini_type_is_reference
that returns true for VAR and MVAR if compiling under
gsharing.
* method-to-ir.c: Replace usage of mono_type_is_reference
with mini_type_is_reference.
* mini-gc.c: Ditto.
* mini.c: Ditto.
With the old behavior, the JIT could interpret a (M)VAR
variable and not been a reference type. This is an issue
for sgen as we could forgot to emit some write barriers
or generate the proper stack map.
Ankit Jain [Thu, 3 Mar 2011 19:41:26 +0000 (01:11 +0530)]
[xbuild] Fix bug #676671. Raise AnyEvent .
Ankit Jain [Thu, 3 Mar 2011 17:41:57 +0000 (23:11 +0530)]
[xbuild] Add hooks for extending .sln builds.
Add hooks in the .sln.proj generated from .sln files.
1. It imports
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\SolutionFile\ImportBefore\*"
and
"$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\SolutionFile\ImportAfter\*"
This is done only in case of 4.0 projects, as imports with wildcard
is a 4.0 feature.
2. And it imports before.Foo.sln.targets and after.Foo.sln.targets from
the same dir as the .sln file.
Ankit Jain [Thu, 3 Mar 2011 17:39:17 +0000 (23:09 +0530)]
[xbuild] Update man page with info about FrameworkList.xml
Ankit Jain [Thu, 3 Mar 2011 15:59:40 +0000 (21:29 +0530)]
[xbuild] Add support for wildcards in Import.
With 4.0 profile, <Import ..> can have wildcards. This works correctly
with our multiple MSBuildExtensionsPath also.
If the import references $(MSBuildExtensionsPath) property, then the
each extension path is used to resolve the import, and the search
stop as soon as an import is found.
If such an import uses wildcard, then the search stops at the
extension path in which *atleast one* file got imported.
And the import fails if any invalid project file is encountered.
This commit also heavily refactors the Import code to simplify
in the face of the new features, and improves error detection
and reporting.
ImportTest.cs: Add test for wildcards.
Ankit Jain [Thu, 3 Mar 2011 14:32:08 +0000 (20:02 +0530)]
[xbuild] ImportedProject - remove unnecessary catch/throw
Remove the catch { throw; }, this truncated the stack also.
Ankit Jain [Thu, 3 Mar 2011 14:31:23 +0000 (20:01 +0530)]
[xbuild] ImportCollections.TryGetImport and other fixes
Ankit Jain [Thu, 3 Mar 2011 14:30:54 +0000 (20:00 +0530)]
[xbuild] Expression.ParseAs<T> - new method
Ankit Jain [Thu, 3 Mar 2011 14:30:13 +0000 (20:00 +0530)]
[xbuild] DirectoryScanner.HasWildcard - new method
Ankit Jain [Thu, 3 Mar 2011 14:27:21 +0000 (19:57 +0530)]
[xbuild] Log build errors and raise events even if a build fails.