mono.git
13 years agoSignificant XamlObjectWriter rewrite for solid state transition. And now it supports...
Atsushi Eno [Thu, 7 Oct 2010 13:43:10 +0000 (22:43 +0900)]
Significant XamlObjectWriter rewrite for solid state transition. And now it supports Array(Extension) and other MarkupExtension types.

13 years agoClear the domain before unloading assemblies in mono_domain_free ().
Zoltan Varga [Thu, 7 Oct 2010 13:27:18 +0000 (15:27 +0200)]
Clear the domain before unloading assemblies in mono_domain_free ().

13 years agoFix more wrappers of dynamic methods.
Zoltan Varga [Thu, 7 Oct 2010 13:26:26 +0000 (15:26 +0200)]
Fix more wrappers of dynamic methods.

13 years agoFix compound assigments with dynamic side effect
Marek Safar [Thu, 7 Oct 2010 12:43:25 +0000 (13:43 +0100)]
Fix compound assigments with dynamic side effect

13 years agoFix make test for corlib.
Zoltan Varga [Thu, 7 Oct 2010 11:50:34 +0000 (13:50 +0200)]
Fix make test for corlib.

13 years agoRe-enable the tests.
Zoltan Varga [Thu, 7 Oct 2010 11:50:21 +0000 (13:50 +0200)]
Re-enable the tests.

13 years agoAvoid clearing nursery fragments before pinning, instead place arrays at the start...
Zoltan Varga [Thu, 30 Sep 2010 02:39:36 +0000 (04:39 +0200)]
Avoid clearing nursery fragments before pinning, instead place arrays at the start of each fragment which cover the whole fragment.

13 years agoRemove the MonoGenericContext/MonoMethod arguments from the get_this_arg () and get_u...
Zoltan Varga [Thu, 7 Oct 2010 10:01:24 +0000 (12:01 +0200)]
Remove the MonoGenericContext/MonoMethod arguments from the get_this_arg () and get_unbox_trampoline () family of functions, they are no longer needed after the this parameter passing changes.

13 years agoDisabled test until ?mcs is fixed.
Gonzalo Paniagua Javier [Wed, 6 Oct 2010 19:59:30 +0000 (15:59 -0400)]
Disabled test until ?mcs is fixed.

This test failed to compile (internal error). Large changes required in
?mcs before this can be compiled.

13 years agoURL moved and use the raw format for certdata
Gonzalo Paniagua Javier [Wed, 6 Oct 2010 15:21:09 +0000 (11:21 -0400)]
URL moved and use the raw format for certdata

The URL has been moved permanently. Use the raw format instead of
downloading the HTML page.

13 years agoAvoid warning
Gonzalo Paniagua Javier [Wed, 6 Oct 2010 15:31:08 +0000 (11:31 -0400)]
Avoid warning

_GNU_SOURCE was redefined

13 years agoAvoid a warning
Gonzalo Paniagua Javier [Wed, 6 Oct 2010 15:25:33 +0000 (11:25 -0400)]
Avoid a warning

Use MONO_TYPE_BOOLEAN instead of MONO_NATIVE_BOOLEAN. Same value,
different enums.

13 years agoX509Chain always uses the LM store
Gonzalo Paniagua Javier [Tue, 5 Oct 2010 23:18:43 +0000 (19:18 -0400)]
X509Chain always uses the LM store

X509Chain will now add the LM store certificates always, even when the
CU store is selected.

13 years agoFix CRLF
Marek Safar [Wed, 6 Oct 2010 11:09:57 +0000 (12:09 +0100)]
Fix CRLF

13 years agoVerify type parameter constraints type parameters
Marek Safar [Wed, 6 Oct 2010 11:01:04 +0000 (12:01 +0100)]
Verify type parameter constraints type parameters

13 years agoVerify type parameter constraints type parameters
Marek Safar [Wed, 6 Oct 2010 10:57:59 +0000 (11:57 +0100)]
Verify type parameter constraints type parameters

13 years agoFixes allowed interface method modifiers
Marek Safar [Wed, 6 Oct 2010 10:44:27 +0000 (11:44 +0100)]
Fixes allowed interface method modifiers

