mono.git
13 years ago[xbuild] ConsoleLogger - parse params only on Initialize.
Ankit Jain [Tue, 8 Mar 2011 12:09:12 +0000 (17:39 +0530)]
[xbuild] ConsoleLogger - parse params only on Initialize.

13 years agoUse ip as scratch reg when saving the LMF on arm, instead of r2.
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.

13 years agoRefactor the LMF save/restore code into separate functions on ARM, and optimize it...
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.

13 years agoFix some warnings.
Zoltan Varga [Tue, 8 Mar 2011 11:14:52 +0000 (12:14 +0100)]
Fix some warnings.

13 years agoGet rid of mono_allocate_stack_slots, since all callers use the _full version.
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.

13 years agoCouple of fixes around XmlSyndicationContent.GetReaderAtContent().
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.

13 years agoSimplify checking for few more special compiler types
Marek Safar [Tue, 8 Mar 2011 08:43:17 +0000 (08:43 +0000)]
Simplify checking for few more special compiler types

13 years agoClean up predefined members caching
Marek Safar [Mon, 7 Mar 2011 18:14:21 +0000 (18:14 +0000)]
Clean up predefined members caching

13 years agoRemove wrong buffer size check in XmlTextReader.ReadChrs().
Atsushi Eno [Tue, 8 Mar 2011 06:26:51 +0000 (15:26 +0900)]
Remove wrong buffer size check in XmlTextReader.ReadChrs().

13 years agoMake sure to call MoveToContent() to correctly determine node type.
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.

13 years agoDateTimeOffset child elements have fixed namespace.
Atsushi Eno [Tue, 8 Mar 2011 02:01:57 +0000 (11:01 +0900)]
DateTimeOffset child elements have fixed namespace.

13 years agoMerge branch 'sgen-job-distribution'
Mark Probst [Tue, 8 Mar 2011 00:32:42 +0000 (01:32 +0100)]
Merge branch 'sgen-job-distribution'

13 years ago[sgen] Store the destination's vtable before CASing the forwarding pointer.
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.

13 years ago[sgen] Make scan from remsets a job.
Mark Probst [Fri, 4 Mar 2011 00:03:50 +0000 (01:03 +0100)]
[sgen] Make scan from remsets a job.

13 years ago[sgen] Parallel nursery collection.
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.

13 years ago[sgen] Scanning of finalizer entries in a job.
Mark Probst [Thu, 3 Mar 2011 16:10:25 +0000 (17:10 +0100)]
[sgen] Scanning of finalizer entries in a job.

13 years ago[sgen] Job for scan thread data.
Mark Probst [Wed, 2 Mar 2011 23:50:49 +0000 (00:50 +0100)]
[sgen] Job for scan thread data.

13 years ago[sgen] Jobs for scanning from registered roots.
Mark Probst [Wed, 2 Mar 2011 15:49:36 +0000 (16:49 +0100)]
[sgen] Jobs for scanning from registered roots.

13 years ago[sgen] Remove an incorrect assertion in the workers code and explain.
Mark Probst [Mon, 7 Mar 2011 23:30:42 +0000 (00:30 +0100)]
[sgen] Remove an incorrect assertion in the workers code and explain.

13 years ago[sgen] Job queue.
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.

13 years ago[sgen] Separate step for starting marking in workers.
Mark Probst [Thu, 24 Feb 2011 16:10:24 +0000 (17:10 +0100)]
[sgen] Separate step for starting marking in workers.

13 years agoHost name is the same when querying localhost
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.

13 years agoBring missing types into Moonlight 4
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

13 years agoFix up devel packages in spec file
Andrew Jorgensen [Mon, 7 Mar 2011 20:01:17 +0000 (13:01 -0700)]
Fix up devel packages in spec file

13 years agoImplement some DynamicILInfo methods.
Zoltan Varga [Mon, 7 Mar 2011 19:19:04 +0000 (20:19 +0100)]
Implement some DynamicILInfo methods.

13 years agoFix the previous change.
Zoltan Varga [Mon, 7 Mar 2011 17:03:38 +0000 (18:03 +0100)]
Fix the previous change.

13 years agoFix out-of-tree builds.
Zoltan Varga [Mon, 7 Mar 2011 16:59:45 +0000 (17:59 +0100)]
Fix out-of-tree builds.

13 years agoEmpty element is valid here in silverlight secrity element.
Atsushi Eno [Mon, 7 Mar 2011 16:49:33 +0000 (01:49 +0900)]
Empty element is valid here in silverlight secrity element.

