Compare commits

..
882 Commits
Author SHA1 Message Date
Chris Toshok a17f894b66 merge up to r150220 from branch 2-6
svn path=/branches/moon/moon-2-0/mono/; revision=150389
2010-01-28 19:05:59 +00:00
Chris Toshok 7c591aef69 merge up to r150220 from branch 2-6
svn path=/branches/moon/moon-2-0/mcs/; revision=150388
2010-01-28 19:03:36 +00:00
Sebastien Pouliot 70ffc535d0 2010-01-26 Sebastien Pouliot <[email protected]>
* DataContractJsonSerializer_2_1.cs: Don't hide [Field|Method]
	AccessException inside a SerializationException but in a 
	SecurityException.
	[Backport r150219]


svn path=/branches/mono-2-6/mcs/; revision=150220
2010-01-26 18:33:30 +00:00
Sebastien Pouliot 875517d8cf backport r150214
svn path=/branches/mono-2-6/mcs/; revision=150215
2010-01-26 16:27:26 +00:00
Marek Safar 7bbd05b8d0 2010-01-26 Marek Safar <[email protected]>
A fix for bug #573329
	* eval.cs: Don't disable error reporting completely on silent mode.


svn path=/branches/mono-2-6/mcs/; revision=150204
2010-01-26 09:55:57 +00:00
Sebastien Pouliot be51c5ab18 2010-01-25 Sebastien Pouliot <[email protected]>
* net_2_1_raw_System.ServiceModel.Web.dll.sources: Use custom
	version of DataContractJsonSerializer for Moonlight
	[Backport r150153]


svn path=/branches/mono-2-6/mcs/; revision=150154
2010-01-25 21:03:12 +00:00
Sebastien Pouliot d55de3bf85 2010-01-25 Sebastien Pouliot <[email protected]>
* DataContractJsonSerializerTest.cs: Add non-working test cases
	for null-string, known types and handling floating point special
	values
	[Backport r150141]


svn path=/branches/mono-2-6/mcs/; revision=150152
2010-01-25 21:01:08 +00:00
Sebastien Pouliot 5dd48513d4 2010-01-25 Sebastien Pouliot <[email protected]>
* DataContractJsonSerializer_2_1.cs: New. Simpler version for 
	Moonlight since it does not inherit from the same base type nor
	does it overrides any base methods.
	[Backport r150149]


svn path=/branches/mono-2-6/mcs/; revision=150150
2010-01-25 20:58:39 +00:00
Sebastien Pouliot 1169b69aac 2010-01-25 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Fix attributes for Moonlight
	[Backport r150147]


svn path=/branches/mono-2-6/mcs/; revision=150148
2010-01-25 20:56:45 +00:00
Sebastien Pouliot 97c6f8c4c8 In .:
2010-01-25  Sebastien Pouliot  <[email protected]>

	* System.Net.dll.sources: Add UdpAnySourceMulticastClient and
	UdpSingleSourceMulticastClient stubs (with some validations)
	for SL4 (required to compile tests)
	[Backport r150127]

In System.Net:
2010-01-25  Sebastien Pouliot  <[email protected]>

	* UdpAnySourceMulticastClient.cs: New. Stub for SL4
	* UdpSingleSourceMulticastClient.cs: New. Stub for SL4
	[Backport r150127]


svn path=/branches/mono-2-6/mcs/; revision=150128
2010-01-25 13:22:36 +00:00
Zoltan Varga 3b16547b98 2010-01-25 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Array_SetValueImpl): Handle nullable types correctly.
	Fixes #573322.

svn path=/branches/mono-2-6/mono/; revision=150125
2010-01-25 12:47:05 +00:00
Zoltan Varga 25ca9fdef7 2010-01-06 Atsushi Enomoto <[email protected]>
* culture-info-table.h : regenerated.

svn path=/branches/mono-2-6/mono/; revision=150118
2010-01-25 12:02:20 +00:00
Zoltan Varga 1cee1671e0 2010-01-06 Atsushi Enomoto <[email protected]>
* Driver.cs : support FirstDayOfWeek. Fixed bug #567944.
	  Patch by Jose Antonio Sanchez Lazaro.

svn path=/branches/mono-2-6/mono/; revision=150117
2010-01-25 12:02:02 +00:00
Atsushi Eno a8db1a887e backport r150102.
svn path=/branches/mono-2-6/mcs/; revision=150106
2010-01-25 05:36:55 +00:00
Atsushi Eno 910a3be886 backport r150100.
svn path=/branches/mono-2-6/mcs/; revision=150101
2010-01-25 03:40:20 +00:00
Atsushi Eno 1a77eba231 backport r150041.
svn path=/branches/mono-2-6/mcs/; revision=150042
2010-01-22 06:20:41 +00:00
Sebastien Pouliot 86a0bbefd9 2010-01-21 Sebastien Pouliot <[email protected]>
* SocketAsyncEventArgs.cs: Apply Gendarme's ProtectCallToEventDelegatesRule
	[Backport r150033]


svn path=/branches/mono-2-6/mcs/; revision=150034
2010-01-22 01:51:26 +00:00
Carlos Alberto Cortez 0e1ca66be7 2010-01-21 Carlos Alberto Cortez <[email protected]>
* IPEndPoint.cs: When throwing an ArgumentException in Create()
	because of a mismatch in the address family, use a more informative
	message. Patch by Juho Vähä-Herttu<[email protected]>.
	Fixes #505105.


svn path=/branches/mono-2-6/mcs/; revision=150032
2010-01-22 01:16:21 +00:00
Carlos Alberto Cortez 6034c2d32b 2010-01-21 Carlos Alberto Cortez <[email protected]>
* ComboBox.cs: When the normal drop down window is closed, make sure
	that the auto complete list -if any- is closed as well, instead of
	stay open without need.


svn path=/branches/mono-2-6/mcs/; revision=150029
2010-01-21 23:25:18 +00:00
Carlos Alberto Cortez 749f368ea8 * TextBox.cs: When showing the autocomplete listbox, make sure it's on
top, by calling the raw XplatUI.SetZOrder for it, since we can't
 	properly call BringToFront on it as it is parentless. This fixes an
 	issue when using this feature with ComboBox's own parentless listbox.
 	Fixes the remaining bits of #489339.

2010-01-21  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-6/mcs/; revision=150027
2010-01-21 22:50:43 +00:00
Carlos Alberto Cortez 026da78b76 * XplatUI.cs:
* XplatUIDriver:
	* XplatUICarbon:
 	* XplatUIWin32:
 	* XplatUIX11.cs: 
 	* XplatUIStructs: Implement support for different kind of audible
 	alerts in Windows, and update the requiered classes.
 	* MessageBox.cs: 
 	* TextBoxBase.cs: Update calls to XplatUI.AudibleAlert.
 	Fixes #473725.

2010-01-21  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-6/mcs/; revision=150024
2010-01-21 22:22:00 +00:00
Carlos Alberto Cortez c512240f2a * ComboBox.cs: When use manually setting DropDownHeight, ignore the
MaxDropDownHeight property - also rename our field 'count' to
	'visible_items_count' to avoid confusion as much as possible.
	Fixes an issue with several items, showing an incorrect layout.

2010-01-21  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-6/mcs/; revision=150021
2010-01-21 22:06:49 +00:00
Carlos Alberto Cortez 2f49fef718 2010-01-21 Carlos Alberto Cortez <[email protected]>
* RichTextBoxTest.cs: New test for the Modified property.


svn path=/branches/mono-2-6/mcs/; revision=150019
2010-01-21 21:50:19 +00:00
Carlos Alberto Cortez a517a0c465 2010-01-21 Carlos Alberto Cortez <[email protected]>
* RichTextBox.cs: SelectedText should set Modified to true. Observe
	that this is happening just here, not for the Text property, and
	neither for the TextBoxBase impl.
	Fixes #569950.


svn path=/branches/mono-2-6/mcs/; revision=150017
2010-01-21 21:47:49 +00:00
Zoltan Varga bd0b130116 2010-01-21 Zoltan Varga <[email protected]>
* exceptions-amd64.c (mono_arch_notify_pending_exc): Avoid a crash if the
	thread has not fully started yet.

svn path=/branches/mono-2-6/mono/; revision=150014
2010-01-21 21:28:09 +00:00
Rodrigo Kumpera a1bda8ea92 In metadata:
* reflection.c (typebuilder_setup_fields): Pretend field setup already
	happened before starting to encode the actual fields. This avoid ciclic
	dependencies and eventual crashes.

	Fixes #572660.

	Backport of r150008.

2010-01-21  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=150011
2010-01-21 20:22:40 +00:00
Sebastien Pouliot 556c641fbb In Test/System.Net:
2010-01-21  Sebastien Pouliot  <[email protected]>

	* CookieContainerTest.cs: Additional test cases from Tom Philpot
	[Backport r149976 + NET_1_1 fixes]

In System.Net:
2010-01-21  Sebastien Pouliot  <[email protected]>

	* CookieContainer.cs: Fix to cloning and expiration. Patch
	by Tom Philpot <[email protected]>
	[Backport r149976 + NET_1_1 fixes]


svn path=/branches/mono-2-6/mcs/; revision=150006
2010-01-21 18:57:26 +00:00
Zoltan Varga 6a31cfc00c 2010-01-21 Zoltan Varga <[email protected]>
* aot-compiler.c (can_marshal_struct): Allow marshalling enums.

svn path=/branches/mono-2-6/mono/; revision=149992
2010-01-21 16:43:50 +00:00
Gonzalo Paniagua Javier 8ddf3be981 2010-01-21 Gonzalo Paniagua Javier <[email protected]>
* SmtpClient.cs: rethrow inner exception so that
	AsyncCompletedEventArgs.Error gets the right value on error. Patch
	by Dimitar Dobrev.


svn path=/branches/mono-2-6/mcs/; revision=149984
2010-01-21 15:22:31 +00:00
Rodrigo Kumpera 1a71763707 2010-01-21 Rodrigo Kumpera <[email protected]>
* metadata-verify.c (parse_generic_inst): Fail a type signature if it 
	has a recursive reference to itself.

	Fixes #571863.

	Backport of r149969.



svn path=/branches/mono-2-6/mono/; revision=149971
2010-01-21 14:38:44 +00:00
Andrew Jorgensen 55d040c353 more rabbitmq madness
svn path=/branches/mono-2-6/mono/; revision=149935
2010-01-20 22:58:13 +00:00
Gonzalo Paniagua Javier 067c19988f 2010-01-20 Gonzalo Paniagua Javier <[email protected]>
* icall.c: don't raise AppDomain.TypeResolve when the type is loaded
	from the current assembly or mscorlib. Fixes bug #322957.


svn path=/branches/mono-2-6/mono/; revision=149922
2010-01-20 18:01:06 +00:00
Marek Habersack b7354f3de6 Backport of r149919
svn path=/branches/mono-2-6/mcs/; revision=149920
2010-01-20 17:49:16 +00:00
Zoltan Varga ac5e8bef12 2010-01-20 Zoltan Varga <[email protected]>
* mini-posix.c (SIG_HANDLER_SIGNATURE): Avoid
	"Thread (nil) may have been prematurely finalized" messages if this is called
	on a thread not registered with the runtime.

	* mini-exceptions.c (mono_handle_native_sigsegv): Ditto.

svn path=/branches/mono-2-6/mono/; revision=149913
2010-01-20 15:56:36 +00:00
Jb Evain 6f7167aa7e protect ILGenerator.Mono_GetCurrentOffset
svn path=/branches/mono-2-6/mcs/; revision=149904
2010-01-20 13:58:31 +00:00
Marek Habersack c84b626d9f Backport of r149855
svn path=/branches/mono-2-6/mcs/; revision=149856
2010-01-19 22:36:57 +00:00
Rodrigo Kumpera b47a076824 In metadata:
* verify.c (store_local): Better error message.
	
	Backport of r149845.

2010-01-19  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=149854
2010-01-19 21:54:38 +00:00
Marek Habersack 00313fae7e Backport of r149842
svn path=/branches/mono-2-6/mcs/; revision=149843
2010-01-19 21:14:45 +00:00
Zoltan Varga cefd26ffa4 2010-01-19 Zoltan Varga <[email protected]>
* jit-icalls.c (mono_array_new_3): New jit icall.

	* aot-compiler.c aot-runtime.c: Add support for ElementAddr wrappers.

	* arrays.cs: Add a test for 3 dimensional arrays.

svn path=/branches/mono-2-6/mono/; revision=149832
2010-01-19 17:12:51 +00:00
Zoltan Varga 94147a6867 2010-01-19 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_wrapper_info_from_wrapper): New helper function to
	return a point to a wrapper specific info structure describing the wrapper.
	(mono_marshal_get_array_address): Store the rank+elem_size in the wrapper info.

svn path=/branches/mono-2-6/mono/; revision=149831
2010-01-19 17:10:55 +00:00
Sebastien Pouliot 4ee3487474 2010-01-19 Sebastien Pouliot <[email protected]>
* security-core-clr.c (mono_security_core_clr_can_access_internals):
	Handle the case where 'basedir' can be NULL (e.g. SRE assemblies)
	[Backport r149823]


svn path=/branches/mono-2-6/mono/; revision=149824
2010-01-19 16:20:12 +00:00
Rodrigo Kumpera e17c497eca In metadata:
2010-01-19  Rodrigo Kumpera  <[email protected]>

	* icall.c (ves_icall_MonoMethod_GetGenericMethodDefinition): Handle inflated generic methods
	on a GTD.

	Backport of r149808.


svn path=/branches/mono-2-6/mono/; revision=149811
2010-01-19 12:51:30 +00:00
Marek Habersack 934a28df97 Backport of r149778
svn path=/branches/mono-2-6/mcs/; revision=149779
2010-01-18 22:34:36 +00:00
Rodrigo Kumpera b47afbf37d In metadata:
* metadata-verify.c (parse_type): Fail a type signature if it has a recursive reference
	to itself.

	* metadata-verify.c (mono_verifier_verify_typespec_signature): Change signature to take
	the token as parameter.

	* verify-internals.h: Ditto.

	* metadata.c (mono_type_create_from_typespec): Pass token to verifier.

	Fixes #571460.

	Backport of r149776.

2010-01-18  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=149777
2010-01-18 22:28:04 +00:00
Sebastien Pouliot 082f7e3aa6 2010-01-18 Sebastien Pouliot <[email protected]>
* mono-error.c: Call va_end/va_start before reusing 'args'.
	[Backport r149765]


svn path=/branches/mono-2-6/mono/; revision=149766
2010-01-18 20:09:40 +00:00
Rodrigo Kumpera 0e337eb2ae In metadata:
2010-01-18  Rodrigo Kumpera  <[email protected]>

	* class.c (mono_class_from_typeref): Fail loading of self-referencing typeref tokens.

	Fixes #569579.

	Backport of r149760.


svn path=/branches/mono-2-6/mono/; revision=149761
2010-01-18 19:11:28 +00:00
Marek Habersack 557b82af81 Backport of r149756
svn path=/branches/mono-2-6/mcs/; revision=149757
2010-01-18 17:43:40 +00:00
Zoltan Varga 3fda9b1b2c 2010-01-18 Zoltan Varga <[email protected]>
* mini.h (MonoCompile): Add 'disable_out_of_line_bblocks' flag.

	* branch-opts.c (mono_optimize_branches): Honor the new flag.

	* mini.c (mini_method_compile): Set the new flag when running under the
	debugger.

svn path=/branches/mono-2-6/mono/; revision=149753
2010-01-18 17:33:31 +00:00
Martin Baulig 50b2886808 Put the soft debugger into the 'Mono.Debugger.Soft' namespace.
svn path=/branches/mono-2-6/mcs/; revision=149743
2010-01-18 14:32:25 +00:00
Zoltan Varga a960af777a 2010-01-18 Zoltan Varga <[email protected]>
* mini.c (mono_jit_compile_method_inner): Avoid reading cfg->prof_options
	after cfg has been freed.

svn path=/branches/mono-2-6/mono/; revision=149719
2010-01-18 00:21:29 +00:00
Zoltan Varga d91e676bd4 2010-01-17 Zoltan Varga <[email protected]>
* branch-opts.c (mono_branch_optimize_exception_target): Stop the optimization
	if a clause is skipped because it uses the exception object, since it could
	have caught the exception.

	* exceptions.cs: Add a test.

svn path=/branches/mono-2-6/mono/; revision=149707
2010-01-17 08:47:29 +00:00
Zoltan Varga 28bc6c8233 2010-01-16 Zoltan Varga <[email protected]>
* debugger-agent.c (decode_value): Fix the decoding of I/U/PTR.

svn path=/branches/mono-2-6/mono/; revision=149684
2010-01-16 02:56:18 +00:00
Carlos Alberto Cortez f561a56b55 2010-01-15 Carlos Alberto Cortez <[email protected]>
* Int32Test.cs: Test for TryParse with MaxValue + 1.


svn path=/branches/mono-2-6/mcs/; revision=149681
2010-01-16 01:39:19 +00:00
Carlos Alberto Cortez 495f4bbecf 2010-01-15 Carlos Alberto Cortez <[email protected]>
* DateTimeTest.cs: Fix the tests (DateTimeStyles.AssumeUniversal is
	2.0 only).


svn path=/branches/mono-2-6/mcs/; revision=149680
2010-01-16 01:36:20 +00:00
Zoltan Varga f4af0d1edf 2010-01-16 Zoltan Varga <[email protected]>
* mini-amd64.c (emit_call_body): Always use near calls when AOTing even if
	NOMAP32BIT or optimize_for_xen is set.

svn path=/branches/mono-2-6/mono/; revision=149673
2010-01-16 00:48:27 +00:00
Carlos Alberto Cortez 16696796b9 2010-01-15 Carlos Alberto Cortez <[email protected]>
* Int32.cs: In Parse() cast the parsed value to long *before* changing
	its sign - this way we preserve the original value, instead of
	accidentally changing it. This was happening parsing _exactly_
	MaxValue + 1.
	Fixes #475815.


svn path=/branches/mono-2-6/mcs/; revision=149650
2010-01-15 21:29:47 +00:00
Rodrigo Kumpera e8852db5d6 In metadata:
2010-01-15  Rodrigo Kumpera  <[email protected]>

	* class.c (mono_class_setup_fields): Guard against unfinished types. This
	happens only on 2.6 and not trunk because trunk better deals with unfinished types. 


svn path=/branches/mono-2-6/mono/; revision=149642
2010-01-15 17:11:39 +00:00
Marek Habersack 7ca6f7a3a6 Backport of r149631
svn path=/branches/mono-2-6/mcs/; revision=149632
2010-01-15 13:24:25 +00:00
Atsushi Eno 833bb1cf96 backport r149619 and r149620.
svn path=/branches/mono-2-6/mcs/; revision=149630
2010-01-15 12:42:13 +00:00
Atsushi Eno 159dce275c backport r149609, r149612, r149617 and r149618.
svn path=/branches/mono-2-6/mcs/; revision=149626
2010-01-15 12:40:53 +00:00
Atsushi Eno 8d4203be63 backport r149611 and r149614.
svn path=/branches/mono-2-6/mcs/; revision=149625
2010-01-15 12:38:14 +00:00
Rodrigo Kumpera f54f538a50 In metadata:
2010-01-14  Rodrigo Kumpera  <[email protected]>

	* class.c (mono_type_has_exceptions): Check the generic instance. It can fail
	independently of the GTD.

	* class.c (mono_class_setup_fields): Fail if field has negative offset.

	* class.c (mono_class_setup_fields): Fail if valuetype has zero size. Add sizeof(MonoObject)
	to the upper limit since instance_size includes this amount.

	* class.c (mono_class_layout_fields): Check if the types of the static fields have failed.

	Fixes #569544.

	Backport of r149575.


svn path=/branches/mono-2-6/mono/; revision=149576
2010-01-14 21:12:46 +00:00
Jb Evain 59887d8819 2010-01-14 Jb Evain <[email protected]>
* MarkStep.cs: preserve fields specified by the
	SoapHeader attribute.

	backport r149571.

svn path=/branches/mono-2-6/mcs/; revision=149572
2010-01-14 18:12:41 +00:00
Rolf Bjarne Kvinge 585a395a95 2010-01-14 Rolf Bjarne Kvinge <[email protected]>
* UnmanagedMemoryStream.cs: Read: don't read bytes one-by-one, read all
	at once.

svn path=/branches/mono-2-6/mcs/; revision=149556
2010-01-14 13:17:53 +00:00
Jonathan Pryor 52f97eb8ed * Monodoc/provider.cs, Monodoc/ecma-provider.cs: Improve cache support
by having EcmaHelpSource.GetTextFromUrl() look for cached contents.
	  This greatly speeds up type member listings (e.g. T:...List`1/*),
	  e.g. from ~2.0s to 0.06s.
	* Mono.Documentation/XmlDocUtils.cs: XmlDocUtils.AddExtensionMethods()
	  wasn't adding extension methods which matched *interfaces* of base
	  classes.  Result: Mono.Options.OptionSet (which inherits
	  System.Collections.ObjectModel.KeyedCollection`2 which inherits from
	  System.Collections.ObjectModel.Collection`1 which implements
	  System.Collections.Generic.IEnumerable`1) wasn't getting any of the
	  LINQ extension methods (which is bad).  Fix this.
	* Resources/mdoc-html-utils.xsl: Fix regression caused by 2009-12-02
	  commit adding GetLinkTargetHtml().  The problem was that when
	  running within ASP.NET/monodoc ~all extension method links would be
	  'javascript:alert("...")M:Foo.Method(...)', which is clearly wrong.
	  This occurred because $linkid's generation would always call
	  GetLinkTargetHtml() with a $cref value of '', thus the monodoc
	  GetLinkTarget() would return '', so GetLinkTargetHtml() would return
	  the javascript "not found" alert.  Thus, we can't expect
	  GetLinkTargetHtml() with $cref='' to work under monodoc, but it's
	  ~required to work sanely under 'mdoc export-html'.
	  Solution is to not call GetLinkTargetHtml() here UNLESS we're doing
	  'mdoc export-html' generation, which we assume to be the case if
	  $html-anchor is true.

svn path=/branches/mono-2-6/mcs/; revision=149553
2010-01-14 12:50:31 +00:00
Jonathan Pryor b51b58935f * Mono.Documentation/monodocs2slashdoc.cs: Fix NamespaceSummaries.xml
generation to look at the ns-NAMESPACE.xml files, not just
	  NAMESPACE.xml files.

svn path=/branches/mono-2-6/mcs/; revision=149552
2010-01-14 12:46:19 +00:00
Geoff Norton 9c6bce34ae fix monotouch build
svn path=/branches/mono-2-6/mcs/; revision=149503
2010-01-13 23:56:36 +00:00
Gonzalo Paniagua Javier 5768c58fd6 2010-01-13 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: when the server returns several different
	authentication methods, pick the one that works.
	Fixes bug #562043.


svn path=/branches/mono-2-6/mcs/; revision=149501
2010-01-13 23:23:03 +00:00
Sebastien Pouliot 4dea4c540e 2010-01-13 Sebastien Pouliot <[email protected]>
* HttpWebRequest_2_1.cs: Throw for CookieContainer. It is 
	implemented only in the client http stack (and for a limited
	time in the browser stack too ;-)
	* InternalWebRequestStreamWrapper.cs: Keep the MemoryStream data
	available after closing/disposing (by user) since our own code
	will need it later (e.g. when posting like DRT287)
	* WebHeaderCollection_2_1.cs: Provide an argument to 
	ArgumentException. Found by Gendarme's ArgumentException
	InstantiateArgumentExceptionCorrectlyRule
	[Backport r149484]


svn path=/branches/mono-2-6/mcs/; revision=149485
2010-01-13 18:40:46 +00:00
Paolo Molaro 77d06337e6 Wed Jan 13 15:54:53 CET 2010 Paolo Molaro <[email protected]>
* jit.h, method-to-ir.c: added ability to set the policy for
	inserting breakpoints from the break IL instruction or the
	Debugger.Break () API call.


svn path=/branches/mono-2-6/mono/; revision=149473
2010-01-13 15:03:00 +00:00
Jb Evain a5f096e879 2010-01-13 Jb Evain <[email protected]>
* MarkStep.cs: preserve methods specified by the
	XmlSchemaProvider attribute.

	backport r149460.

svn path=/branches/mono-2-6/mcs/; revision=149461
2010-01-13 13:28:35 +00:00
Atsushi Eno 694b59cf8a Fix build (forgotten backport bits).
svn path=/branches/mono-2-6/mcs/; revision=149446
2010-01-13 11:06:12 +00:00
Atsushi Eno 9aa5cfdf6b backport r149383 and r149411 from trunk.
svn path=/branches/mono-2-6/mcs/; revision=149442
2010-01-13 09:57:22 +00:00
Atsushi Eno 966ebb8976 backport recent bugfixes from trunk.
svn path=/branches/mono-2-6/mcs/; revision=149440
2010-01-13 09:48:37 +00:00
Atsushi Eno 5249c14350 backport recent bugfixes from trunk.
svn path=/branches/mono-2-6/mcs/; revision=149439
2010-01-13 09:47:12 +00:00
Sebastien Pouliot 3b33f27d09 2010-01-12 Sebastien Pouliot <[email protected]>
* WebRequest_2_1.cs: Rework registration wrt the two, browser
	and client, stacks offered in SL3. Only global works now.
	[Backport r149423]


svn path=/branches/mono-2-6/mcs/; revision=149424
2010-01-12 18:44:17 +00:00
Rodrigo Kumpera 326b9a5c59 In metadata:
* class.c (mono_class_get_implemented_interfaces): Now take a MonoError argument.

	* class.c:
	* cominterop.c:
	* icall.c:
	* object.c: 
	* class-internals.h: Adjust for new signature of mono_class_get_implemented_interfaces.

	Backport of r149414.

2010-01-12  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=149417
2010-01-12 16:54:28 +00:00
Rodrigo Kumpera bf875af2e7 In metadata:
2010-01-12  Rodrigo Kumpera  <[email protected]>

	* class.c (mono_class_setup_interfaces): Now take a MonoError argument and
	it can fail loading the type.

	* class.c: Add mono_class_inflate_generic_class_checked.

	* class.c:
	* verify.c:
	* class-internals.h: Adjust for new signature of mono_class_setup_interfaces.

	Backport of r149413.


svn path=/branches/mono-2-6/mono/; revision=149415
2010-01-12 16:50:33 +00:00
Sebastien Pouliot f76fb4d9af In Test/System.Net:
2010-01-12  Sebastien Pouliot  <[email protected]>

	* NetworkCredentialTest.cs: New. Unit tests.
	[Backport r149401]

In System.Net:
2010-01-12  Sebastien Pouliot  <[email protected]>

	* NetworkCredential.cs: Fix properties to never return null.

In .:
2010-01-12  Sebastien Pouliot  <[email protected]>

	* System_test.dll.sources: Add NetworkCredentialTest.cs to the tests
	[Backport r149401]


svn path=/branches/mono-2-6/mcs/; revision=149402
2010-01-12 13:09:49 +00:00
Zoltan Varga 6ddb87775a 2010-01-12 Zoltan Varga <[email protected]>
* profiles/basic.make: Document that mono 2.6 can't be compiled with mono SVN HEAD.

svn path=/branches/mono-2-6/mcs/; revision=149365
2010-01-12 02:12:52 +00:00
Carlos Alberto Cortez 7812e1a803 2010-01-11 Carlos Alberto Cortez <[email protected]>
* Int32Test.cs: Add test case for exponent support in the Parse
	methods.


svn path=/branches/mono-2-6/mcs/; revision=149359
2010-01-11 23:57:32 +00:00
Carlos Alberto Cortez 51098747b2 2010-01-11 Carlos Alberto Cortez <[email protected]>
* Int32.cs: Implement support for exponent in the Parse methods.
	Fixes #542464.

	Backport r149356.


svn path=/branches/mono-2-6/mcs/; revision=149358
2010-01-11 23:50:19 +00:00
Zoltan Varga 07d7a708a8 2010-01-11 Zoltan Varga <[email protected]>
* socket-io.c (AI_ADDRCONFIG): Applied patch from John Lightsey ([email protected]).
	Fixes build on rh 7.3.

svn path=/branches/mono-2-6/mono/; revision=149345
2010-01-11 22:28:10 +00:00
Zoltan Varga 9fb43d41e5 2010-01-11 Zoltan Varga <[email protected]>
* mono-profiler-logging.c (_ProfilerFileWriteBuffer): Use MONO_ZERO_LEN_ARRAY.
	Fixes #569806.

svn path=/branches/mono-2-6/mono/; revision=149343
2010-01-11 22:24:30 +00:00
Andrew Jorgensen dd528c7e82 add RabbitMQ.Client.Apigen
svn path=/branches/mono-2-6/mono/; revision=149341
2010-01-11 21:35:25 +00:00
Zoltan Varga 2eb18ee5c3 2009-12-16 Zoltan Varga <[email protected]>
* class.c (mono_bounded_array_class_get): Make these classes PUBLIC. Fixes
	#565120.

svn path=/branches/mono-2-6/mono/; revision=149337
2010-01-11 21:01:50 +00:00
Zoltan Varga 2fef9fed47 2009-12-26 Zoltan Varga <[email protected]>
* monitor.c (ves_icall_System_Threading_Monitor_Monitor_wait): Don't close the
	wait handle if the wait is interrupted, since it is still in mon->wait_list, and
	we can't remove it from it since we don't hold the lock.
	(mon_new): Free the orphaned events here when a mon structure is added to the
	freelist. Fixes #561239. Thanks to Mike Rieker <[email protected]> for tracking
	this down.

svn path=/branches/mono-2-6/mono/; revision=149335
2010-01-11 21:00:46 +00:00
Zoltan Varga 8a62669178 2009-12-26 Zoltan Varga <[email protected]>
* generic-sharing.c (instantiate_other_info): Avoid creating jump trampolines since
	they cannot be patched. Partly fixes #564408.

svn path=/branches/mono-2-6/mono/; revision=149333
2010-01-11 20:59:44 +00:00
Sebastien Pouliot 63983799a4 Makefile: For 2.1 build System.Core.dll before System.Net.dll
svn path=/branches/mono-2-6/mcs/; revision=149332
2010-01-11 20:55:02 +00:00
Sebastien Pouliot 53cb002de6 In .:
2010-01-11  Sebastien Pouliot  <[email protected]>

	* System.Net.dll.sources: Add InternalWebRequestStreamWrapper.cs
	* Makefile: Add reference to System.Core (for Action<T>)
	[Backport r149327]

In System.Net:
2010-01-11  Sebastien Pouliot  <[email protected]>

	* InternalWebRequestStreamWrapper.cs: New. Moved (and adapted) 
	from Moonlight System.Windows.Browser assembly.
	* InternalWebResponseStreamWrapper.cs: New. Moved (and adapted) 
	from Moonlight System.Windows.Browser assembly.
	* WebClient_2_1.cs: Remove custom delegate declaration (Gendarme's
	AvoidDeclaringCustomDelegatesRule). Remove locking over a variable
	(Gendarme's ReviewLockUsedOnlyForOperationsOnVariablesRule). 
	Avoid potential race with event handlers (Gendarme's 
	ProtectCallsToEventDelegatesRule). Implement OnWriteStreamClosed
	* WebRequest_2_1.cs: Signature change from delegate to 
	Action<long,long,object>. Found using Gendarme's
	AvoidDeclaringCustomDelegatesRule
	[Backport r149327]


svn path=/branches/mono-2-6/mcs/; revision=149328
2010-01-11 20:29:41 +00:00
Zoltan Varga deffbb6a29 2010-01-11 Zoltan Varga <[email protected]>
* debugger-agent.c (mono_debugger_agent_parse_options): Allow onthrow without
	an argument which matches any exception.

svn path=/branches/mono-2-6/mono/; revision=149297
2010-01-11 04:09:34 +00:00
Carlos Alberto Cortez aa6f7b9be1 2010-01-10 Carlos Alberto Cortez <[email protected]>
* ToolStripMenuItemTest: New test for the events related to the check
	state.


svn path=/branches/mono-2-6/mcs/; revision=149293
2010-01-11 00:46:58 +00:00
Carlos Alberto Cortez e6ebacb2b4 2010-01-10 Carlos Alberto Cortez <[email protected]>
* ToolStripMenuItem.cs: Put the Checked/CheckState logic in a single
	place and synchronize the events properly. Fixes a lack of
	coordination between the events - which should be fired together.


svn path=/branches/mono-2-6/mcs/; revision=149291
2010-01-11 00:43:36 +00:00
Zoltan Varga 5fa55c5f7f 2010-01-10 Zoltan Varga <[email protected]>
* method-to-ir.c (mono_emit_method_call_full): Avoid the virt->nonvirt
	optimization if the called method is gshared and marshalbyref, since gshared
	methods can' have wrappers. Fixes #569390.

	* generics.cs: Add a test.

svn path=/branches/mono-2-6/mono/; revision=149287
2010-01-10 22:42:31 +00:00
Zoltan Varga 190fc745e1 2010-01-10 Zoltan Varga <[email protected]>
* mini-exceptions.c (mono_print_thread_dump_from_ctx): New helper function
	callable from gdb.

svn path=/branches/mono-2-6/mono/; revision=149281
2010-01-10 01:53:19 +00:00
Zoltan Varga 2af95eb471 2010-01-10 Zoltan Varga <[email protected]>
* mini.c (mono_print_method_from_ip): Fix the lookup of trampolines.

svn path=/branches/mono-2-6/mono/; revision=149279
2010-01-10 01:34:01 +00:00
Zoltan Varga 76d3cbb00c 2010-01-09 Zoltan Varga <[email protected]>
* debugger-agent.c (transport_connect): comment out freeaddrinfo calls under win32,
	since it is not supported in win2000.

svn path=/branches/mono-2-6/mono/; revision=149275
2010-01-09 21:28:57 +00:00
Carlos Alberto Cortez 64358872dc 2010-01-09 Carlos Alberto Cortez <[email protected]>
* TrackBarTest.cs: New test for events.


svn path=/branches/mono-2-6/mcs/; revision=149272
2010-01-09 18:28:07 +00:00
Carlos Alberto Cortez 8d5112637e 2010-01-09 Carlos Alberto Cortez <[email protected]>
* TrackBar.cs: Move our events code to a single method, allowing it to
	optionally fire the Scroll event. This way we both avoid the
	duplicated calls to OnScroll and also will be able to fire Scroll
	*before* OnValueChanged in other places.
	Fixes #568026.


svn path=/branches/mono-2-6/mcs/; revision=149271
2010-01-09 17:18:42 +00:00
Marek Habersack 4b70cd35d5 Backport of r149262
svn path=/branches/mono-2-6/mcs/; revision=149263
2010-01-09 00:31:01 +00:00
Jb Evain 180d854345 2010-01-08 Jb Evain <[email protected]>
* Expression.cs (Call): properly deal with zero length array
	of type arguments for non generic methods. Fixes #568989.

	backport r149241.

svn path=/branches/mono-2-6/mcs/; revision=149242
2010-01-08 14:02:03 +00:00
Atsushi Eno e950db318c more complete backporting.
svn path=/branches/mono-2-6/mcs/; revision=149218
2010-01-08 04:51:52 +00:00
Atsushi Eno 21fba62c09 more complete backporting.
svn path=/branches/mono-2-6/mcs/; revision=149217
2010-01-08 04:50:11 +00:00
Atsushi Eno 98ea1eb62a backport everything, now that I believe it became at least as stable as it used to be.
svn path=/branches/mono-2-6/mcs/; revision=149216
2010-01-08 04:48:50 +00:00
Atsushi Eno 32a31d1e4d backport everything.
svn path=/branches/mono-2-6/mcs/; revision=149213
2010-01-08 04:32:53 +00:00
Atsushi Eno 274f525ab1 backport everything from trunk.
svn path=/branches/mono-2-6/mcs/; revision=149211
2010-01-08 04:17:00 +00:00
Gonzalo Paniagua Javier 8eeae714e4 2010-01-07 Gonzalo Paniagua Javier <[email protected]>
* assembly.c: fix MONO_PATH debug output.


svn path=/branches/mono-2-6/mono/; revision=149191
2010-01-07 20:34:17 +00:00
Sebastien Pouliot 47a0c65e12 2010-01-07 Sebastien Pouliot <[email protected]>
* Consts.cs.in: Update FX version for SL3 latest released version
	[Backport r149187]


svn path=/branches/mono-2-6/mcs/; revision=149188
2010-01-07 20:21:42 +00:00
Jb Evain fd29972f85 fix the net_1_1 build
svn path=/branches/mono-2-6/mcs/; revision=149178
2010-01-07 16:28:30 +00:00
Jb Evain 6fc40bbb24 fix the net_1_1 build
svn path=/branches/mono-2-6/mcs/; revision=149177
2010-01-07 16:27:41 +00:00
Jb Evain 4054667f43 in System:
2010-01-07  Jb Evain  <[email protected]>

	* MonoType.cs (.MemberType): return the proper member type
	for generic parameters.

	backport r149175.

in Test/System:
2010-01-07  Jb Evain  <[email protected]>

	* TypeTest.cs: add test for the MemberType of
	a generic parameter.

	backport r149175.

svn path=/branches/mono-2-6/mcs/; revision=149176
2010-01-07 16:22:58 +00:00
Sebastien Pouliot 487ee8a3d0 In System:
2010-01-07  Sebastien Pouliot  <[email protected]>

	* Convert.cs: Fix line endings in ToBase64String (bug #568778)
	and also the default line length. Code changed to not require
	a BinaryReader over a MemoryStream to reduce memory requirements.
	[Backport r149171]

In Test/System:
2010-01-07  Sebastien Pouliot  <[email protected]>

	* ConvertTest.cs: Add test case for #568778 and the default
	line length.
	[Backport r149171]

In System.Security.Cryptography:
2010-01-07  Sebastien Pouliot  <[email protected]>

	* ToBase64Transform.cs: Static-ify some methods to make it easier 
	to use from System.Convert
	[Backport r149171]


svn path=/branches/mono-2-6/mcs/; revision=149172
2010-01-07 15:24:21 +00:00
Zoltan Varga 6cbb31843f 2010-01-07 Zoltan Varga <[email protected]>
* mini-llvm-cpp.cpp (mono_llvm_create_ee): Add an ugly hack to fix #564695.
	If LLVM decides to set the code model to Large, reset it to Default.

svn path=/branches/mono-2-6/mono/; revision=149160
2010-01-07 07:19:18 +00:00
Zoltan Varga d25ef310a2 2010-01-07 Zoltan Varga <[email protected]>
* aot-compiler.c (mono_xdebug_flush): Export it so it is present in
	stripped binaries as well.

svn path=/branches/mono-2-6/mono/; revision=149154
2010-01-07 03:08:48 +00:00
Jb Evain 944fde135c 2010-12-06 Jb Evain <[email protected]>
* Descriptors/mscorlib.xml: optimize descriptor.

svn path=/branches/mono-2-6/mcs/; revision=149120
2010-01-06 13:28:40 +00:00
Marek Habersack dc6936d47a Backport of r149116
svn path=/branches/mono-2-6/mcs/; revision=149117
2010-01-06 09:29:59 +00:00
Atsushi Eno 0bbfa99e64 backport r149104.
svn path=/branches/mono-2-6/mcs/; revision=149105
2010-01-06 04:34:22 +00:00
Marek Habersack 3d1a899564 Backport of r149089
svn path=/branches/mono-2-6/mcs/; revision=149090
2010-01-05 23:13:27 +00:00
Rodrigo Kumpera 79563d2fff In System.Reflection:
* ParameterInfo.cs (DefaultProperty): Fix small typo.

2010-01-05 Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mcs/; revision=149088
2010-01-05 22:14:57 +00:00
Rodrigo Kumpera 1269ad94c2 In Test/System.Reflection:
2010-01-05 Rodrigo Kumpera  <[email protected]>

	* DateTimeConstantAttribute.cs: Add internal Ticks property.

	Backport of r149083.

In System.Runtime.CompilerServices:
2010-01-05 Rodrigo Kumpera  <[email protected]>

	* DateTimeConstantAttribute.cs: Add internal Ticks property.

	Backport of r149083.

In System.Reflection:
2010-01-05 Rodrigo Kumpera  <[email protected]>

	* ParameterInfoTest.cs: Add a test for default values from custom
	attributes.

	Backport of r149083.


svn path=/branches/mono-2-6/mcs/; revision=149084
2010-01-05 18:08:18 +00:00
Rodrigo Kumpera bbb57e05d6 In metadata:
2010-01-05  Rodrigo Kumpera  <[email protected]>

	* verify.c (mono_verifier_verify_class): Properly check for broken parent. Ignore
	types that are meant to not have a parent.

	Backport of r149053.

In mini:
2010-01-05  Rodrigo Kumpera  <[email protected]>

	* mini.c (mono_compile_is_broken): Skip methods from serialization's
	internal assembly.

	Backport of r149053.


svn path=/branches/mono-2-6/mono/; revision=149082
2010-01-05 16:42:15 +00:00
Sebastien Pouliot e5c119df53 pedump.c: Backport earlier fixes from Rodrigo Kumpera since they are useful for testing ML
svn path=/branches/mono-2-6/mono/; revision=149081
2010-01-05 14:40:11 +00:00
Marek Habersack 6e9cf155eb Backport of r149077
svn path=/branches/mono-2-6/mcs/; revision=149078
2010-01-05 12:13:49 +00:00
Carlos Alberto Cortez ec76cba184 2010-01-04 Carlos Alberto Cortez <[email protected]>
* RadioButton.cs: When drawing, if Appearance is Button use the old
	normal routine in the theme engine, instead of using the one in 2.0,
	since this last one doesn't support proper rendering of the control as
	a button.
	Fixes #567904.


svn path=/branches/mono-2-6/mcs/; revision=149075
2010-01-05 11:40:54 +00:00
Zoltan Varga 65d6041639 2010-01-04 Zoltan Varga <[email protected]>
* mini-trampolines.c (mono_convert_imt_slot_to_vtable_slot): Call
	mono_method_get_vtable_slot () instead of accessing imt_method->slot directly,
	to fix an AOT case.

svn path=/branches/mono-2-6/mono/; revision=149057
2010-01-04 22:11:44 +00:00
Zoltan Varga 5684426f99 2009-12-22 Geoff Norton <[email protected]>
* configure.in: Fix invalid escaping.  Patch from Spina from
	www.slacky.eu.

svn path=/branches/mono-2-6/mono/; revision=149049
2010-01-04 21:04:51 +00:00
Rodrigo Kumpera 6661518399 In mini:
2009-01-04  Rodrigo Kumpera  <[email protected]>

	* mini.c (mini_method_compile): Verify the method before calling
	mono_compile_create_vars as this might crash since it uses method
	information.

	Fixes #560196.

	Backport of r149045.


svn path=/branches/mono-2-6/mono/; revision=149046
2010-01-04 19:52:28 +00:00
Sebastien Pouliot 2ab4b20086 verify.c (verify_valuetype_layout_with_target): Fix case that can lead to infinite recursion. Fix bug #567861. [Backport r149042]
svn path=/branches/mono-2-6/mono/; revision=149043
2010-01-04 18:47:21 +00:00
Rodrigo Kumpera 3cf6a9d9dd In metadata:
* class.c (count_virtual_methods): Remove the assert and now
	fail properly.
	
	* class.c (setup_interface_offsets): This can fail now.

	* class.c (mono_class_setup_vtable_general): Check for parent vtable
	errors. Check setup_interface_offsets errors.

	* class.c (setup_interface_offsets): Simplify the return error logic
	and remove class_init_ok.

	Fixes #560327.

	Backport of r149031.

2010-01-04  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=149032
2010-01-04 17:01:50 +00:00
Rodrigo Kumpera a5861ec5c9 In metadata:
2010-01-04  Rodrigo Kumpera  <[email protected]>

	* class.c (mono_class_init): Do class verification at the beginning. Add
	some asserts to avoid tripping into invalid memory.

	* object.c (compute_class_bitmap): Replace a g_assert_not_reached with a
	g_error and a decent message.

	* verify.c (mono_verifier_verify_class): Verify for invalid super type.

	Fixes #567548.

	Backport of r149028.


svn path=/branches/mono-2-6/mono/; revision=149029
2010-01-04 16:02:06 +00:00
Jonathan Pryor 7ecd46bab0 * Makefile: Ensure that Test/* files are distributed (so that
'make check' works on tarball builds).  Partial fix for #564987.

svn path=/branches/mono-2-6/mcs/; revision=149024
2010-01-04 13:15:37 +00:00
Jb Evain 7ce982039b 2010-01-04 Jb Evain <[email protected]>
* TimeZoneInfo.AdjustmentRule.cs, TimeZoneInfo.TransitionTime.cs:
	Do not include in both mscorlib and System.Core for a NET_2_1 profile.

	backport r149020.

svn path=/branches/mono-2-6/mcs/; revision=149021
2010-01-04 12:54:21 +00:00
Carlos Alberto Cortez 4721b6805e 2010-01-03 Carlos Alberto Cortez <[email protected]>
* GroupBoxRenderer.cs: Properly use SystemColors.GrayText to draw to
	text of the group box if it is disabled.
	Fixes #567847.


svn path=/branches/mono-2-6/mcs/; revision=149013
2010-01-04 11:51:26 +00:00
Zoltan Varga 3c40535253 2010-01-03 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): Fix a memory leak.

svn path=/branches/mono-2-6/mono/; revision=148990
2010-01-03 16:48:55 +00:00
Zoltan Varga 0dffa52aca 2010-01-03 Zoltan Varga <[email protected]>
* mono-path.c (mono_path_resolve_symlinks): Use g_strfreev () to free the
	result of g_strplit.

svn path=/branches/mono-2-6/mono/; revision=148985
2010-01-03 16:36:16 +00:00
Zoltan Varga 3f88554113 2010-01-03 Zoltan Varga <[email protected]>
* TransactionAbortedException.cs: Make the default ctor public. Fixes #567872.

svn path=/branches/mono-2-6/mcs/; revision=148979
2010-01-03 14:15:24 +00:00
Zoltan Varga 368500522a 2010-01-03 Zoltan Varga <[email protected]>
* Array.cs: Fix ArrayReadOnlyList.CopyTo. Fixes #564095.

svn path=/branches/mono-2-6/mcs/; revision=148976
2010-01-03 14:10:45 +00:00
Zoltan Varga 613462c324 2010-01-03 Zoltan Varga <[email protected]>
* DateTime.cs (TryParseExact): Handle exceptions. Fixes #567857.

svn path=/branches/mono-2-6/mcs/; revision=148972
2010-01-03 13:53:55 +00:00
Zoltan Varga f084c27e38 2010-01-03 Zoltan Varga <[email protected]>
* locales.c (construct_culture_from_specific_name): Applied patch from
	José Antonio Sánchez Lázaro <[email protected]>. Fix a crash if a culture was
	not found. Fixes #567900.

svn path=/branches/mono-2-6/mono/; revision=148969
2010-01-03 13:29:53 +00:00
Carlos Alberto Cortez a74918503e 2009-12-31 Carlos Alberto Cortez <[email protected]>
* XplatUICarbon.cs: Implement the overriden AudibleAlert
	function in XplatUICarbon.  Currently it throws
	NotImplementedException which will kill a WinForms application showing
	a dialog box.
	Patch by  Erik Ylvisaker ([email protected]).


svn path=/branches/mono-2-6/mcs/; revision=148958
2009-12-31 23:42:10 +00:00
Sebastien Pouliot caf8ea503e loader.c (mono_method_get_signature_full): Remove two asserts. Return NULL instead so that the verifier can handle both cases gracefully. Fix bug #564897. [Backport r148951]
svn path=/branches/mono-2-6/mono/; revision=148952
2009-12-31 15:19:39 +00:00
Rodrigo Kumpera c78ca4093b In metadata:
* class.c (mono_class_setup_methods): Use checked version of mono_class_inflate_generic_method_full
	so we can properly fail types instead of crashing.

	Fixes #567676.

	Backpor of r148948.

2009-12-30  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=148949
2009-12-30 20:41:17 +00:00
Jonathan Pryor 0089ae3369 * Lucene.Net/Lucene.Net/QueryParser/QueryParser.cs: Fix crash when
searching for "()".  Fixes #423853.  
	  Thanks to Benoît Tuduri <[email protected]>.

svn path=/branches/mono-2-6/mcs/; revision=148945
2009-12-30 20:03:48 +00:00
Rodrigo Kumpera 27e2e40074 In metadata:
2009-12-30  Rodrigo Kumpera  <[email protected]>

	* marshal.c (mono_mb_emit_restore_result): Properly handle generic enums.

	Backport of r148941.

In mini:
2009-12-30  Rodrigo Kumpera  <[email protected]>

	* mini.c:
	* method-to.ir.c:
	* mini-*.c: Properly handle generic enums.

	Fixes #566294

	Backport of r148941.


svn path=/branches/mono-2-6/mono/; revision=148942
2009-12-30 13:49:56 +00:00
Sebastien Pouliot f06264ae54 2009-12-28 Sebastien Pouliot <[email protected]>
* Cookie.cs: Don't use automatic properties to let older mcs
	(e.g. bootstrap) compile this for NET_1_1 profile


svn path=/branches/mono-2-6/mcs/; revision=148921
2009-12-28 17:15:24 +00:00
Zoltan Varga 2a1e433854 2009-12-28 Zoltan Varga <[email protected]>
* method-to-ir.c (mono_method_to_ir): Handle the failure of mono_class_vtable ()
	in a few more places.

svn path=/branches/mono-2-6/mono/; revision=148916
2009-12-28 01:58:45 +00:00
Zoltan Varga cf04036d5d 2009-12-27 Zoltan Varga <[email protected]>
* aot-compiler.c (add_wrappers): Don't use dyn runtime invoke for methods with
	nullable parameters. Fixes #567351.

svn path=/branches/mono-2-6/mono/; revision=148914
2009-12-27 16:16:59 +00:00
Rodrigo Kumpera b7e171bc2d In metadata:
* verify.c (init_stack_with_value_at_exception_boundary): Do stack overflow checking here
	as max stack might be zero.

	Fixes #562320.

	Backport of r148911.

2009-12-26  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=148912
2009-12-27 00:13:10 +00:00
Rodrigo Kumpera f883d707c6 In metadata:
Rework all uses of mono_class_setup_methods to accept that it can fail now.

	* class.c (mono_class_setup_methods): This function now can fail the class. Do so for generic
	instances if the GTD did.

	* class.c (mono_class_setup_properties): Ditto.

	* class.c (mono_class_setup_events): Ditto.

	* class.c (mono_class_setup_vtable): Fail early if the type is already broken.

	* class.c (mono_class_setup_vtable_general): Add a few more missing broken type checks.	Sanitize
	error setting.

	* class.c (mono_class_init): Fail if GTD did.

	* cominterop.c:
	* generic-sharing.c:
	* icall.c:
	* loader.c:
	* object.c:
	* verify.c: Properly handle failure of mono_class_setup_methods.

	Backport of r148905.

2009-12-26  Rodrigo Kumpera  <[email protected]>

In mini:
2009-12-26  Rodrigo Kumpera  <[email protected]>

	* mini-trampolines.c (common_call_trampoline): Add assert for NULL resolved generic method.

	Backport of r148905.


svn path=/branches/mono-2-6/mono/; revision=148907
2009-12-26 21:41:45 +00:00
Rodrigo Kumpera 9f33f36695 In metadata:
2009-12-26  Rodrigo Kumpera  <[email protected]>

	* class-internals.c: Add mono_class_inflate_generic_method_full_checked and make
	mono_class_inflate_generic_method_full internal.

	* class.c (inflate_generic_context): Now takes a MonoError argument.

	* class.c (mono_class_inflate_generic_method_full): Now calls the _checked and abort on
	errors.

	Backport of r148904.


svn path=/branches/mono-2-6/mono/; revision=148906
2009-12-26 21:24:28 +00:00
Zoltan Varga 95b7204a39 2009-12-26 Zoltan Varga <[email protected]>
* domain.c (mono_domain_free): Backport part of r143047. Free special static
	fields earlier to avoid crashes if the types they refer to are freed. Fixes
	#565923.

svn path=/branches/mono-2-6/mono/; revision=148903
2009-12-26 16:32:37 +00:00
Sebastien Pouliot c8750dd6f6 In Test/System.Net:
2009-12-24  Sebastien Pouliot  <[email protected]>

	* CookieContainerTest.cs: Split many tests into smaller test 
	cases. Add test cases for DefaultPerDomainCookieLimit and
	DefaultCookieLimit. Remove all, but one 1.x, [Category 
	("NotWorking")] since everything works now.

In System.Net:
2009-12-24  Sebastien Pouliot  <[email protected]>

	* Cookie.cs: Re-work ToString to be useable in more cases. Fix
	some issues found by Gendarme.
	* CookieContainer.cs: Fix 2.0 NonWorking (and new) unit tests.
	Implement removing oldest cookies when limits are reached.
	* CookieCollection.cs: Fix sort to be closer to MS implementation
	(but still not 100% identical). Fix some issues found by Gendarme


svn path=/branches/mono-2-6/mcs/; revision=148892
2009-12-24 18:20:36 +00:00
Sebastien Pouliot 5a843f6077 2009-12-24 Sebastien Pouliot <[email protected]>
* method-to-ir.c (mono_method_to_ir): Avoid SIGSEGV when
	mono_method_get_signature returns NULL. Fix #567084
	[Backport r148889]


svn path=/branches/mono-2-6/mono/; revision=148890
2009-12-24 13:50:32 +00:00
Geoff Norton 4f7e1e0e33 2009-10-05 Atsushi Enomoto <[email protected]>
* JsonReader.cs : \uXXXX parser was totally wrong, giving wrong #.

svn path=/branches/mono-2-6/mcs/; revision=148881
2009-12-23 23:08:26 +00:00
Geoff Norton 05b1685a6a 2009-12-23 Geoff Norton <[email protected]>
* DeflateStream.cs: Ensure our callbacks go into the correct
	static methods.

svn path=/branches/mono-2-6/mcs/; revision=148866
2009-12-23 17:03:22 +00:00
Zoltan Varga 2ec1db8f85 2009-12-23 Zoltan Varga <[email protected]>
* mini-trampolines.c (mono_create_llvm_imt_trampoline): Fix the LLVM build on
	platforms without mono_arch_get_llvm_imt_trampoline ().

svn path=/branches/mono-2-6/mono/; revision=148864
2009-12-23 15:02:00 +00:00
Jo Shields 74ee0e1382 Backport r148856 from trunk to fix broken RabbitMQ build
svn path=/branches/mono-2-6/mcs/; revision=148857
2009-12-23 02:34:36 +00:00
Geoff Norton a1757b0a1a fix typo
svn path=/branches/mono-2-6/mono/; revision=148851
2009-12-22 19:16:36 +00:00
Zoltan Varga 1cf6dce252 2009-12-22 Zoltan Varga <[email protected]>
* aot-runtime.c (decode_klass_ref): Avoid a crash if a decode_klass_ref () call
	fails. Fixes #566689.

svn path=/branches/mono-2-6/mono/; revision=148849
2009-12-22 17:51:57 +00:00
Jo Shields 53acd847f0 Backport r148843 and r148844 from trunk
svn path=/branches/mono-2-6/mono/; revision=148846
2009-12-22 17:44:20 +00:00
Marek Habersack a14f404bd5 Backport of r148840
svn path=/branches/mono-2-6/mcs/; revision=148841
2009-12-22 12:24:48 +00:00
Rodrigo Kumpera 8e3c81eb2d In .:
2009-12-21  Rodrigo Kumpera  <[email protected]>

	* loader.c (mono_method_get_signature_full): Check if the returned signature is compatible
	with the one from the original method.

	* metadata-verify.c (mono_verifier_is_sig_compatible): New function to verify signature
	compatibility.

	* verify-internals.h: Add new function to the internal API.

	Fixes #566295.

	Backport of r148828.


svn path=/branches/mono-2-6/mono/; revision=148829
2009-12-22 01:18:25 +00:00
Sebastien Pouliot c0639bae0e 2009-12-21 Sebastien Pouliot <[email protected]>
* File.cs (ReadAllBytes): We cannot assume that a single call to
	Read will return all the data we require.
	[Backport r148822]


svn path=/branches/mono-2-6/mcs/; revision=148823
2009-12-21 22:41:03 +00:00
Zoltan Varga 352161e5dc In :
2009-12-21  Zoltan Varga  <[email protected]>

	* configure.in: Add an LLVM_CFLAGS automake variable.

In mono/mini:

2009-12-21  Zoltan Varga  <[email protected]>

	* Makefile.am (AM_CFLAGS): Include LLVM_CFLAGS.

	* mini-llvm.c: Avoid defining the __STDC_... macros if already defined.

svn path=/branches/mono-2-6/mono/; revision=148817
2009-12-21 18:46:42 +00:00
Gonzalo Paniagua Javier e5d8c57558 2009-12-21 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionGroup.cs:
	* ServicePoint.cs: implemented CloseConnectionGroup().


svn path=/branches/mono-2-6/mcs/; revision=148814
2009-12-21 17:13:52 +00:00
Marek Habersack 39f355ff7d Backport r148806
svn path=/branches/mono-2-6/mcs/; revision=148807
2009-12-21 14:27:37 +00:00
Rolf Bjarne Kvinge a2eb9c3486 In mono/metadata:
2009-12-18  Dimitar Dobrev  <[email protected]>

	* culture-info-tables.h: regenerated it to include the Georgian culture.

In tools/locale-builder:
2009-12-18  Dimitar Dobrev  <[email protected]>

	* langs/ka.xml: added a file with the settings of the neutral
	Georgian culture
	* locales/ka-GE.xml: added a file with the settings of the
	specific Georgian culture
	* supp/ka-GE.xml: added a file with the date and time formats
	of the Georgian culture
	* lcids.xml: added entries for the neutral and specific
	Georgian culture
	* Makefile.am: included supp/ka-GE.xml in the build and dist the new
	we're not downloading from primates.ximian.com.

	[Fixes bug 564910].
	[Backport of r148776].

svn path=/branches/mono-2-6/mono/; revision=148803
2009-12-21 12:12:02 +00:00
Michael Barker 4043c68978 2009-12-19 Michael Barker <[email protected]>
* Added stripped xml to avoid licensing issues.

svn path=/branches/mono-2-6/mcs/; revision=148796
2009-12-20 21:44:40 +00:00
Zoltan Varga b9bbc51c89 In System:
2009-12-19  Zoltan Varga  <[email protected]>

	* String.cs: Fix the various IndexOf and LastIndexOf methods so they handle
	"" and a non-zero startIndex correctly. Fixes #566106.

In Test/System:

2009-12-19  Zoltan Varga  <[email protected]>

	* StringTest.cs: Add tests for IndexOf ("", startIndex, count).

svn path=/branches/mono-2-6/mcs/; revision=148790
2009-12-19 21:23:08 +00:00
Jérémie Laval 0a27db5933 2009-11-02 Jérémie Laval <[email protected]>
In class/corlib/System.Threading/:
   * Parallel.cs: Added fix for Bug #536919.

In class/corlib/Test/System.Threading/:
   * ParallelTests.cs: Added unit test for Bug #536919, cleaned up.

svn path=/branches/mono-2-6/mcs/; revision=148782
2009-12-19 10:46:55 +00:00
Jonathan Pryor bf7b65723d * src/**/*: Sync with DbLinq r1294. This is DbLinq 0.19. Fixes
DataContext.Transaction.

svn path=/branches/mono-2-6/mcs/; revision=148774
2009-12-18 20:54:31 +00:00
Zoltan Varga 03905de06b 2009-12-18 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_get_argument_info): Allocate memory for CallInfo using
	alloca as g_malloc is not signal safe.

svn path=/branches/mono-2-6/mono/; revision=148767
2009-12-18 17:36:49 +00:00
Zoltan Varga 2abe570213 2009-12-18 Zoltan Varga <[email protected]>
* reflection.c (mono_reflection_get_type_internal_dynamic): Use assembly->domain
	instead of the current domain, since the two might not match if this is called
	from the debugger.

	* metadata-internals.h (MonoDynamicAssembly): Add a 'domain' field to specify the
	domain which created this assembly.

svn path=/branches/mono-2-6/mono/; revision=148759
2009-12-18 15:36:14 +00:00
Marek Habersack bd3f49a9f0 Backport of r148743
svn path=/branches/mono-2-6/mcs/; revision=148744
2009-12-18 11:07:55 +00:00
Marek Habersack 0950f336bb Backport of r148741
svn path=/branches/mono-2-6/mcs/; revision=148742
2009-12-18 09:46:17 +00:00
Atsushi Eno f9fd0ae689 2009-12-18 Atsushi Enomoto <[email protected]>
* I18N.CJK.Test.cs : add NET_2_0 condition. fix 1.1 test.


svn path=/branches/mono-2-6/mcs/; revision=148739
2009-12-18 05:05:21 +00:00
Sebastien Pouliot 3a989e7d01 backport r148706
svn path=/branches/mono-2-6/mcs/; revision=148707
2009-12-17 15:31:21 +00:00
Atsushi Eno 82f0bcaa7d Fix 1.1 build (previous test was 2.0-only, so it couldn't be simply backported).
svn path=/branches/mono-2-6/mcs/; revision=148705
2009-12-17 14:53:39 +00:00
Marek Habersack 3e13cdf770 Backport of r148697
svn path=/branches/mono-2-6/mono/; revision=148698
2009-12-17 12:38:03 +00:00
Rodrigo Kumpera 80fa10b7c6 In .:
2009-12-17  Rodrigo Kumpera  <[email protected]>

	* icall.c (ves_icall_Type_GetMethodsByName): Don't pin virtual methods if they are newslot.
	A private virtual newslot method is used to implement an interface method without exposing
	it to users. When querying for public instance methods, such method would hide a public one
	on a parent type.

	Fixes #564379.

	Backport of r148694.


svn path=/branches/mono-2-6/mono/; revision=148695
2009-12-17 12:08:05 +00:00
Zoltan Varga a381edd354 2009-12-17 Zoltan Varga <[email protected]>
* libtest.c pinvoke2.cs: Add a test for calling pinvoke methods using calli.

svn path=/branches/mono-2-6/mono/; revision=148684
2009-12-17 09:33:02 +00:00
Zoltan Varga ca08e5c579 2009-12-17 Zoltan Varga <[email protected]>
* method-to-ir.c (mono_method_to_ir): Add support for CALLI with unmanaged
	signatures. Fixes #565143.

	* jit-icalls.c (mono_get_native_calli_wrapper): New JIT icall.

svn path=/branches/mono-2-6/mono/; revision=148683
2009-12-17 09:32:55 +00:00
Zoltan Varga d2e06609db 2009-12-17 Zoltan Varga <[email protected]>
* reflection.c (resolve_object): Fix the encoding of unmanaged calling
	conventions.

svn path=/branches/mono-2-6/mono/; revision=148682
2009-12-17 09:32:48 +00:00
Chris Toshok 31af90c154 revert this, as we need to figure out a better versioning scheme
svn path=/branches/moon/moon-2-0/mono/; revision=148647
2009-12-17 04:17:23 +00:00
Chris Toshok 4827009bbe rename this module so we get the right tarball names when we dist
svn path=/branches/moon/moon-2-0/mono/; revision=148628
2009-12-17 02:31:19 +00:00
Andrew Jorgensen 687ccd9db7 bump version
svn path=/branches/mono-2-6/mono/; revision=148609
2009-12-16 22:54:42 +00:00
Miguel de Icaza 36511ffde8 Fix
svn path=/branches/mono-2-6/mcs/; revision=148608
2009-12-16 22:44:42 +00:00
Miguel de Icaza acf33df432 Attempt to fix 'var foo = bar<TAB>' crash
svn path=/branches/mono-2-6/mcs/; revision=148604
2009-12-16 22:20:06 +00:00
Miguel de Icaza ac7a364349 2009-12-16 Miguel de Icaza <[email protected]>
* repl.cs: Avoid crash, fixes 554898

svn path=/branches/mono-2-6/mcs/; revision=148598
2009-12-16 22:17:19 +00:00
Miguel de Icaza b893812701 Backport
svn path=/branches/mono-2-6/mcs/; revision=148597
2009-12-16 22:01:54 +00:00
Gonzalo Paniagua Javier ee8c48257c 2009-12-16 Gonzalo Paniagua Javier <[email protected]>
* zlib-helper.c: when finishing uncompressing a buffer, we might need
	more than one call to deflate with Z_FINISH since the uncompressed
	data can take more space than the allocated buffer.

	Fixes the IPY+Chiron test case.


svn path=/branches/mono-2-6/mono/; revision=148593
2009-12-16 21:43:44 +00:00
Rodrigo Kumpera 90c08d2298 In .:
* reflection.c (mono_type_get_object): Guard against NULL generic param owner.

2009-12-16  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=148585
2009-12-16 21:16:21 +00:00
Rodrigo Kumpera 0c85600a76 In .:
2009-12-16  Rodrigo Kumpera  <[email protected]>

	* reflection.c (mono_type_get_object): If the type is VAR or MVAR check
	if the owner class has not been finished before returning reflection_info.	

	Fixes #565127.

	Backport of r148575.


svn path=/branches/mono-2-6/mono/; revision=148579
2009-12-16 19:54:03 +00:00
Chris Toshok 40eb2f6974 merge mono and mcs up to version 148571 for moonlight 2.0 branch
svn path=/branches/moon/moon-2-0/mono/; revision=148572
2009-12-16 17:09:12 +00:00
Rodrigo Kumpera 9b196c5cd1 In .:
2009-12-16 Rodrigo Kumpera  <[email protected]>

	* mini-x86.h: Forgot to add a 0x to MONO_ARCH_MAX_FRAME_SIZE define
	making max stack 10x smaller.

	Backport of r148570.


svn path=/branches/mono-2-6/mono/; revision=148571
2009-12-16 16:46:52 +00:00
Zoltan Varga 7f6e379dad 2009-12-16 Zoltan Varga <[email protected]>
* reflection.c (mono_custom_attrs_from_param): Avoid a crash if a dynamic
	param doesn't have custom attributes. Fixes #565117.

svn path=/branches/mono-2-6/mono/; revision=148561
2009-12-16 12:42:36 +00:00
Chris Toshok 7af3f538bc merge mono and mcs up to version 148513 for moonlight 2.0 branch
svn path=/branches/moon/moon-2-0/mcs/; revision=148530
2009-12-15 21:40:59 +00:00
Chris Toshok afbdf5f3f5 merge mono and mcs up to version 148513 for moonlight 2.0 branch
svn path=/branches/moon/moon-2-0/mono/; revision=148529
2009-12-15 21:40:45 +00:00
Rodrigo Kumpera 0d60a16ee0 In .:
* method-to-ir.c (mini_emit_memcpy): Assert if size is too big.

	Backport of r148504.

2009-12-15 Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=148513
2009-12-15 19:48:42 +00:00
Rodrigo Kumpera c214e0af59 In .:
2009-12-15  Rodrigo Kumpera  <[email protected]>

	* class.c (mono_class_setup_fields): Fail valuetypes that are bigger than 1Mb.

	Backport of r148503.


svn path=/branches/mono-2-6/mono/; revision=148511
2009-12-15 19:41:59 +00:00
Rodrigo Kumpera f9b23f82ef In .:
2009-12-15 Rodrigo Kumpera  <[email protected]>

	* mini-x86.c (mono_arch_allocate_vars): Fail compilation if the frame size is
	bigger than MONO_ARCH_MAX_FRAME_SIZE.

	* mini-x86.c (mono_arch_emit_prolog): Handle huge frames.

	* mini-x86.h: Define MONO_ARCH_MAX_FRAME_SIZE to be 1Mb.

	* mini-amd64.c / mini-amd64.h: Same fixes as of above.

	* mini.c (mini_method_compile): Check if mono_arch_allocate_vars failed
	the compilation.

	Backport of r148502.


svn path=/branches/mono-2-6/mono/; revision=148509
2009-12-15 19:37:58 +00:00
Marek Habersack b3b164e0e2 Backport of r148498
svn path=/branches/mono-2-6/mcs/; revision=148499
2009-12-15 18:45:51 +00:00
Zoltan Varga 19181affc0 2009-11-20 Zoltan Varga <[email protected]>
* libtest.c (mono_test_marshal_bool_in): Use 'short' as the type of the
	variant bool argument.

	* marshalbool.cs: Pass -1 as the 'expected' argument instead of 0xffff, which
	causes sign extensions issues on some platforms.

svn path=/branches/mono-2-6/mono/; revision=148485
2009-12-15 17:15:12 +00:00
Marek Habersack 5d24e70618 Backport of r148474
svn path=/branches/mono-2-6/mono/; revision=148475
2009-12-15 12:21:13 +00:00
Geoff Norton c2752833c4 2009-12-14 Geoff Norton <[email protected]>
* debugger-agent.c: The end_runtime_invoke guard isn't working
        on AMD64 as __builtin_frame_address (1) returns NULL.  Disable the
        behaviour by default, and make it runtime configurable.

svn path=/branches/mono-2-6/mono/; revision=148421
2009-12-14 21:57:44 +00:00
Miguel de Icaza a7ad353f69 Backport from trunk
009-12-14  Miguel de Icaza  <[email protected]>

	* method-to-ir.c (mono_method_to_ir): CEE_UNUSUED opcodes now
	raise an invalid program exception.   

	For other opcodes that we might not handle use a g_warning and
	raise the exception.   Beats termination.

	Fixes #561724

2009-12-14  Miguel de Icaza  <[email protected]>

	* verify.c (mono_method_verify): The Unused opcodes produce an
	InvalidProgramException on .NET




svn path=/branches/mono-2-6/mono/; revision=148418
2009-12-14 21:14:05 +00:00
Sebastien Pouliot 896c8ae485 2009-12-14 Sebastien Pouliot <sebastien at ximian.com>
* Mono.Cecil/BaseAssemblyResolver.cs: Update to .net fx 4 beta2
	version number and reduce code duplication.


svn path=/branches/mono-2-6/mcs/; revision=148411
2009-12-14 20:43:22 +00:00
Sebastien Pouliot b3a8ccf695 loader.c (mono_method_get_header): Move assert after the verifier has been called on the method header. [Backport r148406]
svn path=/branches/mono-2-6/mono/; revision=148407
2009-12-14 19:53:07 +00:00
Marek Habersack 14e6ab3447 Backport of r148388
svn path=/branches/mono-2-6/mcs/; revision=148389
2009-12-14 14:15:17 +00:00
Marek Habersack 62f20dc082 Backport of r148378
svn path=/branches/mono-2-6/mcs/; revision=148379
2009-12-14 13:05:25 +00:00
Jonathan Chambers ac3b1ae1ad 2009-12-13 Jonathan Chambers <[email protected]>
* debugger-agent.c (mono_debugger_agent_thread_interrupt): Handle a NULL
	sigctx being passed in, as we have no CONTEXT available in the APC.
	
	(mono_debugger_agent_cleanup): Use explicit cond wait implementation
	for now.

	Code contributed under MIT/X11 license.

svn path=/branches/mono-2-6/mono/; revision=148352
2009-12-13 18:12:31 +00:00
Zoltan Varga a1f6bc713c 2009-12-12 Zoltan Varga <[email protected]>
* mini-llvm.c (mono_llvm_emit_method): Allocate the 'pindexes' array with the
	proper size.

svn path=/branches/mono-2-6/mono/; revision=148332
2009-12-12 09:41:19 +00:00
Jonathan Chambers f2c0e2415d Backport changes from HEAD to fix VS build.
svn path=/branches/mono-2-6/mono/; revision=148328
2009-12-12 03:33:29 +00:00
Zoltan Varga 794ab0c147 2009-12-12 Zoltan Varga <[email protected]>
* debugger-agent.c: Encode the this argument of vtype methods as a struct, not
	as a primitive type.

svn path=/branches/mono-2-6/mono/; revision=148193
2009-12-12 01:04:50 +00:00
Rolf Bjarne Kvinge 007b786026 2009-12-12 Rolf Bjarne Kvinge <[email protected]>
* WebClient_2_1.cs: When creating the request we need to copy over
	any headers the user set on us. We also need to wrap
	InvalidOperationExceptions in WebExceptions.

svn path=/branches/mono-2-6/mcs/; revision=148181
2009-12-12 00:08:49 +00:00
Chris Toshok f5cfcf20cb in System.Runtime.Serialization.Json:
2009-12-11  Chris Toshok  <[email protected]>

	* TypeMap.cs (CreateDefaultTypeMap): only include non-public
	property info when dealing with KeyValuePair<,>.  This is *not*
	the way MS handles it, but we emulate things much better with this
	hack.

in test/System.Runtime.Serialization.Json/:
2009-12-11  Chris Toshok  <[email protected]>

	* DataContractJsonSerializerTest.cs: add a test case for
	non-public properties.

svn path=/branches/mono-2-6/mcs/; revision=148138
2009-12-11 20:30:00 +00:00
Zoltan Varga bc764d6bb1 2009-12-11 Zoltan Varga <[email protected]>
* driver.c: Applied patch from Matt McClellan ([email protected]). Add a check
	for 2 parameter sched_setaffinity in older glibc versions. Fixes
	#564000.

svn path=/branches/mono-2-6/mono/; revision=148125
2009-12-11 19:53:23 +00:00
Zoltan Varga a6ea1406b7 2009-12-11 Zoltan Varga <[email protected]>
* configure.in: Applied patch from Matt McClellan ([email protected]). Add a check
	for 2 parameter sched_setaffinity in older glibc versions. Fixes
	#564000.

svn path=/branches/mono-2-6/mono/; revision=148124
2009-12-11 19:53:15 +00:00
Paolo Molaro 747445cc54 Fri Dec 11 18:24:04 CET 2009 Paolo Molaro <[email protected]>
* boehm-gc.c: fixed race condition while getting the target of a
	disappearing link (bug #522233).



svn path=/branches/mono-2-6/mono/; revision=148106
2009-12-11 17:17:37 +00:00
Chris Toshok 9e0f402833 merge mono and mcs up to version 148086 for moonlight 2.0 branch
svn path=/branches/moon/moon-2-0/mcs/; revision=148089
2009-12-11 05:06:47 +00:00
Chris Toshok 5d89c857e3 merge mono and mcs up to version 148086 for moonlight 2.0 branch
svn path=/branches/moon/moon-2-0/mono/; revision=148088
2009-12-11 05:06:31 +00:00
Zoltan Varga 8511b36fb1 2009-12-10 Zoltan Varga <[email protected]>
* aot-compiler.c (add_wrappers): Avoid generating synchronized wrappers for
	generic methods.

svn path=/branches/mono-2-6/mono/; revision=148039
2009-12-10 18:46:03 +00:00
Geoff Norton 58810b7bb7 Fix 2.6 on OSX 10.4 PPC
svn path=/branches/mono-2-6/mono/; revision=148001
2009-12-10 04:06:33 +00:00
Sebastien Pouliot 0c2ad9a11d 2009-12-09 Sebastien Pouliot <[email protected]>
* loader.c (mono_method_signature): Always call mono_loader_unlock 
	before returning.
	[Backport r147991]


svn path=/branches/mono-2-6/mono/; revision=147992
2009-12-10 01:23:33 +00:00
Rodrigo Kumpera 456fa62714 In .:
2009-12-09  Rodrigo Kumpera  <[email protected]>

	* metadata-verify.c: Add mono_verifier_verify_string_signature to check
	user string blobs.

	* verify-internals.h: Add new function to the internal API.

	* verify.c (do_ldstr): Call into mono_verifier_verify_string_signature to
	check if it's a valid string.

	* object.c (mono_ldstr): Ditto.

	Fixes #561943.

	Backport of r147941.


svn path=/branches/mono-2-6/mono/; revision=147949
2009-12-09 21:29:37 +00:00
Geoff Norton a3e6e82b52 fix the build on the mac 10.4
svn path=/branches/mono-2-6/mono/; revision=147946
2009-12-09 20:55:17 +00:00
Geoff Norton 4f52abe7f6 fix build on win32
svn path=/branches/mono-2-6/mono/; revision=147945
2009-12-09 20:49:01 +00:00
Jb Evain a0f7c6ea11 2009-12-09 Jb Evain <[email protected]>
* ThreadPool.cs (QueueUserWorkItem): properly throw
	an ANE instead of triggering a NRE when being passed a null callback.

	backports r147934.


svn path=/branches/mono-2-6/mcs/; revision=147938
2009-12-09 19:25:44 +00:00
Jb Evain bb834cd689 2009-12-09 Jb Evain <[email protected]>
* StringComparer.cs (GetHashCode): properly throw an
	ANE instead of triggering a NRE.

	backports r147932.


svn path=/branches/mono-2-6/mcs/; revision=147937
2009-12-09 19:24:33 +00:00
Chris Toshok 1c102ac0d5 2009-12-09 Chris Toshok <[email protected]>
* Encoding.cs (get_Default): moonlight defaults to UTF8, not
	UTF8Unmarked.

svn path=/branches/mono-2-6/mcs/; revision=147922
2009-12-09 17:38:57 +00:00
Zoltan Varga c8167fc356 2009-12-09 Zoltan Varga <[email protected]>
* debugger-agent.c (start_runtime_invoke): Fix a crash if this is called
	on the debugger thread.

svn path=/branches/mono-2-6/mono/; revision=147913
2009-12-09 15:04:28 +00:00
Geoff Norton 8ff52f4e31 Disable this on 2.6
svn path=/branches/mono-2-6/mono/; revision=147884
2009-12-08 20:55:28 +00:00
Geoff Norton 7d53402ef0 2009-12-08 Geoff Norton <[email protected]>
* debugger-agent.c:  Refactor the mono_runtime_invoke guarding against
	stepping out into native code.  There were issues with nested invokes
	like .cctors.

svn path=/branches/mono-2-6/mono/; revision=147883
2009-12-08 20:55:25 +00:00
Jonathan Pryor cb11cb28de * sqlmetal.exe.config: Add provider entry for SQL Server.
* sqlmetal.exe.sources: Add additional files.

svn path=/branches/mono-2-6/mcs/; revision=147881
2009-12-08 19:57:44 +00:00
Jonathan Pryor 7eb8ca18fd * src/**/*, examples/**/*: Sync with DbLinq r1293. This adds
SchemaLoader support for Microsoft SQL Server, allowing sqlmetal to 
	  generate entity stubs against SQL Server databases.
	* System.Data.Linq.dll.sources: Add files to the build.

svn path=/branches/mono-2-6/mcs/; revision=147880
2009-12-08 19:57:26 +00:00
Jb Evain 23222c4965 2009-12-08 Jb Evain <[email protected]>
* Enum.cs (IConvertible.ToType): properly convert enum values
	to strings instead of their numeric values.

	backport r147482.


svn path=/branches/mono-2-6/mcs/; revision=147858
2009-12-08 14:35:40 +00:00
Sebastien Pouliot 9830efc1ba 2009-12-08 Sebastien Pouliot <[email protected]>
* driver.c: Fail gracefully with --compile-all if mono_method_signature
	returns NULL (e.g. a bad assembly).


svn path=/branches/mono-2-6/mono/; revision=147854
2009-12-08 14:11:44 +00:00
Marek Safar 7244335fbb 2009-12-08 Marek Safar <[email protected]>
A fix for bug #561149
	anonymous.cs: Use actual type parameters when checking for generic
	method host.


svn path=/branches/mono-2-6/mcs/; revision=147846
2009-12-08 13:01:23 +00:00
Chris Toshok 86d426f94e 2009-12-08 Chris Toshok <[email protected]>
* JsonSerializationReader.cs (DeserializeGenericCollection): in
	the 2.1 case we still need to convert the List<> to an array.

svn path=/branches/mono-2-6/mcs/; revision=147834
2009-12-08 08:05:00 +00:00
Chris Toshok 31ed81efbf in System.ServiceModel.Web/System.Runtime.Serialization.Json:
2009-12-07  Chris Toshok  <[email protected]>

	* JsonReaderWriterFactory.cs (CreateJsonReader): pass null for the
	encoding parameter instead of calling Detect.  The jsonreader's
	PushbackReader will autodetect.
	(Detect): remove.  a BufferedStream created from an unseekable
	stream is itself unseekable, which makes it just as useless.  This
	breaks netflix's isostore file parsing.

	* JsonReader.cs (PushbackReader): add a ctor which doesn't take an
	encoding, for the autodetecting reader case.  for this ctor, pass
	true to StreamReader's ctor for detectEncodingFromByteOrderMarks.

svn path=/branches/mono-2-6/mcs/; revision=147830
2009-12-08 04:56:50 +00:00
Geoff Norton 04d595a679 2009-12-07 Geoff Norton <[email protected]>
* debugger-agent.c:  Darwin can colesce signals, so we need to handle
	the interrupt_count slightly differently.  Native threads were never
	marked as resumed.

svn path=/branches/mono-2-6/mono/; revision=147817
2009-12-07 23:18:11 +00:00
Rodrigo Kumpera 674d53942a In metadata:
2009-12-07  Rodrigo Kumpera  <[email protected]>

	* class.c (mono_class_from_typeref): Bounds check idx against the 
	assemblyref table.

	Backport of r147797.


svn path=/branches/mono-2-6/mono/; revision=147798
2009-12-07 18:53:58 +00:00
Chris Toshok c7793c1daa in class/corlib/System.Collections.Generic/:
2009-12-06  Chris Toshok  <[email protected]>

	* KeyValuePair.cs: we need setters for Key and Value so they can
	be set via reflection from
	System.ServiceModel.System.Runtime.Serialization.Json.TypeMap.cs.

in class/System.ServiceModel.Web/System.Runtime.Serialization.Json/:
2009-12-06  Chris Toshok  <[email protected]>

	* JsonSerializationReader.cs (DeserializeGenericCollection): this
	is jb's (iirc) patch, actually.  Types subclassing from
	ICollection<T> need to be supported, and since it's an interface
	the implementation might be explicit.  So instead of groveling
	around in the actual type, we need to dispatch through the
	interface's method.

	* TypeMap.cs (CreateDefaultTypeMap): we need to include non-public
	properties, since KeyValuePair items must be able to write to Key
	and Value properties.

	* JsonReader.cs (ReadContent): for builtin values (null, true,
	false), use TryReadString instead of individual ReadChar's, since
	they aren't reversible if the string didn't match.  In the default
	case, if we're LameSilverlightLiseralParser, we need to push back
	the current character onto the stream -- this is because for
	netflix's AppConfig.json we were parsing "frameRatePolicy" as
	"rameRatePolicy" (the 'f' was triggering the "false" parsing).
	(class PushBackReader): add this class to unify all the pushing
	back of characters we need to do.  1 character (JsonReader's old
	"saved_char") isn't enough given that you could have a property
	named, e.g., "falsifiable", and we'd need 4 characters worth of
	pushback to recognize that correctly.

svn path=/branches/mono-2-6/mcs/; revision=147767
2009-12-07 07:40:04 +00:00
Zoltan Varga ac520ae2a8 2009-12-05 Zoltan Varga <[email protected]>
* debugger-agent.c (buffer_add_value): Treat I/U as a valuetype, so the
	client can distinguish between intptrs and longs.

svn path=/branches/mono-2-6/mono/; revision=147746
2009-12-05 18:12:52 +00:00
Sebastien Pouliot dde7cdb961 2009-12-05 Sebastien Pouliot <[email protected]>
* System.Net.dll.sources: Remove (almost) everything. This 
	assembly in 3.5+ does not share anything with what SL2/3 
	provide (the later being a part of System.dll)
	[Backport r147727]


svn path=/branches/mono-2-6/mcs/; revision=147743
2009-12-05 17:48:41 +00:00
Zoltan Varga 7056310051 2009-12-05 Zoltan Varga <[email protected]>
Applied patch from Laurent Etiemble ([email protected]).

	* mono/metadata/assembly.c: When opening an assembly image, pass the real
	names in addition to the runtime generated one.

	* mono/metadata/image.h: Add a function to take the real name of the assembly
	image.

	* mono/metadata/image.c: If a real name has been passed to load an assembly,
	use it instead of the runtime generated one.

	Code is contributed under MIT/X11 license.

svn path=/branches/mono-2-6/mono/; revision=147741
2009-12-05 17:33:31 +00:00
Zoltan Varga f93581d4ce 2009-12-05 Zoltan Varga <[email protected]>
* marshal.c (emit_marshal_vtype): Do the klass == date_time_class checks
	before the other checks to prevent problems if the DateTime class is blittable.
	Hopefully fixes #559600.

svn path=/branches/mono-2-6/mono/; revision=147738
2009-12-05 06:34:46 +00:00
Geoff Norton 3c8838a150 2009-12-04 Geoff Norton <[email protected]>
* debugger-agent.c: When doing a func-eval invoke on a suspended runtime,
	we need to track the original suspend count so the thread properly
	wakes up in resume_thread.

svn path=/branches/mono-2-6/mono/; revision=147734
2009-12-05 04:06:21 +00:00
Lluis Sanchez 59bb3789ae 2009-12-05 Lluis Sanchez <[email protected]>
* StructMirror.cs: Fix field indexer for structs with static fields.
	* VirtualMachineManager.cs: Added an option to LaunchOptions which
	allows providing a custom method for launching the process. This
	allows launching mono in a wrapper process.


svn path=/branches/mono-2-6/mcs/; revision=147728
2009-12-05 00:56:17 +00:00
Sebastien Pouliot 7aebd64c92 2009-12-04 Sebastien Pouliot <[email protected]>
* CodeModule.cs: Silverlight does not allow AssemblyBuilderAccess.
	RunAndSave so we reduce it to AssemblyBuilderAccess.Run


svn path=/branches/mono-2-6/mcs/; revision=147715
2009-12-04 22:02:21 +00:00
Sebastien Pouliot a7266dcf84 In .:
2009-12-04  Sebastien Pouliot  <[email protected]>

	* net_2_1_raw_System.Net.dll.sources: Remove HttpStatusCode_2_1.cs
	[Backport r147704]

In System.Net:
2009-12-04  Sebastien Pouliot  <[email protected]>

	* HttpStatusCode_2_1.cs: Remove. SL3 provides all status code 
	since they are used for the client stack
	* WebClient_2_1.cs: Add Credentials property and change
	ResponseHeaders property to public
	* WebRequest_2_1.cs: Add Credentials property
	[Backport r147704]


svn path=/branches/mono-2-6/mcs/; revision=147705
2009-12-04 20:49:18 +00:00
Sebastien Pouliot fb93127829 2009-12-04 Sebastien Pouliot <[email protected]>
* SocketAsyncEventArgs.cs: Implement ConnectByNameError for 
	Moonlight 3


svn path=/branches/mono-2-6/mcs/; revision=147701
2009-12-04 20:23:21 +00:00
Sebastien Pouliot 9d33ebc014 2009-12-04 Sebastien Pouliot <[email protected]>
* HttpWebRequest_2_1.cs: Add CookieCollection, need to be 
	implemented in the client stack
	* HttpWebResponse_2_1.cs: CookieContainer is virtual. Add FIXME
	to move (a real) implementation into the client stack
	* WebRequest_2_1.cs: Add Create(string) overload (SL3)
	[Backport r147670]


svn path=/branches/mono-2-6/mcs/; revision=147671
2009-12-04 16:48:23 +00:00
Zoltan Varga fb0004eeb8 2009-12-04 Zoltan Varga <[email protected]>
* mini-trampolines.c (mono_create_static_rgctx_trampoline): Use a cache
	keyed on the method+addr pair, since addr could be either the method addr or
	an unbox trampoline in the AOT case. Fixes #560246.

svn path=/branches/mono-2-6/mono/; revision=147644
2009-12-04 07:45:58 +00:00
Jonathan Pobst 4e66ddedfd [Backport to 2.6]
2009-12-03  Jonathan Pobst  <[email protected]>

	* SortOrder.cs: Add enum.

2009-12-03  Jonathan Pobst  <[email protected]>

	* System.Data.dll.sources: Add SortOrder.cs.

svn path=/branches/mono-2-6/mcs/; revision=147637
2009-12-04 02:28:14 +00:00
Zoltan Varga cd14c2ec20 2009-12-03 Zoltan Varga <[email protected]>
* mini.c (mini_method_compile): Call handle_exception_clauses () in the same
	place it was called before too.

svn path=/branches/mono-2-6/mono/; revision=147625
2009-12-03 22:48:09 +00:00
Zoltan Varga 6019fee28f 2009-12-03 Zoltan Varga <[email protected]>
* mini.c (mono_jit_runtime_invoke): Avoid the call to mono_class_setup_vtable ()
	if no security manager is present, to speed up the AOT case. Call
	mono_class_vtable () full with raise_on_error == TRUE instead.

svn path=/branches/mono-2-6/mono/; revision=147610
2009-12-03 21:26:34 +00:00
Zoltan Varga 3111a70c90 2009-12-03 Zoltan Varga <[email protected]>
* mini.c (mini_method_compile): Call handle_exception_clauses earlier so
	the local optimization passes can take its result into account. Fixes
	#559876.

	* exceptions.cs: Add a test.

svn path=/branches/mono-2-6/mono/; revision=147606
2009-12-03 21:12:41 +00:00
Zoltan Varga 006e069345 2009-01-24 Steven Munroe <[email protected]>
This patch is contributed under the terms of the MIT/X11 license

        * cpu-ppc64.md (load_memindex): Add loadi8_memindex.

svn path=/branches/mono-2-6/mono/; revision=147600
2009-12-03 20:54:47 +00:00
Zoltan Varga 43d7c99d5d 2009-12-03 Zoltan Varga <[email protected]>
* src/gmisc-unix.c (g_get_user_name): Avoid returning NULL if the env
	var is not set.

svn path=/branches/mono-2-6/mono/; revision=147587
2009-12-03 19:36:12 +00:00
Zoltan Varga 6fa30df202 2009-12-03 Zoltan Varga <[email protected]>
* StructMirror.cs (this): Ignore static fields.

svn path=/branches/mono-2-6/mcs/; revision=147579
2009-12-03 18:37:16 +00:00
Rodrigo Kumpera afd465bdd9 In .:
2009-12-03  Rodrigo Kumpera  <[email protected]>

	* loader.c (find_method_in_class): Ignore methods with broken signatures.

	Fixes #559906.

	Backport of r147557.


svn path=/branches/mono-2-6/mono/; revision=147558
2009-12-03 13:50:10 +00:00
Geoff Norton 12ac0cfb81 2009-12-02 Geoff Norton <[email protected]>
* VirtualMachineManager.cs: We might get a SocketException (interrupted)
	here, so lets just handle all Exceptions to our Accept pattern the same
	way

svn path=/branches/mono-2-6/mcs/; revision=147527
2009-12-03 04:15:30 +00:00
Zoltan Varga db97682388 2009-12-03 Zoltan Varga <[email protected]>
* debugger-agent.c: Rework the handling of stack traces of running threads to
	avoid crashes if compute_frames () tries to walk the stack of running thread.

	* mini.c (mono_print_method_from_ip): Use mini_jit_info_table_find.

	* mini-exceptions.c (mono_jit_walk_stack_from_ctx_in_thread): Set frame->lmf.

	* mini.h (StackFrameInfo): Add an 'lmf' field.

svn path=/branches/mono-2-6/mono/; revision=147519
2009-12-03 01:52:40 +00:00
Sebastien Pouliot e5e171b0ed 2009-12-02 Sebastien Pouliot <[email protected]>
* CommunicationObjectAbortedException.cs, ServerTooBusyException.cs,
	ServiceActivationException.cs: Fix base class
	* ServiceKnownTypeAttribute.cs: Seal type and add missing 
	[AttributeUsage] attribute
	[Backport r147513]


svn path=/branches/mono-2-6/mcs/; revision=147514
2009-12-03 01:38:02 +00:00
Miguel de Icaza 8d19501475 Backport
svn path=/branches/mono-2-6/mono/; revision=147500
2009-12-02 21:33:03 +00:00
Gonzalo Paniagua Javier 48c22433a8 2009-12-02 Gonzalo Paniagua Javier <[email protected]>
* Expression.cs: expression can be null for static getters. Patch from
	Miguel de Icaza ([email protected]).


svn path=/branches/mono-2-6/mcs/; revision=147499
2009-12-02 21:01:55 +00:00
Rodrigo Kumpera 94acf2e05e In .:
* verify.c (get_stack_type): Return that the type is invalid instead of
	asserting.

	* verify.c (mono_method_verify): Verify that all locals and arguments
	have valid stack types.

	Fixes #559913.

	Backport of r147485.

2009-12-02  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=147486
2009-12-02 19:13:10 +00:00
Rodrigo Kumpera 726091788b In .:
* verify.c (mono_method_verify): Bounds check the filter offset. Make all
	bounds checking overflow aware.

	Fixes #559910.

	Backport of r147472.

2009-12-02  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=147473
2009-12-02 18:04:46 +00:00
Rodrigo Kumpera bc5d476580 In .:
* verify.c (do_invoke_method): Check for invalid method signatures.

	Fixes #553450.

	Backport of r147464.

2009-12-02  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=147466
2009-12-02 17:04:37 +00:00
Rodrigo Kumpera a951193a79 In .:
2009-12-02  Rodrigo Kumpera  <[email protected]>
	* class.c (mono_class_setup_fields): Fail an enum without an instance field.

	Fixes #558042.

	Backport of r147455.


svn path=/branches/mono-2-6/mono/; revision=147456
2009-12-02 16:06:34 +00:00
Paolo Molaro af80a02eb3 Wed Dec 2 16:35:49 CET 2009 Paolo Molaro <[email protected]>
* class.c: remove asserts for invalid type token in
	mono_class_name_from_token(), mono_assembly_name_from_token() and
	mono_class_create_from_typedef () (fixes bug #553318).


svn path=/branches/mono-2-6/mono/; revision=147445
2009-12-02 15:32:13 +00:00
Paolo Molaro d3c3e13c76 Wed Dec 2 15:48:19 CET 2009 Paolo Molaro <[email protected]>
* metadata.c, class.c, loader.c: remove assert after bsearch() for
	incorrect assemblies (bug #553322).


svn path=/branches/mono-2-6/mono/; revision=147440
2009-12-02 14:48:37 +00:00
Rodrigo Kumpera d50e89a3d7 In .:
* metadata.c (mono_metadata_inflate_generic_inst): Add MonoError parameter.

	* metadata-internals.h: Change signature of mono_metadata_inflate_generic_inst. 

	* class.c (inflate_generic_type): Use new version of mono_metadata_inflate_generic_inst.

	* class.c (inflate_generic_context): Ditto.

	* loader.c (method_from_methodspec): Ditto.

	Fixes #558230.

	Backport of r147436.

2009-12-02  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=147437
2009-12-02 14:35:22 +00:00
Rodrigo Kumpera 95fbfbc0d0 In .:
* class.c (mono_type_retrieve_from_typespec): Use MonoError machinery to report errors.

	* class.c (mono_class_create_from_typespec): Ditto.

	* class.c (mono_class_get_full): Fix for change on the above 2 functions.

	* class.c (mono_type_get_full): Fix for change on the above 2 functions.

	Fixes #558184.

	Backport of r147427.

2009-12-02  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=147428
2009-12-02 13:24:43 +00:00
Rodrigo Kumpera 118fb543a6 In .:
2009-12-02  Rodrigo Kumpera  <[email protected]>

	* verify.c (mono_class_has_default_constructor): Check fror broken signatures.

	* verify.c (verify_delegate_compatibility): Ditto.

	* verify.c (do_newobj): Ditto.

	Fixes #558046.

	Backport of r147422.


svn path=/branches/mono-2-6/mono/; revision=147424
2009-12-02 12:36:19 +00:00
Marek Habersack e79c9d3504 Backport of r147399
svn path=/branches/mono-2-6/mcs/; revision=147401
2009-12-02 09:01:51 +00:00
Chris Toshok ce62f72758 merge mono and mcs up to version 147226 for moonlight 2.0 branch
svn path=/branches/moon/moon-2-0/mono/; revision=147285
2009-12-02 06:18:24 +00:00
Chris Toshok 399ba28adc merge mono and mcs up to version 147226 for moonlight 2.0 branch
svn path=/branches/moon/moon-2-0/mcs/; revision=147285
2009-12-02 06:18:24 +00:00
Sebastien Pouliot cc90c9b8d3 2009-12-01 Sebastien Pouliot <[email protected]>
* DataContractSerializer.cs: Add two missing methods for FX3.0 
	and SL2/SL3.
	[Backport r147280]


svn path=/branches/mono-2-6/mcs/; revision=147281
2009-12-02 02:08:06 +00:00
Zoltan Varga 230a49d4c9 2009-12-02 Zoltan Varga <[email protected]>
* debugger-agent.c (suspend_current): Always set really_suspended.

svn path=/branches/mono-2-6/mono/; revision=147278
2009-12-02 02:01:25 +00:00
Zoltan Varga b325135bd7 2009-12-02 Zoltan Varga <[email protected]>
* debugger-agent.c (clear_event_request): Clear method entry/exit requests too.

	* exceptions-x86.c (mono_arch_get_restore_context): Restore EAX too.

svn path=/branches/mono-2-6/mono/; revision=147274
2009-12-01 23:44:28 +00:00
Zoltan Varga 0ec5aff390 2009-12-01 Zoltan Varga <[email protected]>
* VirtualMachine.cs (ErrorHandler): Handle NOT_SUSPENDED error code too.

svn path=/branches/mono-2-6/mcs/; revision=147272
2009-12-01 22:27:38 +00:00
Zoltan Varga a3aa25068f 2009-12-01 Zoltan Varga <[email protected]>
* debugger-agent.c (vm_commands): Don't allow invokes on threads which are not
	really suspended.

svn path=/branches/mono-2-6/mono/; revision=147271
2009-12-01 22:26:53 +00:00
Rodrigo Kumpera 90daa550c5 In .:
* verify.c (mono_method_verify): Check for catch clauses with broken
	types.

	Fixes #558465.

	Backport of r147261.

2009-12-01  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=147262
2009-12-01 19:42:37 +00:00
Rodrigo Kumpera a94b3e2399 In mono/metadata:
* verify.c (code_bounds_check): Do proper overflow checking.

	* verify.c (mono_method_verify): The number of switch entries is
	an unsigned int. Properly bounds check it.

	Fixes #558594.

	Backport of r147259.

2009-12-01  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=147260
2009-12-01 19:19:24 +00:00
Zoltan Varga e22dd447f7 2009-12-01 Zoltan Varga <[email protected]>
* cpu-ppc64.md (store_memindex): Add storei8_memindex.

svn path=/branches/mono-2-6/mono/; revision=147258
2009-12-01 19:08:36 +00:00
Rodrigo Kumpera 64d9eda0c4 In .:
* mini-trampolines.c: Fix MSVC build.

	Backport of r147245.

2009-12-01 Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=147253
2009-12-01 18:34:13 +00:00
Rodrigo Kumpera 78b9e915a9 In .:
* metadata.c: Kill mono_metadata_get_param_attrs_checked. Add
	mono_metadata_method_has_param_attrs which only checks if a given param
	list has a non zero flags entry.

	* metadata.c (mono_metadata_get_param_attrs): Add param_count parameter
	to inform how many params should we expect to decode.

	* loader.c (mono_method_signature): Use mono_metadata_method_has_param_attrs
	as it's faster than mono_metadata_get_param_attrs.

	* metadata-internals.h: Fix mono_metadata_get_param_attrs signature and
	add mono_metadata_method_has_param_attrs.

	Backport of r147244.

2009-12-01  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=147252
2009-12-01 18:31:30 +00:00
Sebastien Pouliot c355383183 2009-12-01 Sebastien Pouliot <[email protected]>
* XmlDictionaryReader.cs: Fix ReadValueAsBase64 return value and
	remove NET_2_1 (gui-compare shows this in our 3.0 SP1 profile)
	[Backport r147250]


svn path=/branches/mono-2-6/mcs/; revision=147251
2009-12-01 18:25:29 +00:00
Sebastien Pouliot 6783d561cd 2009-12-01 Sebastien Pouliot <[email protected]>
* net_2_1_raw_System.dll.sources: Add existing files that are 
	part of Silverlight 3 (but were not in Silverlight 2)


svn path=/branches/mono-2-6/mcs/; revision=147238
2009-12-01 16:02:24 +00:00
Sebastien Pouliot 5e160a8c79 oops, typo
svn path=/branches/mono-2-6/mcs/; revision=147234
2009-12-01 14:41:53 +00:00
Sebastien Pouliot 6c8320808c 2009-12-01 Sebastien Pouliot <[email protected]>
* CryptoConfig_2_1.cs: Add mapping for SHA256 since it's used 
	internally in corlib (e.g. HMAC256)
	* KeySizes.cs, RandomNumberGenerator.cs, RNGCryptoServiceProvider.cs:
	Remove [ComVisible] attribute from NET_2_1 build.


svn path=/branches/mono-2-6/mcs/; revision=147226
2009-12-01 14:02:51 +00:00
Rodrigo Kumpera dc32001c51 In .:
2009-12-01 Rodrigo Kumpera  <[email protected]>

	* mini-trampolines.c: Check for mono_method_get_vtable_slot failures.

	Backport of r147220.


svn path=/branches/mono-2-6/mono/; revision=147224
2009-12-01 13:54:55 +00:00
Rodrigo Kumpera 3f58280e19 In .:
* class.c (mono_class_setup_vtable_general): Check for mono_method_get_vtable_slot
	failures.

	* class.c (mono_method_get_vtable_slot): Don't assert if the computed method slot
	is -1 but its class is broken.

	Fixes #558522.

	Backport of r147219.

2009-12-01  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=147223
2009-12-01 13:53:11 +00:00
Rodrigo Kumpera 838bee9b74 In .:
* metadata.c: Introduce mono_metadata_get_param_attrs_checked which checks
	for parameter overflow.

	* metadata.c (mono_metadata_parse_method_signature_full): Use checked version
	of mono_metadata_get_param_attrs.

	* metadata-internals.h: Add mono_metadata_get_param_attrs_checked to the internal
	API.

	* loader.c (mono_method_signature): Use checked version of mono_metadata_get_param_attrs.

	Backport of r147218.

2009-12-01  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=147222
2009-12-01 13:52:47 +00:00
Rodrigo Kumpera 8b6fbe262b In .:
2009-12-01  Rodrigo Kumpera  <[email protected]>

	* class.c (mono_class_setup_fields): Check for fields with broken types.

	Fixes #558741.

	Backport of r147214.


svn path=/branches/mono-2-6/mono/; revision=147215
2009-12-01 12:32:48 +00:00
Chris Toshok 2b6be89b67 merge 146453 from mono-2-6
svn path=/branches/moon/moon-2-0/mono/; revision=147187
2009-12-01 08:19:32 +00:00
Atsushi Eno b9a2c9d229 backport r147183.
svn path=/branches/mono-2-6/mcs/; revision=147184
2009-12-01 07:15:13 +00:00
Atsushi Eno a55a564918 backport r147178 and r147181.
svn path=/branches/mono-2-6/mcs/; revision=147182
2009-12-01 06:41:11 +00:00
Sebastien Pouliot e390d66fc6 2009-11-30 Sebastien Pouliot <[email protected]>
* CookieCollection.cs: Seal inner CookieCollectionPathComparer
	* IPAddress.cs: Avoid multiple casts in Equals
	* SocketAddress.cs: Avoid multiple casts in Equals
	[Found using Gendarme]
	[Backport r147163]


svn path=/branches/mono-2-6/mcs/; revision=147164
2009-12-01 02:07:53 +00:00
Sebastien Pouliot 57b211972c 2009-11-30 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Remove [StringFreezing] and [DefaultDependency]
	from NET_2_1 builds
	[Backport r147158]


svn path=/branches/mono-2-6/mcs/; revision=147159
2009-12-01 01:38:35 +00:00
Sebastien Pouliot 7d9c1e759d 2009-11-30 Sebastien Pouliot <[email protected]>
* Uri.cs: Hide protected EscapeString and Unescape for SL2/3
	* UriTypeConverter.cs: Seal type for SL2/3
	[Backport r147156]


svn path=/branches/mono-2-6/mcs/; revision=147157
2009-12-01 01:28:25 +00:00
Sebastien Pouliot 3184ffc4bc 2009-11-30 Sebastien Pouliot <[email protected]>
* TypeConverterAttribute.cs: Add missing [ComVisible] for SL2/3 builds
	[Backport r147154]


svn path=/branches/mono-2-6/mcs/; revision=147155
2009-12-01 01:21:35 +00:00
Sebastien Pouliot d994a4f8fa 2009-11-30 Sebastien Pouliot <[email protected]>
* Debug_2_1.cs: Change type to sealed to match SL2/3


svn path=/branches/mono-2-6/mcs/; revision=147152
2009-12-01 01:10:41 +00:00
Zoltan Varga a099d612d9 2009-11-30 Zoltan Varga <[email protected]>
* mini-arm.c (mono_arch_lowering_pass): Fix an assert which is hit when
	the instruction following an OP_FCOMPARE is optimized away.

svn path=/branches/mono-2-6/mono/; revision=147103
2009-11-30 16:27:21 +00:00
Andrés G. Aragoneses a59ec954c2 * Assembly/AssemblyInfo.cs:
* Makefile: Remove the MOON_A11Y_INTERNAL_HACK define
for MoonAtkBridge after audit finished r147098.

svn path=/branches/mono-2-6/mcs/; revision=147102
2009-11-30 16:27:17 +00:00
Geoff Norton c3c3dd0da9 add Stopwatch to monotouch
svn path=/branches/mono-2-6/mcs/; revision=147099
2009-11-30 16:09:50 +00:00
Marek Habersack 6d6b34516e Backport of r147094
svn path=/branches/mono-2-6/mcs/; revision=147095
2009-11-30 12:52:16 +00:00
Zoltan Varga 2797d41db5 2009-11-29 Zoltan Varga <[email protected]>
* aot-compiler.c: Add an option to set the number of static rgctx trampolines
	generated.

svn path=/branches/mono-2-6/mono/; revision=147064
2009-11-28 23:12:55 +00:00
Zoltan Varga 487afeafc4 2009-11-28 Zoltan Varga <[email protected]>
* appdomain.c (create_exceptions): New helper function extracted from
	mono_runtime_init () to precreate objects used during exception handling.
	(mono_runtime_init): Call it.
	(mono_domain_create_appdomain_internal): Ditto. Fixes #555264.

svn path=/branches/mono-2-6/mono/; revision=147058
2009-11-28 17:34:14 +00:00
Zoltan Varga bff469cafa Fix a warning.
svn path=/branches/mono-2-6/mono/; revision=147041
2009-11-27 15:24:54 +00:00
Zoltan Varga 12986e9a2f 2009-11-27 Zoltan Varga <[email protected]>
* class.c (mono_class_setup_vtable_general): Cache the result of
	get_virtual_methods () since it can be slow because of the metadata
	optimization.

svn path=/branches/mono-2-6/mono/; revision=147039
2009-11-27 15:24:06 +00:00
Zoltan Varga 37b4075223 2009-11-27 Zoltan Varga <[email protected]>
* metadata-internals.h (_MonoImage): Change 'method_cache' to a GHashTable
	from a MonoValueHashTable for now, since the later is based on an earlier
	version of hpj's internal probing code and seems to have serious collision
	issues.

	* loader.c (mono_get_method_full): Update after the change above.

svn path=/branches/mono-2-6/mono/; revision=147038
2009-11-27 15:23:59 +00:00
Zoltan Varga 0fd5b334b0 2009-11-27 Zoltan Varga <[email protected]>
* aot-compiler.c (emit_globals_table): Use temp_prefix instead of .L in a few
	places.

svn path=/branches/mono-2-6/mono/; revision=147021
2009-11-27 02:31:44 +00:00
Zoltan Varga 519a232b2d 2009-11-24 Zoltan Varga <[email protected]>
* aot-compiler.c: Avoid infinite recursion when generic virtual recursion is
	encountered.

svn path=/branches/mono-2-6/mono/; revision=147018
2009-11-26 23:53:41 +00:00
Zoltan Varga 58f33f8959 2009-11-27 Zoltan Varga <[email protected]>
* aot-compiler.c (emit_globals_table): Emit a hash table for the globals, to
	avoid linear searches at runtime.

	* aot-runtime.c (find_symbol): Update this to use the hash.

	* mini.h: Bump AOT file format version.

svn path=/branches/mono-2-6/mono/; revision=147017
2009-11-26 23:53:34 +00:00
Zoltan Varga 1ccdb2b294 Fix the previous commit.
svn path=/branches/mono-2-6/mono/; revision=147014
2009-11-26 21:01:47 +00:00
Zoltan Varga b50110122d 2009-11-26 Zoltan Varga <[email protected]>
* mono-ehash.c (mono_g_hash_table_find): Add this for eglib too.

svn path=/branches/mono-2-6/mono/; revision=147012
2009-11-26 20:54:03 +00:00
Marek Safar f28f29e604 2009-11-26 Marek Safar <[email protected]>
A fix for bug #545081
	* decl.cs: Check private nested types of nested types recursively.


svn path=/branches/mono-2-6/mcs/; revision=147004
2009-11-26 17:45:04 +00:00
Marek Safar 24e5f03bcf 2009-11-26 Marek Safar <[email protected]>
A fix for bug #558305
	* location.cs: Ignore self referencing #line directive


svn path=/branches/mono-2-6/mcs/; revision=146998
2009-11-26 15:32:19 +00:00
Sebastien Pouliot de60184478 2009-11-26 Sebastien Pouliot <[email protected]>
* Random.cs: Fix case where the diff between min and max
	is very large in Next(int,int). Fix bug #558593
	[Backport r146993]


svn path=/branches/mono-2-6/mcs/; revision=146994
2009-11-26 15:21:29 +00:00
Marek Safar 406b2d7a00 2009-11-26 Marek Safar <[email protected]>
A fix for bug #558292
	* class.cs: Allow single unsafe fixed buffer fields.


svn path=/branches/mono-2-6/mcs/; revision=146989
2009-11-26 14:46:56 +00:00
Rodrigo Kumpera ee9a969d25 In metadata:
2009-11-26  Rodrigo Kumpera  <[email protected]>

	* class.c (check_interface_method_override): Check for NULL signatures and fail
	the type.

	* debug-helpers.c (mono_signature_get_desc): Return a fixed string for NULL signatures.

	Fixes #553428.

	Backport of r146970.


svn path=/branches/mono-2-6/mono/; revision=146971
2009-11-26 11:01:16 +00:00
Rodrigo Kumpera a8307a851d In metadata:
* loader.c (field_from_memberref): Resolve the class first then the field
	signature. Remove a lot of duplicated code and make sure we don't pass valid
	values to mono_loader_set_error_field_load.

	Fixes #553306.

	Backport of r146937.

2009-11-25  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=146941
2009-11-25 19:52:19 +00:00
Rodrigo Kumpera 38e80cb638 In metadata:
2009-11-25  Rodrigo Kumpera  <[email protected]>

	* class.c (inflate_generic_type): Change code to use new signature of
	mono_error_set_bad_image.

	Fixes #558124.

	Backport of r146936.

In utils:
2009-11-25 Rodrigo Kumpera  <[email protected]>

	* mono-error-internals.h: Add mono_error_set_bad_image_name and change signature
	of mono_error_set_bad_image to take a MonoImage instead of a const char *.

	* mono-error.c: Same.

	Backport of r146936.


svn path=/branches/mono-2-6/mono/; revision=146939
2009-11-25 19:36:43 +00:00
Jb Evain 0fc5630825 in System.Collections.Generic:
2009-11-25  Jb Evain  <[email protected]>

	* Queue.cs (Enqueue): deal with the case where the tail
	is off the array when deciding to enlarge the capacity.

	backport 146925.

in Test/System.Collections.Generic:
2009-11-25  Jb Evain  <[email protected]>

	* QueueTest.cs: add test for a specific combination of
	calls that make the queue crash when enqueuing an item.

	backport 146925.

svn path=/branches/mono-2-6/mcs/; revision=146926
2009-11-25 17:33:10 +00:00
Sebastien Pouliot 4e11e4cef8 2009-11-25 Sebastien Pouliot <[email protected]>
* verify.c (mono_method_verify): Don't free ctx.params items if 
	we aborted while inflating the ctx.locals. Complete previous fix
	[Backport 146919]


svn path=/branches/mono-2-6/mono/; revision=146920
2009-11-25 16:19:17 +00:00
Jb Evain f4bf675eef in System.Collections.Generic:
2009-11-25  Jb Evain  <[email protected]>

	* Queue.cs (ICollection.CopyTo): fix typo, remove code duplication.

	backport r146914.

in Test/System.Collections.Generic:
2009-11-25  Jb Evain  <[email protected]>

	* QueueTest.cs: add tests for ICollection.CopyTo.

	backport r146914.

svn path=/branches/mono-2-6/mcs/; revision=146915
2009-11-25 15:44:30 +00:00
Zoltan Varga 7a30c3b1ba 2009-11-25 Zoltan Varga <[email protected]>
* Delegate.cs (GetHashCode): Fix this so it is constant.

svn path=/branches/mono-2-6/mcs/; revision=146905
2009-11-25 13:39:35 +00:00
Sebastien Pouliot 19e874fd82 2009-11-25 Sebastien Pouliot <[email protected]>
* verify.c (mono_method_verify): Use the uninflated type name, 
	when the inflated is null, to report errors. Also take care when
	freeing, not to free everything since, in case of an error, some
	stuff would be copies (i.e. not allocated by the function itself)
	Fix bug #558145
	[Backport r146900]


svn path=/branches/mono-2-6/mono/; revision=146901
2009-11-25 13:08:36 +00:00
Zoltan Varga 8c28cbe7a4 2009-11-25 Zoltan Varga <[email protected]>
* debugger-agent.c (vm_commands): Implement EXIT by invoking Environment.Exit ()
	on a random thread if possible.

svn path=/branches/mono-2-6/mono/; revision=146899
2009-11-25 12:51:39 +00:00
Zoltan Varga 398e639c0c 2009-11-25 Zoltan Varga <[email protected]>
* mono-hash.c (mono_g_hash_table_find): Implement this.

svn path=/branches/mono-2-6/mono/; revision=146898
2009-11-25 12:51:29 +00:00
Rodrigo Kumpera 6b0fe6fbb0 In metadata:
* verify.c (stack_push, stack_pop, stack_pop_safe): Assert if we underflow
	or overflow. The caller must have done this check explicitly. This guard us
	from accessing invalid memory.

	* verify.c (do_push_static_field): Check for stack overflow.

	Fixes #553333.

	Backport of r146876.

2009-11-24  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=146881
2009-11-25 02:22:57 +00:00
Rodrigo Kumpera e0c474d88c In .:
2009-11-24  Rodrigo Kumpera  <[email protected]>

	* loader.c (find_method_in_class): Don't crash if the signature cannot
	be resolved.

	* metadata.c (mono_metadata_parse_generic_param): Return NULL instead
	of asserting for the case of invalid params.

	Fixes #553304.

	Backport of r146875.


svn path=/branches/mono-2-6/mono/; revision=146880
2009-11-25 02:05:36 +00:00
Geoff Norton 71a789e874 2009-11-24 Geoff Norton <[email protected]>
* mini-darwin.c: Work around apple bug rdar://7209349  See
        http://openradar.appspot.com/7209349 for details.  Synopsis,
        CoreFoundation SIGTRAP's if you dlopen it off the main thread if its
        never been initialized before.

svn path=/branches/mono-2-6/mono/; revision=146872
2009-11-25 00:53:08 +00:00
Zoltan Varga 38a62af6c3 2009-11-24 Zoltan Varga <[email protected]>
* tramp-arm.c: Use blx instead of mov pc, reg to improve support for thumb.

	* mini-arm.c (mono_arm_thumb_supported): New helper function.

svn path=/branches/mono-2-6/mono/; revision=146864
2009-11-24 21:58:43 +00:00
Bill Holmes 6273d99a9b 2009-11-24 Bill Holmes <[email protected]>
Backport of 144280.

	* cominterop.c : Search the interface parts of vtable to find
	  method matches.  Fixes 547030.

	Code is contributed under MIT/X11 license.


svn path=/branches/mono-2-6/mono/; revision=146860
2009-11-24 20:40:35 +00:00
Zoltan Varga 373365e391 2009-11-24 Zoltan Varga <[email protected]>
* cfold.c (mono_constant_fold_ins): Fix a problem in the previous change,
	OP_SHL_IMM is not 32 bit.

svn path=/branches/mono-2-6/mono/; revision=146853
2009-11-24 18:32:12 +00:00
Sebastien Pouliot a2e70adbe3 2009-11-24 Sebastien Pouliot <[email protected]>
* image.c (mono_image_load_module): Fix crash when a bad assembly
	has no module at all (fix bug #553412) and also replace the 
	g_assert with a return NULL (documented return value for failure)
	[Backport r146839]


svn path=/branches/mono-2-6/mono/; revision=146840
2009-11-24 16:18:21 +00:00
Jb Evain d24d4a16c4 2009-11-24 Jb Evain <[email protected]>
* Array.cs: use ContainsGenericParameters instead of
	IsGenericTypeDefinition as it catches more cases.

	backport r146834.


svn path=/branches/mono-2-6/mcs/; revision=146835
2009-11-24 15:25:21 +00:00
Jb Evain 11ead8847c in System:
2009-11-24  Jb Evain  <[email protected]>

	* Array.cs (IList.this[int]): prevent the use of the IList indexer 
	when dealing with a multi dimensional array.

	backport r146831.

in Test/System:
2009-11-24  Jb Evain  <[email protected]>

	* ArrayTest.cs: test that we don't allow the use of the IList indexer
	on a multi dimensional array.

	backport r146831.

svn path=/branches/mono-2-6/mcs/; revision=146832
2009-11-24 15:04:28 +00:00
Jb Evain 3e4b9eab12 in System:
2009-11-24  Jb Evain  <[email protected]>

	* Array.cs (Clear): throw an IndexOutOfRangeException instead
	of an ArgumentOutRangeException for a negative length.

	backport of r146825.

in Test/System:
2009-11-24  Jb Evain  <[email protected]>

	* ArrayTest: test for the proper exception on Clear ().

	backport of r146825.

svn path=/branches/mono-2-6/mcs/; revision=146827
2009-11-24 14:23:13 +00:00
Jb Evain e2b4686ee1 2009-11-24 Jb Evain <[email protected]>
* ArrayTest.cs: add test ensuring we do not allow open
	generic types in CreateInstance.

	backport of r146823.


svn path=/branches/mono-2-6/mcs/; revision=146824
2009-11-24 13:59:25 +00:00
Jb Evain 4de78797d2 2009-11-24 Jb Evain <[email protected]>
* Array.cs (CreateInstance): do not allow open generic types.

	backport r146821.


svn path=/branches/mono-2-6/mcs/; revision=146822
2009-11-24 13:58:05 +00:00
Jb Evain 2a4644b98b Fix all CreateInstance overloads for void
svn path=/branches/mono-2-6/mcs/; revision=146819
2009-11-24 13:44:07 +00:00
Jb Evain da5f305ee8 2009-11-24 Jb Evain <[email protected]>
* ArrayTest.cs: Add test ensuring we do not allow void arrays.

	backport r146815.

svn path=/branches/mono-2-6/mcs/; revision=146817
2009-11-24 13:33:11 +00:00
Jb Evain 8d29fbdbeb 2009-11-24 Jb Evain <[email protected]>
* Array.cs (CreateInstance): do not allow void arrays.

	backport r146814.

svn path=/branches/mono-2-6/mcs/; revision=146816
2009-11-24 13:32:58 +00:00
Zoltan Varga 39630e629a 2009-11-24 Zoltan Varga <[email protected]>
* debugger-agent.c: Sync this with the version of HEAD to make backporting
	easier.

svn path=/branches/mono-2-6/mono/; revision=146811
2009-11-24 13:06:21 +00:00
Zoltan Varga dba382bccb 2009-11-24 Zoltan Varga <[email protected]>
* ObjectMirror.cs TypeMirror.cs StructMirror.cs: Make the BeginInvokeMethod
	which takes a 'vm' argument obsolete, it was added by mistake, add a version
	without that argument instead.

svn path=/branches/mono-2-6/mcs/; revision=146810
2009-11-24 13:04:03 +00:00
Zoltan Varga 7b6b1d589f 2009-11-19 Zoltan Varga <[email protected]>
* AssemblyMirror.cs: Add a GetName () method.

svn path=/branches/mono-2-6/mcs/; revision=146809
2009-11-24 13:03:44 +00:00
Zoltan Varga 1244874e36 2009-11-24 Zoltan Varga <[email protected]>
* debugger-agent.c (resume_vm): Signal the suspend_cond even if suspend_count
	> 0 since some threads can resume if their resume_count is > 0.
	(invoke_method): Avoid reading freed memory.

svn path=/branches/mono-2-6/mono/; revision=146808
2009-11-24 13:02:41 +00:00
Zoltan Varga 94e71fae97 2009-11-24 Zoltan Varga <[email protected]>
* debugger-agent.c (process_suspend): Extract the suspend code from
	process_single_step_inner () to a separate function. Rework the code to prevent
	races between this function and thread interrupts.

svn path=/branches/mono-2-6/mono/; revision=146807
2009-11-24 13:02:34 +00:00
Zoltan Varga 3a38c41837 2009-11-24 Zoltan Varga <[email protected]>
* debugger-agent.c (suspend_current): Check the resume_count field instead
	of resume_one so suspends+resumes during single threaded invokes work
	correctly.

svn path=/branches/mono-2-6/mono/; revision=146778
2009-11-23 23:18:29 +00:00
Zoltan Varga d7941e0e61 2009-11-22 Zoltan Varga <[email protected]>
* debugger-agent.c: Fix the cygwin build.

svn path=/branches/mono-2-6/mono/; revision=146774
2009-11-23 22:08:29 +00:00
Marek Habersack 355cd2241e Forward-port of r146772
svn path=/branches/mono-2-6/mcs/; revision=146773
2009-11-23 22:03:09 +00:00
Marek Habersack b88e3eb6e4 Backport of r146764
svn path=/branches/mono-2-6/mcs/; revision=146765
2009-11-23 19:00:54 +00:00
Marek Habersack d82248bfa9 typo
svn path=/branches/mono-2-6/mcs/; revision=146751
2009-11-23 17:37:40 +00:00
Marek Habersack b65bf9c867 Fix 1.1 build
svn path=/branches/mono-2-6/mcs/; revision=146747
2009-11-23 17:28:35 +00:00
Marek Habersack b4f535348e Backport of r146732
svn path=/branches/mono-2-6/mcs/; revision=146733
2009-11-23 16:26:04 +00:00
Zoltan Varga bc56cd99ed Fix the 2.6 build.
svn path=/branches/mono-2-6/mono/; revision=146714
2009-11-23 09:29:18 +00:00
Zoltan Varga 10182053a9 2009-11-23 Zoltan Varga <[email protected]>
* debugger-agent.c: Implement single threaded invokes.

svn path=/branches/mono-2-6/mono/; revision=146694
2009-11-23 01:34:29 +00:00
Zoltan Varga a04af9118a 2009-11-23 Zoltan Varga <[email protected]>
* method-to-ir.c (inline_method): Prevent infinite recursion. Fixes
	#557606.

	* generics.cs: Add a test.

svn path=/branches/mono-2-6/mono/; revision=146689
2009-11-22 23:24:02 +00:00
Zoltan Varga 256a98a381 2009-11-21 Zoltan Varga <[email protected]>
* cfold.c (mono_constant_fold_ins): Fix constant folding of shr_imm. Fixes
	#557262.

	* basic.cs: Add a test.

svn path=/branches/mono-2-6/mono/; revision=146668
2009-11-21 02:48:49 +00:00
Atsushi Eno ba4906bc4f backport r146613.
svn path=/branches/mono-2-6/mcs/; revision=146614
2009-11-20 12:08:20 +00:00
Zoltan Varga 4ba4545e8d 2009-11-20 Zoltan Varga <[email protected]>
* tramp-ppc.c (mono_arch_create_generic_class_init_trampoline_full): These
	receive their argument in MONO_ARCH_VTABLE_REG, not in the first argument reg.

svn path=/branches/mono-2-6/mono/; revision=146604
2009-11-20 07:24:55 +00:00
Atsushi Eno bc56f1060e backport r146350.
svn path=/branches/mono-2-6/mcs/; revision=146602
2009-11-20 06:15:36 +00:00
Atsushi Eno 06c665c5ff backport r146348.
svn path=/branches/mono-2-6/mcs/; revision=146601
2009-11-20 06:14:21 +00:00
Atsushi Eno 7fd1ce6d9d backport r146599.
svn path=/branches/mono-2-6/mcs/; revision=146600
2009-11-20 06:09:06 +00:00
Zoltan Varga e372287a58 2009-11-20 Zoltan Varga <[email protected]>
* debugger-agent.c (create_event_list): Fix a crash if an empty assembly list
	was used as an assembly filter.

svn path=/branches/mono-2-6/mono/; revision=146598
2009-11-20 06:00:27 +00:00
Zoltan Varga d643fdb3da 2009-11-19 Zoltan Varga <[email protected]>
* debugger-agent.c (assembly_commands): Implement GET_NAME command.

svn path=/branches/mono-2-6/mono/; revision=146597
2009-11-20 05:59:39 +00:00
Marek Habersack 4cd467c7de Backport of r146546
svn path=/branches/mono-2-6/mcs/; revision=146547
2009-11-19 15:18:58 +00:00
Marek Habersack e48563c4a2 Backport of r146525
svn path=/branches/mono-2-6/mcs/; revision=146526
2009-11-19 12:20:11 +00:00
Marek Habersack ce4c084b61 Backport r146458
svn path=/branches/mono-2-6/mcs/; revision=146459
2009-11-18 22:36:44 +00:00
Sebastien Pouliot 929d904551 2009-11-18 Sebastien Pouliot <[email protected]>
* class.c (can_access_internals): Allow CoreCLR to participate in
	allowing (or not) [InternalsVisibleTo] between assemblies.
	* security-core-clr.c|h: Make sure that only trusted code (a 
	superset of platform code) can access the internals of platform
	code.
	[Backport r146452]


svn path=/branches/mono-2-6/mono/; revision=146453
2009-11-18 21:50:28 +00:00
Zoltan Varga 62c644372c 2009-11-18 Zoltan Varga <[email protected]>
* debugger-agent.c (mono_debugger_agent_handle_exception): Pass a MonoJitInfo to
	create_event_list () so assembly filters can be used.

svn path=/branches/mono-2-6/mono/; revision=146391
2009-11-17 23:54:35 +00:00
Chris Toshok 04c7042d17 merge mono and mcs up to version 146362 for moonlight 2.0 branch
svn path=/branches/moon/moon-2-0/mono/; revision=146385
2009-11-17 23:27:58 +00:00
Chris Toshok 7a6b7bae4a merge mono and mcs up to version 146362 for moonlight 2.0 branch
svn path=/branches/moon/moon-2-0/mcs/; revision=146385
2009-11-17 23:27:58 +00:00
Marek Habersack 035c90b4c4 2009-11-17 Marek Habersack <[email protected]>
* tests.make (TEST_RUNTIME_WRAPPERS_PATH): added - used to set up
	correct PATH for tests

svn path=/branches/mono-2-6/mcs/; revision=146379
2009-11-17 22:15:40 +00:00
Marek Habersack 3f61068a5c 2009-11-17 Marek Habersack <[email protected]>
* runtime/Makefile.am (TEST_SUPPORT_FILES): added bin/al2 - needed
	for System.Web tests.

svn path=/branches/mono-2-6/mono/; revision=146378
2009-11-17 22:15:13 +00:00
Marek Habersack f63d52594b Fix 1.1 tests
svn path=/branches/mono-2-6/mcs/; revision=146374
2009-11-17 21:33:17 +00:00
Jackson Harper 87c37b1280 * WebResponse_2_1.cs: Update to the SL3 API.
* HttpWebRequest.cs: Add cookies.


svn path=/branches/mono-2-6/mcs/; revision=146362
2009-11-17 17:13:54 +00:00
Jackson Harper 90433c3359 * WebResponse_2_1.cs: Update to the SL3 API.
svn path=/branches/mono-2-6/mcs/; revision=146357
2009-11-17 16:34:30 +00:00
Zoltan Varga 2be4540393 2009-11-17 Zoltan Varga <[email protected]>
* aot-compiler.c (add_generic_instances): Emit instances of common generic
	classes for char/bool too.

svn path=/branches/mono-2-6/mono/; revision=146323
2009-11-17 08:44:11 +00:00
Zoltan Varga 6f21bda280 2009-11-17 Zoltan Varga <[email protected]>
* debugger-agent.c (DebuggerTlsData): Honor the DISABLE_SOFT_DEBUG option.

svn path=/branches/mono-2-6/mono/; revision=146314
2009-11-17 02:39:30 +00:00
Zoltan Varga f112f87bdc 2009-11-17 Zoltan Varga <[email protected]>
* debugger-agent.c (DebuggerTlsData): Add a 'really_suspended' flag, not yet
	used.

svn path=/branches/mono-2-6/mono/; revision=146313
2009-11-17 02:39:23 +00:00
Zoltan Varga b47223981c 2009-11-17 Zoltan Varga <[email protected]>
* configure.in: Add a --enable-minimal=soft-debug option.

svn path=/branches/mono-2-6/mono/; revision=146312
2009-11-17 02:39:17 +00:00
Atsushi Eno ae382bd6a1 backport r146307.
svn path=/branches/mono-2-6/mcs/; revision=146308
2009-11-17 01:19:23 +00:00
Zoltan Varga 4f2a7eab9a 2009-11-17 Zoltan Varga <[email protected]>
* Connection.cs ObjectMirror.cs: Implement invokes in a real asynchronous way,
	without waiting.

svn path=/branches/mono-2-6/mcs/; revision=146304
2009-11-17 00:54:38 +00:00
Zoltan Varga f37073904e Fix a typo.
svn path=/branches/mono-2-6/mono/; revision=146299
2009-11-16 23:20:10 +00:00
Zoltan Varga 3816040cc3 2009-11-17 Zoltan Varga <[email protected]>
* debugger-agent.c: Add some definitions to make backporting to 2.4 easier.
	Fix warnings.

svn path=/branches/mono-2-6/mono/; revision=146296
2009-11-16 23:15:31 +00:00
Zoltan Varga 86e648cd02 2009-11-15 Andreas Faerber <[email protected]>
* debugger-agent.c (mono_debugger_agent_thread_interrupt): Signature fix.

	This commit is licensed under the MIT X11 license.

svn path=/branches/mono-2-6/mono/; revision=146294
2009-11-16 23:10:05 +00:00
Gonzalo Paniagua Javier 657cf62e8f 2009-11-16 Gonzalo Paniagua Javier <[email protected]>
* DefaultWatcher.cs: patch by James P. Mitchel III.
	The change corrects an instance of unsynchronized access to shared
	state and is probably the intent of the original code.


svn path=/branches/mono-2-6/mcs/; revision=146291
2009-11-16 21:39:32 +00:00
Marek Habersack 7df0404424 Backport of r146275
svn path=/branches/mono-2-6/mcs/; revision=146276
2009-11-16 17:09:39 +00:00
Sebastien Pouliot 33f7592f9e 2009-11-16 Sebastien Pouliot <[email protected]>
* security-core-clr.c (get_caller_no_reflection_related): 
	[Mono]Type.InvokeMember is outside System.Reflection[.Emit] but
	it's still reflection and must be filtered correctly.


svn path=/branches/mono-2-6/mono/; revision=146257
2009-11-16 14:35:33 +00:00
Marek Habersack 623e2346d5 Backport of r146250
svn path=/branches/mono-2-6/mcs/; revision=146251
2009-11-16 11:54:18 +00:00
Atsushi Eno c33c4d4a92 backport r146023.
svn path=/branches/mono-2-6/mcs/; revision=146244
2009-11-16 08:43:59 +00:00
Atsushi Eno d746ee6888 backport r145920.
svn path=/branches/mono-2-6/mcs/; revision=146243
2009-11-16 08:39:46 +00:00
Atsushi Eno a53c72f671 backport r145910.
svn path=/branches/mono-2-6/mcs/; revision=146242
2009-11-16 08:38:13 +00:00
Gonzalo Paniagua Javier 277019c06c no need for g_strdup_printf here
svn path=/branches/mono-2-6/mono/; revision=146230
2009-11-15 17:42:10 +00:00
Jb Evain c5777ff927 backport unit tests
svn path=/branches/mono-2-6/mcs/; revision=146228
2009-11-15 16:56:28 +00:00
Jb Evain ed8d0fd5b7 2009-11-15 Jb Evain <[email protected]>
backport of 146225.

	* Expression (Call): deal with lambda expression <> delegate
	comparison when filtering methods.
	Fixes #536637.


svn path=/branches/mono-2-6/mcs/; revision=146227
2009-11-15 16:54:10 +00:00
Jb Evain ea7ccc0ca2 2009-11-15 Jb Evain <[email protected]>
backport of 146222.

	* Expression (Call): better filtering of generic methods.
	Fixes #537768.


svn path=/branches/mono-2-6/mcs/; revision=146223
2009-11-15 15:55:46 +00:00
Zoltan Varga cd2414b5ae 2009-11-15 Zoltan Varga <[email protected]>
* boehm-gc.c (mono_gc_base_init): Applied patch from DKoushik K. Dutta (
	[email protected]). Disable GC_no_dls on android.

svn path=/branches/mono-2-6/mono/; revision=146216
2009-11-15 01:20:28 +00:00
Jb Evain 7c15f2f524 backport [146208:146210
svn path=/branches/mono-2-6/mcs/; revision=146212
2009-11-14 15:58:19 +00:00
Zoltan Varga 17882f969c 2009-11-14 Zoltan Varga <[email protected]>
(mono_debugger_agent_thread_interrupt): Save the context so stacktraces for
	threads in native code work.

svn path=/branches/mono-2-6/mono/; revision=146206
2009-11-14 02:42:36 +00:00
Zoltan Varga e4b072c2d7 2009-11-14 Zoltan Varga <[email protected]>
* debugger-agent.c: Pass the 'flags' argument to VM_INVOKE_METHOD earlier in
	the parameter list, so it can be acted upon by vm_commands (). Bump protocol
	version.

svn path=/branches/mono-2-6/mono/; revision=146202
2009-11-14 01:27:24 +00:00
Marek Habersack 47867f30b9 Backport of r146199
svn path=/branches/mono-2-6/mcs/; revision=146200
2009-11-14 01:22:27 +00:00
Zoltan Varga f169b36c49 2009-11-14 Zoltan Varga <[email protected]>
* InvokeOptions.cs: Add SingleThreaded option, not yet works.

	* VirtualMachineManager.cs (Launch): Pass options to BeginLaunch.

svn path=/branches/mono-2-6/mcs/; revision=146198
2009-11-14 01:21:01 +00:00
Marek Habersack cbae4b7ef1 Backport of r146191
svn path=/branches/mono-2-6/mcs/; revision=146192
2009-11-13 23:44:20 +00:00
Zoltan Varga 3d71a2a6e5 2009-11-14 Zoltan Varga <[email protected]>
* ObjectMirror.cs TypeMirror.cs StructMirror.cs: Implement an async version of
	InvokeMethod ().

svn path=/branches/mono-2-6/mcs/; revision=146190
2009-11-13 23:35:36 +00:00
Andreia Gaita 179dfaf89d * XmlTextReaderTests.cs: Added ParsingWithNSMgrSubclass test to check
r146175 fix (chained namespace lookups using XmlNamespaceManager
subclasses)

svn path=/branches/mono-2-6/mcs/; revision=146181
2009-11-13 21:30:56 +00:00
Andreia Gaita e7031d9bb1 [backport r146174]
* XmlNamespaceManager.cs: XmlReader.Read calls LookupNamespace via
the internal sig, which skips any overrides that might exist on
subclasses, so redirect all calls to the public call to make sure
all overrides are called as well.
Make AddNamespace, HasNamespace and RemoveNamespace private.

svn path=/branches/mono-2-6/mcs/; revision=146175
2009-11-13 19:37:22 +00:00
Jonathan Chambers 419504fba0 2009-11-13 Jonathan Chambers <[email protected]>
* debugger-agent.c: Implementation for Windows platform.

        * mini-x86.c: Add support for Windows. Use mono-* synchronization
        primitives. Use SEH to implement breakpoints and single stepping.

        * mini-x86.h: Enable soft debugger on Windows.

        Code contributed under MIT/X11 license.


svn path=/branches/mono-2-6/mono/; revision=146169
2009-11-13 18:18:23 +00:00
Marek Habersack e60ebd985e Backport of r146151
svn path=/branches/mono-2-6/mcs/; revision=146153
2009-11-13 15:47:13 +00:00
Marek Habersack 03b9ccb25f Backport of r146148
svn path=/branches/mono-2-6/mcs/; revision=146149
2009-11-13 15:42:48 +00:00
Marek Habersack 310cc8b767 More fixes to make all 1.1 tests succeed
svn path=/branches/mono-2-6/mcs/; revision=146144
2009-11-13 15:21:06 +00:00
Marek Habersack 8577f45a0c Restore setting up shadow copying for 1.1 to fix failing tests
svn path=/branches/mono-2-6/mcs/; revision=146141
2009-11-13 14:24:33 +00:00
Marek Habersack a95609cfe9 1.1 build fix
svn path=/branches/mono-2-6/mcs/; revision=146138
2009-11-13 14:02:48 +00:00
Marek Habersack 70bf8472dd Backport of several fixes needed to make all 2.0 tests succeed
svn path=/branches/mono-2-6/mcs/; revision=146137
2009-11-13 14:00:23 +00:00
Marek Habersack f31512897b 1.1 build fix
svn path=/branches/mono-2-6/mcs/; revision=146134
2009-11-13 13:26:20 +00:00
Marek Habersack 482b4192d2 Backport of r146126
svn path=/branches/mono-2-6/mcs/; revision=146127
2009-11-13 12:57:10 +00:00
Zoltan Varga 4efab9d7d0 Add missing file to fix the build.
svn path=/branches/mono-2-6/mcs/; revision=146120
2009-11-13 10:42:26 +00:00
Zoltan Varga f948bdc1b0 2009-11-13 Zoltan Varga <[email protected]>
* mini-amd64.c (emit_call_body): Disable usage of near calls when running
	under XEN. Fixes #522894.

svn path=/branches/mono-2-6/mono/; revision=146110
2009-11-13 06:37:12 +00:00
Zoltan Varga 988ccf0b29 2009-11-13 Zoltan Varga <[email protected]>
* InvokeOptions.cs: New file.

	* ObjectMirror.cs TypeMirror.cs StructMirror.cs: Add support for passing flags
	to InvokeMethod ().

	* Connection.cs: Bump protocol version.

svn path=/branches/mono-2-6/mcs/; revision=146108
2009-11-13 06:31:57 +00:00
Zoltan Varga 7c41fdb7ae 2009-11-12 Zoltan Varga <[email protected]>
* VirtualMachineManager.cs: Put back the old Launch (string[], LaunchOptions)
	overload.

svn path=/branches/mono-2-6/mcs/; revision=146107
2009-11-13 06:31:50 +00:00
Zoltan Varga b66da756a1 2009-11-13 Zoltan Varga <[email protected]>
* debugger-agent.c: Add support for passing flags to invokes. Add a
	DISABLE_BREAKPOINTS flag. Bump protocol version.

svn path=/branches/mono-2-6/mono/; revision=146106
2009-11-13 06:29:42 +00:00
Zoltan Varga e955b6943c 2009-11-13 Zoltan Varga <[email protected]>
* processes.c: Include mono-path.h.

svn path=/branches/mono-2-6/mono/; revision=146102
2009-11-13 06:22:55 +00:00
Marek Habersack 9a707334fb Backport of r146092
svn path=/branches/mono-2-6/mcs/; revision=146093
2009-11-13 02:04:44 +00:00
Zoltan Varga 039bda3c65 2009-11-13 Zoltan Varga <[email protected]>
* debugger-agent.c (mono_debugger_agent_single_step_event): Avoid a crash if
	this is called on the debugger thread.

svn path=/branches/mono-2-6/mono/; revision=146091
2009-11-13 01:53:10 +00:00
Marek Habersack c854b9e2d0 Backport of r146086
svn path=/branches/mono-2-6/mcs/; revision=146087
2009-11-13 01:19:06 +00:00
Zoltan Varga a7422ba9bb 2009-11-12 Zoltan Varga <[email protected]>
* acinclude.m4 (dolt_supported): Handle 'i686-pc-cygwin' too.

svn path=/branches/mono-2-6/mono/; revision=146078
2009-11-12 22:46:33 +00:00
Geoff Norton b7922d723a 2009-11-12 Geoff Norton <[email protected]>
* mono-path.c: When resolving symlinks in a path, we need to
	split on the directory separator and check each level, as
	readlink only checks the final destination.

svn path=/branches/mono-2-6/mono/; revision=146067
2009-11-12 22:07:08 +00:00
Geoff Norton a232e26de1 2009-11-12 Geoff Norton <[email protected]>
* processes.c: match_procname_to_modulename should resolve
	symlinks when checking if two process modules match.

svn path=/branches/mono-2-6/mono/; revision=146066
2009-11-12 22:07:05 +00:00
Carlos Alberto Cortez e2c6f6e791 2009-11-12 Carlos Alberto Cortez <[email protected]>
* ComboBoxTest.cs: New test case for data binding and Text
	interaction.


svn path=/branches/mono-2-6/mcs/; revision=146047
2009-11-12 16:39:39 +00:00
Carlos Alberto Cortez 5b10b1d6a9 [merge the very last changes from trunk, -r 144884:145790]
2009-11-09  Carlos Alberto Cortez <[email protected]>
	
		* DataGridTextBoxColumn.cs:
		* DataGrid.cs: Position the cursor in the add row should *not* show
		yet another new row - that will happen till we get any real input data
		from the user. When that happens, we will also mark the new row as
		ready to commit - otherwise, when the cursor moves to a different row,
		the just added row will be discarded. This is exactly what .Net seems
		to do.

	2009-11-09  Carlos Alberto Cortez <[email protected]>

		* DataGrid.cs: The large value for our vertical scrollbar should
		depend on the number of visible rows, instead of trying to re-use the
		value of VisibleRowCount, which is the value of *current* visible
		rows, and can easily end messed up if new rows are added/removed.

	2009-11-09  Carlos Alberto Cortez <[email protected]>

		* DataGrid.cs: When moving the scroll, *dont* ever end the current
		edit - this could seriously mess up our current edit cycle, specially
		when adding new rows.

		2009-11-02  Carlos Alberto Cortez <[email protected]>

		* TabControl.cs: In OnKeyDown call the base implementation first -
		this way we let the user tell us whether we should handle the key or
		not.
		Fixes #543717.

	2009-11-02  Carlos Alberto Cortez <[email protected]>

		* DataGrid.cs: Implement removal of rows the Correct Way by creating a
		copy of the indexes, as any direct write access to the source will cause to
		reset the entire selection - also, do the linear de-selection in
		reverse order to avoid any index mismatch in the source, due to out of
		synchronization removing the rows.

	2009-11-02  Carlos Alberto Cortez <[email protected]>

		* DataGridTextBoxColumn.cs:
		* DataGrid.cs: Don't use this add-pending behaviour to try to add a
		new row until we have the first input char - it was helping us to fix
		other issues we have/had, but it's not matching .net.

	2009-10-30  Carlos Alberto Cortez <[email protected]>

		* TextBoxBase.cs: When returning the preferred height, and we are
		supposed to be borderless, return the TopMargin value - usually in
		borderless mode it has a value of 0, but in the ToolStrip controls we
		need to set the margin manually.
		Fixes #551214.

	2009-10-29  Carlos Alberto Cortez <[email protected]>

		* ToolTip.cs: ShowAlways works at the form level, not at the control
		level. Fixes #544565.

	2009-10-28  Carlos Alberto Cortez <[email protected]>

		* ButtonBase.cs: Usually the click routines are handled in Control,
		but in this class we are handling it ourselved, thus we need to have
		the same calls, and we were missing the call to MouseClick.
		Patch by Eric Petit <[email protected]>.

	2009-10-26  Carlos Alberto Cortez <[email protected]>

		* ComboBox.cs: When setting Text and data source is being used, if the
		passed value is not matching any of the items in the source, don't
		pass it to GetItemText, since it's useless, as GetItemText expects a
		valid item.
		Fixes #546009.

2009-11-12  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-6/mcs/; revision=146046
2009-11-12 16:39:28 +00:00
Eric Maupin ee905d0c03 * System.Linq/Lookup.cs: Support null keys
* System.Linq/Enumerable.cs: Support null keys

svn path=/branches/mono-2-6/mcs/; revision=146040
2009-11-12 15:04:44 +00:00
Carlos Alberto Cortez f5628732ec 2009-11-12 Carlos Alberto Cortez <[email protected]>
[backport the improvements and speedups for ListView from trunk,
-r 142738:144115]

	2009-10-14  Carlos Alberto Cortez <[email protected]>

		* ListView.cs: When retrieving the top item, take into account the
		offset represented by the header control, to retrieve the proper
		value. Patch by Christoph von Wittich (Christoph at ApiViewer.de)
		Fixes the remaining bits of #543773.

		2009-10-14  Carlos Alberto Cortez <[email protected]>

		* ListView.cs: TopItem setter should set the value as the top, not
		only ensuring its visibility.
		Fixes part of #543773.

		2009-10-12  Carlos Alberto Cortez <[email protected]>

		* ListView.cs: For virtual mode, when navigating the items using keyboard,
		don't use the matrix of positions, and instead calculate the positions
		based on the number of cols and rows, taking advantage of the fixed
		positions of items. Use the same idea to implement FirstVisibleIndex,
		so we avoid iterating over all the items. Patch by Stephen Robinson
		mono at esar.org.uk.
		Fixes part of #467418.

		2009-10-07  Carlos Alberto Cortez <[email protected]>

		* ListView.cs: When computing the value for groups height don't use
		text_size field, since in LargeIcon view it sometimes contains a
		double height value - use Font.Height directly, and also improve the
		padding value.
		* ThemeWin32Classic: The same as above.
		This way the space between the group header, the line, and the items
		area is not that big in LargeIcon view.

		2009-10-04  Carlos Alberto Cortez <[email protected]>

		* ListView.cs: When retrieving the fixed positions for the items in
		virtual mode, use the row value to compute the coords of the item,
		instead of the col value, as opposed to SmallIcon/LargeIcon views.

		2009-09-29  Carlos Alberto Cortez <[email protected]>

		* ListView.cs: The location of the items should be computed on the fly
		in virtual mode - that decreased speed overall, but reduces the load
		time.that decreased speed overall, but reduces the load time. Also,
		handle the cases where we were using data structures we don't need to
		use/create for this mode.
		Fixes part of #467418.

		2009-09-28  Carlos Alberto Cortez <[email protected]>

		* ListView.cs: Tile view and VirtualMode can't be applied together.
		Patch by Stephen Robinson <[email protected]>.

		2009-09-28  Carlos Alberto Cortez <[email protected]>

		* ListView.cs: When calculating the layout for Details view, don't ask
		for the items *at all* in case we are in virtual mode. This should
		re-enable the proper behaviour of virtual mode.


svn path=/branches/mono-2-6/mcs/; revision=146038
2009-11-12 13:50:29 +00:00
Jb Evain 1c21cdd969 2009-11-12 Jb Evain <[email protected]>
* Aes.cs: avoid using an hardcoded assembly version for System.Core.


svn path=/branches/mono-2-6/mcs/; revision=146034
2009-11-12 12:34:20 +00:00
Jb Evain 1261df67de 2009-11-12 Jb Evain <[email protected]>
* Consts.cs.in: add a AssemblySystem_Core constant.


svn path=/branches/mono-2-6/mcs/; revision=146032
2009-11-12 12:33:00 +00:00
Geoff Norton d5fc6487e8 2009-11-11 Geoff Norton <[email protected]>
* VirtualMachineManager.cs: Refactor the APIs to have async methods.
	Remove a bunch of Listen overloads that are pointless.  Refactor
	Launch to take a ProcessStartInfo instead of string arguments.

svn path=/branches/mono-2-6/mcs/; revision=145991
2009-11-11 22:35:31 +00:00
Sebastien Pouliot c6cd62fc13 fix display of smcs errors
svn path=/branches/moon/moon-2-0/mcs/; revision=145959
2009-11-11 15:45:36 +00:00
Sebastien Pouliot 039addd678 2009-11-11 Sebastien Pouliot <[email protected]>
* Console.cs: Reduce duplication between OpenStandard[Input|
	Output|Error] and, for Moonlight, don't return a NullStream if
	security is disabled (e.g. when smcs executes)

	r: alan


svn path=/branches/mono-2-6/mcs/; revision=145957
2009-11-11 15:06:11 +00:00
Andrew Jorgensen b03bdf690a spec file fixes
svn path=/branches/mono-2-6/mono/; revision=145898
2009-11-10 23:18:21 +00:00
Geoff Norton 89feb05d76 Add ReaderWriterLockSlim to monotouch
svn path=/branches/mono-2-6/mcs/; revision=145891
2009-11-10 22:47:32 +00:00
Geoff Norton e214896cef restore iso-8859-1 to monotouch
svn path=/branches/mono-2-6/mcs/; revision=145880
2009-11-10 20:50:44 +00:00
Geoff Norton 664192081a cant use net_2_1_bootstrap as it does not include the pinvoke callback attribute
svn path=/branches/mono-2-6/mcs/; revision=145879
2009-11-10 20:50:17 +00:00
Rodrigo Kumpera a0abbe81d7 In .:
* reflection.c (mono_image_module_basic_init): Handle exceptions correctly.

	Backport of r145798.

2009-11-10  Rodrigo Kumpera  <[email protected]>

svn path=/branches/mono-2-6/mono/; revision=145857
2009-11-10 17:28:40 +00:00
Rodrigo Kumpera e72be115d0 In .:
2009-11-10  Rodrigo Kumpera  <[email protected]>
    
	* object-internals.h: Change signature for mono_string_to_utf8_image.
	* object.c (mono_string_to_utf8_image): Change signature to take a MonoError
	argument.

	* reflection.c: Take care of mono_string_to_utf8_image change and avoid raising
	exceptions due to mono_string_to_utf8.

	Backport of r145797.


svn path=/branches/mono-2-6/mono/; revision=145855
2009-11-10 17:27:16 +00:00
Rodrigo Kumpera 48017d25b5 In metadata:
* object-internals.h: Change signature for mono_string_to_utf8_mp.

    * object.c (mono_remote_class): Make sure all resources are released before
    raising an exception.

    * object.c (mono_print_unhandled_exception): Avoid raising an exception.

	Backport of r145796.

2009-11-09  Rodrigo Kumpera  <[email protected]>

svn path=/branches/mono-2-6/mono/; revision=145854
2009-11-10 17:17:52 +00:00
Rodrigo Kumpera 5a192ac3f9 In .:
* mono-perfcounters.c (network_get_impl): Change variable initialization
     ordering to fix potential memory leak in case of exceptions.
 
     * mono-perfcounters.c (mono_perfcounter_create): Properly handle badly
     encoded strings.
	Backport of r145795. 

2009-11-09  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=145849
2009-11-10 16:49:07 +00:00
Rodrigo Kumpera b22c806052 In .:
2009-11-09  Rodrigo Kumpera  <[email protected]>

    * file-io.c (ves_icall_System_IO_MonoIO_GetFileSystemEntries): Change
    variable initialization ordering to fix potential memory leak in case
    of exceptions.

	Backport of r145794.


svn path=/branches/mono-2-6/mono/; revision=145848
2009-11-10 16:44:33 +00:00
Rodrigo Kumpera 2673f937de In .:
* appdomain.c: Fix shadow path code to better deal with exceptions.

	Backport of r145658.

2009-11-10  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=145847
2009-11-10 16:43:06 +00:00
Rodrigo Kumpera 4589a8c5fb In .:
* appdomain.c: Use checked version of mono_string_to_utf8 to avoid raising an
    exception in the middle of the runtime code.

	Backport of r145657.

2009-11-10  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=145837
2009-11-10 14:23:39 +00:00
Rodrigo Kumpera 2a0e0be91f In .:
* icall.c (ves_icall_System_Environment_InternalSetEnvironmentVariable): Don't
    leak memory with broken envvar value.

	Backport of r145656.

2009-11-10  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=145836
2009-11-10 14:18:13 +00:00
Marek Habersack 9b5480fbf4 Backport of r145831
svn path=/branches/mono-2-6/mcs/; revision=145832
2009-11-10 13:49:25 +00:00
Rodrigo Kumpera a206154c18 In .:
2009-11-10  Rodrigo Kumpera  <[email protected]>

	* object-internals.h: Add mono_string_to_utf8_checked.

	* object.c: Implement mono_string_to_utf8_checked.

	Backport of r145539.


svn path=/branches/mono-2-6/mono/; revision=145830
2009-11-10 13:38:30 +00:00
Rodrigo Kumpera eb657d1b71 In .:
2009-11-10 Rodrigo Kumpera  <[email protected]>
 
     * mono-error-internals.h: Add mono_error_set_argument and mono_error_raise_exception.
 
     * mono-error.h: Add new MONO_ERROR_ARGUMENT constant for
     ArgumentException.
 
     * mono-error.c: Implement mono_error_set_argument, mono_error_raise_exception.
 
     * mono-error.c (mono_error_prepare_exception) Init error_out at the beginning. Add support
     for MONO_ERROR_ARGUMENT.

	Backport of r145538.


svn path=/branches/mono-2-6/mono/; revision=145828
2009-11-10 13:31:37 +00:00
Marek Habersack 216c827113 Backport of r145824
svn path=/branches/mono-2-6/mcs/; revision=145825
2009-11-10 10:42:00 +00:00
Gonzalo Paniagua Javier b22d833768 2009-11-10 Gonzalo Paniagua Javier <[email protected]>
* Socket_2_1.cs: throw when shutting down a socket that is not
	connected. Don't linger if the socket is not connected.


svn path=/branches/mono-2-6/mcs/; revision=145808
2009-11-10 05:56:07 +00:00
Zoltan Varga b33b11f9d5 2009-11-10 Zoltan Varga <[email protected]>
* VirtualMachineManager.cs (Launch): Close the listening socket instead of
	shutting it down since Shutdown throws on exception on non-connected sockets
	in ms.net.

svn path=/branches/mono-2-6/mcs/; revision=145804
2009-11-10 04:50:37 +00:00
Zoltan Varga 5ed2d7937b 2009-11-06 Zoltan Varga <[email protected]>
* debugger-agent.c (resume_from_signal_handler): New helper function extracted
	from the single step/breakpoint handlers. Add a FIXME.

svn path=/branches/mono-2-6/mono/; revision=145791
2009-11-10 01:58:43 +00:00
Zoltan Varga 7dcae3becc 2009-11-10 Zoltan Varga <[email protected]>
* exceptions-arm.c (mono_arch_get_call_filter_full): Update after the
	LDMIA->LDM macro name change.

svn path=/branches/mono-2-6/mono/; revision=145789
2009-11-10 01:00:41 +00:00
Zoltan Varga eb92a1217d 2009-11-10 Zoltan Varga <[email protected]>
* arm/arm-codegen.h: Fix the names of the LDMIA/STMIA macros, they don't actually
	update the base register.

svn path=/branches/mono-2-6/mono/; revision=145788
2009-11-10 01:00:32 +00:00
Geoff Norton 9f97213017 Support building on 10.6
svn path=/branches/mono-2-6/mono/; revision=145785
2009-11-09 23:45:33 +00:00
Chris Toshok e0eee654e3 2009-11-09 Chris Toshok <[email protected]>
* Console.cs (OpenStandardError,OpenStandardOut,OpenStandardInput):
        for NET_2_1 && !MONOTOUCH, disable these streams unless a debugger
        is attached, or unless the MOONLIGHT_ENABLE_CONSOLE environment
        variable is defined.

        reviewed: alan
        


svn path=/branches/mono-2-6/mcs/; revision=145773
2009-11-09 21:17:17 +00:00
Marek Safar dc46c4ab7e Fixed dlr dist
svn path=/branches/mono-2-6/mcs/; revision=145768
2009-11-09 20:48:30 +00:00
Stephen Shaw 6ab9b9616d Added lc to spec file
svn path=/branches/mono-2-6/mono/; revision=145757
2009-11-09 18:16:16 +00:00
Stephen Shaw dcf3a9eceb add gcc-c++ dep (ajorg)
svn path=/branches/mono-2-6/mono/; revision=145753
2009-11-09 17:37:42 +00:00
Jonathan Pryor 63cd0a2589 * src/DbLinq.MySql/MysqlDataContext.cs: Delete.
* System.Data.Linq.dll.sources: Use src/DbLinq.MySql/MySqlDataContext.cs; 
	  fixes the build for case-insensitive filesystems.

svn path=/branches/mono-2-6/mcs/; revision=145749
2009-11-09 17:10:37 +00:00
Marek Habersack 2c23326622 Backport of r145740
svn path=/branches/mono-2-6/mcs/; revision=145741
2009-11-09 14:21:28 +00:00
Marek Habersack 52bff1dfe0 Backport of r145735
svn path=/branches/mono-2-6/mcs/; revision=145736
2009-11-09 13:36:48 +00:00
Marek Habersack a53f1b85a1 Backport of r145727
svn path=/branches/mono-2-6/mcs/; revision=145728
2009-11-09 12:31:23 +00:00
Marek Habersack 6c93b0c613 Backport r145721
svn path=/branches/mono-2-6/mcs/; revision=145722
2009-11-09 11:46:58 +00:00
Jb Evain 551c3e365a bring XslCompiledTransform to MonoTouch
svn path=/branches/mono-2-6/mcs/; revision=145712
2009-11-09 10:33:21 +00:00
Zoltan Varga 61715e57c9 2009-11-09 Zoltan Varga <[email protected]>
* mini-arm.c (mono_arch_allocate_vars): Fix the previous change by passing
	&align to mini_type_stack_size_full ().

svn path=/branches/mono-2-6/mono/; revision=145700
2009-11-09 02:04:12 +00:00
Zoltan Varga ea48e253e3 2009-11-08 Zoltan Varga <[email protected]>
* mini-arm.c: Compute the stack space used by arguments using
	mini_type_stack_size_full ().

svn path=/branches/mono-2-6/mono/; revision=145686
2009-11-08 22:37:29 +00:00
Zoltan Varga 46692f3796 2009-11-07 Zoltan Varga <[email protected]>
* driver.c (mono_jit_parse_options): New public API function to parse options
	as done by the runtime executable.

svn path=/branches/mono-2-6/mono/; revision=145654
2009-11-07 22:10:24 +00:00
Zoltan Varga 8ad7a5d34a 2009-11-07 Zoltan Varga <[email protected]>
* debugger-agent.c (buffer_add_cattrs): Fix reading an uninitialized variable
	when handling named arguments.

svn path=/branches/mono-2-6/mono/; revision=145652
2009-11-07 21:41:37 +00:00
Marek Safar e267e170ed 2009-11-07 Marek Safar <[email protected]>
A fix for bug #553465

	* expression.cs: Fixed mixed version of expression tree anonymous
	type.


svn path=/branches/mono-2-6/mcs/; revision=145646
2009-11-07 10:08:44 +00:00
Zoltan Varga 42f310d152 Add missing files.
svn path=/branches/mono-2-6/mcs/; revision=145642
2009-11-07 08:51:47 +00:00
Zoltan Varga 3dd4322874 2009-11-07 Zoltan Varga <[email protected]>
* Makefile (net_2_0_dirs): Add System.Data.Services.

svn path=/branches/mono-2-6/mcs/; revision=145634
2009-11-07 02:47:46 +00:00
Zoltan Varga 1136d59fc0 2009-11-07 Zoltan Varga <[email protected]>
*: Move .cs files to the System.Data.Services subdir to match their namespace,
	move tests to 'Test' from 'Tests', add Makefile.

svn path=/branches/mono-2-6/mcs/; revision=145633
2009-11-07 02:47:39 +00:00
Zoltan Varga b6d22a08d7 Added System.Data.Services sources
svn path=/branches/mono-2-6/mcs/; revision=145632
2009-11-07 02:47:23 +00:00
Jonathan Pryor f3194d60b5 * Makefile: re-enable the tests. They were disabled in r137153
because they weren't compiling, which was because System.Data.Linq
	  wasn't listing sqlmetal_net_2_0 as a friend assembly.  (Why this
	  built before I couldn't tell you...)  Fixed in latest S.D.L.

svn path=/branches/mono-2-6/mcs/; revision=145617
2009-11-06 21:51:49 +00:00
Jonathan Pryor 6d2aa53461 * src/**/*: Sync with DbLinq r1265. This fixes sqlmetal (it shouldn't
generate constructors referring to IVendor), enhances query support
	  so that extension methods can be used within 'select' blocks,
	  various FirebirdSQL fixes, etc.

svn path=/branches/mono-2-6/mcs/; revision=145616
2009-11-06 21:51:21 +00:00
Geoff Norton 3b38f04754 backport missing file for monotouch build
svn path=/branches/mono-2-6/mcs/; revision=145602
2009-11-06 16:59:31 +00:00
Marek Safar 1ad7c28cc7 2009-11-06 Marek Safar <[email protected]>
A fix for bug #553031

	* linq.cs, expression.cs, class.cs, cs-parser.jay: Initialize
	expression tree version of anonymous type with members declaration.


svn path=/branches/mono-2-6/mcs/; revision=145585
2009-11-06 13:21:30 +00:00
Marek Safar e7c6847d8c Updated.
svn path=/branches/mono-2-6/mcs/; revision=145583
2009-11-06 13:15:43 +00:00
Zoltan Varga e06b86c2e7 2009-11-06 Zoltan Varga <[email protected]>
* mini-arm.c debugger-agent.c: Android changes from Koushik K. Dutta
	([email protected]).

svn path=/branches/mono-2-6/mono/; revision=145575
2009-11-06 09:15:20 +00:00
Zoltan Varga 442a5c1927 2009-11-06 Zoltan Varga <[email protected]>
* mini-arm.c (handle_thunk): Add a domain argument to control the domain
	where the thunk memory should be allocated from. Fixes appdomain unloading
	on arm.

svn path=/branches/mono-2-6/mono/; revision=145570
2009-11-06 08:18:18 +00:00
Zoltan Varga af8b26cfce 2009-11-06 Zoltan Varga <[email protected]>
* mini-arm.c exceptions-arm.c: Make ctx->regs map directly to the 16 hardware
	registers, instead of r4..r11,ip,lr. Make restore_context () restore r0..r3 too.

svn path=/branches/mono-2-6/mono/; revision=145564
2009-11-06 06:03:03 +00:00
Geoff Norton aedff42490 2009-11-05 Geoff Norton <[email protected]>
* HttpsTransportBindingElement.cs: Implement basic https transport
	binding support for Moonlight and MonoTouch

svn path=/branches/mono-2-6/mcs/; revision=145558
2009-11-06 04:18:49 +00:00
Geoff Norton ac13a98236 2009-11-05 Geoff Norton <[email protected]>
* ClientRuntimeChannel.cs: Support OperationContext in async calls
        as well

svn path=/branches/mono-2-6/mcs/; revision=145557
2009-11-06 04:18:29 +00:00
Zoltan Varga 94a0a08a5a 2009-11-05 Rodrigo Kumpera <[email protected]>
* debugger-agent.c: Fix windows build.

svn path=/branches/mono-2-6/mono/; revision=145553
2009-11-05 22:19:03 +00:00
Zoltan Varga 8e89b3a0ca 2009-11-05 Zoltan Varga <[email protected]>
* mini-amd64.c (mono_arch_output_basic_block): Don't allow OP_SEQ_POINT in
	AOT, as it is not implemented yet.

	* mini-x86.c (mono_arch_output_basic_block): Ditto.

svn path=/branches/mono-2-6/mono/; revision=145552
2009-11-05 22:07:03 +00:00
Zoltan Varga 8c45bb18fe 2009-11-05 Zoltan Varga <[email protected]>
* debugger-agent.c (debugger_thread): Call mono_set_is_debugger_attached ()
	after the client connects/disconnects.

svn path=/branches/mono-2-6/mono/; revision=145551
2009-11-05 22:06:56 +00:00
Zoltan Varga a9a8ebac53 2009-11-05 Zoltan Varga <[email protected]>
* debugger-agent.c: Add an 'onthrow' option to start the debugger agent
	when an exception of a given type is thrown.

svn path=/branches/mono-2-6/mono/; revision=145550
2009-11-05 22:06:49 +00:00
Zoltan Varga b1769245b8 2009-11-05 Zoltan Varga <[email protected]>
* debugger-agent.c: Add a 'onuncaught' option to start the debugger agent
	only on an uncaught exception.

	* mini-exceptions.c: Notify the debugger agent on an uncaught exception.

svn path=/branches/mono-2-6/mono/; revision=145549
2009-11-05 22:06:42 +00:00
Zoltan Varga 404fd5363d 2009-11-05 Zoltan Varga <[email protected]>
* debugger-agent.c: Add a 'launch' option.

svn path=/branches/mono-2-6/mono/; revision=145548
2009-11-05 22:06:35 +00:00
Zoltan Varga b97e620cd1 2009-11-05 Zoltan Varga <[email protected]>
* debugger-agent.c: Add a 'timeout' option.

svn path=/branches/mono-2-6/mono/; revision=145547
2009-11-05 22:06:28 +00:00
Zoltan Varga d8b6135f69 2009-11-05 Zoltan Varga <[email protected]>
* debugger-agent.c: Implement the 'server' and 'suspend' options supported by
	the JDWP agent.

svn path=/branches/mono-2-6/mono/; revision=145546
2009-11-05 22:06:21 +00:00
Zoltan Varga f8dc6c2e12 2009-11-04 Zoltan Varga <[email protected]>
* mini-arm.c: Fix the arm build.

svn path=/branches/mono-2-6/mono/; revision=145545
2009-11-05 22:06:05 +00:00
Zoltan Varga 7053970b84 2009-11-04 Gonzalo Paniagua Javier <[email protected]>
* debugger-agent.c: defer including mono-mutex.h until we know the
	agent is supported.

svn path=/branches/mono-2-6/mono/; revision=145544
2009-11-05 22:05:48 +00:00
Zoltan Varga 082692d778 2009-11-04 Jonathan Chambers <[email protected]>
* debugger-agent.c: Changes to build on windows. Use mono-mutex instead
	of pthreads directly.

	* mini.c (mono_sigfpe_signal_handler): Changed signature of Windows
	exception handlers. Pass info argument.

	* mini.h: Adjust signatures of soft debugger functions to pass void*
	instead of siginfo_t. Adjust SIG_HANDLER_SIGNATURE on Windows.

	* mini-amd64.c (mono_arch_is_single_step_event): Adjust signature to pass void*
	instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.
	(mono_arch_is_breakpoint_event): Adjust signature to pass void*
	instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.

	* mini-amd64.h: Adjust MonoW32ExceptionHandler signature.

	* mini-x86.c (mono_arch_is_single_step_event): Adjust signature to pass void*
	instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.
	(mono_arch_is_breakpoint_event): Adjust signature to pass void*
	instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.

	* mini-x86.h: Adjust MonoW32ExceptionHandler signature.

	* exceptions-x86.c: Adjust W32_SEH_HANDLE_EX for new signature.

	* exceptions-amd64.c: Adjust W32_SEH_HANDLE_EX for new signature.

	* mono-semaphore.h: Skeleton implementation for Windows.

	Code contributed under MIT/X11 license.

svn path=/branches/mono-2-6/mono/; revision=145543
2009-11-05 22:05:28 +00:00
Sebastien Pouliot af1d4ea013 2009-11-05 Sebastien Pouliot <[email protected]>
* class.c: When CoreCLR is enabled don't call mono_init_com_types
	if MONO_CLASS_IS_IMPORT return true unless the type reside in 
	platform (trusted) code. Instead we return a TypeLoadException to
	be thrown later. This is the exception thrown by Silverlight 2 if
	a type, inside application (user) code is marked with [ComImport]
	[Backport r145534]


svn path=/branches/mono-2-6/mono/; revision=145535
2009-11-05 21:19:25 +00:00
Zoltan Varga f65ba83e60 2009-11-05 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Diagnostics_Debugger_IsAttached_internal): Call
	mono_is_debugger_attached () too.

	* mono-debug.c (mono_is_debugger_attached): New helper function.
	(mono_set_is_debugger_attached): Ditto.

svn path=/branches/mono-2-6/mono/; revision=145523
2009-11-05 18:11:19 +00:00
Rodrigo Kumpera ea4b86c45a In metadata:
* class.c: Add missing check for load errors after every
	call to mono_class_setup_fields

	Fixes #552282.

	Backport of r145501.

2009-11-05  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=145516
2009-11-05 17:53:36 +00:00
Rolf Bjarne Kvinge 0eb5a45672 2009-11-05 Rolf Bjarne Kvinge <[email protected]>
* net_2_1_raw_System.Net.dll.sources: Add Consts.cs, Locale.cs and
	MonoTODOAttribute.cs to the build to fix ambiguous references to
	those types in corlib and System.dll. This way we'll use our own
	types.

svn path=/branches/mono-2-6/mcs/; revision=145487
2009-11-05 15:58:23 +00:00
Rodrigo Kumpera 7d6bcfe942 In .:
2009-11-05  Rodrigo Kumpera  <[email protected]>

	* metadata.c: Change event table schema to use TDOR for event type
	as this is what it's meant to be.

	* metadata.c (mono_metadata_compute_size): Change MONO_TABLE_ASSEMBLYPROCESSOR
	to MONO_TABLE_ASSEMBLYREFPROCESSOR, which is table that has a MONO_MT_TABLE_IDX
	entry.

	* metadata.c (mono_metadata_compute_size): Trim MT_TABLE_IDX of code that no
	longer makes sense: remove MONO_TABLE_EVENT and remove checks for non-existent
	rows in MONO_TABLE_GENERICPARAM.

	Fixes #552289.

	Backport of r145478.


svn path=/branches/mono-2-6/mono/; revision=145480
2009-11-05 13:57:06 +00:00
Rolf Bjarne Kvinge 4397219217 In mono/metadata:
2009-11-05  Rolf Bjarne Kvinge  <[email protected]>

	* culture-info-tables.h: regenerated.

In tools/locale-builder:
2009-11-05  Rolf Bjarne Kvinge  <[email protected]>

	* Driver.cs: Generate locale data for neutral cultures too. Moonlight
	requires it.

svn path=/branches/mono-2-6/mono/; revision=145468
2009-11-05 10:06:32 +00:00
Rolf Bjarne Kvinge e4c4eaa42c 2009-11-04 Rolf Bjarne Kvinge <[email protected]>
* CultureInfo.cs: Allow neutral cultures, and fix zh-Hans/zh-Hant
	- they're stored internally as zh-chs/zh-cht, and only visible as
	zh-Hans/zh-Hant. zh-CHS/zh-CHS are invalid cultures in SL.

svn path=/branches/mono-2-6/mcs/; revision=145465
2009-11-05 09:34:11 +00:00
Zoltan Varga 59fb647a1f 2009-11-05 Zoltan Varga <[email protected]>
* VirtualMachineManager.cs (Listen): Resurrect the old listen method.

svn path=/branches/mono-2-6/mcs/; revision=145460
2009-11-05 05:59:20 +00:00
Geoff Norton e87c31e9a9 fix the moonlight/mt builds
svn path=/branches/mono-2-6/mcs/; revision=145457
2009-11-05 04:59:55 +00:00
Zoltan Varga a2a81a55b3 2009-11-05 Zoltan Varga <[email protected]>
* VirtualMachineManager.cs (Connect): New method to connect to a runtime
	listening at the provided address.

svn path=/branches/mono-2-6/mcs/; revision=145454
2009-11-05 04:07:26 +00:00
Zoltan Varga f165c2b439 * src/gptrarray.c: implement g_ptr_array_remove_index_fast
* src/glib.h: fix g_ptr_array_remove_index_fast declaration
* test/ptrarray.c: new tests

2009-10-15 Andreia Gaita <[email protected]>

svn path=/branches/mono-2-6/mono/; revision=145452
2009-11-05 03:13:07 +00:00
Gonzalo Paniagua Javier ecff58cc2c 2009-11-04 Gonzalo Paniagua Javier <[email protected]>
* debug-helpers.c: avoid g_strdup() in mono_type_full_name().


svn path=/branches/mono-2-6/mono/; revision=145450
2009-11-05 00:53:54 +00:00
Gonzalo Paniagua Javier 87d2f0b3ff 2009-11-04 Gonzalo Paniagua Javier <[email protected]>
* aot-compiler.c: don't leak the value returned from
	mono_type_full_name().


svn path=/branches/mono-2-6/mono/; revision=145448
2009-11-05 00:36:48 +00:00
Zoltan Varga 832835b220 2009-11-05 Zoltan Varga <[email protected]>
* debugger-agent.c (set_breakpoint): Emit a log message.

svn path=/branches/mono-2-6/mono/; revision=145444
2009-11-05 00:21:19 +00:00
Rodrigo Kumpera be4a4d84ad In .:
* verify.c: Replace calls to mono_class_inflate_generic_type with
	mono_class_inflate_generic_type_checked. Fixes #480005.

	Backport of r144759 and r145284.

2009-11-04  Rodrigo Kumpera  <[email protected]>

svn path=/branches/mono-2-6/mono/; revision=145425
2009-11-04 20:25:15 +00:00
Rodrigo Kumpera b50b26823e In .:
2009-11-04  Rodrigo Kumpera  <[email protected]>
 
     * class-internals.h: Change signature of mono_class_inflate_generic_type_with_mempool to take
     a MonoError parameter.
 
     * class-internals.h: Add new mono_class_inflate_generic_type_checked version that can does proper error handling.
 
     * class.c (inflate_generic_type): Add a MonoError parameter. Don't assert on error, use new mono error machinery.
 
     * class.c (mono_class_inflate_generic_type_with_mempool): Add new MonoError parameter.
 
     * class.c, generics-sharing.c: Changes to handle mono_class_inflate_generic_type_with_mempool new signature.

	Backport of r144688 and r144755.


svn path=/branches/mono-2-6/mono/; revision=145424
2009-11-04 20:24:08 +00:00
Sebastien Pouliot 607df4fed0 2009-11-04 Sebastien Pouliot <[email protected]>
* string-icalls.c|h: Remove string internal calls that are not 
	used anymore by the class libraries.
	* icall.c: Remove System_Reflection_FieldInfo_internal_from_handle
	which is not used in the class librairies.
	* icall-def.h: Update tables.
	[Backport r145416]


svn path=/branches/mono-2-6/mono/; revision=145417
2009-11-04 19:34:06 +00:00
Rodrigo Kumpera ec0d78aa47 In .:
2009-11-04  Rodrigo Kumpera  <[email protected]>

	* reflection.c (fieldref_encode_signature): If field_image is NULL then
	the token is already properly encoded. Fixs 4.0 build.

	Backport of r145396.


svn path=/branches/mono-2-6/mono/; revision=145412
2009-11-04 19:11:47 +00:00
Rodrigo Kumpera f50e76c580 In .:
2009-11-04  Rodrigo Kumpera  <[email protected]>

	- Add kumpera's mono-error stuff to hopefully fix the build.

	Backport of r144696 by Jonathan Pobst  <[email protected]>


svn path=/branches/mono-2-6/mono/; revision=145411
2009-11-04 18:23:58 +00:00
Rodrigo Kumpera 740935759d In .:
2009-11-04 Rodrigo Kumpera  <[email protected]>

    * mono-error.c, mono-error.h, mono-error-internal.h: New error handling
    structures and functions.

    * Makefile.am: Add new files.


svn path=/branches/mono-2-6/mono/; revision=145410
2009-11-04 18:18:19 +00:00
Zoltan Varga ab2b9ae132 2009-11-04 Zoltan Varga <[email protected]>
* acinclude.m4 (dolt_supported): Applied patch from Kornél Pál
	<[email protected]>. Enable dolt on cygwin.

svn path=/branches/mono-2-6/mono/; revision=145400
2009-11-04 14:39:13 +00:00
Rolf Bjarne Kvinge c1f54f2585 2009-11-04 Rolf Bjarne Kvinge <[email protected]>
* locales.c (construct_number_format): Check if the number index is
	valid before trying to use it, if not, just return.

svn path=/branches/mono-2-6/mono/; revision=145388
2009-11-04 11:40:16 +00:00
Marek Habersack e23eb863d9 Backport of r145381
svn path=/branches/mono-2-6/mcs/; revision=145382
2009-11-04 09:50:30 +00:00
Miguel de Icaza 7f4ab42e17 Backport
svn path=/branches/mono-2-6/mcs/; revision=145372
2009-11-04 05:03:02 +00:00
Gonzalo Paniagua Javier 2af0c5e9dd 2009-11-03 Gonzalo Paniagua Javier <[email protected]>
* Socket_2_1.cs: stop any blocking thread before closing the socket.


svn path=/branches/mono-2-6/mcs/; revision=145370
2009-11-04 03:32:28 +00:00
Zoltan Varga c31c2edae7 2009-11-04 Zoltan Varga <[email protected]>
* aot-compiler.c (mono_save_xdebug_info): Bump the threshold for flushing
	debug info to 100 because 10 still slows down gdb too much.

svn path=/branches/mono-2-6/mono/; revision=145368
2009-11-04 02:59:41 +00:00
Rodrigo Kumpera c8b10edc24 2009-11-03 Rodrigo Kumpera <[email protected]>
* reflection.c (fieldref_encode_signature): Add new field_image parameter
	to indicate which assembly to use when resolving a custom-mod.

	Fixes handling of volatile fields used across assemblies as reported in #551513.

	Backport of r145337.


svn path=/branches/mono-2-6/mono/; revision=145362
2009-11-04 02:01:44 +00:00
Geoff Norton 895284ddbd ensure we add punctuation as characters, patch from john moshakis
svn path=/branches/mono-2-6/mcs/; revision=145360
2009-11-04 01:39:41 +00:00
Geoff Norton e1a5fc5aa4 remove confusing debug spew
svn path=/branches/mono-2-6/mcs/; revision=145357
2009-11-04 01:34:05 +00:00
Rodrigo Kumpera eecd4147be In metadata:
2009-11-03  Rodrigo Kumpera  <[email protected]>

	* class.c (mono_class_setup_methods): Only give a slot for virtual methods
	of interfaces. Fixes IKVM.

	* class.c (mono_class_setup_vtable_general): Improve debug spew.

	Backport of r145307.


svn path=/branches/mono-2-6/mono/; revision=145354
2009-11-04 01:25:33 +00:00
Gonzalo Paniagua Javier 496c69e0b2 add new library for windows
svn path=/branches/mono-2-6/mono/; revision=145350
2009-11-04 00:44:52 +00:00
Lluis Sanchez d5bf2c0713 2009-11-04 Lluis Sanchez <[email protected]>
* VirtualMachineManager.cs: Properly redirect standard output.


svn path=/branches/mono-2-6/mcs/; revision=145346
2009-11-03 23:56:20 +00:00
Geoff Norton 27c370a851 oops, backport using too
svn path=/branches/mono-2-6/mcs/; revision=145342
2009-11-03 23:19:23 +00:00
Geoff Norton d942242990 update to the latest listening api
svn path=/branches/mono-2-6/mcs/; revision=145340
2009-11-03 23:12:57 +00:00
Rodrigo Kumpera 9b03c346fd In .:
2009-11-03  Rodrigo Kumpera  <[email protected]>

	* simd-intrinsics.c (load_simd_vreg): Add extra argument to signal if
	the value was loaded from memory.

	* simd-intrinsics.c (simd_intrinsic_emit_setter): Store back to memory if
	the value was loader from there.

	* simd-intrinsics.c (simd_intrinsic_emit_shuffle): Fail correctly for Shuffle
	without constant swizzle.

	Backport of r145283.


svn path=/branches/mono-2-6/mono/; revision=145338
2009-11-03 22:48:19 +00:00
Sebastien Pouliot 67139125d4 2009-11-03 Sebastien Pouliot <[email protected]>
* SocketAsyncEventArgs.cs: Set error back to SocketError.Success
	once CheckEndPoint succeed.
	[Fix bug #549586]
	[Backport r145329]


svn path=/branches/mono-2-6/mcs/; revision=145330
2009-11-03 21:58:33 +00:00
Sebastien Pouliot 59d7404e1b backport r145313
svn path=/branches/mono-2-6/mcs/; revision=145314
2009-11-03 19:18:23 +00:00
Jb Evain b714fcf819 2009-11-03 Jb Evain <[email protected]>
* Mono.Tuner/CheckVisibility.cs: detect a throw_on_visibility_error
	linker parameter to decide whether or not throw when an error
	have been encountered.


svn path=/branches/mono-2-6/mcs/; revision=145303
2009-11-03 17:05:42 +00:00
Jb Evain ccb5ea5924 remove some cwl left over
svn path=/branches/mono-2-6/mcs/; revision=145302
2009-11-03 16:58:40 +00:00
Zoltan Varga 3e2ed5d493 2009-11-03 Zoltan Varga <[email protected]>
* aot-runtime.c (mono_aot_get_method): Refactor some code into a new helper
	function mono_aot_get_array_helper_from_wrapper ().

	* aot-compiler.c (add_generic_class): Refactor the code a bit, really emit
	array helper methods.

svn path=/branches/mono-2-6/mono/; revision=145299
2009-11-03 16:37:21 +00:00
Sebastien Pouliot de2e6c2658 2009-11-03 Sebastien Pouliot <[email protected]>
* AssemblyInfo.cs: Open up the internals to System.Net.dll (which
	needs Uri.IsDefaultPort) for NET_2_1 and remove it for 
	System.ComponentModel.DataAnnotations (again for NET_2_1)
	[Backport r145294]


svn path=/branches/mono-2-6/mcs/; revision=145295
2009-11-03 16:24:14 +00:00
Zoltan Varga ab3dc22a2c 2009-11-03 Zoltan Varga <[email protected]>
* Makefile: Don't define LIBRARY_PACKAGE so it gets installed normally.

svn path=/branches/mono-2-6/mcs/; revision=145293
2009-11-03 16:18:26 +00:00
Marek Habersack 5a8c7954b9 Backport of r145280
svn path=/branches/mono-2-6/mcs/; revision=145281
2009-11-03 12:13:44 +00:00
Zoltan Varga 45e7a987de 2009-11-03 Zoltan Varga <[email protected]>
* debugger-agent.c: Include netinet/in.h to fix the bsd build.

svn path=/branches/mono-2-6/mono/; revision=145270
2009-11-03 05:31:33 +00:00
Zoltan Varga 285052b5c6 2009-11-03 Zoltan Varga <[email protected]>
* configure.in: Check for netinet/in.h.

svn path=/branches/mono-2-6/mono/; revision=145268
2009-11-03 05:27:28 +00:00
Zoltan Varga be45adc365 2009-11-03 Zoltan Varga <[email protected]>
* debugger-agent.c: Add support for filtering events by assemblies.

svn path=/branches/mono-2-6/mono/; revision=145259
2009-11-03 02:22:45 +00:00
Zoltan Varga 674da8fdc4 2009-11-03 Zoltan Varga <[email protected]>
* debugger-agent.c (mono_debugger_agent_thread_interrupt): Return false if
	the agent is not enabled.

svn path=/branches/mono-2-6/mono/; revision=145258
2009-11-03 02:22:38 +00:00
Zoltan Varga 88e041c46e LAST one!
svn path=/branches/mono-2-6/mono/; revision=145256
2009-11-03 02:22:32 +00:00
Zoltan Varga ebb0681764 one more
svn path=/branches/mono-2-6/mono/; revision=145255
2009-11-03 02:22:27 +00:00
Zoltan Varga dcac4ba42c 2009-11-02 Gonzalo Paniagua Javier <[email protected]>
* exceptions-x86.c: hopefully last change to fix the windows build.
	This one courtesy of Jonathan Chambers.

svn path=/branches/mono-2-6/mono/; revision=145254
2009-11-03 02:22:20 +00:00
Zoltan Varga cb0b45a4e3 2009-11-02 Gonzalo Paniagua Javier <[email protected]>
* debugger-agent.c: remove unused function.

svn path=/branches/mono-2-6/mono/; revision=145253
2009-11-03 02:22:14 +00:00
Zoltan Varga e5e32696e1 2009-11-02 Gonzalo Paniagua Javier <[email protected]>
* debugger-agent.c: add #ifdefs for a few header files.
	* mini-x86.h: disable the soft debugger in windows.
	Step 1 of 2 to make this compile on windows with gcc.

svn path=/branches/mono-2-6/mono/; revision=145252
2009-11-03 02:22:07 +00:00
Zoltan Varga 3fe9da1a6b 2009-11-02 Gonzalo Paniagua Javier <[email protected]>
* configure.in: add a few missing header file checks.

svn path=/branches/mono-2-6/mono/; revision=145251
2009-11-03 02:22:01 +00:00
Zoltan Varga b6a7fc1f8a 2009-07-01 Zoltan Varga <[email protected]>
Merge the soft debugger branch.

	* debugger-agent.h debugger-agent.c: New files containing the soft
	mode debugger module.

	* method-to-ir.c (mono_method_to_ir): Generate OP_SEQ_POINT opcodes
	at the appropriate locations.

	* mini-<ARCH>.c (mono_arch_output_basic_block): Handle OP_SEQ_POINT
	opcode.

	* mini-<ARCH>.c: Add new arch-specific functions to set/clear breakpoints,
	enable/disable single stepping.

	* exceptions-<ARCH>.c (mono_arch_find_jit_info_ext): New stack unwinding api
	which returns all information in a StackFrameInfo structure, and can handle the
	LMF frames added by the debugger.

	* mini-<ARCH>.h (MonoLMFExt): New structure containing additional information
	about an LMF frame.

	* mini-exceptions.c (mono_jit_walk_stack_from_ctx_in_thread): New stack
	walker function which works on a specific thread and passes a StackFrameInfo
	structure to its callback.

	* mini.c (mini_init): Initialize the debugger agent.

	* aot-compiler.c aot-runtime.c: Add soft-debug support.

	* mini-ops.h: Add OP_SEQ_POINT opcode.

	* driver.c (mono_main): Add new '--debugger-agent' option for passing
	arguments to the debugger agent.

svn path=/branches/mono-2-6/mono/; revision=145249
2009-11-03 02:18:50 +00:00
Zoltan Varga d730a668b1 2009-11-03 Zoltan Varga <[email protected]>
* EventRequest.cs (AssemblyFilter): New property to filter
	events based on a list of assemblies.

	* Connection.cs: Add assembly filters to the protocol implementation.

svn path=/branches/mono-2-6/mcs/; revision=145245
2009-11-03 01:55:39 +00:00
Zoltan Varga 9f98591560 2009-11-03 Zoltan Varga <[email protected]>
* Makefile: Move Mono.Debugger.Soft to net_2_0_dirs for 2.6.

svn path=/branches/mono-2-6/mcs/; revision=145238
2009-11-03 01:11:04 +00:00
Zoltan Varga 2335431b38 2009-11-02 Zoltan Varga <[email protected]>
* Makefile: Add Mono.Debugger.Soft.

In Mono.Debugger.Soft:

2009-11-02  Zoltan Varga  <[email protected]>

	* New directory containing the managed interface to the soft-mode debugger.

svn path=/branches/mono-2-6/mcs/; revision=145237
2009-11-03 01:10:25 +00:00
Zoltan Varga 0abadb40a1 2009-11-02 Zoltan Varga <[email protected]>
* debug-mono-symfile.c (check_line): Fix the handling of IL offset 0.

	* threads.c (mono_thread_attach): Call the profiler thread start callback.

	* object-internals.h (_MonoThreadInternal): Add a 'flags' field.

	* threads.c (build_wait_tids): Ignore threads which have the DONT_MANAGE
	flag set.

	* profiler.c: Add new profiler callbacks for runtime invoke.

	* object.c (mono_runtime_invoke): Call the runtime invoke callbacks.

svn path=/branches/mono-2-6/mono/; revision=145233
2009-11-03 00:35:00 +00:00
Sebastien Pouliot 2f3a1b3dbf 2009-11-02 Sebastien Pouliot <[email protected]>
* Thread.cs (set_CurrentUICulture): Delay setting in_currentculture
	to true until after the null check and the return statement.


svn path=/branches/mono-2-6/mcs/; revision=145215
2009-11-02 20:06:05 +00:00
Jb Evain 26cae340b4 2009-11-02 Jb Evain <[email protected]>
* Mono.Tuner/MoonlightAssemblyStep.cs: adapt to the MT linker merge.


svn path=/branches/mono-2-6/mcs/; revision=145210
2009-11-02 16:19:48 +00:00
Jb Evain f21d6449fa 2009-11-02 Jb Evain <[email protected]>
Merge the MonoTouch Linker branch.

	* monolinker.exe.sources: update

	* Mono.Linker/Annotations.cs:
		- add an preserved methods annotation on a type.
		- add an annotation to get the base methods of a method.
		- add an annotation to get the overriden method of a method.

	* Mono.Linker/AssemblyAction.cs:
		add a Delete action to remove an assembly from the output set.

	* Mono.Linker.Steps/TypeMapStep.cs:
		new step that create a map of virtual methods implementation.

	* Mono.Linker.Steps/MarkStep.cs:
		- removal of virtual methods.
		- fix for custom attributes assigning properties and field
			defined in a base type.
		- mark scopes.
		- mark default constructors of types used as a generic instance
			of a generic parameter constrained with new().
		- apply preserved methods.

	* Mono.Linker.Steps/SweepStep.cs: remove unused assemblies.

	* Mono.Linker.Steps/LoadI18nAssemblies.cs:
		fix linking of i18n assemblies.

	* Mono.Linker.Steps/OutputStep.cs:
		fix the copied assemblies when the output directory
		is the same as the origin of the assemblies.

	* Mono.Linker.Steps/ResolveFromXmlStep.cs
	* Mono.Linker.Steps/ResolveFromAssemblyStep.cs
	* Mono.Linker.Steps/BaseStep.cs
	* Mono.Linker/Driver.cs
	* Mono.Linker/Pipeline.cs:
		Cosmetics.


svn path=/branches/mono-2-6/mcs/; revision=145209
2009-11-02 16:19:15 +00:00
Zoltan Varga 3e7cea1232 2009-11-02 Zoltan Varga <[email protected]>
* mini.c (mini_method_compile): Disable llvm for methods with an lmf here to
	speed things up.

	* mini-llvm.c (mono_llvm_emit_method): Add support for OP_LOCALLOC.

svn path=/branches/mono-2-6/mono/; revision=145197
2009-11-02 12:45:00 +00:00
Zoltan Varga a988a10992 2009-11-02 Zoltan Varga <[email protected]>
* mini.c (mini_init): Avoid using the IMT trampoline in the LLVM case.

	* mini-trampolines.c (mono_llvm_vcall_trampoline): Add a static rgctx trampoline
	if needed.
	(mono_create_llvm_imt_trampoline): New function to create a trampoline which
	sets the IMT argument and makes a virtual call.

	* mini-llvm.c: Enable interface calls using the llvm imt trampoline.

svn path=/branches/mono-2-6/mono/; revision=145192
2009-11-02 12:00:45 +00:00
Zoltan Varga 7e07d13efe Fix the 2.6 build.
svn path=/branches/mono-2-6/mono/; revision=145177
2009-11-01 19:28:01 +00:00
Zoltan Varga b33f8408a7 2009-11-01 Zoltan Varga <[email protected]>
* configure.in: Make the LLVM warning a bit more up-to-date.

svn path=/branches/mono-2-6/mono/; revision=145176
2009-11-01 19:25:06 +00:00
Zoltan Varga ff6805c6d2 2009-11-01 Zoltan Varga <[email protected]>
* Makefile.am (llvm_sources): Enable the llvm option since it no longer breaks
	the windows build.

svn path=/branches/mono-2-6/mono/; revision=145174
2009-11-01 19:16:47 +00:00
Zoltan Varga b25ad6aaff 2009-11-01 Zoltan Varga <[email protected]>
* configure.in: Pass -mno-cygwin to CXX too on windows. Enable AC_PROG_CXX
	since it now works on windows too.

svn path=/branches/mono-2-6/mono/; revision=145173
2009-11-01 19:16:40 +00:00
Sebastien Pouliot f80650fa1e 2009-11-01 Sebastien Pouliot <[email protected]>
* MoonIsolatedStorageFile.cs: Add new CheckSearchPattern 
	validation method. Fix GetDirectoryNames to behave like 
	GetFileNames wrt searchPattern
	[Backport r145167]


svn path=/branches/mono-2-6/mcs/; revision=145168
2009-11-01 16:47:10 +00:00
Sebastien Pouliot 7f7c90c70e 2009-11-01 Sebastien Pouliot <[email protected]>
* ResourceManager.cs (GetResourceFilePath): Don't use 
	'resourceDir' which should always be null for Moonlight
	[Backport r145165]


svn path=/branches/mono-2-6/mcs/; revision=145166
2009-11-01 16:46:04 +00:00
Miguel de Icaza 31dd3aca62 Backport: 2009-10-31 Miguel de Icaza <[email protected]>
* threads.c: refactor the code that initializes the
	thread_start_args into a reusable function and use this in the two
	methods that start up threads.

svn path=/branches/mono-2-6/mono/; revision=145155
2009-10-31 22:36:20 +00:00
Zoltan Varga 84465817b5 2009-10-25 Zoltan Varga <[email protected]>
* threads.c (start_wrapper): Avoid an assert if thread_start_args () is NULL.

svn path=/branches/mono-2-6/mono/; revision=145151
2009-10-31 22:04:24 +00:00
Sebastien Pouliot cd862e8258 2009-10-31 Sebastien Pouliot <[email protected]>
* BinaryCommon.cs: Disable MONO_REFLECTION_SERIALIZER override 
	for Moonlight plugin.
	[Backport r145147]


svn path=/branches/mono-2-6/mcs/; revision=145148
2009-10-31 16:20:57 +00:00
Zoltan Varga 038367c545 2009-10-31 Zoltan Varga <[email protected]>
* appdomain.c (mono_domain_try_unload): Applied patch from Romain Tartière.
	Fix returning when WaitForSingleObjectEx returns WAIT_IO_COMPLETION.

svn path=/branches/mono-2-6/mono/; revision=145144
2009-10-31 14:13:11 +00:00
Gonzalo Paniagua Javier ed232ae225 2009-10-31 Gonzalo Paniagua Javier <[email protected]>
* mono-perfcounters.c: add the "_Total" instance for CPU counters.
	Until now, we only had the per-cpu(core) counters.

2009-10-30 Gonzalo Paniagua Javier <[email protected]>

	* mono-proclib.c: hz is only multiplied by the number of cpus when
	requesting "_Total".

	Fixes bug #523520.

svn path=/branches/mono-2-6/mono/; revision=145135
2009-10-31 04:06:56 +00:00
Veerapuram Varadhan c6c53d568b backport of r145122
svn path=/branches/mono-2-6/mcs/; revision=145123
2009-10-30 20:58:47 +00:00
Sebastien Pouliot e64e6483ce 2009-10-30 Sebastien Pouliot <[email protected]>
* MethodBuilderTest.cs: Add (copy from TypeBuilderTest) test 
	cases for two DefineGenericParameters
	[Backport r145118]


svn path=/branches/mono-2-6/mcs/; revision=145120
2009-10-30 20:13:40 +00:00
Sebastien Pouliot 17626ad634 2009-10-30 Sebastien Pouliot <[email protected]>
* MethodBuilder.cs: Add missing 'names' validations in 
	DefineGenericParameters
	[Backport r145118]


svn path=/branches/mono-2-6/mcs/; revision=145119
2009-10-30 20:12:48 +00:00
Marek Habersack 62509d7f33 Backport of r145109
svn path=/branches/mono-2-6/mcs/; revision=145111
2009-10-30 15:59:01 +00:00
Zoltan Varga e980095ec9 2009-10-30 Zoltan Varga <[email protected]>
* mini.c (mini_cleanup): Call profiler shutdown before shutting down the
	runtime. Fixes #551228.

svn path=/branches/mono-2-6/mono/; revision=145104
2009-10-30 15:19:30 +00:00
Sebastien Pouliot f0a8a458d1 2009-10-30 Sebastien Pouliot <[email protected]>
* MonoMethod.cs: Remove CAS check in MonoCMethod.Invoke (just 
	like it was done for MonoMethod.Invoke sister method)
	[Backport r145101]


svn path=/branches/mono-2-6/mcs/; revision=145102
2009-10-30 15:05:39 +00:00
Sebastien Pouliot c05d8961d5 MonoType.cs: Don't pass null value to icalls GetCorrespondingInflated[Constructor|Method]
svn path=/branches/mono-2-6/mcs/; revision=145100
2009-10-30 15:03:58 +00:00
Chris Toshok 90d3f7a97e 2009-10-29 Chris Toshok <[email protected]>
* TypeMap.cs (Deserialize): use
        FormatterServices.GetUninitializedObject instead of
        Activator.CreateInstance, since we shouldn't be invoking the
        default ctor.


svn path=/branches/mono-2-6/mcs/; revision=145077
2009-10-30 05:04:17 +00:00
Andreia Gaita e18c231fc8 * DataContractJsonSerializer.cs: SL accepts keys without "", so tweak
the data to fix the quotes before passing it to the deserializer
[backported from r145075]

svn path=/branches/mono-2-6/mcs/; revision=145076
2009-10-30 02:26:30 +00:00
Veerapuram Varadhan 385d93e3bc backport of r145072
svn path=/branches/mono-2-6/mcs/; revision=145073
2009-10-30 01:09:16 +00:00
Marek Habersack b066dcaa56 Backport of r145069
svn path=/branches/mono-2-6/mcs/; revision=145070
2009-10-30 00:53:35 +00:00
Veerapuram Varadhan 13dd868c42 backport of r145064
svn path=/branches/mono-2-6/mcs/; revision=145065
2009-10-29 20:54:40 +00:00
Veerapuram Varadhan 4471cba319 backport of r145054
svn path=/branches/mono-2-6/mcs/; revision=145055
2009-10-29 18:39:28 +00:00
Sebastien Pouliot 20f61ae832 2009-10-29 Sebastien Pouliot <[email protected]>
* CompareInfoTest.cs: Add test cases to validate parameters
	[Backport r145023]


svn path=/branches/mono-2-6/mcs/; revision=145026
2009-10-29 14:14:43 +00:00
Sebastien Pouliot 2825f28523 2009-10-29 Sebastien Pouliot <[email protected]>
* CompareInfo.cs: Add/fix CompareOptions validations. Reduce code
	duplication in Compare methods (wrt CompareOptions). Fix 
	calculation bug	in Compare(string,int.string,int,CompareOptions).
	[Backport r145023]


svn path=/branches/mono-2-6/mcs/; revision=145025
2009-10-29 14:13:52 +00:00
Zoltan Varga 3871e25478 2009-10-29 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_output_basic_block): Fix % 1. Fixes #550970.

	* basic.cs: Add a test.

svn path=/branches/mono-2-6/mono/; revision=145018
2009-10-29 13:08:46 +00:00
Sebastien Pouliot 9d1b407625 2009-10-29 Sebastien Pouliot <[email protected]>
* ModuleBuilderTest.cs: Add test cases for GetType overloads
	* TypeBuilderTest.cs: Remove NotWorking from two 
	DefineGenericParameters test case.
	[Backport r145013]


svn path=/branches/mono-2-6/mcs/; revision=145015
2009-10-29 12:53:47 +00:00
Sebastien Pouliot d24244af13 2009-10-29 Sebastien Pouliot <[email protected]>
* ModuleBuilder.cs: Add missing 'className' validations in GetType
	* TypeBuilder.cs: Add missing 'names' validations in 
	DefineGenericParameters
	[Backport r145013]


svn path=/branches/mono-2-6/mcs/; revision=145014
2009-10-29 12:52:54 +00:00
Veerapuram Varadhan cbbc5a16a6 backport r145011
svn path=/branches/mono-2-6/mcs/; revision=145012
2009-10-29 12:49:27 +00:00
Sebastien Pouliot c27526153b 2009-10-29 Sebastien Pouliot <[email protected]>
* FileStream.cs: Reduce code duplication by merging FillBuffer 
	with FillBufferToStream
	[Backport r145008]


svn path=/branches/mono-2-6/mcs/; revision=145010
2009-10-29 12:15:23 +00:00
Zoltan Varga d7b68fa40b 2009-10-29 Zoltan Varga <[email protected]>
* method-to-ir.c (mono_method_to_ir): Use EMIT_NEW_LOAD_MEMBASE_TYPE to
	load vtypes instead if OP_LOADV_MEMBASE in the implementation of
	CONSTRAINED. Fixes #550964.

	* generics.cs: Add a test.

svn path=/branches/mono-2-6/mono/; revision=145007
2009-10-29 12:09:16 +00:00
Jb Evain 0ea412d547 2009-10-29 Jb Evain <[email protected]>
* ActivationServices.cs: avoid a static constructor.


svn path=/branches/mono-2-6/mcs/; revision=145003
2009-10-29 10:49:36 +00:00
Marek Safar 73ebfb6251 2009-10-29 Marek Safar <[email protected]>
A fix for bug #550580	
	* convert.cs: Don't eliminate explicit precission casts.


svn path=/branches/mono-2-6/mcs/; revision=144997
2009-10-29 10:01:04 +00:00
Marek Safar b81781bbe4 Updated.
svn path=/branches/mono-2-6/mcs/; revision=144996
2009-10-29 10:00:46 +00:00
Veerapuram Varadhan 7c712848f1 backport of r144980
svn path=/branches/mono-2-6/mcs/; revision=144981
2009-10-29 02:13:28 +00:00
Lluis Sanchez f46f770b16 2009-10-28 Lluis Sanchez Gual <[email protected]>
* MarshalByRefObject.cs: In InitializeLifetimeService, if a lease
	exists for the object return it, instead of always creating
	a new one. Fixes bug #544357.


svn path=/branches/mono-2-6/mcs/; revision=144963
2009-10-28 18:40:05 +00:00
Marek Habersack b7ef95a35d Backport of r144947
svn path=/branches/mono-2-6/mcs/; revision=144948
2009-10-28 14:01:48 +00:00
Sebastien Pouliot 1cf1d66a3e 2009-10-28 Sebastien Pouliot <[email protected]>
* FileStream.cs: Move code to deal with 'anonymous' filenames
	into two methods (returning the path, fullpath or only the 
	filename). Default Moonlight to anonymous (not only for isolated
	storage) unless the coreclr is disable (e.g. smcs)
	[Backport r144945]


svn path=/branches/mono-2-6/mcs/; revision=144946
2009-10-28 13:42:56 +00:00
Marek Habersack 3afb337dec Fix 1.1 build
svn path=/branches/mono-2-6/mcs/; revision=144939
2009-10-28 12:05:39 +00:00
Marek Habersack b213aa0bf2 Backport of r144935
svn path=/branches/mono-2-6/mcs/; revision=144936
2009-10-28 10:37:37 +00:00
Marek Habersack 423ea8af8e Backport of r144932
svn path=/branches/mono-2-6/mcs/; revision=144933
2009-10-28 10:19:34 +00:00
Sebastien Pouliot a5727b1062 2-6 still supports 1.1 profile...
svn path=/branches/mono-2-6/mcs/; revision=144929
2009-10-28 01:03:05 +00:00
Sebastien Pouliot c3d41f08f9 2009-10-27 Sebastien Pouliot <[email protected]>
* StringTest.cs: Add test case for methods that can return
	empty strings.
	[Backport r144921]


svn path=/branches/mono-2-6/mcs/; revision=144925
2009-10-27 23:46:18 +00:00
Sebastien Pouliot 9de4121212 2009-10-27 Sebastien Pouliot <[email protected]>
* UnicodeEncodingTest.cs: Add test cases with an odd number of 
	bytes being used in GetString (it does not crash but it does not
	work like MS FX either).
	[Backport r144921]


svn path=/branches/mono-2-6/mcs/; revision=144924
2009-10-27 23:45:41 +00:00
Sebastien Pouliot a29c9418a8 2009-10-27 Sebastien Pouliot <[email protected]>
* String.cs: Remove unused (and unneeded) internal call defs.
	Reduce duplication (and fix test) for Concat (object,object).
	Avoid allocating zero-length strings in the cases where the
	FX does not do so.
	[Backport r144921]


svn path=/branches/mono-2-6/mcs/; revision=144923
2009-10-27 23:45:00 +00:00
Sebastien Pouliot 38087128b7 2009-10-27 Sebastien Pouliot <[email protected]>
* TextInfo.cs: Avoid allocating zero-length strings in ToLower 
	and ToUpper methods
	[Backport r144921]


svn path=/branches/mono-2-6/mcs/; revision=144922
2009-10-27 23:43:47 +00:00
Veerapuram Varadhan e3783491dc 2009-10-28 Veerapuram Varadhan <[email protected]>
** Fixes #385028/#385029
	* DbCommandBuilder.cs (CreateInsertCommand): Workaround for inserting
	DEFAULT values to non-null-columns.
	(GetInsertCommand): New overload added to handle above workaround.
	(set_DataAdapter): Register for the RowUpdatingEventHandler.

svn path=/branches/mono-2-6/mcs/; revision=144917
2009-10-27 21:21:27 +00:00
Marek Habersack 5c80561e2e Backport of r144898
svn path=/branches/mono-2-6/mcs/; revision=144899
2009-10-27 13:10:55 +00:00
Marek Habersack 45aeaa1253 Backport of r144894
svn path=/branches/mono-2-6/mcs/; revision=144895
2009-10-27 09:56:10 +00:00
Zoltan Varga f1a66b8ed5 Really fix the osx build.
svn path=/branches/mono-2-6/mono/; revision=144874
2009-10-26 20:08:00 +00:00
Zoltan Varga b2cc33d3db Fix osx build.
svn path=/branches/mono-2-6/mono/; revision=144872
2009-10-26 20:00:59 +00:00
Zoltan Varga cd6613509c In libgc:
2009-10-25  Zoltan Varga  <[email protected]>

	* misc.c (GC_get_suspend_signal): New API function to return the suspend signal
	used by libgc.

In mono/mini:

2009-10-25  Zoltan Varga  <[email protected]>

	* mini-posix.c (add_signal_handler): Delay the GC suspend signal while
	executing a SIGSEGV handler on an altstack, since libgc can't handle that.

In mono/tests:

2009-10-25  Zoltan Varga  <[email protected]>

	* misc.c (GC_get_suspend_signal): New API function to return the suspend signal
	used by libgc.

svn path=/branches/mono-2-6/mono/; revision=144871
2009-10-26 20:00:51 +00:00
Zoltan Varga d8da3eab41 2009-10-25 Zoltan Varga <[email protected]>
* threads.c (start_wrapper): Call mono_profiler_thread_start () later after
	signalling start_notify.

svn path=/branches/mono-2-6/mono/; revision=144870
2009-10-26 20:00:40 +00:00
Sebastien Pouliot ae40d18e07 2009-10-26 Sebastien Pouliot <[email protected]>
* Assembly.cs: Share code between GetSatelliteAssembly and 
	GetSatelliteAssemblyNoThrow. For Moonlight ensure both 
	GetManifestResourceStream and GetSatelliteAssembly don't load
	anything "below" the assembly path.
	[Backport r144845]


svn path=/branches/mono-2-6/mcs/; revision=144846
2009-10-26 12:11:50 +00:00
Sebastien Pouliot a89a5936ac 2009-10-26 Sebastien Pouliot <[email protected]>
* Consts.cs.in: Update SL2 FX version to the second (and last)
	released version.
	[Backport r144843]


svn path=/branches/mono-2-6/mcs/; revision=144844
2009-10-26 12:03:41 +00:00
Sebastien Pouliot 5880e4bf3c 2009-10-26 Sebastien Pouliot <[email protected]>
* InterlockedTest.cs: Add test case for generic methods
	CompareExchange and Exchange
	[Backport r144840]


svn path=/branches/mono-2-6/mcs/; revision=144842
2009-10-26 11:57:12 +00:00
Sebastien Pouliot dc7d62f122 TypeTest.cs: New. Add test cases for IsInstanceOfType
svn path=/branches/mono-2-6/mcs/; revision=144841
2009-10-26 11:56:37 +00:00
Sebastien Pouliot 796a9ea860 2009-10-25 Sebastien Pouliot <[email protected]>
* ThreadTest.cs: Add test cases for Current[UI]Culture (not 
	working), Name, Join, Sleep and SpinWait
	[Backport r144824]


svn path=/branches/mono-2-6/mcs/; revision=144826
2009-10-25 16:43:07 +00:00
Sebastien Pouliot 2548566d31 2009-10-25 Sebastien Pouliot <[email protected]>
* Thread.cs: Fix validations for Join and Sleep overloads
	[Backport r144824]


svn path=/branches/mono-2-6/mcs/; revision=144825
2009-10-25 16:42:04 +00:00
Geoff Norton fe8c4d8126 make uri no braindead on mt
svn path=/branches/mono-2-6/mcs/; revision=144815
2009-10-24 21:25:05 +00:00
Gonzalo Paniagua Javier dff48874e3 2009-10-24 Gonzalo Paniagua Javier <[email protected]>
marshal.c: BeginInvoke cannot be called on multicast delegates with
	multiple targets. Fixes bug #574426.
	Backported from trunk.


svn path=/branches/mono-2-6/mono/; revision=144812
2009-10-24 20:52:26 +00:00
Gonzalo Paniagua Javier 8c2cc0f8b1 2009-10-24 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: do not test the st_mode field for shadow-copies.
	Fixes bug #545276.


svn path=/branches/mono-2-6/mono/; revision=144809
2009-10-24 20:04:31 +00:00
Gonzalo Paniagua Javier 94beec4383 2009-10-24 Gonzalo Paniagua Javier <[email protected]>
* DeflateStreamTest.cs: test from bug #549492.


svn path=/branches/mono-2-6/mcs/; revision=144803
2009-10-24 17:26:56 +00:00
Gonzalo Paniagua Javier 7ec5d41688 2009-10-24 Gonzalo Paniagua Javier <[email protected]>
* zlib-helper.c: stop trying to decompress when we get Z_STREAM_END.
	Patch by Ives Bastide. Fixes bug #549942.


svn path=/branches/mono-2-6/mono/; revision=144800
2009-10-24 17:22:13 +00:00
Sebastien Pouliot c49415d54c 2009-10-24 Sebastien Pouliot <[email protected]>
* StackFrame.cs: Relax GetSecureFileName when the coreclr is not 
	active (i.e. show full path when compiling with smcs)
	[Backport r144797]


svn path=/branches/mono-2-6/mcs/; revision=144798
2009-10-24 16:11:58 +00:00
Sebastien Pouliot e11b6645cd 2009-10-24 Sebastien Pouliot <[email protected]>
* TypeBuilderTest.cs: Validation test cases for GetConstructor
	[Backport r144791]


svn path=/branches/mono-2-6/mcs/; revision=144793
2009-10-24 15:50:51 +00:00
Sebastien Pouliot 76e901f710 2009-10-24 Sebastien Pouliot <[email protected]>
* AssemblyBuilder.cs: For Silverlight only AssemblyBuilderAccess.Run
	is supported (browser-side) but we still allow other values when
	compiling (e.g. smcs) outside the browser (wo coreclr)
	* TypeBuilder.cs (GetConstructor): Fix validations
	[Backport r144791]


svn path=/branches/mono-2-6/mcs/; revision=144792
2009-10-24 15:46:51 +00:00
Zoltan Varga 6fe974d80d Fix the build.
svn path=/branches/mono-2-6/mono/; revision=144790
2009-10-24 13:28:06 +00:00
Zoltan Varga 9ede4e5632 2009-10-24 Zoltan Varga <[email protected]>
* mini-exceptions.c (mini_jit_info_table_find): Add an 'out_domain' argument
    	which will contain the domain where the method was found.

    	* exceptions-<ARCH>.c mini-exceptions.c: Update callers of
    	mini_jit_info_table_find ().

svn path=/branches/mono-2-6/mono/; revision=144789
2009-10-24 13:27:59 +00:00
Gonzalo Paniagua Javier e67e2fae94 2009-10-24 Gonzalo Paniagua Javier <[email protected]>
* threadpool.[ch]: added hooks for thread start/finish and item
	processing begin/end. For monotouch use only.


svn path=/branches/mono-2-6/mono/; revision=144783
2009-10-24 04:35:13 +00:00
Zoltan Varga 75e9de6dd3 Fix the build.
svn path=/branches/mono-2-6/mono/; revision=144781
2009-10-24 02:32:23 +00:00
Zoltan Varga 74f0572274 2009-10-24 Zoltan Varga <[email protected]>
* threads.c (mono_thread_get_name): New helper function.

svn path=/branches/mono-2-6/mono/; revision=144780
2009-10-24 02:27:40 +00:00
Zoltan Varga 389692ae85 2009-10-24 Zoltan Varga <[email protected]>
* reflection.c (resolve_object): Set handle_class for strings too.
	(mono_reflection_create_custom_attr_data_args): New helper function to decode
	a cattr blob into a set of arrays and structures without creating the custom
	attributes themselves.
	(create_custom_attr_data): Simplify using create_custom_attr_data_args.

	* mono-debug.c (mono_debug_il_offset_from_address): New helper function.

	* debug-mono-symfile.c (mono_debug_symfile_get_line_numbers): New helper
	function.

svn path=/branches/mono-2-6/mono/; revision=144778
2009-10-24 02:19:39 +00:00
Zoltan Varga 7b436d9afc 2009-10-24 Zoltan Varga <[email protected]>
* aot-compiler.c (xdebug_end_emit): Remove so stray debug code.

svn path=/branches/mono-2-6/mono/; revision=144772
2009-10-24 00:56:59 +00:00
Zoltan Varga 245474ed6f 2009-10-24 Zoltan Varga <[email protected]>
* branch-opts.c (mono_if_conversion): Avoid running deadce if it is disabled.

svn path=/branches/mono-2-6/mono/; revision=144764
2009-10-23 23:28:10 +00:00
Alexandre Gomes 370db981b3 Fixed GetWebRequest overriding problems, bug: https://bugzilla.novell.com/show_bug.cgi?id=549580
svn path=/branches/mono-2-6/mcs/; revision=144754
2009-10-23 18:37:47 +00:00
Sebastien Pouliot dbb67cab7a security-manager.c: Report if core-clr is active from ves_icall_System_Security_SecurityManager_get_SecurityEnabled to allow Moonlight BCL to behave appropriately (both in browser and outside, e.g. smcs)
svn path=/branches/mono-2-6/mono/; revision=144738
2009-10-23 14:34:04 +00:00
Sebastien Pouliot 042f77071a 2009-10-23 Sebastien Pouliot <[email protected]>
* SecurityManager_2_1.cs: Return to duty for SecurityEnabled, it
	will allow us to distinguish between running in the browser
	(coreclr active) and on the console (e.g. smcs) from managed code
	[Backport r144732]


svn path=/branches/mono-2-6/mcs/; revision=144733
2009-10-23 12:55:25 +00:00
Gonzalo Paniagua Javier 971d062268 2009-10-23 Gonzalo Paniagua Javier <[email protected]>
* mono-config.c: ignore UTF-8 BOM and report parser errors.
	Fixes bug #549108.


svn path=/branches/mono-2-6/mono/; revision=144729
2009-10-23 12:05:21 +00:00
Gonzalo Paniagua Javier b1a3d29a9e 2009-10-23 Gonzalo Paniagua Javier <[email protected]>
* Configuration.cs: make this work again with bundled configuration
	files. Fixes bug #495957. Patch from Tor Lillqvist.


svn path=/branches/mono-2-6/mcs/; revision=144723
2009-10-23 09:53:44 +00:00
Andreia Gaita 313b593071 * XmlConvert.cs: make ToUri static, fixes #548918 (moon)
[backport r144712]

2009-10-23  Andreia Gaita  <[email protected]>

svn path=/branches/mono-2-6/mcs/; revision=144713
2009-10-23 04:14:05 +00:00
Atsushi Eno cde520de2d merge r144706.
svn path=/branches/mono-2-6/mcs/; revision=144711
2009-10-23 03:46:01 +00:00
Atsushi Eno 428416e37d merge r144707.
svn path=/branches/mono-2-6/mcs/; revision=144710
2009-10-23 03:45:26 +00:00
Atsushi Eno 3184c790c7 merge everything from trunk.
svn path=/branches/mono-2-6/mcs/; revision=144704
2009-10-23 03:04:22 +00:00
Gonzalo Paniagua Javier 3e814f1d9b 2009-10-22 Gonzalo Paniagua Javier <[email protected]>
* class.c: fix typo.


svn path=/branches/mono-2-6/mono/; revision=144692
2009-10-22 22:49:45 +00:00
Sebastien Pouliot cf715cb40a corlib_test.dll.sources: Add System/WeakReferenceTest and System.Threading/EventWaitHandleTest.cs
svn path=/branches/mono-2-6/mcs/; revision=144685
2009-10-22 20:54:49 +00:00
Sebastien Pouliot a1f76a2fcf 2009-10-22 Sebastien Pouliot <[email protected]>
* EventWaitHandleTest.cs: New. Test case for EventResetMode 
	validation
	[Backport r144681]


svn path=/branches/mono-2-6/mcs/; revision=144684
2009-10-22 20:53:40 +00:00
Sebastien Pouliot 2645469dac 2009-10-22 Sebastien Pouliot <[email protected]>
* WeakReferenceTest.cs: New. Basic test cases
	[Backport r144681]


svn path=/branches/mono-2-6/mcs/; revision=144683
2009-10-22 20:49:58 +00:00
Sebastien Pouliot 426cc16e68 2009-10-22 Sebastien Pouliot <[email protected]>
* EventWaitHandleTest.cs: New. Test case for EventResetMode 
	validation
	[Backport r144681]


svn path=/branches/mono-2-6/mcs/; revision=144682
2009-10-22 20:47:55 +00:00
Marek Habersack d6a32cd6ce Backport of r144675
svn path=/branches/mono-2-6/mcs/; revision=144677
2009-10-22 20:01:50 +00:00
Zoltan Varga 8f82fce186 2009-10-22 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_emit_prolog): Disable aot for methods with save_lmf
	set, its not supported yet.

svn path=/branches/mono-2-6/mono/; revision=144676
2009-10-22 20:01:43 +00:00
Zoltan Varga bbf387a8f2 2009-10-22 Zoltan Varga <[email protected]>
* aot-runtime.c (mono_aot_get_method): Avoid asserting if a array generic
	iface wrapper is not found.
	(mono_aot_get_method): Ditto for GetGenericValueImpl.

svn path=/branches/mono-2-6/mono/; revision=144673
2009-10-22 19:53:31 +00:00
Zoltan Varga 34c65cd606 2009-10-22 Zoltan Varga <[email protected]>
* aot-runtime.c (mono_aot_get_method): Avoid asserting if a array generic
	iface wrapper is not found.

svn path=/branches/mono-2-6/mono/; revision=144666
2009-10-22 18:54:18 +00:00
Marek Habersack 8c5d96e873 Backport of r144662
svn path=/branches/mono-2-6/mcs/; revision=144663
2009-10-22 18:32:58 +00:00
Jonathan Pryor 920fc7c140 * AssemblyInfo.cs: Use Consts.FxVersion when building for MONOTOUCH.
svn path=/branches/mono-2-6/mcs/; revision=144660
2009-10-22 18:20:03 +00:00
Atsushi Eno 3e977b2172 merge every changes to this assembly upto r144652.
svn path=/branches/mono-2-6/mcs/; revision=144658
2009-10-22 18:15:20 +00:00
Zoltan Varga 8d6429e08c 2009-10-22 Zoltan Varga <[email protected]>
* marshal.c (mono_string_builder_to_utf16): Applied patch from
	Hib Eris  <[email protected]>. Return empty string for empty string builders.
	Fixes #549173.

svn path=/branches/mono-2-6/mono/; revision=144654
2009-10-22 17:49:47 +00:00
Lluis Sanchez 9bed95350d 2009-10-22 Lluis Sanchez Gual <[email protected]>
* CodeNamespaceImportCollection.cs: Properly update the internal
	keys hashtable when there are changes in the items.


svn path=/branches/mono-2-6/mcs/; revision=144651
2009-10-22 16:29:41 +00:00
Atsushi Eno cc737a9ba2 backport r144647.
svn path=/branches/mono-2-6/mcs/; revision=144648
2009-10-22 16:12:06 +00:00
Sebastien Pouliot dd953f50c5 2009-10-22 Sebastien Pouliot <[email protected]>
* MonitorTest.cs: Mark existing tests as "NotWorking" since they
	fail in MS FX2 (maybe they worked in 1.x?). Add more test cases
	to validate the TryEnter and Wait overloaded methods.
	[Backport r144627]


svn path=/branches/mono-2-6/mcs/; revision=144629
2009-10-22 11:53:53 +00:00
Sebastien Pouliot 085200c215 2009-10-22 Sebastien Pouliot <[email protected]>
* Monitor.cs: Fix validations for TryEnter and Wait. Reduce 
	duplicated code between overloads.
	[Backport r144627]


svn path=/branches/mono-2-6/mcs/; revision=144628
2009-10-22 11:53:28 +00:00
Gonzalo Paniagua Javier 14599e07ed 2009-10-22 Carlo Kok <[email protected]>
* Fixed AssemblyInfo.cs to reflect proper copyright.


svn path=/branches/mono-2-6/mcs/; revision=144614
2009-10-22 09:03:41 +00:00
Gonzalo Paniagua Javier 9f906977c4 2009-10-21 Carlo Kok <[email protected]>
* RuntimeLicenseContext.cs: Support for the resourceAssembly parameter.


svn path=/branches/mono-2-6/mcs/; revision=144612
2009-10-22 09:02:37 +00:00
Gonzalo Paniagua Javier be8dbdf6df Add man page for lc
svn path=/branches/mono-2-6/mono/; revision=144590
2009-10-22 02:14:11 +00:00
Gonzalo Paniagua Javier f4c3f2d686 2009-10-21 Gonzalo Paniagua Javier <[email protected]>
* sockets.[ch]: fix function definition.


svn path=/branches/mono-2-6/mono/; revision=144577
2009-10-21 21:40:06 +00:00
Gonzalo Paniagua Javier 12a0a0ad85 2009-10-21 Gonzalo Paniagua Javier <[email protected]>
* socket-io.[ch]: fix VS build.


svn path=/branches/mono-2-6/mono/; revision=144574
2009-10-21 21:38:28 +00:00
Zoltan Varga 1d2fd92a88 2009-10-21 Zoltan Varga <[email protected]>
* aot-runtime.c (mono_aot_get_method): Fix support for the IList<T> wrappers,
	which have a different name.

svn path=/branches/mono-2-6/mono/; revision=144570
2009-10-21 21:04:00 +00:00
Zoltan Varga 8add79cafb 2009-10-21 Zoltan Varga <[email protected]>
* aot-runtime.c (mono_aot_get_method): Special case the array generic iface
	wrappers and Array.GetGenericValueImpl ().

	* aot-compiler.c: Avoid emitting some wrappers which are not needed anymore
	because of the change above.

	* generics.cs: Add a test for full aot + generic array ifaces.

svn path=/branches/mono-2-6/mono/; revision=144566
2009-10-21 19:35:13 +00:00
Jb Evain fa842425c7 2009-10-21 Jb Evain <[email protected]>
* SerializationMap.cs, KnownTypeCollection.cs: avoid using LINQ
	on arrays as MonoTouch has issues with them.


svn path=/branches/mono-2-6/mcs/; revision=144550
2009-10-21 16:47:54 +00:00
Rodrigo Kumpera e1c04a3fcf In metadata:
2009-10-21  Rodrigo Kumpera  <[email protected]>

	* verify.c (verify_delegate_compatibility): Properly verify delegate creation of static
	methods. Fixes #543021.

	Backport of r144534.

>>>>>>> .r144538

svn path=/branches/mono-2-6/mono/; revision=144544
2009-10-21 13:36:43 +00:00
Sebastien Pouliot 7a51fff22c corlib_test.dll.sources: Add System.Threading/WaitHandleTest.cs
svn path=/branches/mono-2-6/mcs/; revision=144532
2009-10-21 12:21:38 +00:00
Sebastien Pouliot b7a7012115 2009-10-21 Sebastien Pouliot <[email protected]>
* WaitHandleTest.cs: New. Add test cases for Wait[One|All|Any]
	methods overloads (at least the one present in Silverlight 2)
	[Backport r144529]


svn path=/branches/mono-2-6/mcs/; revision=144531
2009-10-21 12:20:35 +00:00
Sebastien Pouliot 066dd83f5d 2009-10-21 Sebastien Pouliot <[email protected]>
* WaitHandle.cs: Add missing validations for 'millisecondsTimeout'
	in Wait[One|Any|All]. Also call the overloaded (bool) methods for
	WaitAll to reduce code duplication.
	[Backport r144529]


svn path=/branches/mono-2-6/mcs/; revision=144530
2009-10-21 12:19:45 +00:00
Gonzalo Paniagua Javier ed2f872e65 2009-10-21 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: implement *SendFile().


svn path=/branches/mono-2-6/mcs/; revision=144511
2009-10-21 06:43:44 +00:00
Gonzalo Paniagua Javier 1759857a1f 2009-10-21 Gonzalo Paniagua Javier <[email protected]>
* icall-def.h:
	* socket-io.[ch]: implemented SendFile.


svn path=/branches/mono-2-6/mono/; revision=144508
2009-10-21 06:34:48 +00:00
Gonzalo Paniagua Javier 3ed983bcab 2009-10-21 Gonzalo Paniagua Javier <[email protected]>
* sockets.[ch]: added TransmitFile implementation.


svn path=/branches/mono-2-6/mono/; revision=144505
2009-10-21 06:31:11 +00:00
Marek Habersack 3ae87c406b Backport of r144487
svn path=/branches/mono-2-6/mcs/; revision=144488
2009-10-20 19:22:13 +00:00
Zoltan Varga 5fbbcc177f 2009-10-20 Zoltan Varga <[email protected]>
* class.c (mono_class_create_from_typedef): Initialize class->element_class
	before the interfaces to avoid crashes later if class initialization fails.
	Fixes #548417.

svn path=/branches/mono-2-6/mono/; revision=144484
2009-10-20 19:03:53 +00:00
Gonzalo Paniagua Javier dd726bd89f 2009-10-20 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: set the shadow copy options calling the methods
	in AppDomain, instead of setting them in a copy of the setup
	information.


svn path=/branches/mono-2-6/mcs/; revision=144479
2009-10-20 18:31:55 +00:00
Zoltan Varga 51bca79c22 2009-10-16 Zoltan Varga <[email protected]>
* Makefile: Avoid else ifeq which is not recognized by some make versions.

svn path=/branches/mono-2-6/mcs/; revision=144471
2009-10-20 17:01:53 +00:00
Sebastien Pouliot b26939284a 2009-10-20 Sebastien Pouliot <[email protected]>
* TimerTest.cs: Add more validation tests
	[Backport r144466]


svn path=/branches/mono-2-6/mcs/; revision=144468
2009-10-20 15:54:08 +00:00
Sebastien Pouliot 9f622ff4ee 2009-10-20 Sebastien Pouliot <[email protected]>
* Timer.cs: Always call Init from every constructors to avoid 
	duplicate checks. Fix validations on different dueTime and period
	(ctor and Change methods). Seal private TimerComparer class and
	avoid multiple (identical) casts in its Compare method. Seal 
	private Scheduler class.
	[Backport r144466]


svn path=/branches/mono-2-6/mcs/; revision=144467
2009-10-20 15:53:31 +00:00
Gonzalo Paniagua Javier 06e892b980 2009-10-20 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: make sure we don't insert 2 timers with the same key.


svn path=/branches/mono-2-6/mcs/; revision=144463
2009-10-20 15:29:50 +00:00
Gonzalo Paniagua Javier 143af05a93 2009-10-20 Gonzalo Paniagua Javier <[email protected]>
* ServerContext.cs:
	* SslServerStream.cs: add new parameter that forces sending the
	CertificateRequest record. Make sure we raise the client certificate
	validation event when it is requested or required.


svn path=/branches/mono-2-6/mcs/; revision=144460
2009-10-20 15:25:48 +00:00
Sebastien Pouliot ef4767f919 2009-10-20 Sebastien Pouliot <[email protected]>
* MonoProperty.cs: Reduce code duplication and the number of direct
	calls to icalls (affecting the number of SecuritySafeCritical in
	Moonlight)
	[Backport 144448]


svn path=/branches/mono-2-6/mcs/; revision=144449
2009-10-20 12:05:20 +00:00
Jb Evain 47333cf53e 2009-10-20 Jb Evain <[email protected]>
* Thread.cs: change type of the current_appcontext field to object
	to avoid triggering static constructors unless explicitely required.


svn path=/branches/mono-2-6/mcs/; revision=144430
2009-10-20 09:02:57 +00:00
Sebastien Pouliot 38e2758eb0 2009-10-19 Sebastien Pouliot <[email protected]>
* assembly.c (mono_assembly_load_reference): Fix leak when 'status'
	code is known. (parse_public_key) Remove duplicate (unneeded) NULL
	check since 'pubkey' can't be NULL at this stage
	* icall.c (ves_icall_System_Array_FastCopy): Add comment about
	the check. (ves_icall_Type_GetInterfaceMapData) Remove duplicate
	initialization of 'iter'
	[Backport r144403]


svn path=/branches/mono-2-6/mono/; revision=144405
2009-10-19 19:39:10 +00:00
Sebastien Pouliot b3bef3cb6a 2009-10-19 Sebastien Pouliot <[email protected]>
* aot-compiler.c (emit_plt): Remove duplicate 'debug_sym' variable 
	that hides the previous one.
	[Backport r144402]


svn path=/branches/mono-2-6/mono/; revision=144404
2009-10-19 19:37:39 +00:00
Sebastien Pouliot 64f837613d 2009-10-19 Sebastien Pouliot <[email protected]>
* MonoEvent.cs: Reduce code duplication and the number of direct
	calls to icalls (affecting the number of SecuritySafeCritical in
	Moonlight)
	[Backport r144363]


svn path=/branches/mono-2-6/mcs/; revision=144364
2009-10-19 11:49:05 +00:00
Sebastien Pouliot 20e81a7bd0 2009-10-18 Sebastien Pouliot <[email protected]>
* MethodBaseTest.cs: Add new, working, test for non-generic
	GetMethodFromHandle. Add test case to show generic overload
	behave exactly the same when no second RuntimeMethodHandle is
	provided. Remove [Category("NotWorking")] on existing test case.
	[Backport r144335]


svn path=/branches/mono-2-6/mcs/; revision=144337
2009-10-18 23:53:42 +00:00
Sebastien Pouliot 6088064eb7 * MethodBase.cs: Reduce code duplication and the number of direct
calls to icalls (affecting the number of SecuritySafeCritical in
	Moonlight)
	[Backport r144335]

2009-10-18  Sebastien Pouliot  <[email protected]>


svn path=/branches/mono-2-6/mcs/; revision=144336
2009-10-18 23:53:00 +00:00
Zoltan Varga 7a90062ebe 2009-10-18 Zoltan Varga <[email protected]>
* aot-compiler.c (can_marshal_struct): Allow some System.dll structs to be
	marshalled. Fixes #541623.

svn path=/branches/mono-2-6/mono/; revision=144332
2009-10-18 18:17:35 +00:00
Geoff Norton e0e853111c make these public on monotouch
svn path=/branches/mono-2-6/mcs/; revision=144327
2009-10-18 17:11:06 +00:00
Sebastien Pouliot dbece2a334 In .:
2009-10-18  Sebastien Pouliot  <[email protected]>

	* corlib.dll.sources: Remove System.IO.IntPtrStream since it can
	be replaced by (public in 2.0+) UnmanagedMemoryStream
	* net_2_1_raw_corlib.dll.sources: Remove System.IO.IntPtrStream 
	since it can be replaced by UnmanagedMemoryStream
	[Backport r144322]

In System.Resources:
2009-10-18  Sebastien Pouliot  <[email protected]>

	* ResourceReader.cs, ResourceSet.cs, RuntimeResourceSet.cs: Use 
	UnmanagedMemoryStream (instead of IntPtrStream)
	[Backport r144322]

In System.IO:
2009-10-18  Sebastien Pouliot  <[email protected]>

	* UnmanagedMemoryStream.cs: Allow the use under NET_1_1 so we can
	remove the internal IntPtrStream from every profile.

In System.Reflection:
2009-10-18  Sebastien Pouliot  <[email protected]>

	* Assembly.cs: Use UnmanagedMemoryStream (instead of IntPtrStream)
	in every profile


svn path=/branches/mono-2-6/mcs/; revision=144323
2009-10-18 15:08:03 +00:00
Gonzalo Paniagua Javier 7148b88fc6 2009-10-17 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: add 3 missing DoCallback() calls in
	EndRead/EndWrite.


svn path=/branches/mono-2-6/mcs/; revision=144316
2009-10-18 02:09:23 +00:00
Sebastien Pouliot ce43336bb8 2009-10-17 Sebastien Pouliot <[email protected]>
* EqualityComparer.cs: Seal internal classes
	[Backport r144308]


svn path=/branches/mono-2-6/mcs/; revision=144309
2009-10-17 15:54:37 +00:00
Sebastien Pouliot 59a7e4c2de 2009-10-17 Sebastien Pouliot <[email protected]>
* MonoMethod.cs: Reduce code duplication and the number of direct
	calls to icalls (affecting the number of SecuritySafeCritical in
	Moonlight)
	[Backport r144306]


svn path=/branches/mono-2-6/mcs/; revision=144307
2009-10-17 14:56:38 +00:00
Zoltan Varga f6a4795925 2009-10-16 Zoltan Varga <[email protected]>
* aot-compiler.c (emit_extra_methods): Remove some asserts which are not needed.

svn path=/branches/mono-2-6/mono/; revision=144277
2009-10-16 15:43:51 +00:00
Marek Safar 71f60a3d4a 2009-10-16 Marek Safar <[email protected]>
A fix for bug #493523, #507067
	* convert.cs, nullable.cs, expression.cs: Do implicit and explicit
	standard nullable conversion using underlying standard conversion
	and not full conversion.


svn path=/branches/mono-2-6/mcs/; revision=144266
2009-10-16 13:47:18 +00:00
Atsushi Eno c81b863ef0 backport r144249.
svn path=/branches/mono-2-6/mcs/; revision=144250
2009-10-16 03:53:04 +00:00
Gonzalo Paniagua Javier 5002ce6535 add lc
svn path=/branches/mono-2-6/mono/; revision=144246
2009-10-16 03:18:12 +00:00
Gonzalo Paniagua Javier a665fdb2e9 add lc
svn path=/branches/mono-2-6/mcs/; revision=144245
2009-10-16 03:17:46 +00:00
Gonzalo Paniagua Javier 38079f5fa0 2009-10-12 Carlo Kok <[email protected]>
* DesigntimeLicenseContextSerializer.cs: Properly serialize licenses.
	* RuntimeLicenseContext.cs: Properly deserialize licenses.


svn path=/branches/mono-2-6/mcs/; revision=144240
2009-10-16 02:49:32 +00:00
Sebastien Pouliot 53665d2a9c 2009-10-15 Sebastien Pouliot <[email protected]>
* UnmanagedMemoryStreamTest.cs: Add more test cases to cover all
	validations
	[Backport r144226]


svn path=/branches/mono-2-6/mcs/; revision=144228
2009-10-15 20:20:17 +00:00
Sebastien Pouliot 286bcb9e60 2009-10-15 Sebastien Pouliot <[email protected]>
* UnmanagedMemoryStream.cs: Fix some and add missing validations
	[Backport r144226]


svn path=/branches/mono-2-6/mcs/; revision=144227
2009-10-15 20:19:37 +00:00
Sebastien Pouliot 9621c55b69 2009-10-15 Sebastien Pouliot <[email protected]>
* RuntimeHelpersTest.cs: Add more test cases for validations
	[Backport r144208]


svn path=/branches/mono-2-6/mcs/; revision=144210
2009-10-15 14:37:52 +00:00
Sebastien Pouliot dd815fb7fe 2009-10-15 Sebastien Pouliot <[email protected]>
* RuntimeHelpers.cs: Add missing validations
	[Backport r144208]


svn path=/branches/mono-2-6/mcs/; revision=144209
2009-10-15 14:37:06 +00:00
Sebastien Pouliot 839e971be3 2009-10-15 Sebastien Pouliot <[email protected]>
* GCHandleTest.cs: Add more test cases for validations
	[Backport r144204]


svn path=/branches/mono-2-6/mcs/; revision=144206
2009-10-15 14:22:19 +00:00
Sebastien Pouliot 17fa7867f8 2009-10-15 Sebastien Pouliot <[email protected]>
* GCHandle.cs: Add missing validations
	[Backport r144204]


svn path=/branches/mono-2-6/mcs/; revision=144205
2009-10-15 14:21:34 +00:00
Sebastien Pouliot aca521aca6 2009-10-15 Sebastien Pouliot <[email protected]>
* HttpRequestChannel.cs (WaitEnd): Neither Moonlight nor MonoTouch
	support contexts so we call the non-overloaded WaitOne method 
	(which defaults to false).
	[Backport r144200]


svn path=/branches/mono-2-6/mcs/; revision=144201
2009-10-15 12:54:23 +00:00
Sebastien Pouliot 10274adf0a 2009-10-15 Sebastien Pouliot <[email protected]>
* ClientRuntimeChannel.cs: Remove the WaitOne 'emitContext' 
	overloads from the Moonlight build. Directly call WaitHandle.
	WaitAll from WaitOne(int) (since the overloads are not always
	present)
	[Backport r144198]


svn path=/branches/mono-2-6/mcs/; revision=144199
2009-10-15 12:52:42 +00:00
Jb Evain 062e9f5266 2009-10-15 Jb Evain <[email protected]>
* monotouch_System.dll.sources: add Semaphore to MonoTouch.


svn path=/branches/mono-2-6/mcs/; revision=144192
2009-10-15 10:45:25 +00:00
Zoltan Varga c8bad1334e 2009-10-15 Zoltan Varga <[email protected]>
* mini.c (mono_op_imm_to_op): Handle OP_AND/OR/XOR_IMM.

svn path=/branches/mono-2-6/mono/; revision=144168
2009-10-15 00:12:37 +00:00
Jonathan Pryor a5d121ff11 Fix MonoTouch on the mono-2-6 branch.
svn path=/branches/mono-2-6/mcs/; revision=144154
2009-10-14 21:42:18 +00:00
Gonzalo Paniagua Javier 396faa531e fix the build
svn path=/branches/mono-2-6/mcs/; revision=144152
2009-10-14 20:58:11 +00:00
Jonathan Pryor 451dd25eb9 * Makefile: Add Mono.Data.Tds, System.Transactions, System.Data, and
Mono.Data.Sqlite to the MonoTouch build.
	* System/System.ComponentModel/TypeConverter_2_1.cs: Skip this type in
		the MonoTouch profile; MonoTouch will be using the 2.0 version of 
		TypeConverter.
	* System/System.ComponentModel/ComponentCollection.cs, 
		System/System.ComponentModel/PropertyDescriptor.cs: MonoTouch uses the
		.NET 2.0 versions of these types.
	* System/monotouch_System.dll.sources: Add lots of additional .NET 2.0
		functionality to the MonoTouch profile.
	* System.Transactions/Makefile (VALID_PROFILE): Add monotouch.
	* System.Data/System.Data.Common/DbConnection.cs: Throw 
		NotImplementedException for DbConnection.DbProviderFactory, as 
		DbProviderFactories isn't included in the MonoTouch profile.
	* System.Data/System.Data.SqlClient/SqlConnection.cs: Remove 
		EnterpriseServices dependency from the MonoTouch profile.
	* System.Data/monotouch_System.Data.dll.sources: Added.
	* System.Data/System.Data/XmlSchemaDataImporter.cs: Remove 
		DbProviderFactories dependency in the MonoTouch profile.

svn path=/branches/mono-2-6/mcs/; revision=144142
2009-10-14 20:28:31 +00:00
Gonzalo Paniagua Javier 7252b6595e 2009-10-14 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: use shadowCopyBinAssemblies from
	<hostingEnvironment>.


svn path=/branches/mono-2-6/mcs/; revision=144138
2009-10-14 19:30:28 +00:00
Marek Habersack 1f16f07de0 Backport of r144016
svn path=/branches/mono-2-6/mcs/; revision=144129
2009-10-14 18:18:35 +00:00
Sebastien Pouliot 3bf0adf06b 2009-10-14 Sebastien Pouliot <[email protected]>
* CultureInfo.cs: Refactor to reduce unsafe methods/scope.
	[Backport r144106]


svn path=/branches/mono-2-6/mcs/; revision=144107
2009-10-14 15:14:25 +00:00
Sebastien Pouliot bfea298166 2009-10-14 Sebastien Pouliot <[email protected]>
* Exception.cs: Use StackFrame.GetSecureFileName to display (or 
	not) the file names (and paths). Don't serialize Source for
	Moonlight.
	* ValueType.cs: Change InternalEquals (icall) visibility to 
	private since it is not used elsewhere outside the type.
	[Backport r144104]


svn path=/branches/mono-2-6/mcs/; revision=144105
2009-10-14 15:09:48 +00:00
Martin Baulig 480d488ef3 Backport of 144049; add a new 'MONO_DEBUGGER_EVENT_TRAMPOLINE' notification for the debugger which also includes the address of the callsite.
2009-10-13  Martin Baulig  <[email protected]>

	* debug-mini.c (mono_debugger_trampoline_compiled): Add
	`const guint8 *trampoline' argument; send both the old and the new
	notification.

2009-10-13  Martin Baulig  <[email protected]>

	* mono-debug-debugger.h (MonoDebuggerEvent): Renamed
	`MONO_DEBUGGER_EVENT_TRAMPOLINE' into
	`MONO_DEBUGGER_EVENT_OLD_TRAMPOLINE' and added a new
	`MONO_DEBUGGER_EVENT_TRAMPOLINE'.

	* mono-debug.h (MONO_DEBUGGER_MINOR_VERSION): Bump to 4.

svn path=/branches/mono-2-6/mono/; revision=144065
2009-10-13 23:03:19 +00:00
Zoltan Varga 06e50b881f 2009-10-13 Zoltan Varga <[email protected]>
* mono-gdb.py: Add an 'xdb' command to flush the debugging info.

svn path=/branches/mono-2-6/mono/; revision=144036
2009-10-13 18:26:08 +00:00
Zoltan Varga ff049da6c1 2009-10-13 Zoltan Varga <[email protected]>
* aot-compiler.c (mono_save_xdebug_info): Group methods into groups of 10 to
	avoid registering 1 symbol file per method with gdb.

svn path=/branches/mono-2-6/mono/; revision=144034
2009-10-13 18:20:30 +00:00
Zoltan Varga 43e1fd9f0e 2009-10-11 Zoltan Varga <[email protected]>
* aot-compiler.c (mono_save_xdebug_info): Emit a symbol for the method which
	can be used to set breakpoints in gdb.

	* image-writer.c (bin_writer_emit_writeout): Add support for setting the text
	segment to an absolute address.

svn path=/branches/mono-2-6/mono/; revision=144033
2009-10-13 18:20:22 +00:00
Zoltan Varga b680cf6b99 2009-10-13 Bill Holmes <[email protected]>
* aot-compiler.c : Fix the MSVC builds

	Code is contributed under MIT/X11 license.

svn path=/branches/mono-2-6/mono/; revision=144029
2009-10-13 17:52:18 +00:00
Zoltan Varga b5a02e9870 Fix the eglib build.
svn path=/branches/mono-2-6/mono/; revision=144015
2009-10-13 15:08:27 +00:00
Veerapuram Varadhan ee48d73acd backport of r143993, r143995
svn path=/branches/mono-2-6/mcs/; revision=143996
2009-10-13 01:19:28 +00:00
Marek Habersack 1950420281 Backport of r143990
svn path=/branches/mono-2-6/mcs/; revision=143991
2009-10-12 22:52:16 +00:00
Zoltan Varga feaafeeb4e Fix the build.
svn path=/branches/mono-2-6/mcs/; revision=143989
2009-10-12 22:47:14 +00:00
Zoltan Varga dae32f25ea 2009-10-12 Zoltan Varga <[email protected]>
* Process.cs (Dispose): Close the async output/error readers. Fixes #545429.

svn path=/branches/mono-2-6/mcs/; revision=143986
2009-10-12 21:31:08 +00:00
Marek Habersack 5c4860a930 Backport of r143979
svn path=/branches/mono-2-6/mcs/; revision=143980
2009-10-12 21:11:43 +00:00
Marek Habersack 30a5dda745 Backport of r143972
svn path=/branches/mono-2-6/mcs/; revision=143973
2009-10-12 14:43:19 +00:00
Marek Habersack 2289967204 Backport of r143967
svn path=/branches/mono-2-6/mcs/; revision=143968
2009-10-12 12:52:05 +00:00
Dick Porter e91a24c3f4 2009-10-12 Dick Porter <[email protected]>
* Splitter.cs: Adjust offsets when more than one splitter is
	present in a control.  Fixes bug 509472.


svn path=/branches/mono-2-6/mcs/; revision=143965
2009-10-12 12:30:26 +00:00
Ankit Jain 75d91d9c99 Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
2009-10-12  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets: For referenced projects,
	when trying to get the deploy items, ensure that the split
	lists of project references are available.
	(SplitProjectReferencesByExistent): New.
	Set DependsOnTargets appropriately.

2009-10-12  Ankit Jain  <[email protected]>

	* SolutionParser.cs: Handle non-existing project files, and
	project file load errors. Raise warnings instead of failing.
	* xbuild/Microsoft.Common.targets: Handle non-existant
	Project references, skip instead of failing.

In class/Microsoft.Build.Tasks:
2009-10-12  Ankit Jain  <[email protected]>

	* Makefile: Add reference to Microsoft.Build.Engine .

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-10-12  Ankit Jain  <[email protected]>

	* ResolveAssemblyReference.cs: Remove unnecessary tab in the warning
	messages.

2009-10-12  Ankit Jain  <[email protected]>

	* MSBuild.cs (Execute): Handle build errors.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-12  Ankit Jain  <[email protected]>

	* Target.cs (TargetFile): New. Gives the name of the file
	containing the target definition.
	* BuildEngine.cs (.ctor): Add a 'taskfile' parameters, and
	return this for ProjectFileOfTaskNode.
	* BuildTask.cs (LogTaskStarted):
	(LogTaskFinished): Use parentTarget.ProjectFileOfTaskNode for
	the event.
	(InitializeTask): Set BuildEngine's task file to parent target's
	TargetFile.
	* Engine.cs (LogProjectStarted): Incase of default targets, set
	TargetNames to String.Empty .
	* TargetBatchingImpl.cs (LogTargetStarted):
	(LogTargetFinished): Use target.TargetFile for the event.

	* ConsoleLogger.cs: Keep a stack of project/target/task being
	executed. And corresponding list of errors and warnings.
	(EventsToString): Stringifies the current "stack", to be used
	as key to the table of errors/warnings and for show messages
	at the end of the build.

2009-10-12  Ankit Jain  <[email protected]>

	* Project.cs (Load): Add argument checks.

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-10-12  Ankit Jain  <[email protected]>

	* TaskLoggingHelper.cs: Use the buildEngine.ProjectFileOfTaskNode
	in the event args.

2009-10-12  Ankit Jain  <[email protected]>

	* ToolTask.cs (ExecuteTool): Don't set toolOutput to null.
	(HandleTaskExecutionErrors): toolOutput can be null.
	Set toolOutput to null here.


svn path=/branches/mono-2-6/mcs/; revision=143964
2009-10-12 12:23:53 +00:00
Gonzalo Paniagua Javier 2fefe83b93 fix build
svn path=/branches/mono-2-6/mono/; revision=143963
2009-10-12 12:23:00 +00:00
Zoltan Varga d3442a8864 2009-10-12 Zoltan Varga <[email protected]>
* data/Makefile.am (gdb_DATA): Install mono-gdb.py alongside the mono executable.

svn path=/branches/mono-2-6/mono/; revision=143961
2009-10-12 12:04:21 +00:00
Zoltan Varga 054aa8742c 2009-10-12 Zoltan Varga <[email protected]>
* mono-gdb.py: Update this to gdb 7.0.

	* mono-gdbinit: Removed, no longer needed.

svn path=/branches/mono-2-6/mono/; revision=143960
2009-10-12 12:04:15 +00:00
Zoltan Varga 218d0e4fd6 2009-10-12 Zoltan Varga <[email protected]>
* data/gdb-pre7.0: New directory, containing the mono support files for
	gdb versions before 7.0.

svn path=/branches/mono-2-6/mono/; revision=143959
2009-10-12 12:04:08 +00:00
Marek Habersack 02d778b53f Backport of r143950
svn path=/branches/mono-2-6/mcs/; revision=143951
2009-10-12 10:50:12 +00:00
Marek Habersack d3db87f166 Backport of r143945
svn path=/branches/mono-2-6/mcs/; revision=143946
2009-10-12 09:52:38 +00:00
Gonzalo Paniagua Javier bd265b0b4c Patch by Joel Reed that implements a few network interface counters
svn path=/branches/mono-2-6/mono/; revision=143935
2009-10-12 05:56:18 +00:00
Ankit Jain cdde6d1025 * xbuild.1: Add info about env var XBUILD_COLORS.
Backported from trunk.

svn path=/branches/mono-2-6/mono/; revision=143907
2009-10-11 01:40:39 +00:00
Ankit Jain 85453c1f27 Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
2009-10-11  Ankit Jain  <[email protected]>

	* Main.cs: Add support for emitting messages in color.
	Taking relevant code from mcs/report.cs . Using ANSI
	color codes here instead of Console.ForegroundColor
	because of a bug in Console.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-11  Ankit Jain  <[email protected]>

	* ConsoleLogger.cs (no_colors): Rename to ..
	(use_colors): .. this. Fix the case when XBUILD_COLORS
	is not set.

2009-10-11  Ankit Jain  <[email protected]>

	* ConsoleLogger.cs: Use ColorSetter and ColorResetter .
	Support 'XBUILD_COLORS' to set colors for errors, warnings,
	events and messages.

2009-10-10  Ankit Jain  <[email protected]>

	* ConsoleLogger.cs (ProjectFinishedHandler): Once projectFailed
	becomes true, don't reset it. We are looking for "atleast one
	project failed".


svn path=/branches/mono-2-6/mcs/; revision=143904
2009-10-11 01:33:37 +00:00
Zoltan Varga 8523e6fd4c 2009-10-10 Zoltan Varga <[email protected]>
* aot-compiler.c (mono_save_trampoline_xdebug_info): Implement this for the
	gdb mode.

svn path=/branches/mono-2-6/mono/; revision=143895
2009-10-10 18:57:32 +00:00
Zoltan Varga 0d44e4bd88 2009-10-09 Zoltan Varga <[email protected]>
* mono.1: Document --debug=gdb option.

svn path=/branches/mono-2-6/mono/; revision=143891
2009-10-09 19:01:39 +00:00
Zoltan Varga 5fe74de573 2009-10-09 Zoltan Varga <[email protected]>
* driver.c (parse_debug_options): Add a 'gdb' option.

	* mini.c (mini_parse_debug_options): Add a 'gdb' option.

svn path=/branches/mono-2-6/mono/; revision=143890
2009-10-09 19:01:32 +00:00
Zoltan Varga 610c46ca01 2009-10-09 Zoltan Varga <[email protected]>
* mono-gdb.py (MonoSupport.run_hook): Set MONO_XDEBUG to 'gdb' to activate
	the GDB support mode in the runtime.

svn path=/branches/mono-2-6/mono/; revision=143889
2009-10-09 19:01:25 +00:00
Zoltan Varga 05ec37ee5d 2009-10-09 Zoltan Varga <[email protected]>
* image-writer.c: Add support for emitting the image into a memory buffer.

	* dwarfwriter.c: Add support for sharing one IL file between multiple images.

	* aot-compiler.c: Add support for registering debug info with GDB using the
	new JIT debugging interface in GDB 7.0. It can be turned on by setting
	MONO_XDEBUG to 'gdb'.

svn path=/branches/mono-2-6/mono/; revision=143888
2009-10-09 19:01:18 +00:00
Ankit Jain c39fd613b6 Update xbuild and Microsoft.Build.* from trunk.
2009-10-09  Ankit Jain  <[email protected]>

	* Exec.cs (AddCommandLineCommands): Add '/q' for cmd.exe, to
	turn 'echo off'. And make sure the script file on windows, has
	a '.bat' extension, otherwise cmd.exe opens it in a text editor.

2009-10-09  Ankit Jain  <[email protected]>

	Fix bug #545703.
	* Exec.cs (Command): On unix, change CRLF to CR.


svn path=/branches/mono-2-6/mcs/; revision=143881
2009-10-09 15:52:17 +00:00
Zoltan Varga ae4b04c837 2009-10-09 Zoltan Varga <[email protected]>
* image-writer.c (bin_writer_emit_writeout): Fix a copy paste error causing
	the LOC section to overwrite the LINE section.

svn path=/branches/mono-2-6/mono/; revision=143875
2009-10-09 14:49:13 +00:00
Marek Safar fcdff7ed33 Fixed bootstrap with trunk
svn path=/branches/mono-2-6/mcs/; revision=143870
2009-10-09 14:13:21 +00:00
Atsushi Eno e84d2dde76 backport r143819.
svn path=/branches/mono-2-6/mcs/; revision=143820
2009-10-09 03:28:45 +00:00
Veerapuram Varadhan ab56f08cdf 2009-09-30 Veerapuram Varadhan <[email protected]>
** Fixes #543207
	* OracleParameter.cs (Bind): Do not remove the trailing-null-byte.

svn path=/branches/mono-2-6/mcs/; revision=143805
2009-10-08 19:38:29 +00:00
Sebastien Pouliot e7ca8f20c4 2009-10-08 Sebastien Pouliot <[email protected]>
* StackFrame.cs: Introduce a new GetSecureFileName method that
	will deal with CAS (regular framework) and will remove the path
	(for Moonlight) on a stack frame.
	* StackTrace.cs: Use the new StackFrame.GetSecureFileName to
	simplify logic
	[Backport r143802]


svn path=/branches/mono-2-6/mcs/; revision=143804
2009-10-08 19:31:10 +00:00
Sebastien Pouliot 15b13478af 2009-10-08 Sebastien Pouliot <[email protected]>
* AppDomain.cs: Remove NET_2_1 specific DefineDynamicAssembly(
	AssemblyName,AssemblyBuilderAccess,bool) since it is not part
	of SL. Provide a ToString implementation similar to Silverlight
	for Moonlight (and without directly using an icall)
	[Backport r143799]


svn path=/branches/mono-2-6/mcs/; revision=143800
2009-10-08 19:06:02 +00:00
Jb Evain d0cc112de9 2009-10-08 Jb Evain <[email protected]>
* Makefile: build the i18n assemblies on MonoTouch.


svn path=/branches/mono-2-6/mcs/; revision=143774
2009-10-08 13:57:23 +00:00
Jb Evain 1bbc0280f6 use the expression interpreter on MonoTouch
svn path=/branches/mono-2-6/mcs/; revision=143770
2009-10-08 13:53:02 +00:00
Ankit Jain 2f8194612d Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
	* xbuild/Microsoft.Common.targets: Don't get list of files
	to deploy, for 'Private' project references.
	Fix target named for *CopyDeploy*.

2009-10-08  Ankit Jain  <[email protected]>

In tools/xbuild/tests:
2009-10-08  Ankit Jain  <[email protected]>

	* standalone/Project1: Add a new Lib5 project, and add
	private references to various projects.
	Update final-outputs.txt .
	* standalone/Project01/Lib5/*: New.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
	* ResolveAssemblyReference.cs: Don't resolve any dependencies for
	assemblies resolved from {PkgConfig}. Honor parent's CopyLocal for
	dependencies.

2009-10-08  Ankit Jain  <[email protected]>


svn path=/branches/mono-2-6/mcs/; revision=143741
2009-10-08 02:19:49 +00:00
Ankit Jain be9de0e1ac Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
2009-10-08  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.tasks: Add RemoveDuplicates task.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
2009-10-08  Ankit Jain  <[email protected]>

	* TestMessageLogger.cs (CheckLoggedAny): New.

2009-10-08  Ankit Jain  <[email protected]>

	* RemoveDuplicatesTest.cs: New.

In class/Microsoft.Build.Tasks:
2009-10-08  Ankit Jain  <[email protected]>

	* Microsoft.Build.Tasks_test.dll.sources: Added
	RemoveDuplicatesTest.cs

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-10-08  Ankit Jain  <[email protected]>

	* MSBuild.cs (Execute): Don't share target output items,
	always create a copy.

2009-10-08  Ankit Jain  <[email protected]>

	* RemoveDuplicates.cs: Use item's ItemSpec as the key.

2009-10-07  Ankit Jain  <[email protected]>

	* ManagedCompiler.cs (HandleTaskExecutionErrors): Log error if
	required.

2009-10-06  Ankit Jain  <[email protected]>

	* Exec.cs (ExecuteTool): Use DeleteTempFile instead of File.Delete
	(HandleTaskExecutionErrors): Log error, if required.
	* MSBuild.cs: Don't log error.
	* Warning.cs: Don't log if @text is empty.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2009-10-08  Ankit Jain  <[email protected]>

	* ProjectTest.cs (TestBatchedMetadataRefInOutput): New.

In class/Microsoft.Build.Engine/Test/various:
2009-10-08  Ankit Jain  <[email protected]>

	* Items.cs (TestItemsWithWildcards): New.

2009-10-08  Ankit Jain  <[email protected]>

	* Items.cs (TestItems5): Fix to work correctly on windows
	and unix.
	(TestReservedMetadata): New.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-08  Ankit Jain  <[email protected]>

	* DirectoryScanner.cs: Use Path.GetPathRoot, instead of
	directly using DirectoryInfo ("z:"), that doesn't return
	a dir info for "z:".

2009-10-08  Ankit Jain  <[email protected]>

	* DirectoryScanner.cs: Handle absolute paths. Fix to work
	correctly on windows. Change order of adding paths to match
	msbuild, useful to have.

2009-10-08  Ankit Jain  <[email protected]>

	* TaskBatchingImpl.cs (ParseTaskAttributes): Parse attributes
	of the 'Output' element also.
	* TaskEngine.cs (PublishOutput): Honor condition on 'Output' also.

2009-10-07  Ankit Jain  <[email protected]>

	* ConsoleLogger.cs: Mark build as failed, if any project failed.

2009-10-06  Ankit Jain  <[email protected]>

	* ConsoleLogger: Improve error reporting. Don't count failed task,
	target or project as another error. Show "errors" after "warnings",
	more useful to the user.
	* Project.cs (BuildTarget): Log error instead of using CWL.

In class/Microsoft.Build.Utilities/Mono.XBuild.Utilities:
2009-10-08  Ankit Jain  <[email protected]>

	* ReservedNameUtils.cs: Fix 'RootDir', 'Directory'.
	(WithTrailingSlash): New.
	Update to use the new WithTrailingSlash method.

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-10-06  Ankit Jain  <[email protected]>

	* ToolTask.cs (Execute): HandleTaskExecutionErrors is called only
	if exitCode != 0.
	(ExecuteTool): Move logging of exitcode to HandleTaskExecutionErrors.
	Remove MonoTODOs.
	* TaskLoggingHelper.cs (LogMessageFromText): New.
	(LogMessage): Refactor to use above.


svn path=/branches/mono-2-6/mcs/; revision=143736
2009-10-08 00:58:55 +00:00
Atsushi Eno 5464542c55 backport r143704 from trunk.
svn path=/branches/mono-2-6/mcs/; revision=143706
2009-10-07 19:14:40 +00:00
Atsushi Eno 4ce9ff767f I have committed extraneous stuff (that I once did too in trunk).
svn path=/branches/mono-2-6/mcs/; revision=143705
2009-10-07 19:13:32 +00:00
Atsushi Eno db5459c586 merge all changes from trunk (r143247 - r143697)
svn path=/branches/mono-2-6/mcs/; revision=143702
2009-10-07 19:04:59 +00:00
Atsushi Eno 3268e37cd1 merge all commits from trunk (r142816 - r143609)
svn path=/branches/mono-2-6/mcs/; revision=143700
2009-10-07 18:54:05 +00:00
Sebastien Pouliot d4674914b9 2009-10-07 Sebastien Pouliot <[email protected]>
* String.cs: Remove unsafe code duplication in ToCharArray.
	Define out the unused InternalStrcpy icalls
	* StringComparer.cs: Seal internal/private inner classes.
	[Backport r143651]


svn path=/branches/mono-2-6/mcs/; revision=143653
2009-10-07 13:46:13 +00:00
Sebastien Pouliot e7702bf35d 2009-10-07 Sebastien Pouliot <[email protected]>
* CompareInfo.cs: Don't allow MONO_DISABLE_MANAGED_COLLATION
	override for Moonlight and move all icalls together so they
	can be #if-ed out.
	[Backport r143648]


svn path=/branches/mono-2-6/mcs/; revision=143649
2009-10-07 13:41:18 +00:00
Zoltan Varga c3f5ca896a 2009-10-07 Zoltan Varga <[email protected]>
* pinvoke2.cs libtest.c: Add a test for marshalling DateTime to unmanaged code.

svn path=/branches/mono-2-6/mono/; revision=143642
2009-10-07 13:21:53 +00:00
Zoltan Varga a41a82a694 2009-10-07 Zoltan Varga <[email protected]>
* marshal.c (emit_marshal_vtype): Emit marshalling of DateTime to OLE DATE.
	Fixes #322934.

svn path=/branches/mono-2-6/mono/; revision=143641
2009-10-07 13:21:45 +00:00
Sebastien Pouliot bdb31e441e net_2_1_raw_corlib.dll.sources: Remove System/LocalDataStoreSlot.cs from Moonlight build
svn path=/branches/mono-2-6/mcs/; revision=143634
2009-10-07 12:44:25 +00:00
Sebastien Pouliot 0b8e8c6cb7 2009-10-07 Sebastien Pouliot <[email protected]>
* Context.cs: Remove LocalDataStoreSlot-related methods from
	Moonlight build
	[Backport r143631]


svn path=/branches/mono-2-6/mcs/; revision=143632
2009-10-07 12:42:07 +00:00
Sebastien Pouliot e4c96ec70a 2009-10-07 Sebastien Pouliot <[email protected]>
* Thread.cs: Remove LocalDataStoreSlot-related methods from
	Moonlight build
	[Backport r143629]


svn path=/branches/mono-2-6/mcs/; revision=143630
2009-10-07 12:35:56 +00:00
Sebastien Pouliot f91f74d6d7 In Test/System.ServiceModel:
2009-10-07  Sebastien Pouliot  <[email protected]>

	* OperationContextTest.cs: Add test case for OperationContext.Current
	[Backport r143620]

In System.ServiceModel:
2009-10-07  Sebastien Pouliot  <[email protected]>

	* OperationContext.cs: Use [ThreadStatic] instead of Thread.
	GetNamedDataSlot with Thread.[Get|Set]Data since it offers type
	safety and don't require keeping extra API inside Moonlight
	[Backport r143620]


svn path=/branches/mono-2-6/mcs/; revision=143621
2009-10-07 12:05:01 +00:00
Marek Habersack 0263ba084f Backport of r143611
svn path=/branches/mono-2-6/mcs/; revision=143612
2009-10-07 10:49:21 +00:00
Gonzalo Paniagua Javier 4b085e4b62 2009-10-07 Gonzalo Paniagua Javier <[email protected]>
* StaticFileHandler.cs: it's the last flush even when a VPP is used.


svn path=/branches/mono-2-6/mcs/; revision=143598
2009-10-07 04:03:06 +00:00
Atsushi Eno 651f863792 backport r143593.
svn path=/branches/mono-2-6/mcs/; revision=143594
2009-10-07 02:22:55 +00:00
Marek Habersack 2365397ca3 Backport of r143587
svn path=/branches/mono-2-6/mcs/; revision=143588
2009-10-07 00:10:27 +00:00
Sebastien Pouliot dfd3372251 2009-10-06 Sebastien Pouliot <[email protected]>
* Decimal.cs: Use Compare method instead of directly using the
	decimalCompare internal call.
	[Backport r143554]


svn path=/branches/mono-2-6/mcs/; revision=143555
2009-10-06 20:09:20 +00:00
Sebastien Pouliot 4c9ee53953 2009-10-06 Sebastien Pouliot <[email protected]>
* Enum.cs: Add an internal Value property as a single point to 
	call the internal call get_value.
	[Backport r143549]


svn path=/branches/mono-2-6/mcs/; revision=143550
2009-10-06 18:53:49 +00:00
Sebastien Pouliot 8921ca9e49 net_2_1_raw_corlib.dll.sources: Remove normalization files from Moonlight build
svn path=/branches/mono-2-6/mcs/; revision=143541
2009-10-06 17:18:41 +00:00
Sebastien Pouliot bf1d85db26 2009-10-06 Sebastien Pouliot <[email protected]>
* Encoding.cs: Remove normalization methods for Moonlight
	[Backport r143536]


svn path=/branches/mono-2-6/mcs/; revision=143537
2009-10-06 17:16:20 +00:00
Sebastien Pouliot 4f5f2e43e2 2009-10-06 Sebastien Pouliot <[email protected]>
* String.cs: Remove normalization methods for Moonlight
	[Backport r143533]


svn path=/branches/mono-2-6/mcs/; revision=143535
2009-10-06 17:13:17 +00:00
Zoltan Varga 0d8d9abd48 2009-10-06 Zoltan Varga <[email protected]>
* aot-compiler.c (add_generic_class): Add an instance of GenericComparer<T> for
	each instance of Comparer<T>.

	* generics.cs: Add a new test.

svn path=/branches/mono-2-6/mono/; revision=143532
2009-10-06 17:10:01 +00:00
Gonzalo Paniagua Javier 9f4abfb1d5 2009-10-06 Gonzalo Paniagua Javier <[email protected]>
* GatewayIPAddressInformationCollection.cs:
	* IPInterfaceProperties.cs: implement GatewayAddresses for linux.
	Original patch by Christoph von Wittich.
	Fixes bug #544640.


svn path=/branches/mono-2-6/mcs/; revision=143526
2009-10-06 16:25:59 +00:00
Jonathan Chambers 22c4e0ee3b 2009-10-06 Jonathan Chambers <[email protected]>
* String.cs (Contains): Use CompareOptions.Ordinal. Fixes bug
        #535425.


svn path=/branches/mono-2-6/mcs/; revision=143521
2009-10-06 15:14:43 +00:00
Mark Probst 4e92234406 2009-10-06 Mark Probst <[email protected]>
* object.c (mono_method_return_message_restore): Handle the case
        where the argument is an instance of a generic type.  Fixes
        #544446.

        Backport of r143506.

2009-10-06  Mark Probst  <[email protected]>

        * bug-544445.cs: New test.

        * Makefile.am: Test added.

        Backport of r143506.

svn path=/branches/mono-2-6/mono/; revision=143510
2009-10-06 13:15:18 +00:00
Marek Habersack 4ab670066a Fix the build
svn path=/branches/mono-2-6/mcs/; revision=143429
2009-10-05 17:58:35 +00:00
Marek Safar 29f9e5ff3d 2009-10-05 Marek Safar <[email protected]>
* expression.cs: Equality comparison of generic parameter with
	class constraint.


svn path=/branches/mono-2-6/mcs/; revision=143421
2009-10-05 16:50:49 +00:00
Marek Safar 292fa3413f 2009-10-05 Marek Safar <[email protected]>
A fix for bug #543570
	* generic.cs: Import predefined constraints correctly.


svn path=/branches/mono-2-6/mcs/; revision=143418
2009-10-05 16:05:18 +00:00
Marek Habersack 17ebd3efa0 Backport of r143388
svn path=/branches/mono-2-6/mcs/; revision=143389
2009-10-05 11:15:22 +00:00
Marek Habersack 7b6992976a Backport of r143384
svn path=/branches/mono-2-6/mcs/; revision=143385
2009-10-05 10:45:56 +00:00
Atsushi Eno 02bd2a8b2d backport r143368 and r143369.
svn path=/branches/mono-2-6/mcs/; revision=143371
2009-10-05 06:02:52 +00:00
Atsushi Eno 4415259ba1 backport r143367.
svn path=/branches/mono-2-6/mcs/; revision=143370
2009-10-05 06:01:30 +00:00
Zoltan Varga 8253721cb0 2009-10-04 Zoltan Varga <[email protected]>
* aot-compiler.c (add_generic_class): Only add GetGenericValueImpl wrappers
	when using full-aot.

svn path=/branches/mono-2-6/mono/; revision=143350
2009-10-04 16:34:37 +00:00
Zoltan Varga 589b50de6f 2009-10-04 Zoltan Varga <[email protected]>
* processes.c: Implement get_process_name_from_proc () on solaris.

svn path=/branches/mono-2-6/mono/; revision=143341
2009-10-04 15:35:47 +00:00
Ankit Jain 85f197004d Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
2009-10-03  Ankit Jain  <[email protected]>

	Fix bug#542461.
	* xbuild/Microsoft.Common.targets (KeyOriginatorFile): Set to
	$(AssemblyOriginatorKeyFile), if SignAssembly is true.
	Use it for satellite assemblies also.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-03  Ankit Jain  <[email protected]>

	* Project.cs (OS): New.
	(InitializeProperties): Set 'OS' as a pre-defined property, set to
	'Windows_NT', 'Unix' or 'OSX' depending on the platform.


svn path=/branches/mono-2-6/mcs/; revision=143317
2009-10-02 22:08:37 +00:00
Zoltan Varga 01c866af9c 2009-10-02 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_emit_setret): Emit long return values using OP_LMOVE.
	(mono_arch_create_vars): Instead of allocating a stack slot by hand, allocate
	a variable to hold the stack slot used by the int<->float conversion opcodes.

svn path=/branches/mono-2-6/mono/; revision=143311
2009-10-02 18:53:26 +00:00
Zoltan Varga 4bf53054c2 2009-09-25 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_create_vars): Make the component vars of a long ret
	variable volatile. Fixes #541577.

	* basic-calls.cs: Add a new test.

	* basic-long.cs: Remove tests which are now in basic-calls.cs.

svn path=/branches/mono-2-6/mono/; revision=143310
2009-10-02 18:53:18 +00:00
Zoltan Varga 04ca35cc6a 2009-10-02 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_build_imt_thunk): Implement support for fail_tramp.

svn path=/branches/mono-2-6/mono/; revision=143270
2009-10-02 10:49:14 +00:00
Marek Safar 43806c6701 2009-10-02 Marek Safar <[email protected]>
* ecore.cs: Don't crash on overloads with optional paremeters where
	arguments count overflows.
	
	* parameter.cs: Import optional parameter constants using optional
	value type.


svn path=/branches/mono-2-6/mcs/; revision=143265
2009-10-02 10:43:14 +00:00
Ankit Jain 8dd2dbbe9e Update xbuild and Microsoft.Build.* from trunk.
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-02  Ankit Jain  <[email protected]>

	* Expression.cs (Parse): Don't change '/' to '\\', not required.

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-10-02  Ankit Jain  <[email protected]>

	* AppDomainIsolatedTask.cs (BuildEngine): Init 'log'.


svn path=/branches/mono-2-6/mcs/; revision=143217
2009-10-01 20:40:44 +00:00
Geoff Norton 5c45430b3f Include async dns in monotouch
svn path=/branches/mono-2-6/mcs/; revision=143194
2009-10-01 18:33:11 +00:00
Miguel de Icaza d70052496a Backport
svn path=/branches/mono-2-6/mcs/; revision=143110
2009-10-01 02:42:30 +00:00
Gonzalo Paniagua Javier 3de2cd8abe 2009-09-30 Gonzalo Paniagua Javier <[email protected]>
* HtmlSelectBuilder.cs: <option> allows the value of the 'selected'
	attribute to be a boolean or the string "selected", which is treated
	as "true".


svn path=/branches/mono-2-6/mcs/; revision=143106
2009-10-01 02:24:44 +00:00
Gonzalo Paniagua Javier 91f3e24d60 2009-09-30 Gonzalo Paniagua Javier <[email protected]>
* CodeNamespace.cs:
	* CodeTypeReference.cs:
	* CodeMemberMethod.cs:
	* CodeCompileUnit.cs:
	* CodeNamespaceImportCollection.cs:
	* CodeTypeDeclaration.cs: renamed/added fields so that we're
	compatible with MS serialization.


svn path=/branches/mono-2-6/mcs/; revision=143103
2009-10-01 01:44:23 +00:00
Gonzalo Paniagua Javier 681488c662 2009-09-30 Gonzalo Paniagua Javier <[email protected]>
* Hashtable.cs: MS (at least latest and greatest) does not always
	serialized the HashCodeProvider. Ignoring the error when the field
	is not found.


svn path=/branches/mono-2-6/mcs/; revision=143100
2009-10-01 01:41:07 +00:00
Gonzalo Paniagua Javier 3b095deb1e undo. Proper fix was in BuildManager
svn path=/branches/mono-2-6/mcs/; revision=143097
2009-10-01 01:25:17 +00:00
Gonzalo Paniagua Javier 5cc7eaea6e 2009-09-30 Gonzalo Paniagua Javier <[email protected]>
* BuildManager.cs: load/set the global resources assembly for
	precompiled and merged sites correctly.


svn path=/branches/mono-2-6/mcs/; revision=143094
2009-10-01 01:22:15 +00:00
Ankit Jain 7803cd3ec4 Update xbuild and Microsoft.Build.* from trunk.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2009-10-01  Ankit Jain  <[email protected]>

	* ImportTest.cs (TestAdd1): Add tests for multiple imports.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-10-01  Ankit Jain  <[email protected]>

	* Project.cs (AddImport): Show the correct source file name, when
	the import is in the main project file.

2009-10-01  Ankit Jain  <[email protected]>

	Fix bug #543299.
	* Import.cs (.ctor): Evaluate and set EvaluatedProjectPath to
	the full path of the imported project here itself, instead of ..
	(Evaluate): .. here.
	* ImportCollection.cs (Add): Use import.EvaluatedProjectPath .
	(Contains): New.
	* Project.cs (AddImport): Don't process if condition is false.
	Warn if a circular reference is detected, and ignore the import.


svn path=/branches/mono-2-6/mcs/; revision=143082
2009-09-30 23:21:18 +00:00
Geoff Norton 4ebde82145 Add AssemblyInfo so we can strong name the dll
svn path=/branches/mono-2-6/mcs/; revision=143064
2009-09-30 19:42:48 +00:00
Geoff Norton b9b681b89f fix S.W.S on monotouch
svn path=/branches/mono-2-6/mcs/; revision=143062
2009-09-30 19:39:07 +00:00
Geoff Norton a5aeef3952 2009-09-30 Miguel de Icaza <[email protected]>
* ExtensionManager.cs: Initialize the NET_2_0 pieces with
	MonoTouch, but do not register any of the System.Configuration
	depending extensions.

	BuildExtensionImporters, BuildExtensionReflectors: empty methods
	for MOnoTouch.

	* ServiceDescriptionImporter.cs, WebReference.cs: Remove
	codegeneration features for MonoTouch

2009-09-30  Miguel de Icaza  <[email protected]>

	* Methods.cs: Empty extensions for MonoTouch for now.

	* ServerType.cs: On MonoTouch, we do not support HttpGet or
	HttpPost variations yet.

	* SoapExtension.cs: Avoid System.Configuration features.

svn path=/branches/mono-2-6/mcs/; revision=143061
2009-09-30 19:38:50 +00:00
Jackson Harper 4de89dd439 Add a couple of classes to net_2_1 these are available in SL3
svn path=/branches/mono-2-6/mcs/; revision=143046
2009-09-30 16:30:55 +00:00
Geoff Norton 15c9b8f2ca Put WCF back in to monotouch
svn path=/branches/mono-2-6/mcs/; revision=143022
2009-09-30 15:09:17 +00:00
Jonathan Pobst 8baca4235f 2009-09-26 Jonathan Pobst <[email protected]>
[Backport]
	* TreeNode.cs: When we invalidate a node, make sure we start at
	0, instead of the node's Bounds.Left, which does not include
	the +/-, checkbox, or stateimages.
	[Fixes bug #542481]

svn path=/branches/mono-2-6/mcs/; revision=143020
2009-09-30 15:05:29 +00:00
Zoltan Varga a927d1db6a 2009-09-29 Zoltan Varga <[email protected]>
* mini-sparc.c: Fix the handling of enums with base type long.

svn path=/branches/mono-2-6/mono/; revision=143008
2009-09-30 13:50:38 +00:00
Zoltan Varga efed257d39 2009-09-29 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_output_basic_block): Fix IREM_UN_IMM.

svn path=/branches/mono-2-6/mono/; revision=143007
2009-09-30 13:50:30 +00:00
Zoltan Varga 9ad9b08458 2009-09-29 Zoltan Varga <[email protected]>
* mono-compiler.h (MONO_INTERNAL): Disable this on solaris as it produces a
	millions of warnings during compilation.

svn path=/branches/mono-2-6/mono/; revision=143006
2009-09-30 13:50:23 +00:00
Zoltan Varga 9b2393d1c7 2009-09-29 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_allocate_vars): Use mono_class_from_mono_type ()
	instead of using type->data.klass as the later doesn't work with generics.

svn path=/branches/mono-2-6/mono/; revision=143005
2009-09-30 13:50:16 +00:00
Zoltan Varga 463c186397 2009-09-29 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_allocate_vars): Use mono_class_from_mono_type ()
	instead of using type->data.klass as the later doesn't work with generics.

svn path=/branches/mono-2-6/mono/; revision=143004
2009-09-30 13:50:09 +00:00
Zoltan Varga 45d870860c 2009-09-30 Zoltan Varga <[email protected]>
* pinvoke2.cs libtest.c: Add a test for #543133.

svn path=/branches/mono-2-6/mono/; revision=143000
2009-09-30 13:32:00 +00:00
Zoltan Varga 47df667e6e 2009-09-30 Zoltan Varga <[email protected]>
* marshal.c (emit_marshal_object): Emit out marshalling of stringbuilders.
	Fixes #543133.

svn path=/branches/mono-2-6/mono/; revision=142999
2009-09-30 13:31:53 +00:00
Zoltan Varga 62e7e2c54d 2009-09-30 Zoltan Varga <[email protected]>
* aot-compiler.c (add_wrappers): Add a runtime invoke wrapper which is used by
	mono_runtime_capture_context () without calling mono_runtime_invoke ().
	(can_marshal_struct): Skip structures with auto layout.

svn path=/branches/mono-2-6/mono/; revision=142993
2009-09-30 12:49:29 +00:00
Zoltan Varga 788c9757fd 2009-09-30 Zoltan Varga <[email protected]>
* tramp-arm.c (GEN_TRAMP_SIZE): Increase this by 4.

svn path=/branches/mono-2-6/mono/; revision=142992
2009-09-30 12:49:21 +00:00
Marek Habersack daa2f108f3 Backport of r142984
svn path=/branches/mono-2-6/mcs/; revision=142985
2009-09-30 10:39:28 +00:00
Marek Safar 81bb1146d4 2009-09-30 Marek Safar <[email protected]>
A fix for bug #542959
	* delegate.cs: Emit correct delegate instance variable when there
	are static and non-static overloads.


svn path=/branches/mono-2-6/mcs/; revision=142978
2009-09-30 09:35:40 +00:00
Jb Evain 8da02c6d46 2009-09-30 Jb Evain <[email protected]>
* HttpRequestChannel.cs: When compiling for MonoTouch, avoid
	to use any of the remoting features.

svn path=/branches/mono-2-6/mcs/; revision=142972
2009-09-30 08:43:35 +00:00
Gonzalo Paniagua Javier fa1a176ef6 changelog
svn path=/branches/mono-2-6/mcs/; revision=142965
2009-09-30 06:06:31 +00:00
Gonzalo Paniagua Javier aebf222336 2009-09-30 Gonzalo Paniagua Javier <[email protected]>
* BinaryFormatter.cs: NoCheckDeserialize() was using PeekChar() on a
	reader when it should only read 1 byte. Also BinaryReader.PeekChar()
	tries to set the position of hte stream back to where it was before
	the read, which does not work well with broken Stream
	implementations like BZip2InputStream (reports CanSeek is true when
	it really can't seek). Now we do a Read() and then pass the value we
	read on to the next methods.

	* MessageFormatter.cs: 
	* ObjectReader.cs: added overloads that take a BinaryElement instead
	of reading it from the reader. Only for the methods used in
	NoCheckDeserialize.

	Fixes bug #503435.


svn path=/branches/mono-2-6/mcs/; revision=142964
2009-09-30 06:06:18 +00:00
Gonzalo Paniagua Javier 5afdc7affb 2009-09-30 Gonzalo Paniagua Javier <[email protected]>
* InotifyWatcher.cs: fixes bug #322330. Patch by Alexander Kojevnikov.
	This patch fixes the issues reported by the OP and in my previous
	comment. In particular:

	Hunks 1 and 4 remove the new_name_needed flag, it's not used
	anywhere and only adds confusion.

	Hunk 2 skips DeleteSelf event for sub-directories, they receive the
	Delete event anyway.

	Hunk 3 makes sure that we use a combination of Deleted+Created
	notifications instead of a single Renamed notification, if the watched item
	has been moved from one directory to another. This is because RenamedEventArgs
	supports only one directory name: FullPath is always directory+name,
	OldFullPath is always directory+old_name.

	Hunk 5 updates relevant InotifyData instances with the new directory
	name.  Without this, notifications always use the original folder names.

	The last hunk may be a bit slow as it needs to iterate on all the
	InotifyData instances. On the other hand, we are already doing it on the
	Delete event (lines 560:568) and by default inotify allows only 8192 watches
	per user.


svn path=/branches/mono-2-6/mcs/; revision=142959
2009-09-30 05:26:52 +00:00
Gonzalo Paniagua Javier 7d6aa1e322 2009-09-29 Gonzalo Paniagua Javier <[email protected]>
* TermInfoDriver.cs: attempt to fix bug #527487.


svn path=/branches/mono-2-6/mcs/; revision=142948
2009-09-30 03:14:42 +00:00
Marek Habersack db66ea05c0 Backport of r142943
svn path=/branches/mono-2-6/mcs/; revision=142944
2009-09-29 23:25:14 +00:00
Marek Habersack 43e34e9221 Backport of r142934
svn path=/branches/mono-2-6/mcs/; revision=142935
2009-09-29 21:52:05 +00:00
Andrew Jorgensen 69154db126 15:40 <kangaroo> its just apples assembler is horribly old and stupid
svn path=/branches/mono-2-6/mono/; revision=142933
2009-09-29 21:43:00 +00:00
Gonzalo Paniagua Javier 1f7a1c183c 2009-09-29 Gonzalo Paniagua Javier <[email protected]>
* AsyncResult.cs: do not create the handle if not needed.


svn path=/branches/mono-2-6/mcs/; revision=142930
2009-09-29 21:02:39 +00:00
Gonzalo Paniagua Javier beb7543392 2009-09-29 Gonzalo Paniagua Javier <[email protected]>
* EndPointListener.cs: fix matching a listener in presence of a query
	string or anchor.


svn path=/branches/mono-2-6/mcs/; revision=142901
2009-09-29 17:16:29 +00:00
Ankit Jain d0dbad9ad7 Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
2009-09-29  Ankit Jain  <[email protected]>

	* SolutionParser.cs (Insert): Show project name in case of a cyclic
	dependency.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-09-29  Ankit Jain  <[email protected]>

	* Exec.cs: Write the commands, which can be multiline,
	to a temporary file, and execute that with "cmd.exe /c"
	on windows and "sh" on non-windows.
	(LogToolCommand): Override, and emit the commands instead
	of the actual args passed to the shell.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2009-09-29  Ankit Jain  <[email protected]>

	* ProjectTest.cs (TestPropertiesFromImportedProjects): New.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-09-29  Ankit Jain  <[email protected]>

	* GroupingCollection.cs (Evaluate): Mark internal.
	* Project.cs (AddImport): Only evaluate the properties,
	till before the import.

2009-09-29  Ankit Jain  <[email protected]>

	* Project.cs (DoLoad): Don't use XmlReader.Create, for loading
	the project xml, as returned Xml*Reader normalizes the newlines.
	Instead directly use the TextReader with XmlDocument.Load ().

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-09-29  Ankit Jain  <[email protected]>

	* ToolTask.cs (ExecuteTool): Use LogToolCommand, instead of
	directly logging.
	(LogToolCommand): Implement.


svn path=/branches/mono-2-6/mcs/; revision=142871
2009-09-29 14:47:09 +00:00
Alan McGovern 4f8c33af39 2009-09-29 Alan McGovern <[email protected]>
* CategoryAttributeTest.cs: Added new test file.


svn path=/branches/mono-2-6/mcs/; revision=142867
2009-09-29 14:28:01 +00:00
Alan McGovern 90c46b9308 2009-09-29 Alan McGovern <[email protected]>
* DefaultValueAttribute.cs: Implement the cctor which takes
	a Type and a string for the SL2 case.
	* CategoryAttribute.cs: Fix a typo in the CategoryAttribute.Asynchronous
	ctor and fix some SL2 specific naming changes for the default properties.


svn path=/branches/mono-2-6/mcs/; revision=142866
2009-09-29 14:27:34 +00:00
Sebastien Pouliot 8082e15625 2009-09-29 Sebastien Pouliot <[email protected]>
* Timer_2_1.cs: Removed. No longer needed by Moonlight
	[Backport r142853]


svn path=/branches/mono-2-6/mcs/; revision=142855
2009-09-29 12:13:04 +00:00
Sebastien Pouliot 58864d7fca 2009-09-29 Sebastien Pouliot <[email protected]>
* net_2_1_raw_System.Net.dll.sources: Remove Timer_2_1.cs and 
	related classes from System.dll - they are not required anymore
	since Gonzalo's changes on Socket.Close(int)
	[Backport r142851]


svn path=/branches/mono-2-6/mcs/; revision=142852
2009-09-29 12:10:39 +00:00
Rolf Bjarne Kvinge c79c91c80c 2009-09-29 Rolf Bjarne Kvinge <[email protected]>
* Thread.cs: StartSafe: ignore ThreadAbortExceptions.

	Backport of r142847.

svn path=/branches/mono-2-6/mcs/; revision=142848
2009-09-29 11:01:18 +00:00
Rolf Bjarne Kvinge 8973515d9d 2009-09-29 Rolf Bjarne Kvinge <[email protected]>
* appdomain.c|h: Add a mono_domain_try_unload method which is
	equivalent to mono_domain_unload, except that it returns an exception
	instead of throwing it. Make mono_domain_unload use the
	mono_domain_try_unload method to avoid code-duplication.

	Backport of r142658.

svn path=/branches/mono-2-6/mono/; revision=142846
2009-09-29 10:55:42 +00:00
Gonzalo Paniagua Javier 9346c56300 Fix 1.1 profile
svn path=/branches/mono-2-6/mcs/; revision=142837
2009-09-29 09:25:25 +00:00
Gonzalo Paniagua Javier 5a4e4d261b 2009-09-29 Gonzalo Paniagua Javier <[email protected]>
* Ping.cs: fix the check for a time-out return value from 'ping'.


svn path=/branches/mono-2-6/mcs/; revision=142821
2009-09-29 05:57:31 +00:00
Gonzalo Paniagua Javier 259bc42379 2009-09-29 Gonzalo Paniagua Javier <[email protected]>
* HttpContext.cs: try to load App_GlobalResouces.dll if it has not
	been set but it exists in 'bin'.


svn path=/branches/mono-2-6/mcs/; revision=142818
2009-09-29 05:42:13 +00:00
Andrew Jorgensen 9b28a1de73 use wildcards for .mdbs
svn path=/branches/mono-2-6/mono/; revision=142814
2009-09-29 04:06:21 +00:00
Andrew Jorgensen 1eb27e1f63 don't build moonlight (not installed anyway)
grab entire xbuild directory (it's a deep structure and rpm doesn't like
un-owned directories)

svn path=/branches/mono-2-6/mono/; revision=142810
2009-09-29 03:34:16 +00:00
Marek Habersack 7edb572581 Backport of r142798
svn path=/branches/mono-2-6/mcs/; revision=142799
2009-09-28 21:42:17 +00:00
Ankit Jain 364a5d0b74 * mono-core.spec.in: Add Microsoft.WebApplication.targets
Backport r142787	

svn path=/branches/mono-2-6/mono/; revision=142788
2009-09-28 19:09:15 +00:00
Marek Habersack 3aa9628276 Backport of r142783
svn path=/branches/mono-2-6/mcs/; revision=142785
2009-09-28 18:54:18 +00:00
Marek Habersack bcc8b6fb2d Backport of r142780
svn path=/branches/mono-2-6/mcs/; revision=142781
2009-09-28 18:50:21 +00:00
Marek Habersack eefca1d2f0 Backport of r142773
svn path=/branches/mono-2-6/mcs/; revision=142776
2009-09-28 18:08:33 +00:00
Marek Habersack 075b2246c4 Backport of r142766
svn path=/branches/mono-2-6/mcs/; revision=142767
2009-09-28 16:44:14 +00:00
Atsushi Eno 70390d5989 merge from trunk (r142744, r142745, r142760).
svn path=/branches/mono-2-6/mcs/; revision=142761
2009-09-28 15:24:15 +00:00
Sebastien Pouliot 08a3283160 2009-09-28 Sebastien Pouliot <[email protected]>
* SocketAsyncEventArgs.cs: Default SocketError.AccessDenied on 
	Connect in case none of the DnsEndPoint provides an adequate 
	address (family).
	[Backport r142746]


svn path=/branches/mono-2-6/mcs/; revision=142747
2009-09-28 12:03:28 +00:00
Ankit Jain f65e2f5bde Update xbuild and Microsoft.Build.* from trunk.
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-09-28  Ankit Jain  <[email protected]>

	* WriteLinesToFiles.cs (Execute): Handle empty list of
	lines.

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-09-28  Ankit Jain  <[email protected]>

	* ToolTask.cs (ProcessOuputTool): Move logging of tool
	output from here to ..
	(ExecuteTool): .. here. As, ProcessOuputTool can be
	overridden.


svn path=/branches/mono-2-6/mcs/; revision=142742
2009-09-28 10:51:40 +00:00
Atsushi Eno 89a11d5206 backport r142735.
svn path=/branches/mono-2-6/mcs/; revision=142736
2009-09-28 04:48:46 +00:00
Gonzalo Paniagua Javier cd1791a956 fix
svn path=/branches/mono-2-6/mcs/; revision=142732
2009-09-28 03:29:48 +00:00
Gonzalo Paniagua Javier 06bce6170a 2009-09-27 Gonzalo Paniagua Javier <[email protected]>
* Socket_2_1.cs: Close(int timeout) blocks up to timeout ms if there's
	pending data to be written to the socket. If there's no pending data,
	it closes and returns right away. Instead of using Timer and then
	doing a 'hard' close(), we set the linger option for the socket.


svn path=/branches/mono-2-6/mcs/; revision=142730
2009-09-28 03:19:43 +00:00
Sebastien Pouliot 6eb53dd31a 2009-09-27 Sebastien Pouliot <[email protected]>
* SocketAsyncEventArgs.cs: Don't use Socket.Poll for NET_2_1.
	Throw NIE for use of BufferList in Receive.
	* Socket.cs: Move Close(int) to Socket_2_1.cs. Remove NET_2_1
	defines since the file is not used by Moonlight
	* Socket_2_1.cs: Add Close(int) from Socket. Define out Poll
	and Blocking.
	[Backport r142722]


svn path=/branches/mono-2-6/mcs/; revision=142723
2009-09-27 14:52:09 +00:00
Sebastien Pouliot 329316a6c6 2009-09-27 Sebastien Pouliot <[email protected]>
* net_2_1_raw_System.Net.dll.sources: Add Timer_2_1.cs and 
	related classes from System.dll
	[Backport of r142720]


svn path=/branches/mono-2-6/mcs/; revision=142721
2009-09-27 14:40:19 +00:00
Sebastien Pouliot cb768e733f 2009-09-27 Sebastien Pouliot <[email protected]>
* Timer_2_1.cs: New. A smaller, internal subset of Timer for 
	Moonlight - needed for Socket.Close(int)
	[Backport of r142718]


svn path=/branches/mono-2-6/mcs/; revision=142719
2009-09-27 14:38:23 +00:00
Gonzalo Paniagua Javier d1973e174d from trunk
svn path=/branches/mono-2-6/mono/; revision=142706
2009-09-27 06:19:31 +00:00
Gonzalo Paniagua Javier fd3fd2455f 2009-09-27 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: account for the time spent sending jobs to the queue.


svn path=/branches/mono-2-6/mcs/; revision=142704
2009-09-27 05:48:26 +00:00
Gonzalo Paniagua Javier 7944cbd726 2009-09-27 Gonzalo Paniagua Javier <[email protected]>
* TermInfoDriver.cs: avoid segv if the pointer is not properly
	initialized.


svn path=/branches/mono-2-6/mcs/; revision=142701
2009-09-27 05:40:34 +00:00
Gonzalo Paniagua Javier ef0ea82263 2009-09-27 Gonzalo Paniagua Javier <[email protected]>
* marshal.c: don't create the handle when calling. It is created later
	if needed.


svn path=/branches/mono-2-6/mono/; revision=142700
2009-09-27 05:32:25 +00:00
Gonzalo Paniagua Javier 2de8607599 2009-09-27 Gonzalo Paniagua Javier <[email protected]>
* AsyncResult.cs: don't create the handle if we know the result is
	completed.


svn path=/branches/mono-2-6/mcs/; revision=142698
2009-09-27 05:29:16 +00:00
Gonzalo Paniagua Javier ca5715e665 2009-09-27 Gonzalo Paniagua Javier <[email protected]>
* RealProxy.cs: for a custom proxy, retrieve the OutArgs before
	allowing EndInvoke to proceed because after that, OutArgs will throw
	because there is no method. Fixes remoting2 and remoting3 tests.


svn path=/branches/mono-2-6/mcs/; revision=142696
2009-09-27 05:20:25 +00:00
Veerapuram Varadhan 774fd03e78 Test fix.
svn path=/branches/mono-2-6/mcs/; revision=142689
2009-09-26 21:01:35 +00:00
Veerapuram Varadhan 8b8d58705b backport of r142668
svn path=/branches/mono-2-6/mcs/; revision=142688
2009-09-26 21:01:10 +00:00
Ankit Jain c5cbb9cb4b Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
2009-09-27  Ankit Jain  <[email protected]>

	* SolutionParser.cs: Implement support for WebSite projects. These
	projects lack a project file, so properties like references are read
	from the .sln file, and targets are generated for build/clean etc.

2009-09-26  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets: Remove _ValidateEssentialProperties
	from BuildDependsOn, which was a hack. It will get invoked from the
	InitialTargets now.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2009-09-26  Ankit Jain  <[email protected]>

	* TargetTest.cs (TestOverridingTargets): New.

2009-09-26  Ankit Jain  <[email protected]>

	* ProjectTest.cs (TestInitialTargetsWithImports):
	(TestDefaultTargets):
	(TestDefaultTargetsWithImports):
	(TestNoDefaultTargetsWithImports):
	(TestNoDefaultTargets): New tests.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-09-27  Ankit Jain  <[email protected]>

	* ConditionParser.cs: Show the condition being parsed in the
	exception message.

2009-09-26  Ankit Jain  <[email protected]>

	* Expression.cs: Allow '-' in item, property and metadata names.

2009-09-26  Ankit Jain  <[email protected]>

	* Project.cs (Evaluate): Split into this and ..
	(PrepareForEvaluate): .. this.
	(AddImport): Evaluate the current set of properties/items etc,
	before processing the imported project. Honor the Condition
	for the Import.
	(ProcessProjectAttributes): Update MSBuildProjectDefaultTargets
	property.
	* GroupingCollection.cs (Evaluate): Don't evaluate Imports here.
	* BuildItemGroup.cs (Evaluate): Evaluate only once.
	* BuildPropertyGroup.cs (Evaluate): Evaluate only once.

2009-09-26  Ankit Jain  <[email protected]>

	* Project.cs: Get InitialTargets from the imported projects also.
	The combined list of targets are executed, in the order they were
	found.
	DefaultTargets are also read in from imported projects, and the first
	non-empty DefaultTargets found is used.


svn path=/branches/mono-2-6/mcs/; revision=142686
2009-09-26 20:49:54 +00:00
Sebastien Pouliot 95ab6bc64d In Test/System.Net.Sockets:
2009-09-26  Sebastien Pouliot  <[email protected]>

	* SocketAsyncEventArgsTest.cs: New. Unit tests
	[Backport r142675]

In System.Net.Sockets:
2009-09-26  Sebastien Pouliot  <[email protected]>

	* SocketAsyncEventArgs.cs: Fix paramater validations and default 
	values
	[Backport r142675]

In .:
2009-09-26  Sebastien Pouliot  <[email protected]>

	* System_test.dll.sources: Add unit tests for SocketAsyncEventArgs
	[Backport r142675]


svn path=/branches/mono-2-6/mcs/; revision=142676
2009-09-26 15:29:25 +00:00
Andrew Jorgensen 2403930b66 version
svn path=/branches/mono-2-6/mono/; revision=142639
2009-09-25 14:53:05 +00:00
30975 changed files with 1647789 additions and 2785108 deletions

No files matched your search

-68
View File
@@ -1,68 +0,0 @@
# ensure LF endings on all checkouts
configure.ac crlf=input
# ensure native line endings on checkout
*.c crlf
*.h crlf
*.cs crlf
*.sh crlf
*.il crlf
.gitattributes crlf
ChangeLog crlf
*akefile* crlf
*.sources crlf
# don't do anything to line-endings. Let CRLFs go into the repo, and CRLF on checkout
*.bat -crlf
*.sln -crlf
*.*proj* -crlf
*.xml -crlf
# CRLF Handling
# -------------
#
# The ideal situation would be to do no EOL normalization. Each file
# would have a default EOL, and tools on Windows and Linux would handle
# both EOL formats.
#
# We're not in the ideal world. A popular editor on Windows (possibly
# Visual Studio) silently introduces EOL corruption -- it displays an
# LF-file normally, but any newly added lines have CRLF. On Linux,
# Emacs and versions of VI handle LF-files and CRLF-files properly.
# However, emacs doesn't like files with both LF and CRLF EOLs. Editing
# the file without additional action will increase the EOL corruption
# in the file.
#
# Another vector for mixed EOLs is scripts. We mostly don't have scripts
# that add new lines -- so we rarely see this. However, one major event
# in the tree was the addition of copyright headers using a script. That
# script introduced EOL corruption.
#
# Any automated EOL normalization of files already in the repository will
# cause difficulties in traversing histories, assigning blame, etc. So, we
# don't want to change what's in the repository significantly, even if it
# causes trouble.
#
# What we do now:
#
# a) we ensure that there's no further corruption of LF-files. So, we use
# git's 'crlf' attribute on those files to ensure that things are fine
# when we work on Windows. We could use 'crlf=input', but it doesn't buy
# us much -- we might as well be working with consistent EOLs for files in
# working directories as well as in the repository
#
# b) if the file already of CRLFs, we don't do any normalization. We use '-crlf'
# so that git doesn't do any EOL-conversion of the file. As I said, this
# is mostly harmless on Linux. We can't mark these files as 'crlf' or use
# the new (git 1.7.2) 'eol=crlf' attribute, since it changes the contents
# _inside_ the repository [1], and hence makes history traversal annoying.
# So, we live with occasional EOL corruption.
#
# c) We can handle mixed-EOL files on a case-by-case basis, converting them to
# LF- or CRLF-files based on which causes fewer lines to change
#
# d) We try to ensure no further headaches, by declaring EOL normalization on
# code files, and Unix-flavoured files, like shell-scripts, makefiles, etc.
#
# [1] GIT use LFs as the normalized internal representation.
+30 -123
View File
@@ -1,124 +1,31 @@
##############################################################################
# General
##############################################################################
# OS junk files
[Tt]humbs.db
*.DS_Store
# Visual Studio / MonoDevelop
*.[Oo]bj
*.exe
*.dll
*.pdb
*.user
*.aps
*.pch
*.vspscc
*.vssscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.[Cc]ache
*.ilk
*.log
*.lib
*.sbr
*.sdf
*.opensdf
*.resources
*.res
ipch/
obj/
[Bb]in
[Dd]ebug*/
[Rr]elease*/
Ankh.NoLoad
*.gpState
# Tooling
_ReSharper*/
*.resharper
[Tt]est[Rr]esult*
# NuGet packages
!.nuget/*
[Pp]ackages/*
![Pp]ackages/repositories.config
# Temporary Files
~.*
~$*
# Autotools-generated files
/Makefile
Makefile.in
aclocal.m4
autom4te.cache
/build/
config.cache
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
configure.scan
cygconfig.h
depcomp
install-sh
libtool
ltmain.sh
missing
mkinstalldirs
releases
stamp-h
stamp-h1
stamp-h.in
/test-driver
*~
*.swp
*.o
.deps
# Libtool
libtool.m4
lt~obsolete.m4
ltoptions.m4
ltsugar.m4
ltversion.m4
# Dolt (libtool replacement)
doltlibtool
doltcompile
# pkg-config
*.pc
# Emacs
semantic.cache
# gtags
GPATH
GRTAGS
GSYMS
GTAGS
##############################################################################
# Mono-specific patterns
##############################################################################
.dirstamp
compile
mono.h
mono-*.tar.*
mono.spec
mono-core.spec
tmpinst-dir.stamp
/Makefile.in
/_tmpinst
/aclocal.m4
/autom4te.cache
/config.cache
/config.guess
/config.h
/config.h.in
/config.h.in
/config.log
/config.status
/config.sub
/configure
/libtool
/ltconfig
/ltmain.sh
/mono-*.tar.gz
/*.pc
/mono.spec
/semantic.cache
/stamp-h
/stamp-h.in
/stamp-h1
/tmpinst-dir.stamp
/missing
/compile
/depcomp
/install-sh
/doltlibtool
/doltcompile
-35
View File
@@ -1,35 +0,0 @@
[submodule "external/aspnetwebstack"]
path = external/aspnetwebstack
url = git://github.com/mono/aspnetwebstack.git
[submodule "external/Newtonsoft.Json"]
path = external/Newtonsoft.Json
url = git://github.com/mono/Newtonsoft.Json.git
[submodule "external/cecil"]
path = external/cecil
url = git://github.com/mono/cecil.git
[submodule "external/debian-snapshot"]
path = external/debian-snapshot
url = git://github.com/directhex/mono-snapshot.git
[submodule "external/entityframework"]
path = external/entityframework
url = git://github.com/mono/entityframework.git
[submodule "external/rx"]
path = external/rx
url = git://github.com/mono/rx.git
branch = rx-oss-v2.2
[submodule "external/ikvm"]
path = external/ikvm
url = git://github.com/mono/ikvm-fork.git
[submodule "external/Lucene.Net"]
path = external/Lucene.Net
url = git://github.com/mono/lucene.net.git
[submodule "external/ikdasm"]
path = external/ikdasm
url = git://github.com/mono/ikdasm.git
[submodule "external/referencesource"]
path = external/referencesource
url = git://github.com/mono/referencesource
branch = mono
[submodule "external/reference-assemblies"]
path = external/reference-assemblies
url = git://github.com/mono/reference-assemblies.git
+3041
View File
File diff suppressed because it is too large. Load diff
-84
View File
@@ -1,84 +0,0 @@
Guidelines
==========
When contributing to the Mono project, please follow the [Mono Coding
Guidelines][1]. We have been using a coding style for many years,
please make your patches conform to these guidelines.
[1]: http://www.mono-project.com/community/contributing/coding-guidelines/
Etiquette
=========
In general, we do not accept patches that merely shuffle code around,
split classes in multiple files, reindent the code or are the result
of running a refactoring tool on the source code. This is done for
three reasons: (a) we have our own coding guidelines; (b) Some modules
are imported from upstream sources and we want to respect their coding
guidelines and (c) it destroys valuable history that is often used to
investigate bugs, regressions and problems.
License
=======
The Mono project uses the MIT X11, GNU LGPL version 2 and the Apache
License 2.0. We also imported some Microsoft code licensed under the
open source Microsoft Public License.
Different parts of Mono use different licenses. The actual details of
which licenses are used for which parts are detailed on the LICENSE
file in this directory.
When contributing code, make sure that your contribution falls under
the appropriate license. For example, contributions to code licensed
under MIT/X11 code, should be MIT/X11 code.
The runtime (`mono/...`) is a special case. The code is dual-licensed
by Xamarin under both the GNU LGPL v2 license and is also available
under commercial terms. For the runtime, you should either sign an
agreement that grants Xamarin the rights to relicense your code under
other licenses other than the LGPL v2 or your contribution must be
made as an MIT/X11 license which grants us the same rights, but
involves no paperwork. For the latter case, please specify on your
commit(s) that you are licensing the changes under MIT/X11.
For other parts of the project that are dual-licensed, please state
on your commit(s) what license you are contributing the changes under.
Testing
=======
Pull requests go through testing on our [Jenkins server][2]. We will
usually only merge a pull request if it causes no regressions in a
test run there.
When you submit a pull request, one of two things happens:
* If you are a new contributor, Jenkins will ask for permissions (on
the pull request) to test it. A maintainer will reply to approve
the test run if they find the patch appropriate. After you have
submitted a few patches, a maintainer will whitelist you so that
all of your future pull requests are tested automatically.
* If you are a well-known, whitelisted contributor, Jenkins will go
ahead and test your pull request as soon as a test machine is
available.
When your pull request has been built, Jenkins will update the build
status of your pull request. If it succeeded and we like the changes,
a maintainer will likely merge it. Otherwise, you can amend your pull
request to fix build breakage and Jenkins will test it again.
[2]: http://jenkins.mono-project.com/
# Inactivity
Occasionally, a pull request sits for several months without any
response from the author. This isn't necessarily an issue, but we may
sometimes decide to close pull requests that have not seen any
progress for a long time. This is in interest of keeping the pull
request list clean so that other pull requests don't get lost in the
clutter.
If we do close your pull request due to inactivity, you're more than
welcome to submit it anew after you address any comments or issues that
were brought up on the original pull request.
+1 -17
View File
@@ -1,23 +1,7 @@
The Mono runtime is licensed under the terms of the GNU
Library General Public License, version 2.
The eglib directory is licensed under the terms of the MIT
X11 license and is a drop-in replacement for Mono's use of
glib 2.0 (which was LGPL).
The Boehm licensing information is in the libgc directory
The SGen Garbage Collector is under the terms of the MIT X11
license
The class libraries under mono/mcs are unless otherwise stated
under the MIT X11 license.
Open source Microsoft code is licensed under the original terms
which is either MS-PL for older components, or dual licensed
MS-PL/Apache2 licensed.
GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
+2 -488
View File
@@ -1,403 +1,3 @@
2011-04-19 gettextize <[email protected]>
* m4/gettext.m4: New file, from gettext-0.18.1.
* m4/iconv.m4: New file, from gettext-0.18.1.
* m4/lib-ld.m4: New file, from gettext-0.18.1.
* m4/lib-link.m4: New file, from gettext-0.18.1.
* m4/lib-prefix.m4: New file, from gettext-0.18.1.
* m4/nls.m4: Upgrade to gettext-0.18.1.
* m4/po.m4: Upgrade to gettext-0.18.1.
* m4/progtest.m4: Upgrade to gettext-0.18.1.
* m4/Makefile.am (EXTRA_DIST): Add the new files.
* configure.in (AC_CONFIG_FILES): Add po/Makefile.in.
2010-08-05 Andrés G. Aragoneses <[email protected]>
* scripts/.gitignore: added mono-abi-info.
* scripts/Makefile.am: added mono-abi-info autofoo.
2010-07-16 Zoltan Varga <[email protected]>
* configure.in: Remove the 'LLVM backend is experimental' warning.
2010-07-08 Neale Ferguson <[email protected]>
* configure.in: Add sgen_supported=true for s390x.
2010-07-05 Rolf Bjarne Kvinge <[email protected]>
* configure.in: Restore the AM_CONDITIONAL debugger supported, we need it to
include/exclude assembler files from the build in the makefile.
2010-06-29 Zoltan Varga <[email protected]>
* configure.in: Add a define for the full LLVM version to config.h.
2010-06-26 Zoltan Varga <[email protected]>
* configure.in: Make sgen_supported default to false to fix non-x86 builds.
2010-06-25 Zoltan Varga <[email protected]>
* scripts/patch-quiet.sh: Fix this up after the build changes.
2010-06-23 Miguel de Icaza <[email protected]>
* configure.in: By default, we will now also buils an SGen-aware
VM by default. This can be turned off by using the
--with-sgen=no command line option.
Two binaries are produced now: mono and mono-sgen
--- First Pass ---
* configure.in: Remove redundant setting of variables in non-Boehm
cases.
First pass at supporting the compilation of both
the Boehm-powered Mono VM and the Sgen-powered one.
The Boehm configuration flags are no longer part of the config.h
that we generate, but instead they are part of the CFLAGS
variables that are used for the following components:
* io-layer/ because it uses the pthread APIs that are
wrapped by using utils/gc_wrapper.h
* metatada/ because we have plenty of GC-specific code
* mini/ the VM itself
The patch currently only changes the way that Boehm is compiled,
no changes for Sgen have been done yet.
We now pass Boehm CFLAG settings as "BOEHM_DEFINES" which need to
be added to the three Makefiles above.
When building the bundled and modified libgc, we also need to pass
MONO_DEBUGGER_SUPPORTED as it triggers some special features in
the libgc.
Simplify the build also by removing the AM_CONDITIONAL debugger
supported, we now merely check this on the source file and wrap
the entire debug-debugger.c in an ifdef.
2010-06-05 Mark Probst <[email protected]>
* tools/sgen/sgen-grep-binprot.c: Updated for degraded and pinned
allocations.
2010-06-02 Zoltan Varga <[email protected]>
* configure.in: Check whenever we are using mono's LLVM branch.
2010-05-31 Robert Jordan <[email protected]>
* configure.in: Windows: mcs_topdir_from_srcdir must not be
converted to a Win32 path unless it's already a cygwin path.
Fixes --with-mcs-docs for in-tree mcs builds.
2010-05-28 Robert Jordan <[email protected]>
* configure.in: Fix mcs_topdir* for the Windows build.
2010-05-28 Mark Probst <[email protected]>
* tools/sgen/sgen-grep-binprot.c (main): Use strtoul(), not
strtol(), to parse addresses from the command line.
2010-05-20 Miguel de Icaza <[email protected]>
* configure.in: drop again the pkg.m4 dependency and for eglib
cases (and not-Windows) make it entirely optional.
2010-05-11 Andrew Jorgensen <[email protected]>
* scripts/mono-find-*.in: Look for libmono-2.0.so.1, not libmono.so
and set MONO_PATH to ensure that mscorlib.dll can be found
2010-04-29 Andreas Färber <[email protected]>
* configure.in: Check for -lm necessity.
Fixes linking on Haiku.
Contributed under MIT/X11 license.
2010-04-27 Mark Probst <[email protected]>
* scripts/mono-heapviz: If the major sections are too small, use a
larger width.
2010-04-27 Zoltan Varga <[email protected]>
* configure.in: Switch to eglib by default.
2010-04-26 Geoff Norton <[email protected]>
* configure.in: Allow cross compiling osx for 64-bit
2010-04-26 Zoltan Varga <[email protected]>
* configure.in: Applied patch from Robert Nagy ([email protected]). Add
sys/param.h dependencies to a few checks.
2010-04-25 Mark Probst <[email protected]>
* tools/sgen/sgen-grep-binprot.c: Support for major Mark&Sweep
collector.
2010-04-20 Jonathan Pryor <[email protected]>
* configure.in: Check for the asm/sigcontext.h header.
2010-04-20 Andrés G. Aragoneses <[email protected]>
* README: Replace --with-profile2 with --with-profile4.
2010-04-20 Jonathan Pryor <[email protected]>
* configure.in: On OpenBSD, remove duplicate -pthread options in
libmono_ldflags. Change from Robert Nagy <[email protected]>.
2010-04-20 Jonathan Pryor <[email protected]>
* configure.in: For Linux hosts, remove libmono_ldflags="-lpthread".
It's unnecessary (for !target_win32, pthreads are checked again
later in configure.in), and it breaks Android (which doesn't have
libpthread, but DOES have pthreads in libc).
2010-04-19 Jonathan Pryor <[email protected]>
* configure.in: Disable AC_CHECK_LIB() for pthread, as this breaks
autoconf on BSD platforms. (Why? Who knows -- it's AutoConf!)
2010-04-19 Jonathan Pryor <[email protected]>
* configure.in: Use AC_CHECK_LIB() to check for pthread instead of
just blindly linking to -lpthread, as Android includes pthread
support within libc and doesn't provide a separate libpthread.
Android's <string.h> pulls in <malloc.h> (unlike glibc), resulting
in a build error in mono/utils/mono-codeman.c due to
`struct mallinfo` re-declaration. Define HAVE_USR_INCLUDE_MALLOC_H
if /usr/include/malloc.h is present to avoid this.
2010-04-19 Jonathan Pryor <[email protected]>
* configure.in: Add header, structure member, and function checks as
Android doesn't provide all the headers, structure members, and
functions that a "full" Linux distro includes.
2010-04-19 Zoltan Varga <[email protected]>
* configure.in: Add a --enable-minimal=normalization option to disable support
for string normalization.
2010-04-16 Marek Habersack <[email protected]>
* configure.in: added a check for sysconf(3)
2010-04-14 Miguel de Icaza <[email protected]>
* configure.in: turn the AC_MSG_ERROR into a AC_MSG_WARN since in
Andrew's configuration this aborts the build:
host=i686-pc-linux-gnu != target=i586-suse-linux
And I no longer remember why I added that error in the first
place (we need to determine perhaps the arch/OS but it is
difficult with those strings).
2010-04-08 Andreia Gaita <[email protected]>
* configure.in: Add an extra "only" option to --with-moonlight. This
will configure mono to only build moonlight-specific stuff and
nothing else. --with-moonlight=yes now just adds the moon profile to
the build
* Makefile.am: Add moonlight-specific rules that only build what
moon needs. These are called directly from moon, to do fast
moon+mono+mcs builds
* runtime/Makefile.am: Change the build rules to have a moonlight-only
build configuration, as well as a normal build that optionally includes
it
2010-04-07 Raja R Harinath <[email protected]>
* runtime/Makefile.am ($(tmpinst)/bin/dmcs): Add.
2010-04-06 Andreia Gaita <[email protected]>
* configure.in: add --with-mcs-path option to specify where the mcs
source can be found, if not on ./mcs or ../mcs.
Only touch the mcs and/or olive dirs and config files if we're
actually building them
2010-04-05 Zoltan Varga <[email protected]>
* configure.in: Append -lgc to libmono_ldflags if using an external libgc.
2010-04-04 Andreas Färber <[email protected]>
* configure.in: Fix typo.
Set default for with_moonlight to fix "Moon Profile:" output.
Contributed under MIT/X11 license.
2010-04-03 Zoltan Varga <[email protected]>
* configure.in: Applied some openbsd changes from Robert Nagy
<[email protected]>.
2010-04-03 Marek Habersack <[email protected]>
* configure.in: TARGET_WIN32 and MINGW_CROSS_COMPILE are defined
when cross-compiling with MinGW
* build-mingw32.sh: include the 4.0 profile in the zip.
Remove cross-compilation environment bin path from PATH before
compiling native Mono.
Remove autotools cache directory before each compilation phase.
2010-04-02 Marek Habersack <[email protected]>
* configure.in: include -lkernel32 in LDFLAGS when cross-compiling
with MINGW or compiling on Cygwin.
* build-mingw32.sh: some changes to make the compilation work
better on non-SuSE systems.
2010-04-01 Mark Probst <[email protected]>
* scripts/mono-heapviz: Process and output detailed pinning
statistics.
2010-03-29 Andreas Färber <[email protected]>
* configure.in: Add support for Haiku
Contributed under MIT/X11 license.
2010-03-26 Zoltan Varga <[email protected]>
* configure.in: Add a --enable-system-aot option to control the generation of
AOT images during the build.
2010-03-26 Zoltan Varga <[email protected]>
* configure.in: Apply some openbsd changes from openbsd ports.
2010-03-23 Neale Ferguson <[email protected]>
* configure.in: Change ACCESS_UNALINGED to "yes" for s390/s390x.
2010-03-22 Andreia Gaita <[email protected]>
* configure.in: fix build when doing with-mcs-docs=no on a clean tree
2010-03-19 Zoltan Varga <[email protected]>
* autogen.sh: Pass -Wno-portability to automake to quiet some warnings.
2010-03-16 Jb Evain <[email protected]>
* runtime/Makefile.am, build-mingw32.sh: rename
the net_2_1 profile to moonlight.
2010-03-10 Andrew Jorgensen <[email protected]>
* configure.in: configure eglib even when we are not building
it (fixes dist)
Fri Mar 5 18:58:15 CET 2010 Paolo Molaro <[email protected]>
* configure.in: introduce the --enable-small-config option
to reduce runtime requirements (and capabilities).
2010-03-04 Zoltan Varga <[email protected]>
* Makefile.am (DIST_SUBDIRS): Add eglib.
* autogen.sh: Run eglib's autogen.sh too.
2010-03-02 Rolf Bjarne Kvinge <[email protected]>
* Makefile.am:
* mono/Makefile.am: Only build some subdirs when configured for
moonlight.
* configure.in: If configured --with-moonlight=yes, define MOONLIGHT and
use that variable instead of INSTALL_2_1.
* runtime/Makefile.am: If configured for moonlight, only build
net_2_1_raw.
2010-03-02 Mark Probst <[email protected]>
* tools/sgen-grep-binprot.c: Tool for searching through the binary
protocol files generated by SGen.
2010-02-26 Miguel de Icaza <[email protected]>
* Make the scripts default to 4.0 now.
2009-05-21 Miguel de Icaza <[email protected]>
* Check for sys/select.h as well
Wed Feb 24 15:47:16 CET 2010 Paolo Molaro <[email protected]>
* configure.in, data/mono-2.pc.in, data/Makefile.am,
samples/embed/*: increase the API version.
2010-02-18 Marek Habersack <[email protected]>
* scripts/mono-configuration-crypto.in: added
* scripts/Makefile.am: added mono-configuration-crypto targets
2010-01-27 Zoltan Varga <[email protected]>
* configure.in: Fix the setting of LLVM_CXXFLAGS.
2010-01-22 Andrés G. Aragoneses <[email protected]>
* configure.in: Improve r150055 by checking for CXX=g++ as well, according to
http://lists.gnu.org/archive/html/bug-autoconf/2002-04/msg00077.html
2010-01-22 Zoltan Varga <[email protected]>
* configure.in: Disable the solaris tar check on !solaris platforms.
2010-01-22 Zoltan Varga <[email protected]>
* configure.in: Check whenever g++ is installed, since libtool requires it
even if no c++ files will be compiled.
See BNC#572871.
2010-01-22 Zoltan Varga <[email protected]>
* configure.in: Add -fno-rrti to CXXFLAGS.
2010-01-20 Rolf Bjarne Kvinge <[email protected]>
* configure.in: Add support for disabling mdb support.
2010-01-15 Zoltan Varga <[email protected]>
* configure.in: Don't define TARGET_WIN32 when --target is used.
2010-01-15 Zoltan Varga <[email protected]>
* scripts/get-cygwin-deps.sh: New file. Contains a script to download and setup
the dependencies needed for compiling mono on cygwin.
2010-01-06 Rodrigo Kumpera <[email protected]>
* scripts/Makefile.am: Add peverify script.
* scripts/peverify.in: Added.
2009-12-22 Geoff Norton <[email protected]>
* configure.in: Fix invalid escaping. Patch from Spina from
@@ -407,33 +7,12 @@ Wed Feb 24 15:47:16 CET 2010 Paolo Molaro <[email protected]>
* configure.in: Add an LLVM_CFLAGS automake variable.
2009-12-18 Zoltan Varga <[email protected]>
* configure.in: Remove the check for valgrind/memcheck.h, we include the file
in our sources now.
2009-12-11 Zoltan Varga <[email protected]>
* configure.in: Applied patch from Matt McClellan ([email protected]). Add a check
for 2 parameter sched_setaffinity in older glibc versions. Fixes
#564000.
2009-11-22 Zoltan Varga <[email protected]>
* configure.in: Disable visibility attributes on cygwin.
2009-11-18 Mark Probst <[email protected]>
* scripts/Makefile.am: Put mono-heapviz into EXTRA_DIST as well.
2009-11-18 Mark Probst <[email protected]>
* scripts/Makefile.am: mono-heapviz is not a managed executable.
2009-11-18 Mark Probst <[email protected]>
* configure.in: Allow SGen without __thread.
2009-11-17 Marek Habersack <[email protected]>
* runtime/Makefile.am (TEST_SUPPORT_FILES): added bin/al2 - needed
@@ -443,53 +22,10 @@ Wed Feb 24 15:47:16 CET 2010 Paolo Molaro <[email protected]>
* configure.in: Add a --enable-minimal=soft-debug option.
2009-11-15 Andreas Faerber <[email protected]>
* configure.in (DTrace): Add missing -s switch for dtrace -h.
Fixes BNC #445074.
Contributed under MIT/X11 license.
2009-11-12 Zoltan Varga <[email protected]>
* acinclude.m4 (dolt_supported): Handle 'i686-pc-cygwin' too.
2009-11-12 Mark Probst <[email protected]>
* scripts/mono-heapviz: New script for generating SGen heap
visualizations.
* scripts/Makefile.am: mono-heapviz added.
2009-11-11 Zoltan Varga <[email protected]>
* configure.in: Add checks for link.h and dl_iterate_phdr.
2009-11-10 Jonathan Chambers <[email protected]>
* winconfig.h: Bump version string to 2.7.
Contributed under MIT/X11 license.
2009-11-09 Zoltan Varga <[email protected]>
* configure.in: Define LLVM_MAJOR/MINOR_VERSION defines to allow working
around changes in LLVM APIs.
* configure.in: Remove the MONO_ARCH_REGPARMS define.
* configure.in (MONO_ARCH_REGPARMS): Set MONO_ARCH_REGPARS on ARM.
2009-11-08 Rodrigo Kumpera <[email protected]>
* configure.in: Add check for FreeBSD/ppc64.
Patch by Justin Hibbits <[email protected]>.
2009-11-05 Miguel de Icaza <[email protected]>
* Add configure check for xbox360
2009-11-04 Zoltan Varga <[email protected]>
* acinclude.m4 (dolt_supported): Applied patch from Kornél Pál
@@ -510,14 +46,6 @@ Wed Feb 24 15:47:16 CET 2010 Paolo Molaro <[email protected]>
* configure.in: Pass -mno-cygwin to CXX too on windows. Enable AC_PROG_CXX
since it now works on windows too.
2009-10-27 Zoltan Varga <[email protected]>
* configure.in: Add support for cross-compiling to ppc.
2009-10-22 Rodrigo Kumpera <[email protected]>
* configure.in: Add check for the deprecated attribute.
2009-10-12 Zoltan Varga <[email protected]>
* data/Makefile.am (gdb_DATA): Install mono-gdb.py alongside the mono executable.
@@ -525,22 +53,6 @@ Wed Feb 24 15:47:16 CET 2010 Paolo Molaro <[email protected]>
* data/gdb-pre7.0: New directory, containing the mono support files for
gdb versions before 7.0.
2009-10-10 Zoltan Varga <[email protected]>
* */CMakeLists.txt: Update this to latest autoconf files.
2009-10-06 Zoltan Varga <[email protected]>
* configure.in: Bump version to 2.7.
2009-10-01 Raja R Harinath <[email protected]>
* scripts/Makefile.am: Use 'mv -f' instead of 'mv'.
2009-09-30 Marek Safar <[email protected]>
* runtime/Makefile.am, configure.in: Don't build 1.1 profile
2009-09-29 Ankit Jain <[email protected]>
* mono-core.spec.in: Add Microsoft.WebApplication.targets
@@ -5717,3 +5229,5 @@ Wed Jul 11 00:36:36 CEST 2001 Paolo Molaro <[email protected]>
2001-05-30 Miguel de Icaza <[email protected]>
* NEWS:
+7 -29
View File
@@ -2,14 +2,14 @@
Mono is made up of many pieces of code, all of them open source, but
different pieces of Mono use different licensing terms.
For comments, corrections and updates, please contact mono@xamarin.com
For comments, corrections and updates, please contact mono@novell.com
* Dual Licensing
Parts of Mono are dual licensed, they are available to the
public in GPL or LGPL forms, but we also offer those pieces
under commercial terms from Xamarin for the cases wher the GPL
and the LGPL are not suitable.
under commercial terms from Novell for when the GPL and the
LGPL are not suitable.
We have tried to pick the licenses that will maximize adoption
of Mono, so we tend to use the MIT X11 or LGPL liceses.
@@ -22,10 +22,7 @@ For comments, corrections and updates, please contact [email protected]
Contributions for other modules should be under the same license
terms as the rest of the module, or under MIT X11 terms.
For the actual license links in the Mono distribution see the
bottom of this file.
If you need further information, please contact [email protected]
If you need further information, please contact [email protected]
* The Modules
@@ -34,7 +31,7 @@ For comments, corrections and updates, please contact [email protected]
This code is dual licensed under the LGPL or commercial licenses.
The LGPL ensures that Mono can be used in most scenarios, but
gives Xamarin the flexibility to relicense the code for
gives Novell the flexibility to relicense the code for
embedded systems, static linking or commercial settings where
the LGPL can not be used.
@@ -42,33 +39,21 @@ For comments, corrections and updates, please contact [email protected]
embedded system where the end user is not able to upgrade the
Mono VM or Moonlight installation or distribution that is part
of your product (Section 6 and 7), you would have to obtain a
commercial license from Xamarin (consider software burned into
commercial license from Novell (consider software burned into
a ROM, systems where end users would not be able to upgrade,
an embedded console, a game console that imposes limitations
on the distribution and access to the code, a phone platform
that prevents end users from upgrading Moonlight).
Contact mono@xamarin.com for details on obtaining the Mono
Contact mono@novell.com for details on obtaining the Mono
runtime under other terms.
** mono/support: MonoPosixHelper and support code
This code is dual licensed under the LGPL or commercial licenses, with
the same guidelines as mono/mono code.
The ZLib files are included under a "new BSD"-style license.
** mono/eglib: Mono's X11 glib implementation
This is a minimal subset of glib that is to be licensed under
the terms of the MIT X11, this means that this code can be
used for any purposes by anyone.
** mono/arch/*/XXX-codegen.h
This are C macros that are useful when generating native
code on various platforms. This code is MIT X11 licensed.
** mcs/mcs, mcs/gmcs
The C# Compilers (1.0 and 2.0)
@@ -101,13 +86,6 @@ For comments, corrections and updates, please contact [email protected]
ICSharpCode.SharpZipLib, GPL with exceptions.
See: mcs/class/ICSharpCode.SharpZipLib/README
** mcs/class/System.Core/System/TimeZoneInfo.Android.cs
This is a port of Apache 2.0-licensed Android code, and thus is
licensed under the Apache 2.0 license:
http://www.apache.org/licenses/LICENSE-2.0
** mcs/tools
+51 -104
View File
@@ -1,73 +1,32 @@
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I .
AM_CFLAGS = $(WERROR_CFLAGS)
SUBDIRS = po $(libgc_dir) $(eglib_dir) mono $(ikvm_native_dir) support data runtime scripts man samples web msvc $(docs_dir)
MONOTOUCH_SUBDIRS = $(libgc_dir) eglib/src mono
if CROSS_COMPILING
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples msvc $(docs_dir)
# Keep in sync with SUBDIRS
## 'tools' is not normally built
DIST_SUBDIRS = m4 po $(libgc_dir) eglib mono ikvm-native support data runtime scripts man samples tools msvc docs
else
if ONLY_MONOTOUCH
SUBDIRS = $(MONOTOUCH_SUBDIRS) runtime
else
if ONLY_XAMMAC
SUBDIRS = $(libgc_dir) eglib/src mono runtime
else
SUBDIRS = po $(libgc_dir) eglib mono $(ikvm_native_dir) support data runtime scripts man samples msvc $(docs_dir)
# Keep in sync with SUBDIRS
## 'tools' is not normally built
DIST_SUBDIRS = m4 po $(libgc_dir) eglib mono ikvm-native support data runtime scripts man samples tools msvc docs
endif
endif
endif
DIST_SUBDIRS = po libgc $(eglib_dir) mono ikvm-native support data runtime scripts man samples web tools msvc docs
all: update_submodules
SUBMODULE_ERROR='Could not recursively update all git submodules. You may experience compilation problems if some submodules are out of date'
update_submodules:
@$(srcdir)/scripts/update_submodules
.PHONY: update_submodules
EXTRA_DIST= \
README.md \
LICENSE \
autogen.sh \
build-mingw32.sh \
mkinstalldirs \
mono-uninstalled.pc.in \
winconfig.h \
mono-core.spec \
external
EXTRA_DIST= nls.m4 po.m4 progtest.m4 mono-uninstalled.pc.in build-mingw32.sh LICENSE mkinstalldirs
DISTCHECK_CONFIGURE_FLAGS = EXTERNAL_MCS=false EXTERNAL_RUNTIME=false
# Distribute the 'mcs' tree too
GIT_DIR ?= $(srcdir)/.git
dist-hook:
test -d $(distdir)/mcs || mkdir $(distdir)/mcs
d=`cd $(distdir)/mcs && pwd`; cd $(mcs_topdir) && $(MAKE) distdir=$$d dist-recursive
rm -rf `find $(top_distdir)/external -path '*\.git'`
rm -f `find $(top_distdir)/external -path '*\.exe'`
rm -f `find $(top_distdir)/external -path '*\.dll' -not -path '*/reference-assemblies/v4\.0*'`
cp mcs/class/lib/basic/System.Configuration.dll mcs/class/lib/monolite/
cp mcs/class/lib/basic/System.Security.dll mcs/class/lib/monolite/
# Disable this for now because it is very slow and causes wrench to timeout:
# test ! -d $(GIT_DIR) || ./scripts/commits-to-changelog.py --root=$(distdir) last-commit-with-compulsory-changelog-entry
d=`cd $(distdir)/mcs && pwd`; cd $(mcs_topdir) && $(MAKE) PROFILE=net_1_1 distdir=$$d dist-recursive
d=`cd $(distdir)/mcs && pwd`; cd $(mcs_topdir) && $(MAKE) PROFILE=net_2_0 distdir=$$d dist-recursive
pkgconfigdir = $(libdir)/pkgconfig
noinst_DATA = mono-uninstalled.pc
DISTCLEANFILES= mono-uninstalled.pc
.PHONY: get-monolite-latest mcs-do-compiler-tests compiler-tests bootstrap-world
# building with monolite
mcslib = $(mcs_topdir)/class/lib
monolite = $(mcslib)/monolite
mono_corlib_version = $(shell sed -n "s/\#define MONO_CORLIB_VERSION //p" $(srcdir)/mono/metadata/appdomain.c)
monolite_url = http://storage.bos.xamarin.com/mono-dist-master/latest/monolite-$(mono_corlib_version)-latest.tar.gz
.PHONY: get-monolite-latest
monolite_url = http://mono.ximian.com/daily/monolite-latest.tar.gz
get-monolite-latest:
-rm -fr $(mcslib)/monolite-*
-mkdir -p $(mcslib)
@@ -76,52 +35,42 @@ get-monolite-latest:
cd $(mcslib) && { (wget -O- $(monolite_url) || curl $(monolite_url)) | gzip -d | tar xf - ; }
cd $(mcslib) && mv -f monolite-* monolite
.PHONY: validate do-build-mono-mcs mcs-do-clean mcs-do-tests
validate: do-build-mono-mcs
$(MAKE) mcs-do-tests
do-build-mono-mcs: mcs-do-clean
compiler-tests: build-test-mono-mcs-moon
compiler-tests-net_2_0:
-rm -f $(mcs_topdir)/build/common/Consts.cs.save
-mv -f $(mcs_topdir)/build/common/Consts.cs $(mcs_topdir)/build/common/Consts.cs.save
cd $(mcs_topdir) && $(MAKE) PROFILE=net_2_0_bootstrap clean
cd $(mcs_topdir) && $(MAKE) PROFILE=net_2_0 clean
-mv -f $(mcs_topdir)/build/common/Consts.cs.save $(mcs_topdir)/build/common/Consts.cs
$(MAKE) all
mcs-do-clean:
cd runtime && $(MAKE) clean-local
cd mono/tests && $(MAKE) clean
mcs-do-tests:
cd runtime && $(MAKE) check-local
cd mono/tests && $(MAKE) check
$(MAKE) test_profiles=net_2_0 mcs-do-compiler-tests
.PHONY: compiler-tests mcs-do-compiler-tests
compiler-tests:
$(MAKE) test_select='TEST_SUBDIRS="tests errors"' validate
mcs-do-compiler-tests:
$(MAKE) test_select='TEST_SUBDIRS="tests errors"' mcs-do-tests
.PHONY: bootstrap-world
bootstrap-world: compiler-tests
$(MAKE) install
if INSTALL_MONOTOUCH
monotouch-do-build: config.h
@list='$(MONOTOUCH_SUBDIRS)'; for subdir in $$list; do \
case "x$$subdir" in \
xmono ) target="monotouch-do-build";; \
* ) target="all";; \
esac; \
echo "Making $$target in $$subdir"; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
done;
(cd runtime && $(MAKE) $(AM_MAKEFLAGS) monotouch-do-build)
bootstrap-world-net_2_0: compiler-tests-net_2_0
$(MAKE) install
monotouch-do-clean:
@list='$(MONOTOUCH_SUBDIRS)'; for subdir in $$list; do \
case "x$$subdir" in \
xmono ) target="monotouch-do-clean";; \
* ) target="clean";; \
esac; \
echo "Making $$target in $$subdir"; \
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target); \
done;
(cd runtime && $(MAKE) $(AM_MAKEFLAGS) monotouch-do-clean)
# internal targets
.PHONY: build-test-mono-mcs-moon
build-test-mono-mcs-moon: do-build-moon-maybe
$(MAKE) mcs-do-compiler-tests
endif
.PHONY: do-build-mono-mcs
do-build-mono-mcs: mcs-do-clean
$(MAKE) all
.PHONY: do-build-moon-maybe
do-build-moon-maybe: do-build-mono-mcs
cd runtime && $(MAKE) moon-do-build
mcs-do-clean:
cd runtime && $(MAKE) clean-local
cd mono/tests && $(MAKE) clean
mcs-do-compiler-tests:
cd runtime && $(MAKE) test_select='TEST_SUBDIRS="tests errors"' check-local
cd mono/tests && $(MAKE) check
win32getdeps:
wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
@@ -140,10 +89,16 @@ win32getdeps:
win32setup:
makensis /DMILESTONE=$(VERSION) /DSOURCE_INSTALL_DIR=$(SOURCE_INSTALL_DIR) /DBUILDNUM=$(BUILDNUM) monowiz.win32.nsi
bootstrap: all
@echo "*** 'make bootstrap' is obsolete. Just run 'make' to perform a combined mono+mcs build"
exit 1
patch-quiet:
find mono -name Makefile -exec scripts/patch-quiet.sh {} \;
find libgc -name Makefile -exec scripts/patch-quiet.sh {} \;
update-csproj:
-rm msvc/scripts/order
-rm msvc/scripts/order.xml
-rm -rf msvc/scripts/inputs
-mkdir msvc/scripts/inputs
(cd runtime; make V=1 extra_targets=csproj-local)
@@ -152,23 +107,15 @@ package-inputs:
echo '<root>' >> msvc/scripts/order.xml
for i in `cat msvc/scripts/order`; do \
set `echo $$i | sed -e 's/:/ /' -e 's/.input//'`; \
cat msvc/scripts/inputs/$$2.input | sed -e 's/\\\\/\\/g' -e 's/\\/\\\\/g' | \
cat msvc/scripts/inputs/$$2.input | \
(echo " <project dir=\"$$1\" library=\"$$2\">"; \
read boot; echo " <boot>$$boot</boot>"; \
read mcs; echo " <mcs>$$mcs</mcs>"; \
read flags; echo " <flags>$$flags</flags>"; \
read output; echo " <output>$$output</output>"; \
read built; echo " <built_sources>`echo $$built | sed 's/\\\/\\\\/g'`</built_sources>"; \
read built; echo " <built_sources>$$built</built_sources>"; \
read libou; echo " <library_output>$$libou</library_output>"; \
read fx_ver; echo " <fx_version>$$fx_ver</fx_version>"; \
read profile; echo " <profile>$$profile</profile>"; \
read resp; echo " <response>$$resp</response>"; \
echo " </project>") >> msvc/scripts/order.xml; \
echo " </project>") >> msvc/scripts/order.xml; \
done
echo "</root>" >> msvc/scripts/order.xml
# Update llvm version in configure.ac to the output of $LLVM_DIR/bin/llvm-config --version
update-llvm-version:
if test "x$$LLVM_DIR" = "x"; then echo "Set the make variable LLVM_DIR to the directory containing the LLVM installation."; exit 1; fi
REV=`$(LLVM_DIR)/bin/llvm-config --version` && sed -e "s,expected_llvm_version=.*,expected_llvm_version=\"$$REV\"," < configure.ac > tmp && mv tmp configure.ac && echo "Version set to $$REV."
+525
View File
@@ -0,0 +1,525 @@
This is Mono.
1. Installation
2. Using Mono
3. Directory Roadmap
1. Compilation and Installation
===============================
a. Build Requirements
---------------------
To build Mono, you will need the following components:
* pkg-config
Available from: http://www.freedesktop.org/Software/pkgconfig
* glib 2.4
Available from: http://www.gtk.org/
On Itanium, you must obtain libunwind:
http://www.hpl.hp.com/research/linux/libunwind/download.php4
On Solaris, make sure that you used GNU tar to unpack this package, as
Solaris tar will not unpack this correctly, and you will get strange errors.
On Solaris, make sure that you use the GNU toolchain to build the software.
Optional dependencies:
* libgdiplus
If you want to get support for System.Drawing, you will need to get
Libgdiplus.
* libzlib
This library and the development headers are required for compression
file support in the 2.0 profile.
b. Building the Software
------------------------
If you obtained this package as an officially released tarball,
this is very simple, use configure and make:
./configure --prefix=/usr/local
make
make install
Mono supports a JIT engine on x86, SPARC, SPARCv9, S/390,
S/390x, AMD64, ARM and PowerPC systems.
If you obtained this as a snapshot, you will need an existing
Mono installation. To upgrade your installation, unpack both
mono and mcs:
tar xzf mcs-XXXX.tar.gz
tar xzf mono-XXXX.tar.gz
mv mono-XXX mono
mv mcs-XXX mcs
cd mono
./autogen.sh --prefix=/usr/local
make
The Mono build system is silent for most compilation commands.
To enable a more verbose compile (for example, to pinpoint
problems in your makefiles or your system) pass the V=1 flag to make, like this:
make V=1
c. Building the software from SVN
---------------------------------
If you are building the software from SVN, make sure that you
have up-to-date mcs and mono sources:
svn co svn+ssh://[email protected]/source/trunk/mono
svn co svn+ssh://[email protected]/source/trunk/mcs
Then, go into the mono directory, and configure:
cd mono
./autogen.sh --prefix=/usr/local
make
For people with non-standard installations of the auto* utils and of
pkg-config (common on misconfigured OSX and windows boxes), you could get
an error like this:
./configure: line 19176: syntax error near unexpected token `PKG_CHECK_MODULES(BASE_DEPENDENCIES,' ...
This means that you need to set the ACLOCAL_FLAGS environment var
when invoking autogen.sh, like this:
ACLOCAL_FLAGS="-I $acprefix/share/aclocal" ./autogen.sh --prefix=/usr/loca
where $acprefix is the prefix where aclocal has been installed.
This will automatically go into the mcs/ tree and build the
binaries there.
This assumes that you have a working mono installation, and that
there's a C# compiler named 'mcs', and a corresponding IL
runtime called 'mono'. You can use two make variables
EXTERNAL_MCS and EXTERNAL_RUNTIME to override these. e.g., you
can say
make EXTERNAL_MCS=/foo/bar/mcs EXTERNAL_RUNTIME=/somewhere/else/mono
If you don't have a working Mono installation
---------------------------------------------
If you don't have a working Mono installation, an obvious choice
is to install the latest released packages of 'mono' for your
distribution and running autogen.sh; make; make install in the
mono module directory.
You can also try a slightly more risky approach: this may not work,
so start from the released tarball as detailed above.
This works by first getting the latest version of the 'monolite'
distribution, which contains just enough to run the 'mcs'
compiler. You do this with:
make get-monolite-latest
This will download and automatically gunzip and untar the
tarball, and place the files appropriately so that you can then
just run:
make
To ensure that you're using the 'monolite' distribution, you can
also try passing EXTERNAL_MCS=false on the make command-line.
Testing and Installation
------------------------
You can run (part of) the mono and mcs testsuites with the command:
make check
All tests should pass.
If you want more extensive tests, including those that test the
class libraries, you need to re-run 'configure' with the
'--enable-nunit-tests' flag, and try
make -k check
Expect to find a few testsuite failures. As a sanity check, you
can compare the failures you got with
http://go-mono.com/tests/displayTestResults.php
You can now install mono with:
make install
Failure to follow these steps may result in a broken installation.
d. Common Configuration Options
-------------------------------
The following are the configuration options that someone
building Mono might want to use:
--with-gc=[boehm, included, sgen, none]
Selects the garbage collector engine to use, the
default is the "included" value.
included:
This is the default value, and its
the most feature complete, it will allow Mono
to use typed allocations and support the
debugger.
It is essentially a slightly modified Boehm GC
boehm:
This is used to use a system-install Boehm GC,
it is useful to test new features available in
Boehm GC, but we do not recommend that people
use this, as it disables a few features.
sgen:
The under-development Generational GC for
Mono, do not use this in production.
none:
Disables the inclusion of a garbage
collector.
--with-tls=__thread,pthread
Controls how Mono should access thread local storage,
pthread forces Mono to use the pthread APIs, while
__thread uses compiler-optimized access to it.
Although __thread is faster, it requires support from
the compiler, kernel and libc. Old Linux systems do
not support with __thread.
This value is typically pre-configured and there is no
need to set it, unless you are trying to debug a
problem.
--with-sigaltstack=yes,no
Experimental: Use at your own risk, it is known to
cause problems with garbage collection and is hard to
reproduce those bugs.
This controls whether Mono will install a special
signal handler to handle stack overflows. If set to
"yes", it will turn stack overflows into the
StackOverflowException. Otherwise when a stack
overflow happens, your program will receive a
segmentation fault.
The configure script will try to detect if your
operating system supports this. Some older Linux
systems do not support this feature, or you might want
to override the auto-detection.
--with-static_mono=yes,no
This controls whether `mono' should link against a
static library (libmono.a) or a shared library
(libmono.so).
This defaults to yes, and will improve the performance
of the `mono' program.
This only affects the `mono' binary, the shared
library libmono.so will always be produced for
developers that want to embed the runtime in their
application.
--with-xen-opt=yes,no
The default value for this is `yes', and it makes Mono
generate code which might be slightly slower on
average systems, but the resulting executable will run
faster under the Xen virtualization system.
--with-large-heap=yes,no
Enable support for GC heaps larger than 3GB.
This value is set to `no' by default.
--with-ikvm-native=yes,no
Controls whether the IKVM JNI interface library is
built or not. This is used if you are planning on
using the IKVM Java Virtual machine with Mono.
This defaults to `yes'.
--with-profile2=yes,no
Whether you want to build the 2.x libraries (support
for Generics and the 2.0/3.5 APIS).
It defaults to `yes'.
--with-moonlight=yes,no
Whether you want to generate the Silverlight/Moonlight
libraries and toolchain in addition to the default
(1.1 and 2.0 APIs).
This will produce the `smcs' compiler which will reference
the Silverlight modified assemblies (mscorlib.dll,
System.dll, System.Code.dll and System.Xml.Core.dll) and turn
on the LINQ extensions for the compiler.
--with-libgdiplus=installed,sibling,<path>
This is used to configure where should Mono look for
libgdiplus when running the System.Drawing tests.
It defaults to `installed', which means that the
library is available to Mono through the regular
system setup.
`sibling' can be used to specify that a libgdiplus
that resides as a sibling of this directory (mono)
should be used.
Or you can specify a path to a libgdiplus.
--disable-shared-memory
Use this option to disable the use of shared memory in
Mono (this is equivalent to setting the MONO_DISABLE_SHM
environment variable, although this removes the feature
completely).
Disabling the shared memory support will disable certain
features like cross-process named mutexes.
--enable-minimal=LIST
Use this feature to specify optional runtime
components that you might not want to include. This
is only useful for developers embedding Mono that
require a subset of Mono functionality.
The list is a comma-separated list of components that
should be removed, these are:
aot:
Disables support for the Ahead of Time
compilation.
attach:
Support for the Mono.Management assembly and the
VMAttach API (allowing code to be injected into
a target VM)
com:
Disables COM support.
debug:
Drop debugging support.
decimal:
Disables support for System.Decimal.
full_messages:
By default Mono comes with a full table
of messages for error codes. This feature
turns off uncommon error messages and reduces
the runtime size.
generics:
Generics support. Disabling this will not
allow Mono to run any 2.0 libraries or
code that contains generics.
jit:
Removes the JIT engine from the build, this reduces
the executable size, and requires that all code
executed by the virtual machine be compiled with
Full AOT before execution.
large_code:
Disables support for large assemblies.
logging:
Disables support for debug logging.
pinvoke:
Support for Platform Invocation services,
disabling this will drop support for any
libraries using DllImport.
portability:
Removes support for MONO_IOMAP, the environment
variables for simplifying porting applications that
are case-insensitive and that mix the Unix and Windows path separators.
profiler:
Disables support for the default profiler.
reflection_emit:
Drop System.Reflection.Emit support
reflection_emit_save:
Drop support for saving dynamically created
assemblies (AssemblyBuilderAccess.Save) in
System.Reflection.Emit.
shadow_copy:
Disables support for AppDomain's shadow copies
(you can disable this if you do not plan on
using appdomains).
simd:
Disables support for the Mono.SIMD intrinsics
library.
ssa:
Disables compilation for the SSA optimization
framework, and the various SSA-based
optimizations.
--enable-big-arrays
This enables the use arrays whose indexes are larger
than Int32.MaxValue.
By default Mono has the same limitation as .NET on
Win32 and Win64 and limits array indexes to 32-bit
values (even on 64-bit systems).
In certain scenarios where large arrays are required,
you can pass this flag and Mono will be built to
support 64-bit arrays.
This is not the default as it breaks the C embedding
ABI that we have exposed through the Mono development
cycle.
--enable-parallel-mark
Use this option to enable the garbage collector to use
multiple CPUs to do its work. This helps performance
on multi-CPU machines as the work is divided across CPUS.
This option is not currently the default as we have
not done much testing with Mono.
--enable-dtrace
On Solaris and MacOS X builds a version of the Mono
runtime that contains DTrace probes and can
participate in the system profiling using DTrace.
--disable-dev-random
Mono uses /dev/random to obtain good random data for
any source that requires random numbers. If your
system does not support this, you might want to
disable it.
There are a number of runtime options to control this
also, see the man page.
2. Using Mono
=============
Once you have installed the software, you can run a few programs:
* runtime engine
mono program.exe
* C# compiler
mcs program.cs
* CIL Disassembler
monodis program.exe
See the man pages for mono(1), mint(1), monodis(1) and mcs(2)
for further details.
3. Directory Roadmap
====================
docs/
Technical documents about the Mono runtime.
data/
Configuration files installed as part of the Mono runtime.
mono/
The core of the Mono Runtime.
metadata/
The object system and metadata reader.
mini/
The Just in Time Compiler.
dis/
CIL executable Disassembler
cli/
Common code for the JIT and the interpreter.
io-layer/
The I/O layer and system abstraction for
emulating the .NET IO model.
cil/
Common Intermediate Representation, XML
definition of the CIL bytecodes.
interp/
Interpreter for CLI executables (obsolete).
arch/
Architecture specific portions.
man/
Manual pages for the various Mono commands and programs.
samples/
Some simple sample programs on uses of the Mono
runtime as an embedded library.
scripts/
Scripts used to invoke Mono and the corresponding program.
runtime/
A directory that contains the Makefiles that link the
mono/ and mcs/ build systems.
../olive/
If the directory ../olive is present (as an
independent checkout) from the Mono module, that
directory is automatically configured to share the
same prefix than this module gets.
-427
View File
@@ -1,427 +0,0 @@
Mono is a software platform designed to allow developers to easily create cross platform applications.
It is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime.
1. [Compilation and Installation](#compilation-and-installation)
2. [Using Mono](#using-mono)
3. [Directory Roadmap](#directory-roadmap)
4. [Contributing to Mono](#contributing-to-mono)
5. [Reporting bugs](#reporting-bugs)
6. [Configuration Options](#configuration-options)
**Build Status**
| debian-amd64 | debian-i386 | centos-s390x | windows-amd64 |
|:------------:|:-----------:|:------------:|:-------------:|
| [![debian-amd64](http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-amd64/badge/icon)](http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-amd64/) | [![debian-i386](http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-i386/badge/icon)](http://jenkins.mono-project.com/job/test-mono-mainline/label=debian-i386/) | [![centos-s390x](http://jenkins.mono-project.com/job/test-mono-mainline/label=centos-s390x/badge/icon)](http://jenkins.mono-project.com/job/test-mono-mainline/label=centos-s390x/) | [![windows-amd64](https://ci.appveyor.com/api/projects/status/1e61ebdfpbiei58v/branch/master?svg=true)](https://ci.appveyor.com/project/ajlennon/mono-817/branch/master) |
Compilation and Installation
============================
Building the Software
---------------------
Please see our guides for building Mono on
[Mac OS X](http://www.mono-project.com/docs/compiling-mono/mac/),
[Linux](http://www.mono-project.com/docs/compiling-mono/linux/) and
[Windows](http://www.mono-project.com/docs/compiling-mono/windows/).
Note that building from Git assumes that you already have Mono installed,
so please download and [install the latest Mono release](http://www.mono-project.com/download/)
before trying to build from Git. This is required because the Mono build
relies on a working Mono C# compiler to compile itself
(also known as [bootstrapping](http://en.wikipedia.org/wiki/Bootstrapping_(compilers))).
If you don't have a working Mono installation
---------------------------------------------
If you don't have a working Mono installation, you can try a slightly
more risky approach: getting the latest version of the 'monolite' distribution,
which contains just enough to run the 'mcs' compiler. You do this with:
# Run the following line after ./autogen.sh
make get-monolite-latest
This will download and place the files appropriately so that you can then
just run:
make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/basic.exe
The build will then use the files downloaded by `make get-monolite-latest`.
Testing and Installation
------------------------
You can run the mono and mcs test suites with the command: `make check`.
Expect to find a few test suite failures. As a sanity check, you
can compare the failures you got with [https://wrench.mono-project.com/Wrench/](https://wrench.mono-project.com/Wrench/)
and [http://jenkins.mono-project.com/](http://jenkins.mono-project.com/).
You can now install mono with: `make install`
You can verify your installation by using the mono-test-install
script, it can diagnose some common problems with Mono's install.
Failure to follow these steps may result in a broken installation.
Using Mono
==========
Once you have installed the software, you can run a few programs:
* `mono program.exe` runtime engine
* `mcs program.cs` C# compiler
* `monodis program.exe` CIL Disassembler
See the man pages for mono(1), mcs(1) and monodis(1) for further details.
Directory Roadmap
=================
* `data/` - Configuration files installed as part of the Mono runtime.
* `docs/` - Technical documents about the Mono runtime.
* `external/` - Git submodules for external libraries (Newtonsoft.Json, ikvm, etc).
* `man/` - Manual pages for the various Mono commands and programs.
* `mcs/` - The class libraries, compiler and tools
* `class/` - The class libraries (like System.*, Microsoft.Build, etc.)
* `mcs/` - The Mono C# compiler written in C#
* `tools/` - Tools like gacutil, ikdasm, mdoc, etc.
* `mono/` - The core of the Mono Runtime.
* `arch/` - Architecture specific portions.
* `cil/` - Common Intermediate Representation, XML
definition of the CIL bytecodes.
* `dis/` - CIL executable Disassembler
* `io-layer/` - The I/O layer and system abstraction for
emulating the .NET IO model.
* `metadata/` - The object system and metadata reader.
* `mini/` - The Just in Time Compiler.
* `runtime/` - A directory that contains the Makefiles that link the
mono/ and mcs/ build systems.
* `samples/` -Some simple sample programs on uses of the Mono
runtime as an embedded library.
* `scripts/` - Scripts used to invoke Mono and the corresponding program.
* `../olive/` - Incubation code from [Olive](https://github.com/mono/olive).
* If the directory ../olive is present (as an
independent checkout) from the Mono module, that
directory is automatically configured to share the
same prefix than this module gets.
Contributing to Mono
====================
Before submitting changes to Mono, please review the [contribution guidelines](http://www.mono-project.com/community/contributing/).
Please pay particular attention to the [Important Rules](http://www.mono-project.com/community/contributing/#important-rules) section.
Reporting bugs
==============
To submit bug reports, please use [Xamarin's Bugzilla](https://bugzilla.xamarin.com/)
Please use the search facility to ensure the same bug hasn't already
been submitted and follow our [guidelines](http://www.mono-project.com/community/bugs/make-a-good-bug-report/)
on how to make a good bug report.
Configuration Options
=====================
The following are the configuration options that someone
building Mono might want to use:
* `--with-sgen=yes,no` - Generational GC support: Used to enable or disable the
compilation of a Mono runtime with the SGen garbage collector.
* On platforms that support it, after building Mono, you will have
both a `mono` binary and a `mono-sgen` binary. `mono` uses Boehm, while
`mono-sgen` uses the Simple Generational GC.
* `--with-gc=[included, boehm, none]` - Selects the default Boehm garbage
collector engine to use.
* *included*: (*slighty modified Boehm GC*)
This is the default value for the Boehm GC, and it's
the most feature complete, it will allow Mono
to use typed allocations and support the debugger.
* *boehm*:
This is used to use a system-install Boehm GC,
it is useful to test new features available in
Boehm GC, but we do not recommend that people
use this, as it disables a few features.
* *none*:
Disables the inclusion of a garbage collector.
* This defaults to `included`.
* `--with-tls=__thread,pthread`
* Controls how Mono should access thread local storage,
pthread forces Mono to use the pthread APIs, while
__thread uses compiler-optimized access to it.
* Although __thread is faster, it requires support from
the compiler, kernel and libc. Old Linux systems do
not support with __thread.
* This value is typically pre-configured and there is no
need to set it, unless you are trying to debug a problem.
* `--with-sigaltstack=yes,no`
* **Experimental**: Use at your own risk, it is known to
cause problems with garbage collection and is hard to
reproduce those bugs.
* This controls whether Mono will install a special
signal handler to handle stack overflows. If set to
`yes`, it will turn stack overflows into the
StackOverflowException. Otherwise when a stack
overflow happens, your program will receive a
segmentation fault.
* The configure script will try to detect if your
operating system supports this. Some older Linux
systems do not support this feature, or you might want
to override the auto-detection.
* `--with-static_mono=yes,no`
* This controls whether `mono` should link against a
static library (libmono.a) or a shared library
(libmono.so).
* This defaults to `yes`, and will improve the performance
of the `mono` program.
* This only affects the `mono' binary, the shared
library libmono.so will always be produced for
developers that want to embed the runtime in their
application.
* `--with-xen-opt=yes,no` - Optimize code for Xen virtualization.
* It makes Mono generate code which might be slightly
slower on average systems, but the resulting executable will run
faster under the Xen virtualization system.
* This defaults to `yes`.
* `--with-large-heap=yes,no` - Enable support for GC heaps larger than 3GB.
* This defaults to `no`.
* `--enable-small-config=yes,no` - Enable some tweaks to reduce memory usage
and disk footprint at the expense of some capabilities.
* Typically this means that the number of threads that can be created
is limited (256), that the maximum heap size is also reduced (256 MB)
and other such limitations that still make mono useful, but more suitable
to embedded devices (like mobile phones).
* This defaults to `no`.
* `--with-ikvm-native=yes,no` - Controls whether the IKVM JNI interface library is
built or not.
* This is used if you are planning on
using the IKVM Java Virtual machine with Mono.
* This defaults to `yes`.
* `--with-profile4=yes,no` - Whether you want to build the 4.x profile libraries
and runtime.
* This defaults to `yes`.
* `--with-libgdiplus=installed,sibling,<path>` - Configure where Mono
searches for libgdiplus when running System.Drawing tests.
* It defaults to `installed`, which means that the
library is available to Mono through the regular
system setup.
* `sibling` can be used to specify that a libgdiplus
that resides as a sibling of this directory (mono)
should be used.
* Or you can specify a path to a libgdiplus.
* `--disable-shared-memory`
* Use this option to disable the use of shared memory in
Mono (this is equivalent to setting the MONO_DISABLE_SHM
environment variable, although this removes the feature
completely).
* Disabling the shared memory support will disable certain
features like cross-process named mutexes.
* `--enable-minimal=LIST`
* Use this feature to specify optional runtime
components that you might not want to include. This
is only useful for developers embedding Mono that
require a subset of Mono functionality.
* The list is a comma-separated list of components that
should be removed, these are:
* `aot`:
Disables support for the Ahead of Time compilation.
* `attach`:
Support for the Mono.Management assembly and the
VMAttach API (allowing code to be injected into
a target VM)
* `com`:
Disables COM support.
* `debug`:
Drop debugging support.
* `decimal`:
Disables support for System.Decimal.
* `full_messages`:
By default Mono comes with a full table
of messages for error codes. This feature
turns off uncommon error messages and reduces
the runtime size.
* `generics`:
Generics support. Disabling this will not
allow Mono to run any 2.0 libraries or
code that contains generics.
* `jit`:
Removes the JIT engine from the build, this reduces
the executable size, and requires that all code
executed by the virtual machine be compiled with
Full AOT before execution.
* `large_code`:
Disables support for large assemblies.
* `logging`:
Disables support for debug logging.
* `pinvoke`:
Support for Platform Invocation services,
disabling this will drop support for any
libraries using DllImport.
* `portability`:
Removes support for MONO_IOMAP, the environment
variables for simplifying porting applications that
are case-insensitive and that mix the Unix and Windows path separators.
* `profiler`:
Disables support for the default profiler.
* `reflection_emit`:
Drop System.Reflection.Emit support
* `reflection_emit_save`:
Drop support for saving dynamically created
assemblies (AssemblyBuilderAccess.Save) in
System.Reflection.Emit.
* `shadow_copy`:
Disables support for AppDomain's shadow copies
(you can disable this if you do not plan on
using appdomains).
* `simd`:
Disables support for the Mono.SIMD intrinsics
library.
* `ssa`:
Disables compilation for the SSA optimization
framework, and the various SSA-based optimizations.
* `--enable-llvm`
* `--enable-loadedllvm`
* This enables the use of LLVM as a code generation engine
for Mono. The LLVM code generator and optimizer will be
used instead of Mono's built-in code generator for both
Just in Time and Ahead of Time compilations.
* See http://www.mono-project.com/docs/advanced/mono-llvm/ for the
full details and up-to-date information on this feature.
* You will need to have an LLVM built that Mono can link
against.
* The `--enable-loadedllvm` variant will make the LLVM backend
into a runtime-loadable module instead of linking it directly
into the main mono binary.
* `--enable-big-arrays` - Enable use of arrays with indexes larger
than Int32.MaxValue.
* By default Mono has the same limitation as .NET on
Win32 and Win64 and limits array indexes to 32-bit
values (even on 64-bit systems).
* In certain scenarios where large arrays are required,
you can pass this flag and Mono will be built to
support 64-bit arrays.
* This is not the default as it breaks the C embedding
ABI that we have exposed through the Mono development
cycle.
* `--enable-parallel-mark`
* Use this option to enable the garbage collector to use
multiple CPUs to do its work. This helps performance
on multi-CPU machines as the work is divided across CPUS.
* This option is not currently the default as we have
not done much testing with Mono.
* `--enable-dtrace`
* On Solaris and MacOS X builds a version of the Mono
runtime that contains DTrace probes and can
participate in the system profiling using DTrace.
* `--disable-dev-random`
* Mono uses /dev/random to obtain good random data for
any source that requires random numbers. If your
system does not support this, you might want to
disable it.
* There are a number of runtime options to control this
also, see the man page.
* `--enable-nacl`
* This configures the Mono compiler to generate code
suitable to be used by Google's Native Client:
http://code.google.com/p/nativeclient/
* Currently this is used with Mono's AOT engine as
Native Client does not support JIT engines yet.
+4 -5
View File
@@ -22,14 +22,14 @@ if test x$GCC != xyes; then
dolt_supported=no
fi
case $host in
i?86-*-linux*|i?86-apple-darwin*|x86_64-*-linux*|powerpc-*-linux*|powerpc64-*-linux* \
|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*|arm*-*-linux*|sparc*-*-linux*|mips*-*-linux*|x86_64-apple-darwin*|aarch64*)
i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux*|powerpc64-*-linux* \
|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*|arm*-*-linux*|sparc*-*-linux*|mips*-*-linux*)
pic_options='-fPIC'
;;
?86-pc-cygwin*|i?86-pc-cygwin*|i?86-pc-mingw32*)
?86-pc-cygwin*|i?86-pc-cygwin*)
pic_options='-DDLL_EXPORT'
;;
i?86-apple-darwin*|arm-apple-darwin*)
i?86-apple-darwin*)
pic_options='-fno-common'
;;
*)
@@ -158,7 +158,6 @@ modeok=false
tagok=false
for arg in "$[]@"; do
case "$arg" in
--silent) ;;
--mode=compile) modeok=true ;;
--tag=CC|--tag=CXX) tagok=true ;;
--quiet) ;;
-98
View File
@@ -1,98 +0,0 @@
#
# Appveyor configuration file for CI build of Mono on Windows (under Cygwin)
#
# For further details see http://www.appveyor.com
#
# Use 'unstable' Appveyor build worker image as Appveyor have added Cygwin to this for us
os: Unstable
#
# Custom environment variables
#
environment:
global:
CYG_ROOT: C:/cygwin
CYG_MIRROR: http://cygwin.mirror.constant.com
CYG_CACHE: C:/cygwin/var/cache/setup
NSIS_ROOT: C:\nsis
#
# Initialisation prior to pulling the Mono repository
#
init:
- 'echo Building Mono for Windows'
- 'echo System architecture: %PLATFORM%'
- 'echo Repo build branch is: %APPVEYOR_REPO_BRANCH%'
- 'echo Build folder is: %APPVEYOR_BUILD_FOLDER%'
# Attempt to ensure we don't try to convert line endings to Win32 CRLF as this will cause build to fail
- 'git config --global core.autocrlf input'
#
# Install needed build dependencies
#
install:
# NOTE: Already installed on current Appveyor unstable image
# - 'echo Retrieving Cygwin'
# - 'appveyor DownloadFile http://cygwin.com/setup-x86.exe -FileName %CYGROOT%/setup-x86.exe'
- 'echo Setting up Cygwin dependencies'
- '%CYG_ROOT%\setup-x86.exe -qnNdO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P autoconf -P automake -P bison -P gcc-core -P gcc-g++ -P mingw-runtime -P mingw-binutils -P mingw-gcc-core -P mingw-gcc-g++ -P mingw-pthreads -P mingw-w32api -P libtool -P make -P python -P gettext-devel -P gettext -P intltool -P libiconv -P pkg-config -P git -P wget -P curl > NUL'
- 'echo Check Cygwin setup'
- '%CYG_ROOT%/bin/bash -lc "cygcheck -dc cygwin"'
- 'echo Done setting up Cygwin'
- 'echo Retrieving NSIS'
- 'appveyor DownloadFile "http://sunet.dl.sourceforge.net/project/nsis/NSIS 2/2.46/nsis-2.46-setup.exe" -FileName nsissetup.exe'
- 'echo Setting up NSIS'
- 'nsissetup.exe /S /D=%NSIS_ROOT%'
- 'echo Done setting up NSIS'
#
# NOTE: msbuild doesn't work at present so use Cygwin to build
#
#build:
# project: C:\projects\mono\msvc\mono.sln
# verbosity: detailed
# Cygwin build script
#
# NOTES:
#
# The stdin/stdout file descriptor appears not to be valid for the Appveyor
# build which causes failures as certain functions attempt to redirect
# default file handles. Ensure a dummy file descriptor is opened with exec.
#
build_script:
- cmd: 'echo Cygwin root is: %CYG_ROOT%'
- cmd: 'echo Build folder is: %APPVEYOR_BUILD_FOLDER%'
- cmd: 'echo Repo build branch is: %APPVEYOR_REPO_BRANCH%'
- cmd: 'echo Repo build commit is: %APPVEYOR_REPO_COMMIT%'
- cmd: 'echo Autogen running...'
- cmd: '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; NOCONFIGURE=1 ./autogen.sh --prefix=/usr/local --with-preview=yes"'
- cmd: 'echo Configure running...'
- cmd: '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; ./configure --host=i686-pc-mingw32"'
- cmd: 'echo Pulling monolite latest...'
- cmd: '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; make get-monolite-latest"'
- cmd: 'echo Make running...'
- cmd: '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; make"'
- cmd: 'echo Installing...'
- cmd: 'mkdir %APPVEYOR_BUILD_FOLDER%\install'
- cmd: '%CYG_ROOT%/bin/bash --login -lc "export CYGWIN=winsymlinks:native; mount \"$APPVEYOR_BUILD_FOLDER\install\" /usr/local; cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; make install; umount /usr/local"'
# - cmd: 'echo Building package...'
# - cmd: 'cd %APPVEYOR_BUILD_FOLDER%'
# - cmd: '%NSIS_ROOT%\makensis /DMILESTONE=%APPVEYOR_REPO_BRANCH% /DSOURCE_INSTALL_DIR=%APPVEYOR_BUILD_FOLDER\install\*.* /DBUILDNUM=%APPVEYOR_BUILD_VERSION% monowiz.win32.nsi'
# - cmd: 'Building distribution...'
# - cmd: '%CYG_ROOT%/bin/bash -lc "export CYGWIN=winsymlinks:native; cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; make dist"'
#
# Disable tests for now
#
test: off
#
# NOTE: Currently this is the Mono installation tree. In future we will create an installation package artifact.
# It has to be relative to the project path. Thus we have installed to within the build tree.
#
artifacts:
- path: install
name: mono-binaries
type: zip
+9 -39
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
# Ripped off from GNOME macros version
@@ -37,7 +37,7 @@ if [ -z "$LIBTOOL" ]; then
fi
fi
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && {
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`libtool' installed to compile Mono."
@@ -47,8 +47,8 @@ fi
}
}
grep "^AM_GNU_GETTEXT" $srcdir/configure.ac >/dev/null && {
grep "sed.*POTFILES" $srcdir/configure.ac >/dev/null || \
grep "^AM_GNU_GETTEXT" $srcdir/configure.in >/dev/null && {
grep "sed.*POTFILES" $srcdir/configure.in >/dev/null || \
(gettext --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`gettext' installed to compile Mono."
@@ -95,39 +95,15 @@ xlc )
esac
if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then
if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
if test -z "$NO_LIBTOOLIZE" ; then
echo "Running libtoolize..."
${LIBTOOL}ize --force --copy
fi
fi
#
# Plug in the extension module
#
has_ext_mod=false
ext_mod_args=''
for PARAM; do
if [[ $PARAM =~ "--enable-extension-module" ]] ; then
has_ext_mod=true
if [[ $PARAM =~ "=" ]] ; then
ext_mod_args=`echo $PARAM | cut -d= -f2`
fi
fi
done
if test x$has_ext_mod = xtrue; then
pushd ../mono-extensions/scripts
sh ./prepare-repo.sh $ext_mod_args || exit 1
popd
else
cat mono/mini/Makefile.am.in > mono/mini/Makefile.am
fi
echo "Running aclocal -I m4 -I . $ACLOCAL_FLAGS ..."
aclocal -Wnone -I m4 -I . $ACLOCAL_FLAGS || {
echo "Running aclocal -I . $ACLOCAL_FLAGS ..."
aclocal -I . $ACLOCAL_FLAGS || {
echo
echo "**Error**: aclocal failed. This may mean that you have not"
echo "installed all of the packages you need, or you may need to"
@@ -137,13 +113,13 @@ aclocal -Wnone -I m4 -I . $ACLOCAL_FLAGS || {
exit 1
}
if grep "^AC_CONFIG_HEADERS" configure.ac >/dev/null; then
if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
echo "Running autoheader..."
autoheader || { echo "**Error**: autoheader failed."; exit 1; }
fi
echo "Running automake --gnu $am_opt ..."
automake --add-missing --gnu -Wno-portability -Wno-obsolete $am_opt ||
automake --add-missing --gnu $am_opt ||
{ echo "**Error**: automake failed."; exit 1; }
echo "Running autoconf ..."
autoconf || { echo "**Error**: autoconf failed."; exit 1; }
@@ -154,12 +130,6 @@ if test -d $srcdir/libgc; then
echo Done running libgc/autogen.sh ...
fi
if test -d $srcdir/eglib; then
echo Running eglib/autogen.sh ...
(cd $srcdir/eglib ; NOCONFIGURE=1 ./autogen.sh "$@")
echo Done running eglib/autogen.sh ...
fi
conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
+36 -153
View File
@@ -1,153 +1,66 @@
#!/bin/bash -e
CURDIR="`pwd`"
MINGW=i386-mingw32msvc
CROSS_DIR=/opt/cross/$MINGW
EXTRA_CROSS_DIR=
CROSS_DIR=${1:-/opt/cross/}
MINGW=${1:-i386-mingw32msvc}
CROSS_BIN_DIR="$CROSS_DIR/bin"
CROSS_DLL_DIR="$CROSS_DIR/$MINGW/bin"
CROSS_PKG_CONFIG_DIR=$CROSS_DIR/$MINGW/lib/pkgconfig
COPY_DLLS="libgio*.dll libglib*.dll libgmodule*.dll libgthread*.dll libgobject*.dll"
PATH=$CROSS_BIN_DIR:$PATH
INSTALL_DESTDIR="$CURDIR/mono-win32"
PROFILES="default net_2_0 net_3_5 net_4_0 net_4_5 moonlight"
TEMPORARY_PKG_CONFIG_DIR=/tmp/$RANDOM-pkg-config-$RANDOM
ORIGINAL_PATH="$PATH"
PROFILES="default net_2_0 net_2_1 net_3_5"
export CPPFLAGS_FOR_EGLIB CFLAGS_FOR_EGLIB CPPFLAGS_FOR_LIBGC CFLAGS_FOR_LIBGC
function cleanup ()
{
if [ -d "$TEMPORARY_PKG_CONFIG_DIR" ]; then
rm -rf "$TEMPORARY_PKG_CONFIG_DIR"
fi
}
function check_pkg_config_dir ()
{
local DIR="$1"
local DIR_PREFIX="$2"
if [ ! -d "$DIR" ]; then
return
fi
install -d -m 755 "$TEMPORARY_PKG_CONFIG_DIR"
for pc in "$DIR"/*.pc; do
if [ -f $pc ]; then
pcname="`basename $pc`"
sed -e "s;^prefix=.*;prefix=$DIR_PREFIX;g" < $pc > "$TEMPORARY_PKG_CONFIG_DIR"/$pcname
fi;
done
if [ -z "$CROSS_PKG_CONFIG_DIR" ]; then
CROSS_PKG_CONFIG_DIR="$TEMPORARY_PKG_CONFIG_DIR"
fi
}
function show_build_info ()
{
cat <<EOF
Installation prefix: $MONO_PREFIX
CPPFLAGS: ${CPPFLAGS:=not set}
LDFLAGS: ${LDFLAGS:=not set}
MONO_PATH: ${MONO_PATH:=not set}
EOF
}
export PATH
function setup ()
{
local pcname
CROSS_BIN_DIR="$CROSS_DIR/bin"
CROSS_DLL_DIR="$CROSS_DIR/bin"
PATH=$CROSS_BIN_DIR:$PATH
MONO_VERSION=`grep AC_INIT configure.ac | cut -d ',' -f 2|tr -d '\[ \]'`
if [ -d ./.git ]; then
MONO_GIT_COMMIT="`git log -1 --format=format:%t`"
MONO_GIT_BRANCH="`git branch|grep '\*'|cut -d ' ' -f 2|tr -d '\)'|tr -d '\('`"
MONO_RELEASE="$MONO_VERSION-$MONO_GIT_BRANCH-$MONO_GIT_COMMIT"
if [ -d ./.git/svn ]; then
SVN_INFO='git svn info'
elif [ -d ./.svn ]; then
SVN_INFO='svn info'
else
MONO_RELEASE="$MONO_VERSION"
SVN_INFO=""
fi
MONO_PREFIX="$MONO_PREFIX/mono-$MONO_RELEASE"
if [ -n "$SVN_INFO" ]; then
MONO_SVN_REVISION=`$SVN_INFO | grep Revision | sed 's/.*: //'`
MONO_BRANCH=`$SVN_INFO | grep URL | sed -e 's;.*source/;;g' -e 's;/mono;;g'`
else
MONO_SVN_REVISION="rUNKNOWN"
MONO_BRANCH="tarball"
fi
MONO_VERSION=`grep AM_INIT_AUTOMAKE configure.in | cut -d ',' -f 2|tr -d '\)'`
MONO_RELEASE="$MONO_VERSION-$MONO_BRANCH-r$MONO_SVN_REVISION"
MONO_PREFIX="/mono-$MONO_RELEASE"
NOCONFIGURE=yes
export NOCONFIGURE
check_pkg_config_dir "$CROSS_DIR/lib/pkgconfig" "$CROSS_DIR"
if [ -n "$EXTRA_CROSS_DIR" -a -d "$EXTRA_CROSS_DIR" ]; then
if [ -d "$EXTRA_CROSS_DIR/bin" ]; then
PATH="$EXTRA_CROSS_DIR/bin":$PATH
fi
check_pkg_config_dir "$EXTRA_CROSS_DIR/lib/pkgconfig" "$EXTRA_CROSS_DIR"
if [ -d "$EXTRA_CROSS_DIR/include" ]; then
if [ -z "$CPPFLAGS" ]; then
CPPFLAGS="-I \"$EXTRA_CROSS_DIR/include\""
else
CPPFLAGS="-I \"$EXTRA_CROSS_DIR/include\" $CFLAGS"
fi
fi
if [ -d "$EXTRA_CROSS_DIR/lib" ]; then
if [ -z "$LDFLAGS" ]; then
LDFLAGS="-I \"$EXTRA_CROSS_DIR/lib\""
else
LDFLAGS="-I \"$EXTRA_CROSS_DIR/lib\" $LDFLAGS"
fi
fi
if [ -d "$EXTRA_CROSS_DIR/share/aclocal" ]; then
if [ -z "$MONO_PATH" ]; then
MONO_PATH="\"$EXTRA_CROSS_DIR\""
else
MONO_PATH="\"$EXTRA_CROSS_DIR\":$MONO_PATH"
fi
fi
fi
export PATH MONO_PATH CPPFLAGS
show_build_info
echo Mono Win32 installation prefix: $MONO_PREFIX
}
function build ()
{
./autogen.sh
if [ -f ./Makefile ]; then
make distclean
fi
if [ -d ./autom4te.cache ]; then
rm -rf ./autom4te.cache
fi
if [ -f ./config.status ]; then
for f in `find -name config.status -type f`; do
rm $f
done
fi
./autogen.sh
BUILD="`./config.guess`"
if [ ! -d "$CURDIR/build-cross-windows" ]; then
mkdir "$CURDIR/build-cross-windows"
fi
cd "$CURDIR/build-cross-windows"
rm -rf *
../configure --prefix=$MONO_PREFIX --with-crosspkgdir=$CROSS_PKG_CONFIG_DIR --build=$BUILD --target=$MINGW --host=$MINGW --enable-parallel-mark --program-transform-name="" --with-tls=none --disable-mcs-build --disable-embed-check --enable-win32-dllmain=yes --with-libgc-threads=win32 --with-profile4=yes
../configure --prefix=$MONO_PREFIX --with-crosspkgdir=$CROSS_PKG_CONFIG_DIR --target=$MINGW --host=$MINGW --enable-parallel-mark --program-transform-name=""
make
cd "$CURDIR"
if [ ! -d "$CURDIR/build-cross-windows-mcs" ]; then
mkdir "$CURDIR/build-cross-windows-mcs"
fi
rm -rf autom4te.cache
unset PATH
PATH="$ORIGINAL_PATH"
export PATH
cd "$CURDIR/build-cross-windows-mcs"
rm -rf *
../configure --prefix=$MONO_PREFIX --enable-parallel-mark
@@ -162,66 +75,36 @@ function doinstall ()
cd "$CURDIR/build-cross-windows"
make DESTDIR="$INSTALL_DESTDIR" USE_BATCH_FILES=yes install
if test -d $CURDIR/mcs; then
mcsdir=$CURDIR/mcs
else
mcsdir=$CURDIR/../mcs
fi
cd "$CURDIR/../mcs/mcs"
cd "$mcsdir/mcs"
for p in $PROFILES; do
make DESTDIR="$INSTALL_DESTDIR" PROFILE=$p install || echo "mcs profile $p installation failed"
done
cd "$mcsdir/class"
cd "$CURDIR/../mcs/class"
for p in $PROFILES; do
make DESTDIR="$INSTALL_DESTDIR" PROFILE=$p install || echo "class library profile $p installation failed"
done
cd "$mcsdir/tools"
cd "$CURDIR/../mcs/tools"
for p in $PROFILES; do
make DESTDIR="$INSTALL_DESTDIR" PROFILE=$p install || echo "tools profile $p installation failed"
done
cd "$CURDIR/mono-win32"
for dll in $COPY_DLLS; do
cp -ap "$CROSS_DLL_DIR"/$dll "$INSTALL_DESTDIR/$MONO_PREFIX/bin"
done
rm -f "$CURDIR/mono-win32-$MONO_RELEASE".zip
zip -9r "$CURDIR/mono-win32-$MONO_RELEASE".zip .
}
function usage ()
{
cat <<EOF
Usage: build-mingw32.sh [OPTIONS]
where OPTIONS are:
-d DIR Sets the location of directory where MINGW is installed [$CROSS_DIR]
-e DIR Sets the location of directory where additional cross develoment packages are installed [${EXTRA_CROSS_DIR:=none}]
-m MINGW Sets the MINGW target name to be passed to configure [$MINGW]
-p PREFIX Prefix at which Mono is to be installed. Build will append the 'mono-X.Y' string to that path
EOF
exit 1
}
trap cleanup 0
pushd . > /dev/null
while getopts "d:m:e:p:" opt; do
case "$opt" in
d) CROSS_DIR="$OPTARG" ;;
m) MINGW="$OPTARG" ;;
e) EXTRA_CROSS_DIR="$OPTARG" ;;
p) MONO_PREFIX="$OPTARG" ;;
*) usage ;;
esac
done
setup
build
doinstall
show_build_info
popd > /dev/null
-672
View File
@@ -1,672 +0,0 @@
#! /bin/sh
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2010 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <[email protected]>, 1996
#
# This file is free software; the Free Software Foundation gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# The first argument passed to this file is the canonical host specification,
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# or
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
# should be set by the caller.
#
# The set of defined variables is at the end of this script.
# Known limitations:
# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
# than 256 bytes, otherwise the compiler driver will dump core. The only
# known workaround is to choose shorter directory names for the build
# directory and/or the installation directory.
# All known linkers require a `.a' archive for static linking (except MSVC,
# which needs '.lib').
libext=a
shrext=.so
host="$1"
host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
# Code taken from libtool.m4's _LT_CC_BASENAME.
for cc_temp in $CC""; do
case $cc_temp in
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
\-*) ;;
*) break;;
esac
done
cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
# Code taken from libtool.m4's _LT_COMPILER_PIC.
wl=
if test "$GCC" = yes; then
wl='-Wl,'
else
case "$host_os" in
aix*)
wl='-Wl,'
;;
darwin*)
case $cc_basename in
xlc*)
wl='-Wl,'
;;
esac
;;
mingw* | cygwin* | pw32* | os2* | cegcc*)
;;
hpux9* | hpux10* | hpux11*)
wl='-Wl,'
;;
irix5* | irix6* | nonstopux*)
wl='-Wl,'
;;
newsos6)
;;
linux* | k*bsd*-gnu)
case $cc_basename in
ecc*)
wl='-Wl,'
;;
icc* | ifort*)
wl='-Wl,'
;;
lf95*)
wl='-Wl,'
;;
pgcc | pgf77 | pgf90)
wl='-Wl,'
;;
ccc*)
wl='-Wl,'
;;
como)
wl='-lopt='
;;
*)
case `$CC -V 2>&1 | sed 5q` in
*Sun\ C*)
wl='-Wl,'
;;
esac
;;
esac
;;
osf3* | osf4* | osf5*)
wl='-Wl,'
;;
rdos*)
;;
solaris*)
wl='-Wl,'
;;
sunos4*)
wl='-Qoption ld '
;;
sysv4 | sysv4.2uw2* | sysv4.3*)
wl='-Wl,'
;;
sysv4*MP*)
;;
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
wl='-Wl,'
;;
unicos*)
wl='-Wl,'
;;
uts4*)
;;
esac
fi
# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
hardcode_libdir_flag_spec=
hardcode_libdir_separator=
hardcode_direct=no
hardcode_minus_L=no
case "$host_os" in
cygwin* | mingw* | pw32* | cegcc*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
if test "$GCC" != yes; then
with_gnu_ld=no
fi
;;
interix*)
# we just hope/assume this is gcc and not c89 (= MSVC++)
with_gnu_ld=yes
;;
openbsd*)
with_gnu_ld=no
;;
esac
ld_shlibs=yes
if test "$with_gnu_ld" = yes; then
# Set some defaults for GNU ld with shared library support. These
# are reset later if shared libraries are not supported. Putting them
# here allows them to be overridden if necessary.
# Unlike libtool, we use -rpath here, not --rpath, since the documented
# option of GNU ld is called -rpath, not --rpath.
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
case "$host_os" in
aix[3-9]*)
# On AIX/PPC, the GNU linker is very broken
if test "$host_cpu" != ia64; then
ld_shlibs=no
fi
;;
amigaos*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
# Samuel A. Falvo II <[email protected]> reports
# that the semantics of dynamic libraries on AmigaOS, at least up
# to version 4, is to share data among multiple programs linked
# with the same dynamic library. Since this doesn't match the
# behavior of shared libraries on other platforms, we cannot use
# them.
ld_shlibs=no
;;
beos*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
cygwin* | mingw* | pw32* | cegcc*)
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
hardcode_libdir_flag_spec='-L$libdir'
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
interix[3-9]*)
hardcode_direct=no
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
gnu* | linux* | k*bsd*-gnu)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
netbsd*)
;;
solaris*)
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
ld_shlibs=no
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
case `$LD -v 2>&1` in
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
ld_shlibs=no
;;
*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
else
ld_shlibs=no
fi
;;
esac
;;
sunos4*)
hardcode_direct=yes
;;
*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
ld_shlibs=no
fi
;;
esac
if test "$ld_shlibs" = no; then
hardcode_libdir_flag_spec=
fi
else
case "$host_os" in
aix3*)
# Note: this linker hardcodes the directories in LIBPATH if there
# are no directories specified by -L.
hardcode_minus_L=yes
if test "$GCC" = yes; then
# Neither direct hardcoding nor static linking is supported with a
# broken collect2.
hardcode_direct=unsupported
fi
;;
aix[4-9]*)
if test "$host_cpu" = ia64; then
# On IA64, the linker does run time linking by default, so we don't
# have to do anything special.
aix_use_runtimelinking=no
else
aix_use_runtimelinking=no
# Test if we are trying to use run time linking or normal
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
# need to do runtime linking.
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
for ld_flag in $LDFLAGS; do
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
aix_use_runtimelinking=yes
break
fi
done
;;
esac
fi
hardcode_direct=yes
hardcode_libdir_separator=':'
if test "$GCC" = yes; then
case $host_os in aix4.[012]|aix4.[012].*)
collect2name=`${CC} -print-prog-name=collect2`
if test -f "$collect2name" && \
strings "$collect2name" | grep resolve_lib_name >/dev/null
then
# We have reworked collect2
:
else
# We have old collect2
hardcode_direct=unsupported
hardcode_minus_L=yes
hardcode_libdir_flag_spec='-L$libdir'
hardcode_libdir_separator=
fi
;;
esac
fi
# Begin _LT_AC_SYS_LIBPATH_AIX.
echo 'int main () { return 0; }' > conftest.c
${CC} ${LDFLAGS} conftest.c -o conftest
aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
}'`
if test -z "$aix_libpath"; then
aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
}'`
fi
if test -z "$aix_libpath"; then
aix_libpath="/usr/lib:/lib"
fi
rm -f conftest.c conftest
# End _LT_AC_SYS_LIBPATH_AIX.
if test "$aix_use_runtimelinking" = yes; then
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
else
if test "$host_cpu" = ia64; then
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
else
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
fi
fi
;;
amigaos*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
# see comment about different semantics on the GNU ld section
ld_shlibs=no
;;
bsdi[45]*)
;;
cygwin* | mingw* | pw32* | cegcc*)
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
hardcode_libdir_flag_spec=' '
libext=lib
;;
darwin* | rhapsody*)
hardcode_direct=no
if test "$GCC" = yes ; then
:
else
case $cc_basename in
xlc*)
;;
*)
ld_shlibs=no
;;
esac
fi
;;
dgux*)
hardcode_libdir_flag_spec='-L$libdir'
;;
freebsd1*)
ld_shlibs=no
;;
freebsd2.2*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
;;
freebsd2*)
hardcode_direct=yes
hardcode_minus_L=yes
;;
freebsd* | dragonfly*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
;;
hpux9*)
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_separator=:
hardcode_direct=yes
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
hardcode_minus_L=yes
;;
hpux10*)
if test "$with_gnu_ld" = no; then
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_separator=:
hardcode_direct=yes
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
hardcode_minus_L=yes
fi
;;
hpux11*)
if test "$with_gnu_ld" = no; then
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
hardcode_libdir_separator=:
case $host_cpu in
hppa*64*|ia64*)
hardcode_direct=no
;;
*)
hardcode_direct=yes
# hardcode_minus_L: Not really in the search PATH,
# but as the default location of the library.
hardcode_minus_L=yes
;;
esac
fi
;;
irix5* | irix6* | nonstopux*)
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
netbsd*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
;;
newsos6)
hardcode_direct=yes
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
openbsd*)
if test -f /usr/libexec/ld.so; then
hardcode_direct=yes
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
else
case "$host_os" in
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
esac
fi
else
ld_shlibs=no
fi
;;
os2*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
;;
osf3*)
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
osf4* | osf5*)
if test "$GCC" = yes; then
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
else
# Both cc and cxx compiler support -rpath directly
hardcode_libdir_flag_spec='-rpath $libdir'
fi
hardcode_libdir_separator=:
;;
solaris*)
hardcode_libdir_flag_spec='-R$libdir'
;;
sunos4*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_direct=yes
hardcode_minus_L=yes
;;
sysv4)
case $host_vendor in
sni)
hardcode_direct=yes # is this really true???
;;
siemens)
hardcode_direct=no
;;
motorola)
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
;;
esac
;;
sysv4.3*)
;;
sysv4*MP*)
if test -d /usr/nec; then
ld_shlibs=yes
fi
;;
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
;;
sysv5* | sco3.2v5* | sco5v6*)
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
hardcode_libdir_separator=':'
;;
uts4*)
hardcode_libdir_flag_spec='-L$libdir'
;;
*)
ld_shlibs=no
;;
esac
fi
# Check dynamic linker characteristics
# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
# only about the one the linker finds when passed -lNAME. This is the last
# element of library_names_spec in libtool.m4, or possibly two of them if the
# linker has special search rules.
library_names_spec= # the last element of library_names_spec in libtool.m4
libname_spec='lib$name'
case "$host_os" in
aix3*)
library_names_spec='$libname.a'
;;
aix[4-9]*)
library_names_spec='$libname$shrext'
;;
amigaos*)
library_names_spec='$libname.a'
;;
beos*)
library_names_spec='$libname$shrext'
;;
bsdi[45]*)
library_names_spec='$libname$shrext'
;;
cygwin* | mingw* | pw32* | cegcc*)
shrext=.dll
library_names_spec='$libname.dll.a $libname.lib'
;;
darwin* | rhapsody*)
shrext=.dylib
library_names_spec='$libname$shrext'
;;
dgux*)
library_names_spec='$libname$shrext'
;;
freebsd1*)
;;
freebsd* | dragonfly*)
case "$host_os" in
freebsd[123]*)
library_names_spec='$libname$shrext$versuffix' ;;
*)
library_names_spec='$libname$shrext' ;;
esac
;;
gnu*)
library_names_spec='$libname$shrext'
;;
hpux9* | hpux10* | hpux11*)
case $host_cpu in
ia64*)
shrext=.so
;;
hppa*64*)
shrext=.sl
;;
*)
shrext=.sl
;;
esac
library_names_spec='$libname$shrext'
;;
interix[3-9]*)
library_names_spec='$libname$shrext'
;;
irix5* | irix6* | nonstopux*)
library_names_spec='$libname$shrext'
case "$host_os" in
irix5* | nonstopux*)
libsuff= shlibsuff=
;;
*)
case $LD in
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
*) libsuff= shlibsuff= ;;
esac
;;
esac
;;
linux*oldld* | linux*aout* | linux*coff*)
;;
linux* | k*bsd*-gnu)
library_names_spec='$libname$shrext'
;;
knetbsd*-gnu)
library_names_spec='$libname$shrext'
;;
netbsd*)
library_names_spec='$libname$shrext'
;;
newsos6)
library_names_spec='$libname$shrext'
;;
nto-qnx*)
library_names_spec='$libname$shrext'
;;
openbsd*)
library_names_spec='$libname$shrext$versuffix'
;;
os2*)
libname_spec='$name'
shrext=.dll
library_names_spec='$libname.a'
;;
osf3* | osf4* | osf5*)
library_names_spec='$libname$shrext'
;;
rdos*)
;;
solaris*)
library_names_spec='$libname$shrext'
;;
sunos4*)
library_names_spec='$libname$shrext$versuffix'
;;
sysv4 | sysv4.3*)
library_names_spec='$libname$shrext'
;;
sysv4*MP*)
library_names_spec='$libname$shrext'
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
library_names_spec='$libname$shrext'
;;
uts4*)
library_names_spec='$libname$shrext'
;;
esac
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
# How to pass a linker flag through the compiler.
wl="$escaped_wl"
# Static library suffix (normally "a").
libext="$libext"
# Shared library suffix (normally "so").
shlibext="$shlibext"
# Format of library name prefix.
libname_spec="$escaped_libname_spec"
# Library names that the linker finds when passed -lNAME.
library_names_spec="$escaped_library_names_spec"
# Flag to hardcode \$libdir into a binary during linking.
# This must work even if \$libdir does not exist.
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
# Whether we need a single -rpath flag with a separated argument.
hardcode_libdir_separator="$hardcode_libdir_separator"
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
# resulting binary.
hardcode_direct="$hardcode_direct"
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
# resulting binary.
hardcode_minus_L="$hardcode_minus_L"
EOF
-3757
View File
File diff suppressed because it is too large. Load diff
+2760
View File
File diff suppressed because it is too large. Load diff
-2
View File
@@ -3,5 +3,3 @@
/config
/.cvsignore
/*.pc
/gdb/mono-sgen-gdb.py
/mono-sgen-gdb.py
-1
View File
@@ -1 +0,0 @@
/Compat.browser -crlf
-15
View File
@@ -1,15 +0,0 @@
2010-05-17 Zoltan Varga <[email protected]>
* mono-2.pc.in (Libs): Remove glib dependencies.
2010-05-07 Zoltan Varga <[email protected]>
* mono-2.pc (Requires): Remove glib dependencies.
2010-04-02 Jb Evain <[email protected]>
* dotnet35.pc.in: add System.Data.Services.dll.
2010-03-08 Rodrigo Kumpera <[email protected]>
* mono.supp: Add hazard pointers supressions.
+21 -21
View File
@@ -1,40 +1,40 @@
SUBDIRS = net_2_0 net_4_0 net_4_5
SUBDIRS = net_1_1 net_2_0
if INSTALL_4_0
SUBDIRS += net_4_0
endif
monodir = $(sysconfdir)/mono
EXTRA_DIST = \
config.in \
browscap.ini mono.supp mono.d README ChangeLog \
mono.pc.in mono-2.pc.in monosgen-2.pc.in mint.pc.in dotnet.pc.in dotnet35.pc.in wcf.pc.in monodoc.pc.in \
browscap.ini mono.supp mono.d README \
mono.pc.in mint.pc.in dotnet.pc.in dotnet35.pc.in wcf.pc.in monodoc.pc.in \
mono-nunit.pc.in mono-cairo.pc.in mono-options.pc.in cecil.pc.in \
mono-lineeditor.pc.in system.web.extensions_1.0.pc.in system.web.extensions.design_1.0.pc.in\
dtrace-prelink.sh system.web.mvc.pc.in system.web.mvc2.pc.in system.web.mvc3.pc.in aspnetwebstack.pc.in \
reactive.pc.in xbuild12.pc \
net_1_1/machine.config \
gdb/mono-gdb.py \
gdb/gdb-python.diff
dtrace-prelink.sh mono.web.pc.in system.web.mvc.pc.in \
gdb/mono-gdb.py
pkgconfigdir = $(libdir)/pkgconfig
if SUPPORT_SGEN
SGENPCFILE=monosgen-2.pc
if JIT_SUPPORTED
if INTERP_SUPPORTED
pkgconfig_DATA= mono.pc mint.pc dotnet.pc dotnet35.pc wcf.pc mono-nunit.pc mono-cairo.pc mono-options.pc cecil.pc monodoc.pc mono-lineeditor.pc system.web.extensions_1.0.pc \
system.web.extensions.design_1.0.pc mono.web.pc system.web.mvc.pc
else
SGENPCFILE=
pkgconfig_DATA= mono.pc dotnet.pc dotnet35.pc wcf.pc mono-nunit.pc mono-cairo.pc mono-options.pc cecil.pc monodoc.pc mono-lineeditor.pc system.web.extensions_1.0.pc \
system.web.extensions.design_1.0.pc mono.web.pc system.web.mvc.pc
endif
else
pkgconfig_DATA= mint.pc mono-nunit.pc mono-cairo.pc mono-options.pc cecil.pc monodoc.pc mono-lineeditor.pc
endif
pkgconfig_DATA= mono.pc mono-2.pc dotnet.pc dotnet35.pc wcf.pc mono-nunit.pc mono-cairo.pc mono-options.pc cecil.pc monodoc.pc mono-lineeditor.pc system.web.extensions_1.0.pc \
system.web.extensions.design_1.0.pc system.web.mvc.pc system.web.mvc2.pc system.web.mvc3.pc aspnetwebstack.pc reactive.pc xbuild12.pc $(SGENPCFILE)
DISTCLEANFILES= mono-2.pc mono.pc mint.pc dotnet.pc dotnet35.pc wcf.pc mono-nunit.pc mono-cairo.pc mono-options.pc cecil.pc monodoc.pc mono-lineeditor.pc system.web.extensions_1.0.pc \
system.web.extensions.design_1.0.pc system.web.mvc.pc system.web.mvc2.pc system.web.mvc3.pc aspnetwebstack.pc reactive.pc $(SGENPCFILE) mono-sgen-gdb.py
DISTCLEANFILES= mono.pc mint.pc dotnet.pc dotnet35.pc wcf.pc mono-nunit.pc mono-cairo.pc mono-options.pc cecil.pc monodoc.pc mono-lineeditor.pc system.web.extensions_1.0.pc \
system.web.extensions.design_1.0.pc mono.web.pc system.web.mvc.pc
mono_DATA = config \
browscap.ini
gdbdir = $(bindir)
mono-sgen-gdb.py: gdb/mono-gdb.py
cp $< $@
gdb_DATA = gdb/mono-gdb.py mono-sgen-gdb.py
gdb_DATA = gdb/mono-gdb.py
-4
View File
@@ -1,4 +0,0 @@
Name: AspNetWebStack
Description: References Microsoft ASP.NET Web Stack
Version: @VERSION@
Libs: -r:@prefix@/lib/mono/gac/System.Web.Razor/2.0.0.0__31bf3856ad364e35/System.Web.Razor.dll -r:@prefix@/lib/mono/gac/System.Web.Http/4.0.0.0__31bf3856ad364e35/System.Web.Http.dll -r:@prefix@/lib/mono/gac/System.Web.WebPages/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.dll -r:@prefix@/lib/mono/gac/System.Web.WebPages.Razor/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.Razor.dll -r:@prefix@/lib/mono/gac/System.Web.WebPages.Deployment/2.0.0.0__31bf3856ad364e35/System.Web.WebPages.Deployment.dll
+1 -1
View File
@@ -1,5 +1,5 @@
assemblies_dir=@prefix@/lib/mono
Libraries=${assemblies_dir}/gac/Mono.Cecil/0.9.5.0__0738eb9f132ed756/Mono.Cecil.dll
Libraries=${assemblies_dir}/gac/Mono.Cecil/0.6.9.0__0738eb9f132ed756/Mono.Cecil.dll
Name: Mono Internal -- Do not use.
Description: Mono Internal Libraries -- Do not use
+1 -10
View File
@@ -10,27 +10,18 @@
<dllmap dll="i:odbc32.dll" target="libiodbc.dylib" os="osx"/>
<dllmap dll="oci" target="libclntsh@libsuffix@" os="!windows"/>
<dllmap dll="db2cli" target="libdb2_36@libsuffix@" os="!windows"/>
<dllmap dll="MonoPosixHelper" target="@prefix@/@reloc_libdir@/libMonoPosixHelper@libsuffix@" os="!windows" />
<dllmap dll="MonoPosixHelper" target="libMonoPosixHelper@libsuffix@" os="!windows" />
<dllmap dll="i:msvcrt" target="@LIBC@" os="!windows"/>
<dllmap dll="i:msvcrt.dll" target="@LIBC@" os="!windows"/>
<dllmap dll="sqlite" target="@SQLITE@" os="!windows"/>
<dllmap dll="sqlite3" target="@SQLITE3@" os="!windows"/>
<dllmap dll="libX11" target="@X11@" os="!windows" />
<dllmap dll="libgdk-x11-2.0" target="@GDKX11@" os="!windows"/>
<dllmap dll="libgtk-x11-2.0" target="@GTKX11@" os="!windows"/>
<dllmap dll="libXinerama" target="@XINERAMA@" os="!windows" />
<dllmap dll="libcairo-2.dll" target="libcairo.so.2" os="!windows"/>
<dllmap dll="libcairo-2.dll" target="libcairo.2.dylib" os="osx"/>
<dllmap dll="libcups" target="libcups.so.2" os="!windows"/>
<dllmap dll="libcups" target="libcups.dylib" os="osx"/>
<dllmap dll="i:kernel32.dll">
<dllentry dll="__Internal" name="CopyMemory" target="mono_win32_compat_CopyMemory"/>
<dllentry dll="__Internal" name="FillMemory" target="mono_win32_compat_FillMemory"/>
<dllentry dll="__Internal" name="MoveMemory" target="mono_win32_compat_MoveMemory"/>
<dllentry dll="__Internal" name="ZeroMemory" target="mono_win32_compat_ZeroMemory"/>
</dllmap>
<dllmap dll="gdiplus" target="@libgdiplus_install_loc@" os="!windows"/>
<dllmap dll="gdiplus.dll" target="@libgdiplus_install_loc@" os="!windows"/>
<dllmap dll="gdi32" target="@libgdiplus_install_loc@" os="!windows"/>
<dllmap dll="gdi32.dll" target="@libgdiplus_install_loc@" os="!windows"/>
</configuration>
+1 -1
View File
@@ -2,4 +2,4 @@
Name: Standard libraries in a .NET setup
Description: References all the standard .NET libraries for compilation
Version: @VERSION@
Libs: -r:Accessibility.dll -r:cscompmgd.dll -r:Microsoft.VisualC.dll -r:System.Configuration.Install.dll -r:System.Data.dll -r:System.Data.OracleClient.dll -r:System.Design.dll -r:System.DirectoryServices.dll -r:System.dll -r:System.Drawing.Design.dll -r:System.Drawing.dll -r:System.EnterpriseServices.dll -r:System.Management.dll -r:System.Messaging.dll -r:System.Runtime.Remoting.dll -r:System.Runtime.Serialization.Formatters.Soap.dll -r:System.Security.dll -r:System.ServiceProcess.dll -r:System.Web.dll -r:System.Web.Services.dll -r:System.Windows.Forms.dll -r:System.Xml.dll -r:System.Xml.Linq.dll
Libs: -r:Accessibility.dll -r:cscompmgd.dll -r:Microsoft.JScript.dll -r:Microsoft.VisualC.dll -r:Microsoft.Vsa.dll -r:System.Configuration.Install.dll -r:System.Data.dll -r:System.Data.OracleClient.dll -r:System.Design.dll -r:System.DirectoryServices.dll -r:System.dll -r:System.Drawing.Design.dll -r:System.Drawing.dll -r:System.EnterpriseServices.dll -r:System.Management.dll -r:System.Messaging.dll -r:System.Runtime.Remoting.dll -r:System.Runtime.Serialization.Formatters.Soap.dll -r:System.Security.dll -r:System.ServiceProcess.dll -r:System.Web.dll -r:System.Web.Services.dll -r:System.Windows.Forms.dll -r:System.Xml.dll
+1 -1
View File
@@ -2,4 +2,4 @@
Name: Standard libraries in a .NET setup
Description: References all the standard .NET libraries for compilation (.NET Framework 3.5 compatibility)
Version: @VERSION@
Libs: -r:Accessibility.dll -r:cscompmgd.dll -r:Microsoft.VisualC.dll -r:System.Configuration.Install.dll -r:System.Data.dll -r:System.Data.OracleClient.dll -r:System.Design.dll -r:System.DirectoryServices.dll -r:System.dll -r:System.Drawing.Design.dll -r:System.Drawing.dll -r:System.EnterpriseServices.dll -r:System.Management.dll -r:System.Messaging.dll -r:System.Runtime.Remoting.dll -r:System.Runtime.Serialization.Formatters.Soap.dll -r:System.Security.dll -r:System.ServiceProcess.dll -r:System.Web.dll -r:System.Web.Services.dll -r:System.Windows.Forms.dll -r:System.Xml.dll -r:System.Configuration.dll -r:System.Core.dll -r:System.Xml.Linq.dll -r:System.Data.DataSetExtensions.dll -r:System.Data.Linq.dll -r:System.Data.Services.dll -r:System.Web.Abstractions.dll -r:System.Web.Routing.dll -r:System.Web.DynamicData.dll -r:System.ComponentModel.DataAnnotations.dll
Libs: -r:Accessibility.dll -r:cscompmgd.dll -r:Microsoft.JScript.dll -r:Microsoft.VisualC.dll -r:Microsoft.Vsa.dll -r:System.Configuration.Install.dll -r:System.Data.dll -r:System.Data.OracleClient.dll -r:System.Design.dll -r:System.DirectoryServices.dll -r:System.dll -r:System.Drawing.Design.dll -r:System.Drawing.dll -r:System.EnterpriseServices.dll -r:System.Management.dll -r:System.Messaging.dll -r:System.Runtime.Remoting.dll -r:System.Runtime.Serialization.Formatters.Soap.dll -r:System.Security.dll -r:System.ServiceProcess.dll -r:System.Web.dll -r:System.Web.Services.dll -r:System.Windows.Forms.dll -r:System.Xml.dll -r:System.Configuration.dll -r:System.Core.dll -r:System.Xml.Linq.dll -r:System.Data.DataSetExtensions.dll -r:System.Data.Linq.dll -r:System.Web.Abstractions.dll -r:System.Web.Routing.dll -r:System.Web.DynamicData.dll -r:System.ComponentModel.DataAnnotations.dll
+20 -21
View File
@@ -15,7 +15,6 @@
# When attaching to a mono process, make sure you are in the same directory.
#
from __future__ import print_function
import os
class StringPrinter:
@@ -36,7 +35,7 @@ class StringPrinter:
while i < len:
val = (chars.cast(gdb.lookup_type ("gint64")) + (i * 2)).cast(gdb.lookup_type ("gunichar2").pointer ()).dereference ()
if val >= 256:
c = "\u%X".format (val)
c = "\u%X" % val
else:
c = chr (val)
res.append (c)
@@ -53,7 +52,7 @@ def stringify_class_name(ns, name):
if ns == "":
return name
else:
return "%s.%s".format (ns, name)
return "%s.%s" % (ns, name)
class ArrayPrinter:
"Print a C# array"
@@ -66,7 +65,7 @@ class ArrayPrinter:
def to_string(self):
obj = self.val.cast (gdb.lookup_type ("MonoArray").pointer ()).dereference ()
length = obj ['max_length']
return "%s [%d]".format (stringify_class_name (self.class_ns, self.class_name [0:len (self.class_name) - 2]), int (length))
return "%s [%d]" % (stringify_class_name (self.class_ns, self.class_name [0:len(self.class_name) - 2]), int(length))
class ObjectPrinter:
"Print a C# object"
@@ -96,7 +95,7 @@ class ObjectPrinter:
return (field.name, self.obj [field.name])
except:
# Superclass
return (field.name, self.obj.cast (gdb.lookup_type ("%s".format (field.name))))
return (field.name, self.obj.cast (gdb.lookup_type ("%s" % (field.name))))
def children(self):
# FIXME: It would be easier if gdb.Value would support iteration itself
@@ -109,11 +108,11 @@ class ObjectPrinter:
class_name = obj ['vtable'].dereference ()['klass'].dereference ()['name'].string ()
if class_name [-2:len(class_name)] == "[]":
return {}.__iter__ ()
gdb_type = gdb.lookup_type ("struct %s_%s".format (class_ns.replace (".", "_"), class_name))
gdb_type = gdb.lookup_type ("struct %s_%s" % (class_ns.replace (".", "_"), class_name))
return self._iterator(obj.cast (gdb_type))
except:
print (sys.exc_info ()[0])
print (sys.exc_info ()[1])
print sys.exc_info ()[0]
print sys.exc_info ()[1]
return {}.__iter__ ()
def to_string(self):
@@ -129,16 +128,16 @@ class ObjectPrinter:
return ArrayPrinter (self.val,class_ns,class_name).to_string ()
if class_ns != "":
try:
gdb_type = gdb.lookup_type ("struct %s.%s".format (class_ns, class_name))
gdb_type = gdb.lookup_type ("struct %s.%s" % (class_ns, class_name))
except:
# Maybe there is no debug info for that type
return "%s.%s".format (class_ns, class_name)
return "%s.%s" % (class_ns, class_name)
#return obj.cast (gdb_type)
return "%s.%s".format (class_ns, class_name)
return "%s.%s" % (class_ns, class_name)
return class_name
except:
print (sys.exc_info ()[0])
print (sys.exc_info ()[1])
print sys.exc_info ()[0]
print sys.exc_info ()[1]
# FIXME: This can happen because we don't have liveness information
return self.val.cast (gdb.lookup_type ("guint64"))
@@ -154,9 +153,9 @@ class MonoMethodPrinter:
val = self.val.dereference ()
klass = val ["klass"].dereference ()
class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
return "\"%s:%s ()\"".format (class_name, val ["name"].string ())
return "\"%s:%s ()\"" % (class_name, val ["name"].string ())
# This returns more info but requires calling into the inferior
#return "\"%s\"".format (gdb.parse_and_eval ("mono_method_full_name (%s, 1)".format (str (int (self.val.cast (gdb.lookup_type ("guint64")))))).string ())
#return "\"%s\"" % (gdb.parse_and_eval ("mono_method_full_name (%s, 1)" % (str (int (self.val.cast (gdb.lookup_type ("guint64")))))).string ())
class MonoClassPrinter:
"Print a MonoClass structure"
@@ -169,9 +168,9 @@ class MonoClassPrinter:
return "0x0"
klass = self.val.dereference ()
class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
return "\"%s\"".format (class_name)
return "\"%s\"" % (class_name)
# This returns more info but requires calling into the inferior
#return "\"%s\"".format (gdb.parse_and_eval ("mono_type_full_name (&((MonoClass*)%s)->byval_arg)".format (str (int ((self.val).cast (gdb.lookup_type ("guint64")))))))
#return "\"%s\"" % (gdb.parse_and_eval ("mono_type_full_name (&((MonoClass*)%s)->byval_arg)" % (str (int ((self.val).cast (gdb.lookup_type ("guint64")))))))
def lookup_pretty_printer(val):
t = str (val.type)
@@ -217,9 +216,9 @@ class MonoSupport(object):
new_size = os.stat ("xdb.s").st_size
if new_size > self.s_size:
sofile = "xdb.so"
gdb.execute ("shell as -o xdb.o xdb.s && ld -shared -o %s xdb.o".format (sofile))
gdb.execute ("shell as -o xdb.o xdb.s && ld -shared -o %s xdb.o" % sofile)
# FIXME: This prints messages which couldn't be turned off
gdb.execute ("add-symbol-file %s 0".format (sofile))
gdb.execute ("add-symbol-file %s 0" % sofile)
self.s_size = new_size
class RunHook (gdb.Command):
@@ -230,7 +229,7 @@ class RunHook (gdb.Command):
def invoke(self, arg, from_tty):
mono_support.run_hook ()
print ("Mono support loaded.")
print "Mono support loaded."
mono_support = MonoSupport ()
@@ -245,4 +244,4 @@ exec_file = gdb.current_objfile ().filename
if os.stat (exec_file).st_size != os.lstat (exec_file).st_size:
exec_file = os.readlink (exec_file)
exec_dir = os.path.dirname (exec_file)
gdb.execute ("source %s/%s-gdbinit".format (exec_dir, os.path.basename (exec_file)))
gdb.execute ("source %s/%s-gdbinit" % (exec_dir, os.path.basename (exec_file)))
+2 -2
View File
@@ -3,8 +3,8 @@
import sys
gdb.execute ("file %s".format (sys.argv [0]))
gdb.execute ("r --break *:* %s".format (" ".join (sys.argv [1:len (sys.argv)])))
gdb.execute ("file %s" % sys.argv [0])
gdb.execute ("r --break *:* %s" % " ".join (sys.argv[1:len(sys.argv)]))
while True:
try:
-4
View File
@@ -1,7 +1,3 @@
2010-06-28 Zoltan Varga <[email protected]>
* mono-gdb.py: Add pretty printers for more runtime data structures.
2009-10-13 Zoltan Varga <[email protected]>
* mono-gdb.py: Add an 'xdb' command to flush the debugging info.
+19 -164
View File
@@ -10,7 +10,6 @@
# - run mono under gdb, or attach to a mono process started with --debug=gdb using gdb.
#
from __future__ import print_function
import os
class StringPrinter:
@@ -31,7 +30,7 @@ class StringPrinter:
while i < len:
val = (chars.cast(gdb.lookup_type ("gint64")) + (i * 2)).cast(gdb.lookup_type ("gunichar2").pointer ()).dereference ()
if val >= 256:
c = "\u%X".format (val)
c = "\u%X" % val
else:
c = chr (val)
res.append (c)
@@ -48,7 +47,7 @@ def stringify_class_name(ns, name):
if ns == "":
return name
else:
return "%s.%s".format (ns, name)
return "%s.%s" % (ns, name)
class ArrayPrinter:
"Print a C# array"
@@ -61,7 +60,7 @@ class ArrayPrinter:
def to_string(self):
obj = self.val.cast (gdb.lookup_type ("MonoArray").pointer ()).dereference ()
length = obj ['max_length']
return "%s [%d]".format (stringify_class_name (self.class_ns, self.class_name [0:len(self.class_name) - 2]), int(length))
return "%s [%d]" % (stringify_class_name (self.class_ns, self.class_name [0:len(self.class_name) - 2]), int(length))
class ObjectPrinter:
"Print a C# object"
@@ -91,7 +90,7 @@ class ObjectPrinter:
return (field.name, self.obj [field.name])
except:
# Superclass
return (field.name, self.obj.cast (gdb.lookup_type ("%s".format (field.name))))
return (field.name, self.obj.cast (gdb.lookup_type ("%s" % (field.name))))
def children(self):
# FIXME: It would be easier if gdb.Value would support iteration itself
@@ -104,14 +103,11 @@ class ObjectPrinter:
class_name = obj ['vtable'].dereference ()['klass'].dereference ()['name'].string ()
if class_name [-2:len(class_name)] == "[]":
return {}.__iter__ ()
try:
gdb_type = gdb.lookup_type ("struct %s_%s".format (class_ns.replace (".", "_"), class_name))
return self._iterator(obj.cast (gdb_type))
except:
return {}.__iter__ ()
gdb_type = gdb.lookup_type ("struct %s_%s" % (class_ns.replace (".", "_"), class_name))
return self._iterator(obj.cast (gdb_type))
except:
print (sys.exc_info ()[0])
print (sys.exc_info ()[1])
print sys.exc_info ()[0]
print sys.exc_info ()[1]
return {}.__iter__ ()
def to_string(self):
@@ -127,16 +123,16 @@ class ObjectPrinter:
return ArrayPrinter (self.val,class_ns,class_name).to_string ()
if class_ns != "":
try:
gdb_type = gdb.lookup_type ("struct %s.%s".format (class_ns, class_name))
gdb_type = gdb.lookup_type ("struct %s.%s" % (class_ns, class_name))
except:
# Maybe there is no debug info for that type
return "%s.%s".format (class_ns, class_name)
return "%s.%s" % (class_ns, class_name)
#return obj.cast (gdb_type)
return "%s.%s".format (class_ns, class_name)
return "%s.%s" % (class_ns, class_name)
return class_name
except:
print (sys.exc_info ()[0])
print (sys.exc_info ()[1])
print sys.exc_info ()[0]
print sys.exc_info ()[1]
# FIXME: This can happen because we don't have liveness information
return self.val.cast (gdb.lookup_type ("guint64"))
@@ -152,9 +148,9 @@ class MonoMethodPrinter:
val = self.val.dereference ()
klass = val ["klass"].dereference ()
class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
return "\"%s:%s ()\"".format (class_name, val ["name"].string ())
return "\"%s:%s ()\"" % (class_name, val ["name"].string ())
# This returns more info but requires calling into the inferior
#return "\"%s\"".format (gdb.parse_and_eval ("mono_method_full_name (%s, 1)".format (str (int (self.val.cast (gdb.lookup_type ("guint64")))))).string ())
#return "\"%s\"" % (gdb.parse_and_eval ("mono_method_full_name (%s, 1)" % (str (int (self.val.cast (gdb.lookup_type ("guint64")))))).string ())
class MonoClassPrinter:
"Print a MonoClass structure"
@@ -162,143 +158,14 @@ class MonoClassPrinter:
def __init__(self, val):
self.val = val
def to_string_inner(self, add_quotes):
def to_string(self):
if int(self.val.cast (gdb.lookup_type ("guint64"))) == 0:
return "0x0"
klass = self.val.dereference ()
class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
if klass ["generic_class"].cast (gdb.lookup_type ("guint64")) != 0:
class_name = "%s<%s>".format (class_name, str (klass ["generic_class"]["context"]["class_inst"]))
if add_quotes:
return "\"%s\"".format (class_name)
else:
return class_name
return "\"%s\"" % (class_name)
# This returns more info but requires calling into the inferior
#return "\"%s\"".format (gdb.parse_and_eval ("mono_type_full_name (&((MonoClass*)%s)->byval_arg)".format (str (int ((self.val).cast (gdb.lookup_type ("guint64")))))))
def to_string(self):
try:
return self.to_string_inner (True)
except:
#print (sys.exc_info ()[0])
#print (sys.exc_info ()[1])
return str(self.val.cast (gdb.lookup_type ("gpointer")))
class MonoGenericInstPrinter:
"Print a MonoGenericInst structure"
def __init__(self, val):
self.val = val
def to_string(self):
if int(self.val.cast (gdb.lookup_type ("guint64"))) == 0:
return "0x0"
inst = self.val.dereference ()
inst_len = inst ["type_argc"]
inst_args = inst ["type_argv"]
inst_str = ""
for i in range(0, inst_len):
print (inst_args)
type_printer = MonoTypePrinter (inst_args [i])
if i > 0:
inst_str = inst_str + ", "
inst_str = inst_str + type_printer.to_string ()
return inst_str
class MonoGenericClassPrinter:
"Print a MonoGenericClass structure"
def __init__(self, val):
self.val = val
def to_string_inner(self):
gclass = self.val.dereference ()
container_str = str(gclass ["container_class"])
class_inst = gclass ["context"]["class_inst"]
class_inst_str = ""
if int(class_inst.cast (gdb.lookup_type ("guint64"))) != 0:
class_inst_str = str(class_inst)
method_inst = gclass ["context"]["method_inst"]
method_inst_str = ""
if int(method_inst.cast (gdb.lookup_type ("guint64"))) != 0:
method_inst_str = str(method_inst)
return "%s, [%s], [%s]>".format (container_str, class_inst_str, method_inst_str)
def to_string(self):
try:
return self.to_string_inner ()
except:
#print (sys.exc_info ()[0])
#print (sys.exc_info ()[1])
return str(self.val.cast (gdb.lookup_type ("gpointer")))
class MonoTypePrinter:
"Print a MonoType structure"
def __init__(self, val):
self.val = val
def to_string_inner(self, csharp):
try:
t = self.val.dereference ()
kind = str (t ["type"]).replace ("MONO_TYPE_", "").lower ()
info = ""
if kind == "class":
p = MonoClassPrinter(t ["data"]["klass"])
info = p.to_string ()
elif kind == "genericinst":
info = str(t ["data"]["generic_class"])
if info != "":
return "{%s, %s}".format (kind, info)
else:
return "{%s}".format (kind)
except:
#print (sys.exc_info ()[0])
#print (sys.exc_info ()[1])
return str(self.val.cast (gdb.lookup_type ("gpointer")))
def to_string(self):
return self.to_string_inner (False)
class MonoMethodRgctxPrinter:
"Print a MonoMethodRgctx structure"
def __init__(self, val):
self.val = val
def to_string(self):
rgctx = self.val.dereference ()
klass = rgctx ["class_vtable"].dereference () ["klass"]
klass_printer = MonoClassPrinter (klass)
inst = rgctx ["method_inst"].dereference ()
inst_len = inst ["type_argc"]
inst_args = inst ["type_argv"]
inst_str = ""
for i in range(0, inst_len):
print (inst_args)
type_printer = MonoTypePrinter (inst_args [i])
if i > 0:
inst_str = inst_str + ", "
inst_str = inst_str + type_printer.to_string ()
return "MRGCTX[%s, [%s]]".format (klass_printer.to_string(), inst_str)
class MonoVTablePrinter:
"Print a MonoVTable structure"
def __init__(self, val):
self.val = val
def to_string(self):
if int(self.val.cast (gdb.lookup_type ("guint64"))) == 0:
return "0x0"
vtable = self.val.dereference ()
klass = vtable ["klass"]
klass_printer = MonoClassPrinter (klass)
return "vtable(%s)".format (klass_printer.to_string ())
#return "\"%s\"" % (gdb.parse_and_eval ("mono_type_full_name (&((MonoClass*)%s)->byval_arg)" % (str (int ((self.val).cast (gdb.lookup_type ("guint64")))))))
def lookup_pretty_printer(val):
t = str (val.type)
@@ -308,22 +175,10 @@ def lookup_pretty_printer(val):
return ObjectPrinter (val)
if t == "string":
return StringPrinter (val)
if t == "MonoString *":
return StringPrinter (val)
if t == "MonoMethod *":
return MonoMethodPrinter (val)
if t == "MonoClass *":
return MonoClassPrinter (val)
if t == "MonoType *":
return MonoTypePrinter (val)
if t == "MonoGenericInst *":
return MonoGenericInstPrinter (val)
if t == "MonoGenericClass *":
return MonoGenericClassPrinter (val)
if t == "MonoMethodRuntimeGenericContext *":
return MonoMethodRgctxPrinter (val)
if t == "MonoVTable *":
return MonoVTablePrinter (val)
return None
def register_csharp_printers(obj):
@@ -349,6 +204,6 @@ XdbCommand ()
gdb.execute ("set environment MONO_XDEBUG gdb")
print ("Mono support loaded.")
print "Mono support loaded."
+2 -2
View File
@@ -3,8 +3,8 @@
import sys
gdb.execute ("file %s".format (sys.argv [0]))
gdb.execute ("r --break *:* %s".format (" ".join (sys.argv [1:len (sys.argv)])))
gdb.execute ("file %s" % sys.argv [0])
gdb.execute ("r --break *:* %s" % " ".join (sys.argv[1:len(sys.argv)]))
while True:
try:
+9 -51
View File
@@ -102,35 +102,15 @@ Global locks:
Adding global locks is not to be taken lightly.
The current lock hierarchy:
loader lock (global)
domain lock (complex)
domain jit lock (complex)
marshal lock
loader lock
domain lock
domain jit lock
simple locks
Examples:
You can take the loader lock without holding a domain lock.
You can take the domain load while holding the loader lock
You cannot take the loader lock if only the domain lock is held.
You cannot take a domain lock if the loader lock is held.
You cannot take a domain lock while holding the lock to another domain.
TODO:
We have a few known ok violation. We need a way to whitelist them.
Known ok issues:
ERROR: tried to acquire lock DomainLock at mono_domain_code_reserve_align while holding DomainLock at mono_class_create_runtime_vtable: Hierarchy violation.
This is triggered when building the vtable of a non-root domain and fetching a vtable trampoline for an offset that has not been built. We'll take the root
domain lock while holding the other one.
This is ok since we never allow locking to have in the other direction, IOW, the root-domain lock is one level down from the other domain-locks.
WARNING: tried to acquire lock ImageDataLock at mono_image_init_name_cache while holding ImageDataLock at mono_class_from_name
WARNING: tried to acquire lock ImageDataLock at mono_image_init_name_cache while holding ImageDataLock at mono_image_add_to_name_cache
Both of those happen when filling up the name_cache, as it needs to alloc image memory.
This one is fixable by spliting mono_image_init_name_cache into a locked and an unlocked variants and calling them appropriatedly.
*/
public enum Lock {
@@ -140,9 +120,6 @@ public enum Lock {
DomainLock,
DomainAssembliesLock,
DomainJitCodeHashLock,
IcallLock,
AssemblyBindingLock,
MarshalLock,
}
public class SimLock
@@ -162,7 +139,6 @@ public class SimLock
case Lock.DomainLock:
return 1;
case Lock.DomainJitCodeHashLock:
case Lock.MarshalLock:
return 2;
default:
return 3;
@@ -181,10 +157,6 @@ public class SimLock
get { return kind == Lock.LoaderLock; }
}
public bool IsResursiveLock {
get { return kind == Lock.LoaderLock || kind == Lock.DomainLock; }
}
/*locked is already owned by the thread, 'this' is the new one*/
bool Compare (SimThread thread, SimLock locked, out bool isWarning, out string msg)
{
@@ -304,11 +276,6 @@ public class Trace {
"mono_loader_unlock",
"mono_image_lock",
"mono_image_unlock",
"mono_icall_lock",
"mono_icall_unlock",
"add_record",
"mono_locks_lock_acquired",
"mono_locks_lock_released",
};
public Trace (string[] fields) {
@@ -359,10 +326,6 @@ public class Symbol : IComparable<Symbol>
public int CompareTo(Symbol other) {
return offset - other.offset;
}
public void AdjustSize (Symbol next) {
size = next.offset - this.offset;
}
}
public interface SymbolTable {
@@ -389,26 +352,21 @@ public class OsxSymbolTable : SymbolTable
string line;
while ((line = proc.StandardOutput.ReadLine ()) != null) {
string[] fields = line.Split(new char[] {' ', '\t'}, StringSplitOptions.RemoveEmptyEntries);
if (fields.Length < 7)
if (fields.Length < 4)
continue;
if (!fields [3].Equals ("FUN"))
if (!(fields [1].Equals ("g") || fields [1].Equals ("d")))
continue;
if (!fields [2].Equals ("*UND*"))
continue;
int offset = fields [0].ParseHex ();
string name = fields [6];
if (name.StartsWith ("_"))
name = name.Substring (1);
string name = fields [3];
if (offset != 0)
list.Add (new Symbol (offset, 0, name));
}
table = new Symbol [list.Count];
list.CopyTo (table, 0);
Array.Sort (table);
for (int i = 1; i < table.Length; ++i) {
table [i - 1].AdjustSize (table [i]);
}
}
public string Translate (int offset) {
-11
View File
@@ -1,11 +0,0 @@
prefix=${pcfiledir}/../..
exec_prefix=${pcfiledir}/../..
libdir=${prefix}/@reloc_libdir@
includedir=${prefix}/include/mono-@API_VER@
sysconfdir=@sysconfdir@
Name: Mono
Description: Mono Runtime
Version: @VERSION@
Libs: -L${libdir} @export_ldflags@ -lmono-@API_VER@ @libmono_ldflags@
Cflags: -I${includedir} @libmono_cflags@
+1 -1
View File
@@ -6,4 +6,4 @@ includedir=${prefix}/include
Name: Mono.Cairo
Description: Cairo bindings for Mono
Version: @VERSION@
Libs: -r:Mono.Cairo
Libs: -r:${prefix}/lib/mono/1.0/Mono.Cairo.dll
+1 -1
View File
@@ -6,4 +6,4 @@ libdir=${exec_prefix}/lib
Name: Mono NUnit
Description: Mono's version of NUnit
Version: @VERSION@
Libs: -r:${libdir}/mono/2.0/nunit.core.dll -r:${libdir}/mono/2.0/nunit.core.interfaces.dll -r:${libdir}/mono/2.0/nunit.core.extensions.dll -r:${libdir}/mono/2.0/nunit.framework.dll -r:${libdir}/mono/2.0/nunit.framework.extensions.dll -r:${libdir}/mono/2.0/nunit.mocks.dll -r:${libdir}/mono/2.0/nunit.util.dll -r:${libdir}/mono/2.0/nunit-console-runner.dll
Libs: -r:${libdir}/mono/1.0/nunit.core.dll -r:${libdir}/mono/1.0/nunit.core.interfaces.dll -r:${libdir}/mono/1.0/nunit.core.extensions.dll -r:${libdir}/mono/1.0/nunit.framework.dll -r:${libdir}/mono/1.0/nunit.framework.extensions.dll -r:${libdir}/mono/1.0/nunit.mocks.dll -r:${libdir}/mono/1.0/nunit.util.dll -r:${libdir}/mono/1.0/nunit-console-runner.dll
+1 -1
View File
@@ -4,4 +4,4 @@ Sources=${assemblies_dir}/Options.cs
Name: Mono.Options
Description: Command Line Parsing Library
Version: 0.2.3
Version: 0.2.1
-59
View File
@@ -18,65 +18,6 @@ provider mono {
/* Garbage Collector (GC) */
probe gc__begin (int generation);
probe gc__end (int generation);
probe gc__requested (int generation, uintptr_t requested_size, int wait_to_finish);
probe gc__checkpoint__1 (int generation);
probe gc__checkpoint__2 (int generation);
probe gc__checkpoint__3 (int generation);
probe gc__checkpoint__4 (int generation);
probe gc__checkpoint__5 (int generation);
probe gc__checkpoint__6 (int generation);
probe gc__checkpoint__7 (int generation);
probe gc__checkpoint__8 (int generation);
probe gc__checkpoint__9 (int generation);
probe gc__concurrent__start__begin (int generation);
probe gc__concurrent__start__end (int generation, long long num_major_objects_marked);
probe gc__concurrent__update__finish__begin (int generation, long long num_major_objects_marked);
probe gc__concurrent__update__end (int generation, long long num_major_objects_marked);
probe gc__concurrent__finish__end (int generation, long long num_major_objects_marked);
probe gc__sweep__begin (int generation, int full_sweep);
probe gc__sweep__end (int generation, int full_sweep);
probe gc__world__stop__begin ();
probe gc__world__stop__end ();
probe gc__world__restart__begin (int generation);
probe gc__world__restart__end (int generation);
probe gc__heap__alloc (uintptr_t addr, uintptr_t len);
probe gc__heap__free (uintptr_t addr, uintptr_t len);
probe gc__locked ();
probe gc__unlocked ();
probe gc__nursery__tlab__alloc (uintptr_t addr, uintptr_t len);
probe gc__nursery__obj__alloc (uintptr_t addr, uintptr_t size, char *ns_name, char *class_name);
probe gc__major__obj__alloc__large (uintptr_t addr, uintptr_t size, char *ns_name, char *class_name);
probe gc__major__obj__alloc__pinned (uintptr_t addr, uintptr_t size, char *ns_name, char *class_name);
probe gc__major__obj__alloc__degraded (uintptr_t addr, uintptr_t size, char *ns_name, char *class_name);
probe gc__major__obj__alloc__mature (uintptr_t addr, uintptr_t size, char *ns_name, char *class_name);
/* Can be nursery->nursery, nursery->major or major->major */
probe gc__obj__moved (uintptr_t dest, uintptr_t src, int dest_gen, int src_gen, uintptr_t size, char *ns_name, char *class_name);
probe gc__nursery__swept (uintptr_t addr, uintptr_t len);
probe gc__major__swept (uintptr_t addr, uintptr_t len);
probe gc__obj__pinned (uintptr_t addr, uintptr_t size, char *ns_name, char *class_name, int generation);
probe gc__finalize__enqueue (uintptr_t addr, uintptr_t size, char *ns_name, char *class_name, int generation, int is_critical);
probe gc__finalize__invoke (uintptr_t addr, uintptr_t size, char *ns_name, char *class_name);
probe gc__weak__update (uintptr_t ref_addr, uintptr_t old_addr, uintptr_t new_addr, uintptr_t size, char *ns_name, char *class_name, int track);
probe gc__global__remset__add (uintptr_t ref_addr, uintptr_t obj_addr, uintptr_t size, char *ns_name, char *class_name);
probe gc__obj__cemented (uintptr_t addr, uintptr_t size, char *ns_name, char *class_name);
probe gc__internal__alloc (uintptr_t addr, uintptr_t size, int type);
probe gc__internal__dealloc (uintptr_t add, uintptr_t size, int type);
};
#pragma D attributes Evolving/Evolving/Common provider mono provider
+3
View File
@@ -7,3 +7,6 @@ sysconfdir=@sysconfdir@
Name: Mono
Description: Mono Runtime
Version: @VERSION@
Requires: glib-2.0 gthread-2.0
Libs: -L${libdir} @export_ldflags@ -lmono @libmono_ldflags@
Cflags: -I${includedir} @libmono_cflags@
+1 -14
View File
@@ -37,17 +37,4 @@
fun:*
obj:*mono
}
{
mono - Invalid write of size 4 hazardous_pointer
Memcheck:Addr4
fun:get_hazardous_pointer
fun:*
obj:*mono
}
{
mono - Invalid write of size 4 jit_info_table_find
Memcheck:Addr4
fun:mono_jit_info_table_find
fun:*
obj:*mono
}
+4
View File
@@ -0,0 +1,4 @@
Name: Mono.Web
Description: Mono ASP.NET extension classes
Version: 2.0.0.0
Libs: -r:@prefix@/lib/mono/gac/Mono.Web/2.0.0.0__0738eb9f132ed756/Mono.Web.dll
-11
View File
@@ -1,11 +0,0 @@
prefix=${pcfiledir}/../..
exec_prefix=${pcfiledir}/../..
libdir=${prefix}/@reloc_libdir@
includedir=${prefix}/include/mono-@API_VER@
sysconfdir=@sysconfdir@
Name: Mono
Description: Mono Runtime
Version: @VERSION@
Libs: -L${libdir} @export_ldflags@ -lmonosgen-@API_VER@ @libmono_ldflags@
Cflags: -I${includedir} @libmono_cflags@
-6
View File
@@ -214,16 +214,12 @@
<cryptoNameMapping>
<cryptoClasses>
<cryptoClass monoMD2="Mono.Security.Cryptography.MD2Managed, Mono.Security, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
<cryptoClass monoMD4="Mono.Security.Cryptography.MD4Managed, Mono.Security, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
</cryptoClasses>
<nameEntry name="MD2" class="monoMD2" />
<nameEntry name="MD4" class="monoMD4" />
</cryptoNameMapping>
<oidMap>
<oidEntry OID="1.2.840.113549.2.2" name="MD2" />
<oidEntry OID="1.2.840.113549.2.2" name="Mono.Security.Cryptography.MD2Managed" />
<oidEntry OID="1.2.840.113549.2.4" name="MD4" />
<oidEntry OID="1.2.840.113549.2.4" name="Mono.Security.Cryptography.MD4Managed" />
</oidMap>
</cryptographySettings>
</mscorlib>
@@ -240,8 +236,6 @@
<map Token="7c307b91aa13d208" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Silverlight 2.0 key -->
<map Token="7cec85d7bea7798e" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- XNA Framework key -->
<map Token="6d5c3888ef60e27d" PublicKey="0024000004800000940000000602000000240000525341310004000001000100f9a2641bac9847900d92a33d652ccc4e8b529360f908e7af53e57008b2a9a1938c32a160d47f795a23590557608d2c8d0c0e8846a052d070f9298281b8185343dbe5b479bd52de256f73c2a943e1a8a42065b5c918622dc14b1c0151dbd94d9a4543e7cd03e536b1b1d2d6d99af535d227ab9bdac76af9312a21d457bdf817e6" />
</pubTokenMapping>
</strongNames>
</configuration>
File renamed without changes.
File renamed without changes.
+2 -2
View File
@@ -1,6 +1,6 @@
monodir = $(sysconfdir)/mono/2.0/Browsers
EXTRA_DIST = ../../Browsers/Compat.browser
EXTRA_DIST = Compat.browser
mono_DATA = ../../Browsers/Compat.browser
mono_DATA = Compat.browser
+1 -6
View File
@@ -474,15 +474,10 @@ private CodeDomProvider GetProvider(string langId)
//
// Document generation
//
class UTF8StringWriter : StringWriter {
public override Encoding Encoding {
get { return Encoding.UTF8; }
}
}
string GenerateDocument ()
{
UTF8StringWriter sw = new UTF8StringWriter ();
StringWriter sw = new StringWriter ();
if (CurrentDocType == "wsdl")
descriptions [CurrentDocInd].Write (sw);
-10
View File
@@ -84,10 +84,6 @@
<section name="serviceHostingEnvironment" type="System.ServiceModel.Configuration.ServiceHostingEnvironmentSection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="services" type="System.ServiceModel.Configuration.ServicesSection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
<sectionGroup name="system.transactions" type="System.Transactions.Configuration.TransactionsSectionGroup, System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null">
<section name="defaultSettings" type="System.Transactions.Configuration.DefaultSettingsSection, System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null"/>
<section name="machineSettings" type="System.Transactions.Configuration.MachineSettingsSection, System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null" allowDefinition="MachineOnly" allowExeDefinition="MachineOnly"/>
</sectionGroup>
<section name="system.webServer" type="System.Configuration.IgnoreSection, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="uri" type="System.Configuration.UriSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</configSections>
@@ -197,16 +193,12 @@
<cryptoNameMapping>
<cryptoClasses>
<cryptoClass monoMD2="Mono.Security.Cryptography.MD2Managed, Mono.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
<cryptoClass monoMD4="Mono.Security.Cryptography.MD4Managed, Mono.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
</cryptoClasses>
<nameEntry name="MD2" class="monoMD2" />
<nameEntry name="MD4" class="monoMD4" />
</cryptoNameMapping>
<oidMap>
<oidEntry OID="1.2.840.113549.2.2" name="MD2" />
<oidEntry OID="1.2.840.113549.2.2" name="Mono.Security.Cryptography.MD2Managed" />
<oidEntry OID="1.2.840.113549.2.4" name="MD4" />
<oidEntry OID="1.2.840.113549.2.4" name="Mono.Security.Cryptography.MD4Managed" />
</oidMap>
</cryptographySettings>
</mscorlib>
@@ -223,8 +215,6 @@
<map Token="7c307b91aa13d208" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Silverlight 2.0 key -->
<map Token="7cec85d7bea7798e" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- XNA Framework key -->
<map Token="6d5c3888ef60e27d" PublicKey="0024000004800000940000000602000000240000525341310004000001000100f9a2641bac9847900d92a33d652ccc4e8b529360f908e7af53e57008b2a9a1938c32a160d47f795a23590557608d2c8d0c0e8846a052d070f9298281b8185343dbe5b479bd52de256f73c2a943e1a8a42065b5c918622dc14b1c0151dbd94d9a4543e7cd03e536b1b1d2d6d99af535d227ab9bdac76af9312a21d457bdf817e6" />
</pubTokenMapping>
</strongNames>
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<settingsMap>
<map sectionType="System.Web.Configuration.MembershipSection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.MembershipSectionMapper, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.MembershipSectionMapper, Mono.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"
platform="Unix">
<!-- The 'what' tag specifies which region of the section to modify. The 'value' attribute value is mapper-specific and is not defined here. It can be
@@ -24,7 +24,7 @@
</map>
<map sectionType="System.Web.Configuration.RoleManagerSection, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.RoleManagerSectionMapper, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.RoleManagerSectionMapper, Mono.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"
platform="Unix">
<!-- The 'what' tag specifies which region of the section to modify. The 'value' attribute value is mapper-specific and is not defined here. It can be
-2
View File
@@ -1,2 +0,0 @@
/Makefile
/Makefile.in
-2
View File
@@ -1,2 +0,0 @@
/Makefile
/Makefile.in
-6
View File
@@ -1,6 +0,0 @@
monodir = $(sysconfdir)/mono/4.0/Browsers
EXTRA_DIST = ../../Browsers/Compat.browser
mono_DATA = ../../Browsers/Compat.browser
File diff suppressed because it is too large. Load diff
+1 -3
View File
@@ -1,14 +1,12 @@
SUBDIRS = Browsers
SUBDIRS =
monodir = $(sysconfdir)/mono/4.0
EXTRA_DIST = machine.config \
web.config \
DefaultWsdlHelpGenerator.aspx \
settings.map
mono_DATA = machine.config \
web.config \
DefaultWsdlHelpGenerator.aspx \
settings.map
+9 -45
View File
@@ -62,17 +62,6 @@
</sectionGroup>
<section name="monoSettings" type="System.Web.Configuration.MonoSettingsSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</sectionGroup>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
<sectionGroup name="system.net" type="System.Net.Configuration.NetSectionGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="authenticationModules" type="System.Net.Configuration.AuthenticationModulesSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="connectionManagement" type="System.Net.Configuration.ConnectionManagementSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
@@ -85,28 +74,18 @@
<section name="webRequestModules" type="System.Net.Configuration.WebRequestModulesSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<sectionGroup name="system.serviceModel" type="System.ServiceModel.Configuration.ServiceModelSectionGroup, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="behaviors" type="System.ServiceModel.Configuration.BehaviorsSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="bindings" type="System.ServiceModel.Configuration.BindingsSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="client" type="System.ServiceModel.Configuration.ClientSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="commonBehaviors" type="System.ServiceModel.Configuration.CommonBehaviorsSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="diagnostics" type="System.ServiceModel.Configuration.DiagnosticSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="extensions" type="System.ServiceModel.Configuration.ExtensionsSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="serviceHostingEnvironment" type="System.ServiceModel.Configuration.ServiceHostingEnvironmentSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="services" type="System.ServiceModel.Configuration.ServicesSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="standardEndpoints" type="System.ServiceModel.Configuration.StandardEndpointsSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<section name="routing" type="System.ServiceModel.Routing.Configuration.RoutingSection, System.ServiceModel.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<section name="protocolMapping" type="System.ServiceModel.Configuration.ProtocolMappingSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</sectionGroup>
<sectionGroup name="system.transactions" type="System.Transactions.Configuration.TransactionsSectionGroup, System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null">
<section name="defaultSettings" type="System.Transactions.Configuration.DefaultSettingsSection, System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null"/>
<section name="machineSettings" type="System.Transactions.Configuration.MachineSettingsSection, System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null" allowDefinition="MachineOnly" allowExeDefinition="MachineOnly"/>
<sectionGroup name="system.serviceModel" type="System.ServiceModel.Configuration.ServiceModelSectionGroup, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="behaviors" type="System.ServiceModel.Configuration.BehaviorsSection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="bindings" type="System.ServiceModel.Configuration.BindingsSection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="client" type="System.ServiceModel.Configuration.ClientSection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="commonBehaviors" type="System.ServiceModel.Configuration.CommonBehaviorsSection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="diagnostics" type="System.ServiceModel.Configuration.DiagnosticSection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="extensions" type="System.ServiceModel.Configuration.ExtensionsSection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="serviceHostingEnvironment" type="System.ServiceModel.Configuration.ServiceHostingEnvironmentSection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="services" type="System.ServiceModel.Configuration.ServicesSection, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
<section name="system.webServer" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="uri" type="System.Configuration.UriSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<sectionGroup name="system.runtime.caching" type="System.Runtime.Caching.Configuration.CachingSectionGroup, System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<section name="memoryCache" type="System.Runtime.Caching.Configuration.MemoryCacheSection, System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
</sectionGroup>
</configSections>
<connectionStrings>
@@ -214,16 +193,12 @@
<cryptoNameMapping>
<cryptoClasses>
<cryptoClass monoMD2="Mono.Security.Cryptography.MD2Managed, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
<cryptoClass monoMD4="Mono.Security.Cryptography.MD4Managed, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
</cryptoClasses>
<nameEntry name="MD2" class="monoMD2" />
<nameEntry name="MD4" class="monoMD4" />
</cryptoNameMapping>
<oidMap>
<oidEntry OID="1.2.840.113549.2.2" name="MD2" />
<oidEntry OID="1.2.840.113549.2.2" name="Mono.Security.Cryptography.MD2Managed" />
<oidEntry OID="1.2.840.113549.2.4" name="MD4" />
<oidEntry OID="1.2.840.113549.2.4" name="Mono.Security.Cryptography.MD4Managed" />
</oidMap>
</cryptographySettings>
</mscorlib>
@@ -240,8 +215,6 @@
<map Token="7c307b91aa13d208" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Silverlight 2.0 key -->
<map Token="7cec85d7bea7798e" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- XNA Framework key -->
<map Token="6d5c3888ef60e27d" PublicKey="0024000004800000940000000602000000240000525341310004000001000100f9a2641bac9847900d92a33d652ccc4e8b529360f908e7af53e57008b2a9a1938c32a160d47f795a23590557608d2c8d0c0e8846a052d070f9298281b8185343dbe5b479bd52de256f73c2a943e1a8a42065b5c918622dc14b1c0151dbd94d9a4543e7cd03e536b1b1d2d6d99af535d227ab9bdac76af9312a21d457bdf817e6" />
</pubTokenMapping>
</strongNames>
@@ -294,15 +267,6 @@
<bindingExtensions>
<add name="webHttpBinding" type="System.ServiceModel.Configuration.WebHttpBindingCollectionElement, System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</bindingExtensions>
<endpointExtensions>
<add name="dynamicEndpoint" type="System.ServiceModel.Discovery.Configuration.DynamicEndpointCollectionElement, System.ServiceModel.Discovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="discoveryEndpoint" type="System.ServiceModel.Discovery.Configuration.DiscoveryEndpointCollectionElement, System.ServiceModel.Discovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="udpDiscoveryEndpoint" type="System.ServiceModel.Discovery.Configuration.UdpDiscoveryEndpointCollectionElement, System.ServiceModel.Discovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="announcementEndpoint" type="System.ServiceModel.Discovery.Configuration.AnnouncementEndpointCollectionElement, System.ServiceModel.Discovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="udpAnnouncementEndpoint" type="System.ServiceModel.Discovery.Configuration.UdpAnnouncementEndpointCollectionElement, System.ServiceModel.Discovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="webHttpEndpoint" type="System.ServiceModel.Configuration.WebHttpEndpointCollectionElement, System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="webScriptEndpoint" type="System.ServiceModel.Configuration.WebScriptEndpointCollectionElement, System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</endpointExtensions>
</extensions>
</system.serviceModel>
</configuration>
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<settingsMap>
<map sectionType="System.Web.Configuration.MembershipSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.MembershipSectionMapper, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.MembershipSectionMapper, Mono.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"
platform="Unix">
<!-- The 'what' tag specifies which region of the section to modify. The 'value' attribute value is mapper-specific and is not defined here. It can be
@@ -24,7 +24,7 @@
</map>
<map sectionType="System.Web.Configuration.RoleManagerSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.RoleManagerSectionMapper, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.RoleManagerSectionMapper, Mono.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"
platform="Unix">
<!-- The 'what' tag specifies which region of the section to modify. The 'value' attribute value is mapper-specific and is not defined here. It can be
+43 -142
View File
@@ -2,20 +2,6 @@
<configuration>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v4.0"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v4.0"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<system.web>
<monoSettings>
<compilersCompatibility>
@@ -28,86 +14,41 @@
<allow users="*" />
</authorization>
<httpHandlers>
<add path="trace.axd" verb="*" type="System.Web.Handlers.TraceHandler" validate="True" />
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
<add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False" />
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False"/>
<add path="*.axd" verb="*" type="System.Web.HttpNotFoundHandler" validate="True" />
<add path="*.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" validate="True" />
<add path="*.ashx" verb="*" type="System.Web.UI.SimpleHandlerFactory" validate="True" />
<add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False" />
<add path="*.rem" verb="*" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="False" />
<add path="*.soap" verb="*" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="False" />
<add path="*.asax" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.ascx" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.master" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.skin" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.browser" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.sitemap" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.dll.config" verb="GET,HEAD" type="System.Web.StaticFileHandler" validate="True" />
<add path="*.exe.config" verb="GET,HEAD" type="System.Web.StaticFileHandler" validate="True" />
<add path="*.config" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.cs" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.csproj" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.vb" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.vbproj" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.webinfo" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.licx" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.resx" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.resources" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.mdb" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.vjsproj" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.java" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.jsl" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.ldb" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.ad" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.dd" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.ldd" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.sd" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.cd" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.adprototype" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.lddprototype" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.sdm" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.sdmDocument" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.mdf" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.ldf" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.exclude" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.refresh" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<!--
<add path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False"/>
-->
<add verb="*" path="*.svc" type="System.ServiceModel.Channels.SvcHttpHandlerFactory, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add path="*.rules" verb="*" type="System.Web.HttpForbiddenHandler" validate="True"/>
<!--
<add path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False"/>
<add path="*.xamlx" verb="*" type="System.Xaml.Hosting.XamlHttpHandlerFactory, System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False"/>
-->
<add path="*" verb="GET,HEAD,POST" type="System.Web.DefaultHttpHandler" validate="True" />
<add path="*" verb="*" type="System.Web.HttpMethodNotAllowedHandler" validate="True" />
<add verb="*" path="Trace.axd" type="System.Web.Handlers.TraceHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asmx" validate="false" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ashx" type="System.Web.UI.SimpleHandlerFactory, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.master" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.resources" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.skin" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.browser" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.sitemap" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.webinfo" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.resx" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.asax" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.ascx" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.config" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.Config" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.vb" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.csproj" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.vbproj" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.licx" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.dll" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.rem" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="*" path="*.soap" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="false" />
<add verb="*" path="*.svc" type="System.ServiceModel.Channels.SvcHttpHandlerFactory, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add verb="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpHandlers>
<httpModules>
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule" />
<add name="Session" type="System.Web.SessionState.SessionStateModule" />
<!--
<add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" />
-->
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />
<!--
<add name="PassportAuthentication" type="System.Web.Security.PassportAuthenticationModule" />
-->
<add name="RoleManager" type="System.Web.Security.RoleManagerModule" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" />
<!--
<add name="FileAuthorization" type="System.Web.Security.FileAuthorizationModule" />
-->
<add name="AnonymousIdentification" type="System.Web.Security.AnonymousIdentificationModule" />
<add name="Profile" type="System.Web.Profile.ProfileModule" />
<!--
<add name="ErrorHandlerModule" type="System.Web.Mobile.ErrorHandlerModule, System.Web.Mobile, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
-->
<add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" />
<add name="ScriptModule-4.0" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="RoleManager" type="System.Web.Security.RoleManagerModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpModules>
<authentication mode="Forms">
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
@@ -143,52 +84,22 @@
<!-- <add namespace="System.Web.UI.WebControls.WebParts" /> -->
<add namespace="System.Web.UI.HtmlControls" />
</namespaces>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls.WebParts" assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls.Expressions" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="asp" namespace="System.Web.DynamicData" assembly="System.Web.DynamicData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</controls>
</pages>
<webControls clientScriptsLocation="/web_scripts" />
<compilation debug="false" defaultLanguage="c#" explicit="true" strict="false" >
<assemblies>
<add assembly="mscorlib" />
<add assembly="Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<!--<add assembly="mscorlib" /> -->
<add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<!-- <add assembly="System.Web.Mobile, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> -->
<add assembly="System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<!-- <add assembly="System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<!-- <add assembly="System.ServiceModel.Channels, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
<add assembly="System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
<add assembly="System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add assembly="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<!-- <add assembly="System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<!-- <add assembly="System.ServiceModel.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<!-- <add assembly="System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<!-- <add assembly="System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add assembly="System.Web.DynamicData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<!-- <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> -->
<!-- <add assembly="System.Web.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> -->
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<!-- <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> -->
<add assembly="System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="*" /> <!-- Add assemblies in bin directory -->
</assemblies>
<expressionBuilders>
@@ -198,10 +109,6 @@
type="System.Web.Compilation.ConnectionStringsExpressionBuilder, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add expressionPrefix="AppSettings"
type="System.Web.Compilation.AppSettingsExpressionBuilder, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add expressionPrefix="RouteUrl" type="System.Web.Compilation.RouteUrlExpressionBuilder"/>
<!--
<add expressionPrefix="RouteValue" type="System.Web.Compilation.RouteValueExpressionBuilder"/>
-->
</expressionBuilders>
<buildProviders>
<add extension=".aspx" type="System.Web.Compilation.PageBuildProvider" />
@@ -219,12 +126,6 @@
<add extension=".licx" type="System.Web.Compilation.IgnoreFileBuildProvider" />
<add extension=".exclude" type="System.Web.Compilation.IgnoreFileBuildProvider" />
<add extension=".refresh" type="System.Web.Compilation.IgnoreFileBuildProvider" />
<!--
<add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider" />
<add extension=".xoml" type="System.ServiceModel.Activation.WorkflowServiceBuildProvider, System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add extension=".svc" type="System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add extension=".xamlx" type="System.Xaml.Hosting.XamlBuildProvider, System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
-->
</buildProviders>
</compilation>
<httpRuntime executionTimeout="110"
-2
View File
@@ -1,2 +0,0 @@
/Makefile
/Makefile.in
-2
View File
@@ -1,2 +0,0 @@
/Makefile
/Makefile.in
-6
View File
@@ -1,6 +0,0 @@
monodir = $(sysconfdir)/mono/4.5/Browsers
EXTRA_DIST = ../../Browsers/Compat.browser
mono_DATA = ../../Browsers/Compat.browser
File diff suppressed because it is too large. Load diff
-13
View File
@@ -1,13 +0,0 @@
SUBDIRS = Browsers
monodir = $(sysconfdir)/mono/4.5
EXTRA_DIST = machine.config \
web.config \
DefaultWsdlHelpGenerator.aspx \
settings.map
mono_DATA = machine.config \
web.config \
DefaultWsdlHelpGenerator.aspx \
settings.map
-310
View File
@@ -1,310 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="configProtectedData" type="System.Configuration.ProtectedConfigurationSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="appSettings" type="System.Configuration.AppSettingsSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="connectionStrings" type="System.Configuration.ConnectionStringsSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="mscorlib" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false"/>
<section name="runtime" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false"/>
<section name="assemblyBinding" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false" />
<section name="satelliteassemblies" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false" />
<section name="startup" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false"/>
<section name="system.codedom" type="System.CodeDom.Compiler.CodeDomConfigurationHandler, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.data" type="System.Data.Common.DbProviderFactoriesConfigurationHandler, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.diagnostics" type="System.Diagnostics.DiagnosticsConfigurationHandler, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.runtime.remoting" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false"/>
<section name="system.windows.forms" type="System.Windows.Forms.WindowsFormsSection, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="windows" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowLocation="false" />
<section name="strongNames" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowLocation="false"/>
<sectionGroup name="system.web" type="System.Web.Configuration.SystemWebSectionGroup, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<section name="anonymousIdentification" type="System.Web.Configuration.AnonymousIdentificationSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
<section name="authentication" type="System.Web.Configuration.AuthenticationSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
<section name="authorization" type="System.Web.Configuration.AuthorizationSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="browserCaps" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="clientTarget" type="System.Web.Configuration.ClientTargetSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="compilation" type="System.Web.Configuration.CompilationSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="customErrors" type="System.Web.Configuration.CustomErrorsSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="deployment" type="System.Web.Configuration.DeploymentSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineOnly" />
<section name="globalization" type="System.Web.Configuration.GlobalizationSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="healthMonitoring" type="System.Web.Configuration.HealthMonitoringSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
<section name="hostingEnvironment" type="System.Web.Configuration.HostingEnvironmentSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication" />
<section name="httpCookies" type="System.Web.Configuration.HttpCookiesSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="httpHandlers" type="System.Web.Configuration.HttpHandlersSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="httpModules" type="System.Web.Configuration.HttpModulesSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="httpRuntime" type="System.Web.Configuration.HttpRuntimeSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="identity" type="System.Web.Configuration.IdentitySection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="machineKey" type="System.Web.Configuration.MachineKeySection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="membership" type="System.Web.Configuration.MembershipSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="mobileControls" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="deviceFilters" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="pages" type="System.Web.Configuration.PagesSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="processModel" type="System.Web.Configuration.ProcessModelSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineOnly" allowLocation="false" />
<section name="profile" type="System.Web.Configuration.ProfileSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
<section name="roleManager" type="System.Web.Configuration.RoleManagerSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
<section name="securityPolicy" type="System.Web.Configuration.SecurityPolicySection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication" />
<section name="sessionPageState" type="System.Web.Configuration.SessionPageStateSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="sessionState" type="System.Web.Configuration.SessionStateSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
<section name="siteMap" type="System.Web.Configuration.SiteMapSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
<section name="trace" type="System.Web.Configuration.TraceSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="trust" type="System.Web.Configuration.TrustSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication" />
<section name="urlMappings" type="System.Web.Configuration.UrlMappingsSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
<section name="webControls" type="System.Web.Configuration.WebControlsSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="webParts" type="System.Web.Configuration.WebPartsSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="webServices" type="System.Web.Services.Configuration.WebServicesSection, System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="xhtmlConformance" type="System.Web.Configuration.XhtmlConformanceSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<sectionGroup name="caching" type="System.Web.Configuration.SystemWebCachingSectionGroup, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<section name="cache" type="System.Web.Configuration.CacheSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
<section name="outputCache" type="System.Web.Configuration.OutputCacheSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
<section name="outputCacheSettings" type="System.Web.Configuration.OutputCacheSettingsSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
<section name="sqlCacheDependency" type="System.Web.Configuration.OutputCacheSettingsSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
</sectionGroup>
<section name="monoSettings" type="System.Web.Configuration.MonoSettingsSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</sectionGroup>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
</sectionGroup>
</sectionGroup>
</sectionGroup>
<sectionGroup name="system.net" type="System.Net.Configuration.NetSectionGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="authenticationModules" type="System.Net.Configuration.AuthenticationModulesSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="connectionManagement" type="System.Net.Configuration.ConnectionManagementSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="defaultProxy" type="System.Net.Configuration.DefaultProxySection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<sectionGroup name="mailSettings" type="System.Net.Configuration.MailSettingsSectionGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="smtp" type="System.Net.Configuration.SmtpSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
<section name="requestCaching" type="System.Net.Configuration.RequestCachingSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="settings" type="System.Net.Configuration.SettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="webRequestModules" type="System.Net.Configuration.WebRequestModulesSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
<section name="system.drawing" type="System.Configuration.NameValueSectionHandler, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<sectionGroup name="system.serviceModel" type="System.ServiceModel.Configuration.ServiceModelSectionGroup, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="behaviors" type="System.ServiceModel.Configuration.BehaviorsSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="bindings" type="System.ServiceModel.Configuration.BindingsSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="client" type="System.ServiceModel.Configuration.ClientSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="commonBehaviors" type="System.ServiceModel.Configuration.CommonBehaviorsSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="diagnostics" type="System.ServiceModel.Configuration.DiagnosticSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="extensions" type="System.ServiceModel.Configuration.ExtensionsSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="serviceHostingEnvironment" type="System.ServiceModel.Configuration.ServiceHostingEnvironmentSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="services" type="System.ServiceModel.Configuration.ServicesSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="standardEndpoints" type="System.ServiceModel.Configuration.StandardEndpointsSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<section name="routing" type="System.ServiceModel.Routing.Configuration.RoutingSection, System.ServiceModel.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<section name="protocolMapping" type="System.ServiceModel.Configuration.ProtocolMappingSection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</sectionGroup>
<sectionGroup name="system.transactions" type="System.Transactions.Configuration.TransactionsSectionGroup, System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null">
<section name="defaultSettings" type="System.Transactions.Configuration.DefaultSettingsSection, System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null"/>
<section name="machineSettings" type="System.Transactions.Configuration.MachineSettingsSection, System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null" allowDefinition="MachineOnly" allowExeDefinition="MachineOnly"/>
</sectionGroup>
<section name="system.webServer" type="System.Configuration.IgnoreSection, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<section name="uri" type="System.Configuration.UriSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<sectionGroup name="system.runtime.caching" type="System.Runtime.Caching.Configuration.CachingSectionGroup, System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<section name="memoryCache" type="System.Runtime.Caching.Configuration.MemoryCacheSection, System.Runtime.Caching, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" allowDefinition="MachineToApplication"/>
</sectionGroup>
</configSections>
<connectionStrings>
<add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
<add name="LocalSqliteServer" connectionString="Data Source=|DataDirectory|/aspnetdb.sqlite;version=3" providerName="Mono.Data.Sqlite"/>
</connectionStrings>
<configProtectedData defaultProvider="RsaProtectedConfigurationProvider">
<providers>
<add name="RsaProtectedConfigurationProvider" type="System.Configuration.RsaProtectedConfigurationProvider, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
description="" keyContainerName="MonoFrameworkConfigurationKey" cspProviderName="" useMachineContainer="true" useOAEP="false" />
<add name="DataProtectionConfigurationProvider" type="System.Configuration.DpapiProtectedConfigurationProvider, System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
description="" useMachineProtection="true" keyEntropy="" />
</providers>
</configProtectedData>
<system.net>
<authenticationModules>
<add type="System.Net.BasicClient, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.DigestClient, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add type="System.Net.NtlmClient, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</authenticationModules>
<webRequestModules>
<add prefix="http" type="System.Net.HttpRequestCreator, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="https" type="System.Net.HttpRequestCreator, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="ftp" type="System.Net.FtpRequestCreator, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</webRequestModules>
<settings>
<ipv6 enabled="false"/>
</settings>
</system.net>
<system.runtime.remoting>
<application>
<channels>
<channel ref="http client" displayName="http client (delay loaded)" delayLoadAsClientChannel="true" />
<channel ref="tcp client" displayName="tcp client (delay loaded)" delayLoadAsClientChannel="true" />
<channel ref="ipc client" displayName="ipc client (delay loaded)" delayLoadAsClientChannel="true" />
</channels>
</application>
<channels>
<channel id="http" type="System.Runtime.Remoting.Channels.Http.HttpChannel, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http client" type="System.Runtime.Remoting.Channels.Http.HttpClientChannel, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="http server" type="System.Runtime.Remoting.Channels.Http.HttpServerChannel, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp" type="System.Runtime.Remoting.Channels.Tcp.TcpChannel, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp client" type="System.Runtime.Remoting.Channels.Tcp.TcpClientChannel, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="tcp server" type="System.Runtime.Remoting.Channels.Tcp.TcpServerChannel, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="ipc" type="System.Runtime.Remoting.Channels.Ipc.IpcChannel, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="ipc client" type="System.Runtime.Remoting.Channels.Ipc.IpcClientChannel, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<channel id="ipc server" type="System.Runtime.Remoting.Channels.Ipc.IpcServerChannel, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</channels>
<channelSinkProviders>
<clientProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapClientFormatterSinkProvider, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</clientProviders>
<serverProviders>
<formatter id="soap" type="System.Runtime.Remoting.Channels.SoapServerFormatterSinkProvider, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<formatter id="binary" type="System.Runtime.Remoting.Channels.BinaryServerFormatterSinkProvider, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<provider id="wsdl" type="System.Runtime.Remoting.MetadataServices.SdlChannelSinkProvider, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</serverProviders>
</channelSinkProviders>
</system.runtime.remoting>
<appSettings>
<!--<add key="yourkey" value="your value" /> -->
<!--<remove key="a key defined higher in the hierarchy" /> -->
<!--<clear/> Removes all defined settings -->
</appSettings>
<system.diagnostics>
<trace autoflush="false" indentsize="4" />
</system.diagnostics>
<system.drawing>
</system.drawing>
<system.data>
<DbProviderFactories>
<add name="Mono Sqlite Data Provider" invariant="Mono.Data.SqliteClient"
description="Mono Framework Data Provider for SQLite (old version)"
type="Mono.Data.SqliteClient.SqliteFactory, Mono.Data.SqliteClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"/>
<add name="Mono Sqlite Provider" invariant="Mono.Data.Sqlite"
description="Mono Framework Data Provider for SQLite (new version)"
type="Mono.Data.Sqlite.SqliteFactory, Mono.Data.Sqlite, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"/>
<add name="Odbc Data Provider" invariant="System.Data.Odbc"
description=".Net Framework Data Provider for Odbc"
type="System.Data.Odbc.OdbcFactory, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add name="OleDb Data Provider" invariant="System.Data.OleDb"
description=".Net Framework Data Provider for OleDb"
type="System.Data.OleDb.OleDbFactory, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add name="OracleClient Data Provider" invariant="System.Data.OracleClient"
description=".Net Framework Data Provider for Oracle"
type="System.Data.OracleClient.OracleClientFactory, System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add name="SqlClient Data Provider" invariant="System.Data.SqlClient"
description=".Net Framework Data Provider for SqlServer"
type="System.Data.SqlClient.SqlClientFactory, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add name="Sybase Data Provider" invariant="Mono.Data.SybaseClient"
description=".Net Framework Data Provider for Sybase"
type="Mono.Data.SybaseClient.SybaseClientFactory, Mono.Data.SybaseClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"/>
</DbProviderFactories>
</system.data>
<mscorlib>
<cryptographySettings>
<cryptoNameMapping>
<cryptoClasses>
<cryptoClass monoMD2="Mono.Security.Cryptography.MD2Managed, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
<cryptoClass monoMD4="Mono.Security.Cryptography.MD4Managed, Mono.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
</cryptoClasses>
<nameEntry name="MD2" class="monoMD2" />
<nameEntry name="MD4" class="monoMD4" />
</cryptoNameMapping>
<oidMap>
<oidEntry OID="1.2.840.113549.2.2" name="MD2" />
<oidEntry OID="1.2.840.113549.2.2" name="Mono.Security.Cryptography.MD2Managed" />
<oidEntry OID="1.2.840.113549.2.4" name="MD4" />
<oidEntry OID="1.2.840.113549.2.4" name="Mono.Security.Cryptography.MD4Managed" />
</oidMap>
</cryptographySettings>
</mscorlib>
<strongNames>
<pubTokenMapping>
<!-- ECMA key -->
<map Token="b77a5c561934e089" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Microsoft (final) key -->
<map Token="b03f5f7f11d50a3a" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Microsoft (Web Service Enhancement) key -->
<map Token="31bf3856ad364e35" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- IBM (DB2 Data Provider) key -->
<map Token="7c307b91aa13d208" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- Silverlight 2.0 key -->
<map Token="7cec85d7bea7798e" PublicKey="002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df" />
<!-- XNA Framework key -->
<map Token="6d5c3888ef60e27d" PublicKey="0024000004800000940000000602000000240000525341310004000001000100f9a2641bac9847900d92a33d652ccc4e8b529360f908e7af53e57008b2a9a1938c32a160d47f795a23590557608d2c8d0c0e8846a052d070f9298281b8185343dbe5b479bd52de256f73c2a943e1a8a42065b5c918622dc14b1c0151dbd94d9a4543e7cd03e536b1b1d2d6d99af535d227ab9bdac76af9312a21d457bdf817e6" />
</pubTokenMapping>
</strongNames>
<system.web>
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpSoap12"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
<add name="Documentation"/>
</protocols>
<conformanceWarnings>
<add name="BasicProfile1_1"/>
</conformanceWarnings>
<wsdlHelpGenerator href="DefaultWsdlHelpGenerator.aspx" />
</webServices>
<membership>
<providers>
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
<!-- <add name="AspNetSqlMembershipProvider" type="Mainsoft.Web.Security.GenericMembershipProvider, Mainsoft.Web.Security" applicationName="/" connectionStringName="LocalSqlServer" /> -->
</providers>
</membership>
<roleManager>
<providers>
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" applicationName="/" connectionStringName="LocalSqlServer" />
<!-- <add name="AspNetSqlRoleProvider" type="Mainsoft.Web.Security.GenericRoleProvider, Mainsoft.Web.Security" applicationName="/" connectionStringName="LocalSqlServer" /> -->
</providers>
</roleManager>
<profile>
<providers>
<add name="AspNetSqlProfileProvider" connectionStringName="LocalSqlServer" applicationName="/" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
</profile>
</system.web>
<system.serviceModel>
<extensions>
<behaviorExtensions>
<add name="enableWebScript" type="System.ServiceModel.Configuration.WebScriptEnablingElement, System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="webHttp" type="System.ServiceModel.Configuration.WebHttpElement, System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</behaviorExtensions>
<bindingElementExtensions>
<add name="webMessageEncoding" type="System.ServiceModel.Configuration.WebMessageEncodingElement, System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</bindingElementExtensions>
<bindingExtensions>
<add name="webHttpBinding" type="System.ServiceModel.Configuration.WebHttpBindingCollectionElement, System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</bindingExtensions>
<endpointExtensions>
<add name="dynamicEndpoint" type="System.ServiceModel.Discovery.Configuration.DynamicEndpointCollectionElement, System.ServiceModel.Discovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="discoveryEndpoint" type="System.ServiceModel.Discovery.Configuration.DiscoveryEndpointCollectionElement, System.ServiceModel.Discovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="udpDiscoveryEndpoint" type="System.ServiceModel.Discovery.Configuration.UdpDiscoveryEndpointCollectionElement, System.ServiceModel.Discovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="announcementEndpoint" type="System.ServiceModel.Discovery.Configuration.AnnouncementEndpointCollectionElement, System.ServiceModel.Discovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="udpAnnouncementEndpoint" type="System.ServiceModel.Discovery.Configuration.UdpAnnouncementEndpointCollectionElement, System.ServiceModel.Discovery, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="webHttpEndpoint" type="System.ServiceModel.Configuration.WebHttpEndpointCollectionElement, System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="webScriptEndpoint" type="System.ServiceModel.Configuration.WebScriptEndpointCollectionElement, System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</endpointExtensions>
</extensions>
</system.serviceModel>
</configuration>
-48
View File
@@ -1,48 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<settingsMap>
<map sectionType="System.Web.Configuration.MembershipSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.MembershipSectionMapper, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
platform="Unix">
<!-- The 'what' tag specifies which region of the section to modify. The 'value' attribute value is mapper-specific and is not defined here. It can be
any expression understood by the mapper to designate the section region to modify.
-->
<what value="providers">
<!-- 'what' can contain any number of occurrences of any three elements:
replace - replace the designated region
add - add a new entry to the region
clear - clear the region
remove - remove the designatedregion
The attributes to any of the above are freeform and are not processed by the mapper manager. They are stored verbatim for the
mapper to peruse.
-->
<replace name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqliteMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqliteServer" />
</what>
</map>
<map sectionType="System.Web.Configuration.RoleManagerSection, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
mapperType="Mono.Web.Util.RoleManagerSectionMapper, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
platform="Unix">
<!-- The 'what' tag specifies which region of the section to modify. The 'value' attribute value is mapper-specific and is not defined here. It can be
any expression understood by the mapper to designate the section region to modify.
-->
<what value="providers">
<!-- 'what' can contain any number of occurrences of any three elements:
replace - replace the designated region
add - add a new entry to the region
clear - clear the region
remove - remove the designatedregion
The attributes to any of the above are freeform and are not processed by the mapper manager. They are stored verbatim for the
mapper to peruse.
-->
<replace name="AspNetSqlRoleProvider"
type="System.Web.Security.SqliteRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="LocalSqliteServer" />
</what>
</map>
</settingsMap>
-253
View File
@@ -1,253 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v4.0"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v4.0"/>
<providerOption name="OptionInfer" value="true"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<system.web>
<monoSettings>
<compilersCompatibility>
<compiler language="c#;cs;csharp" extension=".cs" compilerOptions="/nowarn:0169"
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</compilersCompatibility>
</monoSettings>
<authorization>
<allow users="*" />
</authorization>
<httpHandlers>
<add path="trace.axd" verb="*" type="System.Web.Handlers.TraceHandler" validate="True" />
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
<add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False" />
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False"/>
<add path="*.axd" verb="*" type="System.Web.HttpNotFoundHandler" validate="True" />
<add path="*.aspx" verb="*" type="System.Web.UI.PageHandlerFactory" validate="True" />
<add path="*.ashx" verb="*" type="System.Web.UI.SimpleHandlerFactory" validate="True" />
<add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False" />
<add path="*.rem" verb="*" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="False" />
<add path="*.soap" verb="*" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" validate="False" />
<add path="*.asax" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.ascx" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.master" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.skin" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.browser" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.sitemap" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.dll.config" verb="GET,HEAD" type="System.Web.StaticFileHandler" validate="True" />
<add path="*.exe.config" verb="GET,HEAD" type="System.Web.StaticFileHandler" validate="True" />
<add path="*.config" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.cs" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.csproj" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.vb" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.vbproj" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.webinfo" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.licx" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.resx" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.resources" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.mdb" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.vjsproj" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.java" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.jsl" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.ldb" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.ad" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.dd" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.ldd" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.sd" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.cd" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.adprototype" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.lddprototype" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.sdm" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.sdmDocument" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.mdf" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.ldf" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.exclude" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<add path="*.refresh" verb="*" type="System.Web.HttpForbiddenHandler" validate="True" />
<!--
<add path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False"/>
-->
<add verb="*" path="*.svc" type="System.ServiceModel.Channels.SvcHttpHandlerFactory, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add path="*.rules" verb="*" type="System.Web.HttpForbiddenHandler" validate="True"/>
<!--
<add path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False"/>
<add path="*.xamlx" verb="*" type="System.Xaml.Hosting.XamlHttpHandlerFactory, System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False"/>
-->
<add path="*" verb="GET,HEAD,POST" type="System.Web.DefaultHttpHandler" validate="True" />
<add path="*" verb="*" type="System.Web.HttpMethodNotAllowedHandler" validate="True" />
</httpHandlers>
<httpModules>
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule" />
<add name="Session" type="System.Web.SessionState.SessionStateModule" />
<!--
<add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" />
-->
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" />
<!--
<add name="PassportAuthentication" type="System.Web.Security.PassportAuthenticationModule" />
-->
<add name="RoleManager" type="System.Web.Security.RoleManagerModule" />
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" />
<!--
<add name="FileAuthorization" type="System.Web.Security.FileAuthorizationModule" />
-->
<add name="AnonymousIdentification" type="System.Web.Security.AnonymousIdentificationModule" />
<add name="Profile" type="System.Web.Profile.ProfileModule" />
<!--
<add name="ErrorHandlerModule" type="System.Web.Mobile.ErrorHandlerModule, System.Web.Mobile, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
-->
<add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" />
<add name="ScriptModule-4.0" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
<authentication mode="Forms">
<forms name=".MONOAUTH" loginUrl="login.aspx" protection="All" timeout="30" path="/">
<credentials passwordFormat="Clear">
<!--<user name="gonzalo" password="gonz"/>-->
</credentials>
</forms>
</authentication>
<machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1" />
<globalization requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="utf-8"/>
<!--
culture="en-US"
uiculture="en-US" />
-->
<sessionState mode="InProc" />
<pages>
<namespaces>
<add namespace="System" />
<add namespace="System.Collections" />
<add namespace="System.Collections.Specialized" />
<add namespace="System.Configuration" />
<add namespace="System.Text" />
<add namespace="System.Text.RegularExpressions" />
<add namespace="System.Web" />
<add namespace="System.Web.Caching" />
<add namespace="System.Web.SessionState" />
<add namespace="System.Web.Security" />
<add namespace="System.Web.Profile" />
<add namespace="System.Web.UI" />
<add namespace="System.Web.UI.WebControls" />
<!-- <add namespace="System.Web.UI.WebControls.WebParts" /> -->
<add namespace="System.Web.UI.HtmlControls" />
</namespaces>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls.WebParts" assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls.Expressions" assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="asp" namespace="System.Web.DynamicData" assembly="System.Web.DynamicData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</controls>
</pages>
<webControls clientScriptsLocation="/web_scripts" />
<compilation debug="false" defaultLanguage="c#" explicit="true" strict="false" >
<assemblies>
<!-- <add assembly="mscorlib" /> -->
<add assembly="Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<!-- <add assembly="System.Web.Mobile, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> -->
<add assembly="System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<!-- <add assembly="System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<!-- <add assembly="System.ServiceModel.Channels, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<add assembly="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<!-- <add assembly="System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<!-- <add assembly="System.ServiceModel.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<!-- <add assembly="System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<!-- <add assembly="System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> -->
<add assembly="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="System.Data.DataSetExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="System.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add assembly="System.Web.DynamicData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<!-- <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> -->
<!-- <add assembly="System.Web.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> -->
<add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<!-- <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> -->
<add assembly="System.Web.ApplicationServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add assembly="*" /> <!-- Add assemblies in bin directory -->
</assemblies>
<expressionBuilders>
<add expressionPrefix="Resources"
type="System.Web.Compilation.ResourceExpressionBuilder, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add expressionPrefix="ConnectionStrings"
type="System.Web.Compilation.ConnectionStringsExpressionBuilder, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add expressionPrefix="AppSettings"
type="System.Web.Compilation.AppSettingsExpressionBuilder, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add expressionPrefix="RouteUrl" type="System.Web.Compilation.RouteUrlExpressionBuilder"/>
<!--
<add expressionPrefix="RouteValue" type="System.Web.Compilation.RouteValueExpressionBuilder"/>
-->
</expressionBuilders>
<buildProviders>
<add extension=".aspx" type="System.Web.Compilation.PageBuildProvider" />
<add extension=".ascx" type="System.Web.Compilation.UserControlBuildProvider" />
<add extension=".master" type="System.Web.Compilation.MasterPageBuildProvider" />
<add extension=".asmx" type="System.Web.Compilation.WebServiceBuildProvider" />
<add extension=".ashx" type="System.Web.Compilation.WebHandlerBuildProvider" />
<add extension=".soap" type="System.Web.Compilation.WebServiceBuildProvider" />
<add extension=".resx" type="System.Web.Compilation.ResXBuildProvider" />
<add extension=".resources" type="System.Web.Compilation.ResourcesBuildProvider" />
<add extension=".wsdl" type="System.Web.Compilation.WsdlBuildProvider" />
<add extension=".xsd" type="System.Web.Compilation.XsdBuildProvider" />
<add extension=".js" type="System.Web.Compilation.ForceCopyBuildProvider" />
<add extension=".lic" type="System.Web.Compilation.IgnoreFileBuildProvider" />
<add extension=".licx" type="System.Web.Compilation.IgnoreFileBuildProvider" />
<add extension=".exclude" type="System.Web.Compilation.IgnoreFileBuildProvider" />
<add extension=".refresh" type="System.Web.Compilation.IgnoreFileBuildProvider" />
<!--
<add extension=".edmx" type="System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider" />
<add extension=".xoml" type="System.ServiceModel.Activation.WorkflowServiceBuildProvider, System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add extension=".svc" type="System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add extension=".xamlx" type="System.Xaml.Hosting.XamlBuildProvider, System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
-->
</buildProviders>
</compilation>
<httpRuntime executionTimeout="110"
maxRequestLength="4096"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="5000" />
<clientTarget>
<add alias="ie5" userAgent="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)" />
<add alias="ie4" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
<add alias="uplevel" userAgent="Mozilla/4.0 (compatible; MSIE 4.0; Windows NT 4.0)" />
<add alias="downlevel" userAgent="Unknown" />
</clientTarget>
<siteMap>
<providers>
<add name="AspNetXmlSiteMapProvider"
description="Default site map provider that reads in .sitemap xml files."
type="System.Web.XmlSiteMapProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
siteMapFile="Web.sitemap" />
</providers>
</siteMap>
</system.web>
</configuration>
-4
View File
@@ -1,4 +0,0 @@
Name: Reactive Extensions
Description: Reactive Extensions
Version: @VERSION@
Libs: -r:@prefix@/lib/mono/4.5/System.Reactive.Interfaces.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Core.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Linq.dll -r:@prefix@/lib/mono/4.5/System.Reactive.PlatformServices.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Providers.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Debugger.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Experimental.dll -r:@prefix@/lib/mono/4.5/System.Reactive.Runtime.Remoting.dll
-4
View File
@@ -1,4 +0,0 @@
Name: System.Web.Mvc2
Description: System.Web.Mvc - ASP.NET MVC v2
Version: 2.0.0.0
Libs: -r:@prefix@/lib/mono/gac/System.Web.Mvc/2.0.0.0__31bf3856ad364e35/System.Web.Mvc.dll
-4
View File
@@ -1,4 +0,0 @@
Name: System.Web.Mvc3
Description: System.Web.Mvc - ASP.NET MVC v3
Version: 3.0.0.0
Libs: -r:@prefix@/lib/mono/gac/System.Web.Mvc/3.0.0.0__31bf3856ad364e35/System.Web.Mvc.dll
-7
View File
@@ -1,7 +0,0 @@
bindir=${pcfiledir}/../mono/xbuild/12.0/bin
Name: XBuild 12.0
Description: XBuild/MSBuild 12.0
Version: 12.0
Libs: -r:${bindir}/Microsoft.Build.Engine.dll -r:${bindir}/Microsoft.Build.Framework.dll -r:${bindir}/Microsoft.Build.Tasks.v12.0.dll -r:${bindir}/Microsoft.Build.Utilities.v12.0.dll -r:${bindir}/Microsoft.Build.dll
-1
View File
@@ -8,4 +8,3 @@
/mono-file-formats.zip
/mono-tools.tree
/mono-tools.zip
/AgilityPack.dll*
+1 -7
View File
@@ -1,16 +1,10 @@
2010-04-06 Andreia Gaita <[email protected]>
* Makefile.am: fix distcheck - several targets get built on the
srcdir, which has no write permissions on make distcheck, so make
sure permissions are set
2009-12-22 Jo Shields <[email protected]>
* HtmlAgilityPack/LICENSE: Include upstream license (Ms-PL) since the
file headers don't specify it
2009-12-22 Jo Shields <[email protected]>
* HtmlAgilityPack/*: Bundle HtmlAgilityPack 1.4~beta2 from
* HtmlAgilityPack/*: Bundle HtmlAgilityPack 1.4~beta2 from
http://www.codeplex.com/htmlagilitypack in source form.
* AgilityPack.dll: Remove binary assembly, use source instead.
-30
View File
@@ -1,30 +0,0 @@
/EncodingFoundException.cs -crlf
/HtmlAttribute.cs -crlf
/HtmlAttributeCollection.cs -crlf
/HtmlCmdLine.cs -crlf
/HtmlCommentNode.cs -crlf
/HtmlConsoleListener.cs -crlf
/HtmlDocument.cs -crlf
/HtmlElementFlag.cs -crlf
/HtmlEntity.cs -crlf
/HtmlNameTable.cs -crlf
/HtmlNode.cs -crlf
/HtmlNodeCollection.cs -crlf
/HtmlNodeNavigator.cs -crlf
/HtmlNodeType.cs -crlf
/HtmlParseError.cs -crlf
/HtmlParseErrorCode.cs -crlf
/HtmlTextNode.cs -crlf
/HtmlWeb.cs -crlf
/HtmlWebException.cs -crlf
/IOLibrary.cs -crlf
/LICENSE -crlf
/MixedCodeDocument.cs -crlf
/MixedCodeDocumentCodeFragment.cs -crlf
/MixedCodeDocumentFragment.cs -crlf
/MixedCodeDocumentFragmentList.cs -crlf
/MixedCodeDocumentFragmentType.cs -crlf
/MixedCodeDocumentTextFragment.cs -crlf
/NameValuePair.cs -crlf
/NameValuePairList.cs -crlf
/crc32.cs -crlf
+21 -25
View File
@@ -73,40 +73,36 @@ dist-hook:
cp HtmlAgilityPack/* $(distdir)/HtmlAgilityPack
clean-local:
-rm -Rf html
-rm -f deploy/* convert.exe* AgilityPack.dll*
-rm -f $(ASSEMBLED_DOCS)
TOOL_MAKE=$(MAKE) -f $(srcdir)/docs.make topdir=$(srcdir)/../mcs srcdir=$(srcdir)
-rm -Rf $(srcdir)/html
-rm -f $(srcdir)/deploy/* $(srcdir)/convert.exe* $(srcdir)/AgilityPack.dll*
-cd $(srcdir) && rm -f $(ASSEMBLED_DOCS)
monoapi.zip: monoapi.tree
monoapi.tree: $(srcdir)/docs.make $(srcdir)/Makefile.am $(srcdir)/toc.xml $(srcdir)/deploy/.stamp
-mkdir -p deploy
cp -f $(srcdir)/api-style.css deploy
$(TOOL_MAKE) $@
@test -f $@ || { rm -f $(srcdir)/monoapi.tree && $(MAKE) monoapi.tree; }
monoapi.tree: docs.make Makefile.am toc.xml $(srcdir)/deploy/.stamp
cd $(srcdir) && cp api-style.css deploy
cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
mono-tools.zip: mono-tools.tree
@test -f $@ || { rm -f $(srcdir)/mono-tools.tree && $(MAKE) mono-tools.tree; }
mono-tools.tree: docs.make Makefile.am $(srcdir)/deploy/.stamp
cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
mono-tools.tree: $(srcdir)/docs.make Makefile.am deploy/.stamp
$(TOOL_MAKE) $@
mono-file-formats.zip: mono-file-formats.tree
@test -f $@ || { rm -f $(srcdir)/mono-file-formats.tree && $(MAKE) mono-file-formats.tree; }
mono-file-formats.tree: docs.make Makefile.am $(srcdir)/deploy/.stamp
cd $(srcdir) && $(MAKE) -f docs.make topdir=$(mcs_topdir_from_srcdir) $@
mono-file-formats.zip: mono-file-formats.tree
mono-file-formats.tree: $(srcdir)/docs.make $(srcdir)/Makefile.am $(srcdir)/deploy/.stamp
$(TOOL_MAKE) $@
deploy/.stamp: convert.exe Makefile.am
$(mkdir_p) html
$(srcdir)/deploy/.stamp: convert.exe Makefile.am
$(mkdir_p) $(srcdir)/html
runtimedir=`cd ../runtime && pwd`; export runtimedir; \
MONO_PATH=../mcs/class/lib/net_4_5 perl $(srcdir)/exdoc -h $(srcdir) -t . $(srcdir)/../mono/*/*.c
cd $(srcdir) && MONO_PATH=$(mcs_topdir_from_srcdir)/class/lib/net_2_0 perl ./exdoc -h . ../mono/*/*.c
touch $@
extract: deploy/.stamp
extract: $(srcdir)/deploy/.stamp
convert.exe: convert.cs AgilityPack.dll
$(TOOL_MAKE) PROFILE=net_4_5 convert.exe
AgilityPack.dll:
$(TOOL_MAKE) PROFILE=net_4_5 AgilityPack.dll
cd $(srcdir) && $(MAKE) PROFILE=net_2_0 -f docs.make topdir=$(mcs_topdir_from_srcdir) convert.exe
AgilityPack.dll:
cd $(srcdir) && $(MAKE) PROFILE=net_2_0 -f docs.make topdir=$(mcs_topdir_from_srcdir) AgilityPack.dll
+914 -837
View File
File diff suppressed because it is too large. Load diff
+5 -13
View File
@@ -1,8 +1,3 @@
#
# This makefile is here because it uses the configuration from the
# in-place built mono to run and compile a few C# tools
#
thisdir = docs
SUBDIRS =
include $(topdir)/build/rules.make
@@ -12,28 +7,25 @@ ASSEMBLED_DOCS = \
mono-tools.tree mono-tools.zip \
monoapi.tree monoapi.zip
convert.exe: $(srcdir)/convert.cs AgilityPack.dll
convert.exe: convert.cs AgilityPack.dll
$(CSCOMPILE) -out:$@ $< -r:AgilityPack.dll
AgilityPack.dll:
$(CSCOMPILE) -target:library -out:$@ $(srcdir)/HtmlAgilityPack/*.cs
$(CSCOMPILE) -target:library -out:$@ HtmlAgilityPack/*.cs
monoapi.zip: monoapi.tree
@test -f $@ || { rm -f $< && $(MAKE) $<; }
monoapi.tree: $(srcdir)/toc.xml $(srcdir)/docs.make
monoapi.tree: toc.xml docs.make
$(MDOC) assemble -o monoapi -f hb $<
mono-tools.zip: mono-tools.tree
@test -f $@ || { rm -f $< && $(MAKE) $<; }
mono-tools.tree: $(srcdir)/mono-tools.config $(srcdir)/docs.make
mono-tools.tree: mono-tools.config docs.make
$(MDOC) assemble -o mono-tools -f man $<
mono-file-formats.zip: mono-file-formats.tree
@test -f $@ || { rm -f $< && $(MAKE) $<; }
mono-file-formats.tree: $(srcdir)/mono-file-formats.config $(srcdir)/docs.make
mono-file-formats.tree: mono-file-formats.config docs.make
$(MDOC) assemble -o mono-file-formats -f man $<
.doc-stamp:
+148 -159
View File
@@ -1,6 +1,7 @@
mono_assembly_open
mono_assembly_close
mono_assembly_load
mono_assembly_load_from
mono_assembly_load_full
mono_assembly_loaded
mono_assembly_get_image
@@ -179,6 +180,7 @@ mono_domain_get_tls_key
mono_domain_owns_vtable_slot
mono_context_get
mono_context_set
mono_create_jit_trampoline
mono_mb_new
mono_mb_add_data
mono_mb_add_local
@@ -257,6 +259,8 @@ mono_get_exception_not_supported
mono_get_exception_reflection_type_load
mono_gchandle_new
mono_gchandle_new_weakref
mono_gchandle_new
mono_gchandle_new_weakref
mono_gchandle_get_target
mono_gchandle_is_in_domain
mono_gchandle_free
@@ -283,33 +287,42 @@ mono_gc_is_gc_thread
mono_gc_pending_finalizers
mono_gc_register_thread
mono_gc_finalize_notify
mono_image_open
mono_image_open_full
mono_image_open_from_data
mono_image_open_from_data_full
mono_image_close
mono_image_addref
mono_image_load_file_for_image
mono_image_get_guid
mono_image_add_to_name_cache
mono_image_close
mono_image_ensure_section_idx
mono_image_ensure_section
mono_image_get_assembly
mono_image_get_entry_point
mono_image_get_filename
mono_image_get_name
mono_image_get_public_key
mono_image_get_resource
mono_image_get_strong_name
mono_image_get_table_info
mono_image_get_table_rows
mono_image_has_authenticode_entry
mono_image_is_dynamic
mono_image_loaded_by_guid
mono_image_loaded
mono_image_load_file_for_image
mono_image_lookup_resource
mono_image_open_from_data
mono_image_open
mono_image_rva_map
mono_image_strerror
mono_image_strong_name_position
mono_image_get_public_key
mono_image_get_strong_name
mono_image_has_authenticode_entry
mono_image_rva_map
mono_image_ensure_section_idx
mono_image_ensure_section
mono_image_verify_tables
mono_image_get_guid
mono_image_open_from_data_full
mono_image_open_full
mono_image_basic_init
mono_image_build_metadata
mono_image_create_method_token
mono_image_create_pefile
mono_image_create_token
mono_image_insert_string
mono_image_load_module
mono_burg_kids
mono_burg_label
mono_burg_rule
@@ -320,6 +333,7 @@ mono_interp_get_runtime_method
mono_interp_transform_init
mono_interp_transform_method
mono_pmip
mono_print_code
mono_print_method_from_ip
mono_print_thread_dump
mono_threads_request_thread_dump
@@ -386,35 +400,38 @@ mono_marshal_realloc
mono_marshal_set_last_error
mono_marshal_string_to_utf16
mono_marshal_type_size
mono_metadata_guid_heap
mono_metadata_string_heap
mono_metadata_blob_heap
mono_metadata_user_string
mono_metadata_decode_blob_size
mono_image_get_table_info
mono_image_get_table_rows
mono_metadata_get_table
mono_loader_lock
mono_loader_unlock
mono_cli_rva_image_map
mono_pe_file_open
mono_meta_table_name
mono_metadata_decode_row_col
mono_metadata_decode_row
mono_metadata_blob_heap
mono_metadata_compute_size
mono_metadata_custom_attrs_from_index
mono_metadata_decode_blob_size
mono_metadata_decode_row_col
mono_metadata_decode_row
mono_metadata_decode_signed_value
mono_metadata_decode_value
mono_metadata_encode_value
mono_cli_rva_image_map
mono_pe_file_open
mono_metadata_events_from_typedef
mono_metadata_field_info
mono_metadata_free_array
mono_metadata_free_marshal_spec
mono_metadata_free_mh
mono_metadata_free_type
mono_metadata_generic_inst_equal
mono_metadata_generic_inst_hash
mono_metadata_generic_inst_is_valuetype
mono_metadata_generic_method_equal
mono_metadata_get_constant_index
mono_metadata_get_marshal_info
mono_metadata_get_table
mono_metadata_guid_heap
mono_metadata_implmap_from_method
mono_metadata_interfaces_from_typedef_full
mono_metadata_interfaces_from_typedef
mono_metadata_load_generic_params
mono_metadata_locate
mono_metadata_locate_token
mono_metadata_methods_from_event
@@ -422,14 +439,8 @@ mono_metadata_methods_from_property
mono_metadata_nested_in_typedef
mono_metadata_nesting_typedef
mono_metadata_packing_from_typedef
mono_metadata_properties_from_typedef
mono_metadata_token_from_dor
mono_metadata_typedef_from_field
mono_metadata_typedef_from_method
mono_metadata_type_equal
mono_metadata_type_hash
mono_metadata_declsec_from_index
mono_metadata_free_method_signature
mono_metadata_parse_array_full
mono_metadata_parse_array
mono_metadata_parse_custom_mod
mono_metadata_parse_field_type
mono_metadata_parse_marshal_spec
@@ -443,22 +454,34 @@ mono_metadata_parse_signature
mono_metadata_parse_typedef_or_ref
mono_metadata_parse_type_full
mono_metadata_parse_type
mono_loader_lock
mono_loader_unlock
mono_metadata_properties_from_typedef
mono_metadata_string_heap
mono_metadata_token_from_dor
mono_metadata_typedef_from_field
mono_metadata_typedef_from_method
mono_metadata_type_equal
mono_metadata_type_hash
mono_metadata_user_string
mono_metadata_declsec_from_index
mono_metadata_free_method_signature
mono_metadata_generic_class_is_valuetype
mono_metadata_has_generic_params
mono_metadata_inflate_generic_inst
mono_metadata_parse_generic_inst
mono_metadata_generic_inst_equal
mono_metadata_generic_inst_hash
mono_metadata_load_generic_params
mono_metadata_generic_inst_is_valuetype
mono_metadata_generic_method_equal
mono_ldtoken
mono_lookup_dynamic_token
mono_ldstr
mono_exception_from_token
mono_create_jit_trampoline_from_token
mono_signature_explicit_this
mono_signature_get_call_conv
mono_signature_get_desc
mono_signature_get_param_count
mono_signature_get_params
mono_signature_get_return_type
mono_signature_hash
mono_signature_is_instance
mono_signature_vararg_start
mono_opcode_name
mono_opcode_value
mono_loader_set_error_field_load
@@ -467,8 +490,8 @@ mono_loader_set_error_type_load
mono_loader_get_last_error
mono_loader_clear_error
mono_loader_error_prepare_exception
mono_runtime_invoke
mono_runtime_invoke_array
mono_runtime_invoke
mono_remoting_invoke
mono_runtime_delegate_invoke
mono_method_call_message_new
@@ -496,17 +519,8 @@ mono_method_get_wrapper_data
mono_method_has_marshal_info
mono_method_return_message_restore
mono_method_same_domain
mono_method_verify
mono_method_signature
mono_signature_explicit_this
mono_signature_get_call_conv
mono_signature_get_desc
mono_signature_get_param_count
mono_signature_get_params
mono_signature_get_return_type
mono_signature_hash
mono_signature_is_instance
mono_signature_vararg_start
mono_method_verify
mono_method_get_header
mono_method_header_get_clauses
mono_method_header_get_code
@@ -531,23 +545,17 @@ mono_object_get_size
mono_value_box
mono_value_copy
mono_value_copy_array
mono_array_new
mono_array_new_full
mono_array_new_specific
mono_array_class_get
mono_array_clone_in_domain
mono_array_clone
mono_array_element_size
mono_array_full_copy
mono_array_new_full
mono_array_new
mono_array_new_specific
mono_array_to_lparray
mono_array_to_savearray
mono_dup_array_type
mono_array_set
mono_array_setref
mono_array_length
mono_array_addr
mono_array_addr_with_size
mono_array_get
mono_array_element_size
mono_field_from_token
mono_field_get_flags
mono_field_get_name
@@ -659,6 +667,11 @@ mono_string_new_len
mono_string_new_size
mono_string_new_utf16
mono_string_from_utf16
mono_string_intern
mono_string_is_interned
mono_string_new_wrapper
mono_string_to_ansibstr
mono_string_to_bstr
mono_string_to_byvalstr
mono_string_to_byvalwstr
mono_string_to_utf16
@@ -667,11 +680,6 @@ mono_string_utf16_to_builder
mono_string_utf8_to_builder
mono_string_equal
mono_string_hash
mono_string_intern
mono_string_is_interned
mono_string_new_wrapper
mono_string_chars
mono_string_length
mono_string_builder_to_utf16
mono_string_builder_to_utf8
mono_unicode_from_external
@@ -712,6 +720,9 @@ mono_threads_clear_cached_culture
mono_thread_suspend_all_other_threads
mono_thread_has_appdomain_ref
mono_trace_cleanup
mono_trace_enter_method
mono_trace_eval
mono_trace_leave_method
mono_trace
mono_trace_parse_options
mono_trace_pop
@@ -723,6 +734,8 @@ mono_trace_set_mask
mono_trace_set_mask_string
mono_tracev
mono_trace_is_traced
mono_trace_enable
mono_trace_is_enabled
mono_type_create_from_typespec_full
mono_type_create_from_typespec
mono_type_full_name
@@ -877,12 +890,12 @@ mono_md5_get_digest_from_file
mono_md5_get_digest
mono_md5_final
mono_digest_get_public_token
mono_mempool_new
mono_mempool_destroy
mono_mempool_alloc
mono_mempool_alloc0
mono_mempool_alloc
mono_mempool_destroy
mono_mempool_empty
mono_mempool_invalidate
mono_mempool_new
mono_mempool_stats
mono_mempool_contains_addr
mono_is_power_of_two
@@ -895,129 +908,105 @@ mono_walk_stack
mono_stack_walk_no_il
mono_escape_uri_string
mono_guid_to_string
BindIoCompletionCallback
GetThreadContext
DeleteCriticalSection
EnterCriticalSection
InitializeCriticalSection
InitializeCriticalSectionAndSpinCount
LeaveCriticalSection
SetCriticalSectionSpinCount
TryEnterCriticalSection
errno_to_WSA
GetLastError
SetLastError
CreateEvent
PulseEvent
ResetEvent
SetEvent
CloseHandle
closesocket
CopyFile
CreateDirectory
CreateEvent
CreateFile
CreateMutex
CreatePipe
CreateProcess
CreateProcessWithLogonW
CreateSemaphore
CreateThread
DeleteCriticalSection
DeleteFile
DuplicateHandle
EnterCriticalSection
EnumProcesses
EnumProcessModules
errno_to_WSA
ExitThread
FileTimeToSystemTime
FindClose
FindFirstFile
FindNextFile
FlushFileBuffers
FormatMessage
GetCurrentDirectory
GetCurrentProcess
GetCurrentProcessId
GetCurrentThread
GetCurrentThreadId
GetDiskFreeSpaceEx
GetDriveType
GetExitCodeProcess
GetExitCodeThread
GetFileAttributesEx
GetFileAttributes
GetFileAttributesEx
GetFileSize
GetFileTime
GetFileType
GetFileVersionInfo
GetFileVersionInfoSize
GetLastError
GetLogicalDriveStrings
GetModuleBaseName
GetModuleFileNameEx
GetModuleInformation
GetPriorityClass
GetProcessId
GetProcessTimes
GetProcessWorkingSetSize
GetStdHandle
GetSystemInfo
GetTempPath
GetThreadContext
GetTickCount
ImpersonateLoggedOnUser
InitializeCriticalSectionAndSpinCount
InitializeCriticalSection
ioctlsocket
LeaveCriticalSection
LockFile
MoveFile
OpenEvent
OpenMutex
OpenProcess
OpenSemaphore
OpenThread
PulseEvent
QueryPerformanceCounter
QueryPerformanceFrequency
QueueUserAPC
ReadFile
ReleaseMutex
ReleaseSemaphore
RemoveDirectory
ReplaceFile
ResetEvent
ResumeThread
RevertToSelf
SetCriticalSectionSpinCount
SetCurrentDirectory
SetEndOfFile
SetEvent
SetFileAttributes
SetFilePointer
SetFileTime
SetLastError
SetPriorityClass
UnlockFile
WriteFile
mono_once
CreateMutex
ReleaseMutex
CreateProcess
EnumProcesses
EnumProcessModules
GetCurrentProcess
GetCurrentProcessId
GetExitCodeProcess
GetModuleBaseName
GetProcessTimes
GetProcessWorkingSetSize
OpenProcess
SetProcessWorkingSetSize
ShellExecuteEx
SignalObjectAndWait
SleepEx
Sleep
SuspendThread
TerminateProcess
ImpersonateLoggedOnUser
RevertToSelf
CreateSemaphore
ReleaseSemaphore
closesocket
ioctlsocket
WSACleanup
WSAGetLastError
WSAIoctl
WSASetLastError
WSAStartup
GetSystemInfo
BindIoCompletionCallback
CreateThread
ExitThread
GetCurrentThread
GetCurrentThreadId
GetExitCodeThread
OpenThread
QueueUserAPC
ResumeThread
Sleep
SleepEx
SuspendThread
TlsAlloc
TlsFree
TlsGetValue
TlsSetValue
TransmitFile
TryEnterCriticalSection
UnlockFile
VerLanguageName
VerQueryValue
WaitForInputIdle
WaitForMultipleObjectsEx
GetTickCount
QueryPerformanceCounter
QueryPerformanceFrequency
SignalObjectAndWait
WaitForMultipleObjects
WaitForSingleObjectEx
WaitForMultipleObjectsEx
WaitForSingleObject
WriteFile
WSACleanup
WSAGetLastError
WSAIoctl
WSARecv
WSASend
WSASetLastError
WSAStartup
mono_once
wapi_clear_interruption
wapi_current_thread_desc
wapi_interrupt_thread
wapi_self_interrupt
wapi_thread_clear_wait_handle
wapi_thread_set_wait_handle
WaitForSingleObjectEx
OpenEvent
OpenMutex
GetProcessId
ShellExecuteEx
OpenSemaphore
+3 -9
View File
@@ -1,23 +1,17 @@
#!/usr/bin/perl
if ($ARGV[0] eq "-h"){
$sourcedir = $ARGV[1];
$dir = $sourcedir;
$dir = $ARGV[1];
$html = 1;
shift @ARGV;
shift @ARGV;
}
if ($ARGV[0] eq "-t"){
$dir = $ARGV[1];
shift @ARGV;
}
if ($html){
opendir (D, "$sourcedir/sources/") || die "Can not open $dir";
opendir (D, "$dir/sources/") || die "Can not open $dir";
while ($n = readdir (D)){
if ($n =~ /mono-api-.*\.html$/){
open (IN, "$sourcedir/sources/$n") || die "Can not open $n";
open (IN, "$dir/sources/$n") || die "Can not open $n";
$files[$filecount] = $n;
while (<IN>){
@files_content[$filecount] .= $_;
-347
View File
@@ -1,347 +0,0 @@
0359470b9f7a2fdaa75e4de12c9f83e78135034f refs/heads/master
f49164bf7658855390b2c19574b170f8728a99ff refs/heads/mono-2-10
f08f8a27bfe3aafda4e430ee2365dec73c1070d7 refs/heads/mono-2-6
746176a37123eda06ee6f9bd70736ac68a78e1aa refs/heads/winforms-clipboard-refactor
3215bf8472af3b66a836af6319bb9410fd84e2ff refs/remotes/origin/C5
0359470b9f7a2fdaa75e4de12c9f83e78135034f refs/remotes/origin/HEAD
773a66abc5e63cc1d2f111daeaa2848891dc8f61 refs/remotes/origin/INITIAL_IMPORT
06e3a751fc70f8b0bb0253dcc634e75b25d67fdc refs/remotes/origin/MCS_0_28
ea23d77f5d686ad196de315b7f251999f409fc8e refs/remotes/origin/MONO_0_28
3b7a7ac0ddf1a952d62a85fbbf7f9864b6de37b4 refs/remotes/origin/Mainsoft.System.Data
7f0542b133e5f1eee15f337e0263c14406091a7e refs/remotes/origin/NUNIT
4e4824afab6cd0f9f0d71aa6baeddb7bee74f8c4 refs/remotes/origin/SAVANNAH_CVS
0fae05ddc83ee034344d50a6d4d618cfb10ee491 refs/remotes/origin/XIMIAN
7e9c74197c9275e89a6c3afc1cfdccfe4f4b9395 refs/remotes/origin/anonymous-methods
b7f7d992745ac1ad98451de3165d9219c5f9f9d0 refs/remotes/origin/anonymous-methods2
a3f972be9e1edf4ec9ae836ad5a6cf35519ec180 refs/remotes/origin/atsushi-200810
2972ef664b391dbdfa612c3ebd0ff55b8b75b5c7 refs/remotes/origin/cecil
dd0a3a7dd70d9f146f968a3114a481f14b2ea1a6 refs/remotes/origin/commit-to-changelog-tests
701861382d1f81fe4ca6f549128e5af5120ad34d refs/remotes/origin/dick/ia64-hpux
ae8eba8d480b8690a915bef3e4899bb98d17b875 refs/remotes/origin/dick/io-layer-files-backend
28e70d66a6d3d24f061e0ba049a8817ead44aeca refs/remotes/origin/dick/io-layer-no-daemon
9229d3a283f618a6a7fdadcfb9a1e66743a6ba2a refs/remotes/origin/jb/cl
121b690b280781fef910972ad6b825ec831ef3b1 refs/remotes/origin/jb/ml2
677178627ed6c3332bff5221d5019b56c5802a17 refs/remotes/origin/jb/reflection-corcompare
a7c74b39baed3961bc814e3508345404c5e03370 refs/remotes/origin/mainsoft/JSF
55afaffae7d224f35eacc1d9d505e662c4223897 refs/remotes/origin/mainsoft/cust_1_2.2
ee61dcd58e7960416c976a18ae025bc4b80713fa refs/remotes/origin/mainsoft/gh1.7
5144d4fd99a7230e317dac4af6b1d2f61d2800d6 refs/remotes/origin/mainsoft/gh2.2
adbed2a2b57bde136348a6b7cd465613b041ce69 refs/remotes/origin/mainsoft/gh2.2_customer2
d03df42d2f13c7e8b3790ff9b3e17975ffdb91af refs/remotes/origin/mainsoft/gh2.2_customer3
f219e12da4b39adcf08432833f3cd06b0b1343e1 refs/remotes/origin/mainsoft/gh2.2_customer4
050c809c8f9f0fa0099b3d5dcaf982a4d0c9cd54 refs/remotes/origin/mainsoft/gh2.2_customer5
7db3f555234c98b481cc7f46f6eb929787885ce8 refs/remotes/origin/mainsoft/gh2.5_customer2
e6b84059b9c42f02c8ac4ef0db12cb7eb88b1884 refs/remotes/origin/mainsoft/gh20
70dbb8d4c74bb6796023abb7aa68fbc678eaeb80 refs/remotes/origin/mainsoft/gh20_Customer2
242fec48e07877683a58350f10922c0f0184589f refs/remotes/origin/mainsoft/gh20_mcs_Customer1
6a59dd91941bb7c7aa026bd25bfec81d6eb1a2c8 refs/remotes/origin/mainsoft/gh20preview
4bb9f1004787e4b52fe4fdb430a5f194ee634073 refs/remotes/origin/mainsoft/gh20preview2
230e23e4f318414c51301127543c01c2005c05e4 refs/remotes/origin/mainsoft/gh3.0preview1
e63e087e0e70925e5d48d0ead2fe65394e5c582d refs/remotes/origin/mainsoft/solutions_2_2
7af82877276c7b88a44deb0e6f2072c50aa28c17 refs/remotes/origin/martin/anonymous-methods2
ba3d2d20235322022f8e875849dab960bfc21b6d refs/remotes/origin/martin/debugger-kahalo
48d03791a1c8abe1d596d879031206d993a83315 refs/remotes/origin/martin/debugger-plophos
0359470b9f7a2fdaa75e4de12c9f83e78135034f refs/remotes/origin/master
41ca39c136de914adeb30deba27ecbb987e05350 refs/remotes/origin/messaging-2008
1429f06a9e3baf56245ec2433dcdb77e76eba684 refs/remotes/origin/mono-1-0
e1eb581e8a9100a929827524d1d2f91bd5685739 refs/remotes/origin/mono-1-0-6
c064f9f178339e54686526a3dd8bfd0ae7b64006 refs/remotes/origin/mono-1-1-10
b28e8eb77161f75a676f160365a860455db15476 refs/remotes/origin/mono-1-1-11
ad29bc9c3105aad5031a2ec84f3c468844e7b49d refs/remotes/origin/mono-1-1-12
a4c46a87cfcea02ab73579c998ed4e67e858b3cf refs/remotes/origin/mono-1-1-13
3f85c6d6d4c066363ae9d6e4de1ae80b954b84eb refs/remotes/origin/mono-1-1-13-8
6a546f60cfc03dc0e4ae09c4463a40f2d5acd8d0 refs/remotes/origin/mono-1-1-14
6e9f255eec4cbd8c53623d52fa26877db451bc34 refs/remotes/origin/mono-1-1-15
812f508c35b2a7247b93e59447afca83452ebc38 refs/remotes/origin/mono-1-1-16
e69a3c507851f27ff9d47d99944ee381fbd8da3e refs/remotes/origin/mono-1-1-17
9fbea2d56a024540d07b680e3eeec3310ba71f86 refs/remotes/origin/mono-1-1-18
b27152cb9d5942cbe886629f6f127fe6d1941930 refs/remotes/origin/mono-1-1-4
d305ee9a95945be36cd4517ef440ce99833068a0 refs/remotes/origin/mono-1-1-5
14db55bb39fee489de084d070ae611dd3503336d refs/remotes/origin/mono-1-1-6
939994df00fc3e1372b9dc1243e261e2f6c6c133 refs/remotes/origin/mono-1-1-7
d5fb27af2b9c68ac7bbada72c342e5b4f3072ebe refs/remotes/origin/mono-1-1-8
4f71550049b0d43f7ae41359e6f38ffa29e1f3b3 refs/remotes/origin/mono-1-1-9
0f9718c237af839c290a4c494a34d78190b99dd5 refs/remotes/origin/mono-1-2
3bb68f1bddf41c5c387e28bbd0dba65df0cca0d3 refs/remotes/origin/mono-1-2-1
c20551c1942db667672b36a07856467caace2d92 refs/remotes/origin/mono-1-2-2
e68e73c7efe7a4e28028d3c0a8c43842caf6dc21 refs/remotes/origin/mono-1-2-3
3c2f76b3001523ae712dcba5b2311a196eb9399d refs/remotes/origin/mono-1-2-4
8bb489774f42a734947859a1742ee5710efd9b49 refs/remotes/origin/mono-1-2-5
7376efd124405d50e11524bed7e91bbcb6bfc91a refs/remotes/origin/mono-1-2-6
bb0cde85b1f31230be337328ebd83d412f6b9c90 refs/remotes/origin/mono-1-9
c115636e0f354c3217920614182a3dfec4337541 refs/remotes/origin/mono-1-9-1-1
a1f3cf39287ceaca189ae1b4c06ad1677c8988cf refs/remotes/origin/mono-2-0
7a0052ae2fa0b9ff2c0dc7b6053e0e7d7630d477 refs/remotes/origin/mono-2-10
852c512d416efb6ed34493571ee87abab7f72890 refs/remotes/origin/mono-2-2
b68a5046d67794cd702518f471c6facdbb2f3a2c refs/remotes/origin/mono-2-4
d161692a50d0164906d5c0ad6ee38db141b6f7b0 refs/remotes/origin/mono-2-4-0
d4aeca63be0e9200f726545d4f8fcacd6a1e2b3f refs/remotes/origin/mono-2-4-1
7cf6ebe0e0dc6e38851a07eaac14062b9a236a19 refs/remotes/origin/mono-2-4-2
906d87f3ff47bf9d1deb9f4db57e3900bd8659ee refs/remotes/origin/mono-2-4-3
f08f8a27bfe3aafda4e430ee2365dec73c1070d7 refs/remotes/origin/mono-2-6
756688b2b8a4988117a2c68cfdba17142284e729 refs/remotes/origin/mono-2-6-4
34096b448e97ec780b3788de2b3185691bc0b9ad refs/remotes/origin/mono-2-6-7
64f045b98659b3552ae2b46b6e4e56fc9dad76e2 refs/remotes/origin/mono-2-8
c7c906d69ac9e360ce3e7d517258b8eea2b962b2 refs/remotes/origin/monotouch-1-0
62121afbb28f0b62f100ec9a942d10c5e0f4814f refs/remotes/origin/monotouch-2-0
97c6f8c4c8d592360ec365777aedb15604ec53ca refs/remotes/origin/moon-2-99-0-1
91b722f1d4b469c10c46fad3396a876c4414c87b refs/remotes/origin/moon-2-99-0-2
79e05e9d6f8eca93467f104aed4fc19733e909a7 refs/remotes/origin/moon-2-99-0-3
ddacacca00cb69f829abf9b0fd52fd6b4076d2c4 refs/remotes/origin/moon-2-99-0-4
4309c0d96184c1675aef708f26a2a058b69e5eb8 refs/remotes/origin/moon-2-99-0-5
60905d3baaa5b6ba9763c3c8b01701bb01853773 refs/remotes/origin/moon-2-99-0-6
851c48f04a8019811231bc9bd6984b0779932dcd refs/remotes/origin/moon-2-99-0-7
a36dc89129d65c4b72e9291d0fce46e0e418196c refs/remotes/origin/moon-2-99-0-8
8fa5360efd91bc9e0bdd9399f6bd484b5ecfd16a refs/remotes/origin/moon-3-99-0-1
32b3b31f74ec411d02efba37d58433ade9fa6d98 refs/remotes/origin/moon-3-99-0-2
fa856a85b50d6adbac6b5d26b32bc608887551bc refs/remotes/origin/moon/1.9.0
348617482b380275d7057e547e806c9be05bdb72 refs/remotes/origin/moon/1.9.1
0d47d8081c828d4b032564a88046a99d0284e6fd refs/remotes/origin/moon/1.9.2
50275053ad48a673500d72dccedab51e5230ad0b refs/remotes/origin/moon/1.9.3
bd19dacb396738bad75ecc8aafc1d8fc0fd6d5cd refs/remotes/origin/moon/1.9.4
f77c706aeb62483bd50e1199f52e1dadd9c520dd refs/remotes/origin/moon/1.9.5
3a5a3cf1d3fd027974b9f8281c6a9c7a22b75029 refs/remotes/origin/moon/1.9.6
ee08a4d041bdb88f49a027ce1a4f7736751a32d5 refs/remotes/origin/moon/1.99.1
c7bb5af6fcf8d1e380a8ec440c4b535c912713e0 refs/remotes/origin/moon/1.99.2
82b4a5cf1336da4f3234e85754a8780c57bb566b refs/remotes/origin/moon/1.99.3
f0a462d9db712ffcad80365561307c06e3acef3f refs/remotes/origin/moon/1.99.4
43dff9dcbf68f1ede9a467c24361a8056440c16a refs/remotes/origin/moon/1.99.5
d4674914b900cba323c2cde86e185b57553fa224 refs/remotes/origin/moon/1.99.6
51bca79c227343ce3a839c4739590406032546f6 refs/remotes/origin/moon/1.99.7
e0eee654e3532610107089762f6c73e923b71036 refs/remotes/origin/moon/1.99.8
ce62f727587b0467218a77829b30d530ca7fb524 refs/remotes/origin/moon/1.99.9
aaa43cdb8ab054b33c23ba2a16475d4108acc1f4 refs/remotes/origin/moon/moon-2-0
a56625169c0ebfd4bdfe0636b04cf3f5c5c1e057 refs/remotes/origin/mwf-handle-branch
0546b514ee0115d7e4bc08d479b952aaa59e0591 refs/remotes/origin/post-1-1-7-4-locking-exp
091a1627fdf10e7e3a12d59138bb4036711d6bdd refs/remotes/origin/post-1-1-8-locking-exp
348617482b380275d7057e547e806c9be05bdb72 refs/remotes/origin/rhowell/1.9.1
bd19dacb396738bad75ecc8aafc1d8fc0fd6d5cd refs/remotes/origin/rhowell/1.9.4
b73887c83da66d0ba9402c9cfe94936a938361a2 refs/remotes/origin/sportsmodel-branch
db39bf49379457cda6efb712dc6b9d9f007e5c9c refs/remotes/origin/vargaz/mini-linear-il
acb9e21b28520b966f30b8575d61ca7ed952134b refs/remotes/origin/vargaz/mini-xp-local-regalloc
6dc86808d6e4e1811ef8746afbd67c1eefca4b44 refs/remotes/origin/wii
2435a146a292e5cbd17d775260e69f9ffe5bd961 refs/stash
3f313cb9ecff29967ddff9bf78004f49816e804d refs/tags/1-0-5
8ee804b1c9cc92fd7bea45adb1270f3d5bbcbdf5 refs/tags/1-1-3
2fb3bf579cca787c4bbe0c2bdccc17c8ac9a189c refs/tags/2.10
668fe4cb4bf709d52ab5660e9198ed2bbcc32289 refs/tags/2.10.1
a401067f098a6c3aa8b273e06e6ccbf14a589852 refs/tags/2.10.2
66187b25b69ab736c0ff93f0b3ebf35f660fb343 refs/tags/2.10.3
d34d67f35bc2a0a48af1c37ac6af4c926df7668c refs/tags/2.8
4f90aa334e08c3137db6e2267192c1c7a14ffb84 refs/tags/2.8-p3
dd287e742d072039b81f1e7351aab45621e60ed4 refs/tags/2.8-p5
b3911d9b59b06d5e39bfa30ea572fdb167c6d478 refs/tags/2.8-p6
15122fd0a5190afc168918bc8e840eb0d3296f38 refs/tags/2.8-rc1
662ad6ee1249ceb0b9873d02034d03fee429b616 refs/tags/2.8.1
47ae77b5608c6dc0e3e5497f857c450fba3a41cf refs/tags/2.8.2
3215bf8472af3b66a836af6319bb9410fd84e2ff refs/tags/C5_0_5
a4367a4aaaa4600954eb64dfd1cc4c433b5f0e3b refs/tags/GENERICS_BASE_MERGE_POINT
5df4e8d92d45ebd27fff80d1cb3317fc6177f1cb refs/tags/GMCS_MARTIN
69876c30ff2e33d15a79f94c8a5560c7066e4900 refs/tags/GMCS_MARTIN_2
b5e0d7eaf38a4e1ec031e91508c602c0e07c14ff refs/tags/MARTIN_PLAYGROUND_TAG
c47f6de70e6a9cfc31ded537d4610efa800302f2 refs/tags/MCS_0_10
6f9059cfb80914c1f48a93bc0efc08e6404c950e refs/tags/MCS_0_11
d7a0fa3525a4baf4da535c3f5c4a6afa61fc1af7 refs/tags/MCS_0_13
af150fc45b9f08337e3c5c517d1a9ae533844927 refs/tags/MCS_0_14
3baf6444e0ba460696c78ddf2e137517664d6d0f refs/tags/MCS_0_15
2060885a61b30e2557d9e938e681842a21be7fb2 refs/tags/MCS_0_16
8a70bb1d0e07b9bda44c4fab515414dd14d98d97 refs/tags/MCS_0_17
8f0db6b55168e6cdf83a94efd6a9c1e75ce4f141 refs/tags/MCS_0_18
1bce5f4a2aab71234fd0aa56f76c71467677281e refs/tags/MCS_0_19
f4d7c3d9ef6b3198ca3436b2a9f7aaa6adfada0b refs/tags/MCS_0_20
cfaea8bc95ea12af4694be8775172ca868ffbd46 refs/tags/MCS_0_21
62975301f29e09b9d989d86986aa43dcddab4338 refs/tags/MCS_0_22
cc6c8473d625470faf0a35975e743890e615484e refs/tags/MCS_0_23
9f09256d3c73b6906965b238779b9bff5b1a39a0 refs/tags/MCS_0_24
4a048a798ca68d31088227e8e9e324358bb9b5f7 refs/tags/MCS_0_25
2c2381e666b95479893c22cddc7e75099d15cb2a refs/tags/MCS_0_26
dd05ade67bd8b0a60a8ae6a5ce7501e9085b29bc refs/tags/MCS_0_27
6e43a5d927ef22ded84720ba9497b8f54f2ef8a4 refs/tags/MCS_0_29
77702ef90fa82d99e5c1f198b79ea8a988b46c79 refs/tags/MCS_0_30
5d657d7bc63e0bf93e6e4c463d71be239d1d6db4 refs/tags/MCS_0_31
b0784aa1318048429a5c94e704a7d3554f6ea2f7 refs/tags/MCS_0_4
d02373e837c4ab265cbbfc3c685670e04a162c25 refs/tags/MCS_0_6
c275f7585f42e64da71678dd2213c76cd2554f71 refs/tags/MCS_0_8
2ba6e3293b552a4be0947afd1d39d8450a4f8237 refs/tags/MCS_0_91
39c87c56fbaf6635cfe7a81285f4c0b8612f302f refs/tags/MCS_0_95
5f2542f7633db1be8a059fd1a1ee4201361d0fa8 refs/tags/MCS_0_96
3742db035a55aa33384cf90c49336ed3bc018c8c refs/tags/MCS_0_97
06d243aef744202bf37a0aa21de8c15bf427a85a refs/tags/MCS_1_0
251a5dabc98ac219c962f950dcef2489c90da2ad refs/tags/MCS_1_0_2
081f745091ca69547afa8c929862a2f5a533c206 refs/tags/MCS_1_0_3
c0ce58ee90ee63da82639d8cccd11f9b2b73d857 refs/tags/MCS_1_0_4
20f50bbc55de5f443511d3670d3b4f597d55e485 refs/tags/MCS_1_1_1
25d006bb42129274760a3bffba0c1289052c21c4 refs/tags/MCS_1_1_2
2f5e6232d1c49b739354a58a5bca5d150bcfdcc3 refs/tags/MCS_JULY_17
2c94e8b66e745c4b06312aafae63f85b8129d0b2 refs/tags/MONO_0_10
ca778a895886cd1f2f1e1dd354955b3e647e6fce refs/tags/MONO_0_11
4f02ecaa9dd5a59c7edce294d255efa58daf61d5 refs/tags/MONO_0_13
adb7ff32d1132ffae1c357388d78d61044931873 refs/tags/MONO_0_14
248504d80db5ae00ea6ab790c602db54db265bdb refs/tags/MONO_0_15
32e69fe2dd5f540b7afcc51260fdf80cd78ebc5d refs/tags/MONO_0_16
f64163bfd7a8049d46518c9ec4efeb5ce3fbb186 refs/tags/MONO_0_17
66332d9ef6f1bc809742c5d3f6410f28f33d717c refs/tags/MONO_0_18
8466b5c35a24c80437a4425608d63e96890c1ae1 refs/tags/MONO_0_19
52b84743694e5f3aa99a1175b151e4bf05d77843 refs/tags/MONO_0_20
46a6b24b434d1ffef5d880099e35872f89fe5a9d refs/tags/MONO_0_21
d32321a6f9da81443d439b33205911efb8229d47 refs/tags/MONO_0_22
8d12301369b39c5737b6eeba8ad47952ecf6482d refs/tags/MONO_0_23
23631f018af1aa50b3d2f7a26ac2ac02c10a9641 refs/tags/MONO_0_24
24ca06b662e3f2a6f7ea59941ea55bbc5e756eb6 refs/tags/MONO_0_25
0d77b961f51dbd9578cc4c0a71e00700d80331c7 refs/tags/MONO_0_26
3c95965b2e209ade91865de62f0a5c3477f83a6e refs/tags/MONO_0_27
395708bec98015ea736ec2c7140a638c72e02450 refs/tags/MONO_0_29
3a24638a9150b340a731bf94621d5abd4cb84211 refs/tags/MONO_0_3
34822afe22085dcdfa99db23ce024c95f39c5328 refs/tags/MONO_0_30
7f5304f8a86db6bdbd5acc97cbf3e94085bead41 refs/tags/MONO_0_31
08cc744ea34ddc11b5e66d62b5681963d3997365 refs/tags/MONO_0_4
ac6a0aff32ced61f3a858961fb0d27679bbd8504 refs/tags/MONO_0_5
9a80f7e7814c11e580621af662a60c5761bb112e refs/tags/MONO_0_6
5bafbfd3411626e5916657ff37179f11628dfdac refs/tags/MONO_0_7
dc0e724dcc70b038ed7d89a7d04baabe1fb9a6e9 refs/tags/MONO_0_8
885709d3bcac901227fac48c0efd63748b88afaa refs/tags/MONO_0_9
3cadc5c762015237c99861f093f8dc2f862133c2 refs/tags/MONO_0_91
a00b9074aa531be3c4a905da7a15786212f14f97 refs/tags/MONO_0_93
c055406f4431bf7695c29026845ac841eea3c1d9 refs/tags/MONO_0_94
920d6fe40d1df03aba5698e8bb1ccca5aa75b3d8 refs/tags/MONO_0_95
0cbb90c2046182f209495aa451ad4cba06bfcc06 refs/tags/MONO_0_96
ffa02af22854b2be49708684d2483a7c0624dda4 refs/tags/MONO_0_97
35e34e2d9dd04d14aea6358ff7ec55763f203fe8 refs/tags/MONO_0_99_2
6340550c2b181e5561266f61093bf581ca275314 refs/tags/MONO_1_0
72b6c41eebe173dfe7cb517deb05961f44dbfb8a refs/tags/MONO_1_0_1
1bae59437320c2cdbcda814b06f43993327ed5a5 refs/tags/MONO_1_0_2
13f4c1a27734a2815a42d3f8826dedfee4744fd1 refs/tags/MONO_1_0_3
408a59e440bbe3dd331ad8ebba505eabcef56157 refs/tags/MONO_1_0_4
8c2a6ff51b3864ee8cd7574d2c55da804fba188e refs/tags/MONO_1_1_1
679f766f0d8c4c56d6cbfe6348c84f6095b5304f refs/tags/MONO_1_1_2
0ed4ed7b6a21f51760f9a1d9a7b5eb4074e09fb2 refs/tags/MONO_BETA2
7f0542b133e5f1eee15f337e0263c14406091a7e refs/tags/NUNIT_1_11
4e4824afab6cd0f9f0d71aa6baeddb7bee74f8c4 refs/tags/RHYS_20020821
e2b6cbaf2793354590a7fe542afe811aa03d0a2e refs/tags/cecil-0.6
cc871f21d86765c372ffd71615de2a5252ce2832 refs/tags/last-commit-with-compulsory-changelog-entry
3f313cb9ecff29967ddff9bf78004f49816e804d refs/tags/mono-1-0-5
c064f9f178339e54686526a3dd8bfd0ae7b64006 refs/tags/mono-1-1-10-1
2dbb2f7a7d72a49b068c3d17aa7cb04aaeeac735 refs/tags/mono-1-1-12-1
0e6e9da90b12ca5c445a3b1eaeb7581dc792c016 refs/tags/mono-1-1-13-1
24906dde223bd634fe2b5ec231ba399eb01ed85e refs/tags/mono-1-1-13-2
933491861325258994290ac573f66db398b2151c refs/tags/mono-1-1-13-3
fbc561d17c6310b2d9c94c37e673956f64956d2b refs/tags/mono-1-1-13-4
5555a9e8dabb3bb9d94d18cb10236e331ff6652c refs/tags/mono-1-1-13-5
33ab4bee8e165e330c6abd3385bb09357afd892a refs/tags/mono-1-1-13-6
6b2f395ce41d181672c1032c0bada5013589aa9d refs/tags/mono-1-1-13-7
7d44efe136a8b624639e244b407694012767d8b2 refs/tags/mono-1-1-13-8-1
3f85c6d6d4c066363ae9d6e4de1ae80b954b84eb refs/tags/mono-1-1-13-8-2
680b340f6d3d64c649c03a35a3946a969c75b9c8 refs/tags/mono-1-1-16-1
3f259856c6b748da5e9db392231bc4cf02067625 refs/tags/mono-1-1-17-1
e69a3c507851f27ff9d47d99944ee381fbd8da3e refs/tags/mono-1-1-17-2
97263cd3ede795aa9214ef6f511a6986caa1d10a refs/tags/mono-1-1-18-1
8ee804b1c9cc92fd7bea45adb1270f3d5bbcbdf5 refs/tags/mono-1-1-3
14db55bb39fee489de084d070ae611dd3503336d refs/tags/mono-1-1-6-2
0e3bb5c75d0e2e46654b01bf9cf2c564fcf36186 refs/tags/mono-1-1-7-1
9fe352c95dea8ef63bc54837a902297643ad95cb refs/tags/mono-1-1-7-10
3212bc410d77569c636eee658215f6ef26727022 refs/tags/mono-1-1-7-11
3a154ae091c27cacef8da21bbcd802c6b20a5fdc refs/tags/mono-1-1-7-12
2dd8006e8e79bb0b6695e83e8b9f8c75614b73cd refs/tags/mono-1-1-7-13
da175f964d6ff43a290436b99dea5c4c874f7d77 refs/tags/mono-1-1-7-14
ce91af0332902c2227985cf72e5267dc93f0082f refs/tags/mono-1-1-7-2
8dd4410b0519704c213252c27e12bc2c3d2f5644 refs/tags/mono-1-1-7-3
669e1211f916836ed1151d494ef6363f477c6875 refs/tags/mono-1-1-7-4
cb211e4e89523e37865b46c53bab8c13667904a5 refs/tags/mono-1-1-7-5
212070688ad11ff8d6db9c79a7a354e73dce0169 refs/tags/mono-1-1-7-6
475bb6ed37428ae214db51de76144ddfc461eab2 refs/tags/mono-1-1-7-7
4163439d14083fe6c88ba52d66d32f1c199e134a refs/tags/mono-1-1-7-8
db8b68eb75dd8a1773ea380c5ab299ecb96a02e8 refs/tags/mono-1-1-7-9
9e4af11a75bbde3b9aa45a8c8dc2a9d28c327ca7 refs/tags/mono-1-1-8-1
97f8625d1092a3087d2561e6a8fd5fec9548ddf8 refs/tags/mono-1-1-8-2
c9228135a78dc90b0fada472767b7501c10a10a1 refs/tags/mono-1-1-8-3
b29c6d9321ae353d5587552c5fd8a3990ef25b8d refs/tags/mono-1-1-9-1
c20187f291f7ab63b0039cc6ea1d0aec666357bc refs/tags/mono-1-1-9-2
434ed78f2343b3c7a2ceb2431bf6e6f3fda96b9d refs/tags/mono-1-2-2-1
6b2181df333da3201aa21e7aac7af0092a95f155 refs/tags/mono-1-2-3-1
e27148fde898ecd8b315ed811d69174ca770f3fe refs/tags/mono-1-2-3-50
ef21dfa4f165958a8d6e643e67fc2fbdc6a4b193 refs/tags/mono-1-2-5-1
97512982957dd59e98473df4de5d023831076ac8 refs/tags/mono-1-2-5-2
b80cb128d794441da87095b62dda79fc977b43a2 refs/tags/mono-1-2-5-p4
3099f3ce8d009126b71e2856744953b706b153b3 refs/tags/mono-1-2-5-p5
59c864c22a7ba865e3d641048f143eef3d78e3bb refs/tags/mono-1-9-1
65cf8c16c5248ce0e3ca9321422e3f3d47e44054 refs/tags/mono-1-9-1-p2
2b3bfcb002d9e7dc8b5bb9e93d5416fa3a7f4a24 refs/tags/mono-1-9-p3
e1eb581e8a9100a929827524d1d2f91bd5685739 refs/tags/mono-1.0.6
269d024dc2796fbffd5b2603cfce01199ddfa354 refs/tags/mono-1.1.10
b28e8eb77161f75a676f160365a860455db15476 refs/tags/mono-1.1.11
f2631aa17b0296460a815794f4c2c1d6dccc1cd3 refs/tags/mono-1.1.12
97c08a345189de79332e75268f5ac806caa800f8 refs/tags/mono-1.1.13
0aea5e52ca5def84eb4bea45a32c46c38382ce54 refs/tags/mono-1.1.13.8
6a546f60cfc03dc0e4ae09c4463a40f2d5acd8d0 refs/tags/mono-1.1.14
6e9f255eec4cbd8c53623d52fa26877db451bc34 refs/tags/mono-1.1.15
fda57d1297a00855038778e4b3c55125cd5b6f6d refs/tags/mono-1.1.16
f0eb908832c00425cb56a563c4d2c2253aa99801 refs/tags/mono-1.1.17
d973adf739079a754013a7aabaf062c6e8362d58 refs/tags/mono-1.1.18
f0cc7b722514f9a66636fbdc2ba46d2ad09290da refs/tags/mono-1.1.4
d305ee9a95945be36cd4517ef440ce99833068a0 refs/tags/mono-1.1.5
4a93eca61ace3b72e9c7d3241e22894ac6527751 refs/tags/mono-1.1.6
999eedbde2286858dee3a28b3de17cf7c7ee6aa3 refs/tags/mono-1.1.7
38ba17f8fba52022c8be480c4d0b7790502fcf5d refs/tags/mono-1.1.8
0c12971f275e1e95d86fcdb69bb3a16782c96c00 refs/tags/mono-1.1.9
d0f800d5aae075fbaec91be79776b05fea6d8b2b refs/tags/mono-1.2
7e26594b5acf982ca712d81018e01192f3698934 refs/tags/mono-1.2.1
3482a0b686b1717a6a7639bdde43123fda150a37 refs/tags/mono-1.2.2
203611f08d6864575fd244f513e8c800fe04538e refs/tags/mono-1.2.3
69353f911160fe45163b3514df295ee5bca196e3 refs/tags/mono-1.2.4
e659f8968d2943e94136787d0256de16d8c21dcc refs/tags/mono-1.2.5
040ba14063f6b9933ac89835e71bd813ca140dc7 refs/tags/mono-1.2.6
e80fe9efc2b64aacf06657cc8951c9739513069d refs/tags/mono-1.9
fa2352e7bba168ce21f63ccdb59cce70e69b0b98 refs/tags/mono-1.9.1.1
ad1e78b37d014bb15d5396736d9db71bb37a902c refs/tags/mono-2-0-1
94c037f620e2f32ca4d0925785e77345bf9436b3 refs/tags/mono-2-0-1-rc1
57dbdb3e42c98860392c8eeccbcbdf3df50ee461 refs/tags/mono-2-0-p1
d7b1a66b945f37e7a62ce28a2cbb4618dbca842b refs/tags/mono-2-0-p2
28021d9e5cc4e8837fb8e060e222e93ed5b6963e refs/tags/mono-2-0-rc1
d33e20924be8193235f574a1da78e7d44b229f21 refs/tags/mono-2-0-rc2
245f79b651af761ca0929d77f14c06e77e56b5fa refs/tags/mono-2-0-rc3
c43c7090b668525e8d6730206883b76b1cd7e8c1 refs/tags/mono-2-2-p1
50619fe4f49cc9358be684132ea197993d3748b1 refs/tags/mono-2-2-p2
dc330f3d57eb21109243f16df6ba7001a68bb963 refs/tags/mono-2-2-p3
08038cbf3b982239d9ed74f6181576a7caf308b4 refs/tags/mono-2-2-rc1
abb08d231bb68b63beb4f34f4c4bab8f3a607092 refs/tags/mono-2-4-2-1
b79738dc7f734a78039567ea35f4e6a7d319a227 refs/tags/mono-2-4-2-2
f79a3230c2f0a8d80b36cdbe067c53e36374a017 refs/tags/mono-2-4-2-3
f64925baf83a71bfffa278c15da8baf6a7d851c2 refs/tags/mono-2-4-2-3-rc1
7337b45f49fadaff8f310b5d432240128b82786d refs/tags/mono-2-4-2-3-rc2
f79a3230c2f0a8d80b36cdbe067c53e36374a017 refs/tags/mono-2-4-2-3-rc3
ab03b83eb4ed48e7f3d667c279ae60335d5c850d refs/tags/mono-2-4-2-p1
8e9b735376ea0dc09c1b0234e0ce8941f0e8dab9 refs/tags/mono-2-4-2-p2
01bbe61085220e441170e93e38c87368cf6726f1 refs/tags/mono-2-4-2-rc1
8a7c716e20f2aeadbe827b5d532fe36f69e74568 refs/tags/mono-2-4-2-rc2
6bf1e1ea5f2d2586bafdd14f1fe538e080a6d5ba refs/tags/mono-2-4-3-1
dc279e74dc85301bb23db6de78d537cb0da9fe9e refs/tags/mono-2-4-p1
c2752833c4c451a9cff77175801370c359b5850e refs/tags/mono-2-6
3a989e7d01e337d2c77bb3218effe39f9ed90a02 refs/tags/mono-2-6-1
53acd8e07620008e5354170ff2ad479db5d200cb refs/tags/mono-2-6-3
3a79ccf17838b6b1d0806cb123428ee065d3d30f refs/tags/mono-2-6-7
43e34e922109adb8cbf6aaaf1dbc1dce3350f88f refs/tags/mono-2-6-p1
1c102ac0d51469c9c4dd245b82ff8a3cc485a67e refs/tags/mono-2-6-rc1
e117097e1f1f8a3cddaac9fb71d86661b6a10b22 refs/tags/mono-2.0
470791b186ea8326f205f17ce2eadac2ff86a564 refs/tags/mono-2.2
27589b59b90f81fb88ab69eee320449c8cf65780 refs/tags/mono-2.4
8a7c716e20f2aeadbe827b5d532fe36f69e74568 refs/tags/mono-2.4.2
1a9965fb222300fafa0eda42cf33c9ab8ff90faf refs/tags/mono-2.4.3
c2752833c4c451a9cff77175801370c359b5850e refs/tags/mono-2.6
680b5eb2d695de54fe4eb3210c07722ef60e5a4b refs/tags/mono-2.6.4
6623fc543d66d06121d7c7cfbe9f5bfa3ed8cf3d refs/tags/mono-android-1-0
7dcae3becc62fdbd1934b5c8b0e924bfe9e72921 refs/tags/monotouch-1-3
781cdd1e28a8060fb31c16817bdff2024002e304 refs/tags/monotouch-1-4
51a238609c4c196985d2fcc3c1edf10442ff94de refs/tags/monotouch-1.0
fa856a85b50d6adbac6b5d26b32bc608887551bc refs/tags/moon-1.9.0
348617482b380275d7057e547e806c9be05bdb72 refs/tags/moon-1.9.1
0d47d8081c828d4b032564a88046a99d0284e6fd refs/tags/moon-1.9.2
1163a482f7430930bee670cf4c6721ecf9880974 refs/tags/moon-1.99.1
c7bb5af6fcf8d1e380a8ec440c4b535c912713e0 refs/tags/moon-1.99.2
d4674914b900cba323c2cde86e185b57553fa224 refs/tags/moon-1.99.6
ee08a4d041bdb88f49a027ce1a4f7736751a32d5 refs/tags/moon/1.99.1.1
19f1c05c5471440bebaa4b29753c831c6c876312 refs/tags/moon/2.0
a17f894b666841189aeffb3d2a172c63c9f4f0b6 refs/tags/moon/2.1
a17f894b666841189aeffb3d2a172c63c9f4f0b6 refs/tags/moon/2.2
a17f894b666841189aeffb3d2a172c63c9f4f0b6 refs/tags/moon/moon-2-3
4147a93068116c5ff6b872fd7cf877af3d4ec04a refs/tags/sportsmodel-base
b07fca3e4eb4ce853b265956eb399f5649220559 refs/tags/type-reflector_0_2
+2 -642
View File
@@ -23,39 +23,9 @@ TestVectorList
__bsd_dtoa
bsd_strtod
TestBlittableClass
SByteIn
ShortIn
test_method_thunk
UIntIn
ULongIn
UShortIn
add_delegate
ByteIn
DoubleIn
FloatIn
get_ITest
IntIn
ITestIn
ITestOut
LongIn
#
# Produced by the tests
#
mono_invoke_delegate
mono_invoke_simple_delegate
mono_safe_handle_ref
mono_safe_handle_return
mono_safe_handle_struct
mono_safe_handle_struct_ref
mono_safe_handle_struct_simple
mono_test_marshal_inout_byval_class_delegate
mono_test_marshal_lpstruct
mono_test_marshal_lpstruct_blittable
mono_test_marshal_pass_inout_custom
mono_test_marshal_pass_out_byval_custom
mono_test_marshal_return_fnptr
mono_xr
mono_xr_as_handle
mono_test_asany
mono_test_byvalstr_check
mono_test_byvalstr_gen
@@ -141,108 +111,6 @@ mono_test_marshal_return_enum_delegate
mono_test_return_vtype
mono_test_split_double_arguments
mono_test_stdcall_name_mangling
mono_test_managed_marshal_bool_in
mono_test_managed_marshal_bool_out
mono_test_managed_marshal_bool_ref
mono_test_managed_Winx64_struct1_in
mono_test_managed_Winx64_struct1_struct5_in
mono_test_managed_Winx64_struct5_in
mono_test_marshal_asany_in
mono_test_marshal_asany_out
mono_test_marshal_bool_in
mono_test_marshal_bool_in_as_I1_U1
mono_test_marshal_bool_out
mono_test_marshal_bool_out_as_I1_U1
mono_test_marshal_bool_ref
mono_test_marshal_bool_ref_as_I1_U1
mono_test_marshal_bstr_in
mono_test_marshal_bstr_in_null
mono_test_marshal_bstr_out
mono_test_marshal_bstr_out_null
mono_test_marshal_byref_string_delegate
mono_test_marshal_ccw_itest
mono_test_marshal_com_object_create
mono_test_marshal_com_object_destroy
mono_test_marshal_com_object_ref_count
mono_test_marshal_com_object_same
mono_test_marshal_custom_out_param_delegate
mono_test_marshal_date_time
mono_test_marshal_long_struct
mono_test_marshal_out_delegate
mono_test_marshal_pass_return_float
mono_test_marshal_return_unicode_string_delegate
mono_test_marshal_variant_in_bool_false
mono_test_marshal_variant_in_bool_false_unmanaged
mono_test_marshal_variant_in_bool_true
mono_test_marshal_variant_in_bool_true_unmanaged
mono_test_marshal_variant_in_bstr
mono_test_marshal_variant_in_bstr_unmanaged
mono_test_marshal_variant_in_byte
mono_test_marshal_variant_in_byte_unmanaged
mono_test_marshal_variant_in_double
mono_test_marshal_variant_in_double_unmanaged
mono_test_marshal_variant_in_float
mono_test_marshal_variant_in_float_unmanaged
mono_test_marshal_variant_in_int
mono_test_marshal_variant_in_int_unmanaged
mono_test_marshal_variant_in_long
mono_test_marshal_variant_in_long_unmanaged
mono_test_marshal_variant_in_sbyte
mono_test_marshal_variant_in_sbyte_unmanaged
mono_test_marshal_variant_in_short
mono_test_marshal_variant_in_short_unmanaged
mono_test_marshal_variant_in_uint
mono_test_marshal_variant_in_uint_unmanaged
mono_test_marshal_variant_in_ulong
mono_test_marshal_variant_in_ulong_unmanaged
mono_test_marshal_variant_in_ushort
mono_test_marshal_variant_in_ushort_unmanaged
mono_test_marshal_variant_out_bool_false
mono_test_marshal_variant_out_bool_false_unmanaged
mono_test_marshal_variant_out_bool_true
mono_test_marshal_variant_out_bool_true_unmanaged
mono_test_marshal_variant_out_bstr
mono_test_marshal_variant_out_bstr_unmanaged
mono_test_marshal_variant_out_byte
mono_test_marshal_variant_out_byte_unmanaged
mono_test_marshal_variant_out_double
mono_test_marshal_variant_out_double_unmanaged
mono_test_marshal_variant_out_float
mono_test_marshal_variant_out_float_unmanaged
mono_test_marshal_variant_out_int
mono_test_marshal_variant_out_int_unmanaged
mono_test_marshal_variant_out_long
mono_test_marshal_variant_out_long_unmanaged
mono_test_marshal_variant_out_sbyte
mono_test_marshal_variant_out_sbyte_unmanaged
mono_test_marshal_variant_out_short
mono_test_marshal_variant_out_short_unmanaged
mono_test_marshal_variant_out_uint
mono_test_marshal_variant_out_uint_unmanaged
mono_test_marshal_variant_out_ulong
mono_test_marshal_variant_out_ulong_unmanaged
mono_test_marshal_variant_out_ushort
mono_test_marshal_variant_out_ushort_unmanaged
mono_test_Winx64_doubleStruct
mono_test_Winx64_floatStruct
mono_test_Winx64_struct1_in
mono_test_Winx64_struct1_ret
mono_test_Winx64_struct1_ret_5_args
mono_test_Winx64_struct1_ret_managed
mono_test_Winx64_struct2_in
mono_test_Winx64_struct2_ret
mono_test_Winx64_struct3_in
mono_test_Winx64_struct3_ret
mono_test_Winx64_struct4_in
mono_test_Winx64_struct4_ret
mono_test_Winx64_struct5_in
mono_test_Winx64_struct5_ret
mono_test_Winx64_struct5_ret6_args
mono_test_Winx64_struct5_ret_managed
mono_test_Winx64_struct6_in
mono_test_Winx64_structs_in1
mono_test_Winx64_structs_in2
mono_test_Winx64_structs_in3
mono_union_test_1
NameManglingAnsi
NameManglingAnsi2A
@@ -275,7 +143,6 @@ mono_return_sc1
mono_return_sc3
mono_return_sc5
mono_return_ss
mono_profiler_startup
#
# The following are internal calls that are exposed because of cross
# library dependencies but could be private
@@ -316,6 +183,7 @@ mono_metadata_signature_deep_dup
mono_metadata_get_param_attrs
mono_metadata_load_generic_param_constraints
mono_find_jit_opcode_emulation
mono_marshal_get_ldflda_wrapper
mono_debug_free_method_jit_info
mono_jit_info_table_add
mono_jit_info_table_remove
@@ -536,16 +404,6 @@ mono_print_code
mono_method_same_domain
mono_register_opcode_emulation
#
# mono_shared_area: this is used by the performance counters, not sure that
# this is worth documenting to the public
#
mono_shared_area
mono_shared_area_for_pid
mono_shared_area_instances
mono_shared_area_remove
mono_shared_area_unload
#
#
# I believe these are internal, but I should check with the JIT guys
#
mono_assembly_open_full
@@ -594,398 +452,8 @@ alu_reg_to_alu_membase_imm
mono_secman_inheritancedemand_method
mono_secman_inheritancedemand_class
#
# From the GC
#
GC_abort
GC_acquire_mark_lock
GC_add_ext_descriptor
GC_add_leaked
GC_add_map_entry
GC_add_roots
GC_add_roots_inner
GC_add_smashed
GC_add_to_black_list_normal
GC_add_to_black_list_stack
GC_add_to_fl
GC_add_to_heap
GC_adj_words_allocd
GC_allochblk
GC_allochblk_nth
GC_alloc_large
GC_alloc_large_and_clear
GC_allocobj
GC_alloc_reclaim_list
GC_apply_to_all_blocks
GC_apply_to_maps
GC_approx_sp
GC_array_mark_proc
GC_base
GC_bl_init
GC_block_empty
GC_block_nearly_full
GC_block_nearly_full1
GC_block_nearly_full3
GC_block_was_dirty
GC_build_fl
GC_build_fl1
GC_build_fl2
GC_build_fl4
GC_build_fl_clear2
GC_build_fl_clear3
GC_build_fl_clear4
GC_calloc_explicitly_typed
GC_call_with_alloc_lock
GC_change_stubborn
GC_check_annotated_obj
GC_check_heap_block
GC_check_heap_proc
GC_clear_a_few_frames
GC_clear_bl
GC_clear_fl_links
GC_clear_fl_marks
GC_clear_hdr_marks
GC_clear_mark_bit
GC_clear_marks
GC_clear_roots
GC_clear_stack
GC_clear_stack_inner
GC_collect_a_little
GC_collect_a_little_inner
GC_collection_in_progress
GC_collect_or_expand
GC_cond_register_dynamic_libraries
GC_continue_reclaim
GC_copy_bl
GC_debug_change_stubborn
GC_debug_end_stubborn_change
GC_debug_free
GC_debug_free_inner
GC_debug_gcj_fast_malloc
GC_debug_gcj_malloc
GC_debug_invoke_finalizer
GC_debug_malloc
GC_debug_malloc_atomic
GC_debug_malloc_atomic_ignore_off_page
GC_debug_malloc_atomic_uncollectable
GC_debug_malloc_ignore_off_page
GC_debug_malloc_replacement
GC_debug_malloc_stubborn
GC_debug_malloc_uncollectable
GC_debug_print_heap_obj_proc
GC_debug_realloc
GC_debug_realloc_replacement
GC_debug_register_displacement
GC_debug_register_finalizer
GC_debug_register_finalizer_ignore_self
GC_debug_register_finalizer_no_order
GC_default_is_valid_displacement_print_proc
GC_default_is_visible_print_proc
GC_default_oom_fn
GC_default_print_heap_obj_proc
GC_default_push_other_roots
GC_default_same_obj_print_proc
GC_default_warn_proc
GC_delete_gc_thread
GC_delete_thread
GC_descr_obj_size
GC_destroy_thread_local
GC_dirty_init
GC_disable
GC_disable_signals
GC_dlopen
GC_do_local_mark
GC_do_nothing
GC_do_parallel_mark
GC_double_descr
GC_dump
GC_dump_finalization
GC_dump_regions
GC_enable
GC_enable_incremental
GC_enable_signals
GC_end_blocking
GC_end_stubborn_change
GC_enqueue_all_finalizers
GC_err_printf
GC_err_puts
GC_err_write
GC_exclude_static_roots
GC_exit_check
GC_expand_hp
GC_expand_hp_inner
GC_extend_size_map
GC_fault_handler
GC_finalize
GC_finalize_all
GC_find_header
GC_find_limit
GC_find_start
GC_finish_collection
GC_free
GC_free_block_ending_at
GC_freehblk
GC_free_inner
GC_gcj_fast_malloc
GC_gcj_malloc
GC_gcj_malloc_ignore_off_page
GC_gcollect
GC_general_register_disappearing_link
GC_generic_lock
GC_generic_malloc
GC_generic_malloc_ignore_off_page
GC_generic_malloc_inner
GC_generic_malloc_inner_ignore_off_page
GC_generic_malloc_many
GC_generic_malloc_words_small
GC_generic_malloc_words_small_inner
GC_generic_or_special_malloc
GC_generic_push_regs
GC_get_bytes_since_gc
GC_get_first_part
GC_get_free_bytes
GC_get_heap_size
GC_get_nprocs
GC_get_stack_base
GC_get_suspend_signal
GC_get_total_bytes
GC_grow_table
GC_has_other_debug_info
GC_hblk_fl_from_blocks
GC_help_marker
GC_ignore_self_finalize_mark_proc
GC_incremental_protection_needs
GC_incr_mem_freed
GC_incr_words_allocd
GC_init
GC_init_explicit_typing
GC_init_gcj_malloc
GC_init_headers
GC_initiate_gc
GC_init_inner
GC_init_linux_data_start
GC_init_parallel
GC_init_size_map
GC_init_thread_local
GC_install_counts
GC_install_header
GC_invalidate_map
GC_invalidate_mark_state
GC_invoke_finalizers
GC_is_black_listed
GC_is_fresh
GC_is_marked
GC_is_static_root
GC_is_valid_displacement
GC_is_visible
GC_key_create
GC_linux_stack_base
GC_local_gcj_fast_malloc
GC_local_gcj_malloc
GC_local_malloc
GC_local_malloc_atomic
GC_lock
GC_lookup_thread
GC_make_array_descriptor
GC_make_closure
GC_make_descriptor
GC_make_sequence_descriptor
GC_malloc
GC_malloc_atomic
GC_malloc_atomic_ignore_off_page
GC_malloc_atomic_uncollectable
GC_malloc_explicitly_typed
GC_malloc_explicitly_typed_ignore_off_page
GC_malloc_ignore_off_page
GC_malloc_many
GC_malloc_stubborn
GC_malloc_uncollectable
GC_mark_and_push
GC_mark_and_push_stack
GC_mark_from
GC_mark_init
GC_mark_local
GC_mark_some
GC_mark_stack_empty
GC_mark_thread
GC_mark_thread_local_free_lists
GC_max
GC_maybe_gc
GC_memalign
GC_merge_unmapped
GC_min
GC_mono_debugger_get_stack_ptr
GC_never_stop_func
GC_new_free_list
GC_new_free_list_inner
GC_new_hblk
GC_new_kind
GC_new_kind_inner
GC_new_proc
GC_new_proc_inner
GC_new_thread
GC_next_exclusion
GC_next_used_block
GC_noop
GC_noop1
GC_normal_finalize_mark_proc
GC_notify_all_builder
GC_notify_all_marker
GC_notify_full_gc
GC_notify_or_invoke_finalizers
GC_n_set_marks
GC_null_finalize_mark_proc
GC_number_stack_black_listed
GC_on_stack
GC_page_was_dirty
GC_page_was_ever_dirty
GC_pause
GC_post_incr
GC_pre_incr
GC_prev_block
GC_print_address_map
GC_print_all_errors
GC_print_all_smashed_proc
GC_print_block_descr
GC_print_block_list
GC_printf
GC_print_finalization_stats
GC_print_hblkfreelist
GC_print_heap_sects
GC_print_obj
GC_print_smashed_obj
GC_print_source_ptr
GC_print_static_roots
GC_print_type
GC_project2
GC_promote_black_lists
GC_pthread_create
GC_pthread_detach
GC_pthread_join
GC_pthread_sigmask
GC_push_all
GC_push_all_eager
GC_push_all_stack
GC_push_all_stacks
GC_push_complex_descriptor
GC_push_conditional
GC_push_conditional_with_exclusions
GC_push_current_stack
GC_push_finalizer_structures
GC_push_gc_structures
GC_push_marked
GC_push_marked1
GC_push_marked2
GC_push_marked4
GC_push_next_marked
GC_push_next_marked_dirty
GC_push_next_marked_uncollectable
GC_push_one
GC_push_roots
GC_push_selected
GC_push_stubborn_structures
GC_push_thread_structures
GC_read_dirty
GC_realloc
GC_reclaim1
GC_reclaim_all
GC_reclaim_block
GC_reclaim_check
GC_reclaim_clear
GC_reclaim_clear2
GC_reclaim_clear4
GC_reclaim_generic
GC_reclaim_small_nonempty_block
GC_reclaim_uninit
GC_reclaim_uninit2
GC_reclaim_uninit4
GC_register_data_segments
GC_register_describe_type_fn
GC_register_disappearing_link
GC_register_displacement
GC_register_displacement_inner
GC_register_dynamic_libraries
GC_register_dynamic_libraries_dl_iterate_phdr
GC_register_finalizer
GC_register_finalizer_ignore_self
GC_register_finalizer_inner
GC_register_finalizer_no_order
GC_register_main_static_data
GC_release_mark_lock
GC_remap
GC_remove_allowed_signals
GC_remove_counts
GC_remove_from_fl
GC_remove_header
GC_remove_protection
GC_remove_roots
GC_remove_roots_inner
GC_remove_specific
GC_remove_tmp_roots
GC_repeat_read
GC_reset_fault_handler
GC_restart_handler
GC_return_mark_stack
GC_roots_present
GC_same_obj
GC_scratch_alloc
GC_set_and_save_fault_handler
GC_set_fl_marks
GC_set_free_space_divisor
GC_set_hdr_marks
GC_set_mark_bit
GC_set_max_heap_size
GC_setpagesize
GC_setspecific
GC_setup_temporary_fault_handler
GC_set_warn_proc
GC_should_collect
GC_should_invoke_finalizers
GC_signal_mark_stack_overflow
GC_size
GC_sleep
GC_slow_getspecific
GC_split_block
GC_start_blocking
GC_start_debugging
GC_start_reclaim
GC_start_routine
GC_start_routine_head
GC_start_world
GC_steal_mark_stack
GC_stop_init
GC_stopped_mark
GC_stop_world
GC_store_debug_info
GC_suspend_all
GC_suspend_handler
GC_thread_deregister_foreign
GC_thread_exit_proc
GC_thread_is_registered
GC_thread_register_foreign
GC_thr_init
GC_timeout_stop_func
GC_true_func
GC_try_to_collect
GC_try_to_collect_inner
GC_typed_mark_proc
GC_unix_get_mem
GC_unmap
GC_unmap_end
GC_unmap_gap
GC_unmap_old
GC_unmap_start
GC_unpromote_black_lists
GC_unregister_disappearing_link
GC_wait_builder
GC_wait_for_gc_completion
GC_wait_for_reclaim
GC_wait_marker
GC_with_callee_saves_pushed
GC_write
#
# Produced by matching against the MONO_INTERNAL macro
#
type_to_eval_stack_type
mono_regstate_free
mono_regstate_free_float
mono_regstate_free_int
@@ -1006,112 +474,4 @@ mono_trace_enable
mono_trace_is_enabled
mono_trace_eval
mono_trace_leave_method
mono_trace_enter_method
img_writer_create
img_writer_destroy
img_writer_emit_alignment
img_writer_emit_byte
img_writer_emit_bytes
img_writer_emit_global
img_writer_emit_int16
img_writer_emit_int32
img_writer_emit_label
img_writer_emit_line
img_writer_emit_local_symbol
img_writer_emit_pointer
img_writer_emit_pointer_unaligned
img_writer_emit_pop_section
img_writer_emit_push_section
img_writer_emit_reloc
img_writer_emit_section_change
img_writer_emit_start
img_writer_emit_string
img_writer_emit_symbol_diff
img_writer_emit_symbol_size
img_writer_emit_unset_mode
img_writer_emit_writeout
img_writer_emit_zero_bytes
img_writer_get_fp
img_writer_get_output
img_writer_get_temp_label_prefix
img_writer_set_section_addr
img_writer_subsections_supported
mono_verifier_set_mode
mono_verifier_enable_verify_all
mono_verifier_is_enabled_for_image
mono_verifier_is_enabled_for_method
mono_verifier_is_enabled_for_class
mono_verifier_is_method_full_trust
mono_verifier_is_class_full_trust
mono_verifier_verify_class
mono_verifier_verify_pe_data
mono_verifier_verify_cli_data
mono_verifier_verify_table_data
mono_verifier_verify_full_table_data
mono_verifier_verify_field_signature
mono_verifier_verify_method_header
mono_verifier_verify_method_signature
mono_verifier_verify_memberref_signature
mono_verifier_verify_standalone_signature
mono_verifier_verify_typespec_signature
mono_verifier_verify_methodspec_signature
mono_unwind_cleanup
mono_unwind_frame
mono_unwind_get_dwarf_data_align
mono_unwind_get_dwarf_pc_reg
mono_unwind_get_ops_from_fde
mono_unwind_init
mono_unwind_ops_encode
mono_marshal_get_ldflda_wrapper
mono_marshal_cleanup
mono_marshal_load_type_info
mono_marshal_set_last_error
mono_marshal_asany
mono_marshal_free_asany
mono_marshal_method_from_wrapper
mono_marshal_get_remoting_invoke
mono_marshal_get_xappdomain_invoke
mono_marshal_get_remoting_invoke_for_target
mono_marshal_get_remoting_invoke_with_check
mono_marshal_get_delegate_begin_invoke
mono_marshal_get_delegate_end_invoke
mono_marshal_get_delegate_invoke
mono_marshal_get_runtime_invoke
mono_marshal_get_runtime_invoke_dynamic
mono_marshal_get_string_ctor_signature
mono_marshal_get_managed_wrapper
mono_marshal_get_vtfixup_ftnptr
mono_marshal_get_icall_wrapper
mono_marshal_get_native_wrapper
mono_marshal_get_native_func_wrapper
mono_marshal_get_struct_to_ptr
mono_marshal_get_ptr_to_struct
mono_marshal_get_stfld_wrapper
mono_marshal_get_ldfld_wrapper
mono_marshal_get_ldfld_remote_wrapper
mono_marshal_get_stfld_remote_wrapper
mono_marshal_get_synchronized_wrapper
mono_marshal_get_unbox_wrapper
mono_marshal_get_isinst
mono_marshal_get_castclass
mono_marshal_get_proxy_cancast
mono_marshal_get_stelemref
mono_marshal_get_array_address
mono_marshal_get_thunk_invoke_wrapper
mono_marshal_free_dynamic_wrappers
mono_marshal_free_inflated_wrappers
mono_marshal_alloc
mono_marshal_free
mono_marshal_free_array
mono_marshal_free_ccw
mono_marshal_xdomain_copy_value
mono_marshal_find_nonzero_bit_offset
mono_marshal_emit_native_wrapper
mono_marshal_emit_managed_wrapper
mono_marshal_get_cache
mono_marshal_find_in_cache
mono_marshal_emit_thread_interrupt_checkpoint
cominterop_release_all_rcws
console_restore_signal_handlers
console_set_signal_handlers
__jit_debug_register_code
mono_trace_enter_method
+3 -3
View File
@@ -24,7 +24,7 @@ A small note on the choice of magic_reg for different JIT backends: the IMT
method identifier doesn't necessarily need to be stored in a register, though
doing so is fast and the JIT code has already the infrastructure to handle this
case in an arch-independent way. A JIT porter just needs to #define
MONO_ARCH_IMT_REG to the chosen register. Note that this register should be
MONO_ARCH_IMT_REG to the choosen register. Note that this register should be
part of the MONO_ARCH_CALLEE_REGS set as it will be handled by the local register
allocator (see mini/inssel.brg) and it must not be part of the registers used for
argument passing as you'd overwrite an argument in that case.
@@ -72,7 +72,7 @@ the IMT slot was asked to execute an interface method that the type doesn't impl
In the future we might want to handle this case not with a breakpoint or assert, but
by either throwing an InvalidCast exception or by going into the runtime and
adding support for the interface automagically to the type/vtable: this could be used
both for transparent proxies and for the implicit interfaces that vectors in 2.0
both for tranparent proxies and for the implicit interfaces that vectors in 2.0
provide.
For a bisect check the code is even simpler:
@@ -131,7 +131,7 @@ called the magic trampoline will fill-in the IMT slot with the proper thunk or
trampoline, so later calls will use the fast path.
This single-instance trampoline will use MONO_FAKE_IMT_METHOD as the method
it's asking to be compiled and executed: the trampoline code does recognize
this special value and retrieves the interface method to call from the usual
this special value and retrives the interface method to call from the usual
MONO_ARCH_IMT_REG saved by the trampoline code.
Given that only the IMT slots that are actually used will be initialized, this saves
quite a bit of memory, as it's unlikely that all the interface methods are called on
+6 -32
View File
@@ -4,15 +4,7 @@
Miguel de Icaza (miguel@{ximian.com,gnome.org}),
Paolo Molaro (lupus@{ximian.com,debian.org})
This documents overall design of the Mono JIT up to version
2.0. After Mono 2.0 the JIT engine was upgraded from
a tree-based intermediate representation to a linear
intermediate representation.
The Linear IL is documented here:
http://www.mono-project.com/Linear_IL
* Abstract
Mini is a new compilation engine for the Mono runtime. The
@@ -78,24 +70,6 @@
CIL code on the fly to marshal parameters, and then this
code is in turned processed by the JIT engine.
Mono has now gone through three different JIT engines, these
are:
* Original JIT engine: 2002, hard to port, hard to
implement optimizations.
* Second JIT engine, used up until Mono 2.0, very
portable, many new optimizations.
* Third JIT engine, replaced the code generation layer from
being based on a tree representation to be based on a linear
representation.
For more information on the code generation changes, see our
web site for the details on the Linear IL:
http://www.mono-project.com/Linear_IL
* Previous Experiences
Mono has built a JIT engine, which has been used to bootstrap
@@ -188,7 +162,7 @@
application domains, or generate code that will not be shared
across application domains.
* Second Generation JIT engine.
* Objectives of the new JIT engine.
We wanted to support a number of features that were missing:
@@ -232,7 +206,7 @@
necessary that the JIT engine works in most of today's
commercial hardware platforms.
* Features of the Second JIT engine.
* Features of the new JIT engine.
The new JIT engine was architected by Dietmar Maurer and Paolo
Molaro, based on the new objectives.
@@ -408,7 +382,7 @@
temporary variables generated during the various
optimizations.
** Instruction selection: Only used up until Mono 2.0
** Instruction selection
At this point, the BURS instruction selector is invoked to
transform the tree-based representation into a list of
@@ -635,7 +609,7 @@
registers, fixed registers and clobbered registers by each
operation.
* BURG Code Generator Generator: Only used up to Mono 2.0
* BURG Code Generator Generator
monoburg was written by Dietmar Maurer. It is based on the
papers from Christopher W. Fraser, Robert R. Henry and Todd
@@ -794,4 +768,4 @@
processors, and some of the framework exists today in our
register allocator and the instruction selector to cope with
this, but has not been finished. The instruction selection
would happen at the same time as local register allocation. <
would happen at the same time as local register allocation. <
+2
View File
@@ -34,8 +34,10 @@
<manpage name="monodocs2html(1)" page="../man/monodocs2html.1" />
<manpage name="monolinker(1)" page="../man/monolinker.1" />
<manpage name="monop(1)" page="../man/monop.1" />
<manpage name="monostyle(1)" page="../man/monostyle.1" />
<manpage name="mono-xmltool(1)" page="../man/mono-xmltool.1" />
<manpage name="mozroots(1)" page="../man/mozroots.1" />
<manpage name="oldmono(1)" page="../man/oldmono.1" />
<manpage name="permview(1)" page="../man/permview.1" />
<manpage name="prj2make(1)" page="../man/prj2make.1" />
<manpage name="resgen(1)" page="../man/resgen.1" />
+3 -11
View File
@@ -13,12 +13,7 @@ add_h4()
ignore_known()
{
fgrep -v -f $dir/ignore
}
ignore_hidden ()
{
fgrep -w -v -f $dir/hidden_methods
egrep -v -f $dir/ignore
}
clean_nm ()
@@ -37,8 +32,5 @@ if grep ^$ ignore >/dev/null; then
exit 1
fi
# generate the internals file
objdump -t ../mono/mini/.libs/libmono-2.0.a | grep "\.hidden" | sed 's/.*\.hidden //' > hidden_methods
nm $dir/../mono/io-layer/.libs/*.o | clean_nm | grep -v _wapi | ignore_known | sort > $dir/wapi
nm $dir/../mono/mini/.libs/libmono-2.0.a | clean_nm | ignore_known | ignore_hidden | ignore_wapi | grep -v ^ves_icall | egrep -v '^(mono_arch_|monoeg)' | sort > $dir/public-api
nm $dir/../io-layer/.libs/*.o | clean_nm | grep -v _wapi | ignore_known > $dir/wapi
nm $dir/../*/.libs/*.o | clean_nm | ignore_known | ignore_wapi | grep -v ^ves_icall | grep -v ^mono_arch_ > $dir/public-api
+855 -755
View File
File diff suppressed because it is too large. Load diff
-49
View File
@@ -1,49 +0,0 @@
With this change, we bundle Reactive Extensions from Microsoft.
Steps to do:
- Until we add submodule, check out Rx sources from http://rx.codeplex.com:
$ cd external
$ git clone git://github.com/atsushieno/rx.git
$ cd rx
$ git checkout rx-oss-v1.0
$ cd ../..
Note that the original repo at rx.codeplex.com will *fail* on Linux!
codeplex.codeplex.com/workitem/26133
Also note that rx.codeplex.com is huge and takes very long time to checkout.
- expand rx-mono-changes-3.tar.bz2
$ tar jxvf rx-mono-changes-3.tar.bz2
- Apply changes to mcs/class/Makefile:
$ cd mcs/class
$ patch -i add-rx-libs.patch -p3
$ cd ../..
Then it should be done.
Note that this does not include Mono.Reactive.Testing into the build yet -
this library depends on nunit.framework.dll but it wouldn't be built before
this assembly is built. This needs to be resolved.
** Current Status
- We don't have Microsoft.Reactive.Testing.dll. Instead, I created an
alternative Mono.Reactive.Testing.dll which *mostly* uses MS sources for
that assembly but uses NUnit.Framework instead.
To make it happen, I added a small script that automatically replaces
MSTest dependency parts with that for NUnit (replacer.sh under rx tree).
(We'll also have to rename namespaces and have more source changes, but
so far it is to get things runnable.)
- To check the build sanity, I imported unit tests (as explained above)
and it is supposed to run by "make run-test" in Mono.Reactive.Testing
directory (the tests were all in one place in MS tests, so I made it
in Mono.Reactive.Testing directory instead).
+14 -9
View File
@@ -8,6 +8,18 @@
typedef struct _MonoImage MonoImage;
typedef struct _MonoAssembly MonoAssembly;
typedef struct {
const char *name;
const char *culture;
const char *hash_value;
const guint8* public_key;
guchar public_key_token [MONO_PUBLIC_KEY_TOKEN_LENGTH];
guint32 hash_alg;
guint32 hash_len;
guint32 flags;
guint16 major, minor, build, revision;
} MonoAssemblyName;
@API_IDX@
</div>
@@ -20,13 +32,13 @@ typedef struct _MonoAssembly MonoAssembly;
<h4><a name="api:mono_assembly_load">mono_assembly_load</a></h4>
<h4><a name="api:mono_assembly_load_full">mono_assembly_load_full</a></h4>
<h4><a name="api:mono_assembly_loaded">mono_assembly_loaded</a></h4>
<h4><a name="api:mono_assembly_get_object">mono_assembly_get_object</a></h4>
<h3>Working with Assemblies</h3>
<h4><a name="api:mono_assembly_get_image">mono_assembly_get_image</a></h4>
<h4><a name="api:mono_assembly_get_main">mono_assembly_get_main</a></h4>
<h4><a name="api:mono_assembly_getrootdir">mono_assembly_getrootdir</a></h4>
<h4><a name="api:mono_assembly_addref">mono_assembly_addref</a></h4>
<h3>Assembly Names</h3>
@@ -38,14 +50,7 @@ typedef struct _MonoAssembly MonoAssembly;
href="http://www.mono-project.com/monodoc/T:System.Reflection.AssemblyName">System.Reflection.AssemblyName</a>
managed type.
<h4><a name="api:mono_assembly_name_parse">mono_assembly_name_parse</a></h4>
<h4><a name="api:mono_assembly_name_free">mono_assembly_name_free</a></h4>
<h4><a name="api:mono_stringify_assembly_name">mono_stringify_assembly_name</a></h4>
<h4><a name="api:mono_assembly_names_equal">mono_assembly_names_equal</a></h4>
<h3>Modules</h3>
<p>An assembly is made up of one or more modules.
<h4><a name="api:mono_module_file_get_object">mono_module_file_get_object</a></h4>
<h4><a name="api:mono_module_get_object">mono_module_get_object</a></h4>
+20
View File
@@ -1,6 +1,8 @@
<h2>Class Operations</h2>
<h4><a name="api:mono_class_array_element_size">mono_class_array_element_size</a></h4>
<h4><a name="api:mono_class_create_generic_2">mono_class_create_generic_2</a></h4>
<h4><a name="api:mono_class_create_generic">mono_class_create_generic</a></h4>
<h4><a name="api:mono_class_data_size">mono_class_data_size</a></h4>
<h4><a name="api:mono_class_enum_basetype">mono_class_enum_basetype</a></h4>
<h4><a name="api:mono_class_from_generic_parameter">mono_class_from_generic_parameter</a></h4>
@@ -8,6 +10,7 @@
<h4><a name="api:mono_class_from_name_case">mono_class_from_name_case</a></h4>
<h4><a name="api:mono_class_from_name">mono_class_from_name</a></h4>
<h4><a name="api:mono_class_from_typeref">mono_class_from_typeref</a></h4>
<h4><a name="api:mono_class_get_allocation_ftn">mono_class_get_allocation_ftn</a></h4>
<h4><a name="api:mono_class_get_byref_type">mono_class_get_byref_type</a></h4>
<h4><a name="api:mono_class_get_element_class">mono_class_get_element_class</a></h4>
<h4><a name="api:mono_class_get_events">mono_class_get_events</a></h4>
@@ -19,6 +22,7 @@
<h4><a name="api:mono_class_get_flags">mono_class_get_flags</a></h4>
<h4><a name="api:mono_class_get_full">mono_class_get_full</a></h4>
<h4><a name="api:mono_class_get_image">mono_class_get_image</a></h4>
<h4><a name="api:mono_class_get_implemented_interfaces">mono_class_get_implemented_interfaces</a></h4>
<h4><a name="api:mono_class_get_interfaces">mono_class_get_interfaces</a></h4>
<h4><a name="api:mono_class_get_method_from_name">mono_class_get_method_from_name</a></h4>
<h4><a name="api:mono_class_get_methods">mono_class_get_methods</a></h4>
@@ -27,6 +31,7 @@
<h4><a name="api:mono_class_get_namespace">mono_class_get_namespace</a></h4>
<h4><a name="api:mono_class_get_nested_types">mono_class_get_nested_types</a></h4>
<h4><a name="api:mono_class_get_nesting_type">mono_class_get_nesting_type</a></h4>
<h4><a name="api:mono_class_get_overrides">mono_class_get_overrides</a></h4>
<h4><a name="api:mono_class_get_parent">mono_class_get_parent</a></h4>
<h4><a name="api:mono_class_get_properties">mono_class_get_properties</a></h4>
<h4><a name="api:mono_class_get_property_from_name">mono_class_get_property_from_name</a></h4>
@@ -39,14 +44,29 @@
<h4><a name="api:mono_class_instance_size">mono_class_instance_size</a></h4>
<h4><a name="api:mono_class_is_assignable_from">mono_class_is_assignable_from</a></h4>
<h4><a name="api:mono_class_is_enum">mono_class_is_enum</a></h4>
<h4><a name="api:mono_class_is_open_constructed_type">mono_class_is_open_constructed_type</a></h4>
<h4><a name="api:mono_class_is_subclass_of">mono_class_is_subclass_of</a></h4>
<h4><a name="api:mono_class_is_valuetype">mono_class_is_valuetype</a></h4>
<h4><a name="api:mono_class_layout_fields">mono_class_layout_fields</a></h4>
<h4><a name="api:mono_class_min_align">mono_class_min_align</a></h4>
<h4><a name="api:mono_class_native_size">mono_class_native_size</a></h4>
<h4><a name="api:mono_class_needs_cctor_run">mono_class_needs_cctor_run</a></h4>
<h4><a name="api:mono_class_num_events">mono_class_num_events</a></h4>
<h4><a name="api:mono_class_num_fields">mono_class_num_fields</a></h4>
<h4><a name="api:mono_class_num_methods">mono_class_num_methods</a></h4>
<h4><a name="api:mono_class_num_properties">mono_class_num_properties</a></h4>
<h4><a name="api:mono_class_setup_mono_type">mono_class_setup_mono_type</a></h4>
<h4><a name="api:mono_class_setup_parent">mono_class_setup_parent</a></h4>
<h4><a name="api:mono_class_setup_supertypes">mono_class_setup_supertypes</a></h4>
<h4><a name="api:mono_class_setup_vtable">mono_class_setup_vtable</a></h4>
<h4><a name="api:mono_class_value_size">mono_class_value_size</a></h4>
<h4><a name="api:mono_class_vtable">mono_class_vtable</a></h4>
<h4><a name="api:mono_class_get_cctor">mono_class_get_cctor</a></h4>
<h4><a name="api:mono_class_get_finalizer">mono_class_get_finalizer</a></h4>
<h4><a name="api:mono_class_get_method_from_name_flags">mono_class_get_method_from_name_flags</a></h4>
<h4><a name="api:mono_class_inflate_generic_signature">mono_class_inflate_generic_signature</a></h4>
<h4><a name="api:mono_class_name_from_token">mono_class_name_from_token</a></h4>
<h4><a name="api:mono_class_setup_methods">mono_class_setup_methods</a></h4>
<h4><a name="api:mono_class_setup_vtable_general">mono_class_setup_vtable_general</a></h4>
<h4><a name="api:mono_class_get_exception_for_failure">mono_class_get_exception_for_failure</a></h4>
<h4><a name="api:mono_class_is_nullable">mono_class_is_nullable</a></h4>
+30
View File
@@ -8,3 +8,33 @@
<h4><a name="api:mono_code_manager_new">mono_code_manager_new</a></h4>
<h4><a name="api:mono_code_manager_reserve">mono_code_manager_reserve</a></h4>
<h3>Registration services</h3>
<p>The core services of Mono are independent of the execution
system. The interpreter and the native code generator both
use the functions in the following section to register
handlers to execute code with the execution system.
<p>These APIs would allow a different execution engine (code
generator or interpreter) to be hooked to the rest of the Mono
VM.
<h4><a name="api:mono_install_assembly_load_hook">mono_install_assembly_load_hook</a></h4>
<h4><a name="api:mono_install_assembly_preload_hook">mono_install_assembly_preload_hook</a></h4>
<h4><a name="api:mono_install_assembly_search_hook">mono_install_assembly_search_hook</a></h4>
<h4><a name="api:mono_install_compile_method">mono_install_compile_method</a></h4>
<h4><a name="api:mono_install_free_method">mono_install_free_method</a></h4>
<h4><a name="api:mono_install_handler">mono_install_handler</a></h4>
<h4><a name="api:mono_install_lookup_dynamic_token">mono_install_lookup_dynamic_token</a></h4>
<h4><a name="api:mono_install_remoting_trampoline">mono_install_remoting_trampoline</a></h4>
<h4><a name="api:mono_install_runtime_invoke">mono_install_runtime_invoke</a></h4>
<h4><a name="api:mono_install_stack_walk">mono_install_stack_walk</a></h4>
<h4><a name="api:mono_install_thread_callbacks">mono_install_thread_callbacks</a></h4>
<h4><a name="api:mono_install_trampoline">mono_install_trampoline</a></h4>
<h4><a name="api:mono_install_runtime_cleanup">mono_install_runtime_cleanup</a></h4>
<h4><a name="api:mono_install_assembly_postload_refonly_search_hook">mono_install_assembly_postload_refonly_search_hook</a></h4>
<h4><a name="api:mono_install_assembly_postload_search_hook">mono_install_assembly_postload_search_hook</a></h4>
<h4><a name="api:mono_install_assembly_refonly_preload_hook">mono_install_assembly_refonly_preload_hook</a></h4>
<h4><a name="api:mono_install_assembly_refonly_search_hook">mono_install_assembly_refonly_search_hook</a></h4>
<h4><a name="api:mono_install_delegate_trampoline">mono_install_delegate_trampoline</a></h4>
+23 -1
View File
@@ -1,7 +1,15 @@
<h4><a name="api:mono_debug_il_offset_from_address">mono_debug_il_offset_from_address</a></h4>
<h4><a name="api:mono_debug_open_mono_symbol_file">mono_debug_open_mono_symbol_file</a></h4>
<h4><a name="api:mono_debug_source_location_from_address">mono_debug_source_location_from_address</a></h4>
<h4><a name="api:mono_debug_source_location_from_il_offset">mono_debug_source_location_from_il_offset</a></h4>
<h4><a name="api:mono_debug_add_aot_method">mono_debug_add_aot_method</a></h4>
<h4><a name="api:mono_debug_add_method">mono_debug_add_method</a></h4>
<h4><a name="api:_mono_debug_address_from_il_offset">_mono_debug_address_from_il_offset</a></h4>
<h4><a name="api:mono_debug_address_from_il_offset">mono_debug_address_from_il_offset</a></h4>
<h4><a name="api:mono_debug_add_wrapper">mono_debug_add_wrapper</a></h4>
<h4><a name="api:mono_debug_close_mono_symbol_file">mono_debug_close_mono_symbol_file</a></h4>
<h4><a name="api:mono_debug_find_method">mono_debug_find_method</a></h4>
<h4><a name="api:mono_debug_find_source_location">mono_debug_find_source_location</a></h4>
<h4><a name="api:mono_debug_using_mono_debugger">mono_debug_using_mono_debugger</a></h4>
<h3>Mono Debugger Interface</h3>
@@ -9,15 +17,29 @@
<p>These are methods that are invoked by the debugger at
runtime.
<h4><a name="api:mono_debugger_add_builtin_types">mono_debugger_add_builtin_types</a></h4>
<h4><a name="api:mono_debugger_add_method">mono_debugger_add_method</a></h4>
<h4><a name="api:mono_debugger_add_symbol_file">mono_debugger_add_symbol_file</a></h4>
<h4><a name="api:mono_debugger_add_type">mono_debugger_add_type</a></h4>
<h4><a name="api:mono_debugger_add_wrapper">mono_debugger_add_wrapper</a></h4>
<h4><a name="api:mono_debugger_breakpoint_callback">mono_debugger_breakpoint_callback</a></h4>
<h4><a name="api:mono_debugger_check_runtime_version">mono_debugger_check_runtime_version</a></h4>
<h4><a name="api:mono_debugger_create_notification_function">mono_debugger_create_notification_function</a></h4>
<h4><a name="api:mono_debugger_event">mono_debugger_event</a></h4>
<h4><a name="api:_mono_debugger_get_symfile">_mono_debugger_get_symfile</a></h4>
<h4><a name="api:mono_debugger_handle_exception">mono_debugger_handle_exception</a></h4>
<h4><a name="api:mono_debugger_insert_breakpoint_full">mono_debugger_insert_breakpoint_full</a></h4>
<h4><a name="api:mono_debugger_insert_breakpoint">mono_debugger_insert_breakpoint</a></h4>
<h4><a name="api:mono_debugger_lock">mono_debugger_lock</a></h4>
<h4><a name="api:mono_debugger_lookup_assembly">mono_debugger_lookup_assembly</a></h4>
<h4><a name="api:mono_debugger_lookup_type">mono_debugger_lookup_type</a></h4>
<h4><a name="api:mono_debugger_method_has_breakpoint">mono_debugger_method_has_breakpoint</a></h4>
<h4><a name="api:mono_debugger_remove_breakpoint">mono_debugger_remove_breakpoint</a></h4>
<h4><a name="api:mono_debugger_runtime_invoke">mono_debugger_runtime_invoke</a></h4>
<h4><a name="api:mono_debugger_start_add_type">mono_debugger_start_add_type</a></h4>
<h4><a name="api:mono_debugger_throw_exception">mono_debugger_throw_exception</a></h4>
<h4><a name="api:mono_debugger_unhandled_exception">mono_debugger_unhandled_exception</a></h4>
<h4><a name="api:mono_debugger_unlock">mono_debugger_unlock</a></h4>
<h4><a name="api:mono_debugger_run_finally">mono_debugger_run_finally</a></h4>
<h4><a name="api:mono_debugger_finalize_threads">mono_debugger_finalize_threads</a></h4>
<h4><a name="api:mono_debugger_main">mono_debugger_main</a></h4>
<h4><a name="api:mono_debugger_run_finally">mono_debugger_run_finally</a></h4>
+1
View File
@@ -45,6 +45,7 @@ typedef struct _MonoAppContext MonoAppContext
<h4><a name="api:mono_domain_set_internal">mono_domain_set_internal</a></h4>
<h4><a name="api:mono_domain_set">mono_domain_set</a></h4>
<h4><a name="api:mono_domain_try_type_resolve">mono_domain_try_type_resolve</a></h4>
<h4><a name="api:mono_domain_get_tls_key">mono_domain_get_tls_key</a></h4>
<h4><a name="api:mono_domain_owns_vtable_slot">mono_domain_owns_vtable_slot</a></h4>
<h3>Contexts</h3>
+4 -13
View File
@@ -110,11 +110,9 @@ MonoMethod *adder ()
MONO_WRAPPER_UNKNOWN
</pre>
<h3>Emitting IL</h3>
<p>Functions that can be used to generate IL on the flight,
similar in spirit to System.Reflection.Emit.ILGenerator.
<h4><a name="api:mono_mb_add_data">mono_mb_add_data</a></h4>
<h4><a name="api:mono_mb_add_local">mono_mb_add_local</a></h4>
<h4><a name="api:mono_mb_create_method">mono_mb_create_method</a></h4>
<h4><a name="api:mono_mb_emit_add_to_local">mono_mb_emit_add_to_local</a></h4>
<h4><a name="api:mono_mb_emit_branch">mono_mb_emit_branch</a></h4>
<h4><a name="api:mono_mb_emit_byte">mono_mb_emit_byte</a></h4>
@@ -131,18 +129,11 @@ MonoMethod *adder ()
<h4><a name="api:mono_mb_emit_managed_call">mono_mb_emit_managed_call</a></h4>
<h4><a name="api:mono_mb_emit_native_call">mono_mb_emit_native_call</a></h4>
<h4><a name="api:mono_mb_emit_stloc">mono_mb_emit_stloc</a></h4>
<h3>Local variables and Methods</h3>
<h4><a name="api:mono_mb_create_method">mono_mb_create_method</a></h4>
<h4><a name="api:mono_mb_add_data">mono_mb_add_data</a></h4>
<h4><a name="api:mono_mb_add_local">mono_mb_add_local</a></h4>
<h4><a name="api:mono_mb_free">mono_mb_free</a></h4>
<h3>Patching Addresses</h3>
<h4><a name="api:mono_mb_patch_addr">mono_mb_patch_addr</a></h4>
<h4><a name="api:mono_mb_patch_addr_s">mono_mb_patch_addr_s</a></h4>
<h3>Method Signatures</h3>
<h4><a name="api:mono_metadata_signature_alloc">mono_metadata_signature_alloc</a></h4>
<h4><a name="api:mono_metadata_signature_dup">mono_metadata_signature_dup</a></h4>
<h4><a name="api:mono_metadata_signature_equal">mono_metadata_signature_equal</a></h4>
+7 -97
View File
@@ -1,57 +1,9 @@
<h2>Embedding Mono</h2>
<p>The simplest way of embedding Mono is illustrated here:
<pre>
int main (int argc, char *argv)
{
/*
* Load the default Mono configuration file, this is needed
* if you are planning on using the dllmaps defined on the
* system configuration
*/
mono_config_parse (NULL);
/*
* mono_jit_init() creates a domain: each assembly is
* loaded and run in a MonoDomain.
*/
MonoDomain *domain = mono_jit_init ("startup.exe");
/*
* Optionally, add an internal call that your startup.exe
* code can call, this will bridge startup.exe to Mono
*/
mono_add_internal_call ("Sample::GetMessage", getMessage);
/*
* Open the executable, and run the Main method declared
* in the executable
*/
MonoAssembly *assembly = mono_domain_assembly_open (domain, "startup.exe");
if (!assembly)
exit (2);
/*
* mono_jit_exec() will run the Main() method in the assembly.
* The return value needs to be looked up from
* System.Environment.ExitCode.
*/
mono_jit_exec (domain, assembly, argc, argv);
}
/* The C# signature for this method is: string GetMessage () in class Sample */
MonoString*
getMessage ()
{
return mono_string_new (mono_domain_get (), "Hello, world");
}
</pre>
<h4><a name="api:mono_jit_init">mono_jit_init</a></h4>
<h4><a name="api:mono_jit_exec">mono_jit_exec</a></h4>
<h4><a name="api:mono_set_dirs">mono_set_dirs</a></h4>
<h4><a name="api:mono_main">mono_main</a></h4>
<h4><a name="api:mono_parse_default_optimizations">mono_parse_default_optimizations</a></h4>
<h4><a name="api:mono_runtime_exec_main">mono_runtime_exec_main</a></h4>
<h4><a name="api:mono_runtime_exec_managed_code">mono_runtime_exec_managed_code</a></h4>
<h4><a name="api:mono_jit_cleanup">mono_jit_cleanup</a></h4>
<h4><a name="api:mono_set_defaults">mono_set_defaults</a></h4>
@@ -66,44 +18,12 @@ getMessage ()
<p>The other option is to use the Platform Invoke (P/Invoke)
to call C code from the CIL universe, using the standard
<a href="http://www.mono-project.com/Interop_with_Native_Libraries">P/Invoke</a>
mechanisms.
P/Invoke mechanisms.
<p>To register an internal call, use this call you use the
<a href="#api:mono_add_internal_call"><tt>mono_add_internal_call</tt>
routine.
<tt>mono_add_internal_call</tt> routine.
<h4><a name="api:mono_add_internal_call">mono_add_internal_call</a></h4>
<h3>P/Invoke with embedded applications</h3>
<p>Unlike internal calls, Platform/Invoke is easier to use and
more portable. It allows you to share code with Windows and
.NET that have a different setup for internal calls to their
own runtime.
<p>Usually P/Invoke declarations reference external libraries
like:
<pre>
[DllImport ("opengl")]
void glBegin (GLEnum mode)
</pre>
<p>Mono extends P/Invoke to support looking up symbols not in
an external library, but looking up those symbols into the
same address space as your program, to do this, use the
special library name "__Internal". This will direct Mono to
lookup the method in your own process.
<p>There are situations where the host operating system does
not support looking up symbols on the process address space.
For situations like this you can use
the <a href="#api:mono_dl_register_library">mono_dl_register_library</a>.
<h4><a name="api:mono_dl_register_library">mono_dl_register_library</h4>
<h3>Data Marshalling</h3>
<h4>Data Marshalling</h4>
<p>Managed objects are represented as <tt>MonoObject*</tt>
types. Those objects that the runtime consumes directly have
@@ -128,6 +48,8 @@ getMessage ()
int64, etc) must be passed as a pointer, in C# this means
passing the value as a "ref" or "out" parameter.
<h4><a name="api:mono_add_internal_call">mono_add_internal_call</a></h4>
<h3>Mono Runtime Configuration</h3>
<p>Certain features of the Mono runtime, like DLL mapping, are
@@ -143,7 +65,6 @@ getMessage ()
<h4><a name="api:mono_config_parse">mono_config_parse</a></h4>
<h4><a name="api:mono_config_parse_memory">mono_config_parse_memory</a></h4>
<h4><a name="api:mono_get_config_dir">mono_get_config_dir</a></h4>
<h3>Function Pointers</h3>
@@ -155,14 +76,3 @@ getMessage ()
<h4><a name="api:mono_create_ftnptr">mono_create_ftnptr</a></h4>
<h3>Advanced Execution Setups</h3>
<p>These are not recommended ways of initializing Mono, they
are done internally by mono_jit_init, but are here to explain
what happens internally.
<h4><a name="api:mono_runtime_exec_managed_code">mono_runtime_exec_managed_code</a></h4>
<h4><a name="api:mono_runtime_exec_main">mono_runtime_exec_main</a></h4>
<h4><a name="api:mono_init_from_assembly">mono_init_from_assembly</a></h4>
<h4><a name="api:mono_init">mono_init</a></h4>
<h4><a name="api:mono_init_version">mono_init_version</a></h4>
+1
View File
@@ -9,6 +9,7 @@
<h4><a name="api:mono_raise_exception">mono_raise_exception</a></h4>
<h4><a name="api:mono_unhandled_exception">mono_unhandled_exception</a></h4>
<h4><a name="api:mono_print_unhandled_exception">mono_print_unhandled_exception</a></h4>
<h4><a name="api:mono_handle_exception">mono_handle_exception</a></h4>
<h3>Exception Types: General API</h3>
+30
View File
@@ -10,3 +10,33 @@
<h4><a name="api:mono_gc_get_heap_size">mono_gc_get_heap_size</a></h4>
<h4><a name="api:mono_gc_get_used_size">mono_gc_get_used_size</a></h4>
<h3>Weak Links</h3>
<h4><a name="api:mono_gc_weak_link_add">mono_gc_weak_link_add</a></h4>
<h4><a name="api:mono_gc_weak_link_get">mono_gc_weak_link_get</a></h4>
<h4><a name="api:mono_gc_weak_link_remove">mono_gc_weak_link_remove</a></h4>
<h2>Internal Interface</h2>
<p>The internal interface of the Mono GC is the interface used
between the runtime engine and the garbage collector.
<h4><a name="api:mono_gc_disable">mono_gc_disable</a></h4>
<h4><a name="api:mono_gc_enable">mono_gc_enable</a></h4>
<h4><a name="api:mono_gc_is_finalizer_thread">mono_gc_is_finalizer_thread</a></h4>
<h4><a name="api:mono_gc_out_of_memory">mono_gc_out_of_memory</a></h4>
<h4><a name="api:mono_gc_start_world">mono_gc_start_world</a></h4>
<h4><a name="api:mono_gc_stop_world">mono_gc_stop_world</a></h4>
<h4><a name="api:mono_gc_alloc_fixed">mono_gc_alloc_fixed</a></h4>
<h4><a name="api:mono_gc_enable_events">mono_gc_enable_events</a></h4>
<h4><a name="api:mono_gc_free_fixed">mono_gc_free_fixed</a></h4>
<h4><a name="api:mono_gc_make_descr_from_bitmap">mono_gc_make_descr_from_bitmap</a></h4>
<h4><a name="api:mono_gc_base_init">mono_gc_base_init</a></h4>
<h4><a name="api:mono_gc_invoke_finalizers">mono_gc_invoke_finalizers</a></h4>
<h4><a name="api:mono_gc_is_gc_thread">mono_gc_is_gc_thread</a></h4>
<h4><a name="api:mono_gc_pending_finalizers">mono_gc_pending_finalizers</a></h4>
<h4><a name="api:mono_gc_register_thread">mono_gc_register_thread</a></h4>
<h4><a name="api:mono_gc_finalize_notify">mono_gc_finalize_notify</a></h4>
+1
View File
@@ -91,4 +91,5 @@ static MonoObject* o = NULL;
<h4><a name="api:mono_gchandle_new">mono_gchandle_new</a></h4>
<h4><a name="api:mono_gchandle_new_weakref">mono_gchandle_new_weakref</a></h4>
<h4><a name="api:mono_gchandle_get_target">mono_gchandle_get_target</a></h4>
<h4><a name="api:mono_gchandle_is_in_domain">mono_gchandle_is_in_domain</a></h4>
<h4><a name="api:mono_gchandle_free">mono_gchandle_free</a></h4>
+8 -108
View File
@@ -1,114 +1,14 @@
<h1>Mono Internals</h1>
<h1>Code Generator Internals</h1>
<p>This section documents some of the internal APIs used
inside Mono that developers extending or altering Mono might
want to use.
<h2>Marshalling functions</h2>
<h4><a name="api:mono_marshal_alloc">mono_marshal_alloc</a></h4>
<h4><a name="api:mono_marshal_asany">mono_marshal_asany</a></h4>
<h4><a name="api:mono_marshal_free_array">mono_marshal_free_array</a></h4>
<h4><a name="api:mono_marshal_free_asany">mono_marshal_free_asany</a></h4>
<h4><a name="api:mono_marshal_free">mono_marshal_free</a></h4>
<h4><a name="api:mono_marshal_get_castclass">mono_marshal_get_castclass</a></h4>
<h4><a name="api:mono_marshal_get_delegate_begin_invoke">mono_marshal_get_delegate_begin_invoke</a></h4>
<h4><a name="api:mono_marshal_get_delegate_end_invoke">mono_marshal_get_delegate_end_invoke</a></h4>
<h4><a name="api:mono_marshal_get_delegate_invoke">mono_marshal_get_delegate_invoke</a></h4>
<h4><a name="api:mono_marshal_get_icall_wrapper">mono_marshal_get_icall_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_isinst">mono_marshal_get_isinst</a></h4>
<h4><a name="api:mono_marshal_get_ldfld_remote_wrapper">mono_marshal_get_ldfld_remote_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_ldfld_wrapper">mono_marshal_get_ldfld_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_managed_wrapper">mono_marshal_get_managed_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_native_wrapper">mono_marshal_get_native_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_proxy_cancast">mono_marshal_get_proxy_cancast</a></h4>
<h4><a name="api:mono_marshal_get_ptr_to_struct">mono_marshal_get_ptr_to_struct</a></h4>
<h4><a name="api:mono_marshal_get_remoting_invoke_for_target">mono_marshal_get_remoting_invoke_for_target</a></h4>
<h4><a name="api:mono_marshal_get_remoting_invoke">mono_marshal_get_remoting_invoke</a></h4>
<h4><a name="api:mono_marshal_get_remoting_invoke_with_check">mono_marshal_get_remoting_invoke_with_check</a></h4>
<h4><a name="api:mono_marshal_get_runtime_invoke">mono_marshal_get_runtime_invoke</a></h4>
<h4><a name="api:mono_marshal_get_stelemref">mono_marshal_get_stelemref</a></h4>
<h4><a name="api:mono_marshal_get_stfld_remote_wrapper">mono_marshal_get_stfld_remote_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_stfld_wrapper">mono_marshal_get_stfld_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_struct_to_ptr">mono_marshal_get_struct_to_ptr</a></h4>
<h4><a name="api:mono_marshal_get_synchronized_wrapper">mono_marshal_get_synchronized_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_unbox_wrapper">mono_marshal_get_unbox_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_xappdomain_invoke">mono_marshal_get_xappdomain_invoke</a></h4>
<h4><a name="api:mono_marshal_load_type_info">mono_marshal_load_type_info</a></h4>
<h4><a name="api:mono_marshal_method_from_wrapper">mono_marshal_method_from_wrapper</a></h4>
<h4><a name="api:mono_marshal_realloc">mono_marshal_realloc</a></h4>
<h4><a name="api:mono_marshal_set_last_error">mono_marshal_set_last_error</a></h4>
<h4><a name="api:mono_marshal_type_size">mono_marshal_type_size</a></h4>
<h2>Metadata Loading Errors</h2>
<p>The routines in this section are used to cope with errors
during metadata loading. Errors in metadata handling can
happen for many reason, and these include (this is not an
exhaustive list).
<ul>
<li>An assembly referenced is missing.
<li>Fields referenced are missing.
<li>Methods referenced are missing.
</ul>
<p>The <tt>mono_loader_set_*</tt> routines are invoked during
metadata loading to flag that an error has happened. The
class loading errros are flagged in a per-thread basis.
<P>In various spots in the runtime the
<tt>mono_loader_get_last_error</tt> routine is called to check
if there was a problem, and then errors are propagated upwards
on the stack until we reach a point where an exception can be
raised and no runtime locks are held.
<p>The <tt>mono_loader_error_prepare_exception</tt> takes a
<tt>MonoLoaderError</tt> structure (the value returned from
<tt>mono_loader_get_last_error</tt>), turns that into an
exception and clears the error condition from the current
thread.
<p>The functions in this document are internal to the JIT,
they are here for completeness, but you should refer to the
source code for more details.
<h4><a name="api:mono_loader_set_error_field_load">mono_loader_set_error_field_load</a></h4>
<h4><a name="api:mono_loader_set_error_method_load">mono_loader_set_error_method_load</a></h4>
<h4><a name="api:mono_loader_set_error_type_load">mono_loader_set_error_type_load</a></h4>
<h3>BURG public API</h3>
<h4><a name="api:mono_loader_get_last_error">mono_loader_get_last_error</a></h4>
<h4><a name="api:mono_loader_clear_error">mono_loader_clear_error</a></h4>
<h4><a name="api:mono_loader_error_prepare_exception">mono_loader_error_prepare_exception</a></h4>
<h2>Metadata Loader Locking: Internals</h2>
<p>The locking functions here are used by code in class.c and
metadata.c to lock access to the shared hashtables inside the
MonoImage.
<h4><a name="api:mono_loader_lock">mono_loader_lock</a></h4>
<h4><a name="api:mono_loader_unlock">mono_loader_unlock</a></h4>
<h2>Garbage Collector Internal Interface</h2>
<p>The internal interface of the Mono GC is the interface used
between the runtime engine and the garbage collector.
<h4><a name="api:mono_gc_disable">mono_gc_disable</a></h4>
<h4><a name="api:mono_gc_enable">mono_gc_enable</a></h4>
<h4><a name="api:mono_gc_is_finalizer_thread">mono_gc_is_finalizer_thread</a></h4>
<h4><a name="api:mono_gc_out_of_memory">mono_gc_out_of_memory</a></h4>
<h4><a name="api:mono_gc_start_world">mono_gc_start_world</a></h4>
<h4><a name="api:mono_gc_stop_world">mono_gc_stop_world</a></h4>
<h4><a name="api:mono_gc_alloc_fixed">mono_gc_alloc_fixed</a></h4>
<h4><a name="api:mono_gc_enable_events">mono_gc_enable_events</a></h4>
<h4><a name="api:mono_gc_free_fixed">mono_gc_free_fixed</a></h4>
<h4><a name="api:mono_gc_make_descr_from_bitmap">mono_gc_make_descr_from_bitmap</a></h4>
<h4><a name="api:mono_gc_base_init">mono_gc_base_init</a></h4>
<h4><a name="api:mono_gc_invoke_finalizers">mono_gc_invoke_finalizers</a></h4>
<h4><a name="api:mono_gc_is_gc_thread">mono_gc_is_gc_thread</a></h4>
<h4><a name="api:mono_gc_pending_finalizers">mono_gc_pending_finalizers</a></h4>
<h4><a name="api:mono_gc_register_thread">mono_gc_register_thread</a></h4>
<h4><a name="api:mono_gc_finalize_notify">mono_gc_finalize_notify</a></h4>
<h4><a name="api:mono_burg_kids">mono_burg_kids</a></h4>
<h4><a name="api:mono_burg_label">mono_burg_label</a></h4>
<h4><a name="api:mono_burg_rule">mono_burg_rule</a></h4>
+11
View File
@@ -0,0 +1,11 @@
<h3>Interpreter API</h3>
<p>This describes the API exposed by the interpreter, but it
is for the most part an internal to the interpreter.
<h4><a name="api:mono_interp_dis_mintop">mono_interp_dis_mintop</a></h4>
<h4><a name="api:mono_interp_exec">mono_interp_exec</a></h4>
<h4><a name="api:mono_interp_ftnptr_to_delegate">mono_interp_ftnptr_to_delegate</a></h4>
<h4><a name="api:mono_interp_get_runtime_method">mono_interp_get_runtime_method</a></h4>
<h4><a name="api:mono_interp_transform_init">mono_interp_transform_init</a></h4>
<h4><a name="api:mono_interp_transform_method">mono_interp_transform_method</a></h4>
+4 -3
View File
@@ -1,8 +1,9 @@
<h1>Notification Interface</h1>
<p>This is an internal profiler interface. In general, users
would not be using this interface, but would be using the
profiler interface.
<p>Am not sure that we want to document this; This seems like
an internal interface that third parties would not likely
use, and if they do, they probably are reading the JIT's
source code.
<p>These methods must be called to notify the profiler of an
event that must be recorded. Mono's JIT engine currently
+33
View File
@@ -3,4 +3,37 @@
<h4><a name="api:mono_delegate_free_ftnptr">mono_delegate_free_ftnptr</a></h4>
<h4><a name="api:mono_delegate_to_ftnptr">mono_delegate_to_ftnptr</a></h4>
<h4><a name="api:mono_ftnptr_to_delegate">mono_ftnptr_to_delegate</a></h4>
<h4><a name="api:mono_marshal_alloc">mono_marshal_alloc</a></h4>
<h4><a name="api:mono_marshal_asany">mono_marshal_asany</a></h4>
<h4><a name="api:mono_marshal_free_array">mono_marshal_free_array</a></h4>
<h4><a name="api:mono_marshal_free_asany">mono_marshal_free_asany</a></h4>
<h4><a name="api:mono_marshal_free">mono_marshal_free</a></h4>
<h4><a name="api:mono_marshal_get_castclass">mono_marshal_get_castclass</a></h4>
<h4><a name="api:mono_marshal_get_delegate_begin_invoke">mono_marshal_get_delegate_begin_invoke</a></h4>
<h4><a name="api:mono_marshal_get_delegate_end_invoke">mono_marshal_get_delegate_end_invoke</a></h4>
<h4><a name="api:mono_marshal_get_delegate_invoke">mono_marshal_get_delegate_invoke</a></h4>
<h4><a name="api:mono_marshal_get_icall_wrapper">mono_marshal_get_icall_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_isinst">mono_marshal_get_isinst</a></h4>
<h4><a name="api:mono_marshal_get_ldfld_remote_wrapper">mono_marshal_get_ldfld_remote_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_ldfld_wrapper">mono_marshal_get_ldfld_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_managed_wrapper">mono_marshal_get_managed_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_native_wrapper">mono_marshal_get_native_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_proxy_cancast">mono_marshal_get_proxy_cancast</a></h4>
<h4><a name="api:mono_marshal_get_ptr_to_struct">mono_marshal_get_ptr_to_struct</a></h4>
<h4><a name="api:mono_marshal_get_remoting_invoke_for_target">mono_marshal_get_remoting_invoke_for_target</a></h4>
<h4><a name="api:mono_marshal_get_remoting_invoke">mono_marshal_get_remoting_invoke</a></h4>
<h4><a name="api:mono_marshal_get_remoting_invoke_with_check">mono_marshal_get_remoting_invoke_with_check</a></h4>
<h4><a name="api:mono_marshal_get_runtime_invoke">mono_marshal_get_runtime_invoke</a></h4>
<h4><a name="api:mono_marshal_get_stelemref">mono_marshal_get_stelemref</a></h4>
<h4><a name="api:mono_marshal_get_stfld_remote_wrapper">mono_marshal_get_stfld_remote_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_stfld_wrapper">mono_marshal_get_stfld_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_struct_to_ptr">mono_marshal_get_struct_to_ptr</a></h4>
<h4><a name="api:mono_marshal_get_synchronized_wrapper">mono_marshal_get_synchronized_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_unbox_wrapper">mono_marshal_get_unbox_wrapper</a></h4>
<h4><a name="api:mono_marshal_get_xappdomain_invoke">mono_marshal_get_xappdomain_invoke</a></h4>
<h4><a name="api:mono_marshal_load_type_info">mono_marshal_load_type_info</a></h4>
<h4><a name="api:mono_marshal_method_from_wrapper">mono_marshal_method_from_wrapper</a></h4>
<h4><a name="api:mono_marshal_realloc">mono_marshal_realloc</a></h4>
<h4><a name="api:mono_marshal_set_last_error">mono_marshal_set_last_error</a></h4>
<h4><a name="api:mono_marshal_string_to_utf16">mono_marshal_string_to_utf16</a></h4>
<h4><a name="api:mono_marshal_type_size">mono_marshal_type_size</a></h4>
+56
View File
@@ -618,6 +618,7 @@ MONO_TYPESPEC_SIZE
<h4><a name="api:mono_image_get_table_info">mono_image_get_table_info</a></h4>
<h4><a name="api:mono_image_get_table_rows">mono_image_get_table_rows</a></h4>
<h4><a name="api:mono_metadata_get_table">mono_metadata_get_table</a></h4>
<h4><a name="api:mono_meta_table_name">mono_meta_table_name</a></h4>
<h4><a name="api:mono_metadata_decode_row_col">mono_metadata_decode_row_col</a></h4>
<h4><a name="api:mono_metadata_decode_row">mono_metadata_decode_row</a></h4>
<h4><a name="api:mono_metadata_compute_size">mono_metadata_compute_size</a></h4>
@@ -642,6 +643,7 @@ MONO_TYPESPEC_SIZE
<h4><a name="api:mono_metadata_get_constant_index">mono_metadata_get_constant_index</a></h4>
<h4><a name="api:mono_metadata_get_marshal_info">mono_metadata_get_marshal_info</a></h4>
<h4><a name="api:mono_metadata_implmap_from_method">mono_metadata_implmap_from_method</a></h4>
<h4><a name="api:mono_metadata_interfaces_from_typedef_full">mono_metadata_interfaces_from_typedef_full</a></h4>
<h4><a name="api:mono_metadata_interfaces_from_typedef">mono_metadata_interfaces_from_typedef</a></h4>
<h4><a name="api:mono_metadata_locate">mono_metadata_locate</a></h4>
<h4><a name="api:mono_metadata_locate_token">mono_metadata_locate_token</a></h4>
@@ -669,25 +671,79 @@ MONO_TYPESPEC_SIZE
<h4><a name="api:mono_metadata_parse_mh_full">mono_metadata_parse_mh_full</a></h4>
<h4><a name="api:mono_metadata_parse_mh">mono_metadata_parse_mh</a></h4>
<h4><a name="api:mono_metadata_parse_param">mono_metadata_parse_param</a></h4>
<h4><a name="api:mono_metadata_parse_signature_full">mono_metadata_parse_signature_full</a></h4>
<h4><a name="api:mono_metadata_parse_signature">mono_metadata_parse_signature</a></h4>
<h4><a name="api:mono_metadata_parse_typedef_or_ref">mono_metadata_parse_typedef_or_ref</a></h4>
<h4><a name="api:mono_metadata_parse_type_full">mono_metadata_parse_type_full</a></h4>
<h4><a name="api:mono_metadata_parse_type">mono_metadata_parse_type</a></h4>
<h2>Metadata Loader Locking</h2>
<p>The locking functions here are used by code in class.c and
metadata.c to lock access to the shared hashtables inside the
MonoImage.
<h4><a name="api:mono_loader_lock">mono_loader_lock</a></h4>
<h4><a name="api:mono_loader_unlock">mono_loader_unlock</a></h4>
<h2>Generics Support</h2>
<h4><a name="api:mono_metadata_generic_class_is_valuetype">mono_metadata_generic_class_is_valuetype</a></h4>
<h4><a name="api:mono_metadata_has_generic_params">mono_metadata_has_generic_params</a></h4>
<h4><a name="api:mono_metadata_inflate_generic_inst">mono_metadata_inflate_generic_inst</a></h4>
<h4><a name="api:mono_metadata_parse_generic_inst">mono_metadata_parse_generic_inst</a></h4>
<h4><a name="api:mono_metadata_generic_inst_equal">mono_metadata_generic_inst_equal</a></h4>
<h4><a name="api:mono_metadata_generic_inst_hash">mono_metadata_generic_inst_hash</a></h4>
<h4><a name="api:mono_metadata_load_generic_params">mono_metadata_load_generic_params</a></h4>
<h4><a name="api:mono_metadata_generic_inst_is_valuetype">mono_metadata_generic_inst_is_valuetype</a></h4>
<h4><a name="api:mono_metadata_generic_method_equal">mono_metadata_generic_method_equal</a></h4>
<h2>Tokens</h2>
<h4><a name="api:mono_ldtoken">mono_ldtoken</a></h4>
<h4><a name="api:mono_lookup_dynamic_token">mono_lookup_dynamic_token</a></h4>
<h4><a name="api:mono_ldstr">mono_ldstr</a></h4>
<h4><a name="api:mono_exception_from_token">mono_exception_from_token</a></h4>
<h4><a name="api:mono_create_jit_trampoline_from_token">mono_create_jit_trampoline_from_token</a></h4>
<h2>OpCodes</h2>
<h4><a name="api:mono_opcode_name">mono_opcode_name</a></h4>
<h4><a name="api:mono_opcode_value">mono_opcode_value</a></h4>
<h2>Metadata Loading Errors</h2>
<p>The routines in this section are used to cope with errors
during metadata loading. Errors in metadata handling can
happen for many reason, and these include (this is not an
exhaustive list).
<ul>
<li>An assembly referenced is missing.
<li>Fields referenced are missing.
<li>Methods referenced are missing.
</ul>
<p>The <tt>mono_loader_set_*</tt> routines are invoked during
metadata loading to flag that an error has happened. The
class loading errros are flagged in a per-thread basis.
<P>In various spots in the runtime the
<tt>mono_loader_get_last_error</tt> routine is called to check
if there was a problem, and then errors are propagated upwards
on the stack until we reach a point where an exception can be
raised and no runtime locks are held.
<p>The <tt>mono_loader_error_prepare_exception</tt> takes a
<tt>MonoLoaderError</tt> structure (the value returned from
<tt>mono_loader_get_last_error</tt>), turns that into an
exception and clears the error condition from the current
thread.
<h4><a name="api:mono_loader_set_error_field_load">mono_loader_set_error_field_load</a></h4>
<h4><a name="api:mono_loader_set_error_method_load">mono_loader_set_error_method_load</a></h4>
<h4><a name="api:mono_loader_set_error_type_load">mono_loader_set_error_type_load</a></h4>
<h4><a name="api:mono_loader_get_last_error">mono_loader_get_last_error</a></h4>
<h4><a name="api:mono_loader_clear_error">mono_loader_clear_error</a></h4>
<h4><a name="api:mono_loader_error_prepare_exception">mono_loader_error_prepare_exception</a></h4>
Loaded 100 of 30975 files, more files were not shown because too many files have changed in this diff. Show more