Jérémie Laval [Thu, 20 Dec 2012 14:14:45 +0000 (15:14 +0100)]
[monkeydoc] Let XHTML have its node sorted by .Element rather than .Caption
Jérémie Laval [Thu, 20 Dec 2012 14:13:35 +0000 (15:13 +0100)]
[monkeydoc] Close FileStream early in when adding man pages.
Jérémie Laval [Wed, 19 Dec 2012 17:36:49 +0000 (18:36 +0100)]
[monkeydoc] When encountering an old tree, we force nodes to be re-sorted as they are instantiated to make sure the later match machinery works.
Jérémie Laval [Wed, 19 Dec 2012 17:35:20 +0000 (18:35 +0100)]
[monkeydoc] Use StringComparison.Ordinal to match element
Jérémie Laval [Wed, 19 Dec 2012 17:34:37 +0000 (18:34 +0100)]
[monkeydoc] Introduce support for versioned tree and gracefully handle old trees.
Jérémie Laval [Wed, 19 Dec 2012 17:33:12 +0000 (18:33 +0100)]
[monkeydoc] Early return if no proper fallback index was found in MatchNode
Jonathan Pryor [Thu, 20 Dec 2012 17:09:05 +0000 (12:09 -0500)]
[corlib] Optimize System.Nullable<T>.GetValueOrDefault().
Optimize System.Nullable<T>.GetValueOrDefault().
See discussion at:
http://ericlippert.com/2012/12/20/nullable-micro-optimizations-part-one/
If a variable of nullable value type is initialized with the
default constructor then the [has_value] field will be its
default value, false, and the value field will be default(T).
Since we know that Nullable<T>.value will be the default value when
the default constructor has executed, we can return it directly
instead of checking the has_value field.
Neale Ferguson [Wed, 19 Dec 2012 21:05:37 +0000 (16:05 -0500)]
Correct the count so we deserialize properly
Jérémie Laval [Wed, 19 Dec 2012 11:10:46 +0000 (12:10 +0100)]
fixup! [monkeydoc] Rename to use proper casing
Jérémie Laval [Wed, 19 Dec 2012 11:09:13 +0000 (12:09 +0100)]
[monkeydoc] Rename to use proper casing
Jérémie Laval [Wed, 19 Dec 2012 10:25:23 +0000 (11:25 +0100)]
[monkeydoc] Add forgotten test
Jérémie Laval [Wed, 19 Dec 2012 10:25:02 +0000 (11:25 +0100)]
[monkey] Fix test dir casing
Jérémie Laval [Tue, 18 Dec 2012 17:43:39 +0000 (18:43 +0100)]
[monkeydoc] New test requires System.Xml
Jérémie Laval [Tue, 18 Dec 2012 17:42:18 +0000 (18:42 +0100)]
[monkeydoc] Add RawGenerator to allow to retrieve the content of a documentation archive (in whatever initial format they are).
This allow to provide similar behavior than GetEcmaXml but in a cross-help source way and integrated into our generation pipeline.
Jérémie Laval [Tue, 18 Dec 2012 17:41:02 +0000 (18:41 +0100)]
[monkeydoc] Add RenderUrl overload without out parameters
Jérémie Laval [Tue, 18 Dec 2012 17:40:27 +0000 (18:40 +0100)]
[monkeydoc] Fix regression, use a global counter to avoid duplicate entry in .zip.
Jérémie Laval [Tue, 18 Dec 2012 17:39:56 +0000 (18:39 +0100)]
[monkeydoc] Fix regression in processing non-existent entry in index.xml files
Jérémie Laval [Tue, 18 Dec 2012 12:46:45 +0000 (13:46 +0100)]
[monkeydoc] Add trimmed-down overrides to GetHelpSourceAndIdForUrl
Jérémie Laval [Tue, 18 Dec 2012 12:46:23 +0000 (13:46 +0100)]
[monkeydoc] Null out helpSource if the hint was wrong.
Jérémie Laval [Mon, 17 Dec 2012 18:55:41 +0000 (19:55 +0100)]
[monkeydoc] Add an extra optional HelpSource parameter to RenderUrl and GetHelpSourceAndIdForUrl to provide a hint to where to start matching.
Jérémie Laval [Mon, 17 Dec 2012 18:54:59 +0000 (19:54 +0100)]
[monkeydoc] Log parameter status when an error occurs in the HTML generator
Jérémie Laval [Mon, 17 Dec 2012 18:54:21 +0000 (19:54 +0100)]
[monkeydoc] Protect GetIndex and GetSearchIndex and make them returns null if somethings goes wrong.
Jérémie Laval [Mon, 17 Dec 2012 18:53:44 +0000 (19:53 +0100)]
[monkeydoc] Instantiate both app and library configuration
Jérémie Laval [Mon, 17 Dec 2012 18:53:22 +0000 (19:53 +0100)]
[monkeydoc] s/docDir/docPath/
Jérémie Laval [Mon, 17 Dec 2012 18:51:58 +0000 (19:51 +0100)]
[monkeydoc] Temp API for adding uncompiled sources, should be done differently
Zoltan Varga [Mon, 17 Dec 2012 22:16:05 +0000 (23:16 +0100)]
Revert "Add an instance_size_inited flag to MonoClass to signal whenever instance_size has been initialized. The size_inited flag which was used for this purpose cannot be used since it is set earlier for recursion detection. Fixes #8905."
This reverts commit
fe4327e65118e60c55699e31fdbbf97233ee66da.
Zoltan Varga [Mon, 17 Dec 2012 22:09:13 +0000 (23:09 +0100)]
Add an instance_size_inited flag to MonoClass to signal whenever instance_size has been initialized. The size_inited flag which was used for this purpose cannot be used since it is set earlier for recursion detection. Fixes #8905.
Zoltan Varga [Sun, 16 Dec 2012 20:39:19 +0000 (21:39 +0100)]
Fix a regression introduced by
e14ff38a54e1d890bdf03f155204b7b78b8515d3. Fixes #8904.
Alan McGovern [Sun, 16 Dec 2012 16:39:45 +0000 (16:39 +0000)]
[System.IO.Packaging] Disable some failing tests again
All the failing tests are disabled now.
Pablo Ruiz Garcia [Sat, 20 Oct 2012 12:58:49 +0000 (14:58 +0200)]
[System.IO.Packaging] Fix incorrect conversion of relative uris to absolute uris
Fixed loading of PackagePart relationships to avoid (incorrect) conversion of
relative target uris into absolute. (fixes xamarin bug #6602)
Marek Safar [Sat, 15 Dec 2012 11:46:40 +0000 (12:46 +0100)]
Fix compiler warnings
Marek Safar [Sat, 15 Dec 2012 11:38:43 +0000 (12:38 +0100)]
Generate CodeSnippetTypeMember with correct separators. Fixes #8927
Rodrigo Kumpera [Sat, 15 Dec 2012 02:15:43 +0000 (21:15 -0500)]
We must locally cache array since it can shrink from the outside and cause FastCopy to corrupt the heap.
Rodrigo Kumpera [Sat, 15 Dec 2012 02:12:57 +0000 (21:12 -0500)]
We can't use UnsageStore in List<> since broken user code that doesn't sync right will cause heap corruption.
Jeremie Laval [Fri, 14 Dec 2012 17:14:06 +0000 (17:14 +0000)]
[monkeydoc] Add ecma uncompiled source support back and some nice refactoring with it.
Mark Probst [Fri, 14 Dec 2012 09:51:10 +0000 (10:51 +0100)]
[sgen] Don't allow concurrent M&S with split nursery.
This breaks the sgen-domain-unload test in a very unreproducible way.
This is not very high priority, so I'm disabling the combination for now.
Mark Probst [Fri, 14 Dec 2012 09:38:53 +0000 (10:38 +0100)]
[sgen] Fix race conditions in worker thread start/stop.
Jeremie Laval [Thu, 13 Dec 2012 17:18:52 +0000 (17:18 +0000)]
[monkeydoc] Reenable index creation for ecma-provider
Jeremie Laval [Thu, 13 Dec 2012 17:18:27 +0000 (17:18 +0000)]
[monkeydoc] Precache member access per name
Jeremie Laval [Thu, 13 Dec 2012 17:10:54 +0000 (17:10 +0000)]
[monkeydoc] Disable xhtml-provider PopulateIndex as it was doing nothing
Rodrigo Kumpera [Thu, 13 Dec 2012 16:58:22 +0000 (08:58 -0800)]
Merge pull request #523 from metanest/freebsd_libinotify_spike2
inotify lib in FreeBSD is in /usr/local, check is only in FreeBSD
Jeremie Laval [Thu, 13 Dec 2012 11:58:59 +0000 (11:58 +0000)]
[monkeydoc] Configurable caching
Jeremie Laval [Thu, 13 Dec 2012 11:37:07 +0000 (11:37 +0000)]
[monkeydoc] Regen monkeydoc.dll.config when the .in changes
Jeremie Laval [Thu, 13 Dec 2012 11:19:31 +0000 (11:19 +0000)]
[monkeydoc] Sanitize settings
Jeremie Laval [Wed, 12 Dec 2012 17:10:22 +0000 (17:10 +0000)]
[monkeydoc] Bring index and lucene index into the modern age
Jeremie Laval [Wed, 12 Dec 2012 16:23:04 +0000 (16:23 +0000)]
[monkeydoc] Restore handling of MonoMac/MonoTouch export in Lucene index
KISHIMOTO, Makoto [Fri, 7 Dec 2012 02:30:43 +0000 (11:30 +0900)]
* inotify lib in FreeBSD is in /usr/local
* libinotify check only FreeBSD
Rodrigo Kumpera [Wed, 12 Dec 2012 23:15:04 +0000 (18:15 -0500)]
Add a monotouch Mono.Security source file.
Rodrigo Kumpera [Wed, 12 Dec 2012 22:53:45 +0000 (17:53 -0500)]
Simple Automake concatenation is not enough to do all the evil things.
* autogen.sh: Automake does support adding files to the list of program
sources using += but has no -= to remove them. This means that it's
not possible to replace a source file at all.
Given that, the only option is to patch automake. Call an external
script that apply the whole patch queue instead of doing it there.
Rodrigo Kumpera [Wed, 12 Dec 2012 22:53:14 +0000 (17:53 -0500)]
Kill this failed attemp at automake configuration extension.
Rodrigo Kumpera [Wed, 12 Dec 2012 16:16:51 +0000 (11:16 -0500)]
Add 6 sgen configurations with ssb to our test suite.
Atsushi Eno [Wed, 9 May 2012 19:16:06 +0000 (04:16 +0900)]
Now this somehow needed fix, resulted in invalid two-lines-joined-into-one-line output...
Sebastien Pouliot [Tue, 3 Apr 2012 12:51:23 +0000 (08:51 -0400)]
Match the existing name for Aes implementation for source/binary compatibility
Sebastien Pouliot [Mon, 26 Mar 2012 19:09:32 +0000 (15:09 -0400)]
Adjust System.Core and Mono.Security builds to use MonoTouch's CommonCrypto source files
Rodrigo Kumpera [Wed, 12 Dec 2012 16:24:33 +0000 (08:24 -0800)]
Merge pull request #522 from kosumosu/master
Fix for bug #2907 XML "choice" not correclty processed during deserialization
Marek Safar [Wed, 12 Dec 2012 14:42:44 +0000 (15:42 +0100)]
Bump ikvm module
Marek Safar [Wed, 12 Dec 2012 14:29:32 +0000 (15:29 +0100)]
Don't use IteratorStateMachineAttribute it makes us csc incompatible
Marek Safar [Wed, 12 Dec 2012 14:04:53 +0000 (15:04 +0100)]
Import caller attributes from referenced assemblies. Fixes #8829
Jeremie Laval [Fri, 30 Nov 2012 13:44:15 +0000 (13:44 +0000)]
[monkeydoc] Sanitize namespace/path names
Mark Probst [Wed, 12 Dec 2012 10:45:24 +0000 (11:45 +0100)]
[sgen] Try to fix Win32 build.
Roman Zavalov [Wed, 12 Dec 2012 08:33:26 +0000 (12:33 +0400)]
Fixed Choice ordered read bug #2907
Jérémie Laval [Tue, 11 Dec 2012 22:36:21 +0000 (22:36 +0000)]
[monkeydoc] Optimize Lucene index creation in ecma-provider by avoiding allocation and generic string matching
Jérémie Laval [Tue, 11 Dec 2012 17:19:00 +0000 (18:19 +0100)]
[monkeydoc] Add back Lucene search creation for ecma-provider, switching from manually generated XPath to XLinq.
Jérémie Laval [Tue, 11 Dec 2012 17:15:16 +0000 (18:15 +0100)]
[monkeydoc] Correctly compute internal id
Jérémie Laval [Tue, 11 Dec 2012 17:13:42 +0000 (18:13 +0100)]
[monkeydoc] Correctly append kind caption to types
Jérémie Laval [Tue, 11 Dec 2012 17:13:12 +0000 (18:13 +0100)]
[monkeydoc] Set things right
Jérémie Laval [Tue, 11 Dec 2012 17:12:02 +0000 (18:12 +0100)]
[monkeydoc] Use HelpSource's name to compute the cache key
Jérémie Laval [Tue, 11 Dec 2012 12:27:02 +0000 (13:27 +0100)]
[doc] Disable mono-tracing as an documented API in TOC as it's not generated anymore.
Rodrigo Kumpera [Tue, 11 Dec 2012 20:42:12 +0000 (15:42 -0500)]
Revert "Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes"
This reverts commit
8bb9b4409d3f73fdf5ec2afc3b9add6bd33f712f, reversing
changes made to
a5dd9d6910896c4d38e1b7d956f1124ab744bc67.
Atsushi Eno [Tue, 11 Dec 2012 19:03:23 +0000 (04:03 +0900)]
Fix reactive.pc file name in rpm spec.
Rodrigo Kumpera [Tue, 11 Dec 2012 17:04:01 +0000 (12:04 -0500)]
Automake can't handle missing conditional includes. Shell script our way out.
* autogen.sh: The extension module conditional include can't be done from automake
given this wonderful piece of engineering can't handle missing conditional includes
in any sane way. So what we do is to include them at autogen.sh time.
* Makefile.am.in: This puppy now needs to be pre-processed before all the automake
shinning glory kicks in.
Mark Probst [Tue, 11 Dec 2012 17:27:47 +0000 (18:27 +0100)]
[sgen] Fix SGen tests.
Concurrent sweep is gone, and concurrent M&S is in.
Jérémie Laval [Tue, 11 Dec 2012 12:06:19 +0000 (13:06 +0100)]
[build] Update Lucene.net submodule to use mono org URL
Atsushi Eno [Tue, 11 Dec 2012 08:31:00 +0000 (17:31 +0900)]
oops, forgot to bring reactive.pc back after some attempts to fix master build.
Marek Safar [Tue, 11 Dec 2012 08:28:25 +0000 (00:28 -0800)]
Merge pull request #519 from Youscribe/execution_context_call
add LogicalCallContext to ExecutionContext
Marek Safar [Tue, 11 Dec 2012 08:03:43 +0000 (00:03 -0800)]
Merge pull request #521 from DavidS/stub-ServiceInstaller-4-0
ServiceInstaller: add DelayedAutoStart property for NET_4_0
Atsushi Eno [Tue, 11 Dec 2012 06:46:02 +0000 (15:46 +0900)]
fix build so far.
Atsushi Eno [Tue, 11 Dec 2012 06:34:19 +0000 (15:34 +0900)]
Add Reactive Extensions as installed libs, take 2 (with fixed rpmspec this time).
David Schmitt [Tue, 11 Dec 2012 06:28:39 +0000 (07:28 +0100)]
ServiceInstaller: add DelayedAutoStart property for NET_4_0
Rodrigo Kumpera [Mon, 10 Dec 2012 22:15:16 +0000 (17:15 -0500)]
Introduce hooks for parallel build scripts.
* configure.in: Add new configure option that allows a parallel set of
build scripts to contribute to the current one.
* mono/mini/Makefile.am: Include the parallel build scripts when generating
Makefiles.
* mcs/build/gensources.sh:
* mcs/build/library.make: Probe for parallel source lists when building the
class libs.
Paolo Molaro [Wed, 14 Nov 2012 14:03:41 +0000 (15:03 +0100)]
Introduce support for unlimited trampolines.
With this new code there is no longer an AOT compiler limit on the number of
trampolines, as they are allocated at runtime as necessary on iOS systems.
We use iOS's ability to remap a page to a different address in memory
and we replicate the trampolines we generate in the binary file to a
location in memory near a writable page where the trampolines can find the
specific runtime data needed (basically building writable constant pools).
On a big app like bcltests, this saves more than 900KB of binary size.
There is still the option to use the old code, by passing the "nopagetrampolines"
option tp the AOT compiler (the new code is the default).
Sebastien Pouliot [Tue, 17 Apr 2012 14:17:59 +0000 (10:17 -0400)]
Simplify a bit FULL_AOT_RUNTIME build wrt use of CommonCrypto. Ref: assistly #9858
Yann ROBIN [Mon, 10 Dec 2012 21:37:38 +0000 (22:37 +0100)]
fix code according to mono coding guidelines
Yann ROBIN [Mon, 10 Dec 2012 19:55:14 +0000 (20:55 +0100)]
fix code according to mono coding guidelines
Mark Probst [Mon, 10 Dec 2012 17:50:58 +0000 (18:50 +0100)]
[sgen] Build fix.
Jonathan Pryor [Mon, 10 Dec 2012 17:15:57 +0000 (12:15 -0500)]
[monodoc] Look for docs in LocalApplicationData
Problem: At present, the MonoTouch installer merges MonoTouch
documentation "stubs" with the locally installed iOS documentation,
and installs them into
/Library/Frameworks/Mono.framework/External/monodoc. Since this
directory isn't world writable, you need to be root to do it.
Previously this wasn't a major problem ("just" run the updater as
root), but Apple is now suggesting the use of a setuid binary to do
this instead of privilege escalation:
http://blog.neteril.org/blog/2012/12/06/a-better-monomac-privilege-elevation/
The problem is that setuid binaries are notoriously difficult to write
properly, and have a large number of ways to be exploited. This is bad.
To avoid this, we instead want to stick the merged documentation into
the per-user directory, which means the updater does NOT need to run
as root, we don't need to write the documentation to a protected
directory, and the security concerns are significantly saner.
This in turn means that monodoc.dll needs to be able to look for docs
in a per-user directory, thus this patch:
Update monodoc.dll to look for documentation in the directory:
Path.Combine (
Environment.GetFolderPath (Environment.SpecialFolder.LocalApplicationData),
"monodoc")
(On OS X/Unix, this is ~/.local/share/monodoc.)
This is a per-user directory, writable by the user.
Mark Probst [Sun, 9 Dec 2012 13:26:17 +0000 (14:26 +0100)]
[sgen] Mention marksweep-conc in the man page.
Mark Probst [Sun, 2 Dec 2012 13:48:00 +0000 (14:48 +0100)]
[sgen] Debugging code to check gray queue section's states.
Mark Probst [Fri, 30 Nov 2012 22:00:35 +0000 (23:00 +0100)]
[sgen] Just pass one struct around, instead of scan_func, copy_func and queue.
Mark Probst [Fri, 30 Nov 2012 20:57:16 +0000 (21:57 +0100)]
[sgen] Use SGEN_ATOMIC_ADD instead of doing it by hand.
Mark Probst [Thu, 29 Nov 2012 15:37:54 +0000 (16:37 +0100)]
[sgen] Define all dummy DTrace macros.
Mark Probst [Thu, 29 Nov 2012 14:23:13 +0000 (15:23 +0100)]
[sgen] A few assertions.
Mark Probst [Thu, 29 Nov 2012 14:22:33 +0000 (15:22 +0100)]
[sgen] Start the workers before pinning when concurrent.
Mark Probst [Thu, 29 Nov 2012 14:21:01 +0000 (15:21 +0100)]
[sgen] Disable redirection to distribute queue after workers have stopped.
Mark Probst [Thu, 29 Nov 2012 10:26:18 +0000 (11:26 +0100)]
[sgen] Fix weak tracking links in concurrent mark.
This was broken because nursery objects were not marked pinned
at the time references were checked, so they were considered dead
and the links were nulled.
We solve this by not unpinning them in the finishing nursery collection
but instead leaving them pinned during the finish-up of the major
collection and unpinning them afterwards.
Mark Probst [Tue, 27 Nov 2012 17:07:48 +0000 (18:07 +0100)]
Make weak links initialized to NULL before calling mono_gc_weak_link_add().
This has no effect, but the weak link DTrace probes don't get uninitialized
pointers anymore.
Mark Probst [Tue, 27 Nov 2012 17:01:02 +0000 (18:01 +0100)]
[sgen] DTrace probes for finalisers and weak links.
Mark Probst [Sat, 24 Nov 2012 16:03:40 +0000 (17:03 +0100)]
[sgen] Remove workers_gc_thread_data.
It's not used anymore.
Mark Probst [Thu, 22 Nov 2012 12:11:35 +0000 (13:11 +0100)]
[sgen] Number of major objects marked in concurrent DTrace probes.
Can be enabled/disabled via #define in sgen-conf.h. Disabled by default
because it's a small performance hit.
Mark Probst [Thu, 22 Nov 2012 11:56:20 +0000 (12:56 +0100)]
[sgen] Remove debugging printfs.