Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-10regexp backreferences: Implement fallback to octal numbers, and ECMAScript ↵moon-1.99.1Raja R Harinath
semantics. * syntax.cs (BackslashNumber.ResolveReference): Implement fallback to octal numbers, and ECMAScript semantics. * parser.cs (ResolveReferences): Use it. * RegexMatchTests.cs (RegexTrial0054..60): New. svn path=/trunk/mcs/; revision=139657
2009-08-10Regex.IsMatch("abcab", @"(?<ab>ab)c\1")Raja R Harinath
* System.Text.RegularExpressions/parser.cs (ResolveReferences): Allow named groups to be referred-to by their group numbers too. * RegexMatchTests.cs (RegexTrial0053): New. svn path=/trunk/mcs/; revision=139655
2009-07-30Fix Enumerator.Current handling in SortedDictionary<,>Raja R Harinath
* System.Collections.Generic/RBTree.cs (NodeEnumerator.check_current): New helper. (NodeEnumerator.Current): Don't check invariants. * SortedDictionary.cs (Enumerator.Current): Likewise. (ValueCollection.Enumerator.Current): Likewise. (KeyCollection.Enumerator.Current): Likewise. * Test/System.Collections.Generic/SortedDictionaryTest.cs (Enumerator_Current, KeyEnumerator_Current, ValueEnumerator_Current): New tests. svn path=/trunk/mcs/; revision=139115
2009-07-232009-07-22 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* WebHeaderCollectionTest.cs: test for allowed characters in headers. svn path=/trunk/mcs/; revision=138487
2009-07-23Implement the 2.0 IsRestricted and add testsGonzalo Paniagua Javier
svn path=/trunk/mcs/; revision=138472
2009-07-21* Container.cs: Replaced for loop with for loop.Gert Driesen
[Fixes bug #522474] * ContainerTest.cs: Added test for bug #522474. svn path=/trunk/mcs/; revision=138328
2009-07-18* Container.cs: Avoid NRE in Remove and RemoveWithoutUnsiting.Gert Driesen
* ContainerTest.cs: Added tests for Remove and RemoveWithoutUnsiting. svn path=/trunk/mcs/; revision=138175
2009-07-18* ContainerTest.cs: Added tests for Add, Dispose, ValidateName andGert Driesen
GetService. * Container.cs: Changed Dispose(bool) behaviour to match .NET, based on patch by Tom Hindle (tom_hindle@sil.org). Also use ValidateName in Add overloads on 1.0 profile by making it available as private method. Use case-insensitive comparison of component name. svn path=/trunk/mcs/; revision=138174
2009-07-152009-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* SortedListTest.cs: new tests for bug #521750 provided by Kevin Fitzgerald. svn path=/trunk/mcs/; revision=137916
2009-07-102009-07-09 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* HttpWebRequestTest.cs: use different ports for different tests since the shutdown might take a little bit and tests might conflict. svn path=/trunk/mcs/; revision=137667
2009-07-10ignore test that fails on windowsGonzalo Paniagua Javier
svn path=/trunk/mcs/; revision=137665
2009-07-072009-07-07 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* WebClientTest.cs: if we write the 100 response, reset the output stream writer. svn path=/trunk/mcs/; revision=137500
2009-07-06* WebConnectionStream.cs: Move and improve argument checks to match MS.Gert Driesen
Modified CanRead and CanWrite to return false when instance is disposed. * HttpWebRequestTest.cs: Enabled tests, and removed test that is now covered by two separate CanTimeout tests for request and response stream. * HttpWebResponseStreamTest.cs: Enabled tests. svn path=/trunk/mcs/; revision=137450
2009-07-06* HttpWebRequestTest.cs: Marked test notworking on 1.0 profile.Gert Driesen
svn path=/trunk/mcs/; revision=137448
2009-07-06* HttpWebRequestTest.cs: Added tests for bug #511851. Added testsGert Driesen
for request stream. Fixed compiler warnings, and fixed code style. * HttpWebResponseTest.cs: Added tests for response stream. Fixed compiler warnings. svn path=/trunk/mcs/; revision=137447
2009-07-062009-07-06 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* HttpWebRequestTest.cs: add tests for POST + redirect and 401. svn path=/trunk/mcs/; revision=137429
2009-06-29increase timeouts to make this work on machines under loadGonzalo Paniagua Javier
svn path=/trunk/mcs/; revision=137088
2009-06-292009-06-28 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* HttpWebRequestTest.cs: sleep between reads as we do in WebClientTest. svn path=/trunk/mcs/; revision=137052
2009-06-29* SocketTest.cs: Added tests for argument checks, and improved testsGert Driesen
for disposed socket. * Socket.cs: Modified some argument names to match MS. Moved disposed check before argument checks in Receive. Use SocketError.InvalidArgument instead of using magic numbers. Added back comments that was accidentally removed in my previous commit. * Socket_2_1.cs: Modified some argument names to match MS. svn path=/trunk/mcs/; revision=137051
2009-06-28* System_test.dll.sources: Added IPv6MulticastOptionTest.cs andGert Driesen
MulticastOptionTest.cs. * Socket.cs: In GetSocketOption, throw SocketException when (byte []) option value is null. Use SocketError fields instead of using "magic" number. In SetSocketOption (SocketOptionLevel, SocketOptionName, object) only accept Linger, AddMembership, DropMembership and verify option value. * MulticastOption.cs: Added argument checks. Save interfaceIndex that is passed to .ctor, and removed MonoTODO. Renamed arguments to match MS. Reset InterfaceIndex when LocalAddress is modified, and reset LocalAddress when InterfaceIndex is modified. * UdpClient.cs: Modified exception to more closely match MS. Fixed (int, AddressFamily) .ctor to construct IPv6 endpoint when family is InterNetworkV6. Added null check for multicastAddr to (IPAddress) JoinMulticastGroup overload. In (int, IPAddress) and (IPAddress, IPAddress) overloads of JoinMulticastGroup throw SocketException when client is IPv4. Added null check for multicastAddr to (IPAddress, int), overload, and moved JoinMulticastGroup call after argument checks. * IPv6MulticastOption.cs: Renamed argument names to match MS. Added null check to set_Group. Added range check to set_InterfaceIndex. * IPv6MulticastOptionTest.cs: Added .ctor and property tests. * MulticastOptionTest.cs: Added .ctor and property tests. * SocketTest.cs: Fixed compiler warnings. Improved tests for closed socket. Added tests fr GetSocketOption, and SetSocketOption overloads (for Linger, DontLinger, AddMembership and DropMembership). * UdpClientTest.cs: Added .ctor and JoinMulticastGroup tests. svn path=/trunk/mcs/; revision=137048
2009-06-28fix timing issueGonzalo Paniagua Javier
svn path=/trunk/mcs/; revision=137045
2009-06-282009-06-27 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* SocketResponder.cs: the listener might be closed right before Accept() is called and in that case we get an EINVAL. * WebClientTest.cs: now that we might send separate packets for headers and body, wait a little bit before checking socket.Available. svn path=/trunk/mcs/; revision=137038
2009-06-27new testGonzalo Paniagua Javier
svn path=/trunk/mcs/; revision=137033
2009-06-272009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* HttpWebRequestTest.cs: add a bunch of tests provided by Bassan Tabbara. svn path=/trunk/mcs/; revision=137021
2009-06-262009-06-26 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* SocketTest.cs: tests for DontLinger. svn path=/trunk/mcs/; revision=136982
2009-06-262009-06-26 Robert Jordan <robertj@gmx.net>Robert Jordan
* CodeGeneratorIdentifierTest.cs: Upgrade to new NUnit style. svn path=/trunk/mcs/; revision=136956
2009-06-262009-06-26 Robert Jordan <robertj@gmx.net>Robert Jordan
* BitVector32Test.cs, NameValueCollectionTest.cs: Upgrade to new NUnit style. svn path=/trunk/mcs/; revision=136954
2009-06-262009-06-26 Robert Jordan <robertj@gmx.net>Robert Jordan
* EventHandlerListTests.cs, LicenseManagerTests.cs: Upgrade to new NUnit style. Standalone tests (#if !NUNIT) removed. svn path=/trunk/mcs/; revision=136952
2009-06-262009-06-26 Robert Jordan <robertj@gmx.net>Robert Jordan
* SwitchesTest.cs, TraceTest.cs: Upgrade to new NUnit style. svn path=/trunk/mcs/; revision=136951
2009-06-262009-06-26 Robert Jordan <robertj@gmx.net>Robert Jordan
* FileSystemWatcherTest.cs: Upgrade to new NUnit style. svn path=/trunk/mcs/; revision=136950
2009-06-262009-06-26 Robert Jordan <robertj@gmx.net>Robert Jordan
* *.cs: Upgrade to new NUnit style. svn path=/trunk/mcs/; revision=136949
2009-06-262009-06-26 Robert Jordan <robertj@gmx.net>Robert Jordan
* *.cs: Upgrade to new NUnit style. svn path=/trunk/mcs/; revision=136948
2009-06-26In Test/System.Security.Cryptography.X509Certificates:Robert Jordan
2009-06-26 Robert Jordan <robertj@gmx.net> * X509CertificateCollectionTest.cs, X509ChainPolicyTest.cs: Upgrade to new NUnit style. In Test/System.Security.Cryptography: 2009-06-26 Robert Jordan <robertj@gmx.net> * OidCollectionTest.cs, OidEnumeratorTest.cs: Upgrade to new NUnit style. svn path=/trunk/mcs/; revision=136947
2009-06-252009-06-25 Robert Jordan <robertj@gmx.net>Robert Jordan
* UriTest.cs: Upgrade to new NUnit style. svn path=/trunk/mcs/; revision=136817
2009-06-222009-06-22 Marek Habersack <mhabersack@novell.com>Marek Habersack
* WeakObjectWrapper.cs, WeakObjectWrapperComparer.cs: added - used by TypeDescriptor for storage of type description providers. * TypeDescriptor.cs: implemented part of the 2.0+ API which deals with adding/removing/getting type description providers. * AttributeCollection.cs: do not throw NREX when attrList is null in Count. 2009-06-22 Marek Habersack <mhabersack@novell.com> * TypeDescriptorTests.cs: added tests for 2.0+ APIs which deal with adding/removing/getting type description providers. svn path=/trunk/mcs/; revision=136634
2009-06-21* HttpWebRequestTest.cs: Improved and enabled test for bug #510642.Gert Driesen
* 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=/trunk/mcs/; revision=136570
2009-06-20* SocketResponder.cs: Made a little more robust.Gert Driesen
svn path=/trunk/mcs/; revision=136546
2009-06-20* HttpListener2Test.cs: Added test for bug #513849.Gert Driesen
* HttpWebRequestTest.cs: Enabled test for bug #508027. Added test for bug #513087. * WebClientTest.cs: Added test for bug #484795, for Encoding property. svn path=/trunk/mcs/; revision=136544
2009-06-162009-06-16 Andrés G. Aragoneses <aaragoneses@novell.com>Andrés G. Aragoneses
* WebConnection.cs: propagate the exception to the request. * WebException.cs: new internal ctor. * HttpWebRequest.cs: use new ctor to encapsulate the innerException. Fixes #323452. 2009-06-16 Andrés G. Aragoneses <aaragoneses@novell.com> * WebRequestTest.cs: Drop NotWorking attrib, more accurate tests. svn path=/trunk/mcs/; revision=136198
2009-06-102009-06-09 Andrés G. Aragoneses <aaragoneses@novell.com>Andrés G. Aragoneses
* WebRequestTest.cs: Added tests for bug #323452. svn path=/trunk/mcs/; revision=135818
2009-06-09enable testGonzalo Paniagua Javier
svn path=/trunk/mcs/; revision=135760
2009-06-082009-06-08 Zoltan Varga <vargaz@gmail.com>Zoltan Varga
* CSharpCodeProviderTest.cs: Avoid depending on the order in which GetManifestResourceNames () returns resource names. svn path=/trunk/mcs/; revision=135672
2009-06-06* ContextStack.cs: Added argument check to Type indexer, avoiding aGert Driesen
NRE. Modify System.Int32 indexer to throw ArgumentOutOfRangeException instead of ArgumentException. Reduce number of times that item count must be obtained. * ContextStackTest.cs: Added unit tests for indexers, and argument (null) checks. svn path=/trunk/mcs/; revision=135596
2009-06-06* HttpWebRequestTest.cs: Added tests for bugs #465613, #510661,Gert Driesen
#510642 and #508027. svn path=/trunk/mcs/; revision=135573
2009-05-17* CookieContainer.cs: Provide meaningful information in exceptionGert Driesen
messages, and improve compatibility with MS. Modified set_Capacity to no longer change MaxCookieSize when new value is less than MaxCookieSize. * CookieTest.cs: Added test for Path. * CookieContainerTest.cs: Added and improved .ctor tests. Improved tests for Capacity and MaxCookieSize. Added tests for PerDomainCapacity. Added tests for Add overloads, GetCookieHeader, GetCookies and SetCookies. Added test for bug #421827. svn path=/trunk/mcs/; revision=134295
2009-05-15 * ListChangedEventArgsTest.cs: Fix .NET 1.1 compile error.Jonathan Pryor
svn path=/trunk/mcs/; revision=134175
2009-05-14 * System_test.dll.sources: Add ListChangedEventArgsTest.cs.Jonathan Pryor
* System.ComponentModel/ListChangedEventArgs.cs: Fix .NET compatibility problems (discovered from trying to run the System.Data.Linq unit tests). * Test/System.ComponentModel/ListChangedEventArgsTest.cs: Added; tests for ListChangedEventArgs. svn path=/trunk/mcs/; revision=134138
2009-05-14 * Makefile: $(test_lib).config needs to be profile-specific.Jonathan Pryor
* Test/test-config-file: Revert the prior change, as this breaks 1.0 profile testing. * Test/test-config-file-net-2.0: Added; config file to use when testing under the .NET 2.0+ profile, for #502944. svn path=/trunk/mcs/; revision=134099
2009-05-12 * System.Diagnostics/DiagnosticsConfigurationHandler.cs: Use the newJonathan Pryor
TraceSourceInfo(string, SourceLevels, TraceImplSettings) constructor. * System.Diagnostics/TraceSourceInfo.cs: Add a new constructor, TraceSourceInfo(string, SourceLevels, TraceImplSettings), which adds the DefaultTraceListener w/o depending upon (the possibly still initializing) TraceImpl members. Fixes #502944. * Test/test-config-file: Add a /configuration/system.diagnostics/source section to elicit the buggy behavior found in #502944. svn path=/trunk/mcs/; revision=133981
2009-05-112009-05-10 Andy Hume <andyhume32@yahoo.co.uk>Andrés G. Aragoneses
* LinkedList.cs: Add null check. Fixes #481621. svn path=/trunk/mcs/; revision=133864