mono.git
13 years agoAdd additional unit test for ConcurrentDictionary to validate behavior with the new...
Jérémie Laval [Thu, 12 Aug 2010 09:46:55 +0000 (10:46 +0100)]
Add additional unit test for ConcurrentDictionary to validate behavior with the new SplitOrderedList backend.

13 years agoPort ConcurrentDictionary to use SplitOrderedList class.
Jérémie Laval [Thu, 12 Aug 2010 09:46:32 +0000 (10:46 +0100)]
Port ConcurrentDictionary to use SplitOrderedList class.

13 years agoAdd auxiliary methods to SplitOrderedList to allow better integration with Concurrent...
Jérémie Laval [Thu, 12 Aug 2010 09:44:35 +0000 (10:44 +0100)]
Add auxiliary methods to SplitOrderedList to allow better integration with ConcurrentDictionary API.

Several method in ConcurrentDictionary do a combination of two actions or two different actions depending on a test. These additional methods to the standard SplitOrderedList operation set are for these.

13 years agoAdd SplitOrderedList to the build system
Jérémie Laval [Tue, 10 Aug 2010 15:10:56 +0000 (16:10 +0100)]
Add SplitOrderedList to the build system

13 years agoFixicate SplitOrderedList and tune default values
Jérémie Laval [Tue, 10 Aug 2010 15:10:35 +0000 (16:10 +0100)]
Fixicate SplitOrderedList and tune default values

13 years agoCompilable implementation of SplitOrderList
Jérémie Laval [Tue, 10 Aug 2010 14:15:50 +0000 (15:15 +0100)]
Compilable implementation of SplitOrderList

13 years agoAdd new split ordered list type based on the eponymous data structure.
Jérémie Laval [Mon, 9 Aug 2010 14:21:25 +0000 (15:21 +0100)]
Add new split ordered list type based on the eponymous data structure.

This data structure is to be used internally by ConcurrentDictionary. Theory from paper "Split-Ordered Lists: Lock-Free Extensible Hash Tables" and "A Pragmatic Implementation of Non-Blocking Linked-Lists".

13 years agoongoing AnnouncementClient implementation.
Atsushi Eno [Thu, 12 Aug 2010 10:33:46 +0000 (19:33 +0900)]
ongoing AnnouncementClient implementation.

13 years agoAdd a FIXME to abcrem.
Zoltan Varga [Thu, 12 Aug 2010 09:32:36 +0000 (11:32 +0200)]
Add a FIXME to abcrem.

13 years ago[asp.net] Fix for bug #617746. GridRow must auto-bind only properties directly declar...
Marek Habersack [Thu, 12 Aug 2010 09:10:51 +0000 (11:10 +0200)]
[asp.net] Fix for bug #617746. GridRow must auto-bind only properties directly declared in item type

When GridView auto-generates columns it uses reflection to retrieve list of public properties present
in the item type. Only the properties that have bindable type and are declared directly in the item
type must be considered for column auto-generation.

13 years agoChannelFactory<T> and ClientBase<T> do not reject ServiceEndpoint with null Binding...
Atsushi Eno [Thu, 12 Aug 2010 09:04:23 +0000 (18:04 +0900)]
ChannelFactory<T> and ClientBase<T> do not reject ServiceEndpoint with null Binding or Address.

13 years agoAdd new constructors in 4.0.
Atsushi Eno [Thu, 12 Aug 2010 07:50:48 +0000 (16:50 +0900)]
Add new constructors in 4.0.

13 years agoFix infinite loop in mono_class_get_nested_types () if a nested type fails to load...
Zoltan Varga [Thu, 12 Aug 2010 00:36:26 +0000 (02:36 +0200)]
Fix infinite loop in mono_class_get_nested_types () if a nested type fails to load. Fixes # 630041. Add a test.

13 years agoAdd some error handling to custom attribute loading.
Rodrigo Kumpera [Wed, 11 Aug 2010 21:33:03 +0000 (18:33 -0300)]
Add some error handling to custom attribute loading.

* reflection.c (mono_reflection_resolve_custom_attribute_data):
Check for loader and type load errors.

13 years agoLazy load custom attribute data arguments.
Rodrigo Kumpera [Wed, 11 Aug 2010 21:05:26 +0000 (18:05 -0300)]
Lazy load custom attribute data arguments.

in mcs/class/corlib/System.Reflection:

* CustomAttributeData.cs: This now receives only the information
required to later load argument data. This information is stored
in a new field that is later discarded.

in mono/mono/metadata:

* icall-def.h: Add new icall from CustomAttributeData.

* object-internals.h: Add new reflection.c function.

