mono.git
10 years agoAdd class ReplicationCursorCollection
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:37:01 +0000 (13:37 +1000)]
Add class ReplicationCursorCollection

10 years agoAdd class ReplicationCursor
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:36:29 +0000 (13:36 +1000)]
Add class ReplicationCursor

10 years agoAdd class ReplicationFailureCollection
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:35:51 +0000 (13:35 +1000)]
Add class ReplicationFailureCollection

10 years agoAdd class ReplicationFailure
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:35:18 +0000 (13:35 +1000)]
Add class ReplicationFailure

10 years agoAdd class TrustRelationshipInformationCollection
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:33:42 +0000 (13:33 +1000)]
Add class TrustRelationshipInformationCollection

10 years agoAdd class TrustRelationshipInformation
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:33:12 +0000 (13:33 +1000)]
Add class TrustRelationshipInformation

10 years agoAdd class TopLevelNameCollection
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:31:44 +0000 (13:31 +1000)]
Add class TopLevelNameCollection

10 years agoAdd class TopLevelName
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:31:12 +0000 (13:31 +1000)]
Add class TopLevelName

10 years agoAdd delegate SyncUpdateCallback
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:30:25 +0000 (13:30 +1000)]
Add delegate SyncUpdateCallback

10 years agoAdd class SyncFromAllServersOperationException
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:29:44 +0000 (13:29 +1000)]
Add class SyncFromAllServersOperationException

10 years agoAdd class SyncFromAllServersErrorInformation
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:29:04 +0000 (13:29 +1000)]
Add class SyncFromAllServersErrorInformation

10 years agoAdd class ActiveDirectorySecurity
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:23:37 +0000 (13:23 +1000)]
Add class ActiveDirectorySecurity

10 years agoAdd class ActiveDirectoryAuditRule
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:22:26 +0000 (13:22 +1000)]
Add class ActiveDirectoryAuditRule

10 years agoAdd ActiveDirectoryAccessRule
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:21:47 +0000 (13:21 +1000)]
Add ActiveDirectoryAccessRule

10 years agoAdd enum ActiveDirectoryRights
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:20:37 +0000 (13:20 +1000)]
Add enum ActiveDirectoryRights

10 years agoAdd enum ActiveDirectorySecurityInheritance
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:19:44 +0000 (13:19 +1000)]
Add enum ActiveDirectorySecurityInheritance

10 years agoFix a Mono.Posix test to avoid failing if readlinkat() is not available.
Zoltan Varga [Mon, 29 Jul 2013 23:28:10 +0000 (01:28 +0200)]
Fix a Mono.Posix test to avoid failing if readlinkat() is not available.

10 years agoUse a relative symlink.
Rodrigo Kumpera [Mon, 29 Jul 2013 18:38:27 +0000 (14:38 -0400)]
Use a relative symlink.

10 years agoCorrectly import nested non-generic types inside generic containers used within same...
Marek Safar [Mon, 29 Jul 2013 16:08:00 +0000 (18:08 +0200)]
Correctly import nested non-generic types inside generic containers used within same generic container. Fixes #13549

10 years agoClone arguments array before modifying.
Marek Safar [Mon, 29 Jul 2013 14:28:18 +0000 (16:28 +0200)]
Clone arguments array before modifying.

10 years agoCorrectly parse pragma headers. Fixes #13501
Marek Safar [Mon, 29 Jul 2013 12:34:47 +0000 (14:34 +0200)]
Correctly parse pragma headers. Fixes #13501

10 years agoRevert the 'Emit push/pop LMF code as IR' changes, they seem to break make test-sgen...
Zoltan Varga [Mon, 29 Jul 2013 12:26:08 +0000 (14:26 +0200)]
Revert the 'Emit push/pop LMF code as IR' changes, they seem to break make test-sgen on wrench.

10 years agoMerge pull request #718 from alesliehughes/master
Marek Safar [Mon, 29 Jul 2013 11:25:40 +0000 (04:25 -0700)]
Merge pull request #718 from alesliehughes/master

More System.DirectoryServices.ActiveDirectory classes + other.

10 years agoAdd class ActiveDirectorySchedule
Alistair Leslie-Hughes [Mon, 29 Jul 2013 06:11:16 +0000 (16:11 +1000)]
Add class ActiveDirectorySchedule

