Jb Evain [Sun, 21 Nov 2010 21:38:10 +0000 (22:38 +0100)]
internalize private cecil
Jb Evain [Sun, 21 Nov 2010 21:29:28 +0000 (22:29 +0100)]
Fix makefile
Jb Evain [Sun, 21 Nov 2010 21:16:10 +0000 (22:16 +0100)]
Preserve mono-cil-strip feature by embedding the old Cecil
Jb Evain [Sun, 21 Nov 2010 12:39:57 +0000 (13:39 +0100)]
update cecil to upstream
Jb Evain [Fri, 5 Nov 2010 20:59:16 +0000 (21:59 +0100)]
Update Mono.Cecil from upstream
Jb Evain [Fri, 22 Oct 2010 14:38:26 +0000 (16:38 +0200)]
simplify code
Jb Evain [Fri, 22 Oct 2010 14:38:11 +0000 (16:38 +0200)]
update cecil.pc
Jb Evain [Fri, 22 Oct 2010 14:37:55 +0000 (16:37 +0200)]
delete unused file
Jb Evain [Wed, 20 Oct 2010 16:57:50 +0000 (18:57 +0200)]
Polish monodocer port to cecil-light
Jb Evain [Wed, 20 Oct 2010 16:57:33 +0000 (18:57 +0200)]
Fix tuner build
Jb Evain [Wed, 20 Oct 2010 16:00:40 +0000 (18:00 +0200)]
Pass the appropriate defines for the net_4_0 profile
Jb Evain [Wed, 20 Oct 2010 16:00:04 +0000 (18:00 +0200)]
Port Mono.Cecil.Mdb to cecil-light
Jb Evain [Wed, 20 Oct 2010 15:28:13 +0000 (17:28 +0200)]
Fix navigation of all types
Jb Evain [Wed, 20 Oct 2010 15:05:15 +0000 (17:05 +0200)]
Fix resolving of events and properties
Jb Evain [Wed, 20 Oct 2010 15:04:59 +0000 (17:04 +0200)]
Fix MONO_PATH
Jb Evain [Fri, 8 Oct 2010 14:55:31 +0000 (16:55 +0200)]
Port mdoc to cecil-light
Jb Evain [Wed, 6 Oct 2010 13:37:49 +0000 (15:37 +0200)]
Port Mono.CodeContract to cecil-light
Jb Evain [Wed, 6 Oct 2010 12:38:31 +0000 (14:38 +0200)]
Port corcompare to cecil-light
Jb Evain [Tue, 5 Oct 2010 15:58:15 +0000 (17:58 +0200)]
Port Mono.Debugger.Soft to cecil-light
Jb Evain [Tue, 5 Oct 2010 15:45:05 +0000 (17:45 +0200)]
Port pdb2mdb to cecil-light
Jb Evain [Tue, 5 Oct 2010 15:11:42 +0000 (17:11 +0200)]
Port permview to cecil-light
Jb Evain [Tue, 5 Oct 2010 14:53:34 +0000 (16:53 +0200)]
Update the tuner to cecil-light
Jb Evain [Tue, 5 Oct 2010 14:53:15 +0000 (16:53 +0200)]
Update the linker to cecil-light
Jb Evain [Tue, 5 Oct 2010 14:48:33 +0000 (16:48 +0200)]
Add Cecil 0.9.4
Atsushi Eno [Tue, 5 Oct 2010 09:56:27 +0000 (18:56 +0900)]
Do not overwrite properly configured ServiceBehaviorElement.Name.
Atsushi Eno [Tue, 5 Oct 2010 08:43:32 +0000 (17:43 +0900)]
Fix DataContractResolver.ResolveName() support in deserializer. Add roundtrip test.
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.
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.
Rodrigo Kumpera [Tue, 5 Oct 2010 02:15:22 +0000 (23:15 -0300)]
Make cards_in_range more accurate
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.
Rodrigo Kumpera [Tue, 5 Oct 2010 01:13:17 +0000 (22:13 -0300)]
Kill some dead code and fix a function name
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
Martin Baulig [Tue, 5 Oct 2010 00:35:35 +0000 (02:35 +0200)]
Fix again.
Martin Baulig [Mon, 4 Oct 2010 23:04:43 +0000 (01:04 +0200)]
Fix my previous commit.
Martin Baulig [Mon, 4 Oct 2010 23:01:11 +0000 (01:01 +0200)]
Disable System.Configuration on the mobile profiles.
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.
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
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
Atsushi Eno [Mon, 4 Oct 2010 15:08:15 +0000 (00:08 +0900)]
Implement DataContractResolver support. At least TryResolveType in serializer should work.
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.)
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.
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.
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.
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.
vvaradhan [Mon, 4 Oct 2010 10:02:49 +0000 (15:32 +0530)]
Merge branch 'master' of github.com:mono/mono into masterwork
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.
Atsushi Eno [Mon, 4 Oct 2010 09:30:11 +0000 (18:30 +0900)]
Handle Initialization correctly.
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.
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.
Atsushi Eno [Mon, 4 Oct 2010 06:28:34 +0000 (15:28 +0900)]
Get constructor arguments (x:Arguments) working on XamlXmlWriter and XamlObjectReader.
Gonzalo Paniagua Javier [Mon, 4 Oct 2010 04:54:47 +0000 (00:54 -0400)]
Fix line endings.
Zoltan Varga [Mon, 4 Oct 2010 00:32:06 +0000 (02:32 +0200)]
Execute some specialized tests using the normal test infrastructure.
Zoltan Varga [Sun, 3 Oct 2010 23:59:16 +0000 (01:59 +0200)]
Fix the handling of varargs in g_set_error ().
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
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
Pablo Ruiz Garcia [Sun, 3 Oct 2010 16:57:19 +0000 (00:57 +0800)]
[API] Implemented System.Transactions (tx preparation) timeout handling
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
Miguel de Icaza [Sun, 3 Oct 2010 16:30:10 +0000 (12:30 -0400)]
Retval is not a reserved keyword, fixes 643345
Atsushi Eno [Sun, 3 Oct 2010 15:55:11 +0000 (00:55 +0900)]
remove extraneous reference to sys.configuration.
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.
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.
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.
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.
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.
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.
Marek Safar [Fri, 1 Oct 2010 18:38:06 +0000 (19:38 +0100)]
ref/out arguments are always of static type
Marek Safar [Fri, 1 Oct 2010 17:28:32 +0000 (18:28 +0100)]
Keep imported indexer parameters (they can contain non-inflated type parameters)
Marek Safar [Fri, 1 Oct 2010 16:48:33 +0000 (17:48 +0100)]
Implement compound assignment over null value
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.
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.
Zoltan Varga [Fri, 1 Oct 2010 14:27:51 +0000 (16:27 +0200)]
Fix code buffer reallocation check for OP_SWITCH on arm.
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.
Marek Safar [Fri, 1 Oct 2010 13:23:22 +0000 (14:23 +0100)]
New test
Marek Safar [Fri, 1 Oct 2010 13:20:39 +0000 (14:20 +0100)]
Dynamic compound assignment breaks standard C# result conversion rules
Marek Safar [Thu, 30 Sep 2010 14:00:44 +0000 (15:00 +0100)]
void is never of type object
Marek Safar [Thu, 30 Sep 2010 12:01:12 +0000 (13:01 +0100)]
Null constant cannot be used for ref/out variables
Marek Safar [Thu, 30 Sep 2010 12:00:00 +0000 (13:00 +0100)]
Initialize both disposable and local variable for dynamic expressions.
Atsushi Eno [Fri, 1 Oct 2010 06:33:11 +0000 (15:33 +0900)]
rename source file.
Atsushi Eno [Fri, 1 Oct 2010 06:30:07 +0000 (15:30 +0900)]
Remove old code.
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.
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.
Atsushi Eno [Fri, 1 Oct 2010 00:11:26 +0000 (09:11 +0900)]
Remove extra call to HttpResponse.Flush() which would crash.
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.
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.
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
Gonzalo Paniagua Javier [Thu, 30 Sep 2010 19:30:49 +0000 (15:30 -0400)]
Avoid a few warnings
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.
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
Marek Safar [Wed, 29 Sep 2010 12:18:57 +0000 (13:18 +0100)]
Implement binary user operators over nullable not lifted expressions.
Marek Safar [Wed, 29 Sep 2010 11:12:35 +0000 (12:12 +0100)]
Dynamic compound assignment can be used as an expression as well.
Gonzalo Paniagua Javier [Thu, 30 Sep 2010 05:41:22 +0000 (01:41 -0400)]
Invoke the callback in separate threads
The callbacks need to be invoked in different threads to avoid clogging
the IO pool.
Fixes bug #639656.
Zoltan Varga [Thu, 30 Sep 2010 02:44:31 +0000 (04:44 +0200)]
Disable the freeing of monitors again, it still crashes with sgen when running tests/async_read.exe.
Rodrigo Kumpera [Thu, 30 Sep 2010 00:13:51 +0000 (21:13 -0300)]
Fix AOT support for delegates
Sebastien Pouliot [Wed, 29 Sep 2010 18:29:40 +0000 (14:29 -0400)]
Fix buffer checks on Socket.[Receive|Send]Async
* System.Net.Sockets/Socket_2_1.cs: Fix, by explicitely throwing an NRE,
the checks in [Receive|Send]Async methods - otherwise an exception would
occur later, on another thread and close the socket (leading to other,
unexpected, exceptions)
* Test/System.Net.Sockets/SocketTest.cs: Add parameter validation test
cases for both ReceiveAsync and SendAsync
Sebastien Pouliot [Wed, 29 Sep 2010 18:27:36 +0000 (14:27 -0400)]
[moon] Move policy restriction / elevated trust check outside of loop
* System.Net.Sockets/SocketAsyncEventArgs.cs: Move policy restriction
and elevated trust check outside of loop since its value won't change
based on the ipaddress
Sebastien Pouliot [Tue, 28 Sep 2010 14:09:57 +0000 (10:09 -0400)]
Fix "
4762b18c: Fix the moonlight build"
* System.Net.Sockets/Socket_2_1.cs: Do not #id-def out [Receive|Send]
Generic from moonlight build
Rodrigo Kumpera [Wed, 29 Sep 2010 15:33:52 +0000 (12:33 -0300)]
Fix arm and ppc builds
Gonzalo Paniagua Javier [Wed, 29 Sep 2010 16:24:48 +0000 (12:24 -0400)]
Handle error creating xdb.il
If creating the xdb.il file fails, disable the mono support for
debugging in gdb. Managed symbol names won't be displayed in stack
traces.
Fixes bug #642625.
Rodrigo Kumpera [Wed, 29 Sep 2010 15:22:07 +0000 (12:22 -0300)]
Remove "NotWorking" from a test that now works.
Rodrigo Kumpera [Wed, 29 Sep 2010 15:20:31 +0000 (12:20 -0300)]
ndle static methods with bound first arg.
* marshal.c (mono_marshal_get_delegate_invoke): Properly
handle a static method that has it's first argument bound.
* marshal.c (mono_marshal_free_inflated_wrappers): Free
from the new hashtable too.
* image.c (mono_image_close_except_pools): Free the new
hash table.
* metadata-internals.h (MonoImage): Add new hashtable
to store the new kind of invoke wrappers.