* reflection.c (mono_reflection_get_custom_attrs_info): Don't
init the class when retrieving custom attributes since we must
handle broken types.

* reflection.c (create_custom_attr_data): Don't resolve cattr
arguments eagerly. Instead pass enough information to
CustomAttributeData so it can later on create them.

* reflection.c (mono_reflection_resolve_custom_attribute_data):
new icall used to create the cattr data arguments.

This is required to match MS behavior and fix some of the issues
triggered by trying to compile MD.

Fixes #630074

13 years ago[asp.net] Partial fix for bug #575600. Support opening another app configuration.
Marek Habersack [Wed, 11 Aug 2010 20:10:10 +0000 (22:10 +0200)]
[asp.net] Partial fix for bug #575600. Support opening another app configuration.

WebConfigurationHost now supports one more parameter passed to it in InitForConfiguration -
a boolean telling whether the configuration being initialized belongs to another app. If it is
true then the virtual path passed to InitForConfiguration is used as the application virtual
path. This has the effect that IsDefinitionAllowed doesn't throw an exception when a configuration
element with the MachineToApplication level is parsed.
WebConfigurationManager.FindWebConfig checks whether the path passed to it belongs to this application
which allows the mechanism described in the first paragraph to work.

13 years ago[asp.net] Partial fix for bug #575600. Convert virtual path to absolute only if neces...
Marek Habersack [Wed, 11 Aug 2010 12:15:43 +0000 (14:15 +0200)]
[asp.net] Partial fix for bug #575600. Convert virtual path to absolute only if necessary in HttpRequest.MapPath

Also added two tests for HttpRequest.MapPath which check cases when the baseVirtualDir
is not rooted.

13 years agoongoing UdpAnnouncementEndpoint work.
Atsushi Eno [Wed, 11 Aug 2010 18:32:44 +0000 (03:32 +0900)]
ongoing UdpAnnouncementEndpoint work.

13 years agoongoing AnnouncementService work.
Atsushi Eno [Wed, 11 Aug 2010 17:26:58 +0000 (02:26 +0900)]
ongoing AnnouncementService work.

13 years agoadd new AddServiceEndpoint() overload in 4.0.
Atsushi Eno [Wed, 11 Aug 2010 17:25:33 +0000 (02:25 +0900)]
add new AddServiceEndpoint() overload in 4.0.

13 years agoAdapt to new exception in threadpool behavior.
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.

13 years ago[Fix] Handle the portName argument/property properly.
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.

13 years agoFix infinite loop in .ctor. Use simpler way to check IPv4 availability.
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.

13 years agoFix pinvoked function name and marshaling of MIB stats.
Atsushi Eno [Wed, 11 Aug 2010 14:24:06 +0000 (23:24 +0900)]
Fix pinvoked function name and marshaling of MIB stats.

13 years agoflush ongoing hack. add UDP transport. Headers on configuration sources.
Atsushi Eno [Wed, 11 Aug 2010 09:40:49 +0000 (18:40 +0900)]
flush ongoing hack. add UDP transport. Headers on configuration sources.

13 years ago[hygiene] simplify the code dealing with internal collections
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.

13 years agofix the System.Json build
Jb Evain [Wed, 11 Aug 2010 08:42:00 +0000 (10:42 +0200)]
fix the System.Json build

13 years agofix the net_2_1 build
Jb Evain [Wed, 11 Aug 2010 08:41:33 +0000 (10:41 +0200)]
fix the net_2_1 build

13 years agorevert 21dd2b0200d091c43fce as it breaks the monotouch build
Jb Evain [Wed, 11 Aug 2010 08:40:55 +0000 (10:40 +0200)]
revert 21dd2b0200d091c43fce as it breaks the monotouch build

13 years agoongoing endpoint implementation.
Atsushi Eno [Wed, 11 Aug 2010 08:23:07 +0000 (17:23 +0900)]
ongoing endpoint implementation.

13 years agoNew threadpool exception test
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.

13 years agoAppDomainUnloadedException ignored.
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.

13 years ago[asp.net] HttpContext.RewritePath makes sure the passed path is in canonical form.
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.

13 years ago[runtime] Fix for bug #624914. Runtime has to remap System.Config 2.0 to 4.0
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.

13 years agoRemove some debug stuff.
Zoltan Varga [Tue, 10 Aug 2010 21:47:08 +0000 (23:47 +0200)]
Remove some debug stuff.

13 years ago[asp.net] Fix for bug #629990 In-Proc session state must remove cache prefix from...
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.

13 years ago[llvm] Do a zero extension for bool/char too when loading a volatile variable.
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.