10 years agoAdd class ActiveDirectoryRoleCollection
Alistair Leslie-Hughes [Mon, 29 Jul 2013 05:52:09 +0000 (15:52 +1000)]
Add class ActiveDirectoryRoleCollection

10 years agoAdd class ActiveDirectoryReplicationMetadata
Alistair Leslie-Hughes [Mon, 29 Jul 2013 05:49:46 +0000 (15:49 +1000)]
Add class ActiveDirectoryReplicationMetadata

10 years agoAdd class ActiveDirectoryPartition
Alistair Leslie-Hughes [Mon, 29 Jul 2013 05:47:45 +0000 (15:47 +1000)]
Add class ActiveDirectoryPartition

10 years agoAdd class ActiveDirectoryOperationException
Alistair Leslie-Hughes [Mon, 29 Jul 2013 05:45:21 +0000 (15:45 +1000)]
Add class ActiveDirectoryOperationException

10 years agoAdd enum TopLevelNameStatus
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:54:42 +0000 (13:54 +1000)]
Add enum TopLevelNameStatus

10 years agoAdd enum PropertyTypes
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:53:41 +0000 (13:53 +1000)]
Add enum PropertyTypes

10 years agoAdd enum ForestTrustDomainStatus
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:52:37 +0000 (13:52 +1000)]
Add enum ForestTrustDomainStatus

10 years agoAdd enum ActiveDirectorySyntax
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:50:10 +0000 (13:50 +1000)]
Add enum ActiveDirectorySyntax

10 years agoAdd enum ActiveDirectorySiteOptions
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:48:46 +0000 (13:48 +1000)]
Add enum ActiveDirectorySiteOptions

10 years agoAdd class DnsPermission
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:27:06 +0000 (13:27 +1000)]
Add class DnsPermission

10 years agoAdd missed file TrustType.cs
Alistair Leslie-Hughes [Sun, 28 Jul 2013 23:50:29 +0000 (09:50 +1000)]
Add missed file TrustType.cs

10 years agoAdd enum SchemaClassType
Alistair Leslie-Hughes [Sun, 28 Jul 2013 23:46:33 +0000 (09:46 +1000)]
Add enum SchemaClassType

10 years agoAdd missed file AttributeMetadataCollection.cs
Alistair Leslie-Hughes [Sun, 28 Jul 2013 23:42:59 +0000 (09:42 +1000)]
Add missed file AttributeMetadataCollection.cs

10 years agoFix a missing return statement in 16d2bcaa379be0c38f84492a5528c5ab6dcd7e7d.
Alex Rønne Petersen [Mon, 29 Jul 2013 03:08:42 +0000 (05:08 +0200)]
Fix a missing return statement in 16d2bcaa379be0c38f84492a5528c5ab6dcd7e7d.

10 years agoFix overflow checking in newarray with 64 bit array lengths. Fixes part of #13544.
Zoltan Varga [Mon, 29 Jul 2013 01:08:00 +0000 (03:08 +0200)]
Fix overflow checking in newarray with 64 bit array lengths. Fixes part of #13544.

10 years agoMerge pull request #701 from steffen-kiess/fix-11778
Jonathan Pryor [Sun, 28 Jul 2013 14:17:38 +0000 (07:17 -0700)]
Merge pull request #701 from steffen-kiess/fix-11778

Fix Syscall.readlink() for non-ascii targets

10 years agoMerge pull request #716 from alesliehughes/master
Marek Safar [Sun, 28 Jul 2013 11:24:53 +0000 (04:24 -0700)]
Merge pull request #716 from alesliehughes/master

More System.DirectoryServices.ActiveDirectory classes

10 years agoAdd class AttributeMetadataCollection
Alistair Leslie-Hughes [Sun, 28 Jul 2013 09:22:00 +0000 (19:22 +1000)]
Add class AttributeMetadataCollection

10 years agoAdd class AttributeMetadata
Alistair Leslie-Hughes [Sun, 28 Jul 2013 09:20:55 +0000 (19:20 +1000)]
Add class AttributeMetadata

10 years agoFix Syscall.readlink() for non-ascii targets
Steffen Kieß [Sun, 28 Jul 2013 09:11:38 +0000 (11:11 +0200)]
Fix Syscall.readlink() for non-ascii targets

Syscall.readlink() currently returns an integer indicating the number of
bytes in the link. As buf contains chars, this value is useless if the
target contains non-ascii characters.