13 years agoAdd more complicated state transition to XamlXmlReader and now it can handle GetObject.
Atsushi Eno [Wed, 6 Oct 2010 10:31:02 +0000 (19:31 +0900)]
Add more complicated state transition to XamlXmlReader and now it can handle GetObject.

13 years agoUse MarkupExtension.ProvideValue() so that XamlObjectReader can return expected Resul...
Atsushi Eno [Wed, 6 Oct 2010 07:31:18 +0000 (16:31 +0900)]
Use MarkupExtension.ProvideValue() so that XamlObjectReader can return expected Result. Implement internal IXamlNameResolver for Reference resolution.

13 years agoAdd ContentProperty support in XamlXmlReader. Add some testcases.
Atsushi Eno [Wed, 6 Oct 2010 06:47:00 +0000 (15:47 +0900)]
Add ContentProperty support in XamlXmlReader. Add some testcases.

13 years agoFix a warning.
Zoltan Varga [Tue, 5 Oct 2010 23:05:37 +0000 (01:05 +0200)]
Fix a warning.

13 years agoNew test.
Marek Safar [Tue, 5 Oct 2010 20:07:25 +0000 (21:07 +0100)]
New test.

13 years agoInflate imported nested type correctly.
Marek Safar [Tue, 5 Oct 2010 19:57:28 +0000 (20:57 +0100)]
Inflate imported nested type correctly.

13 years agoCompare all type arguments for nested generic types.
Marek Safar [Tue, 5 Oct 2010 10:41:18 +0000 (11:41 +0100)]
Compare all type arguments for nested generic types.

13 years agoline ending
Marek Safar [Tue, 5 Oct 2010 08:15:29 +0000 (09:15 +0100)]
line ending

13 years agoFix the build on windows
Geoff Norton [Tue, 5 Oct 2010 19:58:09 +0000 (15:58 -0400)]
Fix the build on windows

13 years agoThe nested in type should not be inflated.
Rodrigo Kumpera [Tue, 5 Oct 2010 19:23:56 +0000 (16:23 -0300)]
The nested in type should not be inflated.

* class.c (mono_generic_class_get_class): Don't inflated
nested_in since it's not the expected behavior from managed
land. It's a safety issue as well since the outer type can
have more generic arguments.

* TypeTest.cs: Add regression test.

Fixes #643890

13 years ago[io-layer] Cope with pids > 16 bits
Michael Hutchinson [Tue, 5 Oct 2010 17:38:52 +0000 (13:38 -0400)]
[io-layer] Cope with pids > 16 bits

Fixes an issue in Process where "pseudo-handles" for processes with
pids > 16 bits would overflow and start getting treated as normal
handles. This would frequently segfault MonoDevelop on MacOS.

13 years agoIts possible that we're calling Process_free_internal on a pseudo-handle.
Geoff Norton [Tue, 5 Oct 2010 17:00:42 +0000 (13:00 -0400)]
Its possible that we're calling Process_free_internal on a pseudo-handle.

When we are not using SHM we use psuedo handles to return processes from pids,
however we dont guard against pseudo-handles in CloseProcess, which could lead to
calling unref on a fake handle.

13 years ago[xbuild] Update regex to not require EndProject in a sln file.
Ankit Jain [Tue, 5 Oct 2010 16:35:45 +0000 (22:05 +0530)]
[xbuild] Update regex to not require EndProject in a sln file.

In a solution file, a Project might not have a corresponding
EndProject. This seems to be supported by VS, so updating xbuild
to support that too. Updated the regex.

13 years agoImplement asm monitor/enter exit for amd64-sgen.
Rodrigo Kumpera [Tue, 5 Oct 2010 15:44:28 +0000 (12:44 -0300)]
Implement asm monitor/enter exit for amd64-sgen.

13 years agoImplement x86 support for monitor enter/exit fastpaths under sgen
Rodrigo Kumpera [Mon, 4 Oct 2010 01:06:39 +0000 (22:06 -0300)]
Implement x86 support for monitor enter/exit fastpaths under sgen

