Compare commits

..
1328 Commits
Author SHA1 Message Date
Marek Habersack b68a5046d6 [asp.net] Update of fix for bug #648080. Properly populate embedded resources cache 2011-03-23 02:46:22 +01:00
Sebastien Pouliot 2c11692beb Fix randomly failing unit test
* MachineKeySectionUtilsTest.cs: Do not assume xor will change a byte
2010-12-01 02:11:06 +01:00
Marek Habersack 16205147a8 [asp.net] Part of fix for bug #649546. A partial rewrite of the web/script resource handler.
Backport of commit a9cb57cc13

    * System.Web/System.Web.Handlers/AssemblyResourceLoader.cs: AssemblyResourceLoader/ScriptResourceHandler must
      always generate the same URL for every assembly+resource pair, or otherwise the browser would re-fetch
      the resource in situations where it is not desired (e.g. during an async request to the server to update
      a panel).
      The generated URLs are not encrypted using real encryption, just hashed.
      In addition, the handler code got modernized a bit.

    * System.Web.Extensions/System.Web.UI/ScriptManager.cs: scriptStartupBlock is a 3.5+ thing

    * System.Web.Extensions_1.0/Makefile: use the 1.0 Microsoft AJAX library for this compat assembly

    * System.Web/System.Web.Util/MachineKeySectionUtils.cs: made GetValidationKey public
2010-12-01 01:22:00 +01:00
Marek Habersack 938f3f308c [asp.net] make sure the string we pass to DecryptAssemblyResource is a valid Base64 string
Backport of commit 2a6bc369a3
2010-12-01 01:00:22 +01:00
Marek Habersack 66cd060e18 [asp.net] A few moves/changes following previous patch review
Backport of commit 21d2c6aedb

    * Makefile: Compile tests with TEST defined (to include System.Web.Util.
    MachineKeySectionUtils unit tests)
    * System.Web.dll.sources: Move MachineKeySectionUtils.cs from System.
    Web.Configuration_2.0 to System.Web.Util
    * System.Web_test.dll.sources: Move MachineKeySectionUtilsTest.cs from
    System.Web.Configuration_2.0 to System.Web.Util

    * System.Web.Configuration_2.0/MachineKeySection.cs: Adjust using
    clauses. Uncomment some code. Fix TripleDES versus 3DES for Validation
    under NET_4_0. Remove 'private' on fields/methods.
    * System.Web.Handlers/AssemblyResourceLoader.cs: Adjust using clauses
    * System.Web.Security/MembershipHelper.cs: Adjust using clauses
    * System.Web.Security/RolePrincipal.cs: Adjust using clauses
    * System.Web.SessionState_2.0/SessionId.cs: Adjust using clauses
    * System.Web.UI/LosFormatter.cs: Adjust using clauses.
    * System.Web.Util/MachineKeySectionUtils.cs: Moved from System.Web.
    Configuration_2.0. Rename namespace and remove 'internal' on type
    declaration

    * Test/System.Web.Util/MachineKeySectionUtilsTest.cs: Moved from Test/
    System.Web.Configuration/MachineKeySectionTest.cs. Add test case for
    TripleDES versus 3DES
2010-12-01 00:59:49 +01:00
Marek Habersack fc78a30c18 [asp.net] Normalization of cryptographic uses in asp.net.
Backport of commit a22389fde2
       Normalization of cryptographic uses in asp.net

    * System.Web.Configuration_2.0/MachineKeyRegistryStorage.cs:
    Remove key length check and generic key generation.

    * System.Web.Configuration_2.0/MachineKeySection.cs: Add support for 4.0
    ValidationAlgorithm and the use of custom algorithms (validation and
    decryption). Allow the use of any, valid, key length (based on the
    algorithm). Let each algorithm creates its own key (e.g. special needs,
    default length...)

    * System.Web.Configuration_2.0/MachineKeySectionUtils.cs: Remove key
    generation (from random) code and 192bits key length hack (won't work
    with custom algorithms). Add support for new (4.0) algorithms, including
    custom ones. Provide uniform/shared code to Encrypt/Decrypt, Sign/Verify
    and EncryptSign/VerifyDecrypt using MachineKeySection data.

    * System.Web.Configuration_2.0/MachineKeyValidation.cs: Add new (4.0)
    values.

    * System.Web.Configuration_2.0/MachineKeyValidationConverter.cs: Add
    support for new (4.0) algorithms.

    * System.Web.Handlers/AssemblyResourceLoader.cs: Use the new common
    cryptographic code and base64 the encrypted data.

    * System.Web.Security/FormsAuthentication.cs: Use the new common
    cryptographic code and base64 the signed and/or encrypted data.

    * System.Web.Security/MembershipHelper.cs: Use the new common
    cryptographic code - this should be 100% compatible with existing data.

    * System.Web.Security/RolePrincipal.cs: Use the new common cryptographic
    code.

    * System.Web.Security/SqliteMembershipProvider.cs: Adapt code for
    internal API change.
2010-12-01 00:58:48 +01:00
vvaradhan 4035ecdd45 backport of 4613d59
2010-07-23  Veerapuram Varadhan  <[email protected]>

	** Fixes #623451
	* DataColumnCollection.cs (MoveColumn): Fix shifting of
	DataColumn according to the direction of movement.
2010-07-23 22:43:15 +05:30
vvaradhan 15dfcc4f04 backport of 2ec0a00
2010-07-23  Veerapuram Varadhan  <[email protected]>

	** Fixes #565616 - Based on Patch by Hubert FONGARNAND
	* DataContainer.cs (GetContainerData): If typecode is string,
	call Convert.ToString() irrespective of whether value is
	IConvertible or not.
2010-07-23 19:28:49 +05:30
Veerapuram Varadhan b98d2f62db backport of r159962
2010-07-06  Veerapuram Varadhan  <[email protected]>

        ** Fixes #609109
        * TdsComm.cs (Append[DateTime]): Handle datetime values sanely
        that are less than epoch.

svn path=/branches/mono-2-4/mcs/; revision=159970
2010-07-06 16:19:59 +00:00
Veerapuram Varadhan 1157866eed backport of r159851
2010-07-03  Veerapuram Varadhan  <[email protected]>

	** Fixes #609935
	* TdsMetaParameter.cs (Prepare): Use GetActualSize() instead of
	* Size
	property to calculate the length of a nvarchar param.

svn path=/branches/mono-2-4/mcs/; revision=159855
2010-07-03 16:06:23 +00:00
Veerapuram Varadhan 3e34c89324 2010-06-23 Veerapuram Varadhan <[email protected]>
** Fixes #581679
	* DataRelationCollection.cs (Add, Remove): Use DataRelation obj
	instead of this when raising OnCollectionChang(ing, ed) events.

svn path=/branches/mono-2-4/mcs/; revision=159449
2010-06-23 19:04:53 +00:00
Veerapuram Varadhan 72ebae2802 2010-06-15 Veerapuram Varadhan <[email protected]>
** Fixes #613087
	* Tds70.cs (BuildPreparedParameters, BuildProcedureCall): Set
	* default
	precision to 18 as used by MS.Net when connecting to SqlServer
7.0.

svn path=/branches/mono-2-4/mcs/; revision=158954
2010-06-15 16:50:14 +00:00
Gonzalo Paniagua Javier bab851f0ec 2010-05-29 Gonzalo Paniagua Javier <[email protected]>
* FileStream.cs: backport of Miguel's r145271 that fixes bug #531613.


svn path=/branches/mono-2-4/mcs/; revision=158148
2010-05-29 05:32:29 +00:00
Zoltan Varga 750b7a22ee 2010-05-19 Zoltan Varga <[email protected]>
* marshal.c (get_runtime_invoke_type): Backport some fixes from HEAD to fix
	sharing issues.

svn path=/branches/mono-2-4/mono/; revision=157564
2010-05-19 16:08:52 +00:00
Veerapuram Varadhan 7617365456 2010-04-21 Veerapuram Varadhan <[email protected]>
** Fixes #595918
	* Tds70.cs (WriteParameterInfo.cs): Write updated decimal value
	according to specified scale value.

svn path=/branches/mono-2-4/mcs/; revision=155914
2010-04-21 20:21:50 +00:00
Gonzalo Paniagua Javier 8e039e14ea 2010-04-20 Gonzalo Paniagua Javier <[email protected]>
* ChunkStream.cs: ignore chunk extensions when reading the chunk
	size. Fixes bug #597556.


svn path=/branches/mono-2-4/mcs/; revision=155817
2010-04-20 15:54:38 +00:00
Gonzalo Paniagua Javier 2e3bf3ede4 2010-04-19 Gonzalo Paniagua Javier <[email protected]>
* zlib-helper.c: don't call Z_FINISH if nothing has been written.


svn path=/branches/mono-2-4/mono/; revision=155766
2010-04-19 21:12:50 +00:00
Gonzalo Paniagua Javier f61a083996 2010-04-15 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: set content length to -1 on redirect. Reset
	'FinishedReading' on redirects. Fixes bug #593596.


svn path=/branches/mono-2-4/mcs/; revision=155606
2010-04-16 02:17:07 +00:00
Gonzalo Paniagua Javier e1b32f33c0 2010-04-14 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: make GetHostByName ("") work on windows.
	Fixes bug #456723.


svn path=/branches/mono-2-4/mono/; revision=155468
2010-04-15 02:45:04 +00:00
Gonzalo Paniagua Javier b6bb5298a3 2010-04-14 Gonzalo Paniagua Javier <[email protected]>
* DeflateStream.cs: the delegate uses Cdecl calling convention on
	windows too. Fixes bug #574713.


svn path=/branches/mono-2-4/mcs/; revision=155394
2010-04-14 14:17:22 +00:00
Veerapuram Varadhan e27d8fe463 2010-04-11 Veerapuram Varadhan <[email protected]>
** Fixes #591443
	* DataColumn.cs (Clone): Use property to clone Expression as it
	* builds
	compiled expression also, if any.

svn path=/branches/mono-2-4/mcs/; revision=155218
2010-04-11 21:17:38 +00:00
Veerapuram Varadhan 5babb30a18 2010-04-10 Veerapuram Varadhan <[email protected]>
** Fixes #589482
	* DataColumn.cs (set_DataType): Preserve autoIncrement value
	for Decimal types as well.

svn path=/branches/mono-2-4/mcs/; revision=155204
2010-04-10 18:44:21 +00:00
Veerapuram Varadhan d333c74972 2010-04-09 Veerapuram Varadhan <[email protected]>
** Fixes #576520 - Based on a patch by Greg SIROU
<[email protected]>
	* DataSet.cs (WriteColumnAsElement): Handle system.object types
	* sanely.

svn path=/branches/mono-2-4/mcs/; revision=155194
2010-04-10 13:49:53 +00:00
Veerapuram Varadhan d083096855 2010-04-09 Veerapuram Varadhan <[email protected]>
** Fixes #590232
	* DataColumn.cs (Clone):  Clone extended properties as well.

svn path=/branches/mono-2-4/mcs/; revision=155167
2010-04-09 17:31:57 +00:00
Gonzalo Paniagua Javier 6ec16bb8d2 2010-04-07 Gonzalo Paniagua Javier <[email protected]>
* DeflateStream.cs: always use Cdecl, since the library is compiled
	using that calling convention in windows too.


svn path=/branches/mono-2-4/mcs/; revision=155014
2010-04-07 22:57:01 +00:00
Gonzalo Paniagua Javier 2a736ca1d9 2010-04-07 Gonzalo Paniagua Javier <[email protected]>
* zlib-helper.c: now that we don't use Z_SYNC_FLUSH, there might be
	unflushed input in zstream, so always call Z_FINISH.


svn path=/branches/mono-2-4/mono/; revision=154997
2010-04-07 21:41:32 +00:00
Gonzalo Paniagua Javier 438882b5f2 2010-04-07 Gonzalo Paniagua Javier <[email protected]>
* file-io.c: reset the MonoIOStat structure in case of error.
	Fixes bug #582667.


svn path=/branches/mono-2-4/mono/; revision=154907
2010-04-07 05:51:59 +00:00
Andreas Färber b2a1768506 configure: Fix typo
Backport of r154764: It's "initializer".

	* configure.in: Fix typo.

This commit is licensed under the MIT X11 license.

svn path=/branches/mono-2-4/mono/; revision=154767
2010-04-04 13:52:34 +00:00
Zoltan Varga 3101ba54fa 2010-04-01 Zoltan Varga <[email protected]>
* method-to-ir.c (handle_ccastclass): Call save_cast_details (). Fixes
	#592711.

svn path=/branches/mono-2-4/mono/; revision=154577
2010-03-31 22:44:43 +00:00
Gonzalo Paniagua Javier cc3f65fd45 undo
svn path=/branches/mono-2-4/mcs/; revision=154500
2010-03-30 21:23:03 +00:00
Gonzalo Paniagua Javier 3245b3d285 2010-03-30 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/PageParser.cs:
	* System.Web.UI/Page.cs:
	* System.Web.Configuration/PagesConfiguration.cs:
	* System.Web.Compilation/PageCompiler.cs: default for
	EnableViewStateMac is true. Allow setting it from a @Page
	directive.



svn path=/branches/mono-2-4/mcs/; revision=154496
2010-03-30 21:05:59 +00:00
Gonzalo Paniagua Javier e19471fd31 2010-03-27 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: when PreAuthenticate is true, don't remove the
	existing authorization related headers until we know we have a
	replacement. Fixes bug #591633.


svn path=/branches/mono-2-4/mcs/; revision=154346
2010-03-27 16:27:08 +00:00
Veerapuram Varadhan 59e9bd02c7 backport of r154262
svn path=/branches/mono-2-4/mcs/; revision=154267
2010-03-26 12:35:53 +00:00
Veerapuram Varadhan 1e3b5b0ce7 backport of r154261
svn path=/branches/mono-2-4/mcs/; revision=154266
2010-03-26 12:35:38 +00:00
Sebastien Pouliot 5452c67530 2010-03-24 Sebastien Pouliot <[email protected]>
* ASN1Convert.cs: Specify CultureInfo.InvariantCulture (instead of 
	null) to avoid crash on Windows. Patch by Yoni Shalom.
	[Backport r154135]


svn path=/branches/mono-2-4/mcs/; revision=154137
2010-03-24 13:28:29 +00:00
Veerapuram Varadhan 0362042582 backport of r153410
svn path=/branches/mono-2-4/mcs/; revision=154130
2010-03-24 12:30:38 +00:00
Gonzalo Paniagua Javier c5d4aec319 2010-03-23 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: error handling was totally broken in the synchronous
	Connect() call.  Fixes bug #590488.


svn path=/branches/mono-2-4/mcs/; revision=154089
2010-03-23 20:34:16 +00:00
Zoltan Varga d2cd7bd9fa 2010-03-22 Zoltan Varga <[email protected]>
* loader.c (mono_method_get_marshal_info): Fix the handling of dynamic methods
	broken by the last change.

svn path=/branches/mono-2-4/mono/; revision=153976
2010-03-22 12:43:39 +00:00
Zoltan Varga 46b286cf7e 2010-03-04 Geoff Norton <[email protected]>
* loader.c: The marshal specs are freed at the end of the call
	but it explicitly frees the strings as well as the container,
	so we need to dup them too to avoid referencing free'd memory.

svn path=/branches/mono-2-4/mono/; revision=153975
2010-03-22 12:43:26 +00:00
Zoltan Varga 6a50faab8d 2010-03-21 Zoltan Varga <[email protected]>
* mini-ppc.c (mono_arch_emit_exceptions): Avoid an assert in ppc_patch () for
	some large methods with lots of exception handlers. Fixes #440924.

svn path=/branches/mono-2-4/mono/; revision=153955
2010-03-21 12:46:26 +00:00
Zoltan Varga 99086682a8 2010-03-19 Zoltan Varga <[email protected]>
* mini-arm.c: Backport lots of changes from HEAD to reduce the number of ARM
	test failures.

svn path=/branches/mono-2-4/mono/; revision=153890
2010-03-19 12:19:55 +00:00
Gonzalo Paniagua Javier 1a612b9eed 2010-03-18 Gonzalo Paniagua Javier <[email protected]>
* FtpWebResponse.cs:
	* FtpWebRequest.cs: for non-data operations, make sure we send the
	QUIT command upon completion when KeepAlive is false.
	Fixes bug #589305.


svn path=/branches/mono-2-4/mcs/; revision=153827
2010-03-18 11:59:56 +00:00
Gonzalo Paniagua Javier d8fdb91b53 2010-03-17 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: if the detected encoding is different from the
	provided to the constructor, adjust the decoded buffer size if
	needed. Fixes bug #589236.


svn path=/branches/mono-2-4/mcs/; revision=153801
2010-03-18 02:41:41 +00:00
Zoltan Varga e5dee34d72 2010-03-14 Zoltan Varga <[email protected]>
* ILParser.jay: Fix the float32(<long>) case in the previous change.

svn path=/branches/mono-2-4/mcs/; revision=153545
2010-03-14 01:53:36 +00:00
Zoltan Varga a91407874b 2010-03-14 Zoltan Varga <[email protected]>
* ILParser.jay: Fix support for hex float literals on big-endian platforms.

svn path=/branches/mono-2-4/mcs/; revision=153542
2010-03-14 01:43:46 +00:00
Zoltan Varga 8ffbb443f6 2010-03-11 Zoltan Varga <[email protected]>
* aot-compiler.c (mono_compile_assembly): Use the asm writer when static linking.
	Fixes #587306.

svn path=/branches/mono-2-4/mono/; revision=153451
2010-03-11 08:09:59 +00:00
Zoltan Varga a8022475e0 2010-03-09 Zoltan Varga <[email protected]>
* object-internals.h (_G_BOOLEAN_EXPR): Fix the definition of this to explicitly
	convert to a boolean, recent gcc versions compile this differently.

svn path=/branches/mono-2-4/mono/; revision=153374
2010-03-09 22:24:48 +00:00
Zoltan Varga 892a5dfdf1 2010-03-09 Zoltan Varga <[email protected]>
* mini-codegen.c (mono_peephole_ins): Fix the OP_FMOVE optimization. Fixes
	#586664.

	* iltests.il.in: Add a test.

svn path=/branches/mono-2-4/mono/; revision=153334
2010-03-09 18:22:03 +00:00
Zoltan Varga 5297b7ef1e 2010-03-07 Zoltan Varga <[email protected]>
* branch-opts.c (mono_if_conversion): Disable one of the cases when deadce
	is disabled. Fixes #582322.

	* iltests.il.in: Add a test.

svn path=/branches/mono-2-4/mono/; revision=153221
2010-03-07 19:27:25 +00:00
Gonzalo Paniagua Javier 18e3664776 2010-03-06 Gonzalo Paniagua Javier <[email protected]>
* processes.c: made ShellExecuteEx actually work when the file name to
	execute is quoted. Display a message intead of blindly ignoring the
	result of g_shell_parse_argv(). Fixes bug #385497.


svn path=/branches/mono-2-4/mono/; revision=153210
2010-03-06 21:38:45 +00:00
Gonzalo Paniagua Javier e47c2702a3 2010-03-06 Gonzalo Paniagua Javier <[email protected]>
* SmtpClient.cs: typo in reply-to header. Thanks to Chris Tomlinson.
	Fixes bug #578271.


svn path=/branches/mono-2-4/mcs/; revision=153182
2010-03-06 16:39:08 +00:00
Zoltan Varga 31274888cf 2010-03-05 Zoltan Varga <[email protected]>
* shared.c (shm_semaphores_init): Applied patch from Cal Page
	([email protected]). Fix support for USE_SHM.

svn path=/branches/mono-2-4/mono/; revision=153134
2010-03-05 18:48:11 +00:00
Zoltan Varga ee0d4e9e5a 2009-04-14 Zoltan Varga <[email protected]>
* marshal.c (mono_delegate_to_ftnptr): Use mono_gc_alloc_fixed () for
	allocating the location holding the this argument to prevent
	'too many root sets' errors.

svn path=/branches/mono-2-4/mono/; revision=152518
2010-02-26 00:41:25 +00:00
Zoltan Varga 84443bae60 2009-04-13 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_emit_managed_wrapper): Handle closed delegates
	correctly. Fixes #492330.

svn path=/branches/mono-2-4/mono/; revision=152517
2010-02-26 00:41:19 +00:00
Zoltan Varga 5c4854caac 2009-04-13 Zoltan Varga <[email protected]>
* marshal.c: Fix the embedding of object pointers into JITted code in
	the native-to-managed wrappers by allocating some GC tracked memory, and
	embedding the address of that.

svn path=/branches/mono-2-4/mono/; revision=152516
2010-02-26 00:41:13 +00:00
Gabriel Burt f0b6e27019 2010-02-23 Gabriel Burt <[email protected]>
* Normalization.cs: Implement algorithmic Hangul decomposition; Calling
	string.Normalize on Korean characters now works properly (bnc#480152).
	This reduces the number of errors in 'make test' from 27k to 5.1k.

	* StringNormalizationTestSource.cs:
	* Makefile: Use the local, working copy of Normalization etc,so as to make
	modifying Normalization.cs and then testing your changes with 'make test'
	possible.  Also, fix building/running of tests, patch by Alexander
	Kojevnikov.

	* NormalizationTableUtil.cs : Backport fix some wrong ranges in
	mapIdxToComposite. This fixes some Arabic normalization (and more), and
	fixes generating NormalizationGenerated.cs.

svn path=/branches/mono-2-4/mcs/; revision=152308
2010-02-23 22:34:57 +00:00
Zoltan Varga 6849897022 2010-02-22 Zoltan Varga <[email protected]>
* decompose.c (mono_decompose_long_opts): Handle OP_LCONV_TO_OVF_I8 here too.

svn path=/branches/mono-2-4/mono/; revision=152216
2010-02-22 22:16:55 +00:00
Zoltan Varga 2b0a5d74e4 2010-02-22 Zoltan Varga <[email protected]>
* decompose.c (mono_decompose_opcode): Handle OP_LCONV_TO_OVF_I8. Fixes
	#581950.

	* iltests.il.in: Add a test.

svn path=/branches/mono-2-4/mono/; revision=152212
2010-02-22 22:12:01 +00:00
Zoltan Varga 2ce7c01622 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-4/mono/; revision=152179
2010-02-22 14:37:22 +00:00
Marek Habersack b757e09adb Backport r152060
svn path=/branches/mono-2-4/mcs/; revision=152062
2010-02-19 11:17:59 +00:00
Marek Habersack cdee5c9cbb Backport of r152045
svn path=/branches/mono-2-4/mcs/; revision=152047
2010-02-19 03:03:31 +00:00
Marek Habersack b58af56772 Fix for test failing in 1.1
svn path=/branches/mono-2-4/mcs/; revision=152043
2010-02-19 02:35:13 +00:00
Marek Habersack d072f5b1aa Backport of r152040
svn path=/branches/mono-2-4/mcs/; revision=152042
2010-02-19 01:51:54 +00:00
Marek Habersack c2d0b44fd8 Backport of r152025
svn path=/branches/mono-2-4/mcs/; revision=152027
2010-02-18 21:49:18 +00:00
Marek Habersack ef6d6f6322 Backport of r151983
svn path=/branches/mono-2-4/mcs/; revision=151985
2010-02-18 13:30:33 +00:00
Marek Habersack 050f2d1ed9 Backport of r151978
svn path=/branches/mono-2-4/mcs/; revision=151980
2010-02-18 12:38:26 +00:00
Marek Habersack 8fbfd7ce0d Backport of r151964
svn path=/branches/mono-2-4/mcs/; revision=151966
2010-02-18 10:51:24 +00:00
Zoltan Varga b36ea50655 2010-02-18 Zoltan Varga <[email protected]>
* method-to-ir.c (mono_method_to_ir): Fix SIZEOF in dynamic methods.

svn path=/branches/mono-2-4/mono/; revision=151947
2010-02-18 00:35:34 +00:00
Zoltan Varga 01c1b0fe90 2010-02-18 Zoltan Varga <[email protected]>
* class.c (mono_class_get_cctor): Fix support for dynamic classes, which doesn't
	have has_cctor set. Fixes #575946.

svn path=/branches/mono-2-4/mono/; revision=151945
2010-02-18 00:35:11 +00:00
Gonzalo Paniagua Javier 967636ea68 update year
svn path=/branches/mono-2-4/mono/; revision=151766
2010-02-16 01:50:35 +00:00
Gonzalo Paniagua Javier d470dd36c3 2010-02-15 Gonzalo Paniagua Javier <[email protected]>
* StreamWriter.cs:
	* FileStream.cs: if flushing fails when disposing the stream, make
	sure it is closed before throwing the exception. Fixes bug #579146.


svn path=/branches/mono-2-4/mcs/; revision=151763
2010-02-16 01:40:31 +00:00
Gonzalo Paniagua Javier 74b02ab64d 2010-02-15 Gonzalo Paniagua Javier <[email protected]>
* SoapDocumentationHandler.cs: use IndexOf() instead of LastIndexOf()
	when removing the querystring from the url.



svn path=/branches/mono-2-4/mcs/; revision=151756
2010-02-15 23:12:31 +00:00
Marek Habersack 87f633facb Backport of r151604
svn path=/branches/mono-2-4/mcs/; revision=151606
2010-02-12 12:08:05 +00:00
Marek Habersack 2783855769 Backport of r151519
svn path=/branches/mono-2-4/mcs/; revision=151521
2010-02-11 14:17:02 +00:00
Gonzalo Paniagua Javier 476a318420 2010-02-09 Gonzalo Paniagua Javier <[email protected]>
* threadpool.c: Fixes for SetMinThreads and SetMaxThreads.
	Closes bug #566057.

	* exception.c: fix typo in comment.


svn path=/branches/mono-2-4/mono/; revision=151154
2010-02-09 23:02:55 +00:00
Marek Habersack 1620399575 Backport of r150802
svn path=/branches/mono-2-4/mcs/; revision=150804
2010-02-04 01:02:01 +00:00
Zoltan Varga 7047255adb 2010-02-02 Zoltan Varga <[email protected]>
* reflection.c (resolve_object): Handle MonoArrayMethod. Fixes #575955.

svn path=/branches/mono-2-4/mono/; revision=150744
2010-02-02 22:36:10 +00:00
Zoltan Varga ea1ed34a41 2010-02-02 Zoltan Varga <[email protected]>
* mini-trampolines.c (common_call_trampoline): Fix a problem where the callsite
	was not patched if the callee needed an rgctx trampoline.

svn path=/branches/mono-2-4/mono/; revision=150691
2010-02-02 05:14:51 +00:00
Marek Habersack 7eff445b24 Backport of r150684
svn path=/branches/mono-2-4/mcs/; revision=150686
2010-02-01 23:48:02 +00:00
Zoltan Varga f0133a2cb3 Fix the 2.4 build.
svn path=/branches/mono-2-4/mcs/; revision=150569
2010-01-29 20:18:42 +00:00
Zoltan Varga b2d67b627a 2010-01-29 Zoltan Varga <[email protected]>
* class.c (make_generic_param_class): Initialize interface offsets since we
	set klass->inited. Fixes #574819.

svn path=/branches/mono-2-4/mono/; revision=150561
2010-01-29 17:45:37 +00:00
Gonzalo Paniagua Javier 4ffb2640ce 2010-01-28 Gonzalo Paniagua Javier <[email protected]>
* zlib-helper.c: no need for sync flush when compressing.
	Thanks to Hin-Tak Leung.


svn path=/branches/mono-2-4/mono/; revision=150351
2010-01-28 07:09:08 +00:00
Zoltan Varga d47a889a27 2010-01-27 Zoltan Varga <[email protected]>
* object.c (mono_field_get_value_object): Handle nullable types correctly.
	Fixes #572874.

svn path=/branches/mono-2-4/mono/; revision=150293
2010-01-27 14:48:22 +00:00
Zoltan Varga a486a6fa3e 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-4/mono/; revision=150126
2010-01-25 12:47:16 +00:00
Zoltan Varga 934114cc41 2010-01-06 Atsushi Enomoto <[email protected]>
* culture-info-table.h : regenerated.

svn path=/branches/mono-2-4/mono/; revision=150122
2010-01-25 12:16:56 +00:00
Zoltan Varga 90c321babb 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-4/mono/; revision=150120
2010-01-25 12:09:11 +00:00
Carlos Alberto Cortez b3a5fc7b19 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-4/mcs/; revision=150030
2010-01-21 23:25:19 +00:00
Carlos Alberto Cortez 29b731ae11 * 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-4/mcs/; revision=150026
2010-01-21 22:49:35 +00:00
Carlos Alberto Cortez 2ea6ceccf6 Forgot to include XplatUI.cs in the last commit
svn path=/branches/mono-2-4/mcs/; revision=150023
2010-01-21 22:21:28 +00:00
Carlos Alberto Cortez 396c83dc1e * 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-4/mcs/; revision=150022
2010-01-21 22:20:27 +00:00
Carlos Alberto Cortez 980e5a27a1 * 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-4/mcs/; revision=150020
2010-01-21 22:06:37 +00:00
Carlos Alberto Cortez a8cb7112b5 2010-01-21 Carlos Alberto Cortez <[email protected]>
* RichTextBoxTest.cs: New test for the Modified property.


svn path=/branches/mono-2-4/mcs/; revision=150018
2010-01-21 21:50:07 +00:00
Carlos Alberto Cortez 6ad7a0c56f 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-4/mcs/; revision=150016
2010-01-21 21:47:41 +00:00
Zoltan Varga e4036d54e2 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-4/mono/; revision=150015
2010-01-21 21:28:24 +00:00
Sebastien Pouliot e87225c2cc 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-4/mcs/; revision=150009
2010-01-21 19:50:44 +00:00
Gonzalo Paniagua Javier 105ec7f6b4 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-4/mcs/; revision=149985
2010-01-21 15:22:52 +00:00
Marek Habersack 224ef27a93 Backport of r149855
svn path=/branches/mono-2-4/mcs/; revision=149858
2010-01-19 22:39:17 +00:00
Marek Habersack 68dd4af230 Backport of r149842
svn path=/branches/mono-2-4/mcs/; revision=149844
2010-01-19 21:15:06 +00:00
Rodrigo Kumpera 3f5eb5e2f8 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-4/mono/; revision=149812
2010-01-19 13:00:56 +00:00
Marek Habersack 5e660bb397 Backport of r149778
svn path=/branches/mono-2-4/mcs/; revision=149780
2010-01-18 22:35:03 +00:00
Marek Habersack ca09138f17 Backport of r149756
svn path=/branches/mono-2-4/mcs/; revision=149758
2010-01-18 17:44:08 +00:00
Zoltan Varga 722ba3b031 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-4/mono/; revision=149708
2010-01-17 08:47:45 +00:00
Zoltan Varga 4ee16e038b 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-4/mono/; revision=149674
2010-01-16 00:50:11 +00:00
Marek Habersack e8177ade41 Backport of r149631
svn path=/branches/mono-2-4/mcs/; revision=149633
2010-01-15 13:24:39 +00:00
Gonzalo Paniagua Javier b961e9bd5b 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-4/mcs/; revision=149502
2010-01-13 23:23:31 +00:00
Zoltan Varga dd329e4faf 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-4/mono/; revision=149346
2010-01-11 22:28:20 +00:00
Zoltan Varga ce6a2ff251 2010-01-11 Zoltan Varga <[email protected]>
* mono-profiler-logging.c (_ProfilerFileWriteBuffer): Use MONO_ZERO_LEN_ARRAY.
	Fixes #569806.

svn path=/branches/mono-2-4/mono/; revision=149344
2010-01-11 22:24:39 +00:00
Zoltan Varga 0538722d6e 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-4/mono/; revision=149338
2010-01-11 21:02:00 +00:00
Zoltan Varga a7b62ee407 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-4/mono/; revision=149336
2010-01-11 21:00:56 +00:00
Zoltan Varga 62dc4c4e53 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-4/mono/; revision=149334
2010-01-11 21:00:07 +00:00
Carlos Alberto Cortez 2ef667684b 2010-01-10 Carlos Alberto Cortez <[email protected]>
* ToolStripMenuItemTest: New test for the events related to the check
	state.


svn path=/branches/mono-2-4/mcs/; revision=149294
2010-01-11 00:47:21 +00:00
Carlos Alberto Cortez f8f39ed6f4 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-4/mcs/; revision=149292
2010-01-11 00:45:16 +00:00
Zoltan Varga 7cae2e16c5 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-4/mono/; revision=149288
2010-01-10 22:46:07 +00:00
Carlos Alberto Cortez f8e93ef415 2010-01-09 Carlos Alberto Cortez <[email protected]>
* TrackBarTest.cs: New test for events.


svn path=/branches/mono-2-4/mcs/; revision=149273
2010-01-09 18:29:26 +00:00
Carlos Alberto Cortez 775ca6da9f 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-4/mcs/; revision=149270
2010-01-09 17:18:32 +00:00
Marek Habersack de7deb6b34 Backport of r149262
svn path=/branches/mono-2-4/mcs/; revision=149264
2010-01-09 00:33:14 +00:00
Sebastien Pouliot 208e97dc75 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 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-4/mcs/; revision=149173
2010-01-07 15:26:28 +00:00
Marek Habersack 2a646f27e9 Backport of r149089
svn path=/branches/mono-2-4/mcs/; revision=149091
2010-01-05 23:13:42 +00:00
Marek Habersack 95adef5ac4 Backport of r149077
svn path=/branches/mono-2-4/mcs/; revision=149079
2010-01-05 12:14:13 +00:00
Carlos Alberto Cortez 7cdcc67988 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-4/mcs/; revision=149074
2010-01-05 11:40:39 +00:00
Zoltan Varga 8081943a80 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-4/mono/; revision=149058
2010-01-04 22:13:58 +00:00
Zoltan Varga 4e4be49ba0 2009-12-22 Geoff Norton <[email protected]>
* configure.in: Fix invalid escaping.  Patch from Spina from
	www.slacky.eu.

svn path=/branches/mono-2-4/mono/; revision=149050
2010-01-04 21:05:04 +00:00
Carlos Alberto Cortez 871c408ed1 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-4/mcs/; revision=149011
2010-01-04 11:45:28 +00:00
Zoltan Varga e9488c7ecf 2010-01-03 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): Fix a memory leak.

svn path=/branches/mono-2-4/mono/; revision=148991
2010-01-03 16:49:05 +00:00
Zoltan Varga cf598f9d14 2010-01-03 Zoltan Varga <[email protected]>
* TransactionAbortedException.cs: Make the default ctor public. Fixes #567872.

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

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

svn path=/branches/mono-2-4/mcs/; revision=148973
2010-01-03 13:54:35 +00:00
Zoltan Varga e8f8249d3c 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-4/mono/; revision=148970
2010-01-03 13:30:06 +00:00
Jonathan Pryor aaeaa3e44f * 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-4/mcs/; revision=148946
2009-12-30 20:05:46 +00:00
Sebastien Pouliot 2cb125b3f6 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-4/mcs/; revision=148893
2009-12-24 18:49:36 +00:00
Jo Shields ab469a4bd9 Backport r148856 from trunk to fix broken RabbitMQ build
svn path=/branches/mono-2-4/mcs/; revision=148858
2009-12-23 02:36:09 +00:00
Zoltan Varga c88bf84bc6 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-4/mono/; revision=148850
2009-12-22 17:52:17 +00:00
Jo Shields 2e3102adb4 Backport r148843 and r148844 from trunk
svn path=/branches/mono-2-4/mono/; revision=148847
2009-12-22 17:45:02 +00:00
Sebastien Pouliot b5ecc8d838 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-4/mcs/; revision=148824
2009-12-21 22:42:51 +00:00
Michael Barker caddf234a4 2009-12-19 Michael Barker <[email protected]>
* Added stripped xml to avoid licensing issues.

svn path=/branches/mono-2-4/mcs/; revision=148818
2009-12-21 19:16:49 +00:00
Marek Habersack 9f101930f4 Backport r148806
svn path=/branches/mono-2-4/mcs/; revision=148808
2009-12-21 14:27:56 +00:00
Zoltan Varga 3b438d056d 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-4/mcs/; revision=148791
2009-12-19 21:36:51 +00:00
Marek Habersack 77077b4a4c Backport of r148743
svn path=/branches/mono-2-4/mcs/; revision=148745
2009-12-18 11:08:21 +00:00
Zoltan Varga 8041750cc2 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-4/mono/; revision=148687
2009-12-17 09:35:42 +00:00
Zoltan Varga b8fd870d22 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-4/mono/; revision=148686
2009-12-17 09:35:36 +00:00
Zoltan Varga 17f4fed102 2009-12-17 Zoltan Varga <[email protected]>
* reflection.c (resolve_object): Fix the encoding of unmanaged calling
	conventions.

svn path=/branches/mono-2-4/mono/; revision=148685
2009-12-17 09:35:29 +00:00
Gonzalo Paniagua Javier d322f8cf09 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-4/mono/; revision=148594
2009-12-16 21:44:03 +00:00
Rodrigo Kumpera 1c53908155 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-4/mono/; revision=148586
2009-12-16 21:17:54 +00:00
Rodrigo Kumpera f7ecfbbfe6 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-4/mono/; revision=148580
2009-12-16 20:05:17 +00:00
Zoltan Varga 65cca3fd0a 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-4/mono/; revision=148562
2009-12-16 12:46:27 +00:00
Marek Habersack 9c008dd101 Backport of r148498
svn path=/branches/mono-2-4/mcs/; revision=148500
2009-12-15 18:46:16 +00:00
Marek Habersack 63ee1f347f Backport of r148474
svn path=/branches/mono-2-4/mono/; revision=148476
2009-12-15 12:25:28 +00:00
Marek Habersack a3c0e41a52 Backport of r148378
svn path=/branches/mono-2-4/mcs/; revision=148380
2009-12-14 13:05:44 +00:00
Zoltan Varga 330a012786 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-4/mono/; revision=148127
2009-12-11 19:53:53 +00:00
Zoltan Varga 28e5c87672 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-4/mono/; revision=148126
2009-12-11 19:53:45 +00:00
Paolo Molaro 021368ac0a 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-4/mono/; revision=148107
2009-12-11 17:28:11 +00:00
Rodrigo Kumpera 97d93b028d In .:
2009-12-01  Rodrigo Kumpera  <[email protected]>

	* reflection.c (fieldref_encode_signature): For some reason 2.4 doesn't
	behave like 2.8 on this part. So add an extra guard for the token kind.

	Fixes #563909.


svn path=/branches/mono-2-4/mono/; revision=148100
2009-12-11 13:29:57 +00:00
Zoltan Varga 5c34a171c3 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-4/mono/; revision=147742
2009-12-05 17:34:13 +00:00
Zoltan Varga e871376513 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-4/mono/; revision=147739
2009-12-05 06:35:25 +00:00
Jonathan Pobst da3af6cfca [Backport to 2.4]
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-4/mcs/; revision=147680
2009-12-04 17:16:46 +00:00
Zoltan Varga 1763ca8602 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-4/mono/; revision=147626
2009-12-03 22:48:21 +00:00
Zoltan Varga 204d02f94d 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-4/mono/; revision=147605
2009-12-03 21:12:26 +00:00
Zoltan Varga 6c200f3dec 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-4/mono/; revision=147601
2009-12-03 20:55:04 +00:00
Zoltan Varga ace57a85d1 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-4/mono/; revision=147588
2009-12-03 19:36:35 +00:00
Marek Habersack 226977213f Backport of r147399
svn path=/branches/mono-2-4/mcs/; revision=147400
2009-12-02 09:01:35 +00:00
Rodrigo Kumpera 8e6ee7263c In .:
2009-12-01  Rodrigo Kumpera  <[email protected]>

	* metadata.c (inflated_method_in_image): Avoid calling
	mono_method_signature () if the method does not already have a signature.

	Backport of r125724.


svn path=/branches/mono-2-4/mono/; revision=147165
2009-12-01 02:27:07 +00:00
Zoltan Varga 82b554e7b6 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-4/mono/; revision=147104
2009-11-30 16:27:39 +00:00
Zoltan Varga c1f8ce5e71 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-4/mono/; revision=147059
2009-11-28 17:36:05 +00:00
Zoltan Varga 6bd58a2836 2009-11-24 Zoltan Varga <[email protected]>
* aot-compiler.c: Avoid infinite recursion when generic virtual recursion is
	encountered.

svn path=/branches/mono-2-4/mono/; revision=147047
2009-11-27 18:27:48 +00:00
Sebastien Pouliot aaa9741fc5 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-4/mcs/; revision=146995
2009-11-26 15:22:23 +00:00
Zoltan Varga f4c48646e1 2009-11-25 Zoltan Varga <[email protected]>
* Delegate.cs (GetHashCode): Fix this so it is constant.

svn path=/branches/mono-2-4/mcs/; revision=146906
2009-11-25 13:41:34 +00:00
Zoltan Varga 2de741d7b2 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-4/mono/; revision=146854
2009-11-24 18:32:33 +00:00
Marek Habersack ca455804e1 Fix 1.1 tests build and some failing tests
svn path=/branches/mono-2-4/mcs/; revision=146772
2009-11-23 22:02:51 +00:00
Marek Habersack c40891536f Fix the build
svn path=/branches/mono-2-4/mcs/; revision=146764
2009-11-23 18:59:17 +00:00
Marek Habersack 31cb670c04 Fix 1.1 build
svn path=/branches/mono-2-4/mcs/; revision=146745
2009-11-23 17:27:23 +00:00
Marek Habersack 087dd1bf11 Backport of r146732
svn path=/branches/mono-2-4/mcs/; revision=146735
2009-11-23 16:28:18 +00:00
Zoltan Varga dc5b1c7516 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-4/mono/; revision=146690
2009-11-22 23:27:19 +00:00
Zoltan Varga 2cd739fc8d 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-4/mono/; revision=146669
2009-11-21 02:49:14 +00:00
Zoltan Varga b5006461ca 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-4/mono/; revision=146605
2009-11-20 07:27:39 +00:00
Marek Habersack 13929f1233 Backport of r146546
svn path=/branches/mono-2-4/mcs/; revision=146548
2009-11-19 15:19:36 +00:00
Marek Habersack 9a977c28d8 Backport of r146525
svn path=/branches/mono-2-4/mcs/; revision=146527
2009-11-19 12:20:26 +00:00
Carlos Alberto Cortez c5cf2d76cf * 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]).

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


svn path=/branches/mono-2-4/mcs/; revision=146409
2009-11-18 09:29:09 +00:00
Carlos Alberto Cortez 523199f463 * DataGrid.cs: In CurrentCell, the check to do nothing in case we are
in the same cell as specified *and* not editing is wrong.

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


svn path=/branches/mono-2-4/mcs/; revision=146408
2009-11-18 09:27:51 +00:00
Carlos Alberto Cortez 8c56acc9f8 * DataGrid.cs: When removing the cells, don't do anything if the
specified row is the extra cell we use to add new ones.

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


svn path=/branches/mono-2-4/mcs/; revision=146407
2009-11-18 09:18:35 +00:00
Carlos Alberto Cortez dd05b043a4 * DataGrid.cs: CurrentCell should be *used* if the new value is the
same as the current one, since we could need to activate the edition
	in the current row. Also, when beginning the edition, do nothing if,
	basides having an empty source, we are sure we don't have the new
	cell, which could obviously start it.
	Fixes other bits of #323154.

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


svn path=/branches/mono-2-4/mcs/; revision=146406
2009-11-18 09:17:14 +00:00
Carlos Alberto Cortez aba4d5f8cd * DataGrid.cs: When we get notified by a change in the position of our
data source, don't set CurrentRow if the source is empty, as there's
	no need to do anything else in the first place, and second, the logic
	in the CurrentRow setter (public property) will add a new row by
	default in this case (that is, when the source is empty).
	Fixes part of #323154.

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


svn path=/branches/mono-2-4/mcs/; revision=146405
2009-11-18 09:15:22 +00:00
Carlos Alberto Cortez b716b5e1ca * ToolStripMenuItem.cs: Don't try to use SystemColors.MenuText if fore
color is SystemColors.ControlText, as this system color detection
	should be done *completely*. This is specially important when
	detecting colors in systems running Gtk+ and dark themes.

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


svn path=/branches/mono-2-4/mcs/; revision=146404
2009-11-18 09:13:39 +00:00
Carlos Alberto Cortez 0f1dc92039 2009-11-18 Carlos Alberto Cortez <[email protected]>
* DataGrid.cs: Add a new internal property to get the maximum possible
	visible rows in the grid. We cannot use VisibleRowCount since this
	value can, depending on the scroll position, return a +1 or -1 value,
	so we need an absolute way to know whether we need a scroll bar or
	not. Also, update VLargeChange to avoid code duplication.
	Fixes a vertical scroll mismatch happening trying to add a new row
	while the scrollbar has reached its maximum value.


svn path=/branches/mono-2-4/mcs/; revision=146403
2009-11-18 09:11:02 +00:00
Gonzalo Paniagua Javier b1d882a2c7 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-4/mcs/; revision=146292
2009-11-16 21:39:37 +00:00
Marek Habersack 5dba9fd63b Backport of r146275
svn path=/branches/mono-2-4/mcs/; revision=146277
2009-11-16 17:09:53 +00:00
Marek Habersack 86d4e4beac Backport of r146250
svn path=/branches/mono-2-4/mcs/; revision=146252
2009-11-16 11:54:36 +00:00
Zoltan Varga 68ce4778da 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-4/mono/; revision=146217
2009-11-15 01:21:22 +00:00
Marek Habersack 6ed50ed78d Backport of r146199
svn path=/branches/mono-2-4/mcs/; revision=146201
2009-11-14 01:22:50 +00:00
Marek Habersack dd17579abb Backport of r146191
svn path=/branches/mono-2-4/mcs/; revision=146193
2009-11-13 23:46:19 +00:00
Marek Habersack ffd46ece51 Backport of r146151
svn path=/branches/mono-2-4/mcs/; revision=146152
2009-11-13 15:46:55 +00:00
Marek Habersack 0267677c46 More fixes to make all 1.1 tests succeed
svn path=/branches/mono-2-4/mcs/; revision=146143
2009-11-13 15:16:01 +00:00
Marek Habersack 1eb009c06b Restore setting up shadow copying for 1.1 to fix failing tests
svn path=/branches/mono-2-4/mcs/; revision=146140
2009-11-13 14:24:24 +00:00
Marek Habersack 073ba34f2b 1.1 build fix
svn path=/branches/mono-2-4/mcs/; revision=146139
2009-11-13 14:02:55 +00:00
Marek Habersack b889920cbe Backport of several fixes needed to make all 2.0 tests succeed
svn path=/branches/mono-2-4/mcs/; revision=146136
2009-11-13 13:59:41 +00:00
Marek Habersack 4b45b3f367 Fix for majority of failing tests and a 1.1 build fix
svn path=/branches/mono-2-4/mcs/; revision=146133
2009-11-13 13:25:50 +00:00
Marek Habersack c4d718644a Backport of r146126
svn path=/branches/mono-2-4/mcs/; revision=146128
2009-11-13 12:57:46 +00:00
Zoltan Varga 6092fa2e9d 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-4/mono/; revision=146111
2009-11-13 06:38:25 +00:00
Marek Habersack e0bef96e4d Backport of r146092
svn path=/branches/mono-2-4/mcs/; revision=146094
2009-11-13 02:05:04 +00:00
Marek Habersack 8b45b5288c Backport of r146086
svn path=/branches/mono-2-4/mcs/; revision=146088
2009-11-13 01:19:32 +00:00
Carlos Alberto Cortez bde0742c33 2009-11-11 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.


svn path=/branches/mono-2-4/mcs/; revision=145946
2009-11-11 08:56:03 +00:00
Carlos Alberto Cortez f57941576f * 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-11  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=145945
2009-11-11 08:49:30 +00:00
Carlos Alberto Cortez 2c8c108695 * 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-11  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=145944
2009-11-11 08:47:55 +00:00
Carlos Alberto Cortez 0618321ce5 * 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-11  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=145943
2009-11-11 08:43:44 +00:00
Carlos Alberto Cortez 4bcff3488f * 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-11  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=145942
2009-11-11 08:38:05 +00:00
Carlos Alberto Cortez 8f26a0a7e6 * 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-11-11  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=145941
2009-11-11 08:21:52 +00:00
Carlos Alberto Cortez d279030271 * 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-11-11  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=145940
2009-11-11 08:17:23 +00:00
Carlos Alberto Cortez 354c980fb9 * ToolTip.cs: ShowAlways works at the form level, not at the control
level. Fixes #544565.

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


svn path=/branches/mono-2-4/mcs/; revision=145938
2009-11-11 08:14:46 +00:00
Carlos Alberto Cortez 7979db0b61 * 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-11-11  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=145937
2009-11-11 08:08:21 +00:00
Carlos Alberto Cortez deac0e9ae3 2009-11-11 Carlos Alberto Cortez <[email protected]>
* ComboBoxTest.cs: New test case for data binding and Text
	interaction.


svn path=/branches/mono-2-4/mcs/; revision=145936
2009-11-11 08:01:29 +00:00
Carlos Alberto Cortez d96eb88f1f 2009-11-11 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.


svn path=/branches/mono-2-4/mcs/; revision=145935
2009-11-11 07:59:22 +00:00
Marek Habersack eb6d24a5e7 Backport of r145831
svn path=/branches/mono-2-4/mcs/; revision=145833
2009-11-10 13:49:40 +00:00
Marek Habersack be535c852e Backport of r145824
svn path=/branches/mono-2-4/mcs/; revision=145826
2009-11-10 10:42:24 +00:00
Marek Habersack bcba7f1e72 Backport of r145740
svn path=/branches/mono-2-4/mcs/; revision=145742
2009-11-09 14:21:43 +00:00
Marek Habersack bf91b204d9 Backport of r145735
svn path=/branches/mono-2-4/mcs/; revision=145737
2009-11-09 13:40:48 +00:00
Marek Habersack 96f8f5c696 Backport of r145727
svn path=/branches/mono-2-4/mcs/; revision=145729
2009-11-09 12:31:53 +00:00
Marek Habersack 064e04a574 Backport r145721
svn path=/branches/mono-2-4/mcs/; revision=145723
2009-11-09 11:47:20 +00:00
Zoltan Varga 58e83da38a 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-4/mono/; revision=145571
2009-11-06 08:19:19 +00:00
Gonzalo Paniagua Javier 4c8cf00077 2009-11-04 Gonzalo Paniagua Javier <[email protected]>
* debug-helpers.c: avoid g_strdup() in mono_type_full_name().


svn path=/branches/mono-2-4/mono/; revision=145451
2009-11-05 00:54:19 +00:00
Rodrigo Kumpera f1535a5e98 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-4/mono/; revision=145413
2009-11-04 19:13:17 +00:00
Marek Habersack 84ab05b5d4 Backport of r145381
svn path=/branches/mono-2-4/mcs/; revision=145383
2009-11-04 09:50:50 +00:00
Gonzalo Paniagua Javier 289fb01744 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-4/mcs/; revision=145371
2009-11-04 03:32:44 +00:00
Rodrigo Kumpera d9f1ee2376 In .:
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-4/mono/; revision=145363
2009-11-04 02:11:05 +00:00
Gonzalo Paniagua Javier fa26de2ab0 add new library for windows
svn path=/branches/mono-2-4/mono/; revision=145349
2009-11-04 00:44:20 +00:00
Rodrigo Kumpera 78da67a63f 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-4/mono/; revision=145339
2009-11-03 22:49:56 +00:00
Marek Habersack 7e45841e8e Backport of r145280
svn path=/branches/mono-2-4/mcs/; revision=145282
2009-11-03 12:14:10 +00:00
Miguel de Icaza db87b36463 Backport
svn path=/branches/mono-2-4/mcs/; revision=145266
2009-11-03 05:11:13 +00:00
Sebastien Pouliot fcb0077966 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.
	[Backport r145215]


svn path=/branches/mono-2-4/mcs/; revision=145216
2009-11-02 20:07:01 +00:00
Zoltan Varga a9b4dfb87c 2009-10-31 Zoltan Varga <[email protected]>
* mono-perfcounters.c (predef_writable_update): Fix the 2.4 build.

svn path=/branches/mono-2-4/mono/; revision=145150
2009-10-31 21:33:12 +00:00
Zoltan Varga b043b92888 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-4/mono/; revision=145142
2009-10-31 14:12:10 +00:00
Gonzalo Paniagua Javier 12a90d222f 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-4/mono/; revision=145136
2009-10-31 04:07:02 +00:00
Veerapuram Varadhan b7f7a7d56e backport of r145122
svn path=/branches/mono-2-4/mcs/; revision=145124
2009-10-30 21:00:43 +00:00
Carlos Alberto Cortez ce9008a174 2009-10-30 Carlos Alberto Cortez <[email protected]>
[merge -r 142756:144751 from trunk, which basically contains ListView related
bug fixes, specially large speed ups for VirtualMode].

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

		* ListView.cs: When retrieving an item in virtual mode, as part of the
		process calculate its layout, instead of trying to do it later.
		* ListViewItem.cs: There's no need to try to infer whether we need to
		compute layout or not anymore - we just do it every time we are
		returning an item.
		This way we should be fixing View changes with cached items, which
		were storing the previous value, and not updating their contents
		properly.

	2009-10-23  Carlos Alberto Cortez <[email protected]>
	
		* ColumnHeader.cs: Remove the double linear search in the Index
		property, by removing the call to Contains, which is not needed.
		Also, Columns collection can never be null.

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

		* ColumnHeader.cs: When calculating the width and height of the
		column, try to expand to the right and use all the free space if we
		are the last column *and* the resize mode is set to -2/header content.
		Fixes #544716.

	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-12  Dick Porter  <[email protected]>

		* Splitter.cs: Adjust offsets when more than one splitter is
		present in a control.  Fixes bug 509472.

	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.


svn path=/branches/mono-2-4/mcs/; revision=145116
2009-10-30 18:52:55 +00:00
Marek Habersack 5afc112b2b Backport of r145109
svn path=/branches/mono-2-4/mcs/; revision=145113
2009-10-30 16:00:45 +00:00
Zoltan Varga 1cbb57381e 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-4/mono/; revision=145105
2009-10-30 15:20:50 +00:00
Veerapuram Varadhan d02d77139e backport of r145072
svn path=/branches/mono-2-4/mcs/; revision=145074
2009-10-30 01:11:09 +00:00
Marek Habersack 6c810e8b5f Backport of r145069
svn path=/branches/mono-2-4/mcs/; revision=145071
2009-10-30 00:53:55 +00:00
Veerapuram Varadhan d1c43561fe backport r145064
svn path=/branches/mono-2-4/mcs/; revision=145067
2009-10-29 21:10:01 +00:00
Veerapuram Varadhan 42f186fe0e backport of r145054
svn path=/branches/mono-2-4/mcs/; revision=145056
2009-10-29 18:40:35 +00:00
Sebastien Pouliot 4d5addfa3e 2009-10-29 Sebastien Pouliot <[email protected]>
* CompareInfo.cs: Fix bug in length calculation in one of the (too
	many) Compare overloads
	[Partial backport of r145023]


svn path=/branches/mono-2-4/mcs/; revision=145024
2009-10-29 14:12:47 +00:00
Zoltan Varga 019fa99b05 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-4/mono/; revision=145019
2009-10-29 13:09:10 +00:00
Veerapuram Varadhan 00859abd01 backport of r145011
svn path=/branches/mono-2-4/mcs/; revision=145016
2009-10-29 12:54:05 +00:00
Zoltan Varga c95a5819c2 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-4/mono/; revision=145009
2009-10-29 12:12:40 +00:00
Marek Safar 0111a9770d Update
svn path=/branches/mono-2-4/mcs/; revision=144999
2009-10-29 10:12:17 +00:00
Marek Safar 5e52406eb2 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-4/mcs/; revision=144998
2009-10-29 10:01:20 +00:00
Veerapuram Varadhan 52859de65a backport of r144980
svn path=/branches/mono-2-4/mcs/; revision=144982
2009-10-29 02:16:29 +00:00
Lluis Sanchez 77a75e4d25 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-4/mcs/; revision=144964
2009-10-28 18:40:12 +00:00
Marek Habersack 8fc3fba53c Backport of r144947
svn path=/branches/mono-2-4/mcs/; revision=144949
2009-10-28 14:02:14 +00:00
Marek Habersack dd0cd7a638 Fix 1.1 build
svn path=/branches/mono-2-4/mcs/; revision=144938
2009-10-28 12:04:21 +00:00
Marek Habersack fa63fc3a07 Backport of r144935
svn path=/branches/mono-2-4/mcs/; revision=144937
2009-10-28 10:37:51 +00:00
Marek Habersack 7fe9c65beb Backport of r144932
svn path=/branches/mono-2-4/mcs/; revision=144934
2009-10-28 10:19:49 +00:00
Veerapuram Varadhan a42f08d05b backport of r140085
svn path=/branches/mono-2-4/mcs/; revision=144920
2009-10-27 22:30:44 +00:00
Veerapuram Varadhan 8e0d779511 ** Fixes #385028,385029
Based on patch by Ted <[email protected]> and patches backported from 2.6

svn path=/branches/mono-2-4/mcs/; revision=144918
2009-10-27 21:51:13 +00:00
Marek Habersack 13f8d435ba Backport of r144898
svn path=/branches/mono-2-4/mcs/; revision=144900
2009-10-27 13:11:10 +00:00
Marek Habersack e6c419bbb9 Backport of r144894
svn path=/branches/mono-2-4/mcs/; revision=144896
2009-10-27 09:56:32 +00:00
Zoltan Varga a391057ec3 2009-01-26 Zoltan Varga <[email protected]>
* marshal.c (emit_marshal_ptr): Allow pointers to blittable structures.
	Fixes #469217.

svn path=/branches/mono-2-4/mono/; revision=144886
2009-10-27 03:38:29 +00:00
Zoltan Varga 52fdb32f83 2009-05-26 Zoltan Varga <[email protected]>
* shared.c (_wapi_shm_file): Avoid creating a .wapi directory here, create
	it in _wapi_shm_file_open (), since platforms using posix shm don't need it.

svn path=/branches/mono-2-4/mono/; revision=144858
2009-10-26 17:08:23 +00:00
Zoltan Varga 0e046efde8 2009-01-29 Zoltan Varga <[email protected]>
* shared.c: Fall back to file based shared storage if shm_open () fails
	because /dev/shm is not mounted.

svn path=/branches/mono-2-4/mono/; revision=144857
2009-10-26 17:08:17 +00:00
Zoltan Varga 9b67a51d31 2009-01-29 Zoltan Varga <[email protected]>
* shared.c: Add an alternative implementation using shared memory instead of
	files. This fixes problems where the mono process would spin up the disk
	every x secs on laptops. Fixes #434566, #415373 and #321949.

svn path=/branches/mono-2-4/mono/; revision=144856
2009-10-26 17:08:04 +00:00
Gonzalo Paniagua Javier c5205e5f28 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-4/mono/; revision=144813
2009-10-24 20:52:32 +00:00
Gonzalo Paniagua Javier 5703183225 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-4/mono/; revision=144811
2009-10-24 20:04:45 +00:00
Gonzalo Paniagua Javier a08f151dfa 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-4/mono/; revision=144810
2009-10-24 20:04:37 +00:00
Gonzalo Paniagua Javier c7326c0f7e 2009-10-24 Gonzalo Paniagua Javier <[email protected]>
* DeflateStreamTest.cs: test from bug #549492.


svn path=/branches/mono-2-4/mcs/; revision=144804
2009-10-24 17:27:05 +00:00
Gonzalo Paniagua Javier 3375d8d96e 2009-08-23 Gonzalo Paniagua Javier <[email protected]>
* deflate.c:
	* gzio.c:
	* deflate.h:
	* zutil.h:
	* crc32.c:
	* trees.c:
	* zconf.h:
	* inffast.c:
	* compress.c:
	* zlib.h:
	* inftrees.c:
	* inflate.c:
	* inflate.h:
	* adler32.c:
	* infback.c: updated to 1.2.3.3


svn path=/branches/mono-2-4/mono/; revision=144801
2009-10-24 17:22:18 +00:00
Gonzalo Paniagua Javier 3fe7cc07da 2009-10-23 Alexandre Gomes <[email protected]>
* WebClient.cs: Fixed GetWebRequest overriding problems, bug: 
	  https://bugzilla.novell.com/show_bug.cgi?id=549580
	  

svn path=/branches/mono-2-4/mcs/; revision=144785
2009-10-24 05:13:56 +00:00
Gonzalo Paniagua Javier 115efca0af 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-4/mono/; revision=144730
2009-10-23 12:05:25 +00:00
Gonzalo Paniagua Javier 05dbbe6707 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-4/mcs/; revision=144724
2009-10-23 09:54:01 +00:00
Gonzalo Paniagua Javier 127b9cd909 2009-10-22 Gonzalo Paniagua Javier <[email protected]>
* class.c: fix typo.


svn path=/branches/mono-2-4/mono/; revision=144694
2009-10-22 22:50:10 +00:00
Gonzalo Paniagua Javier 24737d1b15 2009-10-22 Gonzalo Paniagua Javier <[email protected]>
* class.c: fix typo.


svn path=/branches/mono-2-4/mono/; revision=144693
2009-10-22 22:50:01 +00:00
Gonzalo Paniagua Javier ea4d23cdae Added new library for TransmitFile (mswsock.lib)
svn path=/branches/mono-2-4/mono/; revision=144680
2009-10-22 20:22:57 +00:00
Marek Habersack d927bbb06c Backport of r144675
svn path=/branches/mono-2-4/mcs/; revision=144678
2009-10-22 20:02:08 +00:00
Marek Habersack 540c7830e7 Backport of r144662
svn path=/branches/mono-2-4/mcs/; revision=144664
2009-10-22 18:33:14 +00:00
Zoltan Varga fc97d0f52c 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-4/mono/; revision=144655
2009-10-22 17:50:52 +00:00
Lluis Sanchez 7d3e850c32 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-4/mcs/; revision=144650
2009-10-22 16:28:04 +00:00
Gonzalo Paniagua Javier bbca0e3628 2009-10-22 Carlo Kok <[email protected]>
* Fixed AssemblyInfo.cs to reflect proper copyright.


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


svn path=/branches/mono-2-4/mcs/; revision=144613
2009-10-22 09:02:54 +00:00
Gonzalo Paniagua Javier 31efd84de3 add lc.1
svn path=/branches/mono-2-4/mono/; revision=144592
2009-10-22 02:17:26 +00:00
Gonzalo Paniagua Javier 8c3e09f90f add lc
svn path=/branches/mono-2-4/mcs/; revision=144591
2009-10-22 02:16:35 +00:00
Gonzalo Paniagua Javier b89bdd1a66 2009-10-21 Gonzalo Paniagua Javier <[email protected]>
* sockets.[ch]: fix function definition.


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


svn path=/branches/mono-2-4/mono/; revision=144575
2009-10-21 21:38:42 +00:00
Sebastien Pouliot b079fc4e2d 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-4/mcs/; revision=144533
2009-10-21 12:22:54 +00:00
Gonzalo Paniagua Javier 9238fab10a 2009-10-21 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: implement *SendFile().


svn path=/branches/mono-2-4/mcs/; revision=144512
2009-10-21 06:43:50 +00:00
Gonzalo Paniagua Javier c3d79f04a1 2009-10-21 Gonzalo Paniagua Javier <[email protected]>
* icall-def.h:
	* socket-io.[ch]: implemented SendFile.


svn path=/branches/mono-2-4/mono/; revision=144509
2009-10-21 06:36:19 +00:00
Gonzalo Paniagua Javier 99a46e7588 2009-10-21 Gonzalo Paniagua Javier <[email protected]>
* sockets.[ch]: added TransmitFile implementation.


svn path=/branches/mono-2-4/mono/; revision=144506
2009-10-21 06:31:17 +00:00
Marek Habersack 2213964e71 Backport of r144487
svn path=/branches/mono-2-4/mcs/; revision=144489
2009-10-20 19:22:29 +00:00
Zoltan Varga 00d6160ed4 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-4/mono/; revision=144485
2009-10-20 19:05:43 +00:00
Gonzalo Paniagua Javier c34b828632 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-4/mcs/; revision=144480
2009-10-20 18:33:45 +00:00
Gonzalo Paniagua Javier ec548a4f6d 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-4/mcs/; revision=144461
2009-10-20 15:26:16 +00:00
Sebastien Pouliot e3bd3ebf13 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 + part of r141170 (assembly.c)]


svn path=/branches/mono-2-4/mono/; revision=144406
2009-10-19 19:40:20 +00:00
Zoltan Varga 6940d0223e 2009-09-22 Zoltan Varga <[email protected]>
* mini-exceptions.c (mini_jit_info_table_find): New helper function which
	searches all the domains of the current thread.

	* exceptions-<ARCH>.c: Use it. Fixes #539394.

svn path=/branches/mono-2-4/mono/; revision=144377
2009-10-19 14:18:42 +00:00
Zoltan Varga 2045182352 2009-09-22 Zoltan Varga <[email protected]>
* image.c (mono_image_close): Atomically decrement the reference count and
	remove the image from the hash tables, to prevent another thread from seeing a
	dying MonoImage. Fixes #541194.

svn path=/branches/mono-2-4/mono/; revision=144375
2009-10-19 14:15:00 +00:00
Gonzalo Paniagua Javier 5aef1aea03 2009-10-17 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: add 3 missing DoCallback() calls in
	EndRead/EndWrite.


svn path=/branches/mono-2-4/mcs/; revision=144317
2009-10-18 02:09:29 +00:00
Carlos Alberto Cortez 8caf76be66 2009-10-17 Carlos Alberto Cortez <[email protected]>
* System.Windows.Forms_test.dll.sources: Add a new test file.

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


svn path=/branches/mono-2-4/mcs/; revision=144313
2009-10-17 18:13:12 +00:00
Carlos Alberto Cortez bc18b42755 2009-10-17 Carlos Alberto Cortez <[email protected]>
[merge -r 132698:142738 from trunk]

	2009-08-28  Carlos Alberto Cortez <[email protected]>
	
	* TextBoxTest.cs: Improve the ModifiedTest test.

	2009-08-28  Atsushi Enomoto  <[email protected]>

	* DataGridViewCellTest.cs : nunit test upgrade to modern style.

	2009-08-19  Carlos Alberto Cortez <[email protected]>

	* ToolStripDropDownItemTest.cs: New test file.

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

	* DataGridTest.cs: Don't use DataGrid.Rows.Add() for our latest test,
	since it is 2.0. Use DataGrid.NewRow() instead.

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

	* DataGridTest.cs: New test for the interaction between DataSource and
	TableStyles.

	2009-08-03  Carlos Alberto Cortez <[email protected]>

	* GridColumnStylesCollectionTest.cs: New test for #465019. Also make
	public the test class, so it is *actually* loaded by nunit.

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

	* ToolStripItemCollectionTest.cs: New test for Find.

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

	* RadioButtonTest.cs: Update the Checked test to not depend on
	Form.Show, since we need to check the same behaviour even if no handle
	has been created yet.

	2009-06-16  Ivan N. Zlatev  <[email protected]>

	* DataGridViewTest.cs: Duplicate test label fix.

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

	* DataObjectTest.cs: New assertions for the text functionality.

	2009-06-06  Carlos Alberto Cortez <[email protected]>

	* ListBindingHelperTest.cs: New assertion for GetListItemType, as well
	as a new helper collection class.

	2009-06-01  Carlos Alberto Cortez <[email protected]>

	* ClipboardTest.cs: New test for serializable types.

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

	* ToolStripDropDownTest.cs: New test to assure the Height atfer
	calculating the layout depends on ToolStripItem.GetPreferredHeight.

	2009-05-08  Carlos Alberto Cortez <[email protected]>

	* ToolStripControlHost.cs: New tests for DefaultSize and
	OnHostedControlResize members.

	2009-05-08  Andrés G. Aragoneses  <[email protected]>

	* ToolStripMenuItemTest.cs: Improve test, and remove the
	NotWorking attribute. Also remove the 'var' keywords, doh!

	2009-05-08  Andrés G. Aragoneses  <[email protected]>

	* ToolStripMenuItemTest.cs: Simplify test.

	2009-05-08  Andrés G. Aragoneses  <[email protected]>

	* ToolStripMenuItemTest.cs: Add yet another non-passing test
	(wors in MS.NET).

	2009-05-06  Andrés G. Aragoneses <[email protected]>

	* ToolStripMenuItemTest.cs: add tests for Owner and OwnerItem.

	2009-05-06  Andrés G. Aragoneses <[email protected]>

	* ToolStripMenuItemTest.cs: more accurate test, and fix build
	(namespace clash).

	2009-05-06  Andrés G. Aragoneses <[email protected]>

	* ToolStripMenuItemTest.cs: Add a test for GetCurrentParent
	(passes on MS.NET). Related to a11y bugs #485524 and #479397.

	2009-05-04  Andrés G. Aragoneses <[email protected]>

	* TabControlTest.cs: More accurate test for bug#499887 showing
	the SelectedIndex at the moment of the event (passes on MS.NET).

	2009-04-30  Andrés G. Aragoneses <[email protected]>

	* TabControlTest.cs: Added test for bug#499887.


svn path=/branches/mono-2-4/mcs/; revision=144312
2009-10-17 18:11:29 +00:00
Carlos Alberto Cortez 8b9736f246 2009-10-17 Carlos Alberto Cortez <[email protected]>
[merge -r 132698:142738 from trunk to 2-4 branch. Some changes were already
there, so also keep this Changelog sane]
	2009-10-17  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.

		2009-10-17  Andrés G. Aragoneses  <[email protected]>

		* ToolBar.cs, ToolBarButton.cs: Add new UIA events to know
		when a button gets focus, firing the events from the ToolBar.
		r: jpobst

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

		* ComboBox.cs: When calculating the height of the ComboListBox,
		specially for the 2.0 profile, use MaxDropDownItems if the
		DropDownHeight property hasn't been set, and use the later if it has
		been set. This way we support both properties.
		Fixes #493308.

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

		* XplatUIX11.cs, X11Clipboard.cs: Text and Rtf formats must be
		separated, and we cannot fallback on Text if Rtf is requested but not
		present.
		* Clipboard.cs: Actually use the format specified by our user when
		putting data.

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

		* XplatUIX11.cs: When handling the SelectionRequest event, use
		SelectionRequestEvent instead of SelectionEvent, so we get the right
		data for the app asking for clipboard data. Set the member of
		SelectioneEvent.property to indicate the place where we are storing
		the information as well - this is specially important for gnome/kde
		apps using the TARGETS atom to ask for the supported permission before
		actually asking for a specific format.
		Fixes #489393.

		2009-10-17  Jonathan Pobst  <[email protected]>

		* ToolStripDrowDown.cs: Remove some hardcoded values and assumptions.
		* ToolStripDropDownButton.cs: This should use a ToolStripDropDownMenu,
		not a ToolStripDropDown.
		* ToolStripItem.cs: Don't use the item margins on a ToolStripDropDown.

		2009-09-26  Jonathan Pobst  <[email protected]>

		* 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]

		2009-09-24  Ivan N. Zlatev  <[email protected]>

		* DataGridView.cs: Compare the name and not displayname of properties 
		when checking if the column is already bound.

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

		* RichTextBox.cs: For SelectedRtf, after inserting the stream, adjust
		the position of the caret by adding the needed chars represented by the new line chars,
		according to the system, using rich *or* hard new lines as needed. Also do a
		check to be sure we don't move the cursor position beyond the limits
		of our text. This should avoid problems with text being pasted,
		regarding the position of the caret.

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

		* RichTextBox.cs: When SelectedRtf is set, and we are in the 0
		position in the x axis, force to re-use any already available line,
		even if it is not empty. This way pasting text into our textbox in the
		beginning for non empty lines should work fine.

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

		* RichTextBox.cs: When we are inserting a flow of rtf text, and we are
		*not* loading it from a file, try to re-use a line if already
		available, since the default behaviour of the parser is to create new
		lines for the document.
		This should fix a regressions we found after the last fix for #513030.

		2009-09-14  Tom Hindle <[email protected]>

		* ToolStripOverflow.cs: Fixes #536036 by adding null ptr check.

		2009-09-11  Ivan N. Zlatev  <[email protected]>

		* PropertyGrid.cs: Hide the splitter when the help is hidden.

		2009-09-11  Ivan N. Zlatev  <[email protected]>

		* InternalWindowManager.cs: Call Invalidate-Update instead of 
		Refresh for MS compitability. Note also that Refresh is virtual 
		and several controls override it in order to provide data refresh 
		functionallity on top of the redraw and they do not expect this 
		extra refresh call.
		* Control.cs: In Refresh Invalidate the control and all children 
		insead of calling Refresh for each of them.
		[Fixes bug #538336]

		2009-09-11  Ivan N. Zlatev  <[email protected]>

		* PropertyGrid.cs: Always set the help panel properties on the 
		internal control, because they are inherited and can change with 
		the parent.
		[Fixes bug #525305]

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

		* RichTextBox.cs: When processing rtf, don't add a new line if we
		already have one for that position. This way we avoid overriding by
		mistake our lines when copying/pasting.
		Fixes #513030.

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

		* TextControl.cs: When inserting new lines, look for the end of file
		char, and remove chars after it. This is unlikely to happeng either
		loading a file, pasting text or pressing a char, but can happen using
		the TextBox.Text property.
		Fixes #535884.

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

		* Line.cs: In DeleteCharacters, cache line.Length for every tag, since
		tag.Start changes will modify it indirectly and then we would end up
		with wrong values.
		Fixes #512521.

		2009-09-03  Ivan N. Zlatev  <[email protected]>

		* BindingSource.cs: Implement support for chained data sources.
		* ListBindingHelper.cs: Add support for ICurrencyManagerProvider and 
		clean up.
		[Fixes part of bug #536547]

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

		* RichTextBox.cs: When saving the text to a file using SaveFile use
		Environment.NewLine to separate the lines. This way we should be
		saving the files according to the system.
		Fixes the remaining part of #511515.

		2009-08-31  Carlos Alberto Cortez <[email protected]>

		* RichText.cs: Remove some unix new line characters and use
		Environment.NewLine. Fixes part of #511515.

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

		* TextBoxBase.cs: Modified should *not* be modified from the Text
		property, as our new tests show. It should be to false, however, in
		Append and Clear; and Paste, Cut, Undo, and direct user input should set it
		to true. Also, as opposed to what the .net docs say -but proven by our
		tests-, the changes should be generating a ModifiedChanged event
		(thus we set the property, instead of the field).
		Fixes #511267.

		2009-08-27  Ivan N. Zlatev  <[email protected]>

		* DataGridView.cs: Fire the CellDoubleClicked event.
		[Fixes bug #533430]

		2009-08-27  Ivan N. Zlatev  <[email protected]>

		* DataGridView.cs: Add support for column DataGridViewAutoSizeColumnMode
		DisplayedCells and DisplayedCellsExceptHeader.
		[Fixes bug #533435]

		2009-08-27  Carlos Alberto Cortez <[email protected]>

		* TextControl.cs: When removing a simple char, actually record the
		action in the undo manager. This way we both support undoing the
		removal of chars using backspace/delete, as well as keeping data
		integrity when other undo tasks are performed.
		Fixes #531983.

		2009-08-24  Carlos Alberto Cortez <[email protected]>

		* Control.cs: Remove the ancient code in ResetText, which was setting
		the internal field to String.Empty, instead of doing it for our Text
		property, as .net does (which also causes a TextChanged event and all
				the other related routines).
		Fixes #531587.

		2009-08-24  Carlos Alberto Cortez <[email protected]>

		* TreeNodeCollection.cs: Correctly implement Contains by using a
		linear search - there's no possible way to use a binary search, since
		the node instances are not implementing IComparable, nor have a
		specific order.
		Fixes #529927.

		2009-08-24  Carlos Alberto Cortez <[email protected]>

		* DataGrid.cs: If we are *not* changing a row
		already added to the source, and thus we are adding a new 
		row instead, try to move to the previous row when Esc is
		pressed -if possible-.
		Fixes some bits of #322974.

		2009-08-24  Carlos Alberto Cortez <[email protected]>

		* DataGridTextBoxColumn.cs:
		* DataGrid.cs: Moving the cell to the add row (the last one) should
		not immediately add a new row - this should happen until the very
		first change happens in that textbox.
		Fixes part of #322974.

		2009-08-19  Carlos Alberto Cortez <[email protected]>

		* ToolStripDropDown.cs: When assigning the owner item, use its Font as
		well.

		2009-08-17  Carlos Alberto Cortez <[email protected]>

		* ToolStripItem.cs: When the owner changes its Font, call the
		OnFontChanged event, so we let our users know that we likely have a
		new font - since Font is an ambient property.
		* ToolStripDropDownItem.cs: When our Font changes, propagate that
		information to our DropDown control, if any.
		Fixes #531515.

		2009-08-17  Carlos Alberto Cortez <[email protected]>

		* DataGrid.cs: 
		* ThemeWin32Classic.cs: When the user clicks on a new cell, we should reset any
		previous selection, just like .net does. Also, in the cases where a
		cell is being edited and it keeps the selected status, use the normal
		colors for it, and use the selected colors for the rest of the columns of
		that row.
		Fixes the remaining bits of #323051.

		2009-08-16  Carlos Alberto Cortez <[email protected]>

		* DataGrid.cs: When getting ProcessKeyPreview fired, call Edit() if we
		are not editing already - so the edition is actually active on our
		column style textbox. Also, it seems the code handling process the
		grid keys is repeated, but instead of removing it, just comment it for
		now.
		Fixes part of #323051.

		2009-08-13  Carlos Alberto Cortez <[email protected]>

		* AsyncMethodResult.cs: Store a exception field in case the called
		method actually caused an exception. This way we can throw it later.
		* XplatUIDriver.cs: Check if the async method result has an exception
		- throw it if needed. 
		The idea is that Control.Invoke throws the exception from the thread
		that called it, not the main MWF thread. 
		Patch by Tom Spink <[email protected]>. Fixes #497175.

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

		* DataGrid.cs: In mouse move we need to shift the selection in case
		the pointer is on the row headers.
		Fixes #323052.

		2009-08-11  Ivan N. Zlatev  <[email protected]>

		* SplitContainer.cs: Avoid updating the splitter distance if it hasn't 
		moved. Updating the distance was causing a re-layout which was resetting 
		the clicks counter and preventing DoubleClick from every firing.
		[Fixes bug #521387]

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

		* DataGrid.cs: When a new TableStyle is added, don't create new
		columns for it unless it is empty - this is the correct way to both
		respect the columns if they were provided by our user, or create them
		for him in case the column collection is empty.
		Fixes #323111.

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

		* DataGrid.cs: Actually call BindColumns in the handler for
		ListManager.MetaDataChanged, since the current code is already taking
		into account the scenario when a custom table style is used - this was
		confusing us before, and that's why we commented the call to
		BindColumns. Also call CallAreasAndInvalidate, to properly reflect the
		changes as needed.
		Fixes #465021.

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

		* DataGrid.cs: When setting the data source, if we have a user
		provided table style available, force a complete bind in case the
		column styles for that table style is empty.

		2009-08-09  Ivan N. Zlatev  <[email protected]>

		* DataGridViewCell.cs: Handle null and DBNull values.

		2009-08-07 Rodrigo Kumpera  <[email protected]>

		* ListBindingHelper.cs: Fix the 1.0 build by making this type available
		under that profile.

		2009-08-07  Ivan N. Zlatev  <[email protected]>

		* CurrencyManager.cs: Remove duplicate code.

		2009-08-07  Ivan N. Zlatev  <[email protected]>

		* DataGridView.cs, DataGridViewCell.cs, DataGridViewColumn.cs: 
		Massive population performance boost. From seconds to ms.
		[Fixes bug #528887]

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

		* DataGrid.cs: When handling mouse down on a column, don't do any sort
		even if the list supports it if we are empty. This way we avoid an exc
		sorting the empty list, and keep the UI compatible with .net.

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

		* DataGrid.cs: In Edit () check we have any row before trying to use
		the current row. Fixes a IOOR exc with an empty data grid.

		2009-08-03  Carlos Alberto Cortez <[email protected]>

		* DataGridColumnStyle.cs: Don't call CheckValidDataSource when setting
		the owner DataGrid - even if this seems to be the right thing to do,
		.net is not doind this check at this point, but in later operations.
		Fixes #465019.

		2009-07-28  Mike Gorse  <[email protected]>

		* ToolStripMenuItem.cs: Added UIA CheckOnClickChanged event.

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

		* Application.cs: Make FilterMessage internal for 1.1. Fixes the 1.1 build.

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

		* XplatUIX11.cs:
		* XplatUIWin32.cs: We need to filter the messages using
		Application.FilterMessage for our DoEvents implementations. Observe
		that I don't like the idea of XplatUI call the upper level Application
		class, but at this point is easier and simpler to do this call - based
		on the fact it's only one simple call.
		Fixes #516735.

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

		* TreeNodeCollection.cs: When removing the selected node, set the
		SelectedNode value of TreeView to null if there aren't more nodes left - 
		this is better than to clear the selected node in Clear, since we need
		to handle the situation in the Remove methods as well.
		Fixes #525002.

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

		* ToolStripItemCollection.cs: Find should do a case insensitive
		search, and should throw an ArgumentNullException if the parameter is
		an empty string.

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

		* PropertyGrid.cs: Use click handlers for each ToolStripButton instead
		of using a global handler for the ToolStrip. This way the buttons can
		be recovered and can have its PerformClick method called properly.
		Fixes #522454.

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

		* X11Dnd.cs: Implement support for XdndActionList, so we can get the
		complete list of the supported actions in the drag source, and use the
		action passed in the Position message only as a fallback. This will
		help us with dnd operations with non winforms apps.
		Fixes #402158.

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

		* ToolStripItemCollection.cs: Use a List<> instead of an ArrayList in
		Find. This should fix the exception we were getting when trying to
		convert the ArrayList to an array of objects (since we were losing the
				type parameter).
		Fixes #519944.

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

		* RadioButton.cs: Setting Checked when none of the sibligs is checked
		should happen *not* in GotFocus, but in the Enter event. This is
		specially important since we should get that Checked behaviour even if
		no handle is created yet - and thus, no actual GotFocus call happens at
		the time.
		Fixes #520764.

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

		* ComboBox.cs: Adjust manually the top border for out internal
		ComboBox, since removing the border from it leaves it without any
		margin. This is not noticeable in a default ComboBox, but it is in an
		instance shown on top of ToolStrip.
		Fixes the remaining part of #507462.

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

		* TextBoxBase.cs: Expose the margin top width as a property, to keep
		the code clean.
		* ToolStripTextBox.cs: Since we are actually using no border in the
		default TextBox impl, and we are drawing the border ourselves, we need
		to manually set the top margin.
		Fixes part of #507462.

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

		* PrintPreviewDialog.cs: Record when left was pressed, so we can
		simulate Tab+Alt when moving the focus throughout our buttons and
		controls.
		Fixes the remaining bits of #509142.

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

		* TabControl.cs: When computing the width of each tab page, use the
		page's Font instead of the tab control one.
		Fixes #514368.

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

		* MenuAPI.cs: When handling the Keys.Left key, don't close the menu if
		the current menu is specifically a ContextMenu (this is what .net does
				as well). This way we also avoid a crash caused by MenuTracker trying
		to use the menu when it was already hidden.

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

		* PrintPreviewDialog.cs: Remove the code used to handle the
		DropDown menu, since we are now doing it by default in ToolBar, and
		just call the base impl as needed.Also, deactivate the dropdown menu
		before moving the focus to a different button in our toolbar, as .net
		does.
		* ContextMenu.cs:
		* MenuAPI.cs: Make as internal the needed bits to deactivate a
		ContextMenu, and also to keep some beauty in our api.

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

		* ToolBar.cs: When handling the key down message, if we are on a
		drop down button, either show the DropDownMenu or pass the key to its
		ProcessCmdKey method as needed.
		Fixes the remaining bits of #509985.

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

		* ToolBar.cs: Isolate the event logic related to OnButtonClick. Also
		set current_item when navigating with the keyboard, so we can use it
		properly later. Finally, handle both Enter and Space to fire
		OnButtonClick *only*, without any other impact, as .net does.
		Fixes part of #509985.

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

		* MenuAPI.cs: Close any active menu when we get a simple Alt.
		Fixes #509299.

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

		* ToolBar.cs: In OnButtonClick only change the Pushed value for
		buttons with toogle style. We were previously doing it for
		DropDownButton's buttons, but that's not what .net is doing.
		Fixes #510030.

		2009-06-26  Atsushi Enomoto  <[email protected]>

		* XplatUICarbon.cs : support multi-byte text input.
		Fixed bug #501276.

		2009-06-22  Carlos Alberto Cortez <[email protected]> 

		* ListBox.cs: When creating DrawItemEventArgs, pass either
		Theme.ColorHighlightText or ForeColor depending on the selected state
		of our item, as .net does.
		Fixes #512115.

		2009-06-22  Carlos Alberto Cortez <[email protected]>

		* ComboBox.cs: When handling WM_CHAR, process the message first, and
		send it to the textbox only if it wasn't handled.
		Fixes #507459.

		2009-06-18  Jonathan Pobst  <[email protected]>

		* ComboBox.cs: Only do my big sort at the end of AddRange if
		the combobox is actually set to Sorted.

		2009-06-18 Tom Hindle <[email protected]>

		* XplatUIX11.cs: Enabled Text to coexist with custom data formats.
		Fixes #511849.

		2009-06-18  Carlos Alberto Cortez <[email protected]>

		* ListBox.cs: When calculating the scrollbars for non MultiColumn
		mode, force the use of the horizontal scrollbar only if
		ScrollAlwaysVisible is true as well.
		Fixes #513029.

		2009-06-17  Jonathan Pobst  <[email protected]>

		* ComboBox.cs: When using AddRange on a sorted combobox, don't
		try to use our inefficient sorted insert method, just append
		it and sort the whole thing at then end.
		[Fixes bug #511247]

		2009-06-16  Carlos Alberto Cortez <[email protected]>

		* ToolBar.cs: Expose as internal the code used to show a dropdown menu.
		* PrintPreviewDialog.cs: Handle the down/up arrow keys for our
		DropDown element.
		Fixes #509152.

		2009-06-16  Ivan N. Zlatev  <[email protected]>

		* DataGridView.cs: Scrolling fixes.
		[Fixes bug #512816]

		2009-06-16  Ivan N. Zlatev  <[email protected]>

		* DataGridView.cs, DataGridViewRowCollection.cs: Clean up a bit and 
		optimize for batch adding rows.

		2009-06-16  Ivan N. Zlatev  <[email protected]>

		* DataGridView.cs: Avoid calling ReBind twice during the initial data 
		binding.
		[Fixes bug #512807]

		2009-06-16  Ivan N. Zlatev  <[email protected]>

		* DataGridView.cs: Suppress invalidation during data binding.
		[Fixes part of bug #512807]

		2009-06-15  Carlos Alberto Cortez <[email protected]>

		* PrintPreviewDialog.cs: Tune the navigation among the buttons and
		controls that are part of our ToolBar, so we can mimic the behaviour
		observed in .Net, by handling also the arrow keys and doing the
		preprocess for them too.
		Fixes the remaining bits of #509142.

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

		* ToolBar.cs: Expose the current item as internal.
		* PrintPreviewDialog.cs: Tune the TabStop property for
		PrintPreviewControl/ToolBar so we match the .net scenario regarding
		Tab navigation. Also implement support to navigate throughout the
		items in the ToolBar.
		Fixes #509142.

		2009-06-09  Ivan N. Zlatev  <[email protected]>

		* DataGridViewComboBoxCell.cs, DataGridViewComboBoxColumn.cs: 
		Implement items syncing in the non-databound scenario.
		[Fixes bug #494031]

		2009-06-09  Ivan N. Zlatev  <[email protected]>

		* DataGridView.cs: Call OnCellValidating and OnCellValidated and 
		handle the Cancel accordingly.
		[Fixes bug #506838]

		2009-06-09  Ivan N. Zlatev  <[email protected]>

		* DataGridViewBand.cs: Fix a typo in DefaultHeaderCellType.
		[Fixes bug #506796]

		2009-06-09  Ivan N. Zlatev  <[email protected]>

		* DataGridViewColumnCollection.cs, DataGridViewRowCollection.cs, 
		DataGridView.cs: Fire CollectionChangeAction.Refresh collection 
		changed when Clearing the collections so that the DataGridView 
		can know and reset the current cell.
		[Fixes bug #492549]

		2009-06-09  Ivan N. Zlatev  <[email protected]>

		* BindingSource.cs: In ResetBindings use the ListChangedEventArgs ctor 
		with the PropertyDescriptor parameter instead of index, because the 
		latter will set some irelevant indices. Fixes a bug uncovered by recent
		fix to ListChangedEventArgs.

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

		* DataObject.cs: When looking for any specific format, do a case
		insensitive search, as .net does.
		Fixes #509199.

		2009-06-09  Ivan N. Zlatev  <[email protected]>

		* CurrencyManager.cs: In AllowNew firstly check if the list is a 
		IBindingList and proxy to AllowNew. IBindingList has slightly differet 
		logic and eventhough it's an IList IsReadOnly should not be used in this 
		case as it might be True but AllowNew could be True as well.
		Fixes a bug uncovered by a fix to the Array class.

		2009-06-08  Carlos Alberto Cortez <[email protected]>

		* ListBindingHelper.cs: In GetListItemType do a null check when
		looking for IList.Item, since the impl could be explicit, and thus
		private. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
		Fixes the remaining part of #507120

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

		* DataObject.cs: Map StringFormat/Text/UnicodeText formats properly,
		to match them in all the cases, as this is exactly what .net does.
		Fixes #510728.

		2009-06-06  Carlos Alberto Cortez <[email protected]>

		* ListBindingHelper.cs: In GetListItemType handle gracefully the case
		where an instance of IEnumerator returns a null value for its Current
		property. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
		Fixes #507120.

		2009-06-05  Carlos Alberto Cortez <[email protected]>

		* ComboBox.cs: Properly detect whether we need to use our vertical
		scrollbar or not, specially for DropDownList/DropDown styles,
		depending on the value of DropDownHeight.
		Fixes #508541.

		2009-06-01  Carlos Alberto Cortez <[email protected]> 

		* ToolTip.cs: Call the base implementation in Dispose, but do it
		before anything else to avoid a regression. This way we do the default
		routines related to any System.ComponentModel.Container.
		Fixes #508586.

		2009-06-01  Carlos Alberto Cortez <[email protected]>

		* Clipboard.cs:
		* XplatUIX11.cs:
		* DataFormats.cs: Implement support for serializable types in our
		clipboard.
		Fixes #357642.

		2009-05-25  Carlos Alberto Cortez <[email protected]>

		* ColorDialog.cs: Actually add the help button to the form, so it can
		be visible.
		Fixes #478555.

		2009-05-25  Carlos Alberto Cortez <[email protected]>

		* PrintPreviewDialog.cs: Don't use Dock.Fill for the
		PrintPreviewControl, since it will be hidden in the top by our
		toolbar. Use manual location and anchoring instead.
		Fixes #474889.

		2009-05-25  Carlos Alberto Cortez <[email protected]> 

		* FileDialog.cs: When saving the size of the dialog, use the
		ClientSize instead of Size, so we have always the same size for the
		form. Patch by Alex Shulgin.
		Fixes #503064.

		2009-05-25  Carlos Alberto Cortez <[email protected]>

		* MessageBox.cs: When showing the dialog call XplatUI.AudibleAlert to
		show a beep, similar to what .net does. 
		Fixes #473725.

		2009-05-23  Carlos Alberto Cortez <[email protected]>

		* ContainerControl.cs:
		* MenuStrip.cs
		* ToolStrip.cs: Implicit mnemonic processing should happen for every
		ToolStrip child, not only for MenuStrip, so we are going to do that in
		ToolStrip.ProcessMnemonic, where we already had that exactly
		functionality, but we are only just checking that either this instance
		is a ToolStripDropDownMenu instance or Alt has been pressed. Finally
		remove the extra code, since we are not going to use it now.
		Fixes the remaining bits of #503663.

		2009-05-21  Neville Gao  <[email protected]>

		* ContextMenu.cs: Cleaned up UIA properties.

		2009-05-20  Dick Porter  <[email protected]>

		* XplatUICarbon.cs: Add more locking around MessageQueue
		manipulations.

		2009-05-18  Carlos Alberto Cortez <[email protected]> 

		* DateTimePicker.cs: Call Focus in HideMonthCalendar to avoid
		duplication of code, as well as actually getting the focus back in
		*any* scenario where the drop down is closed.

		2009-05-18 Tom Hindle <[email protected]>
		* ScrollableControl.cs: Ignore setting properties HScroll and 
		VScroll when AutoScroll is true.
		[Fixes bug #500213]

		2009-05-18  Jonathan Pobst  <[email protected]>

		* ToolStripRenderer.cs: Apply patch from Thomas Goldstein to make
		disabled graphics look closer to the ones that .Net produces.
		[Fixes bug #473660]

		2009-05-18  Carlos Alberto Cortez <[email protected]>

		* DateTimePicker.cs: When calculating the max width for the year part,
		use the current value, since *all* the possible values are exactly a 4
		digits number. This way we avoid a ArgumentOutOfRangeException trying
		to check against different values.
		Fixes #500917.

		2009-05-15  Carlos Alberto Cortez <[email protected]>

		* MessageBox.cs: When handling ProcessDialogChar, check that
		CancelButton is not null before trying to use it, to avoid a null ref
		exception. We don't need to do that on the ok/yes buttons, since they
		always exist.
		Fixes #503935.

		2009-05-15  Carlos Alberto Cortez <[email protected]> 

		* ListBox.cs: Handle the key down event in WndProc instead of doing it
		in an event handler, as we need to avoid any operation in case
		the user has handled it in its own OnKeyDown handler, and this can't
		be achieved since our handler would be the first one always.
		* FontDialog.cs: Update the calls since our method handling key down
		has been renamed.
		Fixes #503469.

		2009-05-15  Carlos Alberto Cortez <[email protected]>

		* Application.cs: We should dismiss the active ToolStrip when we
		receive a WM_SYSKEYDOWN message, instead of WM_SYSKEYUP, so the next
		keyboard short cut can be properly processed by another menu item.
		Fixes part of #503663.

		2009-05-13  Andreia Gaita  <[email protected]>

		* HtmlDocument.cs: If the objects are strings, wrap them in ""

		2009-05-13  Andreia Gaita  <[email protected]>

		* HtmlDocument.cs: Fix InvokeScript call (duh).

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

		* TextBox.cs: Expose IsAutoCompleteAvailable as internal.
		* ComboBox.cs: If auto complete is being used, it is needed to update
		the actual value of the combo box, doing it immediately if the user
		presses Enter, or doing it when our combo box loses focus. Finally,
		when handling Enter and Escape keys for the combobox, don't try to
		hide the listbox if it is not visible in the first place. 
		Fixes part of #489339.

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

		* ToolStripDropDownMenu.cs: Use the height returned by
		ToolStripItem.GetPreferredHeight to calculate our own height.

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

		* TreeNode.cs: When setting Checked, do a double null check, since the
		current node can still get a null parent handling
		TreeView.OnAfterCheck.
		Fixes #502567.

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

		* Control.cs: When assigning ContextMenu, do a null check before
		assigning its container field.

		2009-05-08  Brad Taylor  <[email protected]>

		* DateTimePicker.cs: Add a UIA-specific property to ensure that if
		is_checkbox_checked is changed, we won't break.

		2009-05-08  Andrés G. Aragoneses  <[email protected]>

		* ToolStripItem.cs: Prevent NRE when our holder is a
		ToolStripDropDownButton and we get Select()ed.

		2009-05-08  Carlos Alberto Cortez <[email protected]> 

		* ToolStripControlHost.cs: DefaultSize must return the current size of
		the Control, not the value returned by GetPreferredSize. Also connect
		a handle to the control Resize event, and use it to fire
		OnHostedControlReize.
		Fixes the remaining bits of #483146.

		2009-05-08  Carlos Alberto Cortez <[email protected]>

		* ToolStripDropDown.cs: When performing the layout, use
		ToolStripItem.GetPreferredSize ().Height instead of
		ToolStripItem.Height, since we are already using it that way in this
		same method.
		Fixes part of ##483146.

		2009-05-08  Brad Taylor  <[email protected]>

		* DateTimePicker.cs: Wrap UIA specific code in NET_2_0 wrappers.  Send
		OnUIASelectionChanged when ShowCheckbox is true and the checkbox
		recieves focus.  Part of fix for #502029.

		2009-05-06  Mike Gorse  <[email protected]>

		* FileDialog.cs: Add UIAFocusedItemChanged to PopupButtonPanel.
		Add PerformClick and PerformDoubleClick to PopupButton.
		Fixes #499851.

		2009-05-04  Andrés G. Aragoneses  <[email protected]>

		* TabControl.cs: call Focus() to emit GotFocus event at the
		proper time when SelectionIndex changes. Fixes #499887.

		2009-05-03  Carlos Alberto Cortez <[email protected]>

		* MonthCalendar.cs: In SetBoundsCore always do the bounds check to
		have valid values, even if BoundSpecified is not including
		Size/Height/Width - this is useful when we are in a control using Dock
		or Anchor.
		Fixes part of #483146.

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

		* ComboBox.cs: When losing the focus, if our textbox is not null,
		close its auto complete list, if any.
		Fixes part of #489339.

		2009-04-27  Andrés G. Aragoneses  <[email protected]>

		* ListView.cs: Make OnColumnClick +internal to be used by a11y.

		2009-04-27  Brad Taylor  <[email protected]>

		* ToolStripButton.cs: Emit an internal event when CheckOnClick is
		changed.

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

		* ToolStripDropDownItem.cs: When assigning a new
		ToolStripDropDownMenu, let it know we are its OwnerItem. This way the
		Capture duties performed by Application/ToolStripManager are handled
		nicely and we don't end up in an inconsisten stat.
		Fixes #492815.


svn path=/branches/mono-2-4/mcs/; revision=144311
2009-10-17 18:05:43 +00:00
Gonzalo Paniagua Javier db222a6e19 2009-10-12 Carlo Kok <[email protected]>
* DesigntimeLicenseContextSerializer.cs: Properly serialize licenses.
	* RuntimeLicenseContext.cs: Properly deserialize licenses.


svn path=/branches/mono-2-4/mcs/; revision=144241
2009-10-16 02:49:37 +00:00
Sebastien Pouliot d4fcdf7bee In Test/System.IO:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* UnmanagedMemoryStream.cs: Fix some and add missing validations
	[Backport r144226]

In System.IO:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* UnmanagedMemoryStream.cs: Fix some and add missing validations
	[Backport r144226]


svn path=/branches/mono-2-4/mcs/; revision=144229
2009-10-15 20:21:17 +00:00
Sebastien Pouliot 48f67b07f0 In Test/System.Runtime.CompilerServices:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* RuntimeHelpers.cs: Add missing validations
	[Backport up to r144208]

In System.Runtime.CompilerServices:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* RuntimeHelpers.cs: Add missing validations
	[Backport r144208]


svn path=/branches/mono-2-4/mcs/; revision=144211
2009-10-15 14:38:56 +00:00
Sebastien Pouliot ffcf860161 In System.Runtime.InteropServices:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* GCHandle.cs: Add missing validations
	[Backport r144204]

In Test/System.Runtime.InteropServices:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* GCHandleTest.cs: Add more test cases for validations
	[Backport up to r144204]


svn path=/branches/mono-2-4/mcs/; revision=144207
2009-10-15 14:23:53 +00:00
Zoltan Varga 804cb4eeb2 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-4/mono/; revision=144169
2009-10-15 00:13:22 +00:00
Gonzalo Paniagua Javier 8978f0f4f3 fix the build
svn path=/branches/mono-2-4/mcs/; revision=144153
2009-10-14 20:58:23 +00:00
Gonzalo Paniagua Javier 6bbee79c7f 2009-10-14 Gonzalo Paniagua Javier <[email protected]>
* ApplicationHost.cs: use shadowCopyBinAssemblies from
	<hostingEnvironment>.


svn path=/branches/mono-2-4/mcs/; revision=144139
2009-10-14 19:30:34 +00:00
Marek Habersack e0b951d57f Backport of r144016
svn path=/branches/mono-2-4/mcs/; revision=144130
2009-10-14 18:19:03 +00:00
Carlos Alberto Cortez f802dd56b2 * ToolStripDropDownItem.cs: When assigning a new
ToolStripDropDownMenu, let it know we are its OwnerItem. This way the
	Capture duties performed by Application/ToolStripManager are handled
	nicely and we don't end up in an inconsisten stat.
	Fixes #492815.

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


svn path=/branches/mono-2-4/mcs/; revision=144123
2009-10-14 17:16:18 +00:00
Carlos Alberto Cortez bac9ce27f7 2009-10-14 Carlos Alberto Cortez <[email protected]>
* ToolStrip.cs: Even if we are not exactly a MenuStrip instance, close
	any ToolStripDropDownItem when receiving a mouse down event in an
	empty area.


svn path=/branches/mono-2-4/mcs/; revision=144122
2009-10-14 17:02:08 +00:00
Martin Baulig 20f386aca8 Backport of r144049 - 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 80.2.

svn path=/branches/mono-2-4/mono/; revision=144054
2009-10-13 22:34:41 +00:00
Veerapuram Varadhan 69dc8e224c backport of r143996
svn path=/branches/mono-2-4/mcs/; revision=143997
2009-10-13 01:23:06 +00:00
Marek Habersack cdd4c53f51 Backport of r143990
svn path=/branches/mono-2-4/mcs/; revision=143992
2009-10-12 22:52:39 +00:00
Zoltan Varga 83e0d586fd Fix the build.
svn path=/branches/mono-2-4/mcs/; revision=143988
2009-10-12 22:46:26 +00:00
Zoltan Varga 384b7946cc 2009-10-12 Zoltan Varga <[email protected]>
* Process.cs (Dispose): Close the async output/error readers. Fixes #545429.

svn path=/branches/mono-2-4/mcs/; revision=143987
2009-10-12 21:51:35 +00:00
Marek Habersack 0a0690ff31 Backport of r143979
svn path=/branches/mono-2-4/mcs/; revision=143982
2009-10-12 21:11:58 +00:00
Marek Habersack 0034517fc4 Backport of r143972
svn path=/branches/mono-2-4/mcs/; revision=143974
2009-10-12 14:43:38 +00:00
Ankit Jain ce656a9b65 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/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.Tasks:
2009-10-12  Ankit Jain  <[email protected]>

	* Makefile: Add reference to Microsoft.Build.Engine .

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-4/mcs/; revision=143970
2009-10-12 13:21:48 +00:00
Marek Habersack df9c479b9f Backport of r143967
svn path=/branches/mono-2-4/mcs/; revision=143969
2009-10-12 12:52:33 +00:00
Zoltan Varga 62bc944bd5 2009-09-25 Zoltan Varga <[email protected]>
* solaris_threads.c (GC_get_orig_stack_size): Remove the annoying 'Large stack
	limit' warning.

svn path=/branches/mono-2-4/mono/; revision=143962
2009-10-12 12:22:09 +00:00
Marek Habersack 9ea089fcdf Backport of r143950
svn path=/branches/mono-2-4/mcs/; revision=143952
2009-10-12 10:50:33 +00:00
Marek Habersack f34df297c1 Backport of r143945
svn path=/branches/mono-2-4/mcs/; revision=143947
2009-10-12 09:52:55 +00:00
Ankit Jain 992c26b0fe * xbuild.1: Add info about env var XBUILD_COLORS.
Backported from trunk.

svn path=/branches/mono-2-4/mono/; revision=143908
2009-10-11 01:42:34 +00:00
Ankit Jain 5f43045e07 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-4/mcs/; revision=143905
2009-10-11 01:33:59 +00:00
Ankit Jain 8b2205bc01 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-4/mcs/; revision=143882
2009-10-09 15:52:30 +00:00
Marek Safar a73f9b73e9 Fixed bootstrap with trunk
svn path=/branches/mono-2-4/mcs/; revision=143869
2009-10-09 14:11:13 +00:00
Sebastien Pouliot a9167fe490 2009-10-08 Sebastien Pouliot <[email protected]>
* certmgr.cs: Don't throw if we're missing an argument. Fix by
	Romain Tartiere (bug #464765). Updated help to specify that 
	"option type" is mandatory in some cases.
	[Backport from HEAD to fix #544518]


svn path=/branches/mono-2-4/mcs/; revision=143814
2009-10-08 22:36:03 +00:00
Veerapuram Varadhan 76bfc0bb7c 2009-09-30 Veerapuram Varadhan <[email protected]>
** Fixes #543207
	* OracleParameter.cs (Bind): Do not remove the trailing-null-byte.

svn path=/branches/mono-2-4/mcs/; revision=143807
2009-10-08 19:52:00 +00:00
Mark Probst 1dbbe11762 2009-07-09 Mark Probst <[email protected]>
* class-internals.h, generic-sharing.c: New RGCTX info type for
        getting a remoting invoke with check wrapper.

        Backport of r137640.

2009-07-09  Mark Probst  <[email protected]>

        * method-to-ir.c: When doing a call which might be remote from
        shared generic code to other shared code with open type arguments,
        get the remoting invoke wrapper from the RGCTX and do an indirect
        call to it.

        Backport of r137640.

svn path=/branches/mono-2-4/mono/; revision=143791
2009-10-08 16:53:21 +00:00
Zoltan Varga b101df1257 2009-06-11 Zoltan Varga <[email protected]>
* configure.in: Disable dtrace support if dtrace doesn't support the
	-h option.

svn path=/branches/mono-2-4/mono/; revision=143790
2009-10-08 16:49:08 +00:00
Ankit Jain d8c8f3d901 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*.

In tools/xbuild/tests:

	* 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.


svn path=/branches/mono-2-4/mcs/; revision=143742
2009-10-08 02:27:49 +00:00
Zoltan Varga 94211cb59c 2009-03-11 Zoltan Varga <[email protected]>
* SortedList.cs: Add version checking to the Key/Value enumerators +
	implement support for Reset (). Fixes #483985.

svn path=/branches/mono-2-4/mcs/; revision=143738
2009-10-08 01:23:46 +00:00
Ankit Jain bd143cd3f7 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/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.Tasks:
2009-10-08  Ankit Jain  <[email protected]>

	* Microsoft.Build.Tasks_test.dll.sources: Added
	RemoveDuplicatesTest.cs

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-4/mcs/; revision=143737
2009-10-08 01:03:41 +00:00
Zoltan Varga 8f9f8e99c3 Fix 2.4 make check.
svn path=/branches/mono-2-4/mcs/; revision=143718
2009-10-07 22:22:51 +00:00
Sebastien Pouliot 38a94954f5 2009-10-07 Sebastien Pouliot <[email protected]>
* CryptoStreamTest.cs: Make latest test cases compilable using
	older 2.4 mcs (which does not support automatically implemented 
	properties and implicitly typed arrays)implicitly typed arrays


svn path=/branches/mono-2-4/mcs/; revision=143664
2009-10-07 14:43:30 +00:00
Gonzalo Paniagua Javier bd85af1b49 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-4/mcs/; revision=143662
2009-10-07 14:38:30 +00:00
Zoltan Varga 6b9c3fe99f Fix the 2.4 build.
svn path=/branches/mono-2-4/mono/; revision=143655
2009-10-07 14:13:46 +00:00
Zoltan Varga 5e4ef6deb3 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-4/mono/; revision=143645
2009-10-07 13:23:20 +00:00
Zoltan Varga c257c50737 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-4/mono/; revision=143644
2009-10-07 13:23:12 +00:00
Marek Habersack 8539b28aa5 Backport of r143611
svn path=/branches/mono-2-4/mcs/; revision=143613
2009-10-07 10:49:39 +00:00
Gonzalo Paniagua Javier e5c1376fb8 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-4/mcs/; revision=143599
2009-10-07 04:03:26 +00:00
Marek Habersack e922251982 Backport of r143587
svn path=/branches/mono-2-4/mcs/; revision=143589
2009-10-07 00:10:49 +00:00
Gonzalo Paniagua Javier 927558f1d3 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-4/mcs/; revision=143527
2009-10-06 16:26:06 +00:00
Jonathan Chambers de7a2f04dd 2009-10-06 Jonathan Chambers <[email protected]>
* String.cs (Contains): Use CompareOptions.Ordinal. Fixes bug
        #535425.


svn path=/branches/mono-2-4/mcs/; revision=143520
2009-10-06 15:14:31 +00:00
Mark Probst 7b4efdcd94 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-4/mono/; revision=143508
2009-10-06 12:56:59 +00:00
Carlos Alberto Cortez e4a3f205ce 2009-10-05 Carlos Alberto Cortez <[email protected]>
* RTF.cs: If the rtf specified a code page outside the valid values,
	fallback to the default one.
	Fixes #503174.


svn path=/branches/mono-2-4/mcs/; revision=143479
2009-10-05 23:40:59 +00:00
Carlos Alberto Cortez a71a0eb0b8 2009-10-05 Carlos Alberto Cortez <[email protected]>
* DateTimePicker.cs: Call Focus in HideMonthCalendar to avoid
	duplication of code, as well as actually getting the focus back in
	*any* scenario where the drop down is closed.


svn path=/branches/mono-2-4/mcs/; revision=143478
2009-10-05 23:37:48 +00:00
Carlos Alberto Cortez 5ffb93e446 * DateTimePicker.cs: When calculating the max width for the year part,
use the current value, since *all* the possible values are exactly a 4
	digits number. This way we avoid a ArgumentOutOfRangeException trying
	to check against different values.
	Fixes #500917.

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


svn path=/branches/mono-2-4/mcs/; revision=143477
2009-10-05 23:36:33 +00:00
Carlos Alberto Cortez 7111cb7b4b * TextBox.cs: Expose IsAutoCompleteAvailable as internal.
* ComboBox.cs: If auto complete is being used, it is needed to update
	the actual value of the combo box, doing it immediately if the user
	presses Enter, or doing it when our combo box loses focus. Finally,
	when handling Enter and Escape keys for the combobox, don't try to
	hide the listbox if it is not visible in the first place. 
	Fixes part of #489339.

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


svn path=/branches/mono-2-4/mcs/; revision=143476
2009-10-05 23:31:40 +00:00
Carlos Alberto Cortez 28610f479c * ComboBox.cs: When losing the focus, if our textbox is not null,
close its auto complete list, if any.
	Fixes part of #489339.

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


svn path=/branches/mono-2-4/mcs/; revision=143475
2009-10-05 23:27:15 +00:00
Carlos Alberto Cortez b757396273 2009-10-05 Carlos Alberto Cortez <[email protected]>
* Control.cs, ContextMenuStrip.cs, ToolStripMenuItem.cs: Only process any 
	shortchut in ToolStripMenuItem.ProcessCmdKey if the control generating the 
	event is the same as the owner of the menu item. Also set properly 
	SourceControl for ContextMenuStrip, as well as add an internal field to 
	contain the control that owns the ContextMenuStrip (we need to know this 
	even before the public property is assigned).
	Fixes bits of #393775.


svn path=/branches/mono-2-4/mcs/; revision=143474
2009-10-05 23:13:49 +00:00
Carlos Alberto Cortez 964321cc03 2009-10-05 Carlos Alberto Cortez <[email protected]>
* ListBox.cs: The default instance StringFormat field used to draw our
	items should use the StringFormatFlags.NoWrap value, so it doesn't try
	to put in a different line the text that doesn't fit our bounds, but
	show it partially.
	Fixes #475581.


svn path=/branches/mono-2-4/mcs/; revision=143472
2009-10-05 23:01:07 +00:00
Carlos Alberto Cortez 536ee367dd 2009-10-05 Carlos Alberto Cortez <[email protected]>
* CheckedListbox.cs: When executing OnItemClick check that the index
	is different to -1 before trying to retrieve an item using that value.
	Fixes a ArgumentOutOfRangeException thrown when the horizontal
	scrollbar was visible but not needed, and then a clicked was received
	on its area.


svn path=/branches/mono-2-4/mcs/; revision=143471
2009-10-05 22:59:00 +00:00
Carlos Alberto Cortez 8b6dbf9018 2009-10-05 Carlos Alberto Cortez <[email protected]>
* ListView.cs: In EnsureVisible avoid any direct access to items if we
	are using virtual mode - otherwise use the bounds stored in a specific
	item in a given index. This is specially important when using groups
	or when items are re-arranged, since the position in the items
	collection can be different than that one being displayed.
	Fixes the rest of #491978.


svn path=/branches/mono-2-4/mcs/; revision=143470
2009-10-05 22:43:14 +00:00
Carlos Alberto Cortez 22c8ec9c90 * TabControl.cs: When removing a tab that was previously selected, set
internally the value of selected_index to -1, to avoid trying to
	access the previous one when trying to set the new one (and was
	already removed from the collection). This is what .net seems to do
	too.
	Fixes #490937.

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

svn path=/branches/mono-2-4/mcs/; revision=143469
2009-10-05 22:41:31 +00:00
Carlos Alberto Cortez 9e0099bb86 * X11Clipboard.cs: Actually look for the RtfText format when calling
GetRftText in our clipboard formats list, instead of using the
	generical Text format.
2009-10-05  Carlos Alberto Cortez <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=143468
2009-10-05 22:39:21 +00:00
Carlos Alberto Cortez d321738dfa * TextBox.cs: Process auto completion properly when we are using the
internal source provided by ComboBox, and also remove some repeated
	checks.
	Fixes #489339.

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


svn path=/branches/mono-2-4/mcs/; revision=143467
2009-10-05 22:37:38 +00:00
Carlos Alberto Cortez d2f90fa4ee 2009-10-05 Carlos Alberto Cortez <calberto.cortez@gmail,com>
* System.Windows.Forms.dll.sources: Add X11Clipboard.cs.


svn path=/branches/mono-2-4/mcs/; revision=143466
2009-10-05 22:34:58 +00:00
Carlos Alberto Cortez 255542e8a7 * X11Structs:
* X11Clipboard.cs: Move internal ClipboardStruct from X11Structs to
	its own file, since it is adding some functionality and thus is not a
	simple struct as before.
	* XplatUIX11.cs: Add support to store different formats that could
	have been specified by the user when puting data in the Clipboard -
	this is important when more than one format is supported (such plain
	text and rtf text). Update in the needed places, as well as simplify
	the code.
	Fixes #489625.

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


svn path=/branches/mono-2-4/mcs/; revision=143465
2009-10-05 22:33:21 +00:00
Carlos Alberto Cortez ae63bf109a * XplatUIX11.cs: When handling the SelectionRequest event, use
SelectionRequestEvent instead of SelectionEvent, so we get the right
	data for the app asking for clipboard data. Set the member of
	SelectioneEvent.property to indicate the place where we are storing
	the information as well - this is specially important for gnome/kde
	apps using the TARGETS atom to ask for the supported permission before
	actually asking for a specific format.
	Fixes #489393.

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


svn path=/branches/mono-2-4/mcs/; revision=143460
2009-10-05 21:36:48 +00:00
Carlos Alberto Cortez 8f356aa09f 2009-10-05 Carlos Alberto Cortez <[email protected]>
* ToolStrip.cs: When disposing, iterate over the items in reverse
	order, since disposing the items modifies the collection.
	* ToolStripItem.cs: Remove from the owner when disposing.
	Fixes #485769.


svn path=/branches/mono-2-4/mcs/; revision=143459
2009-10-05 21:34:52 +00:00
Carlos Alberto Cortez 1e3e17f293 2009-10-05 Carlos Alberto Cortez <[email protected]>
* DomainUpDown.cs: When ReadOnly is true, all the text entered by the
	user should use a different handling, trying to use every pressed char
	as a unique and only one prefix to compare against the items. Also,
	refactor some input check code to avoid duplication.
	Fixes #458607.


svn path=/branches/mono-2-4/mcs/; revision=143456
2009-10-05 21:25:13 +00:00
Carlos Alberto Cortez 721b9fa745 2009-10-05 Carlos Alberto Cortez <[email protected]>
* Form.cs: When calling ProcessCmdKey, just after checking for any
	MainMenu, check if there's an active ContextMenu that is *not* owned
	by the form - this is needed when a non-focusable control owns a
	ContextMenu but its ProcessCmdKey method can't be called since it
	can't receive any input.
	Fixes #477655.


svn path=/branches/mono-2-4/mcs/; revision=143453
2009-10-05 21:22:40 +00:00
Carlos Alberto Cortez 0cf685caee 2009-10-05 Carlos Alberto Cortez <[email protected]>
* RichTextBox.cs: LoadFile(string path) should pass by default
	RichTextBoxStreamType.RichText, without caring about the detection or
	extension of the file.


svn path=/branches/mono-2-4/mcs/; revision=143450
2009-10-05 21:19:58 +00:00
Carlos Alberto Cortez e5ce90c59e * ListView.cs: In our MouseDown handler in ItemControl use the item in
the very specific *real* position where the mouse was pressed, using
	GetItemAtDisplayIndex for that purpose, instead of directly accessing
	Items - this is specially useful when groups with Details view is
	used. This is what we do in other places when using groups.
	Fixes part of #478689.

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


svn path=/branches/mono-2-4/mcs/; revision=143449
2009-10-05 21:18:11 +00:00
Carlos Alberto Cortez b92ef732f7 * ListView.cs: For EnsureVisible, adjust the view port bounds based on
the existence of the column headers, as well as using this information
	to adjust the vscrollbar value, so items never get hidden by the
	column headers.
	Fixes #478498.

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


svn path=/branches/mono-2-4/mcs/; revision=143448
2009-10-05 21:15:26 +00:00
Carlos Alberto Cortez 4405d72a9e 2009-10-05 Carlos Alberto Cortez <[email protected]>
* TextBox.cs: Some code lifting for AutoComplete's support. First,
	when handling non-navigation keys, save the original Text typed by the
	user, and don't motify it BEFORE. This was a design mistake, since the
	re-assignation happens only when navigating the append/suggest list,
	not while creating the matches. Also, process the Delete key just like 
	the backspace one. Finally, when handling WM_CHAR, ignore both Escape
	and Enter keys.
	Fixes some missing bits of #469967.


svn path=/branches/mono-2-4/mcs/; revision=143446
2009-10-05 21:13:37 +00:00
Marek Habersack 9a376b7755 Fix the build
svn path=/branches/mono-2-4/mcs/; revision=143430
2009-10-05 18:00:09 +00:00
Carlos Alberto Cortez b02607456d 2009-10-05 Carlos Alberto Cortez <[email protected]>
* TextBox.cs: When handling WndProc with autocomplete activated,
	event if the new text is not causing any change in the look up
	algorithm, save it as we normally do when numbers and letters.
	Fixes #469967.


svn path=/branches/mono-2-4/mcs/; revision=143427
2009-10-05 17:12:02 +00:00
Carlos Alberto Cortez e5ff57bed6 * TreeView.cs: When canceling selection in our MouseUp handler,
invalidate also the previous selected node bounds.
	Fixes #464191.

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


svn path=/branches/mono-2-4/mcs/; revision=143424
2009-10-05 17:00:27 +00:00
Carlos Alberto Cortez 730b186c46 2009-10-05 Carlos Alberto Cortez <[email protected]>
* TreeView.cs: When handling the MouseMove event, check if
	focused_node and selected_node fields are null - usually they are non
	null, since we have always a selected node, but canceling selection by
	handling BeforeSelect event leaves the two of them as null.
	Fixes #470451.


svn path=/branches/mono-2-4/mcs/; revision=143423
2009-10-05 16:58:34 +00:00
Carlos Alberto Cortez f21208d73b 2009-10-05 Carlos Alberto Cortez <[email protected]>
* TreeView.cs: When drawing the node's image, check that the index
	specified by the node is valid for the ImageList.
	Fixes #471094.


svn path=/branches/mono-2-4/mcs/; revision=143422
2009-10-05 16:53:37 +00:00
Marek Habersack 00611272fe Backport of r143388
svn path=/branches/mono-2-4/mcs/; revision=143390
2009-10-05 11:15:47 +00:00
Marek Habersack 857819e153 Backport of r143384
svn path=/branches/mono-2-4/mcs/; revision=143386
2009-10-05 10:46:14 +00:00
Ankit Jain bbede03060 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-4/mcs/; revision=143318
2009-10-02 22:10:12 +00:00
Zoltan Varga 772e974348 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-4/mono/; revision=143309
2009-10-02 18:50:37 +00:00
Zoltan Varga 13e116f67d 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-4/mono/; revision=143269
2009-10-02 10:48:56 +00:00
Ankit Jain 15e05030e7 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-4/mcs/; revision=143219
2009-10-01 20:49:52 +00:00
Gonzalo Paniagua Javier 5cd2012a74 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-4/mcs/; revision=143107
2009-10-01 02:25:04 +00:00
Gonzalo Paniagua Javier 2283db587e 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-4/mcs/; revision=143104
2009-10-01 01:44:50 +00:00
Gonzalo Paniagua Javier 095eee95a8 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-4/mcs/; revision=143101
2009-10-01 01:41:26 +00:00
Gonzalo Paniagua Javier d4767647f6 undo. Proper fix was in BuildManager
svn path=/branches/mono-2-4/mcs/; revision=143098
2009-10-01 01:25:48 +00:00
Gonzalo Paniagua Javier dc6a4f9aff 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-4/mcs/; revision=143095
2009-10-01 01:22:55 +00:00
Ankit Jain 359f04ea6a 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-4/mcs/; revision=143087
2009-09-30 23:28:13 +00:00
Zoltan Varga 359d16b24d 2009-09-30 Zoltan Varga <[email protected]>
* pinvoke2.cs libtest.c: Add a test for #543133.

svn path=/branches/mono-2-4/mono/; revision=143002
2009-09-30 13:34:05 +00:00
Zoltan Varga 448ff8fe73 2009-09-30 Zoltan Varga <[email protected]>
* marshal.c (emit_marshal_object): Emit out marshalling of stringbuilders.
	Fixes #543133.

svn path=/branches/mono-2-4/mono/; revision=143001
2009-09-30 13:33:56 +00:00
Marek Habersack e73b45fbbd Backport of r142984
svn path=/branches/mono-2-4/mcs/; revision=142986
2009-09-30 10:39:46 +00:00
Marek Safar 88b22f3df9 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-4/mcs/; revision=142979
2009-09-30 09:36:21 +00:00
Gonzalo Paniagua Javier 63d3e279ca 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-4/mcs/; revision=142966
2009-09-30 06:06:51 +00:00
Gonzalo Paniagua Javier 11bbaa5354 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-4/mcs/; revision=142960
2009-09-30 05:27:11 +00:00
Marek Habersack b073156898 Backport of r142943
svn path=/branches/mono-2-4/mcs/; revision=142945
2009-09-29 23:25:46 +00:00
Marek Habersack 2d93af6034 Backport of r142934
svn path=/branches/mono-2-4/mcs/; revision=142936
2009-09-29 21:52:40 +00:00
Zoltan Varga 7038b002d5 2009-09-29 Zoltan Varga <[email protected]>
* mini-sparc.c: Fix the handling of enums with base type long.

svn path=/branches/mono-2-4/mono/; revision=142920
2009-09-29 20:10:33 +00:00
Zoltan Varga 398b1bc45d 2009-09-29 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_output_basic_block): Fix IREM_UN_IMM.

svn path=/branches/mono-2-4/mono/; revision=142919
2009-09-29 20:10:06 +00:00
Zoltan Varga 1ecf89bf0d 2009-09-29 Zoltan Varga <[email protected]>
* solaris_threads.c (GC_thr_daemon): Don't crash if GC_lookup_thread () returns
	NULL.

svn path=/branches/mono-2-4/mono/; revision=142913
2009-09-29 18:33:56 +00:00
Gonzalo Paniagua Javier bb2ae500e5 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-4/mcs/; revision=142902
2009-09-29 17:16:47 +00:00
Alan McGovern 6f17db0831 2009-09-29 Alan McGovern <[email protected]>
* CategoryAttributeTest.cs: Added new test file.


svn path=/branches/mono-2-4/mcs/; revision=142891
2009-09-29 16:01:24 +00:00
Alan McGovern 11fc90103b 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-4/mcs/; revision=142890
2009-09-29 16:00:30 +00:00
Ankit Jain 36121155b2 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.Engine/Test/Microsoft.Build.BuildEngine:
2009-09-29  Ankit Jain  <[email protected]>

	* ProjectTest.cs (TestPropertiesFromImportedProjects): New.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
	* GroupingCollection.cs (Evaluate): Mark internal.
	* Project.cs (AddImport): Only evaluate the properties,
	till before the import.

svn path=/branches/mono-2-4/mcs/; revision=142873
2009-09-29 14:53:59 +00:00
Zoltan Varga 78a3856aa4 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-4/mono/; revision=142869
2009-09-29 14:37:11 +00:00
Zoltan Varga a10399e98b 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-4/mono/; revision=142868
2009-09-29 14:36:57 +00:00
Gonzalo Paniagua Javier c99d0a46d0 Fix 1.1 profile
svn path=/branches/mono-2-4/mcs/; revision=142838
2009-09-29 09:25:44 +00:00
Gonzalo Paniagua Javier 74baccae7f 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-4/mcs/; revision=142822
2009-09-29 05:58:03 +00:00
Gonzalo Paniagua Javier 2da4096b85 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-4/mcs/; revision=142819
2009-09-29 05:42:34 +00:00
Marek Habersack 5e6f979447 Backport of r142798
svn path=/branches/mono-2-4/mcs/; revision=142800
2009-09-28 21:42:39 +00:00
Ankit Jain 54ef591b72 Update xbuild and Microsoft.Build.* from trunk.
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/Microsoft.Build.BuildEngine:
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-4/mcs/; revision=142793
2009-09-28 19:24:32 +00:00
Marek Habersack f8c1bbf000 Backport of r142783
svn path=/branches/mono-2-4/mcs/; revision=142784
2009-09-28 18:53:58 +00:00
Marek Habersack 1848319078 Backport of r142780
svn path=/branches/mono-2-4/mcs/; revision=142782
2009-09-28 18:50:56 +00:00
Marek Habersack 757303f826 Backport of r142773
svn path=/branches/mono-2-4/mcs/; revision=142777
2009-09-28 18:08:58 +00:00
Marek Habersack e8d4cc4614 Backport of r142766
svn path=/branches/mono-2-4/mcs/; revision=142768
2009-09-28 16:44:35 +00:00
Ankit Jain 3e7c4a6f99 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-4/mcs/; revision=142743
2009-09-28 11:00:02 +00:00
Gonzalo Paniagua Javier 6899c14049 from trunk
svn path=/branches/mono-2-4/mono/; revision=142705
2009-09-27 06:16:26 +00:00
Veerapuram Varadhan 068a7792ae backport of r142690
svn path=/branches/mono-2-4/mcs/; revision=142692
2009-09-26 21:30:33 +00:00
Veerapuram Varadhan ef426b10a2 backport of r142668
svn path=/branches/mono-2-4/mcs/; revision=142691
2009-09-26 21:30:15 +00:00
Ankit Jain b617f55f9e 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-4/mcs/; revision=142685
2009-09-26 20:47:33 +00:00
Zoltan Varga 419eb9cd78 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-4/mono/; revision=142652
2009-09-25 19:19:16 +00:00
Zoltan Varga 468443f52c 2009-07-12 Gert Driesen <[email protected]>
* BinderTest.cs: Added SelectMethod/BindToMethod tests for methods
with byref arguments.
* Binder.cs: Only allow a type to match its byref version for
BindToMethod (and not for SelectMethod).
* TypeTest.cs: Enabled test that was failing due to regression.

svn path=/branches/mono-2-4/mcs/; revision=142638
2009-09-25 14:45:37 +00:00
Zoltan Varga 8b466bd4bc 2009-02-02 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): Add support for byref
	nullable arguments.

	* object.c (mono_runtime_invoke_array): Ditto.

svn path=/branches/mono-2-4/mono/; revision=142635
2009-09-25 14:35:11 +00:00
Zoltan Varga d5b8aa69e5 2009-07-10 Zoltan Varga <[email protected]>
* Binder.cs (check_arguments): Allow a type to match its byref version.
	Fixes #520690.

svn path=/branches/mono-2-4/mcs/; revision=142634
2009-09-25 14:34:46 +00:00
Ankit Jain 879eeb6c15 Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
	* Makefile(EXTRA_DISTFILES): Add Microsoft.WebApplication.targets

2009-09-25  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets: Emit list of files written
	during the build, even if the build fails.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
	* Project.cs (BuildTarget): Handle skipped targets.

svn path=/branches/mono-2-4/mcs/; revision=142632
2009-09-25 13:07:00 +00:00
Marek Habersack 4fbaa2df11 Backport of r142627
svn path=/branches/mono-2-4/mcs/; revision=142628
2009-09-25 11:17:52 +00:00
Ankit Jain 67de92c683 * xbuild.1: Add info about env var XBUILD_EMIT_SOLUTION.
svn path=/branches/mono-2-4/mono/; revision=142613
2009-09-25 00:50:02 +00:00
Veerapuram Varadhan 80ed1e2c00 backport of r142608
svn path=/branches/mono-2-4/mcs/; revision=142612
2009-09-25 00:49:09 +00:00
Ankit Jain 86bb2d341d Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
2009-09-25  Ankit Jain  <[email protected]>

	Fix bug #534992.
	* xbuild/Microsoft.Common.targets: Add support for copying
	app.config to AssemblyName.config
	* xbuild/Microsoft.Common.tasks: Add FindAppConfigFile task.

2009-09-24  Ankit Jain  <[email protected]>

	* Parameters.cs (ParseArguments): If no project file is specified,
	then look for a .sln or *proj file in the current directory.

2009-09-24  Ankit Jain  <[email protected]>

	* Makefile: Create dir for WebApplication.targets .
	* Microsoft.Common.targets (_ValidateEssentialProperties): New.
	(BuildDependsOn): Add _ValidateEssentialProperties, temporary.
	This should actually work via InitialTargets, which will be fixed
	in a subsequent commit. Add PrepareForRun.
	(PrepareForRun): New.
	* xbuild/Microsoft.WebApplication.targets: New.

2009-09-23  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets: Add 'Rebuild' target.
	Also, set DefaultTargets to "Build".

In tools/xbuild/tests:
2009-09-25  Ankit Jain  <[email protected]>

	* standalone/Project01: Add app.config to project Lib1.
	Remove Project01.sln.proj . Update final-outputs.txt .

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
2009-09-25  Ankit Jain  <[email protected]>

	* FindAppConfigFileTest.cs: New.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-09-25  Ankit Jain  <[email protected]>

	* FindAppConfigFile.cs: New.

2009-09-24  Ankit Jain  <[email protected]>

	* ReadLinesFromFile.cs (Execute): Don't do anything, if
	file is non-existant.

2009-09-24  Ankit Jain  <[email protected]>

	* ToolTaskExtension.cs (HasLoggedErrors): Override.

2009-09-23  Ankit Jain  <[email protected]>

	* MSBuild.cs (BuildInParallel): Add missing property.

2009-09-10  Ankit Jain  <[email protected]>

	* AssemblyResolver.cs: Move the SearchLogger to be a list of
	strings, so that it can be emitted with correct indentation.
	(SearchLogger): Remove.
	(LogSearchMessage): New.
	(LogSearchLoggerMessages): New.
	* ResolveAssemblyReference.cs: Track api changes.

In class/Microsoft.Build.Tasks:
2009-09-25  Ankit Jain  <[email protected]>

	* Microsoft.Build.Tasks.dll.sources: Added
	FindAppConfigFile.cs
	* Microsoft.Build.Tasks_test.dll.sources: Added
	FindAppConfigFileTest.cs

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-09-25  Ankit Jain  <[email protected]>

	* Project.cs (DoLoad): If a VS2003 project is detected, then throw
	InvalidProjectFileException with useful error.

2009-09-24  Ankit Jain  <[email protected]>

	* Project.cs (Load): Emit the .sln.proj file only if env var
	XBUILD_EMIT_SOLUTION is set.

2009-09-24  Ankit Jain  <[email protected]>

	* Project.cs (GetKeyForTarget): Make target name, case insensitive.

2009-09-24  Ankit Jain  <[email protected]>

	* Project.cs (InitializeProperties): Set 'MSBuildProjectDefaultTargets'
	reserved property.

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-09-24  Ankit Jain  <[email protected]>

	* ToolTask.cs (HasLoggedErrors): Add missing property.

2009-09-23  Ankit Jain  <[email protected]>

	* TaskLoggingHelper.cs (LogErrorFromException): Add missing overload.

2009-09-10  Ankit Jain  <[email protected]>

	* TaskLoggingHelper.cs (FormatString): Use the unformatted string
	even if the args array was empty.


svn path=/branches/mono-2-4/mcs/; revision=142611
2009-09-25 00:48:23 +00:00
Zoltan Varga a51039ba56 2009-09-24 Zoltan Varga <[email protected]>
* processes.c (load_modules): Applied patch from Thomas Philpot
	([email protected]). Fixes #533893.

svn path=/branches/mono-2-4/mono/; revision=142601
2009-09-24 19:34:19 +00:00
Veerapuram Varadhan 979f4d8759 backport of r142590
svn path=/branches/mono-2-4/mcs/; revision=142591
2009-09-24 18:02:49 +00:00
Marek Habersack 1fd6e786cc Backport of r142556
svn path=/branches/mono-2-4/mcs/; revision=142558
2009-09-24 09:36:34 +00:00
Gonzalo Paniagua Javier 7347070d74 2009-09-24 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: lock access to the 'timer' field. Attemp to fix bug
	#537921.


svn path=/branches/mono-2-4/mcs/; revision=142549
2009-09-24 05:10:26 +00:00
Zoltan Varga 9efe7bd899 2009-09-24 Zoltan Varga <[email protected]>
* Type.cs: Initialize the Missing field.

svn path=/branches/mono-2-4/mcs/; revision=142542
2009-09-24 00:25:49 +00:00
Ivan Zlatev df22e8009a 2009-09-24 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: Compare the name and not displayname of properties
	when checking if the column is already bound.

svn path=/branches/mono-2-4/mcs/; revision=142537
2009-09-24 00:12:06 +00:00
Ivan Zlatev b608b90e15 2009-09-24 Ivan Zlatev <[email protected]>
* EnumConverter.cs: Fix conversion of 0 flag values.
	* EnumConverterTests.cs: Add a test to verify behaviour when converting
	 a 0 flag value.
	[Fixes bug #541402]

svn path=/branches/mono-2-4/mcs/; revision=142535
2009-09-23 23:56:50 +00:00
Zoltan Varga 7b96dea1de 2009-09-24 Zoltan Varga <[email protected]>
* decompose.c (mono_decompose_vtype_opts): Avoid reading uninitialized memory
	in the VCALL decomposition code.

svn path=/branches/mono-2-4/mono/; revision=142531
2009-09-23 23:45:55 +00:00
Gonzalo Paniagua Javier 65e019035d 2009-09-23 Gonzalo Paniagua Javier <[email protected]>
* NetworkStream.cs: after disposing the stream, CanRead/CanWrite
	return false.


svn path=/branches/mono-2-4/mcs/; revision=142489
2009-09-23 13:42:04 +00:00
Sebastien Pouliot db5d5073e3 In Test/System.Security.Cryptography:
2009-09-22  Sebastien Pouliot  <[email protected]> 

	* CryptoStreamTest.cs: Add (nunit-ized) test cases provided by
	Santa Marta (via Atsushi) as repro for bugs #539288 and #539229

2009-09-22  Sebastien Pouliot  <[email protected]>

	* CryptoStreamTest.cs: Convert to newer nunit syntax

In System.Security.Cryptography:
2009-09-23  Sebastien Pouliot  <[email protected]>

	* CryptoStream.cs: Fix [Input|Output]BlockSize for custom streams.
	Patches by Santa Marta (via Atsushi).
	[Fix bug #539288 and #539229]
	[Backport r142435]


svn path=/branches/mono-2-4/mcs/; revision=142476
2009-09-23 12:14:01 +00:00
Marek Habersack b9ba0f5eba Backport of r142433
svn path=/branches/mono-2-4/mcs/; revision=142434
2009-09-22 19:28:40 +00:00
Marek Habersack 6add805673 Backport of r142386
svn path=/branches/mono-2-4/mcs/; revision=142387
2009-09-22 12:15:24 +00:00
Gonzalo Paniagua Javier 82af3effda 2009-09-21 Gonzalo Paniagua Javier <[email protected]>
* Console.cs: mark methods/properties that only work on windows.
	Fixes bug #540593.


svn path=/branches/mono-2-4/mcs/; revision=142326
2009-09-21 11:56:42 +00:00
Zoltan Varga cd46cfb184 2009-09-19 Zoltan Varga <[email protected]>
* method-to-ir.c: Fix the previous change on 64 bit platforms.

svn path=/branches/mono-2-4/mono/; revision=142262
2009-09-19 19:00:56 +00:00
Zoltan Varga 6f496e34c3 2009-09-19 Zoltan Varga <[email protected]>
* method-to-ir.c: Applied patch from Rodrigo Kumpera. Allow an i8 argument
	to NEWARR.

	* iltests.il.in: Add a new test.

svn path=/branches/mono-2-4/mono/; revision=142260
2009-09-19 18:50:43 +00:00
Gonzalo Paniagua Javier 75883edce3 2009-09-19 Gonzalo Paniagua Javier <[email protected]>
* SocketAsyncEventArgs.cs: fix check for non-null.
	Fixes bug #516455.


svn path=/branches/mono-2-4/mcs/; revision=142253
2009-09-19 05:03:21 +00:00
Gonzalo Paniagua Javier e8236f67b4 2009-09-19 Gonzalo Paniagua Javier <[email protected]>
* Ping.cs: if we receive a packet that is ignored, adjust the
	timeout. Fixes bug #538013.


svn path=/branches/mono-2-4/mcs/; revision=142251
2009-09-19 04:45:36 +00:00
Gonzalo Paniagua Javier a226c5c2fc fix the windows cygwin build in 2.4
svn path=/branches/mono-2-4/mono/; revision=142210
2009-09-18 17:00:30 +00:00
Miguel de Icaza 97ad9677e9 Update the number, so MD builds
svn path=/branches/mono-2-4/mono/; revision=142194
2009-09-18 15:39:39 +00:00
Rodrigo Kumpera 3dd67d7f09 In metadata:
2009-09-17 Rodrigo Kumpera  <[email protected]>

	Backport of r127430.

	* appdomain.c:
	* generic-sharing.c:
	* object.c:
	* reflection.c:  Adjust locking order to the new semantics where the loader lock
	comes first.

	Backport of r126758/126783.

	* reflection.c (mono_reflection_lookup_dynamic_token): This function might be called without
	the loader lock which is required to guard MonoImage:tokens.

In mini:
2009-09-17 Rodrigo Kumpera  <[email protected]>

	Backport of r127430.

	* mini.c: Adjust locking order to the new semantics where the loader lock
	comes first.


svn path=/branches/mono-2-4/mono/; revision=142152
2009-09-17 21:58:12 +00:00
Rodrigo Kumpera 17e154b315 In .:
2009-09-17 Rodrigo Kumpera  <[email protected]>

	* ArrayTest.cs: Fix the build.


svn path=/branches/mono-2-4/mcs/; revision=142151
2009-09-17 21:53:36 +00:00
Gonzalo Paniagua Javier 2ca7f78aa2 2009-09-17 Gonzalo Paniagua Javier <[email protected]>
* DirectoryInfo.cs: throw if FullPath is not a directory.
	Fixes bug #539791.


svn path=/branches/mono-2-4/mcs/; revision=142093
2009-09-17 04:36:26 +00:00
Zoltan Varga 278d6d40a5 Add missing change.
svn path=/branches/mono-2-4/mono/; revision=142031
2009-09-16 11:54:59 +00:00
Zoltan Varga 8b60910a83 2009-09-16 Zoltan Varga <[email protected]>
* mini-exceptions.c (mono_handle_exception_internal): Store the computed
	lmf before calling filter clauses as well. Fixes #539550.

	* exceptions.cs: Add a test.

svn path=/branches/mono-2-4/mono/; revision=142030
2009-09-16 11:54:50 +00:00
Gonzalo Paniagua Javier b30dd568ff 2009-09-15 Gonzalo Paniagua Javier <[email protected]>
* System.Net.Configuration/DefaultProxyHandler.cs:
	* System.Net/WebRequest.cs: handle upper and lowercase HTTP_PROXY and
	the Any address.
	Fixes bug #537283.


svn path=/branches/mono-2-4/mcs/; revision=141982
2009-09-15 18:48:01 +00:00
Marek Habersack 3d48cc55b6 Backport of r141962
svn path=/branches/mono-2-4/mcs/; revision=141963
2009-09-15 13:04:31 +00:00
Marek Habersack 9f1c47e243 Backport of r137829. Fixes bug #538588
svn path=/branches/mono-2-4/mcs/; revision=141955
2009-09-15 12:52:51 +00:00
Jonathan Pryor 0cb84def78 * DeflateStream.cs: MonoTouch reverse callbacks need to be static
methods and be annotated with [MonoPInvokeCallback].  Get things
	  working with these limitations.

svn path=/branches/mono-2-4/mcs/; revision=141912
2009-09-14 20:18:09 +00:00
Jonathan Pryor f083fccb3c * zlib-helper.c: support reverse callbacks within MonoTouch.
svn path=/branches/mono-2-4/mono/; revision=141911
2009-09-14 20:17:49 +00:00
Ivan Zlatev 293a7967ef 2009-09-14 Ivan Zlatev <[email protected]>
* DesignSurface.cs: Prevent a NRE in Flush by cheching if the
	designer loader is null.
	[Fixes bug #538929]

svn path=/branches/mono-2-4/mcs/; revision=141889
2009-09-14 12:24:08 +00:00
Gonzalo Paniagua Javier e43e0f6ae8 from trunk
svn path=/branches/mono-2-4/mcs/; revision=141865
2009-09-13 03:33:53 +00:00
Gonzalo Paniagua Javier e12ba9fbad from trunk
svn path=/branches/mono-2-4/mcs/; revision=141864
2009-09-13 03:33:28 +00:00
Gonzalo Paniagua Javier 5b0a0ac34f 2009-09-12 Gonzalo Paniagua Javier <[email protected]>
* AsyncResult.cs: lock when setting the 'completed' field and use the
	property instead of the 'handle' field.


svn path=/branches/mono-2-4/mcs/; revision=141861
2009-09-13 02:49:06 +00:00
Gonzalo Paniagua Javier eba4f9caee 2009-09-12 Gonzalo Paniagua Javier <[email protected]>
* domain.c:
	* object.c:
	* class-internals.h: renamed waithandle_class to
	manualresetevent_class.
	* marshal.c: propagate the exception if a remoting BeginInvoke call
	fails.


svn path=/branches/mono-2-4/mono/; revision=141857
2009-09-13 02:37:40 +00:00
Ivan Zlatev b86c1617bc 2009-09-11 Ivan N. Zlatev <[email protected]>
* PropertyGrid.cs: Hide the splitter when the help is hidden.

svn path=/branches/mono-2-4/mcs/; revision=141749
2009-09-11 12:23:39 +00:00
Ivan Zlatev 9eb14cc8cb 2009-09-11 Ivan N. Zlatev <[email protected]>
* InternalWindowManager.cs: Call Invalidate-Update instead of
	Refresh for MS compitability. Note also that Refresh is virtual
	and several controls override it in order to provide data refresh
	functionallity on top of the redraw and they do not expect this
	extra refresh call.
	* Control.cs: In Refresh Invalidate the control and all children
	insead of calling Refresh for each of them.
	[Fixes bug #538336]

svn path=/branches/mono-2-4/mcs/; revision=141745
2009-09-11 11:20:13 +00:00
Ivan Zlatev 8589323c4a 2009-09-11 Ivan N. Zlatev <[email protected]>
* PropertyGrid.cs: Always set the help panel properties on the
	internal control, because they are inherited and can change with
	the parent.
	[Fixes bug #525305]

svn path=/branches/mono-2-4/mcs/; revision=141734
2009-09-11 09:09:16 +00:00
Ivan Zlatev 1908a25c17 2009-09-10 Ivan N. Zlatev <[email protected]>
* DocumentDesigner.cs: Changing the ISelectionService at run time was a
	bad idea, so wrap it inside the extended UISelectionService instead.

svn path=/branches/mono-2-4/mcs/; revision=141682
2009-09-10 14:08:47 +00:00
Ivan Zlatev fc2812368a 2009-09-10 Ivan N. Zlatev <[email protected]>
* DesignSurface.cs: Provide the default implementation of the
	ISelectionService in the DesignSurface service container.
	* DocumentDesigner.cs: If there is already a ISelectionService registered
	in the ServiceContainer but it's not an IUISelectionService (WinForms
	specific) then replace it with one.
	[Fixes bug #538037]

svn path=/branches/mono-2-4/mcs/; revision=141681
2009-09-10 14:08:18 +00:00
Ankit Jain 351ec10054 Update xbuild and Microsoft.Build.* from trunk.
In class/Microsoft.Build.Engine/Test/various:

	* Items.cs (TestItems2a):
	(TestInheritedMetadataFromItemRefs):
	(TestInheritedMetadataFromItemRefs2):
	(TestMetadataFromItemReferences): New.

2009-09-08  Ankit Jain  <[email protected]>

	* Items.cs (TestItems5):
	(TestItems6): Remove 'NotWorking' attribute.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

	* BuildItem.cs (Evaluate): Metadata from "Include" should be,
	preserved, so use ConvertTo ITaskItem, rather than string.
	Ensure that the new items have the metadata from references _in_
	Include, and the metadata of _this_ builditem.
	* DirectoryScanner.cs (Includes): Change to a array of ITaskItem.
	(MatchedFilenames): Rename to ..
	(MatchedItems): .. this, and change type of array of ITaskItem.
	Ensure that metadata of items in Includes are retained in the
	final matched items.

	* BuildItemGroup.cs (ConvertoToITaskItemArray): Add 'separator'
	param. If separator is present, then just return a "Join'ed"
	string as the single task item.
	* ItemReference.cs: Track api changes.

	* BuildProperty.cs (ConvertToITaskItemArray): Split the value,
	as we need separate task items.

In class/Microsoft.Build.Utilities/Mono.XBuild.Utilities:

	* ReservedNameUtils.cs (RelativeDir): Add a trailing \ .

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:

	* ToolTask.cs (LogEventsFromTextOutput): Log message even if its not
	identified as an error or a warning.


svn path=/branches/mono-2-4/mcs/; revision=141670
2009-09-10 09:27:01 +00:00
Veerapuram Varadhan 682c395762 ** Fixes #510176
* DataView.cs (OnRowChanged/OnRowDeleted): Raise appropriate events iff
        view is affected. This silence of the numerous Add/Change events that were
        getting raised from DataView.
        (ToTable): Use appropriate index to generated DataTable in case of
        RowFilter / Sort conditions.

        * DataRow.cs (AcceptChanges/RejectChanges): Raise appropriate Changing events

svn path=/branches/mono-2-4/mcs/; revision=141655
2009-09-10 01:25:05 +00:00
Veerapuram Varadhan bb15ce3116 backport of fix for #510176
svn path=/branches/mono-2-4/mcs/; revision=141654
2009-09-10 01:24:37 +00:00
Marek Habersack ab3c27ce28 Backport of r141630
svn path=/branches/mono-2-4/mcs/; revision=141631
2009-09-09 19:50:36 +00:00
Ivan Zlatev cd18c9de77 2009-09-09 Ivan N. Zlatev <[email protected]>
* ParentControlDesigner.cs, ControlDesigner.cs, UISelectionService.cs,
	IUISelectionService.cs: Support IToolboxService control creation via
	point-(resize)-click.
	[Fixes part of bug #537604]

svn path=/branches/mono-2-4/mcs/; revision=141613
2009-09-09 14:40:45 +00:00
Gonzalo Paniagua Javier 8899c62e31 Fixing the cygwin build: the saga continues
svn path=/branches/mono-2-4/mono/; revision=141611
2009-09-09 14:24:14 +00:00
Marek Habersack f036434968 Backport of r141509
svn path=/branches/mono-2-4/mcs/; revision=141510
2009-09-08 11:49:07 +00:00
Marek Habersack 0cd66271d8 Backport of r141504
svn path=/branches/mono-2-4/mcs/; revision=141505
2009-09-08 11:25:35 +00:00
Marek Habersack 7429294094 Backport of r141474
svn path=/branches/mono-2-4/mcs/; revision=141475
2009-09-08 00:13:22 +00:00
Marek Habersack c4cb4f6992 Backport of r141471
svn path=/branches/mono-2-4/mcs/; revision=141472
2009-09-07 22:22:44 +00:00
Marek Habersack 23c2378d8c Backport of r141424
svn path=/branches/mono-2-4/mcs/; revision=141425
2009-09-07 11:57:37 +00:00
Marek Habersack c7d989bf2a Backport of r141422
svn path=/branches/mono-2-4/mcs/; revision=141423
2009-09-07 11:19:30 +00:00
Marek Habersack db8656e6e7 Backport of r141420
svn path=/branches/mono-2-4/mcs/; revision=141421
2009-09-07 11:09:01 +00:00
Ivan Zlatev a6cbff7505 2009-09-07 Ivan N. Zlatev <[email protected]>
* DesignSurface.cs: Don't be so strict and allow for the users
	to get the View even if the DesignSurface wasn't properly initialized
	with a DesignerLoader. MS compatibility.
	[Fixes bug #537131]

svn path=/branches/mono-2-4/mcs/; revision=141407
2009-09-07 08:06:02 +00:00
Zoltan Varga b13da3b3ba 2009-09-05 Zoltan Varga <[email protected]>
* handles.c (_wapi_handle_real_new): Call _wapi_process_reap () when running
	out of shared handes. Fixes #536776.

svn path=/branches/mono-2-4/mono/; revision=141383
2009-09-05 18:25:35 +00:00
Zoltan Varga 87fa06efa1 2009-09-05 Zoltan Varga <[email protected]>
* processes.c (CreateProcess): Return false and set the error to
	ERROR_OUTOFMEMORY when a process handle cannot be created.
	(ShellExecuteEx): Propagate an ERROR_OUTOFMEMORY error code. Fixes part of
	#536776.

svn path=/branches/mono-2-4/mono/; revision=141382
2009-09-05 18:25:27 +00:00
Marek Habersack efe201ceed Backport of r141370
svn path=/branches/mono-2-4/mcs/; revision=141371
2009-09-04 21:38:48 +00:00
Gonzalo Paniagua Javier 6c2dd6d31c 2009-09-04 Gonzalo Paniagua Javier <[email protected]>
* threadpool.c: make the Sleep() alertable to prevent delays exiting
	applications that take less than 2s to execute.
	Bug #524984 fixed.


svn path=/branches/mono-2-4/mono/; revision=141364
2009-09-04 20:35:33 +00:00
Miguel de Icaza 16c4da9313 2009-09-04 Miguel de Icaza <[email protected]>
* TermInfoDriver.cs: Handle a few more key combinations.

svn path=/branches/mono-2-4/mcs/; revision=141361
2009-09-04 19:14:01 +00:00
Gonzalo Paniagua Javier 069b92a2c2 2009-09-04 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: if the request has already finished reading, don't
	throw ObjectDisposedException here, just return as if nothing
	happened. Fixes bug #312968.


svn path=/branches/mono-2-4/mcs/; revision=141348
2009-09-04 17:35:24 +00:00
Gonzalo Paniagua Javier 2ae6966e02 2009-09-04 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: if the request has already finished reading, don't
	throw ObjectDisposedException here, just return as if nothing
	happened. Fixes bug #312968.


svn path=/branches/mono-2-4/mcs/; revision=141347
2009-09-04 17:35:13 +00:00
Marek Habersack 698bfe6353 Backport of r141339
svn path=/branches/mono-2-4/mcs/; revision=141340
2009-09-04 16:09:38 +00:00
Ivan Zlatev 8e3fdb8590 2009-09-03 Ivan N. Zlatev <[email protected]>
* DataColumnPropertyDescriptor.cs, DataView.cs: Not browsable if Hidden.
	[Fixes the second part of bug #536547]

svn path=/branches/mono-2-4/mcs/; revision=141276
2009-09-03 18:21:15 +00:00
Ivan Zlatev 9cd9c6af8b 2009-09-03 Ivan N. Zlatev <[email protected]>
* BindingSource.cs: Implement support for chained data sources.
	* ListBindingHelper.cs: Add support for ICurrencyManagerProvider and
	clean up.
	[Fixes part of bug #536547]

svn path=/branches/mono-2-4/mcs/; revision=141275
2009-09-03 18:18:44 +00:00
Zoltan Varga f3bf41421e 2009-09-03 Zoltan Varga <[email protected]>
* pinvoke3.cs libtest.c: Add a test for #481559.

svn path=/branches/mono-2-4/mono/; revision=141271
2009-09-03 18:00:09 +00:00
Zoltan Varga 40b393c746 2009-09-03 Zoltan Varga <[email protected]>
* marshal.c (emit_marshal_array): Call conv.ovf.i on the array parameter
	argument, since NEWARR expects a native int. Fixes #481559.

svn path=/branches/mono-2-4/mono/; revision=141270
2009-09-03 18:00:02 +00:00
Marek Habersack a888b77b83 Backport of r141245
svn path=/branches/mono-2-4/mcs/; revision=141246
2009-09-03 13:13:54 +00:00
Marek Habersack 8753eae5f1 Backport of r141220
svn path=/branches/mono-2-4/mcs/; revision=141222
2009-09-03 09:58:00 +00:00
Ivan Zlatev 0e112ac750 2009-09-02 Ivan N. Zlatev <[email protected]>
* Backport DataGridView and PropertyGrid bug fixes.

svn path=/branches/mono-2-4/mcs/; revision=141171
2009-09-02 19:25:32 +00:00
Gonzalo Paniagua Javier 910a785863 2009-09-01 Gonzalo Paniagua Javier <[email protected]>
* DB2CLIWrapper.cs: changed libname to 'db2'. Use 'int' instead of
	'IntPtr' for most of the SQL handles. Only SQLPOINTER is 64 bits in
	64-bit machines.


svn path=/branches/mono-2-4/mcs/; revision=141089
2009-09-01 21:48:43 +00:00
Zoltan Varga 78e2d6976e 2009-09-01 Zoltan Varga <[email protected]>
* exceptions-x86.c (throw_exception): Fix the previous change by substracting
	the alignment for the value of sp.

svn path=/branches/mono-2-4/mono/; revision=141070
2009-09-01 20:33:30 +00:00
Ankit Jain 08cf01009d Update xbuild and Microsoft.Build.* from trunk.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

	* TaskBatchingTest.cs: Add new tests for metadata refs found
	in places other than task attributes.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

	* ResolveAssemblyReference.cs (ResolveReference): targetFrameworkDirectories
	can be null.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-09-01  Ankit Jain  <[email protected]>

	Fix bug #534965.
	* Project.cs (BuildTarget): Move caching of target outputs to ..
	* Target.cs: .. here. Move LogTargetSkipped also here.
	Ensure that caching happens for target dependencies also.

2009-09-01  Ankit Jain  <[email protected]>

	* DirectoryScanner.cs (Scan): Ignore empty entries in includes and
	excludes.

2009-09-01  Ankit Jain  <[email protected]>

	* Expression.cs (ParseOptions): New enum. Replace the bool params
	of exression.Parse with this. Add option to control expansion of
	metadata references.
	(CopyToExpressionCollection): Track api changes.
	
	Update all expr.Parse calls to use the new enum.
	* BuildItem.cs, BuildProperty.cs, BuildTask.cs, Import.cs,
	Target.cs, TargetBatchingImpl.cs, UsingTask.cs: Track api changes.

	* BatchingImplBase.cs: Track api changes. Allow metadata refs
	in task attributes.
	* ConditionFactorExpression.cs: Allow metadata refs in conditions.
	* ItemReference.cs: Allow metadata in transforms.
	* TaskEngine.cs: Allow metadata refs.

	* MetadataReference.cs (.ctor): Add a 'original string' param.

svn path=/branches/mono-2-4/mcs/; revision=141066
2009-09-01 19:33:27 +00:00
Marek Habersack 7dbb8723c1 Backport of r141062
svn path=/branches/mono-2-4/mcs/; revision=141063
2009-09-01 19:25:27 +00:00
Raja R Harinath c1a902e73a Fix #533572
* Uri.cs (ParseNoExceptions): Don't look for '@' in absolute unix paths.

2009-09-01  Andres Aragoneses  <[email protected]>
	* UriTest.cs: New tests from #533572.

(backported from trunk r141020)

svn path=/branches/mono-2-4/mcs/; revision=141052
2009-09-01 15:55:55 +00:00
Zoltan Varga da98f87d31 2009-09-01 Zoltan Varga <[email protected]>
* processes.c (EnumProcessModules): Applied patch from Romain Tartière
	([email protected]). Fix this on freebsd/OSX. Fixes #533893.

svn path=/branches/mono-2-4/mono/; revision=140995
2009-09-01 00:15:47 +00:00
Zoltan Varga 329e4b82d3 2009-08-31 Zoltan Varga <[email protected]>
* exceptions-x86.c (get_throw_exception): Align the stack on osx.

svn path=/branches/mono-2-4/mono/; revision=140990
2009-08-31 21:21:06 +00:00
Gonzalo Paniagua Javier 3e86cd37a9 2009-08-31 Gonzalo Paniagua Javier <[email protected]>
* CustomizableFileSettingsProvider.cs: reset the property value
	instead of using the DefaultValue.
	* SettingsPropertyValue.cs: new Reset() method.
	* ApplicationSettingsBase.cs: Reset happens in Reload().
	Patch by Andrew Kurochka that fixes bug #532180.


svn path=/branches/mono-2-4/mcs/; revision=140951
2009-08-31 09:21:20 +00:00
Gonzalo Paniagua Javier b04e945cd4 2009-08-29 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: HEAD response does not have a body even if the
	response is an error. Fixes buf #535102.


svn path=/branches/mono-2-4/mcs/; revision=140924
2009-08-29 21:09:29 +00:00
Zoltan Varga 3ae3f5b5ed 2009-07-13 Zoltan Varga <[email protected]>
* method-to-ir.c (mono_method_to_ir): When calling a gshared method,
	call a generic class init trampoline if needed. Fixes #519336.

	* generics.cs: Add a test.

svn path=/branches/mono-2-4/mono/; revision=140919
2009-08-29 13:20:16 +00:00
Ankit Jain ceffbf33f1 Update xbuild and Microsoft.Build.* from trunk.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

	* CopyTest.cs (TestCopy_EmptySources): New.
	(TestCopy_EmptyDestFolder): New.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

	* AssignCulture.cs, AssignTargetPath.cs,
	CallTarget.cs, CombinePath.cs, Copy.cs,
	CreateItem.cs, CreateManifestResourceName.cs,
	Delete.cs, Error.cs, FindUnderPath.cs,
	GenerateResource.cs, MSBuild.cs, MakeDir.cs,
	Message.cs, RemoveDir.cs, RemoveDuplicates.cs,
	ResolveAssemblyReference.cs, Touch.cs,
	WriteLinesToFiles.cs: Add null checks and array
	length checks.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

	* BuildItemTest.cs (TestSetMetadata5a): New.
	* ProjectTest.cs: Add tests for different property types
	with required attribute. Also, check the values - null or
	empty array.
	* TestTasks.cs: Add new tasks for above.

In class/Microsoft.Build.Engine/Test/various:

	* Items.cs: Add tests for property/item evaluation.

In class/Microsoft.Build.Engine/Test/resources:

	* TestTasks.cs: Add new tasks for different property types
	with required attribute. Also, emit whether the value was
	null or a zero length array.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

	* Expression.cs (ExpressionOptions): New.

	Introduce a ExpressionOptions argument to all ConvertTo*
	methods. Implement the rule: in evaluation phase, expand
	all items completely, but dont expand item refs in properties.
	At other times, expand the item refs in the properties.
	See comments in Expression.cs, for a full explanation.
	* BuildItem.cs: Track api changes.
	* BuildItemGroup.cs: Likewise.
	* BuildProperty.cs: Track api changes. Handle self-references.
	* BuildTask.cs: Track api changes.
	* IReference.cs: Add ExpressionOptions param.
	* ItemReference.cs: Track api changes.
	* PropertyReference.cs: Likewise.
	* MetadataReference.cs: Likewise.
	* ExpressionCollection.cs: Track api changes. Add support for
	converting all primitive types and DateTime, instead of a fixed
	few.
	* Project.cs (GetMetadataBatched): Use the evaluated metadata.
	* TaskBatchingImpl.cs: Handle the case when batching is required,
	but no items are available.

	* TaskEngine.cs: Throw on unsupported types. Correctly handle
	properties in case of empty values.


svn path=/branches/mono-2-4/mcs/; revision=140914
2009-08-28 22:06:17 +00:00
Zoltan Varga e35e4fb469 2009-08-28 Zoltan Varga <[email protected]>
* marshal.c (cominterop_get_ccw): Applied patch from tom hindle
	<[email protected]>. Add locking around hash table accesses.

svn path=/branches/mono-2-4/mono/; revision=140844
2009-08-27 23:44:32 +00:00
Marek Habersack ba63c00a5d Backport of r140786
svn path=/branches/mono-2-4/mcs/; revision=140789
2009-08-27 11:08:00 +00:00
Ankit Jain f70fa401ce Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
	* xbuild/Microsoft.Common.targets: Remove dummy
	@(_TargetPathItem), since we support item refs with transforms
	as a property value.

2009-08-26  Ankit Jain  <[email protected]>

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
	* CreateItemTest.cs (TestVariableExpansion): Update test to
	use a transform with a item reference in a property.

2009-08-26  Ankit Jain  <[email protected]>

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
	* Expression.cs: Correctly handle a item reference with transform
	when allowItems is false. If item ref is ignored, then the transform
	will get incorrectly matched as a metadata ref.
	* ItemReference.cs (.ctor): Add a @original_string param.

2009-08-26  Ankit Jain  <[email protected]>

	* Utilities.cs (UnescapeFromXml): New. From md.
	* BuildProperty.cs (.ctor): Unescape xml codes from the InnerXml
	of the property element.

2009-08-26  Ankit Jain  <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=140705
2009-08-26 11:33:54 +00:00
Ankit Jain 5e6b4037c4 Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
2009-08-26  Ankit Jain  <[email protected]>

	Fix bug #533903.
	* xbuild/Microsoft.Common.targets: Support building projects
	directly from command line. Builds referenced projects. Honors
	$(BuildingSolutionFile) and $(BuildingInsideVisualStudio) now.
	Also, clean referenced projects.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
2009-08-26  Ankit Jain  <[email protected]>

	* CreateItemTest.cs (TestVariableExpansion): New.
	* CreatePropertyTest.cs (TestExecution2): New.

2009-08-24  Ankit Jain  <[email protected]>

	* CreateCSharpManifestResourceNameTest.cs:
	* CreateVisualBasicManifestResourceNameTest.cs: Add tests for
	folder name with spaces in it.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-08-24  Ankit Jain  <[email protected]>

	* LibraryPcFileCache.cs: New. From monodevelop.
	* PcFileCache.cs: Update from monodevelop, see r140528.
	* AssemblyResolver.cs: Track api changes.

2009-08-24  Ankit Jain  <[email protected]>

	* CreateManifestResourceName.cs (GetResourceIdFromFileName): Spaces
	in folder names should be converted to '_'.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-08-26  Ankit Jain  <[email protected]>

	* BuildProperty.cs (ConvertToString): New.
	(ConvertoToITaskItemArray): New. Parse the property value.
	* PropertyReference.cs (ConvertToString): Use BuildProperty's
	ConvertToString.
	(ConvertoToITaskItemArray): Likewise.	


svn path=/branches/mono-2-4/mcs/; revision=140680
2009-08-26 00:06:27 +00:00
Gonzalo Paniagua Javier fe0873a801 new test. generics+fetchmovenext
svn path=/branches/mono-2-4/mcs/; revision=140630
2009-08-25 15:01:50 +00:00
Gonzalo Paniagua Javier b578d313e0 2009-08-25 Gonzalo Paniagua Javier <[email protected]>
* statement.cs: avoid nullref when the return value of GetEnumerator()
	does not contain any MoveNext() method.


svn path=/branches/mono-2-4/mcs/; revision=140629
2009-08-25 15:01:26 +00:00
Marek Habersack ec76144667 Backport of r140611
svn path=/branches/mono-2-4/mcs/; revision=140612
2009-08-25 11:23:04 +00:00
Veerapuram Varadhan 50e39d0c1f 2009-08-25 Veerapuram Varadhan <[email protected]>
* Fixes **522465 - based on the work by [email protected]
	* Tds70.cs (FormatParameter): For double, use "round-trip" format
	specifier in order to be sure of a successful conversion.

svn path=/branches/mono-2-4/mcs/; revision=140609
2009-08-25 11:03:08 +00:00
Veerapuram Varadhan da2e4417d4 2009-08-25 Veerapuram Varadhan <[email protected]>
* DataViewManager.cs (CollectionToListChangeEventArgs) : Use IsAssignableFrom
	instead of type comparison.

svn path=/branches/mono-2-4/mcs/; revision=140598
2009-08-25 09:36:34 +00:00
Veerapuram Varadhan 853b049a2a 2009-08-25 Veerapuram Varadhan <[email protected]>
** Fixes #521951
	* DataViewManager.cs (CollectionToListChangeEventArgs) : Use a corresponding
	DataTable/DataRelation obj instead of only DataRelation.

svn path=/branches/mono-2-4/mcs/; revision=140595
2009-08-25 09:06:38 +00:00
Gonzalo Paniagua Javier 0391b8ea28 fix take 2
svn path=/branches/mono-2-4/mono/; revision=140534
2009-08-24 18:35:07 +00:00
Gonzalo Paniagua Javier c88c25fed9 fix packaging
svn path=/branches/mono-2-4/mono/; revision=140516
2009-08-24 15:26:17 +00:00
Gonzalo Paniagua Javier ea6ef4b6dc 2009-08-23 Gonzalo Paniagua Javier <[email protected]>
* deflate.c:
	* gzio.c:
	* deflate.h:
	* zutil.h:
	* crc32.c:
	* trees.c:
	* zconf.h:
	* inffast.c:
	* compress.c:
	* zlib.h:
	* inftrees.c:
	* inflate.c:
	* inflate.h:
	* adler32.c:
	* infback.c: updated to 1.2.3.3


svn path=/branches/mono-2-4/mono/; revision=140454
2009-08-23 06:15:10 +00:00
Marek Habersack b1420abfcf Backport of r140438
svn path=/branches/mono-2-4/mcs/; revision=140439
2009-08-21 20:56:12 +00:00
Marek Habersack e0cfae9c2c Backport of r140394
svn path=/branches/mono-2-4/mcs/; revision=140395
2009-08-21 00:41:56 +00:00
Ankit Jain 6187128f80 Backport r140383 from trunk.
* Makefile.am (man_MANS): Add xbuild.1
* xbuild.1: New.

svn path=/branches/mono-2-4/mono/; revision=140384
2009-08-20 22:32:02 +00:00
Marek Habersack d4884b7805 Backport of r140375
svn path=/branches/mono-2-4/mcs/; revision=140376
2009-08-20 21:08:01 +00:00
Marek Habersack 7c050f04f7 Backport of r140371
svn path=/branches/mono-2-4/mcs/; revision=140372
2009-08-20 21:03:33 +00:00
Ankit Jain 138daf5918 Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
2009-08-21  Ankit Jain  <[email protected]>

	Fix bug #531926
	* xbuild/Microsoft.Common.targets: Add $(ConfigurationName)
	and $(PlatformName) default values.
	Move CoreCompile to a Compile target with corresponding
	Before/After hooks and *DependsOn.
	Add Pre/PostBuildEvents handling.

2009-08-20  Ankit Jain  <[email protected]>

	Fix bug #532264.
	* Main.cs: Dont generate .sln.proj, project.Load can handle
	.sln directly now. Show stack trace for exceptions if logger
	verbosity is > normal
	* SolutionParser.cs (ParseSolution): Add a param for a raise
	warning delegate. Use Dictionary.TryGetValue, key might not
	be present.

2009-08-20  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets (ResolveReferences*): Add
	a *DependsOn property and Before/After hooks. Change output
	of ResolvedFiles to @(ReferencePath).
	* xbuild/Microsoft.CSharp.targets (Csc): Use @(ReferencePath)
	for references.

2009-08-19  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets (ResolveAssemblyReference):
	Make SearchPaths get value from a property (AssemblySearchPaths)
	to allow it to be overridden.

2009-08-18  Ankit Jain  <[email protected]>

	* SolutionParser.cs (ParseSolution): Project reference in a project
	file, but not found in .sln file is ignored. Also, add dependencies
	specified in the .sln file.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-08-18  Ankit Jain  <[email protected]>

	* TaskLoggingHelperExtensios.cs (.ctor): Mark internal.

2009-08-18  Ankit Jain  <[email protected]>

	* PcFileCache.cs (PackageInfo): Mark internal.

2009-08-18  Ankit Jain  <[email protected]>

	* AssemblyResolver.cs (FindInTargetFramework): Perform case insensitive
	assembly name comparison. Use the new AssemblyNamesCompatible api.
	(AssemblyNamesCompatible): Add new overload with a 'ignoreCase' param.

2009-08-17  Ankit Jain  <[email protected]>

	* AssemblyResolver.cs (TargetFrameworkAssemblies..ctor): Make assembly
	name lookups for target framework assemblies, case insensitive. Helps
	with cases like "System.configuration", which vs.net is known to emit.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2009-08-18  Ankit Jain  <[email protected]>

	* ProjectTest.cs (TestCaseSensitivityOfProjectElements): New.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-08-21  Ankit Jain  <[email protected]>

	* Engine.cs (EndProjectBuild): Use the @succeeded argument
	instead of hardcoding 'true'.
	* Target.cs (Build): Add an overload to return executeOnErrors
	value for the target executed. If building dependencies fails,
	and executeOnErrors is true, then execute OnError tasks.
	Add the new param to ..
	(BuildDependencies): this, ..
	(DoBuild): and this.
	(GetDependencies): Improve error message and variable name.
	(ExecuteOnErrors): Honor OnError tag's Condition also.
	* TaskBatchingImpl.cs (Run): Correctly set executeOnErrors param.

2009-08-20  Ankit Jain  <[email protected]>

	Fix bug #532264
	* Project.cs (Load): Add support for loading .sln files.

2009-08-20  Ankit Jain  <[email protected]>

	* BuildTask.cs (Execute): Use task_logger only after the task
	has been initialized. Catch and report task loading errors.
	* Target.cs (DoBuild): Dont rethrow the exception, and emit
	the stacktrace as a low importance message.

2009-08-18  Ankit Jain  <[email protected]>

	* BatchingImplBase.cs: Make the item name lookups and metadata be case
	insensitive.
	* TaskDatabase.cs: Likewise.
	* TaskEngine.cs: Make property name looks, case insensitive.

In class/Microsoft.Build.Engine:
2009-08-20  Ankit Jain  <[email protected]>

	* Microsoft.Build.Engine.dll.sources: Add tools/xbuild/SolutionParser.cs


svn path=/branches/mono-2-4/mcs/; revision=140370
2009-08-20 20:59:55 +00:00
Sebastien Pouliot 990f18df7a In System.Net.Mail:
2009-08-20  Sebastien Pouliot  <[email protected]>

	* SmtpClient.cs: Honor ServicePointManager.
	ServerCertificateValidationCallback when provided
	[Backport r140347]

In System.Net.Security:
2009-08-20  Sebastien Pouliot  <[email protected]>

	* SslStream.cs : Always use/provide a X509Chain even if this 
	duplicates some of the old/existing logic of Mono.Security.
	This makes it possible to provide a callback using 
	ServicePointManager.ServerCertificateValidationCallback
	[Backport r140359]


svn path=/branches/mono-2-4/mcs/; revision=140363
2009-08-20 18:38:57 +00:00
Sebastien Pouliot 3626f07f77 2009-08-20 Sebastien Pouliot <[email protected]>
* TlsServerCertificate.cs: If no usage information is available then
	assume it's ok for SSL since we'll (later) check that the CN contains
	a host name (that match the server) and such a certificate wouldn't
	be much useful for anything but SSL/TLS. Fix the new stmp.gmail.com
	certificate usage failure.
	[Backport r140358]


svn path=/branches/mono-2-4/mcs/; revision=140360
2009-08-20 18:31:32 +00:00
Marek Habersack 2d4bf4b1f2 Added system.web.mvc.pc
svn path=/branches/mono-2-4/mono/; revision=140306
2009-08-19 23:09:20 +00:00
Marek Habersack e56346c970 Backport of r140299
svn path=/branches/mono-2-4/mcs/; revision=140300
2009-08-19 22:34:27 +00:00
Marek Habersack 90ab18c9f5 Backport r140273
svn path=/branches/mono-2-4/mcs/; revision=140274
2009-08-19 18:37:45 +00:00
Mark Probst 32c24f276d 2009-08-19 Mark Probst <[email protected]>
* generic-sharing.c: Replace the templates lock with the loader
	lock because of very hard to resolve deadlock issues.

	Backport of r139118.

svn path=/branches/mono-2-4/mono/; revision=140272
2009-08-19 18:15:21 +00:00
Marek Habersack 49e8adee21 Backport of r140213
svn path=/branches/mono-2-4/mcs/; revision=140215
2009-08-18 23:57:02 +00:00
Marek Habersack 0775a3b406 Backport of r140161
svn path=/branches/mono-2-4/mcs/; revision=140162
2009-08-18 13:32:27 +00:00
Marek Habersack 00647205a3 Backport of r140098
svn path=/branches/mono-2-4/mcs/; revision=140100
2009-08-17 20:44:43 +00:00
Marek Habersack bd54877408 Backport of r140004
svn path=/branches/mono-2-4/mcs/; revision=140005
2009-08-15 02:24:29 +00:00
Marek Habersack bd6fbcdc07 Backport of r139989
svn path=/branches/mono-2-4/mcs/; revision=139990
2009-08-15 00:33:18 +00:00
Marek Habersack bb1b7defd7 Backport of r139969
svn path=/branches/mono-2-4/mcs/; revision=139970
2009-08-14 21:39:25 +00:00
Marek Habersack ff93796eaa Unbreak the build
svn path=/branches/mono-2-4/mcs/; revision=139967
2009-08-14 21:23:41 +00:00
Ankit Jain 2b0ce0ec3c Update xbuild from trunk.
In tools/xbuild:
	Fix bug #530368.
	* SolutionParser.cs (AddProjectTargets): If a project name matches one
	of the targets that we emit (Build/Clean etc), then rename to
	"Solution:<project name>".

2009-08-14  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets (AllowUnsafeBlocks): Don't set any
	default value.
	(OutputPath): Set a default value.
	(DeployOutputFiles): Copy only if something available to copy.

2009-08-14  Ankit Jain  <[email protected]>

	* SolutionParser.cs (ProjectInfo.Dependencies): Change to a dictionary
	to keep track of corresponding ProjectInfo objects.
	(ParseSolution): Refactor to populate the ProjectInfo.Dependencies
	dictionary. Use AddBuildLevels to emit build levels to allow
	parallel builds.
	(AddProjectTargets): Dependency's projectInfo is directly available now.
	(AddBuildLevels): New. Emit items named BuildLevelN, where each level
	has projects that can be built in parallel. Lower levels represent
	dependencies for higher levels.
	(AddSolutionTargets): Instead of using CallTarget, directly use MSBuild
	task with the new BuildLevelN stuff. Also tell the user about disabled
	projects or missing project configs.
	(TopologicalSort): New.
	(Insert): New. Based on code from monodevelop.

In tools/xbuild/tests:

	* standalone/Project01: Update .sln.proj file.


svn path=/branches/mono-2-4/mcs/; revision=139956
2009-08-14 18:10:16 +00:00
Ankit Jain 51eab20b95 Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
2009-08-14  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Add
	'{PkgConfig}' to SearchPaths.

2009-07-31  Ankit Jain  <[email protected]>

	* ErrorUtilities.cs (ShowUsage): Implement.

2009-07-30  Ankit Jain  <[email protected]>

	Fix bug #484771.
	* xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Add support
	for $(OutDir).

2009-07-30  Ankit Jain  <[email protected]>

	* ErrorUtilities.cs: Set version to Consts.MonoVersion .

2009-07-30  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Output
	ResolvedFiles to @(ReferencePath), required for IDE integration.

2009-07-30  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets: Implement 'Clean' target. Currently
	just handles clean for a full build.

2009-07-28  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets: Add missing 'SkipUnchangedFiles=true'
	for the Copy tasks.
	(CopyDeployFiles*): Fix typos, Add inputs/outputs for the
	PreserveNewest case and remove for copy always case.

2009-07-23  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets: Oops, forgot to remove some
	debug stuff.

2009-07-23  Ankit Jain  <[email protected]>

	* Makefile: Create a lib/mono/xbuild directory for xbuild
	extensions.

2009-07-23  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets (AssignProjectConfigurations): New.
	(ResolveProjectReferences): Add dependency on AssignProjectConfigurations
	target. Also, set the config and platform properties for the msbuild task
	being invoked.
	* xbuild/Microsoft.Common.tasks: Add AssignProjectConfiguration .

2009-07-22  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.VisualBasic.targets (Vbc.References): Remove
	"@(ChildProjectReferences)" as it gets resolved earlier
	and is part of @(ResolvedFiles).

2009-07-22  Ankit Jain  <[email protected]>

	* xbuild.Microsoft.CSharp.targets (Csc.References): Remove
	"@(ChildProjectReferences)" as it gets resolved earlier
	and is part of @(ResolvedFiles).

In tools/xbuild/tests:
2009-07-30  Ankit Jain  <[email protected]>

	* standalone/Project01/final-outputs.txt: Update to include obj/
	dir also, and sort the list.

2009-07-23  Ankit Jain  <[email protected]>

	* standalone/Project01: Change config mappings a bit to mix them up,
	like Debug->Release etc. Update .proj file and final-outputs.txt.

2009-07-22  Ankit Jain  <[email protected]>

	* standalone/Project01: Add references to two "external" assemblies
	with dependencies.
	* standalone/Project01/Program.cs: Add references in code to the new
	assemblies, to ensure that they are required for compilation.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
2009-07-23  Ankit Jain  <[email protected]>

	* AssignProjectConfigurationTest.cs: New.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-08-14  Ankit Jain  <[email protected]>

	* PcFileCache.cs: New. From monodevelop.
	* AssemblyResolver.cs (ResolvePkgConfigReference): New. Use PcFileCache
	to resolve assembly references.
	(AssemblyNamesCompatible): If SpecificVersion is false, then compare
	only simple names.
	(GetResolvedReference): Rename default_value to default_copy_local_value.
	(Cache): New.
	(PcFileCacheContext): New.
	(SearchPath): Add 'PkgConfig' to the enum.
	* ResolveAssemblyReference.cs: Add support for '{PkgConfig}'. Update
	messages.
	* ResolvedReference.cs (FoundInSearchPathToString): Create from ..
	(FoundInSearchPathAsString): .. this. Change this to a property to
	allow custom "found in .. " messages.

2009-07-31  Ankit Jain  <[email protected]>

	* MSBuild.cs (Execute): Log error if the file doesn't exist.

2009-07-30  Ankit Jain  <[email protected]>

	* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
	required for IDE integration.
	* AssemblyResolver.cs (GetResolvedReference): All the original metadata
	should be retained. Track api changes.

2009-07-30  Ankit Jain  <[email protected]>

	* ReadLinesFromFile.cs (Execute): Log a warning instead of an error
	if unable to read from the file. Fix a null check. Always return
	true.

2009-07-30  Ankit Jain  <[email protected]>

	* Delete.cs (Execute): Log a message when deleting a file.

2009-07-28  Ankit Jain  <[email protected]>

	* Exec.cs (AddCommandLineCommands): First word from @command is treated
	as exec name, and rest as arguments. Extract arguments here.
	(ExecuteTool): Don't ignore params.
	(GenerateFullPathToTool): Extract first word as tool name.
	(HandleTaskExecutionErrors): Honor IgnoreExitCode property.
	(LogEventsFromTextOutput): Log as messages.
	* ManagedCompiler.cs (HandleTaskExecutionErrors): Implement.

2009-07-23  Ankit Jain  <[email protected]>

	* AssignProjectConfiguration.cs (Execute): Implement.

2009-07-22  Ankit Jain  <[email protected]>

	Fix bug #517974.
	* ResolvedReference.cs (AssemblyName): New.
	(IsPrimary): New. Primary (eg. specified in the project file) or
	dependent reference.
	(FoundInSearchPathAsString): New.
	* AssemblyResolver.cs (GetResolvedReference): Add a 'assembly name'
	param for the new field in ResolvedReference.
	(AssemblyNamesCompatible): Fix the check for public key token.
	Track api changes.

	* ResolveAssemblyReference.cs: Keep track of resolved assemblies,
	prevent duplicate references and other files.
	Process dependencies after resolving all the primary references.
	Search for dependencies in parent assembly's dir first and then
	the specified search paths.
	Detect assembly version conflicts and try to resolve.
	Improve logged messages.
	(PrimaryReference): New.
	(ResolveAssemblyReferenceHelper.AddUniqueFile): New extension method.

2009-07-16  Ankit Jain  <[email protected]>

	Fix bug #519922.

	* AssemblyResolver.cs (FindInDirectory): Try the @reference as a
	filename as it is, or with different @file_extensions.
	If @reference is a assembly name, then look for *.@file_extensions
	for target assembly.
	(GetAssemblyNameFromFile): Log FileNotFoundException and BadImageFormatException
	separately, instead of a single unclear message.

	Change all uses of Assembly.GetAssemblyName with GetAssemblyNameFromFile
	which does the required error checking and logging.

In class/Microsoft.Build.Tasks:
2009-08-14  Ankit Jain  <[email protected]>

	* Microsoft.Build.Tasks_test.dll.sources: Added
	PcFileCache.cs from md.

2009-07-23  Ankit Jain  <[email protected]>

	* Microsoft.Build.Tasks_test.dll.sources: Added
	AssignProjectConfigurationTest.cs .

2009-07-22  Ankit Jain  <[email protected]>

	* Makefile: Add System.Core .

	* Microsoft.Build.Tasks.dll.sources: Added
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2009-07-30  Ankit Jain  <[email protected]>

	* EngineTest.cs (TestNewProject): Disable. Invalid for
	v3.5 profile.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-08-09  Miguel de Icaza  <[email protected]>

	* ConsoleLogger.cs: Change the format of the error and warnings
	strings to work when invoked inside Emacs by not rendering the
	column if available, by using lowercase "error"/"warning" strings
	instead of camelcased versions and to not have unnecessary padding.

2009-07-31  Ankit Jain  <[email protected]>

	* ConsoleLogger.cs: Keep track of all the errors and warnings
	and show them at the end.

2009-07-31  Ankit Jain  <[email protected]>

	* Target.cs (Build): Log a message if a target is skipped.
	(LogMessage): New.
	* BuildTask.cs (Execute): Log error if task execution fails.

2009-07-30  Ankit Jain  <[email protected]>

	* Engine.cs (.ctor): Set default BinPath. Currently this assumes
	v2.0, this will change when multi-targeting lands.

2009-07-30  Ankit Jain  <[email protected]>

	* Project.cs (InitializeProperties) Set 'MSBuildProjectFile' and
	'MSBuildProjectName' properties.

2009-07-28  Ankit Jain  <[email protected]>

	* TaskEngine.cs (Prepare): Fix formatting mistake.
	* ConsoleLogger.cs: Emit "-- FAILED" also when project/target building
	fails. Also, emit result of project at Normal verbosity level.

2009-07-23  Ankit Jain  <[email protected]>

	Fix bug #511370.
	* Project.cs (ExtensionsPath): New.
	(InitializeProperties): Set "MSBuildExtensionsPath" property.

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-07-28  Ankit Jain  <[email protected]>

	* ToolTask (.ctor): Initialize Timeout value.
	(Execute): Use HandleTaskExecutionErrors to determine task result. Set
	exitCode to the result of ExecuteTool and let HandleTaskExecutionErrors
	determine final result of the task.
	(RealExecute): Rename to ..
	(ExecuteTool): .. this. @responseFileCommands could be empty.
	Use specified timeout value for the executing tool.
	Rename 'compilerOutput' to 'toolOutput'. Cleanup resources in the
	finally block. Move processing of stdout/stderr output to ..
	(ProcessOutputFile): .. here and ..
	(LogEventsFromTextOutput): .. here.
	(HandleTaskExecutionErrors): Implement.
	(DeleteTempFile): Implement.


svn path=/branches/mono-2-4/mcs/; revision=139900
2009-08-14 09:49:54 +00:00
Marek Habersack 3e0d55f180 Backport of r139895
svn path=/branches/mono-2-4/mcs/; revision=139896
2009-08-14 02:01:41 +00:00
Gonzalo Paniagua Javier 46d3bf0620 2009-08-13 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs:
	* WebConnectionStream.cs: if there's an error writing the headers from
	a buffered request, propagate the error instead of hiding it and
	causing a different one later (ie, ObjectDisposedException instead of
	the original WebException). This happened when posting without
	Content-Length set to an HTTPS url without validating the server
	certificate.


svn path=/branches/mono-2-4/mcs/; revision=139884
2009-08-13 22:12:13 +00:00
Marek Habersack d79b1c65cc Backport of r139819
svn path=/branches/mono-2-4/mcs/; revision=139820
2009-08-12 23:51:43 +00:00
Rodrigo Kumpera d795c91e8c 2009-08-12 Rodrigo Kumpera <[email protected]>
Backport of r139815.

	* class.c: Add mono_class_get_field_from_name_full which does
	the same as mono_class_get_field_from_name but does check field
	signature as well.

	* class-internals.h: Export mono_class_get_field_from_name_full as
	part of the internal API.

	* loader.c (field_from_memberref): Search fields by name and signature
	as it's valid to have two fields with same name but different types.

	Fixes #528055.


svn path=/branches/mono-2-4/mono/; revision=139817
2009-08-12 23:49:50 +00:00
Marek Habersack 206b9c748f 2009-08-12 Marek Habersack <[email protected]>
* BuildManager.cs: show source code when an error occurs while
	compiling a page. Fixes bug #518987

svn path=/branches/mono-2-4/mcs/; revision=139801
2009-08-12 21:22:50 +00:00
Gonzalo Paniagua Javier 59d29f7965 2009-08-11 Gonzalo Paniagua Javier <[email protected]>
* DefaultWsdlHelpGenerator.aspx: the 'Message Layout' can now handle
	self-referencing types. Fixes bug #529353.


svn path=/branches/mono-2-4/mono/; revision=139713
2009-08-11 15:09:15 +00:00
Zoltan Varga b7cde18842 2009-08-04 Zoltan Varga <[email protected]>
* threads.c (thread_cleanup): Free serialized_ui_culture_info. Fixes
	#527902.

svn path=/branches/mono-2-4/mono/; revision=139357
2009-08-04 17:10:48 +00:00
Gonzalo Paniagua Javier 7c08ae3796 2009-08-03 Gonzalo Paniagua Javier <[email protected]>
* Attachment.cs: set the body encoding for multipart attachments.
	Fixes bug #527177.


svn path=/branches/mono-2-4/mcs/; revision=139279
2009-08-03 12:48:18 +00:00
Miguel de Icaza 0ed9444c6c Backport
svn path=/branches/mono-2-4/mcs/; revision=139264
2009-08-03 04:46:36 +00:00
Zoltan Varga d3ff7b42d1 2009-06-29 Zoltan Varga <[email protected]>
* threads.c: Store the thread start argument in a hash table instead of
	registering it as a root, as libgc doesn't support unregistering roots
	under windows, leading to 'too many root sets' errors when many threads
	are created.

svn path=/branches/mono-2-4/mono/; revision=139249
2009-08-01 19:26:14 +00:00
Zoltan Varga 674c2367c3 2009-07-31 Zoltan Varga <[email protected]>
* mini-sparc.c (mono_arch_output_basic_block): Implement OP_IREM_UN_IMM.

svn path=/branches/mono-2-4/mono/; revision=139170
2009-07-31 12:25:13 +00:00
Gonzalo Paniagua Javier 573c9348cf 2009-07-30 Gonzalo Paniagua Javier <[email protected]>
* HttpResponseWrapper.cs: removed a few TODO/NotImplemented.
	Fixes bug #526297.


svn path=/branches/mono-2-4/mcs/; revision=139123
2009-07-30 21:20:40 +00:00
Gonzalo Paniagua Javier 6094a0ffec backport form head. Missing APIs
svn path=/branches/mono-2-4/mcs/; revision=139113
2009-07-30 19:13:39 +00:00
Veerapuram Varadhan 94b6b1bc60 backport of r139086
svn path=/branches/mono-2-4/mcs/; revision=139099
2009-07-30 17:03:27 +00:00
Gonzalo Paniagua Javier 616bef98a5 2009-07-23 Gonzalo Paniagua Javier <[email protected]>
* BuildManager.cs: precompilation setup failed if the precompiled
	virtual directory was / and it was deployed somewhere else.


svn path=/branches/mono-2-4/mcs/; revision=139094
2009-07-30 15:56:53 +00:00
Zoltan Varga 9bd18e4aea 2009-07-30 Zoltan Varga <[email protected]>
* icall.c (ves_icall_System_Reflection_FieldInfo_internal_from_handle_type): Fix the second argument, its a MonoType* not a MonoClass*.

svn path=/branches/mono-2-4/mono/; revision=139056
2009-07-30 11:23:40 +00:00
Gonzalo Paniagua Javier f9c9d9dbb9 fix 2.4 build
svn path=/branches/mono-2-4/mcs/; revision=138894
2009-07-28 22:59:00 +00:00
Mike Gorse e0c4e94f21 * ToolStripMenuItem.cs: Added UIA CheckOnClickChanged event.
svn path=/branches/mono-2-4/mcs/; revision=138875
2009-07-28 20:31:42 +00:00
Gert Driesen fd31b849d6 * SqlCommand.cs: Ensure connection is closed if CloseConnection
behavior is set, and reader could not be created.

Backport of r138854.

svn path=/branches/mono-2-4/mcs/; revision=138857
2009-07-28 17:52:14 +00:00
Gonzalo Paniagua Javier e0eef10421 2009-07-28 Gonzalo Paniagua Javier <[email protected]>
* WebClient.cs: rethrow WebExceptions instead of creating a new one
	with less information on the actual error.
	Fixes bug #526069.


svn path=/branches/mono-2-4/mcs/; revision=138856
2009-07-28 17:26:54 +00:00
Gonzalo Paniagua Javier 1aadace24e 2009-07-28 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs: allow subclasses of EventHandler for
	event handlers in global.asax.
	Fixes bug #525743.


svn path=/branches/mono-2-4/mcs/; revision=138785
2009-07-28 04:55:23 +00:00
Gonzalo Paniagua Javier cdfc702947 2009-07-27 Gonzalo Paniagua Javier <[email protected]>
* ArrayTest.cs: new LastIndexOf test for 0-length arrays.


svn path=/branches/mono-2-4/mcs/; revision=138736
2009-07-27 15:35:45 +00:00
Gonzalo Paniagua Javier e8ed358a30 2009-07-27 Gonzalo Paniagua Javier <[email protected]>
* Array.cs: empty arrays just return -1 in LastIndexOf().


svn path=/branches/mono-2-4/mcs/; revision=138734
2009-07-27 15:35:35 +00:00
Gonzalo Paniagua Javier 1bc6720528 2009-07-26 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: small fixes dealing with _maxCapacity.


svn path=/branches/mono-2-4/mcs/; revision=138693
2009-07-26 17:08:13 +00:00
Gonzalo Paniagua Javier d854f3be68 2009-07-26 Gonzalo Paniagua Javier <[email protected]>
* StringBuilderTest.cs: new overflow tests.


svn path=/branches/mono-2-4/mcs/; revision=138689
2009-07-26 16:27:10 +00:00
Gonzalo Paniagua Javier 399ae27f73 2009-07-26 Gonzalo Paniagua Javier <[email protected]>
* StringBuilder.cs: small fixes dealing with _maxCapacity.


svn path=/branches/mono-2-4/mcs/; revision=138687
2009-07-26 16:26:58 +00:00
Veerapuram Varadhan 3ba32cd6d5 2009-07-24 Veerapuram Varadhan <[email protected]>
* DbCommandBuilder.cs (CreateDeleteCommand, CreateUpdateCommand): Add the
	nullcheck-param into the respective command's parameter list.  Fixes
	build breaks.  Individual provider's CommandBuilder classes from 2.0
	profile onwards use the base version of methods to maintain these commands.
	(Get*Command): Cleanup code duplication
	* DbDataAdapter (Update): Use SourceColumnNullMapping property to handle
	nullcheckparams.  Fixes #522624.  Patch by
	Gert Driesen  <[email protected]>.

svn path=/branches/mono-2-4/mcs/; revision=138679
2009-07-25 19:29:54 +00:00
Gonzalo Paniagua Javier 9c95ff041e 2009-07-25 Gert Driesen <[email protected]>
* TdsConnectionPool.cs: Fixed typo in ResetConnectionPool.


svn path=/branches/mono-2-4/mcs/; revision=138675
2009-07-25 15:53:22 +00:00
Gonzalo Paniagua Javier 84a1884f8c revert 138475, which comes from trunk 138474
svn path=/branches/mono-2-4/mcs/; revision=138658
2009-07-24 22:15:10 +00:00
Gonzalo Paniagua Javier c4aaad7b61 2009-07-23 Gonzalo Paniagua Javier <[email protected]>
* BuildManager.cs: precompilation setup failed if the precompiled
	virtual directory was / and it was deployed somewhere else.


svn path=/branches/mono-2-4/mcs/; revision=138577
2009-07-23 17:45:36 +00:00
Gonzalo Paniagua Javier bb3c634493 location,location,location. Fixes all the tests I broke last night
svn path=/branches/mono-2-4/mcs/; revision=138530
2009-07-23 11:53:32 +00:00
Marek Habersack 39d244c682 backport of r138521
svn path=/branches/mono-2-4/mcs/; revision=138522
2009-07-23 10:17:24 +00:00
Gonzalo Paniagua Javier 00e941b7c9 2009-07-23 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationManager.cs: avoid possible infinite loop when the
	path starts with ~ and 1 file check.


svn path=/branches/mono-2-4/mcs/; revision=138494
2009-07-23 05:01:10 +00:00
Gonzalo Paniagua Javier 876455a97f 2009-07-23 Gonzalo Paniagua Javier <[email protected]>
* LogicalMethodInfo.cs: add CacheDuration property.
	* WebServiceHandlerFactory.cs: use CacheDuration.
	Fixes bug #524460.

svn path=/branches/mono-2-4/mcs/; revision=138493
2009-07-23 04:23:42 +00:00
Gonzalo Paniagua Javier aeeed3c166 2009-07-22 Gonzalo Paniagua Javier <[email protected]>
* WebHeaderCollectionTest.cs: test for allowed characters in headers.


svn path=/branches/mono-2-4/mcs/; revision=138488
2009-07-23 02:57:48 +00:00
Gonzalo Paniagua Javier e21f310e63 2009-07-22 Gonzalo Paniagua Javier <[email protected]>
* WebHeaderCollection.cs: check the validity of the characters in the
	header names.


svn path=/branches/mono-2-4/mcs/; revision=138486
2009-07-23 02:57:29 +00:00
Marek Habersack 2424262095 Backport of r138474
svn path=/branches/mono-2-4/mcs/; revision=138475
2009-07-22 23:41:52 +00:00
Gonzalo Paniagua Javier d7bbe940a5 Implement the 2.0 IsRestricted and add tests
svn path=/branches/mono-2-4/mcs/; revision=138473
2009-07-22 23:29:22 +00:00
Gonzalo Paniagua Javier dc76cc02dd 2009-07-22 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: when sending a 0-length POST, ignore further
	writes instead of throwing.
	Fixes bug #524049.


svn path=/branches/mono-2-4/mcs/; revision=138448
2009-07-22 19:58:54 +00:00
Marek Safar 4ee08ed8c9 2009-07-22 Marek Safar <[email protected]>
A fix for bug #522789
	* expression.cs: Mutate invocation return type.


svn path=/branches/mono-2-4/mcs/; revision=138376
2009-07-22 09:44:14 +00:00
Gonzalo Paniagua Javier 2c3994bcb7 2009-07-21 Gonzalo Paniagua Javier <[email protected]>
* zlib-helper.c: use glib for malloc/free.


svn path=/branches/mono-2-4/mono/; revision=138311
2009-07-21 16:22:59 +00:00
Gonzalo Paniagua Javier 5d8603eae4 moved
svn path=/branches/mono-2-4/mcs/; revision=138303
2009-07-21 15:31:06 +00:00
Gonzalo Paniagua Javier 1b6d2776a4 do not nullify deflateStream
svn path=/branches/mono-2-4/mcs/; revision=138302
2009-07-21 15:29:37 +00:00
Marek Habersack 73479cb494 Backport of r138280
svn path=/branches/mono-2-4/mcs/; revision=138281
2009-07-21 11:25:06 +00:00
Gonzalo Paniagua Javier b5061c30a2 2009-07-21 Gonzalo Paniagua Javier <[email protected]>
* zlib-helper.c: don't try to finish the z_stream if it has not been
	used. This fixes all the tests after the latest change.


svn path=/branches/mono-2-4/mono/; revision=138273
2009-07-21 10:36:48 +00:00
Gonzalo Paniagua Javier ab16a347cc free internal buffer
svn path=/branches/mono-2-4/mono/; revision=138260
2009-07-21 05:42:32 +00:00
Gonzalo Paniagua Javier e3ad351fa1 2009-07-20 Gonzalo Paniagua Javier <[email protected]>
* Makefile.am: replaced zlib_macros.c with zlib-helper.c
	* zlib_macros.c: Removed file.
	* zlib-helper.c: new interface for DeflateStream. Flush() actually
	does something.


svn path=/branches/mono-2-4/mono/; revision=138255
2009-07-21 02:25:02 +00:00
Gonzalo Paniagua Javier c537d30347 2009-07-20 Gonzalo Paniagua Javier <[email protected]>
* GzipStream.cs: fixed Dispose (bool).
	* DeflateStream.cs: simplify the interface with unmanaged code, big
	reduction of managaed<->unmanaged round trips.
	Also fixes bug #523418.


svn path=/branches/mono-2-4/mcs/; revision=138253
2009-07-21 02:24:55 +00:00
Sebastien Pouliot 957e4684e6 2009-07-20 Sebastien Pouliot <[email protected]>
* Aes.cs: Use the fully qualified name since this is not a type known
	in the default corlib (2.0 or 1.x).
	[Fix bug #523687]
	[Backport r138249]


svn path=/branches/mono-2-4/mcs/; revision=138250
2009-07-21 01:00:53 +00:00
Marek Habersack d24266c32a Backport of r138246
svn path=/branches/mono-2-4/mcs/; revision=138247
2009-07-20 23:32:57 +00:00
Jb Evain 0a4d0b5165 2009-07-20 Jb Evain <[email protected]>
backport of 138194.

	* Lookup.cs: avoid a double dictionary lookup on the indexer.


svn path=/branches/mono-2-4/mcs/; revision=138195
2009-07-20 06:22:07 +00:00
Gonzalo Paniagua Javier 6b57f740b5 2009-07-19 Gonzalo Paniagua Javier <[email protected]>
* Lookup.cs: when there are no matching elements, return an empty
	enumerable. Fixes bug #523386.


svn path=/branches/mono-2-4/mcs/; revision=138191
2009-07-20 02:45:53 +00:00
Marek Habersack b0e1b2be21 Backport of r138177
svn path=/branches/mono-2-4/mcs/; revision=138178
2009-07-18 13:05:26 +00:00
Gonzalo Paniagua Javier ebb27c3fd0 2009-07-17 Gonzalo Paniagua Javier <[email protected]>
* ConfigurationElement.cs: don't skip xml nodes when reading 2
	ConfigurationElement in a row. Patch by Greg Smolyn that fixes bug
	#521231.


svn path=/branches/mono-2-4/mcs/; revision=138143
2009-07-17 17:59:28 +00:00
Gonzalo Paniagua Javier 1c34793a7f 2009-07-17 Gonzalo Paniagua Javier <[email protected]>
* mono-proclib.c: fix reading processor usage for a process. Patch
	from Jacob Gladish that fixes bug #523052.


svn path=/branches/mono-2-4/mono/; revision=138139
2009-07-17 17:40:50 +00:00
Marek Habersack 2c4687c08d 2009-07-17 Marek Habersack <[email protected]>
* System.Web.Mvc/DefaultModelBinder.cs: applied workaround for gmcs
	bug which is fixed in trunk but not in the 2.4 branch(es)

svn path=/branches/mono-2-4/mcs/; revision=138087
2009-07-16 23:15:24 +00:00
Marek Safar 612aef0246 2009-07-16 Marek Safar <[email protected]>
A fix for bug #521671
	* statement.cs: Fixed crash when checking missing type.


svn path=/branches/mono-2-4/mcs/; revision=138059
2009-07-16 15:56:44 +00:00
Gonzalo Paniagua Javier 0f84640ef5 2009-07-15 Gonzalo Paniagua Javier <[email protected]>
* Font.cs: implement OriginalFontName.


svn path=/branches/mono-2-4/mcs/; revision=138011
2009-07-16 03:30:23 +00:00
Gonzalo Paniagua Javier 3781da0980 2009-07-15 Gonzalo Paniagua Javier <[email protected]>
* AuthorizationSection.cs:
	* HttpHandlerAction.cs:
	* GlobalizationSection.cs: synch with HEAD.


svn path=/branches/mono-2-4/mcs/; revision=138007
2009-07-15 22:30:58 +00:00
Gonzalo Paniagua Javier b8966a7ed4 2009-07-15 Gonzalo Paniagua Javier <[email protected]>
* mono-proclib.c: fixed setting the NUL terminator.
	Thanks to Jacob Gladish.


svn path=/branches/mono-2-4/mono/; revision=137999
2009-07-15 20:28:29 +00:00
Sebastien Pouliot 635e2fc913 2009-07-15 Sebastien Pouliot <[email protected]>
* gdipFunctions.cs: Fix XVisualIDFromVisual to return an IntPtr
	since 64 bits X servers will return a 64 bits value.
	* gdipStructs.cs: Fix XVisualInfo to use IntPtr on fields that
	are 64 bits on 64 bits X servers.
	* Graphics.cs: Adjust CopyFromScreenX11 to work with IntPtr so the
	screenshot code can work on both 32 and 64 bits X servers.
	[Fix bug #521718]
	[Backport r137982]


svn path=/branches/mono-2-4/mcs/; revision=137983
2009-07-15 19:01:57 +00:00
Marek Habersack ab9c32b4e1 Backport of r137951
svn path=/branches/mono-2-4/mcs/; revision=137952
2009-07-15 13:22:58 +00:00
Gonzalo Paniagua Javier 9a5d861d6a fix changelog
svn path=/branches/mono-2-4/mcs/; revision=137922
2009-07-15 01:15:42 +00:00
Gonzalo Paniagua Javier f15b7a858f 2009-07-14 Gonzalo Paniagua Javier <[email protected]>
* SortedListTest.cs: new tests by Kevin Fitzgerald.


svn path=/branches/mono-2-4/mcs/; revision=137920
2009-07-15 01:09:16 +00:00
Gonzalo Paniagua Javier a3521904ec 2009-07-14 Gonzalo Paniagua Javier <[email protected]>
* SortedList.cs: same issue as bug #521750 in System.


svn path=/branches/mono-2-4/mcs/; revision=137919
2009-07-15 01:07:50 +00:00
Gonzalo Paniagua Javier 275793d7df 2009-07-14 Gonzalo Paniagua Javier <[email protected]>
* SortedListTest.cs: new tests for bug #521750 provided by
	Kevin Fitzgerald.


svn path=/branches/mono-2-4/mcs/; revision=137917
2009-07-15 01:05:19 +00:00
Gonzalo Paniagua Javier 586f1289f9 2009-07-14 Gonzalo Paniagua Javier <[email protected]>
* SortedList.cs: the IComparar.Compare arguments were reversed.
	Fixes bug #521750. Patch by Kevin Fitzgerald.


svn path=/branches/mono-2-4/mcs/; revision=137915
2009-07-15 01:02:37 +00:00
Gonzalo Paniagua Javier 4270529da1 2009-07-14 Gonzalo Paniagua Javier <[email protected]>
* ApplicationShutdownReason.cs: add new 3.5 value.
	* ParserErrorCollection.cs: add setter for ParserError.
	Patch from Daniel Gagne.


svn path=/branches/mono-2-4/mcs/; revision=137912
2009-07-15 00:28:20 +00:00
Gonzalo Paniagua Javier 2266042e07 2009-04-24 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: if Peek() needs to block, do it.
	Fixes bug #496905.


svn path=/branches/mono-2-4/mcs/; revision=137910
2009-07-15 00:25:15 +00:00
Gonzalo Paniagua Javier 105b39d758 fix the 2.1 build. this is not needed in HEAD
svn path=/branches/mono-2-4/mcs/; revision=137900
2009-07-14 21:42:18 +00:00
Sebastien Pouliot 7449a342c8 Security fix for CVE-2009-0217
svn path=/branches/mono-2-4/mcs/; revision=137887
2009-07-14 18:45:25 +00:00
Marek Habersack 919ded1f52 Backport of r137847
svn path=/branches/mono-2-4/mcs/; revision=137848
2009-07-14 11:25:08 +00:00
Zoltan Varga 956abe426e 2009-07-14 Zoltan Varga <[email protected]>
* Changelog: Rename this to ChangeLog.

	* Mono.Simd/Mono.Simd/ArrayExtensions.cs: Don't ignore the 'offset'
	parameter in the GetVector () methods. Fixes #521692.

svn path=/branches/mono-2-4/mcs/; revision=137826
2009-07-13 22:11:17 +00:00
Zoltan Varga 7e09f29b2c 2009-07-13 Zoltan Varga <[email protected]>
* x86/x86-codegen.h: Applied patch from Marian Salaj <[email protected]>.
	Fix encoding of PMINSW and PMINSD. Fixes #521662.

svn path=/branches/mono-2-4/mono/; revision=137823
2009-07-13 22:03:10 +00:00
Marek Habersack 7839f0a3d9 Backport of r137811
svn path=/branches/mono-2-4/mcs/; revision=137812
2009-07-13 19:52:35 +00:00
Gonzalo Paniagua Javier 44f1d7c11b bunch'o'fixes from HEAD
svn path=/branches/mono-2-4/mcs/; revision=137802
2009-07-13 18:24:09 +00:00
Gonzalo Paniagua Javier b3145390c3 System.Net.NetworkInformation from HEAD
svn path=/branches/mono-2-4/mcs/; revision=137761
2009-07-13 04:30:11 +00:00
Miguel de Icaza 2c9c8cf28b Found with Umbraco, this method ignores null pages
svn path=/branches/mono-2-4/mcs/; revision=137745
2009-07-11 16:57:01 +00:00
Gonzalo Paniagua Javier edf8cc6b3b 2009-07-10 Gonzalo Paniagua Javier <[email protected]>
* ProcessStartInfo.cs: HaveEnvVars is enabled by just using the
	EnvironmentVariables property. Bug #520650 fixed.


svn path=/branches/mono-2-4/mcs/; revision=137731
2009-07-10 20:54:32 +00:00
Gonzalo Paniagua Javier 1289d18334 2009-07-10 Gonzalo Paniagua Javier <[email protected]>
* SimpleWorkerRequest.cs: move this back to an instance property.
	Cache works now.


svn path=/branches/mono-2-4/mcs/; revision=137728
2009-07-10 20:01:40 +00:00
Gonzalo Paniagua Javier 5dd2fe1d27 2009-07-10 Gonzalo Paniagua Javier <[email protected]>
* X509Chain.cs: revert my last change here since it caused 2 tests to
	fail.


svn path=/branches/mono-2-4/mcs/; revision=137695
2009-07-10 15:51:33 +00:00
Gonzalo Paniagua Javier 1b0b12052b 2009-07-10 Gonzalo Paniagua Javier <[email protected]>
* WebClient.cs: implement GetWebRequest and GetWebResponse. Use them
	instead of SetupRequest and ProcessResponse.


svn path=/branches/mono-2-4/mcs/; revision=137674
2009-07-10 05:45:16 +00:00
Gonzalo Paniagua Javier 6663f8ab74 2009-07-09 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequestTest.cs: use different ports for different tests since
	the shutdown might take a little bit and tests might conflict.


svn path=/branches/mono-2-4/mcs/; revision=137668
2009-07-10 03:21:49 +00:00
Gonzalo Paniagua Javier 965b6a0867 ignore test that fails on windows
svn path=/branches/mono-2-4/mcs/; revision=137666
2009-07-09 23:07:24 +00:00
Jb Evain e67f9aeb4b 2009-07-09 Jb Evain <[email protected]>
backport of 137653.

	* HashSet.cs (ICollection<T>.Add): fix for bug #520760. Do not throw
	when adding duplicates.


svn path=/branches/mono-2-4/mcs/; revision=137654
2009-07-09 19:13:14 +00:00
Gonzalo Paniagua Javier c1d691e94c fix the build
svn path=/branches/mono-2-4/mcs/; revision=137651
2009-07-09 18:37:32 +00:00
Mark Probst 51a8a75d34 2009-07-09 Mark Probst <[email protected]>
* method-to-ir.c: When doing a call which might be remote from
        shared generic code to other shared code with open type arguments,
        abort generic code sharing for that method.

2009-07-09  Mark Probst  <[email protected]>

        Backport of r137640.

        * generic-xdomain.2.cs: Test case for generic marshal-by-ref
        objects.

        * Makefile.am: Test added.

svn path=/branches/mono-2-4/mono/; revision=137649
2009-07-09 18:36:26 +00:00
Gonzalo Paniagua Javier 32d474db42 2009-07-09 Gonzalo Paniagua Javier <[email protected]>
* HttpContext.cs:
	* HttpRuntime.cs:
	* HttpApplication.cs: backported from HEAD.


svn path=/branches/mono-2-4/mcs/; revision=137639
2009-07-09 17:18:37 +00:00
Gonzalo Paniagua Javier 1edafae0a9 2009-07-09 Gonzalo Paniagua Javier <[email protected]>
* SqliteMembershipProvider.cs:
	* UrlAuthorizationModule.cs: use GetSection instead of
	OpenWebConfiguration+GetSection.


svn path=/branches/mono-2-4/mcs/; revision=137637
2009-07-09 17:13:36 +00:00
Gonzalo Paniagua Javier 944f74919d 2009-07-09 Gonzalo Paniagua Javier <[email protected]>
* SimpleWorkerRequest.cs: store the root web configuration path in a
	static variable.


svn path=/branches/mono-2-4/mcs/; revision=137635
2009-07-09 17:11:32 +00:00
Gonzalo Paniagua Javier 68ae8327c1 2009-07-09 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationManager.cs: when caching configuration and sections,
	use the configuration file directory instead of the incoming request
	path.


svn path=/branches/mono-2-4/mcs/; revision=137633
2009-07-09 17:10:09 +00:00
Marek Habersack 14075fef49 Backport of r137624
svn path=/branches/mono-2-4/mcs/; revision=137625
2009-07-09 13:01:20 +00:00
Gonzalo Paniagua Javier 7d84067545 prefer MonoIOMAP directive over MONO_IOMAP, update version, fix long line
svn path=/branches/mono-2-4/mono/; revision=137593
2009-07-09 02:37:23 +00:00
Gonzalo Paniagua Javier 6b808b14e5 fix changelog
svn path=/branches/mono-2-4/mcs/; revision=137578
2009-07-08 17:41:10 +00:00
Gonzalo Paniagua Javier b3cc50725a 2009-04-04 Gonzalo Paniagua Javier <[email protected]>
* AssemblyResourceLoader.cs: MS sets cacheability to public. Add
	Last-Modified header and return 304 if validating max-age=0 or
	If-Modified-Since succeeds.


svn path=/branches/mono-2-4/mcs/; revision=137577
2009-07-08 17:36:02 +00:00
Gonzalo Paniagua Javier cf8349e093 from HEAD
svn path=/branches/mono-2-4/mcs/; revision=137503
2009-07-07 15:10:58 +00:00
Gonzalo Paniagua Javier ca3dfb6e7f new test
svn path=/branches/mono-2-4/mcs/; revision=137502
2009-07-07 15:10:37 +00:00
Gonzalo Paniagua Javier 516610e2a7 A bunch of changes from HEAD
svn path=/branches/mono-2-4/mcs/; revision=137501
2009-07-07 15:10:19 +00:00
Gonzalo Paniagua Javier 0522647daa 2009-07-07 Gonzalo Paniagua Javier <[email protected]>
* WebClient.cs: set the content length when uploading values. This
	allows reusing the connection.
	* WebConnectionStream.cs: SetHeaders() takes ownership of the buffer
	and does not need to copy it any more. WriteRequest() wasn't always
	setting 'requestWritten' to true.
	* HttpWebRequest.cs: change in SetHeaders call.

2009-07-06  Gert Driesen  <[email protected]>

	* WebConnectionStream.cs: Move and improve argument checks to match MS.
	Modified CanRead and CanWrite to return false when instance is disposed.


svn path=/branches/mono-2-4/mcs/; revision=137498
2009-07-07 14:58:10 +00:00
Gonzalo Paniagua Javier 3a815ed296 2009-07-07 Gonzalo Paniagua Javier <[email protected]>
* ParserError.cs: add 3 missing setters. Patch from Daniel Gagne.


svn path=/branches/mono-2-4/mcs/; revision=137495
2009-07-07 13:20:02 +00:00
Gonzalo Paniagua Javier c3ed87f257 2009-07-06 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequestTest.cs: add tests for POST + redirect and 401.


svn path=/branches/mono-2-4/mcs/; revision=137430
2009-07-06 17:40:29 +00:00
Gonzalo Paniagua Javier b1747ed392 2009-07-02 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: provide better error message when there's an error
	writing.
	* WebConnectionStream.cs: don't nullify the buffer until
	CheckFinalStatus() decides that there are no more authentication
	retries or redirects.


svn path=/branches/mono-2-4/mcs/; revision=137333
2009-07-02 23:03:34 +00:00
Gonzalo Paniagua Javier 46226e08d9 2009-07-02 Gonzalo Paniagua Javier <[email protected]>
* HttpsClientStream.cs: if there's only an ICertificatePolicy and no
	ServerCertificateValicationCallback, don't fail.


svn path=/branches/mono-2-4/mcs/; revision=137330
2009-07-02 22:39:56 +00:00
Marek Habersack 554cf91b02 Put MVC in and backported a small fix for System.Web.Routing/PatternParser.cs (partial backport of r136875)
svn path=/branches/mono-2-4/mcs/; revision=137268
2009-07-02 10:45:42 +00:00
Gonzalo Paniagua Javier fb881c24d6 2009-07-02 Gonzalo Paniagua Javier <[email protected]>
* X509Certificate2.cs:
	* X509Chain.cs: changes to make everything compile with latest changes
	and fixed typo in IsChainComplete().


svn path=/branches/mono-2-4/mcs/; revision=137260
2009-07-02 07:44:16 +00:00
Gonzalo Paniagua Javier 5545ed26aa make it compile
svn path=/branches/mono-2-4/mcs/; revision=137258
2009-07-02 07:42:26 +00:00
Gonzalo Paniagua Javier 298c292712 2009-07-02 Gonzalo Paniagua Javier <[email protected]>
* HttpsClientStream.cs: invoke the ServerCertificateValidationCallback
	in the 2.0 profile. If there's a CertificatePolicy, it is run before
	the 2.0 callback.


svn path=/branches/mono-2-4/mcs/; revision=137256
2009-07-02 07:39:46 +00:00
Gonzalo Paniagua Javier a3e6db2fec 2009-07-02 Gonzalo Paniagua Javier <[email protected]>
* ServicePointManager.cs: implement ServerCertificateValidationCallback.
	* DefaultCertificatePolicy.cs: if there's a SCVC registered, don't do
	normal error checking.a


svn path=/branches/mono-2-4/mcs/; revision=137254
2009-07-02 07:39:42 +00:00
Gonzalo Paniagua Javier 6174678c93 2009-07-02 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: avoid duplicating Accept-Encoding if GetHeaders()
	is called twice.
	* WebConnectionStream.cs: don't send a 0 content length for non-write
	requests.


svn path=/branches/mono-2-4/mcs/; revision=137245
2009-07-02 07:34:54 +00:00
Gonzalo Paniagua Javier 425ac2bc0b 2009-07-02 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: must use the 'int' version in 1.1.


svn path=/branches/mono-2-4/mcs/; revision=137232
2009-07-02 07:23:28 +00:00
Gonzalo Paniagua Javier ab8209aefd 2009-07-01 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs:
	* ServicePoint.cs: UseNagleAlgorithm determines NoDelay value.


svn path=/branches/mono-2-4/mcs/; revision=137204
2009-07-01 16:49:39 +00:00
Marek Habersack 6a8e0737c7 Backport of r137137
svn path=/branches/mono-2-4/mcs/; revision=137138
2009-06-30 09:06:49 +00:00
Gonzalo Paniagua Javier 0547139f26 2009-06-11 Gonzalo Paniagua Javier <[email protected]>
* ContentControlBuilderInternal.cs: detect missing
	ContentPlaceHolderID attribute when parsing instead of throwing a
	nullref later on.


svn path=/branches/mono-2-4/mcs/; revision=137118
2009-06-29 22:10:51 +00:00
Gonzalo Paniagua Javier dc5b336d5c 2009-06-29 Gonzalo Paniagua Javier <[email protected]>
* LicenseProviderAttribute.cs: avoid nullref when provider has not
	been set or cannot be loaded.


svn path=/branches/mono-2-4/mcs/; revision=137116
2009-06-29 22:02:44 +00:00
Gonzalo Paniagua Javier b4c3da555a 2009-06-29 Gonzalo Paniagua Javier <[email protected]>
* TemplateControlCompiler.cs: use the 'Empty' field for Unit and
	FontUnit.


svn path=/branches/mono-2-4/mcs/; revision=137114
2009-06-29 22:01:27 +00:00
Gonzalo Paniagua Javier 2252ebd980 increase timeouts to make this work on machines under load
svn path=/branches/mono-2-4/mcs/; revision=137089
2009-06-29 15:52:51 +00:00
Zoltan Varga 6f363241b2 2009-06-29 Zoltan Varga <[email protected]>
* generic-stack-traces.2.cs: Add a test for #509406.

svn path=/branches/mono-2-4/mono/; revision=137084
2009-06-29 15:26:29 +00:00
Zoltan Varga 83905419fe 2009-06-29 Zoltan Varga <[email protected]>
* mini-exceptions.c (get_generic_context_from_stack_frame): Fix the case
	when the generic instance is an instantiation of a subclass of the
	methods class. Fixes #517166.

svn path=/branches/mono-2-4/mono/; revision=137083
2009-06-29 15:26:23 +00:00
Zoltan Varga 07cf6caa94 2009-06-29 Zoltan Varga <[email protected]>
* dynamic-method-finalize.2.cs: New test.

svn path=/branches/mono-2-4/mono/; revision=137078
2009-06-29 13:35:57 +00:00
Zoltan Varga 3b4daee91c 2009-06-29 Zoltan Varga <[email protected]>
* gc.c (mono_gc_run_finalize): Avoid finalizing dynamic methods during
	shutdown, they can still be referenced by the other dying objects.
	Fixes #514506.

svn path=/branches/mono-2-4/mono/; revision=137077
2009-06-29 13:35:50 +00:00
Gonzalo Paniagua Javier 90e9f6fd51 2009-06-28 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequestTest.cs: backport from HEAD.


svn path=/branches/mono-2-4/mcs/; revision=137053
2009-06-28 21:37:52 +00:00
Gonzalo Paniagua Javier 17abd2e3d0 2009-06-28 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: fix 1.1 only test.


svn path=/branches/mono-2-4/mcs/; revision=137047
2009-06-28 07:17:37 +00:00
Gonzalo Paniagua Javier 2c0cf92564 fix timing issue
svn path=/branches/mono-2-4/mcs/; revision=137044
2009-06-28 07:15:36 +00:00
Gonzalo Paniagua Javier 0b13bf1c44 2009-06-28 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: when buffering the response, we have to set
	the internal length and regenerate the headers.


svn path=/branches/mono-2-4/mcs/; revision=137042
2009-06-28 04:03:41 +00:00
Gonzalo Paniagua Javier 901f3434c0 fix test
svn path=/branches/mono-2-4/mcs/; revision=137041
2009-06-28 03:50:48 +00:00
Gonzalo Paniagua Javier 0186ef2418 2009-06-27 Gonzalo Paniagua Javier <[email protected]>
* SocketResponder.cs: the listener might be closed right before
	Accept() is called and in that case we get an EINVAL.
	* WebClientTest.cs: copy WebClientTest from HEAD.


svn path=/branches/mono-2-4/mcs/; revision=137039
2009-06-28 02:34:52 +00:00
Gonzalo Paniagua Javier 85204adb05 2009-06-27 Gonzalo Paniagua Javier <[email protected]>
* WebClient.cs: backported from HEAD.

svn path=/branches/mono-2-4/mcs/; revision=137037
2009-06-28 02:33:21 +00:00
Gonzalo Paniagua Javier 1641f1c5de new test
svn path=/branches/mono-2-4/mcs/; revision=137034
2009-06-27 18:03:41 +00:00
Gonzalo Paniagua Javier 11a703a55a 2009-06-27 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: turn WSAEINVAL into ArgumentException.


svn path=/branches/mono-2-4/mcs/; revision=137032
2009-06-27 18:02:50 +00:00
Gonzalo Paniagua Javier 4f2769ca2a 2009-06-27 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: DontLinger does not allow LingerOptions.


svn path=/branches/mono-2-4/mono/; revision=137030
2009-06-27 18:01:35 +00:00
Gonzalo Paniagua Javier 555d8fc7b1 2009-06-26 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequestTest.cs: add a bunch of tests provided by
	Bassan Tabbara.


svn path=/branches/mono-2-4/mcs/; revision=137022
2009-06-26 22:48:49 +00:00
Gonzalo Paniagua Javier 914f7de705 2009-06-26 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: don't send Content-Length header when SendChunked
	is enabled.
	* WebConnectionStream.cs: send the headers immediately when possible.
	When writing the request before a Close(), if there was an exception
	it was lost.


svn path=/branches/mono-2-4/mcs/; revision=137020
2009-06-26 22:45:45 +00:00
Gonzalo Paniagua Javier 6437801e68 2009-06-26 Gonzalo Paniagua Javier <[email protected]>
* HttpConnection.cs:
	* HttpListenerResponse.cs: force closing the socket when the response
	is aborted.


svn path=/branches/mono-2-4/mcs/; revision=137017
2009-06-26 22:37:42 +00:00
Gonzalo Paniagua Javier 14259bdadb 2009-06-26 Gonzalo Paniagua Javier <[email protected]>
* SocketTest.cs: tests for DontLinger.


svn path=/branches/mono-2-4/mcs/; revision=136983
2009-06-26 16:35:08 +00:00
Gonzalo Paniagua Javier c6d0b26f6b 2009-06-26 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: MS throws a SocketException in the byte[] overload when
	the value is null.


svn path=/branches/mono-2-4/mcs/; revision=136981
2009-06-26 16:34:25 +00:00
Gonzalo Paniagua Javier fc3c7be14c 2009-06-26 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: DontLinger can take an int or a boolean too.


svn path=/branches/mono-2-4/mono/; revision=136979
2009-06-26 16:34:04 +00:00
Atsushi Eno 43a2abd723 backport r136932.
svn path=/branches/mono-2-4/mcs/; revision=136933
2009-06-26 05:58:18 +00:00
Gonzalo Paniagua Javier 7b30d85de6 new tests
svn path=/branches/mono-2-4/mcs/; revision=136931
2009-06-26 05:28:13 +00:00
Gonzalo Paniagua Javier 633ce68d77 2009-06-26 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: if the DateTimeOffset is out of bounds, let Parse
	report the error. Fix stupid harmless typo.
	* DateTimeOffset.cs: report error if the UTC date/time is out of
	bounds.


svn path=/branches/mono-2-4/mcs/; revision=136929
2009-06-26 05:27:28 +00:00
Miguel de Icaza 91cf99317a Backport
svn path=/branches/mono-2-4/mcs/; revision=136909
2009-06-26 00:15:42 +00:00
Miguel de Icaza 4bdcb632ee Backport
svn path=/branches/mono-2-4/mcs/; revision=136903
2009-06-25 23:36:08 +00:00
Gonzalo Paniagua Javier 10941e34f5 2009-06-25 Gonzalo Paniagua Javier <[email protected]>
* WebAsyncResult.cs: new field that tells us if the request is being
	written automatically because we reached the content length.
	* WebConnection.cs:
	* WebConnectionStream.cs: make sure we only access the NetworkStream
	while we own it. Automatically write the request when we reach
	ContentLength number of bytes. Kill the write buffer as soon as
	possible. Don't use the buffer at all when chunked encoding is
	enabled.

	Fixes bugs #515931 and #510642.


svn path=/branches/mono-2-4/mcs/; revision=136901
2009-06-25 23:23:29 +00:00
Miguel de Icaza 16ed7b1f91 Backport
svn path=/branches/mono-2-4/mcs/; revision=136899
2009-06-25 23:20:01 +00:00
Miguel de Icaza 05c0ed4c34 Backport
svn path=/branches/mono-2-4/mcs/; revision=136896
2009-06-25 22:48:36 +00:00
Gonzalo Paniagua Javier 793c66c138 2009-06-25 Gonzalo Paniagua Javier <[email protected]>
* sockets.c: add the error number to the message so we can figure out
	when this happens.


svn path=/branches/mono-2-4/mono/; revision=136884
2009-06-25 20:40:46 +00:00
Gonzalo Paniagua Javier f35d2d910b 2009-06-25 Gonzalo Paniagua Javier <[email protected]>
* BuildManager.cs: backport r131138.


svn path=/branches/mono-2-4/mcs/; revision=136881
2009-06-25 20:28:20 +00:00
Gonzalo Paniagua Javier 8fffce35a0 2009-06-25 Gonzalo Paniagua Javier <[email protected]>
* threads.c: fix missing colon when DEBUG is defined.


svn path=/branches/mono-2-4/mono/; revision=136855
2009-06-25 17:40:59 +00:00
Gonzalo Paniagua Javier 82382c6b37 2009-06-25 Gonzalo Paniagua Javier <[email protected]>
* wait.c: add missing 'break'.


svn path=/branches/mono-2-4/mono/; revision=136853
2009-06-25 17:37:45 +00:00
Gonzalo Paniagua Javier ead5111648 2009-06-24 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: 'socket' and 'Data' where being changed by 2
	threads at the same time when there were queued requests and the
	current one was aborted in Connect().
	* HttpWebRequest.cs: 'aborted' is now an int and we use Interlocked to
	access it. Added WebConnection field used when aborting the request.

	Fixes bug #514591 for good.


svn path=/branches/mono-2-4/mcs/; revision=136754
2009-06-24 06:41:19 +00:00
Jonathan Pryor 073cc6762d * Mono.Documentation/monodocer.cs: Don't generate an exception when an
enumeration contains multiple names with the same value.
	  Fixes #515030.
	* Test/DocTest-v1.cs: Add test for #515030.
	* Test/en.expected/Mono.DocTest/Color.xml,
	  Test/en.expected.since/Mono.DocTest/Color.xml,
	  Test/html.expected/Mono.DocTest/Color.html,
	  Test/msxdoc-expected.importslashdoc.xml,
	  Test/en.expected.importslashdoc/Mono.DocTest/Color.xml: Flush.

svn path=/branches/mono-2-4/mcs/; revision=136731
2009-06-23 18:37:49 +00:00
Gonzalo Paniagua Javier b8d16d1016 make the ParseExact5 work for all timezones
svn path=/branches/mono-2-4/mcs/; revision=136726
2009-06-23 18:00:20 +00:00
Gonzalo Paniagua Javier 3138aaa1ca 2009-06-23 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: ignore MinValue to avoid DateTimeOffset ctor throwing
	when adjusting for TZ.


svn path=/branches/mono-2-4/mcs/; revision=136724
2009-06-23 17:59:00 +00:00
Zoltan Varga d4b7b503c7 2009-06-22 Zoltan Varga <[email protected]>
* mini-ops.h: Use TARGET_X86 and TARGET_AMD64 instead of __i386__ and
	__x86_64__ to fix cross-compilation. Fixes #515050.

svn path=/branches/mono-2-4/mono/; revision=136582
2009-06-22 10:23:49 +00:00
Zoltan Varga f06027b2f9 Fri Apr 24 16:44:08 CEST 2009 Paolo Molaro <[email protected]>
* Makefile.am, genmdesc.c, genmdesc.pl: tiny refactor to allow
	multiple machine description files to be specified.
	* mini-ops.h: fixes for cross-compilation.

svn path=/branches/mono-2-4/mono/; revision=136581
2009-06-22 10:23:37 +00:00
Gonzalo Paniagua Javier d57297685e 2009-06-21 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: check for an aborted request in Begin* before
	proceeding. Fixes bug #511851.


svn path=/branches/mono-2-4/mcs/; revision=136575
2009-06-22 02:00:33 +00:00
Gonzalo Paniagua Javier 40b2f12a57 2009-06-21 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: close the underlying socket if there's an
	exception when closing the stream. Fixes bug #514996.


svn path=/branches/mono-2-4/mcs/; revision=136573
2009-06-22 01:48:05 +00:00
Gert Driesen f27f8950dd * HttpWebRequestTest.cs: Improved and enabled test for bug #510642.
* WebConnectionStream.cs: Keep count of all bytes written, and perform
write overflow check in both buffered and non-buffered writing (if
not using chunked transfer encoding). Fixes bug #510642.

svn path=/branches/mono-2-4/mcs/; revision=136571
2009-06-21 19:12:44 +00:00
Gonzalo Paniagua Javier e28a0e822e 2009-06-19 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs: make sure we don't open a new socket if the
	request is aborted before we establish the connection. Fixes bug
	#514591.

	* HttpWebRequest.cs: new property to return abort status. Invoke the
	abort handler before doing anything else when Abort() is called for
	the first time.


svn path=/branches/mono-2-4/mcs/; revision=136517
2009-06-19 20:21:15 +00:00
Gonzalo Paniagua Javier e38a8fb6d0 new section in town
svn path=/branches/mono-2-4/mono/; revision=136442
2009-06-18 20:33:05 +00:00
Gonzalo Paniagua Javier 14b3379978 new files
svn path=/branches/mono-2-4/mcs/; revision=136439
2009-06-18 20:32:13 +00:00
Gonzalo Paniagua Javier d9f5065ac3 2009-06-18 Gonzalo Paniagua Javier <[email protected]>
* IriParsingElement.cs:
	* UriSection.cs:
	* IdnElement.cs: new files that parse <uri> and subelements.


svn path=/branches/mono-2-4/mcs/; revision=136438
2009-06-18 20:31:56 +00:00
Gonzalo Paniagua Javier a03b3b9d78 2009-06-18 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: quick fix for the 1.x build.


svn path=/branches/mono-2-4/mcs/; revision=136433
2009-06-18 18:32:18 +00:00
Gonzalo Paniagua Javier 52f5d81bef 2009-06-18 Gonzalo Paniagua Javier <[email protected]>
* DateTimeTest.cs: add test for parsing a negative timezone.
	* DateTimeOffsetTest.cs: several tests for Parse.


svn path=/branches/mono-2-4/mcs/; revision=136429
2009-06-18 17:51:10 +00:00
Gonzalo Paniagua Javier 31cfa72408 2009-06-18 Gonzalo Paniagua Javier <[email protected]>
* AppDomainSetup.cs: update attribute.
	* TermInfoDriver.cs: ensure we are initialized in CheckWindowDimensions().
	* DateTimeOffset.cs: Implement Parse().
	* DateTime.cs: add 'zzz' to the list of default time formats. Return a
	DateTimeOffset from _DoParse. Fixed the offset minutes when the
	timezone is specified as a negative one.
	* Console.cs: updates for MoveBufferArea().
	* AppDomainManager.cs: implement EntryAssembly.
	* AppDomain.cs: update attribute.


svn path=/branches/mono-2-4/mcs/; revision=136427
2009-06-18 17:50:01 +00:00
Marek Habersack d62cba4511 Backport of r136394
svn path=/branches/mono-2-4/mcs/; revision=136398
2009-06-18 11:21:18 +00:00
Marek Habersack e25b80c1e6 Backport of r136393
svn path=/branches/mono-2-4/mono/; revision=136396
2009-06-18 11:20:04 +00:00
Marek Habersack 27ac65690c Backport of r136392
svn path=/branches/mono-2-4/mono/; revision=136395
2009-06-18 11:19:32 +00:00
Marek Safar 54a1f69309 2009-06-17 Marek Safar <[email protected]>
A fix for bug #514096
	* class.cs: Allow IntPtr/UIntPtr fields to be volatile.


svn path=/branches/mono-2-4/mcs/; revision=136344
2009-06-17 18:57:55 +00:00
Gonzalo Paniagua Javier 0ce0991f54 2009-06-17 Gonzalo Paniagua Javier <[email protected]>
* EndPointListener.cs: call CheckIfRemove() after removing a regular
	prefix. Fixes bug #513849.
	* EndPointManager.cs: make sure we use the right lock when one prefix
	of a collection fails to be added and we need to remove all of the
	prefixes.
	Clear the ip_to_endpoints hashtable if there are no more prefixes
	listening on that address.


svn path=/branches/mono-2-4/mcs/; revision=136321
2009-06-17 15:24:31 +00:00
Gonzalo Paniagua Javier 5f8b89c972 updated browscap.ini
svn path=/branches/mono-2-4/mono/; revision=136318
2009-06-17 15:05:18 +00:00
Zoltan Varga 62af2efe41 2009-06-17 Zoltan Varga <[email protected]>
* branch-opts.c (mono_merge_basic_blocks): Fix the case when bbn
	falls through to its next bblock. Fixes #513931.

	* iltests.il: Add a test.

svn path=/branches/mono-2-4/mono/; revision=136304
2009-06-17 13:56:20 +00:00
Andrés G. Aragoneses 63af1bd1f1 Backport r136198,r135818
svn path=/branches/mono-2-4/mcs/; revision=136282
2009-06-17 02:31:29 +00:00
Robert Jordan 43c82c0008 backport from trunk r136163.
svn path=/branches/mono-2-4/mcs/; revision=136164
2009-06-15 20:35:12 +00:00
Zoltan Varga bd0957848d 2009-06-09 Zoltan Varga <[email protected]>
* metadata.c (free_inflated_method): Call
	mono_marshal_free_inflated_wrappers (), which was missed earlier.

svn path=/branches/mono-2-4/mono/; revision=136148
2009-06-15 18:47:45 +00:00
Rodrigo Kumpera b284f15c09 In metadata:
2009-06-15 Rodrigo Kumpera  <[email protected]>
	Backport of r136134.

	* class.c (mono_class_from_typeref): If the enclosing type is not
	found return null instead of crashing. Fixes #508487.

In tests:
2009-06-15 Rodrigo Kumpera  <[email protected]>

	Backport of r136135.

	* load-exceptions.cs: Add regression test for #508487.

	* t-missing.cs: Add nested type.


svn path=/branches/mono-2-4/mono/; revision=136145
2009-06-15 18:23:05 +00:00
Gonzalo Paniagua Javier ca3ecaa3f2 2009-06-15 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: for unknown methods, always send the request once
	we are connected even if there's no writeStream. Fixes bug #513087.


svn path=/branches/mono-2-4/mcs/; revision=136137
2009-06-15 15:38:12 +00:00
Atsushi Eno 7d72027efd backport r136109.
svn path=/branches/mono-2-4/mcs/; revision=136112
2009-06-15 10:31:37 +00:00
Marek Habersack 4c5f817ea7 Backport of r136096
svn path=/branches/mono-2-4/mcs/; revision=136097
2009-06-15 08:28:56 +00:00
Marek Habersack 9a6d66bf1c Backport of r136093
svn path=/branches/mono-2-4/mcs/; revision=136094
2009-06-15 08:02:11 +00:00
Marek Habersack d2c05fcb50 Backport of r136089
svn path=/branches/mono-2-4/mcs/; revision=136091
2009-06-15 07:30:25 +00:00
Zoltan Varga c679f219fb 2009-06-14 Zoltan Varga <[email protected]>
* Makefile.am (libmonoruntimeinclude_HEADERS): Remove duplicate
	appdomain.h file.

svn path=/branches/mono-2-4/mono/; revision=136083
2009-06-14 18:20:34 +00:00
Zoltan Varga 86736d3c12 2009-06-14 Zoltan Varga <[email protected]>
* Makefile.am (libmonoruntimeinclude_HEADERS): Remove duplicate
	appdomain.h file.

svn path=/branches/mono-2-4/mono/; revision=136082
2009-06-14 18:20:27 +00:00
Gonzalo Paniagua Javier 204b8f8412 This was commited in March but never backported to 2.4: implement WaitOne(TimeSpan)
svn path=/branches/mono-2-4/mcs/; revision=136075
2009-06-14 08:43:56 +00:00
Gonzalo Paniagua Javier 8f774dec6e 2009-06-12 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationHost.cs: workaround to avoid definition errors when
	a null config path is passed.


svn path=/branches/mono-2-4/mcs/; revision=136010
2009-06-12 15:35:51 +00:00
Ankit Jain bd5438ec1a Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:
	* xbuild/Microsoft.Common.targets (ProjectDir): Fix typo.

	* xbuild/Microsoft.Common.targets (IntermediateAssembly): Change to
	an Item list to match msbuild.
	* xbuild/Microsoft.CSharp.targets (IntermediateAssembly): Update for
	above changes.

In class/Microsoft.Build.Engine/Test/various:

	* Items.cs (TestItemsInTarget3a): Add another case for valid whitespace
	around an item ref.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
	Fix bug #512535.
	* ExpressionCollection.cs (ConvertToITaskItemArray): Whitespace around a
	itemref is allowed if the prev/next element is ";".

svn path=/branches/mono-2-4/mcs/; revision=136004
2009-06-12 14:53:39 +00:00
Marek Habersack 7b5e62f918 Backport of r135970
svn path=/branches/mono-2-4/mcs/; revision=135971
2009-06-12 07:55:45 +00:00
Gonzalo Paniagua Javier c62b1b5718 2009-06-11 Gonzalo Paniagua Javier <[email protected]>
* ContentControlBuilderInternal.cs: detect missing
	ContentPlaceHolderID attribute when parsing instead of throwing a
	nullref later on.


svn path=/branches/mono-2-4/mcs/; revision=135961
2009-06-11 22:17:48 +00:00
Gonzalo Paniagua Javier 38c1b3358e 2009-06-11 Gonzalo Paniagua Javier <[email protected]>
* HtmlTitle.cs: HtmlTitle allows children that are not
	LiteralControls. Fixes bug #511882.


svn path=/branches/mono-2-4/mcs/; revision=135959
2009-06-11 22:14:47 +00:00
Ankit Jain 61726e001b Update xbuild and class/Microsoft.Build.* from trunk.
In tools/xbuild/tests:
	* standalone/Project01: Add missing Lib2.deploy.txt in the correct
	location.

	* standalone/Project01: Fix location for lib2.deploy.txt

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

	* Utilities.cs: New.
	* AL.cs, AspNetCompiler.cs, Csc.cs,
	SGen.cs, Vbc.cs (ToolName): Append ".bat" when running
	on windows.

	* MSBuild.cs (Execute): Copy metadata from the @Projects items
	to the target outputs.

	* ResolvedReference.cs: Add missing file.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

	* EngineTest.cs (TestMSBuildOutputs): New.

svn path=/branches/mono-2-4/mcs/; revision=135955
2009-06-11 21:42:21 +00:00
Ankit Jain fb3b47b51f Backport r135951.
* Parameters.cs (.ctor): Use assembly's location to build
path for the default response file.

svn path=/branches/mono-2-4/mcs/; revision=135954
2009-06-11 21:29:57 +00:00
Ankit Jain 2903b71e06 Backport r135950.
* Utilities.cs (FromMSBuildPath): Return null if the path contains
"drive:" only on windows.

svn path=/branches/mono-2-4/mcs/; revision=135953
2009-06-11 21:26:59 +00:00
Zoltan Varga 21bbcde758 2009-06-11 Zoltan Varga <[email protected]>
* reflection.c (add_custom_modifiers): Avoid reading invalid memory.

svn path=/branches/mono-2-4/mono/; revision=135949
2009-06-11 21:09:44 +00:00
Marek Habersack 717336499b Backport of r135918
svn path=/branches/mono-2-4/mcs/; revision=135919
2009-06-11 09:21:13 +00:00
Gonzalo Paniagua Javier 50ad81e07d Update ChangeLog
svn path=/branches/mono-2-4/mcs/; revision=135814
2009-06-10 00:52:08 +00:00
Gonzalo Paniagua Javier 4552e026da 2009-06-09 Gonzalo Paniagua Javier <[email protected]>
* XPathExpression.cs: Backport to Mono 2.4 the bug fix
	for multithreaded applications that use XPath.

	This was the fix for #477049 which also fixes #505678


svn path=/branches/mono-2-4/mcs/; revision=135813
2009-06-10 00:51:31 +00:00
Gonzalo Paniagua Javier 9e83ad4e47 2009-06-09 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: ProtocolViolationException is not thrown in
	certain cases since 2.0. Fixes bug #508027.


svn path=/branches/mono-2-4/mcs/; revision=135768
2009-06-09 15:40:39 +00:00
Gonzalo Paniagua Javier ac7e6377d2 new tests from HEAD
svn path=/branches/mono-2-4/mcs/; revision=135761
2009-06-09 15:14:57 +00:00
Gonzalo Paniagua Javier ae50ec7275 2009-06-09 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: follow MS docs when throwing
	ProtocolViolationException at the beginning of an asynchronous
	operation. Fixes bug #465613.


svn path=/branches/mono-2-4/mcs/; revision=135759
2009-06-09 15:14:26 +00:00
Rodrigo Kumpera b3112d3b56 2009-06-09 Rodrigo Kumpera <[email protected]>
Revert previous commit to threads.c until the race condition
	is fixed.


svn path=/branches/mono-2-4/mono/; revision=135755
2009-06-09 14:43:05 +00:00
Gonzalo Paniagua Javier 2146c262ed 2009-06-08 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: throw a WebException instead of an IOException.


svn path=/branches/mono-2-4/mcs/; revision=135705
2009-06-08 22:27:02 +00:00
Gonzalo Paniagua Javier c5e73d5316 2009-06-08 Gonzalo Paniagua Javier <[email protected]>
* FtpWebRequest.cs: avoid exception when the reply from the server
	contains just response code. Fixes bug #510852.


svn path=/branches/mono-2-4/mcs/; revision=135696
2009-06-08 20:48:12 +00:00
Gonzalo Paniagua Javier b17e27771f 2009-06-08 Gonzalo Paniagua Javier <[email protected]>
* SmtpClient.cs: handle dots. Patch by Ted Unangst that fixes bug
	#392875.


svn path=/branches/mono-2-4/mcs/; revision=135693
2009-06-08 20:40:25 +00:00
Rodrigo Kumpera 3075fb3f7c 2009-06-08 Rodrigo Kumpera <[email protected]>
Backport of 135171.

	* threads.c (ves_icall_System_Threading_Thread_Sleep_internal):
	Check if the thread was interrupted and proccess it straight away.
	Makes abortion much more responsive.

	Backport of 135170.

	* threads.c (mono_thread_execute_interruption): Use atomic cas with
	MonoThread::interruption_requested to match it's counterpart.

	Fixes a hang in abort-stress-1 on a 2 core x86.


svn path=/branches/mono-2-4/mono/; revision=135666
2009-06-08 15:45:51 +00:00
Martin Baulig aa667d9821 Improve exception handling when running in mdb: check whether an exception is caught inside a runtime-invoked method or the runtime-invoke wrapper.
2009-06-08  Martin Baulig  <[email protected]>

	* debug-mini.c
	(MonoDebuggerExceptionAction): Moved into debug-mini.h.
	(_mono_debugger_throw_exception): Don't make this static.
	(_mono_debugger_unhandled_exception): Likewise.
	(mono_debugger_handle_exception): Moved to mini-exceptions.c

	* debug-mini.c
	(MonoDebuggerExceptionAction): Moved here from debug-mini.c.
	(_mono_debugger_throw_exception): Add function prototype.
	(_mono_debugger_unhandled_exception): Likewise.

	* mini-exceptions.c
	(mono_handle_exception_internal): Added `MonoJitInfo **out_ji'
	arg; return the first exception handler if the exception is caught
	and we're running inside the debugger.
	(mono_debugger_handle_exception): Moved here from debug-mini.c;
	improve exception handle inside runtime-invoke, check whether the
	exception is actually caught in the method being invoked and not
	by the runtime-invoke-wrapper.

svn path=/branches/mono-2-4/mono/; revision=135636
2009-06-08 08:46:08 +00:00
Marek Habersack 8c11b0cb13 Backport of r135630
svn path=/branches/mono-2-4/mcs/; revision=135631
2009-06-08 07:19:59 +00:00
Ankit Jain d3f7781195 In class/PEAPI:
2009-03-31  Rodrigo Kumpera  <[email protected]>

	* Code.cs (CILLabel): Add new constructor to signal that
	a label is an absolute il offset. This is required by exception
	handling declarations that use offsets and not labels.

In ilasm/codegen:
2009-05-27  Rodrigo Kumpera  <[email protected]>

	* TypeDef.cs: Add field method_list to preserve definition
	order of methods when emiting the PE file.

2009-04-20  Ankit Jain  <[email protected]>

	Fix bug #494221
	* MethodDef.cs (BeginLocalsScope): New.
	(EndLocalsScope): New.
	(AddLocals):
	(GetNamedLocal): Support scoping for .locals

	* MethodDef.cs (GetNamedLocalSlot): Return -1 if local var not found.

2009-03-31  Rodrigo Kumpera  <[email protected]>

	* MethodDef.cs (WriteCode): Emit labels which use offsets as absolute PEAPI
	CilLabels.

In ilasm/scanner:

	* StringHelper.cs (startIdChars): New. Set of chars that can start an
	identifier.
	(Start): Use startIdChars instead of idchars.

	Fix bug #487155.
	* StringHelper.cs: Handle octal values in strings.
	Patch from  Stephen Gennard ([email protected])

In ilasm/parser:
	Fix bug #494221.
	* ILParser.jay (scope_block_begin): Mark begin .locals scope.
	(scope_block): Mark end .locals scope.

	* ILParser.jay (instr): Handle unidentified local var id.

2009-03-31  Rodrigo Kumpera  <[email protected]>

	* ILParser.jay: Fix integer labels in handler blocks.

svn path=/branches/mono-2-4/mcs/; revision=135623
2009-06-08 00:47:03 +00:00
Ankit Jain acc1b29080 Update xbuild and Microsoft.Build.* from trunk.
In tools/xbuild:

	* xbuild/Microsoft.Common.targets: Use ResolveAssemblyReference
	to find satellite assemblies, dependent assemblies, dependent
	files, copy local files etc.
	Add targets to fetch all this info for all referenced projects,
	and copy them to the target locations. Also, copy the debug (.mdb)
	files. Honor, "CopyToOutputDirectory" metadata.

	* Parameters.cs (ProcessProperty): Handle invalid syntax.

	* SolutionParser.cs (AddGeneralSettings): Don't hardcode the default
	config/platform. Move to ..
	(AddDefaultSolutionConfiguration): .. here.
	(AddCurrentSolutionConfigurationContents): Use the first solution target
	as the default config/platform or use Debug/anycpu if no config is available.

In tools/xbuild/tests:

	* standalone/Project01: New. Solution with interdependent multiple projects,
	with deploy files, satellite assemblies etc.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

	* CreateCSharpManifestResourceNameTest.cs (TestInvalidCulture): New.

	* CscTest.cs (TestDefineConstants): Update DefineConstants to include
	spaces also.

	* AssignTargetPathTest.cs: Update tests to not depend on a fixed
	root (C:\) or cur dir.

In class/Microsoft.Build.Tasks:

	* Microsoft.Build.Tasks_test.dll.sources: Added
	ResolvedReference.cs

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

	* AssignCulture.cs (TrySplitResourceName): Reset culture arg to null
	if returning false.
	* CreateCSharpManifestResourceName.cs: Set culture to null if the
	culture was invalid.

	* ResolvedReference.cs: New.
	* AssemblyResolver.cs (GetResolvedReference): New. Honor's the
	'Private' metadata and sets CopyLocal.
	(SearchPath): New. Used to track how the reference was resolved.
	(IsStrongNamed): Fix potential null ref.
	All the assembly resolution methods now return ResolvedReference
	instead of strings, to aid in proper CopyLocal behavior and
	dependency resolution.
	* ResolveAssemblyReference.cs: Add support for finding related files,
	satellite files, resolving dependencies, copy local files.
	Resolve files specified in "AssemblyFiles" param also, used to resolve
	project references and dependencies.

	* Csc.cs (AddResponseFileCommands): Split DefineConstants on space also.

	* AssignTargetPath.cs (Execute): Expand incoming path to absolute
	path, and correctly extract relative path (skipping over the preceding
	dir separator).

	* Copy.cs (CopyFile): Don't copy if the source and dest are the same.

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:

	* ProjectTest (TestBuildSolutionProject): New. Disabled for now.
	* Consts.cs (RunningOnMono): Make public.

	* TargetTest (TestTargetOutputsIncludingMetadata): New.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

	* Target.cs (Outputs): Use ITaskItem[] for conversion, to retain
	the metadata.

svn path=/branches/mono-2-4/mcs/; revision=135620
2009-06-08 00:28:26 +00:00
Marek Habersack 3325e79f38 Backport of r130909
svn path=/branches/mono-2-4/mcs/; revision=135562
2009-06-05 21:26:49 +00:00
Marek Habersack 14c36e347e Fix the 1.1 build
svn path=/branches/mono-2-4/mcs/; revision=135561
2009-06-05 21:11:02 +00:00
Marek Habersack 9cea00c852 Backport of r135558
svn path=/branches/mono-2-4/mcs/; revision=135559
2009-06-05 20:53:59 +00:00
Robert Jordan 13c1574f1e merge from trunk r135532.
svn path=/branches/mono-2-4/mcs/; revision=135533
2009-06-05 14:57:11 +00:00
Marek Habersack 7bcec499bb Backport of r135488
svn path=/branches/mono-2-4/mcs/; revision=135489
2009-06-04 21:23:04 +00:00
Marek Habersack 905299db93 Backport of r135486
svn path=/branches/mono-2-4/mcs/; revision=135487
2009-06-04 21:18:44 +00:00
Marek Habersack 69340b378c Backport of r135471
svn path=/branches/mono-2-4/mcs/; revision=135472
2009-06-04 18:48:30 +00:00
Marek Habersack db984ca1f9 Backport of r135464
svn path=/branches/mono-2-4/mcs/; revision=135465
2009-06-04 17:45:39 +00:00
Marek Habersack cde24e99e0 Backport of r135460
svn path=/branches/mono-2-4/mcs/; revision=135462
2009-06-04 17:34:36 +00:00
Marek Habersack 181c888eb3 Backport of r135438
svn path=/branches/mono-2-4/mcs/; revision=135439
2009-06-04 15:31:55 +00:00
Zoltan Varga 981e7e4a91 2009-06-04 Zoltan Varga <[email protected]>
* marshal.c metadata.c: Applied patch from Ulrich Weigand
	<[email protected]>: Free the wrappers of inflated generic methods when
	the inflated method is freed. Fixes #508389.

	The code is contributed under the MIT/X11 license.

svn path=/branches/mono-2-4/mono/; revision=135435
2009-06-04 15:26:16 +00:00
Veerapuram Varadhan 384885ad15 2009-06-04 Veerapuram Varadhan <[email protected]>
* OracleParameter.cs: Infer size only for 2.0 profile when only
	value is passed.  Fixes test failure under 1.1 profile.

svn path=/branches/mono-2-4/mcs/; revision=135429
2009-06-04 15:15:21 +00:00
Jb Evain 631c51205f 2009-06-03 Jb Evain <[email protected]>
backport of 135337.

	* main.c (dis_code): don't try to locate invalid entry points.


svn path=/branches/mono-2-4/mono/; revision=135339
2009-06-03 18:58:04 +00:00
Ankit Jain 973d8fe897 Update xbuild and Microsoft.Build.* libs from trunk.
In tools/xbuild:
2009-05-20  Jonathan Chambers  <[email protected]>

	* SolutionParser.cs (ParseSolution): Ignore vcproj projects in solutions 
	and issue warning. 

2009-04-27  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.VisualBasic.targets: Update to use
	CreateVisualBasicManifestResourceName task, and fix compiler params.

2009-04-25 Daniel Nauck <[email protected]>

	Fix bug #484649:
	* LoggerInfo.cs: fixed the parsing of the /logger: argument as described in
	http://msdn.microsoft.com/en-us/library/ms164311.aspx
	Added logger class detection if it's not explicit specified in the argument.

2009-03-19  Ankit Jain  <[email protected]>

	Fix bug #484773.
	* Main.cs (Execute): Check whether the project file exists or not.
	* Parameters.cs (ParseArguments): Handle absolute paths too.

2009-03-13  Ankit Jain  <[email protected]>

	* Main.cs (Execute): Build the project/sln with current directory set to
	the project file's dir.
	* SolutionParser.cs (ParseSolution): Project paths are relative to
	solution directory.

2009-03-06  Ankit Jain  <[email protected]>

	Fix bug #481336.
	* SolutionParser.cs (AddWarningForMissingProjectConfiguration): New.
	(AddProjectTargets): Emit warning for missing project configurations.

2009-02-26  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.CSharp.targets (Csc): Fix "Resources" argument to use
	ManifestNonResxWithCultureOnDisk instead of ManifestResourceWithNoCultureOnDisk.

2009-02-26  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets: Make targets extensible. Add
	before/after hooks.

2009-02-25  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets: Use obj/$(Config) as the default intermediate
	output path, instead of just obj/

2009-02-25  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets (CopyNonResxEmbeddedResources): New.
	(GenerateSatelliteAssemblies): Update to use the new ManifestNonResxWithCultureOnDisk
	instead of NonResxWithCulture.
	* xbuild/Microsoft.CSharp.targets (Csc): Fix "Resources" argument to use
	the new on disk file names instead of original filenames.

2009-02-25  Ankit Jain  <[email protected]>

	* xbuild/Microsoft.Common.targets (GetTargetPath): Add a path separator.

2009-02-25  Ankit Jain  <[email protected]>

	* SolutionParser.cs (ParseSolution): Report warning instead of error
	for unknown global sections.

2009-02-21  Ankit Jain  <[email protected]>

	* xbuild/xbuild.rsp: Add descriptive comments.

2009-02-21  Ankit Jain  <[email protected]>

	* Parameters.cs (LoadResponseFile): Handle comments.

2009-02-20  Ankit Jain  <[email protected]>

	* SolutionParser.cs (ParseSolution): Ignore solution folders.

2009-02-20  Ankit Jain  <[email protected]>

	* SolutionParser.cs (ParseSolution): Ignore GlobalSection named
	'NestedProjects'.

2009-02-20  Ankit Jain  <[email protected]>

	* SolutionParser.cs (ParseProjectConfigurationPlatforms): Report missing
	project guids as Warnings and not errors. Report every missing guid only
	once.

2009-02-20  Ankit Jain  <[email protected]>

	* SolutionParser.cs (projectRegex): Use '\s' to match whitespace.

2009-02-19  Jonathan Chambers  <[email protected]>

	* xbuild.csproj: Add.
	* xbuild.sln: Add.

2009-02-13  Jonathan Chambers  <[email protected]>

	* SolutionParser.cs: Make Guid Regex case insensitive.
	Handle project dependencies. The solution has explicit
	dependencies, but we have to open projects for implicit
	dependencies (via ProjectReferences).

2009-02-13  Jonathan Chambers  <[email protected]>

	* Main.cs: Add support for .sln files.
	* SolutionParser.cs: Class for generating project file
	from solution file.
	* xbuild.exe.sources: Added SolutionParser.cs.

2009-02-02  Ankit Jain  <[email protected]>

	* Microsoft.CSharp.targets: Add targets to generate resource ids.
	* Microsoft.Common.targets: Add targets for generating resources,
	generate and deploy satellite assemblies, resolve project and assembly
	references. All intermediate build output goes into a 'obj/' dir by
	default. 'Clean' target enabled.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
2009-05-29  Ankit Jain  <[email protected]>

	* TestMessageLogger.cs: Add counts for project/build start/finish
	events.

2009-04-27  Ankit Jain  <[email protected]>

	* CreateVisualBasicManifestResourceNameTest.cs: New.

2009-03-03  Ankit Jain  <[email protected]>

	* CscTest.cs (DefineConstants): Add some extra semi-colons,
	that should get removed on output.
	(DefineConstants2): New. Test effectively empty define constants.

2009-02-25  Ankit Jain  <[email protected]>

	* CreateCSharpManifestResourceNameTest.cs (CheckResourceNames):
	Refactor a bit to improve error reporting.
	Update to use Path.Combine instead of hardcoding "\".

2009-02-24  Ankit Jain  <[email protected]>

	* TestMessageLogger.cs (CheckLoggedMessageHead): Move here from
	* TaskBatchingTest.cs: .. here. Track api change.

2009-02-21  Ankit Jain  <[email protected]>

	* CopyTest.cs: New.

2009-01-31  Ankit Jain  <[email protected]>

	* TaskBatchingTest.cs (*): Add tests for target/task events.
	(TestTargetBatching*): New tests for target batching.
	* TestMessageLogger.cs: Add counts for target/task started/finished
	events.
	(NormalMessageCount): New.

In class/Microsoft.Build.Tasks/Test/resources:
2009-04-27  Ankit Jain  <[email protected]>

	* Sample.vb: New.

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
2009-04-27  Ankit Jain  <[email protected]>

	* CreateCSharpManifestResourceName.cs (GetResourceIdFromFileName): Move
	to ..
	* CreateManifestResourceName.cs: .. here.
	* CreateVisualBasicManifestResourceName.cs: Implement.

2009-04-27  Ankit Jain  <[email protected]>

	* Vbc.cs (AddResponseFileCommands): Escape DefineConstants as it can
	contain double quotes itself. Fix /doc switch.
	(EscapeDoubleQuotes): New.

2009-03-22  Daniel Nauck  <[email protected]>

	* GenerateResource.cs: Set BasePath property of
		ResXResourceReader class.
		See: http://lists.ximian.com/pipermail/mono-devel-list/2009-March/031459.html

2009-03-19  Ankit Jain  <[email protected]>

	Fix bugs #323833 and #484384.
	* AssemblyResolver.cs (GatherGacAssemblies): Handle duplicate entries.
	These seem to be old copies of the assemblies with old keys. Pick
	the one with the latest timestamp.

2009-03-03  Ankit Jain  <[email protected]>

	Fix bug #480856.
	* Csc.cs (AddResponseFileCommands): Split DefineConstants on ';'.

2009-02-26  Ankit Jain  <[email protected]>

	* MakeDir.cs (Execute): Don't create+log if dir already exists.

2009-02-25  Ankit Jain  <[email protected]>

	* AL.cs (Execute): Use ToolTask.Execute instead of doing our own.

2009-02-25  Ankit Jain  <[email protected]>

	* AssemblyResolver.cs:
	* ResolveAssemblyReference.cs: Honor SpecificVersion. Emit detailed error
	messages incase assembly resolution fails. Make specific version
	strict.

2009-02-25  Ankit Jain  <[email protected]>

	* ManagedCompiler.cs (AddResponseFileCommands): Use LogicalName for
	embedded resources, wherever available.
	* CreateCSharpManifestResourceName.cs (GetResourceIdFromFileName): Use
	Path.Combine instead of hardcoding "\".

2009-02-25  Ankit Jain  <[email protected]>

	* MSBuild.cs (Execute): Reset current directory back after every
	project's execution.

2009-02-21  Ankit Jain  <[email protected]>

	Fix bug #458916.
	* Copy.cs: CopiedFiles and DestinationFiles should have target paths
	instead of source. Also, the metadata should get retained from source
	items. Based on a patch by Jeffrey Richardson <[email protected]>
	Refactor a bit to remove code duplication.

2009-02-21  Ankit Jain  <[email protected]>

	* MSBuild.cs (SplitPropertiesToDictionary): Split into exactly 2 parts.

2009-02-11  Leszek Ciesielski <[email protected]>

	* ResolveAssemblyReference.cs : AllowedRelatedFileExtensions stub

2009-02-02  Ankit Jain  <[email protected]>

	* MSBuild.cs (Execute): Disable incorrect 'rebaseOutputs' behavior.

2009-02-02  Ankit Jain  <[email protected]>

	* ResolveAssemblyReference.cs: Honor SearchPaths and the special
	items like '{HintPathFromItem}', '{TargetFrameworkDirectory}' etc.
	* AssemblyResolver.cs: Add api for more specific search, like search
	in a directory, target frameworks, gac etc.

2009-02-01  Ankit Jain  <[email protected]>

	* CallTarget.cs: Copy all items from target to TargetOutputs.

2009-02-01  Ankit Jain  <[email protected]>

	* Csc.cs (AddResponseFileCommands):
	* ManagedCompiler.cs (AddResponseFileCommands): 'AddModules' and
	'AdditionalLibPaths' can be empty.

2009-01-30  Ankit Jain  <[email protected]>

	* Copy.cs (Execute): Use for loop instead of enumerators.
	sourceFiles and destinationFiles can be null, handle that.
	Create new directory if required.

2009-01-27  Ankit Jain  <[email protected]>

	* Delete.cs (Execute): Skip non-existant files.

In class/Microsoft.Build.Tasks:
2009-05-14  Ankit Jain  <[email protected]>

	Fix tests on monobuild
	* Makefile (EXTRA_DISTFILES): Add Test/resources/Sample.vb

2009-04-28  Raja R Harinath  <[email protected]>

	* Makefile (NAME_SUFFIX): New.
	(LIBRARY_NAME): Use it.
	(TEST_MCS_FLAGS): Don't mention name of library.  Use NAME_SUFFIX
	as appropriate when referring to other msbuild dlls.

2009-04-27  Ankit Jain  <[email protected]>

	* Microsoft.Build.Tasks_test.dll.sources: Added
	CreateVisualBasicManifestResourceNameTest.cs .

2009-04-25  Jonathan Chambers  <[email protected]>

	* Makefile: Adjust assembly name for 3.5 profile.

2009-02-21  Ankit Jain  <[email protected]>

	* Microsoft.Build.Tasks_test.dll.sources: Added CopyTest.cs

In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
2009-05-29  Ankit Jain  <[email protected]>

	* EngineTest.cs (TestGlobalProperties*): New tests
	and some helper methods.
	* ProjectTest.cs (TestResetBuildStatus): Reset twice. Update
	the event counts.

2009-05-15  Marek Sieradzki  <[email protected]>

	* BuildItemTest.cs:
	* BuildPropertyGroupTest.cs:
	* BuildPropertyGroupCollectionTest.cs:
	* BuildPropertyTest.cs:
	* BuildItemGroupTest.cs:
	* EngineTest.cs:
	* InternalLoggerExceptionTest.cs:
	* ProjectTest.cs: Don't compare exception messages.

2009-05-12  Ankit Jain  <[email protected]>

	* ProjectTest.cs (TestAssignment1):
	* UsingTaskTest.cs (TestTaskName):
	(TestAssemblyNameOrAssemblyFile1):
	(TestAssemblyNameOrAssemblyFile2): Don't compare exception messages. 

2009-03-27  Jonathan Chambers  <[email protected]>

	* BuildChooseTest.cs: Enable tests.
	* Microsoft.Build.Engine.Test.csproj: Update post build step.

2009-03-26  Jonathan Chambers  <[email protected]>

	* BuildTaskTest.cs (TestTaskInNamespace): Add test for Task in namespace.

2009-02-24  Ankit Jain  <[email protected]>

	* UsingTaskTest.cs (TestLazyLoad{1,2,3}): New.
	(TestAssemblyNameOrAssemblyFileConditionFalse): New.
	(TestDuplicate1): New.
	* TargetTest (CheckLoggedMessageHead): Moved to TestMessageLogger,
	use that.

2009-02-15  Jonathan Chambers  <[email protected]>

	* BuildChooseTest.cs (TestValueXml): Add tests for Choose.
	Currently not working.

2009-02-12  Jonathan Chambers  <[email protected]>

	* BuildPropertyTest.cs (TestValueXml): New.

2009-02-01  Ankit Jain  <[email protected]>

	* ProjectTest.cs (TestBuild[23]): Check number of task started/finished
	events.
	(TestResetBuildStat): Remove "NotWorking".
	(TestBuild4): Likewise. Check number of task started/finished events.

	* TargetTest.cs (TestTargetOutputs1): New.

2009-01-30  Ankit Jain  <[email protected]>

	* ProjectTest.cs (TestRequiredTask_*): New.
	(TestBatchedMetadataRef5): New.

2009-01-29  Ankit Jain  <[email protected]>

	* BuildItemTest.cs (TestBuildItemTransform): New.

In class/Microsoft.Build.Engine/Test/various:
2009-05-29  Ankit Jain  <[email protected]>

	* Conditions.cs (TestHasTrailingSlash1): New.
	(TestUnknownFunction): New.

2009-05-15  Marek Sieradzki  <[email protected]>

	* Items.cs
	* Conditions.cs: Don't check exception messages.

2009-02-23  Ankit Jain  <[email protected]>

	* Items.cs (TestItemsInTarget8): New.
	(TestItemsInTarget9): New.

2009-02-20  Ankit Jain  <[email protected]>

	* Conditions.cs (TestCondition11): New. Test unquoted item/property
	references in conditions.

In class/Microsoft.Build.Engine/Test/resources:
2009-03-26  Jonathan Chambers  <[email protected]>

	* TestTasks.cs (NamespacedOutputTestTask): New.

2009-02-24  Ankit Jain  <[email protected]>

	* TestTasks.cs (Another.SameTask): New.
	(Other.SameTask): New.

2009-01-30  Ankit Jain  <[email protected]>

	* TestTasks.cs (RequiredTestTask): Rename to ..
	(RequiredTestTask_TaskItems): .. this.
	(RequiredTestTask_*): New types.

2009-01-29  Ankit Jain  <[email protected]>

	* TestTasks.cs (BatchingTestTask.TaskItemsOutput): New.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
2009-05-29  Ankit Jain  <[email protected]>

	Correctly handle global properties. Correctly log
	project/build events.

	* BuildPropertyGroup.cs (Clone): Implement.
	* Engine.cs (globalProperties): Rename to ..
	(global_properties): .. this.
	(currentlyBuildingProjectsStack): New. Used to correctly
	log and raise project/build start/finish events.
	(BuildProjectFile): Override any project global properties
	with explicitly specified ones, here in the param @globalProperties.
	Mark project for reevaluation, which will update the engine's
	global properties also.
	Reset both engine and project's old global properties at the end.
	(UnregisterAllLoggers): Log build finished only if we are currently
	building.
	(StartBuild): Rename to ..
	(StartProjectBuild): .. this. Keeps track of the projects being built
	in the new stack, and logs project and build events accordingly.
	(EndProjectBuild): New. Uses the stack to keep track of projects
	finishing builds, and raises project and build events accordingly.
	(LogProjectStarted): Move here from Project.cs
	(LogProjectFinished): Likewise.

	* Project.cs (Build): Log start of project build.
	Set current directory to the project file's dir, and reset at end.
	(BuildInternal): Don't log here, its done in Build.
	(BuildTarget): Already built targets are keyed by the set of global
	properties that they were built with.
	(GlobalPropertiesToString): New.
	(ResetBuildStatus): 'building' must be true to allow built targets to be reset.
	(RemoveBuiltTargets): Initialize builtTargetKeys in .ctor
	(Evaluate): Remove built targets only if we are currently building and
	build settings are None.
	Merge project's global properties with those of the parent engine.
	Add missing properties from engine's global properties.
	(LogTargetSkipped): Fix format string, add the reqd argument.

2009-05-29  Ankit Jain  <[email protected]>

	* ConditionFunctionExpression.cs: Add 'HasTrailingSlash' function.
	(HasTrailingSlash): New.

2009-05-12  Ankit Jain  <[email protected]>

	* Project.cs (.ctor): Init timeOfLastDirty.

2009-05-05  Miguel de Icaza  <[email protected]>

	* Contribution from Martin Brenn to fix #498154.

2009-04-27  Ankit Jain  <[email protected]>

	Fix bug #497839.
	* Engine.cs (BuildProjectFile): Set project's GlobalProperties to the
	one passed as argument.

2009-04-27  Ankit Jain  <[email protected]>

	* TaskEngine.cs (Prepare): Emit a useful error message property value
	can't be converted to required type.

2009-04-27  Ankit Jain  <[email protected]>

	* ExpressionCollection.cs (ConvertToObject): Allow true/on/yes
	as valid true values for bool, and corresponding for false.

2009-03-27  Jonathan Chambers  <[email protected]>

	* BuildWhen.cs: Add basic implementation.
	* BuildChoose.cs: Add basic implementation.
	* BuildItem.cs (AddEvaluatedItem): Add BuiltItem to 
	EvaluatedItemsIgnoringCondition.
	* GroupingCollection.cs: Add evaluation of BuildChoose items.

2009-03-26  Jonathan Chambers  <[email protected]>

	* TaskDatabase.cs (RegisterTask): Search for class by name
	if task was not found using GetType (which uses namespace). 

2009-02-26  Ankit Jain  <[email protected]>

	* Target.cs: Handle target with no tasks. Log errors.

2009-02-24  Ankit Jain  <[email protected]>

	Lazily load UsingTask tasks.
	* UsingTask.cs (Evaluate): Register 'this' with task database,
	but don't load it yet. Register only if condition evaluates to true.
	Move the load logic to ..
	(Load): .. here. Register with the specified task database.
	* TaskDatabase.cs (RegisterUsingTask): Store the UsingTask instance
	in a table keyed by task name, but don't load it yet.
	(GetTypeFromClassName): Try to load UsingTask if task is not already
	loaded. Move loading logic to ..
	(GetTypeFromClassNameInternal): .. here.
	(CopyTasks): Copy the usingTasks table also.

2009-02-23  Ankit Jain  <[email protected]>

	* BuildItem.cs (AddMetadata): Allow overwriting older values.

2009-02-22  Ankit Jain  <[email protected]>

	* BuildItem.cs: Iterate over XmlElements childnodes with XmlNode
	instead of XmlElement. Eg. XmlComment

2009-02-21  Ankit Jain  <[email protected]>

	* Utilities.cs (FromMSBuildPath): Copy from monodevelop.
	* Project.cs (Load): Use FromMSBuildPath on the path.
	(InitializeProperties): Set "MSBuildToolsPath" also.

2009-02-20  Ankit Jain  <[email protected]>

	Fix #449683.
	* ConditionTokenizer.cs: Handle unquoted item references (with or w/o
	transforms) in conditions.
	* ConditionParser.cs: Parse unquoted item, property references.
	eg. Condition = " @(Foo->'%(Extension)') == '.exe' "
	* Token.cs (Token.ToString): Override.
	(TokenType.Transform): Uncomment.

2009-02-12  Jonathan Chambers  <[email protected]>

	* BuildProperty.cs: Value corresponds to XmlElement.InnerXml
	no XmlElement.InnerText. This allows properties to be additional 
	xml elements.

2009-02-01  Ankit Jain  <[email protected]>

	* BuildEngine.cs (BuildProjectFile): Use
	BuildSettings.DoNotResetPreviouslyBuiltTargets for building projects.
	* Engine.cs (BuiltTargetsOutputByName): New. Table of targets already
	built. Move logging of project start/finish to ..
	* Project.cs: .. here. Build a target only if hasn't been built already.
	Keep track of target outputs, and return those even if an already built
	target has been invoked again.
	Honor BuildSettings.None and DoNotResetPreviouslyBuiltTargets .

2009-01-31  Ankit Jain  <[email protected]>

	* BatchingImpl.cs: Split into ..
	* BatchingImplBase.cs: .. this,
	* TaskBatchingImpl.cs: .. this ..
	* TargetBatchingImpl.cs: .. and this. Implement target batching here.

	* Target.cs (DoBuild): Use TargetBatchingImpl for building.
	(Log*): Move to TargetBatchingImpl .
	(BuildTasks): New.
	(Engine): New.

2009-01-30  Ankit Jain  <[email protected]>

	* TaskEngine.cs (GetObjectFromString): Empty value is allowed only for
	arrays.

2009-01-29  Ankit Jain  <[email protected]>

	* BuildItem.cs (child_items): Change type from BuildItemGroup to
	List<BuildItem>.
	(HasParent): Rename to ..
	(HasParentItem): .. this.
	(ParentItemGroup): Add setter.

	* BuildItemGroup.cs (.ctor): Add overload with @project param.
	(AddNewItem):
	(AddItem): Correctly set the ParentItemGroup for new build items.
	(ParentProject): Add setter.
	* Project.cs: Set the project for new BuildItemGroup instances.
	* TaskEngine.cs (PublishItemGroup): Likewise.

In class/Microsoft.Build.Engine:
2009-02-21  Ankit Jain  <[email protected]>

	* Import.cs (GetFullPath): Use Utilities.FromMSBuildPath .

2009-02-19  Jonathan Chambers  <[email protected]>

	* Microsoft.Build.Engine.csproj: Add.
	* Microsoft.Build.Engine.Test.csproj: Update.

2009-01-31  Ankit Jain  <[email protected]>

	* Microsoft.Build.Engine_test.dll.sources: Replace BatchingImpl.cs with
	BatchingImplBase.cs, TargetBatchingImpl.cs and TaskBatchingImpl.cs

In class/Microsoft.Build.Utilities:
2009-04-25  Jonathan Chambers  <[email protected]>

	* Makefile: Adjust assembly name for 3.5 profile.

2009-02-25  Ankit Jain  <[email protected]>

	* Microsoft.Build.Utilities.dll.sources: Add ProcessService.cs,
	ProcessWrapper.cs, IAsyncOperation.cs and IProcessAsyncOperation.cs

In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
2009-04-24  Ankit Jain  <[email protected]>

	* ToolTask.cs (RealExecute): Handle TypeLoadExceptions, compiler
	crashes and report them. Borrow some tricks from md.
	(LogEventsFromTextOutput): Ignore known non-error messages. Don't
	log unknown lines, crashes get handled elsewhere.

2009-04-08  Ankit Jain  <[email protected]>

	Fix bug #491828.
	* ToolTask.cs (LogEventsFromTextOutput): Log even in case of
	unrecognized errors.

2009-02-25  Ankit Jain  <[email protected]>

	* ProcessService.cs, IAsyncOperation.cs, IProcessAsyncOperation.cs,
	ProcessWrapper.cs: Brought in from monodevelop.
	* ToolTask.cs: Use the new ProcessService to execute the tool. Honor
	SkipTaskExecution (). Use response files, but log the contents of the
	response file instead of "@foo.rsp". Support environmentOverrides.
	(LogEventsFromTextOutput): Add null check.
	* Exec.cs (GetWorkingDirectory): Use the workingDirectory property.

2009-02-20  Ankit Jain  <[email protected]>

	Fix bug #475438.
	* ToolTask.cs (RealExecute): Check whether the target executable exists.
	Log any execution errors.


svn path=/branches/mono-2-4/mcs/; revision=135336
2009-06-03 18:54:33 +00:00
Jb Evain 9551a9a3f1 2009-06-03 Jb Evain <[email protected]>
backport of r135334.

	* main.c (dis_type): escape namespaces.


svn path=/branches/mono-2-4/mono/; revision=135335
2009-06-03 18:46:21 +00:00
Marek Habersack 78d49ba450 Backport of r135328
svn path=/branches/mono-2-4/mcs/; revision=135329
2009-06-03 17:55:32 +00:00
Veerapuram Varadhan ee8e74d14c 2009-06-03 Veerapuram Varadhan <[email protected]>
* OracleParameterTest.cs: Mark tests for bug #424908 as NotWorking
        as it requires some more thorough debugging.

svn path=/branches/mono-2-4/mcs/; revision=135315
2009-06-03 16:32:38 +00:00
Marek Habersack bc46a3e762 Backport of r135313
svn path=/branches/mono-2-4/mcs/; revision=135314
2009-06-03 16:32:38 +00:00
Veerapuram Varadhan 4dc9024c2d 2009-06-03 Veerapuram Varadhan <[email protected]>
* OracleParameter.cs:  Infer the ocitype before inferring the size

svn path=/branches/mono-2-4/mcs/; revision=135312
2009-06-03 16:31:43 +00:00
Marek Habersack 622db0d809 Backport of r135307
svn path=/branches/mono-2-4/mcs/; revision=135308
2009-06-03 15:44:48 +00:00
Gonzalo Paniagua Javier 9f8949286a 2009-06-02 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: KeepAlive check not needed.
	Fixes bug #465613.


svn path=/branches/mono-2-4/mcs/; revision=135247
2009-06-02 22:13:50 +00:00
Gonzalo Paniagua Javier 0ea6d04a70 2009-06-02 Gonzalo Paniagua Javier <[email protected]>
* HttpConnection.cs: unbind the context after every read for keep-alive
	connections.
	Bug #502274 fixed.


svn path=/branches/mono-2-4/mcs/; revision=135242
2009-06-02 21:42:38 +00:00
Marek Habersack 6fedac8703 Backport of r135237
svn path=/branches/mono-2-4/mcs/; revision=135238
2009-06-02 21:27:30 +00:00
Veerapuram Varadhan df6f839eae 2009-06-03 Veerapuram Varadhan <[email protected]>
* OracleParameter.cs:  If a non-zero size is passed, update
	the size member but sizeSet is updated only when a non-null
	value is passed.

svn path=/branches/mono-2-4/mcs/; revision=135236
2009-06-02 21:09:06 +00:00
Gonzalo Paniagua Javier 2c79e8fd29 2009-06-02 Gonzalo Paniagua Javier <[email protected]>
* BuildManager.cs: allow deployment of precompiled applications under
	any virtual path, not just the default one used when precompiling.
	Fixes bug #483268.


svn path=/branches/mono-2-4/mcs/; revision=135232
2009-06-02 20:38:11 +00:00
Marek Habersack 8cce221351 Backport of r135205
svn path=/branches/mono-2-4/mcs/; revision=135206
2009-06-02 15:27:43 +00:00
Marek Habersack 12907a6ff5 Backport of r135147
svn path=/branches/mono-2-4/mcs/; revision=135148
2009-06-01 20:43:46 +00:00
Marek Habersack edce13a1d5 Backport of r135144
svn path=/branches/mono-2-4/mcs/; revision=135145
2009-06-01 20:18:28 +00:00
Rodrigo Kumpera 59b33685c6 2009-06-01 Rodrigo Kumpera <[email protected]>
* bug-508538.cs: New regression test.


svn path=/branches/mono-2-4/mono/; revision=135139
2009-06-01 18:47:20 +00:00
Rodrigo Kumpera e76bf9dc64 2009-06-01 Rodrigo Kumpera <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): Emit the right kind
	of ldind opcode for generic instances so we don't fail for direct wrappers.

	Fixes #508538.


svn path=/branches/mono-2-4/mono/; revision=135138
2009-06-01 18:46:37 +00:00
Marek Habersack 9c8de626c2 Backport of r135134
svn path=/branches/mono-2-4/mcs/; revision=135135
2009-06-01 18:26:26 +00:00
Marek Habersack a48a335e5f Backport of r135057
svn path=/branches/mono-2-4/mcs/; revision=135058
2009-05-29 10:25:59 +00:00
Mark Probst 385565fad4 2009-05-28 Mark Probst <[email protected]>
* collection.c (_wapi_collection_init): If pthread_create() fails,
	try again with larger and then with no stack size set.  Fixes
	#470336.

	Backport of r134985.

svn path=/branches/mono-2-4/mono/; revision=134986
2009-05-28 19:54:38 +00:00
Rodrigo Kumpera 635e76be8e 2009-05-28 Rodrigo Kumpera <[email protected]>
Backport of r134810.

	* icall.c (ves_icall_Type_GetMethodsByName): Virtual methods should be
	discarded based on their most specific definition so we set the method_slots
	array before checking if the method is acceptable or not.

	Fixes #506757.


svn path=/branches/mono-2-4/mono/; revision=134944
2009-05-28 13:02:26 +00:00
Marek Habersack b32d5cd5c8 Backport of r134942
svn path=/branches/mono-2-4/mcs/; revision=134943
2009-05-28 12:34:59 +00:00
Marek Habersack 25134ad072 Backport of r134931
svn path=/branches/mono-2-4/mcs/; revision=134932
2009-05-28 09:03:48 +00:00
Marek Habersack 798a6ee9cf Backport of r134877
svn path=/branches/mono-2-4/mcs/; revision=134878
2009-05-27 20:54:42 +00:00
Andrew Jorgensen 01e82cb527 fix dist
svn path=/branches/mono-2-4/mcs/; revision=134874
2009-05-27 20:25:22 +00:00
Zoltan Varga cebff568eb 2009-05-27 Zoltan Varga <[email protected]>
* configure.in: Disable USE_MUNMAP on ppc to work around #504411.

svn path=/branches/mono-2-4/mono/; revision=134829
2009-05-27 12:26:05 +00:00
Zoltan Varga 92ff723bd0 2009-05-27 Zoltan Varga <[email protected]>
* AppDomain.cs (DoAssemblyResolve): Fix recursion detection. Fixes #507003.

svn path=/branches/mono-2-4/mcs/; revision=134825
2009-05-27 11:06:11 +00:00
Zoltan Varga 0ccffa1c56 2009-05-26 Zoltan Varga <[email protected]>
* mini-sparc.c (add_outarg_load): Fix the sparc build.

svn path=/branches/mono-2-4/mono/; revision=134800
2009-05-26 21:11:10 +00:00
Michael Barker 77884bdfa9 2009-05-25 Michael Barker <[email protected]>
* Removed amqp spec files and modified generated code to fix licensing 
	issues.

svn path=/branches/mono-2-4/mcs/; revision=134751
2009-05-26 10:52:31 +00:00
Marek Habersack d60167594d Backport of r134747
svn path=/branches/mono-2-4/mcs/; revision=134748
2009-05-26 10:02:27 +00:00
Rodrigo Kumpera c18b529f02 2009-05-25 Rodrigo Kumpera <[email protected]>
Backport of r134723.

	* class.c (mono_class_setup_fields): Don't mark simd types as having
	16 bytes alignment as the whole runtime doesn't support.


svn path=/branches/mono-2-4/mono/; revision=134724
2009-05-25 20:58:54 +00:00
Rodrigo Kumpera 83feb875fa 2009-05-25 Rodrigo Kumpera <[email protected]>
Backport of r134713/134715.

	* basic.cs: Add regression test for #506915.

	* method-to-ir.c (mono_method_to_ir): When doing the ldobj+stobj
	optimization we must check the bb of the first byte of stobj as
	it's the only one set in cil_offset_to_bb.

	Fixes #506915.	


svn path=/branches/mono-2-4/mono/; revision=134719
2009-05-25 19:04:10 +00:00
Marek Habersack bd9d2c3ecc Backport of r134682
svn path=/branches/mono-2-4/mcs/; revision=134683
2009-05-25 12:39:14 +00:00
Rodrigo Kumpera b5ef3f0ba0 2009-05-21 Rodrigo Kumpera <[email protected]>
Backport of r134536.

	* mini-x86.c (mono_arch_emit_call): The decompose code now supports
	decomposing 8 bytes structs into a LCALL.

	* mini-x86.c (emit_move_return_value): We no longer push the vtype
	pointer for where to store the returned regs.

	* decompose.c (mono_decompose_vtype_opts): Fix the comment to properly
	state the concern.

	Fixes #471747, #471751 and #4734530 (in fact, it's a bunch of dups).


svn path=/branches/mono-2-4/mono/; revision=134538
2009-05-21 14:55:04 +00:00
Marek Safar efb5876c2b 2009-05-21 Marek Safar <[email protected]>
A fix for bug #504667
	* class.cs: Check for static class using parent container instead of
	parent type.


svn path=/branches/mono-2-4/mcs/; revision=134524
2009-05-21 10:15:08 +00:00
Marek Safar baaa805118 2009-04-28 Marek Safar <[email protected]>
A fix for bug #495112
	* class.cs (IsUnmanagedType): Handle recursive unmanaged types using
	local cache.


svn path=/branches/mono-2-4/mcs/; revision=134522
2009-05-21 10:09:20 +00:00
Rodrigo Kumpera a5100746a9 2009-05-20 Rodrigo Kumpera <[email protected]>
Backport of r134470.

	* local-propagation.c (mono_local_cprop): Avoid local propagation
	across paired add/sub if the first instruction dest reg is it's
	source reg. For example:

	int_add_imm R12 <- R12 [1] clobbers: 1
	int_sub_imm R42 <- R12 [1] clobbers: 1

	The cprop pass would wrongly const prop + 1 to int_sub_imm which doesn't
	maintain the math identify.

	Fixes #505375.


svn path=/branches/mono-2-4/mono/; revision=134472
2009-05-20 19:52:20 +00:00
Dick Porter 7e797f40cd 2009-05-20 Dick Porter <[email protected]>
* XplatUICarbon.cs: Add more locking around MessageQueue
	manipulations.


svn path=/branches/mono-2-4/mcs/; revision=134466
2009-05-20 16:11:21 +00:00
Gonzalo Paniagua Javier c2c809fb85 revert. more things broken than fixed
svn path=/branches/mono-2-4/mcs/; revision=134364
2009-05-19 03:02:55 +00:00
Marek Habersack 6e9f407dfe Backport of r134342
svn path=/branches/mono-2-4/mcs/; revision=134343
2009-05-18 19:04:06 +00:00
Jb Evain b29ead8210 2009-05-18 Jb Evain <[email protected]>
backport of 134333.

	* Enumerable.cs (Max, Min): fix generic versions.


svn path=/branches/mono-2-4/mcs/; revision=134334
2009-05-18 17:09:15 +00:00
Veerapuram Varadhan 4a3d91e86d fix for #417398
svn path=/branches/mono-2-4/mcs/; revision=134314
2009-05-18 11:47:47 +00:00
Gonzalo Paniagua Javier 0320aca3ce 2009-05-16 Gonzalo Paniagua Javier <[email protected]>
* RouteCollection.cs: when there is no named route, try the current
	route before going through the list. The known values (default or
	not) for the current route are merged with the values provided when
	attempting to match.
	Example:
		Html.RouteLink ("Text", new { page = 5 });
	
	when the current path is /some/path-here and the route is:

		routes.MapRoute("RouteName", "some/{one}-{two}/{page}",
		new { controller = "Some", action = "Index", page = 1});


svn path=/branches/mono-2-4/mcs/; revision=134273
2009-05-16 09:41:11 +00:00
Gonzalo Paniagua Javier 175a146f47 2009-05-16 Gonzalo Paniagua Javier <[email protected]>
* HttpWebResponse.cs:
	* HttpWebRequest.cs: support automatic decompression of the response.
	Fixes bug #504391.



svn path=/branches/mono-2-4/mcs/; revision=134270
2009-05-16 05:47:12 +00:00
Veerapuram Varadhan 961333f673 2009-05-16 Veerapuram Varadhan <[email protected]>
** Fixes #325464 - ToolItems.xsd
	* CustomDataClassGenerator.cs (CreateDataSetTableMembers): Prefix a "_" to
	member names when it is same as that of the dataset.  Fixes the CS0542 error
	during compilation of the generated source.

svn path=/branches/mono-2-4/mcs/; revision=134264
2009-05-16 02:43:50 +00:00
Veerapuram Varadhan 7715562698 2009-05-16 Veerapuram Varadhan <[email protected]>
* Tds70.cs (WriteParameterInfo): fix r134256 backport errors.

svn path=/branches/mono-2-4/mcs/; revision=134262
2009-05-16 01:48:14 +00:00
Veerapuram Varadhan bf47ba5538 Nunit 2.4 changes and other sqlserver config fixes
svn path=/branches/mono-2-4/mcs/; revision=134261
2009-05-16 01:48:00 +00:00
Veerapuram Varadhan f114e716b0 Fix for bug #382589 and corresponding tests
svn path=/branches/mono-2-4/mcs/; revision=134260
2009-05-16 01:47:45 +00:00
Veerapuram Varadhan c0a0cb21a4 2009-05-16 Veerapuram Varadhan <[email protected]>
** Fixes #382589
	* Tds.cs (ServerTdsVersion): New property to access ServerVersion.

	* Tds70.cs (WriteParameterInfo): Treat Decimal types as Numeric
	types from SQL Server 2000.

	* TdsVersion.cs: Add SQL Server 2008 version.

svn path=/branches/mono-2-4/mcs/; revision=134259
2009-05-16 01:47:28 +00:00
Veerapuram Varadhan 2f6f1603b6 2009-09-15 Veerapuram Varadhan <[email protected]>
* OracleParameter.cs: Consider DBNull.Value as null and
	update size and sizeSet accordingly.

svn path=/branches/mono-2-4/mcs/; revision=134195
2009-05-15 11:04:10 +00:00
Veerapuram Varadhan 3730ece7de 2009-05-15 Veerapuram Varadhan <[email protected]>
** Fixes #424908
	* OracleParameter.cs:  Make sure size and sizeSet are properly
	updated whenever value changes.

svn path=/branches/mono-2-4/mcs/; revision=134194
2009-05-15 11:03:48 +00:00
Marek Habersack 953716e8cd Backport of r134176
svn path=/branches/mono-2-4/mcs/; revision=134177
2009-05-15 01:21:56 +00:00
Miguel de Icaza 00a66dbe5d Here as well
svn path=/branches/mono-2-4/mono/; revision=134145
2009-05-14 16:51:40 +00:00
Gonzalo Paniagua Javier cfa2cc2a08 2009-05-14 Gonzalo Paniagua Javier <[email protected]>
* TypeTest.cs: test for bug #503728


svn path=/branches/mono-2-4/mcs/; revision=134115
2009-05-14 10:24:18 +00:00
Gonzalo Paniagua Javier cccde54ea0 2009-05-14 Gonzalo Paniagua Javier <[email protected]>
* Type.cs: (GetInterfaceMap) 'this' can't be an interface itself.
	Fixed bug #503728.


svn path=/branches/mono-2-4/mcs/; revision=134113
2009-05-14 10:18:27 +00:00
Marek Habersack 6a5a182180 Backport r134097
svn path=/branches/mono-2-4/mcs/; revision=134098
2009-05-14 01:19:39 +00:00
Veerapuram Varadhan 1e81e3db35 2009-05-12 Veerapuram Varadhan <[email protected]>
** Fixes rest of #497715 - Patch by Jonas Larsson <[email protected]>
	* TdsMetaParameter.cs: Add support for XML type.  For now, handle
	XML type as just NVarchar.
	backport of r134079

svn path=/branches/mono-2-4/mcs/; revision=134080
2009-05-13 21:08:02 +00:00
Zoltan Varga 72a67245bd 2009-04-17 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_output_basic_block): Add a few nops before
	indirect calls to simplify get_vcall_slot_addr (). Fixes #494567.
	(mono_arch_get_vcall_slot): Simplify this.

svn path=/branches/mono-2-4/mono/; revision=134066
2009-05-13 15:58:38 +00:00
Zoltan Varga 6a1d1d113b 2009-05-07 Zoltan Varga <[email protected]>
* aot-compiler.c (add_wrappers): Add remoting-invoke-with-check wrappers
	for virtual methods too.

svn path=/branches/mono-2-4/mono/; revision=134065
2009-05-13 15:58:31 +00:00
Gonzalo Paniagua Javier 5e4ee8006b 2009-05-12 Gonzalo Paniagua Javier <[email protected]>
* UrlPattern.cs: if the pattern is line {a}/{b} and {b} is substituted
	by an empty string, remove the '/' too.


svn path=/branches/mono-2-4/mcs/; revision=134027
2009-05-13 00:39:20 +00:00
Gonzalo Paniagua Javier c75f541751 2009-05-12 Gonzalo Paniagua Javier <[email protected]>
* UrlPattern.cs: non-string default arguments work now.


svn path=/branches/mono-2-4/mcs/; revision=134013
2009-05-12 23:17:26 +00:00
Marek Habersack 2f447342f4 Backport of r133997
svn path=/branches/mono-2-4/mcs/; revision=133998
2009-05-12 21:51:19 +00:00
Marek Habersack 0e67677eaa Backport of r133990
svn path=/branches/mono-2-4/mcs/; revision=133991
2009-05-12 20:38:03 +00:00
Gonzalo Paniagua Javier 3d4ef534d3 2009-05-11 Gonzalo Paniagua Javier <[email protected]>
* TcpClient.cs:
	* Socket.cs:
	* UdpClient.cs: use GetHostAddresses() instead of Resolve or
	GetHostEntry.


svn path=/branches/mono-2-4/mcs/; revision=133952
2009-05-12 03:56:07 +00:00
Gonzalo Paniagua Javier ea13af4c15 2009-05-11 Gonzalo Paniagua Javier <[email protected]>
* Dns.cs: made GetHostAddresses and friends internal for 1.x
	* EndpointPermission.cs: use GetHostAddresses.


svn path=/branches/mono-2-4/mcs/; revision=133950
2009-05-12 03:49:40 +00:00
Gonzalo Paniagua Javier dad8256567 2009-05-11 Gonzalo Paniagua Javier <[email protected]>
* UdpClient.cs: if possible, avoid DNS lookups when the host name is
	an IP address. Related to bug #502866.


svn path=/branches/mono-2-4/mcs/; revision=133945
2009-05-12 03:14:47 +00:00
Marek Habersack 0846bfde9c Backport of r133904
svn path=/branches/mono-2-4/mcs/; revision=133906
2009-05-11 17:12:33 +00:00
Gonzalo Paniagua Javier 1353d2bd9d fix prev patch
svn path=/branches/mono-2-4/mcs/; revision=133875
2009-05-11 04:14:07 +00:00
Gonzalo Paniagua Javier 04f27881b2 2009-05-10 Gonzalo Paniagua Javier <[email protected]>
* CookieContainer.cs: matching hosts to domain names like MS does.
	Bug #421827 fixed.


svn path=/branches/mono-2-4/mcs/; revision=133873
2009-05-11 03:58:26 +00:00
Gonzalo Paniagua Javier de95f52a19 2009-05-10 Gonzalo Paniagua Javier <[email protected]>
* CustomizableFileSettingsProvider.cs: make sure 'values' is
	initialized in Reset(). Fixes bug #436592.


svn path=/branches/mono-2-4/mcs/; revision=133867
2009-05-11 02:06:11 +00:00
Marek Habersack 766fa75d4e Backport of r133861
svn path=/branches/mono-2-4/mcs/; revision=133862
2009-05-10 20:29:36 +00:00
Marek Habersack 4ed3bd43af Backport of r129198
svn path=/branches/mono-2-4/mcs/; revision=133822
2009-05-08 22:21:10 +00:00
Andrés G. Aragoneses 12f967afbb Backport from trunk (r133814)
svn path=/branches/mono-2-4/mcs/; revision=133819
2009-05-08 21:19:07 +00:00
Brad Taylor dd219fbf4a 2009-05-08 Brad Taylor <[email protected]>
* DateTimePicker.cs: Add a UIA-specific property to ensure that if
	is_checkbox_checked is changed, we won't break.


svn path=/branches/mono-2-4/mcs/; revision=133816
2009-05-08 20:29:31 +00:00
Gonzalo Paniagua Javier 2b0da97307 2009-05-08 Gonzalo Paniagua Javier <[email protected]>
* Convert.cs: backport from HEAD.


svn path=/branches/mono-2-4/mcs/; revision=133813
2009-05-08 19:35:53 +00:00
Marek Safar ed03a4b616 Updated after some trunk runtime changes went to 2.4
svn path=/branches/mono-2-4/mcs/; revision=133795
2009-05-08 17:06:48 +00:00
Miguel de Icaza 990c2886cc Fix another
svn path=/branches/mono-2-4/mcs/; revision=133791
2009-05-08 16:36:33 +00:00
Miguel de Icaza e153058144 backport fix
svn path=/branches/mono-2-4/mcs/; revision=133790
2009-05-08 16:29:08 +00:00
Brad Taylor d3d4619649 2009-05-08 Brad Taylor <[email protected]>
* DateTimePicker.cs: Wrap UIA specific code in NET_2_0 wrappers.  Send
	OnUIASelectionChanged when ShowCheckbox is true and the checkbox
	recieves focus.  Part of fix for #502029.


svn path=/branches/mono-2-4/mcs/; revision=133782
2009-05-08 15:58:01 +00:00
Veerapuram Varadhan 7f83ae1ecb backport of r133769
svn path=/branches/mono-2-4/mcs/; revision=133771
2009-05-08 14:26:00 +00:00
Miguel de Icaza 0d61dc371a Backport pain removal
svn path=/branches/mono-2-4/mono/; revision=133753
2009-05-08 02:11:27 +00:00
Gonzalo Paniagua Javier 5a565524f2 2009-05-07 Gonzalo Paniagua Javier <[email protected]>
* MimeTypes.cs: add silverlight related types.


svn path=/branches/mono-2-4/mcs/; revision=133750
2009-05-07 21:42:04 +00:00
Gonzalo Paniagua Javier beb06f5ba3 2009-05-07 Gonzalo Paniagua Javier <[email protected]>
* Connection.cs: if the socket is already disconnected, Shutdown will
	fail with a SocketException... Also, catch *all* the possible
	exceptions since the socket.Close method could also throw
	ObjectDisposedException.
	Fixes bug #449092.


svn path=/branches/mono-2-4/mcs/; revision=133735
2009-05-07 18:14:37 +00:00
Jeffrey Stedfast 03879114a5 2009-04-22 Jeffrey Stedfast <[email protected]>
* src/gtimer-win32.c (g_timer_elapsed): Avoid re-querying freq by
	just saving it in a static variable. Also modified microseconds
	calculation to avoid overflow.


svn path=/branches/mono-2-4/mono/; revision=133723
2009-05-07 15:40:41 +00:00
Jb Evain 2c7c1705fb 2009-05-07 Jb Evain <[email protected]>
backport of r133710.

	* XElement.cs (Load (XmlReader,LoadOptions)): prevent a NRE if
	the provided XmlReader doesn't have existing settings.
	Fixes #501589.

svn path=/branches/mono-2-4/mcs/; revision=133712
2009-05-07 07:27:36 +00:00
Miguel de Icaza ee8b6bcbfb Backport changes
svn path=/branches/mono-2-4/mcs/; revision=133701
2009-05-07 00:44:22 +00:00
Mike Gorse 1b4d05a818 * FileDialog.cs: Add UIAFocusedItemChanged to PopupButtonPanel.
Add PerformClick and PerformDoubleClick to PopupButton.
Fixes #499851.

svn path=/branches/mono-2-4/mcs/; revision=133666
2009-05-06 15:16:00 +00:00
Miguel de Icaza 454bed799a Backport fixes from trunk to 2-4 for eglib
svn path=/branches/mono-2-4/mono/; revision=133661
2009-05-06 15:06:25 +00:00
Zoltan Varga 46e970f78a 2009-05-06 Zoltan Varga <[email protected]>
Backport of r133651.

	* aot-compiler.c aot-runtime.c: Use our own hash function instead of
	g_str_hash () which can change.

svn path=/branches/mono-2-4/mono/; revision=133654
2009-05-06 13:32:07 +00:00
Zoltan Varga 0fce1b7b6c 2009-05-06 Zoltan Varga <[email protected]>
* driver.c (mini_regression): Disable optimizations not supported by
	the cpu. Fixes #500019.

svn path=/branches/mono-2-4/mono/; revision=133647
2009-05-06 10:47:16 +00:00
Gonzalo Paniagua Javier 56369a2b24 2009-05-05 Gonzalo Paniagua Javier <[email protected]>
* io-layer/events.c: fix event_signal and namedevent_signal to actually signal
	the handle.

	* metadata/icall-def.h:
	* metadata/threads-types.h:
	* metadata/threads.c: added internal call for WaitHandle.SignalAndWait.

svn path=/branches/mono-2-4/mono/; revision=133631
2009-05-06 01:15:01 +00:00
Lluis Sanchez fc78b62d49 2009-05-06 Lluis Sanchez Gual <[email protected]>
* Lease.cs: Don't use ArrayList.Remove() to remove sponsors because
	it will end calling Equals, which may crash if the sponsor is not
	available anymore. Just compare references.


svn path=/branches/mono-2-4/mcs/; revision=133623
2009-05-05 23:21:13 +00:00
Lluis Sanchez 16f49ea247 2009-05-06 Lluis Sanchez Gual <[email protected]>
* RealProxy.cs: If async dispatch crashes, don't propagate the
	exception. The exception will be raised when calling EndInvoke.


svn path=/branches/mono-2-4/mcs/; revision=133622
2009-05-05 23:21:00 +00:00
Miguel de Icaza 26635baa7d 2009-05-05 Miguel de Icaza <[email protected]>
* Contribution from David Uvalle <[email protected]> that
	implements FileInfo.Replace.

svn path=/branches/mono-2-4/mcs/; revision=133618
2009-05-05 22:58:54 +00:00
Marek Habersack 28bef0dc2c Backport of r133606
svn path=/branches/mono-2-4/mcs/; revision=133607
2009-05-05 20:47:23 +00:00
Zoltan Varga 9212e1ffd0 2009-05-05 Zoltan Varga <[email protected]>
* genmdesc.pl (load_opcodes): Fix this after the TARGET_... changes.

svn path=/branches/mono-2-4/mono/; revision=133602
2009-05-05 19:31:11 +00:00
Miguel de Icaza ebffe8d0dc Do not build docs if cross compiling or the mcs build is disabled
svn path=/branches/mono-2-4/mono/; revision=133593
2009-05-05 17:42:26 +00:00
Miguel de Icaza 734c7df34b There was a missing \
svn path=/branches/mono-2-4/mono/; revision=133589
2009-05-05 17:21:30 +00:00
Marek Habersack 4807150835 Backport of r133577
svn path=/branches/mono-2-4/mcs/; revision=133578
2009-05-05 13:17:50 +00:00
Marek Habersack f5a339a061 Backport r133574
svn path=/branches/mono-2-4/mcs/; revision=133575
2009-05-05 12:30:55 +00:00
Marek Habersack 1e9b516492 Backport of r133568
svn path=/branches/mono-2-4/mcs/; revision=133569
2009-05-05 09:03:49 +00:00
Carlos Alberto Cortez 6dd8581aa1 2009-05-04 Carlos Alberto Cortez <[email protected]>
* ToolStripDropDown.cs: In OnVisibleChanged, if we have an OwnerItem,
	fire OnDropDownOpened/OnDropDownClosed depending on the new
	visibility. This also ensures that any direct access to this instance
	will fire the mentioned events for the OwnerItem.
	* ToolStripDropDownItem.cs: Remove the invocations to
	OnDropDownOpened/OnDropDownClosed, since they are handled in
	ToolStripDropDown, as well as updating the
	OnDropDownHide/OnDropDownShow calls to be in the right order.
	Fixes #496139.


svn path=/branches/mono-2-4/mcs/; revision=133554
2009-05-05 01:49:02 +00:00
Carlos Alberto Cortez f96863c0c0 2009-05-04 Carlos Alberto Cortez <[email protected]>
* MaskedTextBox.cs: If Insert is pressed, change the internal
	overwrite mode for our default value.
	Fixes some bits of #477395.


svn path=/branches/mono-2-4/mcs/; revision=133552
2009-05-05 01:45:40 +00:00
Carlos Alberto Cortez 65f53a293d 2009-05-04 Carlos Alberto Cortez <[email protected]>
* MaskedTextBox.cs: When setting Text use the very precise algorithm
	that .net uses: iterate over every char of the new value, trying to
	use every char, and use a normal call to MaskedTextProvider.Replace
	call if RejectInputOnFirstFailure is true. Fire OnMaskInputRejected 
	in case of error in both cases, as well.
	Fixes #477408.


svn path=/branches/mono-2-4/mcs/; revision=133551
2009-05-05 01:42:19 +00:00
Carlos Alberto Cortez 54983f1c97 2009-05-04 Carlos Alberto Cortez <[email protected]>
* MaskedTextBox.cs: Handle OnKeyDown to properly process the Delete
	key. Also create a new method to avoid code duplication between
	OnKeyDown and OnKeyPress.
	Fixes #477388.


svn path=/branches/mono-2-4/mcs/; revision=133550
2009-05-05 01:40:10 +00:00
Carlos Alberto Cortez a750705f64 2009-05-04 Carlos Alberto Cortez <[email protected]>
* MaskedTextBox.cs: In OnKeyPress the IsOverwriteMode check is
	actually inversed, so put it the right way. Also, don't automatically
	look for the next editable item after adding a new one, but way for
	the next insertion (this is what .net does) - this is not needed when
	MaskedTextProvider.InsertAt is called however, since it already looks for the
	next editable position.
	Fixes the remaining bits of #477383.


svn path=/branches/mono-2-4/mcs/; revision=133549
2009-05-05 01:35:56 +00:00
Carlos Alberto Cortez 6f5aeb8948 2009-05-04 Carlos Alberto Cortez <[email protected]>
* MaskedTextBox.cs: In OnKeyPress handle backspace by calling
	MaskedTextProvider.RemoveAt method. Also for setting the SelectionStart
	property after the text was modified, adjust the testPosition value
	depending on what method was called.
	Fixes part of #477383.


svn path=/branches/mono-2-4/mcs/; revision=133548
2009-05-05 01:33:47 +00:00
Andrés G. Aragoneses 7569f306e1 Backport from trunk (r133510)
svn path=/branches/mono-2-4/mcs/; revision=133512
2009-05-04 16:30:43 +00:00
Marek Habersack 3d96aa17e4 Backport of r133500
svn path=/branches/mono-2-4/mcs/; revision=133501
2009-05-04 13:30:12 +00:00
Gonzalo Paniagua Javier 13ae2a4d50 2009-05-03 Gonzalo Paniagua Javier <[email protected]>
* TermInfoDriver.cs: replace Peek with DataAvailable.


svn path=/branches/mono-2-4/mcs/; revision=133462
2009-05-04 03:40:12 +00:00
Gonzalo Paniagua Javier 37158959c3 2009-05-03 Gonzalo Paniagua Javier <[email protected]>
* Ping.cs: we just need the address(es), not a host entry. This avoids
	querying the DNS server(s) when the target is an IP address.


svn path=/branches/mono-2-4/mcs/; revision=133460
2009-05-04 03:14:44 +00:00
Sebastien Pouliot 951c613a76 2009-05-03 Sebastien Pouliot <[email protected]>
* MethodInfoTest.cs: Add test cases from Joachim Ante for bug
	#500385.
	[Backport of r133428]


svn path=/branches/mono-2-4/mcs/; revision=133430
2009-05-03 16:27:06 +00:00
Martin Baulig 70da744115 2009-05-03 Martin Baulig <[email protected]>
* debug-debugger.c (debugger_insert_source_breakpoint): Don't call
	mono_debugger_insert_method_breakpoint() since the class init
	handler we're inserting at the top of the method already gives us
	a notification.

svn path=/branches/mono-2-4/mono/; revision=133424
2009-05-03 12:44:37 +00:00
Veerapuram Varadhan 85e63d2cd5 ChangeLog conflict changes
svn path=/branches/mono-2-4/mcs/; revision=133363
2009-05-02 05:03:40 +00:00
Veerapuram Varadhan f249a2c1db 2009-04-19 Veerapuram Varadhan <[email protected]>
* Tds.cs (InitExec): Move initialization of state variables here.  Useful
	in case of asynchronous queries.

svn path=/branches/mono-2-4/mcs/; revision=133362
2009-05-02 05:03:20 +00:00
Veerapuram Varadhan 43bd6f2f86 2009-04-16 Veerapuram Varadhan <[email protected]>
* Tds.cs (ExecuteQuery): Reset all the variables related to LoadData when
	performing queries with SequentialAccess set to true.  Fixes incorrect
	handling of data retrieval when consecutive queries are run with
	SequentialAccess set to true.

svn path=/branches/mono-2-4/mcs/; revision=133361
2009-05-02 05:02:56 +00:00
Veerapuram Varadhan 4bc5df32e1 2009-04-14 Veerapuram Varadhan <[email protected]>
* Tds.cs (ExecuteQuery): Reset SequentialAccess read state variables
	in order to avoid blocking forever when two consecutive queries are
	executed with SequetialAccess set to true.

svn path=/branches/mono-2-4/mcs/; revision=133360
2009-05-02 05:02:33 +00:00
Veerapuram Varadhan e6367cc7d6 backport of r129377
svn path=/branches/mono-2-4/mcs/; revision=133359
2009-05-02 05:02:03 +00:00
Gonzalo Paniagua Javier a9e450aa11 2009-05-01 Gonzalo Paniagua Javier <[email protected]>
* SqliteConnection.cs: implement Dispose for 2.0. It was leaking an fd
	in using().
	Bug #499864 fixed.


svn path=/branches/mono-2-4/mcs/; revision=133255
2009-05-01 04:28:58 +00:00
Gonzalo Paniagua Javier cfcea6721d 2009-04-30 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: return the last error if a connect to multiple addresses
	fails.


svn path=/branches/mono-2-4/mcs/; revision=133253
2009-05-01 03:29:25 +00:00
Marek Habersack c452847c6e Backport of r133169
svn path=/branches/mono-2-4/mcs/; revision=133170
2009-04-30 10:54:01 +00:00
Zoltan Varga b5a9fcd4d3 2009-04-30 Zoltan Varga <[email protected]>
* appdomain.c (ves_icall_System_AppDomain_GetAssemblies): Avoid
	returning refonly assemblies if refonly is FALSE. Fixes #499013.

svn path=/branches/mono-2-4/mono/; revision=133165
2009-04-30 07:37:56 +00:00
Zoltan Varga 212a86bd9d 2009-04-30 Zoltan Varga <[email protected]>
* aot-compiler.c (asm_writer_emit_writeout): Strip 'mapping symbols'
	when compiling for ARM.

svn path=/branches/mono-2-4/mono/; revision=133085
2009-04-29 22:41:19 +00:00
Gonzalo Paniagua Javier 4106ae8724 2009-04-29 Gonzalo Paniagua Javier <[email protected]>
* sockets.c: don't display a warning when connect() fails because the
	socket was closed in another thread.


svn path=/branches/mono-2-4/mono/; revision=133032
2009-04-29 16:01:18 +00:00
Zoltan Varga f7a6b3c10d 2009-04-29 Zoltan Varga <[email protected]>
* method-to-ir.c (inline_method): Save/Restore cfg->ret_var_set too.

svn path=/branches/mono-2-4/mono/; revision=133022
2009-04-29 15:05:24 +00:00
Marek Habersack 68fbdb13ff Backport of r132962
svn path=/branches/mono-2-4/mcs/; revision=133004
2009-04-29 13:27:49 +00:00
Zoltan Varga 378ea0e69a 2009-04-29 Zoltan Varga <[email protected]>
* mini.c (mini_method_compile): Use TARGET_<ARCH> defines instead of
	__<arch>__ defines in the JIT code.

svn path=/branches/mono-2-4/mono/; revision=132980
2009-04-29 10:00:32 +00:00
Zoltan Varga 2d66b2d667 2009-04-29 Zoltan Varga <[email protected]>
* *.h *.c: Use TARGET_<ARCH> defines instead of __<arch>__ defines in the
	JIT code.

svn path=/branches/mono-2-4/mono/; revision=132979
2009-04-29 09:43:51 +00:00
Zoltan Varga 1c8136a644 2009-04-28 Zoltan Varga <[email protected]>
* configure.in: Define a TARGET_<ARCH> preprocessor symbol for some
	architectures.

svn path=/branches/mono-2-4/mono/; revision=132978
2009-04-29 09:43:41 +00:00
Gonzalo Paniagua Javier c19e82d15a fix test
svn path=/branches/mono-2-4/mcs/; revision=132957
2009-04-29 05:42:16 +00:00
Gonzalo Paniagua Javier 4c4ea4bc09 2009-04-29 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: return the value as an enum of the right type.


svn path=/branches/mono-2-4/mcs/; revision=132954
2009-04-29 05:29:15 +00:00
Gonzalo Paniagua Javier 11da3ab5e4 fix changelog
svn path=/branches/mono-2-4/mcs/; revision=132948
2009-04-29 03:21:27 +00:00
Gonzalo Paniagua Javier 0ad99d28da 2009-04-13 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: the collection returned from ParseQueryString knows
	how to convert the key/value pairs to a string.


svn path=/branches/mono-2-4/mcs/; revision=132947
2009-04-29 03:19:22 +00:00
Gonzalo Paniagua Javier 588cb965ee 2009-04-28 Gonzalo Paniagua Javier <[email protected]>
* Enum.cs: avoid exceptions from ToObject and use Try* instead.


svn path=/branches/mono-2-4/mcs/; revision=132945
2009-04-29 03:00:32 +00:00
Gonzalo Paniagua Javier 65b57eb6ac 2009-04-28 Gonzalo Paniagua Javier <[email protected]>
* SqlConnection.cs: if the error causes a disconnection from the
	server, close the data stream.


svn path=/branches/mono-2-4/mcs/; revision=132943
2009-04-29 02:55:23 +00:00
Gonzalo Paniagua Javier 4e7ab67563 changelog
svn path=/branches/mono-2-4/mcs/; revision=132941
2009-04-29 02:53:31 +00:00
Gonzalo Paniagua Javier 61602b310d 2009-04-28 Gonzalo Paniagua Javier <[email protected]>
* TdsConnectionPool.cs: if GetConnection() fails to create a
	connection, try again several times and then throw. Improved
	ResetConnectionPool() so that it does not immediately close
	connections in use. Don't re-add connections that have been closed.

	* Tds.cs: Connected tests the socket connection too. Made Disconnect()
	not throw.

	* TdsComm.cs: set more socket options (timeout and NoDelay) and have a
	single entry point for reading from the stream.


svn path=/branches/mono-2-4/mcs/; revision=132940
2009-04-29 02:53:11 +00:00
Zoltan Varga 510d3ffb5a 2009-04-29 Zoltan Varga <[email protected]>
* gc_wrapper.h: Disable thread-local alloc for arm too.

svn path=/branches/mono-2-4/mono/; revision=132913
2009-04-28 23:16:34 +00:00
Zoltan Varga ee0244dfc5 2009-01-25 Zoltan Varga <[email protected]>
* acinclude.m4 (dolt_supported): Handle ARM as well.

svn path=/branches/mono-2-4/mono/; revision=132904
2009-04-28 22:44:50 +00:00
Zoltan Varga 3eb001da36 2009-04-28 Zoltan Varga <[email protected]>
* configure.in: Add an option to disable the solaris tar check.

svn path=/branches/mono-2-4/mono/; revision=132900
2009-04-28 22:32:41 +00:00
Martin Baulig 29035caddf **** Backport of r130659 ****
2009-03-31  Martin Baulig  <[email protected]>

	* mono-debug-debugger.h (MonoDebuggerEvent): Add
	`MONO_DEBUGGER_EVENT_CREATE_APPDOMAIN' and
	`MONO_DEBUGGER_EVENT_UNLOAD_APPDOMAIN'.
	(mono_debugger_event_create_appdomain): New function.
	(mono_debugger_event_unload_appdomain): New function.

	* appdomain.c (mono_domain_create_appdomain_internal): Call
	mono_debugger_event_create_appdomain().

svn path=/branches/mono-2-4/mono/; revision=132892
2009-04-28 21:11:23 +00:00
Martin Baulig 77754c9b71 **** Backport of r130658 ****
2009-03-31  Martin Baulig  <[email protected]>

	* debug-debugger.c (debugger_remove_breakpoint): Call
	mono_debugger_remove_class_init_callback ().

2009-03-31  Martin Baulig  <[email protected]>

	* mono-debug-debugger.c
	(mono_debugger_register_class_init_callback): Also register the
	class init callback if the class is already initialized to make
	things work with shadow copied assemblies.

svn path=/branches/mono-2-4/mono/; revision=132891
2009-04-28 21:11:07 +00:00
Zoltan Varga 70a3b232fd 2009-04-28 Zoltan Varga <[email protected]>
* image.c (mono_image_fixup_vtable): Avoid casting an lvalue. Fixes
	part of #498692.

svn path=/branches/mono-2-4/mono/; revision=132877
2009-04-28 18:12:40 +00:00
Zoltan Varga 6203a2757a 2009-04-28 Zoltan Varga <[email protected]>
* misc.c (GC_init): Avoid casting an lvalue. Fixes part of #498692.

svn path=/branches/mono-2-4/mono/; revision=132876
2009-04-28 18:12:32 +00:00
Zoltan Varga c294459c83 2009-04-23 Tom Hindle <[email protected]>
* cominterop.c (ves_icall_System_Runtime_InteropServices_Marshal_ReleaseComObjectInternal):
	changed to match .Net behaviour of not aborting on additional calls to ReleaseComObject.

svn path=/branches/mono-2-4/mono/; revision=132873
2009-04-28 18:02:13 +00:00
Gonzalo Paniagua Javier f639f4a183 2009-04-28 Gonzalo Paniagua Javier <[email protected]>
* ConsoleTraceListener.cs: add an internal constructor that takes a
	string argument. Used when 'initializeData' is set.
	* DiagnosticsConfigurationHandler.cs: try internal constructors when
	the assembly is System.
	Fixes bug #498853.


svn path=/branches/mono-2-4/mcs/; revision=132869
2009-04-28 17:47:49 +00:00
Miguel de Icaza 04470304fc Update: +EXPR was never supported, just EXPR
svn path=/branches/mono-2-4/mono/; revision=132849
2009-04-28 14:53:51 +00:00
Marek Habersack 8010c932da Backport of r132812
svn path=/branches/mono-2-4/mcs/; revision=132813
2009-04-28 08:40:04 +00:00
Andrés G. Aragoneses 864052686a backport r132782
svn path=/branches/mono-2-4/mcs/; revision=132783
2009-04-27 20:35:41 +00:00
Brad Taylor 95f681ad07 2009-04-27 Brad Taylor <[email protected]>
* ToolStripButton.cs: Emit an internal event when CheckOnClick is
	changed.


svn path=/branches/mono-2-4/mcs/; revision=132780
2009-04-27 20:14:01 +00:00
Gonzalo Paniagua Javier f983adfba7 2009-04-27 Gonzalo Paniagua Javier <[email protected]>
* assembly.c: assemblies in the GAC should never be shadow-copied.


svn path=/branches/mono-2-4/mono/; revision=132765
2009-04-27 16:34:37 +00:00
Marek Habersack ad2ff59c4e Backport of r130971
svn path=/branches/mono-2-4/mcs/; revision=132708
2009-04-27 07:06:49 +00:00
Miguel de Icaza 353e721243 Backport:
2009-04-25  Miguel de Icaza  <[email protected]>

	* StreamReader.cs (DataAvailable): New internal function to work
	around the fact that StreamReaders are now blocking on Peek(), and
	that our own Console.TermInfoDriver used Peek() as a way of
	probing if there was data on a stream before to avoid blocking. o

2009-04-25  Miguel de Icaza  <[email protected]>

	* TermInfoDriver.cs: Use the new StreamReader.DataAvailable to
	load all the data that was added into the `stdin' stream when we
	did the `Read'.


svn path=/branches/mono-2-4/mcs/; revision=132671
2009-04-25 19:33:31 +00:00
Miguel de Icaza 6d8d1190c8 Reapply the fix from Gonzalo for 496905 and apply his patch to TermInfodriver that fixes csharp usage
svn path=/branches/mono-2-4/mcs/; revision=132669
2009-04-25 19:04:47 +00:00
Miguel de Icaza 9f8610512d 2009-04-25 Miguel de Icaza <[email protected]>
Backport of r129367
	
        * Convert.cs (ToType): Control whether this internal function will
        call an IConvertible.ToType method or not.

        Classes and structs implementing IConvertible in mscorlib (the
        only callers that can access Convert.ToType) must pass false to
        avoid a infinite recursion problem and callers from the public
        Convert API must call it with true.

        This fixes the regression reported in #485377 that was introduced
        by the fix for #481687.

        * Int16.cs, UInt64.cs, Double.cs, Enum.cs, SByte.cs, UInt16.cs,
        Byte.cs, Decimal.cs, Int32.cs, String.cs, Int64.cs, Char.cs,
        Boolean.cs, Single.cs, UInt32.cs: Update the call sites.

svn path=/branches/mono-2-4/mcs/; revision=132668
2009-04-25 19:03:52 +00:00
Miguel de Icaza 82183bbfbd Revert 132603, 132604 as it made the csharp console stop working
svn path=/branches/mono-2-4/mcs/; revision=132639
2009-04-24 23:47:29 +00:00
Marek Habersack aeb9042fbf Backport of r132619
svn path=/branches/mono-2-4/mcs/; revision=132620
2009-04-24 20:56:02 +00:00
Marek Habersack e4a8ce3b6c Backport of r132617
svn path=/branches/mono-2-4/mcs/; revision=132618
2009-04-24 20:44:48 +00:00
Marek Habersack 669895404a Backport of r132607
svn path=/branches/mono-2-4/mcs/; revision=132608
2009-04-24 18:54:59 +00:00
Gonzalo Paniagua Javier 0cbba93484 2009-04-24 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: if Peek() needs to block, do it.
	Fixes bug #496905.


svn path=/branches/mono-2-4/mcs/; revision=132604
2009-04-24 16:46:47 +00:00
Gonzalo Paniagua Javier 85abf75e04 2009-04-24 Gonzalo Paniagua Javier <[email protected]>
* StreamReaderTest.cs: new test. Using Peek() when we did a short read
	should block if needed.


svn path=/branches/mono-2-4/mcs/; revision=132603
2009-04-24 16:46:37 +00:00
Zoltan Varga 5ae581bcdd 2009-02-22 Zoltan Varga <[email protected]>
* threads.c (mono_thread_suspend_all_other_threads): Handle the case when
	the a thread does not suspend within 100ms.

	* monitor.c (mono_monitor_try_enter_internal): Handle SuspendRequested
	in addition to StopRequested as well.

svn path=/branches/mono-2-4/mono/; revision=132494
2009-04-23 17:47:52 +00:00
Marek Habersack ff03387d96 Backport of r132482
svn path=/branches/mono-2-4/mcs/; revision=132483
2009-04-23 16:48:13 +00:00
Gonzalo Paniagua Javier ea3901feb9 2009-04-22 Gonzalo Paniagua Javier <[email protected]>
* Win32Exception.cs: made W32ErrorMessage internal.


svn path=/branches/mono-2-4/mcs/; revision=132395
2009-04-22 19:01:36 +00:00
Gonzalo Paniagua Javier 53e2b831d2 2009-04-22 Gonzalo Paniagua Javier <[email protected]>
* Microsoft.CSharp/CSharpCodeCompiler.cs:
	* Microsoft.VisualBasic/VBCodeCompiler.cs: better error when there's a
	problem running the specified exec.


svn path=/branches/mono-2-4/mcs/; revision=132391
2009-04-22 18:37:47 +00:00
Marek Habersack 13ff6c52c4 Backport of r132366
svn path=/branches/mono-2-4/mcs/; revision=132367
2009-04-22 14:56:22 +00:00
Zoltan Varga 5027d8438f 2009-04-22 Zoltan Varga <[email protected]>
* method-to-ir.c (mono_method_to_ir): Force init_locals to be TRUE
	to prevent asserts in various passes. Fixes #497220.

svn path=/branches/mono-2-4/mono/; revision=132365
2009-04-22 13:06:14 +00:00
Gonzalo Paniagua Javier e14429066c 2009-04-21 Gonzalo Paniagua Javier <[email protected]>
* HttpSoapWebServiceHandler.cs: provide the full stack trace instead
	of just the Message to aid in debugging web service problems.
	Bug #496758 fixed.


svn path=/branches/mono-2-4/mcs/; revision=132336
2009-04-21 22:42:06 +00:00
Marek Habersack 0ec0584d37 Backport of r132312
svn path=/branches/mono-2-4/mcs/; revision=132313
2009-04-21 19:57:28 +00:00
Marek Habersack a62741d0f9 Backport of r132300
svn path=/branches/mono-2-4/mcs/; revision=132302
2009-04-21 17:54:52 +00:00
Zoltan Varga 86eb24ad8c 2009-04-21 Zoltan Varga <[email protected]>
* mini-trampolines.c (mono_generic_class_init_trampoline): Remove
	a racy assert.

svn path=/branches/mono-2-4/mono/; revision=132301
2009-04-21 17:54:46 +00:00
Gonzalo Paniagua Javier 2ffdbbf908 2009-04-21 Gonzalo Paniagua Javier <[email protected]>
* DnsTest.cs: new IP for go-mono and fix AsyncResolve test.


svn path=/branches/mono-2-4/mcs/; revision=132295
2009-04-21 17:03:35 +00:00
Gonzalo Paniagua Javier 26c6c53f56 2009-04-21 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: End* methods can only be called once per IAsyncResult.
	Bug #466031 fixed.


svn path=/branches/mono-2-4/mcs/; revision=132222
2009-04-21 04:54:48 +00:00
Miguel de Icaza 6af6410175 backport
svn path=/branches/mono-2-4/mono/; revision=132219
2009-04-21 00:41:05 +00:00
Miguel de Icaza b577be87cf Backport
svn path=/branches/mono-2-4/mcs/; revision=132020
2009-04-17 16:31:45 +00:00
Marek Habersack c40b89e6fc Backport of r131983
svn path=/branches/mono-2-4/mcs/; revision=131984
2009-04-17 09:39:27 +00:00
Marek Habersack 976e225e29 Backport of r131977
svn path=/branches/mono-2-4/mcs/; revision=131978
2009-04-17 07:41:56 +00:00
Zoltan Varga 2c0ab98242 2009-04-16 Zoltan Varga <[email protected]>
* aot-compiler.c (mono_xdebug_init): Fix the DISABLE_AOT build.

svn path=/branches/mono-2-4/mono/; revision=131940
2009-04-16 20:44:28 +00:00
Sebastien Pouliot 55430eba96 2009-04-16 Sebastien Pouliot <[email protected]>
* IsolatedStorageFile.cs: Fix thread-safety issue at creation time.
	[Fix bug #431039]
	* IsolatedStorageFileStream.cs: Fix missing path check in Verify.
	[Fix bug #487659]
	[Backport of SVN r131886]


svn path=/branches/mono-2-4/mcs/; revision=131890
2009-04-16 12:29:43 +00:00
Marek Habersack 48bf31774c Backport of r131888
svn path=/branches/mono-2-4/mcs/; revision=131889
2009-04-16 12:27:27 +00:00
Marek Habersack e7c3dc6d6d Backport of r131874
svn path=/branches/mono-2-4/mcs/; revision=131875
2009-04-16 09:52:32 +00:00
Martin Baulig efbba49bb6 2009-04-15 Martin Baulig <[email protected]>
**** Backport of r131819 ****

	* MonoSymbolWriter.cs: Move `ISourceFile', `ICompileUnit' and
	`IMethodDef' into MonoSymbolFile.cs.  This allows us to use the
	symbol reader part without MonoSymbolWriter.cs.


svn path=/branches/mono-2-4/mcs/; revision=131820
2009-04-15 19:45:25 +00:00
Martin Baulig 0418900afe 2009-04-15 Martin Baulig <[email protected]>
**** Backport of r131801 ****

	* MonoSymbolTable.cs
	(LineNumberTable.DW_LNE_MONO__extensions_start): New const.
	(LineNumberTable.DW_LNE_MONO__extensions_end): New const.
	(LineNumberTable.DoRead): Ignore unknown extended opcodes if
	they're within the Mono extension range.


svn path=/branches/mono-2-4/mcs/; revision=131806
2009-04-15 18:07:19 +00:00
Martin Baulig 177033b01d 2009-04-15 Martin Baulig <[email protected]>
**** Backport of r131800 ****

	* debug-mono-symfile.c
	(mono_debug_symfile_lookup_location): Don't print a warning for
	unknown extended opcodes if they're within 0x40 and 0x7f.


svn path=/branches/mono-2-4/mono/; revision=131803
2009-04-15 18:02:31 +00:00
Marek Habersack 3868815d93 Backport of r131768
svn path=/branches/mono-2-4/mcs/; revision=131769
2009-04-15 13:33:25 +00:00
Marek Habersack a8f6747a1d Backport of r131752
svn path=/branches/mono-2-4/mcs/; revision=131753
2009-04-15 11:11:58 +00:00
Marek Habersack 95094b546f Backport of r131734
svn path=/branches/mono-2-4/mcs/; revision=131735
2009-04-15 07:25:34 +00:00
Gonzalo Paniagua Javier 42adc1fadf 2009-04-15 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputText.cs: make sure we're inside a Page before dereferencing
	it.


svn path=/branches/mono-2-4/mcs/; revision=131731
2009-04-15 05:42:00 +00:00
Gonzalo Paniagua Javier fbb0a1d700 2009-04-13 Gonzalo Paniagua Javier <[email protected]>
* HttpUtility.cs: the collection returned from ParseQueryString knows
	how to convert the key/value pairs to a string.


svn path=/branches/mono-2-4/mcs/; revision=131600
2009-04-13 16:28:42 +00:00
Marek Safar dba6b90691 Updated.
svn path=/branches/mono-2-4/mcs/; revision=131591
2009-04-13 13:41:29 +00:00
Marek Safar 359ff00cea 2009-04-13 Marek Safar <[email protected]>
A fix for bug #493887
	* statement.cs: Don't skip string multi-section with default or
	null label when populating string hashtable.


svn path=/branches/mono-2-4/mcs/; revision=131590
2009-04-13 13:40:55 +00:00
Marek Safar 0da086728d Updated.
svn path=/branches/mono-2-4/mcs/; revision=131523
2009-04-11 16:57:08 +00:00
Marek Safar f3762672ee 2009-04-11 Marek Safar <[email protected]>
A fix for bug #492329
	* expression.cs (New): Workaround broken TypeManager.IsValueType.


svn path=/branches/mono-2-4/mcs/; revision=131522
2009-04-11 16:56:55 +00:00
Marek Habersack 8fab207e32 Backport of r131511
svn path=/branches/mono-2-4/mcs/; revision=131512
2009-04-11 13:37:11 +00:00
Zoltan Varga 3add210d9b 2009-04-10 Zoltan Varga <[email protected]>
* include/private/gc_locks.h (GC_test_and_set): Merge a change from libgc
	7.1's libatomic-ops to fix the ppc build with gcc 4.4.

svn path=/branches/mono-2-4/mono/; revision=131472
2009-04-10 14:34:27 +00:00
Marek Habersack ff746e27dc 2009-04-10 Marek Habersack <[email protected]>
* BuildManager.cs: enabled recursion checking for page
	targets. Also, if a built item is skipped because it has been
	compiled recursively, add its assembly to the list of referenced
	assemblies for the batch being currently compiled.

svn path=/branches/mono-2-4/mcs/; revision=131466
2009-04-10 10:10:04 +00:00
Gonzalo Paniagua Javier d92ce85174 2009-03-25 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: ClearHeaders() also resets cacheability.
	Bug #485557 fixed.


svn path=/branches/mono-2-4/mcs/; revision=131452
2009-04-10 04:48:30 +00:00
Jonathan Pryor c4d730fecd * mdoc-update.1: Document -L, -r options.
svn path=/branches/mono-2-4/mono/; revision=131448
2009-04-10 02:05:25 +00:00
Jonathan Pryor f3af0d49c9 * Mono.Documentation/monodocer.cs: Using a single IAssemblyResolver is
an improvement, but doesn't fix all problems.  In particular, some
	  assemblies will depend upon other assemblies to load (e.g. 3rd party
	  assemblies) but these dependent assemblies shouldn't be documented.
	  Add support for -r:ASSEMBLY and -L:DIRECTORY arguments to allow the
	  user to manually add to the assembly search path so that assemblies
	  can be found.  Assemblies added via -r will NOT be documented.

svn path=/branches/mono-2-4/mcs/; revision=131446
2009-04-10 01:45:54 +00:00
Zoltan Varga 5e58dfc8f1 2009-04-09 Zoltan Varga <[email protected]>
* mini-arm.h: Error out if VFP support is requested, since its not
	complete in 2.4.

svn path=/branches/mono-2-4/mono/; revision=131425
2009-04-09 20:52:11 +00:00
Jonathan Pryor 56fb74913a * Mono.Documentation/monodocer.cs: Use a single IAssemblyResolver
shared amongst all AssemblyDefinitions to resolve assembly/type
	  references with Cecil.  Otherwise, if we have deeply nested
	  directories with cross-directory assembly dependencies, then Cecil
	  won't find the necessary assemblies (e.g. b/bin/Debug/b.dll has a
	  type which inherits from a/bin/Debug/a.dll -- here, we'll have two
	  separate AssemblyDefinitions, and when b.dll's AssemblyDefinition
	  tries to resolve types from a.dll, it fails).
	  See: http://lists.ximian.com/pipermail/mono-devel-list/2009-April/031646.html

svn path=/branches/mono-2-4/mcs/; revision=131366
2009-04-08 21:39:48 +00:00
Marek Habersack 977f185512 Backport of r131314
svn path=/branches/mono-2-4/mcs/; revision=131316
2009-04-08 11:32:54 +00:00
Marek Habersack 0fd7dba26a Backport of r131225
svn path=/branches/mono-2-4/mcs/; revision=131226
2009-04-07 13:06:19 +00:00
Marek Habersack 04b1406fa8 Backport of r131214
svn path=/branches/mono-2-4/mcs/; revision=131215
2009-04-07 10:56:57 +00:00
Marek Habersack 1e4e6fbc02 Backport of r131210
svn path=/branches/mono-2-4/mcs/; revision=131211
2009-04-07 10:45:26 +00:00
Gonzalo Paniagua Javier f001027f81 2009-04-06 Gonzalo Paniagua Javier <[email protected]>
* FtpWebRequest.cs: send REST after PASV to avoid some servers
	forgetting aboout it.
	Bug #491590 fixed.


svn path=/branches/mono-2-4/mcs/; revision=131181
2009-04-07 00:05:40 +00:00
Marek Habersack 8f7f035288 Fix the build
svn path=/branches/mono-2-4/mcs/; revision=131106
2009-04-06 11:00:27 +00:00
Marek Safar f44d422aef 2009-04-06 Marek Safar <[email protected]>
A fix for bug #492329
	* expression.cs (New): Load variable when assigning type parameter
	to ref variable.


svn path=/branches/mono-2-4/mcs/; revision=131103
2009-04-06 10:35:58 +00:00
Marek Safar 8d8ae6a36a 2009-04-06 Marek Safar <[email protected]>
A fix for bug #488960
	* decl.cs: Compare MVAR types using non-null values.


svn path=/branches/mono-2-4/mcs/; revision=131099
2009-04-06 09:04:36 +00:00
Veerapuram Varadhan c77179d098 New: IntervalDescriptor implementation file
Implements  basic OciInterval types handling


Conflicts:

svn path=/branches/mono-2-4/mcs/; revision=131092
2009-04-06 05:36:47 +00:00
Veerapuram Varadhan 6e1812bf0c backport of r130709
svn path=/branches/mono-2-4/mcs/; revision=131091
2009-04-06 05:32:01 +00:00
Veerapuram Varadhan 66cf3e30bd backport or r130490
svn path=/branches/mono-2-4/mcs/; revision=131090
2009-04-06 05:31:43 +00:00
Veerapuram Varadhan 2c16e09089 backport of r129864
svn path=/branches/mono-2-4/mcs/; revision=131089
2009-04-06 05:31:22 +00:00
Gonzalo Paniagua Javier 397c889bbb fix the 1.1 build
svn path=/branches/mono-2-4/mcs/; revision=131057
2009-04-04 20:30:36 +00:00
Gonzalo Paniagua Javier 4384904433 2009-04-04 Gonzalo Paniagua Javier <[email protected]>
* AssemblyResourceLoader.cs: MS sets cacheability to public. Add
	Last-Modified header and return 304 if validating max-age=0 or
	If-Modified-Since succeeds.


svn path=/branches/mono-2-4/mcs/; revision=131054
2009-04-04 19:53:38 +00:00
Marek Habersack 4b303da408 Backport of r130982
svn path=/branches/mono-2-4/mcs/; revision=130983
2009-04-03 16:38:45 +00:00
Marek Habersack 1e7ab5d674 Backport of r130979
svn path=/branches/mono-2-4/mcs/; revision=130980
2009-04-03 16:02:31 +00:00
Marek Habersack 2cb87f749f Backport of r130972
svn path=/branches/mono-2-4/mcs/; revision=130973
2009-04-03 14:49:42 +00:00
Jb Evain cc67b3f262 2009-04-03 Jb Evain <[email protected]>
backport of 130961.

	* Enumerable.cs (Cast): fix for when casted enumerator is already
	of the appropriate type.


svn path=/branches/mono-2-4/mcs/; revision=130962
2009-04-03 10:50:01 +00:00
Jb Evain b9a774091e 2009-04-02 Jb Evain <[email protected]>
backport of r130884 and r130886.

	* Dictionary.cs (ValueCollection.CopyTo): fix for copying to
	an object array. Based on a patch by Tobias Grimm <[email protected]>.
	Fixes bug #328036.


svn path=/branches/mono-2-4/mcs/; revision=130887
2009-04-02 17:45:23 +00:00
Gonzalo Paniagua Javier 2139bcdf86 Backport from HEAD. Fixes bug #491343
svn path=/branches/mono-2-4/mcs/; revision=130838
2009-04-02 06:56:51 +00:00
Marek Habersack 3c0ad436fb Backport of r130763
svn path=/branches/mono-2-4/mcs/; revision=130793
2009-04-01 19:40:58 +00:00
Marek Habersack 2236b4015f Backport of r130755
svn path=/branches/mono-2-4/mcs/; revision=130792
2009-04-01 19:40:22 +00:00
Marek Habersack 157df7b1ec Backport of r130720
svn path=/branches/mono-2-4/mcs/; revision=130791
2009-04-01 19:39:43 +00:00
Marek Habersack fea6fcdd64 Backport of r130694
svn path=/branches/mono-2-4/mcs/; revision=130790
2009-04-01 19:39:08 +00:00
Marek Habersack 4ec4514bb4 Backport of r130683
svn path=/branches/mono-2-4/mcs/; revision=130789
2009-04-01 19:38:38 +00:00
Marek Habersack 20a17e606b Backport of r130682
svn path=/branches/mono-2-4/mcs/; revision=130788
2009-04-01 19:37:59 +00:00
Marek Habersack 91a8d0b50e Backport of r130667
svn path=/branches/mono-2-4/mono/; revision=130787
2009-04-01 19:36:49 +00:00
Marek Habersack 098c748a2f Backport of r130666
svn path=/branches/mono-2-4/mcs/; revision=130786
2009-04-01 19:35:38 +00:00
Marek Habersack 04bcffdc88 Backport of r130665
svn path=/branches/mono-2-4/mcs/; revision=130785
2009-04-01 19:34:55 +00:00
Marek Habersack c27009892d Patch applied incorrectly, compilation fix
svn path=/branches/mono-2-4/mcs/; revision=130782
2009-04-01 18:58:48 +00:00
Marek Habersack dd8e821949 Compilation fix
svn path=/branches/mono-2-4/mcs/; revision=130781
2009-04-01 18:33:04 +00:00
Marek Habersack ceffc7cd26 Backport of r130664
svn path=/branches/mono-2-4/mcs/; revision=130777
2009-04-01 18:14:01 +00:00
Marek Habersack 4ed410f2d4 Backport of r130566
svn path=/branches/mono-2-4/mcs/; revision=130776
2009-04-01 18:12:20 +00:00
Marek Habersack 72e57f5e4a Backport of r130245
svn path=/branches/mono-2-4/mcs/; revision=130773
2009-04-01 17:54:58 +00:00
Marek Habersack 2ea525d40d Backport of r130244
svn path=/branches/mono-2-4/mcs/; revision=130772
2009-04-01 17:54:23 +00:00
Marek Habersack 9b4bd2ba33 Partial backport of r130082
svn path=/branches/mono-2-4/mcs/; revision=130771
2009-04-01 17:44:25 +00:00
Gonzalo Paniagua Javier 1bc76374a8 2009-03-31 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: don't fail if the SocketOptionsFlag has Partial or
	* MaxIOVectorLength enabled, just ignore them.
	Fixes bug #349688.


svn path=/branches/mono-2-4/mono/; revision=130614
2009-03-31 06:25:33 +00:00
Zoltan Varga 6e0124eebd 2009-03-29 Zoltan Varga <[email protected]>
* CodeGenerator.cs: Add synchronization as SRE is not thread safe.

svn path=/branches/mono-2-4/mcs/; revision=130485
2009-03-29 02:31:28 +00:00
Jb Evain 501b6c8951 2009-03-28 Jb Evain <[email protected]>
backport of r130478.

	* Enumerable.cs: fix Intersect.


svn path=/branches/mono-2-4/mcs/; revision=130480
2009-03-28 22:00:55 +00:00
Zoltan Varga d319651008 2009-03-17 Zoltan Varga <[email protected]>
* mini-exceptions.c (get_generic_info_from_stack_frame): Avoid returning
	a managed object which is later put into a GList. Return its class instead.

	* mini.c (mono_allocate_stack_slots_full): Avoid sharing ref and non-ref
	stack slots when using sgen.

svn path=/branches/mono-2-4/mono/; revision=130475
2009-03-28 19:04:58 +00:00
Zoltan Varga a9a9b35b65 2009-01-26 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_load_type_info): Fill out info->min_align.
	(mono_class_native_size): Use klass->marshal_info->min_align instead of
	klass->min_align, since klass->min_align contains the managed alignment,
	while the native alignment can be different, like for longs on x86.
	Fixes #469135.

	* class-internals.h (MonoMarshalType): Add a min_align field.

svn path=/branches/mono-2-4/mono/; revision=130473
2009-03-28 17:58:41 +00:00
Gonzalo Paniagua Javier 8d94c7d98a 2009-03-27 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c:
	* console-io.[ch]: added new mono_console_init() to make sure that
	file descriptors 0, 1 and 2 are opened.
	Bug #489019 fixed.


svn path=/branches/mono-2-4/mono/; revision=130425
2009-03-27 20:07:48 +00:00
Gonzalo Paniagua Javier 3072976517 2009-03-27 Gonzalo Paniagua Javier <[email protected]>
* DefaultWsdlHelpGenerator.aspx: disable the test form
	when only Soap is supported.
	Bug #342073 fixed.


svn path=/branches/mono-2-4/mono/; revision=130401
2009-03-27 15:52:17 +00:00
Zoltan Varga 2d0fb10dc2 2009-03-27 Zoltan Varga <[email protected]>
* method-to-ir.c (mono_method_to_ir): Disable tail calls for calls which
	return a valuetype. Fixes #487518.

	* iltests.il: Add a test.

svn path=/branches/mono-2-4/mono/; revision=130391
2009-03-27 14:08:27 +00:00
Zoltan Varga c02e3ec1b5 2009-03-26 Zoltan Varga <[email protected]>
* pinvoke2.cs: Add a test for #488670.

svn path=/branches/mono-2-4/mono/; revision=130260
2009-03-25 23:49:10 +00:00
Zoltan Varga 32f261dbd1 2009-03-26 Zoltan Varga <[email protected]>
* marshal.c (emit_marshal_object): Generate code to throw an exception
	instead of throwing it. Fixes #488670.


Conflicts:

	mono/metadata/ChangeLog

svn path=/branches/mono-2-4/mono/; revision=130259
2009-03-25 23:49:03 +00:00
Gonzalo Paniagua Javier 7b22ebc970 2009-03-25 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: ClearHeaders() also resets cacheability.
	Bug #485557 fixed.


svn path=/branches/mono-2-4/mcs/; revision=130189
2009-03-25 05:20:20 +00:00
Gonzalo Paniagua Javier d58ae94cd3 2009-03-24 Gonzalo Paniagua Javier <[email protected]>
* FtpWebRequest.cs: we were sending CWD instead of PWD.
	Bug #486703 fixed.


svn path=/branches/mono-2-4/mcs/; revision=130158
2009-03-24 21:09:03 +00:00
Gonzalo Paniagua Javier cba68a1e89 2009-03-24 Gonzalo Paniagua Javier <[email protected]>
* Ping.cs: MacOS has different arguments for ping.
	Bug #486904 fixed.


svn path=/branches/mono-2-4/mcs/; revision=130155
2009-03-24 21:00:26 +00:00
Zoltan Varga 3f6c9d13ed In metadata/
2009-03-23  Zoltan Varga  <[email protected]>

	* marshal.c (mono_delegate_to_ftnptr): For delegates wrapping pinvoke
	methods, return the native function address itself. Fixes
	#487758.

In tests/

2009-03-23  Zoltan Varga  <[email protected]>

	* pinvoke-2.2.cs libtest.c: Add a test for #487758.


Conflicts:

	mono/mini/unwind.c

svn path=/branches/mono-2-4/mono/; revision=130067
2009-03-23 15:32:19 +00:00
Marek Safar ca87eff2fb Removed for now.
svn path=/branches/mono-2-4/mcs/; revision=130064
2009-03-23 15:28:22 +00:00
Marek Safar 77cfabcfa2 2009-03-23 Marek Safar <[email protected]>
A fix for bug #487625
	* namespace.cs: Use a warning for all predefined type conflicts.


svn path=/branches/mono-2-4/mcs/; revision=130063
2009-03-23 15:23:32 +00:00
Jonathan Pryor 295b492fe0 * UnixDriveInfo.cs: UnixDriveInfo.AvailableFreeSpace needs to return
stat.f_bavail * stat.f_frsize, NOT f_bavail*f_bsize, as on some
	  platforms (Solaris) bsize is the preferred block I/O size, while
	  f_frsize is the *actual* filesystem block size.  Thus, to get proper
	  disk under Solaris, we need to s/f_bsize/f_frsize/g.

svn path=/branches/mono-2-4/mcs/; revision=130056
2009-03-23 14:36:04 +00:00
Zoltan Varga aae1be1d3d 2009-03-23 Zoltan Varga <[email protected]>
* String.cs (LastIndexOf): Handle empty strings correctly. Fixes #486234.

svn path=/branches/mono-2-4/mcs/; revision=130039
2009-03-23 11:24:05 +00:00
Jonathan Pryor 735ddc4f5b * x-struct-str.c: It's possible for struct members to be NULL, so make
sure we don't pass NULL to strlen(3).

svn path=/branches/mono-2-4/mono/; revision=129890
2009-03-20 17:18:14 +00:00
Zoltan Varga 0e1476a47a 2009-03-19 Zoltan Varga <[email protected]>
Backport of r129824.

	* mini-amd64.c (mono_arch_compute_omit_fp): Add another check to avoid hitting
	the stack_alloc_size < (1 << 16) assertion in emit_prolog ().

svn path=/branches/mono-2-4/mono/; revision=129825
2009-03-19 21:09:53 +00:00
Zoltan Varga 80a900730c 2009-03-19 Zoltan Varga <[email protected]>
Backport of r129798.

	* locales.c (get_current_locale_name): Use g_malloc instead of malloc.

svn path=/branches/mono-2-4/mono/; revision=129799
2009-03-19 17:44:11 +00:00
Marek Habersack f14dfcc563 Backport of r129774
svn path=/branches/mono-2-4/mcs/; revision=129775
2009-03-19 13:44:41 +00:00
Zoltan Varga 9a01f64dc1 2009-03-18 Zoltan Varga <[email protected]>
Backport of r129689.

	* icall.c: Handle user types in many Type icalls. Fixes #486303.


svn path=/branches/mono-2-4/mono/; revision=129690
2009-03-18 14:12:29 +00:00
Marek Habersack fd4ff987ae Backport of r129676
svn path=/branches/mono-2-4/mcs/; revision=129677
2009-03-18 08:08:47 +00:00
Marek Habersack 4a4861af27 Backport of r129620
svn path=/branches/mono-2-4/mcs/; revision=129621
2009-03-17 19:02:28 +00:00
Marek Habersack 1d60c868a4 Backport of r129580
svn path=/branches/mono-2-4/mcs/; revision=129581
2009-03-17 13:22:30 +00:00
Marek Habersack 21815cee75 Backport of r129491
svn path=/branches/mono-2-4/mcs/; revision=129492
2009-03-16 18:54:55 +00:00
Zoltan Varga 05d3217e67 2009-03-15 Steven Munroe <[email protected]>
Backport of r129461.
	
	This patch is contributed under the terms of the MIT/X11 license

	* Makefile.am (test_platform): Enable testbundle for ppc.

svn path=/branches/mono-2-4/mono/; revision=129463
2009-03-16 15:50:06 +00:00
Zoltan Varga def436d728 2009-03-15 Steven Munroe <[email protected]>
Backport of r129460.

	This patch is contributed under the terms of the MIT/X11 license

	* mkbundle.cs (WriteSymbol): Use .p2align 5 instead of .align 32
	to get consistent results on all platforms.

svn path=/branches/mono-2-4/mcs/; revision=129462
2009-03-16 15:49:16 +00:00
Marek Habersack 15e1e19285 Backport r129449
svn path=/branches/mono-2-4/mcs/; revision=129450
2009-03-16 14:55:40 +00:00
Massimiliano Mantione be59d72e0d * mono-profiler-logging.c: Backport from trunk, make it like
r129416:
        - When checking if an elf file is valid, avoid mapping it in
        memory until we know it's usable (avoids virtual memory
        fragmentation issues).
        - Correctly handle duplicated entries in /proc/self/maps.


svn path=/branches/mono-2-4/mono/; revision=129418
2009-03-16 10:50:34 +00:00
Marek Habersack ca19241224 Backport of r129412
svn path=/branches/mono-2-4/mcs/; revision=129413
2009-03-16 09:55:19 +00:00
Marek Habersack 449e45b071 Backport of r129234
svn path=/branches/mono-2-4/mcs/; revision=129235
2009-03-13 00:49:23 +00:00
Gonzalo Paniagua Javier 87366f4649 2009-03-12 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: if the assembly name is a shadow-copied file, return
	TRUE from mono_is_shadow_copy_enabled but don't actually do anything
	in mono_make_shadow_copy.
	* icall.c: if the assembly name is a shadow-copied file, replace it
	with the original assembly path.

	Bug #484244 fixed. NUnit tests for corlib can be run without
	--noshadow now.


svn path=/branches/mono-2-4/mono/; revision=129214
2009-03-12 22:38:44 +00:00
Gonzalo Paniagua Javier 2c28fda055 accidental commit
svn path=/branches/mono-2-4/mono/; revision=129213
2009-03-12 22:37:57 +00:00
Gonzalo Paniagua Javier 64be0aa4d1 2009-03-12 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: if the assembly name is a shadow-copied file, return
	TRUE from mono_is_shadow_copy_enabled but don't actually do anything
	in mono_make_shadow_copy.
	* icall.c: if the assembly name is a shadow-copied file, replace it
	with the original assembly path.

	Bug #484244 fixed. NUnit tests for corlib can be run without
	--noshadow now.


svn path=/branches/mono-2-4/mono/; revision=129212
2009-03-12 22:37:18 +00:00
Dean Brettle b92f0d6e2d Commit approved by Gonzalo via private email.
2009-03-12  Dean Brettle  <[email protected]>

	* nBrowser/Build.cs: made Browser() method thread-safe and moved the
	actual tree creation to a private InitializeTree() method for clarity.


svn path=/branches/mono-2-4/mcs/; revision=129179
2009-03-12 19:11:54 +00:00
Gonzalo Paniagua Javier cfa5ba3ed7 2009-03-11 Gonzalo Paniagua Javier <[email protected]>
* InotifyWatcher.cs: don't send events when a directory is created
	unless it matches the pattern.  Fixes bug #484082.


svn path=/branches/mono-2-4/mcs/; revision=129113
2009-03-12 00:21:43 +00:00
Zoltan Varga 174cbf6460 2009-03-08 Zoltan Varga <[email protected]>
Backport of r128849 + r128490.

	* domain-internals.h (struct _MonoDomain): Add new hash tables mapping
	between GCHandles of type WeakTrackResurrection and the objects they
	point to.

	* gc.c: Partly implement the sematics of GCHandles of type 
	WeakTrackResurrection: these handles should only be cleared after the
	finalizer of the object they are pointing to has ran.

	* domain-internals.h (struct _MonoDomain): Add a separate lock for the
	finalize_objects_hash.

	* gc.c: Use the separate lock to access the finalize_objects_hash field.

svn path=/branches/mono-2-4/mono/; revision=129104
2009-03-11 23:12:06 +00:00
Zoltan Varga d90dfb6b92 2009-03-11 Zoltan Varga <[email protected]>
Backport of r129069.

	* Binder.cs: Allow conversions from T to T?. Fixes #484294.

svn path=/branches/mono-2-4/mcs/; revision=129102
2009-03-11 23:02:25 +00:00
Zoltan Varga 8f4c7c9e1a 2009-03-11 Zoltan Varga <[email protected]>
* mini-amd64.c (mono_arch_output_basic_block): Fix % 1. Fixes #484323.

	* basic.cs: Add a test.

svn path=/branches/mono-2-4/mono/; revision=129066
2009-03-11 14:29:38 +00:00
Mark Probst 950b5dc41b 2009-03-11 Mark Probst <[email protected]>
* mini-x86.c (mono_arch_output_basic_block): Use different
	registers in case the ones we want to overwrite are used by the
	other operand.  Fixes regression in #480807.

	Backport of r129058.

svn path=/branches/mono-2-4/mono/; revision=129064
2009-03-11 14:27:20 +00:00
Zoltan Varga 5901f1de17 2009-03-10 Zoltan Varga <[email protected]>
Backport of r129009.

	* reflection.c (ensure_complete_type): New helper function to call
	type resolve handlers for unfinished dynamic types.
	(resolve_object): Call it for MonoClassFields. Fixes #483852.

svn path=/branches/mono-2-4/mono/; revision=129010
2009-03-10 19:48:57 +00:00
Marek Habersack 84c1469a25 Backport of r128972
svn path=/branches/mono-2-4/mcs/; revision=128973
2009-03-10 14:23:03 +00:00
Zoltan Varga e08028625d 2009-03-10 Zoltan Varga <[email protected]>
Backport of r128924.
	
	* mini-s390x.c: Fix support for vtypes whose addresses are passed on the
	stack.

svn path=/branches/mono-2-4/mono/; revision=128926
2009-03-10 00:21:40 +00:00
Miguel de Icaza acbaa50498 Backport from 128830
svn path=/branches/mono-2-4/mcs/; revision=128925
2009-03-10 00:20:25 +00:00
Mark Probst b92652fb0c 2009-03-09 Mark Probst <[email protected]>
Contributed under the terms of the MIT/X11 license by Steven
        Munroe <[email protected]>.

        * mini-ppc.c: Correct handling of OP_LOADI4_MEMINDEX for ppc64.
        Fixes #483462.

        Backport of r128904.

svn path=/branches/mono-2-4/mono/; revision=128905
2009-03-09 20:03:44 +00:00
Mark Probst b400a612a4 2009-03-09 Mark Probst <[email protected]>
* mini-trampolines.c (mono_create_jump_trampoline): If the method
	is shared generic code, return the trampoline, even if the method
	has already been compiled.  Fixes #479763.

	* mini.c, mini.h: New function
	mono_jit_find_compiled_method_with_jit_info() which is the same as
	mono_jit_find_compiled_method() but also returns the jit info.

	Backport of r128723.

2009-03-09  Mark Probst  <[email protected]>

	* generic-sharing.c (instantiate_other_info): Always return a jump
	trampoline for method code.

	Backport of r128723.

2009-03-09  Mark Probst  <[email protected]>

	* bug-479763.2.cs: New test.

	* Makefile.am: Test added.

	Backport of r128723.

svn path=/branches/mono-2-4/mono/; revision=128903
2009-03-09 19:57:22 +00:00
Rodrigo Kumpera f75dddbe61 2009-03-08 Rodrigo Kumpera <[email protected]>
Backport of r128853.

	* appdomain.c (get_shadow_assembly_location): Fix memleak.


svn path=/branches/mono-2-4/mono/; revision=128882
2009-03-09 14:24:35 +00:00
Marek Safar ce5c0e651e 2009-03-08 Marek Safar <[email protected]>
* class.cs: Use correct common base type for unmanaged delayed
	check.

	* rootcontext.cs: Wrap unhandled exception.


svn path=/branches/mono-2-4/mcs/; revision=128854
2009-03-08 19:15:50 +00:00
Gonzalo Paniagua Javier 11cd4f09ed 2009-03-06 Gonzalo Paniagua Javier <[email protected]>
* ResourceSet.cs: for custom resource sets without a reader, pretende
	that's we've already read the stream.


svn path=/branches/mono-2-4/mcs/; revision=128815
2009-03-07 00:06:31 +00:00
Miguel de Icaza 15c1fae0ea 2009-03-05 Tom Hindle <[email protected]>
* Marshal.cs: Implemented GenerateGuidForType

svn path=/branches/mono-2-4/mcs/; revision=128809
2009-03-06 23:31:51 +00:00
Miguel de Icaza b712e0ae63 Backport
svn path=/branches/mono-2-4/mcs/; revision=128808
2009-03-06 23:30:19 +00:00
Marek Habersack 7304ee6ef0 Backport of r128801
svn path=/branches/mono-2-4/mcs/; revision=128802
2009-03-06 22:17:10 +00:00
Marek Habersack ef23c9aaeb Backport of r128799
svn path=/branches/mono-2-4/mcs/; revision=128800
2009-03-06 21:30:17 +00:00
Marek Habersack 5eecf6b197 Backport of r128796
svn path=/branches/mono-2-4/mcs/; revision=128797
2009-03-06 20:55:33 +00:00
Marek Habersack 74dcf0f4e7 Backport of r128793
svn path=/branches/mono-2-4/mcs/; revision=128794
2009-03-06 20:05:35 +00:00
Zoltan Varga 2a21dbb533 2009-03-06 Zoltan Varga <[email protected]>
* arm/tramp.c: Include a change from the debian patches. Avoid #include-ing
	a file in the middle of a function.

svn path=/branches/mono-2-4/mono/; revision=128784
2009-03-06 15:56:44 +00:00
Zoltan Varga fdf4913561 2009-03-06 Zoltan Varga <[email protected]>
Backport of r128749.
	
	* method-to-ir.c (mini_emit_memset): Fix the handling of size '3'. Fixes
	#481458.

	* iltests.il.in: Add a test.

svn path=/branches/mono-2-4/mono/; revision=128751
2009-03-06 02:43:14 +00:00
Mark Probst a1ea9b3ab8 2009-03-05 Mark Probst <[email protected]>
* method-to-ir.c (mono_method_to_ir): Only force the vtable var
	for methods which actually have one.  For all other methods, make
	sure the this argument var is live the whole method.

	* mini.c (mini_method_compile): Every shared method has a
	this/vtable/mrgctx info.  Fixes #480807.

	Backport of r128720.

svn path=/branches/mono-2-4/mono/; revision=128724
2009-03-05 21:17:28 +00:00
Marek Habersack d22d581784 Backport of r128714
svn path=/branches/mono-2-4/mono/; revision=128715
2009-03-05 18:06:35 +00:00
Bill Holmes 7ff68d17a2 2009-03-05 Bill Holmes <[email protected]>
* mono.def : Removing missing methods to remove link errors for
	  MSVC build.  

	Code is contributed under MIT/X11 license.

svn path=/branches/mono-2-4/mono/; revision=128712
2009-03-05 17:50:48 +00:00
Mark Probst ebbca31e3c 2009-03-05 Mark Probst <[email protected]>
Contributed under the terms of the MIT/X11 license by Steven
	Munroe <[email protected]>.

	* mini-ppc.c, mini-ppc.h: Implement TLS for PPC64.

	Backport of r127060.

2009-03-05  Mark Probst  <[email protected]>

	Contributed under the terms of the MIT/X11 license by Steven
	Munroe <[email protected]>.

	* mono-compiler.h: MONO_THREAD_VAR_OFFSET for PPC(64).

	Backport of r127060.

svn path=/branches/mono-2-4/mono/; revision=128711
2009-03-05 17:49:49 +00:00
Marek Safar fbe5f68924 2009-03-05 Marek Safar <[email protected]>
A fix for bug #480100
	* parameter.cs: A parameter is not hoisted when used directly as ET.


svn path=/branches/mono-2-4/mcs/; revision=128680
2009-03-05 11:41:25 +00:00
Martin Baulig aca813ba8d ***** Backport of r128549 *****
svn path=/branches/mono-2-4/mono/; revision=128622
2009-03-04 20:46:47 +00:00
Martin Baulig d4955be897 ***** Backport of r128556 *****
2009-03-04  Martin Baulig  <[email protected]>

	* debug-mini.c: Clean up the exception API and add documentation.
	(mono_debugger_handle_exception): New public method; this is
	called when throwing an exception or encountering an unhandled one.
	(mono_debugger_call_exception_handler): Formerly known as
	mono_debugger_handle_exception(); this is used to tell the
	debugger that we're about to invoke an exception handler.


svn path=/branches/mono-2-4/mono/; revision=128614
2009-03-04 20:24:02 +00:00
Martin Baulig 84ada866ad ***** Backport of r128544 *****
2009-03-04  Martin Baulig  <[email protected]>

	* debug-mini.c (mono_debugger_runtime_invoke): Moved here from
	../metadata/mono-debug-debugger.c; save and reset exception state.

2009-03-02  Martin Baulig  <[email protected]>

	* debug-mini.c: Moved the debugger exception handling here from
	../metadata/mono-debug-debugger.c.

	* debug-mini.h
	(MonoDebuggerExceptionAction): New exception typedef.

	* debug-mini.c
	(MonoDebuggerThreadInfo): Added `MonoObject *last_exception'.

	* exceptions-amd64.c
	(mono_amd64_throw_exception): Use the new debugger exception
	handling code.

	* mini-exceptions.c
	(mono_handle_exception_internal): Don't call
	mono_debugger_unhandled_exception() here.

2009-03-04  Martin Baulig  <[email protected]>

	* mono-debug.h
	(mono_debugger_runtime_invoke): Removed.

	* mono-debug-debugger.c
	(mono_runtime_invoke): Moved into ../mini/debug-mini.c.

2009-03-02  Martin Baulig  <[email protected]>

	* mono-debug.h
	(mono_debugger_unhandled_exception): Removed.
	(mono_debugger_handle_exception): Removed.
	(mono_debugger_throw_exception): Removed.

	* mono-debug.h (MONO_DEBUGGER_MINOR_VERSION): Bump to 1.

	* mono-debug.c
	(mono_debug_debugger_version): Bump to 5.

	* mono-debug-debugger.c: Moved the exception handling code to
	../mini/debug-mini.c


svn path=/branches/mono-2-4/mono/; revision=128613
2009-03-04 20:19:14 +00:00
Marek Habersack d7e563dd87 Backport of r128602
svn path=/branches/mono-2-4/mcs/; revision=128603
2009-03-04 19:06:26 +00:00
Mark Probst 2085fa219c 2009-03-04 Mark Probst <[email protected]>
* method-to-ir.c: Don't inline methods that use JMP.  Fixes
	#481403.

	Backport of r128552.

2009-03-04  Mark Probst  <[email protected]>

	* bug-481403.il: New test.

	* Makefile.am: Test added.

	Backport of r128552.

svn path=/branches/mono-2-4/mono/; revision=128560
2009-03-04 15:58:15 +00:00
Marek Safar 8d34f01dfc 2009-03-03 Marek Safar <[email protected]>
A fix for bug #481258
	* class.cs: Set extension method flag in partial container.


svn path=/branches/mono-2-4/mcs/; revision=128434
2009-03-03 12:58:09 +00:00
Marek Habersack ac1aa9d309 Backport of r128407 and r128408
svn path=/branches/mono-2-4/mcs/; revision=128409
2009-03-03 01:34:29 +00:00
Gonzalo Paniagua Javier 97434a0a9b 2009-03-01 Gonzalo Paniagua Javier <[email protected]>
* WebEncoding.cs: another GetWebApplication here.


svn path=/branches/mono-2-4/mcs/; revision=128294
2009-03-01 07:43:09 +00:00
Gonzalo Paniagua Javier 1c03c661b4 patch from Marek in trunk
svn path=/branches/mono-2-4/mcs/; revision=128280
2009-02-28 23:45:29 +00:00
Gonzalo Paniagua Javier 7e204d02b5 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
* AppResourcesAssemblyBuilder.cs:
	* AspComponentFoundry.cs:
	* AssemblyBuilder.cs:
	* CachingCompiler.cs:
	* AspGenerator.cs:
	* WsdlBuildProvider.cs:
	* BaseCompiler.cs:
	* BuildProvider.cs:
	* AppWebReferencesCompiler.cs:
	* TemplateControlCompiler.cs:
	* BuildManager.cs:
	* AppCodeCompiler.cs: settings that have to be in
	machine.config or the root level web.config now call
	GetWebApplicationSection.


svn path=/branches/mono-2-4/mcs/; revision=128277
2009-02-28 20:41:32 +00:00
Gonzalo Paniagua Javier 34d0ee8c95 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
* BaseParser.cs:
	* PageParser.cs:
	* ControlBuilder.cs:
	* TemplateParser.cs:
	* Page.cs:
	* SimpleWebHandlerParser.cs: settings that have to be in
	machine.config or the root level web.config now call
	GetWebApplicationSection.


svn path=/branches/mono-2-4/mcs/; revision=128274
2009-02-28 20:05:24 +00:00
Gonzalo Paniagua Javier 05442e11d7 2009-02-28 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpResponseHeader.cs:
	* System.Web/HttpResponse.cs:
	* System.Web/QueueManager.cs:
	* System.Web/HttpRequest.cs:
	* System.Web/TraceManager.cs:
	* System.Web/HttpServerUtility.cs:
	* System.Web/HttpApplication.cs:
	* System.Web.UI/ObjectStateFormatter.cs:
	* System.Web.Security/FormsAuthentication.cs: use GetWebApplication
	instead of GetSection for application level configuration.


svn path=/branches/mono-2-4/mcs/; revision=128271
2009-02-28 19:00:51 +00:00
Zoltan Varga 42f06c7663 2009-02-28 Zoltan Varga <[email protected]>
* Enum.cs (FindName): Use a hash table for looking up names instead of
	a linear search for enums with a lot of values.

svn path=/branches/mono-2-4/mcs/; revision=128268
2009-02-28 16:23:19 +00:00
Rodrigo Kumpera 8c002790f7 2008-02-28 Rodrigo Kumpera <[email protected]>
* MonoProperty.cs (GetValue): Don't use the delegate optimization for valuetypes.


svn path=/branches/mono-2-4/mcs/; revision=128263
2009-02-28 06:26:39 +00:00
Gonzalo Paniagua Javier 7172bcccf8 2009-02-17 Gonzalo Paniagua Javier <[email protected]>
* Socket.cs: instead of clearing the sockets form the output and then
	adding them back, we just remove the ones that have not been signaled.
	Fixes bug #354090 and bug #476138.



svn path=/branches/mono-2-4/mcs/; revision=128260
2009-02-28 05:59:06 +00:00
Marek Habersack 4ff65f3ac1 Backport of r128249
svn path=/branches/mono-2-4/mcs/; revision=128250
2009-02-28 02:05:10 +00:00
Gonzalo Paniagua Javier de4d2ec78b 2009-02-27 Gonzalo Paniagua Javier <[email protected]>
* ResourceSet.cs: populating the resource should be locked because the
	resourceset could be shared.


svn path=/branches/mono-2-4/mcs/; revision=128216
2009-02-27 17:32:57 +00:00
Rodrigo Kumpera 6e6489d471 2008-02-26 Rodrigo Kumpera <[email protected]>
* MonoProperty.cs (GetValue): Optimize getters for properties without arguments.

2008-02-26  Rodrigo Kumpera  <[email protected]>

	* MonoProperty.cs (GetValue): Optimize getters for properties without arguments.
	The optimization is to create a pair of chained delegates that duplicate the workings
	on MethodBase::Invoke without all the aditional overhead and without doing two
	managed/native transitions.

	Simple Getter performance is up to 17x faster.

	This patch reduces contention on domain and domain jit code hash locks, which
	can be very hot on asp.net applications.


svn path=/branches/mono-2-4/mcs/; revision=128174
2009-02-27 01:53:16 +00:00
Zoltan Varga 986524c0bb 2009-02-27 Zoltan Varga <[email protected]>
* BaseMachine.cs (LTRReplace): Initialize the StringBuilder with an
	appropriate initial length.

svn path=/branches/mono-2-4/mcs/; revision=128159
2009-02-26 23:28:25 +00:00
Gonzalo Paniagua Javier ffe099d2fc 2009-02-26 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: make the check to avoid copying when the assembly is
	already shadow copied actually work.


svn path=/branches/mono-2-4/mono/; revision=128126
2009-02-26 17:42:12 +00:00
Gonzalo Paniagua Javier a317249bec 2009-02-26 Gonzalo Paniagua Javier <[email protected]>
* WebConfigurationManager.cs: generate a hash from the string hsah
	codes instead of concatenating them.


svn path=/branches/mono-2-4/mcs/; revision=128122
2009-02-26 17:24:40 +00:00
Jonathan Pryor fc98dcc51c * Makefile:
- s/TEST_FILES/MAN_TEST_FILES/g: $(TEST_FILES) is used by the normal
	    build process, so the local definition is lost (and thus ignored).
	    Result: Test/* isn't actually copied.  Oops.  Changing to
	    MAN_TEST_FILES allows things to be copied.
	  - Fix the filenames within $(MAN_TEST_FILES) so `make dist-local'
	    works without error.
	  - Fixes #479753.

svn path=/branches/mono-2-4/mcs/; revision=128120
2009-02-26 17:08:58 +00:00
Zoltan Varga 48ee1b70a0 2009-02-26 Zoltan Varga <[email protected]>
* String.cs (FormatHelper): If all the arguments are strings, compute an
	initial length for the stringbuilder to avoid reallocations.

svn path=/branches/mono-2-4/mcs/; revision=128116
2009-02-26 16:38:34 +00:00
Zoltan Varga ab154c2bdb 2009-02-26 Zoltan Varga <[email protected]>
* mini-x86.c (mono_arch_get_this_arg_from_call): Avoid expensive calls
	to  get_generic_context_from_code () + get_call_info () if possible.

svn path=/branches/mono-2-4/mono/; revision=128113
2009-02-26 16:26:23 +00:00
Zoltan Varga e2bde717f8 2009-02-25 Zoltan Varga <[email protected]>
* object.c (mono_get_delegate_invoke): Call setup_methods () to avoid the
	slower search in metadata.

svn path=/branches/mono-2-4/mono/; revision=128095
2009-02-26 14:20:50 +00:00
Marek Habersack e34e7f2de8 Backport of r128091
svn path=/branches/mono-2-4/mcs/; revision=128092
2009-02-26 14:16:55 +00:00
Gonzalo Paniagua Javier 1e30039a0a fix the build
svn path=/branches/mono-2-4/mono/; revision=128063
2009-02-26 07:30:06 +00:00
Marek Habersack 4881df3014 Backport of r128040
svn path=/branches/mono-2-4/mono/; revision=128041
2009-02-26 02:03:10 +00:00
Marek Safar 38af1d1400 2009-02-25 Marek Safar <[email protected]>
A fix for bug #479532
	* expression.cs: Implement NewInitialize::AddressOf.


svn path=/branches/mono-2-4/mcs/; revision=128016
2009-02-25 16:46:27 +00:00
Marek Habersack 6a50c9ec35 Backport of: r124779, r124780, r124783, r124784, r126769, r126855, r126856, r126891, r127259, r127333, r127334 and r127343
svn path=/branches/mono-2-4/mcs/; revision=128005
2009-02-25 14:16:21 +00:00
Marek Safar 5e0f8cda9a 2009-02-25 Marek Safar <[email protected]>
A fix for bug #413633
	* expression.cs: Iterate all base class-constraint types.


svn path=/branches/mono-2-4/mcs/; revision=127990
2009-02-25 11:39:30 +00:00
Marek Habersack a094e9a735 Backport of r127935
svn path=/branches/mono-2-4/mcs/; revision=127936
2009-02-25 02:50:15 +00:00
Zoltan Varga 816e0e8fdd 2009-02-25 Zoltan Varga <[email protected]>
Backport of r127929.
	
	* Enum.cs (GetInfo): Add a global cache in addition to the thread-local
	caches to accomodate short living threads like threadpool threads.

svn path=/branches/mono-2-4/mcs/; revision=127930
2009-02-25 02:16:00 +00:00
Gonzalo Paniagua Javier 47e1dbf970 2009-02-24 Gonzalo Paniagua Javier <[email protected]>
* StringReader.cs: LF followed by CR is 2 lines.


svn path=/branches/mono-2-4/mcs/; revision=127917
2009-02-24 23:51:00 +00:00
Gonzalo Paniagua Javier aa19449ebb 2009-02-24 Gonzalo Paniagua Javier <[email protected]>
* StringReaderTest.cs: new test for ReadLine.


svn path=/branches/mono-2-4/mcs/; revision=127916
2009-02-24 23:50:24 +00:00
Andrew Jorgensen 90041dc378 Backport of r127907, bnc#479237
svn path=/branches/mono-2-4/mcs/; revision=127908
2009-02-24 22:15:56 +00:00
Zoltan Varga 922912292b 2009-02-24 Zoltan Varga <[email protected]>
* CILCompiler.cs: Partially inline calls to Char.ToLower () to speed
	up ignorecase matching.

svn path=/branches/mono-2-4/mcs/; revision=127902
2009-02-24 20:51:30 +00:00
Ivan Zlatev c92fff7043 2009-02-24 Ivan N. Zlatev <[email protected]>
* DataGridViewCell.cs: Invalidate the datagrid when the cell is selected
	or deselected.
	[Fixes bug #479124]

svn path=/branches/mono-2-4/mcs/; revision=127893
2009-02-24 20:10:30 +00:00
Jb Evain e3931f38b6 2009-02-24 Jb Evain <[email protected]>
backport of 127871.

	* Expression.cs (BinaryCoreCheck): fix comparison of enums.


svn path=/branches/mono-2-4/mcs/; revision=127872
2009-02-24 17:11:47 +00:00
Veerapuram Varadhan 493e003258 backport of r127849
svn path=/branches/mono-2-4/mcs/; revision=127850
2009-02-24 09:34:15 +00:00
Veerapuram Varadhan 32bf6cac04 * OracleException: 2.0 changes - patch submitted by
Jay Wren <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=127840
2009-02-24 05:21:40 +00:00
Veerapuram Varadhan 0c8aa2ee8b * Fixes #476523
* DbType.cs: Add DateTime2 and DateTimeOffset - 3.5 additions
        Patch by Jay Wren <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=127838
2009-02-24 05:10:23 +00:00
Jb Evain 0ee8a2414d 2009-02-23 Jb Evain <[email protected]>
backport of 127784.

	* XUtil.cs (ToString): properly stringify datetimes.

svn path=/branches/mono-2-4/mcs/; revision=127787
2009-02-23 19:20:54 +00:00
Jb Evain eb08b06215 2009-02-23 Jb Evain <[email protected]>
backport of 127772.

	* Enumerable.cs (IterateNullable): fix initial value
	for nullables.


svn path=/branches/mono-2-4/mcs/; revision=127774
2009-02-23 18:16:14 +00:00
Jb Evain 88b7acff98 2009-02-23 Jb Evain <[email protected]>
backport of 127755.

	* Expression.cs (IsNumber): actually decimal is rather a special
	case, and not a primitive number.


svn path=/branches/mono-2-4/mcs/; revision=127756
2009-02-23 17:06:08 +00:00
Jb Evain 84fd92865b 2009-02-23 Jb Evain <[email protected]>
backport of 127746.

	* Expression.cs (BinaryCoreCheck): add decimal operations
	are provided by custom operators.

svn path=/branches/mono-2-4/mcs/; revision=127748
2009-02-23 16:44:42 +00:00
Ivan Zlatev 400afe1a8f 2009-02-23 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: Make the ScrollBars property work properly.

svn path=/branches/mono-2-4/mcs/; revision=127718
2009-02-23 09:43:23 +00:00
Gonzalo Paniagua Javier d9755b89e6 2009-02-23 Gonzalo Paniagua Javier <[email protected]>
* WebClient.cs: append the QueryString in DownloadData.
	Fixes bug #323788.


svn path=/branches/mono-2-4/mcs/; revision=127700
2009-02-23 05:10:24 +00:00
Gonzalo Paniagua Javier 8c8593fd96 2009-02-22 Gonzalo Paniagua Javier <[email protected]>
* HttpServerUtility.cs: allow Transfer to static files too.


svn path=/branches/mono-2-4/mcs/; revision=127678
2009-02-23 00:22:39 +00:00
Mark Probst 200118c485 2009-02-22 Mark Probst <[email protected]>
Backport of r127665.

	* tramp-ppc.c (mono_arch_create_trampoline_code): Store the
	correct frame pointer in the LMF.  Should fix #478394.

svn path=/branches/mono-2-4/mono/; revision=127666
2009-02-22 21:08:04 +00:00
Gonzalo Paniagua Javier 8575b3983a 2009-02-22 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: support SO_MAXCONN, SO_USELOOPBACK and
	SO_EXLUSIVEADDRUSE where available.


svn path=/branches/mono-2-4/mono/; revision=127651
2009-02-22 06:42:55 +00:00
Gonzalo Paniagua Javier d99e8f21af fix
svn path=/branches/mono-2-4/mcs/; revision=127646
2009-02-22 03:08:15 +00:00
Ivan Zlatev df53237ac6 2009-02-22 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: Fix row removal in the data-bound scenario.

svn path=/branches/mono-2-4/mcs/; revision=127643
2009-02-22 00:54:39 +00:00
Gonzalo Paniagua Javier 24ad061817 2009-02-21 Gonzalo Paniagua Javier <[email protected]>
* FtpWebResponse.cs: return a Null stream when there's no response to
	be read.
	* FtpWebRequest.cs: provide the error returned by the server in the
	exception.
	* WebClient.cs: set the correct method when doing a FTP upload.
	Fixes bug #478451.


svn path=/branches/mono-2-4/mcs/; revision=127641
2009-02-21 23:30:33 +00:00
Zoltan Varga 76ffb82a48 2009-02-21 Zoltan Varga <[email protected]>
* marshal.c (mono_marshal_get_runtime_invoke): Fix _another_ bug sharing
	runtime invoke wrappers, this time it is string ctor wrappers, which
	pass a dummy string as 'this' instead of their obj argument. Fixes
	#478473.

svn path=/branches/mono-2-4/mono/; revision=127638
2009-02-21 21:27:35 +00:00
Zoltan Varga 53cc1f8d6d 2009-02-21 Zoltan Varga <[email protected]>
* method-to-ir.c (mono_method_to_ir): Don't assert if string ctors
	are called from runtime invoke wrappers.

svn path=/branches/mono-2-4/mono/; revision=127636
2009-02-21 21:24:16 +00:00
Jb Evain 0489b56686 backport of r127631.
in System.Reflection:
2008-02-21  Jb Evain  <[email protected]>

	* Module.cs: add a new virtual GetModuleVersionId method,
	and make the properties .MvId and ModuleVersionId call it.
	This way, we can override it in ModuleBuilder.
	Part of the fix for #471302.

in System.Reflection.Emit:
2008-02-21  Jb Evain  <[email protected]>

	* ModuleBuilder.cs: override GetModuleVersionId
	so that we can get the module guid from Module.ModuleVersionId.
	Part of the fix for #471302.

svn path=/branches/mono-2-4/mcs/; revision=127632
2009-02-21 16:20:07 +00:00
Jb Evain 4f856e94a3 2009-02-21 Jb Evain <[email protected]>
backport of r127628.

	* MonoType.cs (InvokeMember): don't pass a null args to
	Binder.BindToMethod. Fix for #471275.

svn path=/branches/mono-2-4/mcs/; revision=127629
2009-02-21 15:36:47 +00:00
Jb Evain a927203608 2009-02-21 Jb Evain <[email protected]>
* EventHandlerList.cs: fix the 1.1 profile.


svn path=/branches/mono-2-4/mcs/; revision=127625
2009-02-21 12:51:59 +00:00
Gonzalo Paniagua Javier 4313c50b3d oops
svn path=/branches/mono-2-4/mcs/; revision=127618
2009-02-21 07:35:31 +00:00
Gonzalo Paniagua Javier 09a2a27d27 2009-02-21 Gonzalo Paniagua Javier <[email protected]>
* EventHandlerList.cs: there's no need for HandlerEntry here.
	Just store the delegate.


svn path=/branches/mono-2-4/mcs/; revision=127616
2009-02-21 07:33:08 +00:00
Gonzalo Paniagua Javier c6c5c7c8b6 this was checked in by mistake
svn path=/branches/mono-2-4/mcs/; revision=127598
2009-02-20 23:35:18 +00:00
Gonzalo Paniagua Javier 8a19ec3273 2009-02-20 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: implement the other ReadStringResource method.
	Patch from Kornel Pal.


svn path=/branches/mono-2-4/mcs/; revision=127597
2009-02-20 23:34:35 +00:00
Gonzalo Paniagua Javier 32d603eda4 fix the 1.x build
svn path=/branches/mono-2-4/mcs/; revision=127589
2009-02-20 22:57:08 +00:00
Gonzalo Paniagua Javier 11b4aef454 2009-02-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpWriter.cs: new Response property and WriteUTF8Ptr
	method.
	* System.Web/HttpResponseStream.cs: added support for writing from an
	IntPtr. copied the memcpy method from String.cs.

	* System.Web.Compilation/BuildManager.cs: updated comment.

	* System.Web.UI/ResourceBasedLiteralControl.cs: new Control. It's just
	like a LiteralControl but will render itself from the bytes pointed to
	by an IntPtr and not create any string from the underlying data unless
	needed.

	* System.Web.UI/TemplateControl.cs: implemented a bunch of methods
	that are used from the precompiled assemblies for a web project. The
	most notable change needed is to be able to read a win32 resource from
	the dll of the control. The resource is a concatenation of literals
	with plain text for the control and a specialized LiteralControl is
	generated from different chunks of the resource.

	* System.Web.UI/HtmlTextWriter.cs: new method that returns the
	HttpWriter in use.

	* System.Web.dll.sources: added new file.

	* System.Web.Util/ICalls.cs: new internal call to get a pointer to the
	win32 resource associated with the control's assembly.


svn path=/branches/mono-2-4/mcs/; revision=127580
2009-02-20 21:32:50 +00:00
Gonzalo Paniagua Javier b1b4f52b34 2009-02-20 Gonzalo Paniagua Javier <[email protected]>
* cil-coff.h:
	* icall-def.h:
	* icall.c: add new GetUnmanagedResourcePtr that returns a pointer to a
	win32 resource loaded from a PE file.

	* image.c: fix mono_image_lookup_resource.


svn path=/branches/mono-2-4/mono/; revision=127575
2009-02-20 21:07:43 +00:00
Gonzalo Paniagua Javier bff28446a2 changelog
svn path=/branches/mono-2-4/mcs/; revision=127572
2009-02-20 20:46:03 +00:00
Gonzalo Paniagua Javier 08df38ca1b .
svn path=/branches/mono-2-4/mcs/; revision=127571
2009-02-20 20:37:44 +00:00
Gonzalo Paniagua Javier 21eef2e77e ChangeLog
svn path=/branches/mono-2-4/mcs/; revision=127570
2009-02-20 20:36:31 +00:00
Gonzalo Paniagua Javier cff463913d 2009-02-20 Gonzalo Paniagua Javier <[email protected]>
* WaitHandle.cs: implemented SignalAndWait.

svn path=/branches/mono-2-4/mcs/; revision=127568
2009-02-20 20:33:23 +00:00
Zoltan Varga e040c39674 2009-02-20 Zoltan Varga <[email protected]>
* cpu-ppc.md (store_memindex): Increase the size of this.

svn path=/branches/mono-2-4/mono/; revision=127567
2009-02-20 20:30:39 +00:00
Veerapuram Varadhan eeca83c94d Test for Bug#419224
svn path=/branches/mono-2-4/mcs/; revision=127543
2009-02-20 15:47:16 +00:00
Veerapuram Varadhan 1a66d85f3b backport of r127530
svn path=/branches/mono-2-4/mcs/; revision=127532
2009-02-20 11:50:35 +00:00
Marek Safar 8508387f81 2009-02-20 Marek Safar <[email protected]>
A fix for bug #477447
	* statement.cs: Add reference to correct parent storey when this
	is accessible from deep children storey (more than 1 level).


svn path=/branches/mono-2-4/mcs/; revision=127528
2009-02-20 11:16:43 +00:00
Veerapuram Varadhan cd41807bcb * TdsDataReader.cs: Access TdsDataColumn correctly for NET_2_0.
Fixes #466199. Patch by Tom Hindle <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=127493
2009-02-20 02:30:12 +00:00
Ivan Zlatev fff850ae00 2009-02-19 Ivan N. Zlatev <[email protected]>
* DataGridViewCell.cs: Use strict equality comparison in order to
	prevent superfluous CellValueChanged events.

svn path=/branches/mono-2-4/mcs/; revision=127452
2009-02-19 20:16:25 +00:00
Gonzalo Paniagua Javier c4af40f5cf 2009-02-19 Gonzalo Paniagua Javier <[email protected]>
* FtpWebRequest.cs: avoid errors when creating a temporary Uri to get
	the local path.
	* WebClient.cs: when setting up the request for downloading, use the
	default method. Fixes bug #477611.


svn path=/branches/mono-2-4/mcs/; revision=127451
2009-02-19 20:14:31 +00:00
Ivan Zlatev ace3196c2b 2009-02-19 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: Do not reset the columns when the data list changes,
	but only the rows. Fixes multiple bugs related to sorting, custom
	column styles being reset and more.

svn path=/branches/mono-2-4/mcs/; revision=127435
2009-02-19 18:25:02 +00:00
Veerapuram Varadhan 890a4f46f5 backport of r127379
svn path=/branches/mono-2-4/mcs/; revision=127424
2009-02-19 17:11:14 +00:00
Gonzalo Paniagua Javier fd89397e70 2009-02-19 Gonzalo Paniagua Javier <[email protected]>
* OleDbFactory.cs: New file.


svn path=/branches/mono-2-4/mcs/; revision=127376
2009-02-19 06:50:42 +00:00
Gonzalo Paniagua Javier 50c7e593cb 2009-02-18 Gonzalo Paniagua Javier <[email protected]>
* TemplateControl.cs: ReadStringResource returns null now.


svn path=/branches/mono-2-4/mcs/; revision=127359
2009-02-19 02:43:33 +00:00
Gonzalo Paniagua Javier c06c09bd60 svn path=/branches/mono-2-4/mcs/; revision=127354 2009-02-18 23:52:50 +00:00
Gonzalo Paniagua Javier 4a3bf3d995 2009-02-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpApplicationFactory.cs: check of global.asax was precompiled.
	* System.Web.UI/MasterPage.cs: the items in ContentPlaceHolders are lowercase.
	* System.Web.Compilation/TemplateControlCompiler.cs: lowercase place holder names
	* System.Web.Compilation/BuildManager.cs: initial support for
	precompilation. No 'updatable', please.



svn path=/branches/mono-2-4/mcs/; revision=127353
2009-02-18 23:51:15 +00:00
Zoltan Varga f59cfce9df 2009-02-19 Zoltan Varga <[email protected]>
Backport of r127347.

	* marshal.c (mono_ftnptr_to_delegate): Convert a NULL ftnptr to a null
	delegate. Fixes #477396.

svn path=/branches/mono-2-4/mono/; revision=127349
2009-02-18 23:14:25 +00:00
Marek Safar b73876a464 Fixes build.
svn path=/branches/mono-2-4/mcs/; revision=127341
2009-02-18 23:02:17 +00:00
Bill Holmes 836e73df60 2009-02-18 Bill Holmes <[email protected]>
backport of r127338

	* mono.def : Adding mono_jit_set_trace_options

	Code is contributed under MIT/X11 license.

svn path=/branches/mono-2-4/mono/; revision=127339
2009-02-18 23:01:08 +00:00
Marek Safar c524bc933b 2009-02-18 Marek Safar <[email protected]>
A fix for bug #472805
	* typemanager.cs, namespace.cs: Import only visible extension method
	types.


svn path=/branches/mono-2-4/mcs/; revision=127311
2009-02-18 19:54:14 +00:00
Marek Safar 9d136bfc7c 2009-02-18 Marek Safar <[email protected]>
A fix for bug #476266
	* anonymous.cs: Mutate multi-dimensional arrays.


svn path=/branches/mono-2-4/mcs/; revision=127294
2009-02-18 17:05:03 +00:00
Bill Holmes ac220e9c0e 2009-02-18 Bill Holmes <[email protected]>
backport of r127279.

	* marshal.c (cominterop_get_managed_wrapper_adjusted) :
	  Adding exception handling for all CCW calls.

	Code is contributed under MIT/X11 license.

svn path=/branches/mono-2-4/mono/; revision=127280
2009-02-18 15:31:07 +00:00
Zoltan Varga ee8370eb8d 2009-02-18 Zoltan Varga <[email protected]>
Backport of r127232.
	
	* marshal.c (emit_marshal_boolean): Add null checks to the new 
	native->managed marshalling code. Fixes #476247.

svn path=/branches/mono-2-4/mono/; revision=127233
2009-02-17 23:51:25 +00:00
Zoltan Varga bdffeb6712 2009-02-02 Zoltan Varga <[email protected]>
Backport of r125348.

	* marshal.c (mono_marshal_get_runtime_invoke): Disable sharing for
	methods taking vtype/byref arguments, to fix yet another bug caused by
	the sharing of runtime invoke wrappers. Partly fixes #471259.

svn path=/branches/mono-2-4/mono/; revision=127080
2009-02-16 23:23:52 +00:00
Zoltan Varga eb24cb0d59 2009-02-15 Zoltan Varga <[email protected]>
Backport of r125349.

	* marshal.c (mono_marshal_free_dynamic_wrappers): New function for
	freeing wrappers of dynamic methods.

	* loader.c (mono_free_method): Call it. Fixes #463323.

svn path=/branches/mono-2-4/mono/; revision=127076
2009-02-16 22:08:08 +00:00
Zoltan Varga 034798235b 2009-02-15 Zoltan Varga <[email protected]>
Backport of r125349.

	* marshal.c (mono_marshal_free_dynamic_wrappers): New function for
	freeing wrappers of dynamic methods.

	* loader.c (mono_free_method): Call it. Fixes #463323.

svn path=/branches/mono-2-4/mono/; revision=127075
2009-02-16 22:07:04 +00:00
Zoltan Varga f049ca86f7 2009-02-15 Zoltan Varga <[email protected]>
Backport of r126958.
	
	* reflection.c (clear_cached_object): New helper function.
	(mono_method_clear_object): New function to clear the cached reflection
	objects for a dynamic method.

	* object.c (mono_runtime_free_method): Call mono_method_clear_object ().
	Partly fixes # 463323.

svn path=/branches/mono-2-4/mono/; revision=127074
2009-02-16 21:59:09 +00:00
Rodrigo Kumpera bcd05ee327 In .:
* loader.c (method_from_memberref): Properly fix #474271 and
	don't break the runtime bad.

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


svn path=/branches/mono-2-4/mono/; revision=127073
2009-02-16 21:51:24 +00:00
Zoltan Varga 4ed001307d 2009-02-16 Zoltan Varga <[email protected]>
Backport of r126983 + r127069.

	* ssa.c (visit_inst): Fix a crash if the instruction following a switch
	was optimized away.

	Backport of r126980.

	* mini-x86.c (mono_arch_get_vcall_slot): Handle yet another
	code sequence which matches a non-virtual call. Fixes #472654.

	Backport of r124419.

	* mini-amd64.c (mono_arch_get_vcall_slot): Handle yet another
	code sequence which matches a non-virtual call.

svn path=/branches/mono-2-4/mono/; revision=127071
2009-02-16 21:49:34 +00:00
Rodrigo Kumpera 4b4f5466cd In .:
2009-02-16 Rodrigo Kumpera  <[email protected]>

	Backport of r127032.

	* loader.c (method_from_memberref): Don't abort if the array
	method is not found. A regular loader failure is more informative
	and correct.

	Fixes #474271.
	

svn path=/branches/mono-2-4/mono/; revision=127061
2009-02-16 18:12:54 +00:00
Mark Probst 914d38a33e 2009-02-16 Mark Probst <[email protected]>
Backport of r125679.

	Contributed under the terms of the MIT/X11 license by Steven
	Munroe <[email protected]>.

	* mini-ppc.c (mono_arch_output_basic_block): Generate better code
	for LOADI4_MEMBASE.  Use addi instead of addic if it's not
	necessary.

svn path=/branches/mono-2-4/mono/; revision=127059
2009-02-16 17:12:39 +00:00
Mark Probst 8e677f9921 2009-02-16 Mark Probst <[email protected]>
Backport of r125676.

	Contributed under the terms of the MIT/X11 license by Steven
	Munroe <[email protected]>.

	* exceptions-ppc.c (mono_arch_get_restore_context): Code size
	comparison fix.

	* tramp-ppc.c (mono_arch_create_generic_class_init_trampoline):
	The trampoline can be longer on PPC64.

svn path=/branches/mono-2-4/mono/; revision=127056
2009-02-16 17:07:03 +00:00
Mark Probst 12815c0c7e 2009-02-16 Mark Probst <[email protected]>
Backport of r125672.

	Contributed under the terms of the MIT/X11 license by Steven
	Munroe <[email protected]>.

	* mini-ppc.c: Compiler warning fixes and trivial code
	simplifications.

svn path=/branches/mono-2-4/mono/; revision=127055
2009-02-16 17:06:12 +00:00
Mark Probst b535b7d4c0 2009-02-16 Mark Probst <[email protected]>
Backport of r125443.

	Contributed under the terms of the MIT/X11 license by Steven
	Munroe <[email protected]>.

	* ppc/ppc-codegen.h: Make operand order and case consistent
	(assembler order) for ppc_load_reg_update, ppc_load_multiple_regs,
	ppc_store_multiple_regs, ppc_lwz, ppc_lhz, ppc_lbz,
	ppc_stw,ppc_sth, ppc_stb, ppc_stwu, ppc_lbzu, ppc_lfdu, ppc_lfsu,
	ppc_lfsux, ppc_lfsx, ppc_lha, ppc_lhau, ppc_lhzu, ppc_lmw,
	ppc_lwzu, ppc_stbu, ppc_stfdu, ppc_stfsu, ppc_sthu, ppc_stmw.  Use
	"i" or "ui" instead of "d" for immediated operands to immediate
	arthimetic and logical instructions in macros ppc_addi, ppc_addis,
	ppc_ori, ppc_addic, ppc_addicd, ppc_andid, ppc_andisd.
	[__mono_ppc64__]: Make operand order and case consistent
	(assembler order) for ppc_load_multiple_regs,
	ppc_store_multiple_regs.  Simplify the DS form and make them
	consistent with D forms for ppc_load_reg, ppc_load_reg_update,
	ppc_store_reg, ppc_store_reg_update. ppc_ld, ppc_lwa, ppc_ldu,
	ppc_std, ppc_stdu.  Define ppc_lwax and ppc_lwaux.

2009-02-16  Mark Probst  <[email protected]>

	Backport of r125443.

	Contributed under the terms of the MIT/X11 license by Steven
	Munroe <[email protected]>.

	* exceptions-ppc.c (restore_regs_from_context): Correct operand
	order (offset then base reg) for ppc_load_multiple_regs.
	(emit_save_saved_regs) Correct operand order for
	ppc_store_multiple_regs.
	(mono_arch_get_call_filter): Correct operand order for
	ppc_load_multiple_regs.

	* mini-ppc.c (emit_memcpy): Fix operand order for
	ppc_load_reg_update and ppc_store_reg_update.
	(mono_arch_output_basic_block): Correct operand order for ppc_lha.
	(mono_arch_emit_epilog): Correct operand order for
	ppc_load_multiple_regs.

	* tramp-ppc.c (mono_arch_create_trampoline_code): Correct operand
	order for ppc_store_multiple_regs and ppc_load_multiple_regs.

svn path=/branches/mono-2-4/mono/; revision=127054
2009-02-16 17:04:06 +00:00
Mark Probst 3f1a1dbdfe 2009-02-16 Mark Probst <[email protected]>
Backport of r125430.

	* cpu-ppc64.md: Fixed storer4_memindex length.

svn path=/branches/mono-2-4/mono/; revision=127053
2009-02-16 17:01:59 +00:00
Marek Safar eceec54500 2009-02-16 Marek Safar <[email protected]>
A fix for bug #475965
	* generics.cs: Check generic parameter type after extracting from
	Expression<T>.


svn path=/branches/mono-2-4/mcs/; revision=127041
2009-02-16 15:33:42 +00:00
Atsushi Eno c3335e6f62 branch is broken too.
svn path=/branches/mono-2-4/mcs/; revision=127000
2009-02-16 08:07:02 +00:00
Zoltan Varga d8feb83640 2009-02-14 Zoltan Varga <[email protected]>
Backport of r126897.
	
	* method-to-ir.c (mini_emit_ldelema_1_ins): If the array index is a long,
	convert it to an in32. Fixes #475859.

	* arrays.cs: Add a test.

svn path=/branches/mono-2-4/mono/; revision=126900
2009-02-14 00:07:00 +00:00
Gonzalo Paniagua Javier 3a520d36c4 2009-02-13 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: implemente (Read|Write)Timeout.
	Fixes bug #348159.


svn path=/branches/mono-2-4/mcs/; revision=126841
2009-02-13 15:08:53 +00:00
Marek Safar 3fe2bf4538 2009-02-13 Marek Safar <[email protected]>
A fix for bug #475327
	* expression.cs (ArrayCreation): Don't mutate values optimized away.


svn path=/branches/mono-2-4/mcs/; revision=126826
2009-02-13 12:08:57 +00:00
Zoltan Varga 00f2704267 2009-02-12 Zoltan Varga <[email protected]>
Backport of r126717.

	* mini-amd64.c (mono_arch_build_imt_thunk): Fix size calculation after
	the fail_tramp changes. Hopefully fixes #475132.

svn path=/branches/mono-2-4/mono/; revision=126811
2009-02-13 09:39:00 +00:00
Gonzalo Paniagua Javier 150b04b1b9 2009-02-05 Miguel De Icaza <[email protected]>
* sockets.c (_wapi_setsockopt): SO_REUSEPORT is needed also on
	MacOS X.  Fixes bug #471292


svn path=/branches/mono-2-4/mono/; revision=126772
2009-02-12 23:44:05 +00:00
Lluis Sanchez 098fc0b907 2009-02-12 Lluis Sanchez Gual <[email protected]>
* MarshalByRefObject.cs: Implemented MemberwiseClone(bool).


svn path=/branches/mono-2-4/mcs/; revision=126750
2009-02-12 19:46:11 +00:00
Zoltan Varga 1b5cea04fc 2009-02-12 Zoltan Varga <[email protected]>
Backport of r126737.

	* mini-s390x.c (mono_arch_output_basic_block): Fix the shift amounts in 
	OP_LCONV_TO_U2.

	* basic-long.cs: Add a test.

svn path=/branches/mono-2-4/mono/; revision=126742
2009-02-12 18:46:42 +00:00
Bill Holmes e61b2cd43d 2009-02-12 Bill Holmes <[email protected]>
Backport of r126738.  This is a safer variant of the
	  trunk for the 2.4 branch. The default in emit_marshal_boolean
	  for this version is I1.

	* object-internals.h : Fixing a typo in the
	  MonoReflectionComVisibleAttribute struct.

	* marshal.c (cominterop_com_visible): Check the implemented
	  interfaces for ComImport.

	* marshal.c (cominterop_get_native_wrapper_adjusted): For COM calls
	  assume that bools should be treated as VARIANTBOOLs.

	* marshal.c (emit_marshal_boolean): Adding cases for
	  MARSHAL_ACTION_MANAGED_CONV_IN and MARSHAL_ACTION_MANAGED_CONV_OUT.

	* marshal.c (mono_marshal_emit_managed_wrapper): Adding calls to
	  emit_marshal MARSHAL_ACTION_MANAGED_CONV_IN and OUT for bools.

	* marshal.c (cominterop_get_ccw): For COM calls assume that bools
	  should be treated as VARIANTBOOLs.

	Code is contributed under MIT/X11 license.


svn path=/branches/mono-2-4/mono/; revision=126740
2009-02-12 18:40:22 +00:00
Zoltan Varga 69b329a4a5 2009-02-12 Zoltan Varga <[email protected]>
Backport of r126737.

	* mini-s390x.c (mono_arch_output_basic_block): Fix the shift amounts in 
	OP_LCONV_TO_U2.

	* basic-long.cs: Add a test.

svn path=/branches/mono-2-4/mono/; revision=126739
2009-02-12 18:40:13 +00:00
Marek Safar 8cc06e5e77 2009-02-12 Marek Safar <[email protected]>
A fix for bug ##475246
	* expression.cs: More broken flowanalysis hacking needed.


svn path=/branches/mono-2-4/mcs/; revision=126729
2009-02-12 17:47:59 +00:00
Mark Probst 4fd91bf1c0 2009-02-12 Mark Probst <[email protected]>
* generic-sharing.c: Fixed a locking bug: The loader lock has to
	be taken before the templates lock.  Fixes part of #473150.

svn path=/branches/mono-2-4/mono/; revision=126715
2009-02-12 14:08:07 +00:00
Gonzalo Paniagua Javier 6b9376a9bf 2009-02-12 Gonzalo Paniagua Javier <[email protected]>
* io.c: EXDEV when moving directories fails now without creating a
	file in the destination.
	Fixes bug #326983.


svn path=/branches/mono-2-4/mono/; revision=126691
2009-02-12 07:44:10 +00:00
Gonzalo Paniagua Javier c457bcfa42 2009-02-12 Gonzalo Paniagua Javier <[email protected]>
* MonoIO.cs:
	* MonoIOError.cs: enable ERROR_NOT_SAME_DEVICE.


svn path=/branches/mono-2-4/mcs/; revision=126689
2009-02-12 07:43:36 +00:00
Zoltan Varga 63d82ffc3c 2009-02-12 Zoltan Varga <[email protected]>
Backport of r126668.
	
	* ssa.c (fold_ins): Use MONO_IS_JUMP_TABLE () and MONO_JUMP_TABLE_FROM_INS ()
	for processing jump tables. Fixes #473787.

svn path=/branches/mono-2-4/mono/; revision=126669
2009-02-12 00:23:23 +00:00
Mark Probst 2bdd7e92d3 2009-02-11 Mark Probst <[email protected]>
Backport of r126631.

	* class.c, class-internals.h: mono_method_get_context_general()
	combines the functionality of mono_method_get_context() and
	mini_method_get_context().

	* generic-sharing.c, domain-internals.h:
	mono_method_construct_object_context() and
	mono_domain_lookup_shared_generic() moved from mini.

	* icall.c (ves_icall_InternalInvoke): Handle the case where the
	method doesn't have the correct instantiation because it's shared
	generic code.  Fixes #473999.

2009-02-11  Mark Probst  <[email protected]>

	Backport of r126631.

	* mini-generic-sharing.c: mini_method_get_context() just calls
	mono_method_get_context_general() now.

	* mini.c, mini.h: Moved get_object_generic_inst(),
	construct_object_context_for_method() and
	mono_domain_lookup_shared_generic() to metadata/generic-sharing.c.

2009-02-11  Mark Probst  <[email protected]>

	Backport of r126631.

	* bug-473999.2.cs: New test.

	* Makefile.am: Test added.

svn path=/branches/mono-2-4/mono/; revision=126635
2009-02-11 19:23:28 +00:00
Andrew Jorgensen 5bb5d1d407 Missed part of the merge (not sure how that happened... I used svn diff
and patch.  Oh well, easy enough to fix.

svn path=/branches/mono-2-4/mono/; revision=126624
2009-02-11 17:23:13 +00:00
Zoltan Varga ca426640a8 2009-02-11 Zoltan Varga <[email protected]>
Backport of 126604.

	* branch-opts.c (mono_if_conversion): Handle the case where the merged 
	basic block fell through to its successor bblock without a branch. Fixes
	#474718.

	* iltests.il.in: Add a test.

svn path=/branches/mono-2-4/mono/; revision=126606
2009-02-11 14:36:29 +00:00
Bill Holmes 718382bad7 2009-02-11 Bill Holmes <[email protected]>
Backport of r126596.

	* socket-io.c (ves_icall_System_Net_Sockets_Socket_Accept_internal):
	  For Win32, add additional break conditions for accept.

	Code is contributed under MIT/X11 license.


svn path=/branches/mono-2-4/mono/; revision=126598
2009-02-11 13:50:55 +00:00
Gonzalo Paniagua Javier 32bf4798e3 2009-02-10 Gonzalo Paniagua Javier <[email protected]>
* CookieContainer.cs: separate cookies with "; " instead of just ';'.
	Fixes bug #386727.


svn path=/branches/mono-2-4/mcs/; revision=126531
2009-02-10 23:35:16 +00:00
Gonzalo Paniagua Javier dcff2f2285 Fix the windows build in the branch too
svn path=/branches/mono-2-4/mono/; revision=126513
2009-02-10 21:04:58 +00:00
Marek Habersack 17c171a0f9 Backport of r126482
svn path=/branches/mono-2-4/mcs/; revision=126483
2009-02-10 18:12:48 +00:00
Mark Probst 2debaf6612 2009-02-10 Mark Probst <[email protected]>
Backport of r126467.

	* mini-x86.c (mono_arch_context_get_int_reg): Handle all registers
	individually.  Fixes #473482.

2009-02-10  Mark Probst  <[email protected]>

	Backport of r126467.

	* bug-473482.2.cs: New test.

	* Makefile.am: Test added.

svn path=/branches/mono-2-4/mono/; revision=126469
2009-02-10 15:22:00 +00:00
Gonzalo Paniagua Javier 42d8948ea3 2009-02-10 Gonzalo Paniagua Javier <[email protected]>
* AppDomain.cs: this fixes the remoting tests.
	Zoltan found out that there was a domain improperly using shadow
	copy.


svn path=/branches/mono-2-4/mcs/; revision=126431
2009-02-10 07:37:33 +00:00
Andrew Jorgensen 6b01c59030 Backport of r126400
svn path=/branches/mono-2-4/mono/; revision=126402
2009-02-10 00:38:41 +00:00
Marek Habersack 00acd5fd49 Backport of r126371.
svn path=/branches/mono-2-4/mcs/; revision=126372
2009-02-09 21:09:25 +00:00
Andrew Jorgensen f434ba459c Fix Bug 472021 - Windows installation sqlsharp.bat (etc) broken
svn path=/branches/mono-2-4/mono/; revision=126349
2009-02-09 16:52:28 +00:00
Gonzalo Paniagua Javier 34c5d71769 2009-02-08 Gert Driesen <[email protected]>
* Dns.cs: BeginGetHostAddresses - renamed argument to match MS,
	reject "any" IP addresses. BeginGetHostEntry - renamed argument
	to match MS, reject "any" IP addresses. GetHostEntry - reject
	"any" IP addresses. GetHostAddresses - reject "any" IP addresses.
	GetHostByName - use "hostName" as paramname in ANE.


svn path=/branches/mono-2-4/mcs/; revision=126295
2009-02-08 23:20:27 +00:00
Gonzalo Paniagua Javier 53acf05e01 2009-02-08 Gert Driesen <[email protected]>
* DnsTest.cs: Use Assert syntax, and spaces to tabs. Added tests
	for argument checks.

svn path=/branches/mono-2-4/mcs/; revision=126294
2009-02-08 23:18:43 +00:00
Gonzalo Paniagua Javier be859b75ff 2009-02-08 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: lock SetResponseError.


svn path=/branches/mono-2-4/mcs/; revision=126293
2009-02-08 23:11:33 +00:00
Zoltan Varga f958258d28 2009-02-09 Zoltan Varga <[email protected]>
Backport of r126290.

	* wait.c (WaitForMultipleObjectsEx): Initialize poll variable.

svn path=/branches/mono-2-4/mono/; revision=126291
2009-02-08 23:08:59 +00:00
Gonzalo Paniagua Javier a5d0787137 2009-02-08 Gonzalo Paniagua Javier <[email protected]>
* HttpClientTransportSink.cs: if we get an WebException that does not
	have a response, dispatch it to the sink.



svn path=/branches/mono-2-4/mcs/; revision=126289
2009-02-08 22:51:35 +00:00
Ivan Zlatev fc990b1fdc 2009-02-07 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: End or if end fails then cancel the current edit
	operation before clearing the data source.

svn path=/branches/mono-2-4/mcs/; revision=126215
2009-02-07 23:27:17 +00:00
Ivan Zlatev f97835553c 2009-02-07 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: Data-bind only after the handle is created.
	[Fixes bug #473680]

svn path=/branches/mono-2-4/mcs/; revision=126214
2009-02-07 23:27:12 +00:00
Gonzalo Paniagua Javier 9dd4b35d13 2009-02-07 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: when requesting all the local ips, if there are no
	interfaces up and running, MS returns 127.0.0.1.


svn path=/branches/mono-2-4/mono/; revision=126204
2009-02-07 19:57:55 +00:00
Gonzalo Paniagua Javier 5a440ac217 2009-02-07 Gonzalo Paniagua Javier <[email protected]>
* mono-perfcounters-def.h: processor time is an inverse time.
	Fixes bug #468625.


svn path=/branches/mono-2-4/mono/; revision=126194
2009-02-07 18:57:36 +00:00
Gonzalo Paniagua Javier 67cbfb1f5c 2009-02-07 Gonzalo Paniagua Javier <[email protected]>
* configure.in: include stdio so that NULL is defined when checking
	for ifreq.


svn path=/branches/mono-2-4/mono/; revision=126165
2009-02-07 05:25:30 +00:00
Gonzalo Paniagua Javier 90a94a6b8b 2009-02-07 Gonzalo Paniagua Javier <[email protected]>
* Dns.cs: empty string for host (also 0.0.0.0) is just passed to the
	runtime, which will then retrieve the local IP addresses. Fixes bug
	#386637 part 2/2.


svn path=/branches/mono-2-4/mcs/; revision=126163
2009-02-07 05:22:36 +00:00
Gonzalo Paniagua Javier f6479e150f 2009-02-07 Gonzalo Paniagua Javier <[email protected]>
* socket-io.c: an empty host name returns the list of local IPs.
	Fixes bug #386637 part 1/2.


svn path=/branches/mono-2-4/mono/; revision=126161
2009-02-07 05:21:42 +00:00
Gonzalo Paniagua Javier 1208b12f69 2009-02-06 Gonzalo Paniagua Javier <[email protected]>
* StreamReader.cs: when a LF ends a decoded buffer and is not followed
	by a CR in the next decoded buffer, we didn't flush the string.
	Fixes bug #445326.


svn path=/branches/mono-2-4/mcs/; revision=126132
2009-02-06 23:02:06 +00:00
Gonzalo Paniagua Javier d3d80927e1 2009-02-06 Gonzalo Paniagua Javier <[email protected]>
* FtpWebRequest.cs: some servers have a comment after the directory
	name. Fixes bugs #471149 and #471216.


svn path=/branches/mono-2-4/mcs/; revision=126102
2009-02-06 20:19:30 +00:00
Gonzalo Paniagua Javier 73146ea69a 2009-02-06 Gonzalo Paniagua Javier <[email protected]>
* WebConnectionStream.cs: set the content length to 0 when the
	response is not supposed to have any content.


svn path=/branches/mono-2-4/mcs/; revision=126091
2009-02-06 19:33:54 +00:00
Zoltan Varga f7d427a360 2009-02-06 Zoltan Varga <[email protected]>
Backport of r126054.

	* marshal.c (get_runtime_invoke_type): Avoid sharing enum types since they
	need to be boxed.

svn path=/branches/mono-2-4/mono/; revision=126055
2009-02-06 15:18:43 +00:00
Marek Habersack 2b8f2bd2eb Backport of r126051
svn path=/branches/mono-2-4/mcs/; revision=126052
2009-02-06 15:06:58 +00:00
Marek Habersack 11d0202305 Reverting 126038
svn path=/branches/mono-2-4/mcs/; revision=126046
2009-02-06 14:11:25 +00:00
Marek Habersack a755dfc8ab Backport of r126037
svn path=/branches/mono-2-4/mcs/; revision=126038
2009-02-06 13:09:51 +00:00
Marek Habersack 2c9a79735d Backport of r126025
svn path=/branches/mono-2-4/mcs/; revision=126030
2009-02-06 12:26:30 +00:00
Marek Habersack abc43192bf Backport of r125945
svn path=/branches/mono-2-4/mcs/; revision=125946
2009-02-05 22:09:11 +00:00
Mark Probst 791e158847 2009-02-05 Mark Probst <[email protected]>
Backport of r125887.

	* object.c (mono_object_get_virtual_method): Properly inflate
	generic methods.  Fixes #472692.

2009-02-05  Mark Probst  <[email protected]>

	Backport of r125887.

	* jit-icalls.c (mono_helper_compile_generic_method): Don't inflate
	the method we get from mono_object_get_virtual_method() because
	that function does it properly, now.

2009-02-05  Mark Probst  <[email protected]>

	Backport of r125887.

	* bug-472692.2.cs: New test.

	* Makefile.am: Test added.

svn path=/branches/mono-2-4/mono/; revision=125910
2009-02-05 18:46:12 +00:00
Ivan Zlatev 35022b4629 2009-02-05 Ivan N. Zlatev <[email protected]>
* DataGridViewRowCollection.cs, DataGridView.cs: Fix row insertation:
	   - Use ArrayList.Insert instead of the Item property so that the item
	   is actually inserted and not an existing item replaced.
	   - Call DataGridView.OnRowsAddedInternal and drop internal from
	   OnRowsAdded for binary compitability. This also fixes several
	   redrawing issues.
	[Fixes bug #472968]

svn path=/branches/mono-2-4/mcs/; revision=125901
2009-02-05 18:26:32 +00:00
Andrés G. Aragoneses 13e7da0b12 (Backport typo fix in r125894.)
System.Windows.Forms/ToolBarButton.cs: Doh, fire OnUIATextChanged
  *after* setting the value.

svn path=/branches/mono-2-4/mcs/; revision=125896
2009-02-05 18:07:46 +00:00
Marek Habersack 31d1906af8 Backport of r125885
svn path=/branches/mono-2-4/mcs/; revision=125888
2009-02-05 17:06:35 +00:00
Andrés G. Aragoneses e8030a1270 oops, fix build
svn path=/branches/mono-2-4/mcs/; revision=125877
2009-02-05 16:15:30 +00:00
Andrés G. Aragoneses 81732363f2 * ToolBarButton.cs: OnTextChanged added.
(Backport of r125802.) r: jpobst

svn path=/branches/mono-2-4/mcs/; revision=125876
2009-02-05 16:10:56 +00:00
Miguel de Icaza e47086ae2c Backport the fix for the nullref on WebConnectionStream
svn path=/branches/mono-2-4/mcs/; revision=125875
2009-02-05 16:09:10 +00:00
Marek Habersack adb5812097 Backport of r125857
svn path=/branches/mono-2-4/mcs/; revision=125858
2009-02-05 13:15:31 +00:00
Rodrigo Kumpera a629d14e14 2009-02-05 Rodrigo Kumpera <[email protected]>
Backport of r125849.

	* class.c (mono_class_create_from_typedef): The CLR supports SystemF
	recursive types such as List<T>:Cons<T,List<T>> so when doing the lookup
	for the parent type, the created type must be ready to be used on a generic
	instantiation.
	We fill this_arg/byval_arg if the parent is a generic instance to make sure
	we won't have duplicated entries in generic_inst_cache.

	Fixes #469553.



svn path=/branches/mono-2-4/mono/; revision=125851
2009-02-05 11:52:52 +00:00
Mark Probst 455afec78e 2009-02-05 Mark Probst <[email protected]>
Backport of r125839.

	* mini-exceptions.c (ves_icall_get_frame_info): Account for the
	fact that mono_find_jit_info() sometimes returns the context
	corresponding to the jit info in new_ctx.  Fixes #472600.

2009-02-05  Mark Probst  <[email protected]>

	Backport of r125839.

	* bug-472600.2.cs: New test.

	* Makefile.am: Test added.

svn path=/branches/mono-2-4/mono/; revision=125850
2009-02-05 11:45:58 +00:00
Marek Habersack cee2f48565 Backport of r125798
svn path=/branches/mono-2-4/mcs/; revision=125799
2009-02-05 00:58:02 +00:00
Gonzalo Paniagua Javier 3a1003365a new tests for empty string
svn path=/branches/mono-2-4/mcs/; revision=125796
2009-02-05 00:22:18 +00:00
Gonzalo Paniagua Javier d8f224fa77 2009-02-04 Gonzalo Paniagua Javier <[email protected]>
* DateTime.cs: check for null and empty strings before anything else
	in CoreParse.


svn path=/branches/mono-2-4/mcs/; revision=125794
2009-02-05 00:21:03 +00:00
Miguel de Icaza 22492c37cc Remove public
svn path=/branches/mono-2-4/mcs/; revision=125749
2009-02-04 20:58:29 +00:00
Zoltan Varga a9e7fb0abd 2009-02-04 Zoltan Varga <[email protected]>
Backport of 125697.

	* mini-exceptions.c (mono_setup_altstack): Use a more reasonable altstack
	size on systems with 64k pages. Fixes #471389.

svn path=/branches/mono-2-4/mono/; revision=125698
2009-02-04 16:34:19 +00:00
Marek Safar 02284d8008 Fixed typo.
svn path=/branches/mono-2-4/mcs/; revision=125684
2009-02-04 14:08:30 +00:00
Marek Habersack 0b4c366520 Backport of r125663
svn path=/branches/mono-2-4/mcs/; revision=125664
2009-02-04 10:45:22 +00:00
Marek Habersack f5c7491d79 Backport of r125659
svn path=/branches/mono-2-4/mcs/; revision=125660
2009-02-04 09:04:05 +00:00
Zoltan Varga 4dd31c484d 2009-02-04 Zoltan Varga <[email protected]>
Backport of 125637.
	
	* Regex.cs: Disable the new regex engine for now.

svn path=/branches/mono-2-4/mcs/; revision=125638
2009-02-04 02:21:16 +00:00
Gonzalo Paniagua Javier 48c4359548 2009-02-03 Gonzalo Paniagua Javier <[email protected]>
* WebConnection.cs:
	* HttpWebRequest.cs: calling Abort is safe now if the request has been
	read entirely.


svn path=/branches/mono-2-4/mcs/; revision=125635
2009-02-04 01:50:26 +00:00
Rodrigo Kumpera 3d48548a24 In metadata:
Backport of r125603.

	* verify.c (is_compatible_boxed_valuetype): When checking if the boxed 
	valuetype is compatible with target type, check by inheritance as a
	VT is not really compatible with System.ValueType, for example.

	* verify.c (do_invoke_method): Improve error message.

	* verify.c (do_box_value): If boxing a nullable, use the type argument
	on stack instead.

	* verify.c (do_newobj): Improve error message.	

	Fixes #469549.

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

In tests/verifier:
	Backport of r125604.

	* valid_boxed_vt_compatible_with_sys_vt_or_sys_enum.il:
	Regression test for #469549.

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


svn path=/branches/mono-2-4/mono/; revision=125606
2009-02-03 22:05:30 +00:00
Ivan Zlatev bfb47f0422 2009-02-03 Ivan N. Zlatev <[email protected]>
* DataGridViewRowCollection.cs, DataGridView.cs: Move row completion
	code in the row collection code, so that the completion happens before
	the CollectionChanged event, also better encapsulation.
	[Fixes bug #471987]

svn path=/branches/mono-2-4/mcs/; revision=125587
2009-02-03 19:43:40 +00:00
Rodrigo Kumpera c5e9df9a7d In metadata:
2009-02-03 Rodrigo Kumpera  <[email protected]>

	Backport of r125581.

	* verify.c (mono_delegate_signature_equal): Make it possible to check
	first-arg-bound delegates to static method.

	* verify.c (verify_delegate_compatibility): Correctly verify delegates to
	static methods with the first arg bound.

	Fixes #469529.


In tests/verifier:
	Backport of r125582.

	* unverifiable_delegate_with_bad_bound_first_arg_to_static_method.il:
	* mono/tests/verifier/valid_ldfnt_delegates_of_static_methods.il:
	Regression test for #469529.

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


svn path=/branches/mono-2-4/mono/; revision=125586
2009-02-03 19:41:23 +00:00
Mark Probst 4bfa3b8cb4 2009-02-03 Mark Probst <[email protected]>
Backport of r125565.

	* generic-sharing.c: Don't hold domain lock when calling
	instantiate_other_info().  Fixes #471958.

	* domain-internals.h, loader.c: Describe locking policy of domain
	lock vs loader lock.

svn path=/branches/mono-2-4/mono/; revision=125570
2009-02-03 18:41:15 +00:00
Rodrigo Kumpera d0cfd383a1 In metadata:
Backport of r125539.

	* verify.c: Added stack_slot_full_name to provide decent and more meanfull
	errors.

	* verify.c (is_compatible_boxed_valuetype): Be less restrictive when not
	under strict mode. Any type, when boxed can be seen as a reference type.

	Fixes #469528.

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

In tests/verifier:
2009-02-03 Rodrigo Kumpera  <[email protected]>

	Backport of r125540.

	* valid_valuetype_boxed_types_are_merge_compatible.il:
	Regression test for #469528.


svn path=/branches/mono-2-4/mono/; revision=125561
2009-02-03 17:54:42 +00:00
Marek Safar 236f5b982c Fixes build.
svn path=/branches/mono-2-4/mcs/; revision=125550
2009-02-03 16:50:46 +00:00
Marek Safar 082abf401a 2009-02-03 Marek Safar <[email protected]>
* class.cs, generic.cs: Emit type parameter constraints for nested
	types.


svn path=/branches/mono-2-4/mcs/; revision=125508
2009-02-03 12:08:02 +00:00
Gonzalo Paniagua Javier bc2585699c 2009-02-03 Gonzalo Paniagua Javier <[email protected]>
* WebProxy.cs: use TryParse when checking for a localhost IP.


svn path=/branches/mono-2-4/mcs/; revision=125500
2009-02-03 10:08:56 +00:00
Gonzalo Paniagua Javier 6dad7702ea 2009-01-26 Gonzalo Paniagua Javier <[email protected]>
* HttpWebResponse.cs: avoid throwing an exception when
	Content-Length is not present.

svn path=/branches/mono-2-4/mcs/; revision=125493
2009-02-03 08:18:25 +00:00
Raja R Harinath 84031f8584 Fix #463999
* CommittableTransaction.cs (CommitCallback): Handle the case
where the callback is invoked before BeginCommit ends due to the
async call ending synchronously.

svn path=/branches/mono-2-4/mcs/; revision=125490
2009-02-03 07:20:32 +00:00
Rodrigo Kumpera 243a027520 In metadata:
2009-02-03 Rodrigo Kumpera  <[email protected]>

	Backport of r125458.

	* object.h: The lower bound of an array is a signed integer value.
	Introduce mono_array_lower_bound_t typedef. It should be used instead of
	gint32 as under MONO_BIG_ARRAYS it will be a gint64.

	* icall.c: Cast MonoArrayBounds::length to a signed value so correctly
	calculate the upper bound.
	
	Fixes #471252.

In mini:
2009-02-03  Rodrigo Kumpera  <[email protected]>

	Backport of r125459.

	* arrays.cs: Test for Get/SetValue of array with negate lower bounds.
	

svn path=/branches/mono-2-4/mono/; revision=125461
2009-02-03 03:06:01 +00:00
Rodrigo Kumpera 5b78093eef 2008-02-03 Rodrigo Kumpera <[email protected]>
* MonoMethod.cs (ToString): Fix the 1.1 build.


svn path=/branches/mono-2-4/mcs/; revision=125457
2009-02-03 02:53:00 +00:00
Ivan Zlatev 4b6d5edc78 2009-02-02 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: When editing is finished do not remove the editing
	row, because it has already become a real one. Instead add a new one.
	[Fixes bug #471754]

svn path=/branches/mono-2-4/mcs/; revision=125445
2009-02-02 23:36:15 +00:00
Rodrigo Kumpera b9d3e3262c Backport of r125415.
* MonoMethod.cs (ToString): Fix the representation of non primitive structs.

2008-02-02  Rodrigo Kumpera  <[email protected]>


svn path=/branches/mono-2-4/mcs/; revision=125417
2009-02-02 22:01:46 +00:00
Rodrigo Kumpera 77c4302bdf In Test/System.Reflection:
2008-02-02  Rodrigo Kumpera  <[email protected]>

	Backport of r125410.

	* MethodInfoTest.cs: Test for #409583.

In System.Reflection:
2008-02-02  Rodrigo Kumpera  <[email protected]>

	Backport of r125409.

	* MonoMethod.cs (ToString): Fix representation of pointer types.

	Fixes #409583.


svn path=/branches/mono-2-4/mcs/; revision=125411
2009-02-02 21:11:19 +00:00
Rodrigo Kumpera 7f13ce00ce 2009-02-02 Rodrigo Kumpera <[email protected]>
Backport of r125402.

	* icall.c (type_from_name): Ignore reflection frames to find out the real caller.

	Fixes #471255.


svn path=/branches/mono-2-4/mono/; revision=125404
2009-02-02 20:40:08 +00:00
Mark Probst 643a83b9a0 2009-02-02 Mark Probst <[email protected]>
Backport of r125388.

	* generic-sharing.c (lookup_or_register_other_info): Make sure the
	loader lock is not taken while the templates lock is held.  Fixes
	#471089.

svn path=/branches/mono-2-4/mono/; revision=125391
2009-02-02 18:48:15 +00:00
Mark Probst 25b50b1c80 2009-02-02 Mark Probst <[email protected]>
Backport or r125371.

	* metadata.c (type_in_image): Added a check to fix a monodis
	crash.

svn path=/branches/mono-2-4/mono/; revision=125377
2009-02-02 17:07:07 +00:00
Andrés G. Aragoneses 2e3f003f5f 2009-02-02 Andrés G. Aragoneses <[email protected]>
* ToolBar.cs: Add new UIAPerformClick method to be called by
        UIAutomationWinforms when someone calls Invoke() on the
        ToolBarButtonProvider. (Backport of r125354.) r: jpobst


svn path=/branches/mono-2-4/mcs/; revision=125358
2009-02-02 16:02:09 +00:00
Marek Safar b8a1e12c73 2009-02-02 Marek Safar <[email protected]>
A fix for bug #471213
	* class.cs: Avoid emitting backing field for abstract event fields.


svn path=/branches/mono-2-4/mcs/; revision=125335
2009-02-02 11:33:07 +00:00
Ivan Zlatev 95ca868476 2009-02-01 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: Complete incomplete rows when they are added to
	the grid.
	[Fixes bug #471068]

svn path=/branches/mono-2-4/mcs/; revision=125278
2009-02-01 20:00:30 +00:00
Ivan Zlatev 58c2baf6a6 2009-02-01 Ivan N. Zlatev <[email protected]>
* DataGridView.cs, DataGridViewColumnCollection.cs: Ensure that the
	binding is cleared prior to setting it to null. Fixes a regression
	causing exceptions when the DataSource is set to null and then set
	again to a data source.

svn path=/branches/mono-2-4/mcs/; revision=125272
2009-02-01 18:33:43 +00:00
Marek Safar 3fc405788c 2009-02-01 Marek Safar <[email protected]>
A fix for bug #359731
	* cs-tokenizer.cs, cs-parser.jay: Correctly parse nested query
	expressions.


svn path=/branches/mono-2-4/mcs/; revision=125270
2009-02-01 18:23:45 +00:00
Ivan Zlatev 79d7ad5921 2009-02-01 Ivan N. Zlatev <[email protected]>
* DataGridView.cs, DataGridViewImageColumn.cs, DataGridViewCell.cs:
	   - Make Image/Bitmap cells work.
	   - Handle images with size greater than the cell.
	   - Default to MiddleCenter alignment for image cells.
	[Fixes bug #471101]

svn path=/branches/mono-2-4/mcs/; revision=125260
2009-02-01 16:31:21 +00:00
Rodrigo Kumpera 4809f77419 2009-01-31 Rodrigo Kumpera <[email protected]>
Backport of r125172, r125205 and r125206 

	* basic-calls.cs: Test for the weird crash found on arm.
	
	* cpu-arm.md: Increase the size of storer8_membase_reg and
	loadr8_membase_reg to 24 bytes to accomodate the extra add.

	* mini-arm.c (mono_arch_output_basic_block): Under FPA, when emitting
	OP_STORER8_MEMBASE_REG and OP_LOADR8_MEMBASE_REG, add the original
	reg to LR otherwise we'll be loading/storing from just the offset.

	* cpu-arm.md: Increase the size of storer8_membase_reg to 20 bytes
	as it might use decomposed ops.


svn path=/branches/mono-2-4/mono/; revision=125207
2009-01-31 03:55:25 +00:00
Rodrigo Kumpera 71b8786ee9 2009-01-30 Rodrigo Kumpera <[email protected]>
Backport of r125077-79
	* exceptions-arm.c (mono_arch_find_jit_info): The frame layout on arm have
	separate frame and stack pointers, so we must use FP to find the register
	spill area.
	The FP reg is retrieved from the MonoContext::regs array.


	* mini-arm.c (mono_arch_output_basic_block): Emit two cond ops for OP_FBGE
	as FPA requires it.

	* mini-arm.c (mono_arch_emit_setret): Emit OP_FMOVE for methods that
	return R4 and R8 when not running under softfloat.

	Fixes basic-calls.exe


svn path=/branches/mono-2-4/mono/; revision=125116
2009-01-30 17:12:46 +00:00
Marek Habersack 0c0fa5ec89 Backport of r125111.
svn path=/branches/mono-2-4/mcs/; revision=125112
2009-01-30 16:53:05 +00:00
Marek Safar 57e29afeaf 2009-01-30 Marek Safar <[email protected]>
A fix for bug #470767
	* statement.cs: Introduced BlockScopeExpression, needed when 
	expression tree conversion has to emit scope variables.


svn path=/branches/mono-2-4/mcs/; revision=125096
2009-01-30 14:51:17 +00:00
Gonzalo Paniagua Javier c1577730af revert changes that should not be here yet
svn path=/branches/mono-2-4/mcs/; revision=124989
2009-01-29 19:00:13 +00:00
Gonzalo Paniagua Javier e22310c6b8 fix the 1.x build. Patch from Marek Safar
svn path=/branches/mono-2-4/mcs/; revision=124986
2009-01-29 18:57:41 +00:00
Gonzalo Paniagua Javier dc34921ff7 fix changelog
svn path=/branches/mono-2-4/mcs/; revision=124960
2009-01-29 17:18:54 +00:00
Gonzalo Paniagua Javier c4c2071766 2009-01-29 Gonzalo Paniagua Javier <[email protected]>
* Tds70.cs: fix for output parameters and '@'.
	Fixes bug #470120.


svn path=/branches/mono-2-4/mcs/; revision=124959
2009-01-29 17:16:46 +00:00
Gonzalo Paniagua Javier 16e7814ee4 2009-01-29 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs: fix check that avoids lock. Keep one
	HttpApplication instance ready to be returned in an instance variable
	to avoid a few locks.


svn path=/branches/mono-2-4/mcs/; revision=124949
2009-01-29 16:41:12 +00:00
Carlos Alberto Cortez 568d44fd06 2009-01-29 Carlos Alberto Cortez <[email protected]>
* XplatUIX11.cs: We should use utf8 handling clipboard transference
        with other x11 applications, and use utf16 when handling clipboard
        data in the class library. Update the related points as well.
        Fixes #468683.


svn path=/branches/mono-2-4/mcs/; revision=124920
2009-01-29 14:15:30 +00:00
Ivan Zlatev bcdc624995 2009-01-28 Ivan N. Zlatev <[email protected]>
* DataGridViewCell.cs: Format strings according to the supplied
	CellStyle.Format.
	[Fixes bug #470384]

svn path=/branches/mono-2-4/mcs/; revision=124878
2009-01-28 23:34:19 +00:00
Marek Habersack f2b360fc5d Backport of r124872
svn path=/branches/mono-2-4/mcs/; revision=124874
2009-01-28 23:29:31 +00:00
Bill Holmes f913aabf5c 2009-01-28 Bill Holmes <[email protected]>
Backport of r124869.

	* Uri.cs (IsWellFormedUriString):  Changing IsWellFormedUriString
	  to not throw an exception but return false instead.

	Contributed under MIT/X11 license.


svn path=/branches/mono-2-4/mcs/; revision=124870
2009-01-28 23:24:09 +00:00
Ivan Zlatev 3cd16ddbdb 2009-01-28 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: Reset the hover cell if it gets moved due to row(s)
	addition or removal. Fixes multiple crashes in OnMouseMove.

svn path=/branches/mono-2-4/mcs/; revision=124868
2009-01-28 22:48:56 +00:00
Carlos Alberto Cortez 8edff05440 2009-01-28 Carlos Alberto Cortez <[email protected]>
* TreeNode.cs: NextVisibleNode and PrevVisibleNode properties don't
	take into account the fact that OpenTreeNodeEnumerator needs to call
	MoveNext/MovePrevious to actually put the passed node as the one
	retrieved in Current. This way this property should work as really
	expected in .net.
	Fixes part of #467225.


svn path=/branches/mono-2-4/mcs/; revision=124802
2009-01-28 17:14:50 +00:00
Carlos Alberto Cortez bd3a3e1ec5 2009-01-28 Carlos Alberto Cortez <[email protected]>
* TreeView.cs: When calculating the scrollbars, don't use
	TreeNode.Bounds, since it still can have the values of the previous
	-and now invalid- layout -which depends on TreeView.skipped_nodes, and
	could not have been updated as well-, and use the actual number of
	visible number of nodes to compute the height needed to contain all
	the nodes. Also reset the value of vbar to 0 when disabled - this way
	we make sure that, when re-enabled, it will update the visible area of
	the treeview, even if the previous value before disabling it is the
	same as now. Finally don't do anything for the vbar.ValueChanged
	handler - for the case wheer we manually set the value but don't the
	vbar is disabled already.
	Fixes part of #467225.


svn path=/branches/mono-2-4/mcs/; revision=124801
2009-01-28 17:12:51 +00:00
Carlos Alberto Cortez 330dee9522 2009-01-28 Carlos Alberto Cortez <[email protected]>
* TreeView.cs: In CollapseAll, set vbar to the maximum value, instead 
	of trying to set as top node the highest parent of the previous
	top node. Moving to the bottom of the TreeView after a call
	to CollapseAll is exactly what .net does. This should avoid some
	nasty issue when CollapseAll is called and we don't need the
	vertical scroll bar.
	

svn path=/branches/mono-2-4/mcs/; revision=124800
2009-01-28 17:09:34 +00:00
Marek Safar e65b5f396b 2009-01-28 Marek Safar <[email protected]>
A fix for bug #470227
	* cs-tokenizer.cs: Remove too agressive parser optimization.


svn path=/branches/mono-2-4/mcs/; revision=124787
2009-01-28 16:13:16 +00:00
Marek Safar 5c4721c3d5 2009-01-28 Marek Safar <[email protected]>
A fix for bug #324319
	* class.cs: Remove too early base type resolve.


svn path=/branches/mono-2-4/mcs/; revision=124770
2009-01-28 12:29:20 +00:00
Mark Probst 3f7fdcc82d 2009-01-27 Mark Probst <[email protected]>
Backport of r124712.

	* method-to-ir.c (emit_stloc_ir): Only apply the reg-reg move
	optimization if the top of stack is the last instruction in the
	bblock.  Otherwise it might have been used after its definition.
	Fixes #469742.

2009-01-27  Mark Probst  <[email protected]>

	Backport of r124712.

	* bug469742.2.il: New test.

	* Makefile.am: Test added.

svn path=/branches/mono-2-4/mono/; revision=124715
2009-01-27 21:49:44 +00:00
Zoltan Varga a3d384dbbf 2009-01-27 Zoltan Varga <[email protected]>
* Backport of r123987.

	* method-to-ir.c (method-to-ir.c): Add support for the constrained prefix
	on type variables in AOTed code.

svn path=/branches/mono-2-4/mono/; revision=124691
2009-01-27 18:31:49 +00:00
Ivan Zlatev 699f408478 2009-01-27 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: Fix a NRE when setting the CurrentCell to null.

svn path=/branches/mono-2-4/mcs/; revision=124671
2009-01-27 16:48:12 +00:00
Ivan Zlatev 332943e496 2009-01-27 Ivan N. Zlatev <[email protected]>
* XplatUIX11.cs: Fire Timer.Tick even if there is no MainForm for the
	current context.
	[Fixes bug #469239]

svn path=/branches/mono-2-4/mcs/; revision=124669
2009-01-27 16:41:05 +00:00
Marek Habersack 204dc4ea04 Backport of r124659
svn path=/branches/mono-2-4/mcs/; revision=124660
2009-01-27 14:25:33 +00:00
Gonzalo Paniagua Javier 49bbf1f4c3 2009-01-26 Christian Prochnow <[email protected]>
* Ping.cs: ignore ICMP echo request packet in case we ping
	  localhost.


svn path=/branches/mono-2-4/mcs/; revision=124625
2009-01-27 04:23:18 +00:00
Andreia Gaita 401cabfc6a 2009-01-26 Andreia Gaita <[email protected]>
* WebBrowser.cs: fix initial value of ScrollbarsEnabled, so they
	won't be disabled by default.
	[Backported from r124596, fixes #468690]

svn path=/branches/mono-2-4/mcs/; revision=124615
2009-01-27 00:44:14 +00:00
Marek Safar a2e8d38fa6 2009-01-27 Marek Safar <[email protected]>
* anonymous.cs: Fixed recent regression when initializing captured 
	this.


svn path=/branches/mono-2-4/mcs/; revision=124608
2009-01-27 00:01:40 +00:00
Zoltan Varga 099b6e3c26 2009-01-26 Zoltan Varga <[email protected]>
Backport of r124582.

	* mini-s390x.c: Remove a stray declaration of emit_sig_cookie () to fix
	the s390x build.

svn path=/branches/mono-2-4/mono/; revision=124583
2009-01-26 22:12:45 +00:00
Ivan Zlatev 9979ab1f91 2009-01-26 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: Do not clear the rows if we are not databound.

svn path=/branches/mono-2-4/mcs/; revision=124570
2009-01-26 21:58:17 +00:00
Ivan Zlatev f11abca644 2009-01-26 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: Do not be too smart about selecting the first cell
	when the first row is added as this is not what MS does. Fixes the
	failing unit tests.

svn path=/branches/mono-2-4/mcs/; revision=124566
2009-01-26 21:45:47 +00:00
Marek Habersack c12233306a Backport of r124547
svn path=/branches/mono-2-4/mcs/; revision=124548
2009-01-26 18:58:39 +00:00
Marek Safar 5995136419 2009-01-26 Marek Safar <[email protected]>
A fix for bug #469019
	* anonymous.cs: Use all parent type parameters when instantiating
	nested generic storey.


svn path=/branches/mono-2-4/mcs/; revision=124533
2009-01-26 16:49:46 +00:00
Marek Safar 2441d1f521 2009-01-26 Marek Safar <[email protected]>
* expression.cs: Check for null instance methodgroup expression.


svn path=/branches/mono-2-4/mcs/; revision=124506
2009-01-26 15:28:26 +00:00
Marek Habersack 410a27b2bf Backport of r124491
svn path=/branches/mono-2-4/mcs/; revision=124492
2009-01-26 13:27:30 +00:00
Marek Safar a05f9f8b5e 2009-01-26 Marek Safar <[email protected]>
A fix for bug #469244
	* cs-tokenizer.cs, cs-parser.jay: Fixed parsing of nullable type
	instance inside a conditional expression.


svn path=/branches/mono-2-4/mcs/; revision=124489
2009-01-26 13:20:16 +00:00
Marek Habersack 6e5c11cd30 Backport of r124479
svn path=/branches/mono-2-4/mcs/; revision=124481
2009-01-26 11:39:43 +00:00
Marek Habersack b1c0dfa135 Backport of r124475
svn path=/branches/mono-2-4/mcs/; revision=124476
2009-01-26 10:47:02 +00:00
Gonzalo Paniagua Javier 3653a83b39 2009-01-26 Gonzalo Paniagua Javier <[email protected]>
* SocketTest.cs:
	(TestSelect1) avoid RST by reading the bytes from the client.

svn path=/branches/mono-2-4/mcs/; revision=124464
2009-01-26 07:02:18 +00:00
Zoltan Varga cb0c6ba813 2009-01-26 Zoltan Varga <[email protected]>
Backport of r124456.

	* exceptions-amd64.c (mono_arch_exceptions_init): Call 
	get_throw_pending_exception () to avoid initialization races.

	* mini-exceptions.c (mono_exceptions_init): Call an arch specific
	mono_arch_exceptions_init () function.

svn path=/branches/mono-2-4/mono/; revision=124462
2009-01-26 06:52:10 +00:00
Gonzalo Paniagua Javier 16eaf2a641 2009-01-26 Gonzalo Paniagua Javier <[email protected]>
* HttpWebRequest.cs: added locking in SetResponseData for the case
	when we get an error response before BeginGetResponse has been
	called.


svn path=/branches/mono-2-4/mcs/; revision=124453
2009-01-26 05:03:35 +00:00
Gonzalo Paniagua Javier 516a0835f0 fix ChangeLog
svn path=/branches/mono-2-4/mcs/; revision=124413
2009-01-24 08:16:23 +00:00
Gonzalo Paniagua Javier 7ff67aa81a Improved TDS connection pooling and synched with HEAD
svn path=/branches/mono-2-4/mcs/; revision=124409
2009-01-24 05:56:39 +00:00
Gonzalo Paniagua Javier 6f0d5440ce Do not throw exceptions when attempting to load satellite assemblies
svn path=/branches/mono-2-4/mcs/; revision=124407
2009-01-24 05:35:35 +00:00
Gonzalo Paniagua Javier 06c1a5f74c 2009-01-24 Gonzalo Paniagua Javier <[email protected]>
* appdomain.c: return NULL instead of throwing FileNotFoundException
	when LoadAssembly() fails.


svn path=/branches/mono-2-4/mono/; revision=124406
2009-01-24 05:35:23 +00:00
Gonzalo Paniagua Javier 572fa90350 2009-01-23 Gonzalo Paniagua Javier <[email protected]>
* AspComponentFoundry.cs: no need to throw. Caller handles a null
	return value.


svn path=/branches/mono-2-4/mcs/; revision=124398
2009-01-24 03:28:19 +00:00
Gonzalo Paniagua Javier 9a7ac8152c 2009-01-23 Gonzalo Paniagua Javier <[email protected]>
* HttpResponse.cs: make sure config is not null here.
	* HttpApplication.cs: add a timer (-d:PIPELINE_TIMER) for the pipeline.
	Handle timeouts for OutputPage() too.


svn path=/branches/mono-2-4/mcs/; revision=124396
2009-01-24 03:20:13 +00:00
Gonzalo Paniagua Javier 9468c9429f 2009-01-23 Gonzalo Paniagua Javier <[email protected]>
* HttpApplicationFactory.cs: set/reset the context for the application
	when creating/disposing. Dispose() out of the lock.


svn path=/branches/mono-2-4/mcs/; revision=124394
2009-01-24 03:04:12 +00:00
Marek Habersack 0c702ece52 Backport of r124385
svn path=/branches/mono-2-4/mcs/; revision=124386
2009-01-24 00:38:33 +00:00
Marek Habersack 8b2e70be67 Backport of r124377
svn path=/branches/mono-2-4/mcs/; revision=124378
2009-01-23 21:50:04 +00:00
Mark Probst 8ee63bd04a 2009-01-23 Mark Probst <[email protected]>
Backport of r124339.

	* mini-ppc.c (mono_arch_context_get_int_reg): Allow access to the
	stack pointer (r1).

svn path=/branches/mono-2-4/mono/; revision=124340
2009-01-23 16:48:19 +00:00
Marek Habersack 30f6ae193f 2009-01-23 Marek Habersack <[email protected]>
* BuildManager.cs: if dependencyCache already contains the virtual
	path, replace its corresponding file set (in AddToCache). This can
	happen only if the requested virtual path compilation resulted in
	errors and the compilation has been retried. Fixes bug #46268


svn path=/branches/mono-2-4/mcs/; revision=124326
2009-01-23 14:07:17 +00:00
Mark Probst 6d52bd6446 2009-01-23 Mark Probst <[email protected]>
Backport of r124022 and r124301.

	* metadata.c (mono_metadata_generic_param_equal): Owner as well as
	image must match.  Only compare the image if the owner is NULL.
	Fixes the AOT failures.

svn path=/branches/mono-2-4/mono/; revision=124305
2009-01-23 09:40:04 +00:00
Ivan Zlatev 85b4874919 2009-01-23 Ivan N. Zlatev <[email protected]>
* DataGridView.cs, DataGridViewCell.cs: Fix crashes when there is no
	editing control.

svn path=/branches/mono-2-4/mcs/; revision=124281
2009-01-23 01:35:31 +00:00
Ivan Zlatev ab52d70383 2009-01-23 Ivan N. Zlatev <[email protected]>
* DataGridView.cs: Fix new row adding/editing in the non-databound
	scenario.

svn path=/branches/mono-2-4/mcs/; revision=124280
2009-01-23 01:35:26 +00:00
Zoltan Varga 64d093c92a 2009-01-23 Zoltan Varga <[email protected]>
Backport of r124266.
	
	* metadata.c (mono_metadata_load_generic_params): Initialize the 
	MonoGenericParam structure using memset so the image field is initialized
	as well.

svn path=/branches/mono-2-4/mono/; revision=124268
2009-01-22 23:43:26 +00:00
Zoltan Varga b0af86bfc2 2009-01-22 Zoltan Varga <[email protected]>
Backport of r124260.
	
	* Stopwatch.cs: Reorder the calculations in Elapsed and ElapsedMilliseconds
	to avoid overflow. Fixes #468570. Patch by Yoni Shalom <[email protected]>.

svn path=/branches/mono-2-4/mcs/; revision=124262
2009-01-22 22:19:55 +00:00
Mark Probst 655579cbb1 2009-01-22 Mark Probst <[email protected]>
Backport of r124246.

	* mini-exceptions.c (ves_icall_get_frame_info): Fetch the generic
	info from the (correct) context.

2009-01-22  Mark Probst  <[email protected]>

	Backport of r124246.

	* generic-stack-traces2.2.cs: Another generic sharing test for
	stack traces.

	* Makefile.am: Test added.

svn path=/branches/mono-2-4/mono/; revision=124249
2009-01-22 21:15:17 +00:00
Jb Evain 2809fe1936 idiotic test NotWorking
svn path=/branches/mono-2-4/mcs/; revision=124242
2009-01-22 20:10:33 +00:00
Jb Evain e5590d4ff5 backport the linq fixes that happened in 124200:124231
svn path=/branches/mono-2-4/mcs/; revision=124232
2009-01-22 17:43:38 +00:00
Neville Gao 4d259921aa Backported r124045: Control enabled to support accessibility. Added
UIACollectionChangedEvent.

svn path=/branches/mono-2-4/mcs/; revision=124172
2009-01-22 06:01:24 +00:00
Mike Gorse 0043b1fd2b * TrackBar.cs: Backported R124116: Make LargeIncrement/Decrement
internal so that UIA can use them.
  Added UIAValueParamChangedEvent.

svn path=/branches/mono-2-4/mcs/; revision=124129
2009-01-21 23:32:53 +00:00
Atsushi Eno 8b50ed4dbb backport r124126.
svn path=/branches/mono-2-4/mcs/; revision=124127
2009-01-21 23:21:22 +00:00
Marek Habersack 7727921d34 Backport of r124121 and r124122
svn path=/branches/mono-2-4/mcs/; revision=124123
2009-01-21 22:53:22 +00:00
Zoltan Varga 56c1d33ae4 Revert r124022 as it is breaking AOT.
svn path=/branches/mono-2-4/mono/; revision=124102
2009-01-21 20:16:59 +00:00
Zoltan Varga cad348bcb2 2009-01-21 Zoltan Varga <[email protected]>
Backport of r124092.
	
	* method-to-ir.c (handle_alloc): Avoid generic instances in the
	out_of_line optimization.

svn path=/branches/mono-2-4/mono/; revision=124095
2009-01-21 19:34:51 +00:00
Mario Carrion c643703e79 2009-01-21 Mario Carrion <[email protected]>
* Form.cs: Backported r124064: UIA Support: Internal events
        added: UIAWindowStateChanged and UIATopMostChanged.

svn path=/branches/mono-2-4/mcs/; revision=124082
2009-01-21 18:54:38 +00:00
Zoltan Varga 9c234e78b1 Fix the 1.1 build.
svn path=/branches/mono-2-4/mcs/; revision=124077
2009-01-21 18:13:20 +00:00
Rodrigo Kumpera 85c63ecffe 2009-01-21 Rodrigo Kumpera <[email protected]>
Backport of r124059.

	* appdomain-unload-callback.cs: New test for the AppDomain::DomainUnload
	deadlock.

	* Makefile.am: Test added.


svn path=/branches/mono-2-4/mono/; revision=124072
2009-01-21 18:00:02 +00:00
Rodrigo Kumpera 86877ecd25 2009-01-21 Rodrigo Kumpera <[email protected]>
Backport of r124068.

	* appdomain.c (mono_domain_unload): Change the InterlockedIncrement to
	a plain store.

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

	Backport of r124058.

	* domain-internals.h: Add new appdomain state MONO_APPDOMAIN_UNLOADING_START
	which signals that the unloading has started but all appdomain services must
	remain operational.

	* appdomain.c (mono_domain_unload): The initial state for unloading now
	is unloading_start and we switch to unloading after the managed call to
	AppDomain::DomainUnload has finished.

	The new unloading state has to be created because managed code in the
	DomainUnload event can depend on things like the threadpool still working.
	The domain must remain fully functional while the event executes.

	This shown as an issue due to Process::WaitForExit, which waits for
	async reads of stdout and stderr to complete. Since those are processed
	in the threadpool the code deadlocks because the DomainUnload callback 
	waits for the async read finished event, which should have been set by a
	threadpool job but has been discarded due to the domain been in unload
	state.


svn path=/branches/mono-2-4/mono/; revision=124071
2009-01-21 17:58:36 +00:00
Zoltan Varga a228d05aec 2009-01-21 Zoltan Varga <[email protected]>
Backport of r124065.
	
	* class.c (mono_class_setup_vtable_general): In the generic instance
	optimization, set method->slot for abstract virtual methods. Fixes part of
	#467834.

svn path=/branches/mono-2-4/mono/; revision=124067
2009-01-21 17:42:11 +00:00
Martin Baulig 19503869ca 2009-01-21 Martin Baulig <[email protected]>
Backport or r124060.

	* mini.h
	(MonoCompile): Added `disable_deadce_vars' to disable removing
	unused variables.

	* mini.c
	(mini_method_compile): Set `cfg->disable_deadce_vars' when running
	inside the debugger.

	* liveness.c (mono_analyze_liveness): Don't remove any unused
	variables if `cfg->disable_deadce_vars' is set.


svn path=/branches/mono-2-4/mono/; revision=124061
2009-01-21 17:00:39 +00:00
Sandy Armstrong 9e91c826fd * Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs: Add
UIACheckChanged, UIARadioCheckChanged, UIAEnabledChanged, and
  UIATextChanged events.

* Managed.Windows.Forms/System.Windows.Forms/Form.cs: Add UIAMenuChanged
  event.

* Managed.Windows.Forms/System.Windows.Forms/Menu.cs:
* Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs: Note which
  internal APIs are being used by UIA.

svn path=/branches/mono-2-4/mcs/; revision=124055
2009-01-21 16:31:22 +00:00
Mark Probst ebb82987f6 2009-01-21 Mark Probst <[email protected]>
Backport of r124028.

	* method-to-ir.c: Only apply exception constructor optimization if
	the the method actually belongs to an exception class.  Fixes
	#467456.

2009-01-21  Mark Probst  <[email protected]>

	Backport of r124028.

	* bug-467456.cs: New test case.

	* Makefile.am: Test added.

svn path=/branches/mono-2-4/mono/; revision=124031
2009-01-21 12:36:49 +00:00
Mark Probst e311191ef7 2009-01-21 Mark Probst <[email protected]>
Backport of r124022.

	* metadata.c (mono_metadata_generic_param_equal): Owner as well as
	image must match.

2009-01-21  Mark Probst  <[email protected]>

	Backport of r124022.

	* generic-unloading.2.cs, generic-unloading-sub.2.cs: Test case
	for unloading images whose MonoGenericInst's are still in use.

	* Makefile.am: Test added.

svn path=/branches/mono-2-4/mono/; revision=124025
2009-01-21 11:11:54 +00:00
Zoltan Varga ab819e4118 2009-01-21 Zoltan Varga <[email protected]>
Backport of r123989.
	
	* mini-trampolines.c (mono_delegate_trampoline): Put back the previous
	change inside a #ifdef __mono_ppc64__.

svn path=/branches/mono-2-4/mono/; revision=123990
2009-01-21 04:33:07 +00:00
Zoltan Varga dc3f9d3f6d Fix the windows build.
svn path=/branches/mono-2-4/mono/; revision=123981
2009-01-21 01:55:25 +00:00
Mark Probst 451bc2a8a8 2009-01-21 Mark Probst <[email protected]>
Backport of r123959.

	* TypeBuilderTest.cs: Add test for fields in dynamic generic
	classes.

svn path=/branches/mono-2-4/mcs/; revision=123965
2009-01-21 00:03:59 +00:00
Mark Probst 84b2d6bfec 2009-01-21 Mark Probst <[email protected]>
Backport of r123958.

	* reflection.c (resolve_object): For fields, inflate the class and
	then get the field in the inflated class.

svn path=/branches/mono-2-4/mono/; revision=123964
2009-01-21 00:03:38 +00:00
Mark Probst a498cddad7 2009-01-20 Mark Probst <[email protected]>
Backport of r123917.

	* method-to-ir.c: Force the vtable variable in shared generic code
	for the case that they might show up on a stack trace where they
	are needed.

	* mini-exceptions.c: Save and use generic sharing info as well as
	IP in stack traces to resolve shared generic instantiations.

2009-01-20  Mark Probst  <[email protected]>

	Backport of r123917.

	* object-internals.h (struct _MonoException): Added a comment
	explaining the new use of trace_ips.

2009-01-20  Mark Probst  <[email protected]>

	Backport of r123917.

	* generic-stack-traces.2.cs: Generic sharing test for stack
	traces.

	* Makefile.am: Test added.

svn path=/branches/mono-2-4/mono/; revision=123946
2009-01-20 22:14:33 +00:00
Zoltan Varga 03c6b6918b 2009-01-20 Zoltan Varga <[email protected]>
Backport of r123914.
	
	* mini-trampolines.c (mono_delegate_trampoline): Revert the change which
	added a mono_get_addr_from_ftnptr () as it breaks the ia64 build.

svn path=/branches/mono-2-4/mono/; revision=123927
2009-01-20 21:22:20 +00:00
Andrew Jorgensen dc279e74dc update version numbers to 2.4
svn path=/branches/mono-2-4/mono/; revision=123902
2009-01-20 18:21:18 +00:00
53769 changed files with 3202290 additions and 7937354 deletions

No files matched your search

-69
View File
@@ -1,69 +0,0 @@
# ensure LF endings on all checkouts
configure.ac crlf=input
config.rpath crlf=input
configure.host crlf=input
mkinstalldirs crlf=input
*.sh crlf=input
*.sources crlf=input
.gitattributes crlf=input
*akefile* crlf=input
# ensure native line endings on checkout
*.c crlf
*.h crlf
*.cs crlf
*.il 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.
-78
View File
@@ -1,78 +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 runtime, compilers, and tools and most of the class libraries
are licensed under the MIT license. But include some bits of code
licensed under different licenses. The exact list is [available here](https://github.com/mono/mono/blob/master/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.
CLA
=======
Contributions are now taken under the [.NET Foundation CLA](https://cla.dotnetfoundation.org/).
Code Review
=======
We are requiring code reviews before merging a pull request.
GitHub won't let you merge a PR until someone from the Mono team approves it.
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.
-45
View File
@@ -1,45 +0,0 @@
## Steps to Reproduce
1.
2.
3.
<!--
You may drag & drop the attachment (repro code/solution, screenshot, etc.) onto the issue.
-->
## Current Behavior
<!--
What is the current behavior?
-->
## Expected Behavior
<!--
Please describe the behavior you are expecting
-->
### On which platforms did you notice this
[ ] macOS
[ ] Linux
[ ] Windows
**Version Used**:
<!--
You can use `mono --version` or About dialog to obtain this information.
-->
### Stacktrace
```
Please paste the stack trace here if available.
```
<!--
You can join us at https://gitter.im/mono/mono to discuss your reported issue
-->
-9
View File
@@ -1,9 +0,0 @@
<!--
Thank you for your Pull Request!
If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.
Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
-->
-133
View File
@@ -1,133 +0,0 @@
##############################################################################
# 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
*.ilk
*.log
*.lib
*.sbr
*.sdf
*.opensdf
*.resources
*.res
ipch/
obj/
[Bb]in
[Dd]ebug*/
[Rr]elease*/
Ankh.NoLoad
*.gpState
.vscode/
*.exp
.vs/
# Tooling
_ReSharper*/
*.resharper
.idea/*
[Tt]est[Rr]esult*
*.orig
*.rej
# 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
# Doxygen
docs/doxygen*
docs/perlmod*
##############################################################################
# Mono-specific patterns
##############################################################################
.dirstamp
compile
mono.h
mono-*.tar.*
tmpinst-dir.stamp
msvc/scripts/inputs/
extensions-config.h
-60
View File
@@ -1,60 +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/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/ikdasm"]
path = external/ikdasm
url = git://github.com/mono/ikdasm.git
[submodule "external/reference-assemblies"]
path = external/binary-reference-assemblies
url = git://github.com/mono/reference-assemblies.git
[submodule "external/nunit-lite"]
path = external/nunit-lite
url = git://github.com/mono/NUnitLite.git
[submodule "external/nuget-buildtasks"]
path = external/nuget-buildtasks
url = git://github.com/mono/NuGet.BuildTasks
[submodule "external/cecil-legacy"]
path = external/cecil-legacy
url = git://github.com/mono/cecil.git
branch = mono-legacy-0.9.5
[submodule "external/boringssl"]
path = external/boringssl
url = git://github.com/mono/boringssl.git
branch = mono
[submodule "external/corefx"]
path = external/corefx
url = git://github.com/mono/corefx.git
[submodule "external/bockbuild"]
path = external/bockbuild
url = git://github.com/mono/bockbuild.git
[submodule "external/linker"]
path = external/linker
url = git://github.com/mono/linker.git
[submodule "external/roslyn-binaries"]
path = external/roslyn-binaries
url = git://github.com/mono/roslyn-binaries.git
[submodule "external/corert"]
path = external/corert
url = git://github.com/mono/corert.git
[submodule "external/xunit-binaries"]
path = external/xunit-binaries
url = git://github.com/mono/xunit-binaries.git
[submodule "external/api-doc-tools"]
path = external/api-doc-tools
url = git://github.com/mono/api-doc-tools.git
[submodule "external/api-snapshot"]
path = external/api-snapshot
url = git://github.com/mono/api-snapshot.git
-91
View File
@@ -1,91 +0,0 @@
{
"configurations": [
{
"name": "Mac",
"includePath": [
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1",
"/usr/local/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
"/usr/include",
"${workspaceRoot}",
"${workspaceRoot}/mono",
"${workspaceRoot}/mono/eglib",
"${workspaceRoot}/support"
],
"defines": [],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1",
"/usr/local/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
"/usr/include",
"${workspaceRoot}",
"${workspaceRoot}/mono",
"${workspaceRoot}/mono/eglib",
"${workspaceRoot}/support"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
},
"macFrameworkPath": [
"/System/Library/Frameworks",
"/Library/Frameworks"
]
},
{
"name": "Linux",
"includePath": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}",
"${workspaceRoot}/mono",
"${workspaceRoot}/mono/eglib",
"${workspaceRoot}/support"
],
"defines": [],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}",
"${workspaceRoot}/mono",
"${workspaceRoot}/mono/eglib",
"${workspaceRoot}/support"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
},
{
"name": "Win32",
"includePath": [
"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include",
"${workspaceRoot}",
"${workspaceRoot}/mono",
"${workspaceRoot}/mono/eglib",
"${workspaceRoot}/support"
],
"defines": [
"_DEBUG",
"UNICODE"
],
"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include/*",
"${workspaceRoot}",
"${workspaceRoot}/mono",
"${workspaceRoot}/mono/eglib",
"${workspaceRoot}/support"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
}
],
"version": 3
}
+3
View File
@@ -0,0 +1,3 @@
Miguel de Icaza ([email protected])
Paolo Molaro ([email protected])
Dietmar Maurer ([email protected])
-133
View File
@@ -1,133 +0,0 @@
# Mono Code Owners File
#
# GitHub uses this file to determine who to assign for reviews
# on pull requests. Please keep this file alphabetically sorted.
#
# References:
#
# https://github.com/blog/2392-introducing-code-owners
# https://help.github.com/articles/about-codeowners
# These owners will be the default owners for everything in the repo.
* @luhenry @marek-safar
# Order is important. The last matching pattern has the most precedence.
/acceptance-tests @akoeplinger
/acceptance-tests/profiler-stress* @alexrp
/data @marek-safar @akoeplinger @luhenry
/data/gdb @vargaz
/data/lldb @lewurm @vargaz
/docs @luhenry @marek-safar
/docs/sources/mono-api-profiler.html @alexrp
/external @marek-safar @luhenry
/external/binary-reference-assemblies @marek-safar @akoeplinger
/external/bockbuild @akoeplinger @alexischr
/external/boringssl @baulig
/external/nuget-buildtasks @radical @akoeplinger
/libgc @BrzVlad @vargaz @luhenry
/llvm @vargaz @luhenry
/man @marek-safar @miguel @luhenry
/man/*prof* @alexrp
/mcs @marek-safar @luhenry
/mcs/build @marek-safar @akoeplinger
/mcs/class @marek-safar @akoeplinger
/mcs/class/corlib/System.Reflection*/ @vargaz @lambdageek
/mcs/class/Mono.Btls.Interface @baulig
/mcs/class/Mono.Data.Tds @egorbo
/mcs/class/Mono.Debugger.Soft @vargaz
/mcs/class/Mono.Options @jonpryor
/mcs/class/Mono.Profiler.Log @alexrp
/mcs/class/Mono.Security/Mono.Security/Interface @baulig
/mcs/class/System/Mono.AppleTls @baulig
/mcs/class/System/Mono.Btls @baulig
/mcs/class/System/Mono.Net.Security @baulig
/mcs/class/System/Mono.Security.Interface @baulig
/mcs/class/System.Data* @egorbo
/mcs/errors @marek-safar
/mcs/ilasm @marek-safar
/mcs/jay @marek-safar
/mcs/mcs @marek-safar @lewurm
/mcs/tests @marek-safar
/mcs/tools @marek-safar @akoeplinger
/mono @luhenry
/mono/btls @baulig
/mono/dis @lambdageek @vargaz
/mono/eglib @kumpera @vargaz @luhenry
/mono/metadata @vargaz @kumpera
/mono/metadata/*verify* @kumpera
/mono/metadata/*profiler* @alexrp
/mono/metadata/monitor* @brzvlad
/mono/metadata/sgen* @brzvlad
/mono/metadata/threads* @luhenry @kumpera
/mono/metadata/threadpool* @luhenry
/mono/metadata/w32* @luhenry
/mono/metadata/*-win* @lateralusX @luhenry
/mono/mini @vargaz @kumpera
/mono/mini/*cfgdump* @lewurm
/mono/mini/*exceptions* @lewurm
/mono/mini/*ppc* @lewurm
/mono/mini/*type-check* @lewurm
/mono/mini/interp/* @lewurm @BrzVlad
/mono/mini/*profiler* @alexrp
/mono/mini/debugger-agent.c @DavidKarlas
/mono/profiler @alexrp @kumpera
/mono/sgen @BrzVlad @kumpera
/mono/utils @kumpera @vargaz
/mono/utils/atomic* @alexrp
/mono/utils/mono-hwcap* @alexrp
/mono/utils/mono-mem* @alexrp
/mono/utils/mono-threads* @luhenry @kumpera
/mono/utils/*-win* @lateralusX @kumpera
/msvc @lateralusX @luhenry
/msvc/*profiler* @alexrp
/msvc/scripts @akoeplinger @kg
/packaging/ @alexischr @akoeplinger @luhenry
/packaging/MacSDK/msbuild.py @radical @akoeplinger
/runtime @akoeplinger @marek-safar @luhenry
/samples @luhenry
/samples/profiler @alexrp
/samples/size @alexrp
/scripts @akoeplinger @luhenry
/scripts/ci @akoeplinger @alexischr
/scripts/ci/run-test-profiler-stress-tests.sh @alexrp
/sdks @marek-safar @luhenry
/sdks/wasm @kumpera @lrz
/sdks/ios @vargaz @rolfbjarne
/sdks/android @luhenry @jonpryor
/support @luhenry @vargaz
/tools @kumpera @luhenry
/tools/checker @tritao
/tools/crash-bisector @kumpera
/tools/locale-builder @marek-safar
/tools/monograph @vargaz
/tools/nuget-hash-extractor @marek-safar
/tools/offsets-tool @lewurm @rolfbjarne
/tools/pedump @kumpera @lambdageek
/tools/sgen @brzvlad
+485 -1
View File
@@ -1 +1,485 @@
See LICENSE file in the project root for full license information.
The Mono runtime is licensed under the terms of the GNU
Library General Public License, version 2.
GNU LIBRARY GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the library GPL. It is
numbered 2 because it goes with version 2 of the ordinary GPL.]
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Licenses are intended to guarantee your freedom to share and change
free software--to make sure the software is free for all its users.
This license, the Library General Public License, applies to some
specially designated Free Software Foundation software, and to any
other libraries whose authors decide to use it. You can use it for
your libraries, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if
you distribute copies of the library, or if you modify it.
For example, if you distribute copies of the library, whether gratis
or for a fee, you must give the recipients all the rights that we gave
you. You must make sure that they, too, receive or can get the source
code. If you link a program with the library, you must provide
complete object files to the recipients so that they can relink them
with the library, after making changes to the library and recompiling
it. And you must show them these terms so they know their rights.
Our method of protecting your rights has two steps: (1) copyright
the library, and (2) offer you this license which gives you legal
permission to copy, distribute and/or modify the library.
Also, for each distributor's protection, we want to make certain
that everyone understands that there is no warranty for this free
library. If the library is modified by someone else and passed on, we
want its recipients to know that what they have is not the original
version, so that any problems introduced by others will not reflect on
the original authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that companies distributing free
software will individually obtain patent licenses, thus in effect
transforming the program into proprietary software. To prevent this,
we have made it clear that any patent must be licensed for everyone's
free use or not licensed at all.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License, which was designed for utility programs. This
license, the GNU Library General Public License, applies to certain
designated libraries. This license is quite different from the ordinary
one; be sure to read it in full, and don't assume that anything in it is
the same as in the ordinary license.
The reason we have a separate public license for some libraries is that
they blur the distinction we usually make between modifying or adding to a
program and simply using it. Linking a program with a library, without
changing the library, is in some sense simply using the library, and is
analogous to running a utility program or application program. However, in
a textual and legal sense, the linked executable is a combined work, a
derivative of the original library, and the ordinary General Public License
treats it as such.
Because of this blurred distinction, using the ordinary General
Public License for libraries did not effectively promote software
sharing, because most developers did not use the libraries. We
concluded that weaker conditions might promote sharing better.
However, unrestricted linking of non-free programs would deprive the
users of those programs of all benefit from the free status of the
libraries themselves. This Library General Public License is intended to
permit developers of non-free programs to use free libraries, while
preserving your freedom as a user of such programs to change the free
libraries that are incorporated in them. (We have not seen how to achieve
this as regards changes in header files, but we have achieved it as regards
changes in the actual functions of the Library.) The hope is that this
will lead to faster development of free libraries.
The precise terms and conditions for copying, distribution and
modification follow. Pay close attention to the difference between a
"work based on the library" and a "work that uses the library". The
former contains code derived from the library, while the latter only
works together with the library.
Note that it is possible for a library to be covered by the ordinary
General Public License rather than by this special one.
GNU LIBRARY GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library which
contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Library
General Public License (also called "this License"). Each licensee is
addressed as "you".
A "library" means a collection of software functions and/or data
prepared so as to be conveniently linked with application programs
(which use some of those functions and data) to form executables.
The "Library", below, refers to any such software library or work
which has been distributed under these terms. A "work based on the
Library" means either the Library or any derivative work under
copyright law: that is to say, a work containing the Library or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinafter, translation is
included without limitation in the term "modification".)
"Source code" for a work means the preferred form of the work for
making modifications to it. For a library, complete source code means
all the source code for all modules it contains, plus any associated
interface definition files, plus the scripts used to control compilation
and installation of the library.
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Library is not restricted, and output from
such a program is covered only if its contents constitute a work based
on the Library (independent of the use of the Library in a tool for
writing it). Whether that is true depends on what the Library does
and what the program that uses the Library does.
1. You may copy and distribute verbatim copies of the Library's
complete source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy an
appropriate copyright notice and disclaimer of warranty; keep intact
all the notices that refer to this License and to the absence of any
warranty; and distribute a copy of this License along with the
Library.
You may charge a fee for the physical act of transferring a copy,
and you may at your option offer warranty protection in exchange for a
fee.
2. You may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no
charge to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses
the facility, other than as an argument passed when the facility
is invoked, then you must make a good faith effort to ensure that,
in the event an application does not supply such function or
table, the facility still operates, and performs whatever part of
its purpose remains meaningful.
(For example, a function in a library to compute square roots has
a purpose that is entirely well-defined independent of the
application. Therefore, Subsection 2d requires that any
application-supplied function or table used by this function must
be optional: if the application does not supply it, the square
root function must still compute square roots.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Library,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Library, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Library.
In addition, mere aggregation of another work not based on the Library
with the Library (or with a work based on the Library) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may opt to apply the terms of the ordinary GNU General Public
License instead of this License to a given copy of the Library. To do
this, you must alter all the notices that refer to this License, so
that they refer to the ordinary GNU General Public License, version 2,
instead of to this License. (If a newer version than version 2 of the
ordinary GNU General Public License has appeared, then you can specify
that version instead if you wish.) Do not make any other change in
these notices.
Once this change is made in a given copy, it is irreversible for
that copy, so the ordinary GNU General Public License applies to all
subsequent copies and derivative works made from that copy.
This option is useful when you wish to copy part of the code of
the Library into a program that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable form
under the terms of Sections 1 and 2 above provided that you accompany
it with the complete corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2 above on a
medium customarily used for software interchange.
If distribution of object code is made by offering access to copy
from a designated place, then offering equivalent access to copy the
source code from the same place satisfies the requirement to
distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being compiled or
linked with it, is called a "work that uses the Library". Such a
work, in isolation, is not a derivative work of the Library, and
therefore falls outside the scope of this License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because it
contains portions of the Library), rather than a "work that uses the
library". The executable is therefore covered by this License.
Section 6 states terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6,
whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also compile or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered by
this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do one
of these things:
a) Accompany the work with the complete corresponding
machine-readable source code for the Library including whatever
changes were used in the work (which must be distributed under
Sections 1 and 2 above); and, if the work is an executable linked
with the Library, with the complete machine-readable "work that
uses the Library", as object code and/or source code, so that the
user can modify the Library and then relink to produce a modified
executable containing the modified Library. (It is understood
that the user who changes the contents of definitions files in the
Library will not necessarily be able to recompile the application
to use the modified definitions.)
b) Accompany the work with a written offer, valid for at
least three years, to give the same user the materials
specified in Subsection 6a, above, for a charge no more
than the cost of performing this distribution.
c) If distribution of the work is made by offering access to copy
from a designated place, offer equivalent access to copy the above
specified materials from the same place.
d) Verify that the user has already received a copy of these
materials or that you have already sent this user a copy.
For an executable, the required form of the "work that uses the
Library" must include any data and utility programs needed for
reproducing the executable from it. However, as a special exception,
the source code distributed need not include anything that is normally
distributed (in either source or binary form) with the major
components (compiler, kernel, and so on) of the operating system on
which the executable runs, unless that component itself accompanies
the executable.
It may happen that this requirement contradicts the license
restrictions of other proprietary libraries that do not normally
accompany the operating system. Such a contradiction means you cannot
use both them and the Library together in an executable that you
distribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other library
facilities not covered by this License, and distribute such a combined
library, provided that the separate distribution of the work based on
the Library and of the other library facilities is otherwise
permitted, and provided that you do these two things:
a) Accompany the combined library with a copy of the same work
based on the Library, uncombined with any other library
facilities. This must be distributed under the terms of the
Sections above.
b) Give prominent notice with the combined library of the fact
that part of it is a work based on the Library, and explaining
where to find the accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License. Any
attempt otherwise to copy, modify, sublicense, link with, or
distribute the Library is void, and will automatically terminate your
rights under this License. However, parties who have received copies,
or rights, from you under this License will not have their licenses
terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Library or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Library (or any work based on the
Library), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the
Library), the recipient automatically receives a license from the
original licensor to copy, distribute, link with or modify the Library
subject to these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Library at all. For example, if a patent
license would not permit royalty-free redistribution of the Library by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Library.
If any portion of this section is held invalid or unenforceable under any
particular circumstance, the balance of the section is intended to apply,
and the section as a whole is intended to apply in other circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Library under this License may add
an explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new
versions of the Library General Public License from time to time.
Such new versions will be similar in spirit to the present version,
but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and
"any later version", you have the option of following the terms and
conditions either of that version or of any later version published by
the Free Software Foundation. If the Library does not specify a
license version number, you may choose any version ever published by
the Free Software Foundation.
14. If you wish to incorporate parts of the Library into other free
programs whose distribution conditions are incompatible with these,
write to the author to ask for permission. For software which is
copyrighted by the Free Software Foundation, write to the Free
Software Foundation; we sometimes make exceptions for this. Our
decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that
everyone can redistribute and change. You can do so by permitting
redistribution under these terms (or, alternatively, under the terms of the
ordinary General Public License).
To apply these terms, attach the following notices to the library. It is
safest to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the library's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the library, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
<signature of Ty Coon>, 1 April 1990
Ty Coon, President of Vice
That's all there is to it!
+4919
View File
File diff suppressed because it is too large. Load diff
+81 -1407
View File
File diff suppressed because it is too large. Load diff
+59 -123
View File
@@ -1,152 +1,88 @@
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
MONOTOUCH_SUBDIRS = $(libgc_dir) mono
# Some tools might not build when cross-compiling
if CROSS_COMPILING
tools_dir =
else
tools_dir = tools
endif
SUBDIRS = po $(libgc_dir) mono $(ikvm_native_dir) support data runtime scripts man samples $(tools_dir) msvc $(docs_dir) acceptance-tests llvm
# Keep in sync with SUBDIRS
DIST_SUBDIRS = m4 po $(libgc_dir) mono ikvm-native support data runtime scripts man samples tools msvc docs acceptance-tests llvm
## 'tools' is not normally built
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.sh
.PHONY: update_submodules
EXTRA_DIST= \
README.md \
LICENSE \
autogen.sh \
mkinstalldirs \
mono-uninstalled.pc.in \
winconfig.h \
code_of_conduct.md \
external \
mcs/class/referencesource
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' -not -path '*/roslyn-binaries/*'`
rm -f `find $(top_distdir)/external -path '*\.dll' -not -path '*/binary-reference-assemblies/*' -not -path '*/roslyn-binaries/*'`
rm -rf "$(top_distdir)/external/linker/linker/Tests"
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
.PHONY: get-monolite-latest
mcslib = $(mcs_topdir)/class/lib
monolite = $(mcslib)/monolite
monolite_url = http://mono.ximian.com/daily/monolite-latest.tar.gz
get-monolite-latest:
$(MAKE) -C $(mcs_topdir)/class get-monolite-latest
-rm -fr $(mcslib)/monolite-*
-mkdir -p $(mcslib)
test ! -d $(monolite) || test ! -d $(monolite).old || rm -fr $(monolite).old
test ! -d $(monolite) || mv -f $(monolite) $(monolite).old
cd $(mcslib) && { (wget -O- $(monolite_url) || curl $(monolite_url)) | gzip -d | tar xf - ; }
cd $(mcslib) && mv -f monolite-* monolite
if BITCODE
BITCODE_CHECK=yes
endif
.PHONY: check-ci
check-ci:
MONO_LLVMONLY=$(BITCODE_CHECK) $(srcdir)/scripts/ci/run-test-$(TEST_PROFILE).sh
.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: mcs-do-clean
$(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) 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
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
$(MAKE) build_profiles=net_2_0 mcs-do-compiler-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
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
endif
win32getdeps:
wget http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
wget http://www.go-mono.com/archive/glib-2.0.4-20020703.zip
wget http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip
wget http://www.go-mono.com/archive/libiconv-1.7.zip
wget http://www.go-mono.com/archive/libiconv-dev-1.7.zip
wget http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip
unzip -n -d / pkgconfig-0.11-20020310.zip
unzip -n -d / glib-2.0.4-20020703.zip
unzip -n -d / glib-dev-2.0.4-20020703.zip
unzip -n -d / libiconv-1.7.zip
unzip -n -d / libiconv-dev-1.7.zip
unzip -n -d / libintl-0.10.40-20020101.zip
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)
win32setup:
makensis /DMILESTONE=$(VERSION) /DSOURCE_INSTALL_DIR=$(SOURCE_INSTALL_DIR) /DBUILDNUM=$(BUILDNUM) monowiz.win32.nsi
package-inputs:
echo '<?xml version="1.0" encoding="utf-8"?>' > msvc/scripts/order.xml
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' | \
(echo " <project dir=\"$$1\" library=\"$$2\">"; \
read boot; echo " <boot>$$boot</boot>"; \
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 libou; echo " <library_output>$$libou</library_output>"; \
read fx_ver; echo " <fx_version>$$fx_ver</fx_version>"; \
read profile; echo " <profile>$$profile</profile>"; \
read resxt; echo " <resources>$$resxt</resources>"; \
read resp; echo " <response>$$resp</response>"; \
echo " </project>") >> msvc/scripts/order.xml; \
done
echo "</root>" >> msvc/scripts/order.xml
bootstrap: all
@echo "*** 'make bootstrap' is obsolete. Just run 'make' to perform a combined mono+mcs build"
exit 1
# 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."
update-solution-files:
$(MAKE) update-csproj
$(MAKE) package-inputs
(cd msvc/scripts; $(MAKE) genproj.exe; mono genproj.exe $(GENPROJ_ARGS))
update-solution-files-with-tests:
$(MAKE) "GENPROJ_ARGS=2012 true true" update-solution-files
patch-quiet:
find mono -name Makefile -exec scripts/patch-quiet.sh {} \;
find libgc -name Makefile -exec scripts/patch-quiet.sh {} \;
+6 -1
View File
@@ -1,3 +1,8 @@
Release notes for Mono are hosted on the web, please see:
http://www.mono-project.com/docs/about-mono/releases/
http://www.go-mono.com/archive/VERSION
Where version is the version of this Mono package, for example:
http://www.go-mono.com/archive/1.1.9
-44
View File
@@ -1,44 +0,0 @@
Microsoft Patent Promise for Mono
Microsoft Corporation and its affiliates (“Microsoft”) promise not to
assert any Applicable Patents against you for making, using, selling,
offering for sale, importing, or distributing Mono.
If you file, maintain, or voluntarily participate in any claim in a
lawsuit alleging direct or contributory patent infringement by Mono,
or inducement of patent infringement by Mono, then your rights under
this promise will automatically terminate.
This promise is not an assurance that (i) any Applicable Patents are
valid or enforceable or (ii) Mono does not infringe patents or other
intellectual property rights of any third party. No rights except
those expressly stated in this promise are granted, waived or received
by Microsoft, whether by implication, exhaustion, estoppel or
otherwise. This is a personal promise directly from Microsoft to you,
and you agree as a condition of benefitting from it that no Microsoft
rights are received from suppliers, distributors, or otherwise in
connection with this promise.
Definitions:
“Mono” means those portions of the software development technology, as
originally distributed by Xamarin, Inc. or the .NET Foundation under
the name “Mono,” that implement .NET Framework Functionality, provided
that such portions at a minimum implement all of the required parts of
the mandatory provisions of Standard ECMA-335 – Common Language
Infrastructure (CLI).
“.NET Framework Functionality” means any functionality in Microsoft’s
.NET Framework as described in Microsoft’s API documentation on
Microsoft’s MSDN website, including the functionality in
Windowsbase.dll, but excluding all other functionality in the Windows
Presentation Foundation component of .NET Framework.
“Applicable Patents” are those patent claims, currently owned by
Microsoft and acquired in the future, that are necessarily infringed
by Mono. For clarity, Applicable Patents do not include any patent
claims that are infringed (x) by any underlying or enabling technology
that may be used, combined, or distributed in connection with Mono
(such as hardware, operating systems, or applications that run on
Mono), (y) only as a consequence of modification of Mono, or (z) only
by the combination of Mono with third party code.
+503
View File
@@ -0,0 +1,503 @@
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-preview=yes,no
Whether you want to build libraries that are still not
completed (The 2.0 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 Silvelright modified assemblies (mscorlib.dll,
System.dll, System.Code.dll and System.Xml.Core.dll) and turn
on the LINQ extensions for the compiler.
This option defaults to `no' and it is considered pre-alpha.
--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.
com:
Disables COM support.
debug:
Drop debugging support.
decimal:
Disables support for System.Decimal.
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.
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.
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.
-596
View File
@@ -1,596 +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.
The Mono project is part of the [.NET Foundation](http://www.dotnetfoundation.org/)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/mono/mono?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
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)
7. [Working with Submodules](#working-with-submodules)
### Build Status
| OS | Architecture | Status |
|--------------|--------------------|------------------------------|
| Debian 9 | amd64 | [![debian-9-amd64][1]][2] |
| Debian 9 | i386 | [![debian-9-i386][3]][4] |
| Debian 9 | armel | [![debian-9-armel][5]][6] |
| Debian 9 | armhf | [![debian-9-armhf][7]][8] |
| Debian 9 | arm64 | [![debian-9-arm64][9]][10] |
| OS X | amd64 | [![osx-amd64][11]][12] |
| OS X | i386 | [![osx-i386][13]][14] |
| Windows | amd64 | [![windows-amd64][15]][16] |
| Windows | i386 | [![windows-i386][17]][18] |
| CentOS | s390x (cs) | [![centos-s390x][19]][20] |
| Debian 9 | ppc64el (cs) | [![debian-9-ppc64el][21]][22]|
_(cs) = community supported architecture_
[1]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-9-amd64/badge/icon
[2]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-9-amd64
[3]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-9-i386/badge/icon
[4]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-9-i386/
[5]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-9-armel/badge/icon
[6]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-9-armel/
[7]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-9-armhf/badge/icon
[8]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-9-armhf/
[9]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-9-arm64/badge/icon
[10]: https://jenkins.mono-project.com/job/test-mono-mainline-linux/label=debian-9-arm64/
[11]: https://jenkins.mono-project.com/job/test-mono-mainline/label=osx-amd64/badge/icon
[12]: https://jenkins.mono-project.com/job/test-mono-mainline/label=osx-amd64/
[13]: https://jenkins.mono-project.com/job/test-mono-mainline/label=osx-i386/badge/icon
[14]: https://jenkins.mono-project.com/job/test-mono-mainline/label=osx-i386/
[15]: https://jenkins.mono-project.com/job/z/label=w64/badge/icon
[16]: https://jenkins.mono-project.com/job/z/label=w64/
[17]: https://jenkins.mono-project.com/job/z/label=w32/badge/icon
[18]: https://jenkins.mono-project.com/job/z/label=w32/
[19]: https://jenkins.mono-project.com/job/test-mono-mainline-community/label=centos-s390x/badge/icon
[20]: https://jenkins.mono-project.com/job/test-mono-mainline-community/label=centos-s390x
[21]: https://jenkins.mono-project.com/job/test-mono-mainline-community-chroot/label=debian-9-ppc64el/badge/icon
[22]: https://jenkins.mono-project.com/job/test-mono-mainline-community-chroot/label=debian-9-ppc64el
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
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://jenkins.mono-project.com/](https://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
=================
* `acceptance-tests/` - Optional third party test suites used to validate Mono against a wider range of test cases.
* `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).
* `ikvm-native/` - Glue code for ikvm.
* `libgc/` - The (deprecated) Boehm GC implementation.
* `llvm/` - Utility Makefiles for integrating the Mono LLVM fork.
* `m4/` - General utility Makefiles.
* `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.
* `benchmark/` - A collection of benchmarks.
* `btls/` - Build files for the BTLS library which incorporates BoringSSL.
* `cil/` - Common Intermediate Representation, XML
definition of the CIL bytecodes.
* `dis/` - CIL executable Disassembler.
* `eglib/` - Independent implementation of the glib API.
* `metadata/` - The object system and metadata reader.
* `mini/` - The Just in Time Compiler.
* `profiler/` - The profiler implementation.
* `sgen/` - The SGen Garbage Collector implementation.
* `tests/` - The main runtime tests.
* `unit-tests/` - Additional runtime unit tests.
* `utils/` - Utility functions used across the runtime codebase.
* `msvc/` - Logic for the MSVC / Visual Studio based runtime and BCL build system.
The latter is experimental at the moment.
* `packaging/` - Packaging logic for the OS X and Windows Mono packages.
* `po/` - Translation files.
* `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.
* `sdks/` - A new way of embedding Mono into Xamarin.iOS, Xamarin.Android and other products.
* `support/` - Various support libraries.
* `tools/` - A collection of tools, mostly used during Mono development.
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 [open an issue on the mono GitHub repo](https://github.com/mono/mono/issues/new).
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-boehm` binary and a `mono-sgen` binary. `mono-boehm` uses Boehm,
while `mono-sgen` uses the Simple Generational GC.
* `--with-libgc=[included, none]` - Selects the default Boehm
garbage collector engine to use.
* *included*: (*slightly 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.
* *none*:
Disables the inclusion of a Boehm garbage collector.
* This defaults to `included`.
* `--with-cooperative-gc`
* If you pass this flag the Mono runtime is configured to only use
the cooperative mode of the garbage collector. If you do not pass
this flag, then you can control at runtime the use of the
cooperative GC mode by setting the `MONO_ENABLE_COOP` flag.
* `--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.
* `--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 on OSX
as it runs into issues there.
* This option only applies to the Boehm GC.
* `--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.
* `--with-csc=roslyn,mcs,default`
* Use this option to configure which C# compiler to use. By default
the configure script will pick Roslyn, except on platforms where
Roslyn does not work (Big Endian systems) where it will pick mcs.
If you specify "mcs", then Mono's C# compiler will be used. This
also allows for a complete bootstrap of Mono's core compiler and
core libraries from source.
  If you specify "roslyn", then Roslyn's C# compiler will be used.
This currently uses Roslyn binaries.
* `--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.
* `--enable-wasm`
* Use this option to configure mono to run on WebAssembly. It will
set both host and target to the WebAssembly triplet. This overrides
the values passed to `--host` or `--target` and ignored what config.sub guesses.
This is a workaround to enable usage of old automake versions that don't
recognize the wasm triplet.
Working With Submodules
=======================
Mono references several external git submodules, for example
a fork of Microsoft's reference source code that has been altered
to be suitable for use with the Mono runtime.
This section describes how to use it.
An initial clone should be done recursively so all submodules will also be
cloned in a single pass:
$ git clone --recursive git@github.com:mono/mono
Once cloned, submodules can be updated to pull down the latest changes.
This can also be done after an initial non-recursive clone:
$ git submodule update --init --recursive
To pull external changes into a submodule:
$ cd <submodule>
$ git pull origin <branch>
$ cd <top-level>
$ git add <submodule>
$ git commit
By default, submodules are detached because they point to a specific commit.
Use `git checkout` to move back to a branch before making changes:
$ cd <submodule>
$ git checkout <branch>
# work as normal; the submodule is a normal repo
$ git commit/push new changes to the repo (submodule)
$ cd <top-level>
$ git add <submodule> # this will record the new commits to the submodule
$ git commit
To switch the repo of a submodule (this should not be a common or normal thing
to do at all), first edit `.gitmodules` to point to the new location, then:
$ git submodule sync -- <path of the submodule>
$ git submodule update --recursive
$ git checkout <desired new hash or branch>
The desired output diff is a change in `.gitmodules` to reflect the
change in the remote URL, and a change in /<submodule> where you see
the desired change in the commit hash.
License
=======
See the LICENSE file for licensing information, and the PATENTS.TXT
file for information about Microsoft's patent grant.
Mono Trademark Use Policy
=========================
The use of trademarks and logos for Mono can be found [here](http://www.dotnetfoundation.org/legal/mono-tm).
Maintaining the Class Library Solution Files
============================================
Mono now ships with a solution file that can be used to build the
assemblies from an IDE. Either by opening the topmost `net_4_x.sln`
file, or to by loading one of the individual `csproj` files located in
each directory.
These are maintained by extracting the configuration information from
our Makefiles, which as of May 2016 remain the canonical location for
configuration information.
When changes are made to the Makefiles, a user would need to run the
following command to re-generate the solution files at the top level:
$ make update-solution-files
+120
View File
@@ -0,0 +1,120 @@
README.vsnet Last updated: 2006-02-01
SVN includes a Visual Studio .NET 2005 solution, mono.sln, and some
projects files to build most of the unmanaged parts in Mono.
The "mono.sln" solution file contains the VC projects files for:
* Embedded Samples
* test-invoke.vcproj
* test-metadata.vcproj
* teste.vcproj
* Libraries
* libgc.vcproj
* libmono.vcproj
* Tools
* genmdesc.vcproj
* monoburg.vcproj
* monodiet.vcproj
* monodis.vcproj
* monograph.vcproj
* pedump.vcproj
* mono.vcproj
REQUIREMENTS
* A working (i.e. where you could succesfully build mono) cygwin
(http://www.cygwin.com/) setup! This is required to:
* generate some files (via monoburg and genmdesc);
* build the class libraries; and
* test for regressions.
* Visual Studio .NET 2005. Previous Visual Studio versions may work or
requires, hopefully minimal, changes.
* VSDependencies.zip must be decompressed under the /mono/ directory
(otherwise you will need to edit all the projects files). This file can
be downloaded from http://www.go-mono.com/archive/VSDependencies.zip
LOCAL CHANGES
Sadly solution/projects files aren't easy to move from computers to
computers (well unless everyone follow the same naming convention) so
you'll likely have to changes some options in order to compile the
solution.
* each executed assembly (i.e. the EXE) must be able to find a
working mscorlib.dll (and all the other required assemblies).
This can be done in different ways. My preference is to use the
project "properties pages" in the "Configuration Properties
\Debugging\Environment" options and set MONO_PATH to the class
libraries directory build by cygwin (local) or on Linux
(remote).
e.g. MONO_PATH=z:\svn\mcs\class\lib\default\
allows me to use the class libs build under Linux, while
MONO_PATH=C:\cygwin\opt\mono\lib\mono\1.0
use the one built from cygwin (after a make install)
Some useful informations to adapt the solution/project files...
* My cygwin root dir is: c:\cygwin\
* My username is: poupou
* My mono install prefix is: /opt/mono
BUILDING
Once everything is installed (and edited) you can right-click on the
"mono" solution (in the "Solution Explorer"), select "Clean
Solution" (for the first time) then "Build Solution".
KNOWN ISSUES
[1] Most, BUT NOT ALL, the regressions tests pass under this build. The
failures seems limited to some mathematical differences and to code
relying on the stack walking functions. The hacks to replace the GCC
functions (__builtin_frame_address and __builtin_return_address) are
incomplete;
[2] The solution doesn't provide complete (i.e. from scratch) build. It
requires a working cygwin environment to create some files (e.g. via
genmdesc, monoburg). This isn't so bad as without cygwin you wouldn't be
able to test Mono properly (see REQUIREMENTS);
[3] Only the Debug target is configured properly (that would be easy to
fix, but would require turning off some optimizations like omitting
stack frames). Anyway there are other issues [1] to fix before switching
to Release and IMHO the _biggest_ advantage to VS.NET is it's debugger/
debugging tools;
[4] The C compiler emits _lots_ of warning during compilation. Some
warnings have been turned off for some projects (there was so much that
it slowed down compilation). You can bring them back (or hide more of
them) using the project "properties pages" windows, "Configuration
Properties\C/C++\Advanced\Disable Specific Warnings";
[5] Visual Studio 2005 should have all the latest header files required,
but if not (or if you're using an older version of VS) then install MS
Platform SDK (Windows Server 2003 is the latest) to ensure you have the
latest Windows header files. You can download it from:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm
[6] Not everyone has VS.NET so it is possible you may have to add some
(new) files to the build from time to time. See "more informations" for
reporting those changes.
[7] Probably a lot more I didn't discover... or has changed since.
MORE INFORMATION
Please email <[email protected]> if you have any problem
and/or if there's something wrong/missing in the instructions.
An online version of this file is available at
http://www.mono-project.com/Compiling_Mono_VSNET
-6
View File
@@ -1,6 +0,0 @@
Makefile.in
Makefile
*.exe
*.dll
*.mdb
coreclr-testlist.txt
@@ -1,14 +0,0 @@
using System;
using System.IO;
using System.Reflection;
namespace System.Runtime.Loader
{
public static class AssemblyExtensions
{
public static Type[] GetTypes(this Assembly assembly)
{
return assembly.GetTypes ();
}
}
}
@@ -1,41 +0,0 @@
using System;
using System.IO;
using System.Reflection;
namespace System.Runtime.Loader
{
public abstract class AssemblyLoadContext
{
protected abstract Assembly Load(AssemblyName assemblyName);
protected Assembly LoadFromAssemblyPath(string assemblyPath)
{
if (assemblyPath == null)
throw new ArgumentNullException("assemblyPath");
if (!Path.IsPathRooted(assemblyPath))
throw new ArgumentException("Gimme an absolute path " + assemblyPath + " XXX " + Path.GetPathRoot(assemblyPath), "assemblyPath");
return Assembly.LoadFrom (assemblyPath);
}
public Assembly LoadFromAssemblyName(AssemblyName assemblyName)
{
// AssemblyName is mutable. Cache the expected name before anybody gets a chance to modify it.
string requestedSimpleName = assemblyName.Name;
Assembly assembly = Load(assemblyName);
if (assembly == null)
throw new FileLoadException("File not found", requestedSimpleName);
return assembly;
}
public static AssemblyName GetAssemblyName(string assemblyPath)
{
if (!File.Exists (assemblyPath))
throw new Exception ("file not found");
return new AssemblyName (Path.GetFileName (assemblyPath));
}
}
}
-27
View File
@@ -1,27 +0,0 @@
ACCEPTANCE_TESTS_PATH=external
BENCHMARKER_PATH=$(ACCEPTANCE_TESTS_PATH)/benchmarker
ROSLYN_PATH=$(ACCEPTANCE_TESTS_PATH)/roslyn
CORECLR_PATH=$(ACCEPTANCE_TESTS_PATH)/coreclr
MSTESTSUITE_PATH=$(ACCEPTANCE_TESTS_PATH)/ms-test-suite
CLEANFILES = *.dll *.exe *.mdb
EXTRA_DIST=README.md SUBMODULES.json versions.mk roslyn.mk coreclr.mk ms-test-suite.mk
CLASS=$(mcs_topdir)/class/lib/$(DEFAULT_PROFILE)
TOOLS_CLASS=$(mcs_topdir)/class/lib/build
RUNTIME = MONO_PATH=$(CLASS) $(abs_top_builddir)/runtime/mono-wrapper --debug
TOOLS_RUNTIME = MONO_PATH=$(TOOLS_CLASS) $(abs_top_builddir)/runtime/mono-wrapper --debug
MCS = $(TOOLS_RUNTIME) $(CSC) -nologo -noconfig -lib:$(CLASS) -r:System.dll -r:System.Core.dll -r:System.Xml.dll -r:Microsoft.CSharp.dll
ILASM = $(TOOLS_RUNTIME) $(TOOLS_CLASS)/ilasm.exe
XUNIT = $(RUNTIME) $(abs_top_builddir)/external/xunit-binaries/xunit.console.exe
include versions.mk
include profiler-stress.mk
include roslyn.mk
include coreclr.mk
include ms-test-suite.mk
check-full: check-profiler-stress check-roslyn check-coreclr check-ms-test-suite
clean-local: clean-local-coreclr
-35
View File
@@ -1,35 +0,0 @@
Acceptance tests
================
This directory contains acceptance tests, which are third party test suites and frameworks that are used to validate Mono against a wider range of test cases that go beyond the Mono unit tests that run as part of CI.
In order to make checking out those test suites optional we don't use traditional git submodules, but instead clone them on demand when needed. The custom submodule repositories are checked out into the acceptance-tests/external/ directory.
## Usage
Running all test suites is possible via "make check-full". There are also targets for running individual test suites, see below.
Some of the test suites require an installed Mono (i.e. they don't work with the in-tree build), those will ask you to pass in the PREFIX variable pointing to the installation directory when invoking make. Note that this directory needs to be writable as we overwrite some files there as part of testing.
## Individual test suites and targets
* `make check-ms-test-suite` - Runs tests that were shared with Xamarin, those are not available publically and will be skipped when the repository is not accessible.
* `make check-roslyn` - Runs the Roslyn test suite.
* `make check-coreclr` - Runs the CoreCLR test suite.
* `make coreclr-runtest-coremanglib` - Runs only the CoreMangLib portion of the CoreCLR tests, those tests mostly target the BCL behavior.
* `make coreclr-runtest-basic` - Runs only the CoreCLR tests that target runtime behavior and stability.
* `make coreclr-compile-tests` - Convenience target that precompiles all the test cases in parallel.
* `make coreclr-gcstress` - Runs the CoreCLR GC stress tests.
## Updating submodules
The SUBMODULES.json file stores information about the submodules, and make targets are used to check out submodules, check their versions, and update the submodule information:
* `make validate-<module>` - Checks whenever `<module>` is checked out and matches the version in the info file.
* `make reset-<module>` - Clones `<module>` if neccesary and checks out the revision specified in the info file.
* `make bump-<module>` - Updates the revision stored in the info file for `<module>`.
* `make bump-current-<module>` - Updates the revision stored in the info file for `<module>` to the current revision.
* `make commit-bump-<module>` - Same as `make bump-<module>`, but commits the change.
* `make commit-bump-current-<module>` - Same as `make bump-current-<module>`, but commits the change.
Example: when making a change in the CoreCLR submodule (like disabling something on Mono), you'd commit the change there and then run `make bump-current-coreclr` or `make commit-bump-current-coreclr` to update the version in SUBMODULES.json.
-34
View File
@@ -1,34 +0,0 @@
[
{
"name": "roslyn",
"url": "git://github.com/mono/roslyn.git",
"rev": "1d9895045041925490038c5df0d8f947d8dcbd7f",
"remote-branch": "origin/mono-testing",
"branch": "mono-testing",
"directory": "roslyn"
},
{
"name": "coreclr",
"url": "git://github.com/mono/coreclr.git",
"rev": "83d8279997d8ce4ad344ff9b937b2d13d074dcaa",
"remote-branch": "origin/mono",
"branch": "mono",
"directory": "coreclr"
},
{
"name": "ms-test-suite",
"url": "[email protected]:xamarin/ms-test-suite.git",
"rev": "67f29dfc0741b5311dd746c75760963a2915e648",
"remote-branch": "origin/master",
"branch": "master",
"directory": "ms-test-suite"
},
{
"name": "benchmarker",
"url": "git://github.com/xamarin/benchmarker.git",
"rev": "97f618cd585af549dd861b7c142656c496f6a89b",
"remote-branch": "origin/master",
"branch": "master",
"directory": "benchmarker"
}
]
File diff suppressed because it is too large. Load diff
-2
View File
@@ -1,2 +0,0 @@
*
!.gitignore
-15
View File
@@ -1,15 +0,0 @@
check-ms-test-suite: $(CLASS)/nunitlite.dll
@if $(MAKE) validate-ms-test-suite RESET_VERSIONS=1; then \
$(MAKE) -C $(MSTESTSUITE_PATH)/conformance build MCS="$(MCS) -debug:portable -t:library -warn:1 -r:$(CLASS)/nunitlite.dll" && \
$(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup build MCS="$(MCS) -debug:portable -t:library -warn:1 -r:$(CLASS)/nunitlite.dll" && \
$(MAKE) -C $(MSTESTSUITE_PATH)/System.Linq.Expressions build MCS="$(MCS) -debug:portable -t:library -warn:1 -r:$(CLASS)/nunitlite.dll" && \
$(MAKE) -C $(MSTESTSUITE_PATH)/conformance run NUNIT-CONSOLE="$(RUNTIME) $(CLASS)/nunit-lite-console.exe -exclude=MonoBug,BadTest -format:nunit2" NUNIT_XML_RESULT="-result:$(abs_top_builddir)/acceptance-tests/TestResult-ms-test-suite-conformance.xml" || EXIT_CODE=1; \
$(MAKE) -C $(MSTESTSUITE_PATH)/systemruntimebringup run NUNIT-CONSOLE="$(RUNTIME) $(CLASS)/nunit-lite-console.exe -exclude=MonoBug,BadTest -format:nunit2" NUNIT_XML_RESULT="-result:$(abs_top_builddir)/acceptance-tests/TestResult-ms-test-suite-systemruntimebringup.xml" || EXIT_CODE=1; \
$(MAKE) -C $(MSTESTSUITE_PATH)/System.Linq.Expressions run NUNIT-CONSOLE="$(RUNTIME) $(CLASS)/nunit-lite-console.exe -exclude=MonoBug,BadTest -format:nunit2" NUNIT_XML_RESULT="-result:$(abs_top_builddir)/acceptance-tests/TestResult-ms-test-suite-systemlinqexpressions.xml" || EXIT_CODE=1; \
exit $$EXIT_CODE; \
else \
echo "*** [ms-test-suite] Getting the repository failed, you probably don't have access to this Xamarin-internal resource. Skipping."; \
fi
$(CLASS)/nunitlite.dll:
$(MAKE) -C $(mcs_topdir)/tools/nunit-lite
-13
View File
@@ -1,13 +0,0 @@
SYS_REFS = \
System.dll \
System.Core.dll \
System.Data.dll \
System.Runtime.Serialization.dll \
System.Xml.dll \
System.Xml.Linq.dll \
Mono.Posix.dll
check-profiler-stress:
@$(MAKE) validate-benchmarker RESET_VERSIONS=1
cd profiler-stress && $(MCS) -debug -define:ARCH_$(arch_target) -target:exe $(addprefix -r:, $(SYS_REFS)) -out:runner.exe @runner.exe.sources
cd profiler-stress && $(RUNTIME) runner.exe
-374
View File
@@ -1,374 +0,0 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Xml;
using Mono.Unix.Native;
using Newtonsoft.Json;
// Shut up CLS compliance warnings from Json.NET.
[assembly: CLSCompliant (true)]
namespace Mono.Profiling.Tests.Stress {
// https://github.com/xamarin/benchmarker/blob/master/tools/libdbmodel/Benchmark.cs
sealed class Benchmark {
public string Name { get; set; }
public string TestDirectory { get; set; }
public bool OnlyExplicit { get; set; }
public string[] CommandLine { get; set; }
public string[] ClientCommandLine { get; set; }
public string[] AOTAssemblies { get; set; }
public static Benchmark Load (string file)
{
return JsonConvert.DeserializeObject<Benchmark> (File.ReadAllText (file));
}
}
sealed class TestResult {
public Benchmark Benchmark { get; set; }
public ProcessStartInfo StartInfo { get; set; }
public Stopwatch Stopwatch { get; set; } = new Stopwatch ();
public int? ExitCode { get; set; }
public string StandardOutput { get; set; }
public string StandardError { get; set; }
}
static class Program {
static readonly string[] _options = new [] {
"exception",
"monitor",
"gc",
"gcalloc",
"gcmove",
"gcroot",
"gchandle",
"finalization",
"counter",
"jit",
};
static readonly TimeSpan _timeout = TimeSpan.FromHours (6);
const RegexOptions _regexOptions = RegexOptions.Compiled | RegexOptions.Singleline;
static readonly Dictionary<string, Predicate<Benchmark>> _filters = new Dictionary<string, Predicate<Benchmark>> {
{ "ironjs-v8", FilterNotOnArm },
{ "msbiology", FilterNever },
};
static bool FilterNever (Benchmark benchmark)
{
return false;
}
static bool FilterNotOnArm (Benchmark benchmark)
{
#if ARCH_arm || ARCH_arm64
return false;
#else
return true;
#endif
}
static bool IsSupported (Benchmark benchmark)
{
return _filters.TryGetValue (benchmark.Name, out var filter) ? filter (benchmark) : true;
}
static string ReplaceInvalidXmlChars (string text) {
return Regex.Replace (text, @"[^\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u10000-\u10FFFF]", string.Empty);
}
static int Main ()
{
var regex = new Regex (".*", _regexOptions);
if (Environment.GetEnvironmentVariable ("MONO_PROFILER_STRESS_REGEX") is string envRegex)
regex = new Regex (envRegex, _regexOptions);
var depDir = Path.Combine ("..", "external", "benchmarker");
var benchDir = Path.Combine (depDir, "benchmarks");
var testDir = Path.Combine (depDir, "tests");
var benchmarks = Directory.EnumerateFiles (benchDir, "*.benchmark")
.Select (Benchmark.Load)
.Where (b => !b.OnlyExplicit && b.ClientCommandLine == null && IsSupported (b) && regex.IsMatch (b.Name))
.OrderBy (b => b.Name)
.ToArray ();
var monoPath = Path.GetFullPath (Path.Combine ("..", "..", "runtime", "mono-wrapper"));
var classDir = Path.GetFullPath (Path.Combine ("..", "..", "mcs", "class", "lib", "net_4_x"));
var seed = Environment.TickCount;
if (Environment.GetEnvironmentVariable ("MONO_PROFILER_STRESS_SEED") is string envSeed)
seed = int.Parse (envSeed);
var timeout = (int) _timeout.TotalMilliseconds;
if (Environment.GetEnvironmentVariable ("MONO_PROFILER_STRESS_TIMEOUT") is string envTimeout)
timeout = (int) TimeSpan.Parse (envTimeout).TotalMilliseconds;
string options = null;
if (Environment.GetEnvironmentVariable ("MONO_PROFILER_STRESS_OPTIONS") is string envOptions)
options = envOptions;
var suspend = false;
if (Environment.GetEnvironmentVariable ("MONO_PROFILER_STRESS_SUSPEND") is string envSuspend)
suspend = bool.Parse (envSuspend);
var rand = new Random (seed);
var cpus = Environment.ProcessorCount;
var sw = Stopwatch.StartNew ();
Console.ForegroundColor = ConsoleColor.Magenta;
Console.WriteLine ($"[{sw.Elapsed.ToString ("G")}] Starting test session with seed: {seed}");
Console.ResetColor ();
var results = new List<TestResult> (benchmarks.Length);
for (var i = 0; i < benchmarks.Length; i++) {
var bench = benchmarks [i];
var sampleFreq = rand.Next (-1000, 1001);
var sampleMode = rand.Next (0, 2) == 1 ? "-real" : string.Empty;
var maxSamples = rand.Next (0, cpus * 2000 + 1);
var heapShotFreq = rand.Next (-10, 11);
var maxFrames = rand.Next (0, 33);
var flags = _options.ToDictionary (x => x, _ => rand.Next (0, 2) == 1)
.Select (x => (x.Value ? string.Empty : "no") + x.Key)
.ToArray ();
var profOptions = "nodefaults,output=/dev/null,";
if (options == null) {
profOptions += $"maxframes={maxFrames},";
if (sampleFreq > 0)
profOptions += $"sample{sampleMode}={sampleFreq},maxsamples={maxSamples},";
if (heapShotFreq > 0)
profOptions += $"heapshot={heapShotFreq}gc,";
profOptions += string.Join (",", flags);
} else
profOptions += options;
var info = new ProcessStartInfo {
UseShellExecute = false,
WorkingDirectory = Path.Combine (testDir, bench.TestDirectory),
FileName = monoPath,
Arguments = $"--debug --profile=log:{profOptions} " + string.Join (" ", bench.CommandLine),
RedirectStandardOutput = true,
RedirectStandardError = true,
};
info.EnvironmentVariables.Clear ();
info.EnvironmentVariables.Add ("MONO_PATH", classDir);
if (suspend)
info.EnvironmentVariables.Add ("MONO_DEBUG", "suspend-on-native-crash,suspend-on-unhandled");
var progress = $"({i + 1}/{benchmarks.Length})";
Console.ForegroundColor = ConsoleColor.Blue;
Console.WriteLine ($"[{sw.Elapsed.ToString ("G")}] {progress} Running {bench.Name} with profiler options: {profOptions}");
Console.ResetColor ();
var result = new TestResult {
Benchmark = bench,
StartInfo = info,
};
using (var proc = new Process ()) {
proc.StartInfo = info;
var stdout = new StringBuilder ();
var stderr = new StringBuilder ();
proc.OutputDataReceived += (sender, args) => {
if (args.Data != null)
lock (result)
stdout.AppendLine (args.Data);
};
proc.ErrorDataReceived += (sender, args) => {
if (args.Data != null)
lock (result)
stderr.AppendLine (args.Data);
};
result.Stopwatch.Start ();
proc.Start ();
proc.BeginOutputReadLine ();
proc.BeginErrorReadLine ();
if (!proc.WaitForExit (timeout)) {
// Force a thread dump.
Syscall.kill (proc.Id, Signum.SIGQUIT);
Thread.Sleep (1000);
try {
proc.Kill ();
} catch (Exception) {
}
} else
result.ExitCode = proc.ExitCode;
result.Stopwatch.Stop ();
lock (result) {
result.StandardOutput = stdout.ToString ();
result.StandardError = stderr.ToString ();
}
}
var resultStr = result.ExitCode == null ? "timed out" : $"exited with code: {result.ExitCode}";
Console.ForegroundColor = result.ExitCode != 0 ? ConsoleColor.Red : ConsoleColor.Green;
Console.WriteLine ($"[{sw.Elapsed.ToString ("G")}] {progress} {bench.Name} took {result.Stopwatch.Elapsed.ToString ("G")} and {resultStr}");
Console.ResetColor ();
if (result.ExitCode != 0) {
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine ("===== stdout =====");
Console.ResetColor ();
Console.WriteLine (result.StandardOutput);
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine ("===== stderr =====");
Console.ResetColor ();
Console.WriteLine (result.StandardError);
}
results.Add (result);
}
sw.Stop ();
var successes = results.Count (r => r.ExitCode == 0);
var failures = results.Count (r => r.ExitCode != null && r.ExitCode != 0);
var timeouts = results.Count (r => r.ExitCode == null);
var settings = new XmlWriterSettings {
NewLineOnAttributes = true,
Indent = true,
};
using (var writer = XmlWriter.Create ("TestResult-profiler-stress.xml", settings)) {
writer.WriteStartDocument ();
writer.WriteComment ($"This file represents the results of running a test suite (seed: {seed})");
writer.WriteStartElement ("test-results");
writer.WriteAttributeString ("name", "profiler-stress-tests.dummy");
writer.WriteAttributeString ("total", results.Count.ToString ());
writer.WriteAttributeString ("failures", failures.ToString ());
writer.WriteAttributeString ("not-run", "0");
writer.WriteAttributeString ("date", DateTime.Now.ToString ("yyyy-MM-dd"));
writer.WriteAttributeString ("time", DateTime.Now.ToString ("HH:mm:ss"));
writer.WriteStartElement ("environment");
writer.WriteAttributeString ("nunit-version", "2.4.8.0");
writer.WriteAttributeString ("clr-version", Environment.Version.ToString ());
writer.WriteAttributeString ("os-version", Environment.OSVersion.ToString ());
writer.WriteAttributeString ("platform", Environment.OSVersion.Platform.ToString ());
writer.WriteAttributeString ("cwd", Environment.CurrentDirectory);
writer.WriteAttributeString ("machine-name", Environment.MachineName);
writer.WriteAttributeString ("user", Environment.UserName);
writer.WriteAttributeString ("user-domain", Environment.UserDomainName);
writer.WriteEndElement ();
writer.WriteStartElement ("culture-info");
writer.WriteAttributeString ("current-culture", CultureInfo.CurrentCulture.Name);
writer.WriteAttributeString ("current-uiculture", CultureInfo.CurrentUICulture.Name);
writer.WriteEndElement ();
writer.WriteStartElement ("test-suite");
writer.WriteAttributeString ("name", "profiler-stress-tests.dummy");
writer.WriteAttributeString ("success", (failures + timeouts == 0).ToString ());
writer.WriteAttributeString ("time", ((int) sw.Elapsed.TotalSeconds).ToString ());
writer.WriteAttributeString ("asserts", (failures + timeouts).ToString ());
writer.WriteStartElement ("results");
writer.WriteStartElement ("test-suite");
writer.WriteAttributeString ("name", "MonoTests");
writer.WriteAttributeString ("success", (failures + timeouts == 0).ToString ());
writer.WriteAttributeString ("time", ((int) sw.Elapsed.TotalSeconds).ToString ());
writer.WriteAttributeString ("asserts", (failures + timeouts).ToString ());
writer.WriteStartElement ("results");
writer.WriteStartElement ("test-suite");
writer.WriteAttributeString ("name", "profiler-stress");
writer.WriteAttributeString ("success", (failures + timeouts == 0).ToString ());
writer.WriteAttributeString ("time", ((int) sw.Elapsed.TotalSeconds).ToString ());
writer.WriteAttributeString ("asserts", (failures + timeouts).ToString ());
writer.WriteStartElement ("results");
foreach (var result in results) {
var timeoutStr = result.ExitCode == null ? "_timeout" : string.Empty;
writer.WriteStartElement ("test-case");
writer.WriteAttributeString ("name", $"MonoTests.profiler-stress.{result.Benchmark.Name}{timeoutStr}");
writer.WriteAttributeString ("executed", "True");
writer.WriteAttributeString ("success", (result.ExitCode == 0).ToString ());
writer.WriteAttributeString ("time", ((int) result.Stopwatch.Elapsed.TotalSeconds).ToString ());
writer.WriteAttributeString ("asserts", result.ExitCode == 0 ? "0" : "1");
if (result.ExitCode != 0) {
writer.WriteStartElement ("failure");
writer.WriteStartElement ("message");
writer.WriteCData (ReplaceInvalidXmlChars (result.StandardOutput));
writer.WriteEndElement ();
writer.WriteStartElement ("stack-trace");
writer.WriteCData (ReplaceInvalidXmlChars (result.StandardError));
writer.WriteEndElement ();
writer.WriteEndElement ();
}
writer.WriteEndElement ();
}
writer.WriteEndElement ();
writer.WriteEndElement ();
writer.WriteEndElement ();
writer.WriteEndElement ();
writer.WriteEndElement ();
writer.WriteEndElement ();
writer.WriteEndElement ();
writer.WriteEndDocument ();
}
var failureStr = failures + timeouts != 0 ? $" ({failures} failures, {timeouts} timeouts)" : string.Empty;
Console.ForegroundColor = failures + timeouts != 0 ? ConsoleColor.Red : ConsoleColor.Green;
Console.WriteLine ($"[{sw.Elapsed.ToString ("G")}] Finished with {successes}/{results.Count} passing tests{failureStr}");
Console.ResetColor ();
return failures + timeouts;
}
}
}
@@ -1,156 +0,0 @@
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonBinaryType.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonBinaryWriter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonReader.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonToken.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonType.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonWriter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Bson/BsonObjectId.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/BinaryConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/DataSetConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/DataTableConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/CustomCreationConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/DateTimeConverterBase.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/EntityKeyMemberConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/ExpandoObjectConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/KeyValuePairConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/BsonObjectIdConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/RegexConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/StringEnumConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/ConstructorHandling.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/VersionConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/DateFormatHandling.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/DateTimeZoneHandling.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Formatting.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonConstructorAttribute.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonPosition.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JPropertyKeyedCollection.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DynamicProxy.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JPath.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JRaw.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Required.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonDynamicContract.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonFormatterConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonISerializableContract.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonLinqContract.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonPrimitiveContract.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/DynamicValueProvider.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/ErrorEventArgs.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JPropertyDescriptor.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/DefaultReferenceResolver.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/PreserveReferencesHandling.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/IJsonLineInfo.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonArrayAttribute.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonContainerAttribute.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/DefaultValueHandling.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonConverterAttribute.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonObjectAttribute.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonSerializerSettings.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonValidatingReader.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/IJEnumerable.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JTokenEqualityComparer.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/MemberSerialization.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/ObjectCreationHandling.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/IsoDateTimeConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/JavaScriptDateTimeConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Converters/XmlNodeConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonTextReader.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonPropertyAttribute.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonIgnoreAttribute.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonTextWriter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonWriterException.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonReaderException.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonConverter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonConverterCollection.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonReader.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonConvert.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonSerializationException.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonSerializer.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/Extensions.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JConstructor.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JContainer.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JEnumerable.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JObject.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JArray.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JTokenReader.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JTokenWriter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JToken.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JProperty.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JTokenType.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JValue.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/Extensions.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaException.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaModel.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaModelBuilder.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaNodeCollection.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaNode.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaResolver.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaWriter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/UndefinedSchemaIdHandling.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/ValidationEventArgs.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/ValidationEventHandler.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/CamelCasePropertyNamesContractResolver.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/DefaultContractResolver.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/DefaultSerializationBinder.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/ErrorContext.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/IContractResolver.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/IValueProvider.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonArrayContract.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonContract.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonDictionaryContract.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonProperty.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonPropertyCollection.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/MissingMemberHandling.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/NullValueHandling.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/ReferenceLoopHandling.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchema.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaBuilder.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaConstants.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaGenerator.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/IReferenceResolver.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Schema/JsonSchemaType.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonObjectContract.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSerializerInternalBase.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSerializerInternalReader.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSerializerInternalWriter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonSerializerProxy.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonStringContract.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/JsonTypeReflector.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/CachedAttributeGetter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/LateBoundMetadataTypeAttribute.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/ReflectionValueProvider.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/OnErrorAttribute.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/Base64Encoder.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DynamicProxyMetaObject.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DynamicUtils.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DynamicWrapper.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DynamicReflectionDelegateFactory.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Serialization/ObjectConstructor.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ILGeneratorExtensions.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ReflectionDelegateFactory.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/LateBoundReflectionDelegateFactory.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/MethodCall.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/StringReference.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ThreadSafeStore.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/TypeNameHandling.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/BidirectionalDictionary.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ConvertUtils.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/CollectionWrapper.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DateTimeUtils.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/DictionaryWrapper.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/EnumUtils.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/EnumValue.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/EnumValues.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/JavaScriptUtils.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonToken.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/JsonWriter.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/StringBuffer.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/CollectionUtils.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ListWrapper.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/MathUtils.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/MiscellaneousUtils.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ReflectionUtils.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/StringUtils.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/TypeExtensions.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/Utilities/ValidationUtils.cs
../../external/Newtonsoft.Json/Src/Newtonsoft.Json/WriteState.cs
runner.cs
-5
View File
@@ -1,5 +0,0 @@
check-roslyn:
@$(MAKE) validate-roslyn RESET_VERSIONS=1
cd $(ROSLYN_PATH); \
./mono-testing.sh "$(XUNIT)" || exit; \
echo "done"
-54
View File
@@ -1,54 +0,0 @@
.PHONY: validate-versions reset-versions
SUBMODULES_CONFIG_FILE = $(top_srcdir)/acceptance-tests/SUBMODULES.json
include $(top_srcdir)/scripts/submodules/versions.mk
$(eval $(call ValidateVersionTemplate,benchmarker,BENCHMARKER))
$(eval $(call ValidateVersionTemplate,roslyn,ROSLYN))
$(eval $(call ValidateVersionTemplate,coreclr,CORECLR))
$(eval $(call ValidateVersionTemplate,ms-test-suite,MSTESTSUITE))
# Bump the given submodule to the revision given by the REV make variable
# If COMMIT is 1, commit the change
bump-benchmarker: __bump-benchmarker
bump-roslyn: __bump-version-roslyn
bump-coreclr: __bump-version-coreclr
bump-ms-test-suite: __bump-version-ms-test-suite
# Bump the given submodule to the branch given by the BRANCH/REMOTE_BRANCH make variables
# If COMMIT is 1, commit the change
bump-branch-benchmarker: __bump-branch-benchmarker
bump-branch-roslyn: __bump-branch-roslyn
bump-branch-coreclr: __bump-branch-coreclr
bump-branch-ms-test-suite: __bump-branch-ms-test-suite
# Bump the given submodule to its current GIT version
# If COMMIT is 1, commit the change
bump-current-benchmarker: __bump-current-benchmarker
bump-current-roslyn: __bump-current-version-roslyn
bump-current-coreclr: __bump-current-version-coreclr
bump-current-ms-test-suite: __bump-current-version-ms-test-suite
commit-bump-benchmarker:
$(MAKE) bump-benchmarker COMMIT=1
commit-bump-roslyn:
$(MAKE) bump-roslyn COMMIT=1
commit-bump-coreclr:
$(MAKE) bump-coreclr COMMIT=1
commit-bump-ms-test-suite:
$(MAKE) bump-ms-test-suite COMMIT=1
commit-bump-current-benchmarker:
$(MAKE) bump-current-benchmarker COMMIT=1
commit-bump-current-roslyn:
$(MAKE) bump-current-roslyn COMMIT=1
commit-bump-current-coreclr:
$(MAKE) bump-current-coreclr COMMIT=1
commit-bump-current-ms-test-suite:
$(MAKE) bump-current-ms-test-suite COMMIT=1
+3 -7
View File
@@ -22,14 +22,11 @@ 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* \
|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*|arm*-*-linux*)
pic_options='-fPIC'
;;
?86-pc-cygwin*|i?86-pc-cygwin*|i?86-pc-mingw32*)
pic_options='-DDLL_EXPORT'
;;
i?86-apple-darwin*|arm-apple-darwin*)
i?86-apple-darwin*)
pic_options='-fno-common'
;;
*)
@@ -158,7 +155,6 @@ modeok=false
tagok=false
for arg in "$[]@"; do
case "$arg" in
--silent) ;;
--mode=compile) modeok=true ;;
--tag=CC|--tag=CXX) tagok=true ;;
--quiet) ;;
+18 -45
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
@@ -30,25 +30,25 @@ fi
DIE=1
}
if [ -z "$LIBTOOLIZE" ]; then
LIBTOOLIZE=`which glibtoolize 2>/dev/null`
if [ ! -x "$LIBTOOLIZE" ]; then
LIBTOOLIZE=`which libtoolize`
if [ -z "$LIBTOOL" ]; then
LIBTOOL=`which glibtool 2>/dev/null`
if [ ! -x "$LIBTOOL" ]; then
LIBTOOL=`which libtool`
fi
fi
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && {
($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || {
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`libtoolize' installed to compile Mono."
echo "Get ftp://ftp.gnu.org/gnu/libtool/libtool-1.2.tar.gz"
echo "**Error**: You must have \`libtool' installed to compile Mono."
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
}
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..."
$LIBTOOLIZE --force --copy
${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,11 +130,8 @@ if test -d $srcdir/libgc; then
echo Done running libgc/autogen.sh ...
fi
if test x$MONO_EXTRA_CONFIGURE_FLAGS != x; then
echo "MONO_EXTRA_CONFIGURE_FLAGS is $MONO_EXTRA_CONFIGURE_FLAGS"
fi
conf_flags="$MONO_EXTRA_CONFIGURE_FLAGS --enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
if test x$NOCONFIGURE = x; then
echo Running $srcdir/configure $conf_flags "$@" ...
+64
View File
@@ -0,0 +1,64 @@
#!/bin/sh
ASPEN_ROOT=/Developer/Platforms/iPhoneOS.platform/Developer
ASPEN_SDK=$ASPEN_ROOT/SDKs/iPhoneOS2.0.sdk/
ORIG_PATH=$PATH
GLIB_FLAGS=`pkg-config --cflags --libs glib-2.0`
if [ -z "$GLIB_FLAGS" ]; then
echo "pkg-config could not locate glib-2.0 needed for the monoburg step"
exit;
fi
setenv () {
export PATH=$ASPEN_ROOT/usr/bin:$PATH
export C_INCLUDE_PATH="$ASPEN_SDK/usr/lib/gcc/arm-apple-darwin9/4.0.1/include:$ASPEN_SDK/usr/include"
export CPLUS_INCLUDE_PATH="$ASPEN_SDK/usr/lib/gcc/arm-apple-darwin9/4.0.1/include:$ASPEN_SDK/usr/include"
export CC=arm-apple-darwin9-gcc-4.0.1
export CXX=arm-apple-darwin9-g++-4.0.1
export CPP="cpp-4.0 -nostdinc -U__powerpc__ -U__i386__ -D__arm__"
export CXXPP="cpp-4.0 -nostdinc -U__powerpc__ -U__i386__ -D__arm__"
export LD=$CC
export LDFLAGS="-liconv -Wl,-syslibroot,$ASPEN_SDK"
}
unsetenv () {
export PATH=$ORIG_PATH
unset C_INCLUDE_PATH
unset CPLUS_INCLUDE_PATH
unset CC
unset CXX
unset CPP
unset CXXPP
unset LD
unset LDFLAGS
}
export mono_cv_uscore=yes
export cv_mono_sizeof_sunpath=104
export ac_cv_func_posix_getpwuid_r=yes
export ac_cv_func_backtrace_symbols=no
setenv
pushd eglib
./autogen.sh --host=arm-apple-darwin9
popd
./autogen.sh --disable-mcs-build --host=arm-apple-darwin9 --disable-shared-handles --with-tls=pthread --with-sigaltstack=no --with-glib=embedded $@
perl -pi -e 's/MONO_SIZEOF_SUNPATH 0/MONO_SIZEOF_SUNPATH 104/' config.h
perl -pi -e 's/#define HAVE_FINITE 1//' config.h
perl -pi -e 's/#define HAVE_MMAP 1//' config.h
make
unsetenv
pushd mono/monoburg
/usr/bin/gcc -o monoburg ./monoburg.c parser.c -I../.. -pthread -lm $GLIB_FLAGS
make
popd
setenv
make
-7
View File
@@ -1,7 +0,0 @@
@echo off
cd mcs\jay
vcbuild jay.vcxproj
cd msvc\scripts
csc prepare.cs
prepare.exe ..\..\mcs core
msbuild net_4_x.sln
-4
View File
@@ -1,4 +0,0 @@
#!/bin/sh
(cd mcs/jay; make)
(cd msvc/scripts/; make prepare.exe; mono prepare.exe ../../mcs core)
msbuild net_4_x.sln
+110
View File
@@ -0,0 +1,110 @@
#!/bin/bash -e
CURDIR="`pwd`"
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_2_1 net_3_5"
export PATH
function setup ()
{
if [ -d ./.git/svn ]; then
SVN_INFO='git svn info'
elif [ -d ./.svn ]; then
SVN_INFO='svn info'
else
SVN_INFO=""
fi
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
echo Mono Win32 installation prefix: $MONO_PREFIX
}
function build ()
{
./autogen.sh
if [ -f ./Makefile ]; then
make distclean
fi
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 --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
cd "$CURDIR/build-cross-windows-mcs"
rm -rf *
../configure --prefix=$MONO_PREFIX --enable-parallel-mark
make
}
function doinstall ()
{
if [ -d "$INSTALL_DIR" ]; then
rm -rf "$INSTALL_DIR"
fi
cd "$CURDIR/build-cross-windows"
make DESTDIR="$INSTALL_DESTDIR" USE_BATCH_FILES=yes install
cd "$CURDIR/../mcs/mcs"
for p in $PROFILES; do
make DESTDIR="$INSTALL_DESTDIR" PROFILE=$p install || echo "mcs profile $p installation failed"
done
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 "$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 .
}
pushd . > /dev/null
setup
build
doinstall
popd > /dev/null
-50
View File
@@ -1,50 +0,0 @@
# Contributor Code of Conduct
As contributors and maintainers of this project, and in the interest of
fostering an open and welcoming community, we pledge to respect all people who
contribute through reporting issues, posting feature requests, updating
documentation, submitting pull requests or patches, and other activities.
We are committed to making participation in this project a harassment-free
experience for everyone, regardless of level of experience, gender, gender
identity and expression, sexual orientation, disability, personal appearance,
body size, race, ethnicity, age, religion, or nationality.
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery
* Personal attacks
* Trolling or insulting/derogatory comments
* Public or private harassment
* Publishing other's private information, such as physical or electronic
addresses, without explicit permission
* Other unethical or unprofessional conduct
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
By adopting this Code of Conduct, project maintainers commit themselves to
fairly and consistently applying these principles to every aspect of managing
this project. Project maintainers who do not follow or enforce the Code of
Conduct may be permanently removed from the project team.
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community.
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting a project maintainer at miguel@xamarin.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. Maintainers are
obligated to maintain confidentiality with regard to the reporter of an
incident.
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 1.3.0, available at
[http://contributor-covenant.org/version/1/3/0/][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/3/0/
-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
-5150
View File
File diff suppressed because it is too large. Load diff
+2572
View File
File diff suppressed because it is too large. Load diff
-7
View File
@@ -1,7 +0,0 @@
/Makefile.in
/Makefile
/config
/.cvsignore
/*.pc
/gdb/mono-sgen-gdb.py
/mono-sgen-gdb.py
-1
View File
@@ -1 +0,0 @@
/Compat.browser -crlf
+15 -27
View File
@@ -1,44 +1,32 @@
SUBDIRS = net_2_0 net_4_0 net_4_5
SUBDIRS = net_1_1 net_2_0
monodir = $(sysconfdir)/mono
monolldbdir = $(libdir)/mono/lldb
EXTRA_DIST = \
config.in \
browscap.ini mono.supp mono.d README \
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 \
mono-nunit.pc.in mono-cairo.pc.in mono-options.pc.in cecil.pc.in \
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 smcs.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 \
lldb/mono.py \
lldb/monobt.py
dtrace-prelink.sh mono.web.pc.in system.web.mvc.pc.in
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 smcs.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 smcs.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 smcs.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 smcs.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
monolldb_DATA = lldb/mono.py
gdbdir = $(bindir)
mono-sgen-gdb.py: gdb/mono-gdb.py
cp $< $@
gdb_DATA = gdb/mono-gdb.py mono-sgen-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 -19
View File
@@ -10,35 +10,17 @@
<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="$mono_libdir/libMonoPosixHelper@libsuffix@" os="!windows" />
<dllmap dll="libmono-btls-shared" target="$mono_libdir/libmono-btls-shared@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="libgdk_pixbuf-2.0" target="libgdk_pixbuf-2.0.so.0" os="!windows"/>
<dllmap dll="libgtk-x11-2.0" target="@GTKX11@" os="!windows"/>
<dllmap dll="libglib-2.0" target="libglib-2.0.so.0" os="!windows"/>
<dllmap dll="libgobject-2.0" target="libgobject-2.0.so.0" os="!windows"/>
<dllmap dll="libgnomeui-2" target="libgnomeui-2.so.0" os="!windows"/>
<dllmap dll="librsvg-2" target="librsvg-2.so.2" os="!windows"/>
<dllmap dll="libXinerama" target="@XINERAMA@" os="!windows" />
<dllmap dll="libasound" target="libasound.so.2" 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"/>
<dllmap dll="System.Native" target="__Internal"/>
</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
-163
View File
@@ -1,163 +0,0 @@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 640998b..fb73e9d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2009-02-03 Zoltan Varga <[email protected]>
+
+ * cil-script.c python/python-cmd.c: Allow registration of pre/post hooks from
+ python.
+
+ * symfile.c (add_symbol_file_command): Comment out verbose messages.
+
2009-02-03 Thiago Jung Bauermann <[email protected]>
* gdb/c-lang.c (c_get_string): Remove superfluous parenthesis from
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c
index 835d29c..3941aa5 100644
--- a/gdb/cli/cli-script.c
+++ b/gdb/cli/cli-script.c
@@ -299,6 +299,13 @@ execute_user_command (struct cmd_list_element *c, char *args)
static int user_call_depth = 0;
extern int max_user_call_depth;
+ /* Might be a user defined command implemented in Python */
+ if (!c->user_commands && c->func)
+ {
+ (*c->func) (c, args, FALSE);
+ return;
+ }
+
old_chain = setup_user_args (args);
cmdlines = c->user_commands;
diff --git a/gdb/python/python-cmd.c b/gdb/python/python-cmd.c
index 61d5e5d..a3fbc08 100644
--- a/gdb/python/python-cmd.c
+++ b/gdb/python/python-cmd.c
@@ -339,7 +339,8 @@ gdbpy_parse_command_name (char *text, struct cmd_list_element ***base_list,
/* Object initializer; sets up gdb-side structures for command.
- Use: __init__(NAME, CMDCLASS, [COMPLETERCLASS, [PREFIX]]).
+ Use: __init__(NAME, CMDCLASS, [completerclass=COMPLETERCLASS, prefix=PREFIX,
+ pre_hook_of=PREHOOK_OF, post_hook_of=POSTHOOK_OF]).
NAME is the name of the command. It may consist of multiple words,
in which case the final word is the name of the new command, and
@@ -354,6 +355,11 @@ gdbpy_parse_command_name (char *text, struct cmd_list_element ***base_list,
If PREFIX is True, then this command is a prefix command.
+ PREHOOK_OF is the name of a gdb command this command becomes a
+ pre-execution hook of, same as if this command was defined using
+ "define hook-<cmdname>"
+ POSTHOOK_OF is the same for post-execution hooks.
+
The documentation for the command is taken from the doc string for
the python class.
@@ -362,15 +368,18 @@ static int
cmdpy_init (PyObject *self, PyObject *args, PyObject *kwds)
{
cmdpy_object *obj = (cmdpy_object *) self;
- char *name;
+ char *name, *pre_hook_of = NULL, *post_hook_of = NULL;
int cmdtype;
int completetype = -1;
char *docstring = NULL;
volatile struct gdb_exception except;
struct cmd_list_element **cmd_list;
+ struct cmd_list_element *pre_hookc = NULL, *post_hookc = NULL;
char *cmd_name, *pfx_name;
PyObject *is_prefix = NULL;
int cmp;
+ static char *kwlist[] = {"name", "cmdclass", "completerclass", "prefix",
+ "pre_hook_of", "post_hook_of", NULL};
if (obj->command)
{
@@ -381,8 +390,9 @@ cmdpy_init (PyObject *self, PyObject *args, PyObject *kwds)
return -1;
}
- if (! PyArg_ParseTuple (args, "si|iO", &name, &cmdtype,
- &completetype, &is_prefix))
+ if (! PyArg_ParseTupleAndKeywords (args, kwds, "si|iOss", kwlist, &name, &cmdtype,
+ &completetype, &is_prefix, &pre_hook_of,
+ &post_hook_of))
return -1;
if (cmdtype != no_class && cmdtype != class_run
@@ -402,6 +412,30 @@ cmdpy_init (PyObject *self, PyObject *args, PyObject *kwds)
return -1;
}
+ if (pre_hook_of)
+ {
+ char *text = pre_hook_of;
+
+ pre_hookc = lookup_cmd_1 (&text, cmdlist, NULL, 1);
+ if (! pre_hookc)
+ {
+ PyErr_Format (PyExc_RuntimeError, _("command name given by pre_hook argument not found"));
+ return -1;
+ }
+ }
+
+ if (post_hook_of)
+ {
+ char *text = post_hook_of;
+
+ post_hookc = lookup_cmd_1 (&text, cmdlist, NULL, 1);
+ if (! post_hookc)
+ {
+ PyErr_Format (PyExc_RuntimeError, _("command name given by post_hook argument not found"));
+ return -1;
+ }
+ }
+
cmd_name = gdbpy_parse_command_name (name, &cmd_list, &cmdlist);
if (! cmd_name)
return -1;
@@ -470,6 +504,18 @@ cmdpy_init (PyObject *self, PyObject *args, PyObject *kwds)
cmd->func = cmdpy_function;
cmd->destroyer = cmdpy_destroyer;
+ if (pre_hookc)
+ {
+ pre_hookc->hook_pre = cmd;
+ cmd->hookee_pre = pre_hookc;
+ }
+
+ if (post_hookc)
+ {
+ post_hookc->hook_post = cmd;
+ cmd->hookee_post = post_hookc;
+ }
+
obj->command = cmd;
set_cmd_context (cmd, self);
set_cmd_completer (cmd, ((completetype == -1) ? cmdpy_completer
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 14cb7b8..6d0bb40 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -2196,7 +2196,7 @@ add_symbol_file_command (char *args, int from_tty)
statements because hex_string returns a local static
string. */
- printf_unfiltered (_("add symbol table from file \"%s\" at\n"), filename);
+ /* printf_unfiltered (_("add symbol table from file \"%s\" at\n"), filename); */
section_addrs = alloc_section_addr_info (section_index);
make_cleanup (xfree, section_addrs);
for (i = 0; i < section_index; i++)
@@ -2211,7 +2211,7 @@ add_symbol_file_command (char *args, int from_tty)
entered on the command line. */
section_addrs->other[sec_num].name = sec;
section_addrs->other[sec_num].addr = addr;
- printf_unfiltered ("\t%s_addr = %s\n", sec, paddress (addr));
+ /* printf_unfiltered ("\t%s_addr = %s\n", sec, paddress (addr)); */
sec_num++;
/* The object's sections are initialized when a
-248
View File
@@ -1,248 +0,0 @@
#
# Author: Zoltan Varga ([email protected])
# License: MIT/X11
#
#
# This is a mono support mode for a python-enabled gdb:
# http://sourceware.org/gdb/wiki/PythonGdb
# Usage:
# - copy/symlink this file, plus mono-gdbinit to the directory where the mono
# executable lives.
# - run mono under gdb, or attach to a mono process using gdb
# - Type 'xdb' in gdb to load/reload the debugging info emitted by the runtime.
# - The debug info is emitted to a file called xdb.s in the current working directory.
# When attaching to a mono process, make sure you are in the same directory.
#
from __future__ import print_function
import os
class StringPrinter:
"Print a C# string"
def __init__(self, val):
self.val = val
def to_string(self):
if int(self.val.cast (gdb.lookup_type ("guint64"))) == 0:
return "null"
obj = self.val.cast (gdb.lookup_type ("MonoString").pointer ()).dereference ()
len = obj ['length']
chars = obj ['chars']
i = 0
res = ['"']
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)
else:
c = chr (val)
res.append (c)
i = i + 1
res.append ('"')
return ''.join (res)
def stringify_class_name(ns, name):
if ns == "System":
if name == "Byte":
return "byte"
if name == "String":
return "string"
if ns == "":
return name
else:
return "{}.{}".format (ns, name)
class ArrayPrinter:
"Print a C# array"
def __init__(self, val, class_ns, class_name):
self.val = val
self.class_ns = class_ns
self.class_name = class_name
def to_string(self):
obj = self.val.cast (gdb.lookup_type ("MonoArray").pointer ()).dereference ()
length = obj ['max_length']
return "{} [{}]".format (stringify_class_name (self.class_ns, self.class_name [0:len (self.class_name) - 2]), int (length))
class ObjectPrinter:
"Print a C# object"
def __init__(self, val):
if str(val.type)[-1] == "&":
self.val = val.address.cast (gdb.lookup_type ("MonoObject").pointer ())
else:
self.val = val.cast (gdb.lookup_type ("MonoObject").pointer ())
class _iterator:
def __init__(self,obj):
self.obj = obj
self.iter = self.obj.type.fields ().__iter__ ()
pass
def __iter__(self):
return self
def next(self):
field = self.iter.next ()
try:
if str(self.obj [field.name].type) == "object":
# Avoid recursion
return (field.name, self.obj [field.name].cast (gdb.lookup_type ("void").pointer ()))
else:
return (field.name, self.obj [field.name])
except:
# Superclass
return (field.name, self.obj.cast (gdb.lookup_type ("{}".format (field.name))))
def children(self):
# FIXME: It would be easier if gdb.Value would support iteration itself
# It would also be better if we could return None
if int(self.val.cast (gdb.lookup_type ("guint64"))) == 0:
return {}.__iter__ ()
try:
obj = self.val.dereference ()
class_ns = obj ['vtable'].dereference ()['klass'].dereference ()['name_space'].string ()
class_name = obj ['vtable'].dereference ()['klass'].dereference ()['name'].string ()
if class_name [-2:len(class_name)] == "[]":
return {}.__iter__ ()
gdb_type = gdb.lookup_type ("struct {}_{}".format (class_ns.replace (".", "_"), class_name))
return self._iterator(obj.cast (gdb_type))
except:
print (sys.exc_info ()[0])
print (sys.exc_info ()[1])
return {}.__iter__ ()
def to_string(self):
if int(self.val.cast (gdb.lookup_type ("guint64"))) == 0:
return "null"
try:
obj = self.val.dereference ()
class_ns = obj ['vtable'].dereference ()['klass'].dereference ()['name_space'].string ()
class_name = obj ['vtable'].dereference ()['klass'].dereference ()['name'].string ()
if class_ns == "System" and class_name == "String":
return StringPrinter (self.val).to_string ()
if class_name [-2:len(class_name)] == "[]":
return ArrayPrinter (self.val,class_ns,class_name).to_string ()
if class_ns != "":
try:
gdb_type = gdb.lookup_type ("struct {}.{}".format (class_ns, class_name))
except:
# Maybe there is no debug info for that type
return "{}.{}".format (class_ns, class_name)
#return obj.cast (gdb_type)
return "{}.{}".format (class_ns, class_name)
return class_name
except:
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"))
class MonoMethodPrinter:
"Print a MonoMethod structure"
def __init__(self, val):
self.val = val
def to_string(self):
if int(self.val.cast (gdb.lookup_type ("guint64"))) == 0:
return "0x0"
val = self.val.dereference ()
klass = val ["klass"].dereference ()
class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
return "\"{}:{} ()\"".format (class_name, val ["name"].string ())
# This returns more info but requires calling into the inferior
#return "\"{}\"".format (gdb.parse_and_eval ("mono_method_full_name ({}, 1)".format (str (int (self.val.cast (gdb.lookup_type ("guint64")))))).string ())
class MonoClassPrinter:
"Print a MonoClass structure"
def __init__(self, val):
self.val = val
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 ())
return "\"{}\"".format (class_name)
# This returns more info but requires calling into the inferior
#return "\"{}\"".format (gdb.parse_and_eval ("mono_type_full_name (&((MonoClass*){})->byval_arg)".format (str (int ((self.val).cast (gdb.lookup_type ("guint64")))))))
def lookup_pretty_printer(val):
t = str (val.type)
if t == "object":
return ObjectPrinter (val)
if t[0:5] == "class" and t[-1] == "&":
return ObjectPrinter (val)
if t == "string":
return StringPrinter (val)
if t == "MonoMethod *":
return MonoMethodPrinter (val)
if t == "MonoClass *":
return MonoClassPrinter (val)
return None
def register_csharp_printers(obj):
"Register C# pretty-printers with objfile Obj."
if obj == None:
obj = gdb
obj.pretty_printers.append (lookup_pretty_printer)
register_csharp_printers (gdb.current_objfile())
class MonoSupport(object):
def __init__(self):
self.s_size = 0
def run_hook(self):
if os.access ("xdb.s", os.F_OK):
os.remove ("xdb.s")
gdb.execute ("set environment MONO_XDEBUG gdb")
def stop_hook(self):
# Called when the program is stopped
# Need to recompile+reload the xdb.s file if needed
# FIXME: Need to detect half-written files created when the child is
# interrupted while executing the xdb.s writing code
# FIXME: Handle appdomain unload
if os.access ("xdb.s", os.F_OK):
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 {} xdb.o".format (sofile))
# FIXME: This prints messages which couldn't be turned off
gdb.execute ("add-symbol-file {} 0".format (sofile))
self.s_size = new_size
class RunHook (gdb.Command):
def __init__ (self):
super (RunHook, self).__init__ ("hook-run", gdb.COMMAND_NONE,
gdb.COMPLETE_COMMAND, pre_hook_of="run")
def invoke(self, arg, from_tty):
mono_support.run_hook ()
print ("Mono support loaded.")
mono_support = MonoSupport ()
# This depends on the changes in gdb-python.diff to work
#RunHook ()
# Register our hooks
# This currently cannot be done from python code
exec_file = gdb.current_objfile ().filename
# FIXME: Is there a way to detect symbolic links ?
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 {}/{}-gdbinit".format (exec_dir, os.path.basename (exec_file)))
-20
View File
@@ -1,20 +0,0 @@
# Loaded by mono-gdb.py
# FIXME: According to gdb docs, this is called _before_ anything is printed
# Got broken by this patch:
# http://sourceware.org/ml/gdb-patches/2008-09/msg00193.html
# FIXME: This seems to cause crashes inside gdb
#define hook-stop
# python mono_support.stop_hook ()
#end
define hook-backtrace
python mono_support.stop_hook ()
end
define hook-run
python mono_support.run_hook ()
end
define xdb
python mono_support.stop_hook ()
end
-19
View File
@@ -1,19 +0,0 @@
# Tester script for the xdb functionality
# Run using gdb -P test-xdb.py <NORMAL GDB COMMAND LINE>
import sys
gdb.execute ("file %s".format (sys.argv [0]))
gdb.execute ("r --break *:* %s".format (" ".join (sys.argv [1:len (sys.argv)])))
while True:
try:
if gdb.threads () == None:
break
gdb.execute("xdb")
gdb.execute("bt")
gdb.execute("info args")
gdb.execute("info locals")
gdb.execute("c")
except:
gdb.execute ("quit")
-163
View File
@@ -1,163 +0,0 @@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 640998b..fb73e9d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2009-02-03 Zoltan Varga <[email protected]>
+
+ * cil-script.c python/python-cmd.c: Allow registration of pre/post hooks from
+ python.
+
+ * symfile.c (add_symbol_file_command): Comment out verbose messages.
+
2009-02-03 Thiago Jung Bauermann <[email protected]>
* gdb/c-lang.c (c_get_string): Remove superfluous parenthesis from
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c
index 835d29c..3941aa5 100644
--- a/gdb/cli/cli-script.c
+++ b/gdb/cli/cli-script.c
@@ -299,6 +299,13 @@ execute_user_command (struct cmd_list_element *c, char *args)
static int user_call_depth = 0;
extern int max_user_call_depth;
+ /* Might be a user defined command implemented in Python */
+ if (!c->user_commands && c->func)
+ {
+ (*c->func) (c, args, FALSE);
+ return;
+ }
+
old_chain = setup_user_args (args);
cmdlines = c->user_commands;
diff --git a/gdb/python/python-cmd.c b/gdb/python/python-cmd.c
index 61d5e5d..a3fbc08 100644
--- a/gdb/python/python-cmd.c
+++ b/gdb/python/python-cmd.c
@@ -339,7 +339,8 @@ gdbpy_parse_command_name (char *text, struct cmd_list_element ***base_list,
/* Object initializer; sets up gdb-side structures for command.
- Use: __init__(NAME, CMDCLASS, [COMPLETERCLASS, [PREFIX]]).
+ Use: __init__(NAME, CMDCLASS, [completerclass=COMPLETERCLASS, prefix=PREFIX,
+ pre_hook_of=PREHOOK_OF, post_hook_of=POSTHOOK_OF]).
NAME is the name of the command. It may consist of multiple words,
in which case the final word is the name of the new command, and
@@ -354,6 +355,11 @@ gdbpy_parse_command_name (char *text, struct cmd_list_element ***base_list,
If PREFIX is True, then this command is a prefix command.
+ PREHOOK_OF is the name of a gdb command this command becomes a
+ pre-execution hook of, same as if this command was defined using
+ "define hook-<cmdname>"
+ POSTHOOK_OF is the same for post-execution hooks.
+
The documentation for the command is taken from the doc string for
the python class.
@@ -362,15 +368,18 @@ static int
cmdpy_init (PyObject *self, PyObject *args, PyObject *kwds)
{
cmdpy_object *obj = (cmdpy_object *) self;
- char *name;
+ char *name, *pre_hook_of = NULL, *post_hook_of = NULL;
int cmdtype;
int completetype = -1;
char *docstring = NULL;
volatile struct gdb_exception except;
struct cmd_list_element **cmd_list;
+ struct cmd_list_element *pre_hookc = NULL, *post_hookc = NULL;
char *cmd_name, *pfx_name;
PyObject *is_prefix = NULL;
int cmp;
+ static char *kwlist[] = {"name", "cmdclass", "completerclass", "prefix",
+ "pre_hook_of", "post_hook_of", NULL};
if (obj->command)
{
@@ -381,8 +390,9 @@ cmdpy_init (PyObject *self, PyObject *args, PyObject *kwds)
return -1;
}
- if (! PyArg_ParseTuple (args, "si|iO", &name, &cmdtype,
- &completetype, &is_prefix))
+ if (! PyArg_ParseTupleAndKeywords (args, kwds, "si|iOss", kwlist, &name, &cmdtype,
+ &completetype, &is_prefix, &pre_hook_of,
+ &post_hook_of))
return -1;
if (cmdtype != no_class && cmdtype != class_run
@@ -402,6 +412,30 @@ cmdpy_init (PyObject *self, PyObject *args, PyObject *kwds)
return -1;
}
+ if (pre_hook_of)
+ {
+ char *text = pre_hook_of;
+
+ pre_hookc = lookup_cmd_1 (&text, cmdlist, NULL, 1);
+ if (! pre_hookc)
+ {
+ PyErr_Format (PyExc_RuntimeError, _("command name given by pre_hook argument not found"));
+ return -1;
+ }
+ }
+
+ if (post_hook_of)
+ {
+ char *text = post_hook_of;
+
+ post_hookc = lookup_cmd_1 (&text, cmdlist, NULL, 1);
+ if (! post_hookc)
+ {
+ PyErr_Format (PyExc_RuntimeError, _("command name given by post_hook argument not found"));
+ return -1;
+ }
+ }
+
cmd_name = gdbpy_parse_command_name (name, &cmd_list, &cmdlist);
if (! cmd_name)
return -1;
@@ -470,6 +504,18 @@ cmdpy_init (PyObject *self, PyObject *args, PyObject *kwds)
cmd->func = cmdpy_function;
cmd->destroyer = cmdpy_destroyer;
+ if (pre_hookc)
+ {
+ pre_hookc->hook_pre = cmd;
+ cmd->hookee_pre = pre_hookc;
+ }
+
+ if (post_hookc)
+ {
+ post_hookc->hook_post = cmd;
+ cmd->hookee_post = post_hookc;
+ }
+
obj->command = cmd;
set_cmd_context (cmd, self);
set_cmd_completer (cmd, ((completetype == -1) ? cmdpy_completer
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 14cb7b8..6d0bb40 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -2196,7 +2196,7 @@ add_symbol_file_command (char *args, int from_tty)
statements because hex_string returns a local static
string. */
- printf_unfiltered (_("add symbol table from file \"%s\" at\n"), filename);
+ /* printf_unfiltered (_("add symbol table from file \"%s\" at\n"), filename); */
section_addrs = alloc_section_addr_info (section_index);
make_cleanup (xfree, section_addrs);
for (i = 0; i < section_index; i++)
@@ -2211,7 +2211,7 @@ add_symbol_file_command (char *args, int from_tty)
entered on the command line. */
section_addrs->other[sec_num].name = sec;
section_addrs->other[sec_num].addr = addr;
- printf_unfiltered ("\t%s_addr = %s\n", sec, paddress (addr));
+ /* printf_unfiltered ("\t%s_addr = %s\n", sec, paddress (addr)); */
sec_num++;
/* The object's sections are initialized when a
-352
View File
@@ -1,352 +0,0 @@
#
# Author: Zoltan Varga ([email protected])
# License: MIT/X11
#
#
# This is a mono support mode for gdb 7.0 and later
# Usage:
# - copy/symlink this file to the directory where the mono executable lives.
# - 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:
"Print a C# string"
def __init__(self, val):
self.val = val
def to_string(self):
if int(self.val.cast (gdb.lookup_type ("guint64"))) == 0:
return "null"
obj = self.val.cast (gdb.lookup_type ("MonoString").pointer ()).dereference ()
len = obj ['length']
chars = obj ['chars']
i = 0
res = ['"']
while i < len:
val = (chars.cast(gdb.lookup_type ("gint64")) + (i * 2)).cast(gdb.lookup_type ("gunichar2").pointer ()).dereference ()
if val >= 256:
c = unichr (val)
else:
c = chr (val)
res.append (c)
i = i + 1
res.append ('"')
return ''.join (res)
def stringify_class_name(ns, name):
if ns == "System":
if name == "Byte":
return "byte"
if name == "String":
return "string"
if ns == "":
return name
else:
return "{}.{}".format (ns, name)
class ArrayPrinter:
"Print a C# array"
def __init__(self, val, class_ns, class_name):
self.val = val
self.class_ns = class_ns
self.class_name = class_name
def to_string(self):
obj = self.val.cast (gdb.lookup_type ("MonoArray").pointer ()).dereference ()
length = obj ['max_length']
return "{} [{}]".format (stringify_class_name (self.class_ns, self.class_name [0:len(self.class_name) - 2]), int(length))
class ObjectPrinter:
"Print a C# object"
def __init__(self, val):
if str(val.type)[-1] == "&":
self.val = val.address.cast (gdb.lookup_type ("MonoObject").pointer ())
else:
self.val = val.cast (gdb.lookup_type ("MonoObject").pointer ())
class _iterator:
def __init__(self,obj):
self.obj = obj
self.iter = self.obj.type.fields ().__iter__ ()
pass
def __iter__(self):
return self
def next(self):
field = self.iter.next ()
try:
if str(self.obj [field.name].type) == "object":
# Avoid recursion
return (field.name, self.obj [field.name].cast (gdb.lookup_type ("void").pointer ()))
else:
return (field.name, self.obj [field.name])
except:
# Superclass
return (field.name, self.obj.cast (gdb.lookup_type ("{}".format (field.name))))
def children(self):
# FIXME: It would be easier if gdb.Value would support iteration itself
# It would also be better if we could return None
if int(self.val.cast (gdb.lookup_type ("guint64"))) == 0:
return {}.__iter__ ()
try:
obj = self.val.dereference ()
class_ns = obj ['vtable'].dereference ()['klass'].dereference ()['name_space'].string ()
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 {}_{}".format (class_ns.replace (".", "_"), class_name))
return self._iterator(obj.cast (gdb_type))
except:
return {}.__iter__ ()
except:
print (sys.exc_info ()[0])
print (sys.exc_info ()[1])
return {}.__iter__ ()
def to_string(self):
if int(self.val.cast (gdb.lookup_type ("guint64"))) == 0:
return "null"
try:
obj = self.val.dereference ()
class_ns = obj ['vtable'].dereference ()['klass'].dereference ()['name_space'].string ()
class_name = obj ['vtable'].dereference ()['klass'].dereference ()['name'].string ()
if class_ns == "System" and class_name == "String":
return StringPrinter (self.val).to_string ()
if class_name [-2:len(class_name)] == "[]":
return ArrayPrinter (self.val,class_ns,class_name).to_string ()
if class_ns != "":
try:
gdb_type = gdb.lookup_type ("struct {}.{}".format (class_ns, class_name))
except:
# Maybe there is no debug info for that type
return "{}.{}".format (class_ns, class_name)
#return obj.cast (gdb_type)
return "{}.{}".format (class_ns, class_name)
return class_name
except:
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"))
class MonoMethodPrinter:
"Print a MonoMethod structure"
def __init__(self, val):
self.val = val
def to_string(self):
if int(self.val.cast (gdb.lookup_type ("guint64"))) == 0:
return "0x0"
val = self.val.dereference ()
klass = val ["klass"].dereference ()
class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
return "\"{}:{} ()\"".format (class_name, val ["name"].string ())
# This returns more info but requires calling into the inferior
#return "\"{}\"".format (gdb.parse_and_eval ("mono_method_full_name ({}, 1)".format (str (int (self.val.cast (gdb.lookup_type ("guint64")))))).string ())
class MonoClassPrinter:
"Print a MonoClass structure"
def __init__(self, val):
self.val = val
def to_string_inner(self, add_quotes):
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 add_quotes:
return "\"{}\"".format (class_name)
else:
return class_name
# This returns more info but requires calling into the inferior
#return "\"{}\"".format (gdb.parse_and_eval ("mono_type_full_name (&((MonoClass*){})->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 "{}, [{}], [{}]>".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.referenced_value ()
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 "{{{}, {}}}".format (kind, info)
else:
return "{{{}}}".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[{}, [{}]]".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({})".format (klass_printer.to_string ())
def lookup_pretty_printer(val):
t = str (val.type)
if t == "object":
return ObjectPrinter (val)
if t[0:5] == "class" and t[-1] == "&":
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):
"Register C# pretty-printers with objfile Obj."
if obj == None:
obj = gdb
obj.pretty_printers.append (lookup_pretty_printer)
# This command will flush the debugging info collected by the runtime
class XdbCommand (gdb.Command):
def __init__ (self):
super (XdbCommand, self).__init__ ("xdb", gdb.COMMAND_NONE,
gdb.COMPLETE_COMMAND)
def invoke(self, arg, from_tty):
gdb.execute ("call mono_xdebug_flush ()")
register_csharp_printers (gdb.current_objfile())
XdbCommand ()
gdb.execute ("set environment MONO_XDEBUG gdb")
print ("Mono support loaded.")
-19
View File
@@ -1,19 +0,0 @@
# Tester script for the xdb functionality
# Run using gdb -P test-xdb.py <NORMAL GDB COMMAND LINE>
import sys
gdb.execute ("file %s".format (sys.argv [0]))
gdb.execute ("r --break *:* %s".format (" ".join (sys.argv [1:len (sys.argv)])))
while True:
try:
if gdb.threads () == None:
break
gdb.execute("xdb")
gdb.execute("bt")
gdb.execute("info args")
gdb.execute("info locals")
gdb.execute("c")
except:
gdb.execute ("quit")
-174
View File
@@ -1,174 +0,0 @@
#
# Author: Zoltan Varga ([email protected])
# License: MIT/X11
#
#
# This is a mono support mode for lldb
#
# Comments about the lldb python api:
# - there are no accessors, i.e. valobj["name"]
# - http://lldb.llvm.org/python_reference/index.html seems to be outdated
# - there is no autoload support, i.e. can't load this file automatically
# when 'mono' is the debugger target.
import lldb
# FIXME: Generate enums from runtime enums
MONO_TYPE_END = 0x00
MONO_TYPE_VOID = 0x01
MONO_TYPE_BOOLEAN = 0x02
MONO_TYPE_CHAR = 0x03
MONO_TYPE_I1 = 0x04
MONO_TYPE_U1 = 0x05
MONO_TYPE_I2 = 0x06
MONO_TYPE_U2 = 0x07
MONO_TYPE_I4 = 0x08
MONO_TYPE_U4 = 0x09
MONO_TYPE_I8 = 0x0a
MONO_TYPE_U8 = 0x0b
MONO_TYPE_R4 = 0x0c
MONO_TYPE_R8 = 0x0d
MONO_TYPE_STRING = 0x0e
MONO_TYPE_PTR = 0x0f
MONO_TYPE_BYREF = 0x10
MONO_TYPE_VALUETYPE = 0x11
MONO_TYPE_CLASS = 0x12
MONO_TYPE_VAR = 0x13
MONO_TYPE_ARRAY = 0x14
MONO_TYPE_GENERICINST= 0x15
MONO_TYPE_TYPEDBYREF = 0x16
MONO_TYPE_I = 0x18
MONO_TYPE_U = 0x19
MONO_TYPE_FNPTR = 0x1b
MONO_TYPE_OBJECT = 0x1c
MONO_TYPE_SZARRAY = 0x1d
MONO_TYPE_MVAR = 0x1e
primitive_type_names = {
MONO_TYPE_BOOLEAN : "bool",
MONO_TYPE_CHAR : "char",
MONO_TYPE_I1 : "sbyte",
MONO_TYPE_U1 : "byte",
MONO_TYPE_I2 : "short",
MONO_TYPE_U2 : "ushort",
MONO_TYPE_I4 : "int",
MONO_TYPE_U4 : "uint",
MONO_TYPE_I8 : "long",
MONO_TYPE_U8 : "ulong",
MONO_TYPE_R4 : "float",
MONO_TYPE_R8 : "double",
MONO_TYPE_STRING : "string"
}
#
# Helper functions for working with the lldb python api
#
def member(val, member_name):
return val.GetChildMemberWithName (member_name)
def string_member(val, member_name):
return val.GetChildMemberWithName (member_name).GetSummary ()[1:-1]
def isnull(val):
return val.deref.addr.GetOffset () == 0
def stringify_class_name(ns, name):
if ns == "System":
if name == "Byte":
return "byte"
if name == "String":
return "string"
if ns == "":
return name
else:
return "{0}.{1}".format (ns, name)
#
# Pretty printers for mono runtime types
#
def stringify_type (type):
"Print a MonoType structure"
ttype = member(type, "type").GetValueAsUnsigned()
if primitive_type_names.has_key (ttype):
return primitive_type_names [ttype]
else:
return "<MonoTypeEnum 0x{0:x}>".format (ttype)
def stringify_ginst (ginst):
"Print a MonoGenericInst structure"
len = int(member(ginst, "type_argc").GetValue())
argv = member(ginst, "type_argv")
res=""
for i in range(len):
t = argv.GetChildAtIndex(i, False, True)
if i > 0:
res += ", "
res += stringify_type(t)
return res
def print_type(valobj, internal_dict):
type = valobj
if isnull (type):
return ""
return stringify_type (type)
def print_class (valobj, internal_dict):
klass = valobj
if isnull (klass):
return ""
aname = member (member (member (klass, "image"), "assembly"), "aname")
basename = "[{0}]{1}".format (string_member (aname, "name"), (stringify_class_name (string_member (klass, "name_space"), string_member (klass, "name"))))
gclass = member (klass, "generic_class")
if not isnull (gclass):
ginst = member (member (gclass, "context"), "class_inst")
return "{0}<{1}>".format (basename, stringify_ginst (ginst))
return basename
def print_method (valobj, internal_dict):
method = valobj
if isnull (method):
return ""
klass = member (method, "klass")
return "{0}:{1}()".format (print_class (klass, None), string_member (valobj, "name"))
def print_domain(valobj, internal_dict):
domain = valobj
if isnull (domain):
return ""
target = domain.target
root = target.FindFirstGlobalVariable("mono_root_domain")
name = string_member (domain, "friendly_name")
if root.IsValid () and root.deref.addr.GetOffset () == root.deref.addr.GetOffset ():
return "[root]"
else:
return "[{0}]".format (name)
def print_object(valobj, internal_dict):
obj = valobj
if isnull (obj):
return ""
domain = member (member (obj, "vtable"), "domain")
klass = member (member (obj, "vtable"), "klass")
return print_domain (domain, None) + print_class (klass, None)
# Register pretty printers
# FIXME: This cannot pick up the methods define in this module, leading to warnings
lldb.debugger.HandleCommand ("type summary add -w mono -F mono.print_method MonoMethod")
lldb.debugger.HandleCommand ("type summary add -w mono -F mono.print_class MonoClass")
lldb.debugger.HandleCommand ("type summary add -w mono -F mono.print_type MonoType")
lldb.debugger.HandleCommand ("type summary add -w mono -F mono.print_domain MonoDomain")
lldb.debugger.HandleCommand ("type summary add -w mono -F mono.print_object MonoObject")
lldb.debugger.HandleCommand ("type category enable mono")
# Helper commands for runtime debugging
# These resume the target
# Print the method at the current ip
lldb.debugger.HandleCommand ("command alias pip p mono_print_method_from_ip((void*)$pc)")
# Print the method at the provided ip
lldb.debugger.HandleCommand ("command regex pmip 's/^$/p mono_print_method_from_ip((void*)$pc)/' 's/(.+)/p mono_print_method_from_ip((void*)(%1))/'")
print "Mono support mode loaded."
-79
View File
@@ -1,79 +0,0 @@
import lldb
def print_frames(thread, num_frames, current_thread):
# TODO: Make output header similar to bt.
print '%c thread #%i' % ('*' if current_thread else ' ', thread.idx)
if current_thread:
selected_frame = thread.GetSelectedFrame()
for frame in thread.frames[:+num_frames]:
pc = str(frame.addr)
var = frame
function_name = frame.GetFunctionName()
if function_name == "interp_exec_method_full":
try:
s = 'frame->imethod->method'
klassname = frame.EvaluateExpression('(char*) ' + s + '->klass->name').summary[1:-1]
methodname = frame.EvaluateExpression('(char*) ' + s + '->name').summary[1:-1]
ipoffset = frame.EvaluateExpression('ip').GetValueAsUnsigned()
insn = ''
if ipoffset != 0:
ipoffset -= frame.EvaluateExpression('rtm->code').GetValueAsUnsigned()
insn = "\"" + frame.EvaluateExpression('mono_interp_opname [*ip]').summary[1:-1] + "\""
var = '%s::%s @ %d %s || %s' % (klassname, methodname, ipoffset, insn, frame)
except Exception as e:
print "DBG: execfail:" + str(e)
elif function_name == "mono_interp_transform_method":
try:
s = 'runtime_method->method'
klassname = frame.EvaluateExpression('(char*) ' + s + '->klass->name').summary[1:-1]
methodname = frame.EvaluateExpression('(char*) ' + s + '->name').summary[1:-1]
var = 'transforming %s::%s || %s' % (klassname, methodname, frame)
except Exception as e:
print "DBG: transformfail:" + str(e)
elif pc[0] == '0':
try:
framestr = frame.EvaluateExpression('(char*)mono_pmip((void*)%s)' % pc).summary[1:-1]
var = 'frame #%i: %s%s' % (frame.idx, pc, framestr)
except:
pass
print ' %c %s' % ('*' if current_thread and frame.idx == selected_frame.idx else ' ', var)
def monobt(debugger, command, result, dict):
opts = {'all_bt': False, 'num_frames': None}
if command == 'all':
opts['all_bt'] = True
elif command.isdigit():
opts['num_frames'] = int(command)
elif command != '':
print 'error: monobt [<number>|all]'
return
target = debugger.GetSelectedTarget()
process = target.process
if not process.IsValid():
print 'error: invalid process'
return
if opts['all_bt']:
for thread in process.threads:
print_frames(thread, len(thread), process.selected_thread == thread)
print ''
else:
thread = process.selected_thread
num_frames = len(thread) if opts['num_frames'] is None else opts['num_frames']
print_frames(thread, num_frames, True)
return None
def __lldb_init_module (debugger, dict):
# This initializer is being run from LLDB in the embedded command interpreter
# Add any commands contained in this module to LLDB
debugger.HandleCommand('command script add -f monobt.monobt monobt')
debugger.HandleCommand('command alias mbt monobt')
print '"monobt" command installed'
-585
View File
@@ -1,585 +0,0 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Globalization;
using System.Runtime.InteropServices;
public enum Record {
MustNotHoldAny,
MustNotHoldOne,
MustHoldOne,
LockAcquired,
LockReleased
}
public struct LockRecord {
public SimLock lk;
public string frame;
public LockRecord (SimLock lk, string frame) {
this.lk = lk;
this.frame = frame;
}
}
public class SimThread
{
int thread;
List <LockRecord> locks = new List <LockRecord> ();
public SimThread (int t)
{
this.thread = t;
}
public bool HoldsLock (SimLock lk) {
foreach (var l in locks) {
if (l.lk == lk)
return true;
}
return false;
}
public int HoldCount (SimLock lk) {
int res = 0;
foreach (var l in locks)
if (l.lk == lk)
++res;
return res;
}
public void Lock (SimLock lk, string frame) {
foreach (LockRecord lr in locks) {
if (lk.WarnAbout (this, lr.lk))
Console.WriteLine ("WARNING: tried to acquire lock {0} at {1} while holding {2} at {3}: {4}", lk, frame, lr.lk, lr.frame, lk.GetWarningMessage (this, lr.lk));
else if (!lk.IsValid (this, lr.lk))
Console.WriteLine ("ERROR: tried to acquire lock {0} at {1} while holding {2} at {3}: {4}", lk, frame, lr.lk, lr.frame, lk.GetErrorMessage (this, lr.lk));
}
locks.Add (new LockRecord (lk, frame));
}
public void Release (SimLock lk, string frame) {
if (locks.Count == 0) {
Console.WriteLine ("ERROR: released lock {0} at {1} while holding no locks!", lk, frame);
return;
}
LockRecord top = locks [locks.Count - 1];
if (top.lk != lk && !(lk.IsGlobalLock && HoldCount (lk) > 1)) {
Console.WriteLine ("WARNING: released lock {0} at {1} out of order with {2} at {3}!", lk, frame, top.lk, top.frame);
}
for (int i = locks.Count -1; i >= 0; --i) {
if (locks [i].lk == lk) {
locks.RemoveAt (i);
break;
}
}
}
}
/*
LOCK RULES
Simple locks:
Can be acquired at any point regardless of which locks are taken or not.
No other locks can be acquired or released while holding a simple lock.
Reentrancy is not recommended. (warning)
Simple locks are leaf locks on the lock lattice.
Complex locks:
Must respect locking order, which form a lattice.
IOW, to take a given lock, only it's parents might have been taken.
Reentrancy is ok.
Locks around resources count as separate instances of the hierarchy.
Global locks:
Must respect locking order.
Must be the at the botton of the locking lattice.
Can be taken out-of-order by other locks given that it was previously acquired.
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
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 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 splitting mono_image_init_name_cache into a locked and an unlocked variants and calling them appropriately.
*/
public enum Lock {
Invalid,
LoaderLock,
ImageDataLock,
DomainLock,
DomainAssembliesLock,
DomainJitCodeHashLock,
IcallLock,
AssemblyBindingLock,
MarshalLock,
ClassesLock,
LoaderGlobalDataLock,
ThreadsLock,
}
public class SimLock
{
Lock kind;
int id;
public SimLock (Lock kind, int id) {
this.kind = kind;
this.id = id;
}
static int GetLockOrder (Lock kind) {
switch (kind) {
case Lock.LoaderLock:
return 0;
case Lock.DomainLock:
return 1;
case Lock.DomainJitCodeHashLock:
case Lock.MarshalLock:
return 2;
default:
return 3;
}
}
bool IsParent (SimLock other) {
return GetLockOrder (kind) > GetLockOrder (other.kind);
}
public bool IsSimpleLock {
get { return GetLockOrder (kind) == 3; }
}
public bool IsGlobalLock {
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)
{
isWarning = false;
msg = null;
if (locked != this) {
if (!IsParent (locked)) {
if (IsGlobalLock) { /*acquiring a global lock*/
if (!thread.HoldsLock (this)) { /*does the thread alread hold it?*/
msg = "Acquired a global lock after a regular lock without having it before.";
return false;
}
} else {
msg = "Hierarchy violation.";
return false;
}
}
} else if (IsSimpleLock) {
msg = "Avoid taking simple locks recursively";
isWarning = true;
return false;
}
return true;
}
public bool IsValid (SimThread thread, SimLock locked) {
bool warn;
string msg;
return Compare (thread, locked, out warn, out msg);
}
public bool WarnAbout (SimThread thread, SimLock locked) {
bool warn;
string msg;
Compare (thread, locked, out warn, out msg);
return warn;
}
public string GetWarningMessage (SimThread thread, SimLock locked) {
bool warn;
string msg;
Compare (thread, locked, out warn, out msg);
return warn ? msg : null;
}
public string GetErrorMessage (SimThread thread, SimLock locked) {
bool warn;
string msg;
bool res = Compare (thread, locked, out warn, out msg);
return !res && !warn ? msg : null;
}
public override string ToString () {
switch (kind) {
case Lock.LoaderLock:
case Lock.IcallLock:
case Lock.AssemblyBindingLock:
case Lock.MarshalLock:
case Lock.ClassesLock:
case Lock.LoaderGlobalDataLock:
case Lock.ThreadsLock:
return String.Format ("{0}", kind);
case Lock.ImageDataLock:
case Lock.DomainLock:
case Lock.DomainAssembliesLock:
case Lock.DomainJitCodeHashLock:
return String.Format ("{0}[{1}]", kind, id);
default:
return String.Format ("Unknown({0})[{1}]", kind, id);
}
}
}
public class LockSimulator
{
static Dictionary <int, SimThread> threads = new Dictionary <int, SimThread> ();
static Dictionary <int, SimLock> locks = new Dictionary <int, SimLock> ();
SymbolTable syms;
public LockSimulator (SymbolTable s) { this.syms = s; }
SimLock GetLock (Trace t) {
if (locks.ContainsKey (t.lockPtr))
return locks [t.lockPtr];
else {
return locks [t.lockPtr] = new SimLock (t.lockKind, t.lockPtr);
}
}
SimThread GetThread (Trace t) {
if (threads.ContainsKey (t.thread))
return threads [t.thread];
else
return threads [t.thread] = new SimThread (t.thread);
}
public void PlayBack (IEnumerable<Trace> traces) {
foreach (var t in traces) {
SimThread thread = GetThread (t);
SimLock lk = GetLock (t);
string frame = t.GetUsefullTopTrace (this.syms);
switch (t.record) {
case Record.MustNotHoldAny:
case Record.MustNotHoldOne:
case Record.MustHoldOne:
throw new Exception ("not supported");
case Record.LockAcquired:
thread.Lock (lk, frame);
break;
case Record.LockReleased:
thread.Release (lk, frame);
break;
default:
throw new Exception ("Invalid trace record: "+t.record);
}
}
}
}
public class Trace {
public int thread;
public Record record;
public Lock lockKind;
public int lockPtr;
int[] frames;
static readonly string[] BAD_FRAME_METHODS = new string[] {
"mono_loader_lock",
"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",
"mono_threads_lock",
"mono_threads_unlock",
"mono_domain_lock",
"mono_domain_unlock",
};
public Trace (string[] fields) {
thread = fields [0].ParseHex ();
record = (Record)fields [1].ParseDec ();
lockKind = (Lock)fields [2].ParseDec ();
lockPtr = fields [3].ParseHex ();
frames = new int [fields.Length - 4];
for (int i = 0; i < frames.Length; ++i)
frames [i] = fields [i + 4].ParseHex ();
}
public void Dump (SymbolTable table) {
Console.WriteLine ("{0:x} {1} {2} {3:x}", thread, record, lockKind, lockPtr);
for (int i = 0; i < frames.Length; ++i)
Console.WriteLine ("\t{0}", table.Translate (frames [i]));
}
public string GetUsefullTopTrace (SymbolTable syms) {
for (int i = 0; i < frames.Length; ++i) {
string str = syms.Translate (frames [i]);
bool ok = true;
for (int j = 0; j < BAD_FRAME_METHODS.Length; ++j) {
if (str.IndexOf (BAD_FRAME_METHODS [j]) >= 0) {
ok = false;
break;
}
}
if (ok)
return str;
}
return "[unknown]";
}
}
public class Symbol : IComparable<Symbol>
{
public int offset;
public int size;
public string name;
public Symbol (int o, int size, string n) {
this.offset = o;
this.size = size;
this.name = n;
}
public int CompareTo(Symbol other) {
return offset - other.offset;
}
public void AdjustSize (Symbol next) {
size = next.offset - this.offset;
}
}
public interface SymbolTable {
string Translate (int offset);
}
public class OsxSymbolTable : SymbolTable
{
Symbol[] table;
const int MAX_FUNC_SIZE = 0x20000;
public OsxSymbolTable (string binary) {
Load (binary);
}
void Load (string binary) {
ProcessStartInfo psi = new ProcessStartInfo ("gobjdump", "-t "+binary);
psi.UseShellExecute = false;
psi.RedirectStandardOutput = true;
var proc = Process.Start (psi);
var list = new List<Symbol> ();
string line;
while ((line = proc.StandardOutput.ReadLine ()) != null) {
string[] fields = line.Split(new char[] {' ', '\t'}, StringSplitOptions.RemoveEmptyEntries);
if (fields.Length < 7)
continue;
if (!fields [3].Equals ("FUN"))
continue;
int offset = fields [0].ParseHex ();
string name = fields [6];
if (name.StartsWith ("_"))
name = name.Substring (1);
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) {
Symbol sym = null;
int res = Array.BinarySearch (table, new Symbol (offset, 0, null));
if (res >= 0)
return table [res].name;
res = ~res;
if (res >= table.Length)
sym = table [table.Length - 1];
else if (res != 0)
sym = table [res - 1];
if (sym != null) {
int size = Math.Max (sym.size, 10);
if (offset - sym.offset < size)
return sym.name;
}
return String.Format ("[{0:x}]", offset);
}
}
public class LinuxSymbolTable : SymbolTable
{
Symbol[] table;
const int MAX_FUNC_SIZE = 0x20000;
public LinuxSymbolTable (string binary) {
Load (binary);
}
void Load (string binary) {
ProcessStartInfo psi = new ProcessStartInfo ("objdump", "-t "+binary);
psi.UseShellExecute = false;
psi.RedirectStandardOutput = true;
var proc = Process.Start (psi);
var list = new List<Symbol> ();
string line;
while ((line = proc.StandardOutput.ReadLine ()) != null) {
string[] fields = line.Split(new char[] {' ', '\t'}, StringSplitOptions.RemoveEmptyEntries);
if (fields.Length < 6)
continue;
if (fields [3] != ".text" || fields [2] != "F")
continue;
int offset = fields [0].ParseHex ();
int size = fields [4].ParseHex ();
string name = fields [fields.Length - 1];
if (offset != 0)
list.Add (new Symbol (offset, size, name));
}
table = new Symbol [list.Count];
list.CopyTo (table, 0);
Array.Sort (table);
}
public string Translate (int offset) {
Symbol sym = null;
int res = Array.BinarySearch (table, new Symbol (offset, 0, null));
if (res >= 0)
return table [res].name;
res = ~res;
if (res >= table.Length)
sym = table [table.Length - 1];
else if (res != 0)
sym = table [res - 1];
if (sym != null && offset - sym.offset < MAX_FUNC_SIZE)
return sym.name;
return String.Format ("[{0:x}]", offset);
}
}
public class TraceDecoder
{
string file;
public TraceDecoder (string file) {
this.file = file;
}
public IEnumerable<Trace> GetTraces () {
using (StreamReader reader = new StreamReader (file)) {
string line;
while ((line = reader.ReadLine ()) != null) {
string[] fields = line.Split(new char[] {','}, StringSplitOptions.RemoveEmptyEntries);
if (fields.Length >= 7) {
yield return new Trace (fields);
}
}
}
}
}
public class Driver
{
[DllImport ("libc")]
static extern int uname (IntPtr buf);
static bool IsOSX ()
{
bool isOsx = false;
IntPtr buf = Marshal.AllocHGlobal (8192);
if (uname (buf) == 0) {
string os = Marshal.PtrToStringAnsi (buf);
isOsx = os == "Darwin";
}
Marshal.FreeHGlobal (buf);
return isOsx;
}
static void Main (string[] args) {
SymbolTable syms;
if (args.Length != 2) {
Console.WriteLine ("usage: LockTracerDecoder.exe /path/to/mono /path/to/locks.pid");
return;
}
if (IsOSX ())
syms = new OsxSymbolTable (args [0]);
else
syms = new LinuxSymbolTable (args [0]);
var decoder = new TraceDecoder (args [1]);
var sim = new LockSimulator (syms);
sim.PlayBack (decoder.GetTraces ());
}
}
public static class Utils
{
public static int ParseHex (this string number) {
while (number.Length > 1 && (number [0] == '0' || number [0] == 'x' || number [0] == 'X'))
number = number.Substring (1);
return int.Parse (number, NumberStyles.HexNumber);
}
public static int ParseDec (this string number) {
while (number.Length > 1 && number [0] == '0')
number = number.Substring (1);
return int.Parse (number);
}
}
-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/4.5/nunit.core.dll -r:${libdir}/mono/4.5/nunit.core.interfaces.dll -r:${libdir}/mono/4.5/nunit.core.extensions.dll -r:${libdir}/mono/4.5/nunit.framework.dll -r:${libdir}/mono/4.5/nunit.framework.extensions.dll -r:${libdir}/mono/4.5/nunit.mocks.dll -r:${libdir}/mono/4.5/nunit.util.dll -r:${libdir}/mono/4.5/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
-36
View File
@@ -18,42 +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__concurrent__start__begin (int generation);
probe gc__concurrent__update__finish__begin (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__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);
/* 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 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);
};
#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@
-2
View File
@@ -1,2 +0,0 @@
/Makefile
/Makefile.in
+3 -6
View File
@@ -74,6 +74,9 @@
<add prefix="https" type="System.Net.HttpRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</webRequestModules>
<settings>
<ipv6 enabled="false"/>
</settings>
</system.net>
<system.web>
<httpHandlers>
@@ -211,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>
@@ -237,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>
-2
View File
@@ -1,2 +0,0 @@
/Makefile
/Makefile.in
-2
View File
@@ -1,2 +0,0 @@
/Makefile
/Makefile.in
+6
View File
@@ -0,0 +1,6 @@
2008-03-23 Dean Brettle <[email protected]>
* Compat.browser: added. Provides browser definitions with
compatible IDs.
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
+134
View File
@@ -0,0 +1,134 @@
2009-08-11 Gonzalo Paniagua Javier <[email protected]>
* DefaultWsdlHelpGenerator.aspx: the 'Message Layout' can now handle
self-referencing types. Fixes bug #529353.
2009-03-31 Marek Habersack <[email protected]>
* DefaultWsdlHelpGenerator.aspx: the link element in <head> must
be created using Response.Write, as the code expression in the
href attribute is otherwise treated verbatim. This is the same as
with .NET. Fixes bug #490497
2009-03-27 Gonzalo Paniagua Javier <[email protected]>
* DefaultWsdlHelpGenerator.aspx: disable the test form
when only Soap is supported.
Bug #342073 fixed.
2009-01-07 Kornél Pál <[email protected]>
* DefaultWsdlHelpGenerator.aspx: Move <script> at the end of <head> that
will make Visual Studio recognize the web service disco reference.
Contributed under MIT/X11 license.
2008-12-03 Marek Habersack <[email protected]>
* machine.config: rename serviceModelHostingEnvironment to
serviceHostingEnvironment.
2008-11-20 Gonzalo Paniagua Javier <[email protected]>
* machine.config: in 2.0, there's no <connectionManagement> section
here. Bug #445991 fixed.
2008-11-14 Gonzalo Paniagua Javier <[email protected]>
* DefaultWsdlHelpGenerator.aspx: use javascript instead of
HttpWebRequest to avoid a deadlock if the web service uses Session.
Bug #444343 fixed.
2008-10-09 Gonzalo Paniagua Javier <[email protected]>
* web.config: default values for httpRuntime are different in 2.0
2008-10-09 Marek Habersack <[email protected]>
* web.config: added the default monoSettings section which works around
an incompatibility between mcs and csc, mentioned in bug #433806
* machine.config: added definition of the monoSettings section to
the system.web group
2008-10-06 Marek Habersack <[email protected]>
* machine.config: added entries to ignore the mobileControls and
deviceFilters sections.
2008-09-02 Marek Habersack <[email protected]>
* web.config: removed System.Web.Extensions.dll from the assemblies
(reverting r112073) - it would break all the ASP.NET applications
which use System.Web.Extensions other than 3.5.0.0
2008-09-06 Daniel Morgan <[email protected]>
* machine.config: added Mono.Data.SybaseClient
to DbProviderFactories section.
2008-09-02 Atsushi Enomoto <[email protected]>
* web.config: added System.Web.Extensions.dll to assemblies.
2008-08-28 Zoltan Varga <[email protected]>
* machine.config: Fix syntax error.
2008-03-23 Dean Brettle <[email protected]>
* Makefile.am: added Browsers/Compat.browser
2008-02-29 Marek Habersack <[email protected]>
* machine.config: added an entry to ignore the browserCaps section.
2007-12-15 Marek Habersack <[email protected]>
* web.config: compilation/compilers are no longer necessary.
2007-12-08 Marek Habersack <[email protected]>
* machine.config: updated the LocalSqlServer connection string to
match MS.NET and added a new connection string, LocalSqliteServer,
to be used by default on Unix.
Updated the AspNetSqlMembershipProvider definition to match
MS.NET.
* settings.map: added
* Makefile.am: added settings.map
2007-10-17 Atsushi Enomoto <[email protected]>
* web.config, machine.config: moved webSerices section from former
to latter.
2007-09-05 Atsushi Enomoto <[email protected]>
* machine.config : added WCF sectionGroups.
2007-09-04 Marek Habersack <[email protected]>
* machine.config: added an entry to ignore the <system.webServer>
section. Fixes bug #82535
2007-07-03 Marek Habersack <[email protected]>
* DefaultWsdlHelpGenerator.aspx: make head server-side, for the
service generator to run on sites which use stylesheet themes
configured in web.config. Fixes bug #81994
2007-05-01 Marek Habersack <[email protected]>
* machine.config: added standard data provider factories, or
otherwise the SqlDataSource tests will fail.
2007-04-27 Atsushi Enomoto <[email protected]>
* DefaultWsdlHelpGenerator.aspx :
ProfileViolations could be null, when there is no Binding. So,
don't omit null check.
Stop your bad habit of missing ChangeLog. Former changes (as long
as logged) can be seen in ../../ChangeLog.
+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);
+4 -26
View File
@@ -79,15 +79,11 @@
<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="diagnostic" 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>
<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>
@@ -118,6 +114,9 @@
<add prefix="file" type="System.Net.FileWebRequestCreator, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add prefix="ftp" type="System.Net.FtpRequestCreator, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</webRequestModules>
<settings>
<ipv6 enabled="false"/>
</settings>
</system.net>
<system.runtime.remoting>
@@ -194,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>
@@ -220,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>
@@ -260,21 +253,6 @@
</providers>
</profile>
</system.web>
<system.serviceModel>
<extensions>
<behaviorExtensions>
<add name="enableWebScript" type="System.ServiceModel.Configuration.WebScriptEnablingElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add name="webHttp" type="System.ServiceModel.Configuration.WebHttpElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</behaviorExtensions>
<bindingElementExtensions>
<add name="webMessageEncoding" type="System.ServiceModel.Configuration.WebMessageEncodingElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</bindingElementExtensions>
<bindingExtensions>
<add name="webHttpBinding" type="System.ServiceModel.Configuration.WebHttpBindingCollectionElement, System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</bindingExtensions>
</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=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 -7
View File
@@ -37,9 +37,8 @@
<add verb="*" path="*.vbproj" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.licx" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*.dll" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.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="*" 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="GET,HEAD" path="*" type="System.Web.StaticFileHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add verb="*" path="*" type="System.Web.HttpMethodNotAllowedHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</httpHandlers>
@@ -95,10 +94,6 @@
<add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add assembly="System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
<add assembly="System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"/>
<add assembly="System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add assembly="System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<add assembly="*" /> <!-- Add assemblies in bin directory -->
</assemblies>
-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
-14
View File
@@ -1,14 +0,0 @@
SUBDIRS = Browsers
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
-307
View File
@@ -1,307 +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>
</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>
-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.data" type="System.Data.Common.DbProviderFactoriesConfigurationHandler, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<section name="system.diagnostics" type="System.Diagnostics.SystemDiagnosticsSection, 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="system.codedom" type="System.CodeDom.Compiler.CodeDomConfigurationHandler, System, 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.runtime.serialization" type="System.Runtime.Serialization.Configuration.SerializationSectionGroup, System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="dataContractSerializer" type="System.Runtime.Serialization.Configuration.DataContractSerializerSection, System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
</sectionGroup>
<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>
</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
+7
View File
@@ -0,0 +1,7 @@
assemblies_dir=@prefix@/lib/mono
Libraries=${assemblies_dir}/2.1/smcs.exe
Name: Mono Internal -- Do not use.
Description: Mono Internal Libraries -- Do not use
Version: @VERSION@
Libs: -r:smcs.exe
-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
Loaded 100 of 53769 files, more files were not shown because too many files have changed in this diff. Show more