13 years agoAdded new ABI mode to mono-api-info tool, wrapped in a mono-abi-info script.
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.

13 years agoFix nullref.
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.

13 years agoimplement MessageEncodingBindingElement.GetProperty<T>().
Atsushi Eno [Tue, 10 Aug 2010 16:38:43 +0000 (01:38 +0900)]
implement MessageEncodingBindingElement.GetProperty<T>().

13 years agoFixed parsing of content-type parameters.
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.

13 years ago[629383] Inflate generic type of default expression
Marek Safar [Tue, 10 Aug 2010 14:18:31 +0000 (15:18 +0100)]
[629383] Inflate generic type of default expression

13 years ago[629390] Avoid crash on the sole type expressions used for extension methods
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

13 years agoCosmetic corcompare fix.
Atsushi Eno [Tue, 10 Aug 2010 12:04:48 +0000 (21:04 +0900)]
Cosmetic corcompare fix.

13 years agoMerge branch 'master' of github.com:mono/mono
Atsushi Eno [Tue, 10 Aug 2010 11:23:15 +0000 (20:23 +0900)]
Merge branch 'master' of github.com:mono/mono

13 years agoEncoderFallback support in UTF8Encoding. Fixed bug #565129 and regression in d961246.
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.

13 years agoAlso check for generic arguments of dynamic arrays
Marek Safar [Tue, 10 Aug 2010 11:20:30 +0000 (12:20 +0100)]
Also check for generic arguments of dynamic arrays

13 years ago[629742] Iterators can be of dynamic type
Marek Safar [Tue, 10 Aug 2010 11:19:52 +0000 (12:19 +0100)]
[629742] Iterators can be of dynamic type

13 years agoAdd Mono code contracts skeletons.
Marek Safar [Tue, 10 Aug 2010 08:44:02 +0000 (09:44 +0100)]
Add Mono code contracts skeletons.

13 years agoMigrate more code to public API for 4.0
Marek Safar [Tue, 10 Aug 2010 08:16:39 +0000 (09:16 +0100)]
Migrate more code to public API for 4.0

13 years ago[Documentation] Explain nursery size a bit in man page.
Mark Probst [Tue, 10 Aug 2010 02:20:23 +0000 (04:20 +0200)]
[Documentation] Explain nursery size a bit in man page.

13 years ago[fix] #626034: Properly handle Form.Dispose to not close other visible forms.
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.

13 years agoAvoid an #ifndef HAVE_SGEN_GC inside MonoDomain, so the layout remains the same
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.

13 years agoTurn off the monitor enter/exit trampolines under SGEN using a runtime check instead...
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.

13 years agoEmit boxed versions of primitive types in xdebug.
Zoltan Varga [Mon, 9 Aug 2010 22:01:06 +0000 (00:01 +0200)]
Emit boxed versions of primitive types in xdebug.

13 years ago[sgen] Fix OBS warning.
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.

13 years agoFix the boundary in UploadFile().
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.

13 years agoAvoid exceptions in gdb when encountering unknown struct types.
Zoltan Varga [Mon, 9 Aug 2010 21:44:49 +0000 (23:44 +0200)]
Avoid exceptions in gdb when encountering unknown struct types.

13 years agoGenerate xdebug info for monitor enter/exit trampolines.
Zoltan Varga [Mon, 9 Aug 2010 21:37:27 +0000 (23:37 +0200)]
Generate xdebug info for monitor enter/exit trampolines.

13 years agoRemove the few remaining compile time GC dependencies.
Zoltan Varga [Mon, 9 Aug 2010 21:22:10 +0000 (23:22 +0200)]
Remove the few remaining compile time GC dependencies.

13 years agoAdd sgen-workers.c to sgen_sources
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

13 years ago[sgen] Sleep a little while busy-waiting for the gray queue distribution.
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.

13 years agoAvoid registering roots inside the MonoDomain structure when using Boehm, since
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.

13 years agoFix #560060 - Embedded "app.config" is not read when used inside a bundle.
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.

13 years agoFix a typo.
Zoltan Varga [Mon, 9 Aug 2010 18:20:29 +0000 (20:20 +0200)]
Fix a typo.

13 years agoIgnore mono_use_llvm when JITting in a runtime compiled without LLVM support.
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.

13 years agoUpdate the comments for mono_use_llvm.
Zoltan Varga [Mon, 9 Aug 2010 17:58:54 +0000 (19:58 +0200)]
Update the comments for mono_use_llvm.

13 years agoCall BeginErrorReadLine()/BeginOutputReadLine() in a Process test so it runs on windo...
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.

