Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:37:01 +0000 (13:37 +1000)]
Add class ReplicationCursorCollection
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:36:29 +0000 (13:36 +1000)]
Add class ReplicationCursor
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:35:51 +0000 (13:35 +1000)]
Add class ReplicationFailureCollection
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:35:18 +0000 (13:35 +1000)]
Add class ReplicationFailure
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:33:42 +0000 (13:33 +1000)]
Add class TrustRelationshipInformationCollection
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:33:12 +0000 (13:33 +1000)]
Add class TrustRelationshipInformation
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:31:44 +0000 (13:31 +1000)]
Add class TopLevelNameCollection
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:31:12 +0000 (13:31 +1000)]
Add class TopLevelName
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:30:25 +0000 (13:30 +1000)]
Add delegate SyncUpdateCallback
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:29:44 +0000 (13:29 +1000)]
Add class SyncFromAllServersOperationException
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:29:04 +0000 (13:29 +1000)]
Add class SyncFromAllServersErrorInformation
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:23:37 +0000 (13:23 +1000)]
Add class ActiveDirectorySecurity
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:22:26 +0000 (13:22 +1000)]
Add class ActiveDirectoryAuditRule
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:21:47 +0000 (13:21 +1000)]
Add ActiveDirectoryAccessRule
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:20:37 +0000 (13:20 +1000)]
Add enum ActiveDirectoryRights
Alistair Leslie-Hughes [Tue, 30 Jul 2013 03:19:44 +0000 (13:19 +1000)]
Add enum ActiveDirectorySecurityInheritance
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.
Rodrigo Kumpera [Mon, 29 Jul 2013 18:38:27 +0000 (14:38 -0400)]
Use a relative symlink.
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
Marek Safar [Mon, 29 Jul 2013 14:28:18 +0000 (16:28 +0200)]
Clone arguments array before modifying.
Marek Safar [Mon, 29 Jul 2013 12:34:47 +0000 (14:34 +0200)]
Correctly parse pragma headers. Fixes #13501
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.
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.
Alistair Leslie-Hughes [Mon, 29 Jul 2013 06:11:16 +0000 (16:11 +1000)]
Add class ActiveDirectorySchedule
Alistair Leslie-Hughes [Mon, 29 Jul 2013 05:52:09 +0000 (15:52 +1000)]
Add class ActiveDirectoryRoleCollection
Alistair Leslie-Hughes [Mon, 29 Jul 2013 05:49:46 +0000 (15:49 +1000)]
Add class ActiveDirectoryReplicationMetadata
Alistair Leslie-Hughes [Mon, 29 Jul 2013 05:47:45 +0000 (15:47 +1000)]
Add class ActiveDirectoryPartition
Alistair Leslie-Hughes [Mon, 29 Jul 2013 05:45:21 +0000 (15:45 +1000)]
Add class ActiveDirectoryOperationException
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:54:42 +0000 (13:54 +1000)]
Add enum TopLevelNameStatus
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:53:41 +0000 (13:53 +1000)]
Add enum PropertyTypes
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:52:37 +0000 (13:52 +1000)]
Add enum ForestTrustDomainStatus
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:50:10 +0000 (13:50 +1000)]
Add enum ActiveDirectorySyntax
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:48:46 +0000 (13:48 +1000)]
Add enum ActiveDirectorySiteOptions
Alistair Leslie-Hughes [Mon, 29 Jul 2013 03:27:06 +0000 (13:27 +1000)]
Add class DnsPermission
Alistair Leslie-Hughes [Sun, 28 Jul 2013 23:50:29 +0000 (09:50 +1000)]
Add missed file TrustType.cs
Alistair Leslie-Hughes [Sun, 28 Jul 2013 23:46:33 +0000 (09:46 +1000)]
Add enum SchemaClassType
Alistair Leslie-Hughes [Sun, 28 Jul 2013 23:42:59 +0000 (09:42 +1000)]
Add missed file AttributeMetadataCollection.cs
Alex Rønne Petersen [Mon, 29 Jul 2013 03:08:42 +0000 (05:08 +0200)]
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.
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
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
Alistair Leslie-Hughes [Sun, 28 Jul 2013 09:22:00 +0000 (19:22 +1000)]
Add class AttributeMetadataCollection
Alistair Leslie-Hughes [Sun, 28 Jul 2013 09:20:55 +0000 (19:20 +1000)]
Add class AttributeMetadata
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
Alistair Leslie-Hughes [Sun, 28 Jul 2013 08:39:04 +0000 (18:39 +1000)]
Add class ReadOnlyStringCollection
Zoltan Varga [Sun, 28 Jul 2013 07:40:32 +0000 (09:40 +0200)]
[sdb] Fix round tripping of vtypes with boxed fields. Fixes #12354.
Alistair Leslie-Hughes [Sun, 28 Jul 2013 07:09:03 +0000 (17:09 +1000)]
Add enum TrustDirection.cs
Alistair Leslie-Hughes [Sun, 28 Jul 2013 07:00:23 +0000 (17:00 +1000)]
Add class ReplicationNeighbor
Alistair Leslie-Hughes [Sun, 28 Jul 2013 06:51:34 +0000 (16:51 +1000)]
Add enum LocatorOptions
Alistair Leslie-Hughes [Sun, 28 Jul 2013 06:37:25 +0000 (16:37 +1000)]
Add enum ForestMode
Alistair Leslie-Hughes [Sun, 28 Jul 2013 06:21:13 +0000 (16:21 +1000)]
Add enum DomainMode.cs
Alistair Leslie-Hughes [Sun, 28 Jul 2013 06:10:17 +0000 (16:10 +1000)]
Add enum ActiveDirectoryRole
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.
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.
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.
Marek Safar [Sat, 27 Jul 2013 06:58:11 +0000 (08:58 +0200)]
Don't hide internal error exception when reported cannot show it.
Marek Safar [Fri, 26 Jul 2013 21:44:40 +0000 (23:44 +0200)]
Add clone for error expression. Fixes #13443
Marek Safar [Fri, 26 Jul 2013 21:22:49 +0000 (23:22 +0200)]
Less cascading errors
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.
Zoltan Varga [Fri, 26 Jul 2013 21:04:36 +0000 (23:04 +0200)]
Add more extensive logging to sdb.
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
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.
Marek Safar [Fri, 26 Jul 2013 17:48:50 +0000 (19:48 +0200)]
Remove CultureInfo.CurrentCulture dependency from ordinal based string::EndsWith. Fixes #13509
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
Marek Safar [Fri, 26 Jul 2013 14:19:09 +0000 (16:19 +0200)]
Comment update
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.
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.
Alex Rønne Petersen [Fri, 26 Jul 2013 13:11:13 +0000 (15:11 +0200)]
Fix a warning in appdomain.c introduced by
76e8c8ba0f5dad4c154b9ab6dd969ef2eb0bec79.
Alex Rønne Petersen [Fri, 26 Jul 2013 12:26:11 +0000 (14:26 +0200)]
Mark inline assembly in mono-hwcap-s390x.c volatile.
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.
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
Marek Safar [Fri, 26 Jul 2013 08:30:48 +0000 (10:30 +0200)]
Ignore space separators in nowarn arguments. Fixes #13476
Marek Safar [Fri, 26 Jul 2013 07:49:56 +0000 (09:49 +0200)]
Marek Safar [Fri, 26 Jul 2013 07:44:17 +0000 (09:44 +0200)]
Show more info for missing indirect assembly references
Zoltan Varga [Fri, 26 Jul 2013 01:55:58 +0000 (03:55 +0200)]
Update msvc project files with newly added sgen files.
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.
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.
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.
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.
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.
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.
Marek Safar [Thu, 25 Jul 2013 15:22:39 +0000 (17:22 +0200)]
Add *CachePolicy to mobile profile. Fixes #13466
Marek Safar [Thu, 25 Jul 2013 15:19:37 +0000 (17:19 +0200)]
Fixed string null constant conversion to object constant
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.
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.
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.
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.
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.
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.
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.
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.
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.
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)
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:20:07 +0000 (20:20 +1000)]
Add enum SyncFromAllServersOptions
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:19:11 +0000 (20:19 +1000)]
Add enum SyncFromAllServersEvent
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:17:56 +0000 (20:17 +1000)]
Add enum SyncFromAllServersErrorCategory
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:15:50 +0000 (20:15 +1000)]
Add enum ReplicationSpan
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:14:51 +0000 (20:14 +1000)]
Add enum ReplicationOperationType
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:14:01 +0000 (20:14 +1000)]
Add enum NotificationStatus
Alistair Leslie-Hughes [Wed, 24 Jul 2013 10:11:20 +0000 (20:11 +1000)]
Add enum MinuteOfHour