13 years agoEnable delegate .ctor optimization under sgen.
Rodrigo Kumpera [Thu, 30 Sep 2010 20:06:17 +0000 (17:06 -0300)]
Enable delegate .ctor optimization under sgen.

* method-to-ir.c (handle_delegate_ctor): Emit write barriers
under sgen.

* method-to-ir.c (mono_method_to_ir): Enable delegate .ctor
optimization under sgen.

13 years agoWhen finding SerializationMap for resolved type, use type as the key rather than...
Atsushi Eno [Tue, 5 Oct 2010 14:59:01 +0000 (23:59 +0900)]
When finding SerializationMap for resolved type, use type as the key rather than name.

Make the fixed WCF test show more specific failure details.

13 years agoDo not overwrite properly configured ServiceBehaviorElement.Name.
Atsushi Eno [Tue, 5 Oct 2010 09:56:27 +0000 (18:56 +0900)]
Do not overwrite properly configured ServiceBehaviorElement.Name.

13 years agoFix DataContractResolver.ResolveName() support in deserializer. Add roundtrip test.
Atsushi Eno [Tue, 5 Oct 2010 08:43:32 +0000 (17:43 +0900)]
Fix DataContractResolver.ResolveName() support in deserializer. Add roundtrip test.

13 years agoGet List<int> working with XamlXmlReader and XamlObjectWriter.
Atsushi Eno [Tue, 5 Oct 2010 06:37:00 +0000 (15:37 +0900)]
Get List<int> working with XamlXmlReader and XamlObjectWriter.

XamlObjectWriter needs stack of content object list so that List can store items correctly with nested state.
XamlXmlReader now outputs Items, and to handle it I needed special reader states.

13 years ago[asp.net] Fix for bug #643298. A typo prevented the EnableViewStateMac from being...
Marek Habersack [Tue, 5 Oct 2010 06:03:13 +0000 (08:03 +0200)]
[asp.net] Fix for bug #643298. A typo prevented the EnableViewStateMac from being recognized in the Page directive.

13 years agoMake cards_in_range more accurate
Rodrigo Kumpera [Tue, 5 Oct 2010 02:15:22 +0000 (23:15 -0300)]
Make cards_in_range more accurate

13 years agoFix a bunch of issues with cardtable code.
Rodrigo Kumpera [Tue, 5 Oct 2010 02:02:59 +0000 (23:02 -0300)]
Fix a bunch of issues with cardtable code.

* sgen-cardtable.c (sgen_card_table_is_range_marked): Use
card_in_range here since this is used for objects that can
start at the middle of a card.

* sgen-cardtable.c (move_cards_to_shadow_table): Properly
copy the tail bytes of an object that spam around the cardtable.
Don't copy more bytes than required.

* sgen-cardtable.c (sgen_cardtable_scan_object): Add extra_idx
variable that tracks the card offset that we're scanning. This
is required when we wrap around.

* sgen-cardtable.c (sgen_cardtable_scan_object): Properly reset
card_base when at wrap around.

13 years agoKill some dead code and fix a function name
Rodrigo Kumpera [Tue, 5 Oct 2010 01:13:17 +0000 (22:13 -0300)]
Kill some dead code and fix a function name

13 years agoProperly check the ImplMap table.
Rodrigo Kumpera [Tue, 5 Oct 2010 00:20:07 +0000 (21:20 -0300)]
Properly check the ImplMap table.

* loader.c (mono_lookup_pinvoke_call): Don't assert on bad
row indexes.

* metadata-verify.c (verify_implmap_table): Fix the bounds
check for the module table.

Fix #563956

13 years agoFix again.
Martin Baulig [Tue, 5 Oct 2010 00:35:35 +0000 (02:35 +0200)]
Fix again.

13 years agoFix my previous commit.
Martin Baulig [Mon, 4 Oct 2010 23:04:43 +0000 (01:04 +0200)]
Fix my previous commit.

13 years agoDisable System.Configuration on the mobile profiles.
Martin Baulig [Mon, 4 Oct 2010 23:01:11 +0000 (01:01 +0200)]
Disable System.Configuration on the mobile profiles.