This commit creates a new overload which uses a byte array instead of a
StringBuilder and rewrites the old overload to return the number of chars
instead.

Fixes #11778 and #9611

10 years agoAdd class ReadOnlyStringCollection
Alistair Leslie-Hughes [Sun, 28 Jul 2013 08:39:04 +0000 (18:39 +1000)]
Add class ReadOnlyStringCollection

10 years ago[sdb] Fix round tripping of vtypes with boxed fields. Fixes #12354.
Zoltan Varga [Sun, 28 Jul 2013 07:40:32 +0000 (09:40 +0200)]
[sdb] Fix round tripping of vtypes with boxed fields. Fixes #12354.

10 years agoAdd enum TrustDirection.cs
Alistair Leslie-Hughes [Sun, 28 Jul 2013 07:09:03 +0000 (17:09 +1000)]
Add enum TrustDirection.cs

10 years agoAdd class ReplicationNeighbor
Alistair Leslie-Hughes [Sun, 28 Jul 2013 07:00:23 +0000 (17:00 +1000)]
Add class ReplicationNeighbor

10 years agoAdd enum LocatorOptions
Alistair Leslie-Hughes [Sun, 28 Jul 2013 06:51:34 +0000 (16:51 +1000)]
Add enum LocatorOptions

10 years agoAdd enum ForestMode
Alistair Leslie-Hughes [Sun, 28 Jul 2013 06:37:25 +0000 (16:37 +1000)]
Add enum ForestMode

10 years agoAdd enum DomainMode.cs
Alistair Leslie-Hughes [Sun, 28 Jul 2013 06:21:13 +0000 (16:21 +1000)]
Add enum DomainMode.cs

10 years agoAdd enum ActiveDirectoryRole
Alistair Leslie-Hughes [Sun, 28 Jul 2013 06:10:17 +0000 (16:10 +1000)]
Add enum ActiveDirectoryRole

10 years agoAdd error handling to calls of mono_reflection_create_custom_attr_data_args (). Fixes...
Zoltan Varga [Sun, 28 Jul 2013 00:52:51 +0000 (02:52 +0200)]
Add error handling to calls of mono_reflection_create_custom_attr_data_args (). Fixes part of #13435.

10 years agoRemove #ifdefs from MonoTrampolineType, to prevent cross-compilation problems where...
Zoltan Varga [Sat, 27 Jul 2013 21:55:17 +0000 (23:55 +0200)]
Remove #ifdefs from MonoTrampolineType, to prevent cross-compilation problems where the cross compiler and the target runtime have different defines. Also do a sanity check at aot load time.

10 years agoFix an assert in constrained_gsharedvt_call_setup (), mono_class_interface_offset...
Zoltan Varga [Sat, 27 Jul 2013 21:03:33 +0000 (23:03 +0200)]
Fix an assert in constrained_gsharedvt_call_setup (), mono_class_interface_offset () returns a -1 on failure, not 0.

10 years agoDon't hide internal error exception when reported cannot show it.
Marek Safar [Sat, 27 Jul 2013 06:58:11 +0000 (08:58 +0200)]
Don't hide internal error exception when reported cannot show it.

10 years agoAdd clone for error expression. Fixes #13443
Marek Safar [Fri, 26 Jul 2013 21:44:40 +0000 (23:44 +0200)]
Add clone for error expression. Fixes #13443

10 years agoLess cascading errors
Marek Safar [Fri, 26 Jul 2013 21:22:49 +0000 (23:22 +0200)]
Less cascading errors

10 years agoMerge pull request #714 from IDisposable/patch-2
Marek Safar [Fri, 26 Jul 2013 21:15:39 +0000 (14:15 -0700)]
Merge pull request #714 from IDisposable/patch-2

Consistent use of ch to avoid array indexing more than once.

10 years agoAdd more extensive logging to sdb.
Zoltan Varga [Fri, 26 Jul 2013 21:04:36 +0000 (23:04 +0200)]
Add more extensive logging to sdb.

10 years agoConsistent use of ch to avoid array indexing more than once.
Marc Brooks [Fri, 26 Jul 2013 19:06:33 +0000 (14:06 -0500)]
Consistent use of ch to avoid array indexing more than once.

Replace the couple places where the string character array was being indexed twice in the same block instead of the character being cached locally. Cleanup formatting of the switch statements to follow conventions.
MIT licence