13 years agoBump version to 2.7.1
Andrew Jorgensen [Mon, 9 Aug 2010 17:30:19 +0000 (11:30 -0600)]
Bump version to 2.7.1

13 years agoAdd System.ServiceModel.Discovery to .spec
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

13 years agoProper tracking of ICMP requests and responses.
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.

13 years agoUpdate README
Miguel de Icaza [Mon, 9 Aug 2010 16:36:31 +0000 (12:36 -0400)]
Update README

13 years agoAvoid printing the output of /bin/ls in a Process test.
Zoltan Varga [Mon, 9 Aug 2010 16:29:01 +0000 (18:29 +0200)]
Avoid printing the output of /bin/ls in a Process test.

13 years agoRemove some hash code tests which can fail.
Zoltan Varga [Mon, 9 Aug 2010 16:22:18 +0000 (18:22 +0200)]
Remove some hash code tests which can fail.

13 years agoIgnore a few more files.
Gonzalo Paniagua Javier [Mon, 9 Aug 2010 16:14:05 +0000 (12:14 -0400)]
Ignore a few more files.

13 years agoAdd dummy implementation of g_module functions for NACL.
Elijah Taylor [Mon, 9 Aug 2010 15:50:14 +0000 (17:50 +0200)]
Add dummy implementation of g_module functions for NACL.

13 years agoAdd a test for running the regression tests in a full-aot+static environment.
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.

13 years agoDon't use mmap/munmap under NACL.
Elijah Taylor [Mon, 9 Aug 2010 15:44:08 +0000 (17:44 +0200)]
Don't use mmap/munmap under NACL.

13 years agoUse 32 as the min alignment when running 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.

13 years agoAdd support to the x86 backend for generating code compatible with Google
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.

13 years agoAdd hooks to the codegen macros to support NACL codegen.
Elijah Taylor [Mon, 9 Aug 2010 15:40:18 +0000 (17:40 +0200)]
Add hooks to the codegen macros to support NACL codegen.

13 years agoAdd configure support for Google Native Client (NACL).
Elijah Taylor [Mon, 9 Aug 2010 15:39:50 +0000 (17:39 +0200)]
Add configure support for Google Native Client (NACL).

13 years agoDisable the elimination of MONO_INST_FAULT in ABCREM, LLVM can move the non-faulting...
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.

13 years ago[asp.net] Fix for bug #628683. Do not ignore whitespace between <%: %> blocks
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

13 years agoFix typo
Jb Evain [Mon, 9 Aug 2010 13:45:53 +0000 (15:45 +0200)]
Fix typo

13 years agooops, they should not write wrapper element twice.
Atsushi Eno [Mon, 9 Aug 2010 12:43:08 +0000 (21:43 +0900)]
oops, they should not write wrapper element twice.

13 years ago[asp.net] Fix for bug #618481. AsyncPostBackTrigger.OnEvent must call Owner.Update...
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.

13 years ago[asp.net] AsyncPostBackTrigger.HasTriggered must use FindTargetControl ()
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.

13 years ago[asp.net,bugfix] Fix for bug #620456. AsyncPostBackTrigger must look for target contr...
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.

13 years agofinished Discovery serialization stuff.
atsushieno [Mon, 9 Aug 2010 12:00:26 +0000 (21:00 +0900)]
finished Discovery serialization stuff.

13 years agoongoing Sys.SM.Discovery serialization implementation.
atsushieno [Mon, 9 Aug 2010 08:46:12 +0000 (17:46 +0900)]
ongoing Sys.SM.Discovery serialization implementation.

13 years agoParse list type, and parse QName without prefix, as expected.
atsushieno [Mon, 9 Aug 2010 08:43:40 +0000 (17:43 +0900)]
Parse list type, and parse QName without prefix, as expected.

13 years agoUse faulting load for loading the vtable in CEE_LDELEMA.
Zoltan Varga [Sun, 8 Aug 2010 22:48:58 +0000 (00:48 +0200)]
Use faulting load for loading the vtable in CEE_LDELEMA.

13 years ago[fix] #620618: Make sure the header in ListView is always on top.
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.

13 years agoNew test for ListView.Dispose firing extra Layout events.
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.

13 years ago[fix] #622318: ListView.Dispose should not call dispose on its implicit scrollbars.
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.

13 years ago[sgen] Fixed heap for Mark&Sweep.
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.

13 years ago[sgen] Fix sgen-grep-binprot.
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.

13 years ago[sgen] Fixes.
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().

13 years agoFix Math.Log (2, 1). Fixes #626944.
Zoltan Varga [Sat, 7 Aug 2010 20:22:44 +0000 (22:22 +0200)]
Fix Math.Log (2, 1). Fixes #626944.