13 years agoXmlReader.ReadToNextSibling() saved wrong Depth and failed to proceed.
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.

13 years agoForgot to add the actual new client proxy.
Atsushi Eno [Mon, 7 Mar 2011 15:41:41 +0000 (00:41 +0900)]
Forgot to add the actual new client proxy.

13 years ago2011-02-17 Juho Vähä-Herttua <juhovh@iki.fi>
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.

13 years agoAvoid an assert when returning nullable null's from sdb invokes. Fixes #676587.
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.

13 years agoClean up handling of few special runtime types
Marek Safar [Fri, 4 Mar 2011 14:30:16 +0000 (14:30 +0000)]
Clean up handling of few special runtime types

13 years agoClean up null-literal underlying type
Marek Safar [Fri, 4 Mar 2011 12:30:07 +0000 (12:30 +0000)]
Clean up null-literal underlying type

13 years agoSet ProhibitDtd = false on uri-based Load(). Fixed bug #676009.
Atsushi Eno [Mon, 7 Mar 2011 08:07:37 +0000 (17:07 +0900)]
Set ProhibitDtd = false on uri-based Load(). Fixed bug #676009.

13 years agoCouple of fixed to support new DateTimeOffset serialization in .NET WCF.
Atsushi Eno [Mon, 7 Mar 2011 07:45:33 +0000 (16:45 +0900)]
Couple of fixed to support new DateTimeOffset serialization in .NET WCF.

13 years ago[Mono.Options] Add option header support.
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",
};

13 years agoFlush documentation.
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).

13 years agoUpdate example output before running mdoc.
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.

13 years agoDo not store binary files.
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.

13 years agoDistribute Mono.Options examples source, input, output.
Jonathan Pryor [Sun, 6 Mar 2011 19:41:14 +0000 (14:41 -0500)]
Distribute Mono.Options examples source, input, output.

13 years agoRemove unnecessary file.
Jonathan Pryor [Sun, 6 Mar 2011 19:39:36 +0000 (14:39 -0500)]
Remove unnecessary file.

13 years agoAdd support for executing samples for documentation output.
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.

13 years agoForgot to add test xml files.
Atsushi Eno [Mon, 7 Mar 2011 04:59:22 +0000 (13:59 +0900)]
Forgot to add test xml files.

13 years agoFixed xsd derived simpleType cast failures on uint. Fixed bug #676993.
Atsushi Eno [Mon, 7 Mar 2011 04:56:37 +0000 (13:56 +0900)]
Fixed xsd derived simpleType cast failures on uint. Fixed bug #676993.

13 years agoSupport for the same interface as service contract and as callback contract.
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.

13 years agoReplace SRE-based client proxy generator with RealProxy.
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.

13 years agoRefactor the LMF creation code into separate functions on amd64. Create a variable...
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 ().

13 years agoDon't register emulation for CEE_ opcodes, its not needed.
Zoltan Varga [Sun, 6 Mar 2011 10:29:33 +0000 (11:29 +0100)]
Don't register emulation for CEE_ opcodes, its not needed.

13 years agoMove MonoContext defines to mono-context.h on arm.
Zoltan Varga [Sat, 5 Mar 2011 21:36:05 +0000 (22:36 +0100)]
Move MonoContext defines to mono-context.h on arm.

13 years agoFix arm build.
Zoltan Varga [Sat, 5 Mar 2011 21:20:48 +0000 (22:20 +0100)]
Fix arm build.

13 years agoFix the win32 build
Rodrigo Kumpera [Fri, 4 Mar 2011 22:04:36 +0000 (23:04 +0100)]
Fix the win32 build

13 years agoSpeed up suspending when running under the loader lock.
Zoltan Varga [Fri, 4 Mar 2011 18:28:00 +0000 (19:28 +0100)]
Speed up suspending when running under the loader lock.

13 years agoInstall a mono-sgen-gdb.py as well.
Zoltan Varga [Fri, 4 Mar 2011 16:33:07 +0000 (17:33 +0100)]
Install a mono-sgen-gdb.py as well.

13 years agoLog all sdb log messages to the log file instead of stdout.
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.

13 years agoWiring of BuildinType
Marek Safar [Fri, 4 Mar 2011 11:08:11 +0000 (11:08 +0000)]
Wiring of BuildinType

13 years agoUnify predefined type user operators calling
Marek Safar [Fri, 4 Mar 2011 09:09:57 +0000 (09:09 +0000)]
Unify predefined type user operators calling