10 years agoRevert the use of mono_binary_search () in support/supportw.c.
Alex Rønne Petersen [Fri, 26 Jul 2013 18:15:22 +0000 (20:15 +0200)]
Revert the use of mono_binary_search () in support/supportw.c.

This code can't depend on mono/utils and doesn't need the 'fixed'
implementation of bsearch () anyway since keys are never null.

10 years agoRemove CultureInfo.CurrentCulture dependency from ordinal based string::EndsWith...
Marek Safar [Fri, 26 Jul 2013 17:48:50 +0000 (19:48 +0200)]
Remove CultureInfo.CurrentCulture dependency from ordinal based string::EndsWith. Fixes #13509

10 years agoLift result of enum substraction when operation is lifted due to non-nullable enum...
Marek Safar [Fri, 26 Jul 2013 14:20:25 +0000 (16:20 +0200)]
Lift result of enum substraction when operation is lifted due to non-nullable enum type. Fixes #13454

10 years agoComment update
Marek Safar [Fri, 26 Jul 2013 14:19:09 +0000 (16:19 +0200)]
Comment update

10 years agoAdd a mono_binary_search () function.
Alex Rønne Petersen [Fri, 26 Jul 2013 14:24:50 +0000 (16:24 +0200)]
Add a mono_binary_search () function.

This is a replacement for bsearch () because some platforms
have bogus asserts in their implementations.

10 years agoFix a C# compiler error in the runtime test suite.
Alex Rønne Petersen [Fri, 26 Jul 2013 14:23:51 +0000 (16:23 +0200)]
Fix a C# compiler error in the runtime test suite.

10 years agoFix a warning in appdomain.c introduced by 76e8c8ba0f5dad4c154b9ab6dd969ef2eb0bec79.
Alex Rønne Petersen [Fri, 26 Jul 2013 13:11:13 +0000 (15:11 +0200)]
Fix a warning in appdomain.c introduced by 76e8c8ba0f5dad4c154b9ab6dd969ef2eb0bec79.

10 years agoMark inline assembly in mono-hwcap-s390x.c volatile.
Alex Rønne Petersen [Fri, 26 Jul 2013 12:26:11 +0000 (14:26 +0200)]
Mark inline assembly in mono-hwcap-s390x.c volatile.

10 years agoFix up memory barriers on Windows.
Alex Rønne Petersen [Fri, 26 Jul 2013 12:21:45 +0000 (14:21 +0200)]
Fix up memory barriers on Windows.

1. The _ReadWriteBarrier intrinsic and friends do not actually issue
   a CPU fence; they are purely for inhibiting the compiler in moving
   loads and stores across the call. So when compiling with MSVC, we
   also need to call MemoryBarrier from Windows.h to issue a fence.
   Note that _ReadWriteBarrier is *not* implied by MemoryBarrier; both
   are *really* needed.
2. On Cygwin, we only support GCC 3.x, so resort to inline assembly to
   issue memory barriers. I would have liked to avoid this, but since
   GCC 3.x doesn't provide __sync_synchronize and we aren't likely to
   upgrade to 4.x anytime soon, this is the workaround for now.

10 years agoCheck promoted value type binary equality operations against null too. Fixes #13497
Marek Safar [Fri, 26 Jul 2013 11:51:23 +0000 (13:51 +0200)]
Check promoted value type binary equality operations against null too. Fixes #13497

10 years agoIgnore space separators in nowarn arguments. Fixes #13476
Marek Safar [Fri, 26 Jul 2013 08:30:48 +0000 (10:30 +0200)]
Ignore space separators in nowarn arguments. Fixes #13476

10 years agoUse local variable in commit 482f6c7b556135c7f10f38b29c70bcb26a17d3cf
Marek Safar [Fri, 26 Jul 2013 07:49:56 +0000 (09:49 +0200)]
Use local variable in commit 482f6c7b556135c7f10f38b29c70bcb26a17d3cf

10 years agoShow more info for missing indirect assembly references
Marek Safar [Fri, 26 Jul 2013 07:44:17 +0000 (09:44 +0200)]
Show more info for missing indirect assembly references

10 years agoUpdate msvc project files with newly added sgen files.
Zoltan Varga [Fri, 26 Jul 2013 01:55:58 +0000 (03:55 +0200)]
Update msvc project files with newly added sgen files.