13 years agoMap SO_EXCLUSIVEADDRUSE to !SO_REUSEADDR
Gonzalo Paniagua Javier [Mon, 4 Oct 2010 20:15:24 +0000 (16:15 -0400)]
Map SO_EXCLUSIVEADDRUSE to !SO_REUSEADDR

This will make windows app that use that property work on *nix.
Fixes bug #643475.

13 years agoFix #642130.
Rodrigo Kumpera [Mon, 4 Oct 2010 18:54:10 +0000 (15:54 -0300)]
Fix #642130.

* MonoGenericClass.cs (.ctor): Only register with the runtime
when the underlying TB is not finished.

* MonoGenericClassTest.cs: Add regression test.

* TypeTest.cs: Fix a test that had a broken assumption.

Fix #642130

13 years agoFix (likely copy-paste) typo on FormsAuthPasswordFormat
Sebastien Pouliot [Mon, 4 Oct 2010 15:38:27 +0000 (11:38 -0400)]
Fix (likely copy-paste) typo on FormsAuthPasswordFormat

* System.Web.Security/FormsAuthentication.cs: Fix typo (MD5->SHA1).
I suspect the later is not used very much by mono users

* Test/System.Web.Security/FormsAuthenticationTest.cs: Small change to
make sure the hash name is not case sensitive

13 years agoImplement DataContractResolver support. At least TryResolveType in serializer should...
Atsushi Eno [Mon, 4 Oct 2010 15:08:15 +0000 (00:08 +0900)]
Implement DataContractResolver support. At least TryResolveType in serializer should work.