13 years agoWiring of BuildinType
Marek Safar [Thu, 3 Mar 2011 17:44:34 +0000 (17:44 +0000)]
Wiring of BuildinType

13 years ago[xbuild] LogExtensions.LogError - disambiguate.
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.

13 years agoWhen running in a linked environment, this file might not exist
Geoff Norton [Thu, 3 Mar 2011 22:54:47 +0000 (17:54 -0500)]
When running in a linked environment, this file might not exist

13 years ago[xbuild] Set @(CollectedBuildOutput) for projects build from .sln .
Ankit Jain [Thu, 3 Mar 2011 22:47:22 +0000 (04:17 +0530)]
[xbuild] Set @(CollectedBuildOutput) for projects build from .sln .

13 years ago[xbuild] Add missing api for Target.
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.

13 years agoChecking if a type is a reference must be gsharing aware.
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.

13 years ago[xbuild] Fix bug #676671. Raise AnyEvent .
Ankit Jain [Thu, 3 Mar 2011 19:41:26 +0000 (01:11 +0530)]
[xbuild] Fix bug #676671. Raise AnyEvent .

13 years ago[xbuild] Add hooks for extending .sln builds.
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.

13 years ago[xbuild] Update man page with info about FrameworkList.xml
Ankit Jain [Thu, 3 Mar 2011 17:39:17 +0000 (23:09 +0530)]
[xbuild] Update man page with info about FrameworkList.xml

13 years ago[xbuild] Add support for wildcards in Import.
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.

13 years ago[xbuild] ImportedProject - remove unnecessary catch/throw
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.

13 years ago[xbuild] ImportCollections.TryGetImport and other fixes
Ankit Jain [Thu, 3 Mar 2011 14:31:23 +0000 (20:01 +0530)]
[xbuild] ImportCollections.TryGetImport and other fixes

13 years ago[xbuild] Expression.ParseAs<T> - new method
Ankit Jain [Thu, 3 Mar 2011 14:30:54 +0000 (20:00 +0530)]
[xbuild] Expression.ParseAs<T> - new method

13 years ago[xbuild] DirectoryScanner.HasWildcard - new method
Ankit Jain [Thu, 3 Mar 2011 14:30:13 +0000 (20:00 +0530)]
[xbuild] DirectoryScanner.HasWildcard - new method

13 years ago[xbuild] Log build errors and raise events even if a build fails.
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.

13 years agoSwitch amd64 to use MonoContext
Rodrigo Kumpera [Thu, 3 Mar 2011 16:09:18 +0000 (17:09 +0100)]
Switch amd64 to use MonoContext

13 years agoUse MonoContext from utils/mono-context
Rodrigo Kumpera [Thu, 3 Mar 2011 16:08:28 +0000 (17:08 +0100)]
Use MonoContext from utils/mono-context

13 years agoImplement MonoContext for amd64.
Rodrigo Kumpera [Thu, 3 Mar 2011 16:06:48 +0000 (17:06 +0100)]
Implement MonoContext for amd64.

* mono-context.h: Add amd64 support. Different than
what we have on mini, we must store all 16 gregs.

13 years agoCleanup the #ifdef mess.
Rodrigo Kumpera [Thu, 3 Mar 2011 16:06:06 +0000 (17:06 +0100)]
Cleanup the #ifdef mess.

13 years agoMake sure we scan all gregs on x86
Rodrigo Kumpera [Thu, 3 Mar 2011 16:01:12 +0000 (17:01 +0100)]
Make sure we scan all gregs on x86

13 years agoDisable testbundle for powerpc too.
Zoltan Varga [Thu, 3 Mar 2011 15:35:12 +0000 (16:35 +0100)]
Disable testbundle for powerpc too.

13 years agoImplement accessibility check for protected members via type parameter qualifier
Marek Safar [Thu, 3 Mar 2011 14:17:38 +0000 (14:17 +0000)]
Implement accessibility check for protected members via type parameter qualifier

13 years agoImport base interfaces using full hierarchy to work with output produced by some...
Marek Safar [Thu, 3 Mar 2011 12:18:59 +0000 (12:18 +0000)]
Import base interfaces using full hierarchy to work with output produced by some odd compilers

13 years agoUpdate to the latest IKVM
Marek Safar [Thu, 3 Mar 2011 10:32:32 +0000 (10:32 +0000)]
Update to the latest IKVM