10 years agoAdd full-aot support for runtime invokes to array Get/Set methods.
Zoltan Varga [Fri, 26 Jul 2013 00:01:47 +0000 (02:01 +0200)]
Add full-aot support for runtime invokes to array Get/Set methods.

10 years agoAvoid an assert on android where seq points are not generated for wrappers.
Zoltan Varga [Thu, 25 Jul 2013 22:35:47 +0000 (00:35 +0200)]
Avoid an assert on android where seq points are not generated for wrappers.

10 years agoRevert "Revert "[xbuild]: Provide a real Microsoft.Portable.CSharp.targets""
Jeffrey Stedfast [Thu, 25 Jul 2013 20:19:26 +0000 (16:19 -0400)]
Revert "Revert "[xbuild]: Provide a real Microsoft.Portable.CSharp.targets""

This reverts commit a4800b96b2e1e7e897048bf1e924081cc89a4794.

10 years agoRevert "[xbuild]: Provide a real Microsoft.Portable.CSharp.targets"
Jeffrey Stedfast [Thu, 25 Jul 2013 18:42:34 +0000 (14:42 -0400)]
Revert "[xbuild]: Provide a real Microsoft.Portable.CSharp.targets"

This reverts commit 03011419a4ff6426c9801651cf60a65f65202269.

10 years ago[System] Fix DnsTest.GetHostByName() test.
Jonathan Pryor [Thu, 25 Jul 2013 15:34:03 +0000 (11:34 -0400)]
[System] Fix DnsTest.GetHostByName() test.

Test Case Failures:
1) MonoTests.System.Net.DnsTest.GetHostByName : Should raise a SocketException (assuming that 'www.unlikely.novell.com' does not exist)
  at MonoTests.System.Net.DnsTest.GetHostByName () [0x00089] in /Users/jon/Development/mono-HEAD/mono/mcs/class/System/Test/System.Net/DnsTest.cs:212
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00054] in /Users/jon/Development/mono-HEAD/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:230

As it happens, 'www.unlikely.novell.com' DOES exist:

$ ping www.unlikely.novell.com
PING www.unlikely.novell.com (199.101.28.20): 56 data bytes
64 bytes from 199.101.28.20: icmp_seq=0 ttl=57 time=29.399 ms

Apparently it's due to the "www." prefix; remove "www." and the site
isn't found, as expected:

$ ping unlikely.novell.com
ping: cannot resolve unlikely.novell.com: Unknown host

Update DnsTest.noneExistingSite so that the DnsTest.GetHostByName()
test passes.

10 years ago[System] Support FTP download where PWD starts with '\'.
Jonathan Pryor [Thu, 25 Jul 2013 15:24:30 +0000 (11:24 -0400)]
[System] Support FTP download where PWD starts with '\'.

Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=13343

There are some Industrial Automation Hardware devices which return a
'\'-prefixed path to the FTP PWD command, which would break:

System.UriFormatException: Invalid URI: The hostname could not be parsed.
  at System.Uri.Parse (UriKind kind, System.String uriString)
  at System.Uri.ParseUri (UriKind kind)
  at System.Uri..ctor (System.String uriString, Boolean dontEscape)
  at System.Uri..ctor (System.String uriString) [0x0000
  at System.Net.FtpWebRequest.GetRemoteFolderPath (System.Uri uri)
  at System.Net.FtpWebRequest.CWDAndSetFileName (System.Uri uri)
  at System.Net.FtpWebRequest.ProcessMethod ()
  at System.Net.FtpWebRequest.ProcessRequest ()
There was an error connecting to the FTP Server.

The problem was this statement:

Uri initial = new Uri ("ftp://dummy-host" + initial_path);

Since the FTP server was returning "\" to the PWD command,
`initial_path` was "\", and the above was equivalent to:

Uri initial = new Uri (@"ftp://dummy-host\");

This results in the UriFormatException.

The solution is to not assume that `initial_path` will start with '/',
and instead use UriBuilder.

10 years agoAdd *CachePolicy to mobile profile. Fixes #13466
Marek Safar [Thu, 25 Jul 2013 15:22:39 +0000 (17:22 +0200)]
Add *CachePolicy to mobile profile. Fixes #13466

10 years agoFixed string null constant conversion to object constant
Marek Safar [Thu, 25 Jul 2013 15:19:37 +0000 (17:19 +0200)]
Fixed string null constant conversion to object constant

10 years agoMerge pull request #713 from alesliehughes/master
Marek Safar [Thu, 25 Jul 2013 10:55:53 +0000 (03:55 -0700)]
Merge pull request #713 from alesliehughes/master

Add Some System.DirectoryServices.ActiveDirectory enums.

10 years agoMerge pull request #711 from spicypixel/hotfix/appdomain-leak
Zoltan Varga [Thu, 25 Jul 2013 10:33:56 +0000 (03:33 -0700)]
Merge pull request #711 from spicypixel/hotfix/appdomain-leak

Fix string leak when loading assemblies.

10 years agoMerge pull request #712 from spicypixel/hotfix/trampoline-name-leak
Zoltan Varga [Thu, 25 Jul 2013 10:31:16 +0000 (03:31 -0700)]
Merge pull request #712 from spicypixel/hotfix/trampoline-name-leak

Fix generic trampoline string leak.

10 years agoMake some sdb tests more robust so they work again after the latest line number changes.
Zoltan Varga [Thu, 25 Jul 2013 05:31:54 +0000 (07:31 +0200)]
Make some sdb tests more robust so they work again after the latest line number changes.

10 years agoFix additional string leaks when creating tramp_info.
Aaron Oneal [Wed, 24 Jul 2013 23:17:26 +0000 (16:17 -0700)]
Fix additional string leaks when creating tramp_info.

A recent change modified mono_tramp_info_create to duplicate the name string passed to it, but all of the references that were previously duping the name before calling were not updated at the same time. This resulted in several memory leaks. This fix removes the now extra string duplications.

10 years agoFix additional string leaks when creating tramp_info.
Aaron Oneal [Wed, 24 Jul 2013 23:13:04 +0000 (16:13 -0700)]
Fix additional string leaks when creating tramp_info.

A recent change modified mono_tramp_info_create to duplicate the name string passed to it, but all of the references that were previously duping the name before calling were not updated at the same time. This resulted in several memory leaks. This fix removes the now extra string duplications.

10 years agoFix generic trampoline string leak.
Aaron Oneal [Wed, 24 Jul 2013 22:47:46 +0000 (15:47 -0700)]
Fix generic trampoline string leak.

Generic trampolines were leaking strings because:
1. The mono_arch_create_generic_trampoline function uses mono_get_generic_trampoline_name which does strdup.
2. That string was passed into mono_tramp_info_create which did strdup again.

The fix is to free the string after passing it to mono_tramp_info_create.

10 years agoFix string leak when loading assemblies.
Aaron Oneal [Wed, 24 Jul 2013 21:13:47 +0000 (14:13 -0700)]
Fix string leak when loading assemblies.

The mono_portability_find_file method allocates a new string but the private_file_needs_copying method was not freeing it which resulted in a leaked string when loading assemblies.

10 years agoContinue single stepping if the same line reached in all cases. Factor out some code...
Zoltan Varga [Wed, 24 Jul 2013 20:46:16 +0000 (22:46 +0200)]
Continue single stepping if the same line reached in all cases. Factor out some code code. Fixes #13065.

10 years agoAllow running System.ServiceModel.Web unit tests on the MOBILE profiles (using the...
Sebastien Pouliot [Wed, 24 Jul 2013 12:58:35 +0000 (08:58 -0400)]
Allow running System.ServiceModel.Web unit tests on the MOBILE profiles (using the same .sources file)

10 years agoAdd enum SyncFromAllServersOptions
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:20:07 +0000 (20:20 +1000)]
Add enum SyncFromAllServersOptions

10 years agoAdd enum SyncFromAllServersEvent
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:19:11 +0000 (20:19 +1000)]
Add enum SyncFromAllServersEvent

10 years agoAdd enum SyncFromAllServersErrorCategory
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:17:56 +0000 (20:17 +1000)]
Add enum SyncFromAllServersErrorCategory

10 years agoAdd enum ReplicationSpan
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:15:50 +0000 (20:15 +1000)]
Add enum ReplicationSpan

10 years agoAdd enum ReplicationOperationType
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:14:51 +0000 (20:14 +1000)]
Add enum ReplicationOperationType

10 years agoAdd enum NotificationStatus
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:14:01 +0000 (20:14 +1000)]
Add enum NotificationStatus

10 years agoAdd enum MinuteOfHour
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:11:20 +0000 (20:11 +1000)]
Add enum MinuteOfHour