13 years agoAdjust namespace prefix indexes as it is repeatedly used. (It could result in duplica...
Atsushi Eno [Mon, 4 Oct 2010 15:05:37 +0000 (00:05 +0900)]
Adjust namespace prefix indexes as it is repeatedly used. (It could result in duplicate prefix.)

13 years agoMerge branch 'bugfix'
Marek Habersack [Mon, 4 Oct 2010 13:47:32 +0000 (15:47 +0200)]
Merge branch 'bugfix'

* bugfix:
  [asp.net] Part of fix for bug #579837. AuthorizationRule.SerializeElement will not process unmodified elements.
  [configuration] Part of fix for bug #579837. CommaDelimitedStringCollection must properly note that it was modified.

13 years ago[asp.net] Part of fix for bug #579837. AuthorizationRule.SerializeElement will not...
Marek Habersack [Mon, 4 Oct 2010 13:43:54 +0000 (15:43 +0200)]
[asp.net] Part of fix for bug #579837. AuthorizationRule.SerializeElement will not process unmodified elements.

* AuthorizationRule.cs: if the configuration save is not Full, SerializeElement checks whether the rule being
  serialized is modified. If it isn't, validation and serialization are not performed.
* AuthorizationRuleCollection.cs: there is no element name for the collection.

13 years ago[configuration] Part of fix for bug #579837. CommaDelimitedStringCollection must...
Marek Habersack [Mon, 4 Oct 2010 13:39:29 +0000 (15:39 +0200)]
[configuration] Part of fix for bug #579837. CommaDelimitedStringCollection must properly note that it was modified.

When one manipulates the collection as an instance of StringCollection, the 'modified' field will not
be set (Add, Remove etc. from the underlying StringCollection type will be used). To work around it
a check has to be performed in IsModified whether the contents of the collection changed. It is done
by comparing string hash codes of the original vs current string.
CommaDelimitedStringCollectionConverter forces string hash code update on the new collection, so that IsModified
works correctly on collections converted from comma-delimited strings.

13 years ago2010-10-01 Veerapuram Varadhan <v.varadhan@gmail.com>
vvaradhan [Mon, 4 Oct 2010 11:14:44 +0000 (16:44 +0530)]
2010-10-01  Veerapuram Varadhan  <v.varadhan@gmail.com>

** Fixes #582732 - Patch by Jeffrey Alvarez <kuritsu@gmail.com>
* DataColumn.cs (Clone): Deep copy the ExtendedProperties
collection.
* XmlSchemaDataImporter.cs: Support import of extended
properties.
* XmlSchemaWriter.cs: Fix exception by writing the extended
properties before simpletype element.

13 years agoMerge branch 'master' of github.com:mono/mono into masterwork
vvaradhan [Mon, 4 Oct 2010 10:02:49 +0000 (15:32 +0530)]
Merge branch 'master' of github.com:mono/mono into masterwork

13 years ago2010-10-01 Veerapuram Varadhan <vvaradhan@novell.com>
vvaradhan [Mon, 4 Oct 2010 09:57:52 +0000 (15:27 +0530)]
2010-10-01  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #561667
* SqlCommand.cs (Dispose): While Disposing, set connection's
datareader to null so the connection can be reused with another datareader.

13 years agoHandle Initialization correctly.
Atsushi Eno [Mon, 4 Oct 2010 09:30:11 +0000 (18:30 +0900)]
Handle Initialization correctly.

13 years agoSet have_response
Gonzalo Paniagua Javier [Mon, 4 Oct 2010 06:40:25 +0000 (02:40 -0400)]
Set have_response

Set have_response to true when there's a protocol error or a previous
exception for POST/PUT.
Patch by Bassam Tabbara.

13 years agoCheck no longer needed.
Gonzalo Paniagua Javier [Mon, 4 Oct 2010 05:04:56 +0000 (01:04 -0400)]
Check no longer needed.

The is_* function takes care of this check now.

13 years agoGet constructor arguments (x:Arguments) working on XamlXmlWriter and XamlObjectReader.
Atsushi Eno [Mon, 4 Oct 2010 06:28:34 +0000 (15:28 +0900)]
Get constructor arguments (x:Arguments) working on XamlXmlWriter and XamlObjectReader.

13 years agoFix line endings.
Gonzalo Paniagua Javier [Mon, 4 Oct 2010 04:54:47 +0000 (00:54 -0400)]
Fix line endings.

13 years agoExecute some specialized tests using the normal test infrastructure.
Zoltan Varga [Mon, 4 Oct 2010 00:32:06 +0000 (02:32 +0200)]
Execute some specialized tests using the normal test infrastructure.

13 years agoFix the handling of varargs in g_set_error ().
Zoltan Varga [Sun, 3 Oct 2010 23:59:16 +0000 (01:59 +0200)]
Fix the handling of varargs in g_set_error ().

13 years agoFixed conding style and added license/copyright header to new files
Pablo Ruiz Garcia [Sun, 3 Oct 2010 18:19:49 +0000 (02:19 +0800)]
Fixed conding style and added license/copyright header to new files

13 years ago[FIX] Fixes https://bugzilla.novell.com/show_bug.cgi?id=643368 (Transaction.Transacti...
Pablo Ruiz Garcia [Sun, 3 Oct 2010 17:41:55 +0000 (01:41 +0800)]
[FIX] Fixes https://bugzilla.novell.com/show_bug.cgi?id=643368 (Transaction.TransactionCompleted not firing

13 years ago[API] Implemented System.Transactions (tx preparation) timeout handling
Pablo Ruiz Garcia [Sun, 3 Oct 2010 16:57:19 +0000 (00:57 +0800)]
[API] Implemented System.Transactions (tx preparation) timeout handling

13 years agoCheck class names in a better way
Gonzalo Paniagua Javier [Sun, 3 Oct 2010 17:26:13 +0000 (13:26 -0400)]
Check class names in a better way

Verify image, nesting status, namespace and class for the types
used in threadpool.c

13 years agoRetval is not a reserved keyword, fixes 643345
Miguel de Icaza [Sun, 3 Oct 2010 16:30:10 +0000 (12:30 -0400)]
Retval is not a reserved keyword, fixes 643345

13 years agoremove extraneous reference to sys.configuration.
Atsushi Eno [Sun, 3 Oct 2010 15:55:11 +0000 (00:55 +0900)]
remove extraneous reference to sys.configuration.

13 years agoA couple of fixes around XamlSchemaContext.GetXamlType(XamlTypeName) and get XamlXmlR...
Atsushi Eno [Sun, 3 Oct 2010 15:44:53 +0000 (00:44 +0900)]
A couple of fixes around XamlSchemaContext.GetXamlType(XamlTypeName) and get XamlXmlReader pass with unknown type names.

13 years agoThe EndPoint cannot be null
Gonzalo Paniagua Javier [Sat, 2 Oct 2010 05:40:10 +0000 (01:40 -0400)]
The EndPoint cannot be null

The EndPoint argument in Begin/EndSendTo cannot be null.

13 years agoCreate only 1 callback instance for read/write
Gonzalo Paniagua Javier [Fri, 1 Oct 2010 03:03:08 +0000 (23:03 -0400)]
Create only 1 callback instance for read/write

Read/Write were creating one callback instance per call. Now we keep
the same delegate around for all the calls.

13 years agoHandle error in BeginAcceptReceive
Gonzalo Paniagua Javier [Fri, 1 Oct 2010 02:55:56 +0000 (22:55 -0400)]
Handle error in BeginAcceptReceive

We were ignore possible errors when reading after a socket has been
accepted.

13 years agoSchedule the user callback from unmanaged code
Gonzalo Paniagua Javier [Fri, 1 Oct 2010 02:53:50 +0000 (22:53 -0400)]
Schedule the user callback from unmanaged code

When possible, schedule the user callback from unmanaged code. We pass
it from the IO pool to the regular pool after our internal callback is
finished.

13 years agoCheck the debugger_thread_exited condition in a loop to guard against spurious wakeup...
Zoltan Varga [Fri, 1 Oct 2010 21:45:46 +0000 (23:45 +0200)]
Check the debugger_thread_exited condition in a loop to guard against spurious wakeups. Fixes #642780.

13 years agoref/out arguments are always of static type
Marek Safar [Fri, 1 Oct 2010 18:38:06 +0000 (19:38 +0100)]
ref/out arguments are always of static type

13 years agoKeep imported indexer parameters (they can contain non-inflated type parameters)
Marek Safar [Fri, 1 Oct 2010 17:28:32 +0000 (18:28 +0100)]
Keep imported indexer parameters (they can contain non-inflated type parameters)

13 years agoImplement compound assignment over null value
Marek Safar [Fri, 1 Oct 2010 16:48:33 +0000 (17:48 +0100)]
Implement compound assignment over null value

13 years agoWork around Android's pthread/kernel_id/fork bug to fix mono multithreading and GC_st...
Koushik Dutta [Thu, 30 Sep 2010 04:15:42 +0000 (21:15 -0700)]
Work around Android's pthread/kernel_id/fork bug to fix mono multithreading and GC_stop_world in processes that have been forked.

13 years agoFix a crash when using the embedding api
Geoff Norton [Fri, 1 Oct 2010 15:58:17 +0000 (11:58 -0400)]
Fix a crash when using the embedding api

error_msg is null when passed into this function from a few places, so
lets not do a null deref here.

13 years agoFix code buffer reallocation check for OP_SWITCH on arm.
Zoltan Varga [Fri, 1 Oct 2010 14:27:51 +0000 (16:27 +0200)]
Fix code buffer reallocation check for OP_SWITCH on arm.

13 years ago2010-09-29 Veerapuram Varadhan <vvaradhan@novell.com>
vvaradhan [Fri, 1 Oct 2010 13:47:48 +0000 (19:17 +0530)]
2010-09-29  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes failed test for smallmoney
* Tds70.cs (WriteParameterInfo): Round money values to 4
decimals, for smallmoney too.

13 years agoNew test
Marek Safar [Fri, 1 Oct 2010 13:23:22 +0000 (14:23 +0100)]
New test

13 years agoDynamic compound assignment breaks standard C# result conversion rules
Marek Safar [Fri, 1 Oct 2010 13:20:39 +0000 (14:20 +0100)]
Dynamic compound assignment breaks standard C# result conversion rules

13 years agovoid is never of type object
Marek Safar [Thu, 30 Sep 2010 14:00:44 +0000 (15:00 +0100)]
void is never of type object

13 years agoNull constant cannot be used for ref/out variables
Marek Safar [Thu, 30 Sep 2010 12:01:12 +0000 (13:01 +0100)]
Null constant cannot be used for ref/out variables

13 years agoInitialize both disposable and local variable for dynamic expressions.
Marek Safar [Thu, 30 Sep 2010 12:00:00 +0000 (13:00 +0100)]
Initialize both disposable and local variable for dynamic expressions.

13 years agorename source file.
Atsushi Eno [Fri, 1 Oct 2010 06:33:11 +0000 (15:33 +0900)]
rename source file.

13 years agoRemove old code.
Atsushi Eno [Fri, 1 Oct 2010 06:30:07 +0000 (15:30 +0900)]
Remove old code.

13 years agoFix a deadlock introduced by 5c2e3bf7 by using a separate low level lock to procect...
Zoltan Varga [Fri, 1 Oct 2010 02:47:54 +0000 (04:47 +0200)]
Fix a deadlock introduced by 5c2e3bf7 by using a separate low level lock to procect access to the file_share_hash hash table. Fixes #642985.

13 years ago[wcf] serialization member namespace was wrong when root namesp ace is given. Fixed...
Atsushi Eno [Fri, 1 Oct 2010 02:32:19 +0000 (11:32 +0900)]
[wcf] serialization member namespace was wrong when root namesp ace is given. Fixed possible infinite loop during DefaultTypeMap initialization.

MS Basic/Contract/Data/POCO sample got working fine.

13 years agoRemove extra call to HttpResponse.Flush() which would crash.
Atsushi Eno [Fri, 1 Oct 2010 00:11:26 +0000 (09:11 +0900)]
Remove extra call to HttpResponse.Flush() which would crash.

13 years ago[asp.net] Handle closed responses gracefully.
Marek Habersack [Thu, 30 Sep 2010 21:45:59 +0000 (23:45 +0200)]
[asp.net] Handle closed responses gracefully.

If ReleaseResources or Flush (true) were called, a flag is set that causes
any subsequent Flush () calls to fail with an exception.
At the same time, ReleaseResources does not destroy the output stream completely -
it has to remain around to match .NET behavior.

13 years agoRevert "[asp.net] Make sure output_stream is not null before using it"
Marek Habersack [Thu, 30 Sep 2010 21:19:22 +0000 (23:19 +0200)]
Revert "[asp.net] Make sure output_stream is not null before using it"

This reverts commit a4ed8be6973dcfede7131f080340220b3ce4830b since what we
do in ReleaseResources is not what .NET does - a better fix will follow.

13 years ago[Json] Fix uint type conversion when reading, should be mapped to long, not int
Andreia Gaita [Thu, 30 Sep 2010 19:29:06 +0000 (20:29 +0100)]
[Json] Fix uint type conversion when reading, should be mapped to long, not int

13 years agoAvoid a few warnings
Gonzalo Paniagua Javier [Thu, 30 Sep 2010 19:30:49 +0000 (15:30 -0400)]
Avoid a few warnings

13 years agoAdd DataContractResolver stuff (dummy), and fix Id reference from inside the referenc...
Atsushi Eno [Thu, 30 Sep 2010 11:56:00 +0000 (20:56 +0900)]
Add DataContractResolver stuff (dummy), and fix Id reference from inside the referenced object.

13 years agoMore awkward nullable binary expressions which are not lifted even though they should be
Marek Safar [Thu, 30 Sep 2010 09:17:54 +0000 (10:17 +0100)]
More awkward nullable binary expressions which are not lifted even though they should be

13 years agoImplement binary user operators over nullable not lifted expressions.
Marek Safar [Wed, 29 Sep 2010 12:18:57 +0000 (13:18 +0100)]
Implement binary user operators over nullable not lifted expressions.

13 years agoDynamic compound assignment can be used as an expression as well.
Marek Safar [Wed, 29 Sep 2010 11:12:35 +0000 (12:12 +0100)]
Dynamic compound assignment can be used as an expression as well.