13 years agoResurrect THREAD_DEBUG.
Zoltan Varga [Thu, 3 Mar 2011 10:29:35 +0000 (11:29 +0100)]
Resurrect THREAD_DEBUG.

13 years agoChange an #ifdef DEBUG to THREAD_DEBUG(). Fixes #676615.
Zoltan Varga [Thu, 3 Mar 2011 10:24:42 +0000 (11:24 +0100)]
Change an #ifdef DEBUG to THREAD_DEBUG(). Fixes #676615.

13 years ago[676476] Make UTF8 default encoding on all platforms
Marek Safar [Thu, 3 Mar 2011 10:10:27 +0000 (10:10 +0000)]
[676476] Make UTF8 default encoding on all platforms

13 years agoSimplify constant expression by removing Resolve phase
Marek Safar [Thu, 3 Mar 2011 08:11:41 +0000 (08:11 +0000)]
Simplify constant expression by removing Resolve phase

13 years agoWiring of BuildinType
Marek Safar [Wed, 2 Mar 2011 15:39:11 +0000 (15:39 +0000)]
Wiring of BuildinType

13 years agoFix linux build
Rodrigo Kumpera [Wed, 2 Mar 2011 19:45:07 +0000 (19:45 +0000)]
Fix linux build

13 years agoFix non x86 builds
Rodrigo Kumpera [Wed, 2 Mar 2011 18:11:57 +0000 (19:11 +0100)]
Fix non x86 builds

13 years agoUse mono-context machinery for x86.
Rodrigo Kumpera [Wed, 2 Mar 2011 17:25:34 +0000 (18:25 +0100)]
Use mono-context machinery for x86.

* sgen-archdep.h: Use mono-context for x86.

* sgen-gc.c: Guard all uses of stopped_regs with
USE_MONO_CTX. The ifdef abuse is intentional to make
it easy to review it since this is temporary until
we move all other archs.

13 years agoUse new mono-context.h for x86.
Rodrigo Kumpera [Wed, 2 Mar 2011 17:24:55 +0000 (18:24 +0100)]
Use new mono-context.h for x86.

* exceptions-x86.c: Use code from utils/mono-context.

13 years agoInitial implementation of mono-context.
Rodrigo Kumpera [Wed, 2 Mar 2011 17:22:25 +0000 (18:22 +0100)]
Initial implementation of mono-context.

* mono-context.c: New file to represent platform independent
machine state. It basically moves MonoContext and associated
macros/functions from mini to utils.

13 years agoMove mgreg_t to utils.
Rodrigo Kumpera [Wed, 2 Mar 2011 17:19:51 +0000 (18:19 +0100)]
Move mgreg_t to utils.

* mini.h: Move mgreg_t to utils/mono-machine.h.

13 years agoReset iid of unloaded generic interfaces correctly.
Rodrigo Kumpera [Wed, 2 Mar 2011 14:09:27 +0000 (15:09 +0100)]
Reset iid of unloaded generic interfaces correctly.

* class.c (mono_get_unique_iid): Don't store
the iid of generic instances on their GTD image
since they can be unloaded before.

* metadata.c (free_generic_class): Reset the iid
used by interfaces.

13 years agoRemove wrong overrides in RequestChannelBase in discovery.
Atsushi Eno [Wed, 2 Mar 2011 11:28:22 +0000 (20:28 +0900)]
Remove wrong overrides in RequestChannelBase in discovery.

13 years agoWhen checking protected access via qualifier ignore internal modifier for external...
Marek Safar [Wed, 2 Mar 2011 11:25:15 +0000 (11:25 +0000)]
When checking protected access via qualifier ignore internal modifier for external references

13 years agoWiring of BuildinType
Marek Safar [Wed, 2 Mar 2011 10:38:01 +0000 (10:38 +0000)]
Wiring of BuildinType

13 years agoUse correct location for string literals
Marek Safar [Wed, 2 Mar 2011 10:35:54 +0000 (10:35 +0000)]
Use correct location for string literals

13 years agoWiring of BuildinType
Marek Safar [Tue, 1 Mar 2011 19:31:54 +0000 (19:31 +0000)]
Wiring of BuildinType

13 years agoHandle System.Void using special member kind
Marek Safar [Tue, 1 Mar 2011 17:46:48 +0000 (17:46 +0000)]
Handle System.Void using special member kind

13 years agoWiring of BuildinType
Marek Safar [Tue, 1 Mar 2011 15:08:04 +0000 (15:08 +0000)]
Wiring of BuildinType