Rodrigo Kumpera [Thu, 26 Aug 2010 02:30:21 +0000 (23:30 -0300)]
Extract card scanning code.
* sgen-cardtable.c: Add functions that test if a given
card or range or cards should be scanned. Those function
make sure the card are clear on return.
* sgen-gc.h: Export new functions.
* sgen-los.c: Use to new functions.
* sgen-marksweep.c: Ditto.
Rodrigo Kumpera [Wed, 25 Aug 2010 21:43:00 +0000 (18:43 -0300)]
Replace clear_card functions with block enumeration API.
* sgen-cardtable.c: Use live block enumeration API
to clean blocks instead of a custom API.
* sgen-los.c: Add los_iterate_live_block_ranges.
* sgen-marksweep.c: Add major_iterate_live_block_ranges.
* sgen-gc.h: Adjust for new function.
Zoltan Varga [Mon, 30 Aug 2010 20:18:27 +0000 (22:18 +0200)]
Avoid loading the LLVM backend if llvm is not requested at runtime.
Andrew Jorgensen [Mon, 30 Aug 2010 19:34:03 +0000 (13:34 -0600)]
Remove obsolete Microsoft.Vsa and Microsoft.JScript
Atsushi Eno [Mon, 30 Aug 2010 13:27:58 +0000 (22:27 +0900)]
Fix a couple of Hello/Probe serialization issues.
Atsushi Eno [Mon, 30 Aug 2010 13:26:03 +0000 (22:26 +0900)]
Uri was also not supported in Read*ContentAs().
Atsushi Eno [Mon, 30 Aug 2010 09:41:57 +0000 (18:41 +0900)]
Add TimeSpan support in Read*ContentAs() methods.
Atsushi Eno [Mon, 30 Aug 2010 09:22:47 +0000 (18:22 +0900)]
Fix bogus discovery contract wrapper names.
Atsushi Eno [Mon, 30 Aug 2010 09:15:26 +0000 (18:15 +0900)]
Add not-working code for TransferMode support.
Atsushi Eno [Mon, 30 Aug 2010 09:14:07 +0000 (18:14 +0900)]
Add workaround for bug #633945. On Windows async operation does not work.
Zoltan Varga [Sun, 29 Aug 2010 00:20:36 +0000 (02:20 +0200)]
Remove obsolete LLVM passes.
Zoltan Varga [Sat, 28 Aug 2010 17:52:50 +0000 (19:52 +0200)]
Get rid of filter clauses in runtime invoke wrappers. This increases their size slighly, but allows them to be compiled by LLVM.
Zoltan Varga [Sat, 28 Aug 2010 17:03:44 +0000 (19:03 +0200)]
Get rid of MONO_ARCH_HAVE_THROW_CORLIB_EXCEPTION.
Jonathan Pryor [Sat, 28 Aug 2010 03:03:37 +0000 (23:03 -0400)]
[mdoc-validate] Support & validate the ECMA XML dialect.
This required adding some elements from the ECMA DTD.
We also add trivial XSLT support for things like <leq/> to ≤, etc.
Jonathan Pryor [Fri, 27 Aug 2010 20:42:57 +0000 (16:42 -0400)]
[update-ecma-xml] Don't generate <Type/>s for types we've already generated.
Fixes a duplicate System.Action within CLILibraryTypes.Updated.xml.
Zoltan Varga [Sat, 28 Aug 2010 01:47:04 +0000 (03:47 +0200)]
Print the unimplemented interface method warnings using the mono_trace ()
infrastructure.
Zoltan Varga [Sat, 28 Aug 2010 01:40:44 +0000 (03:40 +0200)]
Avoid the loading of metadata for IMT calls from AOT code too.
Zoltan Varga [Sat, 28 Aug 2010 01:23:18 +0000 (03:23 +0200)]
Reorganize the vtable slot patching code a bit.
Zoltan Varga [Sat, 28 Aug 2010 00:55:38 +0000 (02:55 +0200)]
Remove a redundant if ().
Zoltan Varga [Sat, 28 Aug 2010 00:42:39 +0000 (02:42 +0200)]
Avoid allocating empty arrays in ves_icall_Type_GetInterfaces ().
Zoltan Varga [Sat, 28 Aug 2010 00:41:24 +0000 (02:41 +0200)]
Use the klass pointer instead of the klass name when computing the hash in mymono_metadata_type_hash (), since it is much faster.
Zoltan Varga [Sat, 28 Aug 2010 00:40:58 +0000 (02:40 +0200)]
Add a g_hash_table_print_stats () helper function.
Zoltan Varga [Sat, 28 Aug 2010 00:40:37 +0000 (02:40 +0200)]
Optimize g_utf8_to_utf16 for the common case of ASCII strings.
Gonzalo Paniagua Javier [Fri, 27 Aug 2010 21:28:25 +0000 (17:28 -0400)]
Call SetEndOfSendNotification
We have to call SetEndOfSendNotification() as soon as the context is ready.
Fixes bug #632253.
Gonzalo Paniagua Javier [Fri, 27 Aug 2010 20:55:47 +0000 (16:55 -0400)]
Add env.var. to control revocation mode.
Added a new environment variable, MONO_X509_REVOCATION_MODE that lets
the user choose the default validation mode for X509 chains.
Zoltan Varga [Fri, 27 Aug 2010 20:06:39 +0000 (22:06 +0200)]
Improve the hashing of MonoTypes representing type variables.
Zoltan Varga [Fri, 27 Aug 2010 20:06:20 +0000 (22:06 +0200)]
Add a mono_g_hash_table_print_stats () function to print hash table stats.
Jonathan Pryor [Fri, 27 Aug 2010 19:58:07 +0000 (15:58 -0400)]
[mdoc] Add response file support to all mdoc commands.
...because it's so much easier dealing with 77 arguments for
mdoc-update-ecma-xml when I can use a text editor instead of bash...
Jonathan Pryor [Fri, 27 Aug 2010 18:45:00 +0000 (14:45 -0400)]
[update-ecma-xml] Implement support for updating an existing file.
First, we refactor out the "overwrite only if content has changed" logic in
monodocer into MdocFile.UpdateFile() so that we can reuse this same logic.
After that, it's primary all about MDocUpdateEcmaXml.UpdateExistingLibraries():
scan through the document looking for libraries we're interested in. If we
encounter one we don't care about, copy directly. If we do, enumerate it's
contents looking for types we care about, and either copy the old version
as-is if we don't care, or copy over the mdoc(5) version if we do.
Jonathan Pryor [Fri, 27 Aug 2010 15:29:25 +0000 (11:29 -0400)]
[update-ecma-xml] Fix nested type documentation lookup.
Attempting to load docs for e.g. System.Environment.SpecialFolder resulted in
an infinite loop. Oops. Also support "global" types.
Jonathan Pryor [Fri, 27 Aug 2010 04:05:19 +0000 (00:05 -0400)]
Add 'mdoc update-ecma-xml' command.
This is for ECMA support: it's intended to take an existing
CLILibraryTypes.xml file (from the ECMA 335 standard) and update the specified
types within it. If no existing file is specified, it'll generate a new one
based on command-line arguments.
Update support is currently lacking, but it'll generate a new document with:
mono mdoc.exe update-ecma-xml -o - \
--library BCL --type=System.Environment Test/en.expected
Zoltan Varga [Fri, 27 Aug 2010 19:24:03 +0000 (21:24 +0200)]
Install the generated gmcs.exe.so.
Zoltan Varga [Fri, 27 Aug 2010 19:11:45 +0000 (21:11 +0200)]
Delete gmcs.exe.so on make clean.
Zoltan Varga [Fri, 27 Aug 2010 19:09:14 +0000 (21:09 +0200)]
Use $(PROFILE)/gmcs.exe as INTERNAL_GMCS for consistency.
Zoltan Varga [Fri, 27 Aug 2010 18:56:47 +0000 (20:56 +0200)]
Add a new directory which is used for AOTing the c# compiler before compiling most of the class libs. This cuts the mcs build time by about 30%.
Sebastien Pouliot [Fri, 27 Aug 2010 18:28:09 +0000 (14:28 -0400)]
Fix public key in [InternalsVisibleTo] attribute
mcs/class/System.ServiceModel.Web/Assembly/AssemblyInfo.cs: Use the
Silverlight public key (instead of the regular FX public key) for
NET_2_1
Atsushi Eno [Fri, 27 Aug 2010 17:07:56 +0000 (02:07 +0900)]
ISerializable type didn't iterate all base types to pick up all target fields.
Atsushi Eno [Fri, 27 Aug 2010 16:49:04 +0000 (01:49 +0900)]
Use XmlConvert.EncodeLocalName() to not introduce xml syntax violation for not-WF member names.
Atsushi Eno [Fri, 27 Aug 2010 16:47:57 +0000 (01:47 +0900)]
XmlWriterSettings could be null.
Jérémie Laval [Fri, 27 Aug 2010 16:26:48 +0000 (17:26 +0100)]
[PLinq] Remove the scwl noise in ParallelEnumerable TestOrderByAgeAscendingTheByNameDescending test
Jérémie Laval [Fri, 27 Aug 2010 16:23:56 +0000 (17:23 +0100)]
Move the predicate call under launched.TrySet protection in Task's ContinueWithCore
Sometimes the predicate was also called multiple time generating exception that weren't caught by the general Task handler and thus swallowed by the runtime causing Thread shutdown and ultimately deadlocks.
Zoltan Varga [Fri, 27 Aug 2010 15:36:10 +0000 (17:36 +0200)]
Make the 'LABELS' make variable the same as the 'TEST_HARNESS_VERBOSE' variable, because it is easier to remember and type.
Jérémie Laval [Fri, 27 Aug 2010 14:59:37 +0000 (15:59 +0100)]
Increase the number of repeated run in stress test.
Jérémie Laval [Fri, 27 Aug 2010 14:01:08 +0000 (15:01 +0100)]
Allow at max one Remove operation to fail in tests.
Some concurrent collections don't necessarily guarantee that a call to Dequeue/Pop/equivalent will succeed even in the case there are elements in the collection. When one of such operation fail in test, retry it immediately to check for that sort of cases.
Jérémie Laval [Fri, 27 Aug 2010 14:00:28 +0000 (15:00 +0100)]
Don't PopTop from our personnal bag in ConcurrentBag.
Marek Safar [Fri, 27 Aug 2010 13:55:04 +0000 (14:55 +0100)]
Implement dynamic sites for hoisted mvar types
Marek Safar [Fri, 27 Aug 2010 08:30:26 +0000 (09:30 +0100)]
Check also modifier for identical ref/out parameters
Jérémie Laval [Fri, 27 Aug 2010 13:07:34 +0000 (14:07 +0100)]
Change the way continuation delegates are stored and processed in Task. Fix random the random hangs.
Atsushi Eno [Fri, 27 Aug 2010 09:37:42 +0000 (18:37 +0900)]
Add integrated test case.
Atsushi Eno [Fri, 27 Aug 2010 09:31:34 +0000 (18:31 +0900)]
They are system endpoints.
Marek Safar [Fri, 27 Aug 2010 07:50:17 +0000 (08:50 +0100)]
Fixes build
Marek Safar [Fri, 27 Aug 2010 07:41:04 +0000 (08:41 +0100)]
Don't convert ByRef parameters
Marek Safar [Thu, 26 Aug 2010 18:59:58 +0000 (19:59 +0100)]
Consider parameter constraints when choosing applicable method candidate
Marek Safar [Thu, 26 Aug 2010 16:51:39 +0000 (17:51 +0100)]
Always build type from compiler type when flagged
Marek Safar [Fri, 27 Aug 2010 07:42:49 +0000 (08:42 +0100)]
Merge branch 'master' of github.com:mono/mono
Marek Safar [Fri, 27 Aug 2010 07:42:15 +0000 (08:42 +0100)]
New test
Atsushi Eno [Fri, 27 Aug 2010 07:34:53 +0000 (16:34 +0900)]
Add IsSystemEndpoint property and treat system endpoints as non-service.
Zoltan Varga [Thu, 26 Aug 2010 21:47:34 +0000 (23:47 +0200)]
Store information about file shares in a hash table instead of a 4MB array if
SHM is disabled. Fixes #634529.
Jérémie Laval [Thu, 26 Aug 2010 21:24:47 +0000 (22:24 +0100)]
[PLinq] Add Cancellation checks even deeper. Introduce merge token.
Merge token are simply the combined cancellation source of user (i.e. token supplied with PLinq operator WithCancellation) and internal tokens (supplied with WithImplementerToken).
Andrew Jorgensen [Thu, 26 Aug 2010 18:38:00 +0000 (12:38 -0600)]
Fix the changelog script to work in MonkeyWrench
* Makefile.am: Check for GIT_DIR if defined (rather than .git)
* commits-to-changelog.py: BUILD_REVISION rather than HEAD if defined
Gonzalo Paniagua Javier [Thu, 26 Aug 2010 19:08:23 +0000 (15:08 -0400)]
Fix the build
Gonzalo Paniagua Javier [Thu, 26 Aug 2010 19:07:02 +0000 (15:07 -0400)]
Add more info for -z parameter
Mention that zlib development package is needed for that option to
work.
Gonzalo Paniagua Javier [Thu, 26 Aug 2010 19:01:15 +0000 (15:01 -0400)]
Free allocated unmanaged memory.
Ditto.
Gonzalo Paniagua Javier [Thu, 26 Aug 2010 18:10:56 +0000 (14:10 -0400)]
Translate socket error to match .NET
send(2) does not return ETIMEDOUT for a blocking socket with a write
timeout set, which causes the wrong error code to be reported to the
managed world.
Fixes bug #599488.
Andrew Jorgensen [Thu, 26 Aug 2010 15:51:57 +0000 (09:51 -0600)]
Bump version to 2.8.1
2.8.ODD will mean git master and 2.8.EVEN will mean a release branch
Andrew Jorgensen [Thu, 26 Aug 2010 14:51:50 +0000 (08:51 -0600)]
Add the mono-api-info man page
Zoltan Varga [Thu, 26 Aug 2010 14:17:50 +0000 (16:17 +0200)]
Avoid warnings on machines with cpus > 16.
Atsushi Eno [Thu, 26 Aug 2010 14:16:53 +0000 (23:16 +0900)]
Add timeout in duplex (UDP) client. Set Via URI to not raise scheme mismatch.
Marek Safar [Thu, 26 Aug 2010 10:52:39 +0000 (11:52 +0100)]
Jagged arrays have to be imported not created
Marek Safar [Thu, 26 Aug 2010 10:33:42 +0000 (11:33 +0100)]
Run event type detection on actual and not context type
Jérémie Laval [Thu, 26 Aug 2010 11:05:44 +0000 (12:05 +0100)]
[PLinq] Reactivate a bunch more of unit tests
Jérémie Laval [Thu, 26 Aug 2010 10:54:38 +0000 (11:54 +0100)]
[PLinq] Add a more specialized visitor object for checking query ordering.
Jérémie Laval [Thu, 26 Aug 2010 10:26:02 +0000 (11:26 +0100)]
[PLinq] Implement SelectMany ordered mode
Jérémie Laval [Thu, 26 Aug 2010 10:25:26 +0000 (11:25 +0100)]
[PLinq] Add SelectMany unit tests
Jérémie Laval [Thu, 26 Aug 2010 10:24:38 +0000 (11:24 +0100)]
[PLinq] Refactor underlying enumerator management in OrderingEnumerator
Carlos Alberto Cortez [Thu, 26 Aug 2010 09:38:01 +0000 (11:38 +0200)]
Add a new test for SerializationInfo.SetType.
* SerializationInfoTest.cs: Add a SetType test.
Carlos Alberto Cortez [Wed, 25 Aug 2010 21:24:23 +0000 (23:24 +0200)]
Set 4.0 members in SerializationInfo.SetType.
* SerializationInfo.cs: Set/reset the new 4.0 members in SetType
based on the new type.
Jérémie Laval [Thu, 26 Aug 2010 12:49:11 +0000 (13:49 +0100)]
[PLinq] Add dummy GetEnumerator override in OrderedParallelQuery to make gui-compare happy
Jérémie Laval [Thu, 26 Aug 2010 12:45:27 +0000 (13:45 +0100)]
[PLinq] Enable First and FirstOrDefault unit tests
Jérémie Laval [Thu, 26 Aug 2010 12:44:44 +0000 (13:44 +0100)]
[PLinq] Include Cancellation checks deeper in the pipeline processing
Atsushi Eno [Thu, 26 Aug 2010 11:36:18 +0000 (20:36 +0900)]
Prepare duplex client types for Adhoc mode for DiscoveryClient.
Atsushi Eno [Thu, 26 Aug 2010 11:33:15 +0000 (20:33 +0900)]
Add missing constructors (new in 4.0 ones as well as old 3.0 ones).
Marek Safar [Thu, 26 Aug 2010 09:40:10 +0000 (10:40 +0100)]
Import private event backing fields in dynamic context
Marek Safar [Thu, 26 Aug 2010 07:53:14 +0000 (08:53 +0100)]
Special case unbox SLE conversion
Marek Safar [Wed, 25 Aug 2010 15:34:59 +0000 (16:34 +0100)]
Maintain only one place with dynamic explicit conversions
Marek Safar [Wed, 25 Aug 2010 13:56:04 +0000 (14:56 +0100)]
Defer null check to resolver
Andrew Jorgensen [Wed, 25 Aug 2010 22:03:46 +0000 (16:03 -0600)]
Remove mono-abi-info from the .spec file
Sebastien Pouliot [Wed, 25 Aug 2010 14:06:28 +0000 (10:06 -0400)]
Multiple compatibility fixes for web headers on Moonlight
* HttpWebRequest_2_1.cs: Avoid using AllKeys (unneeded allocations)
* WebClient_2_1.cs: Copy headers to WebRequest (some special cases are
now considered) then clear them. Expose SecurityException (unwrapped)
and closely match SL4 exceptions (including inner exceptions).
* WebHeaderCollection_2_1.cs: Add missing validations on header names
and values (from original WebHeaderCollection.cs + small fix)
Andrew Jorgensen [Wed, 25 Aug 2010 18:37:20 +0000 (12:37 -0600)]
Add sgen-cardtable.c to sgen_sources (for dist)
Rodrigo Kumpera [Wed, 25 Aug 2010 17:08:26 +0000 (14:08 -0300)]
Add test for #633671
Rodrigo Kumpera [Wed, 25 Aug 2010 16:41:22 +0000 (13:41 -0300)]
Fix value returned by PropertyInfo::DeclaringType
in mcs/class/corlib/System.Reflection:
* MonoProperty.cs: Don't share the same field with
DeclaringType and ReflectedType.
in mcs/class/corlib/System:
* Environment.cs: Dump corlib version.
in mono/metadata:
* appdomain.c: Bump corlib version.
* object-internals.h: Add new field to MonoPropertyInfo.
* icall.c (ves_icall_get_property_info): Store the
declaring type into the new field.
Fixes #633671
Gonzalo Paniagua Javier [Wed, 25 Aug 2010 16:30:25 +0000 (12:30 -0400)]
Add --quiet-build (on by default)
Gonzalo Paniagua Javier [Wed, 25 Aug 2010 15:28:49 +0000 (11:28 -0400)]
Ignore removed ChangeLog files
If a ChangeLog has been removed, don't try to open the file.
Zoltan Varga [Wed, 25 Aug 2010 15:22:18 +0000 (17:22 +0200)]
Fix a warning.
Mark Probst [Wed, 25 Aug 2010 15:12:23 +0000 (17:12 +0200)]
[sgen] Fix build.
Jonathan Pryor [Wed, 25 Aug 2010 12:52:52 +0000 (08:52 -0400)]
Flush updated expected output due to compiler /doc improvements.
'gmcs /doc' now properly generates explicitly implemented interface member
//member/@name values, so mdoc-update can now find them for the import. Yay!
Jonathan Pryor [Wed, 25 Aug 2010 12:41:59 +0000 (08:41 -0400)]
Fix explicitly-implemented interface member cref generation.
The //member/@name for explicitly implemented interface members needs to
contain the fully-qualified interface name, including type parameters (if
necessary), so we need to generate
"M:Container`2.Element.System#ICloneable#Clone", not
"M:Container`2.Element.ICloneable.Clone".
Furthermore, explicitly implemented generic interface methods within a generic
type were always getting the type parameter count appended to them (which
somewhat makes sense, as they're on a generic type...) which is counter to what
CSC generates, e.g. we need to generate
"P:Container`2.System#Collections#Generic#IList<TValue>#Item(System.Int32)"
not "P:Container`2.IList`1.Item``1(System.Int32)".
Jérémie Laval [Wed, 25 Aug 2010 12:16:58 +0000 (13:16 +0100)]
[PLinq] Use default comparer instead of throwing an ANE in PLinq operators
Marek Safar [Wed, 25 Aug 2010 11:36:59 +0000 (12:36 +0100)]
Show better message when assigning to the type
Atsushi Eno [Wed, 25 Aug 2010 10:01:42 +0000 (19:01 +0900)]
flush pending DiscoveryClientBindingElement work.