Atsushi Eno [Wed, 11 Aug 2010 17:25:33 +0000 (02:25 +0900)]
add new AddServiceEndpoint() overload in 4.0.
Gonzalo Paniagua Javier [Wed, 11 Aug 2010 17:13:11 +0000 (13:13 -0400)]
Adapt to new exception in threadpool behavior.
Since an exception in the threadpool can kill the application,
silently ignore it when we know it is not harmful.
Robert Jordan [Sat, 7 Aug 2010 18:15:37 +0000 (02:15 +0800)]
[Fix] Handle the portName argument/property properly.
Some of IpcServerChannel's ctors did not keep track of the original
IPC port name correctly. This led to a non-functional GetUrlsForUri
method.
Atsushi Eno [Wed, 11 Aug 2010 14:40:50 +0000 (23:40 +0900)]
Fix infinite loop in .ctor. Use simpler way to check IPv4 availability.
Atsushi Eno [Wed, 11 Aug 2010 14:24:06 +0000 (23:24 +0900)]
Fix pinvoked function name and marshaling of MIB stats.
Atsushi Eno [Wed, 11 Aug 2010 09:40:49 +0000 (18:40 +0900)]
flush ongoing hack. add UDP transport. Headers on configuration sources.
Jb Evain [Wed, 11 Aug 2010 09:23:35 +0000 (11:23 +0200)]
[hygiene] simplify the code dealing with internal collections
Initialize the objets with the provided source at construction time
like SL does, and thus avoid dealing with two different sources.
Jb Evain [Wed, 11 Aug 2010 08:42:00 +0000 (10:42 +0200)]
fix the System.Json build
Jb Evain [Wed, 11 Aug 2010 08:41:33 +0000 (10:41 +0200)]
fix the net_2_1 build
Jb Evain [Wed, 11 Aug 2010 08:40:55 +0000 (10:40 +0200)]
revert
21dd2b0200d091c43fce as it breaks the monotouch build
Atsushi Eno [Wed, 11 Aug 2010 08:23:07 +0000 (17:23 +0900)]
ongoing endpoint implementation.
Gonzalo Paniagua Javier [Wed, 11 Aug 2010 00:17:15 +0000 (20:17 -0400)]
New threadpool exception test
Add new test for a threadpool thread that is in a domain
that will be unloaded.
Gonzalo Paniagua Javier [Tue, 10 Aug 2010 23:35:31 +0000 (19:35 -0400)]
AppDomainUnloadedException ignored.
AppDomainUnloadedException is also ignored when thrown in a threadpool
thread.
Marek Habersack [Tue, 10 Aug 2010 23:15:09 +0000 (01:15 +0200)]
[asp.net] HttpContext.RewritePath makes sure the passed path is in canonical form.
When HttpContext.RewritePath is passed a virtual path with more than one leading slash it
results in HttpApplication.GetHandler not being able to locate the appropriate handler.
Patch adds code to convert the passed virtual path to a canonical form.
Additionally, HttpApplication.Pipeline () now throws an exception when no handler can be
determined for the current request.
Marek Habersack [Tue, 10 Aug 2010 21:41:35 +0000 (23:41 +0200)]
[runtime] Fix for bug #624914. Runtime has to remap System.Config 2.0 to 4.0
The bug was caused by the runtime loading two copies of System.Configuration -
one for the 4.0 profile (loaded by xsp4 itself) and another for the 2.0 profile
(loaded as a reference for BlogEngine.Core.dll) and for that reason, the static
class System.Configuration.ConfigurationManager was instantiated twice in the
BlogEngine application's AppDomain which, in effect, led to the exception since
the configuration system wasn't reset from the default one to the system.web-specific
one. The commit makes runtime remap System.Configuration 2.0 to 4.0.
Thanks to Zoltan Varga for catching the issue.
Zoltan Varga [Tue, 10 Aug 2010 21:47:08 +0000 (23:47 +0200)]
Remove some debug stuff.
Marek Habersack [Tue, 10 Aug 2010 19:56:21 +0000 (21:56 +0200)]
[asp.net] Fix for bug #629990 In-Proc session state must remove cache prefix from item key
When the in-proc session handler puts items in the internal cache, it prefixes them with the
@@@InProc@ prefix to make sure they don't conflict with other values stored there. The handler
has been failing so far to remove that prefix when triggering the session end event. This commit
fixes the issue.
Zoltan Varga [Tue, 10 Aug 2010 18:52:47 +0000 (20:52 +0200)]
[llvm] Do a zero extension for bool/char too when loading a volatile variable.
Andrés G. Aragoneses [Tue, 10 Aug 2010 18:12:50 +0000 (20:12 +0200)]
Added new ABI mode to mono-api-info tool, wrapped in a mono-abi-info script.
2010-08-05 Andrés G. Aragoneses <andres@lindenlab.com>
* mcs/tools/corcompare/mono-api-info.cs: Implemented new mode to show ABI.
* mcs/tools/corcompare/Makefile: added mono-abi-info autofoo.
* scripts/.gitignore: added mono-abi-info.
* scripts/Makefile.am: added mono-abi-info autofoo.
Gonzalo Paniagua Javier [Tue, 10 Aug 2010 15:59:21 +0000 (11:59 -0400)]
Fix nullref.
* XslFunctions.cs: avoid nullref in simple transformation.
Fixes bug #629714.
Atsushi Eno [Tue, 10 Aug 2010 16:38:43 +0000 (01:38 +0900)]
implement MessageEncodingBindingElement.GetProperty<T>().
Gonzalo Paniagua Javier [Tue, 10 Aug 2010 15:35:37 +0000 (11:35 -0400)]
Fixed parsing of content-type parameters.
* ContentType.cs: correctly parse values inside double-quotes.
Fixes bug #625026.
Marek Safar [Tue, 10 Aug 2010 14:18:31 +0000 (15:18 +0100)]
[629383] Inflate generic type of default expression
Marek Safar [Tue, 10 Aug 2010 12:25:27 +0000 (13:25 +0100)]
[629390] Avoid crash on the sole type expressions used for extension methods
Atsushi Eno [Tue, 10 Aug 2010 12:04:48 +0000 (21:04 +0900)]
Cosmetic corcompare fix.
Atsushi Eno [Tue, 10 Aug 2010 11:23:15 +0000 (20:23 +0900)]
Merge branch 'master' of github.com:mono/mono
Atsushi Eno [Tue, 10 Aug 2010 11:20:16 +0000 (20:20 +0900)]
EncoderFallback support in UTF8Encoding. Fixed bug #565129 and regression in
d961246.
Patch mostly by JB Evain.
Marek Safar [Tue, 10 Aug 2010 11:20:30 +0000 (12:20 +0100)]
Also check for generic arguments of dynamic arrays
Marek Safar [Tue, 10 Aug 2010 11:19:52 +0000 (12:19 +0100)]
[629742] Iterators can be of dynamic type
Marek Safar [Tue, 10 Aug 2010 08:44:02 +0000 (09:44 +0100)]
Add Mono code contracts skeletons.
Marek Safar [Tue, 10 Aug 2010 08:16:39 +0000 (09:16 +0100)]
Migrate more code to public API for 4.0
Mark Probst [Tue, 10 Aug 2010 02:20:23 +0000 (04:20 +0200)]
[Documentation] Explain nursery size a bit in man page.
Carlos Alberto Cortez [Mon, 9 Aug 2010 21:00:51 +0000 (23:00 +0200)]
[fix] #626034: Properly handle Form.Dispose to not close other visible forms.
* Application.cs: At the end of the message loop in RunLoop
don't break the loop if the Form handle has been destroyed already -
which means that we *need* to wait for WM_QUIT and handle it
properly instead, so it doesn't end up affecting other forms.
Zoltan Varga [Mon, 9 Aug 2010 22:45:42 +0000 (00:45 +0200)]
Avoid an #ifndef HAVE_SGEN_GC inside MonoDomain, so the layout remains the same
for all GCs.
Zoltan Varga [Mon, 9 Aug 2010 22:38:51 +0000 (00:38 +0200)]
Turn off the monitor enter/exit trampolines under SGEN using a runtime check instead of a compile time one.
Zoltan Varga [Mon, 9 Aug 2010 22:01:06 +0000 (00:01 +0200)]
Emit boxed versions of primitive types in xdebug.
Mark Probst [Mon, 9 Aug 2010 22:21:50 +0000 (00:21 +0200)]
[sgen] Fix OBS warning.
Add a dummy return to workers_thread_func() to make OBS happy.
Gonzalo Paniagua Javier [Mon, 9 Aug 2010 21:58:48 +0000 (17:58 -0400)]
Fix the boundary in UploadFile().
* WebClient.cs: the last delimiter has 2 hyphens appended to the boundary to signal it is indeed the last one.
Fixes bug #554817.
Zoltan Varga [Mon, 9 Aug 2010 21:44:49 +0000 (23:44 +0200)]
Avoid exceptions in gdb when encountering unknown struct types.
Zoltan Varga [Mon, 9 Aug 2010 21:37:27 +0000 (23:37 +0200)]
Generate xdebug info for monitor enter/exit trampolines.
Zoltan Varga [Mon, 9 Aug 2010 21:22:10 +0000 (23:22 +0200)]
Remove the few remaining compile time GC dependencies.
Andrew Jorgensen [Mon, 9 Aug 2010 20:30:37 +0000 (14:30 -0600)]
Add sgen-workers.c to sgen_sources
* Makefile.am: Add sgen-workers.c to sgen_sources
Mark Probst [Mon, 9 Aug 2010 20:07:47 +0000 (22:07 +0200)]
[sgen] Sleep a little while busy-waiting for the gray queue distribution.
In the parallel collector, the main GC thread needs to distribute all
remaining entries in the gray queue to the worker threads. Since the
distribution pool is limited in size we need to wait on it, which at
this point is only possible with busy-waiting. Since we don't want to
use up CPU resources and hog the cache lines we wait 2ms between
distribution attempts.
Zoltan Varga [Mon, 9 Aug 2010 19:55:25 +0000 (21:55 +0200)]
Avoid registering roots inside the MonoDomain structure when using Boehm, since
it is GC_MALLOC-ed, and Boehm doesn't like that.
Laurent Etiemble [Mon, 9 Aug 2010 19:21:33 +0000 (21:21 +0200)]
Fix #560060 - Embedded "app.config" is not read when used inside a bundle.
* mcs/class/System.Configuration/System.Configuration/InternalConfigurationHost.cs: Add new internal call to retrieve embedded application config. First
check if an embedded configuration exists before looking up on the
filesystem.
* mono/metadata/icall-def.h: Add entry for retrieving embedded application
configuration.
* mono/metadata/icall.c: Add function to retrieve embedded application
configuration if one has been registered with the runtime.
Zoltan Varga [Mon, 9 Aug 2010 18:20:29 +0000 (20:20 +0200)]
Fix a typo.
Zoltan Varga [Mon, 9 Aug 2010 18:05:34 +0000 (20:05 +0200)]
Ignore mono_use_llvm when JITting in a runtime compiled without LLVM support.
Zoltan Varga [Mon, 9 Aug 2010 17:58:54 +0000 (19:58 +0200)]
Update the comments for mono_use_llvm.
Zoltan Varga [Mon, 9 Aug 2010 17:42:51 +0000 (19:42 +0200)]
Call BeginErrorReadLine()/BeginOutputReadLine() in a Process test so it runs on windows too.
Andrew Jorgensen [Mon, 9 Aug 2010 17:30:19 +0000 (11:30 -0600)]
Bump version to 2.7.1
Andrew Jorgensen [Mon, 9 Aug 2010 17:29:07 +0000 (11:29 -0600)]
Add System.ServiceModel.Discovery to .spec
* mono-core.spec.in: Add System.ServiceModel.Discovery
Gonzalo Paniagua Javier [Mon, 9 Aug 2010 17:18:26 +0000 (13:18 -0400)]
Proper tracking of ICMP requests and responses.
* Ping.cs: generates a random ICMP Identifier field per Echo to help
match up pings and their responses. Now has valid TTL and timeouts apply to
the correct pings. Also fixed bugs were received Sequence and
Identifier would be corrupt for values >255, and fixed corruption of
the Data field.
Patch by Michael Walsh that fixes bug #627330.
Miguel de Icaza [Mon, 9 Aug 2010 16:36:31 +0000 (12:36 -0400)]
Update README
Zoltan Varga [Mon, 9 Aug 2010 16:29:01 +0000 (18:29 +0200)]
Avoid printing the output of /bin/ls in a Process test.
Zoltan Varga [Mon, 9 Aug 2010 16:22:18 +0000 (18:22 +0200)]
Remove some hash code tests which can fail.
Gonzalo Paniagua Javier [Mon, 9 Aug 2010 16:14:05 +0000 (12:14 -0400)]
Ignore a few more files.
Elijah Taylor [Mon, 9 Aug 2010 15:50:14 +0000 (17:50 +0200)]
Add dummy implementation of g_module functions for NACL.
Elijah Taylor [Mon, 9 Aug 2010 15:49:20 +0000 (17:49 +0200)]
Add a test for running the regression tests in a full-aot+static environment.
Elijah Taylor [Mon, 9 Aug 2010 15:44:08 +0000 (17:44 +0200)]
Don't use mmap/munmap under NACL.
Elijah Taylor [Mon, 9 Aug 2010 15:43:41 +0000 (17:43 +0200)]
Use 32 as the min alignment when running under NACL.
Elijah Taylor [Mon, 9 Aug 2010 15:41:51 +0000 (17:41 +0200)]
Add support to the x86 backend for generating code compatible with Google
Native Client codegen requirements.
Elijah Taylor [Mon, 9 Aug 2010 15:40:18 +0000 (17:40 +0200)]
Add hooks to the codegen macros to support NACL codegen.
Elijah Taylor [Mon, 9 Aug 2010 15:39:50 +0000 (17:39 +0200)]
Add configure support for Google Native Client (NACL).
Zoltan Varga [Mon, 9 Aug 2010 14:06:37 +0000 (16:06 +0200)]
Disable the elimination of MONO_INST_FAULT in ABCREM, LLVM can move the non-faulting loads to before the faulting loads which they depend on.
Marek Habersack [Mon, 9 Aug 2010 14:03:41 +0000 (16:03 +0200)]
[asp.net] Fix for bug #628683. Do not ignore whitespace between <%: %> blocks
Jb Evain [Mon, 9 Aug 2010 13:45:53 +0000 (15:45 +0200)]
Fix typo
Atsushi Eno [Mon, 9 Aug 2010 12:43:08 +0000 (21:43 +0900)]
oops, they should not write wrapper element twice.
Marek Habersack [Mon, 9 Aug 2010 12:30:29 +0000 (14:30 +0200)]
[asp.net] Fix for bug #618481. AsyncPostBackTrigger.OnEvent must call Owner.Update only for conditionally updated panels
If the owner UpdatePanel has its UpdateMode set to Always, do not call Update () as it will cause an InvalidOperationException
to be thrown.
Marek Habersack [Mon, 9 Aug 2010 12:08:27 +0000 (14:08 +0200)]
[asp.net] AsyncPostBackTrigger.HasTriggered must use FindTargetControl ()
When a postback is made to the server, AsyncPostBackTrigger.HasTriggered must use FindTargetControl (true)
to find the associated control and see if its UniqueID matches the one of the control which originated
the postback. The target control may (and most probably is) outside the control panel and looking for it
only in the collection of child controls will make some sites fail to update content on async postback.
Marek Habersack [Mon, 9 Aug 2010 09:39:09 +0000 (11:39 +0200)]
[asp.net,bugfix] Fix for bug #620456. AsyncPostBackTrigger must look for target control in naming containers
AsyncPostBackTrigger must search for the associated control in the naming containers during intialization
because its ControlID property is initialized with the unique name of the target control.
atsushieno [Mon, 9 Aug 2010 12:00:26 +0000 (21:00 +0900)]
finished Discovery serialization stuff.
atsushieno [Mon, 9 Aug 2010 08:46:12 +0000 (17:46 +0900)]
ongoing Sys.SM.Discovery serialization implementation.
atsushieno [Mon, 9 Aug 2010 08:43:40 +0000 (17:43 +0900)]
Parse list type, and parse QName without prefix, as expected.
Zoltan Varga [Sun, 8 Aug 2010 22:48:58 +0000 (00:48 +0200)]
Use faulting load for loading the vtable in CEE_LDELEMA.
Carlos Alberto Cortez [Sun, 8 Aug 2010 11:39:27 +0000 (13:39 +0200)]
[fix] #620618: Make sure the header in ListView is always on top.
* ListView.cs: When using Details view re-populate our implicit
control collection to our header control is always on top. We
could try to just use BringToFront but since these controls are
implicit, we are not gracefully handling them.
Carlos Alberto Cortez [Sat, 7 Aug 2010 11:36:03 +0000 (13:36 +0200)]
New test for ListView.Dispose firing extra Layout events.
* ListViewTest.cs: New test to make sure Dispose is not
generating extra Layout events.
Carlos Alberto Cortez [Sat, 7 Aug 2010 11:29:11 +0000 (13:29 +0200)]
[fix] #622318: ListView.Dispose should not call dispose on its implicit scrollbars.
* ListView.cs: Don't call Dispose for our implicit scrollbars,
as the default Control.Dispose impl is already disposing all the
implicit controls. This was generating extra Layout
events when disposing.
Mark Probst [Sun, 8 Aug 2010 13:02:58 +0000 (15:02 +0200)]
[sgen] Fixed heap for Mark&Sweep.
This is a new variant of Mark&Sweep which uses a pre-allocated
fixed-size heap instead of a dynamically grown, segmented one. The
main advantage of this heap organization is that it takes only one
pointer comparison to determine whether an object is on the small
object heap or in the LOS, instead of inspecting the object's size,
which requires three loads. Since that determination is required for
every marked object, speeding it up can improve performance
significantly.
Mark Probst [Sun, 8 Aug 2010 13:14:26 +0000 (15:14 +0200)]
[sgen] Fix sgen-grep-binprot.
The refactoring that occurred with addition of parallel mark left
sgen-grep-binprot in an uncompilable state. Fix.
Mark Probst [Sun, 8 Aug 2010 00:25:22 +0000 (02:25 +0200)]
[sgen] Fixes.
The parallel mark merge was missing a header and included an erroneous
call to workers_init().
Zoltan Varga [Sat, 7 Aug 2010 20:22:44 +0000 (22:22 +0200)]
Fix Math.Log (2, 1). Fixes #626944.
Zoltan Varga [Sat, 7 Aug 2010 02:25:15 +0000 (04:25 +0200)]
Move wapi shutdown to mono_cleanup () as TlsGetValue()/TlsSetValue() is used
during shutdown.
Zoltan Varga [Sat, 7 Aug 2010 02:24:41 +0000 (04:24 +0200)]
Disable all profiler events after profiler shutdown.
* profiler.c (mono_profiler_shutdown): Disable all profiler events.
Mark Probst [Sat, 7 Aug 2010 19:07:06 +0000 (21:07 +0200)]
Merge branch 'parallel-mark'
Mark Probst [Fri, 6 Aug 2010 19:28:42 +0000 (21:28 +0200)]
[sgen] Separate mark function for parallel vs non-parallel mark&sweep.
Revive the old serial mark function for serial Mark&Sweep
because it's simpler and faster.
Mark Probst [Fri, 6 Aug 2010 13:45:34 +0000 (15:45 +0200)]
[sgen] Make parallel vs non-parallel mark&sweep selectable.
Make the parallel Mark&Sweep collector selectable with the "major"
option of the "MONO_GC_PARAMS" variable as "marksweep-par". The
serial Mark&Sweep collector remains the default as "marksweep".
Mark Probst [Mon, 26 Jul 2010 11:34:19 +0000 (13:34 +0200)]
[sgen] One internal allocator per worker thread, to get rid of locking.
Previously we used one internal allocator. That was not a problem as
long as SGen was single-threaded. With parallel mark, however, we
needed a lock for the internal allocator to make it work. This patch
makes each worker thread use its own internal allocator instead, so we
don't have to lock anymore.
One problem introduced by this approach is that the allocator from
which a gray queue section was allocated is not known at the point where
the section is freed, because it might have been sent off to a different
worker thread. To solve this we have a "delayed" free function, which
determines the correct internal allocator from the internal allocator
block (which is aligned). The section is then added to a delayed free
queue of that allocator which is processed at some point by that
allocator's worker thread.
Note that the section cannot be freed by the thread that calls the
delayed free function because that would result in the possibility of
the "ABA" problem occuring.
Mark Probst [Sun, 25 Jul 2010 02:04:17 +0000 (04:04 +0200)]
[sgen] Heavy statistics for the shared buffer.
Mark Probst [Sat, 7 Aug 2010 13:58:35 +0000 (15:58 +0200)]
[sgen] Parallel mark.
Make the mark phase of the Mark&Sweep collector parallel.
At GC initialization we start a number of worker threads (as much
as the machine has cores) between which the objects in the gray
queue are distributed for marking.
Mark Probst [Sun, 25 Jul 2010 02:02:47 +0000 (04:02 +0200)]
[sgen] Fix SGEN_ATOMIC_ADD.
Miguel de Icaza [Sat, 7 Aug 2010 16:57:27 +0000 (12:57 -0400)]
Merge branch 'master' of github.com:mono/mono
Miguel de Icaza [Sat, 7 Aug 2010 16:57:18 +0000 (12:57 -0400)]
Do not mandate that pkg-config is installed, it is only used for the comparative test suite
Carlos Alberto Cortez [Sat, 7 Aug 2010 01:44:30 +0000 (03:44 +0200)]
Implement SafeRegistryHandle.ReleaseHandle and update call sites.
* Microsoft.Win32.SafeHandles/SafeRegistryHandle.cs: Implement
ReleaseHandle by pinvoking RegCloseKey if we are on windows, and
nothing otherwise.
* Microsoft.Win32/Win32RegistryApi.cs:
* Microsoft.Win32/RegistryKey.cs: Don't call SafeHandle.Close
from our public api, and do it instead un the windows layer, as
we only support it there for now.
Zoltan Varga [Sat, 7 Aug 2010 01:40:04 +0000 (03:40 +0200)]
Avoid loading AOT images compiled against Boehm in an SGEN runtime, and vice versa. Use 'amodule' instead of 'aot_module' in more places.
Atsushi Eno [Sat, 7 Aug 2010 00:23:59 +0000 (09:23 +0900)]
implement FindCriteria serialization (deserialization is not yet).
Mark Mason [Tue, 3 Aug 2010 19:02:34 +0000 (12:02 -0700)]
Finish implementation of OP_IMUL_OVF_UN.
This and earlier changes contributed under MIT/X11 license.
Mark Mason [Tue, 3 Aug 2010 09:24:01 +0000 (02:24 -0700)]
Add missing memindex opcodes. Implement IMT thunks for MIPS
Mark Mason [Tue, 3 Aug 2010 07:17:21 +0000 (00:17 -0700)]
Implement this as first argument to function calls.
Mark Mason [Mon, 2 Aug 2010 22:13:10 +0000 (15:13 -0700)]
Initial IMT for MIPS. Fix the first arg to trampoline functions
Mark Mason [Thu, 29 Jul 2010 20:24:23 +0000 (13:24 -0700)]
Add IMT for MIPS. Fix MIPS branch opcodes. Fix *_OVF expansions. Cleanups to trampoline handling.