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
2017-12-14New PR for the new web stack (#6125)Martin Baulig
2017-11-26[msvc] Update csproj files (#6100)monojenkins
2017-11-24[bcl] Build some assemblies with -warnaserror (#5295)Alexander Köplinger
* [bcl] Build some assemblies with -warnaserror This ensures that we keep the build warning free. We'll only opt-in a few assemblies that already have zero warnings. We also only apply this when using csc as mcs might raise different warnings. For now just opt-in assemblies in the net_4_x profile.
2017-11-21[System.Net.Http]: Fix "Content-Length: 0" logic for requests without body.Martin Baulig
Implicitly add "Content-Length: 0" for all requests with a null body unless we're using a body-less HTTP Verb (HEAD, GET, MKCOL, CONNECT, TRACE).
2017-10-03[System.Net.Http] Updates range check from ↵Marek Safar
3741d16503a973a99c724bdab9a255a5f07a3637
2017-09-30[System.Net.Http] HttpClient timeout range checks. Fixes #25755Marek Safar
2017-08-31[bcl] Fix a few hardcoded socket ports in tests (#5471)Alexander Köplinger
* [System] Fix a few hardcoded socket ports in tests Those could've shown up as "address already in use" in CI. * [System.Runtime.Remoting] Fix a few hardcoded socket ports in tests Those could've shown up as "address already in use" in CI. Additionally remove a copy of RemotingServicesTest.cs from corlib which also exists in System.Runtime.Remoting in updated form. * [System.ServiceModel] Fix a few hardcoded socket ports in tests Those could've shown up as "address already in use" in CI. * [System.Net.Http] Fix a few hardcoded socket ports in tests Those could've shown up as "address already in use" in CI. The additional "keep-alive" header in Send_Complete_NoContent() and Send_Transfer_Encoding_Chunked() is because we were using the same port for all tests before so other tests would clear the header. This doesn't happen now that we use distinct test ports. * [System.ServiceModel.Web] Fix a few hardcoded socket ports in tests Those could've shown up as "address already in use" in CI.
2017-08-07[msvc] Update csproj filesAlexander Köplinger
2017-08-07[bcl] Specify the name of the key file on the command line instead of using ↵Zoltan Varga
the AssemblyKeyFile attribute for consistency and to make it easier to do path name manipulation on the file name. (#5316)
2017-07-18[System.Net.Http]: Close request stream when HttpClientHandler.SendAsync() ↵Martin Baulig
is done writing data. (#5226)
2017-05-15[msvc] Update csproj files (#4846)monojenkins
2017-05-12[System]: Replace HttpListenerResponseHelper with HttpStatusDescription from ↵Martin Baulig
CoreFX (#4833) * [System]: Replace HttpListenerResponseHelper with HttpStatusDescription from CoreFX. * Update common.sources
2017-05-04[System.Net.Http] Fix XI buildAlexander Köplinger
2017-04-26Make changes as per review to make the code more thread safe.Manuel de la Pena
2017-04-26Ensure that when an async read is performed on a response content theManuel de la Pena
errors are correctly dealt with. Some network errors in iOS are exposed as Stream errors, specially those related with the lost of the connection. This patch ensures that if such an issue happens an exception is raised in the async read task. Fixes bug https://bugzilla.xamarin.com/show_bug.cgi?id=53792
2017-04-18[msvc] Update csproj files (#4711)monojenkins
2017-02-15[bcl] Remove the NETSTANDARD ifdef from profilesAlexander Köplinger
We're always using the code now and will deal with the differences to .NET 4.x by producing reference assemblies.
2017-02-15[System.Net.Http] Add Transfer-Encoding: chunked special handling. Fixes #47599Marek Safar
2017-02-14[System.Net.Http] Allow re-sending StreamContent. Fixes #52448Marek Safar
2017-01-10[msvc] Update csproj files (#4221)monojenkins
2016-12-22[bcl] Clean up old run-test.bat and *.csproj filesAlexander Köplinger
They .bat files haven't been used for a long time and don't work anymore. The csproj files for the facades have a different name now.
2016-11-14[msvc] Update .csproj filesAlexander Köplinger
2016-10-17[build] Regenerate .csproj filesAlexander Köplinger
Note: DISABLE_CAS_USE was removed in ed989a8e9e5c170b6d19edc60bb80e8a4e6d5cc0
2016-10-05[System.Net.Http] Wrap certain exceptions into HttpRequestException. Fixes ↵Marek Safar
#44978
2016-10-05[System.Net.Htpp] Add test for large content range headersMarek Safar
2016-10-05Nowdays Content-Range From could be much more than 2147483647Cinerar
2016-10-03[System.Net.Http] Simplify default http message handler for watchOS since ↵Rolf Bjarne Kvinge
there's only one valid value.
2016-09-27[System*] Throw a PlatformNotSupported exception when using the networking ↵Rolf Bjarne Kvinge
stack on watchOS. (#3606) * [System] Fix line endings for a few files. Best reviewed by not showing whitespace changes (should be empty diff in that case). * [System] Fix potential crash in CookieParserTests. Socket.EndAccept can throw an exception, which will crash the process if it happens on a threadpool. So handle any exceptions when calling Socket.EndAccept, and propagate those exceptions out of any threadpool code. * [System.Net.Http] Throw a PlatformNotSupported exception when using HttpClientHandler on watchOS. * [System.Net.Http] Tweak tests after watchOS API change. Unfortunately the [ExpectedException] attribute can't be put on an entire class, so remove the [Category ("RequiresBSDSockets")] attribute on the class and instead decorate each test with an [ExpectedException] attribute. * [System] Extract the HttpListenerResponseHelper class to a separate file. Extract the HttpListenerResponseHelper class to a separate file so that it's easier to replace the HttpListenerResponse implementation by using a different file. * [System] Throw a PlatformNotSupported exception when using the networking stack on watchOS. * [System] Tweak tests after watchOS API changes. Unfortunately the [ExpectedException] attribute can't be put on an entire class, so remove the [Category ("RequiresBSDSockets")] attribute on the class and instead decorate each test with an [ExpectedException] attribute. * [System] Fix potential crash in SocketAcceptAsyncTest. Fix potential crash in SocketAcceptAsyncTest by catching any exceptions in code executed on the threadpool so that we never end up with unhandled exceptions (which may terminate the process). * [System] Avoid logic in SetUp attributes in tests. Any type of exception in [SetUp] attributes causes all tests to fail with that exception. This even happens for tests that do not need the logic in the [SetUp] attribute. So rewrite tests a bit to not use [SetUp] when we can reasonably avoid it, and instead instantiate class-level variables on first use. This ensures that any exceptions that occur when initializing those variables are attributed to the corresponding test, and not all of them. * [System] Make exception handler (for test) catch more exceptions to avoid unhandled exceptions causing process termination. * [System] Remove Obsolete attribute on API that throws PNSE.
2016-09-16[System.Net.Http] Show invalid values added to HttpHeaderValueCollection. to ↵Marek Safar
Fixes #44413.
2016-08-11[bcl] Update to match NETStandard 1.6 membersAlexander Köplinger
2016-07-26[System*] Add category for tests that use API that require BSD sockets.Rolf Bjarne Kvinge
We don't have access to BSD sockets on watchOS, so that API doesn't work. With this category we'll be able to exclude these tests.
2016-06-11[System.Net.Http] Fix CFNetworkHandler.CookieContainer not to return null ↵Sebastien Pouliot
(#3141) * [System.Net.Http] Fix CFNetworkHandler.CookieContainer not to return null This aligns the handler with the managed HttpClientHandler [1] and make it easier to switch between them without additional or conditional code. [1] https://github.com/mono/mono/blob/14f8acced5bbb2f6d55fb3e7800382700bcc65eb/mcs/class/System.Net.Http/System.Net.Http/HttpClientHandler.cs#L97
2016-05-27[genproj] Do not use \r on the Unix parts of the build hook, add RabbitMQ hooksMiguel de Icaza
2016-05-25ContentStream can be null if no bytes were available and is closed will ↵Philip Herron
cause null-exception
2016-05-24[System.Net.Http] Disable default global proxy when only UseProxy is set. ↵Marek Safar
Fixes #41224
2016-05-19[msbuild projects] Use newlines without a carriage return for Unix targets ↵Miguel de Icaza
to appease MS msbuild
2016-05-19[genproj] Use an explicit IntermediateOutputPath to prevent rebuilds on ↵Miguel de Icaza
cyclic assemblies
2016-05-18genproj: Improve handling of executables and projects with build dependenciesMiguel de Icaza
2016-05-18[genproj] Updates to project generator and csproj files.Miguel de Icaza
* Adds support for a handful of new command line arguments that we now use in the build. * Always attempts to match to a project name, to get the proper project dependency. * Update to support .exe and .dll in the generation. * Remove warnings and some dead code * Update the resulting csproj files based on running: make update-csproj make package-inputs mono genproj.exe
2016-05-16[System] FileWebResponse/FileWebRequest from referencesourceMarek Safar
2016-04-20[docs] Added index.xml entry for CFNetworkHandler. (#2930)Joel Martinez
This particular piece of documentation is added manually, because it's not in the regular BCL library, but is provided by Xamarin on the iOS platform. Because it was missing an entry in the index file, it was excluded from the published documentation when doing mdoc assemble.
2016-04-19Support custom Xamarin Android HttpClient handlerMarek Habersack
Make it possible to select a default System.Net.HttpClient handler on Android. Selection of the handler is handled on the Xamarin Android side.
2016-04-13Move remaining System.Net.Http pieces from mono-extensions to monoAlexander Köplinger
Discussed with @rolfbjarne, these were missed in the initial import of the mono-extension sources.
2016-04-04[build] Change the way how mcs references are passed to compiler to always ↵Marek Safar
use full path. One of csc prerequisites because csc uses -lib as path which is considered after RuntimeEnvironment.GetRuntimeDirectory which makes -lib useless
2016-03-29Extend HttpClient to use infrastructure in Xamarin.Mac (via reflection) to ↵Rolf Bjarne Kvinge
pick right type. List of original contributors: Chris Hamons <chris.hamons@xamarin.com>
2016-03-19[System.Net.Http] Make HttpClientTest.RequestUriAfterRedirect test more reliableAlexander Köplinger
It was the only test in the class that required network access (for looking up xamarin.com in the redirect). Replacing the redirect target with a second local HttpListener should be more resilient to network/DNS issues.
2016-03-15[System.Net.Http] Make HttpClientTest.GetString_Many test more reliableAlexander Köplinger
It's flaky on Jenkins, removing the dependency on an external server and instead using a local HttpListener to answer the requests should hopefully make it more reliable.
2016-03-14[system.net.http] The backslash character may be used as a single-character ↵Marek Safar
quoting mechanism within quoted-string. Fixes #39569
2016-03-04[bcl] Ensure all .sources files have newline at the endAlexander Köplinger
It causes an issue with gensources.sh when using #include on Linux otherwise.
2016-02-17Prepare XM for Http additionsChris Hamons